yellowgrid-api-ts 3.2.233-dev.0 → 3.2.234-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 (76) hide show
  1. package/api.ts +435 -519
  2. package/dist/api.d.ts +417 -417
  3. package/dist/api.js +192 -276
  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 +2 -2
  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/RmaItemDTO.md +2 -2
  54. package/docs/RmaItemRequestDTO.md +2 -2
  55. package/docs/SbcDTO.md +8 -8
  56. package/docs/ScannedItemModel.md +4 -4
  57. package/docs/SeriesDTO.md +1 -1
  58. package/docs/ShipmentDTO.md +7 -7
  59. package/docs/ShipmentRequestDTO.md +2 -2
  60. package/docs/ShippingAddressDTO.md +8 -8
  61. package/docs/ShippingRequestDTO.md +2 -2
  62. package/docs/ShippingServiceModel.md +2 -2
  63. package/docs/SmsAccountEntity.md +1 -1
  64. package/docs/SmsPhoneNumberModel.md +1 -1
  65. package/docs/StockOrderModel.md +1 -1
  66. package/docs/StockProductPriceModel.md +1 -1
  67. package/docs/SupportTicketModel.md +1 -1
  68. package/docs/TcxInstallationModel.md +15 -15
  69. package/docs/TcxKeySummaryDTO.md +2 -2
  70. package/docs/TcxMultiTenantModel.md +7 -7
  71. package/docs/TcxSbcDTO.md +1 -1
  72. package/docs/TcxSetupEntity.md +1 -1
  73. package/docs/TcxWizardModel.md +5 -5
  74. package/docs/TicketSummaryModel.md +1 -1
  75. package/docs/UserEntity.md +2 -2
  76. package/package.json +1 -1
package/dist/api.js CHANGED
@@ -17432,50 +17432,30 @@ 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
17445
17435
  * @param {Array<NumberPortRangeRequestDTO>} numberRanges Number Ranges
