yellowgrid-api-ts 3.0.79

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 (201) hide show
  1. package/.openapi-generator/FILES +189 -0
  2. package/.openapi-generator/VERSION +1 -0
  3. package/.openapi-generator-ignore +23 -0
  4. package/README.md +385 -0
  5. package/api.ts +20310 -0
  6. package/base.ts +86 -0
  7. package/common.ts +150 -0
  8. package/config.json +3 -0
  9. package/configuration.ts +115 -0
  10. package/dist/api.d.ts +14136 -0
  11. package/dist/api.js +14123 -0
  12. package/dist/base.d.ts +66 -0
  13. package/dist/base.js +86 -0
  14. package/dist/common.d.ts +65 -0
  15. package/dist/common.js +253 -0
  16. package/dist/configuration.d.ts +91 -0
  17. package/dist/configuration.js +57 -0
  18. package/dist/index.d.ts +13 -0
  19. package/dist/index.js +31 -0
  20. package/docs/AccountContactEntity.md +45 -0
  21. package/docs/AccountContactModel.md +45 -0
  22. package/docs/AccountContactRequestModel.md +37 -0
  23. package/docs/AccountRequestModel.md +53 -0
  24. package/docs/AccountSummaryDTO.md +25 -0
  25. package/docs/AccountsApi.md +948 -0
  26. package/docs/AccountsResponseModel.md +27 -0
  27. package/docs/AddressModel.md +45 -0
  28. package/docs/AddressRequestModel.md +27 -0
  29. package/docs/AgentHoursGraphModel.md +27 -0
  30. package/docs/AgentHoursGraphMonthModel.md +23 -0
  31. package/docs/ApiLogEntity.md +43 -0
  32. package/docs/AreaCodeModel.md +23 -0
  33. package/docs/AttachmentModel.md +29 -0
  34. package/docs/AttributeSetEnum.md +23 -0
  35. package/docs/AuthCodeResponseModel.md +25 -0
  36. package/docs/BatchEntity.md +53 -0
  37. package/docs/CallBarringModel.md +29 -0
  38. package/docs/Class3CXApi.md +172 -0
  39. package/docs/Class3CXInstallationWizardApi.md +1355 -0
  40. package/docs/Class3CXInstallationsApi.md +651 -0
  41. package/docs/Class3CXIntegrationsApi.md +344 -0
  42. package/docs/Class3CXMultiTenantApi.md +404 -0
  43. package/docs/ClientDetailsModel.md +35 -0
  44. package/docs/ClientModel.md +27 -0
  45. package/docs/CompanyContractModel.md +29 -0
  46. package/docs/ContactInfoModel.md +29 -0
  47. package/docs/ConversationModel.md +35 -0
  48. package/docs/CreditAccountEntity.md +61 -0
  49. package/docs/CustomerInformationModel.md +33 -0
  50. package/docs/CustomerPriceListEnum.md +23 -0
  51. package/docs/CustomerSummaryReportDTO.md +31 -0
  52. package/docs/DdiRangeRequestModel.md +25 -0
  53. package/docs/DdiRangesRequestModel.md +21 -0
  54. package/docs/DivertRequestModel.md +23 -0
  55. package/docs/DivertResponseModel.md +25 -0
  56. package/docs/EdTechProClientEntity.md +29 -0
  57. package/docs/EdTechProSchoolModel.md +47 -0
  58. package/docs/EdTechProSchoolsModel.md +27 -0
  59. package/docs/EdTechProSetupModel.md +29 -0
  60. package/docs/FraudManagementModel.md +23 -0
  61. package/docs/FreshdeskCompanyTicketsModel.md +27 -0
  62. package/docs/FreshdeskTicketEntity.md +33 -0
  63. package/docs/FtpAccountsEntity.md +29 -0
  64. package/docs/GenericFileModel.md +25 -0
  65. package/docs/GetGetPasswordHash200Response.md +20 -0
  66. package/docs/GetGetPrice200Response.md +20 -0
  67. package/docs/GetGetRecording200Response.md +20 -0
  68. package/docs/HostingChangeResponseModel.md +29 -0
  69. package/docs/InstanceAutoFailoverEntity.md +29 -0
  70. package/docs/InstanceDeletionScheduleEntity.md +27 -0
  71. package/docs/InstanceEntity.md +59 -0
  72. package/docs/InstanceFailoverEntity.md +41 -0
  73. package/docs/InstanceMonitoringEntity.md +25 -0
  74. package/docs/InstanceMonitoringLogEntity.md +31 -0
  75. package/docs/InstanceScheduledTasksEntity.md +31 -0
  76. package/docs/InstanceTcxDetailsEntity.md +39 -0
  77. package/docs/InstanceUserCredentialsEntity.md +29 -0
  78. package/docs/ItemDTO.md +41 -0
  79. package/docs/ItemEntity.md +61 -0
  80. package/docs/MFARequiredModel.md +23 -0
  81. package/docs/MonthlyUsageModel.md +23 -0
  82. package/docs/MultiTenantChangeResponseModel.md +27 -0
  83. package/docs/MyPBXToolsApi.md +65 -0
  84. package/docs/NavigationModel.md +27 -0
  85. package/docs/OAuth20Api.md +368 -0
  86. package/docs/OfflineInstancesEntity.md +29 -0
  87. package/docs/OrderEntity.md +135 -0
  88. package/docs/OrderRequestModel.md +45 -0
  89. package/docs/OrderSummariesModel.md +27 -0
  90. package/docs/OrderSummaryDTO.md +43 -0
  91. package/docs/OrderTotalModel.md +33 -0
  92. package/docs/OrderedItemEntity.md +47 -0
  93. package/docs/OrdersApi.md +135 -0
  94. package/docs/PatchSetTcxWizardCnameRequest.md +20 -0
  95. package/docs/PatchUpdateAccountContactPasswordRequest.md +20 -0
  96. package/docs/PortalAccountModel.md +67 -0
  97. package/docs/PortalLoginModel.md +33 -0
  98. package/docs/PostAddWebhook200Response.md +20 -0
  99. package/docs/PostGetClientCredentialsRequest.md +20 -0
  100. package/docs/PriceListItemModel.md +29 -0
  101. package/docs/PricingApi.md +138 -0
  102. package/docs/PrizesEntity.md +31 -0
  103. package/docs/ProductSearchResultsModel.md +21 -0
  104. package/docs/ProductSerialInfoModel.md +27 -0
  105. package/docs/ProductSummaryModel.md +31 -0
  106. package/docs/ProductsApi.md +315 -0
  107. package/docs/PromoCodesEntity.md +43 -0
  108. package/docs/PromoItemsEntity.md +35 -0
  109. package/docs/ProvisioningApi.md +402 -0
  110. package/docs/ProvisioningEntity.md +29 -0
  111. package/docs/ProvisioningRequestEntity.md +25 -0
  112. package/docs/ResourceNotReadyException.md +25 -0
  113. package/docs/RootAccessModel.md +25 -0
  114. package/docs/SIPTrunksApi.md +1258 -0
  115. package/docs/SMSApi.md +66 -0
  116. package/docs/ScannedItemModel.md +29 -0
  117. package/docs/ScopeModel.md +23 -0
  118. package/docs/ShipmentAddressEntity.md +41 -0
  119. package/docs/ShipmentEntity.md +43 -0
  120. package/docs/ShipmentItemEntity.md +29 -0
  121. package/docs/SipTrunkChangeResponseModel.md +29 -0
  122. package/docs/SipTrunkCreationRequestModel.md +31 -0
  123. package/docs/SipTrunkEntity.md +43 -0
  124. package/docs/SipTrunksResponseModel.md +27 -0
  125. package/docs/SmsAccountEntity.md +33 -0
  126. package/docs/SmsDataModel.md +21 -0
  127. package/docs/SmsMessageModel.md +25 -0
  128. package/docs/SmsNumbersEntity.md +23 -0
  129. package/docs/SmsPayloadModel.md +25 -0
  130. package/docs/SmsPhoneNumberModel.md +23 -0
  131. package/docs/SmsResponseModel.md +29 -0
  132. package/docs/SmsWhitelistEntity.md +23 -0
  133. package/docs/StockManagementApi.md +1380 -0
  134. package/docs/StockOrderCourierEntity.md +27 -0
  135. package/docs/StockOrderDeductionModel.md +27 -0
  136. package/docs/StockOrderDeductionRequestModel.md +23 -0
  137. package/docs/StockOrderDeductionsEntity.md +27 -0
  138. package/docs/StockOrderEntity.md +63 -0
  139. package/docs/StockOrderItemEntity.md +33 -0
  140. package/docs/StockOrderItemModel.md +37 -0
  141. package/docs/StockOrderItemRequestModel.md +27 -0
  142. package/docs/StockOrderModel.md +49 -0
  143. package/docs/StockOrderProductEntity.md +31 -0
  144. package/docs/StockOrderRequestModel.md +25 -0
  145. package/docs/StockOrderSupplierEntity.md +37 -0
  146. package/docs/StockOrderSupplierModel.md +37 -0
  147. package/docs/StockOrdersModel.md +27 -0
  148. package/docs/StockProductModel.md +49 -0
  149. package/docs/StockProductPriceModel.md +23 -0
  150. package/docs/StockProductSummariesModel.md +27 -0
  151. package/docs/StockProductSummaryModel.md +33 -0
  152. package/docs/StockTransactionsEntity.md +35 -0
  153. package/docs/SupplierEntity.md +37 -0
  154. package/docs/SupplierItemEntity.md +35 -0
  155. package/docs/SystemApi.md +80 -0
  156. package/docs/TcxBackupEntity.md +37 -0
  157. package/docs/TcxBackupModel.md +55 -0
  158. package/docs/TcxBillingEntity.md +39 -0
  159. package/docs/TcxBulkLicenceDetailsModel.md +23 -0
  160. package/docs/TcxDeadLicenceEntity.md +25 -0
  161. package/docs/TcxExtsEntity.md +35 -0
  162. package/docs/TcxHostingPricingEntity.md +35 -0
  163. package/docs/TcxInstallationDetailsModel.md +45 -0
  164. package/docs/TcxInstallationModel.md +75 -0
  165. package/docs/TcxInstallationsModel.md +27 -0
  166. package/docs/TcxKeySummaryDTO.md +29 -0
  167. package/docs/TcxKeysEntity.md +31 -0
  168. package/docs/TcxLicenceDetailsErrorModel.md +27 -0
  169. package/docs/TcxLicenceDetailsModel.md +41 -0
  170. package/docs/TcxMacsEntity.md +25 -0
  171. package/docs/TcxMultiTenantModel.md +47 -0
  172. package/docs/TcxMultiTenantUserModel.md +25 -0
  173. package/docs/TcxMultiTenantsModel.md +27 -0
  174. package/docs/TcxNumbersEntity.md +25 -0
  175. package/docs/TcxOfficeHoursEntity.md +49 -0
  176. package/docs/TcxPhoneModel.md +32 -0
  177. package/docs/TcxPhonesEntity.md +31 -0
  178. package/docs/TcxSbcEntity.md +51 -0
  179. package/docs/TcxSetupEntity.md +71 -0
  180. package/docs/TcxSetupsModel.md +27 -0
  181. package/docs/TcxSipTrunksEntity.md +45 -0
  182. package/docs/TcxTemplateXmlEnum.md +23 -0
  183. package/docs/TcxUsersEntity.md +31 -0
  184. package/docs/TcxWizardConfigModel.md +23 -0
  185. package/docs/TcxWizardModel.md +47 -0
  186. package/docs/TechSupportCompanySummaryDTO.md +29 -0
  187. package/docs/TelephonySupportTicketModel.md +41 -0
  188. package/docs/TicketSummaryModel.md +35 -0
  189. package/docs/TicketTimeDTO.md +36 -0
  190. package/docs/TicketsApi.md +300 -0
  191. package/docs/TokenResponseModel.md +25 -0
  192. package/docs/UpgradeOrderResponseModel.md +23 -0
  193. package/docs/UpgradeRequestModel.md +27 -0
  194. package/docs/UserEntity.md +39 -0
  195. package/docs/WebhooksApi.md +117 -0
  196. package/docs/XeroLogEntity.md +39 -0
  197. package/git_push.sh +57 -0
  198. package/index.ts +18 -0
  199. package/openapitools.json +7 -0
  200. package/package.json +31 -0
  201. package/tsconfig.json +21 -0
