yellowgrid-api-ts 3.1.7 → 3.1.8-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 +214 -197
  2. package/README.md +34 -7
  3. package/api.ts +1874 -251
  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 +1355 -146
  9. package/dist/api.js +1135 -197
  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 +41 -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 +37 -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 +356 -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,17 @@ 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
+ |[**getGetAdminEditableOrder**](#getgetadmineditableorder) | **GET** /admin/orders/{id}/views/editable | Get Editable Order (Admin)|
9
+ |[**getGetEditableOrder**](#getgeteditableorder) | **GET** /orders/{id}/views/editable | Get Editable Order|
8
10
  |[**getGetOrders**](#getgetorders) | **GET** /orders | Get Orders|
11
+ |[**postCreateAdminOrder**](#postcreateadminorder) | **POST** /admin/orders | Create An Order (Admin)|
12
+ |[**postGetOrders**](#postgetorders) | **POST** /orders | Create An Order|
13
+ |[**putUpdateAdminOrder**](#putupdateadminorder) | **PUT** /admin/orders/{id} | Update An Order (Admin)|
14
+ |[**putUpdateOrder**](#putupdateorder) | **PUT** /orders/{id} | Update An Order|
9
15
 
10
- # **deleteDeleteOrder**
11
- > deleteDeleteOrder()
16
+ # **deleteUpdateOrder**
17
+ > deleteUpdateOrder()
12
18
 
13
19
  Delete Orders
14
20
 
@@ -25,7 +31,7 @@ const apiInstance = new OrdersApi(configuration);
25
31
 
26
32
  let id: number; //Order ID (default to undefined)
27
33
 
28
- const { status, data } = await apiInstance.deleteDeleteOrder(
34
+ const { status, data } = await apiInstance.deleteUpdateOrder(
29
35
  id
30
36
  );
31
37
  ```
@@ -61,6 +67,114 @@ No authorization required
61
67
 
62
68
  [[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
69
 
70
+ # **getGetAdminEditableOrder**
71
+ > AdminOrderRequestDTO getGetAdminEditableOrder()
72
+
73
+ Get Editable Order (Admin)
74
+
75
+ ### Example
76
+
77
+ ```typescript
78
+ import {
79
+ OrdersApi,
80
+ Configuration
81
+ } from 'yellowgrid-api-ts';
82
+
83
+ const configuration = new Configuration();
84
+ const apiInstance = new OrdersApi(configuration);
85
+
86
+ let id: number; //Order ID (default to undefined)
87
+
88
+ const { status, data } = await apiInstance.getGetAdminEditableOrder(
89
+ id
90
+ );
91
+ ```
92
+
93
+ ### Parameters
94
+
95
+ |Name | Type | Description | Notes|
96
+ |------------- | ------------- | ------------- | -------------|
97
+ | **id** | [**number**] | Order ID | defaults to undefined|
98
+
99
+
100
+ ### Return type
101
+
102
+ **AdminOrderRequestDTO**
103
+
104
+ ### Authorization
105
+
106
+ No authorization required
107
+
108
+ ### HTTP request headers
109
+
110
+ - **Content-Type**: Not defined
111
+ - **Accept**: application/json
112
+
113
+
114
+ ### HTTP response details
115
+ | Status code | Description | Response headers |
116
+ |-------------|-------------|------------------|
117
+ |**200** | Order Summary | - |
118
+ |**400** | Bad Request | - |
119
+ |**401** | Unauthorised | - |
120
+ |**403** | Access Denied | - |
121
+
122
+ [[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)
123
+
124
+ # **getGetEditableOrder**
125
+ > CustomerOrderRequestDTO getGetEditableOrder()
126
+
127
+ Get Editable Order
128
+
129
+ ### Example
130
+
131
+ ```typescript
132
+ import {
133
+ OrdersApi,
134
+ Configuration
135
+ } from 'yellowgrid-api-ts';
136
+
137
+ const configuration = new Configuration();
138
+ const apiInstance = new OrdersApi(configuration);
139
+
140
+ let id: number; //Order ID (default to undefined)
141
+
142
+ const { status, data } = await apiInstance.getGetEditableOrder(
143
+ id
144
+ );
145
+ ```
146
+
147
+ ### Parameters
148
+
149
+ |Name | Type | Description | Notes|
150
+ |------------- | ------------- | ------------- | -------------|
151
+ | **id** | [**number**] | Order ID | defaults to undefined|
152
+
153
+
154
+ ### Return type
155
+
156
+ **CustomerOrderRequestDTO**
157
+
158
+ ### Authorization
159
+
160
+ No authorization required
161
+
162
+ ### HTTP request headers
163
+
164
+ - **Content-Type**: Not defined
165
+ - **Accept**: application/json
166
+
167
+
168
+ ### HTTP response details
169
+ | Status code | Description | Response headers |
170
+ |-------------|-------------|------------------|
171
+ |**200** | Order Summary | - |
172
+ |**400** | Bad Request | - |
173
+ |**401** | Unauthorised | - |
174
+ |**403** | Access Denied | - |
175
+
176
+ [[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)
177
+
64
178
  # **getGetOrders**
65
179
  > OrderSummariesModel getGetOrders()
66
180
 
@@ -133,3 +247,241 @@ No authorization required
133
247
 
134
248
  [[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
249
 
250
+ # **postCreateAdminOrder**
251
+ > Array<OrderSummaryDTO> postCreateAdminOrder()
252
+
253
+ Create An Order (Admin)
254
+
255
+ ### Example
256
+
257
+ ```typescript
258
+ import {
259
+ OrdersApi,
260
+ Configuration,
261
+ AdminOrderRequestDTO
262
+ } from 'yellowgrid-api-ts';
263
+
264
+ const configuration = new Configuration();
265
+ const apiInstance = new OrdersApi(configuration);
266
+
267
+ let readonly: boolean; //Readonly Order (optional) (default to undefined)
268
+ let adminOrderRequestDTO: AdminOrderRequestDTO; //Admin Order Request (optional)
269
+
270
+ const { status, data } = await apiInstance.postCreateAdminOrder(
271
+ readonly,
272
+ adminOrderRequestDTO
273
+ );
274
+ ```
275
+
276
+ ### Parameters
277
+
278
+ |Name | Type | Description | Notes|
279
+ |------------- | ------------- | ------------- | -------------|
280
+ | **adminOrderRequestDTO** | **AdminOrderRequestDTO**| Admin Order Request | |
281
+ | **readonly** | [**boolean**] | Readonly Order | (optional) defaults to undefined|
282
+
283
+
284
+ ### Return type
285
+
286
+ **Array<OrderSummaryDTO>**
287
+
288
+ ### Authorization
289
+
290
+ No authorization required
291
+
292
+ ### HTTP request headers
293
+
294
+ - **Content-Type**: application/json
295
+ - **Accept**: application/json
296
+
297
+
298
+ ### HTTP response details
299
+ | Status code | Description | Response headers |
300
+ |-------------|-------------|------------------|
301
+ |**200** | Order Summaries | - |
302
+ |**400** | Bad Request | - |
303
+ |**401** | Unauthorised | - |
304
+ |**403** | Access Denied | - |
305
+
306
+ [[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)
307
+
308
+ # **postGetOrders**
309
+ > Array<OrderSummaryDTO> postGetOrders()
310
+
311
+ Create An Order
312
+
313
+ ### Example
314
+
315
+ ```typescript
316
+ import {
317
+ OrdersApi,
318
+ Configuration,
319
+ CustomerOrderRequestDTO
320
+ } from 'yellowgrid-api-ts';
321
+
322
+ const configuration = new Configuration();
323
+ const apiInstance = new OrdersApi(configuration);
324
+
325
+ let readonly: boolean; //Readonly Order (optional) (default to undefined)
326
+ let customerOrderRequestDTO: CustomerOrderRequestDTO; //Order Request (optional)
327
+
328
+ const { status, data } = await apiInstance.postGetOrders(
329
+ readonly,
330
+ customerOrderRequestDTO
331
+ );
332
+ ```
333
+
334
+ ### Parameters
335
+
336
+ |Name | Type | Description | Notes|
337
+ |------------- | ------------- | ------------- | -------------|
338
+ | **customerOrderRequestDTO** | **CustomerOrderRequestDTO**| Order Request | |
339
+ | **readonly** | [**boolean**] | Readonly Order | (optional) defaults to undefined|
340
+
341
+
342
+ ### Return type
343
+
344
+ **Array<OrderSummaryDTO>**
345
+
346
+ ### Authorization
347
+
348
+ No authorization required
349
+
350
+ ### HTTP request headers
351
+
352
+ - **Content-Type**: application/json
353
+ - **Accept**: application/json
354
+
355
+
356
+ ### HTTP response details
357
+ | Status code | Description | Response headers |
358
+ |-------------|-------------|------------------|
359
+ |**200** | Order Summaries | - |
360
+ |**400** | Bad Request | - |
361
+ |**401** | Unauthorised | - |
362
+ |**403** | Access Denied | - |
363
+
364
+ [[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)
365
+
366
+ # **putUpdateAdminOrder**
367
+ > Array<OrderSummaryDTO> putUpdateAdminOrder()
368
+
369
+ Update An Order (Admin)
370
+
371
+ ### Example
372
+
373
+ ```typescript
374
+ import {
375
+ OrdersApi,
376
+ Configuration,
377
+ AdminOrderRequestDTO
378
+ } from 'yellowgrid-api-ts';
379
+
380
+ const configuration = new Configuration();
381
+ const apiInstance = new OrdersApi(configuration);
382
+
383
+ let id: number; //Order ID (default to undefined)
384
+ let readonly: boolean; //Readonly Order (optional) (default to undefined)
385
+ let adminOrderRequestDTO: AdminOrderRequestDTO; //Order Request (optional)
386
+
387
+ const { status, data } = await apiInstance.putUpdateAdminOrder(
388
+ id,
389
+ readonly,
390
+ adminOrderRequestDTO
391
+ );
392
+ ```
393
+
394
+ ### Parameters
395
+
396
+ |Name | Type | Description | Notes|
397
+ |------------- | ------------- | ------------- | -------------|
398
+ | **adminOrderRequestDTO** | **AdminOrderRequestDTO**| Order Request | |
399
+ | **id** | [**number**] | Order ID | defaults to undefined|
400
+ | **readonly** | [**boolean**] | Readonly Order | (optional) defaults to undefined|
401
+
402
+
403
+ ### Return type
404
+
405
+ **Array<OrderSummaryDTO>**
406
+
407
+ ### Authorization
408
+
409
+ No authorization required
410
+
411
+ ### HTTP request headers
412
+
413
+ - **Content-Type**: application/json
414
+ - **Accept**: application/json
415
+
416
+
417
+ ### HTTP response details
418
+ | Status code | Description | Response headers |
419
+ |-------------|-------------|------------------|
420
+ |**200** | Order Summaries | - |
421
+ |**400** | Bad Request | - |
422
+ |**401** | Unauthorised | - |
423
+ |**403** | Access Denied | - |
424
+
425
+ [[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)
426
+
427
+ # **putUpdateOrder**
428
+ > Array<OrderSummaryDTO> putUpdateOrder()
429
+
430
+ Update An Order
431
+
432
+ ### Example
433
+
434
+ ```typescript
435
+ import {
436
+ OrdersApi,
437
+ Configuration,
438
+ CustomerOrderRequestDTO
439
+ } from 'yellowgrid-api-ts';
440
+
441
+ const configuration = new Configuration();
442
+ const apiInstance = new OrdersApi(configuration);
443
+
444
+ let id: number; //Order ID (default to undefined)
445
+ let readonly: boolean; //Readonly Order (optional) (default to undefined)
446
+ let customerOrderRequestDTO: CustomerOrderRequestDTO; //Order Request (optional)
447
+
448
+ const { status, data } = await apiInstance.putUpdateOrder(
449
+ id,
450
+ readonly,
451
+ customerOrderRequestDTO
452
+ );
453
+ ```
454
+
455
+ ### Parameters
456
+
457
+ |Name | Type | Description | Notes|
458
+ |------------- | ------------- | ------------- | -------------|
459
+ | **customerOrderRequestDTO** | **CustomerOrderRequestDTO**| Order Request | |
460
+ | **id** | [**number**] | Order ID | defaults to undefined|
461
+ | **readonly** | [**boolean**] | Readonly Order | (optional) defaults to undefined|
462
+
463
+
464
+ ### Return type
465
+
466
+ **Array<OrderSummaryDTO>**
467
+
468
+ ### Authorization
469
+
470
+ No authorization required
471
+
472
+ ### HTTP request headers
473
+
474
+ - **Content-Type**: application/json
475
+ - **Accept**: application/json
476
+
477
+
478
+ ### HTTP response details
479
+ | Status code | Description | Response headers |
480
+ |-------------|-------------|------------------|
481
+ |**200** | Order Summaries | - |
482
+ |**400** | Bad Request | - |
483
+ |**401** | Unauthorised | - |
484
+ |**403** | Access Denied | - |
485
+
486
+ [[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)
487
+
@@ -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