@digital8/lighting-illusions-ts-sdk 0.0.710 → 0.0.712
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 -56
- package/README.md +2 -43
- 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/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 -27
- package/dist/models/index.js +0 -27
- package/docs/ProductChildResource.md +2 -4
- package/package.json +1 -1
- package/src/apis/index.ts +0 -1
- package/src/models/AttachDocumentablesDocumentRequestDocumentablesInner.ts +0 -1
- package/src/models/DetachDocumentablesDocumentRequestDocumentablesInner.ts +0 -1
- 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 -27
- package/dist/apis/ProductRangeApi.d.ts +0 -181
- package/dist/apis/ProductRangeApi.js +0 -739
- 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/IndexProductRangeRequest.d.ts +0 -110
- package/dist/models/IndexProductRangeRequest.js +0 -86
- 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/IndexProductRangeRequest.md +0 -54
- 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 -959
- 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 -664
- 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/IndexProductRangeRequest.ts +0 -167
- 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,62 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* My API
|
|
3
|
-
* API documentation for my Laravel app
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface ProductRangeFrontendListResource
|
|
16
|
-
*/
|
|
17
|
-
export interface ProductRangeFrontendListResource {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {number}
|
|
21
|
-
* @memberof ProductRangeFrontendListResource
|
|
22
|
-
*/
|
|
23
|
-
id: number;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof ProductRangeFrontendListResource
|
|
28
|
-
*/
|
|
29
|
-
name: string;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof ProductRangeFrontendListResource
|
|
34
|
-
*/
|
|
35
|
-
slug: string;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof ProductRangeFrontendListResource
|
|
40
|
-
*/
|
|
41
|
-
excerpt: string;
|
|
42
|
-
/**
|
|
43
|
-
*
|
|
44
|
-
* @type {object}
|
|
45
|
-
* @memberof ProductRangeFrontendListResource
|
|
46
|
-
*/
|
|
47
|
-
thumbnail: object;
|
|
48
|
-
/**
|
|
49
|
-
*
|
|
50
|
-
* @type {object}
|
|
51
|
-
* @memberof ProductRangeFrontendListResource
|
|
52
|
-
*/
|
|
53
|
-
categories: object;
|
|
54
|
-
}
|
|
55
|
-
/**
|
|
56
|
-
* Check if a given object implements the ProductRangeFrontendListResource interface.
|
|
57
|
-
*/
|
|
58
|
-
export declare function instanceOfProductRangeFrontendListResource(value: object): value is ProductRangeFrontendListResource;
|
|
59
|
-
export declare function ProductRangeFrontendListResourceFromJSON(json: any): ProductRangeFrontendListResource;
|
|
60
|
-
export declare function ProductRangeFrontendListResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductRangeFrontendListResource;
|
|
61
|
-
export declare function ProductRangeFrontendListResourceToJSON(json: any): ProductRangeFrontendListResource;
|
|
62
|
-
export declare function ProductRangeFrontendListResourceToJSONTyped(value?: ProductRangeFrontendListResource | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,71 +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.instanceOfProductRangeFrontendListResource = instanceOfProductRangeFrontendListResource;
|
|
17
|
-
exports.ProductRangeFrontendListResourceFromJSON = ProductRangeFrontendListResourceFromJSON;
|
|
18
|
-
exports.ProductRangeFrontendListResourceFromJSONTyped = ProductRangeFrontendListResourceFromJSONTyped;
|
|
19
|
-
exports.ProductRangeFrontendListResourceToJSON = ProductRangeFrontendListResourceToJSON;
|
|
20
|
-
exports.ProductRangeFrontendListResourceToJSONTyped = ProductRangeFrontendListResourceToJSONTyped;
|
|
21
|
-
/**
|
|
22
|
-
* Check if a given object implements the ProductRangeFrontendListResource interface.
|
|
23
|
-
*/
|
|
24
|
-
function instanceOfProductRangeFrontendListResource(value) {
|
|
25
|
-
if (!('id' in value) || value['id'] === undefined)
|
|
26
|
-
return false;
|
|
27
|
-
if (!('name' in value) || value['name'] === undefined)
|
|
28
|
-
return false;
|
|
29
|
-
if (!('slug' in value) || value['slug'] === undefined)
|
|
30
|
-
return false;
|
|
31
|
-
if (!('excerpt' in value) || value['excerpt'] === undefined)
|
|
32
|
-
return false;
|
|
33
|
-
if (!('thumbnail' in value) || value['thumbnail'] === undefined)
|
|
34
|
-
return false;
|
|
35
|
-
if (!('categories' in value) || value['categories'] === undefined)
|
|
36
|
-
return false;
|
|
37
|
-
return true;
|
|
38
|
-
}
|
|
39
|
-
function ProductRangeFrontendListResourceFromJSON(json) {
|
|
40
|
-
return ProductRangeFrontendListResourceFromJSONTyped(json, false);
|
|
41
|
-
}
|
|
42
|
-
function ProductRangeFrontendListResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
43
|
-
if (json == null) {
|
|
44
|
-
return json;
|
|
45
|
-
}
|
|
46
|
-
return {
|
|
47
|
-
'id': json['id'],
|
|
48
|
-
'name': json['name'],
|
|
49
|
-
'slug': json['slug'],
|
|
50
|
-
'excerpt': json['excerpt'],
|
|
51
|
-
'thumbnail': json['thumbnail'],
|
|
52
|
-
'categories': json['categories'],
|
|
53
|
-
};
|
|
54
|
-
}
|
|
55
|
-
function ProductRangeFrontendListResourceToJSON(json) {
|
|
56
|
-
return ProductRangeFrontendListResourceToJSONTyped(json, false);
|
|
57
|
-
}
|
|
58
|
-
function ProductRangeFrontendListResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
59
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
60
|
-
if (value == null) {
|
|
61
|
-
return value;
|
|
62
|
-
}
|
|
63
|
-
return {
|
|
64
|
-
'id': value['id'],
|
|
65
|
-
'name': value['name'],
|
|
66
|
-
'slug': value['slug'],
|
|
67
|
-
'excerpt': value['excerpt'],
|
|
68
|
-
'thumbnail': value['thumbnail'],
|
|
69
|
-
'categories': value['categories'],
|
|
70
|
-
};
|
|
71
|
-
}
|
|
@@ -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 { ProductRangeFrontendListResource } from './ProductRangeFrontendListResource';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface ProductRangeFrontendListResourceArrayResponse
|
|
17
|
-
*/
|
|
18
|
-
export interface ProductRangeFrontendListResourceArrayResponse {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {Array<ProductRangeFrontendListResource>}
|
|
22
|
-
* @memberof ProductRangeFrontendListResourceArrayResponse
|
|
23
|
-
*/
|
|
24
|
-
data?: Array<ProductRangeFrontendListResource>;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Check if a given object implements the ProductRangeFrontendListResourceArrayResponse interface.
|
|
28
|
-
*/
|
|
29
|
-
export declare function instanceOfProductRangeFrontendListResourceArrayResponse(value: object): value is ProductRangeFrontendListResourceArrayResponse;
|
|
30
|
-
export declare function ProductRangeFrontendListResourceArrayResponseFromJSON(json: any): ProductRangeFrontendListResourceArrayResponse;
|
|
31
|
-
export declare function ProductRangeFrontendListResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductRangeFrontendListResourceArrayResponse;
|
|
32
|
-
export declare function ProductRangeFrontendListResourceArrayResponseToJSON(json: any): ProductRangeFrontendListResourceArrayResponse;
|
|
33
|
-
export declare function ProductRangeFrontendListResourceArrayResponseToJSONTyped(value?: ProductRangeFrontendListResourceArrayResponse | 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.instanceOfProductRangeFrontendListResourceArrayResponse = instanceOfProductRangeFrontendListResourceArrayResponse;
|
|
17
|
-
exports.ProductRangeFrontendListResourceArrayResponseFromJSON = ProductRangeFrontendListResourceArrayResponseFromJSON;
|
|
18
|
-
exports.ProductRangeFrontendListResourceArrayResponseFromJSONTyped = ProductRangeFrontendListResourceArrayResponseFromJSONTyped;
|
|
19
|
-
exports.ProductRangeFrontendListResourceArrayResponseToJSON = ProductRangeFrontendListResourceArrayResponseToJSON;
|
|
20
|
-
exports.ProductRangeFrontendListResourceArrayResponseToJSONTyped = ProductRangeFrontendListResourceArrayResponseToJSONTyped;
|
|
21
|
-
var ProductRangeFrontendListResource_1 = require("./ProductRangeFrontendListResource");
|
|
22
|
-
/**
|
|
23
|
-
* Check if a given object implements the ProductRangeFrontendListResourceArrayResponse interface.
|
|
24
|
-
*/
|
|
25
|
-
function instanceOfProductRangeFrontendListResourceArrayResponse(value) {
|
|
26
|
-
return true;
|
|
27
|
-
}
|
|
28
|
-
function ProductRangeFrontendListResourceArrayResponseFromJSON(json) {
|
|
29
|
-
return ProductRangeFrontendListResourceArrayResponseFromJSONTyped(json, false);
|
|
30
|
-
}
|
|
31
|
-
function ProductRangeFrontendListResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
-
if (json == null) {
|
|
33
|
-
return json;
|
|
34
|
-
}
|
|
35
|
-
return {
|
|
36
|
-
'data': json['data'] == null ? undefined : (json['data'].map(ProductRangeFrontendListResource_1.ProductRangeFrontendListResourceFromJSON)),
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
function ProductRangeFrontendListResourceArrayResponseToJSON(json) {
|
|
40
|
-
return ProductRangeFrontendListResourceArrayResponseToJSONTyped(json, false);
|
|
41
|
-
}
|
|
42
|
-
function ProductRangeFrontendListResourceArrayResponseToJSONTyped(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(ProductRangeFrontendListResource_1.ProductRangeFrontendListResourceToJSON)),
|
|
49
|
-
};
|
|
50
|
-
}
|
|
@@ -1,118 +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 { SupplierFrontendResource } from './SupplierFrontendResource';
|
|
13
|
-
import type { AssetFrontendResource } from './AssetFrontendResource';
|
|
14
|
-
/**
|
|
15
|
-
*
|
|
16
|
-
* @export
|
|
17
|
-
* @interface ProductRangeFrontendResource
|
|
18
|
-
*/
|
|
19
|
-
export interface ProductRangeFrontendResource {
|
|
20
|
-
/**
|
|
21
|
-
*
|
|
22
|
-
* @type {number}
|
|
23
|
-
* @memberof ProductRangeFrontendResource
|
|
24
|
-
*/
|
|
25
|
-
id: number;
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @type {string}
|
|
29
|
-
* @memberof ProductRangeFrontendResource
|
|
30
|
-
*/
|
|
31
|
-
name: string;
|
|
32
|
-
/**
|
|
33
|
-
*
|
|
34
|
-
* @type {string}
|
|
35
|
-
* @memberof ProductRangeFrontendResource
|
|
36
|
-
*/
|
|
37
|
-
slug: string;
|
|
38
|
-
/**
|
|
39
|
-
*
|
|
40
|
-
* @type {string}
|
|
41
|
-
* @memberof ProductRangeFrontendResource
|
|
42
|
-
*/
|
|
43
|
-
description: string;
|
|
44
|
-
/**
|
|
45
|
-
*
|
|
46
|
-
* @type {string}
|
|
47
|
-
* @memberof ProductRangeFrontendResource
|
|
48
|
-
*/
|
|
49
|
-
content: string;
|
|
50
|
-
/**
|
|
51
|
-
*
|
|
52
|
-
* @type {string}
|
|
53
|
-
* @memberof ProductRangeFrontendResource
|
|
54
|
-
*/
|
|
55
|
-
excerpt: string;
|
|
56
|
-
/**
|
|
57
|
-
*
|
|
58
|
-
* @type {number}
|
|
59
|
-
* @memberof ProductRangeFrontendResource
|
|
60
|
-
*/
|
|
61
|
-
siteId: number;
|
|
62
|
-
/**
|
|
63
|
-
*
|
|
64
|
-
* @type {SupplierFrontendResource}
|
|
65
|
-
* @memberof ProductRangeFrontendResource
|
|
66
|
-
*/
|
|
67
|
-
supplier: SupplierFrontendResource | null;
|
|
68
|
-
/**
|
|
69
|
-
*
|
|
70
|
-
* @type {object}
|
|
71
|
-
* @memberof ProductRangeFrontendResource
|
|
72
|
-
*/
|
|
73
|
-
categories: object;
|
|
74
|
-
/**
|
|
75
|
-
*
|
|
76
|
-
* @type {object}
|
|
77
|
-
* @memberof ProductRangeFrontendResource
|
|
78
|
-
*/
|
|
79
|
-
products: object;
|
|
80
|
-
/**
|
|
81
|
-
*
|
|
82
|
-
* @type {object}
|
|
83
|
-
* @memberof ProductRangeFrontendResource
|
|
84
|
-
*/
|
|
85
|
-
accessories: object;
|
|
86
|
-
/**
|
|
87
|
-
*
|
|
88
|
-
* @type {object}
|
|
89
|
-
* @memberof ProductRangeFrontendResource
|
|
90
|
-
*/
|
|
91
|
-
documents: object;
|
|
92
|
-
/**
|
|
93
|
-
*
|
|
94
|
-
* @type {object}
|
|
95
|
-
* @memberof ProductRangeFrontendResource
|
|
96
|
-
*/
|
|
97
|
-
seo: object;
|
|
98
|
-
/**
|
|
99
|
-
*
|
|
100
|
-
* @type {Array<AssetFrontendResource>}
|
|
101
|
-
* @memberof ProductRangeFrontendResource
|
|
102
|
-
*/
|
|
103
|
-
assets: Array<AssetFrontendResource> | null;
|
|
104
|
-
/**
|
|
105
|
-
*
|
|
106
|
-
* @type {AssetFrontendResource}
|
|
107
|
-
* @memberof ProductRangeFrontendResource
|
|
108
|
-
*/
|
|
109
|
-
thumbnail: AssetFrontendResource | null;
|
|
110
|
-
}
|
|
111
|
-
/**
|
|
112
|
-
* Check if a given object implements the ProductRangeFrontendResource interface.
|
|
113
|
-
*/
|
|
114
|
-
export declare function instanceOfProductRangeFrontendResource(value: object): value is ProductRangeFrontendResource;
|
|
115
|
-
export declare function ProductRangeFrontendResourceFromJSON(json: any): ProductRangeFrontendResource;
|
|
116
|
-
export declare function ProductRangeFrontendResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductRangeFrontendResource;
|
|
117
|
-
export declare function ProductRangeFrontendResourceToJSON(json: any): ProductRangeFrontendResource;
|
|
118
|
-
export declare function ProductRangeFrontendResourceToJSONTyped(value?: ProductRangeFrontendResource | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,109 +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.instanceOfProductRangeFrontendResource = instanceOfProductRangeFrontendResource;
|
|
17
|
-
exports.ProductRangeFrontendResourceFromJSON = ProductRangeFrontendResourceFromJSON;
|
|
18
|
-
exports.ProductRangeFrontendResourceFromJSONTyped = ProductRangeFrontendResourceFromJSONTyped;
|
|
19
|
-
exports.ProductRangeFrontendResourceToJSON = ProductRangeFrontendResourceToJSON;
|
|
20
|
-
exports.ProductRangeFrontendResourceToJSONTyped = ProductRangeFrontendResourceToJSONTyped;
|
|
21
|
-
var SupplierFrontendResource_1 = require("./SupplierFrontendResource");
|
|
22
|
-
var AssetFrontendResource_1 = require("./AssetFrontendResource");
|
|
23
|
-
/**
|
|
24
|
-
* Check if a given object implements the ProductRangeFrontendResource interface.
|
|
25
|
-
*/
|
|
26
|
-
function instanceOfProductRangeFrontendResource(value) {
|
|
27
|
-
if (!('id' in value) || value['id'] === undefined)
|
|
28
|
-
return false;
|
|
29
|
-
if (!('name' in value) || value['name'] === undefined)
|
|
30
|
-
return false;
|
|
31
|
-
if (!('slug' in value) || value['slug'] === undefined)
|
|
32
|
-
return false;
|
|
33
|
-
if (!('description' in value) || value['description'] === undefined)
|
|
34
|
-
return false;
|
|
35
|
-
if (!('content' in value) || value['content'] === undefined)
|
|
36
|
-
return false;
|
|
37
|
-
if (!('excerpt' in value) || value['excerpt'] === undefined)
|
|
38
|
-
return false;
|
|
39
|
-
if (!('siteId' in value) || value['siteId'] === undefined)
|
|
40
|
-
return false;
|
|
41
|
-
if (!('supplier' in value) || value['supplier'] === undefined)
|
|
42
|
-
return false;
|
|
43
|
-
if (!('categories' in value) || value['categories'] === undefined)
|
|
44
|
-
return false;
|
|
45
|
-
if (!('products' in value) || value['products'] === undefined)
|
|
46
|
-
return false;
|
|
47
|
-
if (!('accessories' in value) || value['accessories'] === undefined)
|
|
48
|
-
return false;
|
|
49
|
-
if (!('documents' in value) || value['documents'] === undefined)
|
|
50
|
-
return false;
|
|
51
|
-
if (!('seo' in value) || value['seo'] === undefined)
|
|
52
|
-
return false;
|
|
53
|
-
if (!('assets' in value) || value['assets'] === undefined)
|
|
54
|
-
return false;
|
|
55
|
-
if (!('thumbnail' in value) || value['thumbnail'] === undefined)
|
|
56
|
-
return false;
|
|
57
|
-
return true;
|
|
58
|
-
}
|
|
59
|
-
function ProductRangeFrontendResourceFromJSON(json) {
|
|
60
|
-
return ProductRangeFrontendResourceFromJSONTyped(json, false);
|
|
61
|
-
}
|
|
62
|
-
function ProductRangeFrontendResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
63
|
-
if (json == null) {
|
|
64
|
-
return json;
|
|
65
|
-
}
|
|
66
|
-
return {
|
|
67
|
-
'id': json['id'],
|
|
68
|
-
'name': json['name'],
|
|
69
|
-
'slug': json['slug'],
|
|
70
|
-
'description': json['description'],
|
|
71
|
-
'content': json['content'],
|
|
72
|
-
'excerpt': json['excerpt'],
|
|
73
|
-
'siteId': json['siteId'],
|
|
74
|
-
'supplier': (0, SupplierFrontendResource_1.SupplierFrontendResourceFromJSON)(json['supplier']),
|
|
75
|
-
'categories': json['categories'],
|
|
76
|
-
'products': json['products'],
|
|
77
|
-
'accessories': json['accessories'],
|
|
78
|
-
'documents': json['documents'],
|
|
79
|
-
'seo': json['seo'],
|
|
80
|
-
'assets': (json['assets'] == null ? null : json['assets'].map(AssetFrontendResource_1.AssetFrontendResourceFromJSON)),
|
|
81
|
-
'thumbnail': (0, AssetFrontendResource_1.AssetFrontendResourceFromJSON)(json['thumbnail']),
|
|
82
|
-
};
|
|
83
|
-
}
|
|
84
|
-
function ProductRangeFrontendResourceToJSON(json) {
|
|
85
|
-
return ProductRangeFrontendResourceToJSONTyped(json, false);
|
|
86
|
-
}
|
|
87
|
-
function ProductRangeFrontendResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
88
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
89
|
-
if (value == null) {
|
|
90
|
-
return value;
|
|
91
|
-
}
|
|
92
|
-
return {
|
|
93
|
-
'id': value['id'],
|
|
94
|
-
'name': value['name'],
|
|
95
|
-
'slug': value['slug'],
|
|
96
|
-
'description': value['description'],
|
|
97
|
-
'content': value['content'],
|
|
98
|
-
'excerpt': value['excerpt'],
|
|
99
|
-
'siteId': value['siteId'],
|
|
100
|
-
'supplier': (0, SupplierFrontendResource_1.SupplierFrontendResourceToJSON)(value['supplier']),
|
|
101
|
-
'categories': value['categories'],
|
|
102
|
-
'products': value['products'],
|
|
103
|
-
'accessories': value['accessories'],
|
|
104
|
-
'documents': value['documents'],
|
|
105
|
-
'seo': value['seo'],
|
|
106
|
-
'assets': (value['assets'] == null ? null : value['assets'].map(AssetFrontendResource_1.AssetFrontendResourceToJSON)),
|
|
107
|
-
'thumbnail': (0, AssetFrontendResource_1.AssetFrontendResourceToJSON)(value['thumbnail']),
|
|
108
|
-
};
|
|
109
|
-
}
|
|
@@ -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 { ProductRangeFrontendResource } from './ProductRangeFrontendResource';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface ProductRangeFrontendResourceArrayResponse
|
|
17
|
-
*/
|
|
18
|
-
export interface ProductRangeFrontendResourceArrayResponse {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {Array<ProductRangeFrontendResource>}
|
|
22
|
-
* @memberof ProductRangeFrontendResourceArrayResponse
|
|
23
|
-
*/
|
|
24
|
-
data?: Array<ProductRangeFrontendResource>;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Check if a given object implements the ProductRangeFrontendResourceArrayResponse interface.
|
|
28
|
-
*/
|
|
29
|
-
export declare function instanceOfProductRangeFrontendResourceArrayResponse(value: object): value is ProductRangeFrontendResourceArrayResponse;
|
|
30
|
-
export declare function ProductRangeFrontendResourceArrayResponseFromJSON(json: any): ProductRangeFrontendResourceArrayResponse;
|
|
31
|
-
export declare function ProductRangeFrontendResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductRangeFrontendResourceArrayResponse;
|
|
32
|
-
export declare function ProductRangeFrontendResourceArrayResponseToJSON(json: any): ProductRangeFrontendResourceArrayResponse;
|
|
33
|
-
export declare function ProductRangeFrontendResourceArrayResponseToJSONTyped(value?: ProductRangeFrontendResourceArrayResponse | 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.instanceOfProductRangeFrontendResourceArrayResponse = instanceOfProductRangeFrontendResourceArrayResponse;
|
|
17
|
-
exports.ProductRangeFrontendResourceArrayResponseFromJSON = ProductRangeFrontendResourceArrayResponseFromJSON;
|
|
18
|
-
exports.ProductRangeFrontendResourceArrayResponseFromJSONTyped = ProductRangeFrontendResourceArrayResponseFromJSONTyped;
|
|
19
|
-
exports.ProductRangeFrontendResourceArrayResponseToJSON = ProductRangeFrontendResourceArrayResponseToJSON;
|
|
20
|
-
exports.ProductRangeFrontendResourceArrayResponseToJSONTyped = ProductRangeFrontendResourceArrayResponseToJSONTyped;
|
|
21
|
-
var ProductRangeFrontendResource_1 = require("./ProductRangeFrontendResource");
|
|
22
|
-
/**
|
|
23
|
-
* Check if a given object implements the ProductRangeFrontendResourceArrayResponse interface.
|
|
24
|
-
*/
|
|
25
|
-
function instanceOfProductRangeFrontendResourceArrayResponse(value) {
|
|
26
|
-
return true;
|
|
27
|
-
}
|
|
28
|
-
function ProductRangeFrontendResourceArrayResponseFromJSON(json) {
|
|
29
|
-
return ProductRangeFrontendResourceArrayResponseFromJSONTyped(json, false);
|
|
30
|
-
}
|
|
31
|
-
function ProductRangeFrontendResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
-
if (json == null) {
|
|
33
|
-
return json;
|
|
34
|
-
}
|
|
35
|
-
return {
|
|
36
|
-
'data': json['data'] == null ? undefined : (json['data'].map(ProductRangeFrontendResource_1.ProductRangeFrontendResourceFromJSON)),
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
function ProductRangeFrontendResourceArrayResponseToJSON(json) {
|
|
40
|
-
return ProductRangeFrontendResourceArrayResponseToJSONTyped(json, false);
|
|
41
|
-
}
|
|
42
|
-
function ProductRangeFrontendResourceArrayResponseToJSONTyped(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(ProductRangeFrontendResource_1.ProductRangeFrontendResourceToJSON)),
|
|
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 { SiteLiteResource } from './SiteLiteResource';
|
|
13
|
-
import type { SupplierLiteResource } from './SupplierLiteResource';
|
|
14
|
-
/**
|
|
15
|
-
*
|
|
16
|
-
* @export
|
|
17
|
-
* @interface ProductRangeListResource
|
|
18
|
-
*/
|
|
19
|
-
export interface ProductRangeListResource {
|
|
20
|
-
/**
|
|
21
|
-
*
|
|
22
|
-
* @type {number}
|
|
23
|
-
* @memberof ProductRangeListResource
|
|
24
|
-
*/
|
|
25
|
-
id: number;
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @type {string}
|
|
29
|
-
* @memberof ProductRangeListResource
|
|
30
|
-
*/
|
|
31
|
-
name: string;
|
|
32
|
-
/**
|
|
33
|
-
*
|
|
34
|
-
* @type {SupplierLiteResource}
|
|
35
|
-
* @memberof ProductRangeListResource
|
|
36
|
-
*/
|
|
37
|
-
supplier: SupplierLiteResource | null;
|
|
38
|
-
/**
|
|
39
|
-
*
|
|
40
|
-
* @type {Array<SiteLiteResource>}
|
|
41
|
-
* @memberof ProductRangeListResource
|
|
42
|
-
*/
|
|
43
|
-
sites: Array<SiteLiteResource> | null;
|
|
44
|
-
}
|
|
45
|
-
/**
|
|
46
|
-
* Check if a given object implements the ProductRangeListResource interface.
|
|
47
|
-
*/
|
|
48
|
-
export declare function instanceOfProductRangeListResource(value: object): value is ProductRangeListResource;
|
|
49
|
-
export declare function ProductRangeListResourceFromJSON(json: any): ProductRangeListResource;
|
|
50
|
-
export declare function ProductRangeListResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductRangeListResource;
|
|
51
|
-
export declare function ProductRangeListResourceToJSON(json: any): ProductRangeListResource;
|
|
52
|
-
export declare function ProductRangeListResourceToJSONTyped(value?: ProductRangeListResource | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,65 +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.instanceOfProductRangeListResource = instanceOfProductRangeListResource;
|
|
17
|
-
exports.ProductRangeListResourceFromJSON = ProductRangeListResourceFromJSON;
|
|
18
|
-
exports.ProductRangeListResourceFromJSONTyped = ProductRangeListResourceFromJSONTyped;
|
|
19
|
-
exports.ProductRangeListResourceToJSON = ProductRangeListResourceToJSON;
|
|
20
|
-
exports.ProductRangeListResourceToJSONTyped = ProductRangeListResourceToJSONTyped;
|
|
21
|
-
var SiteLiteResource_1 = require("./SiteLiteResource");
|
|
22
|
-
var SupplierLiteResource_1 = require("./SupplierLiteResource");
|
|
23
|
-
/**
|
|
24
|
-
* Check if a given object implements the ProductRangeListResource interface.
|
|
25
|
-
*/
|
|
26
|
-
function instanceOfProductRangeListResource(value) {
|
|
27
|
-
if (!('id' in value) || value['id'] === undefined)
|
|
28
|
-
return false;
|
|
29
|
-
if (!('name' in value) || value['name'] === undefined)
|
|
30
|
-
return false;
|
|
31
|
-
if (!('supplier' in value) || value['supplier'] === undefined)
|
|
32
|
-
return false;
|
|
33
|
-
if (!('sites' in value) || value['sites'] === undefined)
|
|
34
|
-
return false;
|
|
35
|
-
return true;
|
|
36
|
-
}
|
|
37
|
-
function ProductRangeListResourceFromJSON(json) {
|
|
38
|
-
return ProductRangeListResourceFromJSONTyped(json, false);
|
|
39
|
-
}
|
|
40
|
-
function ProductRangeListResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
41
|
-
if (json == null) {
|
|
42
|
-
return json;
|
|
43
|
-
}
|
|
44
|
-
return {
|
|
45
|
-
'id': json['id'],
|
|
46
|
-
'name': json['name'],
|
|
47
|
-
'supplier': (0, SupplierLiteResource_1.SupplierLiteResourceFromJSON)(json['supplier']),
|
|
48
|
-
'sites': (json['sites'] == null ? null : json['sites'].map(SiteLiteResource_1.SiteLiteResourceFromJSON)),
|
|
49
|
-
};
|
|
50
|
-
}
|
|
51
|
-
function ProductRangeListResourceToJSON(json) {
|
|
52
|
-
return ProductRangeListResourceToJSONTyped(json, false);
|
|
53
|
-
}
|
|
54
|
-
function ProductRangeListResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
55
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
56
|
-
if (value == null) {
|
|
57
|
-
return value;
|
|
58
|
-
}
|
|
59
|
-
return {
|
|
60
|
-
'id': value['id'],
|
|
61
|
-
'name': value['name'],
|
|
62
|
-
'supplier': (0, SupplierLiteResource_1.SupplierLiteResourceToJSON)(value['supplier']),
|
|
63
|
-
'sites': (value['sites'] == null ? null : value['sites'].map(SiteLiteResource_1.SiteLiteResourceToJSON)),
|
|
64
|
-
};
|
|
65
|
-
}
|
|
@@ -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 { ProductRangeListResource } from './ProductRangeListResource';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface ProductRangeListResourceArrayResponse
|
|
17
|
-
*/
|
|
18
|
-
export interface ProductRangeListResourceArrayResponse {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {Array<ProductRangeListResource>}
|
|
22
|
-
* @memberof ProductRangeListResourceArrayResponse
|
|
23
|
-
*/
|
|
24
|
-
data?: Array<ProductRangeListResource>;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Check if a given object implements the ProductRangeListResourceArrayResponse interface.
|
|
28
|
-
*/
|
|
29
|
-
export declare function instanceOfProductRangeListResourceArrayResponse(value: object): value is ProductRangeListResourceArrayResponse;
|
|
30
|
-
export declare function ProductRangeListResourceArrayResponseFromJSON(json: any): ProductRangeListResourceArrayResponse;
|
|
31
|
-
export declare function ProductRangeListResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductRangeListResourceArrayResponse;
|
|
32
|
-
export declare function ProductRangeListResourceArrayResponseToJSON(json: any): ProductRangeListResourceArrayResponse;
|
|
33
|
-
export declare function ProductRangeListResourceArrayResponseToJSONTyped(value?: ProductRangeListResourceArrayResponse | null, ignoreDiscriminator?: boolean): any;
|