yellowgrid-api-ts 3.2.232-dev.0 → 3.2.233-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 (77) hide show
  1. package/api.ts +521 -443
  2. package/dist/api.d.ts +419 -425
  3. package/dist/api.js +276 -192
  4. package/docs/AbstractOrderRequestDTO.md +3 -3
  5. package/docs/AccountDetailedSummaryDTO.md +1 -1
  6. package/docs/AccountRequestModel.md +6 -6
  7. package/docs/AddressDTO.md +3 -3
  8. package/docs/AdminNumberPortDTO.md +11 -11
  9. package/docs/AdminOrderRequestDTO.md +3 -3
  10. package/docs/AdminRmaDTO.md +3 -3
  11. package/docs/AdminRmaItemDTO.md +2 -2
  12. package/docs/AdminUserModel.md +5 -5
  13. package/docs/AuthCodeResponseModel.md +2 -2
  14. package/docs/AxisDataDTO.md +2 -2
  15. package/docs/CreditNoteItemDTO.md +2 -2
  16. package/docs/CreditStatusDTO.md +3 -3
  17. package/docs/CrmActivityDTO.md +4 -4
  18. package/docs/CrmDateActivitiesDTO.md +1 -1
  19. package/docs/CustomerCoordinatesDTO.md +1 -1
  20. package/docs/CustomerOrderRequestDTO.md +3 -3
  21. package/docs/DetailedOrderRequestDTO.md +3 -3
  22. package/docs/DivertRequestModel.md +1 -1
  23. package/docs/DivertResponseModel.md +1 -1
  24. package/docs/EdTechProClientEntity.md +1 -1
  25. package/docs/EdTechProSchoolModel.md +2 -2
  26. package/docs/FreshdeskTicketEntity.md +1 -1
  27. package/docs/GraphDTO.md +1 -1
  28. package/docs/InstallationDetailsDTO.md +7 -7
  29. package/docs/ItemDiscountEntity.md +1 -1
  30. package/docs/ItemEntity.md +1 -1
  31. package/docs/NumberPortDTO.md +11 -11
  32. package/docs/NumberPortRangeDTO.md +5 -5
  33. package/docs/NumberPortRangeRequestDTO.md +4 -4
  34. package/docs/NumberPortingApi.md +69 -69
  35. package/docs/OAuth20Api.md +24 -24
  36. package/docs/OpayoRedirectDTO.md +5 -5
  37. package/docs/OrderDetailsDTO.md +6 -6
  38. package/docs/OrderEntity.md +2 -2
  39. package/docs/OrderRequestModel.md +7 -7
  40. package/docs/OrderResponseDTO.md +3 -3
  41. package/docs/OrderSummaryDTO.md +6 -6
  42. package/docs/OrderTotalModel.md +1 -1
  43. package/docs/PartnerDTO.md +2 -2
  44. package/docs/PasswordSenderDTO.md +7 -7
  45. package/docs/PostGenerateReport200Response.md +1 -1
  46. package/docs/PriceListItemModel.md +3 -3
  47. package/docs/ProductPriceListItemModel.md +3 -3
  48. package/docs/ProductSerialInfoModel.md +1 -1
  49. package/docs/ProspectDTO.md +3 -3
  50. package/docs/RecordingBackupAzureModel.md +1 -1
  51. package/docs/RecordingsBackupInfoDTO.md +2 -2
  52. package/docs/ReportRequestDTO.md +8 -8
  53. package/docs/RmaDTO.md +1 -1
  54. package/docs/RmaItemDTO.md +2 -2
  55. package/docs/RmaItemRequestDTO.md +2 -2
  56. package/docs/SbcDTO.md +8 -8
  57. package/docs/ScannedItemModel.md +4 -4
  58. package/docs/SeriesDTO.md +1 -1
  59. package/docs/ShipmentDTO.md +7 -7
  60. package/docs/ShipmentRequestDTO.md +2 -2
  61. package/docs/ShippingAddressDTO.md +8 -8
  62. package/docs/ShippingRequestDTO.md +2 -2
  63. package/docs/ShippingServiceModel.md +2 -2
  64. package/docs/SmsAccountEntity.md +1 -1
  65. package/docs/SmsPhoneNumberModel.md +1 -1
  66. package/docs/StockOrderModel.md +1 -1
  67. package/docs/StockProductPriceModel.md +1 -1
  68. package/docs/SupportTicketModel.md +1 -1
  69. package/docs/TcxInstallationModel.md +15 -15
  70. package/docs/TcxKeySummaryDTO.md +2 -2
  71. package/docs/TcxMultiTenantModel.md +7 -7
  72. package/docs/TcxSbcDTO.md +1 -1
  73. package/docs/TcxSetupEntity.md +1 -1
  74. package/docs/TcxWizardModel.md +5 -5
  75. package/docs/TicketSummaryModel.md +1 -1
  76. package/docs/UserEntity.md +2 -2
  77. package/package.json +1 -1
package/dist/api.js CHANGED
@@ -17432,30 +17432,50 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
17432
17432
  },
17433
17433
  /**
17434
17434
  *
17435
+ * @param {string | null} companyName Company Name
17436
+ * @param {string | null} addressLine1 Address Line 1
17437
+ * @param {string | null} addressLine2 Address Line 2
17438
+ * @param {string | null} city City
17439
+ * @param {string | null} postCode Post Code
17440
+ * @param {number | null} trunkId Trunk ID
17441
+ * @param {string | null} tenantId Starter Bundle ID
17442
+ * @param {string | null} requestedPortDate Requested Port Date
17443
+ * @param {boolean | null} asap Port Date ASAP
17444
+ * @param {string | null} comment Comment
17435
17445
  * @param {Array<NumberPortRangeRequestDTO>} numberRanges Number Ranges
17436
17446
  * @param {File} cloa CLOA (only provide on submission)
17437
- * @param {string | null} [companyName] Company Name
17438
- * @param {string | null} [addressLine1] Address Line 1
17439
- * @param {string | null} [addressLine2] Address Line 2
17440
- * @param {string | null} [city] City
17441
- * @param {string | null} [postCode] Post Code
17442
- * @param {number | null} [trunkId] Trunk ID
17443
- * @param {string | null} [tenantId] Starter Bundle ID
17444
- * @param {string | null} [requestedPortDate] Requested Port Date
17445
- * @param {boolean | null} [asap] Port Date ASAP
17446
- * @param {string | null} [comment] Comment
17447
17447
  * @param {*} [options] Override http request option.
17448
17448
  * @throws {RequiredError}
17449
17449
  */
