@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
|
@@ -0,0 +1,266 @@
|
|
|
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 SyncProductNetsuiteProductRequest
|
|
20
|
+
*/
|
|
21
|
+
export interface SyncProductNetsuiteProductRequest {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {number}
|
|
25
|
+
* @memberof SyncProductNetsuiteProductRequest
|
|
26
|
+
*/
|
|
27
|
+
internalId: number;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof SyncProductNetsuiteProductRequest
|
|
32
|
+
*/
|
|
33
|
+
productType?: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof SyncProductNetsuiteProductRequest
|
|
38
|
+
*/
|
|
39
|
+
upccode?: string;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof SyncProductNetsuiteProductRequest
|
|
44
|
+
*/
|
|
45
|
+
vendorname?: string;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {string}
|
|
49
|
+
* @memberof SyncProductNetsuiteProductRequest
|
|
50
|
+
*/
|
|
51
|
+
custitemAnxRetailId?: string;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {number}
|
|
55
|
+
* @memberof SyncProductNetsuiteProductRequest
|
|
56
|
+
*/
|
|
57
|
+
weight?: number;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {string}
|
|
61
|
+
* @memberof SyncProductNetsuiteProductRequest
|
|
62
|
+
*/
|
|
63
|
+
custitemAnxAllowOversell?: string;
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
* @type {number}
|
|
67
|
+
* @memberof SyncProductNetsuiteProductRequest
|
|
68
|
+
*/
|
|
69
|
+
onlineLocationCost?: number;
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
* @type {number}
|
|
73
|
+
* @memberof SyncProductNetsuiteProductRequest
|
|
74
|
+
*/
|
|
75
|
+
popularityScore?: number;
|
|
76
|
+
/**
|
|
77
|
+
*
|
|
78
|
+
* @type {string}
|
|
79
|
+
* @memberof SyncProductNetsuiteProductRequest
|
|
80
|
+
*/
|
|
81
|
+
excludeFrontend?: string;
|
|
82
|
+
/**
|
|
83
|
+
*
|
|
84
|
+
* @type {string}
|
|
85
|
+
* @memberof SyncProductNetsuiteProductRequest
|
|
86
|
+
*/
|
|
87
|
+
excludeSearch?: string;
|
|
88
|
+
/**
|
|
89
|
+
*
|
|
90
|
+
* @type {string}
|
|
91
|
+
* @memberof SyncProductNetsuiteProductRequest
|
|
92
|
+
*/
|
|
93
|
+
oversized?: string;
|
|
94
|
+
/**
|
|
95
|
+
*
|
|
96
|
+
* @type {string}
|
|
97
|
+
* @memberof SyncProductNetsuiteProductRequest
|
|
98
|
+
*/
|
|
99
|
+
isBundle?: string;
|
|
100
|
+
/**
|
|
101
|
+
*
|
|
102
|
+
* @type {string}
|
|
103
|
+
* @memberof SyncProductNetsuiteProductRequest
|
|
104
|
+
*/
|
|
105
|
+
bundleUpccode?: string;
|
|
106
|
+
/**
|
|
107
|
+
*
|
|
108
|
+
* @type {Array<string>}
|
|
109
|
+
* @memberof SyncProductNetsuiteProductRequest
|
|
110
|
+
*/
|
|
111
|
+
published?: Array<string>;
|
|
112
|
+
/**
|
|
113
|
+
*
|
|
114
|
+
* @type {number}
|
|
115
|
+
* @memberof SyncProductNetsuiteProductRequest
|
|
116
|
+
*/
|
|
117
|
+
custitemrrpGst?: number;
|
|
118
|
+
/**
|
|
119
|
+
*
|
|
120
|
+
* @type {string}
|
|
121
|
+
* @memberof SyncProductNetsuiteProductRequest
|
|
122
|
+
*/
|
|
123
|
+
liPrice?: string;
|
|
124
|
+
/**
|
|
125
|
+
*
|
|
126
|
+
* @type {string}
|
|
127
|
+
* @memberof SyncProductNetsuiteProductRequest
|
|
128
|
+
*/
|
|
129
|
+
cfdPrice?: string;
|
|
130
|
+
/**
|
|
131
|
+
*
|
|
132
|
+
* @type {string}
|
|
133
|
+
* @memberof SyncProductNetsuiteProductRequest
|
|
134
|
+
*/
|
|
135
|
+
labelLi?: string;
|
|
136
|
+
/**
|
|
137
|
+
*
|
|
138
|
+
* @type {string}
|
|
139
|
+
* @memberof SyncProductNetsuiteProductRequest
|
|
140
|
+
*/
|
|
141
|
+
labelCfd?: string;
|
|
142
|
+
/**
|
|
143
|
+
*
|
|
144
|
+
* @type {string}
|
|
145
|
+
* @memberof SyncProductNetsuiteProductRequest
|
|
146
|
+
*/
|
|
147
|
+
priceFeedLi?: string;
|
|
148
|
+
/**
|
|
149
|
+
*
|
|
150
|
+
* @type {string}
|
|
151
|
+
* @memberof SyncProductNetsuiteProductRequest
|
|
152
|
+
*/
|
|
153
|
+
priceFeedCfd?: string;
|
|
154
|
+
/**
|
|
155
|
+
*
|
|
156
|
+
* @type {string}
|
|
157
|
+
* @memberof SyncProductNetsuiteProductRequest
|
|
158
|
+
*/
|
|
159
|
+
socialFeed?: string;
|
|
160
|
+
/**
|
|
161
|
+
*
|
|
162
|
+
* @type {Array<string>}
|
|
163
|
+
* @memberof SyncProductNetsuiteProductRequest
|
|
164
|
+
*/
|
|
165
|
+
attribRoom?: Array<string>;
|
|
166
|
+
/**
|
|
167
|
+
*
|
|
168
|
+
* @type {Array<string>}
|
|
169
|
+
* @memberof SyncProductNetsuiteProductRequest
|
|
170
|
+
*/
|
|
171
|
+
attribStyle?: Array<string>;
|
|
172
|
+
/**
|
|
173
|
+
*
|
|
174
|
+
* @type {string}
|
|
175
|
+
* @memberof SyncProductNetsuiteProductRequest
|
|
176
|
+
*/
|
|
177
|
+
attribPrimarycolour?: string;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
/**
|
|
181
|
+
* Check if a given object implements the SyncProductNetsuiteProductRequest interface.
|
|
182
|
+
*/
|
|
183
|
+
export function instanceOfSyncProductNetsuiteProductRequest(value: object): value is SyncProductNetsuiteProductRequest {
|
|
184
|
+
if (!('internalId' in value) || value['internalId'] === undefined) return false;
|
|
185
|
+
return true;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
export function SyncProductNetsuiteProductRequestFromJSON(json: any): SyncProductNetsuiteProductRequest {
|
|
189
|
+
return SyncProductNetsuiteProductRequestFromJSONTyped(json, false);
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
export function SyncProductNetsuiteProductRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SyncProductNetsuiteProductRequest {
|
|
193
|
+
if (json == null) {
|
|
194
|
+
return json;
|
|
195
|
+
}
|
|
196
|
+
return {
|
|
197
|
+
|
|
198
|
+
'internalId': json['internalId'],
|
|
199
|
+
'productType': json['productType'] == null ? undefined : json['productType'],
|
|
200
|
+
'upccode': json['upccode'] == null ? undefined : json['upccode'],
|
|
201
|
+
'vendorname': json['vendorname'] == null ? undefined : json['vendorname'],
|
|
202
|
+
'custitemAnxRetailId': json['custitem_anx_retail_id'] == null ? undefined : json['custitem_anx_retail_id'],
|
|
203
|
+
'weight': json['weight'] == null ? undefined : json['weight'],
|
|
204
|
+
'custitemAnxAllowOversell': json['custitem_anx_allow_oversell'] == null ? undefined : json['custitem_anx_allow_oversell'],
|
|
205
|
+
'onlineLocationCost': json['online_location_cost'] == null ? undefined : json['online_location_cost'],
|
|
206
|
+
'popularityScore': json['popularity_score'] == null ? undefined : json['popularity_score'],
|
|
207
|
+
'excludeFrontend': json['exclude_frontend'] == null ? undefined : json['exclude_frontend'],
|
|
208
|
+
'excludeSearch': json['exclude_search'] == null ? undefined : json['exclude_search'],
|
|
209
|
+
'oversized': json['oversized'] == null ? undefined : json['oversized'],
|
|
210
|
+
'isBundle': json['is_bundle'] == null ? undefined : json['is_bundle'],
|
|
211
|
+
'bundleUpccode': json['bundle_upccode'] == null ? undefined : json['bundle_upccode'],
|
|
212
|
+
'published': json['published'] == null ? undefined : json['published'],
|
|
213
|
+
'custitemrrpGst': json['custitemrrp_gst'] == null ? undefined : json['custitemrrp_gst'],
|
|
214
|
+
'liPrice': json['li_price'] == null ? undefined : json['li_price'],
|
|
215
|
+
'cfdPrice': json['cfd_price'] == null ? undefined : json['cfd_price'],
|
|
216
|
+
'labelLi': json['label_li'] == null ? undefined : json['label_li'],
|
|
217
|
+
'labelCfd': json['label_cfd'] == null ? undefined : json['label_cfd'],
|
|
218
|
+
'priceFeedLi': json['price_feed_li'] == null ? undefined : json['price_feed_li'],
|
|
219
|
+
'priceFeedCfd': json['price_feed_cfd'] == null ? undefined : json['price_feed_cfd'],
|
|
220
|
+
'socialFeed': json['social_feed'] == null ? undefined : json['social_feed'],
|
|
221
|
+
'attribRoom': json['attrib_room'] == null ? undefined : json['attrib_room'],
|
|
222
|
+
'attribStyle': json['attrib_style'] == null ? undefined : json['attrib_style'],
|
|
223
|
+
'attribPrimarycolour': json['attrib_primarycolour'] == null ? undefined : json['attrib_primarycolour'],
|
|
224
|
+
};
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
export function SyncProductNetsuiteProductRequestToJSON(json: any): SyncProductNetsuiteProductRequest {
|
|
228
|
+
return SyncProductNetsuiteProductRequestToJSONTyped(json, false);
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
export function SyncProductNetsuiteProductRequestToJSONTyped(value?: SyncProductNetsuiteProductRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
232
|
+
if (value == null) {
|
|
233
|
+
return value;
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
return {
|
|
237
|
+
|
|
238
|
+
'internalId': value['internalId'],
|
|
239
|
+
'productType': value['productType'],
|
|
240
|
+
'upccode': value['upccode'],
|
|
241
|
+
'vendorname': value['vendorname'],
|
|
242
|
+
'custitem_anx_retail_id': value['custitemAnxRetailId'],
|
|
243
|
+
'weight': value['weight'],
|
|
244
|
+
'custitem_anx_allow_oversell': value['custitemAnxAllowOversell'],
|
|
245
|
+
'online_location_cost': value['onlineLocationCost'],
|
|
246
|
+
'popularity_score': value['popularityScore'],
|
|
247
|
+
'exclude_frontend': value['excludeFrontend'],
|
|
248
|
+
'exclude_search': value['excludeSearch'],
|
|
249
|
+
'oversized': value['oversized'],
|
|
250
|
+
'is_bundle': value['isBundle'],
|
|
251
|
+
'bundle_upccode': value['bundleUpccode'],
|
|
252
|
+
'published': value['published'],
|
|
253
|
+
'custitemrrp_gst': value['custitemrrpGst'],
|
|
254
|
+
'li_price': value['liPrice'],
|
|
255
|
+
'cfd_price': value['cfdPrice'],
|
|
256
|
+
'label_li': value['labelLi'],
|
|
257
|
+
'label_cfd': value['labelCfd'],
|
|
258
|
+
'price_feed_li': value['priceFeedLi'],
|
|
259
|
+
'price_feed_cfd': value['priceFeedCfd'],
|
|
260
|
+
'social_feed': value['socialFeed'],
|
|
261
|
+
'attrib_room': value['attribRoom'],
|
|
262
|
+
'attrib_style': value['attribStyle'],
|
|
263
|
+
'attrib_primarycolour': value['attribPrimarycolour'],
|
|
264
|
+
};
|
|
265
|
+
}
|
|
266
|
+
|
package/src/models/index.ts
CHANGED
|
@@ -2,8 +2,6 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
export * from './AssetFileForUploadResource';
|
|
4
4
|
export * from './AssetFileForUploadResourceArrayResponse';
|
|
5
|
-
export * from './AssetFrontendResource';
|
|
6
|
-
export * from './AssetFrontendResourceArrayResponse';
|
|
7
5
|
export * from './AssetLiteResource';
|
|
8
6
|
export * from './AssetLiteResourceArrayResponse';
|
|
9
7
|
export * from './AssetResource';
|
|
@@ -45,8 +43,6 @@ export * from './DetachDocumentsProductChildSiteDetailRequest';
|
|
|
45
43
|
export * from './DetachProductsProductCategoryRequest';
|
|
46
44
|
export * from './DocumentFileForUploadResource';
|
|
47
45
|
export * from './DocumentFileForUploadResourceArrayResponse';
|
|
48
|
-
export * from './DocumentFrontendResource';
|
|
49
|
-
export * from './DocumentFrontendResourceArrayResponse';
|
|
50
46
|
export * from './DocumentLiteResource';
|
|
51
47
|
export * from './DocumentLiteResourceArrayResponse';
|
|
52
48
|
export * from './DocumentResource';
|
|
@@ -91,8 +87,6 @@ export * from './IndexSupplierRequest';
|
|
|
91
87
|
export * from './IndexTagRequest';
|
|
92
88
|
export * from './ModelAttributeResource';
|
|
93
89
|
export * from './ModelAttributeResourceArrayResponse';
|
|
94
|
-
export * from './OverlayTemplateAssetFrontendResource';
|
|
95
|
-
export * from './OverlayTemplateAssetFrontendResourceArrayResponse';
|
|
96
90
|
export * from './OverlayTemplateAssetPosition';
|
|
97
91
|
export * from './OverlayTemplateAssetResource';
|
|
98
92
|
export * from './OverlayTemplateAssetResourceArrayResponse';
|
|
@@ -167,8 +161,6 @@ export * from './ProductChildSiteDetailLiteResource';
|
|
|
167
161
|
export * from './ProductChildSiteDetailLiteResourceArrayResponse';
|
|
168
162
|
export * from './ProductChildSiteDetailResource';
|
|
169
163
|
export * from './ProductChildSiteDetailResourceArrayResponse';
|
|
170
|
-
export * from './ProductCompareResource';
|
|
171
|
-
export * from './ProductCompareResourceArrayResponse';
|
|
172
164
|
export * from './ProductListResource';
|
|
173
165
|
export * from './ProductListResourceArrayResponse';
|
|
174
166
|
export * from './ProductLiteResource';
|
|
@@ -235,6 +227,7 @@ export * from './SupplierLiteResource';
|
|
|
235
227
|
export * from './SupplierLiteResourceArrayResponse';
|
|
236
228
|
export * from './SupplierResource';
|
|
237
229
|
export * from './SupplierResourceArrayResponse';
|
|
230
|
+
export * from './SyncProductNetsuiteProductRequest';
|
|
238
231
|
export * from './TagListResource';
|
|
239
232
|
export * from './TagListResourceArrayResponse';
|
|
240
233
|
export * from './TagLiteResource';
|
|
@@ -260,7 +253,3 @@ export * from './UpdateSiteNotificationRequest';
|
|
|
260
253
|
export * from './UpdateSiteRequest';
|
|
261
254
|
export * from './UpdateSupplierRequest';
|
|
262
255
|
export * from './UpdateTagRequest';
|
|
263
|
-
export * from './WishlistCheckResource';
|
|
264
|
-
export * from './WishlistCheckResourceArrayResponse';
|
|
265
|
-
export * from './WishlistToggleResource';
|
|
266
|
-
export * from './WishlistToggleResourceArrayResponse';
|
|
@@ -1,74 +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
|
-
* @interface AssetFrontendResource
|
|
16
|
-
*/
|
|
17
|
-
export interface AssetFrontendResource {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {number}
|
|
21
|
-
* @memberof AssetFrontendResource
|
|
22
|
-
*/
|
|
23
|
-
id: number;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof AssetFrontendResource
|
|
28
|
-
*/
|
|
29
|
-
filePath: string;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof AssetFrontendResource
|
|
34
|
-
*/
|
|
35
|
-
fileName: string;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof AssetFrontendResource
|
|
40
|
-
*/
|
|
41
|
-
altText: string;
|
|
42
|
-
/**
|
|
43
|
-
*
|
|
44
|
-
* @type {number}
|
|
45
|
-
* @memberof AssetFrontendResource
|
|
46
|
-
*/
|
|
47
|
-
index: number;
|
|
48
|
-
/**
|
|
49
|
-
*
|
|
50
|
-
* @type {boolean}
|
|
51
|
-
* @memberof AssetFrontendResource
|
|
52
|
-
*/
|
|
53
|
-
isThumbnail: boolean;
|
|
54
|
-
/**
|
|
55
|
-
*
|
|
56
|
-
* @type {boolean}
|
|
57
|
-
* @memberof AssetFrontendResource
|
|
58
|
-
*/
|
|
59
|
-
isLifestyle: boolean;
|
|
60
|
-
/**
|
|
61
|
-
*
|
|
62
|
-
* @type {object}
|
|
63
|
-
* @memberof AssetFrontendResource
|
|
64
|
-
*/
|
|
65
|
-
overlays: object;
|
|
66
|
-
}
|
|
67
|
-
/**
|
|
68
|
-
* Check if a given object implements the AssetFrontendResource interface.
|
|
69
|
-
*/
|
|
70
|
-
export declare function instanceOfAssetFrontendResource(value: object): value is AssetFrontendResource;
|
|
71
|
-
export declare function AssetFrontendResourceFromJSON(json: any): AssetFrontendResource;
|
|
72
|
-
export declare function AssetFrontendResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): AssetFrontendResource;
|
|
73
|
-
export declare function AssetFrontendResourceToJSON(json: any): AssetFrontendResource;
|
|
74
|
-
export declare function AssetFrontendResourceToJSONTyped(value?: AssetFrontendResource | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,79 +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.instanceOfAssetFrontendResource = instanceOfAssetFrontendResource;
|
|
17
|
-
exports.AssetFrontendResourceFromJSON = AssetFrontendResourceFromJSON;
|
|
18
|
-
exports.AssetFrontendResourceFromJSONTyped = AssetFrontendResourceFromJSONTyped;
|
|
19
|
-
exports.AssetFrontendResourceToJSON = AssetFrontendResourceToJSON;
|
|
20
|
-
exports.AssetFrontendResourceToJSONTyped = AssetFrontendResourceToJSONTyped;
|
|
21
|
-
/**
|
|
22
|
-
* Check if a given object implements the AssetFrontendResource interface.
|
|
23
|
-
*/
|
|
24
|
-
function instanceOfAssetFrontendResource(value) {
|
|
25
|
-
if (!('id' in value) || value['id'] === undefined)
|
|
26
|
-
return false;
|
|
27
|
-
if (!('filePath' in value) || value['filePath'] === undefined)
|
|
28
|
-
return false;
|
|
29
|
-
if (!('fileName' in value) || value['fileName'] === undefined)
|
|
30
|
-
return false;
|
|
31
|
-
if (!('altText' in value) || value['altText'] === undefined)
|
|
32
|
-
return false;
|
|
33
|
-
if (!('index' in value) || value['index'] === undefined)
|
|
34
|
-
return false;
|
|
35
|
-
if (!('isThumbnail' in value) || value['isThumbnail'] === undefined)
|
|
36
|
-
return false;
|
|
37
|
-
if (!('isLifestyle' in value) || value['isLifestyle'] === undefined)
|
|
38
|
-
return false;
|
|
39
|
-
if (!('overlays' in value) || value['overlays'] === undefined)
|
|
40
|
-
return false;
|
|
41
|
-
return true;
|
|
42
|
-
}
|
|
43
|
-
function AssetFrontendResourceFromJSON(json) {
|
|
44
|
-
return AssetFrontendResourceFromJSONTyped(json, false);
|
|
45
|
-
}
|
|
46
|
-
function AssetFrontendResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
47
|
-
if (json == null) {
|
|
48
|
-
return json;
|
|
49
|
-
}
|
|
50
|
-
return {
|
|
51
|
-
'id': json['id'],
|
|
52
|
-
'filePath': json['filePath'],
|
|
53
|
-
'fileName': json['fileName'],
|
|
54
|
-
'altText': json['altText'],
|
|
55
|
-
'index': json['index'],
|
|
56
|
-
'isThumbnail': json['isThumbnail'],
|
|
57
|
-
'isLifestyle': json['isLifestyle'],
|
|
58
|
-
'overlays': json['overlays'],
|
|
59
|
-
};
|
|
60
|
-
}
|
|
61
|
-
function AssetFrontendResourceToJSON(json) {
|
|
62
|
-
return AssetFrontendResourceToJSONTyped(json, false);
|
|
63
|
-
}
|
|
64
|
-
function AssetFrontendResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
65
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
66
|
-
if (value == null) {
|
|
67
|
-
return value;
|
|
68
|
-
}
|
|
69
|
-
return {
|
|
70
|
-
'id': value['id'],
|
|
71
|
-
'filePath': value['filePath'],
|
|
72
|
-
'fileName': value['fileName'],
|
|
73
|
-
'altText': value['altText'],
|
|
74
|
-
'index': value['index'],
|
|
75
|
-
'isThumbnail': value['isThumbnail'],
|
|
76
|
-
'isLifestyle': value['isLifestyle'],
|
|
77
|
-
'overlays': value['overlays'],
|
|
78
|
-
};
|
|
79
|
-
}
|
|
@@ -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 { AssetFrontendResource } from './AssetFrontendResource';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface AssetFrontendResourceArrayResponse
|
|
17
|
-
*/
|
|
18
|
-
export interface AssetFrontendResourceArrayResponse {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {Array<AssetFrontendResource>}
|
|
22
|
-
* @memberof AssetFrontendResourceArrayResponse
|
|
23
|
-
*/
|
|
24
|
-
data?: Array<AssetFrontendResource>;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Check if a given object implements the AssetFrontendResourceArrayResponse interface.
|
|
28
|
-
*/
|
|
29
|
-
export declare function instanceOfAssetFrontendResourceArrayResponse(value: object): value is AssetFrontendResourceArrayResponse;
|
|
30
|
-
export declare function AssetFrontendResourceArrayResponseFromJSON(json: any): AssetFrontendResourceArrayResponse;
|
|
31
|
-
export declare function AssetFrontendResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): AssetFrontendResourceArrayResponse;
|
|
32
|
-
export declare function AssetFrontendResourceArrayResponseToJSON(json: any): AssetFrontendResourceArrayResponse;
|
|
33
|
-
export declare function AssetFrontendResourceArrayResponseToJSONTyped(value?: AssetFrontendResourceArrayResponse | 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.instanceOfAssetFrontendResourceArrayResponse = instanceOfAssetFrontendResourceArrayResponse;
|
|
17
|
-
exports.AssetFrontendResourceArrayResponseFromJSON = AssetFrontendResourceArrayResponseFromJSON;
|
|
18
|
-
exports.AssetFrontendResourceArrayResponseFromJSONTyped = AssetFrontendResourceArrayResponseFromJSONTyped;
|
|
19
|
-
exports.AssetFrontendResourceArrayResponseToJSON = AssetFrontendResourceArrayResponseToJSON;
|
|
20
|
-
exports.AssetFrontendResourceArrayResponseToJSONTyped = AssetFrontendResourceArrayResponseToJSONTyped;
|
|
21
|
-
var AssetFrontendResource_1 = require("./AssetFrontendResource");
|
|
22
|
-
/**
|
|
23
|
-
* Check if a given object implements the AssetFrontendResourceArrayResponse interface.
|
|
24
|
-
*/
|
|
25
|
-
function instanceOfAssetFrontendResourceArrayResponse(value) {
|
|
26
|
-
return true;
|
|
27
|
-
}
|
|
28
|
-
function AssetFrontendResourceArrayResponseFromJSON(json) {
|
|
29
|
-
return AssetFrontendResourceArrayResponseFromJSONTyped(json, false);
|
|
30
|
-
}
|
|
31
|
-
function AssetFrontendResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
-
if (json == null) {
|
|
33
|
-
return json;
|
|
34
|
-
}
|
|
35
|
-
return {
|
|
36
|
-
'data': json['data'] == null ? undefined : (json['data'].map(AssetFrontendResource_1.AssetFrontendResourceFromJSON)),
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
function AssetFrontendResourceArrayResponseToJSON(json) {
|
|
40
|
-
return AssetFrontendResourceArrayResponseToJSONTyped(json, false);
|
|
41
|
-
}
|
|
42
|
-
function AssetFrontendResourceArrayResponseToJSONTyped(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(AssetFrontendResource_1.AssetFrontendResourceToJSON)),
|
|
49
|
-
};
|
|
50
|
-
}
|
|
@@ -1,44 +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
|
-
* @interface DocumentFrontendResource
|
|
16
|
-
*/
|
|
17
|
-
export interface DocumentFrontendResource {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {number}
|
|
21
|
-
* @memberof DocumentFrontendResource
|
|
22
|
-
*/
|
|
23
|
-
id?: number | null;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof DocumentFrontendResource
|
|
28
|
-
*/
|
|
29
|
-
name: string;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof DocumentFrontendResource
|
|
34
|
-
*/
|
|
35
|
-
fileUrl: string;
|
|
36
|
-
}
|
|
37
|
-
/**
|
|
38
|
-
* Check if a given object implements the DocumentFrontendResource interface.
|
|
39
|
-
*/
|
|
40
|
-
export declare function instanceOfDocumentFrontendResource(value: object): value is DocumentFrontendResource;
|
|
41
|
-
export declare function DocumentFrontendResourceFromJSON(json: any): DocumentFrontendResource;
|
|
42
|
-
export declare function DocumentFrontendResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): DocumentFrontendResource;
|
|
43
|
-
export declare function DocumentFrontendResourceToJSON(json: any): DocumentFrontendResource;
|
|
44
|
-
export declare function DocumentFrontendResourceToJSONTyped(value?: DocumentFrontendResource | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* My API
|
|
6
|
-
* API documentation for my Laravel app
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 1.0.0
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.instanceOfDocumentFrontendResource = instanceOfDocumentFrontendResource;
|
|
17
|
-
exports.DocumentFrontendResourceFromJSON = DocumentFrontendResourceFromJSON;
|
|
18
|
-
exports.DocumentFrontendResourceFromJSONTyped = DocumentFrontendResourceFromJSONTyped;
|
|
19
|
-
exports.DocumentFrontendResourceToJSON = DocumentFrontendResourceToJSON;
|
|
20
|
-
exports.DocumentFrontendResourceToJSONTyped = DocumentFrontendResourceToJSONTyped;
|
|
21
|
-
/**
|
|
22
|
-
* Check if a given object implements the DocumentFrontendResource interface.
|
|
23
|
-
*/
|
|
24
|
-
function instanceOfDocumentFrontendResource(value) {
|
|
25
|
-
if (!('name' in value) || value['name'] === undefined)
|
|
26
|
-
return false;
|
|
27
|
-
if (!('fileUrl' in value) || value['fileUrl'] === undefined)
|
|
28
|
-
return false;
|
|
29
|
-
return true;
|
|
30
|
-
}
|
|
31
|
-
function DocumentFrontendResourceFromJSON(json) {
|
|
32
|
-
return DocumentFrontendResourceFromJSONTyped(json, false);
|
|
33
|
-
}
|
|
34
|
-
function DocumentFrontendResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
-
if (json == null) {
|
|
36
|
-
return json;
|
|
37
|
-
}
|
|
38
|
-
return {
|
|
39
|
-
'id': json['id'] == null ? undefined : json['id'],
|
|
40
|
-
'name': json['name'],
|
|
41
|
-
'fileUrl': json['fileUrl'],
|
|
42
|
-
};
|
|
43
|
-
}
|
|
44
|
-
function DocumentFrontendResourceToJSON(json) {
|
|
45
|
-
return DocumentFrontendResourceToJSONTyped(json, false);
|
|
46
|
-
}
|
|
47
|
-
function DocumentFrontendResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
48
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
49
|
-
if (value == null) {
|
|
50
|
-
return value;
|
|
51
|
-
}
|
|
52
|
-
return {
|
|
53
|
-
'id': value['id'],
|
|
54
|
-
'name': value['name'],
|
|
55
|
-
'fileUrl': value['fileUrl'],
|
|
56
|
-
};
|
|
57
|
-
}
|
|
@@ -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 { DocumentFrontendResource } from './DocumentFrontendResource';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface DocumentFrontendResourceArrayResponse
|
|
17
|
-
*/
|
|
18
|
-
export interface DocumentFrontendResourceArrayResponse {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {Array<DocumentFrontendResource>}
|
|
22
|
-
* @memberof DocumentFrontendResourceArrayResponse
|
|
23
|
-
*/
|
|
24
|
-
data?: Array<DocumentFrontendResource>;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Check if a given object implements the DocumentFrontendResourceArrayResponse interface.
|
|
28
|
-
*/
|
|
29
|
-
export declare function instanceOfDocumentFrontendResourceArrayResponse(value: object): value is DocumentFrontendResourceArrayResponse;
|
|
30
|
-
export declare function DocumentFrontendResourceArrayResponseFromJSON(json: any): DocumentFrontendResourceArrayResponse;
|
|
31
|
-
export declare function DocumentFrontendResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): DocumentFrontendResourceArrayResponse;
|
|
32
|
-
export declare function DocumentFrontendResourceArrayResponseToJSON(json: any): DocumentFrontendResourceArrayResponse;
|
|
33
|
-
export declare function DocumentFrontendResourceArrayResponseToJSONTyped(value?: DocumentFrontendResourceArrayResponse | null, ignoreDiscriminator?: boolean): any;
|