@djvlc/openapi-user-client 1.7.9 → 1.7.10

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.mjs CHANGED
@@ -271,15 +271,12 @@ function ActionContextFromJSONTyped(json, ignoreDiscriminator) {
271
271
  return {
272
272
  "pageVersionId": json["pageVersionId"],
273
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"],
274
+ "componentInstanceId": !exists(json, "componentInstanceId") ? void 0 : json["componentInstanceId"],
275
+ "triggerEvent": !exists(json, "triggerEvent") ? void 0 : json["triggerEvent"],
277
276
  "deviceId": !exists(json, "deviceId") ? void 0 : json["deviceId"],
278
277
  "channel": !exists(json, "channel") ? void 0 : json["channel"],
279
- "sessionId": !exists(json, "sessionId") ? void 0 : json["sessionId"],
280
- "eventName": !exists(json, "eventName") ? void 0 : json["eventName"],
281
- "timestamp": !exists(json, "timestamp") ? void 0 : new Date(json["timestamp"]),
282
- "state": !exists(json, "state") ? void 0 : json["state"]
278
+ "clientTimestamp": !exists(json, "clientTimestamp") ? void 0 : new Date(json["clientTimestamp"]),
279
+ "extra": !exists(json, "extra") ? void 0 : json["extra"]
283
280
  };
284
281
  }
