yellowgrid-api-ts 3.2.200 → 3.2.201-dev.0

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 (99) hide show
  1. package/.openapi-generator/FILES +312 -296
  2. package/.openapi-generator/VERSION +1 -1
  3. package/README.md +28 -2
  4. package/api.ts +7139 -612
  5. package/base.ts +26 -2
  6. package/common.ts +39 -16
  7. package/config.json +3 -3
  8. package/configuration.ts +21 -27
  9. package/dist/api.d.ts +5948 -84
  10. package/dist/api.js +1964 -501
  11. package/dist/base.d.ts +25 -1
  12. package/dist/base.js +21 -2
  13. package/dist/common.d.ts +36 -5
  14. package/dist/common.js +39 -17
  15. package/dist/configuration.d.ts +18 -25
  16. package/dist/configuration.js +4 -4
  17. package/dist/index.d.ts +1 -1
  18. package/dist/index.js +1 -1
  19. package/dist/models/GroupEnum.d.ts +43 -0
  20. package/dist/models/GroupEnum.js +45 -0
  21. package/dist/models/HostingPriceListEnum.d.ts +5 -0
  22. package/dist/models/HostingPriceListEnum.js +5 -0
  23. package/dist/models/ReportEnum.d.ts +43 -0
  24. package/dist/models/ReportEnum.js +45 -0
  25. package/docs/AbstractItemDiscountModel.md +21 -0
  26. package/docs/AbstractOrderRequestDTO.md +1 -1
  27. package/docs/AccountsApi.md +115 -1
  28. package/docs/AdminOrderRequestDTO.md +1 -1
  29. package/docs/AxisDataDTO.md +25 -0
  30. package/docs/BillingApi.md +1 -1
  31. package/docs/CRMApi.md +1 -1
  32. package/docs/Class3CXApi.md +1 -1
  33. package/docs/Class3CXInstallationWizardApi.md +1 -1
  34. package/docs/Class3CXInstallationsApi.md +1 -1
  35. package/docs/Class3CXIntegrationsApi.md +1 -1
  36. package/docs/Class3CXMultiTenantApi.md +1 -1
  37. package/docs/CrmActivityDTO.md +3 -3
  38. package/docs/CrmDateActivitiesDTO.md +1 -1
  39. package/docs/CustomerOrderRequestDTO.md +1 -1
  40. package/docs/DetailedOrderRequestDTO.md +1 -1
  41. package/docs/GetCheckMacExists200Response.md +20 -0
  42. package/docs/GraphDTO.md +29 -0
  43. package/docs/MacAddressDTO.md +23 -0
  44. package/docs/MiscApi.md +63 -0
  45. package/docs/MyPBXToolsApi.md +1 -1
  46. package/docs/NumberPortModel.md +51 -0
  47. package/docs/NumberPortingApi.md +1 -1
  48. package/docs/OAuth20Api.md +1 -1
  49. package/docs/OrdersApi.md +1 -1
  50. package/docs/PartnerDTO.md +1 -1
  51. package/docs/PasswordSenderDTO.md +37 -0
  52. package/docs/PasswordSenderEntity.md +33 -0
  53. package/docs/PatchSetTcxWizardCnameRequest.md +20 -0
  54. package/docs/PatchUpdateAccountNameRequest.md +20 -0
  55. package/docs/PostAddAdminNoteRequest.md +20 -0
  56. package/docs/PostGetProductRequest.md +24 -0
  57. package/docs/PricingApi.md +1 -1
  58. package/docs/ProductDetailedSummaryDTO.md +41 -0
  59. package/docs/ProductSearchDTO.md +37 -0
  60. package/docs/ProductSummaryDTO.md +1 -3
  61. package/docs/ProductsApi.md +5 -5
  62. package/docs/ProspectDTO.md +2 -2
  63. package/docs/ProspectsApi.md +1 -1
  64. package/docs/ProvisioningApi.md +167 -1
  65. package/docs/RecordingsBackupInfoDTO.md +2 -2
  66. package/docs/ReportRequestDTO.md +37 -0
  67. package/docs/ReportsApi.md +107 -0
  68. package/docs/SIPTrunksApi.md +1 -1
  69. package/docs/SMSApi.md +1 -1
  70. package/docs/SeriesDTO.md +27 -0
  71. package/docs/ServicesApi.md +1 -1
  72. package/docs/ShipmentRequestDTO.md +2 -2
  73. package/docs/ShippingApi.md +1 -1
  74. package/docs/StockManagementApi.md +1 -1
  75. package/docs/StockReportItemModel.md +31 -0
  76. package/docs/StockReportModel.md +29 -0
  77. package/docs/SupplierItemModel.md +2 -0
  78. package/docs/SupplierItemsResultsDTO.md +21 -0
  79. package/docs/SupplierProductModel.md +25 -0
  80. package/docs/SupplierProductResultsModel.md +27 -0
  81. package/docs/SuppliersApi.md +230 -0
  82. package/docs/SystemApi.md +1 -1
  83. package/docs/TcxInstallationDetailsModel.md +45 -0
  84. package/docs/TcxInstallationModel.md +6 -0
  85. package/docs/TcxKeySummaryDTO.md +1 -1
  86. package/docs/TelephonySupportTicketModel.md +41 -0
  87. package/docs/TicketsApi.md +1 -1
  88. package/docs/WebhooksApi.md +1 -1
  89. package/getEnums.php +31 -31
  90. package/hs_err_pid16044.log +249 -0
  91. package/hs_err_pid44560.log +249 -0
  92. package/hs_err_pid53988.log +249 -0
  93. package/hs_err_pid58728.log +40 -0
  94. package/index.ts +1 -1
  95. package/models/GroupEnum.ts +44 -0
  96. package/models/HostingPriceListEnum.ts +5 -0
  97. package/models/ReportEnum.ts +44 -0
  98. package/openapitools.json +1 -1
  99. package/package.json +2 -2
