@novu/api 0.0.1-alpha.191 → 0.0.1-alpha.192
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/docs/sdks/messages/README.md +1 -1
- package/docs/sdks/novu/README.md +3 -0
- package/docs/sdks/preferences/README.md +1 -1
- package/docs/sdks/stats/README.md +1 -1
- package/docs/sdks/subscribers/README.md +2 -2
- package/funcs/messagesDeleteByTransactionId.d.ts +1 -1
- package/funcs/messagesDeleteByTransactionId.d.ts.map +1 -1
- package/funcs/messagesDeleteByTransactionId.js +2 -2
- package/funcs/messagesDeleteByTransactionId.js.map +1 -1
- package/funcs/notificationsStatsGraph.d.ts +1 -1
- package/funcs/notificationsStatsGraph.d.ts.map +1 -1
- package/funcs/notificationsStatsGraph.js +2 -2
- package/funcs/notificationsStatsGraph.js.map +1 -1
- package/funcs/subscribersList.d.ts +1 -1
- package/funcs/subscribersList.d.ts.map +1 -1
- package/funcs/subscribersList.js +3 -3
- package/funcs/subscribersList.js.map +1 -1
- package/funcs/subscribersPreferencesList.d.ts +1 -1
- package/funcs/subscribersPreferencesList.d.ts.map +1 -1
- package/funcs/subscribersPreferencesList.js +2 -2
- package/funcs/subscribersPreferencesList.js.map +1 -1
- package/funcs/subscribersRetrieve.d.ts +1 -1
- package/funcs/subscribersRetrieve.d.ts.map +1 -1
- package/funcs/subscribersRetrieve.js +2 -2
- package/funcs/subscribersRetrieve.js.map +1 -1
- package/funcs/testApiRateLimitBulkControllerGlobalCategoryNoCostOverride.d.ts +1 -1
- package/funcs/testApiRateLimitBulkControllerGlobalCategoryNoCostOverride.d.ts.map +1 -1
- package/funcs/testApiRateLimitBulkControllerGlobalCategoryNoCostOverride.js +17 -1
- package/funcs/testApiRateLimitBulkControllerGlobalCategoryNoCostOverride.js.map +1 -1
- package/funcs/testApiRateLimitBulkControllerNoCategoryNoCostOverride.d.ts +1 -1
- package/funcs/testApiRateLimitBulkControllerNoCategoryNoCostOverride.d.ts.map +1 -1
- package/funcs/testApiRateLimitBulkControllerNoCategoryNoCostOverride.js +17 -1
- package/funcs/testApiRateLimitBulkControllerNoCategoryNoCostOverride.js.map +1 -1
- package/funcs/testApiRateLimitBulkControllerNoCategorySingleCostOverride.d.ts +1 -1
- package/funcs/testApiRateLimitBulkControllerNoCategorySingleCostOverride.d.ts.map +1 -1
- package/funcs/testApiRateLimitBulkControllerNoCategorySingleCostOverride.js +17 -1
- package/funcs/testApiRateLimitBulkControllerNoCategorySingleCostOverride.js.map +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/models/operations/eventscontrollercancel.d.ts +2 -2
- package/models/operations/eventscontrollercancel.d.ts.map +1 -1
- package/models/operations/eventscontrollercancel.js +2 -2
- package/models/operations/eventscontrollercancel.js.map +1 -1
- package/models/operations/index.d.ts +3 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +3 -0
- package/models/operations/index.js.map +1 -1
- package/models/operations/integrationscontrollergetwebhooksupportstatus.d.ts +2 -2
- package/models/operations/integrationscontrollergetwebhooksupportstatus.d.ts.map +1 -1
- package/models/operations/integrationscontrollergetwebhooksupportstatus.js +2 -2
- package/models/operations/integrationscontrollergetwebhooksupportstatus.js.map +1 -1
- package/models/operations/integrationscontrollerremoveintegration.d.ts +2 -2
- package/models/operations/integrationscontrollerremoveintegration.d.ts.map +1 -1
- package/models/operations/integrationscontrollerremoveintegration.js +2 -2
- package/models/operations/integrationscontrollerremoveintegration.js.map +1 -1
- package/models/operations/integrationscontrollersetintegrationasprimary.d.ts +2 -2
- package/models/operations/integrationscontrollersetintegrationasprimary.d.ts.map +1 -1
- package/models/operations/integrationscontrollersetintegrationasprimary.js +2 -2
- package/models/operations/integrationscontrollersetintegrationasprimary.js.map +1 -1
- package/models/operations/integrationscontrollerupdateintegrationbyid.d.ts +2 -2
- package/models/operations/integrationscontrollerupdateintegrationbyid.d.ts.map +1 -1
- package/models/operations/integrationscontrollerupdateintegrationbyid.js +2 -2
- package/models/operations/integrationscontrollerupdateintegrationbyid.js.map +1 -1
- package/models/operations/messagescontrollerdeletemessage.d.ts +2 -2
- package/models/operations/messagescontrollerdeletemessage.d.ts.map +1 -1
- package/models/operations/messagescontrollerdeletemessage.js +2 -2
- package/models/operations/messagescontrollerdeletemessage.js.map +1 -1
- package/models/operations/messagescontrollerdeletemessagesbytransactionid.d.ts +5 -5
- package/models/operations/messagescontrollerdeletemessagesbytransactionid.d.ts.map +1 -1
- package/models/operations/messagescontrollerdeletemessagesbytransactionid.js +2 -2
- package/models/operations/messagescontrollerdeletemessagesbytransactionid.js.map +1 -1
- package/models/operations/messagescontrollergetmessages.d.ts +5 -5
- package/models/operations/messagescontrollergetmessages.d.ts.map +1 -1
- package/models/operations/messagescontrollergetmessages.js +2 -2
- package/models/operations/messagescontrollergetmessages.js.map +1 -1
- package/models/operations/notificationscontrollergetactivitygraphstats.d.ts +2 -2
- package/models/operations/notificationscontrollergetactivitygraphstats.d.ts.map +1 -1
- package/models/operations/notificationscontrollergetactivitygraphstats.js +2 -2
- package/models/operations/notificationscontrollergetactivitygraphstats.js.map +1 -1
- package/models/operations/notificationscontrollergetnotification.d.ts +2 -2
- package/models/operations/notificationscontrollergetnotification.d.ts.map +1 -1
- package/models/operations/notificationscontrollergetnotification.js +2 -2
- package/models/operations/notificationscontrollergetnotification.js.map +1 -1
- package/models/operations/notificationscontrollerlistnotifications.d.ts +5 -5
- package/models/operations/notificationscontrollerlistnotifications.d.ts.map +1 -1
- package/models/operations/notificationscontrollerlistnotifications.js +2 -2
- package/models/operations/notificationscontrollerlistnotifications.js.map +1 -1
- package/models/operations/subscriberscontrollerchataccessoauth.d.ts +5 -5
- package/models/operations/subscriberscontrollerchataccessoauth.d.ts.map +1 -1
- package/models/operations/subscriberscontrollerchataccessoauth.js +2 -2
- package/models/operations/subscriberscontrollerchataccessoauth.js.map +1 -1
- package/models/operations/subscriberscontrollerchatoauthcallback.d.ts +5 -5
- package/models/operations/subscriberscontrollerchatoauthcallback.d.ts.map +1 -1
- package/models/operations/subscriberscontrollerchatoauthcallback.js +2 -2
- package/models/operations/subscriberscontrollerchatoauthcallback.js.map +1 -1
- package/models/operations/subscriberscontrollerdeletesubscribercredentials.d.ts +3 -3
- package/models/operations/subscriberscontrollerdeletesubscribercredentials.d.ts.map +1 -1
- package/models/operations/subscriberscontrollerdeletesubscribercredentials.js +2 -2
- package/models/operations/subscriberscontrollerdeletesubscribercredentials.js.map +1 -1
- package/models/operations/subscriberscontrollergetnotificationsfeed.d.ts +5 -5
- package/models/operations/subscriberscontrollergetnotificationsfeed.d.ts.map +1 -1
- package/models/operations/subscriberscontrollergetnotificationsfeed.js +2 -2
- package/models/operations/subscriberscontrollergetnotificationsfeed.js.map +1 -1
- package/models/operations/subscriberscontrollergetsubscriber.d.ts +5 -5
- package/models/operations/subscriberscontrollergetsubscriber.d.ts.map +1 -1
- package/models/operations/subscriberscontrollergetsubscriber.js +2 -2
- package/models/operations/subscriberscontrollergetsubscriber.js.map +1 -1
- package/models/operations/subscriberscontrollergetsubscriberpreferencebylevel.d.ts +5 -5
- package/models/operations/subscriberscontrollergetsubscriberpreferencebylevel.d.ts.map +1 -1
- package/models/operations/subscriberscontrollergetsubscriberpreferencebylevel.js +2 -2
- package/models/operations/subscriberscontrollergetsubscriberpreferencebylevel.js.map +1 -1
- package/models/operations/subscriberscontrollergetunseencount.d.ts +5 -5
- package/models/operations/subscriberscontrollergetunseencount.d.ts.map +1 -1
- package/models/operations/subscriberscontrollergetunseencount.js +2 -2
- package/models/operations/subscriberscontrollergetunseencount.js.map +1 -1
- package/models/operations/subscriberscontrollerlistsubscriberpreferences.d.ts +5 -5
- package/models/operations/subscriberscontrollerlistsubscriberpreferences.d.ts.map +1 -1
- package/models/operations/subscriberscontrollerlistsubscriberpreferences.js +2 -2
- package/models/operations/subscriberscontrollerlistsubscriberpreferences.js.map +1 -1
- package/models/operations/subscriberscontrollerlistsubscribers.d.ts +3 -3
- package/models/operations/subscriberscontrollerlistsubscribers.d.ts.map +1 -1
- package/models/operations/subscriberscontrollerlistsubscribers.js +2 -2
- package/models/operations/subscriberscontrollerlistsubscribers.js.map +1 -1
- package/models/operations/subscriberscontrollermarkactionasseen.d.ts +4 -4
- package/models/operations/subscriberscontrollermarkactionasseen.d.ts.map +1 -1
- package/models/operations/subscriberscontrollermarkactionasseen.js +2 -2
- package/models/operations/subscriberscontrollermarkactionasseen.js.map +1 -1
- package/models/operations/subscriberscontrollermarkallunreadasread.d.ts +2 -2
- package/models/operations/subscriberscontrollermarkallunreadasread.d.ts.map +1 -1
- package/models/operations/subscriberscontrollermarkallunreadasread.js +2 -2
- package/models/operations/subscriberscontrollermarkallunreadasread.js.map +1 -1
- package/models/operations/subscriberscontrollermarkmessagesas.d.ts +2 -2
- package/models/operations/subscriberscontrollermarkmessagesas.d.ts.map +1 -1
- package/models/operations/subscriberscontrollermarkmessagesas.js +2 -2
- package/models/operations/subscriberscontrollermarkmessagesas.js.map +1 -1
- package/models/operations/subscriberscontrollermodifysubscriberchannel.d.ts +2 -2
- package/models/operations/subscriberscontrollermodifysubscriberchannel.d.ts.map +1 -1
- package/models/operations/subscriberscontrollermodifysubscriberchannel.js +2 -2
- package/models/operations/subscriberscontrollermodifysubscriberchannel.js.map +1 -1
- package/models/operations/subscriberscontrollerremovesubscriber.d.ts +2 -2
- package/models/operations/subscriberscontrollerremovesubscriber.d.ts.map +1 -1
- package/models/operations/subscriberscontrollerremovesubscriber.js +2 -2
- package/models/operations/subscriberscontrollerremovesubscriber.js.map +1 -1
- package/models/operations/subscriberscontrollerupdatesubscriber.d.ts +2 -2
- package/models/operations/subscriberscontrollerupdatesubscriber.d.ts.map +1 -1
- package/models/operations/subscriberscontrollerupdatesubscriber.js +2 -2
- package/models/operations/subscriberscontrollerupdatesubscriber.js.map +1 -1
- package/models/operations/subscriberscontrollerupdatesubscriberchannel.d.ts +2 -2
- package/models/operations/subscriberscontrollerupdatesubscriberchannel.d.ts.map +1 -1
- package/models/operations/subscriberscontrollerupdatesubscriberchannel.js +2 -2
- package/models/operations/subscriberscontrollerupdatesubscriberchannel.js.map +1 -1
- package/models/operations/subscriberscontrollerupdatesubscriberglobalpreferences.d.ts +2 -2
- package/models/operations/subscriberscontrollerupdatesubscriberglobalpreferences.d.ts.map +1 -1
- package/models/operations/subscriberscontrollerupdatesubscriberglobalpreferences.js +2 -2
- package/models/operations/subscriberscontrollerupdatesubscriberglobalpreferences.js.map +1 -1
- package/models/operations/subscriberscontrollerupdatesubscriberonlineflag.d.ts +2 -2
- package/models/operations/subscriberscontrollerupdatesubscriberonlineflag.d.ts.map +1 -1
- package/models/operations/subscriberscontrollerupdatesubscriberonlineflag.js +2 -2
- package/models/operations/subscriberscontrollerupdatesubscriberonlineflag.js.map +1 -1
- package/models/operations/subscriberscontrollerupdatesubscriberpreference.d.ts +3 -3
- package/models/operations/subscriberscontrollerupdatesubscriberpreference.d.ts.map +1 -1
- package/models/operations/subscriberscontrollerupdatesubscriberpreference.js +2 -2
- package/models/operations/subscriberscontrollerupdatesubscriberpreference.js.map +1 -1
- package/models/operations/testapiratelimitbulkcontrollerglobalcategorynocostoverride.d.ts +32 -0
- package/models/operations/testapiratelimitbulkcontrollerglobalcategorynocostoverride.d.ts.map +1 -0
- package/models/operations/testapiratelimitbulkcontrollerglobalcategorynocostoverride.js +70 -0
- package/models/operations/testapiratelimitbulkcontrollerglobalcategorynocostoverride.js.map +1 -0
- package/models/operations/testapiratelimitbulkcontrollernocategorynocostoverride.d.ts +32 -0
- package/models/operations/testapiratelimitbulkcontrollernocategorynocostoverride.d.ts.map +1 -0
- package/models/operations/testapiratelimitbulkcontrollernocategorynocostoverride.js +70 -0
- package/models/operations/testapiratelimitbulkcontrollernocategorynocostoverride.js.map +1 -0
- package/models/operations/testapiratelimitbulkcontrollernocategorysinglecostoverride.d.ts +32 -0
- package/models/operations/testapiratelimitbulkcontrollernocategorysinglecostoverride.d.ts.map +1 -0
- package/models/operations/testapiratelimitbulkcontrollernocategorysinglecostoverride.js +70 -0
- package/models/operations/testapiratelimitbulkcontrollernocategorysinglecostoverride.js.map +1 -0
- package/models/operations/topicscontrollerassign.d.ts +5 -5
- package/models/operations/topicscontrollerassign.d.ts.map +1 -1
- package/models/operations/topicscontrollerassign.js +2 -2
- package/models/operations/topicscontrollerassign.js.map +1 -1
- package/models/operations/topicscontrollerdeletetopic.d.ts +5 -5
- package/models/operations/topicscontrollerdeletetopic.d.ts.map +1 -1
- package/models/operations/topicscontrollerdeletetopic.js +2 -2
- package/models/operations/topicscontrollerdeletetopic.js.map +1 -1
- package/models/operations/topicscontrollergettopic.d.ts +5 -5
- package/models/operations/topicscontrollergettopic.d.ts.map +1 -1
- package/models/operations/topicscontrollergettopic.js +2 -2
- package/models/operations/topicscontrollergettopic.js.map +1 -1
- package/models/operations/topicscontrollergettopicsubscriber.d.ts +5 -5
- package/models/operations/topicscontrollergettopicsubscriber.d.ts.map +1 -1
- package/models/operations/topicscontrollergettopicsubscriber.js +2 -2
- package/models/operations/topicscontrollergettopicsubscriber.js.map +1 -1
- package/models/operations/topicscontrollerlisttopics.d.ts +5 -5
- package/models/operations/topicscontrollerlisttopics.d.ts.map +1 -1
- package/models/operations/topicscontrollerlisttopics.js +2 -2
- package/models/operations/topicscontrollerlisttopics.js.map +1 -1
- package/models/operations/topicscontrollerremovesubscribers.d.ts +5 -5
- package/models/operations/topicscontrollerremovesubscribers.d.ts.map +1 -1
- package/models/operations/topicscontrollerremovesubscribers.js +2 -2
- package/models/operations/topicscontrollerremovesubscribers.js.map +1 -1
- package/models/operations/topicscontrollerrenametopic.d.ts +5 -5
- package/models/operations/topicscontrollerrenametopic.d.ts.map +1 -1
- package/models/operations/topicscontrollerrenametopic.js +2 -2
- package/models/operations/topicscontrollerrenametopic.js.map +1 -1
- package/package.json +1 -1
- package/sdk/messages.d.ts +1 -1
- package/sdk/messages.d.ts.map +1 -1
- package/sdk/messages.js +2 -2
- package/sdk/messages.js.map +1 -1
- package/sdk/preferences.d.ts +1 -1
- package/sdk/preferences.d.ts.map +1 -1
- package/sdk/preferences.js +2 -2
- package/sdk/preferences.js.map +1 -1
- package/sdk/sdk.d.ts +3 -3
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +6 -6
- package/sdk/sdk.js.map +1 -1
- package/sdk/stats.d.ts +1 -1
- package/sdk/stats.d.ts.map +1 -1
- package/sdk/stats.js +2 -2
- package/sdk/stats.js.map +1 -1
- package/sdk/subscribers.d.ts +2 -2
- package/sdk/subscribers.d.ts.map +1 -1
- package/sdk/subscribers.js +4 -4
- package/sdk/subscribers.js.map +1 -1
- package/src/funcs/messagesDeleteByTransactionId.ts +2 -2
- package/src/funcs/notificationsStatsGraph.ts +2 -2
- package/src/funcs/subscribersList.ts +3 -3
- package/src/funcs/subscribersPreferencesList.ts +2 -2
- package/src/funcs/subscribersRetrieve.ts +2 -2
- package/src/funcs/testApiRateLimitBulkControllerGlobalCategoryNoCostOverride.ts +30 -0
- package/src/funcs/testApiRateLimitBulkControllerNoCategoryNoCostOverride.ts +29 -0
- package/src/funcs/testApiRateLimitBulkControllerNoCategorySingleCostOverride.ts +30 -0
- package/src/lib/config.ts +3 -3
- package/src/models/operations/eventscontrollercancel.ts +4 -4
- package/src/models/operations/index.ts +3 -0
- package/src/models/operations/integrationscontrollergetwebhooksupportstatus.ts +4 -4
- package/src/models/operations/integrationscontrollerremoveintegration.ts +4 -4
- package/src/models/operations/integrationscontrollersetintegrationasprimary.ts +4 -4
- package/src/models/operations/integrationscontrollerupdateintegrationbyid.ts +4 -4
- package/src/models/operations/messagescontrollerdeletemessage.ts +4 -4
- package/src/models/operations/messagescontrollerdeletemessagesbytransactionid.ts +7 -7
- package/src/models/operations/messagescontrollergetmessages.ts +7 -7
- package/src/models/operations/notificationscontrollergetactivitygraphstats.ts +4 -4
- package/src/models/operations/notificationscontrollergetnotification.ts +4 -4
- package/src/models/operations/notificationscontrollerlistnotifications.ts +7 -7
- package/src/models/operations/subscriberscontrollerchataccessoauth.ts +7 -7
- package/src/models/operations/subscriberscontrollerchatoauthcallback.ts +7 -7
- package/src/models/operations/subscriberscontrollerdeletesubscribercredentials.ts +5 -5
- package/src/models/operations/subscriberscontrollergetnotificationsfeed.ts +7 -7
- package/src/models/operations/subscriberscontrollergetsubscriber.ts +7 -7
- package/src/models/operations/subscriberscontrollergetsubscriberpreferencebylevel.ts +7 -7
- package/src/models/operations/subscriberscontrollergetunseencount.ts +7 -7
- package/src/models/operations/subscriberscontrollerlistsubscriberpreferences.ts +7 -7
- package/src/models/operations/subscriberscontrollerlistsubscribers.ts +5 -5
- package/src/models/operations/subscriberscontrollermarkactionasseen.ts +6 -6
- package/src/models/operations/subscriberscontrollermarkallunreadasread.ts +4 -4
- package/src/models/operations/subscriberscontrollermarkmessagesas.ts +4 -4
- package/src/models/operations/subscriberscontrollermodifysubscriberchannel.ts +4 -4
- package/src/models/operations/subscriberscontrollerremovesubscriber.ts +4 -4
- package/src/models/operations/subscriberscontrollerupdatesubscriber.ts +4 -4
- package/src/models/operations/subscriberscontrollerupdatesubscriberchannel.ts +4 -4
- package/src/models/operations/subscriberscontrollerupdatesubscriberglobalpreferences.ts +4 -4
- package/src/models/operations/subscriberscontrollerupdatesubscriberonlineflag.ts +4 -4
- package/src/models/operations/subscriberscontrollerupdatesubscriberpreference.ts +5 -5
- package/src/models/operations/testapiratelimitbulkcontrollerglobalcategorynocostoverride.ts +92 -0
- package/src/models/operations/testapiratelimitbulkcontrollernocategorynocostoverride.ts +91 -0
- package/src/models/operations/testapiratelimitbulkcontrollernocategorysinglecostoverride.ts +92 -0
- package/src/models/operations/topicscontrollerassign.ts +7 -7
- package/src/models/operations/topicscontrollerdeletetopic.ts +7 -7
- package/src/models/operations/topicscontrollergettopic.ts +7 -7
- package/src/models/operations/topicscontrollergettopicsubscriber.ts +7 -7
- package/src/models/operations/topicscontrollerlisttopics.ts +7 -7
- package/src/models/operations/topicscontrollerremovesubscribers.ts +7 -7
- package/src/models/operations/topicscontrollerrenametopic.ts +7 -7
- package/src/sdk/messages.ts +2 -2
- package/src/sdk/preferences.ts +2 -2
- package/src/sdk/sdk.ts +6 -0
- package/src/sdk/stats.ts +2 -2
- package/src/sdk/subscribers.ts +4 -4
|
@@ -23,10 +23,6 @@ export const Parameter = {
|
|
|
23
23
|
export type Parameter = ClosedEnum<typeof Parameter>;
|
|
24
24
|
|
|
25
25
|
export type SubscribersControllerGetSubscriberPreferenceByLevelRequest = {
|
|
26
|
-
/**
|
|
27
|
-
* A header for idempotency purposes
|
|
28
|
-
*/
|
|
29
|
-
idempotencyKey?: string | undefined;
|
|
30
26
|
/**
|
|
31
27
|
* A flag which specifies if the inactive workflow channels should be included in the retrieved preferences. Default is true
|
|
32
28
|
*/
|
|
@@ -36,6 +32,10 @@ export type SubscribersControllerGetSubscriberPreferenceByLevelRequest = {
|
|
|
36
32
|
*/
|
|
37
33
|
preferenceLevel: Parameter;
|
|
38
34
|
subscriberId: string;
|
|
35
|
+
/**
|
|
36
|
+
* A header for idempotency purposes
|
|
37
|
+
*/
|
|
38
|
+
idempotencyKey?: string | undefined;
|
|
39
39
|
};
|
|
40
40
|
|
|
41
41
|
export type SubscribersControllerGetSubscriberPreferenceByLevelResponse = {
|
|
@@ -69,10 +69,10 @@ export const SubscribersControllerGetSubscriberPreferenceByLevelRequest$inboundS
|
|
|
69
69
|
z.ZodTypeDef,
|
|
70
70
|
unknown
|
|
71
71
|
> = z.object({
|
|
72
|
-
"Idempotency-Key": z.string().optional(),
|
|
73
72
|
includeInactiveChannels: z.boolean().optional(),
|
|
74
73
|
preferenceLevel: Parameter$inboundSchema,
|
|
75
74
|
subscriberId: z.string(),
|
|
75
|
+
"Idempotency-Key": z.string().optional(),
|
|
76
76
|
}).transform((v) => {
|
|
77
77
|
return remap$(v, {
|
|
78
78
|
"Idempotency-Key": "idempotencyKey",
|
|
@@ -82,10 +82,10 @@ export const SubscribersControllerGetSubscriberPreferenceByLevelRequest$inboundS
|
|
|
82
82
|
/** @internal */
|
|
83
83
|
export type SubscribersControllerGetSubscriberPreferenceByLevelRequest$Outbound =
|
|
84
84
|
{
|
|
85
|
-
"Idempotency-Key"?: string | undefined;
|
|
86
85
|
includeInactiveChannels?: boolean | undefined;
|
|
87
86
|
preferenceLevel: string;
|
|
88
87
|
subscriberId: string;
|
|
88
|
+
"Idempotency-Key"?: string | undefined;
|
|
89
89
|
};
|
|
90
90
|
|
|
91
91
|
/** @internal */
|
|
@@ -95,10 +95,10 @@ export const SubscribersControllerGetSubscriberPreferenceByLevelRequest$outbound
|
|
|
95
95
|
z.ZodTypeDef,
|
|
96
96
|
SubscribersControllerGetSubscriberPreferenceByLevelRequest
|
|
97
97
|
> = z.object({
|
|
98
|
-
idempotencyKey: z.string().optional(),
|
|
99
98
|
includeInactiveChannels: z.boolean().optional(),
|
|
100
99
|
preferenceLevel: Parameter$outboundSchema,
|
|
101
100
|
subscriberId: z.string(),
|
|
101
|
+
idempotencyKey: z.string().optional(),
|
|
102
102
|
}).transform((v) => {
|
|
103
103
|
return remap$(v, {
|
|
104
104
|
idempotencyKey: "Idempotency-Key",
|
|
@@ -10,10 +10,6 @@ import * as components from "../components/index.js";
|
|
|
10
10
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
11
|
|
|
12
12
|
export type SubscribersControllerGetUnseenCountRequest = {
|
|
13
|
-
/**
|
|
14
|
-
* A header for idempotency purposes
|
|
15
|
-
*/
|
|
16
|
-
idempotencyKey?: string | undefined;
|
|
17
13
|
subscriberId: string;
|
|
18
14
|
/**
|
|
19
15
|
* Indicates whether to count seen notifications.
|
|
@@ -23,6 +19,10 @@ export type SubscribersControllerGetUnseenCountRequest = {
|
|
|
23
19
|
* The maximum number of notifications to return.
|
|
24
20
|
*/
|
|
25
21
|
limit?: number | undefined;
|
|
22
|
+
/**
|
|
23
|
+
* A header for idempotency purposes
|
|
24
|
+
*/
|
|
25
|
+
idempotencyKey?: string | undefined;
|
|
26
26
|
};
|
|
27
27
|
|
|
28
28
|
export type SubscribersControllerGetUnseenCountResponse = {
|
|
@@ -34,10 +34,10 @@ export type SubscribersControllerGetUnseenCountResponse = {
|
|
|
34
34
|
export const SubscribersControllerGetUnseenCountRequest$inboundSchema:
|
|
35
35
|
z.ZodType<SubscribersControllerGetUnseenCountRequest, z.ZodTypeDef, unknown> =
|
|
36
36
|
z.object({
|
|
37
|
-
"Idempotency-Key": z.string().optional(),
|
|
38
37
|
subscriberId: z.string(),
|
|
39
38
|
seen: z.boolean().default(false),
|
|
40
39
|
limit: z.number().default(100),
|
|
40
|
+
"Idempotency-Key": z.string().optional(),
|
|
41
41
|
}).transform((v) => {
|
|
42
42
|
return remap$(v, {
|
|
43
43
|
"Idempotency-Key": "idempotencyKey",
|
|
@@ -46,10 +46,10 @@ export const SubscribersControllerGetUnseenCountRequest$inboundSchema:
|
|
|
46
46
|
|
|
47
47
|
/** @internal */
|
|
48
48
|
export type SubscribersControllerGetUnseenCountRequest$Outbound = {
|
|
49
|
-
"Idempotency-Key"?: string | undefined;
|
|
50
49
|
subscriberId: string;
|
|
51
50
|
seen: boolean;
|
|
52
51
|
limit: number;
|
|
52
|
+
"Idempotency-Key"?: string | undefined;
|
|
53
53
|
};
|
|
54
54
|
|
|
55
55
|
/** @internal */
|
|
@@ -59,10 +59,10 @@ export const SubscribersControllerGetUnseenCountRequest$outboundSchema:
|
|
|
59
59
|
z.ZodTypeDef,
|
|
60
60
|
SubscribersControllerGetUnseenCountRequest
|
|
61
61
|
> = z.object({
|
|
62
|
-
idempotencyKey: z.string().optional(),
|
|
63
62
|
subscriberId: z.string(),
|
|
64
63
|
seen: z.boolean().default(false),
|
|
65
64
|
limit: z.number().default(100),
|
|
65
|
+
idempotencyKey: z.string().optional(),
|
|
66
66
|
}).transform((v) => {
|
|
67
67
|
return remap$(v, {
|
|
68
68
|
idempotencyKey: "Idempotency-Key",
|
|
@@ -10,15 +10,15 @@ import * as components from "../components/index.js";
|
|
|
10
10
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
11
|
|
|
12
12
|
export type SubscribersControllerListSubscriberPreferencesRequest = {
|
|
13
|
-
/**
|
|
14
|
-
* A header for idempotency purposes
|
|
15
|
-
*/
|
|
16
|
-
idempotencyKey?: string | undefined;
|
|
17
13
|
subscriberId: string;
|
|
18
14
|
/**
|
|
19
15
|
* A flag which specifies if the inactive workflow channels should be included in the retrieved preferences. Default is true
|
|
20
16
|
*/
|
|
21
17
|
includeInactiveChannels?: boolean | undefined;
|
|
18
|
+
/**
|
|
19
|
+
* A header for idempotency purposes
|
|
20
|
+
*/
|
|
21
|
+
idempotencyKey?: string | undefined;
|
|
22
22
|
};
|
|
23
23
|
|
|
24
24
|
export type SubscribersControllerListSubscriberPreferencesResponse = {
|
|
@@ -33,9 +33,9 @@ export const SubscribersControllerListSubscriberPreferencesRequest$inboundSchema
|
|
|
33
33
|
z.ZodTypeDef,
|
|
34
34
|
unknown
|
|
35
35
|
> = z.object({
|
|
36
|
-
"Idempotency-Key": z.string().optional(),
|
|
37
36
|
subscriberId: z.string(),
|
|
38
37
|
includeInactiveChannels: z.boolean().optional(),
|
|
38
|
+
"Idempotency-Key": z.string().optional(),
|
|
39
39
|
}).transform((v) => {
|
|
40
40
|
return remap$(v, {
|
|
41
41
|
"Idempotency-Key": "idempotencyKey",
|
|
@@ -44,9 +44,9 @@ export const SubscribersControllerListSubscriberPreferencesRequest$inboundSchema
|
|
|
44
44
|
|
|
45
45
|
/** @internal */
|
|
46
46
|
export type SubscribersControllerListSubscriberPreferencesRequest$Outbound = {
|
|
47
|
-
"Idempotency-Key"?: string | undefined;
|
|
48
47
|
subscriberId: string;
|
|
49
48
|
includeInactiveChannels?: boolean | undefined;
|
|
49
|
+
"Idempotency-Key"?: string | undefined;
|
|
50
50
|
};
|
|
51
51
|
|
|
52
52
|
/** @internal */
|
|
@@ -56,9 +56,9 @@ export const SubscribersControllerListSubscriberPreferencesRequest$outboundSchem
|
|
|
56
56
|
z.ZodTypeDef,
|
|
57
57
|
SubscribersControllerListSubscriberPreferencesRequest
|
|
58
58
|
> = z.object({
|
|
59
|
-
idempotencyKey: z.string().optional(),
|
|
60
59
|
subscriberId: z.string(),
|
|
61
60
|
includeInactiveChannels: z.boolean().optional(),
|
|
61
|
+
idempotencyKey: z.string().optional(),
|
|
62
62
|
}).transform((v) => {
|
|
63
63
|
return remap$(v, {
|
|
64
64
|
idempotencyKey: "Idempotency-Key",
|
|
@@ -10,12 +10,12 @@ import * as components from "../components/index.js";
|
|
|
10
10
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
11
|
|
|
12
12
|
export type SubscribersControllerListSubscribersRequest = {
|
|
13
|
+
page?: number | undefined;
|
|
14
|
+
limit?: number | undefined;
|
|
13
15
|
/**
|
|
14
16
|
* A header for idempotency purposes
|
|
15
17
|
*/
|
|
16
18
|
idempotencyKey?: string | undefined;
|
|
17
|
-
page?: number | undefined;
|
|
18
|
-
limit?: number | undefined;
|
|
19
19
|
};
|
|
20
20
|
|
|
21
21
|
export type SubscribersControllerListSubscribersResponseBody = {
|
|
@@ -46,9 +46,9 @@ export const SubscribersControllerListSubscribersRequest$inboundSchema:
|
|
|
46
46
|
z.ZodTypeDef,
|
|
47
47
|
unknown
|
|
48
48
|
> = z.object({
|
|
49
|
-
"Idempotency-Key": z.string().optional(),
|
|
50
49
|
page: z.number().optional(),
|
|
51
50
|
limit: z.number().default(10),
|
|
51
|
+
"Idempotency-Key": z.string().optional(),
|
|
52
52
|
}).transform((v) => {
|
|
53
53
|
return remap$(v, {
|
|
54
54
|
"Idempotency-Key": "idempotencyKey",
|
|
@@ -57,9 +57,9 @@ export const SubscribersControllerListSubscribersRequest$inboundSchema:
|
|
|
57
57
|
|
|
58
58
|
/** @internal */
|
|
59
59
|
export type SubscribersControllerListSubscribersRequest$Outbound = {
|
|
60
|
-
"Idempotency-Key"?: string | undefined;
|
|
61
60
|
page?: number | undefined;
|
|
62
61
|
limit: number;
|
|
62
|
+
"Idempotency-Key"?: string | undefined;
|
|
63
63
|
};
|
|
64
64
|
|
|
65
65
|
/** @internal */
|
|
@@ -69,9 +69,9 @@ export const SubscribersControllerListSubscribersRequest$outboundSchema:
|
|
|
69
69
|
z.ZodTypeDef,
|
|
70
70
|
SubscribersControllerListSubscribersRequest
|
|
71
71
|
> = z.object({
|
|
72
|
-
idempotencyKey: z.string().optional(),
|
|
73
72
|
page: z.number().optional(),
|
|
74
73
|
limit: z.number().default(10),
|
|
74
|
+
idempotencyKey: z.string().optional(),
|
|
75
75
|
}).transform((v) => {
|
|
76
76
|
return remap$(v, {
|
|
77
77
|
idempotencyKey: "Idempotency-Key",
|
|
@@ -10,13 +10,13 @@ import * as components from "../components/index.js";
|
|
|
10
10
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
11
|
|
|
12
12
|
export type SubscribersControllerMarkActionAsSeenRequest = {
|
|
13
|
+
messageId: string;
|
|
14
|
+
type?: any | undefined;
|
|
15
|
+
subscriberId: string;
|
|
13
16
|
/**
|
|
14
17
|
* A header for idempotency purposes
|
|
15
18
|
*/
|
|
16
19
|
idempotencyKey?: string | undefined;
|
|
17
|
-
messageId: string;
|
|
18
|
-
type?: any | undefined;
|
|
19
|
-
subscriberId: string;
|
|
20
20
|
markMessageActionAsSeenDto: components.MarkMessageActionAsSeenDto;
|
|
21
21
|
};
|
|
22
22
|
|
|
@@ -32,10 +32,10 @@ export const SubscribersControllerMarkActionAsSeenRequest$inboundSchema:
|
|
|
32
32
|
z.ZodTypeDef,
|
|
33
33
|
unknown
|
|
34
34
|
> = z.object({
|
|
35
|
-
"Idempotency-Key": z.string().optional(),
|
|
36
35
|
messageId: z.string(),
|
|
37
36
|
type: z.any().optional(),
|
|
38
37
|
subscriberId: z.string(),
|
|
38
|
+
"Idempotency-Key": z.string().optional(),
|
|
39
39
|
MarkMessageActionAsSeenDto:
|
|
40
40
|
components.MarkMessageActionAsSeenDto$inboundSchema,
|
|
41
41
|
}).transform((v) => {
|
|
@@ -47,10 +47,10 @@ export const SubscribersControllerMarkActionAsSeenRequest$inboundSchema:
|
|
|
47
47
|
|
|
48
48
|
/** @internal */
|
|
49
49
|
export type SubscribersControllerMarkActionAsSeenRequest$Outbound = {
|
|
50
|
-
"Idempotency-Key"?: string | undefined;
|
|
51
50
|
messageId: string;
|
|
52
51
|
type?: any | undefined;
|
|
53
52
|
subscriberId: string;
|
|
53
|
+
"Idempotency-Key"?: string | undefined;
|
|
54
54
|
MarkMessageActionAsSeenDto: components.MarkMessageActionAsSeenDto$Outbound;
|
|
55
55
|
};
|
|
56
56
|
|
|
@@ -61,10 +61,10 @@ export const SubscribersControllerMarkActionAsSeenRequest$outboundSchema:
|
|
|
61
61
|
z.ZodTypeDef,
|
|
62
62
|
SubscribersControllerMarkActionAsSeenRequest
|
|
63
63
|
> = z.object({
|
|
64
|
-
idempotencyKey: z.string().optional(),
|
|
65
64
|
messageId: z.string(),
|
|
66
65
|
type: z.any().optional(),
|
|
67
66
|
subscriberId: z.string(),
|
|
67
|
+
idempotencyKey: z.string().optional(),
|
|
68
68
|
markMessageActionAsSeenDto:
|
|
69
69
|
components.MarkMessageActionAsSeenDto$outboundSchema,
|
|
70
70
|
}).transform((v) => {
|
|
@@ -10,11 +10,11 @@ import * as components from "../components/index.js";
|
|
|
10
10
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
11
|
|
|
12
12
|
export type SubscribersControllerMarkAllUnreadAsReadRequest = {
|
|
13
|
+
subscriberId: string;
|
|
13
14
|
/**
|
|
14
15
|
* A header for idempotency purposes
|
|
15
16
|
*/
|
|
16
17
|
idempotencyKey?: string | undefined;
|
|
17
|
-
subscriberId: string;
|
|
18
18
|
markAllMessageAsRequestDto: components.MarkAllMessageAsRequestDto;
|
|
19
19
|
};
|
|
20
20
|
|
|
@@ -30,8 +30,8 @@ export const SubscribersControllerMarkAllUnreadAsReadRequest$inboundSchema:
|
|
|
30
30
|
z.ZodTypeDef,
|
|
31
31
|
unknown
|
|
32
32
|
> = z.object({
|
|
33
|
-
"Idempotency-Key": z.string().optional(),
|
|
34
33
|
subscriberId: z.string(),
|
|
34
|
+
"Idempotency-Key": z.string().optional(),
|
|
35
35
|
MarkAllMessageAsRequestDto:
|
|
36
36
|
components.MarkAllMessageAsRequestDto$inboundSchema,
|
|
37
37
|
}).transform((v) => {
|
|
@@ -43,8 +43,8 @@ export const SubscribersControllerMarkAllUnreadAsReadRequest$inboundSchema:
|
|
|
43
43
|
|
|
44
44
|
/** @internal */
|
|
45
45
|
export type SubscribersControllerMarkAllUnreadAsReadRequest$Outbound = {
|
|
46
|
-
"Idempotency-Key"?: string | undefined;
|
|
47
46
|
subscriberId: string;
|
|
47
|
+
"Idempotency-Key"?: string | undefined;
|
|
48
48
|
MarkAllMessageAsRequestDto: components.MarkAllMessageAsRequestDto$Outbound;
|
|
49
49
|
};
|
|
50
50
|
|
|
@@ -55,8 +55,8 @@ export const SubscribersControllerMarkAllUnreadAsReadRequest$outboundSchema:
|
|
|
55
55
|
z.ZodTypeDef,
|
|
56
56
|
SubscribersControllerMarkAllUnreadAsReadRequest
|
|
57
57
|
> = z.object({
|
|
58
|
-
idempotencyKey: z.string().optional(),
|
|
59
58
|
subscriberId: z.string(),
|
|
59
|
+
idempotencyKey: z.string().optional(),
|
|
60
60
|
markAllMessageAsRequestDto:
|
|
61
61
|
components.MarkAllMessageAsRequestDto$outboundSchema,
|
|
62
62
|
}).transform((v) => {
|
|
@@ -10,11 +10,11 @@ import * as components from "../components/index.js";
|
|
|
10
10
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
11
|
|
|
12
12
|
export type SubscribersControllerMarkMessagesAsRequest = {
|
|
13
|
+
subscriberId: string;
|
|
13
14
|
/**
|
|
14
15
|
* A header for idempotency purposes
|
|
15
16
|
*/
|
|
16
17
|
idempotencyKey?: string | undefined;
|
|
17
|
-
subscriberId: string;
|
|
18
18
|
messageMarkAsRequestDto: components.MessageMarkAsRequestDto;
|
|
19
19
|
};
|
|
20
20
|
|
|
@@ -27,8 +27,8 @@ export type SubscribersControllerMarkMessagesAsResponse = {
|
|
|
27
27
|
export const SubscribersControllerMarkMessagesAsRequest$inboundSchema:
|
|
28
28
|
z.ZodType<SubscribersControllerMarkMessagesAsRequest, z.ZodTypeDef, unknown> =
|
|
29
29
|
z.object({
|
|
30
|
-
"Idempotency-Key": z.string().optional(),
|
|
31
30
|
subscriberId: z.string(),
|
|
31
|
+
"Idempotency-Key": z.string().optional(),
|
|
32
32
|
MessageMarkAsRequestDto: components.MessageMarkAsRequestDto$inboundSchema,
|
|
33
33
|
}).transform((v) => {
|
|
34
34
|
return remap$(v, {
|
|
@@ -39,8 +39,8 @@ export const SubscribersControllerMarkMessagesAsRequest$inboundSchema:
|
|
|
39
39
|
|
|
40
40
|
/** @internal */
|
|
41
41
|
export type SubscribersControllerMarkMessagesAsRequest$Outbound = {
|
|
42
|
-
"Idempotency-Key"?: string | undefined;
|
|
43
42
|
subscriberId: string;
|
|
43
|
+
"Idempotency-Key"?: string | undefined;
|
|
44
44
|
MessageMarkAsRequestDto: components.MessageMarkAsRequestDto$Outbound;
|
|
45
45
|
};
|
|
46
46
|
|
|
@@ -51,8 +51,8 @@ export const SubscribersControllerMarkMessagesAsRequest$outboundSchema:
|
|
|
51
51
|
z.ZodTypeDef,
|
|
52
52
|
SubscribersControllerMarkMessagesAsRequest
|
|
53
53
|
> = z.object({
|
|
54
|
-
idempotencyKey: z.string().optional(),
|
|
55
54
|
subscriberId: z.string(),
|
|
55
|
+
idempotencyKey: z.string().optional(),
|
|
56
56
|
messageMarkAsRequestDto: components.MessageMarkAsRequestDto$outboundSchema,
|
|
57
57
|
}).transform((v) => {
|
|
58
58
|
return remap$(v, {
|
|
@@ -10,11 +10,11 @@ import * as components from "../components/index.js";
|
|
|
10
10
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
11
|
|
|
12
12
|
export type SubscribersControllerModifySubscriberChannelRequest = {
|
|
13
|
+
subscriberId: string;
|
|
13
14
|
/**
|
|
14
15
|
* A header for idempotency purposes
|
|
15
16
|
*/
|
|
16
17
|
idempotencyKey?: string | undefined;
|
|
17
|
-
subscriberId: string;
|
|
18
18
|
updateSubscriberChannelRequestDto:
|
|
19
19
|
components.UpdateSubscriberChannelRequestDto;
|
|
20
20
|
};
|
|
@@ -31,8 +31,8 @@ export const SubscribersControllerModifySubscriberChannelRequest$inboundSchema:
|
|
|
31
31
|
z.ZodTypeDef,
|
|
32
32
|
unknown
|
|
33
33
|
> = z.object({
|
|
34
|
-
"Idempotency-Key": z.string().optional(),
|
|
35
34
|
subscriberId: z.string(),
|
|
35
|
+
"Idempotency-Key": z.string().optional(),
|
|
36
36
|
UpdateSubscriberChannelRequestDto:
|
|
37
37
|
components.UpdateSubscriberChannelRequestDto$inboundSchema,
|
|
38
38
|
}).transform((v) => {
|
|
@@ -44,8 +44,8 @@ export const SubscribersControllerModifySubscriberChannelRequest$inboundSchema:
|
|
|
44
44
|
|
|
45
45
|
/** @internal */
|
|
46
46
|
export type SubscribersControllerModifySubscriberChannelRequest$Outbound = {
|
|
47
|
-
"Idempotency-Key"?: string | undefined;
|
|
48
47
|
subscriberId: string;
|
|
48
|
+
"Idempotency-Key"?: string | undefined;
|
|
49
49
|
UpdateSubscriberChannelRequestDto:
|
|
50
50
|
components.UpdateSubscriberChannelRequestDto$Outbound;
|
|
51
51
|
};
|
|
@@ -57,8 +57,8 @@ export const SubscribersControllerModifySubscriberChannelRequest$outboundSchema:
|
|
|
57
57
|
z.ZodTypeDef,
|
|
58
58
|
SubscribersControllerModifySubscriberChannelRequest
|
|
59
59
|
> = z.object({
|
|
60
|
-
idempotencyKey: z.string().optional(),
|
|
61
60
|
subscriberId: z.string(),
|
|
61
|
+
idempotencyKey: z.string().optional(),
|
|
62
62
|
updateSubscriberChannelRequestDto:
|
|
63
63
|
components.UpdateSubscriberChannelRequestDto$outboundSchema,
|
|
64
64
|
}).transform((v) => {
|
|
@@ -10,11 +10,11 @@ import * as components from "../components/index.js";
|
|
|
10
10
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
11
|
|
|
12
12
|
export type SubscribersControllerRemoveSubscriberRequest = {
|
|
13
|
+
subscriberId: string;
|
|
13
14
|
/**
|
|
14
15
|
* A header for idempotency purposes
|
|
15
16
|
*/
|
|
16
17
|
idempotencyKey?: string | undefined;
|
|
17
|
-
subscriberId: string;
|
|
18
18
|
};
|
|
19
19
|
|
|
20
20
|
export type SubscribersControllerRemoveSubscriberResponse = {
|
|
@@ -29,8 +29,8 @@ export const SubscribersControllerRemoveSubscriberRequest$inboundSchema:
|
|
|
29
29
|
z.ZodTypeDef,
|
|
30
30
|
unknown
|
|
31
31
|
> = z.object({
|
|
32
|
-
"Idempotency-Key": z.string().optional(),
|
|
33
32
|
subscriberId: z.string(),
|
|
33
|
+
"Idempotency-Key": z.string().optional(),
|
|
34
34
|
}).transform((v) => {
|
|
35
35
|
return remap$(v, {
|
|
36
36
|
"Idempotency-Key": "idempotencyKey",
|
|
@@ -39,8 +39,8 @@ export const SubscribersControllerRemoveSubscriberRequest$inboundSchema:
|
|
|
39
39
|
|
|
40
40
|
/** @internal */
|
|
41
41
|
export type SubscribersControllerRemoveSubscriberRequest$Outbound = {
|
|
42
|
-
"Idempotency-Key"?: string | undefined;
|
|
43
42
|
subscriberId: string;
|
|
43
|
+
"Idempotency-Key"?: string | undefined;
|
|
44
44
|
};
|
|
45
45
|
|
|
46
46
|
/** @internal */
|
|
@@ -50,8 +50,8 @@ export const SubscribersControllerRemoveSubscriberRequest$outboundSchema:
|
|
|
50
50
|
z.ZodTypeDef,
|
|
51
51
|
SubscribersControllerRemoveSubscriberRequest
|
|
52
52
|
> = z.object({
|
|
53
|
-
idempotencyKey: z.string().optional(),
|
|
54
53
|
subscriberId: z.string(),
|
|
54
|
+
idempotencyKey: z.string().optional(),
|
|
55
55
|
}).transform((v) => {
|
|
56
56
|
return remap$(v, {
|
|
57
57
|
idempotencyKey: "Idempotency-Key",
|
|
@@ -10,11 +10,11 @@ import * as components from "../components/index.js";
|
|
|
10
10
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
11
|
|
|
12
12
|
export type SubscribersControllerUpdateSubscriberRequest = {
|
|
13
|
+
subscriberId: string;
|
|
13
14
|
/**
|
|
14
15
|
* A header for idempotency purposes
|
|
15
16
|
*/
|
|
16
17
|
idempotencyKey?: string | undefined;
|
|
17
|
-
subscriberId: string;
|
|
18
18
|
updateSubscriberRequestDto: components.UpdateSubscriberRequestDto;
|
|
19
19
|
};
|
|
20
20
|
|
|
@@ -30,8 +30,8 @@ export const SubscribersControllerUpdateSubscriberRequest$inboundSchema:
|
|
|
30
30
|
z.ZodTypeDef,
|
|
31
31
|
unknown
|
|
32
32
|
> = z.object({
|
|
33
|
-
"Idempotency-Key": z.string().optional(),
|
|
34
33
|
subscriberId: z.string(),
|
|
34
|
+
"Idempotency-Key": z.string().optional(),
|
|
35
35
|
UpdateSubscriberRequestDto:
|
|
36
36
|
components.UpdateSubscriberRequestDto$inboundSchema,
|
|
37
37
|
}).transform((v) => {
|
|
@@ -43,8 +43,8 @@ export const SubscribersControllerUpdateSubscriberRequest$inboundSchema:
|
|
|
43
43
|
|
|
44
44
|
/** @internal */
|
|
45
45
|
export type SubscribersControllerUpdateSubscriberRequest$Outbound = {
|
|
46
|
-
"Idempotency-Key"?: string | undefined;
|
|
47
46
|
subscriberId: string;
|
|
47
|
+
"Idempotency-Key"?: string | undefined;
|
|
48
48
|
UpdateSubscriberRequestDto: components.UpdateSubscriberRequestDto$Outbound;
|
|
49
49
|
};
|
|
50
50
|
|
|
@@ -55,8 +55,8 @@ export const SubscribersControllerUpdateSubscriberRequest$outboundSchema:
|
|
|
55
55
|
z.ZodTypeDef,
|
|
56
56
|
SubscribersControllerUpdateSubscriberRequest
|
|
57
57
|
> = z.object({
|
|
58
|
-
idempotencyKey: z.string().optional(),
|
|
59
58
|
subscriberId: z.string(),
|
|
59
|
+
idempotencyKey: z.string().optional(),
|
|
60
60
|
updateSubscriberRequestDto:
|
|
61
61
|
components.UpdateSubscriberRequestDto$outboundSchema,
|
|
62
62
|
}).transform((v) => {
|
|
@@ -10,11 +10,11 @@ import * as components from "../components/index.js";
|
|
|
10
10
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
11
|
|
|
12
12
|
export type SubscribersControllerUpdateSubscriberChannelRequest = {
|
|
13
|
+
subscriberId: string;
|
|
13
14
|
/**
|
|
14
15
|
* A header for idempotency purposes
|
|
15
16
|
*/
|
|
16
17
|
idempotencyKey?: string | undefined;
|
|
17
|
-
subscriberId: string;
|
|
18
18
|
updateSubscriberChannelRequestDto:
|
|
19
19
|
components.UpdateSubscriberChannelRequestDto;
|
|
20
20
|
};
|
|
@@ -31,8 +31,8 @@ export const SubscribersControllerUpdateSubscriberChannelRequest$inboundSchema:
|
|
|
31
31
|
z.ZodTypeDef,
|
|
32
32
|
unknown
|
|
33
33
|
> = z.object({
|
|
34
|
-
"Idempotency-Key": z.string().optional(),
|
|
35
34
|
subscriberId: z.string(),
|
|
35
|
+
"Idempotency-Key": z.string().optional(),
|
|
36
36
|
UpdateSubscriberChannelRequestDto:
|
|
37
37
|
components.UpdateSubscriberChannelRequestDto$inboundSchema,
|
|
38
38
|
}).transform((v) => {
|
|
@@ -44,8 +44,8 @@ export const SubscribersControllerUpdateSubscriberChannelRequest$inboundSchema:
|
|
|
44
44
|
|
|
45
45
|
/** @internal */
|
|
46
46
|
export type SubscribersControllerUpdateSubscriberChannelRequest$Outbound = {
|
|
47
|
-
"Idempotency-Key"?: string | undefined;
|
|
48
47
|
subscriberId: string;
|
|
48
|
+
"Idempotency-Key"?: string | undefined;
|
|
49
49
|
UpdateSubscriberChannelRequestDto:
|
|
50
50
|
components.UpdateSubscriberChannelRequestDto$Outbound;
|
|
51
51
|
};
|
|
@@ -57,8 +57,8 @@ export const SubscribersControllerUpdateSubscriberChannelRequest$outboundSchema:
|
|
|
57
57
|
z.ZodTypeDef,
|
|
58
58
|
SubscribersControllerUpdateSubscriberChannelRequest
|
|
59
59
|
> = z.object({
|
|
60
|
-
idempotencyKey: z.string().optional(),
|
|
61
60
|
subscriberId: z.string(),
|
|
61
|
+
idempotencyKey: z.string().optional(),
|
|
62
62
|
updateSubscriberChannelRequestDto:
|
|
63
63
|
components.UpdateSubscriberChannelRequestDto$outboundSchema,
|
|
64
64
|
}).transform((v) => {
|
|
@@ -10,11 +10,11 @@ import * as components from "../components/index.js";
|
|
|
10
10
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
11
|
|
|
12
12
|
export type SubscribersControllerUpdateSubscriberGlobalPreferencesRequest = {
|
|
13
|
+
subscriberId: string;
|
|
13
14
|
/**
|
|
14
15
|
* A header for idempotency purposes
|
|
15
16
|
*/
|
|
16
17
|
idempotencyKey?: string | undefined;
|
|
17
|
-
subscriberId: string;
|
|
18
18
|
updateSubscriberGlobalPreferencesRequestDto:
|
|
19
19
|
components.UpdateSubscriberGlobalPreferencesRequestDto;
|
|
20
20
|
};
|
|
@@ -31,8 +31,8 @@ export const SubscribersControllerUpdateSubscriberGlobalPreferencesRequest$inbou
|
|
|
31
31
|
z.ZodTypeDef,
|
|
32
32
|
unknown
|
|
33
33
|
> = z.object({
|
|
34
|
-
"Idempotency-Key": z.string().optional(),
|
|
35
34
|
subscriberId: z.string(),
|
|
35
|
+
"Idempotency-Key": z.string().optional(),
|
|
36
36
|
UpdateSubscriberGlobalPreferencesRequestDto:
|
|
37
37
|
components.UpdateSubscriberGlobalPreferencesRequestDto$inboundSchema,
|
|
38
38
|
}).transform((v) => {
|
|
@@ -46,8 +46,8 @@ export const SubscribersControllerUpdateSubscriberGlobalPreferencesRequest$inbou
|
|
|
46
46
|
/** @internal */
|
|
47
47
|
export type SubscribersControllerUpdateSubscriberGlobalPreferencesRequest$Outbound =
|
|
48
48
|
{
|
|
49
|
-
"Idempotency-Key"?: string | undefined;
|
|
50
49
|
subscriberId: string;
|
|
50
|
+
"Idempotency-Key"?: string | undefined;
|
|
51
51
|
UpdateSubscriberGlobalPreferencesRequestDto:
|
|
52
52
|
components.UpdateSubscriberGlobalPreferencesRequestDto$Outbound;
|
|
53
53
|
};
|
|
@@ -59,8 +59,8 @@ export const SubscribersControllerUpdateSubscriberGlobalPreferencesRequest$outbo
|
|
|
59
59
|
z.ZodTypeDef,
|
|
60
60
|
SubscribersControllerUpdateSubscriberGlobalPreferencesRequest
|
|
61
61
|
> = z.object({
|
|
62
|
-
idempotencyKey: z.string().optional(),
|
|
63
62
|
subscriberId: z.string(),
|
|
63
|
+
idempotencyKey: z.string().optional(),
|
|
64
64
|
updateSubscriberGlobalPreferencesRequestDto:
|
|
65
65
|
components.UpdateSubscriberGlobalPreferencesRequestDto$outboundSchema,
|
|
66
66
|
}).transform((v) => {
|
|
@@ -10,11 +10,11 @@ import * as components from "../components/index.js";
|
|
|
10
10
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
11
|
|
|
12
12
|
export type SubscribersControllerUpdateSubscriberOnlineFlagRequest = {
|
|
13
|
+
subscriberId: string;
|
|
13
14
|
/**
|
|
14
15
|
* A header for idempotency purposes
|
|
15
16
|
*/
|
|
16
17
|
idempotencyKey?: string | undefined;
|
|
17
|
-
subscriberId: string;
|
|
18
18
|
updateSubscriberOnlineFlagRequestDto:
|
|
19
19
|
components.UpdateSubscriberOnlineFlagRequestDto;
|
|
20
20
|
};
|
|
@@ -31,8 +31,8 @@ export const SubscribersControllerUpdateSubscriberOnlineFlagRequest$inboundSchem
|
|
|
31
31
|
z.ZodTypeDef,
|
|
32
32
|
unknown
|
|
33
33
|
> = z.object({
|
|
34
|
-
"Idempotency-Key": z.string().optional(),
|
|
35
34
|
subscriberId: z.string(),
|
|
35
|
+
"Idempotency-Key": z.string().optional(),
|
|
36
36
|
UpdateSubscriberOnlineFlagRequestDto:
|
|
37
37
|
components.UpdateSubscriberOnlineFlagRequestDto$inboundSchema,
|
|
38
38
|
}).transform((v) => {
|
|
@@ -45,8 +45,8 @@ export const SubscribersControllerUpdateSubscriberOnlineFlagRequest$inboundSchem
|
|
|
45
45
|
|
|
46
46
|
/** @internal */
|
|
47
47
|
export type SubscribersControllerUpdateSubscriberOnlineFlagRequest$Outbound = {
|
|
48
|
-
"Idempotency-Key"?: string | undefined;
|
|
49
48
|
subscriberId: string;
|
|
49
|
+
"Idempotency-Key"?: string | undefined;
|
|
50
50
|
UpdateSubscriberOnlineFlagRequestDto:
|
|
51
51
|
components.UpdateSubscriberOnlineFlagRequestDto$Outbound;
|
|
52
52
|
};
|
|
@@ -58,8 +58,8 @@ export const SubscribersControllerUpdateSubscriberOnlineFlagRequest$outboundSche
|
|
|
58
58
|
z.ZodTypeDef,
|
|
59
59
|
SubscribersControllerUpdateSubscriberOnlineFlagRequest
|
|
60
60
|
> = z.object({
|
|
61
|
-
idempotencyKey: z.string().optional(),
|
|
62
61
|
subscriberId: z.string(),
|
|
62
|
+
idempotencyKey: z.string().optional(),
|
|
63
63
|
updateSubscriberOnlineFlagRequestDto:
|
|
64
64
|
components.UpdateSubscriberOnlineFlagRequestDto$outboundSchema,
|
|
65
65
|
}).transform((v) => {
|
|
@@ -10,12 +10,12 @@ import * as components from "../components/index.js";
|
|
|
10
10
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
11
|
|
|
12
12
|
export type SubscribersControllerUpdateSubscriberPreferenceRequest = {
|
|
13
|
+
subscriberId: string;
|
|
14
|
+
workflowId: string;
|
|
13
15
|
/**
|
|
14
16
|
* A header for idempotency purposes
|
|
15
17
|
*/
|
|
16
18
|
idempotencyKey?: string | undefined;
|
|
17
|
-
subscriberId: string;
|
|
18
|
-
workflowId: string;
|
|
19
19
|
updateSubscriberPreferenceRequestDto:
|
|
20
20
|
components.UpdateSubscriberPreferenceRequestDto;
|
|
21
21
|
};
|
|
@@ -32,9 +32,9 @@ export const SubscribersControllerUpdateSubscriberPreferenceRequest$inboundSchem
|
|
|
32
32
|
z.ZodTypeDef,
|
|
33
33
|
unknown
|
|
34
34
|
> = z.object({
|
|
35
|
-
"Idempotency-Key": z.string().optional(),
|
|
36
35
|
subscriberId: z.string(),
|
|
37
36
|
workflowId: z.string(),
|
|
37
|
+
"Idempotency-Key": z.string().optional(),
|
|
38
38
|
UpdateSubscriberPreferenceRequestDto:
|
|
39
39
|
components.UpdateSubscriberPreferenceRequestDto$inboundSchema,
|
|
40
40
|
}).transform((v) => {
|
|
@@ -47,9 +47,9 @@ export const SubscribersControllerUpdateSubscriberPreferenceRequest$inboundSchem
|
|
|
47
47
|
|
|
48
48
|
/** @internal */
|
|
49
49
|
export type SubscribersControllerUpdateSubscriberPreferenceRequest$Outbound = {
|
|
50
|
-
"Idempotency-Key"?: string | undefined;
|
|
51
50
|
subscriberId: string;
|
|
52
51
|
workflowId: string;
|
|
52
|
+
"Idempotency-Key"?: string | undefined;
|
|
53
53
|
UpdateSubscriberPreferenceRequestDto:
|
|
54
54
|
components.UpdateSubscriberPreferenceRequestDto$Outbound;
|
|
55
55
|
};
|
|
@@ -61,9 +61,9 @@ export const SubscribersControllerUpdateSubscriberPreferenceRequest$outboundSche
|
|
|
61
61
|
z.ZodTypeDef,
|
|
62
62
|
SubscribersControllerUpdateSubscriberPreferenceRequest
|
|
63
63
|
> = z.object({
|
|
64
|
-
idempotencyKey: z.string().optional(),
|
|
65
64
|
subscriberId: z.string(),
|
|
66
65
|
workflowId: z.string(),
|
|
66
|
+
idempotencyKey: z.string().optional(),
|
|
67
67
|
updateSubscriberPreferenceRequestDto:
|
|
68
68
|
components.UpdateSubscriberPreferenceRequestDto$outboundSchema,
|
|
69
69
|
}).transform((v) => {
|