yellowgrid-api-ts 3.1.3 → 3.1.4-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 (55) hide show
  1. package/.openapi-generator/FILES +213 -195
  2. package/README.md +33 -7
  3. package/api.ts +1792 -254
  4. package/base.ts +1 -1
  5. package/common.ts +1 -1
  6. package/config.json +3 -3
  7. package/configuration.ts +1 -1
  8. package/dist/api.d.ts +1310 -150
  9. package/dist/api.js +1059 -207
  10. package/dist/base.d.ts +1 -1
  11. package/dist/base.js +1 -1
  12. package/dist/common.d.ts +1 -1
  13. package/dist/common.js +1 -1
  14. package/dist/configuration.d.ts +1 -1
  15. package/dist/configuration.js +1 -1
  16. package/dist/index.d.ts +1 -1
  17. package/dist/index.js +1 -1
  18. package/docs/AbstractOrderRequestDTO.md +33 -0
  19. package/docs/AccountDetailedSummaryDTO.md +39 -0
  20. package/docs/AccountsApi.md +103 -0
  21. package/docs/AddressModel.md +2 -0
  22. package/docs/AdminItemRequestDTO.md +39 -0
  23. package/docs/AdminOrderRequestDTO.md +45 -0
  24. package/docs/AdminUserModel.md +29 -0
  25. package/docs/BasicItemDTO.md +23 -0
  26. package/docs/BasicProductDTO.md +23 -0
  27. package/docs/Class3CXApi.md +0 -55
  28. package/docs/ClientDetailsModel.md +0 -2
  29. package/docs/CourierPriceEntity.md +39 -0
  30. package/docs/CustomerItemRequestDTO.md +35 -0
  31. package/docs/CustomerOrderRequestDTO.md +33 -0
  32. package/docs/ItemDTO.md +12 -4
  33. package/docs/ItemEntity.md +2 -0
  34. package/docs/LinkedOrderEntity.md +23 -0
  35. package/docs/OrderSummaryDTO.md +8 -0
  36. package/docs/OrderTotalModel.md +2 -0
  37. package/docs/OrdersApi.md +301 -4
  38. package/docs/PostGetProductForCustomerRequest.md +24 -0
  39. package/docs/ProductSearchResultsModel.md +1 -1
  40. package/docs/{ProductSummaryModel.md → ProductSummaryDTO.md} +5 -3
  41. package/docs/ProductsApi.md +164 -43
  42. package/docs/ProvisioningApi.md +4 -4
  43. package/docs/{ProvisioningEntity.md → ProvisioningModel.md} +3 -3
  44. package/docs/ShipmentEntity.md +2 -2
  45. package/docs/ShippingApi.md +63 -0
  46. package/docs/ShippingConsignmentModel.md +26 -0
  47. package/docs/ShippingInformationDTO.md +25 -0
  48. package/docs/ShippingServiceDTO.md +23 -0
  49. package/docs/ShippingServiceModel.md +31 -0
  50. package/docs/{GetGetPasswordHash200Response.md → ShippingServicesModel.md} +5 -5
  51. package/docs/StockManagementApi.md +2 -2
  52. package/docs/TcxSbcDTO.md +31 -0
  53. package/docs/TcxSbcModel.md +1 -1
  54. package/index.ts +1 -1
  55. package/package.json +1 -1
