@digital8/lighting-illusions-ts-sdk 0.0.1901 → 0.0.1903

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 (125) hide show
  1. package/.openapi-generator/FILES +38 -0
  2. package/README.md +32 -2
  3. package/dist/apis/AdminApi.d.ts +16 -1
  4. package/dist/apis/AdminApi.js +58 -0
  5. package/dist/apis/CartsApi.d.ts +16 -1
  6. package/dist/apis/CartsApi.js +59 -0
  7. package/dist/apis/OrdersApi.d.ts +170 -0
  8. package/dist/apis/OrdersApi.js +678 -0
  9. package/dist/apis/index.d.ts +1 -0
  10. package/dist/apis/index.js +1 -0
  11. package/dist/models/AddressFrontendResource.d.ts +1 -1
  12. package/dist/models/AddressFrontendResource.js +3 -1
  13. package/dist/models/AddressResource.d.ts +3 -3
  14. package/dist/models/AddressResource.js +7 -7
  15. package/dist/models/AdminNoteResource.d.ts +68 -0
  16. package/dist/models/AdminNoteResource.js +71 -0
  17. package/dist/models/AdminNoteResourceArrayResponse.d.ts +33 -0
  18. package/dist/models/AdminNoteResourceArrayResponse.js +50 -0
  19. package/dist/models/AdminOrderResource.d.ts +262 -0
  20. package/dist/models/AdminOrderResource.js +187 -0
  21. package/dist/models/AdminOrderResourceArrayResponse.d.ts +33 -0
  22. package/dist/models/AdminOrderResourceArrayResponse.js +50 -0
  23. package/dist/models/AttachItemOrderRequest.d.ts +44 -0
  24. package/dist/models/AttachItemOrderRequest.js +57 -0
  25. package/dist/models/ExternalApiLogResource.d.ts +1 -1
  26. package/dist/models/ExternalApiLogResource.js +3 -1
  27. package/dist/models/GetAllAdminNoteRequest.d.ts +102 -0
  28. package/dist/models/GetAllAdminNoteRequest.js +82 -0
  29. package/dist/models/GetAllOrderRequest.d.ts +104 -0
  30. package/dist/models/GetAllOrderRequest.js +84 -0
  31. package/dist/models/IndexOrderRequest.d.ts +140 -0
  32. package/dist/models/IndexOrderRequest.js +96 -0
  33. package/dist/models/LineItemListResource.d.ts +6 -0
  34. package/dist/models/LineItemListResource.js +2 -0
  35. package/dist/models/OrderListResource.d.ts +101 -0
  36. package/dist/models/OrderListResource.js +90 -0
  37. package/dist/models/OrderListResourceArrayResponse.d.ts +33 -0
  38. package/dist/models/OrderListResourceArrayResponse.js +50 -0
  39. package/dist/models/OrderLiteResource.d.ts +62 -0
  40. package/dist/models/OrderLiteResource.js +67 -0
  41. package/dist/models/OrderLiteResourceArrayResponse.d.ts +33 -0
  42. package/dist/models/OrderLiteResourceArrayResponse.js +50 -0
  43. package/dist/models/PaginatedAdminNoteResourceResponse.d.ts +40 -0
  44. package/dist/models/PaginatedAdminNoteResourceResponse.js +57 -0
  45. package/dist/models/PaginatedOrderListResourceResponse.d.ts +40 -0
  46. package/dist/models/PaginatedOrderListResourceResponse.js +57 -0
  47. package/dist/models/ProductChildCartLiteResource.d.ts +18 -0
  48. package/dist/models/ProductChildCartLiteResource.js +12 -0
  49. package/dist/models/StoreCartRequestShippingAddress.d.ts +2 -2
  50. package/dist/models/StoreCartRequestShippingAddress.js +2 -2
  51. package/dist/models/StoreListResource.d.ts +2 -2
  52. package/dist/models/StoreListResource.js +4 -4
  53. package/dist/models/StoreResource.d.ts +1 -1
  54. package/dist/models/StoreResource.js +1 -3
  55. package/dist/models/StoreStoreRequestAddress.d.ts +0 -6
  56. package/dist/models/StoreStoreRequestAddress.js +0 -2
  57. package/dist/models/UpdateItemOrderRequest.d.ts +38 -0
  58. package/dist/models/UpdateItemOrderRequest.js +53 -0
  59. package/dist/models/UpdateOrderRequest.d.ts +111 -0
  60. package/dist/models/UpdateOrderRequest.js +99 -0
  61. package/dist/models/UpdateOrderRequestBillingAddress.d.ts +80 -0
  62. package/dist/models/UpdateOrderRequestBillingAddress.js +67 -0
  63. package/dist/models/UpdateOrderRequestShippingAddress.d.ts +80 -0
  64. package/dist/models/UpdateOrderRequestShippingAddress.js +67 -0
  65. package/dist/models/index.d.ts +18 -0
  66. package/dist/models/index.js +18 -0
  67. package/docs/AddressResource.md +2 -2
  68. package/docs/AdminApi.md +66 -0
  69. package/docs/AdminNoteResource.md +46 -0
  70. package/docs/AdminNoteResourceArrayResponse.md +34 -0
  71. package/docs/AdminOrderResource.md +110 -0
  72. package/docs/AdminOrderResourceArrayResponse.md +34 -0
  73. package/docs/AttachItemOrderRequest.md +38 -0
  74. package/docs/CartsApi.md +66 -0
  75. package/docs/GetAllAdminNoteRequest.md +52 -0
  76. package/docs/GetAllOrderRequest.md +52 -0
  77. package/docs/IndexOrderRequest.md +64 -0
  78. package/docs/LineItemListResource.md +2 -0
  79. package/docs/OrderListResource.md +56 -0
  80. package/docs/OrderListResourceArrayResponse.md +34 -0
  81. package/docs/OrderLiteResource.md +44 -0
  82. package/docs/OrderLiteResourceArrayResponse.md +34 -0
  83. package/docs/OrdersApi.md +675 -0
  84. package/docs/PaginatedAdminNoteResourceResponse.md +36 -0
  85. package/docs/PaginatedOrderListResourceResponse.md +36 -0
  86. package/docs/ProductChildCartLiteResource.md +6 -0
  87. package/docs/StoreCartRequestShippingAddress.md +2 -2
  88. package/docs/StoreStoreRequestAddress.md +0 -2
  89. package/docs/UpdateItemOrderRequest.md +36 -0
  90. package/docs/UpdateOrderRequest.md +52 -0
  91. package/docs/UpdateOrderRequestBillingAddress.md +50 -0
  92. package/docs/UpdateOrderRequestShippingAddress.md +50 -0
  93. package/package.json +1 -1
  94. package/src/apis/AdminApi.ts +50 -0
  95. package/src/apis/CartsApi.ts +52 -0
  96. package/src/apis/OrdersApi.ts +552 -0
  97. package/src/apis/index.ts +1 -0
  98. package/src/models/AddressFrontendResource.ts +3 -2
  99. package/src/models/AddressResource.ts +9 -9
  100. package/src/models/AdminNoteResource.ts +118 -0
  101. package/src/models/AdminNoteResourceArrayResponse.ts +73 -0
  102. package/src/models/AdminOrderResource.ts +414 -0
  103. package/src/models/AdminOrderResourceArrayResponse.ts +73 -0
  104. package/src/models/AttachItemOrderRequest.ts +83 -0
  105. package/src/models/ExternalApiLogResource.ts +3 -2
  106. package/src/models/GetAllAdminNoteRequest.ts +157 -0
  107. package/src/models/GetAllOrderRequest.ts +159 -0
  108. package/src/models/IndexOrderRequest.ts +207 -0
  109. package/src/models/LineItemListResource.ts +8 -0
  110. package/src/models/OrderListResource.ts +183 -0
  111. package/src/models/OrderListResourceArrayResponse.ts +73 -0
  112. package/src/models/OrderLiteResource.ts +109 -0
  113. package/src/models/OrderLiteResourceArrayResponse.ts +73 -0
  114. package/src/models/PaginatedAdminNoteResourceResponse.ts +90 -0
  115. package/src/models/PaginatedOrderListResourceResponse.ts +90 -0
  116. package/src/models/ProductChildCartLiteResource.ts +27 -0
  117. package/src/models/StoreCartRequestShippingAddress.ts +4 -4
  118. package/src/models/StoreListResource.ts +5 -5
  119. package/src/models/StoreResource.ts +2 -3
  120. package/src/models/StoreStoreRequestAddress.ts +0 -8
  121. package/src/models/UpdateItemOrderRequest.ts +74 -0
  122. package/src/models/UpdateOrderRequest.ts +183 -0
  123. package/src/models/UpdateOrderRequestBillingAddress.ts +130 -0
  124. package/src/models/UpdateOrderRequestShippingAddress.ts +130 -0
  125. package/src/models/index.ts +18 -0
