@digital8/lighting-illusions-ts-sdk 0.0.1845 → 0.0.1846

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 (205) hide show
  1. package/.openapi-generator/FILES +2 -74
  2. package/README.md +3 -52
  3. package/dist/apis/index.d.ts +0 -2
  4. package/dist/apis/index.js +0 -2
  5. package/dist/models/AddressFrontendResource.d.ts +1 -1
  6. package/dist/models/AddressFrontendResource.js +1 -3
  7. package/dist/models/AddressResource.d.ts +1 -1
  8. package/dist/models/AddressResource.js +1 -3
  9. package/dist/models/ExternalApiLogResource.d.ts +1 -1
  10. package/dist/models/ExternalApiLogResource.js +3 -1
  11. package/dist/models/IndexExternalApiLogRequest.d.ts +0 -6
  12. package/dist/models/IndexExternalApiLogRequest.js +0 -2
  13. package/dist/models/ProductChildSiteDetailLiteResource.d.ts +0 -7
  14. package/dist/models/ProductChildSiteDetailLiteResource.js +0 -5
  15. package/dist/models/SitePaymentConfigResource.d.ts +0 -6
  16. package/dist/models/SitePaymentConfigResource.js +0 -4
  17. package/dist/models/StoreListResource.d.ts +13 -1
  18. package/dist/models/StoreListResource.js +14 -4
  19. package/dist/models/StoreResource.d.ts +13 -1
  20. package/dist/models/StoreResource.js +14 -8
  21. package/dist/models/StoreSpecialDateResource.d.ts +2 -2
  22. package/dist/models/StoreSpecialDateResource.js +7 -5
  23. package/dist/models/StoreStockType.d.ts +25 -0
  24. package/dist/models/StoreStockType.js +51 -0
  25. package/dist/models/StoreStoreRequest.d.ts +12 -0
  26. package/dist/models/StoreStoreRequest.js +4 -0
  27. package/dist/models/UpdateSiteRequest.d.ts +0 -6
  28. package/dist/models/UpdateSiteRequest.js +0 -4
  29. package/dist/models/UpdateStoreRequest.d.ts +12 -0
  30. package/dist/models/UpdateStoreRequest.js +4 -0
  31. package/dist/models/index.d.ts +1 -35
  32. package/dist/models/index.js +1 -35
  33. package/docs/IndexExternalApiLogRequest.md +0 -2
  34. package/docs/ProductChildSiteDetailLiteResource.md +0 -2
  35. package/docs/SitePaymentConfigResource.md +0 -2
  36. package/docs/StoreListResource.md +4 -0
  37. package/docs/StoreResource.md +4 -0
  38. package/docs/StoreSpecialDateResource.md +1 -1
  39. package/docs/{AddressType.md → StoreStockType.md} +4 -4
  40. package/docs/StoreStoreRequest.md +4 -0
  41. package/docs/UpdateSiteRequest.md +0 -2
  42. package/docs/UpdateStoreRequest.md +4 -0
  43. package/package.json +1 -1
  44. package/src/apis/index.ts +0 -2
  45. package/src/models/AddressFrontendResource.ts +2 -3
  46. package/src/models/AddressResource.ts +2 -3
  47. package/src/models/ExternalApiLogResource.ts +3 -2
  48. package/src/models/IndexExternalApiLogRequest.ts +0 -8
  49. package/src/models/ProductChildSiteDetailLiteResource.ts +0 -16
  50. package/src/models/SitePaymentConfigResource.ts +0 -9
  51. package/src/models/StoreListResource.ts +24 -5
  52. package/src/models/StoreResource.ts +26 -9
  53. package/src/models/StoreSpecialDateResource.ts +8 -7
  54. package/src/models/StoreStockType.ts +53 -0
  55. package/src/models/StoreStoreRequest.ts +16 -0
  56. package/src/models/UpdateSiteRequest.ts +0 -9
  57. package/src/models/UpdateStoreRequest.ts +16 -0
  58. package/src/models/index.ts +1 -35
  59. package/dist/apis/CartsApi.d.ts +0 -190
  60. package/dist/apis/CartsApi.js +0 -745
  61. package/dist/apis/CustomersApi.d.ts +0 -79
  62. package/dist/apis/CustomersApi.js +0 -316
  63. package/dist/models/AddressType.d.ts +0 -25
  64. package/dist/models/AddressType.js +0 -51
  65. package/dist/models/AdminCartResource.d.ts +0 -234
  66. package/dist/models/AdminCartResource.js +0 -169
  67. package/dist/models/AdminCartResourceArrayResponse.d.ts +0 -33
  68. package/dist/models/AdminCartResourceArrayResponse.js +0 -50
  69. package/dist/models/AttachCouponCartRequest.d.ts +0 -32
  70. package/dist/models/AttachCouponCartRequest.js +0 -51
  71. package/dist/models/AttachItemCartRequest.d.ts +0 -44
  72. package/dist/models/AttachItemCartRequest.js +0 -57
  73. package/dist/models/CartListResource.d.ts +0 -143
  74. package/dist/models/CartListResource.js +0 -110
  75. package/dist/models/CartListResourceArrayResponse.d.ts +0 -33
  76. package/dist/models/CartListResourceArrayResponse.js +0 -50
  77. package/dist/models/CartOrderSource.d.ts +0 -29
  78. package/dist/models/CartOrderSource.js +0 -55
  79. package/dist/models/CartStatus.d.ts +0 -26
  80. package/dist/models/CartStatus.js +0 -52
  81. package/dist/models/CustomerListResource.d.ts +0 -76
  82. package/dist/models/CustomerListResource.js +0 -77
  83. package/dist/models/CustomerListResourceArrayResponse.d.ts +0 -33
  84. package/dist/models/CustomerListResourceArrayResponse.js +0 -50
  85. package/dist/models/CustomerResource.d.ts +0 -76
  86. package/dist/models/CustomerResource.js +0 -77
  87. package/dist/models/CustomerResourceArrayResponse.d.ts +0 -33
  88. package/dist/models/CustomerResourceArrayResponse.js +0 -50
  89. package/dist/models/DetachCouponCartRequest.d.ts +0 -32
  90. package/dist/models/DetachCouponCartRequest.js +0 -51
  91. package/dist/models/DiscountType.d.ts +0 -26
  92. package/dist/models/DiscountType.js +0 -52
  93. package/dist/models/DiscountValueType.d.ts +0 -25
  94. package/dist/models/DiscountValueType.js +0 -51
  95. package/dist/models/IndexCartRequest.d.ts +0 -154
  96. package/dist/models/IndexCartRequest.js +0 -105
  97. package/dist/models/IndexCustomerRequest.d.ts +0 -99
  98. package/dist/models/IndexCustomerRequest.js +0 -83
  99. package/dist/models/LiAddressResource.d.ts +0 -86
  100. package/dist/models/LiAddressResource.js +0 -83
  101. package/dist/models/LiAddressResourceArrayResponse.d.ts +0 -33
  102. package/dist/models/LiAddressResourceArrayResponse.js +0 -50
  103. package/dist/models/LineItemListResource.d.ts +0 -75
  104. package/dist/models/LineItemListResource.js +0 -78
  105. package/dist/models/LineItemListResourceArrayResponse.d.ts +0 -33
  106. package/dist/models/LineItemListResourceArrayResponse.js +0 -50
  107. package/dist/models/PaginatedCartListResourceResponse.d.ts +0 -40
  108. package/dist/models/PaginatedCartListResourceResponse.js +0 -57
  109. package/dist/models/PaginatedCustomerListResourceResponse.d.ts +0 -40
  110. package/dist/models/PaginatedCustomerListResourceResponse.js +0 -57
  111. package/dist/models/ProductChildCartLiteResource.d.ts +0 -70
  112. package/dist/models/ProductChildCartLiteResource.js +0 -77
  113. package/dist/models/ProductChildCartLiteResourceArrayResponse.d.ts +0 -33
  114. package/dist/models/ProductChildCartLiteResourceArrayResponse.js +0 -50
  115. package/dist/models/ShippingType.d.ts +0 -28
  116. package/dist/models/ShippingType.js +0 -54
  117. package/dist/models/StoreCartRequest.d.ts +0 -142
  118. package/dist/models/StoreCartRequest.js +0 -106
  119. package/dist/models/StoreCartRequestCustomer.d.ts +0 -50
  120. package/dist/models/StoreCartRequestCustomer.js +0 -55
  121. package/dist/models/StoreCartRequestItemsInner.d.ts +0 -44
  122. package/dist/models/StoreCartRequestItemsInner.js +0 -57
  123. package/dist/models/StoreCartRequestShippingAddress.d.ts +0 -68
  124. package/dist/models/StoreCartRequestShippingAddress.js +0 -61
  125. package/dist/models/StoreCustomerRequest.d.ts +0 -56
  126. package/dist/models/StoreCustomerRequest.js +0 -65
  127. package/dist/models/UpdateCartRequest.d.ts +0 -117
  128. package/dist/models/UpdateCartRequest.js +0 -93
  129. package/dist/models/UpdateCustomerRequest.d.ts +0 -56
  130. package/dist/models/UpdateCustomerRequest.js +0 -63
  131. package/dist/models/UpdateItemCartRequest.d.ts +0 -38
  132. package/dist/models/UpdateItemCartRequest.js +0 -53
  133. package/docs/AdminCartResource.md +0 -100
  134. package/docs/AdminCartResourceArrayResponse.md +0 -34
  135. package/docs/AttachCouponCartRequest.md +0 -34
  136. package/docs/AttachItemCartRequest.md +0 -38
  137. package/docs/CartListResource.md +0 -70
  138. package/docs/CartListResourceArrayResponse.md +0 -34
  139. package/docs/CartOrderSource.md +0 -32
  140. package/docs/CartStatus.md +0 -32
  141. package/docs/CartsApi.md +0 -755
  142. package/docs/CustomerListResource.md +0 -48
  143. package/docs/CustomerListResourceArrayResponse.md +0 -34
  144. package/docs/CustomerResource.md +0 -48
  145. package/docs/CustomerResourceArrayResponse.md +0 -34
  146. package/docs/CustomersApi.md +0 -275
  147. package/docs/DetachCouponCartRequest.md +0 -34
  148. package/docs/DiscountType.md +0 -32
  149. package/docs/DiscountValueType.md +0 -32
  150. package/docs/IndexCartRequest.md +0 -66
  151. package/docs/IndexCustomerRequest.md +0 -50
  152. package/docs/LiAddressResource.md +0 -52
  153. package/docs/LiAddressResourceArrayResponse.md +0 -34
  154. package/docs/LineItemListResource.md +0 -48
  155. package/docs/LineItemListResourceArrayResponse.md +0 -34
  156. package/docs/PaginatedCartListResourceResponse.md +0 -36
  157. package/docs/PaginatedCustomerListResourceResponse.md +0 -36
  158. package/docs/ProductChildCartLiteResource.md +0 -46
  159. package/docs/ProductChildCartLiteResourceArrayResponse.md +0 -34
  160. package/docs/ShippingType.md +0 -32
  161. package/docs/StoreCartRequest.md +0 -62
  162. package/docs/StoreCartRequestCustomer.md +0 -40
  163. package/docs/StoreCartRequestItemsInner.md +0 -38
  164. package/docs/StoreCartRequestShippingAddress.md +0 -46
  165. package/docs/StoreCustomerRequest.md +0 -42
  166. package/docs/UpdateCartRequest.md +0 -54
  167. package/docs/UpdateCustomerRequest.md +0 -42
  168. package/docs/UpdateItemCartRequest.md +0 -36
  169. package/src/apis/CartsApi.ts +0 -624
  170. package/src/apis/CustomersApi.ts +0 -232
  171. package/src/models/AddressType.ts +0 -53
  172. package/src/models/AdminCartResource.ts +0 -383
  173. package/src/models/AdminCartResourceArrayResponse.ts +0 -73
  174. package/src/models/AttachCouponCartRequest.ts +0 -66
  175. package/src/models/AttachItemCartRequest.ts +0 -83
  176. package/src/models/CartListResource.ts +0 -242
  177. package/src/models/CartListResourceArrayResponse.ts +0 -73
  178. package/src/models/CartOrderSource.ts +0 -57
  179. package/src/models/CartStatus.ts +0 -54
  180. package/src/models/CustomerListResource.ts +0 -142
  181. package/src/models/CustomerListResourceArrayResponse.ts +0 -73
  182. package/src/models/CustomerResource.ts +0 -142
  183. package/src/models/CustomerResourceArrayResponse.ts +0 -73
  184. package/src/models/DetachCouponCartRequest.ts +0 -66
  185. package/src/models/DiscountType.ts +0 -54
  186. package/src/models/DiscountValueType.ts +0 -53
  187. package/src/models/IndexCartRequest.ts +0 -224
  188. package/src/models/IndexCustomerRequest.ts +0 -152
  189. package/src/models/LiAddressResource.ts +0 -145
  190. package/src/models/LiAddressResourceArrayResponse.ts +0 -73
  191. package/src/models/LineItemListResource.ts +0 -136
  192. package/src/models/LineItemListResourceArrayResponse.ts +0 -73
  193. package/src/models/PaginatedCartListResourceResponse.ts +0 -90
  194. package/src/models/PaginatedCustomerListResourceResponse.ts +0 -90
  195. package/src/models/ProductChildCartLiteResource.ts +0 -135
  196. package/src/models/ProductChildCartLiteResourceArrayResponse.ts +0 -73
  197. package/src/models/ShippingType.ts +0 -56
  198. package/src/models/StoreCartRequest.ts +0 -228
  199. package/src/models/StoreCartRequestCustomer.ts +0 -89
  200. package/src/models/StoreCartRequestItemsInner.ts +0 -83
  201. package/src/models/StoreCartRequestShippingAddress.ts +0 -113
  202. package/src/models/StoreCustomerRequest.ts +0 -101
  203. package/src/models/UpdateCartRequest.ts +0 -187
  204. package/src/models/UpdateCustomerRequest.ts +0 -100
  205. package/src/models/UpdateItemCartRequest.ts +0 -74
