@djvlc/openapi-user-client 1.7.1 → 1.7.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +3360 -1279
- package/dist/index.d.ts +3360 -1279
- package/dist/index.js +2224 -451
- package/dist/index.mjs +2048 -425
- package/openapi/dist/user-api.yaml +934 -177
- package/openapi/src/components/responses/_index.yaml +30 -0
- package/openapi/src/components/schemas/_index.yaml +391 -37
- package/openapi/src/openapi.yaml +62 -16
- package/openapi/src/paths/actions.yaml +63 -23
- package/openapi/src/paths/health.yaml +88 -0
- package/openapi/src/paths/queries.yaml +71 -18
- package/openapi/src/paths/tenant.yaml +93 -0
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -239,6 +239,12 @@ function querystringSingleKey(key, value, keyPrefix = "") {
|
|
|
239
239
|
}
|
|
240
240
|
return `${encodeURIComponent(fullKey)}=${encodeURIComponent(String(value))}`;
|
|
241
241
|
}
|
|
242
|
+
function mapValues(data, fn) {
|
|
243
|
+
return Object.keys(data).reduce(
|
|
244
|
+
(acc, key) => ({ ...acc, [key]: fn(data[key]) }),
|
|
245
|
+
{}
|
|
246
|
+
);
|
|
247
|
+
}
|
|
242
248
|
var JSONApiResponse = class {
|
|
243
249
|
constructor(raw, transformer = (jsonValue) => jsonValue) {
|
|
244
250
|
this.raw = raw;
|
|
@@ -252,6 +258,7 @@ var JSONApiResponse = class {
|
|
|
252
258
|
// src/generated/models/ActionContext.ts
|
|
253
259
|
function instanceOfActionContext(value) {
|
|
254
260
|
let isInstance = true;
|
|
261
|
+
isInstance = isInstance && "pageVersionId" in value;
|
|
255
262
|
return isInstance;
|
|
256
263
|
}
|
|
257
264
|
function ActionContextFromJSON(json) {
|
|
@@ -262,9 +269,16 @@ function ActionContextFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
262
269
|
return json;
|
|
263
270
|
}
|
|
264
271
|
return {
|
|
265
|
-
"
|
|
266
|
-
"
|
|
272
|
+
"pageVersionId": json["pageVersionId"],
|
|
273
|
+
"componentVersionId": !exists(json, "componentVersionId") ? void 0 : json["componentVersionId"],
|
|
274
|
+
"actionId": !exists(json, "actionId") ? void 0 : json["actionId"],
|
|
275
|
+
"traceId": !exists(json, "traceId") ? void 0 : json["traceId"],
|
|
276
|
+
"uid": !exists(json, "uid") ? void 0 : json["uid"],
|
|
277
|
+
"deviceId": !exists(json, "deviceId") ? void 0 : json["deviceId"],
|
|
278
|
+
"channel": !exists(json, "channel") ? void 0 : json["channel"],
|
|
279
|
+
"sessionId": !exists(json, "sessionId") ? void 0 : json["sessionId"],
|
|
267
280
|
"eventName": !exists(json, "eventName") ? void 0 : json["eventName"],
|
|
281
|
+
"timestamp": !exists(json, "timestamp") ? void 0 : new Date(json["timestamp"]),
|
|
268
282
|
"state": !exists(json, "state") ? void 0 : json["state"]
|
|
269
283
|
};
|
|
270
284
|
}
|
|
@@ -276,19 +290,93 @@ function ActionContextToJSON(value) {
|
|
|
276
290
|
return null;
|
|
277
291
|
}
|
|
278
292
|
return {
|
|
279
|
-
"
|
|
280
|
-
"
|
|
293
|
+
"pageVersionId": value.pageVersionId,
|
|
294
|
+
"componentVersionId": value.componentVersionId,
|
|
295
|
+
"actionId": value.actionId,
|
|
296
|
+
"traceId": value.traceId,
|
|
297
|
+
"uid": value.uid,
|
|
298
|
+
"deviceId": value.deviceId,
|
|
299
|
+
"channel": value.channel,
|
|
300
|
+
"sessionId": value.sessionId,
|
|
281
301
|
"eventName": value.eventName,
|
|
302
|
+
"timestamp": value.timestamp === void 0 ? void 0 : value.timestamp.toISOString(),
|
|
282
303
|
"state": value.state
|
|
283
304
|
};
|
|
284
305
|
}
|
|
285
306
|
|
|
307
|
+
// src/generated/models/GetActionDefinition200ResponseData.ts
|
|
308
|
+
function instanceOfGetActionDefinition200ResponseData(value) {
|
|
309
|
+
let isInstance = true;
|
|
310
|
+
return isInstance;
|
|
311
|
+
}
|
|
312
|
+
function GetActionDefinition200ResponseDataFromJSON(json) {
|
|
313
|
+
return GetActionDefinition200ResponseDataFromJSONTyped(json, false);
|
|
314
|
+
}
|
|
315
|
+
function GetActionDefinition200ResponseDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
316
|
+
if (json === void 0 || json === null) {
|
|
317
|
+
return json;
|
|
318
|
+
}
|
|
319
|
+
return {
|
|
320
|
+
"actionDefinitionVersionId": !exists(json, "actionDefinitionVersionId") ? void 0 : json["actionDefinitionVersionId"],
|
|
321
|
+
"actionType": !exists(json, "actionType") ? void 0 : json["actionType"],
|
|
322
|
+
"name": !exists(json, "name") ? void 0 : json["name"],
|
|
323
|
+
"paramsSchema": !exists(json, "paramsSchema") ? void 0 : json["paramsSchema"],
|
|
324
|
+
"resultSchema": !exists(json, "resultSchema") ? void 0 : json["resultSchema"]
|
|
325
|
+
};
|
|
326
|
+
}
|
|
327
|
+
function GetActionDefinition200ResponseDataToJSON(value) {
|
|
328
|
+
if (value === void 0) {
|
|
329
|
+
return void 0;
|
|
330
|
+
}
|
|
331
|
+
if (value === null) {
|
|
332
|
+
return null;
|
|
333
|
+
}
|
|
334
|
+
return {
|
|
335
|
+
"actionDefinitionVersionId": value.actionDefinitionVersionId,
|
|
336
|
+
"actionType": value.actionType,
|
|
337
|
+
"name": value.name,
|
|
338
|
+
"paramsSchema": value.paramsSchema,
|
|
339
|
+
"resultSchema": value.resultSchema
|
|
340
|
+
};
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
// src/generated/models/ActionDefinitionResponse.ts
|
|
344
|
+
function instanceOfActionDefinitionResponse(value) {
|
|
345
|
+
let isInstance = true;
|
|
346
|
+
isInstance = isInstance && "data" in value;
|
|
347
|
+
return isInstance;
|
|
348
|
+
}
|
|
349
|
+
function ActionDefinitionResponseFromJSON(json) {
|
|
350
|
+
return ActionDefinitionResponseFromJSONTyped(json, false);
|
|
351
|
+
}
|
|
352
|
+
function ActionDefinitionResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
353
|
+
if (json === void 0 || json === null) {
|
|
354
|
+
return json;
|
|
355
|
+
}
|
|
356
|
+
return {
|
|
357
|
+
"data": GetActionDefinition200ResponseDataFromJSON(json["data"])
|
|
358
|
+
};
|
|
359
|
+
}
|
|
360
|
+
function ActionDefinitionResponseToJSON(value) {
|
|
361
|
+
if (value === void 0) {
|
|
362
|
+
return void 0;
|
|
363
|
+
}
|
|
364
|
+
if (value === null) {
|
|
365
|
+
return null;
|
|
366
|
+
}
|
|
367
|
+
return {
|
|
368
|
+
"data": GetActionDefinition200ResponseDataToJSON(value.data)
|
|
369
|
+
};
|
|
370
|
+
}
|
|
371
|
+
|
|
286
372
|
// src/generated/models/ActionEffect.ts
|
|
287
373
|
var ActionEffectTypeEnum = {
|
|
288
374
|
SET_STATE: "setState",
|
|
289
375
|
NAVIGATE: "navigate",
|
|
290
376
|
SHOW_TOAST: "showToast",
|
|
291
377
|
REFRESH_DATA: "refreshData",
|
|
378
|
+
OPEN_DIALOG: "openDialog",
|
|
379
|
+
CLOSE_DIALOG: "closeDialog",
|
|
292
380
|
CUSTOM: "custom"
|
|
293
381
|
};
|
|
294
382
|
function instanceOfActionEffect(value) {
|
|
@@ -322,14 +410,26 @@ function ActionEffectToJSON(value) {
|
|
|
322
410
|
}
|
|
323
411
|
|
|
324
412
|
// src/generated/models/ActionManifest.ts
|
|
325
|
-
var
|
|
326
|
-
|
|
413
|
+
var ActionManifestActionTypeEnum = {
|
|
414
|
+
CLAIM: "claim",
|
|
415
|
+
SIGNIN: "signin",
|
|
416
|
+
LOTTERY: "lottery",
|
|
417
|
+
RESERVE: "reserve",
|
|
418
|
+
BIND: "bind",
|
|
419
|
+
TASK_COMPLETE: "task_complete",
|
|
420
|
+
VOTE: "vote",
|
|
421
|
+
SHARE: "share",
|
|
422
|
+
FORM_SUBMIT: "form_submit",
|
|
423
|
+
NAVIGATE: "navigate",
|
|
424
|
+
SET_STATE: "setState",
|
|
425
|
+
SHOW_TOAST: "showToast",
|
|
426
|
+
REFRESH_DATA: "refreshData",
|
|
327
427
|
CUSTOM: "custom"
|
|
328
428
|
};
|
|
329
429
|
function instanceOfActionManifest(value) {
|
|
330
430
|
let isInstance = true;
|
|
331
431
|
isInstance = isInstance && "actionId" in value;
|
|
332
|
-
isInstance = isInstance && "
|
|
432
|
+
isInstance = isInstance && "actionDefinitionVersionId" in value;
|
|
333
433
|
return isInstance;
|
|
334
434
|
}
|
|
335
435
|
function ActionManifestFromJSON(json) {
|
|
@@ -341,8 +441,9 @@ function ActionManifestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
341
441
|
}
|
|
342
442
|
return {
|
|
343
443
|
"actionId": json["actionId"],
|
|
344
|
-
"
|
|
345
|
-
"
|
|
444
|
+
"actionDefinitionVersionId": json["actionDefinitionVersionId"],
|
|
445
|
+
"actionType": !exists(json, "actionType") ? void 0 : json["actionType"],
|
|
446
|
+
"builtin": !exists(json, "builtin") ? void 0 : json["builtin"]
|
|
346
447
|
};
|
|
347
448
|
}
|
|
348
449
|
function ActionManifestToJSON(value) {
|
|
@@ -354,8 +455,264 @@ function ActionManifestToJSON(value) {
|
|
|
354
455
|
}
|
|
355
456
|
return {
|
|
356
457
|
"actionId": value.actionId,
|
|
357
|
-
"
|
|
358
|
-
"
|
|
458
|
+
"actionDefinitionVersionId": value.actionDefinitionVersionId,
|
|
459
|
+
"actionType": value.actionType,
|
|
460
|
+
"builtin": value.builtin
|
|
461
|
+
};
|
|
462
|
+
}
|
|
463
|
+
|
|
464
|
+
// src/generated/models/BatchQueryData200ResponseDataValueError.ts
|
|
465
|
+
function instanceOfBatchQueryData200ResponseDataValueError(value) {
|
|
466
|
+
let isInstance = true;
|
|
467
|
+
return isInstance;
|
|
468
|
+
}
|
|
469
|
+
function BatchQueryData200ResponseDataValueErrorFromJSON(json) {
|
|
470
|
+
return BatchQueryData200ResponseDataValueErrorFromJSONTyped(json, false);
|
|
471
|
+
}
|
|
472
|
+
function BatchQueryData200ResponseDataValueErrorFromJSONTyped(json, ignoreDiscriminator) {
|
|
473
|
+
if (json === void 0 || json === null) {
|
|
474
|
+
return json;
|
|
475
|
+
}
|
|
476
|
+
return {
|
|
477
|
+
"code": !exists(json, "code") ? void 0 : json["code"],
|
|
478
|
+
"message": !exists(json, "message") ? void 0 : json["message"]
|
|
479
|
+
};
|
|
480
|
+
}
|
|
481
|
+
function BatchQueryData200ResponseDataValueErrorToJSON(value) {
|
|
482
|
+
if (value === void 0) {
|
|
483
|
+
return void 0;
|
|
484
|
+
}
|
|
485
|
+
if (value === null) {
|
|
486
|
+
return null;
|
|
487
|
+
}
|
|
488
|
+
return {
|
|
489
|
+
"code": value.code,
|
|
490
|
+
"message": value.message
|
|
491
|
+
};
|
|
492
|
+
}
|
|
493
|
+
|
|
494
|
+
// src/generated/models/BatchQueryData200ResponseDataValue.ts
|
|
495
|
+
function instanceOfBatchQueryData200ResponseDataValue(value) {
|
|
496
|
+
let isInstance = true;
|
|
497
|
+
return isInstance;
|
|
498
|
+
}
|
|
499
|
+
function BatchQueryData200ResponseDataValueFromJSON(json) {
|
|
500
|
+
return BatchQueryData200ResponseDataValueFromJSONTyped(json, false);
|
|
501
|
+
}
|
|
502
|
+
function BatchQueryData200ResponseDataValueFromJSONTyped(json, ignoreDiscriminator) {
|
|
503
|
+
if (json === void 0 || json === null) {
|
|
504
|
+
return json;
|
|
505
|
+
}
|
|
506
|
+
return {
|
|
507
|
+
"success": !exists(json, "success") ? void 0 : json["success"],
|
|
508
|
+
"data": !exists(json, "data") ? void 0 : json["data"],
|
|
509
|
+
"error": !exists(json, "error") ? void 0 : BatchQueryData200ResponseDataValueErrorFromJSON(json["error"])
|
|
510
|
+
};
|
|
511
|
+
}
|
|
512
|
+
function BatchQueryData200ResponseDataValueToJSON(value) {
|
|
513
|
+
if (value === void 0) {
|
|
514
|
+
return void 0;
|
|
515
|
+
}
|
|
516
|
+
if (value === null) {
|
|
517
|
+
return null;
|
|
518
|
+
}
|
|
519
|
+
return {
|
|
520
|
+
"success": value.success,
|
|
521
|
+
"data": value.data,
|
|
522
|
+
"error": BatchQueryData200ResponseDataValueErrorToJSON(value.error)
|
|
523
|
+
};
|
|
524
|
+
}
|
|
525
|
+
|
|
526
|
+
// src/generated/models/BatchQueryData200Response.ts
|
|
527
|
+
function instanceOfBatchQueryData200Response(value) {
|
|
528
|
+
let isInstance = true;
|
|
529
|
+
isInstance = isInstance && "success" in value;
|
|
530
|
+
isInstance = isInstance && "data" in value;
|
|
531
|
+
return isInstance;
|
|
532
|
+
}
|
|
533
|
+
function BatchQueryData200ResponseFromJSON(json) {
|
|
534
|
+
return BatchQueryData200ResponseFromJSONTyped(json, false);
|
|
535
|
+
}
|
|
536
|
+
function BatchQueryData200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
537
|
+
if (json === void 0 || json === null) {
|
|
538
|
+
return json;
|
|
539
|
+
}
|
|
540
|
+
return {
|
|
541
|
+
"success": json["success"],
|
|
542
|
+
"data": mapValues(json["data"], BatchQueryData200ResponseDataValueFromJSON)
|
|
543
|
+
};
|
|
544
|
+
}
|
|
545
|
+
function BatchQueryData200ResponseToJSON(value) {
|
|
546
|
+
if (value === void 0) {
|
|
547
|
+
return void 0;
|
|
548
|
+
}
|
|
549
|
+
if (value === null) {
|
|
550
|
+
return null;
|
|
551
|
+
}
|
|
552
|
+
return {
|
|
553
|
+
"success": value.success,
|
|
554
|
+
"data": mapValues(value.data, BatchQueryData200ResponseDataValueToJSON)
|
|
555
|
+
};
|
|
556
|
+
}
|
|
557
|
+
|
|
558
|
+
// src/generated/models/BatchQueryDataRequestQueriesInner.ts
|
|
559
|
+
function instanceOfBatchQueryDataRequestQueriesInner(value) {
|
|
560
|
+
let isInstance = true;
|
|
561
|
+
isInstance = isInstance && "queryVersionId" in value;
|
|
562
|
+
return isInstance;
|
|
563
|
+
}
|
|
564
|
+
function BatchQueryDataRequestQueriesInnerFromJSON(json) {
|
|
565
|
+
return BatchQueryDataRequestQueriesInnerFromJSONTyped(json, false);
|
|
566
|
+
}
|
|
567
|
+
function BatchQueryDataRequestQueriesInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
568
|
+
if (json === void 0 || json === null) {
|
|
569
|
+
return json;
|
|
570
|
+
}
|
|
571
|
+
return {
|
|
572
|
+
"queryVersionId": json["queryVersionId"],
|
|
573
|
+
"params": !exists(json, "params") ? void 0 : json["params"],
|
|
574
|
+
"alias": !exists(json, "alias") ? void 0 : json["alias"]
|
|
575
|
+
};
|
|
576
|
+
}
|
|
577
|
+
function BatchQueryDataRequestQueriesInnerToJSON(value) {
|
|
578
|
+
if (value === void 0) {
|
|
579
|
+
return void 0;
|
|
580
|
+
}
|
|
581
|
+
if (value === null) {
|
|
582
|
+
return null;
|
|
583
|
+
}
|
|
584
|
+
return {
|
|
585
|
+
"queryVersionId": value.queryVersionId,
|
|
586
|
+
"params": value.params,
|
|
587
|
+
"alias": value.alias
|
|
588
|
+
};
|
|
589
|
+
}
|
|
590
|
+
|
|
591
|
+
// src/generated/models/QueryDataRequestContext.ts
|
|
592
|
+
function instanceOfQueryDataRequestContext(value) {
|
|
593
|
+
let isInstance = true;
|
|
594
|
+
return isInstance;
|
|
595
|
+
}
|
|
596
|
+
function QueryDataRequestContextFromJSON(json) {
|
|
597
|
+
return QueryDataRequestContextFromJSONTyped(json, false);
|
|
598
|
+
}
|
|
599
|
+
function QueryDataRequestContextFromJSONTyped(json, ignoreDiscriminator) {
|
|
600
|
+
if (json === void 0 || json === null) {
|
|
601
|
+
return json;
|
|
602
|
+
}
|
|
603
|
+
return {
|
|
604
|
+
"pageVersionId": !exists(json, "pageVersionId") ? void 0 : json["pageVersionId"],
|
|
605
|
+
"uid": !exists(json, "uid") ? void 0 : json["uid"],
|
|
606
|
+
"sessionId": !exists(json, "sessionId") ? void 0 : json["sessionId"],
|
|
607
|
+
"traceId": !exists(json, "traceId") ? void 0 : json["traceId"]
|
|
608
|
+
};
|
|
609
|
+
}
|
|
610
|
+
function QueryDataRequestContextToJSON(value) {
|
|
611
|
+
if (value === void 0) {
|
|
612
|
+
return void 0;
|
|
613
|
+
}
|
|
614
|
+
if (value === null) {
|
|
615
|
+
return null;
|
|
616
|
+
}
|
|
617
|
+
return {
|
|
618
|
+
"pageVersionId": value.pageVersionId,
|
|
619
|
+
"uid": value.uid,
|
|
620
|
+
"sessionId": value.sessionId,
|
|
621
|
+
"traceId": value.traceId
|
|
622
|
+
};
|
|
623
|
+
}
|
|
624
|
+
|
|
625
|
+
// src/generated/models/BatchQueryDataRequest.ts
|
|
626
|
+
function instanceOfBatchQueryDataRequest(value) {
|
|
627
|
+
let isInstance = true;
|
|
628
|
+
isInstance = isInstance && "queries" in value;
|
|
629
|
+
return isInstance;
|
|
630
|
+
}
|
|
631
|
+
function BatchQueryDataRequestFromJSON(json) {
|
|
632
|
+
return BatchQueryDataRequestFromJSONTyped(json, false);
|
|
633
|
+
}
|
|
634
|
+
function BatchQueryDataRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
635
|
+
if (json === void 0 || json === null) {
|
|
636
|
+
return json;
|
|
637
|
+
}
|
|
638
|
+
return {
|
|
639
|
+
"queries": json["queries"].map(BatchQueryDataRequestQueriesInnerFromJSON),
|
|
640
|
+
"context": !exists(json, "context") ? void 0 : QueryDataRequestContextFromJSON(json["context"])
|
|
641
|
+
};
|
|
642
|
+
}
|
|
643
|
+
function BatchQueryDataRequestToJSON(value) {
|
|
644
|
+
if (value === void 0) {
|
|
645
|
+
return void 0;
|
|
646
|
+
}
|
|
647
|
+
if (value === null) {
|
|
648
|
+
return null;
|
|
649
|
+
}
|
|
650
|
+
return {
|
|
651
|
+
"queries": value.queries.map(BatchQueryDataRequestQueriesInnerToJSON),
|
|
652
|
+
"context": QueryDataRequestContextToJSON(value.context)
|
|
653
|
+
};
|
|
654
|
+
}
|
|
655
|
+
|
|
656
|
+
// src/generated/models/BatchQueryRequest.ts
|
|
657
|
+
function instanceOfBatchQueryRequest(value) {
|
|
658
|
+
let isInstance = true;
|
|
659
|
+
isInstance = isInstance && "queries" in value;
|
|
660
|
+
return isInstance;
|
|
661
|
+
}
|
|
662
|
+
function BatchQueryRequestFromJSON(json) {
|
|
663
|
+
return BatchQueryRequestFromJSONTyped(json, false);
|
|
664
|
+
}
|
|
665
|
+
function BatchQueryRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
666
|
+
if (json === void 0 || json === null) {
|
|
667
|
+
return json;
|
|
668
|
+
}
|
|
669
|
+
return {
|
|
670
|
+
"queries": json["queries"].map(BatchQueryDataRequestQueriesInnerFromJSON),
|
|
671
|
+
"context": !exists(json, "context") ? void 0 : QueryDataRequestContextFromJSON(json["context"])
|
|
672
|
+
};
|
|
673
|
+
}
|
|
674
|
+
function BatchQueryRequestToJSON(value) {
|
|
675
|
+
if (value === void 0) {
|
|
676
|
+
return void 0;
|
|
677
|
+
}
|
|
678
|
+
if (value === null) {
|
|
679
|
+
return null;
|
|
680
|
+
}
|
|
681
|
+
return {
|
|
682
|
+
"queries": value.queries.map(BatchQueryDataRequestQueriesInnerToJSON),
|
|
683
|
+
"context": QueryDataRequestContextToJSON(value.context)
|
|
684
|
+
};
|
|
685
|
+
}
|
|
686
|
+
|
|
687
|
+
// src/generated/models/BatchQueryResponse.ts
|
|
688
|
+
function instanceOfBatchQueryResponse(value) {
|
|
689
|
+
let isInstance = true;
|
|
690
|
+
isInstance = isInstance && "success" in value;
|
|
691
|
+
isInstance = isInstance && "data" in value;
|
|
692
|
+
return isInstance;
|
|
693
|
+
}
|
|
694
|
+
function BatchQueryResponseFromJSON(json) {
|
|
695
|
+
return BatchQueryResponseFromJSONTyped(json, false);
|
|
696
|
+
}
|
|
697
|
+
function BatchQueryResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
698
|
+
if (json === void 0 || json === null) {
|
|
699
|
+
return json;
|
|
700
|
+
}
|
|
701
|
+
return {
|
|
702
|
+
"success": json["success"],
|
|
703
|
+
"data": mapValues(json["data"], BatchQueryData200ResponseDataValueFromJSON)
|
|
704
|
+
};
|
|
705
|
+
}
|
|
706
|
+
function BatchQueryResponseToJSON(value) {
|
|
707
|
+
if (value === void 0) {
|
|
708
|
+
return void 0;
|
|
709
|
+
}
|
|
710
|
+
if (value === null) {
|
|
711
|
+
return null;
|
|
712
|
+
}
|
|
713
|
+
return {
|
|
714
|
+
"success": value.success,
|
|
715
|
+
"data": mapValues(value.data, BatchQueryData200ResponseDataValueToJSON)
|
|
359
716
|
};
|
|
360
717
|
}
|
|
361
718
|
|
|
@@ -431,7 +788,10 @@ function ComponentManifestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
431
788
|
"componentType": json["componentType"],
|
|
432
789
|
"version": json["version"],
|
|
433
790
|
"entryUrl": json["entryUrl"],
|
|
434
|
-
"
|
|
791
|
+
"styleUrl": !exists(json, "styleUrl") ? void 0 : json["styleUrl"],
|
|
792
|
+
"integrity": !exists(json, "integrity") ? void 0 : json["integrity"],
|
|
793
|
+
"blocked": !exists(json, "blocked") ? void 0 : json["blocked"],
|
|
794
|
+
"fallback": !exists(json, "fallback") ? void 0 : json["fallback"]
|
|
435
795
|
};
|
|
436
796
|
}
|
|
437
797
|
function ComponentManifestToJSON(value) {
|
|
@@ -445,7 +805,10 @@ function ComponentManifestToJSON(value) {
|
|
|
445
805
|
"componentType": value.componentType,
|
|
446
806
|
"version": value.version,
|
|
447
807
|
"entryUrl": value.entryUrl,
|
|
448
|
-
"
|
|
808
|
+
"styleUrl": value.styleUrl,
|
|
809
|
+
"integrity": value.integrity,
|
|
810
|
+
"blocked": value.blocked,
|
|
811
|
+
"fallback": value.fallback
|
|
449
812
|
};
|
|
450
813
|
}
|
|
451
814
|
|
|
@@ -496,7 +859,8 @@ function ErrorResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
496
859
|
return {
|
|
497
860
|
"code": json["code"],
|
|
498
861
|
"message": json["message"],
|
|
499
|
-
"details": !exists(json, "details") ? void 0 : json["details"].map(GetPage404ResponseDetailsInnerFromJSON)
|
|
862
|
+
"details": !exists(json, "details") ? void 0 : json["details"].map(GetPage404ResponseDetailsInnerFromJSON),
|
|
863
|
+
"traceId": !exists(json, "traceId") ? void 0 : json["traceId"]
|
|
500
864
|
};
|
|
501
865
|
}
|
|
502
866
|
function ErrorResponseToJSON(value) {
|
|
@@ -509,7 +873,8 @@ function ErrorResponseToJSON(value) {
|
|
|
509
873
|
return {
|
|
510
874
|
"code": value.code,
|
|
511
875
|
"message": value.message,
|
|
512
|
-
"details": value.details === void 0 ? void 0 : value.details.map(GetPage404ResponseDetailsInnerToJSON)
|
|
876
|
+
"details": value.details === void 0 ? void 0 : value.details.map(GetPage404ResponseDetailsInnerToJSON),
|
|
877
|
+
"traceId": value.traceId
|
|
513
878
|
};
|
|
514
879
|
}
|
|
515
880
|
|
|
@@ -519,6 +884,8 @@ var ExecuteAction200ResponseDataEffectsInnerTypeEnum = {
|
|
|
519
884
|
NAVIGATE: "navigate",
|
|
520
885
|
SHOW_TOAST: "showToast",
|
|
521
886
|
REFRESH_DATA: "refreshData",
|
|
887
|
+
OPEN_DIALOG: "openDialog",
|
|
888
|
+
CLOSE_DIALOG: "closeDialog",
|
|
522
889
|
CUSTOM: "custom"
|
|
523
890
|
};
|
|
524
891
|
function instanceOfExecuteAction200ResponseDataEffectsInner(value) {
|
|
@@ -564,7 +931,7 @@ function ExecuteAction200ResponseDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
564
931
|
return json;
|
|
565
932
|
}
|
|
566
933
|
return {
|
|
567
|
-
"
|
|
934
|
+
"actionId": !exists(json, "actionId") ? void 0 : json["actionId"],
|
|
568
935
|
"result": !exists(json, "result") ? void 0 : json["result"],
|
|
569
936
|
"effects": !exists(json, "effects") ? void 0 : json["effects"].map(ExecuteAction200ResponseDataEffectsInnerFromJSON)
|
|
570
937
|
};
|
|
@@ -577,30 +944,31 @@ function ExecuteAction200ResponseDataToJSON(value) {
|
|
|
577
944
|
return null;
|
|
578
945
|
}
|
|
579
946
|
return {
|
|
580
|
-
"
|
|
947
|
+
"actionId": value.actionId,
|
|
581
948
|
"result": value.result,
|
|
582
949
|
"effects": value.effects === void 0 ? void 0 : value.effects.map(ExecuteAction200ResponseDataEffectsInnerToJSON)
|
|
583
950
|
};
|
|
584
951
|
}
|
|
585
952
|
|
|
586
|
-
// src/generated/models/
|
|
587
|
-
function
|
|
953
|
+
// src/generated/models/ExecuteAction200ResponseMeta.ts
|
|
954
|
+
function instanceOfExecuteAction200ResponseMeta(value) {
|
|
588
955
|
let isInstance = true;
|
|
589
|
-
isInstance = isInstance && "data" in value;
|
|
590
956
|
return isInstance;
|
|
591
957
|
}
|
|
592
|
-
function
|
|
593
|
-
return
|
|
958
|
+
function ExecuteAction200ResponseMetaFromJSON(json) {
|
|
959
|
+
return ExecuteAction200ResponseMetaFromJSONTyped(json, false);
|
|
594
960
|
}
|
|
595
|
-
function
|
|
961
|
+
function ExecuteAction200ResponseMetaFromJSONTyped(json, ignoreDiscriminator) {
|
|
596
962
|
if (json === void 0 || json === null) {
|
|
597
963
|
return json;
|
|
598
964
|
}
|
|
599
965
|
return {
|
|
600
|
-
"
|
|
966
|
+
"executionTime": !exists(json, "executionTime") ? void 0 : json["executionTime"],
|
|
967
|
+
"traceId": !exists(json, "traceId") ? void 0 : json["traceId"],
|
|
968
|
+
"idempotent": !exists(json, "idempotent") ? void 0 : json["idempotent"]
|
|
601
969
|
};
|
|
602
970
|
}
|
|
603
|
-
function
|
|
971
|
+
function ExecuteAction200ResponseMetaToJSON(value) {
|
|
604
972
|
if (value === void 0) {
|
|
605
973
|
return void 0;
|
|
606
974
|
}
|
|
@@ -608,62 +976,33 @@ function ExecuteAction200ResponseToJSON(value) {
|
|
|
608
976
|
return null;
|
|
609
977
|
}
|
|
610
978
|
return {
|
|
611
|
-
"
|
|
979
|
+
"executionTime": value.executionTime,
|
|
980
|
+
"traceId": value.traceId,
|
|
981
|
+
"idempotent": value.idempotent
|
|
612
982
|
};
|
|
613
983
|
}
|
|
614
984
|
|
|
615
|
-
// src/generated/models/
|
|
616
|
-
function
|
|
985
|
+
// src/generated/models/ExecuteAction200Response.ts
|
|
986
|
+
function instanceOfExecuteAction200Response(value) {
|
|
617
987
|
let isInstance = true;
|
|
988
|
+
isInstance = isInstance && "success" in value;
|
|
989
|
+
isInstance = isInstance && "data" in value;
|
|
618
990
|
return isInstance;
|
|
619
991
|
}
|
|
620
|
-
function
|
|
621
|
-
return
|
|
992
|
+
function ExecuteAction200ResponseFromJSON(json) {
|
|
993
|
+
return ExecuteAction200ResponseFromJSONTyped(json, false);
|
|
622
994
|
}
|
|
623
|
-
function
|
|
624
|
-
if (json === void 0 || json === null) {
|
|
625
|
-
return json;
|
|
626
|
-
}
|
|
627
|
-
return {
|
|
628
|
-
"pageId": !exists(json, "pageId") ? void 0 : json["pageId"],
|
|
629
|
-
"componentId": !exists(json, "componentId") ? void 0 : json["componentId"],
|
|
630
|
-
"eventName": !exists(json, "eventName") ? void 0 : json["eventName"],
|
|
631
|
-
"state": !exists(json, "state") ? void 0 : json["state"]
|
|
632
|
-
};
|
|
633
|
-
}
|
|
634
|
-
function ExecuteActionRequestContextToJSON(value) {
|
|
635
|
-
if (value === void 0) {
|
|
636
|
-
return void 0;
|
|
637
|
-
}
|
|
638
|
-
if (value === null) {
|
|
639
|
-
return null;
|
|
640
|
-
}
|
|
641
|
-
return {
|
|
642
|
-
"pageId": value.pageId,
|
|
643
|
-
"componentId": value.componentId,
|
|
644
|
-
"eventName": value.eventName,
|
|
645
|
-
"state": value.state
|
|
646
|
-
};
|
|
647
|
-
}
|
|
648
|
-
|
|
649
|
-
// src/generated/models/ExecuteActionRequestOptions.ts
|
|
650
|
-
function instanceOfExecuteActionRequestOptions(value) {
|
|
651
|
-
let isInstance = true;
|
|
652
|
-
return isInstance;
|
|
653
|
-
}
|
|
654
|
-
function ExecuteActionRequestOptionsFromJSON(json) {
|
|
655
|
-
return ExecuteActionRequestOptionsFromJSONTyped(json, false);
|
|
656
|
-
}
|
|
657
|
-
function ExecuteActionRequestOptionsFromJSONTyped(json, ignoreDiscriminator) {
|
|
995
|
+
function ExecuteAction200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
658
996
|
if (json === void 0 || json === null) {
|
|
659
997
|
return json;
|
|
660
998
|
}
|
|
661
999
|
return {
|
|
662
|
-
"
|
|
663
|
-
"
|
|
1000
|
+
"success": json["success"],
|
|
1001
|
+
"data": ExecuteAction200ResponseDataFromJSON(json["data"]),
|
|
1002
|
+
"meta": !exists(json, "meta") ? void 0 : ExecuteAction200ResponseMetaFromJSON(json["meta"])
|
|
664
1003
|
};
|
|
665
1004
|
}
|
|
666
|
-
function
|
|
1005
|
+
function ExecuteAction200ResponseToJSON(value) {
|
|
667
1006
|
if (value === void 0) {
|
|
668
1007
|
return void 0;
|
|
669
1008
|
}
|
|
@@ -671,31 +1010,32 @@ function ExecuteActionRequestOptionsToJSON(value) {
|
|
|
671
1010
|
return null;
|
|
672
1011
|
}
|
|
673
1012
|
return {
|
|
674
|
-
"
|
|
675
|
-
"
|
|
1013
|
+
"success": value.success,
|
|
1014
|
+
"data": ExecuteAction200ResponseDataToJSON(value.data),
|
|
1015
|
+
"meta": ExecuteAction200ResponseMetaToJSON(value.meta)
|
|
676
1016
|
};
|
|
677
1017
|
}
|
|
678
1018
|
|
|
679
|
-
// src/generated/models/
|
|
680
|
-
function
|
|
1019
|
+
// src/generated/models/ExecuteAction409ResponseData.ts
|
|
1020
|
+
function instanceOfExecuteAction409ResponseData(value) {
|
|
681
1021
|
let isInstance = true;
|
|
682
|
-
isInstance = isInstance && "params" in value;
|
|
683
1022
|
return isInstance;
|
|
684
1023
|
}
|
|
685
|
-
function
|
|
686
|
-
return
|
|
1024
|
+
function ExecuteAction409ResponseDataFromJSON(json) {
|
|
1025
|
+
return ExecuteAction409ResponseDataFromJSONTyped(json, false);
|
|
687
1026
|
}
|
|
688
|
-
function
|
|
1027
|
+
function ExecuteAction409ResponseDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
689
1028
|
if (json === void 0 || json === null) {
|
|
690
1029
|
return json;
|
|
691
1030
|
}
|
|
692
1031
|
return {
|
|
693
|
-
"
|
|
694
|
-
"
|
|
695
|
-
"
|
|
1032
|
+
"idempotent": !exists(json, "idempotent") ? void 0 : json["idempotent"],
|
|
1033
|
+
"originalActionId": !exists(json, "originalActionId") ? void 0 : json["originalActionId"],
|
|
1034
|
+
"originalResult": !exists(json, "originalResult") ? void 0 : json["originalResult"],
|
|
1035
|
+
"originalExecutedAt": !exists(json, "originalExecutedAt") ? void 0 : new Date(json["originalExecutedAt"])
|
|
696
1036
|
};
|
|
697
1037
|
}
|
|
698
|
-
function
|
|
1038
|
+
function ExecuteAction409ResponseDataToJSON(value) {
|
|
699
1039
|
if (value === void 0) {
|
|
700
1040
|
return void 0;
|
|
701
1041
|
}
|
|
@@ -703,95 +1043,33 @@ function ExecuteActionRequestToJSON(value) {
|
|
|
703
1043
|
return null;
|
|
704
1044
|
}
|
|
705
1045
|
return {
|
|
706
|
-
"
|
|
707
|
-
"
|
|
708
|
-
"
|
|
1046
|
+
"idempotent": value.idempotent,
|
|
1047
|
+
"originalActionId": value.originalActionId,
|
|
1048
|
+
"originalResult": value.originalResult,
|
|
1049
|
+
"originalExecutedAt": value.originalExecutedAt === void 0 ? void 0 : value.originalExecutedAt.toISOString()
|
|
709
1050
|
};
|
|
710
1051
|
}
|
|
711
1052
|
|
|
712
|
-
// src/generated/models/
|
|
713
|
-
function
|
|
1053
|
+
// src/generated/models/ExecuteAction409Response.ts
|
|
1054
|
+
function instanceOfExecuteAction409Response(value) {
|
|
714
1055
|
let isInstance = true;
|
|
1056
|
+
isInstance = isInstance && "success" in value;
|
|
715
1057
|
isInstance = isInstance && "data" in value;
|
|
716
1058
|
return isInstance;
|
|
717
1059
|
}
|
|
718
|
-
function
|
|
719
|
-
return
|
|
720
|
-
}
|
|
721
|
-
function ExecuteActionResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
722
|
-
if (json === void 0 || json === null) {
|
|
723
|
-
return json;
|
|
724
|
-
}
|
|
725
|
-
return {
|
|
726
|
-
"data": ExecuteAction200ResponseDataFromJSON(json["data"])
|
|
727
|
-
};
|
|
728
|
-
}
|
|
729
|
-
function ExecuteActionResponseToJSON(value) {
|
|
730
|
-
if (value === void 0) {
|
|
731
|
-
return void 0;
|
|
732
|
-
}
|
|
733
|
-
if (value === null) {
|
|
734
|
-
return null;
|
|
735
|
-
}
|
|
736
|
-
return {
|
|
737
|
-
"data": ExecuteAction200ResponseDataToJSON(value.data)
|
|
738
|
-
};
|
|
739
|
-
}
|
|
740
|
-
|
|
741
|
-
// src/generated/models/ExecuteQuery200ResponseMetaPagination.ts
|
|
742
|
-
function instanceOfExecuteQuery200ResponseMetaPagination(value) {
|
|
743
|
-
let isInstance = true;
|
|
744
|
-
return isInstance;
|
|
745
|
-
}
|
|
746
|
-
function ExecuteQuery200ResponseMetaPaginationFromJSON(json) {
|
|
747
|
-
return ExecuteQuery200ResponseMetaPaginationFromJSONTyped(json, false);
|
|
748
|
-
}
|
|
749
|
-
function ExecuteQuery200ResponseMetaPaginationFromJSONTyped(json, ignoreDiscriminator) {
|
|
750
|
-
if (json === void 0 || json === null) {
|
|
751
|
-
return json;
|
|
752
|
-
}
|
|
753
|
-
return {
|
|
754
|
-
"page": !exists(json, "page") ? void 0 : json["page"],
|
|
755
|
-
"limit": !exists(json, "limit") ? void 0 : json["limit"],
|
|
756
|
-
"total": !exists(json, "total") ? void 0 : json["total"],
|
|
757
|
-
"hasMore": !exists(json, "hasMore") ? void 0 : json["hasMore"]
|
|
758
|
-
};
|
|
759
|
-
}
|
|
760
|
-
function ExecuteQuery200ResponseMetaPaginationToJSON(value) {
|
|
761
|
-
if (value === void 0) {
|
|
762
|
-
return void 0;
|
|
763
|
-
}
|
|
764
|
-
if (value === null) {
|
|
765
|
-
return null;
|
|
766
|
-
}
|
|
767
|
-
return {
|
|
768
|
-
"page": value.page,
|
|
769
|
-
"limit": value.limit,
|
|
770
|
-
"total": value.total,
|
|
771
|
-
"hasMore": value.hasMore
|
|
772
|
-
};
|
|
773
|
-
}
|
|
774
|
-
|
|
775
|
-
// src/generated/models/ExecuteQuery200ResponseMeta.ts
|
|
776
|
-
function instanceOfExecuteQuery200ResponseMeta(value) {
|
|
777
|
-
let isInstance = true;
|
|
778
|
-
return isInstance;
|
|
779
|
-
}
|
|
780
|
-
function ExecuteQuery200ResponseMetaFromJSON(json) {
|
|
781
|
-
return ExecuteQuery200ResponseMetaFromJSONTyped(json, false);
|
|
1060
|
+
function ExecuteAction409ResponseFromJSON(json) {
|
|
1061
|
+
return ExecuteAction409ResponseFromJSONTyped(json, false);
|
|
782
1062
|
}
|
|
783
|
-
function
|
|
1063
|
+
function ExecuteAction409ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
784
1064
|
if (json === void 0 || json === null) {
|
|
785
1065
|
return json;
|
|
786
1066
|
}
|
|
787
1067
|
return {
|
|
788
|
-
"
|
|
789
|
-
"
|
|
790
|
-
"executionTime": !exists(json, "executionTime") ? void 0 : json["executionTime"],
|
|
791
|
-
"pagination": !exists(json, "pagination") ? void 0 : ExecuteQuery200ResponseMetaPaginationFromJSON(json["pagination"])
|
|
1068
|
+
"success": json["success"],
|
|
1069
|
+
"data": ExecuteAction409ResponseDataFromJSON(json["data"])
|
|
792
1070
|
};
|
|
793
1071
|
}
|
|
794
|
-
function
|
|
1072
|
+
function ExecuteAction409ResponseToJSON(value) {
|
|
795
1073
|
if (value === void 0) {
|
|
796
1074
|
return void 0;
|
|
797
1075
|
}
|
|
@@ -799,32 +1077,39 @@ function ExecuteQuery200ResponseMetaToJSON(value) {
|
|
|
799
1077
|
return null;
|
|
800
1078
|
}
|
|
801
1079
|
return {
|
|
802
|
-
"
|
|
803
|
-
"
|
|
804
|
-
"executionTime": value.executionTime,
|
|
805
|
-
"pagination": ExecuteQuery200ResponseMetaPaginationToJSON(value.pagination)
|
|
1080
|
+
"success": value.success,
|
|
1081
|
+
"data": ExecuteAction409ResponseDataToJSON(value.data)
|
|
806
1082
|
};
|
|
807
1083
|
}
|
|
808
1084
|
|
|
809
|
-
// src/generated/models/
|
|
810
|
-
function
|
|
1085
|
+
// src/generated/models/ExecuteActionRequestContext.ts
|
|
1086
|
+
function instanceOfExecuteActionRequestContext(value) {
|
|
811
1087
|
let isInstance = true;
|
|
812
|
-
isInstance = isInstance && "
|
|
1088
|
+
isInstance = isInstance && "pageVersionId" in value;
|
|
813
1089
|
return isInstance;
|
|
814
1090
|
}
|
|
815
|
-
function
|
|
816
|
-
return
|
|
1091
|
+
function ExecuteActionRequestContextFromJSON(json) {
|
|
1092
|
+
return ExecuteActionRequestContextFromJSONTyped(json, false);
|
|
817
1093
|
}
|
|
818
|
-
function
|
|
1094
|
+
function ExecuteActionRequestContextFromJSONTyped(json, ignoreDiscriminator) {
|
|
819
1095
|
if (json === void 0 || json === null) {
|
|
820
1096
|
return json;
|
|
821
1097
|
}
|
|
822
1098
|
return {
|
|
823
|
-
"
|
|
824
|
-
"
|
|
1099
|
+
"pageVersionId": json["pageVersionId"],
|
|
1100
|
+
"componentVersionId": !exists(json, "componentVersionId") ? void 0 : json["componentVersionId"],
|
|
1101
|
+
"actionId": !exists(json, "actionId") ? void 0 : json["actionId"],
|
|
1102
|
+
"traceId": !exists(json, "traceId") ? void 0 : json["traceId"],
|
|
1103
|
+
"uid": !exists(json, "uid") ? void 0 : json["uid"],
|
|
1104
|
+
"deviceId": !exists(json, "deviceId") ? void 0 : json["deviceId"],
|
|
1105
|
+
"channel": !exists(json, "channel") ? void 0 : json["channel"],
|
|
1106
|
+
"sessionId": !exists(json, "sessionId") ? void 0 : json["sessionId"],
|
|
1107
|
+
"eventName": !exists(json, "eventName") ? void 0 : json["eventName"],
|
|
1108
|
+
"timestamp": !exists(json, "timestamp") ? void 0 : new Date(json["timestamp"]),
|
|
1109
|
+
"state": !exists(json, "state") ? void 0 : json["state"]
|
|
825
1110
|
};
|
|
826
1111
|
}
|
|
827
|
-
function
|
|
1112
|
+
function ExecuteActionRequestContextToJSON(value) {
|
|
828
1113
|
if (value === void 0) {
|
|
829
1114
|
return void 0;
|
|
830
1115
|
}
|
|
@@ -832,30 +1117,38 @@ function ExecuteQuery200ResponseToJSON(value) {
|
|
|
832
1117
|
return null;
|
|
833
1118
|
}
|
|
834
1119
|
return {
|
|
835
|
-
"
|
|
836
|
-
"
|
|
1120
|
+
"pageVersionId": value.pageVersionId,
|
|
1121
|
+
"componentVersionId": value.componentVersionId,
|
|
1122
|
+
"actionId": value.actionId,
|
|
1123
|
+
"traceId": value.traceId,
|
|
1124
|
+
"uid": value.uid,
|
|
1125
|
+
"deviceId": value.deviceId,
|
|
1126
|
+
"channel": value.channel,
|
|
1127
|
+
"sessionId": value.sessionId,
|
|
1128
|
+
"eventName": value.eventName,
|
|
1129
|
+
"timestamp": value.timestamp === void 0 ? void 0 : value.timestamp.toISOString(),
|
|
1130
|
+
"state": value.state
|
|
837
1131
|
};
|
|
838
1132
|
}
|
|
839
1133
|
|
|
840
|
-
// src/generated/models/
|
|
841
|
-
function
|
|
1134
|
+
// src/generated/models/ExecuteActionRequestOptions.ts
|
|
1135
|
+
function instanceOfExecuteActionRequestOptions(value) {
|
|
842
1136
|
let isInstance = true;
|
|
843
1137
|
return isInstance;
|
|
844
1138
|
}
|
|
845
|
-
function
|
|
846
|
-
return
|
|
1139
|
+
function ExecuteActionRequestOptionsFromJSON(json) {
|
|
1140
|
+
return ExecuteActionRequestOptionsFromJSONTyped(json, false);
|
|
847
1141
|
}
|
|
848
|
-
function
|
|
1142
|
+
function ExecuteActionRequestOptionsFromJSONTyped(json, ignoreDiscriminator) {
|
|
849
1143
|
if (json === void 0 || json === null) {
|
|
850
1144
|
return json;
|
|
851
1145
|
}
|
|
852
1146
|
return {
|
|
853
1147
|
"timeout": !exists(json, "timeout") ? void 0 : json["timeout"],
|
|
854
|
-
"
|
|
855
|
-
"cacheKey": !exists(json, "cacheKey") ? void 0 : json["cacheKey"]
|
|
1148
|
+
"skipRisk": !exists(json, "skipRisk") ? void 0 : json["skipRisk"]
|
|
856
1149
|
};
|
|
857
1150
|
}
|
|
858
|
-
function
|
|
1151
|
+
function ExecuteActionRequestOptionsToJSON(value) {
|
|
859
1152
|
if (value === void 0) {
|
|
860
1153
|
return void 0;
|
|
861
1154
|
}
|
|
@@ -864,38 +1157,50 @@ function ExecuteQueryRequestOptionsToJSON(value) {
|
|
|
864
1157
|
}
|
|
865
1158
|
return {
|
|
866
1159
|
"timeout": value.timeout,
|
|
867
|
-
"
|
|
868
|
-
"cacheKey": value.cacheKey
|
|
1160
|
+
"skipRisk": value.skipRisk
|
|
869
1161
|
};
|
|
870
1162
|
}
|
|
871
1163
|
|
|
872
|
-
// src/generated/models/
|
|
873
|
-
var
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
1164
|
+
// src/generated/models/ExecuteActionRequest.ts
|
|
1165
|
+
var ExecuteActionRequestActionTypeEnum = {
|
|
1166
|
+
CLAIM: "claim",
|
|
1167
|
+
SIGNIN: "signin",
|
|
1168
|
+
LOTTERY: "lottery",
|
|
1169
|
+
RESERVE: "reserve",
|
|
1170
|
+
BIND: "bind",
|
|
1171
|
+
TASK_COMPLETE: "task_complete",
|
|
1172
|
+
VOTE: "vote",
|
|
1173
|
+
SHARE: "share",
|
|
1174
|
+
FORM_SUBMIT: "form_submit",
|
|
1175
|
+
NAVIGATE: "navigate",
|
|
1176
|
+
SET_STATE: "setState",
|
|
1177
|
+
SHOW_TOAST: "showToast",
|
|
1178
|
+
REFRESH_DATA: "refreshData",
|
|
1179
|
+
CUSTOM: "custom"
|
|
877
1180
|
};
|
|
878
|
-
function
|
|
1181
|
+
function instanceOfExecuteActionRequest(value) {
|
|
879
1182
|
let isInstance = true;
|
|
1183
|
+
isInstance = isInstance && "actionType" in value;
|
|
1184
|
+
isInstance = isInstance && "params" in value;
|
|
880
1185
|
return isInstance;
|
|
881
1186
|
}
|
|
882
|
-
function
|
|
883
|
-
return
|
|
1187
|
+
function ExecuteActionRequestFromJSON(json) {
|
|
1188
|
+
return ExecuteActionRequestFromJSONTyped(json, false);
|
|
884
1189
|
}
|
|
885
|
-
function
|
|
1190
|
+
function ExecuteActionRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
886
1191
|
if (json === void 0 || json === null) {
|
|
887
1192
|
return json;
|
|
888
1193
|
}
|
|
889
1194
|
return {
|
|
890
|
-
"
|
|
891
|
-
"
|
|
892
|
-
"
|
|
893
|
-
"
|
|
894
|
-
"
|
|
895
|
-
"
|
|
1195
|
+
"actionType": json["actionType"],
|
|
1196
|
+
"actionDefinitionVersionId": !exists(json, "actionDefinitionVersionId") ? void 0 : json["actionDefinitionVersionId"],
|
|
1197
|
+
"params": json["params"],
|
|
1198
|
+
"context": !exists(json, "context") ? void 0 : ExecuteActionRequestContextFromJSON(json["context"]),
|
|
1199
|
+
"idempotencyKey": !exists(json, "idempotencyKey") ? void 0 : json["idempotencyKey"],
|
|
1200
|
+
"options": !exists(json, "options") ? void 0 : ExecuteActionRequestOptionsFromJSON(json["options"])
|
|
896
1201
|
};
|
|
897
1202
|
}
|
|
898
|
-
function
|
|
1203
|
+
function ExecuteActionRequestToJSON(value) {
|
|
899
1204
|
if (value === void 0) {
|
|
900
1205
|
return void 0;
|
|
901
1206
|
}
|
|
@@ -903,34 +1208,36 @@ function ResolvePageRequestContextToJSON(value) {
|
|
|
903
1208
|
return null;
|
|
904
1209
|
}
|
|
905
1210
|
return {
|
|
906
|
-
"
|
|
907
|
-
"
|
|
908
|
-
"
|
|
909
|
-
"
|
|
910
|
-
"
|
|
911
|
-
"
|
|
1211
|
+
"actionType": value.actionType,
|
|
1212
|
+
"actionDefinitionVersionId": value.actionDefinitionVersionId,
|
|
1213
|
+
"params": value.params,
|
|
1214
|
+
"context": ExecuteActionRequestContextToJSON(value.context),
|
|
1215
|
+
"idempotencyKey": value.idempotencyKey,
|
|
1216
|
+
"options": ExecuteActionRequestOptionsToJSON(value.options)
|
|
912
1217
|
};
|
|
913
1218
|
}
|
|
914
1219
|
|
|
915
|
-
// src/generated/models/
|
|
916
|
-
function
|
|
1220
|
+
// src/generated/models/ExecuteActionResponse.ts
|
|
1221
|
+
function instanceOfExecuteActionResponse(value) {
|
|
917
1222
|
let isInstance = true;
|
|
1223
|
+
isInstance = isInstance && "success" in value;
|
|
1224
|
+
isInstance = isInstance && "data" in value;
|
|
918
1225
|
return isInstance;
|
|
919
1226
|
}
|
|
920
|
-
function
|
|
921
|
-
return
|
|
1227
|
+
function ExecuteActionResponseFromJSON(json) {
|
|
1228
|
+
return ExecuteActionResponseFromJSONTyped(json, false);
|
|
922
1229
|
}
|
|
923
|
-
function
|
|
1230
|
+
function ExecuteActionResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
924
1231
|
if (json === void 0 || json === null) {
|
|
925
1232
|
return json;
|
|
926
1233
|
}
|
|
927
1234
|
return {
|
|
928
|
-
"
|
|
929
|
-
"
|
|
930
|
-
"
|
|
1235
|
+
"success": json["success"],
|
|
1236
|
+
"data": ExecuteAction200ResponseDataFromJSON(json["data"]),
|
|
1237
|
+
"meta": !exists(json, "meta") ? void 0 : ExecuteAction200ResponseMetaFromJSON(json["meta"])
|
|
931
1238
|
};
|
|
932
1239
|
}
|
|
933
|
-
function
|
|
1240
|
+
function ExecuteActionResponseToJSON(value) {
|
|
934
1241
|
if (value === void 0) {
|
|
935
1242
|
return void 0;
|
|
936
1243
|
}
|
|
@@ -938,31 +1245,30 @@ function ExecuteQueryRequestToJSON(value) {
|
|
|
938
1245
|
return null;
|
|
939
1246
|
}
|
|
940
1247
|
return {
|
|
941
|
-
"
|
|
942
|
-
"
|
|
943
|
-
"
|
|
1248
|
+
"success": value.success,
|
|
1249
|
+
"data": ExecuteAction200ResponseDataToJSON(value.data),
|
|
1250
|
+
"meta": ExecuteAction200ResponseMetaToJSON(value.meta)
|
|
944
1251
|
};
|
|
945
1252
|
}
|
|
946
1253
|
|
|
947
|
-
// src/generated/models/
|
|
948
|
-
function
|
|
1254
|
+
// src/generated/models/GetActionDefinition200Response.ts
|
|
1255
|
+
function instanceOfGetActionDefinition200Response(value) {
|
|
949
1256
|
let isInstance = true;
|
|
950
1257
|
isInstance = isInstance && "data" in value;
|
|
951
1258
|
return isInstance;
|
|
952
1259
|
}
|
|
953
|
-
function
|
|
954
|
-
return
|
|
1260
|
+
function GetActionDefinition200ResponseFromJSON(json) {
|
|
1261
|
+
return GetActionDefinition200ResponseFromJSONTyped(json, false);
|
|
955
1262
|
}
|
|
956
|
-
function
|
|
1263
|
+
function GetActionDefinition200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
957
1264
|
if (json === void 0 || json === null) {
|
|
958
1265
|
return json;
|
|
959
1266
|
}
|
|
960
1267
|
return {
|
|
961
|
-
"data": json["data"]
|
|
962
|
-
"meta": !exists(json, "meta") ? void 0 : ExecuteQuery200ResponseMetaFromJSON(json["meta"])
|
|
1268
|
+
"data": GetActionDefinition200ResponseDataFromJSON(json["data"])
|
|
963
1269
|
};
|
|
964
1270
|
}
|
|
965
|
-
function
|
|
1271
|
+
function GetActionDefinition200ResponseToJSON(value) {
|
|
966
1272
|
if (value === void 0) {
|
|
967
1273
|
return void 0;
|
|
968
1274
|
}
|
|
@@ -970,8 +1276,7 @@ function ExecuteQueryResponseToJSON(value) {
|
|
|
970
1276
|
return null;
|
|
971
1277
|
}
|
|
972
1278
|
return {
|
|
973
|
-
"data": value.data
|
|
974
|
-
"meta": ExecuteQuery200ResponseMetaToJSON(value.meta)
|
|
1279
|
+
"data": GetActionDefinition200ResponseDataToJSON(value.data)
|
|
975
1280
|
};
|
|
976
1281
|
}
|
|
977
1282
|
|
|
@@ -1009,10 +1314,14 @@ function GetActivityInfo200ResponseDataRewardsInnerToJSON(value) {
|
|
|
1009
1314
|
|
|
1010
1315
|
// src/generated/models/GetActivityInfo200ResponseData.ts
|
|
1011
1316
|
var GetActivityInfo200ResponseDataTypeEnum = {
|
|
1317
|
+
CLAIM: "claim",
|
|
1012
1318
|
SIGNIN: "signin",
|
|
1013
1319
|
LOTTERY: "lottery",
|
|
1014
|
-
|
|
1015
|
-
|
|
1320
|
+
RESERVE: "reserve",
|
|
1321
|
+
TASK: "task",
|
|
1322
|
+
VOTE: "vote",
|
|
1323
|
+
SHARE: "share",
|
|
1324
|
+
BIND: "bind",
|
|
1016
1325
|
CUSTOM: "custom"
|
|
1017
1326
|
};
|
|
1018
1327
|
var GetActivityInfo200ResponseDataStatusEnum = {
|
|
@@ -1497,7 +1806,8 @@ function GetPage404ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
1497
1806
|
return {
|
|
1498
1807
|
"code": json["code"],
|
|
1499
1808
|
"message": json["message"],
|
|
1500
|
-
"details": !exists(json, "details") ? void 0 : json["details"].map(GetPage404ResponseDetailsInnerFromJSON)
|
|
1809
|
+
"details": !exists(json, "details") ? void 0 : json["details"].map(GetPage404ResponseDetailsInnerFromJSON),
|
|
1810
|
+
"traceId": !exists(json, "traceId") ? void 0 : json["traceId"]
|
|
1501
1811
|
};
|
|
1502
1812
|
}
|
|
1503
1813
|
function GetPage404ResponseToJSON(value) {
|
|
@@ -1510,7 +1820,73 @@ function GetPage404ResponseToJSON(value) {
|
|
|
1510
1820
|
return {
|
|
1511
1821
|
"code": value.code,
|
|
1512
1822
|
"message": value.message,
|
|
1513
|
-
"details": value.details === void 0 ? void 0 : value.details.map(GetPage404ResponseDetailsInnerToJSON)
|
|
1823
|
+
"details": value.details === void 0 ? void 0 : value.details.map(GetPage404ResponseDetailsInnerToJSON),
|
|
1824
|
+
"traceId": value.traceId
|
|
1825
|
+
};
|
|
1826
|
+
}
|
|
1827
|
+
|
|
1828
|
+
// src/generated/models/GetQueryDefinition200ResponseData.ts
|
|
1829
|
+
function instanceOfGetQueryDefinition200ResponseData(value) {
|
|
1830
|
+
let isInstance = true;
|
|
1831
|
+
return isInstance;
|
|
1832
|
+
}
|
|
1833
|
+
function GetQueryDefinition200ResponseDataFromJSON(json) {
|
|
1834
|
+
return GetQueryDefinition200ResponseDataFromJSONTyped(json, false);
|
|
1835
|
+
}
|
|
1836
|
+
function GetQueryDefinition200ResponseDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
1837
|
+
if (json === void 0 || json === null) {
|
|
1838
|
+
return json;
|
|
1839
|
+
}
|
|
1840
|
+
return {
|
|
1841
|
+
"queryVersionId": !exists(json, "queryVersionId") ? void 0 : json["queryVersionId"],
|
|
1842
|
+
"name": !exists(json, "name") ? void 0 : json["name"],
|
|
1843
|
+
"paramsSchema": !exists(json, "paramsSchema") ? void 0 : json["paramsSchema"],
|
|
1844
|
+
"resultSchema": !exists(json, "resultSchema") ? void 0 : json["resultSchema"],
|
|
1845
|
+
"cacheTtl": !exists(json, "cacheTtl") ? void 0 : json["cacheTtl"]
|
|
1846
|
+
};
|
|
1847
|
+
}
|
|
1848
|
+
function GetQueryDefinition200ResponseDataToJSON(value) {
|
|
1849
|
+
if (value === void 0) {
|
|
1850
|
+
return void 0;
|
|
1851
|
+
}
|
|
1852
|
+
if (value === null) {
|
|
1853
|
+
return null;
|
|
1854
|
+
}
|
|
1855
|
+
return {
|
|
1856
|
+
"queryVersionId": value.queryVersionId,
|
|
1857
|
+
"name": value.name,
|
|
1858
|
+
"paramsSchema": value.paramsSchema,
|
|
1859
|
+
"resultSchema": value.resultSchema,
|
|
1860
|
+
"cacheTtl": value.cacheTtl
|
|
1861
|
+
};
|
|
1862
|
+
}
|
|
1863
|
+
|
|
1864
|
+
// src/generated/models/GetQueryDefinition200Response.ts
|
|
1865
|
+
function instanceOfGetQueryDefinition200Response(value) {
|
|
1866
|
+
let isInstance = true;
|
|
1867
|
+
isInstance = isInstance && "data" in value;
|
|
1868
|
+
return isInstance;
|
|
1869
|
+
}
|
|
1870
|
+
function GetQueryDefinition200ResponseFromJSON(json) {
|
|
1871
|
+
return GetQueryDefinition200ResponseFromJSONTyped(json, false);
|
|
1872
|
+
}
|
|
1873
|
+
function GetQueryDefinition200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
1874
|
+
if (json === void 0 || json === null) {
|
|
1875
|
+
return json;
|
|
1876
|
+
}
|
|
1877
|
+
return {
|
|
1878
|
+
"data": GetQueryDefinition200ResponseDataFromJSON(json["data"])
|
|
1879
|
+
};
|
|
1880
|
+
}
|
|
1881
|
+
function GetQueryDefinition200ResponseToJSON(value) {
|
|
1882
|
+
if (value === void 0) {
|
|
1883
|
+
return void 0;
|
|
1884
|
+
}
|
|
1885
|
+
if (value === null) {
|
|
1886
|
+
return null;
|
|
1887
|
+
}
|
|
1888
|
+
return {
|
|
1889
|
+
"data": GetQueryDefinition200ResponseDataToJSON(value.data)
|
|
1514
1890
|
};
|
|
1515
1891
|
}
|
|
1516
1892
|
|
|
@@ -1645,47 +2021,631 @@ function GetSigninCalendar200ResponseToJSON(value) {
|
|
|
1645
2021
|
};
|
|
1646
2022
|
}
|
|
1647
2023
|
|
|
1648
|
-
// src/generated/models/
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
}
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
|
|
2024
|
+
// src/generated/models/GetTenantConfig200ResponseDataBlockedComponentsInner.ts
|
|
2025
|
+
function instanceOfGetTenantConfig200ResponseDataBlockedComponentsInner(value) {
|
|
2026
|
+
let isInstance = true;
|
|
2027
|
+
return isInstance;
|
|
2028
|
+
}
|
|
2029
|
+
function GetTenantConfig200ResponseDataBlockedComponentsInnerFromJSON(json) {
|
|
2030
|
+
return GetTenantConfig200ResponseDataBlockedComponentsInnerFromJSONTyped(json, false);
|
|
2031
|
+
}
|
|
2032
|
+
function GetTenantConfig200ResponseDataBlockedComponentsInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
2033
|
+
if (json === void 0 || json === null) {
|
|
2034
|
+
return json;
|
|
2035
|
+
}
|
|
2036
|
+
return {
|
|
2037
|
+
"componentType": !exists(json, "componentType") ? void 0 : json["componentType"],
|
|
2038
|
+
"version": !exists(json, "version") ? void 0 : json["version"],
|
|
2039
|
+
"reason": !exists(json, "reason") ? void 0 : json["reason"]
|
|
2040
|
+
};
|
|
2041
|
+
}
|
|
2042
|
+
function GetTenantConfig200ResponseDataBlockedComponentsInnerToJSON(value) {
|
|
2043
|
+
if (value === void 0) {
|
|
2044
|
+
return void 0;
|
|
2045
|
+
}
|
|
2046
|
+
if (value === null) {
|
|
2047
|
+
return null;
|
|
2048
|
+
}
|
|
2049
|
+
return {
|
|
2050
|
+
"componentType": value.componentType,
|
|
2051
|
+
"version": value.version,
|
|
2052
|
+
"reason": value.reason
|
|
2053
|
+
};
|
|
2054
|
+
}
|
|
2055
|
+
|
|
2056
|
+
// src/generated/models/GetTenantConfig200ResponseDataKillSwitch.ts
|
|
2057
|
+
function instanceOfGetTenantConfig200ResponseDataKillSwitch(value) {
|
|
2058
|
+
let isInstance = true;
|
|
2059
|
+
return isInstance;
|
|
2060
|
+
}
|
|
2061
|
+
function GetTenantConfig200ResponseDataKillSwitchFromJSON(json) {
|
|
2062
|
+
return GetTenantConfig200ResponseDataKillSwitchFromJSONTyped(json, false);
|
|
2063
|
+
}
|
|
2064
|
+
function GetTenantConfig200ResponseDataKillSwitchFromJSONTyped(json, ignoreDiscriminator) {
|
|
2065
|
+
if (json === void 0 || json === null) {
|
|
2066
|
+
return json;
|
|
2067
|
+
}
|
|
2068
|
+
return {
|
|
2069
|
+
"enabled": !exists(json, "enabled") ? void 0 : json["enabled"],
|
|
2070
|
+
"pageIds": !exists(json, "pageIds") ? void 0 : json["pageIds"],
|
|
2071
|
+
"fallbackUrl": !exists(json, "fallbackUrl") ? void 0 : json["fallbackUrl"]
|
|
2072
|
+
};
|
|
2073
|
+
}
|
|
2074
|
+
function GetTenantConfig200ResponseDataKillSwitchToJSON(value) {
|
|
2075
|
+
if (value === void 0) {
|
|
2076
|
+
return void 0;
|
|
2077
|
+
}
|
|
2078
|
+
if (value === null) {
|
|
2079
|
+
return null;
|
|
2080
|
+
}
|
|
2081
|
+
return {
|
|
2082
|
+
"enabled": value.enabled,
|
|
2083
|
+
"pageIds": value.pageIds,
|
|
2084
|
+
"fallbackUrl": value.fallbackUrl
|
|
2085
|
+
};
|
|
2086
|
+
}
|
|
2087
|
+
|
|
2088
|
+
// src/generated/models/GetTenantConfig200ResponseData.ts
|
|
2089
|
+
function instanceOfGetTenantConfig200ResponseData(value) {
|
|
2090
|
+
let isInstance = true;
|
|
2091
|
+
return isInstance;
|
|
2092
|
+
}
|
|
2093
|
+
function GetTenantConfig200ResponseDataFromJSON(json) {
|
|
2094
|
+
return GetTenantConfig200ResponseDataFromJSONTyped(json, false);
|
|
2095
|
+
}
|
|
2096
|
+
function GetTenantConfig200ResponseDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
2097
|
+
if (json === void 0 || json === null) {
|
|
2098
|
+
return json;
|
|
2099
|
+
}
|
|
2100
|
+
return {
|
|
2101
|
+
"features": !exists(json, "features") ? void 0 : json["features"],
|
|
2102
|
+
"theme": !exists(json, "theme") ? void 0 : json["theme"],
|
|
2103
|
+
"cdnDomain": !exists(json, "cdnDomain") ? void 0 : json["cdnDomain"],
|
|
2104
|
+
"runtimeVersion": !exists(json, "runtimeVersion") ? void 0 : json["runtimeVersion"],
|
|
2105
|
+
"blockedComponents": !exists(json, "blockedComponents") ? void 0 : json["blockedComponents"].map(GetTenantConfig200ResponseDataBlockedComponentsInnerFromJSON),
|
|
2106
|
+
"killSwitch": !exists(json, "killSwitch") ? void 0 : GetTenantConfig200ResponseDataKillSwitchFromJSON(json["killSwitch"])
|
|
2107
|
+
};
|
|
2108
|
+
}
|
|
2109
|
+
function GetTenantConfig200ResponseDataToJSON(value) {
|
|
2110
|
+
if (value === void 0) {
|
|
2111
|
+
return void 0;
|
|
2112
|
+
}
|
|
2113
|
+
if (value === null) {
|
|
2114
|
+
return null;
|
|
2115
|
+
}
|
|
2116
|
+
return {
|
|
2117
|
+
"features": value.features,
|
|
2118
|
+
"theme": value.theme,
|
|
2119
|
+
"cdnDomain": value.cdnDomain,
|
|
2120
|
+
"runtimeVersion": value.runtimeVersion,
|
|
2121
|
+
"blockedComponents": value.blockedComponents === void 0 ? void 0 : value.blockedComponents.map(GetTenantConfig200ResponseDataBlockedComponentsInnerToJSON),
|
|
2122
|
+
"killSwitch": GetTenantConfig200ResponseDataKillSwitchToJSON(value.killSwitch)
|
|
2123
|
+
};
|
|
2124
|
+
}
|
|
2125
|
+
|
|
2126
|
+
// src/generated/models/GetTenantConfig200Response.ts
|
|
2127
|
+
function instanceOfGetTenantConfig200Response(value) {
|
|
2128
|
+
let isInstance = true;
|
|
2129
|
+
return isInstance;
|
|
2130
|
+
}
|
|
2131
|
+
function GetTenantConfig200ResponseFromJSON(json) {
|
|
2132
|
+
return GetTenantConfig200ResponseFromJSONTyped(json, false);
|
|
2133
|
+
}
|
|
2134
|
+
function GetTenantConfig200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
2135
|
+
if (json === void 0 || json === null) {
|
|
2136
|
+
return json;
|
|
2137
|
+
}
|
|
2138
|
+
return {
|
|
2139
|
+
"success": !exists(json, "success") ? void 0 : json["success"],
|
|
2140
|
+
"data": !exists(json, "data") ? void 0 : GetTenantConfig200ResponseDataFromJSON(json["data"])
|
|
2141
|
+
};
|
|
2142
|
+
}
|
|
2143
|
+
function GetTenantConfig200ResponseToJSON(value) {
|
|
2144
|
+
if (value === void 0) {
|
|
2145
|
+
return void 0;
|
|
2146
|
+
}
|
|
2147
|
+
if (value === null) {
|
|
2148
|
+
return null;
|
|
2149
|
+
}
|
|
2150
|
+
return {
|
|
2151
|
+
"success": value.success,
|
|
2152
|
+
"data": GetTenantConfig200ResponseDataToJSON(value.data)
|
|
2153
|
+
};
|
|
2154
|
+
}
|
|
2155
|
+
|
|
2156
|
+
// src/generated/models/HealthCheck200ResponseDependenciesValue.ts
|
|
2157
|
+
var HealthCheck200ResponseDependenciesValueStatusEnum = {
|
|
2158
|
+
HEALTHY: "healthy",
|
|
2159
|
+
DEGRADED: "degraded",
|
|
2160
|
+
UNHEALTHY: "unhealthy"
|
|
2161
|
+
};
|
|
2162
|
+
function instanceOfHealthCheck200ResponseDependenciesValue(value) {
|
|
2163
|
+
let isInstance = true;
|
|
2164
|
+
return isInstance;
|
|
2165
|
+
}
|
|
2166
|
+
function HealthCheck200ResponseDependenciesValueFromJSON(json) {
|
|
2167
|
+
return HealthCheck200ResponseDependenciesValueFromJSONTyped(json, false);
|
|
2168
|
+
}
|
|
2169
|
+
function HealthCheck200ResponseDependenciesValueFromJSONTyped(json, ignoreDiscriminator) {
|
|
2170
|
+
if (json === void 0 || json === null) {
|
|
2171
|
+
return json;
|
|
2172
|
+
}
|
|
2173
|
+
return {
|
|
2174
|
+
"status": !exists(json, "status") ? void 0 : json["status"],
|
|
2175
|
+
"latency": !exists(json, "latency") ? void 0 : json["latency"],
|
|
2176
|
+
"message": !exists(json, "message") ? void 0 : json["message"]
|
|
2177
|
+
};
|
|
2178
|
+
}
|
|
2179
|
+
function HealthCheck200ResponseDependenciesValueToJSON(value) {
|
|
2180
|
+
if (value === void 0) {
|
|
2181
|
+
return void 0;
|
|
2182
|
+
}
|
|
2183
|
+
if (value === null) {
|
|
2184
|
+
return null;
|
|
2185
|
+
}
|
|
2186
|
+
return {
|
|
2187
|
+
"status": value.status,
|
|
2188
|
+
"latency": value.latency,
|
|
2189
|
+
"message": value.message
|
|
2190
|
+
};
|
|
2191
|
+
}
|
|
2192
|
+
|
|
2193
|
+
// src/generated/models/HealthCheck200Response.ts
|
|
2194
|
+
var HealthCheck200ResponseStatusEnum = {
|
|
2195
|
+
HEALTHY: "healthy",
|
|
2196
|
+
DEGRADED: "degraded",
|
|
2197
|
+
UNHEALTHY: "unhealthy"
|
|
2198
|
+
};
|
|
2199
|
+
function instanceOfHealthCheck200Response(value) {
|
|
2200
|
+
let isInstance = true;
|
|
2201
|
+
isInstance = isInstance && "status" in value;
|
|
2202
|
+
isInstance = isInstance && "version" in value;
|
|
2203
|
+
return isInstance;
|
|
2204
|
+
}
|
|
2205
|
+
function HealthCheck200ResponseFromJSON(json) {
|
|
2206
|
+
return HealthCheck200ResponseFromJSONTyped(json, false);
|
|
2207
|
+
}
|
|
2208
|
+
function HealthCheck200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
2209
|
+
if (json === void 0 || json === null) {
|
|
2210
|
+
return json;
|
|
2211
|
+
}
|
|
2212
|
+
return {
|
|
2213
|
+
"status": json["status"],
|
|
2214
|
+
"version": json["version"],
|
|
2215
|
+
"uptime": !exists(json, "uptime") ? void 0 : json["uptime"],
|
|
2216
|
+
"timestamp": !exists(json, "timestamp") ? void 0 : new Date(json["timestamp"]),
|
|
2217
|
+
"dependencies": !exists(json, "dependencies") ? void 0 : mapValues(json["dependencies"], HealthCheck200ResponseDependenciesValueFromJSON)
|
|
2218
|
+
};
|
|
2219
|
+
}
|
|
2220
|
+
function HealthCheck200ResponseToJSON(value) {
|
|
2221
|
+
if (value === void 0) {
|
|
2222
|
+
return void 0;
|
|
2223
|
+
}
|
|
2224
|
+
if (value === null) {
|
|
2225
|
+
return null;
|
|
2226
|
+
}
|
|
2227
|
+
return {
|
|
2228
|
+
"status": value.status,
|
|
2229
|
+
"version": value.version,
|
|
2230
|
+
"uptime": value.uptime,
|
|
2231
|
+
"timestamp": value.timestamp === void 0 ? void 0 : value.timestamp.toISOString(),
|
|
2232
|
+
"dependencies": value.dependencies === void 0 ? void 0 : mapValues(value.dependencies, HealthCheck200ResponseDependenciesValueToJSON)
|
|
2233
|
+
};
|
|
2234
|
+
}
|
|
2235
|
+
|
|
2236
|
+
// src/generated/models/HealthResponse.ts
|
|
2237
|
+
var HealthResponseStatusEnum = {
|
|
2238
|
+
HEALTHY: "healthy",
|
|
2239
|
+
DEGRADED: "degraded",
|
|
2240
|
+
UNHEALTHY: "unhealthy"
|
|
2241
|
+
};
|
|
2242
|
+
function instanceOfHealthResponse(value) {
|
|
2243
|
+
let isInstance = true;
|
|
2244
|
+
isInstance = isInstance && "status" in value;
|
|
2245
|
+
isInstance = isInstance && "version" in value;
|
|
2246
|
+
return isInstance;
|
|
2247
|
+
}
|
|
2248
|
+
function HealthResponseFromJSON(json) {
|
|
2249
|
+
return HealthResponseFromJSONTyped(json, false);
|
|
2250
|
+
}
|
|
2251
|
+
function HealthResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
2252
|
+
if (json === void 0 || json === null) {
|
|
2253
|
+
return json;
|
|
2254
|
+
}
|
|
2255
|
+
return {
|
|
2256
|
+
"status": json["status"],
|
|
2257
|
+
"version": json["version"],
|
|
2258
|
+
"uptime": !exists(json, "uptime") ? void 0 : json["uptime"],
|
|
2259
|
+
"timestamp": !exists(json, "timestamp") ? void 0 : new Date(json["timestamp"]),
|
|
2260
|
+
"dependencies": !exists(json, "dependencies") ? void 0 : mapValues(json["dependencies"], HealthCheck200ResponseDependenciesValueFromJSON)
|
|
2261
|
+
};
|
|
2262
|
+
}
|
|
2263
|
+
function HealthResponseToJSON(value) {
|
|
2264
|
+
if (value === void 0) {
|
|
2265
|
+
return void 0;
|
|
2266
|
+
}
|
|
2267
|
+
if (value === null) {
|
|
2268
|
+
return null;
|
|
2269
|
+
}
|
|
2270
|
+
return {
|
|
2271
|
+
"status": value.status,
|
|
2272
|
+
"version": value.version,
|
|
2273
|
+
"uptime": value.uptime,
|
|
2274
|
+
"timestamp": value.timestamp === void 0 ? void 0 : value.timestamp.toISOString(),
|
|
2275
|
+
"dependencies": value.dependencies === void 0 ? void 0 : mapValues(value.dependencies, HealthCheck200ResponseDependenciesValueToJSON)
|
|
2276
|
+
};
|
|
2277
|
+
}
|
|
2278
|
+
|
|
2279
|
+
// src/generated/models/IdempotencyConflictResponse.ts
|
|
2280
|
+
function instanceOfIdempotencyConflictResponse(value) {
|
|
2281
|
+
let isInstance = true;
|
|
2282
|
+
isInstance = isInstance && "success" in value;
|
|
2283
|
+
isInstance = isInstance && "data" in value;
|
|
2284
|
+
return isInstance;
|
|
2285
|
+
}
|
|
2286
|
+
function IdempotencyConflictResponseFromJSON(json) {
|
|
2287
|
+
return IdempotencyConflictResponseFromJSONTyped(json, false);
|
|
2288
|
+
}
|
|
2289
|
+
function IdempotencyConflictResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
2290
|
+
if (json === void 0 || json === null) {
|
|
2291
|
+
return json;
|
|
2292
|
+
}
|
|
2293
|
+
return {
|
|
2294
|
+
"success": json["success"],
|
|
2295
|
+
"data": ExecuteAction409ResponseDataFromJSON(json["data"])
|
|
2296
|
+
};
|
|
2297
|
+
}
|
|
2298
|
+
function IdempotencyConflictResponseToJSON(value) {
|
|
2299
|
+
if (value === void 0) {
|
|
2300
|
+
return void 0;
|
|
2301
|
+
}
|
|
2302
|
+
if (value === null) {
|
|
2303
|
+
return null;
|
|
2304
|
+
}
|
|
2305
|
+
return {
|
|
2306
|
+
"success": value.success,
|
|
2307
|
+
"data": ExecuteAction409ResponseDataToJSON(value.data)
|
|
2308
|
+
};
|
|
2309
|
+
}
|
|
2310
|
+
|
|
2311
|
+
// src/generated/models/LivenessCheck200Response.ts
|
|
2312
|
+
function instanceOfLivenessCheck200Response(value) {
|
|
2313
|
+
let isInstance = true;
|
|
2314
|
+
return isInstance;
|
|
2315
|
+
}
|
|
2316
|
+
function LivenessCheck200ResponseFromJSON(json) {
|
|
2317
|
+
return LivenessCheck200ResponseFromJSONTyped(json, false);
|
|
2318
|
+
}
|
|
2319
|
+
function LivenessCheck200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
2320
|
+
if (json === void 0 || json === null) {
|
|
2321
|
+
return json;
|
|
2322
|
+
}
|
|
2323
|
+
return {
|
|
2324
|
+
"alive": !exists(json, "alive") ? void 0 : json["alive"]
|
|
2325
|
+
};
|
|
2326
|
+
}
|
|
2327
|
+
function LivenessCheck200ResponseToJSON(value) {
|
|
2328
|
+
if (value === void 0) {
|
|
2329
|
+
return void 0;
|
|
2330
|
+
}
|
|
2331
|
+
if (value === null) {
|
|
2332
|
+
return null;
|
|
2333
|
+
}
|
|
2334
|
+
return {
|
|
2335
|
+
"alive": value.alive
|
|
2336
|
+
};
|
|
2337
|
+
}
|
|
2338
|
+
|
|
2339
|
+
// src/generated/models/LotteryRecordInfo.ts
|
|
2340
|
+
var LotteryRecordInfoPrizeTypeEnum = {
|
|
2341
|
+
PHYSICAL: "physical",
|
|
2342
|
+
VIRTUAL: "virtual",
|
|
2343
|
+
COUPON: "coupon",
|
|
2344
|
+
POINTS: "points",
|
|
2345
|
+
NONE: "none"
|
|
2346
|
+
};
|
|
2347
|
+
var LotteryRecordInfoStatusEnum = {
|
|
2348
|
+
WON: "won",
|
|
2349
|
+
NOT_WON: "notWon",
|
|
2350
|
+
CLAIMED: "claimed",
|
|
2351
|
+
SHIPPED: "shipped"
|
|
2352
|
+
};
|
|
1662
2353
|
function instanceOfLotteryRecordInfo(value) {
|
|
1663
2354
|
let isInstance = true;
|
|
1664
|
-
isInstance = isInstance && "id" in value;
|
|
1665
|
-
isInstance = isInstance && "prizeId" in value;
|
|
1666
|
-
isInstance = isInstance && "status" in value;
|
|
1667
|
-
isInstance = isInstance && "createdAt" in value;
|
|
2355
|
+
isInstance = isInstance && "id" in value;
|
|
2356
|
+
isInstance = isInstance && "prizeId" in value;
|
|
2357
|
+
isInstance = isInstance && "status" in value;
|
|
2358
|
+
isInstance = isInstance && "createdAt" in value;
|
|
2359
|
+
return isInstance;
|
|
2360
|
+
}
|
|
2361
|
+
function LotteryRecordInfoFromJSON(json) {
|
|
2362
|
+
return LotteryRecordInfoFromJSONTyped(json, false);
|
|
2363
|
+
}
|
|
2364
|
+
function LotteryRecordInfoFromJSONTyped(json, ignoreDiscriminator) {
|
|
2365
|
+
if (json === void 0 || json === null) {
|
|
2366
|
+
return json;
|
|
2367
|
+
}
|
|
2368
|
+
return {
|
|
2369
|
+
"id": json["id"],
|
|
2370
|
+
"activityId": !exists(json, "activityId") ? void 0 : json["activityId"],
|
|
2371
|
+
"prizeId": json["prizeId"],
|
|
2372
|
+
"prizeName": !exists(json, "prizeName") ? void 0 : json["prizeName"],
|
|
2373
|
+
"prizeType": !exists(json, "prizeType") ? void 0 : json["prizeType"],
|
|
2374
|
+
"status": json["status"],
|
|
2375
|
+
"createdAt": new Date(json["createdAt"]),
|
|
2376
|
+
"claimedAt": !exists(json, "claimedAt") ? void 0 : new Date(json["claimedAt"])
|
|
2377
|
+
};
|
|
2378
|
+
}
|
|
2379
|
+
function LotteryRecordInfoToJSON(value) {
|
|
2380
|
+
if (value === void 0) {
|
|
2381
|
+
return void 0;
|
|
2382
|
+
}
|
|
2383
|
+
if (value === null) {
|
|
2384
|
+
return null;
|
|
2385
|
+
}
|
|
2386
|
+
return {
|
|
2387
|
+
"id": value.id,
|
|
2388
|
+
"activityId": value.activityId,
|
|
2389
|
+
"prizeId": value.prizeId,
|
|
2390
|
+
"prizeName": value.prizeName,
|
|
2391
|
+
"prizeType": value.prizeType,
|
|
2392
|
+
"status": value.status,
|
|
2393
|
+
"createdAt": value.createdAt.toISOString(),
|
|
2394
|
+
"claimedAt": value.claimedAt === void 0 ? void 0 : value.claimedAt.toISOString()
|
|
2395
|
+
};
|
|
2396
|
+
}
|
|
2397
|
+
|
|
2398
|
+
// src/generated/models/OpsConfig.ts
|
|
2399
|
+
function instanceOfOpsConfig(value) {
|
|
2400
|
+
let isInstance = true;
|
|
2401
|
+
return isInstance;
|
|
2402
|
+
}
|
|
2403
|
+
function OpsConfigFromJSON(json) {
|
|
2404
|
+
return OpsConfigFromJSONTyped(json, false);
|
|
2405
|
+
}
|
|
2406
|
+
function OpsConfigFromJSONTyped(json, ignoreDiscriminator) {
|
|
2407
|
+
if (json === void 0 || json === null) {
|
|
2408
|
+
return json;
|
|
2409
|
+
}
|
|
2410
|
+
return {
|
|
2411
|
+
"killSwitch": !exists(json, "killSwitch") ? void 0 : json["killSwitch"],
|
|
2412
|
+
"fallbackUrl": !exists(json, "fallbackUrl") ? void 0 : json["fallbackUrl"],
|
|
2413
|
+
"blockedComponents": !exists(json, "blockedComponents") ? void 0 : json["blockedComponents"]
|
|
2414
|
+
};
|
|
2415
|
+
}
|
|
2416
|
+
function OpsConfigToJSON(value) {
|
|
2417
|
+
if (value === void 0) {
|
|
2418
|
+
return void 0;
|
|
2419
|
+
}
|
|
2420
|
+
if (value === null) {
|
|
2421
|
+
return null;
|
|
2422
|
+
}
|
|
2423
|
+
return {
|
|
2424
|
+
"killSwitch": value.killSwitch,
|
|
2425
|
+
"fallbackUrl": value.fallbackUrl,
|
|
2426
|
+
"blockedComponents": value.blockedComponents
|
|
2427
|
+
};
|
|
2428
|
+
}
|
|
2429
|
+
|
|
2430
|
+
// src/generated/models/PageResponse.ts
|
|
2431
|
+
function instanceOfPageResponse(value) {
|
|
2432
|
+
let isInstance = true;
|
|
2433
|
+
isInstance = isInstance && "data" in value;
|
|
2434
|
+
return isInstance;
|
|
2435
|
+
}
|
|
2436
|
+
function PageResponseFromJSON(json) {
|
|
2437
|
+
return PageResponseFromJSONTyped(json, false);
|
|
2438
|
+
}
|
|
2439
|
+
function PageResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
2440
|
+
if (json === void 0 || json === null) {
|
|
2441
|
+
return json;
|
|
2442
|
+
}
|
|
2443
|
+
return {
|
|
2444
|
+
"data": GetPage200ResponseDataFromJSON(json["data"])
|
|
2445
|
+
};
|
|
2446
|
+
}
|
|
2447
|
+
function PageResponseToJSON(value) {
|
|
2448
|
+
if (value === void 0) {
|
|
2449
|
+
return void 0;
|
|
2450
|
+
}
|
|
2451
|
+
if (value === null) {
|
|
2452
|
+
return null;
|
|
2453
|
+
}
|
|
2454
|
+
return {
|
|
2455
|
+
"data": GetPage200ResponseDataToJSON(value.data)
|
|
2456
|
+
};
|
|
2457
|
+
}
|
|
2458
|
+
|
|
2459
|
+
// src/generated/models/PaginationMeta.ts
|
|
2460
|
+
function instanceOfPaginationMeta(value) {
|
|
2461
|
+
let isInstance = true;
|
|
2462
|
+
isInstance = isInstance && "page" in value;
|
|
2463
|
+
isInstance = isInstance && "limit" in value;
|
|
2464
|
+
isInstance = isInstance && "total" in value;
|
|
2465
|
+
isInstance = isInstance && "totalPages" in value;
|
|
2466
|
+
return isInstance;
|
|
2467
|
+
}
|
|
2468
|
+
function PaginationMetaFromJSON(json) {
|
|
2469
|
+
return PaginationMetaFromJSONTyped(json, false);
|
|
2470
|
+
}
|
|
2471
|
+
function PaginationMetaFromJSONTyped(json, ignoreDiscriminator) {
|
|
2472
|
+
if (json === void 0 || json === null) {
|
|
2473
|
+
return json;
|
|
2474
|
+
}
|
|
2475
|
+
return {
|
|
2476
|
+
"page": json["page"],
|
|
2477
|
+
"limit": json["limit"],
|
|
2478
|
+
"total": json["total"],
|
|
2479
|
+
"totalPages": json["totalPages"]
|
|
2480
|
+
};
|
|
2481
|
+
}
|
|
2482
|
+
function PaginationMetaToJSON(value) {
|
|
2483
|
+
if (value === void 0) {
|
|
2484
|
+
return void 0;
|
|
2485
|
+
}
|
|
2486
|
+
if (value === null) {
|
|
2487
|
+
return null;
|
|
2488
|
+
}
|
|
2489
|
+
return {
|
|
2490
|
+
"page": value.page,
|
|
2491
|
+
"limit": value.limit,
|
|
2492
|
+
"total": value.total,
|
|
2493
|
+
"totalPages": value.totalPages
|
|
2494
|
+
};
|
|
2495
|
+
}
|
|
2496
|
+
|
|
2497
|
+
// src/generated/models/PublicActivityInfo.ts
|
|
2498
|
+
var PublicActivityInfoTypeEnum = {
|
|
2499
|
+
CLAIM: "claim",
|
|
2500
|
+
SIGNIN: "signin",
|
|
2501
|
+
LOTTERY: "lottery",
|
|
2502
|
+
RESERVE: "reserve",
|
|
2503
|
+
TASK: "task",
|
|
2504
|
+
VOTE: "vote",
|
|
2505
|
+
SHARE: "share",
|
|
2506
|
+
BIND: "bind",
|
|
2507
|
+
CUSTOM: "custom"
|
|
2508
|
+
};
|
|
2509
|
+
var PublicActivityInfoStatusEnum = {
|
|
2510
|
+
ACTIVE: "active",
|
|
2511
|
+
ENDED: "ended"
|
|
2512
|
+
};
|
|
2513
|
+
function instanceOfPublicActivityInfo(value) {
|
|
2514
|
+
let isInstance = true;
|
|
2515
|
+
isInstance = isInstance && "id" in value;
|
|
2516
|
+
isInstance = isInstance && "name" in value;
|
|
2517
|
+
isInstance = isInstance && "type" in value;
|
|
2518
|
+
isInstance = isInstance && "status" in value;
|
|
2519
|
+
return isInstance;
|
|
2520
|
+
}
|
|
2521
|
+
function PublicActivityInfoFromJSON(json) {
|
|
2522
|
+
return PublicActivityInfoFromJSONTyped(json, false);
|
|
2523
|
+
}
|
|
2524
|
+
function PublicActivityInfoFromJSONTyped(json, ignoreDiscriminator) {
|
|
2525
|
+
if (json === void 0 || json === null) {
|
|
2526
|
+
return json;
|
|
2527
|
+
}
|
|
2528
|
+
return {
|
|
2529
|
+
"id": json["id"],
|
|
2530
|
+
"name": json["name"],
|
|
2531
|
+
"type": json["type"],
|
|
2532
|
+
"status": json["status"],
|
|
2533
|
+
"description": !exists(json, "description") ? void 0 : json["description"],
|
|
2534
|
+
"startTime": !exists(json, "startTime") ? void 0 : new Date(json["startTime"]),
|
|
2535
|
+
"endTime": !exists(json, "endTime") ? void 0 : new Date(json["endTime"]),
|
|
2536
|
+
"rules": !exists(json, "rules") ? void 0 : json["rules"],
|
|
2537
|
+
"rewards": !exists(json, "rewards") ? void 0 : json["rewards"].map(GetActivityInfo200ResponseDataRewardsInnerFromJSON)
|
|
2538
|
+
};
|
|
2539
|
+
}
|
|
2540
|
+
function PublicActivityInfoToJSON(value) {
|
|
2541
|
+
if (value === void 0) {
|
|
2542
|
+
return void 0;
|
|
2543
|
+
}
|
|
2544
|
+
if (value === null) {
|
|
2545
|
+
return null;
|
|
2546
|
+
}
|
|
2547
|
+
return {
|
|
2548
|
+
"id": value.id,
|
|
2549
|
+
"name": value.name,
|
|
2550
|
+
"type": value.type,
|
|
2551
|
+
"status": value.status,
|
|
2552
|
+
"description": value.description,
|
|
2553
|
+
"startTime": value.startTime === void 0 ? void 0 : value.startTime.toISOString(),
|
|
2554
|
+
"endTime": value.endTime === void 0 ? void 0 : value.endTime.toISOString(),
|
|
2555
|
+
"rules": value.rules,
|
|
2556
|
+
"rewards": value.rewards === void 0 ? void 0 : value.rewards.map(GetActivityInfo200ResponseDataRewardsInnerToJSON)
|
|
2557
|
+
};
|
|
2558
|
+
}
|
|
2559
|
+
|
|
2560
|
+
// src/generated/models/QueryContext.ts
|
|
2561
|
+
function instanceOfQueryContext(value) {
|
|
2562
|
+
let isInstance = true;
|
|
2563
|
+
return isInstance;
|
|
2564
|
+
}
|
|
2565
|
+
function QueryContextFromJSON(json) {
|
|
2566
|
+
return QueryContextFromJSONTyped(json, false);
|
|
2567
|
+
}
|
|
2568
|
+
function QueryContextFromJSONTyped(json, ignoreDiscriminator) {
|
|
2569
|
+
if (json === void 0 || json === null) {
|
|
2570
|
+
return json;
|
|
2571
|
+
}
|
|
2572
|
+
return {
|
|
2573
|
+
"pageVersionId": !exists(json, "pageVersionId") ? void 0 : json["pageVersionId"],
|
|
2574
|
+
"uid": !exists(json, "uid") ? void 0 : json["uid"],
|
|
2575
|
+
"sessionId": !exists(json, "sessionId") ? void 0 : json["sessionId"],
|
|
2576
|
+
"traceId": !exists(json, "traceId") ? void 0 : json["traceId"]
|
|
2577
|
+
};
|
|
2578
|
+
}
|
|
2579
|
+
function QueryContextToJSON(value) {
|
|
2580
|
+
if (value === void 0) {
|
|
2581
|
+
return void 0;
|
|
2582
|
+
}
|
|
2583
|
+
if (value === null) {
|
|
2584
|
+
return null;
|
|
2585
|
+
}
|
|
2586
|
+
return {
|
|
2587
|
+
"pageVersionId": value.pageVersionId,
|
|
2588
|
+
"uid": value.uid,
|
|
2589
|
+
"sessionId": value.sessionId,
|
|
2590
|
+
"traceId": value.traceId
|
|
2591
|
+
};
|
|
2592
|
+
}
|
|
2593
|
+
|
|
2594
|
+
// src/generated/models/QueryData200ResponseMetaPagination.ts
|
|
2595
|
+
function instanceOfQueryData200ResponseMetaPagination(value) {
|
|
2596
|
+
let isInstance = true;
|
|
2597
|
+
return isInstance;
|
|
2598
|
+
}
|
|
2599
|
+
function QueryData200ResponseMetaPaginationFromJSON(json) {
|
|
2600
|
+
return QueryData200ResponseMetaPaginationFromJSONTyped(json, false);
|
|
2601
|
+
}
|
|
2602
|
+
function QueryData200ResponseMetaPaginationFromJSONTyped(json, ignoreDiscriminator) {
|
|
2603
|
+
if (json === void 0 || json === null) {
|
|
2604
|
+
return json;
|
|
2605
|
+
}
|
|
2606
|
+
return {
|
|
2607
|
+
"page": !exists(json, "page") ? void 0 : json["page"],
|
|
2608
|
+
"limit": !exists(json, "limit") ? void 0 : json["limit"],
|
|
2609
|
+
"total": !exists(json, "total") ? void 0 : json["total"],
|
|
2610
|
+
"hasMore": !exists(json, "hasMore") ? void 0 : json["hasMore"]
|
|
2611
|
+
};
|
|
2612
|
+
}
|
|
2613
|
+
function QueryData200ResponseMetaPaginationToJSON(value) {
|
|
2614
|
+
if (value === void 0) {
|
|
2615
|
+
return void 0;
|
|
2616
|
+
}
|
|
2617
|
+
if (value === null) {
|
|
2618
|
+
return null;
|
|
2619
|
+
}
|
|
2620
|
+
return {
|
|
2621
|
+
"page": value.page,
|
|
2622
|
+
"limit": value.limit,
|
|
2623
|
+
"total": value.total,
|
|
2624
|
+
"hasMore": value.hasMore
|
|
2625
|
+
};
|
|
2626
|
+
}
|
|
2627
|
+
|
|
2628
|
+
// src/generated/models/QueryData200ResponseMeta.ts
|
|
2629
|
+
function instanceOfQueryData200ResponseMeta(value) {
|
|
2630
|
+
let isInstance = true;
|
|
1668
2631
|
return isInstance;
|
|
1669
2632
|
}
|
|
1670
|
-
function
|
|
1671
|
-
return
|
|
2633
|
+
function QueryData200ResponseMetaFromJSON(json) {
|
|
2634
|
+
return QueryData200ResponseMetaFromJSONTyped(json, false);
|
|
1672
2635
|
}
|
|
1673
|
-
function
|
|
2636
|
+
function QueryData200ResponseMetaFromJSONTyped(json, ignoreDiscriminator) {
|
|
1674
2637
|
if (json === void 0 || json === null) {
|
|
1675
2638
|
return json;
|
|
1676
2639
|
}
|
|
1677
2640
|
return {
|
|
1678
|
-
"
|
|
1679
|
-
"
|
|
1680
|
-
"
|
|
1681
|
-
"
|
|
1682
|
-
"
|
|
1683
|
-
"status": json["status"],
|
|
1684
|
-
"createdAt": new Date(json["createdAt"]),
|
|
1685
|
-
"claimedAt": !exists(json, "claimedAt") ? void 0 : new Date(json["claimedAt"])
|
|
2641
|
+
"cached": !exists(json, "cached") ? void 0 : json["cached"],
|
|
2642
|
+
"cachedAt": !exists(json, "cachedAt") ? void 0 : new Date(json["cachedAt"]),
|
|
2643
|
+
"executionTime": !exists(json, "executionTime") ? void 0 : json["executionTime"],
|
|
2644
|
+
"traceId": !exists(json, "traceId") ? void 0 : json["traceId"],
|
|
2645
|
+
"pagination": !exists(json, "pagination") ? void 0 : QueryData200ResponseMetaPaginationFromJSON(json["pagination"])
|
|
1686
2646
|
};
|
|
1687
2647
|
}
|
|
1688
|
-
function
|
|
2648
|
+
function QueryData200ResponseMetaToJSON(value) {
|
|
1689
2649
|
if (value === void 0) {
|
|
1690
2650
|
return void 0;
|
|
1691
2651
|
}
|
|
@@ -1693,35 +2653,35 @@ function LotteryRecordInfoToJSON(value) {
|
|
|
1693
2653
|
return null;
|
|
1694
2654
|
}
|
|
1695
2655
|
return {
|
|
1696
|
-
"
|
|
1697
|
-
"
|
|
1698
|
-
"
|
|
1699
|
-
"
|
|
1700
|
-
"
|
|
1701
|
-
"status": value.status,
|
|
1702
|
-
"createdAt": value.createdAt.toISOString(),
|
|
1703
|
-
"claimedAt": value.claimedAt === void 0 ? void 0 : value.claimedAt.toISOString()
|
|
2656
|
+
"cached": value.cached,
|
|
2657
|
+
"cachedAt": value.cachedAt === void 0 ? void 0 : value.cachedAt.toISOString(),
|
|
2658
|
+
"executionTime": value.executionTime,
|
|
2659
|
+
"traceId": value.traceId,
|
|
2660
|
+
"pagination": QueryData200ResponseMetaPaginationToJSON(value.pagination)
|
|
1704
2661
|
};
|
|
1705
2662
|
}
|
|
1706
2663
|
|
|
1707
|
-
// src/generated/models/
|
|
1708
|
-
function
|
|
2664
|
+
// src/generated/models/QueryData200Response.ts
|
|
2665
|
+
function instanceOfQueryData200Response(value) {
|
|
1709
2666
|
let isInstance = true;
|
|
2667
|
+
isInstance = isInstance && "success" in value;
|
|
1710
2668
|
isInstance = isInstance && "data" in value;
|
|
1711
2669
|
return isInstance;
|
|
1712
2670
|
}
|
|
1713
|
-
function
|
|
1714
|
-
return
|
|
2671
|
+
function QueryData200ResponseFromJSON(json) {
|
|
2672
|
+
return QueryData200ResponseFromJSONTyped(json, false);
|
|
1715
2673
|
}
|
|
1716
|
-
function
|
|
2674
|
+
function QueryData200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
1717
2675
|
if (json === void 0 || json === null) {
|
|
1718
2676
|
return json;
|
|
1719
2677
|
}
|
|
1720
2678
|
return {
|
|
1721
|
-
"
|
|
2679
|
+
"success": json["success"],
|
|
2680
|
+
"data": json["data"],
|
|
2681
|
+
"meta": !exists(json, "meta") ? void 0 : QueryData200ResponseMetaFromJSON(json["meta"])
|
|
1722
2682
|
};
|
|
1723
2683
|
}
|
|
1724
|
-
function
|
|
2684
|
+
function QueryData200ResponseToJSON(value) {
|
|
1725
2685
|
if (value === void 0) {
|
|
1726
2686
|
return void 0;
|
|
1727
2687
|
}
|
|
@@ -1729,34 +2689,31 @@ function PageResponseToJSON(value) {
|
|
|
1729
2689
|
return null;
|
|
1730
2690
|
}
|
|
1731
2691
|
return {
|
|
1732
|
-
"
|
|
2692
|
+
"success": value.success,
|
|
2693
|
+
"data": value.data,
|
|
2694
|
+
"meta": QueryData200ResponseMetaToJSON(value.meta)
|
|
1733
2695
|
};
|
|
1734
2696
|
}
|
|
1735
2697
|
|
|
1736
|
-
// src/generated/models/
|
|
1737
|
-
function
|
|
2698
|
+
// src/generated/models/QueryDataRequestOptions.ts
|
|
2699
|
+
function instanceOfQueryDataRequestOptions(value) {
|
|
1738
2700
|
let isInstance = true;
|
|
1739
|
-
isInstance = isInstance && "page" in value;
|
|
1740
|
-
isInstance = isInstance && "limit" in value;
|
|
1741
|
-
isInstance = isInstance && "total" in value;
|
|
1742
|
-
isInstance = isInstance && "totalPages" in value;
|
|
1743
2701
|
return isInstance;
|
|
1744
2702
|
}
|
|
1745
|
-
function
|
|
1746
|
-
return
|
|
2703
|
+
function QueryDataRequestOptionsFromJSON(json) {
|
|
2704
|
+
return QueryDataRequestOptionsFromJSONTyped(json, false);
|
|
1747
2705
|
}
|
|
1748
|
-
function
|
|
2706
|
+
function QueryDataRequestOptionsFromJSONTyped(json, ignoreDiscriminator) {
|
|
1749
2707
|
if (json === void 0 || json === null) {
|
|
1750
2708
|
return json;
|
|
1751
2709
|
}
|
|
1752
2710
|
return {
|
|
1753
|
-
"
|
|
1754
|
-
"
|
|
1755
|
-
"
|
|
1756
|
-
"totalPages": json["totalPages"]
|
|
2711
|
+
"timeout": !exists(json, "timeout") ? void 0 : json["timeout"],
|
|
2712
|
+
"cache": !exists(json, "cache") ? void 0 : json["cache"],
|
|
2713
|
+
"cacheKey": !exists(json, "cacheKey") ? void 0 : json["cacheKey"]
|
|
1757
2714
|
};
|
|
1758
2715
|
}
|
|
1759
|
-
function
|
|
2716
|
+
function QueryDataRequestOptionsToJSON(value) {
|
|
1760
2717
|
if (value === void 0) {
|
|
1761
2718
|
return void 0;
|
|
1762
2719
|
}
|
|
@@ -1764,53 +2721,33 @@ function PaginationMetaToJSON(value) {
|
|
|
1764
2721
|
return null;
|
|
1765
2722
|
}
|
|
1766
2723
|
return {
|
|
1767
|
-
"
|
|
1768
|
-
"
|
|
1769
|
-
"
|
|
1770
|
-
"totalPages": value.totalPages
|
|
2724
|
+
"timeout": value.timeout,
|
|
2725
|
+
"cache": value.cache,
|
|
2726
|
+
"cacheKey": value.cacheKey
|
|
1771
2727
|
};
|
|
1772
2728
|
}
|
|
1773
2729
|
|
|
1774
|
-
// src/generated/models/
|
|
1775
|
-
|
|
1776
|
-
SIGNIN: "signin",
|
|
1777
|
-
LOTTERY: "lottery",
|
|
1778
|
-
REDPACK: "redpack",
|
|
1779
|
-
COUPON: "coupon",
|
|
1780
|
-
CUSTOM: "custom"
|
|
1781
|
-
};
|
|
1782
|
-
var PublicActivityInfoStatusEnum = {
|
|
1783
|
-
ACTIVE: "active",
|
|
1784
|
-
ENDED: "ended"
|
|
1785
|
-
};
|
|
1786
|
-
function instanceOfPublicActivityInfo(value) {
|
|
2730
|
+
// src/generated/models/QueryDataRequest.ts
|
|
2731
|
+
function instanceOfQueryDataRequest(value) {
|
|
1787
2732
|
let isInstance = true;
|
|
1788
|
-
isInstance = isInstance && "
|
|
1789
|
-
isInstance = isInstance && "name" in value;
|
|
1790
|
-
isInstance = isInstance && "type" in value;
|
|
1791
|
-
isInstance = isInstance && "status" in value;
|
|
2733
|
+
isInstance = isInstance && "queryVersionId" in value;
|
|
1792
2734
|
return isInstance;
|
|
1793
2735
|
}
|
|
1794
|
-
function
|
|
1795
|
-
return
|
|
2736
|
+
function QueryDataRequestFromJSON(json) {
|
|
2737
|
+
return QueryDataRequestFromJSONTyped(json, false);
|
|
1796
2738
|
}
|
|
1797
|
-
function
|
|
2739
|
+
function QueryDataRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
1798
2740
|
if (json === void 0 || json === null) {
|
|
1799
2741
|
return json;
|
|
1800
2742
|
}
|
|
1801
2743
|
return {
|
|
1802
|
-
"
|
|
1803
|
-
"
|
|
1804
|
-
"
|
|
1805
|
-
"
|
|
1806
|
-
"description": !exists(json, "description") ? void 0 : json["description"],
|
|
1807
|
-
"startTime": !exists(json, "startTime") ? void 0 : new Date(json["startTime"]),
|
|
1808
|
-
"endTime": !exists(json, "endTime") ? void 0 : new Date(json["endTime"]),
|
|
1809
|
-
"rules": !exists(json, "rules") ? void 0 : json["rules"],
|
|
1810
|
-
"rewards": !exists(json, "rewards") ? void 0 : json["rewards"].map(GetActivityInfo200ResponseDataRewardsInnerFromJSON)
|
|
2744
|
+
"queryVersionId": json["queryVersionId"],
|
|
2745
|
+
"params": !exists(json, "params") ? void 0 : json["params"],
|
|
2746
|
+
"context": !exists(json, "context") ? void 0 : QueryDataRequestContextFromJSON(json["context"]),
|
|
2747
|
+
"options": !exists(json, "options") ? void 0 : QueryDataRequestOptionsFromJSON(json["options"])
|
|
1811
2748
|
};
|
|
1812
2749
|
}
|
|
1813
|
-
function
|
|
2750
|
+
function QueryDataRequestToJSON(value) {
|
|
1814
2751
|
if (value === void 0) {
|
|
1815
2752
|
return void 0;
|
|
1816
2753
|
}
|
|
@@ -1818,15 +2755,73 @@ function PublicActivityInfoToJSON(value) {
|
|
|
1818
2755
|
return null;
|
|
1819
2756
|
}
|
|
1820
2757
|
return {
|
|
1821
|
-
"
|
|
1822
|
-
"
|
|
1823
|
-
"
|
|
1824
|
-
"
|
|
1825
|
-
|
|
1826
|
-
|
|
1827
|
-
|
|
1828
|
-
|
|
1829
|
-
|
|
2758
|
+
"queryVersionId": value.queryVersionId,
|
|
2759
|
+
"params": value.params,
|
|
2760
|
+
"context": QueryDataRequestContextToJSON(value.context),
|
|
2761
|
+
"options": QueryDataRequestOptionsToJSON(value.options)
|
|
2762
|
+
};
|
|
2763
|
+
}
|
|
2764
|
+
|
|
2765
|
+
// src/generated/models/QueryDataResponse.ts
|
|
2766
|
+
function instanceOfQueryDataResponse(value) {
|
|
2767
|
+
let isInstance = true;
|
|
2768
|
+
isInstance = isInstance && "success" in value;
|
|
2769
|
+
isInstance = isInstance && "data" in value;
|
|
2770
|
+
return isInstance;
|
|
2771
|
+
}
|
|
2772
|
+
function QueryDataResponseFromJSON(json) {
|
|
2773
|
+
return QueryDataResponseFromJSONTyped(json, false);
|
|
2774
|
+
}
|
|
2775
|
+
function QueryDataResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
2776
|
+
if (json === void 0 || json === null) {
|
|
2777
|
+
return json;
|
|
2778
|
+
}
|
|
2779
|
+
return {
|
|
2780
|
+
"success": json["success"],
|
|
2781
|
+
"data": json["data"],
|
|
2782
|
+
"meta": !exists(json, "meta") ? void 0 : QueryData200ResponseMetaFromJSON(json["meta"])
|
|
2783
|
+
};
|
|
2784
|
+
}
|
|
2785
|
+
function QueryDataResponseToJSON(value) {
|
|
2786
|
+
if (value === void 0) {
|
|
2787
|
+
return void 0;
|
|
2788
|
+
}
|
|
2789
|
+
if (value === null) {
|
|
2790
|
+
return null;
|
|
2791
|
+
}
|
|
2792
|
+
return {
|
|
2793
|
+
"success": value.success,
|
|
2794
|
+
"data": value.data,
|
|
2795
|
+
"meta": QueryData200ResponseMetaToJSON(value.meta)
|
|
2796
|
+
};
|
|
2797
|
+
}
|
|
2798
|
+
|
|
2799
|
+
// src/generated/models/QueryDefinitionResponse.ts
|
|
2800
|
+
function instanceOfQueryDefinitionResponse(value) {
|
|
2801
|
+
let isInstance = true;
|
|
2802
|
+
isInstance = isInstance && "data" in value;
|
|
2803
|
+
return isInstance;
|
|
2804
|
+
}
|
|
2805
|
+
function QueryDefinitionResponseFromJSON(json) {
|
|
2806
|
+
return QueryDefinitionResponseFromJSONTyped(json, false);
|
|
2807
|
+
}
|
|
2808
|
+
function QueryDefinitionResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
2809
|
+
if (json === void 0 || json === null) {
|
|
2810
|
+
return json;
|
|
2811
|
+
}
|
|
2812
|
+
return {
|
|
2813
|
+
"data": GetQueryDefinition200ResponseDataFromJSON(json["data"])
|
|
2814
|
+
};
|
|
2815
|
+
}
|
|
2816
|
+
function QueryDefinitionResponseToJSON(value) {
|
|
2817
|
+
if (value === void 0) {
|
|
2818
|
+
return void 0;
|
|
2819
|
+
}
|
|
2820
|
+
if (value === null) {
|
|
2821
|
+
return null;
|
|
2822
|
+
}
|
|
2823
|
+
return {
|
|
2824
|
+
"data": GetQueryDefinition200ResponseDataToJSON(value.data)
|
|
1830
2825
|
};
|
|
1831
2826
|
}
|
|
1832
2827
|
|
|
@@ -1834,7 +2829,7 @@ function PublicActivityInfoToJSON(value) {
|
|
|
1834
2829
|
function instanceOfQueryManifest(value) {
|
|
1835
2830
|
let isInstance = true;
|
|
1836
2831
|
isInstance = isInstance && "queryId" in value;
|
|
1837
|
-
isInstance = isInstance && "
|
|
2832
|
+
isInstance = isInstance && "queryVersionId" in value;
|
|
1838
2833
|
return isInstance;
|
|
1839
2834
|
}
|
|
1840
2835
|
function QueryManifestFromJSON(json) {
|
|
@@ -1846,7 +2841,7 @@ function QueryManifestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
1846
2841
|
}
|
|
1847
2842
|
return {
|
|
1848
2843
|
"queryId": json["queryId"],
|
|
1849
|
-
"
|
|
2844
|
+
"queryVersionId": json["queryVersionId"],
|
|
1850
2845
|
"cacheTtl": !exists(json, "cacheTtl") ? void 0 : json["cacheTtl"]
|
|
1851
2846
|
};
|
|
1852
2847
|
}
|
|
@@ -1859,11 +2854,69 @@ function QueryManifestToJSON(value) {
|
|
|
1859
2854
|
}
|
|
1860
2855
|
return {
|
|
1861
2856
|
"queryId": value.queryId,
|
|
1862
|
-
"
|
|
2857
|
+
"queryVersionId": value.queryVersionId,
|
|
1863
2858
|
"cacheTtl": value.cacheTtl
|
|
1864
2859
|
};
|
|
1865
2860
|
}
|
|
1866
2861
|
|
|
2862
|
+
// src/generated/models/ReadinessCheck200Response.ts
|
|
2863
|
+
function instanceOfReadinessCheck200Response(value) {
|
|
2864
|
+
let isInstance = true;
|
|
2865
|
+
return isInstance;
|
|
2866
|
+
}
|
|
2867
|
+
function ReadinessCheck200ResponseFromJSON(json) {
|
|
2868
|
+
return ReadinessCheck200ResponseFromJSONTyped(json, false);
|
|
2869
|
+
}
|
|
2870
|
+
function ReadinessCheck200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
2871
|
+
if (json === void 0 || json === null) {
|
|
2872
|
+
return json;
|
|
2873
|
+
}
|
|
2874
|
+
return {
|
|
2875
|
+
"ready": !exists(json, "ready") ? void 0 : json["ready"]
|
|
2876
|
+
};
|
|
2877
|
+
}
|
|
2878
|
+
function ReadinessCheck200ResponseToJSON(value) {
|
|
2879
|
+
if (value === void 0) {
|
|
2880
|
+
return void 0;
|
|
2881
|
+
}
|
|
2882
|
+
if (value === null) {
|
|
2883
|
+
return null;
|
|
2884
|
+
}
|
|
2885
|
+
return {
|
|
2886
|
+
"ready": value.ready
|
|
2887
|
+
};
|
|
2888
|
+
}
|
|
2889
|
+
|
|
2890
|
+
// src/generated/models/ReadinessCheck503Response.ts
|
|
2891
|
+
function instanceOfReadinessCheck503Response(value) {
|
|
2892
|
+
let isInstance = true;
|
|
2893
|
+
return isInstance;
|
|
2894
|
+
}
|
|
2895
|
+
function ReadinessCheck503ResponseFromJSON(json) {
|
|
2896
|
+
return ReadinessCheck503ResponseFromJSONTyped(json, false);
|
|
2897
|
+
}
|
|
2898
|
+
function ReadinessCheck503ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
2899
|
+
if (json === void 0 || json === null) {
|
|
2900
|
+
return json;
|
|
2901
|
+
}
|
|
2902
|
+
return {
|
|
2903
|
+
"ready": !exists(json, "ready") ? void 0 : json["ready"],
|
|
2904
|
+
"reason": !exists(json, "reason") ? void 0 : json["reason"]
|
|
2905
|
+
};
|
|
2906
|
+
}
|
|
2907
|
+
function ReadinessCheck503ResponseToJSON(value) {
|
|
2908
|
+
if (value === void 0) {
|
|
2909
|
+
return void 0;
|
|
2910
|
+
}
|
|
2911
|
+
if (value === null) {
|
|
2912
|
+
return null;
|
|
2913
|
+
}
|
|
2914
|
+
return {
|
|
2915
|
+
"ready": value.ready,
|
|
2916
|
+
"reason": value.reason
|
|
2917
|
+
};
|
|
2918
|
+
}
|
|
2919
|
+
|
|
1867
2920
|
// src/generated/models/ResolveContext.ts
|
|
1868
2921
|
var ResolveContextDeviceTypeEnum = {
|
|
1869
2922
|
MOBILE: "mobile",
|
|
@@ -1884,7 +2937,9 @@ function ResolveContextFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
1884
2937
|
return {
|
|
1885
2938
|
"userId": !exists(json, "userId") ? void 0 : json["userId"],
|
|
1886
2939
|
"sessionId": !exists(json, "sessionId") ? void 0 : json["sessionId"],
|
|
2940
|
+
"deviceId": !exists(json, "deviceId") ? void 0 : json["deviceId"],
|
|
1887
2941
|
"deviceType": !exists(json, "deviceType") ? void 0 : json["deviceType"],
|
|
2942
|
+
"channel": !exists(json, "channel") ? void 0 : json["channel"],
|
|
1888
2943
|
"urlParams": !exists(json, "urlParams") ? void 0 : json["urlParams"],
|
|
1889
2944
|
"routeParams": !exists(json, "routeParams") ? void 0 : json["routeParams"],
|
|
1890
2945
|
"customData": !exists(json, "customData") ? void 0 : json["customData"]
|
|
@@ -1900,7 +2955,9 @@ function ResolveContextToJSON(value) {
|
|
|
1900
2955
|
return {
|
|
1901
2956
|
"userId": value.userId,
|
|
1902
2957
|
"sessionId": value.sessionId,
|
|
2958
|
+
"deviceId": value.deviceId,
|
|
1903
2959
|
"deviceType": value.deviceType,
|
|
2960
|
+
"channel": value.channel,
|
|
1904
2961
|
"urlParams": value.urlParams,
|
|
1905
2962
|
"routeParams": value.routeParams,
|
|
1906
2963
|
"customData": value.customData
|
|
@@ -1908,14 +2965,26 @@ function ResolveContextToJSON(value) {
|
|
|
1908
2965
|
}
|
|
1909
2966
|
|
|
1910
2967
|
// src/generated/models/ResolvePage200ResponseDataManifestsActionsInner.ts
|
|
1911
|
-
var
|
|
1912
|
-
|
|
2968
|
+
var ResolvePage200ResponseDataManifestsActionsInnerActionTypeEnum = {
|
|
2969
|
+
CLAIM: "claim",
|
|
2970
|
+
SIGNIN: "signin",
|
|
2971
|
+
LOTTERY: "lottery",
|
|
2972
|
+
RESERVE: "reserve",
|
|
2973
|
+
BIND: "bind",
|
|
2974
|
+
TASK_COMPLETE: "task_complete",
|
|
2975
|
+
VOTE: "vote",
|
|
2976
|
+
SHARE: "share",
|
|
2977
|
+
FORM_SUBMIT: "form_submit",
|
|
2978
|
+
NAVIGATE: "navigate",
|
|
2979
|
+
SET_STATE: "setState",
|
|
2980
|
+
SHOW_TOAST: "showToast",
|
|
2981
|
+
REFRESH_DATA: "refreshData",
|
|
1913
2982
|
CUSTOM: "custom"
|
|
1914
2983
|
};
|
|
1915
2984
|
function instanceOfResolvePage200ResponseDataManifestsActionsInner(value) {
|
|
1916
2985
|
let isInstance = true;
|
|
1917
2986
|
isInstance = isInstance && "actionId" in value;
|
|
1918
|
-
isInstance = isInstance && "
|
|
2987
|
+
isInstance = isInstance && "actionDefinitionVersionId" in value;
|
|
1919
2988
|
return isInstance;
|
|
1920
2989
|
}
|
|
1921
2990
|
function ResolvePage200ResponseDataManifestsActionsInnerFromJSON(json) {
|
|
@@ -1927,8 +2996,9 @@ function ResolvePage200ResponseDataManifestsActionsInnerFromJSONTyped(json, igno
|
|
|
1927
2996
|
}
|
|
1928
2997
|
return {
|
|
1929
2998
|
"actionId": json["actionId"],
|
|
1930
|
-
"
|
|
1931
|
-
"
|
|
2999
|
+
"actionDefinitionVersionId": json["actionDefinitionVersionId"],
|
|
3000
|
+
"actionType": !exists(json, "actionType") ? void 0 : json["actionType"],
|
|
3001
|
+
"builtin": !exists(json, "builtin") ? void 0 : json["builtin"]
|
|
1932
3002
|
};
|
|
1933
3003
|
}
|
|
1934
3004
|
function ResolvePage200ResponseDataManifestsActionsInnerToJSON(value) {
|
|
@@ -1940,8 +3010,9 @@ function ResolvePage200ResponseDataManifestsActionsInnerToJSON(value) {
|
|
|
1940
3010
|
}
|
|
1941
3011
|
return {
|
|
1942
3012
|
"actionId": value.actionId,
|
|
1943
|
-
"
|
|
1944
|
-
"
|
|
3013
|
+
"actionDefinitionVersionId": value.actionDefinitionVersionId,
|
|
3014
|
+
"actionType": value.actionType,
|
|
3015
|
+
"builtin": value.builtin
|
|
1945
3016
|
};
|
|
1946
3017
|
}
|
|
1947
3018
|
|
|
@@ -1964,7 +3035,10 @@ function ResolvePage200ResponseDataManifestsComponentsInnerFromJSONTyped(json, i
|
|
|
1964
3035
|
"componentType": json["componentType"],
|
|
1965
3036
|
"version": json["version"],
|
|
1966
3037
|
"entryUrl": json["entryUrl"],
|
|
1967
|
-
"
|
|
3038
|
+
"styleUrl": !exists(json, "styleUrl") ? void 0 : json["styleUrl"],
|
|
3039
|
+
"integrity": !exists(json, "integrity") ? void 0 : json["integrity"],
|
|
3040
|
+
"blocked": !exists(json, "blocked") ? void 0 : json["blocked"],
|
|
3041
|
+
"fallback": !exists(json, "fallback") ? void 0 : json["fallback"]
|
|
1968
3042
|
};
|
|
1969
3043
|
}
|
|
1970
3044
|
function ResolvePage200ResponseDataManifestsComponentsInnerToJSON(value) {
|
|
@@ -1978,7 +3052,10 @@ function ResolvePage200ResponseDataManifestsComponentsInnerToJSON(value) {
|
|
|
1978
3052
|
"componentType": value.componentType,
|
|
1979
3053
|
"version": value.version,
|
|
1980
3054
|
"entryUrl": value.entryUrl,
|
|
1981
|
-
"
|
|
3055
|
+
"styleUrl": value.styleUrl,
|
|
3056
|
+
"integrity": value.integrity,
|
|
3057
|
+
"blocked": value.blocked,
|
|
3058
|
+
"fallback": value.fallback
|
|
1982
3059
|
};
|
|
1983
3060
|
}
|
|
1984
3061
|
|
|
@@ -1986,7 +3063,7 @@ function ResolvePage200ResponseDataManifestsComponentsInnerToJSON(value) {
|
|
|
1986
3063
|
function instanceOfResolvePage200ResponseDataManifestsQueriesInner(value) {
|
|
1987
3064
|
let isInstance = true;
|
|
1988
3065
|
isInstance = isInstance && "queryId" in value;
|
|
1989
|
-
isInstance = isInstance && "
|
|
3066
|
+
isInstance = isInstance && "queryVersionId" in value;
|
|
1990
3067
|
return isInstance;
|
|
1991
3068
|
}
|
|
1992
3069
|
function ResolvePage200ResponseDataManifestsQueriesInnerFromJSON(json) {
|
|
@@ -1998,7 +3075,7 @@ function ResolvePage200ResponseDataManifestsQueriesInnerFromJSONTyped(json, igno
|
|
|
1998
3075
|
}
|
|
1999
3076
|
return {
|
|
2000
3077
|
"queryId": json["queryId"],
|
|
2001
|
-
"
|
|
3078
|
+
"queryVersionId": json["queryVersionId"],
|
|
2002
3079
|
"cacheTtl": !exists(json, "cacheTtl") ? void 0 : json["cacheTtl"]
|
|
2003
3080
|
};
|
|
2004
3081
|
}
|
|
@@ -2011,30 +3088,62 @@ function ResolvePage200ResponseDataManifestsQueriesInnerToJSON(value) {
|
|
|
2011
3088
|
}
|
|
2012
3089
|
return {
|
|
2013
3090
|
"queryId": value.queryId,
|
|
2014
|
-
"
|
|
3091
|
+
"queryVersionId": value.queryVersionId,
|
|
2015
3092
|
"cacheTtl": value.cacheTtl
|
|
2016
3093
|
};
|
|
2017
3094
|
}
|
|
2018
3095
|
|
|
2019
|
-
// src/generated/models/ResolvePage200ResponseDataManifests.ts
|
|
2020
|
-
function instanceOfResolvePage200ResponseDataManifests(value) {
|
|
3096
|
+
// src/generated/models/ResolvePage200ResponseDataManifests.ts
|
|
3097
|
+
function instanceOfResolvePage200ResponseDataManifests(value) {
|
|
3098
|
+
let isInstance = true;
|
|
3099
|
+
return isInstance;
|
|
3100
|
+
}
|
|
3101
|
+
function ResolvePage200ResponseDataManifestsFromJSON(json) {
|
|
3102
|
+
return ResolvePage200ResponseDataManifestsFromJSONTyped(json, false);
|
|
3103
|
+
}
|
|
3104
|
+
function ResolvePage200ResponseDataManifestsFromJSONTyped(json, ignoreDiscriminator) {
|
|
3105
|
+
if (json === void 0 || json === null) {
|
|
3106
|
+
return json;
|
|
3107
|
+
}
|
|
3108
|
+
return {
|
|
3109
|
+
"components": !exists(json, "components") ? void 0 : json["components"].map(ResolvePage200ResponseDataManifestsComponentsInnerFromJSON),
|
|
3110
|
+
"actions": !exists(json, "actions") ? void 0 : json["actions"].map(ResolvePage200ResponseDataManifestsActionsInnerFromJSON),
|
|
3111
|
+
"queries": !exists(json, "queries") ? void 0 : json["queries"].map(ResolvePage200ResponseDataManifestsQueriesInnerFromJSON)
|
|
3112
|
+
};
|
|
3113
|
+
}
|
|
3114
|
+
function ResolvePage200ResponseDataManifestsToJSON(value) {
|
|
3115
|
+
if (value === void 0) {
|
|
3116
|
+
return void 0;
|
|
3117
|
+
}
|
|
3118
|
+
if (value === null) {
|
|
3119
|
+
return null;
|
|
3120
|
+
}
|
|
3121
|
+
return {
|
|
3122
|
+
"components": value.components === void 0 ? void 0 : value.components.map(ResolvePage200ResponseDataManifestsComponentsInnerToJSON),
|
|
3123
|
+
"actions": value.actions === void 0 ? void 0 : value.actions.map(ResolvePage200ResponseDataManifestsActionsInnerToJSON),
|
|
3124
|
+
"queries": value.queries === void 0 ? void 0 : value.queries.map(ResolvePage200ResponseDataManifestsQueriesInnerToJSON)
|
|
3125
|
+
};
|
|
3126
|
+
}
|
|
3127
|
+
|
|
3128
|
+
// src/generated/models/ResolvePage200ResponseDataOpsConfig.ts
|
|
3129
|
+
function instanceOfResolvePage200ResponseDataOpsConfig(value) {
|
|
2021
3130
|
let isInstance = true;
|
|
2022
3131
|
return isInstance;
|
|
2023
3132
|
}
|
|
2024
|
-
function
|
|
2025
|
-
return
|
|
3133
|
+
function ResolvePage200ResponseDataOpsConfigFromJSON(json) {
|
|
3134
|
+
return ResolvePage200ResponseDataOpsConfigFromJSONTyped(json, false);
|
|
2026
3135
|
}
|
|
2027
|
-
function
|
|
3136
|
+
function ResolvePage200ResponseDataOpsConfigFromJSONTyped(json, ignoreDiscriminator) {
|
|
2028
3137
|
if (json === void 0 || json === null) {
|
|
2029
3138
|
return json;
|
|
2030
3139
|
}
|
|
2031
3140
|
return {
|
|
2032
|
-
"
|
|
2033
|
-
"
|
|
2034
|
-
"
|
|
3141
|
+
"killSwitch": !exists(json, "killSwitch") ? void 0 : json["killSwitch"],
|
|
3142
|
+
"fallbackUrl": !exists(json, "fallbackUrl") ? void 0 : json["fallbackUrl"],
|
|
3143
|
+
"blockedComponents": !exists(json, "blockedComponents") ? void 0 : json["blockedComponents"]
|
|
2035
3144
|
};
|
|
2036
3145
|
}
|
|
2037
|
-
function
|
|
3146
|
+
function ResolvePage200ResponseDataOpsConfigToJSON(value) {
|
|
2038
3147
|
if (value === void 0) {
|
|
2039
3148
|
return void 0;
|
|
2040
3149
|
}
|
|
@@ -2042,9 +3151,9 @@ function ResolvePage200ResponseDataManifestsToJSON(value) {
|
|
|
2042
3151
|
return null;
|
|
2043
3152
|
}
|
|
2044
3153
|
return {
|
|
2045
|
-
"
|
|
2046
|
-
"
|
|
2047
|
-
"
|
|
3154
|
+
"killSwitch": value.killSwitch,
|
|
3155
|
+
"fallbackUrl": value.fallbackUrl,
|
|
3156
|
+
"blockedComponents": value.blockedComponents
|
|
2048
3157
|
};
|
|
2049
3158
|
}
|
|
2050
3159
|
|
|
@@ -2052,7 +3161,7 @@ function ResolvePage200ResponseDataManifestsToJSON(value) {
|
|
|
2052
3161
|
function instanceOfResolvePage200ResponseData(value) {
|
|
2053
3162
|
let isInstance = true;
|
|
2054
3163
|
isInstance = isInstance && "pageId" in value;
|
|
2055
|
-
isInstance = isInstance && "
|
|
3164
|
+
isInstance = isInstance && "pageVersionId" in value;
|
|
2056
3165
|
isInstance = isInstance && "schema" in value;
|
|
2057
3166
|
return isInstance;
|
|
2058
3167
|
}
|
|
@@ -2065,10 +3174,12 @@ function ResolvePage200ResponseDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
2065
3174
|
}
|
|
2066
3175
|
return {
|
|
2067
3176
|
"pageId": json["pageId"],
|
|
2068
|
-
"
|
|
3177
|
+
"pageVersionId": json["pageVersionId"],
|
|
3178
|
+
"schemaVersion": !exists(json, "schemaVersion") ? void 0 : json["schemaVersion"],
|
|
2069
3179
|
"schema": json["schema"],
|
|
2070
3180
|
"manifests": !exists(json, "manifests") ? void 0 : ResolvePage200ResponseDataManifestsFromJSON(json["manifests"]),
|
|
2071
|
-
"prefetchedData": !exists(json, "prefetchedData") ? void 0 : json["prefetchedData"]
|
|
3181
|
+
"prefetchedData": !exists(json, "prefetchedData") ? void 0 : json["prefetchedData"],
|
|
3182
|
+
"opsConfig": !exists(json, "opsConfig") ? void 0 : ResolvePage200ResponseDataOpsConfigFromJSON(json["opsConfig"])
|
|
2072
3183
|
};
|
|
2073
3184
|
}
|
|
2074
3185
|
function ResolvePage200ResponseDataToJSON(value) {
|
|
@@ -2080,10 +3191,12 @@ function ResolvePage200ResponseDataToJSON(value) {
|
|
|
2080
3191
|
}
|
|
2081
3192
|
return {
|
|
2082
3193
|
"pageId": value.pageId,
|
|
2083
|
-
"
|
|
3194
|
+
"pageVersionId": value.pageVersionId,
|
|
3195
|
+
"schemaVersion": value.schemaVersion,
|
|
2084
3196
|
"schema": value.schema,
|
|
2085
3197
|
"manifests": ResolvePage200ResponseDataManifestsToJSON(value.manifests),
|
|
2086
|
-
"prefetchedData": value.prefetchedData
|
|
3198
|
+
"prefetchedData": value.prefetchedData,
|
|
3199
|
+
"opsConfig": ResolvePage200ResponseDataOpsConfigToJSON(value.opsConfig)
|
|
2087
3200
|
};
|
|
2088
3201
|
}
|
|
2089
3202
|
|
|
@@ -2116,6 +3229,53 @@ function ResolvePage200ResponseToJSON(value) {
|
|
|
2116
3229
|
};
|
|
2117
3230
|
}
|
|
2118
3231
|
|
|
3232
|
+
// src/generated/models/ResolvePageRequestContext.ts
|
|
3233
|
+
var ResolvePageRequestContextDeviceTypeEnum = {
|
|
3234
|
+
MOBILE: "mobile",
|
|
3235
|
+
TABLET: "tablet",
|
|
3236
|
+
DESKTOP: "desktop"
|
|
3237
|
+
};
|
|
3238
|
+
function instanceOfResolvePageRequestContext(value) {
|
|
3239
|
+
let isInstance = true;
|
|
3240
|
+
return isInstance;
|
|
3241
|
+
}
|
|
3242
|
+
function ResolvePageRequestContextFromJSON(json) {
|
|
3243
|
+
return ResolvePageRequestContextFromJSONTyped(json, false);
|
|
3244
|
+
}
|
|
3245
|
+
function ResolvePageRequestContextFromJSONTyped(json, ignoreDiscriminator) {
|
|
3246
|
+
if (json === void 0 || json === null) {
|
|
3247
|
+
return json;
|
|
3248
|
+
}
|
|
3249
|
+
return {
|
|
3250
|
+
"userId": !exists(json, "userId") ? void 0 : json["userId"],
|
|
3251
|
+
"sessionId": !exists(json, "sessionId") ? void 0 : json["sessionId"],
|
|
3252
|
+
"deviceId": !exists(json, "deviceId") ? void 0 : json["deviceId"],
|
|
3253
|
+
"deviceType": !exists(json, "deviceType") ? void 0 : json["deviceType"],
|
|
3254
|
+
"channel": !exists(json, "channel") ? void 0 : json["channel"],
|
|
3255
|
+
"urlParams": !exists(json, "urlParams") ? void 0 : json["urlParams"],
|
|
3256
|
+
"routeParams": !exists(json, "routeParams") ? void 0 : json["routeParams"],
|
|
3257
|
+
"customData": !exists(json, "customData") ? void 0 : json["customData"]
|
|
3258
|
+
};
|
|
3259
|
+
}
|
|
3260
|
+
function ResolvePageRequestContextToJSON(value) {
|
|
3261
|
+
if (value === void 0) {
|
|
3262
|
+
return void 0;
|
|
3263
|
+
}
|
|
3264
|
+
if (value === null) {
|
|
3265
|
+
return null;
|
|
3266
|
+
}
|
|
3267
|
+
return {
|
|
3268
|
+
"userId": value.userId,
|
|
3269
|
+
"sessionId": value.sessionId,
|
|
3270
|
+
"deviceId": value.deviceId,
|
|
3271
|
+
"deviceType": value.deviceType,
|
|
3272
|
+
"channel": value.channel,
|
|
3273
|
+
"urlParams": value.urlParams,
|
|
3274
|
+
"routeParams": value.routeParams,
|
|
3275
|
+
"customData": value.customData
|
|
3276
|
+
};
|
|
3277
|
+
}
|
|
3278
|
+
|
|
2119
3279
|
// src/generated/models/ResolvePageRequestOptions.ts
|
|
2120
3280
|
function instanceOfResolvePageRequestOptions(value) {
|
|
2121
3281
|
let isInstance = true;
|
|
@@ -2207,6 +3367,114 @@ function ResolvePageResponseToJSON(value) {
|
|
|
2207
3367
|
};
|
|
2208
3368
|
}
|
|
2209
3369
|
|
|
3370
|
+
// src/generated/models/ResolveTenant200ResponseData.ts
|
|
3371
|
+
var ResolveTenant200ResponseDataStatusEnum = {
|
|
3372
|
+
ACTIVE: "active",
|
|
3373
|
+
SUSPENDED: "suspended",
|
|
3374
|
+
DISABLED: "disabled"
|
|
3375
|
+
};
|
|
3376
|
+
function instanceOfResolveTenant200ResponseData(value) {
|
|
3377
|
+
let isInstance = true;
|
|
3378
|
+
isInstance = isInstance && "appId" in value;
|
|
3379
|
+
isInstance = isInstance && "appName" in value;
|
|
3380
|
+
isInstance = isInstance && "status" in value;
|
|
3381
|
+
return isInstance;
|
|
3382
|
+
}
|
|
3383
|
+
function ResolveTenant200ResponseDataFromJSON(json) {
|
|
3384
|
+
return ResolveTenant200ResponseDataFromJSONTyped(json, false);
|
|
3385
|
+
}
|
|
3386
|
+
function ResolveTenant200ResponseDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
3387
|
+
if (json === void 0 || json === null) {
|
|
3388
|
+
return json;
|
|
3389
|
+
}
|
|
3390
|
+
return {
|
|
3391
|
+
"appId": json["appId"],
|
|
3392
|
+
"appName": json["appName"],
|
|
3393
|
+
"status": json["status"],
|
|
3394
|
+
"workspaceId": !exists(json, "workspaceId") ? void 0 : json["workspaceId"],
|
|
3395
|
+
"cdnDomain": !exists(json, "cdnDomain") ? void 0 : json["cdnDomain"],
|
|
3396
|
+
"apiDomain": !exists(json, "apiDomain") ? void 0 : json["apiDomain"]
|
|
3397
|
+
};
|
|
3398
|
+
}
|
|
3399
|
+
function ResolveTenant200ResponseDataToJSON(value) {
|
|
3400
|
+
if (value === void 0) {
|
|
3401
|
+
return void 0;
|
|
3402
|
+
}
|
|
3403
|
+
if (value === null) {
|
|
3404
|
+
return null;
|
|
3405
|
+
}
|
|
3406
|
+
return {
|
|
3407
|
+
"appId": value.appId,
|
|
3408
|
+
"appName": value.appName,
|
|
3409
|
+
"status": value.status,
|
|
3410
|
+
"workspaceId": value.workspaceId,
|
|
3411
|
+
"cdnDomain": value.cdnDomain,
|
|
3412
|
+
"apiDomain": value.apiDomain
|
|
3413
|
+
};
|
|
3414
|
+
}
|
|
3415
|
+
|
|
3416
|
+
// src/generated/models/ResolveTenant200Response.ts
|
|
3417
|
+
function instanceOfResolveTenant200Response(value) {
|
|
3418
|
+
let isInstance = true;
|
|
3419
|
+
return isInstance;
|
|
3420
|
+
}
|
|
3421
|
+
function ResolveTenant200ResponseFromJSON(json) {
|
|
3422
|
+
return ResolveTenant200ResponseFromJSONTyped(json, false);
|
|
3423
|
+
}
|
|
3424
|
+
function ResolveTenant200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
3425
|
+
if (json === void 0 || json === null) {
|
|
3426
|
+
return json;
|
|
3427
|
+
}
|
|
3428
|
+
return {
|
|
3429
|
+
"success": !exists(json, "success") ? void 0 : json["success"],
|
|
3430
|
+
"data": !exists(json, "data") ? void 0 : ResolveTenant200ResponseDataFromJSON(json["data"])
|
|
3431
|
+
};
|
|
3432
|
+
}
|
|
3433
|
+
function ResolveTenant200ResponseToJSON(value) {
|
|
3434
|
+
if (value === void 0) {
|
|
3435
|
+
return void 0;
|
|
3436
|
+
}
|
|
3437
|
+
if (value === null) {
|
|
3438
|
+
return null;
|
|
3439
|
+
}
|
|
3440
|
+
return {
|
|
3441
|
+
"success": value.success,
|
|
3442
|
+
"data": ResolveTenant200ResponseDataToJSON(value.data)
|
|
3443
|
+
};
|
|
3444
|
+
}
|
|
3445
|
+
|
|
3446
|
+
// src/generated/models/ResolveTenantRequest.ts
|
|
3447
|
+
function instanceOfResolveTenantRequest(value) {
|
|
3448
|
+
let isInstance = true;
|
|
3449
|
+
return isInstance;
|
|
3450
|
+
}
|
|
3451
|
+
function ResolveTenantRequestFromJSON(json) {
|
|
3452
|
+
return ResolveTenantRequestFromJSONTyped(json, false);
|
|
3453
|
+
}
|
|
3454
|
+
function ResolveTenantRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
3455
|
+
if (json === void 0 || json === null) {
|
|
3456
|
+
return json;
|
|
3457
|
+
}
|
|
3458
|
+
return {
|
|
3459
|
+
"appKey": !exists(json, "appKey") ? void 0 : json["appKey"],
|
|
3460
|
+
"host": !exists(json, "host") ? void 0 : json["host"],
|
|
3461
|
+
"channel": !exists(json, "channel") ? void 0 : json["channel"]
|
|
3462
|
+
};
|
|
3463
|
+
}
|
|
3464
|
+
function ResolveTenantRequestToJSON(value) {
|
|
3465
|
+
if (value === void 0) {
|
|
3466
|
+
return void 0;
|
|
3467
|
+
}
|
|
3468
|
+
if (value === null) {
|
|
3469
|
+
return null;
|
|
3470
|
+
}
|
|
3471
|
+
return {
|
|
3472
|
+
"appKey": value.appKey,
|
|
3473
|
+
"host": value.host,
|
|
3474
|
+
"channel": value.channel
|
|
3475
|
+
};
|
|
3476
|
+
}
|
|
3477
|
+
|
|
2210
3478
|
// src/generated/models/ResourceManifests.ts
|
|
2211
3479
|
function instanceOfResourceManifests(value) {
|
|
2212
3480
|
let isInstance = true;
|
|
@@ -2278,6 +3546,90 @@ function SigninCalendarToJSON(value) {
|
|
|
2278
3546
|
};
|
|
2279
3547
|
}
|
|
2280
3548
|
|
|
3549
|
+
// src/generated/models/TenantConfig.ts
|
|
3550
|
+
function instanceOfTenantConfig(value) {
|
|
3551
|
+
let isInstance = true;
|
|
3552
|
+
return isInstance;
|
|
3553
|
+
}
|
|
3554
|
+
function TenantConfigFromJSON(json) {
|
|
3555
|
+
return TenantConfigFromJSONTyped(json, false);
|
|
3556
|
+
}
|
|
3557
|
+
function TenantConfigFromJSONTyped(json, ignoreDiscriminator) {
|
|
3558
|
+
if (json === void 0 || json === null) {
|
|
3559
|
+
return json;
|
|
3560
|
+
}
|
|
3561
|
+
return {
|
|
3562
|
+
"features": !exists(json, "features") ? void 0 : json["features"],
|
|
3563
|
+
"theme": !exists(json, "theme") ? void 0 : json["theme"],
|
|
3564
|
+
"cdnDomain": !exists(json, "cdnDomain") ? void 0 : json["cdnDomain"],
|
|
3565
|
+
"runtimeVersion": !exists(json, "runtimeVersion") ? void 0 : json["runtimeVersion"],
|
|
3566
|
+
"blockedComponents": !exists(json, "blockedComponents") ? void 0 : json["blockedComponents"].map(GetTenantConfig200ResponseDataBlockedComponentsInnerFromJSON),
|
|
3567
|
+
"killSwitch": !exists(json, "killSwitch") ? void 0 : GetTenantConfig200ResponseDataKillSwitchFromJSON(json["killSwitch"])
|
|
3568
|
+
};
|
|
3569
|
+
}
|
|
3570
|
+
function TenantConfigToJSON(value) {
|
|
3571
|
+
if (value === void 0) {
|
|
3572
|
+
return void 0;
|
|
3573
|
+
}
|
|
3574
|
+
if (value === null) {
|
|
3575
|
+
return null;
|
|
3576
|
+
}
|
|
3577
|
+
return {
|
|
3578
|
+
"features": value.features,
|
|
3579
|
+
"theme": value.theme,
|
|
3580
|
+
"cdnDomain": value.cdnDomain,
|
|
3581
|
+
"runtimeVersion": value.runtimeVersion,
|
|
3582
|
+
"blockedComponents": value.blockedComponents === void 0 ? void 0 : value.blockedComponents.map(GetTenantConfig200ResponseDataBlockedComponentsInnerToJSON),
|
|
3583
|
+
"killSwitch": GetTenantConfig200ResponseDataKillSwitchToJSON(value.killSwitch)
|
|
3584
|
+
};
|
|
3585
|
+
}
|
|
3586
|
+
|
|
3587
|
+
// src/generated/models/TenantInfo.ts
|
|
3588
|
+
var TenantInfoStatusEnum = {
|
|
3589
|
+
ACTIVE: "active",
|
|
3590
|
+
SUSPENDED: "suspended",
|
|
3591
|
+
DISABLED: "disabled"
|
|
3592
|
+
};
|
|
3593
|
+
function instanceOfTenantInfo(value) {
|
|
3594
|
+
let isInstance = true;
|
|
3595
|
+
isInstance = isInstance && "appId" in value;
|
|
3596
|
+
isInstance = isInstance && "appName" in value;
|
|
3597
|
+
isInstance = isInstance && "status" in value;
|
|
3598
|
+
return isInstance;
|
|
3599
|
+
}
|
|
3600
|
+
function TenantInfoFromJSON(json) {
|
|
3601
|
+
return TenantInfoFromJSONTyped(json, false);
|
|
3602
|
+
}
|
|
3603
|
+
function TenantInfoFromJSONTyped(json, ignoreDiscriminator) {
|
|
3604
|
+
if (json === void 0 || json === null) {
|
|
3605
|
+
return json;
|
|
3606
|
+
}
|
|
3607
|
+
return {
|
|
3608
|
+
"appId": json["appId"],
|
|
3609
|
+
"appName": json["appName"],
|
|
3610
|
+
"status": json["status"],
|
|
3611
|
+
"workspaceId": !exists(json, "workspaceId") ? void 0 : json["workspaceId"],
|
|
3612
|
+
"cdnDomain": !exists(json, "cdnDomain") ? void 0 : json["cdnDomain"],
|
|
3613
|
+
"apiDomain": !exists(json, "apiDomain") ? void 0 : json["apiDomain"]
|
|
3614
|
+
};
|
|
3615
|
+
}
|
|
3616
|
+
function TenantInfoToJSON(value) {
|
|
3617
|
+
if (value === void 0) {
|
|
3618
|
+
return void 0;
|
|
3619
|
+
}
|
|
3620
|
+
if (value === null) {
|
|
3621
|
+
return null;
|
|
3622
|
+
}
|
|
3623
|
+
return {
|
|
3624
|
+
"appId": value.appId,
|
|
3625
|
+
"appName": value.appName,
|
|
3626
|
+
"status": value.status,
|
|
3627
|
+
"workspaceId": value.workspaceId,
|
|
3628
|
+
"cdnDomain": value.cdnDomain,
|
|
3629
|
+
"apiDomain": value.apiDomain
|
|
3630
|
+
};
|
|
3631
|
+
}
|
|
3632
|
+
|
|
2281
3633
|
// src/generated/models/Track202ResponseData.ts
|
|
2282
3634
|
function instanceOfTrack202ResponseData(value) {
|
|
2283
3635
|
let isInstance = true;
|
|
@@ -2441,10 +3793,11 @@ function TrackRequestContextFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
2441
3793
|
return json;
|
|
2442
3794
|
}
|
|
2443
3795
|
return {
|
|
2444
|
-
"
|
|
2445
|
-
"
|
|
3796
|
+
"pageVersionId": !exists(json, "pageVersionId") ? void 0 : json["pageVersionId"],
|
|
3797
|
+
"componentVersionId": !exists(json, "componentVersionId") ? void 0 : json["componentVersionId"],
|
|
2446
3798
|
"sessionId": !exists(json, "sessionId") ? void 0 : json["sessionId"],
|
|
2447
|
-
"deviceType": !exists(json, "deviceType") ? void 0 : json["deviceType"]
|
|
3799
|
+
"deviceType": !exists(json, "deviceType") ? void 0 : json["deviceType"],
|
|
3800
|
+
"traceId": !exists(json, "traceId") ? void 0 : json["traceId"]
|
|
2448
3801
|
};
|
|
2449
3802
|
}
|
|
2450
3803
|
function TrackRequestContextToJSON(value) {
|
|
@@ -2455,10 +3808,11 @@ function TrackRequestContextToJSON(value) {
|
|
|
2455
3808
|
return null;
|
|
2456
3809
|
}
|
|
2457
3810
|
return {
|
|
2458
|
-
"
|
|
2459
|
-
"
|
|
3811
|
+
"pageVersionId": value.pageVersionId,
|
|
3812
|
+
"componentVersionId": value.componentVersionId,
|
|
2460
3813
|
"sessionId": value.sessionId,
|
|
2461
|
-
"deviceType": value.deviceType
|
|
3814
|
+
"deviceType": value.deviceType,
|
|
3815
|
+
"traceId": value.traceId
|
|
2462
3816
|
};
|
|
2463
3817
|
}
|
|
2464
3818
|
|
|
@@ -2592,7 +3946,8 @@ function ValidateActionParams200ResponseDataErrorsInnerFromJSONTyped(json, ignor
|
|
|
2592
3946
|
}
|
|
2593
3947
|
return {
|
|
2594
3948
|
"path": !exists(json, "path") ? void 0 : json["path"],
|
|
2595
|
-
"message": !exists(json, "message") ? void 0 : json["message"]
|
|
3949
|
+
"message": !exists(json, "message") ? void 0 : json["message"],
|
|
3950
|
+
"code": !exists(json, "code") ? void 0 : json["code"]
|
|
2596
3951
|
};
|
|
2597
3952
|
}
|
|
2598
3953
|
function ValidateActionParams200ResponseDataErrorsInnerToJSON(value) {
|
|
@@ -2604,7 +3959,8 @@ function ValidateActionParams200ResponseDataErrorsInnerToJSON(value) {
|
|
|
2604
3959
|
}
|
|
2605
3960
|
return {
|
|
2606
3961
|
"path": value.path,
|
|
2607
|
-
"message": value.message
|
|
3962
|
+
"message": value.message,
|
|
3963
|
+
"code": value.code
|
|
2608
3964
|
};
|
|
2609
3965
|
}
|
|
2610
3966
|
|
|
@@ -2671,6 +4027,7 @@ function ValidateActionParams200ResponseToJSON(value) {
|
|
|
2671
4027
|
// src/generated/models/ValidateActionParamsRequest.ts
|
|
2672
4028
|
function instanceOfValidateActionParamsRequest(value) {
|
|
2673
4029
|
let isInstance = true;
|
|
4030
|
+
isInstance = isInstance && "actionType" in value;
|
|
2674
4031
|
isInstance = isInstance && "params" in value;
|
|
2675
4032
|
return isInstance;
|
|
2676
4033
|
}
|
|
@@ -2682,6 +4039,8 @@ function ValidateActionParamsRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
2682
4039
|
return json;
|
|
2683
4040
|
}
|
|
2684
4041
|
return {
|
|
4042
|
+
"actionType": json["actionType"],
|
|
4043
|
+
"actionDefinitionVersionId": !exists(json, "actionDefinitionVersionId") ? void 0 : json["actionDefinitionVersionId"],
|
|
2685
4044
|
"params": json["params"]
|
|
2686
4045
|
};
|
|
2687
4046
|
}
|
|
@@ -2693,6 +4052,8 @@ function ValidateActionParamsRequestToJSON(value) {
|
|
|
2693
4052
|
return null;
|
|
2694
4053
|
}
|
|
2695
4054
|
return {
|
|
4055
|
+
"actionType": value.actionType,
|
|
4056
|
+
"actionDefinitionVersionId": value.actionDefinitionVersionId,
|
|
2696
4057
|
"params": value.params
|
|
2697
4058
|
};
|
|
2698
4059
|
}
|
|
@@ -2700,6 +4061,7 @@ function ValidateActionParamsRequestToJSON(value) {
|
|
|
2700
4061
|
// src/generated/models/ValidateActionRequest.ts
|
|
2701
4062
|
function instanceOfValidateActionRequest(value) {
|
|
2702
4063
|
let isInstance = true;
|
|
4064
|
+
isInstance = isInstance && "actionType" in value;
|
|
2703
4065
|
isInstance = isInstance && "params" in value;
|
|
2704
4066
|
return isInstance;
|
|
2705
4067
|
}
|
|
@@ -2711,6 +4073,8 @@ function ValidateActionRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
2711
4073
|
return json;
|
|
2712
4074
|
}
|
|
2713
4075
|
return {
|
|
4076
|
+
"actionType": json["actionType"],
|
|
4077
|
+
"actionDefinitionVersionId": !exists(json, "actionDefinitionVersionId") ? void 0 : json["actionDefinitionVersionId"],
|
|
2714
4078
|
"params": json["params"]
|
|
2715
4079
|
};
|
|
2716
4080
|
}
|
|
@@ -2722,6 +4086,8 @@ function ValidateActionRequestToJSON(value) {
|
|
|
2722
4086
|
return null;
|
|
2723
4087
|
}
|
|
2724
4088
|
return {
|
|
4089
|
+
"actionType": value.actionType,
|
|
4090
|
+
"actionDefinitionVersionId": value.actionDefinitionVersionId,
|
|
2725
4091
|
"params": value.params
|
|
2726
4092
|
};
|
|
2727
4093
|
}
|
|
@@ -2758,13 +4124,10 @@ function ValidateActionResponseToJSON(value) {
|
|
|
2758
4124
|
// src/generated/apis/ActionsApi.ts
|
|
2759
4125
|
var ActionsApi = class extends BaseAPI {
|
|
2760
4126
|
/**
|
|
2761
|
-
*
|
|
2762
|
-
*
|
|
4127
|
+
* Action Gateway 唯一入口,所有业务动作都通过此接口执行。 执行流程(Pipeline): 1. Auth(登录态/票据/签名) 2. Risk(限流、黑名单、设备指纹、验证码开关) 3. Idempotency(幂等键检查) 4. Execute(执行器:Claim/Signin/Lottery...) 5. Audit(审计落库 + outbox) 6. Normalize(统一错误码/返回) 支持的动作类型: - claim: 领取 - signin: 签到 - lottery: 抽奖 - reserve: 预约 - bind: 绑定 - task_complete: 任务完成 - vote: 投票 - share: 分享 - form_submit: 表单提交 - navigate: 页面跳转(内置) - setState: 状态更新(内置) - showToast: 提示消息(内置) - custom: 自定义动作
|
|
4128
|
+
* 执行动作(统一入口)
|
|
2763
4129
|
*/
|
|
2764
4130
|
async executeActionRaw(requestParameters, initOverrides) {
|
|
2765
|
-
if (requestParameters.actionId === null || requestParameters.actionId === void 0) {
|
|
2766
|
-
throw new RequiredError("actionId", "Required parameter requestParameters.actionId was null or undefined when calling executeAction.");
|
|
2767
|
-
}
|
|
2768
4131
|
if (requestParameters.executeActionRequest === null || requestParameters.executeActionRequest === void 0) {
|
|
2769
4132
|
throw new RequiredError("executeActionRequest", "Required parameter requestParameters.executeActionRequest was null or undefined when calling executeAction.");
|
|
2770
4133
|
}
|
|
@@ -2782,7 +4145,7 @@ var ActionsApi = class extends BaseAPI {
|
|
|
2782
4145
|
}
|
|
2783
4146
|
}
|
|
2784
4147
|
const response = await this.request({
|
|
2785
|
-
path: `/actions/
|
|
4148
|
+
path: `/actions/execute`,
|
|
2786
4149
|
method: "POST",
|
|
2787
4150
|
headers: headerParameters,
|
|
2788
4151
|
query: queryParameters,
|
|
@@ -2791,21 +4154,57 @@ var ActionsApi = class extends BaseAPI {
|
|
|
2791
4154
|
return new JSONApiResponse(response, (jsonValue) => ExecuteAction200ResponseFromJSON(jsonValue));
|
|
2792
4155
|
}
|
|
2793
4156
|
/**
|
|
2794
|
-
*
|
|
2795
|
-
*
|
|
4157
|
+
* Action Gateway 唯一入口,所有业务动作都通过此接口执行。 执行流程(Pipeline): 1. Auth(登录态/票据/签名) 2. Risk(限流、黑名单、设备指纹、验证码开关) 3. Idempotency(幂等键检查) 4. Execute(执行器:Claim/Signin/Lottery...) 5. Audit(审计落库 + outbox) 6. Normalize(统一错误码/返回) 支持的动作类型: - claim: 领取 - signin: 签到 - lottery: 抽奖 - reserve: 预约 - bind: 绑定 - task_complete: 任务完成 - vote: 投票 - share: 分享 - form_submit: 表单提交 - navigate: 页面跳转(内置) - setState: 状态更新(内置) - showToast: 提示消息(内置) - custom: 自定义动作
|
|
4158
|
+
* 执行动作(统一入口)
|
|
2796
4159
|
*/
|
|
2797
4160
|
async executeAction(requestParameters, initOverrides) {
|
|
2798
4161
|
const response = await this.executeActionRaw(requestParameters, initOverrides);
|
|
2799
4162
|
return await response.value();
|
|
2800
4163
|
}
|
|
2801
4164
|
/**
|
|
2802
|
-
*
|
|
4165
|
+
* 获取指定动作定义版本的详细信息(用于 Runtime 渲染动作配置)
|
|
4166
|
+
* 获取动作定义
|
|
4167
|
+
*/
|
|
4168
|
+
async getActionDefinitionRaw(requestParameters, initOverrides) {
|
|
4169
|
+
if (requestParameters.actionDefinitionVersionId === null || requestParameters.actionDefinitionVersionId === void 0) {
|
|
4170
|
+
throw new RequiredError("actionDefinitionVersionId", "Required parameter requestParameters.actionDefinitionVersionId was null or undefined when calling getActionDefinition.");
|
|
4171
|
+
}
|
|
4172
|
+
const queryParameters = {};
|
|
4173
|
+
if (requestParameters.actionDefinitionVersionId !== void 0) {
|
|
4174
|
+
queryParameters["actionDefinitionVersionId"] = requestParameters.actionDefinitionVersionId;
|
|
4175
|
+
}
|
|
4176
|
+
const headerParameters = {};
|
|
4177
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
4178
|
+
headerParameters["X-API-Key"] = this.configuration.apiKey("X-API-Key");
|
|
4179
|
+
}
|
|
4180
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
4181
|
+
const token = this.configuration.accessToken;
|
|
4182
|
+
const tokenString = await token("BearerAuth", []);
|
|
4183
|
+
if (tokenString) {
|
|
4184
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
4185
|
+
}
|
|
4186
|
+
}
|
|
4187
|
+
const response = await this.request({
|
|
4188
|
+
path: `/actions/definitions`,
|
|
4189
|
+
method: "GET",
|
|
4190
|
+
headers: headerParameters,
|
|
4191
|
+
query: queryParameters
|
|
4192
|
+
}, initOverrides);
|
|
4193
|
+
return new JSONApiResponse(response, (jsonValue) => GetActionDefinition200ResponseFromJSON(jsonValue));
|
|
4194
|
+
}
|
|
4195
|
+
/**
|
|
4196
|
+
* 获取指定动作定义版本的详细信息(用于 Runtime 渲染动作配置)
|
|
4197
|
+
* 获取动作定义
|
|
4198
|
+
*/
|
|
4199
|
+
async getActionDefinition(requestParameters, initOverrides) {
|
|
4200
|
+
const response = await this.getActionDefinitionRaw(requestParameters, initOverrides);
|
|
4201
|
+
return await response.value();
|
|
4202
|
+
}
|
|
4203
|
+
/**
|
|
4204
|
+
* 验证动作参数是否符合 Schema 定义(不执行动作)。 用于前端表单提交前的预校验。
|
|
2803
4205
|
* 验证动作参数
|
|
2804
4206
|
*/
|
|
2805
4207
|
async validateActionParamsRaw(requestParameters, initOverrides) {
|
|
2806
|
-
if (requestParameters.actionId === null || requestParameters.actionId === void 0) {
|
|
2807
|
-
throw new RequiredError("actionId", "Required parameter requestParameters.actionId was null or undefined when calling validateActionParams.");
|
|
2808
|
-
}
|
|
2809
4208
|
if (requestParameters.validateActionParamsRequest === null || requestParameters.validateActionParamsRequest === void 0) {
|
|
2810
4209
|
throw new RequiredError("validateActionParamsRequest", "Required parameter requestParameters.validateActionParamsRequest was null or undefined when calling validateActionParams.");
|
|
2811
4210
|
}
|
|
@@ -2823,7 +4222,7 @@ var ActionsApi = class extends BaseAPI {
|
|
|
2823
4222
|
}
|
|
2824
4223
|
}
|
|
2825
4224
|
const response = await this.request({
|
|
2826
|
-
path: `/actions/
|
|
4225
|
+
path: `/actions/validate`,
|
|
2827
4226
|
method: "POST",
|
|
2828
4227
|
headers: headerParameters,
|
|
2829
4228
|
query: queryParameters,
|
|
@@ -2832,7 +4231,7 @@ var ActionsApi = class extends BaseAPI {
|
|
|
2832
4231
|
return new JSONApiResponse(response, (jsonValue) => ValidateActionParams200ResponseFromJSON(jsonValue));
|
|
2833
4232
|
}
|
|
2834
4233
|
/**
|
|
2835
|
-
* 验证动作参数是否符合 Schema
|
|
4234
|
+
* 验证动作参数是否符合 Schema 定义(不执行动作)。 用于前端表单提交前的预校验。
|
|
2836
4235
|
* 验证动作参数
|
|
2837
4236
|
*/
|
|
2838
4237
|
async validateActionParams(requestParameters, initOverrides) {
|
|
@@ -3105,15 +4504,89 @@ var PagesApi = class extends BaseAPI {
|
|
|
3105
4504
|
// src/generated/apis/QueriesApi.ts
|
|
3106
4505
|
var QueriesApi = class extends BaseAPI {
|
|
3107
4506
|
/**
|
|
3108
|
-
*
|
|
3109
|
-
*
|
|
4507
|
+
* 批量执行多个数据查询,用于页面初始化时预取多个数据源。 所有查询并行执行,部分失败不影响其他查询返回。
|
|
4508
|
+
* 批量执行数据查询
|
|
4509
|
+
*/
|
|
4510
|
+
async batchQueryDataRaw(requestParameters, initOverrides) {
|
|
4511
|
+
if (requestParameters.batchQueryDataRequest === null || requestParameters.batchQueryDataRequest === void 0) {
|
|
4512
|
+
throw new RequiredError("batchQueryDataRequest", "Required parameter requestParameters.batchQueryDataRequest was null or undefined when calling batchQueryData.");
|
|
4513
|
+
}
|
|
4514
|
+
const queryParameters = {};
|
|
4515
|
+
const headerParameters = {};
|
|
4516
|
+
headerParameters["Content-Type"] = "application/json";
|
|
4517
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
4518
|
+
headerParameters["X-API-Key"] = this.configuration.apiKey("X-API-Key");
|
|
4519
|
+
}
|
|
4520
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
4521
|
+
const token = this.configuration.accessToken;
|
|
4522
|
+
const tokenString = await token("BearerAuth", []);
|
|
4523
|
+
if (tokenString) {
|
|
4524
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
4525
|
+
}
|
|
4526
|
+
}
|
|
4527
|
+
const response = await this.request({
|
|
4528
|
+
path: `/data/query/batch`,
|
|
4529
|
+
method: "POST",
|
|
4530
|
+
headers: headerParameters,
|
|
4531
|
+
query: queryParameters,
|
|
4532
|
+
body: BatchQueryDataRequestToJSON(requestParameters.batchQueryDataRequest)
|
|
4533
|
+
}, initOverrides);
|
|
4534
|
+
return new JSONApiResponse(response, (jsonValue) => BatchQueryData200ResponseFromJSON(jsonValue));
|
|
4535
|
+
}
|
|
4536
|
+
/**
|
|
4537
|
+
* 批量执行多个数据查询,用于页面初始化时预取多个数据源。 所有查询并行执行,部分失败不影响其他查询返回。
|
|
4538
|
+
* 批量执行数据查询
|
|
4539
|
+
*/
|
|
4540
|
+
async batchQueryData(requestParameters, initOverrides) {
|
|
4541
|
+
const response = await this.batchQueryDataRaw(requestParameters, initOverrides);
|
|
4542
|
+
return await response.value();
|
|
4543
|
+
}
|
|
4544
|
+
/**
|
|
4545
|
+
* 获取指定数据查询定义版本的详细信息
|
|
4546
|
+
* 获取查询定义
|
|
3110
4547
|
*/
|
|
3111
|
-
async
|
|
3112
|
-
if (requestParameters.
|
|
3113
|
-
throw new RequiredError("
|
|
4548
|
+
async getQueryDefinitionRaw(requestParameters, initOverrides) {
|
|
4549
|
+
if (requestParameters.queryVersionId === null || requestParameters.queryVersionId === void 0) {
|
|
4550
|
+
throw new RequiredError("queryVersionId", "Required parameter requestParameters.queryVersionId was null or undefined when calling getQueryDefinition.");
|
|
4551
|
+
}
|
|
4552
|
+
const queryParameters = {};
|
|
4553
|
+
if (requestParameters.queryVersionId !== void 0) {
|
|
4554
|
+
queryParameters["queryVersionId"] = requestParameters.queryVersionId;
|
|
4555
|
+
}
|
|
4556
|
+
const headerParameters = {};
|
|
4557
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
4558
|
+
headerParameters["X-API-Key"] = this.configuration.apiKey("X-API-Key");
|
|
4559
|
+
}
|
|
4560
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
4561
|
+
const token = this.configuration.accessToken;
|
|
4562
|
+
const tokenString = await token("BearerAuth", []);
|
|
4563
|
+
if (tokenString) {
|
|
4564
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
4565
|
+
}
|
|
3114
4566
|
}
|
|
3115
|
-
|
|
3116
|
-
|
|
4567
|
+
const response = await this.request({
|
|
4568
|
+
path: `/data/definitions`,
|
|
4569
|
+
method: "GET",
|
|
4570
|
+
headers: headerParameters,
|
|
4571
|
+
query: queryParameters
|
|
4572
|
+
}, initOverrides);
|
|
4573
|
+
return new JSONApiResponse(response, (jsonValue) => GetQueryDefinition200ResponseFromJSON(jsonValue));
|
|
4574
|
+
}
|
|
4575
|
+
/**
|
|
4576
|
+
* 获取指定数据查询定义版本的详细信息
|
|
4577
|
+
* 获取查询定义
|
|
4578
|
+
*/
|
|
4579
|
+
async getQueryDefinition(requestParameters, initOverrides) {
|
|
4580
|
+
const response = await this.getQueryDefinitionRaw(requestParameters, initOverrides);
|
|
4581
|
+
return await response.value();
|
|
4582
|
+
}
|
|
4583
|
+
/**
|
|
4584
|
+
* Data Proxy 统一入口,所有数据查询都通过此接口执行。 功能: - 白名单校验(queryVersionId 属于该 app/workspace) - 字段裁剪、脱敏 - 缓存(短 TTL) - 失败降级(兜底结构) - 审计(可选,或采样) 支持的数据源类型: - http: HTTP 接口 - graphql: GraphQL 查询 - database: 数据库查询(受限) - internal: 内部服务 - aggregation: 聚合查询
|
|
4585
|
+
* 执行数据查询(Data Proxy 统一入口)
|
|
4586
|
+
*/
|
|
4587
|
+
async queryDataRaw(requestParameters, initOverrides) {
|
|
4588
|
+
if (requestParameters.queryDataRequest === null || requestParameters.queryDataRequest === void 0) {
|
|
4589
|
+
throw new RequiredError("queryDataRequest", "Required parameter requestParameters.queryDataRequest was null or undefined when calling queryData.");
|
|
3117
4590
|
}
|
|
3118
4591
|
const queryParameters = {};
|
|
3119
4592
|
const headerParameters = {};
|
|
@@ -3129,20 +4602,20 @@ var QueriesApi = class extends BaseAPI {
|
|
|
3129
4602
|
}
|
|
3130
4603
|
}
|
|
3131
4604
|
const response = await this.request({
|
|
3132
|
-
path: `/
|
|
4605
|
+
path: `/data/query`,
|
|
3133
4606
|
method: "POST",
|
|
3134
4607
|
headers: headerParameters,
|
|
3135
4608
|
query: queryParameters,
|
|
3136
|
-
body:
|
|
4609
|
+
body: QueryDataRequestToJSON(requestParameters.queryDataRequest)
|
|
3137
4610
|
}, initOverrides);
|
|
3138
|
-
return new JSONApiResponse(response, (jsonValue) =>
|
|
4611
|
+
return new JSONApiResponse(response, (jsonValue) => QueryData200ResponseFromJSON(jsonValue));
|
|
3139
4612
|
}
|
|
3140
4613
|
/**
|
|
3141
|
-
*
|
|
3142
|
-
*
|
|
4614
|
+
* Data Proxy 统一入口,所有数据查询都通过此接口执行。 功能: - 白名单校验(queryVersionId 属于该 app/workspace) - 字段裁剪、脱敏 - 缓存(短 TTL) - 失败降级(兜底结构) - 审计(可选,或采样) 支持的数据源类型: - http: HTTP 接口 - graphql: GraphQL 查询 - database: 数据库查询(受限) - internal: 内部服务 - aggregation: 聚合查询
|
|
4615
|
+
* 执行数据查询(Data Proxy 统一入口)
|
|
3143
4616
|
*/
|
|
3144
|
-
async
|
|
3145
|
-
const response = await this.
|
|
4617
|
+
async queryData(requestParameters, initOverrides) {
|
|
4618
|
+
const response = await this.queryDataRaw(requestParameters, initOverrides);
|
|
3146
4619
|
return await response.value();
|
|
3147
4620
|
}
|
|
3148
4621
|
};
|
|
@@ -3304,18 +4777,42 @@ export {
|
|
|
3304
4777
|
ActionContextFromJSON,
|
|
3305
4778
|
ActionContextFromJSONTyped,
|
|
3306
4779
|
ActionContextToJSON,
|
|
4780
|
+
ActionDefinitionResponseFromJSON,
|
|
4781
|
+
ActionDefinitionResponseFromJSONTyped,
|
|
4782
|
+
ActionDefinitionResponseToJSON,
|
|
3307
4783
|
ActionEffectFromJSON,
|
|
3308
4784
|
ActionEffectFromJSONTyped,
|
|
3309
4785
|
ActionEffectToJSON,
|
|
3310
4786
|
ActionEffectTypeEnum,
|
|
4787
|
+
ActionManifestActionTypeEnum,
|
|
3311
4788
|
ActionManifestFromJSON,
|
|
3312
4789
|
ActionManifestFromJSONTyped,
|
|
3313
4790
|
ActionManifestToJSON,
|
|
3314
|
-
ActionManifestTypeEnum,
|
|
3315
4791
|
ActionsApi,
|
|
3316
4792
|
ActivitiesApi,
|
|
3317
4793
|
ApiError,
|
|
3318
4794
|
BaseAPI,
|
|
4795
|
+
BatchQueryData200ResponseDataValueErrorFromJSON,
|
|
4796
|
+
BatchQueryData200ResponseDataValueErrorFromJSONTyped,
|
|
4797
|
+
BatchQueryData200ResponseDataValueErrorToJSON,
|
|
4798
|
+
BatchQueryData200ResponseDataValueFromJSON,
|
|
4799
|
+
BatchQueryData200ResponseDataValueFromJSONTyped,
|
|
4800
|
+
BatchQueryData200ResponseDataValueToJSON,
|
|
4801
|
+
BatchQueryData200ResponseFromJSON,
|
|
4802
|
+
BatchQueryData200ResponseFromJSONTyped,
|
|
4803
|
+
BatchQueryData200ResponseToJSON,
|
|
4804
|
+
BatchQueryDataRequestFromJSON,
|
|
4805
|
+
BatchQueryDataRequestFromJSONTyped,
|
|
4806
|
+
BatchQueryDataRequestQueriesInnerFromJSON,
|
|
4807
|
+
BatchQueryDataRequestQueriesInnerFromJSONTyped,
|
|
4808
|
+
BatchQueryDataRequestQueriesInnerToJSON,
|
|
4809
|
+
BatchQueryDataRequestToJSON,
|
|
4810
|
+
BatchQueryRequestFromJSON,
|
|
4811
|
+
BatchQueryRequestFromJSONTyped,
|
|
4812
|
+
BatchQueryRequestToJSON,
|
|
4813
|
+
BatchQueryResponseFromJSON,
|
|
4814
|
+
BatchQueryResponseFromJSONTyped,
|
|
4815
|
+
BatchQueryResponseToJSON,
|
|
3319
4816
|
ClaimRecordInfoFromJSON,
|
|
3320
4817
|
ClaimRecordInfoFromJSONTyped,
|
|
3321
4818
|
ClaimRecordInfoStatusEnum,
|
|
@@ -3336,7 +4833,17 @@ export {
|
|
|
3336
4833
|
ExecuteAction200ResponseDataToJSON,
|
|
3337
4834
|
ExecuteAction200ResponseFromJSON,
|
|
3338
4835
|
ExecuteAction200ResponseFromJSONTyped,
|
|
4836
|
+
ExecuteAction200ResponseMetaFromJSON,
|
|
4837
|
+
ExecuteAction200ResponseMetaFromJSONTyped,
|
|
4838
|
+
ExecuteAction200ResponseMetaToJSON,
|
|
3339
4839
|
ExecuteAction200ResponseToJSON,
|
|
4840
|
+
ExecuteAction409ResponseDataFromJSON,
|
|
4841
|
+
ExecuteAction409ResponseDataFromJSONTyped,
|
|
4842
|
+
ExecuteAction409ResponseDataToJSON,
|
|
4843
|
+
ExecuteAction409ResponseFromJSON,
|
|
4844
|
+
ExecuteAction409ResponseFromJSONTyped,
|
|
4845
|
+
ExecuteAction409ResponseToJSON,
|
|
4846
|
+
ExecuteActionRequestActionTypeEnum,
|
|
3340
4847
|
ExecuteActionRequestContextFromJSON,
|
|
3341
4848
|
ExecuteActionRequestContextFromJSONTyped,
|
|
3342
4849
|
ExecuteActionRequestContextToJSON,
|
|
@@ -3349,25 +4856,13 @@ export {
|
|
|
3349
4856
|
ExecuteActionResponseFromJSON,
|
|
3350
4857
|
ExecuteActionResponseFromJSONTyped,
|
|
3351
4858
|
ExecuteActionResponseToJSON,
|
|
3352
|
-
ExecuteQuery200ResponseFromJSON,
|
|
3353
|
-
ExecuteQuery200ResponseFromJSONTyped,
|
|
3354
|
-
ExecuteQuery200ResponseMetaFromJSON,
|
|
3355
|
-
ExecuteQuery200ResponseMetaFromJSONTyped,
|
|
3356
|
-
ExecuteQuery200ResponseMetaPaginationFromJSON,
|
|
3357
|
-
ExecuteQuery200ResponseMetaPaginationFromJSONTyped,
|
|
3358
|
-
ExecuteQuery200ResponseMetaPaginationToJSON,
|
|
3359
|
-
ExecuteQuery200ResponseMetaToJSON,
|
|
3360
|
-
ExecuteQuery200ResponseToJSON,
|
|
3361
|
-
ExecuteQueryRequestFromJSON,
|
|
3362
|
-
ExecuteQueryRequestFromJSONTyped,
|
|
3363
|
-
ExecuteQueryRequestOptionsFromJSON,
|
|
3364
|
-
ExecuteQueryRequestOptionsFromJSONTyped,
|
|
3365
|
-
ExecuteQueryRequestOptionsToJSON,
|
|
3366
|
-
ExecuteQueryRequestToJSON,
|
|
3367
|
-
ExecuteQueryResponseFromJSON,
|
|
3368
|
-
ExecuteQueryResponseFromJSONTyped,
|
|
3369
|
-
ExecuteQueryResponseToJSON,
|
|
3370
4859
|
FetchError,
|
|
4860
|
+
GetActionDefinition200ResponseDataFromJSON,
|
|
4861
|
+
GetActionDefinition200ResponseDataFromJSONTyped,
|
|
4862
|
+
GetActionDefinition200ResponseDataToJSON,
|
|
4863
|
+
GetActionDefinition200ResponseFromJSON,
|
|
4864
|
+
GetActionDefinition200ResponseFromJSONTyped,
|
|
4865
|
+
GetActionDefinition200ResponseToJSON,
|
|
3371
4866
|
GetActivityInfo200ResponseDataFromJSON,
|
|
3372
4867
|
GetActivityInfo200ResponseDataFromJSONTyped,
|
|
3373
4868
|
GetActivityInfo200ResponseDataRewardsInnerFromJSON,
|
|
@@ -3418,6 +4913,12 @@ export {
|
|
|
3418
4913
|
GetPage404ResponseFromJSON,
|
|
3419
4914
|
GetPage404ResponseFromJSONTyped,
|
|
3420
4915
|
GetPage404ResponseToJSON,
|
|
4916
|
+
GetQueryDefinition200ResponseDataFromJSON,
|
|
4917
|
+
GetQueryDefinition200ResponseDataFromJSONTyped,
|
|
4918
|
+
GetQueryDefinition200ResponseDataToJSON,
|
|
4919
|
+
GetQueryDefinition200ResponseFromJSON,
|
|
4920
|
+
GetQueryDefinition200ResponseFromJSONTyped,
|
|
4921
|
+
GetQueryDefinition200ResponseToJSON,
|
|
3421
4922
|
GetSigninCalendar200ResponseDataFromJSON,
|
|
3422
4923
|
GetSigninCalendar200ResponseDataFromJSONTyped,
|
|
3423
4924
|
GetSigninCalendar200ResponseDataRecordsInnerFromJSON,
|
|
@@ -3430,12 +4931,45 @@ export {
|
|
|
3430
4931
|
GetSigninCalendar200ResponseFromJSON,
|
|
3431
4932
|
GetSigninCalendar200ResponseFromJSONTyped,
|
|
3432
4933
|
GetSigninCalendar200ResponseToJSON,
|
|
4934
|
+
GetTenantConfig200ResponseDataBlockedComponentsInnerFromJSON,
|
|
4935
|
+
GetTenantConfig200ResponseDataBlockedComponentsInnerFromJSONTyped,
|
|
4936
|
+
GetTenantConfig200ResponseDataBlockedComponentsInnerToJSON,
|
|
4937
|
+
GetTenantConfig200ResponseDataFromJSON,
|
|
4938
|
+
GetTenantConfig200ResponseDataFromJSONTyped,
|
|
4939
|
+
GetTenantConfig200ResponseDataKillSwitchFromJSON,
|
|
4940
|
+
GetTenantConfig200ResponseDataKillSwitchFromJSONTyped,
|
|
4941
|
+
GetTenantConfig200ResponseDataKillSwitchToJSON,
|
|
4942
|
+
GetTenantConfig200ResponseDataToJSON,
|
|
4943
|
+
GetTenantConfig200ResponseFromJSON,
|
|
4944
|
+
GetTenantConfig200ResponseFromJSONTyped,
|
|
4945
|
+
GetTenantConfig200ResponseToJSON,
|
|
4946
|
+
HealthCheck200ResponseDependenciesValueFromJSON,
|
|
4947
|
+
HealthCheck200ResponseDependenciesValueFromJSONTyped,
|
|
4948
|
+
HealthCheck200ResponseDependenciesValueStatusEnum,
|
|
4949
|
+
HealthCheck200ResponseDependenciesValueToJSON,
|
|
4950
|
+
HealthCheck200ResponseFromJSON,
|
|
4951
|
+
HealthCheck200ResponseFromJSONTyped,
|
|
4952
|
+
HealthCheck200ResponseStatusEnum,
|
|
4953
|
+
HealthCheck200ResponseToJSON,
|
|
4954
|
+
HealthResponseFromJSON,
|
|
4955
|
+
HealthResponseFromJSONTyped,
|
|
4956
|
+
HealthResponseStatusEnum,
|
|
4957
|
+
HealthResponseToJSON,
|
|
4958
|
+
IdempotencyConflictResponseFromJSON,
|
|
4959
|
+
IdempotencyConflictResponseFromJSONTyped,
|
|
4960
|
+
IdempotencyConflictResponseToJSON,
|
|
4961
|
+
LivenessCheck200ResponseFromJSON,
|
|
4962
|
+
LivenessCheck200ResponseFromJSONTyped,
|
|
4963
|
+
LivenessCheck200ResponseToJSON,
|
|
3433
4964
|
LotteryRecordInfoFromJSON,
|
|
3434
4965
|
LotteryRecordInfoFromJSONTyped,
|
|
3435
4966
|
LotteryRecordInfoPrizeTypeEnum,
|
|
3436
4967
|
LotteryRecordInfoStatusEnum,
|
|
3437
4968
|
LotteryRecordInfoToJSON,
|
|
3438
4969
|
NetworkError,
|
|
4970
|
+
OpsConfigFromJSON,
|
|
4971
|
+
OpsConfigFromJSONTyped,
|
|
4972
|
+
OpsConfigToJSON,
|
|
3439
4973
|
PageResponseFromJSON,
|
|
3440
4974
|
PageResponseFromJSONTyped,
|
|
3441
4975
|
PageResponseToJSON,
|
|
@@ -3449,9 +4983,42 @@ export {
|
|
|
3449
4983
|
PublicActivityInfoToJSON,
|
|
3450
4984
|
PublicActivityInfoTypeEnum,
|
|
3451
4985
|
QueriesApi,
|
|
4986
|
+
QueryContextFromJSON,
|
|
4987
|
+
QueryContextFromJSONTyped,
|
|
4988
|
+
QueryContextToJSON,
|
|
4989
|
+
QueryData200ResponseFromJSON,
|
|
4990
|
+
QueryData200ResponseFromJSONTyped,
|
|
4991
|
+
QueryData200ResponseMetaFromJSON,
|
|
4992
|
+
QueryData200ResponseMetaFromJSONTyped,
|
|
4993
|
+
QueryData200ResponseMetaPaginationFromJSON,
|
|
4994
|
+
QueryData200ResponseMetaPaginationFromJSONTyped,
|
|
4995
|
+
QueryData200ResponseMetaPaginationToJSON,
|
|
4996
|
+
QueryData200ResponseMetaToJSON,
|
|
4997
|
+
QueryData200ResponseToJSON,
|
|
4998
|
+
QueryDataRequestContextFromJSON,
|
|
4999
|
+
QueryDataRequestContextFromJSONTyped,
|
|
5000
|
+
QueryDataRequestContextToJSON,
|
|
5001
|
+
QueryDataRequestFromJSON,
|
|
5002
|
+
QueryDataRequestFromJSONTyped,
|
|
5003
|
+
QueryDataRequestOptionsFromJSON,
|
|
5004
|
+
QueryDataRequestOptionsFromJSONTyped,
|
|
5005
|
+
QueryDataRequestOptionsToJSON,
|
|
5006
|
+
QueryDataRequestToJSON,
|
|
5007
|
+
QueryDataResponseFromJSON,
|
|
5008
|
+
QueryDataResponseFromJSONTyped,
|
|
5009
|
+
QueryDataResponseToJSON,
|
|
5010
|
+
QueryDefinitionResponseFromJSON,
|
|
5011
|
+
QueryDefinitionResponseFromJSONTyped,
|
|
5012
|
+
QueryDefinitionResponseToJSON,
|
|
3452
5013
|
QueryManifestFromJSON,
|
|
3453
5014
|
QueryManifestFromJSONTyped,
|
|
3454
5015
|
QueryManifestToJSON,
|
|
5016
|
+
ReadinessCheck200ResponseFromJSON,
|
|
5017
|
+
ReadinessCheck200ResponseFromJSONTyped,
|
|
5018
|
+
ReadinessCheck200ResponseToJSON,
|
|
5019
|
+
ReadinessCheck503ResponseFromJSON,
|
|
5020
|
+
ReadinessCheck503ResponseFromJSONTyped,
|
|
5021
|
+
ReadinessCheck503ResponseToJSON,
|
|
3455
5022
|
RequiredError,
|
|
3456
5023
|
ResolveContextDeviceTypeEnum,
|
|
3457
5024
|
ResolveContextFromJSON,
|
|
@@ -3459,10 +5026,10 @@ export {
|
|
|
3459
5026
|
ResolveContextToJSON,
|
|
3460
5027
|
ResolvePage200ResponseDataFromJSON,
|
|
3461
5028
|
ResolvePage200ResponseDataFromJSONTyped,
|
|
5029
|
+
ResolvePage200ResponseDataManifestsActionsInnerActionTypeEnum,
|
|
3462
5030
|
ResolvePage200ResponseDataManifestsActionsInnerFromJSON,
|
|
3463
5031
|
ResolvePage200ResponseDataManifestsActionsInnerFromJSONTyped,
|
|
3464
5032
|
ResolvePage200ResponseDataManifestsActionsInnerToJSON,
|
|
3465
|
-
ResolvePage200ResponseDataManifestsActionsInnerTypeEnum,
|
|
3466
5033
|
ResolvePage200ResponseDataManifestsComponentsInnerFromJSON,
|
|
3467
5034
|
ResolvePage200ResponseDataManifestsComponentsInnerFromJSONTyped,
|
|
3468
5035
|
ResolvePage200ResponseDataManifestsComponentsInnerToJSON,
|
|
@@ -3472,6 +5039,9 @@ export {
|
|
|
3472
5039
|
ResolvePage200ResponseDataManifestsQueriesInnerFromJSONTyped,
|
|
3473
5040
|
ResolvePage200ResponseDataManifestsQueriesInnerToJSON,
|
|
3474
5041
|
ResolvePage200ResponseDataManifestsToJSON,
|
|
5042
|
+
ResolvePage200ResponseDataOpsConfigFromJSON,
|
|
5043
|
+
ResolvePage200ResponseDataOpsConfigFromJSONTyped,
|
|
5044
|
+
ResolvePage200ResponseDataOpsConfigToJSON,
|
|
3475
5045
|
ResolvePage200ResponseDataToJSON,
|
|
3476
5046
|
ResolvePage200ResponseFromJSON,
|
|
3477
5047
|
ResolvePage200ResponseFromJSONTyped,
|
|
@@ -3489,6 +5059,16 @@ export {
|
|
|
3489
5059
|
ResolvePageResponseFromJSON,
|
|
3490
5060
|
ResolvePageResponseFromJSONTyped,
|
|
3491
5061
|
ResolvePageResponseToJSON,
|
|
5062
|
+
ResolveTenant200ResponseDataFromJSON,
|
|
5063
|
+
ResolveTenant200ResponseDataFromJSONTyped,
|
|
5064
|
+
ResolveTenant200ResponseDataStatusEnum,
|
|
5065
|
+
ResolveTenant200ResponseDataToJSON,
|
|
5066
|
+
ResolveTenant200ResponseFromJSON,
|
|
5067
|
+
ResolveTenant200ResponseFromJSONTyped,
|
|
5068
|
+
ResolveTenant200ResponseToJSON,
|
|
5069
|
+
ResolveTenantRequestFromJSON,
|
|
5070
|
+
ResolveTenantRequestFromJSONTyped,
|
|
5071
|
+
ResolveTenantRequestToJSON,
|
|
3492
5072
|
ResourceManifestsFromJSON,
|
|
3493
5073
|
ResourceManifestsFromJSONTyped,
|
|
3494
5074
|
ResourceManifestsToJSON,
|
|
@@ -3496,6 +5076,13 @@ export {
|
|
|
3496
5076
|
SigninCalendarFromJSON,
|
|
3497
5077
|
SigninCalendarFromJSONTyped,
|
|
3498
5078
|
SigninCalendarToJSON,
|
|
5079
|
+
TenantConfigFromJSON,
|
|
5080
|
+
TenantConfigFromJSONTyped,
|
|
5081
|
+
TenantConfigToJSON,
|
|
5082
|
+
TenantInfoFromJSON,
|
|
5083
|
+
TenantInfoFromJSONTyped,
|
|
5084
|
+
TenantInfoStatusEnum,
|
|
5085
|
+
TenantInfoToJSON,
|
|
3499
5086
|
TimeoutError,
|
|
3500
5087
|
Track202ResponseDataFromJSON,
|
|
3501
5088
|
Track202ResponseDataFromJSONTyped,
|
|
@@ -3553,24 +5140,31 @@ export {
|
|
|
3553
5140
|
createUserClient,
|
|
3554
5141
|
createUserConfiguration,
|
|
3555
5142
|
instanceOfActionContext,
|
|
5143
|
+
instanceOfActionDefinitionResponse,
|
|
3556
5144
|
instanceOfActionEffect,
|
|
3557
5145
|
instanceOfActionManifest,
|
|
5146
|
+
instanceOfBatchQueryData200Response,
|
|
5147
|
+
instanceOfBatchQueryData200ResponseDataValue,
|
|
5148
|
+
instanceOfBatchQueryData200ResponseDataValueError,
|
|
5149
|
+
instanceOfBatchQueryDataRequest,
|
|
5150
|
+
instanceOfBatchQueryDataRequestQueriesInner,
|
|
5151
|
+
instanceOfBatchQueryRequest,
|
|
5152
|
+
instanceOfBatchQueryResponse,
|
|
3558
5153
|
instanceOfClaimRecordInfo,
|
|
3559
5154
|
instanceOfComponentManifest,
|
|
3560
5155
|
instanceOfErrorResponse,
|
|
3561
5156
|
instanceOfExecuteAction200Response,
|
|
3562
5157
|
instanceOfExecuteAction200ResponseData,
|
|
3563
5158
|
instanceOfExecuteAction200ResponseDataEffectsInner,
|
|
5159
|
+
instanceOfExecuteAction200ResponseMeta,
|
|
5160
|
+
instanceOfExecuteAction409Response,
|
|
5161
|
+
instanceOfExecuteAction409ResponseData,
|
|
3564
5162
|
instanceOfExecuteActionRequest,
|
|
3565
5163
|
instanceOfExecuteActionRequestContext,
|
|
3566
5164
|
instanceOfExecuteActionRequestOptions,
|
|
3567
5165
|
instanceOfExecuteActionResponse,
|
|
3568
|
-
|
|
3569
|
-
|
|
3570
|
-
instanceOfExecuteQuery200ResponseMetaPagination,
|
|
3571
|
-
instanceOfExecuteQueryRequest,
|
|
3572
|
-
instanceOfExecuteQueryRequestOptions,
|
|
3573
|
-
instanceOfExecuteQueryResponse,
|
|
5166
|
+
instanceOfGetActionDefinition200Response,
|
|
5167
|
+
instanceOfGetActionDefinition200ResponseData,
|
|
3574
5168
|
instanceOfGetActivityInfo200Response,
|
|
3575
5169
|
instanceOfGetActivityInfo200ResponseData,
|
|
3576
5170
|
instanceOfGetActivityInfo200ResponseDataRewardsInner,
|
|
@@ -3586,15 +5180,38 @@ export {
|
|
|
3586
5180
|
instanceOfGetPage200ResponseDataMeta,
|
|
3587
5181
|
instanceOfGetPage404Response,
|
|
3588
5182
|
instanceOfGetPage404ResponseDetailsInner,
|
|
5183
|
+
instanceOfGetQueryDefinition200Response,
|
|
5184
|
+
instanceOfGetQueryDefinition200ResponseData,
|
|
3589
5185
|
instanceOfGetSigninCalendar200Response,
|
|
3590
5186
|
instanceOfGetSigninCalendar200ResponseData,
|
|
3591
5187
|
instanceOfGetSigninCalendar200ResponseDataRecordsInner,
|
|
3592
5188
|
instanceOfGetSigninCalendar200ResponseDataRecordsInnerReward,
|
|
5189
|
+
instanceOfGetTenantConfig200Response,
|
|
5190
|
+
instanceOfGetTenantConfig200ResponseData,
|
|
5191
|
+
instanceOfGetTenantConfig200ResponseDataBlockedComponentsInner,
|
|
5192
|
+
instanceOfGetTenantConfig200ResponseDataKillSwitch,
|
|
5193
|
+
instanceOfHealthCheck200Response,
|
|
5194
|
+
instanceOfHealthCheck200ResponseDependenciesValue,
|
|
5195
|
+
instanceOfHealthResponse,
|
|
5196
|
+
instanceOfIdempotencyConflictResponse,
|
|
5197
|
+
instanceOfLivenessCheck200Response,
|
|
3593
5198
|
instanceOfLotteryRecordInfo,
|
|
5199
|
+
instanceOfOpsConfig,
|
|
3594
5200
|
instanceOfPageResponse,
|
|
3595
5201
|
instanceOfPaginationMeta,
|
|
3596
5202
|
instanceOfPublicActivityInfo,
|
|
5203
|
+
instanceOfQueryContext,
|
|
5204
|
+
instanceOfQueryData200Response,
|
|
5205
|
+
instanceOfQueryData200ResponseMeta,
|
|
5206
|
+
instanceOfQueryData200ResponseMetaPagination,
|
|
5207
|
+
instanceOfQueryDataRequest,
|
|
5208
|
+
instanceOfQueryDataRequestContext,
|
|
5209
|
+
instanceOfQueryDataRequestOptions,
|
|
5210
|
+
instanceOfQueryDataResponse,
|
|
5211
|
+
instanceOfQueryDefinitionResponse,
|
|
3597
5212
|
instanceOfQueryManifest,
|
|
5213
|
+
instanceOfReadinessCheck200Response,
|
|
5214
|
+
instanceOfReadinessCheck503Response,
|
|
3598
5215
|
instanceOfResolveContext,
|
|
3599
5216
|
instanceOfResolvePage200Response,
|
|
3600
5217
|
instanceOfResolvePage200ResponseData,
|
|
@@ -3602,12 +5219,18 @@ export {
|
|
|
3602
5219
|
instanceOfResolvePage200ResponseDataManifestsActionsInner,
|
|
3603
5220
|
instanceOfResolvePage200ResponseDataManifestsComponentsInner,
|
|
3604
5221
|
instanceOfResolvePage200ResponseDataManifestsQueriesInner,
|
|
5222
|
+
instanceOfResolvePage200ResponseDataOpsConfig,
|
|
3605
5223
|
instanceOfResolvePageRequest,
|
|
3606
5224
|
instanceOfResolvePageRequestContext,
|
|
3607
5225
|
instanceOfResolvePageRequestOptions,
|
|
3608
5226
|
instanceOfResolvePageResponse,
|
|
5227
|
+
instanceOfResolveTenant200Response,
|
|
5228
|
+
instanceOfResolveTenant200ResponseData,
|
|
5229
|
+
instanceOfResolveTenantRequest,
|
|
3609
5230
|
instanceOfResourceManifests,
|
|
3610
5231
|
instanceOfSigninCalendar,
|
|
5232
|
+
instanceOfTenantConfig,
|
|
5233
|
+
instanceOfTenantInfo,
|
|
3611
5234
|
instanceOfTrack202Response,
|
|
3612
5235
|
instanceOfTrack202ResponseData,
|
|
3613
5236
|
instanceOfTrackBatch202Response,
|