@@ -0,0 +1,33 @@
1
+ # CustomerOrderRequestDTO
2
+
3
+ Order Request
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **orderReference** | **string** | Order Reference | [optional] [default to undefined]
10
+ **items** | [**Array<CustomerItemRequestDTO>**](CustomerItemRequestDTO.md) | Items | [optional] [default to undefined]
11
+ **shippingService** | [**ShippingServiceDTO**](ShippingServiceDTO.md) | | [optional] [default to undefined]
12
+ **provisioningUrl** | **string** | Provisioning URL | [optional] [default to undefined]
13
+ **shippingAddress** | [**AddressModel**](AddressModel.md) | | [optional] [default to undefined]
14
+ **partShip** | **boolean** | Part Ship Order | [optional] [default to undefined]
15
+ **quote** | **boolean** | Quote | [optional] [default to undefined]
16
+
17
+ ## Example
18
+
19
+ ```typescript
20
+ import { CustomerOrderRequestDTO } from 'yellowgrid-api-ts';
21
+
22
+ const instance: CustomerOrderRequestDTO = {
23
+ orderReference,
24
+ items,
25
+ shippingService,
26
+ provisioningUrl,
27
+ shippingAddress,
28
+ partShip,
29
+ quote,
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)
package/docs/ItemDTO.md CHANGED
@@ -6,17 +6,21 @@ Order Item
6
6
 
7
7
  Name | Type | Description | Notes
8
8
  ------------ | ------------- | ------------- | -------------
9
+ **sku** | **string** | SKU | [optional] [default to undefined]
10
+ **quantity** | **number** | Quantity | [optional] [default to undefined]
9
11
  **id** | **number** | ID | [optional] [default to undefined]
10
12
  **orderId** | **number** | Order ID | [optional] [default to undefined]
11
13
  **title** | **string** | Title | [optional] [default to undefined]
12
- **sku** | **string** | SKU | [optional] [default to undefined]
13
- **quantity** | **number** | Quantity | [optional] [default to undefined]
14
14
  **price** | **number** | Price | [optional] [default to undefined]
15
15
  **licenceKey** | **string** | 3CX Licence Key | [optional] [default to undefined]
16
16
  **licenceExpiry** | **string** | Date Time | [optional] [default to undefined]
17
17
  **processDate** | **string** | Date Time | [optional] [default to undefined]
18
+ **hosting** | **boolean** | 3CX Hosting | [optional] [default to undefined]
18
19
  **promoItem** | **boolean** | Promo Item | [optional] [default to undefined]
19
20
  **refunded** | **number** | Refunded | [optional] [default to undefined]
21
+ **sbcs** | [**Array<TcxSbcDTO>**](TcxSbcDTO.md) | SBCs | [optional] [default to undefined]
22
+ **readonly** | **boolean** | Readonly | [optional] [default to undefined]
23
+ **tcxSalesCode** | **string** | 3CX Sales Code | [optional] [default to undefined]
20
24
 
21
25
  ## Example
22
26
 
@@ -24,17 +28,21 @@ Name | Type | Description | Notes
24
28
  import { ItemDTO } from 'yellowgrid-api-ts';
25
29
 
26
30
  const instance: ItemDTO = {
31
+ sku,
32
+ quantity,
27
33
  id,
28
34
  orderId,
29
35
  title,
30
- sku,
31
- quantity,
32
36
  price,
33
37
  licenceKey,
34
38
  licenceExpiry,
35
39
  processDate,
40
+ hosting,
36
41
  promoItem,
37
42
  refunded,
43
+ sbcs,
44
+ readonly,
45
+ tcxSalesCode,
38
46
  };
39
47
  ```
40
48
 
@@ -27,6 +27,7 @@ Name | Type | Description | Notes
27
27
  **licenceExpiryDate** | **string** | licenceExpiryDate | [optional] [default to undefined]
28
28
  **processDate** | **string** | processDate | [optional] [default to undefined]
29
29
  **promoItem** | **number** | promo | [optional] [default to undefined]
30
+ **tcxSalesCode** | **string** | 3CX Sales Code | [optional] [default to undefined]
30
31
 
31
32
  ## Example
32
33
 
@@ -55,6 +56,7 @@ const instance: ItemEntity = {
55
56
  licenceExpiryDate,
56
57
  processDate,
57
58
  promoItem,
59
+ tcxSalesCode,
58
60
  };
59
61
  ```
60
62
 
@@ -0,0 +1,23 @@
1
+ # LinkedOrderEntity
2
+
3
+ LinkedOrdersEntity
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **orderId** | **number** | orderId | [optional] [default to undefined]
10
+ **linkedOrderId** | **number** | linkedOrderId | [optional] [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { LinkedOrderEntity } from 'yellowgrid-api-ts';
16
+
17
+ const instance: LinkedOrderEntity = {
18
+ orderId,
19
+ linkedOrderId,
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)
@@ -9,6 +9,7 @@ Name | Type | Description | Notes
9
9
  **id** | **number** | ID | [optional] [default to undefined]
10
10
  **reference** | **string** | Reference | [optional] [default to undefined]
11
11
  **invoiceNumber** | **string** | Invoice Number | [optional] [default to undefined]
12
+ **invoiceId** | **string** | Invoice ID | [optional] [default to undefined]
12
13
  **orderDate** | **string** | Date Time | [optional] [default to undefined]
13
14
  **paid** | **boolean** | Paid | [optional] [default to undefined]
14
15
  **complete** | **boolean** | Complete | [optional] [default to undefined]
@@ -18,6 +19,9 @@ Name | Type | Description | Notes
18
19
  **items** | [**Array<ItemDTO>**](ItemDTO.md) | Items | [optional] [default to undefined]
19
20
  **carriageCharge** | **number** | Carriage Charge | [optional] [default to undefined]
20
21
  **fulfillable** | **boolean** | Fulfillable | [optional] [default to undefined]
22
+ **provisioningUrl** | **string** | Provisioning URL | [optional] [default to undefined]
23
+ **shippingService** | [**ShippingServiceDTO**](ShippingServiceDTO.md) | | [optional] [default to undefined]
24
+ **readonly** | **boolean** | Readonly | [optional] [default to undefined]
21
25
 
22
26
  ## Example
23
27
 
@@ -28,6 +32,7 @@ const instance: OrderSummaryDTO = {
28
32
  id,
29
33
  reference,
30
34
  invoiceNumber,
35
+ invoiceId,
31
36
  orderDate,
32
37
  paid,
33
38
  complete,
@@ -37,6 +42,9 @@ const instance: OrderSummaryDTO = {
37
42
  items,
38
43
  carriageCharge,
39
44
  fulfillable,
45
+ provisioningUrl,
46
+ shippingService,
47
+ readonly,
40
48
  };
41
49
  ```