@@ -0,0 +1,47 @@
1
+ # OrderedItemEntity
2
+
3
+ OrderedItemsEntity
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **id** | **number** | id | [optional] [default to undefined]
10
+ **itemId** | **number** | itemId | [optional] [default to undefined]
11
+ **orderedQuantity** | **number** | orderedQuantity | [optional] [default to undefined]
12
+ **itemStatus** | **number** | itemStatus | [optional] [default to undefined]
13
+ **supplierId** | **number** | supplierId | [optional] [default to undefined]
14
+ **supplierItemId** | **number** | supplierItemId | [optional] [default to undefined]
15
+ **supplierPrice** | **number** | supplierPrice | [optional] [default to undefined]
16
+ **statusDate** | **string** | statusDate | [optional] [default to undefined]
17
+ **statusAuthor** | **number** | statusAuthor | [optional] [default to undefined]
18
+ **supplierPaid** | **number** | supplierPaid | [optional] [default to undefined]
19
+ **supplierCreditDue** | **number** | supplierCreditDue | [optional] [default to undefined]
20
+ **supplierCreditReceived** | **number** | supplierCreditReceived | [optional] [default to undefined]
21
+ **supplierSku** | **string** | supplierSku | [optional] [default to undefined]
22
+ **returnedStock** | **number** | returnedStock | [optional] [default to undefined]
23
+
24
+ ## Example
25
+
26
+ ```typescript
27
+ import { OrderedItemEntity } from 'yellowgrid-api-ts';
28
+
29
+ const instance: OrderedItemEntity = {
30
+ id,
31
+ itemId,
32
+ orderedQuantity,
33
+ itemStatus,
34
+ supplierId,
35
+ supplierItemId,
36
+ supplierPrice,
37
+ statusDate,
38
+ statusAuthor,
39
+ supplierPaid,
40
+ supplierCreditDue,
41
+ supplierCreditReceived,
42
+ supplierSku,
43
+ returnedStock,
44
+ };
45
+ ```
46
+
47
+ [[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,135 @@
1
+ # OrdersApi
2
+
3
+ All URIs are relative to *http://api.yellowgrid.local*
4
+
5
+ |Method | HTTP request | Description|
6
+ |------------- | ------------- | -------------|
7
+ |[**deleteDeleteOrder**](#deletedeleteorder) | **DELETE** /orders/{id} | |
8
+ |[**getGetOrders**](#getgetorders) | **GET** /orders | Get Orders|
9
+
10
+ # **deleteDeleteOrder**
11
+ > deleteDeleteOrder()
12
+
13
+ Delete Orders
14
+
15
+ ### Example
16
+
17
+ ```typescript
18
+ import {
19
+ OrdersApi,
20
+ Configuration
21
+ } from 'yellowgrid-api-ts';
22
+
23
+ const configuration = new Configuration();
24
+ const apiInstance = new OrdersApi(configuration);
25
+
26
+ let id: number; //Order ID (default to undefined)
27
+
28
+ const { status, data } = await apiInstance.deleteDeleteOrder(
29
+ id
30
+ );
31
+ ```
32
+
33
+ ### Parameters
34
+
35
+ |Name | Type | Description | Notes|
36
+ |------------- | ------------- | ------------- | -------------|
37
+ | **id** | [**number**] | Order ID | defaults to undefined|
38
+
39
+
40
+ ### Return type
41
+
42
+ void (empty response body)
43
+
44
+ ### Authorization
45
+
46
+ No authorization required
47
+
48
+ ### HTTP request headers
49
+
50
+ - **Content-Type**: Not defined
51
+ - **Accept**: Not defined
52
+
53
+
54
+ ### HTTP response details
55
+ | Status code | Description | Response headers |
56
+ |-------------|-------------|------------------|
57
+ |**200** | No Response | - |
58
+ |**400** | Bad Request | - |
59
+ |**401** | Unauthorised | - |
60
+ |**403** | Access Denied | - |
61
+
62
+ [[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)
63
+
64
+ # **getGetOrders**
65
+ > OrderSummariesModel getGetOrders()
66
+
67
+ Get Orders
68
+
69
+ ### Example
70
+
71
+ ```typescript
72
+ import {
73
+ OrdersApi,
74
+ Configuration
75
+ } from 'yellowgrid-api-ts';
76
+
77
+ const configuration = new Configuration();
78
+ const apiInstance = new OrdersApi(configuration);
79
+
80
+ let pageSize: number; //Number Of Results (optional) (default to 20)
81
+ let page: number; //Page Number (optional) (default to 1)
82
+ let search: string; //Search (optional) (default to undefined)
83
+ let fulfillable: boolean; //Fulfillable (optional) (default to undefined)
84
+ let status: 'PAID' | 'INVOICE_PAID' | 'UNPAID' | 'QUOTE'; //Status (optional) (default to undefined)
85
+ let filter: 'OUTSTANDING' | 'QUOTES' | 'ALL' | 'BACK_ORDERS'; //Filter (optional) (default to undefined)
86
+ let customerId: number; //Customer ID (optional) (default to undefined)
87
+
88
+ const { status, data } = await apiInstance.getGetOrders(
89
+ pageSize,
90
+ page,
91
+ search,
92
+ fulfillable,
93
+ status,
94
+ filter,
95
+ customerId
96
+ );
97
+ ```
98
+
99
+ ### Parameters
100
+
101
+ |Name | Type | Description | Notes|
102
+ |------------- | ------------- | ------------- | -------------|
103
+ | **pageSize** | [**number**] | Number Of Results | (optional) defaults to 20|
104
+ | **page** | [**number**] | Page Number | (optional) defaults to 1|
105
+ | **search** | [**string**] | Search | (optional) defaults to undefined|
106
+ | **fulfillable** | [**boolean**] | Fulfillable | (optional) defaults to undefined|
107
+ | **status** | [**&#39;PAID&#39; | &#39;INVOICE_PAID&#39; | &#39;UNPAID&#39; | &#39;QUOTE&#39;**]**Array<&#39;PAID&#39; &#124; &#39;INVOICE_PAID&#39; &#124; &#39;UNPAID&#39; &#124; &#39;QUOTE&#39;>** | Status | (optional) defaults to undefined|
108
+ | **filter** | [**&#39;OUTSTANDING&#39; | &#39;QUOTES&#39; | &#39;ALL&#39; | &#39;BACK_ORDERS&#39;**]**Array<&#39;OUTSTANDING&#39; &#124; &#39;QUOTES&#39; &#124; &#39;ALL&#39; &#124; &#39;BACK_ORDERS&#39;>** | Filter | (optional) defaults to undefined|
109
+ | **customerId** | [**number**] | Customer ID | (optional) defaults to undefined|
110
+
111
+
112
+ ### Return type
113
+
114
+ **OrderSummariesModel**
115
+
116
+ ### Authorization
117
+
118
+ No authorization required
119
+
120
+ ### HTTP request headers
121
+
122
+ - **Content-Type**: Not defined
123
+ - **Accept**: application/json
124
+
125
+
126
+ ### HTTP response details
127
+ | Status code | Description | Response headers |
128
+ |-------------|-------------|------------------|
129
+ |**200** | Order Summaries | - |
130
+ |**400** | Bad Request | - |
131
+ |**401** | Unauthorised | - |
132
+ |**403** | Access Denied | - |
133
+
134
+ [[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)
135
+
@@ -0,0 +1,20 @@
1
+ # PatchSetTcxWizardCnameRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **cname** | **string** | CNAME | [optional] [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { PatchSetTcxWizardCnameRequest } from 'yellowgrid-api-ts';
14
+
15
+ const instance: PatchSetTcxWizardCnameRequest = {
16
+ cname,
17
+ };
18
+ ```
19
+
20
+ [[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,20 @@
1
+ # PatchUpdateAccountContactPasswordRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **password** | **string** | Password | [optional] [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { PatchUpdateAccountContactPasswordRequest } from 'yellowgrid-api-ts';
14
+
15
+ const instance: PatchUpdateAccountContactPasswordRequest = {
16
+ password,
17
+ };
18
+ ```
19
+
20
+ [[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,67 @@
1
+ # PortalAccountModel
2
+
3
+ Customer Account
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **id** | **number** | ID | [optional] [default to undefined]
10
+ **name** | **string** | Contact Name | [optional] [default to undefined]
11
+ **email** | **string** | Email | [optional] [default to undefined]
12
+ **phone** | **string** | Phone Number | [optional] [default to undefined]
13
+ **company** | **string** | Company Name | [optional] [default to undefined]
14
+ **companyNumber** | **string** | Company Registration Number | [optional] [default to undefined]
15
+ **vatNumber** | **string** | VAT Number | [optional] [default to undefined]
16
+ **addressLine1** | **string** | Address Line 1 | [optional] [default to undefined]
17
+ **addressLine2** | **string** | Address Line 2 | [optional] [default to undefined]
18
+ **city** | **string** | City | [optional] [default to undefined]
19
+ **county** | **string** | County | [optional] [default to undefined]
20
+ **iso** | **string** | Country ISO Code | [optional] [default to undefined]
21
+ **postalCode** | **string** | Post Code | [optional] [default to undefined]
22
+ **accountNumber** | **string** | Account Number | [optional] [default to undefined]
23
+ **xeroId** | **string** | Xero Contact ID | [optional] [default to undefined]
24
+ **creditLimit** | **number** | Credit Limit | [optional] [default to undefined]
25
+ **paymentMethod** | **string** | Payment Method | [optional] [default to undefined]
26
+ **servicePaymentMethod** | **string** | Service Payment Method | [optional] [default to undefined]
27
+ **resellerId** | **string** | 3CX Reseller ID | [optional] [default to undefined]
28
+ **creationDate** | **string** | Creation Date | [optional] [default to undefined]
29
+ **prizePromo** | **boolean** | Prize Promo Enabled | [optional] [default to undefined]
30
+ **directDebitMandate** | **boolean** | Active Direct Debit Mandate | [optional] [default to undefined]
31
+ **navigation** | [**Array&lt;NavigationModel&gt;**](NavigationModel.md) | Portal Navigation | [optional] [default to undefined]
32
+ **cname** | **string** | Wizard CNAME | [optional] [default to undefined]
33
+
34
+ ## Example
35
+
36
+ ```typescript
37
+ import { PortalAccountModel } from 'yellowgrid-api-ts';
38
+
39
+ const instance: PortalAccountModel = {
40
+ id,
41
+ name,
42
+ email,
43
+ phone,
44
+ company,
45
+ companyNumber,
46
+ vatNumber,
47
+ addressLine1,
48
+ addressLine2,
49
+ city,
50
+ county,
51
+ iso,
52
+ postalCode,
53
+ accountNumber,
54
+ xeroId,
55
+ creditLimit,
56
+ paymentMethod,
57
+ servicePaymentMethod,
58
+ resellerId,
59
+ creationDate,
60
+ prizePromo,
61
+ directDebitMandate,
62
+ navigation,
63
+ cname,
64
+ };
65
+ ```
66
+
67
+ [[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,33 @@
1
+ # PortalLoginModel
2
+
3
+ Portal Login
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **email** | **string** | Email Address | [optional] [default to undefined]
10
+ **password** | **string** | Password | [optional] [default to undefined]
11
+ **code** | **string** | MFA Code | [optional] [default to undefined]
12
+ **secret** | **string** | MFA Secret | [optional] [default to undefined]
13
+ **codeChallenge** | **string** | Oauth 2.0 code challenge | [optional] [default to undefined]
14
+ **codeVerifier** | **string** | Oauth 2.0 code verifier | [optional] [default to undefined]
15
+ **redirect_uri** | **string** | Oauth 2.0 code redirect uri | [optional] [default to undefined]
16
+
17
+ ## Example
18
+
19
+ ```typescript
20
+ import { PortalLoginModel } from 'yellowgrid-api-ts';
21
+
22
+ const instance: PortalLoginModel = {
23
+ email,
24
+ password,
25
+ code,
26
+ secret,
27
+ codeChallenge,
28
+ codeVerifier,
29
+ redirect_uri,
30
+ };
31
+ ```
32
+
33
+ [[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,20 @@
1
+ # PostAddWebhook200Response
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **url** | **string** | | [optional] [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { PostAddWebhook200Response } from 'yellowgrid-api-ts';
14
+
15
+ const instance: PostAddWebhook200Response = {
16
+ url,
17
+ };
18
+ ```
19
+
20
+ [[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,20 @@
1
+ # PostGetClientCredentialsRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **scopes** | **Array&lt;string&gt;** | OAuth 2.0 scopes | [optional] [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { PostGetClientCredentialsRequest } from 'yellowgrid-api-ts';
14
+
15
+ const instance: PostGetClientCredentialsRequest = {
16
+ scopes,
17
+ };
18
+ ```
19
+
20
+ [[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,29 @@
1
+ # PriceListItemModel
2
+
3
+ Price & Stock List
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **title** | **string** | Title | [optional] [default to undefined]
10
+ **sku** | **string** | SKU | [optional] [default to undefined]
11
+ **price** | **number** | Price | [optional] [default to undefined]
12
+ **rrp** | **number** | RRP | [optional] [default to undefined]
13
+ **stock** | **number** | Stock | [optional] [default to undefined]
14
+
15
+ ## Example
16
+
17
+ ```typescript
18
+ import { PriceListItemModel } from 'yellowgrid-api-ts';
19
+
20
+ const instance: PriceListItemModel = {
21
+ title,
22
+ sku,
23
+ price,
24
+ rrp,
25
+ stock,
26
+ };
27
+ ```
28
+
29
+ [[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,138 @@
1
+ # PricingApi
2
+
3
+ All URIs are relative to *http://api.yellowgrid.local*
4
+
5
+ |Method | HTTP request | Description|
6
+ |------------- | ------------- | -------------|
7
+ |[**getGetPriceList**](#getgetpricelist) | **GET** /finance/pricing/lists | Get Price List|
8
+ |[**postSendPriceList**](#postsendpricelist) | **POST** /finance/pricing/lists/send | Send Price List|
9
+
10
+ # **getGetPriceList**
11
+ > File getGetPriceList()
12
+
13
+ Get Price List
14
+
15
+ ### Example
16
+
17
+ ```typescript
18
+ import {
19
+ PricingApi,
20
+ Configuration
21
+ } from 'yellowgrid-api-ts';
22
+
23
+ const configuration = new Configuration();
24
+ const apiInstance = new PricingApi(configuration);
25
+
26
+ let type: 'Products' | 'Stock Products' | '3CX Licences' | 'Hosted By Yellowgrid' | '3CX Starter Bundle' | 'EdTechPro' | 'SMS' | 'SIP Trunks'; //Price List Type (default to undefined)
27
+ let format: 'pdf' | 'json' | 'csv' | 'xml' | 'html'; //Document Format (default to undefined)
28
+ let category: 'Yealink' | 'Mairdi' | 'Jabra' | '3CX' | 'Fanvil' | 'VT' | 'Netgear' | 'Algo' | 'Yealink Headsets' | 'Yealink DECT Handsets' | 'Yealink DECT Headsets' | 'Yealink BT Headsets' | 'Yealink USB Wired Headsets' | 'Yealink Meeting Rooms' | 'Fanvil Phones' | 'Fanvil Headsets' | 'Fanvil Wireless Phones' | 'Fanvil Security Products' | 'Fanvil Accessories' | 'Fanvil Hotel Phones'; //Product Category (optional) (default to undefined)
29
+ let customerId: string; //Customer ID (optional) (default to undefined)
30
+
31
+ const { status, data } = await apiInstance.getGetPriceList(
32
+ type,
33
+ format,
34
+ category,
35
+ customerId
36
+ );
37
+ ```
38
+
39
+ ### Parameters
40
+
41
+ |Name | Type | Description | Notes|
42
+ |------------- | ------------- | ------------- | -------------|
43
+ | **type** | [**&#39;Products&#39; | &#39;Stock Products&#39; | &#39;3CX Licences&#39; | &#39;Hosted By Yellowgrid&#39; | &#39;3CX Starter Bundle&#39; | &#39;EdTechPro&#39; | &#39;SMS&#39; | &#39;SIP Trunks&#39;**]**Array<&#39;Products&#39; &#124; &#39;Stock Products&#39; &#124; &#39;3CX Licences&#39; &#124; &#39;Hosted By Yellowgrid&#39; &#124; &#39;3CX Starter Bundle&#39; &#124; &#39;EdTechPro&#39; &#124; &#39;SMS&#39; &#124; &#39;SIP Trunks&#39;>** | Price List Type | defaults to undefined|
44
+ | **format** | [**&#39;pdf&#39; | &#39;json&#39; | &#39;csv&#39; | &#39;xml&#39; | &#39;html&#39;**]**Array<&#39;pdf&#39; &#124; &#39;json&#39; &#124; &#39;csv&#39; &#124; &#39;xml&#39; &#124; &#39;html&#39;>** | Document Format | defaults to undefined|
45
+ | **category** | [**&#39;Yealink&#39; | &#39;Mairdi&#39; | &#39;Jabra&#39; | &#39;3CX&#39; | &#39;Fanvil&#39; | &#39;VT&#39; | &#39;Netgear&#39; | &#39;Algo&#39; | &#39;Yealink Headsets&#39; | &#39;Yealink DECT Handsets&#39; | &#39;Yealink DECT Headsets&#39; | &#39;Yealink BT Headsets&#39; | &#39;Yealink USB Wired Headsets&#39; | &#39;Yealink Meeting Rooms&#39; | &#39;Fanvil Phones&#39; | &#39;Fanvil Headsets&#39; | &#39;Fanvil Wireless Phones&#39; | &#39;Fanvil Security Products&#39; | &#39;Fanvil Accessories&#39; | &#39;Fanvil Hotel Phones&#39;**]**Array<&#39;Yealink&#39; &#124; &#39;Mairdi&#39; &#124; &#39;Jabra&#39; &#124; &#39;3CX&#39; &#124; &#39;Fanvil&#39; &#124; &#39;VT&#39; &#124; &#39;Netgear&#39; &#124; &#39;Algo&#39; &#124; &#39;Yealink Headsets&#39; &#124; &#39;Yealink DECT Handsets&#39; &#124; &#39;Yealink DECT Headsets&#39; &#124; &#39;Yealink BT Headsets&#39; &#124; &#39;Yealink USB Wired Headsets&#39; &#124; &#39;Yealink Meeting Rooms&#39; &#124; &#39;Fanvil Phones&#39; &#124; &#39;Fanvil Headsets&#39; &#124; &#39;Fanvil Wireless Phones&#39; &#124; &#39;Fanvil Security Products&#39; &#124; &#39;Fanvil Accessories&#39; &#124; &#39;Fanvil Hotel Phones&#39;>** | Product Category | (optional) defaults to undefined|
46
+ | **customerId** | [**string**] | Customer ID | (optional) defaults to undefined|
47
+
48
+
49
+ ### Return type
50
+
51
+ **File**
52
+
53
+ ### Authorization
54
+
55
+ No authorization required
56
+
57
+ ### HTTP request headers
58
+
59
+ - **Content-Type**: Not defined
60
+ - **Accept**: application/pdf, text/csv, text/html, application/json, application/xml
61
+
62
+
63
+ ### HTTP response details
64
+ | Status code | Description | Response headers |
65
+ |-------------|-------------|------------------|
66
+ |**200** | Price List | - |
67
+ |**400** | Bad Request | - |
68
+ |**401** | Unauthorised | - |
69
+ |**403** | Access Denied | - |
70
+
71
+ [[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)
72
+
73
+ # **postSendPriceList**
74
+ > postSendPriceList()
75
+
76
+ Send Price List
77
+
78
+ ### Example
79
+
80
+ ```typescript
81
+ import {
82
+ PricingApi,
83
+ Configuration
84
+ } from 'yellowgrid-api-ts';
85
+
86
+ const configuration = new Configuration();
87
+ const apiInstance = new PricingApi(configuration);
88
+
89
+ let email: string; //Email Address (default to undefined)
90
+ let customerId: string; //Customer ID (default to undefined)
91
+ let type: 'Products' | 'Stock Products' | '3CX Licences' | 'Hosted By Yellowgrid' | '3CX Starter Bundle' | 'EdTechPro' | 'SMS' | 'SIP Trunks'; //Price List Type (default to undefined)
92
+ let format: 'pdf' | 'json' | 'csv' | 'xml' | 'html'; //Document Format (default to undefined)
93
+ let category: 'Yealink' | 'Mairdi' | 'Jabra' | '3CX' | 'Fanvil' | 'VT' | 'Netgear' | 'Algo' | 'Yealink Headsets' | 'Yealink DECT Handsets' | 'Yealink DECT Headsets' | 'Yealink BT Headsets' | 'Yealink USB Wired Headsets' | 'Yealink Meeting Rooms' | 'Fanvil Phones' | 'Fanvil Headsets' | 'Fanvil Wireless Phones' | 'Fanvil Security Products' | 'Fanvil Accessories' | 'Fanvil Hotel Phones'; //Product Category (optional) (default to undefined)
94
+
95
+ const { status, data } = await apiInstance.postSendPriceList(
96
+ email,
97
+ customerId,
98
+ type,
99
+ format,
100
+ category
101
+ );
102
+ ```
103
+
104
+ ### Parameters
105
+
106
+ |Name | Type | Description | Notes|
107
+ |------------- | ------------- | ------------- | -------------|
108
+ | **email** | [**string**] | Email Address | defaults to undefined|
109
+ | **customerId** | [**string**] | Customer ID | defaults to undefined|
110
+ | **type** | [**&#39;Products&#39; | &#39;Stock Products&#39; | &#39;3CX Licences&#39; | &#39;Hosted By Yellowgrid&#39; | &#39;3CX Starter Bundle&#39; | &#39;EdTechPro&#39; | &#39;SMS&#39; | &#39;SIP Trunks&#39;**]**Array<&#39;Products&#39; &#124; &#39;Stock Products&#39; &#124; &#39;3CX Licences&#39; &#124; &#39;Hosted By Yellowgrid&#39; &#124; &#39;3CX Starter Bundle&#39; &#124; &#39;EdTechPro&#39; &#124; &#39;SMS&#39; &#124; &#39;SIP Trunks&#39;>** | Price List Type | defaults to undefined|
111
+ | **format** | [**&#39;pdf&#39; | &#39;json&#39; | &#39;csv&#39; | &#39;xml&#39; | &#39;html&#39;**]**Array<&#39;pdf&#39; &#124; &#39;json&#39; &#124; &#39;csv&#39; &#124; &#39;xml&#39; &#124; &#39;html&#39;>** | Document Format | defaults to undefined|
112
+ | **category** | [**&#39;Yealink&#39; | &#39;Mairdi&#39; | &#39;Jabra&#39; | &#39;3CX&#39; | &#39;Fanvil&#39; | &#39;VT&#39; | &#39;Netgear&#39; | &#39;Algo&#39; | &#39;Yealink Headsets&#39; | &#39;Yealink DECT Handsets&#39; | &#39;Yealink DECT Headsets&#39; | &#39;Yealink BT Headsets&#39; | &#39;Yealink USB Wired Headsets&#39; | &#39;Yealink Meeting Rooms&#39; | &#39;Fanvil Phones&#39; | &#39;Fanvil Headsets&#39; | &#39;Fanvil Wireless Phones&#39; | &#39;Fanvil Security Products&#39; | &#39;Fanvil Accessories&#39; | &#39;Fanvil Hotel Phones&#39;**]**Array<&#39;Yealink&#39; &#124; &#39;Mairdi&#39; &#124; &#39;Jabra&#39; &#124; &#39;3CX&#39; &#124; &#39;Fanvil&#39; &#124; &#39;VT&#39; &#124; &#39;Netgear&#39; &#124; &#39;Algo&#39; &#124; &#39;Yealink Headsets&#39; &#124; &#39;Yealink DECT Handsets&#39; &#124; &#39;Yealink DECT Headsets&#39; &#124; &#39;Yealink BT Headsets&#39; &#124; &#39;Yealink USB Wired Headsets&#39; &#124; &#39;Yealink Meeting Rooms&#39; &#124; &#39;Fanvil Phones&#39; &#124; &#39;Fanvil Headsets&#39; &#124; &#39;Fanvil Wireless Phones&#39; &#124; &#39;Fanvil Security Products&#39; &#124; &#39;Fanvil Accessories&#39; &#124; &#39;Fanvil Hotel Phones&#39;>** | Product Category | (optional) defaults to undefined|
113
+
114
+
115
+ ### Return type
116
+
117
+ void (empty response body)
118
+
119
+ ### Authorization
120
+
121
+ No authorization required
122
+
123
+ ### HTTP request headers
124
+
125
+ - **Content-Type**: Not defined
126
+ - **Accept**: Not defined
127
+
128
+
129
+ ### HTTP response details
130
+ | Status code | Description | Response headers |
131
+ |-------------|-------------|------------------|
132
+ |**200** | No Response | - |
133
+ |**400** | Bad Request | - |
134
+ |**401** | Unauthorised | - |
135
+ |**403** | Access Denied | - |
136
+
137
+ [[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)
138
+
@@ -0,0 +1,31 @@
1
+ # PrizesEntity
2
+
3
+ PrizesEntity
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **id** | **number** | id | [optional] [default to undefined]
10
+ **year** | **number** | year | [optional] [default to undefined]
11
+ **sku** | **string** | sku | [optional] [default to undefined]
12
+ **title** | **string** | title | [optional] [default to undefined]
13
+ **target** | **number** | target | [optional] [default to undefined]
14
+ **image** | **string** | image | [optional] [default to undefined]
15
+
16
+ ## Example
17
+
18
+ ```typescript
19
+ import { PrizesEntity } from 'yellowgrid-api-ts';
20
+
21
+ const instance: PrizesEntity = {
22
+ id,
23
+ year,
24
+ sku,
25
+ title,
26
+ target,
27
+ image,
28
+ };
29
+ ```
30
+
31
+ [[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,21 @@
1
+ # ProductSearchResultsModel
2
+
3
+ Product Search Results
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **results** | [**Array&lt;ProductSummaryModel&gt;**](ProductSummaryModel.md) | Results | [optional] [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { ProductSearchResultsModel } from 'yellowgrid-api-ts';
15
+
16
+ const instance: ProductSearchResultsModel = {
17
+ results,
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)
@@ -0,0 +1,27 @@
1
+ # ProductSerialInfoModel
2
+
3
+ Product Serial Info
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **sku** | **string** | SKU | [optional] [default to undefined]
10
+ **title** | **string** | Product Title | [optional] [default to undefined]
11
+ **mac** | **boolean** | Has MAC Address | [optional] [default to undefined]
12
+ **serial_prefixes** | **Array&lt;string&gt;** | Serial Prefix | [optional] [default to undefined]
13
+
14
+ ## Example
15
+
16
+ ```typescript
17
+ import { ProductSerialInfoModel } from 'yellowgrid-api-ts';
18
+
19
+ const instance: ProductSerialInfoModel = {
20
+ sku,
21
+ title,
22
+ mac,
23
+ serial_prefixes,
24
+ };
25
+ ```
26
+
27
+ [[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,31 @@
1
+ # ProductSummaryModel
2
+
3
+ Product Summary
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **sku** | **string** | SKU | [optional] [default to undefined]
10
+ **title** | **string** | Title | [optional] [default to undefined]
11
+ **quantity** | **number** | Stock Quantity | [optional] [default to undefined]
12
+ **stockProduct** | **boolean** | Stock Product | [optional] [default to undefined]
13
+ **price** | **number** | Price | [optional] [default to undefined]
14
+ **cartonSize** | **number** | Carton Size | [optional] [default to undefined]
15
+
16
+ ## Example
17
+
18
+ ```typescript
19
+ import { ProductSummaryModel } from 'yellowgrid-api-ts';
20
+
21
+ const instance: ProductSummaryModel = {
22
+ sku,
23
+ title,
24
+ quantity,
25
+ stockProduct,
26
+ price,
27
+ cartonSize,
28
+ };
29
+ ```
30
+
31
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)