@digital8/lighting-illusions-ts-sdk 0.0.1236 → 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,176 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* My API
|
|
5
|
-
* API documentation for my Laravel app
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.0
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
import { mapValues } from '../runtime';
|
|
16
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
* @export
|
|
19
|
-
* @interface IndexModelAttributeRequest
|
|
20
|
-
*/
|
|
21
|
-
export interface IndexModelAttributeRequest {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof IndexModelAttributeRequest
|
|
26
|
-
*/
|
|
27
|
-
search?: string;
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {IndexModelAttributeRequestSortByEnum}
|
|
31
|
-
* @memberof IndexModelAttributeRequest
|
|
32
|
-
*/
|
|
33
|
-
sortBy?: IndexModelAttributeRequestSortByEnum;
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
* @type {IndexModelAttributeRequestSortDirectionEnum}
|
|
37
|
-
* @memberof IndexModelAttributeRequest
|
|
38
|
-
*/
|
|
39
|
-
sortDirection?: IndexModelAttributeRequestSortDirectionEnum;
|
|
40
|
-
/**
|
|
41
|
-
*
|
|
42
|
-
* @type {number}
|
|
43
|
-
* @memberof IndexModelAttributeRequest
|
|
44
|
-
*/
|
|
45
|
-
perPage?: number;
|
|
46
|
-
/**
|
|
47
|
-
*
|
|
48
|
-
* @type {number}
|
|
49
|
-
* @memberof IndexModelAttributeRequest
|
|
50
|
-
*/
|
|
51
|
-
page?: number;
|
|
52
|
-
/**
|
|
53
|
-
*
|
|
54
|
-
* @type {Array<string>}
|
|
55
|
-
* @memberof IndexModelAttributeRequest
|
|
56
|
-
*/
|
|
57
|
-
attributableType?: Array<string>;
|
|
58
|
-
/**
|
|
59
|
-
*
|
|
60
|
-
* @type {Array<string>}
|
|
61
|
-
* @memberof IndexModelAttributeRequest
|
|
62
|
-
*/
|
|
63
|
-
attributableId?: Array<string>;
|
|
64
|
-
/**
|
|
65
|
-
*
|
|
66
|
-
* @type {Array<string>}
|
|
67
|
-
* @memberof IndexModelAttributeRequest
|
|
68
|
-
*/
|
|
69
|
-
attributeId?: Array<string>;
|
|
70
|
-
/**
|
|
71
|
-
*
|
|
72
|
-
* @type {number}
|
|
73
|
-
* @memberof IndexModelAttributeRequest
|
|
74
|
-
*/
|
|
75
|
-
relatedId?: number;
|
|
76
|
-
/**
|
|
77
|
-
*
|
|
78
|
-
* @type {IndexModelAttributeRequestRelatedTypeEnum}
|
|
79
|
-
* @memberof IndexModelAttributeRequest
|
|
80
|
-
*/
|
|
81
|
-
relatedType?: IndexModelAttributeRequestRelatedTypeEnum;
|
|
82
|
-
/**
|
|
83
|
-
*
|
|
84
|
-
* @type {boolean}
|
|
85
|
-
* @memberof IndexModelAttributeRequest
|
|
86
|
-
*/
|
|
87
|
-
includesRelations?: boolean;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
/**
|
|
92
|
-
* @export
|
|
93
|
-
*/
|
|
94
|
-
export const IndexModelAttributeRequestSortByEnum = {
|
|
95
|
-
Id: 'id',
|
|
96
|
-
AttributeId: 'attribute_id',
|
|
97
|
-
CreatedAt: 'created_at',
|
|
98
|
-
AttributeName: 'attribute-name'
|
|
99
|
-
} as const;
|
|
100
|
-
export type IndexModelAttributeRequestSortByEnum = typeof IndexModelAttributeRequestSortByEnum[keyof typeof IndexModelAttributeRequestSortByEnum];
|
|
101
|
-
|
|
102
|
-
/**
|
|
103
|
-
* @export
|
|
104
|
-
*/
|
|
105
|
-
export const IndexModelAttributeRequestSortDirectionEnum = {
|
|
106
|
-
Asc: 'asc',
|
|
107
|
-
Desc: 'desc'
|
|
108
|
-
} as const;
|
|
109
|
-
export type IndexModelAttributeRequestSortDirectionEnum = typeof IndexModelAttributeRequestSortDirectionEnum[keyof typeof IndexModelAttributeRequestSortDirectionEnum];
|
|
110
|
-
|
|
111
|
-
/**
|
|
112
|
-
* @export
|
|
113
|
-
*/
|
|
114
|
-
export const IndexModelAttributeRequestRelatedTypeEnum = {
|
|
115
|
-
Category: 'category',
|
|
116
|
-
ProductRange: 'productRange'
|
|
117
|
-
} as const;
|
|
118
|
-
export type IndexModelAttributeRequestRelatedTypeEnum = typeof IndexModelAttributeRequestRelatedTypeEnum[keyof typeof IndexModelAttributeRequestRelatedTypeEnum];
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
/**
|
|
122
|
-
* Check if a given object implements the IndexModelAttributeRequest interface.
|
|
123
|
-
*/
|
|
124
|
-
export function instanceOfIndexModelAttributeRequest(value: object): value is IndexModelAttributeRequest {
|
|
125
|
-
return true;
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
export function IndexModelAttributeRequestFromJSON(json: any): IndexModelAttributeRequest {
|
|
129
|
-
return IndexModelAttributeRequestFromJSONTyped(json, false);
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
export function IndexModelAttributeRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): IndexModelAttributeRequest {
|
|
133
|
-
if (json == null) {
|
|
134
|
-
return json;
|
|
135
|
-
}
|
|
136
|
-
return {
|
|
137
|
-
|
|
138
|
-
'search': json['search'] == null ? undefined : json['search'],
|
|
139
|
-
'sortBy': json['sortBy'] == null ? undefined : json['sortBy'],
|
|
140
|
-
'sortDirection': json['sortDirection'] == null ? undefined : json['sortDirection'],
|
|
141
|
-
'perPage': json['per_page'] == null ? undefined : json['per_page'],
|
|
142
|
-
'page': json['page'] == null ? undefined : json['page'],
|
|
143
|
-
'attributableType': json['attributable_type'] == null ? undefined : json['attributable_type'],
|
|
144
|
-
'attributableId': json['attributable_id'] == null ? undefined : json['attributable_id'],
|
|
145
|
-
'attributeId': json['attribute_id'] == null ? undefined : json['attribute_id'],
|
|
146
|
-
'relatedId': json['related_id'] == null ? undefined : json['related_id'],
|
|
147
|
-
'relatedType': json['related_type'] == null ? undefined : json['related_type'],
|
|
148
|
-
'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
|
|
149
|
-
};
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
export function IndexModelAttributeRequestToJSON(json: any): IndexModelAttributeRequest {
|
|
153
|
-
return IndexModelAttributeRequestToJSONTyped(json, false);
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
export function IndexModelAttributeRequestToJSONTyped(value?: IndexModelAttributeRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
157
|
-
if (value == null) {
|
|
158
|
-
return value;
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
return {
|
|
162
|
-
|
|
163
|
-
'search': value['search'],
|
|
164
|
-
'sortBy': value['sortBy'],
|
|
165
|
-
'sortDirection': value['sortDirection'],
|
|
166
|
-
'per_page': value['perPage'],
|
|
167
|
-
'page': value['page'],
|
|
168
|
-
'attributable_type': value['attributableType'],
|
|
169
|
-
'attributable_id': value['attributableId'],
|
|
170
|
-
'attribute_id': value['attributeId'],
|
|
171
|
-
'related_id': value['relatedId'],
|
|
172
|
-
'related_type': value['relatedType'],
|
|
173
|
-
'includes_relations': value['includesRelations'],
|
|
174
|
-
};
|
|
175
|
-
}
|
|
176
|
-
|
|
@@ -1,167 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* My API
|
|
5
|
-
* API documentation for my Laravel app
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.0
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
import { mapValues } from '../runtime';
|
|
16
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
* @export
|
|
19
|
-
* @interface IndexProductRangeRequest
|
|
20
|
-
*/
|
|
21
|
-
export interface IndexProductRangeRequest {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof IndexProductRangeRequest
|
|
26
|
-
*/
|
|
27
|
-
search?: string;
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {IndexProductRangeRequestSortByEnum}
|
|
31
|
-
* @memberof IndexProductRangeRequest
|
|
32
|
-
*/
|
|
33
|
-
sortBy?: IndexProductRangeRequestSortByEnum;
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
* @type {IndexProductRangeRequestSortDirectionEnum}
|
|
37
|
-
* @memberof IndexProductRangeRequest
|
|
38
|
-
*/
|
|
39
|
-
sortDirection?: IndexProductRangeRequestSortDirectionEnum;
|
|
40
|
-
/**
|
|
41
|
-
*
|
|
42
|
-
* @type {number}
|
|
43
|
-
* @memberof IndexProductRangeRequest
|
|
44
|
-
*/
|
|
45
|
-
perPage?: number;
|
|
46
|
-
/**
|
|
47
|
-
*
|
|
48
|
-
* @type {number}
|
|
49
|
-
* @memberof IndexProductRangeRequest
|
|
50
|
-
*/
|
|
51
|
-
page?: number;
|
|
52
|
-
/**
|
|
53
|
-
*
|
|
54
|
-
* @type {Array<string>}
|
|
55
|
-
* @memberof IndexProductRangeRequest
|
|
56
|
-
*/
|
|
57
|
-
siteDetailsSiteId?: Array<string>;
|
|
58
|
-
/**
|
|
59
|
-
*
|
|
60
|
-
* @type {Array<string>}
|
|
61
|
-
* @memberof IndexProductRangeRequest
|
|
62
|
-
*/
|
|
63
|
-
supplierId?: Array<string>;
|
|
64
|
-
/**
|
|
65
|
-
*
|
|
66
|
-
* @type {Array<string>}
|
|
67
|
-
* @memberof IndexProductRangeRequest
|
|
68
|
-
*/
|
|
69
|
-
siteDetailsCategoriesId?: Array<string>;
|
|
70
|
-
/**
|
|
71
|
-
*
|
|
72
|
-
* @type {number}
|
|
73
|
-
* @memberof IndexProductRangeRequest
|
|
74
|
-
*/
|
|
75
|
-
relatedId?: number;
|
|
76
|
-
/**
|
|
77
|
-
*
|
|
78
|
-
* @type {string}
|
|
79
|
-
* @memberof IndexProductRangeRequest
|
|
80
|
-
*/
|
|
81
|
-
relatedType?: string;
|
|
82
|
-
/**
|
|
83
|
-
*
|
|
84
|
-
* @type {boolean}
|
|
85
|
-
* @memberof IndexProductRangeRequest
|
|
86
|
-
*/
|
|
87
|
-
includesRelations?: boolean;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
/**
|
|
92
|
-
* @export
|
|
93
|
-
*/
|
|
94
|
-
export const IndexProductRangeRequestSortByEnum = {
|
|
95
|
-
Id: 'id',
|
|
96
|
-
Name: 'name',
|
|
97
|
-
CreatedAt: 'created_at',
|
|
98
|
-
UpdatedAt: 'updated_at'
|
|
99
|
-
} as const;
|
|
100
|
-
export type IndexProductRangeRequestSortByEnum = typeof IndexProductRangeRequestSortByEnum[keyof typeof IndexProductRangeRequestSortByEnum];
|
|
101
|
-
|
|
102
|
-
/**
|
|
103
|
-
* @export
|
|
104
|
-
*/
|
|
105
|
-
export const IndexProductRangeRequestSortDirectionEnum = {
|
|
106
|
-
Asc: 'asc',
|
|
107
|
-
Desc: 'desc'
|
|
108
|
-
} as const;
|
|
109
|
-
export type IndexProductRangeRequestSortDirectionEnum = typeof IndexProductRangeRequestSortDirectionEnum[keyof typeof IndexProductRangeRequestSortDirectionEnum];
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
/**
|
|
113
|
-
* Check if a given object implements the IndexProductRangeRequest interface.
|
|
114
|
-
*/
|
|
115
|
-
export function instanceOfIndexProductRangeRequest(value: object): value is IndexProductRangeRequest {
|
|
116
|
-
return true;
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
export function IndexProductRangeRequestFromJSON(json: any): IndexProductRangeRequest {
|
|
120
|
-
return IndexProductRangeRequestFromJSONTyped(json, false);
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
export function IndexProductRangeRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): IndexProductRangeRequest {
|
|
124
|
-
if (json == null) {
|
|
125
|
-
return json;
|
|
126
|
-
}
|
|
127
|
-
return {
|
|
128
|
-
|
|
129
|
-
'search': json['search'] == null ? undefined : json['search'],
|
|
130
|
-
'sortBy': json['sortBy'] == null ? undefined : json['sortBy'],
|
|
131
|
-
'sortDirection': json['sortDirection'] == null ? undefined : json['sortDirection'],
|
|
132
|
-
'perPage': json['per_page'] == null ? undefined : json['per_page'],
|
|
133
|
-
'page': json['page'] == null ? undefined : json['page'],
|
|
134
|
-
'siteDetailsSiteId': json['siteDetails-site_id'] == null ? undefined : json['siteDetails-site_id'],
|
|
135
|
-
'supplierId': json['supplier_id'] == null ? undefined : json['supplier_id'],
|
|
136
|
-
'siteDetailsCategoriesId': json['siteDetails-categories-id'] == null ? undefined : json['siteDetails-categories-id'],
|
|
137
|
-
'relatedId': json['related_id'] == null ? undefined : json['related_id'],
|
|
138
|
-
'relatedType': json['related_type'] == null ? undefined : json['related_type'],
|
|
139
|
-
'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
|
|
140
|
-
};
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
export function IndexProductRangeRequestToJSON(json: any): IndexProductRangeRequest {
|
|
144
|
-
return IndexProductRangeRequestToJSONTyped(json, false);
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
export function IndexProductRangeRequestToJSONTyped(value?: IndexProductRangeRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
148
|
-
if (value == null) {
|
|
149
|
-
return value;
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
return {
|
|
153
|
-
|
|
154
|
-
'search': value['search'],
|
|
155
|
-
'sortBy': value['sortBy'],
|
|
156
|
-
'sortDirection': value['sortDirection'],
|
|
157
|
-
'per_page': value['perPage'],
|
|
158
|
-
'page': value['page'],
|
|
159
|
-
'siteDetails-site_id': value['siteDetailsSiteId'],
|
|
160
|
-
'supplier_id': value['supplierId'],
|
|
161
|
-
'siteDetails-categories-id': value['siteDetailsCategoriesId'],
|
|
162
|
-
'related_id': value['relatedId'],
|
|
163
|
-
'related_type': value['relatedType'],
|
|
164
|
-
'includes_relations': value['includesRelations'],
|
|
165
|
-
};
|
|
166
|
-
}
|
|
167
|
-
|
|
@@ -1,125 +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 { AttributeLiteResource } from './AttributeLiteResource';
|
|
17
|
-
import {
|
|
18
|
-
AttributeLiteResourceFromJSON,
|
|
19
|
-
AttributeLiteResourceFromJSONTyped,
|
|
20
|
-
AttributeLiteResourceToJSON,
|
|
21
|
-
AttributeLiteResourceToJSONTyped,
|
|
22
|
-
} from './AttributeLiteResource';
|
|
23
|
-
import type { AttributeValueResource } from './AttributeValueResource';
|
|
24
|
-
import {
|
|
25
|
-
AttributeValueResourceFromJSON,
|
|
26
|
-
AttributeValueResourceFromJSONTyped,
|
|
27
|
-
AttributeValueResourceToJSON,
|
|
28
|
-
AttributeValueResourceToJSONTyped,
|
|
29
|
-
} from './AttributeValueResource';
|
|
30
|
-
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
* @export
|
|
34
|
-
* @interface ModelAttributeListResource
|
|
35
|
-
*/
|
|
36
|
-
export interface ModelAttributeListResource {
|
|
37
|
-
/**
|
|
38
|
-
*
|
|
39
|
-
* @type {number}
|
|
40
|
-
* @memberof ModelAttributeListResource
|
|
41
|
-
*/
|
|
42
|
-
id: number;
|
|
43
|
-
/**
|
|
44
|
-
*
|
|
45
|
-
* @type {string}
|
|
46
|
-
* @memberof ModelAttributeListResource
|
|
47
|
-
*/
|
|
48
|
-
value: string;
|
|
49
|
-
/**
|
|
50
|
-
*
|
|
51
|
-
* @type {AttributeLiteResource}
|
|
52
|
-
* @memberof ModelAttributeListResource
|
|
53
|
-
*/
|
|
54
|
-
attribute: AttributeLiteResource | null;
|
|
55
|
-
/**
|
|
56
|
-
*
|
|
57
|
-
* @type {Array<AttributeValueResource>}
|
|
58
|
-
* @memberof ModelAttributeListResource
|
|
59
|
-
*/
|
|
60
|
-
attributeValues: Array<AttributeValueResource> | null;
|
|
61
|
-
/**
|
|
62
|
-
*
|
|
63
|
-
* @type {Array<AttributeValueResource>}
|
|
64
|
-
* @memberof ModelAttributeListResource
|
|
65
|
-
*/
|
|
66
|
-
selectedValues: Array<AttributeValueResource> | null;
|
|
67
|
-
/**
|
|
68
|
-
*
|
|
69
|
-
* @type {string}
|
|
70
|
-
* @memberof ModelAttributeListResource
|
|
71
|
-
*/
|
|
72
|
-
order?: string | null;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
/**
|
|
76
|
-
* Check if a given object implements the ModelAttributeListResource interface.
|
|
77
|
-
*/
|
|
78
|
-
export function instanceOfModelAttributeListResource(value: object): value is ModelAttributeListResource {
|
|
79
|
-
if (!('id' in value) || value['id'] === undefined) return false;
|
|
80
|
-
if (!('value' in value) || value['value'] === undefined) return false;
|
|
81
|
-
if (!('attribute' in value) || value['attribute'] === undefined) return false;
|
|
82
|
-
if (!('attributeValues' in value) || value['attributeValues'] === undefined) return false;
|
|
83
|
-
if (!('selectedValues' in value) || value['selectedValues'] === undefined) return false;
|
|
84
|
-
return true;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
export function ModelAttributeListResourceFromJSON(json: any): ModelAttributeListResource {
|
|
88
|
-
return ModelAttributeListResourceFromJSONTyped(json, false);
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
export function ModelAttributeListResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): ModelAttributeListResource {
|
|
92
|
-
if (json == null) {
|
|
93
|
-
return json;
|
|
94
|
-
}
|
|
95
|
-
return {
|
|
96
|
-
|
|
97
|
-
'id': json['id'],
|
|
98
|
-
'value': json['value'],
|
|
99
|
-
'attribute': AttributeLiteResourceFromJSON(json['attribute']),
|
|
100
|
-
'attributeValues': (json['attributeValues'] == null ? null : (json['attributeValues'] as Array<any>).map(AttributeValueResourceFromJSON)),
|
|
101
|
-
'selectedValues': (json['selectedValues'] == null ? null : (json['selectedValues'] as Array<any>).map(AttributeValueResourceFromJSON)),
|
|
102
|
-
'order': json['order'] == null ? undefined : json['order'],
|
|
103
|
-
};
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
export function ModelAttributeListResourceToJSON(json: any): ModelAttributeListResource {
|
|
107
|
-
return ModelAttributeListResourceToJSONTyped(json, false);
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
export function ModelAttributeListResourceToJSONTyped(value?: ModelAttributeListResource | null, ignoreDiscriminator: boolean = false): any {
|
|
111
|
-
if (value == null) {
|
|
112
|
-
return value;
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
return {
|
|
116
|
-
|
|
117
|
-
'id': value['id'],
|
|
118
|
-
'value': value['value'],
|
|
119
|
-
'attribute': AttributeLiteResourceToJSON(value['attribute']),
|
|
120
|
-
'attributeValues': (value['attributeValues'] == null ? null : (value['attributeValues'] as Array<any>).map(AttributeValueResourceToJSON)),
|
|
121
|
-
'selectedValues': (value['selectedValues'] == null ? null : (value['selectedValues'] as Array<any>).map(AttributeValueResourceToJSON)),
|
|
122
|
-
'order': value['order'],
|
|
123
|
-
};
|
|
124
|
-
}
|
|
125
|
-
|
|
@@ -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 { ModelAttributeListResource } from './ModelAttributeListResource';
|
|
17
|
-
import {
|
|
18
|
-
ModelAttributeListResourceFromJSON,
|
|
19
|
-
ModelAttributeListResourceFromJSONTyped,
|
|
20
|
-
ModelAttributeListResourceToJSON,
|
|
21
|
-
ModelAttributeListResourceToJSONTyped,
|
|
22
|
-
} from './ModelAttributeListResource';
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @export
|
|
27
|
-
* @interface ModelAttributeListResourceArrayResponse
|
|
28
|
-
*/
|
|
29
|
-
export interface ModelAttributeListResourceArrayResponse {
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {Array<ModelAttributeListResource>}
|
|
33
|
-
* @memberof ModelAttributeListResourceArrayResponse
|
|
34
|
-
*/
|
|
35
|
-
data?: Array<ModelAttributeListResource>;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
/**
|
|
39
|
-
* Check if a given object implements the ModelAttributeListResourceArrayResponse interface.
|
|
40
|
-
*/
|
|
41
|
-
export function instanceOfModelAttributeListResourceArrayResponse(value: object): value is ModelAttributeListResourceArrayResponse {
|
|
42
|
-
return true;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
export function ModelAttributeListResourceArrayResponseFromJSON(json: any): ModelAttributeListResourceArrayResponse {
|
|
46
|
-
return ModelAttributeListResourceArrayResponseFromJSONTyped(json, false);
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
export function ModelAttributeListResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ModelAttributeListResourceArrayResponse {
|
|
50
|
-
if (json == null) {
|
|
51
|
-
return json;
|
|
52
|
-
}
|
|
53
|
-
return {
|
|
54
|
-
|
|
55
|
-
'data': json['data'] == null ? undefined : ((json['data'] as Array<any>).map(ModelAttributeListResourceFromJSON)),
|
|
56
|
-
};
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
export function ModelAttributeListResourceArrayResponseToJSON(json: any): ModelAttributeListResourceArrayResponse {
|
|
60
|
-
return ModelAttributeListResourceArrayResponseToJSONTyped(json, false);
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
export function ModelAttributeListResourceArrayResponseToJSONTyped(value?: ModelAttributeListResourceArrayResponse | 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(ModelAttributeListResourceToJSON)),
|
|
71
|
-
};
|
|
72
|
-
}
|
|
73
|
-
|
|
@@ -1,90 +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 { PagingMetadata } from './PagingMetadata';
|
|
17
|
-
import {
|
|
18
|
-
PagingMetadataFromJSON,
|
|
19
|
-
PagingMetadataFromJSONTyped,
|
|
20
|
-
PagingMetadataToJSON,
|
|
21
|
-
PagingMetadataToJSONTyped,
|
|
22
|
-
} from './PagingMetadata';
|
|
23
|
-
import type { ModelAttributeListResource } from './ModelAttributeListResource';
|
|
24
|
-
import {
|
|
25
|
-
ModelAttributeListResourceFromJSON,
|
|
26
|
-
ModelAttributeListResourceFromJSONTyped,
|
|
27
|
-
ModelAttributeListResourceToJSON,
|
|
28
|
-
ModelAttributeListResourceToJSONTyped,
|
|
29
|
-
} from './ModelAttributeListResource';
|
|
30
|
-
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
* @export
|
|
34
|
-
* @interface PaginatedModelAttributeListResourceResponse
|
|
35
|
-
*/
|
|
36
|
-
export interface PaginatedModelAttributeListResourceResponse {
|
|
37
|
-
/**
|
|
38
|
-
*
|
|
39
|
-
* @type {Array<ModelAttributeListResource>}
|
|
40
|
-
* @memberof PaginatedModelAttributeListResourceResponse
|
|
41
|
-
*/
|
|
42
|
-
data: Array<ModelAttributeListResource>;
|
|
43
|
-
/**
|
|
44
|
-
*
|
|
45
|
-
* @type {PagingMetadata}
|
|
46
|
-
* @memberof PaginatedModelAttributeListResourceResponse
|
|
47
|
-
*/
|
|
48
|
-
meta: PagingMetadata;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
/**
|
|
52
|
-
* Check if a given object implements the PaginatedModelAttributeListResourceResponse interface.
|
|
53
|
-
*/
|
|
54
|
-
export function instanceOfPaginatedModelAttributeListResourceResponse(value: object): value is PaginatedModelAttributeListResourceResponse {
|
|
55
|
-
if (!('data' in value) || value['data'] === undefined) return false;
|
|
56
|
-
if (!('meta' in value) || value['meta'] === undefined) return false;
|
|
57
|
-
return true;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
export function PaginatedModelAttributeListResourceResponseFromJSON(json: any): PaginatedModelAttributeListResourceResponse {
|
|
61
|
-
return PaginatedModelAttributeListResourceResponseFromJSONTyped(json, false);
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
export function PaginatedModelAttributeListResourceResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedModelAttributeListResourceResponse {
|
|
65
|
-
if (json == null) {
|
|
66
|
-
return json;
|
|
67
|
-
}
|
|
68
|
-
return {
|
|
69
|
-
|
|
70
|
-
'data': ((json['data'] as Array<any>).map(ModelAttributeListResourceFromJSON)),
|
|
71
|
-
'meta': PagingMetadataFromJSON(json['meta']),
|
|
72
|
-
};
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
export function PaginatedModelAttributeListResourceResponseToJSON(json: any): PaginatedModelAttributeListResourceResponse {
|
|
76
|
-
return PaginatedModelAttributeListResourceResponseToJSONTyped(json, false);
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
export function PaginatedModelAttributeListResourceResponseToJSONTyped(value?: PaginatedModelAttributeListResourceResponse | null, ignoreDiscriminator: boolean = false): any {
|
|
80
|
-
if (value == null) {
|
|
81
|
-
return value;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
return {
|
|
85
|
-
|
|
86
|
-
'data': ((value['data'] as Array<any>).map(ModelAttributeListResourceToJSON)),
|
|
87
|
-
'meta': PagingMetadataToJSON(value['meta']),
|
|
88
|
-
};
|
|
89
|
-
}
|
|
90
|
-
|