17450
- postCreateNumberPort: function (numberRanges_1, cloa_1, companyName_1, addressLine1_1, addressLine2_1, city_1, postCode_1, trunkId_1, tenantId_1, requestedPortDate_1, asap_1, comment_1) {
17450
+ postCreateNumberPort: function (companyName_1, addressLine1_1, addressLine2_1, city_1, postCode_1, trunkId_1, tenantId_1, requestedPortDate_1, asap_1, comment_1, numberRanges_1, cloa_1) {
17451
17451
  var args_1 = [];
17452
17452
  for (var _i = 12; _i < arguments.length; _i++) {
17453
17453
  args_1[_i - 12] = arguments[_i];
17454
17454
  }
17455
- return __awaiter(_this, __spreadArray([numberRanges_1, cloa_1, companyName_1, addressLine1_1, addressLine2_1, city_1, postCode_1, trunkId_1, tenantId_1, requestedPortDate_1, asap_1, comment_1], args_1, true), void 0, function (numberRanges, cloa, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, options) {
17455
+ return __awaiter(_this, __spreadArray([companyName_1, addressLine1_1, addressLine2_1, city_1, postCode_1, trunkId_1, tenantId_1, requestedPortDate_1, asap_1, comment_1, numberRanges_1, cloa_1], args_1, true), void 0, function (companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, numberRanges, cloa, options) {
17456
17456
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarFormParams, headersFromBaseOptions;
17457
17457
  if (options === void 0) { options = {}; }
17458
17458
  return __generator(this, function (_a) {
17459
+ // verify required parameter 'companyName' is not null or undefined
17460
+ (0, common_1.assertParamExists)('postCreateNumberPort', 'companyName', companyName);
17461
+ // verify required parameter 'addressLine1' is not null or undefined
17462
+ (0, common_1.assertParamExists)('postCreateNumberPort', 'addressLine1', addressLine1);
17463
+ // verify required parameter 'addressLine2' is not null or undefined
17464
+ (0, common_1.assertParamExists)('postCreateNumberPort', 'addressLine2', addressLine2);
17465
+ // verify required parameter 'city' is not null or undefined
17466
+ (0, common_1.assertParamExists)('postCreateNumberPort', 'city', city);
17467
+ // verify required parameter 'postCode' is not null or undefined
17468
+ (0, common_1.assertParamExists)('postCreateNumberPort', 'postCode', postCode);
17469
+ // verify required parameter 'trunkId' is not null or undefined
17470
+ (0, common_1.assertParamExists)('postCreateNumberPort', 'trunkId', trunkId);
17471
+ // verify required parameter 'tenantId' is not null or undefined
17472
+ (0, common_1.assertParamExists)('postCreateNumberPort', 'tenantId', tenantId);
17473
+ // verify required parameter 'requestedPortDate' is not null or undefined
17474
+ (0, common_1.assertParamExists)('postCreateNumberPort', 'requestedPortDate', requestedPortDate);
17475
+ // verify required parameter 'asap' is not null or undefined
17476
+ (0, common_1.assertParamExists)('postCreateNumberPort', 'asap', asap);
17477
+ // verify required parameter 'comment' is not null or undefined
17478
+ (0, common_1.assertParamExists)('postCreateNumberPort', 'comment', comment);
17459
17479
  // verify required parameter 'numberRanges' is not null or undefined
17460
17480
  (0, common_1.assertParamExists)('postCreateNumberPort', 'numberRanges', numberRanges);
17461
17481
  // verify required parameter 'cloa' is not null or undefined
@@ -17521,32 +17541,52 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
17521
17541
  /**
17522
17542
  *
17523
17543
  * @param {number} id Number Port ID
17544
+ * @param {string | null} companyName Company Name
17545
+ * @param {string | null} addressLine1 Address Line 1
17546
+ * @param {string | null} addressLine2 Address Line 2
17547
+ * @param {string | null} city City
17548
+ * @param {string | null} postCode Post Code
17549
+ * @param {number | null} trunkId Trunk ID
17550
+ * @param {string | null} tenantId Starter Bundle ID
17551
+ * @param {string | null} requestedPortDate Requested Port Date
17552
+ * @param {boolean | null} asap Port Date ASAP
17553
+ * @param {string | null} comment Comment
17524
17554
  * @param {Array<NumberPortRangeRequestDTO>} numberRanges Number Ranges
17525
17555
  * @param {File} cloa CLOA (only provide on submission)
17526
- * @param {string | null} [companyName] Company Name
17527
- * @param {string | null} [addressLine1] Address Line 1
17528
- * @param {string | null} [addressLine2] Address Line 2
17529
- * @param {string | null} [city] City
17530
- * @param {string | null} [postCode] Post Code
17531
- * @param {number | null} [trunkId] Trunk ID
17532
- * @param {string | null} [tenantId] Starter Bundle ID
17533
- * @param {string | null} [requestedPortDate] Requested Port Date
17534
- * @param {boolean | null} [asap] Port Date ASAP
17535
- * @param {string | null} [comment] Comment
17536
17556
  * @param {*} [options] Override http request option.
17537
17557
  * @throws {RequiredError}
17538
17558
  */
17539
- postSubmitNumberPort: function (id_1, numberRanges_1, cloa_1, companyName_1, addressLine1_1, addressLine2_1, city_1, postCode_1, trunkId_1, tenantId_1, requestedPortDate_1, asap_1, comment_1) {
17559
+ postSubmitNumberPort: function (id_1, companyName_1, addressLine1_1, addressLine2_1, city_1, postCode_1, trunkId_1, tenantId_1, requestedPortDate_1, asap_1, comment_1, numberRanges_1, cloa_1) {
17540
17560
  var args_1 = [];
17541
17561
  for (var _i = 13; _i < arguments.length; _i++) {
17542
17562
  args_1[_i - 13] = arguments[_i];
17543
17563
  }
17544
- return __awaiter(_this, __spreadArray([id_1, numberRanges_1, cloa_1, companyName_1, addressLine1_1, addressLine2_1, city_1, postCode_1, trunkId_1, tenantId_1, requestedPortDate_1, asap_1, comment_1], args_1, true), void 0, function (id, numberRanges, cloa, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, options) {
17564
+ return __awaiter(_this, __spreadArray([id_1, companyName_1, addressLine1_1, addressLine2_1, city_1, postCode_1, trunkId_1, tenantId_1, requestedPortDate_1, asap_1, comment_1, numberRanges_1, cloa_1], args_1, true), void 0, function (id, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, numberRanges, cloa, options) {
17545
17565
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarFormParams, headersFromBaseOptions;
17546
17566
  if (options === void 0) { options = {}; }
17547
17567
  return __generator(this, function (_a) {
17548
17568
  // verify required parameter 'id' is not null or undefined
17549
17569
  (0, common_1.assertParamExists)('postSubmitNumberPort', 'id', id);
17570
+ // verify required parameter 'companyName' is not null or undefined
17571
+ (0, common_1.assertParamExists)('postSubmitNumberPort', 'companyName', companyName);
17572
+ // verify required parameter 'addressLine1' is not null or undefined
17573
+ (0, common_1.assertParamExists)('postSubmitNumberPort', 'addressLine1', addressLine1);
17574
+ // verify required parameter 'addressLine2' is not null or undefined
17575
+ (0, common_1.assertParamExists)('postSubmitNumberPort', 'addressLine2', addressLine2);
17576
+ // verify required parameter 'city' is not null or undefined
17577
+ (0, common_1.assertParamExists)('postSubmitNumberPort', 'city', city);
17578
+ // verify required parameter 'postCode' is not null or undefined
17579
+ (0, common_1.assertParamExists)('postSubmitNumberPort', 'postCode', postCode);
17580
+ // verify required parameter 'trunkId' is not null or undefined
17581
+ (0, common_1.assertParamExists)('postSubmitNumberPort', 'trunkId', trunkId);
17582
+ // verify required parameter 'tenantId' is not null or undefined
17583
+ (0, common_1.assertParamExists)('postSubmitNumberPort', 'tenantId', tenantId);
17584
+ // verify required parameter 'requestedPortDate' is not null or undefined
17585
+ (0, common_1.assertParamExists)('postSubmitNumberPort', 'requestedPortDate', requestedPortDate);
17586
+ // verify required parameter 'asap' is not null or undefined
17587
+ (0, common_1.assertParamExists)('postSubmitNumberPort', 'asap', asap);
17588
+ // verify required parameter 'comment' is not null or undefined
17589
+ (0, common_1.assertParamExists)('postSubmitNumberPort', 'comment', comment);
17550
17590
  // verify required parameter 'numberRanges' is not null or undefined
17551
17591
  (0, common_1.assertParamExists)('postSubmitNumberPort', 'numberRanges', numberRanges);
17552
17592
  // verify required parameter 'cloa' is not null or undefined
@@ -17613,32 +17653,52 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
17613
17653
  /**
17614
17654
  *
17615
17655
  * @param {number} id Number Port ID
17656
+ * @param {string | null} companyName Company Name
17657
+ * @param {string | null} addressLine1 Address Line 1
17658
+ * @param {string | null} addressLine2 Address Line 2
17659
+ * @param {string | null} city City
17660
+ * @param {string | null} postCode Post Code
17661
+ * @param {number | null} trunkId Trunk ID
17662
+ * @param {string | null} tenantId Starter Bundle ID
17663
+ * @param {string | null} requestedPortDate Requested Port Date
17664
+ * @param {boolean | null} asap Port Date ASAP
17665
+ * @param {string | null} comment Comment
17616
17666
  * @param {Array<NumberPortRangeRequestDTO>} numberRanges Number Ranges
17617
17667
  * @param {File} cloa CLOA (only provide on submission)
17618
- * @param {string | null} [companyName] Company Name
17619
- * @param {string | null} [addressLine1] Address Line 1
17620
- * @param {string | null} [addressLine2] Address Line 2
17621
- * @param {string | null} [city] City
17622
- * @param {string | null} [postCode] Post Code
17623
- * @param {number | null} [trunkId] Trunk ID
17624
- * @param {string | null} [tenantId] Starter Bundle ID
17625
- * @param {string | null} [requestedPortDate] Requested Port Date
17626
- * @param {boolean | null} [asap] Port Date ASAP
17627
- * @param {string | null} [comment] Comment
17628
17668
  * @param {*} [options] Override http request option.
17629
17669
  * @throws {RequiredError}
17630
17670
  */
17631
- postUpdateNumberPort: function (id_1, numberRanges_1, cloa_1, companyName_1, addressLine1_1, addressLine2_1, city_1, postCode_1, trunkId_1, tenantId_1, requestedPortDate_1, asap_1, comment_1) {
17671
+ postUpdateNumberPort: function (id_1, companyName_1, addressLine1_1, addressLine2_1, city_1, postCode_1, trunkId_1, tenantId_1, requestedPortDate_1, asap_1, comment_1, numberRanges_1, cloa_1) {
17632
17672
  var args_1 = [];
17633
17673
  for (var _i = 13; _i < arguments.length; _i++) {
17634
17674
  args_1[_i - 13] = arguments[_i];
17635
17675
  }
17636
- return __awaiter(_this, __spreadArray([id_1, numberRanges_1, cloa_1, companyName_1, addressLine1_1, addressLine2_1, city_1, postCode_1, trunkId_1, tenantId_1, requestedPortDate_1, asap_1, comment_1], args_1, true), void 0, function (id, numberRanges, cloa, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, options) {
17676
+ return __awaiter(_this, __spreadArray([id_1, companyName_1, addressLine1_1, addressLine2_1, city_1, postCode_1, trunkId_1, tenantId_1, requestedPortDate_1, asap_1, comment_1, numberRanges_1, cloa_1], args_1, true), void 0, function (id, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, numberRanges, cloa, options) {
17637
17677
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarFormParams, headersFromBaseOptions;
17638
17678
  if (options === void 0) { options = {}; }
17639
17679
  return __generator(this, function (_a) {
17640
17680
  // verify required parameter 'id' is not null or undefined
17641
17681
  (0, common_1.assertParamExists)('postUpdateNumberPort', 'id', id);
17682
+ // verify required parameter 'companyName' is not null or undefined
17683
+ (0, common_1.assertParamExists)('postUpdateNumberPort', 'companyName', companyName);
17684
+ // verify required parameter 'addressLine1' is not null or undefined
17685
+ (0, common_1.assertParamExists)('postUpdateNumberPort', 'addressLine1', addressLine1);
17686
+ // verify required parameter 'addressLine2' is not null or undefined
17687
+ (0, common_1.assertParamExists)('postUpdateNumberPort', 'addressLine2', addressLine2);
17688
+ // verify required parameter 'city' is not null or undefined
17689
+ (0, common_1.assertParamExists)('postUpdateNumberPort', 'city', city);
17690
+ // verify required parameter 'postCode' is not null or undefined
17691
+ (0, common_1.assertParamExists)('postUpdateNumberPort', 'postCode', postCode);
17692
+ // verify required parameter 'trunkId' is not null or undefined
17693
+ (0, common_1.assertParamExists)('postUpdateNumberPort', 'trunkId', trunkId);
17694
+ // verify required parameter 'tenantId' is not null or undefined
17695
+ (0, common_1.assertParamExists)('postUpdateNumberPort', 'tenantId', tenantId);
17696
+ // verify required parameter 'requestedPortDate' is not null or undefined
17697
+ (0, common_1.assertParamExists)('postUpdateNumberPort', 'requestedPortDate', requestedPortDate);
17698
+ // verify required parameter 'asap' is not null or undefined
17699
+ (0, common_1.assertParamExists)('postUpdateNumberPort', 'asap', asap);
17700
+ // verify required parameter 'comment' is not null or undefined
17701
+ (0, common_1.assertParamExists)('postUpdateNumberPort', 'comment', comment);
17642
17702
  // verify required parameter 'numberRanges' is not null or undefined
17643
17703
  (0, common_1.assertParamExists)('postUpdateNumberPort', 'numberRanges', numberRanges);
17644
17704
  // verify required parameter 'cloa' is not null or undefined
@@ -17936,28 +17996,28 @@ var NumberPortingApiFp = function (configuration) {
17936
17996
  },
17937
17997
  /**
17938
17998
  *
17999
+ * @param {string | null} companyName Company Name
18000
+ * @param {string | null} addressLine1 Address Line 1
18001
+ * @param {string | null} addressLine2 Address Line 2
18002
+ * @param {string | null} city City
18003
+ * @param {string | null} postCode Post Code
18004
+ * @param {number | null} trunkId Trunk ID
18005
+ * @param {string | null} tenantId Starter Bundle ID
18006
+ * @param {string | null} requestedPortDate Requested Port Date
18007
+ * @param {boolean | null} asap Port Date ASAP
18008
+ * @param {string | null} comment Comment
17939
18009
  * @param {Array<NumberPortRangeRequestDTO>} numberRanges Number Ranges
17940
18010
  * @param {File} cloa CLOA (only provide on submission)
17941
- * @param {string | null} [companyName] Company Name
17942
- * @param {string | null} [addressLine1] Address Line 1
17943
- * @param {string | null} [addressLine2] Address Line 2
17944
- * @param {string | null} [city] City
17945
- * @param {string | null} [postCode] Post Code
17946
- * @param {number | null} [trunkId] Trunk ID
17947
- * @param {string | null} [tenantId] Starter Bundle ID
17948
- * @param {string | null} [requestedPortDate] Requested Port Date
17949
- * @param {boolean | null} [asap] Port Date ASAP
17950
- * @param {string | null} [comment] Comment
17951
18011
  * @param {*} [options] Override http request option.
17952
18012
  * @throws {RequiredError}
17953
18013
  */
17954
- postCreateNumberPort: function (numberRanges, cloa, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, options) {
18014
+ postCreateNumberPort: function (companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, numberRanges, cloa, options) {
17955
18015
  return __awaiter(this, void 0, void 0, function () {
17956
18016
  var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
17957
18017
  var _a, _b, _c;
17958
18018
  return __generator(this, function (_d) {
17959
18019
  switch (_d.label) {
17960
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.postCreateNumberPort(numberRanges, cloa, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, options)];
18020
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.postCreateNumberPort(companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, numberRanges, cloa, options)];
17961
18021
  case 1:
17962
18022
  localVarAxiosArgs = _d.sent();
17963
18023
  localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
@@ -17970,28 +18030,28 @@ var NumberPortingApiFp = function (configuration) {
17970
18030
  /**
17971
18031
  *
17972
18032
  * @param {number} id Number Port ID
18033
+ * @param {string | null} companyName Company Name
18034
+ * @param {string | null} addressLine1 Address Line 1
18035
+ * @param {string | null} addressLine2 Address Line 2
18036
+ * @param {string | null} city City
18037
+ * @param {string | null} postCode Post Code
18038
+ * @param {number | null} trunkId Trunk ID
18039
+ * @param {string | null} tenantId Starter Bundle ID
18040
+ * @param {string | null} requestedPortDate Requested Port Date
18041
+ * @param {boolean | null} asap Port Date ASAP
18042
+ * @param {string | null} comment Comment
17973
18043
  * @param {Array<NumberPortRangeRequestDTO>} numberRanges Number Ranges
17974
18044
  * @param {File} cloa CLOA (only provide on submission)
17975
- * @param {string | null} [companyName] Company Name
17976
- * @param {string | null} [addressLine1] Address Line 1
17977
- * @param {string | null} [addressLine2] Address Line 2
17978
- * @param {string | null} [city] City
17979
- * @param {string | null} [postCode] Post Code
17980
- * @param {number | null} [trunkId] Trunk ID
17981
- * @param {string | null} [tenantId] Starter Bundle ID
17982
- * @param {string | null} [requestedPortDate] Requested Port Date
17983
- * @param {boolean | null} [asap] Port Date ASAP
17984
- * @param {string | null} [comment] Comment
17985
18045
  * @param {*} [options] Override http request option.
17986
18046
  * @throws {RequiredError}
17987
18047
  */
17988
- postSubmitNumberPort: function (id, numberRanges, cloa, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, options) {
18048
+ postSubmitNumberPort: function (id, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, numberRanges, cloa, options) {
17989
18049
  return __awaiter(this, void 0, void 0, function () {
17990
18050
  var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
17991
18051
  var _a, _b, _c;
17992
18052
  return __generator(this, function (_d) {
17993
18053
  switch (_d.label) {
17994
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.postSubmitNumberPort(id, numberRanges, cloa, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, options)];
18054
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.postSubmitNumberPort(id, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, numberRanges, cloa, options)];
17995
18055
  case 1:
17996
18056
  localVarAxiosArgs = _d.sent();
17997
18057
  localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
@@ -18004,28 +18064,28 @@ var NumberPortingApiFp = function (configuration) {
18004
18064
  /**
18005
18065
  *
18006
18066
  * @param {number} id Number Port ID
18067
+ * @param {string | null} companyName Company Name
18068
+ * @param {string | null} addressLine1 Address Line 1
18069
+ * @param {string | null} addressLine2 Address Line 2
18070
+ * @param {string | null} city City
18071
+ * @param {string | null} postCode Post Code
18072
+ * @param {number | null} trunkId Trunk ID
18073
+ * @param {string | null} tenantId Starter Bundle ID
18074
+ * @param {string | null} requestedPortDate Requested Port Date
18075
+ * @param {boolean | null} asap Port Date ASAP
18076
+ * @param {string | null} comment Comment
18007
18077
  * @param {Array<NumberPortRangeRequestDTO>} numberRanges Number Ranges
18008
18078
  * @param {File} cloa CLOA (only provide on submission)
18009
- * @param {string | null} [companyName] Company Name
18010
- * @param {string | null} [addressLine1] Address Line 1
18011
- * @param {string | null} [addressLine2] Address Line 2
18012
- * @param {string | null} [city] City
18013
- * @param {string | null} [postCode] Post Code
18014
- * @param {number | null} [trunkId] Trunk ID
18015
- * @param {string | null} [tenantId] Starter Bundle ID
18016
- * @param {string | null} [requestedPortDate] Requested Port Date
18017
- * @param {boolean | null} [asap] Port Date ASAP
18018
- * @param {string | null} [comment] Comment
18019
18079
  * @param {*} [options] Override http request option.
18020
18080
  * @throws {RequiredError}
18021
18081
  */
18022
- postUpdateNumberPort: function (id, numberRanges, cloa, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, options) {
18082
+ postUpdateNumberPort: function (id, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, numberRanges, cloa, options) {
18023
18083
  return __awaiter(this, void 0, void 0, function () {
18024
18084
  var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
18025
18085
  var _a, _b, _c;
18026
18086
  return __generator(this, function (_d) {
18027
18087
  switch (_d.label) {
18028
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.postUpdateNumberPort(id, numberRanges, cloa, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, options)];
18088
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.postUpdateNumberPort(id, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, numberRanges, cloa, options)];
18029
18089
  case 1:
18030
18090
  localVarAxiosArgs = _d.sent();
18031
18091
  localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
@@ -18146,65 +18206,65 @@ var NumberPortingApiFactory = function (configuration, basePath, axios) {
18146
18206
  },
18147
18207
  /**
18148
18208
  *
18209
+ * @param {string | null} companyName Company Name
18210
+ * @param {string | null} addressLine1 Address Line 1
18211
+ * @param {string | null} addressLine2 Address Line 2
18212
+ * @param {string | null} city City
18213
+ * @param {string | null} postCode Post Code
18214
+ * @param {number | null} trunkId Trunk ID
18215
+ * @param {string | null} tenantId Starter Bundle ID
18216
+ * @param {string | null} requestedPortDate Requested Port Date
18217
+ * @param {boolean | null} asap Port Date ASAP
18218
+ * @param {string | null} comment Comment
18149
18219
  * @param {Array<NumberPortRangeRequestDTO>} numberRanges Number Ranges
18150
18220
  * @param {File} cloa CLOA (only provide on submission)
18151
- * @param {string | null} [companyName] Company Name
18152
- * @param {string | null} [addressLine1] Address Line 1
18153
- * @param {string | null} [addressLine2] Address Line 2
18154
- * @param {string | null} [city] City
18155
- * @param {string | null} [postCode] Post Code
18156
- * @param {number | null} [trunkId] Trunk ID
18157
- * @param {string | null} [tenantId] Starter Bundle ID
18158
- * @param {string | null} [requestedPortDate] Requested Port Date
18159
- * @param {boolean | null} [asap] Port Date ASAP
18160
- * @param {string | null} [comment] Comment
18161
18221
  * @param {*} [options] Override http request option.
18162
18222
  * @throws {RequiredError}
18163
18223
  */
18164
- postCreateNumberPort: function (numberRanges, cloa, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, options) {
18165
- return localVarFp.postCreateNumberPort(numberRanges, cloa, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, options).then(function (request) { return request(axios, basePath); });
18224
+ postCreateNumberPort: function (companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, numberRanges, cloa, options) {
18225
+ return localVarFp.postCreateNumberPort(companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, numberRanges, cloa, options).then(function (request) { return request(axios, basePath); });
18166
18226
  },
18167
18227
  /**
18168
18228
  *
18169
18229
  * @param {number} id Number Port ID
18230
+ * @param {string | null} companyName Company Name
18231
+ * @param {string | null} addressLine1 Address Line 1
18232
+ * @param {string | null} addressLine2 Address Line 2
18233
+ * @param {string | null} city City
18234
+ * @param {string | null} postCode Post Code
18235
+ * @param {number | null} trunkId Trunk ID
18236
+ * @param {string | null} tenantId Starter Bundle ID
18237
+ * @param {string | null} requestedPortDate Requested Port Date
18238
+ * @param {boolean | null} asap Port Date ASAP
18239
+ * @param {string | null} comment Comment
18170
18240
  * @param {Array<NumberPortRangeRequestDTO>} numberRanges Number Ranges
18171
18241
  * @param {File} cloa CLOA (only provide on submission)
18172
- * @param {string | null} [companyName] Company Name
18173
- * @param {string | null} [addressLine1] Address Line 1
18174
- * @param {string | null} [addressLine2] Address Line 2
18175
- * @param {string | null} [city] City
18176
- * @param {string | null} [postCode] Post Code
18177
- * @param {number | null} [trunkId] Trunk ID
18178
- * @param {string | null} [tenantId] Starter Bundle ID
18179
- * @param {string | null} [requestedPortDate] Requested Port Date
18180
- * @param {boolean | null} [asap] Port Date ASAP
18181
- * @param {string | null} [comment] Comment
18182
18242
  * @param {*} [options] Override http request option.
18183
18243
  * @throws {RequiredError}
18184
18244
  */
18185
- postSubmitNumberPort: function (id, numberRanges, cloa, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, options) {
18186
- return localVarFp.postSubmitNumberPort(id, numberRanges, cloa, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, options).then(function (request) { return request(axios, basePath); });
18245
+ postSubmitNumberPort: function (id, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, numberRanges, cloa, options) {
18246
+ return localVarFp.postSubmitNumberPort(id, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, numberRanges, cloa, options).then(function (request) { return request(axios, basePath); });
18187
18247
  },
18188
18248
  /**
18189
18249
  *
18190
18250
  * @param {number} id Number Port ID
18251
+ * @param {string | null} companyName Company Name
18252
+ * @param {string | null} addressLine1 Address Line 1
18253
+ * @param {string | null} addressLine2 Address Line 2
18254
+ * @param {string | null} city City
18255
+ * @param {string | null} postCode Post Code
18256
+ * @param {number | null} trunkId Trunk ID
18257
+ * @param {string | null} tenantId Starter Bundle ID
18258
+ * @param {string | null} requestedPortDate Requested Port Date
18259
+ * @param {boolean | null} asap Port Date ASAP
18260
+ * @param {string | null} comment Comment
18191
18261
  * @param {Array<NumberPortRangeRequestDTO>} numberRanges Number Ranges
18192
18262
  * @param {File} cloa CLOA (only provide on submission)
18193
- * @param {string | null} [companyName] Company Name
18194
- * @param {string | null} [addressLine1] Address Line 1
18195
- * @param {string | null} [addressLine2] Address Line 2
18196
- * @param {string | null} [city] City
18197
- * @param {string | null} [postCode] Post Code
18198
- * @param {number | null} [trunkId] Trunk ID
18199
- * @param {string | null} [tenantId] Starter Bundle ID
18200
- * @param {string | null} [requestedPortDate] Requested Port Date
18201
- * @param {boolean | null} [asap] Port Date ASAP
18202
- * @param {string | null} [comment] Comment
18203
18263
  * @param {*} [options] Override http request option.
18204
18264
  * @throws {RequiredError}
18205
18265
  */
18206
- postUpdateNumberPort: function (id, numberRanges, cloa, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, options) {
18207
- return localVarFp.postUpdateNumberPort(id, numberRanges, cloa, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, options).then(function (request) { return request(axios, basePath); });
18266
+ postUpdateNumberPort: function (id, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, numberRanges, cloa, options) {
18267
+ return localVarFp.postUpdateNumberPort(id, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, numberRanges, cloa, options).then(function (request) { return request(axios, basePath); });
18208
18268
  },
18209
18269
  /**
18210
18270
  *
@@ -18314,68 +18374,68 @@ var NumberPortingApi = /** @class */ (function (_super) {
18314
18374
  };
18315
18375
  /**
18316
18376
  *
18377
+ * @param {string | null} companyName Company Name
18378
+ * @param {string | null} addressLine1 Address Line 1
18379
+ * @param {string | null} addressLine2 Address Line 2
18380
+ * @param {string | null} city City
18381
+ * @param {string | null} postCode Post Code
18382
+ * @param {number | null} trunkId Trunk ID
18383
+ * @param {string | null} tenantId Starter Bundle ID
18384
+ * @param {string | null} requestedPortDate Requested Port Date
18385
+ * @param {boolean | null} asap Port Date ASAP
18386
+ * @param {string | null} comment Comment
18317
18387
  * @param {Array<NumberPortRangeRequestDTO>} numberRanges Number Ranges
18318
18388
  * @param {File} cloa CLOA (only provide on submission)
18319
- * @param {string | null} [companyName] Company Name
18320
- * @param {string | null} [addressLine1] Address Line 1
18321
- * @param {string | null} [addressLine2] Address Line 2
18322
- * @param {string | null} [city] City
18323
- * @param {string | null} [postCode] Post Code
18324
- * @param {number | null} [trunkId] Trunk ID
18325
- * @param {string | null} [tenantId] Starter Bundle ID
18326
- * @param {string | null} [requestedPortDate] Requested Port Date
18327
- * @param {boolean | null} [asap] Port Date ASAP
18328
- * @param {string | null} [comment] Comment
18329
18389
  * @param {*} [options] Override http request option.
18330
18390
  * @throws {RequiredError}
18331
18391
  */
18332
- NumberPortingApi.prototype.postCreateNumberPort = function (numberRanges, cloa, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, options) {
18392
+ NumberPortingApi.prototype.postCreateNumberPort = function (companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, numberRanges, cloa, options) {
18333
18393
  var _this = this;
18334
- return (0, exports.NumberPortingApiFp)(this.configuration).postCreateNumberPort(numberRanges, cloa, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, options).then(function (request) { return request(_this.axios, _this.basePath); });
18394
+ return (0, exports.NumberPortingApiFp)(this.configuration).postCreateNumberPort(companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, numberRanges, cloa, options).then(function (request) { return request(_this.axios, _this.basePath); });
18335
18395
  };
18336
18396
  /**
18337
18397
  *
18338
18398
  * @param {number} id Number Port ID
18399
+ * @param {string | null} companyName Company Name
18400
+ * @param {string | null} addressLine1 Address Line 1
18401
+ * @param {string | null} addressLine2 Address Line 2
18402
+ * @param {string | null} city City
18403
+ * @param {string | null} postCode Post Code
18404
+ * @param {number | null} trunkId Trunk ID
18405
+ * @param {string | null} tenantId Starter Bundle ID
18406
+ * @param {string | null} requestedPortDate Requested Port Date
18407
+ * @param {boolean | null} asap Port Date ASAP
18408
+ * @param {string | null} comment Comment
18339
18409
  * @param {Array<NumberPortRangeRequestDTO>} numberRanges Number Ranges
18340
18410
  * @param {File} cloa CLOA (only provide on submission)
18341
- * @param {string | null} [companyName] Company Name
18342
- * @param {string | null} [addressLine1] Address Line 1
18343
- * @param {string | null} [addressLine2] Address Line 2
18344
- * @param {string | null} [city] City
18345
- * @param {string | null} [postCode] Post Code
18346
- * @param {number | null} [trunkId] Trunk ID
18347
- * @param {string | null} [tenantId] Starter Bundle ID
18348
- * @param {string | null} [requestedPortDate] Requested Port Date
18349
- * @param {boolean | null} [asap] Port Date ASAP
18350
- * @param {string | null} [comment] Comment
18351
18411
  * @param {*} [options] Override http request option.
18352
18412
  * @throws {RequiredError}
18353
18413
  */
18354
- NumberPortingApi.prototype.postSubmitNumberPort = function (id, numberRanges, cloa, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, options) {
18414
+ NumberPortingApi.prototype.postSubmitNumberPort = function (id, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, numberRanges, cloa, options) {
18355
18415
  var _this = this;
18356
- return (0, exports.NumberPortingApiFp)(this.configuration).postSubmitNumberPort(id, numberRanges, cloa, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, options).then(function (request) { return request(_this.axios, _this.basePath); });
18416
+ return (0, exports.NumberPortingApiFp)(this.configuration).postSubmitNumberPort(id, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, numberRanges, cloa, options).then(function (request) { return request(_this.axios, _this.basePath); });
18357
18417
  };
18358
18418
  /**
18359
18419
  *
18360
18420
  * @param {number} id Number Port ID
18421
+ * @param {string | null} companyName Company Name
18422
+ * @param {string | null} addressLine1 Address Line 1
18423
+ * @param {string | null} addressLine2 Address Line 2
18424
+ * @param {string | null} city City
18425
+ * @param {string | null} postCode Post Code
18426
+ * @param {number | null} trunkId Trunk ID
18427
+ * @param {string | null} tenantId Starter Bundle ID
18428
+ * @param {string | null} requestedPortDate Requested Port Date
18429
+ * @param {boolean | null} asap Port Date ASAP
18430
+ * @param {string | null} comment Comment
18361
18431
  * @param {Array<NumberPortRangeRequestDTO>} numberRanges Number Ranges
18362
18432
  * @param {File} cloa CLOA (only provide on submission)
18363
- * @param {string | null} [companyName] Company Name
18364
- * @param {string | null} [addressLine1] Address Line 1
18365
- * @param {string | null} [addressLine2] Address Line 2
18366
- * @param {string | null} [city] City
18367
- * @param {string | null} [postCode] Post Code
18368
- * @param {number | null} [trunkId] Trunk ID
18369
- * @param {string | null} [tenantId] Starter Bundle ID
18370
- * @param {string | null} [requestedPortDate] Requested Port Date
18371
- * @param {boolean | null} [asap] Port Date ASAP
18372
- * @param {string | null} [comment] Comment
18373
18433
  * @param {*} [options] Override http request option.
18374
18434
  * @throws {RequiredError}
18375
18435
  */
18376
- NumberPortingApi.prototype.postUpdateNumberPort = function (id, numberRanges, cloa, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, options) {
18436
+ NumberPortingApi.prototype.postUpdateNumberPort = function (id, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, numberRanges, cloa, options) {
18377
18437
  var _this = this;
18378
- return (0, exports.NumberPortingApiFp)(this.configuration).postUpdateNumberPort(id, numberRanges, cloa, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, options).then(function (request) { return request(_this.axios, _this.basePath); });
18438
+ return (0, exports.NumberPortingApiFp)(this.configuration).postUpdateNumberPort(id, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, numberRanges, cloa, options).then(function (request) { return request(_this.axios, _this.basePath); });
18379
18439
  };
18380
18440
  /**
18381
18441
  *
@@ -18468,18 +18528,18 @@ var OAuth20ApiAxiosParamCreator = function (configuration) {
18468
18528
  /**
18469
18529
  * Get an OAuth 2.0 access token
18470
18530
  * @summary Validates client credentials and returns access token
18471
- * @param {string | null} [clientId] OAuth 2.0 Client ID
18472
- * @param {string | null} [clientSecret] OAuth 2.0 Client Secret
18473
- * @param {PostAccessTokenGrantTypeEnum} [grantType] OAuth 2.0 Grant Type
18474
- * @param {PostAccessTokenScopeEnum} [scope] OAuth 2.0 Scope
18475
- * @param {string | null} [redirectUri] OAuth 2.0 Redirect URI
18476
- * @param {string | null} [code] OAuth 2.0 Auth Code
18477
- * @param {string | null} [refreshToken] OAuth 2.0 Refresh Token
18478
- * @param {string | null} [codeVerifier] OAuth 2.0 Code Verifier
18479
- * @param {string | null} [token] OAuth 2.0 Token (Only used in Token Exchange)
18480
- * @param {PostAccessTokenTokenExchangeTypeEnum} [tokenExchangeType] Token Exchange Type (Only used in Token Exchange)
18481
- * @param {string | null} [licenceKey] 3CX Licence Key (Only used in Token Exchange)
18482
- * @param {boolean | null} [endUser] End User (Only used in Token Exchange)
18531
+ * @param {string | null} clientId OAuth 2.0 Client ID
18532
+ * @param {string | null} clientSecret OAuth 2.0 Client Secret
18533
+ * @param {PostAccessTokenGrantTypeEnum} grantType OAuth 2.0 Grant Type
18534
+ * @param {PostAccessTokenScopeEnum} scope OAuth 2.0 Scope
18535
+ * @param {string | null} redirectUri OAuth 2.0 Redirect URI
18536
+ * @param {string | null} code OAuth 2.0 Auth Code
18537
+ * @param {string | null} refreshToken OAuth 2.0 Refresh Token
18538
+ * @param {string | null} codeVerifier OAuth 2.0 Code Verifier
18539
+ * @param {string | null} token OAuth 2.0 Token (Only used in Token Exchange)
18540
+ * @param {PostAccessTokenTokenExchangeTypeEnum} tokenExchangeType Token Exchange Type (Only used in Token Exchange)
18541
+ * @param {string | null} licenceKey 3CX Licence Key (Only used in Token Exchange)
18542
+ * @param {boolean | null} endUser End User (Only used in Token Exchange)
18483
18543
  * @param {*} [options] Override http request option.
18484
18544
  * @throws {RequiredError}
18485
18545
  */
@@ -18492,6 +18552,30 @@ var OAuth20ApiAxiosParamCreator = function (configuration) {
18492
18552
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarFormParams, headersFromBaseOptions;
18493
18553
  if (options === void 0) { options = {}; }
18494
18554
  return __generator(this, function (_a) {
18555
+ // verify required parameter 'clientId' is not null or undefined
18556
+ (0, common_1.assertParamExists)('postAccessToken', 'clientId', clientId);
18557
+ // verify required parameter 'clientSecret' is not null or undefined
18558
+ (0, common_1.assertParamExists)('postAccessToken', 'clientSecret', clientSecret);
18559
+ // verify required parameter 'grantType' is not null or undefined
18560
+ (0, common_1.assertParamExists)('postAccessToken', 'grantType', grantType);
18561
+ // verify required parameter 'scope' is not null or undefined
18562
+ (0, common_1.assertParamExists)('postAccessToken', 'scope', scope);
18563
+ // verify required parameter 'redirectUri' is not null or undefined
18564
+ (0, common_1.assertParamExists)('postAccessToken', 'redirectUri', redirectUri);
18565
+ // verify required parameter 'code' is not null or undefined
18566
+ (0, common_1.assertParamExists)('postAccessToken', 'code', code);
18567
+ // verify required parameter 'refreshToken' is not null or undefined
18568
+ (0, common_1.assertParamExists)('postAccessToken', 'refreshToken', refreshToken);
18569
+ // verify required parameter 'codeVerifier' is not null or undefined
18570
+ (0, common_1.assertParamExists)('postAccessToken', 'codeVerifier', codeVerifier);
18571
+ // verify required parameter 'token' is not null or undefined
18572
+ (0, common_1.assertParamExists)('postAccessToken', 'token', token);
18573
+ // verify required parameter 'tokenExchangeType' is not null or undefined
18574
+ (0, common_1.assertParamExists)('postAccessToken', 'tokenExchangeType', tokenExchangeType);
18575
+ // verify required parameter 'licenceKey' is not null or undefined
18576
+ (0, common_1.assertParamExists)('postAccessToken', 'licenceKey', licenceKey);
18577
+ // verify required parameter 'endUser' is not null or undefined
18578
+ (0, common_1.assertParamExists)('postAccessToken', 'endUser', endUser);
18495
18579
  localVarPath = "/oauth2/access_token";
18496
18580
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
18497
18581
  if (configuration) {
@@ -18776,18 +18860,18 @@ var OAuth20ApiFp = function (configuration) {
18776
18860
  /**
18777
18861
  * Get an OAuth 2.0 access token
18778
18862
  * @summary Validates client credentials and returns access token
18779
- * @param {string | null} [clientId] OAuth 2.0 Client ID
18780
- * @param {string | null} [clientSecret] OAuth 2.0 Client Secret
18781
- * @param {PostAccessTokenGrantTypeEnum} [grantType] OAuth 2.0 Grant Type
18782
- * @param {PostAccessTokenScopeEnum} [scope] OAuth 2.0 Scope
18783
- * @param {string | null} [redirectUri] OAuth 2.0 Redirect URI
18784
- * @param {string | null} [code] OAuth 2.0 Auth Code
18785
- * @param {string | null} [refreshToken] OAuth 2.0 Refresh Token
18786
- * @param {string | null} [codeVerifier] OAuth 2.0 Code Verifier
18787
- * @param {string | null} [token] OAuth 2.0 Token (Only used in Token Exchange)
18788
- * @param {PostAccessTokenTokenExchangeTypeEnum} [tokenExchangeType] Token Exchange Type (Only used in Token Exchange)
18789
- * @param {string | null} [licenceKey] 3CX Licence Key (Only used in Token Exchange)
18790
- * @param {boolean | null} [endUser] End User (Only used in Token Exchange)
18863
+ * @param {string | null} clientId OAuth 2.0 Client ID
18864
+ * @param {string | null} clientSecret OAuth 2.0 Client Secret
18865
+ * @param {PostAccessTokenGrantTypeEnum} grantType OAuth 2.0 Grant Type
18866
+ * @param {PostAccessTokenScopeEnum} scope OAuth 2.0 Scope
18867
+ * @param {string | null} redirectUri OAuth 2.0 Redirect URI
18868
+ * @param {string | null} code OAuth 2.0 Auth Code
18869
+ * @param {string | null} refreshToken OAuth 2.0 Refresh Token
18870
+ * @param {string | null} codeVerifier OAuth 2.0 Code Verifier
18871
+ * @param {string | null} token OAuth 2.0 Token (Only used in Token Exchange)
18872
+ * @param {PostAccessTokenTokenExchangeTypeEnum} tokenExchangeType Token Exchange Type (Only used in Token Exchange)
18873
+ * @param {string | null} licenceKey 3CX Licence Key (Only used in Token Exchange)
18874
+ * @param {boolean | null} endUser End User (Only used in Token Exchange)
18791
18875
  * @param {*} [options] Override http request option.
18792
18876
  * @throws {RequiredError}
18793
18877
  */
@@ -18932,18 +19016,18 @@ var OAuth20ApiFactory = function (configuration, basePath, axios) {
18932
19016
  /**
18933
19017
  * Get an OAuth 2.0 access token
18934
19018
  * @summary Validates client credentials and returns access token
18935
- * @param {string | null} [clientId] OAuth 2.0 Client ID
18936
- * @param {string | null} [clientSecret] OAuth 2.0 Client Secret
18937
- * @param {PostAccessTokenGrantTypeEnum} [grantType] OAuth 2.0 Grant Type
18938
- * @param {PostAccessTokenScopeEnum} [scope] OAuth 2.0 Scope
18939
- * @param {string | null} [redirectUri] OAuth 2.0 Redirect URI
18940
- * @param {string | null} [code] OAuth 2.0 Auth Code
18941
- * @param {string | null} [refreshToken] OAuth 2.0 Refresh Token
18942
- * @param {string | null} [codeVerifier] OAuth 2.0 Code Verifier
18943
- * @param {string | null} [token] OAuth 2.0 Token (Only used in Token Exchange)
18944
- * @param {PostAccessTokenTokenExchangeTypeEnum} [tokenExchangeType] Token Exchange Type (Only used in Token Exchange)
18945
- * @param {string | null} [licenceKey] 3CX Licence Key (Only used in Token Exchange)
18946
- * @param {boolean | null} [endUser] End User (Only used in Token Exchange)
19019
+ * @param {string | null} clientId OAuth 2.0 Client ID
19020
+ * @param {string | null} clientSecret OAuth 2.0 Client Secret
19021
+ * @param {PostAccessTokenGrantTypeEnum} grantType OAuth 2.0 Grant Type
19022
+ * @param {PostAccessTokenScopeEnum} scope OAuth 2.0 Scope
19023
+ * @param {string | null} redirectUri OAuth 2.0 Redirect URI
19024
+ * @param {string | null} code OAuth 2.0 Auth Code
19025
+ * @param {string | null} refreshToken OAuth 2.0 Refresh Token
19026
+ * @param {string | null} codeVerifier OAuth 2.0 Code Verifier
19027
+ * @param {string | null} token OAuth 2.0 Token (Only used in Token Exchange)
19028
+ * @param {PostAccessTokenTokenExchangeTypeEnum} tokenExchangeType Token Exchange Type (Only used in Token Exchange)
19029
+ * @param {string | null} licenceKey 3CX Licence Key (Only used in Token Exchange)
19030
+ * @param {boolean | null} endUser End User (Only used in Token Exchange)
18947
19031
  * @param {*} [options] Override http request option.
18948
19032
  * @throws {RequiredError}
18949
19033
  */
@@ -19027,18 +19111,18 @@ var OAuth20Api = /** @class */ (function (_super) {
19027
19111
  /**
19028
19112
  * Get an OAuth 2.0 access token
19029
19113
  * @summary Validates client credentials and returns access token
19030
- * @param {string | null} [clientId] OAuth 2.0 Client ID
19031
- * @param {string | null} [clientSecret] OAuth 2.0 Client Secret
19032
- * @param {PostAccessTokenGrantTypeEnum} [grantType] OAuth 2.0 Grant Type
19033
- * @param {PostAccessTokenScopeEnum} [scope] OAuth 2.0 Scope
19034
- * @param {string | null} [redirectUri] OAuth 2.0 Redirect URI
19035
- * @param {string | null} [code] OAuth 2.0 Auth Code
19036
- * @param {string | null} [refreshToken] OAuth 2.0 Refresh Token
19037
- * @param {string | null} [codeVerifier] OAuth 2.0 Code Verifier
19038
- * @param {string | null} [token] OAuth 2.0 Token (Only used in Token Exchange)
19039
- * @param {PostAccessTokenTokenExchangeTypeEnum} [tokenExchangeType] Token Exchange Type (Only used in Token Exchange)
19040
- * @param {string | null} [licenceKey] 3CX Licence Key (Only used in Token Exchange)
19041
- * @param {boolean | null} [endUser] End User (Only used in Token Exchange)
19114
+ * @param {string | null} clientId OAuth 2.0 Client ID
19115
+ * @param {string | null} clientSecret OAuth 2.0 Client Secret
19116
+ * @param {PostAccessTokenGrantTypeEnum} grantType OAuth 2.0 Grant Type
19117
+ * @param {PostAccessTokenScopeEnum} scope OAuth 2.0 Scope
19118
+ * @param {string | null} redirectUri OAuth 2.0 Redirect URI
19119
+ * @param {string | null} code OAuth 2.0 Auth Code
19120
+ * @param {string | null} refreshToken OAuth 2.0 Refresh Token
19121
+ * @param {string | null} codeVerifier OAuth 2.0 Code Verifier
19122
+ * @param {string | null} token OAuth 2.0 Token (Only used in Token Exchange)
19123
+ * @param {PostAccessTokenTokenExchangeTypeEnum} tokenExchangeType Token Exchange Type (Only used in Token Exchange)
19124
+ * @param {string | null} licenceKey 3CX Licence Key (Only used in Token Exchange)
19125
+ * @param {boolean | null} endUser End User (Only used in Token Exchange)
19042
19126
  * @param {*} [options] Override http request option.
19043
19127
  * @throws {RequiredError}
19044
19128
  */