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

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 (55) hide show
  1. package/.openapi-generator/FILES +189 -209
  2. package/README.md +7 -34
  3. package/api.ts +282 -1825
  4. package/base.ts +1 -1
  5. package/common.ts +1 -1
  6. package/configuration.ts +1 -1
  7. package/dist/api.d.ts +185 -1394
  8. package/dist/api.js +254 -1013
  9. package/dist/base.d.ts +1 -1
  10. package/dist/base.js +1 -1
  11. package/dist/common.d.ts +1 -1
  12. package/dist/common.js +1 -1
  13. package/dist/configuration.d.ts +1 -1
  14. package/dist/configuration.js +1 -1
  15. package/dist/index.d.ts +1 -1
  16. package/dist/index.js +1 -1
  17. package/docs/AccountsApi.md +0 -103
  18. package/docs/Class3CXApi.md +55 -0
  19. package/docs/Class3CXInstallationWizardApi.md +13 -13
  20. package/docs/ClientDetailsModel.md +2 -0
  21. package/docs/{ShippingServicesModel.md → GetGetPasswordHash200Response.md} +5 -5
  22. package/docs/ItemDTO.md +4 -10
  23. package/docs/OrderSummaryDTO.md +0 -8
  24. package/docs/OrderTotalModel.md +0 -2
  25. package/docs/OrdersApi.md +4 -301
  26. package/docs/ProductSearchResultsModel.md +1 -1
  27. package/docs/{ProductSummaryDTO.md → ProductSummaryModel.md} +3 -5
  28. package/docs/ProductsApi.md +36 -97
  29. package/docs/ProvisioningApi.md +4 -4
  30. package/docs/{ProvisioningModel.md → ProvisioningEntity.md} +3 -3
  31. package/docs/ShipmentEntity.md +2 -2
  32. package/docs/StockManagementApi.md +2 -2
  33. package/docs/TcxWizardModel.md +1 -1
  34. package/index.ts +1 -1
  35. package/package.json +1 -1
  36. package/docs/AbstractOrderRequestDTO.md +0 -33
  37. package/docs/AccountDetailedSummaryDTO.md +0 -35
  38. package/docs/AdminItemRequestDTO.md +0 -37
  39. package/docs/AdminOrderRequestDTO.md +0 -41
  40. package/docs/AdminUserModel.md +0 -31
  41. package/docs/BasicItemDTO.md +0 -23
  42. package/docs/BasicProductDTO.md +0 -23
  43. package/docs/CourierPriceEntity.md +0 -39
  44. package/docs/CustomerItemRequestDTO.md +0 -33
  45. package/docs/CustomerOrderRequestDTO.md +0 -33
  46. package/docs/LinkedOrderEntity.md +0 -23
  47. package/docs/NavigationItemModel.md +0 -27
  48. package/docs/ShippingApi.md +0 -63
  49. package/docs/ShippingConsignmentModel.md +0 -26
  50. package/docs/ShippingInformationDTO.md +0 -25
  51. package/docs/ShippingServiceDTO.md +0 -23
  52. package/docs/ShippingServiceModel.md +0 -31
  53. package/docs/SubNavigationItemModel.md +0 -25
  54. package/docs/TcxSbcDTO.md +0 -31
  55. package/docs/TcxSbcModel.md +0 -51
