@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
|
@@ -37,8 +37,6 @@ function instanceOfExternalApiLogResource(value) {
|
|
|
37
37
|
return false;
|
|
38
38
|
if (!('responseCode' in value) || value['responseCode'] === undefined)
|
|
39
39
|
return false;
|
|
40
|
-
if (!('requestPayload' in value) || value['requestPayload'] === undefined)
|
|
41
|
-
return false;
|
|
42
40
|
if (!('responsePayload' in value) || value['responsePayload'] === undefined)
|
|
43
41
|
return false;
|
|
44
42
|
if (!('site' in value) || value['site'] === undefined)
|
|
@@ -60,7 +58,7 @@ function ExternalApiLogResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
60
58
|
'exteranlApiLoggableId': json['exteranlApiLoggableId'],
|
|
61
59
|
'endpoint': json['endpoint'],
|
|
62
60
|
'responseCode': json['responseCode'],
|
|
63
|
-
'requestPayload': json['requestPayload'],
|
|
61
|
+
'requestPayload': json['requestPayload'] == null ? undefined : json['requestPayload'],
|
|
64
62
|
'responsePayload': json['responsePayload'],
|
|
65
63
|
'createdAt': json['createdAt'] == null ? undefined : json['createdAt'],
|
|
66
64
|
'site': (0, SiteLiteResource_1.SiteLiteResourceFromJSON)(json['site']),
|
|
@@ -81,6 +81,7 @@ export type GetAllDocumentRequestSortDirectionEnum = typeof GetAllDocumentReques
|
|
|
81
81
|
*/
|
|
82
82
|
export declare const GetAllDocumentRequestRelatedTypeEnum: {
|
|
83
83
|
readonly ProductChild: "productChild";
|
|
84
|
+
readonly ProductRange: "productRange";
|
|
84
85
|
readonly ProductRangeSite: "productRangeSite";
|
|
85
86
|
};
|
|
86
87
|
export type GetAllDocumentRequestRelatedTypeEnum = typeof GetAllDocumentRequestRelatedTypeEnum[keyof typeof GetAllDocumentRequestRelatedTypeEnum];
|
|
@@ -155,6 +155,7 @@ export type GetAllProductChildRequestSortDirectionEnum = typeof GetAllProductChi
|
|
|
155
155
|
*/
|
|
156
156
|
export declare const GetAllProductChildRequestRelatedTypeEnum: {
|
|
157
157
|
readonly OverlayTemplate: "overlayTemplate";
|
|
158
|
+
readonly ProductRange: "productRange";
|
|
158
159
|
readonly Supplier: "supplier";
|
|
159
160
|
readonly Tag: "tag";
|
|
160
161
|
readonly Document: "document";
|
|
@@ -0,0 +1,98 @@
|
|
|
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 GetAllProductRangeRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface GetAllProductRangeRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof GetAllProductRangeRequest
|
|
22
|
+
*/
|
|
23
|
+
search?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {GetAllProductRangeRequestSortByEnum}
|
|
27
|
+
* @memberof GetAllProductRangeRequest
|
|
28
|
+
*/
|
|
29
|
+
sortBy?: GetAllProductRangeRequestSortByEnum;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {GetAllProductRangeRequestSortDirectionEnum}
|
|
33
|
+
* @memberof GetAllProductRangeRequest
|
|
34
|
+
*/
|
|
35
|
+
sortDirection?: GetAllProductRangeRequestSortDirectionEnum;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof GetAllProductRangeRequest
|
|
40
|
+
*/
|
|
41
|
+
relatedId?: number;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof GetAllProductRangeRequest
|
|
46
|
+
*/
|
|
47
|
+
relatedType?: string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {boolean}
|
|
51
|
+
* @memberof GetAllProductRangeRequest
|
|
52
|
+
*/
|
|
53
|
+
includesRelations?: boolean;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {Array<string>}
|
|
57
|
+
* @memberof GetAllProductRangeRequest
|
|
58
|
+
*/
|
|
59
|
+
siteDetailsSiteId?: Array<string>;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {Array<string>}
|
|
63
|
+
* @memberof GetAllProductRangeRequest
|
|
64
|
+
*/
|
|
65
|
+
supplierId?: Array<string>;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {Array<string>}
|
|
69
|
+
* @memberof GetAllProductRangeRequest
|
|
70
|
+
*/
|
|
71
|
+
siteDetailsCategoriesId?: Array<string>;
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* @export
|
|
75
|
+
*/
|
|
76
|
+
export declare const GetAllProductRangeRequestSortByEnum: {
|
|
77
|
+
readonly Id: "id";
|
|
78
|
+
readonly Name: "name";
|
|
79
|
+
readonly CreatedAt: "created_at";
|
|
80
|
+
readonly UpdatedAt: "updated_at";
|
|
81
|
+
};
|
|
82
|
+
export type GetAllProductRangeRequestSortByEnum = typeof GetAllProductRangeRequestSortByEnum[keyof typeof GetAllProductRangeRequestSortByEnum];
|
|
83
|
+
/**
|
|
84
|
+
* @export
|
|
85
|
+
*/
|
|
86
|
+
export declare const GetAllProductRangeRequestSortDirectionEnum: {
|
|
87
|
+
readonly Asc: "asc";
|
|
88
|
+
readonly Desc: "desc";
|
|
89
|
+
};
|
|
90
|
+
export type GetAllProductRangeRequestSortDirectionEnum = typeof GetAllProductRangeRequestSortDirectionEnum[keyof typeof GetAllProductRangeRequestSortDirectionEnum];
|
|
91
|
+
/**
|
|
92
|
+
* Check if a given object implements the GetAllProductRangeRequest interface.
|
|
93
|
+
*/
|
|
94
|
+
export declare function instanceOfGetAllProductRangeRequest(value: object): value is GetAllProductRangeRequest;
|
|
95
|
+
export declare function GetAllProductRangeRequestFromJSON(json: any): GetAllProductRangeRequest;
|
|
96
|
+
export declare function GetAllProductRangeRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetAllProductRangeRequest;
|
|
97
|
+
export declare function GetAllProductRangeRequestToJSON(json: any): GetAllProductRangeRequest;
|
|
98
|
+
export declare function GetAllProductRangeRequestToJSONTyped(value?: GetAllProductRangeRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,82 @@
|
|
|
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.GetAllProductRangeRequestSortDirectionEnum = exports.GetAllProductRangeRequestSortByEnum = void 0;
|
|
17
|
+
exports.instanceOfGetAllProductRangeRequest = instanceOfGetAllProductRangeRequest;
|
|
18
|
+
exports.GetAllProductRangeRequestFromJSON = GetAllProductRangeRequestFromJSON;
|
|
19
|
+
exports.GetAllProductRangeRequestFromJSONTyped = GetAllProductRangeRequestFromJSONTyped;
|
|
20
|
+
exports.GetAllProductRangeRequestToJSON = GetAllProductRangeRequestToJSON;
|
|
21
|
+
exports.GetAllProductRangeRequestToJSONTyped = GetAllProductRangeRequestToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.GetAllProductRangeRequestSortByEnum = {
|
|
26
|
+
Id: 'id',
|
|
27
|
+
Name: 'name',
|
|
28
|
+
CreatedAt: 'created_at',
|
|
29
|
+
UpdatedAt: 'updated_at'
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* @export
|
|
33
|
+
*/
|
|
34
|
+
exports.GetAllProductRangeRequestSortDirectionEnum = {
|
|
35
|
+
Asc: 'asc',
|
|
36
|
+
Desc: 'desc'
|
|
37
|
+
};
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the GetAllProductRangeRequest interface.
|
|
40
|
+
*/
|
|
41
|
+
function instanceOfGetAllProductRangeRequest(value) {
|
|
42
|
+
return true;
|
|
43
|
+
}
|
|
44
|
+
function GetAllProductRangeRequestFromJSON(json) {
|
|
45
|
+
return GetAllProductRangeRequestFromJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
function GetAllProductRangeRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
48
|
+
if (json == null) {
|
|
49
|
+
return json;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'search': json['search'] == null ? undefined : json['search'],
|
|
53
|
+
'sortBy': json['sortBy'] == null ? undefined : json['sortBy'],
|
|
54
|
+
'sortDirection': json['sortDirection'] == null ? undefined : json['sortDirection'],
|
|
55
|
+
'relatedId': json['related_id'] == null ? undefined : json['related_id'],
|
|
56
|
+
'relatedType': json['related_type'] == null ? undefined : json['related_type'],
|
|
57
|
+
'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
|
|
58
|
+
'siteDetailsSiteId': json['siteDetails-site_id'] == null ? undefined : json['siteDetails-site_id'],
|
|
59
|
+
'supplierId': json['supplier_id'] == null ? undefined : json['supplier_id'],
|
|
60
|
+
'siteDetailsCategoriesId': json['siteDetails-categories-id'] == null ? undefined : json['siteDetails-categories-id'],
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
function GetAllProductRangeRequestToJSON(json) {
|
|
64
|
+
return GetAllProductRangeRequestToJSONTyped(json, false);
|
|
65
|
+
}
|
|
66
|
+
function GetAllProductRangeRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
67
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
68
|
+
if (value == null) {
|
|
69
|
+
return value;
|
|
70
|
+
}
|
|
71
|
+
return {
|
|
72
|
+
'search': value['search'],
|
|
73
|
+
'sortBy': value['sortBy'],
|
|
74
|
+
'sortDirection': value['sortDirection'],
|
|
75
|
+
'related_id': value['relatedId'],
|
|
76
|
+
'related_type': value['relatedType'],
|
|
77
|
+
'includes_relations': value['includesRelations'],
|
|
78
|
+
'siteDetails-site_id': value['siteDetailsSiteId'],
|
|
79
|
+
'supplier_id': value['supplierId'],
|
|
80
|
+
'siteDetails-categories-id': value['siteDetailsCategoriesId'],
|
|
81
|
+
};
|
|
82
|
+
}
|
|
@@ -106,6 +106,8 @@ export type IndexAttributeRequestSortDirectionEnum = typeof IndexAttributeReques
|
|
|
106
106
|
*/
|
|
107
107
|
export declare const IndexAttributeRequestRelatedTypeEnum: {
|
|
108
108
|
readonly ProductType: "productType";
|
|
109
|
+
readonly ProductRange: "productRange";
|
|
110
|
+
readonly Category: "category";
|
|
109
111
|
};
|
|
110
112
|
export type IndexAttributeRequestRelatedTypeEnum = typeof IndexAttributeRequestRelatedTypeEnum[keyof typeof IndexAttributeRequestRelatedTypeEnum];
|
|
111
113
|
/**
|
|
@@ -40,7 +40,9 @@ exports.IndexAttributeRequestSortDirectionEnum = {
|
|
|
40
40
|
* @export
|
|
41
41
|
*/
|
|
42
42
|
exports.IndexAttributeRequestRelatedTypeEnum = {
|
|
43
|
-
ProductType: 'productType'
|
|
43
|
+
ProductType: 'productType',
|
|
44
|
+
ProductRange: 'productRange',
|
|
45
|
+
Category: 'category'
|
|
44
46
|
};
|
|
45
47
|
/**
|
|
46
48
|
* Check if a given object implements the IndexAttributeRequest interface.
|
|
@@ -93,6 +93,7 @@ export type IndexDocumentRequestSortDirectionEnum = typeof IndexDocumentRequestS
|
|
|
93
93
|
*/
|
|
94
94
|
export declare const IndexDocumentRequestRelatedTypeEnum: {
|
|
95
95
|
readonly ProductChild: "productChild";
|
|
96
|
+
readonly ProductRange: "productRange";
|
|
96
97
|
readonly ProductRangeSite: "productRangeSite";
|
|
97
98
|
};
|
|
98
99
|
export type IndexDocumentRequestRelatedTypeEnum = typeof IndexDocumentRequestRelatedTypeEnum[keyof typeof IndexDocumentRequestRelatedTypeEnum];
|
|
@@ -0,0 +1,118 @@
|
|
|
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 IndexModelAttributeRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface IndexModelAttributeRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof IndexModelAttributeRequest
|
|
22
|
+
*/
|
|
23
|
+
search?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {IndexModelAttributeRequestSortByEnum}
|
|
27
|
+
* @memberof IndexModelAttributeRequest
|
|
28
|
+
*/
|
|
29
|
+
sortBy?: IndexModelAttributeRequestSortByEnum;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {IndexModelAttributeRequestSortDirectionEnum}
|
|
33
|
+
* @memberof IndexModelAttributeRequest
|
|
34
|
+
*/
|
|
35
|
+
sortDirection?: IndexModelAttributeRequestSortDirectionEnum;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof IndexModelAttributeRequest
|
|
40
|
+
*/
|
|
41
|
+
perPage?: number;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof IndexModelAttributeRequest
|
|
46
|
+
*/
|
|
47
|
+
page?: number;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {Array<string>}
|
|
51
|
+
* @memberof IndexModelAttributeRequest
|
|
52
|
+
*/
|
|
53
|
+
attributableType?: Array<string>;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {Array<string>}
|
|
57
|
+
* @memberof IndexModelAttributeRequest
|
|
58
|
+
*/
|
|
59
|
+
attributableId?: Array<string>;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {Array<string>}
|
|
63
|
+
* @memberof IndexModelAttributeRequest
|
|
64
|
+
*/
|
|
65
|
+
attributeId?: Array<string>;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {number}
|
|
69
|
+
* @memberof IndexModelAttributeRequest
|
|
70
|
+
*/
|
|
71
|
+
relatedId?: number;
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @type {IndexModelAttributeRequestRelatedTypeEnum}
|
|
75
|
+
* @memberof IndexModelAttributeRequest
|
|
76
|
+
*/
|
|
77
|
+
relatedType?: IndexModelAttributeRequestRelatedTypeEnum;
|
|
78
|
+
/**
|
|
79
|
+
*
|
|
80
|
+
* @type {boolean}
|
|
81
|
+
* @memberof IndexModelAttributeRequest
|
|
82
|
+
*/
|
|
83
|
+
includesRelations?: boolean;
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* @export
|
|
87
|
+
*/
|
|
88
|
+
export declare const IndexModelAttributeRequestSortByEnum: {
|
|
89
|
+
readonly Id: "id";
|
|
90
|
+
readonly AttributeId: "attribute_id";
|
|
91
|
+
readonly CreatedAt: "created_at";
|
|
92
|
+
readonly AttributeName: "attribute-name";
|
|
93
|
+
};
|
|
94
|
+
export type IndexModelAttributeRequestSortByEnum = typeof IndexModelAttributeRequestSortByEnum[keyof typeof IndexModelAttributeRequestSortByEnum];
|
|
95
|
+
/**
|
|
96
|
+
* @export
|
|
97
|
+
*/
|
|
98
|
+
export declare const IndexModelAttributeRequestSortDirectionEnum: {
|
|
99
|
+
readonly Asc: "asc";
|
|
100
|
+
readonly Desc: "desc";
|
|
101
|
+
};
|
|
102
|
+
export type IndexModelAttributeRequestSortDirectionEnum = typeof IndexModelAttributeRequestSortDirectionEnum[keyof typeof IndexModelAttributeRequestSortDirectionEnum];
|
|
103
|
+
/**
|
|
104
|
+
* @export
|
|
105
|
+
*/
|
|
106
|
+
export declare const IndexModelAttributeRequestRelatedTypeEnum: {
|
|
107
|
+
readonly Category: "category";
|
|
108
|
+
readonly ProductRange: "productRange";
|
|
109
|
+
};
|
|
110
|
+
export type IndexModelAttributeRequestRelatedTypeEnum = typeof IndexModelAttributeRequestRelatedTypeEnum[keyof typeof IndexModelAttributeRequestRelatedTypeEnum];
|
|
111
|
+
/**
|
|
112
|
+
* Check if a given object implements the IndexModelAttributeRequest interface.
|
|
113
|
+
*/
|
|
114
|
+
export declare function instanceOfIndexModelAttributeRequest(value: object): value is IndexModelAttributeRequest;
|
|
115
|
+
export declare function IndexModelAttributeRequestFromJSON(json: any): IndexModelAttributeRequest;
|
|
116
|
+
export declare function IndexModelAttributeRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): IndexModelAttributeRequest;
|
|
117
|
+
export declare function IndexModelAttributeRequestToJSON(json: any): IndexModelAttributeRequest;
|
|
118
|
+
export declare function IndexModelAttributeRequestToJSONTyped(value?: IndexModelAttributeRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,93 @@
|
|
|
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.IndexModelAttributeRequestRelatedTypeEnum = exports.IndexModelAttributeRequestSortDirectionEnum = exports.IndexModelAttributeRequestSortByEnum = void 0;
|
|
17
|
+
exports.instanceOfIndexModelAttributeRequest = instanceOfIndexModelAttributeRequest;
|
|
18
|
+
exports.IndexModelAttributeRequestFromJSON = IndexModelAttributeRequestFromJSON;
|
|
19
|
+
exports.IndexModelAttributeRequestFromJSONTyped = IndexModelAttributeRequestFromJSONTyped;
|
|
20
|
+
exports.IndexModelAttributeRequestToJSON = IndexModelAttributeRequestToJSON;
|
|
21
|
+
exports.IndexModelAttributeRequestToJSONTyped = IndexModelAttributeRequestToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.IndexModelAttributeRequestSortByEnum = {
|
|
26
|
+
Id: 'id',
|
|
27
|
+
AttributeId: 'attribute_id',
|
|
28
|
+
CreatedAt: 'created_at',
|
|
29
|
+
AttributeName: 'attribute-name'
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* @export
|
|
33
|
+
*/
|
|
34
|
+
exports.IndexModelAttributeRequestSortDirectionEnum = {
|
|
35
|
+
Asc: 'asc',
|
|
36
|
+
Desc: 'desc'
|
|
37
|
+
};
|
|
38
|
+
/**
|
|
39
|
+
* @export
|
|
40
|
+
*/
|
|
41
|
+
exports.IndexModelAttributeRequestRelatedTypeEnum = {
|
|
42
|
+
Category: 'category',
|
|
43
|
+
ProductRange: 'productRange'
|
|
44
|
+
};
|
|
45
|
+
/**
|
|
46
|
+
* Check if a given object implements the IndexModelAttributeRequest interface.
|
|
47
|
+
*/
|
|
48
|
+
function instanceOfIndexModelAttributeRequest(value) {
|
|
49
|
+
return true;
|
|
50
|
+
}
|
|
51
|
+
function IndexModelAttributeRequestFromJSON(json) {
|
|
52
|
+
return IndexModelAttributeRequestFromJSONTyped(json, false);
|
|
53
|
+
}
|
|
54
|
+
function IndexModelAttributeRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
55
|
+
if (json == null) {
|
|
56
|
+
return json;
|
|
57
|
+
}
|
|
58
|
+
return {
|
|
59
|
+
'search': json['search'] == null ? undefined : json['search'],
|
|
60
|
+
'sortBy': json['sortBy'] == null ? undefined : json['sortBy'],
|
|
61
|
+
'sortDirection': json['sortDirection'] == null ? undefined : json['sortDirection'],
|
|
62
|
+
'perPage': json['per_page'] == null ? undefined : json['per_page'],
|
|
63
|
+
'page': json['page'] == null ? undefined : json['page'],
|
|
64
|
+
'attributableType': json['attributable_type'] == null ? undefined : json['attributable_type'],
|
|
65
|
+
'attributableId': json['attributable_id'] == null ? undefined : json['attributable_id'],
|
|
66
|
+
'attributeId': json['attribute_id'] == null ? undefined : json['attribute_id'],
|
|
67
|
+
'relatedId': json['related_id'] == null ? undefined : json['related_id'],
|
|
68
|
+
'relatedType': json['related_type'] == null ? undefined : json['related_type'],
|
|
69
|
+
'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
|
|
70
|
+
};
|
|
71
|
+
}
|
|
72
|
+
function IndexModelAttributeRequestToJSON(json) {
|
|
73
|
+
return IndexModelAttributeRequestToJSONTyped(json, false);
|
|
74
|
+
}
|
|
75
|
+
function IndexModelAttributeRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
76
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
77
|
+
if (value == null) {
|
|
78
|
+
return value;
|
|
79
|
+
}
|
|
80
|
+
return {
|
|
81
|
+
'search': value['search'],
|
|
82
|
+
'sortBy': value['sortBy'],
|
|
83
|
+
'sortDirection': value['sortDirection'],
|
|
84
|
+
'per_page': value['perPage'],
|
|
85
|
+
'page': value['page'],
|
|
86
|
+
'attributable_type': value['attributableType'],
|
|
87
|
+
'attributable_id': value['attributableId'],
|
|
88
|
+
'attribute_id': value['attributeId'],
|
|
89
|
+
'related_id': value['relatedId'],
|
|
90
|
+
'related_type': value['relatedType'],
|
|
91
|
+
'includes_relations': value['includesRelations'],
|
|
92
|
+
};
|
|
93
|
+
}
|
|
@@ -175,6 +175,7 @@ export declare const IndexProductChildRequestRelatedTypeEnum: {
|
|
|
175
175
|
readonly Document: "document";
|
|
176
176
|
readonly OverlayTemplate: "overlayTemplate";
|
|
177
177
|
readonly ProductType: "productType";
|
|
178
|
+
readonly ProductRange: "productRange";
|
|
178
179
|
readonly Supplier: "supplier";
|
|
179
180
|
readonly Tag: "tag";
|
|
180
181
|
readonly Site: "site";
|
|
@@ -0,0 +1,110 @@
|
|
|
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 IndexProductRangeRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface IndexProductRangeRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof IndexProductRangeRequest
|
|
22
|
+
*/
|
|
23
|
+
search?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {IndexProductRangeRequestSortByEnum}
|
|
27
|
+
* @memberof IndexProductRangeRequest
|
|
28
|
+
*/
|
|
29
|
+
sortBy?: IndexProductRangeRequestSortByEnum;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {IndexProductRangeRequestSortDirectionEnum}
|
|
33
|
+
* @memberof IndexProductRangeRequest
|
|
34
|
+
*/
|
|
35
|
+
sortDirection?: IndexProductRangeRequestSortDirectionEnum;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof IndexProductRangeRequest
|
|
40
|
+
*/
|
|
41
|
+
perPage?: number;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof IndexProductRangeRequest
|
|
46
|
+
*/
|
|
47
|
+
page?: number;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {Array<string>}
|
|
51
|
+
* @memberof IndexProductRangeRequest
|
|
52
|
+
*/
|
|
53
|
+
siteDetailsSiteId?: Array<string>;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {Array<string>}
|
|
57
|
+
* @memberof IndexProductRangeRequest
|
|
58
|
+
*/
|
|
59
|
+
supplierId?: Array<string>;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {Array<string>}
|
|
63
|
+
* @memberof IndexProductRangeRequest
|
|
64
|
+
*/
|
|
65
|
+
siteDetailsCategoriesId?: Array<string>;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {number}
|
|
69
|
+
* @memberof IndexProductRangeRequest
|
|
70
|
+
*/
|
|
71
|
+
relatedId?: number;
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof IndexProductRangeRequest
|
|
76
|
+
*/
|
|
77
|
+
relatedType?: string;
|
|
78
|
+
/**
|
|
79
|
+
*
|
|
80
|
+
* @type {boolean}
|
|
81
|
+
* @memberof IndexProductRangeRequest
|
|
82
|
+
*/
|
|
83
|
+
includesRelations?: boolean;
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* @export
|
|
87
|
+
*/
|
|
88
|
+
export declare const IndexProductRangeRequestSortByEnum: {
|
|
89
|
+
readonly Id: "id";
|
|
90
|
+
readonly Name: "name";
|
|
91
|
+
readonly CreatedAt: "created_at";
|
|
92
|
+
readonly UpdatedAt: "updated_at";
|
|
93
|
+
};
|
|
94
|
+
export type IndexProductRangeRequestSortByEnum = typeof IndexProductRangeRequestSortByEnum[keyof typeof IndexProductRangeRequestSortByEnum];
|
|
95
|
+
/**
|
|
96
|
+
* @export
|
|
97
|
+
*/
|
|
98
|
+
export declare const IndexProductRangeRequestSortDirectionEnum: {
|
|
99
|
+
readonly Asc: "asc";
|
|
100
|
+
readonly Desc: "desc";
|
|
101
|
+
};
|
|
102
|
+
export type IndexProductRangeRequestSortDirectionEnum = typeof IndexProductRangeRequestSortDirectionEnum[keyof typeof IndexProductRangeRequestSortDirectionEnum];
|
|
103
|
+
/**
|
|
104
|
+
* Check if a given object implements the IndexProductRangeRequest interface.
|
|
105
|
+
*/
|
|
106
|
+
export declare function instanceOfIndexProductRangeRequest(value: object): value is IndexProductRangeRequest;
|
|
107
|
+
export declare function IndexProductRangeRequestFromJSON(json: any): IndexProductRangeRequest;
|
|
108
|
+
export declare function IndexProductRangeRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): IndexProductRangeRequest;
|
|
109
|
+
export declare function IndexProductRangeRequestToJSON(json: any): IndexProductRangeRequest;
|
|
110
|
+
export declare function IndexProductRangeRequestToJSONTyped(value?: IndexProductRangeRequest | null, ignoreDiscriminator?: boolean): any;
|