@digital8/lighting-illusions-ts-sdk 0.0.1459 → 0.0.1460
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 +2 -134
- package/README.md +4 -89
- package/dist/apis/AttributeApi.d.ts +1 -16
- package/dist/apis/AttributeApi.js +0 -58
- package/dist/apis/ProductApi.js +1 -1
- package/dist/apis/index.d.ts +0 -2
- package/dist/apis/index.js +0 -2
- package/dist/models/AttachDocumentablesDocumentRequestDocumentablesInner.d.ts +1 -2
- package/dist/models/AttachDocumentablesDocumentRequestDocumentablesInner.js +1 -2
- package/dist/models/DetachDocumentablesDocumentRequestDocumentablesInner.d.ts +1 -2
- package/dist/models/DetachDocumentablesDocumentRequestDocumentablesInner.js +1 -2
- package/dist/models/GetAllDocumentRequest.d.ts +1 -2
- package/dist/models/GetAllDocumentRequest.js +1 -2
- 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 +1 -2
- package/dist/models/IndexDocumentRequest.js +1 -2
- package/dist/models/IndexProductChildRequest.d.ts +0 -2
- package/dist/models/IndexProductChildRequest.js +0 -2
- package/dist/models/ModelAttributeResource.d.ts +0 -6
- package/dist/models/ModelAttributeResource.js +0 -2
- package/dist/models/StoreAssetForAssetableRequest.d.ts +0 -2
- package/dist/models/StoreAssetForAssetableRequest.js +1 -3
- package/dist/models/UpdateProductTypeRequest.d.ts +9 -9
- package/dist/models/UpdateProductTypeRequest.js +9 -9
- package/dist/models/UpdateProductTypeRequestPerformanceValuesInner.d.ts +38 -0
- package/dist/models/UpdateProductTypeRequestPerformanceValuesInner.js +51 -0
- package/dist/models/index.d.ts +1 -65
- package/dist/models/index.js +1 -65
- package/docs/AttributeApi.md +0 -66
- package/docs/ModelAttributeResource.md +0 -2
- package/docs/ProductApi.md +1 -1
- package/docs/UpdateProductTypeRequest.md +4 -4
- package/docs/{UpdateProductRangeRequestAttributesInner.md → UpdateProductTypeRequestPerformanceValuesInner.md} +4 -4
- package/package.json +1 -1
- package/src/apis/AttributeApi.ts +0 -50
- package/src/apis/ProductApi.ts +1 -1
- package/src/apis/index.ts +0 -2
- package/src/models/AttachDocumentablesDocumentRequestDocumentablesInner.ts +1 -2
- package/src/models/DetachDocumentablesDocumentRequestDocumentablesInner.ts +1 -2
- package/src/models/GetAllDocumentRequest.ts +1 -2
- package/src/models/GetAllProductChildRequest.ts +0 -1
- package/src/models/IndexAttributeRequest.ts +1 -3
- package/src/models/IndexDocumentRequest.ts +1 -2
- package/src/models/IndexProductChildRequest.ts +0 -2
- package/src/models/ModelAttributeResource.ts +0 -8
- package/src/models/StoreAssetForAssetableRequest.ts +1 -3
- package/src/models/UpdateProductTypeRequest.ts +22 -22
- package/src/models/UpdateProductTypeRequestPerformanceValuesInner.ts +73 -0
- package/src/models/index.ts +1 -65
- package/dist/apis/ProductRangeApi.d.ts +0 -269
- package/dist/apis/ProductRangeApi.js +0 -1043
- package/dist/apis/ProductRegistrationApi.d.ts +0 -79
- package/dist/apis/ProductRegistrationApi.js +0 -316
- package/dist/models/AddressResource.d.ts +0 -80
- package/dist/models/AddressResource.js +0 -79
- package/dist/models/AddressResourceArrayResponse.d.ts +0 -33
- package/dist/models/AddressResourceArrayResponse.js +0 -50
- package/dist/models/AttachAccessoriesProductRangeRequest.d.ts +0 -32
- package/dist/models/AttachAccessoriesProductRangeRequest.js +0 -51
- package/dist/models/AttachAttributesProductRangeRequest.d.ts +0 -33
- package/dist/models/AttachAttributesProductRangeRequest.js +0 -52
- package/dist/models/AttachAttributesProductRangeRequestAttributesInner.d.ts +0 -38
- package/dist/models/AttachAttributesProductRangeRequestAttributesInner.js +0 -53
- 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/GetAllProductRegistrationRequest.d.ts +0 -82
- package/dist/models/GetAllProductRegistrationRequest.js +0 -78
- package/dist/models/IndexModelAttributeRequest.d.ts +0 -118
- package/dist/models/IndexModelAttributeRequest.js +0 -93
- package/dist/models/IndexProductRangeRequest.d.ts +0 -110
- package/dist/models/IndexProductRangeRequest.js +0 -86
- package/dist/models/IndexProductRegistrationRequest.d.ts +0 -125
- package/dist/models/IndexProductRegistrationRequest.js +0 -96
- package/dist/models/ListAssetsProductRegistrationRequest.d.ts +0 -103
- package/dist/models/ListAssetsProductRegistrationRequest.js +0 -83
- package/dist/models/ModelAttributeListResource.d.ts +0 -64
- package/dist/models/ModelAttributeListResource.js +0 -71
- package/dist/models/ModelAttributeListResourceArrayResponse.d.ts +0 -33
- package/dist/models/ModelAttributeListResourceArrayResponse.js +0 -50
- package/dist/models/PaginatedModelAttributeListResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedModelAttributeListResourceResponse.js +0 -57
- package/dist/models/PaginatedProductRangeFrontendListResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedProductRangeFrontendListResourceResponse.js +0 -57
- package/dist/models/PaginatedProductRangeListResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedProductRangeListResourceResponse.js +0 -57
- package/dist/models/PaginatedProductRangeLiteResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedProductRangeLiteResourceResponse.js +0 -57
- package/dist/models/PaginatedProductRangeResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedProductRangeResourceResponse.js +0 -57
- package/dist/models/PaginatedProductRangeSearchResultResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedProductRangeSearchResultResourceResponse.js +0 -57
- package/dist/models/PaginatedProductRegistrationAssetResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedProductRegistrationAssetResourceResponse.js +0 -57
- package/dist/models/PaginatedProductRegistrationListResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedProductRegistrationListResourceResponse.js +0 -57
- package/dist/models/PaginatedProductRegistrationResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedProductRegistrationResourceResponse.js +0 -57
- package/dist/models/ProductRangeAggregationResource.d.ts +0 -44
- package/dist/models/ProductRangeAggregationResource.js +0 -59
- package/dist/models/ProductRangeAggregationResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductRangeAggregationResourceArrayResponse.js +0 -50
- 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 -117
- package/dist/models/ProductRangeFrontendResource.js +0 -106
- package/dist/models/ProductRangeFrontendResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductRangeFrontendResourceArrayResponse.js +0 -50
- package/dist/models/ProductRangeListResource.d.ts +0 -66
- package/dist/models/ProductRangeListResource.js +0 -75
- 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 -89
- package/dist/models/ProductRangeResource.js +0 -86
- package/dist/models/ProductRangeResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductRangeResourceArrayResponse.js +0 -50
- package/dist/models/ProductRangeSearchResponseResource.d.ts +0 -47
- package/dist/models/ProductRangeSearchResponseResource.js +0 -62
- package/dist/models/ProductRangeSearchResponseResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductRangeSearchResponseResourceArrayResponse.js +0 -50
- package/dist/models/ProductRangeSearchResponseResourceMeta.d.ts +0 -50
- package/dist/models/ProductRangeSearchResponseResourceMeta.js +0 -63
- package/dist/models/ProductRangeSearchResultResource.d.ts +0 -80
- package/dist/models/ProductRangeSearchResultResource.js +0 -83
- package/dist/models/ProductRangeSearchResultResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductRangeSearchResultResourceArrayResponse.js +0 -50
- package/dist/models/ProductRangeSiteDetailLiteResource.d.ts +0 -44
- package/dist/models/ProductRangeSiteDetailLiteResource.js +0 -59
- package/dist/models/ProductRangeSiteDetailLiteResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductRangeSiteDetailLiteResourceArrayResponse.js +0 -50
- package/dist/models/ProductRangeSiteDetailResource.d.ts +0 -101
- package/dist/models/ProductRangeSiteDetailResource.js +0 -98
- package/dist/models/ProductRangeSiteDetailResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductRangeSiteDetailResourceArrayResponse.js +0 -50
- package/dist/models/ProductRangeSortBy.d.ts +0 -27
- package/dist/models/ProductRangeSortBy.js +0 -53
- package/dist/models/ProductRegistrationAssetResource.d.ts +0 -45
- package/dist/models/ProductRegistrationAssetResource.js +0 -58
- package/dist/models/ProductRegistrationAssetResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductRegistrationAssetResourceArrayResponse.js +0 -50
- package/dist/models/ProductRegistrationAssetType.d.ts +0 -25
- package/dist/models/ProductRegistrationAssetType.js +0 -51
- package/dist/models/ProductRegistrationCustomerLiteResource.d.ts +0 -50
- package/dist/models/ProductRegistrationCustomerLiteResource.js +0 -61
- package/dist/models/ProductRegistrationCustomerLiteResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductRegistrationCustomerLiteResourceArrayResponse.js +0 -50
- package/dist/models/ProductRegistrationCustomerResource.d.ts +0 -50
- package/dist/models/ProductRegistrationCustomerResource.js +0 -61
- package/dist/models/ProductRegistrationCustomerResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductRegistrationCustomerResourceArrayResponse.js +0 -50
- package/dist/models/ProductRegistrationListResource.d.ts +0 -57
- package/dist/models/ProductRegistrationListResource.js +0 -64
- package/dist/models/ProductRegistrationListResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductRegistrationListResourceArrayResponse.js +0 -50
- package/dist/models/ProductRegistrationLiteResource.d.ts +0 -38
- package/dist/models/ProductRegistrationLiteResource.js +0 -53
- package/dist/models/ProductRegistrationLiteResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductRegistrationLiteResourceArrayResponse.js +0 -50
- package/dist/models/ProductRegistrationResource.d.ts +0 -76
- package/dist/models/ProductRegistrationResource.js +0 -75
- package/dist/models/ProductRegistrationResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductRegistrationResourceArrayResponse.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 -59
- package/dist/models/UpdateProductRangeRequest.js +0 -62
- package/dist/models/UpdateProductRangeRequestAttributesInner.d.ts +0 -38
- package/dist/models/UpdateProductRangeRequestAttributesInner.js +0 -51
- package/docs/AddressResource.md +0 -50
- package/docs/AddressResourceArrayResponse.md +0 -34
- package/docs/AttachAccessoriesProductRangeRequest.md +0 -34
- package/docs/AttachAttributesProductRangeRequest.md +0 -34
- package/docs/AttachAttributesProductRangeRequestAttributesInner.md +0 -36
- 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/GetAllProductRegistrationRequest.md +0 -44
- package/docs/IndexModelAttributeRequest.md +0 -54
- package/docs/IndexProductRangeRequest.md +0 -54
- package/docs/IndexProductRegistrationRequest.md +0 -56
- package/docs/ListAssetsProductRegistrationRequest.md +0 -52
- package/docs/ModelAttributeListResource.md +0 -44
- package/docs/ModelAttributeListResourceArrayResponse.md +0 -34
- package/docs/PaginatedModelAttributeListResourceResponse.md +0 -36
- package/docs/PaginatedProductRangeFrontendListResourceResponse.md +0 -36
- package/docs/PaginatedProductRangeListResourceResponse.md +0 -36
- package/docs/PaginatedProductRangeLiteResourceResponse.md +0 -36
- package/docs/PaginatedProductRangeResourceResponse.md +0 -36
- package/docs/PaginatedProductRangeSearchResultResourceResponse.md +0 -36
- package/docs/PaginatedProductRegistrationAssetResourceResponse.md +0 -36
- package/docs/PaginatedProductRegistrationListResourceResponse.md +0 -36
- package/docs/PaginatedProductRegistrationResourceResponse.md +0 -36
- package/docs/ProductRangeAggregationResource.md +0 -38
- package/docs/ProductRangeAggregationResourceArrayResponse.md +0 -34
- package/docs/ProductRangeApi.md +0 -1097
- package/docs/ProductRangeFrontendListResource.md +0 -44
- package/docs/ProductRangeFrontendListResourceArrayResponse.md +0 -34
- package/docs/ProductRangeFrontendResource.md +0 -62
- package/docs/ProductRangeFrontendResourceArrayResponse.md +0 -34
- package/docs/ProductRangeListResource.md +0 -44
- package/docs/ProductRangeListResourceArrayResponse.md +0 -34
- package/docs/ProductRangeLiteResource.md +0 -36
- package/docs/ProductRangeLiteResourceArrayResponse.md +0 -34
- package/docs/ProductRangeResource.md +0 -52
- package/docs/ProductRangeResourceArrayResponse.md +0 -34
- package/docs/ProductRangeSearchResponseResource.md +0 -38
- package/docs/ProductRangeSearchResponseResourceArrayResponse.md +0 -34
- package/docs/ProductRangeSearchResponseResourceMeta.md +0 -40
- package/docs/ProductRangeSearchResultResource.md +0 -50
- package/docs/ProductRangeSearchResultResourceArrayResponse.md +0 -34
- package/docs/ProductRangeSiteDetailLiteResource.md +0 -38
- package/docs/ProductRangeSiteDetailLiteResourceArrayResponse.md +0 -34
- package/docs/ProductRangeSiteDetailResource.md +0 -56
- package/docs/ProductRangeSiteDetailResourceArrayResponse.md +0 -34
- package/docs/ProductRangeSortBy.md +0 -32
- package/docs/ProductRegistrationApi.md +0 -275
- package/docs/ProductRegistrationAssetResource.md +0 -38
- package/docs/ProductRegistrationAssetResourceArrayResponse.md +0 -34
- package/docs/ProductRegistrationAssetType.md +0 -32
- package/docs/ProductRegistrationCustomerLiteResource.md +0 -40
- package/docs/ProductRegistrationCustomerLiteResourceArrayResponse.md +0 -34
- package/docs/ProductRegistrationCustomerResource.md +0 -40
- package/docs/ProductRegistrationCustomerResourceArrayResponse.md +0 -34
- package/docs/ProductRegistrationListResource.md +0 -42
- package/docs/ProductRegistrationListResourceArrayResponse.md +0 -34
- package/docs/ProductRegistrationLiteResource.md +0 -36
- package/docs/ProductRegistrationLiteResourceArrayResponse.md +0 -34
- package/docs/ProductRegistrationResource.md +0 -48
- package/docs/ProductRegistrationResourceArrayResponse.md +0 -34
- package/docs/StoreProductRangeRequest.md +0 -40
- package/docs/StoreProductRangeRequestSitesInner.md +0 -54
- package/docs/UpdateProductRangeRequest.md +0 -42
- package/src/apis/ProductRangeApi.ts +0 -888
- package/src/apis/ProductRegistrationApi.ts +0 -238
- package/src/models/AddressResource.ts +0 -136
- package/src/models/AddressResourceArrayResponse.ts +0 -73
- package/src/models/AttachAccessoriesProductRangeRequest.ts +0 -66
- package/src/models/AttachAttributesProductRangeRequest.ts +0 -74
- package/src/models/AttachAttributesProductRangeRequestAttributesInner.ts +0 -74
- 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/GetAllProductRegistrationRequest.ts +0 -129
- package/src/models/IndexModelAttributeRequest.ts +0 -176
- package/src/models/IndexProductRangeRequest.ts +0 -167
- package/src/models/IndexProductRegistrationRequest.ts +0 -185
- package/src/models/ListAssetsProductRegistrationRequest.ts +0 -158
- package/src/models/ModelAttributeListResource.ts +0 -125
- package/src/models/ModelAttributeListResourceArrayResponse.ts +0 -73
- package/src/models/PaginatedModelAttributeListResourceResponse.ts +0 -90
- package/src/models/PaginatedProductRangeFrontendListResourceResponse.ts +0 -90
- package/src/models/PaginatedProductRangeListResourceResponse.ts +0 -90
- package/src/models/PaginatedProductRangeLiteResourceResponse.ts +0 -90
- package/src/models/PaginatedProductRangeResourceResponse.ts +0 -90
- package/src/models/PaginatedProductRangeSearchResultResourceResponse.ts +0 -90
- package/src/models/PaginatedProductRegistrationAssetResourceResponse.ts +0 -90
- package/src/models/PaginatedProductRegistrationListResourceResponse.ts +0 -90
- package/src/models/PaginatedProductRegistrationResourceResponse.ts +0 -90
- package/src/models/ProductRangeAggregationResource.ts +0 -84
- package/src/models/ProductRangeAggregationResourceArrayResponse.ts +0 -73
- package/src/models/ProductRangeFrontendListResource.ts +0 -111
- package/src/models/ProductRangeFrontendListResourceArrayResponse.ts +0 -73
- package/src/models/ProductRangeFrontendResource.ts +0 -199
- package/src/models/ProductRangeFrontendResourceArrayResponse.ts +0 -73
- package/src/models/ProductRangeListResource.ts +0 -140
- 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 -167
- package/src/models/ProductRangeResourceArrayResponse.ts +0 -73
- package/src/models/ProductRangeSearchResponseResource.ts +0 -106
- package/src/models/ProductRangeSearchResponseResourceArrayResponse.ts +0 -73
- package/src/models/ProductRangeSearchResponseResourceMeta.ts +0 -93
- package/src/models/ProductRangeSearchResultResource.ts +0 -138
- package/src/models/ProductRangeSearchResultResourceArrayResponse.ts +0 -73
- package/src/models/ProductRangeSiteDetailLiteResource.ts +0 -84
- package/src/models/ProductRangeSiteDetailLiteResourceArrayResponse.ts +0 -73
- package/src/models/ProductRangeSiteDetailResource.ts +0 -187
- package/src/models/ProductRangeSiteDetailResourceArrayResponse.ts +0 -73
- package/src/models/ProductRangeSortBy.ts +0 -55
- package/src/models/ProductRegistrationAssetResource.ts +0 -91
- package/src/models/ProductRegistrationAssetResourceArrayResponse.ts +0 -73
- package/src/models/ProductRegistrationAssetType.ts +0 -53
- package/src/models/ProductRegistrationCustomerLiteResource.ts +0 -92
- package/src/models/ProductRegistrationCustomerLiteResourceArrayResponse.ts +0 -73
- package/src/models/ProductRegistrationCustomerResource.ts +0 -92
- package/src/models/ProductRegistrationCustomerResourceArrayResponse.ts +0 -73
- package/src/models/ProductRegistrationListResource.ts +0 -108
- package/src/models/ProductRegistrationListResourceArrayResponse.ts +0 -73
- package/src/models/ProductRegistrationLiteResource.ts +0 -74
- package/src/models/ProductRegistrationLiteResourceArrayResponse.ts +0 -73
- package/src/models/ProductRegistrationResource.ts +0 -141
- package/src/models/ProductRegistrationResourceArrayResponse.ts +0 -73
- package/src/models/StoreProductRangeRequest.ts +0 -105
- package/src/models/StoreProductRangeRequestSitesInner.ts +0 -148
- package/src/models/UpdateProductRangeRequest.ts +0 -120
- package/src/models/UpdateProductRangeRequestAttributesInner.ts +0 -73
|
@@ -1,176 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* My API
|
|
5
|
-
* API documentation for my Laravel app
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.0
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
import { mapValues } from '../runtime';
|
|
16
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
* @export
|
|
19
|
-
* @interface IndexModelAttributeRequest
|
|
20
|
-
*/
|
|
21
|
-
export interface IndexModelAttributeRequest {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof IndexModelAttributeRequest
|
|
26
|
-
*/
|
|
27
|
-
search?: string;
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {IndexModelAttributeRequestSortByEnum}
|
|
31
|
-
* @memberof IndexModelAttributeRequest
|
|
32
|
-
*/
|
|
33
|
-
sortBy?: IndexModelAttributeRequestSortByEnum;
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
* @type {IndexModelAttributeRequestSortDirectionEnum}
|
|
37
|
-
* @memberof IndexModelAttributeRequest
|
|
38
|
-
*/
|
|
39
|
-
sortDirection?: IndexModelAttributeRequestSortDirectionEnum;
|
|
40
|
-
/**
|
|
41
|
-
*
|
|
42
|
-
* @type {number}
|
|
43
|
-
* @memberof IndexModelAttributeRequest
|
|
44
|
-
*/
|
|
45
|
-
perPage?: number;
|
|
46
|
-
/**
|
|
47
|
-
*
|
|
48
|
-
* @type {number}
|
|
49
|
-
* @memberof IndexModelAttributeRequest
|
|
50
|
-
*/
|
|
51
|
-
page?: number;
|
|
52
|
-
/**
|
|
53
|
-
*
|
|
54
|
-
* @type {Array<string>}
|
|
55
|
-
* @memberof IndexModelAttributeRequest
|
|
56
|
-
*/
|
|
57
|
-
attributableType?: Array<string>;
|
|
58
|
-
/**
|
|
59
|
-
*
|
|
60
|
-
* @type {Array<string>}
|
|
61
|
-
* @memberof IndexModelAttributeRequest
|
|
62
|
-
*/
|
|
63
|
-
attributableId?: Array<string>;
|
|
64
|
-
/**
|
|
65
|
-
*
|
|
66
|
-
* @type {Array<string>}
|
|
67
|
-
* @memberof IndexModelAttributeRequest
|
|
68
|
-
*/
|
|
69
|
-
attributeId?: Array<string>;
|
|
70
|
-
/**
|
|
71
|
-
*
|
|
72
|
-
* @type {number}
|
|
73
|
-
* @memberof IndexModelAttributeRequest
|
|
74
|
-
*/
|
|
75
|
-
relatedId?: number;
|
|
76
|
-
/**
|
|
77
|
-
*
|
|
78
|
-
* @type {IndexModelAttributeRequestRelatedTypeEnum}
|
|
79
|
-
* @memberof IndexModelAttributeRequest
|
|
80
|
-
*/
|
|
81
|
-
relatedType?: IndexModelAttributeRequestRelatedTypeEnum;
|
|
82
|
-
/**
|
|
83
|
-
*
|
|
84
|
-
* @type {boolean}
|
|
85
|
-
* @memberof IndexModelAttributeRequest
|
|
86
|
-
*/
|
|
87
|
-
includesRelations?: boolean;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
/**
|
|
92
|
-
* @export
|
|
93
|
-
*/
|
|
94
|
-
export const IndexModelAttributeRequestSortByEnum = {
|
|
95
|
-
Id: 'id',
|
|
96
|
-
AttributeId: 'attribute_id',
|
|
97
|
-
CreatedAt: 'created_at',
|
|
98
|
-
AttributeName: 'attribute-name'
|
|
99
|
-
} as const;
|
|
100
|
-
export type IndexModelAttributeRequestSortByEnum = typeof IndexModelAttributeRequestSortByEnum[keyof typeof IndexModelAttributeRequestSortByEnum];
|
|
101
|
-
|
|
102
|
-
/**
|
|
103
|
-
* @export
|
|
104
|
-
*/
|
|
105
|
-
export const IndexModelAttributeRequestSortDirectionEnum = {
|
|
106
|
-
Asc: 'asc',
|
|
107
|
-
Desc: 'desc'
|
|
108
|
-
} as const;
|
|
109
|
-
export type IndexModelAttributeRequestSortDirectionEnum = typeof IndexModelAttributeRequestSortDirectionEnum[keyof typeof IndexModelAttributeRequestSortDirectionEnum];
|
|
110
|
-
|
|
111
|
-
/**
|
|
112
|
-
* @export
|
|
113
|
-
*/
|
|
114
|
-
export const IndexModelAttributeRequestRelatedTypeEnum = {
|
|
115
|
-
Category: 'category',
|
|
116
|
-
ProductRange: 'productRange'
|
|
117
|
-
} as const;
|
|
118
|
-
export type IndexModelAttributeRequestRelatedTypeEnum = typeof IndexModelAttributeRequestRelatedTypeEnum[keyof typeof IndexModelAttributeRequestRelatedTypeEnum];
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
/**
|
|
122
|
-
* Check if a given object implements the IndexModelAttributeRequest interface.
|
|
123
|
-
*/
|
|
124
|
-
export function instanceOfIndexModelAttributeRequest(value: object): value is IndexModelAttributeRequest {
|
|
125
|
-
return true;
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
export function IndexModelAttributeRequestFromJSON(json: any): IndexModelAttributeRequest {
|
|
129
|
-
return IndexModelAttributeRequestFromJSONTyped(json, false);
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
export function IndexModelAttributeRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): IndexModelAttributeRequest {
|
|
133
|
-
if (json == null) {
|
|
134
|
-
return json;
|
|
135
|
-
}
|
|
136
|
-
return {
|
|
137
|
-
|
|
138
|
-
'search': json['search'] == null ? undefined : json['search'],
|
|
139
|
-
'sortBy': json['sortBy'] == null ? undefined : json['sortBy'],
|
|
140
|
-
'sortDirection': json['sortDirection'] == null ? undefined : json['sortDirection'],
|
|
141
|
-
'perPage': json['per_page'] == null ? undefined : json['per_page'],
|
|
142
|
-
'page': json['page'] == null ? undefined : json['page'],
|
|
143
|
-
'attributableType': json['attributable_type'] == null ? undefined : json['attributable_type'],
|
|
144
|
-
'attributableId': json['attributable_id'] == null ? undefined : json['attributable_id'],
|
|
145
|
-
'attributeId': json['attribute_id'] == null ? undefined : json['attribute_id'],
|
|
146
|
-
'relatedId': json['related_id'] == null ? undefined : json['related_id'],
|
|
147
|
-
'relatedType': json['related_type'] == null ? undefined : json['related_type'],
|
|
148
|
-
'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
|
|
149
|
-
};
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
export function IndexModelAttributeRequestToJSON(json: any): IndexModelAttributeRequest {
|
|
153
|
-
return IndexModelAttributeRequestToJSONTyped(json, false);
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
export function IndexModelAttributeRequestToJSONTyped(value?: IndexModelAttributeRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
157
|
-
if (value == null) {
|
|
158
|
-
return value;
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
return {
|
|
162
|
-
|
|
163
|
-
'search': value['search'],
|
|
164
|
-
'sortBy': value['sortBy'],
|
|
165
|
-
'sortDirection': value['sortDirection'],
|
|
166
|
-
'per_page': value['perPage'],
|
|
167
|
-
'page': value['page'],
|
|
168
|
-
'attributable_type': value['attributableType'],
|
|
169
|
-
'attributable_id': value['attributableId'],
|
|
170
|
-
'attribute_id': value['attributeId'],
|
|
171
|
-
'related_id': value['relatedId'],
|
|
172
|
-
'related_type': value['relatedType'],
|
|
173
|
-
'includes_relations': value['includesRelations'],
|
|
174
|
-
};
|
|
175
|
-
}
|
|
176
|
-
|
|
@@ -1,167 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* My API
|
|
5
|
-
* API documentation for my Laravel app
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.0
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
import { mapValues } from '../runtime';
|
|
16
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
* @export
|
|
19
|
-
* @interface IndexProductRangeRequest
|
|
20
|
-
*/
|
|
21
|
-
export interface IndexProductRangeRequest {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof IndexProductRangeRequest
|
|
26
|
-
*/
|
|
27
|
-
search?: string;
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {IndexProductRangeRequestSortByEnum}
|
|
31
|
-
* @memberof IndexProductRangeRequest
|
|
32
|
-
*/
|
|
33
|
-
sortBy?: IndexProductRangeRequestSortByEnum;
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
* @type {IndexProductRangeRequestSortDirectionEnum}
|
|
37
|
-
* @memberof IndexProductRangeRequest
|
|
38
|
-
*/
|
|
39
|
-
sortDirection?: IndexProductRangeRequestSortDirectionEnum;
|
|
40
|
-
/**
|
|
41
|
-
*
|
|
42
|
-
* @type {number}
|
|
43
|
-
* @memberof IndexProductRangeRequest
|
|
44
|
-
*/
|
|
45
|
-
perPage?: number;
|
|
46
|
-
/**
|
|
47
|
-
*
|
|
48
|
-
* @type {number}
|
|
49
|
-
* @memberof IndexProductRangeRequest
|
|
50
|
-
*/
|
|
51
|
-
page?: number;
|
|
52
|
-
/**
|
|
53
|
-
*
|
|
54
|
-
* @type {Array<string>}
|
|
55
|
-
* @memberof IndexProductRangeRequest
|
|
56
|
-
*/
|
|
57
|
-
siteDetailsSiteId?: Array<string>;
|
|
58
|
-
/**
|
|
59
|
-
*
|
|
60
|
-
* @type {Array<string>}
|
|
61
|
-
* @memberof IndexProductRangeRequest
|
|
62
|
-
*/
|
|
63
|
-
supplierId?: Array<string>;
|
|
64
|
-
/**
|
|
65
|
-
*
|
|
66
|
-
* @type {Array<string>}
|
|
67
|
-
* @memberof IndexProductRangeRequest
|
|
68
|
-
*/
|
|
69
|
-
siteDetailsCategoriesId?: Array<string>;
|
|
70
|
-
/**
|
|
71
|
-
*
|
|
72
|
-
* @type {number}
|
|
73
|
-
* @memberof IndexProductRangeRequest
|
|
74
|
-
*/
|
|
75
|
-
relatedId?: number;
|
|
76
|
-
/**
|
|
77
|
-
*
|
|
78
|
-
* @type {string}
|
|
79
|
-
* @memberof IndexProductRangeRequest
|
|
80
|
-
*/
|
|
81
|
-
relatedType?: string;
|
|
82
|
-
/**
|
|
83
|
-
*
|
|
84
|
-
* @type {boolean}
|
|
85
|
-
* @memberof IndexProductRangeRequest
|
|
86
|
-
*/
|
|
87
|
-
includesRelations?: boolean;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
/**
|
|
92
|
-
* @export
|
|
93
|
-
*/
|
|
94
|
-
export const IndexProductRangeRequestSortByEnum = {
|
|
95
|
-
Id: 'id',
|
|
96
|
-
Name: 'name',
|
|
97
|
-
CreatedAt: 'created_at',
|
|
98
|
-
UpdatedAt: 'updated_at'
|
|
99
|
-
} as const;
|
|
100
|
-
export type IndexProductRangeRequestSortByEnum = typeof IndexProductRangeRequestSortByEnum[keyof typeof IndexProductRangeRequestSortByEnum];
|
|
101
|
-
|
|
102
|
-
/**
|
|
103
|
-
* @export
|
|
104
|
-
*/
|
|
105
|
-
export const IndexProductRangeRequestSortDirectionEnum = {
|
|
106
|
-
Asc: 'asc',
|
|
107
|
-
Desc: 'desc'
|
|
108
|
-
} as const;
|
|
109
|
-
export type IndexProductRangeRequestSortDirectionEnum = typeof IndexProductRangeRequestSortDirectionEnum[keyof typeof IndexProductRangeRequestSortDirectionEnum];
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
/**
|
|
113
|
-
* Check if a given object implements the IndexProductRangeRequest interface.
|
|
114
|
-
*/
|
|
115
|
-
export function instanceOfIndexProductRangeRequest(value: object): value is IndexProductRangeRequest {
|
|
116
|
-
return true;
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
export function IndexProductRangeRequestFromJSON(json: any): IndexProductRangeRequest {
|
|
120
|
-
return IndexProductRangeRequestFromJSONTyped(json, false);
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
export function IndexProductRangeRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): IndexProductRangeRequest {
|
|
124
|
-
if (json == null) {
|
|
125
|
-
return json;
|
|
126
|
-
}
|
|
127
|
-
return {
|
|
128
|
-
|
|
129
|
-
'search': json['search'] == null ? undefined : json['search'],
|
|
130
|
-
'sortBy': json['sortBy'] == null ? undefined : json['sortBy'],
|
|
131
|
-
'sortDirection': json['sortDirection'] == null ? undefined : json['sortDirection'],
|
|
132
|
-
'perPage': json['per_page'] == null ? undefined : json['per_page'],
|
|
133
|
-
'page': json['page'] == null ? undefined : json['page'],
|
|
134
|
-
'siteDetailsSiteId': json['siteDetails-site_id'] == null ? undefined : json['siteDetails-site_id'],
|
|
135
|
-
'supplierId': json['supplier_id'] == null ? undefined : json['supplier_id'],
|
|
136
|
-
'siteDetailsCategoriesId': json['siteDetails-categories-id'] == null ? undefined : json['siteDetails-categories-id'],
|
|
137
|
-
'relatedId': json['related_id'] == null ? undefined : json['related_id'],
|
|
138
|
-
'relatedType': json['related_type'] == null ? undefined : json['related_type'],
|
|
139
|
-
'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
|
|
140
|
-
};
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
export function IndexProductRangeRequestToJSON(json: any): IndexProductRangeRequest {
|
|
144
|
-
return IndexProductRangeRequestToJSONTyped(json, false);
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
export function IndexProductRangeRequestToJSONTyped(value?: IndexProductRangeRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
148
|
-
if (value == null) {
|
|
149
|
-
return value;
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
return {
|
|
153
|
-
|
|
154
|
-
'search': value['search'],
|
|
155
|
-
'sortBy': value['sortBy'],
|
|
156
|
-
'sortDirection': value['sortDirection'],
|
|
157
|
-
'per_page': value['perPage'],
|
|
158
|
-
'page': value['page'],
|
|
159
|
-
'siteDetails-site_id': value['siteDetailsSiteId'],
|
|
160
|
-
'supplier_id': value['supplierId'],
|
|
161
|
-
'siteDetails-categories-id': value['siteDetailsCategoriesId'],
|
|
162
|
-
'related_id': value['relatedId'],
|
|
163
|
-
'related_type': value['relatedType'],
|
|
164
|
-
'includes_relations': value['includesRelations'],
|
|
165
|
-
};
|
|
166
|
-
}
|
|
167
|
-
|
|
@@ -1,185 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* My API
|
|
5
|
-
* API documentation for my Laravel app
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.0
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
import { mapValues } from '../runtime';
|
|
16
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
* @export
|
|
19
|
-
* @interface IndexProductRegistrationRequest
|
|
20
|
-
*/
|
|
21
|
-
export interface IndexProductRegistrationRequest {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof IndexProductRegistrationRequest
|
|
26
|
-
*/
|
|
27
|
-
search?: string;
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {IndexProductRegistrationRequestSortByEnum}
|
|
31
|
-
* @memberof IndexProductRegistrationRequest
|
|
32
|
-
*/
|
|
33
|
-
sortBy?: IndexProductRegistrationRequestSortByEnum;
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
* @type {IndexProductRegistrationRequestSortDirectionEnum}
|
|
37
|
-
* @memberof IndexProductRegistrationRequest
|
|
38
|
-
*/
|
|
39
|
-
sortDirection?: IndexProductRegistrationRequestSortDirectionEnum;
|
|
40
|
-
/**
|
|
41
|
-
*
|
|
42
|
-
* @type {number}
|
|
43
|
-
* @memberof IndexProductRegistrationRequest
|
|
44
|
-
*/
|
|
45
|
-
perPage?: number;
|
|
46
|
-
/**
|
|
47
|
-
*
|
|
48
|
-
* @type {number}
|
|
49
|
-
* @memberof IndexProductRegistrationRequest
|
|
50
|
-
*/
|
|
51
|
-
page?: number;
|
|
52
|
-
/**
|
|
53
|
-
*
|
|
54
|
-
* @type {Date}
|
|
55
|
-
* @memberof IndexProductRegistrationRequest
|
|
56
|
-
*/
|
|
57
|
-
beforePurchasedDate?: Date;
|
|
58
|
-
/**
|
|
59
|
-
*
|
|
60
|
-
* @type {Date}
|
|
61
|
-
* @memberof IndexProductRegistrationRequest
|
|
62
|
-
*/
|
|
63
|
-
afterPurchasedDate?: Date;
|
|
64
|
-
/**
|
|
65
|
-
*
|
|
66
|
-
* @type {Date}
|
|
67
|
-
* @memberof IndexProductRegistrationRequest
|
|
68
|
-
*/
|
|
69
|
-
beforeCreatedAt?: Date;
|
|
70
|
-
/**
|
|
71
|
-
*
|
|
72
|
-
* @type {Date}
|
|
73
|
-
* @memberof IndexProductRegistrationRequest
|
|
74
|
-
*/
|
|
75
|
-
afterCreatedAt?: Date;
|
|
76
|
-
/**
|
|
77
|
-
*
|
|
78
|
-
* @type {number}
|
|
79
|
-
* @memberof IndexProductRegistrationRequest
|
|
80
|
-
*/
|
|
81
|
-
relatedId?: number;
|
|
82
|
-
/**
|
|
83
|
-
*
|
|
84
|
-
* @type {IndexProductRegistrationRequestRelatedTypeEnum}
|
|
85
|
-
* @memberof IndexProductRegistrationRequest
|
|
86
|
-
*/
|
|
87
|
-
relatedType?: IndexProductRegistrationRequestRelatedTypeEnum;
|
|
88
|
-
/**
|
|
89
|
-
*
|
|
90
|
-
* @type {boolean}
|
|
91
|
-
* @memberof IndexProductRegistrationRequest
|
|
92
|
-
*/
|
|
93
|
-
includesRelations?: boolean;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
/**
|
|
98
|
-
* @export
|
|
99
|
-
*/
|
|
100
|
-
export const IndexProductRegistrationRequestSortByEnum = {
|
|
101
|
-
Id: 'id',
|
|
102
|
-
CustomerName: 'customer-name',
|
|
103
|
-
CustomerEmail: 'customer-email',
|
|
104
|
-
CustomerPhone: 'customer-phone',
|
|
105
|
-
CreatedAt: 'created_at',
|
|
106
|
-
PurchasedDate: 'purchased_date'
|
|
107
|
-
} as const;
|
|
108
|
-
export type IndexProductRegistrationRequestSortByEnum = typeof IndexProductRegistrationRequestSortByEnum[keyof typeof IndexProductRegistrationRequestSortByEnum];
|
|
109
|
-
|
|
110
|
-
/**
|
|
111
|
-
* @export
|
|
112
|
-
*/
|
|
113
|
-
export const IndexProductRegistrationRequestSortDirectionEnum = {
|
|
114
|
-
Asc: 'asc',
|
|
115
|
-
Desc: 'desc'
|
|
116
|
-
} as const;
|
|
117
|
-
export type IndexProductRegistrationRequestSortDirectionEnum = typeof IndexProductRegistrationRequestSortDirectionEnum[keyof typeof IndexProductRegistrationRequestSortDirectionEnum];
|
|
118
|
-
|
|
119
|
-
/**
|
|
120
|
-
* @export
|
|
121
|
-
*/
|
|
122
|
-
export const IndexProductRegistrationRequestRelatedTypeEnum = {
|
|
123
|
-
ProductChild: 'productChild'
|
|
124
|
-
} as const;
|
|
125
|
-
export type IndexProductRegistrationRequestRelatedTypeEnum = typeof IndexProductRegistrationRequestRelatedTypeEnum[keyof typeof IndexProductRegistrationRequestRelatedTypeEnum];
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
/**
|
|
129
|
-
* Check if a given object implements the IndexProductRegistrationRequest interface.
|
|
130
|
-
*/
|
|
131
|
-
export function instanceOfIndexProductRegistrationRequest(value: object): value is IndexProductRegistrationRequest {
|
|
132
|
-
return true;
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
export function IndexProductRegistrationRequestFromJSON(json: any): IndexProductRegistrationRequest {
|
|
136
|
-
return IndexProductRegistrationRequestFromJSONTyped(json, false);
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
export function IndexProductRegistrationRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): IndexProductRegistrationRequest {
|
|
140
|
-
if (json == null) {
|
|
141
|
-
return json;
|
|
142
|
-
}
|
|
143
|
-
return {
|
|
144
|
-
|
|
145
|
-
'search': json['search'] == null ? undefined : json['search'],
|
|
146
|
-
'sortBy': json['sortBy'] == null ? undefined : json['sortBy'],
|
|
147
|
-
'sortDirection': json['sortDirection'] == null ? undefined : json['sortDirection'],
|
|
148
|
-
'perPage': json['per_page'] == null ? undefined : json['per_page'],
|
|
149
|
-
'page': json['page'] == null ? undefined : json['page'],
|
|
150
|
-
'beforePurchasedDate': json['before_purchased_date'] == null ? undefined : (new Date(json['before_purchased_date'])),
|
|
151
|
-
'afterPurchasedDate': json['after_purchased_date'] == null ? undefined : (new Date(json['after_purchased_date'])),
|
|
152
|
-
'beforeCreatedAt': json['before_created_at'] == null ? undefined : (new Date(json['before_created_at'])),
|
|
153
|
-
'afterCreatedAt': json['after_created_at'] == null ? undefined : (new Date(json['after_created_at'])),
|
|
154
|
-
'relatedId': json['related_id'] == null ? undefined : json['related_id'],
|
|
155
|
-
'relatedType': json['related_type'] == null ? undefined : json['related_type'],
|
|
156
|
-
'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
|
|
157
|
-
};
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
export function IndexProductRegistrationRequestToJSON(json: any): IndexProductRegistrationRequest {
|
|
161
|
-
return IndexProductRegistrationRequestToJSONTyped(json, false);
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
export function IndexProductRegistrationRequestToJSONTyped(value?: IndexProductRegistrationRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
165
|
-
if (value == null) {
|
|
166
|
-
return value;
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
return {
|
|
170
|
-
|
|
171
|
-
'search': value['search'],
|
|
172
|
-
'sortBy': value['sortBy'],
|
|
173
|
-
'sortDirection': value['sortDirection'],
|
|
174
|
-
'per_page': value['perPage'],
|
|
175
|
-
'page': value['page'],
|
|
176
|
-
'before_purchased_date': value['beforePurchasedDate'] == null ? value['beforePurchasedDate'] : value['beforePurchasedDate'].toISOString(),
|
|
177
|
-
'after_purchased_date': value['afterPurchasedDate'] == null ? value['afterPurchasedDate'] : value['afterPurchasedDate'].toISOString(),
|
|
178
|
-
'before_created_at': value['beforeCreatedAt'] == null ? value['beforeCreatedAt'] : value['beforeCreatedAt'].toISOString(),
|
|
179
|
-
'after_created_at': value['afterCreatedAt'] == null ? value['afterCreatedAt'] : value['afterCreatedAt'].toISOString(),
|
|
180
|
-
'related_id': value['relatedId'],
|
|
181
|
-
'related_type': value['relatedType'],
|
|
182
|
-
'includes_relations': value['includesRelations'],
|
|
183
|
-
};
|
|
184
|
-
}
|
|
185
|
-
|
|
@@ -1,158 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* My API
|
|
5
|
-
* API documentation for my Laravel app
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.0
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
import { mapValues } from '../runtime';
|
|
16
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
* @export
|
|
19
|
-
* @interface ListAssetsProductRegistrationRequest
|
|
20
|
-
*/
|
|
21
|
-
export interface ListAssetsProductRegistrationRequest {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof ListAssetsProductRegistrationRequest
|
|
26
|
-
*/
|
|
27
|
-
search?: string;
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {ListAssetsProductRegistrationRequestSortByEnum}
|
|
31
|
-
* @memberof ListAssetsProductRegistrationRequest
|
|
32
|
-
*/
|
|
33
|
-
sortBy?: ListAssetsProductRegistrationRequestSortByEnum;
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
* @type {ListAssetsProductRegistrationRequestSortDirectionEnum}
|
|
37
|
-
* @memberof ListAssetsProductRegistrationRequest
|
|
38
|
-
*/
|
|
39
|
-
sortDirection?: ListAssetsProductRegistrationRequestSortDirectionEnum;
|
|
40
|
-
/**
|
|
41
|
-
*
|
|
42
|
-
* @type {number}
|
|
43
|
-
* @memberof ListAssetsProductRegistrationRequest
|
|
44
|
-
*/
|
|
45
|
-
perPage?: number;
|
|
46
|
-
/**
|
|
47
|
-
*
|
|
48
|
-
* @type {number}
|
|
49
|
-
* @memberof ListAssetsProductRegistrationRequest
|
|
50
|
-
*/
|
|
51
|
-
page?: number;
|
|
52
|
-
/**
|
|
53
|
-
*
|
|
54
|
-
* @type {Array<string>}
|
|
55
|
-
* @memberof ListAssetsProductRegistrationRequest
|
|
56
|
-
*/
|
|
57
|
-
productRegistrationId?: Array<string>;
|
|
58
|
-
/**
|
|
59
|
-
*
|
|
60
|
-
* @type {Array<string>}
|
|
61
|
-
* @memberof ListAssetsProductRegistrationRequest
|
|
62
|
-
*/
|
|
63
|
-
type?: Array<string>;
|
|
64
|
-
/**
|
|
65
|
-
*
|
|
66
|
-
* @type {number}
|
|
67
|
-
* @memberof ListAssetsProductRegistrationRequest
|
|
68
|
-
*/
|
|
69
|
-
relatedId?: number;
|
|
70
|
-
/**
|
|
71
|
-
*
|
|
72
|
-
* @type {string}
|
|
73
|
-
* @memberof ListAssetsProductRegistrationRequest
|
|
74
|
-
*/
|
|
75
|
-
relatedType?: string;
|
|
76
|
-
/**
|
|
77
|
-
*
|
|
78
|
-
* @type {boolean}
|
|
79
|
-
* @memberof ListAssetsProductRegistrationRequest
|
|
80
|
-
*/
|
|
81
|
-
includesRelations?: boolean;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
/**
|
|
86
|
-
* @export
|
|
87
|
-
*/
|
|
88
|
-
export const ListAssetsProductRegistrationRequestSortByEnum = {
|
|
89
|
-
Id: 'id',
|
|
90
|
-
Type: 'type',
|
|
91
|
-
CreatedAt: 'created_at'
|
|
92
|
-
} as const;
|
|
93
|
-
export type ListAssetsProductRegistrationRequestSortByEnum = typeof ListAssetsProductRegistrationRequestSortByEnum[keyof typeof ListAssetsProductRegistrationRequestSortByEnum];
|
|
94
|
-
|
|
95
|
-
/**
|
|
96
|
-
* @export
|
|
97
|
-
*/
|
|
98
|
-
export const ListAssetsProductRegistrationRequestSortDirectionEnum = {
|
|
99
|
-
Asc: 'asc',
|
|
100
|
-
Desc: 'desc'
|
|
101
|
-
} as const;
|
|
102
|
-
export type ListAssetsProductRegistrationRequestSortDirectionEnum = typeof ListAssetsProductRegistrationRequestSortDirectionEnum[keyof typeof ListAssetsProductRegistrationRequestSortDirectionEnum];
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
/**
|
|
106
|
-
* Check if a given object implements the ListAssetsProductRegistrationRequest interface.
|
|
107
|
-
*/
|
|
108
|
-
export function instanceOfListAssetsProductRegistrationRequest(value: object): value is ListAssetsProductRegistrationRequest {
|
|
109
|
-
return true;
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
export function ListAssetsProductRegistrationRequestFromJSON(json: any): ListAssetsProductRegistrationRequest {
|
|
113
|
-
return ListAssetsProductRegistrationRequestFromJSONTyped(json, false);
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
export function ListAssetsProductRegistrationRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListAssetsProductRegistrationRequest {
|
|
117
|
-
if (json == null) {
|
|
118
|
-
return json;
|
|
119
|
-
}
|
|
120
|
-
return {
|
|
121
|
-
|
|
122
|
-
'search': json['search'] == null ? undefined : json['search'],
|
|
123
|
-
'sortBy': json['sortBy'] == null ? undefined : json['sortBy'],
|
|
124
|
-
'sortDirection': json['sortDirection'] == null ? undefined : json['sortDirection'],
|
|
125
|
-
'perPage': json['per_page'] == null ? undefined : json['per_page'],
|
|
126
|
-
'page': json['page'] == null ? undefined : json['page'],
|
|
127
|
-
'productRegistrationId': json['product_registration_id'] == null ? undefined : json['product_registration_id'],
|
|
128
|
-
'type': json['type'] == null ? undefined : json['type'],
|
|
129
|
-
'relatedId': json['related_id'] == null ? undefined : json['related_id'],
|
|
130
|
-
'relatedType': json['related_type'] == null ? undefined : json['related_type'],
|
|
131
|
-
'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
|
|
132
|
-
};
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
export function ListAssetsProductRegistrationRequestToJSON(json: any): ListAssetsProductRegistrationRequest {
|
|
136
|
-
return ListAssetsProductRegistrationRequestToJSONTyped(json, false);
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
export function ListAssetsProductRegistrationRequestToJSONTyped(value?: ListAssetsProductRegistrationRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
140
|
-
if (value == null) {
|
|
141
|
-
return value;
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
return {
|
|
145
|
-
|
|
146
|
-
'search': value['search'],
|
|
147
|
-
'sortBy': value['sortBy'],
|
|
148
|
-
'sortDirection': value['sortDirection'],
|
|
149
|
-
'per_page': value['perPage'],
|
|
150
|
-
'page': value['page'],
|
|
151
|
-
'product_registration_id': value['productRegistrationId'],
|
|
152
|
-
'type': value['type'],
|
|
153
|
-
'related_id': value['relatedId'],
|
|
154
|
-
'related_type': value['relatedType'],
|
|
155
|
-
'includes_relations': value['includesRelations'],
|
|
156
|
-
};
|
|
157
|
-
}
|
|
158
|
-
|