@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
|
@@ -1,59 +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.instanceOfStoreProductRangeRequest = instanceOfStoreProductRangeRequest;
|
|
17
|
-
exports.StoreProductRangeRequestFromJSON = StoreProductRangeRequestFromJSON;
|
|
18
|
-
exports.StoreProductRangeRequestFromJSONTyped = StoreProductRangeRequestFromJSONTyped;
|
|
19
|
-
exports.StoreProductRangeRequestToJSON = StoreProductRangeRequestToJSON;
|
|
20
|
-
exports.StoreProductRangeRequestToJSONTyped = StoreProductRangeRequestToJSONTyped;
|
|
21
|
-
var StoreProductChildRequestAssetsInner_1 = require("./StoreProductChildRequestAssetsInner");
|
|
22
|
-
var StoreProductRangeRequestSitesInner_1 = require("./StoreProductRangeRequestSitesInner");
|
|
23
|
-
/**
|
|
24
|
-
* Check if a given object implements the StoreProductRangeRequest interface.
|
|
25
|
-
*/
|
|
26
|
-
function instanceOfStoreProductRangeRequest(value) {
|
|
27
|
-
if (!('name' in value) || value['name'] === undefined)
|
|
28
|
-
return false;
|
|
29
|
-
return true;
|
|
30
|
-
}
|
|
31
|
-
function StoreProductRangeRequestFromJSON(json) {
|
|
32
|
-
return StoreProductRangeRequestFromJSONTyped(json, false);
|
|
33
|
-
}
|
|
34
|
-
function StoreProductRangeRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
-
if (json == null) {
|
|
36
|
-
return json;
|
|
37
|
-
}
|
|
38
|
-
return {
|
|
39
|
-
'name': json['name'],
|
|
40
|
-
'supplierId': json['supplier_id'] == null ? undefined : json['supplier_id'],
|
|
41
|
-
'sites': json['sites'] == null ? undefined : (json['sites'].map(StoreProductRangeRequestSitesInner_1.StoreProductRangeRequestSitesInnerFromJSON)),
|
|
42
|
-
'assets': json['assets'] == null ? undefined : (json['assets'].map(StoreProductChildRequestAssetsInner_1.StoreProductChildRequestAssetsInnerFromJSON)),
|
|
43
|
-
};
|
|
44
|
-
}
|
|
45
|
-
function StoreProductRangeRequestToJSON(json) {
|
|
46
|
-
return StoreProductRangeRequestToJSONTyped(json, false);
|
|
47
|
-
}
|
|
48
|
-
function StoreProductRangeRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
49
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
50
|
-
if (value == null) {
|
|
51
|
-
return value;
|
|
52
|
-
}
|
|
53
|
-
return {
|
|
54
|
-
'name': value['name'],
|
|
55
|
-
'supplier_id': value['supplierId'],
|
|
56
|
-
'sites': value['sites'] == null ? undefined : (value['sites'].map(StoreProductRangeRequestSitesInner_1.StoreProductRangeRequestSitesInnerToJSON)),
|
|
57
|
-
'assets': value['assets'] == null ? undefined : (value['assets'].map(StoreProductChildRequestAssetsInner_1.StoreProductChildRequestAssetsInnerToJSON)),
|
|
58
|
-
};
|
|
59
|
-
}
|
|
@@ -1,92 +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 StoreProductRangeRequestSitesInner
|
|
16
|
-
*/
|
|
17
|
-
export interface StoreProductRangeRequestSitesInner {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {number}
|
|
21
|
-
* @memberof StoreProductRangeRequestSitesInner
|
|
22
|
-
*/
|
|
23
|
-
siteId: number;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof StoreProductRangeRequestSitesInner
|
|
28
|
-
*/
|
|
29
|
-
name: string;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof StoreProductRangeRequestSitesInner
|
|
34
|
-
*/
|
|
35
|
-
slug: string;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof StoreProductRangeRequestSitesInner
|
|
40
|
-
*/
|
|
41
|
-
description?: string;
|
|
42
|
-
/**
|
|
43
|
-
*
|
|
44
|
-
* @type {string}
|
|
45
|
-
* @memberof StoreProductRangeRequestSitesInner
|
|
46
|
-
*/
|
|
47
|
-
content?: string;
|
|
48
|
-
/**
|
|
49
|
-
*
|
|
50
|
-
* @type {string}
|
|
51
|
-
* @memberof StoreProductRangeRequestSitesInner
|
|
52
|
-
*/
|
|
53
|
-
excerpt?: string;
|
|
54
|
-
/**
|
|
55
|
-
*
|
|
56
|
-
* @type {number}
|
|
57
|
-
* @memberof StoreProductRangeRequestSitesInner
|
|
58
|
-
*/
|
|
59
|
-
popularityScore?: number;
|
|
60
|
-
/**
|
|
61
|
-
*
|
|
62
|
-
* @type {boolean}
|
|
63
|
-
* @memberof StoreProductRangeRequestSitesInner
|
|
64
|
-
*/
|
|
65
|
-
isDisabled?: boolean;
|
|
66
|
-
/**
|
|
67
|
-
*
|
|
68
|
-
* @type {Array<number>}
|
|
69
|
-
* @memberof StoreProductRangeRequestSitesInner
|
|
70
|
-
*/
|
|
71
|
-
categories?: Array<number>;
|
|
72
|
-
/**
|
|
73
|
-
*
|
|
74
|
-
* @type {string}
|
|
75
|
-
* @memberof StoreProductRangeRequestSitesInner
|
|
76
|
-
*/
|
|
77
|
-
seoTitle?: string;
|
|
78
|
-
/**
|
|
79
|
-
*
|
|
80
|
-
* @type {string}
|
|
81
|
-
* @memberof StoreProductRangeRequestSitesInner
|
|
82
|
-
*/
|
|
83
|
-
seoDescription?: string;
|
|
84
|
-
}
|
|
85
|
-
/**
|
|
86
|
-
* Check if a given object implements the StoreProductRangeRequestSitesInner interface.
|
|
87
|
-
*/
|
|
88
|
-
export declare function instanceOfStoreProductRangeRequestSitesInner(value: object): value is StoreProductRangeRequestSitesInner;
|
|
89
|
-
export declare function StoreProductRangeRequestSitesInnerFromJSON(json: any): StoreProductRangeRequestSitesInner;
|
|
90
|
-
export declare function StoreProductRangeRequestSitesInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): StoreProductRangeRequestSitesInner;
|
|
91
|
-
export declare function StoreProductRangeRequestSitesInnerToJSON(json: any): StoreProductRangeRequestSitesInner;
|
|
92
|
-
export declare function StoreProductRangeRequestSitesInnerToJSONTyped(value?: StoreProductRangeRequestSitesInner | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,75 +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.instanceOfStoreProductRangeRequestSitesInner = instanceOfStoreProductRangeRequestSitesInner;
|
|
17
|
-
exports.StoreProductRangeRequestSitesInnerFromJSON = StoreProductRangeRequestSitesInnerFromJSON;
|
|
18
|
-
exports.StoreProductRangeRequestSitesInnerFromJSONTyped = StoreProductRangeRequestSitesInnerFromJSONTyped;
|
|
19
|
-
exports.StoreProductRangeRequestSitesInnerToJSON = StoreProductRangeRequestSitesInnerToJSON;
|
|
20
|
-
exports.StoreProductRangeRequestSitesInnerToJSONTyped = StoreProductRangeRequestSitesInnerToJSONTyped;
|
|
21
|
-
/**
|
|
22
|
-
* Check if a given object implements the StoreProductRangeRequestSitesInner interface.
|
|
23
|
-
*/
|
|
24
|
-
function instanceOfStoreProductRangeRequestSitesInner(value) {
|
|
25
|
-
if (!('siteId' in value) || value['siteId'] === undefined)
|
|
26
|
-
return false;
|
|
27
|
-
if (!('name' in value) || value['name'] === undefined)
|
|
28
|
-
return false;
|
|
29
|
-
if (!('slug' in value) || value['slug'] === undefined)
|
|
30
|
-
return false;
|
|
31
|
-
return true;
|
|
32
|
-
}
|
|
33
|
-
function StoreProductRangeRequestSitesInnerFromJSON(json) {
|
|
34
|
-
return StoreProductRangeRequestSitesInnerFromJSONTyped(json, false);
|
|
35
|
-
}
|
|
36
|
-
function StoreProductRangeRequestSitesInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
-
if (json == null) {
|
|
38
|
-
return json;
|
|
39
|
-
}
|
|
40
|
-
return {
|
|
41
|
-
'siteId': json['site_id'],
|
|
42
|
-
'name': json['name'],
|
|
43
|
-
'slug': json['slug'],
|
|
44
|
-
'description': json['description'] == null ? undefined : json['description'],
|
|
45
|
-
'content': json['content'] == null ? undefined : json['content'],
|
|
46
|
-
'excerpt': json['excerpt'] == null ? undefined : json['excerpt'],
|
|
47
|
-
'popularityScore': json['popularity_score'] == null ? undefined : json['popularity_score'],
|
|
48
|
-
'isDisabled': json['is_disabled'] == null ? undefined : json['is_disabled'],
|
|
49
|
-
'categories': json['categories'] == null ? undefined : json['categories'],
|
|
50
|
-
'seoTitle': json['seo_title'] == null ? undefined : json['seo_title'],
|
|
51
|
-
'seoDescription': json['seo_description'] == null ? undefined : json['seo_description'],
|
|
52
|
-
};
|
|
53
|
-
}
|
|
54
|
-
function StoreProductRangeRequestSitesInnerToJSON(json) {
|
|
55
|
-
return StoreProductRangeRequestSitesInnerToJSONTyped(json, false);
|
|
56
|
-
}
|
|
57
|
-
function StoreProductRangeRequestSitesInnerToJSONTyped(value, ignoreDiscriminator) {
|
|
58
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
59
|
-
if (value == null) {
|
|
60
|
-
return value;
|
|
61
|
-
}
|
|
62
|
-
return {
|
|
63
|
-
'site_id': value['siteId'],
|
|
64
|
-
'name': value['name'],
|
|
65
|
-
'slug': value['slug'],
|
|
66
|
-
'description': value['description'],
|
|
67
|
-
'content': value['content'],
|
|
68
|
-
'excerpt': value['excerpt'],
|
|
69
|
-
'popularity_score': value['popularityScore'],
|
|
70
|
-
'is_disabled': value['isDisabled'],
|
|
71
|
-
'categories': value['categories'],
|
|
72
|
-
'seo_title': value['seoTitle'],
|
|
73
|
-
'seo_description': value['seoDescription'],
|
|
74
|
-
};
|
|
75
|
-
}
|
|
@@ -1,52 +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 { UpdateProductChildRequestAssetsInner } from './UpdateProductChildRequestAssetsInner';
|
|
13
|
-
import type { StoreProductRangeRequestSitesInner } from './StoreProductRangeRequestSitesInner';
|
|
14
|
-
/**
|
|
15
|
-
*
|
|
16
|
-
* @export
|
|
17
|
-
* @interface UpdateProductRangeRequest
|
|
18
|
-
*/
|
|
19
|
-
export interface UpdateProductRangeRequest {
|
|
20
|
-
/**
|
|
21
|
-
*
|
|
22
|
-
* @type {string}
|
|
23
|
-
* @memberof UpdateProductRangeRequest
|
|
24
|
-
*/
|
|
25
|
-
name: string;
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @type {number}
|
|
29
|
-
* @memberof UpdateProductRangeRequest
|
|
30
|
-
*/
|
|
31
|
-
supplierId?: number;
|
|
32
|
-
/**
|
|
33
|
-
*
|
|
34
|
-
* @type {Array<StoreProductRangeRequestSitesInner>}
|
|
35
|
-
* @memberof UpdateProductRangeRequest
|
|
36
|
-
*/
|
|
37
|
-
sites?: Array<StoreProductRangeRequestSitesInner>;
|
|
38
|
-
/**
|
|
39
|
-
*
|
|
40
|
-
* @type {Array<UpdateProductChildRequestAssetsInner>}
|
|
41
|
-
* @memberof UpdateProductRangeRequest
|
|
42
|
-
*/
|
|
43
|
-
assets?: Array<UpdateProductChildRequestAssetsInner>;
|
|
44
|
-
}
|
|
45
|
-
/**
|
|
46
|
-
* Check if a given object implements the UpdateProductRangeRequest interface.
|
|
47
|
-
*/
|
|
48
|
-
export declare function instanceOfUpdateProductRangeRequest(value: object): value is UpdateProductRangeRequest;
|
|
49
|
-
export declare function UpdateProductRangeRequestFromJSON(json: any): UpdateProductRangeRequest;
|
|
50
|
-
export declare function UpdateProductRangeRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateProductRangeRequest;
|
|
51
|
-
export declare function UpdateProductRangeRequestToJSON(json: any): UpdateProductRangeRequest;
|
|
52
|
-
export declare function UpdateProductRangeRequestToJSONTyped(value?: UpdateProductRangeRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,59 +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.instanceOfUpdateProductRangeRequest = instanceOfUpdateProductRangeRequest;
|
|
17
|
-
exports.UpdateProductRangeRequestFromJSON = UpdateProductRangeRequestFromJSON;
|
|
18
|
-
exports.UpdateProductRangeRequestFromJSONTyped = UpdateProductRangeRequestFromJSONTyped;
|
|
19
|
-
exports.UpdateProductRangeRequestToJSON = UpdateProductRangeRequestToJSON;
|
|
20
|
-
exports.UpdateProductRangeRequestToJSONTyped = UpdateProductRangeRequestToJSONTyped;
|
|
21
|
-
var UpdateProductChildRequestAssetsInner_1 = require("./UpdateProductChildRequestAssetsInner");
|
|
22
|
-
var StoreProductRangeRequestSitesInner_1 = require("./StoreProductRangeRequestSitesInner");
|
|
23
|
-
/**
|
|
24
|
-
* Check if a given object implements the UpdateProductRangeRequest interface.
|
|
25
|
-
*/
|
|
26
|
-
function instanceOfUpdateProductRangeRequest(value) {
|
|
27
|
-
if (!('name' in value) || value['name'] === undefined)
|
|
28
|
-
return false;
|
|
29
|
-
return true;
|
|
30
|
-
}
|
|
31
|
-
function UpdateProductRangeRequestFromJSON(json) {
|
|
32
|
-
return UpdateProductRangeRequestFromJSONTyped(json, false);
|
|
33
|
-
}
|
|
34
|
-
function UpdateProductRangeRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
-
if (json == null) {
|
|
36
|
-
return json;
|
|
37
|
-
}
|
|
38
|
-
return {
|
|
39
|
-
'name': json['name'],
|
|
40
|
-
'supplierId': json['supplier_id'] == null ? undefined : json['supplier_id'],
|
|
41
|
-
'sites': json['sites'] == null ? undefined : (json['sites'].map(StoreProductRangeRequestSitesInner_1.StoreProductRangeRequestSitesInnerFromJSON)),
|
|
42
|
-
'assets': json['assets'] == null ? undefined : (json['assets'].map(UpdateProductChildRequestAssetsInner_1.UpdateProductChildRequestAssetsInnerFromJSON)),
|
|
43
|
-
};
|
|
44
|
-
}
|
|
45
|
-
function UpdateProductRangeRequestToJSON(json) {
|
|
46
|
-
return UpdateProductRangeRequestToJSONTyped(json, false);
|
|
47
|
-
}
|
|
48
|
-
function UpdateProductRangeRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
49
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
50
|
-
if (value == null) {
|
|
51
|
-
return value;
|
|
52
|
-
}
|
|
53
|
-
return {
|
|
54
|
-
'name': value['name'],
|
|
55
|
-
'supplier_id': value['supplierId'],
|
|
56
|
-
'sites': value['sites'] == null ? undefined : (value['sites'].map(StoreProductRangeRequestSitesInner_1.StoreProductRangeRequestSitesInnerToJSON)),
|
|
57
|
-
'assets': value['assets'] == null ? undefined : (value['assets'].map(UpdateProductChildRequestAssetsInner_1.UpdateProductChildRequestAssetsInnerToJSON)),
|
|
58
|
-
};
|
|
59
|
-
}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
# AttachAccessoriesProductRangeRequest
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
## Properties
|
|
6
|
-
|
|
7
|
-
Name | Type
|
|
8
|
-
------------ | -------------
|
|
9
|
-
`productChildIds` | Array<number>
|
|
10
|
-
|
|
11
|
-
## Example
|
|
12
|
-
|
|
13
|
-
```typescript
|
|
14
|
-
import type { AttachAccessoriesProductRangeRequest } from '@digital8/lighting-illusions-ts-sdk'
|
|
15
|
-
|
|
16
|
-
// TODO: Update the object below with actual values
|
|
17
|
-
const example = {
|
|
18
|
-
"productChildIds": null,
|
|
19
|
-
} satisfies AttachAccessoriesProductRangeRequest
|
|
20
|
-
|
|
21
|
-
console.log(example)
|
|
22
|
-
|
|
23
|
-
// Convert the instance to a JSON string
|
|
24
|
-
const exampleJSON: string = JSON.stringify(example)
|
|
25
|
-
console.log(exampleJSON)
|
|
26
|
-
|
|
27
|
-
// Parse the JSON string back to an object
|
|
28
|
-
const exampleParsed = JSON.parse(exampleJSON) as AttachAccessoriesProductRangeRequest
|
|
29
|
-
console.log(exampleParsed)
|
|
30
|
-
```
|
|
31
|
-
|
|
32
|
-
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
33
|
-
|
|
34
|
-
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
# AttachAttributesProductRangeRequest
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
## Properties
|
|
6
|
-
|
|
7
|
-
Name | Type
|
|
8
|
-
------------ | -------------
|
|
9
|
-
`attributes` | Array<number>
|
|
10
|
-
|
|
11
|
-
## Example
|
|
12
|
-
|
|
13
|
-
```typescript
|
|
14
|
-
import type { AttachAttributesProductRangeRequest } from '@digital8/lighting-illusions-ts-sdk'
|
|
15
|
-
|
|
16
|
-
// TODO: Update the object below with actual values
|
|
17
|
-
const example = {
|
|
18
|
-
"attributes": null,
|
|
19
|
-
} satisfies AttachAttributesProductRangeRequest
|
|
20
|
-
|
|
21
|
-
console.log(example)
|
|
22
|
-
|
|
23
|
-
// Convert the instance to a JSON string
|
|
24
|
-
const exampleJSON: string = JSON.stringify(example)
|
|
25
|
-
console.log(exampleJSON)
|
|
26
|
-
|
|
27
|
-
// Parse the JSON string back to an object
|
|
28
|
-
const exampleParsed = JSON.parse(exampleJSON) as AttachAttributesProductRangeRequest
|
|
29
|
-
console.log(exampleParsed)
|
|
30
|
-
```
|
|
31
|
-
|
|
32
|
-
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
33
|
-
|
|
34
|
-
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
# AttachDocumentsProductRangeRequest
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
## Properties
|
|
6
|
-
|
|
7
|
-
Name | Type
|
|
8
|
-
------------ | -------------
|
|
9
|
-
`documents` | [Array<AttachDocumentsProductChildRequestDocumentsInner>](AttachDocumentsProductChildRequestDocumentsInner.md)
|
|
10
|
-
|
|
11
|
-
## Example
|
|
12
|
-
|
|
13
|
-
```typescript
|
|
14
|
-
import type { AttachDocumentsProductRangeRequest } from '@digital8/lighting-illusions-ts-sdk'
|
|
15
|
-
|
|
16
|
-
// TODO: Update the object below with actual values
|
|
17
|
-
const example = {
|
|
18
|
-
"documents": null,
|
|
19
|
-
} satisfies AttachDocumentsProductRangeRequest
|
|
20
|
-
|
|
21
|
-
console.log(example)
|
|
22
|
-
|
|
23
|
-
// Convert the instance to a JSON string
|
|
24
|
-
const exampleJSON: string = JSON.stringify(example)
|
|
25
|
-
console.log(exampleJSON)
|
|
26
|
-
|
|
27
|
-
// Parse the JSON string back to an object
|
|
28
|
-
const exampleParsed = JSON.parse(exampleJSON) as AttachDocumentsProductRangeRequest
|
|
29
|
-
console.log(exampleParsed)
|
|
30
|
-
```
|
|
31
|
-
|
|
32
|
-
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
33
|
-
|
|
34
|
-
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
# DetachAccessoriesProductRangeRequest
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
## Properties
|
|
6
|
-
|
|
7
|
-
Name | Type
|
|
8
|
-
------------ | -------------
|
|
9
|
-
`productChildIds` | Array<number>
|
|
10
|
-
|
|
11
|
-
## Example
|
|
12
|
-
|
|
13
|
-
```typescript
|
|
14
|
-
import type { DetachAccessoriesProductRangeRequest } from '@digital8/lighting-illusions-ts-sdk'
|
|
15
|
-
|
|
16
|
-
// TODO: Update the object below with actual values
|
|
17
|
-
const example = {
|
|
18
|
-
"productChildIds": null,
|
|
19
|
-
} satisfies DetachAccessoriesProductRangeRequest
|
|
20
|
-
|
|
21
|
-
console.log(example)
|
|
22
|
-
|
|
23
|
-
// Convert the instance to a JSON string
|
|
24
|
-
const exampleJSON: string = JSON.stringify(example)
|
|
25
|
-
console.log(exampleJSON)
|
|
26
|
-
|
|
27
|
-
// Parse the JSON string back to an object
|
|
28
|
-
const exampleParsed = JSON.parse(exampleJSON) as DetachAccessoriesProductRangeRequest
|
|
29
|
-
console.log(exampleParsed)
|
|
30
|
-
```
|
|
31
|
-
|
|
32
|
-
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
33
|
-
|
|
34
|
-
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
# DetachAttributesProductRangeRequest
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
## Properties
|
|
6
|
-
|
|
7
|
-
Name | Type
|
|
8
|
-
------------ | -------------
|
|
9
|
-
`attributes` | Array<number>
|
|
10
|
-
|
|
11
|
-
## Example
|
|
12
|
-
|
|
13
|
-
```typescript
|
|
14
|
-
import type { DetachAttributesProductRangeRequest } from '@digital8/lighting-illusions-ts-sdk'
|
|
15
|
-
|
|
16
|
-
// TODO: Update the object below with actual values
|
|
17
|
-
const example = {
|
|
18
|
-
"attributes": null,
|
|
19
|
-
} satisfies DetachAttributesProductRangeRequest
|
|
20
|
-
|
|
21
|
-
console.log(example)
|
|
22
|
-
|
|
23
|
-
// Convert the instance to a JSON string
|
|
24
|
-
const exampleJSON: string = JSON.stringify(example)
|
|
25
|
-
console.log(exampleJSON)
|
|
26
|
-
|
|
27
|
-
// Parse the JSON string back to an object
|
|
28
|
-
const exampleParsed = JSON.parse(exampleJSON) as DetachAttributesProductRangeRequest
|
|
29
|
-
console.log(exampleParsed)
|
|
30
|
-
```
|
|
31
|
-
|
|
32
|
-
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
33
|
-
|
|
34
|
-
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
# DetachDocumentsProductRangeRequest
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
## Properties
|
|
6
|
-
|
|
7
|
-
Name | Type
|
|
8
|
-
------------ | -------------
|
|
9
|
-
`documents` | Array<number>
|
|
10
|
-
|
|
11
|
-
## Example
|
|
12
|
-
|
|
13
|
-
```typescript
|
|
14
|
-
import type { DetachDocumentsProductRangeRequest } from '@digital8/lighting-illusions-ts-sdk'
|
|
15
|
-
|
|
16
|
-
// TODO: Update the object below with actual values
|
|
17
|
-
const example = {
|
|
18
|
-
"documents": null,
|
|
19
|
-
} satisfies DetachDocumentsProductRangeRequest
|
|
20
|
-
|
|
21
|
-
console.log(example)
|
|
22
|
-
|
|
23
|
-
// Convert the instance to a JSON string
|
|
24
|
-
const exampleJSON: string = JSON.stringify(example)
|
|
25
|
-
console.log(exampleJSON)
|
|
26
|
-
|
|
27
|
-
// Parse the JSON string back to an object
|
|
28
|
-
const exampleParsed = JSON.parse(exampleJSON) as DetachDocumentsProductRangeRequest
|
|
29
|
-
console.log(exampleParsed)
|
|
30
|
-
```
|
|
31
|
-
|
|
32
|
-
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
33
|
-
|
|
34
|
-
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
# GetAllProductRangeRequest
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
## Properties
|
|
6
|
-
|
|
7
|
-
Name | Type
|
|
8
|
-
------------ | -------------
|
|
9
|
-
`search` | string
|
|
10
|
-
`sortBy` | string
|
|
11
|
-
`sortDirection` | string
|
|
12
|
-
`relatedId` | number
|
|
13
|
-
`relatedType` | string
|
|
14
|
-
`includesRelations` | boolean
|
|
15
|
-
`siteDetailsSiteId` | Array<string>
|
|
16
|
-
`supplierId` | Array<string>
|
|
17
|
-
`siteDetailsCategoriesId` | Array<string>
|
|
18
|
-
|
|
19
|
-
## Example
|
|
20
|
-
|
|
21
|
-
```typescript
|
|
22
|
-
import type { GetAllProductRangeRequest } from '@digital8/lighting-illusions-ts-sdk'
|
|
23
|
-
|
|
24
|
-
// TODO: Update the object below with actual values
|
|
25
|
-
const example = {
|
|
26
|
-
"search": null,
|
|
27
|
-
"sortBy": null,
|
|
28
|
-
"sortDirection": null,
|
|
29
|
-
"relatedId": null,
|
|
30
|
-
"relatedType": null,
|
|
31
|
-
"includesRelations": null,
|
|
32
|
-
"siteDetailsSiteId": null,
|
|
33
|
-
"supplierId": null,
|
|
34
|
-
"siteDetailsCategoriesId": null,
|
|
35
|
-
} satisfies GetAllProductRangeRequest
|
|
36
|
-
|
|
37
|
-
console.log(example)
|
|
38
|
-
|
|
39
|
-
// Convert the instance to a JSON string
|
|
40
|
-
const exampleJSON: string = JSON.stringify(example)
|
|
41
|
-
console.log(exampleJSON)
|
|
42
|
-
|
|
43
|
-
// Parse the JSON string back to an object
|
|
44
|
-
const exampleParsed = JSON.parse(exampleJSON) as GetAllProductRangeRequest
|
|
45
|
-
console.log(exampleParsed)
|
|
46
|
-
```
|
|
47
|
-
|
|
48
|
-
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
49
|
-
|
|
50
|
-
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
# IndexModelAttributeRequest
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
## Properties
|
|
6
|
-
|
|
7
|
-
Name | Type
|
|
8
|
-
------------ | -------------
|
|
9
|
-
`search` | string
|
|
10
|
-
`sortBy` | string
|
|
11
|
-
`sortDirection` | string
|
|
12
|
-
`perPage` | number
|
|
13
|
-
`page` | number
|
|
14
|
-
`attributableType` | Array<string>
|
|
15
|
-
`attributableId` | Array<string>
|
|
16
|
-
`attributeId` | Array<string>
|
|
17
|
-
`relatedId` | number
|
|
18
|
-
`relatedType` | string
|
|
19
|
-
`includesRelations` | boolean
|
|
20
|
-
|
|
21
|
-
## Example
|
|
22
|
-
|
|
23
|
-
```typescript
|
|
24
|
-
import type { IndexModelAttributeRequest } from '@digital8/lighting-illusions-ts-sdk'
|
|
25
|
-
|
|
26
|
-
// TODO: Update the object below with actual values
|
|
27
|
-
const example = {
|
|
28
|
-
"search": null,
|
|
29
|
-
"sortBy": null,
|
|
30
|
-
"sortDirection": null,
|
|
31
|
-
"perPage": null,
|
|
32
|
-
"page": null,
|
|
33
|
-
"attributableType": null,
|
|
34
|
-
"attributableId": null,
|
|
35
|
-
"attributeId": null,
|
|
36
|
-
"relatedId": null,
|
|
37
|
-
"relatedType": null,
|
|
38
|
-
"includesRelations": null,
|
|
39
|
-
} satisfies IndexModelAttributeRequest
|
|
40
|
-
|
|
41
|
-
console.log(example)
|
|
42
|
-
|
|
43
|
-
// Convert the instance to a JSON string
|
|
44
|
-
const exampleJSON: string = JSON.stringify(example)
|
|
45
|
-
console.log(exampleJSON)
|
|
46
|
-
|
|
47
|
-
// Parse the JSON string back to an object
|
|
48
|
-
const exampleParsed = JSON.parse(exampleJSON) as IndexModelAttributeRequest
|
|
49
|
-
console.log(exampleParsed)
|
|
50
|
-
```
|
|
51
|
-
|
|
52
|
-
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
53
|
-
|
|
54
|
-
|