@digital8/lighting-illusions-ts-sdk 0.0.1213 → 0.0.1214
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 +72 -2
- package/README.md +54 -3
- package/dist/apis/AttributeApi.d.ts +16 -1
- package/dist/apis/AttributeApi.js +58 -0
- package/dist/apis/ProductRangeApi.d.ts +269 -0
- package/dist/apis/ProductRangeApi.js +1043 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/models/AttachAccessoriesProductRangeRequest.d.ts +32 -0
- package/dist/models/AttachAccessoriesProductRangeRequest.js +51 -0
- package/dist/models/AttachAttributesProductRangeRequest.d.ts +33 -0
- package/dist/models/AttachAttributesProductRangeRequest.js +52 -0
- package/dist/models/AttachAttributesProductRangeRequestAttributesInner.d.ts +38 -0
- package/dist/models/AttachAttributesProductRangeRequestAttributesInner.js +53 -0
- package/dist/models/AttachDocumentablesDocumentRequestDocumentablesInner.d.ts +1 -0
- package/dist/models/AttachDocumentablesDocumentRequestDocumentablesInner.js +1 -0
- package/dist/models/AttachDocumentsProductRangeRequest.d.ts +33 -0
- package/dist/models/AttachDocumentsProductRangeRequest.js +52 -0
- package/dist/models/DetachAccessoriesProductRangeRequest.d.ts +32 -0
- package/dist/models/DetachAccessoriesProductRangeRequest.js +51 -0
- package/dist/models/DetachAttributesProductRangeRequest.d.ts +32 -0
- package/dist/models/DetachAttributesProductRangeRequest.js +51 -0
- package/dist/models/DetachDocumentablesDocumentRequestDocumentablesInner.d.ts +1 -0
- package/dist/models/DetachDocumentablesDocumentRequestDocumentablesInner.js +1 -0
- package/dist/models/DetachDocumentsProductRangeRequest.d.ts +32 -0
- package/dist/models/DetachDocumentsProductRangeRequest.js +51 -0
- package/dist/models/ExternalApiLogResource.d.ts +1 -1
- package/dist/models/ExternalApiLogResource.js +1 -3
- package/dist/models/GetAllDocumentRequest.d.ts +1 -0
- package/dist/models/GetAllDocumentRequest.js +1 -0
- package/dist/models/GetAllProductChildRequest.d.ts +1 -0
- package/dist/models/GetAllProductChildRequest.js +1 -0
- package/dist/models/GetAllProductRangeRequest.d.ts +98 -0
- package/dist/models/GetAllProductRangeRequest.js +82 -0
- package/dist/models/IndexAttributeRequest.d.ts +2 -0
- package/dist/models/IndexAttributeRequest.js +3 -1
- package/dist/models/IndexDocumentRequest.d.ts +1 -0
- package/dist/models/IndexDocumentRequest.js +1 -0
- package/dist/models/IndexModelAttributeRequest.d.ts +118 -0
- package/dist/models/IndexModelAttributeRequest.js +93 -0
- package/dist/models/IndexProductChildRequest.d.ts +1 -0
- package/dist/models/IndexProductChildRequest.js +1 -0
- package/dist/models/IndexProductRangeRequest.d.ts +110 -0
- package/dist/models/IndexProductRangeRequest.js +86 -0
- package/dist/models/ModelAttributeListResource.d.ts +64 -0
- package/dist/models/ModelAttributeListResource.js +71 -0
- package/dist/models/ModelAttributeListResourceArrayResponse.d.ts +33 -0
- package/dist/models/ModelAttributeListResourceArrayResponse.js +50 -0
- package/dist/models/ModelAttributeResource.d.ts +6 -0
- package/dist/models/ModelAttributeResource.js +2 -0
- package/dist/models/PaginatedModelAttributeListResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedModelAttributeListResourceResponse.js +57 -0
- package/dist/models/PaginatedProductRangeFrontendListResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedProductRangeFrontendListResourceResponse.js +57 -0
- package/dist/models/PaginatedProductRangeListResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedProductRangeListResourceResponse.js +57 -0
- package/dist/models/PaginatedProductRangeLiteResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedProductRangeLiteResourceResponse.js +57 -0
- package/dist/models/PaginatedProductRangeResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedProductRangeResourceResponse.js +57 -0
- package/dist/models/ProductRangeFrontendListResource.d.ts +62 -0
- package/dist/models/ProductRangeFrontendListResource.js +71 -0
- package/dist/models/ProductRangeFrontendListResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductRangeFrontendListResourceArrayResponse.js +50 -0
- package/dist/models/ProductRangeFrontendResource.d.ts +118 -0
- package/dist/models/ProductRangeFrontendResource.js +109 -0
- package/dist/models/ProductRangeFrontendResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductRangeFrontendResourceArrayResponse.js +50 -0
- package/dist/models/ProductRangeListResource.d.ts +66 -0
- package/dist/models/ProductRangeListResource.js +75 -0
- package/dist/models/ProductRangeListResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductRangeListResourceArrayResponse.js +50 -0
- package/dist/models/ProductRangeLiteResource.d.ts +38 -0
- package/dist/models/ProductRangeLiteResource.js +55 -0
- package/dist/models/ProductRangeLiteResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductRangeLiteResourceArrayResponse.js +50 -0
- package/dist/models/ProductRangeResource.d.ts +89 -0
- package/dist/models/ProductRangeResource.js +86 -0
- package/dist/models/ProductRangeResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductRangeResourceArrayResponse.js +50 -0
- package/dist/models/ProductRangeSiteDetailLiteResource.d.ts +44 -0
- package/dist/models/ProductRangeSiteDetailLiteResource.js +59 -0
- package/dist/models/ProductRangeSiteDetailLiteResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductRangeSiteDetailLiteResourceArrayResponse.js +50 -0
- package/dist/models/ProductRangeSiteDetailResource.d.ts +101 -0
- package/dist/models/ProductRangeSiteDetailResource.js +98 -0
- package/dist/models/ProductRangeSiteDetailResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductRangeSiteDetailResourceArrayResponse.js +50 -0
- package/dist/models/StoreAssetForAssetableRequest.d.ts +3 -0
- package/dist/models/StoreAssetForAssetableRequest.js +4 -1
- package/dist/models/StoreProductRangeRequest.d.ts +52 -0
- package/dist/models/StoreProductRangeRequest.js +59 -0
- package/dist/models/StoreProductRangeRequestSitesInner.d.ts +92 -0
- package/dist/models/StoreProductRangeRequestSitesInner.js +75 -0
- package/dist/models/UpdateProductRangeRequest.d.ts +59 -0
- package/dist/models/UpdateProductRangeRequest.js +62 -0
- package/dist/models/UpdateProductRangeRequestAttributesInner.d.ts +38 -0
- package/dist/models/UpdateProductRangeRequestAttributesInner.js +51 -0
- package/dist/models/UpdateProductTypeRequest.d.ts +9 -9
- package/dist/models/UpdateProductTypeRequest.js +9 -9
- package/dist/models/index.d.ts +35 -1
- package/dist/models/index.js +35 -1
- package/docs/AttachAccessoriesProductRangeRequest.md +34 -0
- package/docs/AttachAttributesProductRangeRequest.md +34 -0
- package/docs/AttachAttributesProductRangeRequestAttributesInner.md +36 -0
- package/docs/AttachDocumentsProductRangeRequest.md +34 -0
- package/docs/AttributeApi.md +66 -0
- package/docs/DetachAccessoriesProductRangeRequest.md +34 -0
- package/docs/DetachAttributesProductRangeRequest.md +34 -0
- package/docs/DetachDocumentsProductRangeRequest.md +34 -0
- package/docs/GetAllProductRangeRequest.md +50 -0
- package/docs/IndexModelAttributeRequest.md +54 -0
- package/docs/IndexProductRangeRequest.md +54 -0
- package/docs/ModelAttributeListResource.md +44 -0
- package/docs/ModelAttributeListResourceArrayResponse.md +34 -0
- package/docs/ModelAttributeResource.md +2 -0
- package/docs/PaginatedModelAttributeListResourceResponse.md +36 -0
- package/docs/PaginatedProductRangeFrontendListResourceResponse.md +36 -0
- package/docs/PaginatedProductRangeListResourceResponse.md +36 -0
- package/docs/PaginatedProductRangeLiteResourceResponse.md +36 -0
- package/docs/PaginatedProductRangeResourceResponse.md +36 -0
- package/docs/ProductRangeApi.md +1097 -0
- package/docs/ProductRangeFrontendListResource.md +44 -0
- package/docs/ProductRangeFrontendListResourceArrayResponse.md +34 -0
- package/docs/ProductRangeFrontendResource.md +62 -0
- package/docs/ProductRangeFrontendResourceArrayResponse.md +34 -0
- package/docs/ProductRangeListResource.md +44 -0
- package/docs/ProductRangeListResourceArrayResponse.md +34 -0
- package/docs/ProductRangeLiteResource.md +36 -0
- package/docs/ProductRangeLiteResourceArrayResponse.md +34 -0
- package/docs/ProductRangeResource.md +52 -0
- package/docs/ProductRangeResourceArrayResponse.md +34 -0
- package/docs/ProductRangeSiteDetailLiteResource.md +38 -0
- package/docs/ProductRangeSiteDetailLiteResourceArrayResponse.md +34 -0
- package/docs/ProductRangeSiteDetailResource.md +56 -0
- package/docs/ProductRangeSiteDetailResourceArrayResponse.md +34 -0
- package/docs/StoreProductRangeRequest.md +40 -0
- package/docs/StoreProductRangeRequestSitesInner.md +54 -0
- package/docs/UpdateProductRangeRequest.md +42 -0
- package/docs/{UpdateProductTypeRequestPerformanceValuesInner.md → UpdateProductRangeRequestAttributesInner.md} +4 -4
- package/docs/UpdateProductTypeRequest.md +4 -4
- package/package.json +1 -1
- package/src/apis/AttributeApi.ts +50 -0
- package/src/apis/ProductRangeApi.ts +888 -0
- package/src/apis/index.ts +1 -0
- package/src/models/AttachAccessoriesProductRangeRequest.ts +66 -0
- package/src/models/AttachAttributesProductRangeRequest.ts +74 -0
- package/src/models/AttachAttributesProductRangeRequestAttributesInner.ts +74 -0
- package/src/models/AttachDocumentablesDocumentRequestDocumentablesInner.ts +1 -0
- package/src/models/AttachDocumentsProductRangeRequest.ts +74 -0
- package/src/models/DetachAccessoriesProductRangeRequest.ts +66 -0
- package/src/models/DetachAttributesProductRangeRequest.ts +66 -0
- package/src/models/DetachDocumentablesDocumentRequestDocumentablesInner.ts +1 -0
- package/src/models/DetachDocumentsProductRangeRequest.ts +66 -0
- package/src/models/ExternalApiLogResource.ts +2 -3
- package/src/models/GetAllDocumentRequest.ts +1 -0
- package/src/models/GetAllProductChildRequest.ts +1 -0
- package/src/models/GetAllProductRangeRequest.ts +151 -0
- package/src/models/IndexAttributeRequest.ts +3 -1
- package/src/models/IndexDocumentRequest.ts +1 -0
- package/src/models/IndexModelAttributeRequest.ts +176 -0
- package/src/models/IndexProductChildRequest.ts +1 -0
- package/src/models/IndexProductRangeRequest.ts +167 -0
- package/src/models/ModelAttributeListResource.ts +125 -0
- package/src/models/ModelAttributeListResourceArrayResponse.ts +73 -0
- package/src/models/ModelAttributeResource.ts +8 -0
- package/src/models/PaginatedModelAttributeListResourceResponse.ts +90 -0
- package/src/models/PaginatedProductRangeFrontendListResourceResponse.ts +90 -0
- package/src/models/PaginatedProductRangeListResourceResponse.ts +90 -0
- package/src/models/PaginatedProductRangeLiteResourceResponse.ts +90 -0
- package/src/models/PaginatedProductRangeResourceResponse.ts +90 -0
- package/src/models/ProductRangeFrontendListResource.ts +111 -0
- package/src/models/ProductRangeFrontendListResourceArrayResponse.ts +73 -0
- package/src/models/ProductRangeFrontendResource.ts +207 -0
- package/src/models/ProductRangeFrontendResourceArrayResponse.ts +73 -0
- package/src/models/ProductRangeListResource.ts +140 -0
- package/src/models/ProductRangeListResourceArrayResponse.ts +73 -0
- package/src/models/ProductRangeLiteResource.ts +75 -0
- package/src/models/ProductRangeLiteResourceArrayResponse.ts +73 -0
- package/src/models/ProductRangeResource.ts +167 -0
- package/src/models/ProductRangeResourceArrayResponse.ts +73 -0
- package/src/models/ProductRangeSiteDetailLiteResource.ts +84 -0
- package/src/models/ProductRangeSiteDetailLiteResourceArrayResponse.ts +73 -0
- package/src/models/ProductRangeSiteDetailResource.ts +187 -0
- package/src/models/ProductRangeSiteDetailResourceArrayResponse.ts +73 -0
- package/src/models/StoreAssetForAssetableRequest.ts +4 -1
- package/src/models/StoreProductRangeRequest.ts +105 -0
- package/src/models/StoreProductRangeRequestSitesInner.ts +148 -0
- package/src/models/UpdateProductRangeRequest.ts +120 -0
- package/src/models/UpdateProductRangeRequestAttributesInner.ts +73 -0
- package/src/models/UpdateProductTypeRequest.ts +22 -22
- package/src/models/index.ts +35 -1
- package/dist/models/UpdateProductTypeRequestPerformanceValuesInner.d.ts +0 -38
- package/dist/models/UpdateProductTypeRequestPerformanceValuesInner.js +0 -51
- package/src/models/UpdateProductTypeRequestPerformanceValuesInner.ts +0 -73
|
@@ -0,0 +1,50 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
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 ProductRangeSiteDetailLiteResource
|
|
16
|
+
*/
|
|
17
|
+
export interface ProductRangeSiteDetailLiteResource {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof ProductRangeSiteDetailLiteResource
|
|
22
|
+
*/
|
|
23
|
+
id: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof ProductRangeSiteDetailLiteResource
|
|
28
|
+
*/
|
|
29
|
+
siteId: number;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ProductRangeSiteDetailLiteResource
|
|
34
|
+
*/
|
|
35
|
+
slug: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the ProductRangeSiteDetailLiteResource interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfProductRangeSiteDetailLiteResource(value: object): value is ProductRangeSiteDetailLiteResource;
|
|
41
|
+
export declare function ProductRangeSiteDetailLiteResourceFromJSON(json: any): ProductRangeSiteDetailLiteResource;
|
|
42
|
+
export declare function ProductRangeSiteDetailLiteResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductRangeSiteDetailLiteResource;
|
|
43
|
+
export declare function ProductRangeSiteDetailLiteResourceToJSON(json: any): ProductRangeSiteDetailLiteResource;
|
|
44
|
+
export declare function ProductRangeSiteDetailLiteResourceToJSONTyped(value?: ProductRangeSiteDetailLiteResource | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,59 @@
|
|
|
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.instanceOfProductRangeSiteDetailLiteResource = instanceOfProductRangeSiteDetailLiteResource;
|
|
17
|
+
exports.ProductRangeSiteDetailLiteResourceFromJSON = ProductRangeSiteDetailLiteResourceFromJSON;
|
|
18
|
+
exports.ProductRangeSiteDetailLiteResourceFromJSONTyped = ProductRangeSiteDetailLiteResourceFromJSONTyped;
|
|
19
|
+
exports.ProductRangeSiteDetailLiteResourceToJSON = ProductRangeSiteDetailLiteResourceToJSON;
|
|
20
|
+
exports.ProductRangeSiteDetailLiteResourceToJSONTyped = ProductRangeSiteDetailLiteResourceToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the ProductRangeSiteDetailLiteResource interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfProductRangeSiteDetailLiteResource(value) {
|
|
25
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('siteId' in value) || value['siteId'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('slug' in value) || value['slug'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
function ProductRangeSiteDetailLiteResourceFromJSON(json) {
|
|
34
|
+
return ProductRangeSiteDetailLiteResourceFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function ProductRangeSiteDetailLiteResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'id': json['id'],
|
|
42
|
+
'siteId': json['siteId'],
|
|
43
|
+
'slug': json['slug'],
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
function ProductRangeSiteDetailLiteResourceToJSON(json) {
|
|
47
|
+
return ProductRangeSiteDetailLiteResourceToJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
function ProductRangeSiteDetailLiteResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
50
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
51
|
+
if (value == null) {
|
|
52
|
+
return value;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
'id': value['id'],
|
|
56
|
+
'siteId': value['siteId'],
|
|
57
|
+
'slug': value['slug'],
|
|
58
|
+
};
|
|
59
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
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 { ProductRangeSiteDetailLiteResource } from './ProductRangeSiteDetailLiteResource';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ProductRangeSiteDetailLiteResourceArrayResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface ProductRangeSiteDetailLiteResourceArrayResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<ProductRangeSiteDetailLiteResource>}
|
|
22
|
+
* @memberof ProductRangeSiteDetailLiteResourceArrayResponse
|
|
23
|
+
*/
|
|
24
|
+
data?: Array<ProductRangeSiteDetailLiteResource>;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the ProductRangeSiteDetailLiteResourceArrayResponse interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfProductRangeSiteDetailLiteResourceArrayResponse(value: object): value is ProductRangeSiteDetailLiteResourceArrayResponse;
|
|
30
|
+
export declare function ProductRangeSiteDetailLiteResourceArrayResponseFromJSON(json: any): ProductRangeSiteDetailLiteResourceArrayResponse;
|
|
31
|
+
export declare function ProductRangeSiteDetailLiteResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductRangeSiteDetailLiteResourceArrayResponse;
|
|
32
|
+
export declare function ProductRangeSiteDetailLiteResourceArrayResponseToJSON(json: any): ProductRangeSiteDetailLiteResourceArrayResponse;
|
|
33
|
+
export declare function ProductRangeSiteDetailLiteResourceArrayResponseToJSONTyped(value?: ProductRangeSiteDetailLiteResourceArrayResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,50 @@
|
|
|
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.instanceOfProductRangeSiteDetailLiteResourceArrayResponse = instanceOfProductRangeSiteDetailLiteResourceArrayResponse;
|
|
17
|
+
exports.ProductRangeSiteDetailLiteResourceArrayResponseFromJSON = ProductRangeSiteDetailLiteResourceArrayResponseFromJSON;
|
|
18
|
+
exports.ProductRangeSiteDetailLiteResourceArrayResponseFromJSONTyped = ProductRangeSiteDetailLiteResourceArrayResponseFromJSONTyped;
|
|
19
|
+
exports.ProductRangeSiteDetailLiteResourceArrayResponseToJSON = ProductRangeSiteDetailLiteResourceArrayResponseToJSON;
|
|
20
|
+
exports.ProductRangeSiteDetailLiteResourceArrayResponseToJSONTyped = ProductRangeSiteDetailLiteResourceArrayResponseToJSONTyped;
|
|
21
|
+
var ProductRangeSiteDetailLiteResource_1 = require("./ProductRangeSiteDetailLiteResource");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the ProductRangeSiteDetailLiteResourceArrayResponse interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfProductRangeSiteDetailLiteResourceArrayResponse(value) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
function ProductRangeSiteDetailLiteResourceArrayResponseFromJSON(json) {
|
|
29
|
+
return ProductRangeSiteDetailLiteResourceArrayResponseFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
function ProductRangeSiteDetailLiteResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'data': json['data'] == null ? undefined : (json['data'].map(ProductRangeSiteDetailLiteResource_1.ProductRangeSiteDetailLiteResourceFromJSON)),
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
function ProductRangeSiteDetailLiteResourceArrayResponseToJSON(json) {
|
|
40
|
+
return ProductRangeSiteDetailLiteResourceArrayResponseToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function ProductRangeSiteDetailLiteResourceArrayResponseToJSONTyped(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(ProductRangeSiteDetailLiteResource_1.ProductRangeSiteDetailLiteResourceToJSON)),
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -0,0 +1,101 @@
|
|
|
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 { ProductCategoryLiteResource } from './ProductCategoryLiteResource';
|
|
14
|
+
import type { SEOResource } from './SEOResource';
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
* @interface ProductRangeSiteDetailResource
|
|
19
|
+
*/
|
|
20
|
+
export interface ProductRangeSiteDetailResource {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @type {number}
|
|
24
|
+
* @memberof ProductRangeSiteDetailResource
|
|
25
|
+
*/
|
|
26
|
+
id: number;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {number}
|
|
30
|
+
* @memberof ProductRangeSiteDetailResource
|
|
31
|
+
*/
|
|
32
|
+
siteId: number;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {SiteLiteResource}
|
|
36
|
+
* @memberof ProductRangeSiteDetailResource
|
|
37
|
+
*/
|
|
38
|
+
site: SiteLiteResource | null;
|
|
39
|
+
/**
|
|
40
|
+
*
|
|
41
|
+
* @type {string}
|
|
42
|
+
* @memberof ProductRangeSiteDetailResource
|
|
43
|
+
*/
|
|
44
|
+
name: string;
|
|
45
|
+
/**
|
|
46
|
+
*
|
|
47
|
+
* @type {string}
|
|
48
|
+
* @memberof ProductRangeSiteDetailResource
|
|
49
|
+
*/
|
|
50
|
+
slug: string;
|
|
51
|
+
/**
|
|
52
|
+
*
|
|
53
|
+
* @type {string}
|
|
54
|
+
* @memberof ProductRangeSiteDetailResource
|
|
55
|
+
*/
|
|
56
|
+
description: string;
|
|
57
|
+
/**
|
|
58
|
+
*
|
|
59
|
+
* @type {string}
|
|
60
|
+
* @memberof ProductRangeSiteDetailResource
|
|
61
|
+
*/
|
|
62
|
+
content: string;
|
|
63
|
+
/**
|
|
64
|
+
*
|
|
65
|
+
* @type {string}
|
|
66
|
+
* @memberof ProductRangeSiteDetailResource
|
|
67
|
+
*/
|
|
68
|
+
excerpt: string;
|
|
69
|
+
/**
|
|
70
|
+
*
|
|
71
|
+
* @type {number}
|
|
72
|
+
* @memberof ProductRangeSiteDetailResource
|
|
73
|
+
*/
|
|
74
|
+
popularityScore: number;
|
|
75
|
+
/**
|
|
76
|
+
*
|
|
77
|
+
* @type {boolean}
|
|
78
|
+
* @memberof ProductRangeSiteDetailResource
|
|
79
|
+
*/
|
|
80
|
+
isDisabled: boolean;
|
|
81
|
+
/**
|
|
82
|
+
*
|
|
83
|
+
* @type {SEOResource}
|
|
84
|
+
* @memberof ProductRangeSiteDetailResource
|
|
85
|
+
*/
|
|
86
|
+
seo: SEOResource | null;
|
|
87
|
+
/**
|
|
88
|
+
*
|
|
89
|
+
* @type {Array<ProductCategoryLiteResource>}
|
|
90
|
+
* @memberof ProductRangeSiteDetailResource
|
|
91
|
+
*/
|
|
92
|
+
categories: Array<ProductCategoryLiteResource> | null;
|
|
93
|
+
}
|
|
94
|
+
/**
|
|
95
|
+
* Check if a given object implements the ProductRangeSiteDetailResource interface.
|
|
96
|
+
*/
|
|
97
|
+
export declare function instanceOfProductRangeSiteDetailResource(value: object): value is ProductRangeSiteDetailResource;
|
|
98
|
+
export declare function ProductRangeSiteDetailResourceFromJSON(json: any): ProductRangeSiteDetailResource;
|
|
99
|
+
export declare function ProductRangeSiteDetailResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductRangeSiteDetailResource;
|
|
100
|
+
export declare function ProductRangeSiteDetailResourceToJSON(json: any): ProductRangeSiteDetailResource;
|
|
101
|
+
export declare function ProductRangeSiteDetailResourceToJSONTyped(value?: ProductRangeSiteDetailResource | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,98 @@
|
|
|
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 ProductCategoryLiteResource_1 = require("./ProductCategoryLiteResource");
|
|
23
|
+
var SEOResource_1 = require("./SEOResource");
|
|
24
|
+
/**
|
|
25
|
+
* Check if a given object implements the ProductRangeSiteDetailResource interface.
|
|
26
|
+
*/
|
|
27
|
+
function instanceOfProductRangeSiteDetailResource(value) {
|
|
28
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('siteId' in value) || value['siteId'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('site' in value) || value['site'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
if (!('slug' in value) || value['slug'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
if (!('description' in value) || value['description'] === undefined)
|
|
39
|
+
return false;
|
|
40
|
+
if (!('content' in value) || value['content'] === undefined)
|
|
41
|
+
return false;
|
|
42
|
+
if (!('excerpt' in value) || value['excerpt'] === undefined)
|
|
43
|
+
return false;
|
|
44
|
+
if (!('popularityScore' in value) || value['popularityScore'] === undefined)
|
|
45
|
+
return false;
|
|
46
|
+
if (!('isDisabled' in value) || value['isDisabled'] === undefined)
|
|
47
|
+
return false;
|
|
48
|
+
if (!('seo' in value) || value['seo'] === undefined)
|
|
49
|
+
return false;
|
|
50
|
+
if (!('categories' in value) || value['categories'] === undefined)
|
|
51
|
+
return false;
|
|
52
|
+
return true;
|
|
53
|
+
}
|
|
54
|
+
function ProductRangeSiteDetailResourceFromJSON(json) {
|
|
55
|
+
return ProductRangeSiteDetailResourceFromJSONTyped(json, false);
|
|
56
|
+
}
|
|
57
|
+
function ProductRangeSiteDetailResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
58
|
+
if (json == null) {
|
|
59
|
+
return json;
|
|
60
|
+
}
|
|
61
|
+
return {
|
|
62
|
+
'id': json['id'],
|
|
63
|
+
'siteId': json['siteId'],
|
|
64
|
+
'site': (0, SiteLiteResource_1.SiteLiteResourceFromJSON)(json['site']),
|
|
65
|
+
'name': json['name'],
|
|
66
|
+
'slug': json['slug'],
|
|
67
|
+
'description': json['description'],
|
|
68
|
+
'content': json['content'],
|
|
69
|
+
'excerpt': json['excerpt'],
|
|
70
|
+
'popularityScore': json['popularityScore'],
|
|
71
|
+
'isDisabled': json['isDisabled'],
|
|
72
|
+
'seo': (0, SEOResource_1.SEOResourceFromJSON)(json['seo']),
|
|
73
|
+
'categories': (json['categories'] == null ? null : json['categories'].map(ProductCategoryLiteResource_1.ProductCategoryLiteResourceFromJSON)),
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
function ProductRangeSiteDetailResourceToJSON(json) {
|
|
77
|
+
return ProductRangeSiteDetailResourceToJSONTyped(json, false);
|
|
78
|
+
}
|
|
79
|
+
function ProductRangeSiteDetailResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
80
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
81
|
+
if (value == null) {
|
|
82
|
+
return value;
|
|
83
|
+
}
|
|
84
|
+
return {
|
|
85
|
+
'id': value['id'],
|
|
86
|
+
'siteId': value['siteId'],
|
|
87
|
+
'site': (0, SiteLiteResource_1.SiteLiteResourceToJSON)(value['site']),
|
|
88
|
+
'name': value['name'],
|
|
89
|
+
'slug': value['slug'],
|
|
90
|
+
'description': value['description'],
|
|
91
|
+
'content': value['content'],
|
|
92
|
+
'excerpt': value['excerpt'],
|
|
93
|
+
'popularityScore': value['popularityScore'],
|
|
94
|
+
'isDisabled': value['isDisabled'],
|
|
95
|
+
'seo': (0, SEOResource_1.SEOResourceToJSON)(value['seo']),
|
|
96
|
+
'categories': (value['categories'] == null ? null : value['categories'].map(ProductCategoryLiteResource_1.ProductCategoryLiteResourceToJSON)),
|
|
97
|
+
};
|
|
98
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
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;
|
|
@@ -0,0 +1,50 @@
|
|
|
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
|
+
}
|
|
@@ -69,6 +69,9 @@ export interface StoreAssetForAssetableRequest {
|
|
|
69
69
|
*/
|
|
70
70
|
export declare const StoreAssetForAssetableRequestAssetableTypeEnum: {
|
|
71
71
|
readonly AppModelsProductsProductChild: "App\\Models\\Products\\ProductChild";
|
|
72
|
+
readonly AppModelsProductRange: "App\\Models\\ProductRange";
|
|
73
|
+
readonly ProductChild: "productChild";
|
|
74
|
+
readonly AppModelsProductRange2: "App\\Models\\ProductRange";
|
|
72
75
|
};
|
|
73
76
|
export type StoreAssetForAssetableRequestAssetableTypeEnum = typeof StoreAssetForAssetableRequestAssetableTypeEnum[keyof typeof StoreAssetForAssetableRequestAssetableTypeEnum];
|
|
74
77
|
/**
|
|
@@ -23,7 +23,10 @@ exports.StoreAssetForAssetableRequestToJSONTyped = StoreAssetForAssetableRequest
|
|
|
23
23
|
* @export
|
|
24
24
|
*/
|
|
25
25
|
exports.StoreAssetForAssetableRequestAssetableTypeEnum = {
|
|
26
|
-
AppModelsProductsProductChild: 'App\\Models\\Products\\ProductChild'
|
|
26
|
+
AppModelsProductsProductChild: 'App\\Models\\Products\\ProductChild',
|
|
27
|
+
AppModelsProductRange: 'App\\Models\\ProductRange',
|
|
28
|
+
ProductChild: 'productChild',
|
|
29
|
+
AppModelsProductRange2: 'App\\Models\\ProductRange'
|
|
27
30
|
};
|
|
28
31
|
/**
|
|
29
32
|
* Check if a given object implements the StoreAssetForAssetableRequest interface.
|
|
@@ -0,0 +1,52 @@
|
|
|
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;
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* My API
|
|
6
|
+
* API documentation for my Laravel app
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfStoreProductRangeRequest = instanceOfStoreProductRangeRequest;
|
|
17
|
+
exports.StoreProductRangeRequestFromJSON = StoreProductRangeRequestFromJSON;
|
|
18
|
+
exports.StoreProductRangeRequestFromJSONTyped = StoreProductRangeRequestFromJSONTyped;
|
|
19
|
+
exports.StoreProductRangeRequestToJSON = StoreProductRangeRequestToJSON;
|
|
20
|
+
exports.StoreProductRangeRequestToJSONTyped = StoreProductRangeRequestToJSONTyped;
|
|
21
|
+
var StoreProductChildRequestAssetsInner_1 = require("./StoreProductChildRequestAssetsInner");
|
|
22
|
+
var StoreProductRangeRequestSitesInner_1 = require("./StoreProductRangeRequestSitesInner");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the StoreProductRangeRequest interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfStoreProductRangeRequest(value) {
|
|
27
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function StoreProductRangeRequestFromJSON(json) {
|
|
32
|
+
return StoreProductRangeRequestFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function StoreProductRangeRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'name': json['name'],
|
|
40
|
+
'supplierId': json['supplier_id'] == null ? undefined : json['supplier_id'],
|
|
41
|
+
'sites': json['sites'] == null ? undefined : (json['sites'].map(StoreProductRangeRequestSitesInner_1.StoreProductRangeRequestSitesInnerFromJSON)),
|
|
42
|
+
'assets': json['assets'] == null ? undefined : (json['assets'].map(StoreProductChildRequestAssetsInner_1.StoreProductChildRequestAssetsInnerFromJSON)),
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
function StoreProductRangeRequestToJSON(json) {
|
|
46
|
+
return StoreProductRangeRequestToJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
function StoreProductRangeRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
49
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
50
|
+
if (value == null) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'name': value['name'],
|
|
55
|
+
'supplier_id': value['supplierId'],
|
|
56
|
+
'sites': value['sites'] == null ? undefined : (value['sites'].map(StoreProductRangeRequestSitesInner_1.StoreProductRangeRequestSitesInnerToJSON)),
|
|
57
|
+
'assets': value['assets'] == null ? undefined : (value['assets'].map(StoreProductChildRequestAssetsInner_1.StoreProductChildRequestAssetsInnerToJSON)),
|
|
58
|
+
};
|
|
59
|
+
}
|