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

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 (90) hide show
  1. package/.openapi-generator/FILES +239 -250
  2. package/.openapi-generator/VERSION +1 -1
  3. package/README.md +29 -38
  4. package/api.ts +2074 -6588
  5. package/base.ts +2 -26
  6. package/common.ts +16 -39
  7. package/config.json +3 -3
  8. package/configuration.ts +25 -19
  9. package/dist/api.d.ts +1093 -5617
  10. package/dist/api.js +2014 -2176
  11. package/dist/base.d.ts +1 -25
  12. package/dist/base.js +2 -21
  13. package/dist/common.d.ts +5 -36
  14. package/dist/common.js +17 -39
  15. package/dist/configuration.d.ts +25 -18
  16. package/dist/configuration.js +2 -2
  17. package/dist/index.d.ts +1 -1
  18. package/dist/index.js +1 -1
  19. package/dist/models/EventStatusEnum.d.ts +18 -0
  20. package/dist/models/EventStatusEnum.js +20 -0
  21. package/dist/models/PortStatusEnum.d.ts +18 -0
  22. package/dist/models/PortStatusEnum.js +20 -0
  23. package/docs/AccountsApi.md +1 -1
  24. package/docs/AdminNumberPortDTO.md +59 -0
  25. package/docs/CRMApi.md +1 -1
  26. package/docs/Class3CXApi.md +1 -1
  27. package/docs/Class3CXInstallationWizardApi.md +1 -1
  28. package/docs/Class3CXInstallationsApi.md +1 -1
  29. package/docs/Class3CXIntegrationsApi.md +1 -1
  30. package/docs/Class3CXMultiTenantApi.md +56 -1
  31. package/docs/MyPBXToolsApi.md +1 -1
  32. package/docs/NumberPortDTO.md +55 -0
  33. package/docs/{CreditNoteModel.md → NumberPortNoteDTO.md} +10 -10
  34. package/docs/NumberPortRangeDTO.md +33 -0
  35. package/docs/NumberPortRangeRequestDTO.md +27 -0
  36. package/docs/NumberPortingApi.md +726 -0
  37. package/docs/NumberPortsModel.md +27 -0
  38. package/docs/OAuth20Api.md +4 -4
  39. package/docs/OrdersApi.md +22 -856
  40. package/docs/{PostAddOrderNoteRequest.md → PostAddAdminNoteRequest.md} +4 -4
  41. package/docs/PricingApi.md +1 -1
  42. package/docs/ProductsApi.md +1 -1
  43. package/docs/ProvisioningApi.md +1 -1
  44. package/docs/SIPTrunksApi.md +56 -1
  45. package/docs/SMSApi.md +57 -1
  46. package/docs/ServicesApi.md +1 -1
  47. package/docs/ShippingApi.md +1 -1
  48. package/docs/SmsAccountDTO.md +31 -0
  49. package/docs/SmsAccountRequestDTO.md +29 -0
  50. package/docs/StockManagementApi.md +1 -1
  51. package/docs/{TelephonySupportTicketModel.md → SupportTicketModel.md} +3 -3
  52. package/docs/SystemApi.md +1 -1
  53. package/docs/TicketsApi.md +9 -9
  54. package/docs/WebhooksApi.md +1 -1
  55. package/getEnums.php +31 -31
  56. package/index.ts +1 -1
  57. package/models/EventStatusEnum.ts +19 -0
  58. package/models/PortStatusEnum.ts +19 -0
  59. package/openapitools.json +1 -1
  60. package/package.json +2 -2
  61. package/dist/models/CourierEnum.d.ts +0 -18
  62. package/dist/models/CourierEnum.js +0 -20
  63. package/dist/models/PrinterEnum.d.ts +0 -18
  64. package/dist/models/PrinterEnum.js +0 -20
  65. package/docs/BatchDTO.md +0 -59
  66. package/docs/CreditNoteDTO.md +0 -21
  67. package/docs/CreditNoteEntity.md +0 -29
  68. package/docs/CreditNoteItemDTO.md +0 -25
  69. package/docs/CreditNoteItemEntity.md +0 -29
  70. package/docs/OrderDetailsDTO.md +0 -63
  71. package/docs/OrderItemDTO.md +0 -55
  72. package/docs/OrderedItemModel.md +0 -47
  73. package/docs/PostSplitOrderRequest.md +0 -20
  74. package/docs/PrinterEntity.md +0 -29
  75. package/docs/PutAllocateItemsRequest.md +0 -20
  76. package/docs/PutAllocateItemsRequestItemsInner.md +0 -22
  77. package/docs/ShipmentDTO.md +0 -35
  78. package/docs/ShipmentItemDTO.md +0 -23
  79. package/docs/ShipmentItemModel.md +0 -29
  80. package/docs/ShipmentModel.md +0 -43
  81. package/docs/ShipmentRequestDTO.md +0 -31
  82. package/docs/ShippingRequestDTO.md +0 -24
  83. package/docs/SupplierItemModel.md +0 -35
  84. package/docs/SupplierModel.md +0 -37
  85. package/hs_err_pid16044.log +0 -249
  86. package/hs_err_pid44560.log +0 -249
  87. package/hs_err_pid53988.log +0 -249
  88. package/hs_err_pid58728.log +0 -40
  89. package/models/CourierEnum.ts +0 -19
  90. package/models/PrinterEnum.ts +0 -19
