@trycourier/courier 6.0.0 → 6.0.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.
Files changed (40) hide show
  1. package/Client.js +1 -1
  2. package/README.md +5 -0
  3. package/api/resources/audiences/client/Client.js +5 -5
  4. package/api/resources/auditEvents/client/Client.js +2 -2
  5. package/api/resources/authTokens/client/Client.js +1 -1
  6. package/api/resources/automations/client/Client.js +2 -2
  7. package/api/resources/brands/client/Client.js +4 -4
  8. package/api/resources/bulk/client/Client.js +5 -5
  9. package/api/resources/lists/client/Client.js +8 -8
  10. package/api/resources/messages/client/Client.js +6 -6
  11. package/api/resources/profiles/client/Client.d.ts +1 -1
  12. package/api/resources/profiles/client/Client.js +8 -8
  13. package/api/resources/profiles/client/requests/MergeProfileRequest.d.ts +0 -1
  14. package/api/resources/profiles/client/requests/ReplaceProfileRequest.d.ts +0 -1
  15. package/api/resources/profiles/types/ProfileGetResponse.d.ts +2 -0
  16. package/api/resources/templates/client/Client.js +1 -1
  17. package/api/resources/tenants/client/Client.js +1 -1
  18. package/api/resources/tokenManagement/client/Client.js +5 -5
  19. package/api/resources/translations/client/Client.js +2 -2
  20. package/api/resources/userPreferences/client/Client.js +3 -3
  21. package/dist/Client.js +1 -1
  22. package/dist/api/resources/audiences/client/Client.js +5 -5
  23. package/dist/api/resources/auditEvents/client/Client.js +2 -2
  24. package/dist/api/resources/authTokens/client/Client.js +1 -1
  25. package/dist/api/resources/automations/client/Client.js +2 -2
  26. package/dist/api/resources/brands/client/Client.js +4 -4
  27. package/dist/api/resources/bulk/client/Client.js +5 -5
  28. package/dist/api/resources/lists/client/Client.js +8 -8
  29. package/dist/api/resources/messages/client/Client.js +6 -6
  30. package/dist/api/resources/profiles/client/Client.d.ts +1 -1
  31. package/dist/api/resources/profiles/client/Client.js +8 -8
  32. package/dist/api/resources/profiles/client/requests/MergeProfileRequest.d.ts +0 -1
  33. package/dist/api/resources/profiles/client/requests/ReplaceProfileRequest.d.ts +0 -1
  34. package/dist/api/resources/profiles/types/ProfileGetResponse.d.ts +2 -0
  35. package/dist/api/resources/templates/client/Client.js +1 -1
  36. package/dist/api/resources/tenants/client/Client.js +1 -1
  37. package/dist/api/resources/tokenManagement/client/Client.js +5 -5
  38. package/dist/api/resources/translations/client/Client.js +2 -2
  39. package/dist/api/resources/userPreferences/client/Client.js +3 -3
  40. package/package.json +1 -1
