@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,73 +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
|
-
import type { ProductRegistrationListResource } from './ProductRegistrationListResource';
|
|
17
|
-
import {
|
|
18
|
-
ProductRegistrationListResourceFromJSON,
|
|
19
|
-
ProductRegistrationListResourceFromJSONTyped,
|
|
20
|
-
ProductRegistrationListResourceToJSON,
|
|
21
|
-
ProductRegistrationListResourceToJSONTyped,
|
|
22
|
-
} from './ProductRegistrationListResource';
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @export
|
|
27
|
-
* @interface ProductRegistrationListResourceArrayResponse
|
|
28
|
-
*/
|
|
29
|
-
export interface ProductRegistrationListResourceArrayResponse {
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {Array<ProductRegistrationListResource>}
|
|
33
|
-
* @memberof ProductRegistrationListResourceArrayResponse
|
|
34
|
-
*/
|
|
35
|
-
data?: Array<ProductRegistrationListResource>;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
/**
|
|
39
|
-
* Check if a given object implements the ProductRegistrationListResourceArrayResponse interface.
|
|
40
|
-
*/
|
|
41
|
-
export function instanceOfProductRegistrationListResourceArrayResponse(value: object): value is ProductRegistrationListResourceArrayResponse {
|
|
42
|
-
return true;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
export function ProductRegistrationListResourceArrayResponseFromJSON(json: any): ProductRegistrationListResourceArrayResponse {
|
|
46
|
-
return ProductRegistrationListResourceArrayResponseFromJSONTyped(json, false);
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
export function ProductRegistrationListResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductRegistrationListResourceArrayResponse {
|
|
50
|
-
if (json == null) {
|
|
51
|
-
return json;
|
|
52
|
-
}
|
|
53
|
-
return {
|
|
54
|
-
|
|
55
|
-
'data': json['data'] == null ? undefined : ((json['data'] as Array<any>).map(ProductRegistrationListResourceFromJSON)),
|
|
56
|
-
};
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
export function ProductRegistrationListResourceArrayResponseToJSON(json: any): ProductRegistrationListResourceArrayResponse {
|
|
60
|
-
return ProductRegistrationListResourceArrayResponseToJSONTyped(json, false);
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
export function ProductRegistrationListResourceArrayResponseToJSONTyped(value?: ProductRegistrationListResourceArrayResponse | null, ignoreDiscriminator: boolean = false): any {
|
|
64
|
-
if (value == null) {
|
|
65
|
-
return value;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
return {
|
|
69
|
-
|
|
70
|
-
'data': value['data'] == null ? undefined : ((value['data'] as Array<any>).map(ProductRegistrationListResourceToJSON)),
|
|
71
|
-
};
|
|
72
|
-
}
|
|
73
|
-
|
|
@@ -1,74 +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 ProductRegistrationLiteResource
|
|
20
|
-
*/
|
|
21
|
-
export interface ProductRegistrationLiteResource {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {number}
|
|
25
|
-
* @memberof ProductRegistrationLiteResource
|
|
26
|
-
*/
|
|
27
|
-
id?: number | null;
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof ProductRegistrationLiteResource
|
|
32
|
-
*/
|
|
33
|
-
purchasedDate: string;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
/**
|
|
37
|
-
* Check if a given object implements the ProductRegistrationLiteResource interface.
|
|
38
|
-
*/
|
|
39
|
-
export function instanceOfProductRegistrationLiteResource(value: object): value is ProductRegistrationLiteResource {
|
|
40
|
-
if (!('purchasedDate' in value) || value['purchasedDate'] === undefined) return false;
|
|
41
|
-
return true;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
export function ProductRegistrationLiteResourceFromJSON(json: any): ProductRegistrationLiteResource {
|
|
45
|
-
return ProductRegistrationLiteResourceFromJSONTyped(json, false);
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
export function ProductRegistrationLiteResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductRegistrationLiteResource {
|
|
49
|
-
if (json == null) {
|
|
50
|
-
return json;
|
|
51
|
-
}
|
|
52
|
-
return {
|
|
53
|
-
|
|
54
|
-
'id': json['id'] == null ? undefined : json['id'],
|
|
55
|
-
'purchasedDate': json['purchasedDate'],
|
|
56
|
-
};
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
export function ProductRegistrationLiteResourceToJSON(json: any): ProductRegistrationLiteResource {
|
|
60
|
-
return ProductRegistrationLiteResourceToJSONTyped(json, false);
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
export function ProductRegistrationLiteResourceToJSONTyped(value?: ProductRegistrationLiteResource | null, ignoreDiscriminator: boolean = false): any {
|
|
64
|
-
if (value == null) {
|
|
65
|
-
return value;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
return {
|
|
69
|
-
|
|
70
|
-
'id': value['id'],
|
|
71
|
-
'purchasedDate': value['purchasedDate'],
|
|
72
|
-
};
|
|
73
|
-
}
|
|
74
|
-
|
|
@@ -1,73 +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
|
-
import type { ProductRegistrationLiteResource } from './ProductRegistrationLiteResource';
|
|
17
|
-
import {
|
|
18
|
-
ProductRegistrationLiteResourceFromJSON,
|
|
19
|
-
ProductRegistrationLiteResourceFromJSONTyped,
|
|
20
|
-
ProductRegistrationLiteResourceToJSON,
|
|
21
|
-
ProductRegistrationLiteResourceToJSONTyped,
|
|
22
|
-
} from './ProductRegistrationLiteResource';
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @export
|
|
27
|
-
* @interface ProductRegistrationLiteResourceArrayResponse
|
|
28
|
-
*/
|
|
29
|
-
export interface ProductRegistrationLiteResourceArrayResponse {
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {Array<ProductRegistrationLiteResource>}
|
|
33
|
-
* @memberof ProductRegistrationLiteResourceArrayResponse
|
|
34
|
-
*/
|
|
35
|
-
data?: Array<ProductRegistrationLiteResource>;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
/**
|
|
39
|
-
* Check if a given object implements the ProductRegistrationLiteResourceArrayResponse interface.
|
|
40
|
-
*/
|
|
41
|
-
export function instanceOfProductRegistrationLiteResourceArrayResponse(value: object): value is ProductRegistrationLiteResourceArrayResponse {
|
|
42
|
-
return true;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
export function ProductRegistrationLiteResourceArrayResponseFromJSON(json: any): ProductRegistrationLiteResourceArrayResponse {
|
|
46
|
-
return ProductRegistrationLiteResourceArrayResponseFromJSONTyped(json, false);
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
export function ProductRegistrationLiteResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductRegistrationLiteResourceArrayResponse {
|
|
50
|
-
if (json == null) {
|
|
51
|
-
return json;
|
|
52
|
-
}
|
|
53
|
-
return {
|
|
54
|
-
|
|
55
|
-
'data': json['data'] == null ? undefined : ((json['data'] as Array<any>).map(ProductRegistrationLiteResourceFromJSON)),
|
|
56
|
-
};
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
export function ProductRegistrationLiteResourceArrayResponseToJSON(json: any): ProductRegistrationLiteResourceArrayResponse {
|
|
60
|
-
return ProductRegistrationLiteResourceArrayResponseToJSONTyped(json, false);
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
export function ProductRegistrationLiteResourceArrayResponseToJSONTyped(value?: ProductRegistrationLiteResourceArrayResponse | null, ignoreDiscriminator: boolean = false): any {
|
|
64
|
-
if (value == null) {
|
|
65
|
-
return value;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
return {
|
|
69
|
-
|
|
70
|
-
'data': value['data'] == null ? undefined : ((value['data'] as Array<any>).map(ProductRegistrationLiteResourceToJSON)),
|
|
71
|
-
};
|
|
72
|
-
}
|
|
73
|
-
|
|
@@ -1,141 +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
|
-
import type { AddressResource } from './AddressResource';
|
|
17
|
-
import {
|
|
18
|
-
AddressResourceFromJSON,
|
|
19
|
-
AddressResourceFromJSONTyped,
|
|
20
|
-
AddressResourceToJSON,
|
|
21
|
-
AddressResourceToJSONTyped,
|
|
22
|
-
} from './AddressResource';
|
|
23
|
-
import type { ProductRegistrationCustomerResource } from './ProductRegistrationCustomerResource';
|
|
24
|
-
import {
|
|
25
|
-
ProductRegistrationCustomerResourceFromJSON,
|
|
26
|
-
ProductRegistrationCustomerResourceFromJSONTyped,
|
|
27
|
-
ProductRegistrationCustomerResourceToJSON,
|
|
28
|
-
ProductRegistrationCustomerResourceToJSONTyped,
|
|
29
|
-
} from './ProductRegistrationCustomerResource';
|
|
30
|
-
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
* @export
|
|
34
|
-
* @interface ProductRegistrationResource
|
|
35
|
-
*/
|
|
36
|
-
export interface ProductRegistrationResource {
|
|
37
|
-
/**
|
|
38
|
-
*
|
|
39
|
-
* @type {number}
|
|
40
|
-
* @memberof ProductRegistrationResource
|
|
41
|
-
*/
|
|
42
|
-
id?: number | null;
|
|
43
|
-
/**
|
|
44
|
-
*
|
|
45
|
-
* @type {string}
|
|
46
|
-
* @memberof ProductRegistrationResource
|
|
47
|
-
*/
|
|
48
|
-
purchasedDate: string;
|
|
49
|
-
/**
|
|
50
|
-
*
|
|
51
|
-
* @type {ProductRegistrationCustomerResource}
|
|
52
|
-
* @memberof ProductRegistrationResource
|
|
53
|
-
*/
|
|
54
|
-
customer: ProductRegistrationCustomerResource | null;
|
|
55
|
-
/**
|
|
56
|
-
*
|
|
57
|
-
* @type {AddressResource}
|
|
58
|
-
* @memberof ProductRegistrationResource
|
|
59
|
-
*/
|
|
60
|
-
address: AddressResource | null;
|
|
61
|
-
/**
|
|
62
|
-
*
|
|
63
|
-
* @type {object}
|
|
64
|
-
* @memberof ProductRegistrationResource
|
|
65
|
-
*/
|
|
66
|
-
productChildren: object;
|
|
67
|
-
/**
|
|
68
|
-
*
|
|
69
|
-
* @type {object}
|
|
70
|
-
* @memberof ProductRegistrationResource
|
|
71
|
-
*/
|
|
72
|
-
assets: object;
|
|
73
|
-
/**
|
|
74
|
-
*
|
|
75
|
-
* @type {string}
|
|
76
|
-
* @memberof ProductRegistrationResource
|
|
77
|
-
*/
|
|
78
|
-
createdAt?: string | null;
|
|
79
|
-
/**
|
|
80
|
-
*
|
|
81
|
-
* @type {string}
|
|
82
|
-
* @memberof ProductRegistrationResource
|
|
83
|
-
*/
|
|
84
|
-
updatedAt?: string | null;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
/**
|
|
88
|
-
* Check if a given object implements the ProductRegistrationResource interface.
|
|
89
|
-
*/
|
|
90
|
-
export function instanceOfProductRegistrationResource(value: object): value is ProductRegistrationResource {
|
|
91
|
-
if (!('purchasedDate' in value) || value['purchasedDate'] === undefined) return false;
|
|
92
|
-
if (!('customer' in value) || value['customer'] === undefined) return false;
|
|
93
|
-
if (!('address' in value) || value['address'] === undefined) return false;
|
|
94
|
-
if (!('productChildren' in value) || value['productChildren'] === undefined) return false;
|
|
95
|
-
if (!('assets' in value) || value['assets'] === undefined) return false;
|
|
96
|
-
return true;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
export function ProductRegistrationResourceFromJSON(json: any): ProductRegistrationResource {
|
|
100
|
-
return ProductRegistrationResourceFromJSONTyped(json, false);
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
export function ProductRegistrationResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductRegistrationResource {
|
|
104
|
-
if (json == null) {
|
|
105
|
-
return json;
|
|
106
|
-
}
|
|
107
|
-
return {
|
|
108
|
-
|
|
109
|
-
'id': json['id'] == null ? undefined : json['id'],
|
|
110
|
-
'purchasedDate': json['purchasedDate'],
|
|
111
|
-
'customer': ProductRegistrationCustomerResourceFromJSON(json['customer']),
|
|
112
|
-
'address': AddressResourceFromJSON(json['address']),
|
|
113
|
-
'productChildren': json['productChildren'],
|
|
114
|
-
'assets': json['assets'],
|
|
115
|
-
'createdAt': json['createdAt'] == null ? undefined : json['createdAt'],
|
|
116
|
-
'updatedAt': json['updatedAt'] == null ? undefined : json['updatedAt'],
|
|
117
|
-
};
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
export function ProductRegistrationResourceToJSON(json: any): ProductRegistrationResource {
|
|
121
|
-
return ProductRegistrationResourceToJSONTyped(json, false);
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
export function ProductRegistrationResourceToJSONTyped(value?: ProductRegistrationResource | null, ignoreDiscriminator: boolean = false): any {
|
|
125
|
-
if (value == null) {
|
|
126
|
-
return value;
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
return {
|
|
130
|
-
|
|
131
|
-
'id': value['id'],
|
|
132
|
-
'purchasedDate': value['purchasedDate'],
|
|
133
|
-
'customer': ProductRegistrationCustomerResourceToJSON(value['customer']),
|
|
134
|
-
'address': AddressResourceToJSON(value['address']),
|
|
135
|
-
'productChildren': value['productChildren'],
|
|
136
|
-
'assets': value['assets'],
|
|
137
|
-
'createdAt': value['createdAt'],
|
|
138
|
-
'updatedAt': value['updatedAt'],
|
|
139
|
-
};
|
|
140
|
-
}
|
|
141
|
-
|
|
@@ -1,73 +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
|
-
import type { ProductRegistrationResource } from './ProductRegistrationResource';
|
|
17
|
-
import {
|
|
18
|
-
ProductRegistrationResourceFromJSON,
|
|
19
|
-
ProductRegistrationResourceFromJSONTyped,
|
|
20
|
-
ProductRegistrationResourceToJSON,
|
|
21
|
-
ProductRegistrationResourceToJSONTyped,
|
|
22
|
-
} from './ProductRegistrationResource';
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @export
|
|
27
|
-
* @interface ProductRegistrationResourceArrayResponse
|
|
28
|
-
*/
|
|
29
|
-
export interface ProductRegistrationResourceArrayResponse {
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {Array<ProductRegistrationResource>}
|
|
33
|
-
* @memberof ProductRegistrationResourceArrayResponse
|
|
34
|
-
*/
|
|
35
|
-
data?: Array<ProductRegistrationResource>;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
/**
|
|
39
|
-
* Check if a given object implements the ProductRegistrationResourceArrayResponse interface.
|
|
40
|
-
*/
|
|
41
|
-
export function instanceOfProductRegistrationResourceArrayResponse(value: object): value is ProductRegistrationResourceArrayResponse {
|
|
42
|
-
return true;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
export function ProductRegistrationResourceArrayResponseFromJSON(json: any): ProductRegistrationResourceArrayResponse {
|
|
46
|
-
return ProductRegistrationResourceArrayResponseFromJSONTyped(json, false);
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
export function ProductRegistrationResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductRegistrationResourceArrayResponse {
|
|
50
|
-
if (json == null) {
|
|
51
|
-
return json;
|
|
52
|
-
}
|
|
53
|
-
return {
|
|
54
|
-
|
|
55
|
-
'data': json['data'] == null ? undefined : ((json['data'] as Array<any>).map(ProductRegistrationResourceFromJSON)),
|
|
56
|
-
};
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
export function ProductRegistrationResourceArrayResponseToJSON(json: any): ProductRegistrationResourceArrayResponse {
|
|
60
|
-
return ProductRegistrationResourceArrayResponseToJSONTyped(json, false);
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
export function ProductRegistrationResourceArrayResponseToJSONTyped(value?: ProductRegistrationResourceArrayResponse | null, ignoreDiscriminator: boolean = false): any {
|
|
64
|
-
if (value == null) {
|
|
65
|
-
return value;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
return {
|
|
69
|
-
|
|
70
|
-
'data': value['data'] == null ? undefined : ((value['data'] as Array<any>).map(ProductRegistrationResourceToJSON)),
|
|
71
|
-
};
|
|
72
|
-
}
|
|
73
|
-
|
|
@@ -1,105 +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
|
-
import type { StoreProductChildRequestAssetsInner } from './StoreProductChildRequestAssetsInner';
|
|
17
|
-
import {
|
|
18
|
-
StoreProductChildRequestAssetsInnerFromJSON,
|
|
19
|
-
StoreProductChildRequestAssetsInnerFromJSONTyped,
|
|
20
|
-
StoreProductChildRequestAssetsInnerToJSON,
|
|
21
|
-
StoreProductChildRequestAssetsInnerToJSONTyped,
|
|
22
|
-
} from './StoreProductChildRequestAssetsInner';
|
|
23
|
-
import type { StoreProductRangeRequestSitesInner } from './StoreProductRangeRequestSitesInner';
|
|
24
|
-
import {
|
|
25
|
-
StoreProductRangeRequestSitesInnerFromJSON,
|
|
26
|
-
StoreProductRangeRequestSitesInnerFromJSONTyped,
|
|
27
|
-
StoreProductRangeRequestSitesInnerToJSON,
|
|
28
|
-
StoreProductRangeRequestSitesInnerToJSONTyped,
|
|
29
|
-
} from './StoreProductRangeRequestSitesInner';
|
|
30
|
-
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
* @export
|
|
34
|
-
* @interface StoreProductRangeRequest
|
|
35
|
-
*/
|
|
36
|
-
export interface StoreProductRangeRequest {
|
|
37
|
-
/**
|
|
38
|
-
*
|
|
39
|
-
* @type {string}
|
|
40
|
-
* @memberof StoreProductRangeRequest
|
|
41
|
-
*/
|
|
42
|
-
name: string;
|
|
43
|
-
/**
|
|
44
|
-
*
|
|
45
|
-
* @type {number}
|
|
46
|
-
* @memberof StoreProductRangeRequest
|
|
47
|
-
*/
|
|
48
|
-
supplierId?: number;
|
|
49
|
-
/**
|
|
50
|
-
*
|
|
51
|
-
* @type {Array<StoreProductRangeRequestSitesInner>}
|
|
52
|
-
* @memberof StoreProductRangeRequest
|
|
53
|
-
*/
|
|
54
|
-
sites?: Array<StoreProductRangeRequestSitesInner>;
|
|
55
|
-
/**
|
|
56
|
-
*
|
|
57
|
-
* @type {Array<StoreProductChildRequestAssetsInner>}
|
|
58
|
-
* @memberof StoreProductRangeRequest
|
|
59
|
-
*/
|
|
60
|
-
assets?: Array<StoreProductChildRequestAssetsInner>;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
/**
|
|
64
|
-
* Check if a given object implements the StoreProductRangeRequest interface.
|
|
65
|
-
*/
|
|
66
|
-
export function instanceOfStoreProductRangeRequest(value: object): value is StoreProductRangeRequest {
|
|
67
|
-
if (!('name' in value) || value['name'] === undefined) return false;
|
|
68
|
-
return true;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
export function StoreProductRangeRequestFromJSON(json: any): StoreProductRangeRequest {
|
|
72
|
-
return StoreProductRangeRequestFromJSONTyped(json, false);
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
export function StoreProductRangeRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): StoreProductRangeRequest {
|
|
76
|
-
if (json == null) {
|
|
77
|
-
return json;
|
|
78
|
-
}
|
|
79
|
-
return {
|
|
80
|
-
|
|
81
|
-
'name': json['name'],
|
|
82
|
-
'supplierId': json['supplier_id'] == null ? undefined : json['supplier_id'],
|
|
83
|
-
'sites': json['sites'] == null ? undefined : ((json['sites'] as Array<any>).map(StoreProductRangeRequestSitesInnerFromJSON)),
|
|
84
|
-
'assets': json['assets'] == null ? undefined : ((json['assets'] as Array<any>).map(StoreProductChildRequestAssetsInnerFromJSON)),
|
|
85
|
-
};
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
export function StoreProductRangeRequestToJSON(json: any): StoreProductRangeRequest {
|
|
89
|
-
return StoreProductRangeRequestToJSONTyped(json, false);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
export function StoreProductRangeRequestToJSONTyped(value?: StoreProductRangeRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
93
|
-
if (value == null) {
|
|
94
|
-
return value;
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
return {
|
|
98
|
-
|
|
99
|
-
'name': value['name'],
|
|
100
|
-
'supplier_id': value['supplierId'],
|
|
101
|
-
'sites': value['sites'] == null ? undefined : ((value['sites'] as Array<any>).map(StoreProductRangeRequestSitesInnerToJSON)),
|
|
102
|
-
'assets': value['assets'] == null ? undefined : ((value['assets'] as Array<any>).map(StoreProductChildRequestAssetsInnerToJSON)),
|
|
103
|
-
};
|
|
104
|
-
}
|
|
105
|
-
|
|
@@ -1,148 +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 StoreProductRangeRequestSitesInner
|
|
20
|
-
*/
|
|
21
|
-
export interface StoreProductRangeRequestSitesInner {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {number}
|
|
25
|
-
* @memberof StoreProductRangeRequestSitesInner
|
|
26
|
-
*/
|
|
27
|
-
siteId: number;
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof StoreProductRangeRequestSitesInner
|
|
32
|
-
*/
|
|
33
|
-
name: string;
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
* @type {string}
|
|
37
|
-
* @memberof StoreProductRangeRequestSitesInner
|
|
38
|
-
*/
|
|
39
|
-
slug: string;
|
|
40
|
-
/**
|
|
41
|
-
*
|
|
42
|
-
* @type {string}
|
|
43
|
-
* @memberof StoreProductRangeRequestSitesInner
|
|
44
|
-
*/
|
|
45
|
-
description?: string;
|
|
46
|
-
/**
|
|
47
|
-
*
|
|
48
|
-
* @type {string}
|
|
49
|
-
* @memberof StoreProductRangeRequestSitesInner
|
|
50
|
-
*/
|
|
51
|
-
content?: string;
|
|
52
|
-
/**
|
|
53
|
-
*
|
|
54
|
-
* @type {string}
|
|
55
|
-
* @memberof StoreProductRangeRequestSitesInner
|
|
56
|
-
*/
|
|
57
|
-
excerpt?: string;
|
|
58
|
-
/**
|
|
59
|
-
*
|
|
60
|
-
* @type {number}
|
|
61
|
-
* @memberof StoreProductRangeRequestSitesInner
|
|
62
|
-
*/
|
|
63
|
-
popularityScore?: number;
|
|
64
|
-
/**
|
|
65
|
-
*
|
|
66
|
-
* @type {boolean}
|
|
67
|
-
* @memberof StoreProductRangeRequestSitesInner
|
|
68
|
-
*/
|
|
69
|
-
isDisabled?: boolean;
|
|
70
|
-
/**
|
|
71
|
-
*
|
|
72
|
-
* @type {Array<number>}
|
|
73
|
-
* @memberof StoreProductRangeRequestSitesInner
|
|
74
|
-
*/
|
|
75
|
-
categories?: Array<number>;
|
|
76
|
-
/**
|
|
77
|
-
*
|
|
78
|
-
* @type {string}
|
|
79
|
-
* @memberof StoreProductRangeRequestSitesInner
|
|
80
|
-
*/
|
|
81
|
-
seoTitle?: string;
|
|
82
|
-
/**
|
|
83
|
-
*
|
|
84
|
-
* @type {string}
|
|
85
|
-
* @memberof StoreProductRangeRequestSitesInner
|
|
86
|
-
*/
|
|
87
|
-
seoDescription?: string;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
/**
|
|
91
|
-
* Check if a given object implements the StoreProductRangeRequestSitesInner interface.
|
|
92
|
-
*/
|
|
93
|
-
export function instanceOfStoreProductRangeRequestSitesInner(value: object): value is StoreProductRangeRequestSitesInner {
|
|
94
|
-
if (!('siteId' in value) || value['siteId'] === undefined) return false;
|
|
95
|
-
if (!('name' in value) || value['name'] === undefined) return false;
|
|
96
|
-
if (!('slug' in value) || value['slug'] === undefined) return false;
|
|
97
|
-
return true;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
export function StoreProductRangeRequestSitesInnerFromJSON(json: any): StoreProductRangeRequestSitesInner {
|
|
101
|
-
return StoreProductRangeRequestSitesInnerFromJSONTyped(json, false);
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
export function StoreProductRangeRequestSitesInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): StoreProductRangeRequestSitesInner {
|
|
105
|
-
if (json == null) {
|
|
106
|
-
return json;
|
|
107
|
-
}
|
|
108
|
-
return {
|
|
109
|
-
|
|
110
|
-
'siteId': json['site_id'],
|
|
111
|
-
'name': json['name'],
|
|
112
|
-
'slug': json['slug'],
|
|
113
|
-
'description': json['description'] == null ? undefined : json['description'],
|
|
114
|
-
'content': json['content'] == null ? undefined : json['content'],
|
|
115
|
-
'excerpt': json['excerpt'] == null ? undefined : json['excerpt'],
|
|
116
|
-
'popularityScore': json['popularity_score'] == null ? undefined : json['popularity_score'],
|
|
117
|
-
'isDisabled': json['is_disabled'] == null ? undefined : json['is_disabled'],
|
|
118
|
-
'categories': json['categories'] == null ? undefined : json['categories'],
|
|
119
|
-
'seoTitle': json['seo_title'] == null ? undefined : json['seo_title'],
|
|
120
|
-
'seoDescription': json['seo_description'] == null ? undefined : json['seo_description'],
|
|
121
|
-
};
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
export function StoreProductRangeRequestSitesInnerToJSON(json: any): StoreProductRangeRequestSitesInner {
|
|
125
|
-
return StoreProductRangeRequestSitesInnerToJSONTyped(json, false);
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
export function StoreProductRangeRequestSitesInnerToJSONTyped(value?: StoreProductRangeRequestSitesInner | null, ignoreDiscriminator: boolean = false): any {
|
|
129
|
-
if (value == null) {
|
|
130
|
-
return value;
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
return {
|
|
134
|
-
|
|
135
|
-
'site_id': value['siteId'],
|
|
136
|
-
'name': value['name'],
|
|
137
|
-
'slug': value['slug'],
|
|
138
|
-
'description': value['description'],
|
|
139
|
-
'content': value['content'],
|
|
140
|
-
'excerpt': value['excerpt'],
|
|
141
|
-
'popularity_score': value['popularityScore'],
|
|
142
|
-
'is_disabled': value['isDisabled'],
|
|
143
|
-
'categories': value['categories'],
|
|
144
|
-
'seo_title': value['seoTitle'],
|
|
145
|
-
'seo_description': value['seoDescription'],
|
|
146
|
-
};
|
|
147
|
-
}
|
|
148
|
-
|