285
282
  function ActionContextToJSON(value) {
@@ -292,27 +289,24 @@ function ActionContextToJSON(value) {
292
289
  return {
293
290
  "pageVersionId": value.pageVersionId,
294
291
  "componentVersionId": value.componentVersionId,
295
- "actionId": value.actionId,
296
- "traceId": value.traceId,
297
- "uid": value.uid,
292
+ "componentInstanceId": value.componentInstanceId,
293
+ "triggerEvent": value.triggerEvent,
298
294
  "deviceId": value.deviceId,
299
295
  "channel": value.channel,
300
- "sessionId": value.sessionId,
301
- "eventName": value.eventName,
302
- "timestamp": value.timestamp === void 0 ? void 0 : value.timestamp.toISOString(),
303
- "state": value.state
296
+ "clientTimestamp": value.clientTimestamp === void 0 ? void 0 : value.clientTimestamp.toISOString(),
297
+ "extra": value.extra
304
298
  };
305
299
  }
306
300
 
307
- // src/generated/models/GetActionDefinition200ResponseData.ts
308
- function instanceOfGetActionDefinition200ResponseData(value) {
301
+ // src/generated/models/ActionDefinitionResponseData.ts
302
+ function instanceOfActionDefinitionResponseData(value) {
309
303
  let isInstance = true;
310
304
  return isInstance;
311
305
  }
312
- function GetActionDefinition200ResponseDataFromJSON(json) {
313
- return GetActionDefinition200ResponseDataFromJSONTyped(json, false);
306
+ function ActionDefinitionResponseDataFromJSON(json) {
307
+ return ActionDefinitionResponseDataFromJSONTyped(json, false);
314
308
  }
315
- function GetActionDefinition200ResponseDataFromJSONTyped(json, ignoreDiscriminator) {
309
+ function ActionDefinitionResponseDataFromJSONTyped(json, ignoreDiscriminator) {
316
310
  if (json === void 0 || json === null) {
317
311
  return json;
318
312
  }
@@ -324,7 +318,7 @@ function GetActionDefinition200ResponseDataFromJSONTyped(json, ignoreDiscriminat
324
318
  "resultSchema": !exists(json, "resultSchema") ? void 0 : json["resultSchema"]
325
319
  };
326
320
  }
327
- function GetActionDefinition200ResponseDataToJSON(value) {
321
+ function ActionDefinitionResponseDataToJSON(value) {
328
322
  if (value === void 0) {
329
323
  return void 0;
330
324
  }
@@ -354,7 +348,7 @@ function ActionDefinitionResponseFromJSONTyped(json, ignoreDiscriminator) {
354
348
  return json;
355
349
  }
356
350
  return {
357
- "data": GetActionDefinition200ResponseDataFromJSON(json["data"])
351
+ "data": ActionDefinitionResponseDataFromJSON(json["data"])
358
352
  };
359
353
  }
360
354
  function ActionDefinitionResponseToJSON(value) {
@@ -365,7 +359,7 @@ function ActionDefinitionResponseToJSON(value) {
365
359
  return null;
366
360
  }
367
361
  return {
368
- "data": GetActionDefinition200ResponseDataToJSON(value.data)
362
+ "data": ActionDefinitionResponseDataToJSON(value.data)
369
363
  };
370
364
  }
371
365
 
@@ -461,88 +455,26 @@ function ActionManifestToJSON(value) {
461
455
  };
462
456
  }
463
457
 
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) {
458
+ // src/generated/models/BatchQueryRequestQueriesInner.ts
459
+ function instanceOfBatchQueryRequestQueriesInner(value) {
528
460
  let isInstance = true;
529
- isInstance = isInstance && "success" in value;
530
- isInstance = isInstance && "data" in value;
461
+ isInstance = isInstance && "queryVersionId" in value;
531
462
  return isInstance;
532
463
  }
533
- function BatchQueryData200ResponseFromJSON(json) {
534
- return BatchQueryData200ResponseFromJSONTyped(json, false);
464
+ function BatchQueryRequestQueriesInnerFromJSON(json) {
465
+ return BatchQueryRequestQueriesInnerFromJSONTyped(json, false);
535
466
  }
536
- function BatchQueryData200ResponseFromJSONTyped(json, ignoreDiscriminator) {
467
+ function BatchQueryRequestQueriesInnerFromJSONTyped(json, ignoreDiscriminator) {
537
468
  if (json === void 0 || json === null) {
538
469
  return json;
539
470
  }
540
471
  return {
541
- "success": json["success"],
542
- "data": mapValues(json["data"], BatchQueryData200ResponseDataValueFromJSON)
472
+ "queryVersionId": json["queryVersionId"],
473
+ "params": !exists(json, "params") ? void 0 : json["params"],
474
+ "alias": !exists(json, "alias") ? void 0 : json["alias"]
543
475
  };
544
476
  }
545
- function BatchQueryData200ResponseToJSON(value) {
477
+ function BatchQueryRequestQueriesInnerToJSON(value) {
546
478
  if (value === void 0) {
547
479
  return void 0;
548
480
  }
@@ -550,31 +482,30 @@ function BatchQueryData200ResponseToJSON(value) {
550
482
  return null;
551
483
  }
552
484
  return {
553
- "success": value.success,
554
- "data": mapValues(value.data, BatchQueryData200ResponseDataValueToJSON)
485
+ "queryVersionId": value.queryVersionId,
486
+ "params": value.params,
487
+ "alias": value.alias
555
488
  };
556
489
  }
557
490
 
558
- // src/generated/models/BatchQueryDataRequestQueriesInner.ts
559
- function instanceOfBatchQueryDataRequestQueriesInner(value) {
491
+ // src/generated/models/QueryContext.ts
492
+ function instanceOfQueryContext(value) {
560
493
  let isInstance = true;
561
- isInstance = isInstance && "queryVersionId" in value;
562
494
  return isInstance;
563
495
  }
564
- function BatchQueryDataRequestQueriesInnerFromJSON(json) {
565
- return BatchQueryDataRequestQueriesInnerFromJSONTyped(json, false);
496
+ function QueryContextFromJSON(json) {
497
+ return QueryContextFromJSONTyped(json, false);
566
498
  }
567
- function BatchQueryDataRequestQueriesInnerFromJSONTyped(json, ignoreDiscriminator) {
499
+ function QueryContextFromJSONTyped(json, ignoreDiscriminator) {
568
500
  if (json === void 0 || json === null) {
569
501
  return json;
570
502
  }
571
503
  return {
572
- "queryVersionId": json["queryVersionId"],
573
- "params": !exists(json, "params") ? void 0 : json["params"],
574
- "alias": !exists(json, "alias") ? void 0 : json["alias"]
504
+ "pageVersionId": !exists(json, "pageVersionId") ? void 0 : json["pageVersionId"],
505
+ "componentVersionId": !exists(json, "componentVersionId") ? void 0 : json["componentVersionId"]
575
506
  };
576
507
  }
577
- function BatchQueryDataRequestQueriesInnerToJSON(value) {
508
+ function QueryContextToJSON(value) {
578
509
  if (value === void 0) {
579
510
  return void 0;
580
511
  }
@@ -582,32 +513,30 @@ function BatchQueryDataRequestQueriesInnerToJSON(value) {
582
513
  return null;
583
514
  }
584
515
  return {
585
- "queryVersionId": value.queryVersionId,
586
- "params": value.params,
587
- "alias": value.alias
516
+ "pageVersionId": value.pageVersionId,
517
+ "componentVersionId": value.componentVersionId
588
518
  };
589
519
  }
590
520
 
591
- // src/generated/models/QueryDataRequestContext.ts
592
- function instanceOfQueryDataRequestContext(value) {
521
+ // src/generated/models/BatchQueryRequest.ts
522
+ function instanceOfBatchQueryRequest(value) {
593
523
  let isInstance = true;
524
+ isInstance = isInstance && "queries" in value;
594
525
  return isInstance;
595
526
  }
596
- function QueryDataRequestContextFromJSON(json) {
597
- return QueryDataRequestContextFromJSONTyped(json, false);
527
+ function BatchQueryRequestFromJSON(json) {
528
+ return BatchQueryRequestFromJSONTyped(json, false);
598
529
  }
599
- function QueryDataRequestContextFromJSONTyped(json, ignoreDiscriminator) {
530
+ function BatchQueryRequestFromJSONTyped(json, ignoreDiscriminator) {
600
531
  if (json === void 0 || json === null) {
601
532
  return json;
602
533
  }
603
534
  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"]
535
+ "queries": json["queries"].map(BatchQueryRequestQueriesInnerFromJSON),
536
+ "context": !exists(json, "context") ? void 0 : QueryContextFromJSON(json["context"])
608
537
  };
609
538
  }
610
- function QueryDataRequestContextToJSON(value) {
539
+ function BatchQueryRequestToJSON(value) {
611
540
  if (value === void 0) {
612
541
  return void 0;
613
542
  }
@@ -615,32 +544,29 @@ function QueryDataRequestContextToJSON(value) {
615
544
  return null;
616
545
  }
617
546
  return {
618
- "pageVersionId": value.pageVersionId,
619
- "uid": value.uid,
620
- "sessionId": value.sessionId,
621
- "traceId": value.traceId
547
+ "queries": value.queries.map(BatchQueryRequestQueriesInnerToJSON),
548
+ "context": QueryContextToJSON(value.context)
622
549
  };
623
550
  }
624
551
 
625
- // src/generated/models/BatchQueryDataRequest.ts
626
- function instanceOfBatchQueryDataRequest(value) {
552
+ // src/generated/models/BatchQueryResponseDataValueError.ts
553
+ function instanceOfBatchQueryResponseDataValueError(value) {
627
554
  let isInstance = true;
628
- isInstance = isInstance && "queries" in value;
629
555
  return isInstance;
630
556
  }
631
- function BatchQueryDataRequestFromJSON(json) {
632
- return BatchQueryDataRequestFromJSONTyped(json, false);
557
+ function BatchQueryResponseDataValueErrorFromJSON(json) {
558
+ return BatchQueryResponseDataValueErrorFromJSONTyped(json, false);
633
559
  }
634
- function BatchQueryDataRequestFromJSONTyped(json, ignoreDiscriminator) {
560
+ function BatchQueryResponseDataValueErrorFromJSONTyped(json, ignoreDiscriminator) {
635
561
  if (json === void 0 || json === null) {
636
562
  return json;
637
563
  }
638
564
  return {
639
- "queries": json["queries"].map(BatchQueryDataRequestQueriesInnerFromJSON),
640
- "context": !exists(json, "context") ? void 0 : QueryDataRequestContextFromJSON(json["context"])
565
+ "code": !exists(json, "code") ? void 0 : json["code"],
566
+ "message": !exists(json, "message") ? void 0 : json["message"]
641
567
  };
642
568
  }
643
- function BatchQueryDataRequestToJSON(value) {
569
+ function BatchQueryResponseDataValueErrorToJSON(value) {
644
570
  if (value === void 0) {
645
571
  return void 0;
646
572
  }
@@ -648,30 +574,30 @@ function BatchQueryDataRequestToJSON(value) {
648
574
  return null;
649
575
  }
650
576
  return {
651
- "queries": value.queries.map(BatchQueryDataRequestQueriesInnerToJSON),
652
- "context": QueryDataRequestContextToJSON(value.context)
577
+ "code": value.code,
578
+ "message": value.message
653
579
  };
654
580
  }
655
581
 
656
- // src/generated/models/BatchQueryRequest.ts
657
- function instanceOfBatchQueryRequest(value) {
582
+ // src/generated/models/BatchQueryResponseDataValue.ts
583
+ function instanceOfBatchQueryResponseDataValue(value) {
658
584
  let isInstance = true;
659
- isInstance = isInstance && "queries" in value;
660
585
  return isInstance;
661
586
  }
662
- function BatchQueryRequestFromJSON(json) {
663
- return BatchQueryRequestFromJSONTyped(json, false);
587
+ function BatchQueryResponseDataValueFromJSON(json) {
588
+ return BatchQueryResponseDataValueFromJSONTyped(json, false);
664
589
  }
665
- function BatchQueryRequestFromJSONTyped(json, ignoreDiscriminator) {
590
+ function BatchQueryResponseDataValueFromJSONTyped(json, ignoreDiscriminator) {
666
591
  if (json === void 0 || json === null) {
667
592
  return json;
668
593
  }
669
594
  return {
670
- "queries": json["queries"].map(BatchQueryDataRequestQueriesInnerFromJSON),
671
- "context": !exists(json, "context") ? void 0 : QueryDataRequestContextFromJSON(json["context"])
595
+ "success": !exists(json, "success") ? void 0 : json["success"],
596
+ "data": !exists(json, "data") ? void 0 : json["data"],
597
+ "error": !exists(json, "error") ? void 0 : BatchQueryResponseDataValueErrorFromJSON(json["error"])
672
598
  };
673
599
  }
674
- function BatchQueryRequestToJSON(value) {
600
+ function BatchQueryResponseDataValueToJSON(value) {
675
601
  if (value === void 0) {
676
602
  return void 0;
677
603
  }
@@ -679,8 +605,9 @@ function BatchQueryRequestToJSON(value) {
679
605
  return null;
680
606
  }
681
607
  return {
682
- "queries": value.queries.map(BatchQueryDataRequestQueriesInnerToJSON),
683
- "context": QueryDataRequestContextToJSON(value.context)
608
+ "success": value.success,
609
+ "data": value.data,
610
+ "error": BatchQueryResponseDataValueErrorToJSON(value.error)
684
611
  };
685
612
  }
686
613
 
@@ -700,7 +627,7 @@ function BatchQueryResponseFromJSONTyped(json, ignoreDiscriminator) {
700
627
  }
701
628
  return {
702
629
  "success": json["success"],
703
- "data": mapValues(json["data"], BatchQueryData200ResponseDataValueFromJSON)
630
+ "data": mapValues(json["data"], BatchQueryResponseDataValueFromJSON)
704
631
  };
705
632
  }
706
633
  function BatchQueryResponseToJSON(value) {
@@ -712,7 +639,7 @@ function BatchQueryResponseToJSON(value) {
712
639
  }
713
640
  return {
714
641
  "success": value.success,
715
- "data": mapValues(value.data, BatchQueryData200ResponseDataValueToJSON)
642
+ "data": mapValues(value.data, BatchQueryResponseDataValueToJSON)
716
643
  };
717
644
  }
718
645
 
@@ -812,24 +739,26 @@ function ComponentManifestToJSON(value) {
812
739
  };
813
740
  }
814
741
 
815
- // src/generated/models/GetPage404ResponseDetailsInner.ts
816
- function instanceOfGetPage404ResponseDetailsInner(value) {
742
+ // src/generated/models/ErrorDetail.ts
743
+ function instanceOfErrorDetail(value) {
817
744
  let isInstance = true;
745
+ isInstance = isInstance && "message" in value;
818
746
  return isInstance;
819
747
  }
820
- function GetPage404ResponseDetailsInnerFromJSON(json) {
821
- return GetPage404ResponseDetailsInnerFromJSONTyped(json, false);
748
+ function ErrorDetailFromJSON(json) {
749
+ return ErrorDetailFromJSONTyped(json, false);
822
750
  }
823
- function GetPage404ResponseDetailsInnerFromJSONTyped(json, ignoreDiscriminator) {
751
+ function ErrorDetailFromJSONTyped(json, ignoreDiscriminator) {
824
752
  if (json === void 0 || json === null) {
825
753
  return json;
826
754
  }
827
755
  return {
828
756
  "field": !exists(json, "field") ? void 0 : json["field"],
829
- "message": !exists(json, "message") ? void 0 : json["message"]
757
+ "message": json["message"],
758
+ "code": !exists(json, "code") ? void 0 : json["code"]
830
759
  };
831
760
  }
832
- function GetPage404ResponseDetailsInnerToJSON(value) {
761
+ function ErrorDetailToJSON(value) {
833
762
  if (value === void 0) {
834
763
  return void 0;
835
764
  }
@@ -838,15 +767,19 @@ function GetPage404ResponseDetailsInnerToJSON(value) {
838
767
  }
839
768
  return {
840
769
  "field": value.field,
841
- "message": value.message
770
+ "message": value.message,
771
+ "code": value.code
842
772
  };
843
773
  }
844
774
 
845
775
  // src/generated/models/ErrorResponse.ts
846
776
  function instanceOfErrorResponse(value) {
847
777
  let isInstance = true;
778
+ isInstance = isInstance && "success" in value;
848
779
  isInstance = isInstance && "code" in value;
849
780
  isInstance = isInstance && "message" in value;
781
+ isInstance = isInstance && "timestamp" in value;
782
+ isInstance = isInstance && "path" in value;
850
783
  return isInstance;
851
784
  }
852
785
  function ErrorResponseFromJSON(json) {
@@ -857,9 +790,13 @@ function ErrorResponseFromJSONTyped(json, ignoreDiscriminator) {
857
790
  return json;
858
791
  }
859
792
  return {
793
+ "success": json["success"],
860
794
  "code": json["code"],
861
795
  "message": json["message"],
862
- "details": !exists(json, "details") ? void 0 : json["details"].map(GetPage404ResponseDetailsInnerFromJSON),
796
+ "data": !exists(json, "data") ? void 0 : json["data"],
797
+ "timestamp": json["timestamp"],
798
+ "path": json["path"],
799
+ "requestId": !exists(json, "requestId") ? void 0 : json["requestId"],
863
800
  "traceId": !exists(json, "traceId") ? void 0 : json["traceId"]
864
801
  };
865
802
  }
@@ -871,41 +808,57 @@ function ErrorResponseToJSON(value) {
871
808
  return null;
872
809
  }
873
810
  return {
811
+ "success": value.success,
874
812
  "code": value.code,
875
813
  "message": value.message,
876
- "details": value.details === void 0 ? void 0 : value.details.map(GetPage404ResponseDetailsInnerToJSON),
814
+ "data": value.data,
815
+ "timestamp": value.timestamp,
816
+ "path": value.path,
817
+ "requestId": value.requestId,
877
818
  "traceId": value.traceId
878
819
  };
879
820
  }
880
821
 
881
- // src/generated/models/ExecuteAction200ResponseDataEffectsInner.ts
882
- var ExecuteAction200ResponseDataEffectsInnerTypeEnum = {
883
- SET_STATE: "setState",
822
+ // src/generated/models/ExecuteActionRequest.ts
823
+ var ExecuteActionRequestActionTypeEnum = {
824
+ CLAIM: "claim",
825
+ SIGNIN: "signin",
826
+ LOTTERY: "lottery",
827
+ RESERVE: "reserve",
828
+ BIND: "bind",
829
+ TASK_COMPLETE: "task_complete",
830
+ VOTE: "vote",
831
+ SHARE: "share",
832
+ FORM_SUBMIT: "form_submit",
884
833
  NAVIGATE: "navigate",
834
+ SET_STATE: "setState",
885
835
  SHOW_TOAST: "showToast",
886
836
  REFRESH_DATA: "refreshData",
887
- OPEN_DIALOG: "openDialog",
888
- CLOSE_DIALOG: "closeDialog",
889
837
  CUSTOM: "custom"
890
838
  };
891
- function instanceOfExecuteAction200ResponseDataEffectsInner(value) {
839
+ function instanceOfExecuteActionRequest(value) {
892
840
  let isInstance = true;
893
- isInstance = isInstance && "type" in value;
841
+ isInstance = isInstance && "actionType" in value;
842
+ isInstance = isInstance && "params" in value;
843
+ isInstance = isInstance && "context" in value;
894
844
  return isInstance;
895
845
  }
896
- function ExecuteAction200ResponseDataEffectsInnerFromJSON(json) {
897
- return ExecuteAction200ResponseDataEffectsInnerFromJSONTyped(json, false);
846
+ function ExecuteActionRequestFromJSON(json) {
847
+ return ExecuteActionRequestFromJSONTyped(json, false);
898
848
  }
899
- function ExecuteAction200ResponseDataEffectsInnerFromJSONTyped(json, ignoreDiscriminator) {
849
+ function ExecuteActionRequestFromJSONTyped(json, ignoreDiscriminator) {
900
850
  if (json === void 0 || json === null) {
901
851
  return json;
902
852
  }
903
853
  return {
904
- "type": json["type"],
905
- "payload": !exists(json, "payload") ? void 0 : json["payload"]
854
+ "actionType": json["actionType"],
855
+ "actionDefinitionVersionId": !exists(json, "actionDefinitionVersionId") ? void 0 : json["actionDefinitionVersionId"],
856
+ "params": json["params"],
857
+ "context": ActionContextFromJSON(json["context"]),
858
+ "idempotencyKey": !exists(json, "idempotencyKey") ? void 0 : json["idempotencyKey"]
906
859
  };
907
860
  }
908
- function ExecuteAction200ResponseDataEffectsInnerToJSON(value) {
861
+ function ExecuteActionRequestToJSON(value) {
909
862
  if (value === void 0) {
910
863
  return void 0;
911
864
  }
@@ -913,30 +866,41 @@ function ExecuteAction200ResponseDataEffectsInnerToJSON(value) {
913
866
  return null;
914
867
  }
915
868
  return {
916
- "type": value.type,
917
- "payload": value.payload
869
+ "actionType": value.actionType,
870
+ "actionDefinitionVersionId": value.actionDefinitionVersionId,
871
+ "params": value.params,
872
+ "context": ActionContextToJSON(value.context),
873
+ "idempotencyKey": value.idempotencyKey
918
874
  };
919
875
  }
920
876
 
921
- // src/generated/models/ExecuteAction200ResponseData.ts
922
- function instanceOfExecuteAction200ResponseData(value) {
877
+ // src/generated/models/ExecuteActionResponseAllOfData.ts
878
+ function instanceOfExecuteActionResponseAllOfData(value) {
923
879
  let isInstance = true;
924
880
  return isInstance;
925
881
  }
926
- function ExecuteAction200ResponseDataFromJSON(json) {
927
- return ExecuteAction200ResponseDataFromJSONTyped(json, false);
882
+ function ExecuteActionResponseAllOfDataFromJSON(json) {
883
+ return ExecuteActionResponseAllOfDataFromJSONTyped(json, false);
928
884
  }
929
- function ExecuteAction200ResponseDataFromJSONTyped(json, ignoreDiscriminator) {
885
+ function ExecuteActionResponseAllOfDataFromJSONTyped(json, ignoreDiscriminator) {
930
886
  if (json === void 0 || json === null) {
931
887
  return json;
932
888
  }
933
889
  return {
934
890
  "actionId": !exists(json, "actionId") ? void 0 : json["actionId"],
935
891
  "result": !exists(json, "result") ? void 0 : json["result"],
936
- "effects": !exists(json, "effects") ? void 0 : json["effects"].map(ExecuteAction200ResponseDataEffectsInnerFromJSON)
892
+ "effects": !exists(json, "effects") ? void 0 : json["effects"].map(ActionEffectFromJSON),
893
+ "errorCode": !exists(json, "errorCode") ? void 0 : json["errorCode"],
894
+ "errorMessage": !exists(json, "errorMessage") ? void 0 : json["errorMessage"],
895
+ "errorDetails": !exists(json, "errorDetails") ? void 0 : json["errorDetails"],
896
+ "requestId": !exists(json, "requestId") ? void 0 : json["requestId"],
897
+ "traceId": !exists(json, "traceId") ? void 0 : json["traceId"],
898
+ "duration": !exists(json, "duration") ? void 0 : json["duration"],
899
+ "retryable": !exists(json, "retryable") ? void 0 : json["retryable"],
900
+ "retryAfter": !exists(json, "retryAfter") ? void 0 : json["retryAfter"]
937
901
  };
938
902
  }
939
- function ExecuteAction200ResponseDataToJSON(value) {
903
+ function ExecuteActionResponseAllOfDataToJSON(value) {
940
904
  if (value === void 0) {
941
905
  return void 0;
942
906
  }
@@ -946,29 +910,47 @@ function ExecuteAction200ResponseDataToJSON(value) {
946
910
  return {
947
911
  "actionId": value.actionId,
948
912
  "result": value.result,
949
- "effects": value.effects === void 0 ? void 0 : value.effects.map(ExecuteAction200ResponseDataEffectsInnerToJSON)
913
+ "effects": value.effects === void 0 ? void 0 : value.effects.map(ActionEffectToJSON),
914
+ "errorCode": value.errorCode,
915
+ "errorMessage": value.errorMessage,
916
+ "errorDetails": value.errorDetails,
917
+ "requestId": value.requestId,
918
+ "traceId": value.traceId,
919
+ "duration": value.duration,
920
+ "retryable": value.retryable,
921
+ "retryAfter": value.retryAfter
950
922
  };
951
923
  }
952
924
 
953
- // src/generated/models/ExecuteAction200ResponseMeta.ts
954
- function instanceOfExecuteAction200ResponseMeta(value) {
925
+ // src/generated/models/ExecuteActionResponse.ts
926
+ function instanceOfExecuteActionResponse(value) {
955
927
  let isInstance = true;
928
+ isInstance = isInstance && "success" in value;
929
+ isInstance = isInstance && "code" in value;
930
+ isInstance = isInstance && "message" in value;
931
+ isInstance = isInstance && "data" in value;
932
+ isInstance = isInstance && "timestamp" in value;
933
+ isInstance = isInstance && "path" in value;
956
934
  return isInstance;
957
935
  }
958
- function ExecuteAction200ResponseMetaFromJSON(json) {
959
- return ExecuteAction200ResponseMetaFromJSONTyped(json, false);
936
+ function ExecuteActionResponseFromJSON(json) {
937
+ return ExecuteActionResponseFromJSONTyped(json, false);
960
938
  }
961
- function ExecuteAction200ResponseMetaFromJSONTyped(json, ignoreDiscriminator) {
939
+ function ExecuteActionResponseFromJSONTyped(json, ignoreDiscriminator) {
962
940
  if (json === void 0 || json === null) {
963
941
  return json;
964
942
  }
965
943
  return {
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"]
944
+ "success": json["success"],
945
+ "code": json["code"],
946
+ "message": json["message"],
947
+ "data": ExecuteActionResponseAllOfDataFromJSON(json["data"]),
948
+ "timestamp": json["timestamp"],
949
+ "path": json["path"],
950
+ "requestId": !exists(json, "requestId") ? void 0 : json["requestId"]
969
951
  };
970
952
  }
971
- function ExecuteAction200ResponseMetaToJSON(value) {
953
+ function ExecuteActionResponseToJSON(value) {
972
954
  if (value === void 0) {
973
955
  return void 0;
974
956
  }
@@ -976,33 +958,35 @@ function ExecuteAction200ResponseMetaToJSON(value) {
976
958
  return null;
977
959
  }
978
960
  return {
979
- "executionTime": value.executionTime,
980
- "traceId": value.traceId,
981
- "idempotent": value.idempotent
961
+ "success": value.success,
962
+ "code": value.code,
963
+ "message": value.message,
964
+ "data": ExecuteActionResponseAllOfDataToJSON(value.data),
965
+ "timestamp": value.timestamp,
966
+ "path": value.path,
967
+ "requestId": value.requestId
982
968
  };
983
969
  }
984
970
 
985
- // src/generated/models/ExecuteAction200Response.ts
986
- function instanceOfExecuteAction200Response(value) {
971
+ // src/generated/models/PublicActivityInfoRewardsInner.ts
972
+ function instanceOfPublicActivityInfoRewardsInner(value) {
987
973
  let isInstance = true;
988
- isInstance = isInstance && "success" in value;
989
- isInstance = isInstance && "data" in value;
990
974
  return isInstance;
991
975
  }
992
- function ExecuteAction200ResponseFromJSON(json) {
993
- return ExecuteAction200ResponseFromJSONTyped(json, false);
976
+ function PublicActivityInfoRewardsInnerFromJSON(json) {
977
+ return PublicActivityInfoRewardsInnerFromJSONTyped(json, false);
994
978
  }
995
- function ExecuteAction200ResponseFromJSONTyped(json, ignoreDiscriminator) {
979
+ function PublicActivityInfoRewardsInnerFromJSONTyped(json, ignoreDiscriminator) {
996
980
  if (json === void 0 || json === null) {
997
981
  return json;
998
982
  }
999
983
  return {
1000
- "success": json["success"],
1001
- "data": ExecuteAction200ResponseDataFromJSON(json["data"]),
1002
- "meta": !exists(json, "meta") ? void 0 : ExecuteAction200ResponseMetaFromJSON(json["meta"])
984
+ "name": !exists(json, "name") ? void 0 : json["name"],
985
+ "description": !exists(json, "description") ? void 0 : json["description"],
986
+ "icon": !exists(json, "icon") ? void 0 : json["icon"]
1003
987
  };
1004
988
  }
1005
- function ExecuteAction200ResponseToJSON(value) {
989
+ function PublicActivityInfoRewardsInnerToJSON(value) {
1006
990
  if (value === void 0) {
1007
991
  return void 0;
1008
992
  }
@@ -1010,32 +994,56 @@ function ExecuteAction200ResponseToJSON(value) {
1010
994
  return null;
1011
995
  }
1012
996
  return {
1013
- "success": value.success,
1014
- "data": ExecuteAction200ResponseDataToJSON(value.data),
1015
- "meta": ExecuteAction200ResponseMetaToJSON(value.meta)
997
+ "name": value.name,
998
+ "description": value.description,
999
+ "icon": value.icon
1016
1000
  };
1017
1001
  }
1018
1002
 
1019
- // src/generated/models/ExecuteAction409ResponseData.ts
1020
- function instanceOfExecuteAction409ResponseData(value) {
1003
+ // src/generated/models/PublicActivityInfo.ts
1004
+ var PublicActivityInfoTypeEnum = {
1005
+ CLAIM: "claim",
1006
+ SIGNIN: "signin",
1007
+ LOTTERY: "lottery",
1008
+ RESERVE: "reserve",
1009
+ TASK: "task",
1010
+ VOTE: "vote",
1011
+ SHARE: "share",
1012
+ BIND: "bind",
1013
+ CUSTOM: "custom"
1014
+ };
1015
+ var PublicActivityInfoStatusEnum = {
1016
+ ACTIVE: "active",
1017
+ ENDED: "ended"
1018
+ };
1019
+ function instanceOfPublicActivityInfo(value) {
1021
1020
  let isInstance = true;
1021
+ isInstance = isInstance && "id" in value;
1022
+ isInstance = isInstance && "name" in value;
1023
+ isInstance = isInstance && "type" in value;
1024
+ isInstance = isInstance && "status" in value;
1022
1025
  return isInstance;
1023
1026
  }
1024
- function ExecuteAction409ResponseDataFromJSON(json) {
1025
- return ExecuteAction409ResponseDataFromJSONTyped(json, false);
1027
+ function PublicActivityInfoFromJSON(json) {
1028
+ return PublicActivityInfoFromJSONTyped(json, false);
1026
1029
  }
1027
- function ExecuteAction409ResponseDataFromJSONTyped(json, ignoreDiscriminator) {
1030
+ function PublicActivityInfoFromJSONTyped(json, ignoreDiscriminator) {
1028
1031
  if (json === void 0 || json === null) {
1029
1032
  return json;
1030
1033
  }
1031
1034
  return {
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"])
1035
+ "id": json["id"],
1036
+ "name": json["name"],
1037
+ "type": json["type"],
1038
+ "status": json["status"],
1039
+ "description": !exists(json, "description") ? void 0 : json["description"],
1040
+ "startTime": !exists(json, "startTime") ? void 0 : new Date(json["startTime"]),
1041
+ "endTime": !exists(json, "endTime") ? void 0 : new Date(json["endTime"]),
1042
+ "rules": !exists(json, "rules") ? void 0 : json["rules"],
1043
+ "rewards": !exists(json, "rewards") ? void 0 : json["rewards"].map(PublicActivityInfoRewardsInnerFromJSON)
1036
1044
  };
1037
1045
  }
1038
- function ExecuteAction409ResponseDataToJSON(value) {
1046
+ function PublicActivityInfoToJSON(value) {
1039
1047
  if (value === void 0) {
1040
1048
  return void 0;
1041
1049
  }
@@ -1043,33 +1051,36 @@ function ExecuteAction409ResponseDataToJSON(value) {
1043
1051
  return null;
1044
1052
  }
1045
1053
  return {
1046
- "idempotent": value.idempotent,
1047
- "originalActionId": value.originalActionId,
1048
- "originalResult": value.originalResult,
1049
- "originalExecutedAt": value.originalExecutedAt === void 0 ? void 0 : value.originalExecutedAt.toISOString()
1054
+ "id": value.id,
1055
+ "name": value.name,
1056
+ "type": value.type,
1057
+ "status": value.status,
1058
+ "description": value.description,
1059
+ "startTime": value.startTime === void 0 ? void 0 : value.startTime.toISOString(),
1060
+ "endTime": value.endTime === void 0 ? void 0 : value.endTime.toISOString(),
1061
+ "rules": value.rules,
1062
+ "rewards": value.rewards === void 0 ? void 0 : value.rewards.map(PublicActivityInfoRewardsInnerToJSON)
1050
1063
  };
1051
1064
  }
1052
1065
 
1053
- // src/generated/models/ExecuteAction409Response.ts
1054
- function instanceOfExecuteAction409Response(value) {
1066
+ // src/generated/models/GetActivityInfo200Response.ts
1067
+ function instanceOfGetActivityInfo200Response(value) {
1055
1068
  let isInstance = true;
1056
- isInstance = isInstance && "success" in value;
1057
- isInstance = isInstance && "data" in value;
1058
1069
  return isInstance;
1059
1070
  }
1060
- function ExecuteAction409ResponseFromJSON(json) {
1061
- return ExecuteAction409ResponseFromJSONTyped(json, false);
1071
+ function GetActivityInfo200ResponseFromJSON(json) {
1072
+ return GetActivityInfo200ResponseFromJSONTyped(json, false);
1062
1073
  }
1063
- function ExecuteAction409ResponseFromJSONTyped(json, ignoreDiscriminator) {
1074
+ function GetActivityInfo200ResponseFromJSONTyped(json, ignoreDiscriminator) {
1064
1075
  if (json === void 0 || json === null) {
1065
1076
  return json;
1066
1077
  }
1067
1078
  return {
1068
- "success": json["success"],
1069
- "data": ExecuteAction409ResponseDataFromJSON(json["data"])
1079
+ "success": !exists(json, "success") ? void 0 : json["success"],
1080
+ "data": !exists(json, "data") ? void 0 : PublicActivityInfoFromJSON(json["data"])
1070
1081
  };
1071
1082
  }
1072
- function ExecuteAction409ResponseToJSON(value) {
1083
+ function GetActivityInfo200ResponseToJSON(value) {
1073
1084
  if (value === void 0) {
1074
1085
  return void 0;
1075
1086
  }
@@ -1078,38 +1089,29 @@ function ExecuteAction409ResponseToJSON(value) {
1078
1089
  }
1079
1090
  return {
1080
1091
  "success": value.success,
1081
- "data": ExecuteAction409ResponseDataToJSON(value.data)
1092
+ "data": PublicActivityInfoToJSON(value.data)
1082
1093
  };
1083
1094
  }
1084
1095
 
1085
- // src/generated/models/ExecuteActionRequestContext.ts
1086
- function instanceOfExecuteActionRequestContext(value) {
1096
+ // src/generated/models/UserActivityStateTypeStateOneOfAvailablePrizesInner.ts
1097
+ function instanceOfUserActivityStateTypeStateOneOfAvailablePrizesInner(value) {
1087
1098
  let isInstance = true;
1088
- isInstance = isInstance && "pageVersionId" in value;
1089
1099
  return isInstance;
1090
1100
  }
1091
- function ExecuteActionRequestContextFromJSON(json) {
1092
- return ExecuteActionRequestContextFromJSONTyped(json, false);
1101
+ function UserActivityStateTypeStateOneOfAvailablePrizesInnerFromJSON(json) {
1102
+ return UserActivityStateTypeStateOneOfAvailablePrizesInnerFromJSONTyped(json, false);
1093
1103
  }
1094
- function ExecuteActionRequestContextFromJSONTyped(json, ignoreDiscriminator) {
1104
+ function UserActivityStateTypeStateOneOfAvailablePrizesInnerFromJSONTyped(json, ignoreDiscriminator) {
1095
1105
  if (json === void 0 || json === null) {
1096
1106
  return json;
1097
1107
  }
1098
1108
  return {
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"]
1109
+ "prizeId": !exists(json, "prizeId") ? void 0 : json["prizeId"],
1110
+ "name": !exists(json, "name") ? void 0 : json["name"],
1111
+ "stock": !exists(json, "stock") ? void 0 : json["stock"]
1110
1112
  };
1111
1113
  }
1112
- function ExecuteActionRequestContextToJSON(value) {
1114
+ function UserActivityStateTypeStateOneOfAvailablePrizesInnerToJSON(value) {
1113
1115
  if (value === void 0) {
1114
1116
  return void 0;
1115
1117
  }
@@ -1117,38 +1119,38 @@ function ExecuteActionRequestContextToJSON(value) {
1117
1119
  return null;
1118
1120
  }
1119
1121
  return {
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
1122
+ "prizeId": value.prizeId,
1123
+ "name": value.name,
1124
+ "stock": value.stock
1131
1125
  };
1132
1126
  }
1133
1127
 
1134
- // src/generated/models/ExecuteActionRequestOptions.ts
1135
- function instanceOfExecuteActionRequestOptions(value) {
1128
+ // src/generated/models/UserActivityStateTypeStateOneOf.ts
1129
+ var UserActivityStateTypeStateOneOfTypeEnum = {
1130
+ CLAIM: "claim"
1131
+ };
1132
+ function instanceOfUserActivityStateTypeStateOneOf(value) {
1136
1133
  let isInstance = true;
1134
+ isInstance = isInstance && "type" in value;
1135
+ isInstance = isInstance && "claimed" in value;
1137
1136
  return isInstance;
1138
1137
  }
1139
- function ExecuteActionRequestOptionsFromJSON(json) {
1140
- return ExecuteActionRequestOptionsFromJSONTyped(json, false);
1138
+ function UserActivityStateTypeStateOneOfFromJSON(json) {
1139
+ return UserActivityStateTypeStateOneOfFromJSONTyped(json, false);
1141
1140
  }
1142
- function ExecuteActionRequestOptionsFromJSONTyped(json, ignoreDiscriminator) {
1141
+ function UserActivityStateTypeStateOneOfFromJSONTyped(json, ignoreDiscriminator) {
1143
1142
  if (json === void 0 || json === null) {
1144
1143
  return json;
1145
1144
  }
1146
1145
  return {
1147
- "timeout": !exists(json, "timeout") ? void 0 : json["timeout"],
1148
- "skipRisk": !exists(json, "skipRisk") ? void 0 : json["skipRisk"]
1146
+ "type": json["type"],
1147
+ "claimed": json["claimed"],
1148
+ "claimedAt": !exists(json, "claimedAt") ? void 0 : new Date(json["claimedAt"]),
1149
+ "claimedPrizeId": !exists(json, "claimedPrizeId") ? void 0 : json["claimedPrizeId"],
1150
+ "availablePrizes": !exists(json, "availablePrizes") ? void 0 : json["availablePrizes"].map(UserActivityStateTypeStateOneOfAvailablePrizesInnerFromJSON)
1149
1151
  };
1150
1152
  }
1151
- function ExecuteActionRequestOptionsToJSON(value) {
1153
+ function UserActivityStateTypeStateOneOfToJSON(value) {
1152
1154
  if (value === void 0) {
1153
1155
  return void 0;
1154
1156
  }
@@ -1156,51 +1158,33 @@ function ExecuteActionRequestOptionsToJSON(value) {
1156
1158
  return null;
1157
1159
  }
1158
1160
  return {
1159
- "timeout": value.timeout,
1160
- "skipRisk": value.skipRisk
1161
+ "type": value.type,
1162
+ "claimed": value.claimed,
1163
+ "claimedAt": value.claimedAt === void 0 ? void 0 : value.claimedAt.toISOString(),
1164
+ "claimedPrizeId": value.claimedPrizeId,
1165
+ "availablePrizes": value.availablePrizes === void 0 ? void 0 : value.availablePrizes.map(UserActivityStateTypeStateOneOfAvailablePrizesInnerToJSON)
1161
1166
  };
1162
1167
  }
1163
1168
 
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"
1180
- };
1181
- function instanceOfExecuteActionRequest(value) {
1169
+ // src/generated/models/UserActivityStateTypeStateOneOf1CycleRecordsInner.ts
1170
+ function instanceOfUserActivityStateTypeStateOneOf1CycleRecordsInner(value) {
1182
1171
  let isInstance = true;
1183
- isInstance = isInstance && "actionType" in value;
1184
- isInstance = isInstance && "params" in value;
1185
1172
  return isInstance;
1186
1173
  }
1187
- function ExecuteActionRequestFromJSON(json) {
1188
- return ExecuteActionRequestFromJSONTyped(json, false);
1174
+ function UserActivityStateTypeStateOneOf1CycleRecordsInnerFromJSON(json) {
1175
+ return UserActivityStateTypeStateOneOf1CycleRecordsInnerFromJSONTyped(json, false);
1189
1176
  }
1190
- function ExecuteActionRequestFromJSONTyped(json, ignoreDiscriminator) {
1177
+ function UserActivityStateTypeStateOneOf1CycleRecordsInnerFromJSONTyped(json, ignoreDiscriminator) {
1191
1178
  if (json === void 0 || json === null) {
1192
1179
  return json;
1193
1180
  }
1194
1181
  return {
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"])
1182
+ "dayKey": !exists(json, "dayKey") ? void 0 : json["dayKey"],
1183
+ "signed": !exists(json, "signed") ? void 0 : json["signed"],
1184
+ "isMakeup": !exists(json, "isMakeup") ? void 0 : json["isMakeup"]
1201
1185
  };
1202
1186
  }
1203
- function ExecuteActionRequestToJSON(value) {
1187
+ function UserActivityStateTypeStateOneOf1CycleRecordsInnerToJSON(value) {
1204
1188
  if (value === void 0) {
1205
1189
  return void 0;
1206
1190
  }
@@ -1208,36 +1192,35 @@ function ExecuteActionRequestToJSON(value) {
1208
1192
  return null;
1209
1193
  }
1210
1194
  return {
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)
1195
+ "dayKey": value.dayKey,
1196
+ "signed": value.signed,
1197
+ "isMakeup": value.isMakeup
1217
1198
  };
1218
1199
  }
1219
1200
 
1220
- // src/generated/models/ExecuteActionResponse.ts
1221
- function instanceOfExecuteActionResponse(value) {
1201
+ // src/generated/models/UserActivityStateTypeStateOneOf1NextReward.ts
1202
+ var UserActivityStateTypeStateOneOf1NextRewardTypeEnum = {
1203
+ CONSECUTIVE: "consecutive",
1204
+ CUMULATIVE: "cumulative"
1205
+ };
1206
+ function instanceOfUserActivityStateTypeStateOneOf1NextReward(value) {
1222
1207
  let isInstance = true;
1223
- isInstance = isInstance && "success" in value;
1224
- isInstance = isInstance && "data" in value;
1225
1208
  return isInstance;
1226
1209
  }
1227
- function ExecuteActionResponseFromJSON(json) {
1228
- return ExecuteActionResponseFromJSONTyped(json, false);
1210
+ function UserActivityStateTypeStateOneOf1NextRewardFromJSON(json) {
1211
+ return UserActivityStateTypeStateOneOf1NextRewardFromJSONTyped(json, false);
1229
1212
  }
1230
- function ExecuteActionResponseFromJSONTyped(json, ignoreDiscriminator) {
1213
+ function UserActivityStateTypeStateOneOf1NextRewardFromJSONTyped(json, ignoreDiscriminator) {
1231
1214
  if (json === void 0 || json === null) {
1232
1215
  return json;
1233
1216
  }
1234
1217
  return {
1235
- "success": json["success"],
1236
- "data": ExecuteAction200ResponseDataFromJSON(json["data"]),
1237
- "meta": !exists(json, "meta") ? void 0 : ExecuteAction200ResponseMetaFromJSON(json["meta"])
1218
+ "type": !exists(json, "type") ? void 0 : json["type"],
1219
+ "daysNeeded": !exists(json, "daysNeeded") ? void 0 : json["daysNeeded"],
1220
+ "reward": !exists(json, "reward") ? void 0 : json["reward"]
1238
1221
  };
1239
1222
  }
1240
- function ExecuteActionResponseToJSON(value) {
1223
+ function UserActivityStateTypeStateOneOf1NextRewardToJSON(value) {
1241
1224
  if (value === void 0) {
1242
1225
  return void 0;
1243
1226
  }
@@ -1245,30 +1228,45 @@ function ExecuteActionResponseToJSON(value) {
1245
1228
  return null;
1246
1229
  }
1247
1230
  return {
1248
- "success": value.success,
1249
- "data": ExecuteAction200ResponseDataToJSON(value.data),
1250
- "meta": ExecuteAction200ResponseMetaToJSON(value.meta)
1231
+ "type": value.type,
1232
+ "daysNeeded": value.daysNeeded,
1233
+ "reward": value.reward
1251
1234
  };
1252
1235
  }
1253
1236
 
1254
- // src/generated/models/GetActionDefinition200Response.ts
1255
- function instanceOfGetActionDefinition200Response(value) {
1237
+ // src/generated/models/UserActivityStateTypeStateOneOf1.ts
1238
+ var UserActivityStateTypeStateOneOf1TypeEnum = {
1239
+ SIGNIN: "signin"
1240
+ };
1241
+ function instanceOfUserActivityStateTypeStateOneOf1(value) {
1256
1242
  let isInstance = true;
1257
- isInstance = isInstance && "data" in value;
1243
+ isInstance = isInstance && "type" in value;
1244
+ isInstance = isInstance && "signedToday" in value;
1245
+ isInstance = isInstance && "consecutiveDays" in value;
1246
+ isInstance = isInstance && "totalDays" in value;
1247
+ isInstance = isInstance && "cycleRecords" in value;
1248
+ isInstance = isInstance && "makeupAvailable" in value;
1258
1249
  return isInstance;
1259
1250
  }
1260
- function GetActionDefinition200ResponseFromJSON(json) {
1261
- return GetActionDefinition200ResponseFromJSONTyped(json, false);
1251
+ function UserActivityStateTypeStateOneOf1FromJSON(json) {
1252
+ return UserActivityStateTypeStateOneOf1FromJSONTyped(json, false);
1262
1253
  }
1263
- function GetActionDefinition200ResponseFromJSONTyped(json, ignoreDiscriminator) {
1254
+ function UserActivityStateTypeStateOneOf1FromJSONTyped(json, ignoreDiscriminator) {
1264
1255
  if (json === void 0 || json === null) {
1265
1256
  return json;
1266
1257
  }
1267
1258
  return {
1268
- "data": GetActionDefinition200ResponseDataFromJSON(json["data"])
1259
+ "type": json["type"],
1260
+ "signedToday": json["signedToday"],
1261
+ "todaySignedAt": !exists(json, "todaySignedAt") ? void 0 : new Date(json["todaySignedAt"]),
1262
+ "consecutiveDays": json["consecutiveDays"],
1263
+ "totalDays": json["totalDays"],
1264
+ "cycleRecords": json["cycleRecords"].map(UserActivityStateTypeStateOneOf1CycleRecordsInnerFromJSON),
1265
+ "makeupAvailable": json["makeupAvailable"],
1266
+ "nextReward": !exists(json, "nextReward") ? void 0 : UserActivityStateTypeStateOneOf1NextRewardFromJSON(json["nextReward"])
1269
1267
  };
1270
1268
  }
1271
- function GetActionDefinition200ResponseToJSON(value) {
1269
+ function UserActivityStateTypeStateOneOf1ToJSON(value) {
1272
1270
  if (value === void 0) {
1273
1271
  return void 0;
1274
1272
  }
@@ -1276,29 +1274,35 @@ function GetActionDefinition200ResponseToJSON(value) {
1276
1274
  return null;
1277
1275
  }
1278
1276
  return {
1279
- "data": GetActionDefinition200ResponseDataToJSON(value.data)
1277
+ "type": value.type,
1278
+ "signedToday": value.signedToday,
1279
+ "todaySignedAt": value.todaySignedAt === void 0 ? void 0 : value.todaySignedAt.toISOString(),
1280
+ "consecutiveDays": value.consecutiveDays,
1281
+ "totalDays": value.totalDays,
1282
+ "cycleRecords": value.cycleRecords.map(UserActivityStateTypeStateOneOf1CycleRecordsInnerToJSON),
1283
+ "makeupAvailable": value.makeupAvailable,
1284
+ "nextReward": UserActivityStateTypeStateOneOf1NextRewardToJSON(value.nextReward)
1280
1285
  };
1281
1286
  }
1282
1287
 
1283
- // src/generated/models/GetActivityInfo200ResponseDataRewardsInner.ts
1284
- function instanceOfGetActivityInfo200ResponseDataRewardsInner(value) {
1288
+ // src/generated/models/UserActivityStateTypeStateOneOf2PityProgress.ts
1289
+ function instanceOfUserActivityStateTypeStateOneOf2PityProgress(value) {
1285
1290
  let isInstance = true;
1286
1291
  return isInstance;
1287
1292
  }
1288
- function GetActivityInfo200ResponseDataRewardsInnerFromJSON(json) {
1289
- return GetActivityInfo200ResponseDataRewardsInnerFromJSONTyped(json, false);
1293
+ function UserActivityStateTypeStateOneOf2PityProgressFromJSON(json) {
1294
+ return UserActivityStateTypeStateOneOf2PityProgressFromJSONTyped(json, false);
1290
1295
  }
1291
- function GetActivityInfo200ResponseDataRewardsInnerFromJSONTyped(json, ignoreDiscriminator) {
1296
+ function UserActivityStateTypeStateOneOf2PityProgressFromJSONTyped(json, ignoreDiscriminator) {
1292
1297
  if (json === void 0 || json === null) {
1293
1298
  return json;
1294
1299
  }
1295
1300
  return {
1296
- "name": !exists(json, "name") ? void 0 : json["name"],
1297
- "description": !exists(json, "description") ? void 0 : json["description"],
1298
- "icon": !exists(json, "icon") ? void 0 : json["icon"]
1301
+ "current": !exists(json, "current") ? void 0 : json["current"],
1302
+ "target": !exists(json, "target") ? void 0 : json["target"]
1299
1303
  };
1300
1304
  }
1301
- function GetActivityInfo200ResponseDataRewardsInnerToJSON(value) {
1305
+ function UserActivityStateTypeStateOneOf2PityProgressToJSON(value) {
1302
1306
  if (value === void 0) {
1303
1307
  return void 0;
1304
1308
  }
@@ -1306,56 +1310,29 @@ function GetActivityInfo200ResponseDataRewardsInnerToJSON(value) {
1306
1310
  return null;
1307
1311
  }
1308
1312
  return {
1309
- "name": value.name,
1310
- "description": value.description,
1311
- "icon": value.icon
1313
+ "current": value.current,
1314
+ "target": value.target
1312
1315
  };
1313
1316
  }
1314
1317
 
1315
- // src/generated/models/GetActivityInfo200ResponseData.ts
1316
- var GetActivityInfo200ResponseDataTypeEnum = {
1317
- CLAIM: "claim",
1318
- SIGNIN: "signin",
1319
- LOTTERY: "lottery",
1320
- RESERVE: "reserve",
1321
- TASK: "task",
1322
- VOTE: "vote",
1323
- SHARE: "share",
1324
- BIND: "bind",
1325
- CUSTOM: "custom"
1326
- };
1327
- var GetActivityInfo200ResponseDataStatusEnum = {
1328
- ACTIVE: "active",
1329
- ENDED: "ended"
1330
- };
1331
- function instanceOfGetActivityInfo200ResponseData(value) {
1318
+ // src/generated/models/UserActivityStateTypeStateOneOf2ResourcesInner.ts
1319
+ function instanceOfUserActivityStateTypeStateOneOf2ResourcesInner(value) {
1332
1320
  let isInstance = true;
1333
- isInstance = isInstance && "id" in value;
1334
- isInstance = isInstance && "name" in value;
1335
- isInstance = isInstance && "type" in value;
1336
- isInstance = isInstance && "status" in value;
1337
1321
  return isInstance;
1338
1322
  }
1339
- function GetActivityInfo200ResponseDataFromJSON(json) {
1340
- return GetActivityInfo200ResponseDataFromJSONTyped(json, false);
1323
+ function UserActivityStateTypeStateOneOf2ResourcesInnerFromJSON(json) {
1324
+ return UserActivityStateTypeStateOneOf2ResourcesInnerFromJSONTyped(json, false);
1341
1325
  }
1342
- function GetActivityInfo200ResponseDataFromJSONTyped(json, ignoreDiscriminator) {
1326
+ function UserActivityStateTypeStateOneOf2ResourcesInnerFromJSONTyped(json, ignoreDiscriminator) {
1343
1327
  if (json === void 0 || json === null) {
1344
1328
  return json;
1345
1329
  }
1346
1330
  return {
1347
- "id": json["id"],
1348
- "name": json["name"],
1349
- "type": json["type"],
1350
- "status": json["status"],
1351
- "description": !exists(json, "description") ? void 0 : json["description"],
1352
- "startTime": !exists(json, "startTime") ? void 0 : new Date(json["startTime"]),
1353
- "endTime": !exists(json, "endTime") ? void 0 : new Date(json["endTime"]),
1354
- "rules": !exists(json, "rules") ? void 0 : json["rules"],
1355
- "rewards": !exists(json, "rewards") ? void 0 : json["rewards"].map(GetActivityInfo200ResponseDataRewardsInnerFromJSON)
1331
+ "type": !exists(json, "type") ? void 0 : json["type"],
1332
+ "amount": !exists(json, "amount") ? void 0 : json["amount"]
1356
1333
  };
1357
1334
  }
1358
- function GetActivityInfo200ResponseDataToJSON(value) {
1335
+ function UserActivityStateTypeStateOneOf2ResourcesInnerToJSON(value) {
1359
1336
  if (value === void 0) {
1360
1337
  return void 0;
1361
1338
  }
@@ -1363,36 +1340,40 @@ function GetActivityInfo200ResponseDataToJSON(value) {
1363
1340
  return null;
1364
1341
  }
1365
1342
  return {
1366
- "id": value.id,
1367
- "name": value.name,
1368
1343
  "type": value.type,
1369
- "status": value.status,
1370
- "description": value.description,
1371
- "startTime": value.startTime === void 0 ? void 0 : value.startTime.toISOString(),
1372
- "endTime": value.endTime === void 0 ? void 0 : value.endTime.toISOString(),
1373
- "rules": value.rules,
1374
- "rewards": value.rewards === void 0 ? void 0 : value.rewards.map(GetActivityInfo200ResponseDataRewardsInnerToJSON)
1344
+ "amount": value.amount
1375
1345
  };
1376
1346
  }
1377
1347
 
1378
- // src/generated/models/GetActivityInfo200Response.ts
1379
- function instanceOfGetActivityInfo200Response(value) {
1348
+ // src/generated/models/UserActivityStateTypeStateOneOf2.ts
1349
+ var UserActivityStateTypeStateOneOf2TypeEnum = {
1350
+ LOTTERY: "lottery"
1351
+ };
1352
+ function instanceOfUserActivityStateTypeStateOneOf2(value) {
1380
1353
  let isInstance = true;
1354
+ isInstance = isInstance && "type" in value;
1355
+ isInstance = isInstance && "freeDrawsRemaining" in value;
1356
+ isInstance = isInstance && "todayDrawCount" in value;
1357
+ isInstance = isInstance && "totalDrawCount" in value;
1381
1358
  return isInstance;
1382
1359
  }
1383
- function GetActivityInfo200ResponseFromJSON(json) {
1384
- return GetActivityInfo200ResponseFromJSONTyped(json, false);
1360
+ function UserActivityStateTypeStateOneOf2FromJSON(json) {
1361
+ return UserActivityStateTypeStateOneOf2FromJSONTyped(json, false);
1385
1362
  }
1386
- function GetActivityInfo200ResponseFromJSONTyped(json, ignoreDiscriminator) {
1363
+ function UserActivityStateTypeStateOneOf2FromJSONTyped(json, ignoreDiscriminator) {
1387
1364
  if (json === void 0 || json === null) {
1388
1365
  return json;
1389
1366
  }
1390
1367
  return {
1391
- "success": !exists(json, "success") ? void 0 : json["success"],
1392
- "data": !exists(json, "data") ? void 0 : GetActivityInfo200ResponseDataFromJSON(json["data"])
1368
+ "type": json["type"],
1369
+ "freeDrawsRemaining": json["freeDrawsRemaining"],
1370
+ "todayDrawCount": json["todayDrawCount"],
1371
+ "totalDrawCount": json["totalDrawCount"],
1372
+ "pityProgress": !exists(json, "pityProgress") ? void 0 : UserActivityStateTypeStateOneOf2PityProgressFromJSON(json["pityProgress"]),
1373
+ "resources": !exists(json, "resources") ? void 0 : json["resources"].map(UserActivityStateTypeStateOneOf2ResourcesInnerFromJSON)
1393
1374
  };
1394
1375
  }
1395
- function GetActivityInfo200ResponseToJSON(value) {
1376
+ function UserActivityStateTypeStateOneOf2ToJSON(value) {
1396
1377
  if (value === void 0) {
1397
1378
  return void 0;
1398
1379
  }
@@ -1400,37 +1381,83 @@ function GetActivityInfo200ResponseToJSON(value) {
1400
1381
  return null;
1401
1382
  }
1402
1383
  return {
1403
- "success": value.success,
1404
- "data": GetActivityInfo200ResponseDataToJSON(value.data)
1384
+ "type": value.type,
1385
+ "freeDrawsRemaining": value.freeDrawsRemaining,
1386
+ "todayDrawCount": value.todayDrawCount,
1387
+ "totalDrawCount": value.totalDrawCount,
1388
+ "pityProgress": UserActivityStateTypeStateOneOf2PityProgressToJSON(value.pityProgress),
1389
+ "resources": value.resources === void 0 ? void 0 : value.resources.map(UserActivityStateTypeStateOneOf2ResourcesInnerToJSON)
1405
1390
  };
1406
1391
  }
1407
1392
 
1408
- // src/generated/models/GetActivityState200ResponseData.ts
1409
- function instanceOfGetActivityState200ResponseData(value) {
1393
+ // src/generated/models/UserActivityStateTypeState.ts
1394
+ function UserActivityStateTypeStateFromJSON(json) {
1395
+ return UserActivityStateTypeStateFromJSONTyped(json, false);
1396
+ }
1397
+ function UserActivityStateTypeStateFromJSONTyped(json, ignoreDiscriminator) {
1398
+ if (json === void 0 || json === null) {
1399
+ return json;
1400
+ }
1401
+ return { ...UserActivityStateTypeStateOneOfFromJSONTyped(json, true), ...UserActivityStateTypeStateOneOf1FromJSONTyped(json, true), ...UserActivityStateTypeStateOneOf2FromJSONTyped(json, true) };
1402
+ }
1403
+ function UserActivityStateTypeStateToJSON(value) {
1404
+ if (value === void 0) {
1405
+ return void 0;
1406
+ }
1407
+ if (value === null) {
1408
+ return null;
1409
+ }
1410
+ if (instanceOfUserActivityStateTypeStateOneOf(value)) {
1411
+ return UserActivityStateTypeStateOneOfToJSON(value);
1412
+ }
1413
+ if (instanceOfUserActivityStateTypeStateOneOf1(value)) {
1414
+ return UserActivityStateTypeStateOneOf1ToJSON(value);
1415
+ }
1416
+ if (instanceOfUserActivityStateTypeStateOneOf2(value)) {
1417
+ return UserActivityStateTypeStateOneOf2ToJSON(value);
1418
+ }
1419
+ return {};
1420
+ }
1421
+
1422
+ // src/generated/models/UserActivityState.ts
1423
+ var UserActivityStateActivityTypeEnum = {
1424
+ CLAIM: "claim",
1425
+ SIGNIN: "signin",
1426
+ LOTTERY: "lottery",
1427
+ RESERVE: "reserve",
1428
+ TASK: "task",
1429
+ VOTE: "vote",
1430
+ SHARE: "share",
1431
+ BIND: "bind",
1432
+ CUSTOM: "custom"
1433
+ };
1434
+ function instanceOfUserActivityState(value) {
1410
1435
  let isInstance = true;
1411
1436
  isInstance = isInstance && "activityId" in value;
1412
1437
  isInstance = isInstance && "userId" in value;
1438
+ isInstance = isInstance && "activityType" in value;
1439
+ isInstance = isInstance && "canParticipate" in value;
1440
+ isInstance = isInstance && "typeState" in value;
1413
1441
  return isInstance;
1414
1442
  }
1415
- function GetActivityState200ResponseDataFromJSON(json) {
1416
- return GetActivityState200ResponseDataFromJSONTyped(json, false);
1443
+ function UserActivityStateFromJSON(json) {
1444
+ return UserActivityStateFromJSONTyped(json, false);
1417
1445
  }
1418
- function GetActivityState200ResponseDataFromJSONTyped(json, ignoreDiscriminator) {
1446
+ function UserActivityStateFromJSONTyped(json, ignoreDiscriminator) {
1419
1447
  if (json === void 0 || json === null) {
1420
1448
  return json;
1421
1449
  }
1422
1450
  return {
1423
1451
  "activityId": json["activityId"],
1424
1452
  "userId": json["userId"],
1425
- "participated": !exists(json, "participated") ? void 0 : json["participated"],
1426
- "participatedAt": !exists(json, "participatedAt") ? void 0 : new Date(json["participatedAt"]),
1427
- "remainingChances": !exists(json, "remainingChances") ? void 0 : json["remainingChances"],
1428
- "totalRewards": !exists(json, "totalRewards") ? void 0 : json["totalRewards"],
1429
- "progress": !exists(json, "progress") ? void 0 : json["progress"],
1430
- "customData": !exists(json, "customData") ? void 0 : json["customData"]
1453
+ "activityType": json["activityType"],
1454
+ "canParticipate": json["canParticipate"],
1455
+ "notParticipateReason": !exists(json, "notParticipateReason") ? void 0 : json["notParticipateReason"],
1456
+ "remainingCount": !exists(json, "remainingCount") ? void 0 : json["remainingCount"],
1457
+ "typeState": UserActivityStateTypeStateFromJSON(json["typeState"])
1431
1458
  };
1432
1459
  }
1433
- function GetActivityState200ResponseDataToJSON(value) {
1460
+ function UserActivityStateToJSON(value) {
1434
1461
  if (value === void 0) {
1435
1462
  return void 0;
1436
1463
  }
@@ -1440,12 +1467,11 @@ function GetActivityState200ResponseDataToJSON(value) {
1440
1467
  return {
1441
1468
  "activityId": value.activityId,
1442
1469
  "userId": value.userId,
1443
- "participated": value.participated,
1444
- "participatedAt": value.participatedAt === void 0 ? void 0 : value.participatedAt.toISOString(),
1445
- "remainingChances": value.remainingChances,
1446
- "totalRewards": value.totalRewards,
1447
- "progress": value.progress,
1448
- "customData": value.customData
1470
+ "activityType": value.activityType,
1471
+ "canParticipate": value.canParticipate,
1472
+ "notParticipateReason": value.notParticipateReason,
1473
+ "remainingCount": value.remainingCount,
1474
+ "typeState": UserActivityStateTypeStateToJSON(value.typeState)
1449
1475
  };
1450
1476
  }
1451
1477
 
@@ -1463,7 +1489,7 @@ function GetActivityState200ResponseFromJSONTyped(json, ignoreDiscriminator) {
1463
1489
  }
1464
1490
  return {
1465
1491
  "success": !exists(json, "success") ? void 0 : json["success"],
1466
- "data": !exists(json, "data") ? void 0 : GetActivityState200ResponseDataFromJSON(json["data"])
1492
+ "data": !exists(json, "data") ? void 0 : UserActivityStateFromJSON(json["data"])
1467
1493
  };
1468
1494
  }
1469
1495
  function GetActivityState200ResponseToJSON(value) {
@@ -1475,65 +1501,12 @@ function GetActivityState200ResponseToJSON(value) {
1475
1501
  }
1476
1502
  return {
1477
1503
  "success": value.success,
1478
- "data": GetActivityState200ResponseDataToJSON(value.data)
1479
- };
1480
- }
1481
-
1482
- // src/generated/models/GetClaimRecords200ResponseDataInner.ts
1483
- var GetClaimRecords200ResponseDataInnerStatusEnum = {
1484
- PENDING: "pending",
1485
- CLAIMED: "claimed",
1486
- EXPIRED: "expired"
1487
- };
1488
- function instanceOfGetClaimRecords200ResponseDataInner(value) {
1489
- let isInstance = true;
1490
- isInstance = isInstance && "id" in value;
1491
- isInstance = isInstance && "rewardType" in value;
1492
- isInstance = isInstance && "status" in value;
1493
- isInstance = isInstance && "createdAt" in value;
1494
- return isInstance;
1495
- }
1496
- function GetClaimRecords200ResponseDataInnerFromJSON(json) {
1497
- return GetClaimRecords200ResponseDataInnerFromJSONTyped(json, false);
1498
- }
1499
- function GetClaimRecords200ResponseDataInnerFromJSONTyped(json, ignoreDiscriminator) {
1500
- if (json === void 0 || json === null) {
1501
- return json;
1502
- }
1503
- return {
1504
- "id": json["id"],
1505
- "activityId": !exists(json, "activityId") ? void 0 : json["activityId"],
1506
- "rewardType": json["rewardType"],
1507
- "rewardName": !exists(json, "rewardName") ? void 0 : json["rewardName"],
1508
- "rewardValue": !exists(json, "rewardValue") ? void 0 : json["rewardValue"],
1509
- "status": json["status"],
1510
- "createdAt": new Date(json["createdAt"]),
1511
- "claimedAt": !exists(json, "claimedAt") ? void 0 : new Date(json["claimedAt"]),
1512
- "expiresAt": !exists(json, "expiresAt") ? void 0 : new Date(json["expiresAt"])
1513
- };
1514
- }
1515
- function GetClaimRecords200ResponseDataInnerToJSON(value) {
1516
- if (value === void 0) {
1517
- return void 0;
1518
- }
1519
- if (value === null) {
1520
- return null;
1521
- }
1522
- return {
1523
- "id": value.id,
1524
- "activityId": value.activityId,
1525
- "rewardType": value.rewardType,
1526
- "rewardName": value.rewardName,
1527
- "rewardValue": value.rewardValue,
1528
- "status": value.status,
1529
- "createdAt": value.createdAt.toISOString(),
1530
- "claimedAt": value.claimedAt === void 0 ? void 0 : value.claimedAt.toISOString(),
1531
- "expiresAt": value.expiresAt === void 0 ? void 0 : value.expiresAt.toISOString()
1504
+ "data": UserActivityStateToJSON(value.data)
1532
1505
  };
1533
1506
  }
1534
1507
 
1535
- // src/generated/models/GetClaimRecords200ResponseMeta.ts
1536
- function instanceOfGetClaimRecords200ResponseMeta(value) {
1508
+ // src/generated/models/PaginationMeta.ts
1509
+ function instanceOfPaginationMeta(value) {
1537
1510
  let isInstance = true;
1538
1511
  isInstance = isInstance && "page" in value;
1539
1512
  isInstance = isInstance && "limit" in value;
@@ -1541,10 +1514,10 @@ function instanceOfGetClaimRecords200ResponseMeta(value) {
1541
1514
  isInstance = isInstance && "totalPages" in value;
1542
1515
  return isInstance;
1543
1516
  }
1544
- function GetClaimRecords200ResponseMetaFromJSON(json) {
1545
- return GetClaimRecords200ResponseMetaFromJSONTyped(json, false);
1517
+ function PaginationMetaFromJSON(json) {
1518
+ return PaginationMetaFromJSONTyped(json, false);
1546
1519
  }
1547
- function GetClaimRecords200ResponseMetaFromJSONTyped(json, ignoreDiscriminator) {
1520
+ function PaginationMetaFromJSONTyped(json, ignoreDiscriminator) {
1548
1521
  if (json === void 0 || json === null) {
1549
1522
  return json;
1550
1523
  }
@@ -1555,7 +1528,7 @@ function GetClaimRecords200ResponseMetaFromJSONTyped(json, ignoreDiscriminator)
1555
1528
  "totalPages": json["totalPages"]
1556
1529
  };
1557
1530
  }
1558
- function GetClaimRecords200ResponseMetaToJSON(value) {
1531
+ function PaginationMetaToJSON(value) {
1559
1532
  if (value === void 0) {
1560
1533
  return void 0;
1561
1534
  }
@@ -1584,8 +1557,8 @@ function GetClaimRecords200ResponseFromJSONTyped(json, ignoreDiscriminator) {
1584
1557
  }
1585
1558
  return {
1586
1559
  "success": !exists(json, "success") ? void 0 : json["success"],
1587
- "data": !exists(json, "data") ? void 0 : json["data"].map(GetClaimRecords200ResponseDataInnerFromJSON),
1588
- "meta": !exists(json, "meta") ? void 0 : GetClaimRecords200ResponseMetaFromJSON(json["meta"])
1560
+ "data": !exists(json, "data") ? void 0 : json["data"].map(ClaimRecordInfoFromJSON),
1561
+ "meta": !exists(json, "meta") ? void 0 : PaginationMetaFromJSON(json["meta"])
1589
1562
  };
1590
1563
  }
1591
1564
  function GetClaimRecords200ResponseToJSON(value) {
@@ -1597,26 +1570,26 @@ function GetClaimRecords200ResponseToJSON(value) {
1597
1570
  }
1598
1571
  return {
1599
1572
  "success": value.success,
1600
- "data": value.data === void 0 ? void 0 : value.data.map(GetClaimRecords200ResponseDataInnerToJSON),
1601
- "meta": GetClaimRecords200ResponseMetaToJSON(value.meta)
1573
+ "data": value.data === void 0 ? void 0 : value.data.map(ClaimRecordInfoToJSON),
1574
+ "meta": PaginationMetaToJSON(value.meta)
1602
1575
  };
1603
1576
  }
1604
1577
 
1605
- // src/generated/models/GetLotteryRecords200ResponseDataInner.ts
1606
- var GetLotteryRecords200ResponseDataInnerPrizeTypeEnum = {
1578
+ // src/generated/models/LotteryRecordInfo.ts
1579
+ var LotteryRecordInfoPrizeTypeEnum = {
1607
1580
  PHYSICAL: "physical",
1608
1581
  VIRTUAL: "virtual",
1609
1582
  COUPON: "coupon",
1610
1583
  POINTS: "points",
1611
1584
  NONE: "none"
1612
1585
  };
1613
- var GetLotteryRecords200ResponseDataInnerStatusEnum = {
1586
+ var LotteryRecordInfoStatusEnum = {
1614
1587
  WON: "won",
1615
1588
  NOT_WON: "notWon",
1616
1589
  CLAIMED: "claimed",
1617
1590
  SHIPPED: "shipped"
1618
1591
  };
1619
- function instanceOfGetLotteryRecords200ResponseDataInner(value) {
1592
+ function instanceOfLotteryRecordInfo(value) {
1620
1593
  let isInstance = true;
1621
1594
  isInstance = isInstance && "id" in value;
1622
1595
  isInstance = isInstance && "prizeId" in value;
@@ -1624,10 +1597,10 @@ function instanceOfGetLotteryRecords200ResponseDataInner(value) {
1624
1597
  isInstance = isInstance && "createdAt" in value;
1625
1598
  return isInstance;
1626
1599
  }
1627
- function GetLotteryRecords200ResponseDataInnerFromJSON(json) {
1628
- return GetLotteryRecords200ResponseDataInnerFromJSONTyped(json, false);
1600
+ function LotteryRecordInfoFromJSON(json) {
1601
+ return LotteryRecordInfoFromJSONTyped(json, false);
1629
1602
  }
1630
- function GetLotteryRecords200ResponseDataInnerFromJSONTyped(json, ignoreDiscriminator) {
1603
+ function LotteryRecordInfoFromJSONTyped(json, ignoreDiscriminator) {
1631
1604
  if (json === void 0 || json === null) {
1632
1605
  return json;
1633
1606
  }
@@ -1642,7 +1615,7 @@ function GetLotteryRecords200ResponseDataInnerFromJSONTyped(json, ignoreDiscrimi
1642
1615
  "claimedAt": !exists(json, "claimedAt") ? void 0 : new Date(json["claimedAt"])
1643
1616
  };
1644
1617
  }
1645
- function GetLotteryRecords200ResponseDataInnerToJSON(value) {
1618
+ function LotteryRecordInfoToJSON(value) {
1646
1619
  if (value === void 0) {
1647
1620
  return void 0;
1648
1621
  }
@@ -1675,8 +1648,8 @@ function GetLotteryRecords200ResponseFromJSONTyped(json, ignoreDiscriminator) {
1675
1648
  }
1676
1649
  return {
1677
1650
  "success": !exists(json, "success") ? void 0 : json["success"],
1678
- "data": !exists(json, "data") ? void 0 : json["data"].map(GetLotteryRecords200ResponseDataInnerFromJSON),
1679
- "meta": !exists(json, "meta") ? void 0 : GetClaimRecords200ResponseMetaFromJSON(json["meta"])
1651
+ "data": !exists(json, "data") ? void 0 : json["data"].map(LotteryRecordInfoFromJSON),
1652
+ "meta": !exists(json, "meta") ? void 0 : PaginationMetaFromJSON(json["meta"])
1680
1653
  };
1681
1654
  }
1682
1655
  function GetLotteryRecords200ResponseToJSON(value) {
@@ -1688,29 +1661,29 @@ function GetLotteryRecords200ResponseToJSON(value) {
1688
1661
  }
1689
1662
  return {
1690
1663
  "success": value.success,
1691
- "data": value.data === void 0 ? void 0 : value.data.map(GetLotteryRecords200ResponseDataInnerToJSON),
1692
- "meta": GetClaimRecords200ResponseMetaToJSON(value.meta)
1664
+ "data": value.data === void 0 ? void 0 : value.data.map(LotteryRecordInfoToJSON),
1665
+ "meta": PaginationMetaToJSON(value.meta)
1693
1666
  };
1694
1667
  }
1695
1668
 
1696
- // src/generated/models/GetPage200ResponseDataMeta.ts
1697
- function instanceOfGetPage200ResponseDataMeta(value) {
1669
+ // src/generated/models/SigninCalendarRecordsInnerReward.ts
1670
+ function instanceOfSigninCalendarRecordsInnerReward(value) {
1698
1671
  let isInstance = true;
1699
1672
  return isInstance;
1700
1673
  }
1701
- function GetPage200ResponseDataMetaFromJSON(json) {
1702
- return GetPage200ResponseDataMetaFromJSONTyped(json, false);
1674
+ function SigninCalendarRecordsInnerRewardFromJSON(json) {
1675
+ return SigninCalendarRecordsInnerRewardFromJSONTyped(json, false);
1703
1676
  }
1704
- function GetPage200ResponseDataMetaFromJSONTyped(json, ignoreDiscriminator) {
1677
+ function SigninCalendarRecordsInnerRewardFromJSONTyped(json, ignoreDiscriminator) {
1705
1678
  if (json === void 0 || json === null) {
1706
1679
  return json;
1707
1680
  }
1708
1681
  return {
1709
- "title": !exists(json, "title") ? void 0 : json["title"],
1710
- "description": !exists(json, "description") ? void 0 : json["description"]
1682
+ "name": !exists(json, "name") ? void 0 : json["name"],
1683
+ "amount": !exists(json, "amount") ? void 0 : json["amount"]
1711
1684
  };
1712
1685
  }
1713
- function GetPage200ResponseDataMetaToJSON(value) {
1686
+ function SigninCalendarRecordsInnerRewardToJSON(value) {
1714
1687
  if (value === void 0) {
1715
1688
  return void 0;
1716
1689
  }
@@ -1718,34 +1691,30 @@ function GetPage200ResponseDataMetaToJSON(value) {
1718
1691
  return null;
1719
1692
  }
1720
1693
  return {
1721
- "title": value.title,
1722
- "description": value.description
1694
+ "name": value.name,
1695
+ "amount": value.amount
1723
1696
  };
1724
1697
  }
1725
1698
 
1726
- // src/generated/models/GetPage200ResponseData.ts
1727
- function instanceOfGetPage200ResponseData(value) {
1699
+ // src/generated/models/SigninCalendarRecordsInner.ts
1700
+ function instanceOfSigninCalendarRecordsInner(value) {
1728
1701
  let isInstance = true;
1729
- isInstance = isInstance && "pageId" in value;
1730
- isInstance = isInstance && "version" in value;
1731
- isInstance = isInstance && "meta" in value;
1732
1702
  return isInstance;
1733
1703
  }
1734
- function GetPage200ResponseDataFromJSON(json) {
1735
- return GetPage200ResponseDataFromJSONTyped(json, false);
1704
+ function SigninCalendarRecordsInnerFromJSON(json) {
1705
+ return SigninCalendarRecordsInnerFromJSONTyped(json, false);
1736
1706
  }
1737
- function GetPage200ResponseDataFromJSONTyped(json, ignoreDiscriminator) {
1707
+ function SigninCalendarRecordsInnerFromJSONTyped(json, ignoreDiscriminator) {
1738
1708
  if (json === void 0 || json === null) {
1739
1709
  return json;
1740
1710
  }
1741
1711
  return {
1742
- "pageId": json["pageId"],
1743
- "version": json["version"],
1744
- "meta": GetPage200ResponseDataMetaFromJSON(json["meta"]),
1745
- "integrity": !exists(json, "integrity") ? void 0 : json["integrity"]
1712
+ "day": !exists(json, "day") ? void 0 : json["day"],
1713
+ "signedIn": !exists(json, "signedIn") ? void 0 : json["signedIn"],
1714
+ "reward": !exists(json, "reward") ? void 0 : SigninCalendarRecordsInnerRewardFromJSON(json["reward"])
1746
1715
  };
1747
1716
  }
1748
- function GetPage200ResponseDataToJSON(value) {
1717
+ function SigninCalendarRecordsInnerToJSON(value) {
1749
1718
  if (value === void 0) {
1750
1719
  return void 0;
1751
1720
  }
@@ -1753,31 +1722,36 @@ function GetPage200ResponseDataToJSON(value) {
1753
1722
  return null;
1754
1723
  }
1755
1724
  return {
1756
- "pageId": value.pageId,
1757
- "version": value.version,
1758
- "meta": GetPage200ResponseDataMetaToJSON(value.meta),
1759
- "integrity": value.integrity
1725
+ "day": value.day,
1726
+ "signedIn": value.signedIn,
1727
+ "reward": SigninCalendarRecordsInnerRewardToJSON(value.reward)
1760
1728
  };
1761
1729
  }
1762
1730
 
1763
- // src/generated/models/GetPage200Response.ts
1764
- function instanceOfGetPage200Response(value) {
1731
+ // src/generated/models/SigninCalendar.ts
1732
+ function instanceOfSigninCalendar(value) {
1765
1733
  let isInstance = true;
1766
- isInstance = isInstance && "data" in value;
1734
+ isInstance = isInstance && "year" in value;
1735
+ isInstance = isInstance && "month" in value;
1736
+ isInstance = isInstance && "records" in value;
1767
1737
  return isInstance;
1768
1738
  }
1769
- function GetPage200ResponseFromJSON(json) {
1770
- return GetPage200ResponseFromJSONTyped(json, false);
1739
+ function SigninCalendarFromJSON(json) {
1740
+ return SigninCalendarFromJSONTyped(json, false);
1771
1741
  }
1772
- function GetPage200ResponseFromJSONTyped(json, ignoreDiscriminator) {
1742
+ function SigninCalendarFromJSONTyped(json, ignoreDiscriminator) {
1773
1743
  if (json === void 0 || json === null) {
1774
1744
  return json;
1775
1745
  }
1776
1746
  return {
1777
- "data": GetPage200ResponseDataFromJSON(json["data"])
1747
+ "year": json["year"],
1748
+ "month": json["month"],
1749
+ "records": json["records"].map(SigninCalendarRecordsInnerFromJSON),
1750
+ "consecutiveDays": !exists(json, "consecutiveDays") ? void 0 : json["consecutiveDays"],
1751
+ "totalDays": !exists(json, "totalDays") ? void 0 : json["totalDays"]
1778
1752
  };
1779
1753
  }
1780
- function GetPage200ResponseToJSON(value) {
1754
+ function SigninCalendarToJSON(value) {
1781
1755
  if (value === void 0) {
1782
1756
  return void 0;
1783
1757
  }
@@ -1785,219 +1759,21 @@ function GetPage200ResponseToJSON(value) {
1785
1759
  return null;
1786
1760
  }
1787
1761
  return {
1788
- "data": GetPage200ResponseDataToJSON(value.data)
1762
+ "year": value.year,
1763
+ "month": value.month,
1764
+ "records": value.records.map(SigninCalendarRecordsInnerToJSON),
1765
+ "consecutiveDays": value.consecutiveDays,
1766
+ "totalDays": value.totalDays
1789
1767
  };
1790
1768
  }
1791
1769
 
1792
- // src/generated/models/GetPage404Response.ts
1793
- function instanceOfGetPage404Response(value) {
1770
+ // src/generated/models/GetSigninCalendar200Response.ts
1771
+ function instanceOfGetSigninCalendar200Response(value) {
1794
1772
  let isInstance = true;
1795
- isInstance = isInstance && "code" in value;
1796
- isInstance = isInstance && "message" in value;
1797
1773
  return isInstance;
1798
1774
  }
1799
- function GetPage404ResponseFromJSON(json) {
1800
- return GetPage404ResponseFromJSONTyped(json, false);
1801
- }
1802
- function GetPage404ResponseFromJSONTyped(json, ignoreDiscriminator) {
1803
- if (json === void 0 || json === null) {
1804
- return json;
1805
- }
1806
- return {
1807
- "code": json["code"],
1808
- "message": json["message"],
1809
- "details": !exists(json, "details") ? void 0 : json["details"].map(GetPage404ResponseDetailsInnerFromJSON),
1810
- "traceId": !exists(json, "traceId") ? void 0 : json["traceId"]
1811
- };
1812
- }
1813
- function GetPage404ResponseToJSON(value) {
1814
- if (value === void 0) {
1815
- return void 0;
1816
- }
1817
- if (value === null) {
1818
- return null;
1819
- }
1820
- return {
1821
- "code": value.code,
1822
- "message": value.message,
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)
1890
- };
1891
- }
1892
-
1893
- // src/generated/models/GetSigninCalendar200ResponseDataRecordsInnerReward.ts
1894
- function instanceOfGetSigninCalendar200ResponseDataRecordsInnerReward(value) {
1895
- let isInstance = true;
1896
- return isInstance;
1897
- }
1898
- function GetSigninCalendar200ResponseDataRecordsInnerRewardFromJSON(json) {
1899
- return GetSigninCalendar200ResponseDataRecordsInnerRewardFromJSONTyped(json, false);
1900
- }
1901
- function GetSigninCalendar200ResponseDataRecordsInnerRewardFromJSONTyped(json, ignoreDiscriminator) {
1902
- if (json === void 0 || json === null) {
1903
- return json;
1904
- }
1905
- return {
1906
- "name": !exists(json, "name") ? void 0 : json["name"],
1907
- "amount": !exists(json, "amount") ? void 0 : json["amount"]
1908
- };
1909
- }
1910
- function GetSigninCalendar200ResponseDataRecordsInnerRewardToJSON(value) {
1911
- if (value === void 0) {
1912
- return void 0;
1913
- }
1914
- if (value === null) {
1915
- return null;
1916
- }
1917
- return {
1918
- "name": value.name,
1919
- "amount": value.amount
1920
- };
1921
- }
1922
-
1923
- // src/generated/models/GetSigninCalendar200ResponseDataRecordsInner.ts
1924
- function instanceOfGetSigninCalendar200ResponseDataRecordsInner(value) {
1925
- let isInstance = true;
1926
- return isInstance;
1927
- }
1928
- function GetSigninCalendar200ResponseDataRecordsInnerFromJSON(json) {
1929
- return GetSigninCalendar200ResponseDataRecordsInnerFromJSONTyped(json, false);
1930
- }
1931
- function GetSigninCalendar200ResponseDataRecordsInnerFromJSONTyped(json, ignoreDiscriminator) {
1932
- if (json === void 0 || json === null) {
1933
- return json;
1934
- }
1935
- return {
1936
- "day": !exists(json, "day") ? void 0 : json["day"],
1937
- "signedIn": !exists(json, "signedIn") ? void 0 : json["signedIn"],
1938
- "reward": !exists(json, "reward") ? void 0 : GetSigninCalendar200ResponseDataRecordsInnerRewardFromJSON(json["reward"])
1939
- };
1940
- }
1941
- function GetSigninCalendar200ResponseDataRecordsInnerToJSON(value) {
1942
- if (value === void 0) {
1943
- return void 0;
1944
- }
1945
- if (value === null) {
1946
- return null;
1947
- }
1948
- return {
1949
- "day": value.day,
1950
- "signedIn": value.signedIn,
1951
- "reward": GetSigninCalendar200ResponseDataRecordsInnerRewardToJSON(value.reward)
1952
- };
1953
- }
1954
-
1955
- // src/generated/models/GetSigninCalendar200ResponseData.ts
1956
- function instanceOfGetSigninCalendar200ResponseData(value) {
1957
- let isInstance = true;
1958
- isInstance = isInstance && "year" in value;
1959
- isInstance = isInstance && "month" in value;
1960
- isInstance = isInstance && "records" in value;
1961
- return isInstance;
1962
- }
1963
- function GetSigninCalendar200ResponseDataFromJSON(json) {
1964
- return GetSigninCalendar200ResponseDataFromJSONTyped(json, false);
1965
- }
1966
- function GetSigninCalendar200ResponseDataFromJSONTyped(json, ignoreDiscriminator) {
1967
- if (json === void 0 || json === null) {
1968
- return json;
1969
- }
1970
- return {
1971
- "year": json["year"],
1972
- "month": json["month"],
1973
- "records": json["records"].map(GetSigninCalendar200ResponseDataRecordsInnerFromJSON),
1974
- "consecutiveDays": !exists(json, "consecutiveDays") ? void 0 : json["consecutiveDays"],
1975
- "totalDays": !exists(json, "totalDays") ? void 0 : json["totalDays"]
1976
- };
1977
- }
1978
- function GetSigninCalendar200ResponseDataToJSON(value) {
1979
- if (value === void 0) {
1980
- return void 0;
1981
- }
1982
- if (value === null) {
1983
- return null;
1984
- }
1985
- return {
1986
- "year": value.year,
1987
- "month": value.month,
1988
- "records": value.records.map(GetSigninCalendar200ResponseDataRecordsInnerToJSON),
1989
- "consecutiveDays": value.consecutiveDays,
1990
- "totalDays": value.totalDays
1991
- };
1992
- }
1993
-
1994
- // src/generated/models/GetSigninCalendar200Response.ts
1995
- function instanceOfGetSigninCalendar200Response(value) {
1996
- let isInstance = true;
1997
- return isInstance;
1998
- }
1999
- function GetSigninCalendar200ResponseFromJSON(json) {
2000
- return GetSigninCalendar200ResponseFromJSONTyped(json, false);
1775
+ function GetSigninCalendar200ResponseFromJSON(json) {
1776
+ return GetSigninCalendar200ResponseFromJSONTyped(json, false);
2001
1777
  }
2002
1778
  function GetSigninCalendar200ResponseFromJSONTyped(json, ignoreDiscriminator) {
2003
1779
  if (json === void 0 || json === null) {
@@ -2005,7 +1781,7 @@ function GetSigninCalendar200ResponseFromJSONTyped(json, ignoreDiscriminator) {
2005
1781
  }
2006
1782
  return {
2007
1783
  "success": !exists(json, "success") ? void 0 : json["success"],
2008
- "data": !exists(json, "data") ? void 0 : GetSigninCalendar200ResponseDataFromJSON(json["data"])
1784
+ "data": !exists(json, "data") ? void 0 : SigninCalendarFromJSON(json["data"])
2009
1785
  };
2010
1786
  }
2011
1787
  function GetSigninCalendar200ResponseToJSON(value) {
@@ -2017,19 +1793,19 @@ function GetSigninCalendar200ResponseToJSON(value) {
2017
1793
  }
2018
1794
  return {
2019
1795
  "success": value.success,
2020
- "data": GetSigninCalendar200ResponseDataToJSON(value.data)
1796
+ "data": SigninCalendarToJSON(value.data)
2021
1797
  };
2022
1798
  }
2023
1799
 
2024
- // src/generated/models/GetTenantConfig200ResponseDataBlockedComponentsInner.ts
2025
- function instanceOfGetTenantConfig200ResponseDataBlockedComponentsInner(value) {
1800
+ // src/generated/models/TenantConfigBlockedComponentsInner.ts
1801
+ function instanceOfTenantConfigBlockedComponentsInner(value) {
2026
1802
  let isInstance = true;
2027
1803
  return isInstance;
2028
1804
  }
2029
- function GetTenantConfig200ResponseDataBlockedComponentsInnerFromJSON(json) {
2030
- return GetTenantConfig200ResponseDataBlockedComponentsInnerFromJSONTyped(json, false);
1805
+ function TenantConfigBlockedComponentsInnerFromJSON(json) {
1806
+ return TenantConfigBlockedComponentsInnerFromJSONTyped(json, false);
2031
1807
  }
2032
- function GetTenantConfig200ResponseDataBlockedComponentsInnerFromJSONTyped(json, ignoreDiscriminator) {
1808
+ function TenantConfigBlockedComponentsInnerFromJSONTyped(json, ignoreDiscriminator) {
2033
1809
  if (json === void 0 || json === null) {
2034
1810
  return json;
2035
1811
  }
@@ -2039,7 +1815,7 @@ function GetTenantConfig200ResponseDataBlockedComponentsInnerFromJSONTyped(json,
2039
1815
  "reason": !exists(json, "reason") ? void 0 : json["reason"]
2040
1816
  };
2041
1817
  }
2042
- function GetTenantConfig200ResponseDataBlockedComponentsInnerToJSON(value) {
1818
+ function TenantConfigBlockedComponentsInnerToJSON(value) {
2043
1819
  if (value === void 0) {
2044
1820
  return void 0;
2045
1821
  }
@@ -2053,15 +1829,15 @@ function GetTenantConfig200ResponseDataBlockedComponentsInnerToJSON(value) {
2053
1829
  };
2054
1830
  }
2055
1831
 
2056
- // src/generated/models/GetTenantConfig200ResponseDataKillSwitch.ts
2057
- function instanceOfGetTenantConfig200ResponseDataKillSwitch(value) {
1832
+ // src/generated/models/TenantConfigKillSwitch.ts
1833
+ function instanceOfTenantConfigKillSwitch(value) {
2058
1834
  let isInstance = true;
2059
1835
  return isInstance;
2060
1836
  }
2061
- function GetTenantConfig200ResponseDataKillSwitchFromJSON(json) {
2062
- return GetTenantConfig200ResponseDataKillSwitchFromJSONTyped(json, false);
1837
+ function TenantConfigKillSwitchFromJSON(json) {
1838
+ return TenantConfigKillSwitchFromJSONTyped(json, false);
2063
1839
  }
2064
- function GetTenantConfig200ResponseDataKillSwitchFromJSONTyped(json, ignoreDiscriminator) {
1840
+ function TenantConfigKillSwitchFromJSONTyped(json, ignoreDiscriminator) {
2065
1841
  if (json === void 0 || json === null) {
2066
1842
  return json;
2067
1843
  }
@@ -2071,7 +1847,7 @@ function GetTenantConfig200ResponseDataKillSwitchFromJSONTyped(json, ignoreDiscr
2071
1847
  "fallbackUrl": !exists(json, "fallbackUrl") ? void 0 : json["fallbackUrl"]
2072
1848
  };
2073
1849
  }
2074
- function GetTenantConfig200ResponseDataKillSwitchToJSON(value) {
1850
+ function TenantConfigKillSwitchToJSON(value) {
2075
1851
  if (value === void 0) {
2076
1852
  return void 0;
2077
1853
  }
@@ -2085,15 +1861,15 @@ function GetTenantConfig200ResponseDataKillSwitchToJSON(value) {
2085
1861
  };
2086
1862
  }
2087
1863
 
2088
- // src/generated/models/GetTenantConfig200ResponseData.ts
2089
- function instanceOfGetTenantConfig200ResponseData(value) {
1864
+ // src/generated/models/TenantConfig.ts
1865
+ function instanceOfTenantConfig(value) {
2090
1866
  let isInstance = true;
2091
1867
  return isInstance;
2092
1868
  }
2093
- function GetTenantConfig200ResponseDataFromJSON(json) {
2094
- return GetTenantConfig200ResponseDataFromJSONTyped(json, false);
1869
+ function TenantConfigFromJSON(json) {
1870
+ return TenantConfigFromJSONTyped(json, false);
2095
1871
  }
2096
- function GetTenantConfig200ResponseDataFromJSONTyped(json, ignoreDiscriminator) {
1872
+ function TenantConfigFromJSONTyped(json, ignoreDiscriminator) {
2097
1873
  if (json === void 0 || json === null) {
2098
1874
  return json;
2099
1875
  }
@@ -2102,11 +1878,11 @@ function GetTenantConfig200ResponseDataFromJSONTyped(json, ignoreDiscriminator)
2102
1878
  "theme": !exists(json, "theme") ? void 0 : json["theme"],
2103
1879
  "cdnDomain": !exists(json, "cdnDomain") ? void 0 : json["cdnDomain"],
2104
1880
  "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"])
1881
+ "blockedComponents": !exists(json, "blockedComponents") ? void 0 : json["blockedComponents"].map(TenantConfigBlockedComponentsInnerFromJSON),
1882
+ "killSwitch": !exists(json, "killSwitch") ? void 0 : TenantConfigKillSwitchFromJSON(json["killSwitch"])
2107
1883
  };
2108
1884
  }
2109
- function GetTenantConfig200ResponseDataToJSON(value) {
1885
+ function TenantConfigToJSON(value) {
2110
1886
  if (value === void 0) {
2111
1887
  return void 0;
2112
1888
  }
@@ -2118,8 +1894,8 @@ function GetTenantConfig200ResponseDataToJSON(value) {
2118
1894
  "theme": value.theme,
2119
1895
  "cdnDomain": value.cdnDomain,
2120
1896
  "runtimeVersion": value.runtimeVersion,
2121
- "blockedComponents": value.blockedComponents === void 0 ? void 0 : value.blockedComponents.map(GetTenantConfig200ResponseDataBlockedComponentsInnerToJSON),
2122
- "killSwitch": GetTenantConfig200ResponseDataKillSwitchToJSON(value.killSwitch)
1897
+ "blockedComponents": value.blockedComponents === void 0 ? void 0 : value.blockedComponents.map(TenantConfigBlockedComponentsInnerToJSON),
1898
+ "killSwitch": TenantConfigKillSwitchToJSON(value.killSwitch)
2123
1899
  };
2124
1900
  }
2125
1901
 
@@ -2137,7 +1913,7 @@ function GetTenantConfig200ResponseFromJSONTyped(json, ignoreDiscriminator) {
2137
1913
  }
2138
1914
  return {
2139
1915
  "success": !exists(json, "success") ? void 0 : json["success"],
2140
- "data": !exists(json, "data") ? void 0 : GetTenantConfig200ResponseDataFromJSON(json["data"])
1916
+ "data": !exists(json, "data") ? void 0 : TenantConfigFromJSON(json["data"])
2141
1917
  };
2142
1918
  }
2143
1919
  function GetTenantConfig200ResponseToJSON(value) {
@@ -2149,24 +1925,24 @@ function GetTenantConfig200ResponseToJSON(value) {
2149
1925
  }
2150
1926
  return {
2151
1927
  "success": value.success,
2152
- "data": GetTenantConfig200ResponseDataToJSON(value.data)
1928
+ "data": TenantConfigToJSON(value.data)
2153
1929
  };
2154
1930
  }
2155
1931
 
2156
- // src/generated/models/HealthCheck200ResponseDependenciesValue.ts
2157
- var HealthCheck200ResponseDependenciesValueStatusEnum = {
1932
+ // src/generated/models/HealthResponseDependenciesValue.ts
1933
+ var HealthResponseDependenciesValueStatusEnum = {
2158
1934
  HEALTHY: "healthy",
2159
1935
  DEGRADED: "degraded",
2160
1936
  UNHEALTHY: "unhealthy"
2161
1937
  };
2162
- function instanceOfHealthCheck200ResponseDependenciesValue(value) {
1938
+ function instanceOfHealthResponseDependenciesValue(value) {
2163
1939
  let isInstance = true;
2164
1940
  return isInstance;
2165
1941
  }
2166
- function HealthCheck200ResponseDependenciesValueFromJSON(json) {
2167
- return HealthCheck200ResponseDependenciesValueFromJSONTyped(json, false);
1942
+ function HealthResponseDependenciesValueFromJSON(json) {
1943
+ return HealthResponseDependenciesValueFromJSONTyped(json, false);
2168
1944
  }
2169
- function HealthCheck200ResponseDependenciesValueFromJSONTyped(json, ignoreDiscriminator) {
1945
+ function HealthResponseDependenciesValueFromJSONTyped(json, ignoreDiscriminator) {
2170
1946
  if (json === void 0 || json === null) {
2171
1947
  return json;
2172
1948
  }
@@ -2176,7 +1952,7 @@ function HealthCheck200ResponseDependenciesValueFromJSONTyped(json, ignoreDiscri
2176
1952
  "message": !exists(json, "message") ? void 0 : json["message"]
2177
1953
  };
2178
1954
  }
2179
- function HealthCheck200ResponseDependenciesValueToJSON(value) {
1955
+ function HealthResponseDependenciesValueToJSON(value) {
2180
1956
  if (value === void 0) {
2181
1957
  return void 0;
2182
1958
  }
@@ -2190,22 +1966,22 @@ function HealthCheck200ResponseDependenciesValueToJSON(value) {
2190
1966
  };
2191
1967
  }
2192
1968
 
2193
- // src/generated/models/HealthCheck200Response.ts
2194
- var HealthCheck200ResponseStatusEnum = {
1969
+ // src/generated/models/HealthResponse.ts
1970
+ var HealthResponseStatusEnum = {
2195
1971
  HEALTHY: "healthy",
2196
1972
  DEGRADED: "degraded",
2197
1973
  UNHEALTHY: "unhealthy"
2198
1974
  };
2199
- function instanceOfHealthCheck200Response(value) {
1975
+ function instanceOfHealthResponse(value) {
2200
1976
  let isInstance = true;
2201
1977
  isInstance = isInstance && "status" in value;
2202
1978
  isInstance = isInstance && "version" in value;
2203
1979
  return isInstance;
2204
1980
  }
2205
- function HealthCheck200ResponseFromJSON(json) {
2206
- return HealthCheck200ResponseFromJSONTyped(json, false);
1981
+ function HealthResponseFromJSON(json) {
1982
+ return HealthResponseFromJSONTyped(json, false);
2207
1983
  }
2208
- function HealthCheck200ResponseFromJSONTyped(json, ignoreDiscriminator) {
1984
+ function HealthResponseFromJSONTyped(json, ignoreDiscriminator) {
2209
1985
  if (json === void 0 || json === null) {
2210
1986
  return json;
2211
1987
  }
@@ -2214,10 +1990,10 @@ function HealthCheck200ResponseFromJSONTyped(json, ignoreDiscriminator) {
2214
1990
  "version": json["version"],
2215
1991
  "uptime": !exists(json, "uptime") ? void 0 : json["uptime"],
2216
1992
  "timestamp": !exists(json, "timestamp") ? void 0 : new Date(json["timestamp"]),
2217
- "dependencies": !exists(json, "dependencies") ? void 0 : mapValues(json["dependencies"], HealthCheck200ResponseDependenciesValueFromJSON)
1993
+ "dependencies": !exists(json, "dependencies") ? void 0 : mapValues(json["dependencies"], HealthResponseDependenciesValueFromJSON)
2218
1994
  };
2219
1995
  }
2220
- function HealthCheck200ResponseToJSON(value) {
1996
+ function HealthResponseToJSON(value) {
2221
1997
  if (value === void 0) {
2222
1998
  return void 0;
2223
1999
  }
@@ -2229,38 +2005,30 @@ function HealthCheck200ResponseToJSON(value) {
2229
2005
  "version": value.version,
2230
2006
  "uptime": value.uptime,
2231
2007
  "timestamp": value.timestamp === void 0 ? void 0 : value.timestamp.toISOString(),
2232
- "dependencies": value.dependencies === void 0 ? void 0 : mapValues(value.dependencies, HealthCheck200ResponseDependenciesValueToJSON)
2008
+ "dependencies": value.dependencies === void 0 ? void 0 : mapValues(value.dependencies, HealthResponseDependenciesValueToJSON)
2233
2009
  };
2234
2010
  }
2235
2011
 
2236
- // src/generated/models/HealthResponse.ts
2237
- var HealthResponseStatusEnum = {
2238
- HEALTHY: "healthy",
2239
- DEGRADED: "degraded",
2240
- UNHEALTHY: "unhealthy"
2241
- };
2242
- function instanceOfHealthResponse(value) {
2012
+ // src/generated/models/IdempotencyConflictResponseData.ts
2013
+ function instanceOfIdempotencyConflictResponseData(value) {
2243
2014
  let isInstance = true;
2244
- isInstance = isInstance && "status" in value;
2245
- isInstance = isInstance && "version" in value;
2246
2015
  return isInstance;
2247
2016
  }
2248
- function HealthResponseFromJSON(json) {
2249
- return HealthResponseFromJSONTyped(json, false);
2017
+ function IdempotencyConflictResponseDataFromJSON(json) {
2018
+ return IdempotencyConflictResponseDataFromJSONTyped(json, false);
2250
2019
  }
2251
- function HealthResponseFromJSONTyped(json, ignoreDiscriminator) {
2020
+ function IdempotencyConflictResponseDataFromJSONTyped(json, ignoreDiscriminator) {
2252
2021
  if (json === void 0 || json === null) {
2253
2022
  return json;
2254
2023
  }
2255
2024
  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)
2025
+ "idempotent": !exists(json, "idempotent") ? void 0 : json["idempotent"],
2026
+ "originalActionId": !exists(json, "originalActionId") ? void 0 : json["originalActionId"],
2027
+ "originalResult": !exists(json, "originalResult") ? void 0 : json["originalResult"],
2028
+ "originalExecutedAt": !exists(json, "originalExecutedAt") ? void 0 : new Date(json["originalExecutedAt"])
2261
2029
  };
2262
2030
  }
2263
- function HealthResponseToJSON(value) {
2031
+ function IdempotencyConflictResponseDataToJSON(value) {
2264
2032
  if (value === void 0) {
2265
2033
  return void 0;
2266
2034
  }
@@ -2268,11 +2036,10 @@ function HealthResponseToJSON(value) {
2268
2036
  return null;
2269
2037
  }
2270
2038
  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)
2039
+ "idempotent": value.idempotent,
2040
+ "originalActionId": value.originalActionId,
2041
+ "originalResult": value.originalResult,
2042
+ "originalExecutedAt": value.originalExecutedAt === void 0 ? void 0 : value.originalExecutedAt.toISOString()
2276
2043
  };
2277
2044
  }
2278
2045
 
@@ -2292,7 +2059,7 @@ function IdempotencyConflictResponseFromJSONTyped(json, ignoreDiscriminator) {
2292
2059
  }
2293
2060
  return {
2294
2061
  "success": json["success"],
2295
- "data": ExecuteAction409ResponseDataFromJSON(json["data"])
2062
+ "data": IdempotencyConflictResponseDataFromJSON(json["data"])
2296
2063
  };
2297
2064
  }
2298
2065
  function IdempotencyConflictResponseToJSON(value) {
@@ -2304,7 +2071,7 @@ function IdempotencyConflictResponseToJSON(value) {
2304
2071
  }
2305
2072
  return {
2306
2073
  "success": value.success,
2307
- "data": ExecuteAction409ResponseDataToJSON(value.data)
2074
+ "data": IdempotencyConflictResponseDataToJSON(value.data)
2308
2075
  };
2309
2076
  }
2310
2077
 
@@ -2334,210 +2101,27 @@ function LivenessCheck200ResponseToJSON(value) {
2334
2101
  return {
2335
2102
  "alive": value.alive
2336
2103
  };
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
- };
2353
- function instanceOfLotteryRecordInfo(value) {
2354
- let isInstance = true;
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;
2104
+ }
2105
+
2106
+ // src/generated/models/OpsConfigBlockedComponentsInner.ts
2107
+ function instanceOfOpsConfigBlockedComponentsInner(value) {
2108
+ let isInstance = true;
2519
2109
  return isInstance;
2520
2110
  }
2521
- function PublicActivityInfoFromJSON(json) {
2522
- return PublicActivityInfoFromJSONTyped(json, false);
2111
+ function OpsConfigBlockedComponentsInnerFromJSON(json) {
2112
+ return OpsConfigBlockedComponentsInnerFromJSONTyped(json, false);
2523
2113
  }
2524
- function PublicActivityInfoFromJSONTyped(json, ignoreDiscriminator) {
2114
+ function OpsConfigBlockedComponentsInnerFromJSONTyped(json, ignoreDiscriminator) {
2525
2115
  if (json === void 0 || json === null) {
2526
2116
  return json;
2527
2117
  }
2528
2118
  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)
2119
+ "componentName": !exists(json, "componentName") ? void 0 : json["componentName"],
2120
+ "componentVersion": !exists(json, "componentVersion") ? void 0 : json["componentVersion"],
2121
+ "reason": !exists(json, "reason") ? void 0 : json["reason"]
2538
2122
  };
2539
2123
  }
2540
- function PublicActivityInfoToJSON(value) {
2124
+ function OpsConfigBlockedComponentsInnerToJSON(value) {
2541
2125
  if (value === void 0) {
2542
2126
  return void 0;
2543
2127
  }
@@ -2545,38 +2129,34 @@ function PublicActivityInfoToJSON(value) {
2545
2129
  return null;
2546
2130
  }
2547
2131
  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)
2132
+ "componentName": value.componentName,
2133
+ "componentVersion": value.componentVersion,
2134
+ "reason": value.reason
2557
2135
  };
2558
2136
  }
2559
2137
 
2560
- // src/generated/models/QueryContext.ts
2561
- function instanceOfQueryContext(value) {
2138
+ // src/generated/models/OpsConfig.ts
2139
+ function instanceOfOpsConfig(value) {
2562
2140
  let isInstance = true;
2141
+ isInstance = isInstance && "killSwitch" in value;
2142
+ isInstance = isInstance && "blockedComponents" in value;
2143
+ isInstance = isInstance && "flags" in value;
2563
2144
  return isInstance;
2564
2145
  }
2565
- function QueryContextFromJSON(json) {
2566
- return QueryContextFromJSONTyped(json, false);
2146
+ function OpsConfigFromJSON(json) {
2147
+ return OpsConfigFromJSONTyped(json, false);
2567
2148
  }
2568
- function QueryContextFromJSONTyped(json, ignoreDiscriminator) {
2149
+ function OpsConfigFromJSONTyped(json, ignoreDiscriminator) {
2569
2150
  if (json === void 0 || json === null) {
2570
2151
  return json;
2571
2152
  }
2572
2153
  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"]
2154
+ "killSwitch": json["killSwitch"],
2155
+ "blockedComponents": json["blockedComponents"].map(OpsConfigBlockedComponentsInnerFromJSON),
2156
+ "flags": json["flags"]
2577
2157
  };
2578
2158
  }
2579
- function QueryContextToJSON(value) {
2159
+ function OpsConfigToJSON(value) {
2580
2160
  if (value === void 0) {
2581
2161
  return void 0;
2582
2162
  }
@@ -2584,33 +2164,30 @@ function QueryContextToJSON(value) {
2584
2164
  return null;
2585
2165
  }
2586
2166
  return {
2587
- "pageVersionId": value.pageVersionId,
2588
- "uid": value.uid,
2589
- "sessionId": value.sessionId,
2590
- "traceId": value.traceId
2167
+ "killSwitch": value.killSwitch,
2168
+ "blockedComponents": value.blockedComponents.map(OpsConfigBlockedComponentsInnerToJSON),
2169
+ "flags": value.flags
2591
2170
  };
2592
2171
  }
2593
2172
 
2594
- // src/generated/models/QueryData200ResponseMetaPagination.ts
2595
- function instanceOfQueryData200ResponseMetaPagination(value) {
2173
+ // src/generated/models/PageResponseAllOfDataMeta.ts
2174
+ function instanceOfPageResponseAllOfDataMeta(value) {
2596
2175
  let isInstance = true;
2597
2176
  return isInstance;
2598
2177
  }
2599
- function QueryData200ResponseMetaPaginationFromJSON(json) {
2600
- return QueryData200ResponseMetaPaginationFromJSONTyped(json, false);
2178
+ function PageResponseAllOfDataMetaFromJSON(json) {
2179
+ return PageResponseAllOfDataMetaFromJSONTyped(json, false);
2601
2180
  }
2602
- function QueryData200ResponseMetaPaginationFromJSONTyped(json, ignoreDiscriminator) {
2181
+ function PageResponseAllOfDataMetaFromJSONTyped(json, ignoreDiscriminator) {
2603
2182
  if (json === void 0 || json === null) {
2604
2183
  return json;
2605
2184
  }
2606
2185
  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"]
2186
+ "title": !exists(json, "title") ? void 0 : json["title"],
2187
+ "description": !exists(json, "description") ? void 0 : json["description"]
2611
2188
  };
2612
2189
  }
2613
- function QueryData200ResponseMetaPaginationToJSON(value) {
2190
+ function PageResponseAllOfDataMetaToJSON(value) {
2614
2191
  if (value === void 0) {
2615
2192
  return void 0;
2616
2193
  }
@@ -2618,34 +2195,34 @@ function QueryData200ResponseMetaPaginationToJSON(value) {
2618
2195
  return null;
2619
2196
  }
2620
2197
  return {
2621
- "page": value.page,
2622
- "limit": value.limit,
2623
- "total": value.total,
2624
- "hasMore": value.hasMore
2198
+ "title": value.title,
2199
+ "description": value.description
2625
2200
  };
2626
2201
  }
2627
2202
 
2628
- // src/generated/models/QueryData200ResponseMeta.ts
2629
- function instanceOfQueryData200ResponseMeta(value) {
2203
+ // src/generated/models/PageResponseAllOfData.ts
2204
+ function instanceOfPageResponseAllOfData(value) {
2630
2205
  let isInstance = true;
2206
+ isInstance = isInstance && "pageId" in value;
2207
+ isInstance = isInstance && "version" in value;
2208
+ isInstance = isInstance && "meta" in value;
2631
2209
  return isInstance;
2632
2210
  }
2633
- function QueryData200ResponseMetaFromJSON(json) {
2634
- return QueryData200ResponseMetaFromJSONTyped(json, false);
2211
+ function PageResponseAllOfDataFromJSON(json) {
2212
+ return PageResponseAllOfDataFromJSONTyped(json, false);
2635
2213
  }
2636
- function QueryData200ResponseMetaFromJSONTyped(json, ignoreDiscriminator) {
2214
+ function PageResponseAllOfDataFromJSONTyped(json, ignoreDiscriminator) {
2637
2215
  if (json === void 0 || json === null) {
2638
2216
  return json;
2639
2217
  }
2640
2218
  return {
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"])
2219
+ "pageId": json["pageId"],
2220
+ "version": json["version"],
2221
+ "meta": PageResponseAllOfDataMetaFromJSON(json["meta"]),
2222
+ "integrity": !exists(json, "integrity") ? void 0 : json["integrity"]
2646
2223
  };
2647
2224
  }
2648
- function QueryData200ResponseMetaToJSON(value) {
2225
+ function PageResponseAllOfDataToJSON(value) {
2649
2226
  if (value === void 0) {
2650
2227
  return void 0;
2651
2228
  }
@@ -2653,35 +2230,42 @@ function QueryData200ResponseMetaToJSON(value) {
2653
2230
  return null;
2654
2231
  }
2655
2232
  return {
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)
2233
+ "pageId": value.pageId,
2234
+ "version": value.version,
2235
+ "meta": PageResponseAllOfDataMetaToJSON(value.meta),
2236
+ "integrity": value.integrity
2661
2237
  };
2662
2238
  }
2663
2239
 
2664
- // src/generated/models/QueryData200Response.ts
2665
- function instanceOfQueryData200Response(value) {
2240
+ // src/generated/models/PageResponse.ts
2241
+ function instanceOfPageResponse(value) {
2666
2242
  let isInstance = true;
2667
2243
  isInstance = isInstance && "success" in value;
2244
+ isInstance = isInstance && "code" in value;
2245
+ isInstance = isInstance && "message" in value;
2668
2246
  isInstance = isInstance && "data" in value;
2247
+ isInstance = isInstance && "timestamp" in value;
2248
+ isInstance = isInstance && "path" in value;
2669
2249
  return isInstance;
2670
2250
  }
2671
- function QueryData200ResponseFromJSON(json) {
2672
- return QueryData200ResponseFromJSONTyped(json, false);
2251
+ function PageResponseFromJSON(json) {
2252
+ return PageResponseFromJSONTyped(json, false);
2673
2253
  }
2674
- function QueryData200ResponseFromJSONTyped(json, ignoreDiscriminator) {
2254
+ function PageResponseFromJSONTyped(json, ignoreDiscriminator) {
2675
2255
  if (json === void 0 || json === null) {
2676
2256
  return json;
2677
2257
  }
2678
2258
  return {
2679
2259
  "success": json["success"],
2680
- "data": json["data"],
2681
- "meta": !exists(json, "meta") ? void 0 : QueryData200ResponseMetaFromJSON(json["meta"])
2260
+ "code": json["code"],
2261
+ "message": json["message"],
2262
+ "data": PageResponseAllOfDataFromJSON(json["data"]),
2263
+ "timestamp": json["timestamp"],
2264
+ "path": json["path"],
2265
+ "requestId": !exists(json, "requestId") ? void 0 : json["requestId"]
2682
2266
  };
2683
2267
  }
2684
- function QueryData200ResponseToJSON(value) {
2268
+ function PageResponseToJSON(value) {
2685
2269
  if (value === void 0) {
2686
2270
  return void 0;
2687
2271
  }
@@ -2690,30 +2274,33 @@ function QueryData200ResponseToJSON(value) {
2690
2274
  }
2691
2275
  return {
2692
2276
  "success": value.success,
2693
- "data": value.data,
2694
- "meta": QueryData200ResponseMetaToJSON(value.meta)
2277
+ "code": value.code,
2278
+ "message": value.message,
2279
+ "data": PageResponseAllOfDataToJSON(value.data),
2280
+ "timestamp": value.timestamp,
2281
+ "path": value.path,
2282
+ "requestId": value.requestId
2695
2283
  };
2696
2284
  }
2697
2285
 
2698
- // src/generated/models/QueryDataRequestOptions.ts
2699
- function instanceOfQueryDataRequestOptions(value) {
2286
+ // src/generated/models/QueryDataRequestCacheControl.ts
2287
+ function instanceOfQueryDataRequestCacheControl(value) {
2700
2288
  let isInstance = true;
2701
2289
  return isInstance;
2702
2290
  }
2703
- function QueryDataRequestOptionsFromJSON(json) {
2704
- return QueryDataRequestOptionsFromJSONTyped(json, false);
2291
+ function QueryDataRequestCacheControlFromJSON(json) {
2292
+ return QueryDataRequestCacheControlFromJSONTyped(json, false);
2705
2293
  }
2706
- function QueryDataRequestOptionsFromJSONTyped(json, ignoreDiscriminator) {
2294
+ function QueryDataRequestCacheControlFromJSONTyped(json, ignoreDiscriminator) {
2707
2295
  if (json === void 0 || json === null) {
2708
2296
  return json;
2709
2297
  }
2710
2298
  return {
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"]
2299
+ "noCache": !exists(json, "noCache") ? void 0 : json["noCache"],
2300
+ "forceRefresh": !exists(json, "forceRefresh") ? void 0 : json["forceRefresh"]
2714
2301
  };
2715
2302
  }
2716
- function QueryDataRequestOptionsToJSON(value) {
2303
+ function QueryDataRequestCacheControlToJSON(value) {
2717
2304
  if (value === void 0) {
2718
2305
  return void 0;
2719
2306
  }
@@ -2721,9 +2308,8 @@ function QueryDataRequestOptionsToJSON(value) {
2721
2308
  return null;
2722
2309
  }
2723
2310
  return {
2724
- "timeout": value.timeout,
2725
- "cache": value.cache,
2726
- "cacheKey": value.cacheKey
2311
+ "noCache": value.noCache,
2312
+ "forceRefresh": value.forceRefresh
2727
2313
  };
2728
2314
  }
2729
2315
 
@@ -2743,8 +2329,8 @@ function QueryDataRequestFromJSONTyped(json, ignoreDiscriminator) {
2743
2329
  return {
2744
2330
  "queryVersionId": json["queryVersionId"],
2745
2331
  "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"])
2332
+ "cacheControl": !exists(json, "cacheControl") ? void 0 : QueryDataRequestCacheControlFromJSON(json["cacheControl"]),
2333
+ "context": !exists(json, "context") ? void 0 : QueryContextFromJSON(json["context"])
2748
2334
  };
2749
2335
  }
2750
2336
  function QueryDataRequestToJSON(value) {
@@ -2757,8 +2343,8 @@ function QueryDataRequestToJSON(value) {
2757
2343
  return {
2758
2344
  "queryVersionId": value.queryVersionId,
2759
2345
  "params": value.params,
2760
- "context": QueryDataRequestContextToJSON(value.context),
2761
- "options": QueryDataRequestOptionsToJSON(value.options)
2346
+ "cacheControl": QueryDataRequestCacheControlToJSON(value.cacheControl),
2347
+ "context": QueryContextToJSON(value.context)
2762
2348
  };
2763
2349
  }
2764
2350
 
@@ -2766,7 +2352,11 @@ function QueryDataRequestToJSON(value) {
2766
2352
  function instanceOfQueryDataResponse(value) {
2767
2353
  let isInstance = true;
2768
2354
  isInstance = isInstance && "success" in value;
2355
+ isInstance = isInstance && "code" in value;
2356
+ isInstance = isInstance && "message" in value;
2769
2357
  isInstance = isInstance && "data" in value;
2358
+ isInstance = isInstance && "timestamp" in value;
2359
+ isInstance = isInstance && "path" in value;
2770
2360
  return isInstance;
2771
2361
  }
2772
2362
  function QueryDataResponseFromJSON(json) {
@@ -2778,8 +2368,21 @@ function QueryDataResponseFromJSONTyped(json, ignoreDiscriminator) {
2778
2368
  }
2779
2369
  return {
2780
2370
  "success": json["success"],
2371
+ "code": json["code"],
2372
+ "message": json["message"],
2781
2373
  "data": json["data"],
2782
- "meta": !exists(json, "meta") ? void 0 : QueryData200ResponseMetaFromJSON(json["meta"])
2374
+ "timestamp": json["timestamp"],
2375
+ "path": json["path"],
2376
+ "requestId": !exists(json, "requestId") ? void 0 : json["requestId"],
2377
+ "errorCode": !exists(json, "errorCode") ? void 0 : json["errorCode"],
2378
+ "errorMessage": !exists(json, "errorMessage") ? void 0 : json["errorMessage"],
2379
+ "fromCache": !exists(json, "fromCache") ? void 0 : json["fromCache"],
2380
+ "cachedAt": !exists(json, "cachedAt") ? void 0 : new Date(json["cachedAt"]),
2381
+ "age": !exists(json, "age") ? void 0 : json["age"],
2382
+ "traceId": !exists(json, "traceId") ? void 0 : json["traceId"],
2383
+ "duration": !exists(json, "duration") ? void 0 : json["duration"],
2384
+ "degraded": !exists(json, "degraded") ? void 0 : json["degraded"],
2385
+ "degradedReason": !exists(json, "degradedReason") ? void 0 : json["degradedReason"]
2783
2386
  };
2784
2387
  }
2785
2388
  function QueryDataResponseToJSON(value) {
@@ -2791,8 +2394,57 @@ function QueryDataResponseToJSON(value) {
2791
2394
  }
2792
2395
  return {
2793
2396
  "success": value.success,
2397
+ "code": value.code,
2398
+ "message": value.message,
2794
2399
  "data": value.data,
2795
- "meta": QueryData200ResponseMetaToJSON(value.meta)
2400
+ "timestamp": value.timestamp,
2401
+ "path": value.path,
2402
+ "requestId": value.requestId,
2403
+ "errorCode": value.errorCode,
2404
+ "errorMessage": value.errorMessage,
2405
+ "fromCache": value.fromCache,
2406
+ "cachedAt": value.cachedAt === void 0 ? void 0 : value.cachedAt.toISOString(),
2407
+ "age": value.age,
2408
+ "traceId": value.traceId,
2409
+ "duration": value.duration,
2410
+ "degraded": value.degraded,
2411
+ "degradedReason": value.degradedReason
2412
+ };
2413
+ }
2414
+
2415
+ // src/generated/models/QueryDefinitionResponseData.ts
2416
+ function instanceOfQueryDefinitionResponseData(value) {
2417
+ let isInstance = true;
2418
+ return isInstance;
2419
+ }
2420
+ function QueryDefinitionResponseDataFromJSON(json) {
2421
+ return QueryDefinitionResponseDataFromJSONTyped(json, false);
2422
+ }
2423
+ function QueryDefinitionResponseDataFromJSONTyped(json, ignoreDiscriminator) {
2424
+ if (json === void 0 || json === null) {
2425
+ return json;
2426
+ }
2427
+ return {
2428
+ "queryVersionId": !exists(json, "queryVersionId") ? void 0 : json["queryVersionId"],
2429
+ "name": !exists(json, "name") ? void 0 : json["name"],
2430
+ "paramsSchema": !exists(json, "paramsSchema") ? void 0 : json["paramsSchema"],
2431
+ "resultSchema": !exists(json, "resultSchema") ? void 0 : json["resultSchema"],
2432
+ "cacheTtl": !exists(json, "cacheTtl") ? void 0 : json["cacheTtl"]
2433
+ };
2434
+ }
2435
+ function QueryDefinitionResponseDataToJSON(value) {
2436
+ if (value === void 0) {
2437
+ return void 0;
2438
+ }
2439
+ if (value === null) {
2440
+ return null;
2441
+ }
2442
+ return {
2443
+ "queryVersionId": value.queryVersionId,
2444
+ "name": value.name,
2445
+ "paramsSchema": value.paramsSchema,
2446
+ "resultSchema": value.resultSchema,
2447
+ "cacheTtl": value.cacheTtl
2796
2448
  };
2797
2449
  }
2798
2450
 
@@ -2810,7 +2462,7 @@ function QueryDefinitionResponseFromJSONTyped(json, ignoreDiscriminator) {
2810
2462
  return json;
2811
2463
  }
2812
2464
  return {
2813
- "data": GetQueryDefinition200ResponseDataFromJSON(json["data"])
2465
+ "data": QueryDefinitionResponseDataFromJSON(json["data"])
2814
2466
  };
2815
2467
  }
2816
2468
  function QueryDefinitionResponseToJSON(value) {
@@ -2821,7 +2473,7 @@ function QueryDefinitionResponseToJSON(value) {
2821
2473
  return null;
2822
2474
  }
2823
2475
  return {
2824
- "data": GetQueryDefinition200ResponseDataToJSON(value.data)
2476
+ "data": QueryDefinitionResponseDataToJSON(value.data)
2825
2477
  };
2826
2478
  }
2827
2479
 
@@ -2917,35 +2569,25 @@ function ReadinessCheck503ResponseToJSON(value) {
2917
2569
  };
2918
2570
  }
2919
2571
 
2920
- // src/generated/models/ResolveContext.ts
2921
- var ResolveContextDeviceTypeEnum = {
2922
- MOBILE: "mobile",
2923
- TABLET: "tablet",
2924
- DESKTOP: "desktop"
2925
- };
2926
- function instanceOfResolveContext(value) {
2572
+ // src/generated/models/ResolvePageResponseAllOfDataRolloutMatch.ts
2573
+ function instanceOfResolvePageResponseAllOfDataRolloutMatch(value) {
2927
2574
  let isInstance = true;
2928
2575
  return isInstance;
2929
2576
  }
2930
- function ResolveContextFromJSON(json) {
2931
- return ResolveContextFromJSONTyped(json, false);
2577
+ function ResolvePageResponseAllOfDataRolloutMatchFromJSON(json) {
2578
+ return ResolvePageResponseAllOfDataRolloutMatchFromJSONTyped(json, false);
2932
2579
  }
2933
- function ResolveContextFromJSONTyped(json, ignoreDiscriminator) {
2580
+ function ResolvePageResponseAllOfDataRolloutMatchFromJSONTyped(json, ignoreDiscriminator) {
2934
2581
  if (json === void 0 || json === null) {
2935
2582
  return json;
2936
2583
  }
2937
2584
  return {
2938
- "userId": !exists(json, "userId") ? void 0 : json["userId"],
2939
- "sessionId": !exists(json, "sessionId") ? void 0 : json["sessionId"],
2940
- "deviceId": !exists(json, "deviceId") ? void 0 : json["deviceId"],
2941
- "deviceType": !exists(json, "deviceType") ? void 0 : json["deviceType"],
2942
- "channel": !exists(json, "channel") ? void 0 : json["channel"],
2943
- "urlParams": !exists(json, "urlParams") ? void 0 : json["urlParams"],
2944
- "routeParams": !exists(json, "routeParams") ? void 0 : json["routeParams"],
2945
- "customData": !exists(json, "customData") ? void 0 : json["customData"]
2585
+ "strategyId": !exists(json, "strategyId") ? void 0 : json["strategyId"],
2586
+ "strategyName": !exists(json, "strategyName") ? void 0 : json["strategyName"],
2587
+ "isDefault": !exists(json, "isDefault") ? void 0 : json["isDefault"]
2946
2588
  };
2947
2589
  }
2948
- function ResolveContextToJSON(value) {
2590
+ function ResolvePageResponseAllOfDataRolloutMatchToJSON(value) {
2949
2591
  if (value === void 0) {
2950
2592
  return void 0;
2951
2593
  }
@@ -2953,55 +2595,32 @@ function ResolveContextToJSON(value) {
2953
2595
  return null;
2954
2596
  }
2955
2597
  return {
2956
- "userId": value.userId,
2957
- "sessionId": value.sessionId,
2958
- "deviceId": value.deviceId,
2959
- "deviceType": value.deviceType,
2960
- "channel": value.channel,
2961
- "urlParams": value.urlParams,
2962
- "routeParams": value.routeParams,
2963
- "customData": value.customData
2598
+ "strategyId": value.strategyId,
2599
+ "strategyName": value.strategyName,
2600
+ "isDefault": value.isDefault
2964
2601
  };
2965
2602
  }
2966
2603
 
2967
- // src/generated/models/ResolvePage200ResponseDataManifestsActionsInner.ts
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",
2982
- CUSTOM: "custom"
2983
- };
2984
- function instanceOfResolvePage200ResponseDataManifestsActionsInner(value) {
2604
+ // src/generated/models/ResolvePageResponseAllOfDataSnapshotDefinitionsDigestActions.ts
2605
+ function instanceOfResolvePageResponseAllOfDataSnapshotDefinitionsDigestActions(value) {
2985
2606
  let isInstance = true;
2986
- isInstance = isInstance && "actionId" in value;
2987
- isInstance = isInstance && "actionDefinitionVersionId" in value;
2988
2607
  return isInstance;
2989
2608
  }
2990
- function ResolvePage200ResponseDataManifestsActionsInnerFromJSON(json) {
2991
- return ResolvePage200ResponseDataManifestsActionsInnerFromJSONTyped(json, false);
2609
+ function ResolvePageResponseAllOfDataSnapshotDefinitionsDigestActionsFromJSON(json) {
2610
+ return ResolvePageResponseAllOfDataSnapshotDefinitionsDigestActionsFromJSONTyped(json, false);
2992
2611
  }
2993
- function ResolvePage200ResponseDataManifestsActionsInnerFromJSONTyped(json, ignoreDiscriminator) {
2612
+ function ResolvePageResponseAllOfDataSnapshotDefinitionsDigestActionsFromJSONTyped(json, ignoreDiscriminator) {
2994
2613
  if (json === void 0 || json === null) {
2995
2614
  return json;
2996
2615
  }
2997
2616
  return {
2998
- "actionId": json["actionId"],
2999
- "actionDefinitionVersionId": json["actionDefinitionVersionId"],
3000
- "actionType": !exists(json, "actionType") ? void 0 : json["actionType"],
3001
- "builtin": !exists(json, "builtin") ? void 0 : json["builtin"]
2617
+ "id": !exists(json, "id") ? void 0 : json["id"],
2618
+ "name": !exists(json, "name") ? void 0 : json["name"],
2619
+ "versionId": !exists(json, "versionId") ? void 0 : json["versionId"],
2620
+ "hash": !exists(json, "hash") ? void 0 : json["hash"]
3002
2621
  };
3003
2622
  }
3004
- function ResolvePage200ResponseDataManifestsActionsInnerToJSON(value) {
2623
+ function ResolvePageResponseAllOfDataSnapshotDefinitionsDigestActionsToJSON(value) {
3005
2624
  if (value === void 0) {
3006
2625
  return void 0;
3007
2626
  }
@@ -3009,39 +2628,31 @@ function ResolvePage200ResponseDataManifestsActionsInnerToJSON(value) {
3009
2628
  return null;
3010
2629
  }
3011
2630
  return {
3012
- "actionId": value.actionId,
3013
- "actionDefinitionVersionId": value.actionDefinitionVersionId,
3014
- "actionType": value.actionType,
3015
- "builtin": value.builtin
2631
+ "id": value.id,
2632
+ "name": value.name,
2633
+ "versionId": value.versionId,
2634
+ "hash": value.hash
3016
2635
  };
3017
2636
  }
3018
2637
 
3019
- // src/generated/models/ResolvePage200ResponseDataManifestsComponentsInner.ts
3020
- function instanceOfResolvePage200ResponseDataManifestsComponentsInner(value) {
2638
+ // src/generated/models/ResolvePageResponseAllOfDataSnapshotDefinitionsDigest.ts
2639
+ function instanceOfResolvePageResponseAllOfDataSnapshotDefinitionsDigest(value) {
3021
2640
  let isInstance = true;
3022
- isInstance = isInstance && "componentType" in value;
3023
- isInstance = isInstance && "version" in value;
3024
- isInstance = isInstance && "entryUrl" in value;
3025
2641
  return isInstance;
3026
2642
  }
3027
- function ResolvePage200ResponseDataManifestsComponentsInnerFromJSON(json) {
3028
- return ResolvePage200ResponseDataManifestsComponentsInnerFromJSONTyped(json, false);
2643
+ function ResolvePageResponseAllOfDataSnapshotDefinitionsDigestFromJSON(json) {
2644
+ return ResolvePageResponseAllOfDataSnapshotDefinitionsDigestFromJSONTyped(json, false);
3029
2645
  }
3030
- function ResolvePage200ResponseDataManifestsComponentsInnerFromJSONTyped(json, ignoreDiscriminator) {
2646
+ function ResolvePageResponseAllOfDataSnapshotDefinitionsDigestFromJSONTyped(json, ignoreDiscriminator) {
3031
2647
  if (json === void 0 || json === null) {
3032
2648
  return json;
3033
2649
  }
3034
2650
  return {
3035
- "componentType": json["componentType"],
3036
- "version": json["version"],
3037
- "entryUrl": json["entryUrl"],
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"]
2651
+ "actions": !exists(json, "actions") ? void 0 : json["actions"].map(ResolvePageResponseAllOfDataSnapshotDefinitionsDigestActionsFromJSON),
2652
+ "queries": !exists(json, "queries") ? void 0 : json["queries"].map(ResolvePageResponseAllOfDataSnapshotDefinitionsDigestActionsFromJSON)
3042
2653
  };
3043
2654
  }
3044
- function ResolvePage200ResponseDataManifestsComponentsInnerToJSON(value) {
2655
+ function ResolvePageResponseAllOfDataSnapshotDefinitionsDigestToJSON(value) {
3045
2656
  if (value === void 0) {
3046
2657
  return void 0;
3047
2658
  }
@@ -3049,37 +2660,30 @@ function ResolvePage200ResponseDataManifestsComponentsInnerToJSON(value) {
3049
2660
  return null;
3050
2661
  }
3051
2662
  return {
3052
- "componentType": value.componentType,
3053
- "version": value.version,
3054
- "entryUrl": value.entryUrl,
3055
- "styleUrl": value.styleUrl,
3056
- "integrity": value.integrity,
3057
- "blocked": value.blocked,
3058
- "fallback": value.fallback
2663
+ "actions": value.actions === void 0 ? void 0 : value.actions.map(ResolvePageResponseAllOfDataSnapshotDefinitionsDigestActionsToJSON),
2664
+ "queries": value.queries === void 0 ? void 0 : value.queries.map(ResolvePageResponseAllOfDataSnapshotDefinitionsDigestActionsToJSON)
3059
2665
  };
3060
2666
  }
3061
2667
 
3062
- // src/generated/models/ResolvePage200ResponseDataManifestsQueriesInner.ts
3063
- function instanceOfResolvePage200ResponseDataManifestsQueriesInner(value) {
2668
+ // src/generated/models/ResolvePageResponseAllOfDataSnapshotManifestEntrypoints.ts
2669
+ function instanceOfResolvePageResponseAllOfDataSnapshotManifestEntrypoints(value) {
3064
2670
  let isInstance = true;
3065
- isInstance = isInstance && "queryId" in value;
3066
- isInstance = isInstance && "queryVersionId" in value;
3067
2671
  return isInstance;
3068
2672
  }
3069
- function ResolvePage200ResponseDataManifestsQueriesInnerFromJSON(json) {
3070
- return ResolvePage200ResponseDataManifestsQueriesInnerFromJSONTyped(json, false);
2673
+ function ResolvePageResponseAllOfDataSnapshotManifestEntrypointsFromJSON(json) {
2674
+ return ResolvePageResponseAllOfDataSnapshotManifestEntrypointsFromJSONTyped(json, false);
3071
2675
  }
3072
- function ResolvePage200ResponseDataManifestsQueriesInnerFromJSONTyped(json, ignoreDiscriminator) {
2676
+ function ResolvePageResponseAllOfDataSnapshotManifestEntrypointsFromJSONTyped(json, ignoreDiscriminator) {
3073
2677
  if (json === void 0 || json === null) {
3074
2678
  return json;
3075
2679
  }
3076
2680
  return {
3077
- "queryId": json["queryId"],
3078
- "queryVersionId": json["queryVersionId"],
3079
- "cacheTtl": !exists(json, "cacheTtl") ? void 0 : json["cacheTtl"]
2681
+ "js": !exists(json, "js") ? void 0 : json["js"],
2682
+ "css": !exists(json, "css") ? void 0 : json["css"],
2683
+ "chunks": !exists(json, "chunks") ? void 0 : json["chunks"]
3080
2684
  };
3081
2685
  }
3082
- function ResolvePage200ResponseDataManifestsQueriesInnerToJSON(value) {
2686
+ function ResolvePageResponseAllOfDataSnapshotManifestEntrypointsToJSON(value) {
3083
2687
  if (value === void 0) {
3084
2688
  return void 0;
3085
2689
  }
@@ -3087,31 +2691,33 @@ function ResolvePage200ResponseDataManifestsQueriesInnerToJSON(value) {
3087
2691
  return null;
3088
2692
  }
3089
2693
  return {
3090
- "queryId": value.queryId,
3091
- "queryVersionId": value.queryVersionId,
3092
- "cacheTtl": value.cacheTtl
2694
+ "js": value.js,
2695
+ "css": value.css,
2696
+ "chunks": value.chunks
3093
2697
  };
3094
2698
  }
3095
2699
 
3096
- // src/generated/models/ResolvePage200ResponseDataManifests.ts
3097
- function instanceOfResolvePage200ResponseDataManifests(value) {
2700
+ // src/generated/models/ResolvePageResponseAllOfDataSnapshotManifestComponents.ts
2701
+ function instanceOfResolvePageResponseAllOfDataSnapshotManifestComponents(value) {
3098
2702
  let isInstance = true;
3099
2703
  return isInstance;
3100
2704
  }
3101
- function ResolvePage200ResponseDataManifestsFromJSON(json) {
3102
- return ResolvePage200ResponseDataManifestsFromJSONTyped(json, false);
2705
+ function ResolvePageResponseAllOfDataSnapshotManifestComponentsFromJSON(json) {
2706
+ return ResolvePageResponseAllOfDataSnapshotManifestComponentsFromJSONTyped(json, false);
3103
2707
  }
3104
- function ResolvePage200ResponseDataManifestsFromJSONTyped(json, ignoreDiscriminator) {
2708
+ function ResolvePageResponseAllOfDataSnapshotManifestComponentsFromJSONTyped(json, ignoreDiscriminator) {
3105
2709
  if (json === void 0 || json === null) {
3106
2710
  return json;
3107
2711
  }
3108
2712
  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)
2713
+ "name": !exists(json, "name") ? void 0 : json["name"],
2714
+ "version": !exists(json, "version") ? void 0 : json["version"],
2715
+ "integrity": !exists(json, "integrity") ? void 0 : json["integrity"],
2716
+ "assetsUrl": !exists(json, "assetsUrl") ? void 0 : json["assetsUrl"],
2717
+ "entrypoints": !exists(json, "entrypoints") ? void 0 : ResolvePageResponseAllOfDataSnapshotManifestEntrypointsFromJSON(json["entrypoints"])
3112
2718
  };
3113
2719
  }
3114
- function ResolvePage200ResponseDataManifestsToJSON(value) {
2720
+ function ResolvePageResponseAllOfDataSnapshotManifestComponentsToJSON(value) {
3115
2721
  if (value === void 0) {
3116
2722
  return void 0;
3117
2723
  }
@@ -3119,31 +2725,32 @@ function ResolvePage200ResponseDataManifestsToJSON(value) {
3119
2725
  return null;
3120
2726
  }
3121
2727
  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)
2728
+ "name": value.name,
2729
+ "version": value.version,
2730
+ "integrity": value.integrity,
2731
+ "assetsUrl": value.assetsUrl,
2732
+ "entrypoints": ResolvePageResponseAllOfDataSnapshotManifestEntrypointsToJSON(value.entrypoints)
3125
2733
  };
3126
2734
  }
3127
2735
 
3128
- // src/generated/models/ResolvePage200ResponseDataOpsConfig.ts
3129
- function instanceOfResolvePage200ResponseDataOpsConfig(value) {
2736
+ // src/generated/models/ResolvePageResponseAllOfDataSnapshotManifestRuntime.ts
2737
+ function instanceOfResolvePageResponseAllOfDataSnapshotManifestRuntime(value) {
3130
2738
  let isInstance = true;
3131
2739
  return isInstance;
3132
2740
  }
3133
- function ResolvePage200ResponseDataOpsConfigFromJSON(json) {
3134
- return ResolvePage200ResponseDataOpsConfigFromJSONTyped(json, false);
2741
+ function ResolvePageResponseAllOfDataSnapshotManifestRuntimeFromJSON(json) {
2742
+ return ResolvePageResponseAllOfDataSnapshotManifestRuntimeFromJSONTyped(json, false);
3135
2743
  }
3136
- function ResolvePage200ResponseDataOpsConfigFromJSONTyped(json, ignoreDiscriminator) {
2744
+ function ResolvePageResponseAllOfDataSnapshotManifestRuntimeFromJSONTyped(json, ignoreDiscriminator) {
3137
2745
  if (json === void 0 || json === null) {
3138
2746
  return json;
3139
2747
  }
3140
2748
  return {
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"]
2749
+ "version": !exists(json, "version") ? void 0 : json["version"],
2750
+ "minVersion": !exists(json, "minVersion") ? void 0 : json["minVersion"]
3144
2751
  };
3145
2752
  }
3146
- function ResolvePage200ResponseDataOpsConfigToJSON(value) {
2753
+ function ResolvePageResponseAllOfDataSnapshotManifestRuntimeToJSON(value) {
3147
2754
  if (value === void 0) {
3148
2755
  return void 0;
3149
2756
  }
@@ -3151,38 +2758,29 @@ function ResolvePage200ResponseDataOpsConfigToJSON(value) {
3151
2758
  return null;
3152
2759
  }
3153
2760
  return {
3154
- "killSwitch": value.killSwitch,
3155
- "fallbackUrl": value.fallbackUrl,
3156
- "blockedComponents": value.blockedComponents
2761
+ "version": value.version,
2762
+ "minVersion": value.minVersion
3157
2763
  };
3158
2764
  }
3159
2765
 
3160
- // src/generated/models/ResolvePage200ResponseData.ts
3161
- function instanceOfResolvePage200ResponseData(value) {
2766
+ // src/generated/models/ResolvePageResponseAllOfDataSnapshotManifest.ts
2767
+ function instanceOfResolvePageResponseAllOfDataSnapshotManifest(value) {
3162
2768
  let isInstance = true;
3163
- isInstance = isInstance && "pageId" in value;
3164
- isInstance = isInstance && "pageVersionId" in value;
3165
- isInstance = isInstance && "schema" in value;
3166
2769
  return isInstance;
3167
2770
  }
3168
- function ResolvePage200ResponseDataFromJSON(json) {
3169
- return ResolvePage200ResponseDataFromJSONTyped(json, false);
2771
+ function ResolvePageResponseAllOfDataSnapshotManifestFromJSON(json) {
2772
+ return ResolvePageResponseAllOfDataSnapshotManifestFromJSONTyped(json, false);
3170
2773
  }
3171
- function ResolvePage200ResponseDataFromJSONTyped(json, ignoreDiscriminator) {
2774
+ function ResolvePageResponseAllOfDataSnapshotManifestFromJSONTyped(json, ignoreDiscriminator) {
3172
2775
  if (json === void 0 || json === null) {
3173
2776
  return json;
3174
2777
  }
3175
2778
  return {
3176
- "pageId": json["pageId"],
3177
- "pageVersionId": json["pageVersionId"],
3178
- "schemaVersion": !exists(json, "schemaVersion") ? void 0 : json["schemaVersion"],
3179
- "schema": json["schema"],
3180
- "manifests": !exists(json, "manifests") ? void 0 : ResolvePage200ResponseDataManifestsFromJSON(json["manifests"]),
3181
- "prefetchedData": !exists(json, "prefetchedData") ? void 0 : json["prefetchedData"],
3182
- "opsConfig": !exists(json, "opsConfig") ? void 0 : ResolvePage200ResponseDataOpsConfigFromJSON(json["opsConfig"])
2779
+ "components": !exists(json, "components") ? void 0 : json["components"].map(ResolvePageResponseAllOfDataSnapshotManifestComponentsFromJSON),
2780
+ "runtime": !exists(json, "runtime") ? void 0 : ResolvePageResponseAllOfDataSnapshotManifestRuntimeFromJSON(json["runtime"])
3183
2781
  };
3184
2782
  }
3185
- function ResolvePage200ResponseDataToJSON(value) {
2783
+ function ResolvePageResponseAllOfDataSnapshotManifestToJSON(value) {
3186
2784
  if (value === void 0) {
3187
2785
  return void 0;
3188
2786
  }
@@ -3190,34 +2788,29 @@ function ResolvePage200ResponseDataToJSON(value) {
3190
2788
  return null;
3191
2789
  }
3192
2790
  return {
3193
- "pageId": value.pageId,
3194
- "pageVersionId": value.pageVersionId,
3195
- "schemaVersion": value.schemaVersion,
3196
- "schema": value.schema,
3197
- "manifests": ResolvePage200ResponseDataManifestsToJSON(value.manifests),
3198
- "prefetchedData": value.prefetchedData,
3199
- "opsConfig": ResolvePage200ResponseDataOpsConfigToJSON(value.opsConfig)
2791
+ "components": value.components === void 0 ? void 0 : value.components.map(ResolvePageResponseAllOfDataSnapshotManifestComponentsToJSON),
2792
+ "runtime": ResolvePageResponseAllOfDataSnapshotManifestRuntimeToJSON(value.runtime)
3200
2793
  };
3201
2794
  }
3202
2795
 
3203
- // src/generated/models/ResolvePage200Response.ts
3204
- function instanceOfResolvePage200Response(value) {
2796
+ // src/generated/models/ResolvePageResponseAllOfDataSnapshotMetaBindings.ts
2797
+ function instanceOfResolvePageResponseAllOfDataSnapshotMetaBindings(value) {
3205
2798
  let isInstance = true;
3206
- isInstance = isInstance && "data" in value;
3207
2799
  return isInstance;
3208
2800
  }
3209
- function ResolvePage200ResponseFromJSON(json) {
3210
- return ResolvePage200ResponseFromJSONTyped(json, false);
2801
+ function ResolvePageResponseAllOfDataSnapshotMetaBindingsFromJSON(json) {
2802
+ return ResolvePageResponseAllOfDataSnapshotMetaBindingsFromJSONTyped(json, false);
3211
2803
  }
3212
- function ResolvePage200ResponseFromJSONTyped(json, ignoreDiscriminator) {
2804
+ function ResolvePageResponseAllOfDataSnapshotMetaBindingsFromJSONTyped(json, ignoreDiscriminator) {
3213
2805
  if (json === void 0 || json === null) {
3214
2806
  return json;
3215
2807
  }
3216
2808
  return {
3217
- "data": ResolvePage200ResponseDataFromJSON(json["data"])
2809
+ "componentVersions": !exists(json, "componentVersions") ? void 0 : json["componentVersions"],
2810
+ "definitionVersions": !exists(json, "definitionVersions") ? void 0 : json["definitionVersions"]
3218
2811
  };
3219
2812
  }
3220
- function ResolvePage200ResponseToJSON(value) {
2813
+ function ResolvePageResponseAllOfDataSnapshotMetaBindingsToJSON(value) {
3221
2814
  if (value === void 0) {
3222
2815
  return void 0;
3223
2816
  }
@@ -3225,39 +2818,42 @@ function ResolvePage200ResponseToJSON(value) {
3225
2818
  return null;
3226
2819
  }
3227
2820
  return {
3228
- "data": ResolvePage200ResponseDataToJSON(value.data)
2821
+ "componentVersions": value.componentVersions,
2822
+ "definitionVersions": value.definitionVersions
3229
2823
  };
3230
2824
  }
3231
2825
 
3232
- // src/generated/models/ResolvePageRequestContext.ts
3233
- var ResolvePageRequestContextDeviceTypeEnum = {
3234
- MOBILE: "mobile",
3235
- TABLET: "tablet",
3236
- DESKTOP: "desktop"
2826
+ // src/generated/models/ResolvePageResponseAllOfDataSnapshotMeta.ts
2827
+ var ResolvePageResponseAllOfDataSnapshotMetaEnvEnum = {
2828
+ PREVIEW: "preview",
2829
+ STAGING: "staging",
2830
+ PROD: "prod"
3237
2831
  };
3238
- function instanceOfResolvePageRequestContext(value) {
2832
+ function instanceOfResolvePageResponseAllOfDataSnapshotMeta(value) {
3239
2833
  let isInstance = true;
3240
2834
  return isInstance;
3241
2835
  }
3242
- function ResolvePageRequestContextFromJSON(json) {
3243
- return ResolvePageRequestContextFromJSONTyped(json, false);
2836
+ function ResolvePageResponseAllOfDataSnapshotMetaFromJSON(json) {
2837
+ return ResolvePageResponseAllOfDataSnapshotMetaFromJSONTyped(json, false);
3244
2838
  }
3245
- function ResolvePageRequestContextFromJSONTyped(json, ignoreDiscriminator) {
2839
+ function ResolvePageResponseAllOfDataSnapshotMetaFromJSONTyped(json, ignoreDiscriminator) {
3246
2840
  if (json === void 0 || json === null) {
3247
2841
  return json;
3248
2842
  }
3249
2843
  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"]
2844
+ "pageId": !exists(json, "pageId") ? void 0 : json["pageId"],
2845
+ "pageVersionId": !exists(json, "pageVersionId") ? void 0 : json["pageVersionId"],
2846
+ "publishId": !exists(json, "publishId") ? void 0 : json["publishId"],
2847
+ "schemaVersion": !exists(json, "schemaVersion") ? void 0 : json["schemaVersion"],
2848
+ "createdAt": !exists(json, "createdAt") ? void 0 : new Date(json["createdAt"]),
2849
+ "createdBy": !exists(json, "createdBy") ? void 0 : json["createdBy"],
2850
+ "contentHash": !exists(json, "contentHash") ? void 0 : json["contentHash"],
2851
+ "bindings": !exists(json, "bindings") ? void 0 : ResolvePageResponseAllOfDataSnapshotMetaBindingsFromJSON(json["bindings"]),
2852
+ "runtimeVersion": !exists(json, "runtimeVersion") ? void 0 : json["runtimeVersion"],
2853
+ "env": !exists(json, "env") ? void 0 : json["env"]
3258
2854
  };
3259
2855
  }
3260
- function ResolvePageRequestContextToJSON(value) {
2856
+ function ResolvePageResponseAllOfDataSnapshotMetaToJSON(value) {
3261
2857
  if (value === void 0) {
3262
2858
  return void 0;
3263
2859
  }
@@ -3265,36 +2861,43 @@ function ResolvePageRequestContextToJSON(value) {
3265
2861
  return null;
3266
2862
  }
3267
2863
  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
2864
+ "pageId": value.pageId,
2865
+ "pageVersionId": value.pageVersionId,
2866
+ "publishId": value.publishId,
2867
+ "schemaVersion": value.schemaVersion,
2868
+ "createdAt": value.createdAt === void 0 ? void 0 : value.createdAt.toISOString(),
2869
+ "createdBy": value.createdBy,
2870
+ "contentHash": value.contentHash,
2871
+ "bindings": ResolvePageResponseAllOfDataSnapshotMetaBindingsToJSON(value.bindings),
2872
+ "runtimeVersion": value.runtimeVersion,
2873
+ "env": value.env
3276
2874
  };
3277
2875
  }
3278
2876
 
3279
- // src/generated/models/ResolvePageRequestOptions.ts
3280
- function instanceOfResolvePageRequestOptions(value) {
2877
+ // src/generated/models/ResolvePageResponseAllOfDataSnapshotPage.ts
2878
+ function instanceOfResolvePageResponseAllOfDataSnapshotPage(value) {
3281
2879
  let isInstance = true;
3282
2880
  return isInstance;
3283
2881
  }
3284
- function ResolvePageRequestOptionsFromJSON(json) {
3285
- return ResolvePageRequestOptionsFromJSONTyped(json, false);
2882
+ function ResolvePageResponseAllOfDataSnapshotPageFromJSON(json) {
2883
+ return ResolvePageResponseAllOfDataSnapshotPageFromJSONTyped(json, false);
3286
2884
  }
3287
- function ResolvePageRequestOptionsFromJSONTyped(json, ignoreDiscriminator) {
2885
+ function ResolvePageResponseAllOfDataSnapshotPageFromJSONTyped(json, ignoreDiscriminator) {
3288
2886
  if (json === void 0 || json === null) {
3289
2887
  return json;
3290
2888
  }
3291
2889
  return {
3292
- "prefetchData": !exists(json, "prefetchData") ? void 0 : json["prefetchData"],
3293
- "includeManifests": !exists(json, "includeManifests") ? void 0 : json["includeManifests"],
3294
- "locale": !exists(json, "locale") ? void 0 : json["locale"]
2890
+ "schemaVersion": !exists(json, "schemaVersion") ? void 0 : json["schemaVersion"],
2891
+ "pageId": !exists(json, "pageId") ? void 0 : json["pageId"],
2892
+ "pageVersion": !exists(json, "pageVersion") ? void 0 : json["pageVersion"],
2893
+ "title": !exists(json, "title") ? void 0 : json["title"],
2894
+ "initialState": !exists(json, "initialState") ? void 0 : json["initialState"],
2895
+ "bindings": !exists(json, "bindings") ? void 0 : json["bindings"],
2896
+ "root": !exists(json, "root") ? void 0 : json["root"],
2897
+ "config": !exists(json, "config") ? void 0 : json["config"]
3295
2898
  };
3296
2899
  }
3297
- function ResolvePageRequestOptionsToJSON(value) {
2900
+ function ResolvePageResponseAllOfDataSnapshotPageToJSON(value) {
3298
2901
  if (value === void 0) {
3299
2902
  return void 0;
3300
2903
  }
@@ -3302,30 +2905,85 @@ function ResolvePageRequestOptionsToJSON(value) {
3302
2905
  return null;
3303
2906
  }
3304
2907
  return {
3305
- "prefetchData": value.prefetchData,
3306
- "includeManifests": value.includeManifests,
3307
- "locale": value.locale
2908
+ "schemaVersion": value.schemaVersion,
2909
+ "pageId": value.pageId,
2910
+ "pageVersion": value.pageVersion,
2911
+ "title": value.title,
2912
+ "initialState": value.initialState,
2913
+ "bindings": value.bindings,
2914
+ "root": value.root,
2915
+ "config": value.config
3308
2916
  };
3309
2917
  }
3310
2918
 
3311
- // src/generated/models/ResolvePageRequest.ts
3312
- function instanceOfResolvePageRequest(value) {
2919
+ // src/generated/models/ResolvePageResponseAllOfDataSnapshot.ts
2920
+ function instanceOfResolvePageResponseAllOfDataSnapshot(value) {
3313
2921
  let isInstance = true;
3314
2922
  return isInstance;
3315
2923
  }
3316
- function ResolvePageRequestFromJSON(json) {
3317
- return ResolvePageRequestFromJSONTyped(json, false);
2924
+ function ResolvePageResponseAllOfDataSnapshotFromJSON(json) {
2925
+ return ResolvePageResponseAllOfDataSnapshotFromJSONTyped(json, false);
3318
2926
  }
3319
- function ResolvePageRequestFromJSONTyped(json, ignoreDiscriminator) {
2927
+ function ResolvePageResponseAllOfDataSnapshotFromJSONTyped(json, ignoreDiscriminator) {
3320
2928
  if (json === void 0 || json === null) {
3321
2929
  return json;
3322
2930
  }
3323
2931
  return {
3324
- "context": !exists(json, "context") ? void 0 : ResolvePageRequestContextFromJSON(json["context"]),
3325
- "options": !exists(json, "options") ? void 0 : ResolvePageRequestOptionsFromJSON(json["options"])
2932
+ "page": !exists(json, "page") ? void 0 : ResolvePageResponseAllOfDataSnapshotPageFromJSON(json["page"]),
2933
+ "manifest": !exists(json, "manifest") ? void 0 : ResolvePageResponseAllOfDataSnapshotManifestFromJSON(json["manifest"]),
2934
+ "definitionsDigest": !exists(json, "definitionsDigest") ? void 0 : ResolvePageResponseAllOfDataSnapshotDefinitionsDigestFromJSON(json["definitionsDigest"]),
2935
+ "meta": !exists(json, "meta") ? void 0 : ResolvePageResponseAllOfDataSnapshotMetaFromJSON(json["meta"])
2936
+ };
2937
+ }
2938
+ function ResolvePageResponseAllOfDataSnapshotToJSON(value) {
2939
+ if (value === void 0) {
2940
+ return void 0;
2941
+ }
2942
+ if (value === null) {
2943
+ return null;
2944
+ }
2945
+ return {
2946
+ "page": ResolvePageResponseAllOfDataSnapshotPageToJSON(value.page),
2947
+ "manifest": ResolvePageResponseAllOfDataSnapshotManifestToJSON(value.manifest),
2948
+ "definitionsDigest": ResolvePageResponseAllOfDataSnapshotDefinitionsDigestToJSON(value.definitionsDigest),
2949
+ "meta": ResolvePageResponseAllOfDataSnapshotMetaToJSON(value.meta)
3326
2950
  };
3327
2951
  }
3328
- function ResolvePageRequestToJSON(value) {
2952
+
2953
+ // src/generated/models/ResolvePageResponseAllOfData.ts
2954
+ function instanceOfResolvePageResponseAllOfData(value) {
2955
+ let isInstance = true;
2956
+ isInstance = isInstance && "pageId" in value;
2957
+ isInstance = isInstance && "resolvedVersionId" in value;
2958
+ isInstance = isInstance && "cdnBase" in value;
2959
+ isInstance = isInstance && "snapshotUrl" in value;
2960
+ isInstance = isInstance && "manifestUrl" in value;
2961
+ isInstance = isInstance && "ops" in value;
2962
+ isInstance = isInstance && "etag" in value;
2963
+ isInstance = isInstance && "cacheTtlSeconds" in value;
2964
+ return isInstance;
2965
+ }
2966
+ function ResolvePageResponseAllOfDataFromJSON(json) {
2967
+ return ResolvePageResponseAllOfDataFromJSONTyped(json, false);
2968
+ }
2969
+ function ResolvePageResponseAllOfDataFromJSONTyped(json, ignoreDiscriminator) {
2970
+ if (json === void 0 || json === null) {
2971
+ return json;
2972
+ }
2973
+ return {
2974
+ "pageId": json["pageId"],
2975
+ "resolvedVersionId": json["resolvedVersionId"],
2976
+ "cdnBase": json["cdnBase"],
2977
+ "snapshotUrl": json["snapshotUrl"],
2978
+ "manifestUrl": json["manifestUrl"],
2979
+ "ops": OpsConfigFromJSON(json["ops"]),
2980
+ "etag": json["etag"],
2981
+ "cacheTtlSeconds": json["cacheTtlSeconds"],
2982
+ "rolloutMatch": !exists(json, "rolloutMatch") ? void 0 : ResolvePageResponseAllOfDataRolloutMatchFromJSON(json["rolloutMatch"]),
2983
+ "snapshot": !exists(json, "snapshot") ? void 0 : ResolvePageResponseAllOfDataSnapshotFromJSON(json["snapshot"])
2984
+ };
2985
+ }
2986
+ function ResolvePageResponseAllOfDataToJSON(value) {
3329
2987
  if (value === void 0) {
3330
2988
  return void 0;
3331
2989
  }
@@ -3333,15 +2991,28 @@ function ResolvePageRequestToJSON(value) {
3333
2991
  return null;
3334
2992
  }
3335
2993
  return {
3336
- "context": ResolvePageRequestContextToJSON(value.context),
3337
- "options": ResolvePageRequestOptionsToJSON(value.options)
2994
+ "pageId": value.pageId,
2995
+ "resolvedVersionId": value.resolvedVersionId,
2996
+ "cdnBase": value.cdnBase,
2997
+ "snapshotUrl": value.snapshotUrl,
2998
+ "manifestUrl": value.manifestUrl,
2999
+ "ops": OpsConfigToJSON(value.ops),
3000
+ "etag": value.etag,
3001
+ "cacheTtlSeconds": value.cacheTtlSeconds,
3002
+ "rolloutMatch": ResolvePageResponseAllOfDataRolloutMatchToJSON(value.rolloutMatch),
3003
+ "snapshot": ResolvePageResponseAllOfDataSnapshotToJSON(value.snapshot)
3338
3004
  };
3339
3005
  }
3340
3006
 
3341
3007
  // src/generated/models/ResolvePageResponse.ts
3342
3008
  function instanceOfResolvePageResponse(value) {
3343
3009
  let isInstance = true;
3010
+ isInstance = isInstance && "success" in value;
3011
+ isInstance = isInstance && "code" in value;
3012
+ isInstance = isInstance && "message" in value;
3344
3013
  isInstance = isInstance && "data" in value;
3014
+ isInstance = isInstance && "timestamp" in value;
3015
+ isInstance = isInstance && "path" in value;
3345
3016
  return isInstance;
3346
3017
  }
3347
3018
  function ResolvePageResponseFromJSON(json) {
@@ -3352,7 +3023,13 @@ function ResolvePageResponseFromJSONTyped(json, ignoreDiscriminator) {
3352
3023
  return json;
3353
3024
  }
3354
3025
  return {
3355
- "data": ResolvePage200ResponseDataFromJSON(json["data"])
3026
+ "success": json["success"],
3027
+ "code": json["code"],
3028
+ "message": json["message"],
3029
+ "data": ResolvePageResponseAllOfDataFromJSON(json["data"]),
3030
+ "timestamp": json["timestamp"],
3031
+ "path": json["path"],
3032
+ "requestId": !exists(json, "requestId") ? void 0 : json["requestId"]
3356
3033
  };
3357
3034
  }
3358
3035
  function ResolvePageResponseToJSON(value) {
@@ -3363,27 +3040,33 @@ function ResolvePageResponseToJSON(value) {
3363
3040
  return null;
3364
3041
  }
3365
3042
  return {
3366
- "data": ResolvePage200ResponseDataToJSON(value.data)
3043
+ "success": value.success,
3044
+ "code": value.code,
3045
+ "message": value.message,
3046
+ "data": ResolvePageResponseAllOfDataToJSON(value.data),
3047
+ "timestamp": value.timestamp,
3048
+ "path": value.path,
3049
+ "requestId": value.requestId
3367
3050
  };
3368
3051
  }
3369
3052
 
3370
- // src/generated/models/ResolveTenant200ResponseData.ts
3371
- var ResolveTenant200ResponseDataStatusEnum = {
3053
+ // src/generated/models/TenantInfo.ts
3054
+ var TenantInfoStatusEnum = {
3372
3055
  ACTIVE: "active",
3373
3056
  SUSPENDED: "suspended",
3374
3057
  DISABLED: "disabled"
3375
3058
  };
3376
- function instanceOfResolveTenant200ResponseData(value) {
3059
+ function instanceOfTenantInfo(value) {
3377
3060
  let isInstance = true;
3378
3061
  isInstance = isInstance && "appId" in value;
3379
3062
  isInstance = isInstance && "appName" in value;
3380
3063
  isInstance = isInstance && "status" in value;
3381
3064
  return isInstance;
3382
3065
  }
3383
- function ResolveTenant200ResponseDataFromJSON(json) {
3384
- return ResolveTenant200ResponseDataFromJSONTyped(json, false);
3066
+ function TenantInfoFromJSON(json) {
3067
+ return TenantInfoFromJSONTyped(json, false);
3385
3068
  }
3386
- function ResolveTenant200ResponseDataFromJSONTyped(json, ignoreDiscriminator) {
3069
+ function TenantInfoFromJSONTyped(json, ignoreDiscriminator) {
3387
3070
  if (json === void 0 || json === null) {
3388
3071
  return json;
3389
3072
  }
@@ -3396,7 +3079,7 @@ function ResolveTenant200ResponseDataFromJSONTyped(json, ignoreDiscriminator) {
3396
3079
  "apiDomain": !exists(json, "apiDomain") ? void 0 : json["apiDomain"]
3397
3080
  };
3398
3081
  }
3399
- function ResolveTenant200ResponseDataToJSON(value) {
3082
+ function TenantInfoToJSON(value) {
3400
3083
  if (value === void 0) {
3401
3084
  return void 0;
3402
3085
  }
@@ -3427,7 +3110,7 @@ function ResolveTenant200ResponseFromJSONTyped(json, ignoreDiscriminator) {
3427
3110
  }
3428
3111
  return {
3429
3112
  "success": !exists(json, "success") ? void 0 : json["success"],
3430
- "data": !exists(json, "data") ? void 0 : ResolveTenant200ResponseDataFromJSON(json["data"])
3113
+ "data": !exists(json, "data") ? void 0 : TenantInfoFromJSON(json["data"])
3431
3114
  };
3432
3115
  }
3433
3116
  function ResolveTenant200ResponseToJSON(value) {
@@ -3439,7 +3122,7 @@ function ResolveTenant200ResponseToJSON(value) {
3439
3122
  }
3440
3123
  return {
3441
3124
  "success": value.success,
3442
- "data": ResolveTenant200ResponseDataToJSON(value.data)
3125
+ "data": TenantInfoToJSON(value.data)
3443
3126
  };
3444
3127
  }
3445
3128
 
@@ -3488,9 +3171,9 @@ function ResourceManifestsFromJSONTyped(json, ignoreDiscriminator) {
3488
3171
  return json;
3489
3172
  }
3490
3173
  return {
3491
- "components": !exists(json, "components") ? void 0 : json["components"].map(ResolvePage200ResponseDataManifestsComponentsInnerFromJSON),
3492
- "actions": !exists(json, "actions") ? void 0 : json["actions"].map(ResolvePage200ResponseDataManifestsActionsInnerFromJSON),
3493
- "queries": !exists(json, "queries") ? void 0 : json["queries"].map(ResolvePage200ResponseDataManifestsQueriesInnerFromJSON)
3174
+ "components": !exists(json, "components") ? void 0 : json["components"].map(ComponentManifestFromJSON),
3175
+ "actions": !exists(json, "actions") ? void 0 : json["actions"].map(ActionManifestFromJSON),
3176
+ "queries": !exists(json, "queries") ? void 0 : json["queries"].map(QueryManifestFromJSON)
3494
3177
  };
3495
3178
  }
3496
3179
  function ResourceManifestsToJSON(value) {
@@ -3501,119 +3184,41 @@ function ResourceManifestsToJSON(value) {
3501
3184
  return null;
3502
3185
  }
3503
3186
  return {
3504
- "components": value.components === void 0 ? void 0 : value.components.map(ResolvePage200ResponseDataManifestsComponentsInnerToJSON),
3505
- "actions": value.actions === void 0 ? void 0 : value.actions.map(ResolvePage200ResponseDataManifestsActionsInnerToJSON),
3506
- "queries": value.queries === void 0 ? void 0 : value.queries.map(ResolvePage200ResponseDataManifestsQueriesInnerToJSON)
3507
- };
3508
- }
3509
-
3510
- // src/generated/models/SigninCalendar.ts
3511
- function instanceOfSigninCalendar(value) {
3512
- let isInstance = true;
3513
- isInstance = isInstance && "year" in value;
3514
- isInstance = isInstance && "month" in value;
3515
- isInstance = isInstance && "records" in value;
3516
- return isInstance;
3517
- }
3518
- function SigninCalendarFromJSON(json) {
3519
- return SigninCalendarFromJSONTyped(json, false);
3520
- }
3521
- function SigninCalendarFromJSONTyped(json, ignoreDiscriminator) {
3522
- if (json === void 0 || json === null) {
3523
- return json;
3524
- }
3525
- return {
3526
- "year": json["year"],
3527
- "month": json["month"],
3528
- "records": json["records"].map(GetSigninCalendar200ResponseDataRecordsInnerFromJSON),
3529
- "consecutiveDays": !exists(json, "consecutiveDays") ? void 0 : json["consecutiveDays"],
3530
- "totalDays": !exists(json, "totalDays") ? void 0 : json["totalDays"]
3531
- };
3532
- }
3533
- function SigninCalendarToJSON(value) {
3534
- if (value === void 0) {
3535
- return void 0;
3536
- }
3537
- if (value === null) {
3538
- return null;
3539
- }
3540
- return {
3541
- "year": value.year,
3542
- "month": value.month,
3543
- "records": value.records.map(GetSigninCalendar200ResponseDataRecordsInnerToJSON),
3544
- "consecutiveDays": value.consecutiveDays,
3545
- "totalDays": value.totalDays
3546
- };
3547
- }
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)
3187
+ "components": value.components === void 0 ? void 0 : value.components.map(ComponentManifestToJSON),
3188
+ "actions": value.actions === void 0 ? void 0 : value.actions.map(ActionManifestToJSON),
3189
+ "queries": value.queries === void 0 ? void 0 : value.queries.map(QueryManifestToJSON)
3584
3190
  };
3585
3191
  }
3586
3192
 
3587
- // src/generated/models/TenantInfo.ts
3588
- var TenantInfoStatusEnum = {
3589
- ACTIVE: "active",
3590
- SUSPENDED: "suspended",
3591
- DISABLED: "disabled"
3592
- };
3593
- function instanceOfTenantInfo(value) {
3193
+ // src/generated/models/SuccessResponse.ts
3194
+ function instanceOfSuccessResponse(value) {
3594
3195
  let isInstance = true;
3595
- isInstance = isInstance && "appId" in value;
3596
- isInstance = isInstance && "appName" in value;
3597
- isInstance = isInstance && "status" in value;
3196
+ isInstance = isInstance && "success" in value;
3197
+ isInstance = isInstance && "code" in value;
3198
+ isInstance = isInstance && "message" in value;
3199
+ isInstance = isInstance && "data" in value;
3200
+ isInstance = isInstance && "timestamp" in value;
3201
+ isInstance = isInstance && "path" in value;
3598
3202
  return isInstance;
3599
3203
  }
3600
- function TenantInfoFromJSON(json) {
3601
- return TenantInfoFromJSONTyped(json, false);
3204
+ function SuccessResponseFromJSON(json) {
3205
+ return SuccessResponseFromJSONTyped(json, false);
3602
3206
  }
3603
- function TenantInfoFromJSONTyped(json, ignoreDiscriminator) {
3207
+ function SuccessResponseFromJSONTyped(json, ignoreDiscriminator) {
3604
3208
  if (json === void 0 || json === null) {
3605
3209
  return json;
3606
3210
  }
3607
3211
  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"]
3212
+ "success": json["success"],
3213
+ "code": json["code"],
3214
+ "message": json["message"],
3215
+ "data": json["data"],
3216
+ "timestamp": json["timestamp"],
3217
+ "path": json["path"],
3218
+ "requestId": !exists(json, "requestId") ? void 0 : json["requestId"]
3614
3219
  };
3615
3220
  }
3616
- function TenantInfoToJSON(value) {
3221
+ function SuccessResponseToJSON(value) {
3617
3222
  if (value === void 0) {
3618
3223
  return void 0;
3619
3224
  }
@@ -3621,12 +3226,13 @@ function TenantInfoToJSON(value) {
3621
3226
  return null;
3622
3227
  }
3623
3228
  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
3229
+ "success": value.success,
3230
+ "code": value.code,
3231
+ "message": value.message,
3232
+ "data": value.data,
3233
+ "timestamp": value.timestamp,
3234
+ "path": value.path,
3235
+ "requestId": value.requestId
3630
3236
  };
3631
3237
  }
3632
3238
 
@@ -3888,32 +3494,27 @@ function TrackBatchRequestToJSON(value) {
3888
3494
  };
3889
3495
  }
3890
3496
 
3891
- // src/generated/models/UserActivityState.ts
3892
- function instanceOfUserActivityState(value) {
3497
+ // src/generated/models/ValidateActionRequest.ts
3498
+ function instanceOfValidateActionRequest(value) {
3893
3499
  let isInstance = true;
3894
- isInstance = isInstance && "activityId" in value;
3895
- isInstance = isInstance && "userId" in value;
3500
+ isInstance = isInstance && "actionType" in value;
3501
+ isInstance = isInstance && "params" in value;
3896
3502
  return isInstance;
3897
3503
  }
3898
- function UserActivityStateFromJSON(json) {
3899
- return UserActivityStateFromJSONTyped(json, false);
3504
+ function ValidateActionRequestFromJSON(json) {
3505
+ return ValidateActionRequestFromJSONTyped(json, false);
3900
3506
  }
3901
- function UserActivityStateFromJSONTyped(json, ignoreDiscriminator) {
3507
+ function ValidateActionRequestFromJSONTyped(json, ignoreDiscriminator) {
3902
3508
  if (json === void 0 || json === null) {
3903
3509
  return json;
3904
3510
  }
3905
3511
  return {
3906
- "activityId": json["activityId"],
3907
- "userId": json["userId"],
3908
- "participated": !exists(json, "participated") ? void 0 : json["participated"],
3909
- "participatedAt": !exists(json, "participatedAt") ? void 0 : new Date(json["participatedAt"]),
3910
- "remainingChances": !exists(json, "remainingChances") ? void 0 : json["remainingChances"],
3911
- "totalRewards": !exists(json, "totalRewards") ? void 0 : json["totalRewards"],
3912
- "progress": !exists(json, "progress") ? void 0 : json["progress"],
3913
- "customData": !exists(json, "customData") ? void 0 : json["customData"]
3512
+ "actionType": json["actionType"],
3513
+ "actionDefinitionVersionId": !exists(json, "actionDefinitionVersionId") ? void 0 : json["actionDefinitionVersionId"],
3514
+ "params": json["params"]
3914
3515
  };
3915
3516
  }
3916
- function UserActivityStateToJSON(value) {
3517
+ function ValidateActionRequestToJSON(value) {
3917
3518
  if (value === void 0) {
3918
3519
  return void 0;
3919
3520
  }
@@ -3921,26 +3522,21 @@ function UserActivityStateToJSON(value) {
3921
3522
  return null;
3922
3523
  }
3923
3524
  return {
3924
- "activityId": value.activityId,
3925
- "userId": value.userId,
3926
- "participated": value.participated,
3927
- "participatedAt": value.participatedAt === void 0 ? void 0 : value.participatedAt.toISOString(),
3928
- "remainingChances": value.remainingChances,
3929
- "totalRewards": value.totalRewards,
3930
- "progress": value.progress,
3931
- "customData": value.customData
3525
+ "actionType": value.actionType,
3526
+ "actionDefinitionVersionId": value.actionDefinitionVersionId,
3527
+ "params": value.params
3932
3528
  };
3933
3529
  }
3934
3530
 
3935
- // src/generated/models/ValidateActionParams200ResponseDataErrorsInner.ts
3936
- function instanceOfValidateActionParams200ResponseDataErrorsInner(value) {
3531
+ // src/generated/models/ValidateActionResponseDataErrorsInner.ts
3532
+ function instanceOfValidateActionResponseDataErrorsInner(value) {
3937
3533
  let isInstance = true;
3938
3534
  return isInstance;
3939
3535
  }
3940
- function ValidateActionParams200ResponseDataErrorsInnerFromJSON(json) {
3941
- return ValidateActionParams200ResponseDataErrorsInnerFromJSONTyped(json, false);
3536
+ function ValidateActionResponseDataErrorsInnerFromJSON(json) {
3537
+ return ValidateActionResponseDataErrorsInnerFromJSONTyped(json, false);
3942
3538
  }
3943
- function ValidateActionParams200ResponseDataErrorsInnerFromJSONTyped(json, ignoreDiscriminator) {
3539
+ function ValidateActionResponseDataErrorsInnerFromJSONTyped(json, ignoreDiscriminator) {
3944
3540
  if (json === void 0 || json === null) {
3945
3541
  return json;
3946
3542
  }
@@ -3950,7 +3546,7 @@ function ValidateActionParams200ResponseDataErrorsInnerFromJSONTyped(json, ignor
3950
3546
  "code": !exists(json, "code") ? void 0 : json["code"]
3951
3547
  };
3952
3548
  }
3953
- function ValidateActionParams200ResponseDataErrorsInnerToJSON(value) {
3549
+ function ValidateActionResponseDataErrorsInnerToJSON(value) {
3954
3550
  if (value === void 0) {
3955
3551
  return void 0;
3956
3552
  }
@@ -3964,25 +3560,25 @@ function ValidateActionParams200ResponseDataErrorsInnerToJSON(value) {
3964
3560
  };
3965
3561
  }
3966
3562
 
3967
- // src/generated/models/ValidateActionParams200ResponseData.ts
3968
- function instanceOfValidateActionParams200ResponseData(value) {
3563
+ // src/generated/models/ValidateActionResponseData.ts
3564
+ function instanceOfValidateActionResponseData(value) {
3969
3565
  let isInstance = true;
3970
3566
  isInstance = isInstance && "valid" in value;
3971
3567
  return isInstance;
3972
3568
  }
3973
- function ValidateActionParams200ResponseDataFromJSON(json) {
3974
- return ValidateActionParams200ResponseDataFromJSONTyped(json, false);
3569
+ function ValidateActionResponseDataFromJSON(json) {
3570
+ return ValidateActionResponseDataFromJSONTyped(json, false);
3975
3571
  }
3976
- function ValidateActionParams200ResponseDataFromJSONTyped(json, ignoreDiscriminator) {
3572
+ function ValidateActionResponseDataFromJSONTyped(json, ignoreDiscriminator) {
3977
3573
  if (json === void 0 || json === null) {
3978
3574
  return json;
3979
3575
  }
3980
3576
  return {
3981
3577
  "valid": json["valid"],
3982
- "errors": !exists(json, "errors") ? void 0 : json["errors"].map(ValidateActionParams200ResponseDataErrorsInnerFromJSON)
3578
+ "errors": !exists(json, "errors") ? void 0 : json["errors"].map(ValidateActionResponseDataErrorsInnerFromJSON)
3983
3579
  };
3984
3580
  }
3985
- function ValidateActionParams200ResponseDataToJSON(value) {
3581
+ function ValidateActionResponseDataToJSON(value) {
3986
3582
  if (value === void 0) {
3987
3583
  return void 0;
3988
3584
  }
@@ -3991,104 +3587,7 @@ function ValidateActionParams200ResponseDataToJSON(value) {
3991
3587
  }
3992
3588
  return {
3993
3589
  "valid": value.valid,
3994
- "errors": value.errors === void 0 ? void 0 : value.errors.map(ValidateActionParams200ResponseDataErrorsInnerToJSON)
3995
- };
3996
- }
3997
-
3998
- // src/generated/models/ValidateActionParams200Response.ts
3999
- function instanceOfValidateActionParams200Response(value) {
4000
- let isInstance = true;
4001
- isInstance = isInstance && "data" in value;
4002
- return isInstance;
4003
- }
4004
- function ValidateActionParams200ResponseFromJSON(json) {
4005
- return ValidateActionParams200ResponseFromJSONTyped(json, false);
4006
- }
4007
- function ValidateActionParams200ResponseFromJSONTyped(json, ignoreDiscriminator) {
4008
- if (json === void 0 || json === null) {
4009
- return json;
4010
- }
4011
- return {
4012
- "data": ValidateActionParams200ResponseDataFromJSON(json["data"])
4013
- };
4014
- }
4015
- function ValidateActionParams200ResponseToJSON(value) {
4016
- if (value === void 0) {
4017
- return void 0;
4018
- }
4019
- if (value === null) {
4020
- return null;
4021
- }
4022
- return {
4023
- "data": ValidateActionParams200ResponseDataToJSON(value.data)
4024
- };
4025
- }
4026
-
4027
- // src/generated/models/ValidateActionParamsRequest.ts
4028
- function instanceOfValidateActionParamsRequest(value) {
4029
- let isInstance = true;
4030
- isInstance = isInstance && "actionType" in value;
4031
- isInstance = isInstance && "params" in value;
4032
- return isInstance;
4033
- }
4034
- function ValidateActionParamsRequestFromJSON(json) {
4035
- return ValidateActionParamsRequestFromJSONTyped(json, false);
4036
- }
4037
- function ValidateActionParamsRequestFromJSONTyped(json, ignoreDiscriminator) {
4038
- if (json === void 0 || json === null) {
4039
- return json;
4040
- }
4041
- return {
4042
- "actionType": json["actionType"],
4043
- "actionDefinitionVersionId": !exists(json, "actionDefinitionVersionId") ? void 0 : json["actionDefinitionVersionId"],
4044
- "params": json["params"]
4045
- };
4046
- }
4047
- function ValidateActionParamsRequestToJSON(value) {
4048
- if (value === void 0) {
4049
- return void 0;
4050
- }
4051
- if (value === null) {
4052
- return null;
4053
- }
4054
- return {
4055
- "actionType": value.actionType,
4056
- "actionDefinitionVersionId": value.actionDefinitionVersionId,
4057
- "params": value.params
4058
- };
4059
- }
4060
-
4061
- // src/generated/models/ValidateActionRequest.ts
4062
- function instanceOfValidateActionRequest(value) {
4063
- let isInstance = true;
4064
- isInstance = isInstance && "actionType" in value;
4065
- isInstance = isInstance && "params" in value;
4066
- return isInstance;
4067
- }
4068
- function ValidateActionRequestFromJSON(json) {
4069
- return ValidateActionRequestFromJSONTyped(json, false);
4070
- }
4071
- function ValidateActionRequestFromJSONTyped(json, ignoreDiscriminator) {
4072
- if (json === void 0 || json === null) {
4073
- return json;
4074
- }
4075
- return {
4076
- "actionType": json["actionType"],
4077
- "actionDefinitionVersionId": !exists(json, "actionDefinitionVersionId") ? void 0 : json["actionDefinitionVersionId"],
4078
- "params": json["params"]
4079
- };
4080
- }
4081
- function ValidateActionRequestToJSON(value) {
4082
- if (value === void 0) {
4083
- return void 0;
4084
- }
4085
- if (value === null) {
4086
- return null;
4087
- }
4088
- return {
4089
- "actionType": value.actionType,
4090
- "actionDefinitionVersionId": value.actionDefinitionVersionId,
4091
- "params": value.params
3590
+ "errors": value.errors === void 0 ? void 0 : value.errors.map(ValidateActionResponseDataErrorsInnerToJSON)
4092
3591
  };
4093
3592
  }
4094
3593
 
@@ -4106,7 +3605,7 @@ function ValidateActionResponseFromJSONTyped(json, ignoreDiscriminator) {
4106
3605
  return json;
4107
3606
  }
4108
3607
  return {
4109
- "data": ValidateActionParams200ResponseDataFromJSON(json["data"])
3608
+ "data": ValidateActionResponseDataFromJSON(json["data"])
4110
3609
  };
4111
3610
  }
4112
3611
  function ValidateActionResponseToJSON(value) {
@@ -4117,7 +3616,7 @@ function ValidateActionResponseToJSON(value) {
4117
3616
  return null;
4118
3617
  }
4119
3618
  return {
4120
- "data": ValidateActionParams200ResponseDataToJSON(value.data)
3619
+ "data": ValidateActionResponseDataToJSON(value.data)
4121
3620
  };
4122
3621
  }
4123
3622
 
@@ -4151,7 +3650,7 @@ var ActionsApi = class extends BaseAPI {
4151
3650
  query: queryParameters,
4152
3651
  body: ExecuteActionRequestToJSON(requestParameters.executeActionRequest)
4153
3652
  }, initOverrides);
4154
- return new JSONApiResponse(response, (jsonValue) => ExecuteAction200ResponseFromJSON(jsonValue));
3653
+ return new JSONApiResponse(response, (jsonValue) => ExecuteActionResponseFromJSON(jsonValue));
4155
3654
  }
4156
3655
  /**
4157
3656
  * 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: 自定义动作
@@ -4190,7 +3689,7 @@ var ActionsApi = class extends BaseAPI {
4190
3689
  headers: headerParameters,
4191
3690
  query: queryParameters
4192
3691
  }, initOverrides);
4193
- return new JSONApiResponse(response, (jsonValue) => GetActionDefinition200ResponseFromJSON(jsonValue));
3692
+ return new JSONApiResponse(response, (jsonValue) => ActionDefinitionResponseFromJSON(jsonValue));
4194
3693
  }
4195
3694
  /**
4196
3695
  * 获取指定动作定义版本的详细信息(用于 Runtime 渲染动作配置)
@@ -4205,8 +3704,8 @@ var ActionsApi = class extends BaseAPI {
4205
3704
  * 验证动作参数
4206
3705
  */
4207
3706
  async validateActionParamsRaw(requestParameters, initOverrides) {
4208
- if (requestParameters.validateActionParamsRequest === null || requestParameters.validateActionParamsRequest === void 0) {
4209
- throw new RequiredError("validateActionParamsRequest", "Required parameter requestParameters.validateActionParamsRequest was null or undefined when calling validateActionParams.");
3707
+ if (requestParameters.validateActionRequest === null || requestParameters.validateActionRequest === void 0) {
3708
+ throw new RequiredError("validateActionRequest", "Required parameter requestParameters.validateActionRequest was null or undefined when calling validateActionParams.");
4210
3709
  }
4211
3710
  const queryParameters = {};
4212
3711
  const headerParameters = {};
@@ -4226,9 +3725,9 @@ var ActionsApi = class extends BaseAPI {
4226
3725
  method: "POST",
4227
3726
  headers: headerParameters,
4228
3727
  query: queryParameters,
4229
- body: ValidateActionParamsRequestToJSON(requestParameters.validateActionParamsRequest)
3728
+ body: ValidateActionRequestToJSON(requestParameters.validateActionRequest)
4230
3729
  }, initOverrides);
4231
- return new JSONApiResponse(response, (jsonValue) => ValidateActionParams200ResponseFromJSON(jsonValue));
3730
+ return new JSONApiResponse(response, (jsonValue) => ValidateActionResponseFromJSON(jsonValue));
4232
3731
  }
4233
3732
  /**
4234
3733
  * 验证动作参数是否符合 Schema 定义(不执行动作)。 用于前端表单提交前的预校验。
@@ -4420,58 +3919,33 @@ var ActivitiesApi = class extends BaseAPI {
4420
3919
  // src/generated/apis/PagesApi.ts
4421
3920
  var PagesApi = class extends BaseAPI {
4422
3921
  /**
4423
- * 获取指定页面的基本信息和元数据
4424
- * 获取页面
3922
+ * Runtime 的核心接口,返回渲染所需的完整数据。 支持两种模式: 1. 稳定入口(推荐):支持灰度/回滚/ops,返回 resolvedVersionId 和 CDN 地址 2. 保底模式:当 includeSnapshot=1 时,返回完整 snapshot(CDN 失败时使用) 响应包含: - resolvedVersionId: 解析后的页面版本 ID(考虑灰度/回滚) - cdnBase: CDN 基础地址 - snapshotUrl: snapshot.json 的完整 URL - manifestUrl: manifest.json 的完整 URL - ops: 运维配置(killSwitch、blockedComponents、flags) - etag: 内容哈希(用于缓存) - cacheTtlSeconds: 缓存 TTL(建议 10~30 秒) - snapshot: 完整快照(仅当 includeSnapshot=1 时返回)
3923
+ * 解析页面(Runtime 核心接口)
4425
3924
  */
4426
- async getPageRaw(requestParameters, initOverrides) {
3925
+ async resolvePageRaw(requestParameters, initOverrides) {
4427
3926
  if (requestParameters.pageId === null || requestParameters.pageId === void 0) {
4428
- throw new RequiredError("pageId", "Required parameter requestParameters.pageId was null or undefined when calling getPage.");
3927
+ throw new RequiredError("pageId", "Required parameter requestParameters.pageId was null or undefined when calling resolvePage.");
4429
3928
  }
4430
3929
  const queryParameters = {};
4431
- if (requestParameters.version !== void 0) {
4432
- queryParameters["version"] = requestParameters.version;
3930
+ if (requestParameters.pageId !== void 0) {
3931
+ queryParameters["pageId"] = requestParameters.pageId;
4433
3932
  }
4434
- const headerParameters = {};
4435
- if (this.configuration && this.configuration.apiKey) {
4436
- headerParameters["X-API-Key"] = this.configuration.apiKey("X-API-Key");
3933
+ if (requestParameters.env !== void 0) {
3934
+ queryParameters["env"] = requestParameters.env;
4437
3935
  }
4438
- if (this.configuration && this.configuration.accessToken) {
4439
- const token = this.configuration.accessToken;
4440
- const tokenString = await token("BearerAuth", []);
4441
- if (tokenString) {
4442
- headerParameters["Authorization"] = `Bearer ${tokenString}`;
4443
- }
3936
+ if (requestParameters.uid !== void 0) {
3937
+ queryParameters["uid"] = requestParameters.uid;
4444
3938
  }
4445
- const response = await this.request({
4446
- path: `/pages/{pageId}`.replace(`{${"pageId"}}`, encodeURIComponent(String(requestParameters.pageId))),
4447
- method: "GET",
4448
- headers: headerParameters,
4449
- query: queryParameters
4450
- }, initOverrides);
4451
- return new JSONApiResponse(response, (jsonValue) => GetPage200ResponseFromJSON(jsonValue));
4452
- }
4453
- /**
4454
- * 获取指定页面的基本信息和元数据
4455
- * 获取页面
4456
- */
4457
- async getPage(requestParameters, initOverrides) {
4458
- const response = await this.getPageRaw(requestParameters, initOverrides);
4459
- return await response.value();
4460
- }
4461
- /**
4462
- * 解析页面 Schema,返回完整的渲染数据。 包括: - 解析后的页面 Schema - 组件资源清单 - 预取的数据查询结果 - 动作资源清单
4463
- * 解析页面
4464
- */
4465
- async resolvePageRaw(requestParameters, initOverrides) {
4466
- if (requestParameters.pageId === null || requestParameters.pageId === void 0) {
4467
- throw new RequiredError("pageId", "Required parameter requestParameters.pageId was null or undefined when calling resolvePage.");
3939
+ if (requestParameters.deviceId !== void 0) {
3940
+ queryParameters["deviceId"] = requestParameters.deviceId;
4468
3941
  }
4469
- if (requestParameters.resolvePageRequest === null || requestParameters.resolvePageRequest === void 0) {
4470
- throw new RequiredError("resolvePageRequest", "Required parameter requestParameters.resolvePageRequest was null or undefined when calling resolvePage.");
3942
+ if (requestParameters.channel !== void 0) {
3943
+ queryParameters["channel"] = requestParameters.channel;
3944
+ }
3945
+ if (requestParameters.includeSnapshot !== void 0) {
3946
+ queryParameters["includeSnapshot"] = requestParameters.includeSnapshot;
4471
3947
  }
4472
- const queryParameters = {};
4473
3948
  const headerParameters = {};
4474
- headerParameters["Content-Type"] = "application/json";
4475
3949
  if (this.configuration && this.configuration.apiKey) {
4476
3950
  headerParameters["X-API-Key"] = this.configuration.apiKey("X-API-Key");
4477
3951
  }
@@ -4483,17 +3957,16 @@ var PagesApi = class extends BaseAPI {
4483
3957
  }
4484
3958
  }
4485
3959
  const response = await this.request({
4486
- path: `/pages/{pageId}/resolve`.replace(`{${"pageId"}}`, encodeURIComponent(String(requestParameters.pageId))),
4487
- method: "POST",
3960
+ path: `/page/resolve`,
3961
+ method: "GET",
4488
3962
  headers: headerParameters,
4489
- query: queryParameters,
4490
- body: ResolvePageRequestToJSON(requestParameters.resolvePageRequest)
3963
+ query: queryParameters
4491
3964
  }, initOverrides);
4492
- return new JSONApiResponse(response, (jsonValue) => ResolvePage200ResponseFromJSON(jsonValue));
3965
+ return new JSONApiResponse(response, (jsonValue) => ResolvePageResponseFromJSON(jsonValue));
4493
3966
  }
4494
3967
  /**
4495
- * 解析页面 Schema,返回完整的渲染数据。 包括: - 解析后的页面 Schema - 组件资源清单 - 预取的数据查询结果 - 动作资源清单
4496
- * 解析页面
3968
+ * Runtime 的核心接口,返回渲染所需的完整数据。 支持两种模式: 1. 稳定入口(推荐):支持灰度/回滚/ops,返回 resolvedVersionId 和 CDN 地址 2. 保底模式:当 includeSnapshot=1 时,返回完整 snapshot(CDN 失败时使用) 响应包含: - resolvedVersionId: 解析后的页面版本 ID(考虑灰度/回滚) - cdnBase: CDN 基础地址 - snapshotUrl: snapshot.json 的完整 URL - manifestUrl: manifest.json 的完整 URL - ops: 运维配置(killSwitch、blockedComponents、flags) - etag: 内容哈希(用于缓存) - cacheTtlSeconds: 缓存 TTL(建议 10~30 秒) - snapshot: 完整快照(仅当 includeSnapshot=1 时返回)
3969
+ * 解析页面(Runtime 核心接口)
4497
3970
  */
4498
3971
  async resolvePage(requestParameters, initOverrides) {
4499
3972
  const response = await this.resolvePageRaw(requestParameters, initOverrides);
@@ -4508,8 +3981,8 @@ var QueriesApi = class extends BaseAPI {
4508
3981
  * 批量执行数据查询
4509
3982
  */
4510
3983
  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.");
3984
+ if (requestParameters.batchQueryRequest === null || requestParameters.batchQueryRequest === void 0) {
3985
+ throw new RequiredError("batchQueryRequest", "Required parameter requestParameters.batchQueryRequest was null or undefined when calling batchQueryData.");
4513
3986
  }
4514
3987
  const queryParameters = {};
4515
3988
  const headerParameters = {};
@@ -4529,9 +4002,9 @@ var QueriesApi = class extends BaseAPI {
4529
4002
  method: "POST",
4530
4003
  headers: headerParameters,
4531
4004
  query: queryParameters,
4532
- body: BatchQueryDataRequestToJSON(requestParameters.batchQueryDataRequest)
4005
+ body: BatchQueryRequestToJSON(requestParameters.batchQueryRequest)
4533
4006
  }, initOverrides);
4534
- return new JSONApiResponse(response, (jsonValue) => BatchQueryData200ResponseFromJSON(jsonValue));
4007
+ return new JSONApiResponse(response, (jsonValue) => BatchQueryResponseFromJSON(jsonValue));
4535
4008
  }
4536
4009
  /**
4537
4010
  * 批量执行多个数据查询,用于页面初始化时预取多个数据源。 所有查询并行执行,部分失败不影响其他查询返回。
@@ -4570,7 +4043,7 @@ var QueriesApi = class extends BaseAPI {
4570
4043
  headers: headerParameters,
4571
4044
  query: queryParameters
4572
4045
  }, initOverrides);
4573
- return new JSONApiResponse(response, (jsonValue) => GetQueryDefinition200ResponseFromJSON(jsonValue));
4046
+ return new JSONApiResponse(response, (jsonValue) => QueryDefinitionResponseFromJSON(jsonValue));
4574
4047
  }
4575
4048
  /**
4576
4049
  * 获取指定数据查询定义版本的详细信息
@@ -4608,7 +4081,7 @@ var QueriesApi = class extends BaseAPI {
4608
4081
  query: queryParameters,
4609
4082
  body: QueryDataRequestToJSON(requestParameters.queryDataRequest)
4610
4083
  }, initOverrides);
4611
- return new JSONApiResponse(response, (jsonValue) => QueryData200ResponseFromJSON(jsonValue));
4084
+ return new JSONApiResponse(response, (jsonValue) => QueryDataResponseFromJSON(jsonValue));
4612
4085
  }
4613
4086
  /**
4614
4087
  * Data Proxy 统一入口,所有数据查询都通过此接口执行。 功能: - 白名单校验(queryVersionId 属于该 app/workspace) - 字段裁剪、脱敏 - 缓存(短 TTL) - 失败降级(兜底结构) - 审计(可选,或采样) 支持的数据源类型: - http: HTTP 接口 - graphql: GraphQL 查询 - database: 数据库查询(受限) - internal: 内部服务 - aggregation: 聚合查询
@@ -4777,6 +4250,9 @@ export {
4777
4250
  ActionContextFromJSON,
4778
4251
  ActionContextFromJSONTyped,
4779
4252
  ActionContextToJSON,
4253
+ ActionDefinitionResponseDataFromJSON,
4254
+ ActionDefinitionResponseDataFromJSONTyped,
4255
+ ActionDefinitionResponseDataToJSON,
4780
4256
  ActionDefinitionResponseFromJSON,
4781
4257
  ActionDefinitionResponseFromJSONTyped,
4782
4258
  ActionDefinitionResponseToJSON,
@@ -4792,24 +4268,18 @@ export {
4792
4268
  ActivitiesApi,
4793
4269
  ApiError,
4794
4270
  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
4271
  BatchQueryRequestFromJSON,
4811
4272
  BatchQueryRequestFromJSONTyped,
4273
+ BatchQueryRequestQueriesInnerFromJSON,
4274
+ BatchQueryRequestQueriesInnerFromJSONTyped,
4275
+ BatchQueryRequestQueriesInnerToJSON,
4812
4276
  BatchQueryRequestToJSON,
4277
+ BatchQueryResponseDataValueErrorFromJSON,
4278
+ BatchQueryResponseDataValueErrorFromJSONTyped,
4279
+ BatchQueryResponseDataValueErrorToJSON,
4280
+ BatchQueryResponseDataValueFromJSON,
4281
+ BatchQueryResponseDataValueFromJSONTyped,
4282
+ BatchQueryResponseDataValueToJSON,
4813
4283
  BatchQueryResponseFromJSON,
4814
4284
  BatchQueryResponseFromJSONTyped,
4815
4285
  BatchQueryResponseToJSON,
@@ -4821,140 +4291,52 @@ export {
4821
4291
  ComponentManifestFromJSONTyped,
4822
4292
  ComponentManifestToJSON,
4823
4293
  Configuration,
4294
+ ErrorDetailFromJSON,
4295
+ ErrorDetailFromJSONTyped,
4296
+ ErrorDetailToJSON,
4824
4297
  ErrorResponseFromJSON,
4825
4298
  ErrorResponseFromJSONTyped,
4826
4299
  ErrorResponseToJSON,
4827
- ExecuteAction200ResponseDataEffectsInnerFromJSON,
4828
- ExecuteAction200ResponseDataEffectsInnerFromJSONTyped,
4829
- ExecuteAction200ResponseDataEffectsInnerToJSON,
4830
- ExecuteAction200ResponseDataEffectsInnerTypeEnum,
4831
- ExecuteAction200ResponseDataFromJSON,
4832
- ExecuteAction200ResponseDataFromJSONTyped,
4833
- ExecuteAction200ResponseDataToJSON,
4834
- ExecuteAction200ResponseFromJSON,
4835
- ExecuteAction200ResponseFromJSONTyped,
4836
- ExecuteAction200ResponseMetaFromJSON,
4837
- ExecuteAction200ResponseMetaFromJSONTyped,
4838
- ExecuteAction200ResponseMetaToJSON,
4839
- ExecuteAction200ResponseToJSON,
4840
- ExecuteAction409ResponseDataFromJSON,
4841
- ExecuteAction409ResponseDataFromJSONTyped,
4842
- ExecuteAction409ResponseDataToJSON,
4843
- ExecuteAction409ResponseFromJSON,
4844
- ExecuteAction409ResponseFromJSONTyped,
4845
- ExecuteAction409ResponseToJSON,
4846
4300
  ExecuteActionRequestActionTypeEnum,
4847
- ExecuteActionRequestContextFromJSON,
4848
- ExecuteActionRequestContextFromJSONTyped,
4849
- ExecuteActionRequestContextToJSON,
4850
4301
  ExecuteActionRequestFromJSON,
4851
4302
  ExecuteActionRequestFromJSONTyped,
4852
- ExecuteActionRequestOptionsFromJSON,
4853
- ExecuteActionRequestOptionsFromJSONTyped,
4854
- ExecuteActionRequestOptionsToJSON,
4855
4303
  ExecuteActionRequestToJSON,
4304
+ ExecuteActionResponseAllOfDataFromJSON,
4305
+ ExecuteActionResponseAllOfDataFromJSONTyped,
4306
+ ExecuteActionResponseAllOfDataToJSON,
4856
4307
  ExecuteActionResponseFromJSON,
4857
4308
  ExecuteActionResponseFromJSONTyped,
4858
4309
  ExecuteActionResponseToJSON,
4859
4310
  FetchError,
4860
- GetActionDefinition200ResponseDataFromJSON,
4861
- GetActionDefinition200ResponseDataFromJSONTyped,
4862
- GetActionDefinition200ResponseDataToJSON,
4863
- GetActionDefinition200ResponseFromJSON,
4864
- GetActionDefinition200ResponseFromJSONTyped,
4865
- GetActionDefinition200ResponseToJSON,
4866
- GetActivityInfo200ResponseDataFromJSON,
4867
- GetActivityInfo200ResponseDataFromJSONTyped,
4868
- GetActivityInfo200ResponseDataRewardsInnerFromJSON,
4869
- GetActivityInfo200ResponseDataRewardsInnerFromJSONTyped,
4870
- GetActivityInfo200ResponseDataRewardsInnerToJSON,
4871
- GetActivityInfo200ResponseDataStatusEnum,
4872
- GetActivityInfo200ResponseDataToJSON,
4873
- GetActivityInfo200ResponseDataTypeEnum,
4874
4311
  GetActivityInfo200ResponseFromJSON,
4875
4312
  GetActivityInfo200ResponseFromJSONTyped,
4876
4313
  GetActivityInfo200ResponseToJSON,
4877
- GetActivityState200ResponseDataFromJSON,
4878
- GetActivityState200ResponseDataFromJSONTyped,
4879
- GetActivityState200ResponseDataToJSON,
4880
4314
  GetActivityState200ResponseFromJSON,
4881
4315
  GetActivityState200ResponseFromJSONTyped,
4882
4316
  GetActivityState200ResponseToJSON,
4883
- GetClaimRecords200ResponseDataInnerFromJSON,
4884
- GetClaimRecords200ResponseDataInnerFromJSONTyped,
4885
- GetClaimRecords200ResponseDataInnerStatusEnum,
4886
- GetClaimRecords200ResponseDataInnerToJSON,
4887
4317
  GetClaimRecords200ResponseFromJSON,
4888
4318
  GetClaimRecords200ResponseFromJSONTyped,
4889
- GetClaimRecords200ResponseMetaFromJSON,
4890
- GetClaimRecords200ResponseMetaFromJSONTyped,
4891
- GetClaimRecords200ResponseMetaToJSON,
4892
4319
  GetClaimRecords200ResponseToJSON,
4893
- GetLotteryRecords200ResponseDataInnerFromJSON,
4894
- GetLotteryRecords200ResponseDataInnerFromJSONTyped,
4895
- GetLotteryRecords200ResponseDataInnerPrizeTypeEnum,
4896
- GetLotteryRecords200ResponseDataInnerStatusEnum,
4897
- GetLotteryRecords200ResponseDataInnerToJSON,
4898
4320
  GetLotteryRecords200ResponseFromJSON,
4899
4321
  GetLotteryRecords200ResponseFromJSONTyped,
4900
4322
  GetLotteryRecords200ResponseToJSON,
4901
- GetPage200ResponseDataFromJSON,
4902
- GetPage200ResponseDataFromJSONTyped,
4903
- GetPage200ResponseDataMetaFromJSON,
4904
- GetPage200ResponseDataMetaFromJSONTyped,
4905
- GetPage200ResponseDataMetaToJSON,
4906
- GetPage200ResponseDataToJSON,
4907
- GetPage200ResponseFromJSON,
4908
- GetPage200ResponseFromJSONTyped,
4909
- GetPage200ResponseToJSON,
4910
- GetPage404ResponseDetailsInnerFromJSON,
4911
- GetPage404ResponseDetailsInnerFromJSONTyped,
4912
- GetPage404ResponseDetailsInnerToJSON,
4913
- GetPage404ResponseFromJSON,
4914
- GetPage404ResponseFromJSONTyped,
4915
- GetPage404ResponseToJSON,
4916
- GetQueryDefinition200ResponseDataFromJSON,
4917
- GetQueryDefinition200ResponseDataFromJSONTyped,
4918
- GetQueryDefinition200ResponseDataToJSON,
4919
- GetQueryDefinition200ResponseFromJSON,
4920
- GetQueryDefinition200ResponseFromJSONTyped,
4921
- GetQueryDefinition200ResponseToJSON,
4922
- GetSigninCalendar200ResponseDataFromJSON,
4923
- GetSigninCalendar200ResponseDataFromJSONTyped,
4924
- GetSigninCalendar200ResponseDataRecordsInnerFromJSON,
4925
- GetSigninCalendar200ResponseDataRecordsInnerFromJSONTyped,
4926
- GetSigninCalendar200ResponseDataRecordsInnerRewardFromJSON,
4927
- GetSigninCalendar200ResponseDataRecordsInnerRewardFromJSONTyped,
4928
- GetSigninCalendar200ResponseDataRecordsInnerRewardToJSON,
4929
- GetSigninCalendar200ResponseDataRecordsInnerToJSON,
4930
- GetSigninCalendar200ResponseDataToJSON,
4931
4323
  GetSigninCalendar200ResponseFromJSON,
4932
4324
  GetSigninCalendar200ResponseFromJSONTyped,
4933
4325
  GetSigninCalendar200ResponseToJSON,
4934
- GetTenantConfig200ResponseDataBlockedComponentsInnerFromJSON,
4935
- GetTenantConfig200ResponseDataBlockedComponentsInnerFromJSONTyped,
4936
- GetTenantConfig200ResponseDataBlockedComponentsInnerToJSON,
4937
- GetTenantConfig200ResponseDataFromJSON,
4938
- GetTenantConfig200ResponseDataFromJSONTyped,
4939
- GetTenantConfig200ResponseDataKillSwitchFromJSON,
4940
- GetTenantConfig200ResponseDataKillSwitchFromJSONTyped,
4941
- GetTenantConfig200ResponseDataKillSwitchToJSON,
4942
- GetTenantConfig200ResponseDataToJSON,
4943
4326
  GetTenantConfig200ResponseFromJSON,
4944
4327
  GetTenantConfig200ResponseFromJSONTyped,
4945
4328
  GetTenantConfig200ResponseToJSON,
4946
- HealthCheck200ResponseDependenciesValueFromJSON,
4947
- HealthCheck200ResponseDependenciesValueFromJSONTyped,
4948
- HealthCheck200ResponseDependenciesValueStatusEnum,
4949
- HealthCheck200ResponseDependenciesValueToJSON,
4950
- HealthCheck200ResponseFromJSON,
4951
- HealthCheck200ResponseFromJSONTyped,
4952
- HealthCheck200ResponseStatusEnum,
4953
- HealthCheck200ResponseToJSON,
4329
+ HealthResponseDependenciesValueFromJSON,
4330
+ HealthResponseDependenciesValueFromJSONTyped,
4331
+ HealthResponseDependenciesValueStatusEnum,
4332
+ HealthResponseDependenciesValueToJSON,
4954
4333
  HealthResponseFromJSON,
4955
4334
  HealthResponseFromJSONTyped,
4956
4335
  HealthResponseStatusEnum,
4957
4336
  HealthResponseToJSON,
4337
+ IdempotencyConflictResponseDataFromJSON,
4338
+ IdempotencyConflictResponseDataFromJSONTyped,
4339
+ IdempotencyConflictResponseDataToJSON,
4958
4340
  IdempotencyConflictResponseFromJSON,
4959
4341
  IdempotencyConflictResponseFromJSONTyped,
4960
4342
  IdempotencyConflictResponseToJSON,
@@ -4967,9 +4349,18 @@ export {
4967
4349
  LotteryRecordInfoStatusEnum,
4968
4350
  LotteryRecordInfoToJSON,
4969
4351
  NetworkError,
4352
+ OpsConfigBlockedComponentsInnerFromJSON,
4353
+ OpsConfigBlockedComponentsInnerFromJSONTyped,
4354
+ OpsConfigBlockedComponentsInnerToJSON,
4970
4355
  OpsConfigFromJSON,
4971
4356
  OpsConfigFromJSONTyped,
4972
4357
  OpsConfigToJSON,
4358
+ PageResponseAllOfDataFromJSON,
4359
+ PageResponseAllOfDataFromJSONTyped,
4360
+ PageResponseAllOfDataMetaFromJSON,
4361
+ PageResponseAllOfDataMetaFromJSONTyped,
4362
+ PageResponseAllOfDataMetaToJSON,
4363
+ PageResponseAllOfDataToJSON,
4973
4364
  PageResponseFromJSON,
4974
4365
  PageResponseFromJSONTyped,
4975
4366
  PageResponseToJSON,
@@ -4979,6 +4370,9 @@ export {
4979
4370
  PaginationMetaToJSON,
4980
4371
  PublicActivityInfoFromJSON,
4981
4372
  PublicActivityInfoFromJSONTyped,
4373
+ PublicActivityInfoRewardsInnerFromJSON,
4374
+ PublicActivityInfoRewardsInnerFromJSONTyped,
4375
+ PublicActivityInfoRewardsInnerToJSON,
4982
4376
  PublicActivityInfoStatusEnum,
4983
4377
  PublicActivityInfoToJSON,
4984
4378
  PublicActivityInfoTypeEnum,
@@ -4986,27 +4380,18 @@ export {
4986
4380
  QueryContextFromJSON,
4987
4381
  QueryContextFromJSONTyped,
4988
4382
  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,
4383
+ QueryDataRequestCacheControlFromJSON,
4384
+ QueryDataRequestCacheControlFromJSONTyped,
4385
+ QueryDataRequestCacheControlToJSON,
5001
4386
  QueryDataRequestFromJSON,
5002
4387
  QueryDataRequestFromJSONTyped,
5003
- QueryDataRequestOptionsFromJSON,
5004
- QueryDataRequestOptionsFromJSONTyped,
5005
- QueryDataRequestOptionsToJSON,
5006
4388
  QueryDataRequestToJSON,
5007
4389
  QueryDataResponseFromJSON,
5008
4390
  QueryDataResponseFromJSONTyped,
5009
4391
  QueryDataResponseToJSON,
4392
+ QueryDefinitionResponseDataFromJSON,
4393
+ QueryDefinitionResponseDataFromJSONTyped,
4394
+ QueryDefinitionResponseDataToJSON,
5010
4395
  QueryDefinitionResponseFromJSON,
5011
4396
  QueryDefinitionResponseFromJSONTyped,
5012
4397
  QueryDefinitionResponseToJSON,
@@ -5020,49 +4405,46 @@ export {
5020
4405
  ReadinessCheck503ResponseFromJSONTyped,
5021
4406
  ReadinessCheck503ResponseToJSON,
5022
4407
  RequiredError,
5023
- ResolveContextDeviceTypeEnum,
5024
- ResolveContextFromJSON,
5025
- ResolveContextFromJSONTyped,
5026
- ResolveContextToJSON,
5027
- ResolvePage200ResponseDataFromJSON,
5028
- ResolvePage200ResponseDataFromJSONTyped,
5029
- ResolvePage200ResponseDataManifestsActionsInnerActionTypeEnum,
5030
- ResolvePage200ResponseDataManifestsActionsInnerFromJSON,
5031
- ResolvePage200ResponseDataManifestsActionsInnerFromJSONTyped,
5032
- ResolvePage200ResponseDataManifestsActionsInnerToJSON,
5033
- ResolvePage200ResponseDataManifestsComponentsInnerFromJSON,
5034
- ResolvePage200ResponseDataManifestsComponentsInnerFromJSONTyped,
5035
- ResolvePage200ResponseDataManifestsComponentsInnerToJSON,
5036
- ResolvePage200ResponseDataManifestsFromJSON,
5037
- ResolvePage200ResponseDataManifestsFromJSONTyped,
5038
- ResolvePage200ResponseDataManifestsQueriesInnerFromJSON,
5039
- ResolvePage200ResponseDataManifestsQueriesInnerFromJSONTyped,
5040
- ResolvePage200ResponseDataManifestsQueriesInnerToJSON,
5041
- ResolvePage200ResponseDataManifestsToJSON,
5042
- ResolvePage200ResponseDataOpsConfigFromJSON,
5043
- ResolvePage200ResponseDataOpsConfigFromJSONTyped,
5044
- ResolvePage200ResponseDataOpsConfigToJSON,
5045
- ResolvePage200ResponseDataToJSON,
5046
- ResolvePage200ResponseFromJSON,
5047
- ResolvePage200ResponseFromJSONTyped,
5048
- ResolvePage200ResponseToJSON,
5049
- ResolvePageRequestContextDeviceTypeEnum,
5050
- ResolvePageRequestContextFromJSON,
5051
- ResolvePageRequestContextFromJSONTyped,
5052
- ResolvePageRequestContextToJSON,
5053
- ResolvePageRequestFromJSON,
5054
- ResolvePageRequestFromJSONTyped,
5055
- ResolvePageRequestOptionsFromJSON,
5056
- ResolvePageRequestOptionsFromJSONTyped,
5057
- ResolvePageRequestOptionsToJSON,
5058
- ResolvePageRequestToJSON,
4408
+ ResolvePageResponseAllOfDataFromJSON,
4409
+ ResolvePageResponseAllOfDataFromJSONTyped,
4410
+ ResolvePageResponseAllOfDataRolloutMatchFromJSON,
4411
+ ResolvePageResponseAllOfDataRolloutMatchFromJSONTyped,
4412
+ ResolvePageResponseAllOfDataRolloutMatchToJSON,
4413
+ ResolvePageResponseAllOfDataSnapshotDefinitionsDigestActionsFromJSON,
4414
+ ResolvePageResponseAllOfDataSnapshotDefinitionsDigestActionsFromJSONTyped,
4415
+ ResolvePageResponseAllOfDataSnapshotDefinitionsDigestActionsToJSON,
4416
+ ResolvePageResponseAllOfDataSnapshotDefinitionsDigestFromJSON,
4417
+ ResolvePageResponseAllOfDataSnapshotDefinitionsDigestFromJSONTyped,
4418
+ ResolvePageResponseAllOfDataSnapshotDefinitionsDigestToJSON,
4419
+ ResolvePageResponseAllOfDataSnapshotFromJSON,
4420
+ ResolvePageResponseAllOfDataSnapshotFromJSONTyped,
4421
+ ResolvePageResponseAllOfDataSnapshotManifestComponentsFromJSON,
4422
+ ResolvePageResponseAllOfDataSnapshotManifestComponentsFromJSONTyped,
4423
+ ResolvePageResponseAllOfDataSnapshotManifestComponentsToJSON,
4424
+ ResolvePageResponseAllOfDataSnapshotManifestEntrypointsFromJSON,
4425
+ ResolvePageResponseAllOfDataSnapshotManifestEntrypointsFromJSONTyped,
4426
+ ResolvePageResponseAllOfDataSnapshotManifestEntrypointsToJSON,
4427
+ ResolvePageResponseAllOfDataSnapshotManifestFromJSON,
4428
+ ResolvePageResponseAllOfDataSnapshotManifestFromJSONTyped,
4429
+ ResolvePageResponseAllOfDataSnapshotManifestRuntimeFromJSON,
4430
+ ResolvePageResponseAllOfDataSnapshotManifestRuntimeFromJSONTyped,
4431
+ ResolvePageResponseAllOfDataSnapshotManifestRuntimeToJSON,
4432
+ ResolvePageResponseAllOfDataSnapshotManifestToJSON,
4433
+ ResolvePageResponseAllOfDataSnapshotMetaBindingsFromJSON,
4434
+ ResolvePageResponseAllOfDataSnapshotMetaBindingsFromJSONTyped,
4435
+ ResolvePageResponseAllOfDataSnapshotMetaBindingsToJSON,
4436
+ ResolvePageResponseAllOfDataSnapshotMetaEnvEnum,
4437
+ ResolvePageResponseAllOfDataSnapshotMetaFromJSON,
4438
+ ResolvePageResponseAllOfDataSnapshotMetaFromJSONTyped,
4439
+ ResolvePageResponseAllOfDataSnapshotMetaToJSON,
4440
+ ResolvePageResponseAllOfDataSnapshotPageFromJSON,
4441
+ ResolvePageResponseAllOfDataSnapshotPageFromJSONTyped,
4442
+ ResolvePageResponseAllOfDataSnapshotPageToJSON,
4443
+ ResolvePageResponseAllOfDataSnapshotToJSON,
4444
+ ResolvePageResponseAllOfDataToJSON,
5059
4445
  ResolvePageResponseFromJSON,
5060
4446
  ResolvePageResponseFromJSONTyped,
5061
4447
  ResolvePageResponseToJSON,
5062
- ResolveTenant200ResponseDataFromJSON,
5063
- ResolveTenant200ResponseDataFromJSONTyped,
5064
- ResolveTenant200ResponseDataStatusEnum,
5065
- ResolveTenant200ResponseDataToJSON,
5066
4448
  ResolveTenant200ResponseFromJSON,
5067
4449
  ResolveTenant200ResponseFromJSONTyped,
5068
4450
  ResolveTenant200ResponseToJSON,
@@ -5075,9 +4457,24 @@ export {
5075
4457
  ResponseError,
5076
4458
  SigninCalendarFromJSON,
5077
4459
  SigninCalendarFromJSONTyped,
4460
+ SigninCalendarRecordsInnerFromJSON,
4461
+ SigninCalendarRecordsInnerFromJSONTyped,
4462
+ SigninCalendarRecordsInnerRewardFromJSON,
4463
+ SigninCalendarRecordsInnerRewardFromJSONTyped,
4464
+ SigninCalendarRecordsInnerRewardToJSON,
4465
+ SigninCalendarRecordsInnerToJSON,
5078
4466
  SigninCalendarToJSON,
4467
+ SuccessResponseFromJSON,
4468
+ SuccessResponseFromJSONTyped,
4469
+ SuccessResponseToJSON,
4470
+ TenantConfigBlockedComponentsInnerFromJSON,
4471
+ TenantConfigBlockedComponentsInnerFromJSONTyped,
4472
+ TenantConfigBlockedComponentsInnerToJSON,
5079
4473
  TenantConfigFromJSON,
5080
4474
  TenantConfigFromJSONTyped,
4475
+ TenantConfigKillSwitchFromJSON,
4476
+ TenantConfigKillSwitchFromJSONTyped,
4477
+ TenantConfigKillSwitchToJSON,
5081
4478
  TenantConfigToJSON,
5082
4479
  TenantInfoFromJSON,
5083
4480
  TenantInfoFromJSONTyped,
@@ -5110,26 +4507,52 @@ export {
5110
4507
  TrackRequestFromJSON,
5111
4508
  TrackRequestFromJSONTyped,
5112
4509
  TrackRequestToJSON,
4510
+ UserActivityStateActivityTypeEnum,
5113
4511
  UserActivityStateFromJSON,
5114
4512
  UserActivityStateFromJSONTyped,
5115
4513
  UserActivityStateToJSON,
4514
+ UserActivityStateTypeStateFromJSON,
4515
+ UserActivityStateTypeStateFromJSONTyped,
4516
+ UserActivityStateTypeStateOneOf1CycleRecordsInnerFromJSON,
4517
+ UserActivityStateTypeStateOneOf1CycleRecordsInnerFromJSONTyped,
4518
+ UserActivityStateTypeStateOneOf1CycleRecordsInnerToJSON,
4519
+ UserActivityStateTypeStateOneOf1FromJSON,
4520
+ UserActivityStateTypeStateOneOf1FromJSONTyped,
4521
+ UserActivityStateTypeStateOneOf1NextRewardFromJSON,
4522
+ UserActivityStateTypeStateOneOf1NextRewardFromJSONTyped,
4523
+ UserActivityStateTypeStateOneOf1NextRewardToJSON,
4524
+ UserActivityStateTypeStateOneOf1NextRewardTypeEnum,
4525
+ UserActivityStateTypeStateOneOf1ToJSON,
4526
+ UserActivityStateTypeStateOneOf1TypeEnum,
4527
+ UserActivityStateTypeStateOneOf2FromJSON,
4528
+ UserActivityStateTypeStateOneOf2FromJSONTyped,
4529
+ UserActivityStateTypeStateOneOf2PityProgressFromJSON,
4530
+ UserActivityStateTypeStateOneOf2PityProgressFromJSONTyped,
4531
+ UserActivityStateTypeStateOneOf2PityProgressToJSON,
4532
+ UserActivityStateTypeStateOneOf2ResourcesInnerFromJSON,
4533
+ UserActivityStateTypeStateOneOf2ResourcesInnerFromJSONTyped,
4534
+ UserActivityStateTypeStateOneOf2ResourcesInnerToJSON,
4535
+ UserActivityStateTypeStateOneOf2ToJSON,
4536
+ UserActivityStateTypeStateOneOf2TypeEnum,
4537
+ UserActivityStateTypeStateOneOfAvailablePrizesInnerFromJSON,
4538
+ UserActivityStateTypeStateOneOfAvailablePrizesInnerFromJSONTyped,
4539
+ UserActivityStateTypeStateOneOfAvailablePrizesInnerToJSON,
4540
+ UserActivityStateTypeStateOneOfFromJSON,
4541
+ UserActivityStateTypeStateOneOfFromJSONTyped,
4542
+ UserActivityStateTypeStateOneOfToJSON,
4543
+ UserActivityStateTypeStateOneOfTypeEnum,
4544
+ UserActivityStateTypeStateToJSON,
5116
4545
  UserClient,
5117
4546
  VERSION,
5118
- ValidateActionParams200ResponseDataErrorsInnerFromJSON,
5119
- ValidateActionParams200ResponseDataErrorsInnerFromJSONTyped,
5120
- ValidateActionParams200ResponseDataErrorsInnerToJSON,
5121
- ValidateActionParams200ResponseDataFromJSON,
5122
- ValidateActionParams200ResponseDataFromJSONTyped,
5123
- ValidateActionParams200ResponseDataToJSON,
5124
- ValidateActionParams200ResponseFromJSON,
5125
- ValidateActionParams200ResponseFromJSONTyped,
5126
- ValidateActionParams200ResponseToJSON,
5127
- ValidateActionParamsRequestFromJSON,
5128
- ValidateActionParamsRequestFromJSONTyped,
5129
- ValidateActionParamsRequestToJSON,
5130
4547
  ValidateActionRequestFromJSON,
5131
4548
  ValidateActionRequestFromJSONTyped,
5132
4549
  ValidateActionRequestToJSON,
4550
+ ValidateActionResponseDataErrorsInnerFromJSON,
4551
+ ValidateActionResponseDataErrorsInnerFromJSONTyped,
4552
+ ValidateActionResponseDataErrorsInnerToJSON,
4553
+ ValidateActionResponseDataFromJSON,
4554
+ ValidateActionResponseDataFromJSONTyped,
4555
+ ValidateActionResponseDataToJSON,
5133
4556
  ValidateActionResponseFromJSON,
5134
4557
  ValidateActionResponseFromJSONTyped,
5135
4558
  ValidateActionResponseToJSON,
@@ -5141,95 +4564,73 @@ export {
5141
4564
  createUserConfiguration,
5142
4565
  instanceOfActionContext,
5143
4566
  instanceOfActionDefinitionResponse,
4567
+ instanceOfActionDefinitionResponseData,
5144
4568
  instanceOfActionEffect,
5145
4569
  instanceOfActionManifest,
5146
- instanceOfBatchQueryData200Response,
5147
- instanceOfBatchQueryData200ResponseDataValue,
5148
- instanceOfBatchQueryData200ResponseDataValueError,
5149
- instanceOfBatchQueryDataRequest,
5150
- instanceOfBatchQueryDataRequestQueriesInner,
5151
4570
  instanceOfBatchQueryRequest,
4571
+ instanceOfBatchQueryRequestQueriesInner,
5152
4572
  instanceOfBatchQueryResponse,
4573
+ instanceOfBatchQueryResponseDataValue,
4574
+ instanceOfBatchQueryResponseDataValueError,
5153
4575
  instanceOfClaimRecordInfo,
5154
4576
  instanceOfComponentManifest,
4577
+ instanceOfErrorDetail,
5155
4578
  instanceOfErrorResponse,
5156
- instanceOfExecuteAction200Response,
5157
- instanceOfExecuteAction200ResponseData,
5158
- instanceOfExecuteAction200ResponseDataEffectsInner,
5159
- instanceOfExecuteAction200ResponseMeta,
5160
- instanceOfExecuteAction409Response,
5161
- instanceOfExecuteAction409ResponseData,
5162
4579
  instanceOfExecuteActionRequest,
5163
- instanceOfExecuteActionRequestContext,
5164
- instanceOfExecuteActionRequestOptions,
5165
4580
  instanceOfExecuteActionResponse,
5166
- instanceOfGetActionDefinition200Response,
5167
- instanceOfGetActionDefinition200ResponseData,
4581
+ instanceOfExecuteActionResponseAllOfData,
5168
4582
  instanceOfGetActivityInfo200Response,
5169
- instanceOfGetActivityInfo200ResponseData,
5170
- instanceOfGetActivityInfo200ResponseDataRewardsInner,
5171
4583
  instanceOfGetActivityState200Response,
5172
- instanceOfGetActivityState200ResponseData,
5173
4584
  instanceOfGetClaimRecords200Response,
5174
- instanceOfGetClaimRecords200ResponseDataInner,
5175
- instanceOfGetClaimRecords200ResponseMeta,
5176
4585
  instanceOfGetLotteryRecords200Response,
5177
- instanceOfGetLotteryRecords200ResponseDataInner,
5178
- instanceOfGetPage200Response,
5179
- instanceOfGetPage200ResponseData,
5180
- instanceOfGetPage200ResponseDataMeta,
5181
- instanceOfGetPage404Response,
5182
- instanceOfGetPage404ResponseDetailsInner,
5183
- instanceOfGetQueryDefinition200Response,
5184
- instanceOfGetQueryDefinition200ResponseData,
5185
4586
  instanceOfGetSigninCalendar200Response,
5186
- instanceOfGetSigninCalendar200ResponseData,
5187
- instanceOfGetSigninCalendar200ResponseDataRecordsInner,
5188
- instanceOfGetSigninCalendar200ResponseDataRecordsInnerReward,
5189
4587
  instanceOfGetTenantConfig200Response,
5190
- instanceOfGetTenantConfig200ResponseData,
5191
- instanceOfGetTenantConfig200ResponseDataBlockedComponentsInner,
5192
- instanceOfGetTenantConfig200ResponseDataKillSwitch,
5193
- instanceOfHealthCheck200Response,
5194
- instanceOfHealthCheck200ResponseDependenciesValue,
5195
4588
  instanceOfHealthResponse,
4589
+ instanceOfHealthResponseDependenciesValue,
5196
4590
  instanceOfIdempotencyConflictResponse,
4591
+ instanceOfIdempotencyConflictResponseData,
5197
4592
  instanceOfLivenessCheck200Response,
5198
4593
  instanceOfLotteryRecordInfo,
5199
4594
  instanceOfOpsConfig,
4595
+ instanceOfOpsConfigBlockedComponentsInner,
5200
4596
  instanceOfPageResponse,
4597
+ instanceOfPageResponseAllOfData,
4598
+ instanceOfPageResponseAllOfDataMeta,
5201
4599
  instanceOfPaginationMeta,
5202
4600
  instanceOfPublicActivityInfo,
4601
+ instanceOfPublicActivityInfoRewardsInner,
5203
4602
  instanceOfQueryContext,
5204
- instanceOfQueryData200Response,
5205
- instanceOfQueryData200ResponseMeta,
5206
- instanceOfQueryData200ResponseMetaPagination,
5207
4603
  instanceOfQueryDataRequest,
5208
- instanceOfQueryDataRequestContext,
5209
- instanceOfQueryDataRequestOptions,
4604
+ instanceOfQueryDataRequestCacheControl,
5210
4605
  instanceOfQueryDataResponse,
5211
4606
  instanceOfQueryDefinitionResponse,
4607
+ instanceOfQueryDefinitionResponseData,
5212
4608
  instanceOfQueryManifest,
5213
4609
  instanceOfReadinessCheck200Response,
5214
4610
  instanceOfReadinessCheck503Response,
5215
- instanceOfResolveContext,
5216
- instanceOfResolvePage200Response,
5217
- instanceOfResolvePage200ResponseData,
5218
- instanceOfResolvePage200ResponseDataManifests,
5219
- instanceOfResolvePage200ResponseDataManifestsActionsInner,
5220
- instanceOfResolvePage200ResponseDataManifestsComponentsInner,
5221
- instanceOfResolvePage200ResponseDataManifestsQueriesInner,
5222
- instanceOfResolvePage200ResponseDataOpsConfig,
5223
- instanceOfResolvePageRequest,
5224
- instanceOfResolvePageRequestContext,
5225
- instanceOfResolvePageRequestOptions,
5226
4611
  instanceOfResolvePageResponse,
4612
+ instanceOfResolvePageResponseAllOfData,
4613
+ instanceOfResolvePageResponseAllOfDataRolloutMatch,
4614
+ instanceOfResolvePageResponseAllOfDataSnapshot,
4615
+ instanceOfResolvePageResponseAllOfDataSnapshotDefinitionsDigest,
4616
+ instanceOfResolvePageResponseAllOfDataSnapshotDefinitionsDigestActions,
4617
+ instanceOfResolvePageResponseAllOfDataSnapshotManifest,
4618
+ instanceOfResolvePageResponseAllOfDataSnapshotManifestComponents,
4619
+ instanceOfResolvePageResponseAllOfDataSnapshotManifestEntrypoints,
4620
+ instanceOfResolvePageResponseAllOfDataSnapshotManifestRuntime,
4621
+ instanceOfResolvePageResponseAllOfDataSnapshotMeta,
4622
+ instanceOfResolvePageResponseAllOfDataSnapshotMetaBindings,
4623
+ instanceOfResolvePageResponseAllOfDataSnapshotPage,
5227
4624
  instanceOfResolveTenant200Response,
5228
- instanceOfResolveTenant200ResponseData,
5229
4625
  instanceOfResolveTenantRequest,
5230
4626
  instanceOfResourceManifests,
5231
4627
  instanceOfSigninCalendar,
4628
+ instanceOfSigninCalendarRecordsInner,
4629
+ instanceOfSigninCalendarRecordsInnerReward,
4630
+ instanceOfSuccessResponse,
5232
4631
  instanceOfTenantConfig,
4632
+ instanceOfTenantConfigBlockedComponentsInner,
4633
+ instanceOfTenantConfigKillSwitch,
5233
4634
  instanceOfTenantInfo,
5234
4635
  instanceOfTrack202Response,
5235
4636
  instanceOfTrack202ResponseData,
@@ -5240,11 +4641,17 @@ export {
5240
4641
  instanceOfTrackRequest,
5241
4642
  instanceOfTrackRequestContext,
5242
4643
  instanceOfUserActivityState,
5243
- instanceOfValidateActionParams200Response,
5244
- instanceOfValidateActionParams200ResponseData,
5245
- instanceOfValidateActionParams200ResponseDataErrorsInner,
5246
- instanceOfValidateActionParamsRequest,
4644
+ instanceOfUserActivityStateTypeStateOneOf,
4645
+ instanceOfUserActivityStateTypeStateOneOf1,
4646
+ instanceOfUserActivityStateTypeStateOneOf1CycleRecordsInner,
4647
+ instanceOfUserActivityStateTypeStateOneOf1NextReward,
4648
+ instanceOfUserActivityStateTypeStateOneOf2,
4649
+ instanceOfUserActivityStateTypeStateOneOf2PityProgress,
4650
+ instanceOfUserActivityStateTypeStateOneOf2ResourcesInner,
4651
+ instanceOfUserActivityStateTypeStateOneOfAvailablePrizesInner,
5247
4652
  instanceOfValidateActionRequest,
5248
4653
  instanceOfValidateActionResponse,
4654
+ instanceOfValidateActionResponseData,
4655
+ instanceOfValidateActionResponseDataErrorsInner,
5249
4656
  isRetryableError
5250
4657
  };