yellowgrid-api-ts 3.2.160-dev.0 → 3.2.162-dev.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.
Files changed (36) hide show
  1. package/.openapi-generator/FILES +3 -0
  2. package/.openapi-generator/VERSION +1 -1
  3. package/README.md +6 -0
  4. package/api.ts +581 -246
  5. package/configuration.ts +2 -2
  6. package/dist/api.d.ts +209 -9
  7. package/dist/api.js +542 -237
  8. package/dist/configuration.js +2 -2
  9. package/docs/AbstractOrderRequestDTO.md +1 -1
  10. package/docs/AccountsApi.md +96 -0
  11. package/docs/AdminOrderRequestDTO.md +1 -1
  12. package/docs/CRMApi.md +2 -2
  13. package/docs/Class3CXApi.md +48 -0
  14. package/docs/Class3CXInstallationsApi.md +55 -0
  15. package/docs/{CrmActivityDto.md → CrmActivityDTO.md} +1 -1
  16. package/docs/CrmDateActivitiesDTO.md +1 -1
  17. package/docs/CustomerListAccountDTO.md +27 -0
  18. package/docs/CustomerOrderRequestDTO.md +1 -1
  19. package/docs/DetailedOrderRequestDTO.md +1 -1
  20. package/docs/ProductSummaryDTO.md +2 -2
  21. package/docs/ProspectDTO.md +2 -2
  22. package/docs/RecordingBackupAzureModel.md +2 -0
  23. package/docs/RecordingsBackupInfoDTO.md +2 -2
  24. package/docs/ShipmentRequestDTO.md +2 -2
  25. package/docs/TableHistoryEntity.md +35 -0
  26. package/docs/TcxKeySummaryDTO.md +1 -1
  27. package/openapitools.json +1 -1
  28. package/package.json +2 -2
  29. package/docs/AccountPageDetailsDTO.md +0 -41
  30. package/docs/PatchSendWelcomeEmailRequest.md +0 -20
  31. package/docs/PatchSetTcxWizardCnameRequest.md +0 -20
  32. package/docs/PostAddAdminNoteRequest.md +0 -20
  33. package/docs/PostCreateCrmNoteRequest.md +0 -20
  34. package/docs/PostGetProductRequest.md +0 -24
  35. package/docs/TcxInstallationDetailsModel.md +0 -45
  36. /package/docs/{CrmActivitiesResponseDto.md → CrmActivitiesResponseDTO.md} +0 -0
package/dist/api.js CHANGED
@@ -96,27 +96,27 @@ var common_1 = require("./common");
96
96
  var base_1 = require("./base");
97
97
  exports.AdminOrderRequestDTOPaymentMethodEnum = {
98
98
  Card: 'card',
99
- Bacs: 'bacs'
99
+ Bacs: 'bacs',
100
100
  };
101
101
  exports.AdminUserModelRoleEnum = {
102
102
  NUMBER_0: 0,
103
103
  NUMBER_1: 1,
104
104
  NUMBER_2: 2,
105
105
  NUMBER_3: 3,
106
- NUMBER_4: 4
106
+ NUMBER_4: 4,
107
107
  };
108
108
  exports.AdminUserModelPermissionsEnum = {
109
109
  All: 'All',
110
110
  Standard: 'Standard',
111
111
  Technical: 'Technical',
112
112
  Privileged: 'Privileged',
113
- Development: 'Development'
113
+ Development: 'Development',
114
114
  };
115
115
  exports.AuditLogEntityActionEnum = {
116
116
  Create: 'CREATE',
117
117
  Read: 'READ',
118
118
  Update: 'UPDATE',
119
- Delete: 'DELETE'
119
+ Delete: 'DELETE',
120
120
  };
