@djvlc/openapi-user-client 1.8.1 → 1.8.3

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.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,
@@ -55,9 +58,9 @@ __export(index_exports, {
55
58
  BatchQueryResponseFromJSON: () => BatchQueryResponseFromJSON,
56
59
  BatchQueryResponseFromJSONTyped: () => BatchQueryResponseFromJSONTyped,
57
60
  BatchQueryResponseToJSON: () => BatchQueryResponseToJSON,
58
- BlockedComponentFromJSON: () => BlockedComponentFromJSON,
59
- BlockedComponentFromJSONTyped: () => BlockedComponentFromJSONTyped,
60
- BlockedComponentToJSON: () => BlockedComponentToJSON,
61
+ BlockedComponentItemFromJSON: () => BlockedComponentItemFromJSON,
62
+ BlockedComponentItemFromJSONTyped: () => BlockedComponentItemFromJSONTyped,
63
+ BlockedComponentItemToJSON: () => BlockedComponentItemToJSON,
61
64
  ClaimStatusResponseFromJSON: () => ClaimStatusResponseFromJSON,
62
65
  ClaimStatusResponseFromJSONTyped: () => ClaimStatusResponseFromJSONTyped,
63
66
  ClaimStatusResponseToJSON: () => ClaimStatusResponseToJSON,
@@ -65,13 +68,12 @@ __export(index_exports, {
65
68
  CursorPaginationMetaFromJSON: () => CursorPaginationMetaFromJSON,
66
69
  CursorPaginationMetaFromJSONTyped: () => CursorPaginationMetaFromJSONTyped,
67
70
  CursorPaginationMetaToJSON: () => CursorPaginationMetaToJSON,
68
- DegradeConfigFromJSON: () => DegradeConfigFromJSON,
69
- DegradeConfigFromJSONTyped: () => DegradeConfigFromJSONTyped,
70
- DegradeConfigModeEnum: () => DegradeConfigModeEnum,
71
- DegradeConfigToJSON: () => DegradeConfigToJSON,
72
71
  ErrorResponseFromJSON: () => ErrorResponseFromJSON,
73
72
  ErrorResponseFromJSONTyped: () => ErrorResponseFromJSONTyped,
74
73
  ErrorResponseToJSON: () => ErrorResponseToJSON,
74
+ ExecuteAction200ResponseFromJSON: () => ExecuteAction200ResponseFromJSON,
75
+ ExecuteAction200ResponseFromJSONTyped: () => ExecuteAction200ResponseFromJSONTyped,
76
+ ExecuteAction200ResponseToJSON: () => ExecuteAction200ResponseToJSON,
75
77
  ExecuteActionRequestFromJSON: () => ExecuteActionRequestFromJSON,
76
78
  ExecuteActionRequestFromJSONTyped: () => ExecuteActionRequestFromJSONTyped,
77
79
  ExecuteActionRequestToJSON: () => ExecuteActionRequestToJSON,
@@ -79,13 +81,56 @@ __export(index_exports, {
79
81
  ExecuteActionResponseFromJSONTyped: () => ExecuteActionResponseFromJSONTyped,
80
82
  ExecuteActionResponseToJSON: () => ExecuteActionResponseToJSON,
81
83
  FetchError: () => FetchError,
84
+ GetActionDefinition200ResponseFromJSON: () => GetActionDefinition200ResponseFromJSON,
85
+ GetActionDefinition200ResponseFromJSONTyped: () => GetActionDefinition200ResponseFromJSONTyped,
86
+ GetActionDefinition200ResponseToJSON: () => GetActionDefinition200ResponseToJSON,
87
+ GetActivityInfo200ResponseFromJSON: () => GetActivityInfo200ResponseFromJSON,
88
+ GetActivityInfo200ResponseFromJSONTyped: () => GetActivityInfo200ResponseFromJSONTyped,
89
+ GetActivityInfo200ResponseToJSON: () => GetActivityInfo200ResponseToJSON,
90
+ GetActivityState200ResponseFromJSON: () => GetActivityState200ResponseFromJSON,
91
+ GetActivityState200ResponseFromJSONTyped: () => GetActivityState200ResponseFromJSONTyped,
92
+ GetActivityState200ResponseToJSON: () => GetActivityState200ResponseToJSON,
93
+ GetClaimRecords200ResponseFromJSON: () => GetClaimRecords200ResponseFromJSON,
94
+ GetClaimRecords200ResponseFromJSONTyped: () => GetClaimRecords200ResponseFromJSONTyped,
95
+ GetClaimRecords200ResponseToJSON: () => GetClaimRecords200ResponseToJSON,
96
+ GetClaimStatus200ResponseFromJSON: () => GetClaimStatus200ResponseFromJSON,
97
+ GetClaimStatus200ResponseFromJSONTyped: () => GetClaimStatus200ResponseFromJSONTyped,
98
+ GetClaimStatus200ResponseToJSON: () => GetClaimStatus200ResponseToJSON,
99
+ GetPageConfig200ResponseFromJSON: () => GetPageConfig200ResponseFromJSON,
100
+ GetPageConfig200ResponseFromJSONTyped: () => GetPageConfig200ResponseFromJSONTyped,
101
+ GetPageConfig200ResponseToJSON: () => GetPageConfig200ResponseToJSON,
102
+ GetPageManifest200ResponseFromJSON: () => GetPageManifest200ResponseFromJSON,
103
+ GetPageManifest200ResponseFromJSONTyped: () => GetPageManifest200ResponseFromJSONTyped,
104
+ GetPageManifest200ResponseToJSON: () => GetPageManifest200ResponseToJSON,
105
+ GetQueryDefinition200ResponseFromJSON: () => GetQueryDefinition200ResponseFromJSON,
106
+ GetQueryDefinition200ResponseFromJSONTyped: () => GetQueryDefinition200ResponseFromJSONTyped,
107
+ GetQueryDefinition200ResponseToJSON: () => GetQueryDefinition200ResponseToJSON,
108
+ GetSigninCalendar200ResponseFromJSON: () => GetSigninCalendar200ResponseFromJSON,
109
+ GetSigninCalendar200ResponseFromJSONTyped: () => GetSigninCalendar200ResponseFromJSONTyped,
110
+ GetSigninCalendar200ResponseToJSON: () => GetSigninCalendar200ResponseToJSON,
111
+ GetSigninStatus200ResponseFromJSON: () => GetSigninStatus200ResponseFromJSON,
112
+ GetSigninStatus200ResponseFromJSONTyped: () => GetSigninStatus200ResponseFromJSONTyped,
113
+ GetSigninStatus200ResponseToJSON: () => GetSigninStatus200ResponseToJSON,
114
+ GetTenantConfig200ResponseFromJSON: () => GetTenantConfig200ResponseFromJSON,
115
+ GetTenantConfig200ResponseFromJSONTyped: () => GetTenantConfig200ResponseFromJSONTyped,
116
+ GetTenantConfig200ResponseToJSON: () => GetTenantConfig200ResponseToJSON,
82
117
  HealthApi: () => HealthApi,
118
+ HealthCheck200ResponseFromJSON: () => HealthCheck200ResponseFromJSON,
119
+ HealthCheck200ResponseFromJSONTyped: () => HealthCheck200ResponseFromJSONTyped,
120
+ HealthCheck200ResponseToJSON: () => HealthCheck200ResponseToJSON,
83
121
  HealthCheckItemFromJSON: () => HealthCheckItemFromJSON,
84
122
  HealthCheckItemFromJSONTyped: () => HealthCheckItemFromJSONTyped,
85
123
  HealthCheckItemToJSON: () => HealthCheckItemToJSON,
86
124
  HealthCheckResponseFromJSON: () => HealthCheckResponseFromJSON,
87
125
  HealthCheckResponseFromJSONTyped: () => HealthCheckResponseFromJSONTyped,
88
126
  HealthCheckResponseToJSON: () => HealthCheckResponseToJSON,
127
+ KillSwitchItemFromJSON: () => KillSwitchItemFromJSON,
128
+ KillSwitchItemFromJSONTyped: () => KillSwitchItemFromJSONTyped,
129
+ KillSwitchItemTargetTypeEnum: () => KillSwitchItemTargetTypeEnum,
130
+ KillSwitchItemToJSON: () => KillSwitchItemToJSON,
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,25 @@ __export(index_exports, {
130
178
  QueryMetadataFromJSON: () => QueryMetadataFromJSON,
131
179
  QueryMetadataFromJSONTyped: () => QueryMetadataFromJSONTyped,
132
180
  QueryMetadataToJSON: () => QueryMetadataToJSON,
181
+ RateLimitConfigFromJSON: () => RateLimitConfigFromJSON,
182
+ RateLimitConfigFromJSONTyped: () => RateLimitConfigFromJSONTyped,
183
+ RateLimitConfigToJSON: () => RateLimitConfigToJSON,
184
+ ReadinessCheck200ResponseFromJSON: () => ReadinessCheck200ResponseFromJSON,
185
+ ReadinessCheck200ResponseFromJSONTyped: () => ReadinessCheck200ResponseFromJSONTyped,
186
+ ReadinessCheck200ResponseToJSON: () => ReadinessCheck200ResponseToJSON,
133
187
  ReadinessResponseFromJSON: () => ReadinessResponseFromJSON,
134
188
  ReadinessResponseFromJSONTyped: () => ReadinessResponseFromJSONTyped,
135
189
  ReadinessResponseToJSON: () => ReadinessResponseToJSON,
136
190
  RequiredError: () => RequiredError,
191
+ ResolvePage200ResponseFromJSON: () => ResolvePage200ResponseFromJSON,
192
+ ResolvePage200ResponseFromJSONTyped: () => ResolvePage200ResponseFromJSONTyped,
193
+ ResolvePage200ResponseToJSON: () => ResolvePage200ResponseToJSON,
137
194
  ResolvePageResponseFromJSON: () => ResolvePageResponseFromJSON,
138
195
  ResolvePageResponseFromJSONTyped: () => ResolvePageResponseFromJSONTyped,
139
196
  ResolvePageResponseToJSON: () => ResolvePageResponseToJSON,
197
+ ResolveTenant200ResponseFromJSON: () => ResolveTenant200ResponseFromJSON,
198
+ ResolveTenant200ResponseFromJSONTyped: () => ResolveTenant200ResponseFromJSONTyped,
199
+ ResolveTenant200ResponseToJSON: () => ResolveTenant200ResponseToJSON,
140
200
  ResolveTenantDataFromJSON: () => ResolveTenantDataFromJSON,
141
201
  ResolveTenantDataFromJSONTyped: () => ResolveTenantDataFromJSONTyped,
142
202
  ResolveTenantDataToJSON: () => ResolveTenantDataToJSON,
@@ -150,6 +210,9 @@ __export(index_exports, {
150
210
  RewardInfoFromJSON: () => RewardInfoFromJSON,
151
211
  RewardInfoFromJSONTyped: () => RewardInfoFromJSONTyped,
152
212
  RewardInfoToJSON: () => RewardInfoToJSON,
213
+ RolloutMatchFromJSON: () => RolloutMatchFromJSON,
214
+ RolloutMatchFromJSONTyped: () => RolloutMatchFromJSONTyped,
215
+ RolloutMatchToJSON: () => RolloutMatchToJSON,
153
216
  SigninCalendarDataFromJSON: () => SigninCalendarDataFromJSON,
154
217
  SigninCalendarDataFromJSONTyped: () => SigninCalendarDataFromJSONTyped,
155
218
  SigninCalendarDataToJSON: () => SigninCalendarDataToJSON,
@@ -200,6 +263,9 @@ __export(index_exports, {
200
263
  TrackSingleResponseToJSON: () => TrackSingleResponseToJSON,
201
264
  UserClient: () => UserClient,
202
265
  VERSION: () => VERSION,
266
+ ValidateActionParams200ResponseFromJSON: () => ValidateActionParams200ResponseFromJSON,
267
+ ValidateActionParams200ResponseFromJSONTyped: () => ValidateActionParams200ResponseFromJSONTyped,
268
+ ValidateActionParams200ResponseToJSON: () => ValidateActionParams200ResponseToJSON,
203
269
  ValidateActionRequestFromJSON: () => ValidateActionRequestFromJSON,
204
270
  ValidateActionRequestFromJSONTyped: () => ValidateActionRequestFromJSONTyped,
205
271
  ValidateActionRequestToJSON: () => ValidateActionRequestToJSON,
@@ -218,18 +284,33 @@ __export(index_exports, {
218
284
  instanceOfActivityInfoResponse: () => instanceOfActivityInfoResponse,
219
285
  instanceOfActivityStatus: () => instanceOfActivityStatus,
220
286
  instanceOfActivityStatusResponse: () => instanceOfActivityStatusResponse,
287
+ instanceOfBatchQueryData200Response: () => instanceOfBatchQueryData200Response,
221
288
  instanceOfBatchQueryItemRequest: () => instanceOfBatchQueryItemRequest,
222
289
  instanceOfBatchQueryRequest: () => instanceOfBatchQueryRequest,
223
290
  instanceOfBatchQueryResponse: () => instanceOfBatchQueryResponse,
224
- instanceOfBlockedComponent: () => instanceOfBlockedComponent,
291
+ instanceOfBlockedComponentItem: () => instanceOfBlockedComponentItem,
225
292
  instanceOfClaimStatusResponse: () => instanceOfClaimStatusResponse,
226
293
  instanceOfCursorPaginationMeta: () => instanceOfCursorPaginationMeta,
227
- instanceOfDegradeConfig: () => instanceOfDegradeConfig,
228
294
  instanceOfErrorResponse: () => instanceOfErrorResponse,
295
+ instanceOfExecuteAction200Response: () => instanceOfExecuteAction200Response,
229
296
  instanceOfExecuteActionRequest: () => instanceOfExecuteActionRequest,
230
297
  instanceOfExecuteActionResponse: () => instanceOfExecuteActionResponse,
298
+ instanceOfGetActionDefinition200Response: () => instanceOfGetActionDefinition200Response,
299
+ instanceOfGetActivityInfo200Response: () => instanceOfGetActivityInfo200Response,
300
+ instanceOfGetActivityState200Response: () => instanceOfGetActivityState200Response,
301
+ instanceOfGetClaimRecords200Response: () => instanceOfGetClaimRecords200Response,
302
+ instanceOfGetClaimStatus200Response: () => instanceOfGetClaimStatus200Response,
303
+ instanceOfGetPageConfig200Response: () => instanceOfGetPageConfig200Response,
304
+ instanceOfGetPageManifest200Response: () => instanceOfGetPageManifest200Response,
305
+ instanceOfGetQueryDefinition200Response: () => instanceOfGetQueryDefinition200Response,
306
+ instanceOfGetSigninCalendar200Response: () => instanceOfGetSigninCalendar200Response,
307
+ instanceOfGetSigninStatus200Response: () => instanceOfGetSigninStatus200Response,
308
+ instanceOfGetTenantConfig200Response: () => instanceOfGetTenantConfig200Response,
309
+ instanceOfHealthCheck200Response: () => instanceOfHealthCheck200Response,
231
310
  instanceOfHealthCheckItem: () => instanceOfHealthCheckItem,
232
311
  instanceOfHealthCheckResponse: () => instanceOfHealthCheckResponse,
312
+ instanceOfKillSwitchItem: () => instanceOfKillSwitchItem,
313
+ instanceOfLivenessCheck200Response: () => instanceOfLivenessCheck200Response,
233
314
  instanceOfLivenessResponse: () => instanceOfLivenessResponse,
234
315
  instanceOfManifestComponent: () => instanceOfManifestComponent,
235
316
  instanceOfManifestResponse: () => instanceOfManifestResponse,
@@ -239,16 +320,22 @@ __export(index_exports, {
239
320
  instanceOfPaginatedRecordsResponse: () => instanceOfPaginatedRecordsResponse,
240
321
  instanceOfPaginationMeta: () => instanceOfPaginationMeta,
241
322
  instanceOfQueryContext: () => instanceOfQueryContext,
323
+ instanceOfQueryData200Response: () => instanceOfQueryData200Response,
242
324
  instanceOfQueryDataRequest: () => instanceOfQueryDataRequest,
243
325
  instanceOfQueryDataResponse: () => instanceOfQueryDataResponse,
244
326
  instanceOfQueryDefinitionResponse: () => instanceOfQueryDefinitionResponse,
245
327
  instanceOfQueryMetadata: () => instanceOfQueryMetadata,
328
+ instanceOfRateLimitConfig: () => instanceOfRateLimitConfig,
329
+ instanceOfReadinessCheck200Response: () => instanceOfReadinessCheck200Response,
246
330
  instanceOfReadinessResponse: () => instanceOfReadinessResponse,
331
+ instanceOfResolvePage200Response: () => instanceOfResolvePage200Response,
247
332
  instanceOfResolvePageResponse: () => instanceOfResolvePageResponse,
333
+ instanceOfResolveTenant200Response: () => instanceOfResolveTenant200Response,
248
334
  instanceOfResolveTenantData: () => instanceOfResolveTenantData,
249
335
  instanceOfResolveTenantRequest: () => instanceOfResolveTenantRequest,
250
336
  instanceOfResolveTenantResponse: () => instanceOfResolveTenantResponse,
251
337
  instanceOfRewardInfo: () => instanceOfRewardInfo,
338
+ instanceOfRolloutMatch: () => instanceOfRolloutMatch,
252
339
  instanceOfSigninCalendarData: () => instanceOfSigninCalendarData,
253
340
  instanceOfSigninCalendarResponse: () => instanceOfSigninCalendarResponse,
254
341
  instanceOfSigninStatusResponse: () => instanceOfSigninStatusResponse,
@@ -264,6 +351,7 @@ __export(index_exports, {
264
351
  instanceOfTrackSingleRequest: () => instanceOfTrackSingleRequest,
265
352
  instanceOfTrackSingleResponse: () => instanceOfTrackSingleResponse,
266
353
  instanceOfTrackSingleResponseData: () => instanceOfTrackSingleResponseData,
354
+ instanceOfValidateActionParams200Response: () => instanceOfValidateActionParams200Response,
267
355
  instanceOfValidateActionRequest: () => instanceOfValidateActionRequest,
268
356
  instanceOfValidateActionResponse: () => instanceOfValidateActionResponse,
269
357
  isRetryableError: () => import_openapi_client_core2.isRetryableError
@@ -791,25 +879,24 @@ function ActivityStatusResponseToJSON(value) {
791
879
  };
792
880
  }
793
881
 
794
- // src/generated/models/BatchQueryItemRequest.ts
795
- function instanceOfBatchQueryItemRequest(value) {
882
+ // src/generated/models/QueryMetadata.ts
883
+ function instanceOfQueryMetadata(value) {
796
884
  let isInstance = true;
797
- isInstance = isInstance && "queryVersionId" in value;
798
885
  return isInstance;
799
886
  }
800
- function BatchQueryItemRequestFromJSON(json) {
801
- return BatchQueryItemRequestFromJSONTyped(json, false);
887
+ function QueryMetadataFromJSON(json) {
888
+ return QueryMetadataFromJSONTyped(json, false);
802
889
  }
803
- function BatchQueryItemRequestFromJSONTyped(json, ignoreDiscriminator) {
890
+ function QueryMetadataFromJSONTyped(json, ignoreDiscriminator) {
804
891
  if (json === void 0 || json === null) {
805
892
  return json;
806
893
  }
807
894
  return {
808
- "queryVersionId": json["queryVersionId"],
809
- "params": !exists(json, "params") ? void 0 : json["params"]
895
+ "fromCache": !exists(json, "fromCache") ? void 0 : json["fromCache"],
896
+ "duration": !exists(json, "duration") ? void 0 : json["duration"]
810
897
  };
811
898
  }
812
- function BatchQueryItemRequestToJSON(value) {
899
+ function QueryMetadataToJSON(value) {
813
900
  if (value === void 0) {
814
901
  return void 0;
815
902
  }
@@ -817,29 +904,33 @@ function BatchQueryItemRequestToJSON(value) {
817
904
  return null;
818
905
  }
819
906
  return {
820
- "queryVersionId": value.queryVersionId,
821
- "params": value.params
907
+ "fromCache": value.fromCache,
908
+ "duration": value.duration
822
909
  };
823
910
  }
824
911
 
825
- // src/generated/models/BatchQueryRequest.ts
826
- function instanceOfBatchQueryRequest(value) {
912
+ // src/generated/models/QueryDataResponse.ts
913
+ function instanceOfQueryDataResponse(value) {
827
914
  let isInstance = true;
828
- isInstance = isInstance && "queries" in value;
915
+ isInstance = isInstance && "success" in value;
829
916
  return isInstance;
830
917
  }
831
- function BatchQueryRequestFromJSON(json) {
832
- return BatchQueryRequestFromJSONTyped(json, false);
918
+ function QueryDataResponseFromJSON(json) {
919
+ return QueryDataResponseFromJSONTyped(json, false);
833
920
  }
834
- function BatchQueryRequestFromJSONTyped(json, ignoreDiscriminator) {
921
+ function QueryDataResponseFromJSONTyped(json, ignoreDiscriminator) {
835
922
  if (json === void 0 || json === null) {
836
923
  return json;
837
924
  }
838
925
  return {
839
- "queries": json["queries"].map(BatchQueryItemRequestFromJSON)
926
+ "success": json["success"],
927
+ "data": !exists(json, "data") ? void 0 : json["data"],
928
+ "errorCode": !exists(json, "errorCode") ? void 0 : json["errorCode"],
929
+ "errorMessage": !exists(json, "errorMessage") ? void 0 : json["errorMessage"],
930
+ "metadata": !exists(json, "metadata") ? void 0 : QueryMetadataFromJSON(json["metadata"])
840
931
  };
841
932
  }
842
- function BatchQueryRequestToJSON(value) {
933
+ function QueryDataResponseToJSON(value) {
843
934
  if (value === void 0) {
844
935
  return void 0;
845
936
  }
@@ -847,28 +938,32 @@ function BatchQueryRequestToJSON(value) {
847
938
  return null;
848
939
  }
849
940
  return {
850
- "queries": value.queries.map(BatchQueryItemRequestToJSON)
941
+ "success": value.success,
942
+ "data": value.data,
943
+ "errorCode": value.errorCode,
944
+ "errorMessage": value.errorMessage,
945
+ "metadata": QueryMetadataToJSON(value.metadata)
851
946
  };
852
947
  }
853
948
 
854
- // src/generated/models/QueryMetadata.ts
855
- function instanceOfQueryMetadata(value) {
949
+ // src/generated/models/BatchQueryResponse.ts
950
+ function instanceOfBatchQueryResponse(value) {
856
951
  let isInstance = true;
952
+ isInstance = isInstance && "results" in value;
857
953
  return isInstance;
858
954
  }
859
- function QueryMetadataFromJSON(json) {
860
- return QueryMetadataFromJSONTyped(json, false);
955
+ function BatchQueryResponseFromJSON(json) {
956
+ return BatchQueryResponseFromJSONTyped(json, false);
861
957
  }
862
- function QueryMetadataFromJSONTyped(json, ignoreDiscriminator) {
958
+ function BatchQueryResponseFromJSONTyped(json, ignoreDiscriminator) {
863
959
  if (json === void 0 || json === null) {
864
960
  return json;
865
961
  }
866
962
  return {
867
- "fromCache": !exists(json, "fromCache") ? void 0 : json["fromCache"],
868
- "duration": !exists(json, "duration") ? void 0 : json["duration"]
963
+ "results": json["results"].map(QueryDataResponseFromJSON)
869
964
  };
870
965
  }
871
- function QueryMetadataToJSON(value) {
966
+ function BatchQueryResponseToJSON(value) {
872
967
  if (value === void 0) {
873
968
  return void 0;
874
969
  }
@@ -876,33 +971,40 @@ function QueryMetadataToJSON(value) {
876
971
  return null;
877
972
  }
878
973
  return {
879
- "fromCache": value.fromCache,
880
- "duration": value.duration
974
+ "results": value.results.map(QueryDataResponseToJSON)
881
975
  };
882
976
  }
883
977
 
884
- // src/generated/models/QueryDataResponse.ts
885
- function instanceOfQueryDataResponse(value) {
978
+ // src/generated/models/BatchQueryData200Response.ts
979
+ function instanceOfBatchQueryData200Response(value) {
886
980
  let isInstance = true;
887
981
  isInstance = isInstance && "success" in value;
982
+ isInstance = isInstance && "code" in value;
983
+ isInstance = isInstance && "message" in value;
984
+ isInstance = isInstance && "data" in value;
985
+ isInstance = isInstance && "timestamp" in value;
986
+ isInstance = isInstance && "path" in value;
888
987
  return isInstance;
889
988
  }
890
- function QueryDataResponseFromJSON(json) {
891
- return QueryDataResponseFromJSONTyped(json, false);
989
+ function BatchQueryData200ResponseFromJSON(json) {
990
+ return BatchQueryData200ResponseFromJSONTyped(json, false);
892
991
  }
893
- function QueryDataResponseFromJSONTyped(json, ignoreDiscriminator) {
992
+ function BatchQueryData200ResponseFromJSONTyped(json, ignoreDiscriminator) {
894
993
  if (json === void 0 || json === null) {
895
994
  return json;
896
995
  }
897
996
  return {
898
997
  "success": json["success"],
899
- "data": !exists(json, "data") ? void 0 : json["data"],
900
- "errorCode": !exists(json, "errorCode") ? void 0 : json["errorCode"],
901
- "errorMessage": !exists(json, "errorMessage") ? void 0 : json["errorMessage"],
902
- "metadata": !exists(json, "metadata") ? void 0 : QueryMetadataFromJSON(json["metadata"])
998
+ "code": json["code"],
999
+ "message": json["message"],
1000
+ "data": BatchQueryResponseFromJSON(json["data"]),
1001
+ "timestamp": json["timestamp"],
1002
+ "path": json["path"],
1003
+ "requestId": !exists(json, "requestId") ? void 0 : json["requestId"],
1004
+ "traceId": !exists(json, "traceId") ? void 0 : json["traceId"]
903
1005
  };
904
1006
  }
905
- function QueryDataResponseToJSON(value) {
1007
+ function BatchQueryData200ResponseToJSON(value) {
906
1008
  if (value === void 0) {
907
1009
  return void 0;
908
1010
  }
@@ -911,31 +1013,35 @@ function QueryDataResponseToJSON(value) {
911
1013
  }
912
1014
  return {
913
1015
  "success": value.success,
914
- "data": value.data,
915
- "errorCode": value.errorCode,
916
- "errorMessage": value.errorMessage,
917
- "metadata": QueryMetadataToJSON(value.metadata)
1016
+ "code": value.code,
1017
+ "message": value.message,
1018
+ "data": BatchQueryResponseToJSON(value.data),
1019
+ "timestamp": value.timestamp,
1020
+ "path": value.path,
1021
+ "requestId": value.requestId,
1022
+ "traceId": value.traceId
918
1023
  };
919
1024
  }
920
1025
 
921
- // src/generated/models/BatchQueryResponse.ts
922
- function instanceOfBatchQueryResponse(value) {
1026
+ // src/generated/models/BatchQueryItemRequest.ts
1027
+ function instanceOfBatchQueryItemRequest(value) {
923
1028
  let isInstance = true;
924
- isInstance = isInstance && "results" in value;
1029
+ isInstance = isInstance && "queryVersionId" in value;
925
1030
  return isInstance;
926
1031
  }
927
- function BatchQueryResponseFromJSON(json) {
928
- return BatchQueryResponseFromJSONTyped(json, false);
1032
+ function BatchQueryItemRequestFromJSON(json) {
1033
+ return BatchQueryItemRequestFromJSONTyped(json, false);
929
1034
  }
930
- function BatchQueryResponseFromJSONTyped(json, ignoreDiscriminator) {
1035
+ function BatchQueryItemRequestFromJSONTyped(json, ignoreDiscriminator) {
931
1036
  if (json === void 0 || json === null) {
932
1037
  return json;
933
1038
  }
934
1039
  return {
935
- "results": json["results"].map(QueryDataResponseFromJSON)
1040
+ "queryVersionId": json["queryVersionId"],
1041
+ "params": !exists(json, "params") ? void 0 : json["params"]
936
1042
  };
937
1043
  }
938
- function BatchQueryResponseToJSON(value) {
1044
+ function BatchQueryItemRequestToJSON(value) {
939
1045
  if (value === void 0) {
940
1046
  return void 0;
941
1047
  }
@@ -943,23 +1049,54 @@ function BatchQueryResponseToJSON(value) {
943
1049
  return null;
944
1050
  }
945
1051
  return {
946
- "results": value.results.map(QueryDataResponseToJSON)
1052
+ "queryVersionId": value.queryVersionId,
1053
+ "params": value.params
1054
+ };
1055
+ }
1056
+
1057
+ // src/generated/models/BatchQueryRequest.ts
1058
+ function instanceOfBatchQueryRequest(value) {
1059
+ let isInstance = true;
1060
+ isInstance = isInstance && "queries" in value;
1061
+ return isInstance;
1062
+ }
1063
+ function BatchQueryRequestFromJSON(json) {
1064
+ return BatchQueryRequestFromJSONTyped(json, false);
1065
+ }
1066
+ function BatchQueryRequestFromJSONTyped(json, ignoreDiscriminator) {
1067
+ if (json === void 0 || json === null) {
1068
+ return json;
1069
+ }
1070
+ return {
1071
+ "queries": json["queries"].map(BatchQueryItemRequestFromJSON)
1072
+ };
1073
+ }
1074
+ function BatchQueryRequestToJSON(value) {
1075
+ if (value === void 0) {
1076
+ return void 0;
1077
+ }
1078
+ if (value === null) {
1079
+ return null;
1080
+ }
1081
+ return {
1082
+ "queries": value.queries.map(BatchQueryItemRequestToJSON)
947
1083
  };
948
1084
  }
949
1085
 
950
- // src/generated/models/BlockedComponent.ts
951
- function instanceOfBlockedComponent(value) {
1086
+ // src/generated/models/BlockedComponentItem.ts
1087
+ function instanceOfBlockedComponentItem(value) {
952
1088
  let isInstance = true;
953
1089
  isInstance = isInstance && "name" in value;
954
1090
  isInstance = isInstance && "reason" in value;
955
1091
  isInstance = isInstance && "blockedAt" in value;
956
1092
  isInstance = isInstance && "blockedBy" in value;
1093
+ isInstance = isInstance && "urgent" in value;
957
1094
  return isInstance;
958
1095
  }
959
- function BlockedComponentFromJSON(json) {
960
- return BlockedComponentFromJSONTyped(json, false);
1096
+ function BlockedComponentItemFromJSON(json) {
1097
+ return BlockedComponentItemFromJSONTyped(json, false);
961
1098
  }
962
- function BlockedComponentFromJSONTyped(json, ignoreDiscriminator) {
1099
+ function BlockedComponentItemFromJSONTyped(json, ignoreDiscriminator) {
963
1100
  if (json === void 0 || json === null) {
964
1101
  return json;
965
1102
  }
@@ -967,11 +1104,13 @@ function BlockedComponentFromJSONTyped(json, ignoreDiscriminator) {
967
1104
  "name": json["name"],
968
1105
  "version": !exists(json, "version") ? void 0 : json["version"],
969
1106
  "reason": json["reason"],
970
- "blockedAt": json["blockedAt"],
971
- "blockedBy": json["blockedBy"]
1107
+ "blockedAt": new Date(json["blockedAt"]),
1108
+ "blockedBy": json["blockedBy"],
1109
+ "fallbackVersion": !exists(json, "fallbackVersion") ? void 0 : json["fallbackVersion"],
1110
+ "urgent": json["urgent"]
972
1111
  };
973
1112
  }
974
- function BlockedComponentToJSON(value) {
1113
+ function BlockedComponentItemToJSON(value) {
975
1114
  if (value === void 0) {
976
1115
  return void 0;
977
1116
  }
@@ -982,8 +1121,10 @@ function BlockedComponentToJSON(value) {
982
1121
  "name": value.name,
983
1122
  "version": value.version,
984
1123
  "reason": value.reason,
985
- "blockedAt": value.blockedAt,
986
- "blockedBy": value.blockedBy
1124
+ "blockedAt": value.blockedAt.toISOString(),
1125
+ "blockedBy": value.blockedBy,
1126
+ "fallbackVersion": value.fallbackVersion,
1127
+ "urgent": value.urgent
987
1128
  };
988
1129
  }
989
1130
 
@@ -1057,45 +1198,6 @@ function CursorPaginationMetaToJSON(value) {
1057
1198
  };
1058
1199
  }
1059
1200
 
1060
- // src/generated/models/DegradeConfig.ts
1061
- var DegradeConfigModeEnum = {
1062
- FALLBACK: "fallback",
1063
- STATIC: "static",
1064
- ERROR: "error"
1065
- };
1066
- function instanceOfDegradeConfig(value) {
1067
- let isInstance = true;
1068
- isInstance = isInstance && "enabled" in value;
1069
- isInstance = isInstance && "mode" in value;
1070
- return isInstance;
1071
- }
1072
- function DegradeConfigFromJSON(json) {
1073
- return DegradeConfigFromJSONTyped(json, false);
1074
- }
1075
- function DegradeConfigFromJSONTyped(json, ignoreDiscriminator) {
1076
- if (json === void 0 || json === null) {
1077
- return json;
1078
- }
1079
- return {
1080
- "enabled": json["enabled"],
1081
- "mode": json["mode"],
1082
- "message": !exists(json, "message") ? void 0 : json["message"]
1083
- };
1084
- }
1085
- function DegradeConfigToJSON(value) {
1086
- if (value === void 0) {
1087
- return void 0;
1088
- }
1089
- if (value === null) {
1090
- return null;
1091
- }
1092
- return {
1093
- "enabled": value.enabled,
1094
- "mode": value.mode,
1095
- "message": value.message
1096
- };
1097
- }
1098
-
1099
1201
  // src/generated/models/ErrorResponse.ts
1100
1202
  function instanceOfErrorResponse(value) {
1101
1203
  let isInstance = true;
@@ -1141,45 +1243,6 @@ function ErrorResponseToJSON(value) {
1141
1243
  };
1142
1244
  }
1143
1245
 
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
1246
  // src/generated/models/ExecuteActionResponse.ts
1184
1247
  function instanceOfExecuteActionResponse(value) {
1185
1248
  let isInstance = true;
@@ -1233,24 +1296,36 @@ function ExecuteActionResponseToJSON(value) {
1233
1296
  };
1234
1297
  }
1235
1298
 
1236
- // src/generated/models/HealthCheckItem.ts
1237
- function instanceOfHealthCheckItem(value) {
1299
+ // src/generated/models/ExecuteAction200Response.ts
1300
+ function instanceOfExecuteAction200Response(value) {
1238
1301
  let isInstance = true;
1302
+ isInstance = isInstance && "success" in value;
1303
+ isInstance = isInstance && "code" in value;
1304
+ isInstance = isInstance && "message" in value;
1305
+ isInstance = isInstance && "data" in value;
1306
+ isInstance = isInstance && "timestamp" in value;
1307
+ isInstance = isInstance && "path" in value;
1239
1308
  return isInstance;
1240
1309
  }
1241
- function HealthCheckItemFromJSON(json) {
1242
- return HealthCheckItemFromJSONTyped(json, false);
1310
+ function ExecuteAction200ResponseFromJSON(json) {
1311
+ return ExecuteAction200ResponseFromJSONTyped(json, false);
1243
1312
  }
1244
- function HealthCheckItemFromJSONTyped(json, ignoreDiscriminator) {
1313
+ function ExecuteAction200ResponseFromJSONTyped(json, ignoreDiscriminator) {
1245
1314
  if (json === void 0 || json === null) {
1246
1315
  return json;
1247
1316
  }
1248
1317
  return {
1249
- "status": !exists(json, "status") ? void 0 : json["status"],
1250
- "message": !exists(json, "message") ? void 0 : json["message"]
1318
+ "success": json["success"],
1319
+ "code": json["code"],
1320
+ "message": json["message"],
1321
+ "data": ExecuteActionResponseFromJSON(json["data"]),
1322
+ "timestamp": json["timestamp"],
1323
+ "path": json["path"],
1324
+ "requestId": !exists(json, "requestId") ? void 0 : json["requestId"],
1325
+ "traceId": !exists(json, "traceId") ? void 0 : json["traceId"]
1251
1326
  };
1252
1327
  }
1253
- function HealthCheckItemToJSON(value) {
1328
+ function ExecuteAction200ResponseToJSON(value) {
1254
1329
  if (value === void 0) {
1255
1330
  return void 0;
1256
1331
  }
@@ -1258,31 +1333,1025 @@ function HealthCheckItemToJSON(value) {
1258
1333
  return null;
1259
1334
  }
1260
1335
  return {
1261
- "status": value.status,
1262
- "message": value.message
1336
+ "success": value.success,
1337
+ "code": value.code,
1338
+ "message": value.message,
1339
+ "data": ExecuteActionResponseToJSON(value.data),
1340
+ "timestamp": value.timestamp,
1341
+ "path": value.path,
1342
+ "requestId": value.requestId,
1343
+ "traceId": value.traceId
1263
1344
  };
1264
1345
  }
1265
1346
 
1266
- // src/generated/models/HealthCheckResponse.ts
1267
- function instanceOfHealthCheckResponse(value) {
1347
+ // src/generated/models/ExecuteActionRequest.ts
1348
+ function instanceOfExecuteActionRequest(value) {
1268
1349
  let isInstance = true;
1269
- isInstance = isInstance && "status" in value;
1270
- isInstance = isInstance && "timestamp" in value;
1350
+ isInstance = isInstance && "actionType" in value;
1351
+ isInstance = isInstance && "params" in value;
1352
+ isInstance = isInstance && "context" in value;
1271
1353
  return isInstance;
1272
1354
  }
1273
- function HealthCheckResponseFromJSON(json) {
1274
- return HealthCheckResponseFromJSONTyped(json, false);
1355
+ function ExecuteActionRequestFromJSON(json) {
1356
+ return ExecuteActionRequestFromJSONTyped(json, false);
1275
1357
  }
1276
- function HealthCheckResponseFromJSONTyped(json, ignoreDiscriminator) {
1358
+ function ExecuteActionRequestFromJSONTyped(json, ignoreDiscriminator) {
1277
1359
  if (json === void 0 || json === null) {
1278
1360
  return json;
1279
1361
  }
1280
1362
  return {
1281
- "status": json["status"],
1282
- "timestamp": json["timestamp"]
1363
+ "actionType": json["actionType"],
1364
+ "actionDefinitionVersionId": !exists(json, "actionDefinitionVersionId") ? void 0 : json["actionDefinitionVersionId"],
1365
+ "params": json["params"],
1366
+ "idempotencyKey": !exists(json, "idempotencyKey") ? void 0 : json["idempotencyKey"],
1367
+ "context": ActionClientContextFromJSON(json["context"])
1368
+ };
1369
+ }
1370
+ function ExecuteActionRequestToJSON(value) {
1371
+ if (value === void 0) {
1372
+ return void 0;
1373
+ }
1374
+ if (value === null) {
1375
+ return null;
1376
+ }
1377
+ return {
1378
+ "actionType": value.actionType,
1379
+ "actionDefinitionVersionId": value.actionDefinitionVersionId,
1380
+ "params": value.params,
1381
+ "idempotencyKey": value.idempotencyKey,
1382
+ "context": ActionClientContextToJSON(value.context)
1383
+ };
1384
+ }
1385
+
1386
+ // src/generated/models/GetActionDefinition200Response.ts
1387
+ function instanceOfGetActionDefinition200Response(value) {
1388
+ let isInstance = true;
1389
+ isInstance = isInstance && "success" in value;
1390
+ isInstance = isInstance && "code" in value;
1391
+ isInstance = isInstance && "message" in value;
1392
+ isInstance = isInstance && "data" in value;
1393
+ isInstance = isInstance && "timestamp" in value;
1394
+ isInstance = isInstance && "path" in value;
1395
+ return isInstance;
1396
+ }
1397
+ function GetActionDefinition200ResponseFromJSON(json) {
1398
+ return GetActionDefinition200ResponseFromJSONTyped(json, false);
1399
+ }
1400
+ function GetActionDefinition200ResponseFromJSONTyped(json, ignoreDiscriminator) {
1401
+ if (json === void 0 || json === null) {
1402
+ return json;
1403
+ }
1404
+ return {
1405
+ "success": json["success"],
1406
+ "code": json["code"],
1407
+ "message": json["message"],
1408
+ "data": ActionDefinitionVersionResponseFromJSON(json["data"]),
1409
+ "timestamp": json["timestamp"],
1410
+ "path": json["path"],
1411
+ "requestId": !exists(json, "requestId") ? void 0 : json["requestId"],
1412
+ "traceId": !exists(json, "traceId") ? void 0 : json["traceId"]
1413
+ };
1414
+ }
1415
+ function GetActionDefinition200ResponseToJSON(value) {
1416
+ if (value === void 0) {
1417
+ return void 0;
1418
+ }
1419
+ if (value === null) {
1420
+ return null;
1421
+ }
1422
+ return {
1423
+ "success": value.success,
1424
+ "code": value.code,
1425
+ "message": value.message,
1426
+ "data": ActionDefinitionVersionResponseToJSON(value.data),
1427
+ "timestamp": value.timestamp,
1428
+ "path": value.path,
1429
+ "requestId": value.requestId,
1430
+ "traceId": value.traceId
1431
+ };
1432
+ }
1433
+
1434
+ // src/generated/models/GetActivityInfo200Response.ts
1435
+ function instanceOfGetActivityInfo200Response(value) {
1436
+ let isInstance = true;
1437
+ isInstance = isInstance && "success" in value;
1438
+ isInstance = isInstance && "code" in value;
1439
+ isInstance = isInstance && "message" in value;
1440
+ isInstance = isInstance && "data" in value;
1441
+ isInstance = isInstance && "timestamp" in value;
1442
+ isInstance = isInstance && "path" in value;
1443
+ return isInstance;
1444
+ }
1445
+ function GetActivityInfo200ResponseFromJSON(json) {
1446
+ return GetActivityInfo200ResponseFromJSONTyped(json, false);
1447
+ }
1448
+ function GetActivityInfo200ResponseFromJSONTyped(json, ignoreDiscriminator) {
1449
+ if (json === void 0 || json === null) {
1450
+ return json;
1451
+ }
1452
+ return {
1453
+ "success": json["success"],
1454
+ "code": json["code"],
1455
+ "message": json["message"],
1456
+ "data": ActivityInfoResponseFromJSON(json["data"]),
1457
+ "timestamp": json["timestamp"],
1458
+ "path": json["path"],
1459
+ "requestId": !exists(json, "requestId") ? void 0 : json["requestId"],
1460
+ "traceId": !exists(json, "traceId") ? void 0 : json["traceId"]
1461
+ };
1462
+ }
1463
+ function GetActivityInfo200ResponseToJSON(value) {
1464
+ if (value === void 0) {
1465
+ return void 0;
1466
+ }
1467
+ if (value === null) {
1468
+ return null;
1469
+ }
1470
+ return {
1471
+ "success": value.success,
1472
+ "code": value.code,
1473
+ "message": value.message,
1474
+ "data": ActivityInfoResponseToJSON(value.data),
1475
+ "timestamp": value.timestamp,
1476
+ "path": value.path,
1477
+ "requestId": value.requestId,
1478
+ "traceId": value.traceId
1479
+ };
1480
+ }
1481
+
1482
+ // src/generated/models/GetActivityState200Response.ts
1483
+ function instanceOfGetActivityState200Response(value) {
1484
+ let isInstance = true;
1485
+ isInstance = isInstance && "success" in value;
1486
+ isInstance = isInstance && "code" in value;
1487
+ isInstance = isInstance && "message" in value;
1488
+ isInstance = isInstance && "data" in value;
1489
+ isInstance = isInstance && "timestamp" in value;
1490
+ isInstance = isInstance && "path" in value;
1491
+ return isInstance;
1492
+ }
1493
+ function GetActivityState200ResponseFromJSON(json) {
1494
+ return GetActivityState200ResponseFromJSONTyped(json, false);
1495
+ }
1496
+ function GetActivityState200ResponseFromJSONTyped(json, ignoreDiscriminator) {
1497
+ if (json === void 0 || json === null) {
1498
+ return json;
1499
+ }
1500
+ return {
1501
+ "success": json["success"],
1502
+ "code": json["code"],
1503
+ "message": json["message"],
1504
+ "data": ActivityStatusResponseFromJSON(json["data"]),
1505
+ "timestamp": json["timestamp"],
1506
+ "path": json["path"],
1507
+ "requestId": !exists(json, "requestId") ? void 0 : json["requestId"],
1508
+ "traceId": !exists(json, "traceId") ? void 0 : json["traceId"]
1509
+ };
1510
+ }
1511
+ function GetActivityState200ResponseToJSON(value) {
1512
+ if (value === void 0) {
1513
+ return void 0;
1514
+ }
1515
+ if (value === null) {
1516
+ return null;
1517
+ }
1518
+ return {
1519
+ "success": value.success,
1520
+ "code": value.code,
1521
+ "message": value.message,
1522
+ "data": ActivityStatusResponseToJSON(value.data),
1523
+ "timestamp": value.timestamp,
1524
+ "path": value.path,
1525
+ "requestId": value.requestId,
1526
+ "traceId": value.traceId
1527
+ };
1528
+ }
1529
+
1530
+ // src/generated/models/PaginatedRecordsResponse.ts
1531
+ function instanceOfPaginatedRecordsResponse(value) {
1532
+ let isInstance = true;
1533
+ isInstance = isInstance && "success" in value;
1534
+ isInstance = isInstance && "data" in value;
1535
+ return isInstance;
1536
+ }
1537
+ function PaginatedRecordsResponseFromJSON(json) {
1538
+ return PaginatedRecordsResponseFromJSONTyped(json, false);
1539
+ }
1540
+ function PaginatedRecordsResponseFromJSONTyped(json, ignoreDiscriminator) {
1541
+ if (json === void 0 || json === null) {
1542
+ return json;
1543
+ }
1544
+ return {
1545
+ "success": json["success"],
1546
+ "data": json["data"],
1547
+ "meta": !exists(json, "meta") ? void 0 : CursorPaginationMetaFromJSON(json["meta"])
1548
+ };
1549
+ }
1550
+ function PaginatedRecordsResponseToJSON(value) {
1551
+ if (value === void 0) {
1552
+ return void 0;
1553
+ }
1554
+ if (value === null) {
1555
+ return null;
1556
+ }
1557
+ return {
1558
+ "success": value.success,
1559
+ "data": value.data,
1560
+ "meta": CursorPaginationMetaToJSON(value.meta)
1561
+ };
1562
+ }
1563
+
1564
+ // src/generated/models/GetClaimRecords200Response.ts
1565
+ function instanceOfGetClaimRecords200Response(value) {
1566
+ let isInstance = true;
1567
+ isInstance = isInstance && "success" in value;
1568
+ isInstance = isInstance && "code" in value;
1569
+ isInstance = isInstance && "message" in value;
1570
+ isInstance = isInstance && "data" in value;
1571
+ isInstance = isInstance && "timestamp" in value;
1572
+ isInstance = isInstance && "path" in value;
1573
+ return isInstance;
1574
+ }
1575
+ function GetClaimRecords200ResponseFromJSON(json) {
1576
+ return GetClaimRecords200ResponseFromJSONTyped(json, false);
1577
+ }
1578
+ function GetClaimRecords200ResponseFromJSONTyped(json, ignoreDiscriminator) {
1579
+ if (json === void 0 || json === null) {
1580
+ return json;
1581
+ }
1582
+ return {
1583
+ "success": json["success"],
1584
+ "code": json["code"],
1585
+ "message": json["message"],
1586
+ "data": PaginatedRecordsResponseFromJSON(json["data"]),
1587
+ "timestamp": json["timestamp"],
1588
+ "path": json["path"],
1589
+ "requestId": !exists(json, "requestId") ? void 0 : json["requestId"],
1590
+ "traceId": !exists(json, "traceId") ? void 0 : json["traceId"]
1591
+ };
1592
+ }
1593
+ function GetClaimRecords200ResponseToJSON(value) {
1594
+ if (value === void 0) {
1595
+ return void 0;
1596
+ }
1597
+ if (value === null) {
1598
+ return null;
1599
+ }
1600
+ return {
1601
+ "success": value.success,
1602
+ "code": value.code,
1603
+ "message": value.message,
1604
+ "data": PaginatedRecordsResponseToJSON(value.data),
1605
+ "timestamp": value.timestamp,
1606
+ "path": value.path,
1607
+ "requestId": value.requestId,
1608
+ "traceId": value.traceId
1609
+ };
1610
+ }
1611
+
1612
+ // src/generated/models/GetClaimStatus200Response.ts
1613
+ function instanceOfGetClaimStatus200Response(value) {
1614
+ let isInstance = true;
1615
+ isInstance = isInstance && "success" in value;
1616
+ isInstance = isInstance && "code" in value;
1617
+ isInstance = isInstance && "message" in value;
1618
+ isInstance = isInstance && "data" in value;
1619
+ isInstance = isInstance && "timestamp" in value;
1620
+ isInstance = isInstance && "path" in value;
1621
+ return isInstance;
1622
+ }
1623
+ function GetClaimStatus200ResponseFromJSON(json) {
1624
+ return GetClaimStatus200ResponseFromJSONTyped(json, false);
1625
+ }
1626
+ function GetClaimStatus200ResponseFromJSONTyped(json, ignoreDiscriminator) {
1627
+ if (json === void 0 || json === null) {
1628
+ return json;
1629
+ }
1630
+ return {
1631
+ "success": json["success"],
1632
+ "code": json["code"],
1633
+ "message": json["message"],
1634
+ "data": ClaimStatusResponseFromJSON(json["data"]),
1635
+ "timestamp": json["timestamp"],
1636
+ "path": json["path"],
1637
+ "requestId": !exists(json, "requestId") ? void 0 : json["requestId"],
1638
+ "traceId": !exists(json, "traceId") ? void 0 : json["traceId"]
1639
+ };
1640
+ }
1641
+ function GetClaimStatus200ResponseToJSON(value) {
1642
+ if (value === void 0) {
1643
+ return void 0;
1644
+ }
1645
+ if (value === null) {
1646
+ return null;
1647
+ }
1648
+ return {
1649
+ "success": value.success,
1650
+ "code": value.code,
1651
+ "message": value.message,
1652
+ "data": ClaimStatusResponseToJSON(value.data),
1653
+ "timestamp": value.timestamp,
1654
+ "path": value.path,
1655
+ "requestId": value.requestId,
1656
+ "traceId": value.traceId
1657
+ };
1658
+ }
1659
+
1660
+ // src/generated/models/KillSwitchItem.ts
1661
+ var KillSwitchItemTargetTypeEnum = {
1662
+ ACTION: "action",
1663
+ COMPONENT: "component",
1664
+ FEATURE: "feature",
1665
+ PAGE: "page",
1666
+ QUERY: "query"
1667
+ };
1668
+ function instanceOfKillSwitchItem(value) {
1669
+ let isInstance = true;
1670
+ isInstance = isInstance && "targetType" in value;
1671
+ isInstance = isInstance && "targetId" in value;
1672
+ isInstance = isInstance && "enabled" in value;
1673
+ return isInstance;
1674
+ }
1675
+ function KillSwitchItemFromJSON(json) {
1676
+ return KillSwitchItemFromJSONTyped(json, false);
1677
+ }
1678
+ function KillSwitchItemFromJSONTyped(json, ignoreDiscriminator) {
1679
+ if (json === void 0 || json === null) {
1680
+ return json;
1681
+ }
1682
+ return {
1683
+ "targetType": json["targetType"],
1684
+ "targetId": json["targetId"],
1685
+ "enabled": json["enabled"],
1686
+ "reason": !exists(json, "reason") ? void 0 : json["reason"],
1687
+ "enabledAt": !exists(json, "enabledAt") ? void 0 : new Date(json["enabledAt"]),
1688
+ "enabledBy": !exists(json, "enabledBy") ? void 0 : json["enabledBy"],
1689
+ "userMessage": !exists(json, "userMessage") ? void 0 : json["userMessage"]
1690
+ };
1691
+ }
1692
+ function KillSwitchItemToJSON(value) {
1693
+ if (value === void 0) {
1694
+ return void 0;
1695
+ }
1696
+ if (value === null) {
1697
+ return null;
1698
+ }
1699
+ return {
1700
+ "targetType": value.targetType,
1701
+ "targetId": value.targetId,
1702
+ "enabled": value.enabled,
1703
+ "reason": value.reason,
1704
+ "enabledAt": value.enabledAt === void 0 ? void 0 : value.enabledAt.toISOString(),
1705
+ "enabledBy": value.enabledBy,
1706
+ "userMessage": value.userMessage
1707
+ };
1708
+ }
1709
+
1710
+ // src/generated/models/RateLimitConfig.ts
1711
+ function instanceOfRateLimitConfig(value) {
1712
+ let isInstance = true;
1713
+ return isInstance;
1714
+ }
1715
+ function RateLimitConfigFromJSON(json) {
1716
+ return RateLimitConfigFromJSONTyped(json, false);
1717
+ }
1718
+ function RateLimitConfigFromJSONTyped(json, ignoreDiscriminator) {
1719
+ if (json === void 0 || json === null) {
1720
+ return json;
1721
+ }
1722
+ return {
1723
+ "globalQps": !exists(json, "globalQps") ? void 0 : json["globalQps"],
1724
+ "actionQps": !exists(json, "actionQps") ? void 0 : json["actionQps"]
1725
+ };
1726
+ }
1727
+ function RateLimitConfigToJSON(value) {
1728
+ if (value === void 0) {
1729
+ return void 0;
1730
+ }
1731
+ if (value === null) {
1732
+ return null;
1733
+ }
1734
+ return {
1735
+ "globalQps": value.globalQps,
1736
+ "actionQps": value.actionQps
1737
+ };
1738
+ }
1739
+
1740
+ // src/generated/models/OpsConfig.ts
1741
+ function instanceOfOpsConfig(value) {
1742
+ let isInstance = true;
1743
+ isInstance = isInstance && "killSwitch" in value;
1744
+ isInstance = isInstance && "blockedComponents" in value;
1745
+ isInstance = isInstance && "flags" in value;
1746
+ return isInstance;
1747
+ }
1748
+ function OpsConfigFromJSON(json) {
1749
+ return OpsConfigFromJSONTyped(json, false);
1750
+ }
1751
+ function OpsConfigFromJSONTyped(json, ignoreDiscriminator) {
1752
+ if (json === void 0 || json === null) {
1753
+ return json;
1754
+ }
1755
+ return {
1756
+ "configVersionId": !exists(json, "configVersionId") ? void 0 : json["configVersionId"],
1757
+ "killSwitch": json["killSwitch"].map(KillSwitchItemFromJSON),
1758
+ "blockedComponents": json["blockedComponents"].map(BlockedComponentItemFromJSON),
1759
+ "flags": json["flags"],
1760
+ "rateLimit": !exists(json, "rateLimit") ? void 0 : RateLimitConfigFromJSON(json["rateLimit"]),
1761
+ "expiresAt": !exists(json, "expiresAt") ? void 0 : new Date(json["expiresAt"])
1762
+ };
1763
+ }
1764
+ function OpsConfigToJSON(value) {
1765
+ if (value === void 0) {
1766
+ return void 0;
1767
+ }
1768
+ if (value === null) {
1769
+ return null;
1770
+ }
1771
+ return {
1772
+ "configVersionId": value.configVersionId,
1773
+ "killSwitch": value.killSwitch.map(KillSwitchItemToJSON),
1774
+ "blockedComponents": value.blockedComponents.map(BlockedComponentItemToJSON),
1775
+ "flags": value.flags,
1776
+ "rateLimit": RateLimitConfigToJSON(value.rateLimit),
1777
+ "expiresAt": value.expiresAt === void 0 ? void 0 : value.expiresAt.toISOString()
1778
+ };
1779
+ }
1780
+
1781
+ // src/generated/models/GetPageConfig200Response.ts
1782
+ function instanceOfGetPageConfig200Response(value) {
1783
+ let isInstance = true;
1784
+ isInstance = isInstance && "success" in value;
1785
+ isInstance = isInstance && "code" in value;
1786
+ isInstance = isInstance && "message" in value;
1787
+ isInstance = isInstance && "data" in value;
1788
+ isInstance = isInstance && "timestamp" in value;
1789
+ isInstance = isInstance && "path" in value;
1790
+ return isInstance;
1791
+ }
1792
+ function GetPageConfig200ResponseFromJSON(json) {
1793
+ return GetPageConfig200ResponseFromJSONTyped(json, false);
1794
+ }
1795
+ function GetPageConfig200ResponseFromJSONTyped(json, ignoreDiscriminator) {
1796
+ if (json === void 0 || json === null) {
1797
+ return json;
1798
+ }
1799
+ return {
1800
+ "success": json["success"],
1801
+ "code": json["code"],
1802
+ "message": json["message"],
1803
+ "data": OpsConfigFromJSON(json["data"]),
1804
+ "timestamp": json["timestamp"],
1805
+ "path": json["path"],
1806
+ "requestId": !exists(json, "requestId") ? void 0 : json["requestId"],
1807
+ "traceId": !exists(json, "traceId") ? void 0 : json["traceId"]
1808
+ };
1809
+ }
1810
+ function GetPageConfig200ResponseToJSON(value) {
1811
+ if (value === void 0) {
1812
+ return void 0;
1813
+ }
1814
+ if (value === null) {
1815
+ return null;
1816
+ }
1817
+ return {
1818
+ "success": value.success,
1819
+ "code": value.code,
1820
+ "message": value.message,
1821
+ "data": OpsConfigToJSON(value.data),
1822
+ "timestamp": value.timestamp,
1823
+ "path": value.path,
1824
+ "requestId": value.requestId,
1825
+ "traceId": value.traceId
1826
+ };
1827
+ }
1828
+
1829
+ // src/generated/models/ManifestComponent.ts
1830
+ var ManifestComponentSourceEnum = {
1831
+ BUNDLED: "bundled",
1832
+ REMOTE: "remote"
1833
+ };
1834
+ function instanceOfManifestComponent(value) {
1835
+ let isInstance = true;
1836
+ isInstance = isInstance && "name" in value;
1837
+ isInstance = isInstance && "version" in value;
1838
+ isInstance = isInstance && "source" in value;
1839
+ isInstance = isInstance && "integrity" in value;
1840
+ return isInstance;
1841
+ }
1842
+ function ManifestComponentFromJSON(json) {
1843
+ return ManifestComponentFromJSONTyped(json, false);
1844
+ }
1845
+ function ManifestComponentFromJSONTyped(json, ignoreDiscriminator) {
1846
+ if (json === void 0 || json === null) {
1847
+ return json;
1848
+ }
1849
+ return {
1850
+ "name": json["name"],
1851
+ "version": json["version"],
1852
+ "source": json["source"],
1853
+ "entry": !exists(json, "entry") ? void 0 : json["entry"],
1854
+ "styleEntry": !exists(json, "styleEntry") ? void 0 : json["styleEntry"],
1855
+ "integrity": json["integrity"],
1856
+ "preload": !exists(json, "preload") ? void 0 : json["preload"]
1857
+ };
1858
+ }
1859
+ function ManifestComponentToJSON(value) {
1860
+ if (value === void 0) {
1861
+ return void 0;
1862
+ }
1863
+ if (value === null) {
1864
+ return null;
1865
+ }
1866
+ return {
1867
+ "name": value.name,
1868
+ "version": value.version,
1869
+ "source": value.source,
1870
+ "entry": value.entry,
1871
+ "styleEntry": value.styleEntry,
1872
+ "integrity": value.integrity,
1873
+ "preload": value.preload
1874
+ };
1875
+ }
1876
+
1877
+ // src/generated/models/ManifestRuntime.ts
1878
+ function instanceOfManifestRuntime(value) {
1879
+ let isInstance = true;
1880
+ isInstance = isInstance && "version" in value;
1881
+ isInstance = isInstance && "minVersion" in value;
1882
+ return isInstance;
1883
+ }
1884
+ function ManifestRuntimeFromJSON(json) {
1885
+ return ManifestRuntimeFromJSONTyped(json, false);
1886
+ }
1887
+ function ManifestRuntimeFromJSONTyped(json, ignoreDiscriminator) {
1888
+ if (json === void 0 || json === null) {
1889
+ return json;
1890
+ }
1891
+ return {
1892
+ "version": json["version"],
1893
+ "minVersion": json["minVersion"]
1894
+ };
1895
+ }
1896
+ function ManifestRuntimeToJSON(value) {
1897
+ if (value === void 0) {
1898
+ return void 0;
1899
+ }
1900
+ if (value === null) {
1901
+ return null;
1902
+ }
1903
+ return {
1904
+ "version": value.version,
1905
+ "minVersion": value.minVersion
1906
+ };
1907
+ }
1908
+
1909
+ // src/generated/models/ManifestResponse.ts
1910
+ function instanceOfManifestResponse(value) {
1911
+ let isInstance = true;
1912
+ isInstance = isInstance && "pageVersionId" in value;
1913
+ isInstance = isInstance && "manifestVersion" in value;
1914
+ isInstance = isInstance && "components" in value;
1915
+ isInstance = isInstance && "runtime" in value;
1916
+ return isInstance;
1917
+ }
1918
+ function ManifestResponseFromJSON(json) {
1919
+ return ManifestResponseFromJSONTyped(json, false);
1920
+ }
1921
+ function ManifestResponseFromJSONTyped(json, ignoreDiscriminator) {
1922
+ if (json === void 0 || json === null) {
1923
+ return json;
1924
+ }
1925
+ return {
1926
+ "pageVersionId": json["pageVersionId"],
1927
+ "manifestVersion": json["manifestVersion"],
1928
+ "components": json["components"].map(ManifestComponentFromJSON),
1929
+ "runtime": ManifestRuntimeFromJSON(json["runtime"])
1930
+ };
1931
+ }
1932
+ function ManifestResponseToJSON(value) {
1933
+ if (value === void 0) {
1934
+ return void 0;
1935
+ }
1936
+ if (value === null) {
1937
+ return null;
1938
+ }
1939
+ return {
1940
+ "pageVersionId": value.pageVersionId,
1941
+ "manifestVersion": value.manifestVersion,
1942
+ "components": value.components.map(ManifestComponentToJSON),
1943
+ "runtime": ManifestRuntimeToJSON(value.runtime)
1944
+ };
1945
+ }
1946
+
1947
+ // src/generated/models/GetPageManifest200Response.ts
1948
+ function instanceOfGetPageManifest200Response(value) {
1949
+ let isInstance = true;
1950
+ isInstance = isInstance && "success" in value;
1951
+ isInstance = isInstance && "code" in value;
1952
+ isInstance = isInstance && "message" in value;
1953
+ isInstance = isInstance && "data" in value;
1954
+ isInstance = isInstance && "timestamp" in value;
1955
+ isInstance = isInstance && "path" in value;
1956
+ return isInstance;
1957
+ }
1958
+ function GetPageManifest200ResponseFromJSON(json) {
1959
+ return GetPageManifest200ResponseFromJSONTyped(json, false);
1960
+ }
1961
+ function GetPageManifest200ResponseFromJSONTyped(json, ignoreDiscriminator) {
1962
+ if (json === void 0 || json === null) {
1963
+ return json;
1964
+ }
1965
+ return {
1966
+ "success": json["success"],
1967
+ "code": json["code"],
1968
+ "message": json["message"],
1969
+ "data": ManifestResponseFromJSON(json["data"]),
1970
+ "timestamp": json["timestamp"],
1971
+ "path": json["path"],
1972
+ "requestId": !exists(json, "requestId") ? void 0 : json["requestId"],
1973
+ "traceId": !exists(json, "traceId") ? void 0 : json["traceId"]
1974
+ };
1975
+ }
1976
+ function GetPageManifest200ResponseToJSON(value) {
1977
+ if (value === void 0) {
1978
+ return void 0;
1979
+ }
1980
+ if (value === null) {
1981
+ return null;
1982
+ }
1983
+ return {
1984
+ "success": value.success,
1985
+ "code": value.code,
1986
+ "message": value.message,
1987
+ "data": ManifestResponseToJSON(value.data),
1988
+ "timestamp": value.timestamp,
1989
+ "path": value.path,
1990
+ "requestId": value.requestId,
1991
+ "traceId": value.traceId
1992
+ };
1993
+ }
1994
+
1995
+ // src/generated/models/QueryDefinitionResponse.ts
1996
+ var QueryDefinitionResponseStatusEnum = {
1997
+ DRAFT: "draft",
1998
+ STABLE: "stable",
1999
+ DEPRECATED: "deprecated",
2000
+ BLOCKED: "blocked"
2001
+ };
2002
+ function instanceOfQueryDefinitionResponse(value) {
2003
+ let isInstance = true;
2004
+ isInstance = isInstance && "uid" in value;
2005
+ isInstance = isInstance && "queryUid" in value;
2006
+ isInstance = isInstance && "versionNumber" in value;
2007
+ isInstance = isInstance && "spec" in value;
2008
+ isInstance = isInstance && "status" in value;
2009
+ return isInstance;
2010
+ }
2011
+ function QueryDefinitionResponseFromJSON(json) {
2012
+ return QueryDefinitionResponseFromJSONTyped(json, false);
2013
+ }
2014
+ function QueryDefinitionResponseFromJSONTyped(json, ignoreDiscriminator) {
2015
+ if (json === void 0 || json === null) {
2016
+ return json;
2017
+ }
2018
+ return {
2019
+ "uid": json["uid"],
2020
+ "queryUid": json["queryUid"],
2021
+ "versionNumber": json["versionNumber"],
2022
+ "versionLabel": !exists(json, "versionLabel") ? void 0 : json["versionLabel"],
2023
+ "spec": json["spec"],
2024
+ "status": json["status"]
2025
+ };
2026
+ }
2027
+ function QueryDefinitionResponseToJSON(value) {
2028
+ if (value === void 0) {
2029
+ return void 0;
2030
+ }
2031
+ if (value === null) {
2032
+ return null;
2033
+ }
2034
+ return {
2035
+ "uid": value.uid,
2036
+ "queryUid": value.queryUid,
2037
+ "versionNumber": value.versionNumber,
2038
+ "versionLabel": value.versionLabel,
2039
+ "spec": value.spec,
2040
+ "status": value.status
2041
+ };
2042
+ }
2043
+
2044
+ // src/generated/models/GetQueryDefinition200Response.ts
2045
+ function instanceOfGetQueryDefinition200Response(value) {
2046
+ let isInstance = true;
2047
+ isInstance = isInstance && "success" in value;
2048
+ isInstance = isInstance && "code" in value;
2049
+ isInstance = isInstance && "message" in value;
2050
+ isInstance = isInstance && "data" in value;
2051
+ isInstance = isInstance && "timestamp" in value;
2052
+ isInstance = isInstance && "path" in value;
2053
+ return isInstance;
2054
+ }
2055
+ function GetQueryDefinition200ResponseFromJSON(json) {
2056
+ return GetQueryDefinition200ResponseFromJSONTyped(json, false);
2057
+ }
2058
+ function GetQueryDefinition200ResponseFromJSONTyped(json, ignoreDiscriminator) {
2059
+ if (json === void 0 || json === null) {
2060
+ return json;
2061
+ }
2062
+ return {
2063
+ "success": json["success"],
2064
+ "code": json["code"],
2065
+ "message": json["message"],
2066
+ "data": QueryDefinitionResponseFromJSON(json["data"]),
2067
+ "timestamp": json["timestamp"],
2068
+ "path": json["path"],
2069
+ "requestId": !exists(json, "requestId") ? void 0 : json["requestId"],
2070
+ "traceId": !exists(json, "traceId") ? void 0 : json["traceId"]
2071
+ };
2072
+ }
2073
+ function GetQueryDefinition200ResponseToJSON(value) {
2074
+ if (value === void 0) {
2075
+ return void 0;
2076
+ }
2077
+ if (value === null) {
2078
+ return null;
2079
+ }
2080
+ return {
2081
+ "success": value.success,
2082
+ "code": value.code,
2083
+ "message": value.message,
2084
+ "data": QueryDefinitionResponseToJSON(value.data),
2085
+ "timestamp": value.timestamp,
2086
+ "path": value.path,
2087
+ "requestId": value.requestId,
2088
+ "traceId": value.traceId
2089
+ };
2090
+ }
2091
+
2092
+ // src/generated/models/SigninCalendarData.ts
2093
+ function instanceOfSigninCalendarData(value) {
2094
+ let isInstance = true;
2095
+ isInstance = isInstance && "activityId" in value;
2096
+ isInstance = isInstance && "month" in value;
2097
+ isInstance = isInstance && "signedDates" in value;
2098
+ isInstance = isInstance && "consecutiveDays" in value;
2099
+ isInstance = isInstance && "totalDays" in value;
2100
+ return isInstance;
2101
+ }
2102
+ function SigninCalendarDataFromJSON(json) {
2103
+ return SigninCalendarDataFromJSONTyped(json, false);
2104
+ }
2105
+ function SigninCalendarDataFromJSONTyped(json, ignoreDiscriminator) {
2106
+ if (json === void 0 || json === null) {
2107
+ return json;
2108
+ }
2109
+ return {
2110
+ "activityId": json["activityId"],
2111
+ "month": json["month"],
2112
+ "signedDates": json["signedDates"],
2113
+ "consecutiveDays": json["consecutiveDays"],
2114
+ "totalDays": json["totalDays"]
2115
+ };
2116
+ }
2117
+ function SigninCalendarDataToJSON(value) {
2118
+ if (value === void 0) {
2119
+ return void 0;
2120
+ }
2121
+ if (value === null) {
2122
+ return null;
2123
+ }
2124
+ return {
2125
+ "activityId": value.activityId,
2126
+ "month": value.month,
2127
+ "signedDates": value.signedDates,
2128
+ "consecutiveDays": value.consecutiveDays,
2129
+ "totalDays": value.totalDays
2130
+ };
2131
+ }
2132
+
2133
+ // src/generated/models/SigninCalendarResponse.ts
2134
+ function instanceOfSigninCalendarResponse(value) {
2135
+ let isInstance = true;
2136
+ isInstance = isInstance && "success" in value;
2137
+ isInstance = isInstance && "data" in value;
2138
+ return isInstance;
2139
+ }
2140
+ function SigninCalendarResponseFromJSON(json) {
2141
+ return SigninCalendarResponseFromJSONTyped(json, false);
2142
+ }
2143
+ function SigninCalendarResponseFromJSONTyped(json, ignoreDiscriminator) {
2144
+ if (json === void 0 || json === null) {
2145
+ return json;
2146
+ }
2147
+ return {
2148
+ "success": json["success"],
2149
+ "data": SigninCalendarDataFromJSON(json["data"])
2150
+ };
2151
+ }
2152
+ function SigninCalendarResponseToJSON(value) {
2153
+ if (value === void 0) {
2154
+ return void 0;
2155
+ }
2156
+ if (value === null) {
2157
+ return null;
2158
+ }
2159
+ return {
2160
+ "success": value.success,
2161
+ "data": SigninCalendarDataToJSON(value.data)
2162
+ };
2163
+ }
2164
+
2165
+ // src/generated/models/GetSigninCalendar200Response.ts
2166
+ function instanceOfGetSigninCalendar200Response(value) {
2167
+ let isInstance = true;
2168
+ isInstance = isInstance && "success" in value;
2169
+ isInstance = isInstance && "code" in value;
2170
+ isInstance = isInstance && "message" in value;
2171
+ isInstance = isInstance && "data" in value;
2172
+ isInstance = isInstance && "timestamp" in value;
2173
+ isInstance = isInstance && "path" in value;
2174
+ return isInstance;
2175
+ }
2176
+ function GetSigninCalendar200ResponseFromJSON(json) {
2177
+ return GetSigninCalendar200ResponseFromJSONTyped(json, false);
2178
+ }
2179
+ function GetSigninCalendar200ResponseFromJSONTyped(json, ignoreDiscriminator) {
2180
+ if (json === void 0 || json === null) {
2181
+ return json;
2182
+ }
2183
+ return {
2184
+ "success": json["success"],
2185
+ "code": json["code"],
2186
+ "message": json["message"],
2187
+ "data": SigninCalendarResponseFromJSON(json["data"]),
2188
+ "timestamp": json["timestamp"],
2189
+ "path": json["path"],
2190
+ "requestId": !exists(json, "requestId") ? void 0 : json["requestId"],
2191
+ "traceId": !exists(json, "traceId") ? void 0 : json["traceId"]
2192
+ };
2193
+ }
2194
+ function GetSigninCalendar200ResponseToJSON(value) {
2195
+ if (value === void 0) {
2196
+ return void 0;
2197
+ }
2198
+ if (value === null) {
2199
+ return null;
2200
+ }
2201
+ return {
2202
+ "success": value.success,
2203
+ "code": value.code,
2204
+ "message": value.message,
2205
+ "data": SigninCalendarResponseToJSON(value.data),
2206
+ "timestamp": value.timestamp,
2207
+ "path": value.path,
2208
+ "requestId": value.requestId,
2209
+ "traceId": value.traceId
2210
+ };
2211
+ }
2212
+
2213
+ // src/generated/models/RewardInfo.ts
2214
+ function instanceOfRewardInfo(value) {
2215
+ let isInstance = true;
2216
+ isInstance = isInstance && "type" in value;
2217
+ isInstance = isInstance && "value" in value;
2218
+ isInstance = isInstance && "description" in value;
2219
+ return isInstance;
2220
+ }
2221
+ function RewardInfoFromJSON(json) {
2222
+ return RewardInfoFromJSONTyped(json, false);
2223
+ }
2224
+ function RewardInfoFromJSONTyped(json, ignoreDiscriminator) {
2225
+ if (json === void 0 || json === null) {
2226
+ return json;
2227
+ }
2228
+ return {
2229
+ "type": json["type"],
2230
+ "value": json["value"],
2231
+ "description": json["description"]
2232
+ };
2233
+ }
2234
+ function RewardInfoToJSON(value) {
2235
+ if (value === void 0) {
2236
+ return void 0;
2237
+ }
2238
+ if (value === null) {
2239
+ return null;
2240
+ }
2241
+ return {
2242
+ "type": value.type,
2243
+ "value": value.value,
2244
+ "description": value.description
2245
+ };
2246
+ }
2247
+
2248
+ // src/generated/models/MilestoneInfo.ts
2249
+ function instanceOfMilestoneInfo(value) {
2250
+ let isInstance = true;
2251
+ isInstance = isInstance && "days" in value;
2252
+ isInstance = isInstance && "reward" in value;
2253
+ return isInstance;
2254
+ }
2255
+ function MilestoneInfoFromJSON(json) {
2256
+ return MilestoneInfoFromJSONTyped(json, false);
2257
+ }
2258
+ function MilestoneInfoFromJSONTyped(json, ignoreDiscriminator) {
2259
+ if (json === void 0 || json === null) {
2260
+ return json;
2261
+ }
2262
+ return {
2263
+ "days": json["days"],
2264
+ "reward": RewardInfoFromJSON(json["reward"])
2265
+ };
2266
+ }
2267
+ function MilestoneInfoToJSON(value) {
2268
+ if (value === void 0) {
2269
+ return void 0;
2270
+ }
2271
+ if (value === null) {
2272
+ return null;
2273
+ }
2274
+ return {
2275
+ "days": value.days,
2276
+ "reward": RewardInfoToJSON(value.reward)
2277
+ };
2278
+ }
2279
+
2280
+ // src/generated/models/SigninStatusResponse.ts
2281
+ function instanceOfSigninStatusResponse(value) {
2282
+ let isInstance = true;
2283
+ isInstance = isInstance && "activityUid" in value;
2284
+ isInstance = isInstance && "hasSignedToday" in value;
2285
+ isInstance = isInstance && "consecutiveDays" in value;
2286
+ isInstance = isInstance && "totalDays" in value;
2287
+ isInstance = isInstance && "signedDates" in value;
2288
+ return isInstance;
2289
+ }
2290
+ function SigninStatusResponseFromJSON(json) {
2291
+ return SigninStatusResponseFromJSONTyped(json, false);
2292
+ }
2293
+ function SigninStatusResponseFromJSONTyped(json, ignoreDiscriminator) {
2294
+ if (json === void 0 || json === null) {
2295
+ return json;
2296
+ }
2297
+ return {
2298
+ "activityUid": json["activityUid"],
2299
+ "hasSignedToday": json["hasSignedToday"],
2300
+ "consecutiveDays": json["consecutiveDays"],
2301
+ "totalDays": json["totalDays"],
2302
+ "signedDates": json["signedDates"],
2303
+ "todayReward": !exists(json, "todayReward") ? void 0 : RewardInfoFromJSON(json["todayReward"]),
2304
+ "nextMilestone": !exists(json, "nextMilestone") ? void 0 : MilestoneInfoFromJSON(json["nextMilestone"])
2305
+ };
2306
+ }
2307
+ function SigninStatusResponseToJSON(value) {
2308
+ if (value === void 0) {
2309
+ return void 0;
2310
+ }
2311
+ if (value === null) {
2312
+ return null;
2313
+ }
2314
+ return {
2315
+ "activityUid": value.activityUid,
2316
+ "hasSignedToday": value.hasSignedToday,
2317
+ "consecutiveDays": value.consecutiveDays,
2318
+ "totalDays": value.totalDays,
2319
+ "signedDates": value.signedDates,
2320
+ "todayReward": RewardInfoToJSON(value.todayReward),
2321
+ "nextMilestone": MilestoneInfoToJSON(value.nextMilestone)
2322
+ };
2323
+ }
2324
+
2325
+ // src/generated/models/GetSigninStatus200Response.ts
2326
+ function instanceOfGetSigninStatus200Response(value) {
2327
+ let isInstance = true;
2328
+ isInstance = isInstance && "success" in value;
2329
+ isInstance = isInstance && "code" in value;
2330
+ isInstance = isInstance && "message" in value;
2331
+ isInstance = isInstance && "data" in value;
2332
+ isInstance = isInstance && "timestamp" in value;
2333
+ isInstance = isInstance && "path" in value;
2334
+ return isInstance;
2335
+ }
2336
+ function GetSigninStatus200ResponseFromJSON(json) {
2337
+ return GetSigninStatus200ResponseFromJSONTyped(json, false);
2338
+ }
2339
+ function GetSigninStatus200ResponseFromJSONTyped(json, ignoreDiscriminator) {
2340
+ if (json === void 0 || json === null) {
2341
+ return json;
2342
+ }
2343
+ return {
2344
+ "success": json["success"],
2345
+ "code": json["code"],
2346
+ "message": json["message"],
2347
+ "data": SigninStatusResponseFromJSON(json["data"]),
2348
+ "timestamp": json["timestamp"],
2349
+ "path": json["path"],
2350
+ "requestId": !exists(json, "requestId") ? void 0 : json["requestId"],
2351
+ "traceId": !exists(json, "traceId") ? void 0 : json["traceId"]
1283
2352
  };
1284
2353
  }
1285
- function HealthCheckResponseToJSON(value) {
2354
+ function GetSigninStatus200ResponseToJSON(value) {
1286
2355
  if (value === void 0) {
1287
2356
  return void 0;
1288
2357
  }
@@ -1290,29 +2359,42 @@ function HealthCheckResponseToJSON(value) {
1290
2359
  return null;
1291
2360
  }
1292
2361
  return {
1293
- "status": value.status,
1294
- "timestamp": value.timestamp
2362
+ "success": value.success,
2363
+ "code": value.code,
2364
+ "message": value.message,
2365
+ "data": SigninStatusResponseToJSON(value.data),
2366
+ "timestamp": value.timestamp,
2367
+ "path": value.path,
2368
+ "requestId": value.requestId,
2369
+ "traceId": value.traceId
1295
2370
  };
1296
2371
  }
1297
2372
 
1298
- // src/generated/models/LivenessResponse.ts
1299
- function instanceOfLivenessResponse(value) {
2373
+ // src/generated/models/TenantConfigData.ts
2374
+ function instanceOfTenantConfigData(value) {
1300
2375
  let isInstance = true;
2376
+ isInstance = isInstance && "appId" in value;
1301
2377
  isInstance = isInstance && "status" in value;
1302
2378
  return isInstance;
1303
2379
  }
1304
- function LivenessResponseFromJSON(json) {
1305
- return LivenessResponseFromJSONTyped(json, false);
2380
+ function TenantConfigDataFromJSON(json) {
2381
+ return TenantConfigDataFromJSONTyped(json, false);
1306
2382
  }
1307
- function LivenessResponseFromJSONTyped(json, ignoreDiscriminator) {
2383
+ function TenantConfigDataFromJSONTyped(json, ignoreDiscriminator) {
1308
2384
  if (json === void 0 || json === null) {
1309
2385
  return json;
1310
2386
  }
1311
2387
  return {
1312
- "status": json["status"]
2388
+ "appId": json["appId"],
2389
+ "status": json["status"],
2390
+ "featureFlags": !exists(json, "featureFlags") ? void 0 : json["featureFlags"],
2391
+ "theme": !exists(json, "theme") ? void 0 : json["theme"],
2392
+ "cdnBase": !exists(json, "cdnBase") ? void 0 : json["cdnBase"],
2393
+ "blockedComponents": !exists(json, "blockedComponents") ? void 0 : json["blockedComponents"],
2394
+ "killSwitch": !exists(json, "killSwitch") ? void 0 : json["killSwitch"]
1313
2395
  };
1314
2396
  }
1315
- function LivenessResponseToJSON(value) {
2397
+ function TenantConfigDataToJSON(value) {
1316
2398
  if (value === void 0) {
1317
2399
  return void 0;
1318
2400
  }
@@ -1320,41 +2402,36 @@ function LivenessResponseToJSON(value) {
1320
2402
  return null;
1321
2403
  }
1322
2404
  return {
1323
- "status": value.status
2405
+ "appId": value.appId,
2406
+ "status": value.status,
2407
+ "featureFlags": value.featureFlags,
2408
+ "theme": value.theme,
2409
+ "cdnBase": value.cdnBase,
2410
+ "blockedComponents": value.blockedComponents,
2411
+ "killSwitch": value.killSwitch
1324
2412
  };
1325
2413
  }
1326
2414
 
1327
- // src/generated/models/ManifestComponent.ts
1328
- var ManifestComponentSourceEnum = {
1329
- BUNDLED: "bundled",
1330
- REMOTE: "remote"
1331
- };
1332
- function instanceOfManifestComponent(value) {
2415
+ // src/generated/models/TenantConfigResponse.ts
2416
+ function instanceOfTenantConfigResponse(value) {
1333
2417
  let isInstance = true;
1334
- isInstance = isInstance && "name" in value;
1335
- isInstance = isInstance && "version" in value;
1336
- isInstance = isInstance && "source" in value;
1337
- isInstance = isInstance && "integrity" in value;
2418
+ isInstance = isInstance && "success" in value;
2419
+ isInstance = isInstance && "data" in value;
1338
2420
  return isInstance;
1339
2421
  }
1340
- function ManifestComponentFromJSON(json) {
1341
- return ManifestComponentFromJSONTyped(json, false);
2422
+ function TenantConfigResponseFromJSON(json) {
2423
+ return TenantConfigResponseFromJSONTyped(json, false);
1342
2424
  }
1343
- function ManifestComponentFromJSONTyped(json, ignoreDiscriminator) {
2425
+ function TenantConfigResponseFromJSONTyped(json, ignoreDiscriminator) {
1344
2426
  if (json === void 0 || json === null) {
1345
2427
  return json;
1346
2428
  }
1347
2429
  return {
1348
- "name": json["name"],
1349
- "version": json["version"],
1350
- "source": json["source"],
1351
- "entry": !exists(json, "entry") ? void 0 : json["entry"],
1352
- "styleEntry": !exists(json, "styleEntry") ? void 0 : json["styleEntry"],
1353
- "integrity": json["integrity"],
1354
- "preload": !exists(json, "preload") ? void 0 : json["preload"]
2430
+ "success": json["success"],
2431
+ "data": TenantConfigDataFromJSON(json["data"])
1355
2432
  };
1356
2433
  }
1357
- function ManifestComponentToJSON(value) {
2434
+ function TenantConfigResponseToJSON(value) {
1358
2435
  if (value === void 0) {
1359
2436
  return void 0;
1360
2437
  }
@@ -1362,36 +2439,41 @@ function ManifestComponentToJSON(value) {
1362
2439
  return null;
1363
2440
  }
1364
2441
  return {
1365
- "name": value.name,
1366
- "version": value.version,
1367
- "source": value.source,
1368
- "entry": value.entry,
1369
- "styleEntry": value.styleEntry,
1370
- "integrity": value.integrity,
1371
- "preload": value.preload
2442
+ "success": value.success,
2443
+ "data": TenantConfigDataToJSON(value.data)
1372
2444
  };
1373
2445
  }
1374
2446
 
1375
- // src/generated/models/ManifestRuntime.ts
1376
- function instanceOfManifestRuntime(value) {
2447
+ // src/generated/models/GetTenantConfig200Response.ts
2448
+ function instanceOfGetTenantConfig200Response(value) {
1377
2449
  let isInstance = true;
1378
- isInstance = isInstance && "version" in value;
1379
- isInstance = isInstance && "minVersion" in value;
2450
+ isInstance = isInstance && "success" in value;
2451
+ isInstance = isInstance && "code" in value;
2452
+ isInstance = isInstance && "message" in value;
2453
+ isInstance = isInstance && "data" in value;
2454
+ isInstance = isInstance && "timestamp" in value;
2455
+ isInstance = isInstance && "path" in value;
1380
2456
  return isInstance;
1381
2457
  }
1382
- function ManifestRuntimeFromJSON(json) {
1383
- return ManifestRuntimeFromJSONTyped(json, false);
2458
+ function GetTenantConfig200ResponseFromJSON(json) {
2459
+ return GetTenantConfig200ResponseFromJSONTyped(json, false);
1384
2460
  }
1385
- function ManifestRuntimeFromJSONTyped(json, ignoreDiscriminator) {
2461
+ function GetTenantConfig200ResponseFromJSONTyped(json, ignoreDiscriminator) {
1386
2462
  if (json === void 0 || json === null) {
1387
2463
  return json;
1388
2464
  }
1389
2465
  return {
1390
- "version": json["version"],
1391
- "minVersion": json["minVersion"]
2466
+ "success": json["success"],
2467
+ "code": json["code"],
2468
+ "message": json["message"],
2469
+ "data": TenantConfigResponseFromJSON(json["data"]),
2470
+ "timestamp": json["timestamp"],
2471
+ "path": json["path"],
2472
+ "requestId": !exists(json, "requestId") ? void 0 : json["requestId"],
2473
+ "traceId": !exists(json, "traceId") ? void 0 : json["traceId"]
1392
2474
  };
1393
2475
  }
1394
- function ManifestRuntimeToJSON(value) {
2476
+ function GetTenantConfig200ResponseToJSON(value) {
1395
2477
  if (value === void 0) {
1396
2478
  return void 0;
1397
2479
  }
@@ -1399,35 +2481,37 @@ function ManifestRuntimeToJSON(value) {
1399
2481
  return null;
1400
2482
  }
1401
2483
  return {
1402
- "version": value.version,
1403
- "minVersion": value.minVersion
2484
+ "success": value.success,
2485
+ "code": value.code,
2486
+ "message": value.message,
2487
+ "data": TenantConfigResponseToJSON(value.data),
2488
+ "timestamp": value.timestamp,
2489
+ "path": value.path,
2490
+ "requestId": value.requestId,
2491
+ "traceId": value.traceId
1404
2492
  };
1405
2493
  }
1406
2494
 
1407
- // src/generated/models/ManifestResponse.ts
1408
- function instanceOfManifestResponse(value) {
2495
+ // src/generated/models/HealthCheckResponse.ts
2496
+ function instanceOfHealthCheckResponse(value) {
1409
2497
  let isInstance = true;
1410
- isInstance = isInstance && "pageVersionId" in value;
1411
- isInstance = isInstance && "manifestVersion" in value;
1412
- isInstance = isInstance && "components" in value;
1413
- isInstance = isInstance && "runtime" in value;
2498
+ isInstance = isInstance && "status" in value;
2499
+ isInstance = isInstance && "timestamp" in value;
1414
2500
  return isInstance;
1415
2501
  }
1416
- function ManifestResponseFromJSON(json) {
1417
- return ManifestResponseFromJSONTyped(json, false);
2502
+ function HealthCheckResponseFromJSON(json) {
2503
+ return HealthCheckResponseFromJSONTyped(json, false);
1418
2504
  }
1419
- function ManifestResponseFromJSONTyped(json, ignoreDiscriminator) {
2505
+ function HealthCheckResponseFromJSONTyped(json, ignoreDiscriminator) {
1420
2506
  if (json === void 0 || json === null) {
1421
2507
  return json;
1422
2508
  }
1423
2509
  return {
1424
- "pageVersionId": json["pageVersionId"],
1425
- "manifestVersion": json["manifestVersion"],
1426
- "components": json["components"].map(ManifestComponentFromJSON),
1427
- "runtime": ManifestRuntimeFromJSON(json["runtime"])
2510
+ "status": json["status"],
2511
+ "timestamp": json["timestamp"]
1428
2512
  };
1429
2513
  }
1430
- function ManifestResponseToJSON(value) {
2514
+ function HealthCheckResponseToJSON(value) {
1431
2515
  if (value === void 0) {
1432
2516
  return void 0;
1433
2517
  }
@@ -1435,35 +2519,41 @@ function ManifestResponseToJSON(value) {
1435
2519
  return null;
1436
2520
  }
1437
2521
  return {
1438
- "pageVersionId": value.pageVersionId,
1439
- "manifestVersion": value.manifestVersion,
1440
- "components": value.components.map(ManifestComponentToJSON),
1441
- "runtime": ManifestRuntimeToJSON(value.runtime)
2522
+ "status": value.status,
2523
+ "timestamp": value.timestamp
1442
2524
  };
1443
2525
  }
1444
2526
 
1445
- // src/generated/models/RewardInfo.ts
1446
- function instanceOfRewardInfo(value) {
2527
+ // src/generated/models/HealthCheck200Response.ts
2528
+ function instanceOfHealthCheck200Response(value) {
1447
2529
  let isInstance = true;
1448
- isInstance = isInstance && "type" in value;
1449
- isInstance = isInstance && "value" in value;
1450
- isInstance = isInstance && "description" in value;
2530
+ isInstance = isInstance && "success" in value;
2531
+ isInstance = isInstance && "code" in value;
2532
+ isInstance = isInstance && "message" in value;
2533
+ isInstance = isInstance && "data" in value;
2534
+ isInstance = isInstance && "timestamp" in value;
2535
+ isInstance = isInstance && "path" in value;
1451
2536
  return isInstance;
1452
2537
  }
1453
- function RewardInfoFromJSON(json) {
1454
- return RewardInfoFromJSONTyped(json, false);
2538
+ function HealthCheck200ResponseFromJSON(json) {
2539
+ return HealthCheck200ResponseFromJSONTyped(json, false);
1455
2540
  }
1456
- function RewardInfoFromJSONTyped(json, ignoreDiscriminator) {
2541
+ function HealthCheck200ResponseFromJSONTyped(json, ignoreDiscriminator) {
1457
2542
  if (json === void 0 || json === null) {
1458
2543
  return json;
1459
2544
  }
1460
2545
  return {
1461
- "type": json["type"],
1462
- "value": json["value"],
1463
- "description": json["description"]
2546
+ "success": json["success"],
2547
+ "code": json["code"],
2548
+ "message": json["message"],
2549
+ "data": HealthCheckResponseFromJSON(json["data"]),
2550
+ "timestamp": json["timestamp"],
2551
+ "path": json["path"],
2552
+ "requestId": !exists(json, "requestId") ? void 0 : json["requestId"],
2553
+ "traceId": !exists(json, "traceId") ? void 0 : json["traceId"]
1464
2554
  };
1465
2555
  }
1466
- function RewardInfoToJSON(value) {
2556
+ function HealthCheck200ResponseToJSON(value) {
1467
2557
  if (value === void 0) {
1468
2558
  return void 0;
1469
2559
  }
@@ -1471,32 +2561,35 @@ function RewardInfoToJSON(value) {
1471
2561
  return null;
1472
2562
  }
1473
2563
  return {
1474
- "type": value.type,
1475
- "value": value.value,
1476
- "description": value.description
2564
+ "success": value.success,
2565
+ "code": value.code,
2566
+ "message": value.message,
2567
+ "data": HealthCheckResponseToJSON(value.data),
2568
+ "timestamp": value.timestamp,
2569
+ "path": value.path,
2570
+ "requestId": value.requestId,
2571
+ "traceId": value.traceId
1477
2572
  };
1478
2573
  }
1479
2574
 
1480
- // src/generated/models/MilestoneInfo.ts
1481
- function instanceOfMilestoneInfo(value) {
2575
+ // src/generated/models/HealthCheckItem.ts
2576
+ function instanceOfHealthCheckItem(value) {
1482
2577
  let isInstance = true;
1483
- isInstance = isInstance && "days" in value;
1484
- isInstance = isInstance && "reward" in value;
1485
2578
  return isInstance;
1486
2579
  }
1487
- function MilestoneInfoFromJSON(json) {
1488
- return MilestoneInfoFromJSONTyped(json, false);
2580
+ function HealthCheckItemFromJSON(json) {
2581
+ return HealthCheckItemFromJSONTyped(json, false);
1489
2582
  }
1490
- function MilestoneInfoFromJSONTyped(json, ignoreDiscriminator) {
2583
+ function HealthCheckItemFromJSONTyped(json, ignoreDiscriminator) {
1491
2584
  if (json === void 0 || json === null) {
1492
2585
  return json;
1493
2586
  }
1494
2587
  return {
1495
- "days": json["days"],
1496
- "reward": RewardInfoFromJSON(json["reward"])
2588
+ "status": !exists(json, "status") ? void 0 : json["status"],
2589
+ "message": !exists(json, "message") ? void 0 : json["message"]
1497
2590
  };
1498
2591
  }
1499
- function MilestoneInfoToJSON(value) {
2592
+ function HealthCheckItemToJSON(value) {
1500
2593
  if (value === void 0) {
1501
2594
  return void 0;
1502
2595
  }
@@ -1504,37 +2597,29 @@ function MilestoneInfoToJSON(value) {
1504
2597
  return null;
1505
2598
  }
1506
2599
  return {
1507
- "days": value.days,
1508
- "reward": RewardInfoToJSON(value.reward)
2600
+ "status": value.status,
2601
+ "message": value.message
1509
2602
  };
1510
2603
  }
1511
2604
 
1512
- // src/generated/models/OpsConfig.ts
1513
- function instanceOfOpsConfig(value) {
2605
+ // src/generated/models/LivenessResponse.ts
2606
+ function instanceOfLivenessResponse(value) {
1514
2607
  let isInstance = true;
1515
- isInstance = isInstance && "killSwitch" in value;
1516
- isInstance = isInstance && "blockedComponents" in value;
1517
- isInstance = isInstance && "blockedPages" in value;
1518
- isInstance = isInstance && "featureFlags" in value;
1519
- isInstance = isInstance && "degradeConfig" in value;
2608
+ isInstance = isInstance && "status" in value;
1520
2609
  return isInstance;
1521
2610
  }
1522
- function OpsConfigFromJSON(json) {
1523
- return OpsConfigFromJSONTyped(json, false);
2611
+ function LivenessResponseFromJSON(json) {
2612
+ return LivenessResponseFromJSONTyped(json, false);
1524
2613
  }
1525
- function OpsConfigFromJSONTyped(json, ignoreDiscriminator) {
2614
+ function LivenessResponseFromJSONTyped(json, ignoreDiscriminator) {
1526
2615
  if (json === void 0 || json === null) {
1527
2616
  return json;
1528
2617
  }
1529
2618
  return {
1530
- "killSwitch": json["killSwitch"],
1531
- "blockedComponents": json["blockedComponents"].map(BlockedComponentFromJSON),
1532
- "blockedPages": json["blockedPages"],
1533
- "featureFlags": json["featureFlags"],
1534
- "degradeConfig": DegradeConfigFromJSON(json["degradeConfig"])
2619
+ "status": json["status"]
1535
2620
  };
1536
2621
  }
1537
- function OpsConfigToJSON(value) {
2622
+ function LivenessResponseToJSON(value) {
1538
2623
  if (value === void 0) {
1539
2624
  return void 0;
1540
2625
  }
@@ -1542,35 +2627,40 @@ function OpsConfigToJSON(value) {
1542
2627
  return null;
1543
2628
  }
1544
2629
  return {
1545
- "killSwitch": value.killSwitch,
1546
- "blockedComponents": value.blockedComponents.map(BlockedComponentToJSON),
1547
- "blockedPages": value.blockedPages,
1548
- "featureFlags": value.featureFlags,
1549
- "degradeConfig": DegradeConfigToJSON(value.degradeConfig)
2630
+ "status": value.status
1550
2631
  };
1551
2632
  }
1552
2633
 
1553
- // src/generated/models/PaginatedRecordsResponse.ts
1554
- function instanceOfPaginatedRecordsResponse(value) {
2634
+ // src/generated/models/LivenessCheck200Response.ts
2635
+ function instanceOfLivenessCheck200Response(value) {
1555
2636
  let isInstance = true;
1556
2637
  isInstance = isInstance && "success" in value;
2638
+ isInstance = isInstance && "code" in value;
2639
+ isInstance = isInstance && "message" in value;
1557
2640
  isInstance = isInstance && "data" in value;
2641
+ isInstance = isInstance && "timestamp" in value;
2642
+ isInstance = isInstance && "path" in value;
1558
2643
  return isInstance;
1559
2644
  }
1560
- function PaginatedRecordsResponseFromJSON(json) {
1561
- return PaginatedRecordsResponseFromJSONTyped(json, false);
2645
+ function LivenessCheck200ResponseFromJSON(json) {
2646
+ return LivenessCheck200ResponseFromJSONTyped(json, false);
1562
2647
  }
1563
- function PaginatedRecordsResponseFromJSONTyped(json, ignoreDiscriminator) {
2648
+ function LivenessCheck200ResponseFromJSONTyped(json, ignoreDiscriminator) {
1564
2649
  if (json === void 0 || json === null) {
1565
2650
  return json;
1566
2651
  }
1567
2652
  return {
1568
2653
  "success": json["success"],
1569
- "data": json["data"],
1570
- "meta": !exists(json, "meta") ? void 0 : CursorPaginationMetaFromJSON(json["meta"])
2654
+ "code": json["code"],
2655
+ "message": json["message"],
2656
+ "data": LivenessResponseFromJSON(json["data"]),
2657
+ "timestamp": json["timestamp"],
2658
+ "path": json["path"],
2659
+ "requestId": !exists(json, "requestId") ? void 0 : json["requestId"],
2660
+ "traceId": !exists(json, "traceId") ? void 0 : json["traceId"]
1571
2661
  };
1572
2662
  }
1573
- function PaginatedRecordsResponseToJSON(value) {
2663
+ function LivenessCheck200ResponseToJSON(value) {
1574
2664
  if (value === void 0) {
1575
2665
  return void 0;
1576
2666
  }
@@ -1579,8 +2669,13 @@ function PaginatedRecordsResponseToJSON(value) {
1579
2669
  }
1580
2670
  return {
1581
2671
  "success": value.success,
1582
- "data": value.data,
1583
- "meta": CursorPaginationMetaToJSON(value.meta)
2672
+ "code": value.code,
2673
+ "message": value.message,
2674
+ "data": LivenessResponseToJSON(value.data),
2675
+ "timestamp": value.timestamp,
2676
+ "path": value.path,
2677
+ "requestId": value.requestId,
2678
+ "traceId": value.traceId
1584
2679
  };
1585
2680
  }
1586
2681
 
@@ -1660,26 +2755,36 @@ function QueryContextToJSON(value) {
1660
2755
  };
1661
2756
  }
1662
2757
 
1663
- // src/generated/models/QueryDataRequest.ts
1664
- function instanceOfQueryDataRequest(value) {
2758
+ // src/generated/models/QueryData200Response.ts
2759
+ function instanceOfQueryData200Response(value) {
1665
2760
  let isInstance = true;
1666
- isInstance = isInstance && "queryVersionId" in value;
2761
+ isInstance = isInstance && "success" in value;
2762
+ isInstance = isInstance && "code" in value;
2763
+ isInstance = isInstance && "message" in value;
2764
+ isInstance = isInstance && "data" in value;
2765
+ isInstance = isInstance && "timestamp" in value;
2766
+ isInstance = isInstance && "path" in value;
1667
2767
  return isInstance;
1668
2768
  }
1669
- function QueryDataRequestFromJSON(json) {
1670
- return QueryDataRequestFromJSONTyped(json, false);
2769
+ function QueryData200ResponseFromJSON(json) {
2770
+ return QueryData200ResponseFromJSONTyped(json, false);
1671
2771
  }
1672
- function QueryDataRequestFromJSONTyped(json, ignoreDiscriminator) {
2772
+ function QueryData200ResponseFromJSONTyped(json, ignoreDiscriminator) {
1673
2773
  if (json === void 0 || json === null) {
1674
2774
  return json;
1675
2775
  }
1676
2776
  return {
1677
- "queryVersionId": json["queryVersionId"],
1678
- "params": !exists(json, "params") ? void 0 : json["params"],
1679
- "context": !exists(json, "context") ? void 0 : QueryContextFromJSON(json["context"])
2777
+ "success": json["success"],
2778
+ "code": json["code"],
2779
+ "message": json["message"],
2780
+ "data": QueryDataResponseFromJSON(json["data"]),
2781
+ "timestamp": json["timestamp"],
2782
+ "path": json["path"],
2783
+ "requestId": !exists(json, "requestId") ? void 0 : json["requestId"],
2784
+ "traceId": !exists(json, "traceId") ? void 0 : json["traceId"]
1680
2785
  };
1681
2786
  }
1682
- function QueryDataRequestToJSON(value) {
2787
+ function QueryData200ResponseToJSON(value) {
1683
2788
  if (value === void 0) {
1684
2789
  return void 0;
1685
2790
  }
@@ -1687,45 +2792,37 @@ function QueryDataRequestToJSON(value) {
1687
2792
  return null;
1688
2793
  }
1689
2794
  return {
1690
- "queryVersionId": value.queryVersionId,
1691
- "params": value.params,
1692
- "context": QueryContextToJSON(value.context)
2795
+ "success": value.success,
2796
+ "code": value.code,
2797
+ "message": value.message,
2798
+ "data": QueryDataResponseToJSON(value.data),
2799
+ "timestamp": value.timestamp,
2800
+ "path": value.path,
2801
+ "requestId": value.requestId,
2802
+ "traceId": value.traceId
1693
2803
  };
1694
2804
  }
1695
2805
 
1696
- // src/generated/models/QueryDefinitionResponse.ts
1697
- var QueryDefinitionResponseStatusEnum = {
1698
- DRAFT: "draft",
1699
- STABLE: "stable",
1700
- DEPRECATED: "deprecated",
1701
- BLOCKED: "blocked"
1702
- };
1703
- function instanceOfQueryDefinitionResponse(value) {
2806
+ // src/generated/models/QueryDataRequest.ts
2807
+ function instanceOfQueryDataRequest(value) {
1704
2808
  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
- isInstance = isInstance && "status" in value;
2809
+ isInstance = isInstance && "queryVersionId" in value;
1710
2810
  return isInstance;
1711
2811
  }
1712
- function QueryDefinitionResponseFromJSON(json) {
1713
- return QueryDefinitionResponseFromJSONTyped(json, false);
2812
+ function QueryDataRequestFromJSON(json) {
2813
+ return QueryDataRequestFromJSONTyped(json, false);
1714
2814
  }
1715
- function QueryDefinitionResponseFromJSONTyped(json, ignoreDiscriminator) {
2815
+ function QueryDataRequestFromJSONTyped(json, ignoreDiscriminator) {
1716
2816
  if (json === void 0 || json === null) {
1717
2817
  return json;
1718
2818
  }
1719
2819
  return {
1720
- "uid": json["uid"],
1721
- "queryUid": json["queryUid"],
1722
- "versionNumber": json["versionNumber"],
1723
- "versionLabel": !exists(json, "versionLabel") ? void 0 : json["versionLabel"],
1724
- "spec": json["spec"],
1725
- "status": json["status"]
2820
+ "queryVersionId": json["queryVersionId"],
2821
+ "params": !exists(json, "params") ? void 0 : json["params"],
2822
+ "context": !exists(json, "context") ? void 0 : QueryContextFromJSON(json["context"])
1726
2823
  };
1727
2824
  }
1728
- function QueryDefinitionResponseToJSON(value) {
2825
+ function QueryDataRequestToJSON(value) {
1729
2826
  if (value === void 0) {
1730
2827
  return void 0;
1731
2828
  }
@@ -1733,12 +2830,9 @@ function QueryDefinitionResponseToJSON(value) {
1733
2830
  return null;
1734
2831
  }
1735
2832
  return {
1736
- "uid": value.uid,
1737
- "queryUid": value.queryUid,
1738
- "versionNumber": value.versionNumber,
1739
- "versionLabel": value.versionLabel,
1740
- "spec": value.spec,
1741
- "status": value.status
2833
+ "queryVersionId": value.queryVersionId,
2834
+ "params": value.params,
2835
+ "context": QueryContextToJSON(value.context)
1742
2836
  };
1743
2837
  }
1744
2838
 
@@ -1774,40 +2868,36 @@ function ReadinessResponseToJSON(value) {
1774
2868
  };
1775
2869
  }
1776
2870
 
1777
- // src/generated/models/ResolvePageResponse.ts
1778
- function instanceOfResolvePageResponse(value) {
2871
+ // src/generated/models/ReadinessCheck200Response.ts
2872
+ function instanceOfReadinessCheck200Response(value) {
1779
2873
  let isInstance = true;
1780
- isInstance = isInstance && "pageId" in value;
1781
- isInstance = isInstance && "resolvedVersionId" in value;
1782
- isInstance = isInstance && "cdnBase" in value;
1783
- isInstance = isInstance && "snapshotUrl" in value;
1784
- isInstance = isInstance && "manifestUrl" in value;
1785
- isInstance = isInstance && "ops" in value;
1786
- isInstance = isInstance && "etag" in value;
1787
- isInstance = isInstance && "cacheTtlSeconds" in value;
2874
+ isInstance = isInstance && "success" in value;
2875
+ isInstance = isInstance && "code" in value;
2876
+ isInstance = isInstance && "message" in value;
2877
+ isInstance = isInstance && "data" in value;
2878
+ isInstance = isInstance && "timestamp" in value;
2879
+ isInstance = isInstance && "path" in value;
1788
2880
  return isInstance;
1789
2881
  }
1790
- function ResolvePageResponseFromJSON(json) {
1791
- return ResolvePageResponseFromJSONTyped(json, false);
2882
+ function ReadinessCheck200ResponseFromJSON(json) {
2883
+ return ReadinessCheck200ResponseFromJSONTyped(json, false);
1792
2884
  }
1793
- function ResolvePageResponseFromJSONTyped(json, ignoreDiscriminator) {
2885
+ function ReadinessCheck200ResponseFromJSONTyped(json, ignoreDiscriminator) {
1794
2886
  if (json === void 0 || json === null) {
1795
2887
  return json;
1796
2888
  }
1797
2889
  return {
1798
- "pageId": json["pageId"],
1799
- "resolvedVersionId": json["resolvedVersionId"],
1800
- "cdnBase": json["cdnBase"],
1801
- "snapshotUrl": json["snapshotUrl"],
1802
- "manifestUrl": json["manifestUrl"],
1803
- "ops": OpsConfigFromJSON(json["ops"]),
1804
- "etag": json["etag"],
1805
- "cacheTtlSeconds": json["cacheTtlSeconds"],
1806
- "traceId": !exists(json, "traceId") ? void 0 : json["traceId"],
1807
- "runtimeVersion": !exists(json, "runtimeVersion") ? void 0 : json["runtimeVersion"]
2890
+ "success": json["success"],
2891
+ "code": json["code"],
2892
+ "message": json["message"],
2893
+ "data": ReadinessResponseFromJSON(json["data"]),
2894
+ "timestamp": json["timestamp"],
2895
+ "path": json["path"],
2896
+ "requestId": !exists(json, "requestId") ? void 0 : json["requestId"],
2897
+ "traceId": !exists(json, "traceId") ? void 0 : json["traceId"]
1808
2898
  };
1809
2899
  }
1810
- function ResolvePageResponseToJSON(value) {
2900
+ function ReadinessCheck200ResponseToJSON(value) {
1811
2901
  if (value === void 0) {
1812
2902
  return void 0;
1813
2903
  }
@@ -1815,47 +2905,37 @@ function ResolvePageResponseToJSON(value) {
1815
2905
  return null;
1816
2906
  }
1817
2907
  return {
1818
- "pageId": value.pageId,
1819
- "resolvedVersionId": value.resolvedVersionId,
1820
- "cdnBase": value.cdnBase,
1821
- "snapshotUrl": value.snapshotUrl,
1822
- "manifestUrl": value.manifestUrl,
1823
- "ops": OpsConfigToJSON(value.ops),
1824
- "etag": value.etag,
1825
- "cacheTtlSeconds": value.cacheTtlSeconds,
1826
- "traceId": value.traceId,
1827
- "runtimeVersion": value.runtimeVersion
2908
+ "success": value.success,
2909
+ "code": value.code,
2910
+ "message": value.message,
2911
+ "data": ReadinessResponseToJSON(value.data),
2912
+ "timestamp": value.timestamp,
2913
+ "path": value.path,
2914
+ "requestId": value.requestId,
2915
+ "traceId": value.traceId
1828
2916
  };
1829
2917
  }
1830
2918
 
1831
- // src/generated/models/ResolveTenantData.ts
1832
- function instanceOfResolveTenantData(value) {
2919
+ // src/generated/models/RolloutMatch.ts
2920
+ function instanceOfRolloutMatch(value) {
1833
2921
  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;
2922
+ isInstance = isInstance && "isDefault" in value;
1838
2923
  return isInstance;
1839
2924
  }
1840
- function ResolveTenantDataFromJSON(json) {
1841
- return ResolveTenantDataFromJSONTyped(json, false);
2925
+ function RolloutMatchFromJSON(json) {
2926
+ return RolloutMatchFromJSONTyped(json, false);
1842
2927
  }
1843
- function ResolveTenantDataFromJSONTyped(json, ignoreDiscriminator) {
2928
+ function RolloutMatchFromJSONTyped(json, ignoreDiscriminator) {
1844
2929
  if (json === void 0 || json === null) {
1845
2930
  return json;
1846
2931
  }
1847
2932
  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"]
2933
+ "strategyId": !exists(json, "strategyId") ? void 0 : json["strategyId"],
2934
+ "strategyName": !exists(json, "strategyName") ? void 0 : json["strategyName"],
2935
+ "isDefault": json["isDefault"]
1856
2936
  };
1857
2937
  }
1858
- function ResolveTenantDataToJSON(value) {
2938
+ function RolloutMatchToJSON(value) {
1859
2939
  if (value === void 0) {
1860
2940
  return void 0;
1861
2941
  }
@@ -1863,36 +2943,47 @@ function ResolveTenantDataToJSON(value) {
1863
2943
  return null;
1864
2944
  }
1865
2945
  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
2946
+ "strategyId": value.strategyId,
2947
+ "strategyName": value.strategyName,
2948
+ "isDefault": value.isDefault
1874
2949
  };
1875
2950
  }
1876
2951
 
1877
- // src/generated/models/ResolveTenantRequest.ts
1878
- function instanceOfResolveTenantRequest(value) {
2952
+ // src/generated/models/ResolvePageResponse.ts
2953
+ function instanceOfResolvePageResponse(value) {
1879
2954
  let isInstance = true;
2955
+ isInstance = isInstance && "pageId" in value;
2956
+ isInstance = isInstance && "resolvedVersionId" in value;
2957
+ isInstance = isInstance && "cdnBase" in value;
2958
+ isInstance = isInstance && "snapshotUrl" in value;
2959
+ isInstance = isInstance && "manifestUrl" in value;
2960
+ isInstance = isInstance && "ops" in value;
2961
+ isInstance = isInstance && "etag" in value;
2962
+ isInstance = isInstance && "cacheTtlSeconds" in value;
1880
2963
  return isInstance;
1881
2964
  }
1882
- function ResolveTenantRequestFromJSON(json) {
1883
- return ResolveTenantRequestFromJSONTyped(json, false);
2965
+ function ResolvePageResponseFromJSON(json) {
2966
+ return ResolvePageResponseFromJSONTyped(json, false);
1884
2967
  }
1885
- function ResolveTenantRequestFromJSONTyped(json, ignoreDiscriminator) {
2968
+ function ResolvePageResponseFromJSONTyped(json, ignoreDiscriminator) {
1886
2969
  if (json === void 0 || json === null) {
1887
2970
  return json;
1888
2971
  }
1889
2972
  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"]
2973
+ "pageId": json["pageId"],
2974
+ "resolvedVersionId": json["resolvedVersionId"],
2975
+ "cdnBase": json["cdnBase"],
2976
+ "snapshotUrl": json["snapshotUrl"],
2977
+ "manifestUrl": json["manifestUrl"],
2978
+ "ops": OpsConfigFromJSON(json["ops"]),
2979
+ "etag": json["etag"],
2980
+ "cacheTtlSeconds": json["cacheTtlSeconds"],
2981
+ "traceId": !exists(json, "traceId") ? void 0 : json["traceId"],
2982
+ "runtimeVersion": !exists(json, "runtimeVersion") ? void 0 : json["runtimeVersion"],
2983
+ "rolloutMatch": !exists(json, "rolloutMatch") ? void 0 : RolloutMatchFromJSON(json["rolloutMatch"])
1893
2984
  };
1894
2985
  }
1895
- function ResolveTenantRequestToJSON(value) {
2986
+ function ResolvePageResponseToJSON(value) {
1896
2987
  if (value === void 0) {
1897
2988
  return void 0;
1898
2989
  }
@@ -1900,70 +2991,50 @@ function ResolveTenantRequestToJSON(value) {
1900
2991
  return null;
1901
2992
  }
1902
2993
  return {
1903
- "appKey": value.appKey,
1904
- "host": value.host,
1905
- "channel": value.channel
2994
+ "pageId": value.pageId,
2995
+ "resolvedVersionId": value.resolvedVersionId,
2996
+ "cdnBase": value.cdnBase,
2997
+ "snapshotUrl": value.snapshotUrl,
2998
+ "manifestUrl": value.manifestUrl,
2999
+ "ops": OpsConfigToJSON(value.ops),
3000
+ "etag": value.etag,
3001
+ "cacheTtlSeconds": value.cacheTtlSeconds,
3002
+ "traceId": value.traceId,
3003
+ "runtimeVersion": value.runtimeVersion,
3004
+ "rolloutMatch": RolloutMatchToJSON(value.rolloutMatch)
1906
3005
  };
1907
3006
  }
1908
3007
 
1909
- // src/generated/models/ResolveTenantResponse.ts
1910
- function instanceOfResolveTenantResponse(value) {
3008
+ // src/generated/models/ResolvePage200Response.ts
3009
+ function instanceOfResolvePage200Response(value) {
1911
3010
  let isInstance = true;
1912
3011
  isInstance = isInstance && "success" in value;
3012
+ isInstance = isInstance && "code" in value;
3013
+ isInstance = isInstance && "message" in value;
1913
3014
  isInstance = isInstance && "data" in value;
3015
+ isInstance = isInstance && "timestamp" in value;
3016
+ isInstance = isInstance && "path" in value;
1914
3017
  return isInstance;
1915
3018
  }
1916
- function ResolveTenantResponseFromJSON(json) {
1917
- return ResolveTenantResponseFromJSONTyped(json, false);
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);
3019
+ function ResolvePage200ResponseFromJSON(json) {
3020
+ return ResolvePage200ResponseFromJSONTyped(json, false);
1953
3021
  }
1954
- function SigninCalendarDataFromJSONTyped(json, ignoreDiscriminator) {
3022
+ function ResolvePage200ResponseFromJSONTyped(json, ignoreDiscriminator) {
1955
3023
  if (json === void 0 || json === null) {
1956
3024
  return json;
1957
3025
  }
1958
- return {
1959
- "activityId": json["activityId"],
1960
- "month": json["month"],
1961
- "signedDates": json["signedDates"],
1962
- "consecutiveDays": json["consecutiveDays"],
1963
- "totalDays": json["totalDays"]
3026
+ return {
3027
+ "success": json["success"],
3028
+ "code": json["code"],
3029
+ "message": json["message"],
3030
+ "data": ResolvePageResponseFromJSON(json["data"]),
3031
+ "timestamp": json["timestamp"],
3032
+ "path": json["path"],
3033
+ "requestId": !exists(json, "requestId") ? void 0 : json["requestId"],
3034
+ "traceId": !exists(json, "traceId") ? void 0 : json["traceId"]
1964
3035
  };
1965
3036
  }
1966
- function SigninCalendarDataToJSON(value) {
3037
+ function ResolvePage200ResponseToJSON(value) {
1967
3038
  if (value === void 0) {
1968
3039
  return void 0;
1969
3040
  }
@@ -1971,34 +3042,45 @@ function SigninCalendarDataToJSON(value) {
1971
3042
  return null;
1972
3043
  }
1973
3044
  return {
1974
- "activityId": value.activityId,
1975
- "month": value.month,
1976
- "signedDates": value.signedDates,
1977
- "consecutiveDays": value.consecutiveDays,
1978
- "totalDays": value.totalDays
3045
+ "success": value.success,
3046
+ "code": value.code,
3047
+ "message": value.message,
3048
+ "data": ResolvePageResponseToJSON(value.data),
3049
+ "timestamp": value.timestamp,
3050
+ "path": value.path,
3051
+ "requestId": value.requestId,
3052
+ "traceId": value.traceId
1979
3053
  };
1980
3054
  }
1981
3055
 
1982
- // src/generated/models/SigninCalendarResponse.ts
1983
- function instanceOfSigninCalendarResponse(value) {
3056
+ // src/generated/models/ResolveTenantData.ts
3057
+ function instanceOfResolveTenantData(value) {
1984
3058
  let isInstance = true;
1985
- isInstance = isInstance && "success" in value;
1986
- isInstance = isInstance && "data" in value;
3059
+ isInstance = isInstance && "appId" in value;
3060
+ isInstance = isInstance && "name" in value;
3061
+ isInstance = isInstance && "status" in value;
3062
+ isInstance = isInstance && "type" in value;
1987
3063
  return isInstance;
1988
3064
  }
1989
- function SigninCalendarResponseFromJSON(json) {
1990
- return SigninCalendarResponseFromJSONTyped(json, false);
3065
+ function ResolveTenantDataFromJSON(json) {
3066
+ return ResolveTenantDataFromJSONTyped(json, false);
1991
3067
  }
1992
- function SigninCalendarResponseFromJSONTyped(json, ignoreDiscriminator) {
3068
+ function ResolveTenantDataFromJSONTyped(json, ignoreDiscriminator) {
1993
3069
  if (json === void 0 || json === null) {
1994
3070
  return json;
1995
3071
  }
1996
3072
  return {
1997
- "success": json["success"],
1998
- "data": SigninCalendarDataFromJSON(json["data"])
3073
+ "appId": json["appId"],
3074
+ "name": json["name"],
3075
+ "status": json["status"],
3076
+ "type": json["type"],
3077
+ "logo": !exists(json, "logo") ? void 0 : json["logo"],
3078
+ "config": !exists(json, "config") ? void 0 : json["config"],
3079
+ "channel": !exists(json, "channel") ? void 0 : json["channel"],
3080
+ "domain": !exists(json, "domain") ? void 0 : json["domain"]
1999
3081
  };
2000
3082
  }
2001
- function SigninCalendarResponseToJSON(value) {
3083
+ function ResolveTenantDataToJSON(value) {
2002
3084
  if (value === void 0) {
2003
3085
  return void 0;
2004
3086
  }
@@ -2006,39 +3088,37 @@ function SigninCalendarResponseToJSON(value) {
2006
3088
  return null;
2007
3089
  }
2008
3090
  return {
2009
- "success": value.success,
2010
- "data": SigninCalendarDataToJSON(value.data)
3091
+ "appId": value.appId,
3092
+ "name": value.name,
3093
+ "status": value.status,
3094
+ "type": value.type,
3095
+ "logo": value.logo,
3096
+ "config": value.config,
3097
+ "channel": value.channel,
3098
+ "domain": value.domain
2011
3099
  };
2012
3100
  }
2013
3101
 
2014
- // src/generated/models/SigninStatusResponse.ts
2015
- function instanceOfSigninStatusResponse(value) {
3102
+ // src/generated/models/ResolveTenantResponse.ts
3103
+ function instanceOfResolveTenantResponse(value) {
2016
3104
  let isInstance = true;
2017
- isInstance = isInstance && "activityUid" in value;
2018
- isInstance = isInstance && "hasSignedToday" in value;
2019
- isInstance = isInstance && "consecutiveDays" in value;
2020
- isInstance = isInstance && "totalDays" in value;
2021
- isInstance = isInstance && "signedDates" in value;
3105
+ isInstance = isInstance && "success" in value;
3106
+ isInstance = isInstance && "data" in value;
2022
3107
  return isInstance;
2023
3108
  }
2024
- function SigninStatusResponseFromJSON(json) {
2025
- return SigninStatusResponseFromJSONTyped(json, false);
3109
+ function ResolveTenantResponseFromJSON(json) {
3110
+ return ResolveTenantResponseFromJSONTyped(json, false);
2026
3111
  }
2027
- function SigninStatusResponseFromJSONTyped(json, ignoreDiscriminator) {
3112
+ function ResolveTenantResponseFromJSONTyped(json, ignoreDiscriminator) {
2028
3113
  if (json === void 0 || json === null) {
2029
3114
  return json;
2030
3115
  }
2031
3116
  return {
2032
- "activityUid": json["activityUid"],
2033
- "hasSignedToday": json["hasSignedToday"],
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"])
3117
+ "success": json["success"],
3118
+ "data": ResolveTenantDataFromJSON(json["data"])
2039
3119
  };
2040
3120
  }
2041
- function SigninStatusResponseToJSON(value) {
3121
+ function ResolveTenantResponseToJSON(value) {
2042
3122
  if (value === void 0) {
2043
3123
  return void 0;
2044
3124
  }
@@ -2046,18 +3126,13 @@ function SigninStatusResponseToJSON(value) {
2046
3126
  return null;
2047
3127
  }
2048
3128
  return {
2049
- "activityUid": value.activityUid,
2050
- "hasSignedToday": value.hasSignedToday,
2051
- "consecutiveDays": value.consecutiveDays,
2052
- "totalDays": value.totalDays,
2053
- "signedDates": value.signedDates,
2054
- "todayReward": RewardInfoToJSON(value.todayReward),
2055
- "nextMilestone": MilestoneInfoToJSON(value.nextMilestone)
3129
+ "success": value.success,
3130
+ "data": ResolveTenantDataToJSON(value.data)
2056
3131
  };
2057
3132
  }
2058
3133
 
2059
- // src/generated/models/SuccessResponse.ts
2060
- function instanceOfSuccessResponse(value) {
3134
+ // src/generated/models/ResolveTenant200Response.ts
3135
+ function instanceOfResolveTenant200Response(value) {
2061
3136
  let isInstance = true;
2062
3137
  isInstance = isInstance && "success" in value;
2063
3138
  isInstance = isInstance && "code" in value;
@@ -2067,10 +3142,10 @@ function instanceOfSuccessResponse(value) {
2067
3142
  isInstance = isInstance && "path" in value;
2068
3143
  return isInstance;
2069
3144
  }
2070
- function SuccessResponseFromJSON(json) {
2071
- return SuccessResponseFromJSONTyped(json, false);
3145
+ function ResolveTenant200ResponseFromJSON(json) {
3146
+ return ResolveTenant200ResponseFromJSONTyped(json, false);
2072
3147
  }
2073
- function SuccessResponseFromJSONTyped(json, ignoreDiscriminator) {
3148
+ function ResolveTenant200ResponseFromJSONTyped(json, ignoreDiscriminator) {
2074
3149
  if (json === void 0 || json === null) {
2075
3150
  return json;
2076
3151
  }
@@ -2078,14 +3153,14 @@ function SuccessResponseFromJSONTyped(json, ignoreDiscriminator) {
2078
3153
  "success": json["success"],
2079
3154
  "code": json["code"],
2080
3155
  "message": json["message"],
2081
- "data": json["data"],
3156
+ "data": ResolveTenantResponseFromJSON(json["data"]),
2082
3157
  "timestamp": json["timestamp"],
2083
3158
  "path": json["path"],
2084
3159
  "requestId": !exists(json, "requestId") ? void 0 : json["requestId"],
2085
3160
  "traceId": !exists(json, "traceId") ? void 0 : json["traceId"]
2086
3161
  };
2087
3162
  }
2088
- function SuccessResponseToJSON(value) {
3163
+ function ResolveTenant200ResponseToJSON(value) {
2089
3164
  if (value === void 0) {
2090
3165
  return void 0;
2091
3166
  }
@@ -2096,7 +3171,7 @@ function SuccessResponseToJSON(value) {
2096
3171
  "success": value.success,
2097
3172
  "code": value.code,
2098
3173
  "message": value.message,
2099
- "data": value.data,
3174
+ "data": ResolveTenantResponseToJSON(value.data),
2100
3175
  "timestamp": value.timestamp,
2101
3176
  "path": value.path,
2102
3177
  "requestId": value.requestId,
@@ -2104,31 +3179,25 @@ function SuccessResponseToJSON(value) {
2104
3179
  };
2105
3180
  }
2106
3181
 
2107
- // src/generated/models/TenantConfigData.ts
2108
- function instanceOfTenantConfigData(value) {
3182
+ // src/generated/models/ResolveTenantRequest.ts
3183
+ function instanceOfResolveTenantRequest(value) {
2109
3184
  let isInstance = true;
2110
- isInstance = isInstance && "appId" in value;
2111
- isInstance = isInstance && "status" in value;
2112
3185
  return isInstance;
2113
3186
  }
2114
- function TenantConfigDataFromJSON(json) {
2115
- return TenantConfigDataFromJSONTyped(json, false);
3187
+ function ResolveTenantRequestFromJSON(json) {
3188
+ return ResolveTenantRequestFromJSONTyped(json, false);
2116
3189
  }
2117
- function TenantConfigDataFromJSONTyped(json, ignoreDiscriminator) {
3190
+ function ResolveTenantRequestFromJSONTyped(json, ignoreDiscriminator) {
2118
3191
  if (json === void 0 || json === null) {
2119
3192
  return json;
2120
3193
  }
2121
3194
  return {
2122
- "appId": json["appId"],
2123
- "status": json["status"],
2124
- "featureFlags": !exists(json, "featureFlags") ? void 0 : json["featureFlags"],
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"]
3195
+ "appKey": !exists(json, "appKey") ? void 0 : json["appKey"],
3196
+ "host": !exists(json, "host") ? void 0 : json["host"],
3197
+ "channel": !exists(json, "channel") ? void 0 : json["channel"]
2129
3198
  };
2130
3199
  }
2131
- function TenantConfigDataToJSON(value) {
3200
+ function ResolveTenantRequestToJSON(value) {
2132
3201
  if (value === void 0) {
2133
3202
  return void 0;
2134
3203
  }
@@ -2136,36 +3205,42 @@ function TenantConfigDataToJSON(value) {
2136
3205
  return null;
2137
3206
  }
2138
3207
  return {
2139
- "appId": value.appId,
2140
- "status": value.status,
2141
- "featureFlags": value.featureFlags,
2142
- "theme": value.theme,
2143
- "cdnBase": value.cdnBase,
2144
- "blockedComponents": value.blockedComponents,
2145
- "killSwitch": value.killSwitch
3208
+ "appKey": value.appKey,
3209
+ "host": value.host,
3210
+ "channel": value.channel
2146
3211
  };
2147
3212
  }
2148
3213
 
2149
- // src/generated/models/TenantConfigResponse.ts
2150
- function instanceOfTenantConfigResponse(value) {
3214
+ // src/generated/models/SuccessResponse.ts
3215
+ function instanceOfSuccessResponse(value) {
2151
3216
  let isInstance = true;
2152
3217
  isInstance = isInstance && "success" in value;
3218
+ isInstance = isInstance && "code" in value;
3219
+ isInstance = isInstance && "message" in value;
2153
3220
  isInstance = isInstance && "data" in value;
3221
+ isInstance = isInstance && "timestamp" in value;
3222
+ isInstance = isInstance && "path" in value;
2154
3223
  return isInstance;
2155
3224
  }
2156
- function TenantConfigResponseFromJSON(json) {
2157
- return TenantConfigResponseFromJSONTyped(json, false);
3225
+ function SuccessResponseFromJSON(json) {
3226
+ return SuccessResponseFromJSONTyped(json, false);
2158
3227
  }
2159
- function TenantConfigResponseFromJSONTyped(json, ignoreDiscriminator) {
3228
+ function SuccessResponseFromJSONTyped(json, ignoreDiscriminator) {
2160
3229
  if (json === void 0 || json === null) {
2161
3230
  return json;
2162
3231
  }
2163
3232
  return {
2164
3233
  "success": json["success"],
2165
- "data": TenantConfigDataFromJSON(json["data"])
3234
+ "code": json["code"],
3235
+ "message": json["message"],
3236
+ "data": json["data"],
3237
+ "timestamp": json["timestamp"],
3238
+ "path": json["path"],
3239
+ "requestId": !exists(json, "requestId") ? void 0 : json["requestId"],
3240
+ "traceId": !exists(json, "traceId") ? void 0 : json["traceId"]
2166
3241
  };
2167
3242
  }
2168
- function TenantConfigResponseToJSON(value) {
3243
+ function SuccessResponseToJSON(value) {
2169
3244
  if (value === void 0) {
2170
3245
  return void 0;
2171
3246
  }
@@ -2174,7 +3249,13 @@ function TenantConfigResponseToJSON(value) {
2174
3249
  }
2175
3250
  return {
2176
3251
  "success": value.success,
2177
- "data": TenantConfigDataToJSON(value.data)
3252
+ "code": value.code,
3253
+ "message": value.message,
3254
+ "data": value.data,
3255
+ "timestamp": value.timestamp,
3256
+ "path": value.path,
3257
+ "requestId": value.requestId,
3258
+ "traceId": value.traceId
2178
3259
  };
2179
3260
  }
2180
3261
 
@@ -2474,26 +3555,25 @@ function TrackSingleResponseToJSON(value) {
2474
3555
  };
2475
3556
  }
2476
3557
 
2477
- // src/generated/models/ValidateActionRequest.ts
2478
- function instanceOfValidateActionRequest(value) {
3558
+ // src/generated/models/ValidateActionResponse.ts
3559
+ function instanceOfValidateActionResponse(value) {
2479
3560
  let isInstance = true;
2480
- isInstance = isInstance && "actionDefinitionVersionId" in value;
2481
- isInstance = isInstance && "params" in value;
3561
+ isInstance = isInstance && "valid" in value;
2482
3562
  return isInstance;
2483
3563
  }
2484
- function ValidateActionRequestFromJSON(json) {
2485
- return ValidateActionRequestFromJSONTyped(json, false);
3564
+ function ValidateActionResponseFromJSON(json) {
3565
+ return ValidateActionResponseFromJSONTyped(json, false);
2486
3566
  }
2487
- function ValidateActionRequestFromJSONTyped(json, ignoreDiscriminator) {
3567
+ function ValidateActionResponseFromJSONTyped(json, ignoreDiscriminator) {
2488
3568
  if (json === void 0 || json === null) {
2489
3569
  return json;
2490
3570
  }
2491
3571
  return {
2492
- "actionDefinitionVersionId": json["actionDefinitionVersionId"],
2493
- "params": json["params"]
3572
+ "valid": json["valid"],
3573
+ "errors": !exists(json, "errors") ? void 0 : json["errors"]
2494
3574
  };
2495
3575
  }
2496
- function ValidateActionRequestToJSON(value) {
3576
+ function ValidateActionResponseToJSON(value) {
2497
3577
  if (value === void 0) {
2498
3578
  return void 0;
2499
3579
  }
@@ -2501,30 +3581,41 @@ function ValidateActionRequestToJSON(value) {
2501
3581
  return null;
2502
3582
  }
2503
3583
  return {
2504
- "actionDefinitionVersionId": value.actionDefinitionVersionId,
2505
- "params": value.params
3584
+ "valid": value.valid,
3585
+ "errors": value.errors
2506
3586
  };
2507
3587
  }
2508
3588
 
2509
- // src/generated/models/ValidateActionResponse.ts
2510
- function instanceOfValidateActionResponse(value) {
3589
+ // src/generated/models/ValidateActionParams200Response.ts
3590
+ function instanceOfValidateActionParams200Response(value) {
2511
3591
  let isInstance = true;
2512
- isInstance = isInstance && "valid" in value;
3592
+ isInstance = isInstance && "success" in value;
3593
+ isInstance = isInstance && "code" in value;
3594
+ isInstance = isInstance && "message" in value;
3595
+ isInstance = isInstance && "data" in value;
3596
+ isInstance = isInstance && "timestamp" in value;
3597
+ isInstance = isInstance && "path" in value;
2513
3598
  return isInstance;
2514
3599
  }
2515
- function ValidateActionResponseFromJSON(json) {
2516
- return ValidateActionResponseFromJSONTyped(json, false);
3600
+ function ValidateActionParams200ResponseFromJSON(json) {
3601
+ return ValidateActionParams200ResponseFromJSONTyped(json, false);
2517
3602
  }
2518
- function ValidateActionResponseFromJSONTyped(json, ignoreDiscriminator) {
3603
+ function ValidateActionParams200ResponseFromJSONTyped(json, ignoreDiscriminator) {
2519
3604
  if (json === void 0 || json === null) {
2520
3605
  return json;
2521
3606
  }
2522
3607
  return {
2523
- "valid": json["valid"],
2524
- "errors": !exists(json, "errors") ? void 0 : json["errors"]
3608
+ "success": json["success"],
3609
+ "code": json["code"],
3610
+ "message": json["message"],
3611
+ "data": ValidateActionResponseFromJSON(json["data"]),
3612
+ "timestamp": json["timestamp"],
3613
+ "path": json["path"],
3614
+ "requestId": !exists(json, "requestId") ? void 0 : json["requestId"],
3615
+ "traceId": !exists(json, "traceId") ? void 0 : json["traceId"]
2525
3616
  };
2526
3617
  }
2527
- function ValidateActionResponseToJSON(value) {
3618
+ function ValidateActionParams200ResponseToJSON(value) {
2528
3619
  if (value === void 0) {
2529
3620
  return void 0;
2530
3621
  }
@@ -2532,8 +3623,46 @@ function ValidateActionResponseToJSON(value) {
2532
3623
  return null;
2533
3624
  }
2534
3625
  return {
2535
- "valid": value.valid,
2536
- "errors": value.errors
3626
+ "success": value.success,
3627
+ "code": value.code,
3628
+ "message": value.message,
3629
+ "data": ValidateActionResponseToJSON(value.data),
3630
+ "timestamp": value.timestamp,
3631
+ "path": value.path,
3632
+ "requestId": value.requestId,
3633
+ "traceId": value.traceId
3634
+ };
3635
+ }
3636
+
3637
+ // src/generated/models/ValidateActionRequest.ts
3638
+ function instanceOfValidateActionRequest(value) {
3639
+ let isInstance = true;
3640
+ isInstance = isInstance && "actionDefinitionVersionId" in value;
3641
+ isInstance = isInstance && "params" in value;
3642
+ return isInstance;
3643
+ }
3644
+ function ValidateActionRequestFromJSON(json) {
3645
+ return ValidateActionRequestFromJSONTyped(json, false);
3646
+ }
3647
+ function ValidateActionRequestFromJSONTyped(json, ignoreDiscriminator) {
3648
+ if (json === void 0 || json === null) {
3649
+ return json;
3650
+ }
3651
+ return {
3652
+ "actionDefinitionVersionId": json["actionDefinitionVersionId"],
3653
+ "params": json["params"]
3654
+ };
3655
+ }
3656
+ function ValidateActionRequestToJSON(value) {
3657
+ if (value === void 0) {
3658
+ return void 0;
3659
+ }
3660
+ if (value === null) {
3661
+ return null;
3662
+ }
3663
+ return {
3664
+ "actionDefinitionVersionId": value.actionDefinitionVersionId,
3665
+ "params": value.params
2537
3666
  };
2538
3667
  }
2539
3668
 
@@ -2564,7 +3693,7 @@ var ActionsApi = class extends BaseAPI {
2564
3693
  query: queryParameters,
2565
3694
  body: ExecuteActionRequestToJSON(requestParameters.executeActionRequest)
2566
3695
  }, initOverrides);
2567
- return new JSONApiResponse(response, (jsonValue) => ExecuteActionResponseFromJSON(jsonValue));
3696
+ return new JSONApiResponse(response, (jsonValue) => ExecuteAction200ResponseFromJSON(jsonValue));
2568
3697
  }
2569
3698
  /**
2570
3699
  * 统一的动作执行入口,支持领取、签到等业务动作。 执行流程(Pipeline): 1. Auth(登录态/票据/签名) 2. Risk(限流、黑名单、设备指纹、验证码开关) 3. Idempotency(幂等键检查) 4. Execute(执行器:Claim/Signin/Lottery...) 5. Audit(审计落库 + outbox) 6. Normalize(统一错误码/返回)
@@ -2600,7 +3729,7 @@ var ActionsApi = class extends BaseAPI {
2600
3729
  headers: headerParameters,
2601
3730
  query: queryParameters
2602
3731
  }, initOverrides);
2603
- return new JSONApiResponse(response, (jsonValue) => ActionDefinitionVersionResponseFromJSON(jsonValue));
3732
+ return new JSONApiResponse(response, (jsonValue) => GetActionDefinition200ResponseFromJSON(jsonValue));
2604
3733
  }
2605
3734
  /**
2606
3735
  * 按版本 ID 获取动作定义详情
@@ -2635,7 +3764,7 @@ var ActionsApi = class extends BaseAPI {
2635
3764
  query: queryParameters,
2636
3765
  body: ValidateActionRequestToJSON(requestParameters.validateActionRequest)
2637
3766
  }, initOverrides);
2638
- return new JSONApiResponse(response, (jsonValue) => ValidateActionResponseFromJSON(jsonValue));
3767
+ return new JSONApiResponse(response, (jsonValue) => ValidateActionParams200ResponseFromJSON(jsonValue));
2639
3768
  }
2640
3769
  /**
2641
3770
  * 验证参数是否符合 Schema 定义,不执行动作
@@ -2665,7 +3794,7 @@ var ActivitiesApi = class extends BaseAPI {
2665
3794
  headers: headerParameters,
2666
3795
  query: queryParameters
2667
3796
  }, initOverrides);
2668
- return new JSONApiResponse(response, (jsonValue) => ActivityInfoResponseFromJSON(jsonValue));
3797
+ return new JSONApiResponse(response, (jsonValue) => GetActivityInfo200ResponseFromJSON(jsonValue));
2669
3798
  }
2670
3799
  /**
2671
3800
  * 获取活动的公开信息,不需要登录
@@ -2704,7 +3833,7 @@ var ActivitiesApi = class extends BaseAPI {
2704
3833
  headers: headerParameters,
2705
3834
  query: queryParameters
2706
3835
  }, initOverrides);
2707
- return new JSONApiResponse(response, (jsonValue) => ActivityStatusResponseFromJSON(jsonValue));
3836
+ return new JSONApiResponse(response, (jsonValue) => GetActivityState200ResponseFromJSON(jsonValue));
2708
3837
  }
2709
3838
  /**
2710
3839
  * 查询用户在指定活动中的参与状态
@@ -2730,7 +3859,7 @@ var ActivitiesApi = class extends BaseAPI {
2730
3859
  headers: headerParameters,
2731
3860
  query: queryParameters
2732
3861
  }, initOverrides);
2733
- return new JSONApiResponse(response, (jsonValue) => ActivityStatusResponseFromJSON(jsonValue));
3862
+ return new JSONApiResponse(response, (jsonValue) => GetActivityState200ResponseFromJSON(jsonValue));
2734
3863
  }
2735
3864
  /**
2736
3865
  * 获取活动的当前状态信息
@@ -2775,7 +3904,7 @@ var ActivitiesApi = class extends BaseAPI {
2775
3904
  headers: headerParameters,
2776
3905
  query: queryParameters
2777
3906
  }, initOverrides);
2778
- return new JSONApiResponse(response, (jsonValue) => PaginatedRecordsResponseFromJSON(jsonValue));
3907
+ return new JSONApiResponse(response, (jsonValue) => GetClaimRecords200ResponseFromJSON(jsonValue));
2779
3908
  }
2780
3909
  /**
2781
3910
  * 获取用户在指定活动中的领取记录
@@ -2817,7 +3946,7 @@ var ActivitiesApi = class extends BaseAPI {
2817
3946
  headers: headerParameters,
2818
3947
  query: queryParameters
2819
3948
  }, initOverrides);
2820
- return new JSONApiResponse(response, (jsonValue) => ClaimStatusResponseFromJSON(jsonValue));
3949
+ return new JSONApiResponse(response, (jsonValue) => GetClaimStatus200ResponseFromJSON(jsonValue));
2821
3950
  }
2822
3951
  /**
2823
3952
  * 获取用户在指定活动中的领取状态
@@ -2859,7 +3988,7 @@ var ActivitiesApi = class extends BaseAPI {
2859
3988
  headers: headerParameters,
2860
3989
  query: queryParameters
2861
3990
  }, initOverrides);
2862
- return new JSONApiResponse(response, (jsonValue) => PaginatedRecordsResponseFromJSON(jsonValue));
3991
+ return new JSONApiResponse(response, (jsonValue) => GetClaimRecords200ResponseFromJSON(jsonValue));
2863
3992
  }
2864
3993
  /**
2865
3994
  * 获取用户在指定活动中的抽奖记录
@@ -2904,7 +4033,7 @@ var ActivitiesApi = class extends BaseAPI {
2904
4033
  headers: headerParameters,
2905
4034
  query: queryParameters
2906
4035
  }, initOverrides);
2907
- return new JSONApiResponse(response, (jsonValue) => SigninCalendarResponseFromJSON(jsonValue));
4036
+ return new JSONApiResponse(response, (jsonValue) => GetSigninCalendar200ResponseFromJSON(jsonValue));
2908
4037
  }
2909
4038
  /**
2910
4039
  * 获取用户的签到日历数据
@@ -2946,7 +4075,7 @@ var ActivitiesApi = class extends BaseAPI {
2946
4075
  headers: headerParameters,
2947
4076
  query: queryParameters
2948
4077
  }, initOverrides);
2949
- return new JSONApiResponse(response, (jsonValue) => SigninStatusResponseFromJSON(jsonValue));
4078
+ return new JSONApiResponse(response, (jsonValue) => GetSigninStatus200ResponseFromJSON(jsonValue));
2950
4079
  }
2951
4080
  /**
2952
4081
  * 获取用户在指定活动中的签到状态
@@ -2973,7 +4102,7 @@ var HealthApi = class extends BaseAPI {
2973
4102
  headers: headerParameters,
2974
4103
  query: queryParameters
2975
4104
  }, initOverrides);
2976
- return new JSONApiResponse(response, (jsonValue) => HealthCheckResponseFromJSON(jsonValue));
4105
+ return new JSONApiResponse(response, (jsonValue) => HealthCheck200ResponseFromJSON(jsonValue));
2977
4106
  }
2978
4107
  /**
2979
4108
  * 综合健康检查,返回服务状态和时间戳
@@ -2996,7 +4125,7 @@ var HealthApi = class extends BaseAPI {
2996
4125
  headers: headerParameters,
2997
4126
  query: queryParameters
2998
4127
  }, initOverrides);
2999
- return new JSONApiResponse(response, (jsonValue) => LivenessResponseFromJSON(jsonValue));
4128
+ return new JSONApiResponse(response, (jsonValue) => LivenessCheck200ResponseFromJSON(jsonValue));
3000
4129
  }
3001
4130
  /**
3002
4131
  * Kubernetes liveness probe
@@ -3019,7 +4148,7 @@ var HealthApi = class extends BaseAPI {
3019
4148
  headers: headerParameters,
3020
4149
  query: queryParameters
3021
4150
  }, initOverrides);
3022
- return new JSONApiResponse(response, (jsonValue) => ReadinessResponseFromJSON(jsonValue));
4151
+ return new JSONApiResponse(response, (jsonValue) => ReadinessCheck200ResponseFromJSON(jsonValue));
3023
4152
  }
3024
4153
  /**
3025
4154
  * Kubernetes readiness probe
@@ -3059,7 +4188,7 @@ var PagesApi = class extends BaseAPI {
3059
4188
  headers: headerParameters,
3060
4189
  query: queryParameters
3061
4190
  }, initOverrides);
3062
- return new JSONApiResponse(response, (jsonValue) => OpsConfigFromJSON(jsonValue));
4191
+ return new JSONApiResponse(response, (jsonValue) => GetPageConfig200ResponseFromJSON(jsonValue));
3063
4192
  }
3064
4193
  /**
3065
4194
  * 返回当前运维配置(killSwitch、blockedComponents 等)
@@ -3101,7 +4230,7 @@ var PagesApi = class extends BaseAPI {
3101
4230
  headers: headerParameters,
3102
4231
  query: queryParameters
3103
4232
  }, initOverrides);
3104
- return new JSONApiResponse(response, (jsonValue) => ManifestResponseFromJSON(jsonValue));
4233
+ return new JSONApiResponse(response, (jsonValue) => GetPageManifest200ResponseFromJSON(jsonValue));
3105
4234
  }
3106
4235
  /**
3107
4236
  * 返回页面的组件锁定清单
@@ -3173,7 +4302,7 @@ var PagesApi = class extends BaseAPI {
3173
4302
  headers: headerParameters,
3174
4303
  query: queryParameters
3175
4304
  }, initOverrides);
3176
- return new JSONApiResponse(response, (jsonValue) => ResolvePageResponseFromJSON(jsonValue));
4305
+ return new JSONApiResponse(response, (jsonValue) => ResolvePage200ResponseFromJSON(jsonValue));
3177
4306
  }
3178
4307
  /**
3179
4308
  * Runtime 核心接口,返回渲染所需的完整数据。 支持两种模式: 1. 稳定入口(推荐):支持灰度/回滚/ops,返回 resolvedVersionId 和 CDN 地址 2. 保底模式:当 includeSnapshot=true 时,返回完整 snapshot(CDN 失败时使用)
@@ -3212,7 +4341,7 @@ var QueriesApi = class extends BaseAPI {
3212
4341
  query: queryParameters,
3213
4342
  body: BatchQueryRequestToJSON(requestParameters.batchQueryRequest)
3214
4343
  }, initOverrides);
3215
- return new JSONApiResponse(response, (jsonValue) => BatchQueryResponseFromJSON(jsonValue));
4344
+ return new JSONApiResponse(response, (jsonValue) => BatchQueryData200ResponseFromJSON(jsonValue));
3216
4345
  }
3217
4346
  /**
3218
4347
  * 批量执行多个数据查询,所有查询并行执行
@@ -3248,7 +4377,7 @@ var QueriesApi = class extends BaseAPI {
3248
4377
  headers: headerParameters,
3249
4378
  query: queryParameters
3250
4379
  }, initOverrides);
3251
- return new JSONApiResponse(response, (jsonValue) => QueryDefinitionResponseFromJSON(jsonValue));
4380
+ return new JSONApiResponse(response, (jsonValue) => GetQueryDefinition200ResponseFromJSON(jsonValue));
3252
4381
  }
3253
4382
  /**
3254
4383
  * 按版本 ID 获取数据查询定义
@@ -3283,7 +4412,7 @@ var QueriesApi = class extends BaseAPI {
3283
4412
  query: queryParameters,
3284
4413
  body: QueryDataRequestToJSON(requestParameters.queryDataRequest)
3285
4414
  }, initOverrides);
3286
- return new JSONApiResponse(response, (jsonValue) => QueryDataResponseFromJSON(jsonValue));
4415
+ return new JSONApiResponse(response, (jsonValue) => QueryData200ResponseFromJSON(jsonValue));
3287
4416
  }
3288
4417
  /**
3289
4418
  * 通过 queryVersionId 查询数据
@@ -3332,7 +4461,7 @@ var TenantApi = class extends BaseAPI {
3332
4461
  headers: headerParameters,
3333
4462
  query: queryParameters
3334
4463
  }, initOverrides);
3335
- return new JSONApiResponse(response, (jsonValue) => TenantConfigResponseFromJSON(jsonValue));
4464
+ return new JSONApiResponse(response, (jsonValue) => GetTenantConfig200ResponseFromJSON(jsonValue));
3336
4465
  }
3337
4466
  /**
3338
4467
  * 获取当前租户的运行时配置
@@ -3360,7 +4489,7 @@ var TenantApi = class extends BaseAPI {
3360
4489
  query: queryParameters,
3361
4490
  body: ResolveTenantRequestToJSON(requestParameters.resolveTenantRequest)
3362
4491
  }, initOverrides);
3363
- return new JSONApiResponse(response, (jsonValue) => ResolveTenantResponseFromJSON(jsonValue));
4492
+ return new JSONApiResponse(response, (jsonValue) => ResolveTenant200ResponseFromJSON(jsonValue));
3364
4493
  }
3365
4494
  /**
3366
4495
  * 根据 appKey 或 host 解析租户/应用信息
@@ -3542,6 +4671,9 @@ var VERSION = "1.0.0";
3542
4671
  ActivityStatusTypeEnum,
3543
4672
  ApiError,
3544
4673
  BaseAPI,
4674
+ BatchQueryData200ResponseFromJSON,
4675
+ BatchQueryData200ResponseFromJSONTyped,
4676
+ BatchQueryData200ResponseToJSON,
3545
4677
  BatchQueryItemRequestFromJSON,
3546
4678
  BatchQueryItemRequestFromJSONTyped,
3547
4679
  BatchQueryItemRequestToJSON,
@@ -3551,9 +4683,9 @@ var VERSION = "1.0.0";
3551
4683
  BatchQueryResponseFromJSON,
3552
4684
  BatchQueryResponseFromJSONTyped,
3553
4685
  BatchQueryResponseToJSON,
3554
- BlockedComponentFromJSON,
3555
- BlockedComponentFromJSONTyped,
3556
- BlockedComponentToJSON,
4686
+ BlockedComponentItemFromJSON,
4687
+ BlockedComponentItemFromJSONTyped,
4688
+ BlockedComponentItemToJSON,
3557
4689
  ClaimStatusResponseFromJSON,
3558
4690
  ClaimStatusResponseFromJSONTyped,
3559
4691
  ClaimStatusResponseToJSON,
@@ -3561,13 +4693,12 @@ var VERSION = "1.0.0";
3561
4693
  CursorPaginationMetaFromJSON,
3562
4694
  CursorPaginationMetaFromJSONTyped,
3563
4695
  CursorPaginationMetaToJSON,
3564
- DegradeConfigFromJSON,
3565
- DegradeConfigFromJSONTyped,
3566
- DegradeConfigModeEnum,
3567
- DegradeConfigToJSON,
3568
4696
  ErrorResponseFromJSON,
3569
4697
  ErrorResponseFromJSONTyped,
3570
4698
  ErrorResponseToJSON,
4699
+ ExecuteAction200ResponseFromJSON,
4700
+ ExecuteAction200ResponseFromJSONTyped,
4701
+ ExecuteAction200ResponseToJSON,
3571
4702
  ExecuteActionRequestFromJSON,
3572
4703
  ExecuteActionRequestFromJSONTyped,
3573
4704
  ExecuteActionRequestToJSON,
@@ -3575,13 +4706,56 @@ var VERSION = "1.0.0";
3575
4706
  ExecuteActionResponseFromJSONTyped,
3576
4707
  ExecuteActionResponseToJSON,
3577
4708
  FetchError,
4709
+ GetActionDefinition200ResponseFromJSON,
4710
+ GetActionDefinition200ResponseFromJSONTyped,
4711
+ GetActionDefinition200ResponseToJSON,
4712
+ GetActivityInfo200ResponseFromJSON,
4713
+ GetActivityInfo200ResponseFromJSONTyped,
4714
+ GetActivityInfo200ResponseToJSON,
4715
+ GetActivityState200ResponseFromJSON,
4716
+ GetActivityState200ResponseFromJSONTyped,
4717
+ GetActivityState200ResponseToJSON,
4718
+ GetClaimRecords200ResponseFromJSON,
4719
+ GetClaimRecords200ResponseFromJSONTyped,
4720
+ GetClaimRecords200ResponseToJSON,
4721
+ GetClaimStatus200ResponseFromJSON,
4722
+ GetClaimStatus200ResponseFromJSONTyped,
4723
+ GetClaimStatus200ResponseToJSON,
4724
+ GetPageConfig200ResponseFromJSON,
4725
+ GetPageConfig200ResponseFromJSONTyped,
4726
+ GetPageConfig200ResponseToJSON,
4727
+ GetPageManifest200ResponseFromJSON,
4728
+ GetPageManifest200ResponseFromJSONTyped,
4729
+ GetPageManifest200ResponseToJSON,
4730
+ GetQueryDefinition200ResponseFromJSON,
4731
+ GetQueryDefinition200ResponseFromJSONTyped,
4732
+ GetQueryDefinition200ResponseToJSON,
4733
+ GetSigninCalendar200ResponseFromJSON,
4734
+ GetSigninCalendar200ResponseFromJSONTyped,
4735
+ GetSigninCalendar200ResponseToJSON,
4736
+ GetSigninStatus200ResponseFromJSON,
4737
+ GetSigninStatus200ResponseFromJSONTyped,
4738
+ GetSigninStatus200ResponseToJSON,
4739
+ GetTenantConfig200ResponseFromJSON,
4740
+ GetTenantConfig200ResponseFromJSONTyped,
4741
+ GetTenantConfig200ResponseToJSON,
3578
4742
  HealthApi,
4743
+ HealthCheck200ResponseFromJSON,
4744
+ HealthCheck200ResponseFromJSONTyped,
4745
+ HealthCheck200ResponseToJSON,
3579
4746
  HealthCheckItemFromJSON,
3580
4747
  HealthCheckItemFromJSONTyped,
3581
4748
  HealthCheckItemToJSON,
3582
4749
  HealthCheckResponseFromJSON,
3583
4750
  HealthCheckResponseFromJSONTyped,
3584
4751
  HealthCheckResponseToJSON,
4752
+ KillSwitchItemFromJSON,
4753
+ KillSwitchItemFromJSONTyped,
4754
+ KillSwitchItemTargetTypeEnum,
4755
+ KillSwitchItemToJSON,
4756
+ LivenessCheck200ResponseFromJSON,
4757
+ LivenessCheck200ResponseFromJSONTyped,
4758
+ LivenessCheck200ResponseToJSON,
3585
4759
  LivenessResponseFromJSON,
3586
4760
  LivenessResponseFromJSONTyped,
3587
4761
  LivenessResponseToJSON,
@@ -3613,6 +4787,9 @@ var VERSION = "1.0.0";
3613
4787
  QueryContextFromJSON,
3614
4788
  QueryContextFromJSONTyped,
3615
4789
  QueryContextToJSON,
4790
+ QueryData200ResponseFromJSON,
4791
+ QueryData200ResponseFromJSONTyped,
4792
+ QueryData200ResponseToJSON,
3616
4793
  QueryDataRequestFromJSON,
3617
4794
  QueryDataRequestFromJSONTyped,
3618
4795
  QueryDataRequestToJSON,
@@ -3626,13 +4803,25 @@ var VERSION = "1.0.0";
3626
4803
  QueryMetadataFromJSON,
3627
4804
  QueryMetadataFromJSONTyped,
3628
4805
  QueryMetadataToJSON,
4806
+ RateLimitConfigFromJSON,
4807
+ RateLimitConfigFromJSONTyped,
4808
+ RateLimitConfigToJSON,
4809
+ ReadinessCheck200ResponseFromJSON,
4810
+ ReadinessCheck200ResponseFromJSONTyped,
4811
+ ReadinessCheck200ResponseToJSON,
3629
4812
  ReadinessResponseFromJSON,
3630
4813
  ReadinessResponseFromJSONTyped,
3631
4814
  ReadinessResponseToJSON,
3632
4815
  RequiredError,
4816
+ ResolvePage200ResponseFromJSON,
4817
+ ResolvePage200ResponseFromJSONTyped,
4818
+ ResolvePage200ResponseToJSON,
3633
4819
  ResolvePageResponseFromJSON,
3634
4820
  ResolvePageResponseFromJSONTyped,
3635
4821
  ResolvePageResponseToJSON,
4822
+ ResolveTenant200ResponseFromJSON,
4823
+ ResolveTenant200ResponseFromJSONTyped,
4824
+ ResolveTenant200ResponseToJSON,
3636
4825
  ResolveTenantDataFromJSON,
3637
4826
  ResolveTenantDataFromJSONTyped,
3638
4827
  ResolveTenantDataToJSON,
@@ -3646,6 +4835,9 @@ var VERSION = "1.0.0";
3646
4835
  RewardInfoFromJSON,
3647
4836
  RewardInfoFromJSONTyped,
3648
4837
  RewardInfoToJSON,
4838
+ RolloutMatchFromJSON,
4839
+ RolloutMatchFromJSONTyped,
4840
+ RolloutMatchToJSON,
3649
4841
  SigninCalendarDataFromJSON,
3650
4842
  SigninCalendarDataFromJSONTyped,
3651
4843
  SigninCalendarDataToJSON,
@@ -3696,6 +4888,9 @@ var VERSION = "1.0.0";
3696
4888
  TrackSingleResponseToJSON,
3697
4889
  UserClient,
3698
4890
  VERSION,
4891
+ ValidateActionParams200ResponseFromJSON,
4892
+ ValidateActionParams200ResponseFromJSONTyped,
4893
+ ValidateActionParams200ResponseToJSON,
3699
4894
  ValidateActionRequestFromJSON,
3700
4895
  ValidateActionRequestFromJSONTyped,
3701
4896
  ValidateActionRequestToJSON,
@@ -3714,18 +4909,33 @@ var VERSION = "1.0.0";
3714
4909
  instanceOfActivityInfoResponse,
3715
4910
  instanceOfActivityStatus,
3716
4911
  instanceOfActivityStatusResponse,
4912
+ instanceOfBatchQueryData200Response,
3717
4913
  instanceOfBatchQueryItemRequest,
3718
4914
  instanceOfBatchQueryRequest,
3719
4915
  instanceOfBatchQueryResponse,
3720
- instanceOfBlockedComponent,
4916
+ instanceOfBlockedComponentItem,
3721
4917
  instanceOfClaimStatusResponse,
3722
4918
  instanceOfCursorPaginationMeta,
3723
- instanceOfDegradeConfig,
3724
4919
  instanceOfErrorResponse,
4920
+ instanceOfExecuteAction200Response,
3725
4921
  instanceOfExecuteActionRequest,
3726
4922
  instanceOfExecuteActionResponse,
4923
+ instanceOfGetActionDefinition200Response,
4924
+ instanceOfGetActivityInfo200Response,
4925
+ instanceOfGetActivityState200Response,
4926
+ instanceOfGetClaimRecords200Response,
4927
+ instanceOfGetClaimStatus200Response,
4928
+ instanceOfGetPageConfig200Response,
4929
+ instanceOfGetPageManifest200Response,
4930
+ instanceOfGetQueryDefinition200Response,
4931
+ instanceOfGetSigninCalendar200Response,
4932
+ instanceOfGetSigninStatus200Response,
4933
+ instanceOfGetTenantConfig200Response,
4934
+ instanceOfHealthCheck200Response,
3727
4935
  instanceOfHealthCheckItem,
3728
4936
  instanceOfHealthCheckResponse,
4937
+ instanceOfKillSwitchItem,
4938
+ instanceOfLivenessCheck200Response,
3729
4939
  instanceOfLivenessResponse,
3730
4940
  instanceOfManifestComponent,
3731
4941
  instanceOfManifestResponse,
@@ -3735,16 +4945,22 @@ var VERSION = "1.0.0";
3735
4945
  instanceOfPaginatedRecordsResponse,
3736
4946
  instanceOfPaginationMeta,
3737
4947
  instanceOfQueryContext,
4948
+ instanceOfQueryData200Response,
3738
4949
  instanceOfQueryDataRequest,
3739
4950
  instanceOfQueryDataResponse,
3740
4951
  instanceOfQueryDefinitionResponse,
3741
4952
  instanceOfQueryMetadata,
4953
+ instanceOfRateLimitConfig,
4954
+ instanceOfReadinessCheck200Response,
3742
4955
  instanceOfReadinessResponse,
4956
+ instanceOfResolvePage200Response,
3743
4957
  instanceOfResolvePageResponse,
4958
+ instanceOfResolveTenant200Response,
3744
4959
  instanceOfResolveTenantData,
3745
4960
  instanceOfResolveTenantRequest,
3746
4961
  instanceOfResolveTenantResponse,
3747
4962
  instanceOfRewardInfo,
4963
+ instanceOfRolloutMatch,
3748
4964
  instanceOfSigninCalendarData,
3749
4965
  instanceOfSigninCalendarResponse,
3750
4966
  instanceOfSigninStatusResponse,
@@ -3760,6 +4976,7 @@ var VERSION = "1.0.0";
3760
4976
  instanceOfTrackSingleRequest,
3761
4977
  instanceOfTrackSingleResponse,
3762
4978
  instanceOfTrackSingleResponseData,
4979
+ instanceOfValidateActionParams200Response,
3763
4980
  instanceOfValidateActionRequest,
3764
4981
  instanceOfValidateActionResponse,
3765
4982
  isRetryableError