@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
|
@@ -42,10 +42,10 @@ exports.NotificationsControllerListNotificationsRequest$inboundSchema = z.object
|
|
|
42
42
|
transactionId: z.string().optional(),
|
|
43
43
|
after: z.string().optional(),
|
|
44
44
|
before: z.string().optional(),
|
|
45
|
-
"
|
|
45
|
+
"idempotency-key": z.string().optional(),
|
|
46
46
|
}).transform((v) => {
|
|
47
47
|
return (0, primitives_js_1.remap)(v, {
|
|
48
|
-
"
|
|
48
|
+
"idempotency-key": "idempotencyKey",
|
|
49
49
|
});
|
|
50
50
|
});
|
|
51
51
|
/** @internal */
|
|
@@ -62,7 +62,7 @@ exports.NotificationsControllerListNotificationsRequest$outboundSchema = z.objec
|
|
|
62
62
|
idempotencyKey: z.string().optional(),
|
|
63
63
|
}).transform((v) => {
|
|
64
64
|
return (0, primitives_js_1.remap)(v, {
|
|
65
|
-
idempotencyKey: "
|
|
65
|
+
idempotencyKey: "idempotency-key",
|
|
66
66
|
});
|
|
67
67
|
});
|
|
68
68
|
/**
|
|
@@ -19,7 +19,7 @@ export type SubscribersControllerBulkCreateSubscribersResponse = {
|
|
|
19
19
|
export declare const SubscribersControllerBulkCreateSubscribersRequest$inboundSchema: z.ZodType<SubscribersControllerBulkCreateSubscribersRequest, z.ZodTypeDef, unknown>;
|
|
20
20
|
/** @internal */
|
|
21
21
|
export type SubscribersControllerBulkCreateSubscribersRequest$Outbound = {
|
|
22
|
-
"
|
|
22
|
+
"idempotency-key"?: string | undefined;
|
|
23
23
|
BulkSubscriberCreateDto: components.BulkSubscriberCreateDto$Outbound;
|
|
24
24
|
};
|
|
25
25
|
/** @internal */
|
|
@@ -33,11 +33,11 @@ const schemas_js_1 = require("../../lib/schemas.js");
|
|
|
33
33
|
const components = __importStar(require("../components/index.js"));
|
|
34
34
|
/** @internal */
|
|
35
35
|
exports.SubscribersControllerBulkCreateSubscribersRequest$inboundSchema = z.object({
|
|
36
|
-
"
|
|
36
|
+
"idempotency-key": z.string().optional(),
|
|
37
37
|
BulkSubscriberCreateDto: components.BulkSubscriberCreateDto$inboundSchema,
|
|
38
38
|
}).transform((v) => {
|
|
39
39
|
return (0, primitives_js_1.remap)(v, {
|
|
40
|
-
"
|
|
40
|
+
"idempotency-key": "idempotencyKey",
|
|
41
41
|
"BulkSubscriberCreateDto": "bulkSubscriberCreateDto",
|
|
42
42
|
});
|
|
43
43
|
});
|
|
@@ -47,7 +47,7 @@ exports.SubscribersControllerBulkCreateSubscribersRequest$outboundSchema = z.obj
|
|
|
47
47
|
bulkSubscriberCreateDto: components.BulkSubscriberCreateDto$outboundSchema,
|
|
48
48
|
}).transform((v) => {
|
|
49
49
|
return (0, primitives_js_1.remap)(v, {
|
|
50
|
-
idempotencyKey: "
|
|
50
|
+
idempotencyKey: "idempotency-key",
|
|
51
51
|
bulkSubscriberCreateDto: "BulkSubscriberCreateDto",
|
|
52
52
|
});
|
|
53
53
|
});
|
|
@@ -35,7 +35,7 @@ export type SubscribersControllerChatAccessOauthRequest$Outbound = {
|
|
|
35
35
|
hmacHash: string;
|
|
36
36
|
environmentId: string;
|
|
37
37
|
integrationIdentifier?: string | undefined;
|
|
38
|
-
"
|
|
38
|
+
"idempotency-key"?: string | undefined;
|
|
39
39
|
};
|
|
40
40
|
/** @internal */
|
|
41
41
|
export declare const SubscribersControllerChatAccessOauthRequest$outboundSchema: z.ZodType<SubscribersControllerChatAccessOauthRequest$Outbound, z.ZodTypeDef, SubscribersControllerChatAccessOauthRequest>;
|
|
@@ -37,10 +37,10 @@ exports.SubscribersControllerChatAccessOauthRequest$inboundSchema = z.object({
|
|
|
37
37
|
hmacHash: z.string(),
|
|
38
38
|
environmentId: z.string(),
|
|
39
39
|
integrationIdentifier: z.string().optional(),
|
|
40
|
-
"
|
|
40
|
+
"idempotency-key": z.string().optional(),
|
|
41
41
|
}).transform((v) => {
|
|
42
42
|
return (0, primitives_js_1.remap)(v, {
|
|
43
|
-
"
|
|
43
|
+
"idempotency-key": "idempotencyKey",
|
|
44
44
|
});
|
|
45
45
|
});
|
|
46
46
|
/** @internal */
|
|
@@ -53,7 +53,7 @@ exports.SubscribersControllerChatAccessOauthRequest$outboundSchema = z.object({
|
|
|
53
53
|
idempotencyKey: z.string().optional(),
|
|
54
54
|
}).transform((v) => {
|
|
55
55
|
return (0, primitives_js_1.remap)(v, {
|
|
56
|
-
idempotencyKey: "
|
|
56
|
+
idempotencyKey: "idempotency-key",
|
|
57
57
|
});
|
|
58
58
|
});
|
|
59
59
|
/**
|
|
@@ -42,7 +42,7 @@ export type SubscribersControllerChatOauthCallbackRequest$Outbound = {
|
|
|
42
42
|
environmentId: string;
|
|
43
43
|
integrationIdentifier?: string | undefined;
|
|
44
44
|
code: string;
|
|
45
|
-
"
|
|
45
|
+
"idempotency-key"?: string | undefined;
|
|
46
46
|
};
|
|
47
47
|
/** @internal */
|
|
48
48
|
export declare const SubscribersControllerChatOauthCallbackRequest$outboundSchema: z.ZodType<SubscribersControllerChatOauthCallbackRequest$Outbound, z.ZodTypeDef, SubscribersControllerChatOauthCallbackRequest>;
|
|
@@ -38,10 +38,10 @@ exports.SubscribersControllerChatOauthCallbackRequest$inboundSchema = z.object({
|
|
|
38
38
|
environmentId: z.string(),
|
|
39
39
|
integrationIdentifier: z.string().optional(),
|
|
40
40
|
code: z.string(),
|
|
41
|
-
"
|
|
41
|
+
"idempotency-key": z.string().optional(),
|
|
42
42
|
}).transform((v) => {
|
|
43
43
|
return (0, primitives_js_1.remap)(v, {
|
|
44
|
-
"
|
|
44
|
+
"idempotency-key": "idempotencyKey",
|
|
45
45
|
});
|
|
46
46
|
});
|
|
47
47
|
/** @internal */
|
|
@@ -55,7 +55,7 @@ exports.SubscribersControllerChatOauthCallbackRequest$outboundSchema = z.object(
|
|
|
55
55
|
idempotencyKey: z.string().optional(),
|
|
56
56
|
}).transform((v) => {
|
|
57
57
|
return (0, primitives_js_1.remap)(v, {
|
|
58
|
-
idempotencyKey: "
|
|
58
|
+
idempotencyKey: "idempotency-key",
|
|
59
59
|
});
|
|
60
60
|
});
|
|
61
61
|
/**
|
|
@@ -19,7 +19,7 @@ export type SubscribersControllerCreateSubscriberResponse = {
|
|
|
19
19
|
export declare const SubscribersControllerCreateSubscriberRequest$inboundSchema: z.ZodType<SubscribersControllerCreateSubscriberRequest, z.ZodTypeDef, unknown>;
|
|
20
20
|
/** @internal */
|
|
21
21
|
export type SubscribersControllerCreateSubscriberRequest$Outbound = {
|
|
22
|
-
"
|
|
22
|
+
"idempotency-key"?: string | undefined;
|
|
23
23
|
CreateSubscriberRequestDto: components.CreateSubscriberRequestDto$Outbound;
|
|
24
24
|
};
|
|
25
25
|
/** @internal */
|
|
@@ -33,11 +33,11 @@ const schemas_js_1 = require("../../lib/schemas.js");
|
|
|
33
33
|
const components = __importStar(require("../components/index.js"));
|
|
34
34
|
/** @internal */
|
|
35
35
|
exports.SubscribersControllerCreateSubscriberRequest$inboundSchema = z.object({
|
|
36
|
-
"
|
|
36
|
+
"idempotency-key": z.string().optional(),
|
|
37
37
|
CreateSubscriberRequestDto: components.CreateSubscriberRequestDto$inboundSchema,
|
|
38
38
|
}).transform((v) => {
|
|
39
39
|
return (0, primitives_js_1.remap)(v, {
|
|
40
|
-
"
|
|
40
|
+
"idempotency-key": "idempotencyKey",
|
|
41
41
|
"CreateSubscriberRequestDto": "createSubscriberRequestDto",
|
|
42
42
|
});
|
|
43
43
|
});
|
|
@@ -47,7 +47,7 @@ exports.SubscribersControllerCreateSubscriberRequest$outboundSchema = z.object({
|
|
|
47
47
|
createSubscriberRequestDto: components.CreateSubscriberRequestDto$outboundSchema,
|
|
48
48
|
}).transform((v) => {
|
|
49
49
|
return (0, primitives_js_1.remap)(v, {
|
|
50
|
-
idempotencyKey: "
|
|
50
|
+
idempotencyKey: "idempotency-key",
|
|
51
51
|
createSubscriberRequestDto: "CreateSubscriberRequestDto",
|
|
52
52
|
});
|
|
53
53
|
});
|
|
@@ -20,7 +20,7 @@ export declare const SubscribersControllerDeleteSubscriberCredentialsRequest$inb
|
|
|
20
20
|
export type SubscribersControllerDeleteSubscriberCredentialsRequest$Outbound = {
|
|
21
21
|
subscriberId: string;
|
|
22
22
|
providerId: string;
|
|
23
|
-
"
|
|
23
|
+
"idempotency-key"?: string | undefined;
|
|
24
24
|
};
|
|
25
25
|
/** @internal */
|
|
26
26
|
export declare const SubscribersControllerDeleteSubscriberCredentialsRequest$outboundSchema: z.ZodType<SubscribersControllerDeleteSubscriberCredentialsRequest$Outbound, z.ZodTypeDef, SubscribersControllerDeleteSubscriberCredentialsRequest>;
|
|
@@ -34,10 +34,10 @@ const schemas_js_1 = require("../../lib/schemas.js");
|
|
|
34
34
|
exports.SubscribersControllerDeleteSubscriberCredentialsRequest$inboundSchema = z.object({
|
|
35
35
|
subscriberId: z.string(),
|
|
36
36
|
providerId: z.string(),
|
|
37
|
-
"
|
|
37
|
+
"idempotency-key": z.string().optional(),
|
|
38
38
|
}).transform((v) => {
|
|
39
39
|
return (0, primitives_js_1.remap)(v, {
|
|
40
|
-
"
|
|
40
|
+
"idempotency-key": "idempotencyKey",
|
|
41
41
|
});
|
|
42
42
|
});
|
|
43
43
|
/** @internal */
|
|
@@ -47,7 +47,7 @@ exports.SubscribersControllerDeleteSubscriberCredentialsRequest$outboundSchema =
|
|
|
47
47
|
idempotencyKey: z.string().optional(),
|
|
48
48
|
}).transform((v) => {
|
|
49
49
|
return (0, primitives_js_1.remap)(v, {
|
|
50
|
-
idempotencyKey: "
|
|
50
|
+
idempotencyKey: "idempotency-key",
|
|
51
51
|
});
|
|
52
52
|
});
|
|
53
53
|
/**
|
|
@@ -33,7 +33,7 @@ export type SubscribersControllerGetNotificationsFeedRequest$Outbound = {
|
|
|
33
33
|
read?: boolean | undefined;
|
|
34
34
|
seen?: boolean | undefined;
|
|
35
35
|
payload?: string | undefined;
|
|
36
|
-
"
|
|
36
|
+
"idempotency-key"?: string | undefined;
|
|
37
37
|
};
|
|
38
38
|
/** @internal */
|
|
39
39
|
export declare const SubscribersControllerGetNotificationsFeedRequest$outboundSchema: z.ZodType<SubscribersControllerGetNotificationsFeedRequest$Outbound, z.ZodTypeDef, SubscribersControllerGetNotificationsFeedRequest>;
|
|
@@ -39,10 +39,10 @@ exports.SubscribersControllerGetNotificationsFeedRequest$inboundSchema = z.objec
|
|
|
39
39
|
read: z.boolean().optional(),
|
|
40
40
|
seen: z.boolean().optional(),
|
|
41
41
|
payload: z.string().optional(),
|
|
42
|
-
"
|
|
42
|
+
"idempotency-key": z.string().optional(),
|
|
43
43
|
}).transform((v) => {
|
|
44
44
|
return (0, primitives_js_1.remap)(v, {
|
|
45
|
-
"
|
|
45
|
+
"idempotency-key": "idempotencyKey",
|
|
46
46
|
});
|
|
47
47
|
});
|
|
48
48
|
/** @internal */
|
|
@@ -56,7 +56,7 @@ exports.SubscribersControllerGetNotificationsFeedRequest$outboundSchema = z.obje
|
|
|
56
56
|
idempotencyKey: z.string().optional(),
|
|
57
57
|
}).transform((v) => {
|
|
58
58
|
return (0, primitives_js_1.remap)(v, {
|
|
59
|
-
idempotencyKey: "
|
|
59
|
+
idempotencyKey: "idempotency-key",
|
|
60
60
|
});
|
|
61
61
|
});
|
|
62
62
|
/**
|
|
@@ -25,7 +25,7 @@ export declare const SubscribersControllerGetSubscriberRequest$inboundSchema: z.
|
|
|
25
25
|
export type SubscribersControllerGetSubscriberRequest$Outbound = {
|
|
26
26
|
subscriberId: string;
|
|
27
27
|
includeTopics?: boolean | undefined;
|
|
28
|
-
"
|
|
28
|
+
"idempotency-key"?: string | undefined;
|
|
29
29
|
};
|
|
30
30
|
/** @internal */
|
|
31
31
|
export declare const SubscribersControllerGetSubscriberRequest$outboundSchema: z.ZodType<SubscribersControllerGetSubscriberRequest$Outbound, z.ZodTypeDef, SubscribersControllerGetSubscriberRequest>;
|
|
@@ -35,10 +35,10 @@ const components = __importStar(require("../components/index.js"));
|
|
|
35
35
|
exports.SubscribersControllerGetSubscriberRequest$inboundSchema = z.object({
|
|
36
36
|
subscriberId: z.string(),
|
|
37
37
|
includeTopics: z.boolean().optional(),
|
|
38
|
-
"
|
|
38
|
+
"idempotency-key": z.string().optional(),
|
|
39
39
|
}).transform((v) => {
|
|
40
40
|
return (0, primitives_js_1.remap)(v, {
|
|
41
|
-
"
|
|
41
|
+
"idempotency-key": "idempotencyKey",
|
|
42
42
|
});
|
|
43
43
|
});
|
|
44
44
|
/** @internal */
|
|
@@ -48,7 +48,7 @@ exports.SubscribersControllerGetSubscriberRequest$outboundSchema = z.object({
|
|
|
48
48
|
idempotencyKey: z.string().optional(),
|
|
49
49
|
}).transform((v) => {
|
|
50
50
|
return (0, primitives_js_1.remap)(v, {
|
|
51
|
-
idempotencyKey: "
|
|
51
|
+
idempotencyKey: "idempotency-key",
|
|
52
52
|
});
|
|
53
53
|
});
|
|
54
54
|
/**
|
|
@@ -62,7 +62,7 @@ export type SubscribersControllerGetSubscriberPreferenceByLevelRequest$Outbound
|
|
|
62
62
|
includeInactiveChannels?: boolean | undefined;
|
|
63
63
|
preferenceLevel: string;
|
|
64
64
|
subscriberId: string;
|
|
65
|
-
"
|
|
65
|
+
"idempotency-key"?: string | undefined;
|
|
66
66
|
};
|
|
67
67
|
/** @internal */
|
|
68
68
|
export declare const SubscribersControllerGetSubscriberPreferenceByLevelRequest$outboundSchema: z.ZodType<SubscribersControllerGetSubscriberPreferenceByLevelRequest$Outbound, z.ZodTypeDef, SubscribersControllerGetSubscriberPreferenceByLevelRequest>;
|
|
@@ -59,10 +59,10 @@ exports.SubscribersControllerGetSubscriberPreferenceByLevelRequest$inboundSchema
|
|
|
59
59
|
includeInactiveChannels: z.boolean().optional(),
|
|
60
60
|
preferenceLevel: exports.Parameter$inboundSchema,
|
|
61
61
|
subscriberId: z.string(),
|
|
62
|
-
"
|
|
62
|
+
"idempotency-key": z.string().optional(),
|
|
63
63
|
}).transform((v) => {
|
|
64
64
|
return (0, primitives_js_1.remap)(v, {
|
|
65
|
-
"
|
|
65
|
+
"idempotency-key": "idempotencyKey",
|
|
66
66
|
});
|
|
67
67
|
});
|
|
68
68
|
/** @internal */
|
|
@@ -73,7 +73,7 @@ exports.SubscribersControllerGetSubscriberPreferenceByLevelRequest$outboundSchem
|
|
|
73
73
|
idempotencyKey: z.string().optional(),
|
|
74
74
|
}).transform((v) => {
|
|
75
75
|
return (0, primitives_js_1.remap)(v, {
|
|
76
|
-
idempotencyKey: "
|
|
76
|
+
idempotencyKey: "idempotency-key",
|
|
77
77
|
});
|
|
78
78
|
});
|
|
79
79
|
/**
|
|
@@ -30,7 +30,7 @@ export type SubscribersControllerGetUnseenCountRequest$Outbound = {
|
|
|
30
30
|
subscriberId: string;
|
|
31
31
|
seen: boolean;
|
|
32
32
|
limit: number;
|
|
33
|
-
"
|
|
33
|
+
"idempotency-key"?: string | undefined;
|
|
34
34
|
};
|
|
35
35
|
/** @internal */
|
|
36
36
|
export declare const SubscribersControllerGetUnseenCountRequest$outboundSchema: z.ZodType<SubscribersControllerGetUnseenCountRequest$Outbound, z.ZodTypeDef, SubscribersControllerGetUnseenCountRequest>;
|
|
@@ -36,10 +36,10 @@ exports.SubscribersControllerGetUnseenCountRequest$inboundSchema = z.object({
|
|
|
36
36
|
subscriberId: z.string(),
|
|
37
37
|
seen: z.boolean().default(false),
|
|
38
38
|
limit: z.number().default(100),
|
|
39
|
-
"
|
|
39
|
+
"idempotency-key": z.string().optional(),
|
|
40
40
|
}).transform((v) => {
|
|
41
41
|
return (0, primitives_js_1.remap)(v, {
|
|
42
|
-
"
|
|
42
|
+
"idempotency-key": "idempotencyKey",
|
|
43
43
|
});
|
|
44
44
|
});
|
|
45
45
|
/** @internal */
|
|
@@ -50,7 +50,7 @@ exports.SubscribersControllerGetUnseenCountRequest$outboundSchema = z.object({
|
|
|
50
50
|
idempotencyKey: z.string().optional(),
|
|
51
51
|
}).transform((v) => {
|
|
52
52
|
return (0, primitives_js_1.remap)(v, {
|
|
53
|
-
idempotencyKey: "
|
|
53
|
+
idempotencyKey: "idempotency-key",
|
|
54
54
|
});
|
|
55
55
|
});
|
|
56
56
|
/**
|
|
@@ -25,7 +25,7 @@ export declare const SubscribersControllerListSubscriberPreferencesRequest$inbou
|
|
|
25
25
|
export type SubscribersControllerListSubscriberPreferencesRequest$Outbound = {
|
|
26
26
|
subscriberId: string;
|
|
27
27
|
includeInactiveChannels?: boolean | undefined;
|
|
28
|
-
"
|
|
28
|
+
"idempotency-key"?: string | undefined;
|
|
29
29
|
};
|
|
30
30
|
/** @internal */
|
|
31
31
|
export declare const SubscribersControllerListSubscriberPreferencesRequest$outboundSchema: z.ZodType<SubscribersControllerListSubscriberPreferencesRequest$Outbound, z.ZodTypeDef, SubscribersControllerListSubscriberPreferencesRequest>;
|
|
@@ -35,10 +35,10 @@ const components = __importStar(require("../components/index.js"));
|
|
|
35
35
|
exports.SubscribersControllerListSubscriberPreferencesRequest$inboundSchema = 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 (0, primitives_js_1.remap)(v, {
|
|
41
|
-
"
|
|
41
|
+
"idempotency-key": "idempotencyKey",
|
|
42
42
|
});
|
|
43
43
|
});
|
|
44
44
|
/** @internal */
|
|
@@ -48,7 +48,7 @@ exports.SubscribersControllerListSubscriberPreferencesRequest$outboundSchema = z
|
|
|
48
48
|
idempotencyKey: z.string().optional(),
|
|
49
49
|
}).transform((v) => {
|
|
50
50
|
return (0, primitives_js_1.remap)(v, {
|
|
51
|
-
idempotencyKey: "
|
|
51
|
+
idempotencyKey: "idempotency-key",
|
|
52
52
|
});
|
|
53
53
|
});
|
|
54
54
|
/**
|
|
@@ -37,7 +37,7 @@ export declare const SubscribersControllerListSubscribersRequest$inboundSchema:
|
|
|
37
37
|
export type SubscribersControllerListSubscribersRequest$Outbound = {
|
|
38
38
|
page?: number | undefined;
|
|
39
39
|
limit: number;
|
|
40
|
-
"
|
|
40
|
+
"idempotency-key"?: string | undefined;
|
|
41
41
|
};
|
|
42
42
|
/** @internal */
|
|
43
43
|
export declare const SubscribersControllerListSubscribersRequest$outboundSchema: z.ZodType<SubscribersControllerListSubscribersRequest$Outbound, z.ZodTypeDef, SubscribersControllerListSubscribersRequest>;
|
|
@@ -35,10 +35,10 @@ const components = __importStar(require("../components/index.js"));
|
|
|
35
35
|
exports.SubscribersControllerListSubscribersRequest$inboundSchema = z.object({
|
|
36
36
|
page: z.number().optional(),
|
|
37
37
|
limit: z.number().default(10),
|
|
38
|
-
"
|
|
38
|
+
"idempotency-key": z.string().optional(),
|
|
39
39
|
}).transform((v) => {
|
|
40
40
|
return (0, primitives_js_1.remap)(v, {
|
|
41
|
-
"
|
|
41
|
+
"idempotency-key": "idempotencyKey",
|
|
42
42
|
});
|
|
43
43
|
});
|
|
44
44
|
/** @internal */
|
|
@@ -48,7 +48,7 @@ exports.SubscribersControllerListSubscribersRequest$outboundSchema = z.object({
|
|
|
48
48
|
idempotencyKey: z.string().optional(),
|
|
49
49
|
}).transform((v) => {
|
|
50
50
|
return (0, primitives_js_1.remap)(v, {
|
|
51
|
-
idempotencyKey: "
|
|
51
|
+
idempotencyKey: "idempotency-key",
|
|
52
52
|
});
|
|
53
53
|
});
|
|
54
54
|
/**
|
|
@@ -25,7 +25,7 @@ export type SubscribersControllerMarkActionAsSeenRequest$Outbound = {
|
|
|
25
25
|
messageId: string;
|
|
26
26
|
type?: any | undefined;
|
|
27
27
|
subscriberId: string;
|
|
28
|
-
"
|
|
28
|
+
"idempotency-key"?: string | undefined;
|
|
29
29
|
MarkMessageActionAsSeenDto: components.MarkMessageActionAsSeenDto$Outbound;
|
|
30
30
|
};
|
|
31
31
|
/** @internal */
|
|
@@ -36,11 +36,11 @@ exports.SubscribersControllerMarkActionAsSeenRequest$inboundSchema = z.object({
|
|
|
36
36
|
messageId: z.string(),
|
|
37
37
|
type: z.any().optional(),
|
|
38
38
|
subscriberId: z.string(),
|
|
39
|
-
"
|
|
39
|
+
"idempotency-key": z.string().optional(),
|
|
40
40
|
MarkMessageActionAsSeenDto: components.MarkMessageActionAsSeenDto$inboundSchema,
|
|
41
41
|
}).transform((v) => {
|
|
42
42
|
return (0, primitives_js_1.remap)(v, {
|
|
43
|
-
"
|
|
43
|
+
"idempotency-key": "idempotencyKey",
|
|
44
44
|
"MarkMessageActionAsSeenDto": "markMessageActionAsSeenDto",
|
|
45
45
|
});
|
|
46
46
|
});
|
|
@@ -53,7 +53,7 @@ exports.SubscribersControllerMarkActionAsSeenRequest$outboundSchema = z.object({
|
|
|
53
53
|
markMessageActionAsSeenDto: components.MarkMessageActionAsSeenDto$outboundSchema,
|
|
54
54
|
}).transform((v) => {
|
|
55
55
|
return (0, primitives_js_1.remap)(v, {
|
|
56
|
-
idempotencyKey: "
|
|
56
|
+
idempotencyKey: "idempotency-key",
|
|
57
57
|
markMessageActionAsSeenDto: "MarkMessageActionAsSeenDto",
|
|
58
58
|
});
|
|
59
59
|
});
|
|
@@ -21,7 +21,7 @@ export declare const SubscribersControllerMarkAllUnreadAsReadRequest$inboundSche
|
|
|
21
21
|
/** @internal */
|
|
22
22
|
export type SubscribersControllerMarkAllUnreadAsReadRequest$Outbound = {
|
|
23
23
|
subscriberId: string;
|
|
24
|
-
"
|
|
24
|
+
"idempotency-key"?: string | undefined;
|
|
25
25
|
MarkAllMessageAsRequestDto: components.MarkAllMessageAsRequestDto$Outbound;
|
|
26
26
|
};
|
|
27
27
|
/** @internal */
|
|
@@ -34,11 +34,11 @@ const components = __importStar(require("../components/index.js"));
|
|
|
34
34
|
/** @internal */
|
|
35
35
|
exports.SubscribersControllerMarkAllUnreadAsReadRequest$inboundSchema = z.object({
|
|
36
36
|
subscriberId: z.string(),
|
|
37
|
-
"
|
|
37
|
+
"idempotency-key": z.string().optional(),
|
|
38
38
|
MarkAllMessageAsRequestDto: components.MarkAllMessageAsRequestDto$inboundSchema,
|
|
39
39
|
}).transform((v) => {
|
|
40
40
|
return (0, primitives_js_1.remap)(v, {
|
|
41
|
-
"
|
|
41
|
+
"idempotency-key": "idempotencyKey",
|
|
42
42
|
"MarkAllMessageAsRequestDto": "markAllMessageAsRequestDto",
|
|
43
43
|
});
|
|
44
44
|
});
|
|
@@ -49,7 +49,7 @@ exports.SubscribersControllerMarkAllUnreadAsReadRequest$outboundSchema = z.objec
|
|
|
49
49
|
markAllMessageAsRequestDto: components.MarkAllMessageAsRequestDto$outboundSchema,
|
|
50
50
|
}).transform((v) => {
|
|
51
51
|
return (0, primitives_js_1.remap)(v, {
|
|
52
|
-
idempotencyKey: "
|
|
52
|
+
idempotencyKey: "idempotency-key",
|
|
53
53
|
markAllMessageAsRequestDto: "MarkAllMessageAsRequestDto",
|
|
54
54
|
});
|
|
55
55
|
});
|
|
@@ -21,7 +21,7 @@ export declare const SubscribersControllerMarkMessagesAsRequest$inboundSchema: z
|
|
|
21
21
|
/** @internal */
|
|
22
22
|
export type SubscribersControllerMarkMessagesAsRequest$Outbound = {
|
|
23
23
|
subscriberId: string;
|
|
24
|
-
"
|
|
24
|
+
"idempotency-key"?: string | undefined;
|
|
25
25
|
MessageMarkAsRequestDto: components.MessageMarkAsRequestDto$Outbound;
|
|
26
26
|
};
|
|
27
27
|
/** @internal */
|
|
@@ -34,11 +34,11 @@ const components = __importStar(require("../components/index.js"));
|
|
|
34
34
|
/** @internal */
|
|
35
35
|
exports.SubscribersControllerMarkMessagesAsRequest$inboundSchema = z.object({
|
|
36
36
|
subscriberId: z.string(),
|
|
37
|
-
"
|
|
37
|
+
"idempotency-key": z.string().optional(),
|
|
38
38
|
MessageMarkAsRequestDto: components.MessageMarkAsRequestDto$inboundSchema,
|
|
39
39
|
}).transform((v) => {
|
|
40
40
|
return (0, primitives_js_1.remap)(v, {
|
|
41
|
-
"
|
|
41
|
+
"idempotency-key": "idempotencyKey",
|
|
42
42
|
"MessageMarkAsRequestDto": "messageMarkAsRequestDto",
|
|
43
43
|
});
|
|
44
44
|
});
|
|
@@ -49,7 +49,7 @@ exports.SubscribersControllerMarkMessagesAsRequest$outboundSchema = z.object({
|
|
|
49
49
|
messageMarkAsRequestDto: components.MessageMarkAsRequestDto$outboundSchema,
|
|
50
50
|
}).transform((v) => {
|
|
51
51
|
return (0, primitives_js_1.remap)(v, {
|
|
52
|
-
idempotencyKey: "
|
|
52
|
+
idempotencyKey: "idempotency-key",
|
|
53
53
|
messageMarkAsRequestDto: "MessageMarkAsRequestDto",
|
|
54
54
|
});
|
|
55
55
|
});
|
|
@@ -21,7 +21,7 @@ export declare const SubscribersControllerModifySubscriberChannelRequest$inbound
|
|
|
21
21
|
/** @internal */
|
|
22
22
|
export type SubscribersControllerModifySubscriberChannelRequest$Outbound = {
|
|
23
23
|
subscriberId: string;
|
|
24
|
-
"
|
|
24
|
+
"idempotency-key"?: string | undefined;
|
|
25
25
|
UpdateSubscriberChannelRequestDto: components.UpdateSubscriberChannelRequestDto$Outbound;
|
|
26
26
|
};
|
|
27
27
|
/** @internal */
|
|
@@ -34,11 +34,11 @@ const components = __importStar(require("../components/index.js"));
|
|
|
34
34
|
/** @internal */
|
|
35
35
|
exports.SubscribersControllerModifySubscriberChannelRequest$inboundSchema = z.object({
|
|
36
36
|
subscriberId: z.string(),
|
|
37
|
-
"
|
|
37
|
+
"idempotency-key": z.string().optional(),
|
|
38
38
|
UpdateSubscriberChannelRequestDto: components.UpdateSubscriberChannelRequestDto$inboundSchema,
|
|
39
39
|
}).transform((v) => {
|
|
40
40
|
return (0, primitives_js_1.remap)(v, {
|
|
41
|
-
"
|
|
41
|
+
"idempotency-key": "idempotencyKey",
|
|
42
42
|
"UpdateSubscriberChannelRequestDto": "updateSubscriberChannelRequestDto",
|
|
43
43
|
});
|
|
44
44
|
});
|
|
@@ -49,7 +49,7 @@ exports.SubscribersControllerModifySubscriberChannelRequest$outboundSchema = z.o
|
|
|
49
49
|
updateSubscriberChannelRequestDto: components.UpdateSubscriberChannelRequestDto$outboundSchema,
|
|
50
50
|
}).transform((v) => {
|
|
51
51
|
return (0, primitives_js_1.remap)(v, {
|
|
52
|
-
idempotencyKey: "
|
|
52
|
+
idempotencyKey: "idempotency-key",
|
|
53
53
|
updateSubscriberChannelRequestDto: "UpdateSubscriberChannelRequestDto",
|
|
54
54
|
});
|
|
55
55
|
});
|
|
@@ -20,7 +20,7 @@ export declare const SubscribersControllerRemoveSubscriberRequest$inboundSchema:
|
|
|
20
20
|
/** @internal */
|
|
21
21
|
export type SubscribersControllerRemoveSubscriberRequest$Outbound = {
|
|
22
22
|
subscriberId: string;
|
|
23
|
-
"
|
|
23
|
+
"idempotency-key"?: string | undefined;
|
|
24
24
|
};
|
|
25
25
|
/** @internal */
|
|
26
26
|
export declare const SubscribersControllerRemoveSubscriberRequest$outboundSchema: z.ZodType<SubscribersControllerRemoveSubscriberRequest$Outbound, z.ZodTypeDef, SubscribersControllerRemoveSubscriberRequest>;
|
|
@@ -34,10 +34,10 @@ const components = __importStar(require("../components/index.js"));
|
|
|
34
34
|
/** @internal */
|
|
35
35
|
exports.SubscribersControllerRemoveSubscriberRequest$inboundSchema = z.object({
|
|
36
36
|
subscriberId: z.string(),
|
|
37
|
-
"
|
|
37
|
+
"idempotency-key": z.string().optional(),
|
|
38
38
|
}).transform((v) => {
|
|
39
39
|
return (0, primitives_js_1.remap)(v, {
|
|
40
|
-
"
|
|
40
|
+
"idempotency-key": "idempotencyKey",
|
|
41
41
|
});
|
|
42
42
|
});
|
|
43
43
|
/** @internal */
|
|
@@ -46,7 +46,7 @@ exports.SubscribersControllerRemoveSubscriberRequest$outboundSchema = z.object({
|
|
|
46
46
|
idempotencyKey: z.string().optional(),
|
|
47
47
|
}).transform((v) => {
|
|
48
48
|
return (0, primitives_js_1.remap)(v, {
|
|
49
|
-
idempotencyKey: "
|
|
49
|
+
idempotencyKey: "idempotency-key",
|
|
50
50
|
});
|
|
51
51
|
});
|
|
52
52
|
/**
|
|
@@ -21,7 +21,7 @@ export declare const SubscribersControllerUpdateSubscriberRequest$inboundSchema:
|
|
|
21
21
|
/** @internal */
|
|
22
22
|
export type SubscribersControllerUpdateSubscriberRequest$Outbound = {
|
|
23
23
|
subscriberId: string;
|
|
24
|
-
"
|
|
24
|
+
"idempotency-key"?: string | undefined;
|
|
25
25
|
UpdateSubscriberRequestDto: components.UpdateSubscriberRequestDto$Outbound;
|
|
26
26
|
};
|
|
27
27
|
/** @internal */
|
|
@@ -34,11 +34,11 @@ const components = __importStar(require("../components/index.js"));
|
|
|
34
34
|
/** @internal */
|
|
35
35
|
exports.SubscribersControllerUpdateSubscriberRequest$inboundSchema = z.object({
|
|
36
36
|
subscriberId: z.string(),
|
|
37
|
-
"
|
|
37
|
+
"idempotency-key": z.string().optional(),
|
|
38
38
|
UpdateSubscriberRequestDto: components.UpdateSubscriberRequestDto$inboundSchema,
|
|
39
39
|
}).transform((v) => {
|
|
40
40
|
return (0, primitives_js_1.remap)(v, {
|
|
41
|
-
"
|
|
41
|
+
"idempotency-key": "idempotencyKey",
|
|
42
42
|
"UpdateSubscriberRequestDto": "updateSubscriberRequestDto",
|
|
43
43
|
});
|
|
44
44
|
});
|
|
@@ -49,7 +49,7 @@ exports.SubscribersControllerUpdateSubscriberRequest$outboundSchema = z.object({
|
|
|
49
49
|
updateSubscriberRequestDto: components.UpdateSubscriberRequestDto$outboundSchema,
|
|
50
50
|
}).transform((v) => {
|
|
51
51
|
return (0, primitives_js_1.remap)(v, {
|
|
52
|
-
idempotencyKey: "
|
|
52
|
+
idempotencyKey: "idempotency-key",
|
|
53
53
|
updateSubscriberRequestDto: "UpdateSubscriberRequestDto",
|
|
54
54
|
});
|
|
55
55
|
});
|
|
@@ -21,7 +21,7 @@ export declare const SubscribersControllerUpdateSubscriberChannelRequest$inbound
|
|
|
21
21
|
/** @internal */
|
|
22
22
|
export type SubscribersControllerUpdateSubscriberChannelRequest$Outbound = {
|
|
23
23
|
subscriberId: string;
|
|
24
|
-
"
|
|
24
|
+
"idempotency-key"?: string | undefined;
|
|
25
25
|
UpdateSubscriberChannelRequestDto: components.UpdateSubscriberChannelRequestDto$Outbound;
|
|
26
26
|
};
|
|
27
27
|
/** @internal */
|
|
@@ -34,11 +34,11 @@ const components = __importStar(require("../components/index.js"));
|
|
|
34
34
|
/** @internal */
|
|
35
35
|
exports.SubscribersControllerUpdateSubscriberChannelRequest$inboundSchema = z.object({
|
|
36
36
|
subscriberId: z.string(),
|
|
37
|
-
"
|
|
37
|
+
"idempotency-key": z.string().optional(),
|
|
38
38
|
UpdateSubscriberChannelRequestDto: components.UpdateSubscriberChannelRequestDto$inboundSchema,
|
|
39
39
|
}).transform((v) => {
|
|
40
40
|
return (0, primitives_js_1.remap)(v, {
|
|
41
|
-
"
|
|
41
|
+
"idempotency-key": "idempotencyKey",
|
|
42
42
|
"UpdateSubscriberChannelRequestDto": "updateSubscriberChannelRequestDto",
|
|
43
43
|
});
|
|
44
44
|
});
|
|
@@ -49,7 +49,7 @@ exports.SubscribersControllerUpdateSubscriberChannelRequest$outboundSchema = z.o
|
|
|
49
49
|
updateSubscriberChannelRequestDto: components.UpdateSubscriberChannelRequestDto$outboundSchema,
|
|
50
50
|
}).transform((v) => {
|
|
51
51
|
return (0, primitives_js_1.remap)(v, {
|
|
52
|
-
idempotencyKey: "
|
|
52
|
+
idempotencyKey: "idempotency-key",
|
|
53
53
|
updateSubscriberChannelRequestDto: "UpdateSubscriberChannelRequestDto",
|
|
54
54
|
});
|
|
55
55
|
});
|