@emilgroup/public-api-sdk 1.40.1-beta.27 → 1.40.1-beta.28

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 (47) hide show
  1. package/README.md +2 -2
  2. package/api/address-completions-validations-api.ts +6 -16
  3. package/api/booking-funnels-api.ts +3 -8
  4. package/api/documents-api.ts +21 -56
  5. package/api/health-api.ts +1 -1
  6. package/api/ibanvalidator-api.ts +3 -8
  7. package/api/leads-api.ts +24 -64
  8. package/api/named-ranges-api.ts +3 -8
  9. package/api/notifications-api.ts +9 -24
  10. package/api/partners-api.ts +3 -8
  11. package/api/payments-setup-api.ts +20 -60
  12. package/api/product-versions-api.ts +12 -32
  13. package/api/products-api.ts +27 -72
  14. package/base.ts +54 -310
  15. package/common.ts +2 -3
  16. package/configuration.ts +0 -20
  17. package/dist/api/address-completions-validations-api.d.ts +2 -2
  18. package/dist/api/address-completions-validations-api.js +14 -22
  19. package/dist/api/booking-funnels-api.d.ts +1 -1
  20. package/dist/api/booking-funnels-api.js +7 -11
  21. package/dist/api/documents-api.d.ts +7 -7
  22. package/dist/api/documents-api.js +53 -93
  23. package/dist/api/health-api.d.ts +1 -1
  24. package/dist/api/health-api.js +1 -1
  25. package/dist/api/ibanvalidator-api.d.ts +1 -1
  26. package/dist/api/ibanvalidator-api.js +8 -15
  27. package/dist/api/leads-api.d.ts +8 -8
  28. package/dist/api/leads-api.js +64 -120
  29. package/dist/api/named-ranges-api.d.ts +1 -1
  30. package/dist/api/named-ranges-api.js +7 -11
  31. package/dist/api/notifications-api.d.ts +3 -3
  32. package/dist/api/notifications-api.js +24 -45
  33. package/dist/api/partners-api.d.ts +1 -1
  34. package/dist/api/partners-api.js +8 -15
  35. package/dist/api/payments-setup-api.d.ts +4 -4
  36. package/dist/api/payments-setup-api.js +40 -80
  37. package/dist/api/product-versions-api.d.ts +4 -4
  38. package/dist/api/product-versions-api.js +31 -56
  39. package/dist/api/products-api.d.ts +9 -9
  40. package/dist/api/products-api.js +68 -119
  41. package/dist/base.d.ts +0 -33
  42. package/dist/base.js +72 -308
  43. package/dist/common.d.ts +1 -1
  44. package/dist/common.js +0 -1
  45. package/dist/configuration.d.ts +0 -17
  46. package/dist/configuration.js +0 -2
  47. package/package.json +2 -2
