@djvlc/openapi-user-client 1.8.1 → 1.8.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +2317 -817
- package/dist/index.d.ts +2317 -817
- package/dist/index.js +1628 -508
- package/dist/index.mjs +1548 -508
- package/openapi/dist/user-api.yaml +185 -75
- package/openapi/src/paths/actions.yaml +18 -3
- package/openapi/src/paths/activities.yaml +56 -16
- package/openapi/src/paths/health.yaml +18 -3
- package/openapi/src/paths/pages.yaml +18 -3
- package/openapi/src/paths/queries.yaml +21 -6
- package/openapi/src/paths/tenant.yaml +12 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -46,6 +46,9 @@ __export(index_exports, {
|
|
|
46
46
|
ActivityStatusTypeEnum: () => ActivityStatusTypeEnum,
|
|
47
47
|
ApiError: () => import_openapi_client_core2.ApiError,
|
|
48
48
|
BaseAPI: () => BaseAPI,
|
|
49
|
+
BatchQueryData200ResponseFromJSON: () => BatchQueryData200ResponseFromJSON,
|
|
50
|
+
BatchQueryData200ResponseFromJSONTyped: () => BatchQueryData200ResponseFromJSONTyped,
|
|
51
|
+
BatchQueryData200ResponseToJSON: () => BatchQueryData200ResponseToJSON,
|
|
49
52
|
BatchQueryItemRequestFromJSON: () => BatchQueryItemRequestFromJSON,
|
|
50
53
|
BatchQueryItemRequestFromJSONTyped: () => BatchQueryItemRequestFromJSONTyped,
|
|
51
54
|
BatchQueryItemRequestToJSON: () => BatchQueryItemRequestToJSON,
|
|
@@ -72,6 +75,9 @@ __export(index_exports, {
|
|
|
72
75
|
ErrorResponseFromJSON: () => ErrorResponseFromJSON,
|
|
73
76
|
ErrorResponseFromJSONTyped: () => ErrorResponseFromJSONTyped,
|
|
74
77
|
ErrorResponseToJSON: () => ErrorResponseToJSON,
|
|
78
|
+
ExecuteAction200ResponseFromJSON: () => ExecuteAction200ResponseFromJSON,
|
|
79
|
+
ExecuteAction200ResponseFromJSONTyped: () => ExecuteAction200ResponseFromJSONTyped,
|
|
80
|
+
ExecuteAction200ResponseToJSON: () => ExecuteAction200ResponseToJSON,
|
|
75
81
|
ExecuteActionRequestFromJSON: () => ExecuteActionRequestFromJSON,
|
|
76
82
|
ExecuteActionRequestFromJSONTyped: () => ExecuteActionRequestFromJSONTyped,
|
|
77
83
|
ExecuteActionRequestToJSON: () => ExecuteActionRequestToJSON,
|
|
@@ -79,13 +85,52 @@ __export(index_exports, {
|
|
|
79
85
|
ExecuteActionResponseFromJSONTyped: () => ExecuteActionResponseFromJSONTyped,
|
|
80
86
|
ExecuteActionResponseToJSON: () => ExecuteActionResponseToJSON,
|
|
81
87
|
FetchError: () => FetchError,
|
|
88
|
+
GetActionDefinition200ResponseFromJSON: () => GetActionDefinition200ResponseFromJSON,
|
|
89
|
+
GetActionDefinition200ResponseFromJSONTyped: () => GetActionDefinition200ResponseFromJSONTyped,
|
|
90
|
+
GetActionDefinition200ResponseToJSON: () => GetActionDefinition200ResponseToJSON,
|
|
91
|
+
GetActivityInfo200ResponseFromJSON: () => GetActivityInfo200ResponseFromJSON,
|
|
92
|
+
GetActivityInfo200ResponseFromJSONTyped: () => GetActivityInfo200ResponseFromJSONTyped,
|
|
93
|
+
GetActivityInfo200ResponseToJSON: () => GetActivityInfo200ResponseToJSON,
|
|
94
|
+
GetActivityState200ResponseFromJSON: () => GetActivityState200ResponseFromJSON,
|
|
95
|
+
GetActivityState200ResponseFromJSONTyped: () => GetActivityState200ResponseFromJSONTyped,
|
|
96
|
+
GetActivityState200ResponseToJSON: () => GetActivityState200ResponseToJSON,
|
|
97
|
+
GetClaimRecords200ResponseFromJSON: () => GetClaimRecords200ResponseFromJSON,
|
|
98
|
+
GetClaimRecords200ResponseFromJSONTyped: () => GetClaimRecords200ResponseFromJSONTyped,
|
|
99
|
+
GetClaimRecords200ResponseToJSON: () => GetClaimRecords200ResponseToJSON,
|
|
100
|
+
GetClaimStatus200ResponseFromJSON: () => GetClaimStatus200ResponseFromJSON,
|
|
101
|
+
GetClaimStatus200ResponseFromJSONTyped: () => GetClaimStatus200ResponseFromJSONTyped,
|
|
102
|
+
GetClaimStatus200ResponseToJSON: () => GetClaimStatus200ResponseToJSON,
|
|
103
|
+
GetPageConfig200ResponseFromJSON: () => GetPageConfig200ResponseFromJSON,
|
|
104
|
+
GetPageConfig200ResponseFromJSONTyped: () => GetPageConfig200ResponseFromJSONTyped,
|
|
105
|
+
GetPageConfig200ResponseToJSON: () => GetPageConfig200ResponseToJSON,
|
|
106
|
+
GetPageManifest200ResponseFromJSON: () => GetPageManifest200ResponseFromJSON,
|
|
107
|
+
GetPageManifest200ResponseFromJSONTyped: () => GetPageManifest200ResponseFromJSONTyped,
|
|
108
|
+
GetPageManifest200ResponseToJSON: () => GetPageManifest200ResponseToJSON,
|
|
109
|
+
GetQueryDefinition200ResponseFromJSON: () => GetQueryDefinition200ResponseFromJSON,
|
|
110
|
+
GetQueryDefinition200ResponseFromJSONTyped: () => GetQueryDefinition200ResponseFromJSONTyped,
|
|
111
|
+
GetQueryDefinition200ResponseToJSON: () => GetQueryDefinition200ResponseToJSON,
|
|
112
|
+
GetSigninCalendar200ResponseFromJSON: () => GetSigninCalendar200ResponseFromJSON,
|
|
113
|
+
GetSigninCalendar200ResponseFromJSONTyped: () => GetSigninCalendar200ResponseFromJSONTyped,
|
|
114
|
+
GetSigninCalendar200ResponseToJSON: () => GetSigninCalendar200ResponseToJSON,
|
|
115
|
+
GetSigninStatus200ResponseFromJSON: () => GetSigninStatus200ResponseFromJSON,
|
|
116
|
+
GetSigninStatus200ResponseFromJSONTyped: () => GetSigninStatus200ResponseFromJSONTyped,
|
|
117
|
+
GetSigninStatus200ResponseToJSON: () => GetSigninStatus200ResponseToJSON,
|
|
118
|
+
GetTenantConfig200ResponseFromJSON: () => GetTenantConfig200ResponseFromJSON,
|
|
119
|
+
GetTenantConfig200ResponseFromJSONTyped: () => GetTenantConfig200ResponseFromJSONTyped,
|
|
120
|
+
GetTenantConfig200ResponseToJSON: () => GetTenantConfig200ResponseToJSON,
|
|
82
121
|
HealthApi: () => HealthApi,
|
|
122
|
+
HealthCheck200ResponseFromJSON: () => HealthCheck200ResponseFromJSON,
|
|
123
|
+
HealthCheck200ResponseFromJSONTyped: () => HealthCheck200ResponseFromJSONTyped,
|
|
124
|
+
HealthCheck200ResponseToJSON: () => HealthCheck200ResponseToJSON,
|
|
83
125
|
HealthCheckItemFromJSON: () => HealthCheckItemFromJSON,
|
|
84
126
|
HealthCheckItemFromJSONTyped: () => HealthCheckItemFromJSONTyped,
|
|
85
127
|
HealthCheckItemToJSON: () => HealthCheckItemToJSON,
|
|
86
128
|
HealthCheckResponseFromJSON: () => HealthCheckResponseFromJSON,
|
|
87
129
|
HealthCheckResponseFromJSONTyped: () => HealthCheckResponseFromJSONTyped,
|
|
88
130
|
HealthCheckResponseToJSON: () => HealthCheckResponseToJSON,
|
|
131
|
+
LivenessCheck200ResponseFromJSON: () => LivenessCheck200ResponseFromJSON,
|
|
132
|
+
LivenessCheck200ResponseFromJSONTyped: () => LivenessCheck200ResponseFromJSONTyped,
|
|
133
|
+
LivenessCheck200ResponseToJSON: () => LivenessCheck200ResponseToJSON,
|
|
89
134
|
LivenessResponseFromJSON: () => LivenessResponseFromJSON,
|
|
90
135
|
LivenessResponseFromJSONTyped: () => LivenessResponseFromJSONTyped,
|
|
91
136
|
LivenessResponseToJSON: () => LivenessResponseToJSON,
|
|
@@ -117,6 +162,9 @@ __export(index_exports, {
|
|
|
117
162
|
QueryContextFromJSON: () => QueryContextFromJSON,
|
|
118
163
|
QueryContextFromJSONTyped: () => QueryContextFromJSONTyped,
|
|
119
164
|
QueryContextToJSON: () => QueryContextToJSON,
|
|
165
|
+
QueryData200ResponseFromJSON: () => QueryData200ResponseFromJSON,
|
|
166
|
+
QueryData200ResponseFromJSONTyped: () => QueryData200ResponseFromJSONTyped,
|
|
167
|
+
QueryData200ResponseToJSON: () => QueryData200ResponseToJSON,
|
|
120
168
|
QueryDataRequestFromJSON: () => QueryDataRequestFromJSON,
|
|
121
169
|
QueryDataRequestFromJSONTyped: () => QueryDataRequestFromJSONTyped,
|
|
122
170
|
QueryDataRequestToJSON: () => QueryDataRequestToJSON,
|
|
@@ -130,13 +178,22 @@ __export(index_exports, {
|
|
|
130
178
|
QueryMetadataFromJSON: () => QueryMetadataFromJSON,
|
|
131
179
|
QueryMetadataFromJSONTyped: () => QueryMetadataFromJSONTyped,
|
|
132
180
|
QueryMetadataToJSON: () => QueryMetadataToJSON,
|
|
181
|
+
ReadinessCheck200ResponseFromJSON: () => ReadinessCheck200ResponseFromJSON,
|
|
182
|
+
ReadinessCheck200ResponseFromJSONTyped: () => ReadinessCheck200ResponseFromJSONTyped,
|
|
183
|
+
ReadinessCheck200ResponseToJSON: () => ReadinessCheck200ResponseToJSON,
|
|
133
184
|
ReadinessResponseFromJSON: () => ReadinessResponseFromJSON,
|
|
134
185
|
ReadinessResponseFromJSONTyped: () => ReadinessResponseFromJSONTyped,
|
|
135
186
|
ReadinessResponseToJSON: () => ReadinessResponseToJSON,
|
|
136
187
|
RequiredError: () => RequiredError,
|
|
188
|
+
ResolvePage200ResponseFromJSON: () => ResolvePage200ResponseFromJSON,
|
|
189
|
+
ResolvePage200ResponseFromJSONTyped: () => ResolvePage200ResponseFromJSONTyped,
|
|
190
|
+
ResolvePage200ResponseToJSON: () => ResolvePage200ResponseToJSON,
|
|
137
191
|
ResolvePageResponseFromJSON: () => ResolvePageResponseFromJSON,
|
|
138
192
|
ResolvePageResponseFromJSONTyped: () => ResolvePageResponseFromJSONTyped,
|
|
139
193
|
ResolvePageResponseToJSON: () => ResolvePageResponseToJSON,
|
|
194
|
+
ResolveTenant200ResponseFromJSON: () => ResolveTenant200ResponseFromJSON,
|
|
195
|
+
ResolveTenant200ResponseFromJSONTyped: () => ResolveTenant200ResponseFromJSONTyped,
|
|
196
|
+
ResolveTenant200ResponseToJSON: () => ResolveTenant200ResponseToJSON,
|
|
140
197
|
ResolveTenantDataFromJSON: () => ResolveTenantDataFromJSON,
|
|
141
198
|
ResolveTenantDataFromJSONTyped: () => ResolveTenantDataFromJSONTyped,
|
|
142
199
|
ResolveTenantDataToJSON: () => ResolveTenantDataToJSON,
|
|
@@ -200,6 +257,9 @@ __export(index_exports, {
|
|
|
200
257
|
TrackSingleResponseToJSON: () => TrackSingleResponseToJSON,
|
|
201
258
|
UserClient: () => UserClient,
|
|
202
259
|
VERSION: () => VERSION,
|
|
260
|
+
ValidateActionParams200ResponseFromJSON: () => ValidateActionParams200ResponseFromJSON,
|
|
261
|
+
ValidateActionParams200ResponseFromJSONTyped: () => ValidateActionParams200ResponseFromJSONTyped,
|
|
262
|
+
ValidateActionParams200ResponseToJSON: () => ValidateActionParams200ResponseToJSON,
|
|
203
263
|
ValidateActionRequestFromJSON: () => ValidateActionRequestFromJSON,
|
|
204
264
|
ValidateActionRequestFromJSONTyped: () => ValidateActionRequestFromJSONTyped,
|
|
205
265
|
ValidateActionRequestToJSON: () => ValidateActionRequestToJSON,
|
|
@@ -218,6 +278,7 @@ __export(index_exports, {
|
|
|
218
278
|
instanceOfActivityInfoResponse: () => instanceOfActivityInfoResponse,
|
|
219
279
|
instanceOfActivityStatus: () => instanceOfActivityStatus,
|
|
220
280
|
instanceOfActivityStatusResponse: () => instanceOfActivityStatusResponse,
|
|
281
|
+
instanceOfBatchQueryData200Response: () => instanceOfBatchQueryData200Response,
|
|
221
282
|
instanceOfBatchQueryItemRequest: () => instanceOfBatchQueryItemRequest,
|
|
222
283
|
instanceOfBatchQueryRequest: () => instanceOfBatchQueryRequest,
|
|
223
284
|
instanceOfBatchQueryResponse: () => instanceOfBatchQueryResponse,
|
|
@@ -226,10 +287,24 @@ __export(index_exports, {
|
|
|
226
287
|
instanceOfCursorPaginationMeta: () => instanceOfCursorPaginationMeta,
|
|
227
288
|
instanceOfDegradeConfig: () => instanceOfDegradeConfig,
|
|
228
289
|
instanceOfErrorResponse: () => instanceOfErrorResponse,
|
|
290
|
+
instanceOfExecuteAction200Response: () => instanceOfExecuteAction200Response,
|
|
229
291
|
instanceOfExecuteActionRequest: () => instanceOfExecuteActionRequest,
|
|
230
292
|
instanceOfExecuteActionResponse: () => instanceOfExecuteActionResponse,
|
|
293
|
+
instanceOfGetActionDefinition200Response: () => instanceOfGetActionDefinition200Response,
|
|
294
|
+
instanceOfGetActivityInfo200Response: () => instanceOfGetActivityInfo200Response,
|
|
295
|
+
instanceOfGetActivityState200Response: () => instanceOfGetActivityState200Response,
|
|
296
|
+
instanceOfGetClaimRecords200Response: () => instanceOfGetClaimRecords200Response,
|
|
297
|
+
instanceOfGetClaimStatus200Response: () => instanceOfGetClaimStatus200Response,
|
|
298
|
+
instanceOfGetPageConfig200Response: () => instanceOfGetPageConfig200Response,
|
|
299
|
+
instanceOfGetPageManifest200Response: () => instanceOfGetPageManifest200Response,
|
|
300
|
+
instanceOfGetQueryDefinition200Response: () => instanceOfGetQueryDefinition200Response,
|
|
301
|
+
instanceOfGetSigninCalendar200Response: () => instanceOfGetSigninCalendar200Response,
|
|
302
|
+
instanceOfGetSigninStatus200Response: () => instanceOfGetSigninStatus200Response,
|
|
303
|
+
instanceOfGetTenantConfig200Response: () => instanceOfGetTenantConfig200Response,
|
|
304
|
+
instanceOfHealthCheck200Response: () => instanceOfHealthCheck200Response,
|
|
231
305
|
instanceOfHealthCheckItem: () => instanceOfHealthCheckItem,
|
|
232
306
|
instanceOfHealthCheckResponse: () => instanceOfHealthCheckResponse,
|
|
307
|
+
instanceOfLivenessCheck200Response: () => instanceOfLivenessCheck200Response,
|
|
233
308
|
instanceOfLivenessResponse: () => instanceOfLivenessResponse,
|
|
234
309
|
instanceOfManifestComponent: () => instanceOfManifestComponent,
|
|
235
310
|
instanceOfManifestResponse: () => instanceOfManifestResponse,
|
|
@@ -239,12 +314,16 @@ __export(index_exports, {
|
|
|
239
314
|
instanceOfPaginatedRecordsResponse: () => instanceOfPaginatedRecordsResponse,
|
|
240
315
|
instanceOfPaginationMeta: () => instanceOfPaginationMeta,
|
|
241
316
|
instanceOfQueryContext: () => instanceOfQueryContext,
|
|
317
|
+
instanceOfQueryData200Response: () => instanceOfQueryData200Response,
|
|
242
318
|
instanceOfQueryDataRequest: () => instanceOfQueryDataRequest,
|
|
243
319
|
instanceOfQueryDataResponse: () => instanceOfQueryDataResponse,
|
|
244
320
|
instanceOfQueryDefinitionResponse: () => instanceOfQueryDefinitionResponse,
|
|
245
321
|
instanceOfQueryMetadata: () => instanceOfQueryMetadata,
|
|
322
|
+
instanceOfReadinessCheck200Response: () => instanceOfReadinessCheck200Response,
|
|
246
323
|
instanceOfReadinessResponse: () => instanceOfReadinessResponse,
|
|
324
|
+
instanceOfResolvePage200Response: () => instanceOfResolvePage200Response,
|
|
247
325
|
instanceOfResolvePageResponse: () => instanceOfResolvePageResponse,
|
|
326
|
+
instanceOfResolveTenant200Response: () => instanceOfResolveTenant200Response,
|
|
248
327
|
instanceOfResolveTenantData: () => instanceOfResolveTenantData,
|
|
249
328
|
instanceOfResolveTenantRequest: () => instanceOfResolveTenantRequest,
|
|
250
329
|
instanceOfResolveTenantResponse: () => instanceOfResolveTenantResponse,
|
|
@@ -264,6 +343,7 @@ __export(index_exports, {
|
|
|
264
343
|
instanceOfTrackSingleRequest: () => instanceOfTrackSingleRequest,
|
|
265
344
|
instanceOfTrackSingleResponse: () => instanceOfTrackSingleResponse,
|
|
266
345
|
instanceOfTrackSingleResponseData: () => instanceOfTrackSingleResponseData,
|
|
346
|
+
instanceOfValidateActionParams200Response: () => instanceOfValidateActionParams200Response,
|
|
267
347
|
instanceOfValidateActionRequest: () => instanceOfValidateActionRequest,
|
|
268
348
|
instanceOfValidateActionResponse: () => instanceOfValidateActionResponse,
|
|
269
349
|
isRetryableError: () => import_openapi_client_core2.isRetryableError
|
|
@@ -791,25 +871,24 @@ function ActivityStatusResponseToJSON(value) {
|
|
|
791
871
|
};
|
|
792
872
|
}
|
|
793
873
|
|
|
794
|
-
// src/generated/models/
|
|
795
|
-
function
|
|
874
|
+
// src/generated/models/QueryMetadata.ts
|
|
875
|
+
function instanceOfQueryMetadata(value) {
|
|
796
876
|
let isInstance = true;
|
|
797
|
-
isInstance = isInstance && "queryVersionId" in value;
|
|
798
877
|
return isInstance;
|
|
799
878
|
}
|
|
800
|
-
function
|
|
801
|
-
return
|
|
879
|
+
function QueryMetadataFromJSON(json) {
|
|
880
|
+
return QueryMetadataFromJSONTyped(json, false);
|
|
802
881
|
}
|
|
803
|
-
function
|
|
882
|
+
function QueryMetadataFromJSONTyped(json, ignoreDiscriminator) {
|
|
804
883
|
if (json === void 0 || json === null) {
|
|
805
884
|
return json;
|
|
806
885
|
}
|
|
807
886
|
return {
|
|
808
|
-
"
|
|
809
|
-
"
|
|
887
|
+
"fromCache": !exists(json, "fromCache") ? void 0 : json["fromCache"],
|
|
888
|
+
"duration": !exists(json, "duration") ? void 0 : json["duration"]
|
|
810
889
|
};
|
|
811
890
|
}
|
|
812
|
-
function
|
|
891
|
+
function QueryMetadataToJSON(value) {
|
|
813
892
|
if (value === void 0) {
|
|
814
893
|
return void 0;
|
|
815
894
|
}
|
|
@@ -817,29 +896,33 @@ function BatchQueryItemRequestToJSON(value) {
|
|
|
817
896
|
return null;
|
|
818
897
|
}
|
|
819
898
|
return {
|
|
820
|
-
"
|
|
821
|
-
"
|
|
899
|
+
"fromCache": value.fromCache,
|
|
900
|
+
"duration": value.duration
|
|
822
901
|
};
|
|
823
902
|
}
|
|
824
903
|
|
|
825
|
-
// src/generated/models/
|
|
826
|
-
function
|
|
904
|
+
// src/generated/models/QueryDataResponse.ts
|
|
905
|
+
function instanceOfQueryDataResponse(value) {
|
|
827
906
|
let isInstance = true;
|
|
828
|
-
isInstance = isInstance && "
|
|
907
|
+
isInstance = isInstance && "success" in value;
|
|
829
908
|
return isInstance;
|
|
830
909
|
}
|
|
831
|
-
function
|
|
832
|
-
return
|
|
910
|
+
function QueryDataResponseFromJSON(json) {
|
|
911
|
+
return QueryDataResponseFromJSONTyped(json, false);
|
|
833
912
|
}
|
|
834
|
-
function
|
|
913
|
+
function QueryDataResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
835
914
|
if (json === void 0 || json === null) {
|
|
836
915
|
return json;
|
|
837
916
|
}
|
|
838
917
|
return {
|
|
839
|
-
"
|
|
918
|
+
"success": json["success"],
|
|
919
|
+
"data": !exists(json, "data") ? void 0 : json["data"],
|
|
920
|
+
"errorCode": !exists(json, "errorCode") ? void 0 : json["errorCode"],
|
|
921
|
+
"errorMessage": !exists(json, "errorMessage") ? void 0 : json["errorMessage"],
|
|
922
|
+
"metadata": !exists(json, "metadata") ? void 0 : QueryMetadataFromJSON(json["metadata"])
|
|
840
923
|
};
|
|
841
924
|
}
|
|
842
|
-
function
|
|
925
|
+
function QueryDataResponseToJSON(value) {
|
|
843
926
|
if (value === void 0) {
|
|
844
927
|
return void 0;
|
|
845
928
|
}
|
|
@@ -847,28 +930,32 @@ function BatchQueryRequestToJSON(value) {
|
|
|
847
930
|
return null;
|
|
848
931
|
}
|
|
849
932
|
return {
|
|
850
|
-
"
|
|
933
|
+
"success": value.success,
|
|
934
|
+
"data": value.data,
|
|
935
|
+
"errorCode": value.errorCode,
|
|
936
|
+
"errorMessage": value.errorMessage,
|
|
937
|
+
"metadata": QueryMetadataToJSON(value.metadata)
|
|
851
938
|
};
|
|
852
939
|
}
|
|
853
940
|
|
|
854
|
-
// src/generated/models/
|
|
855
|
-
function
|
|
941
|
+
// src/generated/models/BatchQueryResponse.ts
|
|
942
|
+
function instanceOfBatchQueryResponse(value) {
|
|
856
943
|
let isInstance = true;
|
|
944
|
+
isInstance = isInstance && "results" in value;
|
|
857
945
|
return isInstance;
|
|
858
946
|
}
|
|
859
|
-
function
|
|
860
|
-
return
|
|
947
|
+
function BatchQueryResponseFromJSON(json) {
|
|
948
|
+
return BatchQueryResponseFromJSONTyped(json, false);
|
|
861
949
|
}
|
|
862
|
-
function
|
|
950
|
+
function BatchQueryResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
863
951
|
if (json === void 0 || json === null) {
|
|
864
952
|
return json;
|
|
865
953
|
}
|
|
866
954
|
return {
|
|
867
|
-
"
|
|
868
|
-
"duration": !exists(json, "duration") ? void 0 : json["duration"]
|
|
955
|
+
"results": json["results"].map(QueryDataResponseFromJSON)
|
|
869
956
|
};
|
|
870
957
|
}
|
|
871
|
-
function
|
|
958
|
+
function BatchQueryResponseToJSON(value) {
|
|
872
959
|
if (value === void 0) {
|
|
873
960
|
return void 0;
|
|
874
961
|
}
|
|
@@ -876,33 +963,40 @@ function QueryMetadataToJSON(value) {
|
|
|
876
963
|
return null;
|
|
877
964
|
}
|
|
878
965
|
return {
|
|
879
|
-
"
|
|
880
|
-
"duration": value.duration
|
|
966
|
+
"results": value.results.map(QueryDataResponseToJSON)
|
|
881
967
|
};
|
|
882
968
|
}
|
|
883
969
|
|
|
884
|
-
// src/generated/models/
|
|
885
|
-
function
|
|
970
|
+
// src/generated/models/BatchQueryData200Response.ts
|
|
971
|
+
function instanceOfBatchQueryData200Response(value) {
|
|
886
972
|
let isInstance = true;
|
|
887
973
|
isInstance = isInstance && "success" in value;
|
|
974
|
+
isInstance = isInstance && "code" in value;
|
|
975
|
+
isInstance = isInstance && "message" in value;
|
|
976
|
+
isInstance = isInstance && "data" in value;
|
|
977
|
+
isInstance = isInstance && "timestamp" in value;
|
|
978
|
+
isInstance = isInstance && "path" in value;
|
|
888
979
|
return isInstance;
|
|
889
980
|
}
|
|
890
|
-
function
|
|
891
|
-
return
|
|
981
|
+
function BatchQueryData200ResponseFromJSON(json) {
|
|
982
|
+
return BatchQueryData200ResponseFromJSONTyped(json, false);
|
|
892
983
|
}
|
|
893
|
-
function
|
|
984
|
+
function BatchQueryData200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
894
985
|
if (json === void 0 || json === null) {
|
|
895
986
|
return json;
|
|
896
987
|
}
|
|
897
988
|
return {
|
|
898
989
|
"success": json["success"],
|
|
899
|
-
"
|
|
900
|
-
"
|
|
901
|
-
"
|
|
902
|
-
"
|
|
990
|
+
"code": json["code"],
|
|
991
|
+
"message": json["message"],
|
|
992
|
+
"data": BatchQueryResponseFromJSON(json["data"]),
|
|
993
|
+
"timestamp": json["timestamp"],
|
|
994
|
+
"path": json["path"],
|
|
995
|
+
"requestId": !exists(json, "requestId") ? void 0 : json["requestId"],
|
|
996
|
+
"traceId": !exists(json, "traceId") ? void 0 : json["traceId"]
|
|
903
997
|
};
|
|
904
998
|
}
|
|
905
|
-
function
|
|
999
|
+
function BatchQueryData200ResponseToJSON(value) {
|
|
906
1000
|
if (value === void 0) {
|
|
907
1001
|
return void 0;
|
|
908
1002
|
}
|
|
@@ -911,31 +1005,35 @@ function QueryDataResponseToJSON(value) {
|
|
|
911
1005
|
}
|
|
912
1006
|
return {
|
|
913
1007
|
"success": value.success,
|
|
914
|
-
"
|
|
915
|
-
"
|
|
916
|
-
"
|
|
917
|
-
"
|
|
1008
|
+
"code": value.code,
|
|
1009
|
+
"message": value.message,
|
|
1010
|
+
"data": BatchQueryResponseToJSON(value.data),
|
|
1011
|
+
"timestamp": value.timestamp,
|
|
1012
|
+
"path": value.path,
|
|
1013
|
+
"requestId": value.requestId,
|
|
1014
|
+
"traceId": value.traceId
|
|
918
1015
|
};
|
|
919
1016
|
}
|
|
920
1017
|
|
|
921
|
-
// src/generated/models/
|
|
922
|
-
function
|
|
1018
|
+
// src/generated/models/BatchQueryItemRequest.ts
|
|
1019
|
+
function instanceOfBatchQueryItemRequest(value) {
|
|
923
1020
|
let isInstance = true;
|
|
924
|
-
isInstance = isInstance && "
|
|
1021
|
+
isInstance = isInstance && "queryVersionId" in value;
|
|
925
1022
|
return isInstance;
|
|
926
1023
|
}
|
|
927
|
-
function
|
|
928
|
-
return
|
|
1024
|
+
function BatchQueryItemRequestFromJSON(json) {
|
|
1025
|
+
return BatchQueryItemRequestFromJSONTyped(json, false);
|
|
929
1026
|
}
|
|
930
|
-
function
|
|
1027
|
+
function BatchQueryItemRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
931
1028
|
if (json === void 0 || json === null) {
|
|
932
1029
|
return json;
|
|
933
1030
|
}
|
|
934
1031
|
return {
|
|
935
|
-
"
|
|
1032
|
+
"queryVersionId": json["queryVersionId"],
|
|
1033
|
+
"params": !exists(json, "params") ? void 0 : json["params"]
|
|
936
1034
|
};
|
|
937
1035
|
}
|
|
938
|
-
function
|
|
1036
|
+
function BatchQueryItemRequestToJSON(value) {
|
|
939
1037
|
if (value === void 0) {
|
|
940
1038
|
return void 0;
|
|
941
1039
|
}
|
|
@@ -943,7 +1041,37 @@ function BatchQueryResponseToJSON(value) {
|
|
|
943
1041
|
return null;
|
|
944
1042
|
}
|
|
945
1043
|
return {
|
|
946
|
-
"
|
|
1044
|
+
"queryVersionId": value.queryVersionId,
|
|
1045
|
+
"params": value.params
|
|
1046
|
+
};
|
|
1047
|
+
}
|
|
1048
|
+
|
|
1049
|
+
// src/generated/models/BatchQueryRequest.ts
|
|
1050
|
+
function instanceOfBatchQueryRequest(value) {
|
|
1051
|
+
let isInstance = true;
|
|
1052
|
+
isInstance = isInstance && "queries" in value;
|
|
1053
|
+
return isInstance;
|
|
1054
|
+
}
|
|
1055
|
+
function BatchQueryRequestFromJSON(json) {
|
|
1056
|
+
return BatchQueryRequestFromJSONTyped(json, false);
|
|
1057
|
+
}
|
|
1058
|
+
function BatchQueryRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
1059
|
+
if (json === void 0 || json === null) {
|
|
1060
|
+
return json;
|
|
1061
|
+
}
|
|
1062
|
+
return {
|
|
1063
|
+
"queries": json["queries"].map(BatchQueryItemRequestFromJSON)
|
|
1064
|
+
};
|
|
1065
|
+
}
|
|
1066
|
+
function BatchQueryRequestToJSON(value) {
|
|
1067
|
+
if (value === void 0) {
|
|
1068
|
+
return void 0;
|
|
1069
|
+
}
|
|
1070
|
+
if (value === null) {
|
|
1071
|
+
return null;
|
|
1072
|
+
}
|
|
1073
|
+
return {
|
|
1074
|
+
"queries": value.queries.map(BatchQueryItemRequestToJSON)
|
|
947
1075
|
};
|
|
948
1076
|
}
|
|
949
1077
|
|
|
@@ -1141,45 +1269,6 @@ function ErrorResponseToJSON(value) {
|
|
|
1141
1269
|
};
|
|
1142
1270
|
}
|
|
1143
1271
|
|
|
1144
|
-
// src/generated/models/ExecuteActionRequest.ts
|
|
1145
|
-
function instanceOfExecuteActionRequest(value) {
|
|
1146
|
-
let isInstance = true;
|
|
1147
|
-
isInstance = isInstance && "actionType" in value;
|
|
1148
|
-
isInstance = isInstance && "params" in value;
|
|
1149
|
-
isInstance = isInstance && "context" in value;
|
|
1150
|
-
return isInstance;
|
|
1151
|
-
}
|
|
1152
|
-
function ExecuteActionRequestFromJSON(json) {
|
|
1153
|
-
return ExecuteActionRequestFromJSONTyped(json, false);
|
|
1154
|
-
}
|
|
1155
|
-
function ExecuteActionRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
1156
|
-
if (json === void 0 || json === null) {
|
|
1157
|
-
return json;
|
|
1158
|
-
}
|
|
1159
|
-
return {
|
|
1160
|
-
"actionType": json["actionType"],
|
|
1161
|
-
"actionDefinitionVersionId": !exists(json, "actionDefinitionVersionId") ? void 0 : json["actionDefinitionVersionId"],
|
|
1162
|
-
"params": json["params"],
|
|
1163
|
-
"idempotencyKey": !exists(json, "idempotencyKey") ? void 0 : json["idempotencyKey"],
|
|
1164
|
-
"context": ActionClientContextFromJSON(json["context"])
|
|
1165
|
-
};
|
|
1166
|
-
}
|
|
1167
|
-
function ExecuteActionRequestToJSON(value) {
|
|
1168
|
-
if (value === void 0) {
|
|
1169
|
-
return void 0;
|
|
1170
|
-
}
|
|
1171
|
-
if (value === null) {
|
|
1172
|
-
return null;
|
|
1173
|
-
}
|
|
1174
|
-
return {
|
|
1175
|
-
"actionType": value.actionType,
|
|
1176
|
-
"actionDefinitionVersionId": value.actionDefinitionVersionId,
|
|
1177
|
-
"params": value.params,
|
|
1178
|
-
"idempotencyKey": value.idempotencyKey,
|
|
1179
|
-
"context": ActionClientContextToJSON(value.context)
|
|
1180
|
-
};
|
|
1181
|
-
}
|
|
1182
|
-
|
|
1183
1272
|
// src/generated/models/ExecuteActionResponse.ts
|
|
1184
1273
|
function instanceOfExecuteActionResponse(value) {
|
|
1185
1274
|
let isInstance = true;
|
|
@@ -1233,24 +1322,36 @@ function ExecuteActionResponseToJSON(value) {
|
|
|
1233
1322
|
};
|
|
1234
1323
|
}
|
|
1235
1324
|
|
|
1236
|
-
// src/generated/models/
|
|
1237
|
-
function
|
|
1325
|
+
// src/generated/models/ExecuteAction200Response.ts
|
|
1326
|
+
function instanceOfExecuteAction200Response(value) {
|
|
1238
1327
|
let isInstance = true;
|
|
1328
|
+
isInstance = isInstance && "success" in value;
|
|
1329
|
+
isInstance = isInstance && "code" in value;
|
|
1330
|
+
isInstance = isInstance && "message" in value;
|
|
1331
|
+
isInstance = isInstance && "data" in value;
|
|
1332
|
+
isInstance = isInstance && "timestamp" in value;
|
|
1333
|
+
isInstance = isInstance && "path" in value;
|
|
1239
1334
|
return isInstance;
|
|
1240
1335
|
}
|
|
1241
|
-
function
|
|
1242
|
-
return
|
|
1336
|
+
function ExecuteAction200ResponseFromJSON(json) {
|
|
1337
|
+
return ExecuteAction200ResponseFromJSONTyped(json, false);
|
|
1243
1338
|
}
|
|
1244
|
-
function
|
|
1339
|
+
function ExecuteAction200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
1245
1340
|
if (json === void 0 || json === null) {
|
|
1246
1341
|
return json;
|
|
1247
1342
|
}
|
|
1248
1343
|
return {
|
|
1249
|
-
"
|
|
1250
|
-
"
|
|
1344
|
+
"success": json["success"],
|
|
1345
|
+
"code": json["code"],
|
|
1346
|
+
"message": json["message"],
|
|
1347
|
+
"data": ExecuteActionResponseFromJSON(json["data"]),
|
|
1348
|
+
"timestamp": json["timestamp"],
|
|
1349
|
+
"path": json["path"],
|
|
1350
|
+
"requestId": !exists(json, "requestId") ? void 0 : json["requestId"],
|
|
1351
|
+
"traceId": !exists(json, "traceId") ? void 0 : json["traceId"]
|
|
1251
1352
|
};
|
|
1252
1353
|
}
|
|
1253
|
-
function
|
|
1354
|
+
function ExecuteAction200ResponseToJSON(value) {
|
|
1254
1355
|
if (value === void 0) {
|
|
1255
1356
|
return void 0;
|
|
1256
1357
|
}
|
|
@@ -1258,31 +1359,41 @@ function HealthCheckItemToJSON(value) {
|
|
|
1258
1359
|
return null;
|
|
1259
1360
|
}
|
|
1260
1361
|
return {
|
|
1261
|
-
"
|
|
1262
|
-
"
|
|
1362
|
+
"success": value.success,
|
|
1363
|
+
"code": value.code,
|
|
1364
|
+
"message": value.message,
|
|
1365
|
+
"data": ExecuteActionResponseToJSON(value.data),
|
|
1366
|
+
"timestamp": value.timestamp,
|
|
1367
|
+
"path": value.path,
|
|
1368
|
+
"requestId": value.requestId,
|
|
1369
|
+
"traceId": value.traceId
|
|
1263
1370
|
};
|
|
1264
1371
|
}
|
|
1265
1372
|
|
|
1266
|
-
// src/generated/models/
|
|
1267
|
-
function
|
|
1373
|
+
// src/generated/models/ExecuteActionRequest.ts
|
|
1374
|
+
function instanceOfExecuteActionRequest(value) {
|
|
1268
1375
|
let isInstance = true;
|
|
1269
|
-
isInstance = isInstance && "
|
|
1270
|
-
isInstance = isInstance && "
|
|
1376
|
+
isInstance = isInstance && "actionType" in value;
|
|
1377
|
+
isInstance = isInstance && "params" in value;
|
|
1378
|
+
isInstance = isInstance && "context" in value;
|
|
1271
1379
|
return isInstance;
|
|
1272
1380
|
}
|
|
1273
|
-
function
|
|
1274
|
-
return
|
|
1381
|
+
function ExecuteActionRequestFromJSON(json) {
|
|
1382
|
+
return ExecuteActionRequestFromJSONTyped(json, false);
|
|
1275
1383
|
}
|
|
1276
|
-
function
|
|
1384
|
+
function ExecuteActionRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
1277
1385
|
if (json === void 0 || json === null) {
|
|
1278
1386
|
return json;
|
|
1279
1387
|
}
|
|
1280
1388
|
return {
|
|
1281
|
-
"
|
|
1282
|
-
"
|
|
1389
|
+
"actionType": json["actionType"],
|
|
1390
|
+
"actionDefinitionVersionId": !exists(json, "actionDefinitionVersionId") ? void 0 : json["actionDefinitionVersionId"],
|
|
1391
|
+
"params": json["params"],
|
|
1392
|
+
"idempotencyKey": !exists(json, "idempotencyKey") ? void 0 : json["idempotencyKey"],
|
|
1393
|
+
"context": ActionClientContextFromJSON(json["context"])
|
|
1283
1394
|
};
|
|
1284
1395
|
}
|
|
1285
|
-
function
|
|
1396
|
+
function ExecuteActionRequestToJSON(value) {
|
|
1286
1397
|
if (value === void 0) {
|
|
1287
1398
|
return void 0;
|
|
1288
1399
|
}
|
|
@@ -1290,29 +1401,44 @@ function HealthCheckResponseToJSON(value) {
|
|
|
1290
1401
|
return null;
|
|
1291
1402
|
}
|
|
1292
1403
|
return {
|
|
1293
|
-
"
|
|
1294
|
-
"
|
|
1404
|
+
"actionType": value.actionType,
|
|
1405
|
+
"actionDefinitionVersionId": value.actionDefinitionVersionId,
|
|
1406
|
+
"params": value.params,
|
|
1407
|
+
"idempotencyKey": value.idempotencyKey,
|
|
1408
|
+
"context": ActionClientContextToJSON(value.context)
|
|
1295
1409
|
};
|
|
1296
1410
|
}
|
|
1297
1411
|
|
|
1298
|
-
// src/generated/models/
|
|
1299
|
-
function
|
|
1412
|
+
// src/generated/models/GetActionDefinition200Response.ts
|
|
1413
|
+
function instanceOfGetActionDefinition200Response(value) {
|
|
1300
1414
|
let isInstance = true;
|
|
1301
|
-
isInstance = isInstance && "
|
|
1415
|
+
isInstance = isInstance && "success" in value;
|
|
1416
|
+
isInstance = isInstance && "code" in value;
|
|
1417
|
+
isInstance = isInstance && "message" in value;
|
|
1418
|
+
isInstance = isInstance && "data" in value;
|
|
1419
|
+
isInstance = isInstance && "timestamp" in value;
|
|
1420
|
+
isInstance = isInstance && "path" in value;
|
|
1302
1421
|
return isInstance;
|
|
1303
1422
|
}
|
|
1304
|
-
function
|
|
1305
|
-
return
|
|
1423
|
+
function GetActionDefinition200ResponseFromJSON(json) {
|
|
1424
|
+
return GetActionDefinition200ResponseFromJSONTyped(json, false);
|
|
1306
1425
|
}
|
|
1307
|
-
function
|
|
1426
|
+
function GetActionDefinition200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
1308
1427
|
if (json === void 0 || json === null) {
|
|
1309
1428
|
return json;
|
|
1310
1429
|
}
|
|
1311
1430
|
return {
|
|
1312
|
-
"
|
|
1431
|
+
"success": json["success"],
|
|
1432
|
+
"code": json["code"],
|
|
1433
|
+
"message": json["message"],
|
|
1434
|
+
"data": ActionDefinitionVersionResponseFromJSON(json["data"]),
|
|
1435
|
+
"timestamp": json["timestamp"],
|
|
1436
|
+
"path": json["path"],
|
|
1437
|
+
"requestId": !exists(json, "requestId") ? void 0 : json["requestId"],
|
|
1438
|
+
"traceId": !exists(json, "traceId") ? void 0 : json["traceId"]
|
|
1313
1439
|
};
|
|
1314
1440
|
}
|
|
1315
|
-
function
|
|
1441
|
+
function GetActionDefinition200ResponseToJSON(value) {
|
|
1316
1442
|
if (value === void 0) {
|
|
1317
1443
|
return void 0;
|
|
1318
1444
|
}
|
|
@@ -1320,41 +1446,47 @@ function LivenessResponseToJSON(value) {
|
|
|
1320
1446
|
return null;
|
|
1321
1447
|
}
|
|
1322
1448
|
return {
|
|
1323
|
-
"
|
|
1449
|
+
"success": value.success,
|
|
1450
|
+
"code": value.code,
|
|
1451
|
+
"message": value.message,
|
|
1452
|
+
"data": ActionDefinitionVersionResponseToJSON(value.data),
|
|
1453
|
+
"timestamp": value.timestamp,
|
|
1454
|
+
"path": value.path,
|
|
1455
|
+
"requestId": value.requestId,
|
|
1456
|
+
"traceId": value.traceId
|
|
1324
1457
|
};
|
|
1325
1458
|
}
|
|
1326
1459
|
|
|
1327
|
-
// src/generated/models/
|
|
1328
|
-
|
|
1329
|
-
BUNDLED: "bundled",
|
|
1330
|
-
REMOTE: "remote"
|
|
1331
|
-
};
|
|
1332
|
-
function instanceOfManifestComponent(value) {
|
|
1460
|
+
// src/generated/models/GetActivityInfo200Response.ts
|
|
1461
|
+
function instanceOfGetActivityInfo200Response(value) {
|
|
1333
1462
|
let isInstance = true;
|
|
1334
|
-
isInstance = isInstance && "
|
|
1335
|
-
isInstance = isInstance && "
|
|
1336
|
-
isInstance = isInstance && "
|
|
1337
|
-
isInstance = isInstance && "
|
|
1463
|
+
isInstance = isInstance && "success" in value;
|
|
1464
|
+
isInstance = isInstance && "code" in value;
|
|
1465
|
+
isInstance = isInstance && "message" in value;
|
|
1466
|
+
isInstance = isInstance && "data" in value;
|
|
1467
|
+
isInstance = isInstance && "timestamp" in value;
|
|
1468
|
+
isInstance = isInstance && "path" in value;
|
|
1338
1469
|
return isInstance;
|
|
1339
1470
|
}
|
|
1340
|
-
function
|
|
1341
|
-
return
|
|
1471
|
+
function GetActivityInfo200ResponseFromJSON(json) {
|
|
1472
|
+
return GetActivityInfo200ResponseFromJSONTyped(json, false);
|
|
1342
1473
|
}
|
|
1343
|
-
function
|
|
1474
|
+
function GetActivityInfo200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
1344
1475
|
if (json === void 0 || json === null) {
|
|
1345
1476
|
return json;
|
|
1346
1477
|
}
|
|
1347
1478
|
return {
|
|
1348
|
-
"
|
|
1349
|
-
"
|
|
1350
|
-
"
|
|
1351
|
-
"
|
|
1352
|
-
"
|
|
1353
|
-
"
|
|
1354
|
-
"
|
|
1479
|
+
"success": json["success"],
|
|
1480
|
+
"code": json["code"],
|
|
1481
|
+
"message": json["message"],
|
|
1482
|
+
"data": ActivityInfoResponseFromJSON(json["data"]),
|
|
1483
|
+
"timestamp": json["timestamp"],
|
|
1484
|
+
"path": json["path"],
|
|
1485
|
+
"requestId": !exists(json, "requestId") ? void 0 : json["requestId"],
|
|
1486
|
+
"traceId": !exists(json, "traceId") ? void 0 : json["traceId"]
|
|
1355
1487
|
};
|
|
1356
1488
|
}
|
|
1357
|
-
function
|
|
1489
|
+
function GetActivityInfo200ResponseToJSON(value) {
|
|
1358
1490
|
if (value === void 0) {
|
|
1359
1491
|
return void 0;
|
|
1360
1492
|
}
|
|
@@ -1362,36 +1494,47 @@ function ManifestComponentToJSON(value) {
|
|
|
1362
1494
|
return null;
|
|
1363
1495
|
}
|
|
1364
1496
|
return {
|
|
1365
|
-
"
|
|
1366
|
-
"
|
|
1367
|
-
"
|
|
1368
|
-
"
|
|
1369
|
-
"
|
|
1370
|
-
"
|
|
1371
|
-
"
|
|
1497
|
+
"success": value.success,
|
|
1498
|
+
"code": value.code,
|
|
1499
|
+
"message": value.message,
|
|
1500
|
+
"data": ActivityInfoResponseToJSON(value.data),
|
|
1501
|
+
"timestamp": value.timestamp,
|
|
1502
|
+
"path": value.path,
|
|
1503
|
+
"requestId": value.requestId,
|
|
1504
|
+
"traceId": value.traceId
|
|
1372
1505
|
};
|
|
1373
1506
|
}
|
|
1374
1507
|
|
|
1375
|
-
// src/generated/models/
|
|
1376
|
-
function
|
|
1508
|
+
// src/generated/models/GetActivityState200Response.ts
|
|
1509
|
+
function instanceOfGetActivityState200Response(value) {
|
|
1377
1510
|
let isInstance = true;
|
|
1378
|
-
isInstance = isInstance && "
|
|
1379
|
-
isInstance = isInstance && "
|
|
1511
|
+
isInstance = isInstance && "success" in value;
|
|
1512
|
+
isInstance = isInstance && "code" in value;
|
|
1513
|
+
isInstance = isInstance && "message" in value;
|
|
1514
|
+
isInstance = isInstance && "data" in value;
|
|
1515
|
+
isInstance = isInstance && "timestamp" in value;
|
|
1516
|
+
isInstance = isInstance && "path" in value;
|
|
1380
1517
|
return isInstance;
|
|
1381
1518
|
}
|
|
1382
|
-
function
|
|
1383
|
-
return
|
|
1519
|
+
function GetActivityState200ResponseFromJSON(json) {
|
|
1520
|
+
return GetActivityState200ResponseFromJSONTyped(json, false);
|
|
1384
1521
|
}
|
|
1385
|
-
function
|
|
1522
|
+
function GetActivityState200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
1386
1523
|
if (json === void 0 || json === null) {
|
|
1387
1524
|
return json;
|
|
1388
1525
|
}
|
|
1389
1526
|
return {
|
|
1390
|
-
"
|
|
1391
|
-
"
|
|
1527
|
+
"success": json["success"],
|
|
1528
|
+
"code": json["code"],
|
|
1529
|
+
"message": json["message"],
|
|
1530
|
+
"data": ActivityStatusResponseFromJSON(json["data"]),
|
|
1531
|
+
"timestamp": json["timestamp"],
|
|
1532
|
+
"path": json["path"],
|
|
1533
|
+
"requestId": !exists(json, "requestId") ? void 0 : json["requestId"],
|
|
1534
|
+
"traceId": !exists(json, "traceId") ? void 0 : json["traceId"]
|
|
1392
1535
|
};
|
|
1393
1536
|
}
|
|
1394
|
-
function
|
|
1537
|
+
function GetActivityState200ResponseToJSON(value) {
|
|
1395
1538
|
if (value === void 0) {
|
|
1396
1539
|
return void 0;
|
|
1397
1540
|
}
|
|
@@ -1399,35 +1542,38 @@ function ManifestRuntimeToJSON(value) {
|
|
|
1399
1542
|
return null;
|
|
1400
1543
|
}
|
|
1401
1544
|
return {
|
|
1402
|
-
"
|
|
1403
|
-
"
|
|
1545
|
+
"success": value.success,
|
|
1546
|
+
"code": value.code,
|
|
1547
|
+
"message": value.message,
|
|
1548
|
+
"data": ActivityStatusResponseToJSON(value.data),
|
|
1549
|
+
"timestamp": value.timestamp,
|
|
1550
|
+
"path": value.path,
|
|
1551
|
+
"requestId": value.requestId,
|
|
1552
|
+
"traceId": value.traceId
|
|
1404
1553
|
};
|
|
1405
1554
|
}
|
|
1406
1555
|
|
|
1407
|
-
// src/generated/models/
|
|
1408
|
-
function
|
|
1556
|
+
// src/generated/models/PaginatedRecordsResponse.ts
|
|
1557
|
+
function instanceOfPaginatedRecordsResponse(value) {
|
|
1409
1558
|
let isInstance = true;
|
|
1410
|
-
isInstance = isInstance && "
|
|
1411
|
-
isInstance = isInstance && "
|
|
1412
|
-
isInstance = isInstance && "components" in value;
|
|
1413
|
-
isInstance = isInstance && "runtime" in value;
|
|
1559
|
+
isInstance = isInstance && "success" in value;
|
|
1560
|
+
isInstance = isInstance && "data" in value;
|
|
1414
1561
|
return isInstance;
|
|
1415
1562
|
}
|
|
1416
|
-
function
|
|
1417
|
-
return
|
|
1563
|
+
function PaginatedRecordsResponseFromJSON(json) {
|
|
1564
|
+
return PaginatedRecordsResponseFromJSONTyped(json, false);
|
|
1418
1565
|
}
|
|
1419
|
-
function
|
|
1566
|
+
function PaginatedRecordsResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
1420
1567
|
if (json === void 0 || json === null) {
|
|
1421
1568
|
return json;
|
|
1422
1569
|
}
|
|
1423
1570
|
return {
|
|
1424
|
-
"
|
|
1425
|
-
"
|
|
1426
|
-
"
|
|
1427
|
-
"runtime": ManifestRuntimeFromJSON(json["runtime"])
|
|
1571
|
+
"success": json["success"],
|
|
1572
|
+
"data": json["data"],
|
|
1573
|
+
"meta": !exists(json, "meta") ? void 0 : CursorPaginationMetaFromJSON(json["meta"])
|
|
1428
1574
|
};
|
|
1429
1575
|
}
|
|
1430
|
-
function
|
|
1576
|
+
function PaginatedRecordsResponseToJSON(value) {
|
|
1431
1577
|
if (value === void 0) {
|
|
1432
1578
|
return void 0;
|
|
1433
1579
|
}
|
|
@@ -1435,35 +1581,42 @@ function ManifestResponseToJSON(value) {
|
|
|
1435
1581
|
return null;
|
|
1436
1582
|
}
|
|
1437
1583
|
return {
|
|
1438
|
-
"
|
|
1439
|
-
"
|
|
1440
|
-
"
|
|
1441
|
-
"runtime": ManifestRuntimeToJSON(value.runtime)
|
|
1584
|
+
"success": value.success,
|
|
1585
|
+
"data": value.data,
|
|
1586
|
+
"meta": CursorPaginationMetaToJSON(value.meta)
|
|
1442
1587
|
};
|
|
1443
1588
|
}
|
|
1444
1589
|
|
|
1445
|
-
// src/generated/models/
|
|
1446
|
-
function
|
|
1590
|
+
// src/generated/models/GetClaimRecords200Response.ts
|
|
1591
|
+
function instanceOfGetClaimRecords200Response(value) {
|
|
1447
1592
|
let isInstance = true;
|
|
1448
|
-
isInstance = isInstance && "
|
|
1449
|
-
isInstance = isInstance && "
|
|
1450
|
-
isInstance = isInstance && "
|
|
1593
|
+
isInstance = isInstance && "success" in value;
|
|
1594
|
+
isInstance = isInstance && "code" in value;
|
|
1595
|
+
isInstance = isInstance && "message" in value;
|
|
1596
|
+
isInstance = isInstance && "data" in value;
|
|
1597
|
+
isInstance = isInstance && "timestamp" in value;
|
|
1598
|
+
isInstance = isInstance && "path" in value;
|
|
1451
1599
|
return isInstance;
|
|
1452
1600
|
}
|
|
1453
|
-
function
|
|
1454
|
-
return
|
|
1601
|
+
function GetClaimRecords200ResponseFromJSON(json) {
|
|
1602
|
+
return GetClaimRecords200ResponseFromJSONTyped(json, false);
|
|
1455
1603
|
}
|
|
1456
|
-
function
|
|
1604
|
+
function GetClaimRecords200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
1457
1605
|
if (json === void 0 || json === null) {
|
|
1458
1606
|
return json;
|
|
1459
1607
|
}
|
|
1460
1608
|
return {
|
|
1461
|
-
"
|
|
1462
|
-
"
|
|
1463
|
-
"
|
|
1609
|
+
"success": json["success"],
|
|
1610
|
+
"code": json["code"],
|
|
1611
|
+
"message": json["message"],
|
|
1612
|
+
"data": PaginatedRecordsResponseFromJSON(json["data"]),
|
|
1613
|
+
"timestamp": json["timestamp"],
|
|
1614
|
+
"path": json["path"],
|
|
1615
|
+
"requestId": !exists(json, "requestId") ? void 0 : json["requestId"],
|
|
1616
|
+
"traceId": !exists(json, "traceId") ? void 0 : json["traceId"]
|
|
1464
1617
|
};
|
|
1465
1618
|
}
|
|
1466
|
-
function
|
|
1619
|
+
function GetClaimRecords200ResponseToJSON(value) {
|
|
1467
1620
|
if (value === void 0) {
|
|
1468
1621
|
return void 0;
|
|
1469
1622
|
}
|
|
@@ -1471,32 +1624,47 @@ function RewardInfoToJSON(value) {
|
|
|
1471
1624
|
return null;
|
|
1472
1625
|
}
|
|
1473
1626
|
return {
|
|
1474
|
-
"
|
|
1475
|
-
"
|
|
1476
|
-
"
|
|
1627
|
+
"success": value.success,
|
|
1628
|
+
"code": value.code,
|
|
1629
|
+
"message": value.message,
|
|
1630
|
+
"data": PaginatedRecordsResponseToJSON(value.data),
|
|
1631
|
+
"timestamp": value.timestamp,
|
|
1632
|
+
"path": value.path,
|
|
1633
|
+
"requestId": value.requestId,
|
|
1634
|
+
"traceId": value.traceId
|
|
1477
1635
|
};
|
|
1478
1636
|
}
|
|
1479
1637
|
|
|
1480
|
-
// src/generated/models/
|
|
1481
|
-
function
|
|
1638
|
+
// src/generated/models/GetClaimStatus200Response.ts
|
|
1639
|
+
function instanceOfGetClaimStatus200Response(value) {
|
|
1482
1640
|
let isInstance = true;
|
|
1483
|
-
isInstance = isInstance && "
|
|
1484
|
-
isInstance = isInstance && "
|
|
1641
|
+
isInstance = isInstance && "success" in value;
|
|
1642
|
+
isInstance = isInstance && "code" in value;
|
|
1643
|
+
isInstance = isInstance && "message" in value;
|
|
1644
|
+
isInstance = isInstance && "data" in value;
|
|
1645
|
+
isInstance = isInstance && "timestamp" in value;
|
|
1646
|
+
isInstance = isInstance && "path" in value;
|
|
1485
1647
|
return isInstance;
|
|
1486
1648
|
}
|
|
1487
|
-
function
|
|
1488
|
-
return
|
|
1649
|
+
function GetClaimStatus200ResponseFromJSON(json) {
|
|
1650
|
+
return GetClaimStatus200ResponseFromJSONTyped(json, false);
|
|
1489
1651
|
}
|
|
1490
|
-
function
|
|
1652
|
+
function GetClaimStatus200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
1491
1653
|
if (json === void 0 || json === null) {
|
|
1492
1654
|
return json;
|
|
1493
1655
|
}
|
|
1494
1656
|
return {
|
|
1495
|
-
"
|
|
1496
|
-
"
|
|
1657
|
+
"success": json["success"],
|
|
1658
|
+
"code": json["code"],
|
|
1659
|
+
"message": json["message"],
|
|
1660
|
+
"data": ClaimStatusResponseFromJSON(json["data"]),
|
|
1661
|
+
"timestamp": json["timestamp"],
|
|
1662
|
+
"path": json["path"],
|
|
1663
|
+
"requestId": !exists(json, "requestId") ? void 0 : json["requestId"],
|
|
1664
|
+
"traceId": !exists(json, "traceId") ? void 0 : json["traceId"]
|
|
1497
1665
|
};
|
|
1498
1666
|
}
|
|
1499
|
-
function
|
|
1667
|
+
function GetClaimStatus200ResponseToJSON(value) {
|
|
1500
1668
|
if (value === void 0) {
|
|
1501
1669
|
return void 0;
|
|
1502
1670
|
}
|
|
@@ -1504,8 +1672,14 @@ function MilestoneInfoToJSON(value) {
|
|
|
1504
1672
|
return null;
|
|
1505
1673
|
}
|
|
1506
1674
|
return {
|
|
1507
|
-
"
|
|
1508
|
-
"
|
|
1675
|
+
"success": value.success,
|
|
1676
|
+
"code": value.code,
|
|
1677
|
+
"message": value.message,
|
|
1678
|
+
"data": ClaimStatusResponseToJSON(value.data),
|
|
1679
|
+
"timestamp": value.timestamp,
|
|
1680
|
+
"path": value.path,
|
|
1681
|
+
"requestId": value.requestId,
|
|
1682
|
+
"traceId": value.traceId
|
|
1509
1683
|
};
|
|
1510
1684
|
}
|
|
1511
1685
|
|
|
@@ -1550,27 +1724,889 @@ function OpsConfigToJSON(value) {
|
|
|
1550
1724
|
};
|
|
1551
1725
|
}
|
|
1552
1726
|
|
|
1553
|
-
// src/generated/models/
|
|
1554
|
-
function
|
|
1727
|
+
// src/generated/models/GetPageConfig200Response.ts
|
|
1728
|
+
function instanceOfGetPageConfig200Response(value) {
|
|
1555
1729
|
let isInstance = true;
|
|
1556
1730
|
isInstance = isInstance && "success" in value;
|
|
1731
|
+
isInstance = isInstance && "code" in value;
|
|
1732
|
+
isInstance = isInstance && "message" in value;
|
|
1557
1733
|
isInstance = isInstance && "data" in value;
|
|
1734
|
+
isInstance = isInstance && "timestamp" in value;
|
|
1735
|
+
isInstance = isInstance && "path" in value;
|
|
1558
1736
|
return isInstance;
|
|
1559
1737
|
}
|
|
1560
|
-
function
|
|
1561
|
-
return
|
|
1738
|
+
function GetPageConfig200ResponseFromJSON(json) {
|
|
1739
|
+
return GetPageConfig200ResponseFromJSONTyped(json, false);
|
|
1562
1740
|
}
|
|
1563
|
-
function
|
|
1741
|
+
function GetPageConfig200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
1742
|
+
if (json === void 0 || json === null) {
|
|
1743
|
+
return json;
|
|
1744
|
+
}
|
|
1745
|
+
return {
|
|
1746
|
+
"success": json["success"],
|
|
1747
|
+
"code": json["code"],
|
|
1748
|
+
"message": json["message"],
|
|
1749
|
+
"data": OpsConfigFromJSON(json["data"]),
|
|
1750
|
+
"timestamp": json["timestamp"],
|
|
1751
|
+
"path": json["path"],
|
|
1752
|
+
"requestId": !exists(json, "requestId") ? void 0 : json["requestId"],
|
|
1753
|
+
"traceId": !exists(json, "traceId") ? void 0 : json["traceId"]
|
|
1754
|
+
};
|
|
1755
|
+
}
|
|
1756
|
+
function GetPageConfig200ResponseToJSON(value) {
|
|
1757
|
+
if (value === void 0) {
|
|
1758
|
+
return void 0;
|
|
1759
|
+
}
|
|
1760
|
+
if (value === null) {
|
|
1761
|
+
return null;
|
|
1762
|
+
}
|
|
1763
|
+
return {
|
|
1764
|
+
"success": value.success,
|
|
1765
|
+
"code": value.code,
|
|
1766
|
+
"message": value.message,
|
|
1767
|
+
"data": OpsConfigToJSON(value.data),
|
|
1768
|
+
"timestamp": value.timestamp,
|
|
1769
|
+
"path": value.path,
|
|
1770
|
+
"requestId": value.requestId,
|
|
1771
|
+
"traceId": value.traceId
|
|
1772
|
+
};
|
|
1773
|
+
}
|
|
1774
|
+
|
|
1775
|
+
// src/generated/models/ManifestComponent.ts
|
|
1776
|
+
var ManifestComponentSourceEnum = {
|
|
1777
|
+
BUNDLED: "bundled",
|
|
1778
|
+
REMOTE: "remote"
|
|
1779
|
+
};
|
|
1780
|
+
function instanceOfManifestComponent(value) {
|
|
1781
|
+
let isInstance = true;
|
|
1782
|
+
isInstance = isInstance && "name" in value;
|
|
1783
|
+
isInstance = isInstance && "version" in value;
|
|
1784
|
+
isInstance = isInstance && "source" in value;
|
|
1785
|
+
isInstance = isInstance && "integrity" in value;
|
|
1786
|
+
return isInstance;
|
|
1787
|
+
}
|
|
1788
|
+
function ManifestComponentFromJSON(json) {
|
|
1789
|
+
return ManifestComponentFromJSONTyped(json, false);
|
|
1790
|
+
}
|
|
1791
|
+
function ManifestComponentFromJSONTyped(json, ignoreDiscriminator) {
|
|
1792
|
+
if (json === void 0 || json === null) {
|
|
1793
|
+
return json;
|
|
1794
|
+
}
|
|
1795
|
+
return {
|
|
1796
|
+
"name": json["name"],
|
|
1797
|
+
"version": json["version"],
|
|
1798
|
+
"source": json["source"],
|
|
1799
|
+
"entry": !exists(json, "entry") ? void 0 : json["entry"],
|
|
1800
|
+
"styleEntry": !exists(json, "styleEntry") ? void 0 : json["styleEntry"],
|
|
1801
|
+
"integrity": json["integrity"],
|
|
1802
|
+
"preload": !exists(json, "preload") ? void 0 : json["preload"]
|
|
1803
|
+
};
|
|
1804
|
+
}
|
|
1805
|
+
function ManifestComponentToJSON(value) {
|
|
1806
|
+
if (value === void 0) {
|
|
1807
|
+
return void 0;
|
|
1808
|
+
}
|
|
1809
|
+
if (value === null) {
|
|
1810
|
+
return null;
|
|
1811
|
+
}
|
|
1812
|
+
return {
|
|
1813
|
+
"name": value.name,
|
|
1814
|
+
"version": value.version,
|
|
1815
|
+
"source": value.source,
|
|
1816
|
+
"entry": value.entry,
|
|
1817
|
+
"styleEntry": value.styleEntry,
|
|
1818
|
+
"integrity": value.integrity,
|
|
1819
|
+
"preload": value.preload
|
|
1820
|
+
};
|
|
1821
|
+
}
|
|
1822
|
+
|
|
1823
|
+
// src/generated/models/ManifestRuntime.ts
|
|
1824
|
+
function instanceOfManifestRuntime(value) {
|
|
1825
|
+
let isInstance = true;
|
|
1826
|
+
isInstance = isInstance && "version" in value;
|
|
1827
|
+
isInstance = isInstance && "minVersion" in value;
|
|
1828
|
+
return isInstance;
|
|
1829
|
+
}
|
|
1830
|
+
function ManifestRuntimeFromJSON(json) {
|
|
1831
|
+
return ManifestRuntimeFromJSONTyped(json, false);
|
|
1832
|
+
}
|
|
1833
|
+
function ManifestRuntimeFromJSONTyped(json, ignoreDiscriminator) {
|
|
1834
|
+
if (json === void 0 || json === null) {
|
|
1835
|
+
return json;
|
|
1836
|
+
}
|
|
1837
|
+
return {
|
|
1838
|
+
"version": json["version"],
|
|
1839
|
+
"minVersion": json["minVersion"]
|
|
1840
|
+
};
|
|
1841
|
+
}
|
|
1842
|
+
function ManifestRuntimeToJSON(value) {
|
|
1843
|
+
if (value === void 0) {
|
|
1844
|
+
return void 0;
|
|
1845
|
+
}
|
|
1846
|
+
if (value === null) {
|
|
1847
|
+
return null;
|
|
1848
|
+
}
|
|
1849
|
+
return {
|
|
1850
|
+
"version": value.version,
|
|
1851
|
+
"minVersion": value.minVersion
|
|
1852
|
+
};
|
|
1853
|
+
}
|
|
1854
|
+
|
|
1855
|
+
// src/generated/models/ManifestResponse.ts
|
|
1856
|
+
function instanceOfManifestResponse(value) {
|
|
1857
|
+
let isInstance = true;
|
|
1858
|
+
isInstance = isInstance && "pageVersionId" in value;
|
|
1859
|
+
isInstance = isInstance && "manifestVersion" in value;
|
|
1860
|
+
isInstance = isInstance && "components" in value;
|
|
1861
|
+
isInstance = isInstance && "runtime" in value;
|
|
1862
|
+
return isInstance;
|
|
1863
|
+
}
|
|
1864
|
+
function ManifestResponseFromJSON(json) {
|
|
1865
|
+
return ManifestResponseFromJSONTyped(json, false);
|
|
1866
|
+
}
|
|
1867
|
+
function ManifestResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
1868
|
+
if (json === void 0 || json === null) {
|
|
1869
|
+
return json;
|
|
1870
|
+
}
|
|
1871
|
+
return {
|
|
1872
|
+
"pageVersionId": json["pageVersionId"],
|
|
1873
|
+
"manifestVersion": json["manifestVersion"],
|
|
1874
|
+
"components": json["components"].map(ManifestComponentFromJSON),
|
|
1875
|
+
"runtime": ManifestRuntimeFromJSON(json["runtime"])
|
|
1876
|
+
};
|
|
1877
|
+
}
|
|
1878
|
+
function ManifestResponseToJSON(value) {
|
|
1879
|
+
if (value === void 0) {
|
|
1880
|
+
return void 0;
|
|
1881
|
+
}
|
|
1882
|
+
if (value === null) {
|
|
1883
|
+
return null;
|
|
1884
|
+
}
|
|
1885
|
+
return {
|
|
1886
|
+
"pageVersionId": value.pageVersionId,
|
|
1887
|
+
"manifestVersion": value.manifestVersion,
|
|
1888
|
+
"components": value.components.map(ManifestComponentToJSON),
|
|
1889
|
+
"runtime": ManifestRuntimeToJSON(value.runtime)
|
|
1890
|
+
};
|
|
1891
|
+
}
|
|
1892
|
+
|
|
1893
|
+
// src/generated/models/GetPageManifest200Response.ts
|
|
1894
|
+
function instanceOfGetPageManifest200Response(value) {
|
|
1895
|
+
let isInstance = true;
|
|
1896
|
+
isInstance = isInstance && "success" in value;
|
|
1897
|
+
isInstance = isInstance && "code" in value;
|
|
1898
|
+
isInstance = isInstance && "message" in value;
|
|
1899
|
+
isInstance = isInstance && "data" in value;
|
|
1900
|
+
isInstance = isInstance && "timestamp" in value;
|
|
1901
|
+
isInstance = isInstance && "path" in value;
|
|
1902
|
+
return isInstance;
|
|
1903
|
+
}
|
|
1904
|
+
function GetPageManifest200ResponseFromJSON(json) {
|
|
1905
|
+
return GetPageManifest200ResponseFromJSONTyped(json, false);
|
|
1906
|
+
}
|
|
1907
|
+
function GetPageManifest200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
1908
|
+
if (json === void 0 || json === null) {
|
|
1909
|
+
return json;
|
|
1910
|
+
}
|
|
1911
|
+
return {
|
|
1912
|
+
"success": json["success"],
|
|
1913
|
+
"code": json["code"],
|
|
1914
|
+
"message": json["message"],
|
|
1915
|
+
"data": ManifestResponseFromJSON(json["data"]),
|
|
1916
|
+
"timestamp": json["timestamp"],
|
|
1917
|
+
"path": json["path"],
|
|
1918
|
+
"requestId": !exists(json, "requestId") ? void 0 : json["requestId"],
|
|
1919
|
+
"traceId": !exists(json, "traceId") ? void 0 : json["traceId"]
|
|
1920
|
+
};
|
|
1921
|
+
}
|
|
1922
|
+
function GetPageManifest200ResponseToJSON(value) {
|
|
1923
|
+
if (value === void 0) {
|
|
1924
|
+
return void 0;
|
|
1925
|
+
}
|
|
1926
|
+
if (value === null) {
|
|
1927
|
+
return null;
|
|
1928
|
+
}
|
|
1929
|
+
return {
|
|
1930
|
+
"success": value.success,
|
|
1931
|
+
"code": value.code,
|
|
1932
|
+
"message": value.message,
|
|
1933
|
+
"data": ManifestResponseToJSON(value.data),
|
|
1934
|
+
"timestamp": value.timestamp,
|
|
1935
|
+
"path": value.path,
|
|
1936
|
+
"requestId": value.requestId,
|
|
1937
|
+
"traceId": value.traceId
|
|
1938
|
+
};
|
|
1939
|
+
}
|
|
1940
|
+
|
|
1941
|
+
// src/generated/models/QueryDefinitionResponse.ts
|
|
1942
|
+
var QueryDefinitionResponseStatusEnum = {
|
|
1943
|
+
DRAFT: "draft",
|
|
1944
|
+
STABLE: "stable",
|
|
1945
|
+
DEPRECATED: "deprecated",
|
|
1946
|
+
BLOCKED: "blocked"
|
|
1947
|
+
};
|
|
1948
|
+
function instanceOfQueryDefinitionResponse(value) {
|
|
1949
|
+
let isInstance = true;
|
|
1950
|
+
isInstance = isInstance && "uid" in value;
|
|
1951
|
+
isInstance = isInstance && "queryUid" in value;
|
|
1952
|
+
isInstance = isInstance && "versionNumber" in value;
|
|
1953
|
+
isInstance = isInstance && "spec" in value;
|
|
1954
|
+
isInstance = isInstance && "status" in value;
|
|
1955
|
+
return isInstance;
|
|
1956
|
+
}
|
|
1957
|
+
function QueryDefinitionResponseFromJSON(json) {
|
|
1958
|
+
return QueryDefinitionResponseFromJSONTyped(json, false);
|
|
1959
|
+
}
|
|
1960
|
+
function QueryDefinitionResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
1961
|
+
if (json === void 0 || json === null) {
|
|
1962
|
+
return json;
|
|
1963
|
+
}
|
|
1964
|
+
return {
|
|
1965
|
+
"uid": json["uid"],
|
|
1966
|
+
"queryUid": json["queryUid"],
|
|
1967
|
+
"versionNumber": json["versionNumber"],
|
|
1968
|
+
"versionLabel": !exists(json, "versionLabel") ? void 0 : json["versionLabel"],
|
|
1969
|
+
"spec": json["spec"],
|
|
1970
|
+
"status": json["status"]
|
|
1971
|
+
};
|
|
1972
|
+
}
|
|
1973
|
+
function QueryDefinitionResponseToJSON(value) {
|
|
1974
|
+
if (value === void 0) {
|
|
1975
|
+
return void 0;
|
|
1976
|
+
}
|
|
1977
|
+
if (value === null) {
|
|
1978
|
+
return null;
|
|
1979
|
+
}
|
|
1980
|
+
return {
|
|
1981
|
+
"uid": value.uid,
|
|
1982
|
+
"queryUid": value.queryUid,
|
|
1983
|
+
"versionNumber": value.versionNumber,
|
|
1984
|
+
"versionLabel": value.versionLabel,
|
|
1985
|
+
"spec": value.spec,
|
|
1986
|
+
"status": value.status
|
|
1987
|
+
};
|
|
1988
|
+
}
|
|
1989
|
+
|
|
1990
|
+
// src/generated/models/GetQueryDefinition200Response.ts
|
|
1991
|
+
function instanceOfGetQueryDefinition200Response(value) {
|
|
1992
|
+
let isInstance = true;
|
|
1993
|
+
isInstance = isInstance && "success" in value;
|
|
1994
|
+
isInstance = isInstance && "code" in value;
|
|
1995
|
+
isInstance = isInstance && "message" in value;
|
|
1996
|
+
isInstance = isInstance && "data" in value;
|
|
1997
|
+
isInstance = isInstance && "timestamp" in value;
|
|
1998
|
+
isInstance = isInstance && "path" in value;
|
|
1999
|
+
return isInstance;
|
|
2000
|
+
}
|
|
2001
|
+
function GetQueryDefinition200ResponseFromJSON(json) {
|
|
2002
|
+
return GetQueryDefinition200ResponseFromJSONTyped(json, false);
|
|
2003
|
+
}
|
|
2004
|
+
function GetQueryDefinition200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
2005
|
+
if (json === void 0 || json === null) {
|
|
2006
|
+
return json;
|
|
2007
|
+
}
|
|
2008
|
+
return {
|
|
2009
|
+
"success": json["success"],
|
|
2010
|
+
"code": json["code"],
|
|
2011
|
+
"message": json["message"],
|
|
2012
|
+
"data": QueryDefinitionResponseFromJSON(json["data"]),
|
|
2013
|
+
"timestamp": json["timestamp"],
|
|
2014
|
+
"path": json["path"],
|
|
2015
|
+
"requestId": !exists(json, "requestId") ? void 0 : json["requestId"],
|
|
2016
|
+
"traceId": !exists(json, "traceId") ? void 0 : json["traceId"]
|
|
2017
|
+
};
|
|
2018
|
+
}
|
|
2019
|
+
function GetQueryDefinition200ResponseToJSON(value) {
|
|
2020
|
+
if (value === void 0) {
|
|
2021
|
+
return void 0;
|
|
2022
|
+
}
|
|
2023
|
+
if (value === null) {
|
|
2024
|
+
return null;
|
|
2025
|
+
}
|
|
2026
|
+
return {
|
|
2027
|
+
"success": value.success,
|
|
2028
|
+
"code": value.code,
|
|
2029
|
+
"message": value.message,
|
|
2030
|
+
"data": QueryDefinitionResponseToJSON(value.data),
|
|
2031
|
+
"timestamp": value.timestamp,
|
|
2032
|
+
"path": value.path,
|
|
2033
|
+
"requestId": value.requestId,
|
|
2034
|
+
"traceId": value.traceId
|
|
2035
|
+
};
|
|
2036
|
+
}
|
|
2037
|
+
|
|
2038
|
+
// src/generated/models/SigninCalendarData.ts
|
|
2039
|
+
function instanceOfSigninCalendarData(value) {
|
|
2040
|
+
let isInstance = true;
|
|
2041
|
+
isInstance = isInstance && "activityId" in value;
|
|
2042
|
+
isInstance = isInstance && "month" in value;
|
|
2043
|
+
isInstance = isInstance && "signedDates" in value;
|
|
2044
|
+
isInstance = isInstance && "consecutiveDays" in value;
|
|
2045
|
+
isInstance = isInstance && "totalDays" in value;
|
|
2046
|
+
return isInstance;
|
|
2047
|
+
}
|
|
2048
|
+
function SigninCalendarDataFromJSON(json) {
|
|
2049
|
+
return SigninCalendarDataFromJSONTyped(json, false);
|
|
2050
|
+
}
|
|
2051
|
+
function SigninCalendarDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
2052
|
+
if (json === void 0 || json === null) {
|
|
2053
|
+
return json;
|
|
2054
|
+
}
|
|
2055
|
+
return {
|
|
2056
|
+
"activityId": json["activityId"],
|
|
2057
|
+
"month": json["month"],
|
|
2058
|
+
"signedDates": json["signedDates"],
|
|
2059
|
+
"consecutiveDays": json["consecutiveDays"],
|
|
2060
|
+
"totalDays": json["totalDays"]
|
|
2061
|
+
};
|
|
2062
|
+
}
|
|
2063
|
+
function SigninCalendarDataToJSON(value) {
|
|
2064
|
+
if (value === void 0) {
|
|
2065
|
+
return void 0;
|
|
2066
|
+
}
|
|
2067
|
+
if (value === null) {
|
|
2068
|
+
return null;
|
|
2069
|
+
}
|
|
2070
|
+
return {
|
|
2071
|
+
"activityId": value.activityId,
|
|
2072
|
+
"month": value.month,
|
|
2073
|
+
"signedDates": value.signedDates,
|
|
2074
|
+
"consecutiveDays": value.consecutiveDays,
|
|
2075
|
+
"totalDays": value.totalDays
|
|
2076
|
+
};
|
|
2077
|
+
}
|
|
2078
|
+
|
|
2079
|
+
// src/generated/models/SigninCalendarResponse.ts
|
|
2080
|
+
function instanceOfSigninCalendarResponse(value) {
|
|
2081
|
+
let isInstance = true;
|
|
2082
|
+
isInstance = isInstance && "success" in value;
|
|
2083
|
+
isInstance = isInstance && "data" in value;
|
|
2084
|
+
return isInstance;
|
|
2085
|
+
}
|
|
2086
|
+
function SigninCalendarResponseFromJSON(json) {
|
|
2087
|
+
return SigninCalendarResponseFromJSONTyped(json, false);
|
|
2088
|
+
}
|
|
2089
|
+
function SigninCalendarResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
2090
|
+
if (json === void 0 || json === null) {
|
|
2091
|
+
return json;
|
|
2092
|
+
}
|
|
2093
|
+
return {
|
|
2094
|
+
"success": json["success"],
|
|
2095
|
+
"data": SigninCalendarDataFromJSON(json["data"])
|
|
2096
|
+
};
|
|
2097
|
+
}
|
|
2098
|
+
function SigninCalendarResponseToJSON(value) {
|
|
2099
|
+
if (value === void 0) {
|
|
2100
|
+
return void 0;
|
|
2101
|
+
}
|
|
2102
|
+
if (value === null) {
|
|
2103
|
+
return null;
|
|
2104
|
+
}
|
|
2105
|
+
return {
|
|
2106
|
+
"success": value.success,
|
|
2107
|
+
"data": SigninCalendarDataToJSON(value.data)
|
|
2108
|
+
};
|
|
2109
|
+
}
|
|
2110
|
+
|
|
2111
|
+
// src/generated/models/GetSigninCalendar200Response.ts
|
|
2112
|
+
function instanceOfGetSigninCalendar200Response(value) {
|
|
2113
|
+
let isInstance = true;
|
|
2114
|
+
isInstance = isInstance && "success" in value;
|
|
2115
|
+
isInstance = isInstance && "code" in value;
|
|
2116
|
+
isInstance = isInstance && "message" in value;
|
|
2117
|
+
isInstance = isInstance && "data" in value;
|
|
2118
|
+
isInstance = isInstance && "timestamp" in value;
|
|
2119
|
+
isInstance = isInstance && "path" in value;
|
|
2120
|
+
return isInstance;
|
|
2121
|
+
}
|
|
2122
|
+
function GetSigninCalendar200ResponseFromJSON(json) {
|
|
2123
|
+
return GetSigninCalendar200ResponseFromJSONTyped(json, false);
|
|
2124
|
+
}
|
|
2125
|
+
function GetSigninCalendar200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
2126
|
+
if (json === void 0 || json === null) {
|
|
2127
|
+
return json;
|
|
2128
|
+
}
|
|
2129
|
+
return {
|
|
2130
|
+
"success": json["success"],
|
|
2131
|
+
"code": json["code"],
|
|
2132
|
+
"message": json["message"],
|
|
2133
|
+
"data": SigninCalendarResponseFromJSON(json["data"]),
|
|
2134
|
+
"timestamp": json["timestamp"],
|
|
2135
|
+
"path": json["path"],
|
|
2136
|
+
"requestId": !exists(json, "requestId") ? void 0 : json["requestId"],
|
|
2137
|
+
"traceId": !exists(json, "traceId") ? void 0 : json["traceId"]
|
|
2138
|
+
};
|
|
2139
|
+
}
|
|
2140
|
+
function GetSigninCalendar200ResponseToJSON(value) {
|
|
2141
|
+
if (value === void 0) {
|
|
2142
|
+
return void 0;
|
|
2143
|
+
}
|
|
2144
|
+
if (value === null) {
|
|
2145
|
+
return null;
|
|
2146
|
+
}
|
|
2147
|
+
return {
|
|
2148
|
+
"success": value.success,
|
|
2149
|
+
"code": value.code,
|
|
2150
|
+
"message": value.message,
|
|
2151
|
+
"data": SigninCalendarResponseToJSON(value.data),
|
|
2152
|
+
"timestamp": value.timestamp,
|
|
2153
|
+
"path": value.path,
|
|
2154
|
+
"requestId": value.requestId,
|
|
2155
|
+
"traceId": value.traceId
|
|
2156
|
+
};
|
|
2157
|
+
}
|
|
2158
|
+
|
|
2159
|
+
// src/generated/models/RewardInfo.ts
|
|
2160
|
+
function instanceOfRewardInfo(value) {
|
|
2161
|
+
let isInstance = true;
|
|
2162
|
+
isInstance = isInstance && "type" in value;
|
|
2163
|
+
isInstance = isInstance && "value" in value;
|
|
2164
|
+
isInstance = isInstance && "description" in value;
|
|
2165
|
+
return isInstance;
|
|
2166
|
+
}
|
|
2167
|
+
function RewardInfoFromJSON(json) {
|
|
2168
|
+
return RewardInfoFromJSONTyped(json, false);
|
|
2169
|
+
}
|
|
2170
|
+
function RewardInfoFromJSONTyped(json, ignoreDiscriminator) {
|
|
2171
|
+
if (json === void 0 || json === null) {
|
|
2172
|
+
return json;
|
|
2173
|
+
}
|
|
2174
|
+
return {
|
|
2175
|
+
"type": json["type"],
|
|
2176
|
+
"value": json["value"],
|
|
2177
|
+
"description": json["description"]
|
|
2178
|
+
};
|
|
2179
|
+
}
|
|
2180
|
+
function RewardInfoToJSON(value) {
|
|
2181
|
+
if (value === void 0) {
|
|
2182
|
+
return void 0;
|
|
2183
|
+
}
|
|
2184
|
+
if (value === null) {
|
|
2185
|
+
return null;
|
|
2186
|
+
}
|
|
2187
|
+
return {
|
|
2188
|
+
"type": value.type,
|
|
2189
|
+
"value": value.value,
|
|
2190
|
+
"description": value.description
|
|
2191
|
+
};
|
|
2192
|
+
}
|
|
2193
|
+
|
|
2194
|
+
// src/generated/models/MilestoneInfo.ts
|
|
2195
|
+
function instanceOfMilestoneInfo(value) {
|
|
2196
|
+
let isInstance = true;
|
|
2197
|
+
isInstance = isInstance && "days" in value;
|
|
2198
|
+
isInstance = isInstance && "reward" in value;
|
|
2199
|
+
return isInstance;
|
|
2200
|
+
}
|
|
2201
|
+
function MilestoneInfoFromJSON(json) {
|
|
2202
|
+
return MilestoneInfoFromJSONTyped(json, false);
|
|
2203
|
+
}
|
|
2204
|
+
function MilestoneInfoFromJSONTyped(json, ignoreDiscriminator) {
|
|
2205
|
+
if (json === void 0 || json === null) {
|
|
2206
|
+
return json;
|
|
2207
|
+
}
|
|
2208
|
+
return {
|
|
2209
|
+
"days": json["days"],
|
|
2210
|
+
"reward": RewardInfoFromJSON(json["reward"])
|
|
2211
|
+
};
|
|
2212
|
+
}
|
|
2213
|
+
function MilestoneInfoToJSON(value) {
|
|
2214
|
+
if (value === void 0) {
|
|
2215
|
+
return void 0;
|
|
2216
|
+
}
|
|
2217
|
+
if (value === null) {
|
|
2218
|
+
return null;
|
|
2219
|
+
}
|
|
2220
|
+
return {
|
|
2221
|
+
"days": value.days,
|
|
2222
|
+
"reward": RewardInfoToJSON(value.reward)
|
|
2223
|
+
};
|
|
2224
|
+
}
|
|
2225
|
+
|
|
2226
|
+
// src/generated/models/SigninStatusResponse.ts
|
|
2227
|
+
function instanceOfSigninStatusResponse(value) {
|
|
2228
|
+
let isInstance = true;
|
|
2229
|
+
isInstance = isInstance && "activityUid" in value;
|
|
2230
|
+
isInstance = isInstance && "hasSignedToday" in value;
|
|
2231
|
+
isInstance = isInstance && "consecutiveDays" in value;
|
|
2232
|
+
isInstance = isInstance && "totalDays" in value;
|
|
2233
|
+
isInstance = isInstance && "signedDates" in value;
|
|
2234
|
+
return isInstance;
|
|
2235
|
+
}
|
|
2236
|
+
function SigninStatusResponseFromJSON(json) {
|
|
2237
|
+
return SigninStatusResponseFromJSONTyped(json, false);
|
|
2238
|
+
}
|
|
2239
|
+
function SigninStatusResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
2240
|
+
if (json === void 0 || json === null) {
|
|
2241
|
+
return json;
|
|
2242
|
+
}
|
|
2243
|
+
return {
|
|
2244
|
+
"activityUid": json["activityUid"],
|
|
2245
|
+
"hasSignedToday": json["hasSignedToday"],
|
|
2246
|
+
"consecutiveDays": json["consecutiveDays"],
|
|
2247
|
+
"totalDays": json["totalDays"],
|
|
2248
|
+
"signedDates": json["signedDates"],
|
|
2249
|
+
"todayReward": !exists(json, "todayReward") ? void 0 : RewardInfoFromJSON(json["todayReward"]),
|
|
2250
|
+
"nextMilestone": !exists(json, "nextMilestone") ? void 0 : MilestoneInfoFromJSON(json["nextMilestone"])
|
|
2251
|
+
};
|
|
2252
|
+
}
|
|
2253
|
+
function SigninStatusResponseToJSON(value) {
|
|
2254
|
+
if (value === void 0) {
|
|
2255
|
+
return void 0;
|
|
2256
|
+
}
|
|
2257
|
+
if (value === null) {
|
|
2258
|
+
return null;
|
|
2259
|
+
}
|
|
2260
|
+
return {
|
|
2261
|
+
"activityUid": value.activityUid,
|
|
2262
|
+
"hasSignedToday": value.hasSignedToday,
|
|
2263
|
+
"consecutiveDays": value.consecutiveDays,
|
|
2264
|
+
"totalDays": value.totalDays,
|
|
2265
|
+
"signedDates": value.signedDates,
|
|
2266
|
+
"todayReward": RewardInfoToJSON(value.todayReward),
|
|
2267
|
+
"nextMilestone": MilestoneInfoToJSON(value.nextMilestone)
|
|
2268
|
+
};
|
|
2269
|
+
}
|
|
2270
|
+
|
|
2271
|
+
// src/generated/models/GetSigninStatus200Response.ts
|
|
2272
|
+
function instanceOfGetSigninStatus200Response(value) {
|
|
2273
|
+
let isInstance = true;
|
|
2274
|
+
isInstance = isInstance && "success" in value;
|
|
2275
|
+
isInstance = isInstance && "code" in value;
|
|
2276
|
+
isInstance = isInstance && "message" in value;
|
|
2277
|
+
isInstance = isInstance && "data" in value;
|
|
2278
|
+
isInstance = isInstance && "timestamp" in value;
|
|
2279
|
+
isInstance = isInstance && "path" in value;
|
|
2280
|
+
return isInstance;
|
|
2281
|
+
}
|
|
2282
|
+
function GetSigninStatus200ResponseFromJSON(json) {
|
|
2283
|
+
return GetSigninStatus200ResponseFromJSONTyped(json, false);
|
|
2284
|
+
}
|
|
2285
|
+
function GetSigninStatus200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
2286
|
+
if (json === void 0 || json === null) {
|
|
2287
|
+
return json;
|
|
2288
|
+
}
|
|
2289
|
+
return {
|
|
2290
|
+
"success": json["success"],
|
|
2291
|
+
"code": json["code"],
|
|
2292
|
+
"message": json["message"],
|
|
2293
|
+
"data": SigninStatusResponseFromJSON(json["data"]),
|
|
2294
|
+
"timestamp": json["timestamp"],
|
|
2295
|
+
"path": json["path"],
|
|
2296
|
+
"requestId": !exists(json, "requestId") ? void 0 : json["requestId"],
|
|
2297
|
+
"traceId": !exists(json, "traceId") ? void 0 : json["traceId"]
|
|
2298
|
+
};
|
|
2299
|
+
}
|
|
2300
|
+
function GetSigninStatus200ResponseToJSON(value) {
|
|
2301
|
+
if (value === void 0) {
|
|
2302
|
+
return void 0;
|
|
2303
|
+
}
|
|
2304
|
+
if (value === null) {
|
|
2305
|
+
return null;
|
|
2306
|
+
}
|
|
2307
|
+
return {
|
|
2308
|
+
"success": value.success,
|
|
2309
|
+
"code": value.code,
|
|
2310
|
+
"message": value.message,
|
|
2311
|
+
"data": SigninStatusResponseToJSON(value.data),
|
|
2312
|
+
"timestamp": value.timestamp,
|
|
2313
|
+
"path": value.path,
|
|
2314
|
+
"requestId": value.requestId,
|
|
2315
|
+
"traceId": value.traceId
|
|
2316
|
+
};
|
|
2317
|
+
}
|
|
2318
|
+
|
|
2319
|
+
// src/generated/models/TenantConfigData.ts
|
|
2320
|
+
function instanceOfTenantConfigData(value) {
|
|
2321
|
+
let isInstance = true;
|
|
2322
|
+
isInstance = isInstance && "appId" in value;
|
|
2323
|
+
isInstance = isInstance && "status" in value;
|
|
2324
|
+
return isInstance;
|
|
2325
|
+
}
|
|
2326
|
+
function TenantConfigDataFromJSON(json) {
|
|
2327
|
+
return TenantConfigDataFromJSONTyped(json, false);
|
|
2328
|
+
}
|
|
2329
|
+
function TenantConfigDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
2330
|
+
if (json === void 0 || json === null) {
|
|
2331
|
+
return json;
|
|
2332
|
+
}
|
|
2333
|
+
return {
|
|
2334
|
+
"appId": json["appId"],
|
|
2335
|
+
"status": json["status"],
|
|
2336
|
+
"featureFlags": !exists(json, "featureFlags") ? void 0 : json["featureFlags"],
|
|
2337
|
+
"theme": !exists(json, "theme") ? void 0 : json["theme"],
|
|
2338
|
+
"cdnBase": !exists(json, "cdnBase") ? void 0 : json["cdnBase"],
|
|
2339
|
+
"blockedComponents": !exists(json, "blockedComponents") ? void 0 : json["blockedComponents"],
|
|
2340
|
+
"killSwitch": !exists(json, "killSwitch") ? void 0 : json["killSwitch"]
|
|
2341
|
+
};
|
|
2342
|
+
}
|
|
2343
|
+
function TenantConfigDataToJSON(value) {
|
|
2344
|
+
if (value === void 0) {
|
|
2345
|
+
return void 0;
|
|
2346
|
+
}
|
|
2347
|
+
if (value === null) {
|
|
2348
|
+
return null;
|
|
2349
|
+
}
|
|
2350
|
+
return {
|
|
2351
|
+
"appId": value.appId,
|
|
2352
|
+
"status": value.status,
|
|
2353
|
+
"featureFlags": value.featureFlags,
|
|
2354
|
+
"theme": value.theme,
|
|
2355
|
+
"cdnBase": value.cdnBase,
|
|
2356
|
+
"blockedComponents": value.blockedComponents,
|
|
2357
|
+
"killSwitch": value.killSwitch
|
|
2358
|
+
};
|
|
2359
|
+
}
|
|
2360
|
+
|
|
2361
|
+
// src/generated/models/TenantConfigResponse.ts
|
|
2362
|
+
function instanceOfTenantConfigResponse(value) {
|
|
2363
|
+
let isInstance = true;
|
|
2364
|
+
isInstance = isInstance && "success" in value;
|
|
2365
|
+
isInstance = isInstance && "data" in value;
|
|
2366
|
+
return isInstance;
|
|
2367
|
+
}
|
|
2368
|
+
function TenantConfigResponseFromJSON(json) {
|
|
2369
|
+
return TenantConfigResponseFromJSONTyped(json, false);
|
|
2370
|
+
}
|
|
2371
|
+
function TenantConfigResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
2372
|
+
if (json === void 0 || json === null) {
|
|
2373
|
+
return json;
|
|
2374
|
+
}
|
|
2375
|
+
return {
|
|
2376
|
+
"success": json["success"],
|
|
2377
|
+
"data": TenantConfigDataFromJSON(json["data"])
|
|
2378
|
+
};
|
|
2379
|
+
}
|
|
2380
|
+
function TenantConfigResponseToJSON(value) {
|
|
2381
|
+
if (value === void 0) {
|
|
2382
|
+
return void 0;
|
|
2383
|
+
}
|
|
2384
|
+
if (value === null) {
|
|
2385
|
+
return null;
|
|
2386
|
+
}
|
|
2387
|
+
return {
|
|
2388
|
+
"success": value.success,
|
|
2389
|
+
"data": TenantConfigDataToJSON(value.data)
|
|
2390
|
+
};
|
|
2391
|
+
}
|
|
2392
|
+
|
|
2393
|
+
// src/generated/models/GetTenantConfig200Response.ts
|
|
2394
|
+
function instanceOfGetTenantConfig200Response(value) {
|
|
2395
|
+
let isInstance = true;
|
|
2396
|
+
isInstance = isInstance && "success" in value;
|
|
2397
|
+
isInstance = isInstance && "code" in value;
|
|
2398
|
+
isInstance = isInstance && "message" in value;
|
|
2399
|
+
isInstance = isInstance && "data" in value;
|
|
2400
|
+
isInstance = isInstance && "timestamp" in value;
|
|
2401
|
+
isInstance = isInstance && "path" in value;
|
|
2402
|
+
return isInstance;
|
|
2403
|
+
}
|
|
2404
|
+
function GetTenantConfig200ResponseFromJSON(json) {
|
|
2405
|
+
return GetTenantConfig200ResponseFromJSONTyped(json, false);
|
|
2406
|
+
}
|
|
2407
|
+
function GetTenantConfig200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
2408
|
+
if (json === void 0 || json === null) {
|
|
2409
|
+
return json;
|
|
2410
|
+
}
|
|
2411
|
+
return {
|
|
2412
|
+
"success": json["success"],
|
|
2413
|
+
"code": json["code"],
|
|
2414
|
+
"message": json["message"],
|
|
2415
|
+
"data": TenantConfigResponseFromJSON(json["data"]),
|
|
2416
|
+
"timestamp": json["timestamp"],
|
|
2417
|
+
"path": json["path"],
|
|
2418
|
+
"requestId": !exists(json, "requestId") ? void 0 : json["requestId"],
|
|
2419
|
+
"traceId": !exists(json, "traceId") ? void 0 : json["traceId"]
|
|
2420
|
+
};
|
|
2421
|
+
}
|
|
2422
|
+
function GetTenantConfig200ResponseToJSON(value) {
|
|
2423
|
+
if (value === void 0) {
|
|
2424
|
+
return void 0;
|
|
2425
|
+
}
|
|
2426
|
+
if (value === null) {
|
|
2427
|
+
return null;
|
|
2428
|
+
}
|
|
2429
|
+
return {
|
|
2430
|
+
"success": value.success,
|
|
2431
|
+
"code": value.code,
|
|
2432
|
+
"message": value.message,
|
|
2433
|
+
"data": TenantConfigResponseToJSON(value.data),
|
|
2434
|
+
"timestamp": value.timestamp,
|
|
2435
|
+
"path": value.path,
|
|
2436
|
+
"requestId": value.requestId,
|
|
2437
|
+
"traceId": value.traceId
|
|
2438
|
+
};
|
|
2439
|
+
}
|
|
2440
|
+
|
|
2441
|
+
// src/generated/models/HealthCheckResponse.ts
|
|
2442
|
+
function instanceOfHealthCheckResponse(value) {
|
|
2443
|
+
let isInstance = true;
|
|
2444
|
+
isInstance = isInstance && "status" in value;
|
|
2445
|
+
isInstance = isInstance && "timestamp" in value;
|
|
2446
|
+
return isInstance;
|
|
2447
|
+
}
|
|
2448
|
+
function HealthCheckResponseFromJSON(json) {
|
|
2449
|
+
return HealthCheckResponseFromJSONTyped(json, false);
|
|
2450
|
+
}
|
|
2451
|
+
function HealthCheckResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
2452
|
+
if (json === void 0 || json === null) {
|
|
2453
|
+
return json;
|
|
2454
|
+
}
|
|
2455
|
+
return {
|
|
2456
|
+
"status": json["status"],
|
|
2457
|
+
"timestamp": json["timestamp"]
|
|
2458
|
+
};
|
|
2459
|
+
}
|
|
2460
|
+
function HealthCheckResponseToJSON(value) {
|
|
2461
|
+
if (value === void 0) {
|
|
2462
|
+
return void 0;
|
|
2463
|
+
}
|
|
2464
|
+
if (value === null) {
|
|
2465
|
+
return null;
|
|
2466
|
+
}
|
|
2467
|
+
return {
|
|
2468
|
+
"status": value.status,
|
|
2469
|
+
"timestamp": value.timestamp
|
|
2470
|
+
};
|
|
2471
|
+
}
|
|
2472
|
+
|
|
2473
|
+
// src/generated/models/HealthCheck200Response.ts
|
|
2474
|
+
function instanceOfHealthCheck200Response(value) {
|
|
2475
|
+
let isInstance = true;
|
|
2476
|
+
isInstance = isInstance && "success" in value;
|
|
2477
|
+
isInstance = isInstance && "code" in value;
|
|
2478
|
+
isInstance = isInstance && "message" in value;
|
|
2479
|
+
isInstance = isInstance && "data" in value;
|
|
2480
|
+
isInstance = isInstance && "timestamp" in value;
|
|
2481
|
+
isInstance = isInstance && "path" in value;
|
|
2482
|
+
return isInstance;
|
|
2483
|
+
}
|
|
2484
|
+
function HealthCheck200ResponseFromJSON(json) {
|
|
2485
|
+
return HealthCheck200ResponseFromJSONTyped(json, false);
|
|
2486
|
+
}
|
|
2487
|
+
function HealthCheck200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
2488
|
+
if (json === void 0 || json === null) {
|
|
2489
|
+
return json;
|
|
2490
|
+
}
|
|
2491
|
+
return {
|
|
2492
|
+
"success": json["success"],
|
|
2493
|
+
"code": json["code"],
|
|
2494
|
+
"message": json["message"],
|
|
2495
|
+
"data": HealthCheckResponseFromJSON(json["data"]),
|
|
2496
|
+
"timestamp": json["timestamp"],
|
|
2497
|
+
"path": json["path"],
|
|
2498
|
+
"requestId": !exists(json, "requestId") ? void 0 : json["requestId"],
|
|
2499
|
+
"traceId": !exists(json, "traceId") ? void 0 : json["traceId"]
|
|
2500
|
+
};
|
|
2501
|
+
}
|
|
2502
|
+
function HealthCheck200ResponseToJSON(value) {
|
|
2503
|
+
if (value === void 0) {
|
|
2504
|
+
return void 0;
|
|
2505
|
+
}
|
|
2506
|
+
if (value === null) {
|
|
2507
|
+
return null;
|
|
2508
|
+
}
|
|
2509
|
+
return {
|
|
2510
|
+
"success": value.success,
|
|
2511
|
+
"code": value.code,
|
|
2512
|
+
"message": value.message,
|
|
2513
|
+
"data": HealthCheckResponseToJSON(value.data),
|
|
2514
|
+
"timestamp": value.timestamp,
|
|
2515
|
+
"path": value.path,
|
|
2516
|
+
"requestId": value.requestId,
|
|
2517
|
+
"traceId": value.traceId
|
|
2518
|
+
};
|
|
2519
|
+
}
|
|
2520
|
+
|
|
2521
|
+
// src/generated/models/HealthCheckItem.ts
|
|
2522
|
+
function instanceOfHealthCheckItem(value) {
|
|
2523
|
+
let isInstance = true;
|
|
2524
|
+
return isInstance;
|
|
2525
|
+
}
|
|
2526
|
+
function HealthCheckItemFromJSON(json) {
|
|
2527
|
+
return HealthCheckItemFromJSONTyped(json, false);
|
|
2528
|
+
}
|
|
2529
|
+
function HealthCheckItemFromJSONTyped(json, ignoreDiscriminator) {
|
|
2530
|
+
if (json === void 0 || json === null) {
|
|
2531
|
+
return json;
|
|
2532
|
+
}
|
|
2533
|
+
return {
|
|
2534
|
+
"status": !exists(json, "status") ? void 0 : json["status"],
|
|
2535
|
+
"message": !exists(json, "message") ? void 0 : json["message"]
|
|
2536
|
+
};
|
|
2537
|
+
}
|
|
2538
|
+
function HealthCheckItemToJSON(value) {
|
|
2539
|
+
if (value === void 0) {
|
|
2540
|
+
return void 0;
|
|
2541
|
+
}
|
|
2542
|
+
if (value === null) {
|
|
2543
|
+
return null;
|
|
2544
|
+
}
|
|
2545
|
+
return {
|
|
2546
|
+
"status": value.status,
|
|
2547
|
+
"message": value.message
|
|
2548
|
+
};
|
|
2549
|
+
}
|
|
2550
|
+
|
|
2551
|
+
// src/generated/models/LivenessResponse.ts
|
|
2552
|
+
function instanceOfLivenessResponse(value) {
|
|
2553
|
+
let isInstance = true;
|
|
2554
|
+
isInstance = isInstance && "status" in value;
|
|
2555
|
+
return isInstance;
|
|
2556
|
+
}
|
|
2557
|
+
function LivenessResponseFromJSON(json) {
|
|
2558
|
+
return LivenessResponseFromJSONTyped(json, false);
|
|
2559
|
+
}
|
|
2560
|
+
function LivenessResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
2561
|
+
if (json === void 0 || json === null) {
|
|
2562
|
+
return json;
|
|
2563
|
+
}
|
|
2564
|
+
return {
|
|
2565
|
+
"status": json["status"]
|
|
2566
|
+
};
|
|
2567
|
+
}
|
|
2568
|
+
function LivenessResponseToJSON(value) {
|
|
2569
|
+
if (value === void 0) {
|
|
2570
|
+
return void 0;
|
|
2571
|
+
}
|
|
2572
|
+
if (value === null) {
|
|
2573
|
+
return null;
|
|
2574
|
+
}
|
|
2575
|
+
return {
|
|
2576
|
+
"status": value.status
|
|
2577
|
+
};
|
|
2578
|
+
}
|
|
2579
|
+
|
|
2580
|
+
// src/generated/models/LivenessCheck200Response.ts
|
|
2581
|
+
function instanceOfLivenessCheck200Response(value) {
|
|
2582
|
+
let isInstance = true;
|
|
2583
|
+
isInstance = isInstance && "success" in value;
|
|
2584
|
+
isInstance = isInstance && "code" in value;
|
|
2585
|
+
isInstance = isInstance && "message" in value;
|
|
2586
|
+
isInstance = isInstance && "data" in value;
|
|
2587
|
+
isInstance = isInstance && "timestamp" in value;
|
|
2588
|
+
isInstance = isInstance && "path" in value;
|
|
2589
|
+
return isInstance;
|
|
2590
|
+
}
|
|
2591
|
+
function LivenessCheck200ResponseFromJSON(json) {
|
|
2592
|
+
return LivenessCheck200ResponseFromJSONTyped(json, false);
|
|
2593
|
+
}
|
|
2594
|
+
function LivenessCheck200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
1564
2595
|
if (json === void 0 || json === null) {
|
|
1565
2596
|
return json;
|
|
1566
2597
|
}
|
|
1567
2598
|
return {
|
|
1568
2599
|
"success": json["success"],
|
|
1569
|
-
"
|
|
1570
|
-
"
|
|
2600
|
+
"code": json["code"],
|
|
2601
|
+
"message": json["message"],
|
|
2602
|
+
"data": LivenessResponseFromJSON(json["data"]),
|
|
2603
|
+
"timestamp": json["timestamp"],
|
|
2604
|
+
"path": json["path"],
|
|
2605
|
+
"requestId": !exists(json, "requestId") ? void 0 : json["requestId"],
|
|
2606
|
+
"traceId": !exists(json, "traceId") ? void 0 : json["traceId"]
|
|
1571
2607
|
};
|
|
1572
2608
|
}
|
|
1573
|
-
function
|
|
2609
|
+
function LivenessCheck200ResponseToJSON(value) {
|
|
1574
2610
|
if (value === void 0) {
|
|
1575
2611
|
return void 0;
|
|
1576
2612
|
}
|
|
@@ -1579,8 +2615,13 @@ function PaginatedRecordsResponseToJSON(value) {
|
|
|
1579
2615
|
}
|
|
1580
2616
|
return {
|
|
1581
2617
|
"success": value.success,
|
|
1582
|
-
"
|
|
1583
|
-
"
|
|
2618
|
+
"code": value.code,
|
|
2619
|
+
"message": value.message,
|
|
2620
|
+
"data": LivenessResponseToJSON(value.data),
|
|
2621
|
+
"timestamp": value.timestamp,
|
|
2622
|
+
"path": value.path,
|
|
2623
|
+
"requestId": value.requestId,
|
|
2624
|
+
"traceId": value.traceId
|
|
1584
2625
|
};
|
|
1585
2626
|
}
|
|
1586
2627
|
|
|
@@ -1660,6 +2701,54 @@ function QueryContextToJSON(value) {
|
|
|
1660
2701
|
};
|
|
1661
2702
|
}
|
|
1662
2703
|
|
|
2704
|
+
// src/generated/models/QueryData200Response.ts
|
|
2705
|
+
function instanceOfQueryData200Response(value) {
|
|
2706
|
+
let isInstance = true;
|
|
2707
|
+
isInstance = isInstance && "success" in value;
|
|
2708
|
+
isInstance = isInstance && "code" in value;
|
|
2709
|
+
isInstance = isInstance && "message" in value;
|
|
2710
|
+
isInstance = isInstance && "data" in value;
|
|
2711
|
+
isInstance = isInstance && "timestamp" in value;
|
|
2712
|
+
isInstance = isInstance && "path" in value;
|
|
2713
|
+
return isInstance;
|
|
2714
|
+
}
|
|
2715
|
+
function QueryData200ResponseFromJSON(json) {
|
|
2716
|
+
return QueryData200ResponseFromJSONTyped(json, false);
|
|
2717
|
+
}
|
|
2718
|
+
function QueryData200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
2719
|
+
if (json === void 0 || json === null) {
|
|
2720
|
+
return json;
|
|
2721
|
+
}
|
|
2722
|
+
return {
|
|
2723
|
+
"success": json["success"],
|
|
2724
|
+
"code": json["code"],
|
|
2725
|
+
"message": json["message"],
|
|
2726
|
+
"data": QueryDataResponseFromJSON(json["data"]),
|
|
2727
|
+
"timestamp": json["timestamp"],
|
|
2728
|
+
"path": json["path"],
|
|
2729
|
+
"requestId": !exists(json, "requestId") ? void 0 : json["requestId"],
|
|
2730
|
+
"traceId": !exists(json, "traceId") ? void 0 : json["traceId"]
|
|
2731
|
+
};
|
|
2732
|
+
}
|
|
2733
|
+
function QueryData200ResponseToJSON(value) {
|
|
2734
|
+
if (value === void 0) {
|
|
2735
|
+
return void 0;
|
|
2736
|
+
}
|
|
2737
|
+
if (value === null) {
|
|
2738
|
+
return null;
|
|
2739
|
+
}
|
|
2740
|
+
return {
|
|
2741
|
+
"success": value.success,
|
|
2742
|
+
"code": value.code,
|
|
2743
|
+
"message": value.message,
|
|
2744
|
+
"data": QueryDataResponseToJSON(value.data),
|
|
2745
|
+
"timestamp": value.timestamp,
|
|
2746
|
+
"path": value.path,
|
|
2747
|
+
"requestId": value.requestId,
|
|
2748
|
+
"traceId": value.traceId
|
|
2749
|
+
};
|
|
2750
|
+
}
|
|
2751
|
+
|
|
1663
2752
|
// src/generated/models/QueryDataRequest.ts
|
|
1664
2753
|
function instanceOfQueryDataRequest(value) {
|
|
1665
2754
|
let isInstance = true;
|
|
@@ -1693,39 +2782,26 @@ function QueryDataRequestToJSON(value) {
|
|
|
1693
2782
|
};
|
|
1694
2783
|
}
|
|
1695
2784
|
|
|
1696
|
-
// src/generated/models/
|
|
1697
|
-
|
|
1698
|
-
DRAFT: "draft",
|
|
1699
|
-
STABLE: "stable",
|
|
1700
|
-
DEPRECATED: "deprecated",
|
|
1701
|
-
BLOCKED: "blocked"
|
|
1702
|
-
};
|
|
1703
|
-
function instanceOfQueryDefinitionResponse(value) {
|
|
2785
|
+
// src/generated/models/ReadinessResponse.ts
|
|
2786
|
+
function instanceOfReadinessResponse(value) {
|
|
1704
2787
|
let isInstance = true;
|
|
1705
|
-
isInstance = isInstance && "uid" in value;
|
|
1706
|
-
isInstance = isInstance && "queryUid" in value;
|
|
1707
|
-
isInstance = isInstance && "versionNumber" in value;
|
|
1708
|
-
isInstance = isInstance && "spec" in value;
|
|
1709
2788
|
isInstance = isInstance && "status" in value;
|
|
2789
|
+
isInstance = isInstance && "checks" in value;
|
|
1710
2790
|
return isInstance;
|
|
1711
2791
|
}
|
|
1712
|
-
function
|
|
1713
|
-
return
|
|
2792
|
+
function ReadinessResponseFromJSON(json) {
|
|
2793
|
+
return ReadinessResponseFromJSONTyped(json, false);
|
|
1714
2794
|
}
|
|
1715
|
-
function
|
|
2795
|
+
function ReadinessResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
1716
2796
|
if (json === void 0 || json === null) {
|
|
1717
2797
|
return json;
|
|
1718
2798
|
}
|
|
1719
2799
|
return {
|
|
1720
|
-
"
|
|
1721
|
-
"
|
|
1722
|
-
"versionNumber": json["versionNumber"],
|
|
1723
|
-
"versionLabel": !exists(json, "versionLabel") ? void 0 : json["versionLabel"],
|
|
1724
|
-
"spec": json["spec"],
|
|
1725
|
-
"status": json["status"]
|
|
2800
|
+
"status": json["status"],
|
|
2801
|
+
"checks": mapValues(json["checks"], HealthCheckItemFromJSON)
|
|
1726
2802
|
};
|
|
1727
2803
|
}
|
|
1728
|
-
function
|
|
2804
|
+
function ReadinessResponseToJSON(value) {
|
|
1729
2805
|
if (value === void 0) {
|
|
1730
2806
|
return void 0;
|
|
1731
2807
|
}
|
|
@@ -1733,35 +2809,41 @@ function QueryDefinitionResponseToJSON(value) {
|
|
|
1733
2809
|
return null;
|
|
1734
2810
|
}
|
|
1735
2811
|
return {
|
|
1736
|
-
"
|
|
1737
|
-
"
|
|
1738
|
-
"versionNumber": value.versionNumber,
|
|
1739
|
-
"versionLabel": value.versionLabel,
|
|
1740
|
-
"spec": value.spec,
|
|
1741
|
-
"status": value.status
|
|
2812
|
+
"status": value.status,
|
|
2813
|
+
"checks": mapValues(value.checks, HealthCheckItemToJSON)
|
|
1742
2814
|
};
|
|
1743
2815
|
}
|
|
1744
2816
|
|
|
1745
|
-
// src/generated/models/
|
|
1746
|
-
function
|
|
2817
|
+
// src/generated/models/ReadinessCheck200Response.ts
|
|
2818
|
+
function instanceOfReadinessCheck200Response(value) {
|
|
1747
2819
|
let isInstance = true;
|
|
1748
|
-
isInstance = isInstance && "
|
|
1749
|
-
isInstance = isInstance && "
|
|
2820
|
+
isInstance = isInstance && "success" in value;
|
|
2821
|
+
isInstance = isInstance && "code" in value;
|
|
2822
|
+
isInstance = isInstance && "message" in value;
|
|
2823
|
+
isInstance = isInstance && "data" in value;
|
|
2824
|
+
isInstance = isInstance && "timestamp" in value;
|
|
2825
|
+
isInstance = isInstance && "path" in value;
|
|
1750
2826
|
return isInstance;
|
|
1751
2827
|
}
|
|
1752
|
-
function
|
|
1753
|
-
return
|
|
2828
|
+
function ReadinessCheck200ResponseFromJSON(json) {
|
|
2829
|
+
return ReadinessCheck200ResponseFromJSONTyped(json, false);
|
|
1754
2830
|
}
|
|
1755
|
-
function
|
|
2831
|
+
function ReadinessCheck200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
1756
2832
|
if (json === void 0 || json === null) {
|
|
1757
2833
|
return json;
|
|
1758
2834
|
}
|
|
1759
2835
|
return {
|
|
1760
|
-
"
|
|
1761
|
-
"
|
|
2836
|
+
"success": json["success"],
|
|
2837
|
+
"code": json["code"],
|
|
2838
|
+
"message": json["message"],
|
|
2839
|
+
"data": ReadinessResponseFromJSON(json["data"]),
|
|
2840
|
+
"timestamp": json["timestamp"],
|
|
2841
|
+
"path": json["path"],
|
|
2842
|
+
"requestId": !exists(json, "requestId") ? void 0 : json["requestId"],
|
|
2843
|
+
"traceId": !exists(json, "traceId") ? void 0 : json["traceId"]
|
|
1762
2844
|
};
|
|
1763
2845
|
}
|
|
1764
|
-
function
|
|
2846
|
+
function ReadinessCheck200ResponseToJSON(value) {
|
|
1765
2847
|
if (value === void 0) {
|
|
1766
2848
|
return void 0;
|
|
1767
2849
|
}
|
|
@@ -1769,8 +2851,14 @@ function ReadinessResponseToJSON(value) {
|
|
|
1769
2851
|
return null;
|
|
1770
2852
|
}
|
|
1771
2853
|
return {
|
|
1772
|
-
"
|
|
1773
|
-
"
|
|
2854
|
+
"success": value.success,
|
|
2855
|
+
"code": value.code,
|
|
2856
|
+
"message": value.message,
|
|
2857
|
+
"data": ReadinessResponseToJSON(value.data),
|
|
2858
|
+
"timestamp": value.timestamp,
|
|
2859
|
+
"path": value.path,
|
|
2860
|
+
"requestId": value.requestId,
|
|
2861
|
+
"traceId": value.traceId
|
|
1774
2862
|
};
|
|
1775
2863
|
}
|
|
1776
2864
|
|
|
@@ -1828,142 +2916,36 @@ function ResolvePageResponseToJSON(value) {
|
|
|
1828
2916
|
};
|
|
1829
2917
|
}
|
|
1830
2918
|
|
|
1831
|
-
// src/generated/models/
|
|
1832
|
-
function
|
|
1833
|
-
let isInstance = true;
|
|
1834
|
-
isInstance = isInstance && "appId" in value;
|
|
1835
|
-
isInstance = isInstance && "name" in value;
|
|
1836
|
-
isInstance = isInstance && "status" in value;
|
|
1837
|
-
isInstance = isInstance && "type" in value;
|
|
1838
|
-
return isInstance;
|
|
1839
|
-
}
|
|
1840
|
-
function ResolveTenantDataFromJSON(json) {
|
|
1841
|
-
return ResolveTenantDataFromJSONTyped(json, false);
|
|
1842
|
-
}
|
|
1843
|
-
function ResolveTenantDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
1844
|
-
if (json === void 0 || json === null) {
|
|
1845
|
-
return json;
|
|
1846
|
-
}
|
|
1847
|
-
return {
|
|
1848
|
-
"appId": json["appId"],
|
|
1849
|
-
"name": json["name"],
|
|
1850
|
-
"status": json["status"],
|
|
1851
|
-
"type": json["type"],
|
|
1852
|
-
"logo": !exists(json, "logo") ? void 0 : json["logo"],
|
|
1853
|
-
"config": !exists(json, "config") ? void 0 : json["config"],
|
|
1854
|
-
"channel": !exists(json, "channel") ? void 0 : json["channel"],
|
|
1855
|
-
"domain": !exists(json, "domain") ? void 0 : json["domain"]
|
|
1856
|
-
};
|
|
1857
|
-
}
|
|
1858
|
-
function ResolveTenantDataToJSON(value) {
|
|
1859
|
-
if (value === void 0) {
|
|
1860
|
-
return void 0;
|
|
1861
|
-
}
|
|
1862
|
-
if (value === null) {
|
|
1863
|
-
return null;
|
|
1864
|
-
}
|
|
1865
|
-
return {
|
|
1866
|
-
"appId": value.appId,
|
|
1867
|
-
"name": value.name,
|
|
1868
|
-
"status": value.status,
|
|
1869
|
-
"type": value.type,
|
|
1870
|
-
"logo": value.logo,
|
|
1871
|
-
"config": value.config,
|
|
1872
|
-
"channel": value.channel,
|
|
1873
|
-
"domain": value.domain
|
|
1874
|
-
};
|
|
1875
|
-
}
|
|
1876
|
-
|
|
1877
|
-
// src/generated/models/ResolveTenantRequest.ts
|
|
1878
|
-
function instanceOfResolveTenantRequest(value) {
|
|
1879
|
-
let isInstance = true;
|
|
1880
|
-
return isInstance;
|
|
1881
|
-
}
|
|
1882
|
-
function ResolveTenantRequestFromJSON(json) {
|
|
1883
|
-
return ResolveTenantRequestFromJSONTyped(json, false);
|
|
1884
|
-
}
|
|
1885
|
-
function ResolveTenantRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
1886
|
-
if (json === void 0 || json === null) {
|
|
1887
|
-
return json;
|
|
1888
|
-
}
|
|
1889
|
-
return {
|
|
1890
|
-
"appKey": !exists(json, "appKey") ? void 0 : json["appKey"],
|
|
1891
|
-
"host": !exists(json, "host") ? void 0 : json["host"],
|
|
1892
|
-
"channel": !exists(json, "channel") ? void 0 : json["channel"]
|
|
1893
|
-
};
|
|
1894
|
-
}
|
|
1895
|
-
function ResolveTenantRequestToJSON(value) {
|
|
1896
|
-
if (value === void 0) {
|
|
1897
|
-
return void 0;
|
|
1898
|
-
}
|
|
1899
|
-
if (value === null) {
|
|
1900
|
-
return null;
|
|
1901
|
-
}
|
|
1902
|
-
return {
|
|
1903
|
-
"appKey": value.appKey,
|
|
1904
|
-
"host": value.host,
|
|
1905
|
-
"channel": value.channel
|
|
1906
|
-
};
|
|
1907
|
-
}
|
|
1908
|
-
|
|
1909
|
-
// src/generated/models/ResolveTenantResponse.ts
|
|
1910
|
-
function instanceOfResolveTenantResponse(value) {
|
|
2919
|
+
// src/generated/models/ResolvePage200Response.ts
|
|
2920
|
+
function instanceOfResolvePage200Response(value) {
|
|
1911
2921
|
let isInstance = true;
|
|
1912
2922
|
isInstance = isInstance && "success" in value;
|
|
2923
|
+
isInstance = isInstance && "code" in value;
|
|
2924
|
+
isInstance = isInstance && "message" in value;
|
|
1913
2925
|
isInstance = isInstance && "data" in value;
|
|
2926
|
+
isInstance = isInstance && "timestamp" in value;
|
|
2927
|
+
isInstance = isInstance && "path" in value;
|
|
1914
2928
|
return isInstance;
|
|
1915
2929
|
}
|
|
1916
|
-
function
|
|
1917
|
-
return
|
|
1918
|
-
}
|
|
1919
|
-
function ResolveTenantResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
1920
|
-
if (json === void 0 || json === null) {
|
|
1921
|
-
return json;
|
|
1922
|
-
}
|
|
1923
|
-
return {
|
|
1924
|
-
"success": json["success"],
|
|
1925
|
-
"data": ResolveTenantDataFromJSON(json["data"])
|
|
1926
|
-
};
|
|
1927
|
-
}
|
|
1928
|
-
function ResolveTenantResponseToJSON(value) {
|
|
1929
|
-
if (value === void 0) {
|
|
1930
|
-
return void 0;
|
|
1931
|
-
}
|
|
1932
|
-
if (value === null) {
|
|
1933
|
-
return null;
|
|
1934
|
-
}
|
|
1935
|
-
return {
|
|
1936
|
-
"success": value.success,
|
|
1937
|
-
"data": ResolveTenantDataToJSON(value.data)
|
|
1938
|
-
};
|
|
1939
|
-
}
|
|
1940
|
-
|
|
1941
|
-
// src/generated/models/SigninCalendarData.ts
|
|
1942
|
-
function instanceOfSigninCalendarData(value) {
|
|
1943
|
-
let isInstance = true;
|
|
1944
|
-
isInstance = isInstance && "activityId" in value;
|
|
1945
|
-
isInstance = isInstance && "month" in value;
|
|
1946
|
-
isInstance = isInstance && "signedDates" in value;
|
|
1947
|
-
isInstance = isInstance && "consecutiveDays" in value;
|
|
1948
|
-
isInstance = isInstance && "totalDays" in value;
|
|
1949
|
-
return isInstance;
|
|
1950
|
-
}
|
|
1951
|
-
function SigninCalendarDataFromJSON(json) {
|
|
1952
|
-
return SigninCalendarDataFromJSONTyped(json, false);
|
|
2930
|
+
function ResolvePage200ResponseFromJSON(json) {
|
|
2931
|
+
return ResolvePage200ResponseFromJSONTyped(json, false);
|
|
1953
2932
|
}
|
|
1954
|
-
function
|
|
2933
|
+
function ResolvePage200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
1955
2934
|
if (json === void 0 || json === null) {
|
|
1956
2935
|
return json;
|
|
1957
2936
|
}
|
|
1958
|
-
return {
|
|
1959
|
-
"
|
|
1960
|
-
"
|
|
1961
|
-
"
|
|
1962
|
-
"
|
|
1963
|
-
"
|
|
2937
|
+
return {
|
|
2938
|
+
"success": json["success"],
|
|
2939
|
+
"code": json["code"],
|
|
2940
|
+
"message": json["message"],
|
|
2941
|
+
"data": ResolvePageResponseFromJSON(json["data"]),
|
|
2942
|
+
"timestamp": json["timestamp"],
|
|
2943
|
+
"path": json["path"],
|
|
2944
|
+
"requestId": !exists(json, "requestId") ? void 0 : json["requestId"],
|
|
2945
|
+
"traceId": !exists(json, "traceId") ? void 0 : json["traceId"]
|
|
1964
2946
|
};
|
|
1965
2947
|
}
|
|
1966
|
-
function
|
|
2948
|
+
function ResolvePage200ResponseToJSON(value) {
|
|
1967
2949
|
if (value === void 0) {
|
|
1968
2950
|
return void 0;
|
|
1969
2951
|
}
|
|
@@ -1971,34 +2953,45 @@ function SigninCalendarDataToJSON(value) {
|
|
|
1971
2953
|
return null;
|
|
1972
2954
|
}
|
|
1973
2955
|
return {
|
|
1974
|
-
"
|
|
1975
|
-
"
|
|
1976
|
-
"
|
|
1977
|
-
"
|
|
1978
|
-
"
|
|
2956
|
+
"success": value.success,
|
|
2957
|
+
"code": value.code,
|
|
2958
|
+
"message": value.message,
|
|
2959
|
+
"data": ResolvePageResponseToJSON(value.data),
|
|
2960
|
+
"timestamp": value.timestamp,
|
|
2961
|
+
"path": value.path,
|
|
2962
|
+
"requestId": value.requestId,
|
|
2963
|
+
"traceId": value.traceId
|
|
1979
2964
|
};
|
|
1980
2965
|
}
|
|
1981
2966
|
|
|
1982
|
-
// src/generated/models/
|
|
1983
|
-
function
|
|
2967
|
+
// src/generated/models/ResolveTenantData.ts
|
|
2968
|
+
function instanceOfResolveTenantData(value) {
|
|
1984
2969
|
let isInstance = true;
|
|
1985
|
-
isInstance = isInstance && "
|
|
1986
|
-
isInstance = isInstance && "
|
|
2970
|
+
isInstance = isInstance && "appId" in value;
|
|
2971
|
+
isInstance = isInstance && "name" in value;
|
|
2972
|
+
isInstance = isInstance && "status" in value;
|
|
2973
|
+
isInstance = isInstance && "type" in value;
|
|
1987
2974
|
return isInstance;
|
|
1988
2975
|
}
|
|
1989
|
-
function
|
|
1990
|
-
return
|
|
2976
|
+
function ResolveTenantDataFromJSON(json) {
|
|
2977
|
+
return ResolveTenantDataFromJSONTyped(json, false);
|
|
1991
2978
|
}
|
|
1992
|
-
function
|
|
2979
|
+
function ResolveTenantDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
1993
2980
|
if (json === void 0 || json === null) {
|
|
1994
2981
|
return json;
|
|
1995
2982
|
}
|
|
1996
2983
|
return {
|
|
1997
|
-
"
|
|
1998
|
-
"
|
|
2984
|
+
"appId": json["appId"],
|
|
2985
|
+
"name": json["name"],
|
|
2986
|
+
"status": json["status"],
|
|
2987
|
+
"type": json["type"],
|
|
2988
|
+
"logo": !exists(json, "logo") ? void 0 : json["logo"],
|
|
2989
|
+
"config": !exists(json, "config") ? void 0 : json["config"],
|
|
2990
|
+
"channel": !exists(json, "channel") ? void 0 : json["channel"],
|
|
2991
|
+
"domain": !exists(json, "domain") ? void 0 : json["domain"]
|
|
1999
2992
|
};
|
|
2000
2993
|
}
|
|
2001
|
-
function
|
|
2994
|
+
function ResolveTenantDataToJSON(value) {
|
|
2002
2995
|
if (value === void 0) {
|
|
2003
2996
|
return void 0;
|
|
2004
2997
|
}
|
|
@@ -2006,39 +2999,37 @@ function SigninCalendarResponseToJSON(value) {
|
|
|
2006
2999
|
return null;
|
|
2007
3000
|
}
|
|
2008
3001
|
return {
|
|
2009
|
-
"
|
|
2010
|
-
"
|
|
3002
|
+
"appId": value.appId,
|
|
3003
|
+
"name": value.name,
|
|
3004
|
+
"status": value.status,
|
|
3005
|
+
"type": value.type,
|
|
3006
|
+
"logo": value.logo,
|
|
3007
|
+
"config": value.config,
|
|
3008
|
+
"channel": value.channel,
|
|
3009
|
+
"domain": value.domain
|
|
2011
3010
|
};
|
|
2012
3011
|
}
|
|
2013
3012
|
|
|
2014
|
-
// src/generated/models/
|
|
2015
|
-
function
|
|
3013
|
+
// src/generated/models/ResolveTenantResponse.ts
|
|
3014
|
+
function instanceOfResolveTenantResponse(value) {
|
|
2016
3015
|
let isInstance = true;
|
|
2017
|
-
isInstance = isInstance && "
|
|
2018
|
-
isInstance = isInstance && "
|
|
2019
|
-
isInstance = isInstance && "consecutiveDays" in value;
|
|
2020
|
-
isInstance = isInstance && "totalDays" in value;
|
|
2021
|
-
isInstance = isInstance && "signedDates" in value;
|
|
3016
|
+
isInstance = isInstance && "success" in value;
|
|
3017
|
+
isInstance = isInstance && "data" in value;
|
|
2022
3018
|
return isInstance;
|
|
2023
3019
|
}
|
|
2024
|
-
function
|
|
2025
|
-
return
|
|
3020
|
+
function ResolveTenantResponseFromJSON(json) {
|
|
3021
|
+
return ResolveTenantResponseFromJSONTyped(json, false);
|
|
2026
3022
|
}
|
|
2027
|
-
function
|
|
3023
|
+
function ResolveTenantResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
2028
3024
|
if (json === void 0 || json === null) {
|
|
2029
3025
|
return json;
|
|
2030
3026
|
}
|
|
2031
3027
|
return {
|
|
2032
|
-
"
|
|
2033
|
-
"
|
|
2034
|
-
"consecutiveDays": json["consecutiveDays"],
|
|
2035
|
-
"totalDays": json["totalDays"],
|
|
2036
|
-
"signedDates": json["signedDates"],
|
|
2037
|
-
"todayReward": !exists(json, "todayReward") ? void 0 : RewardInfoFromJSON(json["todayReward"]),
|
|
2038
|
-
"nextMilestone": !exists(json, "nextMilestone") ? void 0 : MilestoneInfoFromJSON(json["nextMilestone"])
|
|
3028
|
+
"success": json["success"],
|
|
3029
|
+
"data": ResolveTenantDataFromJSON(json["data"])
|
|
2039
3030
|
};
|
|
2040
3031
|
}
|
|
2041
|
-
function
|
|
3032
|
+
function ResolveTenantResponseToJSON(value) {
|
|
2042
3033
|
if (value === void 0) {
|
|
2043
3034
|
return void 0;
|
|
2044
3035
|
}
|
|
@@ -2046,18 +3037,13 @@ function SigninStatusResponseToJSON(value) {
|
|
|
2046
3037
|
return null;
|
|
2047
3038
|
}
|
|
2048
3039
|
return {
|
|
2049
|
-
"
|
|
2050
|
-
"
|
|
2051
|
-
"consecutiveDays": value.consecutiveDays,
|
|
2052
|
-
"totalDays": value.totalDays,
|
|
2053
|
-
"signedDates": value.signedDates,
|
|
2054
|
-
"todayReward": RewardInfoToJSON(value.todayReward),
|
|
2055
|
-
"nextMilestone": MilestoneInfoToJSON(value.nextMilestone)
|
|
3040
|
+
"success": value.success,
|
|
3041
|
+
"data": ResolveTenantDataToJSON(value.data)
|
|
2056
3042
|
};
|
|
2057
3043
|
}
|
|
2058
3044
|
|
|
2059
|
-
// src/generated/models/
|
|
2060
|
-
function
|
|
3045
|
+
// src/generated/models/ResolveTenant200Response.ts
|
|
3046
|
+
function instanceOfResolveTenant200Response(value) {
|
|
2061
3047
|
let isInstance = true;
|
|
2062
3048
|
isInstance = isInstance && "success" in value;
|
|
2063
3049
|
isInstance = isInstance && "code" in value;
|
|
@@ -2067,10 +3053,10 @@ function instanceOfSuccessResponse(value) {
|
|
|
2067
3053
|
isInstance = isInstance && "path" in value;
|
|
2068
3054
|
return isInstance;
|
|
2069
3055
|
}
|
|
2070
|
-
function
|
|
2071
|
-
return
|
|
3056
|
+
function ResolveTenant200ResponseFromJSON(json) {
|
|
3057
|
+
return ResolveTenant200ResponseFromJSONTyped(json, false);
|
|
2072
3058
|
}
|
|
2073
|
-
function
|
|
3059
|
+
function ResolveTenant200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
2074
3060
|
if (json === void 0 || json === null) {
|
|
2075
3061
|
return json;
|
|
2076
3062
|
}
|
|
@@ -2078,14 +3064,14 @@ function SuccessResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
2078
3064
|
"success": json["success"],
|
|
2079
3065
|
"code": json["code"],
|
|
2080
3066
|
"message": json["message"],
|
|
2081
|
-
"data": json["data"],
|
|
3067
|
+
"data": ResolveTenantResponseFromJSON(json["data"]),
|
|
2082
3068
|
"timestamp": json["timestamp"],
|
|
2083
3069
|
"path": json["path"],
|
|
2084
3070
|
"requestId": !exists(json, "requestId") ? void 0 : json["requestId"],
|
|
2085
3071
|
"traceId": !exists(json, "traceId") ? void 0 : json["traceId"]
|
|
2086
3072
|
};
|
|
2087
3073
|
}
|
|
2088
|
-
function
|
|
3074
|
+
function ResolveTenant200ResponseToJSON(value) {
|
|
2089
3075
|
if (value === void 0) {
|
|
2090
3076
|
return void 0;
|
|
2091
3077
|
}
|
|
@@ -2096,7 +3082,7 @@ function SuccessResponseToJSON(value) {
|
|
|
2096
3082
|
"success": value.success,
|
|
2097
3083
|
"code": value.code,
|
|
2098
3084
|
"message": value.message,
|
|
2099
|
-
"data": value.data,
|
|
3085
|
+
"data": ResolveTenantResponseToJSON(value.data),
|
|
2100
3086
|
"timestamp": value.timestamp,
|
|
2101
3087
|
"path": value.path,
|
|
2102
3088
|
"requestId": value.requestId,
|
|
@@ -2104,31 +3090,25 @@ function SuccessResponseToJSON(value) {
|
|
|
2104
3090
|
};
|
|
2105
3091
|
}
|
|
2106
3092
|
|
|
2107
|
-
// src/generated/models/
|
|
2108
|
-
function
|
|
3093
|
+
// src/generated/models/ResolveTenantRequest.ts
|
|
3094
|
+
function instanceOfResolveTenantRequest(value) {
|
|
2109
3095
|
let isInstance = true;
|
|
2110
|
-
isInstance = isInstance && "appId" in value;
|
|
2111
|
-
isInstance = isInstance && "status" in value;
|
|
2112
3096
|
return isInstance;
|
|
2113
3097
|
}
|
|
2114
|
-
function
|
|
2115
|
-
return
|
|
3098
|
+
function ResolveTenantRequestFromJSON(json) {
|
|
3099
|
+
return ResolveTenantRequestFromJSONTyped(json, false);
|
|
2116
3100
|
}
|
|
2117
|
-
function
|
|
3101
|
+
function ResolveTenantRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
2118
3102
|
if (json === void 0 || json === null) {
|
|
2119
3103
|
return json;
|
|
2120
3104
|
}
|
|
2121
3105
|
return {
|
|
2122
|
-
"
|
|
2123
|
-
"
|
|
2124
|
-
"
|
|
2125
|
-
"theme": !exists(json, "theme") ? void 0 : json["theme"],
|
|
2126
|
-
"cdnBase": !exists(json, "cdnBase") ? void 0 : json["cdnBase"],
|
|
2127
|
-
"blockedComponents": !exists(json, "blockedComponents") ? void 0 : json["blockedComponents"],
|
|
2128
|
-
"killSwitch": !exists(json, "killSwitch") ? void 0 : json["killSwitch"]
|
|
3106
|
+
"appKey": !exists(json, "appKey") ? void 0 : json["appKey"],
|
|
3107
|
+
"host": !exists(json, "host") ? void 0 : json["host"],
|
|
3108
|
+
"channel": !exists(json, "channel") ? void 0 : json["channel"]
|
|
2129
3109
|
};
|
|
2130
3110
|
}
|
|
2131
|
-
function
|
|
3111
|
+
function ResolveTenantRequestToJSON(value) {
|
|
2132
3112
|
if (value === void 0) {
|
|
2133
3113
|
return void 0;
|
|
2134
3114
|
}
|
|
@@ -2136,36 +3116,42 @@ function TenantConfigDataToJSON(value) {
|
|
|
2136
3116
|
return null;
|
|
2137
3117
|
}
|
|
2138
3118
|
return {
|
|
2139
|
-
"
|
|
2140
|
-
"
|
|
2141
|
-
"
|
|
2142
|
-
"theme": value.theme,
|
|
2143
|
-
"cdnBase": value.cdnBase,
|
|
2144
|
-
"blockedComponents": value.blockedComponents,
|
|
2145
|
-
"killSwitch": value.killSwitch
|
|
3119
|
+
"appKey": value.appKey,
|
|
3120
|
+
"host": value.host,
|
|
3121
|
+
"channel": value.channel
|
|
2146
3122
|
};
|
|
2147
3123
|
}
|
|
2148
3124
|
|
|
2149
|
-
// src/generated/models/
|
|
2150
|
-
function
|
|
3125
|
+
// src/generated/models/SuccessResponse.ts
|
|
3126
|
+
function instanceOfSuccessResponse(value) {
|
|
2151
3127
|
let isInstance = true;
|
|
2152
3128
|
isInstance = isInstance && "success" in value;
|
|
3129
|
+
isInstance = isInstance && "code" in value;
|
|
3130
|
+
isInstance = isInstance && "message" in value;
|
|
2153
3131
|
isInstance = isInstance && "data" in value;
|
|
3132
|
+
isInstance = isInstance && "timestamp" in value;
|
|
3133
|
+
isInstance = isInstance && "path" in value;
|
|
2154
3134
|
return isInstance;
|
|
2155
3135
|
}
|
|
2156
|
-
function
|
|
2157
|
-
return
|
|
3136
|
+
function SuccessResponseFromJSON(json) {
|
|
3137
|
+
return SuccessResponseFromJSONTyped(json, false);
|
|
2158
3138
|
}
|
|
2159
|
-
function
|
|
3139
|
+
function SuccessResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
2160
3140
|
if (json === void 0 || json === null) {
|
|
2161
3141
|
return json;
|
|
2162
3142
|
}
|
|
2163
3143
|
return {
|
|
2164
3144
|
"success": json["success"],
|
|
2165
|
-
"
|
|
3145
|
+
"code": json["code"],
|
|
3146
|
+
"message": json["message"],
|
|
3147
|
+
"data": json["data"],
|
|
3148
|
+
"timestamp": json["timestamp"],
|
|
3149
|
+
"path": json["path"],
|
|
3150
|
+
"requestId": !exists(json, "requestId") ? void 0 : json["requestId"],
|
|
3151
|
+
"traceId": !exists(json, "traceId") ? void 0 : json["traceId"]
|
|
2166
3152
|
};
|
|
2167
3153
|
}
|
|
2168
|
-
function
|
|
3154
|
+
function SuccessResponseToJSON(value) {
|
|
2169
3155
|
if (value === void 0) {
|
|
2170
3156
|
return void 0;
|
|
2171
3157
|
}
|
|
@@ -2174,7 +3160,13 @@ function TenantConfigResponseToJSON(value) {
|
|
|
2174
3160
|
}
|
|
2175
3161
|
return {
|
|
2176
3162
|
"success": value.success,
|
|
2177
|
-
"
|
|
3163
|
+
"code": value.code,
|
|
3164
|
+
"message": value.message,
|
|
3165
|
+
"data": value.data,
|
|
3166
|
+
"timestamp": value.timestamp,
|
|
3167
|
+
"path": value.path,
|
|
3168
|
+
"requestId": value.requestId,
|
|
3169
|
+
"traceId": value.traceId
|
|
2178
3170
|
};
|
|
2179
3171
|
}
|
|
2180
3172
|
|
|
@@ -2474,26 +3466,25 @@ function TrackSingleResponseToJSON(value) {
|
|
|
2474
3466
|
};
|
|
2475
3467
|
}
|
|
2476
3468
|
|
|
2477
|
-
// src/generated/models/
|
|
2478
|
-
function
|
|
3469
|
+
// src/generated/models/ValidateActionResponse.ts
|
|
3470
|
+
function instanceOfValidateActionResponse(value) {
|
|
2479
3471
|
let isInstance = true;
|
|
2480
|
-
isInstance = isInstance && "
|
|
2481
|
-
isInstance = isInstance && "params" in value;
|
|
3472
|
+
isInstance = isInstance && "valid" in value;
|
|
2482
3473
|
return isInstance;
|
|
2483
3474
|
}
|
|
2484
|
-
function
|
|
2485
|
-
return
|
|
3475
|
+
function ValidateActionResponseFromJSON(json) {
|
|
3476
|
+
return ValidateActionResponseFromJSONTyped(json, false);
|
|
2486
3477
|
}
|
|
2487
|
-
function
|
|
3478
|
+
function ValidateActionResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
2488
3479
|
if (json === void 0 || json === null) {
|
|
2489
3480
|
return json;
|
|
2490
3481
|
}
|
|
2491
3482
|
return {
|
|
2492
|
-
"
|
|
2493
|
-
"
|
|
3483
|
+
"valid": json["valid"],
|
|
3484
|
+
"errors": !exists(json, "errors") ? void 0 : json["errors"]
|
|
2494
3485
|
};
|
|
2495
3486
|
}
|
|
2496
|
-
function
|
|
3487
|
+
function ValidateActionResponseToJSON(value) {
|
|
2497
3488
|
if (value === void 0) {
|
|
2498
3489
|
return void 0;
|
|
2499
3490
|
}
|
|
@@ -2501,30 +3492,41 @@ function ValidateActionRequestToJSON(value) {
|
|
|
2501
3492
|
return null;
|
|
2502
3493
|
}
|
|
2503
3494
|
return {
|
|
2504
|
-
"
|
|
2505
|
-
"
|
|
3495
|
+
"valid": value.valid,
|
|
3496
|
+
"errors": value.errors
|
|
2506
3497
|
};
|
|
2507
3498
|
}
|
|
2508
3499
|
|
|
2509
|
-
// src/generated/models/
|
|
2510
|
-
function
|
|
3500
|
+
// src/generated/models/ValidateActionParams200Response.ts
|
|
3501
|
+
function instanceOfValidateActionParams200Response(value) {
|
|
2511
3502
|
let isInstance = true;
|
|
2512
|
-
isInstance = isInstance && "
|
|
3503
|
+
isInstance = isInstance && "success" in value;
|
|
3504
|
+
isInstance = isInstance && "code" in value;
|
|
3505
|
+
isInstance = isInstance && "message" in value;
|
|
3506
|
+
isInstance = isInstance && "data" in value;
|
|
3507
|
+
isInstance = isInstance && "timestamp" in value;
|
|
3508
|
+
isInstance = isInstance && "path" in value;
|
|
2513
3509
|
return isInstance;
|
|
2514
3510
|
}
|
|
2515
|
-
function
|
|
2516
|
-
return
|
|
3511
|
+
function ValidateActionParams200ResponseFromJSON(json) {
|
|
3512
|
+
return ValidateActionParams200ResponseFromJSONTyped(json, false);
|
|
2517
3513
|
}
|
|
2518
|
-
function
|
|
3514
|
+
function ValidateActionParams200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
2519
3515
|
if (json === void 0 || json === null) {
|
|
2520
3516
|
return json;
|
|
2521
3517
|
}
|
|
2522
3518
|
return {
|
|
2523
|
-
"
|
|
2524
|
-
"
|
|
3519
|
+
"success": json["success"],
|
|
3520
|
+
"code": json["code"],
|
|
3521
|
+
"message": json["message"],
|
|
3522
|
+
"data": ValidateActionResponseFromJSON(json["data"]),
|
|
3523
|
+
"timestamp": json["timestamp"],
|
|
3524
|
+
"path": json["path"],
|
|
3525
|
+
"requestId": !exists(json, "requestId") ? void 0 : json["requestId"],
|
|
3526
|
+
"traceId": !exists(json, "traceId") ? void 0 : json["traceId"]
|
|
2525
3527
|
};
|
|
2526
3528
|
}
|
|
2527
|
-
function
|
|
3529
|
+
function ValidateActionParams200ResponseToJSON(value) {
|
|
2528
3530
|
if (value === void 0) {
|
|
2529
3531
|
return void 0;
|
|
2530
3532
|
}
|
|
@@ -2532,8 +3534,46 @@ function ValidateActionResponseToJSON(value) {
|
|
|
2532
3534
|
return null;
|
|
2533
3535
|
}
|
|
2534
3536
|
return {
|
|
2535
|
-
"
|
|
2536
|
-
"
|
|
3537
|
+
"success": value.success,
|
|
3538
|
+
"code": value.code,
|
|
3539
|
+
"message": value.message,
|
|
3540
|
+
"data": ValidateActionResponseToJSON(value.data),
|
|
3541
|
+
"timestamp": value.timestamp,
|
|
3542
|
+
"path": value.path,
|
|
3543
|
+
"requestId": value.requestId,
|
|
3544
|
+
"traceId": value.traceId
|
|
3545
|
+
};
|
|
3546
|
+
}
|
|
3547
|
+
|
|
3548
|
+
// src/generated/models/ValidateActionRequest.ts
|
|
3549
|
+
function instanceOfValidateActionRequest(value) {
|
|
3550
|
+
let isInstance = true;
|
|
3551
|
+
isInstance = isInstance && "actionDefinitionVersionId" in value;
|
|
3552
|
+
isInstance = isInstance && "params" in value;
|
|
3553
|
+
return isInstance;
|
|
3554
|
+
}
|
|
3555
|
+
function ValidateActionRequestFromJSON(json) {
|
|
3556
|
+
return ValidateActionRequestFromJSONTyped(json, false);
|
|
3557
|
+
}
|
|
3558
|
+
function ValidateActionRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
3559
|
+
if (json === void 0 || json === null) {
|
|
3560
|
+
return json;
|
|
3561
|
+
}
|
|
3562
|
+
return {
|
|
3563
|
+
"actionDefinitionVersionId": json["actionDefinitionVersionId"],
|
|
3564
|
+
"params": json["params"]
|
|
3565
|
+
};
|
|
3566
|
+
}
|
|
3567
|
+
function ValidateActionRequestToJSON(value) {
|
|
3568
|
+
if (value === void 0) {
|
|
3569
|
+
return void 0;
|
|
3570
|
+
}
|
|
3571
|
+
if (value === null) {
|
|
3572
|
+
return null;
|
|
3573
|
+
}
|
|
3574
|
+
return {
|
|
3575
|
+
"actionDefinitionVersionId": value.actionDefinitionVersionId,
|
|
3576
|
+
"params": value.params
|
|
2537
3577
|
};
|
|
2538
3578
|
}
|
|
2539
3579
|
|
|
@@ -2564,7 +3604,7 @@ var ActionsApi = class extends BaseAPI {
|
|
|
2564
3604
|
query: queryParameters,
|
|
2565
3605
|
body: ExecuteActionRequestToJSON(requestParameters.executeActionRequest)
|
|
2566
3606
|
}, initOverrides);
|
|
2567
|
-
return new JSONApiResponse(response, (jsonValue) =>
|
|
3607
|
+
return new JSONApiResponse(response, (jsonValue) => ExecuteAction200ResponseFromJSON(jsonValue));
|
|
2568
3608
|
}
|
|
2569
3609
|
/**
|
|
2570
3610
|
* 统一的动作执行入口,支持领取、签到等业务动作。 执行流程(Pipeline): 1. Auth(登录态/票据/签名) 2. Risk(限流、黑名单、设备指纹、验证码开关) 3. Idempotency(幂等键检查) 4. Execute(执行器:Claim/Signin/Lottery...) 5. Audit(审计落库 + outbox) 6. Normalize(统一错误码/返回)
|
|
@@ -2600,7 +3640,7 @@ var ActionsApi = class extends BaseAPI {
|
|
|
2600
3640
|
headers: headerParameters,
|
|
2601
3641
|
query: queryParameters
|
|
2602
3642
|
}, initOverrides);
|
|
2603
|
-
return new JSONApiResponse(response, (jsonValue) =>
|
|
3643
|
+
return new JSONApiResponse(response, (jsonValue) => GetActionDefinition200ResponseFromJSON(jsonValue));
|
|
2604
3644
|
}
|
|
2605
3645
|
/**
|
|
2606
3646
|
* 按版本 ID 获取动作定义详情
|
|
@@ -2635,7 +3675,7 @@ var ActionsApi = class extends BaseAPI {
|
|
|
2635
3675
|
query: queryParameters,
|
|
2636
3676
|
body: ValidateActionRequestToJSON(requestParameters.validateActionRequest)
|
|
2637
3677
|
}, initOverrides);
|
|
2638
|
-
return new JSONApiResponse(response, (jsonValue) =>
|
|
3678
|
+
return new JSONApiResponse(response, (jsonValue) => ValidateActionParams200ResponseFromJSON(jsonValue));
|
|
2639
3679
|
}
|
|
2640
3680
|
/**
|
|
2641
3681
|
* 验证参数是否符合 Schema 定义,不执行动作
|
|
@@ -2665,7 +3705,7 @@ var ActivitiesApi = class extends BaseAPI {
|
|
|
2665
3705
|
headers: headerParameters,
|
|
2666
3706
|
query: queryParameters
|
|
2667
3707
|
}, initOverrides);
|
|
2668
|
-
return new JSONApiResponse(response, (jsonValue) =>
|
|
3708
|
+
return new JSONApiResponse(response, (jsonValue) => GetActivityInfo200ResponseFromJSON(jsonValue));
|
|
2669
3709
|
}
|
|
2670
3710
|
/**
|
|
2671
3711
|
* 获取活动的公开信息,不需要登录
|
|
@@ -2704,7 +3744,7 @@ var ActivitiesApi = class extends BaseAPI {
|
|
|
2704
3744
|
headers: headerParameters,
|
|
2705
3745
|
query: queryParameters
|
|
2706
3746
|
}, initOverrides);
|
|
2707
|
-
return new JSONApiResponse(response, (jsonValue) =>
|
|
3747
|
+
return new JSONApiResponse(response, (jsonValue) => GetActivityState200ResponseFromJSON(jsonValue));
|
|
2708
3748
|
}
|
|
2709
3749
|
/**
|
|
2710
3750
|
* 查询用户在指定活动中的参与状态
|
|
@@ -2730,7 +3770,7 @@ var ActivitiesApi = class extends BaseAPI {
|
|
|
2730
3770
|
headers: headerParameters,
|
|
2731
3771
|
query: queryParameters
|
|
2732
3772
|
}, initOverrides);
|
|
2733
|
-
return new JSONApiResponse(response, (jsonValue) =>
|
|
3773
|
+
return new JSONApiResponse(response, (jsonValue) => GetActivityState200ResponseFromJSON(jsonValue));
|
|
2734
3774
|
}
|
|
2735
3775
|
/**
|
|
2736
3776
|
* 获取活动的当前状态信息
|
|
@@ -2775,7 +3815,7 @@ var ActivitiesApi = class extends BaseAPI {
|
|
|
2775
3815
|
headers: headerParameters,
|
|
2776
3816
|
query: queryParameters
|
|
2777
3817
|
}, initOverrides);
|
|
2778
|
-
return new JSONApiResponse(response, (jsonValue) =>
|
|
3818
|
+
return new JSONApiResponse(response, (jsonValue) => GetClaimRecords200ResponseFromJSON(jsonValue));
|
|
2779
3819
|
}
|
|
2780
3820
|
/**
|
|
2781
3821
|
* 获取用户在指定活动中的领取记录
|
|
@@ -2817,7 +3857,7 @@ var ActivitiesApi = class extends BaseAPI {
|
|
|
2817
3857
|
headers: headerParameters,
|
|
2818
3858
|
query: queryParameters
|
|
2819
3859
|
}, initOverrides);
|
|
2820
|
-
return new JSONApiResponse(response, (jsonValue) =>
|
|
3860
|
+
return new JSONApiResponse(response, (jsonValue) => GetClaimStatus200ResponseFromJSON(jsonValue));
|
|
2821
3861
|
}
|
|
2822
3862
|
/**
|
|
2823
3863
|
* 获取用户在指定活动中的领取状态
|
|
@@ -2859,7 +3899,7 @@ var ActivitiesApi = class extends BaseAPI {
|
|
|
2859
3899
|
headers: headerParameters,
|
|
2860
3900
|
query: queryParameters
|
|
2861
3901
|
}, initOverrides);
|
|
2862
|
-
return new JSONApiResponse(response, (jsonValue) =>
|
|
3902
|
+
return new JSONApiResponse(response, (jsonValue) => GetClaimRecords200ResponseFromJSON(jsonValue));
|
|
2863
3903
|
}
|
|
2864
3904
|
/**
|
|
2865
3905
|
* 获取用户在指定活动中的抽奖记录
|
|
@@ -2904,7 +3944,7 @@ var ActivitiesApi = class extends BaseAPI {
|
|
|
2904
3944
|
headers: headerParameters,
|
|
2905
3945
|
query: queryParameters
|
|
2906
3946
|
}, initOverrides);
|
|
2907
|
-
return new JSONApiResponse(response, (jsonValue) =>
|
|
3947
|
+
return new JSONApiResponse(response, (jsonValue) => GetSigninCalendar200ResponseFromJSON(jsonValue));
|
|
2908
3948
|
}
|
|
2909
3949
|
/**
|
|
2910
3950
|
* 获取用户的签到日历数据
|
|
@@ -2946,7 +3986,7 @@ var ActivitiesApi = class extends BaseAPI {
|
|
|
2946
3986
|
headers: headerParameters,
|
|
2947
3987
|
query: queryParameters
|
|
2948
3988
|
}, initOverrides);
|
|
2949
|
-
return new JSONApiResponse(response, (jsonValue) =>
|
|
3989
|
+
return new JSONApiResponse(response, (jsonValue) => GetSigninStatus200ResponseFromJSON(jsonValue));
|
|
2950
3990
|
}
|
|
2951
3991
|
/**
|
|
2952
3992
|
* 获取用户在指定活动中的签到状态
|
|
@@ -2973,7 +4013,7 @@ var HealthApi = class extends BaseAPI {
|
|
|
2973
4013
|
headers: headerParameters,
|
|
2974
4014
|
query: queryParameters
|
|
2975
4015
|
}, initOverrides);
|
|
2976
|
-
return new JSONApiResponse(response, (jsonValue) =>
|
|
4016
|
+
return new JSONApiResponse(response, (jsonValue) => HealthCheck200ResponseFromJSON(jsonValue));
|
|
2977
4017
|
}
|
|
2978
4018
|
/**
|
|
2979
4019
|
* 综合健康检查,返回服务状态和时间戳
|
|
@@ -2996,7 +4036,7 @@ var HealthApi = class extends BaseAPI {
|
|
|
2996
4036
|
headers: headerParameters,
|
|
2997
4037
|
query: queryParameters
|
|
2998
4038
|
}, initOverrides);
|
|
2999
|
-
return new JSONApiResponse(response, (jsonValue) =>
|
|
4039
|
+
return new JSONApiResponse(response, (jsonValue) => LivenessCheck200ResponseFromJSON(jsonValue));
|
|
3000
4040
|
}
|
|
3001
4041
|
/**
|
|
3002
4042
|
* Kubernetes liveness probe
|
|
@@ -3019,7 +4059,7 @@ var HealthApi = class extends BaseAPI {
|
|
|
3019
4059
|
headers: headerParameters,
|
|
3020
4060
|
query: queryParameters
|
|
3021
4061
|
}, initOverrides);
|
|
3022
|
-
return new JSONApiResponse(response, (jsonValue) =>
|
|
4062
|
+
return new JSONApiResponse(response, (jsonValue) => ReadinessCheck200ResponseFromJSON(jsonValue));
|
|
3023
4063
|
}
|
|
3024
4064
|
/**
|
|
3025
4065
|
* Kubernetes readiness probe
|
|
@@ -3059,7 +4099,7 @@ var PagesApi = class extends BaseAPI {
|
|
|
3059
4099
|
headers: headerParameters,
|
|
3060
4100
|
query: queryParameters
|
|
3061
4101
|
}, initOverrides);
|
|
3062
|
-
return new JSONApiResponse(response, (jsonValue) =>
|
|
4102
|
+
return new JSONApiResponse(response, (jsonValue) => GetPageConfig200ResponseFromJSON(jsonValue));
|
|
3063
4103
|
}
|
|
3064
4104
|
/**
|
|
3065
4105
|
* 返回当前运维配置(killSwitch、blockedComponents 等)
|
|
@@ -3101,7 +4141,7 @@ var PagesApi = class extends BaseAPI {
|
|
|
3101
4141
|
headers: headerParameters,
|
|
3102
4142
|
query: queryParameters
|
|
3103
4143
|
}, initOverrides);
|
|
3104
|
-
return new JSONApiResponse(response, (jsonValue) =>
|
|
4144
|
+
return new JSONApiResponse(response, (jsonValue) => GetPageManifest200ResponseFromJSON(jsonValue));
|
|
3105
4145
|
}
|
|
3106
4146
|
/**
|
|
3107
4147
|
* 返回页面的组件锁定清单
|
|
@@ -3173,7 +4213,7 @@ var PagesApi = class extends BaseAPI {
|
|
|
3173
4213
|
headers: headerParameters,
|
|
3174
4214
|
query: queryParameters
|
|
3175
4215
|
}, initOverrides);
|
|
3176
|
-
return new JSONApiResponse(response, (jsonValue) =>
|
|
4216
|
+
return new JSONApiResponse(response, (jsonValue) => ResolvePage200ResponseFromJSON(jsonValue));
|
|
3177
4217
|
}
|
|
3178
4218
|
/**
|
|
3179
4219
|
* Runtime 核心接口,返回渲染所需的完整数据。 支持两种模式: 1. 稳定入口(推荐):支持灰度/回滚/ops,返回 resolvedVersionId 和 CDN 地址 2. 保底模式:当 includeSnapshot=true 时,返回完整 snapshot(CDN 失败时使用)
|
|
@@ -3212,7 +4252,7 @@ var QueriesApi = class extends BaseAPI {
|
|
|
3212
4252
|
query: queryParameters,
|
|
3213
4253
|
body: BatchQueryRequestToJSON(requestParameters.batchQueryRequest)
|
|
3214
4254
|
}, initOverrides);
|
|
3215
|
-
return new JSONApiResponse(response, (jsonValue) =>
|
|
4255
|
+
return new JSONApiResponse(response, (jsonValue) => BatchQueryData200ResponseFromJSON(jsonValue));
|
|
3216
4256
|
}
|
|
3217
4257
|
/**
|
|
3218
4258
|
* 批量执行多个数据查询,所有查询并行执行
|
|
@@ -3248,7 +4288,7 @@ var QueriesApi = class extends BaseAPI {
|
|
|
3248
4288
|
headers: headerParameters,
|
|
3249
4289
|
query: queryParameters
|
|
3250
4290
|
}, initOverrides);
|
|
3251
|
-
return new JSONApiResponse(response, (jsonValue) =>
|
|
4291
|
+
return new JSONApiResponse(response, (jsonValue) => GetQueryDefinition200ResponseFromJSON(jsonValue));
|
|
3252
4292
|
}
|
|
3253
4293
|
/**
|
|
3254
4294
|
* 按版本 ID 获取数据查询定义
|
|
@@ -3283,7 +4323,7 @@ var QueriesApi = class extends BaseAPI {
|
|
|
3283
4323
|
query: queryParameters,
|
|
3284
4324
|
body: QueryDataRequestToJSON(requestParameters.queryDataRequest)
|
|
3285
4325
|
}, initOverrides);
|
|
3286
|
-
return new JSONApiResponse(response, (jsonValue) =>
|
|
4326
|
+
return new JSONApiResponse(response, (jsonValue) => QueryData200ResponseFromJSON(jsonValue));
|
|
3287
4327
|
}
|
|
3288
4328
|
/**
|
|
3289
4329
|
* 通过 queryVersionId 查询数据
|
|
@@ -3332,7 +4372,7 @@ var TenantApi = class extends BaseAPI {
|
|
|
3332
4372
|
headers: headerParameters,
|
|
3333
4373
|
query: queryParameters
|
|
3334
4374
|
}, initOverrides);
|
|
3335
|
-
return new JSONApiResponse(response, (jsonValue) =>
|
|
4375
|
+
return new JSONApiResponse(response, (jsonValue) => GetTenantConfig200ResponseFromJSON(jsonValue));
|
|
3336
4376
|
}
|
|
3337
4377
|
/**
|
|
3338
4378
|
* 获取当前租户的运行时配置
|
|
@@ -3360,7 +4400,7 @@ var TenantApi = class extends BaseAPI {
|
|
|
3360
4400
|
query: queryParameters,
|
|
3361
4401
|
body: ResolveTenantRequestToJSON(requestParameters.resolveTenantRequest)
|
|
3362
4402
|
}, initOverrides);
|
|
3363
|
-
return new JSONApiResponse(response, (jsonValue) =>
|
|
4403
|
+
return new JSONApiResponse(response, (jsonValue) => ResolveTenant200ResponseFromJSON(jsonValue));
|
|
3364
4404
|
}
|
|
3365
4405
|
/**
|
|
3366
4406
|
* 根据 appKey 或 host 解析租户/应用信息
|
|
@@ -3542,6 +4582,9 @@ var VERSION = "1.0.0";
|
|
|
3542
4582
|
ActivityStatusTypeEnum,
|
|
3543
4583
|
ApiError,
|
|
3544
4584
|
BaseAPI,
|
|
4585
|
+
BatchQueryData200ResponseFromJSON,
|
|
4586
|
+
BatchQueryData200ResponseFromJSONTyped,
|
|
4587
|
+
BatchQueryData200ResponseToJSON,
|
|
3545
4588
|
BatchQueryItemRequestFromJSON,
|
|
3546
4589
|
BatchQueryItemRequestFromJSONTyped,
|
|
3547
4590
|
BatchQueryItemRequestToJSON,
|
|
@@ -3568,6 +4611,9 @@ var VERSION = "1.0.0";
|
|
|
3568
4611
|
ErrorResponseFromJSON,
|
|
3569
4612
|
ErrorResponseFromJSONTyped,
|
|
3570
4613
|
ErrorResponseToJSON,
|
|
4614
|
+
ExecuteAction200ResponseFromJSON,
|
|
4615
|
+
ExecuteAction200ResponseFromJSONTyped,
|
|
4616
|
+
ExecuteAction200ResponseToJSON,
|
|
3571
4617
|
ExecuteActionRequestFromJSON,
|
|
3572
4618
|
ExecuteActionRequestFromJSONTyped,
|
|
3573
4619
|
ExecuteActionRequestToJSON,
|
|
@@ -3575,13 +4621,52 @@ var VERSION = "1.0.0";
|
|
|
3575
4621
|
ExecuteActionResponseFromJSONTyped,
|
|
3576
4622
|
ExecuteActionResponseToJSON,
|
|
3577
4623
|
FetchError,
|
|
4624
|
+
GetActionDefinition200ResponseFromJSON,
|
|
4625
|
+
GetActionDefinition200ResponseFromJSONTyped,
|
|
4626
|
+
GetActionDefinition200ResponseToJSON,
|
|
4627
|
+
GetActivityInfo200ResponseFromJSON,
|
|
4628
|
+
GetActivityInfo200ResponseFromJSONTyped,
|
|
4629
|
+
GetActivityInfo200ResponseToJSON,
|
|
4630
|
+
GetActivityState200ResponseFromJSON,
|
|
4631
|
+
GetActivityState200ResponseFromJSONTyped,
|
|
4632
|
+
GetActivityState200ResponseToJSON,
|
|
4633
|
+
GetClaimRecords200ResponseFromJSON,
|
|
4634
|
+
GetClaimRecords200ResponseFromJSONTyped,
|
|
4635
|
+
GetClaimRecords200ResponseToJSON,
|
|
4636
|
+
GetClaimStatus200ResponseFromJSON,
|
|
4637
|
+
GetClaimStatus200ResponseFromJSONTyped,
|
|
4638
|
+
GetClaimStatus200ResponseToJSON,
|
|
4639
|
+
GetPageConfig200ResponseFromJSON,
|
|
4640
|
+
GetPageConfig200ResponseFromJSONTyped,
|
|
4641
|
+
GetPageConfig200ResponseToJSON,
|
|
4642
|
+
GetPageManifest200ResponseFromJSON,
|
|
4643
|
+
GetPageManifest200ResponseFromJSONTyped,
|
|
4644
|
+
GetPageManifest200ResponseToJSON,
|
|
4645
|
+
GetQueryDefinition200ResponseFromJSON,
|
|
4646
|
+
GetQueryDefinition200ResponseFromJSONTyped,
|
|
4647
|
+
GetQueryDefinition200ResponseToJSON,
|
|
4648
|
+
GetSigninCalendar200ResponseFromJSON,
|
|
4649
|
+
GetSigninCalendar200ResponseFromJSONTyped,
|
|
4650
|
+
GetSigninCalendar200ResponseToJSON,
|
|
4651
|
+
GetSigninStatus200ResponseFromJSON,
|
|
4652
|
+
GetSigninStatus200ResponseFromJSONTyped,
|
|
4653
|
+
GetSigninStatus200ResponseToJSON,
|
|
4654
|
+
GetTenantConfig200ResponseFromJSON,
|
|
4655
|
+
GetTenantConfig200ResponseFromJSONTyped,
|
|
4656
|
+
GetTenantConfig200ResponseToJSON,
|
|
3578
4657
|
HealthApi,
|
|
4658
|
+
HealthCheck200ResponseFromJSON,
|
|
4659
|
+
HealthCheck200ResponseFromJSONTyped,
|
|
4660
|
+
HealthCheck200ResponseToJSON,
|
|
3579
4661
|
HealthCheckItemFromJSON,
|
|
3580
4662
|
HealthCheckItemFromJSONTyped,
|
|
3581
4663
|
HealthCheckItemToJSON,
|
|
3582
4664
|
HealthCheckResponseFromJSON,
|
|
3583
4665
|
HealthCheckResponseFromJSONTyped,
|
|
3584
4666
|
HealthCheckResponseToJSON,
|
|
4667
|
+
LivenessCheck200ResponseFromJSON,
|
|
4668
|
+
LivenessCheck200ResponseFromJSONTyped,
|
|
4669
|
+
LivenessCheck200ResponseToJSON,
|
|
3585
4670
|
LivenessResponseFromJSON,
|
|
3586
4671
|
LivenessResponseFromJSONTyped,
|
|
3587
4672
|
LivenessResponseToJSON,
|
|
@@ -3613,6 +4698,9 @@ var VERSION = "1.0.0";
|
|
|
3613
4698
|
QueryContextFromJSON,
|
|
3614
4699
|
QueryContextFromJSONTyped,
|
|
3615
4700
|
QueryContextToJSON,
|
|
4701
|
+
QueryData200ResponseFromJSON,
|
|
4702
|
+
QueryData200ResponseFromJSONTyped,
|
|
4703
|
+
QueryData200ResponseToJSON,
|
|
3616
4704
|
QueryDataRequestFromJSON,
|
|
3617
4705
|
QueryDataRequestFromJSONTyped,
|
|
3618
4706
|
QueryDataRequestToJSON,
|
|
@@ -3626,13 +4714,22 @@ var VERSION = "1.0.0";
|
|
|
3626
4714
|
QueryMetadataFromJSON,
|
|
3627
4715
|
QueryMetadataFromJSONTyped,
|
|
3628
4716
|
QueryMetadataToJSON,
|
|
4717
|
+
ReadinessCheck200ResponseFromJSON,
|
|
4718
|
+
ReadinessCheck200ResponseFromJSONTyped,
|
|
4719
|
+
ReadinessCheck200ResponseToJSON,
|
|
3629
4720
|
ReadinessResponseFromJSON,
|
|
3630
4721
|
ReadinessResponseFromJSONTyped,
|
|
3631
4722
|
ReadinessResponseToJSON,
|
|
3632
4723
|
RequiredError,
|
|
4724
|
+
ResolvePage200ResponseFromJSON,
|
|
4725
|
+
ResolvePage200ResponseFromJSONTyped,
|
|
4726
|
+
ResolvePage200ResponseToJSON,
|
|
3633
4727
|
ResolvePageResponseFromJSON,
|
|
3634
4728
|
ResolvePageResponseFromJSONTyped,
|
|
3635
4729
|
ResolvePageResponseToJSON,
|
|
4730
|
+
ResolveTenant200ResponseFromJSON,
|
|
4731
|
+
ResolveTenant200ResponseFromJSONTyped,
|
|
4732
|
+
ResolveTenant200ResponseToJSON,
|
|
3636
4733
|
ResolveTenantDataFromJSON,
|
|
3637
4734
|
ResolveTenantDataFromJSONTyped,
|
|
3638
4735
|
ResolveTenantDataToJSON,
|
|
@@ -3696,6 +4793,9 @@ var VERSION = "1.0.0";
|
|
|
3696
4793
|
TrackSingleResponseToJSON,
|
|
3697
4794
|
UserClient,
|
|
3698
4795
|
VERSION,
|
|
4796
|
+
ValidateActionParams200ResponseFromJSON,
|
|
4797
|
+
ValidateActionParams200ResponseFromJSONTyped,
|
|
4798
|
+
ValidateActionParams200ResponseToJSON,
|
|
3699
4799
|
ValidateActionRequestFromJSON,
|
|
3700
4800
|
ValidateActionRequestFromJSONTyped,
|
|
3701
4801
|
ValidateActionRequestToJSON,
|
|
@@ -3714,6 +4814,7 @@ var VERSION = "1.0.0";
|
|
|
3714
4814
|
instanceOfActivityInfoResponse,
|
|
3715
4815
|
instanceOfActivityStatus,
|
|
3716
4816
|
instanceOfActivityStatusResponse,
|
|
4817
|
+
instanceOfBatchQueryData200Response,
|
|
3717
4818
|
instanceOfBatchQueryItemRequest,
|
|
3718
4819
|
instanceOfBatchQueryRequest,
|
|
3719
4820
|
instanceOfBatchQueryResponse,
|
|
@@ -3722,10 +4823,24 @@ var VERSION = "1.0.0";
|
|
|
3722
4823
|
instanceOfCursorPaginationMeta,
|
|
3723
4824
|
instanceOfDegradeConfig,
|
|
3724
4825
|
instanceOfErrorResponse,
|
|
4826
|
+
instanceOfExecuteAction200Response,
|
|
3725
4827
|
instanceOfExecuteActionRequest,
|
|
3726
4828
|
instanceOfExecuteActionResponse,
|
|
4829
|
+
instanceOfGetActionDefinition200Response,
|
|
4830
|
+
instanceOfGetActivityInfo200Response,
|
|
4831
|
+
instanceOfGetActivityState200Response,
|
|
4832
|
+
instanceOfGetClaimRecords200Response,
|
|
4833
|
+
instanceOfGetClaimStatus200Response,
|
|
4834
|
+
instanceOfGetPageConfig200Response,
|
|
4835
|
+
instanceOfGetPageManifest200Response,
|
|
4836
|
+
instanceOfGetQueryDefinition200Response,
|
|
4837
|
+
instanceOfGetSigninCalendar200Response,
|
|
4838
|
+
instanceOfGetSigninStatus200Response,
|
|
4839
|
+
instanceOfGetTenantConfig200Response,
|
|
4840
|
+
instanceOfHealthCheck200Response,
|
|
3727
4841
|
instanceOfHealthCheckItem,
|
|
3728
4842
|
instanceOfHealthCheckResponse,
|
|
4843
|
+
instanceOfLivenessCheck200Response,
|
|
3729
4844
|
instanceOfLivenessResponse,
|
|
3730
4845
|
instanceOfManifestComponent,
|
|
3731
4846
|
instanceOfManifestResponse,
|
|
@@ -3735,12 +4850,16 @@ var VERSION = "1.0.0";
|
|
|
3735
4850
|
instanceOfPaginatedRecordsResponse,
|
|
3736
4851
|
instanceOfPaginationMeta,
|
|
3737
4852
|
instanceOfQueryContext,
|
|
4853
|
+
instanceOfQueryData200Response,
|
|
3738
4854
|
instanceOfQueryDataRequest,
|
|
3739
4855
|
instanceOfQueryDataResponse,
|
|
3740
4856
|
instanceOfQueryDefinitionResponse,
|
|
3741
4857
|
instanceOfQueryMetadata,
|
|
4858
|
+
instanceOfReadinessCheck200Response,
|
|
3742
4859
|
instanceOfReadinessResponse,
|
|
4860
|
+
instanceOfResolvePage200Response,
|
|
3743
4861
|
instanceOfResolvePageResponse,
|
|
4862
|
+
instanceOfResolveTenant200Response,
|
|
3744
4863
|
instanceOfResolveTenantData,
|
|
3745
4864
|
instanceOfResolveTenantRequest,
|
|
3746
4865
|
instanceOfResolveTenantResponse,
|
|
@@ -3760,6 +4879,7 @@ var VERSION = "1.0.0";
|
|
|
3760
4879
|
instanceOfTrackSingleRequest,
|
|
3761
4880
|
instanceOfTrackSingleResponse,
|
|
3762
4881
|
instanceOfTrackSingleResponseData,
|
|
4882
|
+
instanceOfValidateActionParams200Response,
|
|
3763
4883
|
instanceOfValidateActionRequest,
|
|
3764
4884
|
instanceOfValidateActionResponse,
|
|
3765
4885
|
isRetryableError
|