121
121
  exports.AuditLogEntityTypeEnum = {
122
122
  AuditLog: 'audit_log',
@@ -178,6 +178,7 @@ exports.AuditLogEntityTypeEnum = {
178
178
  PopsStockTransactions: 'pops_stock_transactions',
179
179
  PopsSuppliers: 'pops_suppliers',
180
180
  PopsSupplierItems: 'pops_supplier_items',
181
+ PopsTableAttribs: 'pops_table_attribs',
181
182
  Pops3cxBackup: 'pops_3cx_backup',
182
183
  Pops3cxBilling: 'pops_3cx_billing',
183
184
  PopsDeadLicences: 'pops_dead_licences',
@@ -196,20 +197,20 @@ exports.AuditLogEntityTypeEnum = {
196
197
  Webhook: 'webhook',
197
198
  PopsXeroLog: 'pops_xero_log',
198
199
  Oauth2Clients: 'oauth2_clients',
199
- Oauth2Tokens: 'oauth2_tokens'
200
+ Oauth2Tokens: 'oauth2_tokens',
200
201
  };
201
202
  exports.DivertResponseModelStatusEnum = {
202
203
  Enabled: 'enabled',
203
- Disabled: 'disabled'
204
+ Disabled: 'disabled',
204
205
  };
205
206
  exports.EventDTOStatusEnum = {
206
207
  NUMBER_0: 0,
207
208
  NUMBER_1: 1,
208
- NUMBER_2: 2
209
+ NUMBER_2: 2,
209
210
  };
210
211
  exports.HostingChangeResponseModelTypeEnum = {
211
212
  NewInstance: 'New Instance',
212
- BuildingInstance: 'Building Instance'
213
+ BuildingInstance: 'Building Instance',
213
214
  };
214
215
  exports.HostingRegionDTOCodeEnum = {
215
216
  Uk1: 'UK1',
@@ -220,12 +221,12 @@ exports.HostingRegionDTOCodeEnum = {
220
221
  Syd1: 'SYD1',
221
222
  Sgp1: 'SGP1',
222
223
  UsEastVa1: 'US-EAST-VA-1',
223
- UsWestOr1: 'US-WEST-OR-1'
224
+ UsWestOr1: 'US-WEST-OR-1',
224
225
  };
225
226
  exports.ItemDiscountEntityTypeEnum = {
226
227
  TcxPhones: 'TCX_PHONES',
227
228
  PhoneBulk: 'PHONE_BULK',
228
- Additional: 'ADDITIONAL'
229
+ Additional: 'ADDITIONAL',
229
230
  };
230
231
  exports.MultiTenantChangeResponseModelTypeEnum = {
231
232
  NewTrunk: 'New Trunk',
@@ -241,15 +242,15 @@ exports.MultiTenantChangeResponseModelTypeEnum = {
241
242
  Address: 'Address',
242
243
  BulkEndpointDetails: 'Bulk Endpoint Details',
243
244
  Fraud: 'Fraud',
244
- CallBarring: 'Call Barring'
245
+ CallBarring: 'Call Barring',
245
246
  };
246
247
  exports.OrderRequestModelLicenceTypeEnum = {
247
248
  Lite: 'lite',
248
- Pro: 'pro'
249
+ Pro: 'pro',
249
250
  };
250
251
  exports.OrderRequestModelSchoolTypeEnum = {
251
252
  Primary: 'primary',
252
- Secondary: 'secondary'
253
+ Secondary: 'secondary',
253
254
  };
254
255
  exports.OrderTotalModelCurrencyEnum = {
255
256
  Eur: 'EUR',
@@ -282,7 +283,7 @@ exports.OrderTotalModelCurrencyEnum = {
282
283
  Php: 'PHP',
283
284
  Sgd: 'SGD',
284
285
  Thb: 'THB',
285
- Zar: 'ZAR'
286
+ Zar: 'ZAR',
286
287
  };
287
288
  exports.PatchUpdatePriceListRequestPriceListEnum = {
288
289
  Rrp: 'RRP',
@@ -291,14 +292,14 @@ exports.PatchUpdatePriceListRequestPriceListEnum = {
291
292
  Itsp: 'ITSP',
292
293
  SubDisti: 'Sub Disti',
293
294
  Distributor: 'Distributor',
294
- HotelDisti: 'Hotel Disti'
295
+ HotelDisti: 'Hotel Disti',
295
296
  };
296
297
  exports.PatchUpdateTcxHostingPriceListRequestPriceListEnum = {
297
298
  _1: '1',
298
299
  _2: '2',
299
300
  _3: '3',
300
301
  _4: '4',
301
- _5: '5'
302
+ _5: '5',
302
303
  };
303
304
  exports.ProspectDTOStatusEnum = {
304
305
  NoCallBackSet: 'No Call Back Set',
@@ -306,47 +307,47 @@ exports.ProspectDTOStatusEnum = {
306
307
  NoOrdersPlaced: 'No Orders Placed',
307
308
  NoOrdersInTheLast4Months: 'No Orders In The Last 4 Months',
308
309
  NoActionRequired: 'No Action Required',
309
- DoNotCall: 'Do Not Call'
310
+ DoNotCall: 'Do Not Call',
310
311
  };
311
312
  exports.ServiceHealthDTOGlobalStatusEnum = {
312
313
  NUMBER_0: 0,
313
314
  NUMBER_1: 1,
314
- NUMBER_2: 2
315
+ NUMBER_2: 2,
315
316
  };
316
317
  exports.ServiceStatusDTOStatusEnum = {
317
318
  _0: '0',
318
319
  _1: '1',
319
- _2: '2'
320
+ _2: '2',
320
321
  };
321
322
  exports.ShipmentDTOCourierEnum = {
322
323
  Dpd: 'DPD',
323
324
  ChorltonPallet: 'Chorlton Pallet',
324
- Pops: 'POPS'
325
+ Pops: 'POPS',
325
326
  };
326
327
  exports.ShipmentRequestDTOCourierEnum = {
327
328
  Dpd: 'DPD',
328
329
  ChorltonPallet: 'Chorlton Pallet',
329
- Pops: 'POPS'
330
+ Pops: 'POPS',
330
331
  };
331
332
  exports.ShippingRequestDTOCourierEnum = {
332
333
  Dpd: 'DPD',
333
334
  ChorltonPallet: 'Chorlton Pallet',
334
- Pops: 'POPS'
335
+ Pops: 'POPS',
335
336
  };
336
337
  exports.ShippingRequestDTOPrinterEnum = {
337
338
  NUMBER_1: 1,
338
339
  NUMBER_2: 2,
339
- NUMBER_3: 3
340
+ NUMBER_3: 3,
340
341
  };
341
342
  exports.ShippingServiceDTOCourierEnum = {
342
343
  Dpd: 'DPD',
343
344
  ChorltonPallet: 'Chorlton Pallet',
344
- Pops: 'POPS'
345
+ Pops: 'POPS',
345
346
  };
346
347
  exports.ShippingServiceModelCourierEnum = {
347
348
  Dpd: 'DPD',
348
349
  ChorltonPallet: 'Chorlton Pallet',
349
- Pops: 'POPS'
350
+ Pops: 'POPS',
350
351
  };
351
352
  exports.SipTrunkChangeResponseModelTypeEnum = {
352
353
  NewTrunk: 'New Trunk',
@@ -362,17 +363,17 @@ exports.SipTrunkChangeResponseModelTypeEnum = {
362
363
  Address: 'Address',
363
364
  BulkEndpointDetails: 'Bulk Endpoint Details',
364
365
  Fraud: 'Fraud',
365
- CallBarring: 'Call Barring'
366
+ CallBarring: 'Call Barring',
366
367
  };
367
368
  exports.SmsAccountRequestDTOProviderEnum = {
368
- NUMBER_1: 1
369
+ NUMBER_1: 1,
369
370
  };
370
371
  exports.SmsAccountRequestDTOTypeEnum = {
371
372
  Local: 'local',
372
373
  TollFree: 'toll_free',
373
374
  Mobile: 'mobile',
374
375
  National: 'national',
375
- SharedCost: 'shared_cost'
376
+ SharedCost: 'shared_cost',
376
377
  };
377
378
  exports.SmsPhoneNumberModelStatusEnum = {
378
379
  Queued: 'queued',
@@ -383,31 +384,31 @@ exports.SmsPhoneNumberModelStatusEnum = {
383
384
  DeliveryUnconfirmed: 'delivery_unconfirmed',
384
385
  Delivered: 'delivered',
385
386
  DeliveryFailed: 'delivery_failed',
386
- WebhookDelivered: 'webhook_delivered'
387
+ WebhookDelivered: 'webhook_delivered',
387
388
  };
388
389
  exports.SmsResponseModelEventTypeEnum = {
389
390
  MessageSent: 'message.sent',
390
391
  MessageFinalized: 'message.finalized',
391
- MessageReceived: 'message.received'
392
+ MessageReceived: 'message.received',
392
393
  };
393
394
  exports.StockOrderModelDeliveryMethodEnum = {
394
395
  Sea: 'Sea',
395
396
  Air: 'Air',
396
- Road: 'Road'
397
+ Road: 'Road',
397
398
  };
398
399
  exports.StockOrderModelPaidEnum = {
399
400
  NUMBER_0: 0,
400
401
  NUMBER_1: 1,
401
- NUMBER_2: 2
402
+ NUMBER_2: 2,
402
403
  };
403
404
  exports.TcxMultiTenantModelPackageEnum = {
404
- _3CxStarterBundle: '3CX Starter Bundle'
405
+ _3CxStarterBundle: '3CX Starter Bundle',
405
406
  };
406
407
  exports.TcxSetupEntityInstallTypeEnum = {
407
408
  New: 'new',
408
409
  Restore: 'restore',
409
410
  Failover: 'failover',
410
- MultiTenant: 'multi-tenant'
411
+ MultiTenant: 'multi-tenant',
411
412
  };
412
413
  exports.TcxSetupEntityRegionEnum = {
413
414
  Uk1: 'UK1',
@@ -418,13 +419,13 @@ exports.TcxSetupEntityRegionEnum = {
418
419
  Syd1: 'SYD1',
419
420
  Sgp1: 'SGP1',
420
421
  UsEastVa1: 'US-EAST-VA-1',
421
- UsWestOr1: 'US-WEST-OR-1'
422
+ UsWestOr1: 'US-WEST-OR-1',
422
423
  };
423
424
  exports.TcxWizardModelInstallTypeEnum = {
424
425
  New: 'new',
425
426
  Restore: 'restore',
426
427
  Failover: 'failover',
427
- MultiTenant: 'multi-tenant'
428
+ MultiTenant: 'multi-tenant',
428
429
  };
429
430
  exports.TcxWizardModelInstallationStatusEnum = {
430
431
  Building: 'Building',
@@ -441,15 +442,15 @@ exports.TcxWizardModelInstallationStatusEnum = {
441
442
  RecordingsBackupInstalled: 'Recordings Backup Installed',
442
443
  Complete: 'Complete',
443
444
  Deleted: 'Deleted',
444
- Failed: 'Failed'
445
+ Failed: 'Failed',
445
446
  };
446
447
  exports.UpgradeRequestModelLicenceTypeEnum = {
447
448
  Lite: 'lite',
448
- Pro: 'pro'
449
+ Pro: 'pro',
449
450
  };
450
451
  exports.UpgradeRequestModelSchoolTypeEnum = {
451
452
  Primary: 'primary',
452
- Secondary: 'secondary'
453
+ Secondary: 'secondary',
453
454
  };
454
455
  /**
455
456
  * AccountsApi - axios parameter creator
@@ -478,8 +479,8 @@ var AccountsApiAxiosParamCreator = function (configuration) {
478
479
  // verify required parameter 'contactId' is not null or undefined
479
480
  (0, common_1.assertParamExists)('deleteAdminUpdateAccountContact', 'contactId', contactId);
480
481
  localVarPath = "/admin/accounts/{id}/contacts/{contact_id}"
481
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)))
482
- .replace("{".concat("contact_id", "}"), encodeURIComponent(String(contactId)));
482
+ .replace('{id}', encodeURIComponent(String(id)))
483
+ .replace('{contact_id}', encodeURIComponent(String(contactId)));
483
484
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
484
485
  if (configuration) {
485
486
  baseOptions = configuration.baseOptions;
@@ -515,7 +516,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
515
516
  // verify required parameter 'id' is not null or undefined
516
517
  (0, common_1.assertParamExists)('deleteArchiveAccount', 'id', id);
517
518
  localVarPath = "/admin/accounts/{id}/archive"
518
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
519
+ .replace('{id}', encodeURIComponent(String(id)));
519
520
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
520
521
  if (configuration) {
521
522
  baseOptions = configuration.baseOptions;
@@ -552,7 +553,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
552
553
  // verify required parameter 'id' is not null or undefined
553
554
  (0, common_1.assertParamExists)('deleteDeleteClientCredentials', 'id', id);
554
555
  localVarPath = "/accounts/me/contacts/credentials/{id}"
555
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
556
+ .replace('{id}', encodeURIComponent(String(id)));
556
557
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
557
558
  if (configuration) {
558
559
  baseOptions = configuration.baseOptions;
@@ -589,7 +590,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
589
590
  // verify required parameter 'email' is not null or undefined
590
591
  (0, common_1.assertParamExists)('deleteUpdateAccountContact', 'email', email);
591
592
  localVarPath = "/accounts/me/contacts/{email}"
592
- .replace("{".concat("email", "}"), encodeURIComponent(String(email)));
593
+ .replace('{email}', encodeURIComponent(String(email)));
593
594
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
594
595
  if (configuration) {
595
596
  baseOptions = configuration.baseOptions;
@@ -625,7 +626,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
625
626
  // verify required parameter 'id' is not null or undefined
626
627
  (0, common_1.assertParamExists)('getAdminCreateAccountContact', 'id', id);
627
628
  localVarPath = "/admin/accounts/{id}/contacts"
628
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
629
+ .replace('{id}', encodeURIComponent(String(id)));
629
630
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
630
631
  if (configuration) {
631
632
  baseOptions = configuration.baseOptions;
@@ -696,7 +697,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
696
697
  // verify required parameter 'id' is not null or undefined
697
698
  (0, common_1.assertParamExists)('getGetAccountAddresses', 'id', id);
698
699
  localVarPath = "/admin/accounts/{id}/addresses"
699
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
700
+ .replace('{id}', encodeURIComponent(String(id)));
700
701
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
701
702
  if (configuration) {
702
703
  baseOptions = configuration.baseOptions;
@@ -772,7 +773,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
772
773
  // verify required parameter 'id' is not null or undefined
773
774
  (0, common_1.assertParamExists)('getGetAccountDetailedSummary', 'id', id);
774
775
  localVarPath = "/accounts/{id}/summary"
775
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
776
+ .replace('{id}', encodeURIComponent(String(id)));
776
777
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
777
778
  if (configuration) {
778
779
  baseOptions = configuration.baseOptions;
@@ -875,6 +876,39 @@ var AccountsApiAxiosParamCreator = function (configuration) {
875
876
  });
876
877
  });
877
878
  },
879
+ /**
880
+ * Get Customer Accounts List
881
+ * @param {*} [options] Override http request option.
882
+ * @throws {RequiredError}
883
+ */
884
+ getGetCustomerAccountsList: function () {
885
+ var args_1 = [];
886
+ for (var _i = 0; _i < arguments.length; _i++) {
887
+ args_1[_i] = arguments[_i];
888
+ }
889
+ return __awaiter(_this, __spreadArray([], args_1, true), void 0, function (options) {
890
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
891
+ if (options === void 0) { options = {}; }
892
+ return __generator(this, function (_a) {
893
+ localVarPath = "/admin/accounts/customers/list";
894
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
895
+ if (configuration) {
896
+ baseOptions = configuration.baseOptions;
897
+ }
898
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
899
+ localVarHeaderParameter = {};
900
+ localVarQueryParameter = {};
901
+ localVarHeaderParameter['Accept'] = 'application/json';
902
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
903
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
904
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
905
+ return [2 /*return*/, {
906
+ url: (0, common_1.toPathString)(localVarUrlObj),
907
+ options: localVarRequestOptions,
908
+ }];
909
+ });
910
+ });
911
+ },
878
912
  /**
879
913
  * Get 3CX Keys
880
914
  * @summary Get 3CX Keys
@@ -927,7 +961,41 @@ var AccountsApiAxiosParamCreator = function (configuration) {
927
961
  // verify required parameter 'id' is not null or undefined
928
962
  (0, common_1.assertParamExists)('getGetFinanceSettings', 'id', id);
929
963
  localVarPath = "/admin/accounts/{id}/finance"
930
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
964
+ .replace('{id}', encodeURIComponent(String(id)));
965
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
966
+ if (configuration) {
967
+ baseOptions = configuration.baseOptions;
968
+ }
969
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
970
+ localVarHeaderParameter = {};
971
+ localVarQueryParameter = {};
972
+ localVarHeaderParameter['Accept'] = 'application/json';
973
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
974
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
975
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
976
+ return [2 /*return*/, {
977
+ url: (0, common_1.toPathString)(localVarUrlObj),
978
+ options: localVarRequestOptions,
979
+ }];
980
+ });
981
+ });
982
+ },
983
+ /**
984
+ * Get Last Account
985
+ * @summary Get Last Account
986
+ * @param {*} [options] Override http request option.
987
+ * @throws {RequiredError}
988
+ */
989
+ getGetLastAccount: function () {
990
+ var args_1 = [];
991
+ for (var _i = 0; _i < arguments.length; _i++) {
992
+ args_1[_i] = arguments[_i];
993
+ }
994
+ return __awaiter(_this, __spreadArray([], args_1, true), void 0, function (options) {
995
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
996
+ if (options === void 0) { options = {}; }
997
+ return __generator(this, function (_a) {
998
+ localVarPath = "/admin/accounts/last";
931
999
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
932
1000
  if (configuration) {
933
1001
  baseOptions = configuration.baseOptions;
@@ -964,7 +1032,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
964
1032
  // verify required parameter 'id' is not null or undefined
965
1033
  (0, common_1.assertParamExists)('getGetTcxPartnerDetails', 'id', id);
966
1034
  localVarPath = "/admin/accounts/{id}/tcx/partner"
967
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
1035
+ .replace('{id}', encodeURIComponent(String(id)));
968
1036
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
969
1037
  if (configuration) {
970
1038
  baseOptions = configuration.baseOptions;
@@ -1043,8 +1111,8 @@ var AccountsApiAxiosParamCreator = function (configuration) {
1043
1111
  // verify required parameter 'state' is not null or undefined
1044
1112
  (0, common_1.assertParamExists)('patchSetPortalAccess', 'state', state);
1045
1113
  localVarPath = "/admin/accounts/{id}/portal/access/{state}"
1046
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)))
1047
- .replace("{".concat("state", "}"), encodeURIComponent(String(state)));
1114
+ .replace('{id}', encodeURIComponent(String(id)))
1115
+ .replace('{state}', encodeURIComponent(String(state)));
1048
1116
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1049
1117
  if (configuration) {
1050
1118
  baseOptions = configuration.baseOptions;
@@ -1083,8 +1151,8 @@ var AccountsApiAxiosParamCreator = function (configuration) {
1083
1151
  // verify required parameter 'state' is not null or undefined
1084
1152
  (0, common_1.assertParamExists)('patchSetPrizePromo', 'state', state);
1085
1153
  localVarPath = "/admin/accounts/{id}/prizes/{state}"
1086
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)))
1087
- .replace("{".concat("state", "}"), encodeURIComponent(String(state)));
1154
+ .replace('{id}', encodeURIComponent(String(id)))
1155
+ .replace('{state}', encodeURIComponent(String(state)));
1088
1156
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1089
1157
  if (configuration) {
1090
1158
  baseOptions = configuration.baseOptions;
@@ -1156,7 +1224,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
1156
1224
  // verify required parameter 'id' is not null or undefined
1157
1225
  (0, common_1.assertParamExists)('patchUpdateAccountCname', 'id', id);
1158
1226
  localVarPath = "/admin/accounts/{id}/cname"
1159
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
1227
+ .replace('{id}', encodeURIComponent(String(id)));
1160
1228
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1161
1229
  if (configuration) {
1162
1230
  baseOptions = configuration.baseOptions;
@@ -1195,7 +1263,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
1195
1263
  // verify required parameter 'id' is not null or undefined
1196
1264
  (0, common_1.assertParamExists)('patchUpdateAccountCompanyNumber', 'id', id);
1197
1265
  localVarPath = "/admin/accounts/{id}/companyNumber"
1198
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
1266
+ .replace('{id}', encodeURIComponent(String(id)));
1199
1267
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1200
1268
  if (configuration) {
1201
1269
  baseOptions = configuration.baseOptions;
@@ -1276,7 +1344,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
1276
1344
  // verify required parameter 'id' is not null or undefined
1277
1345
  (0, common_1.assertParamExists)('patchUpdateAccountPhone', 'id', id);
1278
1346
  localVarPath = "/admin/accounts/{id}/phone"
1279
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
1347
+ .replace('{id}', encodeURIComponent(String(id)));
1280
1348
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1281
1349
  if (configuration) {
1282
1350
  baseOptions = configuration.baseOptions;
@@ -1315,7 +1383,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
1315
1383
  // verify required parameter 'id' is not null or undefined
1316
1384
  (0, common_1.assertParamExists)('patchUpdateAccountVatNumber', 'id', id);
1317
1385
  localVarPath = "/admin/accounts/{id}/vatNumber"
1318
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
1386
+ .replace('{id}', encodeURIComponent(String(id)));
1319
1387
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1320
1388
  if (configuration) {
1321
1389
  baseOptions = configuration.baseOptions;
@@ -1354,7 +1422,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
1354
1422
  // verify required parameter 'id' is not null or undefined
1355
1423
  (0, common_1.assertParamExists)('patchUpdateCreditLimit', 'id', id);
1356
1424
  localVarPath = "/admin/accounts/{id}/creditLimit"
1357
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
1425
+ .replace('{id}', encodeURIComponent(String(id)));
1358
1426
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1359
1427
  if (configuration) {
1360
1428
  baseOptions = configuration.baseOptions;
@@ -1394,7 +1462,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
1394
1462
  // verify required parameter 'id' is not null or undefined
1395
1463
  (0, common_1.assertParamExists)('patchUpdatePriceList', 'id', id);
1396
1464
  localVarPath = "/admin/accounts/{id}/priceList"
1397
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
1465
+ .replace('{id}', encodeURIComponent(String(id)));
1398
1466
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1399
1467
  if (configuration) {
1400
1468
  baseOptions = configuration.baseOptions;
@@ -1434,7 +1502,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
1434
1502
  // verify required parameter 'id' is not null or undefined
1435
1503
  (0, common_1.assertParamExists)('patchUpdateSipChannelCost', 'id', id);
1436
1504
  localVarPath = "/admin/accounts/{id}/channelCost"
1437
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
1505
+ .replace('{id}', encodeURIComponent(String(id)));
1438
1506
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1439
1507
  if (configuration) {
1440
1508
  baseOptions = configuration.baseOptions;
@@ -1474,7 +1542,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
1474
1542
  // verify required parameter 'id' is not null or undefined
1475
1543
  (0, common_1.assertParamExists)('patchUpdateTcxHostingPriceList', 'id', id);
1476
1544
  localVarPath = "/admin/accounts/{id}/tcx/hosting/priceList"
1477
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
1545
+ .replace('{id}', encodeURIComponent(String(id)));
1478
1546
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1479
1547
  if (configuration) {
1480
1548
  baseOptions = configuration.baseOptions;
@@ -1514,7 +1582,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
1514
1582
  // verify required parameter 'id' is not null or undefined
1515
1583
  (0, common_1.assertParamExists)('patchUpdateTcxPartnerId', 'id', id);
1516
1584
  localVarPath = "/admin/accounts{id}/tcx/partner/id"
1517
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
1585
+ .replace('{id}', encodeURIComponent(String(id)));
1518
1586
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1519
1587
  if (configuration) {
1520
1588
  baseOptions = configuration.baseOptions;
@@ -1554,7 +1622,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
1554
1622
  // verify required parameter 'id' is not null or undefined
1555
1623
  (0, common_1.assertParamExists)('postAdminCreateAccountContact', 'id', id);
1556
1624
  localVarPath = "/admin/accounts/{id}/contacts"
1557
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
1625
+ .replace('{id}', encodeURIComponent(String(id)));
1558
1626
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1559
1627
  if (configuration) {
1560
1628
  baseOptions = configuration.baseOptions;
@@ -1737,7 +1805,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
1737
1805
  // verify required parameter 'email' is not null or undefined
1738
1806
  (0, common_1.assertParamExists)('postSendEmailVerificationEmail', 'email', email);
1739
1807
  localVarPath = "/accounts/contacts/verify/{email}"
1740
- .replace("{".concat("email", "}"), encodeURIComponent(String(email)));
1808
+ .replace('{email}', encodeURIComponent(String(email)));
1741
1809
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1742
1810
  if (configuration) {
1743
1811
  baseOptions = configuration.baseOptions;
@@ -1813,7 +1881,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
1813
1881
  // verify required parameter 'id' is not null or undefined
1814
1882
  (0, common_1.assertParamExists)('postSendWelcomeEmail', 'id', id);
1815
1883
  localVarPath = "/admin/accounts/{id}/email/welcome"
1816
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
1884
+ .replace('{id}', encodeURIComponent(String(id)));
1817
1885
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1818
1886
  if (configuration) {
1819
1887
  baseOptions = configuration.baseOptions;
@@ -1900,8 +1968,8 @@ var AccountsApiAxiosParamCreator = function (configuration) {
1900
1968
  // verify required parameter 'contactId' is not null or undefined
1901
1969
  (0, common_1.assertParamExists)('putAdminUpdateAccountContact', 'contactId', contactId);
1902
1970
  localVarPath = "/admin/accounts/{id}/contacts/{contact_id}"
1903
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)))
1904
- .replace("{".concat("contact_id", "}"), encodeURIComponent(String(contactId)));
1971
+ .replace('{id}', encodeURIComponent(String(id)))
1972
+ .replace('{contact_id}', encodeURIComponent(String(contactId)));
1905
1973
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1906
1974
  if (configuration) {
1907
1975
  baseOptions = configuration.baseOptions;
@@ -1941,7 +2009,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
1941
2009
  // verify required parameter 'email' is not null or undefined
1942
2010
  (0, common_1.assertParamExists)('putUpdateAccountContact', 'email', email);
1943
2011
  localVarPath = "/accounts/me/contacts/{email}"
1944
- .replace("{".concat("email", "}"), encodeURIComponent(String(email)));
2012
+ .replace('{email}', encodeURIComponent(String(email)));
1945
2013
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1946
2014
  if (configuration) {
1947
2015
  baseOptions = configuration.baseOptions;
@@ -1980,7 +2048,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
1980
2048
  // verify required parameter 'id' is not null or undefined
1981
2049
  (0, common_1.assertParamExists)('putUpdateBillingAddress', 'id', id);
1982
2050
  localVarPath = "/admin/accounts/{id}/billing/address"
1983
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
2051
+ .replace('{id}', encodeURIComponent(String(id)));
1984
2052
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1985
2053
  if (configuration) {
1986
2054
  baseOptions = configuration.baseOptions;
@@ -2019,7 +2087,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
2019
2087
  // verify required parameter 'id' is not null or undefined
2020
2088
  (0, common_1.assertParamExists)('putUpdateShippingAddress', 'id', id);
2021
2089
  localVarPath = "/admin/accounts/{id}/shipping/address"
2022
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
2090
+ .replace('{id}', encodeURIComponent(String(id)));
2023
2091
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
2024
2092
  if (configuration) {
2025
2093
  baseOptions = configuration.baseOptions;
@@ -2299,6 +2367,27 @@ var AccountsApiFp = function (configuration) {
2299
2367
  });
2300
2368
  });
2301
2369
  },
2370
+ /**
2371
+ * Get Customer Accounts List
2372
+ * @param {*} [options] Override http request option.
2373
+ * @throws {RequiredError}
2374
+ */
2375
+ getGetCustomerAccountsList: function (options) {
2376
+ return __awaiter(this, void 0, void 0, function () {
2377
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
2378
+ var _a, _b, _c;
2379
+ return __generator(this, function (_d) {
2380
+ switch (_d.label) {
2381
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetCustomerAccountsList(options)];
2382
+ case 1:
2383
+ localVarAxiosArgs = _d.sent();
2384
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2385
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.getGetCustomerAccountsList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2386
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
2387
+ }
2388
+ });
2389
+ });
2390
+ },
2302
2391
  /**
2303
2392
  * Get 3CX Keys
2304
2393
  * @summary Get 3CX Keys
@@ -2343,6 +2432,28 @@ var AccountsApiFp = function (configuration) {
2343
2432
  });
2344
2433
  });
2345
2434
  },
2435
+ /**
2436
+ * Get Last Account
2437
+ * @summary Get Last Account
2438
+ * @param {*} [options] Override http request option.
2439
+ * @throws {RequiredError}
2440
+ */
2441
+ getGetLastAccount: function (options) {
2442
+ return __awaiter(this, void 0, void 0, function () {
2443
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
2444
+ var _a, _b, _c;
2445
+ return __generator(this, function (_d) {
2446
+ switch (_d.label) {
2447
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetLastAccount(options)];
2448
+ case 1:
2449
+ localVarAxiosArgs = _d.sent();
2450
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2451
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.getGetLastAccount']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2452
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
2453
+ }
2454
+ });
2455
+ });
2456
+ },
2346
2457
  /**
2347
2458
  * Get Account 3CX Details
2348
2459
  * @param {string} id Xero ID
@@ -3106,6 +3217,14 @@ var AccountsApiFactory = function (configuration, basePath, axios) {
3106
3217
  getGetClientCredentials: function (options) {
3107
3218
  return localVarFp.getGetClientCredentials(options).then(function (request) { return request(axios, basePath); });
3108
3219
  },
3220
+ /**
3221
+ * Get Customer Accounts List
3222
+ * @param {*} [options] Override http request option.
3223
+ * @throws {RequiredError}
3224
+ */
3225
+ getGetCustomerAccountsList: function (options) {
3226
+ return localVarFp.getGetCustomerAccountsList(options).then(function (request) { return request(axios, basePath); });
3227
+ },
3109
3228
  /**
3110
3229
  * Get 3CX Keys
3111
3230
  * @summary Get 3CX Keys
@@ -3124,6 +3243,15 @@ var AccountsApiFactory = function (configuration, basePath, axios) {
3124
3243
  getGetFinanceSettings: function (id, options) {
3125
3244
  return localVarFp.getGetFinanceSettings(id, options).then(function (request) { return request(axios, basePath); });
3126
3245
  },
3246
+ /**
3247
+ * Get Last Account
3248
+ * @summary Get Last Account
3249
+ * @param {*} [options] Override http request option.
3250
+ * @throws {RequiredError}
3251
+ */
3252
+ getGetLastAccount: function (options) {
3253
+ return localVarFp.getGetLastAccount(options).then(function (request) { return request(axios, basePath); });
3254
+ },
3127
3255
  /**
3128
3256
  * Get Account 3CX Details
3129
3257
  * @param {string} id Xero ID
@@ -3536,6 +3664,15 @@ var AccountsApi = /** @class */ (function (_super) {
3536
3664
  var _this = this;
3537
3665
  return (0, exports.AccountsApiFp)(this.configuration).getGetClientCredentials(options).then(function (request) { return request(_this.axios, _this.basePath); });
3538
3666
  };
3667
+ /**
3668
+ * Get Customer Accounts List
3669
+ * @param {*} [options] Override http request option.
3670
+ * @throws {RequiredError}
3671
+ */
3672
+ AccountsApi.prototype.getGetCustomerAccountsList = function (options) {
3673
+ var _this = this;
3674
+ return (0, exports.AccountsApiFp)(this.configuration).getGetCustomerAccountsList(options).then(function (request) { return request(_this.axios, _this.basePath); });
3675
+ };
3539
3676
  /**
3540
3677
  * Get 3CX Keys
3541
3678
  * @summary Get 3CX Keys
@@ -3556,6 +3693,16 @@ var AccountsApi = /** @class */ (function (_super) {
3556
3693
  var _this = this;
3557
3694
  return (0, exports.AccountsApiFp)(this.configuration).getGetFinanceSettings(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
3558
3695
  };
3696
+ /**
3697
+ * Get Last Account
3698
+ * @summary Get Last Account
3699
+ * @param {*} [options] Override http request option.
3700
+ * @throws {RequiredError}
3701
+ */
3702
+ AccountsApi.prototype.getGetLastAccount = function (options) {
3703
+ var _this = this;
3704
+ return (0, exports.AccountsApiFp)(this.configuration).getGetLastAccount(options).then(function (request) { return request(_this.axios, _this.basePath); });
3705
+ };
3559
3706
  /**
3560
3707
  * Get Account 3CX Details
3561
3708
  * @param {string} id Xero ID
@@ -3871,11 +4018,11 @@ var AccountsApi = /** @class */ (function (_super) {
3871
4018
  exports.AccountsApi = AccountsApi;
3872
4019
  exports.PatchSetPortalAccessStateEnum = {
3873
4020
  Enable: 'enable',
3874
- Disable: 'disable'
4021
+ Disable: 'disable',
3875
4022
  };
3876
4023
  exports.PatchSetPrizePromoStateEnum = {
3877
4024
  Enable: 'enable',
3878
- Disable: 'disable'
4025
+ Disable: 'disable',
3879
4026
  };
3880
4027
  /**
3881
4028
  * BillingApi - axios parameter creator
@@ -4016,7 +4163,7 @@ var CRMApiAxiosParamCreator = function (configuration) {
4016
4163
  // verify required parameter 'id' is not null or undefined
4017
4164
  (0, common_1.assertParamExists)('getGetCrmActivities', 'id', id);
4018
4165
  localVarPath = "/admin/crm/{id}/activities"
4019
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
4166
+ .replace('{id}', encodeURIComponent(String(id)));
4020
4167
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
4021
4168
  if (configuration) {
4022
4169
  baseOptions = configuration.baseOptions;
@@ -4093,7 +4240,7 @@ var CRMApiAxiosParamCreator = function (configuration) {
4093
4240
  // verify required parameter 'id' is not null or undefined
4094
4241
  (0, common_1.assertParamExists)('postCreateCrmNote', 'id', id);
4095
4242
  localVarPath = "/admin/crm/{id}/activities/note"
4096
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
4243
+ .replace('{id}', encodeURIComponent(String(id)));
4097
4244
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
4098
4245
  if (configuration) {
4099
4246
  baseOptions = configuration.baseOptions;
@@ -4278,10 +4425,11 @@ exports.CRMApi = CRMApi;
4278
4425
  exports.GetGetCrmActivitiesTypeEnum = {
4279
4426
  Alert: 'alert',
4280
4427
  Call: 'call',
4428
+ Email: 'email',
4281
4429
  Note: 'note',
4282
4430
  Order: 'order',
4283
4431
  Quote: 'quote',
4284
- TcxOrder: 'tcx_order'
4432
+ TcxOrder: 'tcx_order',
4285
4433
  };
4286
4434
  /**
4287
4435
  * Class3CXApi - axios parameter creator
@@ -4329,6 +4477,40 @@ var Class3CXApiAxiosParamCreator = function (configuration) {
4329
4477
  });
4330
4478
  });
4331
4479
  },
4480
+ /**
4481
+ * Get 3CX Expiring Keys
4482
+ * @summary Get 3CX Expiring Keys
4483
+ * @param {*} [options] Override http request option.
4484
+ * @throws {RequiredError}
4485
+ */
4486
+ getGetTcxExpiringKeys: function () {
4487
+ var args_1 = [];
4488
+ for (var _i = 0; _i < arguments.length; _i++) {
4489
+ args_1[_i] = arguments[_i];
4490
+ }
4491
+ return __awaiter(_this, __spreadArray([], args_1, true), void 0, function (options) {
4492
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
4493
+ if (options === void 0) { options = {}; }
4494
+ return __generator(this, function (_a) {
4495
+ localVarPath = "/tcx/admin/keys/expiring/csv";
4496
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
4497
+ if (configuration) {
4498
+ baseOptions = configuration.baseOptions;
4499
+ }
4500
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
4501
+ localVarHeaderParameter = {};
4502
+ localVarQueryParameter = {};
4503
+ localVarHeaderParameter['Accept'] = 'text/csv';
4504
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
4505
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4506
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
4507
+ return [2 /*return*/, {
4508
+ url: (0, common_1.toPathString)(localVarUrlObj),
4509
+ options: localVarRequestOptions,
4510
+ }];
4511
+ });
4512
+ });
4513
+ },
4332
4514
  /**
4333
4515
  * Get Bulk 3CX Licence Details
4334
4516
  * @summary Get bulk 3CX Licence Details
@@ -4398,6 +4580,28 @@ var Class3CXApiFp = function (configuration) {
4398
4580
  });
4399
4581
  });
4400
4582
  },
4583
+ /**
4584
+ * Get 3CX Expiring Keys
4585
+ * @summary Get 3CX Expiring Keys
4586
+ * @param {*} [options] Override http request option.
4587
+ * @throws {RequiredError}
4588
+ */
4589
+ getGetTcxExpiringKeys: function (options) {
4590
+ return __awaiter(this, void 0, void 0, function () {
4591
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
4592
+ var _a, _b, _c;
4593
+ return __generator(this, function (_d) {
4594
+ switch (_d.label) {
4595
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetTcxExpiringKeys(options)];
4596
+ case 1:
4597
+ localVarAxiosArgs = _d.sent();
4598
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
4599
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['Class3CXApi.getGetTcxExpiringKeys']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
4600
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
4601
+ }
4602
+ });
4603
+ });
4604
+ },
4401
4605
  /**
4402
4606
  * Get Bulk 3CX Licence Details
4403
4607
  * @summary Get bulk 3CX Licence Details
@@ -4440,6 +4644,15 @@ var Class3CXApiFactory = function (configuration, basePath, axios) {
4440
4644
  getGetLicenceDetails: function (key, options) {
4441
4645
  return localVarFp.getGetLicenceDetails(key, options).then(function (request) { return request(axios, basePath); });
4442
4646
  },
4647
+ /**
4648
+ * Get 3CX Expiring Keys
4649
+ * @summary Get 3CX Expiring Keys
4650
+ * @param {*} [options] Override http request option.
4651
+ * @throws {RequiredError}
4652
+ */
4653
+ getGetTcxExpiringKeys: function (options) {
4654
+ return localVarFp.getGetTcxExpiringKeys(options).then(function (request) { return request(axios, basePath); });
4655
+ },
4443
4656
  /**
4444
4657
  * Get Bulk 3CX Licence Details
4445
4658
  * @summary Get bulk 3CX Licence Details
@@ -4472,6 +4685,16 @@ var Class3CXApi = /** @class */ (function (_super) {
4472
4685
  var _this = this;
4473
4686
  return (0, exports.Class3CXApiFp)(this.configuration).getGetLicenceDetails(key, options).then(function (request) { return request(_this.axios, _this.basePath); });
4474
4687
  };
4688
+ /**
4689
+ * Get 3CX Expiring Keys
4690
+ * @summary Get 3CX Expiring Keys
4691
+ * @param {*} [options] Override http request option.
4692
+ * @throws {RequiredError}
4693
+ */
4694
+ Class3CXApi.prototype.getGetTcxExpiringKeys = function (options) {
4695
+ var _this = this;
4696
+ return (0, exports.Class3CXApiFp)(this.configuration).getGetTcxExpiringKeys(options).then(function (request) { return request(_this.axios, _this.basePath); });
4697
+ };
4475
4698
  /**
4476
4699
  * Get Bulk 3CX Licence Details
4477
4700
  * @summary Get bulk 3CX Licence Details
@@ -4756,7 +4979,7 @@ var Class3CXInstallationWizardApiAxiosParamCreator = function (configuration) {
4756
4979
  // verify required parameter 'id' is not null or undefined
4757
4980
  (0, common_1.assertParamExists)('getGetDdisTcxWizard', 'id', id);
4758
4981
  localVarPath = "/tcx/wizards/sip/trunks/{id}/ddis"
4759
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
4982
+ .replace('{id}', encodeURIComponent(String(id)));
4760
4983
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
4761
4984
  if (configuration) {
4762
4985
  baseOptions = configuration.baseOptions;
@@ -4985,7 +5208,7 @@ var Class3CXInstallationWizardApiAxiosParamCreator = function (configuration) {
4985
5208
  // verify required parameter 'id' is not null or undefined
4986
5209
  (0, common_1.assertParamExists)('getGetSipTrunkTcxWizard', 'id', id);
4987
5210
  localVarPath = "/tcx/wizards/sip/trunks/{id}"
4988
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
5211
+ .replace('{id}', encodeURIComponent(String(id)));
4989
5212
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
4990
5213
  if (configuration) {
4991
5214
  baseOptions = configuration.baseOptions;
@@ -5623,7 +5846,7 @@ var Class3CXInstallationWizardApiAxiosParamCreator = function (configuration) {
5623
5846
  // verify required parameter 'id' is not null or undefined
5624
5847
  (0, common_1.assertParamExists)('postGetDdisTcxWizard', 'id', id);
5625
5848
  localVarPath = "/tcx/wizards/sip/trunks/{id}/ddis"
5626
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
5849
+ .replace('{id}', encodeURIComponent(String(id)));
5627
5850
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
5628
5851
  if (configuration) {
5629
5852
  baseOptions = configuration.baseOptions;
@@ -7362,7 +7585,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
7362
7585
  // verify required parameter 'wizardId' is not null or undefined
7363
7586
  (0, common_1.assertParamExists)('getGetDetails', 'wizardId', wizardId);
7364
7587
  localVarPath = "/tcx/installations/{wizard_id}/details"
7365
- .replace("{".concat("wizard_id", "}"), encodeURIComponent(String(wizardId)));
7588
+ .replace('{wizard_id}', encodeURIComponent(String(wizardId)));
7366
7589
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
7367
7590
  if (configuration) {
7368
7591
  baseOptions = configuration.baseOptions;
@@ -7443,6 +7666,44 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
7443
7666
  });
7444
7667
  });
7445
7668
  },
7669
+ /**
7670
+ * Get Recording Backup Storage
7671
+ * @summary Get Recording Backup Storage
7672
+ * @param {string} instanceId Instance ID
7673
+ * @param {*} [options] Override http request option.
7674
+ * @throws {RequiredError}
7675
+ */
7676
+ getGetRecordingBackupStorage: function (instanceId_1) {
7677
+ var args_1 = [];
7678
+ for (var _i = 1; _i < arguments.length; _i++) {
7679
+ args_1[_i - 1] = arguments[_i];
7680
+ }
7681
+ return __awaiter(_this, __spreadArray([instanceId_1], args_1, true), void 0, function (instanceId, options) {
7682
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
7683
+ if (options === void 0) { options = {}; }
7684
+ return __generator(this, function (_a) {
7685
+ // verify required parameter 'instanceId' is not null or undefined
7686
+ (0, common_1.assertParamExists)('getGetRecordingBackupStorage', 'instanceId', instanceId);
7687
+ localVarPath = "/tcx/installations/{instance_id}/recordings/backup"
7688
+ .replace('{instance_id}', encodeURIComponent(String(instanceId)));
7689
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
7690
+ if (configuration) {
7691
+ baseOptions = configuration.baseOptions;
7692
+ }
7693
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
7694
+ localVarHeaderParameter = {};
7695
+ localVarQueryParameter = {};
7696
+ localVarHeaderParameter['Accept'] = 'application/json';
7697
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
7698
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
7699
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
7700
+ return [2 /*return*/, {
7701
+ url: (0, common_1.toPathString)(localVarUrlObj),
7702
+ options: localVarRequestOptions,
7703
+ }];
7704
+ });
7705
+ });
7706
+ },
7446
7707
  /**
7447
7708
  * Change instance owner
7448
7709
  * @summary Change instance owner
@@ -7465,7 +7726,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
7465
7726
  // verify required parameter 'customerId' is not null or undefined
7466
7727
  (0, common_1.assertParamExists)('patchChangeInstanceOwner', 'customerId', customerId);
7467
7728
  localVarPath = "/tcx/installations/{instance_id}/owner"
7468
- .replace("{".concat("instance_id", "}"), encodeURIComponent(String(instanceId)));
7729
+ .replace('{instance_id}', encodeURIComponent(String(instanceId)));
7469
7730
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
7470
7731
  if (configuration) {
7471
7732
  baseOptions = configuration.baseOptions;
@@ -7508,7 +7769,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
7508
7769
  // verify required parameter 'enable' is not null or undefined
7509
7770
  (0, common_1.assertParamExists)('patchUpdateAutoFailover', 'enable', enable);
7510
7771
  localVarPath = "/tcx/installations/{instance_id}/failover/auto"
7511
- .replace("{".concat("instance_id", "}"), encodeURIComponent(String(instanceId)));
7772
+ .replace('{instance_id}', encodeURIComponent(String(instanceId)));
7512
7773
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
7513
7774
  if (configuration) {
7514
7775
  baseOptions = configuration.baseOptions;
@@ -7551,7 +7812,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
7551
7812
  // verify required parameter 'gigabytes' is not null or undefined
7552
7813
  (0, common_1.assertParamExists)('postAddDisk', 'gigabytes', gigabytes);
7553
7814
  localVarPath = "/tcx/installations/{instance_id}/disk"
7554
- .replace("{".concat("instance_id", "}"), encodeURIComponent(String(instanceId)));
7815
+ .replace('{instance_id}', encodeURIComponent(String(instanceId)));
7555
7816
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
7556
7817
  if (configuration) {
7557
7818
  baseOptions = configuration.baseOptions;
@@ -7597,7 +7858,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
7597
7858
  // verify required parameter 'ipAddress' is not null or undefined
7598
7859
  (0, common_1.assertParamExists)('postCreateSshUser', 'ipAddress', ipAddress);
7599
7860
  localVarPath = "/tcx/installations/{instance_id}/create/user/root"
7600
- .replace("{".concat("instance_id", "}"), encodeURIComponent(String(instanceId)));
7861
+ .replace('{instance_id}', encodeURIComponent(String(instanceId)));
7601
7862
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
7602
7863
  if (configuration) {
7603
7864
  baseOptions = configuration.baseOptions;
@@ -7641,7 +7902,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
7641
7902
  // verify required parameter 'instanceId' is not null or undefined
7642
7903
  (0, common_1.assertParamExists)('postDeleteInstance', 'instanceId', instanceId);
7643
7904
  localVarPath = "/tcx/installations/{instance_id}/delete"
7644
- .replace("{".concat("instance_id", "}"), encodeURIComponent(String(instanceId)));
7905
+ .replace('{instance_id}', encodeURIComponent(String(instanceId)));
7645
7906
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
7646
7907
  if (configuration) {
7647
7908
  baseOptions = configuration.baseOptions;
@@ -7682,7 +7943,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
7682
7943
  // verify required parameter 'gigabytes' is not null or undefined
7683
7944
  (0, common_1.assertParamExists)('postExtendDisk', 'gigabytes', gigabytes);
7684
7945
  localVarPath = "/tcx/installations/{instance_id}/disk/extend"
7685
- .replace("{".concat("instance_id", "}"), encodeURIComponent(String(instanceId)));
7946
+ .replace('{instance_id}', encodeURIComponent(String(instanceId)));
7686
7947
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
7687
7948
  if (configuration) {
7688
7949
  baseOptions = configuration.baseOptions;
@@ -7728,7 +7989,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
7728
7989
  // verify required parameter 'type' is not null or undefined
7729
7990
  (0, common_1.assertParamExists)('postFailoverInstance', 'type', type);
7730
7991
  localVarPath = "/tcx/installations/{instance_id}/failover"
7731
- .replace("{".concat("instance_id", "}"), encodeURIComponent(String(instanceId)));
7992
+ .replace('{instance_id}', encodeURIComponent(String(instanceId)));
7732
7993
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
7733
7994
  if (configuration) {
7734
7995
  baseOptions = configuration.baseOptions;
@@ -7768,7 +8029,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
7768
8029
  // verify required parameter 'sbcId' is not null or undefined
7769
8030
  (0, common_1.assertParamExists)('postInstallTcxSbc', 'sbcId', sbcId);
7770
8031
  localVarPath = "/tcx/installations/sbcs/{sbc_id}/install"
7771
- .replace("{".concat("sbc_id", "}"), encodeURIComponent(String(sbcId)));
8032
+ .replace('{sbc_id}', encodeURIComponent(String(sbcId)));
7772
8033
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
7773
8034
  if (configuration) {
7774
8035
  baseOptions = configuration.baseOptions;
@@ -7806,7 +8067,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
7806
8067
  // verify required parameter 'instanceId' is not null or undefined
7807
8068
  (0, common_1.assertParamExists)('postRebootInstance', 'instanceId', instanceId);
7808
8069
  localVarPath = "/tcx/installations/{instance_id}/reboot"
7809
- .replace("{".concat("instance_id", "}"), encodeURIComponent(String(instanceId)));
8070
+ .replace('{instance_id}', encodeURIComponent(String(instanceId)));
7810
8071
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
7811
8072
  if (configuration) {
7812
8073
  baseOptions = configuration.baseOptions;
@@ -7847,7 +8108,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
7847
8108
  // verify required parameter 'size' is not null or undefined
7848
8109
  (0, common_1.assertParamExists)('postResizeInstance', 'size', size);
7849
8110
  localVarPath = "/tcx/installations/{instance_id}/resize"
7850
- .replace("{".concat("instance_id", "}"), encodeURIComponent(String(instanceId)));
8111
+ .replace('{instance_id}', encodeURIComponent(String(instanceId)));
7851
8112
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
7852
8113
  if (configuration) {
7853
8114
  baseOptions = configuration.baseOptions;
@@ -7891,7 +8152,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
7891
8152
  // verify required parameter 'instanceId' is not null or undefined
7892
8153
  (0, common_1.assertParamExists)('postRestartServices', 'instanceId', instanceId);
7893
8154
  localVarPath = "/tcx/installations/{instance_id}/services/restart"
7894
- .replace("{".concat("instance_id", "}"), encodeURIComponent(String(instanceId)));
8155
+ .replace('{instance_id}', encodeURIComponent(String(instanceId)));
7895
8156
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
7896
8157
  if (configuration) {
7897
8158
  baseOptions = configuration.baseOptions;
@@ -7932,7 +8193,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
7932
8193
  // verify required parameter 'instanceId' is not null or undefined
7933
8194
  (0, common_1.assertParamExists)('postScheduledReboot', 'instanceId', instanceId);
7934
8195
  localVarPath = "/tcx/installations/{instance_id}/reboot/scheduled"
7935
- .replace("{".concat("instance_id", "}"), encodeURIComponent(String(instanceId)));
8196
+ .replace('{instance_id}', encodeURIComponent(String(instanceId)));
7936
8197
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
7937
8198
  if (configuration) {
7938
8199
  baseOptions = configuration.baseOptions;
@@ -7973,7 +8234,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
7973
8234
  // verify required parameter 'instanceId' is not null or undefined
7974
8235
  (0, common_1.assertParamExists)('postSuspendInstance', 'instanceId', instanceId);
7975
8236
  localVarPath = "/tcx/installations/{instance_id}/suspend"
7976
- .replace("{".concat("instance_id", "}"), encodeURIComponent(String(instanceId)));
8237
+ .replace('{instance_id}', encodeURIComponent(String(instanceId)));
7977
8238
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
7978
8239
  if (configuration) {
7979
8240
  baseOptions = configuration.baseOptions;
@@ -8013,7 +8274,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
8013
8274
  // verify required parameter 'instanceId' is not null or undefined
8014
8275
  (0, common_1.assertParamExists)('postTestLoginCredentials', 'instanceId', instanceId);
8015
8276
  localVarPath = "/tcx/installations/{instance_id}/tests/login"
8016
- .replace("{".concat("instance_id", "}"), encodeURIComponent(String(instanceId)));
8277
+ .replace('{instance_id}', encodeURIComponent(String(instanceId)));
8017
8278
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
8018
8279
  if (configuration) {
8019
8280
  baseOptions = configuration.baseOptions;
@@ -8050,7 +8311,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
8050
8311
  // verify required parameter 'instanceId' is not null or undefined
8051
8312
  (0, common_1.assertParamExists)('postUnsuspendInstance', 'instanceId', instanceId);
8052
8313
  localVarPath = "/tcx/installations/{instance_id}/unsuspend"
8053
- .replace("{".concat("instance_id", "}"), encodeURIComponent(String(instanceId)));
8314
+ .replace('{instance_id}', encodeURIComponent(String(instanceId)));
8054
8315
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
8055
8316
  if (configuration) {
8056
8317
  baseOptions = configuration.baseOptions;
@@ -8090,7 +8351,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
8090
8351
  // verify required parameter 'schedule' is not null or undefined
8091
8352
  (0, common_1.assertParamExists)('postUpgradeDebian', 'schedule', schedule);
8092
8353
  localVarPath = "/tcx/installations/{instance_id}/debian/upgrade"
8093
- .replace("{".concat("instance_id", "}"), encodeURIComponent(String(instanceId)));
8354
+ .replace('{instance_id}', encodeURIComponent(String(instanceId)));
8094
8355
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
8095
8356
  if (configuration) {
8096
8357
  baseOptions = configuration.baseOptions;
@@ -8131,7 +8392,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
8131
8392
  // verify required parameter 'wizardId' is not null or undefined
8132
8393
  (0, common_1.assertParamExists)('putGetDetails', 'wizardId', wizardId);
8133
8394
  localVarPath = "/tcx/installations/{wizard_id}/details"
8134
- .replace("{".concat("wizard_id", "}"), encodeURIComponent(String(wizardId)));
8395
+ .replace('{wizard_id}', encodeURIComponent(String(wizardId)));
8135
8396
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
8136
8397
  if (configuration) {
8137
8398
  baseOptions = configuration.baseOptions;
@@ -8213,6 +8474,29 @@ var Class3CXInstallationsApiFp = function (configuration) {
8213
8474
  });
8214
8475
  });
8215
8476
  },
8477
+ /**
8478
+ * Get Recording Backup Storage
8479
+ * @summary Get Recording Backup Storage
8480
+ * @param {string} instanceId Instance ID
8481
+ * @param {*} [options] Override http request option.
8482
+ * @throws {RequiredError}
8483
+ */
8484
+ getGetRecordingBackupStorage: function (instanceId, options) {
8485
+ return __awaiter(this, void 0, void 0, function () {
8486
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
8487
+ var _a, _b, _c;
8488
+ return __generator(this, function (_d) {
8489
+ switch (_d.label) {
8490
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetRecordingBackupStorage(instanceId, options)];
8491
+ case 1:
8492
+ localVarAxiosArgs = _d.sent();
8493
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
8494
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['Class3CXInstallationsApi.getGetRecordingBackupStorage']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
8495
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
8496
+ }
8497
+ });
8498
+ });
8499
+ },
8216
8500
  /**
8217
8501
  * Change instance owner
8218
8502
  * @summary Change instance owner
@@ -8654,6 +8938,16 @@ var Class3CXInstallationsApiFactory = function (configuration, basePath, axios)
8654
8938
  getGetInstallations: function (pageSize, page, customerId, search, status, hosting, installType, options) {
8655
8939
  return localVarFp.getGetInstallations(pageSize, page, customerId, search, status, hosting, installType, options).then(function (request) { return request(axios, basePath); });
8656
8940
  },
8941
+ /**
8942
+ * Get Recording Backup Storage
8943
+ * @summary Get Recording Backup Storage
8944
+ * @param {string} instanceId Instance ID
8945
+ * @param {*} [options] Override http request option.
8946
+ * @throws {RequiredError}
8947
+ */
8948
+ getGetRecordingBackupStorage: function (instanceId, options) {
8949
+ return localVarFp.getGetRecordingBackupStorage(instanceId, options).then(function (request) { return request(axios, basePath); });
8950
+ },
8657
8951
  /**
8658
8952
  * Change instance owner
8659
8953
  * @summary Change instance owner
@@ -8878,6 +9172,17 @@ var Class3CXInstallationsApi = /** @class */ (function (_super) {
8878
9172
  var _this = this;
8879
9173
  return (0, exports.Class3CXInstallationsApiFp)(this.configuration).getGetInstallations(pageSize, page, customerId, search, status, hosting, installType, options).then(function (request) { return request(_this.axios, _this.basePath); });
8880
9174
  };
9175
+ /**
9176
+ * Get Recording Backup Storage
9177
+ * @summary Get Recording Backup Storage
9178
+ * @param {string} instanceId Instance ID
9179
+ * @param {*} [options] Override http request option.
9180
+ * @throws {RequiredError}
9181
+ */
9182
+ Class3CXInstallationsApi.prototype.getGetRecordingBackupStorage = function (instanceId, options) {
9183
+ var _this = this;
9184
+ return (0, exports.Class3CXInstallationsApiFp)(this.configuration).getGetRecordingBackupStorage(instanceId, options).then(function (request) { return request(_this.axios, _this.basePath); });
9185
+ };
8881
9186
  /**
8882
9187
  * Change instance owner
8883
9188
  * @summary Change instance owner
@@ -9087,30 +9392,30 @@ exports.GetGetInstallationsStatusEnum = {
9087
9392
  Completed: 'Completed',
9088
9393
  Outstanding: 'Outstanding',
9089
9394
  Offline: 'Offline',
9090
- FailedOver: 'Failed Over'
9395
+ FailedOver: 'Failed Over',
9091
9396
  };
9092
9397
  exports.GetGetInstallationsHostingEnum = {
9093
9398
  Yellowgrid: 'yellowgrid',
9094
9399
  MultiTenant: 'multi-tenant',
9095
9400
  Onprem: 'onprem',
9096
- All: 'all'
9401
+ All: 'all',
9097
9402
  };
9098
9403
  exports.GetGetInstallationsInstallTypeEnum = {
9099
9404
  New: 'new',
9100
9405
  Restore: 'restore',
9101
9406
  Failover: 'failover',
9102
- MultiTenant: 'multi-tenant'
9407
+ MultiTenant: 'multi-tenant',
9103
9408
  };
9104
9409
  exports.PostFailoverInstanceTypeEnum = {
9105
9410
  Config: 'config',
9106
- Image: 'image'
9411
+ Image: 'image',
9107
9412
  };
9108
9413
  exports.PostResizeInstanceSizeEnum = {
9109
9414
  D24: 'd2-4',
9110
9415
  D28: 'd2-8',
9111
9416
  B230: 'b2-30',
9112
9417
  S2vcpu4gb: 's-2vcpu-4gb',
9113
- S4vcpu8gb: 's-4vcpu-8gb'
9418
+ S4vcpu8gb: 's-4vcpu-8gb',
9114
9419
  };
9115
9420
  /**
9116
9421
  * Class3CXIntegrationsApi - axios parameter creator
@@ -9265,8 +9570,8 @@ var Class3CXIntegrationsApiAxiosParamCreator = function (configuration) {
9265
9570
  // verify required parameter 'ref' is not null or undefined
9266
9571
  (0, common_1.assertParamExists)('patchUpdateEtpOrderReference', 'ref', ref);
9267
9572
  localVarPath = "/tcx/integrations/edtechpro/{clientId}/schools/{schoolId}/orderReference"
9268
- .replace("{".concat("clientId", "}"), encodeURIComponent(String(clientId)))
9269
- .replace("{".concat("schoolId", "}"), encodeURIComponent(String(schoolId)));
9573
+ .replace('{clientId}', encodeURIComponent(String(clientId)))
9574
+ .replace('{schoolId}', encodeURIComponent(String(schoolId)));
9270
9575
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
9271
9576
  if (configuration) {
9272
9577
  baseOptions = configuration.baseOptions;
@@ -9651,11 +9956,11 @@ var Class3CXIntegrationsApi = /** @class */ (function (_super) {
9651
9956
  exports.Class3CXIntegrationsApi = Class3CXIntegrationsApi;
9652
9957
  exports.GetGetPriceLicenceTypeEnum = {
9653
9958
  Lite: 'lite',
9654
- Pro: 'pro'
9959
+ Pro: 'pro',
9655
9960
  };
9656
9961
  exports.GetGetPriceSchoolTypeEnum = {
9657
9962
  Primary: 'primary',
9658
- Secondary: 'secondary'
9963
+ Secondary: 'secondary',
9659
9964
  };
9660
9965
  /**
9661
9966
  * Class3CXMultiTenantApi - axios parameter creator
@@ -9682,7 +9987,7 @@ var Class3CXMultiTenantApiAxiosParamCreator = function (configuration) {
9682
9987
  // verify required parameter 'reference' is not null or undefined
9683
9988
  (0, common_1.assertParamExists)('deleteGetTenant', 'reference', reference);
9684
9989
  localVarPath = "/tcx/mt/tenants/{reference}"
9685
- .replace("{".concat("reference", "}"), encodeURIComponent(String(reference)));
9990
+ .replace('{reference}', encodeURIComponent(String(reference)));
9686
9991
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
9687
9992
  if (configuration) {
9688
9993
  baseOptions = configuration.baseOptions;
@@ -9759,7 +10064,7 @@ var Class3CXMultiTenantApiAxiosParamCreator = function (configuration) {
9759
10064
  // verify required parameter 'reference' is not null or undefined
9760
10065
  (0, common_1.assertParamExists)('getGetTenant', 'reference', reference);
9761
10066
  localVarPath = "/tcx/mt/tenants/{reference}"
9762
- .replace("{".concat("reference", "}"), encodeURIComponent(String(reference)));
10067
+ .replace('{reference}', encodeURIComponent(String(reference)));
9763
10068
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
9764
10069
  if (configuration) {
9765
10070
  baseOptions = configuration.baseOptions;
@@ -10376,7 +10681,7 @@ exports.GetGetTenantsStatusEnum = {
10376
10681
  Completed: 'Completed',
10377
10682
  Outstanding: 'Outstanding',
10378
10683
  Offline: 'Offline',
10379
- FailedOver: 'Failed Over'
10684
+ FailedOver: 'Failed Over',
10380
10685
  };
10381
10686
  /**
10382
10687
  * MyPBXToolsApi - axios parameter creator
@@ -10533,7 +10838,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
10533
10838
  // verify required parameter 'id' is not null or undefined
10534
10839
  (0, common_1.assertParamExists)('deleteGetAdminNumberPort', 'id', id);
10535
10840
  localVarPath = "/admin/sip/numbers/ports/{id}"
10536
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
10841
+ .replace('{id}', encodeURIComponent(String(id)));
10537
10842
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
10538
10843
  if (configuration) {
10539
10844
  baseOptions = configuration.baseOptions;
@@ -10614,7 +10919,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
10614
10919
  // verify required parameter 'id' is not null or undefined
10615
10920
  (0, common_1.assertParamExists)('getGetAdminNumberPort', 'id', id);
10616
10921
  localVarPath = "/admin/sip/numbers/ports/{id}"
10617
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
10922
+ .replace('{id}', encodeURIComponent(String(id)));
10618
10923
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
10619
10924
  if (configuration) {
10620
10925
  baseOptions = configuration.baseOptions;
@@ -10696,7 +11001,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
10696
11001
  // verify required parameter 'id' is not null or undefined
10697
11002
  (0, common_1.assertParamExists)('getUpdateNumberPort', 'id', id);
10698
11003
  localVarPath = "/sip/numbers/ports/{id}"
10699
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
11004
+ .replace('{id}', encodeURIComponent(String(id)));
10700
11005
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
10701
11006
  if (configuration) {
10702
11007
  baseOptions = configuration.baseOptions;
@@ -10733,7 +11038,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
10733
11038
  // verify required parameter 'id' is not null or undefined
10734
11039
  (0, common_1.assertParamExists)('patchCancelAdminNumberPort', 'id', id);
10735
11040
  localVarPath = "/admin/sip/numbers/ports/{id}/cancel"
10736
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
11041
+ .replace('{id}', encodeURIComponent(String(id)));
10737
11042
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
10738
11043
  if (configuration) {
10739
11044
  baseOptions = configuration.baseOptions;
@@ -10770,7 +11075,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
10770
11075
  // verify required parameter 'id' is not null or undefined
10771
11076
  (0, common_1.assertParamExists)('patchCloseAdminNumberPort', 'id', id);
10772
11077
  localVarPath = "/admin/sip/numbers/ports/{id}/close"
10773
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
11078
+ .replace('{id}', encodeURIComponent(String(id)));
10774
11079
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
10775
11080
  if (configuration) {
10776
11081
  baseOptions = configuration.baseOptions;
@@ -10810,7 +11115,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
10810
11115
  // verify required parameter 'numberPortAdminNoteBody' is not null or undefined
10811
11116
  (0, common_1.assertParamExists)('postAddAdminNote', 'numberPortAdminNoteBody', numberPortAdminNoteBody);
10812
11117
  localVarPath = "/admin/sip/numbers/ports/{id}/notes"
10813
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
11118
+ .replace('{id}', encodeURIComponent(String(id)));
10814
11119
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
10815
11120
  if (configuration) {
10816
11121
  baseOptions = configuration.baseOptions;
@@ -10945,7 +11250,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
10945
11250
  // verify required parameter 'id' is not null or undefined
10946
11251
  (0, common_1.assertParamExists)('postSubmitNumberPort', 'id', id);
10947
11252
  localVarPath = "/sip/numbers/ports/{id}/submit"
10948
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
11253
+ .replace('{id}', encodeURIComponent(String(id)));
10949
11254
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
10950
11255
  if (configuration) {
10951
11256
  baseOptions = configuration.baseOptions;
@@ -11033,7 +11338,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
11033
11338
  // verify required parameter 'id' is not null or undefined
11034
11339
  (0, common_1.assertParamExists)('postUpdateNumberPort', 'id', id);
11035
11340
  localVarPath = "/sip/numbers/ports/{id}"
11036
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
11341
+ .replace('{id}', encodeURIComponent(String(id)));
11037
11342
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
11038
11343
  if (configuration) {
11039
11344
  baseOptions = configuration.baseOptions;
@@ -11112,7 +11417,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
11112
11417
  // verify required parameter 'numberPortDTO' is not null or undefined
11113
11418
  (0, common_1.assertParamExists)('putGetAdminNumberPort', 'numberPortDTO', numberPortDTO);
11114
11419
  localVarPath = "/admin/sip/numbers/ports/{id}"
11115
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
11420
+ .replace('{id}', encodeURIComponent(String(id)));
11116
11421
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
11117
11422
  if (configuration) {
11118
11423
  baseOptions = configuration.baseOptions;
@@ -12492,7 +12797,7 @@ exports.PostAccessTokenGrantTypeEnum = {
12492
12797
  AuthorizationCode: 'authorization_code',
12493
12798
  MsAuth: 'ms_auth',
12494
12799
  TokenExchange: 'token_exchange',
12495
- Password: 'password'
12800
+ Password: 'password',
12496
12801
  };
12497
12802
  exports.PostAccessTokenScopeEnum = {
12498
12803
  Star: '*',
@@ -12522,11 +12827,11 @@ exports.PostAccessTokenScopeEnum = {
12522
12827
  TcxMtRead: 'tcx_mt.read',
12523
12828
  TcxMtWrite: 'tcx_mt.write',
12524
12829
  TicketsRead: 'tickets.read',
12525
- TicketsWrite: 'tickets.write'
12830
+ TicketsWrite: 'tickets.write',
12526
12831
  };
12527
12832
  exports.PostAccessTokenTokenExchangeTypeEnum = {
12528
12833
  TcxWizard: 'tcx_wizard',
12529
- Portal: 'portal'
12834
+ Portal: 'portal',
12530
12835
  };
12531
12836
  exports.PostAuthoriseScopeEnum = {
12532
12837
  Star: '*',
@@ -12556,7 +12861,7 @@ exports.PostAuthoriseScopeEnum = {
12556
12861
  TcxMtRead: 'tcx_mt.read',
12557
12862
  TcxMtWrite: 'tcx_mt.write',
12558
12863
  TicketsRead: 'tickets.read',
12559
- TicketsWrite: 'tickets.write'
12864
+ TicketsWrite: 'tickets.write',
12560
12865
  };
12561
12866
  /**
12562
12867
  * OrdersApi - axios parameter creator
@@ -12585,8 +12890,8 @@ var OrdersApiAxiosParamCreator = function (configuration) {
12585
12890
  // verify required parameter 'batchId' is not null or undefined
12586
12891
  (0, common_1.assertParamExists)('deleteDeleteBatch', 'batchId', batchId);
12587
12892
  localVarPath = "/admin/orders/{id}/batches/{batch_id}"
12588
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)))
12589
- .replace("{".concat("batch_id", "}"), encodeURIComponent(String(batchId)));
12893
+ .replace('{id}', encodeURIComponent(String(id)))
12894
+ .replace('{batch_id}', encodeURIComponent(String(batchId)));
12590
12895
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
12591
12896
  if (configuration) {
12592
12897
  baseOptions = configuration.baseOptions;
@@ -12623,7 +12928,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
12623
12928
  // verify required parameter 'id' is not null or undefined
12624
12929
  (0, common_1.assertParamExists)('deleteUpdateOrder', 'id', id);
12625
12930
  localVarPath = "/orders/{id}"
12626
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
12931
+ .replace('{id}', encodeURIComponent(String(id)));
12627
12932
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
12628
12933
  if (configuration) {
12629
12934
  baseOptions = configuration.baseOptions;
@@ -12666,9 +12971,9 @@ var OrdersApiAxiosParamCreator = function (configuration) {
12666
12971
  // verify required parameter 'shipmentId' is not null or undefined
12667
12972
  (0, common_1.assertParamExists)('deleteUpdateShipment', 'shipmentId', shipmentId);
12668
12973
  localVarPath = "/admin/orders/{id}/batches/{batch_id}/shipments/{shipment_id}"
12669
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)))
12670
- .replace("{".concat("batch_id", "}"), encodeURIComponent(String(batchId)))
12671
- .replace("{".concat("shipment_id", "}"), encodeURIComponent(String(shipmentId)));
12974
+ .replace('{id}', encodeURIComponent(String(id)))
12975
+ .replace('{batch_id}', encodeURIComponent(String(batchId)))
12976
+ .replace('{shipment_id}', encodeURIComponent(String(shipmentId)));
12672
12977
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
12673
12978
  if (configuration) {
12674
12979
  baseOptions = configuration.baseOptions;
@@ -12705,7 +13010,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
12705
13010
  // verify required parameter 'id' is not null or undefined
12706
13011
  (0, common_1.assertParamExists)('getGetAdminEditableOrder', 'id', id);
12707
13012
  localVarPath = "/admin/orders/{id}/views/editable"
12708
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
13013
+ .replace('{id}', encodeURIComponent(String(id)));
12709
13014
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
12710
13015
  if (configuration) {
12711
13016
  baseOptions = configuration.baseOptions;
@@ -12743,7 +13048,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
12743
13048
  // verify required parameter 'id' is not null or undefined
12744
13049
  (0, common_1.assertParamExists)('getGetAdminOrderDetails', 'id', id);
12745
13050
  localVarPath = "/admin/orders/{id}/details"
12746
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
13051
+ .replace('{id}', encodeURIComponent(String(id)));
12747
13052
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
12748
13053
  if (configuration) {
12749
13054
  baseOptions = configuration.baseOptions;
@@ -12787,9 +13092,9 @@ var OrdersApiAxiosParamCreator = function (configuration) {
12787
13092
  // verify required parameter 'shipmentId' is not null or undefined
12788
13093
  (0, common_1.assertParamExists)('getGetCommercialInvoice', 'shipmentId', shipmentId);
12789
13094
  localVarPath = "/admin/orders/{id}/batches/{batch_id}/shipments/{shipment_id}/pdf"
12790
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)))
12791
- .replace("{".concat("batch_id", "}"), encodeURIComponent(String(batchId)))
12792
- .replace("{".concat("shipment_id", "}"), encodeURIComponent(String(shipmentId)));
13095
+ .replace('{id}', encodeURIComponent(String(id)))
13096
+ .replace('{batch_id}', encodeURIComponent(String(batchId)))
13097
+ .replace('{shipment_id}', encodeURIComponent(String(shipmentId)));
12793
13098
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
12794
13099
  if (configuration) {
12795
13100
  baseOptions = configuration.baseOptions;
@@ -12827,7 +13132,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
12827
13132
  // verify required parameter 'id' is not null or undefined
12828
13133
  (0, common_1.assertParamExists)('getGetEditableOrder', 'id', id);
12829
13134
  localVarPath = "/orders/{id}/views/editable"
12830
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
13135
+ .replace('{id}', encodeURIComponent(String(id)));
12831
13136
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
12832
13137
  if (configuration) {
12833
13138
  baseOptions = configuration.baseOptions;
@@ -12868,8 +13173,8 @@ var OrdersApiAxiosParamCreator = function (configuration) {
12868
13173
  // verify required parameter 'itemId' is not null or undefined
12869
13174
  (0, common_1.assertParamExists)('getGetItemSerialInfo', 'itemId', itemId);
12870
13175
  localVarPath = "/admin/orders/{id}/items/{item_id}/info"
12871
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)))
12872
- .replace("{".concat("item_id", "}"), encodeURIComponent(String(itemId)));
13176
+ .replace('{id}', encodeURIComponent(String(id)))
13177
+ .replace('{item_id}', encodeURIComponent(String(itemId)));
12873
13178
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
12874
13179
  if (configuration) {
12875
13180
  baseOptions = configuration.baseOptions;
@@ -12907,7 +13212,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
12907
13212
  // verify required parameter 'id' is not null or undefined
12908
13213
  (0, common_1.assertParamExists)('getGetOrderPdf', 'id', id);
12909
13214
  localVarPath = "/orders/{id}/pdf"
12910
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
13215
+ .replace('{id}', encodeURIComponent(String(id)));
12911
13216
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
12912
13217
  if (configuration) {
12913
13218
  baseOptions = configuration.baseOptions;
@@ -12945,7 +13250,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
12945
13250
  // verify required parameter 'id' is not null or undefined
12946
13251
  (0, common_1.assertParamExists)('getGetOrderSummary', 'id', id);
12947
13252
  localVarPath = "/admin/orders/{id}/summary"
12948
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
13253
+ .replace('{id}', encodeURIComponent(String(id)));
12949
13254
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
12950
13255
  if (configuration) {
12951
13256
  baseOptions = configuration.baseOptions;
@@ -13045,7 +13350,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
13045
13350
  // verify required parameter 'id' is not null or undefined
13046
13351
  (0, common_1.assertParamExists)('patchCompleteOrder', 'id', id);
13047
13352
  localVarPath = "/admin/orders/{id}/complete"
13048
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
13353
+ .replace('{id}', encodeURIComponent(String(id)));
13049
13354
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
13050
13355
  if (configuration) {
13051
13356
  baseOptions = configuration.baseOptions;
@@ -13084,7 +13389,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
13084
13389
  // verify required parameter 'id' is not null or undefined
13085
13390
  (0, common_1.assertParamExists)('postAddOrderNote', 'id', id);
13086
13391
  localVarPath = "/admin/orders/{id}/notes"
13087
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
13392
+ .replace('{id}', encodeURIComponent(String(id)));
13088
13393
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
13089
13394
  if (configuration) {
13090
13395
  baseOptions = configuration.baseOptions;
@@ -13169,8 +13474,8 @@ var OrdersApiAxiosParamCreator = function (configuration) {
13169
13474
  // verify required parameter 'shipmentId' is not null or undefined
13170
13475
  (0, common_1.assertParamExists)('postCreateConsignment', 'shipmentId', shipmentId);
13171
13476
  localVarPath = "/admin/orders/{id}/shipments/{shipment_id}/consignment"
13172
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)))
13173
- .replace("{".concat("shipment_id", "}"), encodeURIComponent(String(shipmentId)));
13477
+ .replace('{id}', encodeURIComponent(String(id)))
13478
+ .replace('{shipment_id}', encodeURIComponent(String(shipmentId)));
13174
13479
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
13175
13480
  if (configuration) {
13176
13481
  baseOptions = configuration.baseOptions;
@@ -13251,8 +13556,8 @@ var OrdersApiAxiosParamCreator = function (configuration) {
13251
13556
  // verify required parameter 'batchId' is not null or undefined
13252
13557
  (0, common_1.assertParamExists)('postCreateShipment', 'batchId', batchId);
13253
13558
  localVarPath = "/admin/orders/{id}/batches/{batch_id}/shipments"
13254
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)))
13255
- .replace("{".concat("batch_id", "}"), encodeURIComponent(String(batchId)));
13559
+ .replace('{id}', encodeURIComponent(String(id)))
13560
+ .replace('{batch_id}', encodeURIComponent(String(batchId)));
13256
13561
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
13257
13562
  if (configuration) {
13258
13563
  baseOptions = configuration.baseOptions;
@@ -13334,7 +13639,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
13334
13639
  // verify required parameter 'id' is not null or undefined
13335
13640
  (0, common_1.assertParamExists)('postIssueCredit', 'id', id);
13336
13641
  localVarPath = "/admin/orders/{id}/credit"
13337
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
13642
+ .replace('{id}', encodeURIComponent(String(id)));
13338
13643
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
13339
13644
  if (configuration) {
13340
13645
  baseOptions = configuration.baseOptions;
@@ -13380,8 +13685,8 @@ var OrdersApiAxiosParamCreator = function (configuration) {
13380
13685
  // verify required parameter 'printer' is not null or undefined
13381
13686
  (0, common_1.assertParamExists)('postPrintShippingLabel', 'printer', printer);
13382
13687
  localVarPath = "/admin/orders/{id}/shipments/{shipment_id}/label/print"
13383
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)))
13384
- .replace("{".concat("shipment_id", "}"), encodeURIComponent(String(shipmentId)));
13688
+ .replace('{id}', encodeURIComponent(String(id)))
13689
+ .replace('{shipment_id}', encodeURIComponent(String(shipmentId)));
13385
13690
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
13386
13691
  if (configuration) {
13387
13692
  baseOptions = configuration.baseOptions;
@@ -13425,8 +13730,8 @@ var OrdersApiAxiosParamCreator = function (configuration) {
13425
13730
  // verify required parameter 'batchId' is not null or undefined
13426
13731
  (0, common_1.assertParamExists)('postProcessTcxLicences', 'batchId', batchId);
13427
13732
  localVarPath = "/admin/orders/{id}/batches/{batch_id}/licences/process"
13428
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)))
13429
- .replace("{".concat("batch_id", "}"), encodeURIComponent(String(batchId)));
13733
+ .replace('{id}', encodeURIComponent(String(id)))
13734
+ .replace('{batch_id}', encodeURIComponent(String(batchId)));
13430
13735
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
13431
13736
  if (configuration) {
13432
13737
  baseOptions = configuration.baseOptions;
@@ -13467,7 +13772,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
13467
13772
  // verify required parameter 'email' is not null or undefined
13468
13773
  (0, common_1.assertParamExists)('postSendOrderEmail', 'email', email);
13469
13774
  localVarPath = "/admin/orders/{id}/email/send"
13470
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
13775
+ .replace('{id}', encodeURIComponent(String(id)));
13471
13776
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
13472
13777
  if (configuration) {
13473
13778
  baseOptions = configuration.baseOptions;
@@ -13516,9 +13821,9 @@ var OrdersApiAxiosParamCreator = function (configuration) {
13516
13821
  // verify required parameter 'email' is not null or undefined
13517
13822
  (0, common_1.assertParamExists)('postSendShipmentEmail', 'email', email);
13518
13823
  localVarPath = "/admin/orders/{id}/batches/{batch_id}/shipments/{shipment_id}/send/email"
13519
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)))
13520
- .replace("{".concat("batch_id", "}"), encodeURIComponent(String(batchId)))
13521
- .replace("{".concat("shipment_id", "}"), encodeURIComponent(String(shipmentId)));
13824
+ .replace('{id}', encodeURIComponent(String(id)))
13825
+ .replace('{batch_id}', encodeURIComponent(String(batchId)))
13826
+ .replace('{shipment_id}', encodeURIComponent(String(shipmentId)));
13522
13827
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
13523
13828
  if (configuration) {
13524
13829
  baseOptions = configuration.baseOptions;
@@ -13561,8 +13866,8 @@ var OrdersApiAxiosParamCreator = function (configuration) {
13561
13866
  // verify required parameter 'batchId' is not null or undefined
13562
13867
  (0, common_1.assertParamExists)('postSendSupplierEmail', 'batchId', batchId);
13563
13868
  localVarPath = "/admin/orders/{id}/batches/{batch_id}/email/send"
13564
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)))
13565
- .replace("{".concat("batch_id", "}"), encodeURIComponent(String(batchId)));
13869
+ .replace('{id}', encodeURIComponent(String(id)))
13870
+ .replace('{batch_id}', encodeURIComponent(String(batchId)));
13566
13871
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
13567
13872
  if (configuration) {
13568
13873
  baseOptions = configuration.baseOptions;
@@ -13600,7 +13905,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
13600
13905
  // verify required parameter 'id' is not null or undefined
13601
13906
  (0, common_1.assertParamExists)('postSplitOrder', 'id', id);
13602
13907
  localVarPath = "/admin/orders/{id}/split"
13603
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
13908
+ .replace('{id}', encodeURIComponent(String(id)));
13604
13909
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
13605
13910
  if (configuration) {
13606
13911
  baseOptions = configuration.baseOptions;
@@ -13644,7 +13949,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
13644
13949
  // verify required parameter 'supplierId' is not null or undefined
13645
13950
  (0, common_1.assertParamExists)('putAllocateItems', 'supplierId', supplierId);
13646
13951
  localVarPath = "/admin/orders/{id}/items/allocate"
13647
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
13952
+ .replace('{id}', encodeURIComponent(String(id)));
13648
13953
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
13649
13954
  if (configuration) {
13650
13955
  baseOptions = configuration.baseOptions;
@@ -13689,7 +13994,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
13689
13994
  // verify required parameter 'id' is not null or undefined
13690
13995
  (0, common_1.assertParamExists)('putUpdateAdminOrder', 'id', id);
13691
13996
  localVarPath = "/admin/orders/{id}"
13692
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
13997
+ .replace('{id}', encodeURIComponent(String(id)));
13693
13998
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
13694
13999
  if (configuration) {
13695
14000
  baseOptions = configuration.baseOptions;
@@ -13739,9 +14044,9 @@ var OrdersApiAxiosParamCreator = function (configuration) {
13739
14044
  // verify required parameter 'itemId' is not null or undefined
13740
14045
  (0, common_1.assertParamExists)('putUpdateBatchItem', 'itemId', itemId);
13741
14046
  localVarPath = "/admin/orders/{id}/batches/{batch_id}/items/{item_id}"
13742
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)))
13743
- .replace("{".concat("batch_id", "}"), encodeURIComponent(String(batchId)))
13744
- .replace("{".concat("item_id", "}"), encodeURIComponent(String(itemId)));
14047
+ .replace('{id}', encodeURIComponent(String(id)))
14048
+ .replace('{batch_id}', encodeURIComponent(String(batchId)))
14049
+ .replace('{item_id}', encodeURIComponent(String(itemId)));
13745
14050
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
13746
14051
  if (configuration) {
13747
14052
  baseOptions = configuration.baseOptions;
@@ -13783,7 +14088,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
13783
14088
  // verify required parameter 'id' is not null or undefined
13784
14089
  (0, common_1.assertParamExists)('putUpdateOrder', 'id', id);
13785
14090
  localVarPath = "/orders/{id}"
13786
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
14091
+ .replace('{id}', encodeURIComponent(String(id)));
13787
14092
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
13788
14093
  if (configuration) {
13789
14094
  baseOptions = configuration.baseOptions;
@@ -13829,7 +14134,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
13829
14134
  // verify required parameter 'paid' is not null or undefined
13830
14135
  (0, common_1.assertParamExists)('putUpdatePaymentStatus', 'paid', paid);
13831
14136
  localVarPath = "/admin/orders/{id}/paid"
13832
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
14137
+ .replace('{id}', encodeURIComponent(String(id)));
13833
14138
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
13834
14139
  if (configuration) {
13835
14140
  baseOptions = configuration.baseOptions;
@@ -13877,9 +14182,9 @@ var OrdersApiAxiosParamCreator = function (configuration) {
13877
14182
  // verify required parameter 'shipmentId' is not null or undefined
13878
14183
  (0, common_1.assertParamExists)('putUpdateShipment', 'shipmentId', shipmentId);
13879
14184
  localVarPath = "/admin/orders/{id}/batches/{batch_id}/shipments/{shipment_id}"
13880
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)))
13881
- .replace("{".concat("batch_id", "}"), encodeURIComponent(String(batchId)))
13882
- .replace("{".concat("shipment_id", "}"), encodeURIComponent(String(shipmentId)));
14185
+ .replace('{id}', encodeURIComponent(String(id)))
14186
+ .replace('{batch_id}', encodeURIComponent(String(batchId)))
14187
+ .replace('{shipment_id}', encodeURIComponent(String(shipmentId)));
13883
14188
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
13884
14189
  if (configuration) {
13885
14190
  baseOptions = configuration.baseOptions;
@@ -15423,18 +15728,18 @@ exports.GetGetOrdersStatusEnum = {
15423
15728
  Paid: 'PAID',
15424
15729
  InvoicePaid: 'INVOICE_PAID',
15425
15730
  Unpaid: 'UNPAID',
15426
- Quote: 'QUOTE'
15731
+ Quote: 'QUOTE',
15427
15732
  };
15428
15733
  exports.GetGetOrdersFilterEnum = {
15429
15734
  Outstanding: 'OUTSTANDING',
15430
15735
  Quotes: 'QUOTES',
15431
15736
  All: 'ALL',
15432
- BackOrders: 'BACK_ORDERS'
15737
+ BackOrders: 'BACK_ORDERS',
15433
15738
  };
15434
15739
  exports.PostPrintShippingLabelPrinterEnum = {
15435
15740
  NUMBER_1: 1,
15436
15741
  NUMBER_2: 2,
15437
- NUMBER_3: 3
15742
+ NUMBER_3: 3,
15438
15743
  };
15439
15744
  /**
15440
15745
  * PricingApi - axios parameter creator
@@ -15707,14 +16012,14 @@ exports.GetGetPriceListTypeEnum = {
15707
16012
  EdTechPro: 'EdTechPro',
15708
16013
  Sms: 'SMS',
15709
16014
  SipTrunks: 'SIP Trunks',
15710
- CrmIntegrations: 'CRM Integrations'
16015
+ CrmIntegrations: 'CRM Integrations',
15711
16016
  };
15712
16017
  exports.GetGetPriceListFormatEnum = {
15713
16018
  Pdf: 'pdf',
15714
16019
  Json: 'json',
15715
16020
  Csv: 'csv',
15716
16021
  Xml: 'xml',
15717
- Html: 'html'
16022
+ Html: 'html',
15718
16023
  };
15719
16024
  exports.GetGetPriceListCategoryEnum = {
15720
16025
  Yealink: 'Yealink',
@@ -15736,7 +16041,7 @@ exports.GetGetPriceListCategoryEnum = {
15736
16041
  FanvilWirelessPhones: 'Fanvil Wireless Phones',
15737
16042
  FanvilSecurityProducts: 'Fanvil Security Products',
15738
16043
  FanvilAccessories: 'Fanvil Accessories',
15739
- FanvilHotelPhones: 'Fanvil Hotel Phones'
16044
+ FanvilHotelPhones: 'Fanvil Hotel Phones',
15740
16045
  };
15741
16046
  exports.PostSendPriceListTypeEnum = {
15742
16047
  Products: 'Products',
@@ -15747,14 +16052,14 @@ exports.PostSendPriceListTypeEnum = {
15747
16052
  EdTechPro: 'EdTechPro',
15748
16053
  Sms: 'SMS',
15749
16054
  SipTrunks: 'SIP Trunks',
15750
- CrmIntegrations: 'CRM Integrations'
16055
+ CrmIntegrations: 'CRM Integrations',
15751
16056
  };
15752
16057
  exports.PostSendPriceListFormatEnum = {
15753
16058
  Pdf: 'pdf',
15754
16059
  Json: 'json',
15755
16060
  Csv: 'csv',
15756
16061
  Xml: 'xml',
15757
- Html: 'html'
16062
+ Html: 'html',
15758
16063
  };
15759
16064
  exports.PostSendPriceListCategoryEnum = {
15760
16065
  Yealink: 'Yealink',
@@ -15776,7 +16081,7 @@ exports.PostSendPriceListCategoryEnum = {
15776
16081
  FanvilWirelessPhones: 'Fanvil Wireless Phones',
15777
16082
  FanvilSecurityProducts: 'Fanvil Security Products',
15778
16083
  FanvilAccessories: 'Fanvil Accessories',
15779
- FanvilHotelPhones: 'Fanvil Hotel Phones'
16084
+ FanvilHotelPhones: 'Fanvil Hotel Phones',
15780
16085
  };
15781
16086
  /**
15782
16087
  * ProductsApi - axios parameter creator
@@ -16063,7 +16368,7 @@ var ProductsApiAxiosParamCreator = function (configuration) {
16063
16368
  // verify required parameter 'quantity' is not null or undefined
16064
16369
  (0, common_1.assertParamExists)('patchAddQuantityToStock', 'quantity', quantity);
16065
16370
  localVarPath = "/products/{sku}/stock/add"
16066
- .replace("{".concat("sku", "}"), encodeURIComponent(String(sku)));
16371
+ .replace('{sku}', encodeURIComponent(String(sku)));
16067
16372
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
16068
16373
  if (configuration) {
16069
16374
  baseOptions = configuration.baseOptions;
@@ -16106,7 +16411,7 @@ var ProductsApiAxiosParamCreator = function (configuration) {
16106
16411
  // verify required parameter 'postGetProductForCustomerRequest' is not null or undefined
16107
16412
  (0, common_1.assertParamExists)('postGetProduct', 'postGetProductForCustomerRequest', postGetProductForCustomerRequest);
16108
16413
  localVarPath = "/products/{sku}"
16109
- .replace("{".concat("sku", "}"), encodeURIComponent(String(sku)));
16414
+ .replace('{sku}', encodeURIComponent(String(sku)));
16110
16415
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
16111
16416
  if (configuration) {
16112
16417
  baseOptions = configuration.baseOptions;
@@ -16152,7 +16457,7 @@ var ProductsApiAxiosParamCreator = function (configuration) {
16152
16457
  // verify required parameter 'postGetProductForCustomerRequest' is not null or undefined
16153
16458
  (0, common_1.assertParamExists)('postGetProductForCustomer', 'postGetProductForCustomerRequest', postGetProductForCustomerRequest);
16154
16459
  localVarPath = "/admin/products/{sku}"
16155
- .replace("{".concat("sku", "}"), encodeURIComponent(String(sku)));
16460
+ .replace('{sku}', encodeURIComponent(String(sku)));
16156
16461
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
16157
16462
  if (configuration) {
16158
16463
  baseOptions = configuration.baseOptions;
@@ -16656,7 +16961,7 @@ var ProductsApi = /** @class */ (function (_super) {
16656
16961
  exports.ProductsApi = ProductsApi;
16657
16962
  exports.GetGetLegacyStockListFormatEnum = {
16658
16963
  Xml: 'XML',
16659
- Csv: 'CSV'
16964
+ Csv: 'CSV',
16660
16965
  };
16661
16966
  /**
16662
16967
  * ProspectsApi - axios parameter creator
@@ -16683,7 +16988,7 @@ var ProspectsApiAxiosParamCreator = function (configuration) {
16683
16988
  // verify required parameter 'xeroId' is not null or undefined
16684
16989
  (0, common_1.assertParamExists)('getGetProspect', 'xeroId', xeroId);
16685
16990
  localVarPath = "/accounts/prospects/{xero_id}"
16686
- .replace("{".concat("xero_id", "}"), encodeURIComponent(String(xeroId)));
16991
+ .replace('{xero_id}', encodeURIComponent(String(xeroId)));
16687
16992
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
16688
16993
  if (configuration) {
16689
16994
  baseOptions = configuration.baseOptions;
@@ -16758,7 +17063,7 @@ var ProspectsApiAxiosParamCreator = function (configuration) {
16758
17063
  // verify required parameter 'status' is not null or undefined
16759
17064
  (0, common_1.assertParamExists)('getRemoveFromProspects', 'status', status);
16760
17065
  localVarPath = "/accounts/prospects/{xero_id}/remove"
16761
- .replace("{".concat("xero_id", "}"), encodeURIComponent(String(xeroId)));
17066
+ .replace('{xero_id}', encodeURIComponent(String(xeroId)));
16762
17067
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
16763
17068
  if (configuration) {
16764
17069
  baseOptions = configuration.baseOptions;
@@ -16802,7 +17107,7 @@ var ProspectsApiAxiosParamCreator = function (configuration) {
16802
17107
  // verify required parameter 'date' is not null or undefined
16803
17108
  (0, common_1.assertParamExists)('getSetCallback', 'date', date);
16804
17109
  localVarPath = "/accounts/prospects/{xero_id}/date"
16805
- .replace("{".concat("xero_id", "}"), encodeURIComponent(String(xeroId)));
17110
+ .replace('{xero_id}', encodeURIComponent(String(xeroId)));
16806
17111
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
16807
17112
  if (configuration) {
16808
17113
  baseOptions = configuration.baseOptions;
@@ -17063,8 +17368,8 @@ var ProvisioningApiAxiosParamCreator = function (configuration) {
17063
17368
  // verify required parameter 'mac' is not null or undefined
17064
17369
  (0, common_1.assertParamExists)('deleteAddFanvilMac', 'mac', mac);
17065
17370
  localVarPath = "/provisioning/fanvil/groups/{id}/macs/{mac}"
17066
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)))
17067
- .replace("{".concat("mac", "}"), encodeURIComponent(String(mac)));
17371
+ .replace('{id}', encodeURIComponent(String(id)))
17372
+ .replace('{mac}', encodeURIComponent(String(mac)));
17068
17373
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
17069
17374
  if (configuration) {
17070
17375
  baseOptions = configuration.baseOptions;
@@ -17101,7 +17406,7 @@ var ProvisioningApiAxiosParamCreator = function (configuration) {
17101
17406
  // verify required parameter 'id' is not null or undefined
17102
17407
  (0, common_1.assertParamExists)('deleteDeleteFanvilGroup', 'id', id);
17103
17408
  localVarPath = "/provisioning/fanvil/groups/{id}"
17104
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
17409
+ .replace('{id}', encodeURIComponent(String(id)));
17105
17410
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
17106
17411
  if (configuration) {
17107
17412
  baseOptions = configuration.baseOptions;
@@ -17141,8 +17446,8 @@ var ProvisioningApiAxiosParamCreator = function (configuration) {
17141
17446
  // verify required parameter 'mac' is not null or undefined
17142
17447
  (0, common_1.assertParamExists)('getGetFanvilEncryptionKey', 'mac', mac);
17143
17448
  localVarPath = "/provisioning/fanvil/groups/{id}/macs/{mac}/key"
17144
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)))
17145
- .replace("{".concat("mac", "}"), encodeURIComponent(String(mac)));
17449
+ .replace('{id}', encodeURIComponent(String(id)))
17450
+ .replace('{mac}', encodeURIComponent(String(mac)));
17146
17451
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
17147
17452
  if (configuration) {
17148
17453
  baseOptions = configuration.baseOptions;
@@ -17180,7 +17485,7 @@ var ProvisioningApiAxiosParamCreator = function (configuration) {
17180
17485
  // verify required parameter 'id' is not null or undefined
17181
17486
  (0, common_1.assertParamExists)('getGetFanvilGroupMacs', 'id', id);
17182
17487
  localVarPath = "/provisioning/fanvil/groups/{id}/macs"
17183
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
17488
+ .replace('{id}', encodeURIComponent(String(id)));
17184
17489
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
17185
17490
  if (configuration) {
17186
17491
  baseOptions = configuration.baseOptions;
@@ -17296,8 +17601,8 @@ var ProvisioningApiAxiosParamCreator = function (configuration) {
17296
17601
  // verify required parameter 'mac' is not null or undefined
17297
17602
  (0, common_1.assertParamExists)('postAddFanvilMac', 'mac', mac);
17298
17603
  localVarPath = "/provisioning/fanvil/groups/{id}/macs/{mac}"
17299
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)))
17300
- .replace("{".concat("mac", "}"), encodeURIComponent(String(mac)));
17604
+ .replace('{id}', encodeURIComponent(String(id)))
17605
+ .replace('{mac}', encodeURIComponent(String(mac)));
17301
17606
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
17302
17607
  if (configuration) {
17303
17608
  baseOptions = configuration.baseOptions;
@@ -17689,7 +17994,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
17689
17994
  // verify required parameter 'id' is not null or undefined
17690
17995
  (0, common_1.assertParamExists)('deleteGetSipTrunk', 'id', id);
17691
17996
  localVarPath = "/sip/trunks/{id}"
17692
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
17997
+ .replace('{id}', encodeURIComponent(String(id)));
17693
17998
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
17694
17999
  if (configuration) {
17695
18000
  baseOptions = configuration.baseOptions;
@@ -17727,7 +18032,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
17727
18032
  // verify required parameter 'id' is not null or undefined
17728
18033
  (0, common_1.assertParamExists)('getCanDivert', 'id', id);
17729
18034
  localVarPath = "/sip/trunks/{id}/diverts/allowed"
17730
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
18035
+ .replace('{id}', encodeURIComponent(String(id)));
17731
18036
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
17732
18037
  if (configuration) {
17733
18038
  baseOptions = configuration.baseOptions;
@@ -17765,7 +18070,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
17765
18070
  // verify required parameter 'id' is not null or undefined
17766
18071
  (0, common_1.assertParamExists)('getGetAddress', 'id', id);
17767
18072
  localVarPath = "/sip/trunks/{id}/address"
17768
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
18073
+ .replace('{id}', encodeURIComponent(String(id)));
17769
18074
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
17770
18075
  if (configuration) {
17771
18076
  baseOptions = configuration.baseOptions;
@@ -17874,7 +18179,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
17874
18179
  // verify required parameter 'id' is not null or undefined
17875
18180
  (0, common_1.assertParamExists)('getGetCliFlexibility', 'id', id);
17876
18181
  localVarPath = "/sip/trunks/{id}/cli/flexibility"
17877
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
18182
+ .replace('{id}', encodeURIComponent(String(id)));
17878
18183
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
17879
18184
  if (configuration) {
17880
18185
  baseOptions = configuration.baseOptions;
@@ -17912,7 +18217,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
17912
18217
  // verify required parameter 'id' is not null or undefined
17913
18218
  (0, common_1.assertParamExists)('getGetDdis', 'id', id);
17914
18219
  localVarPath = "/sip/trunks/{id}/ddis"
17915
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
18220
+ .replace('{id}', encodeURIComponent(String(id)));
17916
18221
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
17917
18222
  if (configuration) {
17918
18223
  baseOptions = configuration.baseOptions;
@@ -17951,7 +18256,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
17951
18256
  // verify required parameter 'id' is not null or undefined
17952
18257
  (0, common_1.assertParamExists)('getGetDiverts', 'id', id);
17953
18258
  localVarPath = "/sip/trunks/{id}/diverts"
17954
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
18259
+ .replace('{id}', encodeURIComponent(String(id)));
17955
18260
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
17956
18261
  if (configuration) {
17957
18262
  baseOptions = configuration.baseOptions;
@@ -17992,7 +18297,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
17992
18297
  // verify required parameter 'id' is not null or undefined
17993
18298
  (0, common_1.assertParamExists)('getGetSipTrunk', 'id', id);
17994
18299
  localVarPath = "/sip/trunks/{id}"
17995
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
18300
+ .replace('{id}', encodeURIComponent(String(id)));
17996
18301
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
17997
18302
  if (configuration) {
17998
18303
  baseOptions = configuration.baseOptions;
@@ -18079,7 +18384,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
18079
18384
  // verify required parameter 'enabled' is not null or undefined
18080
18385
  (0, common_1.assertParamExists)('patchGetCliFlexibility', 'enabled', enabled);
18081
18386
  localVarPath = "/sip/trunks/{id}/cli/flexibility"
18082
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
18387
+ .replace('{id}', encodeURIComponent(String(id)));
18083
18388
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
18084
18389
  if (configuration) {
18085
18390
  baseOptions = configuration.baseOptions;
@@ -18120,7 +18425,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
18120
18425
  // verify required parameter 'id' is not null or undefined
18121
18426
  (0, common_1.assertParamExists)('patchSetAsAvailable', 'id', id);
18122
18427
  localVarPath = "/sip/trunks/{id}/available"
18123
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
18428
+ .replace('{id}', encodeURIComponent(String(id)));
18124
18429
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
18125
18430
  if (configuration) {
18126
18431
  baseOptions = configuration.baseOptions;
@@ -18161,7 +18466,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
18161
18466
  // verify required parameter 'ownerId' is not null or undefined
18162
18467
  (0, common_1.assertParamExists)('patchSetOwnership', 'ownerId', ownerId);
18163
18468
  localVarPath = "/sip/trunks/{id}/owner"
18164
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
18469
+ .replace('{id}', encodeURIComponent(String(id)));
18165
18470
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
18166
18471
  if (configuration) {
18167
18472
  baseOptions = configuration.baseOptions;
@@ -18207,7 +18512,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
18207
18512
  // verify required parameter 'channels' is not null or undefined
18208
18513
  (0, common_1.assertParamExists)('patchUpdateChannelCount', 'channels', channels);
18209
18514
  localVarPath = "/sip/trunks/{id}/channels"
18210
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
18515
+ .replace('{id}', encodeURIComponent(String(id)));
18211
18516
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
18212
18517
  if (configuration) {
18213
18518
  baseOptions = configuration.baseOptions;
@@ -18251,7 +18556,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
18251
18556
  // verify required parameter 'company' is not null or undefined
18252
18557
  (0, common_1.assertParamExists)('patchUpdateCompanyName', 'company', company);
18253
18558
  localVarPath = "/sip/trunks/{id}/company"
18254
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
18559
+ .replace('{id}', encodeURIComponent(String(id)));
18255
18560
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
18256
18561
  if (configuration) {
18257
18562
  baseOptions = configuration.baseOptions;
@@ -18295,7 +18600,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
18295
18600
  // verify required parameter 'number' is not null or undefined
18296
18601
  (0, common_1.assertParamExists)('patchUpdateMainTrunkNumber', 'number', number);
18297
18602
  localVarPath = "/sip/trunks/{id}/number"
18298
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
18603
+ .replace('{id}', encodeURIComponent(String(id)));
18299
18604
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
18300
18605
  if (configuration) {
18301
18606
  baseOptions = configuration.baseOptions;
@@ -18339,7 +18644,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
18339
18644
  // verify required parameter 'ipAddress' is not null or undefined
18340
18645
  (0, common_1.assertParamExists)('patchUpdatePbxIPAddress', 'ipAddress', ipAddress);
18341
18646
  localVarPath = "/sip/trunks/{id}/pbx/ip"
18342
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
18647
+ .replace('{id}', encodeURIComponent(String(id)));
18343
18648
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
18344
18649
  if (configuration) {
18345
18650
  baseOptions = configuration.baseOptions;
@@ -18381,7 +18686,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
18381
18686
  // verify required parameter 'id' is not null or undefined
18382
18687
  (0, common_1.assertParamExists)('postGetDdis', 'id', id);
18383
18688
  localVarPath = "/sip/trunks/{id}/ddis"
18384
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
18689
+ .replace('{id}', encodeURIComponent(String(id)));
18385
18690
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
18386
18691
  if (configuration) {
18387
18692
  baseOptions = configuration.baseOptions;
@@ -18533,7 +18838,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
18533
18838
  // verify required parameter 'id' is not null or undefined
18534
18839
  (0, common_1.assertParamExists)('putGetAddress', 'id', id);
18535
18840
  localVarPath = "/sip/trunks/{id}/address"
18536
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
18841
+ .replace('{id}', encodeURIComponent(String(id)));
18537
18842
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
18538
18843
  if (configuration) {
18539
18844
  baseOptions = configuration.baseOptions;
@@ -18577,7 +18882,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
18577
18882
  // verify required parameter 'enabled' is not null or undefined
18578
18883
  (0, common_1.assertParamExists)('putGetDiverts', 'enabled', enabled);
18579
18884
  localVarPath = "/sip/trunks/{id}/diverts"
18580
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
18885
+ .replace('{id}', encodeURIComponent(String(id)));
18581
18886
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
18582
18887
  if (configuration) {
18583
18888
  baseOptions = configuration.baseOptions;
@@ -19983,7 +20288,7 @@ var ServicesApiAxiosParamCreator = function (configuration) {
19983
20288
  // verify required parameter 'id' is not null or undefined
19984
20289
  (0, common_1.assertParamExists)('patchArchiveEvent', 'id', id);
19985
20290
  localVarPath = "/services/events/{id}/archive"
19986
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
20291
+ .replace('{id}', encodeURIComponent(String(id)));
19987
20292
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
19988
20293
  if (configuration) {
19989
20294
  baseOptions = configuration.baseOptions;
@@ -20021,7 +20326,7 @@ var ServicesApiAxiosParamCreator = function (configuration) {
20021
20326
  // verify required parameter 'id' is not null or undefined
20022
20327
  (0, common_1.assertParamExists)('patchUpdateEvent', 'id', id);
20023
20328
  localVarPath = "/services/events/{id}"
20024
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
20329
+ .replace('{id}', encodeURIComponent(String(id)));
20025
20330
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
20026
20331
  if (configuration) {
20027
20332
  baseOptions = configuration.baseOptions;
@@ -20097,7 +20402,7 @@ var ServicesApiAxiosParamCreator = function (configuration) {
20097
20402
  // verify required parameter 'id' is not null or undefined
20098
20403
  (0, common_1.assertParamExists)('postCreateEventUpdate', 'id', id);
20099
20404
  localVarPath = "/services/events/{id}/updates"
20100
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
20405
+ .replace('{id}', encodeURIComponent(String(id)));
20101
20406
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
20102
20407
  if (configuration) {
20103
20408
  baseOptions = configuration.baseOptions;
@@ -20713,7 +21018,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
20713
21018
  // verify required parameter 'id' is not null or undefined
20714
21019
  (0, common_1.assertParamExists)('deleteDeleteStockOrder', 'id', id);
20715
21020
  localVarPath = "/stock/orders/{id}"
20716
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
21021
+ .replace('{id}', encodeURIComponent(String(id)));
20717
21022
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
20718
21023
  if (configuration) {
20719
21024
  baseOptions = configuration.baseOptions;
@@ -20753,8 +21058,8 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
20753
21058
  // verify required parameter 'deductionId' is not null or undefined
20754
21059
  (0, common_1.assertParamExists)('deleteDeleteStockOrderDeduction', 'deductionId', deductionId);
20755
21060
  localVarPath = "/stock/orders/{order_id}/deductions/{deduction_id}"
20756
- .replace("{".concat("order_id", "}"), encodeURIComponent(String(orderId)))
20757
- .replace("{".concat("deduction_id", "}"), encodeURIComponent(String(deductionId)));
21061
+ .replace('{order_id}', encodeURIComponent(String(orderId)))
21062
+ .replace('{deduction_id}', encodeURIComponent(String(deductionId)));
20758
21063
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
20759
21064
  if (configuration) {
20760
21065
  baseOptions = configuration.baseOptions;
@@ -20794,8 +21099,8 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
20794
21099
  // verify required parameter 'itemId' is not null or undefined
20795
21100
  (0, common_1.assertParamExists)('deleteDeleteStockOrderItem', 'itemId', itemId);
20796
21101
  localVarPath = "/stock/orders/{order_id}/items/{item_id}"
20797
- .replace("{".concat("order_id", "}"), encodeURIComponent(String(orderId)))
20798
- .replace("{".concat("item_id", "}"), encodeURIComponent(String(itemId)));
21102
+ .replace('{order_id}', encodeURIComponent(String(orderId)))
21103
+ .replace('{item_id}', encodeURIComponent(String(itemId)));
20799
21104
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
20800
21105
  if (configuration) {
20801
21106
  baseOptions = configuration.baseOptions;
@@ -20832,7 +21137,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
20832
21137
  // verify required parameter 'id' is not null or undefined
20833
21138
  (0, common_1.assertParamExists)('deleteGetStockProduct', 'id', id);
20834
21139
  localVarPath = "/stock/products/{id}"
20835
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
21140
+ .replace('{id}', encodeURIComponent(String(id)));
20836
21141
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
20837
21142
  if (configuration) {
20838
21143
  baseOptions = configuration.baseOptions;
@@ -20869,7 +21174,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
20869
21174
  // verify required parameter 'id' is not null or undefined
20870
21175
  (0, common_1.assertParamExists)('getDeleteStockOrder', 'id', id);
20871
21176
  localVarPath = "/stock/orders/{id}"
20872
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
21177
+ .replace('{id}', encodeURIComponent(String(id)));
20873
21178
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
20874
21179
  if (configuration) {
20875
21180
  baseOptions = configuration.baseOptions;
@@ -20907,7 +21212,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
20907
21212
  // verify required parameter 'sku' is not null or undefined
20908
21213
  (0, common_1.assertParamExists)('getGetProductDetails', 'sku', sku);
20909
21214
  localVarPath = "/stock/products/{sku}/details"
20910
- .replace("{".concat("sku", "}"), encodeURIComponent(String(sku)));
21215
+ .replace('{sku}', encodeURIComponent(String(sku)));
20911
21216
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
20912
21217
  if (configuration) {
20913
21218
  baseOptions = configuration.baseOptions;
@@ -20945,7 +21250,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
20945
21250
  // verify required parameter 'id' is not null or undefined
20946
21251
  (0, common_1.assertParamExists)('getGetStockOrderPurchaseOrder', 'id', id);
20947
21252
  localVarPath = "/stock/orders/{id}/po"
20948
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
21253
+ .replace('{id}', encodeURIComponent(String(id)));
20949
21254
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
20950
21255
  if (configuration) {
20951
21256
  baseOptions = configuration.baseOptions;
@@ -20983,7 +21288,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
20983
21288
  // verify required parameter 'id' is not null or undefined
20984
21289
  (0, common_1.assertParamExists)('getGetStockOrderSupplierEmail', 'id', id);
20985
21290
  localVarPath = "/stock/orders/{id}/supplier/email"
20986
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
21291
+ .replace('{id}', encodeURIComponent(String(id)));
20987
21292
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
20988
21293
  if (configuration) {
20989
21294
  baseOptions = configuration.baseOptions;
@@ -21071,7 +21376,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
21071
21376
  // verify required parameter 'id' is not null or undefined
21072
21377
  (0, common_1.assertParamExists)('getGetStockProduct', 'id', id);
21073
21378
  localVarPath = "/stock/products/{id}"
21074
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
21379
+ .replace('{id}', encodeURIComponent(String(id)));
21075
21380
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
21076
21381
  if (configuration) {
21077
21382
  baseOptions = configuration.baseOptions;
@@ -21189,7 +21494,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
21189
21494
  // verify required parameter 'id' is not null or undefined
21190
21495
  (0, common_1.assertParamExists)('getGetStockSupplierProducts', 'id', id);
21191
21496
  localVarPath = "/stock/suppliers/{id}/products"
21192
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
21497
+ .replace('{id}', encodeURIComponent(String(id)));
21193
21498
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
21194
21499
  if (configuration) {
21195
21500
  baseOptions = configuration.baseOptions;
@@ -21227,7 +21532,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
21227
21532
  // verify required parameter 'id' is not null or undefined
21228
21533
  (0, common_1.assertParamExists)('getUploadStockOrderInvoice', 'id', id);
21229
21534
  localVarPath = "/stock/orders/{id}/invoice"
21230
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
21535
+ .replace('{id}', encodeURIComponent(String(id)));
21231
21536
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
21232
21537
  if (configuration) {
21233
21538
  baseOptions = configuration.baseOptions;
@@ -21266,7 +21571,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
21266
21571
  // verify required parameter 'id' is not null or undefined
21267
21572
  (0, common_1.assertParamExists)('patchDeleteStockOrder', 'id', id);
21268
21573
  localVarPath = "/stock/orders/{id}"
21269
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
21574
+ .replace('{id}', encodeURIComponent(String(id)));
21270
21575
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
21271
21576
  if (configuration) {
21272
21577
  baseOptions = configuration.baseOptions;
@@ -21310,8 +21615,8 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
21310
21615
  // verify required parameter 'deductionId' is not null or undefined
21311
21616
  (0, common_1.assertParamExists)('patchDeleteStockOrderDeduction', 'deductionId', deductionId);
21312
21617
  localVarPath = "/stock/orders/{order_id}/deductions/{deduction_id}"
21313
- .replace("{".concat("order_id", "}"), encodeURIComponent(String(orderId)))
21314
- .replace("{".concat("deduction_id", "}"), encodeURIComponent(String(deductionId)));
21618
+ .replace('{order_id}', encodeURIComponent(String(orderId)))
21619
+ .replace('{deduction_id}', encodeURIComponent(String(deductionId)));
21315
21620
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
21316
21621
  if (configuration) {
21317
21622
  baseOptions = configuration.baseOptions;
@@ -21355,8 +21660,8 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
21355
21660
  // verify required parameter 'itemId' is not null or undefined
21356
21661
  (0, common_1.assertParamExists)('patchDeleteStockOrderItem', 'itemId', itemId);
21357
21662
  localVarPath = "/stock/orders/{order_id}/items/{item_id}"
21358
- .replace("{".concat("order_id", "}"), encodeURIComponent(String(orderId)))
21359
- .replace("{".concat("item_id", "}"), encodeURIComponent(String(itemId)));
21663
+ .replace('{order_id}', encodeURIComponent(String(orderId)))
21664
+ .replace('{item_id}', encodeURIComponent(String(itemId)));
21360
21665
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
21361
21666
  if (configuration) {
21362
21667
  baseOptions = configuration.baseOptions;
@@ -21397,7 +21702,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
21397
21702
  // verify required parameter 'id' is not null or undefined
21398
21703
  (0, common_1.assertParamExists)('postAddStockOrderDeduction', 'id', id);
21399
21704
  localVarPath = "/stock/orders/{id}/deductions"
21400
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
21705
+ .replace('{id}', encodeURIComponent(String(id)));
21401
21706
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
21402
21707
  if (configuration) {
21403
21708
  baseOptions = configuration.baseOptions;
@@ -21438,7 +21743,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
21438
21743
  // verify required parameter 'id' is not null or undefined
21439
21744
  (0, common_1.assertParamExists)('postAddStockOrderItem', 'id', id);
21440
21745
  localVarPath = "/stock/orders/{id}/items"
21441
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
21746
+ .replace('{id}', encodeURIComponent(String(id)));
21442
21747
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
21443
21748
  if (configuration) {
21444
21749
  baseOptions = configuration.baseOptions;
@@ -21555,7 +21860,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
21555
21860
  // verify required parameter 'invoice' is not null or undefined
21556
21861
  (0, common_1.assertParamExists)('postUploadStockOrderInvoice', 'invoice', invoice);
21557
21862
  localVarPath = "/stock/orders/{id}/invoice"
21558
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
21863
+ .replace('{id}', encodeURIComponent(String(id)));
21559
21864
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
21560
21865
  if (configuration) {
21561
21866
  baseOptions = configuration.baseOptions;
@@ -21599,7 +21904,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
21599
21904
  // verify required parameter 'id' is not null or undefined
21600
21905
  (0, common_1.assertParamExists)('putGetStockProduct', 'id', id);
21601
21906
  localVarPath = "/stock/products/{id}"
21602
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
21907
+ .replace('{id}', encodeURIComponent(String(id)));
21603
21908
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
21604
21909
  if (configuration) {
21605
21910
  baseOptions = configuration.baseOptions;
@@ -21645,8 +21950,8 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
21645
21950
  // verify required parameter 'received' is not null or undefined
21646
21951
  (0, common_1.assertParamExists)('putReceiveStockOrderItem', 'received', received);
21647
21952
  localVarPath = "/stock/orders/{order_id}/items/{item_id}/receive"
21648
- .replace("{".concat("order_id", "}"), encodeURIComponent(String(orderId)))
21649
- .replace("{".concat("item_id", "}"), encodeURIComponent(String(itemId)));
21953
+ .replace('{order_id}', encodeURIComponent(String(orderId)))
21954
+ .replace('{item_id}', encodeURIComponent(String(itemId)));
21650
21955
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
21651
21956
  if (configuration) {
21652
21957
  baseOptions = configuration.baseOptions;
@@ -23040,7 +23345,7 @@ var TicketsApiAxiosParamCreator = function (configuration) {
23040
23345
  // verify required parameter 'id' is not null or undefined
23041
23346
  (0, common_1.assertParamExists)('getGetTicket', 'id', id);
23042
23347
  localVarPath = "/tickets/support/{id}"
23043
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
23348
+ .replace('{id}', encodeURIComponent(String(id)));
23044
23349
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
23045
23350
  if (configuration) {
23046
23351
  baseOptions = configuration.baseOptions;
@@ -23077,7 +23382,7 @@ var TicketsApiAxiosParamCreator = function (configuration) {
23077
23382
  // verify required parameter 'id' is not null or undefined
23078
23383
  (0, common_1.assertParamExists)('patchCloseTicket', 'id', id);
23079
23384
  localVarPath = "/tickets/support/{id}/close"
23080
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
23385
+ .replace('{id}', encodeURIComponent(String(id)));
23081
23386
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
23082
23387
  if (configuration) {
23083
23388
  baseOptions = configuration.baseOptions;
@@ -23166,7 +23471,7 @@ var TicketsApiAxiosParamCreator = function (configuration) {
23166
23471
  // verify required parameter 'id' is not null or undefined
23167
23472
  (0, common_1.assertParamExists)('postTicketReply', 'id', id);
23168
23473
  localVarPath = "/tickets/support/{id}/reply"
23169
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
23474
+ .replace('{id}', encodeURIComponent(String(id)));
23170
23475
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
23171
23476
  if (configuration) {
23172
23477
  baseOptions = configuration.baseOptions;
@@ -23662,5 +23967,5 @@ exports.PostAddWebhookWebhookUriEnum = {
23662
23967
  WebhookFreshdeskUpdate: '/webhook/freshdesk/update',
23663
23968
  WebhookTest: '/webhook/test',
23664
23969
  WebhookXeroInvoices: '/webhook/xero/invoices',
23665
- WebhookTcxPhonesAdd: '/webhook/tcx/phones/add'
23970
+ WebhookTcxPhonesAdd: '/webhook/tcx/phones/add',
23666
23971
  };