@djvlc/openapi-user-client 1.7.1 → 1.7.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.d.mts +3360 -1279
- package/dist/index.d.ts +3360 -1279
- package/dist/index.js +2224 -451
- package/dist/index.mjs +2048 -425
- package/openapi/dist/user-api.yaml +934 -177
- package/openapi/src/components/responses/_index.yaml +30 -0
- package/openapi/src/components/schemas/_index.yaml +391 -37
- package/openapi/src/openapi.yaml +62 -16
- package/openapi/src/paths/actions.yaml +63 -23
- package/openapi/src/paths/health.yaml +88 -0
- package/openapi/src/paths/queries.yaml +71 -18
- package/openapi/src/paths/tenant.yaml +93 -0
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -24,18 +24,42 @@ __export(index_exports, {
|
|
|
24
24
|
ActionContextFromJSON: () => ActionContextFromJSON,
|
|
25
25
|
ActionContextFromJSONTyped: () => ActionContextFromJSONTyped,
|
|
26
26
|
ActionContextToJSON: () => ActionContextToJSON,
|
|
27
|
+
ActionDefinitionResponseFromJSON: () => ActionDefinitionResponseFromJSON,
|
|
28
|
+
ActionDefinitionResponseFromJSONTyped: () => ActionDefinitionResponseFromJSONTyped,
|
|
29
|
+
ActionDefinitionResponseToJSON: () => ActionDefinitionResponseToJSON,
|
|
27
30
|
ActionEffectFromJSON: () => ActionEffectFromJSON,
|
|
28
31
|
ActionEffectFromJSONTyped: () => ActionEffectFromJSONTyped,
|
|
29
32
|
ActionEffectToJSON: () => ActionEffectToJSON,
|
|
30
33
|
ActionEffectTypeEnum: () => ActionEffectTypeEnum,
|
|
34
|
+
ActionManifestActionTypeEnum: () => ActionManifestActionTypeEnum,
|
|
31
35
|
ActionManifestFromJSON: () => ActionManifestFromJSON,
|
|
32
36
|
ActionManifestFromJSONTyped: () => ActionManifestFromJSONTyped,
|
|
33
37
|
ActionManifestToJSON: () => ActionManifestToJSON,
|
|
34
|
-
ActionManifestTypeEnum: () => ActionManifestTypeEnum,
|
|
35
38
|
ActionsApi: () => ActionsApi,
|
|
36
39
|
ActivitiesApi: () => ActivitiesApi,
|
|
37
40
|
ApiError: () => import_openapi_client_core2.ApiError,
|
|
38
41
|
BaseAPI: () => BaseAPI,
|
|
42
|
+
BatchQueryData200ResponseDataValueErrorFromJSON: () => BatchQueryData200ResponseDataValueErrorFromJSON,
|
|
43
|
+
BatchQueryData200ResponseDataValueErrorFromJSONTyped: () => BatchQueryData200ResponseDataValueErrorFromJSONTyped,
|
|
44
|
+
BatchQueryData200ResponseDataValueErrorToJSON: () => BatchQueryData200ResponseDataValueErrorToJSON,
|
|
45
|
+
BatchQueryData200ResponseDataValueFromJSON: () => BatchQueryData200ResponseDataValueFromJSON,
|
|
46
|
+
BatchQueryData200ResponseDataValueFromJSONTyped: () => BatchQueryData200ResponseDataValueFromJSONTyped,
|
|
47
|
+
BatchQueryData200ResponseDataValueToJSON: () => BatchQueryData200ResponseDataValueToJSON,
|
|
48
|
+
BatchQueryData200ResponseFromJSON: () => BatchQueryData200ResponseFromJSON,
|
|
49
|
+
BatchQueryData200ResponseFromJSONTyped: () => BatchQueryData200ResponseFromJSONTyped,
|
|
50
|
+
BatchQueryData200ResponseToJSON: () => BatchQueryData200ResponseToJSON,
|
|
51
|
+
BatchQueryDataRequestFromJSON: () => BatchQueryDataRequestFromJSON,
|
|
52
|
+
BatchQueryDataRequestFromJSONTyped: () => BatchQueryDataRequestFromJSONTyped,
|
|
53
|
+
BatchQueryDataRequestQueriesInnerFromJSON: () => BatchQueryDataRequestQueriesInnerFromJSON,
|
|
54
|
+
BatchQueryDataRequestQueriesInnerFromJSONTyped: () => BatchQueryDataRequestQueriesInnerFromJSONTyped,
|
|
55
|
+
BatchQueryDataRequestQueriesInnerToJSON: () => BatchQueryDataRequestQueriesInnerToJSON,
|
|
56
|
+
BatchQueryDataRequestToJSON: () => BatchQueryDataRequestToJSON,
|
|
57
|
+
BatchQueryRequestFromJSON: () => BatchQueryRequestFromJSON,
|
|
58
|
+
BatchQueryRequestFromJSONTyped: () => BatchQueryRequestFromJSONTyped,
|
|
59
|
+
BatchQueryRequestToJSON: () => BatchQueryRequestToJSON,
|
|
60
|
+
BatchQueryResponseFromJSON: () => BatchQueryResponseFromJSON,
|
|
61
|
+
BatchQueryResponseFromJSONTyped: () => BatchQueryResponseFromJSONTyped,
|
|
62
|
+
BatchQueryResponseToJSON: () => BatchQueryResponseToJSON,
|
|
39
63
|
ClaimRecordInfoFromJSON: () => ClaimRecordInfoFromJSON,
|
|
40
64
|
ClaimRecordInfoFromJSONTyped: () => ClaimRecordInfoFromJSONTyped,
|
|
41
65
|
ClaimRecordInfoStatusEnum: () => ClaimRecordInfoStatusEnum,
|
|
@@ -56,7 +80,17 @@ __export(index_exports, {
|
|
|
56
80
|
ExecuteAction200ResponseDataToJSON: () => ExecuteAction200ResponseDataToJSON,
|
|
57
81
|
ExecuteAction200ResponseFromJSON: () => ExecuteAction200ResponseFromJSON,
|
|
58
82
|
ExecuteAction200ResponseFromJSONTyped: () => ExecuteAction200ResponseFromJSONTyped,
|
|
83
|
+
ExecuteAction200ResponseMetaFromJSON: () => ExecuteAction200ResponseMetaFromJSON,
|
|
84
|
+
ExecuteAction200ResponseMetaFromJSONTyped: () => ExecuteAction200ResponseMetaFromJSONTyped,
|
|
85
|
+
ExecuteAction200ResponseMetaToJSON: () => ExecuteAction200ResponseMetaToJSON,
|
|
59
86
|
ExecuteAction200ResponseToJSON: () => ExecuteAction200ResponseToJSON,
|
|
87
|
+
ExecuteAction409ResponseDataFromJSON: () => ExecuteAction409ResponseDataFromJSON,
|
|
88
|
+
ExecuteAction409ResponseDataFromJSONTyped: () => ExecuteAction409ResponseDataFromJSONTyped,
|
|
89
|
+
ExecuteAction409ResponseDataToJSON: () => ExecuteAction409ResponseDataToJSON,
|
|
90
|
+
ExecuteAction409ResponseFromJSON: () => ExecuteAction409ResponseFromJSON,
|
|
91
|
+
ExecuteAction409ResponseFromJSONTyped: () => ExecuteAction409ResponseFromJSONTyped,
|
|
92
|
+
ExecuteAction409ResponseToJSON: () => ExecuteAction409ResponseToJSON,
|
|
93
|
+
ExecuteActionRequestActionTypeEnum: () => ExecuteActionRequestActionTypeEnum,
|
|
60
94
|
ExecuteActionRequestContextFromJSON: () => ExecuteActionRequestContextFromJSON,
|
|
61
95
|
ExecuteActionRequestContextFromJSONTyped: () => ExecuteActionRequestContextFromJSONTyped,
|
|
62
96
|
ExecuteActionRequestContextToJSON: () => ExecuteActionRequestContextToJSON,
|
|
@@ -69,25 +103,13 @@ __export(index_exports, {
|
|
|
69
103
|
ExecuteActionResponseFromJSON: () => ExecuteActionResponseFromJSON,
|
|
70
104
|
ExecuteActionResponseFromJSONTyped: () => ExecuteActionResponseFromJSONTyped,
|
|
71
105
|
ExecuteActionResponseToJSON: () => ExecuteActionResponseToJSON,
|
|
72
|
-
ExecuteQuery200ResponseFromJSON: () => ExecuteQuery200ResponseFromJSON,
|
|
73
|
-
ExecuteQuery200ResponseFromJSONTyped: () => ExecuteQuery200ResponseFromJSONTyped,
|
|
74
|
-
ExecuteQuery200ResponseMetaFromJSON: () => ExecuteQuery200ResponseMetaFromJSON,
|
|
75
|
-
ExecuteQuery200ResponseMetaFromJSONTyped: () => ExecuteQuery200ResponseMetaFromJSONTyped,
|
|
76
|
-
ExecuteQuery200ResponseMetaPaginationFromJSON: () => ExecuteQuery200ResponseMetaPaginationFromJSON,
|
|
77
|
-
ExecuteQuery200ResponseMetaPaginationFromJSONTyped: () => ExecuteQuery200ResponseMetaPaginationFromJSONTyped,
|
|
78
|
-
ExecuteQuery200ResponseMetaPaginationToJSON: () => ExecuteQuery200ResponseMetaPaginationToJSON,
|
|
79
|
-
ExecuteQuery200ResponseMetaToJSON: () => ExecuteQuery200ResponseMetaToJSON,
|
|
80
|
-
ExecuteQuery200ResponseToJSON: () => ExecuteQuery200ResponseToJSON,
|
|
81
|
-
ExecuteQueryRequestFromJSON: () => ExecuteQueryRequestFromJSON,
|
|
82
|
-
ExecuteQueryRequestFromJSONTyped: () => ExecuteQueryRequestFromJSONTyped,
|
|
83
|
-
ExecuteQueryRequestOptionsFromJSON: () => ExecuteQueryRequestOptionsFromJSON,
|
|
84
|
-
ExecuteQueryRequestOptionsFromJSONTyped: () => ExecuteQueryRequestOptionsFromJSONTyped,
|
|
85
|
-
ExecuteQueryRequestOptionsToJSON: () => ExecuteQueryRequestOptionsToJSON,
|
|
86
|
-
ExecuteQueryRequestToJSON: () => ExecuteQueryRequestToJSON,
|
|
87
|
-
ExecuteQueryResponseFromJSON: () => ExecuteQueryResponseFromJSON,
|
|
88
|
-
ExecuteQueryResponseFromJSONTyped: () => ExecuteQueryResponseFromJSONTyped,
|
|
89
|
-
ExecuteQueryResponseToJSON: () => ExecuteQueryResponseToJSON,
|
|
90
106
|
FetchError: () => FetchError,
|
|
107
|
+
GetActionDefinition200ResponseDataFromJSON: () => GetActionDefinition200ResponseDataFromJSON,
|
|
108
|
+
GetActionDefinition200ResponseDataFromJSONTyped: () => GetActionDefinition200ResponseDataFromJSONTyped,
|
|
109
|
+
GetActionDefinition200ResponseDataToJSON: () => GetActionDefinition200ResponseDataToJSON,
|
|
110
|
+
GetActionDefinition200ResponseFromJSON: () => GetActionDefinition200ResponseFromJSON,
|
|
111
|
+
GetActionDefinition200ResponseFromJSONTyped: () => GetActionDefinition200ResponseFromJSONTyped,
|
|
112
|
+
GetActionDefinition200ResponseToJSON: () => GetActionDefinition200ResponseToJSON,
|
|
91
113
|
GetActivityInfo200ResponseDataFromJSON: () => GetActivityInfo200ResponseDataFromJSON,
|
|
92
114
|
GetActivityInfo200ResponseDataFromJSONTyped: () => GetActivityInfo200ResponseDataFromJSONTyped,
|
|
93
115
|
GetActivityInfo200ResponseDataRewardsInnerFromJSON: () => GetActivityInfo200ResponseDataRewardsInnerFromJSON,
|
|
@@ -138,6 +160,12 @@ __export(index_exports, {
|
|
|
138
160
|
GetPage404ResponseFromJSON: () => GetPage404ResponseFromJSON,
|
|
139
161
|
GetPage404ResponseFromJSONTyped: () => GetPage404ResponseFromJSONTyped,
|
|
140
162
|
GetPage404ResponseToJSON: () => GetPage404ResponseToJSON,
|
|
163
|
+
GetQueryDefinition200ResponseDataFromJSON: () => GetQueryDefinition200ResponseDataFromJSON,
|
|
164
|
+
GetQueryDefinition200ResponseDataFromJSONTyped: () => GetQueryDefinition200ResponseDataFromJSONTyped,
|
|
165
|
+
GetQueryDefinition200ResponseDataToJSON: () => GetQueryDefinition200ResponseDataToJSON,
|
|
166
|
+
GetQueryDefinition200ResponseFromJSON: () => GetQueryDefinition200ResponseFromJSON,
|
|
167
|
+
GetQueryDefinition200ResponseFromJSONTyped: () => GetQueryDefinition200ResponseFromJSONTyped,
|
|
168
|
+
GetQueryDefinition200ResponseToJSON: () => GetQueryDefinition200ResponseToJSON,
|
|
141
169
|
GetSigninCalendar200ResponseDataFromJSON: () => GetSigninCalendar200ResponseDataFromJSON,
|
|
142
170
|
GetSigninCalendar200ResponseDataFromJSONTyped: () => GetSigninCalendar200ResponseDataFromJSONTyped,
|
|
143
171
|
GetSigninCalendar200ResponseDataRecordsInnerFromJSON: () => GetSigninCalendar200ResponseDataRecordsInnerFromJSON,
|
|
@@ -150,12 +178,45 @@ __export(index_exports, {
|
|
|
150
178
|
GetSigninCalendar200ResponseFromJSON: () => GetSigninCalendar200ResponseFromJSON,
|
|
151
179
|
GetSigninCalendar200ResponseFromJSONTyped: () => GetSigninCalendar200ResponseFromJSONTyped,
|
|
152
180
|
GetSigninCalendar200ResponseToJSON: () => GetSigninCalendar200ResponseToJSON,
|
|
181
|
+
GetTenantConfig200ResponseDataBlockedComponentsInnerFromJSON: () => GetTenantConfig200ResponseDataBlockedComponentsInnerFromJSON,
|
|
182
|
+
GetTenantConfig200ResponseDataBlockedComponentsInnerFromJSONTyped: () => GetTenantConfig200ResponseDataBlockedComponentsInnerFromJSONTyped,
|
|
183
|
+
GetTenantConfig200ResponseDataBlockedComponentsInnerToJSON: () => GetTenantConfig200ResponseDataBlockedComponentsInnerToJSON,
|
|
184
|
+
GetTenantConfig200ResponseDataFromJSON: () => GetTenantConfig200ResponseDataFromJSON,
|
|
185
|
+
GetTenantConfig200ResponseDataFromJSONTyped: () => GetTenantConfig200ResponseDataFromJSONTyped,
|
|
186
|
+
GetTenantConfig200ResponseDataKillSwitchFromJSON: () => GetTenantConfig200ResponseDataKillSwitchFromJSON,
|
|
187
|
+
GetTenantConfig200ResponseDataKillSwitchFromJSONTyped: () => GetTenantConfig200ResponseDataKillSwitchFromJSONTyped,
|
|
188
|
+
GetTenantConfig200ResponseDataKillSwitchToJSON: () => GetTenantConfig200ResponseDataKillSwitchToJSON,
|
|
189
|
+
GetTenantConfig200ResponseDataToJSON: () => GetTenantConfig200ResponseDataToJSON,
|
|
190
|
+
GetTenantConfig200ResponseFromJSON: () => GetTenantConfig200ResponseFromJSON,
|
|
191
|
+
GetTenantConfig200ResponseFromJSONTyped: () => GetTenantConfig200ResponseFromJSONTyped,
|
|
192
|
+
GetTenantConfig200ResponseToJSON: () => GetTenantConfig200ResponseToJSON,
|
|
193
|
+
HealthCheck200ResponseDependenciesValueFromJSON: () => HealthCheck200ResponseDependenciesValueFromJSON,
|
|
194
|
+
HealthCheck200ResponseDependenciesValueFromJSONTyped: () => HealthCheck200ResponseDependenciesValueFromJSONTyped,
|
|
195
|
+
HealthCheck200ResponseDependenciesValueStatusEnum: () => HealthCheck200ResponseDependenciesValueStatusEnum,
|
|
196
|
+
HealthCheck200ResponseDependenciesValueToJSON: () => HealthCheck200ResponseDependenciesValueToJSON,
|
|
197
|
+
HealthCheck200ResponseFromJSON: () => HealthCheck200ResponseFromJSON,
|
|
198
|
+
HealthCheck200ResponseFromJSONTyped: () => HealthCheck200ResponseFromJSONTyped,
|
|
199
|
+
HealthCheck200ResponseStatusEnum: () => HealthCheck200ResponseStatusEnum,
|
|
200
|
+
HealthCheck200ResponseToJSON: () => HealthCheck200ResponseToJSON,
|
|
201
|
+
HealthResponseFromJSON: () => HealthResponseFromJSON,
|
|
202
|
+
HealthResponseFromJSONTyped: () => HealthResponseFromJSONTyped,
|
|
203
|
+
HealthResponseStatusEnum: () => HealthResponseStatusEnum,
|
|
204
|
+
HealthResponseToJSON: () => HealthResponseToJSON,
|
|
205
|
+
IdempotencyConflictResponseFromJSON: () => IdempotencyConflictResponseFromJSON,
|
|
206
|
+
IdempotencyConflictResponseFromJSONTyped: () => IdempotencyConflictResponseFromJSONTyped,
|
|
207
|
+
IdempotencyConflictResponseToJSON: () => IdempotencyConflictResponseToJSON,
|
|
208
|
+
LivenessCheck200ResponseFromJSON: () => LivenessCheck200ResponseFromJSON,
|
|
209
|
+
LivenessCheck200ResponseFromJSONTyped: () => LivenessCheck200ResponseFromJSONTyped,
|
|
210
|
+
LivenessCheck200ResponseToJSON: () => LivenessCheck200ResponseToJSON,
|
|
153
211
|
LotteryRecordInfoFromJSON: () => LotteryRecordInfoFromJSON,
|
|
154
212
|
LotteryRecordInfoFromJSONTyped: () => LotteryRecordInfoFromJSONTyped,
|
|
155
213
|
LotteryRecordInfoPrizeTypeEnum: () => LotteryRecordInfoPrizeTypeEnum,
|
|
156
214
|
LotteryRecordInfoStatusEnum: () => LotteryRecordInfoStatusEnum,
|
|
157
215
|
LotteryRecordInfoToJSON: () => LotteryRecordInfoToJSON,
|
|
158
216
|
NetworkError: () => import_openapi_client_core2.NetworkError,
|
|
217
|
+
OpsConfigFromJSON: () => OpsConfigFromJSON,
|
|
218
|
+
OpsConfigFromJSONTyped: () => OpsConfigFromJSONTyped,
|
|
219
|
+
OpsConfigToJSON: () => OpsConfigToJSON,
|
|
159
220
|
PageResponseFromJSON: () => PageResponseFromJSON,
|
|
160
221
|
PageResponseFromJSONTyped: () => PageResponseFromJSONTyped,
|
|
161
222
|
PageResponseToJSON: () => PageResponseToJSON,
|
|
@@ -169,9 +230,42 @@ __export(index_exports, {
|
|
|
169
230
|
PublicActivityInfoToJSON: () => PublicActivityInfoToJSON,
|
|
170
231
|
PublicActivityInfoTypeEnum: () => PublicActivityInfoTypeEnum,
|
|
171
232
|
QueriesApi: () => QueriesApi,
|
|
233
|
+
QueryContextFromJSON: () => QueryContextFromJSON,
|
|
234
|
+
QueryContextFromJSONTyped: () => QueryContextFromJSONTyped,
|
|
235
|
+
QueryContextToJSON: () => QueryContextToJSON,
|
|
236
|
+
QueryData200ResponseFromJSON: () => QueryData200ResponseFromJSON,
|
|
237
|
+
QueryData200ResponseFromJSONTyped: () => QueryData200ResponseFromJSONTyped,
|
|
238
|
+
QueryData200ResponseMetaFromJSON: () => QueryData200ResponseMetaFromJSON,
|
|
239
|
+
QueryData200ResponseMetaFromJSONTyped: () => QueryData200ResponseMetaFromJSONTyped,
|
|
240
|
+
QueryData200ResponseMetaPaginationFromJSON: () => QueryData200ResponseMetaPaginationFromJSON,
|
|
241
|
+
QueryData200ResponseMetaPaginationFromJSONTyped: () => QueryData200ResponseMetaPaginationFromJSONTyped,
|
|
242
|
+
QueryData200ResponseMetaPaginationToJSON: () => QueryData200ResponseMetaPaginationToJSON,
|
|
243
|
+
QueryData200ResponseMetaToJSON: () => QueryData200ResponseMetaToJSON,
|
|
244
|
+
QueryData200ResponseToJSON: () => QueryData200ResponseToJSON,
|
|
245
|
+
QueryDataRequestContextFromJSON: () => QueryDataRequestContextFromJSON,
|
|
246
|
+
QueryDataRequestContextFromJSONTyped: () => QueryDataRequestContextFromJSONTyped,
|
|
247
|
+
QueryDataRequestContextToJSON: () => QueryDataRequestContextToJSON,
|
|
248
|
+
QueryDataRequestFromJSON: () => QueryDataRequestFromJSON,
|
|
249
|
+
QueryDataRequestFromJSONTyped: () => QueryDataRequestFromJSONTyped,
|
|
250
|
+
QueryDataRequestOptionsFromJSON: () => QueryDataRequestOptionsFromJSON,
|
|
251
|
+
QueryDataRequestOptionsFromJSONTyped: () => QueryDataRequestOptionsFromJSONTyped,
|
|
252
|
+
QueryDataRequestOptionsToJSON: () => QueryDataRequestOptionsToJSON,
|
|
253
|
+
QueryDataRequestToJSON: () => QueryDataRequestToJSON,
|
|
254
|
+
QueryDataResponseFromJSON: () => QueryDataResponseFromJSON,
|
|
255
|
+
QueryDataResponseFromJSONTyped: () => QueryDataResponseFromJSONTyped,
|
|
256
|
+
QueryDataResponseToJSON: () => QueryDataResponseToJSON,
|
|
257
|
+
QueryDefinitionResponseFromJSON: () => QueryDefinitionResponseFromJSON,
|
|
258
|
+
QueryDefinitionResponseFromJSONTyped: () => QueryDefinitionResponseFromJSONTyped,
|
|
259
|
+
QueryDefinitionResponseToJSON: () => QueryDefinitionResponseToJSON,
|
|
172
260
|
QueryManifestFromJSON: () => QueryManifestFromJSON,
|
|
173
261
|
QueryManifestFromJSONTyped: () => QueryManifestFromJSONTyped,
|
|
174
262
|
QueryManifestToJSON: () => QueryManifestToJSON,
|
|
263
|
+
ReadinessCheck200ResponseFromJSON: () => ReadinessCheck200ResponseFromJSON,
|
|
264
|
+
ReadinessCheck200ResponseFromJSONTyped: () => ReadinessCheck200ResponseFromJSONTyped,
|
|
265
|
+
ReadinessCheck200ResponseToJSON: () => ReadinessCheck200ResponseToJSON,
|
|
266
|
+
ReadinessCheck503ResponseFromJSON: () => ReadinessCheck503ResponseFromJSON,
|
|
267
|
+
ReadinessCheck503ResponseFromJSONTyped: () => ReadinessCheck503ResponseFromJSONTyped,
|
|
268
|
+
ReadinessCheck503ResponseToJSON: () => ReadinessCheck503ResponseToJSON,
|
|
175
269
|
RequiredError: () => RequiredError,
|
|
176
270
|
ResolveContextDeviceTypeEnum: () => ResolveContextDeviceTypeEnum,
|
|
177
271
|
ResolveContextFromJSON: () => ResolveContextFromJSON,
|
|
@@ -179,10 +273,10 @@ __export(index_exports, {
|
|
|
179
273
|
ResolveContextToJSON: () => ResolveContextToJSON,
|
|
180
274
|
ResolvePage200ResponseDataFromJSON: () => ResolvePage200ResponseDataFromJSON,
|
|
181
275
|
ResolvePage200ResponseDataFromJSONTyped: () => ResolvePage200ResponseDataFromJSONTyped,
|
|
276
|
+
ResolvePage200ResponseDataManifestsActionsInnerActionTypeEnum: () => ResolvePage200ResponseDataManifestsActionsInnerActionTypeEnum,
|
|
182
277
|
ResolvePage200ResponseDataManifestsActionsInnerFromJSON: () => ResolvePage200ResponseDataManifestsActionsInnerFromJSON,
|
|
183
278
|
ResolvePage200ResponseDataManifestsActionsInnerFromJSONTyped: () => ResolvePage200ResponseDataManifestsActionsInnerFromJSONTyped,
|
|
184
279
|
ResolvePage200ResponseDataManifestsActionsInnerToJSON: () => ResolvePage200ResponseDataManifestsActionsInnerToJSON,
|
|
185
|
-
ResolvePage200ResponseDataManifestsActionsInnerTypeEnum: () => ResolvePage200ResponseDataManifestsActionsInnerTypeEnum,
|
|
186
280
|
ResolvePage200ResponseDataManifestsComponentsInnerFromJSON: () => ResolvePage200ResponseDataManifestsComponentsInnerFromJSON,
|
|
187
281
|
ResolvePage200ResponseDataManifestsComponentsInnerFromJSONTyped: () => ResolvePage200ResponseDataManifestsComponentsInnerFromJSONTyped,
|
|
188
282
|
ResolvePage200ResponseDataManifestsComponentsInnerToJSON: () => ResolvePage200ResponseDataManifestsComponentsInnerToJSON,
|
|
@@ -192,6 +286,9 @@ __export(index_exports, {
|
|
|
192
286
|
ResolvePage200ResponseDataManifestsQueriesInnerFromJSONTyped: () => ResolvePage200ResponseDataManifestsQueriesInnerFromJSONTyped,
|
|
193
287
|
ResolvePage200ResponseDataManifestsQueriesInnerToJSON: () => ResolvePage200ResponseDataManifestsQueriesInnerToJSON,
|
|
194
288
|
ResolvePage200ResponseDataManifestsToJSON: () => ResolvePage200ResponseDataManifestsToJSON,
|
|
289
|
+
ResolvePage200ResponseDataOpsConfigFromJSON: () => ResolvePage200ResponseDataOpsConfigFromJSON,
|
|
290
|
+
ResolvePage200ResponseDataOpsConfigFromJSONTyped: () => ResolvePage200ResponseDataOpsConfigFromJSONTyped,
|
|
291
|
+
ResolvePage200ResponseDataOpsConfigToJSON: () => ResolvePage200ResponseDataOpsConfigToJSON,
|
|
195
292
|
ResolvePage200ResponseDataToJSON: () => ResolvePage200ResponseDataToJSON,
|
|
196
293
|
ResolvePage200ResponseFromJSON: () => ResolvePage200ResponseFromJSON,
|
|
197
294
|
ResolvePage200ResponseFromJSONTyped: () => ResolvePage200ResponseFromJSONTyped,
|
|
@@ -209,6 +306,16 @@ __export(index_exports, {
|
|
|
209
306
|
ResolvePageResponseFromJSON: () => ResolvePageResponseFromJSON,
|
|
210
307
|
ResolvePageResponseFromJSONTyped: () => ResolvePageResponseFromJSONTyped,
|
|
211
308
|
ResolvePageResponseToJSON: () => ResolvePageResponseToJSON,
|
|
309
|
+
ResolveTenant200ResponseDataFromJSON: () => ResolveTenant200ResponseDataFromJSON,
|
|
310
|
+
ResolveTenant200ResponseDataFromJSONTyped: () => ResolveTenant200ResponseDataFromJSONTyped,
|
|
311
|
+
ResolveTenant200ResponseDataStatusEnum: () => ResolveTenant200ResponseDataStatusEnum,
|
|
312
|
+
ResolveTenant200ResponseDataToJSON: () => ResolveTenant200ResponseDataToJSON,
|
|
313
|
+
ResolveTenant200ResponseFromJSON: () => ResolveTenant200ResponseFromJSON,
|
|
314
|
+
ResolveTenant200ResponseFromJSONTyped: () => ResolveTenant200ResponseFromJSONTyped,
|
|
315
|
+
ResolveTenant200ResponseToJSON: () => ResolveTenant200ResponseToJSON,
|
|
316
|
+
ResolveTenantRequestFromJSON: () => ResolveTenantRequestFromJSON,
|
|
317
|
+
ResolveTenantRequestFromJSONTyped: () => ResolveTenantRequestFromJSONTyped,
|
|
318
|
+
ResolveTenantRequestToJSON: () => ResolveTenantRequestToJSON,
|
|
212
319
|
ResourceManifestsFromJSON: () => ResourceManifestsFromJSON,
|
|
213
320
|
ResourceManifestsFromJSONTyped: () => ResourceManifestsFromJSONTyped,
|
|
214
321
|
ResourceManifestsToJSON: () => ResourceManifestsToJSON,
|
|
@@ -216,6 +323,13 @@ __export(index_exports, {
|
|
|
216
323
|
SigninCalendarFromJSON: () => SigninCalendarFromJSON,
|
|
217
324
|
SigninCalendarFromJSONTyped: () => SigninCalendarFromJSONTyped,
|
|
218
325
|
SigninCalendarToJSON: () => SigninCalendarToJSON,
|
|
326
|
+
TenantConfigFromJSON: () => TenantConfigFromJSON,
|
|
327
|
+
TenantConfigFromJSONTyped: () => TenantConfigFromJSONTyped,
|
|
328
|
+
TenantConfigToJSON: () => TenantConfigToJSON,
|
|
329
|
+
TenantInfoFromJSON: () => TenantInfoFromJSON,
|
|
330
|
+
TenantInfoFromJSONTyped: () => TenantInfoFromJSONTyped,
|
|
331
|
+
TenantInfoStatusEnum: () => TenantInfoStatusEnum,
|
|
332
|
+
TenantInfoToJSON: () => TenantInfoToJSON,
|
|
219
333
|
TimeoutError: () => import_openapi_client_core2.TimeoutError,
|
|
220
334
|
Track202ResponseDataFromJSON: () => Track202ResponseDataFromJSON,
|
|
221
335
|
Track202ResponseDataFromJSONTyped: () => Track202ResponseDataFromJSONTyped,
|
|
@@ -273,24 +387,31 @@ __export(index_exports, {
|
|
|
273
387
|
createUserClient: () => createUserClient,
|
|
274
388
|
createUserConfiguration: () => createUserConfiguration,
|
|
275
389
|
instanceOfActionContext: () => instanceOfActionContext,
|
|
390
|
+
instanceOfActionDefinitionResponse: () => instanceOfActionDefinitionResponse,
|
|
276
391
|
instanceOfActionEffect: () => instanceOfActionEffect,
|
|
277
392
|
instanceOfActionManifest: () => instanceOfActionManifest,
|
|
393
|
+
instanceOfBatchQueryData200Response: () => instanceOfBatchQueryData200Response,
|
|
394
|
+
instanceOfBatchQueryData200ResponseDataValue: () => instanceOfBatchQueryData200ResponseDataValue,
|
|
395
|
+
instanceOfBatchQueryData200ResponseDataValueError: () => instanceOfBatchQueryData200ResponseDataValueError,
|
|
396
|
+
instanceOfBatchQueryDataRequest: () => instanceOfBatchQueryDataRequest,
|
|
397
|
+
instanceOfBatchQueryDataRequestQueriesInner: () => instanceOfBatchQueryDataRequestQueriesInner,
|
|
398
|
+
instanceOfBatchQueryRequest: () => instanceOfBatchQueryRequest,
|
|
399
|
+
instanceOfBatchQueryResponse: () => instanceOfBatchQueryResponse,
|
|
278
400
|
instanceOfClaimRecordInfo: () => instanceOfClaimRecordInfo,
|
|
279
401
|
instanceOfComponentManifest: () => instanceOfComponentManifest,
|
|
280
402
|
instanceOfErrorResponse: () => instanceOfErrorResponse,
|
|
281
403
|
instanceOfExecuteAction200Response: () => instanceOfExecuteAction200Response,
|
|
282
404
|
instanceOfExecuteAction200ResponseData: () => instanceOfExecuteAction200ResponseData,
|
|
283
405
|
instanceOfExecuteAction200ResponseDataEffectsInner: () => instanceOfExecuteAction200ResponseDataEffectsInner,
|
|
406
|
+
instanceOfExecuteAction200ResponseMeta: () => instanceOfExecuteAction200ResponseMeta,
|
|
407
|
+
instanceOfExecuteAction409Response: () => instanceOfExecuteAction409Response,
|
|
408
|
+
instanceOfExecuteAction409ResponseData: () => instanceOfExecuteAction409ResponseData,
|
|
284
409
|
instanceOfExecuteActionRequest: () => instanceOfExecuteActionRequest,
|
|
285
410
|
instanceOfExecuteActionRequestContext: () => instanceOfExecuteActionRequestContext,
|
|
286
411
|
instanceOfExecuteActionRequestOptions: () => instanceOfExecuteActionRequestOptions,
|
|
287
412
|
instanceOfExecuteActionResponse: () => instanceOfExecuteActionResponse,
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
instanceOfExecuteQuery200ResponseMetaPagination: () => instanceOfExecuteQuery200ResponseMetaPagination,
|
|
291
|
-
instanceOfExecuteQueryRequest: () => instanceOfExecuteQueryRequest,
|
|
292
|
-
instanceOfExecuteQueryRequestOptions: () => instanceOfExecuteQueryRequestOptions,
|
|
293
|
-
instanceOfExecuteQueryResponse: () => instanceOfExecuteQueryResponse,
|
|
413
|
+
instanceOfGetActionDefinition200Response: () => instanceOfGetActionDefinition200Response,
|
|
414
|
+
instanceOfGetActionDefinition200ResponseData: () => instanceOfGetActionDefinition200ResponseData,
|
|
294
415
|
instanceOfGetActivityInfo200Response: () => instanceOfGetActivityInfo200Response,
|
|
295
416
|
instanceOfGetActivityInfo200ResponseData: () => instanceOfGetActivityInfo200ResponseData,
|
|
296
417
|
instanceOfGetActivityInfo200ResponseDataRewardsInner: () => instanceOfGetActivityInfo200ResponseDataRewardsInner,
|
|
@@ -306,15 +427,38 @@ __export(index_exports, {
|
|
|
306
427
|
instanceOfGetPage200ResponseDataMeta: () => instanceOfGetPage200ResponseDataMeta,
|
|
307
428
|
instanceOfGetPage404Response: () => instanceOfGetPage404Response,
|
|
308
429
|
instanceOfGetPage404ResponseDetailsInner: () => instanceOfGetPage404ResponseDetailsInner,
|
|
430
|
+
instanceOfGetQueryDefinition200Response: () => instanceOfGetQueryDefinition200Response,
|
|
431
|
+
instanceOfGetQueryDefinition200ResponseData: () => instanceOfGetQueryDefinition200ResponseData,
|
|
309
432
|
instanceOfGetSigninCalendar200Response: () => instanceOfGetSigninCalendar200Response,
|
|
310
433
|
instanceOfGetSigninCalendar200ResponseData: () => instanceOfGetSigninCalendar200ResponseData,
|
|
311
434
|
instanceOfGetSigninCalendar200ResponseDataRecordsInner: () => instanceOfGetSigninCalendar200ResponseDataRecordsInner,
|
|
312
435
|
instanceOfGetSigninCalendar200ResponseDataRecordsInnerReward: () => instanceOfGetSigninCalendar200ResponseDataRecordsInnerReward,
|
|
436
|
+
instanceOfGetTenantConfig200Response: () => instanceOfGetTenantConfig200Response,
|
|
437
|
+
instanceOfGetTenantConfig200ResponseData: () => instanceOfGetTenantConfig200ResponseData,
|
|
438
|
+
instanceOfGetTenantConfig200ResponseDataBlockedComponentsInner: () => instanceOfGetTenantConfig200ResponseDataBlockedComponentsInner,
|
|
439
|
+
instanceOfGetTenantConfig200ResponseDataKillSwitch: () => instanceOfGetTenantConfig200ResponseDataKillSwitch,
|
|
440
|
+
instanceOfHealthCheck200Response: () => instanceOfHealthCheck200Response,
|
|
441
|
+
instanceOfHealthCheck200ResponseDependenciesValue: () => instanceOfHealthCheck200ResponseDependenciesValue,
|
|
442
|
+
instanceOfHealthResponse: () => instanceOfHealthResponse,
|
|
443
|
+
instanceOfIdempotencyConflictResponse: () => instanceOfIdempotencyConflictResponse,
|
|
444
|
+
instanceOfLivenessCheck200Response: () => instanceOfLivenessCheck200Response,
|
|
313
445
|
instanceOfLotteryRecordInfo: () => instanceOfLotteryRecordInfo,
|
|
446
|
+
instanceOfOpsConfig: () => instanceOfOpsConfig,
|
|
314
447
|
instanceOfPageResponse: () => instanceOfPageResponse,
|
|
315
448
|
instanceOfPaginationMeta: () => instanceOfPaginationMeta,
|
|
316
449
|
instanceOfPublicActivityInfo: () => instanceOfPublicActivityInfo,
|
|
450
|
+
instanceOfQueryContext: () => instanceOfQueryContext,
|
|
451
|
+
instanceOfQueryData200Response: () => instanceOfQueryData200Response,
|
|
452
|
+
instanceOfQueryData200ResponseMeta: () => instanceOfQueryData200ResponseMeta,
|
|
453
|
+
instanceOfQueryData200ResponseMetaPagination: () => instanceOfQueryData200ResponseMetaPagination,
|
|
454
|
+
instanceOfQueryDataRequest: () => instanceOfQueryDataRequest,
|
|
455
|
+
instanceOfQueryDataRequestContext: () => instanceOfQueryDataRequestContext,
|
|
456
|
+
instanceOfQueryDataRequestOptions: () => instanceOfQueryDataRequestOptions,
|
|
457
|
+
instanceOfQueryDataResponse: () => instanceOfQueryDataResponse,
|
|
458
|
+
instanceOfQueryDefinitionResponse: () => instanceOfQueryDefinitionResponse,
|
|
317
459
|
instanceOfQueryManifest: () => instanceOfQueryManifest,
|
|
460
|
+
instanceOfReadinessCheck200Response: () => instanceOfReadinessCheck200Response,
|
|
461
|
+
instanceOfReadinessCheck503Response: () => instanceOfReadinessCheck503Response,
|
|
318
462
|
instanceOfResolveContext: () => instanceOfResolveContext,
|
|
319
463
|
instanceOfResolvePage200Response: () => instanceOfResolvePage200Response,
|
|
320
464
|
instanceOfResolvePage200ResponseData: () => instanceOfResolvePage200ResponseData,
|
|
@@ -322,12 +466,18 @@ __export(index_exports, {
|
|
|
322
466
|
instanceOfResolvePage200ResponseDataManifestsActionsInner: () => instanceOfResolvePage200ResponseDataManifestsActionsInner,
|
|
323
467
|
instanceOfResolvePage200ResponseDataManifestsComponentsInner: () => instanceOfResolvePage200ResponseDataManifestsComponentsInner,
|
|
324
468
|
instanceOfResolvePage200ResponseDataManifestsQueriesInner: () => instanceOfResolvePage200ResponseDataManifestsQueriesInner,
|
|
469
|
+
instanceOfResolvePage200ResponseDataOpsConfig: () => instanceOfResolvePage200ResponseDataOpsConfig,
|
|
325
470
|
instanceOfResolvePageRequest: () => instanceOfResolvePageRequest,
|
|
326
471
|
instanceOfResolvePageRequestContext: () => instanceOfResolvePageRequestContext,
|
|
327
472
|
instanceOfResolvePageRequestOptions: () => instanceOfResolvePageRequestOptions,
|
|
328
473
|
instanceOfResolvePageResponse: () => instanceOfResolvePageResponse,
|
|
474
|
+
instanceOfResolveTenant200Response: () => instanceOfResolveTenant200Response,
|
|
475
|
+
instanceOfResolveTenant200ResponseData: () => instanceOfResolveTenant200ResponseData,
|
|
476
|
+
instanceOfResolveTenantRequest: () => instanceOfResolveTenantRequest,
|
|
329
477
|
instanceOfResourceManifests: () => instanceOfResourceManifests,
|
|
330
478
|
instanceOfSigninCalendar: () => instanceOfSigninCalendar,
|
|
479
|
+
instanceOfTenantConfig: () => instanceOfTenantConfig,
|
|
480
|
+
instanceOfTenantInfo: () => instanceOfTenantInfo,
|
|
331
481
|
instanceOfTrack202Response: () => instanceOfTrack202Response,
|
|
332
482
|
instanceOfTrack202ResponseData: () => instanceOfTrack202ResponseData,
|
|
333
483
|
instanceOfTrackBatch202Response: () => instanceOfTrackBatch202Response,
|
|
@@ -586,6 +736,12 @@ function querystringSingleKey(key, value, keyPrefix = "") {
|
|
|
586
736
|
}
|
|
587
737
|
return `${encodeURIComponent(fullKey)}=${encodeURIComponent(String(value))}`;
|
|
588
738
|
}
|
|
739
|
+
function mapValues(data, fn) {
|
|
740
|
+
return Object.keys(data).reduce(
|
|
741
|
+
(acc, key) => ({ ...acc, [key]: fn(data[key]) }),
|
|
742
|
+
{}
|
|
743
|
+
);
|
|
744
|
+
}
|
|
589
745
|
var JSONApiResponse = class {
|
|
590
746
|
constructor(raw, transformer = (jsonValue) => jsonValue) {
|
|
591
747
|
this.raw = raw;
|
|
@@ -599,6 +755,7 @@ var JSONApiResponse = class {
|
|
|
599
755
|
// src/generated/models/ActionContext.ts
|
|
600
756
|
function instanceOfActionContext(value) {
|
|
601
757
|
let isInstance = true;
|
|
758
|
+
isInstance = isInstance && "pageVersionId" in value;
|
|
602
759
|
return isInstance;
|
|
603
760
|
}
|
|
604
761
|
function ActionContextFromJSON(json) {
|
|
@@ -609,9 +766,16 @@ function ActionContextFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
609
766
|
return json;
|
|
610
767
|
}
|
|
611
768
|
return {
|
|
612
|
-
"
|
|
613
|
-
"
|
|
769
|
+
"pageVersionId": json["pageVersionId"],
|
|
770
|
+
"componentVersionId": !exists(json, "componentVersionId") ? void 0 : json["componentVersionId"],
|
|
771
|
+
"actionId": !exists(json, "actionId") ? void 0 : json["actionId"],
|
|
772
|
+
"traceId": !exists(json, "traceId") ? void 0 : json["traceId"],
|
|
773
|
+
"uid": !exists(json, "uid") ? void 0 : json["uid"],
|
|
774
|
+
"deviceId": !exists(json, "deviceId") ? void 0 : json["deviceId"],
|
|
775
|
+
"channel": !exists(json, "channel") ? void 0 : json["channel"],
|
|
776
|
+
"sessionId": !exists(json, "sessionId") ? void 0 : json["sessionId"],
|
|
614
777
|
"eventName": !exists(json, "eventName") ? void 0 : json["eventName"],
|
|
778
|
+
"timestamp": !exists(json, "timestamp") ? void 0 : new Date(json["timestamp"]),
|
|
615
779
|
"state": !exists(json, "state") ? void 0 : json["state"]
|
|
616
780
|
};
|
|
617
781
|
}
|
|
@@ -623,19 +787,93 @@ function ActionContextToJSON(value) {
|
|
|
623
787
|
return null;
|
|
624
788
|
}
|
|
625
789
|
return {
|
|
626
|
-
"
|
|
627
|
-
"
|
|
790
|
+
"pageVersionId": value.pageVersionId,
|
|
791
|
+
"componentVersionId": value.componentVersionId,
|
|
792
|
+
"actionId": value.actionId,
|
|
793
|
+
"traceId": value.traceId,
|
|
794
|
+
"uid": value.uid,
|
|
795
|
+
"deviceId": value.deviceId,
|
|
796
|
+
"channel": value.channel,
|
|
797
|
+
"sessionId": value.sessionId,
|
|
628
798
|
"eventName": value.eventName,
|
|
799
|
+
"timestamp": value.timestamp === void 0 ? void 0 : value.timestamp.toISOString(),
|
|
629
800
|
"state": value.state
|
|
630
801
|
};
|
|
631
802
|
}
|
|
632
803
|
|
|
804
|
+
// src/generated/models/GetActionDefinition200ResponseData.ts
|
|
805
|
+
function instanceOfGetActionDefinition200ResponseData(value) {
|
|
806
|
+
let isInstance = true;
|
|
807
|
+
return isInstance;
|
|
808
|
+
}
|
|
809
|
+
function GetActionDefinition200ResponseDataFromJSON(json) {
|
|
810
|
+
return GetActionDefinition200ResponseDataFromJSONTyped(json, false);
|
|
811
|
+
}
|
|
812
|
+
function GetActionDefinition200ResponseDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
813
|
+
if (json === void 0 || json === null) {
|
|
814
|
+
return json;
|
|
815
|
+
}
|
|
816
|
+
return {
|
|
817
|
+
"actionDefinitionVersionId": !exists(json, "actionDefinitionVersionId") ? void 0 : json["actionDefinitionVersionId"],
|
|
818
|
+
"actionType": !exists(json, "actionType") ? void 0 : json["actionType"],
|
|
819
|
+
"name": !exists(json, "name") ? void 0 : json["name"],
|
|
820
|
+
"paramsSchema": !exists(json, "paramsSchema") ? void 0 : json["paramsSchema"],
|
|
821
|
+
"resultSchema": !exists(json, "resultSchema") ? void 0 : json["resultSchema"]
|
|
822
|
+
};
|
|
823
|
+
}
|
|
824
|
+
function GetActionDefinition200ResponseDataToJSON(value) {
|
|
825
|
+
if (value === void 0) {
|
|
826
|
+
return void 0;
|
|
827
|
+
}
|
|
828
|
+
if (value === null) {
|
|
829
|
+
return null;
|
|
830
|
+
}
|
|
831
|
+
return {
|
|
832
|
+
"actionDefinitionVersionId": value.actionDefinitionVersionId,
|
|
833
|
+
"actionType": value.actionType,
|
|
834
|
+
"name": value.name,
|
|
835
|
+
"paramsSchema": value.paramsSchema,
|
|
836
|
+
"resultSchema": value.resultSchema
|
|
837
|
+
};
|
|
838
|
+
}
|
|
839
|
+
|
|
840
|
+
// src/generated/models/ActionDefinitionResponse.ts
|
|
841
|
+
function instanceOfActionDefinitionResponse(value) {
|
|
842
|
+
let isInstance = true;
|
|
843
|
+
isInstance = isInstance && "data" in value;
|
|
844
|
+
return isInstance;
|
|
845
|
+
}
|
|
846
|
+
function ActionDefinitionResponseFromJSON(json) {
|
|
847
|
+
return ActionDefinitionResponseFromJSONTyped(json, false);
|
|
848
|
+
}
|
|
849
|
+
function ActionDefinitionResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
850
|
+
if (json === void 0 || json === null) {
|
|
851
|
+
return json;
|
|
852
|
+
}
|
|
853
|
+
return {
|
|
854
|
+
"data": GetActionDefinition200ResponseDataFromJSON(json["data"])
|
|
855
|
+
};
|
|
856
|
+
}
|
|
857
|
+
function ActionDefinitionResponseToJSON(value) {
|
|
858
|
+
if (value === void 0) {
|
|
859
|
+
return void 0;
|
|
860
|
+
}
|
|
861
|
+
if (value === null) {
|
|
862
|
+
return null;
|
|
863
|
+
}
|
|
864
|
+
return {
|
|
865
|
+
"data": GetActionDefinition200ResponseDataToJSON(value.data)
|
|
866
|
+
};
|
|
867
|
+
}
|
|
868
|
+
|
|
633
869
|
// src/generated/models/ActionEffect.ts
|
|
634
870
|
var ActionEffectTypeEnum = {
|
|
635
871
|
SET_STATE: "setState",
|
|
636
872
|
NAVIGATE: "navigate",
|
|
637
873
|
SHOW_TOAST: "showToast",
|
|
638
874
|
REFRESH_DATA: "refreshData",
|
|
875
|
+
OPEN_DIALOG: "openDialog",
|
|
876
|
+
CLOSE_DIALOG: "closeDialog",
|
|
639
877
|
CUSTOM: "custom"
|
|
640
878
|
};
|
|
641
879
|
function instanceOfActionEffect(value) {
|
|
@@ -669,14 +907,26 @@ function ActionEffectToJSON(value) {
|
|
|
669
907
|
}
|
|
670
908
|
|
|
671
909
|
// src/generated/models/ActionManifest.ts
|
|
672
|
-
var
|
|
673
|
-
|
|
910
|
+
var ActionManifestActionTypeEnum = {
|
|
911
|
+
CLAIM: "claim",
|
|
912
|
+
SIGNIN: "signin",
|
|
913
|
+
LOTTERY: "lottery",
|
|
914
|
+
RESERVE: "reserve",
|
|
915
|
+
BIND: "bind",
|
|
916
|
+
TASK_COMPLETE: "task_complete",
|
|
917
|
+
VOTE: "vote",
|
|
918
|
+
SHARE: "share",
|
|
919
|
+
FORM_SUBMIT: "form_submit",
|
|
920
|
+
NAVIGATE: "navigate",
|
|
921
|
+
SET_STATE: "setState",
|
|
922
|
+
SHOW_TOAST: "showToast",
|
|
923
|
+
REFRESH_DATA: "refreshData",
|
|
674
924
|
CUSTOM: "custom"
|
|
675
925
|
};
|
|
676
926
|
function instanceOfActionManifest(value) {
|
|
677
927
|
let isInstance = true;
|
|
678
928
|
isInstance = isInstance && "actionId" in value;
|
|
679
|
-
isInstance = isInstance && "
|
|
929
|
+
isInstance = isInstance && "actionDefinitionVersionId" in value;
|
|
680
930
|
return isInstance;
|
|
681
931
|
}
|
|
682
932
|
function ActionManifestFromJSON(json) {
|
|
@@ -688,8 +938,9 @@ function ActionManifestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
688
938
|
}
|
|
689
939
|
return {
|
|
690
940
|
"actionId": json["actionId"],
|
|
691
|
-
"
|
|
692
|
-
"
|
|
941
|
+
"actionDefinitionVersionId": json["actionDefinitionVersionId"],
|
|
942
|
+
"actionType": !exists(json, "actionType") ? void 0 : json["actionType"],
|
|
943
|
+
"builtin": !exists(json, "builtin") ? void 0 : json["builtin"]
|
|
693
944
|
};
|
|
694
945
|
}
|
|
695
946
|
function ActionManifestToJSON(value) {
|
|
@@ -701,8 +952,264 @@ function ActionManifestToJSON(value) {
|
|
|
701
952
|
}
|
|
702
953
|
return {
|
|
703
954
|
"actionId": value.actionId,
|
|
704
|
-
"
|
|
705
|
-
"
|
|
955
|
+
"actionDefinitionVersionId": value.actionDefinitionVersionId,
|
|
956
|
+
"actionType": value.actionType,
|
|
957
|
+
"builtin": value.builtin
|
|
958
|
+
};
|
|
959
|
+
}
|
|
960
|
+
|
|
961
|
+
// src/generated/models/BatchQueryData200ResponseDataValueError.ts
|
|
962
|
+
function instanceOfBatchQueryData200ResponseDataValueError(value) {
|
|
963
|
+
let isInstance = true;
|
|
964
|
+
return isInstance;
|
|
965
|
+
}
|
|
966
|
+
function BatchQueryData200ResponseDataValueErrorFromJSON(json) {
|
|
967
|
+
return BatchQueryData200ResponseDataValueErrorFromJSONTyped(json, false);
|
|
968
|
+
}
|
|
969
|
+
function BatchQueryData200ResponseDataValueErrorFromJSONTyped(json, ignoreDiscriminator) {
|
|
970
|
+
if (json === void 0 || json === null) {
|
|
971
|
+
return json;
|
|
972
|
+
}
|
|
973
|
+
return {
|
|
974
|
+
"code": !exists(json, "code") ? void 0 : json["code"],
|
|
975
|
+
"message": !exists(json, "message") ? void 0 : json["message"]
|
|
976
|
+
};
|
|
977
|
+
}
|
|
978
|
+
function BatchQueryData200ResponseDataValueErrorToJSON(value) {
|
|
979
|
+
if (value === void 0) {
|
|
980
|
+
return void 0;
|
|
981
|
+
}
|
|
982
|
+
if (value === null) {
|
|
983
|
+
return null;
|
|
984
|
+
}
|
|
985
|
+
return {
|
|
986
|
+
"code": value.code,
|
|
987
|
+
"message": value.message
|
|
988
|
+
};
|
|
989
|
+
}
|
|
990
|
+
|
|
991
|
+
// src/generated/models/BatchQueryData200ResponseDataValue.ts
|
|
992
|
+
function instanceOfBatchQueryData200ResponseDataValue(value) {
|
|
993
|
+
let isInstance = true;
|
|
994
|
+
return isInstance;
|
|
995
|
+
}
|
|
996
|
+
function BatchQueryData200ResponseDataValueFromJSON(json) {
|
|
997
|
+
return BatchQueryData200ResponseDataValueFromJSONTyped(json, false);
|
|
998
|
+
}
|
|
999
|
+
function BatchQueryData200ResponseDataValueFromJSONTyped(json, ignoreDiscriminator) {
|
|
1000
|
+
if (json === void 0 || json === null) {
|
|
1001
|
+
return json;
|
|
1002
|
+
}
|
|
1003
|
+
return {
|
|
1004
|
+
"success": !exists(json, "success") ? void 0 : json["success"],
|
|
1005
|
+
"data": !exists(json, "data") ? void 0 : json["data"],
|
|
1006
|
+
"error": !exists(json, "error") ? void 0 : BatchQueryData200ResponseDataValueErrorFromJSON(json["error"])
|
|
1007
|
+
};
|
|
1008
|
+
}
|
|
1009
|
+
function BatchQueryData200ResponseDataValueToJSON(value) {
|
|
1010
|
+
if (value === void 0) {
|
|
1011
|
+
return void 0;
|
|
1012
|
+
}
|
|
1013
|
+
if (value === null) {
|
|
1014
|
+
return null;
|
|
1015
|
+
}
|
|
1016
|
+
return {
|
|
1017
|
+
"success": value.success,
|
|
1018
|
+
"data": value.data,
|
|
1019
|
+
"error": BatchQueryData200ResponseDataValueErrorToJSON(value.error)
|
|
1020
|
+
};
|
|
1021
|
+
}
|
|
1022
|
+
|
|
1023
|
+
// src/generated/models/BatchQueryData200Response.ts
|
|
1024
|
+
function instanceOfBatchQueryData200Response(value) {
|
|
1025
|
+
let isInstance = true;
|
|
1026
|
+
isInstance = isInstance && "success" in value;
|
|
1027
|
+
isInstance = isInstance && "data" in value;
|
|
1028
|
+
return isInstance;
|
|
1029
|
+
}
|
|
1030
|
+
function BatchQueryData200ResponseFromJSON(json) {
|
|
1031
|
+
return BatchQueryData200ResponseFromJSONTyped(json, false);
|
|
1032
|
+
}
|
|
1033
|
+
function BatchQueryData200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
1034
|
+
if (json === void 0 || json === null) {
|
|
1035
|
+
return json;
|
|
1036
|
+
}
|
|
1037
|
+
return {
|
|
1038
|
+
"success": json["success"],
|
|
1039
|
+
"data": mapValues(json["data"], BatchQueryData200ResponseDataValueFromJSON)
|
|
1040
|
+
};
|
|
1041
|
+
}
|
|
1042
|
+
function BatchQueryData200ResponseToJSON(value) {
|
|
1043
|
+
if (value === void 0) {
|
|
1044
|
+
return void 0;
|
|
1045
|
+
}
|
|
1046
|
+
if (value === null) {
|
|
1047
|
+
return null;
|
|
1048
|
+
}
|
|
1049
|
+
return {
|
|
1050
|
+
"success": value.success,
|
|
1051
|
+
"data": mapValues(value.data, BatchQueryData200ResponseDataValueToJSON)
|
|
1052
|
+
};
|
|
1053
|
+
}
|
|
1054
|
+
|
|
1055
|
+
// src/generated/models/BatchQueryDataRequestQueriesInner.ts
|
|
1056
|
+
function instanceOfBatchQueryDataRequestQueriesInner(value) {
|
|
1057
|
+
let isInstance = true;
|
|
1058
|
+
isInstance = isInstance && "queryVersionId" in value;
|
|
1059
|
+
return isInstance;
|
|
1060
|
+
}
|
|
1061
|
+
function BatchQueryDataRequestQueriesInnerFromJSON(json) {
|
|
1062
|
+
return BatchQueryDataRequestQueriesInnerFromJSONTyped(json, false);
|
|
1063
|
+
}
|
|
1064
|
+
function BatchQueryDataRequestQueriesInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
1065
|
+
if (json === void 0 || json === null) {
|
|
1066
|
+
return json;
|
|
1067
|
+
}
|
|
1068
|
+
return {
|
|
1069
|
+
"queryVersionId": json["queryVersionId"],
|
|
1070
|
+
"params": !exists(json, "params") ? void 0 : json["params"],
|
|
1071
|
+
"alias": !exists(json, "alias") ? void 0 : json["alias"]
|
|
1072
|
+
};
|
|
1073
|
+
}
|
|
1074
|
+
function BatchQueryDataRequestQueriesInnerToJSON(value) {
|
|
1075
|
+
if (value === void 0) {
|
|
1076
|
+
return void 0;
|
|
1077
|
+
}
|
|
1078
|
+
if (value === null) {
|
|
1079
|
+
return null;
|
|
1080
|
+
}
|
|
1081
|
+
return {
|
|
1082
|
+
"queryVersionId": value.queryVersionId,
|
|
1083
|
+
"params": value.params,
|
|
1084
|
+
"alias": value.alias
|
|
1085
|
+
};
|
|
1086
|
+
}
|
|
1087
|
+
|
|
1088
|
+
// src/generated/models/QueryDataRequestContext.ts
|
|
1089
|
+
function instanceOfQueryDataRequestContext(value) {
|
|
1090
|
+
let isInstance = true;
|
|
1091
|
+
return isInstance;
|
|
1092
|
+
}
|
|
1093
|
+
function QueryDataRequestContextFromJSON(json) {
|
|
1094
|
+
return QueryDataRequestContextFromJSONTyped(json, false);
|
|
1095
|
+
}
|
|
1096
|
+
function QueryDataRequestContextFromJSONTyped(json, ignoreDiscriminator) {
|
|
1097
|
+
if (json === void 0 || json === null) {
|
|
1098
|
+
return json;
|
|
1099
|
+
}
|
|
1100
|
+
return {
|
|
1101
|
+
"pageVersionId": !exists(json, "pageVersionId") ? void 0 : json["pageVersionId"],
|
|
1102
|
+
"uid": !exists(json, "uid") ? void 0 : json["uid"],
|
|
1103
|
+
"sessionId": !exists(json, "sessionId") ? void 0 : json["sessionId"],
|
|
1104
|
+
"traceId": !exists(json, "traceId") ? void 0 : json["traceId"]
|
|
1105
|
+
};
|
|
1106
|
+
}
|
|
1107
|
+
function QueryDataRequestContextToJSON(value) {
|
|
1108
|
+
if (value === void 0) {
|
|
1109
|
+
return void 0;
|
|
1110
|
+
}
|
|
1111
|
+
if (value === null) {
|
|
1112
|
+
return null;
|
|
1113
|
+
}
|
|
1114
|
+
return {
|
|
1115
|
+
"pageVersionId": value.pageVersionId,
|
|
1116
|
+
"uid": value.uid,
|
|
1117
|
+
"sessionId": value.sessionId,
|
|
1118
|
+
"traceId": value.traceId
|
|
1119
|
+
};
|
|
1120
|
+
}
|
|
1121
|
+
|
|
1122
|
+
// src/generated/models/BatchQueryDataRequest.ts
|
|
1123
|
+
function instanceOfBatchQueryDataRequest(value) {
|
|
1124
|
+
let isInstance = true;
|
|
1125
|
+
isInstance = isInstance && "queries" in value;
|
|
1126
|
+
return isInstance;
|
|
1127
|
+
}
|
|
1128
|
+
function BatchQueryDataRequestFromJSON(json) {
|
|
1129
|
+
return BatchQueryDataRequestFromJSONTyped(json, false);
|
|
1130
|
+
}
|
|
1131
|
+
function BatchQueryDataRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
1132
|
+
if (json === void 0 || json === null) {
|
|
1133
|
+
return json;
|
|
1134
|
+
}
|
|
1135
|
+
return {
|
|
1136
|
+
"queries": json["queries"].map(BatchQueryDataRequestQueriesInnerFromJSON),
|
|
1137
|
+
"context": !exists(json, "context") ? void 0 : QueryDataRequestContextFromJSON(json["context"])
|
|
1138
|
+
};
|
|
1139
|
+
}
|
|
1140
|
+
function BatchQueryDataRequestToJSON(value) {
|
|
1141
|
+
if (value === void 0) {
|
|
1142
|
+
return void 0;
|
|
1143
|
+
}
|
|
1144
|
+
if (value === null) {
|
|
1145
|
+
return null;
|
|
1146
|
+
}
|
|
1147
|
+
return {
|
|
1148
|
+
"queries": value.queries.map(BatchQueryDataRequestQueriesInnerToJSON),
|
|
1149
|
+
"context": QueryDataRequestContextToJSON(value.context)
|
|
1150
|
+
};
|
|
1151
|
+
}
|
|
1152
|
+
|
|
1153
|
+
// src/generated/models/BatchQueryRequest.ts
|
|
1154
|
+
function instanceOfBatchQueryRequest(value) {
|
|
1155
|
+
let isInstance = true;
|
|
1156
|
+
isInstance = isInstance && "queries" in value;
|
|
1157
|
+
return isInstance;
|
|
1158
|
+
}
|
|
1159
|
+
function BatchQueryRequestFromJSON(json) {
|
|
1160
|
+
return BatchQueryRequestFromJSONTyped(json, false);
|
|
1161
|
+
}
|
|
1162
|
+
function BatchQueryRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
1163
|
+
if (json === void 0 || json === null) {
|
|
1164
|
+
return json;
|
|
1165
|
+
}
|
|
1166
|
+
return {
|
|
1167
|
+
"queries": json["queries"].map(BatchQueryDataRequestQueriesInnerFromJSON),
|
|
1168
|
+
"context": !exists(json, "context") ? void 0 : QueryDataRequestContextFromJSON(json["context"])
|
|
1169
|
+
};
|
|
1170
|
+
}
|
|
1171
|
+
function BatchQueryRequestToJSON(value) {
|
|
1172
|
+
if (value === void 0) {
|
|
1173
|
+
return void 0;
|
|
1174
|
+
}
|
|
1175
|
+
if (value === null) {
|
|
1176
|
+
return null;
|
|
1177
|
+
}
|
|
1178
|
+
return {
|
|
1179
|
+
"queries": value.queries.map(BatchQueryDataRequestQueriesInnerToJSON),
|
|
1180
|
+
"context": QueryDataRequestContextToJSON(value.context)
|
|
1181
|
+
};
|
|
1182
|
+
}
|
|
1183
|
+
|
|
1184
|
+
// src/generated/models/BatchQueryResponse.ts
|
|
1185
|
+
function instanceOfBatchQueryResponse(value) {
|
|
1186
|
+
let isInstance = true;
|
|
1187
|
+
isInstance = isInstance && "success" in value;
|
|
1188
|
+
isInstance = isInstance && "data" in value;
|
|
1189
|
+
return isInstance;
|
|
1190
|
+
}
|
|
1191
|
+
function BatchQueryResponseFromJSON(json) {
|
|
1192
|
+
return BatchQueryResponseFromJSONTyped(json, false);
|
|
1193
|
+
}
|
|
1194
|
+
function BatchQueryResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
1195
|
+
if (json === void 0 || json === null) {
|
|
1196
|
+
return json;
|
|
1197
|
+
}
|
|
1198
|
+
return {
|
|
1199
|
+
"success": json["success"],
|
|
1200
|
+
"data": mapValues(json["data"], BatchQueryData200ResponseDataValueFromJSON)
|
|
1201
|
+
};
|
|
1202
|
+
}
|
|
1203
|
+
function BatchQueryResponseToJSON(value) {
|
|
1204
|
+
if (value === void 0) {
|
|
1205
|
+
return void 0;
|
|
1206
|
+
}
|
|
1207
|
+
if (value === null) {
|
|
1208
|
+
return null;
|
|
1209
|
+
}
|
|
1210
|
+
return {
|
|
1211
|
+
"success": value.success,
|
|
1212
|
+
"data": mapValues(value.data, BatchQueryData200ResponseDataValueToJSON)
|
|
706
1213
|
};
|
|
707
1214
|
}
|
|
708
1215
|
|
|
@@ -778,7 +1285,10 @@ function ComponentManifestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
778
1285
|
"componentType": json["componentType"],
|
|
779
1286
|
"version": json["version"],
|
|
780
1287
|
"entryUrl": json["entryUrl"],
|
|
781
|
-
"
|
|
1288
|
+
"styleUrl": !exists(json, "styleUrl") ? void 0 : json["styleUrl"],
|
|
1289
|
+
"integrity": !exists(json, "integrity") ? void 0 : json["integrity"],
|
|
1290
|
+
"blocked": !exists(json, "blocked") ? void 0 : json["blocked"],
|
|
1291
|
+
"fallback": !exists(json, "fallback") ? void 0 : json["fallback"]
|
|
782
1292
|
};
|
|
783
1293
|
}
|
|
784
1294
|
function ComponentManifestToJSON(value) {
|
|
@@ -792,7 +1302,10 @@ function ComponentManifestToJSON(value) {
|
|
|
792
1302
|
"componentType": value.componentType,
|
|
793
1303
|
"version": value.version,
|
|
794
1304
|
"entryUrl": value.entryUrl,
|
|
795
|
-
"
|
|
1305
|
+
"styleUrl": value.styleUrl,
|
|
1306
|
+
"integrity": value.integrity,
|
|
1307
|
+
"blocked": value.blocked,
|
|
1308
|
+
"fallback": value.fallback
|
|
796
1309
|
};
|
|
797
1310
|
}
|
|
798
1311
|
|
|
@@ -843,7 +1356,8 @@ function ErrorResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
843
1356
|
return {
|
|
844
1357
|
"code": json["code"],
|
|
845
1358
|
"message": json["message"],
|
|
846
|
-
"details": !exists(json, "details") ? void 0 : json["details"].map(GetPage404ResponseDetailsInnerFromJSON)
|
|
1359
|
+
"details": !exists(json, "details") ? void 0 : json["details"].map(GetPage404ResponseDetailsInnerFromJSON),
|
|
1360
|
+
"traceId": !exists(json, "traceId") ? void 0 : json["traceId"]
|
|
847
1361
|
};
|
|
848
1362
|
}
|
|
849
1363
|
function ErrorResponseToJSON(value) {
|
|
@@ -856,7 +1370,8 @@ function ErrorResponseToJSON(value) {
|
|
|
856
1370
|
return {
|
|
857
1371
|
"code": value.code,
|
|
858
1372
|
"message": value.message,
|
|
859
|
-
"details": value.details === void 0 ? void 0 : value.details.map(GetPage404ResponseDetailsInnerToJSON)
|
|
1373
|
+
"details": value.details === void 0 ? void 0 : value.details.map(GetPage404ResponseDetailsInnerToJSON),
|
|
1374
|
+
"traceId": value.traceId
|
|
860
1375
|
};
|
|
861
1376
|
}
|
|
862
1377
|
|
|
@@ -866,6 +1381,8 @@ var ExecuteAction200ResponseDataEffectsInnerTypeEnum = {
|
|
|
866
1381
|
NAVIGATE: "navigate",
|
|
867
1382
|
SHOW_TOAST: "showToast",
|
|
868
1383
|
REFRESH_DATA: "refreshData",
|
|
1384
|
+
OPEN_DIALOG: "openDialog",
|
|
1385
|
+
CLOSE_DIALOG: "closeDialog",
|
|
869
1386
|
CUSTOM: "custom"
|
|
870
1387
|
};
|
|
871
1388
|
function instanceOfExecuteAction200ResponseDataEffectsInner(value) {
|
|
@@ -911,7 +1428,7 @@ function ExecuteAction200ResponseDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
911
1428
|
return json;
|
|
912
1429
|
}
|
|
913
1430
|
return {
|
|
914
|
-
"
|
|
1431
|
+
"actionId": !exists(json, "actionId") ? void 0 : json["actionId"],
|
|
915
1432
|
"result": !exists(json, "result") ? void 0 : json["result"],
|
|
916
1433
|
"effects": !exists(json, "effects") ? void 0 : json["effects"].map(ExecuteAction200ResponseDataEffectsInnerFromJSON)
|
|
917
1434
|
};
|
|
@@ -924,30 +1441,31 @@ function ExecuteAction200ResponseDataToJSON(value) {
|
|
|
924
1441
|
return null;
|
|
925
1442
|
}
|
|
926
1443
|
return {
|
|
927
|
-
"
|
|
1444
|
+
"actionId": value.actionId,
|
|
928
1445
|
"result": value.result,
|
|
929
1446
|
"effects": value.effects === void 0 ? void 0 : value.effects.map(ExecuteAction200ResponseDataEffectsInnerToJSON)
|
|
930
1447
|
};
|
|
931
1448
|
}
|
|
932
1449
|
|
|
933
|
-
// src/generated/models/
|
|
934
|
-
function
|
|
1450
|
+
// src/generated/models/ExecuteAction200ResponseMeta.ts
|
|
1451
|
+
function instanceOfExecuteAction200ResponseMeta(value) {
|
|
935
1452
|
let isInstance = true;
|
|
936
|
-
isInstance = isInstance && "data" in value;
|
|
937
1453
|
return isInstance;
|
|
938
1454
|
}
|
|
939
|
-
function
|
|
940
|
-
return
|
|
1455
|
+
function ExecuteAction200ResponseMetaFromJSON(json) {
|
|
1456
|
+
return ExecuteAction200ResponseMetaFromJSONTyped(json, false);
|
|
941
1457
|
}
|
|
942
|
-
function
|
|
1458
|
+
function ExecuteAction200ResponseMetaFromJSONTyped(json, ignoreDiscriminator) {
|
|
943
1459
|
if (json === void 0 || json === null) {
|
|
944
1460
|
return json;
|
|
945
1461
|
}
|
|
946
1462
|
return {
|
|
947
|
-
"
|
|
1463
|
+
"executionTime": !exists(json, "executionTime") ? void 0 : json["executionTime"],
|
|
1464
|
+
"traceId": !exists(json, "traceId") ? void 0 : json["traceId"],
|
|
1465
|
+
"idempotent": !exists(json, "idempotent") ? void 0 : json["idempotent"]
|
|
948
1466
|
};
|
|
949
1467
|
}
|
|
950
|
-
function
|
|
1468
|
+
function ExecuteAction200ResponseMetaToJSON(value) {
|
|
951
1469
|
if (value === void 0) {
|
|
952
1470
|
return void 0;
|
|
953
1471
|
}
|
|
@@ -955,62 +1473,33 @@ function ExecuteAction200ResponseToJSON(value) {
|
|
|
955
1473
|
return null;
|
|
956
1474
|
}
|
|
957
1475
|
return {
|
|
958
|
-
"
|
|
1476
|
+
"executionTime": value.executionTime,
|
|
1477
|
+
"traceId": value.traceId,
|
|
1478
|
+
"idempotent": value.idempotent
|
|
959
1479
|
};
|
|
960
1480
|
}
|
|
961
1481
|
|
|
962
|
-
// src/generated/models/
|
|
963
|
-
function
|
|
1482
|
+
// src/generated/models/ExecuteAction200Response.ts
|
|
1483
|
+
function instanceOfExecuteAction200Response(value) {
|
|
964
1484
|
let isInstance = true;
|
|
1485
|
+
isInstance = isInstance && "success" in value;
|
|
1486
|
+
isInstance = isInstance && "data" in value;
|
|
965
1487
|
return isInstance;
|
|
966
1488
|
}
|
|
967
|
-
function
|
|
968
|
-
return
|
|
1489
|
+
function ExecuteAction200ResponseFromJSON(json) {
|
|
1490
|
+
return ExecuteAction200ResponseFromJSONTyped(json, false);
|
|
969
1491
|
}
|
|
970
|
-
function
|
|
971
|
-
if (json === void 0 || json === null) {
|
|
972
|
-
return json;
|
|
973
|
-
}
|
|
974
|
-
return {
|
|
975
|
-
"pageId": !exists(json, "pageId") ? void 0 : json["pageId"],
|
|
976
|
-
"componentId": !exists(json, "componentId") ? void 0 : json["componentId"],
|
|
977
|
-
"eventName": !exists(json, "eventName") ? void 0 : json["eventName"],
|
|
978
|
-
"state": !exists(json, "state") ? void 0 : json["state"]
|
|
979
|
-
};
|
|
980
|
-
}
|
|
981
|
-
function ExecuteActionRequestContextToJSON(value) {
|
|
982
|
-
if (value === void 0) {
|
|
983
|
-
return void 0;
|
|
984
|
-
}
|
|
985
|
-
if (value === null) {
|
|
986
|
-
return null;
|
|
987
|
-
}
|
|
988
|
-
return {
|
|
989
|
-
"pageId": value.pageId,
|
|
990
|
-
"componentId": value.componentId,
|
|
991
|
-
"eventName": value.eventName,
|
|
992
|
-
"state": value.state
|
|
993
|
-
};
|
|
994
|
-
}
|
|
995
|
-
|
|
996
|
-
// src/generated/models/ExecuteActionRequestOptions.ts
|
|
997
|
-
function instanceOfExecuteActionRequestOptions(value) {
|
|
998
|
-
let isInstance = true;
|
|
999
|
-
return isInstance;
|
|
1000
|
-
}
|
|
1001
|
-
function ExecuteActionRequestOptionsFromJSON(json) {
|
|
1002
|
-
return ExecuteActionRequestOptionsFromJSONTyped(json, false);
|
|
1003
|
-
}
|
|
1004
|
-
function ExecuteActionRequestOptionsFromJSONTyped(json, ignoreDiscriminator) {
|
|
1492
|
+
function ExecuteAction200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
1005
1493
|
if (json === void 0 || json === null) {
|
|
1006
1494
|
return json;
|
|
1007
1495
|
}
|
|
1008
1496
|
return {
|
|
1009
|
-
"
|
|
1010
|
-
"
|
|
1497
|
+
"success": json["success"],
|
|
1498
|
+
"data": ExecuteAction200ResponseDataFromJSON(json["data"]),
|
|
1499
|
+
"meta": !exists(json, "meta") ? void 0 : ExecuteAction200ResponseMetaFromJSON(json["meta"])
|
|
1011
1500
|
};
|
|
1012
1501
|
}
|
|
1013
|
-
function
|
|
1502
|
+
function ExecuteAction200ResponseToJSON(value) {
|
|
1014
1503
|
if (value === void 0) {
|
|
1015
1504
|
return void 0;
|
|
1016
1505
|
}
|
|
@@ -1018,31 +1507,32 @@ function ExecuteActionRequestOptionsToJSON(value) {
|
|
|
1018
1507
|
return null;
|
|
1019
1508
|
}
|
|
1020
1509
|
return {
|
|
1021
|
-
"
|
|
1022
|
-
"
|
|
1510
|
+
"success": value.success,
|
|
1511
|
+
"data": ExecuteAction200ResponseDataToJSON(value.data),
|
|
1512
|
+
"meta": ExecuteAction200ResponseMetaToJSON(value.meta)
|
|
1023
1513
|
};
|
|
1024
1514
|
}
|
|
1025
1515
|
|
|
1026
|
-
// src/generated/models/
|
|
1027
|
-
function
|
|
1516
|
+
// src/generated/models/ExecuteAction409ResponseData.ts
|
|
1517
|
+
function instanceOfExecuteAction409ResponseData(value) {
|
|
1028
1518
|
let isInstance = true;
|
|
1029
|
-
isInstance = isInstance && "params" in value;
|
|
1030
1519
|
return isInstance;
|
|
1031
1520
|
}
|
|
1032
|
-
function
|
|
1033
|
-
return
|
|
1521
|
+
function ExecuteAction409ResponseDataFromJSON(json) {
|
|
1522
|
+
return ExecuteAction409ResponseDataFromJSONTyped(json, false);
|
|
1034
1523
|
}
|
|
1035
|
-
function
|
|
1524
|
+
function ExecuteAction409ResponseDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
1036
1525
|
if (json === void 0 || json === null) {
|
|
1037
1526
|
return json;
|
|
1038
1527
|
}
|
|
1039
1528
|
return {
|
|
1040
|
-
"
|
|
1041
|
-
"
|
|
1042
|
-
"
|
|
1529
|
+
"idempotent": !exists(json, "idempotent") ? void 0 : json["idempotent"],
|
|
1530
|
+
"originalActionId": !exists(json, "originalActionId") ? void 0 : json["originalActionId"],
|
|
1531
|
+
"originalResult": !exists(json, "originalResult") ? void 0 : json["originalResult"],
|
|
1532
|
+
"originalExecutedAt": !exists(json, "originalExecutedAt") ? void 0 : new Date(json["originalExecutedAt"])
|
|
1043
1533
|
};
|
|
1044
1534
|
}
|
|
1045
|
-
function
|
|
1535
|
+
function ExecuteAction409ResponseDataToJSON(value) {
|
|
1046
1536
|
if (value === void 0) {
|
|
1047
1537
|
return void 0;
|
|
1048
1538
|
}
|
|
@@ -1050,95 +1540,33 @@ function ExecuteActionRequestToJSON(value) {
|
|
|
1050
1540
|
return null;
|
|
1051
1541
|
}
|
|
1052
1542
|
return {
|
|
1053
|
-
"
|
|
1054
|
-
"
|
|
1055
|
-
"
|
|
1543
|
+
"idempotent": value.idempotent,
|
|
1544
|
+
"originalActionId": value.originalActionId,
|
|
1545
|
+
"originalResult": value.originalResult,
|
|
1546
|
+
"originalExecutedAt": value.originalExecutedAt === void 0 ? void 0 : value.originalExecutedAt.toISOString()
|
|
1056
1547
|
};
|
|
1057
1548
|
}
|
|
1058
1549
|
|
|
1059
|
-
// src/generated/models/
|
|
1060
|
-
function
|
|
1550
|
+
// src/generated/models/ExecuteAction409Response.ts
|
|
1551
|
+
function instanceOfExecuteAction409Response(value) {
|
|
1061
1552
|
let isInstance = true;
|
|
1553
|
+
isInstance = isInstance && "success" in value;
|
|
1062
1554
|
isInstance = isInstance && "data" in value;
|
|
1063
1555
|
return isInstance;
|
|
1064
1556
|
}
|
|
1065
|
-
function
|
|
1066
|
-
return
|
|
1067
|
-
}
|
|
1068
|
-
function ExecuteActionResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
1069
|
-
if (json === void 0 || json === null) {
|
|
1070
|
-
return json;
|
|
1071
|
-
}
|
|
1072
|
-
return {
|
|
1073
|
-
"data": ExecuteAction200ResponseDataFromJSON(json["data"])
|
|
1074
|
-
};
|
|
1075
|
-
}
|
|
1076
|
-
function ExecuteActionResponseToJSON(value) {
|
|
1077
|
-
if (value === void 0) {
|
|
1078
|
-
return void 0;
|
|
1079
|
-
}
|
|
1080
|
-
if (value === null) {
|
|
1081
|
-
return null;
|
|
1082
|
-
}
|
|
1083
|
-
return {
|
|
1084
|
-
"data": ExecuteAction200ResponseDataToJSON(value.data)
|
|
1085
|
-
};
|
|
1086
|
-
}
|
|
1087
|
-
|
|
1088
|
-
// src/generated/models/ExecuteQuery200ResponseMetaPagination.ts
|
|
1089
|
-
function instanceOfExecuteQuery200ResponseMetaPagination(value) {
|
|
1090
|
-
let isInstance = true;
|
|
1091
|
-
return isInstance;
|
|
1092
|
-
}
|
|
1093
|
-
function ExecuteQuery200ResponseMetaPaginationFromJSON(json) {
|
|
1094
|
-
return ExecuteQuery200ResponseMetaPaginationFromJSONTyped(json, false);
|
|
1095
|
-
}
|
|
1096
|
-
function ExecuteQuery200ResponseMetaPaginationFromJSONTyped(json, ignoreDiscriminator) {
|
|
1097
|
-
if (json === void 0 || json === null) {
|
|
1098
|
-
return json;
|
|
1099
|
-
}
|
|
1100
|
-
return {
|
|
1101
|
-
"page": !exists(json, "page") ? void 0 : json["page"],
|
|
1102
|
-
"limit": !exists(json, "limit") ? void 0 : json["limit"],
|
|
1103
|
-
"total": !exists(json, "total") ? void 0 : json["total"],
|
|
1104
|
-
"hasMore": !exists(json, "hasMore") ? void 0 : json["hasMore"]
|
|
1105
|
-
};
|
|
1106
|
-
}
|
|
1107
|
-
function ExecuteQuery200ResponseMetaPaginationToJSON(value) {
|
|
1108
|
-
if (value === void 0) {
|
|
1109
|
-
return void 0;
|
|
1110
|
-
}
|
|
1111
|
-
if (value === null) {
|
|
1112
|
-
return null;
|
|
1113
|
-
}
|
|
1114
|
-
return {
|
|
1115
|
-
"page": value.page,
|
|
1116
|
-
"limit": value.limit,
|
|
1117
|
-
"total": value.total,
|
|
1118
|
-
"hasMore": value.hasMore
|
|
1119
|
-
};
|
|
1120
|
-
}
|
|
1121
|
-
|
|
1122
|
-
// src/generated/models/ExecuteQuery200ResponseMeta.ts
|
|
1123
|
-
function instanceOfExecuteQuery200ResponseMeta(value) {
|
|
1124
|
-
let isInstance = true;
|
|
1125
|
-
return isInstance;
|
|
1126
|
-
}
|
|
1127
|
-
function ExecuteQuery200ResponseMetaFromJSON(json) {
|
|
1128
|
-
return ExecuteQuery200ResponseMetaFromJSONTyped(json, false);
|
|
1557
|
+
function ExecuteAction409ResponseFromJSON(json) {
|
|
1558
|
+
return ExecuteAction409ResponseFromJSONTyped(json, false);
|
|
1129
1559
|
}
|
|
1130
|
-
function
|
|
1560
|
+
function ExecuteAction409ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
1131
1561
|
if (json === void 0 || json === null) {
|
|
1132
1562
|
return json;
|
|
1133
1563
|
}
|
|
1134
1564
|
return {
|
|
1135
|
-
"
|
|
1136
|
-
"
|
|
1137
|
-
"executionTime": !exists(json, "executionTime") ? void 0 : json["executionTime"],
|
|
1138
|
-
"pagination": !exists(json, "pagination") ? void 0 : ExecuteQuery200ResponseMetaPaginationFromJSON(json["pagination"])
|
|
1565
|
+
"success": json["success"],
|
|
1566
|
+
"data": ExecuteAction409ResponseDataFromJSON(json["data"])
|
|
1139
1567
|
};
|
|
1140
1568
|
}
|
|
1141
|
-
function
|
|
1569
|
+
function ExecuteAction409ResponseToJSON(value) {
|
|
1142
1570
|
if (value === void 0) {
|
|
1143
1571
|
return void 0;
|
|
1144
1572
|
}
|
|
@@ -1146,32 +1574,39 @@ function ExecuteQuery200ResponseMetaToJSON(value) {
|
|
|
1146
1574
|
return null;
|
|
1147
1575
|
}
|
|
1148
1576
|
return {
|
|
1149
|
-
"
|
|
1150
|
-
"
|
|
1151
|
-
"executionTime": value.executionTime,
|
|
1152
|
-
"pagination": ExecuteQuery200ResponseMetaPaginationToJSON(value.pagination)
|
|
1577
|
+
"success": value.success,
|
|
1578
|
+
"data": ExecuteAction409ResponseDataToJSON(value.data)
|
|
1153
1579
|
};
|
|
1154
1580
|
}
|
|
1155
1581
|
|
|
1156
|
-
// src/generated/models/
|
|
1157
|
-
function
|
|
1582
|
+
// src/generated/models/ExecuteActionRequestContext.ts
|
|
1583
|
+
function instanceOfExecuteActionRequestContext(value) {
|
|
1158
1584
|
let isInstance = true;
|
|
1159
|
-
isInstance = isInstance && "
|
|
1585
|
+
isInstance = isInstance && "pageVersionId" in value;
|
|
1160
1586
|
return isInstance;
|
|
1161
1587
|
}
|
|
1162
|
-
function
|
|
1163
|
-
return
|
|
1588
|
+
function ExecuteActionRequestContextFromJSON(json) {
|
|
1589
|
+
return ExecuteActionRequestContextFromJSONTyped(json, false);
|
|
1164
1590
|
}
|
|
1165
|
-
function
|
|
1591
|
+
function ExecuteActionRequestContextFromJSONTyped(json, ignoreDiscriminator) {
|
|
1166
1592
|
if (json === void 0 || json === null) {
|
|
1167
1593
|
return json;
|
|
1168
1594
|
}
|
|
1169
1595
|
return {
|
|
1170
|
-
"
|
|
1171
|
-
"
|
|
1596
|
+
"pageVersionId": json["pageVersionId"],
|
|
1597
|
+
"componentVersionId": !exists(json, "componentVersionId") ? void 0 : json["componentVersionId"],
|
|
1598
|
+
"actionId": !exists(json, "actionId") ? void 0 : json["actionId"],
|
|
1599
|
+
"traceId": !exists(json, "traceId") ? void 0 : json["traceId"],
|
|
1600
|
+
"uid": !exists(json, "uid") ? void 0 : json["uid"],
|
|
1601
|
+
"deviceId": !exists(json, "deviceId") ? void 0 : json["deviceId"],
|
|
1602
|
+
"channel": !exists(json, "channel") ? void 0 : json["channel"],
|
|
1603
|
+
"sessionId": !exists(json, "sessionId") ? void 0 : json["sessionId"],
|
|
1604
|
+
"eventName": !exists(json, "eventName") ? void 0 : json["eventName"],
|
|
1605
|
+
"timestamp": !exists(json, "timestamp") ? void 0 : new Date(json["timestamp"]),
|
|
1606
|
+
"state": !exists(json, "state") ? void 0 : json["state"]
|
|
1172
1607
|
};
|
|
1173
1608
|
}
|
|
1174
|
-
function
|
|
1609
|
+
function ExecuteActionRequestContextToJSON(value) {
|
|
1175
1610
|
if (value === void 0) {
|
|
1176
1611
|
return void 0;
|
|
1177
1612
|
}
|
|
@@ -1179,30 +1614,38 @@ function ExecuteQuery200ResponseToJSON(value) {
|
|
|
1179
1614
|
return null;
|
|
1180
1615
|
}
|
|
1181
1616
|
return {
|
|
1182
|
-
"
|
|
1183
|
-
"
|
|
1617
|
+
"pageVersionId": value.pageVersionId,
|
|
1618
|
+
"componentVersionId": value.componentVersionId,
|
|
1619
|
+
"actionId": value.actionId,
|
|
1620
|
+
"traceId": value.traceId,
|
|
1621
|
+
"uid": value.uid,
|
|
1622
|
+
"deviceId": value.deviceId,
|
|
1623
|
+
"channel": value.channel,
|
|
1624
|
+
"sessionId": value.sessionId,
|
|
1625
|
+
"eventName": value.eventName,
|
|
1626
|
+
"timestamp": value.timestamp === void 0 ? void 0 : value.timestamp.toISOString(),
|
|
1627
|
+
"state": value.state
|
|
1184
1628
|
};
|
|
1185
1629
|
}
|
|
1186
1630
|
|
|
1187
|
-
// src/generated/models/
|
|
1188
|
-
function
|
|
1631
|
+
// src/generated/models/ExecuteActionRequestOptions.ts
|
|
1632
|
+
function instanceOfExecuteActionRequestOptions(value) {
|
|
1189
1633
|
let isInstance = true;
|
|
1190
1634
|
return isInstance;
|
|
1191
1635
|
}
|
|
1192
|
-
function
|
|
1193
|
-
return
|
|
1636
|
+
function ExecuteActionRequestOptionsFromJSON(json) {
|
|
1637
|
+
return ExecuteActionRequestOptionsFromJSONTyped(json, false);
|
|
1194
1638
|
}
|
|
1195
|
-
function
|
|
1639
|
+
function ExecuteActionRequestOptionsFromJSONTyped(json, ignoreDiscriminator) {
|
|
1196
1640
|
if (json === void 0 || json === null) {
|
|
1197
1641
|
return json;
|
|
1198
1642
|
}
|
|
1199
1643
|
return {
|
|
1200
1644
|
"timeout": !exists(json, "timeout") ? void 0 : json["timeout"],
|
|
1201
|
-
"
|
|
1202
|
-
"cacheKey": !exists(json, "cacheKey") ? void 0 : json["cacheKey"]
|
|
1645
|
+
"skipRisk": !exists(json, "skipRisk") ? void 0 : json["skipRisk"]
|
|
1203
1646
|
};
|
|
1204
1647
|
}
|
|
1205
|
-
function
|
|
1648
|
+
function ExecuteActionRequestOptionsToJSON(value) {
|
|
1206
1649
|
if (value === void 0) {
|
|
1207
1650
|
return void 0;
|
|
1208
1651
|
}
|
|
@@ -1211,38 +1654,50 @@ function ExecuteQueryRequestOptionsToJSON(value) {
|
|
|
1211
1654
|
}
|
|
1212
1655
|
return {
|
|
1213
1656
|
"timeout": value.timeout,
|
|
1214
|
-
"
|
|
1215
|
-
"cacheKey": value.cacheKey
|
|
1657
|
+
"skipRisk": value.skipRisk
|
|
1216
1658
|
};
|
|
1217
1659
|
}
|
|
1218
1660
|
|
|
1219
|
-
// src/generated/models/
|
|
1220
|
-
var
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1661
|
+
// src/generated/models/ExecuteActionRequest.ts
|
|
1662
|
+
var ExecuteActionRequestActionTypeEnum = {
|
|
1663
|
+
CLAIM: "claim",
|
|
1664
|
+
SIGNIN: "signin",
|
|
1665
|
+
LOTTERY: "lottery",
|
|
1666
|
+
RESERVE: "reserve",
|
|
1667
|
+
BIND: "bind",
|
|
1668
|
+
TASK_COMPLETE: "task_complete",
|
|
1669
|
+
VOTE: "vote",
|
|
1670
|
+
SHARE: "share",
|
|
1671
|
+
FORM_SUBMIT: "form_submit",
|
|
1672
|
+
NAVIGATE: "navigate",
|
|
1673
|
+
SET_STATE: "setState",
|
|
1674
|
+
SHOW_TOAST: "showToast",
|
|
1675
|
+
REFRESH_DATA: "refreshData",
|
|
1676
|
+
CUSTOM: "custom"
|
|
1224
1677
|
};
|
|
1225
|
-
function
|
|
1678
|
+
function instanceOfExecuteActionRequest(value) {
|
|
1226
1679
|
let isInstance = true;
|
|
1680
|
+
isInstance = isInstance && "actionType" in value;
|
|
1681
|
+
isInstance = isInstance && "params" in value;
|
|
1227
1682
|
return isInstance;
|
|
1228
1683
|
}
|
|
1229
|
-
function
|
|
1230
|
-
return
|
|
1684
|
+
function ExecuteActionRequestFromJSON(json) {
|
|
1685
|
+
return ExecuteActionRequestFromJSONTyped(json, false);
|
|
1231
1686
|
}
|
|
1232
|
-
function
|
|
1687
|
+
function ExecuteActionRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
1233
1688
|
if (json === void 0 || json === null) {
|
|
1234
1689
|
return json;
|
|
1235
1690
|
}
|
|
1236
1691
|
return {
|
|
1237
|
-
"
|
|
1238
|
-
"
|
|
1239
|
-
"
|
|
1240
|
-
"
|
|
1241
|
-
"
|
|
1242
|
-
"
|
|
1692
|
+
"actionType": json["actionType"],
|
|
1693
|
+
"actionDefinitionVersionId": !exists(json, "actionDefinitionVersionId") ? void 0 : json["actionDefinitionVersionId"],
|
|
1694
|
+
"params": json["params"],
|
|
1695
|
+
"context": !exists(json, "context") ? void 0 : ExecuteActionRequestContextFromJSON(json["context"]),
|
|
1696
|
+
"idempotencyKey": !exists(json, "idempotencyKey") ? void 0 : json["idempotencyKey"],
|
|
1697
|
+
"options": !exists(json, "options") ? void 0 : ExecuteActionRequestOptionsFromJSON(json["options"])
|
|
1243
1698
|
};
|
|
1244
1699
|
}
|
|
1245
|
-
function
|
|
1700
|
+
function ExecuteActionRequestToJSON(value) {
|
|
1246
1701
|
if (value === void 0) {
|
|
1247
1702
|
return void 0;
|
|
1248
1703
|
}
|
|
@@ -1250,34 +1705,36 @@ function ResolvePageRequestContextToJSON(value) {
|
|
|
1250
1705
|
return null;
|
|
1251
1706
|
}
|
|
1252
1707
|
return {
|
|
1253
|
-
"
|
|
1254
|
-
"
|
|
1255
|
-
"
|
|
1256
|
-
"
|
|
1257
|
-
"
|
|
1258
|
-
"
|
|
1708
|
+
"actionType": value.actionType,
|
|
1709
|
+
"actionDefinitionVersionId": value.actionDefinitionVersionId,
|
|
1710
|
+
"params": value.params,
|
|
1711
|
+
"context": ExecuteActionRequestContextToJSON(value.context),
|
|
1712
|
+
"idempotencyKey": value.idempotencyKey,
|
|
1713
|
+
"options": ExecuteActionRequestOptionsToJSON(value.options)
|
|
1259
1714
|
};
|
|
1260
1715
|
}
|
|
1261
1716
|
|
|
1262
|
-
// src/generated/models/
|
|
1263
|
-
function
|
|
1717
|
+
// src/generated/models/ExecuteActionResponse.ts
|
|
1718
|
+
function instanceOfExecuteActionResponse(value) {
|
|
1264
1719
|
let isInstance = true;
|
|
1720
|
+
isInstance = isInstance && "success" in value;
|
|
1721
|
+
isInstance = isInstance && "data" in value;
|
|
1265
1722
|
return isInstance;
|
|
1266
1723
|
}
|
|
1267
|
-
function
|
|
1268
|
-
return
|
|
1724
|
+
function ExecuteActionResponseFromJSON(json) {
|
|
1725
|
+
return ExecuteActionResponseFromJSONTyped(json, false);
|
|
1269
1726
|
}
|
|
1270
|
-
function
|
|
1727
|
+
function ExecuteActionResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
1271
1728
|
if (json === void 0 || json === null) {
|
|
1272
1729
|
return json;
|
|
1273
1730
|
}
|
|
1274
1731
|
return {
|
|
1275
|
-
"
|
|
1276
|
-
"
|
|
1277
|
-
"
|
|
1732
|
+
"success": json["success"],
|
|
1733
|
+
"data": ExecuteAction200ResponseDataFromJSON(json["data"]),
|
|
1734
|
+
"meta": !exists(json, "meta") ? void 0 : ExecuteAction200ResponseMetaFromJSON(json["meta"])
|
|
1278
1735
|
};
|
|
1279
1736
|
}
|
|
1280
|
-
function
|
|
1737
|
+
function ExecuteActionResponseToJSON(value) {
|
|
1281
1738
|
if (value === void 0) {
|
|
1282
1739
|
return void 0;
|
|
1283
1740
|
}
|
|
@@ -1285,31 +1742,30 @@ function ExecuteQueryRequestToJSON(value) {
|
|
|
1285
1742
|
return null;
|
|
1286
1743
|
}
|
|
1287
1744
|
return {
|
|
1288
|
-
"
|
|
1289
|
-
"
|
|
1290
|
-
"
|
|
1745
|
+
"success": value.success,
|
|
1746
|
+
"data": ExecuteAction200ResponseDataToJSON(value.data),
|
|
1747
|
+
"meta": ExecuteAction200ResponseMetaToJSON(value.meta)
|
|
1291
1748
|
};
|
|
1292
1749
|
}
|
|
1293
1750
|
|
|
1294
|
-
// src/generated/models/
|
|
1295
|
-
function
|
|
1751
|
+
// src/generated/models/GetActionDefinition200Response.ts
|
|
1752
|
+
function instanceOfGetActionDefinition200Response(value) {
|
|
1296
1753
|
let isInstance = true;
|
|
1297
1754
|
isInstance = isInstance && "data" in value;
|
|
1298
1755
|
return isInstance;
|
|
1299
1756
|
}
|
|
1300
|
-
function
|
|
1301
|
-
return
|
|
1757
|
+
function GetActionDefinition200ResponseFromJSON(json) {
|
|
1758
|
+
return GetActionDefinition200ResponseFromJSONTyped(json, false);
|
|
1302
1759
|
}
|
|
1303
|
-
function
|
|
1760
|
+
function GetActionDefinition200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
1304
1761
|
if (json === void 0 || json === null) {
|
|
1305
1762
|
return json;
|
|
1306
1763
|
}
|
|
1307
1764
|
return {
|
|
1308
|
-
"data": json["data"]
|
|
1309
|
-
"meta": !exists(json, "meta") ? void 0 : ExecuteQuery200ResponseMetaFromJSON(json["meta"])
|
|
1765
|
+
"data": GetActionDefinition200ResponseDataFromJSON(json["data"])
|
|
1310
1766
|
};
|
|
1311
1767
|
}
|
|
1312
|
-
function
|
|
1768
|
+
function GetActionDefinition200ResponseToJSON(value) {
|
|
1313
1769
|
if (value === void 0) {
|
|
1314
1770
|
return void 0;
|
|
1315
1771
|
}
|
|
@@ -1317,8 +1773,7 @@ function ExecuteQueryResponseToJSON(value) {
|
|
|
1317
1773
|
return null;
|
|
1318
1774
|
}
|
|
1319
1775
|
return {
|
|
1320
|
-
"data": value.data
|
|
1321
|
-
"meta": ExecuteQuery200ResponseMetaToJSON(value.meta)
|
|
1776
|
+
"data": GetActionDefinition200ResponseDataToJSON(value.data)
|
|
1322
1777
|
};
|
|
1323
1778
|
}
|
|
1324
1779
|
|
|
@@ -1356,10 +1811,14 @@ function GetActivityInfo200ResponseDataRewardsInnerToJSON(value) {
|
|
|
1356
1811
|
|
|
1357
1812
|
// src/generated/models/GetActivityInfo200ResponseData.ts
|
|
1358
1813
|
var GetActivityInfo200ResponseDataTypeEnum = {
|
|
1814
|
+
CLAIM: "claim",
|
|
1359
1815
|
SIGNIN: "signin",
|
|
1360
1816
|
LOTTERY: "lottery",
|
|
1361
|
-
|
|
1362
|
-
|
|
1817
|
+
RESERVE: "reserve",
|
|
1818
|
+
TASK: "task",
|
|
1819
|
+
VOTE: "vote",
|
|
1820
|
+
SHARE: "share",
|
|
1821
|
+
BIND: "bind",
|
|
1363
1822
|
CUSTOM: "custom"
|
|
1364
1823
|
};
|
|
1365
1824
|
var GetActivityInfo200ResponseDataStatusEnum = {
|
|
@@ -1844,7 +2303,8 @@ function GetPage404ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
1844
2303
|
return {
|
|
1845
2304
|
"code": json["code"],
|
|
1846
2305
|
"message": json["message"],
|
|
1847
|
-
"details": !exists(json, "details") ? void 0 : json["details"].map(GetPage404ResponseDetailsInnerFromJSON)
|
|
2306
|
+
"details": !exists(json, "details") ? void 0 : json["details"].map(GetPage404ResponseDetailsInnerFromJSON),
|
|
2307
|
+
"traceId": !exists(json, "traceId") ? void 0 : json["traceId"]
|
|
1848
2308
|
};
|
|
1849
2309
|
}
|
|
1850
2310
|
function GetPage404ResponseToJSON(value) {
|
|
@@ -1857,7 +2317,73 @@ function GetPage404ResponseToJSON(value) {
|
|
|
1857
2317
|
return {
|
|
1858
2318
|
"code": value.code,
|
|
1859
2319
|
"message": value.message,
|
|
1860
|
-
"details": value.details === void 0 ? void 0 : value.details.map(GetPage404ResponseDetailsInnerToJSON)
|
|
2320
|
+
"details": value.details === void 0 ? void 0 : value.details.map(GetPage404ResponseDetailsInnerToJSON),
|
|
2321
|
+
"traceId": value.traceId
|
|
2322
|
+
};
|
|
2323
|
+
}
|
|
2324
|
+
|
|
2325
|
+
// src/generated/models/GetQueryDefinition200ResponseData.ts
|
|
2326
|
+
function instanceOfGetQueryDefinition200ResponseData(value) {
|
|
2327
|
+
let isInstance = true;
|
|
2328
|
+
return isInstance;
|
|
2329
|
+
}
|
|
2330
|
+
function GetQueryDefinition200ResponseDataFromJSON(json) {
|
|
2331
|
+
return GetQueryDefinition200ResponseDataFromJSONTyped(json, false);
|
|
2332
|
+
}
|
|
2333
|
+
function GetQueryDefinition200ResponseDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
2334
|
+
if (json === void 0 || json === null) {
|
|
2335
|
+
return json;
|
|
2336
|
+
}
|
|
2337
|
+
return {
|
|
2338
|
+
"queryVersionId": !exists(json, "queryVersionId") ? void 0 : json["queryVersionId"],
|
|
2339
|
+
"name": !exists(json, "name") ? void 0 : json["name"],
|
|
2340
|
+
"paramsSchema": !exists(json, "paramsSchema") ? void 0 : json["paramsSchema"],
|
|
2341
|
+
"resultSchema": !exists(json, "resultSchema") ? void 0 : json["resultSchema"],
|
|
2342
|
+
"cacheTtl": !exists(json, "cacheTtl") ? void 0 : json["cacheTtl"]
|
|
2343
|
+
};
|
|
2344
|
+
}
|
|
2345
|
+
function GetQueryDefinition200ResponseDataToJSON(value) {
|
|
2346
|
+
if (value === void 0) {
|
|
2347
|
+
return void 0;
|
|
2348
|
+
}
|
|
2349
|
+
if (value === null) {
|
|
2350
|
+
return null;
|
|
2351
|
+
}
|
|
2352
|
+
return {
|
|
2353
|
+
"queryVersionId": value.queryVersionId,
|
|
2354
|
+
"name": value.name,
|
|
2355
|
+
"paramsSchema": value.paramsSchema,
|
|
2356
|
+
"resultSchema": value.resultSchema,
|
|
2357
|
+
"cacheTtl": value.cacheTtl
|
|
2358
|
+
};
|
|
2359
|
+
}
|
|
2360
|
+
|
|
2361
|
+
// src/generated/models/GetQueryDefinition200Response.ts
|
|
2362
|
+
function instanceOfGetQueryDefinition200Response(value) {
|
|
2363
|
+
let isInstance = true;
|
|
2364
|
+
isInstance = isInstance && "data" in value;
|
|
2365
|
+
return isInstance;
|
|
2366
|
+
}
|
|
2367
|
+
function GetQueryDefinition200ResponseFromJSON(json) {
|
|
2368
|
+
return GetQueryDefinition200ResponseFromJSONTyped(json, false);
|
|
2369
|
+
}
|
|
2370
|
+
function GetQueryDefinition200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
2371
|
+
if (json === void 0 || json === null) {
|
|
2372
|
+
return json;
|
|
2373
|
+
}
|
|
2374
|
+
return {
|
|
2375
|
+
"data": GetQueryDefinition200ResponseDataFromJSON(json["data"])
|
|
2376
|
+
};
|
|
2377
|
+
}
|
|
2378
|
+
function GetQueryDefinition200ResponseToJSON(value) {
|
|
2379
|
+
if (value === void 0) {
|
|
2380
|
+
return void 0;
|
|
2381
|
+
}
|
|
2382
|
+
if (value === null) {
|
|
2383
|
+
return null;
|
|
2384
|
+
}
|
|
2385
|
+
return {
|
|
2386
|
+
"data": GetQueryDefinition200ResponseDataToJSON(value.data)
|
|
1861
2387
|
};
|
|
1862
2388
|
}
|
|
1863
2389
|
|
|
@@ -1992,47 +2518,631 @@ function GetSigninCalendar200ResponseToJSON(value) {
|
|
|
1992
2518
|
};
|
|
1993
2519
|
}
|
|
1994
2520
|
|
|
1995
|
-
// src/generated/models/
|
|
1996
|
-
|
|
1997
|
-
|
|
1998
|
-
|
|
1999
|
-
|
|
2000
|
-
|
|
2001
|
-
|
|
2002
|
-
}
|
|
2003
|
-
|
|
2004
|
-
|
|
2005
|
-
|
|
2006
|
-
|
|
2007
|
-
|
|
2008
|
-
|
|
2521
|
+
// src/generated/models/GetTenantConfig200ResponseDataBlockedComponentsInner.ts
|
|
2522
|
+
function instanceOfGetTenantConfig200ResponseDataBlockedComponentsInner(value) {
|
|
2523
|
+
let isInstance = true;
|
|
2524
|
+
return isInstance;
|
|
2525
|
+
}
|
|
2526
|
+
function GetTenantConfig200ResponseDataBlockedComponentsInnerFromJSON(json) {
|
|
2527
|
+
return GetTenantConfig200ResponseDataBlockedComponentsInnerFromJSONTyped(json, false);
|
|
2528
|
+
}
|
|
2529
|
+
function GetTenantConfig200ResponseDataBlockedComponentsInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
2530
|
+
if (json === void 0 || json === null) {
|
|
2531
|
+
return json;
|
|
2532
|
+
}
|
|
2533
|
+
return {
|
|
2534
|
+
"componentType": !exists(json, "componentType") ? void 0 : json["componentType"],
|
|
2535
|
+
"version": !exists(json, "version") ? void 0 : json["version"],
|
|
2536
|
+
"reason": !exists(json, "reason") ? void 0 : json["reason"]
|
|
2537
|
+
};
|
|
2538
|
+
}
|
|
2539
|
+
function GetTenantConfig200ResponseDataBlockedComponentsInnerToJSON(value) {
|
|
2540
|
+
if (value === void 0) {
|
|
2541
|
+
return void 0;
|
|
2542
|
+
}
|
|
2543
|
+
if (value === null) {
|
|
2544
|
+
return null;
|
|
2545
|
+
}
|
|
2546
|
+
return {
|
|
2547
|
+
"componentType": value.componentType,
|
|
2548
|
+
"version": value.version,
|
|
2549
|
+
"reason": value.reason
|
|
2550
|
+
};
|
|
2551
|
+
}
|
|
2552
|
+
|
|
2553
|
+
// src/generated/models/GetTenantConfig200ResponseDataKillSwitch.ts
|
|
2554
|
+
function instanceOfGetTenantConfig200ResponseDataKillSwitch(value) {
|
|
2555
|
+
let isInstance = true;
|
|
2556
|
+
return isInstance;
|
|
2557
|
+
}
|
|
2558
|
+
function GetTenantConfig200ResponseDataKillSwitchFromJSON(json) {
|
|
2559
|
+
return GetTenantConfig200ResponseDataKillSwitchFromJSONTyped(json, false);
|
|
2560
|
+
}
|
|
2561
|
+
function GetTenantConfig200ResponseDataKillSwitchFromJSONTyped(json, ignoreDiscriminator) {
|
|
2562
|
+
if (json === void 0 || json === null) {
|
|
2563
|
+
return json;
|
|
2564
|
+
}
|
|
2565
|
+
return {
|
|
2566
|
+
"enabled": !exists(json, "enabled") ? void 0 : json["enabled"],
|
|
2567
|
+
"pageIds": !exists(json, "pageIds") ? void 0 : json["pageIds"],
|
|
2568
|
+
"fallbackUrl": !exists(json, "fallbackUrl") ? void 0 : json["fallbackUrl"]
|
|
2569
|
+
};
|
|
2570
|
+
}
|
|
2571
|
+
function GetTenantConfig200ResponseDataKillSwitchToJSON(value) {
|
|
2572
|
+
if (value === void 0) {
|
|
2573
|
+
return void 0;
|
|
2574
|
+
}
|
|
2575
|
+
if (value === null) {
|
|
2576
|
+
return null;
|
|
2577
|
+
}
|
|
2578
|
+
return {
|
|
2579
|
+
"enabled": value.enabled,
|
|
2580
|
+
"pageIds": value.pageIds,
|
|
2581
|
+
"fallbackUrl": value.fallbackUrl
|
|
2582
|
+
};
|
|
2583
|
+
}
|
|
2584
|
+
|
|
2585
|
+
// src/generated/models/GetTenantConfig200ResponseData.ts
|
|
2586
|
+
function instanceOfGetTenantConfig200ResponseData(value) {
|
|
2587
|
+
let isInstance = true;
|
|
2588
|
+
return isInstance;
|
|
2589
|
+
}
|
|
2590
|
+
function GetTenantConfig200ResponseDataFromJSON(json) {
|
|
2591
|
+
return GetTenantConfig200ResponseDataFromJSONTyped(json, false);
|
|
2592
|
+
}
|
|
2593
|
+
function GetTenantConfig200ResponseDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
2594
|
+
if (json === void 0 || json === null) {
|
|
2595
|
+
return json;
|
|
2596
|
+
}
|
|
2597
|
+
return {
|
|
2598
|
+
"features": !exists(json, "features") ? void 0 : json["features"],
|
|
2599
|
+
"theme": !exists(json, "theme") ? void 0 : json["theme"],
|
|
2600
|
+
"cdnDomain": !exists(json, "cdnDomain") ? void 0 : json["cdnDomain"],
|
|
2601
|
+
"runtimeVersion": !exists(json, "runtimeVersion") ? void 0 : json["runtimeVersion"],
|
|
2602
|
+
"blockedComponents": !exists(json, "blockedComponents") ? void 0 : json["blockedComponents"].map(GetTenantConfig200ResponseDataBlockedComponentsInnerFromJSON),
|
|
2603
|
+
"killSwitch": !exists(json, "killSwitch") ? void 0 : GetTenantConfig200ResponseDataKillSwitchFromJSON(json["killSwitch"])
|
|
2604
|
+
};
|
|
2605
|
+
}
|
|
2606
|
+
function GetTenantConfig200ResponseDataToJSON(value) {
|
|
2607
|
+
if (value === void 0) {
|
|
2608
|
+
return void 0;
|
|
2609
|
+
}
|
|
2610
|
+
if (value === null) {
|
|
2611
|
+
return null;
|
|
2612
|
+
}
|
|
2613
|
+
return {
|
|
2614
|
+
"features": value.features,
|
|
2615
|
+
"theme": value.theme,
|
|
2616
|
+
"cdnDomain": value.cdnDomain,
|
|
2617
|
+
"runtimeVersion": value.runtimeVersion,
|
|
2618
|
+
"blockedComponents": value.blockedComponents === void 0 ? void 0 : value.blockedComponents.map(GetTenantConfig200ResponseDataBlockedComponentsInnerToJSON),
|
|
2619
|
+
"killSwitch": GetTenantConfig200ResponseDataKillSwitchToJSON(value.killSwitch)
|
|
2620
|
+
};
|
|
2621
|
+
}
|
|
2622
|
+
|
|
2623
|
+
// src/generated/models/GetTenantConfig200Response.ts
|
|
2624
|
+
function instanceOfGetTenantConfig200Response(value) {
|
|
2625
|
+
let isInstance = true;
|
|
2626
|
+
return isInstance;
|
|
2627
|
+
}
|
|
2628
|
+
function GetTenantConfig200ResponseFromJSON(json) {
|
|
2629
|
+
return GetTenantConfig200ResponseFromJSONTyped(json, false);
|
|
2630
|
+
}
|
|
2631
|
+
function GetTenantConfig200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
2632
|
+
if (json === void 0 || json === null) {
|
|
2633
|
+
return json;
|
|
2634
|
+
}
|
|
2635
|
+
return {
|
|
2636
|
+
"success": !exists(json, "success") ? void 0 : json["success"],
|
|
2637
|
+
"data": !exists(json, "data") ? void 0 : GetTenantConfig200ResponseDataFromJSON(json["data"])
|
|
2638
|
+
};
|
|
2639
|
+
}
|
|
2640
|
+
function GetTenantConfig200ResponseToJSON(value) {
|
|
2641
|
+
if (value === void 0) {
|
|
2642
|
+
return void 0;
|
|
2643
|
+
}
|
|
2644
|
+
if (value === null) {
|
|
2645
|
+
return null;
|
|
2646
|
+
}
|
|
2647
|
+
return {
|
|
2648
|
+
"success": value.success,
|
|
2649
|
+
"data": GetTenantConfig200ResponseDataToJSON(value.data)
|
|
2650
|
+
};
|
|
2651
|
+
}
|
|
2652
|
+
|
|
2653
|
+
// src/generated/models/HealthCheck200ResponseDependenciesValue.ts
|
|
2654
|
+
var HealthCheck200ResponseDependenciesValueStatusEnum = {
|
|
2655
|
+
HEALTHY: "healthy",
|
|
2656
|
+
DEGRADED: "degraded",
|
|
2657
|
+
UNHEALTHY: "unhealthy"
|
|
2658
|
+
};
|
|
2659
|
+
function instanceOfHealthCheck200ResponseDependenciesValue(value) {
|
|
2660
|
+
let isInstance = true;
|
|
2661
|
+
return isInstance;
|
|
2662
|
+
}
|
|
2663
|
+
function HealthCheck200ResponseDependenciesValueFromJSON(json) {
|
|
2664
|
+
return HealthCheck200ResponseDependenciesValueFromJSONTyped(json, false);
|
|
2665
|
+
}
|
|
2666
|
+
function HealthCheck200ResponseDependenciesValueFromJSONTyped(json, ignoreDiscriminator) {
|
|
2667
|
+
if (json === void 0 || json === null) {
|
|
2668
|
+
return json;
|
|
2669
|
+
}
|
|
2670
|
+
return {
|
|
2671
|
+
"status": !exists(json, "status") ? void 0 : json["status"],
|
|
2672
|
+
"latency": !exists(json, "latency") ? void 0 : json["latency"],
|
|
2673
|
+
"message": !exists(json, "message") ? void 0 : json["message"]
|
|
2674
|
+
};
|
|
2675
|
+
}
|
|
2676
|
+
function HealthCheck200ResponseDependenciesValueToJSON(value) {
|
|
2677
|
+
if (value === void 0) {
|
|
2678
|
+
return void 0;
|
|
2679
|
+
}
|
|
2680
|
+
if (value === null) {
|
|
2681
|
+
return null;
|
|
2682
|
+
}
|
|
2683
|
+
return {
|
|
2684
|
+
"status": value.status,
|
|
2685
|
+
"latency": value.latency,
|
|
2686
|
+
"message": value.message
|
|
2687
|
+
};
|
|
2688
|
+
}
|
|
2689
|
+
|
|
2690
|
+
// src/generated/models/HealthCheck200Response.ts
|
|
2691
|
+
var HealthCheck200ResponseStatusEnum = {
|
|
2692
|
+
HEALTHY: "healthy",
|
|
2693
|
+
DEGRADED: "degraded",
|
|
2694
|
+
UNHEALTHY: "unhealthy"
|
|
2695
|
+
};
|
|
2696
|
+
function instanceOfHealthCheck200Response(value) {
|
|
2697
|
+
let isInstance = true;
|
|
2698
|
+
isInstance = isInstance && "status" in value;
|
|
2699
|
+
isInstance = isInstance && "version" in value;
|
|
2700
|
+
return isInstance;
|
|
2701
|
+
}
|
|
2702
|
+
function HealthCheck200ResponseFromJSON(json) {
|
|
2703
|
+
return HealthCheck200ResponseFromJSONTyped(json, false);
|
|
2704
|
+
}
|
|
2705
|
+
function HealthCheck200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
2706
|
+
if (json === void 0 || json === null) {
|
|
2707
|
+
return json;
|
|
2708
|
+
}
|
|
2709
|
+
return {
|
|
2710
|
+
"status": json["status"],
|
|
2711
|
+
"version": json["version"],
|
|
2712
|
+
"uptime": !exists(json, "uptime") ? void 0 : json["uptime"],
|
|
2713
|
+
"timestamp": !exists(json, "timestamp") ? void 0 : new Date(json["timestamp"]),
|
|
2714
|
+
"dependencies": !exists(json, "dependencies") ? void 0 : mapValues(json["dependencies"], HealthCheck200ResponseDependenciesValueFromJSON)
|
|
2715
|
+
};
|
|
2716
|
+
}
|
|
2717
|
+
function HealthCheck200ResponseToJSON(value) {
|
|
2718
|
+
if (value === void 0) {
|
|
2719
|
+
return void 0;
|
|
2720
|
+
}
|
|
2721
|
+
if (value === null) {
|
|
2722
|
+
return null;
|
|
2723
|
+
}
|
|
2724
|
+
return {
|
|
2725
|
+
"status": value.status,
|
|
2726
|
+
"version": value.version,
|
|
2727
|
+
"uptime": value.uptime,
|
|
2728
|
+
"timestamp": value.timestamp === void 0 ? void 0 : value.timestamp.toISOString(),
|
|
2729
|
+
"dependencies": value.dependencies === void 0 ? void 0 : mapValues(value.dependencies, HealthCheck200ResponseDependenciesValueToJSON)
|
|
2730
|
+
};
|
|
2731
|
+
}
|
|
2732
|
+
|
|
2733
|
+
// src/generated/models/HealthResponse.ts
|
|
2734
|
+
var HealthResponseStatusEnum = {
|
|
2735
|
+
HEALTHY: "healthy",
|
|
2736
|
+
DEGRADED: "degraded",
|
|
2737
|
+
UNHEALTHY: "unhealthy"
|
|
2738
|
+
};
|
|
2739
|
+
function instanceOfHealthResponse(value) {
|
|
2740
|
+
let isInstance = true;
|
|
2741
|
+
isInstance = isInstance && "status" in value;
|
|
2742
|
+
isInstance = isInstance && "version" in value;
|
|
2743
|
+
return isInstance;
|
|
2744
|
+
}
|
|
2745
|
+
function HealthResponseFromJSON(json) {
|
|
2746
|
+
return HealthResponseFromJSONTyped(json, false);
|
|
2747
|
+
}
|
|
2748
|
+
function HealthResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
2749
|
+
if (json === void 0 || json === null) {
|
|
2750
|
+
return json;
|
|
2751
|
+
}
|
|
2752
|
+
return {
|
|
2753
|
+
"status": json["status"],
|
|
2754
|
+
"version": json["version"],
|
|
2755
|
+
"uptime": !exists(json, "uptime") ? void 0 : json["uptime"],
|
|
2756
|
+
"timestamp": !exists(json, "timestamp") ? void 0 : new Date(json["timestamp"]),
|
|
2757
|
+
"dependencies": !exists(json, "dependencies") ? void 0 : mapValues(json["dependencies"], HealthCheck200ResponseDependenciesValueFromJSON)
|
|
2758
|
+
};
|
|
2759
|
+
}
|
|
2760
|
+
function HealthResponseToJSON(value) {
|
|
2761
|
+
if (value === void 0) {
|
|
2762
|
+
return void 0;
|
|
2763
|
+
}
|
|
2764
|
+
if (value === null) {
|
|
2765
|
+
return null;
|
|
2766
|
+
}
|
|
2767
|
+
return {
|
|
2768
|
+
"status": value.status,
|
|
2769
|
+
"version": value.version,
|
|
2770
|
+
"uptime": value.uptime,
|
|
2771
|
+
"timestamp": value.timestamp === void 0 ? void 0 : value.timestamp.toISOString(),
|
|
2772
|
+
"dependencies": value.dependencies === void 0 ? void 0 : mapValues(value.dependencies, HealthCheck200ResponseDependenciesValueToJSON)
|
|
2773
|
+
};
|
|
2774
|
+
}
|
|
2775
|
+
|
|
2776
|
+
// src/generated/models/IdempotencyConflictResponse.ts
|
|
2777
|
+
function instanceOfIdempotencyConflictResponse(value) {
|
|
2778
|
+
let isInstance = true;
|
|
2779
|
+
isInstance = isInstance && "success" in value;
|
|
2780
|
+
isInstance = isInstance && "data" in value;
|
|
2781
|
+
return isInstance;
|
|
2782
|
+
}
|
|
2783
|
+
function IdempotencyConflictResponseFromJSON(json) {
|
|
2784
|
+
return IdempotencyConflictResponseFromJSONTyped(json, false);
|
|
2785
|
+
}
|
|
2786
|
+
function IdempotencyConflictResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
2787
|
+
if (json === void 0 || json === null) {
|
|
2788
|
+
return json;
|
|
2789
|
+
}
|
|
2790
|
+
return {
|
|
2791
|
+
"success": json["success"],
|
|
2792
|
+
"data": ExecuteAction409ResponseDataFromJSON(json["data"])
|
|
2793
|
+
};
|
|
2794
|
+
}
|
|
2795
|
+
function IdempotencyConflictResponseToJSON(value) {
|
|
2796
|
+
if (value === void 0) {
|
|
2797
|
+
return void 0;
|
|
2798
|
+
}
|
|
2799
|
+
if (value === null) {
|
|
2800
|
+
return null;
|
|
2801
|
+
}
|
|
2802
|
+
return {
|
|
2803
|
+
"success": value.success,
|
|
2804
|
+
"data": ExecuteAction409ResponseDataToJSON(value.data)
|
|
2805
|
+
};
|
|
2806
|
+
}
|
|
2807
|
+
|
|
2808
|
+
// src/generated/models/LivenessCheck200Response.ts
|
|
2809
|
+
function instanceOfLivenessCheck200Response(value) {
|
|
2810
|
+
let isInstance = true;
|
|
2811
|
+
return isInstance;
|
|
2812
|
+
}
|
|
2813
|
+
function LivenessCheck200ResponseFromJSON(json) {
|
|
2814
|
+
return LivenessCheck200ResponseFromJSONTyped(json, false);
|
|
2815
|
+
}
|
|
2816
|
+
function LivenessCheck200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
2817
|
+
if (json === void 0 || json === null) {
|
|
2818
|
+
return json;
|
|
2819
|
+
}
|
|
2820
|
+
return {
|
|
2821
|
+
"alive": !exists(json, "alive") ? void 0 : json["alive"]
|
|
2822
|
+
};
|
|
2823
|
+
}
|
|
2824
|
+
function LivenessCheck200ResponseToJSON(value) {
|
|
2825
|
+
if (value === void 0) {
|
|
2826
|
+
return void 0;
|
|
2827
|
+
}
|
|
2828
|
+
if (value === null) {
|
|
2829
|
+
return null;
|
|
2830
|
+
}
|
|
2831
|
+
return {
|
|
2832
|
+
"alive": value.alive
|
|
2833
|
+
};
|
|
2834
|
+
}
|
|
2835
|
+
|
|
2836
|
+
// src/generated/models/LotteryRecordInfo.ts
|
|
2837
|
+
var LotteryRecordInfoPrizeTypeEnum = {
|
|
2838
|
+
PHYSICAL: "physical",
|
|
2839
|
+
VIRTUAL: "virtual",
|
|
2840
|
+
COUPON: "coupon",
|
|
2841
|
+
POINTS: "points",
|
|
2842
|
+
NONE: "none"
|
|
2843
|
+
};
|
|
2844
|
+
var LotteryRecordInfoStatusEnum = {
|
|
2845
|
+
WON: "won",
|
|
2846
|
+
NOT_WON: "notWon",
|
|
2847
|
+
CLAIMED: "claimed",
|
|
2848
|
+
SHIPPED: "shipped"
|
|
2849
|
+
};
|
|
2009
2850
|
function instanceOfLotteryRecordInfo(value) {
|
|
2010
2851
|
let isInstance = true;
|
|
2011
|
-
isInstance = isInstance && "id" in value;
|
|
2012
|
-
isInstance = isInstance && "prizeId" in value;
|
|
2013
|
-
isInstance = isInstance && "status" in value;
|
|
2014
|
-
isInstance = isInstance && "createdAt" in value;
|
|
2852
|
+
isInstance = isInstance && "id" in value;
|
|
2853
|
+
isInstance = isInstance && "prizeId" in value;
|
|
2854
|
+
isInstance = isInstance && "status" in value;
|
|
2855
|
+
isInstance = isInstance && "createdAt" in value;
|
|
2856
|
+
return isInstance;
|
|
2857
|
+
}
|
|
2858
|
+
function LotteryRecordInfoFromJSON(json) {
|
|
2859
|
+
return LotteryRecordInfoFromJSONTyped(json, false);
|
|
2860
|
+
}
|
|
2861
|
+
function LotteryRecordInfoFromJSONTyped(json, ignoreDiscriminator) {
|
|
2862
|
+
if (json === void 0 || json === null) {
|
|
2863
|
+
return json;
|
|
2864
|
+
}
|
|
2865
|
+
return {
|
|
2866
|
+
"id": json["id"],
|
|
2867
|
+
"activityId": !exists(json, "activityId") ? void 0 : json["activityId"],
|
|
2868
|
+
"prizeId": json["prizeId"],
|
|
2869
|
+
"prizeName": !exists(json, "prizeName") ? void 0 : json["prizeName"],
|
|
2870
|
+
"prizeType": !exists(json, "prizeType") ? void 0 : json["prizeType"],
|
|
2871
|
+
"status": json["status"],
|
|
2872
|
+
"createdAt": new Date(json["createdAt"]),
|
|
2873
|
+
"claimedAt": !exists(json, "claimedAt") ? void 0 : new Date(json["claimedAt"])
|
|
2874
|
+
};
|
|
2875
|
+
}
|
|
2876
|
+
function LotteryRecordInfoToJSON(value) {
|
|
2877
|
+
if (value === void 0) {
|
|
2878
|
+
return void 0;
|
|
2879
|
+
}
|
|
2880
|
+
if (value === null) {
|
|
2881
|
+
return null;
|
|
2882
|
+
}
|
|
2883
|
+
return {
|
|
2884
|
+
"id": value.id,
|
|
2885
|
+
"activityId": value.activityId,
|
|
2886
|
+
"prizeId": value.prizeId,
|
|
2887
|
+
"prizeName": value.prizeName,
|
|
2888
|
+
"prizeType": value.prizeType,
|
|
2889
|
+
"status": value.status,
|
|
2890
|
+
"createdAt": value.createdAt.toISOString(),
|
|
2891
|
+
"claimedAt": value.claimedAt === void 0 ? void 0 : value.claimedAt.toISOString()
|
|
2892
|
+
};
|
|
2893
|
+
}
|
|
2894
|
+
|
|
2895
|
+
// src/generated/models/OpsConfig.ts
|
|
2896
|
+
function instanceOfOpsConfig(value) {
|
|
2897
|
+
let isInstance = true;
|
|
2898
|
+
return isInstance;
|
|
2899
|
+
}
|
|
2900
|
+
function OpsConfigFromJSON(json) {
|
|
2901
|
+
return OpsConfigFromJSONTyped(json, false);
|
|
2902
|
+
}
|
|
2903
|
+
function OpsConfigFromJSONTyped(json, ignoreDiscriminator) {
|
|
2904
|
+
if (json === void 0 || json === null) {
|
|
2905
|
+
return json;
|
|
2906
|
+
}
|
|
2907
|
+
return {
|
|
2908
|
+
"killSwitch": !exists(json, "killSwitch") ? void 0 : json["killSwitch"],
|
|
2909
|
+
"fallbackUrl": !exists(json, "fallbackUrl") ? void 0 : json["fallbackUrl"],
|
|
2910
|
+
"blockedComponents": !exists(json, "blockedComponents") ? void 0 : json["blockedComponents"]
|
|
2911
|
+
};
|
|
2912
|
+
}
|
|
2913
|
+
function OpsConfigToJSON(value) {
|
|
2914
|
+
if (value === void 0) {
|
|
2915
|
+
return void 0;
|
|
2916
|
+
}
|
|
2917
|
+
if (value === null) {
|
|
2918
|
+
return null;
|
|
2919
|
+
}
|
|
2920
|
+
return {
|
|
2921
|
+
"killSwitch": value.killSwitch,
|
|
2922
|
+
"fallbackUrl": value.fallbackUrl,
|
|
2923
|
+
"blockedComponents": value.blockedComponents
|
|
2924
|
+
};
|
|
2925
|
+
}
|
|
2926
|
+
|
|
2927
|
+
// src/generated/models/PageResponse.ts
|
|
2928
|
+
function instanceOfPageResponse(value) {
|
|
2929
|
+
let isInstance = true;
|
|
2930
|
+
isInstance = isInstance && "data" in value;
|
|
2931
|
+
return isInstance;
|
|
2932
|
+
}
|
|
2933
|
+
function PageResponseFromJSON(json) {
|
|
2934
|
+
return PageResponseFromJSONTyped(json, false);
|
|
2935
|
+
}
|
|
2936
|
+
function PageResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
2937
|
+
if (json === void 0 || json === null) {
|
|
2938
|
+
return json;
|
|
2939
|
+
}
|
|
2940
|
+
return {
|
|
2941
|
+
"data": GetPage200ResponseDataFromJSON(json["data"])
|
|
2942
|
+
};
|
|
2943
|
+
}
|
|
2944
|
+
function PageResponseToJSON(value) {
|
|
2945
|
+
if (value === void 0) {
|
|
2946
|
+
return void 0;
|
|
2947
|
+
}
|
|
2948
|
+
if (value === null) {
|
|
2949
|
+
return null;
|
|
2950
|
+
}
|
|
2951
|
+
return {
|
|
2952
|
+
"data": GetPage200ResponseDataToJSON(value.data)
|
|
2953
|
+
};
|
|
2954
|
+
}
|
|
2955
|
+
|
|
2956
|
+
// src/generated/models/PaginationMeta.ts
|
|
2957
|
+
function instanceOfPaginationMeta(value) {
|
|
2958
|
+
let isInstance = true;
|
|
2959
|
+
isInstance = isInstance && "page" in value;
|
|
2960
|
+
isInstance = isInstance && "limit" in value;
|
|
2961
|
+
isInstance = isInstance && "total" in value;
|
|
2962
|
+
isInstance = isInstance && "totalPages" in value;
|
|
2963
|
+
return isInstance;
|
|
2964
|
+
}
|
|
2965
|
+
function PaginationMetaFromJSON(json) {
|
|
2966
|
+
return PaginationMetaFromJSONTyped(json, false);
|
|
2967
|
+
}
|
|
2968
|
+
function PaginationMetaFromJSONTyped(json, ignoreDiscriminator) {
|
|
2969
|
+
if (json === void 0 || json === null) {
|
|
2970
|
+
return json;
|
|
2971
|
+
}
|
|
2972
|
+
return {
|
|
2973
|
+
"page": json["page"],
|
|
2974
|
+
"limit": json["limit"],
|
|
2975
|
+
"total": json["total"],
|
|
2976
|
+
"totalPages": json["totalPages"]
|
|
2977
|
+
};
|
|
2978
|
+
}
|
|
2979
|
+
function PaginationMetaToJSON(value) {
|
|
2980
|
+
if (value === void 0) {
|
|
2981
|
+
return void 0;
|
|
2982
|
+
}
|
|
2983
|
+
if (value === null) {
|
|
2984
|
+
return null;
|
|
2985
|
+
}
|
|
2986
|
+
return {
|
|
2987
|
+
"page": value.page,
|
|
2988
|
+
"limit": value.limit,
|
|
2989
|
+
"total": value.total,
|
|
2990
|
+
"totalPages": value.totalPages
|
|
2991
|
+
};
|
|
2992
|
+
}
|
|
2993
|
+
|
|
2994
|
+
// src/generated/models/PublicActivityInfo.ts
|
|
2995
|
+
var PublicActivityInfoTypeEnum = {
|
|
2996
|
+
CLAIM: "claim",
|
|
2997
|
+
SIGNIN: "signin",
|
|
2998
|
+
LOTTERY: "lottery",
|
|
2999
|
+
RESERVE: "reserve",
|
|
3000
|
+
TASK: "task",
|
|
3001
|
+
VOTE: "vote",
|
|
3002
|
+
SHARE: "share",
|
|
3003
|
+
BIND: "bind",
|
|
3004
|
+
CUSTOM: "custom"
|
|
3005
|
+
};
|
|
3006
|
+
var PublicActivityInfoStatusEnum = {
|
|
3007
|
+
ACTIVE: "active",
|
|
3008
|
+
ENDED: "ended"
|
|
3009
|
+
};
|
|
3010
|
+
function instanceOfPublicActivityInfo(value) {
|
|
3011
|
+
let isInstance = true;
|
|
3012
|
+
isInstance = isInstance && "id" in value;
|
|
3013
|
+
isInstance = isInstance && "name" in value;
|
|
3014
|
+
isInstance = isInstance && "type" in value;
|
|
3015
|
+
isInstance = isInstance && "status" in value;
|
|
3016
|
+
return isInstance;
|
|
3017
|
+
}
|
|
3018
|
+
function PublicActivityInfoFromJSON(json) {
|
|
3019
|
+
return PublicActivityInfoFromJSONTyped(json, false);
|
|
3020
|
+
}
|
|
3021
|
+
function PublicActivityInfoFromJSONTyped(json, ignoreDiscriminator) {
|
|
3022
|
+
if (json === void 0 || json === null) {
|
|
3023
|
+
return json;
|
|
3024
|
+
}
|
|
3025
|
+
return {
|
|
3026
|
+
"id": json["id"],
|
|
3027
|
+
"name": json["name"],
|
|
3028
|
+
"type": json["type"],
|
|
3029
|
+
"status": json["status"],
|
|
3030
|
+
"description": !exists(json, "description") ? void 0 : json["description"],
|
|
3031
|
+
"startTime": !exists(json, "startTime") ? void 0 : new Date(json["startTime"]),
|
|
3032
|
+
"endTime": !exists(json, "endTime") ? void 0 : new Date(json["endTime"]),
|
|
3033
|
+
"rules": !exists(json, "rules") ? void 0 : json["rules"],
|
|
3034
|
+
"rewards": !exists(json, "rewards") ? void 0 : json["rewards"].map(GetActivityInfo200ResponseDataRewardsInnerFromJSON)
|
|
3035
|
+
};
|
|
3036
|
+
}
|
|
3037
|
+
function PublicActivityInfoToJSON(value) {
|
|
3038
|
+
if (value === void 0) {
|
|
3039
|
+
return void 0;
|
|
3040
|
+
}
|
|
3041
|
+
if (value === null) {
|
|
3042
|
+
return null;
|
|
3043
|
+
}
|
|
3044
|
+
return {
|
|
3045
|
+
"id": value.id,
|
|
3046
|
+
"name": value.name,
|
|
3047
|
+
"type": value.type,
|
|
3048
|
+
"status": value.status,
|
|
3049
|
+
"description": value.description,
|
|
3050
|
+
"startTime": value.startTime === void 0 ? void 0 : value.startTime.toISOString(),
|
|
3051
|
+
"endTime": value.endTime === void 0 ? void 0 : value.endTime.toISOString(),
|
|
3052
|
+
"rules": value.rules,
|
|
3053
|
+
"rewards": value.rewards === void 0 ? void 0 : value.rewards.map(GetActivityInfo200ResponseDataRewardsInnerToJSON)
|
|
3054
|
+
};
|
|
3055
|
+
}
|
|
3056
|
+
|
|
3057
|
+
// src/generated/models/QueryContext.ts
|
|
3058
|
+
function instanceOfQueryContext(value) {
|
|
3059
|
+
let isInstance = true;
|
|
3060
|
+
return isInstance;
|
|
3061
|
+
}
|
|
3062
|
+
function QueryContextFromJSON(json) {
|
|
3063
|
+
return QueryContextFromJSONTyped(json, false);
|
|
3064
|
+
}
|
|
3065
|
+
function QueryContextFromJSONTyped(json, ignoreDiscriminator) {
|
|
3066
|
+
if (json === void 0 || json === null) {
|
|
3067
|
+
return json;
|
|
3068
|
+
}
|
|
3069
|
+
return {
|
|
3070
|
+
"pageVersionId": !exists(json, "pageVersionId") ? void 0 : json["pageVersionId"],
|
|
3071
|
+
"uid": !exists(json, "uid") ? void 0 : json["uid"],
|
|
3072
|
+
"sessionId": !exists(json, "sessionId") ? void 0 : json["sessionId"],
|
|
3073
|
+
"traceId": !exists(json, "traceId") ? void 0 : json["traceId"]
|
|
3074
|
+
};
|
|
3075
|
+
}
|
|
3076
|
+
function QueryContextToJSON(value) {
|
|
3077
|
+
if (value === void 0) {
|
|
3078
|
+
return void 0;
|
|
3079
|
+
}
|
|
3080
|
+
if (value === null) {
|
|
3081
|
+
return null;
|
|
3082
|
+
}
|
|
3083
|
+
return {
|
|
3084
|
+
"pageVersionId": value.pageVersionId,
|
|
3085
|
+
"uid": value.uid,
|
|
3086
|
+
"sessionId": value.sessionId,
|
|
3087
|
+
"traceId": value.traceId
|
|
3088
|
+
};
|
|
3089
|
+
}
|
|
3090
|
+
|
|
3091
|
+
// src/generated/models/QueryData200ResponseMetaPagination.ts
|
|
3092
|
+
function instanceOfQueryData200ResponseMetaPagination(value) {
|
|
3093
|
+
let isInstance = true;
|
|
3094
|
+
return isInstance;
|
|
3095
|
+
}
|
|
3096
|
+
function QueryData200ResponseMetaPaginationFromJSON(json) {
|
|
3097
|
+
return QueryData200ResponseMetaPaginationFromJSONTyped(json, false);
|
|
3098
|
+
}
|
|
3099
|
+
function QueryData200ResponseMetaPaginationFromJSONTyped(json, ignoreDiscriminator) {
|
|
3100
|
+
if (json === void 0 || json === null) {
|
|
3101
|
+
return json;
|
|
3102
|
+
}
|
|
3103
|
+
return {
|
|
3104
|
+
"page": !exists(json, "page") ? void 0 : json["page"],
|
|
3105
|
+
"limit": !exists(json, "limit") ? void 0 : json["limit"],
|
|
3106
|
+
"total": !exists(json, "total") ? void 0 : json["total"],
|
|
3107
|
+
"hasMore": !exists(json, "hasMore") ? void 0 : json["hasMore"]
|
|
3108
|
+
};
|
|
3109
|
+
}
|
|
3110
|
+
function QueryData200ResponseMetaPaginationToJSON(value) {
|
|
3111
|
+
if (value === void 0) {
|
|
3112
|
+
return void 0;
|
|
3113
|
+
}
|
|
3114
|
+
if (value === null) {
|
|
3115
|
+
return null;
|
|
3116
|
+
}
|
|
3117
|
+
return {
|
|
3118
|
+
"page": value.page,
|
|
3119
|
+
"limit": value.limit,
|
|
3120
|
+
"total": value.total,
|
|
3121
|
+
"hasMore": value.hasMore
|
|
3122
|
+
};
|
|
3123
|
+
}
|
|
3124
|
+
|
|
3125
|
+
// src/generated/models/QueryData200ResponseMeta.ts
|
|
3126
|
+
function instanceOfQueryData200ResponseMeta(value) {
|
|
3127
|
+
let isInstance = true;
|
|
2015
3128
|
return isInstance;
|
|
2016
3129
|
}
|
|
2017
|
-
function
|
|
2018
|
-
return
|
|
3130
|
+
function QueryData200ResponseMetaFromJSON(json) {
|
|
3131
|
+
return QueryData200ResponseMetaFromJSONTyped(json, false);
|
|
2019
3132
|
}
|
|
2020
|
-
function
|
|
3133
|
+
function QueryData200ResponseMetaFromJSONTyped(json, ignoreDiscriminator) {
|
|
2021
3134
|
if (json === void 0 || json === null) {
|
|
2022
3135
|
return json;
|
|
2023
3136
|
}
|
|
2024
3137
|
return {
|
|
2025
|
-
"
|
|
2026
|
-
"
|
|
2027
|
-
"
|
|
2028
|
-
"
|
|
2029
|
-
"
|
|
2030
|
-
"status": json["status"],
|
|
2031
|
-
"createdAt": new Date(json["createdAt"]),
|
|
2032
|
-
"claimedAt": !exists(json, "claimedAt") ? void 0 : new Date(json["claimedAt"])
|
|
3138
|
+
"cached": !exists(json, "cached") ? void 0 : json["cached"],
|
|
3139
|
+
"cachedAt": !exists(json, "cachedAt") ? void 0 : new Date(json["cachedAt"]),
|
|
3140
|
+
"executionTime": !exists(json, "executionTime") ? void 0 : json["executionTime"],
|
|
3141
|
+
"traceId": !exists(json, "traceId") ? void 0 : json["traceId"],
|
|
3142
|
+
"pagination": !exists(json, "pagination") ? void 0 : QueryData200ResponseMetaPaginationFromJSON(json["pagination"])
|
|
2033
3143
|
};
|
|
2034
3144
|
}
|
|
2035
|
-
function
|
|
3145
|
+
function QueryData200ResponseMetaToJSON(value) {
|
|
2036
3146
|
if (value === void 0) {
|
|
2037
3147
|
return void 0;
|
|
2038
3148
|
}
|
|
@@ -2040,35 +3150,35 @@ function LotteryRecordInfoToJSON(value) {
|
|
|
2040
3150
|
return null;
|
|
2041
3151
|
}
|
|
2042
3152
|
return {
|
|
2043
|
-
"
|
|
2044
|
-
"
|
|
2045
|
-
"
|
|
2046
|
-
"
|
|
2047
|
-
"
|
|
2048
|
-
"status": value.status,
|
|
2049
|
-
"createdAt": value.createdAt.toISOString(),
|
|
2050
|
-
"claimedAt": value.claimedAt === void 0 ? void 0 : value.claimedAt.toISOString()
|
|
3153
|
+
"cached": value.cached,
|
|
3154
|
+
"cachedAt": value.cachedAt === void 0 ? void 0 : value.cachedAt.toISOString(),
|
|
3155
|
+
"executionTime": value.executionTime,
|
|
3156
|
+
"traceId": value.traceId,
|
|
3157
|
+
"pagination": QueryData200ResponseMetaPaginationToJSON(value.pagination)
|
|
2051
3158
|
};
|
|
2052
3159
|
}
|
|
2053
3160
|
|
|
2054
|
-
// src/generated/models/
|
|
2055
|
-
function
|
|
3161
|
+
// src/generated/models/QueryData200Response.ts
|
|
3162
|
+
function instanceOfQueryData200Response(value) {
|
|
2056
3163
|
let isInstance = true;
|
|
3164
|
+
isInstance = isInstance && "success" in value;
|
|
2057
3165
|
isInstance = isInstance && "data" in value;
|
|
2058
3166
|
return isInstance;
|
|
2059
3167
|
}
|
|
2060
|
-
function
|
|
2061
|
-
return
|
|
3168
|
+
function QueryData200ResponseFromJSON(json) {
|
|
3169
|
+
return QueryData200ResponseFromJSONTyped(json, false);
|
|
2062
3170
|
}
|
|
2063
|
-
function
|
|
3171
|
+
function QueryData200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
2064
3172
|
if (json === void 0 || json === null) {
|
|
2065
3173
|
return json;
|
|
2066
3174
|
}
|
|
2067
3175
|
return {
|
|
2068
|
-
"
|
|
3176
|
+
"success": json["success"],
|
|
3177
|
+
"data": json["data"],
|
|
3178
|
+
"meta": !exists(json, "meta") ? void 0 : QueryData200ResponseMetaFromJSON(json["meta"])
|
|
2069
3179
|
};
|
|
2070
3180
|
}
|
|
2071
|
-
function
|
|
3181
|
+
function QueryData200ResponseToJSON(value) {
|
|
2072
3182
|
if (value === void 0) {
|
|
2073
3183
|
return void 0;
|
|
2074
3184
|
}
|
|
@@ -2076,34 +3186,31 @@ function PageResponseToJSON(value) {
|
|
|
2076
3186
|
return null;
|
|
2077
3187
|
}
|
|
2078
3188
|
return {
|
|
2079
|
-
"
|
|
3189
|
+
"success": value.success,
|
|
3190
|
+
"data": value.data,
|
|
3191
|
+
"meta": QueryData200ResponseMetaToJSON(value.meta)
|
|
2080
3192
|
};
|
|
2081
3193
|
}
|
|
2082
3194
|
|
|
2083
|
-
// src/generated/models/
|
|
2084
|
-
function
|
|
3195
|
+
// src/generated/models/QueryDataRequestOptions.ts
|
|
3196
|
+
function instanceOfQueryDataRequestOptions(value) {
|
|
2085
3197
|
let isInstance = true;
|
|
2086
|
-
isInstance = isInstance && "page" in value;
|
|
2087
|
-
isInstance = isInstance && "limit" in value;
|
|
2088
|
-
isInstance = isInstance && "total" in value;
|
|
2089
|
-
isInstance = isInstance && "totalPages" in value;
|
|
2090
3198
|
return isInstance;
|
|
2091
3199
|
}
|
|
2092
|
-
function
|
|
2093
|
-
return
|
|
3200
|
+
function QueryDataRequestOptionsFromJSON(json) {
|
|
3201
|
+
return QueryDataRequestOptionsFromJSONTyped(json, false);
|
|
2094
3202
|
}
|
|
2095
|
-
function
|
|
3203
|
+
function QueryDataRequestOptionsFromJSONTyped(json, ignoreDiscriminator) {
|
|
2096
3204
|
if (json === void 0 || json === null) {
|
|
2097
3205
|
return json;
|
|
2098
3206
|
}
|
|
2099
3207
|
return {
|
|
2100
|
-
"
|
|
2101
|
-
"
|
|
2102
|
-
"
|
|
2103
|
-
"totalPages": json["totalPages"]
|
|
3208
|
+
"timeout": !exists(json, "timeout") ? void 0 : json["timeout"],
|
|
3209
|
+
"cache": !exists(json, "cache") ? void 0 : json["cache"],
|
|
3210
|
+
"cacheKey": !exists(json, "cacheKey") ? void 0 : json["cacheKey"]
|
|
2104
3211
|
};
|
|
2105
3212
|
}
|
|
2106
|
-
function
|
|
3213
|
+
function QueryDataRequestOptionsToJSON(value) {
|
|
2107
3214
|
if (value === void 0) {
|
|
2108
3215
|
return void 0;
|
|
2109
3216
|
}
|
|
@@ -2111,53 +3218,33 @@ function PaginationMetaToJSON(value) {
|
|
|
2111
3218
|
return null;
|
|
2112
3219
|
}
|
|
2113
3220
|
return {
|
|
2114
|
-
"
|
|
2115
|
-
"
|
|
2116
|
-
"
|
|
2117
|
-
"totalPages": value.totalPages
|
|
3221
|
+
"timeout": value.timeout,
|
|
3222
|
+
"cache": value.cache,
|
|
3223
|
+
"cacheKey": value.cacheKey
|
|
2118
3224
|
};
|
|
2119
3225
|
}
|
|
2120
3226
|
|
|
2121
|
-
// src/generated/models/
|
|
2122
|
-
|
|
2123
|
-
SIGNIN: "signin",
|
|
2124
|
-
LOTTERY: "lottery",
|
|
2125
|
-
REDPACK: "redpack",
|
|
2126
|
-
COUPON: "coupon",
|
|
2127
|
-
CUSTOM: "custom"
|
|
2128
|
-
};
|
|
2129
|
-
var PublicActivityInfoStatusEnum = {
|
|
2130
|
-
ACTIVE: "active",
|
|
2131
|
-
ENDED: "ended"
|
|
2132
|
-
};
|
|
2133
|
-
function instanceOfPublicActivityInfo(value) {
|
|
3227
|
+
// src/generated/models/QueryDataRequest.ts
|
|
3228
|
+
function instanceOfQueryDataRequest(value) {
|
|
2134
3229
|
let isInstance = true;
|
|
2135
|
-
isInstance = isInstance && "
|
|
2136
|
-
isInstance = isInstance && "name" in value;
|
|
2137
|
-
isInstance = isInstance && "type" in value;
|
|
2138
|
-
isInstance = isInstance && "status" in value;
|
|
3230
|
+
isInstance = isInstance && "queryVersionId" in value;
|
|
2139
3231
|
return isInstance;
|
|
2140
3232
|
}
|
|
2141
|
-
function
|
|
2142
|
-
return
|
|
3233
|
+
function QueryDataRequestFromJSON(json) {
|
|
3234
|
+
return QueryDataRequestFromJSONTyped(json, false);
|
|
2143
3235
|
}
|
|
2144
|
-
function
|
|
3236
|
+
function QueryDataRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
2145
3237
|
if (json === void 0 || json === null) {
|
|
2146
3238
|
return json;
|
|
2147
3239
|
}
|
|
2148
3240
|
return {
|
|
2149
|
-
"
|
|
2150
|
-
"
|
|
2151
|
-
"
|
|
2152
|
-
"
|
|
2153
|
-
"description": !exists(json, "description") ? void 0 : json["description"],
|
|
2154
|
-
"startTime": !exists(json, "startTime") ? void 0 : new Date(json["startTime"]),
|
|
2155
|
-
"endTime": !exists(json, "endTime") ? void 0 : new Date(json["endTime"]),
|
|
2156
|
-
"rules": !exists(json, "rules") ? void 0 : json["rules"],
|
|
2157
|
-
"rewards": !exists(json, "rewards") ? void 0 : json["rewards"].map(GetActivityInfo200ResponseDataRewardsInnerFromJSON)
|
|
3241
|
+
"queryVersionId": json["queryVersionId"],
|
|
3242
|
+
"params": !exists(json, "params") ? void 0 : json["params"],
|
|
3243
|
+
"context": !exists(json, "context") ? void 0 : QueryDataRequestContextFromJSON(json["context"]),
|
|
3244
|
+
"options": !exists(json, "options") ? void 0 : QueryDataRequestOptionsFromJSON(json["options"])
|
|
2158
3245
|
};
|
|
2159
3246
|
}
|
|
2160
|
-
function
|
|
3247
|
+
function QueryDataRequestToJSON(value) {
|
|
2161
3248
|
if (value === void 0) {
|
|
2162
3249
|
return void 0;
|
|
2163
3250
|
}
|
|
@@ -2165,15 +3252,73 @@ function PublicActivityInfoToJSON(value) {
|
|
|
2165
3252
|
return null;
|
|
2166
3253
|
}
|
|
2167
3254
|
return {
|
|
2168
|
-
"
|
|
2169
|
-
"
|
|
2170
|
-
"
|
|
2171
|
-
"
|
|
2172
|
-
|
|
2173
|
-
|
|
2174
|
-
|
|
2175
|
-
|
|
2176
|
-
|
|
3255
|
+
"queryVersionId": value.queryVersionId,
|
|
3256
|
+
"params": value.params,
|
|
3257
|
+
"context": QueryDataRequestContextToJSON(value.context),
|
|
3258
|
+
"options": QueryDataRequestOptionsToJSON(value.options)
|
|
3259
|
+
};
|
|
3260
|
+
}
|
|
3261
|
+
|
|
3262
|
+
// src/generated/models/QueryDataResponse.ts
|
|
3263
|
+
function instanceOfQueryDataResponse(value) {
|
|
3264
|
+
let isInstance = true;
|
|
3265
|
+
isInstance = isInstance && "success" in value;
|
|
3266
|
+
isInstance = isInstance && "data" in value;
|
|
3267
|
+
return isInstance;
|
|
3268
|
+
}
|
|
3269
|
+
function QueryDataResponseFromJSON(json) {
|
|
3270
|
+
return QueryDataResponseFromJSONTyped(json, false);
|
|
3271
|
+
}
|
|
3272
|
+
function QueryDataResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
3273
|
+
if (json === void 0 || json === null) {
|
|
3274
|
+
return json;
|
|
3275
|
+
}
|
|
3276
|
+
return {
|
|
3277
|
+
"success": json["success"],
|
|
3278
|
+
"data": json["data"],
|
|
3279
|
+
"meta": !exists(json, "meta") ? void 0 : QueryData200ResponseMetaFromJSON(json["meta"])
|
|
3280
|
+
};
|
|
3281
|
+
}
|
|
3282
|
+
function QueryDataResponseToJSON(value) {
|
|
3283
|
+
if (value === void 0) {
|
|
3284
|
+
return void 0;
|
|
3285
|
+
}
|
|
3286
|
+
if (value === null) {
|
|
3287
|
+
return null;
|
|
3288
|
+
}
|
|
3289
|
+
return {
|
|
3290
|
+
"success": value.success,
|
|
3291
|
+
"data": value.data,
|
|
3292
|
+
"meta": QueryData200ResponseMetaToJSON(value.meta)
|
|
3293
|
+
};
|
|
3294
|
+
}
|
|
3295
|
+
|
|
3296
|
+
// src/generated/models/QueryDefinitionResponse.ts
|
|
3297
|
+
function instanceOfQueryDefinitionResponse(value) {
|
|
3298
|
+
let isInstance = true;
|
|
3299
|
+
isInstance = isInstance && "data" in value;
|
|
3300
|
+
return isInstance;
|
|
3301
|
+
}
|
|
3302
|
+
function QueryDefinitionResponseFromJSON(json) {
|
|
3303
|
+
return QueryDefinitionResponseFromJSONTyped(json, false);
|
|
3304
|
+
}
|
|
3305
|
+
function QueryDefinitionResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
3306
|
+
if (json === void 0 || json === null) {
|
|
3307
|
+
return json;
|
|
3308
|
+
}
|
|
3309
|
+
return {
|
|
3310
|
+
"data": GetQueryDefinition200ResponseDataFromJSON(json["data"])
|
|
3311
|
+
};
|
|
3312
|
+
}
|
|
3313
|
+
function QueryDefinitionResponseToJSON(value) {
|
|
3314
|
+
if (value === void 0) {
|
|
3315
|
+
return void 0;
|
|
3316
|
+
}
|
|
3317
|
+
if (value === null) {
|
|
3318
|
+
return null;
|
|
3319
|
+
}
|
|
3320
|
+
return {
|
|
3321
|
+
"data": GetQueryDefinition200ResponseDataToJSON(value.data)
|
|
2177
3322
|
};
|
|
2178
3323
|
}
|
|
2179
3324
|
|
|
@@ -2181,7 +3326,7 @@ function PublicActivityInfoToJSON(value) {
|
|
|
2181
3326
|
function instanceOfQueryManifest(value) {
|
|
2182
3327
|
let isInstance = true;
|
|
2183
3328
|
isInstance = isInstance && "queryId" in value;
|
|
2184
|
-
isInstance = isInstance && "
|
|
3329
|
+
isInstance = isInstance && "queryVersionId" in value;
|
|
2185
3330
|
return isInstance;
|
|
2186
3331
|
}
|
|
2187
3332
|
function QueryManifestFromJSON(json) {
|
|
@@ -2193,7 +3338,7 @@ function QueryManifestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
2193
3338
|
}
|
|
2194
3339
|
return {
|
|
2195
3340
|
"queryId": json["queryId"],
|
|
2196
|
-
"
|
|
3341
|
+
"queryVersionId": json["queryVersionId"],
|
|
2197
3342
|
"cacheTtl": !exists(json, "cacheTtl") ? void 0 : json["cacheTtl"]
|
|
2198
3343
|
};
|
|
2199
3344
|
}
|
|
@@ -2206,11 +3351,69 @@ function QueryManifestToJSON(value) {
|
|
|
2206
3351
|
}
|
|
2207
3352
|
return {
|
|
2208
3353
|
"queryId": value.queryId,
|
|
2209
|
-
"
|
|
3354
|
+
"queryVersionId": value.queryVersionId,
|
|
2210
3355
|
"cacheTtl": value.cacheTtl
|
|
2211
3356
|
};
|
|
2212
3357
|
}
|
|
2213
3358
|
|
|
3359
|
+
// src/generated/models/ReadinessCheck200Response.ts
|
|
3360
|
+
function instanceOfReadinessCheck200Response(value) {
|
|
3361
|
+
let isInstance = true;
|
|
3362
|
+
return isInstance;
|
|
3363
|
+
}
|
|
3364
|
+
function ReadinessCheck200ResponseFromJSON(json) {
|
|
3365
|
+
return ReadinessCheck200ResponseFromJSONTyped(json, false);
|
|
3366
|
+
}
|
|
3367
|
+
function ReadinessCheck200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
3368
|
+
if (json === void 0 || json === null) {
|
|
3369
|
+
return json;
|
|
3370
|
+
}
|
|
3371
|
+
return {
|
|
3372
|
+
"ready": !exists(json, "ready") ? void 0 : json["ready"]
|
|
3373
|
+
};
|
|
3374
|
+
}
|
|
3375
|
+
function ReadinessCheck200ResponseToJSON(value) {
|
|
3376
|
+
if (value === void 0) {
|
|
3377
|
+
return void 0;
|
|
3378
|
+
}
|
|
3379
|
+
if (value === null) {
|
|
3380
|
+
return null;
|
|
3381
|
+
}
|
|
3382
|
+
return {
|
|
3383
|
+
"ready": value.ready
|
|
3384
|
+
};
|
|
3385
|
+
}
|
|
3386
|
+
|
|
3387
|
+
// src/generated/models/ReadinessCheck503Response.ts
|
|
3388
|
+
function instanceOfReadinessCheck503Response(value) {
|
|
3389
|
+
let isInstance = true;
|
|
3390
|
+
return isInstance;
|
|
3391
|
+
}
|
|
3392
|
+
function ReadinessCheck503ResponseFromJSON(json) {
|
|
3393
|
+
return ReadinessCheck503ResponseFromJSONTyped(json, false);
|
|
3394
|
+
}
|
|
3395
|
+
function ReadinessCheck503ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
3396
|
+
if (json === void 0 || json === null) {
|
|
3397
|
+
return json;
|
|
3398
|
+
}
|
|
3399
|
+
return {
|
|
3400
|
+
"ready": !exists(json, "ready") ? void 0 : json["ready"],
|
|
3401
|
+
"reason": !exists(json, "reason") ? void 0 : json["reason"]
|
|
3402
|
+
};
|
|
3403
|
+
}
|
|
3404
|
+
function ReadinessCheck503ResponseToJSON(value) {
|
|
3405
|
+
if (value === void 0) {
|
|
3406
|
+
return void 0;
|
|
3407
|
+
}
|
|
3408
|
+
if (value === null) {
|
|
3409
|
+
return null;
|
|
3410
|
+
}
|
|
3411
|
+
return {
|
|
3412
|
+
"ready": value.ready,
|
|
3413
|
+
"reason": value.reason
|
|
3414
|
+
};
|
|
3415
|
+
}
|
|
3416
|
+
|
|
2214
3417
|
// src/generated/models/ResolveContext.ts
|
|
2215
3418
|
var ResolveContextDeviceTypeEnum = {
|
|
2216
3419
|
MOBILE: "mobile",
|
|
@@ -2231,7 +3434,9 @@ function ResolveContextFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
2231
3434
|
return {
|
|
2232
3435
|
"userId": !exists(json, "userId") ? void 0 : json["userId"],
|
|
2233
3436
|
"sessionId": !exists(json, "sessionId") ? void 0 : json["sessionId"],
|
|
3437
|
+
"deviceId": !exists(json, "deviceId") ? void 0 : json["deviceId"],
|
|
2234
3438
|
"deviceType": !exists(json, "deviceType") ? void 0 : json["deviceType"],
|
|
3439
|
+
"channel": !exists(json, "channel") ? void 0 : json["channel"],
|
|
2235
3440
|
"urlParams": !exists(json, "urlParams") ? void 0 : json["urlParams"],
|
|
2236
3441
|
"routeParams": !exists(json, "routeParams") ? void 0 : json["routeParams"],
|
|
2237
3442
|
"customData": !exists(json, "customData") ? void 0 : json["customData"]
|
|
@@ -2247,7 +3452,9 @@ function ResolveContextToJSON(value) {
|
|
|
2247
3452
|
return {
|
|
2248
3453
|
"userId": value.userId,
|
|
2249
3454
|
"sessionId": value.sessionId,
|
|
3455
|
+
"deviceId": value.deviceId,
|
|
2250
3456
|
"deviceType": value.deviceType,
|
|
3457
|
+
"channel": value.channel,
|
|
2251
3458
|
"urlParams": value.urlParams,
|
|
2252
3459
|
"routeParams": value.routeParams,
|
|
2253
3460
|
"customData": value.customData
|
|
@@ -2255,14 +3462,26 @@ function ResolveContextToJSON(value) {
|
|
|
2255
3462
|
}
|
|
2256
3463
|
|
|
2257
3464
|
// src/generated/models/ResolvePage200ResponseDataManifestsActionsInner.ts
|
|
2258
|
-
var
|
|
2259
|
-
|
|
3465
|
+
var ResolvePage200ResponseDataManifestsActionsInnerActionTypeEnum = {
|
|
3466
|
+
CLAIM: "claim",
|
|
3467
|
+
SIGNIN: "signin",
|
|
3468
|
+
LOTTERY: "lottery",
|
|
3469
|
+
RESERVE: "reserve",
|
|
3470
|
+
BIND: "bind",
|
|
3471
|
+
TASK_COMPLETE: "task_complete",
|
|
3472
|
+
VOTE: "vote",
|
|
3473
|
+
SHARE: "share",
|
|
3474
|
+
FORM_SUBMIT: "form_submit",
|
|
3475
|
+
NAVIGATE: "navigate",
|
|
3476
|
+
SET_STATE: "setState",
|
|
3477
|
+
SHOW_TOAST: "showToast",
|
|
3478
|
+
REFRESH_DATA: "refreshData",
|
|
2260
3479
|
CUSTOM: "custom"
|
|
2261
3480
|
};
|
|
2262
3481
|
function instanceOfResolvePage200ResponseDataManifestsActionsInner(value) {
|
|
2263
3482
|
let isInstance = true;
|
|
2264
3483
|
isInstance = isInstance && "actionId" in value;
|
|
2265
|
-
isInstance = isInstance && "
|
|
3484
|
+
isInstance = isInstance && "actionDefinitionVersionId" in value;
|
|
2266
3485
|
return isInstance;
|
|
2267
3486
|
}
|
|
2268
3487
|
function ResolvePage200ResponseDataManifestsActionsInnerFromJSON(json) {
|
|
@@ -2274,8 +3493,9 @@ function ResolvePage200ResponseDataManifestsActionsInnerFromJSONTyped(json, igno
|
|
|
2274
3493
|
}
|
|
2275
3494
|
return {
|
|
2276
3495
|
"actionId": json["actionId"],
|
|
2277
|
-
"
|
|
2278
|
-
"
|
|
3496
|
+
"actionDefinitionVersionId": json["actionDefinitionVersionId"],
|
|
3497
|
+
"actionType": !exists(json, "actionType") ? void 0 : json["actionType"],
|
|
3498
|
+
"builtin": !exists(json, "builtin") ? void 0 : json["builtin"]
|
|
2279
3499
|
};
|
|
2280
3500
|
}
|
|
2281
3501
|
function ResolvePage200ResponseDataManifestsActionsInnerToJSON(value) {
|
|
@@ -2287,8 +3507,9 @@ function ResolvePage200ResponseDataManifestsActionsInnerToJSON(value) {
|
|
|
2287
3507
|
}
|
|
2288
3508
|
return {
|
|
2289
3509
|
"actionId": value.actionId,
|
|
2290
|
-
"
|
|
2291
|
-
"
|
|
3510
|
+
"actionDefinitionVersionId": value.actionDefinitionVersionId,
|
|
3511
|
+
"actionType": value.actionType,
|
|
3512
|
+
"builtin": value.builtin
|
|
2292
3513
|
};
|
|
2293
3514
|
}
|
|
2294
3515
|
|
|
@@ -2311,7 +3532,10 @@ function ResolvePage200ResponseDataManifestsComponentsInnerFromJSONTyped(json, i
|
|
|
2311
3532
|
"componentType": json["componentType"],
|
|
2312
3533
|
"version": json["version"],
|
|
2313
3534
|
"entryUrl": json["entryUrl"],
|
|
2314
|
-
"
|
|
3535
|
+
"styleUrl": !exists(json, "styleUrl") ? void 0 : json["styleUrl"],
|
|
3536
|
+
"integrity": !exists(json, "integrity") ? void 0 : json["integrity"],
|
|
3537
|
+
"blocked": !exists(json, "blocked") ? void 0 : json["blocked"],
|
|
3538
|
+
"fallback": !exists(json, "fallback") ? void 0 : json["fallback"]
|
|
2315
3539
|
};
|
|
2316
3540
|
}
|
|
2317
3541
|
function ResolvePage200ResponseDataManifestsComponentsInnerToJSON(value) {
|
|
@@ -2325,7 +3549,10 @@ function ResolvePage200ResponseDataManifestsComponentsInnerToJSON(value) {
|
|
|
2325
3549
|
"componentType": value.componentType,
|
|
2326
3550
|
"version": value.version,
|
|
2327
3551
|
"entryUrl": value.entryUrl,
|
|
2328
|
-
"
|
|
3552
|
+
"styleUrl": value.styleUrl,
|
|
3553
|
+
"integrity": value.integrity,
|
|
3554
|
+
"blocked": value.blocked,
|
|
3555
|
+
"fallback": value.fallback
|
|
2329
3556
|
};
|
|
2330
3557
|
}
|
|
2331
3558
|
|
|
@@ -2333,7 +3560,7 @@ function ResolvePage200ResponseDataManifestsComponentsInnerToJSON(value) {
|
|
|
2333
3560
|
function instanceOfResolvePage200ResponseDataManifestsQueriesInner(value) {
|
|
2334
3561
|
let isInstance = true;
|
|
2335
3562
|
isInstance = isInstance && "queryId" in value;
|
|
2336
|
-
isInstance = isInstance && "
|
|
3563
|
+
isInstance = isInstance && "queryVersionId" in value;
|
|
2337
3564
|
return isInstance;
|
|
2338
3565
|
}
|
|
2339
3566
|
function ResolvePage200ResponseDataManifestsQueriesInnerFromJSON(json) {
|
|
@@ -2345,7 +3572,7 @@ function ResolvePage200ResponseDataManifestsQueriesInnerFromJSONTyped(json, igno
|
|
|
2345
3572
|
}
|
|
2346
3573
|
return {
|
|
2347
3574
|
"queryId": json["queryId"],
|
|
2348
|
-
"
|
|
3575
|
+
"queryVersionId": json["queryVersionId"],
|
|
2349
3576
|
"cacheTtl": !exists(json, "cacheTtl") ? void 0 : json["cacheTtl"]
|
|
2350
3577
|
};
|
|
2351
3578
|
}
|
|
@@ -2358,30 +3585,62 @@ function ResolvePage200ResponseDataManifestsQueriesInnerToJSON(value) {
|
|
|
2358
3585
|
}
|
|
2359
3586
|
return {
|
|
2360
3587
|
"queryId": value.queryId,
|
|
2361
|
-
"
|
|
3588
|
+
"queryVersionId": value.queryVersionId,
|
|
2362
3589
|
"cacheTtl": value.cacheTtl
|
|
2363
3590
|
};
|
|
2364
3591
|
}
|
|
2365
3592
|
|
|
2366
|
-
// src/generated/models/ResolvePage200ResponseDataManifests.ts
|
|
2367
|
-
function instanceOfResolvePage200ResponseDataManifests(value) {
|
|
3593
|
+
// src/generated/models/ResolvePage200ResponseDataManifests.ts
|
|
3594
|
+
function instanceOfResolvePage200ResponseDataManifests(value) {
|
|
3595
|
+
let isInstance = true;
|
|
3596
|
+
return isInstance;
|
|
3597
|
+
}
|
|
3598
|
+
function ResolvePage200ResponseDataManifestsFromJSON(json) {
|
|
3599
|
+
return ResolvePage200ResponseDataManifestsFromJSONTyped(json, false);
|
|
3600
|
+
}
|
|
3601
|
+
function ResolvePage200ResponseDataManifestsFromJSONTyped(json, ignoreDiscriminator) {
|
|
3602
|
+
if (json === void 0 || json === null) {
|
|
3603
|
+
return json;
|
|
3604
|
+
}
|
|
3605
|
+
return {
|
|
3606
|
+
"components": !exists(json, "components") ? void 0 : json["components"].map(ResolvePage200ResponseDataManifestsComponentsInnerFromJSON),
|
|
3607
|
+
"actions": !exists(json, "actions") ? void 0 : json["actions"].map(ResolvePage200ResponseDataManifestsActionsInnerFromJSON),
|
|
3608
|
+
"queries": !exists(json, "queries") ? void 0 : json["queries"].map(ResolvePage200ResponseDataManifestsQueriesInnerFromJSON)
|
|
3609
|
+
};
|
|
3610
|
+
}
|
|
3611
|
+
function ResolvePage200ResponseDataManifestsToJSON(value) {
|
|
3612
|
+
if (value === void 0) {
|
|
3613
|
+
return void 0;
|
|
3614
|
+
}
|
|
3615
|
+
if (value === null) {
|
|
3616
|
+
return null;
|
|
3617
|
+
}
|
|
3618
|
+
return {
|
|
3619
|
+
"components": value.components === void 0 ? void 0 : value.components.map(ResolvePage200ResponseDataManifestsComponentsInnerToJSON),
|
|
3620
|
+
"actions": value.actions === void 0 ? void 0 : value.actions.map(ResolvePage200ResponseDataManifestsActionsInnerToJSON),
|
|
3621
|
+
"queries": value.queries === void 0 ? void 0 : value.queries.map(ResolvePage200ResponseDataManifestsQueriesInnerToJSON)
|
|
3622
|
+
};
|
|
3623
|
+
}
|
|
3624
|
+
|
|
3625
|
+
// src/generated/models/ResolvePage200ResponseDataOpsConfig.ts
|
|
3626
|
+
function instanceOfResolvePage200ResponseDataOpsConfig(value) {
|
|
2368
3627
|
let isInstance = true;
|
|
2369
3628
|
return isInstance;
|
|
2370
3629
|
}
|
|
2371
|
-
function
|
|
2372
|
-
return
|
|
3630
|
+
function ResolvePage200ResponseDataOpsConfigFromJSON(json) {
|
|
3631
|
+
return ResolvePage200ResponseDataOpsConfigFromJSONTyped(json, false);
|
|
2373
3632
|
}
|
|
2374
|
-
function
|
|
3633
|
+
function ResolvePage200ResponseDataOpsConfigFromJSONTyped(json, ignoreDiscriminator) {
|
|
2375
3634
|
if (json === void 0 || json === null) {
|
|
2376
3635
|
return json;
|
|
2377
3636
|
}
|
|
2378
3637
|
return {
|
|
2379
|
-
"
|
|
2380
|
-
"
|
|
2381
|
-
"
|
|
3638
|
+
"killSwitch": !exists(json, "killSwitch") ? void 0 : json["killSwitch"],
|
|
3639
|
+
"fallbackUrl": !exists(json, "fallbackUrl") ? void 0 : json["fallbackUrl"],
|
|
3640
|
+
"blockedComponents": !exists(json, "blockedComponents") ? void 0 : json["blockedComponents"]
|
|
2382
3641
|
};
|
|
2383
3642
|
}
|
|
2384
|
-
function
|
|
3643
|
+
function ResolvePage200ResponseDataOpsConfigToJSON(value) {
|
|
2385
3644
|
if (value === void 0) {
|
|
2386
3645
|
return void 0;
|
|
2387
3646
|
}
|
|
@@ -2389,9 +3648,9 @@ function ResolvePage200ResponseDataManifestsToJSON(value) {
|
|
|
2389
3648
|
return null;
|
|
2390
3649
|
}
|
|
2391
3650
|
return {
|
|
2392
|
-
"
|
|
2393
|
-
"
|
|
2394
|
-
"
|
|
3651
|
+
"killSwitch": value.killSwitch,
|
|
3652
|
+
"fallbackUrl": value.fallbackUrl,
|
|
3653
|
+
"blockedComponents": value.blockedComponents
|
|
2395
3654
|
};
|
|
2396
3655
|
}
|
|
2397
3656
|
|
|
@@ -2399,7 +3658,7 @@ function ResolvePage200ResponseDataManifestsToJSON(value) {
|
|
|
2399
3658
|
function instanceOfResolvePage200ResponseData(value) {
|
|
2400
3659
|
let isInstance = true;
|
|
2401
3660
|
isInstance = isInstance && "pageId" in value;
|
|
2402
|
-
isInstance = isInstance && "
|
|
3661
|
+
isInstance = isInstance && "pageVersionId" in value;
|
|
2403
3662
|
isInstance = isInstance && "schema" in value;
|
|
2404
3663
|
return isInstance;
|
|
2405
3664
|
}
|
|
@@ -2412,10 +3671,12 @@ function ResolvePage200ResponseDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
2412
3671
|
}
|
|
2413
3672
|
return {
|
|
2414
3673
|
"pageId": json["pageId"],
|
|
2415
|
-
"
|
|
3674
|
+
"pageVersionId": json["pageVersionId"],
|
|
3675
|
+
"schemaVersion": !exists(json, "schemaVersion") ? void 0 : json["schemaVersion"],
|
|
2416
3676
|
"schema": json["schema"],
|
|
2417
3677
|
"manifests": !exists(json, "manifests") ? void 0 : ResolvePage200ResponseDataManifestsFromJSON(json["manifests"]),
|
|
2418
|
-
"prefetchedData": !exists(json, "prefetchedData") ? void 0 : json["prefetchedData"]
|
|
3678
|
+
"prefetchedData": !exists(json, "prefetchedData") ? void 0 : json["prefetchedData"],
|
|
3679
|
+
"opsConfig": !exists(json, "opsConfig") ? void 0 : ResolvePage200ResponseDataOpsConfigFromJSON(json["opsConfig"])
|
|
2419
3680
|
};
|
|
2420
3681
|
}
|
|
2421
3682
|
function ResolvePage200ResponseDataToJSON(value) {
|
|
@@ -2427,10 +3688,12 @@ function ResolvePage200ResponseDataToJSON(value) {
|
|
|
2427
3688
|
}
|
|
2428
3689
|
return {
|
|
2429
3690
|
"pageId": value.pageId,
|
|
2430
|
-
"
|
|
3691
|
+
"pageVersionId": value.pageVersionId,
|
|
3692
|
+
"schemaVersion": value.schemaVersion,
|
|
2431
3693
|
"schema": value.schema,
|
|
2432
3694
|
"manifests": ResolvePage200ResponseDataManifestsToJSON(value.manifests),
|
|
2433
|
-
"prefetchedData": value.prefetchedData
|
|
3695
|
+
"prefetchedData": value.prefetchedData,
|
|
3696
|
+
"opsConfig": ResolvePage200ResponseDataOpsConfigToJSON(value.opsConfig)
|
|
2434
3697
|
};
|
|
2435
3698
|
}
|
|
2436
3699
|
|
|
@@ -2463,6 +3726,53 @@ function ResolvePage200ResponseToJSON(value) {
|
|
|
2463
3726
|
};
|
|
2464
3727
|
}
|
|
2465
3728
|
|
|
3729
|
+
// src/generated/models/ResolvePageRequestContext.ts
|
|
3730
|
+
var ResolvePageRequestContextDeviceTypeEnum = {
|
|
3731
|
+
MOBILE: "mobile",
|
|
3732
|
+
TABLET: "tablet",
|
|
3733
|
+
DESKTOP: "desktop"
|
|
3734
|
+
};
|
|
3735
|
+
function instanceOfResolvePageRequestContext(value) {
|
|
3736
|
+
let isInstance = true;
|
|
3737
|
+
return isInstance;
|
|
3738
|
+
}
|
|
3739
|
+
function ResolvePageRequestContextFromJSON(json) {
|
|
3740
|
+
return ResolvePageRequestContextFromJSONTyped(json, false);
|
|
3741
|
+
}
|
|
3742
|
+
function ResolvePageRequestContextFromJSONTyped(json, ignoreDiscriminator) {
|
|
3743
|
+
if (json === void 0 || json === null) {
|
|
3744
|
+
return json;
|
|
3745
|
+
}
|
|
3746
|
+
return {
|
|
3747
|
+
"userId": !exists(json, "userId") ? void 0 : json["userId"],
|
|
3748
|
+
"sessionId": !exists(json, "sessionId") ? void 0 : json["sessionId"],
|
|
3749
|
+
"deviceId": !exists(json, "deviceId") ? void 0 : json["deviceId"],
|
|
3750
|
+
"deviceType": !exists(json, "deviceType") ? void 0 : json["deviceType"],
|
|
3751
|
+
"channel": !exists(json, "channel") ? void 0 : json["channel"],
|
|
3752
|
+
"urlParams": !exists(json, "urlParams") ? void 0 : json["urlParams"],
|
|
3753
|
+
"routeParams": !exists(json, "routeParams") ? void 0 : json["routeParams"],
|
|
3754
|
+
"customData": !exists(json, "customData") ? void 0 : json["customData"]
|
|
3755
|
+
};
|
|
3756
|
+
}
|
|
3757
|
+
function ResolvePageRequestContextToJSON(value) {
|
|
3758
|
+
if (value === void 0) {
|
|
3759
|
+
return void 0;
|
|
3760
|
+
}
|
|
3761
|
+
if (value === null) {
|
|
3762
|
+
return null;
|
|
3763
|
+
}
|
|
3764
|
+
return {
|
|
3765
|
+
"userId": value.userId,
|
|
3766
|
+
"sessionId": value.sessionId,
|
|
3767
|
+
"deviceId": value.deviceId,
|
|
3768
|
+
"deviceType": value.deviceType,
|
|
3769
|
+
"channel": value.channel,
|
|
3770
|
+
"urlParams": value.urlParams,
|
|
3771
|
+
"routeParams": value.routeParams,
|
|
3772
|
+
"customData": value.customData
|
|
3773
|
+
};
|
|
3774
|
+
}
|
|
3775
|
+
|
|
2466
3776
|
// src/generated/models/ResolvePageRequestOptions.ts
|
|
2467
3777
|
function instanceOfResolvePageRequestOptions(value) {
|
|
2468
3778
|
let isInstance = true;
|
|
@@ -2554,6 +3864,114 @@ function ResolvePageResponseToJSON(value) {
|
|
|
2554
3864
|
};
|
|
2555
3865
|
}
|
|
2556
3866
|
|
|
3867
|
+
// src/generated/models/ResolveTenant200ResponseData.ts
|
|
3868
|
+
var ResolveTenant200ResponseDataStatusEnum = {
|
|
3869
|
+
ACTIVE: "active",
|
|
3870
|
+
SUSPENDED: "suspended",
|
|
3871
|
+
DISABLED: "disabled"
|
|
3872
|
+
};
|
|
3873
|
+
function instanceOfResolveTenant200ResponseData(value) {
|
|
3874
|
+
let isInstance = true;
|
|
3875
|
+
isInstance = isInstance && "appId" in value;
|
|
3876
|
+
isInstance = isInstance && "appName" in value;
|
|
3877
|
+
isInstance = isInstance && "status" in value;
|
|
3878
|
+
return isInstance;
|
|
3879
|
+
}
|
|
3880
|
+
function ResolveTenant200ResponseDataFromJSON(json) {
|
|
3881
|
+
return ResolveTenant200ResponseDataFromJSONTyped(json, false);
|
|
3882
|
+
}
|
|
3883
|
+
function ResolveTenant200ResponseDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
3884
|
+
if (json === void 0 || json === null) {
|
|
3885
|
+
return json;
|
|
3886
|
+
}
|
|
3887
|
+
return {
|
|
3888
|
+
"appId": json["appId"],
|
|
3889
|
+
"appName": json["appName"],
|
|
3890
|
+
"status": json["status"],
|
|
3891
|
+
"workspaceId": !exists(json, "workspaceId") ? void 0 : json["workspaceId"],
|
|
3892
|
+
"cdnDomain": !exists(json, "cdnDomain") ? void 0 : json["cdnDomain"],
|
|
3893
|
+
"apiDomain": !exists(json, "apiDomain") ? void 0 : json["apiDomain"]
|
|
3894
|
+
};
|
|
3895
|
+
}
|
|
3896
|
+
function ResolveTenant200ResponseDataToJSON(value) {
|
|
3897
|
+
if (value === void 0) {
|
|
3898
|
+
return void 0;
|
|
3899
|
+
}
|
|
3900
|
+
if (value === null) {
|
|
3901
|
+
return null;
|
|
3902
|
+
}
|
|
3903
|
+
return {
|
|
3904
|
+
"appId": value.appId,
|
|
3905
|
+
"appName": value.appName,
|
|
3906
|
+
"status": value.status,
|
|
3907
|
+
"workspaceId": value.workspaceId,
|
|
3908
|
+
"cdnDomain": value.cdnDomain,
|
|
3909
|
+
"apiDomain": value.apiDomain
|
|
3910
|
+
};
|
|
3911
|
+
}
|
|
3912
|
+
|
|
3913
|
+
// src/generated/models/ResolveTenant200Response.ts
|
|
3914
|
+
function instanceOfResolveTenant200Response(value) {
|
|
3915
|
+
let isInstance = true;
|
|
3916
|
+
return isInstance;
|
|
3917
|
+
}
|
|
3918
|
+
function ResolveTenant200ResponseFromJSON(json) {
|
|
3919
|
+
return ResolveTenant200ResponseFromJSONTyped(json, false);
|
|
3920
|
+
}
|
|
3921
|
+
function ResolveTenant200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
3922
|
+
if (json === void 0 || json === null) {
|
|
3923
|
+
return json;
|
|
3924
|
+
}
|
|
3925
|
+
return {
|
|
3926
|
+
"success": !exists(json, "success") ? void 0 : json["success"],
|
|
3927
|
+
"data": !exists(json, "data") ? void 0 : ResolveTenant200ResponseDataFromJSON(json["data"])
|
|
3928
|
+
};
|
|
3929
|
+
}
|
|
3930
|
+
function ResolveTenant200ResponseToJSON(value) {
|
|
3931
|
+
if (value === void 0) {
|
|
3932
|
+
return void 0;
|
|
3933
|
+
}
|
|
3934
|
+
if (value === null) {
|
|
3935
|
+
return null;
|
|
3936
|
+
}
|
|
3937
|
+
return {
|
|
3938
|
+
"success": value.success,
|
|
3939
|
+
"data": ResolveTenant200ResponseDataToJSON(value.data)
|
|
3940
|
+
};
|
|
3941
|
+
}
|
|
3942
|
+
|
|
3943
|
+
// src/generated/models/ResolveTenantRequest.ts
|
|
3944
|
+
function instanceOfResolveTenantRequest(value) {
|
|
3945
|
+
let isInstance = true;
|
|
3946
|
+
return isInstance;
|
|
3947
|
+
}
|
|
3948
|
+
function ResolveTenantRequestFromJSON(json) {
|
|
3949
|
+
return ResolveTenantRequestFromJSONTyped(json, false);
|
|
3950
|
+
}
|
|
3951
|
+
function ResolveTenantRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
3952
|
+
if (json === void 0 || json === null) {
|
|
3953
|
+
return json;
|
|
3954
|
+
}
|
|
3955
|
+
return {
|
|
3956
|
+
"appKey": !exists(json, "appKey") ? void 0 : json["appKey"],
|
|
3957
|
+
"host": !exists(json, "host") ? void 0 : json["host"],
|
|
3958
|
+
"channel": !exists(json, "channel") ? void 0 : json["channel"]
|
|
3959
|
+
};
|
|
3960
|
+
}
|
|
3961
|
+
function ResolveTenantRequestToJSON(value) {
|
|
3962
|
+
if (value === void 0) {
|
|
3963
|
+
return void 0;
|
|
3964
|
+
}
|
|
3965
|
+
if (value === null) {
|
|
3966
|
+
return null;
|
|
3967
|
+
}
|
|
3968
|
+
return {
|
|
3969
|
+
"appKey": value.appKey,
|
|
3970
|
+
"host": value.host,
|
|
3971
|
+
"channel": value.channel
|
|
3972
|
+
};
|
|
3973
|
+
}
|
|
3974
|
+
|
|
2557
3975
|
// src/generated/models/ResourceManifests.ts
|
|
2558
3976
|
function instanceOfResourceManifests(value) {
|
|
2559
3977
|
let isInstance = true;
|
|
@@ -2625,6 +4043,90 @@ function SigninCalendarToJSON(value) {
|
|
|
2625
4043
|
};
|
|
2626
4044
|
}
|
|
2627
4045
|
|
|
4046
|
+
// src/generated/models/TenantConfig.ts
|
|
4047
|
+
function instanceOfTenantConfig(value) {
|
|
4048
|
+
let isInstance = true;
|
|
4049
|
+
return isInstance;
|
|
4050
|
+
}
|
|
4051
|
+
function TenantConfigFromJSON(json) {
|
|
4052
|
+
return TenantConfigFromJSONTyped(json, false);
|
|
4053
|
+
}
|
|
4054
|
+
function TenantConfigFromJSONTyped(json, ignoreDiscriminator) {
|
|
4055
|
+
if (json === void 0 || json === null) {
|
|
4056
|
+
return json;
|
|
4057
|
+
}
|
|
4058
|
+
return {
|
|
4059
|
+
"features": !exists(json, "features") ? void 0 : json["features"],
|
|
4060
|
+
"theme": !exists(json, "theme") ? void 0 : json["theme"],
|
|
4061
|
+
"cdnDomain": !exists(json, "cdnDomain") ? void 0 : json["cdnDomain"],
|
|
4062
|
+
"runtimeVersion": !exists(json, "runtimeVersion") ? void 0 : json["runtimeVersion"],
|
|
4063
|
+
"blockedComponents": !exists(json, "blockedComponents") ? void 0 : json["blockedComponents"].map(GetTenantConfig200ResponseDataBlockedComponentsInnerFromJSON),
|
|
4064
|
+
"killSwitch": !exists(json, "killSwitch") ? void 0 : GetTenantConfig200ResponseDataKillSwitchFromJSON(json["killSwitch"])
|
|
4065
|
+
};
|
|
4066
|
+
}
|
|
4067
|
+
function TenantConfigToJSON(value) {
|
|
4068
|
+
if (value === void 0) {
|
|
4069
|
+
return void 0;
|
|
4070
|
+
}
|
|
4071
|
+
if (value === null) {
|
|
4072
|
+
return null;
|
|
4073
|
+
}
|
|
4074
|
+
return {
|
|
4075
|
+
"features": value.features,
|
|
4076
|
+
"theme": value.theme,
|
|
4077
|
+
"cdnDomain": value.cdnDomain,
|
|
4078
|
+
"runtimeVersion": value.runtimeVersion,
|
|
4079
|
+
"blockedComponents": value.blockedComponents === void 0 ? void 0 : value.blockedComponents.map(GetTenantConfig200ResponseDataBlockedComponentsInnerToJSON),
|
|
4080
|
+
"killSwitch": GetTenantConfig200ResponseDataKillSwitchToJSON(value.killSwitch)
|
|
4081
|
+
};
|
|
4082
|
+
}
|
|
4083
|
+
|
|
4084
|
+
// src/generated/models/TenantInfo.ts
|
|
4085
|
+
var TenantInfoStatusEnum = {
|
|
4086
|
+
ACTIVE: "active",
|
|
4087
|
+
SUSPENDED: "suspended",
|
|
4088
|
+
DISABLED: "disabled"
|
|
4089
|
+
};
|
|
4090
|
+
function instanceOfTenantInfo(value) {
|
|
4091
|
+
let isInstance = true;
|
|
4092
|
+
isInstance = isInstance && "appId" in value;
|
|
4093
|
+
isInstance = isInstance && "appName" in value;
|
|
4094
|
+
isInstance = isInstance && "status" in value;
|
|
4095
|
+
return isInstance;
|
|
4096
|
+
}
|
|
4097
|
+
function TenantInfoFromJSON(json) {
|
|
4098
|
+
return TenantInfoFromJSONTyped(json, false);
|
|
4099
|
+
}
|
|
4100
|
+
function TenantInfoFromJSONTyped(json, ignoreDiscriminator) {
|
|
4101
|
+
if (json === void 0 || json === null) {
|
|
4102
|
+
return json;
|
|
4103
|
+
}
|
|
4104
|
+
return {
|
|
4105
|
+
"appId": json["appId"],
|
|
4106
|
+
"appName": json["appName"],
|
|
4107
|
+
"status": json["status"],
|
|
4108
|
+
"workspaceId": !exists(json, "workspaceId") ? void 0 : json["workspaceId"],
|
|
4109
|
+
"cdnDomain": !exists(json, "cdnDomain") ? void 0 : json["cdnDomain"],
|
|
4110
|
+
"apiDomain": !exists(json, "apiDomain") ? void 0 : json["apiDomain"]
|
|
4111
|
+
};
|
|
4112
|
+
}
|
|
4113
|
+
function TenantInfoToJSON(value) {
|
|
4114
|
+
if (value === void 0) {
|
|
4115
|
+
return void 0;
|
|
4116
|
+
}
|
|
4117
|
+
if (value === null) {
|
|
4118
|
+
return null;
|
|
4119
|
+
}
|
|
4120
|
+
return {
|
|
4121
|
+
"appId": value.appId,
|
|
4122
|
+
"appName": value.appName,
|
|
4123
|
+
"status": value.status,
|
|
4124
|
+
"workspaceId": value.workspaceId,
|
|
4125
|
+
"cdnDomain": value.cdnDomain,
|
|
4126
|
+
"apiDomain": value.apiDomain
|
|
4127
|
+
};
|
|
4128
|
+
}
|
|
4129
|
+
|
|
2628
4130
|
// src/generated/models/Track202ResponseData.ts
|
|
2629
4131
|
function instanceOfTrack202ResponseData(value) {
|
|
2630
4132
|
let isInstance = true;
|
|
@@ -2788,10 +4290,11 @@ function TrackRequestContextFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
2788
4290
|
return json;
|
|
2789
4291
|
}
|
|
2790
4292
|
return {
|
|
2791
|
-
"
|
|
2792
|
-
"
|
|
4293
|
+
"pageVersionId": !exists(json, "pageVersionId") ? void 0 : json["pageVersionId"],
|
|
4294
|
+
"componentVersionId": !exists(json, "componentVersionId") ? void 0 : json["componentVersionId"],
|
|
2793
4295
|
"sessionId": !exists(json, "sessionId") ? void 0 : json["sessionId"],
|
|
2794
|
-
"deviceType": !exists(json, "deviceType") ? void 0 : json["deviceType"]
|
|
4296
|
+
"deviceType": !exists(json, "deviceType") ? void 0 : json["deviceType"],
|
|
4297
|
+
"traceId": !exists(json, "traceId") ? void 0 : json["traceId"]
|
|
2795
4298
|
};
|
|
2796
4299
|
}
|
|
2797
4300
|
function TrackRequestContextToJSON(value) {
|
|
@@ -2802,10 +4305,11 @@ function TrackRequestContextToJSON(value) {
|
|
|
2802
4305
|
return null;
|
|
2803
4306
|
}
|
|
2804
4307
|
return {
|
|
2805
|
-
"
|
|
2806
|
-
"
|
|
4308
|
+
"pageVersionId": value.pageVersionId,
|
|
4309
|
+
"componentVersionId": value.componentVersionId,
|
|
2807
4310
|
"sessionId": value.sessionId,
|
|
2808
|
-
"deviceType": value.deviceType
|
|
4311
|
+
"deviceType": value.deviceType,
|
|
4312
|
+
"traceId": value.traceId
|
|
2809
4313
|
};
|
|
2810
4314
|
}
|
|
2811
4315
|
|
|
@@ -2939,7 +4443,8 @@ function ValidateActionParams200ResponseDataErrorsInnerFromJSONTyped(json, ignor
|
|
|
2939
4443
|
}
|
|
2940
4444
|
return {
|
|
2941
4445
|
"path": !exists(json, "path") ? void 0 : json["path"],
|
|
2942
|
-
"message": !exists(json, "message") ? void 0 : json["message"]
|
|
4446
|
+
"message": !exists(json, "message") ? void 0 : json["message"],
|
|
4447
|
+
"code": !exists(json, "code") ? void 0 : json["code"]
|
|
2943
4448
|
};
|
|
2944
4449
|
}
|
|
2945
4450
|
function ValidateActionParams200ResponseDataErrorsInnerToJSON(value) {
|
|
@@ -2951,7 +4456,8 @@ function ValidateActionParams200ResponseDataErrorsInnerToJSON(value) {
|
|
|
2951
4456
|
}
|
|
2952
4457
|
return {
|
|
2953
4458
|
"path": value.path,
|
|
2954
|
-
"message": value.message
|
|
4459
|
+
"message": value.message,
|
|
4460
|
+
"code": value.code
|
|
2955
4461
|
};
|
|
2956
4462
|
}
|
|
2957
4463
|
|
|
@@ -3018,6 +4524,7 @@ function ValidateActionParams200ResponseToJSON(value) {
|
|
|
3018
4524
|
// src/generated/models/ValidateActionParamsRequest.ts
|
|
3019
4525
|
function instanceOfValidateActionParamsRequest(value) {
|
|
3020
4526
|
let isInstance = true;
|
|
4527
|
+
isInstance = isInstance && "actionType" in value;
|
|
3021
4528
|
isInstance = isInstance && "params" in value;
|
|
3022
4529
|
return isInstance;
|
|
3023
4530
|
}
|
|
@@ -3029,6 +4536,8 @@ function ValidateActionParamsRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
3029
4536
|
return json;
|
|
3030
4537
|
}
|
|
3031
4538
|
return {
|
|
4539
|
+
"actionType": json["actionType"],
|
|
4540
|
+
"actionDefinitionVersionId": !exists(json, "actionDefinitionVersionId") ? void 0 : json["actionDefinitionVersionId"],
|
|
3032
4541
|
"params": json["params"]
|
|
3033
4542
|
};
|
|
3034
4543
|
}
|
|
@@ -3040,6 +4549,8 @@ function ValidateActionParamsRequestToJSON(value) {
|
|
|
3040
4549
|
return null;
|
|
3041
4550
|
}
|
|
3042
4551
|
return {
|
|
4552
|
+
"actionType": value.actionType,
|
|
4553
|
+
"actionDefinitionVersionId": value.actionDefinitionVersionId,
|
|
3043
4554
|
"params": value.params
|
|
3044
4555
|
};
|
|
3045
4556
|
}
|
|
@@ -3047,6 +4558,7 @@ function ValidateActionParamsRequestToJSON(value) {
|
|
|
3047
4558
|
// src/generated/models/ValidateActionRequest.ts
|
|
3048
4559
|
function instanceOfValidateActionRequest(value) {
|
|
3049
4560
|
let isInstance = true;
|
|
4561
|
+
isInstance = isInstance && "actionType" in value;
|
|
3050
4562
|
isInstance = isInstance && "params" in value;
|
|
3051
4563
|
return isInstance;
|
|
3052
4564
|
}
|
|
@@ -3058,6 +4570,8 @@ function ValidateActionRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
3058
4570
|
return json;
|
|
3059
4571
|
}
|
|
3060
4572
|
return {
|
|
4573
|
+
"actionType": json["actionType"],
|
|
4574
|
+
"actionDefinitionVersionId": !exists(json, "actionDefinitionVersionId") ? void 0 : json["actionDefinitionVersionId"],
|
|
3061
4575
|
"params": json["params"]
|
|
3062
4576
|
};
|
|
3063
4577
|
}
|
|
@@ -3069,6 +4583,8 @@ function ValidateActionRequestToJSON(value) {
|
|
|
3069
4583
|
return null;
|
|
3070
4584
|
}
|
|
3071
4585
|
return {
|
|
4586
|
+
"actionType": value.actionType,
|
|
4587
|
+
"actionDefinitionVersionId": value.actionDefinitionVersionId,
|
|
3072
4588
|
"params": value.params
|
|
3073
4589
|
};
|
|
3074
4590
|
}
|
|
@@ -3105,13 +4621,10 @@ function ValidateActionResponseToJSON(value) {
|
|
|
3105
4621
|
// src/generated/apis/ActionsApi.ts
|
|
3106
4622
|
var ActionsApi = class extends BaseAPI {
|
|
3107
4623
|
/**
|
|
3108
|
-
*
|
|
3109
|
-
*
|
|
4624
|
+
* Action Gateway 唯一入口,所有业务动作都通过此接口执行。 执行流程(Pipeline): 1. Auth(登录态/票据/签名) 2. Risk(限流、黑名单、设备指纹、验证码开关) 3. Idempotency(幂等键检查) 4. Execute(执行器:Claim/Signin/Lottery...) 5. Audit(审计落库 + outbox) 6. Normalize(统一错误码/返回) 支持的动作类型: - claim: 领取 - signin: 签到 - lottery: 抽奖 - reserve: 预约 - bind: 绑定 - task_complete: 任务完成 - vote: 投票 - share: 分享 - form_submit: 表单提交 - navigate: 页面跳转(内置) - setState: 状态更新(内置) - showToast: 提示消息(内置) - custom: 自定义动作
|
|
4625
|
+
* 执行动作(统一入口)
|
|
3110
4626
|
*/
|
|
3111
4627
|
async executeActionRaw(requestParameters, initOverrides) {
|
|
3112
|
-
if (requestParameters.actionId === null || requestParameters.actionId === void 0) {
|
|
3113
|
-
throw new RequiredError("actionId", "Required parameter requestParameters.actionId was null or undefined when calling executeAction.");
|
|
3114
|
-
}
|
|
3115
4628
|
if (requestParameters.executeActionRequest === null || requestParameters.executeActionRequest === void 0) {
|
|
3116
4629
|
throw new RequiredError("executeActionRequest", "Required parameter requestParameters.executeActionRequest was null or undefined when calling executeAction.");
|
|
3117
4630
|
}
|
|
@@ -3129,7 +4642,7 @@ var ActionsApi = class extends BaseAPI {
|
|
|
3129
4642
|
}
|
|
3130
4643
|
}
|
|
3131
4644
|
const response = await this.request({
|
|
3132
|
-
path: `/actions/
|
|
4645
|
+
path: `/actions/execute`,
|
|
3133
4646
|
method: "POST",
|
|
3134
4647
|
headers: headerParameters,
|
|
3135
4648
|
query: queryParameters,
|
|
@@ -3138,21 +4651,57 @@ var ActionsApi = class extends BaseAPI {
|
|
|
3138
4651
|
return new JSONApiResponse(response, (jsonValue) => ExecuteAction200ResponseFromJSON(jsonValue));
|
|
3139
4652
|
}
|
|
3140
4653
|
/**
|
|
3141
|
-
*
|
|
3142
|
-
*
|
|
4654
|
+
* Action Gateway 唯一入口,所有业务动作都通过此接口执行。 执行流程(Pipeline): 1. Auth(登录态/票据/签名) 2. Risk(限流、黑名单、设备指纹、验证码开关) 3. Idempotency(幂等键检查) 4. Execute(执行器:Claim/Signin/Lottery...) 5. Audit(审计落库 + outbox) 6. Normalize(统一错误码/返回) 支持的动作类型: - claim: 领取 - signin: 签到 - lottery: 抽奖 - reserve: 预约 - bind: 绑定 - task_complete: 任务完成 - vote: 投票 - share: 分享 - form_submit: 表单提交 - navigate: 页面跳转(内置) - setState: 状态更新(内置) - showToast: 提示消息(内置) - custom: 自定义动作
|
|
4655
|
+
* 执行动作(统一入口)
|
|
3143
4656
|
*/
|
|
3144
4657
|
async executeAction(requestParameters, initOverrides) {
|
|
3145
4658
|
const response = await this.executeActionRaw(requestParameters, initOverrides);
|
|
3146
4659
|
return await response.value();
|
|
3147
4660
|
}
|
|
3148
4661
|
/**
|
|
3149
|
-
*
|
|
4662
|
+
* 获取指定动作定义版本的详细信息(用于 Runtime 渲染动作配置)
|
|
4663
|
+
* 获取动作定义
|
|
4664
|
+
*/
|
|
4665
|
+
async getActionDefinitionRaw(requestParameters, initOverrides) {
|
|
4666
|
+
if (requestParameters.actionDefinitionVersionId === null || requestParameters.actionDefinitionVersionId === void 0) {
|
|
4667
|
+
throw new RequiredError("actionDefinitionVersionId", "Required parameter requestParameters.actionDefinitionVersionId was null or undefined when calling getActionDefinition.");
|
|
4668
|
+
}
|
|
4669
|
+
const queryParameters = {};
|
|
4670
|
+
if (requestParameters.actionDefinitionVersionId !== void 0) {
|
|
4671
|
+
queryParameters["actionDefinitionVersionId"] = requestParameters.actionDefinitionVersionId;
|
|
4672
|
+
}
|
|
4673
|
+
const headerParameters = {};
|
|
4674
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
4675
|
+
headerParameters["X-API-Key"] = this.configuration.apiKey("X-API-Key");
|
|
4676
|
+
}
|
|
4677
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
4678
|
+
const token = this.configuration.accessToken;
|
|
4679
|
+
const tokenString = await token("BearerAuth", []);
|
|
4680
|
+
if (tokenString) {
|
|
4681
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
4682
|
+
}
|
|
4683
|
+
}
|
|
4684
|
+
const response = await this.request({
|
|
4685
|
+
path: `/actions/definitions`,
|
|
4686
|
+
method: "GET",
|
|
4687
|
+
headers: headerParameters,
|
|
4688
|
+
query: queryParameters
|
|
4689
|
+
}, initOverrides);
|
|
4690
|
+
return new JSONApiResponse(response, (jsonValue) => GetActionDefinition200ResponseFromJSON(jsonValue));
|
|
4691
|
+
}
|
|
4692
|
+
/**
|
|
4693
|
+
* 获取指定动作定义版本的详细信息(用于 Runtime 渲染动作配置)
|
|
4694
|
+
* 获取动作定义
|
|
4695
|
+
*/
|
|
4696
|
+
async getActionDefinition(requestParameters, initOverrides) {
|
|
4697
|
+
const response = await this.getActionDefinitionRaw(requestParameters, initOverrides);
|
|
4698
|
+
return await response.value();
|
|
4699
|
+
}
|
|
4700
|
+
/**
|
|
4701
|
+
* 验证动作参数是否符合 Schema 定义(不执行动作)。 用于前端表单提交前的预校验。
|
|
3150
4702
|
* 验证动作参数
|
|
3151
4703
|
*/
|
|
3152
4704
|
async validateActionParamsRaw(requestParameters, initOverrides) {
|
|
3153
|
-
if (requestParameters.actionId === null || requestParameters.actionId === void 0) {
|
|
3154
|
-
throw new RequiredError("actionId", "Required parameter requestParameters.actionId was null or undefined when calling validateActionParams.");
|
|
3155
|
-
}
|
|
3156
4705
|
if (requestParameters.validateActionParamsRequest === null || requestParameters.validateActionParamsRequest === void 0) {
|
|
3157
4706
|
throw new RequiredError("validateActionParamsRequest", "Required parameter requestParameters.validateActionParamsRequest was null or undefined when calling validateActionParams.");
|
|
3158
4707
|
}
|
|
@@ -3170,7 +4719,7 @@ var ActionsApi = class extends BaseAPI {
|
|
|
3170
4719
|
}
|
|
3171
4720
|
}
|
|
3172
4721
|
const response = await this.request({
|
|
3173
|
-
path: `/actions/
|
|
4722
|
+
path: `/actions/validate`,
|
|
3174
4723
|
method: "POST",
|
|
3175
4724
|
headers: headerParameters,
|
|
3176
4725
|
query: queryParameters,
|
|
@@ -3179,7 +4728,7 @@ var ActionsApi = class extends BaseAPI {
|
|
|
3179
4728
|
return new JSONApiResponse(response, (jsonValue) => ValidateActionParams200ResponseFromJSON(jsonValue));
|
|
3180
4729
|
}
|
|
3181
4730
|
/**
|
|
3182
|
-
* 验证动作参数是否符合 Schema
|
|
4731
|
+
* 验证动作参数是否符合 Schema 定义(不执行动作)。 用于前端表单提交前的预校验。
|
|
3183
4732
|
* 验证动作参数
|
|
3184
4733
|
*/
|
|
3185
4734
|
async validateActionParams(requestParameters, initOverrides) {
|
|
@@ -3452,15 +5001,89 @@ var PagesApi = class extends BaseAPI {
|
|
|
3452
5001
|
// src/generated/apis/QueriesApi.ts
|
|
3453
5002
|
var QueriesApi = class extends BaseAPI {
|
|
3454
5003
|
/**
|
|
3455
|
-
*
|
|
3456
|
-
*
|
|
5004
|
+
* 批量执行多个数据查询,用于页面初始化时预取多个数据源。 所有查询并行执行,部分失败不影响其他查询返回。
|
|
5005
|
+
* 批量执行数据查询
|
|
5006
|
+
*/
|
|
5007
|
+
async batchQueryDataRaw(requestParameters, initOverrides) {
|
|
5008
|
+
if (requestParameters.batchQueryDataRequest === null || requestParameters.batchQueryDataRequest === void 0) {
|
|
5009
|
+
throw new RequiredError("batchQueryDataRequest", "Required parameter requestParameters.batchQueryDataRequest was null or undefined when calling batchQueryData.");
|
|
5010
|
+
}
|
|
5011
|
+
const queryParameters = {};
|
|
5012
|
+
const headerParameters = {};
|
|
5013
|
+
headerParameters["Content-Type"] = "application/json";
|
|
5014
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
5015
|
+
headerParameters["X-API-Key"] = this.configuration.apiKey("X-API-Key");
|
|
5016
|
+
}
|
|
5017
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
5018
|
+
const token = this.configuration.accessToken;
|
|
5019
|
+
const tokenString = await token("BearerAuth", []);
|
|
5020
|
+
if (tokenString) {
|
|
5021
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
5022
|
+
}
|
|
5023
|
+
}
|
|
5024
|
+
const response = await this.request({
|
|
5025
|
+
path: `/data/query/batch`,
|
|
5026
|
+
method: "POST",
|
|
5027
|
+
headers: headerParameters,
|
|
5028
|
+
query: queryParameters,
|
|
5029
|
+
body: BatchQueryDataRequestToJSON(requestParameters.batchQueryDataRequest)
|
|
5030
|
+
}, initOverrides);
|
|
5031
|
+
return new JSONApiResponse(response, (jsonValue) => BatchQueryData200ResponseFromJSON(jsonValue));
|
|
5032
|
+
}
|
|
5033
|
+
/**
|
|
5034
|
+
* 批量执行多个数据查询,用于页面初始化时预取多个数据源。 所有查询并行执行,部分失败不影响其他查询返回。
|
|
5035
|
+
* 批量执行数据查询
|
|
5036
|
+
*/
|
|
5037
|
+
async batchQueryData(requestParameters, initOverrides) {
|
|
5038
|
+
const response = await this.batchQueryDataRaw(requestParameters, initOverrides);
|
|
5039
|
+
return await response.value();
|
|
5040
|
+
}
|
|
5041
|
+
/**
|
|
5042
|
+
* 获取指定数据查询定义版本的详细信息
|
|
5043
|
+
* 获取查询定义
|
|
3457
5044
|
*/
|
|
3458
|
-
async
|
|
3459
|
-
if (requestParameters.
|
|
3460
|
-
throw new RequiredError("
|
|
5045
|
+
async getQueryDefinitionRaw(requestParameters, initOverrides) {
|
|
5046
|
+
if (requestParameters.queryVersionId === null || requestParameters.queryVersionId === void 0) {
|
|
5047
|
+
throw new RequiredError("queryVersionId", "Required parameter requestParameters.queryVersionId was null or undefined when calling getQueryDefinition.");
|
|
5048
|
+
}
|
|
5049
|
+
const queryParameters = {};
|
|
5050
|
+
if (requestParameters.queryVersionId !== void 0) {
|
|
5051
|
+
queryParameters["queryVersionId"] = requestParameters.queryVersionId;
|
|
5052
|
+
}
|
|
5053
|
+
const headerParameters = {};
|
|
5054
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
5055
|
+
headerParameters["X-API-Key"] = this.configuration.apiKey("X-API-Key");
|
|
5056
|
+
}
|
|
5057
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
5058
|
+
const token = this.configuration.accessToken;
|
|
5059
|
+
const tokenString = await token("BearerAuth", []);
|
|
5060
|
+
if (tokenString) {
|
|
5061
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
5062
|
+
}
|
|
3461
5063
|
}
|
|
3462
|
-
|
|
3463
|
-
|
|
5064
|
+
const response = await this.request({
|
|
5065
|
+
path: `/data/definitions`,
|
|
5066
|
+
method: "GET",
|
|
5067
|
+
headers: headerParameters,
|
|
5068
|
+
query: queryParameters
|
|
5069
|
+
}, initOverrides);
|
|
5070
|
+
return new JSONApiResponse(response, (jsonValue) => GetQueryDefinition200ResponseFromJSON(jsonValue));
|
|
5071
|
+
}
|
|
5072
|
+
/**
|
|
5073
|
+
* 获取指定数据查询定义版本的详细信息
|
|
5074
|
+
* 获取查询定义
|
|
5075
|
+
*/
|
|
5076
|
+
async getQueryDefinition(requestParameters, initOverrides) {
|
|
5077
|
+
const response = await this.getQueryDefinitionRaw(requestParameters, initOverrides);
|
|
5078
|
+
return await response.value();
|
|
5079
|
+
}
|
|
5080
|
+
/**
|
|
5081
|
+
* Data Proxy 统一入口,所有数据查询都通过此接口执行。 功能: - 白名单校验(queryVersionId 属于该 app/workspace) - 字段裁剪、脱敏 - 缓存(短 TTL) - 失败降级(兜底结构) - 审计(可选,或采样) 支持的数据源类型: - http: HTTP 接口 - graphql: GraphQL 查询 - database: 数据库查询(受限) - internal: 内部服务 - aggregation: 聚合查询
|
|
5082
|
+
* 执行数据查询(Data Proxy 统一入口)
|
|
5083
|
+
*/
|
|
5084
|
+
async queryDataRaw(requestParameters, initOverrides) {
|
|
5085
|
+
if (requestParameters.queryDataRequest === null || requestParameters.queryDataRequest === void 0) {
|
|
5086
|
+
throw new RequiredError("queryDataRequest", "Required parameter requestParameters.queryDataRequest was null or undefined when calling queryData.");
|
|
3464
5087
|
}
|
|
3465
5088
|
const queryParameters = {};
|
|
3466
5089
|
const headerParameters = {};
|
|
@@ -3476,20 +5099,20 @@ var QueriesApi = class extends BaseAPI {
|
|
|
3476
5099
|
}
|
|
3477
5100
|
}
|
|
3478
5101
|
const response = await this.request({
|
|
3479
|
-
path: `/
|
|
5102
|
+
path: `/data/query`,
|
|
3480
5103
|
method: "POST",
|
|
3481
5104
|
headers: headerParameters,
|
|
3482
5105
|
query: queryParameters,
|
|
3483
|
-
body:
|
|
5106
|
+
body: QueryDataRequestToJSON(requestParameters.queryDataRequest)
|
|
3484
5107
|
}, initOverrides);
|
|
3485
|
-
return new JSONApiResponse(response, (jsonValue) =>
|
|
5108
|
+
return new JSONApiResponse(response, (jsonValue) => QueryData200ResponseFromJSON(jsonValue));
|
|
3486
5109
|
}
|
|
3487
5110
|
/**
|
|
3488
|
-
*
|
|
3489
|
-
*
|
|
5111
|
+
* Data Proxy 统一入口,所有数据查询都通过此接口执行。 功能: - 白名单校验(queryVersionId 属于该 app/workspace) - 字段裁剪、脱敏 - 缓存(短 TTL) - 失败降级(兜底结构) - 审计(可选,或采样) 支持的数据源类型: - http: HTTP 接口 - graphql: GraphQL 查询 - database: 数据库查询(受限) - internal: 内部服务 - aggregation: 聚合查询
|
|
5112
|
+
* 执行数据查询(Data Proxy 统一入口)
|
|
3490
5113
|
*/
|
|
3491
|
-
async
|
|
3492
|
-
const response = await this.
|
|
5114
|
+
async queryData(requestParameters, initOverrides) {
|
|
5115
|
+
const response = await this.queryDataRaw(requestParameters, initOverrides);
|
|
3493
5116
|
return await response.value();
|
|
3494
5117
|
}
|
|
3495
5118
|
};
|
|
@@ -3640,18 +5263,42 @@ var VERSION = "2.0.0";
|
|
|
3640
5263
|
ActionContextFromJSON,
|
|
3641
5264
|
ActionContextFromJSONTyped,
|
|
3642
5265
|
ActionContextToJSON,
|
|
5266
|
+
ActionDefinitionResponseFromJSON,
|
|
5267
|
+
ActionDefinitionResponseFromJSONTyped,
|
|
5268
|
+
ActionDefinitionResponseToJSON,
|
|
3643
5269
|
ActionEffectFromJSON,
|
|
3644
5270
|
ActionEffectFromJSONTyped,
|
|
3645
5271
|
ActionEffectToJSON,
|
|
3646
5272
|
ActionEffectTypeEnum,
|
|
5273
|
+
ActionManifestActionTypeEnum,
|
|
3647
5274
|
ActionManifestFromJSON,
|
|
3648
5275
|
ActionManifestFromJSONTyped,
|
|
3649
5276
|
ActionManifestToJSON,
|
|
3650
|
-
ActionManifestTypeEnum,
|
|
3651
5277
|
ActionsApi,
|
|
3652
5278
|
ActivitiesApi,
|
|
3653
5279
|
ApiError,
|
|
3654
5280
|
BaseAPI,
|
|
5281
|
+
BatchQueryData200ResponseDataValueErrorFromJSON,
|
|
5282
|
+
BatchQueryData200ResponseDataValueErrorFromJSONTyped,
|
|
5283
|
+
BatchQueryData200ResponseDataValueErrorToJSON,
|
|
5284
|
+
BatchQueryData200ResponseDataValueFromJSON,
|
|
5285
|
+
BatchQueryData200ResponseDataValueFromJSONTyped,
|
|
5286
|
+
BatchQueryData200ResponseDataValueToJSON,
|
|
5287
|
+
BatchQueryData200ResponseFromJSON,
|
|
5288
|
+
BatchQueryData200ResponseFromJSONTyped,
|
|
5289
|
+
BatchQueryData200ResponseToJSON,
|
|
5290
|
+
BatchQueryDataRequestFromJSON,
|
|
5291
|
+
BatchQueryDataRequestFromJSONTyped,
|
|
5292
|
+
BatchQueryDataRequestQueriesInnerFromJSON,
|
|
5293
|
+
BatchQueryDataRequestQueriesInnerFromJSONTyped,
|
|
5294
|
+
BatchQueryDataRequestQueriesInnerToJSON,
|
|
5295
|
+
BatchQueryDataRequestToJSON,
|
|
5296
|
+
BatchQueryRequestFromJSON,
|
|
5297
|
+
BatchQueryRequestFromJSONTyped,
|
|
5298
|
+
BatchQueryRequestToJSON,
|
|
5299
|
+
BatchQueryResponseFromJSON,
|
|
5300
|
+
BatchQueryResponseFromJSONTyped,
|
|
5301
|
+
BatchQueryResponseToJSON,
|
|
3655
5302
|
ClaimRecordInfoFromJSON,
|
|
3656
5303
|
ClaimRecordInfoFromJSONTyped,
|
|
3657
5304
|
ClaimRecordInfoStatusEnum,
|
|
@@ -3672,7 +5319,17 @@ var VERSION = "2.0.0";
|
|
|
3672
5319
|
ExecuteAction200ResponseDataToJSON,
|
|
3673
5320
|
ExecuteAction200ResponseFromJSON,
|
|
3674
5321
|
ExecuteAction200ResponseFromJSONTyped,
|
|
5322
|
+
ExecuteAction200ResponseMetaFromJSON,
|
|
5323
|
+
ExecuteAction200ResponseMetaFromJSONTyped,
|
|
5324
|
+
ExecuteAction200ResponseMetaToJSON,
|
|
3675
5325
|
ExecuteAction200ResponseToJSON,
|
|
5326
|
+
ExecuteAction409ResponseDataFromJSON,
|
|
5327
|
+
ExecuteAction409ResponseDataFromJSONTyped,
|
|
5328
|
+
ExecuteAction409ResponseDataToJSON,
|
|
5329
|
+
ExecuteAction409ResponseFromJSON,
|
|
5330
|
+
ExecuteAction409ResponseFromJSONTyped,
|
|
5331
|
+
ExecuteAction409ResponseToJSON,
|
|
5332
|
+
ExecuteActionRequestActionTypeEnum,
|
|
3676
5333
|
ExecuteActionRequestContextFromJSON,
|
|
3677
5334
|
ExecuteActionRequestContextFromJSONTyped,
|
|
3678
5335
|
ExecuteActionRequestContextToJSON,
|
|
@@ -3685,25 +5342,13 @@ var VERSION = "2.0.0";
|
|
|
3685
5342
|
ExecuteActionResponseFromJSON,
|
|
3686
5343
|
ExecuteActionResponseFromJSONTyped,
|
|
3687
5344
|
ExecuteActionResponseToJSON,
|
|
3688
|
-
ExecuteQuery200ResponseFromJSON,
|
|
3689
|
-
ExecuteQuery200ResponseFromJSONTyped,
|
|
3690
|
-
ExecuteQuery200ResponseMetaFromJSON,
|
|
3691
|
-
ExecuteQuery200ResponseMetaFromJSONTyped,
|
|
3692
|
-
ExecuteQuery200ResponseMetaPaginationFromJSON,
|
|
3693
|
-
ExecuteQuery200ResponseMetaPaginationFromJSONTyped,
|
|
3694
|
-
ExecuteQuery200ResponseMetaPaginationToJSON,
|
|
3695
|
-
ExecuteQuery200ResponseMetaToJSON,
|
|
3696
|
-
ExecuteQuery200ResponseToJSON,
|
|
3697
|
-
ExecuteQueryRequestFromJSON,
|
|
3698
|
-
ExecuteQueryRequestFromJSONTyped,
|
|
3699
|
-
ExecuteQueryRequestOptionsFromJSON,
|
|
3700
|
-
ExecuteQueryRequestOptionsFromJSONTyped,
|
|
3701
|
-
ExecuteQueryRequestOptionsToJSON,
|
|
3702
|
-
ExecuteQueryRequestToJSON,
|
|
3703
|
-
ExecuteQueryResponseFromJSON,
|
|
3704
|
-
ExecuteQueryResponseFromJSONTyped,
|
|
3705
|
-
ExecuteQueryResponseToJSON,
|
|
3706
5345
|
FetchError,
|
|
5346
|
+
GetActionDefinition200ResponseDataFromJSON,
|
|
5347
|
+
GetActionDefinition200ResponseDataFromJSONTyped,
|
|
5348
|
+
GetActionDefinition200ResponseDataToJSON,
|
|
5349
|
+
GetActionDefinition200ResponseFromJSON,
|
|
5350
|
+
GetActionDefinition200ResponseFromJSONTyped,
|
|
5351
|
+
GetActionDefinition200ResponseToJSON,
|
|
3707
5352
|
GetActivityInfo200ResponseDataFromJSON,
|
|
3708
5353
|
GetActivityInfo200ResponseDataFromJSONTyped,
|
|
3709
5354
|
GetActivityInfo200ResponseDataRewardsInnerFromJSON,
|
|
@@ -3754,6 +5399,12 @@ var VERSION = "2.0.0";
|
|
|
3754
5399
|
GetPage404ResponseFromJSON,
|
|
3755
5400
|
GetPage404ResponseFromJSONTyped,
|
|
3756
5401
|
GetPage404ResponseToJSON,
|
|
5402
|
+
GetQueryDefinition200ResponseDataFromJSON,
|
|
5403
|
+
GetQueryDefinition200ResponseDataFromJSONTyped,
|
|
5404
|
+
GetQueryDefinition200ResponseDataToJSON,
|
|
5405
|
+
GetQueryDefinition200ResponseFromJSON,
|
|
5406
|
+
GetQueryDefinition200ResponseFromJSONTyped,
|
|
5407
|
+
GetQueryDefinition200ResponseToJSON,
|
|
3757
5408
|
GetSigninCalendar200ResponseDataFromJSON,
|
|
3758
5409
|
GetSigninCalendar200ResponseDataFromJSONTyped,
|
|
3759
5410
|
GetSigninCalendar200ResponseDataRecordsInnerFromJSON,
|
|
@@ -3766,12 +5417,45 @@ var VERSION = "2.0.0";
|
|
|
3766
5417
|
GetSigninCalendar200ResponseFromJSON,
|
|
3767
5418
|
GetSigninCalendar200ResponseFromJSONTyped,
|
|
3768
5419
|
GetSigninCalendar200ResponseToJSON,
|
|
5420
|
+
GetTenantConfig200ResponseDataBlockedComponentsInnerFromJSON,
|
|
5421
|
+
GetTenantConfig200ResponseDataBlockedComponentsInnerFromJSONTyped,
|
|
5422
|
+
GetTenantConfig200ResponseDataBlockedComponentsInnerToJSON,
|
|
5423
|
+
GetTenantConfig200ResponseDataFromJSON,
|
|
5424
|
+
GetTenantConfig200ResponseDataFromJSONTyped,
|
|
5425
|
+
GetTenantConfig200ResponseDataKillSwitchFromJSON,
|
|
5426
|
+
GetTenantConfig200ResponseDataKillSwitchFromJSONTyped,
|
|
5427
|
+
GetTenantConfig200ResponseDataKillSwitchToJSON,
|
|
5428
|
+
GetTenantConfig200ResponseDataToJSON,
|
|
5429
|
+
GetTenantConfig200ResponseFromJSON,
|
|
5430
|
+
GetTenantConfig200ResponseFromJSONTyped,
|
|
5431
|
+
GetTenantConfig200ResponseToJSON,
|
|
5432
|
+
HealthCheck200ResponseDependenciesValueFromJSON,
|
|
5433
|
+
HealthCheck200ResponseDependenciesValueFromJSONTyped,
|
|
5434
|
+
HealthCheck200ResponseDependenciesValueStatusEnum,
|
|
5435
|
+
HealthCheck200ResponseDependenciesValueToJSON,
|
|
5436
|
+
HealthCheck200ResponseFromJSON,
|
|
5437
|
+
HealthCheck200ResponseFromJSONTyped,
|
|
5438
|
+
HealthCheck200ResponseStatusEnum,
|
|
5439
|
+
HealthCheck200ResponseToJSON,
|
|
5440
|
+
HealthResponseFromJSON,
|
|
5441
|
+
HealthResponseFromJSONTyped,
|
|
5442
|
+
HealthResponseStatusEnum,
|
|
5443
|
+
HealthResponseToJSON,
|
|
5444
|
+
IdempotencyConflictResponseFromJSON,
|
|
5445
|
+
IdempotencyConflictResponseFromJSONTyped,
|
|
5446
|
+
IdempotencyConflictResponseToJSON,
|
|
5447
|
+
LivenessCheck200ResponseFromJSON,
|
|
5448
|
+
LivenessCheck200ResponseFromJSONTyped,
|
|
5449
|
+
LivenessCheck200ResponseToJSON,
|
|
3769
5450
|
LotteryRecordInfoFromJSON,
|
|
3770
5451
|
LotteryRecordInfoFromJSONTyped,
|
|
3771
5452
|
LotteryRecordInfoPrizeTypeEnum,
|
|
3772
5453
|
LotteryRecordInfoStatusEnum,
|
|
3773
5454
|
LotteryRecordInfoToJSON,
|
|
3774
5455
|
NetworkError,
|
|
5456
|
+
OpsConfigFromJSON,
|
|
5457
|
+
OpsConfigFromJSONTyped,
|
|
5458
|
+
OpsConfigToJSON,
|
|
3775
5459
|
PageResponseFromJSON,
|
|
3776
5460
|
PageResponseFromJSONTyped,
|
|
3777
5461
|
PageResponseToJSON,
|
|
@@ -3785,9 +5469,42 @@ var VERSION = "2.0.0";
|
|
|
3785
5469
|
PublicActivityInfoToJSON,
|
|
3786
5470
|
PublicActivityInfoTypeEnum,
|
|
3787
5471
|
QueriesApi,
|
|
5472
|
+
QueryContextFromJSON,
|
|
5473
|
+
QueryContextFromJSONTyped,
|
|
5474
|
+
QueryContextToJSON,
|
|
5475
|
+
QueryData200ResponseFromJSON,
|
|
5476
|
+
QueryData200ResponseFromJSONTyped,
|
|
5477
|
+
QueryData200ResponseMetaFromJSON,
|
|
5478
|
+
QueryData200ResponseMetaFromJSONTyped,
|
|
5479
|
+
QueryData200ResponseMetaPaginationFromJSON,
|
|
5480
|
+
QueryData200ResponseMetaPaginationFromJSONTyped,
|
|
5481
|
+
QueryData200ResponseMetaPaginationToJSON,
|
|
5482
|
+
QueryData200ResponseMetaToJSON,
|
|
5483
|
+
QueryData200ResponseToJSON,
|
|
5484
|
+
QueryDataRequestContextFromJSON,
|
|
5485
|
+
QueryDataRequestContextFromJSONTyped,
|
|
5486
|
+
QueryDataRequestContextToJSON,
|
|
5487
|
+
QueryDataRequestFromJSON,
|
|
5488
|
+
QueryDataRequestFromJSONTyped,
|
|
5489
|
+
QueryDataRequestOptionsFromJSON,
|
|
5490
|
+
QueryDataRequestOptionsFromJSONTyped,
|
|
5491
|
+
QueryDataRequestOptionsToJSON,
|
|
5492
|
+
QueryDataRequestToJSON,
|
|
5493
|
+
QueryDataResponseFromJSON,
|
|
5494
|
+
QueryDataResponseFromJSONTyped,
|
|
5495
|
+
QueryDataResponseToJSON,
|
|
5496
|
+
QueryDefinitionResponseFromJSON,
|
|
5497
|
+
QueryDefinitionResponseFromJSONTyped,
|
|
5498
|
+
QueryDefinitionResponseToJSON,
|
|
3788
5499
|
QueryManifestFromJSON,
|
|
3789
5500
|
QueryManifestFromJSONTyped,
|
|
3790
5501
|
QueryManifestToJSON,
|
|
5502
|
+
ReadinessCheck200ResponseFromJSON,
|
|
5503
|
+
ReadinessCheck200ResponseFromJSONTyped,
|
|
5504
|
+
ReadinessCheck200ResponseToJSON,
|
|
5505
|
+
ReadinessCheck503ResponseFromJSON,
|
|
5506
|
+
ReadinessCheck503ResponseFromJSONTyped,
|
|
5507
|
+
ReadinessCheck503ResponseToJSON,
|
|
3791
5508
|
RequiredError,
|
|
3792
5509
|
ResolveContextDeviceTypeEnum,
|
|
3793
5510
|
ResolveContextFromJSON,
|
|
@@ -3795,10 +5512,10 @@ var VERSION = "2.0.0";
|
|
|
3795
5512
|
ResolveContextToJSON,
|
|
3796
5513
|
ResolvePage200ResponseDataFromJSON,
|
|
3797
5514
|
ResolvePage200ResponseDataFromJSONTyped,
|
|
5515
|
+
ResolvePage200ResponseDataManifestsActionsInnerActionTypeEnum,
|
|
3798
5516
|
ResolvePage200ResponseDataManifestsActionsInnerFromJSON,
|
|
3799
5517
|
ResolvePage200ResponseDataManifestsActionsInnerFromJSONTyped,
|
|
3800
5518
|
ResolvePage200ResponseDataManifestsActionsInnerToJSON,
|
|
3801
|
-
ResolvePage200ResponseDataManifestsActionsInnerTypeEnum,
|
|
3802
5519
|
ResolvePage200ResponseDataManifestsComponentsInnerFromJSON,
|
|
3803
5520
|
ResolvePage200ResponseDataManifestsComponentsInnerFromJSONTyped,
|
|
3804
5521
|
ResolvePage200ResponseDataManifestsComponentsInnerToJSON,
|
|
@@ -3808,6 +5525,9 @@ var VERSION = "2.0.0";
|
|
|
3808
5525
|
ResolvePage200ResponseDataManifestsQueriesInnerFromJSONTyped,
|
|
3809
5526
|
ResolvePage200ResponseDataManifestsQueriesInnerToJSON,
|
|
3810
5527
|
ResolvePage200ResponseDataManifestsToJSON,
|
|
5528
|
+
ResolvePage200ResponseDataOpsConfigFromJSON,
|
|
5529
|
+
ResolvePage200ResponseDataOpsConfigFromJSONTyped,
|
|
5530
|
+
ResolvePage200ResponseDataOpsConfigToJSON,
|
|
3811
5531
|
ResolvePage200ResponseDataToJSON,
|
|
3812
5532
|
ResolvePage200ResponseFromJSON,
|
|
3813
5533
|
ResolvePage200ResponseFromJSONTyped,
|
|
@@ -3825,6 +5545,16 @@ var VERSION = "2.0.0";
|
|
|
3825
5545
|
ResolvePageResponseFromJSON,
|
|
3826
5546
|
ResolvePageResponseFromJSONTyped,
|
|
3827
5547
|
ResolvePageResponseToJSON,
|
|
5548
|
+
ResolveTenant200ResponseDataFromJSON,
|
|
5549
|
+
ResolveTenant200ResponseDataFromJSONTyped,
|
|
5550
|
+
ResolveTenant200ResponseDataStatusEnum,
|
|
5551
|
+
ResolveTenant200ResponseDataToJSON,
|
|
5552
|
+
ResolveTenant200ResponseFromJSON,
|
|
5553
|
+
ResolveTenant200ResponseFromJSONTyped,
|
|
5554
|
+
ResolveTenant200ResponseToJSON,
|
|
5555
|
+
ResolveTenantRequestFromJSON,
|
|
5556
|
+
ResolveTenantRequestFromJSONTyped,
|
|
5557
|
+
ResolveTenantRequestToJSON,
|
|
3828
5558
|
ResourceManifestsFromJSON,
|
|
3829
5559
|
ResourceManifestsFromJSONTyped,
|
|
3830
5560
|
ResourceManifestsToJSON,
|
|
@@ -3832,6 +5562,13 @@ var VERSION = "2.0.0";
|
|
|
3832
5562
|
SigninCalendarFromJSON,
|
|
3833
5563
|
SigninCalendarFromJSONTyped,
|
|
3834
5564
|
SigninCalendarToJSON,
|
|
5565
|
+
TenantConfigFromJSON,
|
|
5566
|
+
TenantConfigFromJSONTyped,
|
|
5567
|
+
TenantConfigToJSON,
|
|
5568
|
+
TenantInfoFromJSON,
|
|
5569
|
+
TenantInfoFromJSONTyped,
|
|
5570
|
+
TenantInfoStatusEnum,
|
|
5571
|
+
TenantInfoToJSON,
|
|
3835
5572
|
TimeoutError,
|
|
3836
5573
|
Track202ResponseDataFromJSON,
|
|
3837
5574
|
Track202ResponseDataFromJSONTyped,
|
|
@@ -3889,24 +5626,31 @@ var VERSION = "2.0.0";
|
|
|
3889
5626
|
createUserClient,
|
|
3890
5627
|
createUserConfiguration,
|
|
3891
5628
|
instanceOfActionContext,
|
|
5629
|
+
instanceOfActionDefinitionResponse,
|
|
3892
5630
|
instanceOfActionEffect,
|
|
3893
5631
|
instanceOfActionManifest,
|
|
5632
|
+
instanceOfBatchQueryData200Response,
|
|
5633
|
+
instanceOfBatchQueryData200ResponseDataValue,
|
|
5634
|
+
instanceOfBatchQueryData200ResponseDataValueError,
|
|
5635
|
+
instanceOfBatchQueryDataRequest,
|
|
5636
|
+
instanceOfBatchQueryDataRequestQueriesInner,
|
|
5637
|
+
instanceOfBatchQueryRequest,
|
|
5638
|
+
instanceOfBatchQueryResponse,
|
|
3894
5639
|
instanceOfClaimRecordInfo,
|
|
3895
5640
|
instanceOfComponentManifest,
|
|
3896
5641
|
instanceOfErrorResponse,
|
|
3897
5642
|
instanceOfExecuteAction200Response,
|
|
3898
5643
|
instanceOfExecuteAction200ResponseData,
|
|
3899
5644
|
instanceOfExecuteAction200ResponseDataEffectsInner,
|
|
5645
|
+
instanceOfExecuteAction200ResponseMeta,
|
|
5646
|
+
instanceOfExecuteAction409Response,
|
|
5647
|
+
instanceOfExecuteAction409ResponseData,
|
|
3900
5648
|
instanceOfExecuteActionRequest,
|
|
3901
5649
|
instanceOfExecuteActionRequestContext,
|
|
3902
5650
|
instanceOfExecuteActionRequestOptions,
|
|
3903
5651
|
instanceOfExecuteActionResponse,
|
|
3904
|
-
|
|
3905
|
-
|
|
3906
|
-
instanceOfExecuteQuery200ResponseMetaPagination,
|
|
3907
|
-
instanceOfExecuteQueryRequest,
|
|
3908
|
-
instanceOfExecuteQueryRequestOptions,
|
|
3909
|
-
instanceOfExecuteQueryResponse,
|
|
5652
|
+
instanceOfGetActionDefinition200Response,
|
|
5653
|
+
instanceOfGetActionDefinition200ResponseData,
|
|
3910
5654
|
instanceOfGetActivityInfo200Response,
|
|
3911
5655
|
instanceOfGetActivityInfo200ResponseData,
|
|
3912
5656
|
instanceOfGetActivityInfo200ResponseDataRewardsInner,
|
|
@@ -3922,15 +5666,38 @@ var VERSION = "2.0.0";
|
|
|
3922
5666
|
instanceOfGetPage200ResponseDataMeta,
|
|
3923
5667
|
instanceOfGetPage404Response,
|
|
3924
5668
|
instanceOfGetPage404ResponseDetailsInner,
|
|
5669
|
+
instanceOfGetQueryDefinition200Response,
|
|
5670
|
+
instanceOfGetQueryDefinition200ResponseData,
|
|
3925
5671
|
instanceOfGetSigninCalendar200Response,
|
|
3926
5672
|
instanceOfGetSigninCalendar200ResponseData,
|
|
3927
5673
|
instanceOfGetSigninCalendar200ResponseDataRecordsInner,
|
|
3928
5674
|
instanceOfGetSigninCalendar200ResponseDataRecordsInnerReward,
|
|
5675
|
+
instanceOfGetTenantConfig200Response,
|
|
5676
|
+
instanceOfGetTenantConfig200ResponseData,
|
|
5677
|
+
instanceOfGetTenantConfig200ResponseDataBlockedComponentsInner,
|
|
5678
|
+
instanceOfGetTenantConfig200ResponseDataKillSwitch,
|
|
5679
|
+
instanceOfHealthCheck200Response,
|
|
5680
|
+
instanceOfHealthCheck200ResponseDependenciesValue,
|
|
5681
|
+
instanceOfHealthResponse,
|
|
5682
|
+
instanceOfIdempotencyConflictResponse,
|
|
5683
|
+
instanceOfLivenessCheck200Response,
|
|
3929
5684
|
instanceOfLotteryRecordInfo,
|
|
5685
|
+
instanceOfOpsConfig,
|
|
3930
5686
|
instanceOfPageResponse,
|
|
3931
5687
|
instanceOfPaginationMeta,
|
|
3932
5688
|
instanceOfPublicActivityInfo,
|
|
5689
|
+
instanceOfQueryContext,
|
|
5690
|
+
instanceOfQueryData200Response,
|
|
5691
|
+
instanceOfQueryData200ResponseMeta,
|
|
5692
|
+
instanceOfQueryData200ResponseMetaPagination,
|
|
5693
|
+
instanceOfQueryDataRequest,
|
|
5694
|
+
instanceOfQueryDataRequestContext,
|
|
5695
|
+
instanceOfQueryDataRequestOptions,
|
|
5696
|
+
instanceOfQueryDataResponse,
|
|
5697
|
+
instanceOfQueryDefinitionResponse,
|
|
3933
5698
|
instanceOfQueryManifest,
|
|
5699
|
+
instanceOfReadinessCheck200Response,
|
|
5700
|
+
instanceOfReadinessCheck503Response,
|
|
3934
5701
|
instanceOfResolveContext,
|
|
3935
5702
|
instanceOfResolvePage200Response,
|
|
3936
5703
|
instanceOfResolvePage200ResponseData,
|
|
@@ -3938,12 +5705,18 @@ var VERSION = "2.0.0";
|
|
|
3938
5705
|
instanceOfResolvePage200ResponseDataManifestsActionsInner,
|
|
3939
5706
|
instanceOfResolvePage200ResponseDataManifestsComponentsInner,
|
|
3940
5707
|
instanceOfResolvePage200ResponseDataManifestsQueriesInner,
|
|
5708
|
+
instanceOfResolvePage200ResponseDataOpsConfig,
|
|
3941
5709
|
instanceOfResolvePageRequest,
|
|
3942
5710
|
instanceOfResolvePageRequestContext,
|
|
3943
5711
|
instanceOfResolvePageRequestOptions,
|
|
3944
5712
|
instanceOfResolvePageResponse,
|
|
5713
|
+
instanceOfResolveTenant200Response,
|
|
5714
|
+
instanceOfResolveTenant200ResponseData,
|
|
5715
|
+
instanceOfResolveTenantRequest,
|
|
3945
5716
|
instanceOfResourceManifests,
|
|
3946
5717
|
instanceOfSigninCalendar,
|
|
5718
|
+
instanceOfTenantConfig,
|
|
5719
|
+
instanceOfTenantInfo,
|
|
3947
5720
|
instanceOfTrack202Response,
|
|
3948
5721
|
instanceOfTrack202ResponseData,
|
|
3949
5722
|
instanceOfTrackBatch202Response,
|