@digital8/lighting-illusions-ts-sdk 0.0.1235 → 0.0.1237
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 +58 -72
- package/README.md +42 -54
- package/dist/apis/AttributeApi.d.ts +1 -16
- package/dist/apis/AttributeApi.js +0 -58
- package/dist/apis/StoreApi.d.ts +173 -0
- package/dist/apis/StoreApi.js +679 -0
- package/dist/apis/SupplierApi.d.ts +33 -1
- package/dist/apis/SupplierApi.js +122 -0
- package/dist/apis/index.d.ts +1 -1
- package/dist/apis/index.js +1 -1
- package/dist/models/AddressFrontendResource.d.ts +74 -0
- package/dist/models/AddressFrontendResource.js +75 -0
- package/dist/models/AddressFrontendResourceArrayResponse.d.ts +33 -0
- package/dist/models/AddressFrontendResourceArrayResponse.js +50 -0
- package/dist/models/AddressResource.d.ts +80 -0
- package/dist/models/AddressResource.js +79 -0
- package/dist/models/AddressResourceArrayResponse.d.ts +33 -0
- package/dist/models/AddressResourceArrayResponse.js +50 -0
- package/dist/models/AttachDocumentablesDocumentRequestDocumentablesInner.d.ts +0 -1
- package/dist/models/AttachDocumentablesDocumentRequestDocumentablesInner.js +0 -1
- package/dist/models/AttachStoresSupplierRequest.d.ts +32 -0
- package/dist/models/AttachStoresSupplierRequest.js +51 -0
- package/dist/models/AttachSuppliersStoreRequest.d.ts +32 -0
- package/dist/models/AttachSuppliersStoreRequest.js +51 -0
- package/dist/models/DetachDocumentablesDocumentRequestDocumentablesInner.d.ts +0 -1
- package/dist/models/DetachDocumentablesDocumentRequestDocumentablesInner.js +0 -1
- package/dist/models/DetachStoresSupplierRequest.d.ts +32 -0
- package/dist/models/DetachStoresSupplierRequest.js +51 -0
- package/dist/models/DetachSuppliersStoreRequest.d.ts +32 -0
- package/dist/models/DetachSuppliersStoreRequest.js +51 -0
- package/dist/models/ExternalApiLogResource.d.ts +1 -1
- package/dist/models/ExternalApiLogResource.js +1 -3
- package/dist/models/GetAllDocumentRequest.d.ts +0 -1
- package/dist/models/GetAllDocumentRequest.js +0 -1
- package/dist/models/GetAllProductChildRequest.d.ts +0 -1
- package/dist/models/GetAllProductChildRequest.js +0 -1
- package/dist/models/GetAllStoreRequest.d.ts +93 -0
- package/dist/models/GetAllStoreRequest.js +81 -0
- package/dist/models/IndexAttributeRequest.d.ts +0 -2
- package/dist/models/IndexAttributeRequest.js +1 -3
- package/dist/models/IndexDocumentRequest.d.ts +0 -1
- package/dist/models/IndexDocumentRequest.js +0 -1
- package/dist/models/IndexProductChildRequest.d.ts +0 -1
- package/dist/models/IndexProductChildRequest.js +0 -1
- package/dist/models/IndexStoreRequest.d.ts +105 -0
- package/dist/models/{IndexProductRangeRequest.js → IndexStoreRequest.js} +21 -22
- package/dist/models/ModelAttributeResource.d.ts +0 -6
- package/dist/models/ModelAttributeResource.js +0 -2
- package/dist/models/PaginatedStoreListResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedStoreListResourceResponse.js +57 -0
- package/dist/models/ProductChildResource.d.ts +2 -2
- package/dist/models/ProductChildResource.js +3 -3
- package/dist/models/ProductClassResource.d.ts +8 -2
- package/dist/models/ProductClassResource.js +4 -4
- package/dist/models/StoreAssetForAssetableRequest.d.ts +0 -3
- package/dist/models/StoreAssetForAssetableRequest.js +1 -4
- package/dist/models/StoreFrontendResource.d.ts +98 -0
- package/dist/models/StoreFrontendResource.js +87 -0
- package/dist/models/StoreFrontendResourceArrayResponse.d.ts +33 -0
- package/dist/models/StoreFrontendResourceArrayResponse.js +50 -0
- package/dist/models/StoreListResource.d.ts +81 -0
- package/dist/models/StoreListResource.js +78 -0
- package/dist/models/StoreListResourceArrayResponse.d.ts +33 -0
- package/dist/models/StoreListResourceArrayResponse.js +50 -0
- package/dist/models/StoreLiteResource.d.ts +45 -0
- package/dist/models/StoreLiteResource.js +58 -0
- package/dist/models/StoreLiteResourceArrayResponse.d.ts +33 -0
- package/dist/models/StoreLiteResourceArrayResponse.js +50 -0
- package/dist/models/StoreResource.d.ts +100 -0
- package/dist/models/StoreResource.js +93 -0
- package/dist/models/StoreResourceArrayResponse.d.ts +33 -0
- package/dist/models/StoreResourceArrayResponse.js +50 -0
- package/dist/models/StoreSpecialDateFrontendResource.d.ts +56 -0
- package/dist/models/StoreSpecialDateFrontendResource.js +65 -0
- package/dist/models/StoreSpecialDateFrontendResourceArrayResponse.d.ts +33 -0
- package/dist/models/StoreSpecialDateFrontendResourceArrayResponse.js +50 -0
- package/dist/models/StoreSpecialDateResource.d.ts +56 -0
- package/dist/models/StoreSpecialDateResource.js +65 -0
- package/dist/models/StoreSpecialDateResourceArrayResponse.d.ts +33 -0
- package/dist/models/StoreSpecialDateResourceArrayResponse.js +50 -0
- package/dist/models/StoreStoreRequest.d.ts +177 -0
- package/dist/models/StoreStoreRequest.js +124 -0
- package/dist/models/StoreStoreRequestSpecialDatesInner.d.ts +50 -0
- package/dist/models/StoreStoreRequestSpecialDatesInner.js +57 -0
- package/dist/models/StoreStoreSpecialDateRequest.d.ts +50 -0
- package/dist/models/StoreStoreSpecialDateRequest.js +57 -0
- 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/UpdateStoreRequest.d.ts +164 -0
- package/dist/models/UpdateStoreRequest.js +119 -0
- package/dist/models/index.d.ts +28 -35
- package/dist/models/index.js +28 -35
- package/docs/{AttachAttributesProductRangeRequest.md → AddressFrontendResource.md} +20 -6
- package/docs/{AttachAccessoriesProductRangeRequest.md → AddressFrontendResourceArrayResponse.md} +6 -6
- package/docs/{AttachAttributesProductRangeRequestAttributesInner.md → AddressResource.md} +22 -8
- package/docs/{ProductRangeResourceArrayResponse.md → AddressResourceArrayResponse.md} +5 -5
- package/docs/{DetachAttributesProductRangeRequest.md → AttachStoresSupplierRequest.md} +6 -6
- package/docs/AttachSuppliersStoreRequest.md +34 -0
- package/docs/AttributeApi.md +0 -66
- package/docs/{DetachAccessoriesProductRangeRequest.md → DetachStoresSupplierRequest.md} +6 -6
- package/docs/DetachSuppliersStoreRequest.md +34 -0
- package/docs/{GetAllProductRangeRequest.md → GetAllStoreRequest.md} +8 -10
- package/docs/{IndexModelAttributeRequest.md → IndexStoreRequest.md} +8 -10
- package/docs/ModelAttributeResource.md +0 -2
- package/docs/{PaginatedProductRangeResourceResponse.md → PaginatedStoreListResourceResponse.md} +5 -5
- package/docs/ProductChildResource.md +2 -2
- package/docs/ProductClassResource.md +4 -2
- package/docs/StoreApi.md +683 -0
- package/docs/StoreFrontendResource.md +56 -0
- package/docs/{DetachDocumentsProductRangeRequest.md → StoreFrontendResourceArrayResponse.md} +6 -6
- package/docs/{StoreProductRangeRequest.md → StoreListResource.md} +20 -10
- package/docs/StoreListResourceArrayResponse.md +34 -0
- package/docs/{ProductRangeLiteResource.md → StoreLiteResource.md} +6 -4
- package/docs/StoreLiteResourceArrayResponse.md +34 -0
- package/docs/StoreResource.md +56 -0
- package/docs/StoreResourceArrayResponse.md +34 -0
- package/docs/{ProductRangeFrontendListResource.md → StoreSpecialDateFrontendResource.md} +10 -12
- package/docs/{ProductRangeFrontendListResourceArrayResponse.md → StoreSpecialDateFrontendResourceArrayResponse.md} +5 -5
- package/docs/{ProductRangeSiteDetailLiteResource.md → StoreSpecialDateResource.md} +12 -8
- package/docs/{ProductRangeLiteResourceArrayResponse.md → StoreSpecialDateResourceArrayResponse.md} +5 -5
- package/docs/StoreStoreRequest.md +82 -0
- package/docs/{AttachDocumentsProductRangeRequest.md → StoreStoreRequestSpecialDatesInner.md} +12 -6
- package/docs/StoreStoreSpecialDateRequest.md +40 -0
- package/docs/SupplierApi.md +138 -0
- package/docs/UpdateProductTypeRequest.md +4 -4
- package/docs/{UpdateProductRangeRequestAttributesInner.md → UpdateProductTypeRequestPerformanceValuesInner.md} +4 -4
- package/docs/UpdateStoreRequest.md +78 -0
- package/package.json +1 -1
- package/src/apis/AttributeApi.ts +0 -50
- package/src/apis/StoreApi.ts +563 -0
- package/src/apis/SupplierApi.ts +112 -0
- package/src/apis/index.ts +1 -1
- package/src/models/AddressFrontendResource.ts +127 -0
- package/src/models/AddressFrontendResourceArrayResponse.ts +73 -0
- package/src/models/AddressResource.ts +136 -0
- package/src/models/AddressResourceArrayResponse.ts +73 -0
- package/src/models/AttachDocumentablesDocumentRequestDocumentablesInner.ts +0 -1
- package/src/models/AttachStoresSupplierRequest.ts +66 -0
- package/src/models/AttachSuppliersStoreRequest.ts +66 -0
- package/src/models/DetachDocumentablesDocumentRequestDocumentablesInner.ts +0 -1
- package/src/models/DetachStoresSupplierRequest.ts +66 -0
- package/src/models/DetachSuppliersStoreRequest.ts +66 -0
- package/src/models/ExternalApiLogResource.ts +2 -3
- package/src/models/GetAllDocumentRequest.ts +0 -1
- package/src/models/GetAllProductChildRequest.ts +0 -1
- package/src/models/GetAllStoreRequest.ts +144 -0
- package/src/models/IndexAttributeRequest.ts +1 -3
- package/src/models/IndexDocumentRequest.ts +0 -1
- package/src/models/IndexProductChildRequest.ts +0 -1
- package/src/models/IndexStoreRequest.ts +160 -0
- package/src/models/ModelAttributeResource.ts +0 -8
- package/src/models/PaginatedStoreListResourceResponse.ts +90 -0
- package/src/models/ProductChildResource.ts +5 -5
- package/src/models/ProductClassResource.ts +12 -5
- package/src/models/StoreAssetForAssetableRequest.ts +1 -4
- package/src/models/StoreFrontendResource.ts +161 -0
- package/src/models/StoreFrontendResourceArrayResponse.ts +73 -0
- package/src/models/StoreListResource.ts +143 -0
- package/src/models/StoreListResourceArrayResponse.ts +73 -0
- package/src/models/StoreLiteResource.ts +91 -0
- package/src/models/StoreLiteResourceArrayResponse.ts +73 -0
- package/src/models/StoreResource.ts +178 -0
- package/src/models/StoreResourceArrayResponse.ts +73 -0
- package/src/models/StoreSpecialDateFrontendResource.ts +101 -0
- package/src/models/StoreSpecialDateFrontendResourceArrayResponse.ts +73 -0
- package/src/models/StoreSpecialDateResource.ts +101 -0
- package/src/models/StoreSpecialDateResourceArrayResponse.ts +73 -0
- package/src/models/StoreStoreRequest.ts +278 -0
- package/src/models/StoreStoreRequestSpecialDatesInner.ts +90 -0
- package/src/models/StoreStoreSpecialDateRequest.ts +90 -0
- package/src/models/UpdateProductTypeRequest.ts +22 -22
- package/src/models/UpdateProductTypeRequestPerformanceValuesInner.ts +73 -0
- package/src/models/UpdateStoreRequest.ts +254 -0
- package/src/models/index.ts +28 -35
- package/dist/apis/ProductRangeApi.d.ts +0 -269
- package/dist/apis/ProductRangeApi.js +0 -1043
- 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/IndexModelAttributeRequest.d.ts +0 -118
- package/dist/models/IndexModelAttributeRequest.js +0 -93
- package/dist/models/IndexProductRangeRequest.d.ts +0 -110
- 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/ProductRangeFrontendListResource.d.ts +0 -62
- package/dist/models/ProductRangeFrontendListResource.js +0 -71
- package/dist/models/ProductRangeFrontendListResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductRangeFrontendListResourceArrayResponse.js +0 -50
- package/dist/models/ProductRangeFrontendResource.d.ts +0 -118
- package/dist/models/ProductRangeFrontendResource.js +0 -109
- package/dist/models/ProductRangeFrontendResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductRangeFrontendResourceArrayResponse.js +0 -50
- package/dist/models/ProductRangeListResource.d.ts +0 -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/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/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/IndexProductRangeRequest.md +0 -54
- 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/ProductRangeApi.md +0 -1097
- 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/ProductRangeResource.md +0 -52
- package/docs/ProductRangeSiteDetailLiteResourceArrayResponse.md +0 -34
- package/docs/ProductRangeSiteDetailResource.md +0 -56
- package/docs/ProductRangeSiteDetailResourceArrayResponse.md +0 -34
- package/docs/StoreProductRangeRequestSitesInner.md +0 -54
- package/docs/UpdateProductRangeRequest.md +0 -42
- package/src/apis/ProductRangeApi.ts +0 -888
- 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/IndexModelAttributeRequest.ts +0 -176
- package/src/models/IndexProductRangeRequest.ts +0 -167
- 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/ProductRangeFrontendListResource.ts +0 -111
- package/src/models/ProductRangeFrontendListResourceArrayResponse.ts +0 -73
- package/src/models/ProductRangeFrontendResource.ts +0 -207
- package/src/models/ProductRangeFrontendResourceArrayResponse.ts +0 -73
- package/src/models/ProductRangeListResource.ts +0 -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/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/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,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
|
-
import type { ProductRangeSiteDetailResource } from './ProductRangeSiteDetailResource';
|
|
17
|
-
import {
|
|
18
|
-
ProductRangeSiteDetailResourceFromJSON,
|
|
19
|
-
ProductRangeSiteDetailResourceFromJSONTyped,
|
|
20
|
-
ProductRangeSiteDetailResourceToJSON,
|
|
21
|
-
ProductRangeSiteDetailResourceToJSONTyped,
|
|
22
|
-
} from './ProductRangeSiteDetailResource';
|
|
23
|
-
import type { SupplierLiteResource } from './SupplierLiteResource';
|
|
24
|
-
import {
|
|
25
|
-
SupplierLiteResourceFromJSON,
|
|
26
|
-
SupplierLiteResourceFromJSONTyped,
|
|
27
|
-
SupplierLiteResourceToJSON,
|
|
28
|
-
SupplierLiteResourceToJSONTyped,
|
|
29
|
-
} from './SupplierLiteResource';
|
|
30
|
-
import type { AssetResource } from './AssetResource';
|
|
31
|
-
import {
|
|
32
|
-
AssetResourceFromJSON,
|
|
33
|
-
AssetResourceFromJSONTyped,
|
|
34
|
-
AssetResourceToJSON,
|
|
35
|
-
AssetResourceToJSONTyped,
|
|
36
|
-
} from './AssetResource';
|
|
37
|
-
|
|
38
|
-
/**
|
|
39
|
-
*
|
|
40
|
-
* @export
|
|
41
|
-
* @interface ProductRangeResource
|
|
42
|
-
*/
|
|
43
|
-
export interface ProductRangeResource {
|
|
44
|
-
/**
|
|
45
|
-
*
|
|
46
|
-
* @type {number}
|
|
47
|
-
* @memberof ProductRangeResource
|
|
48
|
-
*/
|
|
49
|
-
id: number;
|
|
50
|
-
/**
|
|
51
|
-
*
|
|
52
|
-
* @type {string}
|
|
53
|
-
* @memberof ProductRangeResource
|
|
54
|
-
*/
|
|
55
|
-
name: string;
|
|
56
|
-
/**
|
|
57
|
-
*
|
|
58
|
-
* @type {SupplierLiteResource}
|
|
59
|
-
* @memberof ProductRangeResource
|
|
60
|
-
*/
|
|
61
|
-
supplier: SupplierLiteResource | null;
|
|
62
|
-
/**
|
|
63
|
-
*
|
|
64
|
-
* @type {object}
|
|
65
|
-
* @memberof ProductRangeResource
|
|
66
|
-
*/
|
|
67
|
-
sites: object;
|
|
68
|
-
/**
|
|
69
|
-
*
|
|
70
|
-
* @type {Array<ProductRangeSiteDetailResource>}
|
|
71
|
-
* @memberof ProductRangeResource
|
|
72
|
-
*/
|
|
73
|
-
siteDetails: Array<ProductRangeSiteDetailResource> | null;
|
|
74
|
-
/**
|
|
75
|
-
*
|
|
76
|
-
* @type {object}
|
|
77
|
-
* @memberof ProductRangeResource
|
|
78
|
-
*/
|
|
79
|
-
modelAttributes: object;
|
|
80
|
-
/**
|
|
81
|
-
*
|
|
82
|
-
* @type {Array<AssetResource>}
|
|
83
|
-
* @memberof ProductRangeResource
|
|
84
|
-
*/
|
|
85
|
-
assets: Array<AssetResource> | null;
|
|
86
|
-
/**
|
|
87
|
-
*
|
|
88
|
-
* @type {AssetResource}
|
|
89
|
-
* @memberof ProductRangeResource
|
|
90
|
-
*/
|
|
91
|
-
thumbnail: AssetResource | null;
|
|
92
|
-
/**
|
|
93
|
-
*
|
|
94
|
-
* @type {string}
|
|
95
|
-
* @memberof ProductRangeResource
|
|
96
|
-
*/
|
|
97
|
-
createdAt?: string | null;
|
|
98
|
-
/**
|
|
99
|
-
*
|
|
100
|
-
* @type {string}
|
|
101
|
-
* @memberof ProductRangeResource
|
|
102
|
-
*/
|
|
103
|
-
updatedAt?: string | null;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
/**
|
|
107
|
-
* Check if a given object implements the ProductRangeResource interface.
|
|
108
|
-
*/
|
|
109
|
-
export function instanceOfProductRangeResource(value: object): value is ProductRangeResource {
|
|
110
|
-
if (!('id' in value) || value['id'] === undefined) return false;
|
|
111
|
-
if (!('name' in value) || value['name'] === undefined) return false;
|
|
112
|
-
if (!('supplier' in value) || value['supplier'] === undefined) return false;
|
|
113
|
-
if (!('sites' in value) || value['sites'] === undefined) return false;
|
|
114
|
-
if (!('siteDetails' in value) || value['siteDetails'] === undefined) return false;
|
|
115
|
-
if (!('modelAttributes' in value) || value['modelAttributes'] === undefined) return false;
|
|
116
|
-
if (!('assets' in value) || value['assets'] === undefined) return false;
|
|
117
|
-
if (!('thumbnail' in value) || value['thumbnail'] === undefined) return false;
|
|
118
|
-
return true;
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
export function ProductRangeResourceFromJSON(json: any): ProductRangeResource {
|
|
122
|
-
return ProductRangeResourceFromJSONTyped(json, false);
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
export function ProductRangeResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductRangeResource {
|
|
126
|
-
if (json == null) {
|
|
127
|
-
return json;
|
|
128
|
-
}
|
|
129
|
-
return {
|
|
130
|
-
|
|
131
|
-
'id': json['id'],
|
|
132
|
-
'name': json['name'],
|
|
133
|
-
'supplier': SupplierLiteResourceFromJSON(json['supplier']),
|
|
134
|
-
'sites': json['sites'],
|
|
135
|
-
'siteDetails': (json['siteDetails'] == null ? null : (json['siteDetails'] as Array<any>).map(ProductRangeSiteDetailResourceFromJSON)),
|
|
136
|
-
'modelAttributes': json['modelAttributes'],
|
|
137
|
-
'assets': (json['assets'] == null ? null : (json['assets'] as Array<any>).map(AssetResourceFromJSON)),
|
|
138
|
-
'thumbnail': AssetResourceFromJSON(json['thumbnail']),
|
|
139
|
-
'createdAt': json['createdAt'] == null ? undefined : json['createdAt'],
|
|
140
|
-
'updatedAt': json['updatedAt'] == null ? undefined : json['updatedAt'],
|
|
141
|
-
};
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
export function ProductRangeResourceToJSON(json: any): ProductRangeResource {
|
|
145
|
-
return ProductRangeResourceToJSONTyped(json, false);
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
export function ProductRangeResourceToJSONTyped(value?: ProductRangeResource | null, ignoreDiscriminator: boolean = false): any {
|
|
149
|
-
if (value == null) {
|
|
150
|
-
return value;
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
return {
|
|
154
|
-
|
|
155
|
-
'id': value['id'],
|
|
156
|
-
'name': value['name'],
|
|
157
|
-
'supplier': SupplierLiteResourceToJSON(value['supplier']),
|
|
158
|
-
'sites': value['sites'],
|
|
159
|
-
'siteDetails': (value['siteDetails'] == null ? null : (value['siteDetails'] as Array<any>).map(ProductRangeSiteDetailResourceToJSON)),
|
|
160
|
-
'modelAttributes': value['modelAttributes'],
|
|
161
|
-
'assets': (value['assets'] == null ? null : (value['assets'] as Array<any>).map(AssetResourceToJSON)),
|
|
162
|
-
'thumbnail': AssetResourceToJSON(value['thumbnail']),
|
|
163
|
-
'createdAt': value['createdAt'],
|
|
164
|
-
'updatedAt': value['updatedAt'],
|
|
165
|
-
};
|
|
166
|
-
}
|
|
167
|
-
|
|
@@ -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 { ProductRangeResource } from './ProductRangeResource';
|
|
17
|
-
import {
|
|
18
|
-
ProductRangeResourceFromJSON,
|
|
19
|
-
ProductRangeResourceFromJSONTyped,
|
|
20
|
-
ProductRangeResourceToJSON,
|
|
21
|
-
ProductRangeResourceToJSONTyped,
|
|
22
|
-
} from './ProductRangeResource';
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @export
|
|
27
|
-
* @interface ProductRangeResourceArrayResponse
|
|
28
|
-
*/
|
|
29
|
-
export interface ProductRangeResourceArrayResponse {
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {Array<ProductRangeResource>}
|
|
33
|
-
* @memberof ProductRangeResourceArrayResponse
|
|
34
|
-
*/
|
|
35
|
-
data?: Array<ProductRangeResource>;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
/**
|
|
39
|
-
* Check if a given object implements the ProductRangeResourceArrayResponse interface.
|
|
40
|
-
*/
|
|
41
|
-
export function instanceOfProductRangeResourceArrayResponse(value: object): value is ProductRangeResourceArrayResponse {
|
|
42
|
-
return true;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
export function ProductRangeResourceArrayResponseFromJSON(json: any): ProductRangeResourceArrayResponse {
|
|
46
|
-
return ProductRangeResourceArrayResponseFromJSONTyped(json, false);
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
export function ProductRangeResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductRangeResourceArrayResponse {
|
|
50
|
-
if (json == null) {
|
|
51
|
-
return json;
|
|
52
|
-
}
|
|
53
|
-
return {
|
|
54
|
-
|
|
55
|
-
'data': json['data'] == null ? undefined : ((json['data'] as Array<any>).map(ProductRangeResourceFromJSON)),
|
|
56
|
-
};
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
export function ProductRangeResourceArrayResponseToJSON(json: any): ProductRangeResourceArrayResponse {
|
|
60
|
-
return ProductRangeResourceArrayResponseToJSONTyped(json, false);
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
export function ProductRangeResourceArrayResponseToJSONTyped(value?: ProductRangeResourceArrayResponse | 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(ProductRangeResourceToJSON)),
|
|
71
|
-
};
|
|
72
|
-
}
|
|
73
|
-
|
|
@@ -1,84 +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 ProductRangeSiteDetailLiteResource
|
|
20
|
-
*/
|
|
21
|
-
export interface ProductRangeSiteDetailLiteResource {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {number}
|
|
25
|
-
* @memberof ProductRangeSiteDetailLiteResource
|
|
26
|
-
*/
|
|
27
|
-
id: number;
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {number}
|
|
31
|
-
* @memberof ProductRangeSiteDetailLiteResource
|
|
32
|
-
*/
|
|
33
|
-
siteId: number;
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
* @type {string}
|
|
37
|
-
* @memberof ProductRangeSiteDetailLiteResource
|
|
38
|
-
*/
|
|
39
|
-
slug: string;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
/**
|
|
43
|
-
* Check if a given object implements the ProductRangeSiteDetailLiteResource interface.
|
|
44
|
-
*/
|
|
45
|
-
export function instanceOfProductRangeSiteDetailLiteResource(value: object): value is ProductRangeSiteDetailLiteResource {
|
|
46
|
-
if (!('id' in value) || value['id'] === undefined) return false;
|
|
47
|
-
if (!('siteId' in value) || value['siteId'] === undefined) return false;
|
|
48
|
-
if (!('slug' in value) || value['slug'] === undefined) return false;
|
|
49
|
-
return true;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
export function ProductRangeSiteDetailLiteResourceFromJSON(json: any): ProductRangeSiteDetailLiteResource {
|
|
53
|
-
return ProductRangeSiteDetailLiteResourceFromJSONTyped(json, false);
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
export function ProductRangeSiteDetailLiteResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductRangeSiteDetailLiteResource {
|
|
57
|
-
if (json == null) {
|
|
58
|
-
return json;
|
|
59
|
-
}
|
|
60
|
-
return {
|
|
61
|
-
|
|
62
|
-
'id': json['id'],
|
|
63
|
-
'siteId': json['siteId'],
|
|
64
|
-
'slug': json['slug'],
|
|
65
|
-
};
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
export function ProductRangeSiteDetailLiteResourceToJSON(json: any): ProductRangeSiteDetailLiteResource {
|
|
69
|
-
return ProductRangeSiteDetailLiteResourceToJSONTyped(json, false);
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
export function ProductRangeSiteDetailLiteResourceToJSONTyped(value?: ProductRangeSiteDetailLiteResource | null, ignoreDiscriminator: boolean = false): any {
|
|
73
|
-
if (value == null) {
|
|
74
|
-
return value;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
return {
|
|
78
|
-
|
|
79
|
-
'id': value['id'],
|
|
80
|
-
'siteId': value['siteId'],
|
|
81
|
-
'slug': value['slug'],
|
|
82
|
-
};
|
|
83
|
-
}
|
|
84
|
-
|
|
@@ -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 { ProductRangeSiteDetailLiteResource } from './ProductRangeSiteDetailLiteResource';
|
|
17
|
-
import {
|
|
18
|
-
ProductRangeSiteDetailLiteResourceFromJSON,
|
|
19
|
-
ProductRangeSiteDetailLiteResourceFromJSONTyped,
|
|
20
|
-
ProductRangeSiteDetailLiteResourceToJSON,
|
|
21
|
-
ProductRangeSiteDetailLiteResourceToJSONTyped,
|
|
22
|
-
} from './ProductRangeSiteDetailLiteResource';
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @export
|
|
27
|
-
* @interface ProductRangeSiteDetailLiteResourceArrayResponse
|
|
28
|
-
*/
|
|
29
|
-
export interface ProductRangeSiteDetailLiteResourceArrayResponse {
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {Array<ProductRangeSiteDetailLiteResource>}
|
|
33
|
-
* @memberof ProductRangeSiteDetailLiteResourceArrayResponse
|
|
34
|
-
*/
|
|
35
|
-
data?: Array<ProductRangeSiteDetailLiteResource>;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
/**
|
|
39
|
-
* Check if a given object implements the ProductRangeSiteDetailLiteResourceArrayResponse interface.
|
|
40
|
-
*/
|
|
41
|
-
export function instanceOfProductRangeSiteDetailLiteResourceArrayResponse(value: object): value is ProductRangeSiteDetailLiteResourceArrayResponse {
|
|
42
|
-
return true;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
export function ProductRangeSiteDetailLiteResourceArrayResponseFromJSON(json: any): ProductRangeSiteDetailLiteResourceArrayResponse {
|
|
46
|
-
return ProductRangeSiteDetailLiteResourceArrayResponseFromJSONTyped(json, false);
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
export function ProductRangeSiteDetailLiteResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductRangeSiteDetailLiteResourceArrayResponse {
|
|
50
|
-
if (json == null) {
|
|
51
|
-
return json;
|
|
52
|
-
}
|
|
53
|
-
return {
|
|
54
|
-
|
|
55
|
-
'data': json['data'] == null ? undefined : ((json['data'] as Array<any>).map(ProductRangeSiteDetailLiteResourceFromJSON)),
|
|
56
|
-
};
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
export function ProductRangeSiteDetailLiteResourceArrayResponseToJSON(json: any): ProductRangeSiteDetailLiteResourceArrayResponse {
|
|
60
|
-
return ProductRangeSiteDetailLiteResourceArrayResponseToJSONTyped(json, false);
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
export function ProductRangeSiteDetailLiteResourceArrayResponseToJSONTyped(value?: ProductRangeSiteDetailLiteResourceArrayResponse | 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(ProductRangeSiteDetailLiteResourceToJSON)),
|
|
71
|
-
};
|
|
72
|
-
}
|
|
73
|
-
|
|
@@ -1,187 +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 { SiteLiteResource } from './SiteLiteResource';
|
|
17
|
-
import {
|
|
18
|
-
SiteLiteResourceFromJSON,
|
|
19
|
-
SiteLiteResourceFromJSONTyped,
|
|
20
|
-
SiteLiteResourceToJSON,
|
|
21
|
-
SiteLiteResourceToJSONTyped,
|
|
22
|
-
} from './SiteLiteResource';
|
|
23
|
-
import type { ProductCategoryLiteResource } from './ProductCategoryLiteResource';
|
|
24
|
-
import {
|
|
25
|
-
ProductCategoryLiteResourceFromJSON,
|
|
26
|
-
ProductCategoryLiteResourceFromJSONTyped,
|
|
27
|
-
ProductCategoryLiteResourceToJSON,
|
|
28
|
-
ProductCategoryLiteResourceToJSONTyped,
|
|
29
|
-
} from './ProductCategoryLiteResource';
|
|
30
|
-
import type { SEOResource } from './SEOResource';
|
|
31
|
-
import {
|
|
32
|
-
SEOResourceFromJSON,
|
|
33
|
-
SEOResourceFromJSONTyped,
|
|
34
|
-
SEOResourceToJSON,
|
|
35
|
-
SEOResourceToJSONTyped,
|
|
36
|
-
} from './SEOResource';
|
|
37
|
-
|
|
38
|
-
/**
|
|
39
|
-
*
|
|
40
|
-
* @export
|
|
41
|
-
* @interface ProductRangeSiteDetailResource
|
|
42
|
-
*/
|
|
43
|
-
export interface ProductRangeSiteDetailResource {
|
|
44
|
-
/**
|
|
45
|
-
*
|
|
46
|
-
* @type {number}
|
|
47
|
-
* @memberof ProductRangeSiteDetailResource
|
|
48
|
-
*/
|
|
49
|
-
id: number;
|
|
50
|
-
/**
|
|
51
|
-
*
|
|
52
|
-
* @type {number}
|
|
53
|
-
* @memberof ProductRangeSiteDetailResource
|
|
54
|
-
*/
|
|
55
|
-
siteId: number;
|
|
56
|
-
/**
|
|
57
|
-
*
|
|
58
|
-
* @type {SiteLiteResource}
|
|
59
|
-
* @memberof ProductRangeSiteDetailResource
|
|
60
|
-
*/
|
|
61
|
-
site: SiteLiteResource | null;
|
|
62
|
-
/**
|
|
63
|
-
*
|
|
64
|
-
* @type {string}
|
|
65
|
-
* @memberof ProductRangeSiteDetailResource
|
|
66
|
-
*/
|
|
67
|
-
name: string;
|
|
68
|
-
/**
|
|
69
|
-
*
|
|
70
|
-
* @type {string}
|
|
71
|
-
* @memberof ProductRangeSiteDetailResource
|
|
72
|
-
*/
|
|
73
|
-
slug: string;
|
|
74
|
-
/**
|
|
75
|
-
*
|
|
76
|
-
* @type {string}
|
|
77
|
-
* @memberof ProductRangeSiteDetailResource
|
|
78
|
-
*/
|
|
79
|
-
description: string;
|
|
80
|
-
/**
|
|
81
|
-
*
|
|
82
|
-
* @type {string}
|
|
83
|
-
* @memberof ProductRangeSiteDetailResource
|
|
84
|
-
*/
|
|
85
|
-
content: string;
|
|
86
|
-
/**
|
|
87
|
-
*
|
|
88
|
-
* @type {string}
|
|
89
|
-
* @memberof ProductRangeSiteDetailResource
|
|
90
|
-
*/
|
|
91
|
-
excerpt: string;
|
|
92
|
-
/**
|
|
93
|
-
*
|
|
94
|
-
* @type {number}
|
|
95
|
-
* @memberof ProductRangeSiteDetailResource
|
|
96
|
-
*/
|
|
97
|
-
popularityScore: number;
|
|
98
|
-
/**
|
|
99
|
-
*
|
|
100
|
-
* @type {boolean}
|
|
101
|
-
* @memberof ProductRangeSiteDetailResource
|
|
102
|
-
*/
|
|
103
|
-
isDisabled: boolean;
|
|
104
|
-
/**
|
|
105
|
-
*
|
|
106
|
-
* @type {SEOResource}
|
|
107
|
-
* @memberof ProductRangeSiteDetailResource
|
|
108
|
-
*/
|
|
109
|
-
seo: SEOResource | null;
|
|
110
|
-
/**
|
|
111
|
-
*
|
|
112
|
-
* @type {Array<ProductCategoryLiteResource>}
|
|
113
|
-
* @memberof ProductRangeSiteDetailResource
|
|
114
|
-
*/
|
|
115
|
-
categories: Array<ProductCategoryLiteResource> | null;
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
/**
|
|
119
|
-
* Check if a given object implements the ProductRangeSiteDetailResource interface.
|
|
120
|
-
*/
|
|
121
|
-
export function instanceOfProductRangeSiteDetailResource(value: object): value is ProductRangeSiteDetailResource {
|
|
122
|
-
if (!('id' in value) || value['id'] === undefined) return false;
|
|
123
|
-
if (!('siteId' in value) || value['siteId'] === undefined) return false;
|
|
124
|
-
if (!('site' in value) || value['site'] === undefined) return false;
|
|
125
|
-
if (!('name' in value) || value['name'] === undefined) return false;
|
|
126
|
-
if (!('slug' in value) || value['slug'] === undefined) return false;
|
|
127
|
-
if (!('description' in value) || value['description'] === undefined) return false;
|
|
128
|
-
if (!('content' in value) || value['content'] === undefined) return false;
|
|
129
|
-
if (!('excerpt' in value) || value['excerpt'] === undefined) return false;
|
|
130
|
-
if (!('popularityScore' in value) || value['popularityScore'] === undefined) return false;
|
|
131
|
-
if (!('isDisabled' in value) || value['isDisabled'] === undefined) return false;
|
|
132
|
-
if (!('seo' in value) || value['seo'] === undefined) return false;
|
|
133
|
-
if (!('categories' in value) || value['categories'] === undefined) return false;
|
|
134
|
-
return true;
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
export function ProductRangeSiteDetailResourceFromJSON(json: any): ProductRangeSiteDetailResource {
|
|
138
|
-
return ProductRangeSiteDetailResourceFromJSONTyped(json, false);
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
export function ProductRangeSiteDetailResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductRangeSiteDetailResource {
|
|
142
|
-
if (json == null) {
|
|
143
|
-
return json;
|
|
144
|
-
}
|
|
145
|
-
return {
|
|
146
|
-
|
|
147
|
-
'id': json['id'],
|
|
148
|
-
'siteId': json['siteId'],
|
|
149
|
-
'site': SiteLiteResourceFromJSON(json['site']),
|
|
150
|
-
'name': json['name'],
|
|
151
|
-
'slug': json['slug'],
|
|
152
|
-
'description': json['description'],
|
|
153
|
-
'content': json['content'],
|
|
154
|
-
'excerpt': json['excerpt'],
|
|
155
|
-
'popularityScore': json['popularityScore'],
|
|
156
|
-
'isDisabled': json['isDisabled'],
|
|
157
|
-
'seo': SEOResourceFromJSON(json['seo']),
|
|
158
|
-
'categories': (json['categories'] == null ? null : (json['categories'] as Array<any>).map(ProductCategoryLiteResourceFromJSON)),
|
|
159
|
-
};
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
export function ProductRangeSiteDetailResourceToJSON(json: any): ProductRangeSiteDetailResource {
|
|
163
|
-
return ProductRangeSiteDetailResourceToJSONTyped(json, false);
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
export function ProductRangeSiteDetailResourceToJSONTyped(value?: ProductRangeSiteDetailResource | null, ignoreDiscriminator: boolean = false): any {
|
|
167
|
-
if (value == null) {
|
|
168
|
-
return value;
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
return {
|
|
172
|
-
|
|
173
|
-
'id': value['id'],
|
|
174
|
-
'siteId': value['siteId'],
|
|
175
|
-
'site': SiteLiteResourceToJSON(value['site']),
|
|
176
|
-
'name': value['name'],
|
|
177
|
-
'slug': value['slug'],
|
|
178
|
-
'description': value['description'],
|
|
179
|
-
'content': value['content'],
|
|
180
|
-
'excerpt': value['excerpt'],
|
|
181
|
-
'popularityScore': value['popularityScore'],
|
|
182
|
-
'isDisabled': value['isDisabled'],
|
|
183
|
-
'seo': SEOResourceToJSON(value['seo']),
|
|
184
|
-
'categories': (value['categories'] == null ? null : (value['categories'] as Array<any>).map(ProductCategoryLiteResourceToJSON)),
|
|
185
|
-
};
|
|
186
|
-
}
|
|
187
|
-
|
|
@@ -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 { ProductRangeSiteDetailResource } from './ProductRangeSiteDetailResource';
|
|
17
|
-
import {
|
|
18
|
-
ProductRangeSiteDetailResourceFromJSON,
|
|
19
|
-
ProductRangeSiteDetailResourceFromJSONTyped,
|
|
20
|
-
ProductRangeSiteDetailResourceToJSON,
|
|
21
|
-
ProductRangeSiteDetailResourceToJSONTyped,
|
|
22
|
-
} from './ProductRangeSiteDetailResource';
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @export
|
|
27
|
-
* @interface ProductRangeSiteDetailResourceArrayResponse
|
|
28
|
-
*/
|
|
29
|
-
export interface ProductRangeSiteDetailResourceArrayResponse {
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {Array<ProductRangeSiteDetailResource>}
|
|
33
|
-
* @memberof ProductRangeSiteDetailResourceArrayResponse
|
|
34
|
-
*/
|
|
35
|
-
data?: Array<ProductRangeSiteDetailResource>;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
/**
|
|
39
|
-
* Check if a given object implements the ProductRangeSiteDetailResourceArrayResponse interface.
|
|
40
|
-
*/
|
|
41
|
-
export function instanceOfProductRangeSiteDetailResourceArrayResponse(value: object): value is ProductRangeSiteDetailResourceArrayResponse {
|
|
42
|
-
return true;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
export function ProductRangeSiteDetailResourceArrayResponseFromJSON(json: any): ProductRangeSiteDetailResourceArrayResponse {
|
|
46
|
-
return ProductRangeSiteDetailResourceArrayResponseFromJSONTyped(json, false);
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
export function ProductRangeSiteDetailResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductRangeSiteDetailResourceArrayResponse {
|
|
50
|
-
if (json == null) {
|
|
51
|
-
return json;
|
|
52
|
-
}
|
|
53
|
-
return {
|
|
54
|
-
|
|
55
|
-
'data': json['data'] == null ? undefined : ((json['data'] as Array<any>).map(ProductRangeSiteDetailResourceFromJSON)),
|
|
56
|
-
};
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
export function ProductRangeSiteDetailResourceArrayResponseToJSON(json: any): ProductRangeSiteDetailResourceArrayResponse {
|
|
60
|
-
return ProductRangeSiteDetailResourceArrayResponseToJSONTyped(json, false);
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
export function ProductRangeSiteDetailResourceArrayResponseToJSONTyped(value?: ProductRangeSiteDetailResourceArrayResponse | 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(ProductRangeSiteDetailResourceToJSON)),
|
|
71
|
-
};
|
|
72
|
-
}
|
|
73
|
-
|