@digital8/lighting-illusions-ts-sdk 0.0.721 → 0.0.722
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 +0 -64
- package/README.md +2 -50
- package/dist/apis/AttributeApi.d.ts +1 -12
- package/dist/apis/AttributeApi.js +0 -45
- package/dist/apis/index.d.ts +0 -1
- package/dist/apis/index.js +0 -1
- package/dist/models/AttachDocumentablesDocumentRequestDocumentablesInner.d.ts +0 -1
- package/dist/models/AttachDocumentablesDocumentRequestDocumentablesInner.js +0 -1
- package/dist/models/DetachDocumentablesDocumentRequestDocumentablesInner.d.ts +0 -1
- package/dist/models/DetachDocumentablesDocumentRequestDocumentablesInner.js +0 -1
- package/dist/models/ExternalApiLogResource.d.ts +1 -1
- package/dist/models/ExternalApiLogResource.js +1 -3
- package/dist/models/GetAllDocumentRequest.d.ts +0 -1
- package/dist/models/GetAllDocumentRequest.js +0 -1
- package/dist/models/GetAllProductChildRequest.d.ts +0 -1
- package/dist/models/GetAllProductChildRequest.js +0 -1
- package/dist/models/IndexAttributeRequest.d.ts +0 -2
- package/dist/models/IndexAttributeRequest.js +1 -3
- package/dist/models/IndexDocumentRequest.d.ts +0 -1
- package/dist/models/IndexDocumentRequest.js +0 -1
- package/dist/models/IndexProductChildRequest.d.ts +0 -1
- package/dist/models/IndexProductChildRequest.js +0 -1
- package/dist/models/ProductChildResource.d.ts +1 -7
- package/dist/models/ProductChildResource.js +2 -4
- package/dist/models/index.d.ts +0 -31
- package/dist/models/index.js +0 -31
- package/docs/AttributeApi.md +0 -66
- package/docs/ProductChildResource.md +2 -4
- package/package.json +1 -1
- package/src/apis/AttributeApi.ts +0 -42
- package/src/apis/index.ts +0 -1
- package/src/models/AttachDocumentablesDocumentRequestDocumentablesInner.ts +0 -1
- package/src/models/DetachDocumentablesDocumentRequestDocumentablesInner.ts +0 -1
- package/src/models/ExternalApiLogResource.ts +2 -3
- package/src/models/GetAllDocumentRequest.ts +0 -1
- package/src/models/GetAllProductChildRequest.ts +0 -1
- package/src/models/IndexAttributeRequest.ts +1 -3
- package/src/models/IndexDocumentRequest.ts +0 -1
- package/src/models/IndexProductChildRequest.ts +0 -1
- package/src/models/ProductChildResource.ts +3 -11
- package/src/models/index.ts +0 -31
- package/dist/apis/ProductRangeApi.d.ts +0 -205
- package/dist/apis/ProductRangeApi.js +0 -835
- package/dist/models/AttachAccessoriesProductRangeRequest.d.ts +0 -32
- package/dist/models/AttachAccessoriesProductRangeRequest.js +0 -51
- package/dist/models/AttachAttributesProductRangeRequest.d.ts +0 -32
- package/dist/models/AttachAttributesProductRangeRequest.js +0 -51
- package/dist/models/AttachDocumentsProductRangeRequest.d.ts +0 -33
- package/dist/models/AttachDocumentsProductRangeRequest.js +0 -52
- package/dist/models/DetachAccessoriesProductRangeRequest.d.ts +0 -32
- package/dist/models/DetachAccessoriesProductRangeRequest.js +0 -51
- package/dist/models/DetachAttributesProductRangeRequest.d.ts +0 -32
- package/dist/models/DetachAttributesProductRangeRequest.js +0 -51
- package/dist/models/DetachDocumentsProductRangeRequest.d.ts +0 -32
- package/dist/models/DetachDocumentsProductRangeRequest.js +0 -51
- package/dist/models/GetAllProductRangeRequest.d.ts +0 -98
- package/dist/models/GetAllProductRangeRequest.js +0 -82
- package/dist/models/IndexModelAttributeRequest.d.ts +0 -110
- package/dist/models/IndexModelAttributeRequest.js +0 -86
- package/dist/models/IndexProductRangeRequest.d.ts +0 -110
- package/dist/models/IndexProductRangeRequest.js +0 -86
- package/dist/models/ModelAttributeListResource.d.ts +0 -52
- package/dist/models/ModelAttributeListResource.js +0 -65
- package/dist/models/ModelAttributeListResourceArrayResponse.d.ts +0 -33
- package/dist/models/ModelAttributeListResourceArrayResponse.js +0 -50
- package/dist/models/PaginatedModelAttributeListResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedModelAttributeListResourceResponse.js +0 -57
- package/dist/models/PaginatedProductRangeFrontendListResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedProductRangeFrontendListResourceResponse.js +0 -57
- package/dist/models/PaginatedProductRangeListResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedProductRangeListResourceResponse.js +0 -57
- package/dist/models/PaginatedProductRangeLiteResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedProductRangeLiteResourceResponse.js +0 -57
- package/dist/models/PaginatedProductRangeResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedProductRangeResourceResponse.js +0 -57
- package/dist/models/ProductRangeFrontendListResource.d.ts +0 -62
- package/dist/models/ProductRangeFrontendListResource.js +0 -71
- package/dist/models/ProductRangeFrontendListResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductRangeFrontendListResourceArrayResponse.js +0 -50
- package/dist/models/ProductRangeFrontendResource.d.ts +0 -118
- package/dist/models/ProductRangeFrontendResource.js +0 -109
- package/dist/models/ProductRangeFrontendResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductRangeFrontendResourceArrayResponse.js +0 -50
- package/dist/models/ProductRangeListResource.d.ts +0 -52
- package/dist/models/ProductRangeListResource.js +0 -65
- package/dist/models/ProductRangeListResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductRangeListResourceArrayResponse.js +0 -50
- package/dist/models/ProductRangeLiteResource.d.ts +0 -38
- package/dist/models/ProductRangeLiteResource.js +0 -55
- package/dist/models/ProductRangeLiteResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductRangeLiteResourceArrayResponse.js +0 -50
- package/dist/models/ProductRangeResource.d.ts +0 -83
- package/dist/models/ProductRangeResource.js +0 -82
- package/dist/models/ProductRangeResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductRangeResourceArrayResponse.js +0 -50
- package/dist/models/ProductRangeSiteDetailResource.d.ts +0 -94
- package/dist/models/ProductRangeSiteDetailResource.js +0 -93
- package/dist/models/ProductRangeSiteDetailResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductRangeSiteDetailResourceArrayResponse.js +0 -50
- package/dist/models/StoreProductRangeRequest.d.ts +0 -52
- package/dist/models/StoreProductRangeRequest.js +0 -59
- package/dist/models/StoreProductRangeRequestSitesInner.d.ts +0 -92
- package/dist/models/StoreProductRangeRequestSitesInner.js +0 -75
- package/dist/models/UpdateProductRangeRequest.d.ts +0 -52
- package/dist/models/UpdateProductRangeRequest.js +0 -59
- package/docs/AttachAccessoriesProductRangeRequest.md +0 -34
- package/docs/AttachAttributesProductRangeRequest.md +0 -34
- package/docs/AttachDocumentsProductRangeRequest.md +0 -34
- package/docs/DetachAccessoriesProductRangeRequest.md +0 -34
- package/docs/DetachAttributesProductRangeRequest.md +0 -34
- package/docs/DetachDocumentsProductRangeRequest.md +0 -34
- package/docs/GetAllProductRangeRequest.md +0 -50
- package/docs/IndexModelAttributeRequest.md +0 -54
- package/docs/IndexProductRangeRequest.md +0 -54
- package/docs/ModelAttributeListResource.md +0 -40
- package/docs/ModelAttributeListResourceArrayResponse.md +0 -34
- package/docs/PaginatedModelAttributeListResourceResponse.md +0 -36
- package/docs/PaginatedProductRangeFrontendListResourceResponse.md +0 -36
- package/docs/PaginatedProductRangeListResourceResponse.md +0 -36
- package/docs/PaginatedProductRangeLiteResourceResponse.md +0 -36
- package/docs/PaginatedProductRangeResourceResponse.md +0 -36
- package/docs/ProductRangeApi.md +0 -1097
- package/docs/ProductRangeFrontendListResource.md +0 -44
- package/docs/ProductRangeFrontendListResourceArrayResponse.md +0 -34
- package/docs/ProductRangeFrontendResource.md +0 -62
- package/docs/ProductRangeFrontendResourceArrayResponse.md +0 -34
- package/docs/ProductRangeListResource.md +0 -40
- package/docs/ProductRangeListResourceArrayResponse.md +0 -34
- package/docs/ProductRangeLiteResource.md +0 -36
- package/docs/ProductRangeLiteResourceArrayResponse.md +0 -34
- package/docs/ProductRangeResource.md +0 -50
- package/docs/ProductRangeResourceArrayResponse.md +0 -34
- package/docs/ProductRangeSiteDetailResource.md +0 -54
- package/docs/ProductRangeSiteDetailResourceArrayResponse.md +0 -34
- package/docs/StoreProductRangeRequest.md +0 -40
- package/docs/StoreProductRangeRequestSitesInner.md +0 -54
- package/docs/UpdateProductRangeRequest.md +0 -40
- package/src/apis/ProductRangeApi.ts +0 -760
- package/src/models/AttachAccessoriesProductRangeRequest.ts +0 -66
- package/src/models/AttachAttributesProductRangeRequest.ts +0 -66
- package/src/models/AttachDocumentsProductRangeRequest.ts +0 -74
- package/src/models/DetachAccessoriesProductRangeRequest.ts +0 -66
- package/src/models/DetachAttributesProductRangeRequest.ts +0 -66
- package/src/models/DetachDocumentsProductRangeRequest.ts +0 -66
- package/src/models/GetAllProductRangeRequest.ts +0 -151
- package/src/models/IndexModelAttributeRequest.ts +0 -167
- package/src/models/IndexProductRangeRequest.ts +0 -167
- package/src/models/ModelAttributeListResource.ts +0 -108
- package/src/models/ModelAttributeListResourceArrayResponse.ts +0 -73
- package/src/models/PaginatedModelAttributeListResourceResponse.ts +0 -90
- package/src/models/PaginatedProductRangeFrontendListResourceResponse.ts +0 -90
- package/src/models/PaginatedProductRangeListResourceResponse.ts +0 -90
- package/src/models/PaginatedProductRangeLiteResourceResponse.ts +0 -90
- package/src/models/PaginatedProductRangeResourceResponse.ts +0 -90
- package/src/models/ProductRangeFrontendListResource.ts +0 -111
- package/src/models/ProductRangeFrontendListResourceArrayResponse.ts +0 -73
- package/src/models/ProductRangeFrontendResource.ts +0 -207
- package/src/models/ProductRangeFrontendResourceArrayResponse.ts +0 -73
- package/src/models/ProductRangeListResource.ts +0 -108
- package/src/models/ProductRangeListResourceArrayResponse.ts +0 -73
- package/src/models/ProductRangeLiteResource.ts +0 -75
- package/src/models/ProductRangeLiteResourceArrayResponse.ts +0 -73
- package/src/models/ProductRangeResource.ts +0 -158
- package/src/models/ProductRangeResourceArrayResponse.ts +0 -73
- package/src/models/ProductRangeSiteDetailResource.ts +0 -171
- package/src/models/ProductRangeSiteDetailResourceArrayResponse.ts +0 -73
- package/src/models/StoreProductRangeRequest.ts +0 -105
- package/src/models/StoreProductRangeRequestSitesInner.ts +0 -148
- package/src/models/UpdateProductRangeRequest.ts +0 -105
|
@@ -121,7 +121,6 @@ export declare const IndexProductChildRequestRelatedTypeEnum: {
|
|
|
121
121
|
readonly Document: "document";
|
|
122
122
|
readonly OverlayTemplate: "overlayTemplate";
|
|
123
123
|
readonly ProductType: "productType";
|
|
124
|
-
readonly ProductRange: "productRange";
|
|
125
124
|
readonly Supplier: "supplier";
|
|
126
125
|
readonly Tag: "tag";
|
|
127
126
|
readonly Site: "site";
|
|
@@ -77,12 +77,6 @@ export interface ProductChildResource {
|
|
|
77
77
|
* @memberof ProductChildResource
|
|
78
78
|
*/
|
|
79
79
|
hideFromFrontend: boolean;
|
|
80
|
-
/**
|
|
81
|
-
*
|
|
82
|
-
* @type {string}
|
|
83
|
-
* @memberof ProductChildResource
|
|
84
|
-
*/
|
|
85
|
-
supplierBarcode?: string | null;
|
|
86
80
|
/**
|
|
87
81
|
*
|
|
88
82
|
* @type {number}
|
|
@@ -112,7 +106,7 @@ export interface ProductChildResource {
|
|
|
112
106
|
* @type {string}
|
|
113
107
|
* @memberof ProductChildResource
|
|
114
108
|
*/
|
|
115
|
-
|
|
109
|
+
barcode?: string | null;
|
|
116
110
|
/**
|
|
117
111
|
*
|
|
118
112
|
* @type {boolean}
|
|
@@ -90,12 +90,11 @@ function ProductChildResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
90
90
|
'sku': json['sku'],
|
|
91
91
|
'buyPrice': json['buyPrice'],
|
|
92
92
|
'hideFromFrontend': json['hideFromFrontend'],
|
|
93
|
-
'supplierBarcode': json['supplierBarcode'] == null ? undefined : json['supplierBarcode'],
|
|
94
93
|
'popularityScore': json['popularityScore'],
|
|
95
94
|
'excludeFromSearch': json['excludeFromSearch'],
|
|
96
95
|
'isOversized': json['isOversized'],
|
|
97
96
|
'isBundle': json['isBundle'],
|
|
98
|
-
'
|
|
97
|
+
'barcode': json['barcode'] == null ? undefined : json['barcode'],
|
|
99
98
|
'displayInSocialFeed': json['displayInSocialFeed'],
|
|
100
99
|
'googleStockStatus': json['googleStockStatus'],
|
|
101
100
|
'netsuiteId': json['netsuiteId'] == null ? undefined : json['netsuiteId'],
|
|
@@ -128,12 +127,11 @@ function ProductChildResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
|
128
127
|
'sku': value['sku'],
|
|
129
128
|
'buyPrice': value['buyPrice'],
|
|
130
129
|
'hideFromFrontend': value['hideFromFrontend'],
|
|
131
|
-
'supplierBarcode': value['supplierBarcode'],
|
|
132
130
|
'popularityScore': value['popularityScore'],
|
|
133
131
|
'excludeFromSearch': value['excludeFromSearch'],
|
|
134
132
|
'isOversized': value['isOversized'],
|
|
135
133
|
'isBundle': value['isBundle'],
|
|
136
|
-
'
|
|
134
|
+
'barcode': value['barcode'],
|
|
137
135
|
'displayInSocialFeed': value['displayInSocialFeed'],
|
|
138
136
|
'googleStockStatus': value['googleStockStatus'],
|
|
139
137
|
'netsuiteId': value['netsuiteId'],
|
package/dist/models/index.d.ts
CHANGED
|
@@ -7,15 +7,12 @@ export * from './AssetLiteResourceArrayResponse';
|
|
|
7
7
|
export * from './AssetResource';
|
|
8
8
|
export * from './AssetResourceArrayResponse';
|
|
9
9
|
export * from './AttachAccessoriesProductChildRequest';
|
|
10
|
-
export * from './AttachAccessoriesProductRangeRequest';
|
|
11
10
|
export * from './AttachAssetsOverlayTemplateRequest';
|
|
12
11
|
export * from './AttachAttributeProductTypeRequest';
|
|
13
|
-
export * from './AttachAttributesProductRangeRequest';
|
|
14
12
|
export * from './AttachDocumentablesDocumentRequest';
|
|
15
13
|
export * from './AttachDocumentablesDocumentRequestDocumentablesInner';
|
|
16
14
|
export * from './AttachDocumentsProductChildRequest';
|
|
17
15
|
export * from './AttachDocumentsProductChildRequestDocumentsInner';
|
|
18
|
-
export * from './AttachDocumentsProductRangeRequest';
|
|
19
16
|
export * from './AttachProductTypeAttributeRequest';
|
|
20
17
|
export * from './AttachProductsProductCategoryRequest';
|
|
21
18
|
export * from './AttributeFieldType';
|
|
@@ -47,13 +44,10 @@ export * from './DefinitionResourceArrayResponse';
|
|
|
47
44
|
export * from './DescriptionResource';
|
|
48
45
|
export * from './DescriptionResourceArrayResponse';
|
|
49
46
|
export * from './DestroyAttributeValueRequest';
|
|
50
|
-
export * from './DetachAccessoriesProductRangeRequest';
|
|
51
47
|
export * from './DetachAssetableOverlayTemplateRequest';
|
|
52
|
-
export * from './DetachAttributesProductRangeRequest';
|
|
53
48
|
export * from './DetachDocumentablesDocumentRequest';
|
|
54
49
|
export * from './DetachDocumentablesDocumentRequestDocumentablesInner';
|
|
55
50
|
export * from './DetachDocumentsProductChildRequest';
|
|
56
|
-
export * from './DetachDocumentsProductRangeRequest';
|
|
57
51
|
export * from './DetachProductsProductCategoryRequest';
|
|
58
52
|
export * from './DocumentFileForUploadResource';
|
|
59
53
|
export * from './DocumentFileForUploadResourceArrayResponse';
|
|
@@ -77,7 +71,6 @@ export * from './GetAllGoogleCategoryRequest';
|
|
|
77
71
|
export * from './GetAllOverlayTemplateRequest';
|
|
78
72
|
export * from './GetAllProductCategoryRequest';
|
|
79
73
|
export * from './GetAllProductChildRequest';
|
|
80
|
-
export * from './GetAllProductRangeRequest';
|
|
81
74
|
export * from './GetAllProductRequest';
|
|
82
75
|
export * from './GetAllProductTypeRequest';
|
|
83
76
|
export * from './GetAllSupplierRequest';
|
|
@@ -95,19 +88,15 @@ export * from './IndexAttributeRequest';
|
|
|
95
88
|
export * from './IndexDefinitionRequest';
|
|
96
89
|
export * from './IndexDocumentRequest';
|
|
97
90
|
export * from './IndexExternalApiLogRequest';
|
|
98
|
-
export * from './IndexModelAttributeRequest';
|
|
99
91
|
export * from './IndexOverlayTemplateRequest';
|
|
100
92
|
export * from './IndexProductCategoryRequest';
|
|
101
93
|
export * from './IndexProductChildRequest';
|
|
102
|
-
export * from './IndexProductRangeRequest';
|
|
103
94
|
export * from './IndexProductRequest';
|
|
104
95
|
export * from './IndexProductTypeRequest';
|
|
105
96
|
export * from './IndexSiteNotificationRequest';
|
|
106
97
|
export * from './IndexSiteRequest';
|
|
107
98
|
export * from './IndexSupplierRequest';
|
|
108
99
|
export * from './IndexTagRequest';
|
|
109
|
-
export * from './ModelAttributeListResource';
|
|
110
|
-
export * from './ModelAttributeListResourceArrayResponse';
|
|
111
100
|
export * from './ModelAttributeResource';
|
|
112
101
|
export * from './ModelAttributeResourceArrayResponse';
|
|
113
102
|
export * from './OverlayTemplateAssetFrontendResource';
|
|
@@ -132,7 +121,6 @@ export * from './PaginatedDocumentResourceResponse';
|
|
|
132
121
|
export * from './PaginatedExternalApiLogListResourceResponse';
|
|
133
122
|
export * from './PaginatedExternalApiLogResourceResponse';
|
|
134
123
|
export * from './PaginatedGoogleCategoryResourceResponse';
|
|
135
|
-
export * from './PaginatedModelAttributeListResourceResponse';
|
|
136
124
|
export * from './PaginatedOverlayTemplateListResourceResponse';
|
|
137
125
|
export * from './PaginatedOverlayTemplateLiteResourceResponse';
|
|
138
126
|
export * from './PaginatedOverlayTemplateResourceResponse';
|
|
@@ -145,10 +133,6 @@ export * from './PaginatedProductChildRelationResourceResponse';
|
|
|
145
133
|
export * from './PaginatedProductChildResourceResponse';
|
|
146
134
|
export * from './PaginatedProductListResourceResponse';
|
|
147
135
|
export * from './PaginatedProductLiteResourceResponse';
|
|
148
|
-
export * from './PaginatedProductRangeFrontendListResourceResponse';
|
|
149
|
-
export * from './PaginatedProductRangeListResourceResponse';
|
|
150
|
-
export * from './PaginatedProductRangeLiteResourceResponse';
|
|
151
|
-
export * from './PaginatedProductRangeResourceResponse';
|
|
152
136
|
export * from './PaginatedProductResourceResponse';
|
|
153
137
|
export * from './PaginatedProductSearchResultResourceResponse';
|
|
154
138
|
export * from './PaginatedProductTypeListResourceResponse';
|
|
@@ -201,18 +185,6 @@ export * from './ProductListResource';
|
|
|
201
185
|
export * from './ProductListResourceArrayResponse';
|
|
202
186
|
export * from './ProductLiteResource';
|
|
203
187
|
export * from './ProductLiteResourceArrayResponse';
|
|
204
|
-
export * from './ProductRangeFrontendListResource';
|
|
205
|
-
export * from './ProductRangeFrontendListResourceArrayResponse';
|
|
206
|
-
export * from './ProductRangeFrontendResource';
|
|
207
|
-
export * from './ProductRangeFrontendResourceArrayResponse';
|
|
208
|
-
export * from './ProductRangeListResource';
|
|
209
|
-
export * from './ProductRangeListResourceArrayResponse';
|
|
210
|
-
export * from './ProductRangeLiteResource';
|
|
211
|
-
export * from './ProductRangeLiteResourceArrayResponse';
|
|
212
|
-
export * from './ProductRangeResource';
|
|
213
|
-
export * from './ProductRangeResourceArrayResponse';
|
|
214
|
-
export * from './ProductRangeSiteDetailResource';
|
|
215
|
-
export * from './ProductRangeSiteDetailResourceArrayResponse';
|
|
216
188
|
export * from './ProductRating';
|
|
217
189
|
export * from './ProductResource';
|
|
218
190
|
export * from './ProductResourceArrayResponse';
|
|
@@ -261,8 +233,6 @@ export * from './StoreProductChildRequest';
|
|
|
261
233
|
export * from './StoreProductChildRequestAssetsInner';
|
|
262
234
|
export * from './StoreProductChildRequestAttributeValuesInner';
|
|
263
235
|
export * from './StoreProductChildRequestSitesInner';
|
|
264
|
-
export * from './StoreProductRangeRequest';
|
|
265
|
-
export * from './StoreProductRangeRequestSitesInner';
|
|
266
236
|
export * from './StoreProductRequest';
|
|
267
237
|
export * from './StoreProductRequestCategoriesInner';
|
|
268
238
|
export * from './StoreProductTypeRequest';
|
|
@@ -298,7 +268,6 @@ export * from './UpdateOverlayTemplateRequest';
|
|
|
298
268
|
export * from './UpdateProductCategoryRequest';
|
|
299
269
|
export * from './UpdateProductChildRequest';
|
|
300
270
|
export * from './UpdateProductChildRequestAssetsInner';
|
|
301
|
-
export * from './UpdateProductRangeRequest';
|
|
302
271
|
export * from './UpdateProductRequest';
|
|
303
272
|
export * from './UpdateProductTypeRequest';
|
|
304
273
|
export * from './UpdateProductTypeRequestPerformanceValuesInner';
|
package/dist/models/index.js
CHANGED
|
@@ -25,15 +25,12 @@ __exportStar(require("./AssetLiteResourceArrayResponse"), exports);
|
|
|
25
25
|
__exportStar(require("./AssetResource"), exports);
|
|
26
26
|
__exportStar(require("./AssetResourceArrayResponse"), exports);
|
|
27
27
|
__exportStar(require("./AttachAccessoriesProductChildRequest"), exports);
|
|
28
|
-
__exportStar(require("./AttachAccessoriesProductRangeRequest"), exports);
|
|
29
28
|
__exportStar(require("./AttachAssetsOverlayTemplateRequest"), exports);
|
|
30
29
|
__exportStar(require("./AttachAttributeProductTypeRequest"), exports);
|
|
31
|
-
__exportStar(require("./AttachAttributesProductRangeRequest"), exports);
|
|
32
30
|
__exportStar(require("./AttachDocumentablesDocumentRequest"), exports);
|
|
33
31
|
__exportStar(require("./AttachDocumentablesDocumentRequestDocumentablesInner"), exports);
|
|
34
32
|
__exportStar(require("./AttachDocumentsProductChildRequest"), exports);
|
|
35
33
|
__exportStar(require("./AttachDocumentsProductChildRequestDocumentsInner"), exports);
|
|
36
|
-
__exportStar(require("./AttachDocumentsProductRangeRequest"), exports);
|
|
37
34
|
__exportStar(require("./AttachProductTypeAttributeRequest"), exports);
|
|
38
35
|
__exportStar(require("./AttachProductsProductCategoryRequest"), exports);
|
|
39
36
|
__exportStar(require("./AttributeFieldType"), exports);
|
|
@@ -65,13 +62,10 @@ __exportStar(require("./DefinitionResourceArrayResponse"), exports);
|
|
|
65
62
|
__exportStar(require("./DescriptionResource"), exports);
|
|
66
63
|
__exportStar(require("./DescriptionResourceArrayResponse"), exports);
|
|
67
64
|
__exportStar(require("./DestroyAttributeValueRequest"), exports);
|
|
68
|
-
__exportStar(require("./DetachAccessoriesProductRangeRequest"), exports);
|
|
69
65
|
__exportStar(require("./DetachAssetableOverlayTemplateRequest"), exports);
|
|
70
|
-
__exportStar(require("./DetachAttributesProductRangeRequest"), exports);
|
|
71
66
|
__exportStar(require("./DetachDocumentablesDocumentRequest"), exports);
|
|
72
67
|
__exportStar(require("./DetachDocumentablesDocumentRequestDocumentablesInner"), exports);
|
|
73
68
|
__exportStar(require("./DetachDocumentsProductChildRequest"), exports);
|
|
74
|
-
__exportStar(require("./DetachDocumentsProductRangeRequest"), exports);
|
|
75
69
|
__exportStar(require("./DetachProductsProductCategoryRequest"), exports);
|
|
76
70
|
__exportStar(require("./DocumentFileForUploadResource"), exports);
|
|
77
71
|
__exportStar(require("./DocumentFileForUploadResourceArrayResponse"), exports);
|
|
@@ -95,7 +89,6 @@ __exportStar(require("./GetAllGoogleCategoryRequest"), exports);
|
|
|
95
89
|
__exportStar(require("./GetAllOverlayTemplateRequest"), exports);
|
|
96
90
|
__exportStar(require("./GetAllProductCategoryRequest"), exports);
|
|
97
91
|
__exportStar(require("./GetAllProductChildRequest"), exports);
|
|
98
|
-
__exportStar(require("./GetAllProductRangeRequest"), exports);
|
|
99
92
|
__exportStar(require("./GetAllProductRequest"), exports);
|
|
100
93
|
__exportStar(require("./GetAllProductTypeRequest"), exports);
|
|
101
94
|
__exportStar(require("./GetAllSupplierRequest"), exports);
|
|
@@ -113,19 +106,15 @@ __exportStar(require("./IndexAttributeRequest"), exports);
|
|
|
113
106
|
__exportStar(require("./IndexDefinitionRequest"), exports);
|
|
114
107
|
__exportStar(require("./IndexDocumentRequest"), exports);
|
|
115
108
|
__exportStar(require("./IndexExternalApiLogRequest"), exports);
|
|
116
|
-
__exportStar(require("./IndexModelAttributeRequest"), exports);
|
|
117
109
|
__exportStar(require("./IndexOverlayTemplateRequest"), exports);
|
|
118
110
|
__exportStar(require("./IndexProductCategoryRequest"), exports);
|
|
119
111
|
__exportStar(require("./IndexProductChildRequest"), exports);
|
|
120
|
-
__exportStar(require("./IndexProductRangeRequest"), exports);
|
|
121
112
|
__exportStar(require("./IndexProductRequest"), exports);
|
|
122
113
|
__exportStar(require("./IndexProductTypeRequest"), exports);
|
|
123
114
|
__exportStar(require("./IndexSiteNotificationRequest"), exports);
|
|
124
115
|
__exportStar(require("./IndexSiteRequest"), exports);
|
|
125
116
|
__exportStar(require("./IndexSupplierRequest"), exports);
|
|
126
117
|
__exportStar(require("./IndexTagRequest"), exports);
|
|
127
|
-
__exportStar(require("./ModelAttributeListResource"), exports);
|
|
128
|
-
__exportStar(require("./ModelAttributeListResourceArrayResponse"), exports);
|
|
129
118
|
__exportStar(require("./ModelAttributeResource"), exports);
|
|
130
119
|
__exportStar(require("./ModelAttributeResourceArrayResponse"), exports);
|
|
131
120
|
__exportStar(require("./OverlayTemplateAssetFrontendResource"), exports);
|
|
@@ -150,7 +139,6 @@ __exportStar(require("./PaginatedDocumentResourceResponse"), exports);
|
|
|
150
139
|
__exportStar(require("./PaginatedExternalApiLogListResourceResponse"), exports);
|
|
151
140
|
__exportStar(require("./PaginatedExternalApiLogResourceResponse"), exports);
|
|
152
141
|
__exportStar(require("./PaginatedGoogleCategoryResourceResponse"), exports);
|
|
153
|
-
__exportStar(require("./PaginatedModelAttributeListResourceResponse"), exports);
|
|
154
142
|
__exportStar(require("./PaginatedOverlayTemplateListResourceResponse"), exports);
|
|
155
143
|
__exportStar(require("./PaginatedOverlayTemplateLiteResourceResponse"), exports);
|
|
156
144
|
__exportStar(require("./PaginatedOverlayTemplateResourceResponse"), exports);
|
|
@@ -163,10 +151,6 @@ __exportStar(require("./PaginatedProductChildRelationResourceResponse"), exports
|
|
|
163
151
|
__exportStar(require("./PaginatedProductChildResourceResponse"), exports);
|
|
164
152
|
__exportStar(require("./PaginatedProductListResourceResponse"), exports);
|
|
165
153
|
__exportStar(require("./PaginatedProductLiteResourceResponse"), exports);
|
|
166
|
-
__exportStar(require("./PaginatedProductRangeFrontendListResourceResponse"), exports);
|
|
167
|
-
__exportStar(require("./PaginatedProductRangeListResourceResponse"), exports);
|
|
168
|
-
__exportStar(require("./PaginatedProductRangeLiteResourceResponse"), exports);
|
|
169
|
-
__exportStar(require("./PaginatedProductRangeResourceResponse"), exports);
|
|
170
154
|
__exportStar(require("./PaginatedProductResourceResponse"), exports);
|
|
171
155
|
__exportStar(require("./PaginatedProductSearchResultResourceResponse"), exports);
|
|
172
156
|
__exportStar(require("./PaginatedProductTypeListResourceResponse"), exports);
|
|
@@ -219,18 +203,6 @@ __exportStar(require("./ProductListResource"), exports);
|
|
|
219
203
|
__exportStar(require("./ProductListResourceArrayResponse"), exports);
|
|
220
204
|
__exportStar(require("./ProductLiteResource"), exports);
|
|
221
205
|
__exportStar(require("./ProductLiteResourceArrayResponse"), exports);
|
|
222
|
-
__exportStar(require("./ProductRangeFrontendListResource"), exports);
|
|
223
|
-
__exportStar(require("./ProductRangeFrontendListResourceArrayResponse"), exports);
|
|
224
|
-
__exportStar(require("./ProductRangeFrontendResource"), exports);
|
|
225
|
-
__exportStar(require("./ProductRangeFrontendResourceArrayResponse"), exports);
|
|
226
|
-
__exportStar(require("./ProductRangeListResource"), exports);
|
|
227
|
-
__exportStar(require("./ProductRangeListResourceArrayResponse"), exports);
|
|
228
|
-
__exportStar(require("./ProductRangeLiteResource"), exports);
|
|
229
|
-
__exportStar(require("./ProductRangeLiteResourceArrayResponse"), exports);
|
|
230
|
-
__exportStar(require("./ProductRangeResource"), exports);
|
|
231
|
-
__exportStar(require("./ProductRangeResourceArrayResponse"), exports);
|
|
232
|
-
__exportStar(require("./ProductRangeSiteDetailResource"), exports);
|
|
233
|
-
__exportStar(require("./ProductRangeSiteDetailResourceArrayResponse"), exports);
|
|
234
206
|
__exportStar(require("./ProductRating"), exports);
|
|
235
207
|
__exportStar(require("./ProductResource"), exports);
|
|
236
208
|
__exportStar(require("./ProductResourceArrayResponse"), exports);
|
|
@@ -279,8 +251,6 @@ __exportStar(require("./StoreProductChildRequest"), exports);
|
|
|
279
251
|
__exportStar(require("./StoreProductChildRequestAssetsInner"), exports);
|
|
280
252
|
__exportStar(require("./StoreProductChildRequestAttributeValuesInner"), exports);
|
|
281
253
|
__exportStar(require("./StoreProductChildRequestSitesInner"), exports);
|
|
282
|
-
__exportStar(require("./StoreProductRangeRequest"), exports);
|
|
283
|
-
__exportStar(require("./StoreProductRangeRequestSitesInner"), exports);
|
|
284
254
|
__exportStar(require("./StoreProductRequest"), exports);
|
|
285
255
|
__exportStar(require("./StoreProductRequestCategoriesInner"), exports);
|
|
286
256
|
__exportStar(require("./StoreProductTypeRequest"), exports);
|
|
@@ -316,7 +286,6 @@ __exportStar(require("./UpdateOverlayTemplateRequest"), exports);
|
|
|
316
286
|
__exportStar(require("./UpdateProductCategoryRequest"), exports);
|
|
317
287
|
__exportStar(require("./UpdateProductChildRequest"), exports);
|
|
318
288
|
__exportStar(require("./UpdateProductChildRequestAssetsInner"), exports);
|
|
319
|
-
__exportStar(require("./UpdateProductRangeRequest"), exports);
|
|
320
289
|
__exportStar(require("./UpdateProductRequest"), exports);
|
|
321
290
|
__exportStar(require("./UpdateProductTypeRequest"), exports);
|
|
322
291
|
__exportStar(require("./UpdateProductTypeRequestPerformanceValuesInner"), exports);
|
package/docs/AttributeApi.md
CHANGED
|
@@ -10,7 +10,6 @@ All URIs are relative to *http://localhost/api*
|
|
|
10
10
|
| [**detachProductTypeAttribute**](AttributeApi.md#detachproducttypeattribute) | **POST** /admin-api/attribute/{attribute}/detach-product-type/{productType} | Auto-generated: detachProductTypeAttribute |
|
|
11
11
|
| [**getAllAttribute**](AttributeApi.md#getallattributeoperation) | **POST** /admin-api/attribute/all | Auto-generated: getAllAttribute |
|
|
12
12
|
| [**indexAttribute**](AttributeApi.md#indexattributeoperation) | **POST** /admin-api/attribute/list | Auto-generated: indexAttribute |
|
|
13
|
-
| [**indexModelAttribute**](AttributeApi.md#indexmodelattributeoperation) | **POST** /admin-api/attribute/model-attribute/list | Auto-generated: indexModelAttribute |
|
|
14
13
|
| [**showAttribute**](AttributeApi.md#showattribute) | **GET** /admin-api/attribute/{attribute} | Auto-generated: showAttribute |
|
|
15
14
|
| [**storeAttribute**](AttributeApi.md#storeattributeoperation) | **POST** /admin-api/attribute/create | Auto-generated: storeAttribute |
|
|
16
15
|
| [**storeAttributeValue**](AttributeApi.md#storeattributevalueoperation) | **POST** /admin-api/attribute/value/create | Auto-generated: storeAttributeValue |
|
|
@@ -421,71 +420,6 @@ No authorization required
|
|
|
421
420
|
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
422
421
|
|
|
423
422
|
|
|
424
|
-
## indexModelAttribute
|
|
425
|
-
|
|
426
|
-
> PaginatedModelAttributeListResourceResponse indexModelAttribute(indexModelAttributeRequest)
|
|
427
|
-
|
|
428
|
-
Auto-generated: indexModelAttribute
|
|
429
|
-
|
|
430
|
-
### Example
|
|
431
|
-
|
|
432
|
-
```ts
|
|
433
|
-
import {
|
|
434
|
-
Configuration,
|
|
435
|
-
AttributeApi,
|
|
436
|
-
} from '@digital8/lighting-illusions-ts-sdk';
|
|
437
|
-
import type { IndexModelAttributeOperationRequest } from '@digital8/lighting-illusions-ts-sdk';
|
|
438
|
-
|
|
439
|
-
async function example() {
|
|
440
|
-
console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
|
|
441
|
-
const api = new AttributeApi();
|
|
442
|
-
|
|
443
|
-
const body = {
|
|
444
|
-
// IndexModelAttributeRequest (optional)
|
|
445
|
-
indexModelAttributeRequest: ...,
|
|
446
|
-
} satisfies IndexModelAttributeOperationRequest;
|
|
447
|
-
|
|
448
|
-
try {
|
|
449
|
-
const data = await api.indexModelAttribute(body);
|
|
450
|
-
console.log(data);
|
|
451
|
-
} catch (error) {
|
|
452
|
-
console.error(error);
|
|
453
|
-
}
|
|
454
|
-
}
|
|
455
|
-
|
|
456
|
-
// Run the test
|
|
457
|
-
example().catch(console.error);
|
|
458
|
-
```
|
|
459
|
-
|
|
460
|
-
### Parameters
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
| Name | Type | Description | Notes |
|
|
464
|
-
|------------- | ------------- | ------------- | -------------|
|
|
465
|
-
| **indexModelAttributeRequest** | [IndexModelAttributeRequest](IndexModelAttributeRequest.md) | | [Optional] |
|
|
466
|
-
|
|
467
|
-
### Return type
|
|
468
|
-
|
|
469
|
-
[**PaginatedModelAttributeListResourceResponse**](PaginatedModelAttributeListResourceResponse.md)
|
|
470
|
-
|
|
471
|
-
### Authorization
|
|
472
|
-
|
|
473
|
-
No authorization required
|
|
474
|
-
|
|
475
|
-
### HTTP request headers
|
|
476
|
-
|
|
477
|
-
- **Content-Type**: `application/json`
|
|
478
|
-
- **Accept**: `application/json`
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
### HTTP response details
|
|
482
|
-
| Status code | Description | Response headers |
|
|
483
|
-
|-------------|-------------|------------------|
|
|
484
|
-
| **200** | Paginated response \\JsonResponse<\\ResourcePaginator<\\ModelAttributeListResource[]>> | - |
|
|
485
|
-
|
|
486
|
-
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
487
|
-
|
|
488
|
-
|
|
489
423
|
## showAttribute
|
|
490
424
|
|
|
491
425
|
> AttributeResource showAttribute(attribute)
|
|
@@ -16,12 +16,11 @@ Name | Type
|
|
|
16
16
|
`sku` | number
|
|
17
17
|
`buyPrice` | number
|
|
18
18
|
`hideFromFrontend` | boolean
|
|
19
|
-
`supplierBarcode` | string
|
|
20
19
|
`popularityScore` | number
|
|
21
20
|
`excludeFromSearch` | boolean
|
|
22
21
|
`isOversized` | boolean
|
|
23
22
|
`isBundle` | boolean
|
|
24
|
-
`
|
|
23
|
+
`barcode` | string
|
|
25
24
|
`displayInSocialFeed` | boolean
|
|
26
25
|
`googleStockStatus` | number
|
|
27
26
|
`netsuiteId` | string
|
|
@@ -51,12 +50,11 @@ const example = {
|
|
|
51
50
|
"sku": null,
|
|
52
51
|
"buyPrice": null,
|
|
53
52
|
"hideFromFrontend": null,
|
|
54
|
-
"supplierBarcode": null,
|
|
55
53
|
"popularityScore": null,
|
|
56
54
|
"excludeFromSearch": null,
|
|
57
55
|
"isOversized": null,
|
|
58
56
|
"isBundle": null,
|
|
59
|
-
"
|
|
57
|
+
"barcode": null,
|
|
60
58
|
"displayInSocialFeed": null,
|
|
61
59
|
"googleStockStatus": null,
|
|
62
60
|
"netsuiteId": null,
|
package/package.json
CHANGED
package/src/apis/AttributeApi.ts
CHANGED
|
@@ -23,10 +23,8 @@ import type {
|
|
|
23
23
|
GenericResponse,
|
|
24
24
|
GetAllAttributeRequest,
|
|
25
25
|
IndexAttributeRequest,
|
|
26
|
-
IndexModelAttributeRequest,
|
|
27
26
|
ModelAttributeResourceArrayResponse,
|
|
28
27
|
PaginatedAttributeListResourceResponse,
|
|
29
|
-
PaginatedModelAttributeListResourceResponse,
|
|
30
28
|
StoreAttributeRequest,
|
|
31
29
|
StoreAttributeValueRequest,
|
|
32
30
|
UpdateAttributeRequest,
|
|
@@ -51,14 +49,10 @@ import {
|
|
|
51
49
|
GetAllAttributeRequestToJSON,
|
|
52
50
|
IndexAttributeRequestFromJSON,
|
|
53
51
|
IndexAttributeRequestToJSON,
|
|
54
|
-
IndexModelAttributeRequestFromJSON,
|
|
55
|
-
IndexModelAttributeRequestToJSON,
|
|
56
52
|
ModelAttributeResourceArrayResponseFromJSON,
|
|
57
53
|
ModelAttributeResourceArrayResponseToJSON,
|
|
58
54
|
PaginatedAttributeListResourceResponseFromJSON,
|
|
59
55
|
PaginatedAttributeListResourceResponseToJSON,
|
|
60
|
-
PaginatedModelAttributeListResourceResponseFromJSON,
|
|
61
|
-
PaginatedModelAttributeListResourceResponseToJSON,
|
|
62
56
|
StoreAttributeRequestFromJSON,
|
|
63
57
|
StoreAttributeRequestToJSON,
|
|
64
58
|
StoreAttributeValueRequestFromJSON,
|
|
@@ -100,10 +94,6 @@ export interface IndexAttributeOperationRequest {
|
|
|
100
94
|
indexAttributeRequest?: IndexAttributeRequest;
|
|
101
95
|
}
|
|
102
96
|
|
|
103
|
-
export interface IndexModelAttributeOperationRequest {
|
|
104
|
-
indexModelAttributeRequest?: IndexModelAttributeRequest;
|
|
105
|
-
}
|
|
106
|
-
|
|
107
97
|
export interface ShowAttributeRequest {
|
|
108
98
|
attribute: number;
|
|
109
99
|
}
|
|
@@ -371,38 +361,6 @@ export class AttributeApi extends runtime.BaseAPI {
|
|
|
371
361
|
return await response.value();
|
|
372
362
|
}
|
|
373
363
|
|
|
374
|
-
/**
|
|
375
|
-
* Auto-generated: indexModelAttribute
|
|
376
|
-
*/
|
|
377
|
-
async indexModelAttributeRaw(requestParameters: IndexModelAttributeOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedModelAttributeListResourceResponse>> {
|
|
378
|
-
const queryParameters: any = {};
|
|
379
|
-
|
|
380
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
381
|
-
|
|
382
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
let urlPath = `/admin-api/attribute/model-attribute/list`;
|
|
386
|
-
|
|
387
|
-
const response = await this.request({
|
|
388
|
-
path: urlPath,
|
|
389
|
-
method: 'POST',
|
|
390
|
-
headers: headerParameters,
|
|
391
|
-
query: queryParameters,
|
|
392
|
-
body: IndexModelAttributeRequestToJSON(requestParameters['indexModelAttributeRequest']),
|
|
393
|
-
}, initOverrides);
|
|
394
|
-
|
|
395
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => PaginatedModelAttributeListResourceResponseFromJSON(jsonValue));
|
|
396
|
-
}
|
|
397
|
-
|
|
398
|
-
/**
|
|
399
|
-
* Auto-generated: indexModelAttribute
|
|
400
|
-
*/
|
|
401
|
-
async indexModelAttribute(requestParameters: IndexModelAttributeOperationRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedModelAttributeListResourceResponse> {
|
|
402
|
-
const response = await this.indexModelAttributeRaw(requestParameters, initOverrides);
|
|
403
|
-
return await response.value();
|
|
404
|
-
}
|
|
405
|
-
|
|
406
364
|
/**
|
|
407
365
|
* Auto-generated: showAttribute
|
|
408
366
|
*/
|
package/src/apis/index.ts
CHANGED
|
@@ -9,7 +9,6 @@ export * from './GoogleCategoryApi';
|
|
|
9
9
|
export * from './OverlayTemplateApi';
|
|
10
10
|
export * from './ProductApi';
|
|
11
11
|
export * from './ProductCategoryApi';
|
|
12
|
-
export * from './ProductRangeApi';
|
|
13
12
|
export * from './ProductTypeApi';
|
|
14
13
|
export * from './SiteApi';
|
|
15
14
|
export * from './SupplierApi';
|
|
@@ -45,7 +45,6 @@ export interface AttachDocumentablesDocumentRequestDocumentablesInner {
|
|
|
45
45
|
*/
|
|
46
46
|
export const AttachDocumentablesDocumentRequestDocumentablesInnerDocumentableTypeEnum = {
|
|
47
47
|
AppModelsProductsProductChild: 'App\\Models\\Products\\ProductChild',
|
|
48
|
-
AppModelsProductRangesProductRange: 'App\\Models\\ProductRanges\\ProductRange',
|
|
49
48
|
AppModelsProductRangeSite: 'App\\Models\\ProductRangeSite'
|
|
50
49
|
} as const;
|
|
51
50
|
export type AttachDocumentablesDocumentRequestDocumentablesInnerDocumentableTypeEnum = typeof AttachDocumentablesDocumentRequestDocumentablesInnerDocumentableTypeEnum[keyof typeof AttachDocumentablesDocumentRequestDocumentablesInnerDocumentableTypeEnum];
|
|
@@ -39,7 +39,6 @@ export interface DetachDocumentablesDocumentRequestDocumentablesInner {
|
|
|
39
39
|
*/
|
|
40
40
|
export const DetachDocumentablesDocumentRequestDocumentablesInnerDocumentableTypeEnum = {
|
|
41
41
|
AppModelsProductsProductChild: 'App\\Models\\Products\\ProductChild',
|
|
42
|
-
AppModelsProductRangesProductRange: 'App\\Models\\ProductRanges\\ProductRange',
|
|
43
42
|
AppModelsProductRangeSite: 'App\\Models\\ProductRangeSite'
|
|
44
43
|
} as const;
|
|
45
44
|
export type DetachDocumentablesDocumentRequestDocumentablesInnerDocumentableTypeEnum = typeof DetachDocumentablesDocumentRequestDocumentablesInnerDocumentableTypeEnum[keyof typeof DetachDocumentablesDocumentRequestDocumentablesInnerDocumentableTypeEnum];
|
|
@@ -74,7 +74,7 @@ export interface ExternalApiLogResource {
|
|
|
74
74
|
* @type {string}
|
|
75
75
|
* @memberof ExternalApiLogResource
|
|
76
76
|
*/
|
|
77
|
-
requestPayload
|
|
77
|
+
requestPayload?: string | null;
|
|
78
78
|
/**
|
|
79
79
|
*
|
|
80
80
|
* @type {string}
|
|
@@ -106,7 +106,6 @@ export function instanceOfExternalApiLogResource(value: object): value is Extern
|
|
|
106
106
|
if (!('exteranlApiLoggableId' in value) || value['exteranlApiLoggableId'] === undefined) return false;
|
|
107
107
|
if (!('endpoint' in value) || value['endpoint'] === undefined) return false;
|
|
108
108
|
if (!('responseCode' in value) || value['responseCode'] === undefined) return false;
|
|
109
|
-
if (!('requestPayload' in value) || value['requestPayload'] === undefined) return false;
|
|
110
109
|
if (!('responsePayload' in value) || value['responsePayload'] === undefined) return false;
|
|
111
110
|
if (!('site' in value) || value['site'] === undefined) return false;
|
|
112
111
|
return true;
|
|
@@ -129,7 +128,7 @@ export function ExternalApiLogResourceFromJSONTyped(json: any, ignoreDiscriminat
|
|
|
129
128
|
'exteranlApiLoggableId': json['exteranlApiLoggableId'],
|
|
130
129
|
'endpoint': json['endpoint'],
|
|
131
130
|
'responseCode': json['responseCode'],
|
|
132
|
-
'requestPayload': json['requestPayload'],
|
|
131
|
+
'requestPayload': json['requestPayload'] == null ? undefined : json['requestPayload'],
|
|
133
132
|
'responsePayload': json['responsePayload'],
|
|
134
133
|
'createdAt': json['createdAt'] == null ? undefined : json['createdAt'],
|
|
135
134
|
'site': SiteLiteResourceFromJSON(json['site']),
|
|
@@ -89,7 +89,6 @@ export type GetAllDocumentRequestSortDirectionEnum = typeof GetAllDocumentReques
|
|
|
89
89
|
*/
|
|
90
90
|
export const GetAllDocumentRequestRelatedTypeEnum = {
|
|
91
91
|
ProductChild: 'productChild',
|
|
92
|
-
ProductRange: 'productRange',
|
|
93
92
|
ProductRangeSite: 'productRangeSite'
|
|
94
93
|
} as const;
|
|
95
94
|
export type GetAllDocumentRequestRelatedTypeEnum = typeof GetAllDocumentRequestRelatedTypeEnum[keyof typeof GetAllDocumentRequestRelatedTypeEnum];
|
|
@@ -109,7 +109,6 @@ export type GetAllProductChildRequestSortDirectionEnum = typeof GetAllProductChi
|
|
|
109
109
|
*/
|
|
110
110
|
export const GetAllProductChildRequestRelatedTypeEnum = {
|
|
111
111
|
OverlayTemplate: 'overlayTemplate',
|
|
112
|
-
ProductRange: 'productRange',
|
|
113
112
|
Supplier: 'supplier',
|
|
114
113
|
Tag: 'tag',
|
|
115
114
|
Document: 'document'
|
|
@@ -112,9 +112,7 @@ export type IndexAttributeRequestSortDirectionEnum = typeof IndexAttributeReques
|
|
|
112
112
|
* @export
|
|
113
113
|
*/
|
|
114
114
|
export const IndexAttributeRequestRelatedTypeEnum = {
|
|
115
|
-
ProductType: 'productType'
|
|
116
|
-
ProductRange: 'productRange',
|
|
117
|
-
Category: 'category'
|
|
115
|
+
ProductType: 'productType'
|
|
118
116
|
} as const;
|
|
119
117
|
export type IndexAttributeRequestRelatedTypeEnum = typeof IndexAttributeRequestRelatedTypeEnum[keyof typeof IndexAttributeRequestRelatedTypeEnum];
|
|
120
118
|
|
|
@@ -101,7 +101,6 @@ export type IndexDocumentRequestSortDirectionEnum = typeof IndexDocumentRequestS
|
|
|
101
101
|
*/
|
|
102
102
|
export const IndexDocumentRequestRelatedTypeEnum = {
|
|
103
103
|
ProductChild: 'productChild',
|
|
104
|
-
ProductRange: 'productRange',
|
|
105
104
|
ProductRangeSite: 'productRangeSite'
|
|
106
105
|
} as const;
|
|
107
106
|
export type IndexDocumentRequestRelatedTypeEnum = typeof IndexDocumentRequestRelatedTypeEnum[keyof typeof IndexDocumentRequestRelatedTypeEnum];
|
|
@@ -94,12 +94,6 @@ export interface ProductChildResource {
|
|
|
94
94
|
* @memberof ProductChildResource
|
|
95
95
|
*/
|
|
96
96
|
hideFromFrontend: boolean;
|
|
97
|
-
/**
|
|
98
|
-
*
|
|
99
|
-
* @type {string}
|
|
100
|
-
* @memberof ProductChildResource
|
|
101
|
-
*/
|
|
102
|
-
supplierBarcode?: string | null;
|
|
103
97
|
/**
|
|
104
98
|
*
|
|
105
99
|
* @type {number}
|
|
@@ -129,7 +123,7 @@ export interface ProductChildResource {
|
|
|
129
123
|
* @type {string}
|
|
130
124
|
* @memberof ProductChildResource
|
|
131
125
|
*/
|
|
132
|
-
|
|
126
|
+
barcode?: string | null;
|
|
133
127
|
/**
|
|
134
128
|
*
|
|
135
129
|
* @type {boolean}
|
|
@@ -248,12 +242,11 @@ export function ProductChildResourceFromJSONTyped(json: any, ignoreDiscriminator
|
|
|
248
242
|
'sku': json['sku'],
|
|
249
243
|
'buyPrice': json['buyPrice'],
|
|
250
244
|
'hideFromFrontend': json['hideFromFrontend'],
|
|
251
|
-
'supplierBarcode': json['supplierBarcode'] == null ? undefined : json['supplierBarcode'],
|
|
252
245
|
'popularityScore': json['popularityScore'],
|
|
253
246
|
'excludeFromSearch': json['excludeFromSearch'],
|
|
254
247
|
'isOversized': json['isOversized'],
|
|
255
248
|
'isBundle': json['isBundle'],
|
|
256
|
-
'
|
|
249
|
+
'barcode': json['barcode'] == null ? undefined : json['barcode'],
|
|
257
250
|
'displayInSocialFeed': json['displayInSocialFeed'],
|
|
258
251
|
'googleStockStatus': json['googleStockStatus'],
|
|
259
252
|
'netsuiteId': json['netsuiteId'] == null ? undefined : json['netsuiteId'],
|
|
@@ -289,12 +282,11 @@ export function ProductChildResourceToJSONTyped(value?: ProductChildResource | n
|
|
|
289
282
|
'sku': value['sku'],
|
|
290
283
|
'buyPrice': value['buyPrice'],
|
|
291
284
|
'hideFromFrontend': value['hideFromFrontend'],
|
|
292
|
-
'supplierBarcode': value['supplierBarcode'],
|
|
293
285
|
'popularityScore': value['popularityScore'],
|
|
294
286
|
'excludeFromSearch': value['excludeFromSearch'],
|
|
295
287
|
'isOversized': value['isOversized'],
|
|
296
288
|
'isBundle': value['isBundle'],
|
|
297
|
-
'
|
|
289
|
+
'barcode': value['barcode'],
|
|
298
290
|
'displayInSocialFeed': value['displayInSocialFeed'],
|
|
299
291
|
'googleStockStatus': value['googleStockStatus'],
|
|
300
292
|
'netsuiteId': value['netsuiteId'],
|