@trycourier/courier 6.1.3 → 6.2.2
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.d.ts +4 -0
- package/Client.js +23 -17
- package/api/client/requests/SendMessageRequest.d.ts +1 -0
- 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/inbound/client/Client.d.ts +43 -0
- package/api/resources/inbound/client/Client.js +134 -0
- package/api/resources/inbound/client/index.d.ts +1 -0
- package/api/resources/inbound/client/index.js +2 -0
- package/api/resources/inbound/index.d.ts +2 -0
- package/api/resources/inbound/index.js +18 -0
- package/api/resources/inbound/types/InboundTrackEvent.d.ts +13 -0
- package/api/resources/inbound/types/TrackAcceptedResponse.d.ts +7 -0
- package/api/resources/inbound/types/index.d.ts +2 -0
- package/api/resources/inbound/types/index.js +18 -0
- package/api/resources/index.d.ts +2 -0
- package/api/resources/index.js +3 -1
- package/api/resources/lists/client/Client.js +10 -10
- package/api/resources/messages/client/Client.js +6 -6
- package/api/resources/notifications/client/Client.d.ts +2 -61
- package/api/resources/notifications/client/Client.js +12 -152
- package/api/resources/notifications/client/requests/NotificationListParams.d.ts +6 -1
- package/api/resources/notifications/client/requests/index.d.ts +0 -2
- package/api/resources/notifications/types/Notification.d.ts +1 -0
- package/api/resources/profiles/client/Client.js +7 -7
- package/api/resources/profiles/types/Pagerduty.d.ts +9 -0
- package/api/resources/profiles/types/UserProfile.d.ts +1 -1
- package/api/resources/profiles/types/UserProfileFirebaseToken.d.ts +4 -0
- package/api/resources/profiles/types/WebhookAuthMode.d.ts +9 -0
- package/api/resources/profiles/types/WebhookAuthMode.js +11 -0
- package/api/resources/profiles/types/WebhookAuthentication.d.ts +14 -0
- package/api/resources/profiles/types/WebhookMethod.d.ts +8 -0
- package/api/resources/profiles/types/WebhookMethod.js +10 -0
- package/api/resources/profiles/types/WebhookProfile.d.ts +16 -0
- package/api/resources/profiles/types/WebhookProfileType.d.ts +8 -0
- package/api/resources/profiles/types/WebhookProfileType.js +10 -0
- package/api/resources/profiles/types/index.d.ts +7 -0
- package/api/resources/profiles/types/index.js +7 -0
- package/api/resources/send/types/BaseMessage.d.ts +1 -0
- package/api/resources/send/types/Channel.d.ts +1 -1
- package/api/resources/send/types/MessagePreferences.d.ts +7 -0
- package/api/resources/send/types/MessagePreferences.js +5 -0
- package/api/resources/send/types/PagerdutyRecipient.d.ts +7 -0
- package/api/resources/send/types/PagerdutyRecipient.js +5 -0
- package/api/resources/send/types/Recipient.d.ts +1 -1
- package/api/resources/send/types/WebhookRecipient.d.ts +7 -0
- package/api/resources/send/types/WebhookRecipient.js +5 -0
- package/api/resources/send/types/index.d.ts +3 -2
- package/api/resources/send/types/index.js +3 -2
- package/api/resources/templates/client/Client.js +1 -1
- package/api/resources/tenants/client/Client.js +7 -7
- 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/preferences/types/UserPreferencesListResponse.d.ts +1 -0
- package/api/resources/users/resources/tenants/client/Client.js +5 -5
- package/api/resources/users/resources/tokens/client/Client.js +6 -6
- package/dist/Client.d.ts +4 -0
- package/dist/Client.js +23 -17
- package/dist/api/client/requests/SendMessageRequest.d.ts +1 -0
- 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/inbound/client/Client.d.ts +43 -0
- package/dist/api/resources/inbound/client/Client.js +134 -0
- package/dist/api/resources/inbound/client/index.d.ts +1 -0
- package/dist/api/resources/inbound/client/index.js +2 -0
- package/dist/api/resources/inbound/index.d.ts +2 -0
- package/dist/api/resources/inbound/index.js +18 -0
- package/dist/api/resources/inbound/types/InboundTrackEvent.d.ts +13 -0
- package/dist/api/resources/inbound/types/InboundTrackEvent.js +5 -0
- package/dist/api/resources/inbound/types/TrackAcceptedResponse.d.ts +7 -0
- package/dist/api/resources/inbound/types/TrackAcceptedResponse.js +5 -0
- package/dist/api/resources/inbound/types/index.d.ts +2 -0
- package/dist/api/resources/inbound/types/index.js +18 -0
- package/dist/api/resources/index.d.ts +2 -0
- package/dist/api/resources/index.js +3 -1
- 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.d.ts +2 -61
- package/dist/api/resources/notifications/client/Client.js +12 -152
- package/dist/api/resources/notifications/client/requests/NotificationListParams.d.ts +6 -1
- package/dist/api/resources/notifications/client/requests/index.d.ts +0 -2
- package/dist/api/resources/notifications/types/Notification.d.ts +1 -0
- package/dist/api/resources/profiles/client/Client.js +7 -7
- package/dist/api/resources/profiles/types/Pagerduty.d.ts +9 -0
- package/dist/api/resources/profiles/types/Pagerduty.js +5 -0
- package/dist/api/resources/profiles/types/UserProfile.d.ts +1 -1
- package/dist/api/resources/profiles/types/UserProfileFirebaseToken.d.ts +4 -0
- package/dist/api/resources/profiles/types/UserProfileFirebaseToken.js +5 -0
- package/dist/api/resources/profiles/types/WebhookAuthMode.d.ts +9 -0
- package/dist/api/resources/profiles/types/WebhookAuthMode.js +11 -0
- package/dist/api/resources/profiles/types/WebhookAuthentication.d.ts +14 -0
- package/dist/api/resources/profiles/types/WebhookAuthentication.js +5 -0
- package/dist/api/resources/profiles/types/WebhookMethod.d.ts +8 -0
- package/dist/api/resources/profiles/types/WebhookMethod.js +10 -0
- package/dist/api/resources/profiles/types/WebhookProfile.d.ts +16 -0
- package/dist/api/resources/profiles/types/WebhookProfile.js +5 -0
- package/dist/api/resources/profiles/types/WebhookProfileType.d.ts +8 -0
- package/dist/api/resources/profiles/types/WebhookProfileType.js +10 -0
- package/dist/api/resources/profiles/types/index.d.ts +7 -0
- package/dist/api/resources/profiles/types/index.js +7 -0
- package/dist/api/resources/send/types/BaseMessage.d.ts +1 -0
- package/dist/api/resources/send/types/Channel.d.ts +1 -1
- package/dist/api/resources/send/types/MessagePreferences.d.ts +7 -0
- package/dist/api/resources/send/types/MessagePreferences.js +5 -0
- package/dist/api/resources/send/types/PagerdutyRecipient.d.ts +7 -0
- package/dist/api/resources/send/types/PagerdutyRecipient.js +5 -0
- package/dist/api/resources/send/types/Recipient.d.ts +1 -1
- package/dist/api/resources/send/types/WebhookRecipient.d.ts +7 -0
- package/dist/api/resources/send/types/WebhookRecipient.js +5 -0
- package/dist/api/resources/send/types/index.d.ts +3 -2
- package/dist/api/resources/send/types/index.js +3 -2
- package/dist/api/resources/templates/client/Client.js +1 -1
- package/dist/api/resources/tenants/client/Client.js +7 -7
- 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/preferences/types/UserPreferencesListResponse.d.ts +1 -0
- package/dist/api/resources/users/resources/tenants/client/Client.js +5 -5
- package/dist/api/resources/users/resources/tokens/client/Client.js +6 -6
- package/package.json +1 -1
- package/api/resources/notifications/client/requests/NotificationDraftUpdateVariationsParams.d.ts +0 -33
- package/api/resources/notifications/client/requests/NotificationUpdateVariationsParams.d.ts +0 -33
- package/api/resources/send/types/MessageChannelEmailOverride.d.ts +0 -16
- package/api/resources/send/types/Override.d.ts +0 -8
- package/api/resources/send/types/Override.js +0 -10
- package/dist/api/resources/notifications/client/requests/NotificationDraftUpdateVariationsParams.d.ts +0 -33
- package/dist/api/resources/notifications/client/requests/NotificationUpdateVariationsParams.d.ts +0 -33
- package/dist/api/resources/send/types/MessageChannelEmailOverride.d.ts +0 -16
- package/dist/api/resources/send/types/Override.d.ts +0 -8
- package/dist/api/resources/send/types/Override.js +0 -10
- /package/api/resources/{notifications/client/requests/NotificationDraftUpdateVariationsParams.js → inbound/types/InboundTrackEvent.js} +0 -0
- /package/api/resources/{notifications/client/requests/NotificationUpdateVariationsParams.js → inbound/types/TrackAcceptedResponse.js} +0 -0
- /package/api/resources/{send/types/MessageChannelEmailOverride.js → profiles/types/Pagerduty.js} +0 -0
- /package/{dist/api/resources/notifications/client/requests/NotificationDraftUpdateVariationsParams.js → api/resources/profiles/types/UserProfileFirebaseToken.js} +0 -0
- /package/{dist/api/resources/notifications/client/requests/NotificationUpdateVariationsParams.js → api/resources/profiles/types/WebhookAuthentication.js} +0 -0
- /package/{dist/api/resources/send/types/MessageChannelEmailOverride.js → api/resources/profiles/types/WebhookProfile.js} +0 -0
|
@@ -21,6 +21,8 @@ __exportStar(require("./BaseMessageSendTo"), exports);
|
|
|
21
21
|
__exportStar(require("./BaseMessage"), exports);
|
|
22
22
|
__exportStar(require("./MessageRecipient"), exports);
|
|
23
23
|
__exportStar(require("./Recipient"), exports);
|
|
24
|
+
__exportStar(require("./WebhookRecipient"), exports);
|
|
25
|
+
__exportStar(require("./PagerdutyRecipient"), exports);
|
|
24
26
|
__exportStar(require("./SlackRecipient"), exports);
|
|
25
27
|
__exportStar(require("./MsTeamsRecipient"), exports);
|
|
26
28
|
__exportStar(require("./AudienceRecipient"), exports);
|
|
@@ -49,8 +51,6 @@ __exportStar(require("./Timeout"), exports);
|
|
|
49
51
|
__exportStar(require("./Criteria"), exports);
|
|
50
52
|
__exportStar(require("./RoutingMethod"), exports);
|
|
51
53
|
__exportStar(require("./Timeouts"), exports);
|
|
52
|
-
__exportStar(require("./Override"), exports);
|
|
53
|
-
__exportStar(require("./MessageChannelEmailOverride"), exports);
|
|
54
54
|
__exportStar(require("./Attachment"), exports);
|
|
55
55
|
__exportStar(require("./MessageMetadata"), exports);
|
|
56
56
|
__exportStar(require("./Utm"), exports);
|
|
@@ -96,6 +96,7 @@ __exportStar(require("./Preferences"), exports);
|
|
|
96
96
|
__exportStar(require("./RoutingStrategyProvider"), exports);
|
|
97
97
|
__exportStar(require("./Metadata"), exports);
|
|
98
98
|
__exportStar(require("./RoutingStrategyChannel"), exports);
|
|
99
|
+
__exportStar(require("./MessagePreferences"), exports);
|
|
99
100
|
__exportStar(require("./MessageProviders"), exports);
|
|
100
101
|
__exportStar(require("./MessageProvidersType"), exports);
|
|
101
102
|
__exportStar(require("./RoutingChannel"), exports);
|
|
@@ -73,7 +73,7 @@ class Templates {
|
|
|
73
73
|
Authorization: yield this._getAuthorizationHeader(),
|
|
74
74
|
"X-Fern-Language": "JavaScript",
|
|
75
75
|
"X-Fern-SDK-Name": "@trycourier/courier",
|
|
76
|
-
"X-Fern-SDK-Version": "v6.
|
|
76
|
+
"X-Fern-SDK-Version": "v6.2.2",
|
|
77
77
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
78
78
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
79
79
|
},
|
|
@@ -85,7 +85,7 @@ class Tenants {
|
|
|
85
85
|
Authorization: yield this._getAuthorizationHeader(),
|
|
86
86
|
"X-Fern-Language": "JavaScript",
|
|
87
87
|
"X-Fern-SDK-Name": "@trycourier/courier",
|
|
88
|
-
"X-Fern-SDK-Version": "v6.
|
|
88
|
+
"X-Fern-SDK-Version": "v6.2.2",
|
|
89
89
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
90
90
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
91
91
|
},
|
|
@@ -142,7 +142,7 @@ class Tenants {
|
|
|
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.
|
|
145
|
+
"X-Fern-SDK-Version": "v6.2.2",
|
|
146
146
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
147
147
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
148
148
|
},
|
|
@@ -211,7 +211,7 @@ class Tenants {
|
|
|
211
211
|
Authorization: yield this._getAuthorizationHeader(),
|
|
212
212
|
"X-Fern-Language": "JavaScript",
|
|
213
213
|
"X-Fern-SDK-Name": "@trycourier/courier",
|
|
214
|
-
"X-Fern-SDK-Version": "v6.
|
|
214
|
+
"X-Fern-SDK-Version": "v6.2.2",
|
|
215
215
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
216
216
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
217
217
|
},
|
|
@@ -261,7 +261,7 @@ class Tenants {
|
|
|
261
261
|
Authorization: yield this._getAuthorizationHeader(),
|
|
262
262
|
"X-Fern-Language": "JavaScript",
|
|
263
263
|
"X-Fern-SDK-Name": "@trycourier/courier",
|
|
264
|
-
"X-Fern-SDK-Version": "v6.
|
|
264
|
+
"X-Fern-SDK-Version": "v6.2.2",
|
|
265
265
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
266
266
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
267
267
|
},
|
|
@@ -324,7 +324,7 @@ class Tenants {
|
|
|
324
324
|
Authorization: yield this._getAuthorizationHeader(),
|
|
325
325
|
"X-Fern-Language": "JavaScript",
|
|
326
326
|
"X-Fern-SDK-Name": "@trycourier/courier",
|
|
327
|
-
"X-Fern-SDK-Version": "v6.
|
|
327
|
+
"X-Fern-SDK-Version": "v6.2.2",
|
|
328
328
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
329
329
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
330
330
|
},
|
|
@@ -385,7 +385,7 @@ class Tenants {
|
|
|
385
385
|
Authorization: yield this._getAuthorizationHeader(),
|
|
386
386
|
"X-Fern-Language": "JavaScript",
|
|
387
387
|
"X-Fern-SDK-Name": "@trycourier/courier",
|
|
388
|
-
"X-Fern-SDK-Version": "v6.
|
|
388
|
+
"X-Fern-SDK-Version": "v6.2.2",
|
|
389
389
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
390
390
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
391
391
|
},
|
|
@@ -436,7 +436,7 @@ class Tenants {
|
|
|
436
436
|
Authorization: yield this._getAuthorizationHeader(),
|
|
437
437
|
"X-Fern-Language": "JavaScript",
|
|
438
438
|
"X-Fern-SDK-Name": "@trycourier/courier",
|
|
439
|
-
"X-Fern-SDK-Version": "v6.
|
|
439
|
+
"X-Fern-SDK-Version": "v6.2.2",
|
|
440
440
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
441
441
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
442
442
|
},
|
|
@@ -70,7 +70,7 @@ class Translations {
|
|
|
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.
|
|
73
|
+
"X-Fern-SDK-Version": "v6.2.2",
|
|
74
74
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
75
75
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
76
76
|
},
|
|
@@ -130,7 +130,7 @@ class Translations {
|
|
|
130
130
|
Authorization: yield this._getAuthorizationHeader(),
|
|
131
131
|
"X-Fern-Language": "JavaScript",
|
|
132
132
|
"X-Fern-SDK-Name": "@trycourier/courier",
|
|
133
|
-
"X-Fern-SDK-Version": "v6.
|
|
133
|
+
"X-Fern-SDK-Version": "v6.2.2",
|
|
134
134
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
135
135
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
136
136
|
},
|
|
@@ -69,7 +69,7 @@ class Preferences {
|
|
|
69
69
|
Authorization: yield this._getAuthorizationHeader(),
|
|
70
70
|
"X-Fern-Language": "JavaScript",
|
|
71
71
|
"X-Fern-SDK-Name": "@trycourier/courier",
|
|
72
|
-
"X-Fern-SDK-Version": "v6.
|
|
72
|
+
"X-Fern-SDK-Version": "v6.2.2",
|
|
73
73
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
74
74
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
75
75
|
},
|
|
@@ -128,7 +128,7 @@ class Preferences {
|
|
|
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.
|
|
131
|
+
"X-Fern-SDK-Version": "v6.2.2",
|
|
132
132
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
133
133
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
134
134
|
},
|
|
@@ -194,7 +194,7 @@ class Preferences {
|
|
|
194
194
|
Authorization: yield this._getAuthorizationHeader(),
|
|
195
195
|
"X-Fern-Language": "JavaScript",
|
|
196
196
|
"X-Fern-SDK-Name": "@trycourier/courier",
|
|
197
|
-
"X-Fern-SDK-Version": "v6.
|
|
197
|
+
"X-Fern-SDK-Version": "v6.2.2",
|
|
198
198
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
199
199
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
200
200
|
},
|
package/dist/api/resources/users/resources/preferences/types/UserPreferencesListResponse.d.ts
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as Courier from "../../../../../index";
|
|
5
5
|
export interface UserPreferencesListResponse {
|
|
6
|
+
/** Deprecated - Paging not implemented on this endpoint */
|
|
6
7
|
paging: Courier.Paging;
|
|
7
8
|
/** The Preferences associated with the user_id. */
|
|
8
9
|
items: Courier.users.TopicPreference[];
|
|
@@ -82,7 +82,7 @@ class Tenants {
|
|
|
82
82
|
Authorization: yield this._getAuthorizationHeader(),
|
|
83
83
|
"X-Fern-Language": "JavaScript",
|
|
84
84
|
"X-Fern-SDK-Name": "@trycourier/courier",
|
|
85
|
-
"X-Fern-SDK-Version": "v6.
|
|
85
|
+
"X-Fern-SDK-Version": "v6.2.2",
|
|
86
86
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
87
87
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
88
88
|
},
|
|
@@ -146,7 +146,7 @@ class Tenants {
|
|
|
146
146
|
Authorization: yield this._getAuthorizationHeader(),
|
|
147
147
|
"X-Fern-Language": "JavaScript",
|
|
148
148
|
"X-Fern-SDK-Name": "@trycourier/courier",
|
|
149
|
-
"X-Fern-SDK-Version": "v6.
|
|
149
|
+
"X-Fern-SDK-Version": "v6.2.2",
|
|
150
150
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
151
151
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
152
152
|
},
|
|
@@ -198,7 +198,7 @@ class Tenants {
|
|
|
198
198
|
Authorization: yield this._getAuthorizationHeader(),
|
|
199
199
|
"X-Fern-Language": "JavaScript",
|
|
200
200
|
"X-Fern-SDK-Name": "@trycourier/courier",
|
|
201
|
-
"X-Fern-SDK-Version": "v6.
|
|
201
|
+
"X-Fern-SDK-Version": "v6.2.2",
|
|
202
202
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
203
203
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
204
204
|
},
|
|
@@ -250,7 +250,7 @@ class Tenants {
|
|
|
250
250
|
Authorization: yield this._getAuthorizationHeader(),
|
|
251
251
|
"X-Fern-Language": "JavaScript",
|
|
252
252
|
"X-Fern-SDK-Name": "@trycourier/courier",
|
|
253
|
-
"X-Fern-SDK-Version": "v6.
|
|
253
|
+
"X-Fern-SDK-Version": "v6.2.2",
|
|
254
254
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
255
255
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
256
256
|
},
|
|
@@ -313,7 +313,7 @@ class Tenants {
|
|
|
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.
|
|
316
|
+
"X-Fern-SDK-Version": "v6.2.2",
|
|
317
317
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
318
318
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
319
319
|
},
|
|
@@ -69,7 +69,7 @@ class Tokens {
|
|
|
69
69
|
Authorization: yield this._getAuthorizationHeader(),
|
|
70
70
|
"X-Fern-Language": "JavaScript",
|
|
71
71
|
"X-Fern-SDK-Name": "@trycourier/courier",
|
|
72
|
-
"X-Fern-SDK-Version": "v6.
|
|
72
|
+
"X-Fern-SDK-Version": "v6.2.2",
|
|
73
73
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
74
74
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
75
75
|
},
|
|
@@ -150,7 +150,7 @@ class Tokens {
|
|
|
150
150
|
Authorization: yield this._getAuthorizationHeader(),
|
|
151
151
|
"X-Fern-Language": "JavaScript",
|
|
152
152
|
"X-Fern-SDK-Name": "@trycourier/courier",
|
|
153
|
-
"X-Fern-SDK-Version": "v6.
|
|
153
|
+
"X-Fern-SDK-Version": "v6.2.2",
|
|
154
154
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
155
155
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
156
156
|
},
|
|
@@ -213,7 +213,7 @@ class Tokens {
|
|
|
213
213
|
Authorization: yield this._getAuthorizationHeader(),
|
|
214
214
|
"X-Fern-Language": "JavaScript",
|
|
215
215
|
"X-Fern-SDK-Name": "@trycourier/courier",
|
|
216
|
-
"X-Fern-SDK-Version": "v6.
|
|
216
|
+
"X-Fern-SDK-Version": "v6.2.2",
|
|
217
217
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
218
218
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
219
219
|
},
|
|
@@ -273,7 +273,7 @@ class Tokens {
|
|
|
273
273
|
Authorization: yield this._getAuthorizationHeader(),
|
|
274
274
|
"X-Fern-Language": "JavaScript",
|
|
275
275
|
"X-Fern-SDK-Name": "@trycourier/courier",
|
|
276
|
-
"X-Fern-SDK-Version": "v6.
|
|
276
|
+
"X-Fern-SDK-Version": "v6.2.2",
|
|
277
277
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
278
278
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
279
279
|
},
|
|
@@ -331,7 +331,7 @@ class Tokens {
|
|
|
331
331
|
Authorization: yield this._getAuthorizationHeader(),
|
|
332
332
|
"X-Fern-Language": "JavaScript",
|
|
333
333
|
"X-Fern-SDK-Name": "@trycourier/courier",
|
|
334
|
-
"X-Fern-SDK-Version": "v6.
|
|
334
|
+
"X-Fern-SDK-Version": "v6.2.2",
|
|
335
335
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
336
336
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
337
337
|
},
|
|
@@ -386,7 +386,7 @@ class Tokens {
|
|
|
386
386
|
Authorization: yield this._getAuthorizationHeader(),
|
|
387
387
|
"X-Fern-Language": "JavaScript",
|
|
388
388
|
"X-Fern-SDK-Name": "@trycourier/courier",
|
|
389
|
-
"X-Fern-SDK-Version": "v6.
|
|
389
|
+
"X-Fern-SDK-Version": "v6.2.2",
|
|
390
390
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
391
391
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
392
392
|
},
|
package/package.json
CHANGED
package/api/resources/notifications/client/requests/NotificationDraftUpdateVariationsParams.d.ts
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as Courier from "../../../../index";
|
|
5
|
-
/**
|
|
6
|
-
* @example
|
|
7
|
-
* {
|
|
8
|
-
* blocks: [{
|
|
9
|
-
* alias: "string",
|
|
10
|
-
* context: "string",
|
|
11
|
-
* id: "string",
|
|
12
|
-
* type: Courier.BlockType.Action,
|
|
13
|
-
* content: "string",
|
|
14
|
-
* locales: {
|
|
15
|
-
* "string": "string"
|
|
16
|
-
* },
|
|
17
|
-
* checksum: "string"
|
|
18
|
-
* }],
|
|
19
|
-
* channels: [{
|
|
20
|
-
* id: "string",
|
|
21
|
-
* type: "string",
|
|
22
|
-
* content: {},
|
|
23
|
-
* locales: {
|
|
24
|
-
* "string": {}
|
|
25
|
-
* },
|
|
26
|
-
* checksum: "string"
|
|
27
|
-
* }]
|
|
28
|
-
* }
|
|
29
|
-
*/
|
|
30
|
-
export interface NotificationDraftUpdateVariationsParams {
|
|
31
|
-
blocks?: Courier.NotificationBlock[];
|
|
32
|
-
channels?: Courier.NotificationChannel[];
|
|
33
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as Courier from "../../../../index";
|
|
5
|
-
/**
|
|
6
|
-
* @example
|
|
7
|
-
* {
|
|
8
|
-
* blocks: [{
|
|
9
|
-
* alias: "string",
|
|
10
|
-
* context: "string",
|
|
11
|
-
* id: "string",
|
|
12
|
-
* type: Courier.BlockType.Action,
|
|
13
|
-
* content: "string",
|
|
14
|
-
* locales: {
|
|
15
|
-
* "string": "string"
|
|
16
|
-
* },
|
|
17
|
-
* checksum: "string"
|
|
18
|
-
* }],
|
|
19
|
-
* channels: [{
|
|
20
|
-
* id: "string",
|
|
21
|
-
* type: "string",
|
|
22
|
-
* content: {},
|
|
23
|
-
* locales: {
|
|
24
|
-
* "string": {}
|
|
25
|
-
* },
|
|
26
|
-
* checksum: "string"
|
|
27
|
-
* }]
|
|
28
|
-
* }
|
|
29
|
-
*/
|
|
30
|
-
export interface NotificationUpdateVariationsParams {
|
|
31
|
-
blocks?: Courier.NotificationBlock[];
|
|
32
|
-
channels?: Courier.NotificationChannel[];
|
|
33
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as Courier from "../../../index";
|
|
5
|
-
export interface MessageChannelEmailOverride {
|
|
6
|
-
attachments?: Courier.Attachment[];
|
|
7
|
-
bcc?: string;
|
|
8
|
-
brand?: Courier.Brand;
|
|
9
|
-
cc?: string;
|
|
10
|
-
from?: string;
|
|
11
|
-
html?: string;
|
|
12
|
-
reply_to?: string;
|
|
13
|
-
subject?: string;
|
|
14
|
-
text?: string;
|
|
15
|
-
tracking: Courier.TrackingOverride;
|
|
16
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
export declare type Override = "MessageChannelEmailOverride" | "MessageChannelPushOverride";
|
|
5
|
-
export declare const Override: {
|
|
6
|
-
readonly MessageChannelEmailOverride: "MessageChannelEmailOverride";
|
|
7
|
-
readonly MessageChannelPushOverride: "MessageChannelPushOverride";
|
|
8
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
-
*/
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.Override = void 0;
|
|
7
|
-
exports.Override = {
|
|
8
|
-
MessageChannelEmailOverride: "MessageChannelEmailOverride",
|
|
9
|
-
MessageChannelPushOverride: "MessageChannelPushOverride",
|
|
10
|
-
};
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as Courier from "../../../../index";
|
|
5
|
-
/**
|
|
6
|
-
* @example
|
|
7
|
-
* {
|
|
8
|
-
* blocks: [{
|
|
9
|
-
* alias: "string",
|
|
10
|
-
* context: "string",
|
|
11
|
-
* id: "string",
|
|
12
|
-
* type: Courier.BlockType.Action,
|
|
13
|
-
* content: "string",
|
|
14
|
-
* locales: {
|
|
15
|
-
* "string": "string"
|
|
16
|
-
* },
|
|
17
|
-
* checksum: "string"
|
|
18
|
-
* }],
|
|
19
|
-
* channels: [{
|
|
20
|
-
* id: "string",
|
|
21
|
-
* type: "string",
|
|
22
|
-
* content: {},
|
|
23
|
-
* locales: {
|
|
24
|
-
* "string": {}
|
|
25
|
-
* },
|
|
26
|
-
* checksum: "string"
|
|
27
|
-
* }]
|
|
28
|
-
* }
|
|
29
|
-
*/
|
|
30
|
-
export interface NotificationDraftUpdateVariationsParams {
|
|
31
|
-
blocks?: Courier.NotificationBlock[];
|
|
32
|
-
channels?: Courier.NotificationChannel[];
|
|
33
|
-
}
|
package/dist/api/resources/notifications/client/requests/NotificationUpdateVariationsParams.d.ts
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as Courier from "../../../../index";
|
|
5
|
-
/**
|
|
6
|
-
* @example
|
|
7
|
-
* {
|
|
8
|
-
* blocks: [{
|
|
9
|
-
* alias: "string",
|
|
10
|
-
* context: "string",
|
|
11
|
-
* id: "string",
|
|
12
|
-
* type: Courier.BlockType.Action,
|
|
13
|
-
* content: "string",
|
|
14
|
-
* locales: {
|
|
15
|
-
* "string": "string"
|
|
16
|
-
* },
|
|
17
|
-
* checksum: "string"
|
|
18
|
-
* }],
|
|
19
|
-
* channels: [{
|
|
20
|
-
* id: "string",
|
|
21
|
-
* type: "string",
|
|
22
|
-
* content: {},
|
|
23
|
-
* locales: {
|
|
24
|
-
* "string": {}
|
|
25
|
-
* },
|
|
26
|
-
* checksum: "string"
|
|
27
|
-
* }]
|
|
28
|
-
* }
|
|
29
|
-
*/
|
|
30
|
-
export interface NotificationUpdateVariationsParams {
|
|
31
|
-
blocks?: Courier.NotificationBlock[];
|
|
32
|
-
channels?: Courier.NotificationChannel[];
|
|
33
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as Courier from "../../../index";
|
|
5
|
-
export interface MessageChannelEmailOverride {
|
|
6
|
-
attachments?: Courier.Attachment[];
|
|
7
|
-
bcc?: string;
|
|
8
|
-
brand?: Courier.Brand;
|
|
9
|
-
cc?: string;
|
|
10
|
-
from?: string;
|
|
11
|
-
html?: string;
|
|
12
|
-
reply_to?: string;
|
|
13
|
-
subject?: string;
|
|
14
|
-
text?: string;
|
|
15
|
-
tracking: Courier.TrackingOverride;
|
|
16
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
export declare type Override = "MessageChannelEmailOverride" | "MessageChannelPushOverride";
|
|
5
|
-
export declare const Override: {
|
|
6
|
-
readonly MessageChannelEmailOverride: "MessageChannelEmailOverride";
|
|
7
|
-
readonly MessageChannelPushOverride: "MessageChannelPushOverride";
|
|
8
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
-
*/
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.Override = void 0;
|
|
7
|
-
exports.Override = {
|
|
8
|
-
MessageChannelEmailOverride: "MessageChannelEmailOverride",
|
|
9
|
-
MessageChannelPushOverride: "MessageChannelPushOverride",
|
|
10
|
-
};
|
|
File without changes
|
|
File without changes
|
/package/api/resources/{send/types/MessageChannelEmailOverride.js → profiles/types/Pagerduty.js}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|