17446
17436
  * @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 (companyName_1, addressLine1_1, addressLine2_1, city_1, postCode_1, trunkId_1, tenantId_1, requestedPortDate_1, asap_1, comment_1, numberRanges_1, cloa_1) {
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) {
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([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) {
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) {
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);
17479
17459
  // verify required parameter 'numberRanges' is not null or undefined
17480
17460
  (0, common_1.assertParamExists)('postCreateNumberPort', 'numberRanges', numberRanges);
17481
17461
  // verify required parameter 'cloa' is not null or undefined
@@ -17541,52 +17521,32 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
17541
17521
  /**
17542
17522
  *
17543
17523
  * @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
17554
17524
  * @param {Array<NumberPortRangeRequestDTO>} numberRanges Number Ranges
17555
17525
  * @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
17556
17536
  * @param {*} [options] Override http request option.
17557
17537
  * @throws {RequiredError}
17558
17538
  */
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) {
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) {
17560
17540
  var args_1 = [];
17561
17541
  for (var _i = 13; _i < arguments.length; _i++) {
17562
17542
  args_1[_i - 13] = arguments[_i];
17563
17543
  }
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) {
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) {
17565
17545
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarFormParams, headersFromBaseOptions;
17566
17546
  if (options === void 0) { options = {}; }
17567
17547
  return __generator(this, function (_a) {
17568
17548
  // verify required parameter 'id' is not null or undefined
17569
17549
  (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);
17590
17550
  // verify required parameter 'numberRanges' is not null or undefined
17591
17551
  (0, common_1.assertParamExists)('postSubmitNumberPort', 'numberRanges', numberRanges);
17592
17552
  // verify required parameter 'cloa' is not null or undefined
@@ -17653,52 +17613,32 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
17653
17613
  /**
17654
17614
  *
17655
17615
  * @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
17666
17616
  * @param {Array<NumberPortRangeRequestDTO>} numberRanges Number Ranges
17667
17617
  * @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
17668
17628
  * @param {*} [options] Override http request option.
17669
17629
  * @throws {RequiredError}
17670
17630
  */
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) {
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) {
17672
17632
  var args_1 = [];
17673
17633
  for (var _i = 13; _i < arguments.length; _i++) {
17674
17634
  args_1[_i - 13] = arguments[_i];
17675
17635
  }
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) {
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) {
17677
17637
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarFormParams, headersFromBaseOptions;
17678
17638
  if (options === void 0) { options = {}; }
17679
17639
  return __generator(this, function (_a) {
17680
17640
  // verify required parameter 'id' is not null or undefined
17681
17641
  (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);
17702
17642
  // verify required parameter 'numberRanges' is not null or undefined
17703
17643
  (0, common_1.assertParamExists)('postUpdateNumberPort', 'numberRanges', numberRanges);
17704
17644
  // verify required parameter 'cloa' is not null or undefined
@@ -17996,28 +17936,28 @@ var NumberPortingApiFp = function (configuration) {
17996
17936
  },
17997
17937
  /**
17998
17938
  *
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
18009
17939
  * @param {Array<NumberPortRangeRequestDTO>} numberRanges Number Ranges
18010
17940
  * @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
18011
17951
  * @param {*} [options] Override http request option.
18012
17952
  * @throws {RequiredError}
18013
17953
  */
18014
- postCreateNumberPort: function (companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, numberRanges, cloa, options) {
17954
+ postCreateNumberPort: function (numberRanges, cloa, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, options) {
18015
17955
  return __awaiter(this, void 0, void 0, function () {
18016
17956
  var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
18017
17957
  var _a, _b, _c;
18018
17958
  return __generator(this, function (_d) {
18019
17959
  switch (_d.label) {
18020
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.postCreateNumberPort(companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, numberRanges, cloa, options)];
17960
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.postCreateNumberPort(numberRanges, cloa, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, options)];
18021
17961
  case 1:
18022
17962
  localVarAxiosArgs = _d.sent();
18023
17963
  localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
@@ -18030,28 +17970,28 @@ var NumberPortingApiFp = function (configuration) {
18030
17970
  /**
18031
17971
  *
18032
17972
  * @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
18043
17973
  * @param {Array<NumberPortRangeRequestDTO>} numberRanges Number Ranges
18044
17974
  * @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
18045
17985
  * @param {*} [options] Override http request option.
18046
17986
  * @throws {RequiredError}
18047
17987
  */
18048
- postSubmitNumberPort: function (id, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, numberRanges, cloa, options) {
17988
+ postSubmitNumberPort: function (id, numberRanges, cloa, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, options) {
18049
17989
  return __awaiter(this, void 0, void 0, function () {
18050
17990
  var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
18051
17991
  var _a, _b, _c;
18052
17992
  return __generator(this, function (_d) {
18053
17993
  switch (_d.label) {
18054
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.postSubmitNumberPort(id, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, numberRanges, cloa, options)];
17994
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.postSubmitNumberPort(id, numberRanges, cloa, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, options)];
18055
17995
  case 1:
18056
17996
  localVarAxiosArgs = _d.sent();
18057
17997
  localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
@@ -18064,28 +18004,28 @@ var NumberPortingApiFp = function (configuration) {
18064
18004
  /**
18065
18005
  *
18066
18006
  * @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
18077
18007
  * @param {Array<NumberPortRangeRequestDTO>} numberRanges Number Ranges
18078
18008
  * @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
18079
18019
  * @param {*} [options] Override http request option.
18080
18020
  * @throws {RequiredError}
18081
18021
  */
18082
- postUpdateNumberPort: function (id, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, numberRanges, cloa, options) {
18022
+ postUpdateNumberPort: function (id, numberRanges, cloa, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, options) {
18083
18023
  return __awaiter(this, void 0, void 0, function () {
18084
18024
  var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
18085
18025
  var _a, _b, _c;
18086
18026
  return __generator(this, function (_d) {
18087
18027
  switch (_d.label) {
18088
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.postUpdateNumberPort(id, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, numberRanges, cloa, options)];
18028
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.postUpdateNumberPort(id, numberRanges, cloa, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, options)];
18089
18029
  case 1:
18090
18030
  localVarAxiosArgs = _d.sent();
18091
18031
  localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
@@ -18206,65 +18146,65 @@ var NumberPortingApiFactory = function (configuration, basePath, axios) {
18206
18146
  },
18207
18147
  /**
18208
18148
  *
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
18219
18149
  * @param {Array<NumberPortRangeRequestDTO>} numberRanges Number Ranges
18220
18150
  * @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
18221
18161
  * @param {*} [options] Override http request option.
18222
18162
  * @throws {RequiredError}
18223
18163
  */
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); });
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); });
18226
18166
  },
18227
18167
  /**
18228
18168
  *
18229
18169
  * @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
18240
18170
  * @param {Array<NumberPortRangeRequestDTO>} numberRanges Number Ranges
18241
18171
  * @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
18242
18182
  * @param {*} [options] Override http request option.
18243
18183
  * @throws {RequiredError}
18244
18184
  */
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); });
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); });
18247
18187
  },
18248
18188
  /**
18249
18189
  *
18250
18190
  * @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
18261
18191
  * @param {Array<NumberPortRangeRequestDTO>} numberRanges Number Ranges
18262
18192
  * @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
18263
18203
  * @param {*} [options] Override http request option.
18264
18204
  * @throws {RequiredError}
18265
18205
  */
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); });
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); });
18268
18208
  },
18269
18209
  /**
18270
18210
  *
@@ -18374,68 +18314,68 @@ var NumberPortingApi = /** @class */ (function (_super) {
18374
18314
  };
18375
18315
  /**
18376
18316
  *
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
18387
18317
  * @param {Array<NumberPortRangeRequestDTO>} numberRanges Number Ranges
18388
18318
  * @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
18389
18329
  * @param {*} [options] Override http request option.
18390
18330
  * @throws {RequiredError}
18391
18331
  */
18392
- NumberPortingApi.prototype.postCreateNumberPort = function (companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, numberRanges, cloa, options) {
18332
+ NumberPortingApi.prototype.postCreateNumberPort = function (numberRanges, cloa, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, options) {
18393
18333
  var _this = this;
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); });
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); });
18395
18335
  };
