@trycourier/courier 6.0.2 → 6.0.3

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 (45) hide show
  1. package/Client.js +1 -1
  2. package/api/resources/audiences/client/Client.js +5 -5
  3. package/api/resources/auditEvents/client/Client.js +2 -2
  4. package/api/resources/authTokens/client/Client.js +1 -1
  5. package/api/resources/automations/client/Client.js +2 -2
  6. package/api/resources/brands/client/Client.js +5 -5
  7. package/api/resources/bulk/client/Client.js +5 -5
  8. package/api/resources/lists/client/Client.js +10 -10
  9. package/api/resources/messages/client/Client.js +6 -6
  10. package/api/resources/notifications/client/Client.js +8 -8
  11. package/api/resources/profiles/client/Client.js +7 -7
  12. package/api/resources/templates/client/Client.js +1 -1
  13. package/api/resources/tenants/client/Client.js +4 -4
  14. package/api/resources/translations/client/Client.js +2 -2
  15. package/api/resources/users/resources/preferences/client/Client.js +3 -3
  16. package/api/resources/users/resources/tenants/client/Client.js +8 -8
  17. package/api/resources/users/resources/tenants/client/requests/AddUserToSingleTenantsParams.d.ts +2 -1
  18. package/api/resources/users/resources/tenants/types/AddUserToSingleTenantsParamsProfile.d.ts +14 -0
  19. package/api/resources/users/resources/tenants/types/AddUserToSingleTenantsParamsProfile.js +5 -0
  20. package/api/resources/users/resources/tenants/types/index.d.ts +1 -0
  21. package/api/resources/users/resources/tenants/types/index.js +1 -0
  22. package/api/resources/users/resources/tokens/client/Client.js +5 -5
  23. package/dist/Client.js +1 -1
  24. package/dist/api/resources/audiences/client/Client.js +5 -5
  25. package/dist/api/resources/auditEvents/client/Client.js +2 -2
  26. package/dist/api/resources/authTokens/client/Client.js +1 -1
  27. package/dist/api/resources/automations/client/Client.js +2 -2
  28. package/dist/api/resources/brands/client/Client.js +5 -5
  29. package/dist/api/resources/bulk/client/Client.js +5 -5
  30. package/dist/api/resources/lists/client/Client.js +10 -10
  31. package/dist/api/resources/messages/client/Client.js +6 -6
  32. package/dist/api/resources/notifications/client/Client.js +8 -8
  33. package/dist/api/resources/profiles/client/Client.js +7 -7
  34. package/dist/api/resources/templates/client/Client.js +1 -1
  35. package/dist/api/resources/tenants/client/Client.js +4 -4
  36. package/dist/api/resources/translations/client/Client.js +2 -2
  37. package/dist/api/resources/users/resources/preferences/client/Client.js +3 -3
  38. package/dist/api/resources/users/resources/tenants/client/Client.js +8 -8
  39. package/dist/api/resources/users/resources/tenants/client/requests/AddUserToSingleTenantsParams.d.ts +2 -1
  40. package/dist/api/resources/users/resources/tenants/types/AddUserToSingleTenantsParamsProfile.d.ts +14 -0
  41. package/dist/api/resources/users/resources/tenants/types/AddUserToSingleTenantsParamsProfile.js +5 -0
  42. package/dist/api/resources/users/resources/tenants/types/index.d.ts +1 -0
  43. package/dist/api/resources/users/resources/tenants/types/index.js +1 -0
  44. package/dist/api/resources/users/resources/tokens/client/Client.js +5 -5
  45. package/package.json +1 -1
