@trycourier/courier 6.2.3 → 6.3.1
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 +2 -1
- package/Client.js +3 -2
- package/api/client/requests/SendMessageRequest.d.ts +2 -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.d.ts +7 -3
- package/api/resources/bulk/client/Client.js +18 -8
- package/api/resources/bulk/client/requests/BulkCreateJobParams.d.ts +2 -1
- package/api/resources/bulk/client/requests/BulkGetUsersParams.d.ts +15 -0
- package/api/resources/bulk/client/requests/BulkGetUsersParams.js +5 -0
- package/api/resources/bulk/client/requests/index.d.ts +1 -0
- package/api/resources/inbound/client/Client.js +1 -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.js +6 -6
- package/api/resources/profiles/client/Client.d.ts +13 -0
- package/api/resources/profiles/client/Client.js +62 -7
- package/api/resources/profiles/types/UserProfilePatch.d.ts +11 -0
- package/api/resources/profiles/types/UserProfilePatch.js +5 -0
- package/api/resources/profiles/types/index.d.ts +1 -0
- package/api/resources/profiles/types/index.js +1 -0
- package/api/resources/send/types/BaseMessage.d.ts +1 -1
- package/api/resources/send/types/Delay.d.ts +3 -1
- 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/tenants/client/Client.js +5 -5
- package/api/resources/users/resources/tokens/client/Client.js +6 -6
- package/dist/Client.d.ts +2 -1
- package/dist/Client.js +3 -2
- package/dist/api/client/requests/SendMessageRequest.d.ts +2 -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.d.ts +7 -3
- package/dist/api/resources/bulk/client/Client.js +18 -8
- package/dist/api/resources/bulk/client/requests/BulkCreateJobParams.d.ts +2 -1
- package/dist/api/resources/bulk/client/requests/BulkGetUsersParams.d.ts +15 -0
- package/dist/api/resources/bulk/client/requests/BulkGetUsersParams.js +5 -0
- package/dist/api/resources/bulk/client/requests/index.d.ts +1 -0
- package/dist/api/resources/inbound/client/Client.js +1 -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.js +6 -6
- package/dist/api/resources/profiles/client/Client.d.ts +13 -0
- package/dist/api/resources/profiles/client/Client.js +62 -7
- package/dist/api/resources/profiles/types/UserProfilePatch.d.ts +11 -0
- package/dist/api/resources/profiles/types/UserProfilePatch.js +5 -0
- package/dist/api/resources/profiles/types/index.d.ts +1 -0
- package/dist/api/resources/profiles/types/index.js +1 -0
- package/dist/api/resources/send/types/BaseMessage.d.ts +1 -1
- package/dist/api/resources/send/types/Delay.d.ts +3 -1
- 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/tenants/client/Client.js +5 -5
- package/dist/api/resources/users/resources/tokens/client/Client.js +6 -6
- package/package.json +1 -1
|
@@ -88,7 +88,7 @@ class Preferences {
|
|
|
88
88
|
Authorization: yield this._getAuthorizationHeader(),
|
|
89
89
|
"X-Fern-Language": "JavaScript",
|
|
90
90
|
"X-Fern-SDK-Name": "@trycourier/courier",
|
|
91
|
-
"X-Fern-SDK-Version": "v6.
|
|
91
|
+
"X-Fern-SDK-Version": "v6.3.1",
|
|
92
92
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
93
93
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
94
94
|
},
|
|
@@ -156,7 +156,7 @@ class Preferences {
|
|
|
156
156
|
Authorization: yield this._getAuthorizationHeader(),
|
|
157
157
|
"X-Fern-Language": "JavaScript",
|
|
158
158
|
"X-Fern-SDK-Name": "@trycourier/courier",
|
|
159
|
-
"X-Fern-SDK-Version": "v6.
|
|
159
|
+
"X-Fern-SDK-Version": "v6.3.1",
|
|
160
160
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
161
161
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
162
162
|
},
|
|
@@ -228,7 +228,7 @@ class Preferences {
|
|
|
228
228
|
Authorization: yield this._getAuthorizationHeader(),
|
|
229
229
|
"X-Fern-Language": "JavaScript",
|
|
230
230
|
"X-Fern-SDK-Name": "@trycourier/courier",
|
|
231
|
-
"X-Fern-SDK-Version": "v6.
|
|
231
|
+
"X-Fern-SDK-Version": "v6.3.1",
|
|
232
232
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
233
233
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
234
234
|
},
|
|
@@ -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.3.1",
|
|
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.3.1",
|
|
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.3.1",
|
|
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.3.1",
|
|
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.3.1",
|
|
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.3.1",
|
|
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.3.1",
|
|
154
154
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
155
155
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
156
156
|
},
|
|
@@ -217,7 +217,7 @@ class Tokens {
|
|
|
217
217
|
Authorization: yield this._getAuthorizationHeader(),
|
|
218
218
|
"X-Fern-Language": "JavaScript",
|
|
219
219
|
"X-Fern-SDK-Name": "@trycourier/courier",
|
|
220
|
-
"X-Fern-SDK-Version": "v6.
|
|
220
|
+
"X-Fern-SDK-Version": "v6.3.1",
|
|
221
221
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
222
222
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
223
223
|
},
|
|
@@ -277,7 +277,7 @@ class Tokens {
|
|
|
277
277
|
Authorization: yield this._getAuthorizationHeader(),
|
|
278
278
|
"X-Fern-Language": "JavaScript",
|
|
279
279
|
"X-Fern-SDK-Name": "@trycourier/courier",
|
|
280
|
-
"X-Fern-SDK-Version": "v6.
|
|
280
|
+
"X-Fern-SDK-Version": "v6.3.1",
|
|
281
281
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
282
282
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
283
283
|
},
|
|
@@ -335,7 +335,7 @@ class Tokens {
|
|
|
335
335
|
Authorization: yield this._getAuthorizationHeader(),
|
|
336
336
|
"X-Fern-Language": "JavaScript",
|
|
337
337
|
"X-Fern-SDK-Name": "@trycourier/courier",
|
|
338
|
-
"X-Fern-SDK-Version": "v6.
|
|
338
|
+
"X-Fern-SDK-Version": "v6.3.1",
|
|
339
339
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
340
340
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
341
341
|
},
|
|
@@ -390,7 +390,7 @@ class Tokens {
|
|
|
390
390
|
Authorization: yield this._getAuthorizationHeader(),
|
|
391
391
|
"X-Fern-Language": "JavaScript",
|
|
392
392
|
"X-Fern-SDK-Name": "@trycourier/courier",
|
|
393
|
-
"X-Fern-SDK-Version": "v6.
|
|
393
|
+
"X-Fern-SDK-Version": "v6.3.1",
|
|
394
394
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
395
395
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
396
396
|
},
|