@novu/api 0.0.1-alpha.191 → 0.0.1-alpha.192
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/docs/sdks/messages/README.md +1 -1
- package/docs/sdks/novu/README.md +3 -0
- package/docs/sdks/preferences/README.md +1 -1
- package/docs/sdks/stats/README.md +1 -1
- package/docs/sdks/subscribers/README.md +2 -2
- package/funcs/messagesDeleteByTransactionId.d.ts +1 -1
- package/funcs/messagesDeleteByTransactionId.d.ts.map +1 -1
- package/funcs/messagesDeleteByTransactionId.js +2 -2
- package/funcs/messagesDeleteByTransactionId.js.map +1 -1
- package/funcs/notificationsStatsGraph.d.ts +1 -1
- package/funcs/notificationsStatsGraph.d.ts.map +1 -1
- package/funcs/notificationsStatsGraph.js +2 -2
- package/funcs/notificationsStatsGraph.js.map +1 -1
- package/funcs/subscribersList.d.ts +1 -1
- package/funcs/subscribersList.d.ts.map +1 -1
- package/funcs/subscribersList.js +3 -3
- package/funcs/subscribersList.js.map +1 -1
- package/funcs/subscribersPreferencesList.d.ts +1 -1
- package/funcs/subscribersPreferencesList.d.ts.map +1 -1
- package/funcs/subscribersPreferencesList.js +2 -2
- package/funcs/subscribersPreferencesList.js.map +1 -1
- package/funcs/subscribersRetrieve.d.ts +1 -1
- package/funcs/subscribersRetrieve.d.ts.map +1 -1
- package/funcs/subscribersRetrieve.js +2 -2
- package/funcs/subscribersRetrieve.js.map +1 -1
- package/funcs/testApiRateLimitBulkControllerGlobalCategoryNoCostOverride.d.ts +1 -1
- package/funcs/testApiRateLimitBulkControllerGlobalCategoryNoCostOverride.d.ts.map +1 -1
- package/funcs/testApiRateLimitBulkControllerGlobalCategoryNoCostOverride.js +17 -1
- package/funcs/testApiRateLimitBulkControllerGlobalCategoryNoCostOverride.js.map +1 -1
- package/funcs/testApiRateLimitBulkControllerNoCategoryNoCostOverride.d.ts +1 -1
- package/funcs/testApiRateLimitBulkControllerNoCategoryNoCostOverride.d.ts.map +1 -1
- package/funcs/testApiRateLimitBulkControllerNoCategoryNoCostOverride.js +17 -1
- package/funcs/testApiRateLimitBulkControllerNoCategoryNoCostOverride.js.map +1 -1
- package/funcs/testApiRateLimitBulkControllerNoCategorySingleCostOverride.d.ts +1 -1
- package/funcs/testApiRateLimitBulkControllerNoCategorySingleCostOverride.d.ts.map +1 -1
- package/funcs/testApiRateLimitBulkControllerNoCategorySingleCostOverride.js +17 -1
- package/funcs/testApiRateLimitBulkControllerNoCategorySingleCostOverride.js.map +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/models/operations/eventscontrollercancel.d.ts +2 -2
- package/models/operations/eventscontrollercancel.d.ts.map +1 -1
- package/models/operations/eventscontrollercancel.js +2 -2
- package/models/operations/eventscontrollercancel.js.map +1 -1
- package/models/operations/index.d.ts +3 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +3 -0
- package/models/operations/index.js.map +1 -1
- package/models/operations/integrationscontrollergetwebhooksupportstatus.d.ts +2 -2
- package/models/operations/integrationscontrollergetwebhooksupportstatus.d.ts.map +1 -1
- package/models/operations/integrationscontrollergetwebhooksupportstatus.js +2 -2
- package/models/operations/integrationscontrollergetwebhooksupportstatus.js.map +1 -1
- package/models/operations/integrationscontrollerremoveintegration.d.ts +2 -2
- package/models/operations/integrationscontrollerremoveintegration.d.ts.map +1 -1
- package/models/operations/integrationscontrollerremoveintegration.js +2 -2
- package/models/operations/integrationscontrollerremoveintegration.js.map +1 -1
- package/models/operations/integrationscontrollersetintegrationasprimary.d.ts +2 -2
- package/models/operations/integrationscontrollersetintegrationasprimary.d.ts.map +1 -1
- package/models/operations/integrationscontrollersetintegrationasprimary.js +2 -2
- package/models/operations/integrationscontrollersetintegrationasprimary.js.map +1 -1
- package/models/operations/integrationscontrollerupdateintegrationbyid.d.ts +2 -2
- package/models/operations/integrationscontrollerupdateintegrationbyid.d.ts.map +1 -1
- package/models/operations/integrationscontrollerupdateintegrationbyid.js +2 -2
- package/models/operations/integrationscontrollerupdateintegrationbyid.js.map +1 -1
- package/models/operations/messagescontrollerdeletemessage.d.ts +2 -2
- package/models/operations/messagescontrollerdeletemessage.d.ts.map +1 -1
- package/models/operations/messagescontrollerdeletemessage.js +2 -2
- package/models/operations/messagescontrollerdeletemessage.js.map +1 -1
- package/models/operations/messagescontrollerdeletemessagesbytransactionid.d.ts +5 -5
- package/models/operations/messagescontrollerdeletemessagesbytransactionid.d.ts.map +1 -1
- package/models/operations/messagescontrollerdeletemessagesbytransactionid.js +2 -2
- package/models/operations/messagescontrollerdeletemessagesbytransactionid.js.map +1 -1
- package/models/operations/messagescontrollergetmessages.d.ts +5 -5
- package/models/operations/messagescontrollergetmessages.d.ts.map +1 -1
- package/models/operations/messagescontrollergetmessages.js +2 -2
- package/models/operations/messagescontrollergetmessages.js.map +1 -1
- package/models/operations/notificationscontrollergetactivitygraphstats.d.ts +2 -2
- package/models/operations/notificationscontrollergetactivitygraphstats.d.ts.map +1 -1
- package/models/operations/notificationscontrollergetactivitygraphstats.js +2 -2
- package/models/operations/notificationscontrollergetactivitygraphstats.js.map +1 -1
- package/models/operations/notificationscontrollergetnotification.d.ts +2 -2
- package/models/operations/notificationscontrollergetnotification.d.ts.map +1 -1
- package/models/operations/notificationscontrollergetnotification.js +2 -2
- package/models/operations/notificationscontrollergetnotification.js.map +1 -1
- package/models/operations/notificationscontrollerlistnotifications.d.ts +5 -5
- package/models/operations/notificationscontrollerlistnotifications.d.ts.map +1 -1
- package/models/operations/notificationscontrollerlistnotifications.js +2 -2
- package/models/operations/notificationscontrollerlistnotifications.js.map +1 -1
- package/models/operations/subscriberscontrollerchataccessoauth.d.ts +5 -5
- package/models/operations/subscriberscontrollerchataccessoauth.d.ts.map +1 -1
- package/models/operations/subscriberscontrollerchataccessoauth.js +2 -2
- package/models/operations/subscriberscontrollerchataccessoauth.js.map +1 -1
- package/models/operations/subscriberscontrollerchatoauthcallback.d.ts +5 -5
- package/models/operations/subscriberscontrollerchatoauthcallback.d.ts.map +1 -1
- package/models/operations/subscriberscontrollerchatoauthcallback.js +2 -2
- package/models/operations/subscriberscontrollerchatoauthcallback.js.map +1 -1
- package/models/operations/subscriberscontrollerdeletesubscribercredentials.d.ts +3 -3
- package/models/operations/subscriberscontrollerdeletesubscribercredentials.d.ts.map +1 -1
- package/models/operations/subscriberscontrollerdeletesubscribercredentials.js +2 -2
- package/models/operations/subscriberscontrollerdeletesubscribercredentials.js.map +1 -1
- package/models/operations/subscriberscontrollergetnotificationsfeed.d.ts +5 -5
- package/models/operations/subscriberscontrollergetnotificationsfeed.d.ts.map +1 -1
- package/models/operations/subscriberscontrollergetnotificationsfeed.js +2 -2
- package/models/operations/subscriberscontrollergetnotificationsfeed.js.map +1 -1
- package/models/operations/subscriberscontrollergetsubscriber.d.ts +5 -5
- package/models/operations/subscriberscontrollergetsubscriber.d.ts.map +1 -1
- package/models/operations/subscriberscontrollergetsubscriber.js +2 -2
- package/models/operations/subscriberscontrollergetsubscriber.js.map +1 -1
- package/models/operations/subscriberscontrollergetsubscriberpreferencebylevel.d.ts +5 -5
- package/models/operations/subscriberscontrollergetsubscriberpreferencebylevel.d.ts.map +1 -1
- package/models/operations/subscriberscontrollergetsubscriberpreferencebylevel.js +2 -2
- package/models/operations/subscriberscontrollergetsubscriberpreferencebylevel.js.map +1 -1
- package/models/operations/subscriberscontrollergetunseencount.d.ts +5 -5
- package/models/operations/subscriberscontrollergetunseencount.d.ts.map +1 -1
- package/models/operations/subscriberscontrollergetunseencount.js +2 -2
- package/models/operations/subscriberscontrollergetunseencount.js.map +1 -1
- package/models/operations/subscriberscontrollerlistsubscriberpreferences.d.ts +5 -5
- package/models/operations/subscriberscontrollerlistsubscriberpreferences.d.ts.map +1 -1
- package/models/operations/subscriberscontrollerlistsubscriberpreferences.js +2 -2
- package/models/operations/subscriberscontrollerlistsubscriberpreferences.js.map +1 -1
- package/models/operations/subscriberscontrollerlistsubscribers.d.ts +3 -3
- package/models/operations/subscriberscontrollerlistsubscribers.d.ts.map +1 -1
- package/models/operations/subscriberscontrollerlistsubscribers.js +2 -2
- package/models/operations/subscriberscontrollerlistsubscribers.js.map +1 -1
- package/models/operations/subscriberscontrollermarkactionasseen.d.ts +4 -4
- package/models/operations/subscriberscontrollermarkactionasseen.d.ts.map +1 -1
- package/models/operations/subscriberscontrollermarkactionasseen.js +2 -2
- package/models/operations/subscriberscontrollermarkactionasseen.js.map +1 -1
- package/models/operations/subscriberscontrollermarkallunreadasread.d.ts +2 -2
- package/models/operations/subscriberscontrollermarkallunreadasread.d.ts.map +1 -1
- package/models/operations/subscriberscontrollermarkallunreadasread.js +2 -2
- package/models/operations/subscriberscontrollermarkallunreadasread.js.map +1 -1
- package/models/operations/subscriberscontrollermarkmessagesas.d.ts +2 -2
- package/models/operations/subscriberscontrollermarkmessagesas.d.ts.map +1 -1
- package/models/operations/subscriberscontrollermarkmessagesas.js +2 -2
- package/models/operations/subscriberscontrollermarkmessagesas.js.map +1 -1
- package/models/operations/subscriberscontrollermodifysubscriberchannel.d.ts +2 -2
- package/models/operations/subscriberscontrollermodifysubscriberchannel.d.ts.map +1 -1
- package/models/operations/subscriberscontrollermodifysubscriberchannel.js +2 -2
- package/models/operations/subscriberscontrollermodifysubscriberchannel.js.map +1 -1
- package/models/operations/subscriberscontrollerremovesubscriber.d.ts +2 -2
- package/models/operations/subscriberscontrollerremovesubscriber.d.ts.map +1 -1
- package/models/operations/subscriberscontrollerremovesubscriber.js +2 -2
- package/models/operations/subscriberscontrollerremovesubscriber.js.map +1 -1
- package/models/operations/subscriberscontrollerupdatesubscriber.d.ts +2 -2
- package/models/operations/subscriberscontrollerupdatesubscriber.d.ts.map +1 -1
- package/models/operations/subscriberscontrollerupdatesubscriber.js +2 -2
- package/models/operations/subscriberscontrollerupdatesubscriber.js.map +1 -1
- package/models/operations/subscriberscontrollerupdatesubscriberchannel.d.ts +2 -2
- package/models/operations/subscriberscontrollerupdatesubscriberchannel.d.ts.map +1 -1
- package/models/operations/subscriberscontrollerupdatesubscriberchannel.js +2 -2
- package/models/operations/subscriberscontrollerupdatesubscriberchannel.js.map +1 -1
- package/models/operations/subscriberscontrollerupdatesubscriberglobalpreferences.d.ts +2 -2
- package/models/operations/subscriberscontrollerupdatesubscriberglobalpreferences.d.ts.map +1 -1
- package/models/operations/subscriberscontrollerupdatesubscriberglobalpreferences.js +2 -2
- package/models/operations/subscriberscontrollerupdatesubscriberglobalpreferences.js.map +1 -1
- package/models/operations/subscriberscontrollerupdatesubscriberonlineflag.d.ts +2 -2
- package/models/operations/subscriberscontrollerupdatesubscriberonlineflag.d.ts.map +1 -1
- package/models/operations/subscriberscontrollerupdatesubscriberonlineflag.js +2 -2
- package/models/operations/subscriberscontrollerupdatesubscriberonlineflag.js.map +1 -1
- package/models/operations/subscriberscontrollerupdatesubscriberpreference.d.ts +3 -3
- package/models/operations/subscriberscontrollerupdatesubscriberpreference.d.ts.map +1 -1
- package/models/operations/subscriberscontrollerupdatesubscriberpreference.js +2 -2
- package/models/operations/subscriberscontrollerupdatesubscriberpreference.js.map +1 -1
- package/models/operations/testapiratelimitbulkcontrollerglobalcategorynocostoverride.d.ts +32 -0
- package/models/operations/testapiratelimitbulkcontrollerglobalcategorynocostoverride.d.ts.map +1 -0
- package/models/operations/testapiratelimitbulkcontrollerglobalcategorynocostoverride.js +70 -0
- package/models/operations/testapiratelimitbulkcontrollerglobalcategorynocostoverride.js.map +1 -0
- package/models/operations/testapiratelimitbulkcontrollernocategorynocostoverride.d.ts +32 -0
- package/models/operations/testapiratelimitbulkcontrollernocategorynocostoverride.d.ts.map +1 -0
- package/models/operations/testapiratelimitbulkcontrollernocategorynocostoverride.js +70 -0
- package/models/operations/testapiratelimitbulkcontrollernocategorynocostoverride.js.map +1 -0
- package/models/operations/testapiratelimitbulkcontrollernocategorysinglecostoverride.d.ts +32 -0
- package/models/operations/testapiratelimitbulkcontrollernocategorysinglecostoverride.d.ts.map +1 -0
- package/models/operations/testapiratelimitbulkcontrollernocategorysinglecostoverride.js +70 -0
- package/models/operations/testapiratelimitbulkcontrollernocategorysinglecostoverride.js.map +1 -0
- package/models/operations/topicscontrollerassign.d.ts +5 -5
- package/models/operations/topicscontrollerassign.d.ts.map +1 -1
- package/models/operations/topicscontrollerassign.js +2 -2
- package/models/operations/topicscontrollerassign.js.map +1 -1
- package/models/operations/topicscontrollerdeletetopic.d.ts +5 -5
- package/models/operations/topicscontrollerdeletetopic.d.ts.map +1 -1
- package/models/operations/topicscontrollerdeletetopic.js +2 -2
- package/models/operations/topicscontrollerdeletetopic.js.map +1 -1
- package/models/operations/topicscontrollergettopic.d.ts +5 -5
- package/models/operations/topicscontrollergettopic.d.ts.map +1 -1
- package/models/operations/topicscontrollergettopic.js +2 -2
- package/models/operations/topicscontrollergettopic.js.map +1 -1
- package/models/operations/topicscontrollergettopicsubscriber.d.ts +5 -5
- package/models/operations/topicscontrollergettopicsubscriber.d.ts.map +1 -1
- package/models/operations/topicscontrollergettopicsubscriber.js +2 -2
- package/models/operations/topicscontrollergettopicsubscriber.js.map +1 -1
- package/models/operations/topicscontrollerlisttopics.d.ts +5 -5
- package/models/operations/topicscontrollerlisttopics.d.ts.map +1 -1
- package/models/operations/topicscontrollerlisttopics.js +2 -2
- package/models/operations/topicscontrollerlisttopics.js.map +1 -1
- package/models/operations/topicscontrollerremovesubscribers.d.ts +5 -5
- package/models/operations/topicscontrollerremovesubscribers.d.ts.map +1 -1
- package/models/operations/topicscontrollerremovesubscribers.js +2 -2
- package/models/operations/topicscontrollerremovesubscribers.js.map +1 -1
- package/models/operations/topicscontrollerrenametopic.d.ts +5 -5
- package/models/operations/topicscontrollerrenametopic.d.ts.map +1 -1
- package/models/operations/topicscontrollerrenametopic.js +2 -2
- package/models/operations/topicscontrollerrenametopic.js.map +1 -1
- package/package.json +1 -1
- package/sdk/messages.d.ts +1 -1
- package/sdk/messages.d.ts.map +1 -1
- package/sdk/messages.js +2 -2
- package/sdk/messages.js.map +1 -1
- package/sdk/preferences.d.ts +1 -1
- package/sdk/preferences.d.ts.map +1 -1
- package/sdk/preferences.js +2 -2
- package/sdk/preferences.js.map +1 -1
- package/sdk/sdk.d.ts +3 -3
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +6 -6
- package/sdk/sdk.js.map +1 -1
- package/sdk/stats.d.ts +1 -1
- package/sdk/stats.d.ts.map +1 -1
- package/sdk/stats.js +2 -2
- package/sdk/stats.js.map +1 -1
- package/sdk/subscribers.d.ts +2 -2
- package/sdk/subscribers.d.ts.map +1 -1
- package/sdk/subscribers.js +4 -4
- package/sdk/subscribers.js.map +1 -1
- package/src/funcs/messagesDeleteByTransactionId.ts +2 -2
- package/src/funcs/notificationsStatsGraph.ts +2 -2
- package/src/funcs/subscribersList.ts +3 -3
- package/src/funcs/subscribersPreferencesList.ts +2 -2
- package/src/funcs/subscribersRetrieve.ts +2 -2
- package/src/funcs/testApiRateLimitBulkControllerGlobalCategoryNoCostOverride.ts +30 -0
- package/src/funcs/testApiRateLimitBulkControllerNoCategoryNoCostOverride.ts +29 -0
- package/src/funcs/testApiRateLimitBulkControllerNoCategorySingleCostOverride.ts +30 -0
- package/src/lib/config.ts +3 -3
- package/src/models/operations/eventscontrollercancel.ts +4 -4
- package/src/models/operations/index.ts +3 -0
- package/src/models/operations/integrationscontrollergetwebhooksupportstatus.ts +4 -4
- package/src/models/operations/integrationscontrollerremoveintegration.ts +4 -4
- package/src/models/operations/integrationscontrollersetintegrationasprimary.ts +4 -4
- package/src/models/operations/integrationscontrollerupdateintegrationbyid.ts +4 -4
- package/src/models/operations/messagescontrollerdeletemessage.ts +4 -4
- package/src/models/operations/messagescontrollerdeletemessagesbytransactionid.ts +7 -7
- package/src/models/operations/messagescontrollergetmessages.ts +7 -7
- package/src/models/operations/notificationscontrollergetactivitygraphstats.ts +4 -4
- package/src/models/operations/notificationscontrollergetnotification.ts +4 -4
- package/src/models/operations/notificationscontrollerlistnotifications.ts +7 -7
- package/src/models/operations/subscriberscontrollerchataccessoauth.ts +7 -7
- package/src/models/operations/subscriberscontrollerchatoauthcallback.ts +7 -7
- package/src/models/operations/subscriberscontrollerdeletesubscribercredentials.ts +5 -5
- package/src/models/operations/subscriberscontrollergetnotificationsfeed.ts +7 -7
- package/src/models/operations/subscriberscontrollergetsubscriber.ts +7 -7
- package/src/models/operations/subscriberscontrollergetsubscriberpreferencebylevel.ts +7 -7
- package/src/models/operations/subscriberscontrollergetunseencount.ts +7 -7
- package/src/models/operations/subscriberscontrollerlistsubscriberpreferences.ts +7 -7
- package/src/models/operations/subscriberscontrollerlistsubscribers.ts +5 -5
- package/src/models/operations/subscriberscontrollermarkactionasseen.ts +6 -6
- package/src/models/operations/subscriberscontrollermarkallunreadasread.ts +4 -4
- package/src/models/operations/subscriberscontrollermarkmessagesas.ts +4 -4
- package/src/models/operations/subscriberscontrollermodifysubscriberchannel.ts +4 -4
- package/src/models/operations/subscriberscontrollerremovesubscriber.ts +4 -4
- package/src/models/operations/subscriberscontrollerupdatesubscriber.ts +4 -4
- package/src/models/operations/subscriberscontrollerupdatesubscriberchannel.ts +4 -4
- package/src/models/operations/subscriberscontrollerupdatesubscriberglobalpreferences.ts +4 -4
- package/src/models/operations/subscriberscontrollerupdatesubscriberonlineflag.ts +4 -4
- package/src/models/operations/subscriberscontrollerupdatesubscriberpreference.ts +5 -5
- package/src/models/operations/testapiratelimitbulkcontrollerglobalcategorynocostoverride.ts +92 -0
- package/src/models/operations/testapiratelimitbulkcontrollernocategorynocostoverride.ts +91 -0
- package/src/models/operations/testapiratelimitbulkcontrollernocategorysinglecostoverride.ts +92 -0
- package/src/models/operations/topicscontrollerassign.ts +7 -7
- package/src/models/operations/topicscontrollerdeletetopic.ts +7 -7
- package/src/models/operations/topicscontrollergettopic.ts +7 -7
- package/src/models/operations/topicscontrollergettopicsubscriber.ts +7 -7
- package/src/models/operations/topicscontrollerlisttopics.ts +7 -7
- package/src/models/operations/topicscontrollerremovesubscribers.ts +7 -7
- package/src/models/operations/topicscontrollerrenametopic.ts +7 -7
- package/src/sdk/messages.ts +2 -2
- package/src/sdk/preferences.ts +2 -2
- package/src/sdk/sdk.ts +6 -0
- package/src/sdk/stats.ts +2 -2
- package/src/sdk/subscribers.ts +4 -4
|
@@ -10,11 +10,11 @@ import * as components from "../components/index.js";
|
|
|
10
10
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
11
|
|
|
12
12
|
export type IntegrationsControllerSetIntegrationAsPrimaryRequest = {
|
|
13
|
+
integrationId: string;
|
|
13
14
|
/**
|
|
14
15
|
* A header for idempotency purposes
|
|
15
16
|
*/
|
|
16
17
|
idempotencyKey?: string | undefined;
|
|
17
|
-
integrationId: string;
|
|
18
18
|
};
|
|
19
19
|
|
|
20
20
|
export type IntegrationsControllerSetIntegrationAsPrimaryResponse = {
|
|
@@ -29,8 +29,8 @@ export const IntegrationsControllerSetIntegrationAsPrimaryRequest$inboundSchema:
|
|
|
29
29
|
z.ZodTypeDef,
|
|
30
30
|
unknown
|
|
31
31
|
> = z.object({
|
|
32
|
-
"Idempotency-Key": z.string().optional(),
|
|
33
32
|
integrationId: z.string(),
|
|
33
|
+
"Idempotency-Key": z.string().optional(),
|
|
34
34
|
}).transform((v) => {
|
|
35
35
|
return remap$(v, {
|
|
36
36
|
"Idempotency-Key": "idempotencyKey",
|
|
@@ -39,8 +39,8 @@ export const IntegrationsControllerSetIntegrationAsPrimaryRequest$inboundSchema:
|
|
|
39
39
|
|
|
40
40
|
/** @internal */
|
|
41
41
|
export type IntegrationsControllerSetIntegrationAsPrimaryRequest$Outbound = {
|
|
42
|
-
"Idempotency-Key"?: string | undefined;
|
|
43
42
|
integrationId: string;
|
|
43
|
+
"Idempotency-Key"?: string | undefined;
|
|
44
44
|
};
|
|
45
45
|
|
|
46
46
|
/** @internal */
|
|
@@ -50,8 +50,8 @@ export const IntegrationsControllerSetIntegrationAsPrimaryRequest$outboundSchema
|
|
|
50
50
|
z.ZodTypeDef,
|
|
51
51
|
IntegrationsControllerSetIntegrationAsPrimaryRequest
|
|
52
52
|
> = z.object({
|
|
53
|
-
idempotencyKey: z.string().optional(),
|
|
54
53
|
integrationId: z.string(),
|
|
54
|
+
idempotencyKey: z.string().optional(),
|
|
55
55
|
}).transform((v) => {
|
|
56
56
|
return remap$(v, {
|
|
57
57
|
idempotencyKey: "Idempotency-Key",
|
|
@@ -10,11 +10,11 @@ import * as components from "../components/index.js";
|
|
|
10
10
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
11
|
|
|
12
12
|
export type IntegrationsControllerUpdateIntegrationByIdRequest = {
|
|
13
|
+
integrationId: string;
|
|
13
14
|
/**
|
|
14
15
|
* A header for idempotency purposes
|
|
15
16
|
*/
|
|
16
17
|
idempotencyKey?: string | undefined;
|
|
17
|
-
integrationId: string;
|
|
18
18
|
updateIntegrationRequestDto: components.UpdateIntegrationRequestDto;
|
|
19
19
|
};
|
|
20
20
|
|
|
@@ -30,8 +30,8 @@ export const IntegrationsControllerUpdateIntegrationByIdRequest$inboundSchema:
|
|
|
30
30
|
z.ZodTypeDef,
|
|
31
31
|
unknown
|
|
32
32
|
> = z.object({
|
|
33
|
-
"Idempotency-Key": z.string().optional(),
|
|
34
33
|
integrationId: z.string(),
|
|
34
|
+
"Idempotency-Key": z.string().optional(),
|
|
35
35
|
UpdateIntegrationRequestDto:
|
|
36
36
|
components.UpdateIntegrationRequestDto$inboundSchema,
|
|
37
37
|
}).transform((v) => {
|
|
@@ -43,8 +43,8 @@ export const IntegrationsControllerUpdateIntegrationByIdRequest$inboundSchema:
|
|
|
43
43
|
|
|
44
44
|
/** @internal */
|
|
45
45
|
export type IntegrationsControllerUpdateIntegrationByIdRequest$Outbound = {
|
|
46
|
-
"Idempotency-Key"?: string | undefined;
|
|
47
46
|
integrationId: string;
|
|
47
|
+
"Idempotency-Key"?: string | undefined;
|
|
48
48
|
UpdateIntegrationRequestDto: components.UpdateIntegrationRequestDto$Outbound;
|
|
49
49
|
};
|
|
50
50
|
|
|
@@ -55,8 +55,8 @@ export const IntegrationsControllerUpdateIntegrationByIdRequest$outboundSchema:
|
|
|
55
55
|
z.ZodTypeDef,
|
|
56
56
|
IntegrationsControllerUpdateIntegrationByIdRequest
|
|
57
57
|
> = z.object({
|
|
58
|
-
idempotencyKey: z.string().optional(),
|
|
59
58
|
integrationId: z.string(),
|
|
59
|
+
idempotencyKey: z.string().optional(),
|
|
60
60
|
updateIntegrationRequestDto:
|
|
61
61
|
components.UpdateIntegrationRequestDto$outboundSchema,
|
|
62
62
|
}).transform((v) => {
|
|
@@ -10,11 +10,11 @@ import * as components from "../components/index.js";
|
|
|
10
10
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
11
|
|
|
12
12
|
export type MessagesControllerDeleteMessageRequest = {
|
|
13
|
+
messageId: string;
|
|
13
14
|
/**
|
|
14
15
|
* A header for idempotency purposes
|
|
15
16
|
*/
|
|
16
17
|
idempotencyKey?: string | undefined;
|
|
17
|
-
messageId: string;
|
|
18
18
|
};
|
|
19
19
|
|
|
20
20
|
export type MessagesControllerDeleteMessageResponse = {
|
|
@@ -28,8 +28,8 @@ export const MessagesControllerDeleteMessageRequest$inboundSchema: z.ZodType<
|
|
|
28
28
|
z.ZodTypeDef,
|
|
29
29
|
unknown
|
|
30
30
|
> = z.object({
|
|
31
|
-
"Idempotency-Key": z.string().optional(),
|
|
32
31
|
messageId: z.string(),
|
|
32
|
+
"Idempotency-Key": z.string().optional(),
|
|
33
33
|
}).transform((v) => {
|
|
34
34
|
return remap$(v, {
|
|
35
35
|
"Idempotency-Key": "idempotencyKey",
|
|
@@ -38,8 +38,8 @@ export const MessagesControllerDeleteMessageRequest$inboundSchema: z.ZodType<
|
|
|
38
38
|
|
|
39
39
|
/** @internal */
|
|
40
40
|
export type MessagesControllerDeleteMessageRequest$Outbound = {
|
|
41
|
-
"Idempotency-Key"?: string | undefined;
|
|
42
41
|
messageId: string;
|
|
42
|
+
"Idempotency-Key"?: string | undefined;
|
|
43
43
|
};
|
|
44
44
|
|
|
45
45
|
/** @internal */
|
|
@@ -48,8 +48,8 @@ export const MessagesControllerDeleteMessageRequest$outboundSchema: z.ZodType<
|
|
|
48
48
|
z.ZodTypeDef,
|
|
49
49
|
MessagesControllerDeleteMessageRequest
|
|
50
50
|
> = z.object({
|
|
51
|
-
idempotencyKey: z.string().optional(),
|
|
52
51
|
messageId: z.string(),
|
|
52
|
+
idempotencyKey: z.string().optional(),
|
|
53
53
|
}).transform((v) => {
|
|
54
54
|
return remap$(v, {
|
|
55
55
|
idempotencyKey: "Idempotency-Key",
|
|
@@ -25,15 +25,15 @@ export const Channel = {
|
|
|
25
25
|
export type Channel = ClosedEnum<typeof Channel>;
|
|
26
26
|
|
|
27
27
|
export type MessagesControllerDeleteMessagesByTransactionIdRequest = {
|
|
28
|
-
/**
|
|
29
|
-
* A header for idempotency purposes
|
|
30
|
-
*/
|
|
31
|
-
idempotencyKey?: string | undefined;
|
|
32
28
|
/**
|
|
33
29
|
* The channel of the message to be deleted
|
|
34
30
|
*/
|
|
35
31
|
channel?: Channel | undefined;
|
|
36
32
|
transactionId: string;
|
|
33
|
+
/**
|
|
34
|
+
* A header for idempotency purposes
|
|
35
|
+
*/
|
|
36
|
+
idempotencyKey?: string | undefined;
|
|
37
37
|
};
|
|
38
38
|
|
|
39
39
|
export type MessagesControllerDeleteMessagesByTransactionIdResponse = {
|
|
@@ -66,9 +66,9 @@ export const MessagesControllerDeleteMessagesByTransactionIdRequest$inboundSchem
|
|
|
66
66
|
z.ZodTypeDef,
|
|
67
67
|
unknown
|
|
68
68
|
> = z.object({
|
|
69
|
-
"Idempotency-Key": z.string().optional(),
|
|
70
69
|
channel: Channel$inboundSchema.optional(),
|
|
71
70
|
transactionId: z.string(),
|
|
71
|
+
"Idempotency-Key": z.string().optional(),
|
|
72
72
|
}).transform((v) => {
|
|
73
73
|
return remap$(v, {
|
|
74
74
|
"Idempotency-Key": "idempotencyKey",
|
|
@@ -77,9 +77,9 @@ export const MessagesControllerDeleteMessagesByTransactionIdRequest$inboundSchem
|
|
|
77
77
|
|
|
78
78
|
/** @internal */
|
|
79
79
|
export type MessagesControllerDeleteMessagesByTransactionIdRequest$Outbound = {
|
|
80
|
-
"Idempotency-Key"?: string | undefined;
|
|
81
80
|
channel?: string | undefined;
|
|
82
81
|
transactionId: string;
|
|
82
|
+
"Idempotency-Key"?: string | undefined;
|
|
83
83
|
};
|
|
84
84
|
|
|
85
85
|
/** @internal */
|
|
@@ -89,9 +89,9 @@ export const MessagesControllerDeleteMessagesByTransactionIdRequest$outboundSche
|
|
|
89
89
|
z.ZodTypeDef,
|
|
90
90
|
MessagesControllerDeleteMessagesByTransactionIdRequest
|
|
91
91
|
> = z.object({
|
|
92
|
-
idempotencyKey: z.string().optional(),
|
|
93
92
|
channel: Channel$outboundSchema.optional(),
|
|
94
93
|
transactionId: z.string(),
|
|
94
|
+
idempotencyKey: z.string().optional(),
|
|
95
95
|
}).transform((v) => {
|
|
96
96
|
return remap$(v, {
|
|
97
97
|
idempotencyKey: "Idempotency-Key",
|
|
@@ -10,10 +10,6 @@ import * as components from "../components/index.js";
|
|
|
10
10
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
11
|
|
|
12
12
|
export type MessagesControllerGetMessagesRequest = {
|
|
13
|
-
/**
|
|
14
|
-
* A header for idempotency purposes
|
|
15
|
-
*/
|
|
16
|
-
idempotencyKey?: string | undefined;
|
|
17
13
|
/**
|
|
18
14
|
* Channel type through which the message is sent
|
|
19
15
|
*/
|
|
@@ -22,6 +18,10 @@ export type MessagesControllerGetMessagesRequest = {
|
|
|
22
18
|
transactionId?: Array<string> | undefined;
|
|
23
19
|
page?: number | undefined;
|
|
24
20
|
limit?: number | undefined;
|
|
21
|
+
/**
|
|
22
|
+
* A header for idempotency purposes
|
|
23
|
+
*/
|
|
24
|
+
idempotencyKey?: string | undefined;
|
|
25
25
|
};
|
|
26
26
|
|
|
27
27
|
export type MessagesControllerGetMessagesResponse = {
|
|
@@ -35,12 +35,12 @@ export const MessagesControllerGetMessagesRequest$inboundSchema: z.ZodType<
|
|
|
35
35
|
z.ZodTypeDef,
|
|
36
36
|
unknown
|
|
37
37
|
> = z.object({
|
|
38
|
-
"Idempotency-Key": z.string().optional(),
|
|
39
38
|
channel: components.ChannelTypeEnum$inboundSchema.optional(),
|
|
40
39
|
subscriberId: z.string().optional(),
|
|
41
40
|
transactionId: z.array(z.string()).optional(),
|
|
42
41
|
page: z.number().default(0),
|
|
43
42
|
limit: z.number().default(10),
|
|
43
|
+
"Idempotency-Key": z.string().optional(),
|
|
44
44
|
}).transform((v) => {
|
|
45
45
|
return remap$(v, {
|
|
46
46
|
"Idempotency-Key": "idempotencyKey",
|
|
@@ -49,12 +49,12 @@ export const MessagesControllerGetMessagesRequest$inboundSchema: z.ZodType<
|
|
|
49
49
|
|
|
50
50
|
/** @internal */
|
|
51
51
|
export type MessagesControllerGetMessagesRequest$Outbound = {
|
|
52
|
-
"Idempotency-Key"?: string | undefined;
|
|
53
52
|
channel?: string | undefined;
|
|
54
53
|
subscriberId?: string | undefined;
|
|
55
54
|
transactionId?: Array<string> | undefined;
|
|
56
55
|
page: number;
|
|
57
56
|
limit: number;
|
|
57
|
+
"Idempotency-Key"?: string | undefined;
|
|
58
58
|
};
|
|
59
59
|
|
|
60
60
|
/** @internal */
|
|
@@ -63,12 +63,12 @@ export const MessagesControllerGetMessagesRequest$outboundSchema: z.ZodType<
|
|
|
63
63
|
z.ZodTypeDef,
|
|
64
64
|
MessagesControllerGetMessagesRequest
|
|
65
65
|
> = z.object({
|
|
66
|
-
idempotencyKey: z.string().optional(),
|
|
67
66
|
channel: components.ChannelTypeEnum$outboundSchema.optional(),
|
|
68
67
|
subscriberId: z.string().optional(),
|
|
69
68
|
transactionId: z.array(z.string()).optional(),
|
|
70
69
|
page: z.number().default(0),
|
|
71
70
|
limit: z.number().default(10),
|
|
71
|
+
idempotencyKey: z.string().optional(),
|
|
72
72
|
}).transform((v) => {
|
|
73
73
|
return remap$(v, {
|
|
74
74
|
idempotencyKey: "Idempotency-Key",
|
|
@@ -10,11 +10,11 @@ import * as components from "../components/index.js";
|
|
|
10
10
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
11
|
|
|
12
12
|
export type NotificationsControllerGetActivityGraphStatsRequest = {
|
|
13
|
+
days?: number | undefined;
|
|
13
14
|
/**
|
|
14
15
|
* A header for idempotency purposes
|
|
15
16
|
*/
|
|
16
17
|
idempotencyKey?: string | undefined;
|
|
17
|
-
days?: number | undefined;
|
|
18
18
|
};
|
|
19
19
|
|
|
20
20
|
export type NotificationsControllerGetActivityGraphStatsResponse = {
|
|
@@ -29,8 +29,8 @@ export const NotificationsControllerGetActivityGraphStatsRequest$inboundSchema:
|
|
|
29
29
|
z.ZodTypeDef,
|
|
30
30
|
unknown
|
|
31
31
|
> = z.object({
|
|
32
|
-
"Idempotency-Key": z.string().optional(),
|
|
33
32
|
days: z.number().optional(),
|
|
33
|
+
"Idempotency-Key": z.string().optional(),
|
|
34
34
|
}).transform((v) => {
|
|
35
35
|
return remap$(v, {
|
|
36
36
|
"Idempotency-Key": "idempotencyKey",
|
|
@@ -39,8 +39,8 @@ export const NotificationsControllerGetActivityGraphStatsRequest$inboundSchema:
|
|
|
39
39
|
|
|
40
40
|
/** @internal */
|
|
41
41
|
export type NotificationsControllerGetActivityGraphStatsRequest$Outbound = {
|
|
42
|
-
"Idempotency-Key"?: string | undefined;
|
|
43
42
|
days?: number | undefined;
|
|
43
|
+
"Idempotency-Key"?: string | undefined;
|
|
44
44
|
};
|
|
45
45
|
|
|
46
46
|
/** @internal */
|
|
@@ -50,8 +50,8 @@ export const NotificationsControllerGetActivityGraphStatsRequest$outboundSchema:
|
|
|
50
50
|
z.ZodTypeDef,
|
|
51
51
|
NotificationsControllerGetActivityGraphStatsRequest
|
|
52
52
|
> = z.object({
|
|
53
|
-
idempotencyKey: z.string().optional(),
|
|
54
53
|
days: z.number().optional(),
|
|
54
|
+
idempotencyKey: z.string().optional(),
|
|
55
55
|
}).transform((v) => {
|
|
56
56
|
return remap$(v, {
|
|
57
57
|
idempotencyKey: "Idempotency-Key",
|
|
@@ -10,11 +10,11 @@ import * as components from "../components/index.js";
|
|
|
10
10
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
11
|
|
|
12
12
|
export type NotificationsControllerGetNotificationRequest = {
|
|
13
|
+
notificationId: string;
|
|
13
14
|
/**
|
|
14
15
|
* A header for idempotency purposes
|
|
15
16
|
*/
|
|
16
17
|
idempotencyKey?: string | undefined;
|
|
17
|
-
notificationId: string;
|
|
18
18
|
};
|
|
19
19
|
|
|
20
20
|
export type NotificationsControllerGetNotificationResponse = {
|
|
@@ -29,8 +29,8 @@ export const NotificationsControllerGetNotificationRequest$inboundSchema:
|
|
|
29
29
|
z.ZodTypeDef,
|
|
30
30
|
unknown
|
|
31
31
|
> = z.object({
|
|
32
|
-
"Idempotency-Key": z.string().optional(),
|
|
33
32
|
notificationId: z.string(),
|
|
33
|
+
"Idempotency-Key": z.string().optional(),
|
|
34
34
|
}).transform((v) => {
|
|
35
35
|
return remap$(v, {
|
|
36
36
|
"Idempotency-Key": "idempotencyKey",
|
|
@@ -39,8 +39,8 @@ export const NotificationsControllerGetNotificationRequest$inboundSchema:
|
|
|
39
39
|
|
|
40
40
|
/** @internal */
|
|
41
41
|
export type NotificationsControllerGetNotificationRequest$Outbound = {
|
|
42
|
-
"Idempotency-Key"?: string | undefined;
|
|
43
42
|
notificationId: string;
|
|
43
|
+
"Idempotency-Key"?: string | undefined;
|
|
44
44
|
};
|
|
45
45
|
|
|
46
46
|
/** @internal */
|
|
@@ -50,8 +50,8 @@ export const NotificationsControllerGetNotificationRequest$outboundSchema:
|
|
|
50
50
|
z.ZodTypeDef,
|
|
51
51
|
NotificationsControllerGetNotificationRequest
|
|
52
52
|
> = z.object({
|
|
53
|
-
idempotencyKey: z.string().optional(),
|
|
54
53
|
notificationId: z.string(),
|
|
54
|
+
idempotencyKey: z.string().optional(),
|
|
55
55
|
}).transform((v) => {
|
|
56
56
|
return remap$(v, {
|
|
57
57
|
idempotencyKey: "Idempotency-Key",
|
|
@@ -10,10 +10,6 @@ import * as components from "../components/index.js";
|
|
|
10
10
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
11
|
|
|
12
12
|
export type NotificationsControllerListNotificationsRequest = {
|
|
13
|
-
/**
|
|
14
|
-
* A header for idempotency purposes
|
|
15
|
-
*/
|
|
16
|
-
idempotencyKey?: string | undefined;
|
|
17
13
|
/**
|
|
18
14
|
* Array of channel types
|
|
19
15
|
*/
|
|
@@ -52,6 +48,10 @@ export type NotificationsControllerListNotificationsRequest = {
|
|
|
52
48
|
* Date filter for records before this timestamp
|
|
53
49
|
*/
|
|
54
50
|
before?: string | undefined;
|
|
51
|
+
/**
|
|
52
|
+
* A header for idempotency purposes
|
|
53
|
+
*/
|
|
54
|
+
idempotencyKey?: string | undefined;
|
|
55
55
|
};
|
|
56
56
|
|
|
57
57
|
export type NotificationsControllerListNotificationsResponse = {
|
|
@@ -66,7 +66,6 @@ export const NotificationsControllerListNotificationsRequest$inboundSchema:
|
|
|
66
66
|
z.ZodTypeDef,
|
|
67
67
|
unknown
|
|
68
68
|
> = z.object({
|
|
69
|
-
"Idempotency-Key": z.string().optional(),
|
|
70
69
|
channels: z.array(components.ChannelTypeEnum$inboundSchema).optional(),
|
|
71
70
|
templates: z.array(z.string()).optional(),
|
|
72
71
|
emails: z.array(z.string()).optional(),
|
|
@@ -76,6 +75,7 @@ export const NotificationsControllerListNotificationsRequest$inboundSchema:
|
|
|
76
75
|
transactionId: z.string().optional(),
|
|
77
76
|
after: z.string().optional(),
|
|
78
77
|
before: z.string().optional(),
|
|
78
|
+
"Idempotency-Key": z.string().optional(),
|
|
79
79
|
}).transform((v) => {
|
|
80
80
|
return remap$(v, {
|
|
81
81
|
"Idempotency-Key": "idempotencyKey",
|
|
@@ -84,7 +84,6 @@ export const NotificationsControllerListNotificationsRequest$inboundSchema:
|
|
|
84
84
|
|
|
85
85
|
/** @internal */
|
|
86
86
|
export type NotificationsControllerListNotificationsRequest$Outbound = {
|
|
87
|
-
"Idempotency-Key"?: string | undefined;
|
|
88
87
|
channels?: Array<string> | undefined;
|
|
89
88
|
templates?: Array<string> | undefined;
|
|
90
89
|
emails?: Array<string> | undefined;
|
|
@@ -94,6 +93,7 @@ export type NotificationsControllerListNotificationsRequest$Outbound = {
|
|
|
94
93
|
transactionId?: string | undefined;
|
|
95
94
|
after?: string | undefined;
|
|
96
95
|
before?: string | undefined;
|
|
96
|
+
"Idempotency-Key"?: string | undefined;
|
|
97
97
|
};
|
|
98
98
|
|
|
99
99
|
/** @internal */
|
|
@@ -103,7 +103,6 @@ export const NotificationsControllerListNotificationsRequest$outboundSchema:
|
|
|
103
103
|
z.ZodTypeDef,
|
|
104
104
|
NotificationsControllerListNotificationsRequest
|
|
105
105
|
> = z.object({
|
|
106
|
-
idempotencyKey: z.string().optional(),
|
|
107
106
|
channels: z.array(components.ChannelTypeEnum$outboundSchema).optional(),
|
|
108
107
|
templates: z.array(z.string()).optional(),
|
|
109
108
|
emails: z.array(z.string()).optional(),
|
|
@@ -113,6 +112,7 @@ export const NotificationsControllerListNotificationsRequest$outboundSchema:
|
|
|
113
112
|
transactionId: z.string().optional(),
|
|
114
113
|
after: z.string().optional(),
|
|
115
114
|
before: z.string().optional(),
|
|
115
|
+
idempotencyKey: z.string().optional(),
|
|
116
116
|
}).transform((v) => {
|
|
117
117
|
return remap$(v, {
|
|
118
118
|
idempotencyKey: "Idempotency-Key",
|
|
@@ -9,10 +9,6 @@ import { Result as SafeParseResult } from "../../types/fp.js";
|
|
|
9
9
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
10
|
|
|
11
11
|
export type SubscribersControllerChatAccessOauthRequest = {
|
|
12
|
-
/**
|
|
13
|
-
* A header for idempotency purposes
|
|
14
|
-
*/
|
|
15
|
-
idempotencyKey?: string | undefined;
|
|
16
12
|
subscriberId: string;
|
|
17
13
|
providerId?: any | undefined;
|
|
18
14
|
/**
|
|
@@ -27,6 +23,10 @@ export type SubscribersControllerChatAccessOauthRequest = {
|
|
|
27
23
|
* Optional integration identifier
|
|
28
24
|
*/
|
|
29
25
|
integrationIdentifier?: string | undefined;
|
|
26
|
+
/**
|
|
27
|
+
* A header for idempotency purposes
|
|
28
|
+
*/
|
|
29
|
+
idempotencyKey?: string | undefined;
|
|
30
30
|
};
|
|
31
31
|
|
|
32
32
|
export type SubscribersControllerChatAccessOauthResponse = {
|
|
@@ -40,12 +40,12 @@ export const SubscribersControllerChatAccessOauthRequest$inboundSchema:
|
|
|
40
40
|
z.ZodTypeDef,
|
|
41
41
|
unknown
|
|
42
42
|
> = z.object({
|
|
43
|
-
"Idempotency-Key": z.string().optional(),
|
|
44
43
|
subscriberId: z.string(),
|
|
45
44
|
providerId: z.any().optional(),
|
|
46
45
|
hmacHash: z.string(),
|
|
47
46
|
environmentId: z.string(),
|
|
48
47
|
integrationIdentifier: z.string().optional(),
|
|
48
|
+
"Idempotency-Key": z.string().optional(),
|
|
49
49
|
}).transform((v) => {
|
|
50
50
|
return remap$(v, {
|
|
51
51
|
"Idempotency-Key": "idempotencyKey",
|
|
@@ -54,12 +54,12 @@ export const SubscribersControllerChatAccessOauthRequest$inboundSchema:
|
|
|
54
54
|
|
|
55
55
|
/** @internal */
|
|
56
56
|
export type SubscribersControllerChatAccessOauthRequest$Outbound = {
|
|
57
|
-
"Idempotency-Key"?: string | undefined;
|
|
58
57
|
subscriberId: string;
|
|
59
58
|
providerId?: any | undefined;
|
|
60
59
|
hmacHash: string;
|
|
61
60
|
environmentId: string;
|
|
62
61
|
integrationIdentifier?: string | undefined;
|
|
62
|
+
"Idempotency-Key"?: string | undefined;
|
|
63
63
|
};
|
|
64
64
|
|
|
65
65
|
/** @internal */
|
|
@@ -69,12 +69,12 @@ export const SubscribersControllerChatAccessOauthRequest$outboundSchema:
|
|
|
69
69
|
z.ZodTypeDef,
|
|
70
70
|
SubscribersControllerChatAccessOauthRequest
|
|
71
71
|
> = z.object({
|
|
72
|
-
idempotencyKey: z.string().optional(),
|
|
73
72
|
subscriberId: z.string(),
|
|
74
73
|
providerId: z.any().optional(),
|
|
75
74
|
hmacHash: z.string(),
|
|
76
75
|
environmentId: z.string(),
|
|
77
76
|
integrationIdentifier: z.string().optional(),
|
|
77
|
+
idempotencyKey: z.string().optional(),
|
|
78
78
|
}).transform((v) => {
|
|
79
79
|
return remap$(v, {
|
|
80
80
|
idempotencyKey: "Idempotency-Key",
|
|
@@ -9,10 +9,6 @@ import { Result as SafeParseResult } from "../../types/fp.js";
|
|
|
9
9
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
10
|
|
|
11
11
|
export type SubscribersControllerChatOauthCallbackRequest = {
|
|
12
|
-
/**
|
|
13
|
-
* A header for idempotency purposes
|
|
14
|
-
*/
|
|
15
|
-
idempotencyKey?: string | undefined;
|
|
16
12
|
subscriberId: string;
|
|
17
13
|
providerId?: any | undefined;
|
|
18
14
|
/**
|
|
@@ -31,6 +27,10 @@ export type SubscribersControllerChatOauthCallbackRequest = {
|
|
|
31
27
|
* Optional authorization code returned from the OAuth provider
|
|
32
28
|
*/
|
|
33
29
|
code: string;
|
|
30
|
+
/**
|
|
31
|
+
* A header for idempotency purposes
|
|
32
|
+
*/
|
|
33
|
+
idempotencyKey?: string | undefined;
|
|
34
34
|
};
|
|
35
35
|
|
|
36
36
|
export type SubscribersControllerChatOauthCallbackResponseResult =
|
|
@@ -49,13 +49,13 @@ export const SubscribersControllerChatOauthCallbackRequest$inboundSchema:
|
|
|
49
49
|
z.ZodTypeDef,
|
|
50
50
|
unknown
|
|
51
51
|
> = z.object({
|
|
52
|
-
"Idempotency-Key": z.string().optional(),
|
|
53
52
|
subscriberId: z.string(),
|
|
54
53
|
providerId: z.any().optional(),
|
|
55
54
|
hmacHash: z.string(),
|
|
56
55
|
environmentId: z.string(),
|
|
57
56
|
integrationIdentifier: z.string().optional(),
|
|
58
57
|
code: z.string(),
|
|
58
|
+
"Idempotency-Key": z.string().optional(),
|
|
59
59
|
}).transform((v) => {
|
|
60
60
|
return remap$(v, {
|
|
61
61
|
"Idempotency-Key": "idempotencyKey",
|
|
@@ -64,13 +64,13 @@ export const SubscribersControllerChatOauthCallbackRequest$inboundSchema:
|
|
|
64
64
|
|
|
65
65
|
/** @internal */
|
|
66
66
|
export type SubscribersControllerChatOauthCallbackRequest$Outbound = {
|
|
67
|
-
"Idempotency-Key"?: string | undefined;
|
|
68
67
|
subscriberId: string;
|
|
69
68
|
providerId?: any | undefined;
|
|
70
69
|
hmacHash: string;
|
|
71
70
|
environmentId: string;
|
|
72
71
|
integrationIdentifier?: string | undefined;
|
|
73
72
|
code: string;
|
|
73
|
+
"Idempotency-Key"?: string | undefined;
|
|
74
74
|
};
|
|
75
75
|
|
|
76
76
|
/** @internal */
|
|
@@ -80,13 +80,13 @@ export const SubscribersControllerChatOauthCallbackRequest$outboundSchema:
|
|
|
80
80
|
z.ZodTypeDef,
|
|
81
81
|
SubscribersControllerChatOauthCallbackRequest
|
|
82
82
|
> = z.object({
|
|
83
|
-
idempotencyKey: z.string().optional(),
|
|
84
83
|
subscriberId: z.string(),
|
|
85
84
|
providerId: z.any().optional(),
|
|
86
85
|
hmacHash: z.string(),
|
|
87
86
|
environmentId: z.string(),
|
|
88
87
|
integrationIdentifier: z.string().optional(),
|
|
89
88
|
code: z.string(),
|
|
89
|
+
idempotencyKey: z.string().optional(),
|
|
90
90
|
}).transform((v) => {
|
|
91
91
|
return remap$(v, {
|
|
92
92
|
idempotencyKey: "Idempotency-Key",
|
|
@@ -9,12 +9,12 @@ import { Result as SafeParseResult } from "../../types/fp.js";
|
|
|
9
9
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
10
|
|
|
11
11
|
export type SubscribersControllerDeleteSubscriberCredentialsRequest = {
|
|
12
|
+
subscriberId: string;
|
|
13
|
+
providerId: string;
|
|
12
14
|
/**
|
|
13
15
|
* A header for idempotency purposes
|
|
14
16
|
*/
|
|
15
17
|
idempotencyKey?: string | undefined;
|
|
16
|
-
subscriberId: string;
|
|
17
|
-
providerId: string;
|
|
18
18
|
};
|
|
19
19
|
|
|
20
20
|
export type SubscribersControllerDeleteSubscriberCredentialsResponse = {
|
|
@@ -28,9 +28,9 @@ export const SubscribersControllerDeleteSubscriberCredentialsRequest$inboundSche
|
|
|
28
28
|
z.ZodTypeDef,
|
|
29
29
|
unknown
|
|
30
30
|
> = z.object({
|
|
31
|
-
"Idempotency-Key": z.string().optional(),
|
|
32
31
|
subscriberId: z.string(),
|
|
33
32
|
providerId: z.string(),
|
|
33
|
+
"Idempotency-Key": z.string().optional(),
|
|
34
34
|
}).transform((v) => {
|
|
35
35
|
return remap$(v, {
|
|
36
36
|
"Idempotency-Key": "idempotencyKey",
|
|
@@ -39,9 +39,9 @@ export const SubscribersControllerDeleteSubscriberCredentialsRequest$inboundSche
|
|
|
39
39
|
|
|
40
40
|
/** @internal */
|
|
41
41
|
export type SubscribersControllerDeleteSubscriberCredentialsRequest$Outbound = {
|
|
42
|
-
"Idempotency-Key"?: string | undefined;
|
|
43
42
|
subscriberId: string;
|
|
44
43
|
providerId: string;
|
|
44
|
+
"Idempotency-Key"?: string | undefined;
|
|
45
45
|
};
|
|
46
46
|
|
|
47
47
|
/** @internal */
|
|
@@ -51,9 +51,9 @@ export const SubscribersControllerDeleteSubscriberCredentialsRequest$outboundSch
|
|
|
51
51
|
z.ZodTypeDef,
|
|
52
52
|
SubscribersControllerDeleteSubscriberCredentialsRequest
|
|
53
53
|
> = z.object({
|
|
54
|
-
idempotencyKey: z.string().optional(),
|
|
55
54
|
subscriberId: z.string(),
|
|
56
55
|
providerId: z.string(),
|
|
56
|
+
idempotencyKey: z.string().optional(),
|
|
57
57
|
}).transform((v) => {
|
|
58
58
|
return remap$(v, {
|
|
59
59
|
idempotencyKey: "Idempotency-Key",
|
|
@@ -10,10 +10,6 @@ import * as components from "../components/index.js";
|
|
|
10
10
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
11
|
|
|
12
12
|
export type SubscribersControllerGetNotificationsFeedRequest = {
|
|
13
|
-
/**
|
|
14
|
-
* A header for idempotency purposes
|
|
15
|
-
*/
|
|
16
|
-
idempotencyKey?: string | undefined;
|
|
17
13
|
subscriberId: string;
|
|
18
14
|
page?: number | undefined;
|
|
19
15
|
limit?: number | undefined;
|
|
@@ -23,6 +19,10 @@ export type SubscribersControllerGetNotificationsFeedRequest = {
|
|
|
23
19
|
* Base64 encoded string of the partial payload JSON object
|
|
24
20
|
*/
|
|
25
21
|
payload?: string | undefined;
|
|
22
|
+
/**
|
|
23
|
+
* A header for idempotency purposes
|
|
24
|
+
*/
|
|
25
|
+
idempotencyKey?: string | undefined;
|
|
26
26
|
};
|
|
27
27
|
|
|
28
28
|
export type SubscribersControllerGetNotificationsFeedResponse = {
|
|
@@ -37,13 +37,13 @@ export const SubscribersControllerGetNotificationsFeedRequest$inboundSchema:
|
|
|
37
37
|
z.ZodTypeDef,
|
|
38
38
|
unknown
|
|
39
39
|
> = z.object({
|
|
40
|
-
"Idempotency-Key": z.string().optional(),
|
|
41
40
|
subscriberId: z.string(),
|
|
42
41
|
page: z.number().optional(),
|
|
43
42
|
limit: z.number().default(10),
|
|
44
43
|
read: z.boolean().optional(),
|
|
45
44
|
seen: z.boolean().optional(),
|
|
46
45
|
payload: z.string().optional(),
|
|
46
|
+
"Idempotency-Key": z.string().optional(),
|
|
47
47
|
}).transform((v) => {
|
|
48
48
|
return remap$(v, {
|
|
49
49
|
"Idempotency-Key": "idempotencyKey",
|
|
@@ -52,13 +52,13 @@ export const SubscribersControllerGetNotificationsFeedRequest$inboundSchema:
|
|
|
52
52
|
|
|
53
53
|
/** @internal */
|
|
54
54
|
export type SubscribersControllerGetNotificationsFeedRequest$Outbound = {
|
|
55
|
-
"Idempotency-Key"?: string | undefined;
|
|
56
55
|
subscriberId: string;
|
|
57
56
|
page?: number | undefined;
|
|
58
57
|
limit: number;
|
|
59
58
|
read?: boolean | undefined;
|
|
60
59
|
seen?: boolean | undefined;
|
|
61
60
|
payload?: string | undefined;
|
|
61
|
+
"Idempotency-Key"?: string | undefined;
|
|
62
62
|
};
|
|
63
63
|
|
|
64
64
|
/** @internal */
|
|
@@ -68,13 +68,13 @@ export const SubscribersControllerGetNotificationsFeedRequest$outboundSchema:
|
|
|
68
68
|
z.ZodTypeDef,
|
|
69
69
|
SubscribersControllerGetNotificationsFeedRequest
|
|
70
70
|
> = z.object({
|
|
71
|
-
idempotencyKey: z.string().optional(),
|
|
72
71
|
subscriberId: z.string(),
|
|
73
72
|
page: z.number().optional(),
|
|
74
73
|
limit: z.number().default(10),
|
|
75
74
|
read: z.boolean().optional(),
|
|
76
75
|
seen: z.boolean().optional(),
|
|
77
76
|
payload: z.string().optional(),
|
|
77
|
+
idempotencyKey: z.string().optional(),
|
|
78
78
|
}).transform((v) => {
|
|
79
79
|
return remap$(v, {
|
|
80
80
|
idempotencyKey: "Idempotency-Key",
|
|
@@ -10,15 +10,15 @@ import * as components from "../components/index.js";
|
|
|
10
10
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
11
|
|
|
12
12
|
export type SubscribersControllerGetSubscriberRequest = {
|
|
13
|
-
/**
|
|
14
|
-
* A header for idempotency purposes
|
|
15
|
-
*/
|
|
16
|
-
idempotencyKey?: string | undefined;
|
|
17
13
|
subscriberId: string;
|
|
18
14
|
/**
|
|
19
15
|
* Includes the topics associated with the subscriber
|
|
20
16
|
*/
|
|
21
17
|
includeTopics?: boolean | undefined;
|
|
18
|
+
/**
|
|
19
|
+
* A header for idempotency purposes
|
|
20
|
+
*/
|
|
21
|
+
idempotencyKey?: string | undefined;
|
|
22
22
|
};
|
|
23
23
|
|
|
24
24
|
export type SubscribersControllerGetSubscriberResponse = {
|
|
@@ -32,9 +32,9 @@ export const SubscribersControllerGetSubscriberRequest$inboundSchema: z.ZodType<
|
|
|
32
32
|
z.ZodTypeDef,
|
|
33
33
|
unknown
|
|
34
34
|
> = z.object({
|
|
35
|
-
"Idempotency-Key": z.string().optional(),
|
|
36
35
|
subscriberId: z.string(),
|
|
37
36
|
includeTopics: z.boolean().optional(),
|
|
37
|
+
"Idempotency-Key": z.string().optional(),
|
|
38
38
|
}).transform((v) => {
|
|
39
39
|
return remap$(v, {
|
|
40
40
|
"Idempotency-Key": "idempotencyKey",
|
|
@@ -43,9 +43,9 @@ export const SubscribersControllerGetSubscriberRequest$inboundSchema: z.ZodType<
|
|
|
43
43
|
|
|
44
44
|
/** @internal */
|
|
45
45
|
export type SubscribersControllerGetSubscriberRequest$Outbound = {
|
|
46
|
-
"Idempotency-Key"?: string | undefined;
|
|
47
46
|
subscriberId: string;
|
|
48
47
|
includeTopics?: boolean | undefined;
|
|
48
|
+
"Idempotency-Key"?: string | undefined;
|
|
49
49
|
};
|
|
50
50
|
|
|
51
51
|
/** @internal */
|
|
@@ -55,9 +55,9 @@ export const SubscribersControllerGetSubscriberRequest$outboundSchema:
|
|
|
55
55
|
z.ZodTypeDef,
|
|
56
56
|
SubscribersControllerGetSubscriberRequest
|
|
57
57
|
> = z.object({
|
|
58
|
-
idempotencyKey: z.string().optional(),
|
|
59
58
|
subscriberId: z.string(),
|
|
60
59
|
includeTopics: z.boolean().optional(),
|
|
60
|
+
idempotencyKey: z.string().optional(),
|
|
61
61
|
}).transform((v) => {
|
|
62
62
|
return remap$(v, {
|
|
63
63
|
idempotencyKey: "Idempotency-Key",
|