@digital8/lighting-illusions-ts-sdk 0.0.1024 → 0.0.1026
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 +64 -0
- package/README.md +50 -2
- package/dist/apis/AttributeApi.d.ts +16 -1
- package/dist/apis/AttributeApi.js +58 -0
- package/dist/apis/ProductRangeApi.d.ts +269 -0
- package/dist/apis/ProductRangeApi.js +1043 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/models/AttachAccessoriesProductRangeRequest.d.ts +32 -0
- package/dist/models/AttachAccessoriesProductRangeRequest.js +51 -0
- package/dist/models/AttachAttributesProductRangeRequest.d.ts +32 -0
- package/dist/models/AttachAttributesProductRangeRequest.js +51 -0
- package/dist/models/AttachDocumentablesDocumentRequestDocumentablesInner.d.ts +1 -0
- package/dist/models/AttachDocumentablesDocumentRequestDocumentablesInner.js +1 -0
- package/dist/models/AttachDocumentsProductRangeRequest.d.ts +33 -0
- package/dist/models/AttachDocumentsProductRangeRequest.js +52 -0
- package/dist/models/DetachAccessoriesProductRangeRequest.d.ts +32 -0
- package/dist/models/DetachAccessoriesProductRangeRequest.js +51 -0
- package/dist/models/DetachAttributesProductRangeRequest.d.ts +32 -0
- package/dist/models/DetachAttributesProductRangeRequest.js +51 -0
- package/dist/models/DetachDocumentablesDocumentRequestDocumentablesInner.d.ts +1 -0
- package/dist/models/DetachDocumentablesDocumentRequestDocumentablesInner.js +1 -0
- package/dist/models/DetachDocumentsProductRangeRequest.d.ts +32 -0
- package/dist/models/DetachDocumentsProductRangeRequest.js +51 -0
- package/dist/models/GetAllDocumentRequest.d.ts +1 -0
- package/dist/models/GetAllDocumentRequest.js +1 -0
- package/dist/models/GetAllProductChildRequest.d.ts +1 -0
- package/dist/models/GetAllProductChildRequest.js +1 -0
- package/dist/models/GetAllProductRangeRequest.d.ts +98 -0
- package/dist/models/GetAllProductRangeRequest.js +82 -0
- package/dist/models/IndexAttributeRequest.d.ts +2 -0
- package/dist/models/IndexAttributeRequest.js +3 -1
- package/dist/models/IndexDocumentRequest.d.ts +1 -0
- package/dist/models/IndexDocumentRequest.js +1 -0
- package/dist/models/IndexModelAttributeRequest.d.ts +118 -0
- package/dist/models/IndexModelAttributeRequest.js +93 -0
- package/dist/models/IndexProductChildRequest.d.ts +1 -0
- package/dist/models/IndexProductChildRequest.js +1 -0
- package/dist/models/IndexProductRangeRequest.d.ts +110 -0
- package/dist/models/IndexProductRangeRequest.js +86 -0
- package/dist/models/ModelAttributeListResource.d.ts +52 -0
- package/dist/models/ModelAttributeListResource.js +65 -0
- package/dist/models/ModelAttributeListResourceArrayResponse.d.ts +33 -0
- package/dist/models/ModelAttributeListResourceArrayResponse.js +50 -0
- package/dist/models/PaginatedModelAttributeListResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedModelAttributeListResourceResponse.js +57 -0
- package/dist/models/PaginatedProductRangeFrontendListResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedProductRangeFrontendListResourceResponse.js +57 -0
- package/dist/models/PaginatedProductRangeListResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedProductRangeListResourceResponse.js +57 -0
- package/dist/models/PaginatedProductRangeLiteResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedProductRangeLiteResourceResponse.js +57 -0
- package/dist/models/PaginatedProductRangeResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedProductRangeResourceResponse.js +57 -0
- package/dist/models/ProductChildListResource.d.ts +0 -6
- package/dist/models/ProductChildListResource.js +0 -4
- package/dist/models/ProductChildSiteDetailResource.d.ts +0 -6
- package/dist/models/ProductChildSiteDetailResource.js +0 -4
- package/dist/models/ProductRangeFrontendListResource.d.ts +62 -0
- package/dist/models/ProductRangeFrontendListResource.js +71 -0
- package/dist/models/ProductRangeFrontendListResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductRangeFrontendListResourceArrayResponse.js +50 -0
- package/dist/models/ProductRangeFrontendResource.d.ts +118 -0
- package/dist/models/ProductRangeFrontendResource.js +109 -0
- package/dist/models/ProductRangeFrontendResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductRangeFrontendResourceArrayResponse.js +50 -0
- package/dist/models/ProductRangeListResource.d.ts +52 -0
- package/dist/models/ProductRangeListResource.js +65 -0
- package/dist/models/ProductRangeListResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductRangeListResourceArrayResponse.js +50 -0
- package/dist/models/ProductRangeLiteResource.d.ts +38 -0
- package/dist/models/ProductRangeLiteResource.js +55 -0
- package/dist/models/ProductRangeLiteResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductRangeLiteResourceArrayResponse.js +50 -0
- package/dist/models/ProductRangeResource.d.ts +83 -0
- package/dist/models/ProductRangeResource.js +82 -0
- package/dist/models/ProductRangeResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductRangeResourceArrayResponse.js +50 -0
- package/dist/models/ProductRangeSiteDetailResource.d.ts +94 -0
- package/dist/models/ProductRangeSiteDetailResource.js +93 -0
- package/dist/models/ProductRangeSiteDetailResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductRangeSiteDetailResourceArrayResponse.js +50 -0
- package/dist/models/StoreProductRangeRequest.d.ts +52 -0
- package/dist/models/StoreProductRangeRequest.js +59 -0
- package/dist/models/StoreProductRangeRequestSitesInner.d.ts +92 -0
- package/dist/models/StoreProductRangeRequestSitesInner.js +75 -0
- package/dist/models/UpdateProductRangeRequest.d.ts +52 -0
- package/dist/models/UpdateProductRangeRequest.js +59 -0
- package/dist/models/index.d.ts +31 -0
- package/dist/models/index.js +31 -0
- package/docs/AttachAccessoriesProductRangeRequest.md +34 -0
- package/docs/AttachAttributesProductRangeRequest.md +34 -0
- package/docs/AttachDocumentsProductRangeRequest.md +34 -0
- package/docs/AttributeApi.md +66 -0
- package/docs/DetachAccessoriesProductRangeRequest.md +34 -0
- package/docs/DetachAttributesProductRangeRequest.md +34 -0
- package/docs/DetachDocumentsProductRangeRequest.md +34 -0
- package/docs/GetAllProductRangeRequest.md +50 -0
- package/docs/IndexModelAttributeRequest.md +54 -0
- package/docs/IndexProductRangeRequest.md +54 -0
- package/docs/ModelAttributeListResource.md +40 -0
- package/docs/ModelAttributeListResourceArrayResponse.md +34 -0
- package/docs/PaginatedModelAttributeListResourceResponse.md +36 -0
- package/docs/PaginatedProductRangeFrontendListResourceResponse.md +36 -0
- package/docs/PaginatedProductRangeListResourceResponse.md +36 -0
- package/docs/PaginatedProductRangeLiteResourceResponse.md +36 -0
- package/docs/PaginatedProductRangeResourceResponse.md +36 -0
- package/docs/ProductChildListResource.md +0 -2
- package/docs/ProductChildSiteDetailResource.md +0 -2
- package/docs/ProductRangeApi.md +1097 -0
- package/docs/ProductRangeFrontendListResource.md +44 -0
- package/docs/ProductRangeFrontendListResourceArrayResponse.md +34 -0
- package/docs/ProductRangeFrontendResource.md +62 -0
- package/docs/ProductRangeFrontendResourceArrayResponse.md +34 -0
- package/docs/ProductRangeListResource.md +40 -0
- package/docs/ProductRangeListResourceArrayResponse.md +34 -0
- package/docs/ProductRangeLiteResource.md +36 -0
- package/docs/ProductRangeLiteResourceArrayResponse.md +34 -0
- package/docs/ProductRangeResource.md +50 -0
- package/docs/ProductRangeResourceArrayResponse.md +34 -0
- package/docs/ProductRangeSiteDetailResource.md +54 -0
- package/docs/ProductRangeSiteDetailResourceArrayResponse.md +34 -0
- package/docs/StoreProductRangeRequest.md +40 -0
- package/docs/StoreProductRangeRequestSitesInner.md +54 -0
- package/docs/UpdateProductRangeRequest.md +40 -0
- package/package.json +1 -1
- package/src/apis/AttributeApi.ts +50 -0
- package/src/apis/ProductRangeApi.ts +888 -0
- package/src/apis/index.ts +1 -0
- package/src/models/AttachAccessoriesProductRangeRequest.ts +66 -0
- package/src/models/AttachAttributesProductRangeRequest.ts +66 -0
- package/src/models/AttachDocumentablesDocumentRequestDocumentablesInner.ts +1 -0
- package/src/models/AttachDocumentsProductRangeRequest.ts +74 -0
- package/src/models/DetachAccessoriesProductRangeRequest.ts +66 -0
- package/src/models/DetachAttributesProductRangeRequest.ts +66 -0
- package/src/models/DetachDocumentablesDocumentRequestDocumentablesInner.ts +1 -0
- package/src/models/DetachDocumentsProductRangeRequest.ts +66 -0
- package/src/models/GetAllDocumentRequest.ts +1 -0
- package/src/models/GetAllProductChildRequest.ts +1 -0
- package/src/models/GetAllProductRangeRequest.ts +151 -0
- package/src/models/IndexAttributeRequest.ts +3 -1
- package/src/models/IndexDocumentRequest.ts +1 -0
- package/src/models/IndexModelAttributeRequest.ts +176 -0
- package/src/models/IndexProductChildRequest.ts +1 -0
- package/src/models/IndexProductRangeRequest.ts +167 -0
- package/src/models/ModelAttributeListResource.ts +108 -0
- package/src/models/ModelAttributeListResourceArrayResponse.ts +73 -0
- package/src/models/PaginatedModelAttributeListResourceResponse.ts +90 -0
- package/src/models/PaginatedProductRangeFrontendListResourceResponse.ts +90 -0
- package/src/models/PaginatedProductRangeListResourceResponse.ts +90 -0
- package/src/models/PaginatedProductRangeLiteResourceResponse.ts +90 -0
- package/src/models/PaginatedProductRangeResourceResponse.ts +90 -0
- package/src/models/ProductChildListResource.ts +0 -9
- package/src/models/ProductChildSiteDetailResource.ts +0 -9
- package/src/models/ProductRangeFrontendListResource.ts +111 -0
- package/src/models/ProductRangeFrontendListResourceArrayResponse.ts +73 -0
- package/src/models/ProductRangeFrontendResource.ts +207 -0
- package/src/models/ProductRangeFrontendResourceArrayResponse.ts +73 -0
- package/src/models/ProductRangeListResource.ts +108 -0
- package/src/models/ProductRangeListResourceArrayResponse.ts +73 -0
- package/src/models/ProductRangeLiteResource.ts +75 -0
- package/src/models/ProductRangeLiteResourceArrayResponse.ts +73 -0
- package/src/models/ProductRangeResource.ts +158 -0
- package/src/models/ProductRangeResourceArrayResponse.ts +73 -0
- package/src/models/ProductRangeSiteDetailResource.ts +171 -0
- package/src/models/ProductRangeSiteDetailResourceArrayResponse.ts +73 -0
- package/src/models/StoreProductRangeRequest.ts +105 -0
- package/src/models/StoreProductRangeRequestSitesInner.ts +148 -0
- package/src/models/UpdateProductRangeRequest.ts +105 -0
- package/src/models/index.ts +31 -0
|
@@ -0,0 +1,148 @@
|
|
|
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 StoreProductRangeRequestSitesInner
|
|
20
|
+
*/
|
|
21
|
+
export interface StoreProductRangeRequestSitesInner {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {number}
|
|
25
|
+
* @memberof StoreProductRangeRequestSitesInner
|
|
26
|
+
*/
|
|
27
|
+
siteId: number;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof StoreProductRangeRequestSitesInner
|
|
32
|
+
*/
|
|
33
|
+
name: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof StoreProductRangeRequestSitesInner
|
|
38
|
+
*/
|
|
39
|
+
slug: string;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof StoreProductRangeRequestSitesInner
|
|
44
|
+
*/
|
|
45
|
+
description?: string;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {string}
|
|
49
|
+
* @memberof StoreProductRangeRequestSitesInner
|
|
50
|
+
*/
|
|
51
|
+
content?: string;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {string}
|
|
55
|
+
* @memberof StoreProductRangeRequestSitesInner
|
|
56
|
+
*/
|
|
57
|
+
excerpt?: string;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {number}
|
|
61
|
+
* @memberof StoreProductRangeRequestSitesInner
|
|
62
|
+
*/
|
|
63
|
+
popularityScore?: number;
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
* @type {boolean}
|
|
67
|
+
* @memberof StoreProductRangeRequestSitesInner
|
|
68
|
+
*/
|
|
69
|
+
isDisabled?: boolean;
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
* @type {Array<number>}
|
|
73
|
+
* @memberof StoreProductRangeRequestSitesInner
|
|
74
|
+
*/
|
|
75
|
+
categories?: Array<number>;
|
|
76
|
+
/**
|
|
77
|
+
*
|
|
78
|
+
* @type {string}
|
|
79
|
+
* @memberof StoreProductRangeRequestSitesInner
|
|
80
|
+
*/
|
|
81
|
+
seoTitle?: string;
|
|
82
|
+
/**
|
|
83
|
+
*
|
|
84
|
+
* @type {string}
|
|
85
|
+
* @memberof StoreProductRangeRequestSitesInner
|
|
86
|
+
*/
|
|
87
|
+
seoDescription?: string;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
/**
|
|
91
|
+
* Check if a given object implements the StoreProductRangeRequestSitesInner interface.
|
|
92
|
+
*/
|
|
93
|
+
export function instanceOfStoreProductRangeRequestSitesInner(value: object): value is StoreProductRangeRequestSitesInner {
|
|
94
|
+
if (!('siteId' in value) || value['siteId'] === undefined) return false;
|
|
95
|
+
if (!('name' in value) || value['name'] === undefined) return false;
|
|
96
|
+
if (!('slug' in value) || value['slug'] === undefined) return false;
|
|
97
|
+
return true;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
export function StoreProductRangeRequestSitesInnerFromJSON(json: any): StoreProductRangeRequestSitesInner {
|
|
101
|
+
return StoreProductRangeRequestSitesInnerFromJSONTyped(json, false);
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
export function StoreProductRangeRequestSitesInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): StoreProductRangeRequestSitesInner {
|
|
105
|
+
if (json == null) {
|
|
106
|
+
return json;
|
|
107
|
+
}
|
|
108
|
+
return {
|
|
109
|
+
|
|
110
|
+
'siteId': json['site_id'],
|
|
111
|
+
'name': json['name'],
|
|
112
|
+
'slug': json['slug'],
|
|
113
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
114
|
+
'content': json['content'] == null ? undefined : json['content'],
|
|
115
|
+
'excerpt': json['excerpt'] == null ? undefined : json['excerpt'],
|
|
116
|
+
'popularityScore': json['popularity_score'] == null ? undefined : json['popularity_score'],
|
|
117
|
+
'isDisabled': json['is_disabled'] == null ? undefined : json['is_disabled'],
|
|
118
|
+
'categories': json['categories'] == null ? undefined : json['categories'],
|
|
119
|
+
'seoTitle': json['seo_title'] == null ? undefined : json['seo_title'],
|
|
120
|
+
'seoDescription': json['seo_description'] == null ? undefined : json['seo_description'],
|
|
121
|
+
};
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
export function StoreProductRangeRequestSitesInnerToJSON(json: any): StoreProductRangeRequestSitesInner {
|
|
125
|
+
return StoreProductRangeRequestSitesInnerToJSONTyped(json, false);
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
export function StoreProductRangeRequestSitesInnerToJSONTyped(value?: StoreProductRangeRequestSitesInner | null, ignoreDiscriminator: boolean = false): any {
|
|
129
|
+
if (value == null) {
|
|
130
|
+
return value;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
return {
|
|
134
|
+
|
|
135
|
+
'site_id': value['siteId'],
|
|
136
|
+
'name': value['name'],
|
|
137
|
+
'slug': value['slug'],
|
|
138
|
+
'description': value['description'],
|
|
139
|
+
'content': value['content'],
|
|
140
|
+
'excerpt': value['excerpt'],
|
|
141
|
+
'popularity_score': value['popularityScore'],
|
|
142
|
+
'is_disabled': value['isDisabled'],
|
|
143
|
+
'categories': value['categories'],
|
|
144
|
+
'seo_title': value['seoTitle'],
|
|
145
|
+
'seo_description': value['seoDescription'],
|
|
146
|
+
};
|
|
147
|
+
}
|
|
148
|
+
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* My API
|
|
5
|
+
* API documentation for my Laravel app
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
import type { UpdateProductChildRequestAssetsInner } from './UpdateProductChildRequestAssetsInner';
|
|
17
|
+
import {
|
|
18
|
+
UpdateProductChildRequestAssetsInnerFromJSON,
|
|
19
|
+
UpdateProductChildRequestAssetsInnerFromJSONTyped,
|
|
20
|
+
UpdateProductChildRequestAssetsInnerToJSON,
|
|
21
|
+
UpdateProductChildRequestAssetsInnerToJSONTyped,
|
|
22
|
+
} from './UpdateProductChildRequestAssetsInner';
|
|
23
|
+
import type { StoreProductRangeRequestSitesInner } from './StoreProductRangeRequestSitesInner';
|
|
24
|
+
import {
|
|
25
|
+
StoreProductRangeRequestSitesInnerFromJSON,
|
|
26
|
+
StoreProductRangeRequestSitesInnerFromJSONTyped,
|
|
27
|
+
StoreProductRangeRequestSitesInnerToJSON,
|
|
28
|
+
StoreProductRangeRequestSitesInnerToJSONTyped,
|
|
29
|
+
} from './StoreProductRangeRequestSitesInner';
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @export
|
|
34
|
+
* @interface UpdateProductRangeRequest
|
|
35
|
+
*/
|
|
36
|
+
export interface UpdateProductRangeRequest {
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof UpdateProductRangeRequest
|
|
41
|
+
*/
|
|
42
|
+
name: string;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {number}
|
|
46
|
+
* @memberof UpdateProductRangeRequest
|
|
47
|
+
*/
|
|
48
|
+
supplierId?: number;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {Array<StoreProductRangeRequestSitesInner>}
|
|
52
|
+
* @memberof UpdateProductRangeRequest
|
|
53
|
+
*/
|
|
54
|
+
sites?: Array<StoreProductRangeRequestSitesInner>;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {Array<UpdateProductChildRequestAssetsInner>}
|
|
58
|
+
* @memberof UpdateProductRangeRequest
|
|
59
|
+
*/
|
|
60
|
+
assets?: Array<UpdateProductChildRequestAssetsInner>;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* Check if a given object implements the UpdateProductRangeRequest interface.
|
|
65
|
+
*/
|
|
66
|
+
export function instanceOfUpdateProductRangeRequest(value: object): value is UpdateProductRangeRequest {
|
|
67
|
+
if (!('name' in value) || value['name'] === undefined) return false;
|
|
68
|
+
return true;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
export function UpdateProductRangeRequestFromJSON(json: any): UpdateProductRangeRequest {
|
|
72
|
+
return UpdateProductRangeRequestFromJSONTyped(json, false);
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
export function UpdateProductRangeRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateProductRangeRequest {
|
|
76
|
+
if (json == null) {
|
|
77
|
+
return json;
|
|
78
|
+
}
|
|
79
|
+
return {
|
|
80
|
+
|
|
81
|
+
'name': json['name'],
|
|
82
|
+
'supplierId': json['supplier_id'] == null ? undefined : json['supplier_id'],
|
|
83
|
+
'sites': json['sites'] == null ? undefined : ((json['sites'] as Array<any>).map(StoreProductRangeRequestSitesInnerFromJSON)),
|
|
84
|
+
'assets': json['assets'] == null ? undefined : ((json['assets'] as Array<any>).map(UpdateProductChildRequestAssetsInnerFromJSON)),
|
|
85
|
+
};
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
export function UpdateProductRangeRequestToJSON(json: any): UpdateProductRangeRequest {
|
|
89
|
+
return UpdateProductRangeRequestToJSONTyped(json, false);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
export function UpdateProductRangeRequestToJSONTyped(value?: UpdateProductRangeRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
93
|
+
if (value == null) {
|
|
94
|
+
return value;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
return {
|
|
98
|
+
|
|
99
|
+
'name': value['name'],
|
|
100
|
+
'supplier_id': value['supplierId'],
|
|
101
|
+
'sites': value['sites'] == null ? undefined : ((value['sites'] as Array<any>).map(StoreProductRangeRequestSitesInnerToJSON)),
|
|
102
|
+
'assets': value['assets'] == null ? undefined : ((value['assets'] as Array<any>).map(UpdateProductChildRequestAssetsInnerToJSON)),
|
|
103
|
+
};
|
|
104
|
+
}
|
|
105
|
+
|
package/src/models/index.ts
CHANGED
|
@@ -9,12 +9,15 @@ export * from './AssetLiteResourceArrayResponse';
|
|
|
9
9
|
export * from './AssetResource';
|
|
10
10
|
export * from './AssetResourceArrayResponse';
|
|
11
11
|
export * from './AttachAccessoriesProductChildRequest';
|
|
12
|
+
export * from './AttachAccessoriesProductRangeRequest';
|
|
12
13
|
export * from './AttachAssetsOverlayTemplateRequest';
|
|
13
14
|
export * from './AttachAttributeProductTypeRequest';
|
|
15
|
+
export * from './AttachAttributesProductRangeRequest';
|
|
14
16
|
export * from './AttachDocumentablesDocumentRequest';
|
|
15
17
|
export * from './AttachDocumentablesDocumentRequestDocumentablesInner';
|
|
16
18
|
export * from './AttachDocumentsProductChildRequest';
|
|
17
19
|
export * from './AttachDocumentsProductChildRequestDocumentsInner';
|
|
20
|
+
export * from './AttachDocumentsProductRangeRequest';
|
|
18
21
|
export * from './AttachProductTypeAttributeRequest';
|
|
19
22
|
export * from './AttachProductsProductCategoryRequest';
|
|
20
23
|
export * from './AttributeFieldType';
|
|
@@ -46,10 +49,13 @@ export * from './DefinitionResourceArrayResponse';
|
|
|
46
49
|
export * from './DescriptionResource';
|
|
47
50
|
export * from './DescriptionResourceArrayResponse';
|
|
48
51
|
export * from './DestroyAttributeValueRequest';
|
|
52
|
+
export * from './DetachAccessoriesProductRangeRequest';
|
|
49
53
|
export * from './DetachAssetableOverlayTemplateRequest';
|
|
54
|
+
export * from './DetachAttributesProductRangeRequest';
|
|
50
55
|
export * from './DetachDocumentablesDocumentRequest';
|
|
51
56
|
export * from './DetachDocumentablesDocumentRequestDocumentablesInner';
|
|
52
57
|
export * from './DetachDocumentsProductChildRequest';
|
|
58
|
+
export * from './DetachDocumentsProductRangeRequest';
|
|
53
59
|
export * from './DetachProductsProductCategoryRequest';
|
|
54
60
|
export * from './DocumentFileForUploadResource';
|
|
55
61
|
export * from './DocumentFileForUploadResourceArrayResponse';
|
|
@@ -73,6 +79,7 @@ export * from './GetAllGoogleCategoryRequest';
|
|
|
73
79
|
export * from './GetAllOverlayTemplateRequest';
|
|
74
80
|
export * from './GetAllProductCategoryRequest';
|
|
75
81
|
export * from './GetAllProductChildRequest';
|
|
82
|
+
export * from './GetAllProductRangeRequest';
|
|
76
83
|
export * from './GetAllProductRequest';
|
|
77
84
|
export * from './GetAllProductTypeRequest';
|
|
78
85
|
export * from './GetAllSupplierRequest';
|
|
@@ -92,15 +99,19 @@ export * from './IndexAttributeValueRequest';
|
|
|
92
99
|
export * from './IndexDefinitionRequest';
|
|
93
100
|
export * from './IndexDocumentRequest';
|
|
94
101
|
export * from './IndexExternalApiLogRequest';
|
|
102
|
+
export * from './IndexModelAttributeRequest';
|
|
95
103
|
export * from './IndexOverlayTemplateRequest';
|
|
96
104
|
export * from './IndexProductCategoryRequest';
|
|
97
105
|
export * from './IndexProductChildRequest';
|
|
106
|
+
export * from './IndexProductRangeRequest';
|
|
98
107
|
export * from './IndexProductRequest';
|
|
99
108
|
export * from './IndexProductTypeRequest';
|
|
100
109
|
export * from './IndexSiteNotificationRequest';
|
|
101
110
|
export * from './IndexSiteRequest';
|
|
102
111
|
export * from './IndexSupplierRequest';
|
|
103
112
|
export * from './IndexTagRequest';
|
|
113
|
+
export * from './ModelAttributeListResource';
|
|
114
|
+
export * from './ModelAttributeListResourceArrayResponse';
|
|
104
115
|
export * from './ModelAttributeResource';
|
|
105
116
|
export * from './ModelAttributeResourceArrayResponse';
|
|
106
117
|
export * from './OverlayTemplateAssetFrontendResource';
|
|
@@ -126,6 +137,7 @@ export * from './PaginatedDocumentResourceResponse';
|
|
|
126
137
|
export * from './PaginatedExternalApiLogListResourceResponse';
|
|
127
138
|
export * from './PaginatedExternalApiLogResourceResponse';
|
|
128
139
|
export * from './PaginatedGoogleCategoryResourceResponse';
|
|
140
|
+
export * from './PaginatedModelAttributeListResourceResponse';
|
|
129
141
|
export * from './PaginatedOverlayTemplateListResourceResponse';
|
|
130
142
|
export * from './PaginatedOverlayTemplateLiteResourceResponse';
|
|
131
143
|
export * from './PaginatedOverlayTemplateResourceResponse';
|
|
@@ -138,6 +150,10 @@ export * from './PaginatedProductChildRelationResourceResponse';
|
|
|
138
150
|
export * from './PaginatedProductChildResourceResponse';
|
|
139
151
|
export * from './PaginatedProductListResourceResponse';
|
|
140
152
|
export * from './PaginatedProductLiteResourceResponse';
|
|
153
|
+
export * from './PaginatedProductRangeFrontendListResourceResponse';
|
|
154
|
+
export * from './PaginatedProductRangeListResourceResponse';
|
|
155
|
+
export * from './PaginatedProductRangeLiteResourceResponse';
|
|
156
|
+
export * from './PaginatedProductRangeResourceResponse';
|
|
141
157
|
export * from './PaginatedProductResourceResponse';
|
|
142
158
|
export * from './PaginatedProductSearchResultResourceResponse';
|
|
143
159
|
export * from './PaginatedProductTypeListResourceResponse';
|
|
@@ -190,6 +206,18 @@ export * from './ProductListResource';
|
|
|
190
206
|
export * from './ProductListResourceArrayResponse';
|
|
191
207
|
export * from './ProductLiteResource';
|
|
192
208
|
export * from './ProductLiteResourceArrayResponse';
|
|
209
|
+
export * from './ProductRangeFrontendListResource';
|
|
210
|
+
export * from './ProductRangeFrontendListResourceArrayResponse';
|
|
211
|
+
export * from './ProductRangeFrontendResource';
|
|
212
|
+
export * from './ProductRangeFrontendResourceArrayResponse';
|
|
213
|
+
export * from './ProductRangeListResource';
|
|
214
|
+
export * from './ProductRangeListResourceArrayResponse';
|
|
215
|
+
export * from './ProductRangeLiteResource';
|
|
216
|
+
export * from './ProductRangeLiteResourceArrayResponse';
|
|
217
|
+
export * from './ProductRangeResource';
|
|
218
|
+
export * from './ProductRangeResourceArrayResponse';
|
|
219
|
+
export * from './ProductRangeSiteDetailResource';
|
|
220
|
+
export * from './ProductRangeSiteDetailResourceArrayResponse';
|
|
193
221
|
export * from './ProductRating';
|
|
194
222
|
export * from './ProductResource';
|
|
195
223
|
export * from './ProductResourceArrayResponse';
|
|
@@ -239,6 +267,8 @@ export * from './StoreProductChildRequest';
|
|
|
239
267
|
export * from './StoreProductChildRequestAssetsInner';
|
|
240
268
|
export * from './StoreProductChildRequestAttributeValuesInner';
|
|
241
269
|
export * from './StoreProductChildRequestSitesInner';
|
|
270
|
+
export * from './StoreProductRangeRequest';
|
|
271
|
+
export * from './StoreProductRangeRequestSitesInner';
|
|
242
272
|
export * from './StoreProductRequest';
|
|
243
273
|
export * from './StoreProductRequestCategoriesInner';
|
|
244
274
|
export * from './StoreProductTypeRequest';
|
|
@@ -275,6 +305,7 @@ export * from './UpdateOverlayTemplateRequest';
|
|
|
275
305
|
export * from './UpdateProductCategoryRequest';
|
|
276
306
|
export * from './UpdateProductChildRequest';
|
|
277
307
|
export * from './UpdateProductChildRequestAssetsInner';
|
|
308
|
+
export * from './UpdateProductRangeRequest';
|
|
278
309
|
export * from './UpdateProductRequest';
|
|
279
310
|
export * from './UpdateProductTypeRequest';
|
|
280
311
|
export * from './UpdateProductTypeRequestPerformanceValuesInner';
|