@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,143 +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 { SiteLiteResource } from './SiteLiteResource';
13
- import type { LineItemListResource } from './LineItemListResource';
14
- import type { CustomerListResource } from './CustomerListResource';
15
- /**
16
- *
17
- * @export
18
- * @interface CartListResource
19
- */
20
- export interface CartListResource {
21
- /**
22
- *
23
- * @type {number}
24
- * @memberof CartListResource
25
- */
26
- id?: number | null;
27
- /**
28
- *
29
- * @type {number}
30
- * @memberof CartListResource
31
- */
32
- siteId: number;
33
- /**
34
- *
35
- * @type {number}
36
- * @memberof CartListResource
37
- */
38
- customerId?: number | null;
39
- /**
40
- *
41
- * @type {number}
42
- * @memberof CartListResource
43
- */
44
- adminId?: number | null;
45
- /**
46
- *
47
- * @type {string}
48
- * @memberof CartListResource
49
- */
50
- source: string;
51
- /**
52
- *
53
- * @type {string}
54
- * @memberof CartListResource
55
- */
56
- shippingType?: string | null;
57
- /**
58
- *
59
- * @type {number}
60
- * @memberof CartListResource
61
- */
62
- shippingSubtotal?: number | null;
63
- /**
64
- *
65
- * @type {boolean}
66
- * @memberof CartListResource
67
- */
68
- overrideShipping: boolean;
69
- /**
70
- *
71
- * @type {number}
72
- * @memberof CartListResource
73
- */
74
- insuranceAmount?: number | null;
75
- /**
76
- *
77
- * @type {boolean}
78
- * @memberof CartListResource
79
- */
80
- overrideInsurance: boolean;
81
- /**
82
- *
83
- * @type {boolean}
84
- * @memberof CartListResource
85
- */
86
- useAsBillingAddress: boolean;
87
- /**
88
- *
89
- * @type {Date}
90
- * @memberof CartListResource
91
- */
92
- expiryDate: Date;
93
- /**
94
- *
95
- * @type {Date}
96
- * @memberof CartListResource
97
- */
98
- checkoutCompletedAt?: Date | null;
99
- /**
100
- *
101
- * @type {Date}
102
- * @memberof CartListResource
103
- */
104
- createdAt?: Date | null;
105
- /**
106
- *
107
- * @type {SiteLiteResource}
108
- * @memberof CartListResource
109
- */
110
- site: SiteLiteResource | null;
111
- /**
112
- *
113
- * @type {CustomerListResource}
114
- * @memberof CartListResource
115
- */
116
- customer: CustomerListResource | null;
117
- /**
118
- *
119
- * @type {Array<LineItemListResource>}
120
- * @memberof CartListResource
121
- */
122
- lineItems: Array<LineItemListResource> | null;
123
- /**
124
- *
125
- * @type {number}
126
- * @memberof CartListResource
127
- */
128
- subtotal: number;
129
- /**
130
- *
131
- * @type {string}
132
- * @memberof CartListResource
133
- */
134
- status: string;
135
- }
136
- /**
137
- * Check if a given object implements the CartListResource interface.
138
- */
139
- export declare function instanceOfCartListResource(value: object): value is CartListResource;
140
- export declare function CartListResourceFromJSON(json: any): CartListResource;
141
- export declare function CartListResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): CartListResource;
142
- export declare function CartListResourceToJSON(json: any): CartListResource;
143
- export declare function CartListResourceToJSONTyped(value?: CartListResource | null, ignoreDiscriminator?: boolean): any;
@@ -1,110 +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.instanceOfCartListResource = instanceOfCartListResource;
17
- exports.CartListResourceFromJSON = CartListResourceFromJSON;
18
- exports.CartListResourceFromJSONTyped = CartListResourceFromJSONTyped;
19
- exports.CartListResourceToJSON = CartListResourceToJSON;
20
- exports.CartListResourceToJSONTyped = CartListResourceToJSONTyped;
21
- var SiteLiteResource_1 = require("./SiteLiteResource");
22
- var LineItemListResource_1 = require("./LineItemListResource");
23
- var CustomerListResource_1 = require("./CustomerListResource");
24
- /**
25
- * Check if a given object implements the CartListResource interface.
26
- */
27
- function instanceOfCartListResource(value) {
28
- if (!('siteId' in value) || value['siteId'] === undefined)
29
- return false;
30
- if (!('source' in value) || value['source'] === undefined)
31
- return false;
32
- if (!('overrideShipping' in value) || value['overrideShipping'] === undefined)
33
- return false;
34
- if (!('overrideInsurance' in value) || value['overrideInsurance'] === undefined)
35
- return false;
36
- if (!('useAsBillingAddress' in value) || value['useAsBillingAddress'] === undefined)
37
- return false;
38
- if (!('expiryDate' in value) || value['expiryDate'] === undefined)
39
- return false;
40
- if (!('site' in value) || value['site'] === undefined)
41
- return false;
42
- if (!('customer' in value) || value['customer'] === undefined)
43
- return false;
44
- if (!('lineItems' in value) || value['lineItems'] === undefined)
45
- return false;
46
- if (!('subtotal' in value) || value['subtotal'] === undefined)
47
- return false;
48
- if (!('status' in value) || value['status'] === undefined)
49
- return false;
50
- return true;
51
- }
52
- function CartListResourceFromJSON(json) {
53
- return CartListResourceFromJSONTyped(json, false);
54
- }
55
- function CartListResourceFromJSONTyped(json, ignoreDiscriminator) {
56
- if (json == null) {
57
- return json;
58
- }
59
- return {
60
- 'id': json['id'] == null ? undefined : json['id'],
61
- 'siteId': json['site_id'],
62
- 'customerId': json['customer_id'] == null ? undefined : json['customer_id'],
63
- 'adminId': json['admin_id'] == null ? undefined : json['admin_id'],
64
- 'source': json['source'],
65
- 'shippingType': json['shipping_type'] == null ? undefined : json['shipping_type'],
66
- 'shippingSubtotal': json['shipping_subtotal'] == null ? undefined : json['shipping_subtotal'],
67
- 'overrideShipping': json['override_shipping'],
68
- 'insuranceAmount': json['insurance_amount'] == null ? undefined : json['insurance_amount'],
69
- 'overrideInsurance': json['override_insurance'],
70
- 'useAsBillingAddress': json['use_as_billing_address'],
71
- 'expiryDate': (new Date(json['expiry_date'])),
72
- 'checkoutCompletedAt': json['checkout_completed_at'] == null ? undefined : (new Date(json['checkout_completed_at'])),
73
- 'createdAt': json['created_at'] == null ? undefined : (new Date(json['created_at'])),
74
- 'site': (0, SiteLiteResource_1.SiteLiteResourceFromJSON)(json['site']),
75
- 'customer': (0, CustomerListResource_1.CustomerListResourceFromJSON)(json['customer']),
76
- 'lineItems': (json['line_items'] == null ? null : json['line_items'].map(LineItemListResource_1.LineItemListResourceFromJSON)),
77
- 'subtotal': json['subtotal'],
78
- 'status': json['status'],
79
- };
80
- }
81
- function CartListResourceToJSON(json) {
82
- return CartListResourceToJSONTyped(json, false);
83
- }
84
- function CartListResourceToJSONTyped(value, ignoreDiscriminator) {
85
- if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
86
- if (value == null) {
87
- return value;
88
- }
89
- return {
90
- 'id': value['id'],
91
- 'site_id': value['siteId'],
92
- 'customer_id': value['customerId'],
93
- 'admin_id': value['adminId'],
94
- 'source': value['source'],
95
- 'shipping_type': value['shippingType'],
96
- 'shipping_subtotal': value['shippingSubtotal'],
97
- 'override_shipping': value['overrideShipping'],
98
- 'insurance_amount': value['insuranceAmount'],
99
- 'override_insurance': value['overrideInsurance'],
100
- 'use_as_billing_address': value['useAsBillingAddress'],
101
- 'expiry_date': value['expiryDate'].toISOString(),
102
- 'checkout_completed_at': value['checkoutCompletedAt'] == null ? value['checkoutCompletedAt'] : value['checkoutCompletedAt'].toISOString(),
103
- 'created_at': value['createdAt'] == null ? value['createdAt'] : value['createdAt'].toISOString(),
104
- 'site': (0, SiteLiteResource_1.SiteLiteResourceToJSON)(value['site']),
105
- 'customer': (0, CustomerListResource_1.CustomerListResourceToJSON)(value['customer']),
106
- 'line_items': (value['lineItems'] == null ? null : value['lineItems'].map(LineItemListResource_1.LineItemListResourceToJSON)),
107
- 'subtotal': value['subtotal'],
108
- 'status': value['status'],
109
- };
110
- }
@@ -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 { CartListResource } from './CartListResource';
13
- /**
14
- *
15
- * @export
16
- * @interface CartListResourceArrayResponse
17
- */
18
- export interface CartListResourceArrayResponse {
19
- /**
20
- *
21
- * @type {Array<CartListResource>}
22
- * @memberof CartListResourceArrayResponse
23
- */
24
- data?: Array<CartListResource>;
25
- }
26
- /**
27
- * Check if a given object implements the CartListResourceArrayResponse interface.
28
- */
29
- export declare function instanceOfCartListResourceArrayResponse(value: object): value is CartListResourceArrayResponse;
30
- export declare function CartListResourceArrayResponseFromJSON(json: any): CartListResourceArrayResponse;
31
- export declare function CartListResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): CartListResourceArrayResponse;
32
- export declare function CartListResourceArrayResponseToJSON(json: any): CartListResourceArrayResponse;
33
- export declare function CartListResourceArrayResponseToJSONTyped(value?: CartListResourceArrayResponse | 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.instanceOfCartListResourceArrayResponse = instanceOfCartListResourceArrayResponse;
17
- exports.CartListResourceArrayResponseFromJSON = CartListResourceArrayResponseFromJSON;
18
- exports.CartListResourceArrayResponseFromJSONTyped = CartListResourceArrayResponseFromJSONTyped;
19
- exports.CartListResourceArrayResponseToJSON = CartListResourceArrayResponseToJSON;
20
- exports.CartListResourceArrayResponseToJSONTyped = CartListResourceArrayResponseToJSONTyped;
21
- var CartListResource_1 = require("./CartListResource");
22
- /**
23
- * Check if a given object implements the CartListResourceArrayResponse interface.
24
- */
25
- function instanceOfCartListResourceArrayResponse(value) {
26
- return true;
27
- }
28
- function CartListResourceArrayResponseFromJSON(json) {
29
- return CartListResourceArrayResponseFromJSONTyped(json, false);
30
- }
31
- function CartListResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
32
- if (json == null) {
33
- return json;
34
- }
35
- return {
36
- 'data': json['data'] == null ? undefined : (json['data'].map(CartListResource_1.CartListResourceFromJSON)),
37
- };
38
- }
39
- function CartListResourceArrayResponseToJSON(json) {
40
- return CartListResourceArrayResponseToJSONTyped(json, false);
41
- }
42
- function CartListResourceArrayResponseToJSONTyped(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(CartListResource_1.CartListResourceToJSON)),
49
- };
50
- }
@@ -1,29 +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 CartOrderSource: {
17
- readonly Checkout: "checkout";
18
- readonly Admin: "admin";
19
- readonly Phone: "phone";
20
- readonly Email: "email";
21
- readonly Ebay: "ebay";
22
- readonly InStore: "in_store";
23
- };
24
- export type CartOrderSource = typeof CartOrderSource[keyof typeof CartOrderSource];
25
- export declare function instanceOfCartOrderSource(value: any): boolean;
26
- export declare function CartOrderSourceFromJSON(json: any): CartOrderSource;
27
- export declare function CartOrderSourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): CartOrderSource;
28
- export declare function CartOrderSourceToJSON(value?: CartOrderSource | null): any;
29
- export declare function CartOrderSourceToJSONTyped(value: any, ignoreDiscriminator: boolean): CartOrderSource;
@@ -1,55 +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.CartOrderSource = void 0;
17
- exports.instanceOfCartOrderSource = instanceOfCartOrderSource;
18
- exports.CartOrderSourceFromJSON = CartOrderSourceFromJSON;
19
- exports.CartOrderSourceFromJSONTyped = CartOrderSourceFromJSONTyped;
20
- exports.CartOrderSourceToJSON = CartOrderSourceToJSON;
21
- exports.CartOrderSourceToJSONTyped = CartOrderSourceToJSONTyped;
22
- /**
23
- *
24
- * @export
25
- */
26
- exports.CartOrderSource = {
27
- Checkout: 'checkout',
28
- Admin: 'admin',
29
- Phone: 'phone',
30
- Email: 'email',
31
- Ebay: 'ebay',
32
- InStore: 'in_store'
33
- };
34
- function instanceOfCartOrderSource(value) {
35
- for (var key in exports.CartOrderSource) {
36
- if (Object.prototype.hasOwnProperty.call(exports.CartOrderSource, key)) {
37
- if (exports.CartOrderSource[key] === value) {
38
- return true;
39
- }
40
- }
41
- }
42
- return false;
43
- }
44
- function CartOrderSourceFromJSON(json) {
45
- return CartOrderSourceFromJSONTyped(json, false);
46
- }
47
- function CartOrderSourceFromJSONTyped(json, ignoreDiscriminator) {
48
- return json;
49
- }
50
- function CartOrderSourceToJSON(value) {
51
- return value;
52
- }
53
- function CartOrderSourceToJSONTyped(value, ignoreDiscriminator) {
54
- return value;
55
- }
@@ -1,26 +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 CartStatus: {
17
- readonly Completed: "completed";
18
- readonly Active: "active";
19
- readonly Expired: "expired";
20
- };
21
- export type CartStatus = typeof CartStatus[keyof typeof CartStatus];
22
- export declare function instanceOfCartStatus(value: any): boolean;
23
- export declare function CartStatusFromJSON(json: any): CartStatus;
24
- export declare function CartStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): CartStatus;
25
- export declare function CartStatusToJSON(value?: CartStatus | null): any;
26
- export declare function CartStatusToJSONTyped(value: any, ignoreDiscriminator: boolean): CartStatus;
@@ -1,52 +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.CartStatus = void 0;
17
- exports.instanceOfCartStatus = instanceOfCartStatus;
18
- exports.CartStatusFromJSON = CartStatusFromJSON;
19
- exports.CartStatusFromJSONTyped = CartStatusFromJSONTyped;
20
- exports.CartStatusToJSON = CartStatusToJSON;
21
- exports.CartStatusToJSONTyped = CartStatusToJSONTyped;
22
- /**
23
- *
24
- * @export
25
- */
26
- exports.CartStatus = {
27
- Completed: 'completed',
28
- Active: 'active',
29
- Expired: 'expired'
30
- };
31
- function instanceOfCartStatus(value) {
32
- for (var key in exports.CartStatus) {
33
- if (Object.prototype.hasOwnProperty.call(exports.CartStatus, key)) {
34
- if (exports.CartStatus[key] === value) {
35
- return true;
36
- }
37
- }
38
- }
39
- return false;
40
- }
41
- function CartStatusFromJSON(json) {
42
- return CartStatusFromJSONTyped(json, false);
43
- }
44
- function CartStatusFromJSONTyped(json, ignoreDiscriminator) {
45
- return json;
46
- }
47
- function CartStatusToJSON(value) {
48
- return value;
49
- }
50
- function CartStatusToJSONTyped(value, ignoreDiscriminator) {
51
- return value;
52
- }
@@ -1,76 +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 { SiteLiteResource } from './SiteLiteResource';
13
- import type { LiAddressResource } from './LiAddressResource';
14
- /**
15
- *
16
- * @export
17
- * @interface CustomerListResource
18
- */
19
- export interface CustomerListResource {
20
- /**
21
- *
22
- * @type {number}
23
- * @memberof CustomerListResource
24
- */
25
- id?: number | null;
26
- /**
27
- *
28
- * @type {string}
29
- * @memberof CustomerListResource
30
- */
31
- firstName: string;
32
- /**
33
- *
34
- * @type {string}
35
- * @memberof CustomerListResource
36
- */
37
- lastName: string;
38
- /**
39
- *
40
- * @type {string}
41
- * @memberof CustomerListResource
42
- */
43
- email: string;
44
- /**
45
- *
46
- * @type {string}
47
- * @memberof CustomerListResource
48
- */
49
- phone: string;
50
- /**
51
- *
52
- * @type {string}
53
- * @memberof CustomerListResource
54
- */
55
- siteId?: string | null;
56
- /**
57
- *
58
- * @type {SiteLiteResource}
59
- * @memberof CustomerListResource
60
- */
61
- site: SiteLiteResource | null;
62
- /**
63
- *
64
- * @type {Array<LiAddressResource>}
65
- * @memberof CustomerListResource
66
- */
67
- addresses: Array<LiAddressResource> | null;
68
- }
69
- /**
70
- * Check if a given object implements the CustomerListResource interface.
71
- */
72
- export declare function instanceOfCustomerListResource(value: object): value is CustomerListResource;
73
- export declare function CustomerListResourceFromJSON(json: any): CustomerListResource;
74
- export declare function CustomerListResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): CustomerListResource;
75
- export declare function CustomerListResourceToJSON(json: any): CustomerListResource;
76
- export declare function CustomerListResourceToJSONTyped(value?: CustomerListResource | 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.instanceOfCustomerListResource = instanceOfCustomerListResource;
17
- exports.CustomerListResourceFromJSON = CustomerListResourceFromJSON;
18
- exports.CustomerListResourceFromJSONTyped = CustomerListResourceFromJSONTyped;
19
- exports.CustomerListResourceToJSON = CustomerListResourceToJSON;
20
- exports.CustomerListResourceToJSONTyped = CustomerListResourceToJSONTyped;
21
- var SiteLiteResource_1 = require("./SiteLiteResource");
22
- var LiAddressResource_1 = require("./LiAddressResource");
23
- /**
24
- * Check if a given object implements the CustomerListResource interface.
25
- */
26
- function instanceOfCustomerListResource(value) {
27
- if (!('firstName' in value) || value['firstName'] === undefined)
28
- return false;
29
- if (!('lastName' in value) || value['lastName'] === undefined)
30
- return false;
31
- if (!('email' in value) || value['email'] === undefined)
32
- return false;
33
- if (!('phone' in value) || value['phone'] === undefined)
34
- return false;
35
- if (!('site' in value) || value['site'] === undefined)
36
- return false;
37
- if (!('addresses' in value) || value['addresses'] === undefined)
38
- return false;
39
- return true;
40
- }
41
- function CustomerListResourceFromJSON(json) {
42
- return CustomerListResourceFromJSONTyped(json, false);
43
- }
44
- function CustomerListResourceFromJSONTyped(json, ignoreDiscriminator) {
45
- if (json == null) {
46
- return json;
47
- }
48
- return {
49
- 'id': json['id'] == null ? undefined : json['id'],
50
- 'firstName': json['first_name'],
51
- 'lastName': json['last_name'],
52
- 'email': json['email'],
53
- 'phone': json['phone'],
54
- 'siteId': json['site_id'] == null ? undefined : json['site_id'],
55
- 'site': (0, SiteLiteResource_1.SiteLiteResourceFromJSON)(json['site']),
56
- 'addresses': (json['addresses'] == null ? null : json['addresses'].map(LiAddressResource_1.LiAddressResourceFromJSON)),
57
- };
58
- }
59
- function CustomerListResourceToJSON(json) {
60
- return CustomerListResourceToJSONTyped(json, false);
61
- }
62
- function CustomerListResourceToJSONTyped(value, ignoreDiscriminator) {
63
- if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
64
- if (value == null) {
65
- return value;
66
- }
67
- return {
68
- 'id': value['id'],
69
- 'first_name': value['firstName'],
70
- 'last_name': value['lastName'],
71
- 'email': value['email'],
72
- 'phone': value['phone'],
73
- 'site_id': value['siteId'],
74
- 'site': (0, SiteLiteResource_1.SiteLiteResourceToJSON)(value['site']),
75
- 'addresses': (value['addresses'] == null ? null : value['addresses'].map(LiAddressResource_1.LiAddressResourceToJSON)),
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 { CustomerListResource } from './CustomerListResource';
13
- /**
14
- *
15
- * @export
16
- * @interface CustomerListResourceArrayResponse
17
- */
18
- export interface CustomerListResourceArrayResponse {
19
- /**
20
- *
21
- * @type {Array<CustomerListResource>}
22
- * @memberof CustomerListResourceArrayResponse
23
- */
24
- data?: Array<CustomerListResource>;
25
- }
26
- /**
27
- * Check if a given object implements the CustomerListResourceArrayResponse interface.
28
- */
29
- export declare function instanceOfCustomerListResourceArrayResponse(value: object): value is CustomerListResourceArrayResponse;
30
- export declare function CustomerListResourceArrayResponseFromJSON(json: any): CustomerListResourceArrayResponse;
31
- export declare function CustomerListResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): CustomerListResourceArrayResponse;
32
- export declare function CustomerListResourceArrayResponseToJSON(json: any): CustomerListResourceArrayResponse;
33
- export declare function CustomerListResourceArrayResponseToJSONTyped(value?: CustomerListResourceArrayResponse | null, ignoreDiscriminator?: boolean): any;