@djvlc/openapi-admin-client 1.6.2 → 1.6.4
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 +1457 -488
- package/dist/index.d.ts +1457 -488
- package/dist/index.js +1140 -255
- package/dist/index.mjs +1046 -232
- package/openapi/dist/admin-api.yaml +899 -267
- package/openapi/src/components/schemas/_index.yaml +129 -32
- package/openapi/src/openapi.yaml +80 -9
- package/openapi/src/paths/activities.yaml +27 -7
- package/openapi/src/paths/components.yaml +2 -2
- package/openapi/src/paths/definitions.yaml +111 -1
- package/openapi/src/paths/drafts.yaml +23 -3
- package/openapi/src/paths/health.yaml +88 -0
- package/openapi/src/paths/operations.yaml +4 -2
- package/openapi/src/paths/pages.yaml +25 -4
- package/openapi/src/paths/preview.yaml +146 -0
- package/openapi/src/paths/rollout.yaml +54 -14
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -21,16 +21,16 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
21
21
|
var index_exports = {};
|
|
22
22
|
__export(index_exports, {
|
|
23
23
|
AbortError: () => import_openapi_client_core2.AbortError,
|
|
24
|
+
ActionDefinitionDetailActionTypeEnum: () => ActionDefinitionDetailActionTypeEnum,
|
|
24
25
|
ActionDefinitionDetailFromJSON: () => ActionDefinitionDetailFromJSON,
|
|
25
26
|
ActionDefinitionDetailFromJSONTyped: () => ActionDefinitionDetailFromJSONTyped,
|
|
26
27
|
ActionDefinitionDetailStatusEnum: () => ActionDefinitionDetailStatusEnum,
|
|
27
28
|
ActionDefinitionDetailToJSON: () => ActionDefinitionDetailToJSON,
|
|
28
|
-
|
|
29
|
+
ActionDefinitionInfoActionTypeEnum: () => ActionDefinitionInfoActionTypeEnum,
|
|
29
30
|
ActionDefinitionInfoFromJSON: () => ActionDefinitionInfoFromJSON,
|
|
30
31
|
ActionDefinitionInfoFromJSONTyped: () => ActionDefinitionInfoFromJSONTyped,
|
|
31
32
|
ActionDefinitionInfoStatusEnum: () => ActionDefinitionInfoStatusEnum,
|
|
32
33
|
ActionDefinitionInfoToJSON: () => ActionDefinitionInfoToJSON,
|
|
33
|
-
ActionDefinitionInfoTypeEnum: () => ActionDefinitionInfoTypeEnum,
|
|
34
34
|
ActivitiesApi: () => ActivitiesApi,
|
|
35
35
|
ActivityDetailFromJSON: () => ActivityDetailFromJSON,
|
|
36
36
|
ActivityDetailFromJSONTyped: () => ActivityDetailFromJSONTyped,
|
|
@@ -45,13 +45,13 @@ __export(index_exports, {
|
|
|
45
45
|
ActivityStatsFromJSON: () => ActivityStatsFromJSON,
|
|
46
46
|
ActivityStatsFromJSONTyped: () => ActivityStatsFromJSONTyped,
|
|
47
47
|
ActivityStatsToJSON: () => ActivityStatsToJSON,
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
48
|
+
AddRolloutStrategy200ResponseDataFromJSON: () => AddRolloutStrategy200ResponseDataFromJSON,
|
|
49
|
+
AddRolloutStrategy200ResponseDataFromJSONTyped: () => AddRolloutStrategy200ResponseDataFromJSONTyped,
|
|
50
|
+
AddRolloutStrategy200ResponseDataToJSON: () => AddRolloutStrategy200ResponseDataToJSON,
|
|
51
|
+
AddRolloutStrategy200ResponseDataTypeEnum: () => AddRolloutStrategy200ResponseDataTypeEnum,
|
|
52
|
+
AddRolloutStrategy200ResponseFromJSON: () => AddRolloutStrategy200ResponseFromJSON,
|
|
53
|
+
AddRolloutStrategy200ResponseFromJSONTyped: () => AddRolloutStrategy200ResponseFromJSONTyped,
|
|
54
|
+
AddRolloutStrategy200ResponseToJSON: () => AddRolloutStrategy200ResponseToJSON,
|
|
55
55
|
AddRolloutStrategyRequestFromJSON: () => AddRolloutStrategyRequestFromJSON,
|
|
56
56
|
AddRolloutStrategyRequestFromJSONTyped: () => AddRolloutStrategyRequestFromJSONTyped,
|
|
57
57
|
AddRolloutStrategyRequestToJSON: () => AddRolloutStrategyRequestToJSON,
|
|
@@ -93,10 +93,10 @@ __export(index_exports, {
|
|
|
93
93
|
CreateActionDefinition201ResponseFromJSON: () => CreateActionDefinition201ResponseFromJSON,
|
|
94
94
|
CreateActionDefinition201ResponseFromJSONTyped: () => CreateActionDefinition201ResponseFromJSONTyped,
|
|
95
95
|
CreateActionDefinition201ResponseToJSON: () => CreateActionDefinition201ResponseToJSON,
|
|
96
|
+
CreateActionDefinitionRequestActionTypeEnum: () => CreateActionDefinitionRequestActionTypeEnum,
|
|
96
97
|
CreateActionDefinitionRequestFromJSON: () => CreateActionDefinitionRequestFromJSON,
|
|
97
98
|
CreateActionDefinitionRequestFromJSONTyped: () => CreateActionDefinitionRequestFromJSONTyped,
|
|
98
99
|
CreateActionDefinitionRequestToJSON: () => CreateActionDefinitionRequestToJSON,
|
|
99
|
-
CreateActionDefinitionRequestTypeEnum: () => CreateActionDefinitionRequestTypeEnum,
|
|
100
100
|
CreateActivity201ResponseFromJSON: () => CreateActivity201ResponseFromJSON,
|
|
101
101
|
CreateActivity201ResponseFromJSONTyped: () => CreateActivity201ResponseFromJSONTyped,
|
|
102
102
|
CreateActivity201ResponseToJSON: () => CreateActivity201ResponseToJSON,
|
|
@@ -109,29 +109,49 @@ __export(index_exports, {
|
|
|
109
109
|
CreateDataQueryDefinition201ResponseToJSON: () => CreateDataQueryDefinition201ResponseToJSON,
|
|
110
110
|
CreateDataQueryDefinitionRequestFromJSON: () => CreateDataQueryDefinitionRequestFromJSON,
|
|
111
111
|
CreateDataQueryDefinitionRequestFromJSONTyped: () => CreateDataQueryDefinitionRequestFromJSONTyped,
|
|
112
|
+
CreateDataQueryDefinitionRequestSourceTypeEnum: () => CreateDataQueryDefinitionRequestSourceTypeEnum,
|
|
112
113
|
CreateDataQueryDefinitionRequestToJSON: () => CreateDataQueryDefinitionRequestToJSON,
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
CreatePage201ResponseToJSON: () => CreatePage201ResponseToJSON,
|
|
114
|
+
CreatePage200ResponseFromJSON: () => CreatePage200ResponseFromJSON,
|
|
115
|
+
CreatePage200ResponseFromJSONTyped: () => CreatePage200ResponseFromJSONTyped,
|
|
116
|
+
CreatePage200ResponseToJSON: () => CreatePage200ResponseToJSON,
|
|
117
117
|
CreatePageRequestFromJSON: () => CreatePageRequestFromJSON,
|
|
118
118
|
CreatePageRequestFromJSONTyped: () => CreatePageRequestFromJSONTyped,
|
|
119
119
|
CreatePageRequestToJSON: () => CreatePageRequestToJSON,
|
|
120
|
+
CreatePreviewToken201ResponseDataDeviceTypeEnum: () => CreatePreviewToken201ResponseDataDeviceTypeEnum,
|
|
121
|
+
CreatePreviewToken201ResponseDataFromJSON: () => CreatePreviewToken201ResponseDataFromJSON,
|
|
122
|
+
CreatePreviewToken201ResponseDataFromJSONTyped: () => CreatePreviewToken201ResponseDataFromJSONTyped,
|
|
123
|
+
CreatePreviewToken201ResponseDataToJSON: () => CreatePreviewToken201ResponseDataToJSON,
|
|
124
|
+
CreatePreviewToken201ResponseFromJSON: () => CreatePreviewToken201ResponseFromJSON,
|
|
125
|
+
CreatePreviewToken201ResponseFromJSONTyped: () => CreatePreviewToken201ResponseFromJSONTyped,
|
|
126
|
+
CreatePreviewToken201ResponseToJSON: () => CreatePreviewToken201ResponseToJSON,
|
|
127
|
+
CreatePreviewTokenRequestDeviceTypeEnum: () => CreatePreviewTokenRequestDeviceTypeEnum,
|
|
128
|
+
CreatePreviewTokenRequestFromJSON: () => CreatePreviewTokenRequestFromJSON,
|
|
129
|
+
CreatePreviewTokenRequestFromJSONTyped: () => CreatePreviewTokenRequestFromJSONTyped,
|
|
130
|
+
CreatePreviewTokenRequestToJSON: () => CreatePreviewTokenRequestToJSON,
|
|
120
131
|
DataQueryDefinitionDetailFromJSON: () => DataQueryDefinitionDetailFromJSON,
|
|
121
132
|
DataQueryDefinitionDetailFromJSONTyped: () => DataQueryDefinitionDetailFromJSONTyped,
|
|
133
|
+
DataQueryDefinitionDetailSourceTypeEnum: () => DataQueryDefinitionDetailSourceTypeEnum,
|
|
122
134
|
DataQueryDefinitionDetailStatusEnum: () => DataQueryDefinitionDetailStatusEnum,
|
|
123
135
|
DataQueryDefinitionDetailToJSON: () => DataQueryDefinitionDetailToJSON,
|
|
124
|
-
DataQueryDefinitionDetailTypeEnum: () => DataQueryDefinitionDetailTypeEnum,
|
|
125
136
|
DataQueryDefinitionInfoFromJSON: () => DataQueryDefinitionInfoFromJSON,
|
|
126
137
|
DataQueryDefinitionInfoFromJSONTyped: () => DataQueryDefinitionInfoFromJSONTyped,
|
|
138
|
+
DataQueryDefinitionInfoSourceTypeEnum: () => DataQueryDefinitionInfoSourceTypeEnum,
|
|
127
139
|
DataQueryDefinitionInfoStatusEnum: () => DataQueryDefinitionInfoStatusEnum,
|
|
128
140
|
DataQueryDefinitionInfoToJSON: () => DataQueryDefinitionInfoToJSON,
|
|
129
|
-
DataQueryDefinitionInfoTypeEnum: () => DataQueryDefinitionInfoTypeEnum,
|
|
130
141
|
DefinitionVersionInfoFromJSON: () => DefinitionVersionInfoFromJSON,
|
|
131
142
|
DefinitionVersionInfoFromJSONTyped: () => DefinitionVersionInfoFromJSONTyped,
|
|
132
143
|
DefinitionVersionInfoStatusEnum: () => DefinitionVersionInfoStatusEnum,
|
|
133
144
|
DefinitionVersionInfoToJSON: () => DefinitionVersionInfoToJSON,
|
|
134
145
|
DefinitionsApi: () => DefinitionsApi,
|
|
146
|
+
DeletePage200ResponseFromJSON: () => DeletePage200ResponseFromJSON,
|
|
147
|
+
DeletePage200ResponseFromJSONTyped: () => DeletePage200ResponseFromJSONTyped,
|
|
148
|
+
DeletePage200ResponseToJSON: () => DeletePage200ResponseToJSON,
|
|
149
|
+
DeletePageRequestFromJSON: () => DeletePageRequestFromJSON,
|
|
150
|
+
DeletePageRequestFromJSONTyped: () => DeletePageRequestFromJSONTyped,
|
|
151
|
+
DeletePageRequestToJSON: () => DeletePageRequestToJSON,
|
|
152
|
+
DiscardDraftRequestFromJSON: () => DiscardDraftRequestFromJSON,
|
|
153
|
+
DiscardDraftRequestFromJSONTyped: () => DiscardDraftRequestFromJSONTyped,
|
|
154
|
+
DiscardDraftRequestToJSON: () => DiscardDraftRequestToJSON,
|
|
135
155
|
DraftDataFromJSON: () => DraftDataFromJSON,
|
|
136
156
|
DraftDataFromJSONTyped: () => DraftDataFromJSONTyped,
|
|
137
157
|
DraftDataToJSON: () => DraftDataToJSON,
|
|
@@ -146,11 +166,11 @@ __export(index_exports, {
|
|
|
146
166
|
ErrorResponseFromJSONTyped: () => ErrorResponseFromJSONTyped,
|
|
147
167
|
ErrorResponseToJSON: () => ErrorResponseToJSON,
|
|
148
168
|
FetchError: () => FetchError,
|
|
169
|
+
GetActionDefinition200ResponseDataActionTypeEnum: () => GetActionDefinition200ResponseDataActionTypeEnum,
|
|
149
170
|
GetActionDefinition200ResponseDataFromJSON: () => GetActionDefinition200ResponseDataFromJSON,
|
|
150
171
|
GetActionDefinition200ResponseDataFromJSONTyped: () => GetActionDefinition200ResponseDataFromJSONTyped,
|
|
151
172
|
GetActionDefinition200ResponseDataStatusEnum: () => GetActionDefinition200ResponseDataStatusEnum,
|
|
152
173
|
GetActionDefinition200ResponseDataToJSON: () => GetActionDefinition200ResponseDataToJSON,
|
|
153
|
-
GetActionDefinition200ResponseDataTypeEnum: () => GetActionDefinition200ResponseDataTypeEnum,
|
|
154
174
|
GetActionDefinition200ResponseDataVersionsInnerFromJSON: () => GetActionDefinition200ResponseDataVersionsInnerFromJSON,
|
|
155
175
|
GetActionDefinition200ResponseDataVersionsInnerFromJSONTyped: () => GetActionDefinition200ResponseDataVersionsInnerFromJSONTyped,
|
|
156
176
|
GetActionDefinition200ResponseDataVersionsInnerStatusEnum: () => GetActionDefinition200ResponseDataVersionsInnerStatusEnum,
|
|
@@ -190,9 +210,9 @@ __export(index_exports, {
|
|
|
190
210
|
GetAuditStats200ResponseToJSON: () => GetAuditStats200ResponseToJSON,
|
|
191
211
|
GetDataQueryDefinition200ResponseDataFromJSON: () => GetDataQueryDefinition200ResponseDataFromJSON,
|
|
192
212
|
GetDataQueryDefinition200ResponseDataFromJSONTyped: () => GetDataQueryDefinition200ResponseDataFromJSONTyped,
|
|
213
|
+
GetDataQueryDefinition200ResponseDataSourceTypeEnum: () => GetDataQueryDefinition200ResponseDataSourceTypeEnum,
|
|
193
214
|
GetDataQueryDefinition200ResponseDataStatusEnum: () => GetDataQueryDefinition200ResponseDataStatusEnum,
|
|
194
215
|
GetDataQueryDefinition200ResponseDataToJSON: () => GetDataQueryDefinition200ResponseDataToJSON,
|
|
195
|
-
GetDataQueryDefinition200ResponseDataTypeEnum: () => GetDataQueryDefinition200ResponseDataTypeEnum,
|
|
196
216
|
GetDataQueryDefinition200ResponseFromJSON: () => GetDataQueryDefinition200ResponseFromJSON,
|
|
197
217
|
GetDataQueryDefinition200ResponseFromJSONTyped: () => GetDataQueryDefinition200ResponseFromJSONTyped,
|
|
198
218
|
GetDataQueryDefinition200ResponseToJSON: () => GetDataQueryDefinition200ResponseToJSON,
|
|
@@ -227,17 +247,29 @@ __export(index_exports, {
|
|
|
227
247
|
GetVersion200ResponseFromJSON: () => GetVersion200ResponseFromJSON,
|
|
228
248
|
GetVersion200ResponseFromJSONTyped: () => GetVersion200ResponseFromJSONTyped,
|
|
229
249
|
GetVersion200ResponseToJSON: () => GetVersion200ResponseToJSON,
|
|
250
|
+
HealthCheck200ResponseDependenciesValueFromJSON: () => HealthCheck200ResponseDependenciesValueFromJSON,
|
|
251
|
+
HealthCheck200ResponseDependenciesValueFromJSONTyped: () => HealthCheck200ResponseDependenciesValueFromJSONTyped,
|
|
252
|
+
HealthCheck200ResponseDependenciesValueStatusEnum: () => HealthCheck200ResponseDependenciesValueStatusEnum,
|
|
253
|
+
HealthCheck200ResponseDependenciesValueToJSON: () => HealthCheck200ResponseDependenciesValueToJSON,
|
|
254
|
+
HealthCheck200ResponseFromJSON: () => HealthCheck200ResponseFromJSON,
|
|
255
|
+
HealthCheck200ResponseFromJSONTyped: () => HealthCheck200ResponseFromJSONTyped,
|
|
256
|
+
HealthCheck200ResponseStatusEnum: () => HealthCheck200ResponseStatusEnum,
|
|
257
|
+
HealthCheck200ResponseToJSON: () => HealthCheck200ResponseToJSON,
|
|
258
|
+
HealthResponseFromJSON: () => HealthResponseFromJSON,
|
|
259
|
+
HealthResponseFromJSONTyped: () => HealthResponseFromJSONTyped,
|
|
260
|
+
HealthResponseStatusEnum: () => HealthResponseStatusEnum,
|
|
261
|
+
HealthResponseToJSON: () => HealthResponseToJSON,
|
|
230
262
|
KillSwitchStatusResponseFromJSON: () => KillSwitchStatusResponseFromJSON,
|
|
231
263
|
KillSwitchStatusResponseFromJSONTyped: () => KillSwitchStatusResponseFromJSONTyped,
|
|
232
264
|
KillSwitchStatusResponseToJSON: () => KillSwitchStatusResponseToJSON,
|
|
233
265
|
ListActionDefinitionVersions200ResponseFromJSON: () => ListActionDefinitionVersions200ResponseFromJSON,
|
|
234
266
|
ListActionDefinitionVersions200ResponseFromJSONTyped: () => ListActionDefinitionVersions200ResponseFromJSONTyped,
|
|
235
267
|
ListActionDefinitionVersions200ResponseToJSON: () => ListActionDefinitionVersions200ResponseToJSON,
|
|
268
|
+
ListActionDefinitions200ResponseDataInnerActionTypeEnum: () => ListActionDefinitions200ResponseDataInnerActionTypeEnum,
|
|
236
269
|
ListActionDefinitions200ResponseDataInnerFromJSON: () => ListActionDefinitions200ResponseDataInnerFromJSON,
|
|
237
270
|
ListActionDefinitions200ResponseDataInnerFromJSONTyped: () => ListActionDefinitions200ResponseDataInnerFromJSONTyped,
|
|
238
271
|
ListActionDefinitions200ResponseDataInnerStatusEnum: () => ListActionDefinitions200ResponseDataInnerStatusEnum,
|
|
239
272
|
ListActionDefinitions200ResponseDataInnerToJSON: () => ListActionDefinitions200ResponseDataInnerToJSON,
|
|
240
|
-
ListActionDefinitions200ResponseDataInnerTypeEnum: () => ListActionDefinitions200ResponseDataInnerTypeEnum,
|
|
241
273
|
ListActionDefinitions200ResponseFromJSON: () => ListActionDefinitions200ResponseFromJSON,
|
|
242
274
|
ListActionDefinitions200ResponseFromJSONTyped: () => ListActionDefinitions200ResponseFromJSONTyped,
|
|
243
275
|
ListActionDefinitions200ResponseToJSON: () => ListActionDefinitions200ResponseToJSON,
|
|
@@ -275,9 +307,9 @@ __export(index_exports, {
|
|
|
275
307
|
ListDataQueryDefinitionVersions200ResponseToJSON: () => ListDataQueryDefinitionVersions200ResponseToJSON,
|
|
276
308
|
ListDataQueryDefinitions200ResponseDataInnerFromJSON: () => ListDataQueryDefinitions200ResponseDataInnerFromJSON,
|
|
277
309
|
ListDataQueryDefinitions200ResponseDataInnerFromJSONTyped: () => ListDataQueryDefinitions200ResponseDataInnerFromJSONTyped,
|
|
310
|
+
ListDataQueryDefinitions200ResponseDataInnerSourceTypeEnum: () => ListDataQueryDefinitions200ResponseDataInnerSourceTypeEnum,
|
|
278
311
|
ListDataQueryDefinitions200ResponseDataInnerStatusEnum: () => ListDataQueryDefinitions200ResponseDataInnerStatusEnum,
|
|
279
312
|
ListDataQueryDefinitions200ResponseDataInnerToJSON: () => ListDataQueryDefinitions200ResponseDataInnerToJSON,
|
|
280
|
-
ListDataQueryDefinitions200ResponseDataInnerTypeEnum: () => ListDataQueryDefinitions200ResponseDataInnerTypeEnum,
|
|
281
313
|
ListDataQueryDefinitions200ResponseFromJSON: () => ListDataQueryDefinitions200ResponseFromJSON,
|
|
282
314
|
ListDataQueryDefinitions200ResponseFromJSONTyped: () => ListDataQueryDefinitions200ResponseFromJSONTyped,
|
|
283
315
|
ListDataQueryDefinitions200ResponseToJSON: () => ListDataQueryDefinitions200ResponseToJSON,
|
|
@@ -297,6 +329,9 @@ __export(index_exports, {
|
|
|
297
329
|
ListPages401ResponseFromJSON: () => ListPages401ResponseFromJSON,
|
|
298
330
|
ListPages401ResponseFromJSONTyped: () => ListPages401ResponseFromJSONTyped,
|
|
299
331
|
ListPages401ResponseToJSON: () => ListPages401ResponseToJSON,
|
|
332
|
+
ListPreviewTokens200ResponseFromJSON: () => ListPreviewTokens200ResponseFromJSON,
|
|
333
|
+
ListPreviewTokens200ResponseFromJSONTyped: () => ListPreviewTokens200ResponseFromJSONTyped,
|
|
334
|
+
ListPreviewTokens200ResponseToJSON: () => ListPreviewTokens200ResponseToJSON,
|
|
300
335
|
ListVersions200ResponseDataInnerFromJSON: () => ListVersions200ResponseDataInnerFromJSON,
|
|
301
336
|
ListVersions200ResponseDataInnerFromJSONTyped: () => ListVersions200ResponseDataInnerFromJSONTyped,
|
|
302
337
|
ListVersions200ResponseDataInnerStatusEnum: () => ListVersions200ResponseDataInnerStatusEnum,
|
|
@@ -304,6 +339,9 @@ __export(index_exports, {
|
|
|
304
339
|
ListVersions200ResponseFromJSON: () => ListVersions200ResponseFromJSON,
|
|
305
340
|
ListVersions200ResponseFromJSONTyped: () => ListVersions200ResponseFromJSONTyped,
|
|
306
341
|
ListVersions200ResponseToJSON: () => ListVersions200ResponseToJSON,
|
|
342
|
+
LivenessCheck200ResponseFromJSON: () => LivenessCheck200ResponseFromJSON,
|
|
343
|
+
LivenessCheck200ResponseFromJSONTyped: () => LivenessCheck200ResponseFromJSONTyped,
|
|
344
|
+
LivenessCheck200ResponseToJSON: () => LivenessCheck200ResponseToJSON,
|
|
307
345
|
LockInfoFromJSON: () => LockInfoFromJSON,
|
|
308
346
|
LockInfoFromJSONTyped: () => LockInfoFromJSONTyped,
|
|
309
347
|
LockInfoToJSON: () => LockInfoToJSON,
|
|
@@ -326,6 +364,10 @@ __export(index_exports, {
|
|
|
326
364
|
PaginationMetaFromJSON: () => PaginationMetaFromJSON,
|
|
327
365
|
PaginationMetaFromJSONTyped: () => PaginationMetaFromJSONTyped,
|
|
328
366
|
PaginationMetaToJSON: () => PaginationMetaToJSON,
|
|
367
|
+
PreviewTokenInfoDeviceTypeEnum: () => PreviewTokenInfoDeviceTypeEnum,
|
|
368
|
+
PreviewTokenInfoFromJSON: () => PreviewTokenInfoFromJSON,
|
|
369
|
+
PreviewTokenInfoFromJSONTyped: () => PreviewTokenInfoFromJSONTyped,
|
|
370
|
+
PreviewTokenInfoToJSON: () => PreviewTokenInfoToJSON,
|
|
329
371
|
PublishActionDefinitionVersion201ResponseFromJSON: () => PublishActionDefinitionVersion201ResponseFromJSON,
|
|
330
372
|
PublishActionDefinitionVersion201ResponseFromJSONTyped: () => PublishActionDefinitionVersion201ResponseFromJSONTyped,
|
|
331
373
|
PublishActionDefinitionVersion201ResponseToJSON: () => PublishActionDefinitionVersion201ResponseToJSON,
|
|
@@ -354,8 +396,17 @@ __export(index_exports, {
|
|
|
354
396
|
PublishVersionRequestRolloutToJSON: () => PublishVersionRequestRolloutToJSON,
|
|
355
397
|
PublishVersionRequestToJSON: () => PublishVersionRequestToJSON,
|
|
356
398
|
PublishVersionRequestVersionBumpEnum: () => PublishVersionRequestVersionBumpEnum,
|
|
399
|
+
ReadinessCheck200ResponseFromJSON: () => ReadinessCheck200ResponseFromJSON,
|
|
400
|
+
ReadinessCheck200ResponseFromJSONTyped: () => ReadinessCheck200ResponseFromJSONTyped,
|
|
401
|
+
ReadinessCheck200ResponseToJSON: () => ReadinessCheck200ResponseToJSON,
|
|
402
|
+
ReadinessCheck503ResponseFromJSON: () => ReadinessCheck503ResponseFromJSON,
|
|
403
|
+
ReadinessCheck503ResponseFromJSONTyped: () => ReadinessCheck503ResponseFromJSONTyped,
|
|
404
|
+
ReadinessCheck503ResponseToJSON: () => ReadinessCheck503ResponseToJSON,
|
|
357
405
|
RequiredError: () => RequiredError,
|
|
358
406
|
ResponseError: () => ResponseError,
|
|
407
|
+
RevokePreviewTokenRequestFromJSON: () => RevokePreviewTokenRequestFromJSON,
|
|
408
|
+
RevokePreviewTokenRequestFromJSONTyped: () => RevokePreviewTokenRequestFromJSONTyped,
|
|
409
|
+
RevokePreviewTokenRequestToJSON: () => RevokePreviewTokenRequestToJSON,
|
|
359
410
|
RollbackRequestFromJSON: () => RollbackRequestFromJSON,
|
|
360
411
|
RollbackRequestFromJSONTyped: () => RollbackRequestFromJSONTyped,
|
|
361
412
|
RollbackRequestToJSON: () => RollbackRequestToJSON,
|
|
@@ -402,6 +453,10 @@ __export(index_exports, {
|
|
|
402
453
|
UpdateComponentVersionStatusRequestFromJSONTyped: () => UpdateComponentVersionStatusRequestFromJSONTyped,
|
|
403
454
|
UpdateComponentVersionStatusRequestStatusEnum: () => UpdateComponentVersionStatusRequestStatusEnum,
|
|
404
455
|
UpdateComponentVersionStatusRequestToJSON: () => UpdateComponentVersionStatusRequestToJSON,
|
|
456
|
+
UpdateDataQueryDefinitionRequestFromJSON: () => UpdateDataQueryDefinitionRequestFromJSON,
|
|
457
|
+
UpdateDataQueryDefinitionRequestFromJSONTyped: () => UpdateDataQueryDefinitionRequestFromJSONTyped,
|
|
458
|
+
UpdateDataQueryDefinitionRequestStatusEnum: () => UpdateDataQueryDefinitionRequestStatusEnum,
|
|
459
|
+
UpdateDataQueryDefinitionRequestToJSON: () => UpdateDataQueryDefinitionRequestToJSON,
|
|
405
460
|
UpdatePageRequestFromJSON: () => UpdatePageRequestFromJSON,
|
|
406
461
|
UpdatePageRequestFromJSONTyped: () => UpdatePageRequestFromJSONTyped,
|
|
407
462
|
UpdatePageRequestToJSON: () => UpdatePageRequestToJSON,
|
|
@@ -437,8 +492,8 @@ __export(index_exports, {
|
|
|
437
492
|
instanceOfActivityDetail: () => instanceOfActivityDetail,
|
|
438
493
|
instanceOfActivityInfo: () => instanceOfActivityInfo,
|
|
439
494
|
instanceOfActivityStats: () => instanceOfActivityStats,
|
|
440
|
-
|
|
441
|
-
|
|
495
|
+
instanceOfAddRolloutStrategy200Response: () => instanceOfAddRolloutStrategy200Response,
|
|
496
|
+
instanceOfAddRolloutStrategy200ResponseData: () => instanceOfAddRolloutStrategy200ResponseData,
|
|
442
497
|
instanceOfAddRolloutStrategyRequest: () => instanceOfAddRolloutStrategyRequest,
|
|
443
498
|
instanceOfAuditLogDetail: () => instanceOfAuditLogDetail,
|
|
444
499
|
instanceOfAuditLogEntry: () => instanceOfAuditLogEntry,
|
|
@@ -454,11 +509,17 @@ __export(index_exports, {
|
|
|
454
509
|
instanceOfCreateActivityRequest: () => instanceOfCreateActivityRequest,
|
|
455
510
|
instanceOfCreateDataQueryDefinition201Response: () => instanceOfCreateDataQueryDefinition201Response,
|
|
456
511
|
instanceOfCreateDataQueryDefinitionRequest: () => instanceOfCreateDataQueryDefinitionRequest,
|
|
457
|
-
|
|
512
|
+
instanceOfCreatePage200Response: () => instanceOfCreatePage200Response,
|
|
458
513
|
instanceOfCreatePageRequest: () => instanceOfCreatePageRequest,
|
|
514
|
+
instanceOfCreatePreviewToken201Response: () => instanceOfCreatePreviewToken201Response,
|
|
515
|
+
instanceOfCreatePreviewToken201ResponseData: () => instanceOfCreatePreviewToken201ResponseData,
|
|
516
|
+
instanceOfCreatePreviewTokenRequest: () => instanceOfCreatePreviewTokenRequest,
|
|
459
517
|
instanceOfDataQueryDefinitionDetail: () => instanceOfDataQueryDefinitionDetail,
|
|
460
518
|
instanceOfDataQueryDefinitionInfo: () => instanceOfDataQueryDefinitionInfo,
|
|
461
519
|
instanceOfDefinitionVersionInfo: () => instanceOfDefinitionVersionInfo,
|
|
520
|
+
instanceOfDeletePage200Response: () => instanceOfDeletePage200Response,
|
|
521
|
+
instanceOfDeletePageRequest: () => instanceOfDeletePageRequest,
|
|
522
|
+
instanceOfDiscardDraftRequest: () => instanceOfDiscardDraftRequest,
|
|
462
523
|
instanceOfDraftData: () => instanceOfDraftData,
|
|
463
524
|
instanceOfDraftResponse: () => instanceOfDraftResponse,
|
|
464
525
|
instanceOfErrorDetail: () => instanceOfErrorDetail,
|
|
@@ -487,6 +548,9 @@ __export(index_exports, {
|
|
|
487
548
|
instanceOfGetRolloutConfig200Response: () => instanceOfGetRolloutConfig200Response,
|
|
488
549
|
instanceOfGetVersion200Response: () => instanceOfGetVersion200Response,
|
|
489
550
|
instanceOfGetVersion200ResponseData: () => instanceOfGetVersion200ResponseData,
|
|
551
|
+
instanceOfHealthCheck200Response: () => instanceOfHealthCheck200Response,
|
|
552
|
+
instanceOfHealthCheck200ResponseDependenciesValue: () => instanceOfHealthCheck200ResponseDependenciesValue,
|
|
553
|
+
instanceOfHealthResponse: () => instanceOfHealthResponse,
|
|
490
554
|
instanceOfKillSwitchStatusResponse: () => instanceOfKillSwitchStatusResponse,
|
|
491
555
|
instanceOfListActionDefinitionVersions200Response: () => instanceOfListActionDefinitionVersions200Response,
|
|
492
556
|
instanceOfListActionDefinitions200Response: () => instanceOfListActionDefinitions200Response,
|
|
@@ -507,14 +571,17 @@ __export(index_exports, {
|
|
|
507
571
|
instanceOfListPages200ResponseMeta: () => instanceOfListPages200ResponseMeta,
|
|
508
572
|
instanceOfListPages401Response: () => instanceOfListPages401Response,
|
|
509
573
|
instanceOfListPages401ResponseDetailsInner: () => instanceOfListPages401ResponseDetailsInner,
|
|
574
|
+
instanceOfListPreviewTokens200Response: () => instanceOfListPreviewTokens200Response,
|
|
510
575
|
instanceOfListVersions200Response: () => instanceOfListVersions200Response,
|
|
511
576
|
instanceOfListVersions200ResponseDataInner: () => instanceOfListVersions200ResponseDataInner,
|
|
577
|
+
instanceOfLivenessCheck200Response: () => instanceOfLivenessCheck200Response,
|
|
512
578
|
instanceOfLockInfo: () => instanceOfLockInfo,
|
|
513
579
|
instanceOfPageInfo: () => instanceOfPageInfo,
|
|
514
580
|
instanceOfPageKillSwitchStatusResponse: () => instanceOfPageKillSwitchStatusResponse,
|
|
515
581
|
instanceOfPageListResponse: () => instanceOfPageListResponse,
|
|
516
582
|
instanceOfPageResponse: () => instanceOfPageResponse,
|
|
517
583
|
instanceOfPaginationMeta: () => instanceOfPaginationMeta,
|
|
584
|
+
instanceOfPreviewTokenInfo: () => instanceOfPreviewTokenInfo,
|
|
518
585
|
instanceOfPublishActionDefinitionVersion201Response: () => instanceOfPublishActionDefinitionVersion201Response,
|
|
519
586
|
instanceOfPublishActionDefinitionVersionRequest: () => instanceOfPublishActionDefinitionVersionRequest,
|
|
520
587
|
instanceOfPublishDefinitionVersionRequest: () => instanceOfPublishDefinitionVersionRequest,
|
|
@@ -523,6 +590,9 @@ __export(index_exports, {
|
|
|
523
590
|
instanceOfPublishVersion201Response: () => instanceOfPublishVersion201Response,
|
|
524
591
|
instanceOfPublishVersionRequest: () => instanceOfPublishVersionRequest,
|
|
525
592
|
instanceOfPublishVersionRequestRollout: () => instanceOfPublishVersionRequestRollout,
|
|
593
|
+
instanceOfReadinessCheck200Response: () => instanceOfReadinessCheck200Response,
|
|
594
|
+
instanceOfReadinessCheck503Response: () => instanceOfReadinessCheck503Response,
|
|
595
|
+
instanceOfRevokePreviewTokenRequest: () => instanceOfRevokePreviewTokenRequest,
|
|
526
596
|
instanceOfRollbackRequest: () => instanceOfRollbackRequest,
|
|
527
597
|
instanceOfRollbackVersionRequest: () => instanceOfRollbackVersionRequest,
|
|
528
598
|
instanceOfRolloutConfig: () => instanceOfRolloutConfig,
|
|
@@ -536,6 +606,7 @@ __export(index_exports, {
|
|
|
536
606
|
instanceOfUpdateComponentStatusRequest: () => instanceOfUpdateComponentStatusRequest,
|
|
537
607
|
instanceOfUpdateComponentVersionStatus200Response: () => instanceOfUpdateComponentVersionStatus200Response,
|
|
538
608
|
instanceOfUpdateComponentVersionStatusRequest: () => instanceOfUpdateComponentVersionStatusRequest,
|
|
609
|
+
instanceOfUpdateDataQueryDefinitionRequest: () => instanceOfUpdateDataQueryDefinitionRequest,
|
|
539
610
|
instanceOfUpdatePageRequest: () => instanceOfUpdatePageRequest,
|
|
540
611
|
instanceOfUpdateRolloutConfigRequest: () => instanceOfUpdateRolloutConfigRequest,
|
|
541
612
|
instanceOfUpdateRolloutRequest: () => instanceOfUpdateRolloutRequest,
|
|
@@ -786,6 +857,12 @@ function querystringSingleKey(key, value, keyPrefix = "") {
|
|
|
786
857
|
}
|
|
787
858
|
return `${encodeURIComponent(fullKey)}=${encodeURIComponent(String(value))}`;
|
|
788
859
|
}
|
|
860
|
+
function mapValues(data, fn) {
|
|
861
|
+
return Object.keys(data).reduce(
|
|
862
|
+
(acc, key) => ({ ...acc, [key]: fn(data[key]) }),
|
|
863
|
+
{}
|
|
864
|
+
);
|
|
865
|
+
}
|
|
789
866
|
var JSONApiResponse = class {
|
|
790
867
|
constructor(raw, transformer = (jsonValue) => jsonValue) {
|
|
791
868
|
this.raw = raw;
|
|
@@ -806,9 +883,10 @@ var VoidApiResponse = class {
|
|
|
806
883
|
|
|
807
884
|
// src/generated/models/GetActionDefinition200ResponseDataVersionsInner.ts
|
|
808
885
|
var GetActionDefinition200ResponseDataVersionsInnerStatusEnum = {
|
|
809
|
-
|
|
886
|
+
DRAFT: "draft",
|
|
887
|
+
STABLE: "stable",
|
|
810
888
|
DEPRECATED: "deprecated",
|
|
811
|
-
|
|
889
|
+
BLOCKED: "blocked"
|
|
812
890
|
};
|
|
813
891
|
function instanceOfGetActionDefinition200ResponseDataVersionsInner(value) {
|
|
814
892
|
let isInstance = true;
|
|
@@ -854,22 +932,29 @@ function GetActionDefinition200ResponseDataVersionsInnerToJSON(value) {
|
|
|
854
932
|
}
|
|
855
933
|
|
|
856
934
|
// src/generated/models/ActionDefinitionDetail.ts
|
|
857
|
-
var
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
935
|
+
var ActionDefinitionDetailActionTypeEnum = {
|
|
936
|
+
CLAIM: "claim",
|
|
937
|
+
SIGNIN: "signin",
|
|
938
|
+
LOTTERY: "lottery",
|
|
939
|
+
RESERVE: "reserve",
|
|
940
|
+
BIND: "bind",
|
|
941
|
+
TASK_COMPLETE: "task_complete",
|
|
942
|
+
VOTE: "vote",
|
|
943
|
+
SHARE: "share",
|
|
944
|
+
FORM_SUBMIT: "form_submit",
|
|
945
|
+
CUSTOM: "custom"
|
|
862
946
|
};
|
|
863
947
|
var ActionDefinitionDetailStatusEnum = {
|
|
864
|
-
|
|
948
|
+
DRAFT: "draft",
|
|
949
|
+
STABLE: "stable",
|
|
865
950
|
DEPRECATED: "deprecated",
|
|
866
|
-
|
|
951
|
+
BLOCKED: "blocked"
|
|
867
952
|
};
|
|
868
953
|
function instanceOfActionDefinitionDetail(value) {
|
|
869
954
|
let isInstance = true;
|
|
870
955
|
isInstance = isInstance && "id" in value;
|
|
871
956
|
isInstance = isInstance && "name" in value;
|
|
872
|
-
isInstance = isInstance && "
|
|
957
|
+
isInstance = isInstance && "actionType" in value;
|
|
873
958
|
isInstance = isInstance && "status" in value;
|
|
874
959
|
isInstance = isInstance && "spec" in value;
|
|
875
960
|
isInstance = isInstance && "createdAt" in value;
|
|
@@ -886,7 +971,7 @@ function ActionDefinitionDetailFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
886
971
|
"id": json["id"],
|
|
887
972
|
"name": json["name"],
|
|
888
973
|
"displayName": !exists(json, "displayName") ? void 0 : json["displayName"],
|
|
889
|
-
"
|
|
974
|
+
"actionType": json["actionType"],
|
|
890
975
|
"description": !exists(json, "description") ? void 0 : json["description"],
|
|
891
976
|
"status": json["status"],
|
|
892
977
|
"spec": json["spec"],
|
|
@@ -906,7 +991,7 @@ function ActionDefinitionDetailToJSON(value) {
|
|
|
906
991
|
"id": value.id,
|
|
907
992
|
"name": value.name,
|
|
908
993
|
"displayName": value.displayName,
|
|
909
|
-
"
|
|
994
|
+
"actionType": value.actionType,
|
|
910
995
|
"description": value.description,
|
|
911
996
|
"status": value.status,
|
|
912
997
|
"spec": value.spec,
|
|
@@ -917,22 +1002,29 @@ function ActionDefinitionDetailToJSON(value) {
|
|
|
917
1002
|
}
|
|
918
1003
|
|
|
919
1004
|
// src/generated/models/ActionDefinitionInfo.ts
|
|
920
|
-
var
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
1005
|
+
var ActionDefinitionInfoActionTypeEnum = {
|
|
1006
|
+
CLAIM: "claim",
|
|
1007
|
+
SIGNIN: "signin",
|
|
1008
|
+
LOTTERY: "lottery",
|
|
1009
|
+
RESERVE: "reserve",
|
|
1010
|
+
BIND: "bind",
|
|
1011
|
+
TASK_COMPLETE: "task_complete",
|
|
1012
|
+
VOTE: "vote",
|
|
1013
|
+
SHARE: "share",
|
|
1014
|
+
FORM_SUBMIT: "form_submit",
|
|
1015
|
+
CUSTOM: "custom"
|
|
925
1016
|
};
|
|
926
1017
|
var ActionDefinitionInfoStatusEnum = {
|
|
927
|
-
|
|
1018
|
+
DRAFT: "draft",
|
|
1019
|
+
STABLE: "stable",
|
|
928
1020
|
DEPRECATED: "deprecated",
|
|
929
|
-
|
|
1021
|
+
BLOCKED: "blocked"
|
|
930
1022
|
};
|
|
931
1023
|
function instanceOfActionDefinitionInfo(value) {
|
|
932
1024
|
let isInstance = true;
|
|
933
1025
|
isInstance = isInstance && "id" in value;
|
|
934
1026
|
isInstance = isInstance && "name" in value;
|
|
935
|
-
isInstance = isInstance && "
|
|
1027
|
+
isInstance = isInstance && "actionType" in value;
|
|
936
1028
|
isInstance = isInstance && "status" in value;
|
|
937
1029
|
isInstance = isInstance && "createdAt" in value;
|
|
938
1030
|
return isInstance;
|
|
@@ -948,7 +1040,7 @@ function ActionDefinitionInfoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
948
1040
|
"id": json["id"],
|
|
949
1041
|
"name": json["name"],
|
|
950
1042
|
"displayName": !exists(json, "displayName") ? void 0 : json["displayName"],
|
|
951
|
-
"
|
|
1043
|
+
"actionType": json["actionType"],
|
|
952
1044
|
"description": !exists(json, "description") ? void 0 : json["description"],
|
|
953
1045
|
"status": json["status"],
|
|
954
1046
|
"latestVersion": !exists(json, "latestVersion") ? void 0 : json["latestVersion"],
|
|
@@ -967,7 +1059,7 @@ function ActionDefinitionInfoToJSON(value) {
|
|
|
967
1059
|
"id": value.id,
|
|
968
1060
|
"name": value.name,
|
|
969
1061
|
"displayName": value.displayName,
|
|
970
|
-
"
|
|
1062
|
+
"actionType": value.actionType,
|
|
971
1063
|
"description": value.description,
|
|
972
1064
|
"status": value.status,
|
|
973
1065
|
"latestVersion": value.latestVersion,
|
|
@@ -1143,14 +1235,14 @@ function ActivityStatsToJSON(value) {
|
|
|
1143
1235
|
};
|
|
1144
1236
|
}
|
|
1145
1237
|
|
|
1146
|
-
// src/generated/models/
|
|
1147
|
-
var
|
|
1238
|
+
// src/generated/models/AddRolloutStrategy200ResponseData.ts
|
|
1239
|
+
var AddRolloutStrategy200ResponseDataTypeEnum = {
|
|
1148
1240
|
PERCENTAGE: "percentage",
|
|
1149
1241
|
USER_GROUP: "userGroup",
|
|
1150
1242
|
FEATURE: "feature",
|
|
1151
1243
|
GRADUAL: "gradual"
|
|
1152
1244
|
};
|
|
1153
|
-
function
|
|
1245
|
+
function instanceOfAddRolloutStrategy200ResponseData(value) {
|
|
1154
1246
|
let isInstance = true;
|
|
1155
1247
|
isInstance = isInstance && "id" in value;
|
|
1156
1248
|
isInstance = isInstance && "name" in value;
|
|
@@ -1158,10 +1250,10 @@ function instanceOfAddRolloutStrategy201ResponseData(value) {
|
|
|
1158
1250
|
isInstance = isInstance && "config" in value;
|
|
1159
1251
|
return isInstance;
|
|
1160
1252
|
}
|
|
1161
|
-
function
|
|
1162
|
-
return
|
|
1253
|
+
function AddRolloutStrategy200ResponseDataFromJSON(json) {
|
|
1254
|
+
return AddRolloutStrategy200ResponseDataFromJSONTyped(json, false);
|
|
1163
1255
|
}
|
|
1164
|
-
function
|
|
1256
|
+
function AddRolloutStrategy200ResponseDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
1165
1257
|
if (json === void 0 || json === null) {
|
|
1166
1258
|
return json;
|
|
1167
1259
|
}
|
|
@@ -1176,7 +1268,7 @@ function AddRolloutStrategy201ResponseDataFromJSONTyped(json, ignoreDiscriminato
|
|
|
1176
1268
|
"updatedAt": !exists(json, "updatedAt") ? void 0 : new Date(json["updatedAt"])
|
|
1177
1269
|
};
|
|
1178
1270
|
}
|
|
1179
|
-
function
|
|
1271
|
+
function AddRolloutStrategy200ResponseDataToJSON(value) {
|
|
1180
1272
|
if (value === void 0) {
|
|
1181
1273
|
return void 0;
|
|
1182
1274
|
}
|
|
@@ -1195,24 +1287,24 @@ function AddRolloutStrategy201ResponseDataToJSON(value) {
|
|
|
1195
1287
|
};
|
|
1196
1288
|
}
|
|
1197
1289
|
|
|
1198
|
-
// src/generated/models/
|
|
1199
|
-
function
|
|
1290
|
+
// src/generated/models/AddRolloutStrategy200Response.ts
|
|
1291
|
+
function instanceOfAddRolloutStrategy200Response(value) {
|
|
1200
1292
|
let isInstance = true;
|
|
1201
1293
|
return isInstance;
|
|
1202
1294
|
}
|
|
1203
|
-
function
|
|
1204
|
-
return
|
|
1295
|
+
function AddRolloutStrategy200ResponseFromJSON(json) {
|
|
1296
|
+
return AddRolloutStrategy200ResponseFromJSONTyped(json, false);
|
|
1205
1297
|
}
|
|
1206
|
-
function
|
|
1298
|
+
function AddRolloutStrategy200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
1207
1299
|
if (json === void 0 || json === null) {
|
|
1208
1300
|
return json;
|
|
1209
1301
|
}
|
|
1210
1302
|
return {
|
|
1211
1303
|
"success": !exists(json, "success") ? void 0 : json["success"],
|
|
1212
|
-
"data": !exists(json, "data") ? void 0 :
|
|
1304
|
+
"data": !exists(json, "data") ? void 0 : AddRolloutStrategy200ResponseDataFromJSON(json["data"])
|
|
1213
1305
|
};
|
|
1214
1306
|
}
|
|
1215
|
-
function
|
|
1307
|
+
function AddRolloutStrategy200ResponseToJSON(value) {
|
|
1216
1308
|
if (value === void 0) {
|
|
1217
1309
|
return void 0;
|
|
1218
1310
|
}
|
|
@@ -1221,7 +1313,7 @@ function AddRolloutStrategy201ResponseToJSON(value) {
|
|
|
1221
1313
|
}
|
|
1222
1314
|
return {
|
|
1223
1315
|
"success": value.success,
|
|
1224
|
-
"data":
|
|
1316
|
+
"data": AddRolloutStrategy200ResponseDataToJSON(value.data)
|
|
1225
1317
|
};
|
|
1226
1318
|
}
|
|
1227
1319
|
|
|
@@ -1770,22 +1862,29 @@ function ComponentVersionResponseToJSON(value) {
|
|
|
1770
1862
|
}
|
|
1771
1863
|
|
|
1772
1864
|
// src/generated/models/ListActionDefinitions200ResponseDataInner.ts
|
|
1773
|
-
var
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
|
|
1865
|
+
var ListActionDefinitions200ResponseDataInnerActionTypeEnum = {
|
|
1866
|
+
CLAIM: "claim",
|
|
1867
|
+
SIGNIN: "signin",
|
|
1868
|
+
LOTTERY: "lottery",
|
|
1869
|
+
RESERVE: "reserve",
|
|
1870
|
+
BIND: "bind",
|
|
1871
|
+
TASK_COMPLETE: "task_complete",
|
|
1872
|
+
VOTE: "vote",
|
|
1873
|
+
SHARE: "share",
|
|
1874
|
+
FORM_SUBMIT: "form_submit",
|
|
1875
|
+
CUSTOM: "custom"
|
|
1778
1876
|
};
|
|
1779
1877
|
var ListActionDefinitions200ResponseDataInnerStatusEnum = {
|
|
1780
|
-
|
|
1878
|
+
DRAFT: "draft",
|
|
1879
|
+
STABLE: "stable",
|
|
1781
1880
|
DEPRECATED: "deprecated",
|
|
1782
|
-
|
|
1881
|
+
BLOCKED: "blocked"
|
|
1783
1882
|
};
|
|
1784
1883
|
function instanceOfListActionDefinitions200ResponseDataInner(value) {
|
|
1785
1884
|
let isInstance = true;
|
|
1786
1885
|
isInstance = isInstance && "id" in value;
|
|
1787
1886
|
isInstance = isInstance && "name" in value;
|
|
1788
|
-
isInstance = isInstance && "
|
|
1887
|
+
isInstance = isInstance && "actionType" in value;
|
|
1789
1888
|
isInstance = isInstance && "status" in value;
|
|
1790
1889
|
isInstance = isInstance && "createdAt" in value;
|
|
1791
1890
|
return isInstance;
|
|
@@ -1801,7 +1900,7 @@ function ListActionDefinitions200ResponseDataInnerFromJSONTyped(json, ignoreDisc
|
|
|
1801
1900
|
"id": json["id"],
|
|
1802
1901
|
"name": json["name"],
|
|
1803
1902
|
"displayName": !exists(json, "displayName") ? void 0 : json["displayName"],
|
|
1804
|
-
"
|
|
1903
|
+
"actionType": json["actionType"],
|
|
1805
1904
|
"description": !exists(json, "description") ? void 0 : json["description"],
|
|
1806
1905
|
"status": json["status"],
|
|
1807
1906
|
"latestVersion": !exists(json, "latestVersion") ? void 0 : json["latestVersion"],
|
|
@@ -1820,7 +1919,7 @@ function ListActionDefinitions200ResponseDataInnerToJSON(value) {
|
|
|
1820
1919
|
"id": value.id,
|
|
1821
1920
|
"name": value.name,
|
|
1822
1921
|
"displayName": value.displayName,
|
|
1823
|
-
"
|
|
1922
|
+
"actionType": value.actionType,
|
|
1824
1923
|
"description": value.description,
|
|
1825
1924
|
"status": value.status,
|
|
1826
1925
|
"latestVersion": value.latestVersion,
|
|
@@ -1860,16 +1959,22 @@ function CreateActionDefinition201ResponseToJSON(value) {
|
|
|
1860
1959
|
}
|
|
1861
1960
|
|
|
1862
1961
|
// src/generated/models/CreateActionDefinitionRequest.ts
|
|
1863
|
-
var
|
|
1864
|
-
|
|
1865
|
-
|
|
1866
|
-
|
|
1867
|
-
|
|
1962
|
+
var CreateActionDefinitionRequestActionTypeEnum = {
|
|
1963
|
+
CLAIM: "claim",
|
|
1964
|
+
SIGNIN: "signin",
|
|
1965
|
+
LOTTERY: "lottery",
|
|
1966
|
+
RESERVE: "reserve",
|
|
1967
|
+
BIND: "bind",
|
|
1968
|
+
TASK_COMPLETE: "task_complete",
|
|
1969
|
+
VOTE: "vote",
|
|
1970
|
+
SHARE: "share",
|
|
1971
|
+
FORM_SUBMIT: "form_submit",
|
|
1972
|
+
CUSTOM: "custom"
|
|
1868
1973
|
};
|
|
1869
1974
|
function instanceOfCreateActionDefinitionRequest(value) {
|
|
1870
1975
|
let isInstance = true;
|
|
1871
1976
|
isInstance = isInstance && "name" in value;
|
|
1872
|
-
isInstance = isInstance && "
|
|
1977
|
+
isInstance = isInstance && "actionType" in value;
|
|
1873
1978
|
return isInstance;
|
|
1874
1979
|
}
|
|
1875
1980
|
function CreateActionDefinitionRequestFromJSON(json) {
|
|
@@ -1882,7 +1987,7 @@ function CreateActionDefinitionRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
1882
1987
|
return {
|
|
1883
1988
|
"name": json["name"],
|
|
1884
1989
|
"displayName": !exists(json, "displayName") ? void 0 : json["displayName"],
|
|
1885
|
-
"
|
|
1990
|
+
"actionType": json["actionType"],
|
|
1886
1991
|
"description": !exists(json, "description") ? void 0 : json["description"],
|
|
1887
1992
|
"spec": !exists(json, "spec") ? void 0 : json["spec"]
|
|
1888
1993
|
};
|
|
@@ -1897,7 +2002,7 @@ function CreateActionDefinitionRequestToJSON(value) {
|
|
|
1897
2002
|
return {
|
|
1898
2003
|
"name": value.name,
|
|
1899
2004
|
"displayName": value.displayName,
|
|
1900
|
-
"
|
|
2005
|
+
"actionType": value.actionType,
|
|
1901
2006
|
"description": value.description,
|
|
1902
2007
|
"spec": value.spec
|
|
1903
2008
|
};
|
|
@@ -2044,22 +2149,24 @@ function CreateActivityRequestToJSON(value) {
|
|
|
2044
2149
|
}
|
|
2045
2150
|
|
|
2046
2151
|
// src/generated/models/ListDataQueryDefinitions200ResponseDataInner.ts
|
|
2047
|
-
var
|
|
2152
|
+
var ListDataQueryDefinitions200ResponseDataInnerSourceTypeEnum = {
|
|
2048
2153
|
HTTP: "http",
|
|
2049
2154
|
GRAPHQL: "graphql",
|
|
2050
|
-
|
|
2051
|
-
|
|
2155
|
+
DATABASE: "database",
|
|
2156
|
+
INTERNAL: "internal",
|
|
2157
|
+
AGGREGATION: "aggregation"
|
|
2052
2158
|
};
|
|
2053
2159
|
var ListDataQueryDefinitions200ResponseDataInnerStatusEnum = {
|
|
2054
|
-
|
|
2160
|
+
DRAFT: "draft",
|
|
2161
|
+
STABLE: "stable",
|
|
2055
2162
|
DEPRECATED: "deprecated",
|
|
2056
|
-
|
|
2163
|
+
BLOCKED: "blocked"
|
|
2057
2164
|
};
|
|
2058
2165
|
function instanceOfListDataQueryDefinitions200ResponseDataInner(value) {
|
|
2059
2166
|
let isInstance = true;
|
|
2060
2167
|
isInstance = isInstance && "id" in value;
|
|
2061
2168
|
isInstance = isInstance && "name" in value;
|
|
2062
|
-
isInstance = isInstance && "
|
|
2169
|
+
isInstance = isInstance && "sourceType" in value;
|
|
2063
2170
|
isInstance = isInstance && "status" in value;
|
|
2064
2171
|
isInstance = isInstance && "createdAt" in value;
|
|
2065
2172
|
return isInstance;
|
|
@@ -2075,7 +2182,7 @@ function ListDataQueryDefinitions200ResponseDataInnerFromJSONTyped(json, ignoreD
|
|
|
2075
2182
|
"id": json["id"],
|
|
2076
2183
|
"name": json["name"],
|
|
2077
2184
|
"displayName": !exists(json, "displayName") ? void 0 : json["displayName"],
|
|
2078
|
-
"
|
|
2185
|
+
"sourceType": json["sourceType"],
|
|
2079
2186
|
"description": !exists(json, "description") ? void 0 : json["description"],
|
|
2080
2187
|
"status": json["status"],
|
|
2081
2188
|
"latestVersion": !exists(json, "latestVersion") ? void 0 : json["latestVersion"],
|
|
@@ -2094,7 +2201,7 @@ function ListDataQueryDefinitions200ResponseDataInnerToJSON(value) {
|
|
|
2094
2201
|
"id": value.id,
|
|
2095
2202
|
"name": value.name,
|
|
2096
2203
|
"displayName": value.displayName,
|
|
2097
|
-
"
|
|
2204
|
+
"sourceType": value.sourceType,
|
|
2098
2205
|
"description": value.description,
|
|
2099
2206
|
"status": value.status,
|
|
2100
2207
|
"latestVersion": value.latestVersion,
|
|
@@ -2134,16 +2241,17 @@ function CreateDataQueryDefinition201ResponseToJSON(value) {
|
|
|
2134
2241
|
}
|
|
2135
2242
|
|
|
2136
2243
|
// src/generated/models/CreateDataQueryDefinitionRequest.ts
|
|
2137
|
-
var
|
|
2244
|
+
var CreateDataQueryDefinitionRequestSourceTypeEnum = {
|
|
2138
2245
|
HTTP: "http",
|
|
2139
2246
|
GRAPHQL: "graphql",
|
|
2140
|
-
|
|
2141
|
-
|
|
2247
|
+
DATABASE: "database",
|
|
2248
|
+
INTERNAL: "internal",
|
|
2249
|
+
AGGREGATION: "aggregation"
|
|
2142
2250
|
};
|
|
2143
2251
|
function instanceOfCreateDataQueryDefinitionRequest(value) {
|
|
2144
2252
|
let isInstance = true;
|
|
2145
2253
|
isInstance = isInstance && "name" in value;
|
|
2146
|
-
isInstance = isInstance && "
|
|
2254
|
+
isInstance = isInstance && "sourceType" in value;
|
|
2147
2255
|
return isInstance;
|
|
2148
2256
|
}
|
|
2149
2257
|
function CreateDataQueryDefinitionRequestFromJSON(json) {
|
|
@@ -2156,7 +2264,7 @@ function CreateDataQueryDefinitionRequestFromJSONTyped(json, ignoreDiscriminator
|
|
|
2156
2264
|
return {
|
|
2157
2265
|
"name": json["name"],
|
|
2158
2266
|
"displayName": !exists(json, "displayName") ? void 0 : json["displayName"],
|
|
2159
|
-
"
|
|
2267
|
+
"sourceType": json["sourceType"],
|
|
2160
2268
|
"description": !exists(json, "description") ? void 0 : json["description"],
|
|
2161
2269
|
"spec": !exists(json, "spec") ? void 0 : json["spec"]
|
|
2162
2270
|
};
|
|
@@ -2171,7 +2279,7 @@ function CreateDataQueryDefinitionRequestToJSON(value) {
|
|
|
2171
2279
|
return {
|
|
2172
2280
|
"name": value.name,
|
|
2173
2281
|
"displayName": value.displayName,
|
|
2174
|
-
"
|
|
2282
|
+
"sourceType": value.sourceType,
|
|
2175
2283
|
"description": value.description,
|
|
2176
2284
|
"spec": value.spec
|
|
2177
2285
|
};
|
|
@@ -2233,16 +2341,16 @@ function ListPages200ResponseDataInnerToJSON(value) {
|
|
|
2233
2341
|
};
|
|
2234
2342
|
}
|
|
2235
2343
|
|
|
2236
|
-
// src/generated/models/
|
|
2237
|
-
function
|
|
2344
|
+
// src/generated/models/CreatePage200Response.ts
|
|
2345
|
+
function instanceOfCreatePage200Response(value) {
|
|
2238
2346
|
let isInstance = true;
|
|
2239
2347
|
isInstance = isInstance && "data" in value;
|
|
2240
2348
|
return isInstance;
|
|
2241
2349
|
}
|
|
2242
|
-
function
|
|
2243
|
-
return
|
|
2350
|
+
function CreatePage200ResponseFromJSON(json) {
|
|
2351
|
+
return CreatePage200ResponseFromJSONTyped(json, false);
|
|
2244
2352
|
}
|
|
2245
|
-
function
|
|
2353
|
+
function CreatePage200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
2246
2354
|
if (json === void 0 || json === null) {
|
|
2247
2355
|
return json;
|
|
2248
2356
|
}
|
|
@@ -2250,7 +2358,7 @@ function CreatePage201ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
2250
2358
|
"data": ListPages200ResponseDataInnerFromJSON(json["data"])
|
|
2251
2359
|
};
|
|
2252
2360
|
}
|
|
2253
|
-
function
|
|
2361
|
+
function CreatePage200ResponseToJSON(value) {
|
|
2254
2362
|
if (value === void 0) {
|
|
2255
2363
|
return void 0;
|
|
2256
2364
|
}
|
|
@@ -2297,23 +2405,144 @@ function CreatePageRequestToJSON(value) {
|
|
|
2297
2405
|
};
|
|
2298
2406
|
}
|
|
2299
2407
|
|
|
2408
|
+
// src/generated/models/CreatePreviewToken201ResponseData.ts
|
|
2409
|
+
var CreatePreviewToken201ResponseDataDeviceTypeEnum = {
|
|
2410
|
+
MOBILE: "mobile",
|
|
2411
|
+
TABLET: "tablet",
|
|
2412
|
+
DESKTOP: "desktop"
|
|
2413
|
+
};
|
|
2414
|
+
function instanceOfCreatePreviewToken201ResponseData(value) {
|
|
2415
|
+
let isInstance = true;
|
|
2416
|
+
isInstance = isInstance && "token" in value;
|
|
2417
|
+
isInstance = isInstance && "pageId" in value;
|
|
2418
|
+
isInstance = isInstance && "expiresAt" in value;
|
|
2419
|
+
return isInstance;
|
|
2420
|
+
}
|
|
2421
|
+
function CreatePreviewToken201ResponseDataFromJSON(json) {
|
|
2422
|
+
return CreatePreviewToken201ResponseDataFromJSONTyped(json, false);
|
|
2423
|
+
}
|
|
2424
|
+
function CreatePreviewToken201ResponseDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
2425
|
+
if (json === void 0 || json === null) {
|
|
2426
|
+
return json;
|
|
2427
|
+
}
|
|
2428
|
+
return {
|
|
2429
|
+
"token": json["token"],
|
|
2430
|
+
"pageId": json["pageId"],
|
|
2431
|
+
"draftVersion": !exists(json, "draftVersion") ? void 0 : json["draftVersion"],
|
|
2432
|
+
"previewUrl": !exists(json, "previewUrl") ? void 0 : json["previewUrl"],
|
|
2433
|
+
"deviceType": !exists(json, "deviceType") ? void 0 : json["deviceType"],
|
|
2434
|
+
"context": !exists(json, "context") ? void 0 : json["context"],
|
|
2435
|
+
"createdAt": !exists(json, "createdAt") ? void 0 : new Date(json["createdAt"]),
|
|
2436
|
+
"expiresAt": new Date(json["expiresAt"]),
|
|
2437
|
+
"createdBy": !exists(json, "createdBy") ? void 0 : json["createdBy"]
|
|
2438
|
+
};
|
|
2439
|
+
}
|
|
2440
|
+
function CreatePreviewToken201ResponseDataToJSON(value) {
|
|
2441
|
+
if (value === void 0) {
|
|
2442
|
+
return void 0;
|
|
2443
|
+
}
|
|
2444
|
+
if (value === null) {
|
|
2445
|
+
return null;
|
|
2446
|
+
}
|
|
2447
|
+
return {
|
|
2448
|
+
"token": value.token,
|
|
2449
|
+
"pageId": value.pageId,
|
|
2450
|
+
"draftVersion": value.draftVersion,
|
|
2451
|
+
"previewUrl": value.previewUrl,
|
|
2452
|
+
"deviceType": value.deviceType,
|
|
2453
|
+
"context": value.context,
|
|
2454
|
+
"createdAt": value.createdAt === void 0 ? void 0 : value.createdAt.toISOString(),
|
|
2455
|
+
"expiresAt": value.expiresAt.toISOString(),
|
|
2456
|
+
"createdBy": value.createdBy
|
|
2457
|
+
};
|
|
2458
|
+
}
|
|
2459
|
+
|
|
2460
|
+
// src/generated/models/CreatePreviewToken201Response.ts
|
|
2461
|
+
function instanceOfCreatePreviewToken201Response(value) {
|
|
2462
|
+
let isInstance = true;
|
|
2463
|
+
return isInstance;
|
|
2464
|
+
}
|
|
2465
|
+
function CreatePreviewToken201ResponseFromJSON(json) {
|
|
2466
|
+
return CreatePreviewToken201ResponseFromJSONTyped(json, false);
|
|
2467
|
+
}
|
|
2468
|
+
function CreatePreviewToken201ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
2469
|
+
if (json === void 0 || json === null) {
|
|
2470
|
+
return json;
|
|
2471
|
+
}
|
|
2472
|
+
return {
|
|
2473
|
+
"success": !exists(json, "success") ? void 0 : json["success"],
|
|
2474
|
+
"data": !exists(json, "data") ? void 0 : CreatePreviewToken201ResponseDataFromJSON(json["data"])
|
|
2475
|
+
};
|
|
2476
|
+
}
|
|
2477
|
+
function CreatePreviewToken201ResponseToJSON(value) {
|
|
2478
|
+
if (value === void 0) {
|
|
2479
|
+
return void 0;
|
|
2480
|
+
}
|
|
2481
|
+
if (value === null) {
|
|
2482
|
+
return null;
|
|
2483
|
+
}
|
|
2484
|
+
return {
|
|
2485
|
+
"success": value.success,
|
|
2486
|
+
"data": CreatePreviewToken201ResponseDataToJSON(value.data)
|
|
2487
|
+
};
|
|
2488
|
+
}
|
|
2489
|
+
|
|
2490
|
+
// src/generated/models/CreatePreviewTokenRequest.ts
|
|
2491
|
+
var CreatePreviewTokenRequestDeviceTypeEnum = {
|
|
2492
|
+
MOBILE: "mobile",
|
|
2493
|
+
TABLET: "tablet",
|
|
2494
|
+
DESKTOP: "desktop"
|
|
2495
|
+
};
|
|
2496
|
+
function instanceOfCreatePreviewTokenRequest(value) {
|
|
2497
|
+
let isInstance = true;
|
|
2498
|
+
return isInstance;
|
|
2499
|
+
}
|
|
2500
|
+
function CreatePreviewTokenRequestFromJSON(json) {
|
|
2501
|
+
return CreatePreviewTokenRequestFromJSONTyped(json, false);
|
|
2502
|
+
}
|
|
2503
|
+
function CreatePreviewTokenRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
2504
|
+
if (json === void 0 || json === null) {
|
|
2505
|
+
return json;
|
|
2506
|
+
}
|
|
2507
|
+
return {
|
|
2508
|
+
"expiresIn": !exists(json, "expiresIn") ? void 0 : json["expiresIn"],
|
|
2509
|
+
"deviceType": !exists(json, "deviceType") ? void 0 : json["deviceType"],
|
|
2510
|
+
"context": !exists(json, "context") ? void 0 : json["context"]
|
|
2511
|
+
};
|
|
2512
|
+
}
|
|
2513
|
+
function CreatePreviewTokenRequestToJSON(value) {
|
|
2514
|
+
if (value === void 0) {
|
|
2515
|
+
return void 0;
|
|
2516
|
+
}
|
|
2517
|
+
if (value === null) {
|
|
2518
|
+
return null;
|
|
2519
|
+
}
|
|
2520
|
+
return {
|
|
2521
|
+
"expiresIn": value.expiresIn,
|
|
2522
|
+
"deviceType": value.deviceType,
|
|
2523
|
+
"context": value.context
|
|
2524
|
+
};
|
|
2525
|
+
}
|
|
2526
|
+
|
|
2300
2527
|
// src/generated/models/DataQueryDefinitionDetail.ts
|
|
2301
|
-
var
|
|
2528
|
+
var DataQueryDefinitionDetailSourceTypeEnum = {
|
|
2302
2529
|
HTTP: "http",
|
|
2303
2530
|
GRAPHQL: "graphql",
|
|
2304
|
-
|
|
2305
|
-
|
|
2531
|
+
DATABASE: "database",
|
|
2532
|
+
INTERNAL: "internal",
|
|
2533
|
+
AGGREGATION: "aggregation"
|
|
2306
2534
|
};
|
|
2307
2535
|
var DataQueryDefinitionDetailStatusEnum = {
|
|
2308
|
-
|
|
2536
|
+
DRAFT: "draft",
|
|
2537
|
+
STABLE: "stable",
|
|
2309
2538
|
DEPRECATED: "deprecated",
|
|
2310
|
-
|
|
2539
|
+
BLOCKED: "blocked"
|
|
2311
2540
|
};
|
|
2312
2541
|
function instanceOfDataQueryDefinitionDetail(value) {
|
|
2313
2542
|
let isInstance = true;
|
|
2314
2543
|
isInstance = isInstance && "id" in value;
|
|
2315
2544
|
isInstance = isInstance && "name" in value;
|
|
2316
|
-
isInstance = isInstance && "
|
|
2545
|
+
isInstance = isInstance && "sourceType" in value;
|
|
2317
2546
|
isInstance = isInstance && "status" in value;
|
|
2318
2547
|
isInstance = isInstance && "spec" in value;
|
|
2319
2548
|
isInstance = isInstance && "createdAt" in value;
|
|
@@ -2330,7 +2559,7 @@ function DataQueryDefinitionDetailFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
2330
2559
|
"id": json["id"],
|
|
2331
2560
|
"name": json["name"],
|
|
2332
2561
|
"displayName": !exists(json, "displayName") ? void 0 : json["displayName"],
|
|
2333
|
-
"
|
|
2562
|
+
"sourceType": json["sourceType"],
|
|
2334
2563
|
"description": !exists(json, "description") ? void 0 : json["description"],
|
|
2335
2564
|
"status": json["status"],
|
|
2336
2565
|
"spec": json["spec"],
|
|
@@ -2350,7 +2579,7 @@ function DataQueryDefinitionDetailToJSON(value) {
|
|
|
2350
2579
|
"id": value.id,
|
|
2351
2580
|
"name": value.name,
|
|
2352
2581
|
"displayName": value.displayName,
|
|
2353
|
-
"
|
|
2582
|
+
"sourceType": value.sourceType,
|
|
2354
2583
|
"description": value.description,
|
|
2355
2584
|
"status": value.status,
|
|
2356
2585
|
"spec": value.spec,
|
|
@@ -2361,22 +2590,24 @@ function DataQueryDefinitionDetailToJSON(value) {
|
|
|
2361
2590
|
}
|
|
2362
2591
|
|
|
2363
2592
|
// src/generated/models/DataQueryDefinitionInfo.ts
|
|
2364
|
-
var
|
|
2593
|
+
var DataQueryDefinitionInfoSourceTypeEnum = {
|
|
2365
2594
|
HTTP: "http",
|
|
2366
2595
|
GRAPHQL: "graphql",
|
|
2367
|
-
|
|
2368
|
-
|
|
2596
|
+
DATABASE: "database",
|
|
2597
|
+
INTERNAL: "internal",
|
|
2598
|
+
AGGREGATION: "aggregation"
|
|
2369
2599
|
};
|
|
2370
2600
|
var DataQueryDefinitionInfoStatusEnum = {
|
|
2371
|
-
|
|
2601
|
+
DRAFT: "draft",
|
|
2602
|
+
STABLE: "stable",
|
|
2372
2603
|
DEPRECATED: "deprecated",
|
|
2373
|
-
|
|
2604
|
+
BLOCKED: "blocked"
|
|
2374
2605
|
};
|
|
2375
2606
|
function instanceOfDataQueryDefinitionInfo(value) {
|
|
2376
2607
|
let isInstance = true;
|
|
2377
2608
|
isInstance = isInstance && "id" in value;
|
|
2378
2609
|
isInstance = isInstance && "name" in value;
|
|
2379
|
-
isInstance = isInstance && "
|
|
2610
|
+
isInstance = isInstance && "sourceType" in value;
|
|
2380
2611
|
isInstance = isInstance && "status" in value;
|
|
2381
2612
|
isInstance = isInstance && "createdAt" in value;
|
|
2382
2613
|
return isInstance;
|
|
@@ -2392,7 +2623,7 @@ function DataQueryDefinitionInfoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
2392
2623
|
"id": json["id"],
|
|
2393
2624
|
"name": json["name"],
|
|
2394
2625
|
"displayName": !exists(json, "displayName") ? void 0 : json["displayName"],
|
|
2395
|
-
"
|
|
2626
|
+
"sourceType": json["sourceType"],
|
|
2396
2627
|
"description": !exists(json, "description") ? void 0 : json["description"],
|
|
2397
2628
|
"status": json["status"],
|
|
2398
2629
|
"latestVersion": !exists(json, "latestVersion") ? void 0 : json["latestVersion"],
|
|
@@ -2411,7 +2642,7 @@ function DataQueryDefinitionInfoToJSON(value) {
|
|
|
2411
2642
|
"id": value.id,
|
|
2412
2643
|
"name": value.name,
|
|
2413
2644
|
"displayName": value.displayName,
|
|
2414
|
-
"
|
|
2645
|
+
"sourceType": value.sourceType,
|
|
2415
2646
|
"description": value.description,
|
|
2416
2647
|
"status": value.status,
|
|
2417
2648
|
"latestVersion": value.latestVersion,
|
|
@@ -2422,9 +2653,10 @@ function DataQueryDefinitionInfoToJSON(value) {
|
|
|
2422
2653
|
|
|
2423
2654
|
// src/generated/models/DefinitionVersionInfo.ts
|
|
2424
2655
|
var DefinitionVersionInfoStatusEnum = {
|
|
2425
|
-
|
|
2656
|
+
DRAFT: "draft",
|
|
2657
|
+
STABLE: "stable",
|
|
2426
2658
|
DEPRECATED: "deprecated",
|
|
2427
|
-
|
|
2659
|
+
BLOCKED: "blocked"
|
|
2428
2660
|
};
|
|
2429
2661
|
function instanceOfDefinitionVersionInfo(value) {
|
|
2430
2662
|
let isInstance = true;
|
|
@@ -2469,6 +2701,92 @@ function DefinitionVersionInfoToJSON(value) {
|
|
|
2469
2701
|
};
|
|
2470
2702
|
}
|
|
2471
2703
|
|
|
2704
|
+
// src/generated/models/DeletePage200Response.ts
|
|
2705
|
+
function instanceOfDeletePage200Response(value) {
|
|
2706
|
+
let isInstance = true;
|
|
2707
|
+
return isInstance;
|
|
2708
|
+
}
|
|
2709
|
+
function DeletePage200ResponseFromJSON(json) {
|
|
2710
|
+
return DeletePage200ResponseFromJSONTyped(json, false);
|
|
2711
|
+
}
|
|
2712
|
+
function DeletePage200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
2713
|
+
if (json === void 0 || json === null) {
|
|
2714
|
+
return json;
|
|
2715
|
+
}
|
|
2716
|
+
return {
|
|
2717
|
+
"success": !exists(json, "success") ? void 0 : json["success"],
|
|
2718
|
+
"message": !exists(json, "message") ? void 0 : json["message"]
|
|
2719
|
+
};
|
|
2720
|
+
}
|
|
2721
|
+
function DeletePage200ResponseToJSON(value) {
|
|
2722
|
+
if (value === void 0) {
|
|
2723
|
+
return void 0;
|
|
2724
|
+
}
|
|
2725
|
+
if (value === null) {
|
|
2726
|
+
return null;
|
|
2727
|
+
}
|
|
2728
|
+
return {
|
|
2729
|
+
"success": value.success,
|
|
2730
|
+
"message": value.message
|
|
2731
|
+
};
|
|
2732
|
+
}
|
|
2733
|
+
|
|
2734
|
+
// src/generated/models/DeletePageRequest.ts
|
|
2735
|
+
function instanceOfDeletePageRequest(value) {
|
|
2736
|
+
let isInstance = true;
|
|
2737
|
+
return isInstance;
|
|
2738
|
+
}
|
|
2739
|
+
function DeletePageRequestFromJSON(json) {
|
|
2740
|
+
return DeletePageRequestFromJSONTyped(json, false);
|
|
2741
|
+
}
|
|
2742
|
+
function DeletePageRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
2743
|
+
if (json === void 0 || json === null) {
|
|
2744
|
+
return json;
|
|
2745
|
+
}
|
|
2746
|
+
return {
|
|
2747
|
+
"reason": !exists(json, "reason") ? void 0 : json["reason"]
|
|
2748
|
+
};
|
|
2749
|
+
}
|
|
2750
|
+
function DeletePageRequestToJSON(value) {
|
|
2751
|
+
if (value === void 0) {
|
|
2752
|
+
return void 0;
|
|
2753
|
+
}
|
|
2754
|
+
if (value === null) {
|
|
2755
|
+
return null;
|
|
2756
|
+
}
|
|
2757
|
+
return {
|
|
2758
|
+
"reason": value.reason
|
|
2759
|
+
};
|
|
2760
|
+
}
|
|
2761
|
+
|
|
2762
|
+
// src/generated/models/DiscardDraftRequest.ts
|
|
2763
|
+
function instanceOfDiscardDraftRequest(value) {
|
|
2764
|
+
let isInstance = true;
|
|
2765
|
+
return isInstance;
|
|
2766
|
+
}
|
|
2767
|
+
function DiscardDraftRequestFromJSON(json) {
|
|
2768
|
+
return DiscardDraftRequestFromJSONTyped(json, false);
|
|
2769
|
+
}
|
|
2770
|
+
function DiscardDraftRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
2771
|
+
if (json === void 0 || json === null) {
|
|
2772
|
+
return json;
|
|
2773
|
+
}
|
|
2774
|
+
return {
|
|
2775
|
+
"reason": !exists(json, "reason") ? void 0 : json["reason"]
|
|
2776
|
+
};
|
|
2777
|
+
}
|
|
2778
|
+
function DiscardDraftRequestToJSON(value) {
|
|
2779
|
+
if (value === void 0) {
|
|
2780
|
+
return void 0;
|
|
2781
|
+
}
|
|
2782
|
+
if (value === null) {
|
|
2783
|
+
return null;
|
|
2784
|
+
}
|
|
2785
|
+
return {
|
|
2786
|
+
"reason": value.reason
|
|
2787
|
+
};
|
|
2788
|
+
}
|
|
2789
|
+
|
|
2472
2790
|
// src/generated/models/GetDraft200ResponseDataLockInfo.ts
|
|
2473
2791
|
function instanceOfGetDraft200ResponseDataLockInfo(value) {
|
|
2474
2792
|
let isInstance = true;
|
|
@@ -2711,22 +3029,29 @@ function ErrorResponseToJSON(value) {
|
|
|
2711
3029
|
}
|
|
2712
3030
|
|
|
2713
3031
|
// src/generated/models/GetActionDefinition200ResponseData.ts
|
|
2714
|
-
var
|
|
2715
|
-
|
|
2716
|
-
|
|
2717
|
-
|
|
2718
|
-
|
|
3032
|
+
var GetActionDefinition200ResponseDataActionTypeEnum = {
|
|
3033
|
+
CLAIM: "claim",
|
|
3034
|
+
SIGNIN: "signin",
|
|
3035
|
+
LOTTERY: "lottery",
|
|
3036
|
+
RESERVE: "reserve",
|
|
3037
|
+
BIND: "bind",
|
|
3038
|
+
TASK_COMPLETE: "task_complete",
|
|
3039
|
+
VOTE: "vote",
|
|
3040
|
+
SHARE: "share",
|
|
3041
|
+
FORM_SUBMIT: "form_submit",
|
|
3042
|
+
CUSTOM: "custom"
|
|
2719
3043
|
};
|
|
2720
3044
|
var GetActionDefinition200ResponseDataStatusEnum = {
|
|
2721
|
-
|
|
3045
|
+
DRAFT: "draft",
|
|
3046
|
+
STABLE: "stable",
|
|
2722
3047
|
DEPRECATED: "deprecated",
|
|
2723
|
-
|
|
3048
|
+
BLOCKED: "blocked"
|
|
2724
3049
|
};
|
|
2725
3050
|
function instanceOfGetActionDefinition200ResponseData(value) {
|
|
2726
3051
|
let isInstance = true;
|
|
2727
3052
|
isInstance = isInstance && "id" in value;
|
|
2728
3053
|
isInstance = isInstance && "name" in value;
|
|
2729
|
-
isInstance = isInstance && "
|
|
3054
|
+
isInstance = isInstance && "actionType" in value;
|
|
2730
3055
|
isInstance = isInstance && "status" in value;
|
|
2731
3056
|
isInstance = isInstance && "spec" in value;
|
|
2732
3057
|
isInstance = isInstance && "createdAt" in value;
|
|
@@ -2743,7 +3068,7 @@ function GetActionDefinition200ResponseDataFromJSONTyped(json, ignoreDiscriminat
|
|
|
2743
3068
|
"id": json["id"],
|
|
2744
3069
|
"name": json["name"],
|
|
2745
3070
|
"displayName": !exists(json, "displayName") ? void 0 : json["displayName"],
|
|
2746
|
-
"
|
|
3071
|
+
"actionType": json["actionType"],
|
|
2747
3072
|
"description": !exists(json, "description") ? void 0 : json["description"],
|
|
2748
3073
|
"status": json["status"],
|
|
2749
3074
|
"spec": json["spec"],
|
|
@@ -2763,7 +3088,7 @@ function GetActionDefinition200ResponseDataToJSON(value) {
|
|
|
2763
3088
|
"id": value.id,
|
|
2764
3089
|
"name": value.name,
|
|
2765
3090
|
"displayName": value.displayName,
|
|
2766
|
-
"
|
|
3091
|
+
"actionType": value.actionType,
|
|
2767
3092
|
"description": value.description,
|
|
2768
3093
|
"status": value.status,
|
|
2769
3094
|
"spec": value.spec,
|
|
@@ -3122,22 +3447,24 @@ function GetAuditStats200ResponseToJSON(value) {
|
|
|
3122
3447
|
}
|
|
3123
3448
|
|
|
3124
3449
|
// src/generated/models/GetDataQueryDefinition200ResponseData.ts
|
|
3125
|
-
var
|
|
3450
|
+
var GetDataQueryDefinition200ResponseDataSourceTypeEnum = {
|
|
3126
3451
|
HTTP: "http",
|
|
3127
3452
|
GRAPHQL: "graphql",
|
|
3128
|
-
|
|
3129
|
-
|
|
3453
|
+
DATABASE: "database",
|
|
3454
|
+
INTERNAL: "internal",
|
|
3455
|
+
AGGREGATION: "aggregation"
|
|
3130
3456
|
};
|
|
3131
3457
|
var GetDataQueryDefinition200ResponseDataStatusEnum = {
|
|
3132
|
-
|
|
3458
|
+
DRAFT: "draft",
|
|
3459
|
+
STABLE: "stable",
|
|
3133
3460
|
DEPRECATED: "deprecated",
|
|
3134
|
-
|
|
3461
|
+
BLOCKED: "blocked"
|
|
3135
3462
|
};
|
|
3136
3463
|
function instanceOfGetDataQueryDefinition200ResponseData(value) {
|
|
3137
3464
|
let isInstance = true;
|
|
3138
3465
|
isInstance = isInstance && "id" in value;
|
|
3139
3466
|
isInstance = isInstance && "name" in value;
|
|
3140
|
-
isInstance = isInstance && "
|
|
3467
|
+
isInstance = isInstance && "sourceType" in value;
|
|
3141
3468
|
isInstance = isInstance && "status" in value;
|
|
3142
3469
|
isInstance = isInstance && "spec" in value;
|
|
3143
3470
|
isInstance = isInstance && "createdAt" in value;
|
|
@@ -3154,7 +3481,7 @@ function GetDataQueryDefinition200ResponseDataFromJSONTyped(json, ignoreDiscrimi
|
|
|
3154
3481
|
"id": json["id"],
|
|
3155
3482
|
"name": json["name"],
|
|
3156
3483
|
"displayName": !exists(json, "displayName") ? void 0 : json["displayName"],
|
|
3157
|
-
"
|
|
3484
|
+
"sourceType": json["sourceType"],
|
|
3158
3485
|
"description": !exists(json, "description") ? void 0 : json["description"],
|
|
3159
3486
|
"status": json["status"],
|
|
3160
3487
|
"spec": json["spec"],
|
|
@@ -3174,7 +3501,7 @@ function GetDataQueryDefinition200ResponseDataToJSON(value) {
|
|
|
3174
3501
|
"id": value.id,
|
|
3175
3502
|
"name": value.name,
|
|
3176
3503
|
"displayName": value.displayName,
|
|
3177
|
-
"
|
|
3504
|
+
"sourceType": value.sourceType,
|
|
3178
3505
|
"description": value.description,
|
|
3179
3506
|
"status": value.status,
|
|
3180
3507
|
"spec": value.spec,
|
|
@@ -3520,24 +3847,30 @@ function GetVersion200ResponseToJSON(value) {
|
|
|
3520
3847
|
};
|
|
3521
3848
|
}
|
|
3522
3849
|
|
|
3523
|
-
// src/generated/models/
|
|
3524
|
-
|
|
3850
|
+
// src/generated/models/HealthCheck200ResponseDependenciesValue.ts
|
|
3851
|
+
var HealthCheck200ResponseDependenciesValueStatusEnum = {
|
|
3852
|
+
HEALTHY: "healthy",
|
|
3853
|
+
DEGRADED: "degraded",
|
|
3854
|
+
UNHEALTHY: "unhealthy"
|
|
3855
|
+
};
|
|
3856
|
+
function instanceOfHealthCheck200ResponseDependenciesValue(value) {
|
|
3525
3857
|
let isInstance = true;
|
|
3526
|
-
isInstance = isInstance && "data" in value;
|
|
3527
3858
|
return isInstance;
|
|
3528
3859
|
}
|
|
3529
|
-
function
|
|
3530
|
-
return
|
|
3860
|
+
function HealthCheck200ResponseDependenciesValueFromJSON(json) {
|
|
3861
|
+
return HealthCheck200ResponseDependenciesValueFromJSONTyped(json, false);
|
|
3531
3862
|
}
|
|
3532
|
-
function
|
|
3863
|
+
function HealthCheck200ResponseDependenciesValueFromJSONTyped(json, ignoreDiscriminator) {
|
|
3533
3864
|
if (json === void 0 || json === null) {
|
|
3534
3865
|
return json;
|
|
3535
3866
|
}
|
|
3536
3867
|
return {
|
|
3537
|
-
"
|
|
3868
|
+
"status": !exists(json, "status") ? void 0 : json["status"],
|
|
3869
|
+
"latency": !exists(json, "latency") ? void 0 : json["latency"],
|
|
3870
|
+
"message": !exists(json, "message") ? void 0 : json["message"]
|
|
3538
3871
|
};
|
|
3539
3872
|
}
|
|
3540
|
-
function
|
|
3873
|
+
function HealthCheck200ResponseDependenciesValueToJSON(value) {
|
|
3541
3874
|
if (value === void 0) {
|
|
3542
3875
|
return void 0;
|
|
3543
3876
|
}
|
|
@@ -3545,29 +3878,40 @@ function KillSwitchStatusResponseToJSON(value) {
|
|
|
3545
3878
|
return null;
|
|
3546
3879
|
}
|
|
3547
3880
|
return {
|
|
3548
|
-
"
|
|
3881
|
+
"status": value.status,
|
|
3882
|
+
"latency": value.latency,
|
|
3883
|
+
"message": value.message
|
|
3549
3884
|
};
|
|
3550
3885
|
}
|
|
3551
3886
|
|
|
3552
|
-
// src/generated/models/
|
|
3553
|
-
|
|
3887
|
+
// src/generated/models/HealthCheck200Response.ts
|
|
3888
|
+
var HealthCheck200ResponseStatusEnum = {
|
|
3889
|
+
HEALTHY: "healthy",
|
|
3890
|
+
DEGRADED: "degraded",
|
|
3891
|
+
UNHEALTHY: "unhealthy"
|
|
3892
|
+
};
|
|
3893
|
+
function instanceOfHealthCheck200Response(value) {
|
|
3554
3894
|
let isInstance = true;
|
|
3895
|
+
isInstance = isInstance && "status" in value;
|
|
3896
|
+
isInstance = isInstance && "version" in value;
|
|
3555
3897
|
return isInstance;
|
|
3556
3898
|
}
|
|
3557
|
-
function
|
|
3558
|
-
return
|
|
3899
|
+
function HealthCheck200ResponseFromJSON(json) {
|
|
3900
|
+
return HealthCheck200ResponseFromJSONTyped(json, false);
|
|
3559
3901
|
}
|
|
3560
|
-
function
|
|
3902
|
+
function HealthCheck200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
3561
3903
|
if (json === void 0 || json === null) {
|
|
3562
3904
|
return json;
|
|
3563
3905
|
}
|
|
3564
3906
|
return {
|
|
3565
|
-
"
|
|
3566
|
-
"
|
|
3567
|
-
"
|
|
3907
|
+
"status": json["status"],
|
|
3908
|
+
"version": json["version"],
|
|
3909
|
+
"uptime": !exists(json, "uptime") ? void 0 : json["uptime"],
|
|
3910
|
+
"timestamp": !exists(json, "timestamp") ? void 0 : new Date(json["timestamp"]),
|
|
3911
|
+
"dependencies": !exists(json, "dependencies") ? void 0 : mapValues(json["dependencies"], HealthCheck200ResponseDependenciesValueFromJSON)
|
|
3568
3912
|
};
|
|
3569
3913
|
}
|
|
3570
|
-
function
|
|
3914
|
+
function HealthCheck200ResponseToJSON(value) {
|
|
3571
3915
|
if (value === void 0) {
|
|
3572
3916
|
return void 0;
|
|
3573
3917
|
}
|
|
@@ -3575,14 +3919,120 @@ function ListActionDefinitionVersions200ResponseToJSON(value) {
|
|
|
3575
3919
|
return null;
|
|
3576
3920
|
}
|
|
3577
3921
|
return {
|
|
3578
|
-
"
|
|
3579
|
-
"
|
|
3580
|
-
"
|
|
3922
|
+
"status": value.status,
|
|
3923
|
+
"version": value.version,
|
|
3924
|
+
"uptime": value.uptime,
|
|
3925
|
+
"timestamp": value.timestamp === void 0 ? void 0 : value.timestamp.toISOString(),
|
|
3926
|
+
"dependencies": value.dependencies === void 0 ? void 0 : mapValues(value.dependencies, HealthCheck200ResponseDependenciesValueToJSON)
|
|
3581
3927
|
};
|
|
3582
3928
|
}
|
|
3583
3929
|
|
|
3584
|
-
// src/generated/models/
|
|
3585
|
-
|
|
3930
|
+
// src/generated/models/HealthResponse.ts
|
|
3931
|
+
var HealthResponseStatusEnum = {
|
|
3932
|
+
HEALTHY: "healthy",
|
|
3933
|
+
DEGRADED: "degraded",
|
|
3934
|
+
UNHEALTHY: "unhealthy"
|
|
3935
|
+
};
|
|
3936
|
+
function instanceOfHealthResponse(value) {
|
|
3937
|
+
let isInstance = true;
|
|
3938
|
+
isInstance = isInstance && "status" in value;
|
|
3939
|
+
isInstance = isInstance && "version" in value;
|
|
3940
|
+
return isInstance;
|
|
3941
|
+
}
|
|
3942
|
+
function HealthResponseFromJSON(json) {
|
|
3943
|
+
return HealthResponseFromJSONTyped(json, false);
|
|
3944
|
+
}
|
|
3945
|
+
function HealthResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
3946
|
+
if (json === void 0 || json === null) {
|
|
3947
|
+
return json;
|
|
3948
|
+
}
|
|
3949
|
+
return {
|
|
3950
|
+
"status": json["status"],
|
|
3951
|
+
"version": json["version"],
|
|
3952
|
+
"uptime": !exists(json, "uptime") ? void 0 : json["uptime"],
|
|
3953
|
+
"timestamp": !exists(json, "timestamp") ? void 0 : new Date(json["timestamp"]),
|
|
3954
|
+
"dependencies": !exists(json, "dependencies") ? void 0 : mapValues(json["dependencies"], HealthCheck200ResponseDependenciesValueFromJSON)
|
|
3955
|
+
};
|
|
3956
|
+
}
|
|
3957
|
+
function HealthResponseToJSON(value) {
|
|
3958
|
+
if (value === void 0) {
|
|
3959
|
+
return void 0;
|
|
3960
|
+
}
|
|
3961
|
+
if (value === null) {
|
|
3962
|
+
return null;
|
|
3963
|
+
}
|
|
3964
|
+
return {
|
|
3965
|
+
"status": value.status,
|
|
3966
|
+
"version": value.version,
|
|
3967
|
+
"uptime": value.uptime,
|
|
3968
|
+
"timestamp": value.timestamp === void 0 ? void 0 : value.timestamp.toISOString(),
|
|
3969
|
+
"dependencies": value.dependencies === void 0 ? void 0 : mapValues(value.dependencies, HealthCheck200ResponseDependenciesValueToJSON)
|
|
3970
|
+
};
|
|
3971
|
+
}
|
|
3972
|
+
|
|
3973
|
+
// src/generated/models/KillSwitchStatusResponse.ts
|
|
3974
|
+
function instanceOfKillSwitchStatusResponse(value) {
|
|
3975
|
+
let isInstance = true;
|
|
3976
|
+
isInstance = isInstance && "data" in value;
|
|
3977
|
+
return isInstance;
|
|
3978
|
+
}
|
|
3979
|
+
function KillSwitchStatusResponseFromJSON(json) {
|
|
3980
|
+
return KillSwitchStatusResponseFromJSONTyped(json, false);
|
|
3981
|
+
}
|
|
3982
|
+
function KillSwitchStatusResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
3983
|
+
if (json === void 0 || json === null) {
|
|
3984
|
+
return json;
|
|
3985
|
+
}
|
|
3986
|
+
return {
|
|
3987
|
+
"data": GetKillSwitchStatus200ResponseDataFromJSON(json["data"])
|
|
3988
|
+
};
|
|
3989
|
+
}
|
|
3990
|
+
function KillSwitchStatusResponseToJSON(value) {
|
|
3991
|
+
if (value === void 0) {
|
|
3992
|
+
return void 0;
|
|
3993
|
+
}
|
|
3994
|
+
if (value === null) {
|
|
3995
|
+
return null;
|
|
3996
|
+
}
|
|
3997
|
+
return {
|
|
3998
|
+
"data": GetKillSwitchStatus200ResponseDataToJSON(value.data)
|
|
3999
|
+
};
|
|
4000
|
+
}
|
|
4001
|
+
|
|
4002
|
+
// src/generated/models/ListActionDefinitionVersions200Response.ts
|
|
4003
|
+
function instanceOfListActionDefinitionVersions200Response(value) {
|
|
4004
|
+
let isInstance = true;
|
|
4005
|
+
return isInstance;
|
|
4006
|
+
}
|
|
4007
|
+
function ListActionDefinitionVersions200ResponseFromJSON(json) {
|
|
4008
|
+
return ListActionDefinitionVersions200ResponseFromJSONTyped(json, false);
|
|
4009
|
+
}
|
|
4010
|
+
function ListActionDefinitionVersions200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
4011
|
+
if (json === void 0 || json === null) {
|
|
4012
|
+
return json;
|
|
4013
|
+
}
|
|
4014
|
+
return {
|
|
4015
|
+
"success": !exists(json, "success") ? void 0 : json["success"],
|
|
4016
|
+
"data": !exists(json, "data") ? void 0 : json["data"].map(GetActionDefinition200ResponseDataVersionsInnerFromJSON),
|
|
4017
|
+
"meta": !exists(json, "meta") ? void 0 : ListPages200ResponseMetaFromJSON(json["meta"])
|
|
4018
|
+
};
|
|
4019
|
+
}
|
|
4020
|
+
function ListActionDefinitionVersions200ResponseToJSON(value) {
|
|
4021
|
+
if (value === void 0) {
|
|
4022
|
+
return void 0;
|
|
4023
|
+
}
|
|
4024
|
+
if (value === null) {
|
|
4025
|
+
return null;
|
|
4026
|
+
}
|
|
4027
|
+
return {
|
|
4028
|
+
"success": value.success,
|
|
4029
|
+
"data": value.data === void 0 ? void 0 : value.data.map(GetActionDefinition200ResponseDataVersionsInnerToJSON),
|
|
4030
|
+
"meta": ListPages200ResponseMetaToJSON(value.meta)
|
|
4031
|
+
};
|
|
4032
|
+
}
|
|
4033
|
+
|
|
4034
|
+
// src/generated/models/ListActionDefinitions200Response.ts
|
|
4035
|
+
function instanceOfListActionDefinitions200Response(value) {
|
|
3586
4036
|
let isInstance = true;
|
|
3587
4037
|
return isInstance;
|
|
3588
4038
|
}
|
|
@@ -3919,6 +4369,36 @@ function ListPages401ResponseToJSON(value) {
|
|
|
3919
4369
|
};
|
|
3920
4370
|
}
|
|
3921
4371
|
|
|
4372
|
+
// src/generated/models/ListPreviewTokens200Response.ts
|
|
4373
|
+
function instanceOfListPreviewTokens200Response(value) {
|
|
4374
|
+
let isInstance = true;
|
|
4375
|
+
return isInstance;
|
|
4376
|
+
}
|
|
4377
|
+
function ListPreviewTokens200ResponseFromJSON(json) {
|
|
4378
|
+
return ListPreviewTokens200ResponseFromJSONTyped(json, false);
|
|
4379
|
+
}
|
|
4380
|
+
function ListPreviewTokens200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
4381
|
+
if (json === void 0 || json === null) {
|
|
4382
|
+
return json;
|
|
4383
|
+
}
|
|
4384
|
+
return {
|
|
4385
|
+
"success": !exists(json, "success") ? void 0 : json["success"],
|
|
4386
|
+
"data": !exists(json, "data") ? void 0 : json["data"].map(CreatePreviewToken201ResponseDataFromJSON)
|
|
4387
|
+
};
|
|
4388
|
+
}
|
|
4389
|
+
function ListPreviewTokens200ResponseToJSON(value) {
|
|
4390
|
+
if (value === void 0) {
|
|
4391
|
+
return void 0;
|
|
4392
|
+
}
|
|
4393
|
+
if (value === null) {
|
|
4394
|
+
return null;
|
|
4395
|
+
}
|
|
4396
|
+
return {
|
|
4397
|
+
"success": value.success,
|
|
4398
|
+
"data": value.data === void 0 ? void 0 : value.data.map(CreatePreviewToken201ResponseDataToJSON)
|
|
4399
|
+
};
|
|
4400
|
+
}
|
|
4401
|
+
|
|
3922
4402
|
// src/generated/models/ListVersions200ResponseDataInner.ts
|
|
3923
4403
|
var ListVersions200ResponseDataInnerStatusEnum = {
|
|
3924
4404
|
ACTIVE: "active",
|
|
@@ -4002,6 +4482,34 @@ function ListVersions200ResponseToJSON(value) {
|
|
|
4002
4482
|
};
|
|
4003
4483
|
}
|
|
4004
4484
|
|
|
4485
|
+
// src/generated/models/LivenessCheck200Response.ts
|
|
4486
|
+
function instanceOfLivenessCheck200Response(value) {
|
|
4487
|
+
let isInstance = true;
|
|
4488
|
+
return isInstance;
|
|
4489
|
+
}
|
|
4490
|
+
function LivenessCheck200ResponseFromJSON(json) {
|
|
4491
|
+
return LivenessCheck200ResponseFromJSONTyped(json, false);
|
|
4492
|
+
}
|
|
4493
|
+
function LivenessCheck200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
4494
|
+
if (json === void 0 || json === null) {
|
|
4495
|
+
return json;
|
|
4496
|
+
}
|
|
4497
|
+
return {
|
|
4498
|
+
"alive": !exists(json, "alive") ? void 0 : json["alive"]
|
|
4499
|
+
};
|
|
4500
|
+
}
|
|
4501
|
+
function LivenessCheck200ResponseToJSON(value) {
|
|
4502
|
+
if (value === void 0) {
|
|
4503
|
+
return void 0;
|
|
4504
|
+
}
|
|
4505
|
+
if (value === null) {
|
|
4506
|
+
return null;
|
|
4507
|
+
}
|
|
4508
|
+
return {
|
|
4509
|
+
"alive": value.alive
|
|
4510
|
+
};
|
|
4511
|
+
}
|
|
4512
|
+
|
|
4005
4513
|
// src/generated/models/LockInfo.ts
|
|
4006
4514
|
function instanceOfLockInfo(value) {
|
|
4007
4515
|
let isInstance = true;
|
|
@@ -4218,6 +4726,58 @@ function PaginationMetaToJSON(value) {
|
|
|
4218
4726
|
};
|
|
4219
4727
|
}
|
|
4220
4728
|
|
|
4729
|
+
// src/generated/models/PreviewTokenInfo.ts
|
|
4730
|
+
var PreviewTokenInfoDeviceTypeEnum = {
|
|
4731
|
+
MOBILE: "mobile",
|
|
4732
|
+
TABLET: "tablet",
|
|
4733
|
+
DESKTOP: "desktop"
|
|
4734
|
+
};
|
|
4735
|
+
function instanceOfPreviewTokenInfo(value) {
|
|
4736
|
+
let isInstance = true;
|
|
4737
|
+
isInstance = isInstance && "token" in value;
|
|
4738
|
+
isInstance = isInstance && "pageId" in value;
|
|
4739
|
+
isInstance = isInstance && "expiresAt" in value;
|
|
4740
|
+
return isInstance;
|
|
4741
|
+
}
|
|
4742
|
+
function PreviewTokenInfoFromJSON(json) {
|
|
4743
|
+
return PreviewTokenInfoFromJSONTyped(json, false);
|
|
4744
|
+
}
|
|
4745
|
+
function PreviewTokenInfoFromJSONTyped(json, ignoreDiscriminator) {
|
|
4746
|
+
if (json === void 0 || json === null) {
|
|
4747
|
+
return json;
|
|
4748
|
+
}
|
|
4749
|
+
return {
|
|
4750
|
+
"token": json["token"],
|
|
4751
|
+
"pageId": json["pageId"],
|
|
4752
|
+
"draftVersion": !exists(json, "draftVersion") ? void 0 : json["draftVersion"],
|
|
4753
|
+
"previewUrl": !exists(json, "previewUrl") ? void 0 : json["previewUrl"],
|
|
4754
|
+
"deviceType": !exists(json, "deviceType") ? void 0 : json["deviceType"],
|
|
4755
|
+
"context": !exists(json, "context") ? void 0 : json["context"],
|
|
4756
|
+
"createdAt": !exists(json, "createdAt") ? void 0 : new Date(json["createdAt"]),
|
|
4757
|
+
"expiresAt": new Date(json["expiresAt"]),
|
|
4758
|
+
"createdBy": !exists(json, "createdBy") ? void 0 : json["createdBy"]
|
|
4759
|
+
};
|
|
4760
|
+
}
|
|
4761
|
+
function PreviewTokenInfoToJSON(value) {
|
|
4762
|
+
if (value === void 0) {
|
|
4763
|
+
return void 0;
|
|
4764
|
+
}
|
|
4765
|
+
if (value === null) {
|
|
4766
|
+
return null;
|
|
4767
|
+
}
|
|
4768
|
+
return {
|
|
4769
|
+
"token": value.token,
|
|
4770
|
+
"pageId": value.pageId,
|
|
4771
|
+
"draftVersion": value.draftVersion,
|
|
4772
|
+
"previewUrl": value.previewUrl,
|
|
4773
|
+
"deviceType": value.deviceType,
|
|
4774
|
+
"context": value.context,
|
|
4775
|
+
"createdAt": value.createdAt === void 0 ? void 0 : value.createdAt.toISOString(),
|
|
4776
|
+
"expiresAt": value.expiresAt.toISOString(),
|
|
4777
|
+
"createdBy": value.createdBy
|
|
4778
|
+
};
|
|
4779
|
+
}
|
|
4780
|
+
|
|
4221
4781
|
// src/generated/models/PublishActionDefinitionVersion201Response.ts
|
|
4222
4782
|
function instanceOfPublishActionDefinitionVersion201Response(value) {
|
|
4223
4783
|
let isInstance = true;
|
|
@@ -4450,6 +5010,92 @@ function PublishVersionRequestToJSON(value) {
|
|
|
4450
5010
|
};
|
|
4451
5011
|
}
|
|
4452
5012
|
|
|
5013
|
+
// src/generated/models/ReadinessCheck200Response.ts
|
|
5014
|
+
function instanceOfReadinessCheck200Response(value) {
|
|
5015
|
+
let isInstance = true;
|
|
5016
|
+
return isInstance;
|
|
5017
|
+
}
|
|
5018
|
+
function ReadinessCheck200ResponseFromJSON(json) {
|
|
5019
|
+
return ReadinessCheck200ResponseFromJSONTyped(json, false);
|
|
5020
|
+
}
|
|
5021
|
+
function ReadinessCheck200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
5022
|
+
if (json === void 0 || json === null) {
|
|
5023
|
+
return json;
|
|
5024
|
+
}
|
|
5025
|
+
return {
|
|
5026
|
+
"ready": !exists(json, "ready") ? void 0 : json["ready"]
|
|
5027
|
+
};
|
|
5028
|
+
}
|
|
5029
|
+
function ReadinessCheck200ResponseToJSON(value) {
|
|
5030
|
+
if (value === void 0) {
|
|
5031
|
+
return void 0;
|
|
5032
|
+
}
|
|
5033
|
+
if (value === null) {
|
|
5034
|
+
return null;
|
|
5035
|
+
}
|
|
5036
|
+
return {
|
|
5037
|
+
"ready": value.ready
|
|
5038
|
+
};
|
|
5039
|
+
}
|
|
5040
|
+
|
|
5041
|
+
// src/generated/models/ReadinessCheck503Response.ts
|
|
5042
|
+
function instanceOfReadinessCheck503Response(value) {
|
|
5043
|
+
let isInstance = true;
|
|
5044
|
+
return isInstance;
|
|
5045
|
+
}
|
|
5046
|
+
function ReadinessCheck503ResponseFromJSON(json) {
|
|
5047
|
+
return ReadinessCheck503ResponseFromJSONTyped(json, false);
|
|
5048
|
+
}
|
|
5049
|
+
function ReadinessCheck503ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
5050
|
+
if (json === void 0 || json === null) {
|
|
5051
|
+
return json;
|
|
5052
|
+
}
|
|
5053
|
+
return {
|
|
5054
|
+
"ready": !exists(json, "ready") ? void 0 : json["ready"],
|
|
5055
|
+
"reason": !exists(json, "reason") ? void 0 : json["reason"]
|
|
5056
|
+
};
|
|
5057
|
+
}
|
|
5058
|
+
function ReadinessCheck503ResponseToJSON(value) {
|
|
5059
|
+
if (value === void 0) {
|
|
5060
|
+
return void 0;
|
|
5061
|
+
}
|
|
5062
|
+
if (value === null) {
|
|
5063
|
+
return null;
|
|
5064
|
+
}
|
|
5065
|
+
return {
|
|
5066
|
+
"ready": value.ready,
|
|
5067
|
+
"reason": value.reason
|
|
5068
|
+
};
|
|
5069
|
+
}
|
|
5070
|
+
|
|
5071
|
+
// src/generated/models/RevokePreviewTokenRequest.ts
|
|
5072
|
+
function instanceOfRevokePreviewTokenRequest(value) {
|
|
5073
|
+
let isInstance = true;
|
|
5074
|
+
return isInstance;
|
|
5075
|
+
}
|
|
5076
|
+
function RevokePreviewTokenRequestFromJSON(json) {
|
|
5077
|
+
return RevokePreviewTokenRequestFromJSONTyped(json, false);
|
|
5078
|
+
}
|
|
5079
|
+
function RevokePreviewTokenRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
5080
|
+
if (json === void 0 || json === null) {
|
|
5081
|
+
return json;
|
|
5082
|
+
}
|
|
5083
|
+
return {
|
|
5084
|
+
"reason": !exists(json, "reason") ? void 0 : json["reason"]
|
|
5085
|
+
};
|
|
5086
|
+
}
|
|
5087
|
+
function RevokePreviewTokenRequestToJSON(value) {
|
|
5088
|
+
if (value === void 0) {
|
|
5089
|
+
return void 0;
|
|
5090
|
+
}
|
|
5091
|
+
if (value === null) {
|
|
5092
|
+
return null;
|
|
5093
|
+
}
|
|
5094
|
+
return {
|
|
5095
|
+
"reason": value.reason
|
|
5096
|
+
};
|
|
5097
|
+
}
|
|
5098
|
+
|
|
4453
5099
|
// src/generated/models/RollbackRequest.ts
|
|
4454
5100
|
function instanceOfRollbackRequest(value) {
|
|
4455
5101
|
let isInstance = true;
|
|
@@ -4695,9 +5341,10 @@ function SetKillSwitchRequestToJSON(value) {
|
|
|
4695
5341
|
|
|
4696
5342
|
// src/generated/models/UpdateActionDefinitionRequest.ts
|
|
4697
5343
|
var UpdateActionDefinitionRequestStatusEnum = {
|
|
4698
|
-
|
|
5344
|
+
DRAFT: "draft",
|
|
5345
|
+
STABLE: "stable",
|
|
4699
5346
|
DEPRECATED: "deprecated",
|
|
4700
|
-
|
|
5347
|
+
BLOCKED: "blocked"
|
|
4701
5348
|
};
|
|
4702
5349
|
function instanceOfUpdateActionDefinitionRequest(value) {
|
|
4703
5350
|
let isInstance = true;
|
|
@@ -4909,6 +5556,46 @@ function UpdateComponentVersionStatusRequestToJSON(value) {
|
|
|
4909
5556
|
};
|
|
4910
5557
|
}
|
|
4911
5558
|
|
|
5559
|
+
// src/generated/models/UpdateDataQueryDefinitionRequest.ts
|
|
5560
|
+
var UpdateDataQueryDefinitionRequestStatusEnum = {
|
|
5561
|
+
DRAFT: "draft",
|
|
5562
|
+
STABLE: "stable",
|
|
5563
|
+
DEPRECATED: "deprecated",
|
|
5564
|
+
BLOCKED: "blocked"
|
|
5565
|
+
};
|
|
5566
|
+
function instanceOfUpdateDataQueryDefinitionRequest(value) {
|
|
5567
|
+
let isInstance = true;
|
|
5568
|
+
return isInstance;
|
|
5569
|
+
}
|
|
5570
|
+
function UpdateDataQueryDefinitionRequestFromJSON(json) {
|
|
5571
|
+
return UpdateDataQueryDefinitionRequestFromJSONTyped(json, false);
|
|
5572
|
+
}
|
|
5573
|
+
function UpdateDataQueryDefinitionRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
5574
|
+
if (json === void 0 || json === null) {
|
|
5575
|
+
return json;
|
|
5576
|
+
}
|
|
5577
|
+
return {
|
|
5578
|
+
"displayName": !exists(json, "displayName") ? void 0 : json["displayName"],
|
|
5579
|
+
"description": !exists(json, "description") ? void 0 : json["description"],
|
|
5580
|
+
"spec": !exists(json, "spec") ? void 0 : json["spec"],
|
|
5581
|
+
"status": !exists(json, "status") ? void 0 : json["status"]
|
|
5582
|
+
};
|
|
5583
|
+
}
|
|
5584
|
+
function UpdateDataQueryDefinitionRequestToJSON(value) {
|
|
5585
|
+
if (value === void 0) {
|
|
5586
|
+
return void 0;
|
|
5587
|
+
}
|
|
5588
|
+
if (value === null) {
|
|
5589
|
+
return null;
|
|
5590
|
+
}
|
|
5591
|
+
return {
|
|
5592
|
+
"displayName": value.displayName,
|
|
5593
|
+
"description": value.description,
|
|
5594
|
+
"spec": value.spec,
|
|
5595
|
+
"status": value.status
|
|
5596
|
+
};
|
|
5597
|
+
}
|
|
5598
|
+
|
|
4912
5599
|
// src/generated/models/UpdatePageRequest.ts
|
|
4913
5600
|
function instanceOfUpdatePageRequest(value) {
|
|
4914
5601
|
let isInstance = true;
|
|
@@ -5195,6 +5882,7 @@ var ActivitiesApi = class extends BaseAPI {
|
|
|
5195
5882
|
}
|
|
5196
5883
|
const queryParameters = {};
|
|
5197
5884
|
const headerParameters = {};
|
|
5885
|
+
headerParameters["Content-Type"] = "application/json";
|
|
5198
5886
|
if (this.configuration && this.configuration.accessToken) {
|
|
5199
5887
|
const token = this.configuration.accessToken;
|
|
5200
5888
|
const tokenString = await token("BearerAuth", []);
|
|
@@ -5203,18 +5891,20 @@ var ActivitiesApi = class extends BaseAPI {
|
|
|
5203
5891
|
}
|
|
5204
5892
|
}
|
|
5205
5893
|
const response = await this.request({
|
|
5206
|
-
path: `/activities/{activityId}`.replace(`{${"activityId"}}`, encodeURIComponent(String(requestParameters.activityId))),
|
|
5207
|
-
method: "
|
|
5894
|
+
path: `/activities/{activityId}/delete`.replace(`{${"activityId"}}`, encodeURIComponent(String(requestParameters.activityId))),
|
|
5895
|
+
method: "POST",
|
|
5208
5896
|
headers: headerParameters,
|
|
5209
|
-
query: queryParameters
|
|
5897
|
+
query: queryParameters,
|
|
5898
|
+
body: DeletePageRequestToJSON(requestParameters.deletePageRequest)
|
|
5210
5899
|
}, initOverrides);
|
|
5211
|
-
return new
|
|
5900
|
+
return new JSONApiResponse(response, (jsonValue) => DeletePage200ResponseFromJSON(jsonValue));
|
|
5212
5901
|
}
|
|
5213
5902
|
/**
|
|
5214
5903
|
* 删除活动
|
|
5215
5904
|
*/
|
|
5216
5905
|
async deleteActivity(requestParameters, initOverrides) {
|
|
5217
|
-
await this.deleteActivityRaw(requestParameters, initOverrides);
|
|
5906
|
+
const response = await this.deleteActivityRaw(requestParameters, initOverrides);
|
|
5907
|
+
return await response.value();
|
|
5218
5908
|
}
|
|
5219
5909
|
/**
|
|
5220
5910
|
* 获取活动详情
|
|
@@ -5345,8 +6035,8 @@ var ActivitiesApi = class extends BaseAPI {
|
|
|
5345
6035
|
}
|
|
5346
6036
|
}
|
|
5347
6037
|
const response = await this.request({
|
|
5348
|
-
path: `/activities/{activityId}`.replace(`{${"activityId"}}`, encodeURIComponent(String(requestParameters.activityId))),
|
|
5349
|
-
method: "
|
|
6038
|
+
path: `/activities/{activityId}/update`.replace(`{${"activityId"}}`, encodeURIComponent(String(requestParameters.activityId))),
|
|
6039
|
+
method: "POST",
|
|
5350
6040
|
headers: headerParameters,
|
|
5351
6041
|
query: queryParameters,
|
|
5352
6042
|
body: UpdateActivityRequestToJSON(requestParameters.updateActivityRequest)
|
|
@@ -5381,8 +6071,8 @@ var ActivitiesApi = class extends BaseAPI {
|
|
|
5381
6071
|
}
|
|
5382
6072
|
}
|
|
5383
6073
|
const response = await this.request({
|
|
5384
|
-
path: `/activities/{activityId}/status`.replace(`{${"activityId"}}`, encodeURIComponent(String(requestParameters.activityId))),
|
|
5385
|
-
method: "
|
|
6074
|
+
path: `/activities/{activityId}/status/update`.replace(`{${"activityId"}}`, encodeURIComponent(String(requestParameters.activityId))),
|
|
6075
|
+
method: "POST",
|
|
5386
6076
|
headers: headerParameters,
|
|
5387
6077
|
query: queryParameters,
|
|
5388
6078
|
body: UpdateActivityStatusRequestToJSON(requestParameters.updateActivityStatusRequest)
|
|
@@ -5642,8 +6332,8 @@ var ComponentsApi = class extends BaseAPI {
|
|
|
5642
6332
|
}
|
|
5643
6333
|
}
|
|
5644
6334
|
const response = await this.request({
|
|
5645
|
-
path: `/components/{componentId}/versions/{versionId}/status`.replace(`{${"componentId"}}`, encodeURIComponent(String(requestParameters.componentId))).replace(`{${"versionId"}}`, encodeURIComponent(String(requestParameters.versionId))),
|
|
5646
|
-
method: "
|
|
6335
|
+
path: `/components/{componentId}/versions/{versionId}/status/update`.replace(`{${"componentId"}}`, encodeURIComponent(String(requestParameters.componentId))).replace(`{${"versionId"}}`, encodeURIComponent(String(requestParameters.versionId))),
|
|
6336
|
+
method: "POST",
|
|
5647
6337
|
headers: headerParameters,
|
|
5648
6338
|
query: queryParameters,
|
|
5649
6339
|
body: UpdateComponentVersionStatusRequestToJSON(requestParameters.updateComponentVersionStatusRequest)
|
|
@@ -5728,6 +6418,70 @@ var DefinitionsApi = class extends BaseAPI {
|
|
|
5728
6418
|
const response = await this.createDataQueryDefinitionRaw(requestParameters, initOverrides);
|
|
5729
6419
|
return await response.value();
|
|
5730
6420
|
}
|
|
6421
|
+
/**
|
|
6422
|
+
* 删除 ActionDefinition(仅 draft 状态可删除)
|
|
6423
|
+
* 删除 ActionDefinition
|
|
6424
|
+
*/
|
|
6425
|
+
async deleteActionDefinitionRaw(requestParameters, initOverrides) {
|
|
6426
|
+
if (requestParameters.definitionId === null || requestParameters.definitionId === void 0) {
|
|
6427
|
+
throw new RequiredError("definitionId", "Required parameter requestParameters.definitionId was null or undefined when calling deleteActionDefinition.");
|
|
6428
|
+
}
|
|
6429
|
+
const queryParameters = {};
|
|
6430
|
+
const headerParameters = {};
|
|
6431
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
6432
|
+
const token = this.configuration.accessToken;
|
|
6433
|
+
const tokenString = await token("BearerAuth", []);
|
|
6434
|
+
if (tokenString) {
|
|
6435
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
6436
|
+
}
|
|
6437
|
+
}
|
|
6438
|
+
const response = await this.request({
|
|
6439
|
+
path: `/definitions/actions/{definitionId}/delete`.replace(`{${"definitionId"}}`, encodeURIComponent(String(requestParameters.definitionId))),
|
|
6440
|
+
method: "POST",
|
|
6441
|
+
headers: headerParameters,
|
|
6442
|
+
query: queryParameters
|
|
6443
|
+
}, initOverrides);
|
|
6444
|
+
return new VoidApiResponse(response);
|
|
6445
|
+
}
|
|
6446
|
+
/**
|
|
6447
|
+
* 删除 ActionDefinition(仅 draft 状态可删除)
|
|
6448
|
+
* 删除 ActionDefinition
|
|
6449
|
+
*/
|
|
6450
|
+
async deleteActionDefinition(requestParameters, initOverrides) {
|
|
6451
|
+
await this.deleteActionDefinitionRaw(requestParameters, initOverrides);
|
|
6452
|
+
}
|
|
6453
|
+
/**
|
|
6454
|
+
* 删除 DataQueryDefinition(仅 draft 状态可删除)
|
|
6455
|
+
* 删除 DataQueryDefinition
|
|
6456
|
+
*/
|
|
6457
|
+
async deleteDataQueryDefinitionRaw(requestParameters, initOverrides) {
|
|
6458
|
+
if (requestParameters.definitionId === null || requestParameters.definitionId === void 0) {
|
|
6459
|
+
throw new RequiredError("definitionId", "Required parameter requestParameters.definitionId was null or undefined when calling deleteDataQueryDefinition.");
|
|
6460
|
+
}
|
|
6461
|
+
const queryParameters = {};
|
|
6462
|
+
const headerParameters = {};
|
|
6463
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
6464
|
+
const token = this.configuration.accessToken;
|
|
6465
|
+
const tokenString = await token("BearerAuth", []);
|
|
6466
|
+
if (tokenString) {
|
|
6467
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
6468
|
+
}
|
|
6469
|
+
}
|
|
6470
|
+
const response = await this.request({
|
|
6471
|
+
path: `/definitions/queries/{definitionId}/delete`.replace(`{${"definitionId"}}`, encodeURIComponent(String(requestParameters.definitionId))),
|
|
6472
|
+
method: "POST",
|
|
6473
|
+
headers: headerParameters,
|
|
6474
|
+
query: queryParameters
|
|
6475
|
+
}, initOverrides);
|
|
6476
|
+
return new VoidApiResponse(response);
|
|
6477
|
+
}
|
|
6478
|
+
/**
|
|
6479
|
+
* 删除 DataQueryDefinition(仅 draft 状态可删除)
|
|
6480
|
+
* 删除 DataQueryDefinition
|
|
6481
|
+
*/
|
|
6482
|
+
async deleteDataQueryDefinition(requestParameters, initOverrides) {
|
|
6483
|
+
await this.deleteDataQueryDefinitionRaw(requestParameters, initOverrides);
|
|
6484
|
+
}
|
|
5731
6485
|
/**
|
|
5732
6486
|
* 获取 ActionDefinition 详情
|
|
5733
6487
|
*/
|
|
@@ -5804,6 +6558,9 @@ var DefinitionsApi = class extends BaseAPI {
|
|
|
5804
6558
|
if (requestParameters.pageToken !== void 0) {
|
|
5805
6559
|
queryParameters["pageToken"] = requestParameters.pageToken;
|
|
5806
6560
|
}
|
|
6561
|
+
if (requestParameters.status !== void 0) {
|
|
6562
|
+
queryParameters["status"] = requestParameters.status;
|
|
6563
|
+
}
|
|
5807
6564
|
const headerParameters = {};
|
|
5808
6565
|
if (this.configuration && this.configuration.accessToken) {
|
|
5809
6566
|
const token = this.configuration.accessToken;
|
|
@@ -5875,6 +6632,9 @@ var DefinitionsApi = class extends BaseAPI {
|
|
|
5875
6632
|
throw new RequiredError("definitionId", "Required parameter requestParameters.definitionId was null or undefined when calling listDataQueryDefinitionVersions.");
|
|
5876
6633
|
}
|
|
5877
6634
|
const queryParameters = {};
|
|
6635
|
+
if (requestParameters.status !== void 0) {
|
|
6636
|
+
queryParameters["status"] = requestParameters.status;
|
|
6637
|
+
}
|
|
5878
6638
|
const headerParameters = {};
|
|
5879
6639
|
if (this.configuration && this.configuration.accessToken) {
|
|
5880
6640
|
const token = this.configuration.accessToken;
|
|
@@ -5939,6 +6699,7 @@ var DefinitionsApi = class extends BaseAPI {
|
|
|
5939
6699
|
return await response.value();
|
|
5940
6700
|
}
|
|
5941
6701
|
/**
|
|
6702
|
+
* 发布新版本,版本一旦发布即不可变。 状态机:draft → stable → deprecated → blocked
|
|
5942
6703
|
* 发布 ActionDefinition 新版本
|
|
5943
6704
|
*/
|
|
5944
6705
|
async publishActionDefinitionVersionRaw(requestParameters, initOverrides) {
|
|
@@ -5968,6 +6729,7 @@ var DefinitionsApi = class extends BaseAPI {
|
|
|
5968
6729
|
return new JSONApiResponse(response, (jsonValue) => PublishActionDefinitionVersion201ResponseFromJSON(jsonValue));
|
|
5969
6730
|
}
|
|
5970
6731
|
/**
|
|
6732
|
+
* 发布新版本,版本一旦发布即不可变。 状态机:draft → stable → deprecated → blocked
|
|
5971
6733
|
* 发布 ActionDefinition 新版本
|
|
5972
6734
|
*/
|
|
5973
6735
|
async publishActionDefinitionVersion(requestParameters, initOverrides) {
|
|
@@ -5975,6 +6737,7 @@ var DefinitionsApi = class extends BaseAPI {
|
|
|
5975
6737
|
return await response.value();
|
|
5976
6738
|
}
|
|
5977
6739
|
/**
|
|
6740
|
+
* 发布新版本,版本一旦发布即不可变。 状态机:draft → stable → deprecated → blocked
|
|
5978
6741
|
* 发布 DataQueryDefinition 新版本
|
|
5979
6742
|
*/
|
|
5980
6743
|
async publishDataQueryDefinitionVersionRaw(requestParameters, initOverrides) {
|
|
@@ -6004,6 +6767,7 @@ var DefinitionsApi = class extends BaseAPI {
|
|
|
6004
6767
|
return new JSONApiResponse(response, (jsonValue) => PublishActionDefinitionVersion201ResponseFromJSON(jsonValue));
|
|
6005
6768
|
}
|
|
6006
6769
|
/**
|
|
6770
|
+
* 发布新版本,版本一旦发布即不可变。 状态机:draft → stable → deprecated → blocked
|
|
6007
6771
|
* 发布 DataQueryDefinition 新版本
|
|
6008
6772
|
*/
|
|
6009
6773
|
async publishDataQueryDefinitionVersion(requestParameters, initOverrides) {
|
|
@@ -6031,8 +6795,8 @@ var DefinitionsApi = class extends BaseAPI {
|
|
|
6031
6795
|
}
|
|
6032
6796
|
}
|
|
6033
6797
|
const response = await this.request({
|
|
6034
|
-
path: `/definitions/actions/{definitionId}`.replace(`{${"definitionId"}}`, encodeURIComponent(String(requestParameters.definitionId))),
|
|
6035
|
-
method: "
|
|
6798
|
+
path: `/definitions/actions/{definitionId}/update`.replace(`{${"definitionId"}}`, encodeURIComponent(String(requestParameters.definitionId))),
|
|
6799
|
+
method: "POST",
|
|
6036
6800
|
headers: headerParameters,
|
|
6037
6801
|
query: queryParameters,
|
|
6038
6802
|
body: UpdateActionDefinitionRequestToJSON(requestParameters.updateActionDefinitionRequest)
|
|
@@ -6046,6 +6810,42 @@ var DefinitionsApi = class extends BaseAPI {
|
|
|
6046
6810
|
const response = await this.updateActionDefinitionRaw(requestParameters, initOverrides);
|
|
6047
6811
|
return await response.value();
|
|
6048
6812
|
}
|
|
6813
|
+
/**
|
|
6814
|
+
* 更新 DataQueryDefinition
|
|
6815
|
+
*/
|
|
6816
|
+
async updateDataQueryDefinitionRaw(requestParameters, initOverrides) {
|
|
6817
|
+
if (requestParameters.definitionId === null || requestParameters.definitionId === void 0) {
|
|
6818
|
+
throw new RequiredError("definitionId", "Required parameter requestParameters.definitionId was null or undefined when calling updateDataQueryDefinition.");
|
|
6819
|
+
}
|
|
6820
|
+
if (requestParameters.updateDataQueryDefinitionRequest === null || requestParameters.updateDataQueryDefinitionRequest === void 0) {
|
|
6821
|
+
throw new RequiredError("updateDataQueryDefinitionRequest", "Required parameter requestParameters.updateDataQueryDefinitionRequest was null or undefined when calling updateDataQueryDefinition.");
|
|
6822
|
+
}
|
|
6823
|
+
const queryParameters = {};
|
|
6824
|
+
const headerParameters = {};
|
|
6825
|
+
headerParameters["Content-Type"] = "application/json";
|
|
6826
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
6827
|
+
const token = this.configuration.accessToken;
|
|
6828
|
+
const tokenString = await token("BearerAuth", []);
|
|
6829
|
+
if (tokenString) {
|
|
6830
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
6831
|
+
}
|
|
6832
|
+
}
|
|
6833
|
+
const response = await this.request({
|
|
6834
|
+
path: `/definitions/queries/{definitionId}/update`.replace(`{${"definitionId"}}`, encodeURIComponent(String(requestParameters.definitionId))),
|
|
6835
|
+
method: "POST",
|
|
6836
|
+
headers: headerParameters,
|
|
6837
|
+
query: queryParameters,
|
|
6838
|
+
body: UpdateDataQueryDefinitionRequestToJSON(requestParameters.updateDataQueryDefinitionRequest)
|
|
6839
|
+
}, initOverrides);
|
|
6840
|
+
return new JSONApiResponse(response, (jsonValue) => CreateDataQueryDefinition201ResponseFromJSON(jsonValue));
|
|
6841
|
+
}
|
|
6842
|
+
/**
|
|
6843
|
+
* 更新 DataQueryDefinition
|
|
6844
|
+
*/
|
|
6845
|
+
async updateDataQueryDefinition(requestParameters, initOverrides) {
|
|
6846
|
+
const response = await this.updateDataQueryDefinitionRaw(requestParameters, initOverrides);
|
|
6847
|
+
return await response.value();
|
|
6848
|
+
}
|
|
6049
6849
|
};
|
|
6050
6850
|
|
|
6051
6851
|
// src/generated/apis/DraftsApi.ts
|
|
@@ -6060,6 +6860,7 @@ var DraftsApi = class extends BaseAPI {
|
|
|
6060
6860
|
}
|
|
6061
6861
|
const queryParameters = {};
|
|
6062
6862
|
const headerParameters = {};
|
|
6863
|
+
headerParameters["Content-Type"] = "application/json";
|
|
6063
6864
|
if (this.configuration && this.configuration.accessToken) {
|
|
6064
6865
|
const token = this.configuration.accessToken;
|
|
6065
6866
|
const tokenString = await token("BearerAuth", []);
|
|
@@ -6068,19 +6869,21 @@ var DraftsApi = class extends BaseAPI {
|
|
|
6068
6869
|
}
|
|
6069
6870
|
}
|
|
6070
6871
|
const response = await this.request({
|
|
6071
|
-
path: `/pages/{pageId}/draft`.replace(`{${"pageId"}}`, encodeURIComponent(String(requestParameters.pageId))),
|
|
6072
|
-
method: "
|
|
6872
|
+
path: `/pages/{pageId}/draft/discard`.replace(`{${"pageId"}}`, encodeURIComponent(String(requestParameters.pageId))),
|
|
6873
|
+
method: "POST",
|
|
6073
6874
|
headers: headerParameters,
|
|
6074
|
-
query: queryParameters
|
|
6875
|
+
query: queryParameters,
|
|
6876
|
+
body: DiscardDraftRequestToJSON(requestParameters.discardDraftRequest)
|
|
6075
6877
|
}, initOverrides);
|
|
6076
|
-
return new
|
|
6878
|
+
return new JSONApiResponse(response, (jsonValue) => DeletePage200ResponseFromJSON(jsonValue));
|
|
6077
6879
|
}
|
|
6078
6880
|
/**
|
|
6079
6881
|
* 丢弃当前草稿,恢复到最后发布的版本
|
|
6080
6882
|
* 丢弃草稿
|
|
6081
6883
|
*/
|
|
6082
6884
|
async discardDraft(requestParameters, initOverrides) {
|
|
6083
|
-
await this.discardDraftRaw(requestParameters, initOverrides);
|
|
6885
|
+
const response = await this.discardDraftRaw(requestParameters, initOverrides);
|
|
6886
|
+
return await response.value();
|
|
6084
6887
|
}
|
|
6085
6888
|
/**
|
|
6086
6889
|
* 获取指定页面的当前草稿内容
|
|
@@ -6137,8 +6940,8 @@ var DraftsApi = class extends BaseAPI {
|
|
|
6137
6940
|
}
|
|
6138
6941
|
}
|
|
6139
6942
|
const response = await this.request({
|
|
6140
|
-
path: `/pages/{pageId}/draft`.replace(`{${"pageId"}}`, encodeURIComponent(String(requestParameters.pageId))),
|
|
6141
|
-
method: "
|
|
6943
|
+
path: `/pages/{pageId}/draft/save`.replace(`{${"pageId"}}`, encodeURIComponent(String(requestParameters.pageId))),
|
|
6944
|
+
method: "POST",
|
|
6142
6945
|
headers: headerParameters,
|
|
6143
6946
|
query: queryParameters,
|
|
6144
6947
|
body: SaveDraftRequestToJSON(requestParameters.saveDraftRequest)
|
|
@@ -6239,8 +7042,8 @@ var OperationsApi = class extends BaseAPI {
|
|
|
6239
7042
|
}
|
|
6240
7043
|
}
|
|
6241
7044
|
const response = await this.request({
|
|
6242
|
-
path: `/operations/kill-switch`,
|
|
6243
|
-
method: "
|
|
7045
|
+
path: `/operations/kill-switch/set`,
|
|
7046
|
+
method: "POST",
|
|
6244
7047
|
headers: headerParameters,
|
|
6245
7048
|
query: queryParameters,
|
|
6246
7049
|
body: SetGlobalKillSwitchRequestToJSON(requestParameters.setGlobalKillSwitchRequest)
|
|
@@ -6277,8 +7080,8 @@ var OperationsApi = class extends BaseAPI {
|
|
|
6277
7080
|
}
|
|
6278
7081
|
}
|
|
6279
7082
|
const response = await this.request({
|
|
6280
|
-
path: `/operations/kill-switch/{pageId}`.replace(`{${"pageId"}}`, encodeURIComponent(String(requestParameters.pageId))),
|
|
6281
|
-
method: "
|
|
7083
|
+
path: `/operations/kill-switch/{pageId}/set`.replace(`{${"pageId"}}`, encodeURIComponent(String(requestParameters.pageId))),
|
|
7084
|
+
method: "POST",
|
|
6282
7085
|
headers: headerParameters,
|
|
6283
7086
|
query: queryParameters,
|
|
6284
7087
|
body: SetGlobalKillSwitchRequestToJSON(requestParameters.setGlobalKillSwitchRequest)
|
|
@@ -6316,13 +7119,13 @@ var PagesApi = class extends BaseAPI {
|
|
|
6316
7119
|
}
|
|
6317
7120
|
}
|
|
6318
7121
|
const response = await this.request({
|
|
6319
|
-
path: `/pages`,
|
|
7122
|
+
path: `/pages/create`,
|
|
6320
7123
|
method: "POST",
|
|
6321
7124
|
headers: headerParameters,
|
|
6322
7125
|
query: queryParameters,
|
|
6323
7126
|
body: CreatePageRequestToJSON(requestParameters.createPageRequest)
|
|
6324
7127
|
}, initOverrides);
|
|
6325
|
-
return new JSONApiResponse(response, (jsonValue) =>
|
|
7128
|
+
return new JSONApiResponse(response, (jsonValue) => CreatePage200ResponseFromJSON(jsonValue));
|
|
6326
7129
|
}
|
|
6327
7130
|
/**
|
|
6328
7131
|
* 创建一个新的页面,返回页面 ID
|
|
@@ -6342,6 +7145,7 @@ var PagesApi = class extends BaseAPI {
|
|
|
6342
7145
|
}
|
|
6343
7146
|
const queryParameters = {};
|
|
6344
7147
|
const headerParameters = {};
|
|
7148
|
+
headerParameters["Content-Type"] = "application/json";
|
|
6345
7149
|
if (this.configuration && this.configuration.accessToken) {
|
|
6346
7150
|
const token = this.configuration.accessToken;
|
|
6347
7151
|
const tokenString = await token("BearerAuth", []);
|
|
@@ -6350,19 +7154,21 @@ var PagesApi = class extends BaseAPI {
|
|
|
6350
7154
|
}
|
|
6351
7155
|
}
|
|
6352
7156
|
const response = await this.request({
|
|
6353
|
-
path: `/pages/{pageId}`.replace(`{${"pageId"}}`, encodeURIComponent(String(requestParameters.pageId))),
|
|
6354
|
-
method: "
|
|
7157
|
+
path: `/pages/{pageId}/delete`.replace(`{${"pageId"}}`, encodeURIComponent(String(requestParameters.pageId))),
|
|
7158
|
+
method: "POST",
|
|
6355
7159
|
headers: headerParameters,
|
|
6356
|
-
query: queryParameters
|
|
7160
|
+
query: queryParameters,
|
|
7161
|
+
body: DeletePageRequestToJSON(requestParameters.deletePageRequest)
|
|
6357
7162
|
}, initOverrides);
|
|
6358
|
-
return new
|
|
7163
|
+
return new JSONApiResponse(response, (jsonValue) => DeletePage200ResponseFromJSON(jsonValue));
|
|
6359
7164
|
}
|
|
6360
7165
|
/**
|
|
6361
7166
|
* 软删除页面(可恢复)
|
|
6362
7167
|
* 删除页面
|
|
6363
7168
|
*/
|
|
6364
7169
|
async deletePage(requestParameters, initOverrides) {
|
|
6365
|
-
await this.deletePageRaw(requestParameters, initOverrides);
|
|
7170
|
+
const response = await this.deletePageRaw(requestParameters, initOverrides);
|
|
7171
|
+
return await response.value();
|
|
6366
7172
|
}
|
|
6367
7173
|
/**
|
|
6368
7174
|
* 获取指定页面的完整信息
|
|
@@ -6387,7 +7193,7 @@ var PagesApi = class extends BaseAPI {
|
|
|
6387
7193
|
headers: headerParameters,
|
|
6388
7194
|
query: queryParameters
|
|
6389
7195
|
}, initOverrides);
|
|
6390
|
-
return new JSONApiResponse(response, (jsonValue) =>
|
|
7196
|
+
return new JSONApiResponse(response, (jsonValue) => CreatePage200ResponseFromJSON(jsonValue));
|
|
6391
7197
|
}
|
|
6392
7198
|
/**
|
|
6393
7199
|
* 获取指定页面的完整信息
|
|
@@ -6461,13 +7267,13 @@ var PagesApi = class extends BaseAPI {
|
|
|
6461
7267
|
}
|
|
6462
7268
|
}
|
|
6463
7269
|
const response = await this.request({
|
|
6464
|
-
path: `/pages/{pageId}`.replace(`{${"pageId"}}`, encodeURIComponent(String(requestParameters.pageId))),
|
|
6465
|
-
method: "
|
|
7270
|
+
path: `/pages/{pageId}/update`.replace(`{${"pageId"}}`, encodeURIComponent(String(requestParameters.pageId))),
|
|
7271
|
+
method: "POST",
|
|
6466
7272
|
headers: headerParameters,
|
|
6467
7273
|
query: queryParameters,
|
|
6468
7274
|
body: UpdatePageRequestToJSON(requestParameters.updatePageRequest)
|
|
6469
7275
|
}, initOverrides);
|
|
6470
|
-
return new JSONApiResponse(response, (jsonValue) =>
|
|
7276
|
+
return new JSONApiResponse(response, (jsonValue) => CreatePage200ResponseFromJSON(jsonValue));
|
|
6471
7277
|
}
|
|
6472
7278
|
/**
|
|
6473
7279
|
* 更新页面的元数据(不包括页面内容)
|
|
@@ -6502,13 +7308,13 @@ var RolloutApi = class extends BaseAPI {
|
|
|
6502
7308
|
}
|
|
6503
7309
|
}
|
|
6504
7310
|
const response = await this.request({
|
|
6505
|
-
path: `/pages/{pageId}/rollout/strategies`.replace(`{${"pageId"}}`, encodeURIComponent(String(requestParameters.pageId))),
|
|
7311
|
+
path: `/pages/{pageId}/rollout/strategies/add`.replace(`{${"pageId"}}`, encodeURIComponent(String(requestParameters.pageId))),
|
|
6506
7312
|
method: "POST",
|
|
6507
7313
|
headers: headerParameters,
|
|
6508
7314
|
query: queryParameters,
|
|
6509
7315
|
body: AddRolloutStrategyRequestToJSON(requestParameters.addRolloutStrategyRequest)
|
|
6510
7316
|
}, initOverrides);
|
|
6511
|
-
return new JSONApiResponse(response, (jsonValue) =>
|
|
7317
|
+
return new JSONApiResponse(response, (jsonValue) => AddRolloutStrategy200ResponseFromJSON(jsonValue));
|
|
6512
7318
|
}
|
|
6513
7319
|
/**
|
|
6514
7320
|
* 添加灰度策略
|
|
@@ -6518,11 +7324,11 @@ var RolloutApi = class extends BaseAPI {
|
|
|
6518
7324
|
return await response.value();
|
|
6519
7325
|
}
|
|
6520
7326
|
/**
|
|
6521
|
-
*
|
|
7327
|
+
* 获取页面灰度配置
|
|
6522
7328
|
*/
|
|
6523
|
-
async
|
|
7329
|
+
async getRolloutConfigRaw(requestParameters, initOverrides) {
|
|
6524
7330
|
if (requestParameters.pageId === null || requestParameters.pageId === void 0) {
|
|
6525
|
-
throw new RequiredError("pageId", "Required parameter requestParameters.pageId was null or undefined when calling
|
|
7331
|
+
throw new RequiredError("pageId", "Required parameter requestParameters.pageId was null or undefined when calling getRolloutConfig.");
|
|
6526
7332
|
}
|
|
6527
7333
|
const queryParameters = {};
|
|
6528
7334
|
const headerParameters = {};
|
|
@@ -6535,30 +7341,30 @@ var RolloutApi = class extends BaseAPI {
|
|
|
6535
7341
|
}
|
|
6536
7342
|
const response = await this.request({
|
|
6537
7343
|
path: `/pages/{pageId}/rollout`.replace(`{${"pageId"}}`, encodeURIComponent(String(requestParameters.pageId))),
|
|
6538
|
-
method: "
|
|
7344
|
+
method: "GET",
|
|
6539
7345
|
headers: headerParameters,
|
|
6540
7346
|
query: queryParameters
|
|
6541
7347
|
}, initOverrides);
|
|
6542
|
-
return new
|
|
7348
|
+
return new JSONApiResponse(response, (jsonValue) => GetRolloutConfig200ResponseFromJSON(jsonValue));
|
|
6543
7349
|
}
|
|
6544
7350
|
/**
|
|
6545
|
-
*
|
|
7351
|
+
* 获取页面灰度配置
|
|
6546
7352
|
*/
|
|
6547
|
-
async
|
|
6548
|
-
await this.
|
|
7353
|
+
async getRolloutConfig(requestParameters, initOverrides) {
|
|
7354
|
+
const response = await this.getRolloutConfigRaw(requestParameters, initOverrides);
|
|
7355
|
+
return await response.value();
|
|
6549
7356
|
}
|
|
6550
7357
|
/**
|
|
6551
|
-
*
|
|
7358
|
+
* 删除页面灰度配置(使用默认版本)
|
|
7359
|
+
* 删除页面灰度配置
|
|
6552
7360
|
*/
|
|
6553
|
-
async
|
|
7361
|
+
async removeRolloutConfigRaw(requestParameters, initOverrides) {
|
|
6554
7362
|
if (requestParameters.pageId === null || requestParameters.pageId === void 0) {
|
|
6555
|
-
throw new RequiredError("pageId", "Required parameter requestParameters.pageId was null or undefined when calling
|
|
6556
|
-
}
|
|
6557
|
-
if (requestParameters.strategyId === null || requestParameters.strategyId === void 0) {
|
|
6558
|
-
throw new RequiredError("strategyId", "Required parameter requestParameters.strategyId was null or undefined when calling deleteRolloutStrategy.");
|
|
7363
|
+
throw new RequiredError("pageId", "Required parameter requestParameters.pageId was null or undefined when calling removeRolloutConfig.");
|
|
6559
7364
|
}
|
|
6560
7365
|
const queryParameters = {};
|
|
6561
7366
|
const headerParameters = {};
|
|
7367
|
+
headerParameters["Content-Type"] = "application/json";
|
|
6562
7368
|
if (this.configuration && this.configuration.accessToken) {
|
|
6563
7369
|
const token = this.configuration.accessToken;
|
|
6564
7370
|
const tokenString = await token("BearerAuth", []);
|
|
@@ -6567,28 +7373,35 @@ var RolloutApi = class extends BaseAPI {
|
|
|
6567
7373
|
}
|
|
6568
7374
|
}
|
|
6569
7375
|
const response = await this.request({
|
|
6570
|
-
path: `/pages/{pageId}/rollout/
|
|
6571
|
-
method: "
|
|
7376
|
+
path: `/pages/{pageId}/rollout/remove`.replace(`{${"pageId"}}`, encodeURIComponent(String(requestParameters.pageId))),
|
|
7377
|
+
method: "POST",
|
|
6572
7378
|
headers: headerParameters,
|
|
6573
|
-
query: queryParameters
|
|
7379
|
+
query: queryParameters,
|
|
7380
|
+
body: DeletePageRequestToJSON(requestParameters.deletePageRequest)
|
|
6574
7381
|
}, initOverrides);
|
|
6575
|
-
return new
|
|
7382
|
+
return new JSONApiResponse(response, (jsonValue) => DeletePage200ResponseFromJSON(jsonValue));
|
|
6576
7383
|
}
|
|
6577
7384
|
/**
|
|
6578
|
-
*
|
|
7385
|
+
* 删除页面灰度配置(使用默认版本)
|
|
7386
|
+
* 删除页面灰度配置
|
|
6579
7387
|
*/
|
|
6580
|
-
async
|
|
6581
|
-
await this.
|
|
7388
|
+
async removeRolloutConfig(requestParameters, initOverrides) {
|
|
7389
|
+
const response = await this.removeRolloutConfigRaw(requestParameters, initOverrides);
|
|
7390
|
+
return await response.value();
|
|
6582
7391
|
}
|
|
6583
7392
|
/**
|
|
6584
|
-
*
|
|
7393
|
+
* 删除灰度策略
|
|
6585
7394
|
*/
|
|
6586
|
-
async
|
|
7395
|
+
async removeRolloutStrategyRaw(requestParameters, initOverrides) {
|
|
6587
7396
|
if (requestParameters.pageId === null || requestParameters.pageId === void 0) {
|
|
6588
|
-
throw new RequiredError("pageId", "Required parameter requestParameters.pageId was null or undefined when calling
|
|
7397
|
+
throw new RequiredError("pageId", "Required parameter requestParameters.pageId was null or undefined when calling removeRolloutStrategy.");
|
|
7398
|
+
}
|
|
7399
|
+
if (requestParameters.strategyId === null || requestParameters.strategyId === void 0) {
|
|
7400
|
+
throw new RequiredError("strategyId", "Required parameter requestParameters.strategyId was null or undefined when calling removeRolloutStrategy.");
|
|
6589
7401
|
}
|
|
6590
7402
|
const queryParameters = {};
|
|
6591
7403
|
const headerParameters = {};
|
|
7404
|
+
headerParameters["Content-Type"] = "application/json";
|
|
6592
7405
|
if (this.configuration && this.configuration.accessToken) {
|
|
6593
7406
|
const token = this.configuration.accessToken;
|
|
6594
7407
|
const tokenString = await token("BearerAuth", []);
|
|
@@ -6597,18 +7410,19 @@ var RolloutApi = class extends BaseAPI {
|
|
|
6597
7410
|
}
|
|
6598
7411
|
}
|
|
6599
7412
|
const response = await this.request({
|
|
6600
|
-
path: `/pages/{pageId}/rollout`.replace(`{${"pageId"}}`, encodeURIComponent(String(requestParameters.pageId))),
|
|
6601
|
-
method: "
|
|
7413
|
+
path: `/pages/{pageId}/rollout/strategies/{strategyId}/remove`.replace(`{${"pageId"}}`, encodeURIComponent(String(requestParameters.pageId))).replace(`{${"strategyId"}}`, encodeURIComponent(String(requestParameters.strategyId))),
|
|
7414
|
+
method: "POST",
|
|
6602
7415
|
headers: headerParameters,
|
|
6603
|
-
query: queryParameters
|
|
7416
|
+
query: queryParameters,
|
|
7417
|
+
body: DeletePageRequestToJSON(requestParameters.deletePageRequest)
|
|
6604
7418
|
}, initOverrides);
|
|
6605
|
-
return new JSONApiResponse(response, (jsonValue) =>
|
|
7419
|
+
return new JSONApiResponse(response, (jsonValue) => DeletePage200ResponseFromJSON(jsonValue));
|
|
6606
7420
|
}
|
|
6607
7421
|
/**
|
|
6608
|
-
*
|
|
7422
|
+
* 删除灰度策略
|
|
6609
7423
|
*/
|
|
6610
|
-
async
|
|
6611
|
-
const response = await this.
|
|
7424
|
+
async removeRolloutStrategy(requestParameters, initOverrides) {
|
|
7425
|
+
const response = await this.removeRolloutStrategyRaw(requestParameters, initOverrides);
|
|
6612
7426
|
return await response.value();
|
|
6613
7427
|
}
|
|
6614
7428
|
/**
|
|
@@ -6632,8 +7446,8 @@ var RolloutApi = class extends BaseAPI {
|
|
|
6632
7446
|
}
|
|
6633
7447
|
}
|
|
6634
7448
|
const response = await this.request({
|
|
6635
|
-
path: `/pages/{pageId}/rollout`.replace(`{${"pageId"}}`, encodeURIComponent(String(requestParameters.pageId))),
|
|
6636
|
-
method: "
|
|
7449
|
+
path: `/pages/{pageId}/rollout/update`.replace(`{${"pageId"}}`, encodeURIComponent(String(requestParameters.pageId))),
|
|
7450
|
+
method: "POST",
|
|
6637
7451
|
headers: headerParameters,
|
|
6638
7452
|
query: queryParameters,
|
|
6639
7453
|
body: UpdateRolloutConfigRequestToJSON(requestParameters.updateRolloutConfigRequest)
|
|
@@ -6671,13 +7485,13 @@ var RolloutApi = class extends BaseAPI {
|
|
|
6671
7485
|
}
|
|
6672
7486
|
}
|
|
6673
7487
|
const response = await this.request({
|
|
6674
|
-
path: `/pages/{pageId}/rollout/strategies/{strategyId}`.replace(`{${"pageId"}}`, encodeURIComponent(String(requestParameters.pageId))).replace(`{${"strategyId"}}`, encodeURIComponent(String(requestParameters.strategyId))),
|
|
6675
|
-
method: "
|
|
7488
|
+
path: `/pages/{pageId}/rollout/strategies/{strategyId}/update`.replace(`{${"pageId"}}`, encodeURIComponent(String(requestParameters.pageId))).replace(`{${"strategyId"}}`, encodeURIComponent(String(requestParameters.strategyId))),
|
|
7489
|
+
method: "POST",
|
|
6676
7490
|
headers: headerParameters,
|
|
6677
7491
|
query: queryParameters,
|
|
6678
7492
|
body: UpdateRolloutStrategyRequestToJSON(requestParameters.updateRolloutStrategyRequest)
|
|
6679
7493
|
}, initOverrides);
|
|
6680
|
-
return new JSONApiResponse(response, (jsonValue) =>
|
|
7494
|
+
return new JSONApiResponse(response, (jsonValue) => AddRolloutStrategy200ResponseFromJSON(jsonValue));
|
|
6681
7495
|
}
|
|
6682
7496
|
/**
|
|
6683
7497
|
* 更新灰度策略
|
|
@@ -7039,16 +7853,16 @@ var VERSION = "2.0.0";
|
|
|
7039
7853
|
// Annotate the CommonJS export names for ESM import in node:
|
|
7040
7854
|
0 && (module.exports = {
|
|
7041
7855
|
AbortError,
|
|
7856
|
+
ActionDefinitionDetailActionTypeEnum,
|
|
7042
7857
|
ActionDefinitionDetailFromJSON,
|
|
7043
7858
|
ActionDefinitionDetailFromJSONTyped,
|
|
7044
7859
|
ActionDefinitionDetailStatusEnum,
|
|
7045
7860
|
ActionDefinitionDetailToJSON,
|
|
7046
|
-
|
|
7861
|
+
ActionDefinitionInfoActionTypeEnum,
|
|
7047
7862
|
ActionDefinitionInfoFromJSON,
|
|
7048
7863
|
ActionDefinitionInfoFromJSONTyped,
|
|
7049
7864
|
ActionDefinitionInfoStatusEnum,
|
|
7050
7865
|
ActionDefinitionInfoToJSON,
|
|
7051
|
-
ActionDefinitionInfoTypeEnum,
|
|
7052
7866
|
ActivitiesApi,
|
|
7053
7867
|
ActivityDetailFromJSON,
|
|
7054
7868
|
ActivityDetailFromJSONTyped,
|
|
@@ -7063,13 +7877,13 @@ var VERSION = "2.0.0";
|
|
|
7063
7877
|
ActivityStatsFromJSON,
|
|
7064
7878
|
ActivityStatsFromJSONTyped,
|
|
7065
7879
|
ActivityStatsToJSON,
|
|
7066
|
-
|
|
7067
|
-
|
|
7068
|
-
|
|
7069
|
-
|
|
7070
|
-
|
|
7071
|
-
|
|
7072
|
-
|
|
7880
|
+
AddRolloutStrategy200ResponseDataFromJSON,
|
|
7881
|
+
AddRolloutStrategy200ResponseDataFromJSONTyped,
|
|
7882
|
+
AddRolloutStrategy200ResponseDataToJSON,
|
|
7883
|
+
AddRolloutStrategy200ResponseDataTypeEnum,
|
|
7884
|
+
AddRolloutStrategy200ResponseFromJSON,
|
|
7885
|
+
AddRolloutStrategy200ResponseFromJSONTyped,
|
|
7886
|
+
AddRolloutStrategy200ResponseToJSON,
|
|
7073
7887
|
AddRolloutStrategyRequestFromJSON,
|
|
7074
7888
|
AddRolloutStrategyRequestFromJSONTyped,
|
|
7075
7889
|
AddRolloutStrategyRequestToJSON,
|
|
@@ -7111,10 +7925,10 @@ var VERSION = "2.0.0";
|
|
|
7111
7925
|
CreateActionDefinition201ResponseFromJSON,
|
|
7112
7926
|
CreateActionDefinition201ResponseFromJSONTyped,
|
|
7113
7927
|
CreateActionDefinition201ResponseToJSON,
|
|
7928
|
+
CreateActionDefinitionRequestActionTypeEnum,
|
|
7114
7929
|
CreateActionDefinitionRequestFromJSON,
|
|
7115
7930
|
CreateActionDefinitionRequestFromJSONTyped,
|
|
7116
7931
|
CreateActionDefinitionRequestToJSON,
|
|
7117
|
-
CreateActionDefinitionRequestTypeEnum,
|
|
7118
7932
|
CreateActivity201ResponseFromJSON,
|
|
7119
7933
|
CreateActivity201ResponseFromJSONTyped,
|
|
7120
7934
|
CreateActivity201ResponseToJSON,
|
|
@@ -7127,29 +7941,49 @@ var VERSION = "2.0.0";
|
|
|
7127
7941
|
CreateDataQueryDefinition201ResponseToJSON,
|
|
7128
7942
|
CreateDataQueryDefinitionRequestFromJSON,
|
|
7129
7943
|
CreateDataQueryDefinitionRequestFromJSONTyped,
|
|
7944
|
+
CreateDataQueryDefinitionRequestSourceTypeEnum,
|
|
7130
7945
|
CreateDataQueryDefinitionRequestToJSON,
|
|
7131
|
-
|
|
7132
|
-
|
|
7133
|
-
|
|
7134
|
-
CreatePage201ResponseToJSON,
|
|
7946
|
+
CreatePage200ResponseFromJSON,
|
|
7947
|
+
CreatePage200ResponseFromJSONTyped,
|
|
7948
|
+
CreatePage200ResponseToJSON,
|
|
7135
7949
|
CreatePageRequestFromJSON,
|
|
7136
7950
|
CreatePageRequestFromJSONTyped,
|
|
7137
7951
|
CreatePageRequestToJSON,
|
|
7952
|
+
CreatePreviewToken201ResponseDataDeviceTypeEnum,
|
|
7953
|
+
CreatePreviewToken201ResponseDataFromJSON,
|
|
7954
|
+
CreatePreviewToken201ResponseDataFromJSONTyped,
|
|
7955
|
+
CreatePreviewToken201ResponseDataToJSON,
|
|
7956
|
+
CreatePreviewToken201ResponseFromJSON,
|
|
7957
|
+
CreatePreviewToken201ResponseFromJSONTyped,
|
|
7958
|
+
CreatePreviewToken201ResponseToJSON,
|
|
7959
|
+
CreatePreviewTokenRequestDeviceTypeEnum,
|
|
7960
|
+
CreatePreviewTokenRequestFromJSON,
|
|
7961
|
+
CreatePreviewTokenRequestFromJSONTyped,
|
|
7962
|
+
CreatePreviewTokenRequestToJSON,
|
|
7138
7963
|
DataQueryDefinitionDetailFromJSON,
|
|
7139
7964
|
DataQueryDefinitionDetailFromJSONTyped,
|
|
7965
|
+
DataQueryDefinitionDetailSourceTypeEnum,
|
|
7140
7966
|
DataQueryDefinitionDetailStatusEnum,
|
|
7141
7967
|
DataQueryDefinitionDetailToJSON,
|
|
7142
|
-
DataQueryDefinitionDetailTypeEnum,
|
|
7143
7968
|
DataQueryDefinitionInfoFromJSON,
|
|
7144
7969
|
DataQueryDefinitionInfoFromJSONTyped,
|
|
7970
|
+
DataQueryDefinitionInfoSourceTypeEnum,
|
|
7145
7971
|
DataQueryDefinitionInfoStatusEnum,
|
|
7146
7972
|
DataQueryDefinitionInfoToJSON,
|
|
7147
|
-
DataQueryDefinitionInfoTypeEnum,
|
|
7148
7973
|
DefinitionVersionInfoFromJSON,
|
|
7149
7974
|
DefinitionVersionInfoFromJSONTyped,
|
|
7150
7975
|
DefinitionVersionInfoStatusEnum,
|
|
7151
7976
|
DefinitionVersionInfoToJSON,
|
|
7152
7977
|
DefinitionsApi,
|
|
7978
|
+
DeletePage200ResponseFromJSON,
|
|
7979
|
+
DeletePage200ResponseFromJSONTyped,
|
|
7980
|
+
DeletePage200ResponseToJSON,
|
|
7981
|
+
DeletePageRequestFromJSON,
|
|
7982
|
+
DeletePageRequestFromJSONTyped,
|
|
7983
|
+
DeletePageRequestToJSON,
|
|
7984
|
+
DiscardDraftRequestFromJSON,
|
|
7985
|
+
DiscardDraftRequestFromJSONTyped,
|
|
7986
|
+
DiscardDraftRequestToJSON,
|
|
7153
7987
|
DraftDataFromJSON,
|
|
7154
7988
|
DraftDataFromJSONTyped,
|
|
7155
7989
|
DraftDataToJSON,
|
|
@@ -7164,11 +7998,11 @@ var VERSION = "2.0.0";
|
|
|
7164
7998
|
ErrorResponseFromJSONTyped,
|
|
7165
7999
|
ErrorResponseToJSON,
|
|
7166
8000
|
FetchError,
|
|
8001
|
+
GetActionDefinition200ResponseDataActionTypeEnum,
|
|
7167
8002
|
GetActionDefinition200ResponseDataFromJSON,
|
|
7168
8003
|
GetActionDefinition200ResponseDataFromJSONTyped,
|
|
7169
8004
|
GetActionDefinition200ResponseDataStatusEnum,
|
|
7170
8005
|
GetActionDefinition200ResponseDataToJSON,
|
|
7171
|
-
GetActionDefinition200ResponseDataTypeEnum,
|
|
7172
8006
|
GetActionDefinition200ResponseDataVersionsInnerFromJSON,
|
|
7173
8007
|
GetActionDefinition200ResponseDataVersionsInnerFromJSONTyped,
|
|
7174
8008
|
GetActionDefinition200ResponseDataVersionsInnerStatusEnum,
|
|
@@ -7208,9 +8042,9 @@ var VERSION = "2.0.0";
|
|
|
7208
8042
|
GetAuditStats200ResponseToJSON,
|
|
7209
8043
|
GetDataQueryDefinition200ResponseDataFromJSON,
|
|
7210
8044
|
GetDataQueryDefinition200ResponseDataFromJSONTyped,
|
|
8045
|
+
GetDataQueryDefinition200ResponseDataSourceTypeEnum,
|
|
7211
8046
|
GetDataQueryDefinition200ResponseDataStatusEnum,
|
|
7212
8047
|
GetDataQueryDefinition200ResponseDataToJSON,
|
|
7213
|
-
GetDataQueryDefinition200ResponseDataTypeEnum,
|
|
7214
8048
|
GetDataQueryDefinition200ResponseFromJSON,
|
|
7215
8049
|
GetDataQueryDefinition200ResponseFromJSONTyped,
|
|
7216
8050
|
GetDataQueryDefinition200ResponseToJSON,
|
|
@@ -7245,17 +8079,29 @@ var VERSION = "2.0.0";
|
|
|
7245
8079
|
GetVersion200ResponseFromJSON,
|
|
7246
8080
|
GetVersion200ResponseFromJSONTyped,
|
|
7247
8081
|
GetVersion200ResponseToJSON,
|
|
8082
|
+
HealthCheck200ResponseDependenciesValueFromJSON,
|
|
8083
|
+
HealthCheck200ResponseDependenciesValueFromJSONTyped,
|
|
8084
|
+
HealthCheck200ResponseDependenciesValueStatusEnum,
|
|
8085
|
+
HealthCheck200ResponseDependenciesValueToJSON,
|
|
8086
|
+
HealthCheck200ResponseFromJSON,
|
|
8087
|
+
HealthCheck200ResponseFromJSONTyped,
|
|
8088
|
+
HealthCheck200ResponseStatusEnum,
|
|
8089
|
+
HealthCheck200ResponseToJSON,
|
|
8090
|
+
HealthResponseFromJSON,
|
|
8091
|
+
HealthResponseFromJSONTyped,
|
|
8092
|
+
HealthResponseStatusEnum,
|
|
8093
|
+
HealthResponseToJSON,
|
|
7248
8094
|
KillSwitchStatusResponseFromJSON,
|
|
7249
8095
|
KillSwitchStatusResponseFromJSONTyped,
|
|
7250
8096
|
KillSwitchStatusResponseToJSON,
|
|
7251
8097
|
ListActionDefinitionVersions200ResponseFromJSON,
|
|
7252
8098
|
ListActionDefinitionVersions200ResponseFromJSONTyped,
|
|
7253
8099
|
ListActionDefinitionVersions200ResponseToJSON,
|
|
8100
|
+
ListActionDefinitions200ResponseDataInnerActionTypeEnum,
|
|
7254
8101
|
ListActionDefinitions200ResponseDataInnerFromJSON,
|
|
7255
8102
|
ListActionDefinitions200ResponseDataInnerFromJSONTyped,
|
|
7256
8103
|
ListActionDefinitions200ResponseDataInnerStatusEnum,
|
|
7257
8104
|
ListActionDefinitions200ResponseDataInnerToJSON,
|
|
7258
|
-
ListActionDefinitions200ResponseDataInnerTypeEnum,
|
|
7259
8105
|
ListActionDefinitions200ResponseFromJSON,
|
|
7260
8106
|
ListActionDefinitions200ResponseFromJSONTyped,
|
|
7261
8107
|
ListActionDefinitions200ResponseToJSON,
|
|
@@ -7293,9 +8139,9 @@ var VERSION = "2.0.0";
|
|
|
7293
8139
|
ListDataQueryDefinitionVersions200ResponseToJSON,
|
|
7294
8140
|
ListDataQueryDefinitions200ResponseDataInnerFromJSON,
|
|
7295
8141
|
ListDataQueryDefinitions200ResponseDataInnerFromJSONTyped,
|
|
8142
|
+
ListDataQueryDefinitions200ResponseDataInnerSourceTypeEnum,
|
|
7296
8143
|
ListDataQueryDefinitions200ResponseDataInnerStatusEnum,
|
|
7297
8144
|
ListDataQueryDefinitions200ResponseDataInnerToJSON,
|
|
7298
|
-
ListDataQueryDefinitions200ResponseDataInnerTypeEnum,
|
|
7299
8145
|
ListDataQueryDefinitions200ResponseFromJSON,
|
|
7300
8146
|
ListDataQueryDefinitions200ResponseFromJSONTyped,
|
|
7301
8147
|
ListDataQueryDefinitions200ResponseToJSON,
|
|
@@ -7315,6 +8161,9 @@ var VERSION = "2.0.0";
|
|
|
7315
8161
|
ListPages401ResponseFromJSON,
|
|
7316
8162
|
ListPages401ResponseFromJSONTyped,
|
|
7317
8163
|
ListPages401ResponseToJSON,
|
|
8164
|
+
ListPreviewTokens200ResponseFromJSON,
|
|
8165
|
+
ListPreviewTokens200ResponseFromJSONTyped,
|
|
8166
|
+
ListPreviewTokens200ResponseToJSON,
|
|
7318
8167
|
ListVersions200ResponseDataInnerFromJSON,
|
|
7319
8168
|
ListVersions200ResponseDataInnerFromJSONTyped,
|
|
7320
8169
|
ListVersions200ResponseDataInnerStatusEnum,
|
|
@@ -7322,6 +8171,9 @@ var VERSION = "2.0.0";
|
|
|
7322
8171
|
ListVersions200ResponseFromJSON,
|
|
7323
8172
|
ListVersions200ResponseFromJSONTyped,
|
|
7324
8173
|
ListVersions200ResponseToJSON,
|
|
8174
|
+
LivenessCheck200ResponseFromJSON,
|
|
8175
|
+
LivenessCheck200ResponseFromJSONTyped,
|
|
8176
|
+
LivenessCheck200ResponseToJSON,
|
|
7325
8177
|
LockInfoFromJSON,
|
|
7326
8178
|
LockInfoFromJSONTyped,
|
|
7327
8179
|
LockInfoToJSON,
|
|
@@ -7344,6 +8196,10 @@ var VERSION = "2.0.0";
|
|
|
7344
8196
|
PaginationMetaFromJSON,
|
|
7345
8197
|
PaginationMetaFromJSONTyped,
|
|
7346
8198
|
PaginationMetaToJSON,
|
|
8199
|
+
PreviewTokenInfoDeviceTypeEnum,
|
|
8200
|
+
PreviewTokenInfoFromJSON,
|
|
8201
|
+
PreviewTokenInfoFromJSONTyped,
|
|
8202
|
+
PreviewTokenInfoToJSON,
|
|
7347
8203
|
PublishActionDefinitionVersion201ResponseFromJSON,
|
|
7348
8204
|
PublishActionDefinitionVersion201ResponseFromJSONTyped,
|
|
7349
8205
|
PublishActionDefinitionVersion201ResponseToJSON,
|
|
@@ -7372,8 +8228,17 @@ var VERSION = "2.0.0";
|
|
|
7372
8228
|
PublishVersionRequestRolloutToJSON,
|
|
7373
8229
|
PublishVersionRequestToJSON,
|
|
7374
8230
|
PublishVersionRequestVersionBumpEnum,
|
|
8231
|
+
ReadinessCheck200ResponseFromJSON,
|
|
8232
|
+
ReadinessCheck200ResponseFromJSONTyped,
|
|
8233
|
+
ReadinessCheck200ResponseToJSON,
|
|
8234
|
+
ReadinessCheck503ResponseFromJSON,
|
|
8235
|
+
ReadinessCheck503ResponseFromJSONTyped,
|
|
8236
|
+
ReadinessCheck503ResponseToJSON,
|
|
7375
8237
|
RequiredError,
|
|
7376
8238
|
ResponseError,
|
|
8239
|
+
RevokePreviewTokenRequestFromJSON,
|
|
8240
|
+
RevokePreviewTokenRequestFromJSONTyped,
|
|
8241
|
+
RevokePreviewTokenRequestToJSON,
|
|
7377
8242
|
RollbackRequestFromJSON,
|
|
7378
8243
|
RollbackRequestFromJSONTyped,
|
|
7379
8244
|
RollbackRequestToJSON,
|
|
@@ -7420,6 +8285,10 @@ var VERSION = "2.0.0";
|
|
|
7420
8285
|
UpdateComponentVersionStatusRequestFromJSONTyped,
|
|
7421
8286
|
UpdateComponentVersionStatusRequestStatusEnum,
|
|
7422
8287
|
UpdateComponentVersionStatusRequestToJSON,
|
|
8288
|
+
UpdateDataQueryDefinitionRequestFromJSON,
|
|
8289
|
+
UpdateDataQueryDefinitionRequestFromJSONTyped,
|
|
8290
|
+
UpdateDataQueryDefinitionRequestStatusEnum,
|
|
8291
|
+
UpdateDataQueryDefinitionRequestToJSON,
|
|
7423
8292
|
UpdatePageRequestFromJSON,
|
|
7424
8293
|
UpdatePageRequestFromJSONTyped,
|
|
7425
8294
|
UpdatePageRequestToJSON,
|
|
@@ -7455,8 +8324,8 @@ var VERSION = "2.0.0";
|
|
|
7455
8324
|
instanceOfActivityDetail,
|
|
7456
8325
|
instanceOfActivityInfo,
|
|
7457
8326
|
instanceOfActivityStats,
|
|
7458
|
-
|
|
7459
|
-
|
|
8327
|
+
instanceOfAddRolloutStrategy200Response,
|
|
8328
|
+
instanceOfAddRolloutStrategy200ResponseData,
|
|
7460
8329
|
instanceOfAddRolloutStrategyRequest,
|
|
7461
8330
|
instanceOfAuditLogDetail,
|
|
7462
8331
|
instanceOfAuditLogEntry,
|
|
@@ -7472,11 +8341,17 @@ var VERSION = "2.0.0";
|
|
|
7472
8341
|
instanceOfCreateActivityRequest,
|
|
7473
8342
|
instanceOfCreateDataQueryDefinition201Response,
|
|
7474
8343
|
instanceOfCreateDataQueryDefinitionRequest,
|
|
7475
|
-
|
|
8344
|
+
instanceOfCreatePage200Response,
|
|
7476
8345
|
instanceOfCreatePageRequest,
|
|
8346
|
+
instanceOfCreatePreviewToken201Response,
|
|
8347
|
+
instanceOfCreatePreviewToken201ResponseData,
|
|
8348
|
+
instanceOfCreatePreviewTokenRequest,
|
|
7477
8349
|
instanceOfDataQueryDefinitionDetail,
|
|
7478
8350
|
instanceOfDataQueryDefinitionInfo,
|
|
7479
8351
|
instanceOfDefinitionVersionInfo,
|
|
8352
|
+
instanceOfDeletePage200Response,
|
|
8353
|
+
instanceOfDeletePageRequest,
|
|
8354
|
+
instanceOfDiscardDraftRequest,
|
|
7480
8355
|
instanceOfDraftData,
|
|
7481
8356
|
instanceOfDraftResponse,
|
|
7482
8357
|
instanceOfErrorDetail,
|
|
@@ -7505,6 +8380,9 @@ var VERSION = "2.0.0";
|
|
|
7505
8380
|
instanceOfGetRolloutConfig200Response,
|
|
7506
8381
|
instanceOfGetVersion200Response,
|
|
7507
8382
|
instanceOfGetVersion200ResponseData,
|
|
8383
|
+
instanceOfHealthCheck200Response,
|
|
8384
|
+
instanceOfHealthCheck200ResponseDependenciesValue,
|
|
8385
|
+
instanceOfHealthResponse,
|
|
7508
8386
|
instanceOfKillSwitchStatusResponse,
|
|
7509
8387
|
instanceOfListActionDefinitionVersions200Response,
|
|
7510
8388
|
instanceOfListActionDefinitions200Response,
|
|
@@ -7525,14 +8403,17 @@ var VERSION = "2.0.0";
|
|
|
7525
8403
|
instanceOfListPages200ResponseMeta,
|
|
7526
8404
|
instanceOfListPages401Response,
|
|
7527
8405
|
instanceOfListPages401ResponseDetailsInner,
|
|
8406
|
+
instanceOfListPreviewTokens200Response,
|
|
7528
8407
|
instanceOfListVersions200Response,
|
|
7529
8408
|
instanceOfListVersions200ResponseDataInner,
|
|
8409
|
+
instanceOfLivenessCheck200Response,
|
|
7530
8410
|
instanceOfLockInfo,
|
|
7531
8411
|
instanceOfPageInfo,
|
|
7532
8412
|
instanceOfPageKillSwitchStatusResponse,
|
|
7533
8413
|
instanceOfPageListResponse,
|
|
7534
8414
|
instanceOfPageResponse,
|
|
7535
8415
|
instanceOfPaginationMeta,
|
|
8416
|
+
instanceOfPreviewTokenInfo,
|
|
7536
8417
|
instanceOfPublishActionDefinitionVersion201Response,
|
|
7537
8418
|
instanceOfPublishActionDefinitionVersionRequest,
|
|
7538
8419
|
instanceOfPublishDefinitionVersionRequest,
|
|
@@ -7541,6 +8422,9 @@ var VERSION = "2.0.0";
|
|
|
7541
8422
|
instanceOfPublishVersion201Response,
|
|
7542
8423
|
instanceOfPublishVersionRequest,
|
|
7543
8424
|
instanceOfPublishVersionRequestRollout,
|
|
8425
|
+
instanceOfReadinessCheck200Response,
|
|
8426
|
+
instanceOfReadinessCheck503Response,
|
|
8427
|
+
instanceOfRevokePreviewTokenRequest,
|
|
7544
8428
|
instanceOfRollbackRequest,
|
|
7545
8429
|
instanceOfRollbackVersionRequest,
|
|
7546
8430
|
instanceOfRolloutConfig,
|
|
@@ -7554,6 +8438,7 @@ var VERSION = "2.0.0";
|
|
|
7554
8438
|
instanceOfUpdateComponentStatusRequest,
|
|
7555
8439
|
instanceOfUpdateComponentVersionStatus200Response,
|
|
7556
8440
|
instanceOfUpdateComponentVersionStatusRequest,
|
|
8441
|
+
instanceOfUpdateDataQueryDefinitionRequest,
|
|
7557
8442
|
instanceOfUpdatePageRequest,
|
|
7558
8443
|
instanceOfUpdateRolloutConfigRequest,
|
|
7559
8444
|
instanceOfUpdateRolloutRequest,
|