@digital8/lighting-illusions-ts-sdk 0.0.1797 → 0.0.1799

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 (171) hide show
  1. package/.openapi-generator/FILES +0 -62
  2. package/README.md +2 -44
  3. package/dist/apis/index.d.ts +0 -2
  4. package/dist/apis/index.js +0 -2
  5. package/dist/models/AddressFrontendResource.d.ts +2 -2
  6. package/dist/models/AddressFrontendResource.js +2 -6
  7. package/dist/models/AddressResource.d.ts +2 -2
  8. package/dist/models/AddressResource.js +4 -4
  9. package/dist/models/ExternalApiLogResource.d.ts +1 -1
  10. package/dist/models/ExternalApiLogResource.js +3 -1
  11. package/dist/models/ProductChildSiteDetailLiteResource.d.ts +0 -7
  12. package/dist/models/ProductChildSiteDetailLiteResource.js +0 -5
  13. package/dist/models/SitePaymentConfigResource.d.ts +0 -6
  14. package/dist/models/SitePaymentConfigResource.js +0 -4
  15. package/dist/models/StoreFrontendResource.d.ts +2 -2
  16. package/dist/models/StoreFrontendResource.js +4 -4
  17. package/dist/models/StoreListResource.d.ts +1 -1
  18. package/dist/models/StoreListResource.js +1 -3
  19. package/dist/models/StoreResource.d.ts +1 -1
  20. package/dist/models/StoreResource.js +1 -3
  21. package/dist/models/StoreSpecialDateFrontendResource.d.ts +2 -2
  22. package/dist/models/StoreSpecialDateFrontendResource.js +1 -3
  23. package/dist/models/StoreSpecialDateResource.d.ts +2 -2
  24. package/dist/models/StoreSpecialDateResource.js +3 -1
  25. package/dist/models/UpdateSiteRequest.d.ts +0 -6
  26. package/dist/models/UpdateSiteRequest.js +0 -4
  27. package/dist/models/index.d.ts +0 -29
  28. package/dist/models/index.js +0 -29
  29. package/docs/ProductChildSiteDetailLiteResource.md +0 -2
  30. package/docs/SitePaymentConfigResource.md +0 -2
  31. package/docs/StoreSpecialDateFrontendResource.md +1 -1
  32. package/docs/StoreSpecialDateResource.md +1 -1
  33. package/docs/UpdateSiteRequest.md +0 -2
  34. package/package.json +1 -1
  35. package/src/apis/index.ts +0 -2
  36. package/src/models/AddressFrontendResource.ts +4 -6
  37. package/src/models/AddressResource.ts +5 -5
  38. package/src/models/ExternalApiLogResource.ts +3 -2
  39. package/src/models/ProductChildSiteDetailLiteResource.ts +0 -16
  40. package/src/models/SitePaymentConfigResource.ts +0 -9
  41. package/src/models/StoreFrontendResource.ts +5 -5
  42. package/src/models/StoreListResource.ts +2 -3
  43. package/src/models/StoreResource.ts +2 -3
  44. package/src/models/StoreSpecialDateFrontendResource.ts +3 -4
  45. package/src/models/StoreSpecialDateResource.ts +4 -3
  46. package/src/models/UpdateSiteRequest.ts +0 -9
  47. package/src/models/index.ts +0 -29
  48. package/dist/apis/CartsApi.d.ts +0 -190
  49. package/dist/apis/CartsApi.js +0 -747
  50. package/dist/apis/CustomersApi.d.ts +0 -48
  51. package/dist/apis/CustomersApi.js +0 -196
  52. package/dist/models/AddressType.d.ts +0 -25
  53. package/dist/models/AddressType.js +0 -51
  54. package/dist/models/AdminCartResource.d.ts +0 -197
  55. package/dist/models/AdminCartResource.js +0 -140
  56. package/dist/models/AdminCartResourceArrayResponse.d.ts +0 -33
  57. package/dist/models/AdminCartResourceArrayResponse.js +0 -50
  58. package/dist/models/AttachCouponCartRequest.d.ts +0 -32
  59. package/dist/models/AttachCouponCartRequest.js +0 -51
  60. package/dist/models/AttachItemCartRequest.d.ts +0 -44
  61. package/dist/models/AttachItemCartRequest.js +0 -57
  62. package/dist/models/CartListResource.d.ts +0 -137
  63. package/dist/models/CartListResource.js +0 -106
  64. package/dist/models/CartListResourceArrayResponse.d.ts +0 -33
  65. package/dist/models/CartListResourceArrayResponse.js +0 -50
  66. package/dist/models/CartOrderSource.d.ts +0 -29
  67. package/dist/models/CartOrderSource.js +0 -55
  68. package/dist/models/CartStatus.d.ts +0 -26
  69. package/dist/models/CartStatus.js +0 -52
  70. package/dist/models/CustomerListResource.d.ts +0 -69
  71. package/dist/models/CustomerListResource.js +0 -72
  72. package/dist/models/CustomerListResourceArrayResponse.d.ts +0 -33
  73. package/dist/models/CustomerListResourceArrayResponse.js +0 -50
  74. package/dist/models/CustomerResource.d.ts +0 -69
  75. package/dist/models/CustomerResource.js +0 -72
  76. package/dist/models/CustomerResourceArrayResponse.d.ts +0 -33
  77. package/dist/models/CustomerResourceArrayResponse.js +0 -50
  78. package/dist/models/FrontendCartResource.d.ts +0 -155
  79. package/dist/models/FrontendCartResource.js +0 -118
  80. package/dist/models/FrontendCartResourceArrayResponse.d.ts +0 -33
  81. package/dist/models/FrontendCartResourceArrayResponse.js +0 -50
  82. package/dist/models/IndexCartRequest.d.ts +0 -154
  83. package/dist/models/IndexCartRequest.js +0 -105
  84. package/dist/models/IndexCustomerRequest.d.ts +0 -99
  85. package/dist/models/IndexCustomerRequest.js +0 -83
  86. package/dist/models/LineItemListResource.d.ts +0 -51
  87. package/dist/models/LineItemListResource.js +0 -62
  88. package/dist/models/LineItemListResourceArrayResponse.d.ts +0 -33
  89. package/dist/models/LineItemListResourceArrayResponse.js +0 -50
  90. package/dist/models/PaginatedCartListResourceResponse.d.ts +0 -40
  91. package/dist/models/PaginatedCartListResourceResponse.js +0 -57
  92. package/dist/models/PaginatedCustomerListResourceResponse.d.ts +0 -40
  93. package/dist/models/PaginatedCustomerListResourceResponse.js +0 -57
  94. package/dist/models/ShippingType.d.ts +0 -28
  95. package/dist/models/ShippingType.js +0 -54
  96. package/dist/models/StoreCartRequest.d.ts +0 -136
  97. package/dist/models/StoreCartRequest.js +0 -110
  98. package/dist/models/StoreCartRequestCustomer.d.ts +0 -50
  99. package/dist/models/StoreCartRequestCustomer.js +0 -55
  100. package/dist/models/StoreCartRequestItemsInner.d.ts +0 -44
  101. package/dist/models/StoreCartRequestItemsInner.js +0 -57
  102. package/dist/models/StoreCartRequestShippingAddress.d.ts +0 -74
  103. package/dist/models/StoreCartRequestShippingAddress.js +0 -63
  104. package/dist/models/StoreCustomerRequest.d.ts +0 -56
  105. package/dist/models/StoreCustomerRequest.js +0 -65
  106. package/dist/models/UpdateCartRequest.d.ts +0 -111
  107. package/dist/models/UpdateCartRequest.js +0 -95
  108. package/dist/models/UpdateItemCartRequest.d.ts +0 -38
  109. package/dist/models/UpdateItemCartRequest.js +0 -53
  110. package/docs/AddressType.md +0 -32
  111. package/docs/AdminCartResource.md +0 -88
  112. package/docs/AdminCartResourceArrayResponse.md +0 -34
  113. package/docs/AttachCouponCartRequest.md +0 -34
  114. package/docs/AttachItemCartRequest.md +0 -38
  115. package/docs/CartListResource.md +0 -68
  116. package/docs/CartListResourceArrayResponse.md +0 -34
  117. package/docs/CartOrderSource.md +0 -32
  118. package/docs/CartStatus.md +0 -32
  119. package/docs/CartsApi.md +0 -755
  120. package/docs/CustomerListResource.md +0 -46
  121. package/docs/CustomerListResourceArrayResponse.md +0 -34
  122. package/docs/CustomerResource.md +0 -46
  123. package/docs/CustomerResourceArrayResponse.md +0 -34
  124. package/docs/CustomersApi.md +0 -140
  125. package/docs/FrontendCartResource.md +0 -74
  126. package/docs/FrontendCartResourceArrayResponse.md +0 -34
  127. package/docs/IndexCartRequest.md +0 -66
  128. package/docs/IndexCustomerRequest.md +0 -50
  129. package/docs/LineItemListResource.md +0 -40
  130. package/docs/LineItemListResourceArrayResponse.md +0 -34
  131. package/docs/PaginatedCartListResourceResponse.md +0 -36
  132. package/docs/PaginatedCustomerListResourceResponse.md +0 -36
  133. package/docs/ShippingType.md +0 -32
  134. package/docs/StoreCartRequest.md +0 -60
  135. package/docs/StoreCartRequestCustomer.md +0 -40
  136. package/docs/StoreCartRequestItemsInner.md +0 -38
  137. package/docs/StoreCartRequestShippingAddress.md +0 -48
  138. package/docs/StoreCustomerRequest.md +0 -42
  139. package/docs/UpdateCartRequest.md +0 -52
  140. package/docs/UpdateItemCartRequest.md +0 -36
  141. package/src/apis/CartsApi.ts +0 -626
  142. package/src/apis/CustomersApi.ts +0 -127
  143. package/src/models/AddressType.ts +0 -53
  144. package/src/models/AdminCartResource.ts +0 -320
  145. package/src/models/AdminCartResourceArrayResponse.ts +0 -73
  146. package/src/models/AttachCouponCartRequest.ts +0 -66
  147. package/src/models/AttachItemCartRequest.ts +0 -83
  148. package/src/models/CartListResource.ts +0 -233
  149. package/src/models/CartListResourceArrayResponse.ts +0 -73
  150. package/src/models/CartOrderSource.ts +0 -57
  151. package/src/models/CartStatus.ts +0 -54
  152. package/src/models/CustomerListResource.ts +0 -126
  153. package/src/models/CustomerListResourceArrayResponse.ts +0 -73
  154. package/src/models/CustomerResource.ts +0 -126
  155. package/src/models/CustomerResourceArrayResponse.ts +0 -73
  156. package/src/models/FrontendCartResource.ts +0 -260
  157. package/src/models/FrontendCartResourceArrayResponse.ts +0 -73
  158. package/src/models/IndexCartRequest.ts +0 -224
  159. package/src/models/IndexCustomerRequest.ts +0 -152
  160. package/src/models/LineItemListResource.ts +0 -100
  161. package/src/models/LineItemListResourceArrayResponse.ts +0 -73
  162. package/src/models/PaginatedCartListResourceResponse.ts +0 -90
  163. package/src/models/PaginatedCustomerListResourceResponse.ts +0 -90
  164. package/src/models/ShippingType.ts +0 -56
  165. package/src/models/StoreCartRequest.ts +0 -223
  166. package/src/models/StoreCartRequestCustomer.ts +0 -89
  167. package/src/models/StoreCartRequestItemsInner.ts +0 -83
  168. package/src/models/StoreCartRequestShippingAddress.ts +0 -121
  169. package/src/models/StoreCustomerRequest.ts +0 -101
  170. package/src/models/UpdateCartRequest.ts +0 -181
  171. package/src/models/UpdateItemCartRequest.ts +0 -74