@@ -0,0 +1,36 @@
1
+
2
+ # PaginatedOrderListResourceResponse
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `data` | [Array<OrderListResource>](OrderListResource.md)
10
+ `meta` | [PagingMetadata](PagingMetadata.md)
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import type { PaginatedOrderListResourceResponse } from '@digital8/lighting-illusions-ts-sdk'
16
+
17
+ // TODO: Update the object below with actual values
18
+ const example = {
19
+ "data": null,
20
+ "meta": null,
21
+ } satisfies PaginatedOrderListResourceResponse
22
+
23
+ console.log(example)
24
+
25
+ // Convert the instance to a JSON string
26
+ const exampleJSON: string = JSON.stringify(example)
27
+ console.log(exampleJSON)
28
+
29
+ // Parse the JSON string back to an object
30
+ const exampleParsed = JSON.parse(exampleJSON) as PaginatedOrderListResourceResponse
31
+ console.log(exampleParsed)
32
+ ```
33
+
34
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
35
+
36
+
@@ -10,7 +10,10 @@ Name | Type
10
10
  `parentId` | number
11
11
  `sku` | string
12
12
  `model` | string
13
+ `modelNumber` | string
13
14
  `name` | string
15
+ `stock` | number
16
+ `salePrice` | number
14
17
  `thumbnail` | [AssetLiteResource](AssetLiteResource.md)
15
18
  `label` | [LabelResource](LabelResource.md)
16
19
 
@@ -25,7 +28,10 @@ const example = {
25
28
  "parentId": null,
26
29
  "sku": null,
27
30
  "model": null,
31
+ "modelNumber": null,
28
32
  "name": null,
33
+ "stock": null,
34
+ "salePrice": null,
29
35
  "thumbnail": null,
30
36
  "label": null,
31
37
  } satisfies ProductChildCartLiteResource
@@ -6,8 +6,8 @@
6
6
 
7
7
  Name | Type
8
8
  ------------ | -------------
9
- `addresseeName` | string
10
9
  `company` | string
10
+ `addressee` | string
11
11
  `line1` | string
12
12
  `line2` | string
13
13
  `suburb` | string
@@ -22,8 +22,8 @@ import type { StoreCartRequestShippingAddress } from '@digital8/lighting-illusio
22
22
 
23
23
  // TODO: Update the object below with actual values
24
24
  const example = {
25
- "addresseeName": null,
26
25
  "company": null,
26
+ "addressee": null,
27
27
  "line1": null,
28
28
  "line2": null,
29
29
  "suburb": null,
@@ -6,7 +6,6 @@
6
6
 
7
7
  Name | Type
8
8
  ------------ | -------------
9
- `addresseeName` | string
10
9
  `company` | string
11
10
  `line1` | string
12
11
  `line2` | string
@@ -22,7 +21,6 @@ import type { StoreStoreRequestAddress } from '@digital8/lighting-illusions-ts-s
22
21
 
23
22
  // TODO: Update the object below with actual values
24
23
  const example = {
25
- "addresseeName": null,
26
24
  "company": null,
27
25
  "line1": null,
28
26
  "line2": null,
@@ -0,0 +1,36 @@
1
+
2
+ # UpdateItemOrderRequest
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `quantity` | number
10
+ `productPrice` | number
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import type { UpdateItemOrderRequest } from '@digital8/lighting-illusions-ts-sdk'
16
+
17
+ // TODO: Update the object below with actual values
18
+ const example = {
19
+ "quantity": null,
20
+ "productPrice": null,
21
+ } satisfies UpdateItemOrderRequest
22
+
23
+ console.log(example)
24
+
25
+ // Convert the instance to a JSON string
26
+ const exampleJSON: string = JSON.stringify(example)
27
+ console.log(exampleJSON)
28
+
29
+ // Parse the JSON string back to an object
30
+ const exampleParsed = JSON.parse(exampleJSON) as UpdateItemOrderRequest
31
+ console.log(exampleParsed)
32
+ ```
33
+
34
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
35
+
36
+
@@ -0,0 +1,52 @@
1
+
2
+ # UpdateOrderRequest
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `netsuiteId` | string
10
+ `statusId` | number
11
+ `source` | string
12
+ `shippingType` | string
13
+ `shippingSubtotal` | number
14
+ `overrideShipping` | boolean
15
+ `insuranceAmount` | number
16
+ `overrideInsurance` | boolean
17
+ `shippingAddress` | [UpdateOrderRequestShippingAddress](UpdateOrderRequestShippingAddress.md)
18
+ `billingAddress` | [UpdateOrderRequestBillingAddress](UpdateOrderRequestBillingAddress.md)
19
+
20
+ ## Example
21
+
22
+ ```typescript
23
+ import type { UpdateOrderRequest } from '@digital8/lighting-illusions-ts-sdk'
24
+
25
+ // TODO: Update the object below with actual values
26
+ const example = {
27
+ "netsuiteId": null,
28
+ "statusId": null,
29
+ "source": null,
30
+ "shippingType": null,
31
+ "shippingSubtotal": null,
32
+ "overrideShipping": null,
33
+ "insuranceAmount": null,
34
+ "overrideInsurance": null,
35
+ "shippingAddress": null,
36
+ "billingAddress": null,
37
+ } satisfies UpdateOrderRequest
38
+
39
+ console.log(example)
40
+
41
+ // Convert the instance to a JSON string
42
+ const exampleJSON: string = JSON.stringify(example)
43
+ console.log(exampleJSON)
44
+
45
+ // Parse the JSON string back to an object
46
+ const exampleParsed = JSON.parse(exampleJSON) as UpdateOrderRequest
47
+ console.log(exampleParsed)
48
+ ```
49
+
50
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
51
+
52
+
@@ -0,0 +1,50 @@
1
+
2
+ # UpdateOrderRequestBillingAddress
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `adresseeName` | string
10
+ `addressee` | string
11
+ `company` | string
12
+ `line1` | string
13
+ `line2` | string
14
+ `suburb` | string
15
+ `state` | string
16
+ `postcode` | string
17
+ `country` | string
18
+
19
+ ## Example
20
+
21
+ ```typescript
22
+ import type { UpdateOrderRequestBillingAddress } from '@digital8/lighting-illusions-ts-sdk'
23
+
24
+ // TODO: Update the object below with actual values
25
+ const example = {
26
+ "adresseeName": null,
27
+ "addressee": null,
28
+ "company": null,
29
+ "line1": null,
30
+ "line2": null,
31
+ "suburb": null,
32
+ "state": null,
33
+ "postcode": null,
34
+ "country": null,
35
+ } satisfies UpdateOrderRequestBillingAddress
36
+
37
+ console.log(example)
38
+
39
+ // Convert the instance to a JSON string
40
+ const exampleJSON: string = JSON.stringify(example)
41
+ console.log(exampleJSON)
42
+
43
+ // Parse the JSON string back to an object
44
+ const exampleParsed = JSON.parse(exampleJSON) as UpdateOrderRequestBillingAddress
45
+ console.log(exampleParsed)
46
+ ```
47
+
48
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
49
+
50
+
@@ -0,0 +1,50 @@
1
+
2
+ # UpdateOrderRequestShippingAddress
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `adresseeName` | string
10
+ `addressee` | string
11
+ `company` | string
12
+ `line1` | string
13
+ `line2` | string
14
+ `suburb` | string
15
+ `state` | string
16
+ `postcode` | string
17
+ `country` | string
18
+
19
+ ## Example
20
+
21
+ ```typescript
22
+ import type { UpdateOrderRequestShippingAddress } from '@digital8/lighting-illusions-ts-sdk'
23
+
24
+ // TODO: Update the object below with actual values
25
+ const example = {
26
+ "adresseeName": null,
27
+ "addressee": null,
28
+ "company": null,
29
+ "line1": null,
30
+ "line2": null,
31
+ "suburb": null,
32
+ "state": null,
33
+ "postcode": null,
34
+ "country": null,
35
+ } satisfies UpdateOrderRequestShippingAddress
36
+
37
+ console.log(example)
38
+
39
+ // Convert the instance to a JSON string
40
+ const exampleJSON: string = JSON.stringify(example)
41
+ console.log(exampleJSON)
42
+
43
+ // Parse the JSON string back to an object
44
+ const exampleParsed = JSON.parse(exampleJSON) as UpdateOrderRequestShippingAddress
45
+ console.log(exampleParsed)
46
+ ```
47
+
48
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
49
+
50
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digital8/lighting-illusions-ts-sdk",
3
- "version": "0.0.1901",
3
+ "version": "0.0.1903",
4
4
  "description": "OpenAPI client for @digital8/lighting-illusions-ts-sdk",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -15,12 +15,18 @@
