yellowgrid-api-ts 3.2.220 → 3.2.221-dev.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (150) hide show
  1. package/.openapi-generator/FILES +361 -299
  2. package/.openapi-generator/VERSION +1 -1
  3. package/README.md +135 -3
  4. package/api.ts +19899 -6358
  5. package/base.ts +26 -2
  6. package/common.ts +39 -16
  7. package/config.json +4 -3
  8. package/configuration.ts +21 -27
  9. package/dist/api.d.ts +15486 -4967
  10. package/dist/api.js +7444 -1056
  11. package/dist/base.d.ts +25 -1
  12. package/dist/base.js +21 -2
  13. package/dist/common.d.ts +36 -5
  14. package/dist/common.js +39 -17
  15. package/dist/configuration.d.ts +18 -25
  16. package/dist/configuration.js +4 -4
  17. package/dist/index.d.ts +1 -1
  18. package/dist/index.js +1 -1
  19. package/dist/models/GraphTypeEnum.d.ts +13 -0
  20. package/dist/models/GraphTypeEnum.js +15 -0
  21. package/dist/models/GroupEnum.d.ts +43 -0
  22. package/dist/models/GroupEnum.js +45 -0
  23. package/dist/models/HostingPriceListEnum.d.ts +5 -0
  24. package/dist/models/HostingPriceListEnum.js +5 -0
  25. package/dist/models/ReportEnum.d.ts +53 -0
  26. package/dist/models/ReportEnum.js +55 -0
  27. package/docs/AbstractItemDiscountModel.md +21 -0
  28. package/docs/AbstractOrderRequestDTO.md +1 -1
  29. package/docs/AccountsApi.md +104 -1
  30. package/docs/AdminOrderRequestDTO.md +1 -1
  31. package/docs/AxisDataDTO.md +25 -0
  32. package/docs/BaseService.md +36 -0
  33. package/docs/BillingApi.md +3511 -26
  34. package/docs/Bundle.md +34 -0
  35. package/docs/BundleCustomer.md +34 -0
  36. package/docs/CRMApi.md +1 -1
  37. package/docs/CallTariff.md +34 -0
  38. package/docs/CallTariffPlan.md +36 -0
  39. package/docs/CallTariffResponse.md +26 -0
  40. package/docs/Cdr.md +112 -0
  41. package/docs/Class3CXApi.md +1 -1
  42. package/docs/Class3CXInstallationWizardApi.md +1 -1
  43. package/docs/Class3CXInstallationsApi.md +1 -1
  44. package/docs/Class3CXIntegrationsApi.md +1 -1
  45. package/docs/Class3CXMultiTenantApi.md +1 -1
  46. package/docs/ConnectionRequest.md +36 -0
  47. package/docs/ConnectionType.md +28 -0
  48. package/docs/ContactDetail.md +58 -0
  49. package/docs/CrmActivityDTO.md +1 -1
  50. package/docs/CrmDateActivitiesDTO.md +1 -1
  51. package/docs/Customer.md +98 -0
  52. package/docs/CustomerCoordinatesDTO.md +31 -0
  53. package/docs/CustomerOrderRequestDTO.md +1 -1
  54. package/docs/CustomerRate.md +22 -0
  55. package/docs/CustomerRateType.md +12 -0
  56. package/docs/DetailedOrderRequestDTO.md +1 -1
  57. package/docs/GetDisconnectDDIRequest.md +20 -0
  58. package/docs/GraphDTO.md +33 -0
  59. package/docs/InboundCli.md +50 -0
  60. package/docs/InboundTariffPlan.md +32 -0
  61. package/docs/InboundTariffPlanResponse.md +28 -0
  62. package/docs/MiscApi.md +63 -0
  63. package/docs/MultiTenantSipTrunkRequest.md +22 -0
  64. package/docs/MyPBXToolsApi.md +1 -1
  65. package/docs/NumberPortModel.md +51 -0
  66. package/docs/NumberPortingApi.md +1 -1
  67. package/docs/OAuth20Api.md +1 -1
  68. package/docs/OrdersApi.md +1 -1
  69. package/docs/OutboundCli.md +70 -0
  70. package/docs/PartnerDTO.md +1 -1
  71. package/docs/PasswordSenderDTO.md +37 -0
  72. package/docs/PasswordSenderEntity.md +33 -0
  73. package/docs/PatchSetTcxWizardCnameRequest.md +20 -0
  74. package/docs/PostAddAdminNoteRequest.md +20 -0
  75. package/docs/PostAddBroadbandRequest.md +28 -0
  76. package/docs/PostAddCallTariffToCallTariffPlanRequest.md +34 -0
  77. package/docs/PostAddEthernetRequest.md +28 -0
  78. package/docs/PostAddRecurringChargeRequest.md +30 -0
  79. package/docs/PostAddServiceToServicePlanRequest.md +30 -0
  80. package/docs/PostAddSipTrunkDDIsRequest.md +30 -0
  81. package/docs/PostGenerateReport200Response.md +36 -0
  82. package/docs/PostGetBaseServicesRequest.md +22 -0
  83. package/docs/PostGetPriceGroupsRequest.md +22 -0
  84. package/docs/PostGetProductRequest.md +24 -0
  85. package/docs/PostGetServicePlansRequest.md +22 -0
  86. package/docs/PostGetSipTrunksBillingRequest.md +34 -0
  87. package/docs/PostUpdateConnectionRequest.md +22 -0
  88. package/docs/PostUpdateRecurringChargeRequest.md +30 -0
  89. package/docs/PriceGroup.md +30 -0
  90. package/docs/PriceGroupResponse.md +24 -0
  91. package/docs/PricingApi.md +1 -1
  92. package/docs/ProcessedCdr.md +96 -0
  93. package/docs/ProductDetailedSummaryDTO.md +2 -2
  94. package/docs/ProductSearchDTO.md +37 -0
  95. package/docs/ProductSummaryDTO.md +1 -1
  96. package/docs/ProductsApi.md +1 -1
  97. package/docs/ProspectDTO.md +2 -2
  98. package/docs/ProspectsApi.md +1 -1
  99. package/docs/ProvisioningApi.md +1 -1
  100. package/docs/PutAddCallTariffToCallTariffPlanRequest.md +30 -0
  101. package/docs/PutAddServiceToServicePlanRequest.md +26 -0
  102. package/docs/PutConnectionSearchRequest.md +20 -0
  103. package/docs/PutGetBaseServicesRequest.md +28 -0
  104. package/docs/PutGetCallTariffPlanRequest.md +28 -0
  105. package/docs/PutGetPriceGroupsRequest.md +28 -0
  106. package/docs/RecordingsBackupInfoDTO.md +2 -2
  107. package/docs/RecurringCharge.md +48 -0
  108. package/docs/ReportRequestDTO.md +37 -0
  109. package/docs/ReportsApi.md +107 -0
  110. package/docs/SIPTrunksApi.md +1 -1
  111. package/docs/SMSApi.md +1 -1
  112. package/docs/SdrReferenceType.md +24 -0
  113. package/docs/SeriesDTO.md +27 -0
  114. package/docs/Service.md +42 -0
  115. package/docs/ServicePlan.md +36 -0
  116. package/docs/ServicesApi.md +1 -1
  117. package/docs/ShipmentRequestDTO.md +2 -2
  118. package/docs/ShippingApi.md +1 -1
  119. package/docs/StockManagementApi.md +1 -1
  120. package/docs/StockReportItemModel.md +31 -0
  121. package/docs/StockReportModel.md +29 -0
  122. package/docs/SupplierItemModel.md +2 -0
  123. package/docs/SupplierItemsResultsDTO.md +21 -0
  124. package/docs/SupplierProductModel.md +25 -0
  125. package/docs/SupplierProductResultsModel.md +27 -0
  126. package/docs/SuppliersApi.md +230 -0
  127. package/docs/SystemApi.md +1 -1
  128. package/docs/TableDTO.md +25 -0
  129. package/docs/TableDataDTO.md +21 -0
  130. package/docs/TableRowDTO.md +21 -0
  131. package/docs/TariffRate.md +30 -0
  132. package/docs/TcxHostingPricingEntity.md +35 -0
  133. package/docs/TcxInstallationDetailsModel.md +45 -0
  134. package/docs/TcxInstallationModel.md +2 -0
  135. package/docs/TcxKeySummaryDTO.md +1 -1
  136. package/docs/TelephonySupportTicketModel.md +41 -0
  137. package/docs/TicketsApi.md +1 -1
  138. package/docs/WebhooksApi.md +1 -1
  139. package/getEnums.php +31 -31
  140. package/hs_err_pid16044.log +249 -0
  141. package/hs_err_pid44560.log +249 -0
  142. package/hs_err_pid53988.log +249 -0
  143. package/hs_err_pid58728.log +40 -0
  144. package/index.ts +1 -1
  145. package/models/GraphTypeEnum.ts +14 -0
  146. package/models/GroupEnum.ts +44 -0
  147. package/models/HostingPriceListEnum.ts +5 -0
  148. package/models/ReportEnum.ts +54 -0
  149. package/openapitools.json +1 -1
  150. package/package.json +2 -2
