@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
package/src/funcs/trigger.ts
CHANGED
|
@@ -77,9 +77,9 @@ export async function trigger(
|
|
|
77
77
|
const headers = new Headers(compactMap({
|
|
78
78
|
"Content-Type": "application/json",
|
|
79
79
|
Accept: "application/json",
|
|
80
|
-
"
|
|
81
|
-
"
|
|
82
|
-
payload["
|
|
80
|
+
"idempotency-key": encodeSimple(
|
|
81
|
+
"idempotency-key",
|
|
82
|
+
payload["idempotency-key"],
|
|
83
83
|
{ explode: false, charEncoding: "none" },
|
|
84
84
|
),
|
|
85
85
|
}));
|
|
@@ -76,9 +76,9 @@ export async function triggerBroadcast(
|
|
|
76
76
|
const headers = new Headers(compactMap({
|
|
77
77
|
"Content-Type": "application/json",
|
|
78
78
|
Accept: "application/json",
|
|
79
|
-
"
|
|
80
|
-
"
|
|
81
|
-
payload["
|
|
79
|
+
"idempotency-key": encodeSimple(
|
|
80
|
+
"idempotency-key",
|
|
81
|
+
payload["idempotency-key"],
|
|
82
82
|
{ explode: false, charEncoding: "none" },
|
|
83
83
|
),
|
|
84
84
|
}));
|
package/src/funcs/triggerBulk.ts
CHANGED
|
@@ -76,9 +76,9 @@ export async function triggerBulk(
|
|
|
76
76
|
const headers = new Headers(compactMap({
|
|
77
77
|
"Content-Type": "application/json",
|
|
78
78
|
Accept: "application/json",
|
|
79
|
-
"
|
|
80
|
-
"
|
|
81
|
-
payload["
|
|
79
|
+
"idempotency-key": encodeSimple(
|
|
80
|
+
"idempotency-key",
|
|
81
|
+
payload["idempotency-key"],
|
|
82
82
|
{ explode: false, charEncoding: "none" },
|
|
83
83
|
),
|
|
84
84
|
}));
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
export class NovuCustomHook
|
|
12
12
|
implements BeforeRequestHook, AfterSuccessHook, BeforeCreateRequestHook {
|
|
13
13
|
beforeCreateRequest(_hookCtx: HookContext, input: RequestInput): RequestInput {
|
|
14
|
-
const idempotencyKey = '
|
|
14
|
+
const idempotencyKey = 'idempotency-key';
|
|
15
15
|
const headers = input.options?.headers
|
|
16
16
|
if (!headers) {
|
|
17
17
|
return input
|
|
@@ -68,7 +68,7 @@ export class NovuCustomHook
|
|
|
68
68
|
): Record<string, string> {
|
|
69
69
|
const headersRecord = this.convertToRecord(headers);
|
|
70
70
|
|
|
71
|
-
if (!(key in headersRecord) || headersRecord[key]
|
|
71
|
+
if (!(key in headersRecord) || headersRecord[key] == '') {
|
|
72
72
|
headersRecord[key] = defaultValueFunction();
|
|
73
73
|
}
|
|
74
74
|
|
package/src/lib/config.ts
CHANGED
|
@@ -55,7 +55,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
55
55
|
export const SDK_METADATA = {
|
|
56
56
|
language: "typescript",
|
|
57
57
|
openapiDocVersion: "1.0",
|
|
58
|
-
sdkVersion: "0.0.1-alpha.
|
|
58
|
+
sdkVersion: "0.0.1-alpha.195",
|
|
59
59
|
genVersion: "2.493.15",
|
|
60
|
-
userAgent: "speakeasy-sdk/typescript 0.0.1-alpha.
|
|
60
|
+
userAgent: "speakeasy-sdk/typescript 0.0.1-alpha.195 2.493.15 1.0 @novu/api",
|
|
61
61
|
} as const;
|
|
@@ -26,19 +26,19 @@ export type EventsControllerBroadcastEventToAllResponse = {
|
|
|
26
26
|
export const EventsControllerBroadcastEventToAllRequest$inboundSchema:
|
|
27
27
|
z.ZodType<EventsControllerBroadcastEventToAllRequest, z.ZodTypeDef, unknown> =
|
|
28
28
|
z.object({
|
|
29
|
-
"
|
|
29
|
+
"idempotency-key": z.string().optional(),
|
|
30
30
|
TriggerEventToAllRequestDto:
|
|
31
31
|
components.TriggerEventToAllRequestDto$inboundSchema,
|
|
32
32
|
}).transform((v) => {
|
|
33
33
|
return remap$(v, {
|
|
34
|
-
"
|
|
34
|
+
"idempotency-key": "idempotencyKey",
|
|
35
35
|
"TriggerEventToAllRequestDto": "triggerEventToAllRequestDto",
|
|
36
36
|
});
|
|
37
37
|
});
|
|
38
38
|
|
|
39
39
|
/** @internal */
|
|
40
40
|
export type EventsControllerBroadcastEventToAllRequest$Outbound = {
|
|
41
|
-
"
|
|
41
|
+
"idempotency-key"?: string | undefined;
|
|
42
42
|
TriggerEventToAllRequestDto: components.TriggerEventToAllRequestDto$Outbound;
|
|
43
43
|
};
|
|
44
44
|
|
|
@@ -54,7 +54,7 @@ export const EventsControllerBroadcastEventToAllRequest$outboundSchema:
|
|
|
54
54
|
components.TriggerEventToAllRequestDto$outboundSchema,
|
|
55
55
|
}).transform((v) => {
|
|
56
56
|
return remap$(v, {
|
|
57
|
-
idempotencyKey: "
|
|
57
|
+
idempotencyKey: "idempotency-key",
|
|
58
58
|
triggerEventToAllRequestDto: "TriggerEventToAllRequestDto",
|
|
59
59
|
});
|
|
60
60
|
});
|
|
@@ -29,17 +29,17 @@ export const EventsControllerCancelRequest$inboundSchema: z.ZodType<
|
|
|
29
29
|
unknown
|
|
30
30
|
> = z.object({
|
|
31
31
|
transactionId: z.string(),
|
|
32
|
-
"
|
|
32
|
+
"idempotency-key": z.string().optional(),
|
|
33
33
|
}).transform((v) => {
|
|
34
34
|
return remap$(v, {
|
|
35
|
-
"
|
|
35
|
+
"idempotency-key": "idempotencyKey",
|
|
36
36
|
});
|
|
37
37
|
});
|
|
38
38
|
|
|
39
39
|
/** @internal */
|
|
40
40
|
export type EventsControllerCancelRequest$Outbound = {
|
|
41
41
|
transactionId: string;
|
|
42
|
-
"
|
|
42
|
+
"idempotency-key"?: string | undefined;
|
|
43
43
|
};
|
|
44
44
|
|
|
45
45
|
/** @internal */
|
|
@@ -52,7 +52,7 @@ export const EventsControllerCancelRequest$outboundSchema: z.ZodType<
|
|
|
52
52
|
idempotencyKey: z.string().optional(),
|
|
53
53
|
}).transform((v) => {
|
|
54
54
|
return remap$(v, {
|
|
55
|
-
idempotencyKey: "
|
|
55
|
+
idempotencyKey: "idempotency-key",
|
|
56
56
|
});
|
|
57
57
|
});
|
|
58
58
|
|
|
@@ -28,18 +28,18 @@ export const EventsControllerTriggerRequest$inboundSchema: z.ZodType<
|
|
|
28
28
|
z.ZodTypeDef,
|
|
29
29
|
unknown
|
|
30
30
|
> = z.object({
|
|
31
|
-
"
|
|
31
|
+
"idempotency-key": z.string().optional(),
|
|
32
32
|
TriggerEventRequestDto: components.TriggerEventRequestDto$inboundSchema,
|
|
33
33
|
}).transform((v) => {
|
|
34
34
|
return remap$(v, {
|
|
35
|
-
"
|
|
35
|
+
"idempotency-key": "idempotencyKey",
|
|
36
36
|
"TriggerEventRequestDto": "triggerEventRequestDto",
|
|
37
37
|
});
|
|
38
38
|
});
|
|
39
39
|
|
|
40
40
|
/** @internal */
|
|
41
41
|
export type EventsControllerTriggerRequest$Outbound = {
|
|
42
|
-
"
|
|
42
|
+
"idempotency-key"?: string | undefined;
|
|
43
43
|
TriggerEventRequestDto: components.TriggerEventRequestDto$Outbound;
|
|
44
44
|
};
|
|
45
45
|
|
|
@@ -53,7 +53,7 @@ export const EventsControllerTriggerRequest$outboundSchema: z.ZodType<
|
|
|
53
53
|
triggerEventRequestDto: components.TriggerEventRequestDto$outboundSchema,
|
|
54
54
|
}).transform((v) => {
|
|
55
55
|
return remap$(v, {
|
|
56
|
-
idempotencyKey: "
|
|
56
|
+
idempotencyKey: "idempotency-key",
|
|
57
57
|
triggerEventRequestDto: "TriggerEventRequestDto",
|
|
58
58
|
});
|
|
59
59
|
});
|
|
@@ -28,18 +28,18 @@ export const EventsControllerTriggerBulkRequest$inboundSchema: z.ZodType<
|
|
|
28
28
|
z.ZodTypeDef,
|
|
29
29
|
unknown
|
|
30
30
|
> = z.object({
|
|
31
|
-
"
|
|
31
|
+
"idempotency-key": z.string().optional(),
|
|
32
32
|
BulkTriggerEventDto: components.BulkTriggerEventDto$inboundSchema,
|
|
33
33
|
}).transform((v) => {
|
|
34
34
|
return remap$(v, {
|
|
35
|
-
"
|
|
35
|
+
"idempotency-key": "idempotencyKey",
|
|
36
36
|
"BulkTriggerEventDto": "bulkTriggerEventDto",
|
|
37
37
|
});
|
|
38
38
|
});
|
|
39
39
|
|
|
40
40
|
/** @internal */
|
|
41
41
|
export type EventsControllerTriggerBulkRequest$Outbound = {
|
|
42
|
-
"
|
|
42
|
+
"idempotency-key"?: string | undefined;
|
|
43
43
|
BulkTriggerEventDto: components.BulkTriggerEventDto$Outbound;
|
|
44
44
|
};
|
|
45
45
|
|
|
@@ -53,7 +53,7 @@ export const EventsControllerTriggerBulkRequest$outboundSchema: z.ZodType<
|
|
|
53
53
|
bulkTriggerEventDto: components.BulkTriggerEventDto$outboundSchema,
|
|
54
54
|
}).transform((v) => {
|
|
55
55
|
return remap$(v, {
|
|
56
|
-
idempotencyKey: "
|
|
56
|
+
idempotencyKey: "idempotency-key",
|
|
57
57
|
bulkTriggerEventDto: "BulkTriggerEventDto",
|
|
58
58
|
});
|
|
59
59
|
});
|
|
@@ -29,19 +29,19 @@ export const IntegrationsControllerCreateIntegrationRequest$inboundSchema:
|
|
|
29
29
|
z.ZodTypeDef,
|
|
30
30
|
unknown
|
|
31
31
|
> = z.object({
|
|
32
|
-
"
|
|
32
|
+
"idempotency-key": z.string().optional(),
|
|
33
33
|
CreateIntegrationRequestDto:
|
|
34
34
|
components.CreateIntegrationRequestDto$inboundSchema,
|
|
35
35
|
}).transform((v) => {
|
|
36
36
|
return remap$(v, {
|
|
37
|
-
"
|
|
37
|
+
"idempotency-key": "idempotencyKey",
|
|
38
38
|
"CreateIntegrationRequestDto": "createIntegrationRequestDto",
|
|
39
39
|
});
|
|
40
40
|
});
|
|
41
41
|
|
|
42
42
|
/** @internal */
|
|
43
43
|
export type IntegrationsControllerCreateIntegrationRequest$Outbound = {
|
|
44
|
-
"
|
|
44
|
+
"idempotency-key"?: string | undefined;
|
|
45
45
|
CreateIntegrationRequestDto: components.CreateIntegrationRequestDto$Outbound;
|
|
46
46
|
};
|
|
47
47
|
|
|
@@ -57,7 +57,7 @@ export const IntegrationsControllerCreateIntegrationRequest$outboundSchema:
|
|
|
57
57
|
components.CreateIntegrationRequestDto$outboundSchema,
|
|
58
58
|
}).transform((v) => {
|
|
59
59
|
return remap$(v, {
|
|
60
|
-
idempotencyKey: "
|
|
60
|
+
idempotencyKey: "idempotency-key",
|
|
61
61
|
createIntegrationRequestDto: "CreateIntegrationRequestDto",
|
|
62
62
|
});
|
|
63
63
|
});
|
|
@@ -28,16 +28,16 @@ export const IntegrationsControllerGetActiveIntegrationsRequest$inboundSchema:
|
|
|
28
28
|
z.ZodTypeDef,
|
|
29
29
|
unknown
|
|
30
30
|
> = z.object({
|
|
31
|
-
"
|
|
31
|
+
"idempotency-key": z.string().optional(),
|
|
32
32
|
}).transform((v) => {
|
|
33
33
|
return remap$(v, {
|
|
34
|
-
"
|
|
34
|
+
"idempotency-key": "idempotencyKey",
|
|
35
35
|
});
|
|
36
36
|
});
|
|
37
37
|
|
|
38
38
|
/** @internal */
|
|
39
39
|
export type IntegrationsControllerGetActiveIntegrationsRequest$Outbound = {
|
|
40
|
-
"
|
|
40
|
+
"idempotency-key"?: string | undefined;
|
|
41
41
|
};
|
|
42
42
|
|
|
43
43
|
/** @internal */
|
|
@@ -50,7 +50,7 @@ export const IntegrationsControllerGetActiveIntegrationsRequest$outboundSchema:
|
|
|
50
50
|
idempotencyKey: z.string().optional(),
|
|
51
51
|
}).transform((v) => {
|
|
52
52
|
return remap$(v, {
|
|
53
|
-
idempotencyKey: "
|
|
53
|
+
idempotencyKey: "idempotency-key",
|
|
54
54
|
});
|
|
55
55
|
});
|
|
56
56
|
|
|
@@ -29,17 +29,17 @@ export const IntegrationsControllerGetWebhookSupportStatusRequest$inboundSchema:
|
|
|
29
29
|
unknown
|
|
30
30
|
> = z.object({
|
|
31
31
|
providerOrIntegrationId: z.string(),
|
|
32
|
-
"
|
|
32
|
+
"idempotency-key": z.string().optional(),
|
|
33
33
|
}).transform((v) => {
|
|
34
34
|
return remap$(v, {
|
|
35
|
-
"
|
|
35
|
+
"idempotency-key": "idempotencyKey",
|
|
36
36
|
});
|
|
37
37
|
});
|
|
38
38
|
|
|
39
39
|
/** @internal */
|
|
40
40
|
export type IntegrationsControllerGetWebhookSupportStatusRequest$Outbound = {
|
|
41
41
|
providerOrIntegrationId: string;
|
|
42
|
-
"
|
|
42
|
+
"idempotency-key"?: string | undefined;
|
|
43
43
|
};
|
|
44
44
|
|
|
45
45
|
/** @internal */
|
|
@@ -53,7 +53,7 @@ export const IntegrationsControllerGetWebhookSupportStatusRequest$outboundSchema
|
|
|
53
53
|
idempotencyKey: z.string().optional(),
|
|
54
54
|
}).transform((v) => {
|
|
55
55
|
return remap$(v, {
|
|
56
|
-
idempotencyKey: "
|
|
56
|
+
idempotencyKey: "idempotency-key",
|
|
57
57
|
});
|
|
58
58
|
});
|
|
59
59
|
|
|
@@ -28,16 +28,16 @@ export const IntegrationsControllerListIntegrationsRequest$inboundSchema:
|
|
|
28
28
|
z.ZodTypeDef,
|
|
29
29
|
unknown
|
|
30
30
|
> = z.object({
|
|
31
|
-
"
|
|
31
|
+
"idempotency-key": z.string().optional(),
|
|
32
32
|
}).transform((v) => {
|
|
33
33
|
return remap$(v, {
|
|
34
|
-
"
|
|
34
|
+
"idempotency-key": "idempotencyKey",
|
|
35
35
|
});
|
|
36
36
|
});
|
|
37
37
|
|
|
38
38
|
/** @internal */
|
|
39
39
|
export type IntegrationsControllerListIntegrationsRequest$Outbound = {
|
|
40
|
-
"
|
|
40
|
+
"idempotency-key"?: string | undefined;
|
|
41
41
|
};
|
|
42
42
|
|
|
43
43
|
/** @internal */
|
|
@@ -50,7 +50,7 @@ export const IntegrationsControllerListIntegrationsRequest$outboundSchema:
|
|
|
50
50
|
idempotencyKey: z.string().optional(),
|
|
51
51
|
}).transform((v) => {
|
|
52
52
|
return remap$(v, {
|
|
53
|
-
idempotencyKey: "
|
|
53
|
+
idempotencyKey: "idempotency-key",
|
|
54
54
|
});
|
|
55
55
|
});
|
|
56
56
|
|
|
@@ -30,17 +30,17 @@ export const IntegrationsControllerRemoveIntegrationRequest$inboundSchema:
|
|
|
30
30
|
unknown
|
|
31
31
|
> = z.object({
|
|
32
32
|
integrationId: 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 IntegrationsControllerRemoveIntegrationRequest$Outbound = {
|
|
42
42
|
integrationId: string;
|
|
43
|
-
"
|
|
43
|
+
"idempotency-key"?: string | undefined;
|
|
44
44
|
};
|
|
45
45
|
|
|
46
46
|
/** @internal */
|
|
@@ -54,7 +54,7 @@ export const IntegrationsControllerRemoveIntegrationRequest$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
|
|
|
@@ -30,17 +30,17 @@ export const IntegrationsControllerSetIntegrationAsPrimaryRequest$inboundSchema:
|
|
|
30
30
|
unknown
|
|
31
31
|
> = z.object({
|
|
32
32
|
integrationId: 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 IntegrationsControllerSetIntegrationAsPrimaryRequest$Outbound = {
|
|
42
42
|
integrationId: string;
|
|
43
|
-
"
|
|
43
|
+
"idempotency-key"?: string | undefined;
|
|
44
44
|
};
|
|
45
45
|
|
|
46
46
|
/** @internal */
|
|
@@ -54,7 +54,7 @@ export const IntegrationsControllerSetIntegrationAsPrimaryRequest$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 IntegrationsControllerUpdateIntegrationByIdRequest$inboundSchema:
|
|
|
31
31
|
unknown
|
|
32
32
|
> = z.object({
|
|
33
33
|
integrationId: z.string(),
|
|
34
|
-
"
|
|
34
|
+
"idempotency-key": z.string().optional(),
|
|
35
35
|
UpdateIntegrationRequestDto:
|
|
36
36
|
components.UpdateIntegrationRequestDto$inboundSchema,
|
|
37
37
|
}).transform((v) => {
|
|
38
38
|
return remap$(v, {
|
|
39
|
-
"
|
|
39
|
+
"idempotency-key": "idempotencyKey",
|
|
40
40
|
"UpdateIntegrationRequestDto": "updateIntegrationRequestDto",
|
|
41
41
|
});
|
|
42
42
|
});
|
|
@@ -44,7 +44,7 @@ export const IntegrationsControllerUpdateIntegrationByIdRequest$inboundSchema:
|
|
|
44
44
|
/** @internal */
|
|
45
45
|
export type IntegrationsControllerUpdateIntegrationByIdRequest$Outbound = {
|
|
46
46
|
integrationId: string;
|
|
47
|
-
"
|
|
47
|
+
"idempotency-key"?: string | undefined;
|
|
48
48
|
UpdateIntegrationRequestDto: components.UpdateIntegrationRequestDto$Outbound;
|
|
49
49
|
};
|
|
50
50
|
|
|
@@ -61,7 +61,7 @@ export const IntegrationsControllerUpdateIntegrationByIdRequest$outboundSchema:
|
|
|
61
61
|
components.UpdateIntegrationRequestDto$outboundSchema,
|
|
62
62
|
}).transform((v) => {
|
|
63
63
|
return remap$(v, {
|
|
64
|
-
idempotencyKey: "
|
|
64
|
+
idempotencyKey: "idempotency-key",
|
|
65
65
|
updateIntegrationRequestDto: "UpdateIntegrationRequestDto",
|
|
66
66
|
});
|
|
67
67
|
});
|
|
@@ -29,17 +29,17 @@ export const MessagesControllerDeleteMessageRequest$inboundSchema: z.ZodType<
|
|
|
29
29
|
unknown
|
|
30
30
|
> = z.object({
|
|
31
31
|
messageId: z.string(),
|
|
32
|
-
"
|
|
32
|
+
"idempotency-key": z.string().optional(),
|
|
33
33
|
}).transform((v) => {
|
|
34
34
|
return remap$(v, {
|
|
35
|
-
"
|
|
35
|
+
"idempotency-key": "idempotencyKey",
|
|
36
36
|
});
|
|
37
37
|
});
|
|
38
38
|
|
|
39
39
|
/** @internal */
|
|
40
40
|
export type MessagesControllerDeleteMessageRequest$Outbound = {
|
|
41
41
|
messageId: string;
|
|
42
|
-
"
|
|
42
|
+
"idempotency-key"?: string | undefined;
|
|
43
43
|
};
|
|
44
44
|
|
|
45
45
|
/** @internal */
|
|
@@ -52,7 +52,7 @@ export const MessagesControllerDeleteMessageRequest$outboundSchema: z.ZodType<
|
|
|
52
52
|
idempotencyKey: z.string().optional(),
|
|
53
53
|
}).transform((v) => {
|
|
54
54
|
return remap$(v, {
|
|
55
|
-
idempotencyKey: "
|
|
55
|
+
idempotencyKey: "idempotency-key",
|
|
56
56
|
});
|
|
57
57
|
});
|
|
58
58
|
|
|
@@ -68,10 +68,10 @@ export const MessagesControllerDeleteMessagesByTransactionIdRequest$inboundSchem
|
|
|
68
68
|
> = z.object({
|
|
69
69
|
channel: Channel$inboundSchema.optional(),
|
|
70
70
|
transactionId: z.string(),
|
|
71
|
-
"
|
|
71
|
+
"idempotency-key": z.string().optional(),
|
|
72
72
|
}).transform((v) => {
|
|
73
73
|
return remap$(v, {
|
|
74
|
-
"
|
|
74
|
+
"idempotency-key": "idempotencyKey",
|
|
75
75
|
});
|
|
76
76
|
});
|
|
77
77
|
|
|
@@ -79,7 +79,7 @@ export const MessagesControllerDeleteMessagesByTransactionIdRequest$inboundSchem
|
|
|
79
79
|
export type MessagesControllerDeleteMessagesByTransactionIdRequest$Outbound = {
|
|
80
80
|
channel?: string | undefined;
|
|
81
81
|
transactionId: string;
|
|
82
|
-
"
|
|
82
|
+
"idempotency-key"?: string | undefined;
|
|
83
83
|
};
|
|
84
84
|
|
|
85
85
|
/** @internal */
|
|
@@ -94,7 +94,7 @@ export const MessagesControllerDeleteMessagesByTransactionIdRequest$outboundSche
|
|
|
94
94
|
idempotencyKey: z.string().optional(),
|
|
95
95
|
}).transform((v) => {
|
|
96
96
|
return remap$(v, {
|
|
97
|
-
idempotencyKey: "
|
|
97
|
+
idempotencyKey: "idempotency-key",
|
|
98
98
|
});
|
|
99
99
|
});
|
|
100
100
|
|
|
@@ -40,10 +40,10 @@ export const MessagesControllerGetMessagesRequest$inboundSchema: z.ZodType<
|
|
|
40
40
|
transactionId: z.array(z.string()).optional(),
|
|
41
41
|
page: z.number().default(0),
|
|
42
42
|
limit: z.number().default(10),
|
|
43
|
-
"
|
|
43
|
+
"idempotency-key": z.string().optional(),
|
|
44
44
|
}).transform((v) => {
|
|
45
45
|
return remap$(v, {
|
|
46
|
-
"
|
|
46
|
+
"idempotency-key": "idempotencyKey",
|
|
47
47
|
});
|
|
48
48
|
});
|
|
49
49
|
|
|
@@ -54,7 +54,7 @@ export type MessagesControllerGetMessagesRequest$Outbound = {
|
|
|
54
54
|
transactionId?: Array<string> | undefined;
|
|
55
55
|
page: number;
|
|
56
56
|
limit: number;
|
|
57
|
-
"
|
|
57
|
+
"idempotency-key"?: string | undefined;
|
|
58
58
|
};
|
|
59
59
|
|
|
60
60
|
/** @internal */
|
|
@@ -71,7 +71,7 @@ export const MessagesControllerGetMessagesRequest$outboundSchema: z.ZodType<
|
|
|
71
71
|
idempotencyKey: z.string().optional(),
|
|
72
72
|
}).transform((v) => {
|
|
73
73
|
return remap$(v, {
|
|
74
|
-
idempotencyKey: "
|
|
74
|
+
idempotencyKey: "idempotency-key",
|
|
75
75
|
});
|
|
76
76
|
});
|
|
77
77
|
|
|
@@ -30,17 +30,17 @@ export const NotificationsControllerGetActivityGraphStatsRequest$inboundSchema:
|
|
|
30
30
|
unknown
|
|
31
31
|
> = z.object({
|
|
32
32
|
days: z.number().optional(),
|
|
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 NotificationsControllerGetActivityGraphStatsRequest$Outbound = {
|
|
42
42
|
days?: number | undefined;
|
|
43
|
-
"
|
|
43
|
+
"idempotency-key"?: string | undefined;
|
|
44
44
|
};
|
|
45
45
|
|
|
46
46
|
/** @internal */
|
|
@@ -54,7 +54,7 @@ export const NotificationsControllerGetActivityGraphStatsRequest$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
|
|
|
@@ -28,16 +28,16 @@ export const NotificationsControllerGetActivityStatsRequest$inboundSchema:
|
|
|
28
28
|
z.ZodTypeDef,
|
|
29
29
|
unknown
|
|
30
30
|
> = z.object({
|
|
31
|
-
"
|
|
31
|
+
"idempotency-key": z.string().optional(),
|
|
32
32
|
}).transform((v) => {
|
|
33
33
|
return remap$(v, {
|
|
34
|
-
"
|
|
34
|
+
"idempotency-key": "idempotencyKey",
|
|
35
35
|
});
|
|
36
36
|
});
|
|
37
37
|
|
|
38
38
|
/** @internal */
|
|
39
39
|
export type NotificationsControllerGetActivityStatsRequest$Outbound = {
|
|
40
|
-
"
|
|
40
|
+
"idempotency-key"?: string | undefined;
|
|
41
41
|
};
|
|
42
42
|
|
|
43
43
|
/** @internal */
|
|
@@ -50,7 +50,7 @@ export const NotificationsControllerGetActivityStatsRequest$outboundSchema:
|
|
|
50
50
|
idempotencyKey: z.string().optional(),
|
|
51
51
|
}).transform((v) => {
|
|
52
52
|
return remap$(v, {
|
|
53
|
-
idempotencyKey: "
|
|
53
|
+
idempotencyKey: "idempotency-key",
|
|
54
54
|
});
|
|
55
55
|
});
|
|
56
56
|
|
|
@@ -30,17 +30,17 @@ export const NotificationsControllerGetNotificationRequest$inboundSchema:
|
|
|
30
30
|
unknown
|
|
31
31
|
> = z.object({
|
|
32
32
|
notificationId: 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 NotificationsControllerGetNotificationRequest$Outbound = {
|
|
42
42
|
notificationId: string;
|
|
43
|
-
"
|
|
43
|
+
"idempotency-key"?: string | undefined;
|
|
44
44
|
};
|
|
45
45
|
|
|
46
46
|
/** @internal */
|
|
@@ -54,7 +54,7 @@ export const NotificationsControllerGetNotificationRequest$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
|
|
|
@@ -75,10 +75,10 @@ export const NotificationsControllerListNotificationsRequest$inboundSchema:
|
|
|
75
75
|
transactionId: z.string().optional(),
|
|
76
76
|
after: z.string().optional(),
|
|
77
77
|
before: z.string().optional(),
|
|
78
|
-
"
|
|
78
|
+
"idempotency-key": z.string().optional(),
|
|
79
79
|
}).transform((v) => {
|
|
80
80
|
return remap$(v, {
|
|
81
|
-
"
|
|
81
|
+
"idempotency-key": "idempotencyKey",
|
|
82
82
|
});
|
|
83
83
|
});
|
|
84
84
|
|
|
@@ -93,7 +93,7 @@ export type NotificationsControllerListNotificationsRequest$Outbound = {
|
|
|
93
93
|
transactionId?: string | undefined;
|
|
94
94
|
after?: string | undefined;
|
|
95
95
|
before?: string | undefined;
|
|
96
|
-
"
|
|
96
|
+
"idempotency-key"?: string | undefined;
|
|
97
97
|
};
|
|
98
98
|
|
|
99
99
|
/** @internal */
|
|
@@ -115,7 +115,7 @@ export const NotificationsControllerListNotificationsRequest$outboundSchema:
|
|
|
115
115
|
idempotencyKey: z.string().optional(),
|
|
116
116
|
}).transform((v) => {
|
|
117
117
|
return remap$(v, {
|
|
118
|
-
idempotencyKey: "
|
|
118
|
+
idempotencyKey: "idempotency-key",
|
|
119
119
|
});
|
|
120
120
|
});
|
|
121
121
|
|