yellowgrid-api-ts 3.2.232-dev.0 → 3.2.233-dev.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api.ts +521 -443
- package/dist/api.d.ts +419 -425
- package/dist/api.js +276 -192
- package/docs/AbstractOrderRequestDTO.md +3 -3
- package/docs/AccountDetailedSummaryDTO.md +1 -1
- package/docs/AccountRequestModel.md +6 -6
- package/docs/AddressDTO.md +3 -3
- package/docs/AdminNumberPortDTO.md +11 -11
- package/docs/AdminOrderRequestDTO.md +3 -3
- package/docs/AdminRmaDTO.md +3 -3
- package/docs/AdminRmaItemDTO.md +2 -2
- package/docs/AdminUserModel.md +5 -5
- package/docs/AuthCodeResponseModel.md +2 -2
- package/docs/AxisDataDTO.md +2 -2
- package/docs/CreditNoteItemDTO.md +2 -2
- package/docs/CreditStatusDTO.md +3 -3
- package/docs/CrmActivityDTO.md +4 -4
- package/docs/CrmDateActivitiesDTO.md +1 -1
- package/docs/CustomerCoordinatesDTO.md +1 -1
- package/docs/CustomerOrderRequestDTO.md +3 -3
- package/docs/DetailedOrderRequestDTO.md +3 -3
- package/docs/DivertRequestModel.md +1 -1
- package/docs/DivertResponseModel.md +1 -1
- package/docs/EdTechProClientEntity.md +1 -1
- package/docs/EdTechProSchoolModel.md +2 -2
- package/docs/FreshdeskTicketEntity.md +1 -1
- package/docs/GraphDTO.md +1 -1
- package/docs/InstallationDetailsDTO.md +7 -7
- package/docs/ItemDiscountEntity.md +1 -1
- package/docs/ItemEntity.md +1 -1
- package/docs/NumberPortDTO.md +11 -11
- package/docs/NumberPortRangeDTO.md +5 -5
- package/docs/NumberPortRangeRequestDTO.md +4 -4
- package/docs/NumberPortingApi.md +69 -69
- package/docs/OAuth20Api.md +24 -24
- package/docs/OpayoRedirectDTO.md +5 -5
- package/docs/OrderDetailsDTO.md +6 -6
- package/docs/OrderEntity.md +2 -2
- package/docs/OrderRequestModel.md +7 -7
- package/docs/OrderResponseDTO.md +3 -3
- package/docs/OrderSummaryDTO.md +6 -6
- package/docs/OrderTotalModel.md +1 -1
- package/docs/PartnerDTO.md +2 -2
- package/docs/PasswordSenderDTO.md +7 -7
- package/docs/PostGenerateReport200Response.md +1 -1
- package/docs/PriceListItemModel.md +3 -3
- package/docs/ProductPriceListItemModel.md +3 -3
- package/docs/ProductSerialInfoModel.md +1 -1
- package/docs/ProspectDTO.md +3 -3
- package/docs/RecordingBackupAzureModel.md +1 -1
- package/docs/RecordingsBackupInfoDTO.md +2 -2
- package/docs/ReportRequestDTO.md +8 -8
- package/docs/RmaDTO.md +1 -1
- package/docs/RmaItemDTO.md +2 -2
- package/docs/RmaItemRequestDTO.md +2 -2
- package/docs/SbcDTO.md +8 -8
- package/docs/ScannedItemModel.md +4 -4
- package/docs/SeriesDTO.md +1 -1
- package/docs/ShipmentDTO.md +7 -7
- package/docs/ShipmentRequestDTO.md +2 -2
- package/docs/ShippingAddressDTO.md +8 -8
- package/docs/ShippingRequestDTO.md +2 -2
- package/docs/ShippingServiceModel.md +2 -2
- package/docs/SmsAccountEntity.md +1 -1
- package/docs/SmsPhoneNumberModel.md +1 -1
- package/docs/StockOrderModel.md +1 -1
- package/docs/StockProductPriceModel.md +1 -1
- package/docs/SupportTicketModel.md +1 -1
- package/docs/TcxInstallationModel.md +15 -15
- package/docs/TcxKeySummaryDTO.md +2 -2
- package/docs/TcxMultiTenantModel.md +7 -7
- package/docs/TcxSbcDTO.md +1 -1
- package/docs/TcxSetupEntity.md +1 -1
- package/docs/TcxWizardModel.md +5 -5
- package/docs/TicketSummaryModel.md +1 -1
- package/docs/UserEntity.md +2 -2
- 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'
|
|
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'
|
|
42
|
+
'provisioningUrl': string | null;
|
|
43
43
|
/**
|
|
44
44
|
* Shipping Address
|
|
45
45
|
*/
|
|
46
|
-
'shippingAddress'
|
|
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'
|
|
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'
|
|
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'
|
|
351
|
+
'companyNumber': string | null;
|
|
352
352
|
/**
|
|
353
353
|
* Preferred PBX
|
|
354
354
|
*/
|
|
355
|
-
'preferredPbx'
|
|
355
|
+
'preferredPbx': string | null;
|
|
356
356
|
/**
|
|
357
357
|
* VAT Number
|
|
358
358
|
*/
|
|
359
|
-
'vatNumber'
|
|
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'
|
|
367
|
+
'source': string | null;
|
|
368
368
|
/**
|
|
369
369
|
* Credit Limit Required
|
|
370
370
|
*/
|
|
371
|
-
'creditRequired'
|
|
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'
|
|
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'
|
|
454
|
+
'phone': string | null;
|
|
455
455
|
/**
|
|
456
456
|
* Name
|
|
457
457
|
*/
|
|
458
|
-
'name'
|
|
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'
|
|
570
|
+
'companyName': string | null;
|
|
571
571
|
/**
|
|
572
572
|
* Address Line 1
|
|
573
573
|
*/
|
|
574
|
-
'addressLine1'
|
|
574
|
+
'addressLine1': string | null;
|
|
575
575
|
/**
|
|
576
576
|
* Address Line 2
|
|
577
577
|
*/
|
|
578
|
-
'addressLine2'
|
|
578
|
+
'addressLine2': string | null;
|
|
579
579
|
/**
|
|
580
580
|
* City
|
|
581
581
|
*/
|
|
582
|
-
'city'
|
|
582
|
+
'city': string | null;
|
|
583
583
|
/**
|
|
584
584
|
* Post Code
|
|
585
585
|
*/
|
|
586
|
-
'postCode'
|
|
586
|
+
'postCode': string | null;
|
|
587
587
|
/**
|
|
588
588
|
* Trunk ID
|
|
589
589
|
*/
|
|
590
|
-
'trunkId'
|
|
590
|
+
'trunkId': number | null;
|
|
591
591
|
/**
|
|
592
592
|
* Starter Bundle ID
|
|
593
593
|
*/
|
|
594
|
-
'tenantId'
|
|
594
|
+
'tenantId': string | null;
|
|
595
595
|
/**
|
|
596
596
|
* Requested Port Date
|
|
597
597
|
*/
|
|
598
|
-
'requestedPortDate'
|
|
598
|
+
'requestedPortDate': string | null;
|
|
599
599
|
/**
|
|
600
600
|
* Port Date ASAP
|
|
601
601
|
*/
|
|
602
|
-
'asap'
|
|
602
|
+
'asap': boolean | null;
|
|
603
603
|
/**
|
|
604
604
|
* Comment
|
|
605
605
|
*/
|
|
606
|
-
'comment'
|
|
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'
|
|
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'
|
|
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'
|
|
668
|
+
'provisioningUrl': string | null;
|
|
669
669
|
/**
|
|
670
670
|
* Shipping Address
|
|
671
671
|
*/
|
|
672
|
-
'shippingAddress'
|
|
672
|
+
'shippingAddress': AddressModel | null;
|
|
673
673
|
/**
|
|
674
674
|
* Part Ship Order
|
|
675
675
|
*/
|
|
@@ -767,10 +767,7 @@ export interface AdminRmaDTO {
|
|
|
767
767
|
* RMA Approval Status
|
|
768
768
|
*/
|
|
769
769
|
'approved': boolean;
|
|
770
|
-
|
|
771
|
-
* RMA Return Address
|
|
772
|
-
*/
|
|
773
|
-
'address'?: AddressDTO | null;
|
|
770
|
+
'address': AddressDTO;
|
|
774
771
|
/**
|
|
775
772
|
* Customer ID
|
|
776
773
|
*/
|
|
@@ -806,11 +803,11 @@ export interface AdminRmaDTO {
|
|
|
806
803
|
/**
|
|
807
804
|
* Collection Tracking URL
|
|
808
805
|
*/
|
|
809
|
-
'collectionTrackingUrl'
|
|
806
|
+
'collectionTrackingUrl': string | null;
|
|
810
807
|
/**
|
|
811
808
|
* Return Tracking URL
|
|
812
809
|
*/
|
|
813
|
-
'returnTrackingUrl'
|
|
810
|
+
'returnTrackingUrl': string | null;
|
|
814
811
|
}
|
|
815
812
|
|
|
816
813
|
export const AdminRmaDTOReasonEnum = {
|
|
@@ -857,11 +854,11 @@ export interface AdminRmaItemDTO {
|
|
|
857
854
|
/**
|
|
858
855
|
* RMA Item MAC Address
|
|
859
856
|
*/
|
|
860
|
-
'macAddress'
|
|
857
|
+
'macAddress': string | null;
|
|
861
858
|
/**
|
|
862
859
|
* RMA Item Serial Number
|
|
863
860
|
*/
|
|
864
|
-
'serialNumber'
|
|
861
|
+
'serialNumber': string | null;
|
|
865
862
|
/**
|
|
866
863
|
* RMA Item Received Status
|
|
867
864
|
*/
|
|
@@ -1014,7 +1011,7 @@ export interface AdminUserModel {
|
|
|
1014
1011
|
/**
|
|
1015
1012
|
* Avatar
|
|
1016
1013
|
*/
|
|
1017
|
-
'avatar'
|
|
1014
|
+
'avatar': string | null;
|
|
1018
1015
|
/**
|
|
1019
1016
|
* Role
|
|
1020
1017
|
*/
|
|
@@ -1022,19 +1019,19 @@ export interface AdminUserModel {
|
|
|
1022
1019
|
/**
|
|
1023
1020
|
* Email
|
|
1024
1021
|
*/
|
|
1025
|
-
'email'
|
|
1022
|
+
'email': string | null;
|
|
1026
1023
|
/**
|
|
1027
1024
|
* Primary Colour
|
|
1028
1025
|
*/
|
|
1029
|
-
'primaryHex'
|
|
1026
|
+
'primaryHex': string | null;
|
|
1030
1027
|
/**
|
|
1031
1028
|
* Secondary Colour
|
|
1032
1029
|
*/
|
|
1033
|
-
'secondaryHex'
|
|
1030
|
+
'secondaryHex': string | null;
|
|
1034
1031
|
/**
|
|
1035
1032
|
* Scopes
|
|
1036
1033
|
*/
|
|
1037
|
-
'scopes'
|
|
1034
|
+
'scopes': Array<string> | null;
|
|
1038
1035
|
/**
|
|
1039
1036
|
* Groups
|
|
1040
1037
|
*/
|
|
@@ -1349,11 +1346,11 @@ export interface AuthCodeResponseModel {
|
|
|
1349
1346
|
/**
|
|
1350
1347
|
* State
|
|
1351
1348
|
*/
|
|
1352
|
-
'state'
|
|
1349
|
+
'state': string | null;
|
|
1353
1350
|
/**
|
|
1354
1351
|
* Redirect URI
|
|
1355
1352
|
*/
|
|
1356
|
-
'redirect_uri'
|
|
1353
|
+
'redirect_uri': string | null;
|
|
1357
1354
|
}
|
|
1358
1355
|
/**
|
|
1359
1356
|
* Graph Axis Data
|
|
@@ -1366,11 +1363,11 @@ export interface AxisDataDTO {
|
|
|
1366
1363
|
/**
|
|
1367
1364
|
* Data
|
|
1368
1365
|
*/
|
|
1369
|
-
'data'
|
|
1366
|
+
'data': Array<string> | null;
|
|
1370
1367
|
/**
|
|
1371
1368
|
* Name
|
|
1372
1369
|
*/
|
|
1373
|
-
'name'
|
|
1370
|
+
'name': string | null;
|
|
1374
1371
|
}
|
|
1375
1372
|
|
|
1376
1373
|
export const AxisDataDTOTypeEnum = {
|
|
@@ -2069,11 +2066,11 @@ export interface CreditNoteItemDTO {
|
|
|
2069
2066
|
/**
|
|
2070
2067
|
* Quantity
|
|
2071
2068
|
*/
|
|
2072
|
-
'quantity'
|
|
2069
|
+
'quantity': number | null;
|
|
2073
2070
|
/**
|
|
2074
2071
|
* Amount
|
|
2075
2072
|
*/
|
|
2076
|
-
'amount'
|
|
2073
|
+
'amount': number | null;
|
|
2077
2074
|
}
|
|
2078
2075
|
/**
|
|
2079
2076
|
* CreditNotesItemsEntity
|
|
@@ -2169,15 +2166,15 @@ export interface CreditStatusDTO {
|
|
|
2169
2166
|
/**
|
|
2170
2167
|
* Currency Code
|
|
2171
2168
|
*/
|
|
2172
|
-
'CurrencyCode'
|
|
2169
|
+
'CurrencyCode': string | null;
|
|
2173
2170
|
/**
|
|
2174
2171
|
* Credit Limit
|
|
2175
2172
|
*/
|
|
2176
|
-
'CreditLimit'
|
|
2173
|
+
'CreditLimit': number | null;
|
|
2177
2174
|
/**
|
|
2178
2175
|
* Credit
|
|
2179
2176
|
*/
|
|
2180
|
-
'Credit'
|
|
2177
|
+
'Credit': number | null;
|
|
2181
2178
|
}
|
|
2182
2179
|
/**
|
|
2183
2180
|
* CRM Activities Response
|
|
@@ -2203,7 +2200,7 @@ export interface CrmActivityDTO {
|
|
|
2203
2200
|
/**
|
|
2204
2201
|
* Activity Timestamp
|
|
2205
2202
|
*/
|
|
2206
|
-
'timestamp'
|
|
2203
|
+
'timestamp': string | null;
|
|
2207
2204
|
/**
|
|
2208
2205
|
* Activity Title
|
|
2209
2206
|
*/
|
|
@@ -2215,15 +2212,15 @@ export interface CrmActivityDTO {
|
|
|
2215
2212
|
/**
|
|
2216
2213
|
* Activity User Name
|
|
2217
2214
|
*/
|
|
2218
|
-
'user'
|
|
2215
|
+
'user': string | null;
|
|
2219
2216
|
/**
|
|
2220
2217
|
* Activity Contact Name
|
|
2221
2218
|
*/
|
|
2222
|
-
'contact'
|
|
2219
|
+
'contact': string | null;
|
|
2223
2220
|
/**
|
|
2224
2221
|
* Activity Order ID
|
|
2225
2222
|
*/
|
|
2226
|
-
'orderId'
|
|
2223
|
+
'orderId': number | null;
|
|
2227
2224
|
}
|
|
2228
2225
|
/**
|
|
2229
2226
|
* CRM Contact
|
|
@@ -2265,7 +2262,7 @@ export interface CrmDateActivitiesDTO {
|
|
|
2265
2262
|
/**
|
|
2266
2263
|
* Date
|
|
2267
2264
|
*/
|
|
2268
|
-
'date'
|
|
2265
|
+
'date': string | null;
|
|
2269
2266
|
/**
|
|
2270
2267
|
* Activities
|
|
2271
2268
|
*/
|
|
@@ -2418,7 +2415,7 @@ export interface CustomerCoordinatesDTO {
|
|
|
2418
2415
|
/**
|
|
2419
2416
|
* 3CX Reseller ID
|
|
2420
2417
|
*/
|
|
2421
|
-
'resellerId'
|
|
2418
|
+
'resellerId': string | null;
|
|
2422
2419
|
/**
|
|
2423
2420
|
* Post Code
|
|
2424
2421
|
*/
|
|
@@ -2574,7 +2571,7 @@ export interface CustomerOrderRequestDTO {
|
|
|
2574
2571
|
/**
|
|
2575
2572
|
* Order Reference
|
|
2576
2573
|
*/
|
|
2577
|
-
'orderReference'
|
|
2574
|
+
'orderReference': string | null;
|
|
2578
2575
|
/**
|
|
2579
2576
|
* Items
|
|
2580
2577
|
*/
|
|
@@ -2583,11 +2580,11 @@ export interface CustomerOrderRequestDTO {
|
|
|
2583
2580
|
/**
|
|
2584
2581
|
* Provisioning URL
|
|
2585
2582
|
*/
|
|
2586
|
-
'provisioningUrl'
|
|
2583
|
+
'provisioningUrl': string | null;
|
|
2587
2584
|
/**
|
|
2588
2585
|
* Shipping Address
|
|
2589
2586
|
*/
|
|
2590
|
-
'shippingAddress'
|
|
2587
|
+
'shippingAddress': AddressModel | null;
|
|
2591
2588
|
/**
|
|
2592
2589
|
* Part Ship Order
|
|
2593
2590
|
*/
|
|
@@ -2763,7 +2760,7 @@ export interface DetailedOrderRequestDTO {
|
|
|
2763
2760
|
/**
|
|
2764
2761
|
* Order Reference
|
|
2765
2762
|
*/
|
|
2766
|
-
'orderReference'
|
|
2763
|
+
'orderReference': string | null;
|
|
2767
2764
|
/**
|
|
2768
2765
|
* Items
|
|
2769
2766
|
*/
|
|
@@ -2772,11 +2769,11 @@ export interface DetailedOrderRequestDTO {
|
|
|
2772
2769
|
/**
|
|
2773
2770
|
* Provisioning URL
|
|
2774
2771
|
*/
|
|
2775
|
-
'provisioningUrl'
|
|
2772
|
+
'provisioningUrl': string | null;
|
|
2776
2773
|
/**
|
|
2777
2774
|
* Shipping Address
|
|
2778
2775
|
*/
|
|
2779
|
-
'shippingAddress'
|
|
2776
|
+
'shippingAddress': AddressModel | null;
|
|
2780
2777
|
/**
|
|
2781
2778
|
* Part Ship Order
|
|
2782
2779
|
*/
|
|
@@ -2797,7 +2794,7 @@ export interface DivertRequestModel {
|
|
|
2797
2794
|
/**
|
|
2798
2795
|
* Destination
|
|
2799
2796
|
*/
|
|
2800
|
-
'destination'
|
|
2797
|
+
'destination': string | null;
|
|
2801
2798
|
}
|
|
2802
2799
|
/**
|
|
2803
2800
|
* Divert
|
|
@@ -2810,7 +2807,7 @@ export interface DivertResponseModel {
|
|
|
2810
2807
|
/**
|
|
2811
2808
|
* Divert Destination
|
|
2812
2809
|
*/
|
|
2813
|
-
'destination'
|
|
2810
|
+
'destination': string | null;
|
|
2814
2811
|
/**
|
|
2815
2812
|
* Divert Status
|
|
2816
2813
|
*/
|
|
@@ -2847,7 +2844,7 @@ export interface EdTechProClientEntity {
|
|
|
2847
2844
|
/**
|
|
2848
2845
|
* Client API Key
|
|
2849
2846
|
*/
|
|
2850
|
-
'apiKey'
|
|
2847
|
+
'apiKey': string | null;
|
|
2851
2848
|
}
|
|
2852
2849
|
/**
|
|
2853
2850
|
* EdTechPro School
|
|
@@ -2876,7 +2873,7 @@ export interface EdTechProSchoolModel {
|
|
|
2876
2873
|
/**
|
|
2877
2874
|
* Order Reference
|
|
2878
2875
|
*/
|
|
2879
|
-
'orderReference'
|
|
2876
|
+
'orderReference': string | null;
|
|
2880
2877
|
/**
|
|
2881
2878
|
* Creation Date
|
|
2882
2879
|
*/
|
|
@@ -2904,7 +2901,7 @@ export interface EdTechProSchoolModel {
|
|
|
2904
2901
|
/**
|
|
2905
2902
|
* API Key
|
|
2906
2903
|
*/
|
|
2907
|
-
'apiKey'
|
|
2904
|
+
'apiKey': string | null;
|
|
2908
2905
|
}
|
|
2909
2906
|
/**
|
|
2910
2907
|
* EdTechPro Schools
|
|
@@ -3183,7 +3180,7 @@ export interface FreshdeskTicketEntity {
|
|
|
3183
3180
|
/**
|
|
3184
3181
|
* status
|
|
3185
3182
|
*/
|
|
3186
|
-
'statusId'
|
|
3183
|
+
'statusId': number | null;
|
|
3187
3184
|
/**
|
|
3188
3185
|
* lastUpdated
|
|
3189
3186
|
*/
|
|
@@ -3267,7 +3264,7 @@ export interface GraphDTO {
|
|
|
3267
3264
|
/**
|
|
3268
3265
|
* Currency
|
|
3269
3266
|
*/
|
|
3270
|
-
'currency'
|
|
3267
|
+
'currency': GraphDTOCurrencyEnum | null;
|
|
3271
3268
|
/**
|
|
3272
3269
|
* Locale
|
|
3273
3270
|
*/
|
|
@@ -3416,33 +3413,33 @@ export interface InstallationDetailsDTO {
|
|
|
3416
3413
|
/**
|
|
3417
3414
|
* PBX IP Address
|
|
3418
3415
|
*/
|
|
3419
|
-
'ipAddress'
|
|
3416
|
+
'ipAddress': string | null;
|
|
3420
3417
|
/**
|
|
3421
3418
|
* PBX Failover IP Address
|
|
3422
3419
|
*/
|
|
3423
|
-
'failoverIpAddress'
|
|
3420
|
+
'failoverIpAddress': string | null;
|
|
3424
3421
|
/**
|
|
3425
3422
|
* Instance ID
|
|
3426
3423
|
*/
|
|
3427
|
-
'instanceId'
|
|
3424
|
+
'instanceId': string | null;
|
|
3428
3425
|
/**
|
|
3429
3426
|
* Project ID
|
|
3430
3427
|
*/
|
|
3431
|
-
'project'
|
|
3428
|
+
'project': string | null;
|
|
3432
3429
|
'sshKey': GenericFileModel;
|
|
3433
3430
|
/**
|
|
3434
3431
|
* Root Password
|
|
3435
3432
|
*/
|
|
3436
|
-
'osPassword'
|
|
3433
|
+
'osPassword': string | null;
|
|
3437
3434
|
'systemOwner': TcxUsersEntity;
|
|
3438
3435
|
/**
|
|
3439
3436
|
* Admin Email
|
|
3440
3437
|
*/
|
|
3441
|
-
'email'
|
|
3438
|
+
'email': string | null;
|
|
3442
3439
|
/**
|
|
3443
3440
|
* 3CX Console URL
|
|
3444
3441
|
*/
|
|
3445
|
-
'url'
|
|
3442
|
+
'url': string | null;
|
|
3446
3443
|
'backup': RemoteStorageDTO;
|
|
3447
3444
|
}
|
|
3448
3445
|
/**
|
|
@@ -3866,7 +3863,7 @@ export interface ItemDiscountEntity {
|
|
|
3866
3863
|
/**
|
|
3867
3864
|
* type
|
|
3868
3865
|
*/
|
|
3869
|
-
'type'
|
|
3866
|
+
'type': ItemDiscountEntityTypeEnum | null;
|
|
3870
3867
|
/**
|
|
3871
3868
|
* description
|
|
3872
3869
|
*/
|
|
@@ -3976,7 +3973,7 @@ export interface ItemEntity {
|
|
|
3976
3973
|
/**
|
|
3977
3974
|
* 3CX Sales Code
|
|
3978
3975
|
*/
|
|
3979
|
-
'tcxSalesCode'
|
|
3976
|
+
'tcxSalesCode': string | null;
|
|
3980
3977
|
}
|
|
3981
3978
|
/**
|
|
3982
3979
|
* RMA Item Status Request Model
|
|
@@ -4156,43 +4153,43 @@ export interface NumberPortDTO {
|
|
|
4156
4153
|
/**
|
|
4157
4154
|
* Company Name
|
|
4158
4155
|
*/
|
|
4159
|
-
'companyName'
|
|
4156
|
+
'companyName': string | null;
|
|
4160
4157
|
/**
|
|
4161
4158
|
* Address Line 1
|
|
4162
4159
|
*/
|
|
4163
|
-
'addressLine1'
|
|
4160
|
+
'addressLine1': string | null;
|
|
4164
4161
|
/**
|
|
4165
4162
|
* Address Line 2
|
|
4166
4163
|
*/
|
|
4167
|
-
'addressLine2'
|
|
4164
|
+
'addressLine2': string | null;
|
|
4168
4165
|
/**
|
|
4169
4166
|
* City
|
|
4170
4167
|
*/
|
|
4171
|
-
'city'
|
|
4168
|
+
'city': string | null;
|
|
4172
4169
|
/**
|
|
4173
4170
|
* Post Code
|
|
4174
4171
|
*/
|
|
4175
|
-
'postCode'
|
|
4172
|
+
'postCode': string | null;
|
|
4176
4173
|
/**
|
|
4177
4174
|
* Trunk ID
|
|
4178
4175
|
*/
|
|
4179
|
-
'trunkId'
|
|
4176
|
+
'trunkId': number | null;
|
|
4180
4177
|
/**
|
|
4181
4178
|
* Starter Bundle ID
|
|
4182
4179
|
*/
|
|
4183
|
-
'tenantId'
|
|
4180
|
+
'tenantId': string | null;
|
|
4184
4181
|
/**
|
|
4185
4182
|
* Requested Port Date
|
|
4186
4183
|
*/
|
|
4187
|
-
'requestedPortDate'
|
|
4184
|
+
'requestedPortDate': string | null;
|
|
4188
4185
|
/**
|
|
4189
4186
|
* Port Date ASAP
|
|
4190
4187
|
*/
|
|
4191
|
-
'asap'
|
|
4188
|
+
'asap': boolean | null;
|
|
4192
4189
|
/**
|
|
4193
4190
|
* Comment
|
|
4194
4191
|
*/
|
|
4195
|
-
'comment'
|
|
4192
|
+
'comment': string | null;
|
|
4196
4193
|
/**
|
|
4197
4194
|
* Number Port ID
|
|
4198
4195
|
*/
|
|
@@ -4224,7 +4221,7 @@ export interface NumberPortDTO {
|
|
|
4224
4221
|
/**
|
|
4225
4222
|
* Ticket ID
|
|
4226
4223
|
*/
|
|
4227
|
-
'ticketId'
|
|
4224
|
+
'ticketId': number | null;
|
|
4228
4225
|
}
|
|
4229
4226
|
/**
|
|
4230
4227
|
* Number Port Note DTO
|
|
@@ -4258,19 +4255,19 @@ export interface NumberPortRangeDTO {
|
|
|
4258
4255
|
/**
|
|
4259
4256
|
* Range Start Number
|
|
4260
4257
|
*/
|
|
4261
|
-
'rangeStart'
|
|
4258
|
+
'rangeStart': string | null;
|
|
4262
4259
|
/**
|
|
4263
4260
|
* Range End Number
|
|
4264
4261
|
*/
|
|
4265
|
-
'rangeEnd'
|
|
4262
|
+
'rangeEnd': string | null;
|
|
4266
4263
|
/**
|
|
4267
4264
|
* Losing Communications Provider
|
|
4268
4265
|
*/
|
|
4269
|
-
'lcp'
|
|
4266
|
+
'lcp': string | null;
|
|
4270
4267
|
/**
|
|
4271
4268
|
* Range Post Code
|
|
4272
4269
|
*/
|
|
4273
|
-
'postCode'
|
|
4270
|
+
'postCode': string | null;
|
|
4274
4271
|
/**
|
|
4275
4272
|
* Number Port Range ID
|
|
4276
4273
|
*/
|
|
@@ -4282,7 +4279,7 @@ export interface NumberPortRangeDTO {
|
|
|
4282
4279
|
/**
|
|
4283
4280
|
* Range Holder
|
|
4284
4281
|
*/
|
|
4285
|
-
'rangeHolder'
|
|
4282
|
+
'rangeHolder': string | null;
|
|
4286
4283
|
}
|
|
4287
4284
|
/**
|
|
4288
4285
|
* NumberPortRangeDTO
|
|
@@ -4291,19 +4288,19 @@ export interface NumberPortRangeRequestDTO {
|
|
|
4291
4288
|
/**
|
|
4292
4289
|
* Range Start Number
|
|
4293
4290
|
*/
|
|
4294
|
-
'rangeStart'
|
|
4291
|
+
'rangeStart': string | null;
|
|
4295
4292
|
/**
|
|
4296
4293
|
* Range End Number
|
|
4297
4294
|
*/
|
|
4298
|
-
'rangeEnd'
|
|
4295
|
+
'rangeEnd': string | null;
|
|
4299
4296
|
/**
|
|
4300
4297
|
* Losing Communications Provider
|
|
4301
4298
|
*/
|
|
4302
|
-
'lcp'
|
|
4299
|
+
'lcp': string | null;
|
|
4303
4300
|
/**
|
|
4304
4301
|
* Range Post Code
|
|
4305
4302
|
*/
|
|
4306
|
-
'postCode'
|
|
4303
|
+
'postCode': string | null;
|
|
4307
4304
|
}
|
|
4308
4305
|
/**
|
|
4309
4306
|
* Number Ports
|
|
@@ -4358,23 +4355,23 @@ export interface OpayoRedirectDTO {
|
|
|
4358
4355
|
/**
|
|
4359
4356
|
* acsUrl
|
|
4360
4357
|
*/
|
|
4361
|
-
'acsUrl'
|
|
4358
|
+
'acsUrl': string | null;
|
|
4362
4359
|
/**
|
|
4363
4360
|
* paReq
|
|
4364
4361
|
*/
|
|
4365
|
-
'paReq'
|
|
4362
|
+
'paReq': string | null;
|
|
4366
4363
|
/**
|
|
4367
4364
|
* Transaction ID
|
|
4368
4365
|
*/
|
|
4369
|
-
'transactionId'
|
|
4366
|
+
'transactionId': string | null;
|
|
4370
4367
|
/**
|
|
4371
4368
|
* dsTranId
|
|
4372
4369
|
*/
|
|
4373
|
-
'dsTranId'
|
|
4370
|
+
'dsTranId': string | null;
|
|
4374
4371
|
/**
|
|
4375
4372
|
* cReq
|
|
4376
4373
|
*/
|
|
4377
|
-
'cReq'
|
|
4374
|
+
'cReq': string | null;
|
|
4378
4375
|
}
|
|
4379
4376
|
/**
|
|
4380
4377
|
* Legacy Portal Order
|
|
@@ -4398,7 +4395,7 @@ export interface OrderDetailsDTO {
|
|
|
4398
4395
|
/**
|
|
4399
4396
|
* Reference
|
|
4400
4397
|
*/
|
|
4401
|
-
'reference'
|
|
4398
|
+
'reference': string | null;
|
|
4402
4399
|
/**
|
|
4403
4400
|
* Invoice Number
|
|
4404
4401
|
*/
|
|
@@ -4406,7 +4403,7 @@ export interface OrderDetailsDTO {
|
|
|
4406
4403
|
/**
|
|
4407
4404
|
* Invoice ID
|
|
4408
4405
|
*/
|
|
4409
|
-
'invoiceId'
|
|
4406
|
+
'invoiceId': string | null;
|
|
4410
4407
|
/**
|
|
4411
4408
|
* Date Time
|
|
4412
4409
|
*/
|
|
@@ -4424,7 +4421,7 @@ export interface OrderDetailsDTO {
|
|
|
4424
4421
|
*/
|
|
4425
4422
|
'quote': boolean;
|
|
4426
4423
|
'customer': AccountSummaryDTO;
|
|
4427
|
-
'shippingAddress'
|
|
4424
|
+
'shippingAddress': AddressModel | null;
|
|
4428
4425
|
/**
|
|
4429
4426
|
* Items
|
|
4430
4427
|
*/
|
|
@@ -4436,12 +4433,12 @@ export interface OrderDetailsDTO {
|
|
|
4436
4433
|
/**
|
|
4437
4434
|
* Fulfillable
|
|
4438
4435
|
*/
|
|
4439
|
-
'fulfillable'
|
|
4436
|
+
'fulfillable': boolean | null;
|
|
4440
4437
|
/**
|
|
4441
4438
|
* Provisioning URL
|
|
4442
4439
|
*/
|
|
4443
|
-
'provisioningUrl'
|
|
4444
|
-
'shippingService'
|
|
4440
|
+
'provisioningUrl': string | null;
|
|
4441
|
+
'shippingService': ShippingServiceDTO | null;
|
|
4445
4442
|
/**
|
|
4446
4443
|
* Readonly
|
|
4447
4444
|
*/
|
|
@@ -4495,7 +4492,7 @@ export interface OrderEntity {
|
|
|
4495
4492
|
/**
|
|
4496
4493
|
* invoiceId
|
|
4497
4494
|
*/
|
|
4498
|
-
'invoiceId'
|
|
4495
|
+
'invoiceId': string | null;
|
|
4499
4496
|
/**
|
|
4500
4497
|
* creditAccountId
|
|
4501
4498
|
*/
|
|
@@ -4707,7 +4704,7 @@ export interface OrderEntity {
|
|
|
4707
4704
|
/**
|
|
4708
4705
|
* fulfillable
|
|
4709
4706
|
*/
|
|
4710
|
-
'fulfillable'
|
|
4707
|
+
'fulfillable': boolean | null;
|
|
4711
4708
|
}
|
|
4712
4709
|
/**
|
|
4713
4710
|
* Order Item Details
|
|
@@ -4797,23 +4794,23 @@ export interface OrderRequestModel {
|
|
|
4797
4794
|
/**
|
|
4798
4795
|
* Client/Trust ID
|
|
4799
4796
|
*/
|
|
4800
|
-
'clientId'
|
|
4797
|
+
'clientId': number | null;
|
|
4801
4798
|
/**
|
|
4802
4799
|
* Client/Trust Name
|
|
4803
4800
|
*/
|
|
4804
|
-
'clientName'
|
|
4801
|
+
'clientName': string | null;
|
|
4805
4802
|
/**
|
|
4806
4803
|
* Client/Trust Contact Name
|
|
4807
4804
|
*/
|
|
4808
|
-
'clientContactName'
|
|
4805
|
+
'clientContactName': string | null;
|
|
4809
4806
|
/**
|
|
4810
4807
|
* Client/Trust Contact Email
|
|
4811
4808
|
*/
|
|
4812
|
-
'clientContactEmail'
|
|
4809
|
+
'clientContactEmail': string | null;
|
|
4813
4810
|
/**
|
|
4814
4811
|
* Agreed to Terms and Conditions
|
|
4815
4812
|
*/
|
|
4816
|
-
'terms'
|
|
4813
|
+
'terms': boolean | null;
|
|
4817
4814
|
/**
|
|
4818
4815
|
* School Name
|
|
4819
4816
|
*/
|
|
@@ -4841,11 +4838,11 @@ export interface OrderRequestModel {
|
|
|
4841
4838
|
/**
|
|
4842
4839
|
* InstanceId
|
|
4843
4840
|
*/
|
|
4844
|
-
'instanceId'
|
|
4841
|
+
'instanceId': string | null;
|
|
4845
4842
|
/**
|
|
4846
4843
|
* Order Reference
|
|
4847
4844
|
*/
|
|
4848
|
-
'orderReference'
|
|
4845
|
+
'orderReference': string | null;
|
|
4849
4846
|
}
|
|
4850
4847
|
|
|
4851
4848
|
export const OrderRequestModelLicenceTypeEnum = {
|
|
@@ -4868,15 +4865,15 @@ export interface OrderResponseDTO {
|
|
|
4868
4865
|
/**
|
|
4869
4866
|
* URL
|
|
4870
4867
|
*/
|
|
4871
|
-
'url'
|
|
4868
|
+
'url': string | null;
|
|
4872
4869
|
/**
|
|
4873
4870
|
* Order ID
|
|
4874
4871
|
*/
|
|
4875
|
-
'orderID'
|
|
4872
|
+
'orderID': string | null;
|
|
4876
4873
|
/**
|
|
4877
4874
|
* Unique ID
|
|
4878
4875
|
*/
|
|
4879
|
-
'uniqueID'
|
|
4876
|
+
'uniqueID': string | null;
|
|
4880
4877
|
}
|
|
4881
4878
|
/**
|
|
4882
4879
|
* Sales Orders
|
|
@@ -4910,7 +4907,7 @@ export interface OrderSummaryDTO {
|
|
|
4910
4907
|
/**
|
|
4911
4908
|
* Reference
|
|
4912
4909
|
*/
|
|
4913
|
-
'reference'
|
|
4910
|
+
'reference': string | null;
|
|
4914
4911
|
/**
|
|
4915
4912
|
* Invoice Number
|
|
4916
4913
|
*/
|
|
@@ -4918,7 +4915,7 @@ export interface OrderSummaryDTO {
|
|
|
4918
4915
|
/**
|
|
4919
4916
|
* Invoice ID
|
|
4920
4917
|
*/
|
|
4921
|
-
'invoiceId'
|
|
4918
|
+
'invoiceId': string | null;
|
|
4922
4919
|
/**
|
|
4923
4920
|
* Date Time
|
|
4924
4921
|
*/
|
|
@@ -4936,7 +4933,7 @@ export interface OrderSummaryDTO {
|
|
|
4936
4933
|
*/
|
|
4937
4934
|
'quote': boolean;
|
|
4938
4935
|
'customer': AccountSummaryDTO;
|
|
4939
|
-
'shippingAddress'
|
|
4936
|
+
'shippingAddress': AddressModel | null;
|
|
4940
4937
|
/**
|
|
4941
4938
|
* Items
|
|
4942
4939
|
*/
|
|
@@ -4948,12 +4945,12 @@ export interface OrderSummaryDTO {
|
|
|
4948
4945
|
/**
|
|
4949
4946
|
* Fulfillable
|
|
4950
4947
|
*/
|
|
4951
|
-
'fulfillable'
|
|
4948
|
+
'fulfillable': boolean | null;
|
|
4952
4949
|
/**
|
|
4953
4950
|
* Provisioning URL
|
|
4954
4951
|
*/
|
|
4955
|
-
'provisioningUrl'
|
|
4956
|
-
'shippingService'
|
|
4952
|
+
'provisioningUrl': string | null;
|
|
4953
|
+
'shippingService': ShippingServiceDTO | null;
|
|
4957
4954
|
/**
|
|
4958
4955
|
* Readonly
|
|
4959
4956
|
*/
|
|
@@ -4994,7 +4991,7 @@ export interface OrderTotalModel {
|
|
|
4994
4991
|
/**
|
|
4995
4992
|
* Delivery
|
|
4996
4993
|
*/
|
|
4997
|
-
'delivery'
|
|
4994
|
+
'delivery': number | null;
|
|
4998
4995
|
}
|
|
4999
4996
|
|
|
5000
4997
|
export const OrderTotalModelCurrencyEnum = {
|
|
@@ -5192,7 +5189,7 @@ export interface PartnerDTO {
|
|
|
5192
5189
|
/**
|
|
5193
5190
|
* 3CX Partner ID
|
|
5194
5191
|
*/
|
|
5195
|
-
'partnerId'
|
|
5192
|
+
'partnerId': string | null;
|
|
5196
5193
|
/**
|
|
5197
5194
|
* 3CX Partner Company Name
|
|
5198
5195
|
*/
|
|
@@ -5236,7 +5233,7 @@ export interface PartnerDTO {
|
|
|
5236
5233
|
/**
|
|
5237
5234
|
* Customer
|
|
5238
5235
|
*/
|
|
5239
|
-
'customer'
|
|
5236
|
+
'customer': AccountSummaryDTO | null;
|
|
5240
5237
|
}
|
|
5241
5238
|
/**
|
|
5242
5239
|
* Password Sender Request
|
|
@@ -5249,19 +5246,19 @@ export interface PasswordSenderDTO {
|
|
|
5249
5246
|
/**
|
|
5250
5247
|
* Password
|
|
5251
5248
|
*/
|
|
5252
|
-
'password'
|
|
5249
|
+
'password': string | null;
|
|
5253
5250
|
/**
|
|
5254
5251
|
* Expiry Interval
|
|
5255
5252
|
*/
|
|
5256
|
-
'expiryInterval'
|
|
5253
|
+
'expiryInterval': number | null;
|
|
5257
5254
|
/**
|
|
5258
5255
|
* Interval Type
|
|
5259
5256
|
*/
|
|
5260
|
-
'intervalType'
|
|
5257
|
+
'intervalType': PasswordSenderDTOIntervalTypeEnum | null;
|
|
5261
5258
|
/**
|
|
5262
5259
|
* Expiry
|
|
5263
5260
|
*/
|
|
5264
|
-
'expiry'
|
|
5261
|
+
'expiry': string | null;
|
|
5265
5262
|
/**
|
|
5266
5263
|
* Recipient
|
|
5267
5264
|
*/
|
|
@@ -5269,15 +5266,15 @@ export interface PasswordSenderDTO {
|
|
|
5269
5266
|
/**
|
|
5270
5267
|
* URL
|
|
5271
5268
|
*/
|
|
5272
|
-
'url'
|
|
5269
|
+
'url': string | null;
|
|
5273
5270
|
/**
|
|
5274
5271
|
* Description
|
|
5275
5272
|
*/
|
|
5276
|
-
'description'
|
|
5273
|
+
'description': string | null;
|
|
5277
5274
|
/**
|
|
5278
5275
|
* Password URL
|
|
5279
5276
|
*/
|
|
5280
|
-
'passwordUrl'
|
|
5277
|
+
'passwordUrl': string | null;
|
|
5281
5278
|
}
|
|
5282
5279
|
|
|
5283
5280
|
export const PasswordSenderDTOIntervalTypeEnum = {
|
|
@@ -5750,7 +5747,7 @@ export interface PriceListItemModel {
|
|
|
5750
5747
|
/**
|
|
5751
5748
|
* SKU
|
|
5752
5749
|
*/
|
|
5753
|
-
'sku'
|
|
5750
|
+
'sku': string | null;
|
|
5754
5751
|
/**
|
|
5755
5752
|
* Price
|
|
5756
5753
|
*/
|
|
@@ -5758,11 +5755,11 @@ export interface PriceListItemModel {
|
|
|
5758
5755
|
/**
|
|
5759
5756
|
* RRP
|
|
5760
5757
|
*/
|
|
5761
|
-
'rrp'
|
|
5758
|
+
'rrp': number | null;
|
|
5762
5759
|
/**
|
|
5763
5760
|
* Stock
|
|
5764
5761
|
*/
|
|
5765
|
-
'stock'
|
|
5762
|
+
'stock': number | null;
|
|
5766
5763
|
}
|
|
5767
5764
|
/**
|
|
5768
5765
|
* PrintersEntity
|
|
@@ -5919,7 +5916,7 @@ export interface ProductPriceListItemModel {
|
|
|
5919
5916
|
/**
|
|
5920
5917
|
* SKU
|
|
5921
5918
|
*/
|
|
5922
|
-
'sku'
|
|
5919
|
+
'sku': string | null;
|
|
5923
5920
|
/**
|
|
5924
5921
|
* Price
|
|
5925
5922
|
*/
|
|
@@ -5927,11 +5924,11 @@ export interface ProductPriceListItemModel {
|
|
|
5927
5924
|
/**
|
|
5928
5925
|
* RRP
|
|
5929
5926
|
*/
|
|
5930
|
-
'rrp'
|
|
5927
|
+
'rrp': number | null;
|
|
5931
5928
|
/**
|
|
5932
5929
|
* Stock
|
|
5933
5930
|
*/
|
|
5934
|
-
'stock'
|
|
5931
|
+
'stock': number | null;
|
|
5935
5932
|
/**
|
|
5936
5933
|
* Brand
|
|
5937
5934
|
*/
|
|
@@ -5986,7 +5983,7 @@ export interface ProductSerialInfoModel {
|
|
|
5986
5983
|
/**
|
|
5987
5984
|
* Serial Prefix
|
|
5988
5985
|
*/
|
|
5989
|
-
'serial_prefixes'
|
|
5986
|
+
'serial_prefixes': Array<string> | null;
|
|
5990
5987
|
}
|
|
5991
5988
|
/**
|
|
5992
5989
|
* Product Summary
|
|
@@ -6130,15 +6127,15 @@ export interface ProspectDTO {
|
|
|
6130
6127
|
/**
|
|
6131
6128
|
* Telephone
|
|
6132
6129
|
*/
|
|
6133
|
-
'telephone'
|
|
6130
|
+
'telephone': string | null;
|
|
6134
6131
|
/**
|
|
6135
6132
|
* Last Order Date
|
|
6136
6133
|
*/
|
|
6137
|
-
'lastOrderDate'
|
|
6134
|
+
'lastOrderDate': string | null;
|
|
6138
6135
|
/**
|
|
6139
6136
|
* Call Back Date
|
|
6140
6137
|
*/
|
|
6141
|
-
'callbackDate'
|
|
6138
|
+
'callbackDate': string | null;
|
|
6142
6139
|
/**
|
|
6143
6140
|
* Xero ID
|
|
6144
6141
|
*/
|
|
@@ -6366,7 +6363,7 @@ export interface RecordingBackupAzureModel {
|
|
|
6366
6363
|
/**
|
|
6367
6364
|
* Recordings Path
|
|
6368
6365
|
*/
|
|
6369
|
-
'recordings_path'
|
|
6366
|
+
'recordings_path': string | null;
|
|
6370
6367
|
}
|
|
6371
6368
|
/**
|
|
6372
6369
|
* Recordings Backup Info
|
|
@@ -6375,11 +6372,11 @@ export interface RecordingsBackupInfoDTO {
|
|
|
6375
6372
|
/**
|
|
6376
6373
|
* Azure Backup Storage
|
|
6377
6374
|
*/
|
|
6378
|
-
'backup'
|
|
6375
|
+
'backup': RecordingBackupAzureModel | null;
|
|
6379
6376
|
/**
|
|
6380
6377
|
* 3CX Remote Storage
|
|
6381
6378
|
*/
|
|
6382
|
-
'storage'
|
|
6379
|
+
'storage': TcxRemoteStorageModel | null;
|
|
6383
6380
|
}
|
|
6384
6381
|
export interface RecurringCharge {
|
|
6385
6382
|
'createdDate'?: string;
|
|
@@ -6430,35 +6427,35 @@ export interface ReportRequestDTO {
|
|
|
6430
6427
|
/**
|
|
6431
6428
|
* Start
|
|
6432
6429
|
*/
|
|
6433
|
-
'start'
|
|
6430
|
+
'start': string | null;
|
|
6434
6431
|
/**
|
|
6435
6432
|
* End
|
|
6436
6433
|
*/
|
|
6437
|
-
'end'
|
|
6434
|
+
'end': string | null;
|
|
6438
6435
|
/**
|
|
6439
6436
|
* Month
|
|
6440
6437
|
*/
|
|
6441
|
-
'month'
|
|
6438
|
+
'month': number | null;
|
|
6442
6439
|
/**
|
|
6443
6440
|
* Year
|
|
6444
6441
|
*/
|
|
6445
|
-
'year'
|
|
6442
|
+
'year': number | null;
|
|
6446
6443
|
/**
|
|
6447
6444
|
* SKU
|
|
6448
6445
|
*/
|
|
6449
|
-
'sku'
|
|
6446
|
+
'sku': string | null;
|
|
6450
6447
|
/**
|
|
6451
6448
|
* Price
|
|
6452
6449
|
*/
|
|
6453
|
-
'price'
|
|
6450
|
+
'price': number | null;
|
|
6454
6451
|
/**
|
|
6455
6452
|
* Recipients
|
|
6456
6453
|
*/
|
|
6457
|
-
'recipients'
|
|
6454
|
+
'recipients': Array<string> | null;
|
|
6458
6455
|
/**
|
|
6459
6456
|
* Graph Type
|
|
6460
6457
|
*/
|
|
6461
|
-
'graphType'
|
|
6458
|
+
'graphType': ReportRequestDTOGraphTypeEnum | null;
|
|
6462
6459
|
}
|
|
6463
6460
|
|
|
6464
6461
|
export const ReportRequestDTOReportEnum = {
|
|
@@ -6611,10 +6608,7 @@ export interface RmaDTO {
|
|
|
6611
6608
|
* RMA Approval Status
|
|
6612
6609
|
*/
|
|
6613
6610
|
'approved': boolean;
|
|
6614
|
-
|
|
6615
|
-
* RMA Return Address
|
|
6616
|
-
*/
|
|
6617
|
-
'address'?: AddressDTO | null;
|
|
6611
|
+
'address': AddressDTO;
|
|
6618
6612
|
/**
|
|
6619
6613
|
* RMA Items
|
|
6620
6614
|
*/
|
|
@@ -6665,11 +6659,11 @@ export interface RmaItemDTO {
|
|
|
6665
6659
|
/**
|
|
6666
6660
|
* RMA Item MAC Address
|
|
6667
6661
|
*/
|
|
6668
|
-
'macAddress'
|
|
6662
|
+
'macAddress': string | null;
|
|
6669
6663
|
/**
|
|
6670
6664
|
* RMA Item Serial Number
|
|
6671
6665
|
*/
|
|
6672
|
-
'serialNumber'
|
|
6666
|
+
'serialNumber': string | null;
|
|
6673
6667
|
/**
|
|
6674
6668
|
* RMA Item Received Status
|
|
6675
6669
|
*/
|
|
@@ -6703,11 +6697,11 @@ export interface RmaItemRequestDTO {
|
|
|
6703
6697
|
/**
|
|
6704
6698
|
* RMA Item MAC Address
|
|
6705
6699
|
*/
|
|
6706
|
-
'macAddress'
|
|
6700
|
+
'macAddress': string | null;
|
|
6707
6701
|
/**
|
|
6708
6702
|
* RMA Item Serial Number
|
|
6709
6703
|
*/
|
|
6710
|
-
'serialNumber'
|
|
6704
|
+
'serialNumber': string | null;
|
|
6711
6705
|
}
|
|
6712
6706
|
/**
|
|
6713
6707
|
* RMA Order
|
|
@@ -6983,35 +6977,35 @@ export interface SbcDTO {
|
|
|
6983
6977
|
/**
|
|
6984
6978
|
* No Config
|
|
6985
6979
|
*/
|
|
6986
|
-
'noConfig'
|
|
6980
|
+
'noConfig': boolean | null;
|
|
6987
6981
|
/**
|
|
6988
6982
|
* DHCP
|
|
6989
6983
|
*/
|
|
6990
|
-
'dhcp'
|
|
6984
|
+
'dhcp': boolean | null;
|
|
6991
6985
|
/**
|
|
6992
6986
|
* 3CX URL
|
|
6993
6987
|
*/
|
|
6994
|
-
'url'
|
|
6988
|
+
'url': boolean | null;
|
|
6995
6989
|
/**
|
|
6996
6990
|
* 3CX SBC Auth Key
|
|
6997
6991
|
*/
|
|
6998
|
-
'authKey'
|
|
6992
|
+
'authKey': boolean | null;
|
|
6999
6993
|
/**
|
|
7000
6994
|
* LAN IP Address
|
|
7001
6995
|
*/
|
|
7002
|
-
'ipAddress'
|
|
6996
|
+
'ipAddress': boolean | null;
|
|
7003
6997
|
/**
|
|
7004
6998
|
* LAN Subnet Mask
|
|
7005
6999
|
*/
|
|
7006
|
-
'subnetMask'
|
|
7000
|
+
'subnetMask': boolean | null;
|
|
7007
7001
|
/**
|
|
7008
7002
|
* LAN Default Gateway
|
|
7009
7003
|
*/
|
|
7010
|
-
'defaultGateway'
|
|
7004
|
+
'defaultGateway': boolean | null;
|
|
7011
7005
|
/**
|
|
7012
7006
|
* DNS
|
|
7013
7007
|
*/
|
|
7014
|
-
'dns'
|
|
7008
|
+
'dns': boolean | null;
|
|
7015
7009
|
}
|
|
7016
7010
|
/**
|
|
7017
7011
|
* Item MAC & Serial Details
|
|
@@ -7020,15 +7014,15 @@ export interface ScannedItemModel {
|
|
|
7020
7014
|
/**
|
|
7021
7015
|
* Title
|
|
7022
7016
|
*/
|
|
7023
|
-
'title'
|
|
7017
|
+
'title': string | null;
|
|
7024
7018
|
/**
|
|
7025
7019
|
* SKU
|
|
7026
7020
|
*/
|
|
7027
|
-
'sku'
|
|
7021
|
+
'sku': string | null;
|
|
7028
7022
|
/**
|
|
7029
7023
|
* 3CX Label
|
|
7030
7024
|
*/
|
|
7031
|
-
'tcxLabel'
|
|
7025
|
+
'tcxLabel': string | null;
|
|
7032
7026
|
/**
|
|
7033
7027
|
* Serial Numbers
|
|
7034
7028
|
*/
|
|
@@ -7036,7 +7030,7 @@ export interface ScannedItemModel {
|
|
|
7036
7030
|
/**
|
|
7037
7031
|
* MAC Address
|
|
7038
7032
|
*/
|
|
7039
|
-
'macAddress'
|
|
7033
|
+
'macAddress': string | null;
|
|
7040
7034
|
}
|
|
7041
7035
|
/**
|
|
7042
7036
|
* OAuth2 Scope
|
|
@@ -7117,7 +7111,7 @@ export interface SeriesDTO {
|
|
|
7117
7111
|
/**
|
|
7118
7112
|
* Stack
|
|
7119
7113
|
*/
|
|
7120
|
-
'stack'
|
|
7114
|
+
'stack': string | null;
|
|
7121
7115
|
/**
|
|
7122
7116
|
* Data
|
|
7123
7117
|
*/
|
|
@@ -7257,27 +7251,27 @@ export interface ShipmentDTO {
|
|
|
7257
7251
|
/**
|
|
7258
7252
|
* ID
|
|
7259
7253
|
*/
|
|
7260
|
-
'id'
|
|
7254
|
+
'id': number | null;
|
|
7261
7255
|
/**
|
|
7262
7256
|
* Batch ID
|
|
7263
7257
|
*/
|
|
7264
|
-
'batchId'
|
|
7258
|
+
'batchId': number | null;
|
|
7265
7259
|
/**
|
|
7266
7260
|
* Courier
|
|
7267
7261
|
*/
|
|
7268
|
-
'courier'
|
|
7262
|
+
'courier': ShipmentDTOCourierEnum | null;
|
|
7269
7263
|
/**
|
|
7270
7264
|
* Courier Reference
|
|
7271
7265
|
*/
|
|
7272
|
-
'reference'
|
|
7266
|
+
'reference': string | null;
|
|
7273
7267
|
/**
|
|
7274
7268
|
* Courier Tracking
|
|
7275
7269
|
*/
|
|
7276
|
-
'tracking'
|
|
7270
|
+
'tracking': string | null;
|
|
7277
7271
|
/**
|
|
7278
7272
|
* Courier Tracking URL
|
|
7279
7273
|
*/
|
|
7280
|
-
'trackingUrl'
|
|
7274
|
+
'trackingUrl': string | null;
|
|
7281
7275
|
/**
|
|
7282
7276
|
* Date Time
|
|
7283
7277
|
*/
|
|
@@ -7294,7 +7288,7 @@ export interface ShipmentDTO {
|
|
|
7294
7288
|
/**
|
|
7295
7289
|
* Boxes Shipped
|
|
7296
7290
|
*/
|
|
7297
|
-
'boxes'
|
|
7291
|
+
'boxes': number | null;
|
|
7298
7292
|
}
|
|
7299
7293
|
|
|
7300
7294
|
export const ShipmentDTOCourierEnum = {
|
|
@@ -7486,7 +7480,7 @@ export interface ShipmentRequestDTO {
|
|
|
7486
7480
|
/**
|
|
7487
7481
|
* Address
|
|
7488
7482
|
*/
|
|
7489
|
-
'address'
|
|
7483
|
+
'address': AddressModel | null;
|
|
7490
7484
|
/**
|
|
7491
7485
|
* Scanned Lines
|
|
7492
7486
|
*/
|
|
@@ -7498,7 +7492,7 @@ export interface ShipmentRequestDTO {
|
|
|
7498
7492
|
/**
|
|
7499
7493
|
* Ship Date
|
|
7500
7494
|
*/
|
|
7501
|
-
'shipDate'
|
|
7495
|
+
'shipDate': string | null;
|
|
7502
7496
|
/**
|
|
7503
7497
|
* Items
|
|
7504
7498
|
*/
|
|
@@ -7521,35 +7515,35 @@ export interface ShippingAddressDTO {
|
|
|
7521
7515
|
/**
|
|
7522
7516
|
* Ship Name
|
|
7523
7517
|
*/
|
|
7524
|
-
'shipName'
|
|
7518
|
+
'shipName': string | null;
|
|
7525
7519
|
/**
|
|
7526
7520
|
* Ship Company
|
|
7527
7521
|
*/
|
|
7528
|
-
'shipCompany'
|
|
7522
|
+
'shipCompany': string | null;
|
|
7529
7523
|
/**
|
|
7530
7524
|
* Ship Address Line 1
|
|
7531
7525
|
*/
|
|
7532
|
-
'shipAddress1'
|
|
7526
|
+
'shipAddress1': string | null;
|
|
7533
7527
|
/**
|
|
7534
7528
|
* Ship Address Line 2
|
|
7535
7529
|
*/
|
|
7536
|
-
'shipAddress2'
|
|
7530
|
+
'shipAddress2': string | null;
|
|
7537
7531
|
/**
|
|
7538
7532
|
* Ship City
|
|
7539
7533
|
*/
|
|
7540
|
-
'shipCity'
|
|
7534
|
+
'shipCity': string | null;
|
|
7541
7535
|
/**
|
|
7542
7536
|
* Ship Region
|
|
7543
7537
|
*/
|
|
7544
|
-
'shipRegion'
|
|
7538
|
+
'shipRegion': string | null;
|
|
7545
7539
|
/**
|
|
7546
7540
|
* Ship Post Code
|
|
7547
7541
|
*/
|
|
7548
|
-
'shipPostCode'
|
|
7542
|
+
'shipPostCode': string | null;
|
|
7549
7543
|
/**
|
|
7550
7544
|
* Ship ISO
|
|
7551
7545
|
*/
|
|
7552
|
-
'shipIso'
|
|
7546
|
+
'shipIso': string | null;
|
|
7553
7547
|
}
|
|
7554
7548
|
export interface ShippingConsignmentModel {
|
|
7555
7549
|
'service': ShippingServiceModel;
|
|
@@ -7599,8 +7593,8 @@ export interface ShippingRequestDTO {
|
|
|
7599
7593
|
/**
|
|
7600
7594
|
* Printer
|
|
7601
7595
|
*/
|
|
7602
|
-
'printer'
|
|
7603
|
-
'shipment'
|
|
7596
|
+
'printer': ShippingRequestDTOPrinterEnum | null;
|
|
7597
|
+
'shipment': ShipmentRequestDTO | null;
|
|
7604
7598
|
}
|
|
7605
7599
|
|
|
7606
7600
|
export const ShippingRequestDTOCourierEnum = {
|
|
@@ -7665,11 +7659,11 @@ export interface ShippingServiceModel {
|
|
|
7665
7659
|
/**
|
|
7666
7660
|
* Label
|
|
7667
7661
|
*/
|
|
7668
|
-
'label'
|
|
7662
|
+
'label': string | null;
|
|
7669
7663
|
/**
|
|
7670
7664
|
* Price
|
|
7671
7665
|
*/
|
|
7672
|
-
'price'
|
|
7666
|
+
'price': number | null;
|
|
7673
7667
|
}
|
|
7674
7668
|
|
|
7675
7669
|
export const ShippingServiceModelCourierEnum = {
|
|
@@ -7876,7 +7870,7 @@ export interface SmsAccountEntity {
|
|
|
7876
7870
|
/**
|
|
7877
7871
|
* trunkId
|
|
7878
7872
|
*/
|
|
7879
|
-
'trunkId'
|
|
7873
|
+
'trunkId': number | null;
|
|
7880
7874
|
/**
|
|
7881
7875
|
* name
|
|
7882
7876
|
*/
|
|
@@ -7981,7 +7975,7 @@ export interface SmsPhoneNumberModel {
|
|
|
7981
7975
|
/**
|
|
7982
7976
|
* status
|
|
7983
7977
|
*/
|
|
7984
|
-
'status'
|
|
7978
|
+
'status': SmsPhoneNumberModelStatusEnum | null;
|
|
7985
7979
|
}
|
|
7986
7980
|
|
|
7987
7981
|
export const SmsPhoneNumberModelStatusEnum = {
|
|
@@ -8338,7 +8332,7 @@ export interface StockOrderModel {
|
|
|
8338
8332
|
/**
|
|
8339
8333
|
* Delivery Method
|
|
8340
8334
|
*/
|
|
8341
|
-
'deliveryMethod'
|
|
8335
|
+
'deliveryMethod': StockOrderModelDeliveryMethodEnum | null;
|
|
8342
8336
|
/**
|
|
8343
8337
|
* Delivery Cost
|
|
8344
8338
|
*/
|
|
@@ -8600,7 +8594,7 @@ export interface StockProductPriceModel {
|
|
|
8600
8594
|
/**
|
|
8601
8595
|
* Price (£)
|
|
8602
8596
|
*/
|
|
8603
|
-
'price'
|
|
8597
|
+
'price': number | null;
|
|
8604
8598
|
}
|
|
8605
8599
|
|
|
8606
8600
|
|
|
@@ -9010,7 +9004,7 @@ export interface SupportTicketModel {
|
|
|
9010
9004
|
/**
|
|
9011
9005
|
* Support email address
|
|
9012
9006
|
*/
|
|
9013
|
-
'supportEmail'
|
|
9007
|
+
'supportEmail': string | null;
|
|
9014
9008
|
/**
|
|
9015
9009
|
* Recipient emails
|
|
9016
9010
|
*/
|
|
@@ -9368,15 +9362,15 @@ export interface TcxInstallationModel {
|
|
|
9368
9362
|
/**
|
|
9369
9363
|
* 3CX Licence Key
|
|
9370
9364
|
*/
|
|
9371
|
-
'licenceKey'
|
|
9365
|
+
'licenceKey': string | null;
|
|
9372
9366
|
/**
|
|
9373
9367
|
* End User
|
|
9374
9368
|
*/
|
|
9375
|
-
'endUser'
|
|
9369
|
+
'endUser': string | null;
|
|
9376
9370
|
/**
|
|
9377
9371
|
* Reseller
|
|
9378
9372
|
*/
|
|
9379
|
-
'reseller'
|
|
9373
|
+
'reseller': string | null;
|
|
9380
9374
|
/**
|
|
9381
9375
|
* Company Name
|
|
9382
9376
|
*/
|
|
@@ -9392,7 +9386,7 @@ export interface TcxInstallationModel {
|
|
|
9392
9386
|
/**
|
|
9393
9387
|
* Install Type
|
|
9394
9388
|
*/
|
|
9395
|
-
'installType'
|
|
9389
|
+
'installType': string | null;
|
|
9396
9390
|
/**
|
|
9397
9391
|
* Config Type
|
|
9398
9392
|
*/
|
|
@@ -9400,27 +9394,27 @@ export interface TcxInstallationModel {
|
|
|
9400
9394
|
/**
|
|
9401
9395
|
* FQDN
|
|
9402
9396
|
*/
|
|
9403
|
-
'fqdn'
|
|
9397
|
+
'fqdn': string | null;
|
|
9404
9398
|
/**
|
|
9405
9399
|
* PBX IP Address
|
|
9406
9400
|
*/
|
|
9407
|
-
'ipAddress'
|
|
9401
|
+
'ipAddress': string | null;
|
|
9408
9402
|
/**
|
|
9409
9403
|
* Failover IP Address
|
|
9410
9404
|
*/
|
|
9411
|
-
'reservedIpAddress'
|
|
9405
|
+
'reservedIpAddress': string | null;
|
|
9412
9406
|
/**
|
|
9413
9407
|
* 3CX Console URL
|
|
9414
9408
|
*/
|
|
9415
|
-
'tcxUrl'
|
|
9409
|
+
'tcxUrl': string | null;
|
|
9416
9410
|
/**
|
|
9417
9411
|
* Wizard URL
|
|
9418
9412
|
*/
|
|
9419
|
-
'wizardUrl'
|
|
9413
|
+
'wizardUrl': string | null;
|
|
9420
9414
|
/**
|
|
9421
9415
|
* 3CX Credentials URL
|
|
9422
9416
|
*/
|
|
9423
|
-
'credentialsUrl'
|
|
9417
|
+
'credentialsUrl': string | null;
|
|
9424
9418
|
/**
|
|
9425
9419
|
* Hosting Price
|
|
9426
9420
|
*/
|
|
@@ -9460,15 +9454,15 @@ export interface TcxInstallationModel {
|
|
|
9460
9454
|
/**
|
|
9461
9455
|
* 3CX Software Version
|
|
9462
9456
|
*/
|
|
9463
|
-
'version'
|
|
9457
|
+
'version': string | null;
|
|
9464
9458
|
/**
|
|
9465
9459
|
* Recordings Disk Size
|
|
9466
9460
|
*/
|
|
9467
|
-
'disk'
|
|
9461
|
+
'disk': number | null;
|
|
9468
9462
|
/**
|
|
9469
9463
|
* Instance Spec
|
|
9470
9464
|
*/
|
|
9471
|
-
'flavour'
|
|
9465
|
+
'flavour': string | null;
|
|
9472
9466
|
/**
|
|
9473
9467
|
* Auto Failover
|
|
9474
9468
|
*/
|
|
@@ -9476,11 +9470,11 @@ export interface TcxInstallationModel {
|
|
|
9476
9470
|
/**
|
|
9477
9471
|
* Extensions in Use
|
|
9478
9472
|
*/
|
|
9479
|
-
'extensions'
|
|
9473
|
+
'extensions': number | null;
|
|
9480
9474
|
/**
|
|
9481
9475
|
* Max Allowed Extensions
|
|
9482
9476
|
*/
|
|
9483
|
-
'maxExtensions'
|
|
9477
|
+
'maxExtensions': number | null;
|
|
9484
9478
|
}
|
|
9485
9479
|
/**
|
|
9486
9480
|
* 3CX Installations
|
|
@@ -9514,7 +9508,7 @@ export interface TcxKeySummaryDTO {
|
|
|
9514
9508
|
/**
|
|
9515
9509
|
* End User
|
|
9516
9510
|
*/
|
|
9517
|
-
'endUser'
|
|
9511
|
+
'endUser': string | null;
|
|
9518
9512
|
/**
|
|
9519
9513
|
* Simultaneous Calls
|
|
9520
9514
|
*/
|
|
@@ -9526,7 +9520,7 @@ export interface TcxKeySummaryDTO {
|
|
|
9526
9520
|
/**
|
|
9527
9521
|
* Expiry Date
|
|
9528
9522
|
*/
|
|
9529
|
-
'expiry'
|
|
9523
|
+
'expiry': string | null;
|
|
9530
9524
|
}
|
|
9531
9525
|
/**
|
|
9532
9526
|
* TcxKeysEntity
|
|
@@ -9651,27 +9645,27 @@ export interface TcxMultiTenantModel {
|
|
|
9651
9645
|
/**
|
|
9652
9646
|
* Host Server
|
|
9653
9647
|
*/
|
|
9654
|
-
'server'
|
|
9648
|
+
'server': string | null;
|
|
9655
9649
|
/**
|
|
9656
9650
|
* Tenant Reference
|
|
9657
9651
|
*/
|
|
9658
|
-
'reference'
|
|
9652
|
+
'reference': string | null;
|
|
9659
9653
|
/**
|
|
9660
9654
|
* Tenant Package
|
|
9661
9655
|
*/
|
|
9662
|
-
'package'
|
|
9656
|
+
'package': TcxMultiTenantModelPackageEnum | null;
|
|
9663
9657
|
/**
|
|
9664
9658
|
* Price Per User
|
|
9665
9659
|
*/
|
|
9666
|
-
'price'
|
|
9660
|
+
'price': number | null;
|
|
9667
9661
|
/**
|
|
9668
9662
|
* Admin Username
|
|
9669
9663
|
*/
|
|
9670
|
-
'username'
|
|
9664
|
+
'username': string | null;
|
|
9671
9665
|
/**
|
|
9672
9666
|
* Admin Password
|
|
9673
9667
|
*/
|
|
9674
|
-
'password'
|
|
9668
|
+
'password': string | null;
|
|
9675
9669
|
/**
|
|
9676
9670
|
* Tenant Name
|
|
9677
9671
|
*/
|
|
@@ -9695,7 +9689,7 @@ export interface TcxMultiTenantModel {
|
|
|
9695
9689
|
/**
|
|
9696
9690
|
* Tenant Main Number
|
|
9697
9691
|
*/
|
|
9698
|
-
'mainNumber'
|
|
9692
|
+
'mainNumber': string | null;
|
|
9699
9693
|
/**
|
|
9700
9694
|
* Tenant Numbers
|
|
9701
9695
|
*/
|
|
@@ -9919,7 +9913,7 @@ export interface TcxSbcDTO {
|
|
|
9919
9913
|
/**
|
|
9920
9914
|
* ID
|
|
9921
9915
|
*/
|
|
9922
|
-
'id'
|
|
9916
|
+
'id': number | null;
|
|
9923
9917
|
/**
|
|
9924
9918
|
* LAN IP Address
|
|
9925
9919
|
*/
|
|
@@ -10111,7 +10105,7 @@ export interface TcxSetupEntity {
|
|
|
10111
10105
|
/**
|
|
10112
10106
|
* Install Type
|
|
10113
10107
|
*/
|
|
10114
|
-
'installType'
|
|
10108
|
+
'installType': TcxSetupEntityInstallTypeEnum | null;
|
|
10115
10109
|
/**
|
|
10116
10110
|
* 3CX Install Version
|
|
10117
10111
|
*/
|
|
@@ -10379,15 +10373,15 @@ export interface TcxWizardModel {
|
|
|
10379
10373
|
* Install Type
|
|
10380
10374
|
*/
|
|
10381
10375
|
'installType': TcxWizardModelInstallTypeEnum;
|
|
10382
|
-
'backup'
|
|
10376
|
+
'backup': TcxBackupModel | null;
|
|
10383
10377
|
'extensions': Array<TcxExtsEntity>;
|
|
10384
10378
|
'numbers': Array<TcxNumbersEntity>;
|
|
10385
|
-
'officeHours'
|
|
10379
|
+
'officeHours': TcxOfficeHoursEntity | null;
|
|
10386
10380
|
'phones': Array<TcxPhoneModel>;
|
|
10387
10381
|
'sbcs': Array<TcxSbcModel>;
|
|
10388
|
-
'sipTrunk'
|
|
10389
|
-
'installationStatus'
|
|
10390
|
-
'setup'
|
|
10382
|
+
'sipTrunk': TcxSipTrunksEntity | null;
|
|
10383
|
+
'installationStatus': TcxWizardModelInstallationStatusEnum | null;
|
|
10384
|
+
'setup': TcxSetupEntity | null;
|
|
10391
10385
|
/**
|
|
10392
10386
|
* End User Wizard View
|
|
10393
10387
|
*/
|
|
@@ -10471,7 +10465,7 @@ export interface TicketSummaryModel {
|
|
|
10471
10465
|
/**
|
|
10472
10466
|
* status
|
|
10473
10467
|
*/
|
|
10474
|
-
'statusId'
|
|
10468
|
+
'statusId': number | null;
|
|
10475
10469
|
/**
|
|
10476
10470
|
* lastUpdated
|
|
10477
10471
|
*/
|
|
@@ -10658,11 +10652,11 @@ export interface UserEntity {
|
|
|
10658
10652
|
/**
|
|
10659
10653
|
* primaryHex
|
|
10660
10654
|
*/
|
|
10661
|
-
'primaryHex'
|
|
10655
|
+
'primaryHex': number | null;
|
|
10662
10656
|
/**
|
|
10663
10657
|
* secondaryHex
|
|
10664
10658
|
*/
|
|
10665
|
-
'secondaryHex'
|
|
10659
|
+
'secondaryHex': number | null;
|
|
10666
10660
|
}
|
|
10667
10661
|
/**
|
|
10668
10662
|
* XeroLogEntity
|
|
@@ -24809,22 +24803,42 @@ export const NumberPortingApiAxiosParamCreator = function (configuration?: Confi
|
|
|
24809
24803
|
},
|
|
24810
24804
|
/**
|
|
24811
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
|
|
24812
24816
|
* @param {Array<NumberPortRangeRequestDTO>} numberRanges Number Ranges
|
|
24813
24817
|
* @param {File} cloa CLOA (only provide on submission)
|
|
24814
|
-
* @param {string | null} [companyName] Company Name
|
|
24815
|
-
* @param {string | null} [addressLine1] Address Line 1
|
|
24816
|
-
* @param {string | null} [addressLine2] Address Line 2
|
|
24817
|
-
* @param {string | null} [city] City
|
|
24818
|
-
* @param {string | null} [postCode] Post Code
|
|
24819
|
-
* @param {number | null} [trunkId] Trunk ID
|
|
24820
|
-
* @param {string | null} [tenantId] Starter Bundle ID
|
|
24821
|
-
* @param {string | null} [requestedPortDate] Requested Port Date
|
|
24822
|
-
* @param {boolean | null} [asap] Port Date ASAP
|
|
24823
|
-
* @param {string | null} [comment] Comment
|
|
24824
24818
|
* @param {*} [options] Override http request option.
|
|
24825
24819
|
* @throws {RequiredError}
|
|
24826
24820
|
*/
|
|
24827
|
-
postCreateNumberPort: async (
|
|
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)
|
|
24828
24842
|
// verify required parameter 'numberRanges' is not null or undefined
|
|
24829
24843
|
assertParamExists('postCreateNumberPort', 'numberRanges', numberRanges)
|
|
24830
24844
|
// verify required parameter 'cloa' is not null or undefined
|
|
@@ -24906,24 +24920,44 @@ export const NumberPortingApiAxiosParamCreator = function (configuration?: Confi
|
|
|
24906
24920
|
/**
|
|
24907
24921
|
*
|
|
24908
24922
|
* @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
|
|
24909
24933
|
* @param {Array<NumberPortRangeRequestDTO>} numberRanges Number Ranges
|
|
24910
24934
|
* @param {File} cloa CLOA (only provide on submission)
|
|
24911
|
-
* @param {string | null} [companyName] Company Name
|
|
24912
|
-
* @param {string | null} [addressLine1] Address Line 1
|
|
24913
|
-
* @param {string | null} [addressLine2] Address Line 2
|
|
24914
|
-
* @param {string | null} [city] City
|
|
24915
|
-
* @param {string | null} [postCode] Post Code
|
|
24916
|
-
* @param {number | null} [trunkId] Trunk ID
|
|
24917
|
-
* @param {string | null} [tenantId] Starter Bundle ID
|
|
24918
|
-
* @param {string | null} [requestedPortDate] Requested Port Date
|
|
24919
|
-
* @param {boolean | null} [asap] Port Date ASAP
|
|
24920
|
-
* @param {string | null} [comment] Comment
|
|
24921
24935
|
* @param {*} [options] Override http request option.
|
|
24922
24936
|
* @throws {RequiredError}
|
|
24923
24937
|
*/
|
|
24924
|
-
postSubmitNumberPort: async (id: number,
|
|
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> => {
|
|
24925
24939
|
// verify required parameter 'id' is not null or undefined
|
|
24926
24940
|
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)
|
|
24927
24961
|
// verify required parameter 'numberRanges' is not null or undefined
|
|
24928
24962
|
assertParamExists('postSubmitNumberPort', 'numberRanges', numberRanges)
|
|
24929
24963
|
// verify required parameter 'cloa' is not null or undefined
|
|
@@ -25006,24 +25040,44 @@ export const NumberPortingApiAxiosParamCreator = function (configuration?: Confi
|
|
|
25006
25040
|
/**
|
|
25007
25041
|
*
|
|
25008
25042
|
* @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
|
|
25009
25053
|
* @param {Array<NumberPortRangeRequestDTO>} numberRanges Number Ranges
|
|
25010
25054
|
* @param {File} cloa CLOA (only provide on submission)
|
|
25011
|
-
* @param {string | null} [companyName] Company Name
|
|
25012
|
-
* @param {string | null} [addressLine1] Address Line 1
|
|
25013
|
-
* @param {string | null} [addressLine2] Address Line 2
|
|
25014
|
-
* @param {string | null} [city] City
|
|
25015
|
-
* @param {string | null} [postCode] Post Code
|
|
25016
|
-
* @param {number | null} [trunkId] Trunk ID
|
|
25017
|
-
* @param {string | null} [tenantId] Starter Bundle ID
|
|
25018
|
-
* @param {string | null} [requestedPortDate] Requested Port Date
|
|
25019
|
-
* @param {boolean | null} [asap] Port Date ASAP
|
|
25020
|
-
* @param {string | null} [comment] Comment
|
|
25021
25055
|
* @param {*} [options] Override http request option.
|
|
25022
25056
|
* @throws {RequiredError}
|
|
25023
25057
|
*/
|
|
25024
|
-
postUpdateNumberPort: async (id: number,
|
|
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> => {
|
|
25025
25059
|
// verify required parameter 'id' is not null or undefined
|
|
25026
25060
|
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)
|
|
25027
25081
|
// verify required parameter 'numberRanges' is not null or undefined
|
|
25028
25082
|
assertParamExists('postUpdateNumberPort', 'numberRanges', numberRanges)
|
|
25029
25083
|
// verify required parameter 'cloa' is not null or undefined
|
|
@@ -25253,23 +25307,23 @@ export const NumberPortingApiFp = function(configuration?: Configuration) {
|
|
|
25253
25307
|
},
|
|
25254
25308
|
/**
|
|
25255
25309
|
*
|
|
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
|
|
25256
25320
|
* @param {Array<NumberPortRangeRequestDTO>} numberRanges Number Ranges
|
|
25257
25321
|
* @param {File} cloa CLOA (only provide on submission)
|
|
25258
|
-
* @param {string | null} [companyName] Company Name
|
|
25259
|
-
* @param {string | null} [addressLine1] Address Line 1
|
|
25260
|
-
* @param {string | null} [addressLine2] Address Line 2
|
|
25261
|
-
* @param {string | null} [city] City
|
|
25262
|
-
* @param {string | null} [postCode] Post Code
|
|
25263
|
-
* @param {number | null} [trunkId] Trunk ID
|
|
25264
|
-
* @param {string | null} [tenantId] Starter Bundle ID
|
|
25265
|
-
* @param {string | null} [requestedPortDate] Requested Port Date
|
|
25266
|
-
* @param {boolean | null} [asap] Port Date ASAP
|
|
25267
|
-
* @param {string | null} [comment] Comment
|
|
25268
25322
|
* @param {*} [options] Override http request option.
|
|
25269
25323
|
* @throws {RequiredError}
|
|
25270
25324
|
*/
|
|
25271
|
-
async postCreateNumberPort(
|
|
25272
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.postCreateNumberPort(
|
|
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);
|
|
25273
25327
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
25274
25328
|
const localVarOperationServerBasePath = operationServerMap['NumberPortingApi.postCreateNumberPort']?.[localVarOperationServerIndex]?.url;
|
|
25275
25329
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -25277,23 +25331,23 @@ export const NumberPortingApiFp = function(configuration?: Configuration) {
|
|
|
25277
25331
|
/**
|
|
25278
25332
|
*
|
|
25279
25333
|
* @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
|
|
25280
25344
|
* @param {Array<NumberPortRangeRequestDTO>} numberRanges Number Ranges
|
|
25281
25345
|
* @param {File} cloa CLOA (only provide on submission)
|
|
25282
|
-
* @param {string | null} [companyName] Company Name
|
|
25283
|
-
* @param {string | null} [addressLine1] Address Line 1
|
|
25284
|
-
* @param {string | null} [addressLine2] Address Line 2
|
|
25285
|
-
* @param {string | null} [city] City
|
|
25286
|
-
* @param {string | null} [postCode] Post Code
|
|
25287
|
-
* @param {number | null} [trunkId] Trunk ID
|
|
25288
|
-
* @param {string | null} [tenantId] Starter Bundle ID
|
|
25289
|
-
* @param {string | null} [requestedPortDate] Requested Port Date
|
|
25290
|
-
* @param {boolean | null} [asap] Port Date ASAP
|
|
25291
|
-
* @param {string | null} [comment] Comment
|
|
25292
25346
|
* @param {*} [options] Override http request option.
|
|
25293
25347
|
* @throws {RequiredError}
|
|
25294
25348
|
*/
|
|
25295
|
-
async postSubmitNumberPort(id: number,
|
|
25296
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.postSubmitNumberPort(id,
|
|
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);
|
|
25297
25351
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
25298
25352
|
const localVarOperationServerBasePath = operationServerMap['NumberPortingApi.postSubmitNumberPort']?.[localVarOperationServerIndex]?.url;
|
|
25299
25353
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -25301,23 +25355,23 @@ export const NumberPortingApiFp = function(configuration?: Configuration) {
|
|
|
25301
25355
|
/**
|
|
25302
25356
|
*
|
|
25303
25357
|
* @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
|
|
25304
25368
|
* @param {Array<NumberPortRangeRequestDTO>} numberRanges Number Ranges
|
|
25305
25369
|
* @param {File} cloa CLOA (only provide on submission)
|
|
25306
|
-
* @param {string | null} [companyName] Company Name
|
|
25307
|
-
* @param {string | null} [addressLine1] Address Line 1
|
|
25308
|
-
* @param {string | null} [addressLine2] Address Line 2
|
|
25309
|
-
* @param {string | null} [city] City
|
|
25310
|
-
* @param {string | null} [postCode] Post Code
|
|
25311
|
-
* @param {number | null} [trunkId] Trunk ID
|
|
25312
|
-
* @param {string | null} [tenantId] Starter Bundle ID
|
|
25313
|
-
* @param {string | null} [requestedPortDate] Requested Port Date
|
|
25314
|
-
* @param {boolean | null} [asap] Port Date ASAP
|
|
25315
|
-
* @param {string | null} [comment] Comment
|
|
25316
25370
|
* @param {*} [options] Override http request option.
|
|
25317
25371
|
* @throws {RequiredError}
|
|
25318
25372
|
*/
|
|
25319
|
-
async postUpdateNumberPort(id: number,
|
|
25320
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.postUpdateNumberPort(id,
|
|
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);
|
|
25321
25375
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
25322
25376
|
const localVarOperationServerBasePath = operationServerMap['NumberPortingApi.postUpdateNumberPort']?.[localVarOperationServerIndex]?.url;
|
|
25323
25377
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -25423,65 +25477,65 @@ export const NumberPortingApiFactory = function (configuration?: Configuration,
|
|
|
25423
25477
|
},
|
|
25424
25478
|
/**
|
|
25425
25479
|
*
|
|
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
|
|
25426
25490
|
* @param {Array<NumberPortRangeRequestDTO>} numberRanges Number Ranges
|
|
25427
25491
|
* @param {File} cloa CLOA (only provide on submission)
|
|
25428
|
-
* @param {string | null} [companyName] Company Name
|
|
25429
|
-
* @param {string | null} [addressLine1] Address Line 1
|
|
25430
|
-
* @param {string | null} [addressLine2] Address Line 2
|
|
25431
|
-
* @param {string | null} [city] City
|
|
25432
|
-
* @param {string | null} [postCode] Post Code
|
|
25433
|
-
* @param {number | null} [trunkId] Trunk ID
|
|
25434
|
-
* @param {string | null} [tenantId] Starter Bundle ID
|
|
25435
|
-
* @param {string | null} [requestedPortDate] Requested Port Date
|
|
25436
|
-
* @param {boolean | null} [asap] Port Date ASAP
|
|
25437
|
-
* @param {string | null} [comment] Comment
|
|
25438
25492
|
* @param {*} [options] Override http request option.
|
|
25439
25493
|
* @throws {RequiredError}
|
|
25440
25494
|
*/
|
|
25441
|
-
postCreateNumberPort(
|
|
25442
|
-
return localVarFp.postCreateNumberPort(
|
|
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));
|
|
25443
25497
|
},
|
|
25444
25498
|
/**
|
|
25445
25499
|
*
|
|
25446
25500
|
* @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
|
|
25447
25511
|
* @param {Array<NumberPortRangeRequestDTO>} numberRanges Number Ranges
|
|
25448
25512
|
* @param {File} cloa CLOA (only provide on submission)
|
|
25449
|
-
* @param {string | null} [companyName] Company Name
|
|
25450
|
-
* @param {string | null} [addressLine1] Address Line 1
|
|
25451
|
-
* @param {string | null} [addressLine2] Address Line 2
|
|
25452
|
-
* @param {string | null} [city] City
|
|
25453
|
-
* @param {string | null} [postCode] Post Code
|
|
25454
|
-
* @param {number | null} [trunkId] Trunk ID
|
|
25455
|
-
* @param {string | null} [tenantId] Starter Bundle ID
|
|
25456
|
-
* @param {string | null} [requestedPortDate] Requested Port Date
|
|
25457
|
-
* @param {boolean | null} [asap] Port Date ASAP
|
|
25458
|
-
* @param {string | null} [comment] Comment
|
|
25459
25513
|
* @param {*} [options] Override http request option.
|
|
25460
25514
|
* @throws {RequiredError}
|
|
25461
25515
|
*/
|
|
25462
|
-
postSubmitNumberPort(id: number,
|
|
25463
|
-
return localVarFp.postSubmitNumberPort(id,
|
|
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));
|
|
25464
25518
|
},
|
|
25465
25519
|
/**
|
|
25466
25520
|
*
|
|
25467
25521
|
* @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
|
|
25468
25532
|
* @param {Array<NumberPortRangeRequestDTO>} numberRanges Number Ranges
|
|
25469
25533
|
* @param {File} cloa CLOA (only provide on submission)
|
|
25470
|
-
* @param {string | null} [companyName] Company Name
|
|
25471
|
-
* @param {string | null} [addressLine1] Address Line 1
|
|
25472
|
-
* @param {string | null} [addressLine2] Address Line 2
|
|
25473
|
-
* @param {string | null} [city] City
|
|
25474
|
-
* @param {string | null} [postCode] Post Code
|
|
25475
|
-
* @param {number | null} [trunkId] Trunk ID
|
|
25476
|
-
* @param {string | null} [tenantId] Starter Bundle ID
|
|
25477
|
-
* @param {string | null} [requestedPortDate] Requested Port Date
|
|
25478
|
-
* @param {boolean | null} [asap] Port Date ASAP
|
|
25479
|
-
* @param {string | null} [comment] Comment
|
|
25480
25534
|
* @param {*} [options] Override http request option.
|
|
25481
25535
|
* @throws {RequiredError}
|
|
25482
25536
|
*/
|
|
25483
|
-
postUpdateNumberPort(id: number,
|
|
25484
|
-
return localVarFp.postUpdateNumberPort(id,
|
|
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));
|
|
25485
25539
|
},
|
|
25486
25540
|
/**
|
|
25487
25541
|
*
|
|
@@ -25587,67 +25641,67 @@ export class NumberPortingApi extends BaseAPI {
|
|
|
25587
25641
|
|
|
25588
25642
|
/**
|
|
25589
25643
|
*
|
|
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
|
|
25590
25654
|
* @param {Array<NumberPortRangeRequestDTO>} numberRanges Number Ranges
|
|
25591
25655
|
* @param {File} cloa CLOA (only provide on submission)
|
|
25592
|
-
* @param {string | null} [companyName] Company Name
|
|
25593
|
-
* @param {string | null} [addressLine1] Address Line 1
|
|
25594
|
-
* @param {string | null} [addressLine2] Address Line 2
|
|
25595
|
-
* @param {string | null} [city] City
|
|
25596
|
-
* @param {string | null} [postCode] Post Code
|
|
25597
|
-
* @param {number | null} [trunkId] Trunk ID
|
|
25598
|
-
* @param {string | null} [tenantId] Starter Bundle ID
|
|
25599
|
-
* @param {string | null} [requestedPortDate] Requested Port Date
|
|
25600
|
-
* @param {boolean | null} [asap] Port Date ASAP
|
|
25601
|
-
* @param {string | null} [comment] Comment
|
|
25602
25656
|
* @param {*} [options] Override http request option.
|
|
25603
25657
|
* @throws {RequiredError}
|
|
25604
25658
|
*/
|
|
25605
|
-
public postCreateNumberPort(
|
|
25606
|
-
return NumberPortingApiFp(this.configuration).postCreateNumberPort(
|
|
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));
|
|
25607
25661
|
}
|
|
25608
25662
|
|
|
25609
25663
|
/**
|
|
25610
25664
|
*
|
|
25611
25665
|
* @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
|
|
25612
25676
|
* @param {Array<NumberPortRangeRequestDTO>} numberRanges Number Ranges
|
|
25613
25677
|
* @param {File} cloa CLOA (only provide on submission)
|
|
25614
|
-
* @param {string | null} [companyName] Company Name
|
|
25615
|
-
* @param {string | null} [addressLine1] Address Line 1
|
|
25616
|
-
* @param {string | null} [addressLine2] Address Line 2
|
|
25617
|
-
* @param {string | null} [city] City
|
|
25618
|
-
* @param {string | null} [postCode] Post Code
|
|
25619
|
-
* @param {number | null} [trunkId] Trunk ID
|
|
25620
|
-
* @param {string | null} [tenantId] Starter Bundle ID
|
|
25621
|
-
* @param {string | null} [requestedPortDate] Requested Port Date
|
|
25622
|
-
* @param {boolean | null} [asap] Port Date ASAP
|
|
25623
|
-
* @param {string | null} [comment] Comment
|
|
25624
25678
|
* @param {*} [options] Override http request option.
|
|
25625
25679
|
* @throws {RequiredError}
|
|
25626
25680
|
*/
|
|
25627
|
-
public postSubmitNumberPort(id: number,
|
|
25628
|
-
return NumberPortingApiFp(this.configuration).postSubmitNumberPort(id,
|
|
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));
|
|
25629
25683
|
}
|
|
25630
25684
|
|
|
25631
25685
|
/**
|
|
25632
25686
|
*
|
|
25633
25687
|
* @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
|
|
25634
25698
|
* @param {Array<NumberPortRangeRequestDTO>} numberRanges Number Ranges
|
|
25635
25699
|
* @param {File} cloa CLOA (only provide on submission)
|
|
25636
|
-
* @param {string | null} [companyName] Company Name
|
|
25637
|
-
* @param {string | null} [addressLine1] Address Line 1
|
|
25638
|
-
* @param {string | null} [addressLine2] Address Line 2
|
|
25639
|
-
* @param {string | null} [city] City
|
|
25640
|
-
* @param {string | null} [postCode] Post Code
|
|
25641
|
-
* @param {number | null} [trunkId] Trunk ID
|
|
25642
|
-
* @param {string | null} [tenantId] Starter Bundle ID
|
|
25643
|
-
* @param {string | null} [requestedPortDate] Requested Port Date
|
|
25644
|
-
* @param {boolean | null} [asap] Port Date ASAP
|
|
25645
|
-
* @param {string | null} [comment] Comment
|
|
25646
25700
|
* @param {*} [options] Override http request option.
|
|
25647
25701
|
* @throws {RequiredError}
|
|
25648
25702
|
*/
|
|
25649
|
-
public postUpdateNumberPort(id: number,
|
|
25650
|
-
return NumberPortingApiFp(this.configuration).postUpdateNumberPort(id,
|
|
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));
|
|
25651
25705
|
}
|
|
25652
25706
|
|
|
25653
25707
|
/**
|
|
@@ -25732,22 +25786,46 @@ export const OAuth20ApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
25732
25786
|
/**
|
|
25733
25787
|
* Get an OAuth 2.0 access token
|
|
25734
25788
|
* @summary Validates client credentials and returns access token
|
|
25735
|
-
* @param {string | null}
|
|
25736
|
-
* @param {string | null}
|
|
25737
|
-
* @param {PostAccessTokenGrantTypeEnum}
|
|
25738
|
-
* @param {PostAccessTokenScopeEnum}
|
|
25739
|
-
* @param {string | null}
|
|
25740
|
-
* @param {string | null}
|
|
25741
|
-
* @param {string | null}
|
|
25742
|
-
* @param {string | null}
|
|
25743
|
-
* @param {string | null}
|
|
25744
|
-
* @param {PostAccessTokenTokenExchangeTypeEnum}
|
|
25745
|
-
* @param {string | null}
|
|
25746
|
-
* @param {boolean | null}
|
|
25747
|
-
* @param {*} [options] Override http request option.
|
|
25748
|
-
* @throws {RequiredError}
|
|
25749
|
-
*/
|
|
25750
|
-
postAccessToken: async (clientId
|
|
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)
|
|
25751
25829
|
const localVarPath = `/oauth2/access_token`;
|
|
25752
25830
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
25753
25831
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -26019,22 +26097,22 @@ export const OAuth20ApiFp = function(configuration?: Configuration) {
|
|
|
26019
26097
|
/**
|
|
26020
26098
|
* Get an OAuth 2.0 access token
|
|
26021
26099
|
* @summary Validates client credentials and returns access token
|
|
26022
|
-
* @param {string | null}
|
|
26023
|
-
* @param {string | null}
|
|
26024
|
-
* @param {PostAccessTokenGrantTypeEnum}
|
|
26025
|
-
* @param {PostAccessTokenScopeEnum}
|
|
26026
|
-
* @param {string | null}
|
|
26027
|
-
* @param {string | null}
|
|
26028
|
-
* @param {string | null}
|
|
26029
|
-
* @param {string | null}
|
|
26030
|
-
* @param {string | null}
|
|
26031
|
-
* @param {PostAccessTokenTokenExchangeTypeEnum}
|
|
26032
|
-
* @param {string | null}
|
|
26033
|
-
* @param {boolean | null}
|
|
26034
|
-
* @param {*} [options] Override http request option.
|
|
26035
|
-
* @throws {RequiredError}
|
|
26036
|
-
*/
|
|
26037
|
-
async postAccessToken(clientId
|
|
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>> {
|
|
26038
26116
|
const localVarAxiosArgs = await localVarAxiosParamCreator.postAccessToken(clientId, clientSecret, grantType, scope, redirectUri, code, refreshToken, codeVerifier, token, tokenExchangeType, licenceKey, endUser, options);
|
|
26039
26117
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
26040
26118
|
const localVarOperationServerBasePath = operationServerMap['OAuth20Api.postAccessToken']?.[localVarOperationServerIndex]?.url;
|
|
@@ -26125,22 +26203,22 @@ export const OAuth20ApiFactory = function (configuration?: Configuration, basePa
|
|
|
26125
26203
|
/**
|
|
26126
26204
|
* Get an OAuth 2.0 access token
|
|
26127
26205
|
* @summary Validates client credentials and returns access token
|
|
26128
|
-
* @param {string | null}
|
|
26129
|
-
* @param {string | null}
|
|
26130
|
-
* @param {PostAccessTokenGrantTypeEnum}
|
|
26131
|
-
* @param {PostAccessTokenScopeEnum}
|
|
26132
|
-
* @param {string | null}
|
|
26133
|
-
* @param {string | null}
|
|
26134
|
-
* @param {string | null}
|
|
26135
|
-
* @param {string | null}
|
|
26136
|
-
* @param {string | null}
|
|
26137
|
-
* @param {PostAccessTokenTokenExchangeTypeEnum}
|
|
26138
|
-
* @param {string | null}
|
|
26139
|
-
* @param {boolean | null}
|
|
26140
|
-
* @param {*} [options] Override http request option.
|
|
26141
|
-
* @throws {RequiredError}
|
|
26142
|
-
*/
|
|
26143
|
-
postAccessToken(clientId
|
|
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> {
|
|
26144
26222
|
return localVarFp.postAccessToken(clientId, clientSecret, grantType, scope, redirectUri, code, refreshToken, codeVerifier, token, tokenExchangeType, licenceKey, endUser, options).then((request) => request(axios, basePath));
|
|
26145
26223
|
},
|
|
26146
26224
|
/**
|
|
@@ -26216,22 +26294,22 @@ export class OAuth20Api extends BaseAPI {
|
|
|
26216
26294
|
/**
|
|
26217
26295
|
* Get an OAuth 2.0 access token
|
|
26218
26296
|
* @summary Validates client credentials and returns access token
|
|
26219
|
-
* @param {string | null}
|
|
26220
|
-
* @param {string | null}
|
|
26221
|
-
* @param {PostAccessTokenGrantTypeEnum}
|
|
26222
|
-
* @param {PostAccessTokenScopeEnum}
|
|
26223
|
-
* @param {string | null}
|
|
26224
|
-
* @param {string | null}
|
|
26225
|
-
* @param {string | null}
|
|
26226
|
-
* @param {string | null}
|
|
26227
|
-
* @param {string | null}
|
|
26228
|
-
* @param {PostAccessTokenTokenExchangeTypeEnum}
|
|
26229
|
-
* @param {string | null}
|
|
26230
|
-
* @param {boolean | null}
|
|
26231
|
-
* @param {*} [options] Override http request option.
|
|
26232
|
-
* @throws {RequiredError}
|
|
26233
|
-
*/
|
|
26234
|
-
public postAccessToken(clientId
|
|
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) {
|
|
26235
26313
|
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));
|
|
26236
26314
|
}
|
|
26237
26315
|
|