15
15
 
16
16
  import * as runtime from '../runtime';
17
17
  import type {
18
+ AdminNoteResourceArrayResponse,
18
19
  GenericResponse,
20
+ GetAllAdminNoteRequest,
19
21
  GetHierarchyProductCategoryRequest,
20
22
  } from '../models/index';
21
23
  import {
24
+ AdminNoteResourceArrayResponseFromJSON,
25
+ AdminNoteResourceArrayResponseToJSON,
22
26
  GenericResponseFromJSON,
23
27
  GenericResponseToJSON,
28
+ GetAllAdminNoteRequestFromJSON,
29
+ GetAllAdminNoteRequestToJSON,
24
30
  GetHierarchyProductCategoryRequestFromJSON,
25
31
  GetHierarchyProductCategoryRequestToJSON,
26
32
  } from '../models/index';
@@ -37,6 +43,10 @@ export interface GenerateTGNDataFeedAdminRequest {
37
43
  getHierarchyProductCategoryRequest?: GetHierarchyProductCategoryRequest;
38
44
  }
39
45
 
46
+ export interface GetAllAdminNoteOperationRequest {
47
+ getAllAdminNoteRequest?: GetAllAdminNoteRequest;
48
+ }
49
+
40
50
  /**
41
51
  *
42
52
  */
