yellowgrid-api-ts 3.2.193-dev.0 → 3.2.194-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/.openapi-generator/FILES +6 -0
- package/README.md +7 -0
- package/api.ts +522 -6
- package/dist/api.d.ts +382 -6
- package/dist/api.js +363 -4
- package/docs/AccountsApi.md +55 -0
- package/docs/CrmActivityDTO.md +2 -2
- package/docs/MiscApi.md +63 -0
- package/docs/PasswordSenderDTO.md +37 -0
- package/docs/PasswordSenderEntity.md +33 -0
- package/docs/ReportsApi.md +52 -0
- package/docs/StockReportItemModel.md +31 -0
- package/docs/StockReportModel.md +29 -0
- package/docs/TcxInstallationModel.md +2 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -112,6 +112,7 @@ docs/ItemEntity.md
|
|
|
112
112
|
docs/LinkedOrderEntity.md
|
|
113
113
|
docs/MFARequiredModel.md
|
|
114
114
|
docs/MacAddressDTO.md
|
|
115
|
+
docs/MiscApi.md
|
|
115
116
|
docs/MonthlyUsageModel.md
|
|
116
117
|
docs/MultiTenantChangeResponseModel.md
|
|
117
118
|
docs/MyPBXToolsApi.md
|
|
@@ -139,6 +140,8 @@ docs/OrderedItemEntity.md
|
|
|
139
140
|
docs/OrderedItemModel.md
|
|
140
141
|
docs/OrdersApi.md
|
|
141
142
|
docs/PartnerDTO.md
|
|
143
|
+
docs/PasswordSenderDTO.md
|
|
144
|
+
docs/PasswordSenderEntity.md
|
|
142
145
|
docs/PatchUpdateAccountCnameRequest.md
|
|
143
146
|
docs/PatchUpdateAccountCompanyNumberRequest.md
|
|
144
147
|
docs/PatchUpdateAccountContactPasswordRequest.md
|
|
@@ -182,6 +185,7 @@ docs/PutTransferConnectionRequest.md
|
|
|
182
185
|
docs/RecordingBackupAzureModel.md
|
|
183
186
|
docs/RecordingsBackupInfoDTO.md
|
|
184
187
|
docs/RemoteStorageDTO.md
|
|
188
|
+
docs/ReportsApi.md
|
|
185
189
|
docs/ResourceNotReadyException.md
|
|
186
190
|
docs/RootAccessModel.md
|
|
187
191
|
docs/S3BucketEntity.md
|
|
@@ -242,6 +246,8 @@ docs/StockProductModel.md
|
|
|
242
246
|
docs/StockProductPriceModel.md
|
|
243
247
|
docs/StockProductSummariesModel.md
|
|
244
248
|
docs/StockProductSummaryModel.md
|
|
249
|
+
docs/StockReportItemModel.md
|
|
250
|
+
docs/StockReportModel.md
|
|
245
251
|
docs/StockTransactionsEntity.md
|
|
246
252
|
docs/SupplierEntity.md
|
|
247
253
|
docs/SupplierItemEntity.md
|
package/README.md
CHANGED
|
@@ -66,6 +66,7 @@ Class | Method | HTTP request | Description
|
|
|
66
66
|
*AccountsApi* | [**getGetCustomerKeys**](docs/AccountsApi.md#getgetcustomerkeys) | **GET** /accounts/me/tcx/keys | Get 3CX Keys
|
|
67
67
|
*AccountsApi* | [**getGetFinanceSettings**](docs/AccountsApi.md#getgetfinancesettings) | **GET** /admin/accounts/{id}/finance |
|
|
68
68
|
*AccountsApi* | [**getGetLastAccount**](docs/AccountsApi.md#getgetlastaccount) | **GET** /admin/accounts/last | Get Last Account
|
|
69
|
+
*AccountsApi* | [**getGetNewPriceList**](docs/AccountsApi.md#getgetnewpricelist) | **GET** /admin/accounts/priceList/new | Download New Price List
|
|
69
70
|
*AccountsApi* | [**getGetTcxPartnerDetails**](docs/AccountsApi.md#getgettcxpartnerdetails) | **GET** /admin/accounts/{id}/tcx/partner |
|
|
70
71
|
*AccountsApi* | [**getVerifyEmailAddress**](docs/AccountsApi.md#getverifyemailaddress) | **GET** /accounts/contacts/verify | Verify account email address
|
|
71
72
|
*AccountsApi* | [**patchSetAccountStatus**](docs/AccountsApi.md#patchsetaccountstatus) | **PATCH** /admin/accounts/{id}/status/{state} |
|
|
@@ -176,6 +177,7 @@ Class | Method | HTTP request | Description
|
|
|
176
177
|
*Class3CXMultiTenantApi* | [**postGetMtNewDdis**](docs/Class3CXMultiTenantApi.md#postgetmtnewddis) | **POST** /tcx/mt/changes/ddis | Get 3CX MT New DDIs
|
|
177
178
|
*Class3CXMultiTenantApi* | [**postGetTenants**](docs/Class3CXMultiTenantApi.md#postgettenants) | **POST** /tcx/mt/tenants | Add 3CX MT Tenant
|
|
178
179
|
*Class3CXMultiTenantApi* | [**postTrackMtChange**](docs/Class3CXMultiTenantApi.md#posttrackmtchange) | **POST** /tcx/mt/changes/track | Track 3CX MT Change
|
|
180
|
+
*MiscApi* | [**postSendPassword**](docs/MiscApi.md#postsendpassword) | **POST** /admin/password/send |
|
|
179
181
|
*MyPBXToolsApi* | [**getGetRecording**](docs/MyPBXToolsApi.md#getgetrecording) | **GET** /mypbxtools/recordings | Fetch recording from a 3CX instance
|
|
180
182
|
*NumberPortingApi* | [**deleteGetAdminNumberPort**](docs/NumberPortingApi.md#deletegetadminnumberport) | **DELETE** /admin/sip/numbers/ports/{id} |
|
|
181
183
|
*NumberPortingApi* | [**getCreateNumberPort**](docs/NumberPortingApi.md#getcreatenumberport) | **GET** /sip/numbers/ports |
|
|
@@ -253,6 +255,7 @@ Class | Method | HTTP request | Description
|
|
|
253
255
|
*ProvisioningApi* | [**postAddFanvilGroup**](docs/ProvisioningApi.md#postaddfanvilgroup) | **POST** /provisioning/fanvil/groups | Add group to DB and FDPS
|
|
254
256
|
*ProvisioningApi* | [**postAddFanvilMac**](docs/ProvisioningApi.md#postaddfanvilmac) | **POST** /provisioning/fanvil/groups/{id}/macs/{mac} | Add MAC address to DB and FDPS group
|
|
255
257
|
*ProvisioningApi* | [**postCreateMac**](docs/ProvisioningApi.md#postcreatemac) | **POST** /admin/provisioning/fanvil/macs |
|
|
258
|
+
*ReportsApi* | [**getGetStockReport**](docs/ReportsApi.md#getgetstockreport) | **GET** /reports/stock |
|
|
256
259
|
*SIPTrunksApi* | [**deleteGetSipTrunk**](docs/SIPTrunksApi.md#deletegetsiptrunk) | **DELETE** /sip/trunks/{id} | Delete SIP Trunk
|
|
257
260
|
*SIPTrunksApi* | [**getCanDivert**](docs/SIPTrunksApi.md#getcandivert) | **GET** /sip/trunks/{id}/diverts/allowed | SIP Trunk Diverts Allowed
|
|
258
261
|
*SIPTrunksApi* | [**getGetAddress**](docs/SIPTrunksApi.md#getgetaddress) | **GET** /sip/trunks/{id}/address | Get SIP Trunk Address
|
|
@@ -449,6 +452,8 @@ Class | Method | HTTP request | Description
|
|
|
449
452
|
- [OrderedItemEntity](docs/OrderedItemEntity.md)
|
|
450
453
|
- [OrderedItemModel](docs/OrderedItemModel.md)
|
|
451
454
|
- [PartnerDTO](docs/PartnerDTO.md)
|
|
455
|
+
- [PasswordSenderDTO](docs/PasswordSenderDTO.md)
|
|
456
|
+
- [PasswordSenderEntity](docs/PasswordSenderEntity.md)
|
|
452
457
|
- [PatchUpdateAccountCnameRequest](docs/PatchUpdateAccountCnameRequest.md)
|
|
453
458
|
- [PatchUpdateAccountCompanyNumberRequest](docs/PatchUpdateAccountCompanyNumberRequest.md)
|
|
454
459
|
- [PatchUpdateAccountContactPasswordRequest](docs/PatchUpdateAccountContactPasswordRequest.md)
|
|
@@ -543,6 +548,8 @@ Class | Method | HTTP request | Description
|
|
|
543
548
|
- [StockProductPriceModel](docs/StockProductPriceModel.md)
|
|
544
549
|
- [StockProductSummariesModel](docs/StockProductSummariesModel.md)
|
|
545
550
|
- [StockProductSummaryModel](docs/StockProductSummaryModel.md)
|
|
551
|
+
- [StockReportItemModel](docs/StockReportItemModel.md)
|
|
552
|
+
- [StockReportModel](docs/StockReportModel.md)
|
|
546
553
|
- [StockTransactionsEntity](docs/StockTransactionsEntity.md)
|
|
547
554
|
- [SupplierEntity](docs/SupplierEntity.md)
|
|
548
555
|
- [SupplierItemEntity](docs/SupplierItemEntity.md)
|
package/api.ts
CHANGED
|
@@ -1431,6 +1431,7 @@ export const AuditLogEntityTypeEnum = {
|
|
|
1431
1431
|
NumberPortNotes: 'number_port_notes',
|
|
1432
1432
|
PopsOfflineInstances: 'pops_offline_instances',
|
|
1433
1433
|
PopsOrderedItems: 'pops_ordered_items',
|
|
1434
|
+
PopsPasswordSender: 'pops_password_sender',
|
|
1434
1435
|
PopsPrizes: 'pops_prizes',
|
|
1435
1436
|
PopsPrinters: 'pops_printers',
|
|
1436
1437
|
PopsPromoCodes: 'pops_promo_codes',
|
|
@@ -2515,12 +2516,6 @@ export interface CrmActivityDTO {
|
|
|
2515
2516
|
* @memberof CrmActivityDTO
|
|
2516
2517
|
*/
|
|
2517
2518
|
'description'?: string;
|
|
2518
|
-
/**
|
|
2519
|
-
* Activity URL
|
|
2520
|
-
* @type {string}
|
|
2521
|
-
* @memberof CrmActivityDTO
|
|
2522
|
-
*/
|
|
2523
|
-
'url'?: string | null;
|
|
2524
2519
|
/**
|
|
2525
2520
|
* Activity User Name
|
|
2526
2521
|
* @type {string}
|
|
@@ -2533,6 +2528,12 @@ export interface CrmActivityDTO {
|
|
|
2533
2528
|
* @memberof CrmActivityDTO
|
|
2534
2529
|
*/
|
|
2535
2530
|
'contact'?: string | null;
|
|
2531
|
+
/**
|
|
2532
|
+
* Activity Order ID
|
|
2533
|
+
* @type {number}
|
|
2534
|
+
* @memberof CrmActivityDTO
|
|
2535
|
+
*/
|
|
2536
|
+
'orderId'?: number | null;
|
|
2536
2537
|
}
|
|
2537
2538
|
/**
|
|
2538
2539
|
* CRM Contact
|
|
@@ -6606,6 +6607,125 @@ export interface PartnerDTO {
|
|
|
6606
6607
|
*/
|
|
6607
6608
|
'customer'?: AccountSummaryDTO | null;
|
|
6608
6609
|
}
|
|
6610
|
+
/**
|
|
6611
|
+
* Password Sender Request
|
|
6612
|
+
* @export
|
|
6613
|
+
* @interface PasswordSenderDTO
|
|
6614
|
+
*/
|
|
6615
|
+
export interface PasswordSenderDTO {
|
|
6616
|
+
/**
|
|
6617
|
+
* Username
|
|
6618
|
+
* @type {string}
|
|
6619
|
+
* @memberof PasswordSenderDTO
|
|
6620
|
+
*/
|
|
6621
|
+
'username'?: string;
|
|
6622
|
+
/**
|
|
6623
|
+
* Password
|
|
6624
|
+
* @type {string}
|
|
6625
|
+
* @memberof PasswordSenderDTO
|
|
6626
|
+
*/
|
|
6627
|
+
'password'?: string | null;
|
|
6628
|
+
/**
|
|
6629
|
+
* Expiry Interval
|
|
6630
|
+
* @type {number}
|
|
6631
|
+
* @memberof PasswordSenderDTO
|
|
6632
|
+
*/
|
|
6633
|
+
'expiryInterval'?: number | null;
|
|
6634
|
+
/**
|
|
6635
|
+
* Interval Type
|
|
6636
|
+
* @type {string}
|
|
6637
|
+
* @memberof PasswordSenderDTO
|
|
6638
|
+
*/
|
|
6639
|
+
'intervalType'?: PasswordSenderDTOIntervalTypeEnum | null;
|
|
6640
|
+
/**
|
|
6641
|
+
* Date Time
|
|
6642
|
+
* @type {string}
|
|
6643
|
+
* @memberof PasswordSenderDTO
|
|
6644
|
+
*/
|
|
6645
|
+
'expiry'?: string;
|
|
6646
|
+
/**
|
|
6647
|
+
* Recipient
|
|
6648
|
+
* @type {string}
|
|
6649
|
+
* @memberof PasswordSenderDTO
|
|
6650
|
+
*/
|
|
6651
|
+
'recipient'?: string;
|
|
6652
|
+
/**
|
|
6653
|
+
* URL
|
|
6654
|
+
* @type {string}
|
|
6655
|
+
* @memberof PasswordSenderDTO
|
|
6656
|
+
*/
|
|
6657
|
+
'url'?: string | null;
|
|
6658
|
+
/**
|
|
6659
|
+
* Description
|
|
6660
|
+
* @type {string}
|
|
6661
|
+
* @memberof PasswordSenderDTO
|
|
6662
|
+
*/
|
|
6663
|
+
'description'?: string | null;
|
|
6664
|
+
/**
|
|
6665
|
+
* Password URL
|
|
6666
|
+
* @type {string}
|
|
6667
|
+
* @memberof PasswordSenderDTO
|
|
6668
|
+
*/
|
|
6669
|
+
'passwordUrl'?: string | null;
|
|
6670
|
+
}
|
|
6671
|
+
|
|
6672
|
+
export const PasswordSenderDTOIntervalTypeEnum = {
|
|
6673
|
+
Minute: 'Minute',
|
|
6674
|
+
Hour: 'Hour',
|
|
6675
|
+
Day: 'Day'
|
|
6676
|
+
} as const;
|
|
6677
|
+
|
|
6678
|
+
export type PasswordSenderDTOIntervalTypeEnum = typeof PasswordSenderDTOIntervalTypeEnum[keyof typeof PasswordSenderDTOIntervalTypeEnum];
|
|
6679
|
+
|
|
6680
|
+
/**
|
|
6681
|
+
* PasswordSenderEntity
|
|
6682
|
+
* @export
|
|
6683
|
+
* @interface PasswordSenderEntity
|
|
6684
|
+
*/
|
|
6685
|
+
export interface PasswordSenderEntity {
|
|
6686
|
+
/**
|
|
6687
|
+
* uniqueId
|
|
6688
|
+
* @type {string}
|
|
6689
|
+
* @memberof PasswordSenderEntity
|
|
6690
|
+
*/
|
|
6691
|
+
'uniqueId'?: string;
|
|
6692
|
+
/**
|
|
6693
|
+
* url
|
|
6694
|
+
* @type {string}
|
|
6695
|
+
* @memberof PasswordSenderEntity
|
|
6696
|
+
*/
|
|
6697
|
+
'url'?: string;
|
|
6698
|
+
/**
|
|
6699
|
+
* username
|
|
6700
|
+
* @type {string}
|
|
6701
|
+
* @memberof PasswordSenderEntity
|
|
6702
|
+
*/
|
|
6703
|
+
'username'?: string;
|
|
6704
|
+
/**
|
|
6705
|
+
* password
|
|
6706
|
+
* @type {string}
|
|
6707
|
+
* @memberof PasswordSenderEntity
|
|
6708
|
+
*/
|
|
6709
|
+
'password'?: string;
|
|
6710
|
+
/**
|
|
6711
|
+
* expiryTime
|
|
6712
|
+
* @type {string}
|
|
6713
|
+
* @memberof PasswordSenderEntity
|
|
6714
|
+
*/
|
|
6715
|
+
'expiryTime'?: string;
|
|
6716
|
+
/**
|
|
6717
|
+
* emailRecipient
|
|
6718
|
+
* @type {string}
|
|
6719
|
+
* @memberof PasswordSenderEntity
|
|
6720
|
+
*/
|
|
6721
|
+
'emailRecipient'?: string;
|
|
6722
|
+
/**
|
|
6723
|
+
* description
|
|
6724
|
+
* @type {string}
|
|
6725
|
+
* @memberof PasswordSenderEntity
|
|
6726
|
+
*/
|
|
6727
|
+
'description'?: string;
|
|
6728
|
+
}
|
|
6609
6729
|
/**
|
|
6610
6730
|
*
|
|
6611
6731
|
* @export
|
|
@@ -10342,6 +10462,123 @@ export interface StockProductSummaryModel {
|
|
|
10342
10462
|
*/
|
|
10343
10463
|
'manufacturer'?: StockOrderSupplierModel;
|
|
10344
10464
|
}
|
|
10465
|
+
/**
|
|
10466
|
+
* Stock Report Item
|
|
10467
|
+
* @export
|
|
10468
|
+
* @interface StockReportItemModel
|
|
10469
|
+
*/
|
|
10470
|
+
export interface StockReportItemModel {
|
|
10471
|
+
/**
|
|
10472
|
+
* Title
|
|
10473
|
+
* @type {string}
|
|
10474
|
+
* @memberof StockReportItemModel
|
|
10475
|
+
*/
|
|
10476
|
+
'title'?: string;
|
|
10477
|
+
/**
|
|
10478
|
+
* SKU
|
|
10479
|
+
* @type {string}
|
|
10480
|
+
* @memberof StockReportItemModel
|
|
10481
|
+
*/
|
|
10482
|
+
'sku'?: string;
|
|
10483
|
+
/**
|
|
10484
|
+
* In Stock
|
|
10485
|
+
* @type {number}
|
|
10486
|
+
* @memberof StockReportItemModel
|
|
10487
|
+
*/
|
|
10488
|
+
'quantity'?: number;
|
|
10489
|
+
/**
|
|
10490
|
+
* Currency
|
|
10491
|
+
* @type {string}
|
|
10492
|
+
* @memberof StockReportItemModel
|
|
10493
|
+
*/
|
|
10494
|
+
'currency'?: StockReportItemModelCurrencyEnum;
|
|
10495
|
+
/**
|
|
10496
|
+
* Cost Price
|
|
10497
|
+
* @type {number}
|
|
10498
|
+
* @memberof StockReportItemModel
|
|
10499
|
+
*/
|
|
10500
|
+
'basePrice'?: number;
|
|
10501
|
+
/**
|
|
10502
|
+
* Line Total
|
|
10503
|
+
* @type {number}
|
|
10504
|
+
* @memberof StockReportItemModel
|
|
10505
|
+
*/
|
|
10506
|
+
'totalValue'?: number;
|
|
10507
|
+
}
|
|
10508
|
+
|
|
10509
|
+
export const StockReportItemModelCurrencyEnum = {
|
|
10510
|
+
Eur: 'EUR',
|
|
10511
|
+
Usd: 'USD',
|
|
10512
|
+
Jpy: 'JPY',
|
|
10513
|
+
Bgn: 'BGN',
|
|
10514
|
+
Czk: 'CZK',
|
|
10515
|
+
Dkk: 'DKK',
|
|
10516
|
+
Gbp: 'GBP',
|
|
10517
|
+
Huf: 'HUF',
|
|
10518
|
+
Pln: 'PLN',
|
|
10519
|
+
Ron: 'RON',
|
|
10520
|
+
Sek: 'SEK',
|
|
10521
|
+
Chf: 'CHF',
|
|
10522
|
+
Isk: 'ISK',
|
|
10523
|
+
Nok: 'NOK',
|
|
10524
|
+
Try: 'TRY',
|
|
10525
|
+
Aud: 'AUD',
|
|
10526
|
+
Brl: 'BRL',
|
|
10527
|
+
Cad: 'CAD',
|
|
10528
|
+
Cny: 'CNY',
|
|
10529
|
+
Hkd: 'HKD',
|
|
10530
|
+
Idr: 'IDR',
|
|
10531
|
+
Ils: 'ILS',
|
|
10532
|
+
Inr: 'INR',
|
|
10533
|
+
Krw: 'KRW',
|
|
10534
|
+
Mxn: 'MXN',
|
|
10535
|
+
Myr: 'MYR',
|
|
10536
|
+
Nzd: 'NZD',
|
|
10537
|
+
Php: 'PHP',
|
|
10538
|
+
Sgd: 'SGD',
|
|
10539
|
+
Thb: 'THB',
|
|
10540
|
+
Zar: 'ZAR'
|
|
10541
|
+
} as const;
|
|
10542
|
+
|
|
10543
|
+
export type StockReportItemModelCurrencyEnum = typeof StockReportItemModelCurrencyEnum[keyof typeof StockReportItemModelCurrencyEnum];
|
|
10544
|
+
|
|
10545
|
+
/**
|
|
10546
|
+
* Stock Report
|
|
10547
|
+
* @export
|
|
10548
|
+
* @interface StockReportModel
|
|
10549
|
+
*/
|
|
10550
|
+
export interface StockReportModel {
|
|
10551
|
+
/**
|
|
10552
|
+
* Items
|
|
10553
|
+
* @type {Array<StockReportItemModel>}
|
|
10554
|
+
* @memberof StockReportModel
|
|
10555
|
+
*/
|
|
10556
|
+
'products'?: Array<StockReportItemModel>;
|
|
10557
|
+
/**
|
|
10558
|
+
* Units In Stock
|
|
10559
|
+
* @type {number}
|
|
10560
|
+
* @memberof StockReportModel
|
|
10561
|
+
*/
|
|
10562
|
+
'unitsInStock'?: number;
|
|
10563
|
+
/**
|
|
10564
|
+
* Value Of USD Stock
|
|
10565
|
+
* @type {number}
|
|
10566
|
+
* @memberof StockReportModel
|
|
10567
|
+
*/
|
|
10568
|
+
'usdStock'?: number;
|
|
10569
|
+
/**
|
|
10570
|
+
* Value Of GBP Stock
|
|
10571
|
+
* @type {number}
|
|
10572
|
+
* @memberof StockReportModel
|
|
10573
|
+
*/
|
|
10574
|
+
'gbpStock'?: number;
|
|
10575
|
+
/**
|
|
10576
|
+
* Total value of stock in GBP
|
|
10577
|
+
* @type {number}
|
|
10578
|
+
* @memberof StockReportModel
|
|
10579
|
+
*/
|
|
10580
|
+
'totalStockGbp'?: number;
|
|
10581
|
+
}
|
|
10345
10582
|
/**
|
|
10346
10583
|
* StockTransactionsEntity
|
|
10347
10584
|
* @export
|
|
@@ -11192,6 +11429,12 @@ export interface TcxInstallationModel {
|
|
|
11192
11429
|
* @memberof TcxInstallationModel
|
|
11193
11430
|
*/
|
|
11194
11431
|
'wizardId'?: string;
|
|
11432
|
+
/**
|
|
11433
|
+
* Customer ID
|
|
11434
|
+
* @type {number}
|
|
11435
|
+
* @memberof TcxInstallationModel
|
|
11436
|
+
*/
|
|
11437
|
+
'customerId'?: number;
|
|
11195
11438
|
/**
|
|
11196
11439
|
* Instance ID
|
|
11197
11440
|
* @type {string}
|
|
@@ -13686,6 +13929,43 @@ export const AccountsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
13686
13929
|
|
|
13687
13930
|
|
|
13688
13931
|
|
|
13932
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
13933
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13934
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
13935
|
+
|
|
13936
|
+
return {
|
|
13937
|
+
url: toPathString(localVarUrlObj),
|
|
13938
|
+
options: localVarRequestOptions,
|
|
13939
|
+
};
|
|
13940
|
+
},
|
|
13941
|
+
/**
|
|
13942
|
+
* Download New Price List
|
|
13943
|
+
* @summary Download New Price List
|
|
13944
|
+
* @param {string} id Xero ID
|
|
13945
|
+
* @param {*} [options] Override http request option.
|
|
13946
|
+
* @throws {RequiredError}
|
|
13947
|
+
*/
|
|
13948
|
+
getGetNewPriceList: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
13949
|
+
// verify required parameter 'id' is not null or undefined
|
|
13950
|
+
assertParamExists('getGetNewPriceList', 'id', id)
|
|
13951
|
+
const localVarPath = `/admin/accounts/priceList/new`;
|
|
13952
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
13953
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
13954
|
+
let baseOptions;
|
|
13955
|
+
if (configuration) {
|
|
13956
|
+
baseOptions = configuration.baseOptions;
|
|
13957
|
+
}
|
|
13958
|
+
|
|
13959
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
13960
|
+
const localVarHeaderParameter = {} as any;
|
|
13961
|
+
const localVarQueryParameter = {} as any;
|
|
13962
|
+
|
|
13963
|
+
if (id !== undefined) {
|
|
13964
|
+
localVarQueryParameter['id'] = id;
|
|
13965
|
+
}
|
|
13966
|
+
|
|
13967
|
+
|
|
13968
|
+
|
|
13689
13969
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
13690
13970
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13691
13971
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -15030,6 +15310,19 @@ export const AccountsApiFp = function(configuration?: Configuration) {
|
|
|
15030
15310
|
const localVarOperationServerBasePath = operationServerMap['AccountsApi.getGetLastAccount']?.[localVarOperationServerIndex]?.url;
|
|
15031
15311
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15032
15312
|
},
|
|
15313
|
+
/**
|
|
15314
|
+
* Download New Price List
|
|
15315
|
+
* @summary Download New Price List
|
|
15316
|
+
* @param {string} id Xero ID
|
|
15317
|
+
* @param {*} [options] Override http request option.
|
|
15318
|
+
* @throws {RequiredError}
|
|
15319
|
+
*/
|
|
15320
|
+
async getGetNewPriceList(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
|
|
15321
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getGetNewPriceList(id, options);
|
|
15322
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
15323
|
+
const localVarOperationServerBasePath = operationServerMap['AccountsApi.getGetNewPriceList']?.[localVarOperationServerIndex]?.url;
|
|
15324
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15325
|
+
},
|
|
15033
15326
|
/**
|
|
15034
15327
|
* Get Account 3CX Details
|
|
15035
15328
|
* @param {string} id Xero ID
|
|
@@ -15588,6 +15881,16 @@ export const AccountsApiFactory = function (configuration?: Configuration, baseP
|
|
|
15588
15881
|
getGetLastAccount(options?: RawAxiosRequestConfig): AxiosPromise<AccountSummaryDTO> {
|
|
15589
15882
|
return localVarFp.getGetLastAccount(options).then((request) => request(axios, basePath));
|
|
15590
15883
|
},
|
|
15884
|
+
/**
|
|
15885
|
+
* Download New Price List
|
|
15886
|
+
* @summary Download New Price List
|
|
15887
|
+
* @param {string} id Xero ID
|
|
15888
|
+
* @param {*} [options] Override http request option.
|
|
15889
|
+
* @throws {RequiredError}
|
|
15890
|
+
*/
|
|
15891
|
+
getGetNewPriceList(id: string, options?: RawAxiosRequestConfig): AxiosPromise<string> {
|
|
15892
|
+
return localVarFp.getGetNewPriceList(id, options).then((request) => request(axios, basePath));
|
|
15893
|
+
},
|
|
15591
15894
|
/**
|
|
15592
15895
|
* Get Account 3CX Details
|
|
15593
15896
|
* @param {string} id Xero ID
|
|
@@ -16083,6 +16386,18 @@ export class AccountsApi extends BaseAPI {
|
|
|
16083
16386
|
return AccountsApiFp(this.configuration).getGetLastAccount(options).then((request) => request(this.axios, this.basePath));
|
|
16084
16387
|
}
|
|
16085
16388
|
|
|
16389
|
+
/**
|
|
16390
|
+
* Download New Price List
|
|
16391
|
+
* @summary Download New Price List
|
|
16392
|
+
* @param {string} id Xero ID
|
|
16393
|
+
* @param {*} [options] Override http request option.
|
|
16394
|
+
* @throws {RequiredError}
|
|
16395
|
+
* @memberof AccountsApi
|
|
16396
|
+
*/
|
|
16397
|
+
public getGetNewPriceList(id: string, options?: RawAxiosRequestConfig) {
|
|
16398
|
+
return AccountsApiFp(this.configuration).getGetNewPriceList(id, options).then((request) => request(this.axios, this.basePath));
|
|
16399
|
+
}
|
|
16400
|
+
|
|
16086
16401
|
/**
|
|
16087
16402
|
* Get Account 3CX Details
|
|
16088
16403
|
* @param {string} id Xero ID
|
|
@@ -22595,6 +22910,110 @@ export const GetGetTenantsStatusEnum = {
|
|
|
22595
22910
|
export type GetGetTenantsStatusEnum = typeof GetGetTenantsStatusEnum[keyof typeof GetGetTenantsStatusEnum];
|
|
22596
22911
|
|
|
22597
22912
|
|
|
22913
|
+
/**
|
|
22914
|
+
* MiscApi - axios parameter creator
|
|
22915
|
+
* @export
|
|
22916
|
+
*/
|
|
22917
|
+
export const MiscApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
22918
|
+
return {
|
|
22919
|
+
/**
|
|
22920
|
+
* Share Credentials
|
|
22921
|
+
* @param {PasswordSenderDTO} [passwordSenderDTO] Password Sender Request
|
|
22922
|
+
* @param {*} [options] Override http request option.
|
|
22923
|
+
* @throws {RequiredError}
|
|
22924
|
+
*/
|
|
22925
|
+
postSendPassword: async (passwordSenderDTO?: PasswordSenderDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
22926
|
+
const localVarPath = `/admin/password/send`;
|
|
22927
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
22928
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
22929
|
+
let baseOptions;
|
|
22930
|
+
if (configuration) {
|
|
22931
|
+
baseOptions = configuration.baseOptions;
|
|
22932
|
+
}
|
|
22933
|
+
|
|
22934
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
22935
|
+
const localVarHeaderParameter = {} as any;
|
|
22936
|
+
const localVarQueryParameter = {} as any;
|
|
22937
|
+
|
|
22938
|
+
|
|
22939
|
+
|
|
22940
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
22941
|
+
|
|
22942
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
22943
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
22944
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
22945
|
+
localVarRequestOptions.data = serializeDataIfNeeded(passwordSenderDTO, localVarRequestOptions, configuration)
|
|
22946
|
+
|
|
22947
|
+
return {
|
|
22948
|
+
url: toPathString(localVarUrlObj),
|
|
22949
|
+
options: localVarRequestOptions,
|
|
22950
|
+
};
|
|
22951
|
+
},
|
|
22952
|
+
}
|
|
22953
|
+
};
|
|
22954
|
+
|
|
22955
|
+
/**
|
|
22956
|
+
* MiscApi - functional programming interface
|
|
22957
|
+
* @export
|
|
22958
|
+
*/
|
|
22959
|
+
export const MiscApiFp = function(configuration?: Configuration) {
|
|
22960
|
+
const localVarAxiosParamCreator = MiscApiAxiosParamCreator(configuration)
|
|
22961
|
+
return {
|
|
22962
|
+
/**
|
|
22963
|
+
* Share Credentials
|
|
22964
|
+
* @param {PasswordSenderDTO} [passwordSenderDTO] Password Sender Request
|
|
22965
|
+
* @param {*} [options] Override http request option.
|
|
22966
|
+
* @throws {RequiredError}
|
|
22967
|
+
*/
|
|
22968
|
+
async postSendPassword(passwordSenderDTO?: PasswordSenderDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PasswordSenderDTO>> {
|
|
22969
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.postSendPassword(passwordSenderDTO, options);
|
|
22970
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
22971
|
+
const localVarOperationServerBasePath = operationServerMap['MiscApi.postSendPassword']?.[localVarOperationServerIndex]?.url;
|
|
22972
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
22973
|
+
},
|
|
22974
|
+
}
|
|
22975
|
+
};
|
|
22976
|
+
|
|
22977
|
+
/**
|
|
22978
|
+
* MiscApi - factory interface
|
|
22979
|
+
* @export
|
|
22980
|
+
*/
|
|
22981
|
+
export const MiscApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
22982
|
+
const localVarFp = MiscApiFp(configuration)
|
|
22983
|
+
return {
|
|
22984
|
+
/**
|
|
22985
|
+
* Share Credentials
|
|
22986
|
+
* @param {PasswordSenderDTO} [passwordSenderDTO] Password Sender Request
|
|
22987
|
+
* @param {*} [options] Override http request option.
|
|
22988
|
+
* @throws {RequiredError}
|
|
22989
|
+
*/
|
|
22990
|
+
postSendPassword(passwordSenderDTO?: PasswordSenderDTO, options?: RawAxiosRequestConfig): AxiosPromise<PasswordSenderDTO> {
|
|
22991
|
+
return localVarFp.postSendPassword(passwordSenderDTO, options).then((request) => request(axios, basePath));
|
|
22992
|
+
},
|
|
22993
|
+
};
|
|
22994
|
+
};
|
|
22995
|
+
|
|
22996
|
+
/**
|
|
22997
|
+
* MiscApi - object-oriented interface
|
|
22998
|
+
* @export
|
|
22999
|
+
* @class MiscApi
|
|
23000
|
+
* @extends {BaseAPI}
|
|
23001
|
+
*/
|
|
23002
|
+
export class MiscApi extends BaseAPI {
|
|
23003
|
+
/**
|
|
23004
|
+
* Share Credentials
|
|
23005
|
+
* @param {PasswordSenderDTO} [passwordSenderDTO] Password Sender Request
|
|
23006
|
+
* @param {*} [options] Override http request option.
|
|
23007
|
+
* @throws {RequiredError}
|
|
23008
|
+
* @memberof MiscApi
|
|
23009
|
+
*/
|
|
23010
|
+
public postSendPassword(passwordSenderDTO?: PasswordSenderDTO, options?: RawAxiosRequestConfig) {
|
|
23011
|
+
return MiscApiFp(this.configuration).postSendPassword(passwordSenderDTO, options).then((request) => request(this.axios, this.basePath));
|
|
23012
|
+
}
|
|
23013
|
+
}
|
|
23014
|
+
|
|
23015
|
+
|
|
23016
|
+
|
|
22598
23017
|
/**
|
|
22599
23018
|
* MyPBXToolsApi - axios parameter creator
|
|
22600
23019
|
* @export
|
|
@@ -29340,6 +29759,103 @@ export class ProvisioningApi extends BaseAPI {
|
|
|
29340
29759
|
|
|
29341
29760
|
|
|
29342
29761
|
|
|
29762
|
+
/**
|
|
29763
|
+
* ReportsApi - axios parameter creator
|
|
29764
|
+
* @export
|
|
29765
|
+
*/
|
|
29766
|
+
export const ReportsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
29767
|
+
return {
|
|
29768
|
+
/**
|
|
29769
|
+
*
|
|
29770
|
+
* @param {*} [options] Override http request option.
|
|
29771
|
+
* @throws {RequiredError}
|
|
29772
|
+
*/
|
|
29773
|
+
getGetStockReport: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
29774
|
+
const localVarPath = `/reports/stock`;
|
|
29775
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
29776
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
29777
|
+
let baseOptions;
|
|
29778
|
+
if (configuration) {
|
|
29779
|
+
baseOptions = configuration.baseOptions;
|
|
29780
|
+
}
|
|
29781
|
+
|
|
29782
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
29783
|
+
const localVarHeaderParameter = {} as any;
|
|
29784
|
+
const localVarQueryParameter = {} as any;
|
|
29785
|
+
|
|
29786
|
+
|
|
29787
|
+
|
|
29788
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
29789
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
29790
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
29791
|
+
|
|
29792
|
+
return {
|
|
29793
|
+
url: toPathString(localVarUrlObj),
|
|
29794
|
+
options: localVarRequestOptions,
|
|
29795
|
+
};
|
|
29796
|
+
},
|
|
29797
|
+
}
|
|
29798
|
+
};
|
|
29799
|
+
|
|
29800
|
+
/**
|
|
29801
|
+
* ReportsApi - functional programming interface
|
|
29802
|
+
* @export
|
|
29803
|
+
*/
|
|
29804
|
+
export const ReportsApiFp = function(configuration?: Configuration) {
|
|
29805
|
+
const localVarAxiosParamCreator = ReportsApiAxiosParamCreator(configuration)
|
|
29806
|
+
return {
|
|
29807
|
+
/**
|
|
29808
|
+
*
|
|
29809
|
+
* @param {*} [options] Override http request option.
|
|
29810
|
+
* @throws {RequiredError}
|
|
29811
|
+
*/
|
|
29812
|
+
async getGetStockReport(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StockReportModel>> {
|
|
29813
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getGetStockReport(options);
|
|
29814
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
29815
|
+
const localVarOperationServerBasePath = operationServerMap['ReportsApi.getGetStockReport']?.[localVarOperationServerIndex]?.url;
|
|
29816
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
29817
|
+
},
|
|
29818
|
+
}
|
|
29819
|
+
};
|
|
29820
|
+
|
|
29821
|
+
/**
|
|
29822
|
+
* ReportsApi - factory interface
|
|
29823
|
+
* @export
|
|
29824
|
+
*/
|
|
29825
|
+
export const ReportsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
29826
|
+
const localVarFp = ReportsApiFp(configuration)
|
|
29827
|
+
return {
|
|
29828
|
+
/**
|
|
29829
|
+
*
|
|
29830
|
+
* @param {*} [options] Override http request option.
|
|
29831
|
+
* @throws {RequiredError}
|
|
29832
|
+
*/
|
|
29833
|
+
getGetStockReport(options?: RawAxiosRequestConfig): AxiosPromise<StockReportModel> {
|
|
29834
|
+
return localVarFp.getGetStockReport(options).then((request) => request(axios, basePath));
|
|
29835
|
+
},
|
|
29836
|
+
};
|
|
29837
|
+
};
|
|
29838
|
+
|
|
29839
|
+
/**
|
|
29840
|
+
* ReportsApi - object-oriented interface
|
|
29841
|
+
* @export
|
|
29842
|
+
* @class ReportsApi
|
|
29843
|
+
* @extends {BaseAPI}
|
|
29844
|
+
*/
|
|
29845
|
+
export class ReportsApi extends BaseAPI {
|
|
29846
|
+
/**
|
|
29847
|
+
*
|
|
29848
|
+
* @param {*} [options] Override http request option.
|
|
29849
|
+
* @throws {RequiredError}
|
|
29850
|
+
* @memberof ReportsApi
|
|
29851
|
+
*/
|
|
29852
|
+
public getGetStockReport(options?: RawAxiosRequestConfig) {
|
|
29853
|
+
return ReportsApiFp(this.configuration).getGetStockReport(options).then((request) => request(this.axios, this.basePath));
|
|
29854
|
+
}
|
|
29855
|
+
}
|
|
29856
|
+
|
|
29857
|
+
|
|
29858
|
+
|
|
29343
29859
|
/**
|
|
29344
29860
|
* SIPTrunksApi - axios parameter creator
|
|
29345
29861
|
* @export
|