@@ -1,78 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * My API
6
- * API documentation for my Laravel app
7
- *
8
- * The version of the OpenAPI document: 1.0.0
9
- *
10
- *
11
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
- * https://openapi-generator.tech
13
- * Do not edit the class manually.
14
- */
15
- Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.instanceOfLineItemListResource = instanceOfLineItemListResource;
17
- exports.LineItemListResourceFromJSON = LineItemListResourceFromJSON;
18
- exports.LineItemListResourceFromJSONTyped = LineItemListResourceFromJSONTyped;
19
- exports.LineItemListResourceToJSON = LineItemListResourceToJSON;
20
- exports.LineItemListResourceToJSONTyped = LineItemListResourceToJSONTyped;
21
- var ProductChildCartLiteResource_1 = require("./ProductChildCartLiteResource");
22
- /**
23
- * Check if a given object implements the LineItemListResource interface.
24
- */
25
- function instanceOfLineItemListResource(value) {
26
- if (!('quantity' in value) || value['quantity'] === undefined)
27
- return false;
28
- if (!('productPrice' in value) || value['productPrice'] === undefined)
29
- return false;
30
- if (!('productDiscount' in value) || value['productDiscount'] === undefined)
31
- return false;
32
- if (!('totalDiscount' in value) || value['totalDiscount'] === undefined)
33
- return false;
34
- if (!('lineSubtotal' in value) || value['lineSubtotal'] === undefined)
35
- return false;
36
- if (!('discounts' in value) || value['discounts'] === undefined)
37
- return false;
38
- if (!('productChild' in value) || value['productChild'] === undefined)
39
- return false;
40
- return true;
41
- }
42
- function LineItemListResourceFromJSON(json) {
43
- return LineItemListResourceFromJSONTyped(json, false);
44
- }
45
- function LineItemListResourceFromJSONTyped(json, ignoreDiscriminator) {
46
- if (json == null) {
47
- return json;
48
- }
49
- return {
50
- 'id': json['id'] == null ? undefined : json['id'],
51
- 'quantity': json['quantity'],
52
- 'productPrice': json['product_price'],
53
- 'productDiscount': json['product_discount'],
54
- 'totalDiscount': json['total_discount'],
55
- 'lineSubtotal': json['line_subtotal'],
56
- 'discounts': json['discounts'],
57
- 'productChild': (0, ProductChildCartLiteResource_1.ProductChildCartLiteResourceFromJSON)(json['product_child']),
58
- };
59
- }
60
- function LineItemListResourceToJSON(json) {
61
- return LineItemListResourceToJSONTyped(json, false);
62
- }
63
- function LineItemListResourceToJSONTyped(value, ignoreDiscriminator) {
64
- if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
65
- if (value == null) {
66
- return value;
67
- }
68
- return {
69
- 'id': value['id'],
70
- 'quantity': value['quantity'],
71
- 'product_price': value['productPrice'],
72
- 'product_discount': value['productDiscount'],
73
- 'total_discount': value['totalDiscount'],
74
- 'line_subtotal': value['lineSubtotal'],
75
- 'discounts': value['discounts'],
76
- 'product_child': (0, ProductChildCartLiteResource_1.ProductChildCartLiteResourceToJSON)(value['productChild']),
77
- };
78
- }
@@ -1,33 +0,0 @@
1
- /**
2
- * My API
3
- * API documentation for my Laravel app
4
- *
5
- * The version of the OpenAPI document: 1.0.0
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import type { LineItemListResource } from './LineItemListResource';
13
- /**
14
- *
15
- * @export
16
- * @interface LineItemListResourceArrayResponse
17
- */
18
- export interface LineItemListResourceArrayResponse {
19
- /**
20
- *
21
- * @type {Array<LineItemListResource>}
22
- * @memberof LineItemListResourceArrayResponse
23
- */
24
- data?: Array<LineItemListResource>;
25
- }
26
- /**
27
- * Check if a given object implements the LineItemListResourceArrayResponse interface.
28
- */
29
- export declare function instanceOfLineItemListResourceArrayResponse(value: object): value is LineItemListResourceArrayResponse;
30
- export declare function LineItemListResourceArrayResponseFromJSON(json: any): LineItemListResourceArrayResponse;
31
- export declare function LineItemListResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): LineItemListResourceArrayResponse;
32
- export declare function LineItemListResourceArrayResponseToJSON(json: any): LineItemListResourceArrayResponse;
33
- export declare function LineItemListResourceArrayResponseToJSONTyped(value?: LineItemListResourceArrayResponse | null, ignoreDiscriminator?: boolean): any;
@@ -1,50 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * My API
6
- * API documentation for my Laravel app
7
- *
8
- * The version of the OpenAPI document: 1.0.0
9
- *
10
- *
11
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
- * https://openapi-generator.tech
13
- * Do not edit the class manually.
14
- */
15
- Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.instanceOfLineItemListResourceArrayResponse = instanceOfLineItemListResourceArrayResponse;
17
- exports.LineItemListResourceArrayResponseFromJSON = LineItemListResourceArrayResponseFromJSON;
18
- exports.LineItemListResourceArrayResponseFromJSONTyped = LineItemListResourceArrayResponseFromJSONTyped;
19
- exports.LineItemListResourceArrayResponseToJSON = LineItemListResourceArrayResponseToJSON;
20
- exports.LineItemListResourceArrayResponseToJSONTyped = LineItemListResourceArrayResponseToJSONTyped;
21
- var LineItemListResource_1 = require("./LineItemListResource");
22
- /**
23
- * Check if a given object implements the LineItemListResourceArrayResponse interface.
24
- */
25
- function instanceOfLineItemListResourceArrayResponse(value) {
26
- return true;
27
- }
28
- function LineItemListResourceArrayResponseFromJSON(json) {
29
- return LineItemListResourceArrayResponseFromJSONTyped(json, false);
30
- }
31
- function LineItemListResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
32
- if (json == null) {
33
- return json;
34
- }
35
- return {
36
- 'data': json['data'] == null ? undefined : (json['data'].map(LineItemListResource_1.LineItemListResourceFromJSON)),
37
- };
38
- }
39
- function LineItemListResourceArrayResponseToJSON(json) {
40
- return LineItemListResourceArrayResponseToJSONTyped(json, false);
41
- }
42
- function LineItemListResourceArrayResponseToJSONTyped(value, ignoreDiscriminator) {
43
- if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
44
- if (value == null) {
45
- return value;
46
- }
47
- return {
48
- 'data': value['data'] == null ? undefined : (value['data'].map(LineItemListResource_1.LineItemListResourceToJSON)),
49
- };
50
- }
@@ -1,40 +0,0 @@
1
- /**
2
- * My API
3
- * API documentation for my Laravel app
4
- *
5
- * The version of the OpenAPI document: 1.0.0
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import type { PagingMetadata } from './PagingMetadata';
13
- import type { CartListResource } from './CartListResource';
14
- /**
15
- *
16
- * @export
17
- * @interface PaginatedCartListResourceResponse
18
- */
19
- export interface PaginatedCartListResourceResponse {
20
- /**
21
- *
22
- * @type {Array<CartListResource>}
23
- * @memberof PaginatedCartListResourceResponse
24
- */
25
- data: Array<CartListResource>;
26
- /**
27
- *
28
- * @type {PagingMetadata}
29
- * @memberof PaginatedCartListResourceResponse
30
- */
31
- meta: PagingMetadata;
32
- }
33
- /**
34
- * Check if a given object implements the PaginatedCartListResourceResponse interface.
35
- */
36
- export declare function instanceOfPaginatedCartListResourceResponse(value: object): value is PaginatedCartListResourceResponse;
37
- export declare function PaginatedCartListResourceResponseFromJSON(json: any): PaginatedCartListResourceResponse;
38
- export declare function PaginatedCartListResourceResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedCartListResourceResponse;
39
- export declare function PaginatedCartListResourceResponseToJSON(json: any): PaginatedCartListResourceResponse;
40
- export declare function PaginatedCartListResourceResponseToJSONTyped(value?: PaginatedCartListResourceResponse | null, ignoreDiscriminator?: boolean): any;
@@ -1,57 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * My API
6
- * API documentation for my Laravel app
7
- *
8
- * The version of the OpenAPI document: 1.0.0
9
- *
10
- *
11
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
- * https://openapi-generator.tech
13
- * Do not edit the class manually.
14
- */
15
- Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.instanceOfPaginatedCartListResourceResponse = instanceOfPaginatedCartListResourceResponse;
17
- exports.PaginatedCartListResourceResponseFromJSON = PaginatedCartListResourceResponseFromJSON;
18
- exports.PaginatedCartListResourceResponseFromJSONTyped = PaginatedCartListResourceResponseFromJSONTyped;
19
- exports.PaginatedCartListResourceResponseToJSON = PaginatedCartListResourceResponseToJSON;
20
- exports.PaginatedCartListResourceResponseToJSONTyped = PaginatedCartListResourceResponseToJSONTyped;
21
- var PagingMetadata_1 = require("./PagingMetadata");
22
- var CartListResource_1 = require("./CartListResource");
23
- /**
24
- * Check if a given object implements the PaginatedCartListResourceResponse interface.
25
- */
26
- function instanceOfPaginatedCartListResourceResponse(value) {
27
- if (!('data' in value) || value['data'] === undefined)
28
- return false;
29
- if (!('meta' in value) || value['meta'] === undefined)
30
- return false;
31
- return true;
32
- }
33
- function PaginatedCartListResourceResponseFromJSON(json) {
34
- return PaginatedCartListResourceResponseFromJSONTyped(json, false);
35
- }
36
- function PaginatedCartListResourceResponseFromJSONTyped(json, ignoreDiscriminator) {
37
- if (json == null) {
38
- return json;
39
- }
40
- return {
41
- 'data': (json['data'].map(CartListResource_1.CartListResourceFromJSON)),
42
- 'meta': (0, PagingMetadata_1.PagingMetadataFromJSON)(json['meta']),
43
- };
44
- }
45
- function PaginatedCartListResourceResponseToJSON(json) {
46
- return PaginatedCartListResourceResponseToJSONTyped(json, false);
47
- }
48
- function PaginatedCartListResourceResponseToJSONTyped(value, ignoreDiscriminator) {
49
- if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
50
- if (value == null) {
51
- return value;
52
- }
53
- return {
54
- 'data': (value['data'].map(CartListResource_1.CartListResourceToJSON)),
55
- 'meta': (0, PagingMetadata_1.PagingMetadataToJSON)(value['meta']),
56
- };
57
- }
@@ -1,40 +0,0 @@
1
- /**
2
- * My API
3
- * API documentation for my Laravel app
4
- *
5
- * The version of the OpenAPI document: 1.0.0
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import type { PagingMetadata } from './PagingMetadata';
13
- import type { CustomerListResource } from './CustomerListResource';
14
- /**
15
- *
16
- * @export
17
- * @interface PaginatedCustomerListResourceResponse
18
- */
19
- export interface PaginatedCustomerListResourceResponse {
20
- /**
21
- *
22
- * @type {Array<CustomerListResource>}
23
- * @memberof PaginatedCustomerListResourceResponse
24
- */
25
- data: Array<CustomerListResource>;
26
- /**
27
- *
28
- * @type {PagingMetadata}
29
- * @memberof PaginatedCustomerListResourceResponse
30
- */
31
- meta: PagingMetadata;
32
- }
33
- /**
34
- * Check if a given object implements the PaginatedCustomerListResourceResponse interface.
35
- */
36
- export declare function instanceOfPaginatedCustomerListResourceResponse(value: object): value is PaginatedCustomerListResourceResponse;
37
- export declare function PaginatedCustomerListResourceResponseFromJSON(json: any): PaginatedCustomerListResourceResponse;
38
- export declare function PaginatedCustomerListResourceResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedCustomerListResourceResponse;
39
- export declare function PaginatedCustomerListResourceResponseToJSON(json: any): PaginatedCustomerListResourceResponse;
40
- export declare function PaginatedCustomerListResourceResponseToJSONTyped(value?: PaginatedCustomerListResourceResponse | null, ignoreDiscriminator?: boolean): any;
@@ -1,57 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * My API
6
- * API documentation for my Laravel app
7
- *
8
- * The version of the OpenAPI document: 1.0.0
9
- *
10
- *
11
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
- * https://openapi-generator.tech
13
- * Do not edit the class manually.
14
- */
15
- Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.instanceOfPaginatedCustomerListResourceResponse = instanceOfPaginatedCustomerListResourceResponse;
17
- exports.PaginatedCustomerListResourceResponseFromJSON = PaginatedCustomerListResourceResponseFromJSON;
18
- exports.PaginatedCustomerListResourceResponseFromJSONTyped = PaginatedCustomerListResourceResponseFromJSONTyped;
19
- exports.PaginatedCustomerListResourceResponseToJSON = PaginatedCustomerListResourceResponseToJSON;
20
- exports.PaginatedCustomerListResourceResponseToJSONTyped = PaginatedCustomerListResourceResponseToJSONTyped;
21
- var PagingMetadata_1 = require("./PagingMetadata");
22
- var CustomerListResource_1 = require("./CustomerListResource");
23
- /**
24
- * Check if a given object implements the PaginatedCustomerListResourceResponse interface.
25
- */
26
- function instanceOfPaginatedCustomerListResourceResponse(value) {
27
- if (!('data' in value) || value['data'] === undefined)
28
- return false;
29
- if (!('meta' in value) || value['meta'] === undefined)
30
- return false;
31
- return true;
32
- }
33
- function PaginatedCustomerListResourceResponseFromJSON(json) {
34
- return PaginatedCustomerListResourceResponseFromJSONTyped(json, false);
35
- }
36
- function PaginatedCustomerListResourceResponseFromJSONTyped(json, ignoreDiscriminator) {
37
- if (json == null) {
38
- return json;
39
- }
40
- return {
41
- 'data': (json['data'].map(CustomerListResource_1.CustomerListResourceFromJSON)),
42
- 'meta': (0, PagingMetadata_1.PagingMetadataFromJSON)(json['meta']),
43
- };
44
- }
45
- function PaginatedCustomerListResourceResponseToJSON(json) {
46
- return PaginatedCustomerListResourceResponseToJSONTyped(json, false);
47
- }
48
- function PaginatedCustomerListResourceResponseToJSONTyped(value, ignoreDiscriminator) {
49
- if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
50
- if (value == null) {
51
- return value;
52
- }
53
- return {
54
- 'data': (value['data'].map(CustomerListResource_1.CustomerListResourceToJSON)),
55
- 'meta': (0, PagingMetadata_1.PagingMetadataToJSON)(value['meta']),
56
- };
57
- }
@@ -1,70 +0,0 @@
1
- /**
2
- * My API
3
- * API documentation for my Laravel app
4
- *
5
- * The version of the OpenAPI document: 1.0.0
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import type { LabelResource } from './LabelResource';
13
- import type { AssetLiteResource } from './AssetLiteResource';
14
- /**
15
- *
16
- * @export
17
- * @interface ProductChildCartLiteResource
18
- */
19
- export interface ProductChildCartLiteResource {
20
- /**
21
- *
22
- * @type {number}
23
- * @memberof ProductChildCartLiteResource
24
- */
25
- id: number;
26
- /**
27
- *
28
- * @type {number}
29
- * @memberof ProductChildCartLiteResource
30
- */
31
- parentId: number;
32
- /**
33
- *
34
- * @type {string}
35
- * @memberof ProductChildCartLiteResource
36
- */
37
- sku: string;
38
- /**
39
- *
40
- * @type {string}
41
- * @memberof ProductChildCartLiteResource
42
- */
43
- model: string;
44
- /**
45
- *
46
- * @type {string}
47
- * @memberof ProductChildCartLiteResource
48
- */
49
- name: string;
50
- /**
51
- *
52
- * @type {AssetLiteResource}
53
- * @memberof ProductChildCartLiteResource
54
- */
55
- thumbnail: AssetLiteResource | null;
56
- /**
57
- *
58
- * @type {LabelResource}
59
- * @memberof ProductChildCartLiteResource
60
- */
61
- label: LabelResource | null;
62
- }
63
- /**
64
- * Check if a given object implements the ProductChildCartLiteResource interface.
65
- */
66
- export declare function instanceOfProductChildCartLiteResource(value: object): value is ProductChildCartLiteResource;
67
- export declare function ProductChildCartLiteResourceFromJSON(json: any): ProductChildCartLiteResource;
68
- export declare function ProductChildCartLiteResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductChildCartLiteResource;
69
- export declare function ProductChildCartLiteResourceToJSON(json: any): ProductChildCartLiteResource;
70
- export declare function ProductChildCartLiteResourceToJSONTyped(value?: ProductChildCartLiteResource | null, ignoreDiscriminator?: boolean): any;
@@ -1,77 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * My API
6
- * API documentation for my Laravel app
7
- *
8
- * The version of the OpenAPI document: 1.0.0
9
- *
10
- *
11
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
- * https://openapi-generator.tech
13
- * Do not edit the class manually.
14
- */
15
- Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.instanceOfProductChildCartLiteResource = instanceOfProductChildCartLiteResource;
17
- exports.ProductChildCartLiteResourceFromJSON = ProductChildCartLiteResourceFromJSON;
18
- exports.ProductChildCartLiteResourceFromJSONTyped = ProductChildCartLiteResourceFromJSONTyped;
19
- exports.ProductChildCartLiteResourceToJSON = ProductChildCartLiteResourceToJSON;
20
- exports.ProductChildCartLiteResourceToJSONTyped = ProductChildCartLiteResourceToJSONTyped;
21
- var LabelResource_1 = require("./LabelResource");
22
- var AssetLiteResource_1 = require("./AssetLiteResource");
23
- /**
24
- * Check if a given object implements the ProductChildCartLiteResource interface.
25
- */
26
- function instanceOfProductChildCartLiteResource(value) {
27
- if (!('id' in value) || value['id'] === undefined)
28
- return false;
29
- if (!('parentId' in value) || value['parentId'] === undefined)
30
- return false;
31
- if (!('sku' in value) || value['sku'] === undefined)
32
- return false;
33
- if (!('model' in value) || value['model'] === undefined)
34
- return false;
35
- if (!('name' in value) || value['name'] === undefined)
36
- return false;
37
- if (!('thumbnail' in value) || value['thumbnail'] === undefined)
38
- return false;
39
- if (!('label' in value) || value['label'] === undefined)
40
- return false;
41
- return true;
42
- }
43
- function ProductChildCartLiteResourceFromJSON(json) {
44
- return ProductChildCartLiteResourceFromJSONTyped(json, false);
45
- }
46
- function ProductChildCartLiteResourceFromJSONTyped(json, ignoreDiscriminator) {
47
- if (json == null) {
48
- return json;
49
- }
50
- return {
51
- 'id': json['id'],
52
- 'parentId': json['parent_id'],
53
- 'sku': json['sku'],
54
- 'model': json['model'],
55
- 'name': json['name'],
56
- 'thumbnail': (0, AssetLiteResource_1.AssetLiteResourceFromJSON)(json['thumbnail']),
57
- 'label': (0, LabelResource_1.LabelResourceFromJSON)(json['label']),
58
- };
59
- }
60
- function ProductChildCartLiteResourceToJSON(json) {
61
- return ProductChildCartLiteResourceToJSONTyped(json, false);
62
- }
63
- function ProductChildCartLiteResourceToJSONTyped(value, ignoreDiscriminator) {
64
- if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
65
- if (value == null) {
66
- return value;
67
- }
68
- return {
69
- 'id': value['id'],
70
- 'parent_id': value['parentId'],
71
- 'sku': value['sku'],
72
- 'model': value['model'],
73
- 'name': value['name'],
74
- 'thumbnail': (0, AssetLiteResource_1.AssetLiteResourceToJSON)(value['thumbnail']),
75
- 'label': (0, LabelResource_1.LabelResourceToJSON)(value['label']),
76
- };
77
- }
@@ -1,33 +0,0 @@
1
- /**
2
- * My API
3
- * API documentation for my Laravel app
4
- *
5
- * The version of the OpenAPI document: 1.0.0
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import type { ProductChildCartLiteResource } from './ProductChildCartLiteResource';
13
- /**
14
- *
15
- * @export
16
- * @interface ProductChildCartLiteResourceArrayResponse
17
- */
18
- export interface ProductChildCartLiteResourceArrayResponse {
19
- /**
20
- *
21
- * @type {Array<ProductChildCartLiteResource>}
22
- * @memberof ProductChildCartLiteResourceArrayResponse
23
- */
24
- data?: Array<ProductChildCartLiteResource>;
25
- }
26
- /**
27
- * Check if a given object implements the ProductChildCartLiteResourceArrayResponse interface.
28
- */
29
- export declare function instanceOfProductChildCartLiteResourceArrayResponse(value: object): value is ProductChildCartLiteResourceArrayResponse;
30
- export declare function ProductChildCartLiteResourceArrayResponseFromJSON(json: any): ProductChildCartLiteResourceArrayResponse;
31
- export declare function ProductChildCartLiteResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductChildCartLiteResourceArrayResponse;
32
- export declare function ProductChildCartLiteResourceArrayResponseToJSON(json: any): ProductChildCartLiteResourceArrayResponse;
33
- export declare function ProductChildCartLiteResourceArrayResponseToJSONTyped(value?: ProductChildCartLiteResourceArrayResponse | null, ignoreDiscriminator?: boolean): any;
@@ -1,50 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * My API
6
- * API documentation for my Laravel app
7
- *
8
- * The version of the OpenAPI document: 1.0.0
9
- *
10
- *
11
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
- * https://openapi-generator.tech
13
- * Do not edit the class manually.
14
- */
15
- Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.instanceOfProductChildCartLiteResourceArrayResponse = instanceOfProductChildCartLiteResourceArrayResponse;
17
- exports.ProductChildCartLiteResourceArrayResponseFromJSON = ProductChildCartLiteResourceArrayResponseFromJSON;
18
- exports.ProductChildCartLiteResourceArrayResponseFromJSONTyped = ProductChildCartLiteResourceArrayResponseFromJSONTyped;
19
- exports.ProductChildCartLiteResourceArrayResponseToJSON = ProductChildCartLiteResourceArrayResponseToJSON;
20
- exports.ProductChildCartLiteResourceArrayResponseToJSONTyped = ProductChildCartLiteResourceArrayResponseToJSONTyped;
21
- var ProductChildCartLiteResource_1 = require("./ProductChildCartLiteResource");
22
- /**
23
- * Check if a given object implements the ProductChildCartLiteResourceArrayResponse interface.
24
- */
25
- function instanceOfProductChildCartLiteResourceArrayResponse(value) {
26
- return true;
27
- }
28
- function ProductChildCartLiteResourceArrayResponseFromJSON(json) {
29
- return ProductChildCartLiteResourceArrayResponseFromJSONTyped(json, false);
30
- }
31
- function ProductChildCartLiteResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
32
- if (json == null) {
33
- return json;
34
- }
35
- return {
36
- 'data': json['data'] == null ? undefined : (json['data'].map(ProductChildCartLiteResource_1.ProductChildCartLiteResourceFromJSON)),
37
- };
38
- }
39
- function ProductChildCartLiteResourceArrayResponseToJSON(json) {
40
- return ProductChildCartLiteResourceArrayResponseToJSONTyped(json, false);
41
- }
42
- function ProductChildCartLiteResourceArrayResponseToJSONTyped(value, ignoreDiscriminator) {
43
- if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
44
- if (value == null) {
45
- return value;
46
- }
47
- return {
48
- 'data': value['data'] == null ? undefined : (value['data'].map(ProductChildCartLiteResource_1.ProductChildCartLiteResourceToJSON)),
49
- };
50
- }
@@ -1,28 +0,0 @@
1
- /**
2
- * My API
3
- * API documentation for my Laravel app
4
- *
5
- * The version of the OpenAPI document: 1.0.0
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- *
14
- * @export
15
- */
16
- export declare const ShippingType: {
17
- readonly Pickup: "pickup";
18
- readonly Delivery: "delivery";
19
- readonly Express: "express";
20
- readonly Courier: "courier";
21
- readonly DontShip: "dont_ship";
22
- };
23
- export type ShippingType = typeof ShippingType[keyof typeof ShippingType];
24
- export declare function instanceOfShippingType(value: any): boolean;
25
- export declare function ShippingTypeFromJSON(json: any): ShippingType;
26
- export declare function ShippingTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): ShippingType;
27
- export declare function ShippingTypeToJSON(value?: ShippingType | null): any;
28
- export declare function ShippingTypeToJSONTyped(value: any, ignoreDiscriminator: boolean): ShippingType;
@@ -1,54 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * My API
6
- * API documentation for my Laravel app
7
- *
8
- * The version of the OpenAPI document: 1.0.0
9
- *
10
- *
11
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
- * https://openapi-generator.tech
13
- * Do not edit the class manually.
14
- */
15
- Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.ShippingType = void 0;
17
- exports.instanceOfShippingType = instanceOfShippingType;
18
- exports.ShippingTypeFromJSON = ShippingTypeFromJSON;
19
- exports.ShippingTypeFromJSONTyped = ShippingTypeFromJSONTyped;
20
- exports.ShippingTypeToJSON = ShippingTypeToJSON;
21
- exports.ShippingTypeToJSONTyped = ShippingTypeToJSONTyped;
22
- /**
23
- *
24
- * @export
25
- */
26
- exports.ShippingType = {
27
- Pickup: 'pickup',
28
- Delivery: 'delivery',
29
- Express: 'express',
30
- Courier: 'courier',
31
- DontShip: 'dont_ship'
32
- };
33
- function instanceOfShippingType(value) {
34
- for (var key in exports.ShippingType) {
35
- if (Object.prototype.hasOwnProperty.call(exports.ShippingType, key)) {
36
- if (exports.ShippingType[key] === value) {
37
- return true;
38
- }
39
- }
40
- }
41
- return false;
42
- }
43
- function ShippingTypeFromJSON(json) {
44
- return ShippingTypeFromJSONTyped(json, false);
45
- }
46
- function ShippingTypeFromJSONTyped(json, ignoreDiscriminator) {
47
- return json;
48
- }
49
- function ShippingTypeToJSON(value) {
50
- return value;
51
- }
52
- function ShippingTypeToJSONTyped(value, ignoreDiscriminator) {
53
- return value;
54
- }