@zyphr-dev/node-sdk 0.1.41 → 0.1.43
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.cjs +1912 -392
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2055 -501
- package/dist/index.d.ts +2055 -501
- package/dist/index.js +1721 -387
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/.openapi-generator/FILES +37 -1
- package/src/client.ts +4 -0
- package/src/src/apis/AuthUserDirectoryApi.ts +68 -46
- package/src/src/apis/DomainsApi.ts +7 -6
- package/src/src/apis/InboxApi.ts +82 -58
- package/src/src/apis/TemplatesApi.ts +10 -6
- package/src/src/apis/WaaSDeliveriesApi.ts +17 -12
- package/src/src/apis/WaaSEndpointsApi.ts +50 -30
- package/src/src/apis/WaaSEventTypesApi.ts +17 -12
- package/src/src/models/CloseWaaSEndpointCircuit200Response.ts +88 -0
- package/src/src/models/CloseWaaSEndpointCircuit200ResponseData.ts +76 -0
- package/src/src/models/GetEndUserById200Response.ts +88 -0
- package/src/src/models/GetEndUserClaims200Response.ts +88 -0
- package/src/src/models/GetEndUserClaims200ResponseData.ts +65 -0
- package/src/src/models/GetSubscriberInboxPreferences200Response.ts +73 -0
- package/src/src/models/GetSubscriberInboxPreferences200ResponseData.ts +88 -0
- package/src/src/models/GetSubscriberInboxPreferences200ResponseDataCategoriesInner.ts +88 -0
- package/src/src/models/GetSubscriberInboxPreferences200ResponseDataCategoriesInnerCategory.ts +97 -0
- package/src/src/models/GetSubscriberInboxPreferences200ResponseDataGlobal.ts +73 -0
- package/src/src/models/GetSubscriberInboxPreferences200ResponseDataGlobalChannelsInner.ts +94 -0
- package/src/src/models/GetSubscriberNotification200Response.ts +73 -0
- package/src/src/models/GetSubscriberUnreadCount200Response.ts +73 -0
- package/src/src/models/GetWaaSDelivery200Response.ts +88 -0
- package/src/src/models/GetWaaSEndpointCircuit200Response.ts +88 -0
- package/src/src/models/GetWaaSEndpointCircuit200ResponseData.ts +123 -0
- package/src/src/models/GetWaaSEndpointMetrics200Response.ts +88 -0
- package/src/src/models/GetWaaSEndpointMetrics200ResponseData.ts +99 -0
- package/src/src/models/GetWaaSEndpointMetrics200ResponseDataHealth.ts +87 -0
- package/src/src/models/GetWaaSEndpointMetrics200ResponseDataWindowsValue.ts +126 -0
- package/src/src/models/InviteEndUser200Response.ts +88 -0
- package/src/src/models/InviteEndUser200ResponseData.ts +81 -0
- package/src/src/models/ListEndUsers200Response.ts +88 -0
- package/src/src/models/{ListWorkflowExecutions200ResponseMeta.ts → ListEndUsers200ResponseMeta.ts} +15 -15
- package/src/src/models/ListWorkflowExecutions200Response.ts +11 -11
- package/src/src/models/MarkAllSubscriberNotificationsRead200Response.ts +73 -0
- package/src/src/models/RotateWaaSEndpointSecret200Response.ts +88 -0
- package/src/src/models/RotateWaaSEndpointSecret200ResponseData.ts +66 -0
- package/src/src/models/SendTemplateTestEmail202Response.ts +90 -0
- package/src/src/models/SendTemplateTestEmail202ResponseData.ts +120 -0
- package/src/src/models/SendTemplateTestEmail202ResponseMeta.ts +66 -0
- package/src/src/models/SetEndUserClaims200Response.ts +73 -0
- package/src/src/models/SetEndUserClaims200ResponseData.ts +73 -0
- package/src/src/models/SmsListResponse.ts +10 -10
- package/src/src/models/UpdateSubscriberPreferences200Response.ts +73 -0
- package/src/src/models/UpdateSubscriberPreferences200ResponseData.ts +81 -0
- package/src/src/models/UpdateSubscriberPreferences200ResponseDataPreferencesInner.ts +102 -0
- package/src/src/models/UpdateWaaSEndpoint200Response.ts +88 -0
- package/src/src/models/UpdateWaaSEventType200Response.ts +88 -0
- package/src/src/models/index.ts +37 -1
package/dist/index.cjs
CHANGED
|
@@ -225,6 +225,15 @@ __export(index_exports, {
|
|
|
225
225
|
CategoryResponseToJSONTyped: () => CategoryResponseToJSONTyped,
|
|
226
226
|
CategoryToJSON: () => CategoryToJSON,
|
|
227
227
|
CategoryToJSONTyped: () => CategoryToJSONTyped,
|
|
228
|
+
CloseWaaSEndpointCircuit200ResponseDataFromJSON: () => CloseWaaSEndpointCircuit200ResponseDataFromJSON,
|
|
229
|
+
CloseWaaSEndpointCircuit200ResponseDataFromJSONTyped: () => CloseWaaSEndpointCircuit200ResponseDataFromJSONTyped,
|
|
230
|
+
CloseWaaSEndpointCircuit200ResponseDataStateEnum: () => CloseWaaSEndpointCircuit200ResponseDataStateEnum,
|
|
231
|
+
CloseWaaSEndpointCircuit200ResponseDataToJSON: () => CloseWaaSEndpointCircuit200ResponseDataToJSON,
|
|
232
|
+
CloseWaaSEndpointCircuit200ResponseDataToJSONTyped: () => CloseWaaSEndpointCircuit200ResponseDataToJSONTyped,
|
|
233
|
+
CloseWaaSEndpointCircuit200ResponseFromJSON: () => CloseWaaSEndpointCircuit200ResponseFromJSON,
|
|
234
|
+
CloseWaaSEndpointCircuit200ResponseFromJSONTyped: () => CloseWaaSEndpointCircuit200ResponseFromJSONTyped,
|
|
235
|
+
CloseWaaSEndpointCircuit200ResponseToJSON: () => CloseWaaSEndpointCircuit200ResponseToJSON,
|
|
236
|
+
CloseWaaSEndpointCircuit200ResponseToJSONTyped: () => CloseWaaSEndpointCircuit200ResponseToJSONTyped,
|
|
228
237
|
Configuration: () => Configuration,
|
|
229
238
|
ConfirmEmailVerificationRequestFromJSON: () => ConfirmEmailVerificationRequestFromJSON,
|
|
230
239
|
ConfirmEmailVerificationRequestFromJSONTyped: () => ConfirmEmailVerificationRequestFromJSONTyped,
|
|
@@ -548,10 +557,86 @@ __export(index_exports, {
|
|
|
548
557
|
GetDomain200ResponseMetaToJSONTyped: () => GetDomain200ResponseMetaToJSONTyped,
|
|
549
558
|
GetDomain200ResponseToJSON: () => GetDomain200ResponseToJSON,
|
|
550
559
|
GetDomain200ResponseToJSONTyped: () => GetDomain200ResponseToJSONTyped,
|
|
560
|
+
GetEndUserById200ResponseFromJSON: () => GetEndUserById200ResponseFromJSON,
|
|
561
|
+
GetEndUserById200ResponseFromJSONTyped: () => GetEndUserById200ResponseFromJSONTyped,
|
|
562
|
+
GetEndUserById200ResponseToJSON: () => GetEndUserById200ResponseToJSON,
|
|
563
|
+
GetEndUserById200ResponseToJSONTyped: () => GetEndUserById200ResponseToJSONTyped,
|
|
564
|
+
GetEndUserClaims200ResponseDataFromJSON: () => GetEndUserClaims200ResponseDataFromJSON,
|
|
565
|
+
GetEndUserClaims200ResponseDataFromJSONTyped: () => GetEndUserClaims200ResponseDataFromJSONTyped,
|
|
566
|
+
GetEndUserClaims200ResponseDataToJSON: () => GetEndUserClaims200ResponseDataToJSON,
|
|
567
|
+
GetEndUserClaims200ResponseDataToJSONTyped: () => GetEndUserClaims200ResponseDataToJSONTyped,
|
|
568
|
+
GetEndUserClaims200ResponseFromJSON: () => GetEndUserClaims200ResponseFromJSON,
|
|
569
|
+
GetEndUserClaims200ResponseFromJSONTyped: () => GetEndUserClaims200ResponseFromJSONTyped,
|
|
570
|
+
GetEndUserClaims200ResponseToJSON: () => GetEndUserClaims200ResponseToJSON,
|
|
571
|
+
GetEndUserClaims200ResponseToJSONTyped: () => GetEndUserClaims200ResponseToJSONTyped,
|
|
572
|
+
GetSubscriberInboxPreferences200ResponseDataCategoriesInnerCategoryFromJSON: () => GetSubscriberInboxPreferences200ResponseDataCategoriesInnerCategoryFromJSON,
|
|
573
|
+
GetSubscriberInboxPreferences200ResponseDataCategoriesInnerCategoryFromJSONTyped: () => GetSubscriberInboxPreferences200ResponseDataCategoriesInnerCategoryFromJSONTyped,
|
|
574
|
+
GetSubscriberInboxPreferences200ResponseDataCategoriesInnerCategoryToJSON: () => GetSubscriberInboxPreferences200ResponseDataCategoriesInnerCategoryToJSON,
|
|
575
|
+
GetSubscriberInboxPreferences200ResponseDataCategoriesInnerCategoryToJSONTyped: () => GetSubscriberInboxPreferences200ResponseDataCategoriesInnerCategoryToJSONTyped,
|
|
576
|
+
GetSubscriberInboxPreferences200ResponseDataCategoriesInnerFromJSON: () => GetSubscriberInboxPreferences200ResponseDataCategoriesInnerFromJSON,
|
|
577
|
+
GetSubscriberInboxPreferences200ResponseDataCategoriesInnerFromJSONTyped: () => GetSubscriberInboxPreferences200ResponseDataCategoriesInnerFromJSONTyped,
|
|
578
|
+
GetSubscriberInboxPreferences200ResponseDataCategoriesInnerToJSON: () => GetSubscriberInboxPreferences200ResponseDataCategoriesInnerToJSON,
|
|
579
|
+
GetSubscriberInboxPreferences200ResponseDataCategoriesInnerToJSONTyped: () => GetSubscriberInboxPreferences200ResponseDataCategoriesInnerToJSONTyped,
|
|
580
|
+
GetSubscriberInboxPreferences200ResponseDataFromJSON: () => GetSubscriberInboxPreferences200ResponseDataFromJSON,
|
|
581
|
+
GetSubscriberInboxPreferences200ResponseDataFromJSONTyped: () => GetSubscriberInboxPreferences200ResponseDataFromJSONTyped,
|
|
582
|
+
GetSubscriberInboxPreferences200ResponseDataGlobalChannelsInnerChannelEnum: () => GetSubscriberInboxPreferences200ResponseDataGlobalChannelsInnerChannelEnum,
|
|
583
|
+
GetSubscriberInboxPreferences200ResponseDataGlobalChannelsInnerFromJSON: () => GetSubscriberInboxPreferences200ResponseDataGlobalChannelsInnerFromJSON,
|
|
584
|
+
GetSubscriberInboxPreferences200ResponseDataGlobalChannelsInnerFromJSONTyped: () => GetSubscriberInboxPreferences200ResponseDataGlobalChannelsInnerFromJSONTyped,
|
|
585
|
+
GetSubscriberInboxPreferences200ResponseDataGlobalChannelsInnerToJSON: () => GetSubscriberInboxPreferences200ResponseDataGlobalChannelsInnerToJSON,
|
|
586
|
+
GetSubscriberInboxPreferences200ResponseDataGlobalChannelsInnerToJSONTyped: () => GetSubscriberInboxPreferences200ResponseDataGlobalChannelsInnerToJSONTyped,
|
|
587
|
+
GetSubscriberInboxPreferences200ResponseDataGlobalFromJSON: () => GetSubscriberInboxPreferences200ResponseDataGlobalFromJSON,
|
|
588
|
+
GetSubscriberInboxPreferences200ResponseDataGlobalFromJSONTyped: () => GetSubscriberInboxPreferences200ResponseDataGlobalFromJSONTyped,
|
|
589
|
+
GetSubscriberInboxPreferences200ResponseDataGlobalToJSON: () => GetSubscriberInboxPreferences200ResponseDataGlobalToJSON,
|
|
590
|
+
GetSubscriberInboxPreferences200ResponseDataGlobalToJSONTyped: () => GetSubscriberInboxPreferences200ResponseDataGlobalToJSONTyped,
|
|
591
|
+
GetSubscriberInboxPreferences200ResponseDataToJSON: () => GetSubscriberInboxPreferences200ResponseDataToJSON,
|
|
592
|
+
GetSubscriberInboxPreferences200ResponseDataToJSONTyped: () => GetSubscriberInboxPreferences200ResponseDataToJSONTyped,
|
|
593
|
+
GetSubscriberInboxPreferences200ResponseFromJSON: () => GetSubscriberInboxPreferences200ResponseFromJSON,
|
|
594
|
+
GetSubscriberInboxPreferences200ResponseFromJSONTyped: () => GetSubscriberInboxPreferences200ResponseFromJSONTyped,
|
|
595
|
+
GetSubscriberInboxPreferences200ResponseToJSON: () => GetSubscriberInboxPreferences200ResponseToJSON,
|
|
596
|
+
GetSubscriberInboxPreferences200ResponseToJSONTyped: () => GetSubscriberInboxPreferences200ResponseToJSONTyped,
|
|
597
|
+
GetSubscriberNotification200ResponseFromJSON: () => GetSubscriberNotification200ResponseFromJSON,
|
|
598
|
+
GetSubscriberNotification200ResponseFromJSONTyped: () => GetSubscriberNotification200ResponseFromJSONTyped,
|
|
599
|
+
GetSubscriberNotification200ResponseToJSON: () => GetSubscriberNotification200ResponseToJSON,
|
|
600
|
+
GetSubscriberNotification200ResponseToJSONTyped: () => GetSubscriberNotification200ResponseToJSONTyped,
|
|
601
|
+
GetSubscriberUnreadCount200ResponseFromJSON: () => GetSubscriberUnreadCount200ResponseFromJSON,
|
|
602
|
+
GetSubscriberUnreadCount200ResponseFromJSONTyped: () => GetSubscriberUnreadCount200ResponseFromJSONTyped,
|
|
603
|
+
GetSubscriberUnreadCount200ResponseToJSON: () => GetSubscriberUnreadCount200ResponseToJSON,
|
|
604
|
+
GetSubscriberUnreadCount200ResponseToJSONTyped: () => GetSubscriberUnreadCount200ResponseToJSONTyped,
|
|
605
|
+
GetWaaSDelivery200ResponseFromJSON: () => GetWaaSDelivery200ResponseFromJSON,
|
|
606
|
+
GetWaaSDelivery200ResponseFromJSONTyped: () => GetWaaSDelivery200ResponseFromJSONTyped,
|
|
607
|
+
GetWaaSDelivery200ResponseToJSON: () => GetWaaSDelivery200ResponseToJSON,
|
|
608
|
+
GetWaaSDelivery200ResponseToJSONTyped: () => GetWaaSDelivery200ResponseToJSONTyped,
|
|
551
609
|
GetWaaSEndpoint200ResponseFromJSON: () => GetWaaSEndpoint200ResponseFromJSON,
|
|
552
610
|
GetWaaSEndpoint200ResponseFromJSONTyped: () => GetWaaSEndpoint200ResponseFromJSONTyped,
|
|
553
611
|
GetWaaSEndpoint200ResponseToJSON: () => GetWaaSEndpoint200ResponseToJSON,
|
|
554
612
|
GetWaaSEndpoint200ResponseToJSONTyped: () => GetWaaSEndpoint200ResponseToJSONTyped,
|
|
613
|
+
GetWaaSEndpointCircuit200ResponseDataFromJSON: () => GetWaaSEndpointCircuit200ResponseDataFromJSON,
|
|
614
|
+
GetWaaSEndpointCircuit200ResponseDataFromJSONTyped: () => GetWaaSEndpointCircuit200ResponseDataFromJSONTyped,
|
|
615
|
+
GetWaaSEndpointCircuit200ResponseDataStateEnum: () => GetWaaSEndpointCircuit200ResponseDataStateEnum,
|
|
616
|
+
GetWaaSEndpointCircuit200ResponseDataToJSON: () => GetWaaSEndpointCircuit200ResponseDataToJSON,
|
|
617
|
+
GetWaaSEndpointCircuit200ResponseDataToJSONTyped: () => GetWaaSEndpointCircuit200ResponseDataToJSONTyped,
|
|
618
|
+
GetWaaSEndpointCircuit200ResponseFromJSON: () => GetWaaSEndpointCircuit200ResponseFromJSON,
|
|
619
|
+
GetWaaSEndpointCircuit200ResponseFromJSONTyped: () => GetWaaSEndpointCircuit200ResponseFromJSONTyped,
|
|
620
|
+
GetWaaSEndpointCircuit200ResponseToJSON: () => GetWaaSEndpointCircuit200ResponseToJSON,
|
|
621
|
+
GetWaaSEndpointCircuit200ResponseToJSONTyped: () => GetWaaSEndpointCircuit200ResponseToJSONTyped,
|
|
622
|
+
GetWaaSEndpointMetrics200ResponseDataFromJSON: () => GetWaaSEndpointMetrics200ResponseDataFromJSON,
|
|
623
|
+
GetWaaSEndpointMetrics200ResponseDataFromJSONTyped: () => GetWaaSEndpointMetrics200ResponseDataFromJSONTyped,
|
|
624
|
+
GetWaaSEndpointMetrics200ResponseDataHealthFromJSON: () => GetWaaSEndpointMetrics200ResponseDataHealthFromJSON,
|
|
625
|
+
GetWaaSEndpointMetrics200ResponseDataHealthFromJSONTyped: () => GetWaaSEndpointMetrics200ResponseDataHealthFromJSONTyped,
|
|
626
|
+
GetWaaSEndpointMetrics200ResponseDataHealthStatusEnum: () => GetWaaSEndpointMetrics200ResponseDataHealthStatusEnum,
|
|
627
|
+
GetWaaSEndpointMetrics200ResponseDataHealthToJSON: () => GetWaaSEndpointMetrics200ResponseDataHealthToJSON,
|
|
628
|
+
GetWaaSEndpointMetrics200ResponseDataHealthToJSONTyped: () => GetWaaSEndpointMetrics200ResponseDataHealthToJSONTyped,
|
|
629
|
+
GetWaaSEndpointMetrics200ResponseDataToJSON: () => GetWaaSEndpointMetrics200ResponseDataToJSON,
|
|
630
|
+
GetWaaSEndpointMetrics200ResponseDataToJSONTyped: () => GetWaaSEndpointMetrics200ResponseDataToJSONTyped,
|
|
631
|
+
GetWaaSEndpointMetrics200ResponseDataWindowsValueFromJSON: () => GetWaaSEndpointMetrics200ResponseDataWindowsValueFromJSON,
|
|
632
|
+
GetWaaSEndpointMetrics200ResponseDataWindowsValueFromJSONTyped: () => GetWaaSEndpointMetrics200ResponseDataWindowsValueFromJSONTyped,
|
|
633
|
+
GetWaaSEndpointMetrics200ResponseDataWindowsValueToJSON: () => GetWaaSEndpointMetrics200ResponseDataWindowsValueToJSON,
|
|
634
|
+
GetWaaSEndpointMetrics200ResponseDataWindowsValueToJSONTyped: () => GetWaaSEndpointMetrics200ResponseDataWindowsValueToJSONTyped,
|
|
635
|
+
GetWaaSEndpointMetrics200ResponseDataWindowsValueWindowEnum: () => GetWaaSEndpointMetrics200ResponseDataWindowsValueWindowEnum,
|
|
636
|
+
GetWaaSEndpointMetrics200ResponseFromJSON: () => GetWaaSEndpointMetrics200ResponseFromJSON,
|
|
637
|
+
GetWaaSEndpointMetrics200ResponseFromJSONTyped: () => GetWaaSEndpointMetrics200ResponseFromJSONTyped,
|
|
638
|
+
GetWaaSEndpointMetrics200ResponseToJSON: () => GetWaaSEndpointMetrics200ResponseToJSON,
|
|
639
|
+
GetWaaSEndpointMetrics200ResponseToJSONTyped: () => GetWaaSEndpointMetrics200ResponseToJSONTyped,
|
|
555
640
|
GetWaaSUsage200ResponseFromJSON: () => GetWaaSUsage200ResponseFromJSON,
|
|
556
641
|
GetWaaSUsage200ResponseFromJSONTyped: () => GetWaaSUsage200ResponseFromJSONTyped,
|
|
557
642
|
GetWaaSUsage200ResponseToJSON: () => GetWaaSUsage200ResponseToJSON,
|
|
@@ -611,6 +696,14 @@ __export(index_exports, {
|
|
|
611
696
|
InboxNotificationResponseFromJSONTyped: () => InboxNotificationResponseFromJSONTyped,
|
|
612
697
|
InboxNotificationResponseToJSON: () => InboxNotificationResponseToJSON,
|
|
613
698
|
InboxNotificationResponseToJSONTyped: () => InboxNotificationResponseToJSONTyped,
|
|
699
|
+
InviteEndUser200ResponseDataFromJSON: () => InviteEndUser200ResponseDataFromJSON,
|
|
700
|
+
InviteEndUser200ResponseDataFromJSONTyped: () => InviteEndUser200ResponseDataFromJSONTyped,
|
|
701
|
+
InviteEndUser200ResponseDataToJSON: () => InviteEndUser200ResponseDataToJSON,
|
|
702
|
+
InviteEndUser200ResponseDataToJSONTyped: () => InviteEndUser200ResponseDataToJSONTyped,
|
|
703
|
+
InviteEndUser200ResponseFromJSON: () => InviteEndUser200ResponseFromJSON,
|
|
704
|
+
InviteEndUser200ResponseFromJSONTyped: () => InviteEndUser200ResponseFromJSONTyped,
|
|
705
|
+
InviteEndUser200ResponseToJSON: () => InviteEndUser200ResponseToJSON,
|
|
706
|
+
InviteEndUser200ResponseToJSONTyped: () => InviteEndUser200ResponseToJSONTyped,
|
|
614
707
|
InviteEndUserRequestFromJSON: () => InviteEndUserRequestFromJSON,
|
|
615
708
|
InviteEndUserRequestFromJSONTyped: () => InviteEndUserRequestFromJSONTyped,
|
|
616
709
|
InviteEndUserRequestSendLinkEnum: () => InviteEndUserRequestSendLinkEnum,
|
|
@@ -620,6 +713,14 @@ __export(index_exports, {
|
|
|
620
713
|
ListAllInboxStatusEnum: () => ListAllInboxStatusEnum,
|
|
621
714
|
ListDevicesPlatformEnum: () => ListDevicesPlatformEnum,
|
|
622
715
|
ListEmailsStatusEnum: () => ListEmailsStatusEnum,
|
|
716
|
+
ListEndUsers200ResponseFromJSON: () => ListEndUsers200ResponseFromJSON,
|
|
717
|
+
ListEndUsers200ResponseFromJSONTyped: () => ListEndUsers200ResponseFromJSONTyped,
|
|
718
|
+
ListEndUsers200ResponseMetaFromJSON: () => ListEndUsers200ResponseMetaFromJSON,
|
|
719
|
+
ListEndUsers200ResponseMetaFromJSONTyped: () => ListEndUsers200ResponseMetaFromJSONTyped,
|
|
720
|
+
ListEndUsers200ResponseMetaToJSON: () => ListEndUsers200ResponseMetaToJSON,
|
|
721
|
+
ListEndUsers200ResponseMetaToJSONTyped: () => ListEndUsers200ResponseMetaToJSONTyped,
|
|
722
|
+
ListEndUsers200ResponseToJSON: () => ListEndUsers200ResponseToJSON,
|
|
723
|
+
ListEndUsers200ResponseToJSONTyped: () => ListEndUsers200ResponseToJSONTyped,
|
|
623
724
|
ListEndUsersEnvironmentEnum: () => ListEndUsersEnvironmentEnum,
|
|
624
725
|
ListInboundEmailsStatusEnum: () => ListInboundEmailsStatusEnum,
|
|
625
726
|
ListPushStatusEnum: () => ListPushStatusEnum,
|
|
@@ -649,10 +750,6 @@ __export(index_exports, {
|
|
|
649
750
|
ListWebhookDeliveriesStatusEnum: () => ListWebhookDeliveriesStatusEnum,
|
|
650
751
|
ListWorkflowExecutions200ResponseFromJSON: () => ListWorkflowExecutions200ResponseFromJSON,
|
|
651
752
|
ListWorkflowExecutions200ResponseFromJSONTyped: () => ListWorkflowExecutions200ResponseFromJSONTyped,
|
|
652
|
-
ListWorkflowExecutions200ResponseMetaFromJSON: () => ListWorkflowExecutions200ResponseMetaFromJSON,
|
|
653
|
-
ListWorkflowExecutions200ResponseMetaFromJSONTyped: () => ListWorkflowExecutions200ResponseMetaFromJSONTyped,
|
|
654
|
-
ListWorkflowExecutions200ResponseMetaToJSON: () => ListWorkflowExecutions200ResponseMetaToJSON,
|
|
655
|
-
ListWorkflowExecutions200ResponseMetaToJSONTyped: () => ListWorkflowExecutions200ResponseMetaToJSONTyped,
|
|
656
753
|
ListWorkflowExecutions200ResponseToJSON: () => ListWorkflowExecutions200ResponseToJSON,
|
|
657
754
|
ListWorkflowExecutions200ResponseToJSONTyped: () => ListWorkflowExecutions200ResponseToJSONTyped,
|
|
658
755
|
ListWorkflows200ResponseFromJSON: () => ListWorkflows200ResponseFromJSON,
|
|
@@ -695,6 +792,10 @@ __export(index_exports, {
|
|
|
695
792
|
MarkAllReadResponseFromJSONTyped: () => MarkAllReadResponseFromJSONTyped,
|
|
696
793
|
MarkAllReadResponseToJSON: () => MarkAllReadResponseToJSON,
|
|
697
794
|
MarkAllReadResponseToJSONTyped: () => MarkAllReadResponseToJSONTyped,
|
|
795
|
+
MarkAllSubscriberNotificationsRead200ResponseFromJSON: () => MarkAllSubscriberNotificationsRead200ResponseFromJSON,
|
|
796
|
+
MarkAllSubscriberNotificationsRead200ResponseFromJSONTyped: () => MarkAllSubscriberNotificationsRead200ResponseFromJSONTyped,
|
|
797
|
+
MarkAllSubscriberNotificationsRead200ResponseToJSON: () => MarkAllSubscriberNotificationsRead200ResponseToJSON,
|
|
798
|
+
MarkAllSubscriberNotificationsRead200ResponseToJSONTyped: () => MarkAllSubscriberNotificationsRead200ResponseToJSONTyped,
|
|
698
799
|
MarkAllSubscriberNotificationsReadRequestFromJSON: () => MarkAllSubscriberNotificationsReadRequestFromJSON,
|
|
699
800
|
MarkAllSubscriberNotificationsReadRequestFromJSONTyped: () => MarkAllSubscriberNotificationsReadRequestFromJSONTyped,
|
|
700
801
|
MarkAllSubscriberNotificationsReadRequestToJSON: () => MarkAllSubscriberNotificationsReadRequestToJSON,
|
|
@@ -1092,6 +1193,14 @@ __export(index_exports, {
|
|
|
1092
1193
|
RevokeSessionRequestFromJSONTyped: () => RevokeSessionRequestFromJSONTyped,
|
|
1093
1194
|
RevokeSessionRequestToJSON: () => RevokeSessionRequestToJSON,
|
|
1094
1195
|
RevokeSessionRequestToJSONTyped: () => RevokeSessionRequestToJSONTyped,
|
|
1196
|
+
RotateWaaSEndpointSecret200ResponseDataFromJSON: () => RotateWaaSEndpointSecret200ResponseDataFromJSON,
|
|
1197
|
+
RotateWaaSEndpointSecret200ResponseDataFromJSONTyped: () => RotateWaaSEndpointSecret200ResponseDataFromJSONTyped,
|
|
1198
|
+
RotateWaaSEndpointSecret200ResponseDataToJSON: () => RotateWaaSEndpointSecret200ResponseDataToJSON,
|
|
1199
|
+
RotateWaaSEndpointSecret200ResponseDataToJSONTyped: () => RotateWaaSEndpointSecret200ResponseDataToJSONTyped,
|
|
1200
|
+
RotateWaaSEndpointSecret200ResponseFromJSON: () => RotateWaaSEndpointSecret200ResponseFromJSON,
|
|
1201
|
+
RotateWaaSEndpointSecret200ResponseFromJSONTyped: () => RotateWaaSEndpointSecret200ResponseFromJSONTyped,
|
|
1202
|
+
RotateWaaSEndpointSecret200ResponseToJSON: () => RotateWaaSEndpointSecret200ResponseToJSON,
|
|
1203
|
+
RotateWaaSEndpointSecret200ResponseToJSONTyped: () => RotateWaaSEndpointSecret200ResponseToJSONTyped,
|
|
1095
1204
|
SDK_VERSION: () => SDK_VERSION,
|
|
1096
1205
|
SMSApi: () => SMSApi,
|
|
1097
1206
|
SendBatchEmailRequestFromJSON: () => SendBatchEmailRequestFromJSON,
|
|
@@ -1224,6 +1333,18 @@ __export(index_exports, {
|
|
|
1224
1333
|
SendSmsResponseFromJSONTyped: () => SendSmsResponseFromJSONTyped,
|
|
1225
1334
|
SendSmsResponseToJSON: () => SendSmsResponseToJSON,
|
|
1226
1335
|
SendSmsResponseToJSONTyped: () => SendSmsResponseToJSONTyped,
|
|
1336
|
+
SendTemplateTestEmail202ResponseDataFromJSON: () => SendTemplateTestEmail202ResponseDataFromJSON,
|
|
1337
|
+
SendTemplateTestEmail202ResponseDataFromJSONTyped: () => SendTemplateTestEmail202ResponseDataFromJSONTyped,
|
|
1338
|
+
SendTemplateTestEmail202ResponseDataToJSON: () => SendTemplateTestEmail202ResponseDataToJSON,
|
|
1339
|
+
SendTemplateTestEmail202ResponseDataToJSONTyped: () => SendTemplateTestEmail202ResponseDataToJSONTyped,
|
|
1340
|
+
SendTemplateTestEmail202ResponseFromJSON: () => SendTemplateTestEmail202ResponseFromJSON,
|
|
1341
|
+
SendTemplateTestEmail202ResponseFromJSONTyped: () => SendTemplateTestEmail202ResponseFromJSONTyped,
|
|
1342
|
+
SendTemplateTestEmail202ResponseMetaFromJSON: () => SendTemplateTestEmail202ResponseMetaFromJSON,
|
|
1343
|
+
SendTemplateTestEmail202ResponseMetaFromJSONTyped: () => SendTemplateTestEmail202ResponseMetaFromJSONTyped,
|
|
1344
|
+
SendTemplateTestEmail202ResponseMetaToJSON: () => SendTemplateTestEmail202ResponseMetaToJSON,
|
|
1345
|
+
SendTemplateTestEmail202ResponseMetaToJSONTyped: () => SendTemplateTestEmail202ResponseMetaToJSONTyped,
|
|
1346
|
+
SendTemplateTestEmail202ResponseToJSON: () => SendTemplateTestEmail202ResponseToJSON,
|
|
1347
|
+
SendTemplateTestEmail202ResponseToJSONTyped: () => SendTemplateTestEmail202ResponseToJSONTyped,
|
|
1227
1348
|
SendTemplateTestEmailRequestFromJSON: () => SendTemplateTestEmailRequestFromJSON,
|
|
1228
1349
|
SendTemplateTestEmailRequestFromJSONTyped: () => SendTemplateTestEmailRequestFromJSONTyped,
|
|
1229
1350
|
SendTemplateTestEmailRequestToJSON: () => SendTemplateTestEmailRequestToJSON,
|
|
@@ -1260,6 +1381,14 @@ __export(index_exports, {
|
|
|
1260
1381
|
SetDomainInboundRequestFromJSONTyped: () => SetDomainInboundRequestFromJSONTyped,
|
|
1261
1382
|
SetDomainInboundRequestToJSON: () => SetDomainInboundRequestToJSON,
|
|
1262
1383
|
SetDomainInboundRequestToJSONTyped: () => SetDomainInboundRequestToJSONTyped,
|
|
1384
|
+
SetEndUserClaims200ResponseDataFromJSON: () => SetEndUserClaims200ResponseDataFromJSON,
|
|
1385
|
+
SetEndUserClaims200ResponseDataFromJSONTyped: () => SetEndUserClaims200ResponseDataFromJSONTyped,
|
|
1386
|
+
SetEndUserClaims200ResponseDataToJSON: () => SetEndUserClaims200ResponseDataToJSON,
|
|
1387
|
+
SetEndUserClaims200ResponseDataToJSONTyped: () => SetEndUserClaims200ResponseDataToJSONTyped,
|
|
1388
|
+
SetEndUserClaims200ResponseFromJSON: () => SetEndUserClaims200ResponseFromJSON,
|
|
1389
|
+
SetEndUserClaims200ResponseFromJSONTyped: () => SetEndUserClaims200ResponseFromJSONTyped,
|
|
1390
|
+
SetEndUserClaims200ResponseToJSON: () => SetEndUserClaims200ResponseToJSON,
|
|
1391
|
+
SetEndUserClaims200ResponseToJSONTyped: () => SetEndUserClaims200ResponseToJSONTyped,
|
|
1263
1392
|
SetEndUserClaimsRequestFromJSON: () => SetEndUserClaimsRequestFromJSON,
|
|
1264
1393
|
SetEndUserClaimsRequestFromJSONTyped: () => SetEndUserClaimsRequestFromJSONTyped,
|
|
1265
1394
|
SetEndUserClaimsRequestToJSON: () => SetEndUserClaimsRequestToJSON,
|
|
@@ -1537,6 +1666,19 @@ __export(index_exports, {
|
|
|
1537
1666
|
UpdateOrganizationRequestFromJSONTyped: () => UpdateOrganizationRequestFromJSONTyped,
|
|
1538
1667
|
UpdateOrganizationRequestToJSON: () => UpdateOrganizationRequestToJSON,
|
|
1539
1668
|
UpdateOrganizationRequestToJSONTyped: () => UpdateOrganizationRequestToJSONTyped,
|
|
1669
|
+
UpdateSubscriberPreferences200ResponseDataFromJSON: () => UpdateSubscriberPreferences200ResponseDataFromJSON,
|
|
1670
|
+
UpdateSubscriberPreferences200ResponseDataFromJSONTyped: () => UpdateSubscriberPreferences200ResponseDataFromJSONTyped,
|
|
1671
|
+
UpdateSubscriberPreferences200ResponseDataPreferencesInnerChannelEnum: () => UpdateSubscriberPreferences200ResponseDataPreferencesInnerChannelEnum,
|
|
1672
|
+
UpdateSubscriberPreferences200ResponseDataPreferencesInnerFromJSON: () => UpdateSubscriberPreferences200ResponseDataPreferencesInnerFromJSON,
|
|
1673
|
+
UpdateSubscriberPreferences200ResponseDataPreferencesInnerFromJSONTyped: () => UpdateSubscriberPreferences200ResponseDataPreferencesInnerFromJSONTyped,
|
|
1674
|
+
UpdateSubscriberPreferences200ResponseDataPreferencesInnerToJSON: () => UpdateSubscriberPreferences200ResponseDataPreferencesInnerToJSON,
|
|
1675
|
+
UpdateSubscriberPreferences200ResponseDataPreferencesInnerToJSONTyped: () => UpdateSubscriberPreferences200ResponseDataPreferencesInnerToJSONTyped,
|
|
1676
|
+
UpdateSubscriberPreferences200ResponseDataToJSON: () => UpdateSubscriberPreferences200ResponseDataToJSON,
|
|
1677
|
+
UpdateSubscriberPreferences200ResponseDataToJSONTyped: () => UpdateSubscriberPreferences200ResponseDataToJSONTyped,
|
|
1678
|
+
UpdateSubscriberPreferences200ResponseFromJSON: () => UpdateSubscriberPreferences200ResponseFromJSON,
|
|
1679
|
+
UpdateSubscriberPreferences200ResponseFromJSONTyped: () => UpdateSubscriberPreferences200ResponseFromJSONTyped,
|
|
1680
|
+
UpdateSubscriberPreferences200ResponseToJSON: () => UpdateSubscriberPreferences200ResponseToJSON,
|
|
1681
|
+
UpdateSubscriberPreferences200ResponseToJSONTyped: () => UpdateSubscriberPreferences200ResponseToJSONTyped,
|
|
1540
1682
|
UpdateSubscriberPreferencesRequestFromJSON: () => UpdateSubscriberPreferencesRequestFromJSON,
|
|
1541
1683
|
UpdateSubscriberPreferencesRequestFromJSONTyped: () => UpdateSubscriberPreferencesRequestFromJSONTyped,
|
|
1542
1684
|
UpdateSubscriberPreferencesRequestPreferencesInnerChannelEnum: () => UpdateSubscriberPreferencesRequestPreferencesInnerChannelEnum,
|
|
@@ -1564,11 +1706,19 @@ __export(index_exports, {
|
|
|
1564
1706
|
UpdateWaaSApplicationRequestStatusEnum: () => UpdateWaaSApplicationRequestStatusEnum,
|
|
1565
1707
|
UpdateWaaSApplicationRequestToJSON: () => UpdateWaaSApplicationRequestToJSON,
|
|
1566
1708
|
UpdateWaaSApplicationRequestToJSONTyped: () => UpdateWaaSApplicationRequestToJSONTyped,
|
|
1709
|
+
UpdateWaaSEndpoint200ResponseFromJSON: () => UpdateWaaSEndpoint200ResponseFromJSON,
|
|
1710
|
+
UpdateWaaSEndpoint200ResponseFromJSONTyped: () => UpdateWaaSEndpoint200ResponseFromJSONTyped,
|
|
1711
|
+
UpdateWaaSEndpoint200ResponseToJSON: () => UpdateWaaSEndpoint200ResponseToJSON,
|
|
1712
|
+
UpdateWaaSEndpoint200ResponseToJSONTyped: () => UpdateWaaSEndpoint200ResponseToJSONTyped,
|
|
1567
1713
|
UpdateWaaSEndpointRequestFromJSON: () => UpdateWaaSEndpointRequestFromJSON,
|
|
1568
1714
|
UpdateWaaSEndpointRequestFromJSONTyped: () => UpdateWaaSEndpointRequestFromJSONTyped,
|
|
1569
1715
|
UpdateWaaSEndpointRequestStatusEnum: () => UpdateWaaSEndpointRequestStatusEnum,
|
|
1570
1716
|
UpdateWaaSEndpointRequestToJSON: () => UpdateWaaSEndpointRequestToJSON,
|
|
1571
1717
|
UpdateWaaSEndpointRequestToJSONTyped: () => UpdateWaaSEndpointRequestToJSONTyped,
|
|
1718
|
+
UpdateWaaSEventType200ResponseFromJSON: () => UpdateWaaSEventType200ResponseFromJSON,
|
|
1719
|
+
UpdateWaaSEventType200ResponseFromJSONTyped: () => UpdateWaaSEventType200ResponseFromJSONTyped,
|
|
1720
|
+
UpdateWaaSEventType200ResponseToJSON: () => UpdateWaaSEventType200ResponseToJSON,
|
|
1721
|
+
UpdateWaaSEventType200ResponseToJSONTyped: () => UpdateWaaSEventType200ResponseToJSONTyped,
|
|
1572
1722
|
UpdateWaaSEventTypeRequestFromJSON: () => UpdateWaaSEventTypeRequestFromJSON,
|
|
1573
1723
|
UpdateWaaSEventTypeRequestFromJSONTyped: () => UpdateWaaSEventTypeRequestFromJSONTyped,
|
|
1574
1724
|
UpdateWaaSEventTypeRequestToJSON: () => UpdateWaaSEventTypeRequestToJSON,
|
|
@@ -2024,6 +2174,8 @@ __export(index_exports, {
|
|
|
2024
2174
|
instanceOfCategory: () => instanceOfCategory,
|
|
2025
2175
|
instanceOfCategoryListResponse: () => instanceOfCategoryListResponse,
|
|
2026
2176
|
instanceOfCategoryResponse: () => instanceOfCategoryResponse,
|
|
2177
|
+
instanceOfCloseWaaSEndpointCircuit200Response: () => instanceOfCloseWaaSEndpointCircuit200Response,
|
|
2178
|
+
instanceOfCloseWaaSEndpointCircuit200ResponseData: () => instanceOfCloseWaaSEndpointCircuit200ResponseData,
|
|
2027
2179
|
instanceOfConfirmEmailVerificationRequest: () => instanceOfConfirmEmailVerificationRequest,
|
|
2028
2180
|
instanceOfConfirmEmailVerificationResponse: () => instanceOfConfirmEmailVerificationResponse,
|
|
2029
2181
|
instanceOfConfirmEmailVerificationResponseData: () => instanceOfConfirmEmailVerificationResponseData,
|
|
@@ -2099,7 +2251,25 @@ __export(index_exports, {
|
|
|
2099
2251
|
instanceOfGenerateWaaSPortalToken201Response: () => instanceOfGenerateWaaSPortalToken201Response,
|
|
2100
2252
|
instanceOfGetDomain200Response: () => instanceOfGetDomain200Response,
|
|
2101
2253
|
instanceOfGetDomain200ResponseMeta: () => instanceOfGetDomain200ResponseMeta,
|
|
2254
|
+
instanceOfGetEndUserById200Response: () => instanceOfGetEndUserById200Response,
|
|
2255
|
+
instanceOfGetEndUserClaims200Response: () => instanceOfGetEndUserClaims200Response,
|
|
2256
|
+
instanceOfGetEndUserClaims200ResponseData: () => instanceOfGetEndUserClaims200ResponseData,
|
|
2257
|
+
instanceOfGetSubscriberInboxPreferences200Response: () => instanceOfGetSubscriberInboxPreferences200Response,
|
|
2258
|
+
instanceOfGetSubscriberInboxPreferences200ResponseData: () => instanceOfGetSubscriberInboxPreferences200ResponseData,
|
|
2259
|
+
instanceOfGetSubscriberInboxPreferences200ResponseDataCategoriesInner: () => instanceOfGetSubscriberInboxPreferences200ResponseDataCategoriesInner,
|
|
2260
|
+
instanceOfGetSubscriberInboxPreferences200ResponseDataCategoriesInnerCategory: () => instanceOfGetSubscriberInboxPreferences200ResponseDataCategoriesInnerCategory,
|
|
2261
|
+
instanceOfGetSubscriberInboxPreferences200ResponseDataGlobal: () => instanceOfGetSubscriberInboxPreferences200ResponseDataGlobal,
|
|
2262
|
+
instanceOfGetSubscriberInboxPreferences200ResponseDataGlobalChannelsInner: () => instanceOfGetSubscriberInboxPreferences200ResponseDataGlobalChannelsInner,
|
|
2263
|
+
instanceOfGetSubscriberNotification200Response: () => instanceOfGetSubscriberNotification200Response,
|
|
2264
|
+
instanceOfGetSubscriberUnreadCount200Response: () => instanceOfGetSubscriberUnreadCount200Response,
|
|
2265
|
+
instanceOfGetWaaSDelivery200Response: () => instanceOfGetWaaSDelivery200Response,
|
|
2102
2266
|
instanceOfGetWaaSEndpoint200Response: () => instanceOfGetWaaSEndpoint200Response,
|
|
2267
|
+
instanceOfGetWaaSEndpointCircuit200Response: () => instanceOfGetWaaSEndpointCircuit200Response,
|
|
2268
|
+
instanceOfGetWaaSEndpointCircuit200ResponseData: () => instanceOfGetWaaSEndpointCircuit200ResponseData,
|
|
2269
|
+
instanceOfGetWaaSEndpointMetrics200Response: () => instanceOfGetWaaSEndpointMetrics200Response,
|
|
2270
|
+
instanceOfGetWaaSEndpointMetrics200ResponseData: () => instanceOfGetWaaSEndpointMetrics200ResponseData,
|
|
2271
|
+
instanceOfGetWaaSEndpointMetrics200ResponseDataHealth: () => instanceOfGetWaaSEndpointMetrics200ResponseDataHealth,
|
|
2272
|
+
instanceOfGetWaaSEndpointMetrics200ResponseDataWindowsValue: () => instanceOfGetWaaSEndpointMetrics200ResponseDataWindowsValue,
|
|
2103
2273
|
instanceOfGetWaaSUsage200Response: () => instanceOfGetWaaSUsage200Response,
|
|
2104
2274
|
instanceOfInAppNotification: () => instanceOfInAppNotification,
|
|
2105
2275
|
instanceOfInboundAttachmentUrlResponse: () => instanceOfInboundAttachmentUrlResponse,
|
|
@@ -2113,13 +2283,16 @@ __export(index_exports, {
|
|
|
2113
2283
|
instanceOfInboxListMeta: () => instanceOfInboxListMeta,
|
|
2114
2284
|
instanceOfInboxListResponse: () => instanceOfInboxListResponse,
|
|
2115
2285
|
instanceOfInboxNotificationResponse: () => instanceOfInboxNotificationResponse,
|
|
2286
|
+
instanceOfInviteEndUser200Response: () => instanceOfInviteEndUser200Response,
|
|
2287
|
+
instanceOfInviteEndUser200ResponseData: () => instanceOfInviteEndUser200ResponseData,
|
|
2116
2288
|
instanceOfInviteEndUserRequest: () => instanceOfInviteEndUserRequest,
|
|
2289
|
+
instanceOfListEndUsers200Response: () => instanceOfListEndUsers200Response,
|
|
2290
|
+
instanceOfListEndUsers200ResponseMeta: () => instanceOfListEndUsers200ResponseMeta,
|
|
2117
2291
|
instanceOfListWaaSApplications200Response: () => instanceOfListWaaSApplications200Response,
|
|
2118
2292
|
instanceOfListWaaSEndpointDeliveries200Response: () => instanceOfListWaaSEndpointDeliveries200Response,
|
|
2119
2293
|
instanceOfListWaaSEndpoints200Response: () => instanceOfListWaaSEndpoints200Response,
|
|
2120
2294
|
instanceOfListWaaSEventTypes200Response: () => instanceOfListWaaSEventTypes200Response,
|
|
2121
2295
|
instanceOfListWorkflowExecutions200Response: () => instanceOfListWorkflowExecutions200Response,
|
|
2122
|
-
instanceOfListWorkflowExecutions200ResponseMeta: () => instanceOfListWorkflowExecutions200ResponseMeta,
|
|
2123
2296
|
instanceOfListWorkflows200Response: () => instanceOfListWorkflows200Response,
|
|
2124
2297
|
instanceOfListWorkflows200ResponseMeta: () => instanceOfListWorkflows200ResponseMeta,
|
|
2125
2298
|
instanceOfLoginRequest: () => instanceOfLoginRequest,
|
|
@@ -2130,6 +2303,7 @@ __export(index_exports, {
|
|
|
2130
2303
|
instanceOfMarkAllInboxReadRequest: () => instanceOfMarkAllInboxReadRequest,
|
|
2131
2304
|
instanceOfMarkAllReadData: () => instanceOfMarkAllReadData,
|
|
2132
2305
|
instanceOfMarkAllReadResponse: () => instanceOfMarkAllReadResponse,
|
|
2306
|
+
instanceOfMarkAllSubscriberNotificationsRead200Response: () => instanceOfMarkAllSubscriberNotificationsRead200Response,
|
|
2133
2307
|
instanceOfMarkAllSubscriberNotificationsReadRequest: () => instanceOfMarkAllSubscriberNotificationsReadRequest,
|
|
2134
2308
|
instanceOfMarkInboxReadRequest: () => instanceOfMarkInboxReadRequest,
|
|
2135
2309
|
instanceOfMfaBackupCodesResponse: () => instanceOfMfaBackupCodesResponse,
|
|
@@ -2226,6 +2400,8 @@ __export(index_exports, {
|
|
|
2226
2400
|
instanceOfRevokeAllSessionsResponse: () => instanceOfRevokeAllSessionsResponse,
|
|
2227
2401
|
instanceOfRevokeAllSessionsResponseData: () => instanceOfRevokeAllSessionsResponseData,
|
|
2228
2402
|
instanceOfRevokeSessionRequest: () => instanceOfRevokeSessionRequest,
|
|
2403
|
+
instanceOfRotateWaaSEndpointSecret200Response: () => instanceOfRotateWaaSEndpointSecret200Response,
|
|
2404
|
+
instanceOfRotateWaaSEndpointSecret200ResponseData: () => instanceOfRotateWaaSEndpointSecret200ResponseData,
|
|
2229
2405
|
instanceOfSendBatchEmailRequest: () => instanceOfSendBatchEmailRequest,
|
|
2230
2406
|
instanceOfSendBatchEmailResponse: () => instanceOfSendBatchEmailResponse,
|
|
2231
2407
|
instanceOfSendBatchEmailResult: () => instanceOfSendBatchEmailResult,
|
|
@@ -2258,6 +2434,9 @@ __export(index_exports, {
|
|
|
2258
2434
|
instanceOfSendSmsData: () => instanceOfSendSmsData,
|
|
2259
2435
|
instanceOfSendSmsRequest: () => instanceOfSendSmsRequest,
|
|
2260
2436
|
instanceOfSendSmsResponse: () => instanceOfSendSmsResponse,
|
|
2437
|
+
instanceOfSendTemplateTestEmail202Response: () => instanceOfSendTemplateTestEmail202Response,
|
|
2438
|
+
instanceOfSendTemplateTestEmail202ResponseData: () => instanceOfSendTemplateTestEmail202ResponseData,
|
|
2439
|
+
instanceOfSendTemplateTestEmail202ResponseMeta: () => instanceOfSendTemplateTestEmail202ResponseMeta,
|
|
2261
2440
|
instanceOfSendTemplateTestEmailRequest: () => instanceOfSendTemplateTestEmailRequest,
|
|
2262
2441
|
instanceOfSendTestSmsData: () => instanceOfSendTestSmsData,
|
|
2263
2442
|
instanceOfSendTestSmsRequest: () => instanceOfSendTestSmsRequest,
|
|
@@ -2267,6 +2446,8 @@ __export(index_exports, {
|
|
|
2267
2446
|
instanceOfSessionListResponseData: () => instanceOfSessionListResponseData,
|
|
2268
2447
|
instanceOfSessionListResponseDataSessionInfo: () => instanceOfSessionListResponseDataSessionInfo,
|
|
2269
2448
|
instanceOfSetDomainInboundRequest: () => instanceOfSetDomainInboundRequest,
|
|
2449
|
+
instanceOfSetEndUserClaims200Response: () => instanceOfSetEndUserClaims200Response,
|
|
2450
|
+
instanceOfSetEndUserClaims200ResponseData: () => instanceOfSetEndUserClaims200ResponseData,
|
|
2270
2451
|
instanceOfSetEndUserClaimsRequest: () => instanceOfSetEndUserClaimsRequest,
|
|
2271
2452
|
instanceOfSetPreferencesRequest: () => instanceOfSetPreferencesRequest,
|
|
2272
2453
|
instanceOfSetPreferencesRequestPreferencesInner: () => instanceOfSetPreferencesRequestPreferencesInner,
|
|
@@ -2333,13 +2514,18 @@ __export(index_exports, {
|
|
|
2333
2514
|
instanceOfUpdateEndUserRequest: () => instanceOfUpdateEndUserRequest,
|
|
2334
2515
|
instanceOfUpdateOrganizationMemberRoleRequest: () => instanceOfUpdateOrganizationMemberRoleRequest,
|
|
2335
2516
|
instanceOfUpdateOrganizationRequest: () => instanceOfUpdateOrganizationRequest,
|
|
2517
|
+
instanceOfUpdateSubscriberPreferences200Response: () => instanceOfUpdateSubscriberPreferences200Response,
|
|
2518
|
+
instanceOfUpdateSubscriberPreferences200ResponseData: () => instanceOfUpdateSubscriberPreferences200ResponseData,
|
|
2519
|
+
instanceOfUpdateSubscriberPreferences200ResponseDataPreferencesInner: () => instanceOfUpdateSubscriberPreferences200ResponseDataPreferencesInner,
|
|
2336
2520
|
instanceOfUpdateSubscriberPreferencesRequest: () => instanceOfUpdateSubscriberPreferencesRequest,
|
|
2337
2521
|
instanceOfUpdateSubscriberPreferencesRequestPreferencesInner: () => instanceOfUpdateSubscriberPreferencesRequestPreferencesInner,
|
|
2338
2522
|
instanceOfUpdateSubscriberRequest: () => instanceOfUpdateSubscriberRequest,
|
|
2339
2523
|
instanceOfUpdateTemplateRequest: () => instanceOfUpdateTemplateRequest,
|
|
2340
2524
|
instanceOfUpdateTopicRequest: () => instanceOfUpdateTopicRequest,
|
|
2341
2525
|
instanceOfUpdateWaaSApplicationRequest: () => instanceOfUpdateWaaSApplicationRequest,
|
|
2526
|
+
instanceOfUpdateWaaSEndpoint200Response: () => instanceOfUpdateWaaSEndpoint200Response,
|
|
2342
2527
|
instanceOfUpdateWaaSEndpointRequest: () => instanceOfUpdateWaaSEndpointRequest,
|
|
2528
|
+
instanceOfUpdateWaaSEventType200Response: () => instanceOfUpdateWaaSEventType200Response,
|
|
2343
2529
|
instanceOfUpdateWaaSEventTypeRequest: () => instanceOfUpdateWaaSEventTypeRequest,
|
|
2344
2530
|
instanceOfUpdateWebhookRequest: () => instanceOfUpdateWebhookRequest,
|
|
2345
2531
|
instanceOfUpdateWorkflowRequest: () => instanceOfUpdateWorkflowRequest,
|
|
@@ -4527,6 +4713,93 @@ function CategoryResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
4527
4713
|
};
|
|
4528
4714
|
}
|
|
4529
4715
|
|
|
4716
|
+
// src/src/models/GetDomain200ResponseMeta.ts
|
|
4717
|
+
function instanceOfGetDomain200ResponseMeta(value) {
|
|
4718
|
+
return true;
|
|
4719
|
+
}
|
|
4720
|
+
function GetDomain200ResponseMetaFromJSON(json) {
|
|
4721
|
+
return GetDomain200ResponseMetaFromJSONTyped(json, false);
|
|
4722
|
+
}
|
|
4723
|
+
function GetDomain200ResponseMetaFromJSONTyped(json, ignoreDiscriminator) {
|
|
4724
|
+
if (json == null) {
|
|
4725
|
+
return json;
|
|
4726
|
+
}
|
|
4727
|
+
return {
|
|
4728
|
+
"requestId": json["request_id"] == null ? void 0 : json["request_id"]
|
|
4729
|
+
};
|
|
4730
|
+
}
|
|
4731
|
+
function GetDomain200ResponseMetaToJSON(json) {
|
|
4732
|
+
return GetDomain200ResponseMetaToJSONTyped(json, false);
|
|
4733
|
+
}
|
|
4734
|
+
function GetDomain200ResponseMetaToJSONTyped(value, ignoreDiscriminator = false) {
|
|
4735
|
+
if (value == null) {
|
|
4736
|
+
return value;
|
|
4737
|
+
}
|
|
4738
|
+
return {
|
|
4739
|
+
"request_id": value["requestId"]
|
|
4740
|
+
};
|
|
4741
|
+
}
|
|
4742
|
+
|
|
4743
|
+
// src/src/models/CloseWaaSEndpointCircuit200ResponseData.ts
|
|
4744
|
+
var CloseWaaSEndpointCircuit200ResponseDataStateEnum = {
|
|
4745
|
+
CLOSED: "closed"
|
|
4746
|
+
};
|
|
4747
|
+
function instanceOfCloseWaaSEndpointCircuit200ResponseData(value) {
|
|
4748
|
+
if (!("state" in value) || value["state"] === void 0) return false;
|
|
4749
|
+
return true;
|
|
4750
|
+
}
|
|
4751
|
+
function CloseWaaSEndpointCircuit200ResponseDataFromJSON(json) {
|
|
4752
|
+
return CloseWaaSEndpointCircuit200ResponseDataFromJSONTyped(json, false);
|
|
4753
|
+
}
|
|
4754
|
+
function CloseWaaSEndpointCircuit200ResponseDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
4755
|
+
if (json == null) {
|
|
4756
|
+
return json;
|
|
4757
|
+
}
|
|
4758
|
+
return {
|
|
4759
|
+
"state": json["state"]
|
|
4760
|
+
};
|
|
4761
|
+
}
|
|
4762
|
+
function CloseWaaSEndpointCircuit200ResponseDataToJSON(json) {
|
|
4763
|
+
return CloseWaaSEndpointCircuit200ResponseDataToJSONTyped(json, false);
|
|
4764
|
+
}
|
|
4765
|
+
function CloseWaaSEndpointCircuit200ResponseDataToJSONTyped(value, ignoreDiscriminator = false) {
|
|
4766
|
+
if (value == null) {
|
|
4767
|
+
return value;
|
|
4768
|
+
}
|
|
4769
|
+
return {
|
|
4770
|
+
"state": value["state"]
|
|
4771
|
+
};
|
|
4772
|
+
}
|
|
4773
|
+
|
|
4774
|
+
// src/src/models/CloseWaaSEndpointCircuit200Response.ts
|
|
4775
|
+
function instanceOfCloseWaaSEndpointCircuit200Response(value) {
|
|
4776
|
+
return true;
|
|
4777
|
+
}
|
|
4778
|
+
function CloseWaaSEndpointCircuit200ResponseFromJSON(json) {
|
|
4779
|
+
return CloseWaaSEndpointCircuit200ResponseFromJSONTyped(json, false);
|
|
4780
|
+
}
|
|
4781
|
+
function CloseWaaSEndpointCircuit200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
4782
|
+
if (json == null) {
|
|
4783
|
+
return json;
|
|
4784
|
+
}
|
|
4785
|
+
return {
|
|
4786
|
+
"data": json["data"] == null ? void 0 : CloseWaaSEndpointCircuit200ResponseDataFromJSON(json["data"]),
|
|
4787
|
+
"meta": json["meta"] == null ? void 0 : GetDomain200ResponseMetaFromJSON(json["meta"])
|
|
4788
|
+
};
|
|
4789
|
+
}
|
|
4790
|
+
function CloseWaaSEndpointCircuit200ResponseToJSON(json) {
|
|
4791
|
+
return CloseWaaSEndpointCircuit200ResponseToJSONTyped(json, false);
|
|
4792
|
+
}
|
|
4793
|
+
function CloseWaaSEndpointCircuit200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
4794
|
+
if (value == null) {
|
|
4795
|
+
return value;
|
|
4796
|
+
}
|
|
4797
|
+
return {
|
|
4798
|
+
"data": CloseWaaSEndpointCircuit200ResponseDataToJSON(value["data"]),
|
|
4799
|
+
"meta": GetDomain200ResponseMetaToJSON(value["meta"])
|
|
4800
|
+
};
|
|
4801
|
+
}
|
|
4802
|
+
|
|
4530
4803
|
// src/src/models/ConfirmEmailVerificationRequest.ts
|
|
4531
4804
|
function instanceOfConfirmEmailVerificationRequest(value) {
|
|
4532
4805
|
if (!("token" in value) || value["token"] === void 0) return false;
|
|
@@ -5791,33 +6064,6 @@ function CreateWorkflowRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
5791
6064
|
};
|
|
5792
6065
|
}
|
|
5793
6066
|
|
|
5794
|
-
// src/src/models/GetDomain200ResponseMeta.ts
|
|
5795
|
-
function instanceOfGetDomain200ResponseMeta(value) {
|
|
5796
|
-
return true;
|
|
5797
|
-
}
|
|
5798
|
-
function GetDomain200ResponseMetaFromJSON(json) {
|
|
5799
|
-
return GetDomain200ResponseMetaFromJSONTyped(json, false);
|
|
5800
|
-
}
|
|
5801
|
-
function GetDomain200ResponseMetaFromJSONTyped(json, ignoreDiscriminator) {
|
|
5802
|
-
if (json == null) {
|
|
5803
|
-
return json;
|
|
5804
|
-
}
|
|
5805
|
-
return {
|
|
5806
|
-
"requestId": json["request_id"] == null ? void 0 : json["request_id"]
|
|
5807
|
-
};
|
|
5808
|
-
}
|
|
5809
|
-
function GetDomain200ResponseMetaToJSON(json) {
|
|
5810
|
-
return GetDomain200ResponseMetaToJSONTyped(json, false);
|
|
5811
|
-
}
|
|
5812
|
-
function GetDomain200ResponseMetaToJSONTyped(value, ignoreDiscriminator = false) {
|
|
5813
|
-
if (value == null) {
|
|
5814
|
-
return value;
|
|
5815
|
-
}
|
|
5816
|
-
return {
|
|
5817
|
-
"request_id": value["requestId"]
|
|
5818
|
-
};
|
|
5819
|
-
}
|
|
5820
|
-
|
|
5821
6067
|
// src/src/models/DeleteDomainResponseData.ts
|
|
5822
6068
|
function instanceOfDeleteDomainResponseData(value) {
|
|
5823
6069
|
if (!("id" in value) || value["id"] === void 0) return false;
|
|
@@ -7386,267 +7632,922 @@ function GetDomain200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
7386
7632
|
};
|
|
7387
7633
|
}
|
|
7388
7634
|
|
|
7389
|
-
// src/src/models/
|
|
7390
|
-
|
|
7391
|
-
ACTIVE: "active",
|
|
7392
|
-
PAUSED: "paused",
|
|
7393
|
-
DISABLED: "disabled"
|
|
7394
|
-
};
|
|
7395
|
-
function instanceOfWaaSEndpoint(value) {
|
|
7635
|
+
// src/src/models/GetEndUserById200Response.ts
|
|
7636
|
+
function instanceOfGetEndUserById200Response(value) {
|
|
7396
7637
|
return true;
|
|
7397
7638
|
}
|
|
7398
|
-
function
|
|
7399
|
-
return
|
|
7639
|
+
function GetEndUserById200ResponseFromJSON(json) {
|
|
7640
|
+
return GetEndUserById200ResponseFromJSONTyped(json, false);
|
|
7400
7641
|
}
|
|
7401
|
-
function
|
|
7642
|
+
function GetEndUserById200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
7402
7643
|
if (json == null) {
|
|
7403
7644
|
return json;
|
|
7404
7645
|
}
|
|
7405
7646
|
return {
|
|
7406
|
-
"
|
|
7407
|
-
"
|
|
7408
|
-
"tenantId": json["tenant_id"] == null ? void 0 : json["tenant_id"],
|
|
7409
|
-
"url": json["url"] == null ? void 0 : json["url"],
|
|
7410
|
-
"events": json["events"] == null ? void 0 : json["events"],
|
|
7411
|
-
"status": json["status"] == null ? void 0 : json["status"],
|
|
7412
|
-
"createdAt": json["created_at"] == null ? void 0 : new Date(json["created_at"]),
|
|
7413
|
-
"updatedAt": json["updated_at"] == null ? void 0 : new Date(json["updated_at"])
|
|
7647
|
+
"data": json["data"] == null ? void 0 : AuthUserFromJSON(json["data"]),
|
|
7648
|
+
"meta": json["meta"] == null ? void 0 : GetDomain200ResponseMetaFromJSON(json["meta"])
|
|
7414
7649
|
};
|
|
7415
7650
|
}
|
|
7416
|
-
function
|
|
7417
|
-
return
|
|
7651
|
+
function GetEndUserById200ResponseToJSON(json) {
|
|
7652
|
+
return GetEndUserById200ResponseToJSONTyped(json, false);
|
|
7418
7653
|
}
|
|
7419
|
-
function
|
|
7654
|
+
function GetEndUserById200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
7420
7655
|
if (value == null) {
|
|
7421
7656
|
return value;
|
|
7422
7657
|
}
|
|
7423
7658
|
return {
|
|
7424
|
-
"
|
|
7425
|
-
"
|
|
7426
|
-
"tenant_id": value["tenantId"],
|
|
7427
|
-
"url": value["url"],
|
|
7428
|
-
"events": value["events"],
|
|
7429
|
-
"status": value["status"],
|
|
7430
|
-
"created_at": value["createdAt"] == null ? void 0 : value["createdAt"].toISOString(),
|
|
7431
|
-
"updated_at": value["updatedAt"] == null ? void 0 : value["updatedAt"].toISOString()
|
|
7659
|
+
"data": AuthUserToJSON(value["data"]),
|
|
7660
|
+
"meta": GetDomain200ResponseMetaToJSON(value["meta"])
|
|
7432
7661
|
};
|
|
7433
7662
|
}
|
|
7434
7663
|
|
|
7435
|
-
// src/src/models/
|
|
7436
|
-
function
|
|
7664
|
+
// src/src/models/GetEndUserClaims200ResponseData.ts
|
|
7665
|
+
function instanceOfGetEndUserClaims200ResponseData(value) {
|
|
7437
7666
|
return true;
|
|
7438
7667
|
}
|
|
7439
|
-
function
|
|
7440
|
-
return
|
|
7668
|
+
function GetEndUserClaims200ResponseDataFromJSON(json) {
|
|
7669
|
+
return GetEndUserClaims200ResponseDataFromJSONTyped(json, false);
|
|
7441
7670
|
}
|
|
7442
|
-
function
|
|
7671
|
+
function GetEndUserClaims200ResponseDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
7443
7672
|
if (json == null) {
|
|
7444
7673
|
return json;
|
|
7445
7674
|
}
|
|
7446
7675
|
return {
|
|
7447
|
-
"
|
|
7676
|
+
"claims": json["claims"] == null ? void 0 : json["claims"]
|
|
7448
7677
|
};
|
|
7449
7678
|
}
|
|
7450
|
-
function
|
|
7451
|
-
return
|
|
7679
|
+
function GetEndUserClaims200ResponseDataToJSON(json) {
|
|
7680
|
+
return GetEndUserClaims200ResponseDataToJSONTyped(json, false);
|
|
7452
7681
|
}
|
|
7453
|
-
function
|
|
7682
|
+
function GetEndUserClaims200ResponseDataToJSONTyped(value, ignoreDiscriminator = false) {
|
|
7454
7683
|
if (value == null) {
|
|
7455
7684
|
return value;
|
|
7456
7685
|
}
|
|
7457
7686
|
return {
|
|
7458
|
-
"
|
|
7687
|
+
"claims": value["claims"]
|
|
7459
7688
|
};
|
|
7460
7689
|
}
|
|
7461
7690
|
|
|
7462
|
-
// src/src/models/
|
|
7463
|
-
function
|
|
7691
|
+
// src/src/models/GetEndUserClaims200Response.ts
|
|
7692
|
+
function instanceOfGetEndUserClaims200Response(value) {
|
|
7464
7693
|
return true;
|
|
7465
7694
|
}
|
|
7466
|
-
function
|
|
7467
|
-
return
|
|
7695
|
+
function GetEndUserClaims200ResponseFromJSON(json) {
|
|
7696
|
+
return GetEndUserClaims200ResponseFromJSONTyped(json, false);
|
|
7468
7697
|
}
|
|
7469
|
-
function
|
|
7698
|
+
function GetEndUserClaims200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
7470
7699
|
if (json == null) {
|
|
7471
7700
|
return json;
|
|
7472
7701
|
}
|
|
7473
7702
|
return {
|
|
7474
|
-
"
|
|
7475
|
-
"
|
|
7476
|
-
"endpointsCount": json["endpoints_count"] == null ? void 0 : json["endpoints_count"],
|
|
7477
|
-
"endpointsLimit": json["endpoints_limit"] == null ? void 0 : json["endpoints_limit"],
|
|
7478
|
-
"eventsThisMonth": json["events_this_month"] == null ? void 0 : json["events_this_month"],
|
|
7479
|
-
"eventsLimit": json["events_limit"] == null ? void 0 : json["events_limit"]
|
|
7703
|
+
"data": json["data"] == null ? void 0 : GetEndUserClaims200ResponseDataFromJSON(json["data"]),
|
|
7704
|
+
"meta": json["meta"] == null ? void 0 : GetDomain200ResponseMetaFromJSON(json["meta"])
|
|
7480
7705
|
};
|
|
7481
7706
|
}
|
|
7482
|
-
function
|
|
7483
|
-
return
|
|
7707
|
+
function GetEndUserClaims200ResponseToJSON(json) {
|
|
7708
|
+
return GetEndUserClaims200ResponseToJSONTyped(json, false);
|
|
7484
7709
|
}
|
|
7485
|
-
function
|
|
7710
|
+
function GetEndUserClaims200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
7486
7711
|
if (value == null) {
|
|
7487
7712
|
return value;
|
|
7488
7713
|
}
|
|
7489
7714
|
return {
|
|
7490
|
-
"
|
|
7491
|
-
"
|
|
7492
|
-
"endpoints_count": value["endpointsCount"],
|
|
7493
|
-
"endpoints_limit": value["endpointsLimit"],
|
|
7494
|
-
"events_this_month": value["eventsThisMonth"],
|
|
7495
|
-
"events_limit": value["eventsLimit"]
|
|
7715
|
+
"data": GetEndUserClaims200ResponseDataToJSON(value["data"]),
|
|
7716
|
+
"meta": GetDomain200ResponseMetaToJSON(value["meta"])
|
|
7496
7717
|
};
|
|
7497
7718
|
}
|
|
7498
7719
|
|
|
7499
|
-
// src/src/models/
|
|
7500
|
-
function
|
|
7720
|
+
// src/src/models/GetSubscriberInboxPreferences200ResponseDataCategoriesInnerCategory.ts
|
|
7721
|
+
function instanceOfGetSubscriberInboxPreferences200ResponseDataCategoriesInnerCategory(value) {
|
|
7501
7722
|
return true;
|
|
7502
7723
|
}
|
|
7503
|
-
function
|
|
7504
|
-
return
|
|
7724
|
+
function GetSubscriberInboxPreferences200ResponseDataCategoriesInnerCategoryFromJSON(json) {
|
|
7725
|
+
return GetSubscriberInboxPreferences200ResponseDataCategoriesInnerCategoryFromJSONTyped(json, false);
|
|
7505
7726
|
}
|
|
7506
|
-
function
|
|
7727
|
+
function GetSubscriberInboxPreferences200ResponseDataCategoriesInnerCategoryFromJSONTyped(json, ignoreDiscriminator) {
|
|
7507
7728
|
if (json == null) {
|
|
7508
7729
|
return json;
|
|
7509
7730
|
}
|
|
7510
7731
|
return {
|
|
7511
|
-
"
|
|
7732
|
+
"id": json["id"] == null ? void 0 : json["id"],
|
|
7733
|
+
"name": json["name"] == null ? void 0 : json["name"],
|
|
7734
|
+
"slug": json["slug"] == null ? void 0 : json["slug"],
|
|
7735
|
+
"description": json["description"] == null ? void 0 : json["description"],
|
|
7736
|
+
"allowUnsubscribe": json["allow_unsubscribe"] == null ? void 0 : json["allow_unsubscribe"]
|
|
7512
7737
|
};
|
|
7513
7738
|
}
|
|
7514
|
-
function
|
|
7515
|
-
return
|
|
7739
|
+
function GetSubscriberInboxPreferences200ResponseDataCategoriesInnerCategoryToJSON(json) {
|
|
7740
|
+
return GetSubscriberInboxPreferences200ResponseDataCategoriesInnerCategoryToJSONTyped(json, false);
|
|
7516
7741
|
}
|
|
7517
|
-
function
|
|
7742
|
+
function GetSubscriberInboxPreferences200ResponseDataCategoriesInnerCategoryToJSONTyped(value, ignoreDiscriminator = false) {
|
|
7518
7743
|
if (value == null) {
|
|
7519
7744
|
return value;
|
|
7520
7745
|
}
|
|
7521
7746
|
return {
|
|
7522
|
-
"
|
|
7747
|
+
"id": value["id"],
|
|
7748
|
+
"name": value["name"],
|
|
7749
|
+
"slug": value["slug"],
|
|
7750
|
+
"description": value["description"],
|
|
7751
|
+
"allow_unsubscribe": value["allowUnsubscribe"]
|
|
7523
7752
|
};
|
|
7524
7753
|
}
|
|
7525
7754
|
|
|
7526
|
-
// src/src/models/
|
|
7527
|
-
var
|
|
7528
|
-
|
|
7529
|
-
|
|
7530
|
-
|
|
7531
|
-
|
|
7755
|
+
// src/src/models/GetSubscriberInboxPreferences200ResponseDataGlobalChannelsInner.ts
|
|
7756
|
+
var GetSubscriberInboxPreferences200ResponseDataGlobalChannelsInnerChannelEnum = {
|
|
7757
|
+
EMAIL: "email",
|
|
7758
|
+
PUSH: "push",
|
|
7759
|
+
SMS: "sms",
|
|
7760
|
+
IN_APP: "in_app"
|
|
7532
7761
|
};
|
|
7533
|
-
function
|
|
7762
|
+
function instanceOfGetSubscriberInboxPreferences200ResponseDataGlobalChannelsInner(value) {
|
|
7534
7763
|
return true;
|
|
7535
7764
|
}
|
|
7536
|
-
function
|
|
7537
|
-
return
|
|
7765
|
+
function GetSubscriberInboxPreferences200ResponseDataGlobalChannelsInnerFromJSON(json) {
|
|
7766
|
+
return GetSubscriberInboxPreferences200ResponseDataGlobalChannelsInnerFromJSONTyped(json, false);
|
|
7538
7767
|
}
|
|
7539
|
-
function
|
|
7768
|
+
function GetSubscriberInboxPreferences200ResponseDataGlobalChannelsInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
7540
7769
|
if (json == null) {
|
|
7541
7770
|
return json;
|
|
7542
7771
|
}
|
|
7543
7772
|
return {
|
|
7544
|
-
"
|
|
7545
|
-
"
|
|
7546
|
-
"
|
|
7547
|
-
"body": json["body"] == null ? void 0 : json["body"],
|
|
7548
|
-
"actionUrl": json["action_url"] == null ? void 0 : json["action_url"],
|
|
7549
|
-
"actionLabel": json["action_label"] == null ? void 0 : json["action_label"],
|
|
7550
|
-
"imageUrl": json["image_url"] == null ? void 0 : json["image_url"],
|
|
7551
|
-
"icon": json["icon"] == null ? void 0 : json["icon"],
|
|
7552
|
-
"category": json["category"] == null ? void 0 : json["category"],
|
|
7553
|
-
"priority": json["priority"] == null ? void 0 : json["priority"],
|
|
7554
|
-
"data": json["data"] == null ? void 0 : json["data"],
|
|
7555
|
-
"tags": json["tags"] == null ? void 0 : json["tags"],
|
|
7556
|
-
"readAt": json["read_at"] == null ? void 0 : new Date(json["read_at"]),
|
|
7557
|
-
"archivedAt": json["archived_at"] == null ? void 0 : new Date(json["archived_at"]),
|
|
7558
|
-
"expiresAt": json["expires_at"] == null ? void 0 : new Date(json["expires_at"]),
|
|
7559
|
-
"createdAt": json["created_at"] == null ? void 0 : new Date(json["created_at"])
|
|
7773
|
+
"channel": json["channel"] == null ? void 0 : json["channel"],
|
|
7774
|
+
"enabled": json["enabled"] == null ? void 0 : json["enabled"],
|
|
7775
|
+
"source": json["source"] == null ? void 0 : json["source"]
|
|
7560
7776
|
};
|
|
7561
7777
|
}
|
|
7562
|
-
function
|
|
7563
|
-
return
|
|
7778
|
+
function GetSubscriberInboxPreferences200ResponseDataGlobalChannelsInnerToJSON(json) {
|
|
7779
|
+
return GetSubscriberInboxPreferences200ResponseDataGlobalChannelsInnerToJSONTyped(json, false);
|
|
7564
7780
|
}
|
|
7565
|
-
function
|
|
7781
|
+
function GetSubscriberInboxPreferences200ResponseDataGlobalChannelsInnerToJSONTyped(value, ignoreDiscriminator = false) {
|
|
7566
7782
|
if (value == null) {
|
|
7567
7783
|
return value;
|
|
7568
7784
|
}
|
|
7569
7785
|
return {
|
|
7570
|
-
"
|
|
7571
|
-
"
|
|
7572
|
-
"
|
|
7573
|
-
"body": value["body"],
|
|
7574
|
-
"action_url": value["actionUrl"],
|
|
7575
|
-
"action_label": value["actionLabel"],
|
|
7576
|
-
"image_url": value["imageUrl"],
|
|
7577
|
-
"icon": value["icon"],
|
|
7578
|
-
"category": value["category"],
|
|
7579
|
-
"priority": value["priority"],
|
|
7580
|
-
"data": value["data"],
|
|
7581
|
-
"tags": value["tags"],
|
|
7582
|
-
"read_at": value["readAt"] == null ? void 0 : value["readAt"].toISOString(),
|
|
7583
|
-
"archived_at": value["archivedAt"] == null ? void 0 : value["archivedAt"].toISOString(),
|
|
7584
|
-
"expires_at": value["expiresAt"] == null ? void 0 : value["expiresAt"].toISOString(),
|
|
7585
|
-
"created_at": value["createdAt"] == null ? void 0 : value["createdAt"].toISOString()
|
|
7786
|
+
"channel": value["channel"],
|
|
7787
|
+
"enabled": value["enabled"],
|
|
7788
|
+
"source": value["source"]
|
|
7586
7789
|
};
|
|
7587
7790
|
}
|
|
7588
7791
|
|
|
7589
|
-
// src/src/models/
|
|
7590
|
-
function
|
|
7792
|
+
// src/src/models/GetSubscriberInboxPreferences200ResponseDataCategoriesInner.ts
|
|
7793
|
+
function instanceOfGetSubscriberInboxPreferences200ResponseDataCategoriesInner(value) {
|
|
7591
7794
|
return true;
|
|
7592
7795
|
}
|
|
7593
|
-
function
|
|
7594
|
-
return
|
|
7796
|
+
function GetSubscriberInboxPreferences200ResponseDataCategoriesInnerFromJSON(json) {
|
|
7797
|
+
return GetSubscriberInboxPreferences200ResponseDataCategoriesInnerFromJSONTyped(json, false);
|
|
7595
7798
|
}
|
|
7596
|
-
function
|
|
7799
|
+
function GetSubscriberInboxPreferences200ResponseDataCategoriesInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
7597
7800
|
if (json == null) {
|
|
7598
7801
|
return json;
|
|
7599
7802
|
}
|
|
7600
7803
|
return {
|
|
7601
|
-
"
|
|
7602
|
-
"
|
|
7603
|
-
"contentType": json["content_type"] == null ? void 0 : json["content_type"]
|
|
7804
|
+
"category": json["category"] == null ? void 0 : GetSubscriberInboxPreferences200ResponseDataCategoriesInnerCategoryFromJSON(json["category"]),
|
|
7805
|
+
"channels": json["channels"] == null ? void 0 : json["channels"].map(GetSubscriberInboxPreferences200ResponseDataGlobalChannelsInnerFromJSON)
|
|
7604
7806
|
};
|
|
7605
7807
|
}
|
|
7606
|
-
function
|
|
7607
|
-
return
|
|
7808
|
+
function GetSubscriberInboxPreferences200ResponseDataCategoriesInnerToJSON(json) {
|
|
7809
|
+
return GetSubscriberInboxPreferences200ResponseDataCategoriesInnerToJSONTyped(json, false);
|
|
7608
7810
|
}
|
|
7609
|
-
function
|
|
7811
|
+
function GetSubscriberInboxPreferences200ResponseDataCategoriesInnerToJSONTyped(value, ignoreDiscriminator = false) {
|
|
7610
7812
|
if (value == null) {
|
|
7611
7813
|
return value;
|
|
7612
7814
|
}
|
|
7613
7815
|
return {
|
|
7614
|
-
"
|
|
7615
|
-
"
|
|
7616
|
-
"content_type": value["contentType"]
|
|
7816
|
+
"category": GetSubscriberInboxPreferences200ResponseDataCategoriesInnerCategoryToJSON(value["category"]),
|
|
7817
|
+
"channels": value["channels"] == null ? void 0 : value["channels"].map(GetSubscriberInboxPreferences200ResponseDataGlobalChannelsInnerToJSON)
|
|
7617
7818
|
};
|
|
7618
7819
|
}
|
|
7619
7820
|
|
|
7620
|
-
// src/src/models/
|
|
7621
|
-
function
|
|
7821
|
+
// src/src/models/GetSubscriberInboxPreferences200ResponseDataGlobal.ts
|
|
7822
|
+
function instanceOfGetSubscriberInboxPreferences200ResponseDataGlobal(value) {
|
|
7622
7823
|
return true;
|
|
7623
7824
|
}
|
|
7624
|
-
function
|
|
7625
|
-
return
|
|
7825
|
+
function GetSubscriberInboxPreferences200ResponseDataGlobalFromJSON(json) {
|
|
7826
|
+
return GetSubscriberInboxPreferences200ResponseDataGlobalFromJSONTyped(json, false);
|
|
7626
7827
|
}
|
|
7627
|
-
function
|
|
7828
|
+
function GetSubscriberInboxPreferences200ResponseDataGlobalFromJSONTyped(json, ignoreDiscriminator) {
|
|
7628
7829
|
if (json == null) {
|
|
7629
7830
|
return json;
|
|
7630
7831
|
}
|
|
7631
7832
|
return {
|
|
7632
|
-
"
|
|
7633
|
-
"meta": json["meta"] == null ? void 0 : RequestMetaFromJSON(json["meta"])
|
|
7833
|
+
"channels": json["channels"] == null ? void 0 : json["channels"].map(GetSubscriberInboxPreferences200ResponseDataGlobalChannelsInnerFromJSON)
|
|
7634
7834
|
};
|
|
7635
7835
|
}
|
|
7636
|
-
function
|
|
7637
|
-
return
|
|
7836
|
+
function GetSubscriberInboxPreferences200ResponseDataGlobalToJSON(json) {
|
|
7837
|
+
return GetSubscriberInboxPreferences200ResponseDataGlobalToJSONTyped(json, false);
|
|
7638
7838
|
}
|
|
7639
|
-
function
|
|
7839
|
+
function GetSubscriberInboxPreferences200ResponseDataGlobalToJSONTyped(value, ignoreDiscriminator = false) {
|
|
7640
7840
|
if (value == null) {
|
|
7641
7841
|
return value;
|
|
7642
7842
|
}
|
|
7643
7843
|
return {
|
|
7644
|
-
"
|
|
7645
|
-
"meta": RequestMetaToJSON(value["meta"])
|
|
7844
|
+
"channels": value["channels"] == null ? void 0 : value["channels"].map(GetSubscriberInboxPreferences200ResponseDataGlobalChannelsInnerToJSON)
|
|
7646
7845
|
};
|
|
7647
7846
|
}
|
|
7648
7847
|
|
|
7649
|
-
// src/src/models/
|
|
7848
|
+
// src/src/models/GetSubscriberInboxPreferences200ResponseData.ts
|
|
7849
|
+
function instanceOfGetSubscriberInboxPreferences200ResponseData(value) {
|
|
7850
|
+
return true;
|
|
7851
|
+
}
|
|
7852
|
+
function GetSubscriberInboxPreferences200ResponseDataFromJSON(json) {
|
|
7853
|
+
return GetSubscriberInboxPreferences200ResponseDataFromJSONTyped(json, false);
|
|
7854
|
+
}
|
|
7855
|
+
function GetSubscriberInboxPreferences200ResponseDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
7856
|
+
if (json == null) {
|
|
7857
|
+
return json;
|
|
7858
|
+
}
|
|
7859
|
+
return {
|
|
7860
|
+
"global": json["global"] == null ? void 0 : GetSubscriberInboxPreferences200ResponseDataGlobalFromJSON(json["global"]),
|
|
7861
|
+
"categories": json["categories"] == null ? void 0 : json["categories"].map(GetSubscriberInboxPreferences200ResponseDataCategoriesInnerFromJSON)
|
|
7862
|
+
};
|
|
7863
|
+
}
|
|
7864
|
+
function GetSubscriberInboxPreferences200ResponseDataToJSON(json) {
|
|
7865
|
+
return GetSubscriberInboxPreferences200ResponseDataToJSONTyped(json, false);
|
|
7866
|
+
}
|
|
7867
|
+
function GetSubscriberInboxPreferences200ResponseDataToJSONTyped(value, ignoreDiscriminator = false) {
|
|
7868
|
+
if (value == null) {
|
|
7869
|
+
return value;
|
|
7870
|
+
}
|
|
7871
|
+
return {
|
|
7872
|
+
"global": GetSubscriberInboxPreferences200ResponseDataGlobalToJSON(value["global"]),
|
|
7873
|
+
"categories": value["categories"] == null ? void 0 : value["categories"].map(GetSubscriberInboxPreferences200ResponseDataCategoriesInnerToJSON)
|
|
7874
|
+
};
|
|
7875
|
+
}
|
|
7876
|
+
|
|
7877
|
+
// src/src/models/GetSubscriberInboxPreferences200Response.ts
|
|
7878
|
+
function instanceOfGetSubscriberInboxPreferences200Response(value) {
|
|
7879
|
+
return true;
|
|
7880
|
+
}
|
|
7881
|
+
function GetSubscriberInboxPreferences200ResponseFromJSON(json) {
|
|
7882
|
+
return GetSubscriberInboxPreferences200ResponseFromJSONTyped(json, false);
|
|
7883
|
+
}
|
|
7884
|
+
function GetSubscriberInboxPreferences200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
7885
|
+
if (json == null) {
|
|
7886
|
+
return json;
|
|
7887
|
+
}
|
|
7888
|
+
return {
|
|
7889
|
+
"data": json["data"] == null ? void 0 : GetSubscriberInboxPreferences200ResponseDataFromJSON(json["data"])
|
|
7890
|
+
};
|
|
7891
|
+
}
|
|
7892
|
+
function GetSubscriberInboxPreferences200ResponseToJSON(json) {
|
|
7893
|
+
return GetSubscriberInboxPreferences200ResponseToJSONTyped(json, false);
|
|
7894
|
+
}
|
|
7895
|
+
function GetSubscriberInboxPreferences200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
7896
|
+
if (value == null) {
|
|
7897
|
+
return value;
|
|
7898
|
+
}
|
|
7899
|
+
return {
|
|
7900
|
+
"data": GetSubscriberInboxPreferences200ResponseDataToJSON(value["data"])
|
|
7901
|
+
};
|
|
7902
|
+
}
|
|
7903
|
+
|
|
7904
|
+
// src/src/models/InAppNotification.ts
|
|
7905
|
+
var InAppNotificationPriorityEnum = {
|
|
7906
|
+
LOW: "low",
|
|
7907
|
+
NORMAL: "normal",
|
|
7908
|
+
HIGH: "high",
|
|
7909
|
+
URGENT: "urgent"
|
|
7910
|
+
};
|
|
7911
|
+
function instanceOfInAppNotification(value) {
|
|
7912
|
+
return true;
|
|
7913
|
+
}
|
|
7914
|
+
function InAppNotificationFromJSON(json) {
|
|
7915
|
+
return InAppNotificationFromJSONTyped(json, false);
|
|
7916
|
+
}
|
|
7917
|
+
function InAppNotificationFromJSONTyped(json, ignoreDiscriminator) {
|
|
7918
|
+
if (json == null) {
|
|
7919
|
+
return json;
|
|
7920
|
+
}
|
|
7921
|
+
return {
|
|
7922
|
+
"id": json["id"] == null ? void 0 : json["id"],
|
|
7923
|
+
"subscriberId": json["subscriber_id"] == null ? void 0 : json["subscriber_id"],
|
|
7924
|
+
"title": json["title"] == null ? void 0 : json["title"],
|
|
7925
|
+
"body": json["body"] == null ? void 0 : json["body"],
|
|
7926
|
+
"actionUrl": json["action_url"] == null ? void 0 : json["action_url"],
|
|
7927
|
+
"actionLabel": json["action_label"] == null ? void 0 : json["action_label"],
|
|
7928
|
+
"imageUrl": json["image_url"] == null ? void 0 : json["image_url"],
|
|
7929
|
+
"icon": json["icon"] == null ? void 0 : json["icon"],
|
|
7930
|
+
"category": json["category"] == null ? void 0 : json["category"],
|
|
7931
|
+
"priority": json["priority"] == null ? void 0 : json["priority"],
|
|
7932
|
+
"data": json["data"] == null ? void 0 : json["data"],
|
|
7933
|
+
"tags": json["tags"] == null ? void 0 : json["tags"],
|
|
7934
|
+
"readAt": json["read_at"] == null ? void 0 : new Date(json["read_at"]),
|
|
7935
|
+
"archivedAt": json["archived_at"] == null ? void 0 : new Date(json["archived_at"]),
|
|
7936
|
+
"expiresAt": json["expires_at"] == null ? void 0 : new Date(json["expires_at"]),
|
|
7937
|
+
"createdAt": json["created_at"] == null ? void 0 : new Date(json["created_at"])
|
|
7938
|
+
};
|
|
7939
|
+
}
|
|
7940
|
+
function InAppNotificationToJSON(json) {
|
|
7941
|
+
return InAppNotificationToJSONTyped(json, false);
|
|
7942
|
+
}
|
|
7943
|
+
function InAppNotificationToJSONTyped(value, ignoreDiscriminator = false) {
|
|
7944
|
+
if (value == null) {
|
|
7945
|
+
return value;
|
|
7946
|
+
}
|
|
7947
|
+
return {
|
|
7948
|
+
"id": value["id"],
|
|
7949
|
+
"subscriber_id": value["subscriberId"],
|
|
7950
|
+
"title": value["title"],
|
|
7951
|
+
"body": value["body"],
|
|
7952
|
+
"action_url": value["actionUrl"],
|
|
7953
|
+
"action_label": value["actionLabel"],
|
|
7954
|
+
"image_url": value["imageUrl"],
|
|
7955
|
+
"icon": value["icon"],
|
|
7956
|
+
"category": value["category"],
|
|
7957
|
+
"priority": value["priority"],
|
|
7958
|
+
"data": value["data"],
|
|
7959
|
+
"tags": value["tags"],
|
|
7960
|
+
"read_at": value["readAt"] == null ? void 0 : value["readAt"].toISOString(),
|
|
7961
|
+
"archived_at": value["archivedAt"] == null ? void 0 : value["archivedAt"].toISOString(),
|
|
7962
|
+
"expires_at": value["expiresAt"] == null ? void 0 : value["expiresAt"].toISOString(),
|
|
7963
|
+
"created_at": value["createdAt"] == null ? void 0 : value["createdAt"].toISOString()
|
|
7964
|
+
};
|
|
7965
|
+
}
|
|
7966
|
+
|
|
7967
|
+
// src/src/models/GetSubscriberNotification200Response.ts
|
|
7968
|
+
function instanceOfGetSubscriberNotification200Response(value) {
|
|
7969
|
+
return true;
|
|
7970
|
+
}
|
|
7971
|
+
function GetSubscriberNotification200ResponseFromJSON(json) {
|
|
7972
|
+
return GetSubscriberNotification200ResponseFromJSONTyped(json, false);
|
|
7973
|
+
}
|
|
7974
|
+
function GetSubscriberNotification200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
7975
|
+
if (json == null) {
|
|
7976
|
+
return json;
|
|
7977
|
+
}
|
|
7978
|
+
return {
|
|
7979
|
+
"data": json["data"] == null ? void 0 : InAppNotificationFromJSON(json["data"])
|
|
7980
|
+
};
|
|
7981
|
+
}
|
|
7982
|
+
function GetSubscriberNotification200ResponseToJSON(json) {
|
|
7983
|
+
return GetSubscriberNotification200ResponseToJSONTyped(json, false);
|
|
7984
|
+
}
|
|
7985
|
+
function GetSubscriberNotification200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
7986
|
+
if (value == null) {
|
|
7987
|
+
return value;
|
|
7988
|
+
}
|
|
7989
|
+
return {
|
|
7990
|
+
"data": InAppNotificationToJSON(value["data"])
|
|
7991
|
+
};
|
|
7992
|
+
}
|
|
7993
|
+
|
|
7994
|
+
// src/src/models/UnreadCountData.ts
|
|
7995
|
+
function instanceOfUnreadCountData(value) {
|
|
7996
|
+
return true;
|
|
7997
|
+
}
|
|
7998
|
+
function UnreadCountDataFromJSON(json) {
|
|
7999
|
+
return UnreadCountDataFromJSONTyped(json, false);
|
|
8000
|
+
}
|
|
8001
|
+
function UnreadCountDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
8002
|
+
if (json == null) {
|
|
8003
|
+
return json;
|
|
8004
|
+
}
|
|
8005
|
+
return {
|
|
8006
|
+
"unreadCount": json["unread_count"] == null ? void 0 : json["unread_count"]
|
|
8007
|
+
};
|
|
8008
|
+
}
|
|
8009
|
+
function UnreadCountDataToJSON(json) {
|
|
8010
|
+
return UnreadCountDataToJSONTyped(json, false);
|
|
8011
|
+
}
|
|
8012
|
+
function UnreadCountDataToJSONTyped(value, ignoreDiscriminator = false) {
|
|
8013
|
+
if (value == null) {
|
|
8014
|
+
return value;
|
|
8015
|
+
}
|
|
8016
|
+
return {
|
|
8017
|
+
"unread_count": value["unreadCount"]
|
|
8018
|
+
};
|
|
8019
|
+
}
|
|
8020
|
+
|
|
8021
|
+
// src/src/models/GetSubscriberUnreadCount200Response.ts
|
|
8022
|
+
function instanceOfGetSubscriberUnreadCount200Response(value) {
|
|
8023
|
+
return true;
|
|
8024
|
+
}
|
|
8025
|
+
function GetSubscriberUnreadCount200ResponseFromJSON(json) {
|
|
8026
|
+
return GetSubscriberUnreadCount200ResponseFromJSONTyped(json, false);
|
|
8027
|
+
}
|
|
8028
|
+
function GetSubscriberUnreadCount200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
8029
|
+
if (json == null) {
|
|
8030
|
+
return json;
|
|
8031
|
+
}
|
|
8032
|
+
return {
|
|
8033
|
+
"data": json["data"] == null ? void 0 : UnreadCountDataFromJSON(json["data"])
|
|
8034
|
+
};
|
|
8035
|
+
}
|
|
8036
|
+
function GetSubscriberUnreadCount200ResponseToJSON(json) {
|
|
8037
|
+
return GetSubscriberUnreadCount200ResponseToJSONTyped(json, false);
|
|
8038
|
+
}
|
|
8039
|
+
function GetSubscriberUnreadCount200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
8040
|
+
if (value == null) {
|
|
8041
|
+
return value;
|
|
8042
|
+
}
|
|
8043
|
+
return {
|
|
8044
|
+
"data": UnreadCountDataToJSON(value["data"])
|
|
8045
|
+
};
|
|
8046
|
+
}
|
|
8047
|
+
|
|
8048
|
+
// src/src/models/WaaSDelivery.ts
|
|
8049
|
+
var WaaSDeliveryStatusEnum = {
|
|
8050
|
+
PENDING: "pending",
|
|
8051
|
+
DELIVERING: "delivering",
|
|
8052
|
+
DELIVERED: "delivered",
|
|
8053
|
+
FAILED: "failed",
|
|
8054
|
+
RETRYING: "retrying",
|
|
8055
|
+
EXHAUSTED: "exhausted"
|
|
8056
|
+
};
|
|
8057
|
+
function instanceOfWaaSDelivery(value) {
|
|
8058
|
+
return true;
|
|
8059
|
+
}
|
|
8060
|
+
function WaaSDeliveryFromJSON(json) {
|
|
8061
|
+
return WaaSDeliveryFromJSONTyped(json, false);
|
|
8062
|
+
}
|
|
8063
|
+
function WaaSDeliveryFromJSONTyped(json, ignoreDiscriminator) {
|
|
8064
|
+
if (json == null) {
|
|
8065
|
+
return json;
|
|
8066
|
+
}
|
|
8067
|
+
return {
|
|
8068
|
+
"id": json["id"] == null ? void 0 : json["id"],
|
|
8069
|
+
"applicationId": json["application_id"] == null ? void 0 : json["application_id"],
|
|
8070
|
+
"endpointId": json["endpoint_id"] == null ? void 0 : json["endpoint_id"],
|
|
8071
|
+
"eventId": json["event_id"] == null ? void 0 : json["event_id"],
|
|
8072
|
+
"eventType": json["event_type"] == null ? void 0 : json["event_type"],
|
|
8073
|
+
"tenantId": json["tenant_id"] == null ? void 0 : json["tenant_id"],
|
|
8074
|
+
"status": json["status"] == null ? void 0 : json["status"],
|
|
8075
|
+
"attempts": json["attempts"] == null ? void 0 : json["attempts"],
|
|
8076
|
+
"lastAttemptAt": json["last_attempt_at"] == null ? void 0 : new Date(json["last_attempt_at"]),
|
|
8077
|
+
"nextRetryAt": json["next_retry_at"] == null ? void 0 : new Date(json["next_retry_at"]),
|
|
8078
|
+
"createdAt": json["created_at"] == null ? void 0 : new Date(json["created_at"])
|
|
8079
|
+
};
|
|
8080
|
+
}
|
|
8081
|
+
function WaaSDeliveryToJSON(json) {
|
|
8082
|
+
return WaaSDeliveryToJSONTyped(json, false);
|
|
8083
|
+
}
|
|
8084
|
+
function WaaSDeliveryToJSONTyped(value, ignoreDiscriminator = false) {
|
|
8085
|
+
if (value == null) {
|
|
8086
|
+
return value;
|
|
8087
|
+
}
|
|
8088
|
+
return {
|
|
8089
|
+
"id": value["id"],
|
|
8090
|
+
"application_id": value["applicationId"],
|
|
8091
|
+
"endpoint_id": value["endpointId"],
|
|
8092
|
+
"event_id": value["eventId"],
|
|
8093
|
+
"event_type": value["eventType"],
|
|
8094
|
+
"tenant_id": value["tenantId"],
|
|
8095
|
+
"status": value["status"],
|
|
8096
|
+
"attempts": value["attempts"],
|
|
8097
|
+
"last_attempt_at": value["lastAttemptAt"] == null ? void 0 : value["lastAttemptAt"].toISOString(),
|
|
8098
|
+
"next_retry_at": value["nextRetryAt"] == null ? void 0 : value["nextRetryAt"].toISOString(),
|
|
8099
|
+
"created_at": value["createdAt"] == null ? void 0 : value["createdAt"].toISOString()
|
|
8100
|
+
};
|
|
8101
|
+
}
|
|
8102
|
+
|
|
8103
|
+
// src/src/models/GetWaaSDelivery200Response.ts
|
|
8104
|
+
function instanceOfGetWaaSDelivery200Response(value) {
|
|
8105
|
+
return true;
|
|
8106
|
+
}
|
|
8107
|
+
function GetWaaSDelivery200ResponseFromJSON(json) {
|
|
8108
|
+
return GetWaaSDelivery200ResponseFromJSONTyped(json, false);
|
|
8109
|
+
}
|
|
8110
|
+
function GetWaaSDelivery200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
8111
|
+
if (json == null) {
|
|
8112
|
+
return json;
|
|
8113
|
+
}
|
|
8114
|
+
return {
|
|
8115
|
+
"data": json["data"] == null ? void 0 : WaaSDeliveryFromJSON(json["data"]),
|
|
8116
|
+
"meta": json["meta"] == null ? void 0 : GetDomain200ResponseMetaFromJSON(json["meta"])
|
|
8117
|
+
};
|
|
8118
|
+
}
|
|
8119
|
+
function GetWaaSDelivery200ResponseToJSON(json) {
|
|
8120
|
+
return GetWaaSDelivery200ResponseToJSONTyped(json, false);
|
|
8121
|
+
}
|
|
8122
|
+
function GetWaaSDelivery200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
8123
|
+
if (value == null) {
|
|
8124
|
+
return value;
|
|
8125
|
+
}
|
|
8126
|
+
return {
|
|
8127
|
+
"data": WaaSDeliveryToJSON(value["data"]),
|
|
8128
|
+
"meta": GetDomain200ResponseMetaToJSON(value["meta"])
|
|
8129
|
+
};
|
|
8130
|
+
}
|
|
8131
|
+
|
|
8132
|
+
// src/src/models/WaaSEndpoint.ts
|
|
8133
|
+
var WaaSEndpointStatusEnum = {
|
|
8134
|
+
ACTIVE: "active",
|
|
8135
|
+
PAUSED: "paused",
|
|
8136
|
+
DISABLED: "disabled"
|
|
8137
|
+
};
|
|
8138
|
+
function instanceOfWaaSEndpoint(value) {
|
|
8139
|
+
return true;
|
|
8140
|
+
}
|
|
8141
|
+
function WaaSEndpointFromJSON(json) {
|
|
8142
|
+
return WaaSEndpointFromJSONTyped(json, false);
|
|
8143
|
+
}
|
|
8144
|
+
function WaaSEndpointFromJSONTyped(json, ignoreDiscriminator) {
|
|
8145
|
+
if (json == null) {
|
|
8146
|
+
return json;
|
|
8147
|
+
}
|
|
8148
|
+
return {
|
|
8149
|
+
"id": json["id"] == null ? void 0 : json["id"],
|
|
8150
|
+
"applicationId": json["application_id"] == null ? void 0 : json["application_id"],
|
|
8151
|
+
"tenantId": json["tenant_id"] == null ? void 0 : json["tenant_id"],
|
|
8152
|
+
"url": json["url"] == null ? void 0 : json["url"],
|
|
8153
|
+
"events": json["events"] == null ? void 0 : json["events"],
|
|
8154
|
+
"status": json["status"] == null ? void 0 : json["status"],
|
|
8155
|
+
"createdAt": json["created_at"] == null ? void 0 : new Date(json["created_at"]),
|
|
8156
|
+
"updatedAt": json["updated_at"] == null ? void 0 : new Date(json["updated_at"])
|
|
8157
|
+
};
|
|
8158
|
+
}
|
|
8159
|
+
function WaaSEndpointToJSON(json) {
|
|
8160
|
+
return WaaSEndpointToJSONTyped(json, false);
|
|
8161
|
+
}
|
|
8162
|
+
function WaaSEndpointToJSONTyped(value, ignoreDiscriminator = false) {
|
|
8163
|
+
if (value == null) {
|
|
8164
|
+
return value;
|
|
8165
|
+
}
|
|
8166
|
+
return {
|
|
8167
|
+
"id": value["id"],
|
|
8168
|
+
"application_id": value["applicationId"],
|
|
8169
|
+
"tenant_id": value["tenantId"],
|
|
8170
|
+
"url": value["url"],
|
|
8171
|
+
"events": value["events"],
|
|
8172
|
+
"status": value["status"],
|
|
8173
|
+
"created_at": value["createdAt"] == null ? void 0 : value["createdAt"].toISOString(),
|
|
8174
|
+
"updated_at": value["updatedAt"] == null ? void 0 : value["updatedAt"].toISOString()
|
|
8175
|
+
};
|
|
8176
|
+
}
|
|
8177
|
+
|
|
8178
|
+
// src/src/models/GetWaaSEndpoint200Response.ts
|
|
8179
|
+
function instanceOfGetWaaSEndpoint200Response(value) {
|
|
8180
|
+
return true;
|
|
8181
|
+
}
|
|
8182
|
+
function GetWaaSEndpoint200ResponseFromJSON(json) {
|
|
8183
|
+
return GetWaaSEndpoint200ResponseFromJSONTyped(json, false);
|
|
8184
|
+
}
|
|
8185
|
+
function GetWaaSEndpoint200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
8186
|
+
if (json == null) {
|
|
8187
|
+
return json;
|
|
8188
|
+
}
|
|
8189
|
+
return {
|
|
8190
|
+
"data": json["data"] == null ? void 0 : WaaSEndpointFromJSON(json["data"])
|
|
8191
|
+
};
|
|
8192
|
+
}
|
|
8193
|
+
function GetWaaSEndpoint200ResponseToJSON(json) {
|
|
8194
|
+
return GetWaaSEndpoint200ResponseToJSONTyped(json, false);
|
|
8195
|
+
}
|
|
8196
|
+
function GetWaaSEndpoint200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
8197
|
+
if (value == null) {
|
|
8198
|
+
return value;
|
|
8199
|
+
}
|
|
8200
|
+
return {
|
|
8201
|
+
"data": WaaSEndpointToJSON(value["data"])
|
|
8202
|
+
};
|
|
8203
|
+
}
|
|
8204
|
+
|
|
8205
|
+
// src/src/models/GetWaaSEndpointCircuit200ResponseData.ts
|
|
8206
|
+
var GetWaaSEndpointCircuit200ResponseDataStateEnum = {
|
|
8207
|
+
CLOSED: "closed",
|
|
8208
|
+
OPEN: "open",
|
|
8209
|
+
HALF_OPEN: "half_open"
|
|
8210
|
+
};
|
|
8211
|
+
function instanceOfGetWaaSEndpointCircuit200ResponseData(value) {
|
|
8212
|
+
if (!("state" in value) || value["state"] === void 0) return false;
|
|
8213
|
+
if (!("failures" in value) || value["failures"] === void 0) return false;
|
|
8214
|
+
if (!("lastFailureAt" in value) || value["lastFailureAt"] === void 0) return false;
|
|
8215
|
+
if (!("openedAt" in value) || value["openedAt"] === void 0) return false;
|
|
8216
|
+
if (!("nextTestAt" in value) || value["nextTestAt"] === void 0) return false;
|
|
8217
|
+
if (!("recoveryAttempts" in value) || value["recoveryAttempts"] === void 0) return false;
|
|
8218
|
+
return true;
|
|
8219
|
+
}
|
|
8220
|
+
function GetWaaSEndpointCircuit200ResponseDataFromJSON(json) {
|
|
8221
|
+
return GetWaaSEndpointCircuit200ResponseDataFromJSONTyped(json, false);
|
|
8222
|
+
}
|
|
8223
|
+
function GetWaaSEndpointCircuit200ResponseDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
8224
|
+
if (json == null) {
|
|
8225
|
+
return json;
|
|
8226
|
+
}
|
|
8227
|
+
return {
|
|
8228
|
+
"state": json["state"],
|
|
8229
|
+
"failures": json["failures"],
|
|
8230
|
+
"lastFailureAt": json["last_failure_at"] == null ? null : new Date(json["last_failure_at"]),
|
|
8231
|
+
"openedAt": json["opened_at"] == null ? null : new Date(json["opened_at"]),
|
|
8232
|
+
"nextTestAt": json["next_test_at"] == null ? null : new Date(json["next_test_at"]),
|
|
8233
|
+
"recoveryAttempts": json["recovery_attempts"]
|
|
8234
|
+
};
|
|
8235
|
+
}
|
|
8236
|
+
function GetWaaSEndpointCircuit200ResponseDataToJSON(json) {
|
|
8237
|
+
return GetWaaSEndpointCircuit200ResponseDataToJSONTyped(json, false);
|
|
8238
|
+
}
|
|
8239
|
+
function GetWaaSEndpointCircuit200ResponseDataToJSONTyped(value, ignoreDiscriminator = false) {
|
|
8240
|
+
if (value == null) {
|
|
8241
|
+
return value;
|
|
8242
|
+
}
|
|
8243
|
+
return {
|
|
8244
|
+
"state": value["state"],
|
|
8245
|
+
"failures": value["failures"],
|
|
8246
|
+
"last_failure_at": value["lastFailureAt"] == null ? null : value["lastFailureAt"].toISOString(),
|
|
8247
|
+
"opened_at": value["openedAt"] == null ? null : value["openedAt"].toISOString(),
|
|
8248
|
+
"next_test_at": value["nextTestAt"] == null ? null : value["nextTestAt"].toISOString(),
|
|
8249
|
+
"recovery_attempts": value["recoveryAttempts"]
|
|
8250
|
+
};
|
|
8251
|
+
}
|
|
8252
|
+
|
|
8253
|
+
// src/src/models/GetWaaSEndpointCircuit200Response.ts
|
|
8254
|
+
function instanceOfGetWaaSEndpointCircuit200Response(value) {
|
|
8255
|
+
return true;
|
|
8256
|
+
}
|
|
8257
|
+
function GetWaaSEndpointCircuit200ResponseFromJSON(json) {
|
|
8258
|
+
return GetWaaSEndpointCircuit200ResponseFromJSONTyped(json, false);
|
|
8259
|
+
}
|
|
8260
|
+
function GetWaaSEndpointCircuit200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
8261
|
+
if (json == null) {
|
|
8262
|
+
return json;
|
|
8263
|
+
}
|
|
8264
|
+
return {
|
|
8265
|
+
"data": json["data"] == null ? void 0 : GetWaaSEndpointCircuit200ResponseDataFromJSON(json["data"]),
|
|
8266
|
+
"meta": json["meta"] == null ? void 0 : GetDomain200ResponseMetaFromJSON(json["meta"])
|
|
8267
|
+
};
|
|
8268
|
+
}
|
|
8269
|
+
function GetWaaSEndpointCircuit200ResponseToJSON(json) {
|
|
8270
|
+
return GetWaaSEndpointCircuit200ResponseToJSONTyped(json, false);
|
|
8271
|
+
}
|
|
8272
|
+
function GetWaaSEndpointCircuit200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
8273
|
+
if (value == null) {
|
|
8274
|
+
return value;
|
|
8275
|
+
}
|
|
8276
|
+
return {
|
|
8277
|
+
"data": GetWaaSEndpointCircuit200ResponseDataToJSON(value["data"]),
|
|
8278
|
+
"meta": GetDomain200ResponseMetaToJSON(value["meta"])
|
|
8279
|
+
};
|
|
8280
|
+
}
|
|
8281
|
+
|
|
8282
|
+
// src/src/models/GetWaaSEndpointMetrics200ResponseDataWindowsValue.ts
|
|
8283
|
+
var GetWaaSEndpointMetrics200ResponseDataWindowsValueWindowEnum = {
|
|
8284
|
+
_1H: "1h",
|
|
8285
|
+
_24H: "24h",
|
|
8286
|
+
_7D: "7d",
|
|
8287
|
+
_30D: "30d"
|
|
8288
|
+
};
|
|
8289
|
+
function instanceOfGetWaaSEndpointMetrics200ResponseDataWindowsValue(value) {
|
|
8290
|
+
return true;
|
|
8291
|
+
}
|
|
8292
|
+
function GetWaaSEndpointMetrics200ResponseDataWindowsValueFromJSON(json) {
|
|
8293
|
+
return GetWaaSEndpointMetrics200ResponseDataWindowsValueFromJSONTyped(json, false);
|
|
8294
|
+
}
|
|
8295
|
+
function GetWaaSEndpointMetrics200ResponseDataWindowsValueFromJSONTyped(json, ignoreDiscriminator) {
|
|
8296
|
+
if (json == null) {
|
|
8297
|
+
return json;
|
|
8298
|
+
}
|
|
8299
|
+
return {
|
|
8300
|
+
"window": json["window"] == null ? void 0 : json["window"],
|
|
8301
|
+
"total": json["total"] == null ? void 0 : json["total"],
|
|
8302
|
+
"successes": json["successes"] == null ? void 0 : json["successes"],
|
|
8303
|
+
"failures": json["failures"] == null ? void 0 : json["failures"],
|
|
8304
|
+
"successRate": json["success_rate"] == null ? void 0 : json["success_rate"],
|
|
8305
|
+
"avgLatencyMs": json["avg_latency_ms"] == null ? void 0 : json["avg_latency_ms"],
|
|
8306
|
+
"p95LatencyMs": json["p95_latency_ms"] == null ? void 0 : json["p95_latency_ms"]
|
|
8307
|
+
};
|
|
8308
|
+
}
|
|
8309
|
+
function GetWaaSEndpointMetrics200ResponseDataWindowsValueToJSON(json) {
|
|
8310
|
+
return GetWaaSEndpointMetrics200ResponseDataWindowsValueToJSONTyped(json, false);
|
|
8311
|
+
}
|
|
8312
|
+
function GetWaaSEndpointMetrics200ResponseDataWindowsValueToJSONTyped(value, ignoreDiscriminator = false) {
|
|
8313
|
+
if (value == null) {
|
|
8314
|
+
return value;
|
|
8315
|
+
}
|
|
8316
|
+
return {
|
|
8317
|
+
"window": value["window"],
|
|
8318
|
+
"total": value["total"],
|
|
8319
|
+
"successes": value["successes"],
|
|
8320
|
+
"failures": value["failures"],
|
|
8321
|
+
"success_rate": value["successRate"],
|
|
8322
|
+
"avg_latency_ms": value["avgLatencyMs"],
|
|
8323
|
+
"p95_latency_ms": value["p95LatencyMs"]
|
|
8324
|
+
};
|
|
8325
|
+
}
|
|
8326
|
+
|
|
8327
|
+
// src/src/models/GetWaaSEndpointMetrics200ResponseDataHealth.ts
|
|
8328
|
+
var GetWaaSEndpointMetrics200ResponseDataHealthStatusEnum = {
|
|
8329
|
+
HEALTHY: "healthy",
|
|
8330
|
+
DEGRADED: "degraded",
|
|
8331
|
+
UNHEALTHY: "unhealthy"
|
|
8332
|
+
};
|
|
8333
|
+
function instanceOfGetWaaSEndpointMetrics200ResponseDataHealth(value) {
|
|
8334
|
+
if (!("score" in value) || value["score"] === void 0) return false;
|
|
8335
|
+
if (!("status" in value) || value["status"] === void 0) return false;
|
|
8336
|
+
return true;
|
|
8337
|
+
}
|
|
8338
|
+
function GetWaaSEndpointMetrics200ResponseDataHealthFromJSON(json) {
|
|
8339
|
+
return GetWaaSEndpointMetrics200ResponseDataHealthFromJSONTyped(json, false);
|
|
8340
|
+
}
|
|
8341
|
+
function GetWaaSEndpointMetrics200ResponseDataHealthFromJSONTyped(json, ignoreDiscriminator) {
|
|
8342
|
+
if (json == null) {
|
|
8343
|
+
return json;
|
|
8344
|
+
}
|
|
8345
|
+
return {
|
|
8346
|
+
"score": json["score"],
|
|
8347
|
+
"status": json["status"]
|
|
8348
|
+
};
|
|
8349
|
+
}
|
|
8350
|
+
function GetWaaSEndpointMetrics200ResponseDataHealthToJSON(json) {
|
|
8351
|
+
return GetWaaSEndpointMetrics200ResponseDataHealthToJSONTyped(json, false);
|
|
8352
|
+
}
|
|
8353
|
+
function GetWaaSEndpointMetrics200ResponseDataHealthToJSONTyped(value, ignoreDiscriminator = false) {
|
|
8354
|
+
if (value == null) {
|
|
8355
|
+
return value;
|
|
8356
|
+
}
|
|
8357
|
+
return {
|
|
8358
|
+
"score": value["score"],
|
|
8359
|
+
"status": value["status"]
|
|
8360
|
+
};
|
|
8361
|
+
}
|
|
8362
|
+
|
|
8363
|
+
// src/src/models/GetWaaSEndpointMetrics200ResponseData.ts
|
|
8364
|
+
function instanceOfGetWaaSEndpointMetrics200ResponseData(value) {
|
|
8365
|
+
if (!("webhookId" in value) || value["webhookId"] === void 0) return false;
|
|
8366
|
+
if (!("health" in value) || value["health"] === void 0) return false;
|
|
8367
|
+
if (!("windows" in value) || value["windows"] === void 0) return false;
|
|
8368
|
+
return true;
|
|
8369
|
+
}
|
|
8370
|
+
function GetWaaSEndpointMetrics200ResponseDataFromJSON(json) {
|
|
8371
|
+
return GetWaaSEndpointMetrics200ResponseDataFromJSONTyped(json, false);
|
|
8372
|
+
}
|
|
8373
|
+
function GetWaaSEndpointMetrics200ResponseDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
8374
|
+
if (json == null) {
|
|
8375
|
+
return json;
|
|
8376
|
+
}
|
|
8377
|
+
return {
|
|
8378
|
+
"webhookId": json["webhook_id"],
|
|
8379
|
+
"health": GetWaaSEndpointMetrics200ResponseDataHealthFromJSON(json["health"]),
|
|
8380
|
+
"windows": mapValues(json["windows"], GetWaaSEndpointMetrics200ResponseDataWindowsValueFromJSON)
|
|
8381
|
+
};
|
|
8382
|
+
}
|
|
8383
|
+
function GetWaaSEndpointMetrics200ResponseDataToJSON(json) {
|
|
8384
|
+
return GetWaaSEndpointMetrics200ResponseDataToJSONTyped(json, false);
|
|
8385
|
+
}
|
|
8386
|
+
function GetWaaSEndpointMetrics200ResponseDataToJSONTyped(value, ignoreDiscriminator = false) {
|
|
8387
|
+
if (value == null) {
|
|
8388
|
+
return value;
|
|
8389
|
+
}
|
|
8390
|
+
return {
|
|
8391
|
+
"webhook_id": value["webhookId"],
|
|
8392
|
+
"health": GetWaaSEndpointMetrics200ResponseDataHealthToJSON(value["health"]),
|
|
8393
|
+
"windows": mapValues(value["windows"], GetWaaSEndpointMetrics200ResponseDataWindowsValueToJSON)
|
|
8394
|
+
};
|
|
8395
|
+
}
|
|
8396
|
+
|
|
8397
|
+
// src/src/models/GetWaaSEndpointMetrics200Response.ts
|
|
8398
|
+
function instanceOfGetWaaSEndpointMetrics200Response(value) {
|
|
8399
|
+
return true;
|
|
8400
|
+
}
|
|
8401
|
+
function GetWaaSEndpointMetrics200ResponseFromJSON(json) {
|
|
8402
|
+
return GetWaaSEndpointMetrics200ResponseFromJSONTyped(json, false);
|
|
8403
|
+
}
|
|
8404
|
+
function GetWaaSEndpointMetrics200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
8405
|
+
if (json == null) {
|
|
8406
|
+
return json;
|
|
8407
|
+
}
|
|
8408
|
+
return {
|
|
8409
|
+
"data": json["data"] == null ? void 0 : GetWaaSEndpointMetrics200ResponseDataFromJSON(json["data"]),
|
|
8410
|
+
"meta": json["meta"] == null ? void 0 : GetDomain200ResponseMetaFromJSON(json["meta"])
|
|
8411
|
+
};
|
|
8412
|
+
}
|
|
8413
|
+
function GetWaaSEndpointMetrics200ResponseToJSON(json) {
|
|
8414
|
+
return GetWaaSEndpointMetrics200ResponseToJSONTyped(json, false);
|
|
8415
|
+
}
|
|
8416
|
+
function GetWaaSEndpointMetrics200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
8417
|
+
if (value == null) {
|
|
8418
|
+
return value;
|
|
8419
|
+
}
|
|
8420
|
+
return {
|
|
8421
|
+
"data": GetWaaSEndpointMetrics200ResponseDataToJSON(value["data"]),
|
|
8422
|
+
"meta": GetDomain200ResponseMetaToJSON(value["meta"])
|
|
8423
|
+
};
|
|
8424
|
+
}
|
|
8425
|
+
|
|
8426
|
+
// src/src/models/WaaSUsageResponse.ts
|
|
8427
|
+
function instanceOfWaaSUsageResponse(value) {
|
|
8428
|
+
return true;
|
|
8429
|
+
}
|
|
8430
|
+
function WaaSUsageResponseFromJSON(json) {
|
|
8431
|
+
return WaaSUsageResponseFromJSONTyped(json, false);
|
|
8432
|
+
}
|
|
8433
|
+
function WaaSUsageResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
8434
|
+
if (json == null) {
|
|
8435
|
+
return json;
|
|
8436
|
+
}
|
|
8437
|
+
return {
|
|
8438
|
+
"applicationsCount": json["applications_count"] == null ? void 0 : json["applications_count"],
|
|
8439
|
+
"applicationsLimit": json["applications_limit"] == null ? void 0 : json["applications_limit"],
|
|
8440
|
+
"endpointsCount": json["endpoints_count"] == null ? void 0 : json["endpoints_count"],
|
|
8441
|
+
"endpointsLimit": json["endpoints_limit"] == null ? void 0 : json["endpoints_limit"],
|
|
8442
|
+
"eventsThisMonth": json["events_this_month"] == null ? void 0 : json["events_this_month"],
|
|
8443
|
+
"eventsLimit": json["events_limit"] == null ? void 0 : json["events_limit"]
|
|
8444
|
+
};
|
|
8445
|
+
}
|
|
8446
|
+
function WaaSUsageResponseToJSON(json) {
|
|
8447
|
+
return WaaSUsageResponseToJSONTyped(json, false);
|
|
8448
|
+
}
|
|
8449
|
+
function WaaSUsageResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
8450
|
+
if (value == null) {
|
|
8451
|
+
return value;
|
|
8452
|
+
}
|
|
8453
|
+
return {
|
|
8454
|
+
"applications_count": value["applicationsCount"],
|
|
8455
|
+
"applications_limit": value["applicationsLimit"],
|
|
8456
|
+
"endpoints_count": value["endpointsCount"],
|
|
8457
|
+
"endpoints_limit": value["endpointsLimit"],
|
|
8458
|
+
"events_this_month": value["eventsThisMonth"],
|
|
8459
|
+
"events_limit": value["eventsLimit"]
|
|
8460
|
+
};
|
|
8461
|
+
}
|
|
8462
|
+
|
|
8463
|
+
// src/src/models/GetWaaSUsage200Response.ts
|
|
8464
|
+
function instanceOfGetWaaSUsage200Response(value) {
|
|
8465
|
+
return true;
|
|
8466
|
+
}
|
|
8467
|
+
function GetWaaSUsage200ResponseFromJSON(json) {
|
|
8468
|
+
return GetWaaSUsage200ResponseFromJSONTyped(json, false);
|
|
8469
|
+
}
|
|
8470
|
+
function GetWaaSUsage200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
8471
|
+
if (json == null) {
|
|
8472
|
+
return json;
|
|
8473
|
+
}
|
|
8474
|
+
return {
|
|
8475
|
+
"data": json["data"] == null ? void 0 : WaaSUsageResponseFromJSON(json["data"])
|
|
8476
|
+
};
|
|
8477
|
+
}
|
|
8478
|
+
function GetWaaSUsage200ResponseToJSON(json) {
|
|
8479
|
+
return GetWaaSUsage200ResponseToJSONTyped(json, false);
|
|
8480
|
+
}
|
|
8481
|
+
function GetWaaSUsage200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
8482
|
+
if (value == null) {
|
|
8483
|
+
return value;
|
|
8484
|
+
}
|
|
8485
|
+
return {
|
|
8486
|
+
"data": WaaSUsageResponseToJSON(value["data"])
|
|
8487
|
+
};
|
|
8488
|
+
}
|
|
8489
|
+
|
|
8490
|
+
// src/src/models/InboundAttachmentUrlResponseData.ts
|
|
8491
|
+
function instanceOfInboundAttachmentUrlResponseData(value) {
|
|
8492
|
+
return true;
|
|
8493
|
+
}
|
|
8494
|
+
function InboundAttachmentUrlResponseDataFromJSON(json) {
|
|
8495
|
+
return InboundAttachmentUrlResponseDataFromJSONTyped(json, false);
|
|
8496
|
+
}
|
|
8497
|
+
function InboundAttachmentUrlResponseDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
8498
|
+
if (json == null) {
|
|
8499
|
+
return json;
|
|
8500
|
+
}
|
|
8501
|
+
return {
|
|
8502
|
+
"downloadUrl": json["download_url"] == null ? void 0 : json["download_url"],
|
|
8503
|
+
"filename": json["filename"] == null ? void 0 : json["filename"],
|
|
8504
|
+
"contentType": json["content_type"] == null ? void 0 : json["content_type"]
|
|
8505
|
+
};
|
|
8506
|
+
}
|
|
8507
|
+
function InboundAttachmentUrlResponseDataToJSON(json) {
|
|
8508
|
+
return InboundAttachmentUrlResponseDataToJSONTyped(json, false);
|
|
8509
|
+
}
|
|
8510
|
+
function InboundAttachmentUrlResponseDataToJSONTyped(value, ignoreDiscriminator = false) {
|
|
8511
|
+
if (value == null) {
|
|
8512
|
+
return value;
|
|
8513
|
+
}
|
|
8514
|
+
return {
|
|
8515
|
+
"download_url": value["downloadUrl"],
|
|
8516
|
+
"filename": value["filename"],
|
|
8517
|
+
"content_type": value["contentType"]
|
|
8518
|
+
};
|
|
8519
|
+
}
|
|
8520
|
+
|
|
8521
|
+
// src/src/models/InboundAttachmentUrlResponse.ts
|
|
8522
|
+
function instanceOfInboundAttachmentUrlResponse(value) {
|
|
8523
|
+
return true;
|
|
8524
|
+
}
|
|
8525
|
+
function InboundAttachmentUrlResponseFromJSON(json) {
|
|
8526
|
+
return InboundAttachmentUrlResponseFromJSONTyped(json, false);
|
|
8527
|
+
}
|
|
8528
|
+
function InboundAttachmentUrlResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
8529
|
+
if (json == null) {
|
|
8530
|
+
return json;
|
|
8531
|
+
}
|
|
8532
|
+
return {
|
|
8533
|
+
"data": json["data"] == null ? void 0 : InboundAttachmentUrlResponseDataFromJSON(json["data"]),
|
|
8534
|
+
"meta": json["meta"] == null ? void 0 : RequestMetaFromJSON(json["meta"])
|
|
8535
|
+
};
|
|
8536
|
+
}
|
|
8537
|
+
function InboundAttachmentUrlResponseToJSON(json) {
|
|
8538
|
+
return InboundAttachmentUrlResponseToJSONTyped(json, false);
|
|
8539
|
+
}
|
|
8540
|
+
function InboundAttachmentUrlResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
8541
|
+
if (value == null) {
|
|
8542
|
+
return value;
|
|
8543
|
+
}
|
|
8544
|
+
return {
|
|
8545
|
+
"data": InboundAttachmentUrlResponseDataToJSON(value["data"]),
|
|
8546
|
+
"meta": RequestMetaToJSON(value["meta"])
|
|
8547
|
+
};
|
|
8548
|
+
}
|
|
8549
|
+
|
|
8550
|
+
// src/src/models/InboundEmailFrom.ts
|
|
7650
8551
|
function instanceOfInboundEmailFrom(value) {
|
|
7651
8552
|
return true;
|
|
7652
8553
|
}
|
|
@@ -7976,6 +8877,66 @@ function InboxNotificationResponseToJSONTyped(value, ignoreDiscriminator = false
|
|
|
7976
8877
|
};
|
|
7977
8878
|
}
|
|
7978
8879
|
|
|
8880
|
+
// src/src/models/InviteEndUser200ResponseData.ts
|
|
8881
|
+
function instanceOfInviteEndUser200ResponseData(value) {
|
|
8882
|
+
return true;
|
|
8883
|
+
}
|
|
8884
|
+
function InviteEndUser200ResponseDataFromJSON(json) {
|
|
8885
|
+
return InviteEndUser200ResponseDataFromJSONTyped(json, false);
|
|
8886
|
+
}
|
|
8887
|
+
function InviteEndUser200ResponseDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
8888
|
+
if (json == null) {
|
|
8889
|
+
return json;
|
|
8890
|
+
}
|
|
8891
|
+
return {
|
|
8892
|
+
"userId": json["user_id"] == null ? void 0 : json["user_id"],
|
|
8893
|
+
"created": json["created"] == null ? void 0 : json["created"],
|
|
8894
|
+
"linkSent": json["link_sent"] == null ? void 0 : json["link_sent"]
|
|
8895
|
+
};
|
|
8896
|
+
}
|
|
8897
|
+
function InviteEndUser200ResponseDataToJSON(json) {
|
|
8898
|
+
return InviteEndUser200ResponseDataToJSONTyped(json, false);
|
|
8899
|
+
}
|
|
8900
|
+
function InviteEndUser200ResponseDataToJSONTyped(value, ignoreDiscriminator = false) {
|
|
8901
|
+
if (value == null) {
|
|
8902
|
+
return value;
|
|
8903
|
+
}
|
|
8904
|
+
return {
|
|
8905
|
+
"user_id": value["userId"],
|
|
8906
|
+
"created": value["created"],
|
|
8907
|
+
"link_sent": value["linkSent"]
|
|
8908
|
+
};
|
|
8909
|
+
}
|
|
8910
|
+
|
|
8911
|
+
// src/src/models/InviteEndUser200Response.ts
|
|
8912
|
+
function instanceOfInviteEndUser200Response(value) {
|
|
8913
|
+
return true;
|
|
8914
|
+
}
|
|
8915
|
+
function InviteEndUser200ResponseFromJSON(json) {
|
|
8916
|
+
return InviteEndUser200ResponseFromJSONTyped(json, false);
|
|
8917
|
+
}
|
|
8918
|
+
function InviteEndUser200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
8919
|
+
if (json == null) {
|
|
8920
|
+
return json;
|
|
8921
|
+
}
|
|
8922
|
+
return {
|
|
8923
|
+
"data": json["data"] == null ? void 0 : InviteEndUser200ResponseDataFromJSON(json["data"]),
|
|
8924
|
+
"meta": json["meta"] == null ? void 0 : GetDomain200ResponseMetaFromJSON(json["meta"])
|
|
8925
|
+
};
|
|
8926
|
+
}
|
|
8927
|
+
function InviteEndUser200ResponseToJSON(json) {
|
|
8928
|
+
return InviteEndUser200ResponseToJSONTyped(json, false);
|
|
8929
|
+
}
|
|
8930
|
+
function InviteEndUser200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
8931
|
+
if (value == null) {
|
|
8932
|
+
return value;
|
|
8933
|
+
}
|
|
8934
|
+
return {
|
|
8935
|
+
"data": InviteEndUser200ResponseDataToJSON(value["data"]),
|
|
8936
|
+
"meta": GetDomain200ResponseMetaToJSON(value["meta"])
|
|
8937
|
+
};
|
|
8938
|
+
}
|
|
8939
|
+
|
|
7979
8940
|
// src/src/models/InviteEndUserRequest.ts
|
|
7980
8941
|
var InviteEndUserRequestSendLinkEnum = {
|
|
7981
8942
|
MAGIC: "magic",
|
|
@@ -8001,101 +8962,110 @@ function InviteEndUserRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
8001
8962
|
"redirectUrl": json["redirect_url"] == null ? void 0 : json["redirect_url"]
|
|
8002
8963
|
};
|
|
8003
8964
|
}
|
|
8004
|
-
function InviteEndUserRequestToJSON(json) {
|
|
8005
|
-
return InviteEndUserRequestToJSONTyped(json, false);
|
|
8965
|
+
function InviteEndUserRequestToJSON(json) {
|
|
8966
|
+
return InviteEndUserRequestToJSONTyped(json, false);
|
|
8967
|
+
}
|
|
8968
|
+
function InviteEndUserRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
8969
|
+
if (value == null) {
|
|
8970
|
+
return value;
|
|
8971
|
+
}
|
|
8972
|
+
return {
|
|
8973
|
+
"email": value["email"],
|
|
8974
|
+
"name": value["name"],
|
|
8975
|
+
"metadata": value["metadata"],
|
|
8976
|
+
"send_link": value["sendLink"],
|
|
8977
|
+
"redirect_url": value["redirectUrl"]
|
|
8978
|
+
};
|
|
8979
|
+
}
|
|
8980
|
+
|
|
8981
|
+
// src/src/models/ListEndUsers200ResponseMeta.ts
|
|
8982
|
+
function instanceOfListEndUsers200ResponseMeta(value) {
|
|
8983
|
+
return true;
|
|
8984
|
+
}
|
|
8985
|
+
function ListEndUsers200ResponseMetaFromJSON(json) {
|
|
8986
|
+
return ListEndUsers200ResponseMetaFromJSONTyped(json, false);
|
|
8987
|
+
}
|
|
8988
|
+
function ListEndUsers200ResponseMetaFromJSONTyped(json, ignoreDiscriminator) {
|
|
8989
|
+
if (json == null) {
|
|
8990
|
+
return json;
|
|
8991
|
+
}
|
|
8992
|
+
return {
|
|
8993
|
+
"requestId": json["request_id"] == null ? void 0 : json["request_id"],
|
|
8994
|
+
"page": json["page"] == null ? void 0 : json["page"],
|
|
8995
|
+
"perPage": json["per_page"] == null ? void 0 : json["per_page"],
|
|
8996
|
+
"total": json["total"] == null ? void 0 : json["total"],
|
|
8997
|
+
"totalPages": json["total_pages"] == null ? void 0 : json["total_pages"]
|
|
8998
|
+
};
|
|
8999
|
+
}
|
|
9000
|
+
function ListEndUsers200ResponseMetaToJSON(json) {
|
|
9001
|
+
return ListEndUsers200ResponseMetaToJSONTyped(json, false);
|
|
8006
9002
|
}
|
|
8007
|
-
function
|
|
9003
|
+
function ListEndUsers200ResponseMetaToJSONTyped(value, ignoreDiscriminator = false) {
|
|
8008
9004
|
if (value == null) {
|
|
8009
9005
|
return value;
|
|
8010
9006
|
}
|
|
8011
9007
|
return {
|
|
8012
|
-
"
|
|
8013
|
-
"
|
|
8014
|
-
"
|
|
8015
|
-
"
|
|
8016
|
-
"
|
|
9008
|
+
"request_id": value["requestId"],
|
|
9009
|
+
"page": value["page"],
|
|
9010
|
+
"per_page": value["perPage"],
|
|
9011
|
+
"total": value["total"],
|
|
9012
|
+
"total_pages": value["totalPages"]
|
|
8017
9013
|
};
|
|
8018
9014
|
}
|
|
8019
9015
|
|
|
8020
|
-
// src/src/models/
|
|
8021
|
-
function
|
|
9016
|
+
// src/src/models/ListEndUsers200Response.ts
|
|
9017
|
+
function instanceOfListEndUsers200Response(value) {
|
|
8022
9018
|
return true;
|
|
8023
9019
|
}
|
|
8024
|
-
function
|
|
8025
|
-
return
|
|
9020
|
+
function ListEndUsers200ResponseFromJSON(json) {
|
|
9021
|
+
return ListEndUsers200ResponseFromJSONTyped(json, false);
|
|
8026
9022
|
}
|
|
8027
|
-
function
|
|
9023
|
+
function ListEndUsers200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
8028
9024
|
if (json == null) {
|
|
8029
9025
|
return json;
|
|
8030
9026
|
}
|
|
8031
9027
|
return {
|
|
8032
|
-
"data": json["data"] == null ? void 0 : json["data"].map(
|
|
9028
|
+
"data": json["data"] == null ? void 0 : json["data"].map(AuthUserFromJSON),
|
|
9029
|
+
"meta": json["meta"] == null ? void 0 : ListEndUsers200ResponseMetaFromJSON(json["meta"])
|
|
8033
9030
|
};
|
|
8034
9031
|
}
|
|
8035
|
-
function
|
|
8036
|
-
return
|
|
9032
|
+
function ListEndUsers200ResponseToJSON(json) {
|
|
9033
|
+
return ListEndUsers200ResponseToJSONTyped(json, false);
|
|
8037
9034
|
}
|
|
8038
|
-
function
|
|
9035
|
+
function ListEndUsers200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
8039
9036
|
if (value == null) {
|
|
8040
9037
|
return value;
|
|
8041
9038
|
}
|
|
8042
9039
|
return {
|
|
8043
|
-
"data": value["data"] == null ? void 0 : value["data"].map(
|
|
9040
|
+
"data": value["data"] == null ? void 0 : value["data"].map(AuthUserToJSON),
|
|
9041
|
+
"meta": ListEndUsers200ResponseMetaToJSON(value["meta"])
|
|
8044
9042
|
};
|
|
8045
9043
|
}
|
|
8046
9044
|
|
|
8047
|
-
// src/src/models/
|
|
8048
|
-
|
|
8049
|
-
PENDING: "pending",
|
|
8050
|
-
DELIVERING: "delivering",
|
|
8051
|
-
DELIVERED: "delivered",
|
|
8052
|
-
FAILED: "failed",
|
|
8053
|
-
RETRYING: "retrying",
|
|
8054
|
-
EXHAUSTED: "exhausted"
|
|
8055
|
-
};
|
|
8056
|
-
function instanceOfWaaSDelivery(value) {
|
|
9045
|
+
// src/src/models/ListWaaSApplications200Response.ts
|
|
9046
|
+
function instanceOfListWaaSApplications200Response(value) {
|
|
8057
9047
|
return true;
|
|
8058
9048
|
}
|
|
8059
|
-
function
|
|
8060
|
-
return
|
|
9049
|
+
function ListWaaSApplications200ResponseFromJSON(json) {
|
|
9050
|
+
return ListWaaSApplications200ResponseFromJSONTyped(json, false);
|
|
8061
9051
|
}
|
|
8062
|
-
function
|
|
9052
|
+
function ListWaaSApplications200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
8063
9053
|
if (json == null) {
|
|
8064
9054
|
return json;
|
|
8065
9055
|
}
|
|
8066
9056
|
return {
|
|
8067
|
-
"
|
|
8068
|
-
"applicationId": json["application_id"] == null ? void 0 : json["application_id"],
|
|
8069
|
-
"endpointId": json["endpoint_id"] == null ? void 0 : json["endpoint_id"],
|
|
8070
|
-
"eventId": json["event_id"] == null ? void 0 : json["event_id"],
|
|
8071
|
-
"eventType": json["event_type"] == null ? void 0 : json["event_type"],
|
|
8072
|
-
"tenantId": json["tenant_id"] == null ? void 0 : json["tenant_id"],
|
|
8073
|
-
"status": json["status"] == null ? void 0 : json["status"],
|
|
8074
|
-
"attempts": json["attempts"] == null ? void 0 : json["attempts"],
|
|
8075
|
-
"lastAttemptAt": json["last_attempt_at"] == null ? void 0 : new Date(json["last_attempt_at"]),
|
|
8076
|
-
"nextRetryAt": json["next_retry_at"] == null ? void 0 : new Date(json["next_retry_at"]),
|
|
8077
|
-
"createdAt": json["created_at"] == null ? void 0 : new Date(json["created_at"])
|
|
9057
|
+
"data": json["data"] == null ? void 0 : json["data"].map(WaaSApplicationFromJSON)
|
|
8078
9058
|
};
|
|
8079
9059
|
}
|
|
8080
|
-
function
|
|
8081
|
-
return
|
|
9060
|
+
function ListWaaSApplications200ResponseToJSON(json) {
|
|
9061
|
+
return ListWaaSApplications200ResponseToJSONTyped(json, false);
|
|
8082
9062
|
}
|
|
8083
|
-
function
|
|
9063
|
+
function ListWaaSApplications200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
8084
9064
|
if (value == null) {
|
|
8085
9065
|
return value;
|
|
8086
9066
|
}
|
|
8087
9067
|
return {
|
|
8088
|
-
"
|
|
8089
|
-
"application_id": value["applicationId"],
|
|
8090
|
-
"endpoint_id": value["endpointId"],
|
|
8091
|
-
"event_id": value["eventId"],
|
|
8092
|
-
"event_type": value["eventType"],
|
|
8093
|
-
"tenant_id": value["tenantId"],
|
|
8094
|
-
"status": value["status"],
|
|
8095
|
-
"attempts": value["attempts"],
|
|
8096
|
-
"last_attempt_at": value["lastAttemptAt"] == null ? void 0 : value["lastAttemptAt"].toISOString(),
|
|
8097
|
-
"next_retry_at": value["nextRetryAt"] == null ? void 0 : value["nextRetryAt"].toISOString(),
|
|
8098
|
-
"created_at": value["createdAt"] == null ? void 0 : value["createdAt"].toISOString()
|
|
9068
|
+
"data": value["data"] == null ? void 0 : value["data"].map(WaaSApplicationToJSON)
|
|
8099
9069
|
};
|
|
8100
9070
|
}
|
|
8101
9071
|
|
|
@@ -8180,41 +9150,6 @@ function ListWaaSEventTypes200ResponseToJSONTyped(value, ignoreDiscriminator = f
|
|
|
8180
9150
|
};
|
|
8181
9151
|
}
|
|
8182
9152
|
|
|
8183
|
-
// src/src/models/ListWorkflowExecutions200ResponseMeta.ts
|
|
8184
|
-
function instanceOfListWorkflowExecutions200ResponseMeta(value) {
|
|
8185
|
-
return true;
|
|
8186
|
-
}
|
|
8187
|
-
function ListWorkflowExecutions200ResponseMetaFromJSON(json) {
|
|
8188
|
-
return ListWorkflowExecutions200ResponseMetaFromJSONTyped(json, false);
|
|
8189
|
-
}
|
|
8190
|
-
function ListWorkflowExecutions200ResponseMetaFromJSONTyped(json, ignoreDiscriminator) {
|
|
8191
|
-
if (json == null) {
|
|
8192
|
-
return json;
|
|
8193
|
-
}
|
|
8194
|
-
return {
|
|
8195
|
-
"requestId": json["request_id"] == null ? void 0 : json["request_id"],
|
|
8196
|
-
"page": json["page"] == null ? void 0 : json["page"],
|
|
8197
|
-
"perPage": json["per_page"] == null ? void 0 : json["per_page"],
|
|
8198
|
-
"total": json["total"] == null ? void 0 : json["total"],
|
|
8199
|
-
"totalPages": json["total_pages"] == null ? void 0 : json["total_pages"]
|
|
8200
|
-
};
|
|
8201
|
-
}
|
|
8202
|
-
function ListWorkflowExecutions200ResponseMetaToJSON(json) {
|
|
8203
|
-
return ListWorkflowExecutions200ResponseMetaToJSONTyped(json, false);
|
|
8204
|
-
}
|
|
8205
|
-
function ListWorkflowExecutions200ResponseMetaToJSONTyped(value, ignoreDiscriminator = false) {
|
|
8206
|
-
if (value == null) {
|
|
8207
|
-
return value;
|
|
8208
|
-
}
|
|
8209
|
-
return {
|
|
8210
|
-
"request_id": value["requestId"],
|
|
8211
|
-
"page": value["page"],
|
|
8212
|
-
"per_page": value["perPage"],
|
|
8213
|
-
"total": value["total"],
|
|
8214
|
-
"total_pages": value["totalPages"]
|
|
8215
|
-
};
|
|
8216
|
-
}
|
|
8217
|
-
|
|
8218
9153
|
// src/src/models/ListWorkflowExecutions200Response.ts
|
|
8219
9154
|
function instanceOfListWorkflowExecutions200Response(value) {
|
|
8220
9155
|
return true;
|
|
@@ -8228,7 +9163,7 @@ function ListWorkflowExecutions200ResponseFromJSONTyped(json, ignoreDiscriminato
|
|
|
8228
9163
|
}
|
|
8229
9164
|
return {
|
|
8230
9165
|
"data": json["data"] == null ? void 0 : json["data"].map(WorkflowExecutionFromJSON),
|
|
8231
|
-
"meta": json["meta"] == null ? void 0 :
|
|
9166
|
+
"meta": json["meta"] == null ? void 0 : ListEndUsers200ResponseMetaFromJSON(json["meta"])
|
|
8232
9167
|
};
|
|
8233
9168
|
}
|
|
8234
9169
|
function ListWorkflowExecutions200ResponseToJSON(json) {
|
|
@@ -8240,7 +9175,7 @@ function ListWorkflowExecutions200ResponseToJSONTyped(value, ignoreDiscriminator
|
|
|
8240
9175
|
}
|
|
8241
9176
|
return {
|
|
8242
9177
|
"data": value["data"] == null ? void 0 : value["data"].map(WorkflowExecutionToJSON),
|
|
8243
|
-
"meta":
|
|
9178
|
+
"meta": ListEndUsers200ResponseMetaToJSON(value["meta"])
|
|
8244
9179
|
};
|
|
8245
9180
|
}
|
|
8246
9181
|
|
|
@@ -8554,6 +9489,33 @@ function MarkAllReadResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
8554
9489
|
};
|
|
8555
9490
|
}
|
|
8556
9491
|
|
|
9492
|
+
// src/src/models/MarkAllSubscriberNotificationsRead200Response.ts
|
|
9493
|
+
function instanceOfMarkAllSubscriberNotificationsRead200Response(value) {
|
|
9494
|
+
return true;
|
|
9495
|
+
}
|
|
9496
|
+
function MarkAllSubscriberNotificationsRead200ResponseFromJSON(json) {
|
|
9497
|
+
return MarkAllSubscriberNotificationsRead200ResponseFromJSONTyped(json, false);
|
|
9498
|
+
}
|
|
9499
|
+
function MarkAllSubscriberNotificationsRead200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
9500
|
+
if (json == null) {
|
|
9501
|
+
return json;
|
|
9502
|
+
}
|
|
9503
|
+
return {
|
|
9504
|
+
"data": json["data"] == null ? void 0 : MarkAllReadDataFromJSON(json["data"])
|
|
9505
|
+
};
|
|
9506
|
+
}
|
|
9507
|
+
function MarkAllSubscriberNotificationsRead200ResponseToJSON(json) {
|
|
9508
|
+
return MarkAllSubscriberNotificationsRead200ResponseToJSONTyped(json, false);
|
|
9509
|
+
}
|
|
9510
|
+
function MarkAllSubscriberNotificationsRead200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
9511
|
+
if (value == null) {
|
|
9512
|
+
return value;
|
|
9513
|
+
}
|
|
9514
|
+
return {
|
|
9515
|
+
"data": MarkAllReadDataToJSON(value["data"])
|
|
9516
|
+
};
|
|
9517
|
+
}
|
|
9518
|
+
|
|
8557
9519
|
// src/src/models/MarkAllSubscriberNotificationsReadRequest.ts
|
|
8558
9520
|
function instanceOfMarkAllSubscriberNotificationsReadRequest(value) {
|
|
8559
9521
|
return true;
|
|
@@ -11667,6 +12629,63 @@ function RevokeSessionRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
11667
12629
|
};
|
|
11668
12630
|
}
|
|
11669
12631
|
|
|
12632
|
+
// src/src/models/RotateWaaSEndpointSecret200ResponseData.ts
|
|
12633
|
+
function instanceOfRotateWaaSEndpointSecret200ResponseData(value) {
|
|
12634
|
+
if (!("secret" in value) || value["secret"] === void 0) return false;
|
|
12635
|
+
return true;
|
|
12636
|
+
}
|
|
12637
|
+
function RotateWaaSEndpointSecret200ResponseDataFromJSON(json) {
|
|
12638
|
+
return RotateWaaSEndpointSecret200ResponseDataFromJSONTyped(json, false);
|
|
12639
|
+
}
|
|
12640
|
+
function RotateWaaSEndpointSecret200ResponseDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
12641
|
+
if (json == null) {
|
|
12642
|
+
return json;
|
|
12643
|
+
}
|
|
12644
|
+
return {
|
|
12645
|
+
"secret": json["secret"]
|
|
12646
|
+
};
|
|
12647
|
+
}
|
|
12648
|
+
function RotateWaaSEndpointSecret200ResponseDataToJSON(json) {
|
|
12649
|
+
return RotateWaaSEndpointSecret200ResponseDataToJSONTyped(json, false);
|
|
12650
|
+
}
|
|
12651
|
+
function RotateWaaSEndpointSecret200ResponseDataToJSONTyped(value, ignoreDiscriminator = false) {
|
|
12652
|
+
if (value == null) {
|
|
12653
|
+
return value;
|
|
12654
|
+
}
|
|
12655
|
+
return {
|
|
12656
|
+
"secret": value["secret"]
|
|
12657
|
+
};
|
|
12658
|
+
}
|
|
12659
|
+
|
|
12660
|
+
// src/src/models/RotateWaaSEndpointSecret200Response.ts
|
|
12661
|
+
function instanceOfRotateWaaSEndpointSecret200Response(value) {
|
|
12662
|
+
return true;
|
|
12663
|
+
}
|
|
12664
|
+
function RotateWaaSEndpointSecret200ResponseFromJSON(json) {
|
|
12665
|
+
return RotateWaaSEndpointSecret200ResponseFromJSONTyped(json, false);
|
|
12666
|
+
}
|
|
12667
|
+
function RotateWaaSEndpointSecret200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
12668
|
+
if (json == null) {
|
|
12669
|
+
return json;
|
|
12670
|
+
}
|
|
12671
|
+
return {
|
|
12672
|
+
"data": json["data"] == null ? void 0 : RotateWaaSEndpointSecret200ResponseDataFromJSON(json["data"]),
|
|
12673
|
+
"meta": json["meta"] == null ? void 0 : GetDomain200ResponseMetaFromJSON(json["meta"])
|
|
12674
|
+
};
|
|
12675
|
+
}
|
|
12676
|
+
function RotateWaaSEndpointSecret200ResponseToJSON(json) {
|
|
12677
|
+
return RotateWaaSEndpointSecret200ResponseToJSONTyped(json, false);
|
|
12678
|
+
}
|
|
12679
|
+
function RotateWaaSEndpointSecret200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
12680
|
+
if (value == null) {
|
|
12681
|
+
return value;
|
|
12682
|
+
}
|
|
12683
|
+
return {
|
|
12684
|
+
"data": RotateWaaSEndpointSecret200ResponseDataToJSON(value["data"]),
|
|
12685
|
+
"meta": GetDomain200ResponseMetaToJSON(value["meta"])
|
|
12686
|
+
};
|
|
12687
|
+
}
|
|
12688
|
+
|
|
11670
12689
|
// src/src/models/SendBatchEmailRequest.ts
|
|
11671
12690
|
function instanceOfSendBatchEmailRequest(value) {
|
|
11672
12691
|
if (!("from" in value) || value["from"] === void 0) return false;
|
|
@@ -12835,71 +13854,176 @@ function SendSmsDataToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
12835
13854
|
};
|
|
12836
13855
|
}
|
|
12837
13856
|
|
|
12838
|
-
// src/src/models/SendSmsRequest.ts
|
|
12839
|
-
function instanceOfSendSmsRequest(value) {
|
|
12840
|
-
if (!("to" in value) || value["to"] === void 0) return false;
|
|
12841
|
-
if (!("body" in value) || value["body"] === void 0) return false;
|
|
13857
|
+
// src/src/models/SendSmsRequest.ts
|
|
13858
|
+
function instanceOfSendSmsRequest(value) {
|
|
13859
|
+
if (!("to" in value) || value["to"] === void 0) return false;
|
|
13860
|
+
if (!("body" in value) || value["body"] === void 0) return false;
|
|
13861
|
+
return true;
|
|
13862
|
+
}
|
|
13863
|
+
function SendSmsRequestFromJSON(json) {
|
|
13864
|
+
return SendSmsRequestFromJSONTyped(json, false);
|
|
13865
|
+
}
|
|
13866
|
+
function SendSmsRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
13867
|
+
if (json == null) {
|
|
13868
|
+
return json;
|
|
13869
|
+
}
|
|
13870
|
+
return {
|
|
13871
|
+
"to": json["to"],
|
|
13872
|
+
"from": json["from"] == null ? void 0 : json["from"],
|
|
13873
|
+
"body": json["body"],
|
|
13874
|
+
"subscriberId": json["subscriber_id"] == null ? void 0 : json["subscriber_id"],
|
|
13875
|
+
"scheduledAt": json["scheduled_at"] == null ? void 0 : new Date(json["scheduled_at"]),
|
|
13876
|
+
"metadata": json["metadata"] == null ? void 0 : json["metadata"]
|
|
13877
|
+
};
|
|
13878
|
+
}
|
|
13879
|
+
function SendSmsRequestToJSON(json) {
|
|
13880
|
+
return SendSmsRequestToJSONTyped(json, false);
|
|
13881
|
+
}
|
|
13882
|
+
function SendSmsRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
13883
|
+
if (value == null) {
|
|
13884
|
+
return value;
|
|
13885
|
+
}
|
|
13886
|
+
return {
|
|
13887
|
+
"to": value["to"],
|
|
13888
|
+
"from": value["from"],
|
|
13889
|
+
"body": value["body"],
|
|
13890
|
+
"subscriber_id": value["subscriberId"],
|
|
13891
|
+
"scheduled_at": value["scheduledAt"] == null ? void 0 : value["scheduledAt"].toISOString(),
|
|
13892
|
+
"metadata": value["metadata"]
|
|
13893
|
+
};
|
|
13894
|
+
}
|
|
13895
|
+
|
|
13896
|
+
// src/src/models/SendSmsResponse.ts
|
|
13897
|
+
function instanceOfSendSmsResponse(value) {
|
|
13898
|
+
return true;
|
|
13899
|
+
}
|
|
13900
|
+
function SendSmsResponseFromJSON(json) {
|
|
13901
|
+
return SendSmsResponseFromJSONTyped(json, false);
|
|
13902
|
+
}
|
|
13903
|
+
function SendSmsResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
13904
|
+
if (json == null) {
|
|
13905
|
+
return json;
|
|
13906
|
+
}
|
|
13907
|
+
return {
|
|
13908
|
+
"data": json["data"] == null ? void 0 : SendSmsDataFromJSON(json["data"]),
|
|
13909
|
+
"meta": json["meta"] == null ? void 0 : RequestMetaFromJSON(json["meta"])
|
|
13910
|
+
};
|
|
13911
|
+
}
|
|
13912
|
+
function SendSmsResponseToJSON(json) {
|
|
13913
|
+
return SendSmsResponseToJSONTyped(json, false);
|
|
13914
|
+
}
|
|
13915
|
+
function SendSmsResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
13916
|
+
if (value == null) {
|
|
13917
|
+
return value;
|
|
13918
|
+
}
|
|
13919
|
+
return {
|
|
13920
|
+
"data": SendSmsDataToJSON(value["data"]),
|
|
13921
|
+
"meta": RequestMetaToJSON(value["meta"])
|
|
13922
|
+
};
|
|
13923
|
+
}
|
|
13924
|
+
|
|
13925
|
+
// src/src/models/SendTemplateTestEmail202ResponseData.ts
|
|
13926
|
+
function instanceOfSendTemplateTestEmail202ResponseData(value) {
|
|
13927
|
+
if (!("message" in value) || value["message"] === void 0) return false;
|
|
13928
|
+
if (!("messageId" in value) || value["messageId"] === void 0) return false;
|
|
13929
|
+
if (!("to" in value) || value["to"] === void 0) return false;
|
|
13930
|
+
if (!("from" in value) || value["from"] === void 0) return false;
|
|
13931
|
+
if (!("subject" in value) || value["subject"] === void 0) return false;
|
|
13932
|
+
if (!("templateId" in value) || value["templateId"] === void 0) return false;
|
|
13933
|
+
if (!("templateName" in value) || value["templateName"] === void 0) return false;
|
|
13934
|
+
return true;
|
|
13935
|
+
}
|
|
13936
|
+
function SendTemplateTestEmail202ResponseDataFromJSON(json) {
|
|
13937
|
+
return SendTemplateTestEmail202ResponseDataFromJSONTyped(json, false);
|
|
13938
|
+
}
|
|
13939
|
+
function SendTemplateTestEmail202ResponseDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
13940
|
+
if (json == null) {
|
|
13941
|
+
return json;
|
|
13942
|
+
}
|
|
13943
|
+
return {
|
|
13944
|
+
"message": json["message"],
|
|
13945
|
+
"messageId": json["message_id"],
|
|
13946
|
+
"to": json["to"],
|
|
13947
|
+
"from": json["from"],
|
|
13948
|
+
"subject": json["subject"],
|
|
13949
|
+
"templateId": json["template_id"],
|
|
13950
|
+
"templateName": json["template_name"]
|
|
13951
|
+
};
|
|
13952
|
+
}
|
|
13953
|
+
function SendTemplateTestEmail202ResponseDataToJSON(json) {
|
|
13954
|
+
return SendTemplateTestEmail202ResponseDataToJSONTyped(json, false);
|
|
13955
|
+
}
|
|
13956
|
+
function SendTemplateTestEmail202ResponseDataToJSONTyped(value, ignoreDiscriminator = false) {
|
|
13957
|
+
if (value == null) {
|
|
13958
|
+
return value;
|
|
13959
|
+
}
|
|
13960
|
+
return {
|
|
13961
|
+
"message": value["message"],
|
|
13962
|
+
"message_id": value["messageId"],
|
|
13963
|
+
"to": value["to"],
|
|
13964
|
+
"from": value["from"],
|
|
13965
|
+
"subject": value["subject"],
|
|
13966
|
+
"template_id": value["templateId"],
|
|
13967
|
+
"template_name": value["templateName"]
|
|
13968
|
+
};
|
|
13969
|
+
}
|
|
13970
|
+
|
|
13971
|
+
// src/src/models/SendTemplateTestEmail202ResponseMeta.ts
|
|
13972
|
+
function instanceOfSendTemplateTestEmail202ResponseMeta(value) {
|
|
13973
|
+
if (!("requestId" in value) || value["requestId"] === void 0) return false;
|
|
12842
13974
|
return true;
|
|
12843
13975
|
}
|
|
12844
|
-
function
|
|
12845
|
-
return
|
|
13976
|
+
function SendTemplateTestEmail202ResponseMetaFromJSON(json) {
|
|
13977
|
+
return SendTemplateTestEmail202ResponseMetaFromJSONTyped(json, false);
|
|
12846
13978
|
}
|
|
12847
|
-
function
|
|
13979
|
+
function SendTemplateTestEmail202ResponseMetaFromJSONTyped(json, ignoreDiscriminator) {
|
|
12848
13980
|
if (json == null) {
|
|
12849
13981
|
return json;
|
|
12850
13982
|
}
|
|
12851
13983
|
return {
|
|
12852
|
-
"
|
|
12853
|
-
"from": json["from"] == null ? void 0 : json["from"],
|
|
12854
|
-
"body": json["body"],
|
|
12855
|
-
"subscriberId": json["subscriber_id"] == null ? void 0 : json["subscriber_id"],
|
|
12856
|
-
"scheduledAt": json["scheduled_at"] == null ? void 0 : new Date(json["scheduled_at"]),
|
|
12857
|
-
"metadata": json["metadata"] == null ? void 0 : json["metadata"]
|
|
13984
|
+
"requestId": json["request_id"]
|
|
12858
13985
|
};
|
|
12859
13986
|
}
|
|
12860
|
-
function
|
|
12861
|
-
return
|
|
13987
|
+
function SendTemplateTestEmail202ResponseMetaToJSON(json) {
|
|
13988
|
+
return SendTemplateTestEmail202ResponseMetaToJSONTyped(json, false);
|
|
12862
13989
|
}
|
|
12863
|
-
function
|
|
13990
|
+
function SendTemplateTestEmail202ResponseMetaToJSONTyped(value, ignoreDiscriminator = false) {
|
|
12864
13991
|
if (value == null) {
|
|
12865
13992
|
return value;
|
|
12866
13993
|
}
|
|
12867
13994
|
return {
|
|
12868
|
-
"
|
|
12869
|
-
"from": value["from"],
|
|
12870
|
-
"body": value["body"],
|
|
12871
|
-
"subscriber_id": value["subscriberId"],
|
|
12872
|
-
"scheduled_at": value["scheduledAt"] == null ? void 0 : value["scheduledAt"].toISOString(),
|
|
12873
|
-
"metadata": value["metadata"]
|
|
13995
|
+
"request_id": value["requestId"]
|
|
12874
13996
|
};
|
|
12875
13997
|
}
|
|
12876
13998
|
|
|
12877
|
-
// src/src/models/
|
|
12878
|
-
function
|
|
13999
|
+
// src/src/models/SendTemplateTestEmail202Response.ts
|
|
14000
|
+
function instanceOfSendTemplateTestEmail202Response(value) {
|
|
14001
|
+
if (!("data" in value) || value["data"] === void 0) return false;
|
|
14002
|
+
if (!("meta" in value) || value["meta"] === void 0) return false;
|
|
12879
14003
|
return true;
|
|
12880
14004
|
}
|
|
12881
|
-
function
|
|
12882
|
-
return
|
|
14005
|
+
function SendTemplateTestEmail202ResponseFromJSON(json) {
|
|
14006
|
+
return SendTemplateTestEmail202ResponseFromJSONTyped(json, false);
|
|
12883
14007
|
}
|
|
12884
|
-
function
|
|
14008
|
+
function SendTemplateTestEmail202ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
12885
14009
|
if (json == null) {
|
|
12886
14010
|
return json;
|
|
12887
14011
|
}
|
|
12888
14012
|
return {
|
|
12889
|
-
"data":
|
|
12890
|
-
"meta":
|
|
14013
|
+
"data": SendTemplateTestEmail202ResponseDataFromJSON(json["data"]),
|
|
14014
|
+
"meta": SendTemplateTestEmail202ResponseMetaFromJSON(json["meta"])
|
|
12891
14015
|
};
|
|
12892
14016
|
}
|
|
12893
|
-
function
|
|
12894
|
-
return
|
|
14017
|
+
function SendTemplateTestEmail202ResponseToJSON(json) {
|
|
14018
|
+
return SendTemplateTestEmail202ResponseToJSONTyped(json, false);
|
|
12895
14019
|
}
|
|
12896
|
-
function
|
|
14020
|
+
function SendTemplateTestEmail202ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
12897
14021
|
if (value == null) {
|
|
12898
14022
|
return value;
|
|
12899
14023
|
}
|
|
12900
14024
|
return {
|
|
12901
|
-
"data":
|
|
12902
|
-
"meta":
|
|
14025
|
+
"data": SendTemplateTestEmail202ResponseDataToJSON(value["data"]),
|
|
14026
|
+
"meta": SendTemplateTestEmail202ResponseMetaToJSON(value["meta"])
|
|
12903
14027
|
};
|
|
12904
14028
|
}
|
|
12905
14029
|
|
|
@@ -13172,6 +14296,62 @@ function SetDomainInboundRequestToJSONTyped(value, ignoreDiscriminator = false)
|
|
|
13172
14296
|
};
|
|
13173
14297
|
}
|
|
13174
14298
|
|
|
14299
|
+
// src/src/models/SetEndUserClaims200ResponseData.ts
|
|
14300
|
+
function instanceOfSetEndUserClaims200ResponseData(value) {
|
|
14301
|
+
return true;
|
|
14302
|
+
}
|
|
14303
|
+
function SetEndUserClaims200ResponseDataFromJSON(json) {
|
|
14304
|
+
return SetEndUserClaims200ResponseDataFromJSONTyped(json, false);
|
|
14305
|
+
}
|
|
14306
|
+
function SetEndUserClaims200ResponseDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
14307
|
+
if (json == null) {
|
|
14308
|
+
return json;
|
|
14309
|
+
}
|
|
14310
|
+
return {
|
|
14311
|
+
"claims": json["claims"] == null ? void 0 : json["claims"],
|
|
14312
|
+
"claimsVersion": json["claims_version"] == null ? void 0 : json["claims_version"]
|
|
14313
|
+
};
|
|
14314
|
+
}
|
|
14315
|
+
function SetEndUserClaims200ResponseDataToJSON(json) {
|
|
14316
|
+
return SetEndUserClaims200ResponseDataToJSONTyped(json, false);
|
|
14317
|
+
}
|
|
14318
|
+
function SetEndUserClaims200ResponseDataToJSONTyped(value, ignoreDiscriminator = false) {
|
|
14319
|
+
if (value == null) {
|
|
14320
|
+
return value;
|
|
14321
|
+
}
|
|
14322
|
+
return {
|
|
14323
|
+
"claims": value["claims"],
|
|
14324
|
+
"claims_version": value["claimsVersion"]
|
|
14325
|
+
};
|
|
14326
|
+
}
|
|
14327
|
+
|
|
14328
|
+
// src/src/models/SetEndUserClaims200Response.ts
|
|
14329
|
+
function instanceOfSetEndUserClaims200Response(value) {
|
|
14330
|
+
return true;
|
|
14331
|
+
}
|
|
14332
|
+
function SetEndUserClaims200ResponseFromJSON(json) {
|
|
14333
|
+
return SetEndUserClaims200ResponseFromJSONTyped(json, false);
|
|
14334
|
+
}
|
|
14335
|
+
function SetEndUserClaims200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
14336
|
+
if (json == null) {
|
|
14337
|
+
return json;
|
|
14338
|
+
}
|
|
14339
|
+
return {
|
|
14340
|
+
"data": json["data"] == null ? void 0 : SetEndUserClaims200ResponseDataFromJSON(json["data"])
|
|
14341
|
+
};
|
|
14342
|
+
}
|
|
14343
|
+
function SetEndUserClaims200ResponseToJSON(json) {
|
|
14344
|
+
return SetEndUserClaims200ResponseToJSONTyped(json, false);
|
|
14345
|
+
}
|
|
14346
|
+
function SetEndUserClaims200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
14347
|
+
if (value == null) {
|
|
14348
|
+
return value;
|
|
14349
|
+
}
|
|
14350
|
+
return {
|
|
14351
|
+
"data": SetEndUserClaims200ResponseDataToJSON(value["data"])
|
|
14352
|
+
};
|
|
14353
|
+
}
|
|
14354
|
+
|
|
13175
14355
|
// src/src/models/SetEndUserClaimsRequest.ts
|
|
13176
14356
|
function instanceOfSetEndUserClaimsRequest(value) {
|
|
13177
14357
|
return true;
|
|
@@ -13846,7 +15026,7 @@ function SmsListResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
13846
15026
|
}
|
|
13847
15027
|
return {
|
|
13848
15028
|
"data": json["data"] == null ? void 0 : json["data"].map(SmsMessageFromJSON),
|
|
13849
|
-
"meta": json["meta"] == null ? void 0 :
|
|
15029
|
+
"meta": json["meta"] == null ? void 0 : ListEndUsers200ResponseMetaFromJSON(json["meta"])
|
|
13850
15030
|
};
|
|
13851
15031
|
}
|
|
13852
15032
|
function SmsListResponseToJSON(json) {
|
|
@@ -13858,7 +15038,7 @@ function SmsListResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
13858
15038
|
}
|
|
13859
15039
|
return {
|
|
13860
15040
|
"data": value["data"] == null ? void 0 : value["data"].map(SmsMessageToJSON),
|
|
13861
|
-
"meta":
|
|
15041
|
+
"meta": ListEndUsers200ResponseMetaToJSON(value["meta"])
|
|
13862
15042
|
};
|
|
13863
15043
|
}
|
|
13864
15044
|
|
|
@@ -14825,33 +16005,6 @@ function TriggerWorkflowRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
14825
16005
|
};
|
|
14826
16006
|
}
|
|
14827
16007
|
|
|
14828
|
-
// src/src/models/UnreadCountData.ts
|
|
14829
|
-
function instanceOfUnreadCountData(value) {
|
|
14830
|
-
return true;
|
|
14831
|
-
}
|
|
14832
|
-
function UnreadCountDataFromJSON(json) {
|
|
14833
|
-
return UnreadCountDataFromJSONTyped(json, false);
|
|
14834
|
-
}
|
|
14835
|
-
function UnreadCountDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
14836
|
-
if (json == null) {
|
|
14837
|
-
return json;
|
|
14838
|
-
}
|
|
14839
|
-
return {
|
|
14840
|
-
"unreadCount": json["unread_count"] == null ? void 0 : json["unread_count"]
|
|
14841
|
-
};
|
|
14842
|
-
}
|
|
14843
|
-
function UnreadCountDataToJSON(json) {
|
|
14844
|
-
return UnreadCountDataToJSONTyped(json, false);
|
|
14845
|
-
}
|
|
14846
|
-
function UnreadCountDataToJSONTyped(value, ignoreDiscriminator = false) {
|
|
14847
|
-
if (value == null) {
|
|
14848
|
-
return value;
|
|
14849
|
-
}
|
|
14850
|
-
return {
|
|
14851
|
-
"unread_count": value["unreadCount"]
|
|
14852
|
-
};
|
|
14853
|
-
}
|
|
14854
|
-
|
|
14855
16008
|
// src/src/models/UnreadCountResponse.ts
|
|
14856
16009
|
function instanceOfUnreadCountResponse(value) {
|
|
14857
16010
|
return true;
|
|
@@ -15175,6 +16328,101 @@ function UpdateOrganizationRequestToJSONTyped(value, ignoreDiscriminator = false
|
|
|
15175
16328
|
};
|
|
15176
16329
|
}
|
|
15177
16330
|
|
|
16331
|
+
// src/src/models/UpdateSubscriberPreferences200ResponseDataPreferencesInner.ts
|
|
16332
|
+
var UpdateSubscriberPreferences200ResponseDataPreferencesInnerChannelEnum = {
|
|
16333
|
+
EMAIL: "email",
|
|
16334
|
+
PUSH: "push",
|
|
16335
|
+
SMS: "sms",
|
|
16336
|
+
IN_APP: "in_app"
|
|
16337
|
+
};
|
|
16338
|
+
function instanceOfUpdateSubscriberPreferences200ResponseDataPreferencesInner(value) {
|
|
16339
|
+
return true;
|
|
16340
|
+
}
|
|
16341
|
+
function UpdateSubscriberPreferences200ResponseDataPreferencesInnerFromJSON(json) {
|
|
16342
|
+
return UpdateSubscriberPreferences200ResponseDataPreferencesInnerFromJSONTyped(json, false);
|
|
16343
|
+
}
|
|
16344
|
+
function UpdateSubscriberPreferences200ResponseDataPreferencesInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
16345
|
+
if (json == null) {
|
|
16346
|
+
return json;
|
|
16347
|
+
}
|
|
16348
|
+
return {
|
|
16349
|
+
"categoryId": json["category_id"] == null ? void 0 : json["category_id"],
|
|
16350
|
+
"channel": json["channel"] == null ? void 0 : json["channel"],
|
|
16351
|
+
"enabled": json["enabled"] == null ? void 0 : json["enabled"],
|
|
16352
|
+
"source": json["source"] == null ? void 0 : json["source"]
|
|
16353
|
+
};
|
|
16354
|
+
}
|
|
16355
|
+
function UpdateSubscriberPreferences200ResponseDataPreferencesInnerToJSON(json) {
|
|
16356
|
+
return UpdateSubscriberPreferences200ResponseDataPreferencesInnerToJSONTyped(json, false);
|
|
16357
|
+
}
|
|
16358
|
+
function UpdateSubscriberPreferences200ResponseDataPreferencesInnerToJSONTyped(value, ignoreDiscriminator = false) {
|
|
16359
|
+
if (value == null) {
|
|
16360
|
+
return value;
|
|
16361
|
+
}
|
|
16362
|
+
return {
|
|
16363
|
+
"category_id": value["categoryId"],
|
|
16364
|
+
"channel": value["channel"],
|
|
16365
|
+
"enabled": value["enabled"],
|
|
16366
|
+
"source": value["source"]
|
|
16367
|
+
};
|
|
16368
|
+
}
|
|
16369
|
+
|
|
16370
|
+
// src/src/models/UpdateSubscriberPreferences200ResponseData.ts
|
|
16371
|
+
function instanceOfUpdateSubscriberPreferences200ResponseData(value) {
|
|
16372
|
+
return true;
|
|
16373
|
+
}
|
|
16374
|
+
function UpdateSubscriberPreferences200ResponseDataFromJSON(json) {
|
|
16375
|
+
return UpdateSubscriberPreferences200ResponseDataFromJSONTyped(json, false);
|
|
16376
|
+
}
|
|
16377
|
+
function UpdateSubscriberPreferences200ResponseDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
16378
|
+
if (json == null) {
|
|
16379
|
+
return json;
|
|
16380
|
+
}
|
|
16381
|
+
return {
|
|
16382
|
+
"updated": json["updated"] == null ? void 0 : json["updated"],
|
|
16383
|
+
"preferences": json["preferences"] == null ? void 0 : json["preferences"].map(UpdateSubscriberPreferences200ResponseDataPreferencesInnerFromJSON)
|
|
16384
|
+
};
|
|
16385
|
+
}
|
|
16386
|
+
function UpdateSubscriberPreferences200ResponseDataToJSON(json) {
|
|
16387
|
+
return UpdateSubscriberPreferences200ResponseDataToJSONTyped(json, false);
|
|
16388
|
+
}
|
|
16389
|
+
function UpdateSubscriberPreferences200ResponseDataToJSONTyped(value, ignoreDiscriminator = false) {
|
|
16390
|
+
if (value == null) {
|
|
16391
|
+
return value;
|
|
16392
|
+
}
|
|
16393
|
+
return {
|
|
16394
|
+
"updated": value["updated"],
|
|
16395
|
+
"preferences": value["preferences"] == null ? void 0 : value["preferences"].map(UpdateSubscriberPreferences200ResponseDataPreferencesInnerToJSON)
|
|
16396
|
+
};
|
|
16397
|
+
}
|
|
16398
|
+
|
|
16399
|
+
// src/src/models/UpdateSubscriberPreferences200Response.ts
|
|
16400
|
+
function instanceOfUpdateSubscriberPreferences200Response(value) {
|
|
16401
|
+
return true;
|
|
16402
|
+
}
|
|
16403
|
+
function UpdateSubscriberPreferences200ResponseFromJSON(json) {
|
|
16404
|
+
return UpdateSubscriberPreferences200ResponseFromJSONTyped(json, false);
|
|
16405
|
+
}
|
|
16406
|
+
function UpdateSubscriberPreferences200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
16407
|
+
if (json == null) {
|
|
16408
|
+
return json;
|
|
16409
|
+
}
|
|
16410
|
+
return {
|
|
16411
|
+
"data": json["data"] == null ? void 0 : UpdateSubscriberPreferences200ResponseDataFromJSON(json["data"])
|
|
16412
|
+
};
|
|
16413
|
+
}
|
|
16414
|
+
function UpdateSubscriberPreferences200ResponseToJSON(json) {
|
|
16415
|
+
return UpdateSubscriberPreferences200ResponseToJSONTyped(json, false);
|
|
16416
|
+
}
|
|
16417
|
+
function UpdateSubscriberPreferences200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
16418
|
+
if (value == null) {
|
|
16419
|
+
return value;
|
|
16420
|
+
}
|
|
16421
|
+
return {
|
|
16422
|
+
"data": UpdateSubscriberPreferences200ResponseDataToJSON(value["data"])
|
|
16423
|
+
};
|
|
16424
|
+
}
|
|
16425
|
+
|
|
15178
16426
|
// src/src/models/UpdateSubscriberPreferencesRequestPreferencesInner.ts
|
|
15179
16427
|
var UpdateSubscriberPreferencesRequestPreferencesInnerChannelEnum = {
|
|
15180
16428
|
EMAIL: "email",
|
|
@@ -15387,6 +16635,35 @@ function UpdateWaaSApplicationRequestToJSONTyped(value, ignoreDiscriminator = fa
|
|
|
15387
16635
|
};
|
|
15388
16636
|
}
|
|
15389
16637
|
|
|
16638
|
+
// src/src/models/UpdateWaaSEndpoint200Response.ts
|
|
16639
|
+
function instanceOfUpdateWaaSEndpoint200Response(value) {
|
|
16640
|
+
return true;
|
|
16641
|
+
}
|
|
16642
|
+
function UpdateWaaSEndpoint200ResponseFromJSON(json) {
|
|
16643
|
+
return UpdateWaaSEndpoint200ResponseFromJSONTyped(json, false);
|
|
16644
|
+
}
|
|
16645
|
+
function UpdateWaaSEndpoint200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
16646
|
+
if (json == null) {
|
|
16647
|
+
return json;
|
|
16648
|
+
}
|
|
16649
|
+
return {
|
|
16650
|
+
"data": json["data"] == null ? void 0 : WaaSEndpointFromJSON(json["data"]),
|
|
16651
|
+
"meta": json["meta"] == null ? void 0 : GetDomain200ResponseMetaFromJSON(json["meta"])
|
|
16652
|
+
};
|
|
16653
|
+
}
|
|
16654
|
+
function UpdateWaaSEndpoint200ResponseToJSON(json) {
|
|
16655
|
+
return UpdateWaaSEndpoint200ResponseToJSONTyped(json, false);
|
|
16656
|
+
}
|
|
16657
|
+
function UpdateWaaSEndpoint200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
16658
|
+
if (value == null) {
|
|
16659
|
+
return value;
|
|
16660
|
+
}
|
|
16661
|
+
return {
|
|
16662
|
+
"data": WaaSEndpointToJSON(value["data"]),
|
|
16663
|
+
"meta": GetDomain200ResponseMetaToJSON(value["meta"])
|
|
16664
|
+
};
|
|
16665
|
+
}
|
|
16666
|
+
|
|
15390
16667
|
// src/src/models/UpdateWaaSEndpointRequest.ts
|
|
15391
16668
|
var UpdateWaaSEndpointRequestStatusEnum = {
|
|
15392
16669
|
ACTIVE: "active",
|
|
@@ -15423,6 +16700,35 @@ function UpdateWaaSEndpointRequestToJSONTyped(value, ignoreDiscriminator = false
|
|
|
15423
16700
|
};
|
|
15424
16701
|
}
|
|
15425
16702
|
|
|
16703
|
+
// src/src/models/UpdateWaaSEventType200Response.ts
|
|
16704
|
+
function instanceOfUpdateWaaSEventType200Response(value) {
|
|
16705
|
+
return true;
|
|
16706
|
+
}
|
|
16707
|
+
function UpdateWaaSEventType200ResponseFromJSON(json) {
|
|
16708
|
+
return UpdateWaaSEventType200ResponseFromJSONTyped(json, false);
|
|
16709
|
+
}
|
|
16710
|
+
function UpdateWaaSEventType200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
16711
|
+
if (json == null) {
|
|
16712
|
+
return json;
|
|
16713
|
+
}
|
|
16714
|
+
return {
|
|
16715
|
+
"data": json["data"] == null ? void 0 : WaaSEventTypeFromJSON(json["data"]),
|
|
16716
|
+
"meta": json["meta"] == null ? void 0 : GetDomain200ResponseMetaFromJSON(json["meta"])
|
|
16717
|
+
};
|
|
16718
|
+
}
|
|
16719
|
+
function UpdateWaaSEventType200ResponseToJSON(json) {
|
|
16720
|
+
return UpdateWaaSEventType200ResponseToJSONTyped(json, false);
|
|
16721
|
+
}
|
|
16722
|
+
function UpdateWaaSEventType200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
16723
|
+
if (value == null) {
|
|
16724
|
+
return value;
|
|
16725
|
+
}
|
|
16726
|
+
return {
|
|
16727
|
+
"data": WaaSEventTypeToJSON(value["data"]),
|
|
16728
|
+
"meta": GetDomain200ResponseMetaToJSON(value["meta"])
|
|
16729
|
+
};
|
|
16730
|
+
}
|
|
16731
|
+
|
|
15426
16732
|
// src/src/models/UpdateWaaSEventTypeRequest.ts
|
|
15427
16733
|
function instanceOfUpdateWaaSEventTypeRequest(value) {
|
|
15428
16734
|
return true;
|
|
@@ -20335,14 +21641,15 @@ var AuthUserDirectoryApi = class extends BaseAPI {
|
|
|
20335
21641
|
headers: headerParameters,
|
|
20336
21642
|
query: queryParameters
|
|
20337
21643
|
}, initOverrides);
|
|
20338
|
-
return new
|
|
21644
|
+
return new JSONApiResponse(response, (jsonValue) => GetEndUserById200ResponseFromJSON(jsonValue));
|
|
20339
21645
|
}
|
|
20340
21646
|
/**
|
|
20341
21647
|
* Secret-key-scoped lookup of a single end user by email address within the authenticating application. Scoped to the application — never resolves a user from another application. Does not return the password hash.
|
|
20342
21648
|
* Look up an end user by email (server-side admin)
|
|
20343
21649
|
*/
|
|
20344
21650
|
async getEndUserByEmail(email, initOverrides) {
|
|
20345
|
-
await this.getEndUserByEmailRaw({ email }, initOverrides);
|
|
21651
|
+
const response = await this.getEndUserByEmailRaw({ email }, initOverrides);
|
|
21652
|
+
return await response.value();
|
|
20346
21653
|
}
|
|
20347
21654
|
/**
|
|
20348
21655
|
* Secret-key-scoped fetch of a single end user by id within the authenticating application. Scoped to the application — a caller can never read a user belonging to another application.
|
|
@@ -20369,14 +21676,15 @@ var AuthUserDirectoryApi = class extends BaseAPI {
|
|
|
20369
21676
|
headers: headerParameters,
|
|
20370
21677
|
query: queryParameters
|
|
20371
21678
|
}, initOverrides);
|
|
20372
|
-
return new
|
|
21679
|
+
return new JSONApiResponse(response, (jsonValue) => GetEndUserById200ResponseFromJSON(jsonValue));
|
|
20373
21680
|
}
|
|
20374
21681
|
/**
|
|
20375
21682
|
* Secret-key-scoped fetch of a single end user by id within the authenticating application. Scoped to the application — a caller can never read a user belonging to another application.
|
|
20376
21683
|
* Get an end user by id (server-side admin)
|
|
20377
21684
|
*/
|
|
20378
21685
|
async getEndUserById(userId, initOverrides) {
|
|
20379
|
-
await this.getEndUserByIdRaw({ userId }, initOverrides);
|
|
21686
|
+
const response = await this.getEndUserByIdRaw({ userId }, initOverrides);
|
|
21687
|
+
return await response.value();
|
|
20380
21688
|
}
|
|
20381
21689
|
/**
|
|
20382
21690
|
* Secret-key-scoped read of the authoritative custom_claims stored for an end user. These are the TRUSTED claims embedded into the user\'s JWTs on login/refresh — use them (not the client-writable `metadata` field) for authorization decisions. Returns an empty object when none are set.
|
|
@@ -20403,14 +21711,15 @@ var AuthUserDirectoryApi = class extends BaseAPI {
|
|
|
20403
21711
|
headers: headerParameters,
|
|
20404
21712
|
query: queryParameters
|
|
20405
21713
|
}, initOverrides);
|
|
20406
|
-
return new
|
|
21714
|
+
return new JSONApiResponse(response, (jsonValue) => GetEndUserClaims200ResponseFromJSON(jsonValue));
|
|
20407
21715
|
}
|
|
20408
21716
|
/**
|
|
20409
21717
|
* Secret-key-scoped read of the authoritative custom_claims stored for an end user. These are the TRUSTED claims embedded into the user\'s JWTs on login/refresh — use them (not the client-writable `metadata` field) for authorization decisions. Returns an empty object when none are set.
|
|
20410
21718
|
* Get an end user\'s stored custom claims (server-side admin)
|
|
20411
21719
|
*/
|
|
20412
21720
|
async getEndUserClaims(userId, initOverrides) {
|
|
20413
|
-
await this.getEndUserClaimsRaw({ userId }, initOverrides);
|
|
21721
|
+
const response = await this.getEndUserClaimsRaw({ userId }, initOverrides);
|
|
21722
|
+
return await response.value();
|
|
20414
21723
|
}
|
|
20415
21724
|
/**
|
|
20416
21725
|
* Secret-key-scoped pre-provisioning for an end user. Creates a passwordless user in the authenticating application (idempotent on email — an existing, non-deleted user is reused, not duplicated) and, when `send_link` is set, sends a first-login link so the user can set up their account without self-registration. - `send_link: \"magic\"` sends a magic-link sign-in email. - `send_link: \"password_reset\"` sends a set-password email. - `send_link: \"none\"` (default) creates the user with no email. A `redirect_url` is required when `send_link` is \"magic\" or \"password_reset\"; it must match the application\'s redirect_uris allowlist (custom schemes such as yourapp://path are permitted).
|
|
@@ -20439,14 +21748,15 @@ var AuthUserDirectoryApi = class extends BaseAPI {
|
|
|
20439
21748
|
query: queryParameters,
|
|
20440
21749
|
body: InviteEndUserRequestToJSON(requestParameters["inviteEndUserRequest"])
|
|
20441
21750
|
}, initOverrides);
|
|
20442
|
-
return new
|
|
21751
|
+
return new JSONApiResponse(response, (jsonValue) => InviteEndUser200ResponseFromJSON(jsonValue));
|
|
20443
21752
|
}
|
|
20444
21753
|
/**
|
|
20445
21754
|
* Secret-key-scoped pre-provisioning for an end user. Creates a passwordless user in the authenticating application (idempotent on email — an existing, non-deleted user is reused, not duplicated) and, when `send_link` is set, sends a first-login link so the user can set up their account without self-registration. - `send_link: \"magic\"` sends a magic-link sign-in email. - `send_link: \"password_reset\"` sends a set-password email. - `send_link: \"none\"` (default) creates the user with no email. A `redirect_url` is required when `send_link` is \"magic\" or \"password_reset\"; it must match the application\'s redirect_uris allowlist (custom schemes such as yourapp://path are permitted).
|
|
20446
21755
|
* Pre-provision (invite) an end user (server-side admin)
|
|
20447
21756
|
*/
|
|
20448
21757
|
async inviteEndUser(inviteEndUserRequest, initOverrides) {
|
|
20449
|
-
await this.inviteEndUserRaw({ inviteEndUserRequest }, initOverrides);
|
|
21758
|
+
const response = await this.inviteEndUserRaw({ inviteEndUserRequest }, initOverrides);
|
|
21759
|
+
return await response.value();
|
|
20450
21760
|
}
|
|
20451
21761
|
/**
|
|
20452
21762
|
* Secret-key-scoped directory listing of end users in the authenticating application. Supports substring search over email, name, and phone, an optional environment filter (test/live), and pagination. Scoped to the application — never returns users from another application.
|
|
@@ -20479,17 +21789,18 @@ var AuthUserDirectoryApi = class extends BaseAPI {
|
|
|
20479
21789
|
headers: headerParameters,
|
|
20480
21790
|
query: queryParameters
|
|
20481
21791
|
}, initOverrides);
|
|
20482
|
-
return new
|
|
21792
|
+
return new JSONApiResponse(response, (jsonValue) => ListEndUsers200ResponseFromJSON(jsonValue));
|
|
20483
21793
|
}
|
|
20484
21794
|
/**
|
|
20485
21795
|
* Secret-key-scoped directory listing of end users in the authenticating application. Supports substring search over email, name, and phone, an optional environment filter (test/live), and pagination. Scoped to the application — never returns users from another application.
|
|
20486
21796
|
* List / search end users (server-side admin)
|
|
20487
21797
|
*/
|
|
20488
21798
|
async listEndUsers(page, perPage, search, environment, initOverrides) {
|
|
20489
|
-
await this.listEndUsersRaw({ page, perPage, search, environment }, initOverrides);
|
|
21799
|
+
const response = await this.listEndUsersRaw({ page, perPage, search, environment }, initOverrides);
|
|
21800
|
+
return await response.value();
|
|
20490
21801
|
}
|
|
20491
21802
|
/**
|
|
20492
|
-
* Secret-key-scoped upsert of the authoritative custom_claims for an end user. Set server-side only — clients cannot write these, which is what makes them safe for authorization (e.g. an account-type/admin flag). Claims are embedded into the user\'s JWTs on the next login/refresh. Max 4KB; reserved JWT/Zyphr claim names are rejected.
|
|
21803
|
+
* Secret-key-scoped upsert of the authoritative custom_claims for an end user. Set server-side only — clients cannot write these, which is what makes them safe for authorization (e.g. an account-type/admin flag). Claims are embedded into the user\'s JWTs on the next login/refresh. Max 4KB; reserved JWT/Zyphr claim names are rejected. Each write bumps a monotonic `claims_version` (returned in the response). The change applies seamlessly on the user\'s next login or token refresh — a token carrying an older `claims_version` is rejected on verification and the client silently re-mints with the new claims, without a forced logout. For a hard cut-off (log the user out of all sessions immediately), call POST /auth/sessions/revoke-all after updating claims.
|
|
20493
21804
|
* Set an end user\'s stored custom claims (server-side admin)
|
|
20494
21805
|
*/
|
|
20495
21806
|
async setEndUserClaimsRaw(requestParameters, initOverrides) {
|
|
@@ -20521,14 +21832,15 @@ var AuthUserDirectoryApi = class extends BaseAPI {
|
|
|
20521
21832
|
query: queryParameters,
|
|
20522
21833
|
body: SetEndUserClaimsRequestToJSON(requestParameters["setEndUserClaimsRequest"])
|
|
20523
21834
|
}, initOverrides);
|
|
20524
|
-
return new
|
|
21835
|
+
return new JSONApiResponse(response, (jsonValue) => SetEndUserClaims200ResponseFromJSON(jsonValue));
|
|
20525
21836
|
}
|
|
20526
21837
|
/**
|
|
20527
|
-
* Secret-key-scoped upsert of the authoritative custom_claims for an end user. Set server-side only — clients cannot write these, which is what makes them safe for authorization (e.g. an account-type/admin flag). Claims are embedded into the user\'s JWTs on the next login/refresh. Max 4KB; reserved JWT/Zyphr claim names are rejected.
|
|
21838
|
+
* Secret-key-scoped upsert of the authoritative custom_claims for an end user. Set server-side only — clients cannot write these, which is what makes them safe for authorization (e.g. an account-type/admin flag). Claims are embedded into the user\'s JWTs on the next login/refresh. Max 4KB; reserved JWT/Zyphr claim names are rejected. Each write bumps a monotonic `claims_version` (returned in the response). The change applies seamlessly on the user\'s next login or token refresh — a token carrying an older `claims_version` is rejected on verification and the client silently re-mints with the new claims, without a forced logout. For a hard cut-off (log the user out of all sessions immediately), call POST /auth/sessions/revoke-all after updating claims.
|
|
20528
21839
|
* Set an end user\'s stored custom claims (server-side admin)
|
|
20529
21840
|
*/
|
|
20530
21841
|
async setEndUserClaims(userId, setEndUserClaimsRequest, initOverrides) {
|
|
20531
|
-
await this.setEndUserClaimsRaw({ userId, setEndUserClaimsRequest }, initOverrides);
|
|
21842
|
+
const response = await this.setEndUserClaimsRaw({ userId, setEndUserClaimsRequest }, initOverrides);
|
|
21843
|
+
return await response.value();
|
|
20532
21844
|
}
|
|
20533
21845
|
/**
|
|
20534
21846
|
* Secret-key-scoped update of an arbitrary end user in the authenticating application. Updatable fields: email, name, avatar_url, metadata, status. Scoped to the application — a caller can never modify a user belonging to another application.
|
|
@@ -20563,14 +21875,15 @@ var AuthUserDirectoryApi = class extends BaseAPI {
|
|
|
20563
21875
|
query: queryParameters,
|
|
20564
21876
|
body: UpdateEndUserByApplicationRequestToJSON(requestParameters["updateEndUserByApplicationRequest"])
|
|
20565
21877
|
}, initOverrides);
|
|
20566
|
-
return new
|
|
21878
|
+
return new JSONApiResponse(response, (jsonValue) => GetEndUserById200ResponseFromJSON(jsonValue));
|
|
20567
21879
|
}
|
|
20568
21880
|
/**
|
|
20569
21881
|
* Secret-key-scoped update of an arbitrary end user in the authenticating application. Updatable fields: email, name, avatar_url, metadata, status. Scoped to the application — a caller can never modify a user belonging to another application.
|
|
20570
21882
|
* Update an end user (server-side admin)
|
|
20571
21883
|
*/
|
|
20572
21884
|
async updateEndUserByApplication(userId, updateEndUserByApplicationRequest, initOverrides) {
|
|
20573
|
-
await this.updateEndUserByApplicationRaw({ userId, updateEndUserByApplicationRequest }, initOverrides);
|
|
21885
|
+
const response = await this.updateEndUserByApplicationRaw({ userId, updateEndUserByApplicationRequest }, initOverrides);
|
|
21886
|
+
return await response.value();
|
|
20574
21887
|
}
|
|
20575
21888
|
};
|
|
20576
21889
|
var ListEndUsersEnvironmentEnum = {
|
|
@@ -21386,14 +22699,15 @@ var DomainsApi = class extends BaseAPI {
|
|
|
21386
22699
|
query: queryParameters,
|
|
21387
22700
|
body: SetDomainInboundRequestToJSON(requestParameters["setDomainInboundRequest"])
|
|
21388
22701
|
}, initOverrides);
|
|
21389
|
-
return new
|
|
22702
|
+
return new JSONApiResponse(response, (jsonValue) => GetDomain200ResponseFromJSON(jsonValue));
|
|
21390
22703
|
}
|
|
21391
22704
|
/**
|
|
21392
22705
|
* Toggle email receiving for a domain. When enabled, the domain\'s DNS records gain an MX record on the `inbound.` subdomain that the tenant must publish. Requires a plan with inbound email (Starter+).
|
|
21393
22706
|
* Enable or disable inbound email for a domain
|
|
21394
22707
|
*/
|
|
21395
22708
|
async setDomainInbound(id, setDomainInboundRequest, initOverrides) {
|
|
21396
|
-
await this.setDomainInboundRaw({ id, setDomainInboundRequest }, initOverrides);
|
|
22709
|
+
const response = await this.setDomainInboundRaw({ id, setDomainInboundRequest }, initOverrides);
|
|
22710
|
+
return await response.value();
|
|
21397
22711
|
}
|
|
21398
22712
|
/**
|
|
21399
22713
|
* Queue an asynchronous DNS verification check. Returns immediately with a `job_id`. Poll `GET /v1/domains/{id}/verification-status` (or the higher-level `GET /v1/domains/{id}`) for the result, or subscribe to the `domain.verified` webhook event when sc-5444 ships. Returns 409 if a verification is already in progress for this domain (within the last 2 minutes).
|
|
@@ -21927,13 +23241,14 @@ var InboxApi = class extends BaseAPI {
|
|
|
21927
23241
|
headers: headerParameters,
|
|
21928
23242
|
query: queryParameters
|
|
21929
23243
|
}, initOverrides);
|
|
21930
|
-
return new
|
|
23244
|
+
return new JSONApiResponse(response, (jsonValue) => GetSubscriberNotification200ResponseFromJSON(jsonValue));
|
|
21931
23245
|
}
|
|
21932
23246
|
/**
|
|
21933
23247
|
* Archive a notification
|
|
21934
23248
|
*/
|
|
21935
23249
|
async archiveSubscriberNotification(id, initOverrides) {
|
|
21936
|
-
await this.archiveSubscriberNotificationRaw({ id }, initOverrides);
|
|
23250
|
+
const response = await this.archiveSubscriberNotificationRaw({ id }, initOverrides);
|
|
23251
|
+
return await response.value();
|
|
21937
23252
|
}
|
|
21938
23253
|
/**
|
|
21939
23254
|
* Permanently delete an in-app notification.
|
|
@@ -22006,7 +23321,7 @@ var InboxApi = class extends BaseAPI {
|
|
|
22006
23321
|
await this.deleteSubscriberNotificationRaw({ id }, initOverrides);
|
|
22007
23322
|
}
|
|
22008
23323
|
/**
|
|
22009
|
-
* Generate a JWT token for client-side inbox authentication. This is a server-side call that requires your API key. Pass the returned token to `@zyphr/inbox-react`\'s `<ZyphrProvider subscriberToken=\"...\">` or use it as `Authorization: Bearer <token>` for client-side inbox API calls and WebSocket connections. The token expires in 7 days.
|
|
23324
|
+
* Generate a JWT token for client-side inbox authentication. This is a server-side call that requires your API key. Pass the returned token to `@zyphr-dev/inbox-react`\'s `<ZyphrProvider subscriberToken=\"...\">` or use it as `Authorization: Bearer <token>` for client-side inbox API calls and WebSocket connections. The token expires in 7 days.
|
|
22010
23325
|
* Generate a subscriber token
|
|
22011
23326
|
*/
|
|
22012
23327
|
async generateSubscriberTokenRaw(requestParameters, initOverrides) {
|
|
@@ -22032,7 +23347,7 @@ var InboxApi = class extends BaseAPI {
|
|
|
22032
23347
|
return new JSONApiResponse(response, (jsonValue) => GenerateSubscriberToken200ResponseFromJSON(jsonValue));
|
|
22033
23348
|
}
|
|
22034
23349
|
/**
|
|
22035
|
-
* Generate a JWT token for client-side inbox authentication. This is a server-side call that requires your API key. Pass the returned token to `@zyphr/inbox-react`\'s `<ZyphrProvider subscriberToken=\"...\">` or use it as `Authorization: Bearer <token>` for client-side inbox API calls and WebSocket connections. The token expires in 7 days.
|
|
23350
|
+
* Generate a JWT token for client-side inbox authentication. This is a server-side call that requires your API key. Pass the returned token to `@zyphr-dev/inbox-react`\'s `<ZyphrProvider subscriberToken=\"...\">` or use it as `Authorization: Bearer <token>` for client-side inbox API calls and WebSocket connections. The token expires in 7 days.
|
|
22036
23351
|
* Generate a subscriber token
|
|
22037
23352
|
*/
|
|
22038
23353
|
async generateSubscriberToken(generateSubscriberTokenRequest, initOverrides) {
|
|
@@ -22097,14 +23412,15 @@ var InboxApi = class extends BaseAPI {
|
|
|
22097
23412
|
headers: headerParameters,
|
|
22098
23413
|
query: queryParameters
|
|
22099
23414
|
}, initOverrides);
|
|
22100
|
-
return new
|
|
23415
|
+
return new JSONApiResponse(response, (jsonValue) => GetSubscriberInboxPreferences200ResponseFromJSON(jsonValue));
|
|
22101
23416
|
}
|
|
22102
23417
|
/**
|
|
22103
23418
|
* Get notification preferences grouped by category for the authenticated subscriber.
|
|
22104
23419
|
* Get subscriber preferences
|
|
22105
23420
|
*/
|
|
22106
23421
|
async getSubscriberInboxPreferences(initOverrides) {
|
|
22107
|
-
await this.getSubscriberInboxPreferencesRaw(initOverrides);
|
|
23422
|
+
const response = await this.getSubscriberInboxPreferencesRaw(initOverrides);
|
|
23423
|
+
return await response.value();
|
|
22108
23424
|
}
|
|
22109
23425
|
/**
|
|
22110
23426
|
* Get a specific notification by ID for the authenticated subscriber.
|
|
@@ -22132,14 +23448,15 @@ var InboxApi = class extends BaseAPI {
|
|
|
22132
23448
|
headers: headerParameters,
|
|
22133
23449
|
query: queryParameters
|
|
22134
23450
|
}, initOverrides);
|
|
22135
|
-
return new
|
|
23451
|
+
return new JSONApiResponse(response, (jsonValue) => GetSubscriberNotification200ResponseFromJSON(jsonValue));
|
|
22136
23452
|
}
|
|
22137
23453
|
/**
|
|
22138
23454
|
* Get a specific notification by ID for the authenticated subscriber.
|
|
22139
23455
|
* Get a notification
|
|
22140
23456
|
*/
|
|
22141
23457
|
async getSubscriberNotification(id, initOverrides) {
|
|
22142
|
-
await this.getSubscriberNotificationRaw({ id }, initOverrides);
|
|
23458
|
+
const response = await this.getSubscriberNotificationRaw({ id }, initOverrides);
|
|
23459
|
+
return await response.value();
|
|
22143
23460
|
}
|
|
22144
23461
|
/**
|
|
22145
23462
|
* Get the unread notification count for the authenticated subscriber.
|
|
@@ -22161,14 +23478,15 @@ var InboxApi = class extends BaseAPI {
|
|
|
22161
23478
|
headers: headerParameters,
|
|
22162
23479
|
query: queryParameters
|
|
22163
23480
|
}, initOverrides);
|
|
22164
|
-
return new
|
|
23481
|
+
return new JSONApiResponse(response, (jsonValue) => GetSubscriberUnreadCount200ResponseFromJSON(jsonValue));
|
|
22165
23482
|
}
|
|
22166
23483
|
/**
|
|
22167
23484
|
* Get the unread notification count for the authenticated subscriber.
|
|
22168
23485
|
* Get unread count
|
|
22169
23486
|
*/
|
|
22170
23487
|
async getSubscriberUnreadCount(initOverrides) {
|
|
22171
|
-
await this.getSubscriberUnreadCountRaw(initOverrides);
|
|
23488
|
+
const response = await this.getSubscriberUnreadCountRaw(initOverrides);
|
|
23489
|
+
return await response.value();
|
|
22172
23490
|
}
|
|
22173
23491
|
/**
|
|
22174
23492
|
* Get the count of unread in-app notifications for a subscriber.
|
|
@@ -22236,14 +23554,15 @@ var InboxApi = class extends BaseAPI {
|
|
|
22236
23554
|
headers: headerParameters,
|
|
22237
23555
|
query: queryParameters
|
|
22238
23556
|
}, initOverrides);
|
|
22239
|
-
return new
|
|
23557
|
+
return new JSONApiResponse(response, (jsonValue) => InboxListResponseFromJSON(jsonValue));
|
|
22240
23558
|
}
|
|
22241
23559
|
/**
|
|
22242
23560
|
* List all in-app notifications for the current project. Used by the dashboard to display all notifications without requiring a subscriber selection.
|
|
22243
23561
|
* List all project notifications
|
|
22244
23562
|
*/
|
|
22245
23563
|
async listAllInbox(subscriberId, status, category, search, limit, offset, initOverrides) {
|
|
22246
|
-
await this.listAllInboxRaw({ subscriberId, status, category, search, limit, offset }, initOverrides);
|
|
23564
|
+
const response = await this.listAllInboxRaw({ subscriberId, status, category, search, limit, offset }, initOverrides);
|
|
23565
|
+
return await response.value();
|
|
22247
23566
|
}
|
|
22248
23567
|
/**
|
|
22249
23568
|
* Retrieve in-app notifications for a subscriber. Requires subscriber_id or external_id.
|
|
@@ -22330,14 +23649,15 @@ var InboxApi = class extends BaseAPI {
|
|
|
22330
23649
|
headers: headerParameters,
|
|
22331
23650
|
query: queryParameters
|
|
22332
23651
|
}, initOverrides);
|
|
22333
|
-
return new
|
|
23652
|
+
return new JSONApiResponse(response, (jsonValue) => InboxListResponseFromJSON(jsonValue));
|
|
22334
23653
|
}
|
|
22335
23654
|
/**
|
|
22336
23655
|
* List notifications for the authenticated subscriber. Supports cursor-based pagination.
|
|
22337
23656
|
* List subscriber notifications
|
|
22338
23657
|
*/
|
|
22339
23658
|
async listSubscriberNotifications(category, includeRead, includeArchived, limit, cursor, initOverrides) {
|
|
22340
|
-
await this.listSubscriberNotificationsRaw({ category, includeRead, includeArchived, limit, cursor }, initOverrides);
|
|
23659
|
+
const response = await this.listSubscriberNotificationsRaw({ category, includeRead, includeArchived, limit, cursor }, initOverrides);
|
|
23660
|
+
return await response.value();
|
|
22341
23661
|
}
|
|
22342
23662
|
/**
|
|
22343
23663
|
* Mark all unread in-app notifications as read for a subscriber. Optionally filter by category.
|
|
@@ -22394,13 +23714,14 @@ var InboxApi = class extends BaseAPI {
|
|
|
22394
23714
|
query: queryParameters,
|
|
22395
23715
|
body: MarkAllSubscriberNotificationsReadRequestToJSON(requestParameters["markAllSubscriberNotificationsReadRequest"])
|
|
22396
23716
|
}, initOverrides);
|
|
22397
|
-
return new
|
|
23717
|
+
return new JSONApiResponse(response, (jsonValue) => MarkAllSubscriberNotificationsRead200ResponseFromJSON(jsonValue));
|
|
22398
23718
|
}
|
|
22399
23719
|
/**
|
|
22400
23720
|
* Mark all notifications as read
|
|
22401
23721
|
*/
|
|
22402
23722
|
async markAllSubscriberNotificationsRead(markAllSubscriberNotificationsReadRequest, initOverrides) {
|
|
22403
|
-
await this.markAllSubscriberNotificationsReadRaw({ markAllSubscriberNotificationsReadRequest }, initOverrides);
|
|
23723
|
+
const response = await this.markAllSubscriberNotificationsReadRaw({ markAllSubscriberNotificationsReadRequest }, initOverrides);
|
|
23724
|
+
return await response.value();
|
|
22404
23725
|
}
|
|
22405
23726
|
/**
|
|
22406
23727
|
* Mark a specific in-app notification as read.
|
|
@@ -22461,13 +23782,14 @@ var InboxApi = class extends BaseAPI {
|
|
|
22461
23782
|
headers: headerParameters,
|
|
22462
23783
|
query: queryParameters
|
|
22463
23784
|
}, initOverrides);
|
|
22464
|
-
return new
|
|
23785
|
+
return new JSONApiResponse(response, (jsonValue) => GetSubscriberNotification200ResponseFromJSON(jsonValue));
|
|
22465
23786
|
}
|
|
22466
23787
|
/**
|
|
22467
23788
|
* Mark notification as read
|
|
22468
23789
|
*/
|
|
22469
23790
|
async markSubscriberNotificationRead(id, initOverrides) {
|
|
22470
|
-
await this.markSubscriberNotificationReadRaw({ id }, initOverrides);
|
|
23791
|
+
const response = await this.markSubscriberNotificationReadRaw({ id }, initOverrides);
|
|
23792
|
+
return await response.value();
|
|
22471
23793
|
}
|
|
22472
23794
|
/**
|
|
22473
23795
|
* Send in-app notifications to multiple subscribers in a single request (max 100).
|
|
@@ -22565,14 +23887,15 @@ var InboxApi = class extends BaseAPI {
|
|
|
22565
23887
|
query: queryParameters,
|
|
22566
23888
|
body: UpdateSubscriberPreferencesRequestToJSON(requestParameters["updateSubscriberPreferencesRequest"])
|
|
22567
23889
|
}, initOverrides);
|
|
22568
|
-
return new
|
|
23890
|
+
return new JSONApiResponse(response, (jsonValue) => UpdateSubscriberPreferences200ResponseFromJSON(jsonValue));
|
|
22569
23891
|
}
|
|
22570
23892
|
/**
|
|
22571
23893
|
* Update notification channel preferences for specific categories or globally.
|
|
22572
23894
|
* Update subscriber preferences
|
|
22573
23895
|
*/
|
|
22574
23896
|
async updateSubscriberPreferences(updateSubscriberPreferencesRequest, initOverrides) {
|
|
22575
|
-
await this.updateSubscriberPreferencesRaw({ updateSubscriberPreferencesRequest }, initOverrides);
|
|
23897
|
+
const response = await this.updateSubscriberPreferencesRaw({ updateSubscriberPreferencesRequest }, initOverrides);
|
|
23898
|
+
return await response.value();
|
|
22576
23899
|
}
|
|
22577
23900
|
};
|
|
22578
23901
|
var ListAllInboxStatusEnum = {
|
|
@@ -24203,14 +25526,15 @@ var TemplatesApi = class extends BaseAPI {
|
|
|
24203
25526
|
query: queryParameters,
|
|
24204
25527
|
body: SendTemplateTestEmailRequestToJSON(requestParameters["sendTemplateTestEmailRequest"])
|
|
24205
25528
|
}, initOverrides);
|
|
24206
|
-
return new
|
|
25529
|
+
return new JSONApiResponse(response, (jsonValue) => SendTemplateTestEmail202ResponseFromJSON(jsonValue));
|
|
24207
25530
|
}
|
|
24208
25531
|
/**
|
|
24209
25532
|
* Render the template and send a one-off test email (dashboard JWT auth). Because this is a send-capable endpoint, a frozen account receives `403 account_frozen` and a throttled account receives `429 account_throttled`.
|
|
24210
25533
|
* Send a test email using a template
|
|
24211
25534
|
*/
|
|
24212
25535
|
async sendTemplateTestEmail(id, sendTemplateTestEmailRequest, initOverrides) {
|
|
24213
|
-
await this.sendTemplateTestEmailRaw({ id, sendTemplateTestEmailRequest }, initOverrides);
|
|
25536
|
+
const response = await this.sendTemplateTestEmailRaw({ id, sendTemplateTestEmailRequest }, initOverrides);
|
|
25537
|
+
return await response.value();
|
|
24214
25538
|
}
|
|
24215
25539
|
/**
|
|
24216
25540
|
* Update an existing template. Only provided fields are changed.
|
|
@@ -24848,14 +26172,15 @@ var WaaSDeliveriesApi = class extends BaseAPI {
|
|
|
24848
26172
|
headers: headerParameters,
|
|
24849
26173
|
query: queryParameters
|
|
24850
26174
|
}, initOverrides);
|
|
24851
|
-
return new
|
|
26175
|
+
return new JSONApiResponse(response, (jsonValue) => GetWaaSDelivery200ResponseFromJSON(jsonValue));
|
|
24852
26176
|
}
|
|
24853
26177
|
/**
|
|
24854
26178
|
* Get full delivery details including request/response data.
|
|
24855
26179
|
* Get delivery detail
|
|
24856
26180
|
*/
|
|
24857
26181
|
async getWaaSDelivery(appId, deliveryId, initOverrides) {
|
|
24858
|
-
await this.getWaaSDeliveryRaw({ appId, deliveryId }, initOverrides);
|
|
26182
|
+
const response = await this.getWaaSDeliveryRaw({ appId, deliveryId }, initOverrides);
|
|
26183
|
+
return await response.value();
|
|
24859
26184
|
}
|
|
24860
26185
|
/**
|
|
24861
26186
|
* List delivery records for a WaaS application. Filter by tenant, event type, or status.
|
|
@@ -24979,14 +26304,15 @@ var WaaSDeliveriesApi = class extends BaseAPI {
|
|
|
24979
26304
|
headers: headerParameters,
|
|
24980
26305
|
query: queryParameters
|
|
24981
26306
|
}, initOverrides);
|
|
24982
|
-
return new
|
|
26307
|
+
return new JSONApiResponse(response, (jsonValue) => GetWaaSDelivery200ResponseFromJSON(jsonValue));
|
|
24983
26308
|
}
|
|
24984
26309
|
/**
|
|
24985
26310
|
* Retry a failed or exhausted delivery. Resets the delivery status and re-queues it.
|
|
24986
26311
|
* Retry a delivery
|
|
24987
26312
|
*/
|
|
24988
26313
|
async retryWaaSDelivery(appId, deliveryId, initOverrides) {
|
|
24989
|
-
await this.retryWaaSDeliveryRaw({ appId, deliveryId }, initOverrides);
|
|
26314
|
+
const response = await this.retryWaaSDeliveryRaw({ appId, deliveryId }, initOverrides);
|
|
26315
|
+
return await response.value();
|
|
24990
26316
|
}
|
|
24991
26317
|
};
|
|
24992
26318
|
var ListWaaSDeliveriesStatusEnum = {
|
|
@@ -25028,14 +26354,15 @@ var WaaSEndpointsApi = class extends BaseAPI {
|
|
|
25028
26354
|
headers: headerParameters,
|
|
25029
26355
|
query: queryParameters
|
|
25030
26356
|
}, initOverrides);
|
|
25031
|
-
return new
|
|
26357
|
+
return new JSONApiResponse(response, (jsonValue) => CloseWaaSEndpointCircuit200ResponseFromJSON(jsonValue));
|
|
25032
26358
|
}
|
|
25033
26359
|
/**
|
|
25034
26360
|
* Force the circuit breaker to close, resuming deliveries to the endpoint.
|
|
25035
26361
|
* Force-close circuit breaker
|
|
25036
26362
|
*/
|
|
25037
26363
|
async closeWaaSEndpointCircuit(appId, endpointId, initOverrides) {
|
|
25038
|
-
await this.closeWaaSEndpointCircuitRaw({ appId, endpointId }, initOverrides);
|
|
26364
|
+
const response = await this.closeWaaSEndpointCircuitRaw({ appId, endpointId }, initOverrides);
|
|
26365
|
+
return await response.value();
|
|
25039
26366
|
}
|
|
25040
26367
|
/**
|
|
25041
26368
|
* Create a webhook endpoint for a specific tenant. The signing secret is returned only on creation.
|
|
@@ -25178,14 +26505,15 @@ var WaaSEndpointsApi = class extends BaseAPI {
|
|
|
25178
26505
|
headers: headerParameters,
|
|
25179
26506
|
query: queryParameters
|
|
25180
26507
|
}, initOverrides);
|
|
25181
|
-
return new
|
|
26508
|
+
return new JSONApiResponse(response, (jsonValue) => GetWaaSEndpointCircuit200ResponseFromJSON(jsonValue));
|
|
25182
26509
|
}
|
|
25183
26510
|
/**
|
|
25184
26511
|
* Get the circuit breaker state for an endpoint (closed, open, or half-open).
|
|
25185
26512
|
* Get circuit breaker state
|
|
25186
26513
|
*/
|
|
25187
26514
|
async getWaaSEndpointCircuit(appId, endpointId, initOverrides) {
|
|
25188
|
-
await this.getWaaSEndpointCircuitRaw({ appId, endpointId }, initOverrides);
|
|
26515
|
+
const response = await this.getWaaSEndpointCircuitRaw({ appId, endpointId }, initOverrides);
|
|
26516
|
+
return await response.value();
|
|
25189
26517
|
}
|
|
25190
26518
|
/**
|
|
25191
26519
|
* Get delivery success rate, latency, and health metrics for an endpoint.
|
|
@@ -25215,14 +26543,15 @@ var WaaSEndpointsApi = class extends BaseAPI {
|
|
|
25215
26543
|
headers: headerParameters,
|
|
25216
26544
|
query: queryParameters
|
|
25217
26545
|
}, initOverrides);
|
|
25218
|
-
return new
|
|
26546
|
+
return new JSONApiResponse(response, (jsonValue) => GetWaaSEndpointMetrics200ResponseFromJSON(jsonValue));
|
|
25219
26547
|
}
|
|
25220
26548
|
/**
|
|
25221
26549
|
* Get delivery success rate, latency, and health metrics for an endpoint.
|
|
25222
26550
|
* Get endpoint metrics
|
|
25223
26551
|
*/
|
|
25224
26552
|
async getWaaSEndpointMetrics(appId, endpointId, initOverrides) {
|
|
25225
|
-
await this.getWaaSEndpointMetricsRaw({ appId, endpointId }, initOverrides);
|
|
26553
|
+
const response = await this.getWaaSEndpointMetricsRaw({ appId, endpointId }, initOverrides);
|
|
26554
|
+
return await response.value();
|
|
25226
26555
|
}
|
|
25227
26556
|
/**
|
|
25228
26557
|
* List all endpoints for a WaaS application. Optionally filter by tenant ID or status.
|
|
@@ -25296,14 +26625,15 @@ var WaaSEndpointsApi = class extends BaseAPI {
|
|
|
25296
26625
|
headers: headerParameters,
|
|
25297
26626
|
query: queryParameters
|
|
25298
26627
|
}, initOverrides);
|
|
25299
|
-
return new
|
|
26628
|
+
return new JSONApiResponse(response, (jsonValue) => RotateWaaSEndpointSecret200ResponseFromJSON(jsonValue));
|
|
25300
26629
|
}
|
|
25301
26630
|
/**
|
|
25302
26631
|
* Rotate the signing secret for an endpoint. During rotation, deliveries are signed with both old and new secrets.
|
|
25303
26632
|
* Rotate endpoint secret
|
|
25304
26633
|
*/
|
|
25305
26634
|
async rotateWaaSEndpointSecret(appId, endpointId, initOverrides) {
|
|
25306
|
-
await this.rotateWaaSEndpointSecretRaw({ appId, endpointId }, initOverrides);
|
|
26635
|
+
const response = await this.rotateWaaSEndpointSecretRaw({ appId, endpointId }, initOverrides);
|
|
26636
|
+
return await response.value();
|
|
25307
26637
|
}
|
|
25308
26638
|
/**
|
|
25309
26639
|
* Update an endpoint
|
|
@@ -25340,13 +26670,14 @@ var WaaSEndpointsApi = class extends BaseAPI {
|
|
|
25340
26670
|
query: queryParameters,
|
|
25341
26671
|
body: UpdateWaaSEndpointRequestToJSON(requestParameters["updateWaaSEndpointRequest"])
|
|
25342
26672
|
}, initOverrides);
|
|
25343
|
-
return new
|
|
26673
|
+
return new JSONApiResponse(response, (jsonValue) => UpdateWaaSEndpoint200ResponseFromJSON(jsonValue));
|
|
25344
26674
|
}
|
|
25345
26675
|
/**
|
|
25346
26676
|
* Update an endpoint
|
|
25347
26677
|
*/
|
|
25348
26678
|
async updateWaaSEndpoint(appId, endpointId, updateWaaSEndpointRequest, initOverrides) {
|
|
25349
|
-
await this.updateWaaSEndpointRaw({ appId, endpointId, updateWaaSEndpointRequest }, initOverrides);
|
|
26679
|
+
const response = await this.updateWaaSEndpointRaw({ appId, endpointId, updateWaaSEndpointRequest }, initOverrides);
|
|
26680
|
+
return await response.value();
|
|
25350
26681
|
}
|
|
25351
26682
|
};
|
|
25352
26683
|
var ListWaaSEndpointsStatusEnum = {
|
|
@@ -25462,14 +26793,15 @@ var WaaSEventTypesApi = class extends BaseAPI {
|
|
|
25462
26793
|
headers: headerParameters,
|
|
25463
26794
|
query: queryParameters
|
|
25464
26795
|
}, initOverrides);
|
|
25465
|
-
return new
|
|
26796
|
+
return new JSONApiResponse(response, (jsonValue) => UpdateWaaSEventType200ResponseFromJSON(jsonValue));
|
|
25466
26797
|
}
|
|
25467
26798
|
/**
|
|
25468
26799
|
* Mark an event type as deprecated. Existing subscriptions continue to receive deliveries, but new subscriptions are blocked.
|
|
25469
26800
|
* Deprecate an event type
|
|
25470
26801
|
*/
|
|
25471
26802
|
async deprecateWaaSEventType(appId, eventTypeId, initOverrides) {
|
|
25472
|
-
await this.deprecateWaaSEventTypeRaw({ appId, eventTypeId }, initOverrides);
|
|
26803
|
+
const response = await this.deprecateWaaSEventTypeRaw({ appId, eventTypeId }, initOverrides);
|
|
26804
|
+
return await response.value();
|
|
25473
26805
|
}
|
|
25474
26806
|
/**
|
|
25475
26807
|
* Get an event type
|
|
@@ -25586,13 +26918,14 @@ var WaaSEventTypesApi = class extends BaseAPI {
|
|
|
25586
26918
|
query: queryParameters,
|
|
25587
26919
|
body: UpdateWaaSEventTypeRequestToJSON(requestParameters["updateWaaSEventTypeRequest"])
|
|
25588
26920
|
}, initOverrides);
|
|
25589
|
-
return new
|
|
26921
|
+
return new JSONApiResponse(response, (jsonValue) => UpdateWaaSEventType200ResponseFromJSON(jsonValue));
|
|
25590
26922
|
}
|
|
25591
26923
|
/**
|
|
25592
26924
|
* Update an event type
|
|
25593
26925
|
*/
|
|
25594
26926
|
async updateWaaSEventType(appId, eventTypeId, updateWaaSEventTypeRequest, initOverrides) {
|
|
25595
|
-
await this.updateWaaSEventTypeRaw({ appId, eventTypeId, updateWaaSEventTypeRequest }, initOverrides);
|
|
26927
|
+
const response = await this.updateWaaSEventTypeRaw({ appId, eventTypeId, updateWaaSEventTypeRequest }, initOverrides);
|
|
26928
|
+
return await response.value();
|
|
25596
26929
|
}
|
|
25597
26930
|
};
|
|
25598
26931
|
var ListWaaSEventTypesStatusEnum = {
|
|
@@ -27137,6 +28470,7 @@ var Zyphr = class {
|
|
|
27137
28470
|
phone: new AuthPhoneApi(config),
|
|
27138
28471
|
emailOtp: new AuthEmailOTPApi(config),
|
|
27139
28472
|
profile: new AuthUserProfileApi(config),
|
|
28473
|
+
userDirectory: new AuthUserDirectoryApi(config),
|
|
27140
28474
|
webauthn: new AuthWebAuthnApi(config)
|
|
27141
28475
|
};
|
|
27142
28476
|
}
|
|
@@ -27471,6 +28805,15 @@ var SDK_VERSION = "0.1.0";
|
|
|
27471
28805
|
CategoryResponseToJSONTyped,
|
|
27472
28806
|
CategoryToJSON,
|
|
27473
28807
|
CategoryToJSONTyped,
|
|
28808
|
+
CloseWaaSEndpointCircuit200ResponseDataFromJSON,
|
|
28809
|
+
CloseWaaSEndpointCircuit200ResponseDataFromJSONTyped,
|
|
28810
|
+
CloseWaaSEndpointCircuit200ResponseDataStateEnum,
|
|
28811
|
+
CloseWaaSEndpointCircuit200ResponseDataToJSON,
|
|
28812
|
+
CloseWaaSEndpointCircuit200ResponseDataToJSONTyped,
|
|
28813
|
+
CloseWaaSEndpointCircuit200ResponseFromJSON,
|
|
28814
|
+
CloseWaaSEndpointCircuit200ResponseFromJSONTyped,
|
|
28815
|
+
CloseWaaSEndpointCircuit200ResponseToJSON,
|
|
28816
|
+
CloseWaaSEndpointCircuit200ResponseToJSONTyped,
|
|
27474
28817
|
Configuration,
|
|
27475
28818
|
ConfirmEmailVerificationRequestFromJSON,
|
|
27476
28819
|
ConfirmEmailVerificationRequestFromJSONTyped,
|
|
@@ -27794,10 +29137,86 @@ var SDK_VERSION = "0.1.0";
|
|
|
27794
29137
|
GetDomain200ResponseMetaToJSONTyped,
|
|
27795
29138
|
GetDomain200ResponseToJSON,
|
|
27796
29139
|
GetDomain200ResponseToJSONTyped,
|
|
29140
|
+
GetEndUserById200ResponseFromJSON,
|
|
29141
|
+
GetEndUserById200ResponseFromJSONTyped,
|
|
29142
|
+
GetEndUserById200ResponseToJSON,
|
|
29143
|
+
GetEndUserById200ResponseToJSONTyped,
|
|
29144
|
+
GetEndUserClaims200ResponseDataFromJSON,
|
|
29145
|
+
GetEndUserClaims200ResponseDataFromJSONTyped,
|
|
29146
|
+
GetEndUserClaims200ResponseDataToJSON,
|
|
29147
|
+
GetEndUserClaims200ResponseDataToJSONTyped,
|
|
29148
|
+
GetEndUserClaims200ResponseFromJSON,
|
|
29149
|
+
GetEndUserClaims200ResponseFromJSONTyped,
|
|
29150
|
+
GetEndUserClaims200ResponseToJSON,
|
|
29151
|
+
GetEndUserClaims200ResponseToJSONTyped,
|
|
29152
|
+
GetSubscriberInboxPreferences200ResponseDataCategoriesInnerCategoryFromJSON,
|
|
29153
|
+
GetSubscriberInboxPreferences200ResponseDataCategoriesInnerCategoryFromJSONTyped,
|
|
29154
|
+
GetSubscriberInboxPreferences200ResponseDataCategoriesInnerCategoryToJSON,
|
|
29155
|
+
GetSubscriberInboxPreferences200ResponseDataCategoriesInnerCategoryToJSONTyped,
|
|
29156
|
+
GetSubscriberInboxPreferences200ResponseDataCategoriesInnerFromJSON,
|
|
29157
|
+
GetSubscriberInboxPreferences200ResponseDataCategoriesInnerFromJSONTyped,
|
|
29158
|
+
GetSubscriberInboxPreferences200ResponseDataCategoriesInnerToJSON,
|
|
29159
|
+
GetSubscriberInboxPreferences200ResponseDataCategoriesInnerToJSONTyped,
|
|
29160
|
+
GetSubscriberInboxPreferences200ResponseDataFromJSON,
|
|
29161
|
+
GetSubscriberInboxPreferences200ResponseDataFromJSONTyped,
|
|
29162
|
+
GetSubscriberInboxPreferences200ResponseDataGlobalChannelsInnerChannelEnum,
|
|
29163
|
+
GetSubscriberInboxPreferences200ResponseDataGlobalChannelsInnerFromJSON,
|
|
29164
|
+
GetSubscriberInboxPreferences200ResponseDataGlobalChannelsInnerFromJSONTyped,
|
|
29165
|
+
GetSubscriberInboxPreferences200ResponseDataGlobalChannelsInnerToJSON,
|
|
29166
|
+
GetSubscriberInboxPreferences200ResponseDataGlobalChannelsInnerToJSONTyped,
|
|
29167
|
+
GetSubscriberInboxPreferences200ResponseDataGlobalFromJSON,
|
|
29168
|
+
GetSubscriberInboxPreferences200ResponseDataGlobalFromJSONTyped,
|
|
29169
|
+
GetSubscriberInboxPreferences200ResponseDataGlobalToJSON,
|
|
29170
|
+
GetSubscriberInboxPreferences200ResponseDataGlobalToJSONTyped,
|
|
29171
|
+
GetSubscriberInboxPreferences200ResponseDataToJSON,
|
|
29172
|
+
GetSubscriberInboxPreferences200ResponseDataToJSONTyped,
|
|
29173
|
+
GetSubscriberInboxPreferences200ResponseFromJSON,
|
|
29174
|
+
GetSubscriberInboxPreferences200ResponseFromJSONTyped,
|
|
29175
|
+
GetSubscriberInboxPreferences200ResponseToJSON,
|
|
29176
|
+
GetSubscriberInboxPreferences200ResponseToJSONTyped,
|
|
29177
|
+
GetSubscriberNotification200ResponseFromJSON,
|
|
29178
|
+
GetSubscriberNotification200ResponseFromJSONTyped,
|
|
29179
|
+
GetSubscriberNotification200ResponseToJSON,
|
|
29180
|
+
GetSubscriberNotification200ResponseToJSONTyped,
|
|
29181
|
+
GetSubscriberUnreadCount200ResponseFromJSON,
|
|
29182
|
+
GetSubscriberUnreadCount200ResponseFromJSONTyped,
|
|
29183
|
+
GetSubscriberUnreadCount200ResponseToJSON,
|
|
29184
|
+
GetSubscriberUnreadCount200ResponseToJSONTyped,
|
|
29185
|
+
GetWaaSDelivery200ResponseFromJSON,
|
|
29186
|
+
GetWaaSDelivery200ResponseFromJSONTyped,
|
|
29187
|
+
GetWaaSDelivery200ResponseToJSON,
|
|
29188
|
+
GetWaaSDelivery200ResponseToJSONTyped,
|
|
27797
29189
|
GetWaaSEndpoint200ResponseFromJSON,
|
|
27798
29190
|
GetWaaSEndpoint200ResponseFromJSONTyped,
|
|
27799
29191
|
GetWaaSEndpoint200ResponseToJSON,
|
|
27800
29192
|
GetWaaSEndpoint200ResponseToJSONTyped,
|
|
29193
|
+
GetWaaSEndpointCircuit200ResponseDataFromJSON,
|
|
29194
|
+
GetWaaSEndpointCircuit200ResponseDataFromJSONTyped,
|
|
29195
|
+
GetWaaSEndpointCircuit200ResponseDataStateEnum,
|
|
29196
|
+
GetWaaSEndpointCircuit200ResponseDataToJSON,
|
|
29197
|
+
GetWaaSEndpointCircuit200ResponseDataToJSONTyped,
|
|
29198
|
+
GetWaaSEndpointCircuit200ResponseFromJSON,
|
|
29199
|
+
GetWaaSEndpointCircuit200ResponseFromJSONTyped,
|
|
29200
|
+
GetWaaSEndpointCircuit200ResponseToJSON,
|
|
29201
|
+
GetWaaSEndpointCircuit200ResponseToJSONTyped,
|
|
29202
|
+
GetWaaSEndpointMetrics200ResponseDataFromJSON,
|
|
29203
|
+
GetWaaSEndpointMetrics200ResponseDataFromJSONTyped,
|
|
29204
|
+
GetWaaSEndpointMetrics200ResponseDataHealthFromJSON,
|
|
29205
|
+
GetWaaSEndpointMetrics200ResponseDataHealthFromJSONTyped,
|
|
29206
|
+
GetWaaSEndpointMetrics200ResponseDataHealthStatusEnum,
|
|
29207
|
+
GetWaaSEndpointMetrics200ResponseDataHealthToJSON,
|
|
29208
|
+
GetWaaSEndpointMetrics200ResponseDataHealthToJSONTyped,
|
|
29209
|
+
GetWaaSEndpointMetrics200ResponseDataToJSON,
|
|
29210
|
+
GetWaaSEndpointMetrics200ResponseDataToJSONTyped,
|
|
29211
|
+
GetWaaSEndpointMetrics200ResponseDataWindowsValueFromJSON,
|
|
29212
|
+
GetWaaSEndpointMetrics200ResponseDataWindowsValueFromJSONTyped,
|
|
29213
|
+
GetWaaSEndpointMetrics200ResponseDataWindowsValueToJSON,
|
|
29214
|
+
GetWaaSEndpointMetrics200ResponseDataWindowsValueToJSONTyped,
|
|
29215
|
+
GetWaaSEndpointMetrics200ResponseDataWindowsValueWindowEnum,
|
|
29216
|
+
GetWaaSEndpointMetrics200ResponseFromJSON,
|
|
29217
|
+
GetWaaSEndpointMetrics200ResponseFromJSONTyped,
|
|
29218
|
+
GetWaaSEndpointMetrics200ResponseToJSON,
|
|
29219
|
+
GetWaaSEndpointMetrics200ResponseToJSONTyped,
|
|
27801
29220
|
GetWaaSUsage200ResponseFromJSON,
|
|
27802
29221
|
GetWaaSUsage200ResponseFromJSONTyped,
|
|
27803
29222
|
GetWaaSUsage200ResponseToJSON,
|
|
@@ -27857,6 +29276,14 @@ var SDK_VERSION = "0.1.0";
|
|
|
27857
29276
|
InboxNotificationResponseFromJSONTyped,
|
|
27858
29277
|
InboxNotificationResponseToJSON,
|
|
27859
29278
|
InboxNotificationResponseToJSONTyped,
|
|
29279
|
+
InviteEndUser200ResponseDataFromJSON,
|
|
29280
|
+
InviteEndUser200ResponseDataFromJSONTyped,
|
|
29281
|
+
InviteEndUser200ResponseDataToJSON,
|
|
29282
|
+
InviteEndUser200ResponseDataToJSONTyped,
|
|
29283
|
+
InviteEndUser200ResponseFromJSON,
|
|
29284
|
+
InviteEndUser200ResponseFromJSONTyped,
|
|
29285
|
+
InviteEndUser200ResponseToJSON,
|
|
29286
|
+
InviteEndUser200ResponseToJSONTyped,
|
|
27860
29287
|
InviteEndUserRequestFromJSON,
|
|
27861
29288
|
InviteEndUserRequestFromJSONTyped,
|
|
27862
29289
|
InviteEndUserRequestSendLinkEnum,
|
|
@@ -27866,6 +29293,14 @@ var SDK_VERSION = "0.1.0";
|
|
|
27866
29293
|
ListAllInboxStatusEnum,
|
|
27867
29294
|
ListDevicesPlatformEnum,
|
|
27868
29295
|
ListEmailsStatusEnum,
|
|
29296
|
+
ListEndUsers200ResponseFromJSON,
|
|
29297
|
+
ListEndUsers200ResponseFromJSONTyped,
|
|
29298
|
+
ListEndUsers200ResponseMetaFromJSON,
|
|
29299
|
+
ListEndUsers200ResponseMetaFromJSONTyped,
|
|
29300
|
+
ListEndUsers200ResponseMetaToJSON,
|
|
29301
|
+
ListEndUsers200ResponseMetaToJSONTyped,
|
|
29302
|
+
ListEndUsers200ResponseToJSON,
|
|
29303
|
+
ListEndUsers200ResponseToJSONTyped,
|
|
27869
29304
|
ListEndUsersEnvironmentEnum,
|
|
27870
29305
|
ListInboundEmailsStatusEnum,
|
|
27871
29306
|
ListPushStatusEnum,
|
|
@@ -27895,10 +29330,6 @@ var SDK_VERSION = "0.1.0";
|
|
|
27895
29330
|
ListWebhookDeliveriesStatusEnum,
|
|
27896
29331
|
ListWorkflowExecutions200ResponseFromJSON,
|
|
27897
29332
|
ListWorkflowExecutions200ResponseFromJSONTyped,
|
|
27898
|
-
ListWorkflowExecutions200ResponseMetaFromJSON,
|
|
27899
|
-
ListWorkflowExecutions200ResponseMetaFromJSONTyped,
|
|
27900
|
-
ListWorkflowExecutions200ResponseMetaToJSON,
|
|
27901
|
-
ListWorkflowExecutions200ResponseMetaToJSONTyped,
|
|
27902
29333
|
ListWorkflowExecutions200ResponseToJSON,
|
|
27903
29334
|
ListWorkflowExecutions200ResponseToJSONTyped,
|
|
27904
29335
|
ListWorkflows200ResponseFromJSON,
|
|
@@ -27941,6 +29372,10 @@ var SDK_VERSION = "0.1.0";
|
|
|
27941
29372
|
MarkAllReadResponseFromJSONTyped,
|
|
27942
29373
|
MarkAllReadResponseToJSON,
|
|
27943
29374
|
MarkAllReadResponseToJSONTyped,
|
|
29375
|
+
MarkAllSubscriberNotificationsRead200ResponseFromJSON,
|
|
29376
|
+
MarkAllSubscriberNotificationsRead200ResponseFromJSONTyped,
|
|
29377
|
+
MarkAllSubscriberNotificationsRead200ResponseToJSON,
|
|
29378
|
+
MarkAllSubscriberNotificationsRead200ResponseToJSONTyped,
|
|
27944
29379
|
MarkAllSubscriberNotificationsReadRequestFromJSON,
|
|
27945
29380
|
MarkAllSubscriberNotificationsReadRequestFromJSONTyped,
|
|
27946
29381
|
MarkAllSubscriberNotificationsReadRequestToJSON,
|
|
@@ -28338,6 +29773,14 @@ var SDK_VERSION = "0.1.0";
|
|
|
28338
29773
|
RevokeSessionRequestFromJSONTyped,
|
|
28339
29774
|
RevokeSessionRequestToJSON,
|
|
28340
29775
|
RevokeSessionRequestToJSONTyped,
|
|
29776
|
+
RotateWaaSEndpointSecret200ResponseDataFromJSON,
|
|
29777
|
+
RotateWaaSEndpointSecret200ResponseDataFromJSONTyped,
|
|
29778
|
+
RotateWaaSEndpointSecret200ResponseDataToJSON,
|
|
29779
|
+
RotateWaaSEndpointSecret200ResponseDataToJSONTyped,
|
|
29780
|
+
RotateWaaSEndpointSecret200ResponseFromJSON,
|
|
29781
|
+
RotateWaaSEndpointSecret200ResponseFromJSONTyped,
|
|
29782
|
+
RotateWaaSEndpointSecret200ResponseToJSON,
|
|
29783
|
+
RotateWaaSEndpointSecret200ResponseToJSONTyped,
|
|
28341
29784
|
SDK_VERSION,
|
|
28342
29785
|
SMSApi,
|
|
28343
29786
|
SendBatchEmailRequestFromJSON,
|
|
@@ -28470,6 +29913,18 @@ var SDK_VERSION = "0.1.0";
|
|
|
28470
29913
|
SendSmsResponseFromJSONTyped,
|
|
28471
29914
|
SendSmsResponseToJSON,
|
|
28472
29915
|
SendSmsResponseToJSONTyped,
|
|
29916
|
+
SendTemplateTestEmail202ResponseDataFromJSON,
|
|
29917
|
+
SendTemplateTestEmail202ResponseDataFromJSONTyped,
|
|
29918
|
+
SendTemplateTestEmail202ResponseDataToJSON,
|
|
29919
|
+
SendTemplateTestEmail202ResponseDataToJSONTyped,
|
|
29920
|
+
SendTemplateTestEmail202ResponseFromJSON,
|
|
29921
|
+
SendTemplateTestEmail202ResponseFromJSONTyped,
|
|
29922
|
+
SendTemplateTestEmail202ResponseMetaFromJSON,
|
|
29923
|
+
SendTemplateTestEmail202ResponseMetaFromJSONTyped,
|
|
29924
|
+
SendTemplateTestEmail202ResponseMetaToJSON,
|
|
29925
|
+
SendTemplateTestEmail202ResponseMetaToJSONTyped,
|
|
29926
|
+
SendTemplateTestEmail202ResponseToJSON,
|
|
29927
|
+
SendTemplateTestEmail202ResponseToJSONTyped,
|
|
28473
29928
|
SendTemplateTestEmailRequestFromJSON,
|
|
28474
29929
|
SendTemplateTestEmailRequestFromJSONTyped,
|
|
28475
29930
|
SendTemplateTestEmailRequestToJSON,
|
|
@@ -28506,6 +29961,14 @@ var SDK_VERSION = "0.1.0";
|
|
|
28506
29961
|
SetDomainInboundRequestFromJSONTyped,
|
|
28507
29962
|
SetDomainInboundRequestToJSON,
|
|
28508
29963
|
SetDomainInboundRequestToJSONTyped,
|
|
29964
|
+
SetEndUserClaims200ResponseDataFromJSON,
|
|
29965
|
+
SetEndUserClaims200ResponseDataFromJSONTyped,
|
|
29966
|
+
SetEndUserClaims200ResponseDataToJSON,
|
|
29967
|
+
SetEndUserClaims200ResponseDataToJSONTyped,
|
|
29968
|
+
SetEndUserClaims200ResponseFromJSON,
|
|
29969
|
+
SetEndUserClaims200ResponseFromJSONTyped,
|
|
29970
|
+
SetEndUserClaims200ResponseToJSON,
|
|
29971
|
+
SetEndUserClaims200ResponseToJSONTyped,
|
|
28509
29972
|
SetEndUserClaimsRequestFromJSON,
|
|
28510
29973
|
SetEndUserClaimsRequestFromJSONTyped,
|
|
28511
29974
|
SetEndUserClaimsRequestToJSON,
|
|
@@ -28783,6 +30246,19 @@ var SDK_VERSION = "0.1.0";
|
|
|
28783
30246
|
UpdateOrganizationRequestFromJSONTyped,
|
|
28784
30247
|
UpdateOrganizationRequestToJSON,
|
|
28785
30248
|
UpdateOrganizationRequestToJSONTyped,
|
|
30249
|
+
UpdateSubscriberPreferences200ResponseDataFromJSON,
|
|
30250
|
+
UpdateSubscriberPreferences200ResponseDataFromJSONTyped,
|
|
30251
|
+
UpdateSubscriberPreferences200ResponseDataPreferencesInnerChannelEnum,
|
|
30252
|
+
UpdateSubscriberPreferences200ResponseDataPreferencesInnerFromJSON,
|
|
30253
|
+
UpdateSubscriberPreferences200ResponseDataPreferencesInnerFromJSONTyped,
|
|
30254
|
+
UpdateSubscriberPreferences200ResponseDataPreferencesInnerToJSON,
|
|
30255
|
+
UpdateSubscriberPreferences200ResponseDataPreferencesInnerToJSONTyped,
|
|
30256
|
+
UpdateSubscriberPreferences200ResponseDataToJSON,
|
|
30257
|
+
UpdateSubscriberPreferences200ResponseDataToJSONTyped,
|
|
30258
|
+
UpdateSubscriberPreferences200ResponseFromJSON,
|
|
30259
|
+
UpdateSubscriberPreferences200ResponseFromJSONTyped,
|
|
30260
|
+
UpdateSubscriberPreferences200ResponseToJSON,
|
|
30261
|
+
UpdateSubscriberPreferences200ResponseToJSONTyped,
|
|
28786
30262
|
UpdateSubscriberPreferencesRequestFromJSON,
|
|
28787
30263
|
UpdateSubscriberPreferencesRequestFromJSONTyped,
|
|
28788
30264
|
UpdateSubscriberPreferencesRequestPreferencesInnerChannelEnum,
|
|
@@ -28810,11 +30286,19 @@ var SDK_VERSION = "0.1.0";
|
|
|
28810
30286
|
UpdateWaaSApplicationRequestStatusEnum,
|
|
28811
30287
|
UpdateWaaSApplicationRequestToJSON,
|
|
28812
30288
|
UpdateWaaSApplicationRequestToJSONTyped,
|
|
30289
|
+
UpdateWaaSEndpoint200ResponseFromJSON,
|
|
30290
|
+
UpdateWaaSEndpoint200ResponseFromJSONTyped,
|
|
30291
|
+
UpdateWaaSEndpoint200ResponseToJSON,
|
|
30292
|
+
UpdateWaaSEndpoint200ResponseToJSONTyped,
|
|
28813
30293
|
UpdateWaaSEndpointRequestFromJSON,
|
|
28814
30294
|
UpdateWaaSEndpointRequestFromJSONTyped,
|
|
28815
30295
|
UpdateWaaSEndpointRequestStatusEnum,
|
|
28816
30296
|
UpdateWaaSEndpointRequestToJSON,
|
|
28817
30297
|
UpdateWaaSEndpointRequestToJSONTyped,
|
|
30298
|
+
UpdateWaaSEventType200ResponseFromJSON,
|
|
30299
|
+
UpdateWaaSEventType200ResponseFromJSONTyped,
|
|
30300
|
+
UpdateWaaSEventType200ResponseToJSON,
|
|
30301
|
+
UpdateWaaSEventType200ResponseToJSONTyped,
|
|
28818
30302
|
UpdateWaaSEventTypeRequestFromJSON,
|
|
28819
30303
|
UpdateWaaSEventTypeRequestFromJSONTyped,
|
|
28820
30304
|
UpdateWaaSEventTypeRequestToJSON,
|
|
@@ -29270,6 +30754,8 @@ var SDK_VERSION = "0.1.0";
|
|
|
29270
30754
|
instanceOfCategory,
|
|
29271
30755
|
instanceOfCategoryListResponse,
|
|
29272
30756
|
instanceOfCategoryResponse,
|
|
30757
|
+
instanceOfCloseWaaSEndpointCircuit200Response,
|
|
30758
|
+
instanceOfCloseWaaSEndpointCircuit200ResponseData,
|
|
29273
30759
|
instanceOfConfirmEmailVerificationRequest,
|
|
29274
30760
|
instanceOfConfirmEmailVerificationResponse,
|
|
29275
30761
|
instanceOfConfirmEmailVerificationResponseData,
|
|
@@ -29345,7 +30831,25 @@ var SDK_VERSION = "0.1.0";
|
|
|
29345
30831
|
instanceOfGenerateWaaSPortalToken201Response,
|
|
29346
30832
|
instanceOfGetDomain200Response,
|
|
29347
30833
|
instanceOfGetDomain200ResponseMeta,
|
|
30834
|
+
instanceOfGetEndUserById200Response,
|
|
30835
|
+
instanceOfGetEndUserClaims200Response,
|
|
30836
|
+
instanceOfGetEndUserClaims200ResponseData,
|
|
30837
|
+
instanceOfGetSubscriberInboxPreferences200Response,
|
|
30838
|
+
instanceOfGetSubscriberInboxPreferences200ResponseData,
|
|
30839
|
+
instanceOfGetSubscriberInboxPreferences200ResponseDataCategoriesInner,
|
|
30840
|
+
instanceOfGetSubscriberInboxPreferences200ResponseDataCategoriesInnerCategory,
|
|
30841
|
+
instanceOfGetSubscriberInboxPreferences200ResponseDataGlobal,
|
|
30842
|
+
instanceOfGetSubscriberInboxPreferences200ResponseDataGlobalChannelsInner,
|
|
30843
|
+
instanceOfGetSubscriberNotification200Response,
|
|
30844
|
+
instanceOfGetSubscriberUnreadCount200Response,
|
|
30845
|
+
instanceOfGetWaaSDelivery200Response,
|
|
29348
30846
|
instanceOfGetWaaSEndpoint200Response,
|
|
30847
|
+
instanceOfGetWaaSEndpointCircuit200Response,
|
|
30848
|
+
instanceOfGetWaaSEndpointCircuit200ResponseData,
|
|
30849
|
+
instanceOfGetWaaSEndpointMetrics200Response,
|
|
30850
|
+
instanceOfGetWaaSEndpointMetrics200ResponseData,
|
|
30851
|
+
instanceOfGetWaaSEndpointMetrics200ResponseDataHealth,
|
|
30852
|
+
instanceOfGetWaaSEndpointMetrics200ResponseDataWindowsValue,
|
|
29349
30853
|
instanceOfGetWaaSUsage200Response,
|
|
29350
30854
|
instanceOfInAppNotification,
|
|
29351
30855
|
instanceOfInboundAttachmentUrlResponse,
|
|
@@ -29359,13 +30863,16 @@ var SDK_VERSION = "0.1.0";
|
|
|
29359
30863
|
instanceOfInboxListMeta,
|
|
29360
30864
|
instanceOfInboxListResponse,
|
|
29361
30865
|
instanceOfInboxNotificationResponse,
|
|
30866
|
+
instanceOfInviteEndUser200Response,
|
|
30867
|
+
instanceOfInviteEndUser200ResponseData,
|
|
29362
30868
|
instanceOfInviteEndUserRequest,
|
|
30869
|
+
instanceOfListEndUsers200Response,
|
|
30870
|
+
instanceOfListEndUsers200ResponseMeta,
|
|
29363
30871
|
instanceOfListWaaSApplications200Response,
|
|
29364
30872
|
instanceOfListWaaSEndpointDeliveries200Response,
|
|
29365
30873
|
instanceOfListWaaSEndpoints200Response,
|
|
29366
30874
|
instanceOfListWaaSEventTypes200Response,
|
|
29367
30875
|
instanceOfListWorkflowExecutions200Response,
|
|
29368
|
-
instanceOfListWorkflowExecutions200ResponseMeta,
|
|
29369
30876
|
instanceOfListWorkflows200Response,
|
|
29370
30877
|
instanceOfListWorkflows200ResponseMeta,
|
|
29371
30878
|
instanceOfLoginRequest,
|
|
@@ -29376,6 +30883,7 @@ var SDK_VERSION = "0.1.0";
|
|
|
29376
30883
|
instanceOfMarkAllInboxReadRequest,
|
|
29377
30884
|
instanceOfMarkAllReadData,
|
|
29378
30885
|
instanceOfMarkAllReadResponse,
|
|
30886
|
+
instanceOfMarkAllSubscriberNotificationsRead200Response,
|
|
29379
30887
|
instanceOfMarkAllSubscriberNotificationsReadRequest,
|
|
29380
30888
|
instanceOfMarkInboxReadRequest,
|
|
29381
30889
|
instanceOfMfaBackupCodesResponse,
|
|
@@ -29472,6 +30980,8 @@ var SDK_VERSION = "0.1.0";
|
|
|
29472
30980
|
instanceOfRevokeAllSessionsResponse,
|
|
29473
30981
|
instanceOfRevokeAllSessionsResponseData,
|
|
29474
30982
|
instanceOfRevokeSessionRequest,
|
|
30983
|
+
instanceOfRotateWaaSEndpointSecret200Response,
|
|
30984
|
+
instanceOfRotateWaaSEndpointSecret200ResponseData,
|
|
29475
30985
|
instanceOfSendBatchEmailRequest,
|
|
29476
30986
|
instanceOfSendBatchEmailResponse,
|
|
29477
30987
|
instanceOfSendBatchEmailResult,
|
|
@@ -29504,6 +31014,9 @@ var SDK_VERSION = "0.1.0";
|
|
|
29504
31014
|
instanceOfSendSmsData,
|
|
29505
31015
|
instanceOfSendSmsRequest,
|
|
29506
31016
|
instanceOfSendSmsResponse,
|
|
31017
|
+
instanceOfSendTemplateTestEmail202Response,
|
|
31018
|
+
instanceOfSendTemplateTestEmail202ResponseData,
|
|
31019
|
+
instanceOfSendTemplateTestEmail202ResponseMeta,
|
|
29507
31020
|
instanceOfSendTemplateTestEmailRequest,
|
|
29508
31021
|
instanceOfSendTestSmsData,
|
|
29509
31022
|
instanceOfSendTestSmsRequest,
|
|
@@ -29513,6 +31026,8 @@ var SDK_VERSION = "0.1.0";
|
|
|
29513
31026
|
instanceOfSessionListResponseData,
|
|
29514
31027
|
instanceOfSessionListResponseDataSessionInfo,
|
|
29515
31028
|
instanceOfSetDomainInboundRequest,
|
|
31029
|
+
instanceOfSetEndUserClaims200Response,
|
|
31030
|
+
instanceOfSetEndUserClaims200ResponseData,
|
|
29516
31031
|
instanceOfSetEndUserClaimsRequest,
|
|
29517
31032
|
instanceOfSetPreferencesRequest,
|
|
29518
31033
|
instanceOfSetPreferencesRequestPreferencesInner,
|
|
@@ -29579,13 +31094,18 @@ var SDK_VERSION = "0.1.0";
|
|
|
29579
31094
|
instanceOfUpdateEndUserRequest,
|
|
29580
31095
|
instanceOfUpdateOrganizationMemberRoleRequest,
|
|
29581
31096
|
instanceOfUpdateOrganizationRequest,
|
|
31097
|
+
instanceOfUpdateSubscriberPreferences200Response,
|
|
31098
|
+
instanceOfUpdateSubscriberPreferences200ResponseData,
|
|
31099
|
+
instanceOfUpdateSubscriberPreferences200ResponseDataPreferencesInner,
|
|
29582
31100
|
instanceOfUpdateSubscriberPreferencesRequest,
|
|
29583
31101
|
instanceOfUpdateSubscriberPreferencesRequestPreferencesInner,
|
|
29584
31102
|
instanceOfUpdateSubscriberRequest,
|
|
29585
31103
|
instanceOfUpdateTemplateRequest,
|
|
29586
31104
|
instanceOfUpdateTopicRequest,
|
|
29587
31105
|
instanceOfUpdateWaaSApplicationRequest,
|
|
31106
|
+
instanceOfUpdateWaaSEndpoint200Response,
|
|
29588
31107
|
instanceOfUpdateWaaSEndpointRequest,
|
|
31108
|
+
instanceOfUpdateWaaSEventType200Response,
|
|
29589
31109
|
instanceOfUpdateWaaSEventTypeRequest,
|
|
29590
31110
|
instanceOfUpdateWebhookRequest,
|
|
29591
31111
|
instanceOfUpdateWorkflowRequest,
|