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,948 @@
1
+ # AccountsApi
2
+
3
+ All URIs are relative to *http://api.yellowgrid.local*
4
+
5
+ |Method | HTTP request | Description|
6
+ |------------- | ------------- | -------------|
7
+ |[**deleteDeleteClientCredentials**](#deletedeleteclientcredentials) | **DELETE** /accounts/me/contacts/credentials/{id} | Delete client credentials|
8
+ |[**deleteUpdateAccountContact**](#deleteupdateaccountcontact) | **DELETE** /accounts/me/contacts/{email} | Delete Account Contact|
9
+ |[**getGetAccount**](#getgetaccount) | **GET** /accounts/me | Get Account|
10
+ |[**getGetAccountContacts**](#getgetaccountcontacts) | **GET** /accounts/me/contacts | Get Account Contacts|
11
+ |[**getGetAccounts**](#getgetaccounts) | **GET** /accounts | Get Accounts|
12
+ |[**getGetClientCredentials**](#getgetclientcredentials) | **GET** /accounts/me/contacts/credentials | Get user\'s client credentials|
13
+ |[**getGetCustomerKeys**](#getgetcustomerkeys) | **GET** /accounts/me/tcx/keys | Get 3CX Keys|
14
+ |[**getVerifyEmailAddress**](#getverifyemailaddress) | **GET** /accounts/contacts/verify | Verify account email address|
15
+ |[**patchSetTcxWizardCname**](#patchsettcxwizardcname) | **PATCH** /accounts/me/cname | |
16
+ |[**patchUpdateAccountContactPassword**](#patchupdateaccountcontactpassword) | **PATCH** /accounts/contacts/password | Update Account Password|
17
+ |[**postGetAccountContacts**](#postgetaccountcontacts) | **POST** /accounts/me/contacts | Add Account Contact|
18
+ |[**postGetAccounts**](#postgetaccounts) | **POST** /accounts | Create new customer account|
19
+ |[**postGetClientCredentials**](#postgetclientcredentials) | **POST** /accounts/me/contacts/credentials | Create client credentials|
20
+ |[**postSendEmailVerificationEmail**](#postsendemailverificationemail) | **POST** /accounts/contacts/verify/{email} | Send email verification email|
21
+ |[**postSendPasswordReset**](#postsendpasswordreset) | **POST** /accounts/contacts/password/reset | Send password reset email|
22
+ |[**postSubmitResellerApplication**](#postsubmitresellerapplication) | **POST** /accounts/reseller | Submit reseller application|
23
+ |[**putUpdateAccountContact**](#putupdateaccountcontact) | **PUT** /accounts/me/contacts/{email} | Update Account Contact|
24
+
25
+ # **deleteDeleteClientCredentials**
26
+ > deleteDeleteClientCredentials()
27
+
28
+ Delete client credentials
29
+
30
+ ### Example
31
+
32
+ ```typescript
33
+ import {
34
+ AccountsApi,
35
+ Configuration
36
+ } from 'yellowgrid-api-ts';
37
+
38
+ const configuration = new Configuration();
39
+ const apiInstance = new AccountsApi(configuration);
40
+
41
+ let id: string; //OAuth 2.0 Client ID (default to undefined)
42
+
43
+ const { status, data } = await apiInstance.deleteDeleteClientCredentials(
44
+ id
45
+ );
46
+ ```
47
+
48
+ ### Parameters
49
+
50
+ |Name | Type | Description | Notes|
51
+ |------------- | ------------- | ------------- | -------------|
52
+ | **id** | [**string**] | OAuth 2.0 Client ID | defaults to undefined|
53
+
54
+
55
+ ### Return type
56
+
57
+ void (empty response body)
58
+
59
+ ### Authorization
60
+
61
+ No authorization required
62
+
63
+ ### HTTP request headers
64
+
65
+ - **Content-Type**: Not defined
66
+ - **Accept**: Not defined
67
+
68
+
69
+ ### HTTP response details
70
+ | Status code | Description | Response headers |
71
+ |-------------|-------------|------------------|
72
+ |**200** | No Response | - |
73
+ |**400** | Bad Request | - |
74
+ |**401** | Unauthorised | - |
75
+ |**403** | Access Denied | - |
76
+
77
+ [[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)
78
+
79
+ # **deleteUpdateAccountContact**
80
+ > deleteUpdateAccountContact()
81
+
82
+ Delete Account Contacts
83
+
84
+ ### Example
85
+
86
+ ```typescript
87
+ import {
88
+ AccountsApi,
89
+ Configuration
90
+ } from 'yellowgrid-api-ts';
91
+
92
+ const configuration = new Configuration();
93
+ const apiInstance = new AccountsApi(configuration);
94
+
95
+ let email: string; //Contact Email Address (default to undefined)
96
+
97
+ const { status, data } = await apiInstance.deleteUpdateAccountContact(
98
+ email
99
+ );
100
+ ```
101
+
102
+ ### Parameters
103
+
104
+ |Name | Type | Description | Notes|
105
+ |------------- | ------------- | ------------- | -------------|
106
+ | **email** | [**string**] | Contact Email Address | defaults to undefined|
107
+
108
+
109
+ ### Return type
110
+
111
+ void (empty response body)
112
+
113
+ ### Authorization
114
+
115
+ No authorization required
116
+
117
+ ### HTTP request headers
118
+
119
+ - **Content-Type**: Not defined
120
+ - **Accept**: Not defined
121
+
122
+
123
+ ### HTTP response details
124
+ | Status code | Description | Response headers |
125
+ |-------------|-------------|------------------|
126
+ |**200** | No Response | - |
127
+ |**400** | Bad Request | - |
128
+ |**401** | Unauthorised | - |
129
+ |**403** | Access Denied | - |
130
+
131
+ [[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)
132
+
133
+ # **getGetAccount**
134
+ > PortalAccountModel getGetAccount()
135
+
136
+ Get Account
137
+
138
+ ### Example
139
+
140
+ ```typescript
141
+ import {
142
+ AccountsApi,
143
+ Configuration
144
+ } from 'yellowgrid-api-ts';
145
+
146
+ const configuration = new Configuration();
147
+ const apiInstance = new AccountsApi(configuration);
148
+
149
+ const { status, data } = await apiInstance.getGetAccount();
150
+ ```
151
+
152
+ ### Parameters
153
+ This endpoint does not have any parameters.
154
+
155
+
156
+ ### Return type
157
+
158
+ **PortalAccountModel**
159
+
160
+ ### Authorization
161
+
162
+ No authorization required
163
+
164
+ ### HTTP request headers
165
+
166
+ - **Content-Type**: Not defined
167
+ - **Accept**: application/json
168
+
169
+
170
+ ### HTTP response details
171
+ | Status code | Description | Response headers |
172
+ |-------------|-------------|------------------|
173
+ |**200** | Account | - |
174
+ |**400** | Bad Request | - |
175
+ |**401** | Unauthorised | - |
176
+ |**403** | Access Denied | - |
177
+
178
+ [[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)
179
+
180
+ # **getGetAccountContacts**
181
+ > Array<AccountContactModel> getGetAccountContacts()
182
+
183
+ Get Account Contacts
184
+
185
+ ### Example
186
+
187
+ ```typescript
188
+ import {
189
+ AccountsApi,
190
+ Configuration
191
+ } from 'yellowgrid-api-ts';
192
+
193
+ const configuration = new Configuration();
194
+ const apiInstance = new AccountsApi(configuration);
195
+
196
+ let email: string; //Contact Email Address (optional) (default to undefined)
197
+
198
+ const { status, data } = await apiInstance.getGetAccountContacts(
199
+ email
200
+ );
201
+ ```
202
+
203
+ ### Parameters
204
+
205
+ |Name | Type | Description | Notes|
206
+ |------------- | ------------- | ------------- | -------------|
207
+ | **email** | [**string**] | Contact Email Address | (optional) defaults to undefined|
208
+
209
+
210
+ ### Return type
211
+
212
+ **Array<AccountContactModel>**
213
+
214
+ ### Authorization
215
+
216
+ No authorization required
217
+
218
+ ### HTTP request headers
219
+
220
+ - **Content-Type**: Not defined
221
+ - **Accept**: application/json
222
+
223
+
224
+ ### HTTP response details
225
+ | Status code | Description | Response headers |
226
+ |-------------|-------------|------------------|
227
+ |**200** | Account Contacts | - |
228
+ |**400** | Bad Request | - |
229
+ |**401** | Unauthorised | - |
230
+ |**403** | Access Denied | - |
231
+
232
+ [[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)
233
+
234
+ # **getGetAccounts**
235
+ > AccountsResponseModel getGetAccounts()
236
+
237
+ Get Accounts
238
+
239
+ ### Example
240
+
241
+ ```typescript
242
+ import {
243
+ AccountsApi,
244
+ Configuration
245
+ } from 'yellowgrid-api-ts';
246
+
247
+ const configuration = new Configuration();
248
+ const apiInstance = new AccountsApi(configuration);
249
+
250
+ let pageSize: number; //Number Of Results (optional) (default to 20)
251
+ let page: number; //Page Number (optional) (default to 1)
252
+ let search: string; //Search (optional) (default to undefined)
253
+ let active: boolean; //Active (optional) (default to true)
254
+
255
+ const { status, data } = await apiInstance.getGetAccounts(
256
+ pageSize,
257
+ page,
258
+ search,
259
+ active
260
+ );
261
+ ```
262
+
263
+ ### Parameters
264
+
265
+ |Name | Type | Description | Notes|
266
+ |------------- | ------------- | ------------- | -------------|
267
+ | **pageSize** | [**number**] | Number Of Results | (optional) defaults to 20|
268
+ | **page** | [**number**] | Page Number | (optional) defaults to 1|
269
+ | **search** | [**string**] | Search | (optional) defaults to undefined|
270
+ | **active** | [**boolean**] | Active | (optional) defaults to true|
271
+
272
+
273
+ ### Return type
274
+
275
+ **AccountsResponseModel**
276
+
277
+ ### Authorization
278
+
279
+ No authorization required
280
+
281
+ ### HTTP request headers
282
+
283
+ - **Content-Type**: Not defined
284
+ - **Accept**: application/json
285
+
286
+
287
+ ### HTTP response details
288
+ | Status code | Description | Response headers |
289
+ |-------------|-------------|------------------|
290
+ |**200** | Accounts | - |
291
+ |**400** | Bad Request | - |
292
+ |**401** | Unauthorised | - |
293
+ |**403** | Access Denied | - |
294
+
295
+ [[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)
296
+
297
+ # **getGetClientCredentials**
298
+ > Array<ClientModel> getGetClientCredentials()
299
+
300
+ Get user\'s client credentials
301
+
302
+ ### Example
303
+
304
+ ```typescript
305
+ import {
306
+ AccountsApi,
307
+ Configuration
308
+ } from 'yellowgrid-api-ts';
309
+
310
+ const configuration = new Configuration();
311
+ const apiInstance = new AccountsApi(configuration);
312
+
313
+ const { status, data } = await apiInstance.getGetClientCredentials();
314
+ ```
315
+
316
+ ### Parameters
317
+ This endpoint does not have any parameters.
318
+
319
+
320
+ ### Return type
321
+
322
+ **Array<ClientModel>**
323
+
324
+ ### Authorization
325
+
326
+ No authorization required
327
+
328
+ ### HTTP request headers
329
+
330
+ - **Content-Type**: Not defined
331
+ - **Accept**: application/json
332
+
333
+
334
+ ### HTTP response details
335
+ | Status code | Description | Response headers |
336
+ |-------------|-------------|------------------|
337
+ |**200** | List of client credentials | - |
338
+ |**400** | Bad Request | - |
339
+ |**401** | Unauthorised | - |
340
+ |**403** | Access Denied | - |
341
+
342
+ [[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)
343
+
344
+ # **getGetCustomerKeys**
345
+ > Array<TcxKeySummaryDTO> getGetCustomerKeys()
346
+
347
+ Get 3CX Keys
348
+
349
+ ### Example
350
+
351
+ ```typescript
352
+ import {
353
+ AccountsApi,
354
+ Configuration
355
+ } from 'yellowgrid-api-ts';
356
+
357
+ const configuration = new Configuration();
358
+ const apiInstance = new AccountsApi(configuration);
359
+
360
+ const { status, data } = await apiInstance.getGetCustomerKeys();
361
+ ```
362
+
363
+ ### Parameters
364
+ This endpoint does not have any parameters.
365
+
366
+
367
+ ### Return type
368
+
369
+ **Array<TcxKeySummaryDTO>**
370
+
371
+ ### Authorization
372
+
373
+ No authorization required
374
+
375
+ ### HTTP request headers
376
+
377
+ - **Content-Type**: Not defined
378
+ - **Accept**: application/json
379
+
380
+
381
+ ### HTTP response details
382
+ | Status code | Description | Response headers |
383
+ |-------------|-------------|------------------|
384
+ |**200** | 3CX Key Summaries | - |
385
+ |**400** | Bad Request | - |
386
+ |**401** | Unauthorised | - |
387
+ |**403** | Access Denied | - |
388
+
389
+ [[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)
390
+
391
+ # **getVerifyEmailAddress**
392
+ > getVerifyEmailAddress()
393
+
394
+ Verify account email address
395
+
396
+ ### Example
397
+
398
+ ```typescript
399
+ import {
400
+ AccountsApi,
401
+ Configuration
402
+ } from 'yellowgrid-api-ts';
403
+
404
+ const configuration = new Configuration();
405
+ const apiInstance = new AccountsApi(configuration);
406
+
407
+ let token: string; //Verification Token (default to undefined)
408
+
409
+ const { status, data } = await apiInstance.getVerifyEmailAddress(
410
+ token
411
+ );
412
+ ```
413
+
414
+ ### Parameters
415
+
416
+ |Name | Type | Description | Notes|
417
+ |------------- | ------------- | ------------- | -------------|
418
+ | **token** | [**string**] | Verification Token | defaults to undefined|
419
+
420
+
421
+ ### Return type
422
+
423
+ void (empty response body)
424
+
425
+ ### Authorization
426
+
427
+ No authorization required
428
+
429
+ ### HTTP request headers
430
+
431
+ - **Content-Type**: Not defined
432
+ - **Accept**: Not defined
433
+
434
+
435
+ ### HTTP response details
436
+ | Status code | Description | Response headers |
437
+ |-------------|-------------|------------------|
438
+ |**200** | No Response | - |
439
+ |**400** | Bad Request | - |
440
+ |**401** | Unauthorised | - |
441
+ |**403** | Access Denied | - |
442
+
443
+ [[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)
444
+
445
+ # **patchSetTcxWizardCname**
446
+ > patchSetTcxWizardCname()
447
+
448
+ Set 3CX Wizard CNAME
449
+
450
+ ### Example
451
+
452
+ ```typescript
453
+ import {
454
+ AccountsApi,
455
+ Configuration,
456
+ PatchSetTcxWizardCnameRequest
457
+ } from 'yellowgrid-api-ts';
458
+
459
+ const configuration = new Configuration();
460
+ const apiInstance = new AccountsApi(configuration);
461
+
462
+ let patchSetTcxWizardCnameRequest: PatchSetTcxWizardCnameRequest; //CNAME Request (optional)
463
+
464
+ const { status, data } = await apiInstance.patchSetTcxWizardCname(
465
+ patchSetTcxWizardCnameRequest
466
+ );
467
+ ```
468
+
469
+ ### Parameters
470
+
471
+ |Name | Type | Description | Notes|
472
+ |------------- | ------------- | ------------- | -------------|
473
+ | **patchSetTcxWizardCnameRequest** | **PatchSetTcxWizardCnameRequest**| CNAME Request | |
474
+
475
+
476
+ ### Return type
477
+
478
+ void (empty response body)
479
+
480
+ ### Authorization
481
+
482
+ No authorization required
483
+
484
+ ### HTTP request headers
485
+
486
+ - **Content-Type**: application/json
487
+ - **Accept**: Not defined
488
+
489
+
490
+ ### HTTP response details
491
+ | Status code | Description | Response headers |
492
+ |-------------|-------------|------------------|
493
+ |**200** | No Response | - |
494
+ |**400** | Bad Request | - |
495
+ |**401** | Unauthorised | - |
496
+ |**403** | Access Denied | - |
497
+
498
+ [[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)
499
+
500
+ # **patchUpdateAccountContactPassword**
501
+ > patchUpdateAccountContactPassword()
502
+
503
+ Update Account Password
504
+
505
+ ### Example
506
+
507
+ ```typescript
508
+ import {
509
+ AccountsApi,
510
+ Configuration,
511
+ PatchUpdateAccountContactPasswordRequest
512
+ } from 'yellowgrid-api-ts';
513
+
514
+ const configuration = new Configuration();
515
+ const apiInstance = new AccountsApi(configuration);
516
+
517
+ let token: string; //Verification Token (default to undefined)
518
+ let patchUpdateAccountContactPasswordRequest: PatchUpdateAccountContactPasswordRequest; //New account request (optional)
519
+
520
+ const { status, data } = await apiInstance.patchUpdateAccountContactPassword(
521
+ token,
522
+ patchUpdateAccountContactPasswordRequest
523
+ );
524
+ ```
525
+
526
+ ### Parameters
527
+
528
+ |Name | Type | Description | Notes|
529
+ |------------- | ------------- | ------------- | -------------|
530
+ | **patchUpdateAccountContactPasswordRequest** | **PatchUpdateAccountContactPasswordRequest**| New account request | |
531
+ | **token** | [**string**] | Verification Token | defaults to undefined|
532
+
533
+
534
+ ### Return type
535
+
536
+ void (empty response body)
537
+
538
+ ### Authorization
539
+
540
+ No authorization required
541
+
542
+ ### HTTP request headers
543
+
544
+ - **Content-Type**: application/json
545
+ - **Accept**: Not defined
546
+
547
+
548
+ ### HTTP response details
549
+ | Status code | Description | Response headers |
550
+ |-------------|-------------|------------------|
551
+ |**200** | No Response | - |
552
+ |**400** | Bad Request | - |
553
+ |**401** | Unauthorised | - |
554
+ |**403** | Access Denied | - |
555
+
556
+ [[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)
557
+
558
+ # **postGetAccountContacts**
559
+ > postGetAccountContacts()
560
+
561
+ Add Account Contacts
562
+
563
+ ### Example
564
+
565
+ ```typescript
566
+ import {
567
+ AccountsApi,
568
+ Configuration,
569
+ AccountContactRequestModel
570
+ } from 'yellowgrid-api-ts';
571
+
572
+ const configuration = new Configuration();
573
+ const apiInstance = new AccountsApi(configuration);
574
+
575
+ let accountContactRequestModel: AccountContactRequestModel; //New account request (optional)
576
+
577
+ const { status, data } = await apiInstance.postGetAccountContacts(
578
+ accountContactRequestModel
579
+ );
580
+ ```
581
+
582
+ ### Parameters
583
+
584
+ |Name | Type | Description | Notes|
585
+ |------------- | ------------- | ------------- | -------------|
586
+ | **accountContactRequestModel** | **AccountContactRequestModel**| New account request | |
587
+
588
+
589
+ ### Return type
590
+
591
+ void (empty response body)
592
+
593
+ ### Authorization
594
+
595
+ No authorization required
596
+
597
+ ### HTTP request headers
598
+
599
+ - **Content-Type**: application/json
600
+ - **Accept**: Not defined
601
+
602
+
603
+ ### HTTP response details
604
+ | Status code | Description | Response headers |
605
+ |-------------|-------------|------------------|
606
+ |**200** | No Response | - |
607
+ |**400** | Bad Request | - |
608
+ |**401** | Unauthorised | - |
609
+ |**403** | Access Denied | - |
610
+
611
+ [[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)
612
+
613
+ # **postGetAccounts**
614
+ > PortalAccountModel postGetAccounts()
615
+
616
+ Create new customer account
617
+
618
+ ### Example
619
+
620
+ ```typescript
621
+ import {
622
+ AccountsApi,
623
+ Configuration,
624
+ AccountRequestModel
625
+ } from 'yellowgrid-api-ts';
626
+
627
+ const configuration = new Configuration();
628
+ const apiInstance = new AccountsApi(configuration);
629
+
630
+ let accountRequestModel: AccountRequestModel; //New account request (optional)
631
+
632
+ const { status, data } = await apiInstance.postGetAccounts(
633
+ accountRequestModel
634
+ );
635
+ ```
636
+
637
+ ### Parameters
638
+
639
+ |Name | Type | Description | Notes|
640
+ |------------- | ------------- | ------------- | -------------|
641
+ | **accountRequestModel** | **AccountRequestModel**| New account request | |
642
+
643
+
644
+ ### Return type
645
+
646
+ **PortalAccountModel**
647
+
648
+ ### Authorization
649
+
650
+ No authorization required
651
+
652
+ ### HTTP request headers
653
+
654
+ - **Content-Type**: application/json
655
+ - **Accept**: application/json
656
+
657
+
658
+ ### HTTP response details
659
+ | Status code | Description | Response headers |
660
+ |-------------|-------------|------------------|
661
+ |**200** | Account | - |
662
+ |**400** | Bad Request | - |
663
+ |**401** | Unauthorised | - |
664
+ |**403** | Access Denied | - |
665
+
666
+ [[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)
667
+
668
+ # **postGetClientCredentials**
669
+ > ClientModel postGetClientCredentials()
670
+
671
+ Create client credentials
672
+
673
+ ### Example
674
+
675
+ ```typescript
676
+ import {
677
+ AccountsApi,
678
+ Configuration,
679
+ PostGetClientCredentialsRequest
680
+ } from 'yellowgrid-api-ts';
681
+
682
+ const configuration = new Configuration();
683
+ const apiInstance = new AccountsApi(configuration);
684
+
685
+ let postGetClientCredentialsRequest: PostGetClientCredentialsRequest; //New client credentials request (optional)
686
+
687
+ const { status, data } = await apiInstance.postGetClientCredentials(
688
+ postGetClientCredentialsRequest
689
+ );
690
+ ```
691
+
692
+ ### Parameters
693
+
694
+ |Name | Type | Description | Notes|
695
+ |------------- | ------------- | ------------- | -------------|
696
+ | **postGetClientCredentialsRequest** | **PostGetClientCredentialsRequest**| New client credentials request | |
697
+
698
+
699
+ ### Return type
700
+
701
+ **ClientModel**
702
+
703
+ ### Authorization
704
+
705
+ No authorization required
706
+
707
+ ### HTTP request headers
708
+
709
+ - **Content-Type**: application/json
710
+ - **Accept**: application/json
711
+
712
+
713
+ ### HTTP response details
714
+ | Status code | Description | Response headers |
715
+ |-------------|-------------|------------------|
716
+ |**200** | Client Credentials | - |
717
+ |**400** | Bad Request | - |
718
+ |**401** | Unauthorised | - |
719
+ |**403** | Access Denied | - |
720
+
721
+ [[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)
722
+
723
+ # **postSendEmailVerificationEmail**
724
+ > postSendEmailVerificationEmail()
725
+
726
+ Send email verification email
727
+
728
+ ### Example
729
+
730
+ ```typescript
731
+ import {
732
+ AccountsApi,
733
+ Configuration
734
+ } from 'yellowgrid-api-ts';
735
+
736
+ const configuration = new Configuration();
737
+ const apiInstance = new AccountsApi(configuration);
738
+
739
+ let email: string; //Email Address (default to undefined)
740
+
741
+ const { status, data } = await apiInstance.postSendEmailVerificationEmail(
742
+ email
743
+ );
744
+ ```
745
+
746
+ ### Parameters
747
+
748
+ |Name | Type | Description | Notes|
749
+ |------------- | ------------- | ------------- | -------------|
750
+ | **email** | [**string**] | Email Address | defaults to undefined|
751
+
752
+
753
+ ### Return type
754
+
755
+ void (empty response body)
756
+
757
+ ### Authorization
758
+
759
+ No authorization required
760
+
761
+ ### HTTP request headers
762
+
763
+ - **Content-Type**: Not defined
764
+ - **Accept**: Not defined
765
+
766
+
767
+ ### HTTP response details
768
+ | Status code | Description | Response headers |
769
+ |-------------|-------------|------------------|
770
+ |**200** | No Response | - |
771
+ |**400** | Bad Request | - |
772
+ |**401** | Unauthorised | - |
773
+ |**403** | Access Denied | - |
774
+
775
+ [[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)
776
+
777
+ # **postSendPasswordReset**
778
+ > postSendPasswordReset()
779
+
780
+ Send password reset email
781
+
782
+ ### Example
783
+
784
+ ```typescript
785
+ import {
786
+ AccountsApi,
787
+ Configuration
788
+ } from 'yellowgrid-api-ts';
789
+
790
+ const configuration = new Configuration();
791
+ const apiInstance = new AccountsApi(configuration);
792
+
793
+ let email: string; //Email Address (default to undefined)
794
+
795
+ const { status, data } = await apiInstance.postSendPasswordReset(
796
+ email
797
+ );
798
+ ```
799
+
800
+ ### Parameters
801
+
802
+ |Name | Type | Description | Notes|
803
+ |------------- | ------------- | ------------- | -------------|
804
+ | **email** | [**string**] | Email Address | defaults to undefined|
805
+
806
+
807
+ ### Return type
808
+
809
+ void (empty response body)
810
+
811
+ ### Authorization
812
+
813
+ No authorization required
814
+
815
+ ### HTTP request headers
816
+
817
+ - **Content-Type**: Not defined
818
+ - **Accept**: Not defined
819
+
820
+
821
+ ### HTTP response details
822
+ | Status code | Description | Response headers |
823
+ |-------------|-------------|------------------|
824
+ |**200** | No Response | - |
825
+ |**400** | Bad Request | - |
826
+ |**401** | Unauthorised | - |
827
+ |**403** | Access Denied | - |
828
+
829
+ [[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)
830
+
831
+ # **postSubmitResellerApplication**
832
+ > postSubmitResellerApplication()
833
+
834
+ Submit reseller application
835
+
836
+ ### Example
837
+
838
+ ```typescript
839
+ import {
840
+ AccountsApi,
841
+ Configuration
842
+ } from 'yellowgrid-api-ts';
843
+
844
+ const configuration = new Configuration();
845
+ const apiInstance = new AccountsApi(configuration);
846
+
847
+ let creditRequired: number; //Credit Required (optional) (default to undefined)
848
+ let companyNumber: string; //Company Number (optional) (default to undefined)
849
+ let vatNumber: string; //VAT Number (optional) (default to undefined)
850
+
851
+ const { status, data } = await apiInstance.postSubmitResellerApplication(
852
+ creditRequired,
853
+ companyNumber,
854
+ vatNumber
855
+ );
856
+ ```
857
+
858
+ ### Parameters
859
+
860
+ |Name | Type | Description | Notes|
861
+ |------------- | ------------- | ------------- | -------------|
862
+ | **creditRequired** | [**number**] | Credit Required | (optional) defaults to undefined|
863
+ | **companyNumber** | [**string**] | Company Number | (optional) defaults to undefined|
864
+ | **vatNumber** | [**string**] | VAT Number | (optional) defaults to undefined|
865
+
866
+
867
+ ### Return type
868
+
869
+ void (empty response body)
870
+
871
+ ### Authorization
872
+
873
+ No authorization required
874
+
875
+ ### HTTP request headers
876
+
877
+ - **Content-Type**: Not defined
878
+ - **Accept**: Not defined
879
+
880
+
881
+ ### HTTP response details
882
+ | Status code | Description | Response headers |
883
+ |-------------|-------------|------------------|
884
+ |**1002** | Portal Logout | - |
885
+ |**400** | Bad Request | - |
886
+ |**401** | Unauthorised | - |
887
+ |**403** | Access Denied | - |
888
+
889
+ [[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)
890
+
891
+ # **putUpdateAccountContact**
892
+ > putUpdateAccountContact()
893
+
894
+ Update Account Contacts
895
+
896
+ ### Example
897
+
898
+ ```typescript
899
+ import {
900
+ AccountsApi,
901
+ Configuration,
902
+ AccountContactRequestModel
903
+ } from 'yellowgrid-api-ts';
904
+
905
+ const configuration = new Configuration();
906
+ const apiInstance = new AccountsApi(configuration);
907
+
908
+ let email: string; //Contact Email Address (default to undefined)
909
+ let accountContactRequestModel: AccountContactRequestModel; //Account request (optional)
910
+
911
+ const { status, data } = await apiInstance.putUpdateAccountContact(
912
+ email,
913
+ accountContactRequestModel
914
+ );
915
+ ```
916
+
917
+ ### Parameters
918
+
919
+ |Name | Type | Description | Notes|
920
+ |------------- | ------------- | ------------- | -------------|
921
+ | **accountContactRequestModel** | **AccountContactRequestModel**| Account request | |
922
+ | **email** | [**string**] | Contact Email Address | defaults to undefined|
923
+
924
+
925
+ ### Return type
926
+
927
+ void (empty response body)
928
+
929
+ ### Authorization
930
+
931
+ No authorization required
932
+
933
+ ### HTTP request headers
934
+
935
+ - **Content-Type**: application/json
936
+ - **Accept**: Not defined
937
+
938
+
939
+ ### HTTP response details
940
+ | Status code | Description | Response headers |
941
+ |-------------|-------------|------------------|
942
+ |**200** | No Response | - |
943
+ |**400** | Bad Request | - |
944
+ |**401** | Unauthorised | - |
945
+ |**403** | Access Denied | - |
946
+
947
+ [[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)
948
+