@novu/api 1.2.0 → 1.3.0
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/FUNCTIONS.md +5 -22
- package/README.md +48 -74
- package/bin/mcp-server.js +289 -23
- package/bin/mcp-server.js.map +59 -57
- package/docs/sdks/credentials/README.md +15 -27
- package/docs/sdks/integrations/README.md +30 -54
- package/docs/sdks/messages/README.md +15 -27
- package/docs/sdks/notifications/README.md +10 -18
- package/docs/sdks/novu/README.md +44 -57
- package/docs/sdks/novumessages/README.md +15 -27
- package/docs/sdks/novunotifications/README.md +10 -18
- package/docs/sdks/novusubscribers/README.md +5 -9
- package/docs/sdks/novutopics/README.md +5 -9
- package/docs/sdks/preferences/README.md +10 -18
- package/docs/sdks/properties/README.md +5 -9
- package/docs/sdks/subscribers/README.md +34 -57
- package/docs/sdks/subscriptions/README.md +16 -28
- package/docs/sdks/topics/README.md +25 -45
- package/funcs/cancel.d.ts +1 -1
- package/funcs/cancel.d.ts.map +1 -1
- package/funcs/cancel.js +2 -0
- package/funcs/cancel.js.map +1 -1
- package/funcs/integrationsCreate.d.ts +1 -1
- package/funcs/integrationsCreate.d.ts.map +1 -1
- package/funcs/integrationsCreate.js +2 -0
- package/funcs/integrationsCreate.js.map +1 -1
- package/funcs/integrationsDelete.d.ts +1 -1
- package/funcs/integrationsDelete.d.ts.map +1 -1
- package/funcs/integrationsDelete.js +2 -0
- package/funcs/integrationsDelete.js.map +1 -1
- package/funcs/integrationsList.d.ts +1 -1
- package/funcs/integrationsList.d.ts.map +1 -1
- package/funcs/integrationsList.js +2 -0
- package/funcs/integrationsList.js.map +1 -1
- package/funcs/integrationsListActive.d.ts +1 -1
- package/funcs/integrationsListActive.d.ts.map +1 -1
- package/funcs/integrationsListActive.js +2 -0
- package/funcs/integrationsListActive.js.map +1 -1
- package/funcs/integrationsSetAsPrimary.d.ts +1 -1
- package/funcs/integrationsSetAsPrimary.d.ts.map +1 -1
- package/funcs/integrationsSetAsPrimary.js +2 -0
- package/funcs/integrationsSetAsPrimary.js.map +1 -1
- package/funcs/integrationsUpdate.d.ts +1 -1
- package/funcs/integrationsUpdate.d.ts.map +1 -1
- package/funcs/integrationsUpdate.js +2 -0
- package/funcs/integrationsUpdate.js.map +1 -1
- package/funcs/messagesDelete.d.ts +1 -1
- package/funcs/messagesDelete.d.ts.map +1 -1
- package/funcs/messagesDelete.js +2 -0
- package/funcs/messagesDelete.js.map +1 -1
- package/funcs/messagesDeleteByTransactionId.d.ts +1 -1
- package/funcs/messagesDeleteByTransactionId.d.ts.map +1 -1
- package/funcs/messagesDeleteByTransactionId.js +2 -0
- package/funcs/messagesDeleteByTransactionId.js.map +1 -1
- package/funcs/messagesRetrieve.d.ts +1 -1
- package/funcs/messagesRetrieve.d.ts.map +1 -1
- package/funcs/messagesRetrieve.js +2 -0
- package/funcs/messagesRetrieve.js.map +1 -1
- package/funcs/notificationsList.d.ts +1 -1
- package/funcs/notificationsList.d.ts.map +1 -1
- package/funcs/notificationsList.js +2 -0
- package/funcs/notificationsList.js.map +1 -1
- package/funcs/notificationsRetrieve.d.ts +1 -1
- package/funcs/notificationsRetrieve.d.ts.map +1 -1
- package/funcs/notificationsRetrieve.js +2 -0
- package/funcs/notificationsRetrieve.js.map +1 -1
- package/funcs/subscribersCreate.d.ts +1 -1
- package/funcs/subscribersCreate.d.ts.map +1 -1
- package/funcs/subscribersCreate.js +2 -0
- package/funcs/subscribersCreate.js.map +1 -1
- package/funcs/subscribersCreateBulk.d.ts +1 -1
- package/funcs/subscribersCreateBulk.d.ts.map +1 -1
- package/funcs/subscribersCreateBulk.js +2 -0
- package/funcs/subscribersCreateBulk.js.map +1 -1
- package/funcs/subscribersCredentialsAppend.d.ts +1 -1
- package/funcs/subscribersCredentialsAppend.d.ts.map +1 -1
- package/funcs/subscribersCredentialsAppend.js +2 -0
- package/funcs/subscribersCredentialsAppend.js.map +1 -1
- package/funcs/subscribersCredentialsDelete.d.ts +1 -1
- package/funcs/subscribersCredentialsDelete.d.ts.map +1 -1
- package/funcs/subscribersCredentialsDelete.js +2 -0
- package/funcs/subscribersCredentialsDelete.js.map +1 -1
- package/funcs/subscribersCredentialsUpdate.d.ts +1 -1
- package/funcs/subscribersCredentialsUpdate.d.ts.map +1 -1
- package/funcs/subscribersCredentialsUpdate.js +2 -0
- package/funcs/subscribersCredentialsUpdate.js.map +1 -1
- package/funcs/subscribersDelete.d.ts +4 -3
- package/funcs/subscribersDelete.d.ts.map +1 -1
- package/funcs/subscribersDelete.js +5 -2
- package/funcs/subscribersDelete.js.map +1 -1
- package/funcs/subscribersMessagesMarkAll.d.ts +1 -1
- package/funcs/subscribersMessagesMarkAll.d.ts.map +1 -1
- package/funcs/subscribersMessagesMarkAll.js +2 -0
- package/funcs/subscribersMessagesMarkAll.js.map +1 -1
- package/funcs/subscribersMessagesMarkAllAs.d.ts +1 -1
- package/funcs/subscribersMessagesMarkAllAs.d.ts.map +1 -1
- package/funcs/subscribersMessagesMarkAllAs.js +2 -0
- package/funcs/subscribersMessagesMarkAllAs.js.map +1 -1
- package/funcs/subscribersMessagesUpdateAsSeen.d.ts +1 -1
- package/funcs/subscribersMessagesUpdateAsSeen.d.ts.map +1 -1
- package/funcs/subscribersMessagesUpdateAsSeen.js +2 -0
- package/funcs/subscribersMessagesUpdateAsSeen.js.map +1 -1
- package/funcs/subscribersNotificationsFeed.d.ts +1 -1
- package/funcs/subscribersNotificationsFeed.d.ts.map +1 -1
- package/funcs/subscribersNotificationsFeed.js +2 -0
- package/funcs/subscribersNotificationsFeed.js.map +1 -1
- package/funcs/subscribersNotificationsUnseenCount.d.ts +1 -1
- package/funcs/subscribersNotificationsUnseenCount.d.ts.map +1 -1
- package/funcs/subscribersNotificationsUnseenCount.js +2 -0
- package/funcs/subscribersNotificationsUnseenCount.js.map +1 -1
- package/funcs/subscribersPatch.d.ts +1 -1
- package/funcs/subscribersPatch.d.ts.map +1 -1
- package/funcs/subscribersPatch.js +2 -0
- package/funcs/subscribersPatch.js.map +1 -1
- package/funcs/subscribersPreferencesList.d.ts +1 -1
- package/funcs/subscribersPreferencesList.d.ts.map +1 -1
- package/funcs/subscribersPreferencesList.js +2 -0
- package/funcs/subscribersPreferencesList.js.map +1 -1
- package/funcs/subscribersPreferencesUpdate.d.ts +1 -1
- package/funcs/subscribersPreferencesUpdate.d.ts.map +1 -1
- package/funcs/subscribersPreferencesUpdate.js +2 -0
- package/funcs/subscribersPreferencesUpdate.js.map +1 -1
- package/funcs/subscribersPropertiesUpdateOnlineFlag.d.ts +1 -1
- package/funcs/subscribersPropertiesUpdateOnlineFlag.d.ts.map +1 -1
- package/funcs/subscribersPropertiesUpdateOnlineFlag.js +2 -0
- package/funcs/subscribersPropertiesUpdateOnlineFlag.js.map +1 -1
- package/funcs/subscribersRetrieve.d.ts +2 -2
- package/funcs/subscribersRetrieve.d.ts.map +1 -1
- package/funcs/subscribersRetrieve.js +3 -1
- package/funcs/subscribersRetrieve.js.map +1 -1
- package/funcs/subscribersSearch.d.ts +1 -1
- package/funcs/subscribersSearch.d.ts.map +1 -1
- package/funcs/subscribersSearch.js +2 -0
- package/funcs/subscribersSearch.js.map +1 -1
- package/funcs/subscribersTopicsList.d.ts +1 -1
- package/funcs/subscribersTopicsList.d.ts.map +1 -1
- package/funcs/subscribersTopicsList.js +2 -0
- package/funcs/subscribersTopicsList.js.map +1 -1
- package/funcs/topicsCreate.d.ts +1 -1
- package/funcs/topicsCreate.d.ts.map +1 -1
- package/funcs/topicsCreate.js +2 -0
- package/funcs/topicsCreate.js.map +1 -1
- package/funcs/topicsDelete.d.ts +1 -1
- package/funcs/topicsDelete.d.ts.map +1 -1
- package/funcs/topicsDelete.js +2 -0
- package/funcs/topicsDelete.js.map +1 -1
- package/funcs/topicsGet.d.ts +1 -1
- package/funcs/topicsGet.d.ts.map +1 -1
- package/funcs/topicsGet.js +2 -0
- package/funcs/topicsGet.js.map +1 -1
- package/funcs/topicsList.d.ts +1 -1
- package/funcs/topicsList.d.ts.map +1 -1
- package/funcs/topicsList.js +2 -0
- package/funcs/topicsList.js.map +1 -1
- package/funcs/topicsSubscribersRetrieve.d.ts +1 -1
- package/funcs/topicsSubscribersRetrieve.d.ts.map +1 -1
- package/funcs/topicsSubscribersRetrieve.js +2 -0
- package/funcs/topicsSubscribersRetrieve.js.map +1 -1
- package/funcs/topicsSubscriptionsCreate.d.ts +1 -1
- package/funcs/topicsSubscriptionsCreate.d.ts.map +1 -1
- package/funcs/topicsSubscriptionsCreate.js +2 -0
- package/funcs/topicsSubscriptionsCreate.js.map +1 -1
- package/funcs/topicsSubscriptionsDelete.d.ts +1 -1
- package/funcs/topicsSubscriptionsDelete.d.ts.map +1 -1
- package/funcs/topicsSubscriptionsDelete.js +2 -0
- package/funcs/topicsSubscriptionsDelete.js.map +1 -1
- package/funcs/topicsSubscriptionsList.d.ts +2 -2
- package/funcs/topicsSubscriptionsList.d.ts.map +1 -1
- package/funcs/topicsSubscriptionsList.js +3 -1
- package/funcs/topicsSubscriptionsList.js.map +1 -1
- package/funcs/topicsUpdate.d.ts +1 -1
- package/funcs/topicsUpdate.d.ts.map +1 -1
- package/funcs/topicsUpdate.js +2 -0
- package/funcs/topicsUpdate.js.map +1 -1
- package/funcs/trigger.d.ts +1 -1
- package/funcs/trigger.d.ts.map +1 -1
- package/funcs/trigger.js +5 -1
- package/funcs/trigger.js.map +1 -1
- package/funcs/triggerBroadcast.d.ts +1 -1
- package/funcs/triggerBroadcast.d.ts.map +1 -1
- package/funcs/triggerBroadcast.js +5 -1
- package/funcs/triggerBroadcast.js.map +1 -1
- package/funcs/triggerBulk.d.ts +1 -1
- package/funcs/triggerBulk.d.ts.map +1 -1
- package/funcs/triggerBulk.js +5 -1
- package/funcs/triggerBulk.js.map +1 -1
- package/hooks/types.d.ts +2 -0
- package/hooks/types.d.ts.map +1 -1
- package/index.d.ts +2 -0
- package/index.d.ts.map +1 -1
- package/index.js +3 -1
- package/index.js.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +7 -3
- package/lib/config.d.ts.map +1 -1
- package/lib/config.js +3 -3
- package/lib/config.js.map +1 -1
- package/lib/sdks.d.ts +1 -0
- package/lib/sdks.d.ts.map +1 -1
- package/lib/sdks.js +3 -3
- package/lib/sdks.js.map +1 -1
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.js +1 -1
- package/mcp-server/tools/subscribersDelete.d.ts.map +1 -1
- package/mcp-server/tools/subscribersDelete.js +3 -2
- package/mcp-server/tools/subscribersDelete.js.map +1 -1
- package/mcp-server/tools/subscribersRetrieve.js +1 -1
- package/mcp-server/tools/topicsSubscriptionsList.js +1 -1
- package/models/components/index.d.ts +1 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +1 -0
- package/models/components/index.js.map +1 -1
- package/models/components/notificationfeeditemdto.d.ts +2 -2
- package/models/components/notificationfeeditemdto.d.ts.map +1 -1
- package/models/components/notificationfeeditemdto.js +2 -2
- package/models/components/notificationfeeditemdto.js.map +1 -1
- package/models/components/payloadvalidationerrordto.d.ts +125 -0
- package/models/components/payloadvalidationerrordto.d.ts.map +1 -0
- package/models/components/payloadvalidationerrordto.js +160 -0
- package/models/components/payloadvalidationerrordto.js.map +1 -0
- package/models/components/updateintegrationrequestdto.d.ts +0 -5
- package/models/components/updateintegrationrequestdto.d.ts.map +1 -1
- package/models/components/updateintegrationrequestdto.js +0 -2
- package/models/components/updateintegrationrequestdto.js.map +1 -1
- package/models/errors/index.d.ts +1 -0
- package/models/errors/index.d.ts.map +1 -1
- package/models/errors/index.js +1 -0
- package/models/errors/index.js.map +1 -1
- package/models/errors/payloadvalidationexceptiondto.d.ts +222 -0
- package/models/errors/payloadvalidationexceptiondto.d.ts.map +1 -0
- package/models/errors/payloadvalidationexceptiondto.js +212 -0
- package/models/errors/payloadvalidationexceptiondto.js.map +1 -0
- package/models/errors/sdkerror.d.ts +14 -2
- package/models/errors/sdkerror.d.ts.map +1 -1
- package/models/errors/sdkerror.js +1 -1
- package/models/errors/sdkerror.js.map +1 -1
- package/package.json +1 -1
- package/sdk/subscribers.d.ts +4 -3
- package/sdk/subscribers.d.ts.map +1 -1
- package/sdk/subscribers.js +4 -3
- package/sdk/subscribers.js.map +1 -1
- package/sdk/subscriptions.d.ts +1 -1
- package/sdk/subscriptions.js +1 -1
- package/sources/json-development.json +227 -46
- package/src/funcs/cancel.ts +2 -6
- package/src/funcs/integrationsCreate.ts +2 -6
- package/src/funcs/integrationsDelete.ts +2 -6
- package/src/funcs/integrationsList.ts +2 -6
- package/src/funcs/integrationsListActive.ts +2 -6
- package/src/funcs/integrationsSetAsPrimary.ts +2 -6
- package/src/funcs/integrationsUpdate.ts +2 -6
- package/src/funcs/messagesDelete.ts +2 -6
- package/src/funcs/messagesDeleteByTransactionId.ts +2 -6
- package/src/funcs/messagesRetrieve.ts +2 -6
- package/src/funcs/notificationsList.ts +2 -6
- package/src/funcs/notificationsRetrieve.ts +2 -6
- package/src/funcs/subscribersCreate.ts +2 -6
- package/src/funcs/subscribersCreateBulk.ts +2 -6
- package/src/funcs/subscribersCredentialsAppend.ts +2 -6
- package/src/funcs/subscribersCredentialsDelete.ts +2 -6
- package/src/funcs/subscribersCredentialsUpdate.ts +2 -6
- package/src/funcs/subscribersDelete.ts +5 -8
- package/src/funcs/subscribersMessagesMarkAll.ts +2 -6
- package/src/funcs/subscribersMessagesMarkAllAs.ts +2 -6
- package/src/funcs/subscribersMessagesUpdateAsSeen.ts +2 -6
- package/src/funcs/subscribersNotificationsFeed.ts +2 -6
- package/src/funcs/subscribersNotificationsUnseenCount.ts +2 -6
- package/src/funcs/subscribersPatch.ts +2 -6
- package/src/funcs/subscribersPreferencesList.ts +2 -6
- package/src/funcs/subscribersPreferencesUpdate.ts +2 -6
- package/src/funcs/subscribersPropertiesUpdateOnlineFlag.ts +2 -6
- package/src/funcs/subscribersRetrieve.ts +3 -7
- package/src/funcs/subscribersSearch.ts +2 -6
- package/src/funcs/subscribersTopicsList.ts +2 -6
- package/src/funcs/topicsCreate.ts +2 -6
- package/src/funcs/topicsDelete.ts +2 -6
- package/src/funcs/topicsGet.ts +2 -6
- package/src/funcs/topicsList.ts +2 -6
- package/src/funcs/topicsSubscribersRetrieve.ts +2 -6
- package/src/funcs/topicsSubscriptionsCreate.ts +2 -6
- package/src/funcs/topicsSubscriptionsDelete.ts +2 -6
- package/src/funcs/topicsSubscriptionsList.ts +3 -7
- package/src/funcs/topicsUpdate.ts +2 -6
- package/src/funcs/trigger.ts +9 -7
- package/src/funcs/triggerBroadcast.ts +9 -7
- package/src/funcs/triggerBulk.ts +9 -7
- package/src/hooks/types.ts +2 -0
- package/src/index.ts +2 -0
- package/src/lib/config.ts +7 -3
- package/src/lib/sdks.ts +10 -4
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/mcp-server/tools/subscribersDelete.ts +3 -2
- package/src/mcp-server/tools/subscribersRetrieve.ts +1 -1
- package/src/mcp-server/tools/topicsSubscriptionsList.ts +1 -1
- package/src/models/components/index.ts +1 -0
- package/src/models/components/notificationfeeditemdto.ts +4 -4
- package/src/models/components/payloadvalidationerrordto.ts +299 -0
- package/src/models/components/updateintegrationrequestdto.ts +0 -7
- package/src/models/errors/index.ts +1 -0
- package/src/models/errors/payloadvalidationexceptiondto.ts +466 -0
- package/src/models/errors/sdkerror.ts +18 -3
- package/src/sdk/subscribers.ts +4 -3
- package/src/sdk/subscriptions.ts +1 -1
|
@@ -38,9 +38,7 @@ export function subscribersNotificationsUnseenCount(
|
|
|
38
38
|
Result<
|
|
39
39
|
operations.SubscribersV1ControllerGetUnseenCountResponse,
|
|
40
40
|
| errors.ErrorDto
|
|
41
|
-
| errors.ErrorDto
|
|
42
41
|
| errors.ValidationErrorDto
|
|
43
|
-
| errors.ErrorDto
|
|
44
42
|
| SDKError
|
|
45
43
|
| SDKValidationError
|
|
46
44
|
| UnexpectedClientError
|
|
@@ -66,9 +64,7 @@ async function $do(
|
|
|
66
64
|
Result<
|
|
67
65
|
operations.SubscribersV1ControllerGetUnseenCountResponse,
|
|
68
66
|
| errors.ErrorDto
|
|
69
|
-
| errors.ErrorDto
|
|
70
67
|
| errors.ValidationErrorDto
|
|
71
|
-
| errors.ErrorDto
|
|
72
68
|
| SDKError
|
|
73
69
|
| SDKValidationError
|
|
74
70
|
| UnexpectedClientError
|
|
@@ -123,6 +119,7 @@ async function $do(
|
|
|
123
119
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
124
120
|
|
|
125
121
|
const context = {
|
|
122
|
+
options: client._options,
|
|
126
123
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
127
124
|
operationID: "SubscribersV1Controller_getUnseenCount",
|
|
128
125
|
oAuth2Scopes: [],
|
|
@@ -154,6 +151,7 @@ async function $do(
|
|
|
154
151
|
headers: headers,
|
|
155
152
|
query: query,
|
|
156
153
|
body: body,
|
|
154
|
+
userAgent: client._options.userAgent,
|
|
157
155
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
158
156
|
}, options);
|
|
159
157
|
if (!requestRes.ok) {
|
|
@@ -195,9 +193,7 @@ async function $do(
|
|
|
195
193
|
const [result] = await M.match<
|
|
196
194
|
operations.SubscribersV1ControllerGetUnseenCountResponse,
|
|
197
195
|
| errors.ErrorDto
|
|
198
|
-
| errors.ErrorDto
|
|
199
196
|
| errors.ValidationErrorDto
|
|
200
|
-
| errors.ErrorDto
|
|
201
197
|
| SDKError
|
|
202
198
|
| SDKValidationError
|
|
203
199
|
| UnexpectedClientError
|
|
@@ -42,9 +42,7 @@ export function subscribersPatch(
|
|
|
42
42
|
Result<
|
|
43
43
|
operations.SubscribersControllerPatchSubscriberResponse,
|
|
44
44
|
| errors.ErrorDto
|
|
45
|
-
| errors.ErrorDto
|
|
46
45
|
| errors.ValidationErrorDto
|
|
47
|
-
| errors.ErrorDto
|
|
48
46
|
| SDKError
|
|
49
47
|
| SDKValidationError
|
|
50
48
|
| UnexpectedClientError
|
|
@@ -74,9 +72,7 @@ async function $do(
|
|
|
74
72
|
Result<
|
|
75
73
|
operations.SubscribersControllerPatchSubscriberResponse,
|
|
76
74
|
| errors.ErrorDto
|
|
77
|
-
| errors.ErrorDto
|
|
78
75
|
| errors.ValidationErrorDto
|
|
79
|
-
| errors.ErrorDto
|
|
80
76
|
| SDKError
|
|
81
77
|
| SDKValidationError
|
|
82
78
|
| UnexpectedClientError
|
|
@@ -133,6 +129,7 @@ async function $do(
|
|
|
133
129
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
134
130
|
|
|
135
131
|
const context = {
|
|
132
|
+
options: client._options,
|
|
136
133
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
137
134
|
operationID: "SubscribersController_patchSubscriber",
|
|
138
135
|
oAuth2Scopes: [],
|
|
@@ -163,6 +160,7 @@ async function $do(
|
|
|
163
160
|
path: path,
|
|
164
161
|
headers: headers,
|
|
165
162
|
body: body,
|
|
163
|
+
userAgent: client._options.userAgent,
|
|
166
164
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
167
165
|
}, options);
|
|
168
166
|
if (!requestRes.ok) {
|
|
@@ -204,9 +202,7 @@ async function $do(
|
|
|
204
202
|
const [result] = await M.match<
|
|
205
203
|
operations.SubscribersControllerPatchSubscriberResponse,
|
|
206
204
|
| errors.ErrorDto
|
|
207
|
-
| errors.ErrorDto
|
|
208
205
|
| errors.ValidationErrorDto
|
|
209
|
-
| errors.ErrorDto
|
|
210
206
|
| SDKError
|
|
211
207
|
| SDKValidationError
|
|
212
208
|
| UnexpectedClientError
|
|
@@ -40,9 +40,7 @@ export function subscribersPreferencesList(
|
|
|
40
40
|
Result<
|
|
41
41
|
operations.SubscribersControllerGetSubscriberPreferencesResponse,
|
|
42
42
|
| errors.ErrorDto
|
|
43
|
-
| errors.ErrorDto
|
|
44
43
|
| errors.ValidationErrorDto
|
|
45
|
-
| errors.ErrorDto
|
|
46
44
|
| SDKError
|
|
47
45
|
| SDKValidationError
|
|
48
46
|
| UnexpectedClientError
|
|
@@ -70,9 +68,7 @@ async function $do(
|
|
|
70
68
|
Result<
|
|
71
69
|
operations.SubscribersControllerGetSubscriberPreferencesResponse,
|
|
72
70
|
| errors.ErrorDto
|
|
73
|
-
| errors.ErrorDto
|
|
74
71
|
| errors.ValidationErrorDto
|
|
75
|
-
| errors.ErrorDto
|
|
76
72
|
| SDKError
|
|
77
73
|
| SDKValidationError
|
|
78
74
|
| UnexpectedClientError
|
|
@@ -129,6 +125,7 @@ async function $do(
|
|
|
129
125
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
130
126
|
|
|
131
127
|
const context = {
|
|
128
|
+
options: client._options,
|
|
132
129
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
133
130
|
operationID: "SubscribersController_getSubscriberPreferences",
|
|
134
131
|
oAuth2Scopes: [],
|
|
@@ -159,6 +156,7 @@ async function $do(
|
|
|
159
156
|
path: path,
|
|
160
157
|
headers: headers,
|
|
161
158
|
body: body,
|
|
159
|
+
userAgent: client._options.userAgent,
|
|
162
160
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
163
161
|
}, options);
|
|
164
162
|
if (!requestRes.ok) {
|
|
@@ -200,9 +198,7 @@ async function $do(
|
|
|
200
198
|
const [result] = await M.match<
|
|
201
199
|
operations.SubscribersControllerGetSubscriberPreferencesResponse,
|
|
202
200
|
| errors.ErrorDto
|
|
203
|
-
| errors.ErrorDto
|
|
204
201
|
| errors.ValidationErrorDto
|
|
205
|
-
| errors.ErrorDto
|
|
206
202
|
| SDKError
|
|
207
203
|
| SDKValidationError
|
|
208
204
|
| UnexpectedClientError
|
|
@@ -43,9 +43,7 @@ export function subscribersPreferencesUpdate(
|
|
|
43
43
|
Result<
|
|
44
44
|
operations.SubscribersControllerUpdateSubscriberPreferencesResponse,
|
|
45
45
|
| errors.ErrorDto
|
|
46
|
-
| errors.ErrorDto
|
|
47
46
|
| errors.ValidationErrorDto
|
|
48
|
-
| errors.ErrorDto
|
|
49
47
|
| SDKError
|
|
50
48
|
| SDKValidationError
|
|
51
49
|
| UnexpectedClientError
|
|
@@ -75,9 +73,7 @@ async function $do(
|
|
|
75
73
|
Result<
|
|
76
74
|
operations.SubscribersControllerUpdateSubscriberPreferencesResponse,
|
|
77
75
|
| errors.ErrorDto
|
|
78
|
-
| errors.ErrorDto
|
|
79
76
|
| errors.ValidationErrorDto
|
|
80
|
-
| errors.ErrorDto
|
|
81
77
|
| SDKError
|
|
82
78
|
| SDKValidationError
|
|
83
79
|
| UnexpectedClientError
|
|
@@ -138,6 +134,7 @@ async function $do(
|
|
|
138
134
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
139
135
|
|
|
140
136
|
const context = {
|
|
137
|
+
options: client._options,
|
|
141
138
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
142
139
|
operationID: "SubscribersController_updateSubscriberPreferences",
|
|
143
140
|
oAuth2Scopes: [],
|
|
@@ -168,6 +165,7 @@ async function $do(
|
|
|
168
165
|
path: path,
|
|
169
166
|
headers: headers,
|
|
170
167
|
body: body,
|
|
168
|
+
userAgent: client._options.userAgent,
|
|
171
169
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
172
170
|
}, options);
|
|
173
171
|
if (!requestRes.ok) {
|
|
@@ -209,9 +207,7 @@ async function $do(
|
|
|
209
207
|
const [result] = await M.match<
|
|
210
208
|
operations.SubscribersControllerUpdateSubscriberPreferencesResponse,
|
|
211
209
|
| errors.ErrorDto
|
|
212
|
-
| errors.ErrorDto
|
|
213
210
|
| errors.ValidationErrorDto
|
|
214
|
-
| errors.ErrorDto
|
|
215
211
|
| SDKError
|
|
216
212
|
| SDKValidationError
|
|
217
213
|
| UnexpectedClientError
|
|
@@ -42,9 +42,7 @@ export function subscribersPropertiesUpdateOnlineFlag(
|
|
|
42
42
|
Result<
|
|
43
43
|
operations.SubscribersV1ControllerUpdateSubscriberOnlineFlagResponse,
|
|
44
44
|
| errors.ErrorDto
|
|
45
|
-
| errors.ErrorDto
|
|
46
45
|
| errors.ValidationErrorDto
|
|
47
|
-
| errors.ErrorDto
|
|
48
46
|
| SDKError
|
|
49
47
|
| SDKValidationError
|
|
50
48
|
| UnexpectedClientError
|
|
@@ -75,9 +73,7 @@ async function $do(
|
|
|
75
73
|
Result<
|
|
76
74
|
operations.SubscribersV1ControllerUpdateSubscriberOnlineFlagResponse,
|
|
77
75
|
| errors.ErrorDto
|
|
78
|
-
| errors.ErrorDto
|
|
79
76
|
| errors.ValidationErrorDto
|
|
80
|
-
| errors.ErrorDto
|
|
81
77
|
| SDKError
|
|
82
78
|
| SDKValidationError
|
|
83
79
|
| UnexpectedClientError
|
|
@@ -141,6 +137,7 @@ async function $do(
|
|
|
141
137
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
142
138
|
|
|
143
139
|
const context = {
|
|
140
|
+
options: client._options,
|
|
144
141
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
145
142
|
operationID: "SubscribersV1Controller_updateSubscriberOnlineFlag",
|
|
146
143
|
oAuth2Scopes: [],
|
|
@@ -171,6 +168,7 @@ async function $do(
|
|
|
171
168
|
path: path,
|
|
172
169
|
headers: headers,
|
|
173
170
|
body: body,
|
|
171
|
+
userAgent: client._options.userAgent,
|
|
174
172
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
175
173
|
}, options);
|
|
176
174
|
if (!requestRes.ok) {
|
|
@@ -212,9 +210,7 @@ async function $do(
|
|
|
212
210
|
const [result] = await M.match<
|
|
213
211
|
operations.SubscribersV1ControllerUpdateSubscriberOnlineFlagResponse,
|
|
214
212
|
| errors.ErrorDto
|
|
215
|
-
| errors.ErrorDto
|
|
216
213
|
| errors.ValidationErrorDto
|
|
217
|
-
| errors.ErrorDto
|
|
218
214
|
| SDKError
|
|
219
215
|
| SDKValidationError
|
|
220
216
|
| UnexpectedClientError
|
|
@@ -28,7 +28,7 @@ import { Result } from "../types/fp.js";
|
|
|
28
28
|
* Retrieve a subscriber
|
|
29
29
|
*
|
|
30
30
|
* @remarks
|
|
31
|
-
*
|
|
31
|
+
* Retrieve a subscriber by its unique key identifier **subscriberId**.
|
|
32
32
|
* **subscriberId** field is required.
|
|
33
33
|
*/
|
|
34
34
|
export function subscribersRetrieve(
|
|
@@ -40,9 +40,7 @@ export function subscribersRetrieve(
|
|
|
40
40
|
Result<
|
|
41
41
|
operations.SubscribersControllerGetSubscriberResponse,
|
|
42
42
|
| errors.ErrorDto
|
|
43
|
-
| errors.ErrorDto
|
|
44
43
|
| errors.ValidationErrorDto
|
|
45
|
-
| errors.ErrorDto
|
|
46
44
|
| SDKError
|
|
47
45
|
| SDKValidationError
|
|
48
46
|
| UnexpectedClientError
|
|
@@ -70,9 +68,7 @@ async function $do(
|
|
|
70
68
|
Result<
|
|
71
69
|
operations.SubscribersControllerGetSubscriberResponse,
|
|
72
70
|
| errors.ErrorDto
|
|
73
|
-
| errors.ErrorDto
|
|
74
71
|
| errors.ValidationErrorDto
|
|
75
|
-
| errors.ErrorDto
|
|
76
72
|
| SDKError
|
|
77
73
|
| SDKValidationError
|
|
78
74
|
| UnexpectedClientError
|
|
@@ -126,6 +122,7 @@ async function $do(
|
|
|
126
122
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
127
123
|
|
|
128
124
|
const context = {
|
|
125
|
+
options: client._options,
|
|
129
126
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
130
127
|
operationID: "SubscribersController_getSubscriber",
|
|
131
128
|
oAuth2Scopes: [],
|
|
@@ -156,6 +153,7 @@ async function $do(
|
|
|
156
153
|
path: path,
|
|
157
154
|
headers: headers,
|
|
158
155
|
body: body,
|
|
156
|
+
userAgent: client._options.userAgent,
|
|
159
157
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
160
158
|
}, options);
|
|
161
159
|
if (!requestRes.ok) {
|
|
@@ -197,9 +195,7 @@ async function $do(
|
|
|
197
195
|
const [result] = await M.match<
|
|
198
196
|
operations.SubscribersControllerGetSubscriberResponse,
|
|
199
197
|
| errors.ErrorDto
|
|
200
|
-
| errors.ErrorDto
|
|
201
198
|
| errors.ValidationErrorDto
|
|
202
|
-
| errors.ErrorDto
|
|
203
199
|
| SDKError
|
|
204
200
|
| SDKValidationError
|
|
205
201
|
| UnexpectedClientError
|
|
@@ -39,9 +39,7 @@ export function subscribersSearch(
|
|
|
39
39
|
Result<
|
|
40
40
|
operations.SubscribersControllerSearchSubscribersResponse,
|
|
41
41
|
| errors.ErrorDto
|
|
42
|
-
| errors.ErrorDto
|
|
43
42
|
| errors.ValidationErrorDto
|
|
44
|
-
| errors.ErrorDto
|
|
45
43
|
| SDKError
|
|
46
44
|
| SDKValidationError
|
|
47
45
|
| UnexpectedClientError
|
|
@@ -67,9 +65,7 @@ async function $do(
|
|
|
67
65
|
Result<
|
|
68
66
|
operations.SubscribersControllerSearchSubscribersResponse,
|
|
69
67
|
| errors.ErrorDto
|
|
70
|
-
| errors.ErrorDto
|
|
71
68
|
| errors.ValidationErrorDto
|
|
72
|
-
| errors.ErrorDto
|
|
73
69
|
| SDKError
|
|
74
70
|
| SDKValidationError
|
|
75
71
|
| UnexpectedClientError
|
|
@@ -123,6 +119,7 @@ async function $do(
|
|
|
123
119
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
124
120
|
|
|
125
121
|
const context = {
|
|
122
|
+
options: client._options,
|
|
126
123
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
127
124
|
operationID: "SubscribersController_searchSubscribers",
|
|
128
125
|
oAuth2Scopes: [],
|
|
@@ -154,6 +151,7 @@ async function $do(
|
|
|
154
151
|
headers: headers,
|
|
155
152
|
query: query,
|
|
156
153
|
body: body,
|
|
154
|
+
userAgent: client._options.userAgent,
|
|
157
155
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
158
156
|
}, options);
|
|
159
157
|
if (!requestRes.ok) {
|
|
@@ -195,9 +193,7 @@ async function $do(
|
|
|
195
193
|
const [result] = await M.match<
|
|
196
194
|
operations.SubscribersControllerSearchSubscribersResponse,
|
|
197
195
|
| errors.ErrorDto
|
|
198
|
-
| errors.ErrorDto
|
|
199
196
|
| errors.ValidationErrorDto
|
|
200
|
-
| errors.ErrorDto
|
|
201
197
|
| SDKError
|
|
202
198
|
| SDKValidationError
|
|
203
199
|
| UnexpectedClientError
|
|
@@ -39,9 +39,7 @@ export function subscribersTopicsList(
|
|
|
39
39
|
Result<
|
|
40
40
|
operations.SubscribersControllerListSubscriberTopicsResponse,
|
|
41
41
|
| errors.ErrorDto
|
|
42
|
-
| errors.ErrorDto
|
|
43
42
|
| errors.ValidationErrorDto
|
|
44
|
-
| errors.ErrorDto
|
|
45
43
|
| SDKError
|
|
46
44
|
| SDKValidationError
|
|
47
45
|
| UnexpectedClientError
|
|
@@ -67,9 +65,7 @@ async function $do(
|
|
|
67
65
|
Result<
|
|
68
66
|
operations.SubscribersControllerListSubscriberTopicsResponse,
|
|
69
67
|
| errors.ErrorDto
|
|
70
|
-
| errors.ErrorDto
|
|
71
68
|
| errors.ValidationErrorDto
|
|
72
|
-
| errors.ErrorDto
|
|
73
69
|
| SDKError
|
|
74
70
|
| SDKValidationError
|
|
75
71
|
| UnexpectedClientError
|
|
@@ -129,6 +125,7 @@ async function $do(
|
|
|
129
125
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
130
126
|
|
|
131
127
|
const context = {
|
|
128
|
+
options: client._options,
|
|
132
129
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
133
130
|
operationID: "SubscribersController_listSubscriberTopics",
|
|
134
131
|
oAuth2Scopes: [],
|
|
@@ -160,6 +157,7 @@ async function $do(
|
|
|
160
157
|
headers: headers,
|
|
161
158
|
query: query,
|
|
162
159
|
body: body,
|
|
160
|
+
userAgent: client._options.userAgent,
|
|
163
161
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
164
162
|
}, options);
|
|
165
163
|
if (!requestRes.ok) {
|
|
@@ -201,9 +199,7 @@ async function $do(
|
|
|
201
199
|
const [result] = await M.match<
|
|
202
200
|
operations.SubscribersControllerListSubscriberTopicsResponse,
|
|
203
201
|
| errors.ErrorDto
|
|
204
|
-
| errors.ErrorDto
|
|
205
202
|
| errors.ValidationErrorDto
|
|
206
|
-
| errors.ErrorDto
|
|
207
203
|
| SDKError
|
|
208
204
|
| SDKValidationError
|
|
209
205
|
| UnexpectedClientError
|
|
@@ -40,9 +40,7 @@ export function topicsCreate(
|
|
|
40
40
|
Result<
|
|
41
41
|
operations.TopicsControllerUpsertTopicResponse,
|
|
42
42
|
| errors.ErrorDto
|
|
43
|
-
| errors.ErrorDto
|
|
44
43
|
| errors.ValidationErrorDto
|
|
45
|
-
| errors.ErrorDto
|
|
46
44
|
| SDKError
|
|
47
45
|
| SDKValidationError
|
|
48
46
|
| UnexpectedClientError
|
|
@@ -70,9 +68,7 @@ async function $do(
|
|
|
70
68
|
Result<
|
|
71
69
|
operations.TopicsControllerUpsertTopicResponse,
|
|
72
70
|
| errors.ErrorDto
|
|
73
|
-
| errors.ErrorDto
|
|
74
71
|
| errors.ValidationErrorDto
|
|
75
|
-
| errors.ErrorDto
|
|
76
72
|
| SDKError
|
|
77
73
|
| SDKValidationError
|
|
78
74
|
| UnexpectedClientError
|
|
@@ -120,6 +116,7 @@ async function $do(
|
|
|
120
116
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
121
117
|
|
|
122
118
|
const context = {
|
|
119
|
+
options: client._options,
|
|
123
120
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
124
121
|
operationID: "TopicsController_upsertTopic",
|
|
125
122
|
oAuth2Scopes: [],
|
|
@@ -150,6 +147,7 @@ async function $do(
|
|
|
150
147
|
path: path,
|
|
151
148
|
headers: headers,
|
|
152
149
|
body: body,
|
|
150
|
+
userAgent: client._options.userAgent,
|
|
153
151
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
154
152
|
}, options);
|
|
155
153
|
if (!requestRes.ok) {
|
|
@@ -191,9 +189,7 @@ async function $do(
|
|
|
191
189
|
const [result] = await M.match<
|
|
192
190
|
operations.TopicsControllerUpsertTopicResponse,
|
|
193
191
|
| errors.ErrorDto
|
|
194
|
-
| errors.ErrorDto
|
|
195
192
|
| errors.ValidationErrorDto
|
|
196
|
-
| errors.ErrorDto
|
|
197
193
|
| SDKError
|
|
198
194
|
| SDKValidationError
|
|
199
195
|
| UnexpectedClientError
|
|
@@ -40,9 +40,7 @@ export function topicsDelete(
|
|
|
40
40
|
Result<
|
|
41
41
|
operations.TopicsControllerDeleteTopicResponse,
|
|
42
42
|
| errors.ErrorDto
|
|
43
|
-
| errors.ErrorDto
|
|
44
43
|
| errors.ValidationErrorDto
|
|
45
|
-
| errors.ErrorDto
|
|
46
44
|
| SDKError
|
|
47
45
|
| SDKValidationError
|
|
48
46
|
| UnexpectedClientError
|
|
@@ -70,9 +68,7 @@ async function $do(
|
|
|
70
68
|
Result<
|
|
71
69
|
operations.TopicsControllerDeleteTopicResponse,
|
|
72
70
|
| errors.ErrorDto
|
|
73
|
-
| errors.ErrorDto
|
|
74
71
|
| errors.ValidationErrorDto
|
|
75
|
-
| errors.ErrorDto
|
|
76
72
|
| SDKError
|
|
77
73
|
| SDKValidationError
|
|
78
74
|
| UnexpectedClientError
|
|
@@ -124,6 +120,7 @@ async function $do(
|
|
|
124
120
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
125
121
|
|
|
126
122
|
const context = {
|
|
123
|
+
options: client._options,
|
|
127
124
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
128
125
|
operationID: "TopicsController_deleteTopic",
|
|
129
126
|
oAuth2Scopes: [],
|
|
@@ -154,6 +151,7 @@ async function $do(
|
|
|
154
151
|
path: path,
|
|
155
152
|
headers: headers,
|
|
156
153
|
body: body,
|
|
154
|
+
userAgent: client._options.userAgent,
|
|
157
155
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
158
156
|
}, options);
|
|
159
157
|
if (!requestRes.ok) {
|
|
@@ -195,9 +193,7 @@ async function $do(
|
|
|
195
193
|
const [result] = await M.match<
|
|
196
194
|
operations.TopicsControllerDeleteTopicResponse,
|
|
197
195
|
| errors.ErrorDto
|
|
198
|
-
| errors.ErrorDto
|
|
199
196
|
| errors.ValidationErrorDto
|
|
200
|
-
| errors.ErrorDto
|
|
201
197
|
| SDKError
|
|
202
198
|
| SDKValidationError
|
|
203
199
|
| UnexpectedClientError
|
package/src/funcs/topicsGet.ts
CHANGED
|
@@ -39,9 +39,7 @@ export function topicsGet(
|
|
|
39
39
|
Result<
|
|
40
40
|
operations.TopicsControllerGetTopicResponse,
|
|
41
41
|
| errors.ErrorDto
|
|
42
|
-
| errors.ErrorDto
|
|
43
42
|
| errors.ValidationErrorDto
|
|
44
|
-
| errors.ErrorDto
|
|
45
43
|
| SDKError
|
|
46
44
|
| SDKValidationError
|
|
47
45
|
| UnexpectedClientError
|
|
@@ -69,9 +67,7 @@ async function $do(
|
|
|
69
67
|
Result<
|
|
70
68
|
operations.TopicsControllerGetTopicResponse,
|
|
71
69
|
| errors.ErrorDto
|
|
72
|
-
| errors.ErrorDto
|
|
73
70
|
| errors.ValidationErrorDto
|
|
74
|
-
| errors.ErrorDto
|
|
75
71
|
| SDKError
|
|
76
72
|
| SDKValidationError
|
|
77
73
|
| UnexpectedClientError
|
|
@@ -123,6 +119,7 @@ async function $do(
|
|
|
123
119
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
124
120
|
|
|
125
121
|
const context = {
|
|
122
|
+
options: client._options,
|
|
126
123
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
127
124
|
operationID: "TopicsController_getTopic",
|
|
128
125
|
oAuth2Scopes: [],
|
|
@@ -153,6 +150,7 @@ async function $do(
|
|
|
153
150
|
path: path,
|
|
154
151
|
headers: headers,
|
|
155
152
|
body: body,
|
|
153
|
+
userAgent: client._options.userAgent,
|
|
156
154
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
157
155
|
}, options);
|
|
158
156
|
if (!requestRes.ok) {
|
|
@@ -194,9 +192,7 @@ async function $do(
|
|
|
194
192
|
const [result] = await M.match<
|
|
195
193
|
operations.TopicsControllerGetTopicResponse,
|
|
196
194
|
| errors.ErrorDto
|
|
197
|
-
| errors.ErrorDto
|
|
198
195
|
| errors.ValidationErrorDto
|
|
199
|
-
| errors.ErrorDto
|
|
200
196
|
| SDKError
|
|
201
197
|
| SDKValidationError
|
|
202
198
|
| UnexpectedClientError
|
package/src/funcs/topicsList.ts
CHANGED
|
@@ -40,9 +40,7 @@ export function topicsList(
|
|
|
40
40
|
Result<
|
|
41
41
|
operations.TopicsControllerListTopicsResponse,
|
|
42
42
|
| errors.ErrorDto
|
|
43
|
-
| errors.ErrorDto
|
|
44
43
|
| errors.ValidationErrorDto
|
|
45
|
-
| errors.ErrorDto
|
|
46
44
|
| SDKError
|
|
47
45
|
| SDKValidationError
|
|
48
46
|
| UnexpectedClientError
|
|
@@ -68,9 +66,7 @@ async function $do(
|
|
|
68
66
|
Result<
|
|
69
67
|
operations.TopicsControllerListTopicsResponse,
|
|
70
68
|
| errors.ErrorDto
|
|
71
|
-
| errors.ErrorDto
|
|
72
69
|
| errors.ValidationErrorDto
|
|
73
|
-
| errors.ErrorDto
|
|
74
70
|
| SDKError
|
|
75
71
|
| SDKValidationError
|
|
76
72
|
| UnexpectedClientError
|
|
@@ -121,6 +117,7 @@ async function $do(
|
|
|
121
117
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
122
118
|
|
|
123
119
|
const context = {
|
|
120
|
+
options: client._options,
|
|
124
121
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
125
122
|
operationID: "TopicsController_listTopics",
|
|
126
123
|
oAuth2Scopes: [],
|
|
@@ -152,6 +149,7 @@ async function $do(
|
|
|
152
149
|
headers: headers,
|
|
153
150
|
query: query,
|
|
154
151
|
body: body,
|
|
152
|
+
userAgent: client._options.userAgent,
|
|
155
153
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
156
154
|
}, options);
|
|
157
155
|
if (!requestRes.ok) {
|
|
@@ -193,9 +191,7 @@ async function $do(
|
|
|
193
191
|
const [result] = await M.match<
|
|
194
192
|
operations.TopicsControllerListTopicsResponse,
|
|
195
193
|
| errors.ErrorDto
|
|
196
|
-
| errors.ErrorDto
|
|
197
194
|
| errors.ValidationErrorDto
|
|
198
|
-
| errors.ErrorDto
|
|
199
195
|
| SDKError
|
|
200
196
|
| SDKValidationError
|
|
201
197
|
| UnexpectedClientError
|
|
@@ -40,9 +40,7 @@ export function topicsSubscribersRetrieve(
|
|
|
40
40
|
Result<
|
|
41
41
|
operations.TopicsV1ControllerGetTopicSubscriberResponse,
|
|
42
42
|
| errors.ErrorDto
|
|
43
|
-
| errors.ErrorDto
|
|
44
43
|
| errors.ValidationErrorDto
|
|
45
|
-
| errors.ErrorDto
|
|
46
44
|
| SDKError
|
|
47
45
|
| SDKValidationError
|
|
48
46
|
| UnexpectedClientError
|
|
@@ -72,9 +70,7 @@ async function $do(
|
|
|
72
70
|
Result<
|
|
73
71
|
operations.TopicsV1ControllerGetTopicSubscriberResponse,
|
|
74
72
|
| errors.ErrorDto
|
|
75
|
-
| errors.ErrorDto
|
|
76
73
|
| errors.ValidationErrorDto
|
|
77
|
-
| errors.ErrorDto
|
|
78
74
|
| SDKError
|
|
79
75
|
| SDKValidationError
|
|
80
76
|
| UnexpectedClientError
|
|
@@ -135,6 +131,7 @@ async function $do(
|
|
|
135
131
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
136
132
|
|
|
137
133
|
const context = {
|
|
134
|
+
options: client._options,
|
|
138
135
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
139
136
|
operationID: "TopicsV1Controller_getTopicSubscriber",
|
|
140
137
|
oAuth2Scopes: [],
|
|
@@ -165,6 +162,7 @@ async function $do(
|
|
|
165
162
|
path: path,
|
|
166
163
|
headers: headers,
|
|
167
164
|
body: body,
|
|
165
|
+
userAgent: client._options.userAgent,
|
|
168
166
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
169
167
|
}, options);
|
|
170
168
|
if (!requestRes.ok) {
|
|
@@ -206,9 +204,7 @@ async function $do(
|
|
|
206
204
|
const [result] = await M.match<
|
|
207
205
|
operations.TopicsV1ControllerGetTopicSubscriberResponse,
|
|
208
206
|
| errors.ErrorDto
|
|
209
|
-
| errors.ErrorDto
|
|
210
207
|
| errors.ValidationErrorDto
|
|
211
|
-
| errors.ErrorDto
|
|
212
208
|
| SDKError
|
|
213
209
|
| SDKValidationError
|
|
214
210
|
| UnexpectedClientError
|
|
@@ -43,9 +43,7 @@ export function topicsSubscriptionsCreate(
|
|
|
43
43
|
Result<
|
|
44
44
|
operations.TopicsControllerCreateTopicSubscriptionsResponse,
|
|
45
45
|
| errors.ErrorDto
|
|
46
|
-
| errors.ErrorDto
|
|
47
46
|
| errors.ValidationErrorDto
|
|
48
|
-
| errors.ErrorDto
|
|
49
47
|
| SDKError
|
|
50
48
|
| SDKValidationError
|
|
51
49
|
| UnexpectedClientError
|
|
@@ -76,9 +74,7 @@ async function $do(
|
|
|
76
74
|
Result<
|
|
77
75
|
operations.TopicsControllerCreateTopicSubscriptionsResponse,
|
|
78
76
|
| errors.ErrorDto
|
|
79
|
-
| errors.ErrorDto
|
|
80
77
|
| errors.ValidationErrorDto
|
|
81
|
-
| errors.ErrorDto
|
|
82
78
|
| SDKError
|
|
83
79
|
| SDKValidationError
|
|
84
80
|
| UnexpectedClientError
|
|
@@ -135,6 +131,7 @@ async function $do(
|
|
|
135
131
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
136
132
|
|
|
137
133
|
const context = {
|
|
134
|
+
options: client._options,
|
|
138
135
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
139
136
|
operationID: "TopicsController_createTopicSubscriptions",
|
|
140
137
|
oAuth2Scopes: [],
|
|
@@ -165,6 +162,7 @@ async function $do(
|
|
|
165
162
|
path: path,
|
|
166
163
|
headers: headers,
|
|
167
164
|
body: body,
|
|
165
|
+
userAgent: client._options.userAgent,
|
|
168
166
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
169
167
|
}, options);
|
|
170
168
|
if (!requestRes.ok) {
|
|
@@ -206,9 +204,7 @@ async function $do(
|
|
|
206
204
|
const [result] = await M.match<
|
|
207
205
|
operations.TopicsControllerCreateTopicSubscriptionsResponse,
|
|
208
206
|
| errors.ErrorDto
|
|
209
|
-
| errors.ErrorDto
|
|
210
207
|
| errors.ValidationErrorDto
|
|
211
|
-
| errors.ErrorDto
|
|
212
208
|
| SDKError
|
|
213
209
|
| SDKValidationError
|
|
214
210
|
| UnexpectedClientError
|
|
@@ -42,9 +42,7 @@ export function topicsSubscriptionsDelete(
|
|
|
42
42
|
Result<
|
|
43
43
|
operations.TopicsControllerDeleteTopicSubscriptionsResponse,
|
|
44
44
|
| errors.ErrorDto
|
|
45
|
-
| errors.ErrorDto
|
|
46
45
|
| errors.ValidationErrorDto
|
|
47
|
-
| errors.ErrorDto
|
|
48
46
|
| SDKError
|
|
49
47
|
| SDKValidationError
|
|
50
48
|
| UnexpectedClientError
|
|
@@ -75,9 +73,7 @@ async function $do(
|
|
|
75
73
|
Result<
|
|
76
74
|
operations.TopicsControllerDeleteTopicSubscriptionsResponse,
|
|
77
75
|
| errors.ErrorDto
|
|
78
|
-
| errors.ErrorDto
|
|
79
76
|
| errors.ValidationErrorDto
|
|
80
|
-
| errors.ErrorDto
|
|
81
77
|
| SDKError
|
|
82
78
|
| SDKValidationError
|
|
83
79
|
| UnexpectedClientError
|
|
@@ -134,6 +130,7 @@ async function $do(
|
|
|
134
130
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
135
131
|
|
|
136
132
|
const context = {
|
|
133
|
+
options: client._options,
|
|
137
134
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
138
135
|
operationID: "TopicsController_deleteTopicSubscriptions",
|
|
139
136
|
oAuth2Scopes: [],
|
|
@@ -164,6 +161,7 @@ async function $do(
|
|
|
164
161
|
path: path,
|
|
165
162
|
headers: headers,
|
|
166
163
|
body: body,
|
|
164
|
+
userAgent: client._options.userAgent,
|
|
167
165
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
168
166
|
}, options);
|
|
169
167
|
if (!requestRes.ok) {
|
|
@@ -205,9 +203,7 @@ async function $do(
|
|
|
205
203
|
const [result] = await M.match<
|
|
206
204
|
operations.TopicsControllerDeleteTopicSubscriptionsResponse,
|
|
207
205
|
| errors.ErrorDto
|
|
208
|
-
| errors.ErrorDto
|
|
209
206
|
| errors.ValidationErrorDto
|
|
210
|
-
| errors.ErrorDto
|
|
211
207
|
| SDKError
|
|
212
208
|
| SDKValidationError
|
|
213
209
|
| UnexpectedClientError
|