yellowgrid-api-ts 3.0.83 → 3.0.84-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.
- package/.openapi-generator/FILES +208 -190
- package/README.md +34 -7
- package/api.ts +1821 -276
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/config.json +3 -3
- package/configuration.ts +1 -1
- package/dist/api.d.ts +1316 -163
- package/dist/api.js +1079 -201
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/docs/AbstractOrderRequestDTO.md +33 -0
- package/docs/AccountDetailedSummaryDTO.md +35 -0
- package/docs/AccountsApi.md +103 -0
- package/docs/AdminItemRequestDTO.md +37 -0
- package/docs/AdminOrderRequestDTO.md +41 -0
- package/docs/AdminUserModel.md +31 -0
- package/docs/BasicItemDTO.md +23 -0
- package/docs/BasicProductDTO.md +23 -0
- package/docs/Class3CXApi.md +0 -55
- package/docs/ClientDetailsModel.md +0 -2
- package/docs/CourierPriceEntity.md +39 -0
- package/docs/CustomerItemRequestDTO.md +33 -0
- package/docs/CustomerOrderRequestDTO.md +33 -0
- package/docs/ItemDTO.md +10 -4
- package/docs/LinkedOrderEntity.md +23 -0
- package/docs/NavigationItemModel.md +27 -0
- package/docs/OrderSummaryDTO.md +8 -0
- package/docs/OrderTotalModel.md +2 -0
- package/docs/OrdersApi.md +301 -4
- package/docs/ProductSearchResultsModel.md +1 -1
- package/docs/{ProductSummaryModel.md → ProductSummaryDTO.md} +5 -3
- package/docs/ProductsApi.md +166 -35
- package/docs/ProvisioningApi.md +4 -4
- package/docs/{ProvisioningEntity.md → ProvisioningModel.md} +3 -3
- package/docs/ShipmentEntity.md +2 -2
- package/docs/ShippingApi.md +63 -0
- package/docs/ShippingConsignmentModel.md +26 -0
- package/docs/ShippingInformationDTO.md +25 -0
- package/docs/ShippingServiceDTO.md +23 -0
- package/docs/ShippingServiceModel.md +31 -0
- package/docs/{GetGetPasswordHash200Response.md → ShippingServicesModel.md} +5 -5
- package/docs/StockManagementApi.md +2 -2
- package/docs/SubNavigationItemModel.md +25 -0
- package/docs/TcxBackupModel.md +0 -2
- package/docs/TcxSbcDTO.md +31 -0
- package/docs/TcxSbcModel.md +1 -1
- package/index.ts +1 -1
- package/package.json +1 -1
package/docs/ProductsApi.md
CHANGED
|
@@ -5,11 +5,13 @@ All URIs are relative to *http://api.yellowgrid.local*
|
|
|
5
5
|
|Method | HTTP request | Description|
|
|
6
6
|
|------------- | ------------- | -------------|
|
|
7
7
|
|[**getGetAttributeSets**](#getgetattributesets) | **GET** /products/attributes | Get Attribute Sets|
|
|
8
|
-
|[**getGetCustomerPriceLists**](#getgetcustomerpricelists) | **GET** /products/prices/lists | Get Customer Price Lists|
|
|
9
8
|
|[**getGetLegacyStockList**](#getgetlegacystocklist) | **GET** /products/stock/legacy | Get Current Stock & Pricing|
|
|
10
|
-
|[**
|
|
9
|
+
|[**getGetProduct**](#getgetproduct) | **GET** /products/{sku} | Get Product|
|
|
10
|
+
|[**getGetProductForCustomer**](#getgetproductforcustomer) | **GET** /admin/products/{sku} | Get Product For Customer|
|
|
11
|
+
|[**getGetProducts**](#getgetproducts) | **GET** /products | Get Products|
|
|
11
12
|
|[**getGetStockList**](#getgetstocklist) | **GET** /products/stock | Get Current Stock & Pricing|
|
|
12
13
|
|[**getGetTcxTemplates**](#getgettcxtemplates) | **GET** /products/attributes/tcx/templates | Get 3CX Templates|
|
|
14
|
+
|[**getSearchProducts**](#getsearchproducts) | **GET** /products/search | Search Products|
|
|
13
15
|
|
|
14
16
|
# **getGetAttributeSets**
|
|
15
17
|
> Array<AttributeSetEnum> getGetAttributeSets()
|
|
@@ -58,10 +60,10 @@ No authorization required
|
|
|
58
60
|
|
|
59
61
|
[[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)
|
|
60
62
|
|
|
61
|
-
# **
|
|
62
|
-
>
|
|
63
|
+
# **getGetLegacyStockList**
|
|
64
|
+
> string getGetLegacyStockList()
|
|
63
65
|
|
|
64
|
-
Get
|
|
66
|
+
Get Current Stock & Pricing
|
|
65
67
|
|
|
66
68
|
### Example
|
|
67
69
|
|
|
@@ -74,16 +76,23 @@ import {
|
|
|
74
76
|
const configuration = new Configuration();
|
|
75
77
|
const apiInstance = new ProductsApi(configuration);
|
|
76
78
|
|
|
77
|
-
|
|
79
|
+
let format: 'XML' | 'CSV'; //File Format (default to undefined)
|
|
80
|
+
|
|
81
|
+
const { status, data } = await apiInstance.getGetLegacyStockList(
|
|
82
|
+
format
|
|
83
|
+
);
|
|
78
84
|
```
|
|
79
85
|
|
|
80
86
|
### Parameters
|
|
81
|
-
|
|
87
|
+
|
|
88
|
+
|Name | Type | Description | Notes|
|
|
89
|
+
|------------- | ------------- | ------------- | -------------|
|
|
90
|
+
| **format** | [**'XML' | 'CSV'**]**Array<'XML' | 'CSV'>** | File Format | defaults to undefined|
|
|
82
91
|
|
|
83
92
|
|
|
84
93
|
### Return type
|
|
85
94
|
|
|
86
|
-
**
|
|
95
|
+
**string**
|
|
87
96
|
|
|
88
97
|
### Authorization
|
|
89
98
|
|
|
@@ -92,23 +101,23 @@ No authorization required
|
|
|
92
101
|
### HTTP request headers
|
|
93
102
|
|
|
94
103
|
- **Content-Type**: Not defined
|
|
95
|
-
- **Accept**: application/
|
|
104
|
+
- **Accept**: text/csv, application/xml
|
|
96
105
|
|
|
97
106
|
|
|
98
107
|
### HTTP response details
|
|
99
108
|
| Status code | Description | Response headers |
|
|
100
109
|
|-------------|-------------|------------------|
|
|
101
|
-
|**200** |
|
|
110
|
+
|**200** | Products | - |
|
|
102
111
|
|**400** | Bad Request | - |
|
|
103
112
|
|**401** | Unauthorised | - |
|
|
104
113
|
|**403** | Access Denied | - |
|
|
105
114
|
|
|
106
115
|
[[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
116
|
|
|
108
|
-
# **
|
|
109
|
-
>
|
|
117
|
+
# **getGetProduct**
|
|
118
|
+
> ProductSummaryDTO getGetProduct()
|
|
110
119
|
|
|
111
|
-
Get
|
|
120
|
+
Get Product
|
|
112
121
|
|
|
113
122
|
### Example
|
|
114
123
|
|
|
@@ -121,10 +130,16 @@ import {
|
|
|
121
130
|
const configuration = new Configuration();
|
|
122
131
|
const apiInstance = new ProductsApi(configuration);
|
|
123
132
|
|
|
124
|
-
let
|
|
133
|
+
let sku: string; //Product SKU (default to undefined)
|
|
134
|
+
let quantity: number; //Quantity (optional) (default to undefined)
|
|
135
|
+
let licenceKey: string; //3CX Licence Key (optional) (default to undefined)
|
|
136
|
+
let hosting: boolean; //3CX Hosting (optional) (default to undefined)
|
|
125
137
|
|
|
126
|
-
const { status, data } = await apiInstance.
|
|
127
|
-
|
|
138
|
+
const { status, data } = await apiInstance.getGetProduct(
|
|
139
|
+
sku,
|
|
140
|
+
quantity,
|
|
141
|
+
licenceKey,
|
|
142
|
+
hosting
|
|
128
143
|
);
|
|
129
144
|
```
|
|
130
145
|
|
|
@@ -132,12 +147,15 @@ const { status, data } = await apiInstance.getGetLegacyStockList(
|
|
|
132
147
|
|
|
133
148
|
|Name | Type | Description | Notes|
|
|
134
149
|
|------------- | ------------- | ------------- | -------------|
|
|
135
|
-
| **
|
|
150
|
+
| **sku** | [**string**] | Product SKU | defaults to undefined|
|
|
151
|
+
| **quantity** | [**number**] | Quantity | (optional) defaults to undefined|
|
|
152
|
+
| **licenceKey** | [**string**] | 3CX Licence Key | (optional) defaults to undefined|
|
|
153
|
+
| **hosting** | [**boolean**] | 3CX Hosting | (optional) defaults to undefined|
|
|
136
154
|
|
|
137
155
|
|
|
138
156
|
### Return type
|
|
139
157
|
|
|
140
|
-
**
|
|
158
|
+
**ProductSummaryDTO**
|
|
141
159
|
|
|
142
160
|
### Authorization
|
|
143
161
|
|
|
@@ -146,23 +164,23 @@ No authorization required
|
|
|
146
164
|
### HTTP request headers
|
|
147
165
|
|
|
148
166
|
- **Content-Type**: Not defined
|
|
149
|
-
- **Accept**:
|
|
167
|
+
- **Accept**: application/json
|
|
150
168
|
|
|
151
169
|
|
|
152
170
|
### HTTP response details
|
|
153
171
|
| Status code | Description | Response headers |
|
|
154
172
|
|-------------|-------------|------------------|
|
|
155
|
-
|**200** |
|
|
173
|
+
|**200** | Product | - |
|
|
156
174
|
|**400** | Bad Request | - |
|
|
157
175
|
|**401** | Unauthorised | - |
|
|
158
176
|
|**403** | Access Denied | - |
|
|
159
177
|
|
|
160
178
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
161
179
|
|
|
162
|
-
# **
|
|
163
|
-
>
|
|
180
|
+
# **getGetProductForCustomer**
|
|
181
|
+
> ProductSummaryDTO getGetProductForCustomer()
|
|
164
182
|
|
|
165
|
-
Get
|
|
183
|
+
Get Product For Customer
|
|
166
184
|
|
|
167
185
|
### Example
|
|
168
186
|
|
|
@@ -175,14 +193,18 @@ import {
|
|
|
175
193
|
const configuration = new Configuration();
|
|
176
194
|
const apiInstance = new ProductsApi(configuration);
|
|
177
195
|
|
|
178
|
-
let
|
|
179
|
-
let
|
|
180
|
-
let
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
196
|
+
let customerId: number; //Customer ID (default to undefined)
|
|
197
|
+
let sku: string; //Product SKU (default to undefined)
|
|
198
|
+
let quantity: number; //Quantity (optional) (default to undefined)
|
|
199
|
+
let licenceKey: string; //3CX Licence Key (optional) (default to undefined)
|
|
200
|
+
let hosting: boolean; //3CX Hosting (optional) (default to undefined)
|
|
201
|
+
|
|
202
|
+
const { status, data } = await apiInstance.getGetProductForCustomer(
|
|
203
|
+
customerId,
|
|
204
|
+
sku,
|
|
205
|
+
quantity,
|
|
206
|
+
licenceKey,
|
|
207
|
+
hosting
|
|
186
208
|
);
|
|
187
209
|
```
|
|
188
210
|
|
|
@@ -190,14 +212,63 @@ const { status, data } = await apiInstance.getGetProducts(
|
|
|
190
212
|
|
|
191
213
|
|Name | Type | Description | Notes|
|
|
192
214
|
|------------- | ------------- | ------------- | -------------|
|
|
193
|
-
| **
|
|
194
|
-
| **
|
|
195
|
-
| **
|
|
215
|
+
| **customerId** | [**number**] | Customer ID | defaults to undefined|
|
|
216
|
+
| **sku** | [**string**] | Product SKU | defaults to undefined|
|
|
217
|
+
| **quantity** | [**number**] | Quantity | (optional) defaults to undefined|
|
|
218
|
+
| **licenceKey** | [**string**] | 3CX Licence Key | (optional) defaults to undefined|
|
|
219
|
+
| **hosting** | [**boolean**] | 3CX Hosting | (optional) defaults to undefined|
|
|
196
220
|
|
|
197
221
|
|
|
198
222
|
### Return type
|
|
199
223
|
|
|
200
|
-
**
|
|
224
|
+
**ProductSummaryDTO**
|
|
225
|
+
|
|
226
|
+
### Authorization
|
|
227
|
+
|
|
228
|
+
No authorization required
|
|
229
|
+
|
|
230
|
+
### HTTP request headers
|
|
231
|
+
|
|
232
|
+
- **Content-Type**: Not defined
|
|
233
|
+
- **Accept**: application/json
|
|
234
|
+
|
|
235
|
+
|
|
236
|
+
### HTTP response details
|
|
237
|
+
| Status code | Description | Response headers |
|
|
238
|
+
|-------------|-------------|------------------|
|
|
239
|
+
|**200** | Product | - |
|
|
240
|
+
|**400** | Bad Request | - |
|
|
241
|
+
|**401** | Unauthorised | - |
|
|
242
|
+
|**403** | Access Denied | - |
|
|
243
|
+
|
|
244
|
+
[[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)
|
|
245
|
+
|
|
246
|
+
# **getGetProducts**
|
|
247
|
+
> Array<BasicProductDTO> getGetProducts()
|
|
248
|
+
|
|
249
|
+
Get Products
|
|
250
|
+
|
|
251
|
+
### Example
|
|
252
|
+
|
|
253
|
+
```typescript
|
|
254
|
+
import {
|
|
255
|
+
ProductsApi,
|
|
256
|
+
Configuration
|
|
257
|
+
} from 'yellowgrid-api-ts';
|
|
258
|
+
|
|
259
|
+
const configuration = new Configuration();
|
|
260
|
+
const apiInstance = new ProductsApi(configuration);
|
|
261
|
+
|
|
262
|
+
const { status, data } = await apiInstance.getGetProducts();
|
|
263
|
+
```
|
|
264
|
+
|
|
265
|
+
### Parameters
|
|
266
|
+
This endpoint does not have any parameters.
|
|
267
|
+
|
|
268
|
+
|
|
269
|
+
### Return type
|
|
270
|
+
|
|
271
|
+
**Array<BasicProductDTO>**
|
|
201
272
|
|
|
202
273
|
### Authorization
|
|
203
274
|
|
|
@@ -313,3 +384,63 @@ No authorization required
|
|
|
313
384
|
|
|
314
385
|
[[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)
|
|
315
386
|
|
|
387
|
+
# **getSearchProducts**
|
|
388
|
+
> ProductSearchResultsModel getSearchProducts()
|
|
389
|
+
|
|
390
|
+
Search Products
|
|
391
|
+
|
|
392
|
+
### Example
|
|
393
|
+
|
|
394
|
+
```typescript
|
|
395
|
+
import {
|
|
396
|
+
ProductsApi,
|
|
397
|
+
Configuration
|
|
398
|
+
} from 'yellowgrid-api-ts';
|
|
399
|
+
|
|
400
|
+
const configuration = new Configuration();
|
|
401
|
+
const apiInstance = new ProductsApi(configuration);
|
|
402
|
+
|
|
403
|
+
let pageSize: number; //Number Of Results (optional) (default to 20)
|
|
404
|
+
let page: number; //Page Number (optional) (default to 1)
|
|
405
|
+
let search: string; //Search (optional) (default to undefined)
|
|
406
|
+
|
|
407
|
+
const { status, data } = await apiInstance.getSearchProducts(
|
|
408
|
+
pageSize,
|
|
409
|
+
page,
|
|
410
|
+
search
|
|
411
|
+
);
|
|
412
|
+
```
|
|
413
|
+
|
|
414
|
+
### Parameters
|
|
415
|
+
|
|
416
|
+
|Name | Type | Description | Notes|
|
|
417
|
+
|------------- | ------------- | ------------- | -------------|
|
|
418
|
+
| **pageSize** | [**number**] | Number Of Results | (optional) defaults to 20|
|
|
419
|
+
| **page** | [**number**] | Page Number | (optional) defaults to 1|
|
|
420
|
+
| **search** | [**string**] | Search | (optional) defaults to undefined|
|
|
421
|
+
|
|
422
|
+
|
|
423
|
+
### Return type
|
|
424
|
+
|
|
425
|
+
**ProductSearchResultsModel**
|
|
426
|
+
|
|
427
|
+
### Authorization
|
|
428
|
+
|
|
429
|
+
No authorization required
|
|
430
|
+
|
|
431
|
+
### HTTP request headers
|
|
432
|
+
|
|
433
|
+
- **Content-Type**: Not defined
|
|
434
|
+
- **Accept**: application/json
|
|
435
|
+
|
|
436
|
+
|
|
437
|
+
### HTTP response details
|
|
438
|
+
| Status code | Description | Response headers |
|
|
439
|
+
|-------------|-------------|------------------|
|
|
440
|
+
|**200** | Products | - |
|
|
441
|
+
|**400** | Bad Request | - |
|
|
442
|
+
|**401** | Unauthorised | - |
|
|
443
|
+
|**403** | Access Denied | - |
|
|
444
|
+
|
|
445
|
+
[[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)
|
|
446
|
+
|
package/docs/ProvisioningApi.md
CHANGED
|
@@ -235,7 +235,7 @@ No authorization required
|
|
|
235
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
236
|
|
|
237
237
|
# **getGetGroups**
|
|
238
|
-
> Array<
|
|
238
|
+
> Array<ProvisioningModel> getGetGroups()
|
|
239
239
|
|
|
240
240
|
Get provisioning groups
|
|
241
241
|
|
|
@@ -266,7 +266,7 @@ const { status, data } = await apiInstance.getGetGroups(
|
|
|
266
266
|
|
|
267
267
|
### Return type
|
|
268
268
|
|
|
269
|
-
**Array<
|
|
269
|
+
**Array<ProvisioningModel>**
|
|
270
270
|
|
|
271
271
|
### Authorization
|
|
272
272
|
|
|
@@ -289,7 +289,7 @@ No authorization required
|
|
|
289
289
|
[[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)
|
|
290
290
|
|
|
291
291
|
# **postAddFanvilGroup**
|
|
292
|
-
>
|
|
292
|
+
> ProvisioningModel postAddFanvilGroup()
|
|
293
293
|
|
|
294
294
|
Create a Fanvil provisioning group
|
|
295
295
|
|
|
@@ -321,7 +321,7 @@ const { status, data } = await apiInstance.postAddFanvilGroup(
|
|
|
321
321
|
|
|
322
322
|
### Return type
|
|
323
323
|
|
|
324
|
-
**
|
|
324
|
+
**ProvisioningModel**
|
|
325
325
|
|
|
326
326
|
### Authorization
|
|
327
327
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#
|
|
1
|
+
# ProvisioningModel
|
|
2
2
|
|
|
3
3
|
Provisioning Group
|
|
4
4
|
|
|
@@ -15,9 +15,9 @@ Name | Type | Description | Notes
|
|
|
15
15
|
## Example
|
|
16
16
|
|
|
17
17
|
```typescript
|
|
18
|
-
import {
|
|
18
|
+
import { ProvisioningModel } from 'yellowgrid-api-ts';
|
|
19
19
|
|
|
20
|
-
const instance:
|
|
20
|
+
const instance: ProvisioningModel = {
|
|
21
21
|
groupName,
|
|
22
22
|
provisioningUrl,
|
|
23
23
|
auth,
|
package/docs/ShipmentEntity.md
CHANGED
|
@@ -15,7 +15,7 @@ Name | Type | Description | Notes
|
|
|
15
15
|
**courierTracking** | **string** | courierTracking | [optional] [default to undefined]
|
|
16
16
|
**courierBoxes** | **number** | courierBoxes | [optional] [default to undefined]
|
|
17
17
|
**scannedData** | **string** | mac | [optional] [default to undefined]
|
|
18
|
-
**
|
|
18
|
+
**dateShipped** | **string** | date | [optional] [default to undefined]
|
|
19
19
|
**requestDate** | **string** | requestDate | [optional] [default to undefined]
|
|
20
20
|
**provId** | **number** | provId | [optional] [default to undefined]
|
|
21
21
|
|
|
@@ -34,7 +34,7 @@ const instance: ShipmentEntity = {
|
|
|
34
34
|
courierTracking,
|
|
35
35
|
courierBoxes,
|
|
36
36
|
scannedData,
|
|
37
|
-
|
|
37
|
+
dateShipped,
|
|
38
38
|
requestDate,
|
|
39
39
|
provId,
|
|
40
40
|
};
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
# ShippingApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *http://api.yellowgrid.local*
|
|
4
|
+
|
|
5
|
+
|Method | HTTP request | Description|
|
|
6
|
+
|------------- | ------------- | -------------|
|
|
7
|
+
|[**postGetShippingServices**](#postgetshippingservices) | **POST** /shipping/services | Get Shipping Services|
|
|
8
|
+
|
|
9
|
+
# **postGetShippingServices**
|
|
10
|
+
> ShippingServicesModel postGetShippingServices()
|
|
11
|
+
|
|
12
|
+
Get Shipping Services
|
|
13
|
+
|
|
14
|
+
### Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import {
|
|
18
|
+
ShippingApi,
|
|
19
|
+
Configuration,
|
|
20
|
+
ShippingInformationDTO
|
|
21
|
+
} from 'yellowgrid-api-ts';
|
|
22
|
+
|
|
23
|
+
const configuration = new Configuration();
|
|
24
|
+
const apiInstance = new ShippingApi(configuration);
|
|
25
|
+
|
|
26
|
+
let shippingInformationDTO: ShippingInformationDTO; //Shipping Information (optional)
|
|
27
|
+
|
|
28
|
+
const { status, data } = await apiInstance.postGetShippingServices(
|
|
29
|
+
shippingInformationDTO
|
|
30
|
+
);
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
### Parameters
|
|
34
|
+
|
|
35
|
+
|Name | Type | Description | Notes|
|
|
36
|
+
|------------- | ------------- | ------------- | -------------|
|
|
37
|
+
| **shippingInformationDTO** | **ShippingInformationDTO**| Shipping Information | |
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
### Return type
|
|
41
|
+
|
|
42
|
+
**ShippingServicesModel**
|
|
43
|
+
|
|
44
|
+
### Authorization
|
|
45
|
+
|
|
46
|
+
No authorization required
|
|
47
|
+
|
|
48
|
+
### HTTP request headers
|
|
49
|
+
|
|
50
|
+
- **Content-Type**: application/json
|
|
51
|
+
- **Accept**: application/json
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
### HTTP response details
|
|
55
|
+
| Status code | Description | Response headers |
|
|
56
|
+
|-------------|-------------|------------------|
|
|
57
|
+
|**200** | Shipping Services | - |
|
|
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
|
+
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# ShippingConsignmentModel
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**service** | [**ShippingServiceModel**](ShippingServiceModel.md) | | [optional] [default to undefined]
|
|
9
|
+
**id** | **string** | ID/Number | [optional] [default to undefined]
|
|
10
|
+
**trackingNumber** | **string** | Tracking Number | [optional] [default to undefined]
|
|
11
|
+
**parcelIds** | **Array<string>** | Parcels | [optional] [default to undefined]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { ShippingConsignmentModel } from 'yellowgrid-api-ts';
|
|
17
|
+
|
|
18
|
+
const instance: ShippingConsignmentModel = {
|
|
19
|
+
service,
|
|
20
|
+
id,
|
|
21
|
+
trackingNumber,
|
|
22
|
+
parcelIds,
|
|
23
|
+
};
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
[[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,25 @@
|
|
|
1
|
+
# ShippingInformationDTO
|
|
2
|
+
|
|
3
|
+
Shipping Information
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**items** | [**Array<BasicItemDTO>**](BasicItemDTO.md) | Items | [optional] [default to undefined]
|
|
10
|
+
**postalCode** | **string** | Destination Post Code | [optional] [default to undefined]
|
|
11
|
+
**iso** | **string** | Destination ISO | [optional] [default to undefined]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { ShippingInformationDTO } from 'yellowgrid-api-ts';
|
|
17
|
+
|
|
18
|
+
const instance: ShippingInformationDTO = {
|
|
19
|
+
items,
|
|
20
|
+
postalCode,
|
|
21
|
+
iso,
|
|
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
|
+
# ShippingServiceDTO
|
|
2
|
+
|
|
3
|
+
Shipping Service
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**courier** | **string** | Courier | [optional] [default to undefined]
|
|
10
|
+
**serviceName** | **string** | Service Name | [optional] [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { ShippingServiceDTO } from 'yellowgrid-api-ts';
|
|
16
|
+
|
|
17
|
+
const instance: ShippingServiceDTO = {
|
|
18
|
+
courier,
|
|
19
|
+
serviceName,
|
|
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,31 @@
|
|
|
1
|
+
# ShippingServiceModel
|
|
2
|
+
|
|
3
|
+
Shipping Service
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**courier** | **string** | Courier | [optional] [default to undefined]
|
|
10
|
+
**code** | **string** | Code | [optional] [default to undefined]
|
|
11
|
+
**name** | **string** | Name | [optional] [default to undefined]
|
|
12
|
+
**description** | **string** | Description | [optional] [default to undefined]
|
|
13
|
+
**label** | **string** | Label | [optional] [default to undefined]
|
|
14
|
+
**price** | **number** | Price | [optional] [default to undefined]
|
|
15
|
+
|
|
16
|
+
## Example
|
|
17
|
+
|
|
18
|
+
```typescript
|
|
19
|
+
import { ShippingServiceModel } from 'yellowgrid-api-ts';
|
|
20
|
+
|
|
21
|
+
const instance: ShippingServiceModel = {
|
|
22
|
+
courier,
|
|
23
|
+
code,
|
|
24
|
+
name,
|
|
25
|
+
description,
|
|
26
|
+
label,
|
|
27
|
+
price,
|
|
28
|
+
};
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
[[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,19 +1,19 @@
|
|
|
1
|
-
#
|
|
1
|
+
# ShippingServicesModel
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
## Properties
|
|
5
5
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**
|
|
8
|
+
**services** | [**Array<ShippingServiceModel>**](ShippingServiceModel.md) | Services | [optional] [default to undefined]
|
|
9
9
|
|
|
10
10
|
## Example
|
|
11
11
|
|
|
12
12
|
```typescript
|
|
13
|
-
import {
|
|
13
|
+
import { ShippingServicesModel } from 'yellowgrid-api-ts';
|
|
14
14
|
|
|
15
|
-
const instance:
|
|
16
|
-
|
|
15
|
+
const instance: ShippingServicesModel = {
|
|
16
|
+
services,
|
|
17
17
|
};
|
|
18
18
|
```
|
|
19
19
|
|
|
@@ -692,7 +692,7 @@ No authorization required
|
|
|
692
692
|
[[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)
|
|
693
693
|
|
|
694
694
|
# **getGetStockSupplierProducts**
|
|
695
|
-
> Array<
|
|
695
|
+
> Array<ProductSummaryDTO> getGetStockSupplierProducts()
|
|
696
696
|
|
|
697
697
|
Get Stock Supplier\'s Products
|
|
698
698
|
|
|
@@ -723,7 +723,7 @@ const { status, data } = await apiInstance.getGetStockSupplierProducts(
|
|
|
723
723
|
|
|
724
724
|
### Return type
|
|
725
725
|
|
|
726
|
-
**Array<
|
|
726
|
+
**Array<ProductSummaryDTO>**
|
|
727
727
|
|
|
728
728
|
### Authorization
|
|
729
729
|
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# SubNavigationItemModel
|
|
2
|
+
|
|
3
|
+
POPS Sub Navigation Item
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**title** | **string** | Title | [optional] [default to undefined]
|
|
10
|
+
**url** | **string** | URL | [optional] [default to undefined]
|
|
11
|
+
**icon** | **string** | Icon (Font Awesome) | [optional] [default to undefined]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { SubNavigationItemModel } from 'yellowgrid-api-ts';
|
|
17
|
+
|
|
18
|
+
const instance: SubNavigationItemModel = {
|
|
19
|
+
title,
|
|
20
|
+
url,
|
|
21
|
+
icon,
|
|
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)
|
package/docs/TcxBackupModel.md
CHANGED
|
@@ -24,7 +24,6 @@ Name | Type | Description | Notes
|
|
|
24
24
|
**licence** | **string** | 3CX Licence Key | [optional] [default to undefined]
|
|
25
25
|
**extLength** | **number** | Extension Length | [optional] [default to undefined]
|
|
26
26
|
**phone** | **string** | 3CX Licence Phone | [optional] [default to undefined]
|
|
27
|
-
**companyName** | **string** | Company Name | [optional] [default to undefined]
|
|
28
27
|
|
|
29
28
|
## Example
|
|
30
29
|
|
|
@@ -50,7 +49,6 @@ const instance: TcxBackupModel = {
|
|
|
50
49
|
licence,
|
|
51
50
|
extLength,
|
|
52
51
|
phone,
|
|
53
|
-
companyName,
|
|
54
52
|
};
|
|
55
53
|
```
|
|
56
54
|
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# TcxSbcDTO
|
|
2
|
+
|
|
3
|
+
SBC Data
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**ipAddress** | **string** | LAN IP Address | [optional] [default to undefined]
|
|
10
|
+
**defaultGateway** | **string** | LAN Default Gateway | [optional] [default to undefined]
|
|
11
|
+
**netmask** | **string** | LAN Subnet Mask | [optional] [default to undefined]
|
|
12
|
+
**dns** | **string** | DNS | [optional] [default to undefined]
|
|
13
|
+
**tcxUrl** | **string** | 3CX URL | [optional] [default to undefined]
|
|
14
|
+
**tcxKey** | **string** | 3CX SBC Key | [optional] [default to undefined]
|
|
15
|
+
|
|
16
|
+
## Example
|
|
17
|
+
|
|
18
|
+
```typescript
|
|
19
|
+
import { TcxSbcDTO } from 'yellowgrid-api-ts';
|
|
20
|
+
|
|
21
|
+
const instance: TcxSbcDTO = {
|
|
22
|
+
ipAddress,
|
|
23
|
+
defaultGateway,
|
|
24
|
+
netmask,
|
|
25
|
+
dns,
|
|
26
|
+
tcxUrl,
|
|
27
|
+
tcxKey,
|
|
28
|
+
};
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|