18396
18336
  /**
18397
18337
  *
18398
18338
  * @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
18409
18339
  * @param {Array<NumberPortRangeRequestDTO>} numberRanges Number Ranges
18410
18340
  * @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
18411
18351
  * @param {*} [options] Override http request option.
18412
18352
  * @throws {RequiredError}
18413
18353
  */
18414
- NumberPortingApi.prototype.postSubmitNumberPort = function (id, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, numberRanges, cloa, options) {
18354
+ NumberPortingApi.prototype.postSubmitNumberPort = function (id, numberRanges, cloa, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, options) {
18415
18355
  var _this = this;
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); });
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); });
18417
18357
  };
18418
18358
  /**
18419
18359
  *
18420
18360
  * @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
18431
18361
  * @param {Array<NumberPortRangeRequestDTO>} numberRanges Number Ranges
18432
18362
  * @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
18433
18373
  * @param {*} [options] Override http request option.
18434
18374
  * @throws {RequiredError}
18435
18375
  */
18436
- NumberPortingApi.prototype.postUpdateNumberPort = function (id, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, numberRanges, cloa, options) {
18376
+ NumberPortingApi.prototype.postUpdateNumberPort = function (id, numberRanges, cloa, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, options) {
18437
18377
  var _this = this;
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); });
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); });
18439
18379
  };
18440
18380
  /**
18441
18381
  *
@@ -18528,18 +18468,18 @@ var OAuth20ApiAxiosParamCreator = function (configuration) {
18528
18468
  /**
18529
18469
  * Get an OAuth 2.0 access token
18530
18470
  * @summary Validates client credentials and returns access token
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)
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)
18543
18483
  * @param {*} [options] Override http request option.
18544
18484
  * @throws {RequiredError}
18545
18485
  */
@@ -18552,30 +18492,6 @@ var OAuth20ApiAxiosParamCreator = function (configuration) {
18552
18492
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarFormParams, headersFromBaseOptions;
18553
18493
  if (options === void 0) { options = {}; }
18554
18494
  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);
18579
18495
  localVarPath = "/oauth2/access_token";
18580
18496
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
18581
18497
  if (configuration) {
@@ -18860,18 +18776,18 @@ var OAuth20ApiFp = function (configuration) {
18860
18776
  /**
18861
18777
  * Get an OAuth 2.0 access token
18862
18778
  * @summary Validates client credentials and returns access token
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)
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)
18875
18791
  * @param {*} [options] Override http request option.
18876
18792
  * @throws {RequiredError}
18877
18793
  */
@@ -19016,18 +18932,18 @@ var OAuth20ApiFactory = function (configuration, basePath, axios) {
19016
18932
  /**
19017
18933
  * Get an OAuth 2.0 access token
19018
18934
  * @summary Validates client credentials and returns access token
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)
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)
19031
18947
  * @param {*} [options] Override http request option.
19032
18948
  * @throws {RequiredError}
19033
18949
  */
@@ -19111,18 +19027,18 @@ var OAuth20Api = /** @class */ (function (_super) {
19111
19027
  /**
19112
19028
  * Get an OAuth 2.0 access token
19113
19029
  * @summary Validates client credentials and returns access token
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)
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)
19126
19042
  * @param {*} [options] Override http request option.
19127
19043
  * @throws {RequiredError}
19128
19044
  */