yellowgrid-api-ts 3.2.24-dev.0 → 3.2.24

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 (239) hide show
  1. package/.openapi-generator/FILES +2 -7
  2. package/.openapi-generator/VERSION +1 -1
  3. package/.openapi-generator-ignore +0 -0
  4. package/README.md +1 -17
  5. package/api.ts +3868 -1541
  6. package/base.ts +25 -1
  7. package/common.ts +43 -6
  8. package/config.json +3 -3
  9. package/configuration.ts +19 -25
  10. package/dist/api.d.ts +3675 -772
  11. package/dist/api.js +567 -1344
  12. package/dist/base.d.ts +25 -1
  13. package/dist/base.js +20 -1
  14. package/dist/common.d.ts +38 -1
  15. package/dist/common.js +38 -1
  16. package/dist/configuration.d.ts +18 -25
  17. package/dist/configuration.js +2 -2
  18. package/dist/index.d.ts +1 -1
  19. package/dist/index.js +1 -1
  20. package/docs/AbstractOrderRequestDTO.md +0 -0
  21. package/docs/AccountContactEntity.md +0 -0
  22. package/docs/AccountContactModel.md +0 -0
  23. package/docs/AccountContactRequestModel.md +0 -0
  24. package/docs/AccountDetailedSummaryDTO.md +0 -0
  25. package/docs/AccountRequestModel.md +0 -0
  26. package/docs/AccountSummaryDTO.md +0 -0
  27. package/docs/AccountsApi.md +0 -0
  28. package/docs/AccountsResponseModel.md +0 -0
  29. package/docs/AddressModel.md +0 -0
  30. package/docs/AddressRequestModel.md +0 -0
  31. package/docs/AdminOrderRequestDTO.md +0 -0
  32. package/docs/AdminUserModel.md +0 -0
  33. package/docs/AgentHoursGraphModel.md +0 -0
  34. package/docs/AgentHoursGraphMonthModel.md +0 -0
  35. package/docs/ApiLogEntity.md +0 -0
  36. package/docs/AreaCodeModel.md +0 -0
  37. package/docs/AttachmentModel.md +0 -0
  38. package/docs/AttributeSetEnum.md +0 -0
  39. package/docs/AuditLogEntity.md +0 -0
  40. package/docs/AuthCodeResponseModel.md +0 -0
  41. package/docs/BasicItemDTO.md +0 -0
  42. package/docs/BasicProductDTO.md +0 -0
  43. package/docs/BatchEntity.md +0 -0
  44. package/docs/CRMApi.md +0 -0
  45. package/docs/CallBarringModel.md +0 -0
  46. package/docs/Class3CXApi.md +0 -0
  47. package/docs/Class3CXInstallationWizardApi.md +0 -0
  48. package/docs/Class3CXInstallationsApi.md +0 -0
  49. package/docs/Class3CXIntegrationsApi.md +0 -0
  50. package/docs/Class3CXMultiTenantApi.md +0 -0
  51. package/docs/ClientDetailsModel.md +0 -0
  52. package/docs/ClientModel.md +0 -0
  53. package/docs/CompanyContractModel.md +0 -0
  54. package/docs/ContactInfoModel.md +0 -0
  55. package/docs/ConversationModel.md +0 -0
  56. package/docs/CourierPriceEntity.md +0 -0
  57. package/docs/CreditAccountEntity.md +0 -0
  58. package/docs/CrmContactDTO.md +0 -0
  59. package/docs/CustomerInformationModel.md +0 -0
  60. package/docs/CustomerItemRequestDTO.md +0 -0
  61. package/docs/CustomerOrderRequestDTO.md +0 -0
  62. package/docs/CustomerPriceListEnum.md +0 -0
  63. package/docs/CustomerSummaryReportDTO.md +0 -0
  64. package/docs/DdiRangeRequestModel.md +0 -0
  65. package/docs/DdiRangesRequestModel.md +0 -0
  66. package/docs/DetailedItemRequestDTO.md +0 -0
  67. package/docs/DetailedOrderRequestDTO.md +0 -0
  68. package/docs/DivertRequestModel.md +0 -0
  69. package/docs/DivertResponseModel.md +0 -0
  70. package/docs/EdTechProClientEntity.md +0 -0
  71. package/docs/EdTechProSchoolModel.md +0 -0
  72. package/docs/EdTechProSchoolsModel.md +0 -0
  73. package/docs/EdTechProSetupModel.md +0 -0
  74. package/docs/FraudManagementModel.md +0 -0
  75. package/docs/FreshdeskCompanyTicketsModel.md +0 -0
  76. package/docs/FreshdeskTicketEntity.md +0 -0
  77. package/docs/FtpAccountsEntity.md +0 -0
  78. package/docs/GenericFileModel.md +0 -0
  79. package/docs/GetGetPrice200Response.md +0 -0
  80. package/docs/GetGetRecording200Response.md +0 -0
  81. package/docs/HostingChangeResponseModel.md +0 -0
  82. package/docs/HostingRegionDTO.md +0 -0
  83. package/docs/InstanceAutoFailoverEntity.md +0 -0
  84. package/docs/InstanceDeletionScheduleEntity.md +0 -0
  85. package/docs/InstanceEntity.md +0 -0
  86. package/docs/InstanceFailoverEntity.md +0 -0
  87. package/docs/InstanceMonitoringEntity.md +0 -0
  88. package/docs/InstanceMonitoringLogEntity.md +0 -0
  89. package/docs/InstanceScheduledTasksEntity.md +0 -0
  90. package/docs/InstanceTcxDetailsEntity.md +0 -0
  91. package/docs/InstanceUserCredentialsEntity.md +0 -0
  92. package/docs/ItemDTO.md +0 -0
  93. package/docs/ItemDiscountEntity.md +0 -0
  94. package/docs/ItemEntity.md +0 -0
  95. package/docs/LinkedOrderEntity.md +0 -0
  96. package/docs/MFARequiredModel.md +0 -0
  97. package/docs/MonthlyUsageModel.md +0 -0
  98. package/docs/MultiTenantChangeResponseModel.md +0 -0
  99. package/docs/MyPBXToolsApi.md +0 -0
  100. package/docs/NavigationModel.md +0 -0
  101. package/docs/OAuth20Api.md +3 -3
  102. package/docs/OfflineInstancesEntity.md +0 -0
  103. package/docs/OrderEntity.md +0 -0
  104. package/docs/OrderRequestModel.md +0 -0
  105. package/docs/OrderSummariesModel.md +0 -0
  106. package/docs/OrderSummaryDTO.md +0 -0
  107. package/docs/OrderTotalModel.md +0 -0
  108. package/docs/OrderedItemEntity.md +0 -0
  109. package/docs/OrdersApi.md +0 -0
  110. package/docs/PatchSetTcxWizardCnameRequest.md +0 -0
  111. package/docs/PatchUpdateAccountContactPasswordRequest.md +0 -0
  112. package/docs/PortalAccountModel.md +0 -0
  113. package/docs/PortalLoginModel.md +0 -0
  114. package/docs/PostAddWebhook200Response.md +0 -0
  115. package/docs/PostGetClientCredentialsRequest.md +0 -0
  116. package/docs/PostGetProductForCustomerRequest.md +0 -0
  117. package/docs/PostGetProductRequest.md +0 -0
  118. package/docs/PriceListItemModel.md +0 -0
  119. package/docs/PricingApi.md +0 -0
  120. package/docs/PrizesEntity.md +0 -0
  121. package/docs/ProductPriceListItemModel.md +0 -0
  122. package/docs/ProductSearchResultsModel.md +0 -0
  123. package/docs/ProductSerialInfoModel.md +0 -0
  124. package/docs/ProductSummaryDTO.md +0 -0
  125. package/docs/ProductsApi.md +0 -0
  126. package/docs/PromoCodesEntity.md +0 -0
  127. package/docs/PromoItemsEntity.md +0 -0
  128. package/docs/ProvisioningApi.md +0 -0
  129. package/docs/ProvisioningModel.md +0 -0
  130. package/docs/ProvisioningRequestEntity.md +0 -0
  131. package/docs/RecordingBackupAzureModel.md +0 -0
  132. package/docs/RecordingsBackupInfoDTO.md +0 -0
  133. package/docs/ResourceNotReadyException.md +0 -0
  134. package/docs/RootAccessModel.md +0 -0
  135. package/docs/S3BucketEntity.md +0 -0
  136. package/docs/SIPTrunksApi.md +0 -0
  137. package/docs/SMSApi.md +0 -0
  138. package/docs/ScannedItemModel.md +0 -0
  139. package/docs/ScopeModel.md +0 -0
  140. package/docs/ShipmentAddressEntity.md +0 -0
  141. package/docs/ShipmentEntity.md +0 -0
  142. package/docs/ShipmentItemEntity.md +0 -0
  143. package/docs/ShippingApi.md +0 -0
  144. package/docs/ShippingConsignmentModel.md +0 -0
  145. package/docs/ShippingInformationDTO.md +0 -0
  146. package/docs/ShippingServiceDTO.md +0 -0
  147. package/docs/ShippingServiceModel.md +0 -0
  148. package/docs/ShippingServicesModel.md +0 -0
  149. package/docs/SipTrunkChangeResponseModel.md +0 -0
  150. package/docs/SipTrunkCreationRequestModel.md +0 -0
  151. package/docs/SipTrunkEntity.md +0 -0
  152. package/docs/SipTrunksResponseModel.md +0 -0
  153. package/docs/SmsAccountEntity.md +0 -0
  154. package/docs/SmsDataModel.md +0 -0
  155. package/docs/SmsMessageModel.md +0 -0
  156. package/docs/SmsNumbersEntity.md +0 -0
  157. package/docs/SmsPayloadModel.md +0 -0
  158. package/docs/SmsPhoneNumberModel.md +0 -0
  159. package/docs/SmsResponseModel.md +0 -0
  160. package/docs/SmsWhitelistEntity.md +0 -0
  161. package/docs/StockManagementApi.md +0 -0
  162. package/docs/StockOrderCourierEntity.md +0 -0
  163. package/docs/StockOrderDeductionModel.md +0 -0
  164. package/docs/StockOrderDeductionRequestModel.md +0 -0
  165. package/docs/StockOrderDeductionsEntity.md +0 -0
  166. package/docs/StockOrderEntity.md +0 -0
  167. package/docs/StockOrderItemEntity.md +0 -0
  168. package/docs/StockOrderItemModel.md +0 -0
  169. package/docs/StockOrderItemRequestModel.md +0 -0
  170. package/docs/StockOrderModel.md +0 -0
  171. package/docs/StockOrderProductEntity.md +0 -0
  172. package/docs/StockOrderRequestModel.md +0 -0
  173. package/docs/StockOrderSupplierEntity.md +0 -0
  174. package/docs/StockOrderSupplierModel.md +0 -0
  175. package/docs/StockOrdersModel.md +0 -0
  176. package/docs/StockProductModel.md +0 -0
  177. package/docs/StockProductPriceModel.md +0 -0
  178. package/docs/StockProductSummariesModel.md +0 -0
  179. package/docs/StockProductSummaryModel.md +0 -0
  180. package/docs/StockTransactionsEntity.md +0 -0
  181. package/docs/SupplierEntity.md +0 -0
  182. package/docs/SupplierItemEntity.md +0 -0
  183. package/docs/SystemApi.md +0 -0
  184. package/docs/TcxBackupEntity.md +0 -0
  185. package/docs/TcxBackupModel.md +0 -0
  186. package/docs/TcxBillingEntity.md +0 -0
  187. package/docs/TcxBulkLicenceDetailsModel.md +0 -0
  188. package/docs/TcxDeadLicenceEntity.md +0 -0
  189. package/docs/TcxExtsEntity.md +0 -0
  190. package/docs/TcxHostingPricingEntity.md +0 -0
  191. package/docs/TcxInstallationDetailsModel.md +0 -0
  192. package/docs/TcxInstallationModel.md +0 -0
  193. package/docs/TcxInstallationsModel.md +0 -0
  194. package/docs/TcxKeySummaryDTO.md +0 -0
  195. package/docs/TcxKeysEntity.md +0 -0
  196. package/docs/TcxLicenceDetailsErrorModel.md +0 -0
  197. package/docs/TcxLicenceDetailsModel.md +0 -0
  198. package/docs/TcxMacsEntity.md +0 -0
  199. package/docs/TcxMultiTenantModel.md +0 -0
  200. package/docs/TcxMultiTenantUserModel.md +0 -0
  201. package/docs/TcxMultiTenantsModel.md +0 -0
  202. package/docs/TcxNumbersEntity.md +0 -0
  203. package/docs/TcxOfficeHoursEntity.md +0 -0
  204. package/docs/TcxPhoneModel.md +0 -0
  205. package/docs/TcxPhonesEntity.md +0 -0
  206. package/docs/TcxRemoteStorageModel.md +0 -0
  207. package/docs/TcxSbcDTO.md +0 -0
  208. package/docs/TcxSbcEntity.md +0 -0
  209. package/docs/TcxSbcModel.md +0 -0
  210. package/docs/TcxSetupEntity.md +0 -0
  211. package/docs/TcxSetupsModel.md +0 -0
  212. package/docs/TcxSipTrunksEntity.md +0 -0
  213. package/docs/TcxTemplateXmlEnum.md +0 -0
  214. package/docs/TcxUsersEntity.md +0 -0
  215. package/docs/TcxWizardConfigModel.md +0 -0
  216. package/docs/TcxWizardModel.md +0 -0
  217. package/docs/TechSupportCompanySummaryDTO.md +0 -0
  218. package/docs/{SupportTicketModel.md → TelephonySupportTicketModel.md} +3 -3
  219. package/docs/TicketSummaryModel.md +0 -0
  220. package/docs/TicketTimeDTO.md +0 -0
  221. package/docs/TicketsApi.md +8 -8
  222. package/docs/TokenResponseModel.md +0 -0
  223. package/docs/UpgradeOrderResponseModel.md +0 -0
  224. package/docs/UpgradeRequestModel.md +0 -0
  225. package/docs/UserEntity.md +0 -0
  226. package/docs/WebhooksApi.md +0 -0
  227. package/docs/XeroLogEntity.md +0 -0
  228. package/git_push.sh +0 -0
  229. package/index.ts +1 -1
  230. package/openapitools.json +1 -1
  231. package/package.json +1 -1
  232. package/tsconfig.json +0 -0
  233. package/docs/NumberPortDTO.md +0 -51
  234. package/docs/NumberPortEntity.md +0 -47
  235. package/docs/NumberPortModel.md +0 -51
  236. package/docs/NumberPortRangeDTO.md +0 -33
  237. package/docs/NumberPortRangeRequestDTO.md +0 -27
  238. package/docs/NumberPortingApi.md +0 -658
  239. package/docs/NumberPortsModel.md +0 -27