package/Client.js CHANGED
@@ -74,7 +74,7 @@ class CourierClient {
74
74
  Authorization: yield this._getAuthorizationHeader(),
75
75
  "X-Fern-Language": "JavaScript",
76
76
  "X-Fern-SDK-Name": "@trycourier/courier",
77
- "X-Fern-SDK-Version": "v6.0.0",
77
+ "X-Fern-SDK-Version": "6.0.1",
78
78
  "Idempotency-Key": (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.idempotencyKey) != null ? requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.idempotencyKey : undefined,
79
79
  "X-Idempotency-Expiration": (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.idempotencyExpiry) != null
80
80
  ? requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.idempotencyExpiry.toString()
package/README.md CHANGED
@@ -9,6 +9,11 @@ This is the official node.js module for sending notifications with node.js with
9
9
 
10
10
  ## Installation (via [npm](https://www.npmjs.com/package/@trycourier/courier))
11
11
 
12
+
13
+ ### Note
14
+
15
+ Recent version v6 can be unstable, its recommended to use version `v5.7.0`. We are actively working on making v6 stable and will be updating the README accordingly soon.
16
+
12
17
  ```bash
13
18
  npm install @trycourier/courier
14
19
  ```
@@ -61,7 +61,7 @@ class Audiences {
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.0",
64
+ "X-Fern-SDK-Version": "6.0.1",
65
65
  },
66
66
  contentType: "application/json",
67
67
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -104,7 +104,7 @@ class Audiences {
104
104
  Authorization: yield this._getAuthorizationHeader(),
105
105
  "X-Fern-Language": "JavaScript",
106
106
  "X-Fern-SDK-Name": "@trycourier/courier",
107
- "X-Fern-SDK-Version": "v6.0.0",
107
+ "X-Fern-SDK-Version": "6.0.1",
108
108
  },
109
109
  contentType: "application/json",
110
110
  body: request,
@@ -148,7 +148,7 @@ class Audiences {
148
148
  Authorization: yield this._getAuthorizationHeader(),
149
149
  "X-Fern-Language": "JavaScript",
150
150
  "X-Fern-SDK-Name": "@trycourier/courier",
151
- "X-Fern-SDK-Version": "v6.0.0",
151
+ "X-Fern-SDK-Version": "6.0.1",
152
152
  },
153
153
  contentType: "application/json",
154
154
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -197,7 +197,7 @@ class Audiences {
197
197
  Authorization: yield this._getAuthorizationHeader(),
198
198
  "X-Fern-Language": "JavaScript",
199
199
  "X-Fern-SDK-Name": "@trycourier/courier",
200
- "X-Fern-SDK-Version": "v6.0.0",
200
+ "X-Fern-SDK-Version": "6.0.1",
201
201
  },
202
202
  contentType: "application/json",
203
203
  queryParameters: _queryParams,
@@ -252,7 +252,7 @@ class Audiences {
252
252
  Authorization: yield this._getAuthorizationHeader(),
253
253
  "X-Fern-Language": "JavaScript",
254
254
  "X-Fern-SDK-Name": "@trycourier/courier",
255
- "X-Fern-SDK-Version": "v6.0.0",
255
+ "X-Fern-SDK-Version": "6.0.1",
256
256
  },
257
257
  contentType: "application/json",
258
258
  queryParameters: _queryParams,
@@ -65,7 +65,7 @@ class AuditEvents {
65
65
  Authorization: yield this._getAuthorizationHeader(),
66
66
  "X-Fern-Language": "JavaScript",
67
67
  "X-Fern-SDK-Name": "@trycourier/courier",
68
- "X-Fern-SDK-Version": "v6.0.0",
68
+ "X-Fern-SDK-Version": "6.0.1",
69
69
  },
70
70
  contentType: "application/json",
71
71
  queryParameters: _queryParams,
@@ -109,7 +109,7 @@ class AuditEvents {
109
109
  Authorization: yield this._getAuthorizationHeader(),
110
110
  "X-Fern-Language": "JavaScript",
111
111
  "X-Fern-SDK-Name": "@trycourier/courier",
112
- "X-Fern-SDK-Version": "v6.0.0",
112
+ "X-Fern-SDK-Version": "6.0.1",
113
113
  },
114
114
  contentType: "application/json",
115
115
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -60,7 +60,7 @@ class AuthTokens {
60
60
  Authorization: yield this._getAuthorizationHeader(),
61
61
  "X-Fern-Language": "JavaScript",
62
62
  "X-Fern-SDK-Name": "@trycourier/courier",
63
- "X-Fern-SDK-Version": "v6.0.0",
63
+ "X-Fern-SDK-Version": "6.0.1",
64
64
  "Idempotency-Key": (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.idempotencyKey) != null ? requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.idempotencyKey : undefined,
65
65
  "X-Idempotency-Expiration": (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.idempotencyExpiry) != null
66
66
  ? requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.idempotencyExpiry.toString()
@@ -60,7 +60,7 @@ class Automations {
60
60
  Authorization: yield this._getAuthorizationHeader(),
61
61
  "X-Fern-Language": "JavaScript",
62
62
  "X-Fern-SDK-Name": "@trycourier/courier",
63
- "X-Fern-SDK-Version": "v6.0.0",
63
+ "X-Fern-SDK-Version": "6.0.1",
64
64
  "Idempotency-Key": (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.idempotencyKey) != null ? requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.idempotencyKey : undefined,
65
65
  "X-Idempotency-Expiration": (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.idempotencyExpiry) != null
66
66
  ? requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.idempotencyExpiry.toString()
@@ -107,7 +107,7 @@ class Automations {
107
107
  Authorization: yield this._getAuthorizationHeader(),
108
108
  "X-Fern-Language": "JavaScript",
109
109
  "X-Fern-SDK-Name": "@trycourier/courier",
110
- "X-Fern-SDK-Version": "v6.0.0",
110
+ "X-Fern-SDK-Version": "6.0.1",
111
111
  "Idempotency-Key": (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.idempotencyKey) != null ? requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.idempotencyKey : undefined,
112
112
  "X-Idempotency-Expiration": (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.idempotencyExpiry) != null
113
113
  ? requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.idempotencyExpiry.toString()
@@ -63,7 +63,7 @@ class Brands {
63
63
  Authorization: yield this._getAuthorizationHeader(),
64
64
  "X-Fern-Language": "JavaScript",
65
65
  "X-Fern-SDK-Name": "@trycourier/courier",
66
- "X-Fern-SDK-Version": "v6.0.0",
66
+ "X-Fern-SDK-Version": "6.0.1",
67
67
  "Idempotency-Key": (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.idempotencyKey) != null ? requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.idempotencyKey : undefined,
68
68
  "X-Idempotency-Expiration": (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.idempotencyExpiry) != null
69
69
  ? requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.idempotencyExpiry.toString()
@@ -120,7 +120,7 @@ class Brands {
120
120
  Authorization: yield this._getAuthorizationHeader(),
121
121
  "X-Fern-Language": "JavaScript",
122
122
  "X-Fern-SDK-Name": "@trycourier/courier",
123
- "X-Fern-SDK-Version": "v6.0.0",
123
+ "X-Fern-SDK-Version": "6.0.1",
124
124
  },
125
125
  contentType: "application/json",
126
126
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -168,7 +168,7 @@ class Brands {
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.0",
171
+ "X-Fern-SDK-Version": "6.0.1",
172
172
  },
173
173
  contentType: "application/json",
174
174
  queryParameters: _queryParams,
@@ -213,7 +213,7 @@ class Brands {
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.0.0",
216
+ "X-Fern-SDK-Version": "6.0.1",
217
217
  },
218
218
  contentType: "application/json",
219
219
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -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.0",
64
+ "X-Fern-SDK-Version": "6.0.1",
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.0",
117
+ "X-Fern-SDK-Version": "6.0.1",
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.0",
166
+ "X-Fern-SDK-Version": "6.0.1",
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()
@@ -217,7 +217,7 @@ class Bulk {
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.0.0",
220
+ "X-Fern-SDK-Version": "6.0.1",
221
221
  },
222
222
  contentType: "application/json",
223
223
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -266,7 +266,7 @@ class Bulk {
266
266
  Authorization: yield this._getAuthorizationHeader(),
267
267
  "X-Fern-Language": "JavaScript",
268
268
  "X-Fern-SDK-Name": "@trycourier/courier",
269
- "X-Fern-SDK-Version": "v6.0.0",
269
+ "X-Fern-SDK-Version": "6.0.1",
270
270
  },
271
271
  contentType: "application/json",
272
272
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -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.0",
73
+ "X-Fern-SDK-Version": "6.0.1",
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.0",
131
+ "X-Fern-SDK-Version": "6.0.1",
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.0",
180
+ "X-Fern-SDK-Version": "6.0.1",
181
181
  },
182
182
  contentType: "application/json",
183
183
  body: request,
@@ -227,7 +227,7 @@ class Lists {
227
227
  Authorization: yield this._getAuthorizationHeader(),
228
228
  "X-Fern-Language": "JavaScript",
229
229
  "X-Fern-SDK-Name": "@trycourier/courier",
230
- "X-Fern-SDK-Version": "v6.0.0",
230
+ "X-Fern-SDK-Version": "6.0.1",
231
231
  },
232
232
  contentType: "application/json",
233
233
  queryParameters: _queryParams,
@@ -277,7 +277,7 @@ class Lists {
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.0.0",
280
+ "X-Fern-SDK-Version": "6.0.1",
281
281
  },
282
282
  contentType: "application/json",
283
283
  body: request,
@@ -327,7 +327,7 @@ class Lists {
327
327
  Authorization: yield this._getAuthorizationHeader(),
328
328
  "X-Fern-Language": "JavaScript",
329
329
  "X-Fern-SDK-Name": "@trycourier/courier",
330
- "X-Fern-SDK-Version": "v6.0.0",
330
+ "X-Fern-SDK-Version": "6.0.1",
331
331
  "Idempotency-Key": (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.idempotencyKey) != null ? requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.idempotencyKey : undefined,
332
332
  "X-Idempotency-Expiration": (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.idempotencyExpiry) != null
333
333
  ? requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.idempotencyExpiry.toString()
@@ -380,7 +380,7 @@ class Lists {
380
380
  Authorization: yield this._getAuthorizationHeader(),
381
381
  "X-Fern-Language": "JavaScript",
382
382
  "X-Fern-SDK-Name": "@trycourier/courier",
383
- "X-Fern-SDK-Version": "v6.0.0",
383
+ "X-Fern-SDK-Version": "6.0.1",
384
384
  },
385
385
  contentType: "application/json",
386
386
  body: request,
@@ -425,7 +425,7 @@ class Lists {
425
425
  Authorization: yield this._getAuthorizationHeader(),
426
426
  "X-Fern-Language": "JavaScript",
427
427
  "X-Fern-SDK-Name": "@trycourier/courier",
428
- "X-Fern-SDK-Version": "v6.0.0",
428
+ "X-Fern-SDK-Version": "6.0.1",
429
429
  },
430
430
  contentType: "application/json",
431
431
  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.0",
99
+ "X-Fern-SDK-Version": "6.0.1",
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.0",
145
+ "X-Fern-SDK-Version": "6.0.1",
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.0",
195
+ "X-Fern-SDK-Version": "6.0.1",
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.0",
249
+ "X-Fern-SDK-Version": "6.0.1",
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.0",
301
+ "X-Fern-SDK-Version": "6.0.1",
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.0",
348
+ "X-Fern-SDK-Version": "6.0.1",
349
349
  },
350
350
  contentType: "application/json",
351
351
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -30,7 +30,7 @@ export declare class Profiles {
30
30
  * Merge the supplied values with an existing profile or create a new profile if one doesn't already exist.
31
31
  * @throws {@link Courier.BadRequestError}
32
32
  */
33
- merge(userId: string, request: Courier.MergeProfileRequest, requestOptions?: Profiles.IdempotentRequestOptions): Promise<Courier.MergeProfileResponse>;
33
+ create(userId: string, request: Courier.MergeProfileRequest, requestOptions?: Profiles.IdempotentRequestOptions): Promise<Courier.MergeProfileResponse>;
34
34
  /**
35
35
  * When using `PUT`, be sure to include all the key-value pairs required by the recipient's profile.
36
36
  * Any key-value pairs that exist in the profile but fail to be included in the `PUT` request will be
@@ -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.0",
65
+ "X-Fern-SDK-Version": "6.0.1",
66
66
  },
67
67
  contentType: "application/json",
68
68
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -101,7 +101,7 @@ class Profiles {
101
101
  * Merge the supplied values with an existing profile or create a new profile if one doesn't already exist.
102
102
  * @throws {@link Courier.BadRequestError}
103
103
  */
104
- merge(userId, request, requestOptions) {
104
+ create(userId, request, requestOptions) {
105
105
  var _a;
106
106
  return __awaiter(this, void 0, void 0, function* () {
107
107
  const _response = yield core.fetcher({
@@ -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.0",
114
+ "X-Fern-SDK-Version": "6.0.1",
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()
@@ -169,7 +169,7 @@ class Profiles {
169
169
  Authorization: yield this._getAuthorizationHeader(),
170
170
  "X-Fern-Language": "JavaScript",
171
171
  "X-Fern-SDK-Name": "@trycourier/courier",
172
- "X-Fern-SDK-Version": "v6.0.0",
172
+ "X-Fern-SDK-Version": "6.0.1",
173
173
  },
174
174
  contentType: "application/json",
175
175
  body: request,
@@ -219,7 +219,7 @@ class Profiles {
219
219
  Authorization: yield this._getAuthorizationHeader(),
220
220
  "X-Fern-Language": "JavaScript",
221
221
  "X-Fern-SDK-Name": "@trycourier/courier",
222
- "X-Fern-SDK-Version": "v6.0.0",
222
+ "X-Fern-SDK-Version": "6.0.1",
223
223
  },
224
224
  contentType: "application/json",
225
225
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -273,7 +273,7 @@ class Profiles {
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.0.0",
276
+ "X-Fern-SDK-Version": "6.0.1",
277
277
  },
278
278
  contentType: "application/json",
279
279
  queryParameters: _queryParams,
@@ -323,7 +323,7 @@ class Profiles {
323
323
  Authorization: yield this._getAuthorizationHeader(),
324
324
  "X-Fern-Language": "JavaScript",
325
325
  "X-Fern-SDK-Name": "@trycourier/courier",
326
- "X-Fern-SDK-Version": "v6.0.0",
326
+ "X-Fern-SDK-Version": "6.0.1",
327
327
  "Idempotency-Key": (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.idempotencyKey) != null ? requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.idempotencyKey : undefined,
328
328
  "X-Idempotency-Expiration": (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.idempotencyExpiry) != null
329
329
  ? requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.idempotencyExpiry.toString()
@@ -377,7 +377,7 @@ class Profiles {
377
377
  Authorization: yield this._getAuthorizationHeader(),
378
378
  "X-Fern-Language": "JavaScript",
379
379
  "X-Fern-SDK-Name": "@trycourier/courier",
380
- "X-Fern-SDK-Version": "v6.0.0",
380
+ "X-Fern-SDK-Version": "6.0.1",
381
381
  },
382
382
  contentType: "application/json",
383
383
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -2,6 +2,5 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  export interface MergeProfileRequest {
5
- recipientId: string;
6
5
  profile: Record<string, any>;
7
6
  }
@@ -2,6 +2,5 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  export interface ReplaceProfileRequest {
5
- recipientId: string;
6
5
  profile: Record<string, any>;
7
6
  }
@@ -1,6 +1,8 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
+ import * as Courier from "../../..";
4
5
  export interface ProfileGetResponse {
5
6
  profile: Record<string, any>;
7
+ preferences?: Courier.RecipientPreferences;
6
8
  }
@@ -65,7 +65,7 @@ class Templates {
65
65
  Authorization: yield this._getAuthorizationHeader(),
66
66
  "X-Fern-Language": "JavaScript",
67
67
  "X-Fern-SDK-Name": "@trycourier/courier",
68
- "X-Fern-SDK-Version": "v6.0.0",
68
+ "X-Fern-SDK-Version": "6.0.1",
69
69
  },
70
70
  contentType: "application/json",
71
71
  queryParameters: _queryParams,
@@ -61,7 +61,7 @@ class Tenants {
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.0",
64
+ "X-Fern-SDK-Version": "6.0.1",
65
65
  },
66
66
  contentType: "application/json",
67
67
  body: request,
@@ -62,7 +62,7 @@ class TokenManagement {
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.0",
65
+ "X-Fern-SDK-Version": "6.0.1",
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 TokenManagement {
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.0",
114
+ "X-Fern-SDK-Version": "6.0.1",
115
115
  },
116
116
  contentType: "application/json",
117
117
  body: request,
@@ -161,7 +161,7 @@ class TokenManagement {
161
161
  Authorization: yield this._getAuthorizationHeader(),
162
162
  "X-Fern-Language": "JavaScript",
163
163
  "X-Fern-SDK-Name": "@trycourier/courier",
164
- "X-Fern-SDK-Version": "v6.0.0",
164
+ "X-Fern-SDK-Version": "6.0.1",
165
165
  },
166
166
  contentType: "application/json",
167
167
  body: request,
@@ -211,7 +211,7 @@ class TokenManagement {
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.0.0",
214
+ "X-Fern-SDK-Version": "6.0.1",
215
215
  },
216
216
  contentType: "application/json",
217
217
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -260,7 +260,7 @@ class TokenManagement {
260
260
  Authorization: yield this._getAuthorizationHeader(),
261
261
  "X-Fern-Language": "JavaScript",
262
262
  "X-Fern-SDK-Name": "@trycourier/courier",
263
- "X-Fern-SDK-Version": "v6.0.0",
263
+ "X-Fern-SDK-Version": "6.0.1",
264
264
  },
265
265
  contentType: "application/json",
266
266
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -62,7 +62,7 @@ class Translations {
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.0",
65
+ "X-Fern-SDK-Version": "6.0.1",
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 Translations {
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.0",
114
+ "X-Fern-SDK-Version": "6.0.1",
115
115
  },
116
116
  contentType: "application/json",
117
117
  body: request,
@@ -62,7 +62,7 @@ class UserPreferences {
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.0",
65
+ "X-Fern-SDK-Version": "6.0.1",
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 UserPreferences {
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.0",
114
+ "X-Fern-SDK-Version": "6.0.1",
115
115
  },
116
116
  contentType: "application/json",
117
117
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -160,7 +160,7 @@ class UserPreferences {
160
160
  Authorization: yield this._getAuthorizationHeader(),
161
161
  "X-Fern-Language": "JavaScript",
162
162
  "X-Fern-SDK-Name": "@trycourier/courier",
163
- "X-Fern-SDK-Version": "v6.0.0",
163
+ "X-Fern-SDK-Version": "6.0.1",
164
164
  },
165
165
  contentType: "application/json",
166
166
  body: request,
package/dist/Client.js CHANGED
@@ -74,7 +74,7 @@ class CourierClient {
74
74
  Authorization: yield this._getAuthorizationHeader(),
75
75
  "X-Fern-Language": "JavaScript",
76
76
  "X-Fern-SDK-Name": "@trycourier/courier",
77
- "X-Fern-SDK-Version": "v6.0.0",
77
+ "X-Fern-SDK-Version": "6.0.1",
78
78
  "Idempotency-Key": (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.idempotencyKey) != null ? requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.idempotencyKey : undefined,
79
79
  "X-Idempotency-Expiration": (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.idempotencyExpiry) != null
80
80
  ? requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.idempotencyExpiry.toString()
@@ -61,7 +61,7 @@ class Audiences {
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.0",
64
+ "X-Fern-SDK-Version": "6.0.1",
65
65
  },
66
66
  contentType: "application/json",
67
67
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -104,7 +104,7 @@ class Audiences {
104
104
  Authorization: yield this._getAuthorizationHeader(),
105
105
  "X-Fern-Language": "JavaScript",
106
106
  "X-Fern-SDK-Name": "@trycourier/courier",
107
- "X-Fern-SDK-Version": "v6.0.0",
107
+ "X-Fern-SDK-Version": "6.0.1",
108
108
  },
109
109
  contentType: "application/json",
110
110
  body: request,
@@ -148,7 +148,7 @@ class Audiences {
148
148
  Authorization: yield this._getAuthorizationHeader(),
149
149
  "X-Fern-Language": "JavaScript",
150
150
  "X-Fern-SDK-Name": "@trycourier/courier",
151
- "X-Fern-SDK-Version": "v6.0.0",
151
+ "X-Fern-SDK-Version": "6.0.1",
152
152
  },
153
153
  contentType: "application/json",
154
154
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -197,7 +197,7 @@ class Audiences {
197
197
  Authorization: yield this._getAuthorizationHeader(),
198
198
  "X-Fern-Language": "JavaScript",
199
199
  "X-Fern-SDK-Name": "@trycourier/courier",
200
- "X-Fern-SDK-Version": "v6.0.0",
200
+ "X-Fern-SDK-Version": "6.0.1",
201
201
  },
202
202
  contentType: "application/json",
203
203
  queryParameters: _queryParams,
@@ -252,7 +252,7 @@ class Audiences {
252
252
  Authorization: yield this._getAuthorizationHeader(),
253
253
  "X-Fern-Language": "JavaScript",
254
254
  "X-Fern-SDK-Name": "@trycourier/courier",
255
- "X-Fern-SDK-Version": "v6.0.0",
255
+ "X-Fern-SDK-Version": "6.0.1",
256
256
  },
257
257
  contentType: "application/json",
258
258
  queryParameters: _queryParams,
@@ -65,7 +65,7 @@ class AuditEvents {
65
65
  Authorization: yield this._getAuthorizationHeader(),
66
66
  "X-Fern-Language": "JavaScript",
67
67
  "X-Fern-SDK-Name": "@trycourier/courier",
68
- "X-Fern-SDK-Version": "v6.0.0",
68
+ "X-Fern-SDK-Version": "6.0.1",
69
69
  },
70
70
  contentType: "application/json",
71
71
  queryParameters: _queryParams,
@@ -109,7 +109,7 @@ class AuditEvents {
109
109
  Authorization: yield this._getAuthorizationHeader(),
110
110
  "X-Fern-Language": "JavaScript",
111
111
  "X-Fern-SDK-Name": "@trycourier/courier",
112
- "X-Fern-SDK-Version": "v6.0.0",
112
+ "X-Fern-SDK-Version": "6.0.1",
113
113
  },
114
114
  contentType: "application/json",
115
115
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -60,7 +60,7 @@ class AuthTokens {
60
60
  Authorization: yield this._getAuthorizationHeader(),
61
61
  "X-Fern-Language": "JavaScript",
62
62
  "X-Fern-SDK-Name": "@trycourier/courier",
63
- "X-Fern-SDK-Version": "v6.0.0",
63
+ "X-Fern-SDK-Version": "6.0.1",
64
64
  "Idempotency-Key": (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.idempotencyKey) != null ? requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.idempotencyKey : undefined,
65
65
  "X-Idempotency-Expiration": (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.idempotencyExpiry) != null
66
66
  ? requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.idempotencyExpiry.toString()
@@ -60,7 +60,7 @@ class Automations {
60
60
  Authorization: yield this._getAuthorizationHeader(),
61
61
  "X-Fern-Language": "JavaScript",
62
62
  "X-Fern-SDK-Name": "@trycourier/courier",
63
- "X-Fern-SDK-Version": "v6.0.0",
63
+ "X-Fern-SDK-Version": "6.0.1",
64
64
  "Idempotency-Key": (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.idempotencyKey) != null ? requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.idempotencyKey : undefined,
65
65
  "X-Idempotency-Expiration": (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.idempotencyExpiry) != null
66
66
  ? requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.idempotencyExpiry.toString()
@@ -107,7 +107,7 @@ class Automations {
107
107
  Authorization: yield this._getAuthorizationHeader(),
108
108
  "X-Fern-Language": "JavaScript",
109
109
  "X-Fern-SDK-Name": "@trycourier/courier",
110
- "X-Fern-SDK-Version": "v6.0.0",
110
+ "X-Fern-SDK-Version": "6.0.1",
111
111
  "Idempotency-Key": (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.idempotencyKey) != null ? requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.idempotencyKey : undefined,
112
112
  "X-Idempotency-Expiration": (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.idempotencyExpiry) != null
113
113
  ? requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.idempotencyExpiry.toString()
@@ -63,7 +63,7 @@ class Brands {
63
63
  Authorization: yield this._getAuthorizationHeader(),
64
64
  "X-Fern-Language": "JavaScript",
65
65
  "X-Fern-SDK-Name": "@trycourier/courier",
66
- "X-Fern-SDK-Version": "v6.0.0",
66
+ "X-Fern-SDK-Version": "6.0.1",
67
67
  "Idempotency-Key": (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.idempotencyKey) != null ? requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.idempotencyKey : undefined,
68
68
  "X-Idempotency-Expiration": (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.idempotencyExpiry) != null
69
69
  ? requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.idempotencyExpiry.toString()
@@ -120,7 +120,7 @@ class Brands {
120
120
  Authorization: yield this._getAuthorizationHeader(),
121
121
  "X-Fern-Language": "JavaScript",
122
122
  "X-Fern-SDK-Name": "@trycourier/courier",
123
- "X-Fern-SDK-Version": "v6.0.0",
123
+ "X-Fern-SDK-Version": "6.0.1",
124
124
  },
125
125
  contentType: "application/json",
126
126
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -168,7 +168,7 @@ class Brands {
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.0",
171
+ "X-Fern-SDK-Version": "6.0.1",
172
172
  },
173
173
  contentType: "application/json",
174
174
  queryParameters: _queryParams,
@@ -213,7 +213,7 @@ class Brands {
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.0.0",
216
+ "X-Fern-SDK-Version": "6.0.1",
217
217
  },
218
218
  contentType: "application/json",
219
219
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -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.0",
64
+ "X-Fern-SDK-Version": "6.0.1",
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.0",
117
+ "X-Fern-SDK-Version": "6.0.1",
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.0",
166
+ "X-Fern-SDK-Version": "6.0.1",
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()
@@ -217,7 +217,7 @@ class Bulk {
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.0.0",
220
+ "X-Fern-SDK-Version": "6.0.1",
221
221
  },
222
222
  contentType: "application/json",
223
223
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -266,7 +266,7 @@ class Bulk {
266
266
  Authorization: yield this._getAuthorizationHeader(),
267
267
  "X-Fern-Language": "JavaScript",
268
268
  "X-Fern-SDK-Name": "@trycourier/courier",
269
- "X-Fern-SDK-Version": "v6.0.0",
269
+ "X-Fern-SDK-Version": "6.0.1",
270
270
  },
271
271
  contentType: "application/json",
272
272
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -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.0",
73
+ "X-Fern-SDK-Version": "6.0.1",
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.0",
131
+ "X-Fern-SDK-Version": "6.0.1",
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.0",
180
+ "X-Fern-SDK-Version": "6.0.1",
181
181
  },
182
182
  contentType: "application/json",
183
183
  body: request,
@@ -227,7 +227,7 @@ class Lists {
227
227
  Authorization: yield this._getAuthorizationHeader(),
228
228
  "X-Fern-Language": "JavaScript",
229
229
  "X-Fern-SDK-Name": "@trycourier/courier",
230
- "X-Fern-SDK-Version": "v6.0.0",
230
+ "X-Fern-SDK-Version": "6.0.1",
231
231
  },
232
232
  contentType: "application/json",
233
233
  queryParameters: _queryParams,
@@ -277,7 +277,7 @@ class Lists {
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.0.0",
280
+ "X-Fern-SDK-Version": "6.0.1",
281
281
  },
282
282
  contentType: "application/json",
283
283
  body: request,
@@ -327,7 +327,7 @@ class Lists {
327
327
  Authorization: yield this._getAuthorizationHeader(),
328
328
  "X-Fern-Language": "JavaScript",
329
329
  "X-Fern-SDK-Name": "@trycourier/courier",
330
- "X-Fern-SDK-Version": "v6.0.0",
330
+ "X-Fern-SDK-Version": "6.0.1",
331
331
  "Idempotency-Key": (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.idempotencyKey) != null ? requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.idempotencyKey : undefined,
332
332
  "X-Idempotency-Expiration": (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.idempotencyExpiry) != null
333
333
  ? requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.idempotencyExpiry.toString()
@@ -380,7 +380,7 @@ class Lists {
380
380
  Authorization: yield this._getAuthorizationHeader(),
381
381
  "X-Fern-Language": "JavaScript",
382
382
  "X-Fern-SDK-Name": "@trycourier/courier",
383
- "X-Fern-SDK-Version": "v6.0.0",
383
+ "X-Fern-SDK-Version": "6.0.1",
384
384
  },
385
385
  contentType: "application/json",
386
386
  body: request,
@@ -425,7 +425,7 @@ class Lists {
425
425
  Authorization: yield this._getAuthorizationHeader(),
426
426
  "X-Fern-Language": "JavaScript",
427
427
  "X-Fern-SDK-Name": "@trycourier/courier",
428
- "X-Fern-SDK-Version": "v6.0.0",
428
+ "X-Fern-SDK-Version": "6.0.1",
429
429
  },
430
430
  contentType: "application/json",
431
431
  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.0",
99
+ "X-Fern-SDK-Version": "6.0.1",
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.0",
145
+ "X-Fern-SDK-Version": "6.0.1",
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.0",
195
+ "X-Fern-SDK-Version": "6.0.1",
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.0",
249
+ "X-Fern-SDK-Version": "6.0.1",
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.0",
301
+ "X-Fern-SDK-Version": "6.0.1",
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.0",
348
+ "X-Fern-SDK-Version": "6.0.1",
349
349
  },
350
350
  contentType: "application/json",
351
351
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -30,7 +30,7 @@ export declare class Profiles {
30
30
  * Merge the supplied values with an existing profile or create a new profile if one doesn't already exist.
31
31
  * @throws {@link Courier.BadRequestError}
32
32
  */
33
- merge(userId: string, request: Courier.MergeProfileRequest, requestOptions?: Profiles.IdempotentRequestOptions): Promise<Courier.MergeProfileResponse>;
33
+ create(userId: string, request: Courier.MergeProfileRequest, requestOptions?: Profiles.IdempotentRequestOptions): Promise<Courier.MergeProfileResponse>;
34
34
  /**
35
35
  * When using `PUT`, be sure to include all the key-value pairs required by the recipient's profile.
36
36
  * Any key-value pairs that exist in the profile but fail to be included in the `PUT` request will be
@@ -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.0",
65
+ "X-Fern-SDK-Version": "6.0.1",
66
66
  },
67
67
  contentType: "application/json",
68
68
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -101,7 +101,7 @@ class Profiles {
101
101
  * Merge the supplied values with an existing profile or create a new profile if one doesn't already exist.
102
102
  * @throws {@link Courier.BadRequestError}
103
103
  */
104
- merge(userId, request, requestOptions) {
104
+ create(userId, request, requestOptions) {
105
105
  var _a;
106
106
  return __awaiter(this, void 0, void 0, function* () {
107
107
  const _response = yield core.fetcher({
@@ -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.0",
114
+ "X-Fern-SDK-Version": "6.0.1",
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()
@@ -169,7 +169,7 @@ class Profiles {
169
169
  Authorization: yield this._getAuthorizationHeader(),
170
170
  "X-Fern-Language": "JavaScript",
171
171
  "X-Fern-SDK-Name": "@trycourier/courier",
172
- "X-Fern-SDK-Version": "v6.0.0",
172
+ "X-Fern-SDK-Version": "6.0.1",
173
173
  },
174
174
  contentType: "application/json",
175
175
  body: request,
@@ -219,7 +219,7 @@ class Profiles {
219
219
  Authorization: yield this._getAuthorizationHeader(),
220
220
  "X-Fern-Language": "JavaScript",
221
221
  "X-Fern-SDK-Name": "@trycourier/courier",
222
- "X-Fern-SDK-Version": "v6.0.0",
222
+ "X-Fern-SDK-Version": "6.0.1",
223
223
  },
224
224
  contentType: "application/json",
225
225
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -273,7 +273,7 @@ class Profiles {
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.0.0",
276
+ "X-Fern-SDK-Version": "6.0.1",
277
277
  },
278
278
  contentType: "application/json",
279
279
  queryParameters: _queryParams,
@@ -323,7 +323,7 @@ class Profiles {
323
323
  Authorization: yield this._getAuthorizationHeader(),
324
324
  "X-Fern-Language": "JavaScript",
325
325
  "X-Fern-SDK-Name": "@trycourier/courier",
326
- "X-Fern-SDK-Version": "v6.0.0",
326
+ "X-Fern-SDK-Version": "6.0.1",
327
327
  "Idempotency-Key": (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.idempotencyKey) != null ? requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.idempotencyKey : undefined,
328
328
  "X-Idempotency-Expiration": (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.idempotencyExpiry) != null
329
329
  ? requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.idempotencyExpiry.toString()
@@ -377,7 +377,7 @@ class Profiles {
377
377
  Authorization: yield this._getAuthorizationHeader(),
378
378
  "X-Fern-Language": "JavaScript",
379
379
  "X-Fern-SDK-Name": "@trycourier/courier",
380
- "X-Fern-SDK-Version": "v6.0.0",
380
+ "X-Fern-SDK-Version": "6.0.1",
381
381
  },
382
382
  contentType: "application/json",
383
383
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -2,6 +2,5 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  export interface MergeProfileRequest {
5
- recipientId: string;
6
5
  profile: Record<string, any>;
7
6
  }
@@ -2,6 +2,5 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  export interface ReplaceProfileRequest {
5
- recipientId: string;
6
5
  profile: Record<string, any>;
7
6
  }
@@ -1,6 +1,8 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
+ import * as Courier from "../../..";
4
5
  export interface ProfileGetResponse {
5
6
  profile: Record<string, any>;
7
+ preferences?: Courier.RecipientPreferences;
6
8
  }
@@ -65,7 +65,7 @@ class Templates {
65
65
  Authorization: yield this._getAuthorizationHeader(),
66
66
  "X-Fern-Language": "JavaScript",
67
67
  "X-Fern-SDK-Name": "@trycourier/courier",
68
- "X-Fern-SDK-Version": "v6.0.0",
68
+ "X-Fern-SDK-Version": "6.0.1",
69
69
  },
70
70
  contentType: "application/json",
71
71
  queryParameters: _queryParams,
@@ -61,7 +61,7 @@ class Tenants {
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.0",
64
+ "X-Fern-SDK-Version": "6.0.1",
65
65
  },
66
66
  contentType: "application/json",
67
67
  body: request,
@@ -62,7 +62,7 @@ class TokenManagement {
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.0",
65
+ "X-Fern-SDK-Version": "6.0.1",
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 TokenManagement {
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.0",
114
+ "X-Fern-SDK-Version": "6.0.1",
115
115
  },
116
116
  contentType: "application/json",
117
117
  body: request,
@@ -161,7 +161,7 @@ class TokenManagement {
161
161
  Authorization: yield this._getAuthorizationHeader(),
162
162
  "X-Fern-Language": "JavaScript",
163
163
  "X-Fern-SDK-Name": "@trycourier/courier",
164
- "X-Fern-SDK-Version": "v6.0.0",
164
+ "X-Fern-SDK-Version": "6.0.1",
165
165
  },
166
166
  contentType: "application/json",
167
167
  body: request,
@@ -211,7 +211,7 @@ class TokenManagement {
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.0.0",
214
+ "X-Fern-SDK-Version": "6.0.1",
215
215
  },
216
216
  contentType: "application/json",
217
217
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -260,7 +260,7 @@ class TokenManagement {
260
260
  Authorization: yield this._getAuthorizationHeader(),
261
261
  "X-Fern-Language": "JavaScript",
262
262
  "X-Fern-SDK-Name": "@trycourier/courier",
263
- "X-Fern-SDK-Version": "v6.0.0",
263
+ "X-Fern-SDK-Version": "6.0.1",
264
264
  },
265
265
  contentType: "application/json",
266
266
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -62,7 +62,7 @@ class Translations {
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.0",
65
+ "X-Fern-SDK-Version": "6.0.1",
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 Translations {
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.0",
114
+ "X-Fern-SDK-Version": "6.0.1",
115
115
  },
116
116
  contentType: "application/json",
117
117
  body: request,
@@ -62,7 +62,7 @@ class UserPreferences {
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.0",
65
+ "X-Fern-SDK-Version": "6.0.1",
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 UserPreferences {
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.0",
114
+ "X-Fern-SDK-Version": "6.0.1",
115
115
  },
116
116
  contentType: "application/json",
117
117
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -160,7 +160,7 @@ class UserPreferences {
160
160
  Authorization: yield this._getAuthorizationHeader(),
161
161
  "X-Fern-Language": "JavaScript",
162
162
  "X-Fern-SDK-Name": "@trycourier/courier",
163
- "X-Fern-SDK-Version": "v6.0.0",
163
+ "X-Fern-SDK-Version": "6.0.1",
164
164
  },
165
165
  contentType: "application/json",
166
166
  body: request,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trycourier/courier",
3
- "version": "v6.0.0",
3
+ "version": "6.0.1",
4
4
  "private": false,
5
5
  "repository": "https://github.com/trycourier/courier-node",
6
6
  "main": "./index.js",