@@ -1,51 +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 { ProductChildListResource } from './ProductChildListResource';
13
- /**
14
- *
15
- * @export
16
- * @interface LineItemListResource
17
- */
18
- export interface LineItemListResource {
19
- /**
20
- *
21
- * @type {number}
22
- * @memberof LineItemListResource
23
- */
24
- id?: number | null;
25
- /**
26
- *
27
- * @type {number}
28
- * @memberof LineItemListResource
29
- */
30
- quantity: number;
31
- /**
32
- *
33
- * @type {number}
34
- * @memberof LineItemListResource
35
- */
36
- productPrice: number;
37
- /**
38
- *
39
- * @type {ProductChildListResource}
40
- * @memberof LineItemListResource
41
- */
42
- productChild: ProductChildListResource | null;
43
- }
44
- /**
45
- * Check if a given object implements the LineItemListResource interface.
46
- */
47
- export declare function instanceOfLineItemListResource(value: object): value is LineItemListResource;
48
- export declare function LineItemListResourceFromJSON(json: any): LineItemListResource;
49
- export declare function LineItemListResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): LineItemListResource;
50
- export declare function LineItemListResourceToJSON(json: any): LineItemListResource;
51
- export declare function LineItemListResourceToJSONTyped(value?: LineItemListResource | null, ignoreDiscriminator?: boolean): any;
@@ -1,62 +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 ProductChildListResource_1 = require("./ProductChildListResource");
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 (!('productChild' in value) || value['productChild'] === undefined)
31
- return false;
32
- return true;
33
- }
34
- function LineItemListResourceFromJSON(json) {
35
- return LineItemListResourceFromJSONTyped(json, false);
36
- }
37
- function LineItemListResourceFromJSONTyped(json, ignoreDiscriminator) {
38
- if (json == null) {
39
- return json;
40
- }
41
- return {
42
- 'id': json['id'] == null ? undefined : json['id'],
43
- 'quantity': json['quantity'],
44
- 'productPrice': json['product_price'],
45
- 'productChild': (0, ProductChildListResource_1.ProductChildListResourceFromJSON)(json['product_child']),
46
- };
47
- }
48
- function LineItemListResourceToJSON(json) {
49
- return LineItemListResourceToJSONTyped(json, false);
50
- }
51
- function LineItemListResourceToJSONTyped(value, ignoreDiscriminator) {
52
- if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
53
- if (value == null) {
54
- return value;
55
- }
56
- return {
57
- 'id': value['id'],
58
- 'quantity': value['quantity'],
59
- 'product_price': value['productPrice'],
60
- 'product_child': (0, ProductChildListResource_1.ProductChildListResourceToJSON)(value['productChild']),
61
- };
62
- }
@@ -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,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
- }
@@ -1,136 +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 { StoreCartRequestShippingAddress } from './StoreCartRequestShippingAddress';
13
- import type { StoreCartRequestCustomer } from './StoreCartRequestCustomer';
14
- import type { StoreCartRequestItemsInner } from './StoreCartRequestItemsInner';
15
- /**
16
- *
17
- * @export
18
- * @interface StoreCartRequest
19
- */
20
- export interface StoreCartRequest {
21
- /**
22
- *
23
- * @type {number}
24
- * @memberof StoreCartRequest
25
- */
26
- customerId?: number | null;
27
- /**
28
- *
29
- * @type {number}
30
- * @memberof StoreCartRequest
31
- */
32
- siteId: number;
33
- /**
34
- *
35
- * @type {string}
36
- * @memberof StoreCartRequest
37
- */
38
- sessionToken?: string | null;
39
- /**
40
- *
41
- * @type {string}
42
- * @memberof StoreCartRequest
43
- */
44
- paymentToken?: string | null;
45
- /**
46
- *
47
- * @type {StoreCartRequestSourceEnum}
48
- * @memberof StoreCartRequest
49
- */
50
- source: StoreCartRequestSourceEnum;
51
- /**
52
- *
53
- * @type {Array<StoreCartRequestItemsInner>}
54
- * @memberof StoreCartRequest
55
- */
56
- items: Array<StoreCartRequestItemsInner>;
57
- /**
58
- *
59
- * @type {StoreCartRequestCustomer}
60
- * @memberof StoreCartRequest
61
- */
62
- customer?: StoreCartRequestCustomer;
63
- /**
64
- *
65
- * @type {StoreCartRequestShippingTypeEnum}
66
- * @memberof StoreCartRequest
67
- */
68
- shippingType?: StoreCartRequestShippingTypeEnum | null;
69
- /**
70
- *
71
- * @type {number}
72
- * @memberof StoreCartRequest
73
- */
74
- shippingSubtotal?: number | null;
75
- /**
76
- *
77
- * @type {boolean}
78
- * @memberof StoreCartRequest
79
- */
80
- overrideShipping?: boolean;
81
- /**
82
- *
83
- * @type {number}
84
- * @memberof StoreCartRequest
85
- */
86
- insuranceAmount?: number | null;
87
- /**
88
- *
89
- * @type {boolean}
90
- * @memberof StoreCartRequest
91
- */
92
- overrideInsurance?: boolean;
93
- /**
94
- *
95
- * @type {StoreCartRequestShippingAddress}
96
- * @memberof StoreCartRequest
97
- */
98
- shippingAddress: StoreCartRequestShippingAddress;
99
- /**
100
- *
101
- * @type {StoreCartRequestShippingAddress}
102
- * @memberof StoreCartRequest
103
- */
104
- billingAddress: StoreCartRequestShippingAddress;
105
- }
106
- /**
107
- * @export
108
- */
109
- export declare const StoreCartRequestSourceEnum: {
110
- readonly Checkout: "checkout";
111
- readonly Admin: "admin";
112
- readonly Phone: "phone";
113
- readonly Email: "email";
114
- readonly Ebay: "ebay";
115
- readonly InStore: "in_store";
116
- };
117
- export type StoreCartRequestSourceEnum = typeof StoreCartRequestSourceEnum[keyof typeof StoreCartRequestSourceEnum];
118
- /**
119
- * @export
120
- */
121
- export declare const StoreCartRequestShippingTypeEnum: {
122
- readonly Pickup: "pickup";
123
- readonly Delivery: "delivery";
124
- readonly Express: "express";
125
- readonly Courier: "courier";
126
- readonly DontShip: "dont_ship";
127
- };
128
- export type StoreCartRequestShippingTypeEnum = typeof StoreCartRequestShippingTypeEnum[keyof typeof StoreCartRequestShippingTypeEnum];
129
- /**
130
- * Check if a given object implements the StoreCartRequest interface.
131
- */
132
- export declare function instanceOfStoreCartRequest(value: object): value is StoreCartRequest;
133
- export declare function StoreCartRequestFromJSON(json: any): StoreCartRequest;
134
- export declare function StoreCartRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): StoreCartRequest;
135
- export declare function StoreCartRequestToJSON(json: any): StoreCartRequest;
136
- export declare function StoreCartRequestToJSONTyped(value?: StoreCartRequest | null, ignoreDiscriminator?: boolean): any;