yellowgrid-api-ts 3.2.238 → 3.2.240
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 +11 -0
- package/README.md +12 -0
- package/api.ts +472 -0
- package/dist/api.d.ts +372 -0
- package/dist/api.js +264 -4
- package/dist/models/GraphTypeEnum.d.ts +13 -0
- package/dist/models/GraphTypeEnum.js +15 -0
- package/dist/models/ReportEnum.d.ts +53 -0
- package/dist/models/ReportEnum.js +55 -0
- package/docs/AxisDataDTO.md +25 -0
- package/docs/GraphDTO.md +33 -0
- package/docs/MiscApi.md +63 -0
- package/docs/PasswordSenderDTO.md +37 -0
- package/docs/PasswordSenderEntity.md +33 -0
- package/docs/PostGenerateReport200Response.md +36 -0
- package/docs/ReportRequestDTO.md +37 -0
- package/docs/ReportsApi.md +55 -0
- package/docs/SeriesDTO.md +27 -0
- package/docs/TableDTO.md +25 -0
- package/docs/TableDataDTO.md +21 -0
- package/docs/TableRowDTO.md +21 -0
- package/models/GraphTypeEnum.ts +14 -0
- package/models/ReportEnum.ts +54 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -31,6 +31,7 @@ docs/AttachmentModel.md
|
|
|
31
31
|
docs/AttributeSetEnum.md
|
|
32
32
|
docs/AuditLogEntity.md
|
|
33
33
|
docs/AuthCodeResponseModel.md
|
|
34
|
+
docs/AxisDataDTO.md
|
|
34
35
|
docs/BasicItemDTO.md
|
|
35
36
|
docs/BasicProductDTO.md
|
|
36
37
|
docs/BatchDTO.md
|
|
@@ -95,6 +96,7 @@ docs/GenericFileModel.md
|
|
|
95
96
|
docs/GetCheckMacExists200Response.md
|
|
96
97
|
docs/GetGetPrice200Response.md
|
|
97
98
|
docs/GetGetRecording200Response.md
|
|
99
|
+
docs/GraphDTO.md
|
|
98
100
|
docs/HostingChangeResponseModel.md
|
|
99
101
|
docs/HostingRegionDTO.md
|
|
100
102
|
docs/InstallationDetailsDTO.md
|
|
@@ -113,6 +115,7 @@ docs/ItemEntity.md
|
|
|
113
115
|
docs/LinkedOrderEntity.md
|
|
114
116
|
docs/MFARequiredModel.md
|
|
115
117
|
docs/MacAddressDTO.md
|
|
118
|
+
docs/MiscApi.md
|
|
116
119
|
docs/MonthlyUsageModel.md
|
|
117
120
|
docs/MultiTenantChangeResponseModel.md
|
|
118
121
|
docs/MyPBXToolsApi.md
|
|
@@ -140,6 +143,8 @@ docs/OrderedItemEntity.md
|
|
|
140
143
|
docs/OrderedItemModel.md
|
|
141
144
|
docs/OrdersApi.md
|
|
142
145
|
docs/PartnerDTO.md
|
|
146
|
+
docs/PasswordSenderDTO.md
|
|
147
|
+
docs/PasswordSenderEntity.md
|
|
143
148
|
docs/PatchUpdateAccountCnameRequest.md
|
|
144
149
|
docs/PatchUpdateAccountCompanyNumberRequest.md
|
|
145
150
|
docs/PatchUpdateAccountContactPasswordRequest.md
|
|
@@ -155,6 +160,7 @@ docs/PortalAccountModel.md
|
|
|
155
160
|
docs/PortalLoginModel.md
|
|
156
161
|
docs/PostAddOrderNoteRequest.md
|
|
157
162
|
docs/PostAddWebhook200Response.md
|
|
163
|
+
docs/PostGenerateReport200Response.md
|
|
158
164
|
docs/PostGetClientCredentialsRequest.md
|
|
159
165
|
docs/PostGetProductForCustomerRequest.md
|
|
160
166
|
docs/PostSendWelcomeEmailRequest.md
|
|
@@ -183,6 +189,7 @@ docs/PutTransferConnectionRequest.md
|
|
|
183
189
|
docs/RecordingBackupAzureModel.md
|
|
184
190
|
docs/RecordingsBackupInfoDTO.md
|
|
185
191
|
docs/RemoteStorageDTO.md
|
|
192
|
+
docs/ReportRequestDTO.md
|
|
186
193
|
docs/ReportsApi.md
|
|
187
194
|
docs/ResourceNotReadyException.md
|
|
188
195
|
docs/RootAccessModel.md
|
|
@@ -192,6 +199,7 @@ docs/SMSApi.md
|
|
|
192
199
|
docs/SbcDTO.md
|
|
193
200
|
docs/ScannedItemModel.md
|
|
194
201
|
docs/ScopeModel.md
|
|
202
|
+
docs/SeriesDTO.md
|
|
195
203
|
docs/ServiceHealthDTO.md
|
|
196
204
|
docs/ServiceStatusDTO.md
|
|
197
205
|
docs/ServicesApi.md
|
|
@@ -257,7 +265,10 @@ docs/SupplierProductResultsModel.md
|
|
|
257
265
|
docs/SuppliersApi.md
|
|
258
266
|
docs/SupportTicketModel.md
|
|
259
267
|
docs/SystemApi.md
|
|
268
|
+
docs/TableDTO.md
|
|
269
|
+
docs/TableDataDTO.md
|
|
260
270
|
docs/TableHistoryEntity.md
|
|
271
|
+
docs/TableRowDTO.md
|
|
261
272
|
docs/TcxBackupEntity.md
|
|
262
273
|
docs/TcxBackupModel.md
|
|
263
274
|
docs/TcxBillingEntity.md
|
package/README.md
CHANGED
|
@@ -177,6 +177,7 @@ Class | Method | HTTP request | Description
|
|
|
177
177
|
*Class3CXMultiTenantApi* | [**postGetMtNewDdis**](docs/Class3CXMultiTenantApi.md#postgetmtnewddis) | **POST** /tcx/mt/changes/ddis | Get 3CX MT New DDIs
|
|
178
178
|
*Class3CXMultiTenantApi* | [**postGetTenants**](docs/Class3CXMultiTenantApi.md#postgettenants) | **POST** /tcx/mt/tenants | Add 3CX MT Tenant
|
|
179
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 |
|
|
180
181
|
*MyPBXToolsApi* | [**getGetRecording**](docs/MyPBXToolsApi.md#getgetrecording) | **GET** /mypbxtools/recordings | Fetch recording from a 3CX instance
|
|
181
182
|
*NumberPortingApi* | [**deleteGetAdminNumberPort**](docs/NumberPortingApi.md#deletegetadminnumberport) | **DELETE** /admin/sip/numbers/ports/{id} |
|
|
182
183
|
*NumberPortingApi* | [**getCreateNumberPort**](docs/NumberPortingApi.md#getcreatenumberport) | **GET** /sip/numbers/ports |
|
|
@@ -255,6 +256,7 @@ Class | Method | HTTP request | Description
|
|
|
255
256
|
*ProvisioningApi* | [**postAddFanvilMac**](docs/ProvisioningApi.md#postaddfanvilmac) | **POST** /provisioning/fanvil/groups/{id}/macs/{mac} | Add MAC address to DB and FDPS group
|
|
256
257
|
*ProvisioningApi* | [**postCreateMac**](docs/ProvisioningApi.md#postcreatemac) | **POST** /admin/provisioning/fanvil/macs |
|
|
257
258
|
*ReportsApi* | [**getGetStockReport**](docs/ReportsApi.md#getgetstockreport) | **GET** /reports/stock |
|
|
259
|
+
*ReportsApi* | [**postGenerateReport**](docs/ReportsApi.md#postgeneratereport) | **POST** /reports | Generate Reports
|
|
258
260
|
*SIPTrunksApi* | [**deleteGetSipTrunk**](docs/SIPTrunksApi.md#deletegetsiptrunk) | **DELETE** /sip/trunks/{id} | Delete SIP Trunk
|
|
259
261
|
*SIPTrunksApi* | [**getCanDivert**](docs/SIPTrunksApi.md#getcandivert) | **GET** /sip/trunks/{id}/diverts/allowed | SIP Trunk Diverts Allowed
|
|
260
262
|
*SIPTrunksApi* | [**getGetAddress**](docs/SIPTrunksApi.md#getgetaddress) | **GET** /sip/trunks/{id}/address | Get SIP Trunk Address
|
|
@@ -353,6 +355,7 @@ Class | Method | HTTP request | Description
|
|
|
353
355
|
- [AttributeSetEnum](docs/AttributeSetEnum.md)
|
|
354
356
|
- [AuditLogEntity](docs/AuditLogEntity.md)
|
|
355
357
|
- [AuthCodeResponseModel](docs/AuthCodeResponseModel.md)
|
|
358
|
+
- [AxisDataDTO](docs/AxisDataDTO.md)
|
|
356
359
|
- [BasicItemDTO](docs/BasicItemDTO.md)
|
|
357
360
|
- [BasicProductDTO](docs/BasicProductDTO.md)
|
|
358
361
|
- [BatchDTO](docs/BatchDTO.md)
|
|
@@ -410,6 +413,7 @@ Class | Method | HTTP request | Description
|
|
|
410
413
|
- [GetCheckMacExists200Response](docs/GetCheckMacExists200Response.md)
|
|
411
414
|
- [GetGetPrice200Response](docs/GetGetPrice200Response.md)
|
|
412
415
|
- [GetGetRecording200Response](docs/GetGetRecording200Response.md)
|
|
416
|
+
- [GraphDTO](docs/GraphDTO.md)
|
|
413
417
|
- [HostingChangeResponseModel](docs/HostingChangeResponseModel.md)
|
|
414
418
|
- [HostingRegionDTO](docs/HostingRegionDTO.md)
|
|
415
419
|
- [InstallationDetailsDTO](docs/InstallationDetailsDTO.md)
|
|
@@ -451,6 +455,8 @@ Class | Method | HTTP request | Description
|
|
|
451
455
|
- [OrderedItemEntity](docs/OrderedItemEntity.md)
|
|
452
456
|
- [OrderedItemModel](docs/OrderedItemModel.md)
|
|
453
457
|
- [PartnerDTO](docs/PartnerDTO.md)
|
|
458
|
+
- [PasswordSenderDTO](docs/PasswordSenderDTO.md)
|
|
459
|
+
- [PasswordSenderEntity](docs/PasswordSenderEntity.md)
|
|
454
460
|
- [PatchUpdateAccountCnameRequest](docs/PatchUpdateAccountCnameRequest.md)
|
|
455
461
|
- [PatchUpdateAccountCompanyNumberRequest](docs/PatchUpdateAccountCompanyNumberRequest.md)
|
|
456
462
|
- [PatchUpdateAccountContactPasswordRequest](docs/PatchUpdateAccountContactPasswordRequest.md)
|
|
@@ -466,6 +472,7 @@ Class | Method | HTTP request | Description
|
|
|
466
472
|
- [PortalLoginModel](docs/PortalLoginModel.md)
|
|
467
473
|
- [PostAddOrderNoteRequest](docs/PostAddOrderNoteRequest.md)
|
|
468
474
|
- [PostAddWebhook200Response](docs/PostAddWebhook200Response.md)
|
|
475
|
+
- [PostGenerateReport200Response](docs/PostGenerateReport200Response.md)
|
|
469
476
|
- [PostGetClientCredentialsRequest](docs/PostGetClientCredentialsRequest.md)
|
|
470
477
|
- [PostGetProductForCustomerRequest](docs/PostGetProductForCustomerRequest.md)
|
|
471
478
|
- [PostSendWelcomeEmailRequest](docs/PostSendWelcomeEmailRequest.md)
|
|
@@ -490,12 +497,14 @@ Class | Method | HTTP request | Description
|
|
|
490
497
|
- [RecordingBackupAzureModel](docs/RecordingBackupAzureModel.md)
|
|
491
498
|
- [RecordingsBackupInfoDTO](docs/RecordingsBackupInfoDTO.md)
|
|
492
499
|
- [RemoteStorageDTO](docs/RemoteStorageDTO.md)
|
|
500
|
+
- [ReportRequestDTO](docs/ReportRequestDTO.md)
|
|
493
501
|
- [ResourceNotReadyException](docs/ResourceNotReadyException.md)
|
|
494
502
|
- [RootAccessModel](docs/RootAccessModel.md)
|
|
495
503
|
- [S3BucketEntity](docs/S3BucketEntity.md)
|
|
496
504
|
- [SbcDTO](docs/SbcDTO.md)
|
|
497
505
|
- [ScannedItemModel](docs/ScannedItemModel.md)
|
|
498
506
|
- [ScopeModel](docs/ScopeModel.md)
|
|
507
|
+
- [SeriesDTO](docs/SeriesDTO.md)
|
|
499
508
|
- [ServiceHealthDTO](docs/ServiceHealthDTO.md)
|
|
500
509
|
- [ServiceStatusDTO](docs/ServiceStatusDTO.md)
|
|
501
510
|
- [ShipmentAddressEntity](docs/ShipmentAddressEntity.md)
|
|
@@ -556,7 +565,10 @@ Class | Method | HTTP request | Description
|
|
|
556
565
|
- [SupplierProductModel](docs/SupplierProductModel.md)
|
|
557
566
|
- [SupplierProductResultsModel](docs/SupplierProductResultsModel.md)
|
|
558
567
|
- [SupportTicketModel](docs/SupportTicketModel.md)
|
|
568
|
+
- [TableDTO](docs/TableDTO.md)
|
|
569
|
+
- [TableDataDTO](docs/TableDataDTO.md)
|
|
559
570
|
- [TableHistoryEntity](docs/TableHistoryEntity.md)
|
|
571
|
+
- [TableRowDTO](docs/TableRowDTO.md)
|
|
560
572
|
- [TcxBackupEntity](docs/TcxBackupEntity.md)
|
|
561
573
|
- [TcxBackupModel](docs/TcxBackupModel.md)
|
|
562
574
|
- [TcxBillingEntity](docs/TcxBillingEntity.md)
|
package/api.ts
CHANGED
|
@@ -977,6 +977,7 @@ export const AuditLogEntityTypeEnum = {
|
|
|
977
977
|
NumberPortNotes: 'number_port_notes',
|
|
978
978
|
PopsOfflineInstances: 'pops_offline_instances',
|
|
979
979
|
PopsOrderedItems: 'pops_ordered_items',
|
|
980
|
+
PopsPasswordSender: 'pops_password_sender',
|
|
980
981
|
PopsPrizes: 'pops_prizes',
|
|
981
982
|
PopsPrinters: 'pops_printers',
|
|
982
983
|
PopsPromoCodes: 'pops_promo_codes',
|
|
@@ -1042,6 +1043,33 @@ export interface AuthCodeResponseModel {
|
|
|
1042
1043
|
*/
|
|
1043
1044
|
'redirect_uri'?: string | null;
|
|
1044
1045
|
}
|
|
1046
|
+
/**
|
|
1047
|
+
* Graph Axis Data
|
|
1048
|
+
*/
|
|
1049
|
+
export interface AxisDataDTO {
|
|
1050
|
+
/**
|
|
1051
|
+
* Type
|
|
1052
|
+
*/
|
|
1053
|
+
'type'?: AxisDataDTOTypeEnum;
|
|
1054
|
+
/**
|
|
1055
|
+
* Data
|
|
1056
|
+
*/
|
|
1057
|
+
'data'?: Array<string> | null;
|
|
1058
|
+
/**
|
|
1059
|
+
* Name
|
|
1060
|
+
*/
|
|
1061
|
+
'name'?: string | null;
|
|
1062
|
+
}
|
|
1063
|
+
|
|
1064
|
+
export const AxisDataDTOTypeEnum = {
|
|
1065
|
+
Value: 'value',
|
|
1066
|
+
Category: 'category',
|
|
1067
|
+
Time: 'time',
|
|
1068
|
+
Log: 'log',
|
|
1069
|
+
} as const;
|
|
1070
|
+
|
|
1071
|
+
export type AxisDataDTOTypeEnum = typeof AxisDataDTOTypeEnum[keyof typeof AxisDataDTOTypeEnum];
|
|
1072
|
+
|
|
1045
1073
|
/**
|
|
1046
1074
|
* Basic Order Item
|
|
1047
1075
|
*/
|
|
@@ -2628,6 +2656,76 @@ export interface GetGetPrice200Response {
|
|
|
2628
2656
|
export interface GetGetRecording200Response {
|
|
2629
2657
|
'recordingData'?: string;
|
|
2630
2658
|
}
|
|
2659
|
+
/**
|
|
2660
|
+
* Graph
|
|
2661
|
+
*/
|
|
2662
|
+
export interface GraphDTO {
|
|
2663
|
+
/**
|
|
2664
|
+
* Title
|
|
2665
|
+
*/
|
|
2666
|
+
'title'?: string;
|
|
2667
|
+
/**
|
|
2668
|
+
* X Axis
|
|
2669
|
+
*/
|
|
2670
|
+
'xAxis'?: Array<AxisDataDTO>;
|
|
2671
|
+
/**
|
|
2672
|
+
* Y Axis
|
|
2673
|
+
*/
|
|
2674
|
+
'yAxis'?: Array<AxisDataDTO>;
|
|
2675
|
+
/**
|
|
2676
|
+
* Legend
|
|
2677
|
+
*/
|
|
2678
|
+
'legend'?: Array<string>;
|
|
2679
|
+
/**
|
|
2680
|
+
* Series
|
|
2681
|
+
*/
|
|
2682
|
+
'series'?: Array<SeriesDTO>;
|
|
2683
|
+
/**
|
|
2684
|
+
* Currency
|
|
2685
|
+
*/
|
|
2686
|
+
'currency'?: GraphDTOCurrencyEnum | null;
|
|
2687
|
+
/**
|
|
2688
|
+
* Locale
|
|
2689
|
+
*/
|
|
2690
|
+
'locale'?: string;
|
|
2691
|
+
}
|
|
2692
|
+
|
|
2693
|
+
export const GraphDTOCurrencyEnum = {
|
|
2694
|
+
Eur: 'EUR',
|
|
2695
|
+
Usd: 'USD',
|
|
2696
|
+
Jpy: 'JPY',
|
|
2697
|
+
Bgn: 'BGN',
|
|
2698
|
+
Czk: 'CZK',
|
|
2699
|
+
Dkk: 'DKK',
|
|
2700
|
+
Gbp: 'GBP',
|
|
2701
|
+
Huf: 'HUF',
|
|
2702
|
+
Pln: 'PLN',
|
|
2703
|
+
Ron: 'RON',
|
|
2704
|
+
Sek: 'SEK',
|
|
2705
|
+
Chf: 'CHF',
|
|
2706
|
+
Isk: 'ISK',
|
|
2707
|
+
Nok: 'NOK',
|
|
2708
|
+
Try: 'TRY',
|
|
2709
|
+
Aud: 'AUD',
|
|
2710
|
+
Brl: 'BRL',
|
|
2711
|
+
Cad: 'CAD',
|
|
2712
|
+
Cny: 'CNY',
|
|
2713
|
+
Hkd: 'HKD',
|
|
2714
|
+
Idr: 'IDR',
|
|
2715
|
+
Ils: 'ILS',
|
|
2716
|
+
Inr: 'INR',
|
|
2717
|
+
Krw: 'KRW',
|
|
2718
|
+
Mxn: 'MXN',
|
|
2719
|
+
Myr: 'MYR',
|
|
2720
|
+
Nzd: 'NZD',
|
|
2721
|
+
Php: 'PHP',
|
|
2722
|
+
Sgd: 'SGD',
|
|
2723
|
+
Thb: 'THB',
|
|
2724
|
+
Zar: 'ZAR',
|
|
2725
|
+
} as const;
|
|
2726
|
+
|
|
2727
|
+
export type GraphDTOCurrencyEnum = typeof GraphDTOCurrencyEnum[keyof typeof GraphDTOCurrencyEnum];
|
|
2728
|
+
|
|
2631
2729
|
/**
|
|
2632
2730
|
* Change Response
|
|
2633
2731
|
*/
|
|
@@ -4441,6 +4539,89 @@ export interface PartnerDTO {
|
|
|
4441
4539
|
*/
|
|
4442
4540
|
'customer'?: AccountSummaryDTO | null;
|
|
4443
4541
|
}
|
|
4542
|
+
/**
|
|
4543
|
+
* Password Sender Request
|
|
4544
|
+
*/
|
|
4545
|
+
export interface PasswordSenderDTO {
|
|
4546
|
+
/**
|
|
4547
|
+
* Username
|
|
4548
|
+
*/
|
|
4549
|
+
'username'?: string;
|
|
4550
|
+
/**
|
|
4551
|
+
* Password
|
|
4552
|
+
*/
|
|
4553
|
+
'password'?: string | null;
|
|
4554
|
+
/**
|
|
4555
|
+
* Expiry Interval
|
|
4556
|
+
*/
|
|
4557
|
+
'expiryInterval'?: number | null;
|
|
4558
|
+
/**
|
|
4559
|
+
* Interval Type
|
|
4560
|
+
*/
|
|
4561
|
+
'intervalType'?: PasswordSenderDTOIntervalTypeEnum | null;
|
|
4562
|
+
/**
|
|
4563
|
+
* Expiry
|
|
4564
|
+
*/
|
|
4565
|
+
'expiry'?: string | null;
|
|
4566
|
+
/**
|
|
4567
|
+
* Recipient
|
|
4568
|
+
*/
|
|
4569
|
+
'recipient'?: Array<string>;
|
|
4570
|
+
/**
|
|
4571
|
+
* URL
|
|
4572
|
+
*/
|
|
4573
|
+
'url'?: string | null;
|
|
4574
|
+
/**
|
|
4575
|
+
* Description
|
|
4576
|
+
*/
|
|
4577
|
+
'description'?: string | null;
|
|
4578
|
+
/**
|
|
4579
|
+
* Password URL
|
|
4580
|
+
*/
|
|
4581
|
+
'passwordUrl'?: string | null;
|
|
4582
|
+
}
|
|
4583
|
+
|
|
4584
|
+
export const PasswordSenderDTOIntervalTypeEnum = {
|
|
4585
|
+
Minute: 'Minute',
|
|
4586
|
+
Hour: 'Hour',
|
|
4587
|
+
Day: 'Day',
|
|
4588
|
+
} as const;
|
|
4589
|
+
|
|
4590
|
+
export type PasswordSenderDTOIntervalTypeEnum = typeof PasswordSenderDTOIntervalTypeEnum[keyof typeof PasswordSenderDTOIntervalTypeEnum];
|
|
4591
|
+
|
|
4592
|
+
/**
|
|
4593
|
+
* PasswordSenderEntity
|
|
4594
|
+
*/
|
|
4595
|
+
export interface PasswordSenderEntity {
|
|
4596
|
+
/**
|
|
4597
|
+
* uniqueId
|
|
4598
|
+
*/
|
|
4599
|
+
'uniqueId'?: string;
|
|
4600
|
+
/**
|
|
4601
|
+
* url
|
|
4602
|
+
*/
|
|
4603
|
+
'url'?: string;
|
|
4604
|
+
/**
|
|
4605
|
+
* username
|
|
4606
|
+
*/
|
|
4607
|
+
'username'?: string;
|
|
4608
|
+
/**
|
|
4609
|
+
* password
|
|
4610
|
+
*/
|
|
4611
|
+
'password'?: string;
|
|
4612
|
+
/**
|
|
4613
|
+
* expiryTime
|
|
4614
|
+
*/
|
|
4615
|
+
'expiryTime'?: string;
|
|
4616
|
+
/**
|
|
4617
|
+
* emailRecipient
|
|
4618
|
+
*/
|
|
4619
|
+
'emailRecipient'?: string;
|
|
4620
|
+
/**
|
|
4621
|
+
* description
|
|
4622
|
+
*/
|
|
4623
|
+
'description'?: string;
|
|
4624
|
+
}
|
|
4444
4625
|
export interface PatchUpdateAccountCnameRequest {
|
|
4445
4626
|
/**
|
|
4446
4627
|
* CNAME
|
|
@@ -4679,6 +4860,11 @@ export interface PostAddOrderNoteRequest {
|
|
|
4679
4860
|
export interface PostAddWebhook200Response {
|
|
4680
4861
|
'url'?: string;
|
|
4681
4862
|
}
|
|
4863
|
+
/**
|
|
4864
|
+
* @type PostGenerateReport200Response
|
|
4865
|
+
*/
|
|
4866
|
+
export type PostGenerateReport200Response = GraphDTO | TableDTO;
|
|
4867
|
+
|
|
4682
4868
|
export interface PostGetClientCredentialsRequest {
|
|
4683
4869
|
/**
|
|
4684
4870
|
* OAuth 2.0 scopes
|
|
@@ -5266,6 +5452,69 @@ export interface RemoteStorageDTO {
|
|
|
5266
5452
|
*/
|
|
5267
5453
|
'region'?: string;
|
|
5268
5454
|
}
|
|
5455
|
+
/**
|
|
5456
|
+
* Report Request
|
|
5457
|
+
*/
|
|
5458
|
+
export interface ReportRequestDTO {
|
|
5459
|
+
/**
|
|
5460
|
+
* Report
|
|
5461
|
+
*/
|
|
5462
|
+
'report'?: ReportRequestDTOReportEnum;
|
|
5463
|
+
/**
|
|
5464
|
+
* Start
|
|
5465
|
+
*/
|
|
5466
|
+
'start'?: string | null;
|
|
5467
|
+
/**
|
|
5468
|
+
* End
|
|
5469
|
+
*/
|
|
5470
|
+
'end'?: string | null;
|
|
5471
|
+
/**
|
|
5472
|
+
* Month
|
|
5473
|
+
*/
|
|
5474
|
+
'month'?: number | null;
|
|
5475
|
+
/**
|
|
5476
|
+
* Year
|
|
5477
|
+
*/
|
|
5478
|
+
'year'?: number | null;
|
|
5479
|
+
/**
|
|
5480
|
+
* SKU
|
|
5481
|
+
*/
|
|
5482
|
+
'sku'?: string | null;
|
|
5483
|
+
/**
|
|
5484
|
+
* Price
|
|
5485
|
+
*/
|
|
5486
|
+
'price'?: number | null;
|
|
5487
|
+
/**
|
|
5488
|
+
* Recipients
|
|
5489
|
+
*/
|
|
5490
|
+
'recipients'?: Array<string> | null;
|
|
5491
|
+
/**
|
|
5492
|
+
* Graph Type
|
|
5493
|
+
*/
|
|
5494
|
+
'graphType'?: ReportRequestDTOGraphTypeEnum | null;
|
|
5495
|
+
}
|
|
5496
|
+
|
|
5497
|
+
export const ReportRequestDTOReportEnum = {
|
|
5498
|
+
_1: '1',
|
|
5499
|
+
_2: '2',
|
|
5500
|
+
_3: '3',
|
|
5501
|
+
_4: '4',
|
|
5502
|
+
_5: '5',
|
|
5503
|
+
_6: '6',
|
|
5504
|
+
_7: '7',
|
|
5505
|
+
_8: '8',
|
|
5506
|
+
_9: '9',
|
|
5507
|
+
_10: '10',
|
|
5508
|
+
} as const;
|
|
5509
|
+
|
|
5510
|
+
export type ReportRequestDTOReportEnum = typeof ReportRequestDTOReportEnum[keyof typeof ReportRequestDTOReportEnum];
|
|
5511
|
+
export const ReportRequestDTOGraphTypeEnum = {
|
|
5512
|
+
StackedArea: 'stacked-area',
|
|
5513
|
+
Table: 'table',
|
|
5514
|
+
} as const;
|
|
5515
|
+
|
|
5516
|
+
export type ReportRequestDTOGraphTypeEnum = typeof ReportRequestDTOGraphTypeEnum[keyof typeof ReportRequestDTOGraphTypeEnum];
|
|
5517
|
+
|
|
5269
5518
|
/**
|
|
5270
5519
|
* Resource Not Ready
|
|
5271
5520
|
*/
|
|
@@ -5396,6 +5645,34 @@ export interface ScopeModel {
|
|
|
5396
5645
|
*/
|
|
5397
5646
|
'description'?: string;
|
|
5398
5647
|
}
|
|
5648
|
+
/**
|
|
5649
|
+
* Graph Series Data
|
|
5650
|
+
*/
|
|
5651
|
+
export interface SeriesDTO {
|
|
5652
|
+
/**
|
|
5653
|
+
* Name
|
|
5654
|
+
*/
|
|
5655
|
+
'name'?: string;
|
|
5656
|
+
/**
|
|
5657
|
+
* Type
|
|
5658
|
+
*/
|
|
5659
|
+
'type'?: SeriesDTOTypeEnum;
|
|
5660
|
+
/**
|
|
5661
|
+
* Stack
|
|
5662
|
+
*/
|
|
5663
|
+
'stack'?: string | null;
|
|
5664
|
+
/**
|
|
5665
|
+
* Data
|
|
5666
|
+
*/
|
|
5667
|
+
'data'?: Array<string>;
|
|
5668
|
+
}
|
|
5669
|
+
|
|
5670
|
+
export const SeriesDTOTypeEnum = {
|
|
5671
|
+
Line: 'line',
|
|
5672
|
+
} as const;
|
|
5673
|
+
|
|
5674
|
+
export type SeriesDTOTypeEnum = typeof SeriesDTOTypeEnum[keyof typeof SeriesDTOTypeEnum];
|
|
5675
|
+
|
|
5399
5676
|
/**
|
|
5400
5677
|
* Service Health DTO
|
|
5401
5678
|
*/
|
|
@@ -7264,6 +7541,29 @@ export interface SupportTicketModel {
|
|
|
7264
7541
|
*/
|
|
7265
7542
|
'conversations'?: Array<ConversationModel>;
|
|
7266
7543
|
}
|
|
7544
|
+
/**
|
|
7545
|
+
* Table
|
|
7546
|
+
*/
|
|
7547
|
+
export interface TableDTO {
|
|
7548
|
+
/**
|
|
7549
|
+
* Title
|
|
7550
|
+
*/
|
|
7551
|
+
'title'?: string;
|
|
7552
|
+
'headers'?: TableRowDTO;
|
|
7553
|
+
/**
|
|
7554
|
+
* Rows
|
|
7555
|
+
*/
|
|
7556
|
+
'rows'?: Array<TableRowDTO>;
|
|
7557
|
+
}
|
|
7558
|
+
/**
|
|
7559
|
+
* Table Data
|
|
7560
|
+
*/
|
|
7561
|
+
export interface TableDataDTO {
|
|
7562
|
+
/**
|
|
7563
|
+
* Value
|
|
7564
|
+
*/
|
|
7565
|
+
'value'?: string;
|
|
7566
|
+
}
|
|
7267
7567
|
/**
|
|
7268
7568
|
* TableAttribsEntity
|
|
7269
7569
|
*/
|
|
@@ -7301,6 +7601,15 @@ export interface TableHistoryEntity {
|
|
|
7301
7601
|
*/
|
|
7302
7602
|
'page'?: number;
|
|
7303
7603
|
}
|
|
7604
|
+
/**
|
|
7605
|
+
* Table Row
|
|
7606
|
+
*/
|
|
7607
|
+
export interface TableRowDTO {
|
|
7608
|
+
/**
|
|
7609
|
+
* Table Data
|
|
7610
|
+
*/
|
|
7611
|
+
'data'?: Array<TableDataDTO>;
|
|
7612
|
+
}
|
|
7304
7613
|
/**
|
|
7305
7614
|
* 3CX Wizard Restore From Backup
|
|
7306
7615
|
*/
|
|
@@ -18045,6 +18354,102 @@ export const GetGetTenantsStatusEnum = {
|
|
|
18045
18354
|
export type GetGetTenantsStatusEnum = typeof GetGetTenantsStatusEnum[keyof typeof GetGetTenantsStatusEnum];
|
|
18046
18355
|
|
|
18047
18356
|
|
|
18357
|
+
/**
|
|
18358
|
+
* MiscApi - axios parameter creator
|
|
18359
|
+
*/
|
|
18360
|
+
export const MiscApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
18361
|
+
return {
|
|
18362
|
+
/**
|
|
18363
|
+
* Share Credentials
|
|
18364
|
+
* @param {PasswordSenderDTO} [passwordSenderDTO] Password Sender Request
|
|
18365
|
+
* @param {*} [options] Override http request option.
|
|
18366
|
+
* @throws {RequiredError}
|
|
18367
|
+
*/
|
|
18368
|
+
postSendPassword: async (passwordSenderDTO?: PasswordSenderDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
18369
|
+
const localVarPath = `/admin/password/send`;
|
|
18370
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18371
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
18372
|
+
let baseOptions;
|
|
18373
|
+
if (configuration) {
|
|
18374
|
+
baseOptions = configuration.baseOptions;
|
|
18375
|
+
}
|
|
18376
|
+
|
|
18377
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
18378
|
+
const localVarHeaderParameter = {} as any;
|
|
18379
|
+
const localVarQueryParameter = {} as any;
|
|
18380
|
+
|
|
18381
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
18382
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
18383
|
+
|
|
18384
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
18385
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18386
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
18387
|
+
localVarRequestOptions.data = serializeDataIfNeeded(passwordSenderDTO, localVarRequestOptions, configuration)
|
|
18388
|
+
|
|
18389
|
+
return {
|
|
18390
|
+
url: toPathString(localVarUrlObj),
|
|
18391
|
+
options: localVarRequestOptions,
|
|
18392
|
+
};
|
|
18393
|
+
},
|
|
18394
|
+
}
|
|
18395
|
+
};
|
|
18396
|
+
|
|
18397
|
+
/**
|
|
18398
|
+
* MiscApi - functional programming interface
|
|
18399
|
+
*/
|
|
18400
|
+
export const MiscApiFp = function(configuration?: Configuration) {
|
|
18401
|
+
const localVarAxiosParamCreator = MiscApiAxiosParamCreator(configuration)
|
|
18402
|
+
return {
|
|
18403
|
+
/**
|
|
18404
|
+
* Share Credentials
|
|
18405
|
+
* @param {PasswordSenderDTO} [passwordSenderDTO] Password Sender Request
|
|
18406
|
+
* @param {*} [options] Override http request option.
|
|
18407
|
+
* @throws {RequiredError}
|
|
18408
|
+
*/
|
|
18409
|
+
async postSendPassword(passwordSenderDTO?: PasswordSenderDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PasswordSenderDTO>> {
|
|
18410
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.postSendPassword(passwordSenderDTO, options);
|
|
18411
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
18412
|
+
const localVarOperationServerBasePath = operationServerMap['MiscApi.postSendPassword']?.[localVarOperationServerIndex]?.url;
|
|
18413
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18414
|
+
},
|
|
18415
|
+
}
|
|
18416
|
+
};
|
|
18417
|
+
|
|
18418
|
+
/**
|
|
18419
|
+
* MiscApi - factory interface
|
|
18420
|
+
*/
|
|
18421
|
+
export const MiscApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
18422
|
+
const localVarFp = MiscApiFp(configuration)
|
|
18423
|
+
return {
|
|
18424
|
+
/**
|
|
18425
|
+
* Share Credentials
|
|
18426
|
+
* @param {PasswordSenderDTO} [passwordSenderDTO] Password Sender Request
|
|
18427
|
+
* @param {*} [options] Override http request option.
|
|
18428
|
+
* @throws {RequiredError}
|
|
18429
|
+
*/
|
|
18430
|
+
postSendPassword(passwordSenderDTO?: PasswordSenderDTO, options?: RawAxiosRequestConfig): AxiosPromise<PasswordSenderDTO> {
|
|
18431
|
+
return localVarFp.postSendPassword(passwordSenderDTO, options).then((request) => request(axios, basePath));
|
|
18432
|
+
},
|
|
18433
|
+
};
|
|
18434
|
+
};
|
|
18435
|
+
|
|
18436
|
+
/**
|
|
18437
|
+
* MiscApi - object-oriented interface
|
|
18438
|
+
*/
|
|
18439
|
+
export class MiscApi extends BaseAPI {
|
|
18440
|
+
/**
|
|
18441
|
+
* Share Credentials
|
|
18442
|
+
* @param {PasswordSenderDTO} [passwordSenderDTO] Password Sender Request
|
|
18443
|
+
* @param {*} [options] Override http request option.
|
|
18444
|
+
* @throws {RequiredError}
|
|
18445
|
+
*/
|
|
18446
|
+
public postSendPassword(passwordSenderDTO?: PasswordSenderDTO, options?: RawAxiosRequestConfig) {
|
|
18447
|
+
return MiscApiFp(this.configuration).postSendPassword(passwordSenderDTO, options).then((request) => request(this.axios, this.basePath));
|
|
18448
|
+
}
|
|
18449
|
+
}
|
|
18450
|
+
|
|
18451
|
+
|
|
18452
|
+
|
|
18048
18453
|
/**
|
|
18049
18454
|
* MyPBXToolsApi - axios parameter creator
|
|
18050
18455
|
*/
|
|
@@ -24613,6 +25018,39 @@ export const ReportsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
24613
25018
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
24614
25019
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
24615
25020
|
|
|
25021
|
+
return {
|
|
25022
|
+
url: toPathString(localVarUrlObj),
|
|
25023
|
+
options: localVarRequestOptions,
|
|
25024
|
+
};
|
|
25025
|
+
},
|
|
25026
|
+
/**
|
|
25027
|
+
* Generate Reports
|
|
25028
|
+
* @summary Generate Reports
|
|
25029
|
+
* @param {ReportRequestDTO} [reportRequestDTO] Report Request
|
|
25030
|
+
* @param {*} [options] Override http request option.
|
|
25031
|
+
* @throws {RequiredError}
|
|
25032
|
+
*/
|
|
25033
|
+
postGenerateReport: async (reportRequestDTO?: ReportRequestDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
25034
|
+
const localVarPath = `/reports`;
|
|
25035
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
25036
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
25037
|
+
let baseOptions;
|
|
25038
|
+
if (configuration) {
|
|
25039
|
+
baseOptions = configuration.baseOptions;
|
|
25040
|
+
}
|
|
25041
|
+
|
|
25042
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
25043
|
+
const localVarHeaderParameter = {} as any;
|
|
25044
|
+
const localVarQueryParameter = {} as any;
|
|
25045
|
+
|
|
25046
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
25047
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
25048
|
+
|
|
25049
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
25050
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
25051
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
25052
|
+
localVarRequestOptions.data = serializeDataIfNeeded(reportRequestDTO, localVarRequestOptions, configuration)
|
|
25053
|
+
|
|
24616
25054
|
return {
|
|
24617
25055
|
url: toPathString(localVarUrlObj),
|
|
24618
25056
|
options: localVarRequestOptions,
|
|
@@ -24638,6 +25076,19 @@ export const ReportsApiFp = function(configuration?: Configuration) {
|
|
|
24638
25076
|
const localVarOperationServerBasePath = operationServerMap['ReportsApi.getGetStockReport']?.[localVarOperationServerIndex]?.url;
|
|
24639
25077
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
24640
25078
|
},
|
|
25079
|
+
/**
|
|
25080
|
+
* Generate Reports
|
|
25081
|
+
* @summary Generate Reports
|
|
25082
|
+
* @param {ReportRequestDTO} [reportRequestDTO] Report Request
|
|
25083
|
+
* @param {*} [options] Override http request option.
|
|
25084
|
+
* @throws {RequiredError}
|
|
25085
|
+
*/
|
|
25086
|
+
async postGenerateReport(reportRequestDTO?: ReportRequestDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PostGenerateReport200Response>> {
|
|
25087
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.postGenerateReport(reportRequestDTO, options);
|
|
25088
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
25089
|
+
const localVarOperationServerBasePath = operationServerMap['ReportsApi.postGenerateReport']?.[localVarOperationServerIndex]?.url;
|
|
25090
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
25091
|
+
},
|
|
24641
25092
|
}
|
|
24642
25093
|
};
|
|
24643
25094
|
|
|
@@ -24655,6 +25106,16 @@ export const ReportsApiFactory = function (configuration?: Configuration, basePa
|
|
|
24655
25106
|
getGetStockReport(options?: RawAxiosRequestConfig): AxiosPromise<StockReportModel> {
|
|
24656
25107
|
return localVarFp.getGetStockReport(options).then((request) => request(axios, basePath));
|
|
24657
25108
|
},
|
|
25109
|
+
/**
|
|
25110
|
+
* Generate Reports
|
|
25111
|
+
* @summary Generate Reports
|
|
25112
|
+
* @param {ReportRequestDTO} [reportRequestDTO] Report Request
|
|
25113
|
+
* @param {*} [options] Override http request option.
|
|
25114
|
+
* @throws {RequiredError}
|
|
25115
|
+
*/
|
|
25116
|
+
postGenerateReport(reportRequestDTO?: ReportRequestDTO, options?: RawAxiosRequestConfig): AxiosPromise<PostGenerateReport200Response> {
|
|
25117
|
+
return localVarFp.postGenerateReport(reportRequestDTO, options).then((request) => request(axios, basePath));
|
|
25118
|
+
},
|
|
24658
25119
|
};
|
|
24659
25120
|
};
|
|
24660
25121
|
|
|
@@ -24670,6 +25131,17 @@ export class ReportsApi extends BaseAPI {
|
|
|
24670
25131
|
public getGetStockReport(options?: RawAxiosRequestConfig) {
|
|
24671
25132
|
return ReportsApiFp(this.configuration).getGetStockReport(options).then((request) => request(this.axios, this.basePath));
|
|
24672
25133
|
}
|
|
25134
|
+
|
|
25135
|
+
/**
|
|
25136
|
+
* Generate Reports
|
|
25137
|
+
* @summary Generate Reports
|
|
25138
|
+
* @param {ReportRequestDTO} [reportRequestDTO] Report Request
|
|
25139
|
+
* @param {*} [options] Override http request option.
|
|
25140
|
+
* @throws {RequiredError}
|
|
25141
|
+
*/
|
|
25142
|
+
public postGenerateReport(reportRequestDTO?: ReportRequestDTO, options?: RawAxiosRequestConfig) {
|
|
25143
|
+
return ReportsApiFp(this.configuration).postGenerateReport(reportRequestDTO, options).then((request) => request(this.axios, this.basePath));
|
|
25144
|
+
}
|
|
24673
25145
|
}
|
|
24674
25146
|
|
|
24675
25147
|
|