@trycourier/courier 6.2.2 → 6.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Client.d.ts +72 -11
- package/Client.js +73 -12
- package/api/client/requests/SendMessageRequest.d.ts +72 -11
- package/api/resources/audiences/client/Client.js +5 -5
- package/api/resources/auditEvents/client/Client.js +2 -2
- package/api/resources/authTokens/client/Client.js +1 -1
- package/api/resources/automations/client/Client.js +2 -2
- package/api/resources/brands/client/Client.d.ts +38 -4
- package/api/resources/brands/client/Client.js +43 -9
- package/api/resources/brands/client/requests/BrandUpdateParameters.d.ts +13 -2
- package/api/resources/bulk/client/Client.d.ts +92 -3
- package/api/resources/bulk/client/Client.js +97 -8
- package/api/resources/bulk/client/requests/BulkCreateJobParams.d.ts +71 -1
- package/api/resources/inbound/client/Client.js +1 -1
- package/api/resources/lists/client/Client.d.ts +8 -96
- package/api/resources/lists/client/Client.js +18 -106
- package/api/resources/lists/client/requests/AddSubscribersToList.d.ts +2 -24
- package/api/resources/lists/client/requests/SubscribeUserToListRequest.d.ts +2 -24
- package/api/resources/lists/client/requests/SubscribeUsersToListRequest.d.ts +2 -24
- package/api/resources/messages/client/Client.js +6 -6
- package/api/resources/notifications/client/Client.js +6 -6
- package/api/resources/profiles/client/Client.d.ts +20 -1
- package/api/resources/profiles/client/Client.js +69 -8
- package/api/resources/profiles/types/UserProfilePatch.d.ts +11 -0
- package/api/resources/profiles/types/UserProfilePatch.js +5 -0
- package/api/resources/profiles/types/index.d.ts +1 -0
- package/api/resources/profiles/types/index.js +1 -0
- package/api/resources/send/types/BaseMessage.d.ts +1 -1
- package/api/resources/send/types/Delay.d.ts +3 -1
- package/api/resources/templates/client/Client.js +1 -1
- package/api/resources/tenants/client/Client.d.ts +6 -1
- package/api/resources/tenants/client/Client.js +13 -8
- package/api/resources/tenants/client/requests/TenantCreateOrReplaceParams.d.ts +6 -1
- package/api/resources/translations/client/Client.js +2 -2
- package/api/resources/users/resources/preferences/client/Client.d.ts +10 -4
- package/api/resources/users/resources/preferences/client/Client.js +43 -8
- package/api/resources/users/resources/preferences/client/requests/UserPreferencesParams.d.ts +15 -0
- package/api/resources/users/resources/preferences/client/requests/UserPreferencesParams.js +5 -0
- package/api/resources/users/resources/preferences/client/requests/UserPreferencesTopicParams.d.ts +15 -0
- package/api/resources/users/resources/preferences/client/requests/UserPreferencesTopicParams.js +5 -0
- package/api/resources/users/resources/preferences/client/requests/UserPreferencesUpdateParams.d.ts +4 -0
- package/api/resources/users/resources/preferences/client/requests/index.d.ts +2 -0
- package/api/resources/users/resources/tenants/client/Client.js +5 -5
- package/api/resources/users/resources/tokens/client/Client.d.ts +5 -1
- package/api/resources/users/resources/tokens/client/Client.js +11 -7
- package/dist/Client.d.ts +72 -11
- package/dist/Client.js +73 -12
- package/dist/api/client/requests/SendMessageRequest.d.ts +72 -11
- package/dist/api/resources/audiences/client/Client.js +5 -5
- package/dist/api/resources/auditEvents/client/Client.js +2 -2
- package/dist/api/resources/authTokens/client/Client.js +1 -1
- package/dist/api/resources/automations/client/Client.js +2 -2
- package/dist/api/resources/brands/client/Client.d.ts +38 -4
- package/dist/api/resources/brands/client/Client.js +43 -9
- package/dist/api/resources/brands/client/requests/BrandUpdateParameters.d.ts +13 -2
- package/dist/api/resources/bulk/client/Client.d.ts +92 -3
- package/dist/api/resources/bulk/client/Client.js +97 -8
- package/dist/api/resources/bulk/client/requests/BulkCreateJobParams.d.ts +71 -1
- package/dist/api/resources/inbound/client/Client.js +1 -1
- package/dist/api/resources/lists/client/Client.d.ts +8 -96
- package/dist/api/resources/lists/client/Client.js +18 -106
- package/dist/api/resources/lists/client/requests/AddSubscribersToList.d.ts +2 -24
- package/dist/api/resources/lists/client/requests/SubscribeUserToListRequest.d.ts +2 -24
- package/dist/api/resources/lists/client/requests/SubscribeUsersToListRequest.d.ts +2 -24
- package/dist/api/resources/messages/client/Client.js +6 -6
- package/dist/api/resources/notifications/client/Client.js +6 -6
- package/dist/api/resources/profiles/client/Client.d.ts +20 -1
- package/dist/api/resources/profiles/client/Client.js +69 -8
- package/dist/api/resources/profiles/types/UserProfilePatch.d.ts +11 -0
- package/dist/api/resources/profiles/types/UserProfilePatch.js +5 -0
- package/dist/api/resources/profiles/types/index.d.ts +1 -0
- package/dist/api/resources/profiles/types/index.js +1 -0
- package/dist/api/resources/send/types/BaseMessage.d.ts +1 -1
- package/dist/api/resources/send/types/Delay.d.ts +3 -1
- package/dist/api/resources/templates/client/Client.js +1 -1
- package/dist/api/resources/tenants/client/Client.d.ts +6 -1
- package/dist/api/resources/tenants/client/Client.js +13 -8
- package/dist/api/resources/tenants/client/requests/TenantCreateOrReplaceParams.d.ts +6 -1
- package/dist/api/resources/translations/client/Client.js +2 -2
- package/dist/api/resources/users/resources/preferences/client/Client.d.ts +10 -4
- package/dist/api/resources/users/resources/preferences/client/Client.js +43 -8
- package/dist/api/resources/users/resources/preferences/client/requests/UserPreferencesParams.d.ts +15 -0
- package/dist/api/resources/users/resources/preferences/client/requests/UserPreferencesParams.js +5 -0
- package/dist/api/resources/users/resources/preferences/client/requests/UserPreferencesTopicParams.d.ts +15 -0
- package/dist/api/resources/users/resources/preferences/client/requests/UserPreferencesTopicParams.js +5 -0
- package/dist/api/resources/users/resources/preferences/client/requests/UserPreferencesUpdateParams.d.ts +4 -0
- package/dist/api/resources/users/resources/preferences/client/requests/index.d.ts +2 -0
- package/dist/api/resources/users/resources/tenants/client/Client.js +5 -5
- package/dist/api/resources/users/resources/tokens/client/Client.d.ts +5 -1
- package/dist/api/resources/users/resources/tokens/client/Client.js +11 -7
- package/package.json +1 -1
|
@@ -34,6 +34,17 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
34
34
|
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
35
35
|
});
|
|
36
36
|
};
|
|
37
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
38
|
+
var t = {};
|
|
39
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
40
|
+
t[p] = s[p];
|
|
41
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
42
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
43
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
44
|
+
t[p[i]] = s[p[i]];
|
|
45
|
+
}
|
|
46
|
+
return t;
|
|
47
|
+
};
|
|
37
48
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
38
49
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
39
50
|
};
|
|
@@ -52,16 +63,24 @@ class Preferences {
|
|
|
52
63
|
* Fetch all user preferences.
|
|
53
64
|
*
|
|
54
65
|
* @param {string} userId - A unique identifier associated with the user whose preferences you wish to retrieve.
|
|
66
|
+
* @param {Courier.users.UserPreferencesParams} request
|
|
55
67
|
* @param {Preferences.RequestOptions} requestOptions - Request-specific configuration.
|
|
56
68
|
*
|
|
57
69
|
* @throws {@link Courier.BadRequestError}
|
|
58
70
|
*
|
|
59
71
|
* @example
|
|
60
|
-
* await courier.users.preferences.list("string"
|
|
72
|
+
* await courier.users.preferences.list("string", {
|
|
73
|
+
* tenant_id: "string"
|
|
74
|
+
* })
|
|
61
75
|
*/
|
|
62
|
-
list(userId, requestOptions) {
|
|
76
|
+
list(userId, request = {}, requestOptions) {
|
|
63
77
|
var _a, _b;
|
|
64
78
|
return __awaiter(this, void 0, void 0, function* () {
|
|
79
|
+
const { tenant_id: tenantId } = request;
|
|
80
|
+
const _queryParams = {};
|
|
81
|
+
if (tenantId != null) {
|
|
82
|
+
_queryParams["tenant_id"] = tenantId;
|
|
83
|
+
}
|
|
65
84
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
66
85
|
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CourierEnvironment.Production, `/users/${encodeURIComponent(userId)}/preferences`),
|
|
67
86
|
method: "GET",
|
|
@@ -69,11 +88,12 @@ class Preferences {
|
|
|
69
88
|
Authorization: yield this._getAuthorizationHeader(),
|
|
70
89
|
"X-Fern-Language": "JavaScript",
|
|
71
90
|
"X-Fern-SDK-Name": "@trycourier/courier",
|
|
72
|
-
"X-Fern-SDK-Version": "v6.
|
|
91
|
+
"X-Fern-SDK-Version": "v6.3.0",
|
|
73
92
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
74
93
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
75
94
|
},
|
|
76
95
|
contentType: "application/json",
|
|
96
|
+
queryParameters: _queryParams,
|
|
77
97
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
78
98
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
79
99
|
});
|
|
@@ -111,16 +131,24 @@ class Preferences {
|
|
|
111
131
|
*
|
|
112
132
|
* @param {string} userId - A unique identifier associated with the user whose preferences you wish to retrieve.
|
|
113
133
|
* @param {string} topicId - A unique identifier associated with a subscription topic.
|
|
134
|
+
* @param {Courier.users.UserPreferencesTopicParams} request
|
|
114
135
|
* @param {Preferences.RequestOptions} requestOptions - Request-specific configuration.
|
|
115
136
|
*
|
|
116
137
|
* @throws {@link Courier.NotFoundError}
|
|
117
138
|
*
|
|
118
139
|
* @example
|
|
119
|
-
* await courier.users.preferences.get("string", "string"
|
|
140
|
+
* await courier.users.preferences.get("string", "string", {
|
|
141
|
+
* tenant_id: "string"
|
|
142
|
+
* })
|
|
120
143
|
*/
|
|
121
|
-
get(userId, topicId, requestOptions) {
|
|
144
|
+
get(userId, topicId, request = {}, requestOptions) {
|
|
122
145
|
var _a, _b;
|
|
123
146
|
return __awaiter(this, void 0, void 0, function* () {
|
|
147
|
+
const { tenant_id: tenantId } = request;
|
|
148
|
+
const _queryParams = {};
|
|
149
|
+
if (tenantId != null) {
|
|
150
|
+
_queryParams["tenant_id"] = tenantId;
|
|
151
|
+
}
|
|
124
152
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
125
153
|
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CourierEnvironment.Production, `/users/${encodeURIComponent(userId)}/preferences/${encodeURIComponent(topicId)}`),
|
|
126
154
|
method: "GET",
|
|
@@ -128,11 +156,12 @@ class Preferences {
|
|
|
128
156
|
Authorization: yield this._getAuthorizationHeader(),
|
|
129
157
|
"X-Fern-Language": "JavaScript",
|
|
130
158
|
"X-Fern-SDK-Name": "@trycourier/courier",
|
|
131
|
-
"X-Fern-SDK-Version": "v6.
|
|
159
|
+
"X-Fern-SDK-Version": "v6.3.0",
|
|
132
160
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
133
161
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
134
162
|
},
|
|
135
163
|
contentType: "application/json",
|
|
164
|
+
queryParameters: _queryParams,
|
|
136
165
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
137
166
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
138
167
|
});
|
|
@@ -187,6 +216,11 @@ class Preferences {
|
|
|
187
216
|
update(userId, topicId, request, requestOptions) {
|
|
188
217
|
var _a, _b;
|
|
189
218
|
return __awaiter(this, void 0, void 0, function* () {
|
|
219
|
+
const { tenant_id: tenantId } = request, _body = __rest(request, ["tenant_id"]);
|
|
220
|
+
const _queryParams = {};
|
|
221
|
+
if (tenantId != null) {
|
|
222
|
+
_queryParams["tenant_id"] = tenantId;
|
|
223
|
+
}
|
|
190
224
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
191
225
|
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CourierEnvironment.Production, `/users/${encodeURIComponent(userId)}/preferences/${encodeURIComponent(topicId)}`),
|
|
192
226
|
method: "PUT",
|
|
@@ -194,12 +228,13 @@ class Preferences {
|
|
|
194
228
|
Authorization: yield this._getAuthorizationHeader(),
|
|
195
229
|
"X-Fern-Language": "JavaScript",
|
|
196
230
|
"X-Fern-SDK-Name": "@trycourier/courier",
|
|
197
|
-
"X-Fern-SDK-Version": "v6.
|
|
231
|
+
"X-Fern-SDK-Version": "v6.3.0",
|
|
198
232
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
199
233
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
200
234
|
},
|
|
201
235
|
contentType: "application/json",
|
|
202
|
-
|
|
236
|
+
queryParameters: _queryParams,
|
|
237
|
+
body: _body,
|
|
203
238
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
204
239
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
205
240
|
});
|
package/dist/api/resources/users/resources/preferences/client/requests/UserPreferencesParams.d.ts
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* @example
|
|
6
|
+
* {
|
|
7
|
+
* tenant_id: "string"
|
|
8
|
+
* }
|
|
9
|
+
*/
|
|
10
|
+
export interface UserPreferencesParams {
|
|
11
|
+
/**
|
|
12
|
+
* Query the preferences of a user for this specific tenant context.
|
|
13
|
+
*/
|
|
14
|
+
tenant_id?: string;
|
|
15
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* @example
|
|
6
|
+
* {
|
|
7
|
+
* tenant_id: "string"
|
|
8
|
+
* }
|
|
9
|
+
*/
|
|
10
|
+
export interface UserPreferencesTopicParams {
|
|
11
|
+
/**
|
|
12
|
+
* Query the preferences of a user for this specific tenant context.
|
|
13
|
+
*/
|
|
14
|
+
tenant_id?: string;
|
|
15
|
+
}
|
|
@@ -13,5 +13,9 @@ import * as Courier from "../../../../../../index";
|
|
|
13
13
|
* }
|
|
14
14
|
*/
|
|
15
15
|
export interface UserPreferencesUpdateParams {
|
|
16
|
+
/**
|
|
17
|
+
* Update the preferences of a user for this specific tenant context.
|
|
18
|
+
*/
|
|
19
|
+
tenant_id?: string;
|
|
16
20
|
topic: Courier.users.TopicPreferenceUpdate;
|
|
17
21
|
}
|
|
@@ -82,7 +82,7 @@ class Tenants {
|
|
|
82
82
|
Authorization: yield this._getAuthorizationHeader(),
|
|
83
83
|
"X-Fern-Language": "JavaScript",
|
|
84
84
|
"X-Fern-SDK-Name": "@trycourier/courier",
|
|
85
|
-
"X-Fern-SDK-Version": "v6.
|
|
85
|
+
"X-Fern-SDK-Version": "v6.3.0",
|
|
86
86
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
87
87
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
88
88
|
},
|
|
@@ -146,7 +146,7 @@ class Tenants {
|
|
|
146
146
|
Authorization: yield this._getAuthorizationHeader(),
|
|
147
147
|
"X-Fern-Language": "JavaScript",
|
|
148
148
|
"X-Fern-SDK-Name": "@trycourier/courier",
|
|
149
|
-
"X-Fern-SDK-Version": "v6.
|
|
149
|
+
"X-Fern-SDK-Version": "v6.3.0",
|
|
150
150
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
151
151
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
152
152
|
},
|
|
@@ -198,7 +198,7 @@ class Tenants {
|
|
|
198
198
|
Authorization: yield this._getAuthorizationHeader(),
|
|
199
199
|
"X-Fern-Language": "JavaScript",
|
|
200
200
|
"X-Fern-SDK-Name": "@trycourier/courier",
|
|
201
|
-
"X-Fern-SDK-Version": "v6.
|
|
201
|
+
"X-Fern-SDK-Version": "v6.3.0",
|
|
202
202
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
203
203
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
204
204
|
},
|
|
@@ -250,7 +250,7 @@ class Tenants {
|
|
|
250
250
|
Authorization: yield this._getAuthorizationHeader(),
|
|
251
251
|
"X-Fern-Language": "JavaScript",
|
|
252
252
|
"X-Fern-SDK-Name": "@trycourier/courier",
|
|
253
|
-
"X-Fern-SDK-Version": "v6.
|
|
253
|
+
"X-Fern-SDK-Version": "v6.3.0",
|
|
254
254
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
255
255
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
256
256
|
},
|
|
@@ -313,7 +313,7 @@ class Tenants {
|
|
|
313
313
|
Authorization: yield this._getAuthorizationHeader(),
|
|
314
314
|
"X-Fern-Language": "JavaScript",
|
|
315
315
|
"X-Fern-SDK-Name": "@trycourier/courier",
|
|
316
|
-
"X-Fern-SDK-Version": "v6.
|
|
316
|
+
"X-Fern-SDK-Version": "v6.3.0",
|
|
317
317
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
318
318
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
319
319
|
},
|
|
@@ -77,7 +77,11 @@ export declare class Tokens {
|
|
|
77
77
|
*
|
|
78
78
|
* @example
|
|
79
79
|
* await courier.users.tokens.update("string", "string", {
|
|
80
|
-
* patch: [{
|
|
80
|
+
* patch: [{
|
|
81
|
+
* op: "string",
|
|
82
|
+
* path: "string",
|
|
83
|
+
* value: "string"
|
|
84
|
+
* }]
|
|
81
85
|
* })
|
|
82
86
|
*/
|
|
83
87
|
update(userId: string, token: string, request: Courier.users.PatchUserTokenOpts, requestOptions?: Tokens.RequestOptions): Promise<void>;
|
|
@@ -69,7 +69,7 @@ class Tokens {
|
|
|
69
69
|
Authorization: yield this._getAuthorizationHeader(),
|
|
70
70
|
"X-Fern-Language": "JavaScript",
|
|
71
71
|
"X-Fern-SDK-Name": "@trycourier/courier",
|
|
72
|
-
"X-Fern-SDK-Version": "v6.
|
|
72
|
+
"X-Fern-SDK-Version": "v6.3.0",
|
|
73
73
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
74
74
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
75
75
|
},
|
|
@@ -150,7 +150,7 @@ class Tokens {
|
|
|
150
150
|
Authorization: yield this._getAuthorizationHeader(),
|
|
151
151
|
"X-Fern-Language": "JavaScript",
|
|
152
152
|
"X-Fern-SDK-Name": "@trycourier/courier",
|
|
153
|
-
"X-Fern-SDK-Version": "v6.
|
|
153
|
+
"X-Fern-SDK-Version": "v6.3.0",
|
|
154
154
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
155
155
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
156
156
|
},
|
|
@@ -200,7 +200,11 @@ class Tokens {
|
|
|
200
200
|
*
|
|
201
201
|
* @example
|
|
202
202
|
* await courier.users.tokens.update("string", "string", {
|
|
203
|
-
* patch: [{
|
|
203
|
+
* patch: [{
|
|
204
|
+
* op: "string",
|
|
205
|
+
* path: "string",
|
|
206
|
+
* value: "string"
|
|
207
|
+
* }]
|
|
204
208
|
* })
|
|
205
209
|
*/
|
|
206
210
|
update(userId, token, request, requestOptions) {
|
|
@@ -213,7 +217,7 @@ class Tokens {
|
|
|
213
217
|
Authorization: yield this._getAuthorizationHeader(),
|
|
214
218
|
"X-Fern-Language": "JavaScript",
|
|
215
219
|
"X-Fern-SDK-Name": "@trycourier/courier",
|
|
216
|
-
"X-Fern-SDK-Version": "v6.
|
|
220
|
+
"X-Fern-SDK-Version": "v6.3.0",
|
|
217
221
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
218
222
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
219
223
|
},
|
|
@@ -273,7 +277,7 @@ class Tokens {
|
|
|
273
277
|
Authorization: yield this._getAuthorizationHeader(),
|
|
274
278
|
"X-Fern-Language": "JavaScript",
|
|
275
279
|
"X-Fern-SDK-Name": "@trycourier/courier",
|
|
276
|
-
"X-Fern-SDK-Version": "v6.
|
|
280
|
+
"X-Fern-SDK-Version": "v6.3.0",
|
|
277
281
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
278
282
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
279
283
|
},
|
|
@@ -331,7 +335,7 @@ class Tokens {
|
|
|
331
335
|
Authorization: yield this._getAuthorizationHeader(),
|
|
332
336
|
"X-Fern-Language": "JavaScript",
|
|
333
337
|
"X-Fern-SDK-Name": "@trycourier/courier",
|
|
334
|
-
"X-Fern-SDK-Version": "v6.
|
|
338
|
+
"X-Fern-SDK-Version": "v6.3.0",
|
|
335
339
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
336
340
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
337
341
|
},
|
|
@@ -386,7 +390,7 @@ class Tokens {
|
|
|
386
390
|
Authorization: yield this._getAuthorizationHeader(),
|
|
387
391
|
"X-Fern-Language": "JavaScript",
|
|
388
392
|
"X-Fern-SDK-Name": "@trycourier/courier",
|
|
389
|
-
"X-Fern-SDK-Version": "v6.
|
|
393
|
+
"X-Fern-SDK-Version": "v6.3.0",
|
|
390
394
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
391
395
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
392
396
|
},
|