@@ -103,10 +103,9 @@ var LeadsApiAxiosParamCreator = function (configuration) {
103
103
  createLead: function (createLeadRequestDto, 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, authorizationIsAuth, authorizationValue, authorizationKeepEmpty, headersFromBaseOptions;
107
- var _a;
108
- return __generator(this, function (_b) {
109
- switch (_b.label) {
106
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
107
+ return __generator(this, function (_a) {
108
+ switch (_a.label) {
110
109
  case 0:
111
110
  // verify required parameter 'createLeadRequestDto' is not null or undefined
112
111
  (0, common_1.assertParamExists)('createLead', 'createLeadRequestDto', createLeadRequestDto);
@@ -121,19 +120,13 @@ var LeadsApiAxiosParamCreator = function (configuration) {
121
120
  localVarQueryParameter = {};
122
121
  // authentication bearer required
123
122
  // http bearer authentication required
124
- return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
125
- // Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
126
- // no token is stored, so a refused call still refreshes; a session call (account header) sends none.
127
- ];
123
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
128
124
  case 1:
129
125
  // authentication bearer required
130
126
  // http bearer authentication required
131
- _b.sent();
132
- authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
133
- authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
134
- authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
135
- if (authorizationValue || authorizationKeepEmpty) {
136
- localVarHeaderParameter['Authorization'] = String(authorizationValue);
127
+ _a.sent();
128
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
129
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
137
130
  }
138
131
  localVarHeaderParameter['Content-Type'] = 'application/json';
139
132
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
@@ -159,10 +152,9 @@ var LeadsApiAxiosParamCreator = function (configuration) {
159
152
  createLeadAsync: function (createLeadRequestDto, authorization, options) {
160
153
  if (options === void 0) { options = {}; }
161
154
  return __awaiter(_this, void 0, void 0, function () {
162
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationIsAuth, authorizationValue, authorizationKeepEmpty, headersFromBaseOptions;
163
- var _a;
164
- return __generator(this, function (_b) {
165
- switch (_b.label) {
155
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
156
+ return __generator(this, function (_a) {
157
+ switch (_a.label) {
166
158
  case 0:
167
159
  // verify required parameter 'createLeadRequestDto' is not null or undefined
168
160
  (0, common_1.assertParamExists)('createLeadAsync', 'createLeadRequestDto', createLeadRequestDto);
@@ -177,19 +169,13 @@ var LeadsApiAxiosParamCreator = function (configuration) {
177
169
  localVarQueryParameter = {};
178
170
  // authentication bearer required
179
171
  // http bearer authentication required
180
- return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
181
- // Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
182
- // no token is stored, so a refused call still refreshes; a session call (account header) sends none.
183
- ];
172
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
184
173
  case 1:
185
174
  // authentication bearer required
186
175
  // http bearer authentication required
187
- _b.sent();
188
- authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
189
- authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
190
- authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
191
- if (authorizationValue || authorizationKeepEmpty) {
192
- localVarHeaderParameter['Authorization'] = String(authorizationValue);
176
+ _a.sent();
177
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
178
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
193
179
  }
194
180
  localVarHeaderParameter['Content-Type'] = 'application/json';
195
181
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
@@ -215,10 +201,9 @@ var LeadsApiAxiosParamCreator = function (configuration) {
215
201
  createLeadSync: function (createLeadRequestDto, authorization, options) {
216
202
  if (options === void 0) { options = {}; }
217
203
  return __awaiter(_this, void 0, void 0, function () {
218
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationIsAuth, authorizationValue, authorizationKeepEmpty, headersFromBaseOptions;
219
- var _a;
220
- return __generator(this, function (_b) {
221
- switch (_b.label) {
204
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
205
+ return __generator(this, function (_a) {
206
+ switch (_a.label) {
222
207
  case 0:
223
208
  // verify required parameter 'createLeadRequestDto' is not null or undefined
224
209
  (0, common_1.assertParamExists)('createLeadSync', 'createLeadRequestDto', createLeadRequestDto);
@@ -233,19 +218,13 @@ var LeadsApiAxiosParamCreator = function (configuration) {
233
218
  localVarQueryParameter = {};
234
219
  // authentication bearer required
235
220
  // http bearer authentication required
236
- return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
237
- // Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
238
- // no token is stored, so a refused call still refreshes; a session call (account header) sends none.
239
- ];
221
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
240
222
  case 1:
241
223
  // authentication bearer required
242
224
  // http bearer authentication required
243
- _b.sent();
244
- authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
245
- authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
246
- authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
247
- if (authorizationValue || authorizationKeepEmpty) {
248
- localVarHeaderParameter['Authorization'] = String(authorizationValue);
225
+ _a.sent();
226
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
227
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
249
228
  }
250
229
  localVarHeaderParameter['Content-Type'] = 'application/json';
251
230
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
@@ -271,10 +250,9 @@ var LeadsApiAxiosParamCreator = function (configuration) {
271
250
  getLead: function (code, authorization, options) {
272
251
  if (options === void 0) { options = {}; }
273
252
  return __awaiter(_this, void 0, void 0, function () {
274
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationIsAuth, authorizationValue, authorizationKeepEmpty, headersFromBaseOptions;
275
- var _a;
276
- return __generator(this, function (_b) {
277
- switch (_b.label) {
253
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
254
+ return __generator(this, function (_a) {
255
+ switch (_a.label) {
278
256
  case 0:
279
257
  // verify required parameter 'code' is not null or undefined
280
258
  (0, common_1.assertParamExists)('getLead', 'code', code);
@@ -290,19 +268,13 @@ var LeadsApiAxiosParamCreator = function (configuration) {
290
268
  localVarQueryParameter = {};
291
269
  // authentication bearer required
292
270
  // http bearer authentication required
293
- return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
294
- // Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
295
- // no token is stored, so a refused call still refreshes; a session call (account header) sends none.
296
- ];
271
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
297
272
  case 1:
298
273
  // authentication bearer required
299
274
  // http bearer authentication required
300
- _b.sent();
301
- authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
302
- authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
303
- authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
304
- if (authorizationValue || authorizationKeepEmpty) {
305
- localVarHeaderParameter['Authorization'] = String(authorizationValue);
275
+ _a.sent();
276
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
277
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
306
278
  }
307
279
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
308
280
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -325,10 +297,9 @@ var LeadsApiAxiosParamCreator = function (configuration) {
325
297
  initiateLead: function (authorization, options) {
326
298
  if (options === void 0) { options = {}; }
327
299
  return __awaiter(_this, void 0, void 0, function () {
328
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationIsAuth, authorizationValue, authorizationKeepEmpty, headersFromBaseOptions;
329
- var _a;
330
- return __generator(this, function (_b) {
331
- switch (_b.label) {
300
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
301
+ return __generator(this, function (_a) {
302
+ switch (_a.label) {
332
303
  case 0:
333
304
  localVarPath = "/publicapi/v1/leads/initiate";
334
305
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -341,19 +312,13 @@ var LeadsApiAxiosParamCreator = function (configuration) {
341
312
  localVarQueryParameter = {};
342
313
  // authentication bearer required
343
314
  // http bearer authentication required
344
- return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
345
- // Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
346
- // no token is stored, so a refused call still refreshes; a session call (account header) sends none.
347
- ];
315
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
348
316
  case 1:
349
317
  // authentication bearer required
350
318
  // http bearer authentication required
351
- _b.sent();
352
- authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
353
- authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
354
- authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
355
- if (authorizationValue || authorizationKeepEmpty) {
356
- localVarHeaderParameter['Authorization'] = String(authorizationValue);
319
+ _a.sent();
320
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
321
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
357
322
  }
358
323
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
359
324
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -377,10 +342,9 @@ var LeadsApiAxiosParamCreator = function (configuration) {
377
342
  initiateLeadWithProduct: function (productSlug, authorization, options) {
378
343
  if (options === void 0) { options = {}; }
379
344
  return __awaiter(_this, void 0, void 0, function () {
380
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationIsAuth, authorizationValue, authorizationKeepEmpty, headersFromBaseOptions;
381
- var _a;
382
- return __generator(this, function (_b) {
383
- switch (_b.label) {
345
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
346
+ return __generator(this, function (_a) {
347
+ switch (_a.label) {
384
348
  case 0:
385
349
  // verify required parameter 'productSlug' is not null or undefined
386
350
  (0, common_1.assertParamExists)('initiateLeadWithProduct', 'productSlug', productSlug);
@@ -396,19 +360,13 @@ var LeadsApiAxiosParamCreator = function (configuration) {
396
360
  localVarQueryParameter = {};
397
361
  // authentication bearer required
398
362
  // http bearer authentication required
399
- return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
400
- // Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
401
- // no token is stored, so a refused call still refreshes; a session call (account header) sends none.
402
- ];
363
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
403
364
  case 1:
404
365
  // authentication bearer required
405
366
  // http bearer authentication required
406
- _b.sent();
407
- authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
408
- authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
409
- authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
410
- if (authorizationValue || authorizationKeepEmpty) {
411
- localVarHeaderParameter['Authorization'] = String(authorizationValue);
367
+ _a.sent();
368
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
369
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
412
370
  }
413
371
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
414
372
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -433,10 +391,9 @@ var LeadsApiAxiosParamCreator = function (configuration) {
433
391
  updateLead: function (code, updateLeadRequestDto, authorization, options) {
434
392
  if (options === void 0) { options = {}; }
435
393
  return __awaiter(_this, void 0, void 0, function () {
436
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationIsAuth, authorizationValue, authorizationKeepEmpty, headersFromBaseOptions;
437
- var _a;
438
- return __generator(this, function (_b) {
439
- switch (_b.label) {
394
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
395
+ return __generator(this, function (_a) {
396
+ switch (_a.label) {
440
397
  case 0:
441
398
  // verify required parameter 'code' is not null or undefined
442
399
  (0, common_1.assertParamExists)('updateLead', 'code', code);
@@ -454,19 +411,13 @@ var LeadsApiAxiosParamCreator = function (configuration) {
454
411
  localVarQueryParameter = {};
455
412
  // authentication bearer required
456
413
  // http bearer authentication required
457
- return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
458
- // Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
459
- // no token is stored, so a refused call still refreshes; a session call (account header) sends none.
460
- ];
414
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
461
415
  case 1:
462
416
  // authentication bearer required
463
417
  // http bearer authentication required
464
- _b.sent();
465
- authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
466
- authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
467
- authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
468
- if (authorizationValue || authorizationKeepEmpty) {
469
- localVarHeaderParameter['Authorization'] = String(authorizationValue);
418
+ _a.sent();
419
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
420
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
470
421
  }
471
422
  localVarHeaderParameter['Content-Type'] = 'application/json';
472
423
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
@@ -493,10 +444,9 @@ var LeadsApiAxiosParamCreator = function (configuration) {
493
444
  updateLeadSync: function (code, updateLeadRequestDto, authorization, options) {
494
445
  if (options === void 0) { options = {}; }
495
446
  return __awaiter(_this, void 0, void 0, function () {
496
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationIsAuth, authorizationValue, authorizationKeepEmpty, headersFromBaseOptions;
497
- var _a;
498
- return __generator(this, function (_b) {
499
- switch (_b.label) {
447
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
448
+ return __generator(this, function (_a) {
449
+ switch (_a.label) {
500
450
  case 0:
501
451
  // verify required parameter 'code' is not null or undefined
502
452
  (0, common_1.assertParamExists)('updateLeadSync', 'code', code);
@@ -514,19 +464,13 @@ var LeadsApiAxiosParamCreator = function (configuration) {
514
464
  localVarQueryParameter = {};
515
465
  // authentication bearer required
516
466
  // http bearer authentication required
517
- return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
518
- // Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
519
- // no token is stored, so a refused call still refreshes; a session call (account header) sends none.
520
- ];
467
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
521
468
  case 1:
522
469
  // authentication bearer required
523
470
  // http bearer authentication required
524
- _b.sent();
525
- authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
526
- authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
527
- authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
528
- if (authorizationValue || authorizationKeepEmpty) {
529
- localVarHeaderParameter['Authorization'] = String(authorizationValue);
471
+ _a.sent();
472
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
473
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
530
474
  }
531
475
  localVarHeaderParameter['Content-Type'] = 'application/json';
532
476
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
@@ -843,7 +787,7 @@ var LeadsApi = /** @class */ (function (_super) {
843
787
  */
844
788
  LeadsApi.prototype.createLead = function (requestParameters, options) {
845
789
  var _this = this;
846
- return (0, exports.LeadsApiFp)(this.configuration).createLead(requestParameters.createLeadRequestDto, requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
790
+ return (0, exports.LeadsApiFp)(this.configuration).createLead(requestParameters.createLeadRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
847
791
  };
848
792
  /**
849
793
  * This will send the lead to the queue for creation. Should be used when creating multiple leads at the same time - also called \'batch processing\'.
@@ -855,7 +799,7 @@ var LeadsApi = /** @class */ (function (_super) {
855
799
  */
856
800
  LeadsApi.prototype.createLeadAsync = function (requestParameters, options) {
857
801
  var _this = this;
858
- return (0, exports.LeadsApiFp)(this.configuration).createLeadAsync(requestParameters.createLeadRequestDto, requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
802
+ return (0, exports.LeadsApiFp)(this.configuration).createLeadAsync(requestParameters.createLeadRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
859
803
  };
860
804
  /**
861
805
  * This endpoint initiates the creation of a lead, which is the initial step in a comprehensive workflow responsible for the creation of an account, policy, and banking information. Unlike the standard lead creation endpoint, this variant ensures that the process waits until the entire workflow is successfully completed before providing a response.
@@ -867,7 +811,7 @@ var LeadsApi = /** @class */ (function (_super) {
867
811
  */
868
812
  LeadsApi.prototype.createLeadSync = function (requestParameters, options) {
869
813
  var _this = this;
870
- return (0, exports.LeadsApiFp)(this.configuration).createLeadSync(requestParameters.createLeadRequestDto, requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
814
+ return (0, exports.LeadsApiFp)(this.configuration).createLeadSync(requestParameters.createLeadRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
871
815
  };
872
816
  /**
873
817
  * Retrieves the details of the lead that was previously created. Supply the unique lead code that was returned when you created it and Emil Api will return the corresponding lead information.
@@ -879,7 +823,7 @@ var LeadsApi = /** @class */ (function (_super) {
879
823
  */
880
824
  LeadsApi.prototype.getLead = function (requestParameters, options) {
881
825
  var _this = this;
882
- return (0, exports.LeadsApiFp)(this.configuration).getLead(requestParameters.code, requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
826
+ return (0, exports.LeadsApiFp)(this.configuration).getLead(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
883
827
  };
884
828
  /**
885
829
  * This will initiate a lead code.
@@ -892,7 +836,7 @@ var LeadsApi = /** @class */ (function (_super) {
892
836
  LeadsApi.prototype.initiateLead = function (requestParameters, options) {
893
837
  var _this = this;
894
838
  if (requestParameters === void 0) { requestParameters = {}; }
895
- return (0, exports.LeadsApiFp)(this.configuration).initiateLead(requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
839
+ return (0, exports.LeadsApiFp)(this.configuration).initiateLead(requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
896
840
  };
897
841
  /**
898
842
  * This will initiate a lead code for the specified product.
@@ -904,7 +848,7 @@ var LeadsApi = /** @class */ (function (_super) {
904
848
  */
905
849
  LeadsApi.prototype.initiateLeadWithProduct = function (requestParameters, options) {
906
850
  var _this = this;
907
- return (0, exports.LeadsApiFp)(this.configuration).initiateLeadWithProduct(requestParameters.productSlug, requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
851
+ return (0, exports.LeadsApiFp)(this.configuration).initiateLeadWithProduct(requestParameters.productSlug, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
908
852
  };
909
853
  /**
910
854
  * Updates the specified lead by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
@@ -916,7 +860,7 @@ var LeadsApi = /** @class */ (function (_super) {
916
860
  */
917
861
  LeadsApi.prototype.updateLead = function (requestParameters, options) {
918
862
  var _this = this;
919
- return (0, exports.LeadsApiFp)(this.configuration).updateLead(requestParameters.code, requestParameters.updateLeadRequestDto, requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
863
+ return (0, exports.LeadsApiFp)(this.configuration).updateLead(requestParameters.code, requestParameters.updateLeadRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
920
864
  };
921
865
  /**
922
866
  * Updates the specified lead by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
@@ -928,7 +872,7 @@ var LeadsApi = /** @class */ (function (_super) {
928
872
  */
929
873
  LeadsApi.prototype.updateLeadSync = function (requestParameters, options) {
930
874
  var _this = this;
931
- return (0, exports.LeadsApiFp)(this.configuration).updateLeadSync(requestParameters.code, requestParameters.updateLeadRequestDto, requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
875
+ return (0, exports.LeadsApiFp)(this.configuration).updateLeadSync(requestParameters.code, requestParameters.updateLeadRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
932
876
  };
933
877
  return LeadsApi;
934
878
  }(base_1.BaseAPI));
@@ -155,5 +155,5 @@ export declare class NamedRangesApi extends BaseAPI {
155
155
  * @throws {RequiredError}
156
156
  * @memberof NamedRangesApi
157
157
  */
158
- filterNamedRange(requestParameters: NamedRangesApiFilterNamedRangeRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<FilterNamedRangeResponseClass, any, {}, any>>;
158
+ filterNamedRange(requestParameters: NamedRangesApiFilterNamedRangeRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<FilterNamedRangeResponseClass, any, {}>>;
159
159
  }
@@ -110,10 +110,9 @@ var NamedRangesApiAxiosParamCreator = function (configuration) {
110
110
  filterNamedRange: function (productSlug, name, authorization, productVersionId, pageSize, pageToken, filters, search, order, options) {
111
111
  if (options === void 0) { options = {}; }
112
112
  return __awaiter(_this, void 0, void 0, function () {
113
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationIsAuth, authorizationValue, authorizationKeepEmpty, headersFromBaseOptions;
114
- var _a;
115
- return __generator(this, function (_b) {
116
- switch (_b.label) {
113
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
114
+ return __generator(this, function (_a) {
115
+ switch (_a.label) {
117
116
  case 0:
118
117
  // verify required parameter 'productSlug' is not null or undefined
119
118
  (0, common_1.assertParamExists)('filterNamedRange', 'productSlug', productSlug);
@@ -134,7 +133,7 @@ var NamedRangesApiAxiosParamCreator = function (configuration) {
134
133
  case 1:
135
134
  // authentication bearer required
136
135
  // http bearer authentication required
137
- _b.sent();
136
+ _a.sent();
138
137
  if (productSlug !== undefined) {
139
138
  localVarQueryParameter['productSlug'] = productSlug;
140
139
  }
@@ -159,11 +158,8 @@ var NamedRangesApiAxiosParamCreator = function (configuration) {
159
158
  if (order !== undefined) {
160
159
  localVarQueryParameter['order'] = order;
161
160
  }
162
- authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
163
- authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
164
- authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
165
- if (authorizationValue || authorizationKeepEmpty) {
166
- localVarHeaderParameter['Authorization'] = String(authorizationValue);
161
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
162
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
167
163
  }
168
164
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
169
165
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -266,7 +262,7 @@ var NamedRangesApi = /** @class */ (function (_super) {
266
262
  */
267
263
  NamedRangesApi.prototype.filterNamedRange = function (requestParameters, options) {
268
264
  var _this = this;
269
- return (0, exports.NamedRangesApiFp)(this.configuration).filterNamedRange(requestParameters.productSlug, requestParameters.name, requestParameters.authorization, requestParameters.productVersionId, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filters, requestParameters.search, requestParameters.order, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
265
+ return (0, exports.NamedRangesApiFp)(this.configuration).filterNamedRange(requestParameters.productSlug, requestParameters.name, requestParameters.authorization, requestParameters.productVersionId, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filters, requestParameters.search, requestParameters.order, options).then(function (request) { return request(_this.axios, _this.basePath); });
270
266
  };
271
267
  return NamedRangesApi;
272
268
  }(base_1.BaseAPI));
@@ -189,7 +189,7 @@ export declare class NotificationsApi extends BaseAPI {
189
189
  * @throws {RequiredError}
190
190
  * @memberof NotificationsApi
191
191
  */
192
- completeEmailVerification(requestParameters: NotificationsApiCompleteEmailVerificationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CompleteEmailVerificationResponseClass, any, {}, any>>;
192
+ completeEmailVerification(requestParameters: NotificationsApiCompleteEmailVerificationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CompleteEmailVerificationResponseClass, any, {}>>;
193
193
  /**
194
194
  * This sends an email to the specific recipient set to receive verification code.
195
195
  * @summary Initiate Email Verification.
@@ -198,7 +198,7 @@ export declare class NotificationsApi extends BaseAPI {
198
198
  * @throws {RequiredError}
199
199
  * @memberof NotificationsApi
200
200
  */
201
- initiateEmailVerification(requestParameters: NotificationsApiInitiateEmailVerificationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InitiateEmailVerificationResponseClass, any, {}, any>>;
201
+ initiateEmailVerification(requestParameters: NotificationsApiInitiateEmailVerificationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InitiateEmailVerificationResponseClass, any, {}>>;
202
202
  /**
203
203
  * This sends an email to the specific recipient set to receive customers\' messages.
204
204
  * @summary Send an email.
@@ -207,5 +207,5 @@ export declare class NotificationsApi extends BaseAPI {
207
207
  * @throws {RequiredError}
208
208
  * @memberof NotificationsApi
209
209
  */
210
- sendNotification(requestParameters: NotificationsApiSendNotificationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SendNotificationResponseClass, any, {}, any>>;
210
+ sendNotification(requestParameters: NotificationsApiSendNotificationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SendNotificationResponseClass, any, {}>>;
211
211
  }
@@ -103,10 +103,9 @@ var NotificationsApiAxiosParamCreator = 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, authorizationIsAuth, authorizationValue, authorizationKeepEmpty, headersFromBaseOptions;
107
- var _a;
108
- return __generator(this, function (_b) {
109
- switch (_b.label) {
106
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
107
+ return __generator(this, function (_a) {
108
+ switch (_a.label) {
110
109
  case 0:
111
110
  // verify required parameter 'completeEmailVerificationDto' is not null or undefined
112
111
  (0, common_1.assertParamExists)('completeEmailVerification', 'completeEmailVerificationDto', completeEmailVerificationDto);
@@ -121,19 +120,13 @@ var NotificationsApiAxiosParamCreator = function (configuration) {
121
120
  localVarQueryParameter = {};
122
121
  // authentication bearer required
123
122
  // http bearer authentication required
124
- return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
125
- // Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
126
- // no token is stored, so a refused call still refreshes; a session call (account header) sends none.
127
- ];
123
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
128
124
  case 1:
129
125
  // authentication bearer required
130
126
  // http bearer authentication required
131
- _b.sent();
132
- authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
133
- authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
134
- authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
135
- if (authorizationValue || authorizationKeepEmpty) {
136
- localVarHeaderParameter['Authorization'] = String(authorizationValue);
127
+ _a.sent();
128
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
129
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
137
130
  }
138
131
  localVarHeaderParameter['Content-Type'] = 'application/json';
139
132
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
@@ -159,10 +152,9 @@ var NotificationsApiAxiosParamCreator = function (configuration) {
159
152
  initiateEmailVerification: function (initiateEmailVerificationDto, authorization, options) {
160
153
  if (options === void 0) { options = {}; }
161
154
  return __awaiter(_this, void 0, void 0, function () {
162
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationIsAuth, authorizationValue, authorizationKeepEmpty, headersFromBaseOptions;
163
- var _a;
164
- return __generator(this, function (_b) {
165
- switch (_b.label) {
155
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
156
+ return __generator(this, function (_a) {
157
+ switch (_a.label) {
166
158
  case 0:
167
159
  // verify required parameter 'initiateEmailVerificationDto' is not null or undefined
168
160
  (0, common_1.assertParamExists)('initiateEmailVerification', 'initiateEmailVerificationDto', initiateEmailVerificationDto);
@@ -177,19 +169,13 @@ var NotificationsApiAxiosParamCreator = function (configuration) {
177
169
  localVarQueryParameter = {};
178
170
  // authentication bearer required
179
171
  // http bearer authentication required
180
- return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
181
- // Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
182
- // no token is stored, so a refused call still refreshes; a session call (account header) sends none.
183
- ];
172
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
184
173
  case 1:
185
174
  // authentication bearer required
186
175
  // http bearer authentication required
187
- _b.sent();
188
- authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
189
- authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
190
- authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
191
- if (authorizationValue || authorizationKeepEmpty) {
192
- localVarHeaderParameter['Authorization'] = String(authorizationValue);
176
+ _a.sent();
177
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
178
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
193
179
  }
194
180
  localVarHeaderParameter['Content-Type'] = 'application/json';
195
181
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
@@ -215,10 +201,9 @@ var NotificationsApiAxiosParamCreator = function (configuration) {
215
201
  sendNotification: function (sendNotificationRequestDto, authorization, options) {
216
202
  if (options === void 0) { options = {}; }
217
203
  return __awaiter(_this, void 0, void 0, function () {
218
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationIsAuth, authorizationValue, authorizationKeepEmpty, headersFromBaseOptions;
219
- var _a;
220
- return __generator(this, function (_b) {
221
- switch (_b.label) {
204
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
205
+ return __generator(this, function (_a) {
206
+ switch (_a.label) {
222
207
  case 0:
223
208
  // verify required parameter 'sendNotificationRequestDto' is not null or undefined
224
209
  (0, common_1.assertParamExists)('sendNotification', 'sendNotificationRequestDto', sendNotificationRequestDto);
@@ -233,19 +218,13 @@ var NotificationsApiAxiosParamCreator = function (configuration) {
233
218
  localVarQueryParameter = {};
234
219
  // authentication bearer required
235
220
  // http bearer authentication required
236
- return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
237
- // Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
238
- // no token is stored, so a refused call still refreshes; a session call (account header) sends none.
239
- ];
221
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
240
222
  case 1:
241
223
  // authentication bearer required
242
224
  // http bearer authentication required
243
- _b.sent();
244
- authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
245
- authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
246
- authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
247
- if (authorizationValue || authorizationKeepEmpty) {
248
- localVarHeaderParameter['Authorization'] = String(authorizationValue);
225
+ _a.sent();
226
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
227
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
249
228
  }
250
229
  localVarHeaderParameter['Content-Type'] = 'application/json';
251
230
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
@@ -400,7 +379,7 @@ var NotificationsApi = /** @class */ (function (_super) {
400
379
  */
401
380
  NotificationsApi.prototype.completeEmailVerification = function (requestParameters, options) {
402
381
  var _this = this;
403
- return (0, exports.NotificationsApiFp)(this.configuration).completeEmailVerification(requestParameters.completeEmailVerificationDto, requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
382
+ return (0, exports.NotificationsApiFp)(this.configuration).completeEmailVerification(requestParameters.completeEmailVerificationDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
404
383
  };
405
384
  /**
406
385
  * This sends an email to the specific recipient set to receive verification code.
@@ -412,7 +391,7 @@ var NotificationsApi = /** @class */ (function (_super) {
412
391
  */
413
392
  NotificationsApi.prototype.initiateEmailVerification = function (requestParameters, options) {
414
393
  var _this = this;
415
- return (0, exports.NotificationsApiFp)(this.configuration).initiateEmailVerification(requestParameters.initiateEmailVerificationDto, requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
394
+ return (0, exports.NotificationsApiFp)(this.configuration).initiateEmailVerification(requestParameters.initiateEmailVerificationDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
416
395
  };
417
396
  /**
418
397
  * This sends an email to the specific recipient set to receive customers\' messages.
@@ -424,7 +403,7 @@ var NotificationsApi = /** @class */ (function (_super) {
424
403
  */
425
404
  NotificationsApi.prototype.sendNotification = function (requestParameters, options) {
426
405
  var _this = this;
427
- return (0, exports.NotificationsApiFp)(this.configuration).sendNotification(requestParameters.sendNotificationRequestDto, requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
406
+ return (0, exports.NotificationsApiFp)(this.configuration).sendNotification(requestParameters.sendNotificationRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
428
407
  };
429
408
  return NotificationsApi;
430
409
  }(base_1.BaseAPI));