@@ -1,658 +0,0 @@
1
- # NumberPortingApi
2
-
3
- All URIs are relative to *http://api.yellowgrid.local*
4
-
5
- |Method | HTTP request | Description|
6
- |------------- | ------------- | -------------|
7
- |[**deleteGetAdminNumberPort**](#deletegetadminnumberport) | **DELETE** /admin/sip/numbers/ports/{id} | |
8
- |[**getCreateNumberPort**](#getcreatenumberport) | **GET** /sip/numbers/ports | |
9
- |[**getGetAdminNumberPort**](#getgetadminnumberport) | **GET** /admin/sip/numbers/ports/{id} | |
10
- |[**getGetAdminNumberPorts**](#getgetadminnumberports) | **GET** /admin/sip/numbers/ports | |
11
- |[**getUpdateNumberPort**](#getupdatenumberport) | **GET** /sip/numbers/ports/{id} | |
12
- |[**postCreateNumberPort**](#postcreatenumberport) | **POST** /sip/numbers/ports | |
13
- |[**postSubmitNumberPort**](#postsubmitnumberport) | **POST** /sip/numbers/ports/{id}/submit | |
14
- |[**postUpdateNumberPort**](#postupdatenumberport) | **POST** /sip/numbers/ports/{id} | |
15
- |[**putGetAdminNumberPort**](#putgetadminnumberport) | **PUT** /admin/sip/numbers/ports/{id} | |
16
-
17
- # **deleteGetAdminNumberPort**
18
- > deleteGetAdminNumberPort()
19
-
20
-
21
- ### Example
22
-
23
- ```typescript
24
- import {
25
- NumberPortingApi,
26
- Configuration
27
- } from 'yellowgrid-api-ts';
28
-
29
- const configuration = new Configuration();
30
- const apiInstance = new NumberPortingApi(configuration);
31
-
32
- let id: number; //Number Port ID (default to undefined)
33
-
34
- const { status, data } = await apiInstance.deleteGetAdminNumberPort(
35
- id
36
- );
37
- ```
38
-
39
- ### Parameters
40
-
41
- |Name | Type | Description | Notes|
42
- |------------- | ------------- | ------------- | -------------|
43
- | **id** | [**number**] | Number Port ID | defaults to undefined|
44
-
45
-
46
- ### Return type
47
-
48
- void (empty response body)
49
-
50
- ### Authorization
51
-
52
- No authorization required
53
-
54
- ### HTTP request headers
55
-
56
- - **Content-Type**: Not defined
57
- - **Accept**: Not defined
58
-
59
-
60
- ### HTTP response details
61
- | Status code | Description | Response headers |
62
- |-------------|-------------|------------------|
63
- |**204** | No Response | - |
64
- |**400** | Bad Request | - |
65
- |**401** | Unauthorised | - |
66
- |**403** | Access Denied | - |
67
-
68
- [[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)
69
-
70
- # **getCreateNumberPort**
71
- > NumberPortsModel getCreateNumberPort()
72
-
73
-
74
- ### Example
75
-
76
- ```typescript
77
- import {
78
- NumberPortingApi,
79
- Configuration
80
- } from 'yellowgrid-api-ts';
81
-
82
- const configuration = new Configuration();
83
- const apiInstance = new NumberPortingApi(configuration);
84
-
85
- let pageSize: number; //Number Of Results (optional) (default to 20)
86
- let page: number; //Page Number (optional) (default to 1)
87
- let search: string; //Search (optional) (default to undefined)
88
-
89
- const { status, data } = await apiInstance.getCreateNumberPort(
90
- pageSize,
91
- page,
92
- search
93
- );
94
- ```
95
-
96
- ### Parameters
97
-
98
- |Name | Type | Description | Notes|
99
- |------------- | ------------- | ------------- | -------------|
100
- | **pageSize** | [**number**] | Number Of Results | (optional) defaults to 20|
101
- | **page** | [**number**] | Page Number | (optional) defaults to 1|
102
- | **search** | [**string**] | Search | (optional) defaults to undefined|
103
-
104
-
105
- ### Return type
106
-
107
- **NumberPortsModel**
108
-
109
- ### Authorization
110
-
111
- No authorization required
112
-
113
- ### HTTP request headers
114
-
115
- - **Content-Type**: Not defined
116
- - **Accept**: application/json
117
-
118
-
119
- ### HTTP response details
120
- | Status code | Description | Response headers |
121
- |-------------|-------------|------------------|
122
- |**200** | Number Ports | - |
123
- |**400** | Bad Request | - |
124
- |**401** | Unauthorised | - |
125
- |**403** | Access Denied | - |
126
-
127
- [[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)
128
-
129
- # **getGetAdminNumberPort**
130
- > NumberPortDTO getGetAdminNumberPort()
131
-
132
-
133
- ### Example
134
-
135
- ```typescript
136
- import {
137
- NumberPortingApi,
138
- Configuration
139
- } from 'yellowgrid-api-ts';
140
-
141
- const configuration = new Configuration();
142
- const apiInstance = new NumberPortingApi(configuration);
143
-
144
- let id: number; //Number Port ID (default to undefined)
145
-
146
- const { status, data } = await apiInstance.getGetAdminNumberPort(
147
- id
148
- );
149
- ```
150
-
151
- ### Parameters
152
-
153
- |Name | Type | Description | Notes|
154
- |------------- | ------------- | ------------- | -------------|
155
- | **id** | [**number**] | Number Port ID | defaults to undefined|
156
-
157
-
158
- ### Return type
159
-
160
- **NumberPortDTO**
161
-
162
- ### Authorization
163
-
164
- No authorization required
165
-
166
- ### HTTP request headers
167
-
168
- - **Content-Type**: Not defined
169
- - **Accept**: application/json
170
-
171
-
172
- ### HTTP response details
173
- | Status code | Description | Response headers |
174
- |-------------|-------------|------------------|
175
- |**200** | NumberPortDTO | - |
176
- |**400** | Bad Request | - |
177
- |**401** | Unauthorised | - |
178
- |**403** | Access Denied | - |
179
-
180
- [[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)
181
-
182
- # **getGetAdminNumberPorts**
183
- > NumberPortsModel getGetAdminNumberPorts()
184
-
185
-
186
- ### Example
187
-
188
- ```typescript
189
- import {
190
- NumberPortingApi,
191
- Configuration
192
- } from 'yellowgrid-api-ts';
193
-
194
- const configuration = new Configuration();
195
- const apiInstance = new NumberPortingApi(configuration);
196
-
197
- let pageSize: number; //Number Of Results (optional) (default to 20)
198
- let page: number; //Page Number (optional) (default to 1)
199
- let search: string; //Search (optional) (default to undefined)
200
-
201
- const { status, data } = await apiInstance.getGetAdminNumberPorts(
202
- pageSize,
203
- page,
204
- search
205
- );
206
- ```
207
-
208
- ### Parameters
209
-
210
- |Name | Type | Description | Notes|
211
- |------------- | ------------- | ------------- | -------------|
212
- | **pageSize** | [**number**] | Number Of Results | (optional) defaults to 20|
213
- | **page** | [**number**] | Page Number | (optional) defaults to 1|
214
- | **search** | [**string**] | Search | (optional) defaults to undefined|
215
-
216
-
217
- ### Return type
218
-
219
- **NumberPortsModel**
220
-
221
- ### Authorization
222
-
223
- No authorization required
224
-
225
- ### HTTP request headers
226
-
227
- - **Content-Type**: Not defined
228
- - **Accept**: application/json
229
-
230
-
231
- ### HTTP response details
232
- | Status code | Description | Response headers |
233
- |-------------|-------------|------------------|
234
- |**200** | Number Ports | - |
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
- # **getUpdateNumberPort**
242
- > NumberPortDTO getUpdateNumberPort()
243
-
244
-
245
- ### Example
246
-
247
- ```typescript
248
- import {
249
- NumberPortingApi,
250
- Configuration
251
- } from 'yellowgrid-api-ts';
252
-
253
- const configuration = new Configuration();
254
- const apiInstance = new NumberPortingApi(configuration);
255
-
256
- let id: number; //Number Port ID (default to undefined)
257
-
258
- const { status, data } = await apiInstance.getUpdateNumberPort(
259
- id
260
- );
261
- ```
262
-
263
- ### Parameters
264
-
265
- |Name | Type | Description | Notes|
266
- |------------- | ------------- | ------------- | -------------|
267
- | **id** | [**number**] | Number Port ID | defaults to undefined|
268
-
269
-
270
- ### Return type
271
-
272
- **NumberPortDTO**
273
-
274
- ### Authorization
275
-
276
- No authorization required
277
-
278
- ### HTTP request headers
279
-
280
- - **Content-Type**: Not defined
281
- - **Accept**: application/json
282
-
283
-
284
- ### HTTP response details
285
- | Status code | Description | Response headers |
286
- |-------------|-------------|------------------|
287
- |**200** | NumberPortResponseDTO | - |
288
- |**400** | Bad Request | - |
289
- |**401** | Unauthorised | - |
290
- |**403** | Access Denied | - |
291
-
292
- [[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)
293
-
294
- # **postCreateNumberPort**
295
- > NumberPortDTO postCreateNumberPort()
296
-
297
-
298
- ### Example
299
-
300
- ```typescript
301
- import {
302
- NumberPortingApi,
303
- Configuration
304
- } from 'yellowgrid-api-ts';
305
-
306
- const configuration = new Configuration();
307
- const apiInstance = new NumberPortingApi(configuration);
308
-
309
- let companyName: string; //Company Name (optional) (default to undefined)
310
- let addressLine1: string; //Address Line 1 (optional) (default to undefined)
311
- let addressLine2: string; //Address Line 2 (optional) (default to undefined)
312
- let city: string; //City (optional) (default to undefined)
313
- let postCode: string; //Post Code (optional) (default to undefined)
314
- let trunkId: number; //Trunk ID (optional) (default to undefined)
315
- let tenantId: string; //Starter Bundle ID (optional) (default to undefined)
316
- let requestedPortDate: string; //Requested Port Date (optional) (default to undefined)
317
- let asap: boolean; //Port Date ASAP (optional) (default to undefined)
318
- let comment: string; //Comment (optional) (default to undefined)
319
- let numberRanges: Array<NumberPortRangeRequestDTO>; //Number Ranges (optional) (default to undefined)
320
- let cloa: File; //CLOA (only provide on submission) (optional) (default to undefined)
321
-
322
- const { status, data } = await apiInstance.postCreateNumberPort(
323
- companyName,
324
- addressLine1,
325
- addressLine2,
326
- city,
327
- postCode,
328
- trunkId,
329
- tenantId,
330
- requestedPortDate,
331
- asap,
332
- comment,
333
- numberRanges,
334
- cloa
335
- );
336
- ```
337
-
338
- ### Parameters
339
-
340
- |Name | Type | Description | Notes|
341
- |------------- | ------------- | ------------- | -------------|
342
- | **companyName** | [**string**] | Company Name | (optional) defaults to undefined|
343
- | **addressLine1** | [**string**] | Address Line 1 | (optional) defaults to undefined|
344
- | **addressLine2** | [**string**] | Address Line 2 | (optional) defaults to undefined|
345
- | **city** | [**string**] | City | (optional) defaults to undefined|
346
- | **postCode** | [**string**] | Post Code | (optional) defaults to undefined|
347
- | **trunkId** | [**number**] | Trunk ID | (optional) defaults to undefined|
348
- | **tenantId** | [**string**] | Starter Bundle ID | (optional) defaults to undefined|
349
- | **requestedPortDate** | [**string**] | Requested Port Date | (optional) defaults to undefined|
350
- | **asap** | [**boolean**] | Port Date ASAP | (optional) defaults to undefined|
351
- | **comment** | [**string**] | Comment | (optional) defaults to undefined|
352
- | **numberRanges** | **Array&lt;NumberPortRangeRequestDTO&gt;** | Number Ranges | (optional) defaults to undefined|
353
- | **cloa** | [**File**] | CLOA (only provide on submission) | (optional) defaults to undefined|
354
-
355
-
356
- ### Return type
357
-
358
- **NumberPortDTO**
359
-
360
- ### Authorization
361
-
362
- No authorization required
363
-
364
- ### HTTP request headers
365
-
366
- - **Content-Type**: multipart/form-data
367
- - **Accept**: application/json
368
-
369
-
370
- ### HTTP response details
371
- | Status code | Description | Response headers |
372
- |-------------|-------------|------------------|
373
- |**200** | NumberPortResponseDTO | - |
374
- |**400** | Bad Request | - |
375
- |**401** | Unauthorised | - |
376
- |**403** | Access Denied | - |
377
-
378
- [[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)
379
-
380
- # **postSubmitNumberPort**
381
- > NumberPortDTO postSubmitNumberPort()
382
-
383
-
384
- ### Example
385
-
386
- ```typescript
387
- import {
388
- NumberPortingApi,
389
- Configuration
390
- } from 'yellowgrid-api-ts';
391
-
392
- const configuration = new Configuration();
393
- const apiInstance = new NumberPortingApi(configuration);
394
-
395
- let id: number; //Number Port ID (default to undefined)
396
- let companyName: string; //Company Name (optional) (default to undefined)
397
- let addressLine1: string; //Address Line 1 (optional) (default to undefined)
398
- let addressLine2: string; //Address Line 2 (optional) (default to undefined)
399
- let city: string; //City (optional) (default to undefined)
400
- let postCode: string; //Post Code (optional) (default to undefined)
401
- let trunkId: number; //Trunk ID (optional) (default to undefined)
402
- let tenantId: string; //Starter Bundle ID (optional) (default to undefined)
403
- let requestedPortDate: string; //Requested Port Date (optional) (default to undefined)
404
- let asap: boolean; //Port Date ASAP (optional) (default to undefined)
405
- let comment: string; //Comment (optional) (default to undefined)
406
- let numberRanges: Array<NumberPortRangeRequestDTO>; //Number Ranges (optional) (default to undefined)
407
- let cloa: File; //CLOA (only provide on submission) (optional) (default to undefined)
408
-
409
- const { status, data } = await apiInstance.postSubmitNumberPort(
410
- id,
411
- companyName,
412
- addressLine1,
413
- addressLine2,
414
- city,
415
- postCode,
416
- trunkId,
417
- tenantId,
418
- requestedPortDate,
419
- asap,
420
- comment,
421
- numberRanges,
422
- cloa
423
- );
424
- ```
425
-
426
- ### Parameters
427
-
428
- |Name | Type | Description | Notes|
429
- |------------- | ------------- | ------------- | -------------|
430
- | **id** | [**number**] | Number Port ID | defaults to undefined|
431
- | **companyName** | [**string**] | Company Name | (optional) defaults to undefined|
432
- | **addressLine1** | [**string**] | Address Line 1 | (optional) defaults to undefined|
433
- | **addressLine2** | [**string**] | Address Line 2 | (optional) defaults to undefined|
434
- | **city** | [**string**] | City | (optional) defaults to undefined|
435
- | **postCode** | [**string**] | Post Code | (optional) defaults to undefined|
436
- | **trunkId** | [**number**] | Trunk ID | (optional) defaults to undefined|
437
- | **tenantId** | [**string**] | Starter Bundle ID | (optional) defaults to undefined|
438
- | **requestedPortDate** | [**string**] | Requested Port Date | (optional) defaults to undefined|
439
- | **asap** | [**boolean**] | Port Date ASAP | (optional) defaults to undefined|
440
- | **comment** | [**string**] | Comment | (optional) defaults to undefined|
441
- | **numberRanges** | **Array&lt;NumberPortRangeRequestDTO&gt;** | Number Ranges | (optional) defaults to undefined|
442
- | **cloa** | [**File**] | CLOA (only provide on submission) | (optional) defaults to undefined|
443
-
444
-
445
- ### Return type
446
-
447
- **NumberPortDTO**
448
-
449
- ### Authorization
450
-
451
- No authorization required
452
-
453
- ### HTTP request headers
454
-
455
- - **Content-Type**: multipart/form-data
456
- - **Accept**: application/json
457
-
458
-
459
- ### HTTP response details
460
- | Status code | Description | Response headers |
461
- |-------------|-------------|------------------|
462
- |**200** | NumberPortResponseDTO | - |
463
- |**400** | Bad Request | - |
464
- |**401** | Unauthorised | - |
465
- |**403** | Access Denied | - |
466
-
467
- [[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)
468
-
469
- # **postUpdateNumberPort**
470
- > NumberPortDTO postUpdateNumberPort()
471
-
472
-
473
- ### Example
474
-
475
- ```typescript
476
- import {
477
- NumberPortingApi,
478
- Configuration
479
- } from 'yellowgrid-api-ts';
480
-
481
- const configuration = new Configuration();
482
- const apiInstance = new NumberPortingApi(configuration);
483
-
484
- let id: number; //Number Port ID (default to undefined)
485
- let companyName: string; //Company Name (optional) (default to undefined)
486
- let addressLine1: string; //Address Line 1 (optional) (default to undefined)
487
- let addressLine2: string; //Address Line 2 (optional) (default to undefined)
488
- let city: string; //City (optional) (default to undefined)
489
- let postCode: string; //Post Code (optional) (default to undefined)
490
- let trunkId: number; //Trunk ID (optional) (default to undefined)
491
- let tenantId: string; //Starter Bundle ID (optional) (default to undefined)
492
- let requestedPortDate: string; //Requested Port Date (optional) (default to undefined)
493
- let asap: boolean; //Port Date ASAP (optional) (default to undefined)
494
- let comment: string; //Comment (optional) (default to undefined)
495
- let numberRanges: Array<NumberPortRangeRequestDTO>; //Number Ranges (optional) (default to undefined)
496
- let cloa: File; //CLOA (only provide on submission) (optional) (default to undefined)
497
-
498
- const { status, data } = await apiInstance.postUpdateNumberPort(
499
- id,
500
- companyName,
501
- addressLine1,
502
- addressLine2,
503
- city,
504
- postCode,
505
- trunkId,
506
- tenantId,
507
- requestedPortDate,
508
- asap,
509
- comment,
510
- numberRanges,
511
- cloa
512
- );
513
- ```
514
-
515
- ### Parameters
516
-
517
- |Name | Type | Description | Notes|
518
- |------------- | ------------- | ------------- | -------------|
519
- | **id** | [**number**] | Number Port ID | defaults to undefined|
520
- | **companyName** | [**string**] | Company Name | (optional) defaults to undefined|
521
- | **addressLine1** | [**string**] | Address Line 1 | (optional) defaults to undefined|
522
- | **addressLine2** | [**string**] | Address Line 2 | (optional) defaults to undefined|
523
- | **city** | [**string**] | City | (optional) defaults to undefined|
524
- | **postCode** | [**string**] | Post Code | (optional) defaults to undefined|
525
- | **trunkId** | [**number**] | Trunk ID | (optional) defaults to undefined|
526
- | **tenantId** | [**string**] | Starter Bundle ID | (optional) defaults to undefined|
527
- | **requestedPortDate** | [**string**] | Requested Port Date | (optional) defaults to undefined|
528
- | **asap** | [**boolean**] | Port Date ASAP | (optional) defaults to undefined|
529
- | **comment** | [**string**] | Comment | (optional) defaults to undefined|
530
- | **numberRanges** | **Array&lt;NumberPortRangeRequestDTO&gt;** | Number Ranges | (optional) defaults to undefined|
531
- | **cloa** | [**File**] | CLOA (only provide on submission) | (optional) defaults to undefined|
532
-
533
-
534
- ### Return type
535
-
536
- **NumberPortDTO**
537
-
538
- ### Authorization
539
-
540
- No authorization required
541
-
542
- ### HTTP request headers
543
-
544
- - **Content-Type**: multipart/form-data
545
- - **Accept**: application/json
546
-
547
-
548
- ### HTTP response details
549
- | Status code | Description | Response headers |
550
- |-------------|-------------|------------------|
551
- |**200** | NumberPortResponseDTO | - |
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
- # **putGetAdminNumberPort**
559
- > NumberPortDTO putGetAdminNumberPort()
560
-
561
-
562
- ### Example
563
-
564
- ```typescript
565
- import {
566
- NumberPortingApi,
567
- Configuration
568
- } from 'yellowgrid-api-ts';
569
-
570
- const configuration = new Configuration();
571
- const apiInstance = new NumberPortingApi(configuration);
572
-
573
- let id: number; //Number Port ID (default to undefined)
574
- let companyName: string; //Company Name (optional) (default to undefined)
575
- let addressLine1: string; //Address Line 1 (optional) (default to undefined)
576
- let addressLine2: string; //Address Line 2 (optional) (default to undefined)
577
- let city: string; //City (optional) (default to undefined)
578
- let postCode: string; //Post Code (optional) (default to undefined)
579
- let trunkId: number; //Trunk ID (optional) (default to undefined)
580
- let tenantId: string; //Starter Bundle ID (optional) (default to undefined)
581
- let requestedPortDate: string; //Requested Port Date (optional) (default to undefined)
582
- let asap: boolean; //Port Date ASAP (optional) (default to undefined)
583
- let comment: string; //Comment (optional) (default to undefined)
584
- let id2: number; //Number Port ID (optional) (default to undefined)
585
- let customerName: string; //Customer Name (optional) (default to undefined)
586
- let portDate: string; //Porting Date (optional) (default to undefined)
587
- let numberRanges: Array<NumberPortRangeDTO>; //Number Ranges (optional) (default to undefined)
588
- let status: number; //Status (optional) (default to undefined)
589
- let ticketId: number; //Ticket ID (optional) (default to undefined)
590
-
591
- const { status, data } = await apiInstance.putGetAdminNumberPort(
592
- id,
593
- companyName,
594
- addressLine1,
595
- addressLine2,
596
- city,
597
- postCode,
598
- trunkId,
599
- tenantId,
600
- requestedPortDate,
601
- asap,
602
- comment,
603
- id2,
604
- customerName,
605
- portDate,
606
- numberRanges,
607
- status,
608
- ticketId
609
- );
610
- ```
611
-
612
- ### Parameters
613
-
614
- |Name | Type | Description | Notes|
615
- |------------- | ------------- | ------------- | -------------|
616
- | **id** | [**number**] | Number Port ID | defaults to undefined|
617
- | **companyName** | [**string**] | Company Name | (optional) defaults to undefined|
618
- | **addressLine1** | [**string**] | Address Line 1 | (optional) defaults to undefined|
619
- | **addressLine2** | [**string**] | Address Line 2 | (optional) defaults to undefined|
620
- | **city** | [**string**] | City | (optional) defaults to undefined|
621
- | **postCode** | [**string**] | Post Code | (optional) defaults to undefined|
622
- | **trunkId** | [**number**] | Trunk ID | (optional) defaults to undefined|
623
- | **tenantId** | [**string**] | Starter Bundle ID | (optional) defaults to undefined|
624
- | **requestedPortDate** | [**string**] | Requested Port Date | (optional) defaults to undefined|
625
- | **asap** | [**boolean**] | Port Date ASAP | (optional) defaults to undefined|
626
- | **comment** | [**string**] | Comment | (optional) defaults to undefined|
627
- | **id2** | [**number**] | Number Port ID | (optional) defaults to undefined|
628
- | **customerName** | [**string**] | Customer Name | (optional) defaults to undefined|
629
- | **portDate** | [**string**] | Porting Date | (optional) defaults to undefined|
630
- | **numberRanges** | **Array&lt;NumberPortRangeDTO&gt;** | Number Ranges | (optional) defaults to undefined|
631
- | **status** | [**number**] | Status | (optional) defaults to undefined|
632
- | **ticketId** | [**number**] | Ticket ID | (optional) defaults to undefined|
633
-
634
-
635
- ### Return type
636
-
637
- **NumberPortDTO**
638
-
639
- ### Authorization
640
-
641
- No authorization required
642
-
643
- ### HTTP request headers
644
-
645
- - **Content-Type**: multipart/form-data
646
- - **Accept**: application/json
647
-
648
-
649
- ### HTTP response details
650
- | Status code | Description | Response headers |
651
- |-------------|-------------|------------------|
652
- |**200** | NumberPortResponseDTO | - |
653
- |**400** | Bad Request | - |
654
- |**401** | Unauthorised | - |
655
- |**403** | Access Denied | - |
656
-
657
- [[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)
658
-
@@ -1,27 +0,0 @@
1
- # NumberPortsModel
2
-
3
- Number Ports
4
-
5
- ## Properties
6
-
7
- Name | Type | Description | Notes
8
- ------------ | ------------- | ------------- | -------------
9
- **results** | [**Array&lt;NumberPortDTO&gt;**](NumberPortDTO.md) | Results | [optional] [default to undefined]
10
- **page** | **number** | Page | [optional] [default to undefined]
11
- **perPage** | **number** | Per Page | [optional] [default to undefined]
12
- **totalResults** | **number** | Total Results | [optional] [default to undefined]
13
-
14
- ## Example
15
-
16
- ```typescript
17
- import { NumberPortsModel } from 'yellowgrid-api-ts';
18
-
19
- const instance: NumberPortsModel = {
20
- results,
21
- page,
22
- perPage,
23
- totalResults,
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)