@emilgroup/notification-sdk 0.8.1-beta.55 → 0.8.1-beta.59
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/README.md +2 -2
- package/api/email-mailboxes-api.ts +4 -2
- package/api/email-messages-api.ts +16 -8
- package/api/email-subscriptions-api.ts +24 -12
- package/api/email-tracking-api.ts +24 -12
- package/api/email-verifications-api.ts +8 -4
- package/api/layouts-api.ts +20 -10
- package/api/notification-templates-api.ts +20 -10
- package/api/notifications-api.ts +8 -4
- package/base.ts +174 -41
- package/configuration.ts +20 -0
- package/dist/api/email-mailboxes-api.js +7 -4
- package/dist/api/email-messages-api.js +25 -15
- package/dist/api/email-subscriptions-api.js +39 -23
- package/dist/api/email-tracking-api.js +36 -22
- package/dist/api/email-verifications-api.js +14 -8
- package/dist/api/layouts-api.js +29 -18
- package/dist/api/notification-templates-api.js +29 -18
- package/dist/api/notifications-api.js +14 -8
- package/dist/base.d.ts +24 -0
- package/dist/base.js +178 -59
- package/dist/configuration.d.ts +17 -0
- package/dist/configuration.js +2 -0
- package/package.json +1 -1
|
@@ -103,7 +103,7 @@ var EmailSubscriptionsApiAxiosParamCreator = function (configuration) {
|
|
|
103
103
|
catchUpEmailSubscription: function (id, authorization, options) {
|
|
104
104
|
if (options === void 0) { options = {}; }
|
|
105
105
|
return __awaiter(_this, void 0, void 0, function () {
|
|
106
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
106
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
107
107
|
return __generator(this, function (_a) {
|
|
108
108
|
switch (_a.label) {
|
|
109
109
|
case 0:
|
|
@@ -121,13 +121,16 @@ var EmailSubscriptionsApiAxiosParamCreator = function (configuration) {
|
|
|
121
121
|
localVarQueryParameter = {};
|
|
122
122
|
// authentication bearer required
|
|
123
123
|
// http bearer authentication required
|
|
124
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
124
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
125
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
126
|
+
];
|
|
125
127
|
case 1:
|
|
126
128
|
// authentication bearer required
|
|
127
129
|
// http bearer authentication required
|
|
128
130
|
_a.sent();
|
|
129
|
-
|
|
130
|
-
|
|
131
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
132
|
+
if (authorizationValue) {
|
|
133
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
131
134
|
}
|
|
132
135
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
133
136
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -151,7 +154,7 @@ var EmailSubscriptionsApiAxiosParamCreator = function (configuration) {
|
|
|
151
154
|
catchUpEmailSubscriptions: function (catchUpEmailSubscriptionsRequestDto, authorization, options) {
|
|
152
155
|
if (options === void 0) { options = {}; }
|
|
153
156
|
return __awaiter(_this, void 0, void 0, function () {
|
|
154
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
157
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
155
158
|
return __generator(this, function (_a) {
|
|
156
159
|
switch (_a.label) {
|
|
157
160
|
case 0:
|
|
@@ -168,13 +171,16 @@ var EmailSubscriptionsApiAxiosParamCreator = function (configuration) {
|
|
|
168
171
|
localVarQueryParameter = {};
|
|
169
172
|
// authentication bearer required
|
|
170
173
|
// http bearer authentication required
|
|
171
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
174
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
175
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
176
|
+
];
|
|
172
177
|
case 1:
|
|
173
178
|
// authentication bearer required
|
|
174
179
|
// http bearer authentication required
|
|
175
180
|
_a.sent();
|
|
176
|
-
|
|
177
|
-
|
|
181
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
182
|
+
if (authorizationValue) {
|
|
183
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
178
184
|
}
|
|
179
185
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
180
186
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -200,7 +206,7 @@ var EmailSubscriptionsApiAxiosParamCreator = function (configuration) {
|
|
|
200
206
|
getEmailSubscription: function (id, authorization, options) {
|
|
201
207
|
if (options === void 0) { options = {}; }
|
|
202
208
|
return __awaiter(_this, void 0, void 0, function () {
|
|
203
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
209
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
204
210
|
return __generator(this, function (_a) {
|
|
205
211
|
switch (_a.label) {
|
|
206
212
|
case 0:
|
|
@@ -218,13 +224,16 @@ var EmailSubscriptionsApiAxiosParamCreator = function (configuration) {
|
|
|
218
224
|
localVarQueryParameter = {};
|
|
219
225
|
// authentication bearer required
|
|
220
226
|
// http bearer authentication required
|
|
221
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
227
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
228
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
229
|
+
];
|
|
222
230
|
case 1:
|
|
223
231
|
// authentication bearer required
|
|
224
232
|
// http bearer authentication required
|
|
225
233
|
_a.sent();
|
|
226
|
-
|
|
227
|
-
|
|
234
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
235
|
+
if (authorizationValue) {
|
|
236
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
228
237
|
}
|
|
229
238
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
230
239
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -254,7 +263,7 @@ var EmailSubscriptionsApiAxiosParamCreator = function (configuration) {
|
|
|
254
263
|
listEmailSubscriptions: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
255
264
|
if (options === void 0) { options = {}; }
|
|
256
265
|
return __awaiter(_this, void 0, void 0, function () {
|
|
257
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
266
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
258
267
|
return __generator(this, function (_a) {
|
|
259
268
|
switch (_a.label) {
|
|
260
269
|
case 0:
|
|
@@ -295,8 +304,9 @@ var EmailSubscriptionsApiAxiosParamCreator = function (configuration) {
|
|
|
295
304
|
if (filters !== undefined) {
|
|
296
305
|
localVarQueryParameter['filters'] = filters;
|
|
297
306
|
}
|
|
298
|
-
|
|
299
|
-
|
|
307
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
308
|
+
if (authorizationValue) {
|
|
309
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
300
310
|
}
|
|
301
311
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
302
312
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -320,7 +330,7 @@ var EmailSubscriptionsApiAxiosParamCreator = function (configuration) {
|
|
|
320
330
|
reconcileEmailSubscriptions: function (reconcileEmailSubscriptionsRequestDto, authorization, options) {
|
|
321
331
|
if (options === void 0) { options = {}; }
|
|
322
332
|
return __awaiter(_this, void 0, void 0, function () {
|
|
323
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
333
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
324
334
|
return __generator(this, function (_a) {
|
|
325
335
|
switch (_a.label) {
|
|
326
336
|
case 0:
|
|
@@ -337,13 +347,16 @@ var EmailSubscriptionsApiAxiosParamCreator = function (configuration) {
|
|
|
337
347
|
localVarQueryParameter = {};
|
|
338
348
|
// authentication bearer required
|
|
339
349
|
// http bearer authentication required
|
|
340
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
350
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
351
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
352
|
+
];
|
|
341
353
|
case 1:
|
|
342
354
|
// authentication bearer required
|
|
343
355
|
// http bearer authentication required
|
|
344
356
|
_a.sent();
|
|
345
|
-
|
|
346
|
-
|
|
357
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
358
|
+
if (authorizationValue) {
|
|
359
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
347
360
|
}
|
|
348
361
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
349
362
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -369,7 +382,7 @@ var EmailSubscriptionsApiAxiosParamCreator = function (configuration) {
|
|
|
369
382
|
renewEmailSubscription: function (id, authorization, options) {
|
|
370
383
|
if (options === void 0) { options = {}; }
|
|
371
384
|
return __awaiter(_this, void 0, void 0, function () {
|
|
372
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
385
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
373
386
|
return __generator(this, function (_a) {
|
|
374
387
|
switch (_a.label) {
|
|
375
388
|
case 0:
|
|
@@ -387,13 +400,16 @@ var EmailSubscriptionsApiAxiosParamCreator = function (configuration) {
|
|
|
387
400
|
localVarQueryParameter = {};
|
|
388
401
|
// authentication bearer required
|
|
389
402
|
// http bearer authentication required
|
|
390
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
403
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
404
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
405
|
+
];
|
|
391
406
|
case 1:
|
|
392
407
|
// authentication bearer required
|
|
393
408
|
// http bearer authentication required
|
|
394
409
|
_a.sent();
|
|
395
|
-
|
|
396
|
-
|
|
410
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
411
|
+
if (authorizationValue) {
|
|
412
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
397
413
|
}
|
|
398
414
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
399
415
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -104,7 +104,7 @@ var EmailTrackingApiAxiosParamCreator = function (configuration) {
|
|
|
104
104
|
assignEntity: function (code, assignEmailThreadEntityBodyDto, authorization, options) {
|
|
105
105
|
if (options === void 0) { options = {}; }
|
|
106
106
|
return __awaiter(_this, void 0, void 0, function () {
|
|
107
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
107
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
108
108
|
return __generator(this, function (_a) {
|
|
109
109
|
switch (_a.label) {
|
|
110
110
|
case 0:
|
|
@@ -124,13 +124,16 @@ var EmailTrackingApiAxiosParamCreator = function (configuration) {
|
|
|
124
124
|
localVarQueryParameter = {};
|
|
125
125
|
// authentication bearer required
|
|
126
126
|
// http bearer authentication required
|
|
127
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
127
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
128
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
129
|
+
];
|
|
128
130
|
case 1:
|
|
129
131
|
// authentication bearer required
|
|
130
132
|
// http bearer authentication required
|
|
131
133
|
_a.sent();
|
|
132
|
-
|
|
133
|
-
|
|
134
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
135
|
+
if (authorizationValue) {
|
|
136
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
134
137
|
}
|
|
135
138
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
136
139
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -156,7 +159,7 @@ var EmailTrackingApiAxiosParamCreator = function (configuration) {
|
|
|
156
159
|
closeThread: function (code, authorization, options) {
|
|
157
160
|
if (options === void 0) { options = {}; }
|
|
158
161
|
return __awaiter(_this, void 0, void 0, function () {
|
|
159
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
162
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
160
163
|
return __generator(this, function (_a) {
|
|
161
164
|
switch (_a.label) {
|
|
162
165
|
case 0:
|
|
@@ -174,13 +177,16 @@ var EmailTrackingApiAxiosParamCreator = function (configuration) {
|
|
|
174
177
|
localVarQueryParameter = {};
|
|
175
178
|
// authentication bearer required
|
|
176
179
|
// http bearer authentication required
|
|
177
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
180
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
181
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
182
|
+
];
|
|
178
183
|
case 1:
|
|
179
184
|
// authentication bearer required
|
|
180
185
|
// http bearer authentication required
|
|
181
186
|
_a.sent();
|
|
182
|
-
|
|
183
|
-
|
|
187
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
188
|
+
if (authorizationValue) {
|
|
189
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
184
190
|
}
|
|
185
191
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
186
192
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -204,7 +210,7 @@ var EmailTrackingApiAxiosParamCreator = function (configuration) {
|
|
|
204
210
|
getThread: function (code, authorization, options) {
|
|
205
211
|
if (options === void 0) { options = {}; }
|
|
206
212
|
return __awaiter(_this, void 0, void 0, function () {
|
|
207
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
213
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
208
214
|
return __generator(this, function (_a) {
|
|
209
215
|
switch (_a.label) {
|
|
210
216
|
case 0:
|
|
@@ -222,13 +228,16 @@ var EmailTrackingApiAxiosParamCreator = function (configuration) {
|
|
|
222
228
|
localVarQueryParameter = {};
|
|
223
229
|
// authentication bearer required
|
|
224
230
|
// http bearer authentication required
|
|
225
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
231
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
232
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
233
|
+
];
|
|
226
234
|
case 1:
|
|
227
235
|
// authentication bearer required
|
|
228
236
|
// http bearer authentication required
|
|
229
237
|
_a.sent();
|
|
230
|
-
|
|
231
|
-
|
|
238
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
239
|
+
if (authorizationValue) {
|
|
240
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
232
241
|
}
|
|
233
242
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
234
243
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -256,7 +265,7 @@ var EmailTrackingApiAxiosParamCreator = function (configuration) {
|
|
|
256
265
|
listMessages: function (code, authorization, filter, filters, order, expand, options) {
|
|
257
266
|
if (options === void 0) { options = {}; }
|
|
258
267
|
return __awaiter(_this, void 0, void 0, function () {
|
|
259
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
268
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
260
269
|
return __generator(this, function (_a) {
|
|
261
270
|
switch (_a.label) {
|
|
262
271
|
case 0:
|
|
@@ -291,8 +300,9 @@ var EmailTrackingApiAxiosParamCreator = function (configuration) {
|
|
|
291
300
|
if (expand !== undefined) {
|
|
292
301
|
localVarQueryParameter['expand'] = expand;
|
|
293
302
|
}
|
|
294
|
-
|
|
295
|
-
|
|
303
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
304
|
+
if (authorizationValue) {
|
|
305
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
296
306
|
}
|
|
297
307
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
298
308
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -322,7 +332,7 @@ var EmailTrackingApiAxiosParamCreator = function (configuration) {
|
|
|
322
332
|
listThreads: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
323
333
|
if (options === void 0) { options = {}; }
|
|
324
334
|
return __awaiter(_this, void 0, void 0, function () {
|
|
325
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
335
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
326
336
|
return __generator(this, function (_a) {
|
|
327
337
|
switch (_a.label) {
|
|
328
338
|
case 0:
|
|
@@ -363,8 +373,9 @@ var EmailTrackingApiAxiosParamCreator = function (configuration) {
|
|
|
363
373
|
if (filters !== undefined) {
|
|
364
374
|
localVarQueryParameter['filters'] = filters;
|
|
365
375
|
}
|
|
366
|
-
|
|
367
|
-
|
|
376
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
377
|
+
if (authorizationValue) {
|
|
378
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
368
379
|
}
|
|
369
380
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
370
381
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -388,7 +399,7 @@ var EmailTrackingApiAxiosParamCreator = function (configuration) {
|
|
|
388
399
|
unassignEntity: function (code, authorization, options) {
|
|
389
400
|
if (options === void 0) { options = {}; }
|
|
390
401
|
return __awaiter(_this, void 0, void 0, function () {
|
|
391
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
402
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
392
403
|
return __generator(this, function (_a) {
|
|
393
404
|
switch (_a.label) {
|
|
394
405
|
case 0:
|
|
@@ -406,13 +417,16 @@ var EmailTrackingApiAxiosParamCreator = function (configuration) {
|
|
|
406
417
|
localVarQueryParameter = {};
|
|
407
418
|
// authentication bearer required
|
|
408
419
|
// http bearer authentication required
|
|
409
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
420
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
421
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
422
|
+
];
|
|
410
423
|
case 1:
|
|
411
424
|
// authentication bearer required
|
|
412
425
|
// http bearer authentication required
|
|
413
426
|
_a.sent();
|
|
414
|
-
|
|
415
|
-
|
|
427
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
428
|
+
if (authorizationValue) {
|
|
429
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
416
430
|
}
|
|
417
431
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
418
432
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -103,7 +103,7 @@ var EmailVerificationsApiAxiosParamCreator = function (configuration) {
|
|
|
103
103
|
completeEmailVerification: function (completeEmailVerificationDto, authorization, options) {
|
|
104
104
|
if (options === void 0) { options = {}; }
|
|
105
105
|
return __awaiter(_this, void 0, void 0, function () {
|
|
106
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
106
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
107
107
|
return __generator(this, function (_a) {
|
|
108
108
|
switch (_a.label) {
|
|
109
109
|
case 0:
|
|
@@ -120,13 +120,16 @@ var EmailVerificationsApiAxiosParamCreator = function (configuration) {
|
|
|
120
120
|
localVarQueryParameter = {};
|
|
121
121
|
// authentication bearer required
|
|
122
122
|
// http bearer authentication required
|
|
123
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
123
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
124
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
125
|
+
];
|
|
124
126
|
case 1:
|
|
125
127
|
// authentication bearer required
|
|
126
128
|
// http bearer authentication required
|
|
127
129
|
_a.sent();
|
|
128
|
-
|
|
129
|
-
|
|
130
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
131
|
+
if (authorizationValue) {
|
|
132
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
130
133
|
}
|
|
131
134
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
132
135
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -152,7 +155,7 @@ var EmailVerificationsApiAxiosParamCreator = function (configuration) {
|
|
|
152
155
|
initiateEmailVerification: function (initiateEmailVerificationDto, authorization, options) {
|
|
153
156
|
if (options === void 0) { options = {}; }
|
|
154
157
|
return __awaiter(_this, void 0, void 0, function () {
|
|
155
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
158
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
156
159
|
return __generator(this, function (_a) {
|
|
157
160
|
switch (_a.label) {
|
|
158
161
|
case 0:
|
|
@@ -169,13 +172,16 @@ var EmailVerificationsApiAxiosParamCreator = function (configuration) {
|
|
|
169
172
|
localVarQueryParameter = {};
|
|
170
173
|
// authentication bearer required
|
|
171
174
|
// http bearer authentication required
|
|
172
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
175
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
176
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
177
|
+
];
|
|
173
178
|
case 1:
|
|
174
179
|
// authentication bearer required
|
|
175
180
|
// http bearer authentication required
|
|
176
181
|
_a.sent();
|
|
177
|
-
|
|
178
|
-
|
|
182
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
183
|
+
if (authorizationValue) {
|
|
184
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
179
185
|
}
|
|
180
186
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
181
187
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
package/dist/api/layouts-api.js
CHANGED
|
@@ -103,7 +103,7 @@ var LayoutsApiAxiosParamCreator = function (configuration) {
|
|
|
103
103
|
createLayout: function (createLayoutRequestDto, authorization, options) {
|
|
104
104
|
if (options === void 0) { options = {}; }
|
|
105
105
|
return __awaiter(_this, void 0, void 0, function () {
|
|
106
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
106
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
107
107
|
return __generator(this, function (_a) {
|
|
108
108
|
switch (_a.label) {
|
|
109
109
|
case 0:
|
|
@@ -120,13 +120,16 @@ var LayoutsApiAxiosParamCreator = function (configuration) {
|
|
|
120
120
|
localVarQueryParameter = {};
|
|
121
121
|
// authentication bearer required
|
|
122
122
|
// http bearer authentication required
|
|
123
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
123
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
124
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
125
|
+
];
|
|
124
126
|
case 1:
|
|
125
127
|
// authentication bearer required
|
|
126
128
|
// http bearer authentication required
|
|
127
129
|
_a.sent();
|
|
128
|
-
|
|
129
|
-
|
|
130
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
131
|
+
if (authorizationValue) {
|
|
132
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
130
133
|
}
|
|
131
134
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
132
135
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -152,7 +155,7 @@ var LayoutsApiAxiosParamCreator = function (configuration) {
|
|
|
152
155
|
deleteLayout: function (id, authorization, options) {
|
|
153
156
|
if (options === void 0) { options = {}; }
|
|
154
157
|
return __awaiter(_this, void 0, void 0, function () {
|
|
155
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
158
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
156
159
|
return __generator(this, function (_a) {
|
|
157
160
|
switch (_a.label) {
|
|
158
161
|
case 0:
|
|
@@ -170,13 +173,16 @@ var LayoutsApiAxiosParamCreator = function (configuration) {
|
|
|
170
173
|
localVarQueryParameter = {};
|
|
171
174
|
// authentication bearer required
|
|
172
175
|
// http bearer authentication required
|
|
173
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
176
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
177
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
178
|
+
];
|
|
174
179
|
case 1:
|
|
175
180
|
// authentication bearer required
|
|
176
181
|
// http bearer authentication required
|
|
177
182
|
_a.sent();
|
|
178
|
-
|
|
179
|
-
|
|
183
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
184
|
+
if (authorizationValue) {
|
|
185
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
180
186
|
}
|
|
181
187
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
182
188
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -201,7 +207,7 @@ var LayoutsApiAxiosParamCreator = function (configuration) {
|
|
|
201
207
|
getLayout: function (id, id2, authorization, options) {
|
|
202
208
|
if (options === void 0) { options = {}; }
|
|
203
209
|
return __awaiter(_this, void 0, void 0, function () {
|
|
204
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
210
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
205
211
|
return __generator(this, function (_a) {
|
|
206
212
|
switch (_a.label) {
|
|
207
213
|
case 0:
|
|
@@ -229,8 +235,9 @@ var LayoutsApiAxiosParamCreator = function (configuration) {
|
|
|
229
235
|
if (id2 !== undefined) {
|
|
230
236
|
localVarQueryParameter['id'] = id2;
|
|
231
237
|
}
|
|
232
|
-
|
|
233
|
-
|
|
238
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
239
|
+
if (authorizationValue) {
|
|
240
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
234
241
|
}
|
|
235
242
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
236
243
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -260,7 +267,7 @@ var LayoutsApiAxiosParamCreator = function (configuration) {
|
|
|
260
267
|
listLayouts: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
261
268
|
if (options === void 0) { options = {}; }
|
|
262
269
|
return __awaiter(_this, void 0, void 0, function () {
|
|
263
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
270
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
264
271
|
return __generator(this, function (_a) {
|
|
265
272
|
switch (_a.label) {
|
|
266
273
|
case 0:
|
|
@@ -301,8 +308,9 @@ var LayoutsApiAxiosParamCreator = function (configuration) {
|
|
|
301
308
|
if (filters !== undefined) {
|
|
302
309
|
localVarQueryParameter['filters'] = filters;
|
|
303
310
|
}
|
|
304
|
-
|
|
305
|
-
|
|
311
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
312
|
+
if (authorizationValue) {
|
|
313
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
306
314
|
}
|
|
307
315
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
308
316
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -327,7 +335,7 @@ var LayoutsApiAxiosParamCreator = function (configuration) {
|
|
|
327
335
|
updateLayout: function (id, updateLayoutRequestDto, authorization, options) {
|
|
328
336
|
if (options === void 0) { options = {}; }
|
|
329
337
|
return __awaiter(_this, void 0, void 0, function () {
|
|
330
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
338
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
331
339
|
return __generator(this, function (_a) {
|
|
332
340
|
switch (_a.label) {
|
|
333
341
|
case 0:
|
|
@@ -347,13 +355,16 @@ var LayoutsApiAxiosParamCreator = function (configuration) {
|
|
|
347
355
|
localVarQueryParameter = {};
|
|
348
356
|
// authentication bearer required
|
|
349
357
|
// http bearer authentication required
|
|
350
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
358
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
359
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
360
|
+
];
|
|
351
361
|
case 1:
|
|
352
362
|
// authentication bearer required
|
|
353
363
|
// http bearer authentication required
|
|
354
364
|
_a.sent();
|
|
355
|
-
|
|
356
|
-
|
|
365
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
366
|
+
if (authorizationValue) {
|
|
367
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
357
368
|
}
|
|
358
369
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
359
370
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|