42
50
 
@@ -13,6 +13,7 @@ Name | Type | Description | Notes
13
13
  **vatRate** | **number** | VAT Rate | [optional] [default to undefined]
14
14
  **credit** | **number** | Credit | [optional] [default to undefined]
15
15
  **currency** | **string** | Currency | [optional] [default to undefined]
16
+ **delivery** | **number** | Delivery | [optional] [default to undefined]
16
17
 
17
18
  ## Example
18
19
 
@@ -27,6 +28,7 @@ const instance: OrderTotalModel = {
27
28
  vatRate,
28
29
  credit,
29
30
  currency,
31
+ delivery,
30
32
  };
31
33
  ```
32
34
 
package/docs/OrdersApi.md CHANGED
@@ -4,11 +4,16 @@ All URIs are relative to *http://api.yellowgrid.local*
4
4
 
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
7
- |[**deleteDeleteOrder**](#deletedeleteorder) | **DELETE** /orders/{id} | |
7
+ |[**deleteUpdateOrder**](#deleteupdateorder) | **DELETE** /orders/{id} | Delete Orders|
8
+ |[**getGetEditableOrder**](#getgeteditableorder) | **GET** /orders/{id}/views/editable | |
8
9
  |[**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|
9
14
 
10
- # **deleteDeleteOrder**
11
- > deleteDeleteOrder()
15
+ # **deleteUpdateOrder**
16
+ > deleteUpdateOrder()
12
17
 
13
18
  Delete Orders
14
19
 
@@ -25,7 +30,7 @@ const apiInstance = new OrdersApi(configuration);
25
30
 
26
31
  let id: number; //Order ID (default to undefined)
27
32
 
28
- const { status, data } = await apiInstance.deleteDeleteOrder(
33
+ const { status, data } = await apiInstance.deleteUpdateOrder(
29
34
  id
30
35
  );
31
36
  ```
@@ -61,6 +66,60 @@ No authorization required
61
66
 
62
67
  [[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
68
 
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
+
64
123
  # **getGetOrders**
65
124
  > OrderSummariesModel getGetOrders()
66
125
 
@@ -133,3 +192,241 @@ No authorization required
133
192
 
134
193
  [[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)
135
194
 
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
+
@@ -0,0 +1,24 @@
1
+ # PostGetProductForCustomerRequest
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 { PostGetProductForCustomerRequest } from 'yellowgrid-api-ts';
16
+
17
+ const instance: PostGetProductForCustomerRequest = {
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)
@@ -6,7 +6,7 @@ Product Search Results
6
6
 
7
7
  Name | Type | Description | Notes
8
8
  ------------ | ------------- | ------------- | -------------
9
- **results** | [**Array&lt;ProductSummaryModel&gt;**](ProductSummaryModel.md) | Results | [optional] [default to undefined]
9
+ **results** | [**Array&lt;ProductSummaryDTO&gt;**](ProductSummaryDTO.md) | Results | [optional] [default to undefined]
10
10
 
11
11
  ## Example
12
12
 
@@ -1,4 +1,4 @@
1
- # ProductSummaryModel
1
+ # ProductSummaryDTO
2
2
 
3
3
  Product Summary
4
4
 
@@ -12,19 +12,21 @@ 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]
15
16
 
16
17
  ## Example
17
18
 
18
19
  ```typescript
19
- import { ProductSummaryModel } from 'yellowgrid-api-ts';
20
+ import { ProductSummaryDTO } from 'yellowgrid-api-ts';
20
21
 
21
- const instance: ProductSummaryModel = {
22
+ const instance: ProductSummaryDTO = {
22
23
  sku,
23
24
  title,
24
25
  quantity,
25
26
  stockProduct,
26
27
  price,
27
28
  cartonSize,
29
+ rrp,
28
30
  };
29
31
  ```
30
32