@novu/api 0.0.1-alpha.193 → 0.0.1-alpha.195
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/funcs/adminIdempotencyGet.js +1 -1
- package/funcs/adminIdempotencyPost.js +1 -1
- package/funcs/cancel.js +1 -1
- package/funcs/integrationsCreate.js +1 -1
- package/funcs/integrationsDelete.js +1 -1
- package/funcs/integrationsList.js +1 -1
- package/funcs/integrationsListActive.js +1 -1
- package/funcs/integrationsSetAsPrimary.js +1 -1
- package/funcs/integrationsUpdate.js +1 -1
- package/funcs/integrationsWebhooksRetrieve.js +1 -1
- package/funcs/messagesDelete.js +1 -1
- package/funcs/messagesDeleteByTransactionId.js +1 -1
- package/funcs/messagesRetrieve.js +1 -1
- package/funcs/notificationsList.js +1 -1
- package/funcs/notificationsRetrieve.js +1 -1
- package/funcs/notificationsStatsGraph.js +1 -1
- package/funcs/notificationsStatsRetrieve.js +1 -1
- package/funcs/subscribersAuthenticationChatAccessOauth.js +1 -1
- package/funcs/subscribersAuthenticationChatAccessOauthCallBack.js +1 -1
- package/funcs/subscribersCreate.js +1 -1
- package/funcs/subscribersCreateBulk.js +1 -1
- package/funcs/subscribersCredentialsAppend.js +1 -1
- package/funcs/subscribersCredentialsDelete.js +1 -1
- package/funcs/subscribersCredentialsUpdate.js +1 -1
- package/funcs/subscribersDelete.js +1 -1
- package/funcs/subscribersList.js +1 -1
- package/funcs/subscribersMessagesMarkAll.js +1 -1
- package/funcs/subscribersMessagesMarkAllAs.js +1 -1
- package/funcs/subscribersMessagesUpdateAsSeen.js +1 -1
- package/funcs/subscribersNotificationsFeed.js +1 -1
- package/funcs/subscribersNotificationsUnseenCount.js +1 -1
- package/funcs/subscribersPreferencesList.js +1 -1
- package/funcs/subscribersPreferencesRetrieveByLevel.js +1 -1
- package/funcs/subscribersPreferencesUpdate.js +1 -1
- package/funcs/subscribersPreferencesUpdateGlobal.js +1 -1
- package/funcs/subscribersPropertiesUpdateOnlineFlag.js +1 -1
- package/funcs/subscribersRetrieve.js +1 -1
- package/funcs/subscribersUpdate.js +1 -1
- package/funcs/testApiRateLimitBulkControllerGlobalCategoryNoCostOverride.js +1 -1
- package/funcs/testApiRateLimitBulkControllerNoCategoryNoCostOverride.js +1 -1
- package/funcs/testApiRateLimitBulkControllerNoCategorySingleCostOverride.js +1 -1
- package/funcs/topicsCreate.js +1 -1
- package/funcs/topicsDelete.js +1 -1
- package/funcs/topicsList.js +1 -1
- package/funcs/topicsRename.js +1 -1
- package/funcs/topicsRetrieve.js +1 -1
- package/funcs/topicsSubscribersAssign.js +1 -1
- package/funcs/topicsSubscribersRemove.js +1 -1
- package/funcs/topicsSubscribersRetrieve.js +1 -1
- package/funcs/trigger.js +1 -1
- package/funcs/triggerBroadcast.js +1 -1
- package/funcs/triggerBulk.js +1 -1
- package/hooks/novu-custom-hook.js +2 -2
- package/hooks/novu-custom-hook.js.map +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/models/operations/eventscontrollerbroadcasteventtoall.d.ts +1 -1
- package/models/operations/eventscontrollerbroadcasteventtoall.js +3 -3
- package/models/operations/eventscontrollercancel.d.ts +1 -1
- package/models/operations/eventscontrollercancel.js +3 -3
- package/models/operations/eventscontrollertrigger.d.ts +1 -1
- package/models/operations/eventscontrollertrigger.js +3 -3
- package/models/operations/eventscontrollertriggerbulk.d.ts +1 -1
- package/models/operations/eventscontrollertriggerbulk.js +3 -3
- package/models/operations/integrationscontrollercreateintegration.d.ts +1 -1
- package/models/operations/integrationscontrollercreateintegration.js +3 -3
- package/models/operations/integrationscontrollergetactiveintegrations.d.ts +1 -1
- package/models/operations/integrationscontrollergetactiveintegrations.js +3 -3
- package/models/operations/integrationscontrollergetwebhooksupportstatus.d.ts +1 -1
- package/models/operations/integrationscontrollergetwebhooksupportstatus.js +3 -3
- package/models/operations/integrationscontrollerlistintegrations.d.ts +1 -1
- package/models/operations/integrationscontrollerlistintegrations.js +3 -3
- package/models/operations/integrationscontrollerremoveintegration.d.ts +1 -1
- package/models/operations/integrationscontrollerremoveintegration.js +3 -3
- package/models/operations/integrationscontrollersetintegrationasprimary.d.ts +1 -1
- package/models/operations/integrationscontrollersetintegrationasprimary.js +3 -3
- package/models/operations/integrationscontrollerupdateintegrationbyid.d.ts +1 -1
- package/models/operations/integrationscontrollerupdateintegrationbyid.js +3 -3
- package/models/operations/messagescontrollerdeletemessage.d.ts +1 -1
- package/models/operations/messagescontrollerdeletemessage.js +3 -3
- package/models/operations/messagescontrollerdeletemessagesbytransactionid.d.ts +1 -1
- package/models/operations/messagescontrollerdeletemessagesbytransactionid.js +3 -3
- package/models/operations/messagescontrollergetmessages.d.ts +1 -1
- package/models/operations/messagescontrollergetmessages.js +3 -3
- package/models/operations/notificationscontrollergetactivitygraphstats.d.ts +1 -1
- package/models/operations/notificationscontrollergetactivitygraphstats.js +3 -3
- package/models/operations/notificationscontrollergetactivitystats.d.ts +1 -1
- package/models/operations/notificationscontrollergetactivitystats.js +3 -3
- package/models/operations/notificationscontrollergetnotification.d.ts +1 -1
- package/models/operations/notificationscontrollergetnotification.js +3 -3
- package/models/operations/notificationscontrollerlistnotifications.d.ts +1 -1
- package/models/operations/notificationscontrollerlistnotifications.js +3 -3
- package/models/operations/subscriberscontrollerbulkcreatesubscribers.d.ts +1 -1
- package/models/operations/subscriberscontrollerbulkcreatesubscribers.js +3 -3
- package/models/operations/subscriberscontrollerchataccessoauth.d.ts +1 -1
- package/models/operations/subscriberscontrollerchataccessoauth.js +3 -3
- package/models/operations/subscriberscontrollerchatoauthcallback.d.ts +1 -1
- package/models/operations/subscriberscontrollerchatoauthcallback.js +3 -3
- package/models/operations/subscriberscontrollercreatesubscriber.d.ts +1 -1
- package/models/operations/subscriberscontrollercreatesubscriber.js +3 -3
- package/models/operations/subscriberscontrollerdeletesubscribercredentials.d.ts +1 -1
- package/models/operations/subscriberscontrollerdeletesubscribercredentials.js +3 -3
- package/models/operations/subscriberscontrollergetnotificationsfeed.d.ts +1 -1
- package/models/operations/subscriberscontrollergetnotificationsfeed.js +3 -3
- package/models/operations/subscriberscontrollergetsubscriber.d.ts +1 -1
- package/models/operations/subscriberscontrollergetsubscriber.js +3 -3
- package/models/operations/subscriberscontrollergetsubscriberpreferencebylevel.d.ts +1 -1
- package/models/operations/subscriberscontrollergetsubscriberpreferencebylevel.js +3 -3
- package/models/operations/subscriberscontrollergetunseencount.d.ts +1 -1
- package/models/operations/subscriberscontrollergetunseencount.js +3 -3
- package/models/operations/subscriberscontrollerlistsubscriberpreferences.d.ts +1 -1
- package/models/operations/subscriberscontrollerlistsubscriberpreferences.js +3 -3
- package/models/operations/subscriberscontrollerlistsubscribers.d.ts +1 -1
- package/models/operations/subscriberscontrollerlistsubscribers.js +3 -3
- package/models/operations/subscriberscontrollermarkactionasseen.d.ts +1 -1
- package/models/operations/subscriberscontrollermarkactionasseen.js +3 -3
- package/models/operations/subscriberscontrollermarkallunreadasread.d.ts +1 -1
- package/models/operations/subscriberscontrollermarkallunreadasread.js +3 -3
- package/models/operations/subscriberscontrollermarkmessagesas.d.ts +1 -1
- package/models/operations/subscriberscontrollermarkmessagesas.js +3 -3
- package/models/operations/subscriberscontrollermodifysubscriberchannel.d.ts +1 -1
- package/models/operations/subscriberscontrollermodifysubscriberchannel.js +3 -3
- package/models/operations/subscriberscontrollerremovesubscriber.d.ts +1 -1
- package/models/operations/subscriberscontrollerremovesubscriber.js +3 -3
- package/models/operations/subscriberscontrollerupdatesubscriber.d.ts +1 -1
- package/models/operations/subscriberscontrollerupdatesubscriber.js +3 -3
- package/models/operations/subscriberscontrollerupdatesubscriberchannel.d.ts +1 -1
- package/models/operations/subscriberscontrollerupdatesubscriberchannel.js +3 -3
- package/models/operations/subscriberscontrollerupdatesubscriberglobalpreferences.d.ts +1 -1
- package/models/operations/subscriberscontrollerupdatesubscriberglobalpreferences.js +3 -3
- package/models/operations/subscriberscontrollerupdatesubscriberonlineflag.d.ts +1 -1
- package/models/operations/subscriberscontrollerupdatesubscriberonlineflag.js +3 -3
- package/models/operations/subscriberscontrollerupdatesubscriberpreference.d.ts +1 -1
- package/models/operations/subscriberscontrollerupdatesubscriberpreference.js +3 -3
- package/models/operations/testapiratelimitbulkcontrollerglobalcategorynocostoverride.d.ts +1 -1
- package/models/operations/testapiratelimitbulkcontrollerglobalcategorynocostoverride.js +3 -3
- package/models/operations/testapiratelimitbulkcontrollernocategorynocostoverride.d.ts +1 -1
- package/models/operations/testapiratelimitbulkcontrollernocategorynocostoverride.js +3 -3
- package/models/operations/testapiratelimitbulkcontrollernocategorysinglecostoverride.d.ts +1 -1
- package/models/operations/testapiratelimitbulkcontrollernocategorysinglecostoverride.js +3 -3
- package/models/operations/testingcontrolleridempotency.d.ts +1 -1
- package/models/operations/testingcontrolleridempotency.js +3 -3
- package/models/operations/testingcontrolleridempotencyget.d.ts +1 -1
- package/models/operations/testingcontrolleridempotencyget.js +3 -3
- package/models/operations/topicscontrollerassign.d.ts +1 -1
- package/models/operations/topicscontrollerassign.js +3 -3
- package/models/operations/topicscontrollercreatetopic.d.ts +1 -1
- package/models/operations/topicscontrollercreatetopic.js +3 -3
- package/models/operations/topicscontrollerdeletetopic.d.ts +1 -1
- package/models/operations/topicscontrollerdeletetopic.js +3 -3
- package/models/operations/topicscontrollergettopic.d.ts +1 -1
- package/models/operations/topicscontrollergettopic.js +3 -3
- package/models/operations/topicscontrollergettopicsubscriber.d.ts +1 -1
- package/models/operations/topicscontrollergettopicsubscriber.js +3 -3
- package/models/operations/topicscontrollerlisttopics.d.ts +1 -1
- package/models/operations/topicscontrollerlisttopics.js +3 -3
- package/models/operations/topicscontrollerremovesubscribers.d.ts +1 -1
- package/models/operations/topicscontrollerremovesubscribers.js +3 -3
- package/models/operations/topicscontrollerrenametopic.d.ts +1 -1
- package/models/operations/topicscontrollerrenametopic.js +3 -3
- package/package.json +1 -1
- package/src/funcs/adminIdempotencyGet.ts +3 -3
- package/src/funcs/adminIdempotencyPost.ts +3 -3
- package/src/funcs/cancel.ts +3 -3
- package/src/funcs/integrationsCreate.ts +3 -3
- package/src/funcs/integrationsDelete.ts +3 -3
- package/src/funcs/integrationsList.ts +3 -3
- package/src/funcs/integrationsListActive.ts +3 -3
- package/src/funcs/integrationsSetAsPrimary.ts +3 -3
- package/src/funcs/integrationsUpdate.ts +3 -3
- package/src/funcs/integrationsWebhooksRetrieve.ts +3 -3
- package/src/funcs/messagesDelete.ts +3 -3
- package/src/funcs/messagesDeleteByTransactionId.ts +3 -3
- package/src/funcs/messagesRetrieve.ts +3 -3
- package/src/funcs/notificationsList.ts +3 -3
- package/src/funcs/notificationsRetrieve.ts +3 -3
- package/src/funcs/notificationsStatsGraph.ts +3 -3
- package/src/funcs/notificationsStatsRetrieve.ts +3 -3
- package/src/funcs/subscribersAuthenticationChatAccessOauth.ts +3 -3
- package/src/funcs/subscribersAuthenticationChatAccessOauthCallBack.ts +3 -3
- package/src/funcs/subscribersCreate.ts +3 -3
- package/src/funcs/subscribersCreateBulk.ts +3 -3
- package/src/funcs/subscribersCredentialsAppend.ts +3 -3
- package/src/funcs/subscribersCredentialsDelete.ts +3 -3
- package/src/funcs/subscribersCredentialsUpdate.ts +3 -3
- package/src/funcs/subscribersDelete.ts +3 -3
- package/src/funcs/subscribersList.ts +3 -3
- package/src/funcs/subscribersMessagesMarkAll.ts +3 -3
- package/src/funcs/subscribersMessagesMarkAllAs.ts +3 -3
- package/src/funcs/subscribersMessagesUpdateAsSeen.ts +3 -3
- package/src/funcs/subscribersNotificationsFeed.ts +3 -3
- package/src/funcs/subscribersNotificationsUnseenCount.ts +3 -3
- package/src/funcs/subscribersPreferencesList.ts +3 -3
- package/src/funcs/subscribersPreferencesRetrieveByLevel.ts +3 -3
- package/src/funcs/subscribersPreferencesUpdate.ts +3 -3
- package/src/funcs/subscribersPreferencesUpdateGlobal.ts +3 -3
- package/src/funcs/subscribersPropertiesUpdateOnlineFlag.ts +3 -3
- package/src/funcs/subscribersRetrieve.ts +3 -3
- package/src/funcs/subscribersUpdate.ts +3 -3
- package/src/funcs/testApiRateLimitBulkControllerGlobalCategoryNoCostOverride.ts +3 -3
- package/src/funcs/testApiRateLimitBulkControllerNoCategoryNoCostOverride.ts +3 -3
- package/src/funcs/testApiRateLimitBulkControllerNoCategorySingleCostOverride.ts +3 -3
- package/src/funcs/topicsCreate.ts +3 -3
- package/src/funcs/topicsDelete.ts +3 -3
- package/src/funcs/topicsList.ts +3 -3
- package/src/funcs/topicsRename.ts +3 -3
- package/src/funcs/topicsRetrieve.ts +3 -3
- package/src/funcs/topicsSubscribersAssign.ts +3 -3
- package/src/funcs/topicsSubscribersRemove.ts +3 -3
- package/src/funcs/topicsSubscribersRetrieve.ts +3 -3
- package/src/funcs/trigger.ts +3 -3
- package/src/funcs/triggerBroadcast.ts +3 -3
- package/src/funcs/triggerBulk.ts +3 -3
- package/src/hooks/novu-custom-hook.ts +2 -2
- package/src/lib/config.ts +2 -2
- package/src/models/operations/eventscontrollerbroadcasteventtoall.ts +4 -4
- package/src/models/operations/eventscontrollercancel.ts +4 -4
- package/src/models/operations/eventscontrollertrigger.ts +4 -4
- package/src/models/operations/eventscontrollertriggerbulk.ts +4 -4
- package/src/models/operations/integrationscontrollercreateintegration.ts +4 -4
- package/src/models/operations/integrationscontrollergetactiveintegrations.ts +4 -4
- package/src/models/operations/integrationscontrollergetwebhooksupportstatus.ts +4 -4
- package/src/models/operations/integrationscontrollerlistintegrations.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 +4 -4
- package/src/models/operations/messagescontrollergetmessages.ts +4 -4
- package/src/models/operations/notificationscontrollergetactivitygraphstats.ts +4 -4
- package/src/models/operations/notificationscontrollergetactivitystats.ts +4 -4
- package/src/models/operations/notificationscontrollergetnotification.ts +4 -4
- package/src/models/operations/notificationscontrollerlistnotifications.ts +4 -4
- package/src/models/operations/subscriberscontrollerbulkcreatesubscribers.ts +4 -4
- package/src/models/operations/subscriberscontrollerchataccessoauth.ts +4 -4
- package/src/models/operations/subscriberscontrollerchatoauthcallback.ts +4 -4
- package/src/models/operations/subscriberscontrollercreatesubscriber.ts +4 -4
- package/src/models/operations/subscriberscontrollerdeletesubscribercredentials.ts +4 -4
- package/src/models/operations/subscriberscontrollergetnotificationsfeed.ts +4 -4
- package/src/models/operations/subscriberscontrollergetsubscriber.ts +4 -4
- package/src/models/operations/subscriberscontrollergetsubscriberpreferencebylevel.ts +4 -4
- package/src/models/operations/subscriberscontrollergetunseencount.ts +4 -4
- package/src/models/operations/subscriberscontrollerlistsubscriberpreferences.ts +4 -4
- package/src/models/operations/subscriberscontrollerlistsubscribers.ts +4 -4
- package/src/models/operations/subscriberscontrollermarkactionasseen.ts +4 -4
- 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 +4 -4
- package/src/models/operations/testapiratelimitbulkcontrollerglobalcategorynocostoverride.ts +4 -4
- package/src/models/operations/testapiratelimitbulkcontrollernocategorynocostoverride.ts +4 -4
- package/src/models/operations/testapiratelimitbulkcontrollernocategorysinglecostoverride.ts +4 -4
- package/src/models/operations/testingcontrolleridempotency.ts +4 -4
- package/src/models/operations/testingcontrolleridempotencyget.ts +4 -4
- package/src/models/operations/topicscontrollerassign.ts +4 -4
- package/src/models/operations/topicscontrollercreatetopic.ts +4 -4
- package/src/models/operations/topicscontrollerdeletetopic.ts +4 -4
- package/src/models/operations/topicscontrollergettopic.ts +4 -4
- package/src/models/operations/topicscontrollergettopicsubscriber.ts +4 -4
- package/src/models/operations/topicscontrollerlisttopics.ts +4 -4
- package/src/models/operations/topicscontrollerremovesubscribers.ts +4 -4
- package/src/models/operations/topicscontrollerrenametopic.ts +4 -4
|
@@ -29,18 +29,18 @@ export const SubscribersControllerBulkCreateSubscribersRequest$inboundSchema:
|
|
|
29
29
|
z.ZodTypeDef,
|
|
30
30
|
unknown
|
|
31
31
|
> = z.object({
|
|
32
|
-
"
|
|
32
|
+
"idempotency-key": z.string().optional(),
|
|
33
33
|
BulkSubscriberCreateDto: components.BulkSubscriberCreateDto$inboundSchema,
|
|
34
34
|
}).transform((v) => {
|
|
35
35
|
return remap$(v, {
|
|
36
|
-
"
|
|
36
|
+
"idempotency-key": "idempotencyKey",
|
|
37
37
|
"BulkSubscriberCreateDto": "bulkSubscriberCreateDto",
|
|
38
38
|
});
|
|
39
39
|
});
|
|
40
40
|
|
|
41
41
|
/** @internal */
|
|
42
42
|
export type SubscribersControllerBulkCreateSubscribersRequest$Outbound = {
|
|
43
|
-
"
|
|
43
|
+
"idempotency-key"?: string | undefined;
|
|
44
44
|
BulkSubscriberCreateDto: components.BulkSubscriberCreateDto$Outbound;
|
|
45
45
|
};
|
|
46
46
|
|
|
@@ -55,7 +55,7 @@ export const SubscribersControllerBulkCreateSubscribersRequest$outboundSchema:
|
|
|
55
55
|
bulkSubscriberCreateDto: components.BulkSubscriberCreateDto$outboundSchema,
|
|
56
56
|
}).transform((v) => {
|
|
57
57
|
return remap$(v, {
|
|
58
|
-
idempotencyKey: "
|
|
58
|
+
idempotencyKey: "idempotency-key",
|
|
59
59
|
bulkSubscriberCreateDto: "BulkSubscriberCreateDto",
|
|
60
60
|
});
|
|
61
61
|
});
|
|
@@ -45,10 +45,10 @@ export const SubscribersControllerChatAccessOauthRequest$inboundSchema:
|
|
|
45
45
|
hmacHash: z.string(),
|
|
46
46
|
environmentId: z.string(),
|
|
47
47
|
integrationIdentifier: z.string().optional(),
|
|
48
|
-
"
|
|
48
|
+
"idempotency-key": z.string().optional(),
|
|
49
49
|
}).transform((v) => {
|
|
50
50
|
return remap$(v, {
|
|
51
|
-
"
|
|
51
|
+
"idempotency-key": "idempotencyKey",
|
|
52
52
|
});
|
|
53
53
|
});
|
|
54
54
|
|
|
@@ -59,7 +59,7 @@ export type SubscribersControllerChatAccessOauthRequest$Outbound = {
|
|
|
59
59
|
hmacHash: string;
|
|
60
60
|
environmentId: string;
|
|
61
61
|
integrationIdentifier?: string | undefined;
|
|
62
|
-
"
|
|
62
|
+
"idempotency-key"?: string | undefined;
|
|
63
63
|
};
|
|
64
64
|
|
|
65
65
|
/** @internal */
|
|
@@ -77,7 +77,7 @@ export const SubscribersControllerChatAccessOauthRequest$outboundSchema:
|
|
|
77
77
|
idempotencyKey: z.string().optional(),
|
|
78
78
|
}).transform((v) => {
|
|
79
79
|
return remap$(v, {
|
|
80
|
-
idempotencyKey: "
|
|
80
|
+
idempotencyKey: "idempotency-key",
|
|
81
81
|
});
|
|
82
82
|
});
|
|
83
83
|
|
|
@@ -55,10 +55,10 @@ export const SubscribersControllerChatOauthCallbackRequest$inboundSchema:
|
|
|
55
55
|
environmentId: z.string(),
|
|
56
56
|
integrationIdentifier: z.string().optional(),
|
|
57
57
|
code: z.string(),
|
|
58
|
-
"
|
|
58
|
+
"idempotency-key": z.string().optional(),
|
|
59
59
|
}).transform((v) => {
|
|
60
60
|
return remap$(v, {
|
|
61
|
-
"
|
|
61
|
+
"idempotency-key": "idempotencyKey",
|
|
62
62
|
});
|
|
63
63
|
});
|
|
64
64
|
|
|
@@ -70,7 +70,7 @@ export type SubscribersControllerChatOauthCallbackRequest$Outbound = {
|
|
|
70
70
|
environmentId: string;
|
|
71
71
|
integrationIdentifier?: string | undefined;
|
|
72
72
|
code: string;
|
|
73
|
-
"
|
|
73
|
+
"idempotency-key"?: string | undefined;
|
|
74
74
|
};
|
|
75
75
|
|
|
76
76
|
/** @internal */
|
|
@@ -89,7 +89,7 @@ export const SubscribersControllerChatOauthCallbackRequest$outboundSchema:
|
|
|
89
89
|
idempotencyKey: z.string().optional(),
|
|
90
90
|
}).transform((v) => {
|
|
91
91
|
return remap$(v, {
|
|
92
|
-
idempotencyKey: "
|
|
92
|
+
idempotencyKey: "idempotency-key",
|
|
93
93
|
});
|
|
94
94
|
});
|
|
95
95
|
|
|
@@ -29,19 +29,19 @@ export const SubscribersControllerCreateSubscriberRequest$inboundSchema:
|
|
|
29
29
|
z.ZodTypeDef,
|
|
30
30
|
unknown
|
|
31
31
|
> = z.object({
|
|
32
|
-
"
|
|
32
|
+
"idempotency-key": z.string().optional(),
|
|
33
33
|
CreateSubscriberRequestDto:
|
|
34
34
|
components.CreateSubscriberRequestDto$inboundSchema,
|
|
35
35
|
}).transform((v) => {
|
|
36
36
|
return remap$(v, {
|
|
37
|
-
"
|
|
37
|
+
"idempotency-key": "idempotencyKey",
|
|
38
38
|
"CreateSubscriberRequestDto": "createSubscriberRequestDto",
|
|
39
39
|
});
|
|
40
40
|
});
|
|
41
41
|
|
|
42
42
|
/** @internal */
|
|
43
43
|
export type SubscribersControllerCreateSubscriberRequest$Outbound = {
|
|
44
|
-
"
|
|
44
|
+
"idempotency-key"?: string | undefined;
|
|
45
45
|
CreateSubscriberRequestDto: components.CreateSubscriberRequestDto$Outbound;
|
|
46
46
|
};
|
|
47
47
|
|
|
@@ -57,7 +57,7 @@ export const SubscribersControllerCreateSubscriberRequest$outboundSchema:
|
|
|
57
57
|
components.CreateSubscriberRequestDto$outboundSchema,
|
|
58
58
|
}).transform((v) => {
|
|
59
59
|
return remap$(v, {
|
|
60
|
-
idempotencyKey: "
|
|
60
|
+
idempotencyKey: "idempotency-key",
|
|
61
61
|
createSubscriberRequestDto: "CreateSubscriberRequestDto",
|
|
62
62
|
});
|
|
63
63
|
});
|
|
@@ -30,10 +30,10 @@ export const SubscribersControllerDeleteSubscriberCredentialsRequest$inboundSche
|
|
|
30
30
|
> = z.object({
|
|
31
31
|
subscriberId: z.string(),
|
|
32
32
|
providerId: z.string(),
|
|
33
|
-
"
|
|
33
|
+
"idempotency-key": z.string().optional(),
|
|
34
34
|
}).transform((v) => {
|
|
35
35
|
return remap$(v, {
|
|
36
|
-
"
|
|
36
|
+
"idempotency-key": "idempotencyKey",
|
|
37
37
|
});
|
|
38
38
|
});
|
|
39
39
|
|
|
@@ -41,7 +41,7 @@ export const SubscribersControllerDeleteSubscriberCredentialsRequest$inboundSche
|
|
|
41
41
|
export type SubscribersControllerDeleteSubscriberCredentialsRequest$Outbound = {
|
|
42
42
|
subscriberId: string;
|
|
43
43
|
providerId: string;
|
|
44
|
-
"
|
|
44
|
+
"idempotency-key"?: string | undefined;
|
|
45
45
|
};
|
|
46
46
|
|
|
47
47
|
/** @internal */
|
|
@@ -56,7 +56,7 @@ export const SubscribersControllerDeleteSubscriberCredentialsRequest$outboundSch
|
|
|
56
56
|
idempotencyKey: z.string().optional(),
|
|
57
57
|
}).transform((v) => {
|
|
58
58
|
return remap$(v, {
|
|
59
|
-
idempotencyKey: "
|
|
59
|
+
idempotencyKey: "idempotency-key",
|
|
60
60
|
});
|
|
61
61
|
});
|
|
62
62
|
|
|
@@ -43,10 +43,10 @@ export const SubscribersControllerGetNotificationsFeedRequest$inboundSchema:
|
|
|
43
43
|
read: z.boolean().optional(),
|
|
44
44
|
seen: z.boolean().optional(),
|
|
45
45
|
payload: z.string().optional(),
|
|
46
|
-
"
|
|
46
|
+
"idempotency-key": z.string().optional(),
|
|
47
47
|
}).transform((v) => {
|
|
48
48
|
return remap$(v, {
|
|
49
|
-
"
|
|
49
|
+
"idempotency-key": "idempotencyKey",
|
|
50
50
|
});
|
|
51
51
|
});
|
|
52
52
|
|
|
@@ -58,7 +58,7 @@ export type SubscribersControllerGetNotificationsFeedRequest$Outbound = {
|
|
|
58
58
|
read?: boolean | undefined;
|
|
59
59
|
seen?: boolean | undefined;
|
|
60
60
|
payload?: string | undefined;
|
|
61
|
-
"
|
|
61
|
+
"idempotency-key"?: string | undefined;
|
|
62
62
|
};
|
|
63
63
|
|
|
64
64
|
/** @internal */
|
|
@@ -77,7 +77,7 @@ export const SubscribersControllerGetNotificationsFeedRequest$outboundSchema:
|
|
|
77
77
|
idempotencyKey: z.string().optional(),
|
|
78
78
|
}).transform((v) => {
|
|
79
79
|
return remap$(v, {
|
|
80
|
-
idempotencyKey: "
|
|
80
|
+
idempotencyKey: "idempotency-key",
|
|
81
81
|
});
|
|
82
82
|
});
|
|
83
83
|
|
|
@@ -34,10 +34,10 @@ export const SubscribersControllerGetSubscriberRequest$inboundSchema: z.ZodType<
|
|
|
34
34
|
> = z.object({
|
|
35
35
|
subscriberId: z.string(),
|
|
36
36
|
includeTopics: z.boolean().optional(),
|
|
37
|
-
"
|
|
37
|
+
"idempotency-key": z.string().optional(),
|
|
38
38
|
}).transform((v) => {
|
|
39
39
|
return remap$(v, {
|
|
40
|
-
"
|
|
40
|
+
"idempotency-key": "idempotencyKey",
|
|
41
41
|
});
|
|
42
42
|
});
|
|
43
43
|
|
|
@@ -45,7 +45,7 @@ export const SubscribersControllerGetSubscriberRequest$inboundSchema: z.ZodType<
|
|
|
45
45
|
export type SubscribersControllerGetSubscriberRequest$Outbound = {
|
|
46
46
|
subscriberId: string;
|
|
47
47
|
includeTopics?: boolean | undefined;
|
|
48
|
-
"
|
|
48
|
+
"idempotency-key"?: string | undefined;
|
|
49
49
|
};
|
|
50
50
|
|
|
51
51
|
/** @internal */
|
|
@@ -60,7 +60,7 @@ export const SubscribersControllerGetSubscriberRequest$outboundSchema:
|
|
|
60
60
|
idempotencyKey: z.string().optional(),
|
|
61
61
|
}).transform((v) => {
|
|
62
62
|
return remap$(v, {
|
|
63
|
-
idempotencyKey: "
|
|
63
|
+
idempotencyKey: "idempotency-key",
|
|
64
64
|
});
|
|
65
65
|
});
|
|
66
66
|
|
|
@@ -72,10 +72,10 @@ export const SubscribersControllerGetSubscriberPreferenceByLevelRequest$inboundS
|
|
|
72
72
|
includeInactiveChannels: z.boolean().optional(),
|
|
73
73
|
preferenceLevel: Parameter$inboundSchema,
|
|
74
74
|
subscriberId: z.string(),
|
|
75
|
-
"
|
|
75
|
+
"idempotency-key": z.string().optional(),
|
|
76
76
|
}).transform((v) => {
|
|
77
77
|
return remap$(v, {
|
|
78
|
-
"
|
|
78
|
+
"idempotency-key": "idempotencyKey",
|
|
79
79
|
});
|
|
80
80
|
});
|
|
81
81
|
|
|
@@ -85,7 +85,7 @@ export type SubscribersControllerGetSubscriberPreferenceByLevelRequest$Outbound
|
|
|
85
85
|
includeInactiveChannels?: boolean | undefined;
|
|
86
86
|
preferenceLevel: string;
|
|
87
87
|
subscriberId: string;
|
|
88
|
-
"
|
|
88
|
+
"idempotency-key"?: string | undefined;
|
|
89
89
|
};
|
|
90
90
|
|
|
91
91
|
/** @internal */
|
|
@@ -101,7 +101,7 @@ export const SubscribersControllerGetSubscriberPreferenceByLevelRequest$outbound
|
|
|
101
101
|
idempotencyKey: z.string().optional(),
|
|
102
102
|
}).transform((v) => {
|
|
103
103
|
return remap$(v, {
|
|
104
|
-
idempotencyKey: "
|
|
104
|
+
idempotencyKey: "idempotency-key",
|
|
105
105
|
});
|
|
106
106
|
});
|
|
107
107
|
|
|
@@ -37,10 +37,10 @@ export const SubscribersControllerGetUnseenCountRequest$inboundSchema:
|
|
|
37
37
|
subscriberId: z.string(),
|
|
38
38
|
seen: z.boolean().default(false),
|
|
39
39
|
limit: z.number().default(100),
|
|
40
|
-
"
|
|
40
|
+
"idempotency-key": z.string().optional(),
|
|
41
41
|
}).transform((v) => {
|
|
42
42
|
return remap$(v, {
|
|
43
|
-
"
|
|
43
|
+
"idempotency-key": "idempotencyKey",
|
|
44
44
|
});
|
|
45
45
|
});
|
|
46
46
|
|
|
@@ -49,7 +49,7 @@ export type SubscribersControllerGetUnseenCountRequest$Outbound = {
|
|
|
49
49
|
subscriberId: string;
|
|
50
50
|
seen: boolean;
|
|
51
51
|
limit: number;
|
|
52
|
-
"
|
|
52
|
+
"idempotency-key"?: string | undefined;
|
|
53
53
|
};
|
|
54
54
|
|
|
55
55
|
/** @internal */
|
|
@@ -65,7 +65,7 @@ export const SubscribersControllerGetUnseenCountRequest$outboundSchema:
|
|
|
65
65
|
idempotencyKey: z.string().optional(),
|
|
66
66
|
}).transform((v) => {
|
|
67
67
|
return remap$(v, {
|
|
68
|
-
idempotencyKey: "
|
|
68
|
+
idempotencyKey: "idempotency-key",
|
|
69
69
|
});
|
|
70
70
|
});
|
|
71
71
|
|
|
@@ -35,10 +35,10 @@ export const SubscribersControllerListSubscriberPreferencesRequest$inboundSchema
|
|
|
35
35
|
> = z.object({
|
|
36
36
|
subscriberId: z.string(),
|
|
37
37
|
includeInactiveChannels: z.boolean().optional(),
|
|
38
|
-
"
|
|
38
|
+
"idempotency-key": z.string().optional(),
|
|
39
39
|
}).transform((v) => {
|
|
40
40
|
return remap$(v, {
|
|
41
|
-
"
|
|
41
|
+
"idempotency-key": "idempotencyKey",
|
|
42
42
|
});
|
|
43
43
|
});
|
|
44
44
|
|
|
@@ -46,7 +46,7 @@ export const SubscribersControllerListSubscriberPreferencesRequest$inboundSchema
|
|
|
46
46
|
export type SubscribersControllerListSubscriberPreferencesRequest$Outbound = {
|
|
47
47
|
subscriberId: string;
|
|
48
48
|
includeInactiveChannels?: boolean | undefined;
|
|
49
|
-
"
|
|
49
|
+
"idempotency-key"?: string | undefined;
|
|
50
50
|
};
|
|
51
51
|
|
|
52
52
|
/** @internal */
|
|
@@ -61,7 +61,7 @@ export const SubscribersControllerListSubscriberPreferencesRequest$outboundSchem
|
|
|
61
61
|
idempotencyKey: z.string().optional(),
|
|
62
62
|
}).transform((v) => {
|
|
63
63
|
return remap$(v, {
|
|
64
|
-
idempotencyKey: "
|
|
64
|
+
idempotencyKey: "idempotency-key",
|
|
65
65
|
});
|
|
66
66
|
});
|
|
67
67
|
|
|
@@ -48,10 +48,10 @@ export const SubscribersControllerListSubscribersRequest$inboundSchema:
|
|
|
48
48
|
> = z.object({
|
|
49
49
|
page: z.number().optional(),
|
|
50
50
|
limit: z.number().default(10),
|
|
51
|
-
"
|
|
51
|
+
"idempotency-key": z.string().optional(),
|
|
52
52
|
}).transform((v) => {
|
|
53
53
|
return remap$(v, {
|
|
54
|
-
"
|
|
54
|
+
"idempotency-key": "idempotencyKey",
|
|
55
55
|
});
|
|
56
56
|
});
|
|
57
57
|
|
|
@@ -59,7 +59,7 @@ export const SubscribersControllerListSubscribersRequest$inboundSchema:
|
|
|
59
59
|
export type SubscribersControllerListSubscribersRequest$Outbound = {
|
|
60
60
|
page?: number | undefined;
|
|
61
61
|
limit: number;
|
|
62
|
-
"
|
|
62
|
+
"idempotency-key"?: string | undefined;
|
|
63
63
|
};
|
|
64
64
|
|
|
65
65
|
/** @internal */
|
|
@@ -74,7 +74,7 @@ export const SubscribersControllerListSubscribersRequest$outboundSchema:
|
|
|
74
74
|
idempotencyKey: z.string().optional(),
|
|
75
75
|
}).transform((v) => {
|
|
76
76
|
return remap$(v, {
|
|
77
|
-
idempotencyKey: "
|
|
77
|
+
idempotencyKey: "idempotency-key",
|
|
78
78
|
});
|
|
79
79
|
});
|
|
80
80
|
|
|
@@ -35,12 +35,12 @@ export const SubscribersControllerMarkActionAsSeenRequest$inboundSchema:
|
|
|
35
35
|
messageId: z.string(),
|
|
36
36
|
type: z.any().optional(),
|
|
37
37
|
subscriberId: z.string(),
|
|
38
|
-
"
|
|
38
|
+
"idempotency-key": z.string().optional(),
|
|
39
39
|
MarkMessageActionAsSeenDto:
|
|
40
40
|
components.MarkMessageActionAsSeenDto$inboundSchema,
|
|
41
41
|
}).transform((v) => {
|
|
42
42
|
return remap$(v, {
|
|
43
|
-
"
|
|
43
|
+
"idempotency-key": "idempotencyKey",
|
|
44
44
|
"MarkMessageActionAsSeenDto": "markMessageActionAsSeenDto",
|
|
45
45
|
});
|
|
46
46
|
});
|
|
@@ -50,7 +50,7 @@ export type SubscribersControllerMarkActionAsSeenRequest$Outbound = {
|
|
|
50
50
|
messageId: string;
|
|
51
51
|
type?: any | undefined;
|
|
52
52
|
subscriberId: string;
|
|
53
|
-
"
|
|
53
|
+
"idempotency-key"?: string | undefined;
|
|
54
54
|
MarkMessageActionAsSeenDto: components.MarkMessageActionAsSeenDto$Outbound;
|
|
55
55
|
};
|
|
56
56
|
|
|
@@ -69,7 +69,7 @@ export const SubscribersControllerMarkActionAsSeenRequest$outboundSchema:
|
|
|
69
69
|
components.MarkMessageActionAsSeenDto$outboundSchema,
|
|
70
70
|
}).transform((v) => {
|
|
71
71
|
return remap$(v, {
|
|
72
|
-
idempotencyKey: "
|
|
72
|
+
idempotencyKey: "idempotency-key",
|
|
73
73
|
markMessageActionAsSeenDto: "MarkMessageActionAsSeenDto",
|
|
74
74
|
});
|
|
75
75
|
});
|
|
@@ -31,12 +31,12 @@ export const SubscribersControllerMarkAllUnreadAsReadRequest$inboundSchema:
|
|
|
31
31
|
unknown
|
|
32
32
|
> = z.object({
|
|
33
33
|
subscriberId: z.string(),
|
|
34
|
-
"
|
|
34
|
+
"idempotency-key": z.string().optional(),
|
|
35
35
|
MarkAllMessageAsRequestDto:
|
|
36
36
|
components.MarkAllMessageAsRequestDto$inboundSchema,
|
|
37
37
|
}).transform((v) => {
|
|
38
38
|
return remap$(v, {
|
|
39
|
-
"
|
|
39
|
+
"idempotency-key": "idempotencyKey",
|
|
40
40
|
"MarkAllMessageAsRequestDto": "markAllMessageAsRequestDto",
|
|
41
41
|
});
|
|
42
42
|
});
|
|
@@ -44,7 +44,7 @@ export const SubscribersControllerMarkAllUnreadAsReadRequest$inboundSchema:
|
|
|
44
44
|
/** @internal */
|
|
45
45
|
export type SubscribersControllerMarkAllUnreadAsReadRequest$Outbound = {
|
|
46
46
|
subscriberId: string;
|
|
47
|
-
"
|
|
47
|
+
"idempotency-key"?: string | undefined;
|
|
48
48
|
MarkAllMessageAsRequestDto: components.MarkAllMessageAsRequestDto$Outbound;
|
|
49
49
|
};
|
|
50
50
|
|
|
@@ -61,7 +61,7 @@ export const SubscribersControllerMarkAllUnreadAsReadRequest$outboundSchema:
|
|
|
61
61
|
components.MarkAllMessageAsRequestDto$outboundSchema,
|
|
62
62
|
}).transform((v) => {
|
|
63
63
|
return remap$(v, {
|
|
64
|
-
idempotencyKey: "
|
|
64
|
+
idempotencyKey: "idempotency-key",
|
|
65
65
|
markAllMessageAsRequestDto: "MarkAllMessageAsRequestDto",
|
|
66
66
|
});
|
|
67
67
|
});
|
|
@@ -28,11 +28,11 @@ export const SubscribersControllerMarkMessagesAsRequest$inboundSchema:
|
|
|
28
28
|
z.ZodType<SubscribersControllerMarkMessagesAsRequest, z.ZodTypeDef, unknown> =
|
|
29
29
|
z.object({
|
|
30
30
|
subscriberId: z.string(),
|
|
31
|
-
"
|
|
31
|
+
"idempotency-key": z.string().optional(),
|
|
32
32
|
MessageMarkAsRequestDto: components.MessageMarkAsRequestDto$inboundSchema,
|
|
33
33
|
}).transform((v) => {
|
|
34
34
|
return remap$(v, {
|
|
35
|
-
"
|
|
35
|
+
"idempotency-key": "idempotencyKey",
|
|
36
36
|
"MessageMarkAsRequestDto": "messageMarkAsRequestDto",
|
|
37
37
|
});
|
|
38
38
|
});
|
|
@@ -40,7 +40,7 @@ export const SubscribersControllerMarkMessagesAsRequest$inboundSchema:
|
|
|
40
40
|
/** @internal */
|
|
41
41
|
export type SubscribersControllerMarkMessagesAsRequest$Outbound = {
|
|
42
42
|
subscriberId: string;
|
|
43
|
-
"
|
|
43
|
+
"idempotency-key"?: string | undefined;
|
|
44
44
|
MessageMarkAsRequestDto: components.MessageMarkAsRequestDto$Outbound;
|
|
45
45
|
};
|
|
46
46
|
|
|
@@ -56,7 +56,7 @@ export const SubscribersControllerMarkMessagesAsRequest$outboundSchema:
|
|
|
56
56
|
messageMarkAsRequestDto: components.MessageMarkAsRequestDto$outboundSchema,
|
|
57
57
|
}).transform((v) => {
|
|
58
58
|
return remap$(v, {
|
|
59
|
-
idempotencyKey: "
|
|
59
|
+
idempotencyKey: "idempotency-key",
|
|
60
60
|
messageMarkAsRequestDto: "MessageMarkAsRequestDto",
|
|
61
61
|
});
|
|
62
62
|
});
|
|
@@ -32,12 +32,12 @@ export const SubscribersControllerModifySubscriberChannelRequest$inboundSchema:
|
|
|
32
32
|
unknown
|
|
33
33
|
> = z.object({
|
|
34
34
|
subscriberId: z.string(),
|
|
35
|
-
"
|
|
35
|
+
"idempotency-key": z.string().optional(),
|
|
36
36
|
UpdateSubscriberChannelRequestDto:
|
|
37
37
|
components.UpdateSubscriberChannelRequestDto$inboundSchema,
|
|
38
38
|
}).transform((v) => {
|
|
39
39
|
return remap$(v, {
|
|
40
|
-
"
|
|
40
|
+
"idempotency-key": "idempotencyKey",
|
|
41
41
|
"UpdateSubscriberChannelRequestDto": "updateSubscriberChannelRequestDto",
|
|
42
42
|
});
|
|
43
43
|
});
|
|
@@ -45,7 +45,7 @@ export const SubscribersControllerModifySubscriberChannelRequest$inboundSchema:
|
|
|
45
45
|
/** @internal */
|
|
46
46
|
export type SubscribersControllerModifySubscriberChannelRequest$Outbound = {
|
|
47
47
|
subscriberId: string;
|
|
48
|
-
"
|
|
48
|
+
"idempotency-key"?: string | undefined;
|
|
49
49
|
UpdateSubscriberChannelRequestDto:
|
|
50
50
|
components.UpdateSubscriberChannelRequestDto$Outbound;
|
|
51
51
|
};
|
|
@@ -63,7 +63,7 @@ export const SubscribersControllerModifySubscriberChannelRequest$outboundSchema:
|
|
|
63
63
|
components.UpdateSubscriberChannelRequestDto$outboundSchema,
|
|
64
64
|
}).transform((v) => {
|
|
65
65
|
return remap$(v, {
|
|
66
|
-
idempotencyKey: "
|
|
66
|
+
idempotencyKey: "idempotency-key",
|
|
67
67
|
updateSubscriberChannelRequestDto: "UpdateSubscriberChannelRequestDto",
|
|
68
68
|
});
|
|
69
69
|
});
|
|
@@ -30,17 +30,17 @@ export const SubscribersControllerRemoveSubscriberRequest$inboundSchema:
|
|
|
30
30
|
unknown
|
|
31
31
|
> = z.object({
|
|
32
32
|
subscriberId: z.string(),
|
|
33
|
-
"
|
|
33
|
+
"idempotency-key": z.string().optional(),
|
|
34
34
|
}).transform((v) => {
|
|
35
35
|
return remap$(v, {
|
|
36
|
-
"
|
|
36
|
+
"idempotency-key": "idempotencyKey",
|
|
37
37
|
});
|
|
38
38
|
});
|
|
39
39
|
|
|
40
40
|
/** @internal */
|
|
41
41
|
export type SubscribersControllerRemoveSubscriberRequest$Outbound = {
|
|
42
42
|
subscriberId: string;
|
|
43
|
-
"
|
|
43
|
+
"idempotency-key"?: string | undefined;
|
|
44
44
|
};
|
|
45
45
|
|
|
46
46
|
/** @internal */
|
|
@@ -54,7 +54,7 @@ export const SubscribersControllerRemoveSubscriberRequest$outboundSchema:
|
|
|
54
54
|
idempotencyKey: z.string().optional(),
|
|
55
55
|
}).transform((v) => {
|
|
56
56
|
return remap$(v, {
|
|
57
|
-
idempotencyKey: "
|
|
57
|
+
idempotencyKey: "idempotency-key",
|
|
58
58
|
});
|
|
59
59
|
});
|
|
60
60
|
|
|
@@ -31,12 +31,12 @@ export const SubscribersControllerUpdateSubscriberRequest$inboundSchema:
|
|
|
31
31
|
unknown
|
|
32
32
|
> = z.object({
|
|
33
33
|
subscriberId: z.string(),
|
|
34
|
-
"
|
|
34
|
+
"idempotency-key": z.string().optional(),
|
|
35
35
|
UpdateSubscriberRequestDto:
|
|
36
36
|
components.UpdateSubscriberRequestDto$inboundSchema,
|
|
37
37
|
}).transform((v) => {
|
|
38
38
|
return remap$(v, {
|
|
39
|
-
"
|
|
39
|
+
"idempotency-key": "idempotencyKey",
|
|
40
40
|
"UpdateSubscriberRequestDto": "updateSubscriberRequestDto",
|
|
41
41
|
});
|
|
42
42
|
});
|
|
@@ -44,7 +44,7 @@ export const SubscribersControllerUpdateSubscriberRequest$inboundSchema:
|
|
|
44
44
|
/** @internal */
|
|
45
45
|
export type SubscribersControllerUpdateSubscriberRequest$Outbound = {
|
|
46
46
|
subscriberId: string;
|
|
47
|
-
"
|
|
47
|
+
"idempotency-key"?: string | undefined;
|
|
48
48
|
UpdateSubscriberRequestDto: components.UpdateSubscriberRequestDto$Outbound;
|
|
49
49
|
};
|
|
50
50
|
|
|
@@ -61,7 +61,7 @@ export const SubscribersControllerUpdateSubscriberRequest$outboundSchema:
|
|
|
61
61
|
components.UpdateSubscriberRequestDto$outboundSchema,
|
|
62
62
|
}).transform((v) => {
|
|
63
63
|
return remap$(v, {
|
|
64
|
-
idempotencyKey: "
|
|
64
|
+
idempotencyKey: "idempotency-key",
|
|
65
65
|
updateSubscriberRequestDto: "UpdateSubscriberRequestDto",
|
|
66
66
|
});
|
|
67
67
|
});
|
|
@@ -32,12 +32,12 @@ export const SubscribersControllerUpdateSubscriberChannelRequest$inboundSchema:
|
|
|
32
32
|
unknown
|
|
33
33
|
> = z.object({
|
|
34
34
|
subscriberId: z.string(),
|
|
35
|
-
"
|
|
35
|
+
"idempotency-key": z.string().optional(),
|
|
36
36
|
UpdateSubscriberChannelRequestDto:
|
|
37
37
|
components.UpdateSubscriberChannelRequestDto$inboundSchema,
|
|
38
38
|
}).transform((v) => {
|
|
39
39
|
return remap$(v, {
|
|
40
|
-
"
|
|
40
|
+
"idempotency-key": "idempotencyKey",
|
|
41
41
|
"UpdateSubscriberChannelRequestDto": "updateSubscriberChannelRequestDto",
|
|
42
42
|
});
|
|
43
43
|
});
|
|
@@ -45,7 +45,7 @@ export const SubscribersControllerUpdateSubscriberChannelRequest$inboundSchema:
|
|
|
45
45
|
/** @internal */
|
|
46
46
|
export type SubscribersControllerUpdateSubscriberChannelRequest$Outbound = {
|
|
47
47
|
subscriberId: string;
|
|
48
|
-
"
|
|
48
|
+
"idempotency-key"?: string | undefined;
|
|
49
49
|
UpdateSubscriberChannelRequestDto:
|
|
50
50
|
components.UpdateSubscriberChannelRequestDto$Outbound;
|
|
51
51
|
};
|
|
@@ -63,7 +63,7 @@ export const SubscribersControllerUpdateSubscriberChannelRequest$outboundSchema:
|
|
|
63
63
|
components.UpdateSubscriberChannelRequestDto$outboundSchema,
|
|
64
64
|
}).transform((v) => {
|
|
65
65
|
return remap$(v, {
|
|
66
|
-
idempotencyKey: "
|
|
66
|
+
idempotencyKey: "idempotency-key",
|
|
67
67
|
updateSubscriberChannelRequestDto: "UpdateSubscriberChannelRequestDto",
|
|
68
68
|
});
|
|
69
69
|
});
|
|
@@ -32,12 +32,12 @@ export const SubscribersControllerUpdateSubscriberGlobalPreferencesRequest$inbou
|
|
|
32
32
|
unknown
|
|
33
33
|
> = z.object({
|
|
34
34
|
subscriberId: z.string(),
|
|
35
|
-
"
|
|
35
|
+
"idempotency-key": z.string().optional(),
|
|
36
36
|
UpdateSubscriberGlobalPreferencesRequestDto:
|
|
37
37
|
components.UpdateSubscriberGlobalPreferencesRequestDto$inboundSchema,
|
|
38
38
|
}).transform((v) => {
|
|
39
39
|
return remap$(v, {
|
|
40
|
-
"
|
|
40
|
+
"idempotency-key": "idempotencyKey",
|
|
41
41
|
"UpdateSubscriberGlobalPreferencesRequestDto":
|
|
42
42
|
"updateSubscriberGlobalPreferencesRequestDto",
|
|
43
43
|
});
|
|
@@ -47,7 +47,7 @@ export const SubscribersControllerUpdateSubscriberGlobalPreferencesRequest$inbou
|
|
|
47
47
|
export type SubscribersControllerUpdateSubscriberGlobalPreferencesRequest$Outbound =
|
|
48
48
|
{
|
|
49
49
|
subscriberId: string;
|
|
50
|
-
"
|
|
50
|
+
"idempotency-key"?: string | undefined;
|
|
51
51
|
UpdateSubscriberGlobalPreferencesRequestDto:
|
|
52
52
|
components.UpdateSubscriberGlobalPreferencesRequestDto$Outbound;
|
|
53
53
|
};
|
|
@@ -65,7 +65,7 @@ export const SubscribersControllerUpdateSubscriberGlobalPreferencesRequest$outbo
|
|
|
65
65
|
components.UpdateSubscriberGlobalPreferencesRequestDto$outboundSchema,
|
|
66
66
|
}).transform((v) => {
|
|
67
67
|
return remap$(v, {
|
|
68
|
-
idempotencyKey: "
|
|
68
|
+
idempotencyKey: "idempotency-key",
|
|
69
69
|
updateSubscriberGlobalPreferencesRequestDto:
|
|
70
70
|
"UpdateSubscriberGlobalPreferencesRequestDto",
|
|
71
71
|
});
|
|
@@ -32,12 +32,12 @@ export const SubscribersControllerUpdateSubscriberOnlineFlagRequest$inboundSchem
|
|
|
32
32
|
unknown
|
|
33
33
|
> = z.object({
|
|
34
34
|
subscriberId: z.string(),
|
|
35
|
-
"
|
|
35
|
+
"idempotency-key": z.string().optional(),
|
|
36
36
|
UpdateSubscriberOnlineFlagRequestDto:
|
|
37
37
|
components.UpdateSubscriberOnlineFlagRequestDto$inboundSchema,
|
|
38
38
|
}).transform((v) => {
|
|
39
39
|
return remap$(v, {
|
|
40
|
-
"
|
|
40
|
+
"idempotency-key": "idempotencyKey",
|
|
41
41
|
"UpdateSubscriberOnlineFlagRequestDto":
|
|
42
42
|
"updateSubscriberOnlineFlagRequestDto",
|
|
43
43
|
});
|
|
@@ -46,7 +46,7 @@ export const SubscribersControllerUpdateSubscriberOnlineFlagRequest$inboundSchem
|
|
|
46
46
|
/** @internal */
|
|
47
47
|
export type SubscribersControllerUpdateSubscriberOnlineFlagRequest$Outbound = {
|
|
48
48
|
subscriberId: string;
|
|
49
|
-
"
|
|
49
|
+
"idempotency-key"?: string | undefined;
|
|
50
50
|
UpdateSubscriberOnlineFlagRequestDto:
|
|
51
51
|
components.UpdateSubscriberOnlineFlagRequestDto$Outbound;
|
|
52
52
|
};
|
|
@@ -64,7 +64,7 @@ export const SubscribersControllerUpdateSubscriberOnlineFlagRequest$outboundSche
|
|
|
64
64
|
components.UpdateSubscriberOnlineFlagRequestDto$outboundSchema,
|
|
65
65
|
}).transform((v) => {
|
|
66
66
|
return remap$(v, {
|
|
67
|
-
idempotencyKey: "
|
|
67
|
+
idempotencyKey: "idempotency-key",
|
|
68
68
|
updateSubscriberOnlineFlagRequestDto:
|
|
69
69
|
"UpdateSubscriberOnlineFlagRequestDto",
|
|
70
70
|
});
|