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/api.ts CHANGED
@@ -30,7 +30,7 @@ export interface AbstractOrderRequestDTO {
30
30
  /**
31
31
  * Order Reference
32
32
  */
33
- 'orderReference': string | null;
33
+ 'orderReference'?: string | null;
34
34
  /**
35
35
  * Items
36
36
  */
@@ -39,11 +39,11 @@ export interface AbstractOrderRequestDTO {
39
39
  /**
40
40
  * Provisioning URL
41
41
  */
42
- 'provisioningUrl': string | null;
42
+ 'provisioningUrl'?: string | null;
43
43
  /**
44
44
  * Shipping Address
45
45
  */
46
- 'shippingAddress': AddressModel | null;
46
+ 'shippingAddress'?: AddressModel | null;
47
47
  /**
48
48
  * Part Ship Order
49
49
  */
@@ -259,7 +259,7 @@ export interface AccountDetailedSummaryDTO {
259
259
  /**
260
260
  * Balance (£)
261
261
  */
262
- 'balance': number | null;
262
+ 'balance'?: number | null;
263
263
  }
264
264
  /**
265
265
  * Account Finance DTO
@@ -332,7 +332,7 @@ export interface AccountRequestModel {
332
332
  /**
333
333
  * Address Line 2
334
334
  */
335
- 'addressLine2': string | null;
335
+ 'addressLine2'?: string | null;
336
336
  /**
337
337
  * Town/City
338
338
  */
@@ -348,15 +348,15 @@ export interface AccountRequestModel {
348
348
  /**
349
349
  * Company Registration Number
350
350
  */
351
- 'companyNumber': string | null;
351
+ 'companyNumber'?: string | null;
352
352
  /**
353
353
  * Preferred PBX
354
354
  */
355
- 'preferredPbx': string | null;
355
+ 'preferredPbx'?: string | null;
356
356
  /**
357
357
  * VAT Number
358
358
  */
359
- 'vatNumber': string | null;
359
+ 'vatNumber'?: string | null;
360
360
  /**
361
361
  * Email Address
362
362
  */
@@ -364,11 +364,11 @@ export interface AccountRequestModel {
364
364
  /**
365
365
  * Source
366
366
  */
367
- 'source': string | null;
367
+ 'source'?: string | null;
368
368
  /**
369
369
  * Credit Limit Required
370
370
  */
371
- 'creditRequired': number | null;
371
+ 'creditRequired'?: number | null;
372
372
  /**
373
373
  * Marketing Opt-In
374
374
  */
@@ -423,7 +423,7 @@ export interface AddressDTO {
423
423
  /**
424
424
  * Company
425
425
  */
426
- 'company': string | null;
426
+ 'company'?: string | null;
427
427
  /**
428
428
  * Address Line 1
429
429
  */
@@ -451,11 +451,11 @@ export interface AddressDTO {
451
451
  /**
452
452
  * Telephone
453
453
  */
454
- 'phone': string | null;
454
+ 'phone'?: string | null;
455
455
  /**
456
456
  * Name
457
457
  */
458
- 'name': string | null;
458
+ 'name'?: string | null;
459
459
  }
460
460
  /**
461
461
  * Order Address
@@ -567,43 +567,43 @@ export interface AdminNumberPortDTO {
567
567
  /**
568
568
  * Company Name
569
569
  */
570
- 'companyName': string | null;
570
+ 'companyName'?: string | null;
571
571
  /**
572
572
  * Address Line 1
573
573
  */
574
- 'addressLine1': string | null;
574
+ 'addressLine1'?: string | null;
575
575
  /**
576
576
  * Address Line 2
577
577
  */
578
- 'addressLine2': string | null;
578
+ 'addressLine2'?: string | null;
579
579
  /**
580
580
  * City
581
581
  */
582
- 'city': string | null;
582
+ 'city'?: string | null;
583
583
  /**
584
584
  * Post Code
585
585
  */
586
- 'postCode': string | null;
586
+ 'postCode'?: string | null;
587
587
  /**
588
588
  * Trunk ID
589
589
  */
590
- 'trunkId': number | null;
590
+ 'trunkId'?: number | null;
591
591
  /**
592
592
  * Starter Bundle ID
593
593
  */
594
- 'tenantId': string | null;
594
+ 'tenantId'?: string | null;
595
595
  /**
596
596
  * Requested Port Date
597
597
  */
598
- 'requestedPortDate': string | null;
598
+ 'requestedPortDate'?: string | null;
599
599
  /**
600
600
  * Port Date ASAP
601
601
  */
602
- 'asap': boolean | null;
602
+ 'asap'?: boolean | null;
603
603
  /**
604
604
  * Comment
605
605
  */
606
- 'comment': string | null;
606
+ 'comment'?: string | null;
607
607
  /**
608
608
  * Number Port ID
609
609
  */
@@ -635,7 +635,7 @@ export interface AdminNumberPortDTO {
635
635
  /**
636
636
  * Ticket ID
637
637
  */
638
- 'ticketId': number | null;
638
+ 'ticketId'?: number | null;
639
639
  /**
640
640
  * Notes
641
641
  */
@@ -656,7 +656,7 @@ export interface AdminOrderRequestDTO {
656
656
  /**
657
657
  * Order Reference
658
658
  */
659
- 'orderReference': string | null;
659
+ 'orderReference'?: string | null;
660
660
  /**
661
661
  * Items
662
662
  */
@@ -665,11 +665,11 @@ export interface AdminOrderRequestDTO {
665
665
  /**
666
666
  * Provisioning URL
667
667
  */
668
- 'provisioningUrl': string | null;
668
+ 'provisioningUrl'?: string | null;
669
669
  /**
670
670
  * Shipping Address
671
671
  */
672
- 'shippingAddress': AddressModel | null;
672
+ 'shippingAddress'?: AddressModel | null;
673
673
  /**
674
674
  * Part Ship Order
675
675
  */
@@ -803,11 +803,11 @@ export interface AdminRmaDTO {
803
803
  /**
804
804
  * Collection Tracking URL
805
805
  */
806
- 'collectionTrackingUrl': string | null;
806
+ 'collectionTrackingUrl'?: string | null;
807
807
  /**
808
808
  * Return Tracking URL
809
809
  */
810
- 'returnTrackingUrl': string | null;
810
+ 'returnTrackingUrl'?: string | null;
811
811
  }
812
812
 
813
813
  export const AdminRmaDTOReasonEnum = {
@@ -854,11 +854,11 @@ export interface AdminRmaItemDTO {
854
854
  /**
855
855
  * RMA Item MAC Address
856
856
  */
857
- 'macAddress': string | null;
857
+ 'macAddress'?: string | null;
858
858
  /**
859
859
  * RMA Item Serial Number
860
860
  */
861
- 'serialNumber': string | null;
861
+ 'serialNumber'?: string | null;
862
862
  /**
863
863
  * RMA Item Received Status
864
864
  */
@@ -1011,7 +1011,7 @@ export interface AdminUserModel {
1011
1011
  /**
1012
1012
  * Avatar
1013
1013
  */
1014
- 'avatar': string | null;
1014
+ 'avatar'?: string | null;
1015
1015
  /**
1016
1016
  * Role
1017
1017
  */
@@ -1019,19 +1019,19 @@ export interface AdminUserModel {
1019
1019
  /**
1020
1020
  * Email
1021
1021
  */
1022
- 'email': string | null;
1022
+ 'email'?: string | null;
1023
1023
  /**
1024
1024
  * Primary Colour
1025
1025
  */
1026
- 'primaryHex': string | null;
1026
+ 'primaryHex'?: string | null;
1027
1027
  /**
1028
1028
  * Secondary Colour
1029
1029
  */
1030
- 'secondaryHex': string | null;
1030
+ 'secondaryHex'?: string | null;
1031
1031
  /**
1032
1032
  * Scopes
1033
1033
  */
1034
- 'scopes': Array<string> | null;
1034
+ 'scopes'?: Array<string> | null;
1035
1035
  /**
1036
1036
  * Groups
1037
1037
  */
@@ -1346,11 +1346,11 @@ export interface AuthCodeResponseModel {
1346
1346
  /**
1347
1347
  * State
1348
1348
  */
1349
- 'state': string | null;
1349
+ 'state'?: string | null;
1350
1350
  /**
1351
1351
  * Redirect URI
1352
1352
  */
1353
- 'redirect_uri': string | null;
1353
+ 'redirect_uri'?: string | null;
1354
1354
  }
1355
1355
  /**
1356
1356
  * Graph Axis Data
@@ -1363,11 +1363,11 @@ export interface AxisDataDTO {
1363
1363
  /**
1364
1364
  * Data
1365
1365
  */
1366
- 'data': Array<string> | null;
1366
+ 'data'?: Array<string> | null;
1367
1367
  /**
1368
1368
  * Name
1369
1369
  */
1370
- 'name': string | null;
1370
+ 'name'?: string | null;
1371
1371
  }
1372
1372
 
1373
1373
  export const AxisDataDTOTypeEnum = {
@@ -2066,11 +2066,11 @@ export interface CreditNoteItemDTO {
2066
2066
  /**
2067
2067
  * Quantity
2068
2068
  */
2069
- 'quantity': number | null;
2069
+ 'quantity'?: number | null;
2070
2070
  /**
2071
2071
  * Amount
2072
2072
  */
2073
- 'amount': number | null;
2073
+ 'amount'?: number | null;
2074
2074
  }
2075
2075
  /**
2076
2076
  * CreditNotesItemsEntity
@@ -2166,15 +2166,15 @@ export interface CreditStatusDTO {
2166
2166
  /**
2167
2167
  * Currency Code
2168
2168
  */
2169
- 'CurrencyCode': string | null;
2169
+ 'CurrencyCode'?: string | null;
2170
2170
  /**
2171
2171
  * Credit Limit
2172
2172
  */
2173
- 'CreditLimit': number | null;
2173
+ 'CreditLimit'?: number | null;
2174
2174
  /**
2175
2175
  * Credit
2176
2176
  */
2177
- 'Credit': number | null;
2177
+ 'Credit'?: number | null;
2178
2178
  }
2179
2179
  /**
2180
2180
  * CRM Activities Response
@@ -2200,7 +2200,7 @@ export interface CrmActivityDTO {
2200
2200
  /**
2201
2201
  * Activity Timestamp
2202
2202
  */
2203
- 'timestamp': string | null;
2203
+ 'timestamp'?: string | null;
2204
2204
  /**
2205
2205
  * Activity Title
2206
2206
  */
@@ -2212,15 +2212,15 @@ export interface CrmActivityDTO {
2212
2212
  /**
2213
2213
  * Activity User Name
2214
2214
  */
2215
- 'user': string | null;
2215
+ 'user'?: string | null;
2216
2216
  /**
2217
2217
  * Activity Contact Name
2218
2218
  */
2219
- 'contact': string | null;
2219
+ 'contact'?: string | null;
2220
2220
  /**
2221
2221
  * Activity Order ID
2222
2222
  */
2223
- 'orderId': number | null;
2223
+ 'orderId'?: number | null;
2224
2224
  }
2225
2225
  /**
2226
2226
  * CRM Contact
@@ -2262,7 +2262,7 @@ export interface CrmDateActivitiesDTO {
2262
2262
  /**
2263
2263
  * Date
2264
2264
  */
2265
- 'date': string | null;
2265
+ 'date'?: string | null;
2266
2266
  /**
2267
2267
  * Activities
2268
2268
  */
@@ -2415,7 +2415,7 @@ export interface CustomerCoordinatesDTO {
2415
2415
  /**
2416
2416
  * 3CX Reseller ID
2417
2417
  */
2418
- 'resellerId': string | null;
2418
+ 'resellerId'?: string | null;
2419
2419
  /**
2420
2420
  * Post Code
2421
2421
  */
@@ -2571,7 +2571,7 @@ export interface CustomerOrderRequestDTO {
2571
2571
  /**
2572
2572
  * Order Reference
2573
2573
  */
2574
- 'orderReference': string | null;
2574
+ 'orderReference'?: string | null;
2575
2575
  /**
2576
2576
  * Items
2577
2577
  */
@@ -2580,11 +2580,11 @@ export interface CustomerOrderRequestDTO {
2580
2580
  /**
2581
2581
  * Provisioning URL
2582
2582
  */
2583
- 'provisioningUrl': string | null;
2583
+ 'provisioningUrl'?: string | null;
2584
2584
  /**
2585
2585
  * Shipping Address
2586
2586
  */
2587
- 'shippingAddress': AddressModel | null;
2587
+ 'shippingAddress'?: AddressModel | null;
2588
2588
  /**
2589
2589
  * Part Ship Order
2590
2590
  */
@@ -2760,7 +2760,7 @@ export interface DetailedOrderRequestDTO {
2760
2760
  /**
2761
2761
  * Order Reference
2762
2762
  */
2763
- 'orderReference': string | null;
2763
+ 'orderReference'?: string | null;
2764
2764
  /**
2765
2765
  * Items
2766
2766
  */
@@ -2769,11 +2769,11 @@ export interface DetailedOrderRequestDTO {
2769
2769
  /**
2770
2770
  * Provisioning URL
2771
2771
  */
2772
- 'provisioningUrl': string | null;
2772
+ 'provisioningUrl'?: string | null;
2773
2773
  /**
2774
2774
  * Shipping Address
2775
2775
  */
2776
- 'shippingAddress': AddressModel | null;
2776
+ 'shippingAddress'?: AddressModel | null;
2777
2777
  /**
2778
2778
  * Part Ship Order
2779
2779
  */
@@ -2794,7 +2794,7 @@ export interface DivertRequestModel {
2794
2794
  /**
2795
2795
  * Destination
2796
2796
  */
2797
- 'destination': string | null;
2797
+ 'destination'?: string | null;
2798
2798
  }
2799
2799
  /**
2800
2800
  * Divert
@@ -2807,7 +2807,7 @@ export interface DivertResponseModel {
2807
2807
  /**
2808
2808
  * Divert Destination
2809
2809
  */
2810
- 'destination': string | null;
2810
+ 'destination'?: string | null;
2811
2811
  /**
2812
2812
  * Divert Status
2813
2813
  */
@@ -2844,7 +2844,7 @@ export interface EdTechProClientEntity {
2844
2844
  /**
2845
2845
  * Client API Key
2846
2846
  */
2847
- 'apiKey': string | null;
2847
+ 'apiKey'?: string | null;
2848
2848
  }
2849
2849
  /**
2850
2850
  * EdTechPro School
@@ -2873,7 +2873,7 @@ export interface EdTechProSchoolModel {
2873
2873
  /**
2874
2874
  * Order Reference
2875
2875
  */
2876
- 'orderReference': string | null;
2876
+ 'orderReference'?: string | null;
2877
2877
  /**
2878
2878
  * Creation Date
2879
2879
  */
@@ -2901,7 +2901,7 @@ export interface EdTechProSchoolModel {
2901
2901
  /**
2902
2902
  * API Key
2903
2903
  */
2904
- 'apiKey': string | null;
2904
+ 'apiKey'?: string | null;
2905
2905
  }
2906
2906
  /**
2907
2907
  * EdTechPro Schools
@@ -3180,7 +3180,7 @@ export interface FreshdeskTicketEntity {
3180
3180
  /**
3181
3181
  * status
3182
3182
  */
3183
- 'statusId': number | null;
3183
+ 'statusId'?: number | null;
3184
3184
  /**
3185
3185
  * lastUpdated
3186
3186
  */
@@ -3264,7 +3264,7 @@ export interface GraphDTO {
3264
3264
  /**
3265
3265
  * Currency
3266
3266
  */
3267
- 'currency': GraphDTOCurrencyEnum | null;
3267
+ 'currency'?: GraphDTOCurrencyEnum | null;
3268
3268
  /**
3269
3269
  * Locale
3270
3270
  */
@@ -3413,33 +3413,33 @@ export interface InstallationDetailsDTO {
3413
3413
  /**
3414
3414
  * PBX IP Address
3415
3415
  */
3416
- 'ipAddress': string | null;
3416
+ 'ipAddress'?: string | null;
3417
3417
  /**
3418
3418
  * PBX Failover IP Address
3419
3419
  */
3420
- 'failoverIpAddress': string | null;
3420
+ 'failoverIpAddress'?: string | null;
3421
3421
  /**
3422
3422
  * Instance ID
3423
3423
  */
3424
- 'instanceId': string | null;
3424
+ 'instanceId'?: string | null;
3425
3425
  /**
3426
3426
  * Project ID
3427
3427
  */
3428
- 'project': string | null;
3428
+ 'project'?: string | null;
3429
3429
  'sshKey': GenericFileModel;
3430
3430
  /**
3431
3431
  * Root Password
3432
3432
  */
3433
- 'osPassword': string | null;
3433
+ 'osPassword'?: string | null;
3434
3434
  'systemOwner': TcxUsersEntity;
3435
3435
  /**
3436
3436
  * Admin Email
3437
3437
  */
3438
- 'email': string | null;
3438
+ 'email'?: string | null;
3439
3439
  /**
3440
3440
  * 3CX Console URL
3441
3441
  */
3442
- 'url': string | null;
3442
+ 'url'?: string | null;
3443
3443
  'backup': RemoteStorageDTO;
3444
3444
  }
3445
3445
  /**
@@ -3863,7 +3863,7 @@ export interface ItemDiscountEntity {
3863
3863
  /**
3864
3864
  * type
3865
3865
  */
3866
- 'type': ItemDiscountEntityTypeEnum | null;
3866
+ 'type'?: ItemDiscountEntityTypeEnum | null;
3867
3867
  /**
3868
3868
  * description
3869
3869
  */
@@ -3973,7 +3973,7 @@ export interface ItemEntity {
3973
3973
  /**
3974
3974
  * 3CX Sales Code
3975
3975
  */
3976
- 'tcxSalesCode': string | null;
3976
+ 'tcxSalesCode'?: string | null;
3977
3977
  }
3978
3978
  /**
3979
3979
  * RMA Item Status Request Model
@@ -4153,43 +4153,43 @@ export interface NumberPortDTO {
4153
4153
  /**
4154
4154
  * Company Name
4155
4155
  */
4156
- 'companyName': string | null;
4156
+ 'companyName'?: string | null;
4157
4157
  /**
4158
4158
  * Address Line 1
4159
4159
  */
4160
- 'addressLine1': string | null;
4160
+ 'addressLine1'?: string | null;
4161
4161
  /**
4162
4162
  * Address Line 2
4163
4163
  */
4164
- 'addressLine2': string | null;
4164
+ 'addressLine2'?: string | null;
4165
4165
  /**
4166
4166
  * City
4167
4167
  */
4168
- 'city': string | null;
4168
+ 'city'?: string | null;
4169
4169
  /**
4170
4170
  * Post Code
4171
4171
  */
4172
- 'postCode': string | null;
4172
+ 'postCode'?: string | null;
4173
4173
  /**
4174
4174
  * Trunk ID
4175
4175
  */
4176
- 'trunkId': number | null;
4176
+ 'trunkId'?: number | null;
4177
4177
  /**
4178
4178
  * Starter Bundle ID
4179
4179
  */
4180
- 'tenantId': string | null;
4180
+ 'tenantId'?: string | null;
4181
4181
  /**
4182
4182
  * Requested Port Date
4183
4183
  */
4184
- 'requestedPortDate': string | null;
4184
+ 'requestedPortDate'?: string | null;
4185
4185
  /**
4186
4186
  * Port Date ASAP
4187
4187
  */
4188
- 'asap': boolean | null;
4188
+ 'asap'?: boolean | null;
4189
4189
  /**
4190
4190
  * Comment
4191
4191
  */
4192
- 'comment': string | null;
4192
+ 'comment'?: string | null;
4193
4193
  /**
4194
4194
  * Number Port ID
4195
4195
  */
@@ -4221,7 +4221,7 @@ export interface NumberPortDTO {
4221
4221
  /**
4222
4222
  * Ticket ID
4223
4223
  */
4224
- 'ticketId': number | null;
4224
+ 'ticketId'?: number | null;
4225
4225
  }
4226
4226
  /**
4227
4227
  * Number Port Note DTO
@@ -4255,19 +4255,19 @@ export interface NumberPortRangeDTO {
4255
4255
  /**
4256
4256
  * Range Start Number
4257
4257
  */
4258
- 'rangeStart': string | null;
4258
+ 'rangeStart'?: string | null;
4259
4259
  /**
4260
4260
  * Range End Number
4261
4261
  */
4262
- 'rangeEnd': string | null;
4262
+ 'rangeEnd'?: string | null;
4263
4263
  /**
4264
4264
  * Losing Communications Provider
4265
4265
  */
4266
- 'lcp': string | null;
4266
+ 'lcp'?: string | null;
4267
4267
  /**
4268
4268
  * Range Post Code
4269
4269
  */
4270
- 'postCode': string | null;
4270
+ 'postCode'?: string | null;
4271
4271
  /**
4272
4272
  * Number Port Range ID
4273
4273
  */
@@ -4279,7 +4279,7 @@ export interface NumberPortRangeDTO {
4279
4279
  /**
4280
4280
  * Range Holder
4281
4281
  */
4282
- 'rangeHolder': string | null;
4282
+ 'rangeHolder'?: string | null;
4283
4283
  }
4284
4284
  /**
4285
4285
  * NumberPortRangeDTO
@@ -4288,19 +4288,19 @@ export interface NumberPortRangeRequestDTO {
4288
4288
  /**
4289
4289
  * Range Start Number
4290
4290
  */
4291
- 'rangeStart': string | null;
4291
+ 'rangeStart'?: string | null;
4292
4292
  /**
4293
4293
  * Range End Number
4294
4294
  */
4295
- 'rangeEnd': string | null;
4295
+ 'rangeEnd'?: string | null;
4296
4296
  /**
4297
4297
  * Losing Communications Provider
4298
4298
  */
4299
- 'lcp': string | null;
4299
+ 'lcp'?: string | null;
4300
4300
  /**
4301
4301
  * Range Post Code
4302
4302
  */
4303
- 'postCode': string | null;
4303
+ 'postCode'?: string | null;
4304
4304
  }
4305
4305
  /**
4306
4306
  * Number Ports
@@ -4355,23 +4355,23 @@ export interface OpayoRedirectDTO {
4355
4355
  /**
4356
4356
  * acsUrl
4357
4357
  */
4358
- 'acsUrl': string | null;
4358
+ 'acsUrl'?: string | null;
4359
4359
  /**
4360
4360
  * paReq
4361
4361
  */
4362
- 'paReq': string | null;
4362
+ 'paReq'?: string | null;
4363
4363
  /**
4364
4364
  * Transaction ID
4365
4365
  */
4366
- 'transactionId': string | null;
4366
+ 'transactionId'?: string | null;
4367
4367
  /**
4368
4368
  * dsTranId
4369
4369
  */
4370
- 'dsTranId': string | null;
4370
+ 'dsTranId'?: string | null;
4371
4371
  /**
4372
4372
  * cReq
4373
4373
  */
4374
- 'cReq': string | null;
4374
+ 'cReq'?: string | null;
4375
4375
  }
4376
4376
  /**
4377
4377
  * Legacy Portal Order
@@ -4395,7 +4395,7 @@ export interface OrderDetailsDTO {
4395
4395
  /**
4396
4396
  * Reference
4397
4397
  */
4398
- 'reference': string | null;
4398
+ 'reference'?: string | null;
4399
4399
  /**
4400
4400
  * Invoice Number
4401
4401
  */
@@ -4403,7 +4403,7 @@ export interface OrderDetailsDTO {
4403
4403
  /**
4404
4404
  * Invoice ID
4405
4405
  */
4406
- 'invoiceId': string | null;
4406
+ 'invoiceId'?: string | null;
4407
4407
  /**
4408
4408
  * Date Time
4409
4409
  */
@@ -4421,7 +4421,7 @@ export interface OrderDetailsDTO {
4421
4421
  */
4422
4422
  'quote': boolean;
4423
4423
  'customer': AccountSummaryDTO;
4424
- 'shippingAddress': AddressModel | null;
4424
+ 'shippingAddress'?: AddressModel | null;
4425
4425
  /**
4426
4426
  * Items
4427
4427
  */
@@ -4433,12 +4433,12 @@ export interface OrderDetailsDTO {
4433
4433
  /**
4434
4434
  * Fulfillable
4435
4435
  */
4436
- 'fulfillable': boolean | null;
4436
+ 'fulfillable'?: boolean | null;
4437
4437
  /**
4438
4438
  * Provisioning URL
4439
4439
  */
4440
- 'provisioningUrl': string | null;
4441
- 'shippingService': ShippingServiceDTO | null;
4440
+ 'provisioningUrl'?: string | null;
4441
+ 'shippingService'?: ShippingServiceDTO | null;
4442
4442
  /**
4443
4443
  * Readonly
4444
4444
  */
@@ -4492,7 +4492,7 @@ export interface OrderEntity {
4492
4492
  /**
4493
4493
  * invoiceId
4494
4494
  */
4495
- 'invoiceId': string | null;
4495
+ 'invoiceId'?: string | null;
4496
4496
  /**
4497
4497
  * creditAccountId
4498
4498
  */
@@ -4704,7 +4704,7 @@ export interface OrderEntity {
4704
4704
  /**
4705
4705
  * fulfillable
4706
4706
  */
4707
- 'fulfillable': boolean | null;
4707
+ 'fulfillable'?: boolean | null;
4708
4708
  }
4709
4709
  /**
4710
4710
  * Order Item Details
@@ -4794,23 +4794,23 @@ export interface OrderRequestModel {
4794
4794
  /**
4795
4795
  * Client/Trust ID
4796
4796
  */
4797
- 'clientId': number | null;
4797
+ 'clientId'?: number | null;
4798
4798
  /**
4799
4799
  * Client/Trust Name
4800
4800
  */
4801
- 'clientName': string | null;
4801
+ 'clientName'?: string | null;
4802
4802
  /**
4803
4803
  * Client/Trust Contact Name
4804
4804
  */
4805
- 'clientContactName': string | null;
4805
+ 'clientContactName'?: string | null;
4806
4806
  /**
4807
4807
  * Client/Trust Contact Email
4808
4808
  */
4809
- 'clientContactEmail': string | null;
4809
+ 'clientContactEmail'?: string | null;
4810
4810
  /**
4811
4811
  * Agreed to Terms and Conditions
4812
4812
  */
4813
- 'terms': boolean | null;
4813
+ 'terms'?: boolean | null;
4814
4814
  /**
4815
4815
  * School Name
4816
4816
  */
@@ -4838,11 +4838,11 @@ export interface OrderRequestModel {
4838
4838
  /**
4839
4839
  * InstanceId
4840
4840
  */
4841
- 'instanceId': string | null;
4841
+ 'instanceId'?: string | null;
4842
4842
  /**
4843
4843
  * Order Reference
4844
4844
  */
4845
- 'orderReference': string | null;
4845
+ 'orderReference'?: string | null;
4846
4846
  }
4847
4847
 
4848
4848
  export const OrderRequestModelLicenceTypeEnum = {
@@ -4865,15 +4865,15 @@ export interface OrderResponseDTO {
4865
4865
  /**
4866
4866
  * URL
4867
4867
  */
4868
- 'url': string | null;
4868
+ 'url'?: string | null;
4869
4869
  /**
4870
4870
  * Order ID
4871
4871
  */
4872
- 'orderID': string | null;
4872
+ 'orderID'?: string | null;
4873
4873
  /**
4874
4874
  * Unique ID
4875
4875
  */
4876
- 'uniqueID': string | null;
4876
+ 'uniqueID'?: string | null;
4877
4877
  }
4878
4878
  /**
4879
4879
  * Sales Orders
@@ -4907,7 +4907,7 @@ export interface OrderSummaryDTO {
4907
4907
  /**
4908
4908
  * Reference
4909
4909
  */
4910
- 'reference': string | null;
4910
+ 'reference'?: string | null;
4911
4911
  /**
4912
4912
  * Invoice Number
4913
4913
  */
@@ -4915,7 +4915,7 @@ export interface OrderSummaryDTO {
4915
4915
  /**
4916
4916
  * Invoice ID
4917
4917
  */
4918
- 'invoiceId': string | null;
4918
+ 'invoiceId'?: string | null;
4919
4919
  /**
4920
4920
  * Date Time
4921
4921
  */
@@ -4933,7 +4933,7 @@ export interface OrderSummaryDTO {
4933
4933
  */
4934
4934
  'quote': boolean;
4935
4935
  'customer': AccountSummaryDTO;
4936
- 'shippingAddress': AddressModel | null;
4936
+ 'shippingAddress'?: AddressModel | null;
4937
4937
  /**
4938
4938
  * Items
4939
4939
  */
@@ -4945,12 +4945,12 @@ export interface OrderSummaryDTO {
4945
4945
  /**
4946
4946
  * Fulfillable
4947
4947
  */
4948
- 'fulfillable': boolean | null;
4948
+ 'fulfillable'?: boolean | null;
4949
4949
  /**
4950
4950
  * Provisioning URL
4951
4951
  */
4952
- 'provisioningUrl': string | null;
4953
- 'shippingService': ShippingServiceDTO | null;
4952
+ 'provisioningUrl'?: string | null;
4953
+ 'shippingService'?: ShippingServiceDTO | null;
4954
4954
  /**
4955
4955
  * Readonly
4956
4956
  */
@@ -4991,7 +4991,7 @@ export interface OrderTotalModel {
4991
4991
  /**
4992
4992
  * Delivery
4993
4993
  */
4994
- 'delivery': number | null;
4994
+ 'delivery'?: number | null;
4995
4995
  }
4996
4996
 
4997
4997
  export const OrderTotalModelCurrencyEnum = {
@@ -5189,7 +5189,7 @@ export interface PartnerDTO {
5189
5189
  /**
5190
5190
  * 3CX Partner ID
5191
5191
  */
5192
- 'partnerId': string | null;
5192
+ 'partnerId'?: string | null;
5193
5193
  /**
5194
5194
  * 3CX Partner Company Name
5195
5195
  */
@@ -5233,7 +5233,7 @@ export interface PartnerDTO {
5233
5233
  /**
5234
5234
  * Customer
5235
5235
  */
5236
- 'customer': AccountSummaryDTO | null;
5236
+ 'customer'?: AccountSummaryDTO | null;
5237
5237
  }
5238
5238
  /**
5239
5239
  * Password Sender Request
@@ -5246,19 +5246,19 @@ export interface PasswordSenderDTO {
5246
5246
  /**
5247
5247
  * Password
5248
5248
  */
5249
- 'password': string | null;
5249
+ 'password'?: string | null;
5250
5250
  /**
5251
5251
  * Expiry Interval
5252
5252
  */
5253
- 'expiryInterval': number | null;
5253
+ 'expiryInterval'?: number | null;
5254
5254
  /**
5255
5255
  * Interval Type
5256
5256
  */
5257
- 'intervalType': PasswordSenderDTOIntervalTypeEnum | null;
5257
+ 'intervalType'?: PasswordSenderDTOIntervalTypeEnum | null;
5258
5258
  /**
5259
5259
  * Expiry
5260
5260
  */
5261
- 'expiry': string | null;
5261
+ 'expiry'?: string | null;
5262
5262
  /**
5263
5263
  * Recipient
5264
5264
  */
@@ -5266,15 +5266,15 @@ export interface PasswordSenderDTO {
5266
5266
  /**
5267
5267
  * URL
5268
5268
  */
5269
- 'url': string | null;
5269
+ 'url'?: string | null;
5270
5270
  /**
5271
5271
  * Description
5272
5272
  */
5273
- 'description': string | null;
5273
+ 'description'?: string | null;
5274
5274
  /**
5275
5275
  * Password URL
5276
5276
  */
5277
- 'passwordUrl': string | null;
5277
+ 'passwordUrl'?: string | null;
5278
5278
  }
5279
5279
 
5280
5280
  export const PasswordSenderDTOIntervalTypeEnum = {
@@ -5747,7 +5747,7 @@ export interface PriceListItemModel {
5747
5747
  /**
5748
5748
  * SKU
5749
5749
  */
5750
- 'sku': string | null;
5750
+ 'sku'?: string | null;
5751
5751
  /**
5752
5752
  * Price
5753
5753
  */
@@ -5755,11 +5755,11 @@ export interface PriceListItemModel {
5755
5755
  /**
5756
5756
  * RRP
5757
5757
  */
5758
- 'rrp': number | null;
5758
+ 'rrp'?: number | null;
5759
5759
  /**
5760
5760
  * Stock
5761
5761
  */
5762
- 'stock': number | null;
5762
+ 'stock'?: number | null;
5763
5763
  }
5764
5764
  /**
5765
5765
  * PrintersEntity
@@ -5916,7 +5916,7 @@ export interface ProductPriceListItemModel {
5916
5916
  /**
5917
5917
  * SKU
5918
5918
  */
5919
- 'sku': string | null;
5919
+ 'sku'?: string | null;
5920
5920
  /**
5921
5921
  * Price
5922
5922
  */
@@ -5924,11 +5924,11 @@ export interface ProductPriceListItemModel {
5924
5924
  /**
5925
5925
  * RRP
5926
5926
  */
5927
- 'rrp': number | null;
5927
+ 'rrp'?: number | null;
5928
5928
  /**
5929
5929
  * Stock
5930
5930
  */
5931
- 'stock': number | null;
5931
+ 'stock'?: number | null;
5932
5932
  /**
5933
5933
  * Brand
5934
5934
  */
@@ -5983,7 +5983,7 @@ export interface ProductSerialInfoModel {
5983
5983
  /**
5984
5984
  * Serial Prefix
5985
5985
  */
5986
- 'serial_prefixes': Array<string> | null;
5986
+ 'serial_prefixes'?: Array<string> | null;
5987
5987
  }
5988
5988
  /**
5989
5989
  * Product Summary
@@ -6127,15 +6127,15 @@ export interface ProspectDTO {
6127
6127
  /**
6128
6128
  * Telephone
6129
6129
  */
6130
- 'telephone': string | null;
6130
+ 'telephone'?: string | null;
6131
6131
  /**
6132
6132
  * Last Order Date
6133
6133
  */
6134
- 'lastOrderDate': string | null;
6134
+ 'lastOrderDate'?: string | null;
6135
6135
  /**
6136
6136
  * Call Back Date
6137
6137
  */
6138
- 'callbackDate': string | null;
6138
+ 'callbackDate'?: string | null;
6139
6139
  /**
6140
6140
  * Xero ID
6141
6141
  */
@@ -6363,7 +6363,7 @@ export interface RecordingBackupAzureModel {
6363
6363
  /**
6364
6364
  * Recordings Path
6365
6365
  */
6366
- 'recordings_path': string | null;
6366
+ 'recordings_path'?: string | null;
6367
6367
  }
6368
6368
  /**
6369
6369
  * Recordings Backup Info
@@ -6372,11 +6372,11 @@ export interface RecordingsBackupInfoDTO {
6372
6372
  /**
6373
6373
  * Azure Backup Storage
6374
6374
  */
6375
- 'backup': RecordingBackupAzureModel | null;
6375
+ 'backup'?: RecordingBackupAzureModel | null;
6376
6376
  /**
6377
6377
  * 3CX Remote Storage
6378
6378
  */
6379
- 'storage': TcxRemoteStorageModel | null;
6379
+ 'storage'?: TcxRemoteStorageModel | null;
6380
6380
  }
6381
6381
  export interface RecurringCharge {
6382
6382
  'createdDate'?: string;
@@ -6427,35 +6427,35 @@ export interface ReportRequestDTO {
6427
6427
  /**
6428
6428
  * Start
6429
6429
  */
6430
- 'start': string | null;
6430
+ 'start'?: string | null;
6431
6431
  /**
6432
6432
  * End
6433
6433
  */
6434
- 'end': string | null;
6434
+ 'end'?: string | null;
6435
6435
  /**
6436
6436
  * Month
6437
6437
  */
6438
- 'month': number | null;
6438
+ 'month'?: number | null;
6439
6439
  /**
6440
6440
  * Year
6441
6441
  */
6442
- 'year': number | null;
6442
+ 'year'?: number | null;
6443
6443
  /**
6444
6444
  * SKU
6445
6445
  */
6446
- 'sku': string | null;
6446
+ 'sku'?: string | null;
6447
6447
  /**
6448
6448
  * Price
6449
6449
  */
6450
- 'price': number | null;
6450
+ 'price'?: number | null;
6451
6451
  /**
6452
6452
  * Recipients
6453
6453
  */
6454
- 'recipients': Array<string> | null;
6454
+ 'recipients'?: Array<string> | null;
6455
6455
  /**
6456
6456
  * Graph Type
6457
6457
  */
6458
- 'graphType': ReportRequestDTOGraphTypeEnum | null;
6458
+ 'graphType'?: ReportRequestDTOGraphTypeEnum | null;
6459
6459
  }
6460
6460
 
6461
6461
  export const ReportRequestDTOReportEnum = {
@@ -6659,11 +6659,11 @@ export interface RmaItemDTO {
6659
6659
  /**
6660
6660
  * RMA Item MAC Address
6661
6661
  */
6662
- 'macAddress': string | null;
6662
+ 'macAddress'?: string | null;
6663
6663
  /**
6664
6664
  * RMA Item Serial Number
6665
6665
  */
6666
- 'serialNumber': string | null;
6666
+ 'serialNumber'?: string | null;
6667
6667
  /**
6668
6668
  * RMA Item Received Status
6669
6669
  */
@@ -6697,11 +6697,11 @@ export interface RmaItemRequestDTO {
6697
6697
  /**
6698
6698
  * RMA Item MAC Address
6699
6699
  */
6700
- 'macAddress': string | null;
6700
+ 'macAddress'?: string | null;
6701
6701
  /**
6702
6702
  * RMA Item Serial Number
6703
6703
  */
6704
- 'serialNumber': string | null;
6704
+ 'serialNumber'?: string | null;
6705
6705
  }
6706
6706
  /**
6707
6707
  * RMA Order
@@ -6977,35 +6977,35 @@ export interface SbcDTO {
6977
6977
  /**
6978
6978
  * No Config
6979
6979
  */
6980
- 'noConfig': boolean | null;
6980
+ 'noConfig'?: boolean | null;
6981
6981
  /**
6982
6982
  * DHCP
6983
6983
  */
6984
- 'dhcp': boolean | null;
6984
+ 'dhcp'?: boolean | null;
6985
6985
  /**
6986
6986
  * 3CX URL
6987
6987
  */
6988
- 'url': boolean | null;
6988
+ 'url'?: boolean | null;
6989
6989
  /**
6990
6990
  * 3CX SBC Auth Key
6991
6991
  */
6992
- 'authKey': boolean | null;
6992
+ 'authKey'?: boolean | null;
6993
6993
  /**
6994
6994
  * LAN IP Address
6995
6995
  */
6996
- 'ipAddress': boolean | null;
6996
+ 'ipAddress'?: boolean | null;
6997
6997
  /**
6998
6998
  * LAN Subnet Mask
6999
6999
  */
7000
- 'subnetMask': boolean | null;
7000
+ 'subnetMask'?: boolean | null;
7001
7001
  /**
7002
7002
  * LAN Default Gateway
7003
7003
  */
7004
- 'defaultGateway': boolean | null;
7004
+ 'defaultGateway'?: boolean | null;
7005
7005
  /**
7006
7006
  * DNS
7007
7007
  */
7008
- 'dns': boolean | null;
7008
+ 'dns'?: boolean | null;
7009
7009
  }
7010
7010
  /**
7011
7011
  * Item MAC & Serial Details
@@ -7014,15 +7014,15 @@ export interface ScannedItemModel {
7014
7014
  /**
7015
7015
  * Title
7016
7016
  */
7017
- 'title': string | null;
7017
+ 'title'?: string | null;
7018
7018
  /**
7019
7019
  * SKU
7020
7020
  */
7021
- 'sku': string | null;
7021
+ 'sku'?: string | null;
7022
7022
  /**
7023
7023
  * 3CX Label
7024
7024
  */
7025
- 'tcxLabel': string | null;
7025
+ 'tcxLabel'?: string | null;
7026
7026
  /**
7027
7027
  * Serial Numbers
7028
7028
  */
@@ -7030,7 +7030,7 @@ export interface ScannedItemModel {
7030
7030
  /**
7031
7031
  * MAC Address
7032
7032
  */
7033
- 'macAddress': string | null;
7033
+ 'macAddress'?: string | null;
7034
7034
  }
7035
7035
  /**
7036
7036
  * OAuth2 Scope
@@ -7111,7 +7111,7 @@ export interface SeriesDTO {
7111
7111
  /**
7112
7112
  * Stack
7113
7113
  */
7114
- 'stack': string | null;
7114
+ 'stack'?: string | null;
7115
7115
  /**
7116
7116
  * Data
7117
7117
  */
@@ -7251,27 +7251,27 @@ export interface ShipmentDTO {
7251
7251
  /**
7252
7252
  * ID
7253
7253
  */
7254
- 'id': number | null;
7254
+ 'id'?: number | null;
7255
7255
  /**
7256
7256
  * Batch ID
7257
7257
  */
7258
- 'batchId': number | null;
7258
+ 'batchId'?: number | null;
7259
7259
  /**
7260
7260
  * Courier
7261
7261
  */
7262
- 'courier': ShipmentDTOCourierEnum | null;
7262
+ 'courier'?: ShipmentDTOCourierEnum | null;
7263
7263
  /**
7264
7264
  * Courier Reference
7265
7265
  */
7266
- 'reference': string | null;
7266
+ 'reference'?: string | null;
7267
7267
  /**
7268
7268
  * Courier Tracking
7269
7269
  */
7270
- 'tracking': string | null;
7270
+ 'tracking'?: string | null;
7271
7271
  /**
7272
7272
  * Courier Tracking URL
7273
7273
  */
7274
- 'trackingUrl': string | null;
7274
+ 'trackingUrl'?: string | null;
7275
7275
  /**
7276
7276
  * Date Time
7277
7277
  */
@@ -7288,7 +7288,7 @@ export interface ShipmentDTO {
7288
7288
  /**
7289
7289
  * Boxes Shipped
7290
7290
  */
7291
- 'boxes': number | null;
7291
+ 'boxes'?: number | null;
7292
7292
  }
7293
7293
 
7294
7294
  export const ShipmentDTOCourierEnum = {
@@ -7480,7 +7480,7 @@ export interface ShipmentRequestDTO {
7480
7480
  /**
7481
7481
  * Address
7482
7482
  */
7483
- 'address': AddressModel | null;
7483
+ 'address'?: AddressModel | null;
7484
7484
  /**
7485
7485
  * Scanned Lines
7486
7486
  */
@@ -7492,7 +7492,7 @@ export interface ShipmentRequestDTO {
7492
7492
  /**
7493
7493
  * Ship Date
7494
7494
  */
7495
- 'shipDate': string | null;
7495
+ 'shipDate'?: string | null;
7496
7496
  /**
7497
7497
  * Items
7498
7498
  */
@@ -7515,35 +7515,35 @@ export interface ShippingAddressDTO {
7515
7515
  /**
7516
7516
  * Ship Name
7517
7517
  */
7518
- 'shipName': string | null;
7518
+ 'shipName'?: string | null;
7519
7519
  /**
7520
7520
  * Ship Company
7521
7521
  */
7522
- 'shipCompany': string | null;
7522
+ 'shipCompany'?: string | null;
7523
7523
  /**
7524
7524
  * Ship Address Line 1
7525
7525
  */
7526
- 'shipAddress1': string | null;
7526
+ 'shipAddress1'?: string | null;
7527
7527
  /**
7528
7528
  * Ship Address Line 2
7529
7529
  */
7530
- 'shipAddress2': string | null;
7530
+ 'shipAddress2'?: string | null;
7531
7531
  /**
7532
7532
  * Ship City
7533
7533
  */
7534
- 'shipCity': string | null;
7534
+ 'shipCity'?: string | null;
7535
7535
  /**
7536
7536
  * Ship Region
7537
7537
  */
7538
- 'shipRegion': string | null;
7538
+ 'shipRegion'?: string | null;
7539
7539
  /**
7540
7540
  * Ship Post Code
7541
7541
  */
7542
- 'shipPostCode': string | null;
7542
+ 'shipPostCode'?: string | null;
7543
7543
  /**
7544
7544
  * Ship ISO
7545
7545
  */
7546
- 'shipIso': string | null;
7546
+ 'shipIso'?: string | null;
7547
7547
  }
7548
7548
  export interface ShippingConsignmentModel {
7549
7549
  'service': ShippingServiceModel;
@@ -7593,8 +7593,8 @@ export interface ShippingRequestDTO {
7593
7593
  /**
7594
7594
  * Printer
7595
7595
  */
7596
- 'printer': ShippingRequestDTOPrinterEnum | null;
7597
- 'shipment': ShipmentRequestDTO | null;
7596
+ 'printer'?: ShippingRequestDTOPrinterEnum | null;
7597
+ 'shipment'?: ShipmentRequestDTO | null;
7598
7598
  }
7599
7599
 
7600
7600
  export const ShippingRequestDTOCourierEnum = {
@@ -7659,11 +7659,11 @@ export interface ShippingServiceModel {
7659
7659
  /**
7660
7660
  * Label
7661
7661
  */
7662
- 'label': string | null;
7662
+ 'label'?: string | null;
7663
7663
  /**
7664
7664
  * Price
7665
7665
  */
7666
- 'price': number | null;
7666
+ 'price'?: number | null;
7667
7667
  }
7668
7668
 
7669
7669
  export const ShippingServiceModelCourierEnum = {
@@ -7870,7 +7870,7 @@ export interface SmsAccountEntity {
7870
7870
  /**
7871
7871
  * trunkId
7872
7872
  */
7873
- 'trunkId': number | null;
7873
+ 'trunkId'?: number | null;
7874
7874
  /**
7875
7875
  * name
7876
7876
  */
@@ -7975,7 +7975,7 @@ export interface SmsPhoneNumberModel {
7975
7975
  /**
7976
7976
  * status
7977
7977
  */
7978
- 'status': SmsPhoneNumberModelStatusEnum | null;
7978
+ 'status'?: SmsPhoneNumberModelStatusEnum | null;
7979
7979
  }
7980
7980
 
7981
7981
  export const SmsPhoneNumberModelStatusEnum = {
@@ -8332,7 +8332,7 @@ export interface StockOrderModel {
8332
8332
  /**
8333
8333
  * Delivery Method
8334
8334
  */
8335
- 'deliveryMethod': StockOrderModelDeliveryMethodEnum | null;
8335
+ 'deliveryMethod'?: StockOrderModelDeliveryMethodEnum | null;
8336
8336
  /**
8337
8337
  * Delivery Cost
8338
8338
  */
@@ -8594,7 +8594,7 @@ export interface StockProductPriceModel {
8594
8594
  /**
8595
8595
  * Price (£)
8596
8596
  */
8597
- 'price': number | null;
8597
+ 'price'?: number | null;
8598
8598
  }
8599
8599
 
8600
8600
 
@@ -9004,7 +9004,7 @@ export interface SupportTicketModel {
9004
9004
  /**
9005
9005
  * Support email address
9006
9006
  */
9007
- 'supportEmail': string | null;
9007
+ 'supportEmail'?: string | null;
9008
9008
  /**
9009
9009
  * Recipient emails
9010
9010
  */
@@ -9362,15 +9362,15 @@ export interface TcxInstallationModel {
9362
9362
  /**
9363
9363
  * 3CX Licence Key
9364
9364
  */
9365
- 'licenceKey': string | null;
9365
+ 'licenceKey'?: string | null;
9366
9366
  /**
9367
9367
  * End User
9368
9368
  */
9369
- 'endUser': string | null;
9369
+ 'endUser'?: string | null;
9370
9370
  /**
9371
9371
  * Reseller
9372
9372
  */
9373
- 'reseller': string | null;
9373
+ 'reseller'?: string | null;
9374
9374
  /**
9375
9375
  * Company Name
9376
9376
  */
@@ -9386,7 +9386,7 @@ export interface TcxInstallationModel {
9386
9386
  /**
9387
9387
  * Install Type
9388
9388
  */
9389
- 'installType': string | null;
9389
+ 'installType'?: string | null;
9390
9390
  /**
9391
9391
  * Config Type
9392
9392
  */
@@ -9394,27 +9394,27 @@ export interface TcxInstallationModel {
9394
9394
  /**
9395
9395
  * FQDN
9396
9396
  */
9397
- 'fqdn': string | null;
9397
+ 'fqdn'?: string | null;
9398
9398
  /**
9399
9399
  * PBX IP Address
9400
9400
  */
9401
- 'ipAddress': string | null;
9401
+ 'ipAddress'?: string | null;
9402
9402
  /**
9403
9403
  * Failover IP Address
9404
9404
  */
9405
- 'reservedIpAddress': string | null;
9405
+ 'reservedIpAddress'?: string | null;
9406
9406
  /**
9407
9407
  * 3CX Console URL
9408
9408
  */
9409
- 'tcxUrl': string | null;
9409
+ 'tcxUrl'?: string | null;
9410
9410
  /**
9411
9411
  * Wizard URL
9412
9412
  */
9413
- 'wizardUrl': string | null;
9413
+ 'wizardUrl'?: string | null;
9414
9414
  /**
9415
9415
  * 3CX Credentials URL
9416
9416
  */
9417
- 'credentialsUrl': string | null;
9417
+ 'credentialsUrl'?: string | null;
9418
9418
  /**
9419
9419
  * Hosting Price
9420
9420
  */
@@ -9454,15 +9454,15 @@ export interface TcxInstallationModel {
9454
9454
  /**
9455
9455
  * 3CX Software Version
9456
9456
  */
9457
- 'version': string | null;
9457
+ 'version'?: string | null;
9458
9458
  /**
9459
9459
  * Recordings Disk Size
9460
9460
  */
9461
- 'disk': number | null;
9461
+ 'disk'?: number | null;
9462
9462
  /**
9463
9463
  * Instance Spec
9464
9464
  */
9465
- 'flavour': string | null;
9465
+ 'flavour'?: string | null;
9466
9466
  /**
9467
9467
  * Auto Failover
9468
9468
  */
@@ -9470,11 +9470,11 @@ export interface TcxInstallationModel {
9470
9470
  /**
9471
9471
  * Extensions in Use
9472
9472
  */
9473
- 'extensions': number | null;
9473
+ 'extensions'?: number | null;
9474
9474
  /**
9475
9475
  * Max Allowed Extensions
9476
9476
  */
9477
- 'maxExtensions': number | null;
9477
+ 'maxExtensions'?: number | null;
9478
9478
  }
9479
9479
  /**
9480
9480
  * 3CX Installations
@@ -9508,7 +9508,7 @@ export interface TcxKeySummaryDTO {
9508
9508
  /**
9509
9509
  * End User
9510
9510
  */
9511
- 'endUser': string | null;
9511
+ 'endUser'?: string | null;
9512
9512
  /**
9513
9513
  * Simultaneous Calls
9514
9514
  */
@@ -9520,7 +9520,7 @@ export interface TcxKeySummaryDTO {
9520
9520
  /**
9521
9521
  * Expiry Date
9522
9522
  */
9523
- 'expiry': string | null;
9523
+ 'expiry'?: string | null;
9524
9524
  }
9525
9525
  /**
9526
9526
  * TcxKeysEntity
@@ -9645,27 +9645,27 @@ export interface TcxMultiTenantModel {
9645
9645
  /**
9646
9646
  * Host Server
9647
9647
  */
9648
- 'server': string | null;
9648
+ 'server'?: string | null;
9649
9649
  /**
9650
9650
  * Tenant Reference
9651
9651
  */
9652
- 'reference': string | null;
9652
+ 'reference'?: string | null;
9653
9653
  /**
9654
9654
  * Tenant Package
9655
9655
  */
9656
- 'package': TcxMultiTenantModelPackageEnum | null;
9656
+ 'package'?: TcxMultiTenantModelPackageEnum | null;
9657
9657
  /**
9658
9658
  * Price Per User
9659
9659
  */
9660
- 'price': number | null;
9660
+ 'price'?: number | null;
9661
9661
  /**
9662
9662
  * Admin Username
9663
9663
  */
9664
- 'username': string | null;
9664
+ 'username'?: string | null;
9665
9665
  /**
9666
9666
  * Admin Password
9667
9667
  */
9668
- 'password': string | null;
9668
+ 'password'?: string | null;
9669
9669
  /**
9670
9670
  * Tenant Name
9671
9671
  */
@@ -9689,7 +9689,7 @@ export interface TcxMultiTenantModel {
9689
9689
  /**
9690
9690
  * Tenant Main Number
9691
9691
  */
9692
- 'mainNumber': string | null;
9692
+ 'mainNumber'?: string | null;
9693
9693
  /**
9694
9694
  * Tenant Numbers
9695
9695
  */
@@ -9913,7 +9913,7 @@ export interface TcxSbcDTO {
9913
9913
  /**
9914
9914
  * ID
9915
9915
  */
9916
- 'id': number | null;
9916
+ 'id'?: number | null;
9917
9917
  /**
9918
9918
  * LAN IP Address
9919
9919
  */
@@ -10105,7 +10105,7 @@ export interface TcxSetupEntity {
10105
10105
  /**
10106
10106
  * Install Type
10107
10107
  */
10108
- 'installType': TcxSetupEntityInstallTypeEnum | null;
10108
+ 'installType'?: TcxSetupEntityInstallTypeEnum | null;
10109
10109
  /**
10110
10110
  * 3CX Install Version
10111
10111
  */
@@ -10373,15 +10373,15 @@ export interface TcxWizardModel {
10373
10373
  * Install Type
10374
10374
  */
10375
10375
  'installType': TcxWizardModelInstallTypeEnum;
10376
- 'backup': TcxBackupModel | null;
10376
+ 'backup'?: TcxBackupModel | null;
10377
10377
  'extensions': Array<TcxExtsEntity>;
10378
10378
  'numbers': Array<TcxNumbersEntity>;
10379
- 'officeHours': TcxOfficeHoursEntity | null;
10379
+ 'officeHours'?: TcxOfficeHoursEntity | null;
10380
10380
  'phones': Array<TcxPhoneModel>;
10381
10381
  'sbcs': Array<TcxSbcModel>;
10382
- 'sipTrunk': TcxSipTrunksEntity | null;
10383
- 'installationStatus': TcxWizardModelInstallationStatusEnum | null;
10384
- 'setup': TcxSetupEntity | null;
10382
+ 'sipTrunk'?: TcxSipTrunksEntity | null;
10383
+ 'installationStatus'?: TcxWizardModelInstallationStatusEnum | null;
10384
+ 'setup'?: TcxSetupEntity | null;
10385
10385
  /**
10386
10386
  * End User Wizard View
10387
10387
  */
@@ -10465,7 +10465,7 @@ export interface TicketSummaryModel {
10465
10465
  /**
10466
10466
  * status
10467
10467
  */
10468
- 'statusId': number | null;
10468
+ 'statusId'?: number | null;
10469
10469
  /**
10470
10470
  * lastUpdated
10471
10471
  */
@@ -10652,11 +10652,11 @@ export interface UserEntity {
10652
10652
  /**
10653
10653
  * primaryHex
10654
10654
  */
10655
- 'primaryHex': number | null;
10655
+ 'primaryHex'?: number | null;
10656
10656
  /**
10657
10657
  * secondaryHex
10658
10658
  */
10659
- 'secondaryHex': number | null;
10659
+ 'secondaryHex'?: number | null;
10660
10660
  }
10661
10661
  /**
10662
10662
  * XeroLogEntity
@@ -24803,42 +24803,22 @@ export const NumberPortingApiAxiosParamCreator = function (configuration?: Confi
24803
24803
  },
24804
24804
  /**
24805
24805
  *
24806
- * @param {string | null} companyName Company Name
24807
- * @param {string | null} addressLine1 Address Line 1
24808
- * @param {string | null} addressLine2 Address Line 2
24809
- * @param {string | null} city City
24810
- * @param {string | null} postCode Post Code
24811
- * @param {number | null} trunkId Trunk ID
24812
- * @param {string | null} tenantId Starter Bundle ID
24813
- * @param {string | null} requestedPortDate Requested Port Date
24814
- * @param {boolean | null} asap Port Date ASAP
24815
- * @param {string | null} comment Comment
24816
24806
  * @param {Array<NumberPortRangeRequestDTO>} numberRanges Number Ranges
24817
24807
  * @param {File} cloa CLOA (only provide on submission)
24808
+ * @param {string | null} [companyName] Company Name
24809
+ * @param {string | null} [addressLine1] Address Line 1
24810
+ * @param {string | null} [addressLine2] Address Line 2
24811
+ * @param {string | null} [city] City
24812
+ * @param {string | null} [postCode] Post Code
24813
+ * @param {number | null} [trunkId] Trunk ID
24814
+ * @param {string | null} [tenantId] Starter Bundle ID
24815
+ * @param {string | null} [requestedPortDate] Requested Port Date
24816
+ * @param {boolean | null} [asap] Port Date ASAP
24817
+ * @param {string | null} [comment] Comment
24818
24818
  * @param {*} [options] Override http request option.
24819
24819
  * @throws {RequiredError}
24820
24820
  */
24821
- postCreateNumberPort: async (companyName: string | null, addressLine1: string | null, addressLine2: string | null, city: string | null, postCode: string | null, trunkId: number | null, tenantId: string | null, requestedPortDate: string | null, asap: boolean | null, comment: string | null, numberRanges: Array<NumberPortRangeRequestDTO>, cloa: File, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
24822
- // verify required parameter 'companyName' is not null or undefined
24823
- assertParamExists('postCreateNumberPort', 'companyName', companyName)
24824
- // verify required parameter 'addressLine1' is not null or undefined
24825
- assertParamExists('postCreateNumberPort', 'addressLine1', addressLine1)
24826
- // verify required parameter 'addressLine2' is not null or undefined
24827
- assertParamExists('postCreateNumberPort', 'addressLine2', addressLine2)
24828
- // verify required parameter 'city' is not null or undefined
24829
- assertParamExists('postCreateNumberPort', 'city', city)
24830
- // verify required parameter 'postCode' is not null or undefined
24831
- assertParamExists('postCreateNumberPort', 'postCode', postCode)
24832
- // verify required parameter 'trunkId' is not null or undefined
24833
- assertParamExists('postCreateNumberPort', 'trunkId', trunkId)
24834
- // verify required parameter 'tenantId' is not null or undefined
24835
- assertParamExists('postCreateNumberPort', 'tenantId', tenantId)
24836
- // verify required parameter 'requestedPortDate' is not null or undefined
24837
- assertParamExists('postCreateNumberPort', 'requestedPortDate', requestedPortDate)
24838
- // verify required parameter 'asap' is not null or undefined
24839
- assertParamExists('postCreateNumberPort', 'asap', asap)
24840
- // verify required parameter 'comment' is not null or undefined
24841
- assertParamExists('postCreateNumberPort', 'comment', comment)
24821
+ postCreateNumberPort: async (numberRanges: Array<NumberPortRangeRequestDTO>, cloa: File, companyName?: string | null, addressLine1?: string | null, addressLine2?: string | null, city?: string | null, postCode?: string | null, trunkId?: number | null, tenantId?: string | null, requestedPortDate?: string | null, asap?: boolean | null, comment?: string | null, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
24842
24822
  // verify required parameter 'numberRanges' is not null or undefined
24843
24823
  assertParamExists('postCreateNumberPort', 'numberRanges', numberRanges)
24844
24824
  // verify required parameter 'cloa' is not null or undefined
@@ -24920,44 +24900,24 @@ export const NumberPortingApiAxiosParamCreator = function (configuration?: Confi
24920
24900
  /**
24921
24901
  *
24922
24902
  * @param {number} id Number Port ID
24923
- * @param {string | null} companyName Company Name
24924
- * @param {string | null} addressLine1 Address Line 1
24925
- * @param {string | null} addressLine2 Address Line 2
24926
- * @param {string | null} city City
24927
- * @param {string | null} postCode Post Code
24928
- * @param {number | null} trunkId Trunk ID
24929
- * @param {string | null} tenantId Starter Bundle ID
24930
- * @param {string | null} requestedPortDate Requested Port Date
24931
- * @param {boolean | null} asap Port Date ASAP
24932
- * @param {string | null} comment Comment
24933
24903
  * @param {Array<NumberPortRangeRequestDTO>} numberRanges Number Ranges
24934
24904
  * @param {File} cloa CLOA (only provide on submission)
24905
+ * @param {string | null} [companyName] Company Name
24906
+ * @param {string | null} [addressLine1] Address Line 1
24907
+ * @param {string | null} [addressLine2] Address Line 2
24908
+ * @param {string | null} [city] City
24909
+ * @param {string | null} [postCode] Post Code
24910
+ * @param {number | null} [trunkId] Trunk ID
24911
+ * @param {string | null} [tenantId] Starter Bundle ID
24912
+ * @param {string | null} [requestedPortDate] Requested Port Date
24913
+ * @param {boolean | null} [asap] Port Date ASAP
24914
+ * @param {string | null} [comment] Comment
24935
24915
  * @param {*} [options] Override http request option.
24936
24916
  * @throws {RequiredError}
24937
24917
  */
24938
- postSubmitNumberPort: async (id: number, companyName: string | null, addressLine1: string | null, addressLine2: string | null, city: string | null, postCode: string | null, trunkId: number | null, tenantId: string | null, requestedPortDate: string | null, asap: boolean | null, comment: string | null, numberRanges: Array<NumberPortRangeRequestDTO>, cloa: File, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
24918
+ postSubmitNumberPort: async (id: number, numberRanges: Array<NumberPortRangeRequestDTO>, cloa: File, companyName?: string | null, addressLine1?: string | null, addressLine2?: string | null, city?: string | null, postCode?: string | null, trunkId?: number | null, tenantId?: string | null, requestedPortDate?: string | null, asap?: boolean | null, comment?: string | null, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
24939
24919
  // verify required parameter 'id' is not null or undefined
24940
24920
  assertParamExists('postSubmitNumberPort', 'id', id)
24941
- // verify required parameter 'companyName' is not null or undefined
24942
- assertParamExists('postSubmitNumberPort', 'companyName', companyName)
24943
- // verify required parameter 'addressLine1' is not null or undefined
24944
- assertParamExists('postSubmitNumberPort', 'addressLine1', addressLine1)
24945
- // verify required parameter 'addressLine2' is not null or undefined
24946
- assertParamExists('postSubmitNumberPort', 'addressLine2', addressLine2)
24947
- // verify required parameter 'city' is not null or undefined
24948
- assertParamExists('postSubmitNumberPort', 'city', city)
24949
- // verify required parameter 'postCode' is not null or undefined
24950
- assertParamExists('postSubmitNumberPort', 'postCode', postCode)
24951
- // verify required parameter 'trunkId' is not null or undefined
24952
- assertParamExists('postSubmitNumberPort', 'trunkId', trunkId)
24953
- // verify required parameter 'tenantId' is not null or undefined
24954
- assertParamExists('postSubmitNumberPort', 'tenantId', tenantId)
24955
- // verify required parameter 'requestedPortDate' is not null or undefined
24956
- assertParamExists('postSubmitNumberPort', 'requestedPortDate', requestedPortDate)
24957
- // verify required parameter 'asap' is not null or undefined
24958
- assertParamExists('postSubmitNumberPort', 'asap', asap)
24959
- // verify required parameter 'comment' is not null or undefined
24960
- assertParamExists('postSubmitNumberPort', 'comment', comment)
24961
24921
  // verify required parameter 'numberRanges' is not null or undefined
24962
24922
  assertParamExists('postSubmitNumberPort', 'numberRanges', numberRanges)
24963
24923
  // verify required parameter 'cloa' is not null or undefined
@@ -25040,44 +25000,24 @@ export const NumberPortingApiAxiosParamCreator = function (configuration?: Confi
25040
25000
  /**
25041
25001
  *
25042
25002
  * @param {number} id Number Port ID
25043
- * @param {string | null} companyName Company Name
25044
- * @param {string | null} addressLine1 Address Line 1
25045
- * @param {string | null} addressLine2 Address Line 2
25046
- * @param {string | null} city City
25047
- * @param {string | null} postCode Post Code
25048
- * @param {number | null} trunkId Trunk ID
25049
- * @param {string | null} tenantId Starter Bundle ID
25050
- * @param {string | null} requestedPortDate Requested Port Date
25051
- * @param {boolean | null} asap Port Date ASAP
25052
- * @param {string | null} comment Comment
25053
25003
  * @param {Array<NumberPortRangeRequestDTO>} numberRanges Number Ranges
25054
25004
  * @param {File} cloa CLOA (only provide on submission)
25005
+ * @param {string | null} [companyName] Company Name
25006
+ * @param {string | null} [addressLine1] Address Line 1
25007
+ * @param {string | null} [addressLine2] Address Line 2
25008
+ * @param {string | null} [city] City
25009
+ * @param {string | null} [postCode] Post Code
25010
+ * @param {number | null} [trunkId] Trunk ID
25011
+ * @param {string | null} [tenantId] Starter Bundle ID
25012
+ * @param {string | null} [requestedPortDate] Requested Port Date
25013
+ * @param {boolean | null} [asap] Port Date ASAP
25014
+ * @param {string | null} [comment] Comment
25055
25015
  * @param {*} [options] Override http request option.
25056
25016
  * @throws {RequiredError}
25057
25017
  */
25058
- postUpdateNumberPort: async (id: number, companyName: string | null, addressLine1: string | null, addressLine2: string | null, city: string | null, postCode: string | null, trunkId: number | null, tenantId: string | null, requestedPortDate: string | null, asap: boolean | null, comment: string | null, numberRanges: Array<NumberPortRangeRequestDTO>, cloa: File, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
25018
+ postUpdateNumberPort: async (id: number, numberRanges: Array<NumberPortRangeRequestDTO>, cloa: File, companyName?: string | null, addressLine1?: string | null, addressLine2?: string | null, city?: string | null, postCode?: string | null, trunkId?: number | null, tenantId?: string | null, requestedPortDate?: string | null, asap?: boolean | null, comment?: string | null, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
25059
25019
  // verify required parameter 'id' is not null or undefined
25060
25020
  assertParamExists('postUpdateNumberPort', 'id', id)
25061
- // verify required parameter 'companyName' is not null or undefined
25062
- assertParamExists('postUpdateNumberPort', 'companyName', companyName)
25063
- // verify required parameter 'addressLine1' is not null or undefined
25064
- assertParamExists('postUpdateNumberPort', 'addressLine1', addressLine1)
25065
- // verify required parameter 'addressLine2' is not null or undefined
25066
- assertParamExists('postUpdateNumberPort', 'addressLine2', addressLine2)
25067
- // verify required parameter 'city' is not null or undefined
25068
- assertParamExists('postUpdateNumberPort', 'city', city)
25069
- // verify required parameter 'postCode' is not null or undefined
25070
- assertParamExists('postUpdateNumberPort', 'postCode', postCode)
25071
- // verify required parameter 'trunkId' is not null or undefined
25072
- assertParamExists('postUpdateNumberPort', 'trunkId', trunkId)
25073
- // verify required parameter 'tenantId' is not null or undefined
25074
- assertParamExists('postUpdateNumberPort', 'tenantId', tenantId)
25075
- // verify required parameter 'requestedPortDate' is not null or undefined
25076
- assertParamExists('postUpdateNumberPort', 'requestedPortDate', requestedPortDate)
25077
- // verify required parameter 'asap' is not null or undefined
25078
- assertParamExists('postUpdateNumberPort', 'asap', asap)
25079
- // verify required parameter 'comment' is not null or undefined
25080
- assertParamExists('postUpdateNumberPort', 'comment', comment)
25081
25021
  // verify required parameter 'numberRanges' is not null or undefined
25082
25022
  assertParamExists('postUpdateNumberPort', 'numberRanges', numberRanges)
25083
25023
  // verify required parameter 'cloa' is not null or undefined
@@ -25307,23 +25247,23 @@ export const NumberPortingApiFp = function(configuration?: Configuration) {
25307
25247
  },
25308
25248
  /**
25309
25249
  *
25310
- * @param {string | null} companyName Company Name
25311
- * @param {string | null} addressLine1 Address Line 1
25312
- * @param {string | null} addressLine2 Address Line 2
25313
- * @param {string | null} city City
25314
- * @param {string | null} postCode Post Code
25315
- * @param {number | null} trunkId Trunk ID
25316
- * @param {string | null} tenantId Starter Bundle ID
25317
- * @param {string | null} requestedPortDate Requested Port Date
25318
- * @param {boolean | null} asap Port Date ASAP
25319
- * @param {string | null} comment Comment
25320
25250
  * @param {Array<NumberPortRangeRequestDTO>} numberRanges Number Ranges
25321
25251
  * @param {File} cloa CLOA (only provide on submission)
25252
+ * @param {string | null} [companyName] Company Name
25253
+ * @param {string | null} [addressLine1] Address Line 1
25254
+ * @param {string | null} [addressLine2] Address Line 2
25255
+ * @param {string | null} [city] City
25256
+ * @param {string | null} [postCode] Post Code
25257
+ * @param {number | null} [trunkId] Trunk ID
25258
+ * @param {string | null} [tenantId] Starter Bundle ID
25259
+ * @param {string | null} [requestedPortDate] Requested Port Date
25260
+ * @param {boolean | null} [asap] Port Date ASAP
25261
+ * @param {string | null} [comment] Comment
25322
25262
  * @param {*} [options] Override http request option.
25323
25263
  * @throws {RequiredError}
25324
25264
  */
25325
- async postCreateNumberPort(companyName: string | null, addressLine1: string | null, addressLine2: string | null, city: string | null, postCode: string | null, trunkId: number | null, tenantId: string | null, requestedPortDate: string | null, asap: boolean | null, comment: string | null, numberRanges: Array<NumberPortRangeRequestDTO>, cloa: File, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<NumberPortDTO>> {
25326
- const localVarAxiosArgs = await localVarAxiosParamCreator.postCreateNumberPort(companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, numberRanges, cloa, options);
25265
+ async postCreateNumberPort(numberRanges: Array<NumberPortRangeRequestDTO>, cloa: File, companyName?: string | null, addressLine1?: string | null, addressLine2?: string | null, city?: string | null, postCode?: string | null, trunkId?: number | null, tenantId?: string | null, requestedPortDate?: string | null, asap?: boolean | null, comment?: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<NumberPortDTO>> {
25266
+ const localVarAxiosArgs = await localVarAxiosParamCreator.postCreateNumberPort(numberRanges, cloa, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, options);
25327
25267
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
25328
25268
  const localVarOperationServerBasePath = operationServerMap['NumberPortingApi.postCreateNumberPort']?.[localVarOperationServerIndex]?.url;
25329
25269
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -25331,23 +25271,23 @@ export const NumberPortingApiFp = function(configuration?: Configuration) {
25331
25271
  /**
25332
25272
  *
25333
25273
  * @param {number} id Number Port ID
25334
- * @param {string | null} companyName Company Name
25335
- * @param {string | null} addressLine1 Address Line 1
25336
- * @param {string | null} addressLine2 Address Line 2
25337
- * @param {string | null} city City
25338
- * @param {string | null} postCode Post Code
25339
- * @param {number | null} trunkId Trunk ID
25340
- * @param {string | null} tenantId Starter Bundle ID
25341
- * @param {string | null} requestedPortDate Requested Port Date
25342
- * @param {boolean | null} asap Port Date ASAP
25343
- * @param {string | null} comment Comment
25344
25274
  * @param {Array<NumberPortRangeRequestDTO>} numberRanges Number Ranges
25345
25275
  * @param {File} cloa CLOA (only provide on submission)
25276
+ * @param {string | null} [companyName] Company Name
25277
+ * @param {string | null} [addressLine1] Address Line 1
25278
+ * @param {string | null} [addressLine2] Address Line 2
25279
+ * @param {string | null} [city] City
25280
+ * @param {string | null} [postCode] Post Code
25281
+ * @param {number | null} [trunkId] Trunk ID
25282
+ * @param {string | null} [tenantId] Starter Bundle ID
25283
+ * @param {string | null} [requestedPortDate] Requested Port Date
25284
+ * @param {boolean | null} [asap] Port Date ASAP
25285
+ * @param {string | null} [comment] Comment
25346
25286
  * @param {*} [options] Override http request option.
25347
25287
  * @throws {RequiredError}
25348
25288
  */
25349
- async postSubmitNumberPort(id: number, companyName: string | null, addressLine1: string | null, addressLine2: string | null, city: string | null, postCode: string | null, trunkId: number | null, tenantId: string | null, requestedPortDate: string | null, asap: boolean | null, comment: string | null, numberRanges: Array<NumberPortRangeRequestDTO>, cloa: File, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<NumberPortDTO>> {
25350
- const localVarAxiosArgs = await localVarAxiosParamCreator.postSubmitNumberPort(id, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, numberRanges, cloa, options);
25289
+ async postSubmitNumberPort(id: number, numberRanges: Array<NumberPortRangeRequestDTO>, cloa: File, companyName?: string | null, addressLine1?: string | null, addressLine2?: string | null, city?: string | null, postCode?: string | null, trunkId?: number | null, tenantId?: string | null, requestedPortDate?: string | null, asap?: boolean | null, comment?: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<NumberPortDTO>> {
25290
+ const localVarAxiosArgs = await localVarAxiosParamCreator.postSubmitNumberPort(id, numberRanges, cloa, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, options);
25351
25291
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
25352
25292
  const localVarOperationServerBasePath = operationServerMap['NumberPortingApi.postSubmitNumberPort']?.[localVarOperationServerIndex]?.url;
25353
25293
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -25355,23 +25295,23 @@ export const NumberPortingApiFp = function(configuration?: Configuration) {
25355
25295
  /**
25356
25296
  *
25357
25297
  * @param {number} id Number Port ID
25358
- * @param {string | null} companyName Company Name
25359
- * @param {string | null} addressLine1 Address Line 1
25360
- * @param {string | null} addressLine2 Address Line 2
25361
- * @param {string | null} city City
25362
- * @param {string | null} postCode Post Code
25363
- * @param {number | null} trunkId Trunk ID
25364
- * @param {string | null} tenantId Starter Bundle ID
25365
- * @param {string | null} requestedPortDate Requested Port Date
25366
- * @param {boolean | null} asap Port Date ASAP
25367
- * @param {string | null} comment Comment
25368
25298
  * @param {Array<NumberPortRangeRequestDTO>} numberRanges Number Ranges
25369
25299
  * @param {File} cloa CLOA (only provide on submission)
25300
+ * @param {string | null} [companyName] Company Name
25301
+ * @param {string | null} [addressLine1] Address Line 1
25302
+ * @param {string | null} [addressLine2] Address Line 2
25303
+ * @param {string | null} [city] City
25304
+ * @param {string | null} [postCode] Post Code
25305
+ * @param {number | null} [trunkId] Trunk ID
25306
+ * @param {string | null} [tenantId] Starter Bundle ID
25307
+ * @param {string | null} [requestedPortDate] Requested Port Date
25308
+ * @param {boolean | null} [asap] Port Date ASAP
25309
+ * @param {string | null} [comment] Comment
25370
25310
  * @param {*} [options] Override http request option.
25371
25311
  * @throws {RequiredError}
25372
25312
  */
25373
- async postUpdateNumberPort(id: number, companyName: string | null, addressLine1: string | null, addressLine2: string | null, city: string | null, postCode: string | null, trunkId: number | null, tenantId: string | null, requestedPortDate: string | null, asap: boolean | null, comment: string | null, numberRanges: Array<NumberPortRangeRequestDTO>, cloa: File, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<NumberPortDTO>> {
25374
- const localVarAxiosArgs = await localVarAxiosParamCreator.postUpdateNumberPort(id, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, numberRanges, cloa, options);
25313
+ async postUpdateNumberPort(id: number, numberRanges: Array<NumberPortRangeRequestDTO>, cloa: File, companyName?: string | null, addressLine1?: string | null, addressLine2?: string | null, city?: string | null, postCode?: string | null, trunkId?: number | null, tenantId?: string | null, requestedPortDate?: string | null, asap?: boolean | null, comment?: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<NumberPortDTO>> {
25314
+ const localVarAxiosArgs = await localVarAxiosParamCreator.postUpdateNumberPort(id, numberRanges, cloa, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, options);
25375
25315
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
25376
25316
  const localVarOperationServerBasePath = operationServerMap['NumberPortingApi.postUpdateNumberPort']?.[localVarOperationServerIndex]?.url;
25377
25317
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -25477,65 +25417,65 @@ export const NumberPortingApiFactory = function (configuration?: Configuration,
25477
25417
  },
25478
25418
  /**
25479
25419
  *
25480
- * @param {string | null} companyName Company Name
25481
- * @param {string | null} addressLine1 Address Line 1
25482
- * @param {string | null} addressLine2 Address Line 2
25483
- * @param {string | null} city City
25484
- * @param {string | null} postCode Post Code
25485
- * @param {number | null} trunkId Trunk ID
25486
- * @param {string | null} tenantId Starter Bundle ID
25487
- * @param {string | null} requestedPortDate Requested Port Date
25488
- * @param {boolean | null} asap Port Date ASAP
25489
- * @param {string | null} comment Comment
25490
25420
  * @param {Array<NumberPortRangeRequestDTO>} numberRanges Number Ranges
25491
25421
  * @param {File} cloa CLOA (only provide on submission)
25422
+ * @param {string | null} [companyName] Company Name
25423
+ * @param {string | null} [addressLine1] Address Line 1
25424
+ * @param {string | null} [addressLine2] Address Line 2
25425
+ * @param {string | null} [city] City
25426
+ * @param {string | null} [postCode] Post Code
25427
+ * @param {number | null} [trunkId] Trunk ID
25428
+ * @param {string | null} [tenantId] Starter Bundle ID
25429
+ * @param {string | null} [requestedPortDate] Requested Port Date
25430
+ * @param {boolean | null} [asap] Port Date ASAP
25431
+ * @param {string | null} [comment] Comment
25492
25432
  * @param {*} [options] Override http request option.
25493
25433
  * @throws {RequiredError}
25494
25434
  */
25495
- postCreateNumberPort(companyName: string | null, addressLine1: string | null, addressLine2: string | null, city: string | null, postCode: string | null, trunkId: number | null, tenantId: string | null, requestedPortDate: string | null, asap: boolean | null, comment: string | null, numberRanges: Array<NumberPortRangeRequestDTO>, cloa: File, options?: RawAxiosRequestConfig): AxiosPromise<NumberPortDTO> {
25496
- return localVarFp.postCreateNumberPort(companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, numberRanges, cloa, options).then((request) => request(axios, basePath));
25435
+ postCreateNumberPort(numberRanges: Array<NumberPortRangeRequestDTO>, cloa: File, companyName?: string | null, addressLine1?: string | null, addressLine2?: string | null, city?: string | null, postCode?: string | null, trunkId?: number | null, tenantId?: string | null, requestedPortDate?: string | null, asap?: boolean | null, comment?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<NumberPortDTO> {
25436
+ return localVarFp.postCreateNumberPort(numberRanges, cloa, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, options).then((request) => request(axios, basePath));
25497
25437
  },
25498
25438
  /**
25499
25439
  *
25500
25440
  * @param {number} id Number Port ID
25501
- * @param {string | null} companyName Company Name
25502
- * @param {string | null} addressLine1 Address Line 1
25503
- * @param {string | null} addressLine2 Address Line 2
25504
- * @param {string | null} city City
25505
- * @param {string | null} postCode Post Code
25506
- * @param {number | null} trunkId Trunk ID
25507
- * @param {string | null} tenantId Starter Bundle ID
25508
- * @param {string | null} requestedPortDate Requested Port Date
25509
- * @param {boolean | null} asap Port Date ASAP
25510
- * @param {string | null} comment Comment
25511
25441
  * @param {Array<NumberPortRangeRequestDTO>} numberRanges Number Ranges
25512
25442
  * @param {File} cloa CLOA (only provide on submission)
25443
+ * @param {string | null} [companyName] Company Name
25444
+ * @param {string | null} [addressLine1] Address Line 1
25445
+ * @param {string | null} [addressLine2] Address Line 2
25446
+ * @param {string | null} [city] City
25447
+ * @param {string | null} [postCode] Post Code
25448
+ * @param {number | null} [trunkId] Trunk ID
25449
+ * @param {string | null} [tenantId] Starter Bundle ID
25450
+ * @param {string | null} [requestedPortDate] Requested Port Date
25451
+ * @param {boolean | null} [asap] Port Date ASAP
25452
+ * @param {string | null} [comment] Comment
25513
25453
  * @param {*} [options] Override http request option.
25514
25454
  * @throws {RequiredError}
25515
25455
  */
25516
- postSubmitNumberPort(id: number, companyName: string | null, addressLine1: string | null, addressLine2: string | null, city: string | null, postCode: string | null, trunkId: number | null, tenantId: string | null, requestedPortDate: string | null, asap: boolean | null, comment: string | null, numberRanges: Array<NumberPortRangeRequestDTO>, cloa: File, options?: RawAxiosRequestConfig): AxiosPromise<NumberPortDTO> {
25517
- return localVarFp.postSubmitNumberPort(id, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, numberRanges, cloa, options).then((request) => request(axios, basePath));
25456
+ postSubmitNumberPort(id: number, numberRanges: Array<NumberPortRangeRequestDTO>, cloa: File, companyName?: string | null, addressLine1?: string | null, addressLine2?: string | null, city?: string | null, postCode?: string | null, trunkId?: number | null, tenantId?: string | null, requestedPortDate?: string | null, asap?: boolean | null, comment?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<NumberPortDTO> {
25457
+ return localVarFp.postSubmitNumberPort(id, numberRanges, cloa, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, options).then((request) => request(axios, basePath));
25518
25458
  },
25519
25459
  /**
25520
25460
  *
25521
25461
  * @param {number} id Number Port ID
25522
- * @param {string | null} companyName Company Name
25523
- * @param {string | null} addressLine1 Address Line 1
25524
- * @param {string | null} addressLine2 Address Line 2
25525
- * @param {string | null} city City
25526
- * @param {string | null} postCode Post Code
25527
- * @param {number | null} trunkId Trunk ID
25528
- * @param {string | null} tenantId Starter Bundle ID
25529
- * @param {string | null} requestedPortDate Requested Port Date
25530
- * @param {boolean | null} asap Port Date ASAP
25531
- * @param {string | null} comment Comment
25532
25462
  * @param {Array<NumberPortRangeRequestDTO>} numberRanges Number Ranges
25533
25463
  * @param {File} cloa CLOA (only provide on submission)
25464
+ * @param {string | null} [companyName] Company Name
25465
+ * @param {string | null} [addressLine1] Address Line 1
25466
+ * @param {string | null} [addressLine2] Address Line 2
25467
+ * @param {string | null} [city] City
25468
+ * @param {string | null} [postCode] Post Code
25469
+ * @param {number | null} [trunkId] Trunk ID
25470
+ * @param {string | null} [tenantId] Starter Bundle ID
25471
+ * @param {string | null} [requestedPortDate] Requested Port Date
25472
+ * @param {boolean | null} [asap] Port Date ASAP
25473
+ * @param {string | null} [comment] Comment
25534
25474
  * @param {*} [options] Override http request option.
25535
25475
  * @throws {RequiredError}
25536
25476
  */
25537
- postUpdateNumberPort(id: number, companyName: string | null, addressLine1: string | null, addressLine2: string | null, city: string | null, postCode: string | null, trunkId: number | null, tenantId: string | null, requestedPortDate: string | null, asap: boolean | null, comment: string | null, numberRanges: Array<NumberPortRangeRequestDTO>, cloa: File, options?: RawAxiosRequestConfig): AxiosPromise<NumberPortDTO> {
25538
- return localVarFp.postUpdateNumberPort(id, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, numberRanges, cloa, options).then((request) => request(axios, basePath));
25477
+ postUpdateNumberPort(id: number, numberRanges: Array<NumberPortRangeRequestDTO>, cloa: File, companyName?: string | null, addressLine1?: string | null, addressLine2?: string | null, city?: string | null, postCode?: string | null, trunkId?: number | null, tenantId?: string | null, requestedPortDate?: string | null, asap?: boolean | null, comment?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<NumberPortDTO> {
25478
+ return localVarFp.postUpdateNumberPort(id, numberRanges, cloa, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, options).then((request) => request(axios, basePath));
25539
25479
  },
25540
25480
  /**
25541
25481
  *
@@ -25641,67 +25581,67 @@ export class NumberPortingApi extends BaseAPI {
25641
25581
 
25642
25582
  /**
25643
25583
  *
25644
- * @param {string | null} companyName Company Name
25645
- * @param {string | null} addressLine1 Address Line 1
25646
- * @param {string | null} addressLine2 Address Line 2
25647
- * @param {string | null} city City
25648
- * @param {string | null} postCode Post Code
25649
- * @param {number | null} trunkId Trunk ID
25650
- * @param {string | null} tenantId Starter Bundle ID
25651
- * @param {string | null} requestedPortDate Requested Port Date
25652
- * @param {boolean | null} asap Port Date ASAP
25653
- * @param {string | null} comment Comment
25654
25584
  * @param {Array<NumberPortRangeRequestDTO>} numberRanges Number Ranges
25655
25585
  * @param {File} cloa CLOA (only provide on submission)
25586
+ * @param {string | null} [companyName] Company Name
25587
+ * @param {string | null} [addressLine1] Address Line 1
25588
+ * @param {string | null} [addressLine2] Address Line 2
25589
+ * @param {string | null} [city] City
25590
+ * @param {string | null} [postCode] Post Code
25591
+ * @param {number | null} [trunkId] Trunk ID
25592
+ * @param {string | null} [tenantId] Starter Bundle ID
25593
+ * @param {string | null} [requestedPortDate] Requested Port Date
25594
+ * @param {boolean | null} [asap] Port Date ASAP
25595
+ * @param {string | null} [comment] Comment
25656
25596
  * @param {*} [options] Override http request option.
25657
25597
  * @throws {RequiredError}
25658
25598
  */
25659
- public postCreateNumberPort(companyName: string | null, addressLine1: string | null, addressLine2: string | null, city: string | null, postCode: string | null, trunkId: number | null, tenantId: string | null, requestedPortDate: string | null, asap: boolean | null, comment: string | null, numberRanges: Array<NumberPortRangeRequestDTO>, cloa: File, options?: RawAxiosRequestConfig) {
25660
- return NumberPortingApiFp(this.configuration).postCreateNumberPort(companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, numberRanges, cloa, options).then((request) => request(this.axios, this.basePath));
25599
+ public postCreateNumberPort(numberRanges: Array<NumberPortRangeRequestDTO>, cloa: File, companyName?: string | null, addressLine1?: string | null, addressLine2?: string | null, city?: string | null, postCode?: string | null, trunkId?: number | null, tenantId?: string | null, requestedPortDate?: string | null, asap?: boolean | null, comment?: string | null, options?: RawAxiosRequestConfig) {
25600
+ return NumberPortingApiFp(this.configuration).postCreateNumberPort(numberRanges, cloa, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, options).then((request) => request(this.axios, this.basePath));
25661
25601
  }
25662
25602
 
25663
25603
  /**
25664
25604
  *
25665
25605
  * @param {number} id Number Port ID
25666
- * @param {string | null} companyName Company Name
25667
- * @param {string | null} addressLine1 Address Line 1
25668
- * @param {string | null} addressLine2 Address Line 2
25669
- * @param {string | null} city City
25670
- * @param {string | null} postCode Post Code
25671
- * @param {number | null} trunkId Trunk ID
25672
- * @param {string | null} tenantId Starter Bundle ID
25673
- * @param {string | null} requestedPortDate Requested Port Date
25674
- * @param {boolean | null} asap Port Date ASAP
25675
- * @param {string | null} comment Comment
25676
25606
  * @param {Array<NumberPortRangeRequestDTO>} numberRanges Number Ranges
25677
25607
  * @param {File} cloa CLOA (only provide on submission)
25608
+ * @param {string | null} [companyName] Company Name
25609
+ * @param {string | null} [addressLine1] Address Line 1
25610
+ * @param {string | null} [addressLine2] Address Line 2
25611
+ * @param {string | null} [city] City
25612
+ * @param {string | null} [postCode] Post Code
25613
+ * @param {number | null} [trunkId] Trunk ID
25614
+ * @param {string | null} [tenantId] Starter Bundle ID
25615
+ * @param {string | null} [requestedPortDate] Requested Port Date
25616
+ * @param {boolean | null} [asap] Port Date ASAP
25617
+ * @param {string | null} [comment] Comment
25678
25618
  * @param {*} [options] Override http request option.
25679
25619
  * @throws {RequiredError}
25680
25620
  */
25681
- public postSubmitNumberPort(id: number, companyName: string | null, addressLine1: string | null, addressLine2: string | null, city: string | null, postCode: string | null, trunkId: number | null, tenantId: string | null, requestedPortDate: string | null, asap: boolean | null, comment: string | null, numberRanges: Array<NumberPortRangeRequestDTO>, cloa: File, options?: RawAxiosRequestConfig) {
25682
- return NumberPortingApiFp(this.configuration).postSubmitNumberPort(id, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, numberRanges, cloa, options).then((request) => request(this.axios, this.basePath));
25621
+ public postSubmitNumberPort(id: number, numberRanges: Array<NumberPortRangeRequestDTO>, cloa: File, companyName?: string | null, addressLine1?: string | null, addressLine2?: string | null, city?: string | null, postCode?: string | null, trunkId?: number | null, tenantId?: string | null, requestedPortDate?: string | null, asap?: boolean | null, comment?: string | null, options?: RawAxiosRequestConfig) {
25622
+ return NumberPortingApiFp(this.configuration).postSubmitNumberPort(id, numberRanges, cloa, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, options).then((request) => request(this.axios, this.basePath));
25683
25623
  }
25684
25624
 
25685
25625
  /**
25686
25626
  *
25687
25627
  * @param {number} id Number Port ID
25688
- * @param {string | null} companyName Company Name
25689
- * @param {string | null} addressLine1 Address Line 1
25690
- * @param {string | null} addressLine2 Address Line 2
25691
- * @param {string | null} city City
25692
- * @param {string | null} postCode Post Code
25693
- * @param {number | null} trunkId Trunk ID
25694
- * @param {string | null} tenantId Starter Bundle ID
25695
- * @param {string | null} requestedPortDate Requested Port Date
25696
- * @param {boolean | null} asap Port Date ASAP
25697
- * @param {string | null} comment Comment
25698
25628
  * @param {Array<NumberPortRangeRequestDTO>} numberRanges Number Ranges
25699
25629
  * @param {File} cloa CLOA (only provide on submission)
25630
+ * @param {string | null} [companyName] Company Name
25631
+ * @param {string | null} [addressLine1] Address Line 1
25632
+ * @param {string | null} [addressLine2] Address Line 2
25633
+ * @param {string | null} [city] City
25634
+ * @param {string | null} [postCode] Post Code
25635
+ * @param {number | null} [trunkId] Trunk ID
25636
+ * @param {string | null} [tenantId] Starter Bundle ID
25637
+ * @param {string | null} [requestedPortDate] Requested Port Date
25638
+ * @param {boolean | null} [asap] Port Date ASAP
25639
+ * @param {string | null} [comment] Comment
25700
25640
  * @param {*} [options] Override http request option.
25701
25641
  * @throws {RequiredError}
25702
25642
  */
25703
- public postUpdateNumberPort(id: number, companyName: string | null, addressLine1: string | null, addressLine2: string | null, city: string | null, postCode: string | null, trunkId: number | null, tenantId: string | null, requestedPortDate: string | null, asap: boolean | null, comment: string | null, numberRanges: Array<NumberPortRangeRequestDTO>, cloa: File, options?: RawAxiosRequestConfig) {
25704
- return NumberPortingApiFp(this.configuration).postUpdateNumberPort(id, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, numberRanges, cloa, options).then((request) => request(this.axios, this.basePath));
25643
+ public postUpdateNumberPort(id: number, numberRanges: Array<NumberPortRangeRequestDTO>, cloa: File, companyName?: string | null, addressLine1?: string | null, addressLine2?: string | null, city?: string | null, postCode?: string | null, trunkId?: number | null, tenantId?: string | null, requestedPortDate?: string | null, asap?: boolean | null, comment?: string | null, options?: RawAxiosRequestConfig) {
25644
+ return NumberPortingApiFp(this.configuration).postUpdateNumberPort(id, numberRanges, cloa, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, options).then((request) => request(this.axios, this.basePath));
25705
25645
  }
25706
25646
 
25707
25647
  /**
@@ -25786,46 +25726,22 @@ export const OAuth20ApiAxiosParamCreator = function (configuration?: Configurati
25786
25726
  /**
25787
25727
  * Get an OAuth 2.0 access token
25788
25728
  * @summary Validates client credentials and returns access token
25789
- * @param {string | null} clientId OAuth 2.0 Client ID
25790
- * @param {string | null} clientSecret OAuth 2.0 Client Secret
25791
- * @param {PostAccessTokenGrantTypeEnum} grantType OAuth 2.0 Grant Type
25792
- * @param {PostAccessTokenScopeEnum} scope OAuth 2.0 Scope
25793
- * @param {string | null} redirectUri OAuth 2.0 Redirect URI
25794
- * @param {string | null} code OAuth 2.0 Auth Code
25795
- * @param {string | null} refreshToken OAuth 2.0 Refresh Token
25796
- * @param {string | null} codeVerifier OAuth 2.0 Code Verifier
25797
- * @param {string | null} token OAuth 2.0 Token (Only used in Token Exchange)
25798
- * @param {PostAccessTokenTokenExchangeTypeEnum} tokenExchangeType Token Exchange Type (Only used in Token Exchange)
25799
- * @param {string | null} licenceKey 3CX Licence Key (Only used in Token Exchange)
25800
- * @param {boolean | null} endUser End User (Only used in Token Exchange)
25801
- * @param {*} [options] Override http request option.
25802
- * @throws {RequiredError}
25803
- */
25804
- postAccessToken: async (clientId: string | null, clientSecret: string | null, grantType: PostAccessTokenGrantTypeEnum, scope: PostAccessTokenScopeEnum, redirectUri: string | null, code: string | null, refreshToken: string | null, codeVerifier: string | null, token: string | null, tokenExchangeType: PostAccessTokenTokenExchangeTypeEnum, licenceKey: string | null, endUser: boolean | null, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
25805
- // verify required parameter 'clientId' is not null or undefined
25806
- assertParamExists('postAccessToken', 'clientId', clientId)
25807
- // verify required parameter 'clientSecret' is not null or undefined
25808
- assertParamExists('postAccessToken', 'clientSecret', clientSecret)
25809
- // verify required parameter 'grantType' is not null or undefined
25810
- assertParamExists('postAccessToken', 'grantType', grantType)
25811
- // verify required parameter 'scope' is not null or undefined
25812
- assertParamExists('postAccessToken', 'scope', scope)
25813
- // verify required parameter 'redirectUri' is not null or undefined
25814
- assertParamExists('postAccessToken', 'redirectUri', redirectUri)
25815
- // verify required parameter 'code' is not null or undefined
25816
- assertParamExists('postAccessToken', 'code', code)
25817
- // verify required parameter 'refreshToken' is not null or undefined
25818
- assertParamExists('postAccessToken', 'refreshToken', refreshToken)
25819
- // verify required parameter 'codeVerifier' is not null or undefined
25820
- assertParamExists('postAccessToken', 'codeVerifier', codeVerifier)
25821
- // verify required parameter 'token' is not null or undefined
25822
- assertParamExists('postAccessToken', 'token', token)
25823
- // verify required parameter 'tokenExchangeType' is not null or undefined
25824
- assertParamExists('postAccessToken', 'tokenExchangeType', tokenExchangeType)
25825
- // verify required parameter 'licenceKey' is not null or undefined
25826
- assertParamExists('postAccessToken', 'licenceKey', licenceKey)
25827
- // verify required parameter 'endUser' is not null or undefined
25828
- assertParamExists('postAccessToken', 'endUser', endUser)
25729
+ * @param {string | null} [clientId] OAuth 2.0 Client ID
25730
+ * @param {string | null} [clientSecret] OAuth 2.0 Client Secret
25731
+ * @param {PostAccessTokenGrantTypeEnum} [grantType] OAuth 2.0 Grant Type
25732
+ * @param {PostAccessTokenScopeEnum} [scope] OAuth 2.0 Scope
25733
+ * @param {string | null} [redirectUri] OAuth 2.0 Redirect URI
25734
+ * @param {string | null} [code] OAuth 2.0 Auth Code
25735
+ * @param {string | null} [refreshToken] OAuth 2.0 Refresh Token
25736
+ * @param {string | null} [codeVerifier] OAuth 2.0 Code Verifier
25737
+ * @param {string | null} [token] OAuth 2.0 Token (Only used in Token Exchange)
25738
+ * @param {PostAccessTokenTokenExchangeTypeEnum} [tokenExchangeType] Token Exchange Type (Only used in Token Exchange)
25739
+ * @param {string | null} [licenceKey] 3CX Licence Key (Only used in Token Exchange)
25740
+ * @param {boolean | null} [endUser] End User (Only used in Token Exchange)
25741
+ * @param {*} [options] Override http request option.
25742
+ * @throws {RequiredError}
25743
+ */
25744
+ postAccessToken: async (clientId?: string | null, clientSecret?: string | null, grantType?: PostAccessTokenGrantTypeEnum, scope?: PostAccessTokenScopeEnum, redirectUri?: string | null, code?: string | null, refreshToken?: string | null, codeVerifier?: string | null, token?: string | null, tokenExchangeType?: PostAccessTokenTokenExchangeTypeEnum, licenceKey?: string | null, endUser?: boolean | null, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
25829
25745
  const localVarPath = `/oauth2/access_token`;
25830
25746
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
25831
25747
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -26097,22 +26013,22 @@ export const OAuth20ApiFp = function(configuration?: Configuration) {
26097
26013
  /**
26098
26014
  * Get an OAuth 2.0 access token
26099
26015
  * @summary Validates client credentials and returns access token
26100
- * @param {string | null} clientId OAuth 2.0 Client ID
26101
- * @param {string | null} clientSecret OAuth 2.0 Client Secret
26102
- * @param {PostAccessTokenGrantTypeEnum} grantType OAuth 2.0 Grant Type
26103
- * @param {PostAccessTokenScopeEnum} scope OAuth 2.0 Scope
26104
- * @param {string | null} redirectUri OAuth 2.0 Redirect URI
26105
- * @param {string | null} code OAuth 2.0 Auth Code
26106
- * @param {string | null} refreshToken OAuth 2.0 Refresh Token
26107
- * @param {string | null} codeVerifier OAuth 2.0 Code Verifier
26108
- * @param {string | null} token OAuth 2.0 Token (Only used in Token Exchange)
26109
- * @param {PostAccessTokenTokenExchangeTypeEnum} tokenExchangeType Token Exchange Type (Only used in Token Exchange)
26110
- * @param {string | null} licenceKey 3CX Licence Key (Only used in Token Exchange)
26111
- * @param {boolean | null} endUser End User (Only used in Token Exchange)
26112
- * @param {*} [options] Override http request option.
26113
- * @throws {RequiredError}
26114
- */
26115
- async postAccessToken(clientId: string | null, clientSecret: string | null, grantType: PostAccessTokenGrantTypeEnum, scope: PostAccessTokenScopeEnum, redirectUri: string | null, code: string | null, refreshToken: string | null, codeVerifier: string | null, token: string | null, tokenExchangeType: PostAccessTokenTokenExchangeTypeEnum, licenceKey: string | null, endUser: boolean | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TokenResponseModel>> {
26016
+ * @param {string | null} [clientId] OAuth 2.0 Client ID
26017
+ * @param {string | null} [clientSecret] OAuth 2.0 Client Secret
26018
+ * @param {PostAccessTokenGrantTypeEnum} [grantType] OAuth 2.0 Grant Type
26019
+ * @param {PostAccessTokenScopeEnum} [scope] OAuth 2.0 Scope
26020
+ * @param {string | null} [redirectUri] OAuth 2.0 Redirect URI
26021
+ * @param {string | null} [code] OAuth 2.0 Auth Code
26022
+ * @param {string | null} [refreshToken] OAuth 2.0 Refresh Token
26023
+ * @param {string | null} [codeVerifier] OAuth 2.0 Code Verifier
26024
+ * @param {string | null} [token] OAuth 2.0 Token (Only used in Token Exchange)
26025
+ * @param {PostAccessTokenTokenExchangeTypeEnum} [tokenExchangeType] Token Exchange Type (Only used in Token Exchange)
26026
+ * @param {string | null} [licenceKey] 3CX Licence Key (Only used in Token Exchange)
26027
+ * @param {boolean | null} [endUser] End User (Only used in Token Exchange)
26028
+ * @param {*} [options] Override http request option.
26029
+ * @throws {RequiredError}
26030
+ */
26031
+ async postAccessToken(clientId?: string | null, clientSecret?: string | null, grantType?: PostAccessTokenGrantTypeEnum, scope?: PostAccessTokenScopeEnum, redirectUri?: string | null, code?: string | null, refreshToken?: string | null, codeVerifier?: string | null, token?: string | null, tokenExchangeType?: PostAccessTokenTokenExchangeTypeEnum, licenceKey?: string | null, endUser?: boolean | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TokenResponseModel>> {
26116
26032
  const localVarAxiosArgs = await localVarAxiosParamCreator.postAccessToken(clientId, clientSecret, grantType, scope, redirectUri, code, refreshToken, codeVerifier, token, tokenExchangeType, licenceKey, endUser, options);
26117
26033
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
26118
26034
  const localVarOperationServerBasePath = operationServerMap['OAuth20Api.postAccessToken']?.[localVarOperationServerIndex]?.url;
@@ -26203,22 +26119,22 @@ export const OAuth20ApiFactory = function (configuration?: Configuration, basePa
26203
26119
  /**
26204
26120
  * Get an OAuth 2.0 access token
26205
26121
  * @summary Validates client credentials and returns access token
26206
- * @param {string | null} clientId OAuth 2.0 Client ID
26207
- * @param {string | null} clientSecret OAuth 2.0 Client Secret
26208
- * @param {PostAccessTokenGrantTypeEnum} grantType OAuth 2.0 Grant Type
26209
- * @param {PostAccessTokenScopeEnum} scope OAuth 2.0 Scope
26210
- * @param {string | null} redirectUri OAuth 2.0 Redirect URI
26211
- * @param {string | null} code OAuth 2.0 Auth Code
26212
- * @param {string | null} refreshToken OAuth 2.0 Refresh Token
26213
- * @param {string | null} codeVerifier OAuth 2.0 Code Verifier
26214
- * @param {string | null} token OAuth 2.0 Token (Only used in Token Exchange)
26215
- * @param {PostAccessTokenTokenExchangeTypeEnum} tokenExchangeType Token Exchange Type (Only used in Token Exchange)
26216
- * @param {string | null} licenceKey 3CX Licence Key (Only used in Token Exchange)
26217
- * @param {boolean | null} endUser End User (Only used in Token Exchange)
26218
- * @param {*} [options] Override http request option.
26219
- * @throws {RequiredError}
26220
- */
26221
- postAccessToken(clientId: string | null, clientSecret: string | null, grantType: PostAccessTokenGrantTypeEnum, scope: PostAccessTokenScopeEnum, redirectUri: string | null, code: string | null, refreshToken: string | null, codeVerifier: string | null, token: string | null, tokenExchangeType: PostAccessTokenTokenExchangeTypeEnum, licenceKey: string | null, endUser: boolean | null, options?: RawAxiosRequestConfig): AxiosPromise<TokenResponseModel> {
26122
+ * @param {string | null} [clientId] OAuth 2.0 Client ID
26123
+ * @param {string | null} [clientSecret] OAuth 2.0 Client Secret
26124
+ * @param {PostAccessTokenGrantTypeEnum} [grantType] OAuth 2.0 Grant Type
26125
+ * @param {PostAccessTokenScopeEnum} [scope] OAuth 2.0 Scope
26126
+ * @param {string | null} [redirectUri] OAuth 2.0 Redirect URI
26127
+ * @param {string | null} [code] OAuth 2.0 Auth Code
26128
+ * @param {string | null} [refreshToken] OAuth 2.0 Refresh Token
26129
+ * @param {string | null} [codeVerifier] OAuth 2.0 Code Verifier
26130
+ * @param {string | null} [token] OAuth 2.0 Token (Only used in Token Exchange)
26131
+ * @param {PostAccessTokenTokenExchangeTypeEnum} [tokenExchangeType] Token Exchange Type (Only used in Token Exchange)
26132
+ * @param {string | null} [licenceKey] 3CX Licence Key (Only used in Token Exchange)
26133
+ * @param {boolean | null} [endUser] End User (Only used in Token Exchange)
26134
+ * @param {*} [options] Override http request option.
26135
+ * @throws {RequiredError}
26136
+ */
26137
+ postAccessToken(clientId?: string | null, clientSecret?: string | null, grantType?: PostAccessTokenGrantTypeEnum, scope?: PostAccessTokenScopeEnum, redirectUri?: string | null, code?: string | null, refreshToken?: string | null, codeVerifier?: string | null, token?: string | null, tokenExchangeType?: PostAccessTokenTokenExchangeTypeEnum, licenceKey?: string | null, endUser?: boolean | null, options?: RawAxiosRequestConfig): AxiosPromise<TokenResponseModel> {
26222
26138
  return localVarFp.postAccessToken(clientId, clientSecret, grantType, scope, redirectUri, code, refreshToken, codeVerifier, token, tokenExchangeType, licenceKey, endUser, options).then((request) => request(axios, basePath));
26223
26139
  },
26224
26140
  /**
@@ -26294,22 +26210,22 @@ export class OAuth20Api extends BaseAPI {
26294
26210
  /**
26295
26211
  * Get an OAuth 2.0 access token
26296
26212
  * @summary Validates client credentials and returns access token
26297
- * @param {string | null} clientId OAuth 2.0 Client ID
26298
- * @param {string | null} clientSecret OAuth 2.0 Client Secret
26299
- * @param {PostAccessTokenGrantTypeEnum} grantType OAuth 2.0 Grant Type
26300
- * @param {PostAccessTokenScopeEnum} scope OAuth 2.0 Scope
26301
- * @param {string | null} redirectUri OAuth 2.0 Redirect URI
26302
- * @param {string | null} code OAuth 2.0 Auth Code
26303
- * @param {string | null} refreshToken OAuth 2.0 Refresh Token
26304
- * @param {string | null} codeVerifier OAuth 2.0 Code Verifier
26305
- * @param {string | null} token OAuth 2.0 Token (Only used in Token Exchange)
26306
- * @param {PostAccessTokenTokenExchangeTypeEnum} tokenExchangeType Token Exchange Type (Only used in Token Exchange)
26307
- * @param {string | null} licenceKey 3CX Licence Key (Only used in Token Exchange)
26308
- * @param {boolean | null} endUser End User (Only used in Token Exchange)
26309
- * @param {*} [options] Override http request option.
26310
- * @throws {RequiredError}
26311
- */
26312
- public postAccessToken(clientId: string | null, clientSecret: string | null, grantType: PostAccessTokenGrantTypeEnum, scope: PostAccessTokenScopeEnum, redirectUri: string | null, code: string | null, refreshToken: string | null, codeVerifier: string | null, token: string | null, tokenExchangeType: PostAccessTokenTokenExchangeTypeEnum, licenceKey: string | null, endUser: boolean | null, options?: RawAxiosRequestConfig) {
26213
+ * @param {string | null} [clientId] OAuth 2.0 Client ID
26214
+ * @param {string | null} [clientSecret] OAuth 2.0 Client Secret
26215
+ * @param {PostAccessTokenGrantTypeEnum} [grantType] OAuth 2.0 Grant Type
26216
+ * @param {PostAccessTokenScopeEnum} [scope] OAuth 2.0 Scope
26217
+ * @param {string | null} [redirectUri] OAuth 2.0 Redirect URI
26218
+ * @param {string | null} [code] OAuth 2.0 Auth Code
26219
+ * @param {string | null} [refreshToken] OAuth 2.0 Refresh Token
26220
+ * @param {string | null} [codeVerifier] OAuth 2.0 Code Verifier
26221
+ * @param {string | null} [token] OAuth 2.0 Token (Only used in Token Exchange)
26222
+ * @param {PostAccessTokenTokenExchangeTypeEnum} [tokenExchangeType] Token Exchange Type (Only used in Token Exchange)
26223
+ * @param {string | null} [licenceKey] 3CX Licence Key (Only used in Token Exchange)
26224
+ * @param {boolean | null} [endUser] End User (Only used in Token Exchange)
26225
+ * @param {*} [options] Override http request option.
26226
+ * @throws {RequiredError}
26227
+ */
26228
+ public postAccessToken(clientId?: string | null, clientSecret?: string | null, grantType?: PostAccessTokenGrantTypeEnum, scope?: PostAccessTokenScopeEnum, redirectUri?: string | null, code?: string | null, refreshToken?: string | null, codeVerifier?: string | null, token?: string | null, tokenExchangeType?: PostAccessTokenTokenExchangeTypeEnum, licenceKey?: string | null, endUser?: boolean | null, options?: RawAxiosRequestConfig) {
26313
26229
  return OAuth20ApiFp(this.configuration).postAccessToken(clientId, clientSecret, grantType, scope, redirectUri, code, refreshToken, codeVerifier, token, tokenExchangeType, licenceKey, endUser, options).then((request) => request(this.axios, this.basePath));
26314
26230
  }
26315
26231