@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,171 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* My API
|
|
5
|
-
* API documentation for my Laravel app
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.0
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
import { mapValues } from '../runtime';
|
|
16
|
-
import type { SiteLiteResource } from './SiteLiteResource';
|
|
17
|
-
import {
|
|
18
|
-
SiteLiteResourceFromJSON,
|
|
19
|
-
SiteLiteResourceFromJSONTyped,
|
|
20
|
-
SiteLiteResourceToJSON,
|
|
21
|
-
SiteLiteResourceToJSONTyped,
|
|
22
|
-
} from './SiteLiteResource';
|
|
23
|
-
import type { SEOResource } from './SEOResource';
|
|
24
|
-
import {
|
|
25
|
-
SEOResourceFromJSON,
|
|
26
|
-
SEOResourceFromJSONTyped,
|
|
27
|
-
SEOResourceToJSON,
|
|
28
|
-
SEOResourceToJSONTyped,
|
|
29
|
-
} from './SEOResource';
|
|
30
|
-
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
* @export
|
|
34
|
-
* @interface ProductRangeSiteDetailResource
|
|
35
|
-
*/
|
|
36
|
-
export interface ProductRangeSiteDetailResource {
|
|
37
|
-
/**
|
|
38
|
-
*
|
|
39
|
-
* @type {number}
|
|
40
|
-
* @memberof ProductRangeSiteDetailResource
|
|
41
|
-
*/
|
|
42
|
-
id: number;
|
|
43
|
-
/**
|
|
44
|
-
*
|
|
45
|
-
* @type {number}
|
|
46
|
-
* @memberof ProductRangeSiteDetailResource
|
|
47
|
-
*/
|
|
48
|
-
siteId: number;
|
|
49
|
-
/**
|
|
50
|
-
*
|
|
51
|
-
* @type {SiteLiteResource}
|
|
52
|
-
* @memberof ProductRangeSiteDetailResource
|
|
53
|
-
*/
|
|
54
|
-
site: SiteLiteResource | null;
|
|
55
|
-
/**
|
|
56
|
-
*
|
|
57
|
-
* @type {string}
|
|
58
|
-
* @memberof ProductRangeSiteDetailResource
|
|
59
|
-
*/
|
|
60
|
-
name: string;
|
|
61
|
-
/**
|
|
62
|
-
*
|
|
63
|
-
* @type {string}
|
|
64
|
-
* @memberof ProductRangeSiteDetailResource
|
|
65
|
-
*/
|
|
66
|
-
slug: string;
|
|
67
|
-
/**
|
|
68
|
-
*
|
|
69
|
-
* @type {string}
|
|
70
|
-
* @memberof ProductRangeSiteDetailResource
|
|
71
|
-
*/
|
|
72
|
-
description: string;
|
|
73
|
-
/**
|
|
74
|
-
*
|
|
75
|
-
* @type {string}
|
|
76
|
-
* @memberof ProductRangeSiteDetailResource
|
|
77
|
-
*/
|
|
78
|
-
content: string;
|
|
79
|
-
/**
|
|
80
|
-
*
|
|
81
|
-
* @type {string}
|
|
82
|
-
* @memberof ProductRangeSiteDetailResource
|
|
83
|
-
*/
|
|
84
|
-
excerpt: string;
|
|
85
|
-
/**
|
|
86
|
-
*
|
|
87
|
-
* @type {number}
|
|
88
|
-
* @memberof ProductRangeSiteDetailResource
|
|
89
|
-
*/
|
|
90
|
-
popularityScore: number;
|
|
91
|
-
/**
|
|
92
|
-
*
|
|
93
|
-
* @type {boolean}
|
|
94
|
-
* @memberof ProductRangeSiteDetailResource
|
|
95
|
-
*/
|
|
96
|
-
isDisabled: boolean;
|
|
97
|
-
/**
|
|
98
|
-
*
|
|
99
|
-
* @type {SEOResource}
|
|
100
|
-
* @memberof ProductRangeSiteDetailResource
|
|
101
|
-
*/
|
|
102
|
-
seo: SEOResource | null;
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
/**
|
|
106
|
-
* Check if a given object implements the ProductRangeSiteDetailResource interface.
|
|
107
|
-
*/
|
|
108
|
-
export function instanceOfProductRangeSiteDetailResource(value: object): value is ProductRangeSiteDetailResource {
|
|
109
|
-
if (!('id' in value) || value['id'] === undefined) return false;
|
|
110
|
-
if (!('siteId' in value) || value['siteId'] === undefined) return false;
|
|
111
|
-
if (!('site' in value) || value['site'] === undefined) return false;
|
|
112
|
-
if (!('name' in value) || value['name'] === undefined) return false;
|
|
113
|
-
if (!('slug' in value) || value['slug'] === undefined) return false;
|
|
114
|
-
if (!('description' in value) || value['description'] === undefined) return false;
|
|
115
|
-
if (!('content' in value) || value['content'] === undefined) return false;
|
|
116
|
-
if (!('excerpt' in value) || value['excerpt'] === undefined) return false;
|
|
117
|
-
if (!('popularityScore' in value) || value['popularityScore'] === undefined) return false;
|
|
118
|
-
if (!('isDisabled' in value) || value['isDisabled'] === undefined) return false;
|
|
119
|
-
if (!('seo' in value) || value['seo'] === undefined) return false;
|
|
120
|
-
return true;
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
export function ProductRangeSiteDetailResourceFromJSON(json: any): ProductRangeSiteDetailResource {
|
|
124
|
-
return ProductRangeSiteDetailResourceFromJSONTyped(json, false);
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
export function ProductRangeSiteDetailResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductRangeSiteDetailResource {
|
|
128
|
-
if (json == null) {
|
|
129
|
-
return json;
|
|
130
|
-
}
|
|
131
|
-
return {
|
|
132
|
-
|
|
133
|
-
'id': json['id'],
|
|
134
|
-
'siteId': json['siteId'],
|
|
135
|
-
'site': SiteLiteResourceFromJSON(json['site']),
|
|
136
|
-
'name': json['name'],
|
|
137
|
-
'slug': json['slug'],
|
|
138
|
-
'description': json['description'],
|
|
139
|
-
'content': json['content'],
|
|
140
|
-
'excerpt': json['excerpt'],
|
|
141
|
-
'popularityScore': json['popularityScore'],
|
|
142
|
-
'isDisabled': json['isDisabled'],
|
|
143
|
-
'seo': SEOResourceFromJSON(json['seo']),
|
|
144
|
-
};
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
export function ProductRangeSiteDetailResourceToJSON(json: any): ProductRangeSiteDetailResource {
|
|
148
|
-
return ProductRangeSiteDetailResourceToJSONTyped(json, false);
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
export function ProductRangeSiteDetailResourceToJSONTyped(value?: ProductRangeSiteDetailResource | null, ignoreDiscriminator: boolean = false): any {
|
|
152
|
-
if (value == null) {
|
|
153
|
-
return value;
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
return {
|
|
157
|
-
|
|
158
|
-
'id': value['id'],
|
|
159
|
-
'siteId': value['siteId'],
|
|
160
|
-
'site': SiteLiteResourceToJSON(value['site']),
|
|
161
|
-
'name': value['name'],
|
|
162
|
-
'slug': value['slug'],
|
|
163
|
-
'description': value['description'],
|
|
164
|
-
'content': value['content'],
|
|
165
|
-
'excerpt': value['excerpt'],
|
|
166
|
-
'popularityScore': value['popularityScore'],
|
|
167
|
-
'isDisabled': value['isDisabled'],
|
|
168
|
-
'seo': SEOResourceToJSON(value['seo']),
|
|
169
|
-
};
|
|
170
|
-
}
|
|
171
|
-
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* My API
|
|
5
|
-
* API documentation for my Laravel app
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.0
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
import { mapValues } from '../runtime';
|
|
16
|
-
import type { ProductRangeSiteDetailResource } from './ProductRangeSiteDetailResource';
|
|
17
|
-
import {
|
|
18
|
-
ProductRangeSiteDetailResourceFromJSON,
|
|
19
|
-
ProductRangeSiteDetailResourceFromJSONTyped,
|
|
20
|
-
ProductRangeSiteDetailResourceToJSON,
|
|
21
|
-
ProductRangeSiteDetailResourceToJSONTyped,
|
|
22
|
-
} from './ProductRangeSiteDetailResource';
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @export
|
|
27
|
-
* @interface ProductRangeSiteDetailResourceArrayResponse
|
|
28
|
-
*/
|
|
29
|
-
export interface ProductRangeSiteDetailResourceArrayResponse {
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {Array<ProductRangeSiteDetailResource>}
|
|
33
|
-
* @memberof ProductRangeSiteDetailResourceArrayResponse
|
|
34
|
-
*/
|
|
35
|
-
data?: Array<ProductRangeSiteDetailResource>;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
/**
|
|
39
|
-
* Check if a given object implements the ProductRangeSiteDetailResourceArrayResponse interface.
|
|
40
|
-
*/
|
|
41
|
-
export function instanceOfProductRangeSiteDetailResourceArrayResponse(value: object): value is ProductRangeSiteDetailResourceArrayResponse {
|
|
42
|
-
return true;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
export function ProductRangeSiteDetailResourceArrayResponseFromJSON(json: any): ProductRangeSiteDetailResourceArrayResponse {
|
|
46
|
-
return ProductRangeSiteDetailResourceArrayResponseFromJSONTyped(json, false);
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
export function ProductRangeSiteDetailResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductRangeSiteDetailResourceArrayResponse {
|
|
50
|
-
if (json == null) {
|
|
51
|
-
return json;
|
|
52
|
-
}
|
|
53
|
-
return {
|
|
54
|
-
|
|
55
|
-
'data': json['data'] == null ? undefined : ((json['data'] as Array<any>).map(ProductRangeSiteDetailResourceFromJSON)),
|
|
56
|
-
};
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
export function ProductRangeSiteDetailResourceArrayResponseToJSON(json: any): ProductRangeSiteDetailResourceArrayResponse {
|
|
60
|
-
return ProductRangeSiteDetailResourceArrayResponseToJSONTyped(json, false);
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
export function ProductRangeSiteDetailResourceArrayResponseToJSONTyped(value?: ProductRangeSiteDetailResourceArrayResponse | null, ignoreDiscriminator: boolean = false): any {
|
|
64
|
-
if (value == null) {
|
|
65
|
-
return value;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
return {
|
|
69
|
-
|
|
70
|
-
'data': value['data'] == null ? undefined : ((value['data'] as Array<any>).map(ProductRangeSiteDetailResourceToJSON)),
|
|
71
|
-
};
|
|
72
|
-
}
|
|
73
|
-
|
|
@@ -1,105 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* My API
|
|
5
|
-
* API documentation for my Laravel app
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.0
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
import { mapValues } from '../runtime';
|
|
16
|
-
import type { StoreProductChildRequestAssetsInner } from './StoreProductChildRequestAssetsInner';
|
|
17
|
-
import {
|
|
18
|
-
StoreProductChildRequestAssetsInnerFromJSON,
|
|
19
|
-
StoreProductChildRequestAssetsInnerFromJSONTyped,
|
|
20
|
-
StoreProductChildRequestAssetsInnerToJSON,
|
|
21
|
-
StoreProductChildRequestAssetsInnerToJSONTyped,
|
|
22
|
-
} from './StoreProductChildRequestAssetsInner';
|
|
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 StoreProductRangeRequest
|
|
35
|
-
*/
|
|
36
|
-
export interface StoreProductRangeRequest {
|
|
37
|
-
/**
|
|
38
|
-
*
|
|
39
|
-
* @type {string}
|
|
40
|
-
* @memberof StoreProductRangeRequest
|
|
41
|
-
*/
|
|
42
|
-
name: string;
|
|
43
|
-
/**
|
|
44
|
-
*
|
|
45
|
-
* @type {number}
|
|
46
|
-
* @memberof StoreProductRangeRequest
|
|
47
|
-
*/
|
|
48
|
-
supplierId?: number;
|
|
49
|
-
/**
|
|
50
|
-
*
|
|
51
|
-
* @type {Array<StoreProductRangeRequestSitesInner>}
|
|
52
|
-
* @memberof StoreProductRangeRequest
|
|
53
|
-
*/
|
|
54
|
-
sites?: Array<StoreProductRangeRequestSitesInner>;
|
|
55
|
-
/**
|
|
56
|
-
*
|
|
57
|
-
* @type {Array<StoreProductChildRequestAssetsInner>}
|
|
58
|
-
* @memberof StoreProductRangeRequest
|
|
59
|
-
*/
|
|
60
|
-
assets?: Array<StoreProductChildRequestAssetsInner>;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
/**
|
|
64
|
-
* Check if a given object implements the StoreProductRangeRequest interface.
|
|
65
|
-
*/
|
|
66
|
-
export function instanceOfStoreProductRangeRequest(value: object): value is StoreProductRangeRequest {
|
|
67
|
-
if (!('name' in value) || value['name'] === undefined) return false;
|
|
68
|
-
return true;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
export function StoreProductRangeRequestFromJSON(json: any): StoreProductRangeRequest {
|
|
72
|
-
return StoreProductRangeRequestFromJSONTyped(json, false);
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
export function StoreProductRangeRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): StoreProductRangeRequest {
|
|
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(StoreProductChildRequestAssetsInnerFromJSON)),
|
|
85
|
-
};
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
export function StoreProductRangeRequestToJSON(json: any): StoreProductRangeRequest {
|
|
89
|
-
return StoreProductRangeRequestToJSONTyped(json, false);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
export function StoreProductRangeRequestToJSONTyped(value?: StoreProductRangeRequest | 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(StoreProductChildRequestAssetsInnerToJSON)),
|
|
103
|
-
};
|
|
104
|
-
}
|
|
105
|
-
|
|
@@ -1,148 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* My API
|
|
5
|
-
* API documentation for my Laravel app
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.0
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
import { mapValues } from '../runtime';
|
|
16
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
* @export
|
|
19
|
-
* @interface 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
|
-
|
|
@@ -1,105 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* My API
|
|
5
|
-
* API documentation for my Laravel app
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.0
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
import { mapValues } from '../runtime';
|
|
16
|
-
import type { 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
|
-
|