@digital8/lighting-illusions-ts-sdk 0.0.633 → 0.0.634
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 +4 -24
- package/README.md +4 -14
- package/dist/apis/NetsuiteApi.d.ts +29 -0
- package/dist/apis/NetsuiteApi.js +125 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/models/ExternalApiLogResource.d.ts +1 -1
- package/dist/models/ExternalApiLogResource.js +1 -3
- package/dist/models/StoreProductCategoryRequest.d.ts +2 -2
- package/dist/models/SyncProductNetsuiteProductRequest.d.ts +182 -0
- package/dist/models/SyncProductNetsuiteProductRequest.js +101 -0
- package/dist/models/index.d.ts +1 -12
- package/dist/models/index.js +1 -12
- package/docs/NetsuiteApi.md +74 -0
- package/docs/StoreProductCategoryRequest.md +1 -1
- package/docs/SyncProductNetsuiteProductRequest.md +84 -0
- package/package.json +1 -1
- package/src/apis/NetsuiteApi.ts +69 -0
- package/src/apis/index.ts +1 -0
- package/src/models/ExternalApiLogResource.ts +2 -3
- package/src/models/StoreProductCategoryRequest.ts +2 -2
- package/src/models/SyncProductNetsuiteProductRequest.ts +266 -0
- package/src/models/index.ts +1 -12
- package/dist/models/AssetFrontendResource.d.ts +0 -74
- package/dist/models/AssetFrontendResource.js +0 -79
- package/dist/models/AssetFrontendResourceArrayResponse.d.ts +0 -33
- package/dist/models/AssetFrontendResourceArrayResponse.js +0 -50
- package/dist/models/DocumentFrontendResource.d.ts +0 -44
- package/dist/models/DocumentFrontendResource.js +0 -57
- package/dist/models/DocumentFrontendResourceArrayResponse.d.ts +0 -33
- package/dist/models/DocumentFrontendResourceArrayResponse.js +0 -50
- package/dist/models/OverlayTemplateAssetFrontendResource.d.ts +0 -62
- package/dist/models/OverlayTemplateAssetFrontendResource.js +0 -71
- package/dist/models/OverlayTemplateAssetFrontendResourceArrayResponse.d.ts +0 -33
- package/dist/models/OverlayTemplateAssetFrontendResourceArrayResponse.js +0 -50
- package/dist/models/ProductCompareResource.d.ts +0 -141
- package/dist/models/ProductCompareResource.js +0 -124
- package/dist/models/ProductCompareResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductCompareResourceArrayResponse.js +0 -50
- package/dist/models/WishlistCheckResource.d.ts +0 -32
- package/dist/models/WishlistCheckResource.js +0 -51
- package/dist/models/WishlistCheckResourceArrayResponse.d.ts +0 -33
- package/dist/models/WishlistCheckResourceArrayResponse.js +0 -50
- package/dist/models/WishlistToggleResource.d.ts +0 -38
- package/dist/models/WishlistToggleResource.js +0 -55
- package/dist/models/WishlistToggleResourceArrayResponse.d.ts +0 -33
- package/dist/models/WishlistToggleResourceArrayResponse.js +0 -50
- package/docs/AssetFrontendResource.md +0 -48
- package/docs/AssetFrontendResourceArrayResponse.md +0 -34
- package/docs/DocumentFrontendResource.md +0 -38
- package/docs/DocumentFrontendResourceArrayResponse.md +0 -34
- package/docs/OverlayTemplateAssetFrontendResource.md +0 -44
- package/docs/OverlayTemplateAssetFrontendResourceArrayResponse.md +0 -34
- package/docs/ProductCompareResource.md +0 -70
- package/docs/ProductCompareResourceArrayResponse.md +0 -34
- package/docs/WishlistCheckResource.md +0 -34
- package/docs/WishlistCheckResourceArrayResponse.md +0 -34
- package/docs/WishlistToggleResource.md +0 -36
- package/docs/WishlistToggleResourceArrayResponse.md +0 -34
- package/src/models/AssetFrontendResource.ts +0 -129
- package/src/models/AssetFrontendResourceArrayResponse.ts +0 -73
- package/src/models/DocumentFrontendResource.ts +0 -83
- package/src/models/DocumentFrontendResourceArrayResponse.ts +0 -73
- package/src/models/OverlayTemplateAssetFrontendResource.ts +0 -111
- package/src/models/OverlayTemplateAssetFrontendResourceArrayResponse.ts +0 -73
- package/src/models/ProductCompareResource.ts +0 -236
- package/src/models/ProductCompareResourceArrayResponse.ts +0 -73
- package/src/models/WishlistCheckResource.ts +0 -66
- package/src/models/WishlistCheckResourceArrayResponse.ts +0 -73
- package/src/models/WishlistToggleResource.ts +0 -75
- package/src/models/WishlistToggleResourceArrayResponse.ts +0 -73
|
@@ -1,236 +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
|
-
import { mapValues } from '../runtime';
|
|
16
|
-
import type { AssetFrontendResource } from './AssetFrontendResource';
|
|
17
|
-
import {
|
|
18
|
-
AssetFrontendResourceFromJSON,
|
|
19
|
-
AssetFrontendResourceFromJSONTyped,
|
|
20
|
-
AssetFrontendResourceToJSON,
|
|
21
|
-
AssetFrontendResourceToJSONTyped,
|
|
22
|
-
} from './AssetFrontendResource';
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @export
|
|
27
|
-
* @interface ProductCompareResource
|
|
28
|
-
*/
|
|
29
|
-
export interface ProductCompareResource {
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {number}
|
|
33
|
-
* @memberof ProductCompareResource
|
|
34
|
-
*/
|
|
35
|
-
id: number;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {number}
|
|
39
|
-
* @memberof ProductCompareResource
|
|
40
|
-
*/
|
|
41
|
-
sku: number;
|
|
42
|
-
/**
|
|
43
|
-
*
|
|
44
|
-
* @type {string}
|
|
45
|
-
* @memberof ProductCompareResource
|
|
46
|
-
*/
|
|
47
|
-
model: string;
|
|
48
|
-
/**
|
|
49
|
-
*
|
|
50
|
-
* @type {number}
|
|
51
|
-
* @memberof ProductCompareResource
|
|
52
|
-
*/
|
|
53
|
-
stock: number;
|
|
54
|
-
/**
|
|
55
|
-
*
|
|
56
|
-
* @type {string}
|
|
57
|
-
* @memberof ProductCompareResource
|
|
58
|
-
*/
|
|
59
|
-
warranty: string;
|
|
60
|
-
/**
|
|
61
|
-
*
|
|
62
|
-
* @type {string}
|
|
63
|
-
* @memberof ProductCompareResource
|
|
64
|
-
*/
|
|
65
|
-
name: string;
|
|
66
|
-
/**
|
|
67
|
-
*
|
|
68
|
-
* @type {string}
|
|
69
|
-
* @memberof ProductCompareResource
|
|
70
|
-
*/
|
|
71
|
-
slug: string;
|
|
72
|
-
/**
|
|
73
|
-
*
|
|
74
|
-
* @type {string}
|
|
75
|
-
* @memberof ProductCompareResource
|
|
76
|
-
*/
|
|
77
|
-
parentName: string;
|
|
78
|
-
/**
|
|
79
|
-
*
|
|
80
|
-
* @type {number}
|
|
81
|
-
* @memberof ProductCompareResource
|
|
82
|
-
*/
|
|
83
|
-
price: number;
|
|
84
|
-
/**
|
|
85
|
-
*
|
|
86
|
-
* @type {number}
|
|
87
|
-
* @memberof ProductCompareResource
|
|
88
|
-
*/
|
|
89
|
-
salePrice: number;
|
|
90
|
-
/**
|
|
91
|
-
*
|
|
92
|
-
* @type {number}
|
|
93
|
-
* @memberof ProductCompareResource
|
|
94
|
-
*/
|
|
95
|
-
availability: number;
|
|
96
|
-
/**
|
|
97
|
-
*
|
|
98
|
-
* @type {number}
|
|
99
|
-
* @memberof ProductCompareResource
|
|
100
|
-
*/
|
|
101
|
-
optionsCount: number;
|
|
102
|
-
/**
|
|
103
|
-
*
|
|
104
|
-
* @type {number}
|
|
105
|
-
* @memberof ProductCompareResource
|
|
106
|
-
*/
|
|
107
|
-
averageRating: number;
|
|
108
|
-
/**
|
|
109
|
-
*
|
|
110
|
-
* @type {AssetFrontendResource}
|
|
111
|
-
* @memberof ProductCompareResource
|
|
112
|
-
*/
|
|
113
|
-
thumbnail: AssetFrontendResource | null;
|
|
114
|
-
/**
|
|
115
|
-
*
|
|
116
|
-
* @type {string}
|
|
117
|
-
* @memberof ProductCompareResource
|
|
118
|
-
*/
|
|
119
|
-
supplierName: string;
|
|
120
|
-
/**
|
|
121
|
-
*
|
|
122
|
-
* @type {AssetFrontendResource}
|
|
123
|
-
* @memberof ProductCompareResource
|
|
124
|
-
*/
|
|
125
|
-
supplierLogo: AssetFrontendResource | null;
|
|
126
|
-
/**
|
|
127
|
-
*
|
|
128
|
-
* @type {Array<object>}
|
|
129
|
-
* @memberof ProductCompareResource
|
|
130
|
-
*/
|
|
131
|
-
specsData: Array<object>;
|
|
132
|
-
/**
|
|
133
|
-
*
|
|
134
|
-
* @type {Array<object>}
|
|
135
|
-
* @memberof ProductCompareResource
|
|
136
|
-
*/
|
|
137
|
-
dimensionData: Array<object>;
|
|
138
|
-
/**
|
|
139
|
-
*
|
|
140
|
-
* @type {Array<object>}
|
|
141
|
-
* @memberof ProductCompareResource
|
|
142
|
-
*/
|
|
143
|
-
performanceSpecsData: Array<object>;
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
/**
|
|
147
|
-
* Check if a given object implements the ProductCompareResource interface.
|
|
148
|
-
*/
|
|
149
|
-
export function instanceOfProductCompareResource(value: object): value is ProductCompareResource {
|
|
150
|
-
if (!('id' in value) || value['id'] === undefined) return false;
|
|
151
|
-
if (!('sku' in value) || value['sku'] === undefined) return false;
|
|
152
|
-
if (!('model' in value) || value['model'] === undefined) return false;
|
|
153
|
-
if (!('stock' in value) || value['stock'] === undefined) return false;
|
|
154
|
-
if (!('warranty' in value) || value['warranty'] === undefined) return false;
|
|
155
|
-
if (!('name' in value) || value['name'] === undefined) return false;
|
|
156
|
-
if (!('slug' in value) || value['slug'] === undefined) return false;
|
|
157
|
-
if (!('parentName' in value) || value['parentName'] === undefined) return false;
|
|
158
|
-
if (!('price' in value) || value['price'] === undefined) return false;
|
|
159
|
-
if (!('salePrice' in value) || value['salePrice'] === undefined) return false;
|
|
160
|
-
if (!('availability' in value) || value['availability'] === undefined) return false;
|
|
161
|
-
if (!('optionsCount' in value) || value['optionsCount'] === undefined) return false;
|
|
162
|
-
if (!('averageRating' in value) || value['averageRating'] === undefined) return false;
|
|
163
|
-
if (!('thumbnail' in value) || value['thumbnail'] === undefined) return false;
|
|
164
|
-
if (!('supplierName' in value) || value['supplierName'] === undefined) return false;
|
|
165
|
-
if (!('supplierLogo' in value) || value['supplierLogo'] === undefined) return false;
|
|
166
|
-
if (!('specsData' in value) || value['specsData'] === undefined) return false;
|
|
167
|
-
if (!('dimensionData' in value) || value['dimensionData'] === undefined) return false;
|
|
168
|
-
if (!('performanceSpecsData' in value) || value['performanceSpecsData'] === undefined) return false;
|
|
169
|
-
return true;
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
export function ProductCompareResourceFromJSON(json: any): ProductCompareResource {
|
|
173
|
-
return ProductCompareResourceFromJSONTyped(json, false);
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
export function ProductCompareResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductCompareResource {
|
|
177
|
-
if (json == null) {
|
|
178
|
-
return json;
|
|
179
|
-
}
|
|
180
|
-
return {
|
|
181
|
-
|
|
182
|
-
'id': json['id'],
|
|
183
|
-
'sku': json['sku'],
|
|
184
|
-
'model': json['model'],
|
|
185
|
-
'stock': json['stock'],
|
|
186
|
-
'warranty': json['warranty'],
|
|
187
|
-
'name': json['name'],
|
|
188
|
-
'slug': json['slug'],
|
|
189
|
-
'parentName': json['parentName'],
|
|
190
|
-
'price': json['price'],
|
|
191
|
-
'salePrice': json['salePrice'],
|
|
192
|
-
'availability': json['availability'],
|
|
193
|
-
'optionsCount': json['optionsCount'],
|
|
194
|
-
'averageRating': json['averageRating'],
|
|
195
|
-
'thumbnail': AssetFrontendResourceFromJSON(json['thumbnail']),
|
|
196
|
-
'supplierName': json['supplierName'],
|
|
197
|
-
'supplierLogo': AssetFrontendResourceFromJSON(json['supplierLogo']),
|
|
198
|
-
'specsData': json['specsData'],
|
|
199
|
-
'dimensionData': json['dimensionData'],
|
|
200
|
-
'performanceSpecsData': json['performanceSpecsData'],
|
|
201
|
-
};
|
|
202
|
-
}
|
|
203
|
-
|
|
204
|
-
export function ProductCompareResourceToJSON(json: any): ProductCompareResource {
|
|
205
|
-
return ProductCompareResourceToJSONTyped(json, false);
|
|
206
|
-
}
|
|
207
|
-
|
|
208
|
-
export function ProductCompareResourceToJSONTyped(value?: ProductCompareResource | null, ignoreDiscriminator: boolean = false): any {
|
|
209
|
-
if (value == null) {
|
|
210
|
-
return value;
|
|
211
|
-
}
|
|
212
|
-
|
|
213
|
-
return {
|
|
214
|
-
|
|
215
|
-
'id': value['id'],
|
|
216
|
-
'sku': value['sku'],
|
|
217
|
-
'model': value['model'],
|
|
218
|
-
'stock': value['stock'],
|
|
219
|
-
'warranty': value['warranty'],
|
|
220
|
-
'name': value['name'],
|
|
221
|
-
'slug': value['slug'],
|
|
222
|
-
'parentName': value['parentName'],
|
|
223
|
-
'price': value['price'],
|
|
224
|
-
'salePrice': value['salePrice'],
|
|
225
|
-
'availability': value['availability'],
|
|
226
|
-
'optionsCount': value['optionsCount'],
|
|
227
|
-
'averageRating': value['averageRating'],
|
|
228
|
-
'thumbnail': AssetFrontendResourceToJSON(value['thumbnail']),
|
|
229
|
-
'supplierName': value['supplierName'],
|
|
230
|
-
'supplierLogo': AssetFrontendResourceToJSON(value['supplierLogo']),
|
|
231
|
-
'specsData': value['specsData'],
|
|
232
|
-
'dimensionData': value['dimensionData'],
|
|
233
|
-
'performanceSpecsData': value['performanceSpecsData'],
|
|
234
|
-
};
|
|
235
|
-
}
|
|
236
|
-
|
|
@@ -1,73 +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
|
-
import { mapValues } from '../runtime';
|
|
16
|
-
import type { ProductCompareResource } from './ProductCompareResource';
|
|
17
|
-
import {
|
|
18
|
-
ProductCompareResourceFromJSON,
|
|
19
|
-
ProductCompareResourceFromJSONTyped,
|
|
20
|
-
ProductCompareResourceToJSON,
|
|
21
|
-
ProductCompareResourceToJSONTyped,
|
|
22
|
-
} from './ProductCompareResource';
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @export
|
|
27
|
-
* @interface ProductCompareResourceArrayResponse
|
|
28
|
-
*/
|
|
29
|
-
export interface ProductCompareResourceArrayResponse {
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {Array<ProductCompareResource>}
|
|
33
|
-
* @memberof ProductCompareResourceArrayResponse
|
|
34
|
-
*/
|
|
35
|
-
data?: Array<ProductCompareResource>;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
/**
|
|
39
|
-
* Check if a given object implements the ProductCompareResourceArrayResponse interface.
|
|
40
|
-
*/
|
|
41
|
-
export function instanceOfProductCompareResourceArrayResponse(value: object): value is ProductCompareResourceArrayResponse {
|
|
42
|
-
return true;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
export function ProductCompareResourceArrayResponseFromJSON(json: any): ProductCompareResourceArrayResponse {
|
|
46
|
-
return ProductCompareResourceArrayResponseFromJSONTyped(json, false);
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
export function ProductCompareResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductCompareResourceArrayResponse {
|
|
50
|
-
if (json == null) {
|
|
51
|
-
return json;
|
|
52
|
-
}
|
|
53
|
-
return {
|
|
54
|
-
|
|
55
|
-
'data': json['data'] == null ? undefined : ((json['data'] as Array<any>).map(ProductCompareResourceFromJSON)),
|
|
56
|
-
};
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
export function ProductCompareResourceArrayResponseToJSON(json: any): ProductCompareResourceArrayResponse {
|
|
60
|
-
return ProductCompareResourceArrayResponseToJSONTyped(json, false);
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
export function ProductCompareResourceArrayResponseToJSONTyped(value?: ProductCompareResourceArrayResponse | 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(ProductCompareResourceToJSON)),
|
|
71
|
-
};
|
|
72
|
-
}
|
|
73
|
-
|
|
@@ -1,66 +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
|
-
import { mapValues } from '../runtime';
|
|
16
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
* @export
|
|
19
|
-
* @interface WishlistCheckResource
|
|
20
|
-
*/
|
|
21
|
-
export interface WishlistCheckResource {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {boolean}
|
|
25
|
-
* @memberof WishlistCheckResource
|
|
26
|
-
*/
|
|
27
|
-
inWishlist: boolean;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
/**
|
|
31
|
-
* Check if a given object implements the WishlistCheckResource interface.
|
|
32
|
-
*/
|
|
33
|
-
export function instanceOfWishlistCheckResource(value: object): value is WishlistCheckResource {
|
|
34
|
-
if (!('inWishlist' in value) || value['inWishlist'] === undefined) return false;
|
|
35
|
-
return true;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
export function WishlistCheckResourceFromJSON(json: any): WishlistCheckResource {
|
|
39
|
-
return WishlistCheckResourceFromJSONTyped(json, false);
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
export function WishlistCheckResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): WishlistCheckResource {
|
|
43
|
-
if (json == null) {
|
|
44
|
-
return json;
|
|
45
|
-
}
|
|
46
|
-
return {
|
|
47
|
-
|
|
48
|
-
'inWishlist': json['in_wishlist'],
|
|
49
|
-
};
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
export function WishlistCheckResourceToJSON(json: any): WishlistCheckResource {
|
|
53
|
-
return WishlistCheckResourceToJSONTyped(json, false);
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
export function WishlistCheckResourceToJSONTyped(value?: WishlistCheckResource | null, ignoreDiscriminator: boolean = false): any {
|
|
57
|
-
if (value == null) {
|
|
58
|
-
return value;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
return {
|
|
62
|
-
|
|
63
|
-
'in_wishlist': value['inWishlist'],
|
|
64
|
-
};
|
|
65
|
-
}
|
|
66
|
-
|
|
@@ -1,73 +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
|
-
import { mapValues } from '../runtime';
|
|
16
|
-
import type { WishlistCheckResource } from './WishlistCheckResource';
|
|
17
|
-
import {
|
|
18
|
-
WishlistCheckResourceFromJSON,
|
|
19
|
-
WishlistCheckResourceFromJSONTyped,
|
|
20
|
-
WishlistCheckResourceToJSON,
|
|
21
|
-
WishlistCheckResourceToJSONTyped,
|
|
22
|
-
} from './WishlistCheckResource';
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @export
|
|
27
|
-
* @interface WishlistCheckResourceArrayResponse
|
|
28
|
-
*/
|
|
29
|
-
export interface WishlistCheckResourceArrayResponse {
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {Array<WishlistCheckResource>}
|
|
33
|
-
* @memberof WishlistCheckResourceArrayResponse
|
|
34
|
-
*/
|
|
35
|
-
data?: Array<WishlistCheckResource>;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
/**
|
|
39
|
-
* Check if a given object implements the WishlistCheckResourceArrayResponse interface.
|
|
40
|
-
*/
|
|
41
|
-
export function instanceOfWishlistCheckResourceArrayResponse(value: object): value is WishlistCheckResourceArrayResponse {
|
|
42
|
-
return true;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
export function WishlistCheckResourceArrayResponseFromJSON(json: any): WishlistCheckResourceArrayResponse {
|
|
46
|
-
return WishlistCheckResourceArrayResponseFromJSONTyped(json, false);
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
export function WishlistCheckResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): WishlistCheckResourceArrayResponse {
|
|
50
|
-
if (json == null) {
|
|
51
|
-
return json;
|
|
52
|
-
}
|
|
53
|
-
return {
|
|
54
|
-
|
|
55
|
-
'data': json['data'] == null ? undefined : ((json['data'] as Array<any>).map(WishlistCheckResourceFromJSON)),
|
|
56
|
-
};
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
export function WishlistCheckResourceArrayResponseToJSON(json: any): WishlistCheckResourceArrayResponse {
|
|
60
|
-
return WishlistCheckResourceArrayResponseToJSONTyped(json, false);
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
export function WishlistCheckResourceArrayResponseToJSONTyped(value?: WishlistCheckResourceArrayResponse | 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(WishlistCheckResourceToJSON)),
|
|
71
|
-
};
|
|
72
|
-
}
|
|
73
|
-
|
|
@@ -1,75 +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
|
-
import { mapValues } from '../runtime';
|
|
16
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
* @export
|
|
19
|
-
* @interface WishlistToggleResource
|
|
20
|
-
*/
|
|
21
|
-
export interface WishlistToggleResource {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof WishlistToggleResource
|
|
26
|
-
*/
|
|
27
|
-
action: string;
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {Array<number>}
|
|
31
|
-
* @memberof WishlistToggleResource
|
|
32
|
-
*/
|
|
33
|
-
product: Array<number>;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
/**
|
|
37
|
-
* Check if a given object implements the WishlistToggleResource interface.
|
|
38
|
-
*/
|
|
39
|
-
export function instanceOfWishlistToggleResource(value: object): value is WishlistToggleResource {
|
|
40
|
-
if (!('action' in value) || value['action'] === undefined) return false;
|
|
41
|
-
if (!('product' in value) || value['product'] === undefined) return false;
|
|
42
|
-
return true;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
export function WishlistToggleResourceFromJSON(json: any): WishlistToggleResource {
|
|
46
|
-
return WishlistToggleResourceFromJSONTyped(json, false);
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
export function WishlistToggleResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): WishlistToggleResource {
|
|
50
|
-
if (json == null) {
|
|
51
|
-
return json;
|
|
52
|
-
}
|
|
53
|
-
return {
|
|
54
|
-
|
|
55
|
-
'action': json['action'],
|
|
56
|
-
'product': json['product'],
|
|
57
|
-
};
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
export function WishlistToggleResourceToJSON(json: any): WishlistToggleResource {
|
|
61
|
-
return WishlistToggleResourceToJSONTyped(json, false);
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
export function WishlistToggleResourceToJSONTyped(value?: WishlistToggleResource | null, ignoreDiscriminator: boolean = false): any {
|
|
65
|
-
if (value == null) {
|
|
66
|
-
return value;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
return {
|
|
70
|
-
|
|
71
|
-
'action': value['action'],
|
|
72
|
-
'product': value['product'],
|
|
73
|
-
};
|
|
74
|
-
}
|
|
75
|
-
|
|
@@ -1,73 +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
|
-
import { mapValues } from '../runtime';
|
|
16
|
-
import type { WishlistToggleResource } from './WishlistToggleResource';
|
|
17
|
-
import {
|
|
18
|
-
WishlistToggleResourceFromJSON,
|
|
19
|
-
WishlistToggleResourceFromJSONTyped,
|
|
20
|
-
WishlistToggleResourceToJSON,
|
|
21
|
-
WishlistToggleResourceToJSONTyped,
|
|
22
|
-
} from './WishlistToggleResource';
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @export
|
|
27
|
-
* @interface WishlistToggleResourceArrayResponse
|
|
28
|
-
*/
|
|
29
|
-
export interface WishlistToggleResourceArrayResponse {
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {Array<WishlistToggleResource>}
|
|
33
|
-
* @memberof WishlistToggleResourceArrayResponse
|
|
34
|
-
*/
|
|
35
|
-
data?: Array<WishlistToggleResource>;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
/**
|
|
39
|
-
* Check if a given object implements the WishlistToggleResourceArrayResponse interface.
|
|
40
|
-
*/
|
|
41
|
-
export function instanceOfWishlistToggleResourceArrayResponse(value: object): value is WishlistToggleResourceArrayResponse {
|
|
42
|
-
return true;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
export function WishlistToggleResourceArrayResponseFromJSON(json: any): WishlistToggleResourceArrayResponse {
|
|
46
|
-
return WishlistToggleResourceArrayResponseFromJSONTyped(json, false);
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
export function WishlistToggleResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): WishlistToggleResourceArrayResponse {
|
|
50
|
-
if (json == null) {
|
|
51
|
-
return json;
|
|
52
|
-
}
|
|
53
|
-
return {
|
|
54
|
-
|
|
55
|
-
'data': json['data'] == null ? undefined : ((json['data'] as Array<any>).map(WishlistToggleResourceFromJSON)),
|
|
56
|
-
};
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
export function WishlistToggleResourceArrayResponseToJSON(json: any): WishlistToggleResourceArrayResponse {
|
|
60
|
-
return WishlistToggleResourceArrayResponseToJSONTyped(json, false);
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
export function WishlistToggleResourceArrayResponseToJSONTyped(value?: WishlistToggleResourceArrayResponse | 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(WishlistToggleResourceToJSON)),
|
|
71
|
-
};
|
|
72
|
-
}
|
|
73
|
-
|