@@ -58,13 +58,13 @@ class Tenants {
58
58
  var _a;
59
59
  return __awaiter(this, void 0, void 0, function* () {
60
60
  const _response = yield core.fetcher({
61
- url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.CourierEnvironment.Production, `/users/users/${userId}/tenants`),
61
+ url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.CourierEnvironment.Production, `users/${userId}/tenants`),
62
62
  method: "PUT",
63
63
  headers: {
64
64
  Authorization: yield this._getAuthorizationHeader(),
65
65
  "X-Fern-Language": "JavaScript",
66
66
  "X-Fern-SDK-Name": "@trycourier/courier",
67
- "X-Fern-SDK-Version": "v6.0.2",
67
+ "X-Fern-SDK-Version": "v6.0.3",
68
68
  },
69
69
  contentType: "application/json",
70
70
  body: request,
@@ -106,13 +106,13 @@ class Tenants {
106
106
  var _a;
107
107
  return __awaiter(this, void 0, void 0, function* () {
108
108
  const _response = yield core.fetcher({
109
- url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.CourierEnvironment.Production, `/users/users/${userId}/tenants/${tenantId}`),
109
+ url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.CourierEnvironment.Production, `users/${userId}/tenants/${tenantId}`),
110
110
  method: "PUT",
111
111
  headers: {
112
112
  Authorization: yield this._getAuthorizationHeader(),
113
113
  "X-Fern-Language": "JavaScript",
114
114
  "X-Fern-SDK-Name": "@trycourier/courier",
115
- "X-Fern-SDK-Version": "v6.0.2",
115
+ "X-Fern-SDK-Version": "v6.0.3",
116
116
  },
117
117
  contentType: "application/json",
118
118
  body: request,
@@ -150,13 +150,13 @@ class Tenants {
150
150
  var _a;
151
151
  return __awaiter(this, void 0, void 0, function* () {
152
152
  const _response = yield core.fetcher({
153
- url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.CourierEnvironment.Production, `/users/users/${userId}/tenants/${tenantId}`),
153
+ url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.CourierEnvironment.Production, `users/${userId}/tenants/${tenantId}`),
154
154
  method: "DELETE",
155
155
  headers: {
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.0.2",
159
+ "X-Fern-SDK-Version": "v6.0.3",
160
160
  },
161
161
  contentType: "application/json",
162
162
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -201,13 +201,13 @@ class Tenants {
201
201
  _queryParams["starting_after"] = startingAfter.toString();
202
202
  }
203
203
  const _response = yield core.fetcher({
204
- url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.CourierEnvironment.Production, `/users/users/${userId}/tenants`),
204
+ url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.CourierEnvironment.Production, `users/${userId}/tenants`),
205
205
  method: "GET",
206
206
  headers: {
207
207
  Authorization: yield this._getAuthorizationHeader(),
208
208
  "X-Fern-Language": "JavaScript",
209
209
  "X-Fern-SDK-Name": "@trycourier/courier",
210
- "X-Fern-SDK-Version": "v6.0.2",
210
+ "X-Fern-SDK-Version": "v6.0.3",
211
211
  },
212
212
  contentType: "application/json",
213
213
  queryParameters: _queryParams,
@@ -1,6 +1,7 @@
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 AddUserToSingleTenantsParams {
5
- profiles: Record<string, any>;
6
+ profile: Courier.users.AddUserToSingleTenantsParamsProfile;
6
7
  }
@@ -0,0 +1,14 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface AddUserToSingleTenantsParamsProfile {
5
+ title: string;
6
+ /** Email Address */
7
+ email: string;
8
+ /** A valid phone number */
9
+ phone_number: string;
10
+ /** The user's preferred ISO 639-1 language code. */
11
+ locale: string;
12
+ /** Additional provider specific fields may be specified. */
13
+ additional_fields: Record<string, any>;
14
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,2 +1,3 @@
1
+ export * from "./AddUserToSingleTenantsParamsProfile";
1
2
  export * from "./UserTenantAssociation";
2
3
  export * from "./ListTenantsForUserResponse";
@@ -14,5 +14,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./AddUserToSingleTenantsParamsProfile"), exports);
17
18
  __exportStar(require("./UserTenantAssociation"), exports);
18
19
  __exportStar(require("./ListTenantsForUserResponse"), exports);
@@ -62,7 +62,7 @@ class Tokens {
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.2",
65
+ "X-Fern-SDK-Version": "v6.0.3",
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 Tokens {
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.2",
114
+ "X-Fern-SDK-Version": "v6.0.3",
115
115
  },
116
116
  contentType: "application/json",
117
117
  body: request,
@@ -161,7 +161,7 @@ class Tokens {
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.2",
164
+ "X-Fern-SDK-Version": "v6.0.3",
165
165
  },
166
166
  contentType: "application/json",
167
167
  body: request,
@@ -211,7 +211,7 @@ class Tokens {
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.2",
214
+ "X-Fern-SDK-Version": "v6.0.3",
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 Tokens {
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.2",
263
+ "X-Fern-SDK-Version": "v6.0.3",
264
264
  },
265
265
  contentType: "application/json",
266
266
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
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.2",
77
+ "X-Fern-SDK-Version": "v6.0.3",
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.2",
64
+ "X-Fern-SDK-Version": "v6.0.3",
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.2",
107
+ "X-Fern-SDK-Version": "v6.0.3",
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.2",
151
+ "X-Fern-SDK-Version": "v6.0.3",
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.2",
200
+ "X-Fern-SDK-Version": "v6.0.3",
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.2",
255
+ "X-Fern-SDK-Version": "v6.0.3",
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.2",
68
+ "X-Fern-SDK-Version": "v6.0.3",
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.2",
112
+ "X-Fern-SDK-Version": "v6.0.3",
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.2",
63
+ "X-Fern-SDK-Version": "v6.0.3",
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.2",
63
+ "X-Fern-SDK-Version": "v6.0.3",
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()
@@ -108,7 +108,7 @@ class Automations {
108
108
  Authorization: yield this._getAuthorizationHeader(),
109
109
  "X-Fern-Language": "JavaScript",
110
110
  "X-Fern-SDK-Name": "@trycourier/courier",
111
- "X-Fern-SDK-Version": "v6.0.2",
111
+ "X-Fern-SDK-Version": "v6.0.3",
112
112
  "Idempotency-Key": (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.idempotencyKey) != null ? requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.idempotencyKey : undefined,
113
113
  "X-Idempotency-Expiration": (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.idempotencyExpiry) != null
114
114
  ? 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.2",
66
+ "X-Fern-SDK-Version": "v6.0.3",
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.2",
123
+ "X-Fern-SDK-Version": "v6.0.3",
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.2",
171
+ "X-Fern-SDK-Version": "v6.0.3",
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.2",
216
+ "X-Fern-SDK-Version": "v6.0.3",
217
217
  },
218
218
  contentType: "application/json",
219
219
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -261,7 +261,7 @@ class Brands {
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.0.2",
264
+ "X-Fern-SDK-Version": "v6.0.3",
265
265
  },
266
266
  contentType: "application/json",
267
267
  body: request,
@@ -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.2",
64
+ "X-Fern-SDK-Version": "v6.0.3",
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.2",
117
+ "X-Fern-SDK-Version": "v6.0.3",
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.2",
166
+ "X-Fern-SDK-Version": "v6.0.3",
167
167
  "Idempotency-Key": (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.idempotencyKey) != null ? requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.idempotencyKey : undefined,
168
168
  "X-Idempotency-Expiration": (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.idempotencyExpiry) != null
169
169
  ? requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.idempotencyExpiry.toString()
@@ -216,7 +216,7 @@ class Bulk {
216
216
  Authorization: yield this._getAuthorizationHeader(),
217
217
  "X-Fern-Language": "JavaScript",
218
218
  "X-Fern-SDK-Name": "@trycourier/courier",
219
- "X-Fern-SDK-Version": "v6.0.2",
219
+ "X-Fern-SDK-Version": "v6.0.3",
220
220
  },
221
221
  contentType: "application/json",
222
222
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -265,7 +265,7 @@ class Bulk {
265
265
  Authorization: yield this._getAuthorizationHeader(),
266
266
  "X-Fern-Language": "JavaScript",
267
267
  "X-Fern-SDK-Name": "@trycourier/courier",
268
- "X-Fern-SDK-Version": "v6.0.2",
268
+ "X-Fern-SDK-Version": "v6.0.3",
269
269
  },
270
270
  contentType: "application/json",
271
271
  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.2",
73
+ "X-Fern-SDK-Version": "v6.0.3",
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.2",
131
+ "X-Fern-SDK-Version": "v6.0.3",
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.2",
180
+ "X-Fern-SDK-Version": "v6.0.3",
181
181
  },
182
182
  contentType: "application/json",
183
183
  body: request,
@@ -221,7 +221,7 @@ class Lists {
221
221
  Authorization: yield this._getAuthorizationHeader(),
222
222
  "X-Fern-Language": "JavaScript",
223
223
  "X-Fern-SDK-Name": "@trycourier/courier",
224
- "X-Fern-SDK-Version": "v6.0.2",
224
+ "X-Fern-SDK-Version": "v6.0.3",
225
225
  },
226
226
  contentType: "application/json",
227
227
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -264,7 +264,7 @@ class Lists {
264
264
  Authorization: yield this._getAuthorizationHeader(),
265
265
  "X-Fern-Language": "JavaScript",
266
266
  "X-Fern-SDK-Name": "@trycourier/courier",
267
- "X-Fern-SDK-Version": "v6.0.2",
267
+ "X-Fern-SDK-Version": "v6.0.3",
268
268
  },
269
269
  contentType: "application/json",
270
270
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -313,7 +313,7 @@ class Lists {
313
313
  Authorization: yield this._getAuthorizationHeader(),
314
314
  "X-Fern-Language": "JavaScript",
315
315
  "X-Fern-SDK-Name": "@trycourier/courier",
316
- "X-Fern-SDK-Version": "v6.0.2",
316
+ "X-Fern-SDK-Version": "v6.0.3",
317
317
  },
318
318
  contentType: "application/json",
319
319
  queryParameters: _queryParams,
@@ -363,7 +363,7 @@ class Lists {
363
363
  Authorization: yield this._getAuthorizationHeader(),
364
364
  "X-Fern-Language": "JavaScript",
365
365
  "X-Fern-SDK-Name": "@trycourier/courier",
366
- "X-Fern-SDK-Version": "v6.0.2",
366
+ "X-Fern-SDK-Version": "v6.0.3",
367
367
  },
368
368
  contentType: "application/json",
369
369
  body: request,
@@ -413,7 +413,7 @@ class Lists {
413
413
  Authorization: yield this._getAuthorizationHeader(),
414
414
  "X-Fern-Language": "JavaScript",
415
415
  "X-Fern-SDK-Name": "@trycourier/courier",
416
- "X-Fern-SDK-Version": "v6.0.2",
416
+ "X-Fern-SDK-Version": "v6.0.3",
417
417
  "Idempotency-Key": (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.idempotencyKey) != null ? requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.idempotencyKey : undefined,
418
418
  "X-Idempotency-Expiration": (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.idempotencyExpiry) != null
419
419
  ? requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.idempotencyExpiry.toString()
@@ -466,7 +466,7 @@ class Lists {
466
466
  Authorization: yield this._getAuthorizationHeader(),
467
467
  "X-Fern-Language": "JavaScript",
468
468
  "X-Fern-SDK-Name": "@trycourier/courier",
469
- "X-Fern-SDK-Version": "v6.0.2",
469
+ "X-Fern-SDK-Version": "v6.0.3",
470
470
  },
471
471
  contentType: "application/json",
472
472
  body: request,
@@ -511,7 +511,7 @@ class Lists {
511
511
  Authorization: yield this._getAuthorizationHeader(),
512
512
  "X-Fern-Language": "JavaScript",
513
513
  "X-Fern-SDK-Name": "@trycourier/courier",
514
- "X-Fern-SDK-Version": "v6.0.2",
514
+ "X-Fern-SDK-Version": "v6.0.3",
515
515
  },
516
516
  contentType: "application/json",
517
517
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -96,7 +96,7 @@ class Messages {
96
96
  Authorization: yield this._getAuthorizationHeader(),
97
97
  "X-Fern-Language": "JavaScript",
98
98
  "X-Fern-SDK-Name": "@trycourier/courier",
99
- "X-Fern-SDK-Version": "v6.0.2",
99
+ "X-Fern-SDK-Version": "v6.0.3",
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.2",
145
+ "X-Fern-SDK-Version": "v6.0.3",
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.2",
195
+ "X-Fern-SDK-Version": "v6.0.3",
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.2",
249
+ "X-Fern-SDK-Version": "v6.0.3",
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.2",
301
+ "X-Fern-SDK-Version": "v6.0.3",
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.2",
348
+ "X-Fern-SDK-Version": "v6.0.3",
349
349
  },
350
350
  contentType: "application/json",
351
351
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -62,7 +62,7 @@ class Notifications {
62
62
  Authorization: yield this._getAuthorizationHeader(),
63
63
  "X-Fern-Language": "JavaScript",
64
64
  "X-Fern-SDK-Name": "@trycourier/courier",
65
- "X-Fern-SDK-Version": "v6.0.2",
65
+ "X-Fern-SDK-Version": "v6.0.3",
66
66
  },
67
67
  contentType: "application/json",
68
68
  queryParameters: _queryParams,
@@ -103,7 +103,7 @@ class Notifications {
103
103
  Authorization: yield this._getAuthorizationHeader(),
104
104
  "X-Fern-Language": "JavaScript",
105
105
  "X-Fern-SDK-Name": "@trycourier/courier",
106
- "X-Fern-SDK-Version": "v6.0.2",
106
+ "X-Fern-SDK-Version": "v6.0.3",
107
107
  },
108
108
  contentType: "application/json",
109
109
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -143,7 +143,7 @@ class Notifications {
143
143
  Authorization: yield this._getAuthorizationHeader(),
144
144
  "X-Fern-Language": "JavaScript",
145
145
  "X-Fern-SDK-Name": "@trycourier/courier",
146
- "X-Fern-SDK-Version": "v6.0.2",
146
+ "X-Fern-SDK-Version": "v6.0.3",
147
147
  },
148
148
  contentType: "application/json",
149
149
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -183,7 +183,7 @@ class Notifications {
183
183
  Authorization: yield this._getAuthorizationHeader(),
184
184
  "X-Fern-Language": "JavaScript",
185
185
  "X-Fern-SDK-Name": "@trycourier/courier",
186
- "X-Fern-SDK-Version": "v6.0.2",
186
+ "X-Fern-SDK-Version": "v6.0.3",
187
187
  },
188
188
  contentType: "application/json",
189
189
  body: request,
@@ -224,7 +224,7 @@ class Notifications {
224
224
  Authorization: yield this._getAuthorizationHeader(),
225
225
  "X-Fern-Language": "JavaScript",
226
226
  "X-Fern-SDK-Name": "@trycourier/courier",
227
- "X-Fern-SDK-Version": "v6.0.2",
227
+ "X-Fern-SDK-Version": "v6.0.3",
228
228
  },
229
229
  contentType: "application/json",
230
230
  body: request,
@@ -265,7 +265,7 @@ class Notifications {
265
265
  Authorization: yield this._getAuthorizationHeader(),
266
266
  "X-Fern-Language": "JavaScript",
267
267
  "X-Fern-SDK-Name": "@trycourier/courier",
268
- "X-Fern-SDK-Version": "v6.0.2",
268
+ "X-Fern-SDK-Version": "v6.0.3",
269
269
  },
270
270
  contentType: "application/json",
271
271
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -305,7 +305,7 @@ class Notifications {
305
305
  Authorization: yield this._getAuthorizationHeader(),
306
306
  "X-Fern-Language": "JavaScript",
307
307
  "X-Fern-SDK-Name": "@trycourier/courier",
308
- "X-Fern-SDK-Version": "v6.0.2",
308
+ "X-Fern-SDK-Version": "v6.0.3",
309
309
  },
310
310
  contentType: "application/json",
311
311
  body: request,
@@ -346,7 +346,7 @@ class Notifications {
346
346
  Authorization: yield this._getAuthorizationHeader(),
347
347
  "X-Fern-Language": "JavaScript",
348
348
  "X-Fern-SDK-Name": "@trycourier/courier",
349
- "X-Fern-SDK-Version": "v6.0.2",
349
+ "X-Fern-SDK-Version": "v6.0.3",
350
350
  },
351
351
  contentType: "application/json",
352
352
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,