package/docs/OrdersApi.md CHANGED
@@ -4,16 +4,11 @@ All URIs are relative to *http://api.yellowgrid.local*
4
4
 
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
7
- |[**deleteUpdateOrder**](#deleteupdateorder) | **DELETE** /orders/{id} | Delete Orders|
8
- |[**getGetEditableOrder**](#getgeteditableorder) | **GET** /orders/{id}/views/editable | |
7
+ |[**deleteDeleteOrder**](#deletedeleteorder) | **DELETE** /orders/{id} | |
9
8
  |[**getGetOrders**](#getgetorders) | **GET** /orders | Get Orders|
10
- |[**postCreateAdminOrder**](#postcreateadminorder) | **POST** /admin/orders | Create An Order (Admin)|
11
- |[**postGetOrders**](#postgetorders) | **POST** /orders | Create An Order|
12
- |[**putUpdateAdminOrder**](#putupdateadminorder) | **PUT** /admin/orders/{id} | Update An Order (Admin)|
13
- |[**putUpdateOrder**](#putupdateorder) | **PUT** /orders/{id} | Update An Order|
14
9
 
15
- # **deleteUpdateOrder**
16
- > deleteUpdateOrder()
10
+ # **deleteDeleteOrder**
11
+ > deleteDeleteOrder()
17
12
 
18
13
  Delete Orders
19
14
 
@@ -30,7 +25,7 @@ const apiInstance = new OrdersApi(configuration);
30
25
 
31
26
  let id: number; //Order ID (default to undefined)
32
27
 
33
- const { status, data } = await apiInstance.deleteUpdateOrder(
28
+ const { status, data } = await apiInstance.deleteDeleteOrder(
34
29
  id
35
30
  );
36
31
  ```
@@ -66,60 +61,6 @@ No authorization required
66
61
 
67
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)
68
63
 
69
- # **getGetEditableOrder**
70
- > OrderSummaryDTO getGetEditableOrder()
71
-
72
- Get Editable Order
73
-
74
- ### Example
75
-
76
- ```typescript
77
- import {
78
- OrdersApi,
79
- Configuration
80
- } from 'yellowgrid-api-ts';
81
-
82
- const configuration = new Configuration();
83
- const apiInstance = new OrdersApi(configuration);
84
-
85
- let id: number; //Order ID (default to undefined)
86
-
87
- const { status, data } = await apiInstance.getGetEditableOrder(
88
- id
89
- );
90
- ```
91
-
92
- ### Parameters
93
-
94
- |Name | Type | Description | Notes|
95
- |------------- | ------------- | ------------- | -------------|
96
- | **id** | [**number**] | Order ID | defaults to undefined|
97
-
98
-
99
- ### Return type
100
-
101
- **OrderSummaryDTO**
102
-
103
- ### Authorization
104
-
105
- No authorization required
106
-
107
- ### HTTP request headers
108
-
109
- - **Content-Type**: Not defined
110
- - **Accept**: application/json
111
-
112
-
113
- ### HTTP response details
114
- | Status code | Description | Response headers |
115
- |-------------|-------------|------------------|
116
- |**200** | Order Summary | - |
117
- |**400** | Bad Request | - |
118
- |**401** | Unauthorised | - |
119
- |**403** | Access Denied | - |
120
-
121
- [[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)
122
-
123
64
  # **getGetOrders**
124
65
  > OrderSummariesModel getGetOrders()
125
66
 
@@ -192,241 +133,3 @@ No authorization required
192
133
 
193
134
  [[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)
194
135
 
195
- # **postCreateAdminOrder**
196
- > Array<OrderSummaryDTO> postCreateAdminOrder()
197
-
198
- Create An Order (Admin)
199
-
200
- ### Example
201
-
202
- ```typescript
203
- import {
204
- OrdersApi,
205
- Configuration,
206
- AdminOrderRequestDTO
207
- } from 'yellowgrid-api-ts';
208
-
209
- const configuration = new Configuration();
210
- const apiInstance = new OrdersApi(configuration);
211
-
212
- let readonly: boolean; //Readonly Order (optional) (default to undefined)
213
- let adminOrderRequestDTO: AdminOrderRequestDTO; //Admin Order Request (optional)
214
-
215
- const { status, data } = await apiInstance.postCreateAdminOrder(
216
- readonly,
217
- adminOrderRequestDTO
218
- );
219
- ```
220
-
221
- ### Parameters
222
-
223
- |Name | Type | Description | Notes|
224
- |------------- | ------------- | ------------- | -------------|
225
- | **adminOrderRequestDTO** | **AdminOrderRequestDTO**| Admin Order Request | |
226
- | **readonly** | [**boolean**] | Readonly Order | (optional) defaults to undefined|
227
-
228
-
229
- ### Return type
230
-
231
- **Array<OrderSummaryDTO>**
232
-
233
- ### Authorization
234
-
235
- No authorization required
236
-
237
- ### HTTP request headers
238
-
239
- - **Content-Type**: application/json
240
- - **Accept**: application/json
241
-
242
-
243
- ### HTTP response details
244
- | Status code | Description | Response headers |
245
- |-------------|-------------|------------------|
246
- |**200** | Order Summaries | - |
247
- |**400** | Bad Request | - |
248
- |**401** | Unauthorised | - |
249
- |**403** | Access Denied | - |
250
-
251
- [[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)
252
-
253
- # **postGetOrders**
254
- > Array<OrderSummaryDTO> postGetOrders()
255
-
256
- Create An Order
257
-
258
- ### Example
259
-
260
- ```typescript
261
- import {
262
- OrdersApi,
263
- Configuration,
264
- CustomerOrderRequestDTO
265
- } from 'yellowgrid-api-ts';
266
-
267
- const configuration = new Configuration();
268
- const apiInstance = new OrdersApi(configuration);
269
-
270
- let readonly: boolean; //Readonly Order (optional) (default to undefined)
271
- let customerOrderRequestDTO: CustomerOrderRequestDTO; //Order Request (optional)
272
-
273
- const { status, data } = await apiInstance.postGetOrders(
274
- readonly,
275
- customerOrderRequestDTO
276
- );
277
- ```
278
-
279
- ### Parameters
280
-
281
- |Name | Type | Description | Notes|
282
- |------------- | ------------- | ------------- | -------------|
283
- | **customerOrderRequestDTO** | **CustomerOrderRequestDTO**| Order Request | |
284
- | **readonly** | [**boolean**] | Readonly Order | (optional) defaults to undefined|
285
-
286
-
287
- ### Return type
288
-
289
- **Array<OrderSummaryDTO>**
290
-
291
- ### Authorization
292
-
293
- No authorization required
294
-
295
- ### HTTP request headers
296
-
297
- - **Content-Type**: application/json
298
- - **Accept**: application/json
299
-
300
-
301
- ### HTTP response details
302
- | Status code | Description | Response headers |
303
- |-------------|-------------|------------------|
304
- |**200** | Order Summaries | - |
305
- |**400** | Bad Request | - |
306
- |**401** | Unauthorised | - |
307
- |**403** | Access Denied | - |
308
-
309
- [[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)
310
-
311
- # **putUpdateAdminOrder**
312
- > Array<OrderSummaryDTO> putUpdateAdminOrder()
313
-
314
- Update An Order (Admin)
315
-
316
- ### Example
317
-
318
- ```typescript
319
- import {
320
- OrdersApi,
321
- Configuration,
322
- AdminOrderRequestDTO
323
- } from 'yellowgrid-api-ts';
324
-
325
- const configuration = new Configuration();
326
- const apiInstance = new OrdersApi(configuration);
327
-
328
- let id: number; //Order ID (default to undefined)
329
- let readonly: boolean; //Readonly Order (optional) (default to undefined)
330
- let adminOrderRequestDTO: AdminOrderRequestDTO; //Order Request (optional)
331
-
332
- const { status, data } = await apiInstance.putUpdateAdminOrder(
333
- id,
334
- readonly,
335
- adminOrderRequestDTO
336
- );
337
- ```
338
-
339
- ### Parameters
340
-
341
- |Name | Type | Description | Notes|
342
- |------------- | ------------- | ------------- | -------------|
343
- | **adminOrderRequestDTO** | **AdminOrderRequestDTO**| Order Request | |
344
- | **id** | [**number**] | Order ID | defaults to undefined|
345
- | **readonly** | [**boolean**] | Readonly Order | (optional) defaults to undefined|
346
-
347
-
348
- ### Return type
349
-
350
- **Array<OrderSummaryDTO>**
351
-
352
- ### Authorization
353
-
354
- No authorization required
355
-
356
- ### HTTP request headers
357
-
358
- - **Content-Type**: application/json
359
- - **Accept**: application/json
360
-
361
-
362
- ### HTTP response details
363
- | Status code | Description | Response headers |
364
- |-------------|-------------|------------------|
365
- |**200** | Order Summaries | - |
366
- |**400** | Bad Request | - |
367
- |**401** | Unauthorised | - |
368
- |**403** | Access Denied | - |
369
-
370
- [[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)
371
-
372
- # **putUpdateOrder**
373
- > Array<OrderSummaryDTO> putUpdateOrder()
374
-
375
- Update An Order
376
-
377
- ### Example
378
-
379
- ```typescript
380
- import {
381
- OrdersApi,
382
- Configuration,
383
- CustomerOrderRequestDTO
384
- } from 'yellowgrid-api-ts';
385
-
386
- const configuration = new Configuration();
387
- const apiInstance = new OrdersApi(configuration);
388
-
389
- let id: number; //Order ID (default to undefined)
390
- let readonly: boolean; //Readonly Order (optional) (default to undefined)
391
- let customerOrderRequestDTO: CustomerOrderRequestDTO; //Order Request (optional)
392
-
393
- const { status, data } = await apiInstance.putUpdateOrder(
394
- id,
395
- readonly,
396
- customerOrderRequestDTO
397
- );
398
- ```
399
-
400
- ### Parameters
401
-
402
- |Name | Type | Description | Notes|
403
- |------------- | ------------- | ------------- | -------------|
404
- | **customerOrderRequestDTO** | **CustomerOrderRequestDTO**| Order Request | |
405
- | **id** | [**number**] | Order ID | defaults to undefined|
406
- | **readonly** | [**boolean**] | Readonly Order | (optional) defaults to undefined|
407
-
408
-
409
- ### Return type
410
-
411
- **Array<OrderSummaryDTO>**
412
-
413
- ### Authorization
414
-
415
- No authorization required
416
-
417
- ### HTTP request headers
418
-
419
- - **Content-Type**: application/json
420
- - **Accept**: application/json
421
-
422
-
423
- ### HTTP response details
424
- | Status code | Description | Response headers |
425
- |-------------|-------------|------------------|
426
- |**200** | Order Summaries | - |
427
- |**400** | Bad Request | - |
428
- |**401** | Unauthorised | - |
429
- |**403** | Access Denied | - |
430
-
431
- [[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)
432
-
@@ -6,7 +6,7 @@ Product Search Results
6
6
 
7
7
  Name | Type | Description | Notes
8
8
  ------------ | ------------- | ------------- | -------------
9
- **results** | [**Array&lt;ProductSummaryDTO&gt;**](ProductSummaryDTO.md) | Results | [optional] [default to undefined]
9
+ **results** | [**Array&lt;ProductSummaryModel&gt;**](ProductSummaryModel.md) | Results | [optional] [default to undefined]
10
10
 
11
11
  ## Example
12
12
 
@@ -1,4 +1,4 @@
1
- # ProductSummaryDTO
1
+ # ProductSummaryModel
2
2
 
3
3
  Product Summary
4
4
 
@@ -12,21 +12,19 @@ Name | Type | Description | Notes
12
12
  **stockProduct** | **boolean** | Stock Product | [optional] [default to undefined]
13
13
  **price** | **number** | Price | [optional] [default to undefined]
14
14
  **cartonSize** | **number** | Carton Size | [optional] [default to undefined]
15
- **rrp** | **number** | RRP Price | [optional] [default to undefined]
16
15
 
17
16
  ## Example
18
17
 
19
18
  ```typescript
20
- import { ProductSummaryDTO } from 'yellowgrid-api-ts';
19
+ import { ProductSummaryModel } from 'yellowgrid-api-ts';
21
20
 
22
- const instance: ProductSummaryDTO = {
21
+ const instance: ProductSummaryModel = {
23
22
  sku,
24
23
  title,
25
24
  quantity,
26
25
  stockProduct,
27
26
  price,
28
27
  cartonSize,
29
- rrp,
30
28
  };
31
29
  ```
32
30
 
@@ -5,12 +5,11 @@ 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|
8
9
  |[**getGetLegacyStockList**](#getgetlegacystocklist) | **GET** /products/stock/legacy | Get Current Stock &amp; Pricing|
9
- |[**getGetProduct**](#getgetproduct) | **GET** /products/{sku} | Get Product|
10
- |[**getGetProducts**](#getgetproducts) | **GET** /products | Get Products|
10
+ |[**getGetProducts**](#getgetproducts) | **GET** /products/search | Get Products|
11
11
  |[**getGetStockList**](#getgetstocklist) | **GET** /products/stock | Get Current Stock &amp; Pricing|
12
12
  |[**getGetTcxTemplates**](#getgettcxtemplates) | **GET** /products/attributes/tcx/templates | Get 3CX Templates|
13
- |[**getSearchProducts**](#getsearchproducts) | **GET** /products/search | Search Products|
14
13
 
15
14
  # **getGetAttributeSets**
16
15
  > Array<AttributeSetEnum> getGetAttributeSets()
@@ -59,10 +58,10 @@ No authorization required
59
58
 
60
59
  [[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)
61
60
 
62
- # **getGetLegacyStockList**
63
- > string getGetLegacyStockList()
61
+ # **getGetCustomerPriceLists**
62
+ > Array<CustomerPriceListEnum> getGetCustomerPriceLists()
64
63
 
65
- Get Current Stock & Pricing
64
+ Get Customer Price Lists
66
65
 
67
66
  ### Example
68
67
 
@@ -75,23 +74,16 @@ import {
75
74
  const configuration = new Configuration();
76
75
  const apiInstance = new ProductsApi(configuration);
77
76
 
78
- let format: 'XML' | 'CSV'; //File Format (default to undefined)
79
-
80
- const { status, data } = await apiInstance.getGetLegacyStockList(
81
- format
82
- );
77
+ const { status, data } = await apiInstance.getGetCustomerPriceLists();
83
78
  ```
84
79
 
85
80
  ### Parameters
86
-
87
- |Name | Type | Description | Notes|
88
- |------------- | ------------- | ------------- | -------------|
89
- | **format** | [**&#39;XML&#39; | &#39;CSV&#39;**]**Array<&#39;XML&#39; &#124; &#39;CSV&#39;>** | File Format | defaults to undefined|
81
+ This endpoint does not have any parameters.
90
82
 
91
83
 
92
84
  ### Return type
93
85
 
94
- **string**
86
+ **Array<CustomerPriceListEnum>**
95
87
 
96
88
  ### Authorization
97
89
 
@@ -100,23 +92,23 @@ No authorization required
100
92
  ### HTTP request headers
101
93
 
102
94
  - **Content-Type**: Not defined
103
- - **Accept**: text/csv, application/xml
95
+ - **Accept**: application/json
104
96
 
105
97
 
106
98
  ### HTTP response details
107
99
  | Status code | Description | Response headers |
108
100
  |-------------|-------------|------------------|
109
- |**200** | Products | - |
101
+ |**200** | Price Lists | - |
110
102
  |**400** | Bad Request | - |
111
103
  |**401** | Unauthorised | - |
112
104
  |**403** | Access Denied | - |
113
105
 
114
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)
115
107
 
116
- # **getGetProduct**
117
- > ProductSummaryDTO getGetProduct()
108
+ # **getGetLegacyStockList**
109
+ > string getGetLegacyStockList()
118
110
 
119
- Get Product
111
+ Get Current Stock & Pricing
120
112
 
121
113
  ### Example
122
114
 
@@ -129,14 +121,10 @@ import {
129
121
  const configuration = new Configuration();
130
122
  const apiInstance = new ProductsApi(configuration);
131
123
 
132
- let sku: string; //Product SKU (default to undefined)
133
- let quantity: number; //Quantity (optional) (default to undefined)
134
- let licenceKey: string; //3CX Licence Key (optional) (default to undefined)
124
+ let format: 'XML' | 'CSV'; //File Format (default to undefined)
135
125
 
136
- const { status, data } = await apiInstance.getGetProduct(
137
- sku,
138
- quantity,
139
- licenceKey
126
+ const { status, data } = await apiInstance.getGetLegacyStockList(
127
+ format
140
128
  );
141
129
  ```
142
130
 
@@ -144,14 +132,12 @@ const { status, data } = await apiInstance.getGetProduct(
144
132
 
145
133
  |Name | Type | Description | Notes|
146
134
  |------------- | ------------- | ------------- | -------------|
147
- | **sku** | [**string**] | Product SKU | defaults to undefined|
148
- | **quantity** | [**number**] | Quantity | (optional) defaults to undefined|
149
- | **licenceKey** | [**string**] | 3CX Licence Key | (optional) defaults to undefined|
135
+ | **format** | [**&#39;XML&#39; | &#39;CSV&#39;**]**Array<&#39;XML&#39; &#124; &#39;CSV&#39;>** | File Format | defaults to undefined|
150
136
 
151
137
 
152
138
  ### Return type
153
139
 
154
- **ProductSummaryDTO**
140
+ **string**
155
141
 
156
142
  ### Authorization
157
143
 
@@ -160,7 +146,7 @@ No authorization required
160
146
  ### HTTP request headers
161
147
 
162
148
  - **Content-Type**: Not defined
163
- - **Accept**: application/json
149
+ - **Accept**: text/csv, application/xml
164
150
 
165
151
 
166
152
  ### HTTP response details
@@ -174,7 +160,7 @@ No authorization required
174
160
  [[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)
175
161
 
176
162
  # **getGetProducts**
177
- > Array<BasicProductDTO> getGetProducts()
163
+ > ProductSearchResultsModel getGetProducts()
178
164
 
179
165
  Get Products
180
166
 
@@ -189,16 +175,29 @@ import {
189
175
  const configuration = new Configuration();
190
176
  const apiInstance = new ProductsApi(configuration);
191
177
 
192
- const { status, data } = await apiInstance.getGetProducts();
178
+ let pageSize: number; //Number Of Results (optional) (default to 20)
179
+ let page: number; //Page Number (optional) (default to 1)
180
+ let search: string; //Search (optional) (default to undefined)
181
+
182
+ const { status, data } = await apiInstance.getGetProducts(
183
+ pageSize,
184
+ page,
185
+ search
186
+ );
193
187
  ```
194
188
 
195
189
  ### Parameters
196
- This endpoint does not have any parameters.
190
+
191
+ |Name | Type | Description | Notes|
192
+ |------------- | ------------- | ------------- | -------------|
193
+ | **pageSize** | [**number**] | Number Of Results | (optional) defaults to 20|
194
+ | **page** | [**number**] | Page Number | (optional) defaults to 1|
195
+ | **search** | [**string**] | Search | (optional) defaults to undefined|
197
196
 
198
197
 
199
198
  ### Return type
200
199
 
201
- **Array<BasicProductDTO>**
200
+ **ProductSearchResultsModel**
202
201
 
203
202
  ### Authorization
204
203
 
@@ -314,63 +313,3 @@ No authorization required
314
313
 
315
314
  [[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)
316
315
 
317
- # **getSearchProducts**
318
- > ProductSearchResultsModel getSearchProducts()
319
-
320
- Search Products
321
-
322
- ### Example
323
-
324
- ```typescript
325
- import {
326
- ProductsApi,
327
- Configuration
328
- } from 'yellowgrid-api-ts';
329
-
330
- const configuration = new Configuration();
331
- const apiInstance = new ProductsApi(configuration);
332
-
333
- let pageSize: number; //Number Of Results (optional) (default to 20)
334
- let page: number; //Page Number (optional) (default to 1)
335
- let search: string; //Search (optional) (default to undefined)
336
-
337
- const { status, data } = await apiInstance.getSearchProducts(
338
- pageSize,
339
- page,
340
- search
341
- );
342
- ```
343
-
344
- ### Parameters
345
-
346
- |Name | Type | Description | Notes|
347
- |------------- | ------------- | ------------- | -------------|
348
- | **pageSize** | [**number**] | Number Of Results | (optional) defaults to 20|
349
- | **page** | [**number**] | Page Number | (optional) defaults to 1|
350
- | **search** | [**string**] | Search | (optional) defaults to undefined|
351
-
352
-
353
- ### Return type
354
-
355
- **ProductSearchResultsModel**
356
-
357
- ### Authorization
358
-
359
- No authorization required
360
-
361
- ### HTTP request headers
362
-
363
- - **Content-Type**: Not defined
364
- - **Accept**: application/json
365
-
366
-
367
- ### HTTP response details
368
- | Status code | Description | Response headers |
369
- |-------------|-------------|------------------|
370
- |**200** | Products | - |
371
- |**400** | Bad Request | - |
372
- |**401** | Unauthorised | - |
373
- |**403** | Access Denied | - |
374
-
375
- [[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)
376
-
@@ -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<ProvisioningModel> getGetGroups()
238
+ > Array<ProvisioningEntity> 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<ProvisioningModel>**
269
+ **Array<ProvisioningEntity>**
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
- > ProvisioningModel postAddFanvilGroup()
292
+ > ProvisioningEntity 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
- **ProvisioningModel**
324
+ **ProvisioningEntity**
325
325
 
326
326
  ### Authorization
327
327
 
@@ -1,4 +1,4 @@
1
- # ProvisioningModel
1
+ # ProvisioningEntity
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 { ProvisioningModel } from 'yellowgrid-api-ts';
18
+ import { ProvisioningEntity } from 'yellowgrid-api-ts';
19
19
 
20
- const instance: ProvisioningModel = {
20
+ const instance: ProvisioningEntity = {
21
21
  groupName,
22
22
  provisioningUrl,
23
23
  auth,
@@ -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
- **dateShipped** | **string** | date | [optional] [default to undefined]
18
+ **date** | **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
- dateShipped,
37
+ date,
38
38
  requestDate,
39
39
  provId,
40
40
  };
@@ -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<ProductSummaryDTO> getGetStockSupplierProducts()
695
+ > Array<ProductSummaryModel> 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<ProductSummaryDTO>**
726
+ **Array<ProductSummaryModel>**
727
727
 
728
728
  ### Authorization
729
729