Skip to content

Commit

Permalink
chore: update
Browse files Browse the repository at this point in the history
  • Loading branch information
Sentio Bot committed Oct 30, 2024
1 parent d35d74c commit 143ec6f
Show file tree
Hide file tree
Showing 225 changed files with 10,260 additions and 6,183 deletions.
779 changes: 610 additions & 169 deletions doc/index.html
100644 → 100755

Large diffs are not rendered by default.

11,037 changes: 5,696 additions & 5,341 deletions openapi.json

Large diffs are not rendered by default.

Empty file modified src/apis/DataApi.ts
100644 → 100755
Empty file.
Empty file modified src/apis/DebugAndSimulationApi.ts
100644 → 100755
Empty file.
Empty file modified src/apis/PriceApi.ts
100644 → 100755
Empty file.
Empty file modified src/apis/WebApi.ts
100644 → 100755
Empty file.
Empty file modified src/apis/index.ts
100644 → 100755
Empty file.
Empty file modified src/index.ts
100644 → 100755
Empty file.
23 changes: 15 additions & 8 deletions src/models/AnalyticServiceAnalyticServiceExecuteSQLBody.ts
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,20 @@
*/

import { mapValues } from '../runtime.js';
import type { AnalyticServiceSQLQuery } from './AnalyticServiceSQLQuery.js';
import {
AnalyticServiceSQLQueryFromJSON,
AnalyticServiceSQLQueryFromJSONTyped,
AnalyticServiceSQLQueryToJSON,
} from './AnalyticServiceSQLQuery.js';
import type { CommonCachePolicy } from './CommonCachePolicy.js';
import {
CommonCachePolicyFromJSON,
CommonCachePolicyFromJSONTyped,
CommonCachePolicyToJSON,
CommonCachePolicyToJSONTyped,
} from './CommonCachePolicy.js';
import type { AnalyticServiceSQLQuery } from './AnalyticServiceSQLQuery.js';
import {
AnalyticServiceSQLQueryFromJSON,
AnalyticServiceSQLQueryFromJSONTyped,
AnalyticServiceSQLQueryToJSON,
AnalyticServiceSQLQueryToJSONTyped,
} from './AnalyticServiceSQLQuery.js';

/**
*
Expand Down Expand Up @@ -73,7 +75,7 @@ export interface AnalyticServiceAnalyticServiceExecuteSQLBody {
/**
* Check if a given object implements the AnalyticServiceAnalyticServiceExecuteSQLBody interface.
*/
export function instanceOfAnalyticServiceAnalyticServiceExecuteSQLBody(value: object): boolean {
export function instanceOfAnalyticServiceAnalyticServiceExecuteSQLBody(value: object): value is AnalyticServiceAnalyticServiceExecuteSQLBody {
return true;
}

Expand All @@ -96,10 +98,15 @@ export function AnalyticServiceAnalyticServiceExecuteSQLBodyFromJSONTyped(json:
};
}