@@ -0,0 +1,53 @@
1
+ export declare const ReportEnum: {
2
+ readonly STOCK: {
3
+ readonly name: "STOCK";
4
+ readonly value: 1;
5
+ readonly publicValue: "Stock";
6
+ };
7
+ readonly POS: {
8
+ readonly name: "POS";
9
+ readonly value: 2;
10
+ readonly publicValue: "POS";
11
+ };
12
+ readonly CUSTOMER_SPEND: {
13
+ readonly name: "CUSTOMER_SPEND";
14
+ readonly value: 3;
15
+ readonly publicValue: "Customer Spend";
16
+ };
17
+ readonly MONTHLY_SALES: {
18
+ readonly name: "MONTHLY_SALES";
19
+ readonly value: 4;
20
+ readonly publicValue: "Monthly Sales";
21
+ };
22
+ readonly CUSTOMER_ANNUAL_COMPARISON: {
23
+ readonly name: "CUSTOMER_ANNUAL_COMPARISON";
24
+ readonly value: 5;
25
+ readonly publicValue: "Customer Annual Comparison";
26
+ };
27
+ readonly LOW_STOCK: {
28
+ readonly name: "LOW_STOCK";
29
+ readonly value: 6;
30
+ readonly publicValue: "Low Stock";
31
+ };
32
+ readonly LEAGUE_TABLE: {
33
+ readonly name: "LEAGUE_TABLE";
34
+ readonly value: 7;
35
+ readonly publicValue: "League Table";
36
+ };
37
+ readonly REVENUE: {
38
+ readonly name: "REVENUE";
39
+ readonly value: 8;
40
+ readonly publicValue: "Revenue";
41
+ };
42
+ readonly EXPENDITURE: {
43
+ readonly name: "EXPENDITURE";
44
+ readonly value: 9;
45
+ readonly publicValue: "Expenditure";
46
+ };
47
+ readonly TECH_SUPPORT_CUSTOMERS: {
48
+ readonly name: "TECH_SUPPORT_CUSTOMERS";
49
+ readonly value: 10;
50
+ readonly publicValue: "Tech Support Customers";
51
+ };
52
+ };
53
+ export type ReportEnum = typeof ReportEnum;
@@ -0,0 +1,55 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ReportEnum = void 0;
4
+ exports.ReportEnum = {
5
+ "STOCK": {
6
+ "name": "STOCK",
7
+ "value": 1,
8
+ "publicValue": "Stock"
9
+ },
10
+ "POS": {
11
+ "name": "POS",
12
+ "value": 2,
13
+ "publicValue": "POS"
14
+ },
15
+ "CUSTOMER_SPEND": {
16
+ "name": "CUSTOMER_SPEND",
17
+ "value": 3,
18
+ "publicValue": "Customer Spend"
19
+ },
20
+ "MONTHLY_SALES": {
21
+ "name": "MONTHLY_SALES",
22
+ "value": 4,
23
+ "publicValue": "Monthly Sales"
24
+ },
25
+ "CUSTOMER_ANNUAL_COMPARISON": {
26
+ "name": "CUSTOMER_ANNUAL_COMPARISON",
27
+ "value": 5,
28
+ "publicValue": "Customer Annual Comparison"
29
+ },
30
+ "LOW_STOCK": {
31
+ "name": "LOW_STOCK",
32
+ "value": 6,
33
+ "publicValue": "Low Stock"
34
+ },
35
+ "LEAGUE_TABLE": {
36
+ "name": "LEAGUE_TABLE",
37
+ "value": 7,
38
+ "publicValue": "League Table"
39
+ },
40
+ "REVENUE": {
41
+ "name": "REVENUE",
42
+ "value": 8,
43
+ "publicValue": "Revenue"
44
+ },
45
+ "EXPENDITURE": {
46
+ "name": "EXPENDITURE",
47
+ "value": 9,
48
+ "publicValue": "Expenditure"
49
+ },
50
+ "TECH_SUPPORT_CUSTOMERS": {
51
+ "name": "TECH_SUPPORT_CUSTOMERS",
52
+ "value": 10,
53
+ "publicValue": "Tech Support Customers"
54
+ }
55
+ };
@@ -0,0 +1,21 @@
1
+ # AbstractItemDiscountModel
2
+
3
+ Item Discount
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **description** | **string** | Description | [optional] [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { AbstractItemDiscountModel } from 'yellowgrid-api-ts';
15
+
16
+ const instance: AbstractItemDiscountModel = {
17
+ description,
18
+ };
19
+ ```
20
+
21
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -10,7 +10,7 @@ Name | Type | Description | Notes
10
10
  **items** | [**Array<CustomerItemRequestDTO>**](CustomerItemRequestDTO.md) | Items | [optional] [default to undefined]
11
11
  **shippingService** | [**ShippingServiceDTO**](ShippingServiceDTO.md) | | [optional] [default to undefined]
12
12
  **provisioningUrl** | **string** | Provisioning URL | [optional] [default to undefined]
13
- **shippingAddress** | [**AddressModel**](AddressModel.md) | Shipping Address | [optional] [default to undefined]
13
+ **shippingAddress** | [**AddressModel**](AddressModel.md) | | [optional] [default to undefined]
14
14
  **partShip** | **boolean** | Part Ship Order | [optional] [default to undefined]
15
15
  **quote** | **boolean** | Quote | [optional] [default to undefined]
16
16
 
@@ -1,6 +1,6 @@
1
1
  # AccountsApi
2
2
 
3
- All URIs are relative to *https://bitbucket.org*
3
+ All URIs are relative to *https://api.local.yellowgrid.co.uk*
4
4
 
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
@@ -17,8 +17,10 @@ All URIs are relative to *https://bitbucket.org*
17
17
  |[**getGetClientCredentials**](#getgetclientcredentials) | **GET** /accounts/me/contacts/credentials | Get user\'s client credentials|
18
18
  |[**getGetCustomerAccountsList**](#getgetcustomeraccountslist) | **GET** /admin/accounts/customers/list | |
19
19
  |[**getGetCustomerKeys**](#getgetcustomerkeys) | **GET** /accounts/me/tcx/keys | Get 3CX Keys|
20
+ |[**getGetCustomerMap**](#getgetcustomermap) | **GET** /admin/accounts/customer/map | |
20
21
  |[**getGetFinanceSettings**](#getgetfinancesettings) | **GET** /admin/accounts/{id}/finance | |
21
22
  |[**getGetLastAccount**](#getgetlastaccount) | **GET** /admin/accounts/last | Get Last Account|
23
+ |[**getGetNewPriceList**](#getgetnewpricelist) | **GET** /admin/accounts/priceList/new | Download New Price List|
22
24
  |[**getGetTcxPartnerDetails**](#getgettcxpartnerdetails) | **GET** /admin/accounts/{id}/tcx/partner | |
23
25
  |[**getVerifyEmailAddress**](#getverifyemailaddress) | **GET** /accounts/contacts/verify | Verify account email address|
24
26
  |[**patchSetAccountStatus**](#patchsetaccountstatus) | **PATCH** /admin/accounts/{id}/status/{state} | |
@@ -737,6 +739,53 @@ No authorization required
737
739
 
738
740
  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
739
741
 
742
+ # **getGetCustomerMap**
743
+ > Array<CustomerCoordinatesDTO> getGetCustomerMap()
744
+
745
+ Get Customer Map
746
+
747
+ ### Example
748
+
749
+ ```typescript
750
+ import {
751
+ AccountsApi,
752
+ Configuration
753
+ } from 'yellowgrid-api-ts';
754
+
755
+ const configuration = new Configuration();
756
+ const apiInstance = new AccountsApi(configuration);
757
+
758
+ const { status, data } = await apiInstance.getGetCustomerMap();
759
+ ```
760
+
761
+ ### Parameters
762
+ This endpoint does not have any parameters.
763
+
764
+
765
+ ### Return type
766
+
767
+ **Array<CustomerCoordinatesDTO>**
768
+
769
+ ### Authorization
770
+
771
+ No authorization required
772
+
773
+ ### HTTP request headers
774
+
775
+ - **Content-Type**: Not defined
776
+ - **Accept**: application/json
777
+
778
+
779
+ ### HTTP response details
780
+ | Status code | Description | Response headers |
781
+ |-------------|-------------|------------------|
782
+ |**200** | Customer Coordinates | - |
783
+ |**400** | Bad Request | - |
784
+ |**401** | Unauthorised | - |
785
+ |**403** | Access Denied | - |
786
+
787
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
788
+
740
789
  # **getGetFinanceSettings**
741
790
  > AccountFinanceDTO getGetFinanceSettings()
742
791
 
@@ -838,6 +887,60 @@ No authorization required
838
887
 
839
888
  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
840
889
 
890
+ # **getGetNewPriceList**
891
+ > string getGetNewPriceList()
892
+
893
+ Download New Price List
894
+
895
+ ### Example
896
+
897
+ ```typescript
898
+ import {
899
+ AccountsApi,
900
+ Configuration
901
+ } from 'yellowgrid-api-ts';
902
+
903
+ const configuration = new Configuration();
904
+ const apiInstance = new AccountsApi(configuration);
905
+
906
+ let id: string; //Xero ID (default to undefined)
907
+
908
+ const { status, data } = await apiInstance.getGetNewPriceList(
909
+ id
910
+ );
911
+ ```
912
+
913
+ ### Parameters
914
+
915
+ |Name | Type | Description | Notes|
916
+ |------------- | ------------- | ------------- | -------------|
917
+ | **id** | [**string**] | Xero ID | defaults to undefined|
918
+
919
+
920
+ ### Return type
921
+
922
+ **string**
923
+
924
+ ### Authorization
925
+
926
+ No authorization required
927
+
928
+ ### HTTP request headers
929
+
930
+ - **Content-Type**: Not defined
931
+ - **Accept**: text/csv
932
+
933
+
934
+ ### HTTP response details
935
+ | Status code | Description | Response headers |
936
+ |-------------|-------------|------------------|
937
+ |**200** | Price List | - |
938
+ |**400** | Bad Request | - |
939
+ |**401** | Unauthorised | - |
940
+ |**403** | Access Denied | - |
941
+
942
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
943
+
841
944
  # **getGetTcxPartnerDetails**
842
945
  > PartnerDTO getGetTcxPartnerDetails()
843
946
 
@@ -10,7 +10,7 @@ Name | Type | Description | Notes
10
10
  **items** | [**Array&lt;DetailedItemRequestDTO&gt;**](DetailedItemRequestDTO.md) | Items | [optional] [default to undefined]
11
11
  **shippingService** | [**ShippingServiceDTO**](ShippingServiceDTO.md) | | [optional] [default to undefined]
12
12
  **provisioningUrl** | **string** | Provisioning URL | [optional] [default to undefined]
13
- **shippingAddress** | [**AddressModel**](AddressModel.md) | Shipping Address | [optional] [default to undefined]
13
+ **shippingAddress** | [**AddressModel**](AddressModel.md) | | [optional] [default to undefined]
14
14
  **partShip** | **boolean** | Part Ship Order | [optional] [default to undefined]
15
15
  **quote** | **boolean** | Quote | [optional] [default to undefined]
16
16
  **customerId** | **number** | Customer ID | [optional] [default to undefined]
@@ -0,0 +1,25 @@
1
+ # AxisDataDTO
2
+
3
+ Graph Axis Data
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **type** | **string** | Type | [optional] [default to undefined]
10
+ **data** | **Array&lt;string&gt;** | Data | [optional] [default to undefined]
11
+ **name** | **string** | Name | [optional] [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { AxisDataDTO } from 'yellowgrid-api-ts';
17
+
18
+ const instance: AxisDataDTO = {
19
+ type,
20
+ data,
21
+ name,
22
+ };
23
+ ```
24
+
25
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,36 @@
1
+ # BaseService
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **createdDate** | **string** | | [optional] [default to undefined]
9
+ **id** | **number** | | [optional] [default to undefined]
10
+ **serviceCode** | **string** | | [optional] [default to undefined]
11
+ **dataType** | **string** | | [default to undefined]
12
+ **originalDescription** | **string** | | [default to undefined]
13
+ **cost** | **number** | | [optional] [default to undefined]
14
+ **startDate** | **string** | | [optional] [default to undefined]
15
+ **endDate** | **string** | | [optional] [default to undefined]
16
+ **filePeriod** | **string** | | [optional] [default to undefined]
17
+
18
+ ## Example
19
+
20
+ ```typescript
21
+ import { BaseService } from 'yellowgrid-api-ts';
22
+
23
+ const instance: BaseService = {
24
+ createdDate,
25
+ id,
26
+ serviceCode,
27
+ dataType,
28
+ originalDescription,
29
+ cost,
30
+ startDate,
31
+ endDate,
32
+ filePeriod,
33
+ };
34
+ ```
35
+
36
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)