@trycourier/courier 6.0.5 → 6.0.7
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/Client.js +1 -1
- package/api/resources/audiences/client/Client.js +5 -5
- package/api/resources/auditEvents/client/Client.js +2 -2
- package/api/resources/authTokens/client/Client.js +1 -1
- package/api/resources/automations/client/Client.js +2 -2
- package/api/resources/brands/client/Client.js +5 -5
- package/api/resources/bulk/client/Client.js +5 -5
- package/api/resources/{users/resources/tenants → commons}/types/UserTenantAssociation.d.ts +4 -1
- package/api/resources/commons/types/index.d.ts +1 -0
- package/api/resources/commons/types/index.js +1 -0
- package/api/resources/lists/client/Client.js +10 -10
- package/api/resources/messages/client/Client.js +6 -6
- package/api/resources/notifications/client/Client.js +8 -8
- package/api/resources/profiles/client/Client.js +7 -7
- package/api/resources/profiles/types/Intercom.d.ts +1 -1
- package/api/resources/profiles/types/{IntercomeRecipient.d.ts → IntercomRecipient.d.ts} +1 -1
- package/api/resources/profiles/types/MsTeams.d.ts +1 -1
- package/api/resources/profiles/types/{SendToMsTeamsUser.d.ts → MsTeamsBaseProperties.d.ts} +1 -2
- package/api/resources/profiles/types/SendToMsTeamsChannelId.d.ts +7 -0
- package/api/resources/profiles/types/SendToMsTeamsChannelName.d.ts +8 -0
- package/api/resources/profiles/types/SendToMsTeamsConversationId.d.ts +7 -0
- package/api/resources/profiles/types/SendToMsTeamsEmail.d.ts +7 -0
- package/api/resources/profiles/types/SendToMsTeamsUserId.d.ts +7 -0
- package/api/resources/profiles/types/SendToSlackChannel.d.ts +7 -0
- package/api/resources/profiles/types/SendToSlackChannel.js +5 -0
- package/api/resources/profiles/types/SendToSlackEmail.d.ts +7 -0
- package/api/resources/profiles/types/SendToSlackEmail.js +5 -0
- package/api/resources/profiles/types/SendToSlackUserId.d.ts +7 -0
- package/api/resources/profiles/types/SendToSlackUserId.js +5 -0
- package/api/resources/profiles/types/Slack.d.ts +5 -0
- package/api/resources/profiles/types/Slack.js +5 -0
- package/api/resources/profiles/types/SlackBaseProperties.d.ts +6 -0
- package/api/resources/profiles/types/SlackBaseProperties.js +5 -0
- package/api/resources/profiles/types/UserProfile.d.ts +1 -0
- package/api/resources/profiles/types/index.d.ts +12 -3
- package/api/resources/profiles/types/index.js +12 -3
- package/api/resources/send/types/MsTeamsRecipient.d.ts +7 -0
- package/api/resources/send/types/MsTeamsRecipient.js +5 -0
- package/api/resources/send/types/Recipient.d.ts +1 -1
- package/api/resources/send/types/SlackRecipient.d.ts +7 -0
- package/api/resources/send/types/SlackRecipient.js +5 -0
- package/api/resources/send/types/index.d.ts +2 -0
- package/api/resources/send/types/index.js +2 -0
- package/api/resources/templates/client/Client.js +1 -1
- package/api/resources/tenants/client/Client.d.ts +4 -0
- package/api/resources/tenants/client/Client.js +52 -4
- package/api/resources/tenants/types/ListUsersForTenantResponse.d.ts +23 -0
- package/api/resources/tenants/types/ListUsersForTenantResponse.js +5 -0
- package/api/resources/tenants/types/TenantListResponse.d.ts +2 -2
- package/api/resources/tenants/types/index.d.ts +1 -0
- package/api/resources/tenants/types/index.js +1 -0
- package/api/resources/translations/client/Client.js +2 -2
- package/api/resources/users/resources/preferences/client/Client.js +3 -3
- package/api/resources/users/resources/tenants/client/Client.js +4 -4
- package/api/resources/users/resources/tenants/client/requests/AddUserToMultipleTenantsParams.d.ts +1 -1
- package/api/resources/users/resources/tenants/types/ListTenantsForUserResponse.d.ts +1 -1
- package/api/resources/users/resources/tenants/types/index.d.ts +0 -1
- package/api/resources/users/resources/tenants/types/index.js +0 -1
- package/api/resources/users/resources/tokens/client/Client.js +5 -5
- package/dist/Client.js +1 -1
- package/dist/api/resources/audiences/client/Client.js +5 -5
- package/dist/api/resources/auditEvents/client/Client.js +2 -2
- package/dist/api/resources/authTokens/client/Client.js +1 -1
- package/dist/api/resources/automations/client/Client.js +2 -2
- package/dist/api/resources/brands/client/Client.js +5 -5
- package/dist/api/resources/bulk/client/Client.js +5 -5
- package/dist/api/resources/{users/resources/tenants → commons}/types/UserTenantAssociation.d.ts +4 -1
- package/dist/api/resources/commons/types/UserTenantAssociation.js +5 -0
- package/dist/api/resources/commons/types/index.d.ts +1 -0
- package/dist/api/resources/commons/types/index.js +1 -0
- package/dist/api/resources/lists/client/Client.js +10 -10
- package/dist/api/resources/messages/client/Client.js +6 -6
- package/dist/api/resources/notifications/client/Client.js +8 -8
- package/dist/api/resources/profiles/client/Client.js +7 -7
- package/dist/api/resources/profiles/types/Intercom.d.ts +1 -1
- package/dist/api/resources/profiles/types/{IntercomeRecipient.d.ts → IntercomRecipient.d.ts} +1 -1
- package/dist/api/resources/profiles/types/IntercomRecipient.js +5 -0
- package/dist/api/resources/profiles/types/MsTeams.d.ts +1 -1
- package/dist/api/resources/profiles/types/{SendToMsTeamsUser.d.ts → MsTeamsBaseProperties.d.ts} +1 -2
- package/dist/api/resources/profiles/types/MsTeamsBaseProperties.js +5 -0
- package/dist/api/resources/profiles/types/SendToMsTeamsChannelId.d.ts +7 -0
- package/dist/api/resources/profiles/types/SendToMsTeamsChannelId.js +5 -0
- package/dist/api/resources/profiles/types/SendToMsTeamsChannelName.d.ts +8 -0
- package/dist/api/resources/profiles/types/SendToMsTeamsChannelName.js +5 -0
- package/dist/api/resources/profiles/types/SendToMsTeamsConversationId.d.ts +7 -0
- package/dist/api/resources/profiles/types/SendToMsTeamsConversationId.js +5 -0
- package/dist/api/resources/profiles/types/SendToMsTeamsEmail.d.ts +7 -0
- package/dist/api/resources/profiles/types/SendToMsTeamsEmail.js +5 -0
- package/dist/api/resources/profiles/types/SendToMsTeamsUserId.d.ts +7 -0
- package/dist/api/resources/profiles/types/SendToMsTeamsUserId.js +5 -0
- package/dist/api/resources/profiles/types/SendToSlackChannel.d.ts +7 -0
- package/dist/api/resources/profiles/types/SendToSlackChannel.js +5 -0
- package/dist/api/resources/profiles/types/SendToSlackEmail.d.ts +7 -0
- package/dist/api/resources/profiles/types/SendToSlackEmail.js +5 -0
- package/dist/api/resources/profiles/types/SendToSlackUserId.d.ts +7 -0
- package/dist/api/resources/profiles/types/SendToSlackUserId.js +5 -0
- package/dist/api/resources/profiles/types/Slack.d.ts +5 -0
- package/dist/api/resources/profiles/types/Slack.js +5 -0
- package/dist/api/resources/profiles/types/SlackBaseProperties.d.ts +6 -0
- package/dist/api/resources/profiles/types/SlackBaseProperties.js +5 -0
- package/dist/api/resources/profiles/types/UserProfile.d.ts +1 -0
- package/dist/api/resources/profiles/types/index.d.ts +12 -3
- package/dist/api/resources/profiles/types/index.js +12 -3
- package/dist/api/resources/send/types/MsTeamsRecipient.d.ts +7 -0
- package/dist/api/resources/send/types/MsTeamsRecipient.js +5 -0
- package/dist/api/resources/send/types/Recipient.d.ts +1 -1
- package/dist/api/resources/send/types/SlackRecipient.d.ts +7 -0
- package/dist/api/resources/send/types/SlackRecipient.js +5 -0
- package/dist/api/resources/send/types/index.d.ts +2 -0
- package/dist/api/resources/send/types/index.js +2 -0
- package/dist/api/resources/templates/client/Client.js +1 -1
- package/dist/api/resources/tenants/client/Client.d.ts +4 -0
- package/dist/api/resources/tenants/client/Client.js +52 -4
- package/dist/api/resources/tenants/types/ListUsersForTenantResponse.d.ts +23 -0
- package/dist/api/resources/tenants/types/ListUsersForTenantResponse.js +5 -0
- package/dist/api/resources/tenants/types/TenantListResponse.d.ts +2 -2
- package/dist/api/resources/tenants/types/index.d.ts +1 -0
- package/dist/api/resources/tenants/types/index.js +1 -0
- package/dist/api/resources/translations/client/Client.js +2 -2
- package/dist/api/resources/users/resources/preferences/client/Client.js +3 -3
- package/dist/api/resources/users/resources/tenants/client/Client.js +4 -4
- package/dist/api/resources/users/resources/tenants/client/requests/AddUserToMultipleTenantsParams.d.ts +1 -1
- package/dist/api/resources/users/resources/tenants/types/ListTenantsForUserResponse.d.ts +1 -1
- package/dist/api/resources/users/resources/tenants/types/index.d.ts +0 -1
- package/dist/api/resources/users/resources/tenants/types/index.js +0 -1
- package/dist/api/resources/users/resources/tokens/client/Client.js +5 -5
- package/package.json +1 -1
- package/api/resources/profiles/types/SendToMsTeamsChannel.d.ts +0 -8
- package/dist/api/resources/profiles/types/SendToMsTeamsChannel.d.ts +0 -8
- /package/api/resources/{users/resources/tenants → commons}/types/UserTenantAssociation.js +0 -0
- /package/api/resources/profiles/types/{IntercomeRecipient.js → IntercomRecipient.js} +0 -0
- /package/api/resources/profiles/types/{SendToMsTeamsChannel.js → MsTeamsBaseProperties.js} +0 -0
- /package/api/resources/profiles/types/{SendToMsTeamsUser.js → SendToMsTeamsChannelId.js} +0 -0
- /package/{dist/api/resources/profiles/types/IntercomeRecipient.js → api/resources/profiles/types/SendToMsTeamsChannelName.js} +0 -0
- /package/{dist/api/resources/profiles/types/SendToMsTeamsChannel.js → api/resources/profiles/types/SendToMsTeamsConversationId.js} +0 -0
- /package/{dist/api/resources/profiles/types/SendToMsTeamsUser.js → api/resources/profiles/types/SendToMsTeamsEmail.js} +0 -0
- /package/{dist/api/resources/users/resources/tenants/types/UserTenantAssociation.js → api/resources/profiles/types/SendToMsTeamsUserId.js} +0 -0
|
@@ -61,7 +61,7 @@ class Bulk {
|
|
|
61
61
|
Authorization: yield this._getAuthorizationHeader(),
|
|
62
62
|
"X-Fern-Language": "JavaScript",
|
|
63
63
|
"X-Fern-SDK-Name": "@trycourier/courier",
|
|
64
|
-
"X-Fern-SDK-Version": "v6.0.
|
|
64
|
+
"X-Fern-SDK-Version": "v6.0.7",
|
|
65
65
|
"Idempotency-Key": (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.idempotencyKey) != null ? requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.idempotencyKey : undefined,
|
|
66
66
|
"X-Idempotency-Expiration": (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.idempotencyExpiry) != null
|
|
67
67
|
? requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.idempotencyExpiry.toString()
|
|
@@ -114,7 +114,7 @@ class Bulk {
|
|
|
114
114
|
Authorization: yield this._getAuthorizationHeader(),
|
|
115
115
|
"X-Fern-Language": "JavaScript",
|
|
116
116
|
"X-Fern-SDK-Name": "@trycourier/courier",
|
|
117
|
-
"X-Fern-SDK-Version": "v6.0.
|
|
117
|
+
"X-Fern-SDK-Version": "v6.0.7",
|
|
118
118
|
"Idempotency-Key": (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.idempotencyKey) != null ? requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.idempotencyKey : undefined,
|
|
119
119
|
"X-Idempotency-Expiration": (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.idempotencyExpiry) != null
|
|
120
120
|
? requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.idempotencyExpiry.toString()
|
|
@@ -163,7 +163,7 @@ class Bulk {
|
|
|
163
163
|
Authorization: yield this._getAuthorizationHeader(),
|
|
164
164
|
"X-Fern-Language": "JavaScript",
|
|
165
165
|
"X-Fern-SDK-Name": "@trycourier/courier",
|
|
166
|
-
"X-Fern-SDK-Version": "v6.0.
|
|
166
|
+
"X-Fern-SDK-Version": "v6.0.7",
|
|
167
167
|
"Idempotency-Key": (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.idempotencyKey) != null ? requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.idempotencyKey : undefined,
|
|
168
168
|
"X-Idempotency-Expiration": (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.idempotencyExpiry) != null
|
|
169
169
|
? requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.idempotencyExpiry.toString()
|
|
@@ -216,7 +216,7 @@ class Bulk {
|
|
|
216
216
|
Authorization: yield this._getAuthorizationHeader(),
|
|
217
217
|
"X-Fern-Language": "JavaScript",
|
|
218
218
|
"X-Fern-SDK-Name": "@trycourier/courier",
|
|
219
|
-
"X-Fern-SDK-Version": "v6.0.
|
|
219
|
+
"X-Fern-SDK-Version": "v6.0.7",
|
|
220
220
|
},
|
|
221
221
|
contentType: "application/json",
|
|
222
222
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -265,7 +265,7 @@ class Bulk {
|
|
|
265
265
|
Authorization: yield this._getAuthorizationHeader(),
|
|
266
266
|
"X-Fern-Language": "JavaScript",
|
|
267
267
|
"X-Fern-SDK-Name": "@trycourier/courier",
|
|
268
|
-
"X-Fern-SDK-Version": "v6.0.
|
|
268
|
+
"X-Fern-SDK-Version": "v6.0.7",
|
|
269
269
|
},
|
|
270
270
|
contentType: "application/json",
|
|
271
271
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
package/dist/api/resources/{users/resources/tenants → commons}/types/UserTenantAssociation.d.ts
RENAMED
|
@@ -2,7 +2,10 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
export interface UserTenantAssociation {
|
|
5
|
-
/**
|
|
5
|
+
/** User ID for the assocation between tenant and user */
|
|
6
|
+
user_id: string;
|
|
7
|
+
type: "user";
|
|
8
|
+
/** Tenant ID for the assocation between tenant and user */
|
|
6
9
|
tenant_id: string;
|
|
7
10
|
profile: Record<string, any>;
|
|
8
11
|
}
|
|
@@ -30,3 +30,4 @@ __exportStar(require("./NotificationPreferences"), exports);
|
|
|
30
30
|
__exportStar(require("./NotificationPreferenceDetails"), exports);
|
|
31
31
|
__exportStar(require("./RecipientPreferences"), exports);
|
|
32
32
|
__exportStar(require("./Email"), exports);
|
|
33
|
+
__exportStar(require("./UserTenantAssociation"), exports);
|
|
@@ -70,7 +70,7 @@ class Lists {
|
|
|
70
70
|
Authorization: yield this._getAuthorizationHeader(),
|
|
71
71
|
"X-Fern-Language": "JavaScript",
|
|
72
72
|
"X-Fern-SDK-Name": "@trycourier/courier",
|
|
73
|
-
"X-Fern-SDK-Version": "v6.0.
|
|
73
|
+
"X-Fern-SDK-Version": "v6.0.7",
|
|
74
74
|
},
|
|
75
75
|
contentType: "application/json",
|
|
76
76
|
queryParameters: _queryParams,
|
|
@@ -128,7 +128,7 @@ class Lists {
|
|
|
128
128
|
Authorization: yield this._getAuthorizationHeader(),
|
|
129
129
|
"X-Fern-Language": "JavaScript",
|
|
130
130
|
"X-Fern-SDK-Name": "@trycourier/courier",
|
|
131
|
-
"X-Fern-SDK-Version": "v6.0.
|
|
131
|
+
"X-Fern-SDK-Version": "v6.0.7",
|
|
132
132
|
},
|
|
133
133
|
contentType: "application/json",
|
|
134
134
|
queryParameters: _queryParams,
|
|
@@ -177,7 +177,7 @@ class Lists {
|
|
|
177
177
|
Authorization: yield this._getAuthorizationHeader(),
|
|
178
178
|
"X-Fern-Language": "JavaScript",
|
|
179
179
|
"X-Fern-SDK-Name": "@trycourier/courier",
|
|
180
|
-
"X-Fern-SDK-Version": "v6.0.
|
|
180
|
+
"X-Fern-SDK-Version": "v6.0.7",
|
|
181
181
|
},
|
|
182
182
|
contentType: "application/json",
|
|
183
183
|
body: request,
|
|
@@ -221,7 +221,7 @@ class Lists {
|
|
|
221
221
|
Authorization: yield this._getAuthorizationHeader(),
|
|
222
222
|
"X-Fern-Language": "JavaScript",
|
|
223
223
|
"X-Fern-SDK-Name": "@trycourier/courier",
|
|
224
|
-
"X-Fern-SDK-Version": "v6.0.
|
|
224
|
+
"X-Fern-SDK-Version": "v6.0.7",
|
|
225
225
|
},
|
|
226
226
|
contentType: "application/json",
|
|
227
227
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -264,7 +264,7 @@ class Lists {
|
|
|
264
264
|
Authorization: yield this._getAuthorizationHeader(),
|
|
265
265
|
"X-Fern-Language": "JavaScript",
|
|
266
266
|
"X-Fern-SDK-Name": "@trycourier/courier",
|
|
267
|
-
"X-Fern-SDK-Version": "v6.0.
|
|
267
|
+
"X-Fern-SDK-Version": "v6.0.7",
|
|
268
268
|
},
|
|
269
269
|
contentType: "application/json",
|
|
270
270
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -313,7 +313,7 @@ class Lists {
|
|
|
313
313
|
Authorization: yield this._getAuthorizationHeader(),
|
|
314
314
|
"X-Fern-Language": "JavaScript",
|
|
315
315
|
"X-Fern-SDK-Name": "@trycourier/courier",
|
|
316
|
-
"X-Fern-SDK-Version": "v6.0.
|
|
316
|
+
"X-Fern-SDK-Version": "v6.0.7",
|
|
317
317
|
},
|
|
318
318
|
contentType: "application/json",
|
|
319
319
|
queryParameters: _queryParams,
|
|
@@ -363,7 +363,7 @@ class Lists {
|
|
|
363
363
|
Authorization: yield this._getAuthorizationHeader(),
|
|
364
364
|
"X-Fern-Language": "JavaScript",
|
|
365
365
|
"X-Fern-SDK-Name": "@trycourier/courier",
|
|
366
|
-
"X-Fern-SDK-Version": "v6.0.
|
|
366
|
+
"X-Fern-SDK-Version": "v6.0.7",
|
|
367
367
|
},
|
|
368
368
|
contentType: "application/json",
|
|
369
369
|
body: request,
|
|
@@ -413,7 +413,7 @@ class Lists {
|
|
|
413
413
|
Authorization: yield this._getAuthorizationHeader(),
|
|
414
414
|
"X-Fern-Language": "JavaScript",
|
|
415
415
|
"X-Fern-SDK-Name": "@trycourier/courier",
|
|
416
|
-
"X-Fern-SDK-Version": "v6.0.
|
|
416
|
+
"X-Fern-SDK-Version": "v6.0.7",
|
|
417
417
|
"Idempotency-Key": (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.idempotencyKey) != null ? requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.idempotencyKey : undefined,
|
|
418
418
|
"X-Idempotency-Expiration": (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.idempotencyExpiry) != null
|
|
419
419
|
? requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.idempotencyExpiry.toString()
|
|
@@ -466,7 +466,7 @@ class Lists {
|
|
|
466
466
|
Authorization: yield this._getAuthorizationHeader(),
|
|
467
467
|
"X-Fern-Language": "JavaScript",
|
|
468
468
|
"X-Fern-SDK-Name": "@trycourier/courier",
|
|
469
|
-
"X-Fern-SDK-Version": "v6.0.
|
|
469
|
+
"X-Fern-SDK-Version": "v6.0.7",
|
|
470
470
|
},
|
|
471
471
|
contentType: "application/json",
|
|
472
472
|
body: request,
|
|
@@ -511,7 +511,7 @@ class Lists {
|
|
|
511
511
|
Authorization: yield this._getAuthorizationHeader(),
|
|
512
512
|
"X-Fern-Language": "JavaScript",
|
|
513
513
|
"X-Fern-SDK-Name": "@trycourier/courier",
|
|
514
|
-
"X-Fern-SDK-Version": "v6.0.
|
|
514
|
+
"X-Fern-SDK-Version": "v6.0.7",
|
|
515
515
|
},
|
|
516
516
|
contentType: "application/json",
|
|
517
517
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -96,7 +96,7 @@ class Messages {
|
|
|
96
96
|
Authorization: yield this._getAuthorizationHeader(),
|
|
97
97
|
"X-Fern-Language": "JavaScript",
|
|
98
98
|
"X-Fern-SDK-Name": "@trycourier/courier",
|
|
99
|
-
"X-Fern-SDK-Version": "v6.0.
|
|
99
|
+
"X-Fern-SDK-Version": "v6.0.7",
|
|
100
100
|
},
|
|
101
101
|
contentType: "application/json",
|
|
102
102
|
queryParameters: _queryParams,
|
|
@@ -142,7 +142,7 @@ class Messages {
|
|
|
142
142
|
Authorization: yield this._getAuthorizationHeader(),
|
|
143
143
|
"X-Fern-Language": "JavaScript",
|
|
144
144
|
"X-Fern-SDK-Name": "@trycourier/courier",
|
|
145
|
-
"X-Fern-SDK-Version": "v6.0.
|
|
145
|
+
"X-Fern-SDK-Version": "v6.0.7",
|
|
146
146
|
},
|
|
147
147
|
contentType: "application/json",
|
|
148
148
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -192,7 +192,7 @@ class Messages {
|
|
|
192
192
|
Authorization: yield this._getAuthorizationHeader(),
|
|
193
193
|
"X-Fern-Language": "JavaScript",
|
|
194
194
|
"X-Fern-SDK-Name": "@trycourier/courier",
|
|
195
|
-
"X-Fern-SDK-Version": "v6.0.
|
|
195
|
+
"X-Fern-SDK-Version": "v6.0.7",
|
|
196
196
|
"Idempotency-Key": (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.idempotencyKey) != null ? requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.idempotencyKey : undefined,
|
|
197
197
|
"X-Idempotency-Expiration": (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.idempotencyExpiry) != null
|
|
198
198
|
? requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.idempotencyExpiry.toString()
|
|
@@ -246,7 +246,7 @@ class Messages {
|
|
|
246
246
|
Authorization: yield this._getAuthorizationHeader(),
|
|
247
247
|
"X-Fern-Language": "JavaScript",
|
|
248
248
|
"X-Fern-SDK-Name": "@trycourier/courier",
|
|
249
|
-
"X-Fern-SDK-Version": "v6.0.
|
|
249
|
+
"X-Fern-SDK-Version": "v6.0.7",
|
|
250
250
|
},
|
|
251
251
|
contentType: "application/json",
|
|
252
252
|
queryParameters: _queryParams,
|
|
@@ -298,7 +298,7 @@ class Messages {
|
|
|
298
298
|
Authorization: yield this._getAuthorizationHeader(),
|
|
299
299
|
"X-Fern-Language": "JavaScript",
|
|
300
300
|
"X-Fern-SDK-Name": "@trycourier/courier",
|
|
301
|
-
"X-Fern-SDK-Version": "v6.0.
|
|
301
|
+
"X-Fern-SDK-Version": "v6.0.7",
|
|
302
302
|
},
|
|
303
303
|
contentType: "application/json",
|
|
304
304
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -345,7 +345,7 @@ class Messages {
|
|
|
345
345
|
Authorization: yield this._getAuthorizationHeader(),
|
|
346
346
|
"X-Fern-Language": "JavaScript",
|
|
347
347
|
"X-Fern-SDK-Name": "@trycourier/courier",
|
|
348
|
-
"X-Fern-SDK-Version": "v6.0.
|
|
348
|
+
"X-Fern-SDK-Version": "v6.0.7",
|
|
349
349
|
},
|
|
350
350
|
contentType: "application/json",
|
|
351
351
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -62,7 +62,7 @@ class Notifications {
|
|
|
62
62
|
Authorization: yield this._getAuthorizationHeader(),
|
|
63
63
|
"X-Fern-Language": "JavaScript",
|
|
64
64
|
"X-Fern-SDK-Name": "@trycourier/courier",
|
|
65
|
-
"X-Fern-SDK-Version": "v6.0.
|
|
65
|
+
"X-Fern-SDK-Version": "v6.0.7",
|
|
66
66
|
},
|
|
67
67
|
contentType: "application/json",
|
|
68
68
|
queryParameters: _queryParams,
|
|
@@ -103,7 +103,7 @@ class Notifications {
|
|
|
103
103
|
Authorization: yield this._getAuthorizationHeader(),
|
|
104
104
|
"X-Fern-Language": "JavaScript",
|
|
105
105
|
"X-Fern-SDK-Name": "@trycourier/courier",
|
|
106
|
-
"X-Fern-SDK-Version": "v6.0.
|
|
106
|
+
"X-Fern-SDK-Version": "v6.0.7",
|
|
107
107
|
},
|
|
108
108
|
contentType: "application/json",
|
|
109
109
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -143,7 +143,7 @@ class Notifications {
|
|
|
143
143
|
Authorization: yield this._getAuthorizationHeader(),
|
|
144
144
|
"X-Fern-Language": "JavaScript",
|
|
145
145
|
"X-Fern-SDK-Name": "@trycourier/courier",
|
|
146
|
-
"X-Fern-SDK-Version": "v6.0.
|
|
146
|
+
"X-Fern-SDK-Version": "v6.0.7",
|
|
147
147
|
},
|
|
148
148
|
contentType: "application/json",
|
|
149
149
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -183,7 +183,7 @@ class Notifications {
|
|
|
183
183
|
Authorization: yield this._getAuthorizationHeader(),
|
|
184
184
|
"X-Fern-Language": "JavaScript",
|
|
185
185
|
"X-Fern-SDK-Name": "@trycourier/courier",
|
|
186
|
-
"X-Fern-SDK-Version": "v6.0.
|
|
186
|
+
"X-Fern-SDK-Version": "v6.0.7",
|
|
187
187
|
},
|
|
188
188
|
contentType: "application/json",
|
|
189
189
|
body: request,
|
|
@@ -224,7 +224,7 @@ class Notifications {
|
|
|
224
224
|
Authorization: yield this._getAuthorizationHeader(),
|
|
225
225
|
"X-Fern-Language": "JavaScript",
|
|
226
226
|
"X-Fern-SDK-Name": "@trycourier/courier",
|
|
227
|
-
"X-Fern-SDK-Version": "v6.0.
|
|
227
|
+
"X-Fern-SDK-Version": "v6.0.7",
|
|
228
228
|
},
|
|
229
229
|
contentType: "application/json",
|
|
230
230
|
body: request,
|
|
@@ -265,7 +265,7 @@ class Notifications {
|
|
|
265
265
|
Authorization: yield this._getAuthorizationHeader(),
|
|
266
266
|
"X-Fern-Language": "JavaScript",
|
|
267
267
|
"X-Fern-SDK-Name": "@trycourier/courier",
|
|
268
|
-
"X-Fern-SDK-Version": "v6.0.
|
|
268
|
+
"X-Fern-SDK-Version": "v6.0.7",
|
|
269
269
|
},
|
|
270
270
|
contentType: "application/json",
|
|
271
271
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -305,7 +305,7 @@ class Notifications {
|
|
|
305
305
|
Authorization: yield this._getAuthorizationHeader(),
|
|
306
306
|
"X-Fern-Language": "JavaScript",
|
|
307
307
|
"X-Fern-SDK-Name": "@trycourier/courier",
|
|
308
|
-
"X-Fern-SDK-Version": "v6.0.
|
|
308
|
+
"X-Fern-SDK-Version": "v6.0.7",
|
|
309
309
|
},
|
|
310
310
|
contentType: "application/json",
|
|
311
311
|
body: request,
|
|
@@ -346,7 +346,7 @@ class Notifications {
|
|
|
346
346
|
Authorization: yield this._getAuthorizationHeader(),
|
|
347
347
|
"X-Fern-Language": "JavaScript",
|
|
348
348
|
"X-Fern-SDK-Name": "@trycourier/courier",
|
|
349
|
-
"X-Fern-SDK-Version": "v6.0.
|
|
349
|
+
"X-Fern-SDK-Version": "v6.0.7",
|
|
350
350
|
},
|
|
351
351
|
contentType: "application/json",
|
|
352
352
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -62,7 +62,7 @@ class Profiles {
|
|
|
62
62
|
Authorization: yield this._getAuthorizationHeader(),
|
|
63
63
|
"X-Fern-Language": "JavaScript",
|
|
64
64
|
"X-Fern-SDK-Name": "@trycourier/courier",
|
|
65
|
-
"X-Fern-SDK-Version": "v6.0.
|
|
65
|
+
"X-Fern-SDK-Version": "v6.0.7",
|
|
66
66
|
},
|
|
67
67
|
contentType: "application/json",
|
|
68
68
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -111,7 +111,7 @@ class Profiles {
|
|
|
111
111
|
Authorization: yield this._getAuthorizationHeader(),
|
|
112
112
|
"X-Fern-Language": "JavaScript",
|
|
113
113
|
"X-Fern-SDK-Name": "@trycourier/courier",
|
|
114
|
-
"X-Fern-SDK-Version": "v6.0.
|
|
114
|
+
"X-Fern-SDK-Version": "v6.0.7",
|
|
115
115
|
"Idempotency-Key": (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.idempotencyKey) != null ? requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.idempotencyKey : undefined,
|
|
116
116
|
"X-Idempotency-Expiration": (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.idempotencyExpiry) != null
|
|
117
117
|
? requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.idempotencyExpiry.toString()
|
|
@@ -168,7 +168,7 @@ class Profiles {
|
|
|
168
168
|
Authorization: yield this._getAuthorizationHeader(),
|
|
169
169
|
"X-Fern-Language": "JavaScript",
|
|
170
170
|
"X-Fern-SDK-Name": "@trycourier/courier",
|
|
171
|
-
"X-Fern-SDK-Version": "v6.0.
|
|
171
|
+
"X-Fern-SDK-Version": "v6.0.7",
|
|
172
172
|
},
|
|
173
173
|
contentType: "application/json",
|
|
174
174
|
body: request,
|
|
@@ -218,7 +218,7 @@ class Profiles {
|
|
|
218
218
|
Authorization: yield this._getAuthorizationHeader(),
|
|
219
219
|
"X-Fern-Language": "JavaScript",
|
|
220
220
|
"X-Fern-SDK-Name": "@trycourier/courier",
|
|
221
|
-
"X-Fern-SDK-Version": "v6.0.
|
|
221
|
+
"X-Fern-SDK-Version": "v6.0.7",
|
|
222
222
|
},
|
|
223
223
|
contentType: "application/json",
|
|
224
224
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -272,7 +272,7 @@ class Profiles {
|
|
|
272
272
|
Authorization: yield this._getAuthorizationHeader(),
|
|
273
273
|
"X-Fern-Language": "JavaScript",
|
|
274
274
|
"X-Fern-SDK-Name": "@trycourier/courier",
|
|
275
|
-
"X-Fern-SDK-Version": "v6.0.
|
|
275
|
+
"X-Fern-SDK-Version": "v6.0.7",
|
|
276
276
|
},
|
|
277
277
|
contentType: "application/json",
|
|
278
278
|
queryParameters: _queryParams,
|
|
@@ -322,7 +322,7 @@ class Profiles {
|
|
|
322
322
|
Authorization: yield this._getAuthorizationHeader(),
|
|
323
323
|
"X-Fern-Language": "JavaScript",
|
|
324
324
|
"X-Fern-SDK-Name": "@trycourier/courier",
|
|
325
|
-
"X-Fern-SDK-Version": "v6.0.
|
|
325
|
+
"X-Fern-SDK-Version": "v6.0.7",
|
|
326
326
|
"Idempotency-Key": (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.idempotencyKey) != null ? requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.idempotencyKey : undefined,
|
|
327
327
|
"X-Idempotency-Expiration": (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.idempotencyExpiry) != null
|
|
328
328
|
? requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.idempotencyExpiry.toString()
|
|
@@ -376,7 +376,7 @@ class Profiles {
|
|
|
376
376
|
Authorization: yield this._getAuthorizationHeader(),
|
|
377
377
|
"X-Fern-Language": "JavaScript",
|
|
378
378
|
"X-Fern-SDK-Name": "@trycourier/courier",
|
|
379
|
-
"X-Fern-SDK-Version": "v6.0.
|
|
379
|
+
"X-Fern-SDK-Version": "v6.0.7",
|
|
380
380
|
},
|
|
381
381
|
contentType: "application/json",
|
|
382
382
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as Courier from "../../..";
|
|
5
|
-
export declare type MsTeams = Courier.
|
|
5
|
+
export declare type MsTeams = Courier.SendToMsTeamsUserId | Courier.SendToMsTeamsEmail | Courier.SendToMsTeamsChannelId | Courier.SendToMsTeamsConversationId | Courier.SendToMsTeamsChannelName;
|
|
@@ -12,10 +12,19 @@ export * from "./Expo";
|
|
|
12
12
|
export * from "./Token";
|
|
13
13
|
export * from "./MultipleTokens";
|
|
14
14
|
export * from "./Intercom";
|
|
15
|
-
export * from "./
|
|
15
|
+
export * from "./IntercomRecipient";
|
|
16
|
+
export * from "./Slack";
|
|
17
|
+
export * from "./SlackBaseProperties";
|
|
18
|
+
export * from "./SendToSlackChannel";
|
|
19
|
+
export * from "./SendToSlackEmail";
|
|
20
|
+
export * from "./SendToSlackUserId";
|
|
16
21
|
export * from "./MsTeams";
|
|
17
|
-
export * from "./
|
|
18
|
-
export * from "./
|
|
22
|
+
export * from "./MsTeamsBaseProperties";
|
|
23
|
+
export * from "./SendToMsTeamsUserId";
|
|
24
|
+
export * from "./SendToMsTeamsEmail";
|
|
25
|
+
export * from "./SendToMsTeamsConversationId";
|
|
26
|
+
export * from "./SendToMsTeamsChannelId";
|
|
27
|
+
export * from "./SendToMsTeamsChannelName";
|
|
19
28
|
export * from "./ProfileGetParameters";
|
|
20
29
|
export * from "./ProfileGetResponse";
|
|
21
30
|
export * from "./MergeProfileResponse";
|
|
@@ -28,10 +28,19 @@ __exportStar(require("./Expo"), exports);
|
|
|
28
28
|
__exportStar(require("./Token"), exports);
|
|
29
29
|
__exportStar(require("./MultipleTokens"), exports);
|
|
30
30
|
__exportStar(require("./Intercom"), exports);
|
|
31
|
-
__exportStar(require("./
|
|
31
|
+
__exportStar(require("./IntercomRecipient"), exports);
|
|
32
|
+
__exportStar(require("./Slack"), exports);
|
|
33
|
+
__exportStar(require("./SlackBaseProperties"), exports);
|
|
34
|
+
__exportStar(require("./SendToSlackChannel"), exports);
|
|
35
|
+
__exportStar(require("./SendToSlackEmail"), exports);
|
|
36
|
+
__exportStar(require("./SendToSlackUserId"), exports);
|
|
32
37
|
__exportStar(require("./MsTeams"), exports);
|
|
33
|
-
__exportStar(require("./
|
|
34
|
-
__exportStar(require("./
|
|
38
|
+
__exportStar(require("./MsTeamsBaseProperties"), exports);
|
|
39
|
+
__exportStar(require("./SendToMsTeamsUserId"), exports);
|
|
40
|
+
__exportStar(require("./SendToMsTeamsEmail"), exports);
|
|
41
|
+
__exportStar(require("./SendToMsTeamsConversationId"), exports);
|
|
42
|
+
__exportStar(require("./SendToMsTeamsChannelId"), exports);
|
|
43
|
+
__exportStar(require("./SendToMsTeamsChannelName"), exports);
|
|
35
44
|
__exportStar(require("./ProfileGetParameters"), exports);
|
|
36
45
|
__exportStar(require("./ProfileGetResponse"), exports);
|
|
37
46
|
__exportStar(require("./MergeProfileResponse"), exports);
|