export function AnalyticServiceAnalyticServiceExecuteSQLBodyToJSON(value?: AnalyticServiceAnalyticServiceExecuteSQLBody | null): any {
export function AnalyticServiceAnalyticServiceExecuteSQLBodyToJSON(json: any): AnalyticServiceAnalyticServiceExecuteSQLBody {
return AnalyticServiceAnalyticServiceExecuteSQLBodyToJSONTyped(json, false);
}

export function AnalyticServiceAnalyticServiceExecuteSQLBodyToJSONTyped(value?: AnalyticServiceAnalyticServiceExecuteSQLBody | null, ignoreDiscriminator: boolean = false): any {
if (value == null) {
return value;
}

return {

'projectId': value['projectId'],
Expand Down
9 changes: 7 additions & 2 deletions src/models/AnalyticServiceLogQueryRequestFilter.ts
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export interface AnalyticServiceLogQueryRequestFilter {
/**
* Check if a given object implements the AnalyticServiceLogQueryRequestFilter interface.
*/
export function instanceOfAnalyticServiceLogQueryRequestFilter(value: object): boolean {
export function instanceOfAnalyticServiceLogQueryRequestFilter(value: object): value is AnalyticServiceLogQueryRequestFilter {
return true;
}

Expand All @@ -62,10 +62,15 @@ export function AnalyticServiceLogQueryRequestFilterFromJSONTyped(json: any, ign
};
}

export function AnalyticServiceLogQueryRequestFilterToJSON(value?: AnalyticServiceLogQueryRequestFilter | null): any {
export function AnalyticServiceLogQueryRequestFilterToJSON(json: any): AnalyticServiceLogQueryRequestFilter {
return AnalyticServiceLogQueryRequestFilterToJSONTyped(json, false);
}

export function AnalyticServiceLogQueryRequestFilterToJSONTyped(value?: AnalyticServiceLogQueryRequestFilter | null, ignoreDiscriminator: boolean = false): any {
if (value == null) {
return value;
}

return {

'field': value['field'],
Expand Down
9 changes: 7 additions & 2 deletions src/models/AnalyticServiceLogQueryRequestSort.ts
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export interface AnalyticServiceLogQueryRequestSort {
/**
* Check if a given object implements the AnalyticServiceLogQueryRequestSort interface.
*/
export function instanceOfAnalyticServiceLogQueryRequestSort(value: object): boolean {
export function instanceOfAnalyticServiceLogQueryRequestSort(value: object): value is AnalyticServiceLogQueryRequestSort {
return true;
}

Expand All @@ -55,10 +55,15 @@ export function AnalyticServiceLogQueryRequestSortFromJSONTyped(json: any, ignor
};
}

export function AnalyticServiceLogQueryRequestSortToJSON(value?: AnalyticServiceLogQueryRequestSort | null): any {
export function AnalyticServiceLogQueryRequestSortToJSON(json: any): AnalyticServiceLogQueryRequestSort {
return AnalyticServiceLogQueryRequestSortToJSONTyped(json, false);
}

export function AnalyticServiceLogQueryRequestSortToJSONTyped(value?: AnalyticServiceLogQueryRequestSort | null, ignoreDiscriminator: boolean = false): any {
if (value == null) {
return value;
}

return {

'field': value['field'],
Expand Down
11 changes: 9 additions & 2 deletions src/models/AnalyticServiceLogQueryResponse.ts
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,14 @@ import {
CommonAnyFromJSON,
CommonAnyFromJSONTyped,
CommonAnyToJSON,
CommonAnyToJSONTyped,
} from './CommonAny.js';
import type { CommonEventLogEntry } from './CommonEventLogEntry.js';
import {
CommonEventLogEntryFromJSON,
CommonEventLogEntryFromJSONTyped,
CommonEventLogEntryToJSON,
CommonEventLogEntryToJSONTyped,
} from './CommonEventLogEntry.js';

/**
Expand Down Expand Up @@ -55,7 +57,7 @@ export interface AnalyticServiceLogQueryResponse {
/**
* Check if a given object implements the AnalyticServiceLogQueryResponse interface.
*/
export function instanceOfAnalyticServiceLogQueryResponse(value: object): boolean {
export function instanceOfAnalyticServiceLogQueryResponse(value: object): value is AnalyticServiceLogQueryResponse {
return true;
}

Expand All @@ -75,10 +77,15 @@ export function AnalyticServiceLogQueryResponseFromJSONTyped(json: any, ignoreDi
};
}

export function AnalyticServiceLogQueryResponseToJSON(value?: AnalyticServiceLogQueryResponse | null): any {
export function AnalyticServiceLogQueryResponseToJSON(json: any): AnalyticServiceLogQueryResponse {
return AnalyticServiceLogQueryResponseToJSONTyped(json, false);
}

export function AnalyticServiceLogQueryResponseToJSONTyped(value?: AnalyticServiceLogQueryResponse | null, ignoreDiscriminator: boolean = false): any {
if (value == null) {
return value;
}

return {

'entries': value['entries'] == null ? undefined : ((value['entries'] as Array<any>).map(CommonEventLogEntryToJSON)),
Expand Down
10 changes: 8 additions & 2 deletions src/models/AnalyticServiceSQLQuery.ts
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ import {
CommonRichStructFromJSON,
CommonRichStructFromJSONTyped,
CommonRichStructToJSON,
CommonRichStructToJSONTyped,
} from './CommonRichStruct.js';

/**
Expand Down Expand Up @@ -55,7 +56,7 @@ export interface AnalyticServiceSQLQuery {
/**
* Check if a given object implements the AnalyticServiceSQLQuery interface.
*/
export function instanceOfAnalyticServiceSQLQuery(value: object): boolean {
export function instanceOfAnalyticServiceSQLQuery(value: object): value is AnalyticServiceSQLQuery {
return true;
}

Expand All @@ -76,10 +77,15 @@ export function AnalyticServiceSQLQueryFromJSONTyped(json: any, ignoreDiscrimina
};
}

export function AnalyticServiceSQLQueryToJSON(value?: AnalyticServiceSQLQuery | null): any {
export function AnalyticServiceSQLQueryToJSON(json: any): AnalyticServiceSQLQuery {
return AnalyticServiceSQLQueryToJSONTyped(json, false);
}

export function AnalyticServiceSQLQueryToJSONTyped(value?: AnalyticServiceSQLQuery | null, ignoreDiscriminator: boolean = false): any {
if (value == null) {
return value;
}

return {

'sql': value['sql'],
Expand Down
25 changes: 17 additions & 8 deletions src/models/AnalyticServiceSearchServiceQueryLogBody.ts
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -18,24 +18,28 @@ import {
AnalyticServiceLogQueryRequestFilterFromJSON,
AnalyticServiceLogQueryRequestFilterFromJSONTyped,
AnalyticServiceLogQueryRequestFilterToJSON,
AnalyticServiceLogQueryRequestFilterToJSONTyped,
} from './AnalyticServiceLogQueryRequestFilter.js';
import type { AnalyticServiceLogQueryRequestSort } from './AnalyticServiceLogQueryRequestSort.js';
import {
AnalyticServiceLogQueryRequestSortFromJSON,
AnalyticServiceLogQueryRequestSortFromJSONTyped,
AnalyticServiceLogQueryRequestSortToJSON,
} from './AnalyticServiceLogQueryRequestSort.js';
import type { CommonAny } from './CommonAny.js';
import {
CommonAnyFromJSON,
CommonAnyFromJSONTyped,
CommonAnyToJSON,
CommonAnyToJSONTyped,
} from './CommonAny.js';
import type { AnalyticServiceLogQueryRequestSort } from './AnalyticServiceLogQueryRequestSort.js';
import {
AnalyticServiceLogQueryRequestSortFromJSON,
AnalyticServiceLogQueryRequestSortFromJSONTyped,
AnalyticServiceLogQueryRequestSortToJSON,
AnalyticServiceLogQueryRequestSortToJSONTyped,
} from './AnalyticServiceLogQueryRequestSort.js';
import type { CommonTimeRange } from './CommonTimeRange.js';
import {
CommonTimeRangeFromJSON,
CommonTimeRangeFromJSONTyped,
CommonTimeRangeToJSON,
CommonTimeRangeToJSONTyped,
} from './CommonTimeRange.js';

/**
Expand Down Expand Up @@ -103,7 +107,7 @@ export interface AnalyticServiceSearchServiceQueryLogBody {
/**
* Check if a given object implements the AnalyticServiceSearchServiceQueryLogBody interface.
*/
export function instanceOfAnalyticServiceSearchServiceQueryLogBody(value: object): boolean {
export function instanceOfAnalyticServiceSearchServiceQueryLogBody(value: object): value is AnalyticServiceSearchServiceQueryLogBody {
return true;
}

Expand All @@ -129,10 +133,15 @@ export function AnalyticServiceSearchServiceQueryLogBodyFromJSONTyped(json: any,
};
}

export function AnalyticServiceSearchServiceQueryLogBodyToJSON(value?: AnalyticServiceSearchServiceQueryLogBody | null): any {
export function AnalyticServiceSearchServiceQueryLogBodyToJSON(json: any): AnalyticServiceSearchServiceQueryLogBody {
return AnalyticServiceSearchServiceQueryLogBodyToJSONTyped(json, false);
}

export function AnalyticServiceSearchServiceQueryLogBodyToJSONTyped(value?: AnalyticServiceSearchServiceQueryLogBody | null, ignoreDiscriminator: boolean = false): any {
if (value == null) {
return value;
}

return {

'projectId': value['projectId'],
Expand Down
23 changes: 15 additions & 8 deletions src/models/AnalyticServiceSyncExecuteSQLResponse.ts
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,20 @@
*/

import { mapValues } from '../runtime.js';
import type { CommonComputeStats } from './CommonComputeStats.js';
import {
CommonComputeStatsFromJSON,
CommonComputeStatsFromJSONTyped,
CommonComputeStatsToJSON,
} from './CommonComputeStats.js';
import type { CommonTabularData } from './CommonTabularData.js';
import {
CommonTabularDataFromJSON,
CommonTabularDataFromJSONTyped,
CommonTabularDataToJSON,
CommonTabularDataToJSONTyped,
} from './CommonTabularData.js';
import type { CommonComputeStats } from './CommonComputeStats.js';
import {
CommonComputeStatsFromJSON,
CommonComputeStatsFromJSONTyped,
CommonComputeStatsToJSON,
CommonComputeStatsToJSONTyped,
} from './CommonComputeStats.js';

/**
*
Expand Down Expand Up @@ -61,7 +63,7 @@ export interface AnalyticServiceSyncExecuteSQLResponse {
/**
* Check if a given object implements the AnalyticServiceSyncExecuteSQLResponse interface.
*/
export function instanceOfAnalyticServiceSyncExecuteSQLResponse(value: object): boolean {
export function instanceOfAnalyticServiceSyncExecuteSQLResponse(value: object): value is AnalyticServiceSyncExecuteSQLResponse {
return true;
}

Expand All @@ -82,10 +84,15 @@ export function AnalyticServiceSyncExecuteSQLResponseFromJSONTyped(json: any, ig
};
}

export function AnalyticServiceSyncExecuteSQLResponseToJSON(value?: AnalyticServiceSyncExecuteSQLResponse | null): any {
export function AnalyticServiceSyncExecuteSQLResponseToJSON(json: any): AnalyticServiceSyncExecuteSQLResponse {
return AnalyticServiceSyncExecuteSQLResponseToJSONTyped(json, false);
}

export function AnalyticServiceSyncExecuteSQLResponseToJSONTyped(value?: AnalyticServiceSyncExecuteSQLResponse | null, ignoreDiscriminator: boolean = false): any {
if (value == null) {
return value;
}

return {

'runtimeCost': value['runtimeCost'],
Expand Down
12 changes: 10 additions & 2 deletions src/models/CommonAggregate.ts
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ import {
CommonAggregateAggregateOpsFromJSON,
CommonAggregateAggregateOpsFromJSONTyped,
CommonAggregateAggregateOpsToJSON,
CommonAggregateAggregateOpsToJSONTyped,
} from './CommonAggregateAggregateOps.js';

/**
Expand All @@ -40,10 +41,12 @@ export interface CommonAggregate {
grouping?: Array<string>;
}



/**
* Check if a given object implements the CommonAggregate interface.
*/
export function instanceOfCommonAggregate(value: object): boolean {
export function instanceOfCommonAggregate(value: object): value is CommonAggregate {
return true;
}

Expand All @@ -62,10 +65,15 @@ export function CommonAggregateFromJSONTyped(json: any, ignoreDiscriminator: boo
};
}

export function CommonAggregateToJSON(value?: CommonAggregate | null): any {
export function CommonAggregateToJSON(json: any): CommonAggregate {
return CommonAggregateToJSONTyped(json, false);
}

export function CommonAggregateToJSONTyped(value?: CommonAggregate | null, ignoreDiscriminator: boolean = false): any {
if (value == null) {
return value;
}

return {

'op': CommonAggregateAggregateOpsToJSON(value['op']),
Expand Down
13 changes: 12 additions & 1 deletion src/models/CommonAggregateAggregateOps.ts
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,14 @@ export type CommonAggregateAggregateOps = typeof CommonAggregateAggregateOps[key


export function instanceOfCommonAggregateAggregateOps(value: any): boolean {
return Object.values(CommonAggregateAggregateOps).includes(value);
for (const key in CommonAggregateAggregateOps) {
if (Object.prototype.hasOwnProperty.call(CommonAggregateAggregateOps, key)) {
if (CommonAggregateAggregateOps[key as keyof typeof CommonAggregateAggregateOps] === value) {
return true;
}
}
}
return false;
}

export function CommonAggregateAggregateOpsFromJSON(json: any): CommonAggregateAggregateOps {
Expand All @@ -43,3 +50,7 @@ export function CommonAggregateAggregateOpsToJSON(value?: CommonAggregateAggrega
return value as any;
}

export function CommonAggregateAggregateOpsToJSONTyped(value: any, ignoreDiscriminator: boolean): CommonAggregateAggregateOps {
return value as CommonAggregateAggregateOps;
}

10 changes: 8 additions & 2 deletions src/models/CommonAny.ts
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ import {
CommonStringListFromJSON,
CommonStringListFromJSONTyped,
CommonStringListToJSON,
CommonStringListToJSONTyped,
} from './CommonStringList.js';

/**
Expand Down Expand Up @@ -73,7 +74,7 @@ export interface CommonAny {
/**
* Check if a given object implements the CommonAny interface.
*/
export function instanceOfCommonAny(value: object): boolean {
export function instanceOfCommonAny(value: object): value is CommonAny {
return true;
}

Expand All @@ -97,10 +98,15 @@ export function CommonAnyFromJSONTyped(json: any, ignoreDiscriminator: boolean):
};
}

export function CommonAnyToJSON(value?: CommonAny | null): any {
export function CommonAnyToJSON(json: any): CommonAny {
return CommonAnyToJSONTyped(json, false);
}

export function CommonAnyToJSONTyped(value?: CommonAny | null, ignoreDiscriminator: boolean = false): any {
if (value == null) {
return value;
}

return {

'intValue': value['intValue'],
Expand Down
Loading

0 comments on commit 143ec6f

Please sign in to comment.