@@ -0,0 +1,33 @@
1
+ # PasswordSenderEntity
2
+
3
+ PasswordSenderEntity
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **uniqueId** | **string** | uniqueId | [optional] [default to undefined]
10
+ **url** | **string** | url | [optional] [default to undefined]
11
+ **username** | **string** | username | [optional] [default to undefined]
12
+ **password** | **string** | password | [optional] [default to undefined]
13
+ **expiryTime** | **string** | expiryTime | [optional] [default to undefined]
14
+ **emailRecipient** | **string** | emailRecipient | [optional] [default to undefined]
15
+ **description** | **string** | description | [optional] [default to undefined]
16
+
17
+ ## Example
18
+
19
+ ```typescript
20
+ import { PasswordSenderEntity } from 'yellowgrid-api-ts';
21
+
22
+ const instance: PasswordSenderEntity = {
23
+ uniqueId,
24
+ url,
25
+ username,
26
+ password,
27
+ expiryTime,
28
+ emailRecipient,
29
+ description,
30
+ };
31
+ ```
32
+
33
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,20 @@
1
+ # PatchSetTcxWizardCnameRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **cname** | **string** | CNAME | [optional] [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { PatchSetTcxWizardCnameRequest } from 'yellowgrid-api-ts';
14
+
15
+ const instance: PatchSetTcxWizardCnameRequest = {
16
+ cname,
17
+ };
18
+ ```
19
+
20
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,20 @@
1
+ # PatchUpdateAccountNameRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **name** | **string** | Company Name | [optional] [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { PatchUpdateAccountNameRequest } from 'yellowgrid-api-ts';
14
+
15
+ const instance: PatchUpdateAccountNameRequest = {
16
+ name,
17
+ };
18
+ ```
19
+
20
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,20 @@
1
+ # PostAddAdminNoteRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **note** | **string** | Note | [optional] [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { PostAddAdminNoteRequest } from 'yellowgrid-api-ts';
14
+
15
+ const instance: PostAddAdminNoteRequest = {
16
+ note,
17
+ };
18
+ ```
19
+
20
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,24 @@
1
+ # PostGetProductRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **quantity** | **number** | Quantity | [optional] [default to undefined]
9
+ **licenceKey** | **string** | 3CX Licence Key | [optional] [default to undefined]
10
+ **hosting** | **boolean** | 3CX Hosting | [optional] [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { PostGetProductRequest } from 'yellowgrid-api-ts';
16
+
17
+ const instance: PostGetProductRequest = {
18
+ quantity,
19
+ licenceKey,
20
+ hosting,
21
+ };
22
+ ```
23
+
24
+ [[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
  # PricingApi
2
2
 
3
- All URIs are relative to *https://bitbucket.org*
3
+ All URIs are relative to *https://api.local.yellowgrid.co.uk*
4
4
 
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
@@ -0,0 +1,41 @@
1
+ # ProductDetailedSummaryDTO
2
+
3
+ Product Detailed Summary
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **sku** | **string** | SKU | [optional] [default to undefined]
10
+ **title** | **string** | Title | [optional] [default to undefined]
11
+ **quantity** | **number** | Stock Quantity | [optional] [default to undefined]
12
+ **stockProduct** | **boolean** | Stock Product | [optional] [default to undefined]
13
+ **price** | **number** | Price | [optional] [default to undefined]
14
+ **cartonSize** | **number** | Carton Size | [optional] [default to undefined]
15
+ **rrp** | **number** | RRP Price | [optional] [default to undefined]
16
+ **licenceDetails** | [**TcxLicenceDetailsModel**](TcxLicenceDetailsModel.md) | | [optional] [default to undefined]
17
+ **hosting** | **boolean** | 3CX Hosting | [optional] [default to undefined]
18
+ **dueDate** | **string** | Date Time | [optional] [default to undefined]
19
+ **onOrder** | **number** | On Order | [optional] [default to undefined]
20
+
21
+ ## Example
22
+
23
+ ```typescript
24
+ import { ProductDetailedSummaryDTO } from 'yellowgrid-api-ts';
25
+
26
+ const instance: ProductDetailedSummaryDTO = {
27
+ sku,
28
+ title,
29
+ quantity,
30
+ stockProduct,
31
+ price,
32
+ cartonSize,
33
+ rrp,
34
+ licenceDetails,
35
+ hosting,
36
+ dueDate,
37
+ onOrder,
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,37 @@
1
+ # ProductSearchDTO
2
+
3
+ Product Search
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **sku** | **string** | SKU | [optional] [default to undefined]
10
+ **quantity** | **number** | Quantity | [optional] [default to undefined]
11
+ **licenceKey** | **string** | Licence Key | [optional] [default to undefined]
12
+ **hosting** | **boolean** | Hosting | [optional] [default to undefined]
13
+ **tcxSalesCode** | **string** | 3CX Sales Code | [optional] [default to undefined]
14
+ **renewalYears** | **number** | 3CX Renewal Years | [optional] [default to undefined]
15
+ **orderId** | **number** | Order ID | [optional] [default to undefined]
16
+ **items** | [**Array<CustomerItemRequestDTO>**](CustomerItemRequestDTO.md) | Items | [optional] [default to undefined]
17
+ **discount** | **number** | Discount | [optional] [default to undefined]
18
+
19
+ ## Example
20
+
21
+ ```typescript
22
+ import { ProductSearchDTO } from 'yellowgrid-api-ts';
23
+
24
+ const instance: ProductSearchDTO = {
25
+ sku,
26
+ quantity,
27
+ licenceKey,
28
+ hosting,
29
+ tcxSalesCode,
30
+ renewalYears,
31
+ orderId,
32
+ items,
33
+ discount,
34
+ };
35
+ ```
36
+
37
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -10,11 +10,10 @@ Name | Type | Description | Notes
10
10
  **title** | **string** | Title | [optional] [default to undefined]
11
11
  **quantity** | **number** | Stock Quantity | [optional] [default to undefined]
12
12
  **stockProduct** | **boolean** | Stock Product | [optional] [default to undefined]
13
- **dueDate** | **string** | Due Date | [optional] [default to undefined]
14
13
  **price** | **number** | Price | [optional] [default to undefined]
15
14
  **cartonSize** | **number** | Carton Size | [optional] [default to undefined]
16
15
  **rrp** | **number** | RRP Price | [optional] [default to undefined]
17
- **licenceDetails** | [**TcxLicenceDetailsModel**](TcxLicenceDetailsModel.md) | 3CX Licence Details | [optional] [default to undefined]
16
+ **licenceDetails** | [**TcxLicenceDetailsModel**](TcxLicenceDetailsModel.md) | | [optional] [default to undefined]
18
17
  **hosting** | **boolean** | 3CX Hosting | [optional] [default to undefined]
19
18
 
20
19
  ## Example
@@ -27,7 +26,6 @@ const instance: ProductSummaryDTO = {
27
26
  title,
28
27
  quantity,
29
28
  stockProduct,
30
- dueDate,
31
29
  price,
32
30
  cartonSize,
33
31
  rrp,
@@ -1,6 +1,6 @@
1
1
  # ProductsApi
2
2
 
3
- All URIs are relative to *https://bitbucket.org*
3
+ All URIs are relative to *https://api.local.yellowgrid.co.uk*
4
4
 
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
@@ -422,7 +422,7 @@ No authorization required
422
422
  [[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)
423
423
 
424
424
  # **postGetProduct**
425
- > ProductSummaryDTO postGetProduct(postGetProductForCustomerRequest)
425
+ > ProductDetailedSummaryDTO postGetProduct(postGetProductForCustomerRequest)
426
426
 
427
427
  Get Product
428
428
 
@@ -460,7 +460,7 @@ const { status, data } = await apiInstance.postGetProduct(
460
460
 
461
461
  ### Return type
462
462
 
463
- **ProductSummaryDTO**
463
+ **ProductDetailedSummaryDTO**
464
464
 
465
465
  ### Authorization
466
466
 
@@ -483,7 +483,7 @@ No authorization required
483
483
  [[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)
484
484
 
485
485
  # **postGetProductForCustomer**
486
- > ProductSummaryDTO postGetProductForCustomer(postGetProductForCustomerRequest)
486
+ > ProductDetailedSummaryDTO postGetProductForCustomer(postGetProductForCustomerRequest)
487
487
 
488
488
  Get Product For Customer
489
489
 
@@ -524,7 +524,7 @@ const { status, data } = await apiInstance.postGetProductForCustomer(
524
524
 
525
525
  ### Return type
526
526
 
527
- **ProductSummaryDTO**
527
+ **ProductDetailedSummaryDTO**
528
528
 
529
529
  ### Authorization
530
530
 
@@ -8,8 +8,8 @@ Name | Type | Description | Notes
8
8
  ------------ | ------------- | ------------- | -------------
9
9
  **companyName** | **string** | Company Name | [optional] [default to undefined]
10
10
  **telephone** | **string** | Telephone | [optional] [default to undefined]
11
- **lastOrderDate** | **string** | Last Order Date | [optional] [default to undefined]
12
- **callbackDate** | **string** | Call Back Date | [optional] [default to undefined]
11
+ **lastOrderDate** | **string** | Date Time | [optional] [default to undefined]
12
+ **callbackDate** | **string** | Date Time | [optional] [default to undefined]
13
13
  **xeroId** | **string** | Xero ID | [optional] [default to undefined]
14
14
  **removed** | **boolean** | Removed From Prospects | [optional] [default to undefined]
15
15
  **status** | **string** | Status | [optional] [default to undefined]
@@ -1,6 +1,6 @@
1
1
  # ProspectsApi
2
2
 
3
- All URIs are relative to *https://bitbucket.org*
3
+ All URIs are relative to *https://api.local.yellowgrid.co.uk*
4
4
 
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
@@ -1,16 +1,19 @@
1
1
  # ProvisioningApi
2
2
 
3
- All URIs are relative to *https://bitbucket.org*
3
+ All URIs are relative to *https://api.local.yellowgrid.co.uk*
4
4
 
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
7
7
  |[**deleteAddFanvilMac**](#deleteaddfanvilmac) | **DELETE** /provisioning/fanvil/groups/{id}/macs/{mac} | Remove MAC address from DB and FDPS group|
8
+ |[**deleteCheckMacExists**](#deletecheckmacexists) | **DELETE** /admin/provisioning/fanvil/macs/{mac} | |
8
9
  |[**deleteDeleteFanvilGroup**](#deletedeletefanvilgroup) | **DELETE** /provisioning/fanvil/groups/{id} | Delete group from DB and FDPS|
10
+ |[**getCheckMacExists**](#getcheckmacexists) | **GET** /admin/provisioning/fanvil/macs/{mac} | |
9
11
  |[**getGetFanvilEncryptionKey**](#getgetfanvilencryptionkey) | **GET** /provisioning/fanvil/groups/{id}/macs/{mac}/key | Get group Fanvil encryption key|
10
12
  |[**getGetFanvilGroupMacs**](#getgetfanvilgroupmacs) | **GET** /provisioning/fanvil/groups/{id}/macs | Get MAC addresses on group at FDPS|
11
13
  |[**getGetGroups**](#getgetgroups) | **GET** /provisioning/groups | Get all provisioning groups or filter by customer ID|
12
14
  |[**postAddFanvilGroup**](#postaddfanvilgroup) | **POST** /provisioning/fanvil/groups | Add group to DB and FDPS|
13
15
  |[**postAddFanvilMac**](#postaddfanvilmac) | **POST** /provisioning/fanvil/groups/{id}/macs/{mac} | Add MAC address to DB and FDPS group|
16
+ |[**postCreateMac**](#postcreatemac) | **POST** /admin/provisioning/fanvil/macs | |
14
17
 
15
18
  # **deleteAddFanvilMac**
16
19
  > deleteAddFanvilMac()
@@ -69,6 +72,60 @@ No authorization required
69
72
 
70
73
  [[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)
71
74
 
75
+ # **deleteCheckMacExists**
76
+ > deleteCheckMacExists()
77
+
78
+ Delete a MAC address in FDPS
79
+
80
+ ### Example
81
+
82
+ ```typescript
83
+ import {
84
+ ProvisioningApi,
85
+ Configuration
86
+ } from 'yellowgrid-api-ts';
87
+
88
+ const configuration = new Configuration();
89
+ const apiInstance = new ProvisioningApi(configuration);
90
+
91
+ let mac: string; //MAC Address (default to undefined)
92
+
93
+ const { status, data } = await apiInstance.deleteCheckMacExists(
94
+ mac
95
+ );
96
+ ```
97
+
98
+ ### Parameters
99
+
100
+ |Name | Type | Description | Notes|
101
+ |------------- | ------------- | ------------- | -------------|
102
+ | **mac** | [**string**] | MAC Address | defaults to undefined|
103
+
104
+
105
+ ### Return type
106
+
107
+ void (empty response body)
108
+
109
+ ### Authorization
110
+
111
+ No authorization required
112
+
113
+ ### HTTP request headers
114
+
115
+ - **Content-Type**: Not defined
116
+ - **Accept**: Not defined
117
+
118
+
119
+ ### HTTP response details
120
+ | Status code | Description | Response headers |
121
+ |-------------|-------------|------------------|
122
+ |**204** | No Response | - |
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
+
72
129
  # **deleteDeleteFanvilGroup**
73
130
  > deleteDeleteFanvilGroup()
74
131
 
@@ -123,6 +180,60 @@ No authorization required
123
180
 
124
181
  [[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)
125
182
 
183
+ # **getCheckMacExists**
184
+ > GetCheckMacExists200Response getCheckMacExists()
185
+
186
+ Check if a MAC address exists in FDPS
187
+
188
+ ### Example
189
+
190
+ ```typescript
191
+ import {
192
+ ProvisioningApi,
193
+ Configuration
194
+ } from 'yellowgrid-api-ts';
195
+
196
+ const configuration = new Configuration();
197
+ const apiInstance = new ProvisioningApi(configuration);
198
+
199
+ let mac: string; //MAC Address (default to undefined)
200
+
201
+ const { status, data } = await apiInstance.getCheckMacExists(
202
+ mac
203
+ );
204
+ ```
205
+
206
+ ### Parameters
207
+
208
+ |Name | Type | Description | Notes|
209
+ |------------- | ------------- | ------------- | -------------|
210
+ | **mac** | [**string**] | MAC Address | defaults to undefined|
211
+
212
+
213
+ ### Return type
214
+
215
+ **GetCheckMacExists200Response**
216
+
217
+ ### Authorization
218
+
219
+ No authorization required
220
+
221
+ ### HTTP request headers
222
+
223
+ - **Content-Type**: Not defined
224
+ - **Accept**: application/json
225
+
226
+
227
+ ### HTTP response details
228
+ | Status code | Description | Response headers |
229
+ |-------------|-------------|------------------|
230
+ |**200** | MAC Address Found | - |
231
+ |**400** | Bad Request | - |
232
+ |**401** | Unauthorised | - |
233
+ |**403** | Access Denied | - |
234
+
235
+ [[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)
236
+
126
237
  # **getGetFanvilEncryptionKey**
127
238
  > string getGetFanvilEncryptionKey()
128
239
 
@@ -400,3 +511,58 @@ No authorization required
400
511
 
401
512
  [[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)
402
513
 
514
+ # **postCreateMac**
515
+ > MacAddressDTO postCreateMac()
516
+
517
+ Create a MAC address in FDPS
518
+
519
+ ### Example
520
+
521
+ ```typescript
522
+ import {
523
+ ProvisioningApi,
524
+ Configuration,
525
+ MacAddressDTO
526
+ } from 'yellowgrid-api-ts';
527
+
528
+ const configuration = new Configuration();
529
+ const apiInstance = new ProvisioningApi(configuration);
530
+
531
+ let macAddressDTO: MacAddressDTO; //Mac Address (optional)
532
+
533
+ const { status, data } = await apiInstance.postCreateMac(
534
+ macAddressDTO
535
+ );
536
+ ```
537
+
538
+ ### Parameters
539
+
540
+ |Name | Type | Description | Notes|
541
+ |------------- | ------------- | ------------- | -------------|
542
+ | **macAddressDTO** | **MacAddressDTO**| Mac Address | |
543
+
544
+
545
+ ### Return type
546
+
547
+ **MacAddressDTO**
548
+
549
+ ### Authorization
550
+
551
+ No authorization required
552
+
553
+ ### HTTP request headers
554
+
555
+ - **Content-Type**: application/json
556
+ - **Accept**: application/json
557
+
558
+
559
+ ### HTTP response details
560
+ | Status code | Description | Response headers |
561
+ |-------------|-------------|------------------|
562
+ |**201** | MAC Address Created | - |
563
+ |**400** | Bad Request | - |
564
+ |**401** | Unauthorised | - |
565
+ |**403** | Access Denied | - |
566
+
567
+ [[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)
568
+
@@ -6,8 +6,8 @@ Recordings Backup Info
6
6
 
7
7
  Name | Type | Description | Notes
8
8
  ------------ | ------------- | ------------- | -------------
9
- **backup** | [**RecordingBackupAzureModel**](RecordingBackupAzureModel.md) | Azure Backup Storage | [optional] [default to undefined]
10
- **storage** | [**TcxRemoteStorageModel**](TcxRemoteStorageModel.md) | 3CX Remote Storage | [optional] [default to undefined]
9
+ **backup** | [**RecordingBackupAzureModel**](RecordingBackupAzureModel.md) | | [optional] [default to undefined]
10
+ **storage** | [**TcxRemoteStorageModel**](TcxRemoteStorageModel.md) | | [optional] [default to undefined]
11
11
 
12
12
  ## Example
13
13
 
@@ -0,0 +1,37 @@
1
+ # ReportRequestDTO
2
+
3
+ Report Request
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **report** | **string** | Report | [optional] [default to undefined]
10
+ **start** | **string** | Date Time | [optional] [default to undefined]
11
+ **end** | **string** | Date Time | [optional] [default to undefined]
12
+ **month** | **number** | Month | [optional] [default to undefined]
13
+ **year** | **number** | Year | [optional] [default to undefined]
14
+ **sku** | **string** | SKU | [optional] [default to undefined]
15
+ **price** | **number** | Price | [optional] [default to undefined]
16
+ **recipients** | **Array<string>** | Recipients | [optional] [default to undefined]
17
+ **graphType** | **string** | Graph Type | [optional] [default to undefined]
18
+
19
+ ## Example
20
+
21
+ ```typescript
22
+ import { ReportRequestDTO } from 'yellowgrid-api-ts';
23
+
24
+ const instance: ReportRequestDTO = {
25
+ report,
26
+ start,
27
+ end,
28
+ month,
29
+ year,
30
+ sku,
31
+ price,
32
+ recipients,
33
+ graphType,
34
+ };
35
+ ```
36
+
37
+ [[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,107 @@
1
+ # ReportsApi
2
+
3
+ All URIs are relative to *https://api.local.yellowgrid.co.uk*
4
+
5
+ |Method | HTTP request | Description|
6
+ |------------- | ------------- | -------------|
7
+ |[**getGetStockReport**](#getgetstockreport) | **GET** /reports/stock | |
8
+ |[**postGenerateReport**](#postgeneratereport) | **POST** /reports | Generate Reports|
9
+
10
+ # **getGetStockReport**
11
+ > StockReportModel getGetStockReport()
12
+
13
+
14
+ ### Example
15
+
16
+ ```typescript
17
+ import {
18
+ ReportsApi,
19
+ Configuration
20
+ } from 'yellowgrid-api-ts';
21
+
22
+ const configuration = new Configuration();
23
+ const apiInstance = new ReportsApi(configuration);
24
+
25
+ const { status, data } = await apiInstance.getGetStockReport();
26
+ ```
27
+
28
+ ### Parameters
29
+ This endpoint does not have any parameters.
30
+
31
+
32
+ ### Return type
33
+
34
+ **StockReportModel**
35
+
36
+ ### Authorization
37
+
38
+ No authorization required
39
+
40
+ ### HTTP request headers
41
+
42
+ - **Content-Type**: Not defined
43
+ - **Accept**: application/json
44
+
45
+
46
+ ### HTTP response details
47
+ | Status code | Description | Response headers |
48
+ |-------------|-------------|------------------|
49
+ |**200** | Stock Report | - |
50
+ |**400** | Bad Request | - |
51
+
52
+ [[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)
53
+
54
+ # **postGenerateReport**
55
+ > GraphDTO postGenerateReport()
56
+
57
+ Generate Reports
58
+
59
+ ### Example
60
+
61
+ ```typescript
62
+ import {
63
+ ReportsApi,
64
+ Configuration,
65
+ ReportRequestDTO
66
+ } from 'yellowgrid-api-ts';
67
+
68
+ const configuration = new Configuration();
69
+ const apiInstance = new ReportsApi(configuration);
70
+
71
+ let reportRequestDTO: ReportRequestDTO; //Report Request (optional)
72
+
73
+ const { status, data } = await apiInstance.postGenerateReport(
74
+ reportRequestDTO
75
+ );
76
+ ```
77
+
78
+ ### Parameters
79
+
80
+ |Name | Type | Description | Notes|
81
+ |------------- | ------------- | ------------- | -------------|
82
+ | **reportRequestDTO** | **ReportRequestDTO**| Report Request | |
83
+
84
+
85
+ ### Return type
86
+
87
+ **GraphDTO**
88
+
89
+ ### Authorization
90
+
91
+ No authorization required
92
+
93
+ ### HTTP request headers
94
+
95
+ - **Content-Type**: application/json
96
+ - **Accept**: application/json
97
+
98
+
99
+ ### HTTP response details
100
+ | Status code | Description | Response headers |
101
+ |-------------|-------------|------------------|
102
+ |**200** | Report generated | - |
103
+ |**204** | No Response | - |
104
+ |**400** | Bad Request | - |
105
+
106
+ [[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)
107
+
@@ -1,6 +1,6 @@
1
1
  # SIPTrunksApi
2
2
 
3
- All URIs are relative to *https://bitbucket.org*
3
+ All URIs are relative to *https://api.local.yellowgrid.co.uk*
4
4
 
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
package/docs/SMSApi.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # SMSApi
2
2
 
3
- All URIs are relative to *https://bitbucket.org*
3
+ All URIs are relative to *https://api.local.yellowgrid.co.uk*
4
4
 
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|