@@ -162,4 +172,44 @@ export class AdminApi extends runtime.BaseAPI {
162
172
  return await response.value();
163
173
  }
164
174
 
175
+ /**
176
+ * Creates request options for getAllAdminNote without sending the request
177
+ */
178
+ async getAllAdminNoteRequestOpts(requestParameters: GetAllAdminNoteOperationRequest): Promise<runtime.RequestOpts> {
179
+ const queryParameters: any = {};
180
+
181
+ const headerParameters: runtime.HTTPHeaders = {};
182
+
183
+ headerParameters['Content-Type'] = 'application/json';
184
+
185
+
186
+ let urlPath = `/admin-api/admin/notes/all`;
187
+
188
+ return {
189
+ path: urlPath,
190
+ method: 'POST',
191
+ headers: headerParameters,
192
+ query: queryParameters,
193
+ body: GetAllAdminNoteRequestToJSON(requestParameters['getAllAdminNoteRequest']),
194
+ };
195
+ }
196
+
197
+ /**
198
+ * Auto-generated: getAllAdminNote
199
+ */
200
+ async getAllAdminNoteRaw(requestParameters: GetAllAdminNoteOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AdminNoteResourceArrayResponse>> {
201
+ const requestOptions = await this.getAllAdminNoteRequestOpts(requestParameters);
202
+ const response = await this.request(requestOptions, initOverrides);
203
+
204
+ return new runtime.JSONApiResponse(response, (jsonValue) => AdminNoteResourceArrayResponseFromJSON(jsonValue));
205
+ }
206
+
207
+ /**
208
+ * Auto-generated: getAllAdminNote
209
+ */
210
+ async getAllAdminNote(requestParameters: GetAllAdminNoteOperationRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AdminNoteResourceArrayResponse> {
211
+ const response = await this.getAllAdminNoteRaw(requestParameters, initOverrides);
212
+ return await response.value();
213
+ }
214
+
165
215
  }
@@ -15,6 +15,7 @@
15
15
 
16
16
  import * as runtime from '../runtime';
17
17
  import type {
18
+ AdminOrderResource,
18
19
  AttachCouponCartRequest,
19
20
  AttachItemCartRequest,
20
21
  CartResource,
@@ -27,6 +28,8 @@ import type {
27
28
  UpdateItemCartRequest,
28
29
  } from '../models/index';
29
30
  import {
31
+ AdminOrderResourceFromJSON,
32
+ AdminOrderResourceToJSON,
30
33
  AttachCouponCartRequestFromJSON,
31
34
  AttachCouponCartRequestToJSON,
32
35
  AttachItemCartRequestFromJSON,
@@ -89,6 +92,10 @@ export interface StoreCartOperationRequest {
89
92
  storeCartRequest?: StoreCartRequest;
90
93
  }
91
94
 
95
+ export interface StoreFromCartOrderRequest {
96
+ cart: number;
97
+ }
98
+
92
99
  export interface UpdateCartOperationRequest {
93
100
  cart: number;
94
101
  updateCartRequest?: UpdateCartRequest;
@@ -517,6 +524,51 @@ export class CartsApi extends runtime.BaseAPI {
517
524
  return await response.value();
518
525
  }
519
526
 
527
+ /**
528
+ * Creates request options for storeFromCartOrder without sending the request
529
+ */
530
+ async storeFromCartOrderRequestOpts(requestParameters: StoreFromCartOrderRequest): Promise<runtime.RequestOpts> {
531
+ if (requestParameters['cart'] == null) {
532
+ throw new runtime.RequiredError(
533
+ 'cart',
534
+ 'Required parameter "cart" was null or undefined when calling storeFromCartOrder().'
535
+ );
536
+ }
537
+
538
+ const queryParameters: any = {};
539
+
540
+ const headerParameters: runtime.HTTPHeaders = {};
541
+
542
+
543
+ let urlPath = `/admin-api/carts/{cart}/place-order`;
544
+ urlPath = urlPath.replace(`{${"cart"}}`, encodeURIComponent(String(requestParameters['cart'])));
545
+
546
+ return {
547
+ path: urlPath,
548
+ method: 'POST',
549
+ headers: headerParameters,
550
+ query: queryParameters,
551
+ };
552
+ }
553
+
554
+ /**
555
+ * Auto-generated: storeFromCartOrder
556
+ */
557
+ async storeFromCartOrderRaw(requestParameters: StoreFromCartOrderRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AdminOrderResource>> {
558
+ const requestOptions = await this.storeFromCartOrderRequestOpts(requestParameters);
559
+ const response = await this.request(requestOptions, initOverrides);
560
+
561
+ return new runtime.JSONApiResponse(response, (jsonValue) => AdminOrderResourceFromJSON(jsonValue));
562
+ }
563
+
564
+ /**
565
+ * Auto-generated: storeFromCartOrder
566
+ */
567
+ async storeFromCartOrder(requestParameters: StoreFromCartOrderRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AdminOrderResource> {
568
+ const response = await this.storeFromCartOrderRaw(requestParameters, initOverrides);
569
+ return await response.value();
570
+ }
571
+
520
572
  /**
521
573
  * Creates request options for updateCart without sending the request
522
574
  */