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,41 @@
1
+ # TelephonySupportTicketModel
2
+
3
+ Telephony Support Ticket
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **id** | **number** | Ticket ID | [optional] [default to undefined]
10
+ **status** | **string** | Ticket status | [optional] [default to undefined]
11
+ **statusId** | **number** | Ticket status ID | [optional] [default to undefined]
12
+ **subject** | **string** | Ticket subject | [optional] [default to undefined]
13
+ **supportEmail** | **string** | Support email address | [optional] [default to undefined]
14
+ **toEmails** | **Array<string>** | Recipient emails | [optional] [default to undefined]
15
+ **description** | **string** | Ticket description (HTML) | [optional] [default to undefined]
16
+ **descriptionText** | **string** | Ticket description (plain text) | [optional] [default to undefined]
17
+ **createdAt** | **string** | Creation timestamp | [optional] [default to undefined]
18
+ **attachments** | [**Array<AttachmentModel>**](AttachmentModel.md) | Attachments | [optional] [default to undefined]
19
+ **conversations** | [**Array<ConversationModel>**](ConversationModel.md) | Conversations | [optional] [default to undefined]
20
+
21
+ ## Example
22
+
23
+ ```typescript
24
+ import { TelephonySupportTicketModel } from 'yellowgrid-api-ts';
25
+
26
+ const instance: TelephonySupportTicketModel = {
27
+ id,
28
+ status,
29
+ statusId,
30
+ subject,
31
+ supportEmail,
32
+ toEmails,
33
+ description,
34
+ descriptionText,
35
+ createdAt,
36
+ attachments,
37
+ conversations,
38
+ };
39
+ ```
40
+
41
+ [[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,35 @@
1
+ # TicketSummaryModel
2
+
3
+ Ticket Summary Model
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **id** | **number** | id | [optional] [default to undefined]
10
+ **subject** | **string** | subject | [optional] [default to undefined]
11
+ **companyId** | **number** | companyId | [optional] [default to undefined]
12
+ **groupId** | **number** | groupId | [optional] [default to undefined]
13
+ **productId** | **number** | productId | [optional] [default to undefined]
14
+ **statusId** | **number** | status | [optional] [default to undefined]
15
+ **lastUpdated** | **string** | lastUpdated | [optional] [default to undefined]
16
+ **statusText** | **string** | Status Text | [optional] [default to undefined]
17
+
18
+ ## Example
19
+
20
+ ```typescript
21
+ import { TicketSummaryModel } from 'yellowgrid-api-ts';
22
+
23
+ const instance: TicketSummaryModel = {
24
+ id,
25
+ subject,
26
+ companyId,
27
+ groupId,
28
+ productId,
29
+ statusId,
30
+ lastUpdated,
31
+ statusText,
32
+ };
33
+ ```
34
+
35
+ [[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
+ # TicketTimeDTO
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **ticketId** | **number** | Ticket ID | [optional] [default to undefined]
9
+ **ticketUrl** | **string** | Ticket URL | [optional] [default to undefined]
10
+ **created** | **string** | Date Time | [optional] [default to undefined]
11
+ **contactName** | **string** | Contact Name | [optional] [default to undefined]
12
+ **agentName** | **string** | Agent Name | [optional] [default to undefined]
13
+ **status** | **string** | Status | [optional] [default to undefined]
14
+ **subject** | **string** | Ticket Subject | [optional] [default to undefined]
15
+ **supportBankTime** | **string** | Support Bank Time | [optional] [default to undefined]
16
+ **fixedPriceTime** | **string** | Fixed Price Time | [optional] [default to undefined]
17
+
18
+ ## Example
19
+
20
+ ```typescript
21
+ import { TicketTimeDTO } from 'yellowgrid-api-ts';
22
+
23
+ const instance: TicketTimeDTO = {
24
+ ticketId,
25
+ ticketUrl,
26
+ created,
27
+ contactName,
28
+ agentName,
29
+ status,
30
+ subject,
31
+ supportBankTime,
32
+ fixedPriceTime,
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)
@@ -0,0 +1,300 @@
1
+ # TicketsApi
2
+
3
+ All URIs are relative to *http://api.yellowgrid.local*
4
+
5
+ |Method | HTTP request | Description|
6
+ |------------- | ------------- | -------------|
7
+ |[**getCreateTicket**](#getcreateticket) | **GET** /tickets/support | |
8
+ |[**getGetTicket**](#getgetticket) | **GET** /tickets/support/{id} | |
9
+ |[**patchCloseTicket**](#patchcloseticket) | **PATCH** /tickets/support/{id}/close | |
10
+ |[**postCreateTicket**](#postcreateticket) | **POST** /tickets/support | |
11
+ |[**postTicketReply**](#postticketreply) | **POST** /tickets/support/{id}/reply | |
12
+
13
+ # **getCreateTicket**
14
+ > FreshdeskCompanyTicketsModel getCreateTicket()
15
+
16
+ Get all telephony support tickets for your company
17
+
18
+ ### Example
19
+
20
+ ```typescript
21
+ import {
22
+ TicketsApi,
23
+ Configuration
24
+ } from 'yellowgrid-api-ts';
25
+
26
+ const configuration = new Configuration();
27
+ const apiInstance = new TicketsApi(configuration);
28
+
29
+ let search: string; //Search (optional) (default to undefined)
30
+ let pageSize: number; //Number Of Results (optional) (default to 20)
31
+ let page: number; //Page Number (optional) (default to 1)
32
+
33
+ const { status, data } = await apiInstance.getCreateTicket(
34
+ search,
35
+ pageSize,
36
+ page
37
+ );
38
+ ```
39
+
40
+ ### Parameters
41
+
42
+ |Name | Type | Description | Notes|
43
+ |------------- | ------------- | ------------- | -------------|
44
+ | **search** | [**string**] | Search | (optional) defaults to undefined|
45
+ | **pageSize** | [**number**] | Number Of Results | (optional) defaults to 20|
46
+ | **page** | [**number**] | Page Number | (optional) defaults to 1|
47
+
48
+
49
+ ### Return type
50
+
51
+ **FreshdeskCompanyTicketsModel**
52
+
53
+ ### Authorization
54
+
55
+ No authorization required
56
+
57
+ ### HTTP request headers
58
+
59
+ - **Content-Type**: Not defined
60
+ - **Accept**: application/json
61
+
62
+
63
+ ### HTTP response details
64
+ | Status code | Description | Response headers |
65
+ |-------------|-------------|------------------|
66
+ |**200** | Freshdesk Company Tickets | - |
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
+ # **getGetTicket**
74
+ > TelephonySupportTicketModel getGetTicket()
75
+
76
+ Retrieve a telephony support ticket
77
+
78
+ ### Example
79
+
80
+ ```typescript
81
+ import {
82
+ TicketsApi,
83
+ Configuration
84
+ } from 'yellowgrid-api-ts';
85
+
86
+ const configuration = new Configuration();
87
+ const apiInstance = new TicketsApi(configuration);
88
+
89
+ let id: number; //Ticket ID (default to undefined)
90
+
91
+ const { status, data } = await apiInstance.getGetTicket(
92
+ id
93
+ );
94
+ ```
95
+
96
+ ### Parameters
97
+
98
+ |Name | Type | Description | Notes|
99
+ |------------- | ------------- | ------------- | -------------|
100
+ | **id** | [**number**] | Ticket ID | defaults to undefined|
101
+
102
+
103
+ ### Return type
104
+
105
+ **TelephonySupportTicketModel**
106
+
107
+ ### Authorization
108
+
109
+ No authorization required
110
+
111
+ ### HTTP request headers
112
+
113
+ - **Content-Type**: Not defined
114
+ - **Accept**: application/json
115
+
116
+
117
+ ### HTTP response details
118
+ | Status code | Description | Response headers |
119
+ |-------------|-------------|------------------|
120
+ |**200** | Accounts | - |
121
+ |**400** | Bad Request | - |
122
+ |**401** | Unauthorised | - |
123
+ |**403** | Access Denied | - |
124
+
125
+ [[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)
126
+
127
+ # **patchCloseTicket**
128
+ > TelephonySupportTicketModel patchCloseTicket()
129
+
130
+ Close a telephony support ticket
131
+
132
+ ### Example
133
+
134
+ ```typescript
135
+ import {
136
+ TicketsApi,
137
+ Configuration
138
+ } from 'yellowgrid-api-ts';
139
+
140
+ const configuration = new Configuration();
141
+ const apiInstance = new TicketsApi(configuration);
142
+
143
+ let id: number; //Ticket ID (default to undefined)
144
+
145
+ const { status, data } = await apiInstance.patchCloseTicket(
146
+ id
147
+ );
148
+ ```
149
+
150
+ ### Parameters
151
+
152
+ |Name | Type | Description | Notes|
153
+ |------------- | ------------- | ------------- | -------------|
154
+ | **id** | [**number**] | Ticket ID | defaults to undefined|
155
+
156
+
157
+ ### Return type
158
+
159
+ **TelephonySupportTicketModel**
160
+
161
+ ### Authorization
162
+
163
+ No authorization required
164
+
165
+ ### HTTP request headers
166
+
167
+ - **Content-Type**: Not defined
168
+ - **Accept**: application/json
169
+
170
+
171
+ ### HTTP response details
172
+ | Status code | Description | Response headers |
173
+ |-------------|-------------|------------------|
174
+ |**200** | Accounts | - |
175
+ |**400** | Bad Request | - |
176
+ |**401** | Unauthorised | - |
177
+ |**403** | Access Denied | - |
178
+
179
+ [[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)
180
+
181
+ # **postCreateTicket**
182
+ > TelephonySupportTicketModel postCreateTicket()
183
+
184
+ Create a new telephony support ticket
185
+
186
+ ### Example
187
+
188
+ ```typescript
189
+ import {
190
+ TicketsApi,
191
+ Configuration
192
+ } from 'yellowgrid-api-ts';
193
+
194
+ const configuration = new Configuration();
195
+ const apiInstance = new TicketsApi(configuration);
196
+
197
+ let subject: string; //Ticket Subject (optional) (default to undefined)
198
+ let message: string; //Ticket Message (optional) (default to undefined)
199
+ let attachments: Array<File>; //Attachments (up to 20MB combined) (optional) (default to undefined)
200
+
201
+ const { status, data } = await apiInstance.postCreateTicket(
202
+ subject,
203
+ message,
204
+ attachments
205
+ );
206
+ ```
207
+
208
+ ### Parameters
209
+
210
+ |Name | Type | Description | Notes|
211
+ |------------- | ------------- | ------------- | -------------|
212
+ | **subject** | [**string**] | Ticket Subject | (optional) defaults to undefined|
213
+ | **message** | [**string**] | Ticket Message | (optional) defaults to undefined|
214
+ | **attachments** | **Array&lt;File&gt;** | Attachments (up to 20MB combined) | (optional) defaults to undefined|
215
+
216
+
217
+ ### Return type
218
+
219
+ **TelephonySupportTicketModel**
220
+
221
+ ### Authorization
222
+
223
+ No authorization required
224
+
225
+ ### HTTP request headers
226
+
227
+ - **Content-Type**: multipart/form-data
228
+ - **Accept**: application/json
229
+
230
+
231
+ ### HTTP response details
232
+ | Status code | Description | Response headers |
233
+ |-------------|-------------|------------------|
234
+ |**200** | Accounts | - |
235
+ |**400** | Bad Request | - |
236
+ |**401** | Unauthorised | - |
237
+ |**403** | Access Denied | - |
238
+
239
+ [[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)
240
+
241
+ # **postTicketReply**
242
+ > TelephonySupportTicketModel postTicketReply()
243
+
244
+ Reply to a telephony support ticket
245
+
246
+ ### Example
247
+
248
+ ```typescript
249
+ import {
250
+ TicketsApi,
251
+ Configuration
252
+ } from 'yellowgrid-api-ts';
253
+
254
+ const configuration = new Configuration();
255
+ const apiInstance = new TicketsApi(configuration);
256
+
257
+ let id: number; //Ticket ID (default to undefined)
258
+ let body: string; //Reply Body (optional) (default to undefined)
259
+ let attachments: Array<File>; //Attachments (up to 20MB combined) (optional) (default to undefined)
260
+
261
+ const { status, data } = await apiInstance.postTicketReply(
262
+ id,
263
+ body,
264
+ attachments
265
+ );
266
+ ```
267
+
268
+ ### Parameters
269
+
270
+ |Name | Type | Description | Notes|
271
+ |------------- | ------------- | ------------- | -------------|
272
+ | **id** | [**number**] | Ticket ID | defaults to undefined|
273
+ | **body** | [**string**] | Reply Body | (optional) defaults to undefined|
274
+ | **attachments** | **Array&lt;File&gt;** | Attachments (up to 20MB combined) | (optional) defaults to undefined|
275
+
276
+
277
+ ### Return type
278
+
279
+ **TelephonySupportTicketModel**
280
+
281
+ ### Authorization
282
+
283
+ No authorization required
284
+
285
+ ### HTTP request headers
286
+
287
+ - **Content-Type**: multipart/form-data
288
+ - **Accept**: application/json
289
+
290
+
291
+ ### HTTP response details
292
+ | Status code | Description | Response headers |
293
+ |-------------|-------------|------------------|
294
+ |**200** | Accounts | - |
295
+ |**400** | Bad Request | - |
296
+ |**401** | Unauthorised | - |
297
+ |**403** | Access Denied | - |
298
+
299
+ [[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)
300
+
@@ -0,0 +1,25 @@
1
+ # TokenResponseModel
2
+
3
+ OAuth Token Response
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **token_type** | **string** | Access Token Type | [optional] [default to 'Bearer']
10
+ **expires_in** | **number** | Seconds until expiry | [optional] [default to undefined]
11
+ **access_token** | **string** | Access Token | [optional] [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { TokenResponseModel } from 'yellowgrid-api-ts';
17
+
18
+ const instance: TokenResponseModel = {
19
+ token_type,
20
+ expires_in,
21
+ access_token,
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,23 @@
1
+ # UpgradeOrderResponseModel
2
+
3
+ EdTechPro Upgrade Response
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **message** | **string** | Response Message | [optional] [default to undefined]
10
+ **templateUrl** | **string** | Integration Template URL | [optional] [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { UpgradeOrderResponseModel } from 'yellowgrid-api-ts';
16
+
17
+ const instance: UpgradeOrderResponseModel = {
18
+ message,
19
+ templateUrl,
20
+ };
21
+ ```
22
+
23
+ [[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
+ # UpgradeRequestModel
2
+
3
+ EdTechPro Upgrade Request
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **clientId** | **number** | Client/Trust ID | [optional] [default to undefined]
10
+ **schoolId** | **number** | School Id | [optional] [default to undefined]
11
+ **licenceType** | **string** | Licence Type | [optional] [default to undefined]
12
+ **schoolType** | **string** | School Type | [optional] [default to undefined]
13
+
14
+ ## Example
15
+
16
+ ```typescript
17
+ import { UpgradeRequestModel } from 'yellowgrid-api-ts';
18
+
19
+ const instance: UpgradeRequestModel = {
20
+ clientId,
21
+ schoolId,
22
+ licenceType,
23
+ schoolType,
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,39 @@
1
+ # UserEntity
2
+
3
+ UsersEntity
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **id** | **number** | id | [optional] [default to undefined]
10
+ **realName** | **string** | realName | [optional] [default to undefined]
11
+ **extNo** | **number** | extNo | [optional] [default to undefined]
12
+ **username** | **string** | username | [optional] [default to undefined]
13
+ **password** | **string** | password | [optional] [default to undefined]
14
+ **email** | **string** | email | [optional] [default to undefined]
15
+ **mobile** | **string** | mobile | [optional] [default to undefined]
16
+ **level** | **number** | level | [optional] [default to undefined]
17
+ **active** | **number** | active | [optional] [default to undefined]
18
+ **image** | **string** | image | [optional] [default to undefined]
19
+
20
+ ## Example
21
+
22
+ ```typescript
23
+ import { UserEntity } from 'yellowgrid-api-ts';
24
+
25
+ const instance: UserEntity = {
26
+ id,
27
+ realName,
28
+ extNo,
29
+ username,
30
+ password,
31
+ email,
32
+ mobile,
33
+ level,
34
+ active,
35
+ image,
36
+ };
37
+ ```
38
+
39
+ [[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,117 @@
1
+ # WebhooksApi
2
+
3
+ All URIs are relative to *http://api.yellowgrid.local*
4
+
5
+ |Method | HTTP request | Description|
6
+ |------------- | ------------- | -------------|
7
+ |[**deleteRevokeWebhook**](#deleterevokewebhook) | **DELETE** /webhooks/delete | Delete an authenticated webhook URL|
8
+ |[**postAddWebhook**](#postaddwebhook) | **POST** /webhooks/add | Create an authenticated webhook URL|
9
+
10
+ # **deleteRevokeWebhook**
11
+ > deleteRevokeWebhook()
12
+
13
+ Delete an authenticated webhook URL
14
+
15
+ ### Example
16
+
17
+ ```typescript
18
+ import {
19
+ WebhooksApi,
20
+ Configuration
21
+ } from 'yellowgrid-api-ts';
22
+
23
+ const configuration = new Configuration();
24
+ const apiInstance = new WebhooksApi(configuration);
25
+
26
+ let authKey: string; //Webhook Authentication Key (default to undefined)
27
+
28
+ const { status, data } = await apiInstance.deleteRevokeWebhook(
29
+ authKey
30
+ );
31
+ ```
32
+
33
+ ### Parameters
34
+
35
+ |Name | Type | Description | Notes|
36
+ |------------- | ------------- | ------------- | -------------|
37
+ | **authKey** | [**string**] | Webhook Authentication Key | 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
+ # **postAddWebhook**
65
+ > PostAddWebhook200Response postAddWebhook()
66
+
67
+ Create an authenticated webhook URL
68
+
69
+ ### Example
70
+
71
+ ```typescript
72
+ import {
73
+ WebhooksApi,
74
+ Configuration
75
+ } from 'yellowgrid-api-ts';
76
+
77
+ const configuration = new Configuration();
78
+ const apiInstance = new WebhooksApi(configuration);
79
+
80
+ let webhookUri: '/webhook/composer/install' | '/webhook/freshdesk/create' | '/webhook/freshdesk/update' | '/webhook/test' | '/webhook/xero/invoices' | '/webhook/tcx/phones/add'; //Webhook URI (default to undefined)
81
+
82
+ const { status, data } = await apiInstance.postAddWebhook(
83
+ webhookUri
84
+ );
85
+ ```
86
+
87
+ ### Parameters
88
+
89
+ |Name | Type | Description | Notes|
90
+ |------------- | ------------- | ------------- | -------------|
91
+ | **webhookUri** | [**&#39;/webhook/composer/install&#39; | &#39;/webhook/freshdesk/create&#39; | &#39;/webhook/freshdesk/update&#39; | &#39;/webhook/test&#39; | &#39;/webhook/xero/invoices&#39; | &#39;/webhook/tcx/phones/add&#39;**]**Array<&#39;/webhook/composer/install&#39; &#124; &#39;/webhook/freshdesk/create&#39; &#124; &#39;/webhook/freshdesk/update&#39; &#124; &#39;/webhook/test&#39; &#124; &#39;/webhook/xero/invoices&#39; &#124; &#39;/webhook/tcx/phones/add&#39;>** | Webhook URI | defaults to undefined|
92
+
93
+
94
+ ### Return type
95
+
96
+ **PostAddWebhook200Response**
97
+
98
+ ### Authorization
99
+
100
+ No authorization required
101
+
102
+ ### HTTP request headers
103
+
104
+ - **Content-Type**: Not defined
105
+ - **Accept**: application/json
106
+
107
+
108
+ ### HTTP response details
109
+ | Status code | Description | Response headers |
110
+ |-------------|-------------|------------------|
111
+ |**200** | Webhook URL | - |
112
+ |**400** | Bad Request | - |
113
+ |**401** | Unauthorised | - |
114
+ |**403** | Access Denied | - |
115
+
116
+ [[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)
117
+
@@ -0,0 +1,39 @@
1
+ # XeroLogEntity
2
+
3
+ XeroLogEntity
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **id** | **number** | id | [optional] [default to undefined]
10
+ **url** | **string** | url | [optional] [default to undefined]
11
+ **method** | **string** | method | [optional] [default to undefined]
12
+ **response** | **number** | response | [optional] [default to undefined]
13
+ **retry** | **number** | retry | [optional] [default to undefined]
14
+ **minuteLimit** | **number** | minuteLimit | [optional] [default to undefined]
15
+ **dayLimit** | **number** | dayLimit | [optional] [default to undefined]
16
+ **requester** | **number** | requester | [optional] [default to undefined]
17
+ **timestamp** | **string** | timestamp | [optional] [default to undefined]
18
+ **clientId** | **string** | clientId | [optional] [default to undefined]
19
+
20
+ ## Example
21
+
22
+ ```typescript
23
+ import { XeroLogEntity } from 'yellowgrid-api-ts';
24
+
25
+ const instance: XeroLogEntity = {
26
+ id,
27
+ url,
28
+ method,
29
+ response,
30
+ retry,
31
+ minuteLimit,
32
+ dayLimit,
33
+ requester,
34
+ timestamp,
35
+ clientId,
36
+ };
37
+ ```
38
+
39
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)