@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,33 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* My API
|
|
3
|
-
* API documentation for my Laravel app
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import type { ProductRangeLiteResource } from './ProductRangeLiteResource';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface ProductRangeLiteResourceArrayResponse
|
|
17
|
-
*/
|
|
18
|
-
export interface ProductRangeLiteResourceArrayResponse {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {Array<ProductRangeLiteResource>}
|
|
22
|
-
* @memberof ProductRangeLiteResourceArrayResponse
|
|
23
|
-
*/
|
|
24
|
-
data?: Array<ProductRangeLiteResource>;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Check if a given object implements the ProductRangeLiteResourceArrayResponse interface.
|
|
28
|
-
*/
|
|
29
|
-
export declare function instanceOfProductRangeLiteResourceArrayResponse(value: object): value is ProductRangeLiteResourceArrayResponse;
|
|
30
|
-
export declare function ProductRangeLiteResourceArrayResponseFromJSON(json: any): ProductRangeLiteResourceArrayResponse;
|
|
31
|
-
export declare function ProductRangeLiteResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductRangeLiteResourceArrayResponse;
|
|
32
|
-
export declare function ProductRangeLiteResourceArrayResponseToJSON(json: any): ProductRangeLiteResourceArrayResponse;
|
|
33
|
-
export declare function ProductRangeLiteResourceArrayResponseToJSONTyped(value?: ProductRangeLiteResourceArrayResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* My API
|
|
6
|
-
* API documentation for my Laravel app
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 1.0.0
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.instanceOfProductRangeLiteResourceArrayResponse = instanceOfProductRangeLiteResourceArrayResponse;
|
|
17
|
-
exports.ProductRangeLiteResourceArrayResponseFromJSON = ProductRangeLiteResourceArrayResponseFromJSON;
|
|
18
|
-
exports.ProductRangeLiteResourceArrayResponseFromJSONTyped = ProductRangeLiteResourceArrayResponseFromJSONTyped;
|
|
19
|
-
exports.ProductRangeLiteResourceArrayResponseToJSON = ProductRangeLiteResourceArrayResponseToJSON;
|
|
20
|
-
exports.ProductRangeLiteResourceArrayResponseToJSONTyped = ProductRangeLiteResourceArrayResponseToJSONTyped;
|
|
21
|
-
var ProductRangeLiteResource_1 = require("./ProductRangeLiteResource");
|
|
22
|
-
/**
|
|
23
|
-
* Check if a given object implements the ProductRangeLiteResourceArrayResponse interface.
|
|
24
|
-
*/
|
|
25
|
-
function instanceOfProductRangeLiteResourceArrayResponse(value) {
|
|
26
|
-
return true;
|
|
27
|
-
}
|
|
28
|
-
function ProductRangeLiteResourceArrayResponseFromJSON(json) {
|
|
29
|
-
return ProductRangeLiteResourceArrayResponseFromJSONTyped(json, false);
|
|
30
|
-
}
|
|
31
|
-
function ProductRangeLiteResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
-
if (json == null) {
|
|
33
|
-
return json;
|
|
34
|
-
}
|
|
35
|
-
return {
|
|
36
|
-
'data': json['data'] == null ? undefined : (json['data'].map(ProductRangeLiteResource_1.ProductRangeLiteResourceFromJSON)),
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
function ProductRangeLiteResourceArrayResponseToJSON(json) {
|
|
40
|
-
return ProductRangeLiteResourceArrayResponseToJSONTyped(json, false);
|
|
41
|
-
}
|
|
42
|
-
function ProductRangeLiteResourceArrayResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
43
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
44
|
-
if (value == null) {
|
|
45
|
-
return value;
|
|
46
|
-
}
|
|
47
|
-
return {
|
|
48
|
-
'data': value['data'] == null ? undefined : (value['data'].map(ProductRangeLiteResource_1.ProductRangeLiteResourceToJSON)),
|
|
49
|
-
};
|
|
50
|
-
}
|
|
@@ -1,83 +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 { ProductRangeSiteDetailResource } from './ProductRangeSiteDetailResource';
|
|
13
|
-
import type { SupplierLiteResource } from './SupplierLiteResource';
|
|
14
|
-
import type { AssetResource } from './AssetResource';
|
|
15
|
-
/**
|
|
16
|
-
*
|
|
17
|
-
* @export
|
|
18
|
-
* @interface ProductRangeResource
|
|
19
|
-
*/
|
|
20
|
-
export interface ProductRangeResource {
|
|
21
|
-
/**
|
|
22
|
-
*
|
|
23
|
-
* @type {number}
|
|
24
|
-
* @memberof ProductRangeResource
|
|
25
|
-
*/
|
|
26
|
-
id: number;
|
|
27
|
-
/**
|
|
28
|
-
*
|
|
29
|
-
* @type {string}
|
|
30
|
-
* @memberof ProductRangeResource
|
|
31
|
-
*/
|
|
32
|
-
name: string;
|
|
33
|
-
/**
|
|
34
|
-
*
|
|
35
|
-
* @type {SupplierLiteResource}
|
|
36
|
-
* @memberof ProductRangeResource
|
|
37
|
-
*/
|
|
38
|
-
supplier: SupplierLiteResource | null;
|
|
39
|
-
/**
|
|
40
|
-
*
|
|
41
|
-
* @type {object}
|
|
42
|
-
* @memberof ProductRangeResource
|
|
43
|
-
*/
|
|
44
|
-
sites: object;
|
|
45
|
-
/**
|
|
46
|
-
*
|
|
47
|
-
* @type {Array<ProductRangeSiteDetailResource>}
|
|
48
|
-
* @memberof ProductRangeResource
|
|
49
|
-
*/
|
|
50
|
-
siteDetails: Array<ProductRangeSiteDetailResource> | null;
|
|
51
|
-
/**
|
|
52
|
-
*
|
|
53
|
-
* @type {Array<AssetResource>}
|
|
54
|
-
* @memberof ProductRangeResource
|
|
55
|
-
*/
|
|
56
|
-
assets: Array<AssetResource> | null;
|
|
57
|
-
/**
|
|
58
|
-
*
|
|
59
|
-
* @type {AssetResource}
|
|
60
|
-
* @memberof ProductRangeResource
|
|
61
|
-
*/
|
|
62
|
-
thumbnail: AssetResource | null;
|
|
63
|
-
/**
|
|
64
|
-
*
|
|
65
|
-
* @type {string}
|
|
66
|
-
* @memberof ProductRangeResource
|
|
67
|
-
*/
|
|
68
|
-
createdAt?: string | null;
|
|
69
|
-
/**
|
|
70
|
-
*
|
|
71
|
-
* @type {string}
|
|
72
|
-
* @memberof ProductRangeResource
|
|
73
|
-
*/
|
|
74
|
-
updatedAt?: string | null;
|
|
75
|
-
}
|
|
76
|
-
/**
|
|
77
|
-
* Check if a given object implements the ProductRangeResource interface.
|
|
78
|
-
*/
|
|
79
|
-
export declare function instanceOfProductRangeResource(value: object): value is ProductRangeResource;
|
|
80
|
-
export declare function ProductRangeResourceFromJSON(json: any): ProductRangeResource;
|
|
81
|
-
export declare function ProductRangeResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductRangeResource;
|
|
82
|
-
export declare function ProductRangeResourceToJSON(json: any): ProductRangeResource;
|
|
83
|
-
export declare function ProductRangeResourceToJSONTyped(value?: ProductRangeResource | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,82 +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.instanceOfProductRangeResource = instanceOfProductRangeResource;
|
|
17
|
-
exports.ProductRangeResourceFromJSON = ProductRangeResourceFromJSON;
|
|
18
|
-
exports.ProductRangeResourceFromJSONTyped = ProductRangeResourceFromJSONTyped;
|
|
19
|
-
exports.ProductRangeResourceToJSON = ProductRangeResourceToJSON;
|
|
20
|
-
exports.ProductRangeResourceToJSONTyped = ProductRangeResourceToJSONTyped;
|
|
21
|
-
var ProductRangeSiteDetailResource_1 = require("./ProductRangeSiteDetailResource");
|
|
22
|
-
var SupplierLiteResource_1 = require("./SupplierLiteResource");
|
|
23
|
-
var AssetResource_1 = require("./AssetResource");
|
|
24
|
-
/**
|
|
25
|
-
* Check if a given object implements the ProductRangeResource interface.
|
|
26
|
-
*/
|
|
27
|
-
function instanceOfProductRangeResource(value) {
|
|
28
|
-
if (!('id' in value) || value['id'] === undefined)
|
|
29
|
-
return false;
|
|
30
|
-
if (!('name' in value) || value['name'] === undefined)
|
|
31
|
-
return false;
|
|
32
|
-
if (!('supplier' in value) || value['supplier'] === undefined)
|
|
33
|
-
return false;
|
|
34
|
-
if (!('sites' in value) || value['sites'] === undefined)
|
|
35
|
-
return false;
|
|
36
|
-
if (!('siteDetails' in value) || value['siteDetails'] === undefined)
|
|
37
|
-
return false;
|
|
38
|
-
if (!('assets' in value) || value['assets'] === undefined)
|
|
39
|
-
return false;
|
|
40
|
-
if (!('thumbnail' in value) || value['thumbnail'] === undefined)
|
|
41
|
-
return false;
|
|
42
|
-
return true;
|
|
43
|
-
}
|
|
44
|
-
function ProductRangeResourceFromJSON(json) {
|
|
45
|
-
return ProductRangeResourceFromJSONTyped(json, false);
|
|
46
|
-
}
|
|
47
|
-
function ProductRangeResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
48
|
-
if (json == null) {
|
|
49
|
-
return json;
|
|
50
|
-
}
|
|
51
|
-
return {
|
|
52
|
-
'id': json['id'],
|
|
53
|
-
'name': json['name'],
|
|
54
|
-
'supplier': (0, SupplierLiteResource_1.SupplierLiteResourceFromJSON)(json['supplier']),
|
|
55
|
-
'sites': json['sites'],
|
|
56
|
-
'siteDetails': (json['siteDetails'] == null ? null : json['siteDetails'].map(ProductRangeSiteDetailResource_1.ProductRangeSiteDetailResourceFromJSON)),
|
|
57
|
-
'assets': (json['assets'] == null ? null : json['assets'].map(AssetResource_1.AssetResourceFromJSON)),
|
|
58
|
-
'thumbnail': (0, AssetResource_1.AssetResourceFromJSON)(json['thumbnail']),
|
|
59
|
-
'createdAt': json['createdAt'] == null ? undefined : json['createdAt'],
|
|
60
|
-
'updatedAt': json['updatedAt'] == null ? undefined : json['updatedAt'],
|
|
61
|
-
};
|
|
62
|
-
}
|
|
63
|
-
function ProductRangeResourceToJSON(json) {
|
|
64
|
-
return ProductRangeResourceToJSONTyped(json, false);
|
|
65
|
-
}
|
|
66
|
-
function ProductRangeResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
67
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
68
|
-
if (value == null) {
|
|
69
|
-
return value;
|
|
70
|
-
}
|
|
71
|
-
return {
|
|
72
|
-
'id': value['id'],
|
|
73
|
-
'name': value['name'],
|
|
74
|
-
'supplier': (0, SupplierLiteResource_1.SupplierLiteResourceToJSON)(value['supplier']),
|
|
75
|
-
'sites': value['sites'],
|
|
76
|
-
'siteDetails': (value['siteDetails'] == null ? null : value['siteDetails'].map(ProductRangeSiteDetailResource_1.ProductRangeSiteDetailResourceToJSON)),
|
|
77
|
-
'assets': (value['assets'] == null ? null : value['assets'].map(AssetResource_1.AssetResourceToJSON)),
|
|
78
|
-
'thumbnail': (0, AssetResource_1.AssetResourceToJSON)(value['thumbnail']),
|
|
79
|
-
'createdAt': value['createdAt'],
|
|
80
|
-
'updatedAt': value['updatedAt'],
|
|
81
|
-
};
|
|
82
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* My API
|
|
3
|
-
* API documentation for my Laravel app
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import type { ProductRangeResource } from './ProductRangeResource';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface ProductRangeResourceArrayResponse
|
|
17
|
-
*/
|
|
18
|
-
export interface ProductRangeResourceArrayResponse {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {Array<ProductRangeResource>}
|
|
22
|
-
* @memberof ProductRangeResourceArrayResponse
|
|
23
|
-
*/
|
|
24
|
-
data?: Array<ProductRangeResource>;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Check if a given object implements the ProductRangeResourceArrayResponse interface.
|
|
28
|
-
*/
|
|
29
|
-
export declare function instanceOfProductRangeResourceArrayResponse(value: object): value is ProductRangeResourceArrayResponse;
|
|
30
|
-
export declare function ProductRangeResourceArrayResponseFromJSON(json: any): ProductRangeResourceArrayResponse;
|
|
31
|
-
export declare function ProductRangeResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductRangeResourceArrayResponse;
|
|
32
|
-
export declare function ProductRangeResourceArrayResponseToJSON(json: any): ProductRangeResourceArrayResponse;
|
|
33
|
-
export declare function ProductRangeResourceArrayResponseToJSONTyped(value?: ProductRangeResourceArrayResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* My API
|
|
6
|
-
* API documentation for my Laravel app
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 1.0.0
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.instanceOfProductRangeResourceArrayResponse = instanceOfProductRangeResourceArrayResponse;
|
|
17
|
-
exports.ProductRangeResourceArrayResponseFromJSON = ProductRangeResourceArrayResponseFromJSON;
|
|
18
|
-
exports.ProductRangeResourceArrayResponseFromJSONTyped = ProductRangeResourceArrayResponseFromJSONTyped;
|
|
19
|
-
exports.ProductRangeResourceArrayResponseToJSON = ProductRangeResourceArrayResponseToJSON;
|
|
20
|
-
exports.ProductRangeResourceArrayResponseToJSONTyped = ProductRangeResourceArrayResponseToJSONTyped;
|
|
21
|
-
var ProductRangeResource_1 = require("./ProductRangeResource");
|
|
22
|
-
/**
|
|
23
|
-
* Check if a given object implements the ProductRangeResourceArrayResponse interface.
|
|
24
|
-
*/
|
|
25
|
-
function instanceOfProductRangeResourceArrayResponse(value) {
|
|
26
|
-
return true;
|
|
27
|
-
}
|
|
28
|
-
function ProductRangeResourceArrayResponseFromJSON(json) {
|
|
29
|
-
return ProductRangeResourceArrayResponseFromJSONTyped(json, false);
|
|
30
|
-
}
|
|
31
|
-
function ProductRangeResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
-
if (json == null) {
|
|
33
|
-
return json;
|
|
34
|
-
}
|
|
35
|
-
return {
|
|
36
|
-
'data': json['data'] == null ? undefined : (json['data'].map(ProductRangeResource_1.ProductRangeResourceFromJSON)),
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
function ProductRangeResourceArrayResponseToJSON(json) {
|
|
40
|
-
return ProductRangeResourceArrayResponseToJSONTyped(json, false);
|
|
41
|
-
}
|
|
42
|
-
function ProductRangeResourceArrayResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
43
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
44
|
-
if (value == null) {
|
|
45
|
-
return value;
|
|
46
|
-
}
|
|
47
|
-
return {
|
|
48
|
-
'data': value['data'] == null ? undefined : (value['data'].map(ProductRangeResource_1.ProductRangeResourceToJSON)),
|
|
49
|
-
};
|
|
50
|
-
}
|
|
@@ -1,94 +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 { SiteLiteResource } from './SiteLiteResource';
|
|
13
|
-
import type { SEOResource } from './SEOResource';
|
|
14
|
-
/**
|
|
15
|
-
*
|
|
16
|
-
* @export
|
|
17
|
-
* @interface ProductRangeSiteDetailResource
|
|
18
|
-
*/
|
|
19
|
-
export interface ProductRangeSiteDetailResource {
|
|
20
|
-
/**
|
|
21
|
-
*
|
|
22
|
-
* @type {number}
|
|
23
|
-
* @memberof ProductRangeSiteDetailResource
|
|
24
|
-
*/
|
|
25
|
-
id: number;
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @type {number}
|
|
29
|
-
* @memberof ProductRangeSiteDetailResource
|
|
30
|
-
*/
|
|
31
|
-
siteId: number;
|
|
32
|
-
/**
|
|
33
|
-
*
|
|
34
|
-
* @type {SiteLiteResource}
|
|
35
|
-
* @memberof ProductRangeSiteDetailResource
|
|
36
|
-
*/
|
|
37
|
-
site: SiteLiteResource | null;
|
|
38
|
-
/**
|
|
39
|
-
*
|
|
40
|
-
* @type {string}
|
|
41
|
-
* @memberof ProductRangeSiteDetailResource
|
|
42
|
-
*/
|
|
43
|
-
name: string;
|
|
44
|
-
/**
|
|
45
|
-
*
|
|
46
|
-
* @type {string}
|
|
47
|
-
* @memberof ProductRangeSiteDetailResource
|
|
48
|
-
*/
|
|
49
|
-
slug: string;
|
|
50
|
-
/**
|
|
51
|
-
*
|
|
52
|
-
* @type {string}
|
|
53
|
-
* @memberof ProductRangeSiteDetailResource
|
|
54
|
-
*/
|
|
55
|
-
description: string;
|
|
56
|
-
/**
|
|
57
|
-
*
|
|
58
|
-
* @type {string}
|
|
59
|
-
* @memberof ProductRangeSiteDetailResource
|
|
60
|
-
*/
|
|
61
|
-
content: string;
|
|
62
|
-
/**
|
|
63
|
-
*
|
|
64
|
-
* @type {string}
|
|
65
|
-
* @memberof ProductRangeSiteDetailResource
|
|
66
|
-
*/
|
|
67
|
-
excerpt: string;
|
|
68
|
-
/**
|
|
69
|
-
*
|
|
70
|
-
* @type {number}
|
|
71
|
-
* @memberof ProductRangeSiteDetailResource
|
|
72
|
-
*/
|
|
73
|
-
popularityScore: number;
|
|
74
|
-
/**
|
|
75
|
-
*
|
|
76
|
-
* @type {boolean}
|
|
77
|
-
* @memberof ProductRangeSiteDetailResource
|
|
78
|
-
*/
|
|
79
|
-
isDisabled: boolean;
|
|
80
|
-
/**
|
|
81
|
-
*
|
|
82
|
-
* @type {SEOResource}
|
|
83
|
-
* @memberof ProductRangeSiteDetailResource
|
|
84
|
-
*/
|
|
85
|
-
seo: SEOResource | null;
|
|
86
|
-
}
|
|
87
|
-
/**
|
|
88
|
-
* Check if a given object implements the ProductRangeSiteDetailResource interface.
|
|
89
|
-
*/
|
|
90
|
-
export declare function instanceOfProductRangeSiteDetailResource(value: object): value is ProductRangeSiteDetailResource;
|
|
91
|
-
export declare function ProductRangeSiteDetailResourceFromJSON(json: any): ProductRangeSiteDetailResource;
|
|
92
|
-
export declare function ProductRangeSiteDetailResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductRangeSiteDetailResource;
|
|
93
|
-
export declare function ProductRangeSiteDetailResourceToJSON(json: any): ProductRangeSiteDetailResource;
|
|
94
|
-
export declare function ProductRangeSiteDetailResourceToJSONTyped(value?: ProductRangeSiteDetailResource | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,93 +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.instanceOfProductRangeSiteDetailResource = instanceOfProductRangeSiteDetailResource;
|
|
17
|
-
exports.ProductRangeSiteDetailResourceFromJSON = ProductRangeSiteDetailResourceFromJSON;
|
|
18
|
-
exports.ProductRangeSiteDetailResourceFromJSONTyped = ProductRangeSiteDetailResourceFromJSONTyped;
|
|
19
|
-
exports.ProductRangeSiteDetailResourceToJSON = ProductRangeSiteDetailResourceToJSON;
|
|
20
|
-
exports.ProductRangeSiteDetailResourceToJSONTyped = ProductRangeSiteDetailResourceToJSONTyped;
|
|
21
|
-
var SiteLiteResource_1 = require("./SiteLiteResource");
|
|
22
|
-
var SEOResource_1 = require("./SEOResource");
|
|
23
|
-
/**
|
|
24
|
-
* Check if a given object implements the ProductRangeSiteDetailResource interface.
|
|
25
|
-
*/
|
|
26
|
-
function instanceOfProductRangeSiteDetailResource(value) {
|
|
27
|
-
if (!('id' in value) || value['id'] === undefined)
|
|
28
|
-
return false;
|
|
29
|
-
if (!('siteId' in value) || value['siteId'] === undefined)
|
|
30
|
-
return false;
|
|
31
|
-
if (!('site' in value) || value['site'] === undefined)
|
|
32
|
-
return false;
|
|
33
|
-
if (!('name' in value) || value['name'] === undefined)
|
|
34
|
-
return false;
|
|
35
|
-
if (!('slug' in value) || value['slug'] === undefined)
|
|
36
|
-
return false;
|
|
37
|
-
if (!('description' in value) || value['description'] === undefined)
|
|
38
|
-
return false;
|
|
39
|
-
if (!('content' in value) || value['content'] === undefined)
|
|
40
|
-
return false;
|
|
41
|
-
if (!('excerpt' in value) || value['excerpt'] === undefined)
|
|
42
|
-
return false;
|
|
43
|
-
if (!('popularityScore' in value) || value['popularityScore'] === undefined)
|
|
44
|
-
return false;
|
|
45
|
-
if (!('isDisabled' in value) || value['isDisabled'] === undefined)
|
|
46
|
-
return false;
|
|
47
|
-
if (!('seo' in value) || value['seo'] === undefined)
|
|
48
|
-
return false;
|
|
49
|
-
return true;
|
|
50
|
-
}
|
|
51
|
-
function ProductRangeSiteDetailResourceFromJSON(json) {
|
|
52
|
-
return ProductRangeSiteDetailResourceFromJSONTyped(json, false);
|
|
53
|
-
}
|
|
54
|
-
function ProductRangeSiteDetailResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
55
|
-
if (json == null) {
|
|
56
|
-
return json;
|
|
57
|
-
}
|
|
58
|
-
return {
|
|
59
|
-
'id': json['id'],
|
|
60
|
-
'siteId': json['siteId'],
|
|
61
|
-
'site': (0, SiteLiteResource_1.SiteLiteResourceFromJSON)(json['site']),
|
|
62
|
-
'name': json['name'],
|
|
63
|
-
'slug': json['slug'],
|
|
64
|
-
'description': json['description'],
|
|
65
|
-
'content': json['content'],
|
|
66
|
-
'excerpt': json['excerpt'],
|
|
67
|
-
'popularityScore': json['popularityScore'],
|
|
68
|
-
'isDisabled': json['isDisabled'],
|
|
69
|
-
'seo': (0, SEOResource_1.SEOResourceFromJSON)(json['seo']),
|
|
70
|
-
};
|
|
71
|
-
}
|
|
72
|
-
function ProductRangeSiteDetailResourceToJSON(json) {
|
|
73
|
-
return ProductRangeSiteDetailResourceToJSONTyped(json, false);
|
|
74
|
-
}
|
|
75
|
-
function ProductRangeSiteDetailResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
76
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
77
|
-
if (value == null) {
|
|
78
|
-
return value;
|
|
79
|
-
}
|
|
80
|
-
return {
|
|
81
|
-
'id': value['id'],
|
|
82
|
-
'siteId': value['siteId'],
|
|
83
|
-
'site': (0, SiteLiteResource_1.SiteLiteResourceToJSON)(value['site']),
|
|
84
|
-
'name': value['name'],
|
|
85
|
-
'slug': value['slug'],
|
|
86
|
-
'description': value['description'],
|
|
87
|
-
'content': value['content'],
|
|
88
|
-
'excerpt': value['excerpt'],
|
|
89
|
-
'popularityScore': value['popularityScore'],
|
|
90
|
-
'isDisabled': value['isDisabled'],
|
|
91
|
-
'seo': (0, SEOResource_1.SEOResourceToJSON)(value['seo']),
|
|
92
|
-
};
|
|
93
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* My API
|
|
3
|
-
* API documentation for my Laravel app
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import type { ProductRangeSiteDetailResource } from './ProductRangeSiteDetailResource';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface ProductRangeSiteDetailResourceArrayResponse
|
|
17
|
-
*/
|
|
18
|
-
export interface ProductRangeSiteDetailResourceArrayResponse {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {Array<ProductRangeSiteDetailResource>}
|
|
22
|
-
* @memberof ProductRangeSiteDetailResourceArrayResponse
|
|
23
|
-
*/
|
|
24
|
-
data?: Array<ProductRangeSiteDetailResource>;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Check if a given object implements the ProductRangeSiteDetailResourceArrayResponse interface.
|
|
28
|
-
*/
|
|
29
|
-
export declare function instanceOfProductRangeSiteDetailResourceArrayResponse(value: object): value is ProductRangeSiteDetailResourceArrayResponse;
|
|
30
|
-
export declare function ProductRangeSiteDetailResourceArrayResponseFromJSON(json: any): ProductRangeSiteDetailResourceArrayResponse;
|
|
31
|
-
export declare function ProductRangeSiteDetailResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductRangeSiteDetailResourceArrayResponse;
|
|
32
|
-
export declare function ProductRangeSiteDetailResourceArrayResponseToJSON(json: any): ProductRangeSiteDetailResourceArrayResponse;
|
|
33
|
-
export declare function ProductRangeSiteDetailResourceArrayResponseToJSONTyped(value?: ProductRangeSiteDetailResourceArrayResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* My API
|
|
6
|
-
* API documentation for my Laravel app
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 1.0.0
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.instanceOfProductRangeSiteDetailResourceArrayResponse = instanceOfProductRangeSiteDetailResourceArrayResponse;
|
|
17
|
-
exports.ProductRangeSiteDetailResourceArrayResponseFromJSON = ProductRangeSiteDetailResourceArrayResponseFromJSON;
|
|
18
|
-
exports.ProductRangeSiteDetailResourceArrayResponseFromJSONTyped = ProductRangeSiteDetailResourceArrayResponseFromJSONTyped;
|
|
19
|
-
exports.ProductRangeSiteDetailResourceArrayResponseToJSON = ProductRangeSiteDetailResourceArrayResponseToJSON;
|
|
20
|
-
exports.ProductRangeSiteDetailResourceArrayResponseToJSONTyped = ProductRangeSiteDetailResourceArrayResponseToJSONTyped;
|
|
21
|
-
var ProductRangeSiteDetailResource_1 = require("./ProductRangeSiteDetailResource");
|
|
22
|
-
/**
|
|
23
|
-
* Check if a given object implements the ProductRangeSiteDetailResourceArrayResponse interface.
|
|
24
|
-
*/
|
|
25
|
-
function instanceOfProductRangeSiteDetailResourceArrayResponse(value) {
|
|
26
|
-
return true;
|
|
27
|
-
}
|
|
28
|
-
function ProductRangeSiteDetailResourceArrayResponseFromJSON(json) {
|
|
29
|
-
return ProductRangeSiteDetailResourceArrayResponseFromJSONTyped(json, false);
|
|
30
|
-
}
|
|
31
|
-
function ProductRangeSiteDetailResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
-
if (json == null) {
|
|
33
|
-
return json;
|
|
34
|
-
}
|
|
35
|
-
return {
|
|
36
|
-
'data': json['data'] == null ? undefined : (json['data'].map(ProductRangeSiteDetailResource_1.ProductRangeSiteDetailResourceFromJSON)),
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
function ProductRangeSiteDetailResourceArrayResponseToJSON(json) {
|
|
40
|
-
return ProductRangeSiteDetailResourceArrayResponseToJSONTyped(json, false);
|
|
41
|
-
}
|
|
42
|
-
function ProductRangeSiteDetailResourceArrayResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
43
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
44
|
-
if (value == null) {
|
|
45
|
-
return value;
|
|
46
|
-
}
|
|
47
|
-
return {
|
|
48
|
-
'data': value['data'] == null ? undefined : (value['data'].map(ProductRangeSiteDetailResource_1.ProductRangeSiteDetailResourceToJSON)),
|
|
49
|
-
};
|
|
50
|
-
}
|
|
@@ -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 { StoreProductChildRequestAssetsInner } from './StoreProductChildRequestAssetsInner';
|
|
13
|
-
import type { StoreProductRangeRequestSitesInner } from './StoreProductRangeRequestSitesInner';
|
|
14
|
-
/**
|
|
15
|
-
*
|
|
16
|
-
* @export
|
|
17
|
-
* @interface StoreProductRangeRequest
|
|
18
|
-
*/
|
|
19
|
-
export interface StoreProductRangeRequest {
|
|
20
|
-
/**
|
|
21
|
-
*
|
|
22
|
-
* @type {string}
|
|
23
|
-
* @memberof StoreProductRangeRequest
|
|
24
|
-
*/
|
|
25
|
-
name: string;
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @type {number}
|
|
29
|
-
* @memberof StoreProductRangeRequest
|
|
30
|
-
*/
|
|
31
|
-
supplierId?: number;
|
|
32
|
-
/**
|
|
33
|
-
*
|
|
34
|
-
* @type {Array<StoreProductRangeRequestSitesInner>}
|
|
35
|
-
* @memberof StoreProductRangeRequest
|
|
36
|
-
*/
|
|
37
|
-
sites?: Array<StoreProductRangeRequestSitesInner>;
|
|
38
|
-
/**
|
|
39
|
-
*
|
|
40
|
-
* @type {Array<StoreProductChildRequestAssetsInner>}
|
|
41
|
-
* @memberof StoreProductRangeRequest
|
|
42
|
-
*/
|
|
43
|
-
assets?: Array<StoreProductChildRequestAssetsInner>;
|
|
44
|
-
}
|
|
45
|
-
/**
|
|
46
|
-
* Check if a given object implements the StoreProductRangeRequest interface.
|
|
47
|
-
*/
|
|
48
|
-
export declare function instanceOfStoreProductRangeRequest(value: object): value is StoreProductRangeRequest;
|
|
49
|
-
export declare function StoreProductRangeRequestFromJSON(json: any): StoreProductRangeRequest;
|
|
50
|
-
export declare function StoreProductRangeRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): StoreProductRangeRequest;
|
|
51
|
-
export declare function StoreProductRangeRequestToJSON(json: any): StoreProductRangeRequest;
|
|
52
|
-
export declare function StoreProductRangeRequestToJSONTyped(value?: StoreProductRangeRequest | null, ignoreDiscriminator?: boolean): any;
|