@digital8/lighting-illusions-ts-sdk 0.0.2022 → 0.0.2024
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.
- package/.openapi-generator/FILES +18 -6
- package/README.md +11 -5
- package/dist/models/AddressFrontendResource.d.ts +1 -1
- package/dist/models/AddressFrontendResource.js +1 -3
- package/dist/models/AddressResource.d.ts +2 -2
- package/dist/models/AddressResource.js +4 -4
- package/dist/models/CartCouponLiteResource.d.ts +56 -0
- package/dist/models/CartCouponLiteResource.js +67 -0
- package/dist/models/CartCouponLiteResourceArrayResponse.d.ts +33 -0
- package/dist/models/CartCouponLiteResourceArrayResponse.js +50 -0
- package/dist/models/CartResource.d.ts +5 -5
- package/dist/models/CartResource.js +5 -5
- package/dist/models/ExternalApiLogResource.d.ts +1 -1
- package/dist/models/ExternalApiLogResource.js +3 -1
- package/dist/models/FrontendCartResource.d.ts +138 -0
- package/dist/models/FrontendCartResource.js +119 -0
- package/dist/models/FrontendCartResourceArrayResponse.d.ts +33 -0
- package/dist/models/FrontendCartResourceArrayResponse.js +50 -0
- package/dist/models/FrontendCartResourceCouponsInner.d.ts +56 -0
- package/dist/models/FrontendCartResourceCouponsInner.js +57 -0
- package/dist/models/FrontendLineItemResource.d.ts +81 -0
- package/dist/models/FrontendLineItemResource.js +82 -0
- package/dist/models/FrontendLineItemResourceArrayResponse.d.ts +33 -0
- package/dist/models/FrontendLineItemResourceArrayResponse.js +50 -0
- package/dist/models/LineItemListResource.d.ts +3 -3
- package/dist/models/LineItemListResource.js +3 -3
- package/dist/models/ProductChildLineItemLiteResource.d.ts +106 -0
- package/dist/models/{ProductChildCartLiteResource.js → ProductChildLineItemLiteResource.js} +25 -13
- package/dist/models/ProductChildLineItemLiteResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductChildLineItemLiteResourceArrayResponse.js +50 -0
- package/dist/models/StoreResource.d.ts +1 -1
- package/dist/models/StoreResource.js +3 -1
- package/dist/models/UpdateOrderRequest.d.ts +2 -2
- package/dist/models/UpdateOrderRequest.js +6 -2
- package/dist/models/index.d.ts +9 -3
- package/dist/models/index.js +9 -3
- package/docs/CartCouponLiteResource.md +42 -0
- package/docs/{ProductChildCartLiteResourceArrayResponse.md → CartCouponLiteResourceArrayResponse.md} +5 -5
- package/docs/CartResource.md +2 -2
- package/docs/FrontendCartResource.md +68 -0
- package/docs/{OrderOmnisendEvent.md → FrontendCartResourceArrayResponse.md} +6 -4
- package/docs/FrontendCartResourceCouponsInner.md +42 -0
- package/docs/FrontendLineItemResource.md +50 -0
- package/docs/FrontendLineItemResourceArrayResponse.md +34 -0
- package/docs/LineItemListResource.md +1 -1
- package/docs/{ProductChildCartLiteResource.md → ProductChildLineItemLiteResource.md} +10 -4
- package/docs/ProductChildLineItemLiteResourceArrayResponse.md +34 -0
- package/package.json +1 -1
- package/src/models/AddressFrontendResource.ts +2 -3
- package/src/models/AddressResource.ts +5 -5
- package/src/models/CartCouponLiteResource.ts +102 -0
- package/src/models/CartCouponLiteResourceArrayResponse.ts +73 -0
- package/src/models/CartResource.ts +14 -14
- package/src/models/ExternalApiLogResource.ts +3 -2
- package/src/models/FrontendCartResource.ts +246 -0
- package/src/models/FrontendCartResourceArrayResponse.ts +73 -0
- package/src/models/FrontendCartResourceCouponsInner.ts +97 -0
- package/src/models/FrontendLineItemResource.ts +145 -0
- package/src/models/FrontendLineItemResourceArrayResponse.ts +73 -0
- package/src/models/LineItemListResource.ts +10 -10
- package/src/models/{ProductChildCartLiteResource.ts → ProductChildLineItemLiteResource.ts} +47 -20
- package/src/models/ProductChildLineItemLiteResourceArrayResponse.ts +73 -0
- package/src/models/StoreResource.ts +3 -2
- package/src/models/UpdateOrderRequest.ts +6 -4
- package/src/models/index.ts +9 -3
- package/dist/models/OrderOmnisendEvent.d.ts +0 -25
- package/dist/models/OrderOmnisendEvent.js +0 -51
- package/dist/models/ProductChildCartLiteResource.d.ts +0 -88
- package/dist/models/ProductChildCartLiteResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductChildCartLiteResourceArrayResponse.js +0 -50
- package/src/models/OrderOmnisendEvent.ts +0 -53
- package/src/models/ProductChildCartLiteResourceArrayResponse.ts +0 -73
|
@@ -31,81 +31,102 @@ import {
|
|
|
31
31
|
/**
|
|
32
32
|
*
|
|
33
33
|
* @export
|
|
34
|
-
* @interface
|
|
34
|
+
* @interface ProductChildLineItemLiteResource
|
|
35
35
|
*/
|
|
36
|
-
export interface
|
|
36
|
+
export interface ProductChildLineItemLiteResource {
|
|
37
37
|
/**
|
|
38
38
|
*
|
|
39
39
|
* @type {number}
|
|
40
|
-
* @memberof
|
|
40
|
+
* @memberof ProductChildLineItemLiteResource
|
|
41
41
|
*/
|
|
42
42
|
id: number;
|
|
43
43
|
/**
|
|
44
44
|
*
|
|
45
45
|
* @type {number}
|
|
46
|
-
* @memberof
|
|
46
|
+
* @memberof ProductChildLineItemLiteResource
|
|
47
47
|
*/
|
|
48
48
|
parentId: number;
|
|
49
49
|
/**
|
|
50
50
|
*
|
|
51
51
|
* @type {string}
|
|
52
|
-
* @memberof
|
|
52
|
+
* @memberof ProductChildLineItemLiteResource
|
|
53
53
|
*/
|
|
54
54
|
sku: string;
|
|
55
55
|
/**
|
|
56
56
|
*
|
|
57
57
|
* @type {string}
|
|
58
|
-
* @memberof
|
|
58
|
+
* @memberof ProductChildLineItemLiteResource
|
|
59
59
|
*/
|
|
60
60
|
model: string;
|
|
61
61
|
/**
|
|
62
62
|
*
|
|
63
63
|
* @type {string}
|
|
64
|
-
* @memberof
|
|
64
|
+
* @memberof ProductChildLineItemLiteResource
|
|
65
65
|
*/
|
|
66
66
|
modelNumber: string;
|
|
67
67
|
/**
|
|
68
68
|
*
|
|
69
69
|
* @type {string}
|
|
70
|
-
* @memberof
|
|
70
|
+
* @memberof ProductChildLineItemLiteResource
|
|
71
71
|
*/
|
|
72
72
|
name: string;
|
|
73
|
+
/**
|
|
74
|
+
*
|
|
75
|
+
* @type {string}
|
|
76
|
+
* @memberof ProductChildLineItemLiteResource
|
|
77
|
+
*/
|
|
78
|
+
parentName: string;
|
|
79
|
+
/**
|
|
80
|
+
*
|
|
81
|
+
* @type {string}
|
|
82
|
+
* @memberof ProductChildLineItemLiteResource
|
|
83
|
+
*/
|
|
84
|
+
variantName: string;
|
|
85
|
+
/**
|
|
86
|
+
*
|
|
87
|
+
* @type {string}
|
|
88
|
+
* @memberof ProductChildLineItemLiteResource
|
|
89
|
+
*/
|
|
90
|
+
slug: string;
|
|
73
91
|
/**
|
|
74
92
|
*
|
|
75
93
|
* @type {number}
|
|
76
|
-
* @memberof
|
|
94
|
+
* @memberof ProductChildLineItemLiteResource
|
|
77
95
|
*/
|
|
78
96
|
stock: number;
|
|
79
97
|
/**
|
|
80
98
|
*
|
|
81
99
|
* @type {number}
|
|
82
|
-
* @memberof
|
|
100
|
+
* @memberof ProductChildLineItemLiteResource
|
|
83
101
|
*/
|
|
84
102
|
salePrice: number;
|
|
85
103
|
/**
|
|
86
104
|
*
|
|
87
105
|
* @type {AssetLiteResource}
|
|
88
|
-
* @memberof
|
|
106
|
+
* @memberof ProductChildLineItemLiteResource
|
|
89
107
|
*/
|
|
90
108
|
thumbnail: AssetLiteResource | null;
|
|
91
109
|
/**
|
|
92
110
|
*
|
|
93
111
|
* @type {LabelResource}
|
|
94
|
-
* @memberof
|
|
112
|
+
* @memberof ProductChildLineItemLiteResource
|
|
95
113
|
*/
|
|
96
114
|
label: LabelResource | null;
|
|
97
115
|
}
|
|
98
116
|
|
|
99
117
|
/**
|
|
100
|
-
* Check if a given object implements the
|
|
118
|
+
* Check if a given object implements the ProductChildLineItemLiteResource interface.
|
|
101
119
|
*/
|
|
102
|
-
export function
|
|
120
|
+
export function instanceOfProductChildLineItemLiteResource(value: object): value is ProductChildLineItemLiteResource {
|
|
103
121
|
if (!('id' in value) || value['id'] === undefined) return false;
|
|
104
122
|
if (!('parentId' in value) || value['parentId'] === undefined) return false;
|
|
105
123
|
if (!('sku' in value) || value['sku'] === undefined) return false;
|
|
106
124
|
if (!('model' in value) || value['model'] === undefined) return false;
|
|
107
125
|
if (!('modelNumber' in value) || value['modelNumber'] === undefined) return false;
|
|
108
126
|
if (!('name' in value) || value['name'] === undefined) return false;
|
|
127
|
+
if (!('parentName' in value) || value['parentName'] === undefined) return false;
|
|
128
|
+
if (!('variantName' in value) || value['variantName'] === undefined) return false;
|
|
129
|
+
if (!('slug' in value) || value['slug'] === undefined) return false;
|
|
109
130
|
if (!('stock' in value) || value['stock'] === undefined) return false;
|
|
110
131
|
if (!('salePrice' in value) || value['salePrice'] === undefined) return false;
|
|
111
132
|
if (!('thumbnail' in value) || value['thumbnail'] === undefined) return false;
|
|
@@ -113,11 +134,11 @@ export function instanceOfProductChildCartLiteResource(value: object): value is
|
|
|
113
134
|
return true;
|
|
114
135
|
}
|
|
115
136
|
|
|
116
|
-
export function
|
|
117
|
-
return
|
|
137
|
+
export function ProductChildLineItemLiteResourceFromJSON(json: any): ProductChildLineItemLiteResource {
|
|
138
|
+
return ProductChildLineItemLiteResourceFromJSONTyped(json, false);
|
|
118
139
|
}
|
|
119
140
|
|
|
120
|
-
export function
|
|
141
|
+
export function ProductChildLineItemLiteResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductChildLineItemLiteResource {
|
|
121
142
|
if (json == null) {
|
|
122
143
|
return json;
|
|
123
144
|
}
|
|
@@ -129,6 +150,9 @@ export function ProductChildCartLiteResourceFromJSONTyped(json: any, ignoreDiscr
|
|
|
129
150
|
'model': json['model'],
|
|
130
151
|
'modelNumber': json['modelNumber'],
|
|
131
152
|
'name': json['name'],
|
|
153
|
+
'parentName': json['parentName'],
|
|
154
|
+
'variantName': json['variantName'],
|
|
155
|
+
'slug': json['slug'],
|
|
132
156
|
'stock': json['stock'],
|
|
133
157
|
'salePrice': json['salePrice'],
|
|
134
158
|
'thumbnail': AssetLiteResourceFromJSON(json['thumbnail']),
|
|
@@ -136,11 +160,11 @@ export function ProductChildCartLiteResourceFromJSONTyped(json: any, ignoreDiscr
|
|
|
136
160
|
};
|
|
137
161
|
}
|
|
138
162
|
|
|
139
|
-
export function
|
|
140
|
-
return
|
|
163
|
+
export function ProductChildLineItemLiteResourceToJSON(json: any): ProductChildLineItemLiteResource {
|
|
164
|
+
return ProductChildLineItemLiteResourceToJSONTyped(json, false);
|
|
141
165
|
}
|
|
142
166
|
|
|
143
|
-
export function
|
|
167
|
+
export function ProductChildLineItemLiteResourceToJSONTyped(value?: ProductChildLineItemLiteResource | null, ignoreDiscriminator: boolean = false): any {
|
|
144
168
|
if (value == null) {
|
|
145
169
|
return value;
|
|
146
170
|
}
|
|
@@ -153,6 +177,9 @@ export function ProductChildCartLiteResourceToJSONTyped(value?: ProductChildCart
|
|
|
153
177
|
'model': value['model'],
|
|
154
178
|
'modelNumber': value['modelNumber'],
|
|
155
179
|
'name': value['name'],
|
|
180
|
+
'parentName': value['parentName'],
|
|
181
|
+
'variantName': value['variantName'],
|
|
182
|
+
'slug': value['slug'],
|
|
156
183
|
'stock': value['stock'],
|
|
157
184
|
'salePrice': value['salePrice'],
|
|
158
185
|
'thumbnail': AssetLiteResourceToJSON(value['thumbnail']),
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* My API
|
|
5
|
+
* API documentation for my Laravel app
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
import type { ProductChildLineItemLiteResource } from './ProductChildLineItemLiteResource';
|
|
17
|
+
import {
|
|
18
|
+
ProductChildLineItemLiteResourceFromJSON,
|
|
19
|
+
ProductChildLineItemLiteResourceFromJSONTyped,
|
|
20
|
+
ProductChildLineItemLiteResourceToJSON,
|
|
21
|
+
ProductChildLineItemLiteResourceToJSONTyped,
|
|
22
|
+
} from './ProductChildLineItemLiteResource';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface ProductChildLineItemLiteResourceArrayResponse
|
|
28
|
+
*/
|
|
29
|
+
export interface ProductChildLineItemLiteResourceArrayResponse {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {Array<ProductChildLineItemLiteResource>}
|
|
33
|
+
* @memberof ProductChildLineItemLiteResourceArrayResponse
|
|
34
|
+
*/
|
|
35
|
+
data?: Array<ProductChildLineItemLiteResource>;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the ProductChildLineItemLiteResourceArrayResponse interface.
|
|
40
|
+
*/
|
|
41
|
+
export function instanceOfProductChildLineItemLiteResourceArrayResponse(value: object): value is ProductChildLineItemLiteResourceArrayResponse {
|
|
42
|
+
return true;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export function ProductChildLineItemLiteResourceArrayResponseFromJSON(json: any): ProductChildLineItemLiteResourceArrayResponse {
|
|
46
|
+
return ProductChildLineItemLiteResourceArrayResponseFromJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function ProductChildLineItemLiteResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductChildLineItemLiteResourceArrayResponse {
|
|
50
|
+
if (json == null) {
|
|
51
|
+
return json;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
|
|
55
|
+
'data': json['data'] == null ? undefined : ((json['data'] as Array<any>).map(ProductChildLineItemLiteResourceFromJSON)),
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export function ProductChildLineItemLiteResourceArrayResponseToJSON(json: any): ProductChildLineItemLiteResourceArrayResponse {
|
|
60
|
+
return ProductChildLineItemLiteResourceArrayResponseToJSONTyped(json, false);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export function ProductChildLineItemLiteResourceArrayResponseToJSONTyped(value?: ProductChildLineItemLiteResourceArrayResponse | null, ignoreDiscriminator: boolean = false): any {
|
|
64
|
+
if (value == null) {
|
|
65
|
+
return value;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
return {
|
|
69
|
+
|
|
70
|
+
'data': value['data'] == null ? undefined : ((value['data'] as Array<any>).map(ProductChildLineItemLiteResourceToJSON)),
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
|
|
@@ -101,7 +101,7 @@ export interface StoreResource {
|
|
|
101
101
|
* @type {string}
|
|
102
102
|
* @memberof StoreResource
|
|
103
103
|
*/
|
|
104
|
-
website
|
|
104
|
+
website: string;
|
|
105
105
|
/**
|
|
106
106
|
*
|
|
107
107
|
* @type {number}
|
|
@@ -151,6 +151,7 @@ export function instanceOfStoreResource(value: object): value is StoreResource {
|
|
|
151
151
|
if (!('latitude' in value) || value['latitude'] === undefined) return false;
|
|
152
152
|
if (!('tagLine' in value) || value['tagLine'] === undefined) return false;
|
|
153
153
|
if (!('email' in value) || value['email'] === undefined) return false;
|
|
154
|
+
if (!('website' in value) || value['website'] === undefined) return false;
|
|
154
155
|
if (!('netsuiteId' in value) || value['netsuiteId'] === undefined) return false;
|
|
155
156
|
if (!('displayNetsuiteId' in value) || value['displayNetsuiteId'] === undefined) return false;
|
|
156
157
|
if (!('suppliers' in value) || value['suppliers'] === undefined) return false;
|
|
@@ -177,7 +178,7 @@ export function StoreResourceFromJSONTyped(json: any, ignoreDiscriminator: boole
|
|
|
177
178
|
'latitude': json['latitude'],
|
|
178
179
|
'tagLine': json['tagLine'],
|
|
179
180
|
'email': json['email'],
|
|
180
|
-
'website': json['website']
|
|
181
|
+
'website': json['website'],
|
|
181
182
|
'netsuiteId': json['netsuiteId'],
|
|
182
183
|
'displayNetsuiteId': json['displayNetsuiteId'],
|
|
183
184
|
'openingHours': json['openingHours'] == null ? undefined : json['openingHours'],
|
|
@@ -56,7 +56,7 @@ export interface UpdateOrderRequest {
|
|
|
56
56
|
* @type {number}
|
|
57
57
|
* @memberof UpdateOrderRequest
|
|
58
58
|
*/
|
|
59
|
-
shippingSubtotal
|
|
59
|
+
shippingSubtotal: number;
|
|
60
60
|
/**
|
|
61
61
|
*
|
|
62
62
|
* @type {boolean}
|
|
@@ -68,7 +68,7 @@ export interface UpdateOrderRequest {
|
|
|
68
68
|
* @type {number}
|
|
69
69
|
* @memberof UpdateOrderRequest
|
|
70
70
|
*/
|
|
71
|
-
insuranceAmount
|
|
71
|
+
insuranceAmount: number;
|
|
72
72
|
/**
|
|
73
73
|
*
|
|
74
74
|
* @type {boolean}
|
|
@@ -137,6 +137,8 @@ export function instanceOfUpdateOrderRequest(value: object): value is UpdateOrde
|
|
|
137
137
|
if (!('statusId' in value) || value['statusId'] === undefined) return false;
|
|
138
138
|
if (!('source' in value) || value['source'] === undefined) return false;
|
|
139
139
|
if (!('shippingType' in value) || value['shippingType'] === undefined) return false;
|
|
140
|
+
if (!('shippingSubtotal' in value) || value['shippingSubtotal'] === undefined) return false;
|
|
141
|
+
if (!('insuranceAmount' in value) || value['insuranceAmount'] === undefined) return false;
|
|
140
142
|
return true;
|
|
141
143
|
}
|
|
142
144
|
|
|
@@ -154,9 +156,9 @@ export function UpdateOrderRequestFromJSONTyped(json: any, ignoreDiscriminator:
|
|
|
154
156
|
'statusId': json['status_id'],
|
|
155
157
|
'source': json['source'],
|
|
156
158
|
'shippingType': json['shipping_type'],
|
|
157
|
-
'shippingSubtotal': json['shipping_subtotal']
|
|
159
|
+
'shippingSubtotal': json['shipping_subtotal'],
|
|
158
160
|
'overrideShipping': json['override_shipping'] == null ? undefined : json['override_shipping'],
|
|
159
|
-
'insuranceAmount': json['insurance_amount']
|
|
161
|
+
'insuranceAmount': json['insurance_amount'],
|
|
160
162
|
'includeInsurance': json['include_insurance'] == null ? undefined : json['include_insurance'],
|
|
161
163
|
'overrideInsurance': json['override_insurance'] == null ? undefined : json['override_insurance'],
|
|
162
164
|
'shippingAddressId': json['shipping_address_id'] == null ? undefined : json['shipping_address_id'],
|
package/src/models/index.ts
CHANGED
|
@@ -61,6 +61,8 @@ export * from './BlogFrontendResource';
|
|
|
61
61
|
export * from './BlogFrontendResourceArrayResponse';
|
|
62
62
|
export * from './BlogResource';
|
|
63
63
|
export * from './BlogResourceArrayResponse';
|
|
64
|
+
export * from './CartCouponLiteResource';
|
|
65
|
+
export * from './CartCouponLiteResourceArrayResponse';
|
|
64
66
|
export * from './CartCouponResource';
|
|
65
67
|
export * from './CartCouponResourceArrayResponse';
|
|
66
68
|
export * from './CartListResource';
|
|
@@ -167,10 +169,15 @@ export * from './ExternalApiLogResource';
|
|
|
167
169
|
export * from './ExternalApiLogResourceArrayResponse';
|
|
168
170
|
export * from './ExternalApiProvider';
|
|
169
171
|
export * from './ExternalApiSyncStatus';
|
|
172
|
+
export * from './FrontendCartResource';
|
|
173
|
+
export * from './FrontendCartResourceArrayResponse';
|
|
174
|
+
export * from './FrontendCartResourceCouponsInner';
|
|
170
175
|
export * from './FrontendComponentLiteResource';
|
|
171
176
|
export * from './FrontendComponentLiteResourceArrayResponse';
|
|
172
177
|
export * from './FrontendComponentResource';
|
|
173
178
|
export * from './FrontendComponentResourceArrayResponse';
|
|
179
|
+
export * from './FrontendLineItemResource';
|
|
180
|
+
export * from './FrontendLineItemResourceArrayResponse';
|
|
174
181
|
export * from './GenericResponse';
|
|
175
182
|
export * from './GetUniqueEndpointsRequest';
|
|
176
183
|
export * from './GlobalSearchCategoryResource';
|
|
@@ -226,7 +233,6 @@ export * from './OrderListResource';
|
|
|
226
233
|
export * from './OrderListResourceArrayResponse';
|
|
227
234
|
export * from './OrderLiteResource';
|
|
228
235
|
export * from './OrderLiteResourceArrayResponse';
|
|
229
|
-
export * from './OrderOmnisendEvent';
|
|
230
236
|
export * from './OrderStatusLiteResource';
|
|
231
237
|
export * from './OrderStatusLiteResourceArrayResponse';
|
|
232
238
|
export * from './OrderStatusWithCountResource';
|
|
@@ -353,10 +359,10 @@ export * from './ProductChildAttributeGroupedResource';
|
|
|
353
359
|
export * from './ProductChildAttributeGroupedResourceArrayResponse';
|
|
354
360
|
export * from './ProductChildAttributeResource';
|
|
355
361
|
export * from './ProductChildAttributeResourceArrayResponse';
|
|
356
|
-
export * from './ProductChildCartLiteResource';
|
|
357
|
-
export * from './ProductChildCartLiteResourceArrayResponse';
|
|
358
362
|
export * from './ProductChildFrontendResource';
|
|
359
363
|
export * from './ProductChildFrontendResourceArrayResponse';
|
|
364
|
+
export * from './ProductChildLineItemLiteResource';
|
|
365
|
+
export * from './ProductChildLineItemLiteResourceArrayResponse';
|
|
360
366
|
export * from './ProductChildListResource';
|
|
361
367
|
export * from './ProductChildListResourceArrayResponse';
|
|
362
368
|
export * from './ProductChildLiteResource';
|
|
@@ -1,25 +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 OrderOmnisendEvent: {
|
|
17
|
-
readonly PlacedOrder: "placed order";
|
|
18
|
-
readonly PaidForOrder: "paid for order";
|
|
19
|
-
};
|
|
20
|
-
export type OrderOmnisendEvent = typeof OrderOmnisendEvent[keyof typeof OrderOmnisendEvent];
|
|
21
|
-
export declare function instanceOfOrderOmnisendEvent(value: any): boolean;
|
|
22
|
-
export declare function OrderOmnisendEventFromJSON(json: any): OrderOmnisendEvent;
|
|
23
|
-
export declare function OrderOmnisendEventFromJSONTyped(json: any, ignoreDiscriminator: boolean): OrderOmnisendEvent;
|
|
24
|
-
export declare function OrderOmnisendEventToJSON(value?: OrderOmnisendEvent | null): any;
|
|
25
|
-
export declare function OrderOmnisendEventToJSONTyped(value: any, ignoreDiscriminator: boolean): OrderOmnisendEvent;
|
|
@@ -1,51 +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.OrderOmnisendEvent = void 0;
|
|
17
|
-
exports.instanceOfOrderOmnisendEvent = instanceOfOrderOmnisendEvent;
|
|
18
|
-
exports.OrderOmnisendEventFromJSON = OrderOmnisendEventFromJSON;
|
|
19
|
-
exports.OrderOmnisendEventFromJSONTyped = OrderOmnisendEventFromJSONTyped;
|
|
20
|
-
exports.OrderOmnisendEventToJSON = OrderOmnisendEventToJSON;
|
|
21
|
-
exports.OrderOmnisendEventToJSONTyped = OrderOmnisendEventToJSONTyped;
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @export
|
|
25
|
-
*/
|
|
26
|
-
exports.OrderOmnisendEvent = {
|
|
27
|
-
PlacedOrder: 'placed order',
|
|
28
|
-
PaidForOrder: 'paid for order'
|
|
29
|
-
};
|
|
30
|
-
function instanceOfOrderOmnisendEvent(value) {
|
|
31
|
-
for (var key in exports.OrderOmnisendEvent) {
|
|
32
|
-
if (Object.prototype.hasOwnProperty.call(exports.OrderOmnisendEvent, key)) {
|
|
33
|
-
if (exports.OrderOmnisendEvent[key] === value) {
|
|
34
|
-
return true;
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
return false;
|
|
39
|
-
}
|
|
40
|
-
function OrderOmnisendEventFromJSON(json) {
|
|
41
|
-
return OrderOmnisendEventFromJSONTyped(json, false);
|
|
42
|
-
}
|
|
43
|
-
function OrderOmnisendEventFromJSONTyped(json, ignoreDiscriminator) {
|
|
44
|
-
return json;
|
|
45
|
-
}
|
|
46
|
-
function OrderOmnisendEventToJSON(value) {
|
|
47
|
-
return value;
|
|
48
|
-
}
|
|
49
|
-
function OrderOmnisendEventToJSONTyped(value, ignoreDiscriminator) {
|
|
50
|
-
return value;
|
|
51
|
-
}
|
|
@@ -1,88 +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
|
-
modelNumber: string;
|
|
50
|
-
/**
|
|
51
|
-
*
|
|
52
|
-
* @type {string}
|
|
53
|
-
* @memberof ProductChildCartLiteResource
|
|
54
|
-
*/
|
|
55
|
-
name: string;
|
|
56
|
-
/**
|
|
57
|
-
*
|
|
58
|
-
* @type {number}
|
|
59
|
-
* @memberof ProductChildCartLiteResource
|
|
60
|
-
*/
|
|
61
|
-
stock: number;
|
|
62
|
-
/**
|
|
63
|
-
*
|
|
64
|
-
* @type {number}
|
|
65
|
-
* @memberof ProductChildCartLiteResource
|
|
66
|
-
*/
|
|
67
|
-
salePrice: number;
|
|
68
|
-
/**
|
|
69
|
-
*
|
|
70
|
-
* @type {AssetLiteResource}
|
|
71
|
-
* @memberof ProductChildCartLiteResource
|
|
72
|
-
*/
|
|
73
|
-
thumbnail: AssetLiteResource | null;
|
|
74
|
-
/**
|
|
75
|
-
*
|
|
76
|
-
* @type {LabelResource}
|
|
77
|
-
* @memberof ProductChildCartLiteResource
|
|
78
|
-
*/
|
|
79
|
-
label: LabelResource | null;
|
|
80
|
-
}
|
|
81
|
-
/**
|
|
82
|
-
* Check if a given object implements the ProductChildCartLiteResource interface.
|
|
83
|
-
*/
|
|
84
|
-
export declare function instanceOfProductChildCartLiteResource(value: object): value is ProductChildCartLiteResource;
|
|
85
|
-
export declare function ProductChildCartLiteResourceFromJSON(json: any): ProductChildCartLiteResource;
|
|
86
|
-
export declare function ProductChildCartLiteResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductChildCartLiteResource;
|
|
87
|
-
export declare function ProductChildCartLiteResourceToJSON(json: any): ProductChildCartLiteResource;
|
|
88
|
-
export declare function ProductChildCartLiteResourceToJSONTyped(value?: ProductChildCartLiteResource | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -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,53 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* My API
|
|
5
|
-
* API documentation for my Laravel app
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.0
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
* @export
|
|
19
|
-
*/
|
|
20
|
-
export const OrderOmnisendEvent = {
|
|
21
|
-
PlacedOrder: 'placed order',
|
|
22
|
-
PaidForOrder: 'paid for order'
|
|
23
|
-
} as const;
|
|
24
|
-
export type OrderOmnisendEvent = typeof OrderOmnisendEvent[keyof typeof OrderOmnisendEvent];
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
export function instanceOfOrderOmnisendEvent(value: any): boolean {
|
|
28
|
-
for (const key in OrderOmnisendEvent) {
|
|
29
|
-
if (Object.prototype.hasOwnProperty.call(OrderOmnisendEvent, key)) {
|
|
30
|
-
if (OrderOmnisendEvent[key as keyof typeof OrderOmnisendEvent] === value) {
|
|
31
|
-
return true;
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
return false;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
export function OrderOmnisendEventFromJSON(json: any): OrderOmnisendEvent {
|
|
39
|
-
return OrderOmnisendEventFromJSONTyped(json, false);
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
export function OrderOmnisendEventFromJSONTyped(json: any, ignoreDiscriminator: boolean): OrderOmnisendEvent {
|
|
43
|
-
return json as OrderOmnisendEvent;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
export function OrderOmnisendEventToJSON(value?: OrderOmnisendEvent | null): any {
|
|
47
|
-
return value as any;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
export function OrderOmnisendEventToJSONTyped(value: any, ignoreDiscriminator: boolean): OrderOmnisendEvent {
|
|
51
|
-
return value as OrderOmnisendEvent;
|
|
52
|
-
}
|
|
53
|
-
|