@@ -0,0 +1,27 @@
1
+ # NumberPortsModel
2
+
3
+ Number Ports
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **results** | [**Array<NumberPortDTO>**](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)
@@ -1,6 +1,6 @@
1
1
  # OAuth20Api
2
2
 
3
- All URIs are relative to *https://api.yellowgrid.local*
3
+ All URIs are relative to *https://bitbucket.org*
4
4
 
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
@@ -157,7 +157,7 @@ const { status, data } = await apiInstance.postAccessToken(
157
157
  | **clientId** | [**string**] | OAuth 2.0 Client ID | (optional) defaults to undefined|
158
158
  | **clientSecret** | [**string**] | OAuth 2.0 Client Secret | (optional) defaults to undefined|
159
159
  | **grantType** | [**string**]**Array<&#39;client_credentials&#39; &#124; &#39;code&#39; &#124; &#39;refresh_token&#39; &#124; &#39;authorization_code&#39; &#124; &#39;ms_auth&#39; &#124; &#39;token_exchange&#39; &#124; &#39;password&#39;>** | OAuth 2.0 Grant Type | (optional) defaults to undefined|
160
- | **scope** | [**string**]**Array<&#39;*&#39; &#124; &#39;fdps&#39; &#124; &#39;scope&#39; &#124; &#39;portal&#39; &#124; &#39;tcx_wizard&#39; &#124; &#39;accounts.read&#39; &#124; &#39;accounts.write&#39; &#124; &#39;pricing.read&#39; &#124; &#39;orders.read&#39; &#124; &#39;orders.write&#39; &#124; &#39;products.read&#39; &#124; &#39;provisioning.read&#39; &#124; &#39;provisioning.write&#39; &#124; &#39;trunks.read&#39; &#124; &#39;trunks.write&#39; &#124; &#39;tcx_integrations.read&#39; &#124; &#39;tcx_integrations.write&#39; &#124; &#39;tcx_licence_details.read&#39; &#124; &#39;tcx_installations.read&#39; &#124; &#39;tcx_installations.write&#39; &#124; &#39;tcx_mt.read&#39; &#124; &#39;tcx_mt.write&#39; &#124; &#39;tickets.read&#39; &#124; &#39;tickets.write&#39;>** | OAuth 2.0 Scope | (optional) defaults to undefined|
160
+ | **scope** | [**string**]**Array<&#39;*&#39; &#124; &#39;fdps&#39; &#124; &#39;scope&#39; &#124; &#39;portal&#39; &#124; &#39;tcx_wizard&#39; &#124; &#39;accounts.read&#39; &#124; &#39;accounts.write&#39; &#124; &#39;number_porting.read&#39; &#124; &#39;number_porting.write&#39; &#124; &#39;pricing.read&#39; &#124; &#39;orders.read&#39; &#124; &#39;orders.write&#39; &#124; &#39;products.read&#39; &#124; &#39;provisioning.read&#39; &#124; &#39;provisioning.write&#39; &#124; &#39;sms.read&#39; &#124; &#39;sms.write&#39; &#124; &#39;trunks.read&#39; &#124; &#39;trunks.write&#39; &#124; &#39;tcx_integrations.read&#39; &#124; &#39;tcx_integrations.write&#39; &#124; &#39;tcx_licence_details.read&#39; &#124; &#39;tcx_installations.read&#39; &#124; &#39;tcx_installations.write&#39; &#124; &#39;tcx_mt.read&#39; &#124; &#39;tcx_mt.write&#39; &#124; &#39;tickets.read&#39; &#124; &#39;tickets.write&#39;>** | OAuth 2.0 Scope | (optional) defaults to undefined|
161
161
  | **redirectUri** | [**string**] | OAuth 2.0 Redirect URI | (optional) defaults to undefined|
162
162
  | **code** | [**string**] | OAuth 2.0 Auth Code | (optional) defaults to undefined|
163
163
  | **refreshToken** | [**string**] | OAuth 2.0 Refresh Token | (optional) defaults to undefined|
@@ -210,7 +210,7 @@ const apiInstance = new OAuth20Api(configuration);
210
210
 
211
211
  let clientId: string; //OAuth 2.0 Client ID (default to undefined)
212
212
  let responseType: string; //OAuth 2.0 Response Type (default to 'code')
213
- let scope: '*' | 'fdps' | 'scope' | 'portal' | 'tcx_wizard' | 'accounts.read' | 'accounts.write' | 'pricing.read' | 'orders.read' | 'orders.write' | 'products.read' | 'provisioning.read' | 'provisioning.write' | 'trunks.read' | 'trunks.write' | 'tcx_integrations.read' | 'tcx_integrations.write' | 'tcx_licence_details.read' | 'tcx_installations.read' | 'tcx_installations.write' | 'tcx_mt.read' | 'tcx_mt.write' | 'tickets.read' | 'tickets.write'; //OAuth 2.0 Scope (default to undefined)
213
+ let scope: '*' | 'fdps' | 'scope' | 'portal' | 'tcx_wizard' | 'accounts.read' | 'accounts.write' | 'number_porting.read' | 'number_porting.write' | 'pricing.read' | 'orders.read' | 'orders.write' | 'products.read' | 'provisioning.read' | 'provisioning.write' | 'sms.read' | 'sms.write' | 'trunks.read' | 'trunks.write' | 'tcx_integrations.read' | 'tcx_integrations.write' | 'tcx_licence_details.read' | 'tcx_installations.read' | 'tcx_installations.write' | 'tcx_mt.read' | 'tcx_mt.write' | 'tickets.read' | 'tickets.write'; //OAuth 2.0 Scope (default to undefined)
214
214
  let redirectUri: string; //OAuth 2.0 Redirect URI (optional) (default to undefined)
215
215
  let state: string; //OAuth 2.0 State (optional) (default to undefined)
216
216
  let codeChallenge: string; //OAuth 2.0 Code Challenge (optional) (default to undefined)
@@ -233,7 +233,7 @@ const { status, data } = await apiInstance.postAuthorise(
233
233
  |------------- | ------------- | ------------- | -------------|
234
234
  | **clientId** | [**string**] | OAuth 2.0 Client ID | defaults to undefined|
235
235
  | **responseType** | [**string**] | OAuth 2.0 Response Type | defaults to 'code'|
236
- | **scope** | [**&#39;*&#39; | &#39;fdps&#39; | &#39;scope&#39; | &#39;portal&#39; | &#39;tcx_wizard&#39; | &#39;accounts.read&#39; | &#39;accounts.write&#39; | &#39;pricing.read&#39; | &#39;orders.read&#39; | &#39;orders.write&#39; | &#39;products.read&#39; | &#39;provisioning.read&#39; | &#39;provisioning.write&#39; | &#39;trunks.read&#39; | &#39;trunks.write&#39; | &#39;tcx_integrations.read&#39; | &#39;tcx_integrations.write&#39; | &#39;tcx_licence_details.read&#39; | &#39;tcx_installations.read&#39; | &#39;tcx_installations.write&#39; | &#39;tcx_mt.read&#39; | &#39;tcx_mt.write&#39; | &#39;tickets.read&#39; | &#39;tickets.write&#39;**]**Array<&#39;*&#39; &#124; &#39;fdps&#39; &#124; &#39;scope&#39; &#124; &#39;portal&#39; &#124; &#39;tcx_wizard&#39; &#124; &#39;accounts.read&#39; &#124; &#39;accounts.write&#39; &#124; &#39;pricing.read&#39; &#124; &#39;orders.read&#39; &#124; &#39;orders.write&#39; &#124; &#39;products.read&#39; &#124; &#39;provisioning.read&#39; &#124; &#39;provisioning.write&#39; &#124; &#39;trunks.read&#39; &#124; &#39;trunks.write&#39; &#124; &#39;tcx_integrations.read&#39; &#124; &#39;tcx_integrations.write&#39; &#124; &#39;tcx_licence_details.read&#39; &#124; &#39;tcx_installations.read&#39; &#124; &#39;tcx_installations.write&#39; &#124; &#39;tcx_mt.read&#39; &#124; &#39;tcx_mt.write&#39; &#124; &#39;tickets.read&#39; &#124; &#39;tickets.write&#39;>** | OAuth 2.0 Scope | defaults to undefined|
236
+ | **scope** | [**&#39;*&#39; | &#39;fdps&#39; | &#39;scope&#39; | &#39;portal&#39; | &#39;tcx_wizard&#39; | &#39;accounts.read&#39; | &#39;accounts.write&#39; | &#39;number_porting.read&#39; | &#39;number_porting.write&#39; | &#39;pricing.read&#39; | &#39;orders.read&#39; | &#39;orders.write&#39; | &#39;products.read&#39; | &#39;provisioning.read&#39; | &#39;provisioning.write&#39; | &#39;sms.read&#39; | &#39;sms.write&#39; | &#39;trunks.read&#39; | &#39;trunks.write&#39; | &#39;tcx_integrations.read&#39; | &#39;tcx_integrations.write&#39; | &#39;tcx_licence_details.read&#39; | &#39;tcx_installations.read&#39; | &#39;tcx_installations.write&#39; | &#39;tcx_mt.read&#39; | &#39;tcx_mt.write&#39; | &#39;tickets.read&#39; | &#39;tickets.write&#39;**]**Array<&#39;*&#39; &#124; &#39;fdps&#39; &#124; &#39;scope&#39; &#124; &#39;portal&#39; &#124; &#39;tcx_wizard&#39; &#124; &#39;accounts.read&#39; &#124; &#39;accounts.write&#39; &#124; &#39;number_porting.read&#39; &#124; &#39;number_porting.write&#39; &#124; &#39;pricing.read&#39; &#124; &#39;orders.read&#39; &#124; &#39;orders.write&#39; &#124; &#39;products.read&#39; &#124; &#39;provisioning.read&#39; &#124; &#39;provisioning.write&#39; &#124; &#39;sms.read&#39; &#124; &#39;sms.write&#39; &#124; &#39;trunks.read&#39; &#124; &#39;trunks.write&#39; &#124; &#39;tcx_integrations.read&#39; &#124; &#39;tcx_integrations.write&#39; &#124; &#39;tcx_licence_details.read&#39; &#124; &#39;tcx_installations.read&#39; &#124; &#39;tcx_installations.write&#39; &#124; &#39;tcx_mt.read&#39; &#124; &#39;tcx_mt.write&#39; &#124; &#39;tickets.read&#39; &#124; &#39;tickets.write&#39;>** | OAuth 2.0 Scope | defaults to undefined|
237
237
  | **redirectUri** | [**string**] | OAuth 2.0 Redirect URI | (optional) defaults to undefined|
238
238
  | **state** | [**string**] | OAuth 2.0 State | (optional) defaults to undefined|
239
239
  | **codeChallenge** | [**string**] | OAuth 2.0 Code Challenge | (optional) defaults to undefined|