@digital8/lighting-illusions-ts-sdk 0.0.1237 → 0.0.1239
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +72 -58
- package/README.md +54 -42
- package/dist/apis/AttributeApi.d.ts +16 -1
- package/dist/apis/AttributeApi.js +58 -0
- package/dist/apis/ProductRangeApi.d.ts +269 -0
- package/dist/apis/ProductRangeApi.js +1043 -0
- package/dist/apis/SupplierApi.d.ts +1 -33
- package/dist/apis/SupplierApi.js +0 -122
- package/dist/apis/index.d.ts +1 -1
- package/dist/apis/index.js +1 -1
- package/dist/models/AttachAccessoriesProductRangeRequest.d.ts +32 -0
- package/dist/models/AttachAccessoriesProductRangeRequest.js +51 -0
- package/dist/models/AttachAttributesProductRangeRequest.d.ts +33 -0
- package/dist/models/AttachAttributesProductRangeRequest.js +52 -0
- package/dist/models/AttachAttributesProductRangeRequestAttributesInner.d.ts +38 -0
- package/dist/models/AttachAttributesProductRangeRequestAttributesInner.js +53 -0
- package/dist/models/AttachDocumentablesDocumentRequestDocumentablesInner.d.ts +1 -0
- package/dist/models/AttachDocumentablesDocumentRequestDocumentablesInner.js +1 -0
- package/dist/models/AttachDocumentsProductRangeRequest.d.ts +33 -0
- package/dist/models/AttachDocumentsProductRangeRequest.js +52 -0
- package/dist/models/DetachAccessoriesProductRangeRequest.d.ts +32 -0
- package/dist/models/DetachAccessoriesProductRangeRequest.js +51 -0
- package/dist/models/DetachAttributesProductRangeRequest.d.ts +32 -0
- package/dist/models/DetachAttributesProductRangeRequest.js +51 -0
- package/dist/models/DetachDocumentablesDocumentRequestDocumentablesInner.d.ts +1 -0
- package/dist/models/DetachDocumentablesDocumentRequestDocumentablesInner.js +1 -0
- package/dist/models/DetachDocumentsProductRangeRequest.d.ts +32 -0
- package/dist/models/DetachDocumentsProductRangeRequest.js +51 -0
- package/dist/models/GetAllDocumentRequest.d.ts +1 -0
- package/dist/models/GetAllDocumentRequest.js +1 -0
- package/dist/models/GetAllProductChildRequest.d.ts +1 -0
- package/dist/models/GetAllProductChildRequest.js +1 -0
- package/dist/models/GetAllProductRangeRequest.d.ts +98 -0
- package/dist/models/GetAllProductRangeRequest.js +82 -0
- package/dist/models/IndexAttributeRequest.d.ts +2 -0
- package/dist/models/IndexAttributeRequest.js +3 -1
- package/dist/models/IndexDocumentRequest.d.ts +1 -0
- package/dist/models/IndexDocumentRequest.js +1 -0
- package/dist/models/IndexModelAttributeRequest.d.ts +118 -0
- package/dist/models/IndexModelAttributeRequest.js +93 -0
- package/dist/models/IndexProductChildRequest.d.ts +1 -0
- package/dist/models/IndexProductChildRequest.js +1 -0
- package/dist/models/IndexProductRangeRequest.d.ts +110 -0
- package/dist/models/{IndexStoreRequest.js → IndexProductRangeRequest.js} +22 -21
- package/dist/models/ModelAttributeListResource.d.ts +64 -0
- package/dist/models/ModelAttributeListResource.js +71 -0
- package/dist/models/ModelAttributeListResourceArrayResponse.d.ts +33 -0
- package/dist/models/ModelAttributeListResourceArrayResponse.js +50 -0
- package/dist/models/ModelAttributeResource.d.ts +6 -0
- package/dist/models/ModelAttributeResource.js +2 -0
- package/dist/models/PaginatedModelAttributeListResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedModelAttributeListResourceResponse.js +57 -0
- package/dist/models/PaginatedProductRangeFrontendListResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedProductRangeFrontendListResourceResponse.js +57 -0
- package/dist/models/PaginatedProductRangeListResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedProductRangeListResourceResponse.js +57 -0
- package/dist/models/PaginatedProductRangeLiteResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedProductRangeLiteResourceResponse.js +57 -0
- package/dist/models/PaginatedProductRangeResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedProductRangeResourceResponse.js +57 -0
- package/dist/models/ProductRangeFrontendListResource.d.ts +62 -0
- package/dist/models/ProductRangeFrontendListResource.js +71 -0
- package/dist/models/ProductRangeFrontendListResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductRangeFrontendListResourceArrayResponse.js +50 -0
- package/dist/models/ProductRangeFrontendResource.d.ts +118 -0
- package/dist/models/ProductRangeFrontendResource.js +109 -0
- package/dist/models/ProductRangeFrontendResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductRangeFrontendResourceArrayResponse.js +50 -0
- package/dist/models/ProductRangeListResource.d.ts +66 -0
- package/dist/models/ProductRangeListResource.js +75 -0
- package/dist/models/ProductRangeListResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductRangeListResourceArrayResponse.js +50 -0
- package/dist/models/ProductRangeLiteResource.d.ts +38 -0
- package/dist/models/ProductRangeLiteResource.js +55 -0
- package/dist/models/ProductRangeLiteResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductRangeLiteResourceArrayResponse.js +50 -0
- package/dist/models/ProductRangeResource.d.ts +89 -0
- package/dist/models/ProductRangeResource.js +86 -0
- package/dist/models/ProductRangeResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductRangeResourceArrayResponse.js +50 -0
- package/dist/models/ProductRangeSiteDetailLiteResource.d.ts +44 -0
- package/dist/models/ProductRangeSiteDetailLiteResource.js +59 -0
- package/dist/models/ProductRangeSiteDetailLiteResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductRangeSiteDetailLiteResourceArrayResponse.js +50 -0
- package/dist/models/ProductRangeSiteDetailResource.d.ts +101 -0
- package/dist/models/ProductRangeSiteDetailResource.js +98 -0
- package/dist/models/ProductRangeSiteDetailResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductRangeSiteDetailResourceArrayResponse.js +50 -0
- package/dist/models/StoreAssetForAssetableRequest.d.ts +3 -0
- package/dist/models/StoreAssetForAssetableRequest.js +4 -1
- package/dist/models/StoreProductRangeRequest.d.ts +52 -0
- package/dist/models/StoreProductRangeRequest.js +59 -0
- package/dist/models/StoreProductRangeRequestSitesInner.d.ts +92 -0
- package/dist/models/StoreProductRangeRequestSitesInner.js +75 -0
- package/dist/models/UpdateProductRangeRequest.d.ts +59 -0
- package/dist/models/UpdateProductRangeRequest.js +62 -0
- package/dist/models/UpdateProductRangeRequestAttributesInner.d.ts +38 -0
- package/dist/models/UpdateProductRangeRequestAttributesInner.js +51 -0
- package/dist/models/UpdateProductTypeRequest.d.ts +9 -9
- package/dist/models/UpdateProductTypeRequest.js +9 -9
- package/dist/models/index.d.ts +35 -28
- package/dist/models/index.js +35 -28
- package/docs/{AddressFrontendResourceArrayResponse.md → AttachAccessoriesProductRangeRequest.md} +6 -6
- package/docs/AttachAttributesProductRangeRequest.md +34 -0
- package/docs/AttachAttributesProductRangeRequestAttributesInner.md +36 -0
- package/docs/{StoreStoreRequestSpecialDatesInner.md → AttachDocumentsProductRangeRequest.md} +6 -12
- package/docs/AttributeApi.md +66 -0
- package/docs/{AttachSuppliersStoreRequest.md → DetachAccessoriesProductRangeRequest.md} +6 -6
- package/docs/{AttachStoresSupplierRequest.md → DetachAttributesProductRangeRequest.md} +6 -6
- package/docs/{StoreFrontendResourceArrayResponse.md → DetachDocumentsProductRangeRequest.md} +6 -6
- package/docs/{GetAllStoreRequest.md → GetAllProductRangeRequest.md} +10 -8
- package/docs/{IndexStoreRequest.md → IndexModelAttributeRequest.md} +10 -8
- package/docs/IndexProductRangeRequest.md +54 -0
- package/docs/ModelAttributeListResource.md +44 -0
- package/docs/ModelAttributeListResourceArrayResponse.md +34 -0
- package/docs/ModelAttributeResource.md +2 -0
- package/docs/PaginatedModelAttributeListResourceResponse.md +36 -0
- package/docs/PaginatedProductRangeFrontendListResourceResponse.md +36 -0
- package/docs/PaginatedProductRangeListResourceResponse.md +36 -0
- package/docs/PaginatedProductRangeLiteResourceResponse.md +36 -0
- package/docs/{PaginatedStoreListResourceResponse.md → PaginatedProductRangeResourceResponse.md} +5 -5
- package/docs/ProductRangeApi.md +1097 -0
- package/docs/{StoreSpecialDateFrontendResource.md → ProductRangeFrontendListResource.md} +12 -10
- package/docs/{StoreSpecialDateFrontendResourceArrayResponse.md → ProductRangeFrontendListResourceArrayResponse.md} +5 -5
- package/docs/ProductRangeFrontendResource.md +62 -0
- package/docs/ProductRangeFrontendResourceArrayResponse.md +34 -0
- package/docs/ProductRangeListResource.md +44 -0
- package/docs/{StoreListResourceArrayResponse.md → ProductRangeListResourceArrayResponse.md} +5 -5
- package/docs/{StoreLiteResource.md → ProductRangeLiteResource.md} +4 -6
- package/docs/{StoreSpecialDateResourceArrayResponse.md → ProductRangeLiteResourceArrayResponse.md} +5 -5
- package/docs/ProductRangeResource.md +52 -0
- package/docs/{AddressResourceArrayResponse.md → ProductRangeResourceArrayResponse.md} +5 -5
- package/docs/ProductRangeSiteDetailLiteResource.md +38 -0
- package/docs/ProductRangeSiteDetailLiteResourceArrayResponse.md +34 -0
- package/docs/ProductRangeSiteDetailResource.md +56 -0
- package/docs/ProductRangeSiteDetailResourceArrayResponse.md +34 -0
- package/docs/{StoreSpecialDateResource.md → StoreProductRangeRequest.md} +10 -12
- package/docs/StoreProductRangeRequestSitesInner.md +54 -0
- package/docs/SupplierApi.md +0 -138
- package/docs/UpdateProductRangeRequest.md +42 -0
- package/docs/{UpdateProductTypeRequestPerformanceValuesInner.md → UpdateProductRangeRequestAttributesInner.md} +4 -4
- package/docs/UpdateProductTypeRequest.md +4 -4
- package/package.json +1 -1
- package/src/apis/AttributeApi.ts +50 -0
- package/src/apis/ProductRangeApi.ts +888 -0
- package/src/apis/SupplierApi.ts +0 -112
- package/src/apis/index.ts +1 -1
- package/src/models/AttachAccessoriesProductRangeRequest.ts +66 -0
- package/src/models/AttachAttributesProductRangeRequest.ts +74 -0
- package/src/models/AttachAttributesProductRangeRequestAttributesInner.ts +74 -0
- package/src/models/AttachDocumentablesDocumentRequestDocumentablesInner.ts +1 -0
- package/src/models/AttachDocumentsProductRangeRequest.ts +74 -0
- package/src/models/DetachAccessoriesProductRangeRequest.ts +66 -0
- package/src/models/DetachAttributesProductRangeRequest.ts +66 -0
- package/src/models/DetachDocumentablesDocumentRequestDocumentablesInner.ts +1 -0
- package/src/models/DetachDocumentsProductRangeRequest.ts +66 -0
- package/src/models/GetAllDocumentRequest.ts +1 -0
- package/src/models/GetAllProductChildRequest.ts +1 -0
- package/src/models/GetAllProductRangeRequest.ts +151 -0
- package/src/models/IndexAttributeRequest.ts +3 -1
- package/src/models/IndexDocumentRequest.ts +1 -0
- package/src/models/IndexModelAttributeRequest.ts +176 -0
- package/src/models/IndexProductChildRequest.ts +1 -0
- package/src/models/IndexProductRangeRequest.ts +167 -0
- package/src/models/ModelAttributeListResource.ts +125 -0
- package/src/models/ModelAttributeListResourceArrayResponse.ts +73 -0
- package/src/models/ModelAttributeResource.ts +8 -0
- package/src/models/PaginatedModelAttributeListResourceResponse.ts +90 -0
- package/src/models/PaginatedProductRangeFrontendListResourceResponse.ts +90 -0
- package/src/models/PaginatedProductRangeListResourceResponse.ts +90 -0
- package/src/models/PaginatedProductRangeLiteResourceResponse.ts +90 -0
- package/src/models/PaginatedProductRangeResourceResponse.ts +90 -0
- package/src/models/ProductRangeFrontendListResource.ts +111 -0
- package/src/models/ProductRangeFrontendListResourceArrayResponse.ts +73 -0
- package/src/models/ProductRangeFrontendResource.ts +207 -0
- package/src/models/ProductRangeFrontendResourceArrayResponse.ts +73 -0
- package/src/models/ProductRangeListResource.ts +140 -0
- package/src/models/ProductRangeListResourceArrayResponse.ts +73 -0
- package/src/models/ProductRangeLiteResource.ts +75 -0
- package/src/models/ProductRangeLiteResourceArrayResponse.ts +73 -0
- package/src/models/ProductRangeResource.ts +167 -0
- package/src/models/ProductRangeResourceArrayResponse.ts +73 -0
- package/src/models/ProductRangeSiteDetailLiteResource.ts +84 -0
- package/src/models/ProductRangeSiteDetailLiteResourceArrayResponse.ts +73 -0
- package/src/models/ProductRangeSiteDetailResource.ts +187 -0
- package/src/models/ProductRangeSiteDetailResourceArrayResponse.ts +73 -0
- package/src/models/StoreAssetForAssetableRequest.ts +4 -1
- package/src/models/StoreProductRangeRequest.ts +105 -0
- package/src/models/StoreProductRangeRequestSitesInner.ts +148 -0
- package/src/models/UpdateProductRangeRequest.ts +120 -0
- package/src/models/UpdateProductRangeRequestAttributesInner.ts +73 -0
- package/src/models/UpdateProductTypeRequest.ts +22 -22
- package/src/models/index.ts +35 -28
- package/dist/apis/StoreApi.d.ts +0 -173
- package/dist/apis/StoreApi.js +0 -679
- package/dist/models/AddressFrontendResource.d.ts +0 -74
- package/dist/models/AddressFrontendResource.js +0 -75
- package/dist/models/AddressFrontendResourceArrayResponse.d.ts +0 -33
- package/dist/models/AddressFrontendResourceArrayResponse.js +0 -50
- 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/AttachStoresSupplierRequest.d.ts +0 -32
- package/dist/models/AttachStoresSupplierRequest.js +0 -51
- package/dist/models/AttachSuppliersStoreRequest.d.ts +0 -32
- package/dist/models/AttachSuppliersStoreRequest.js +0 -51
- package/dist/models/DetachStoresSupplierRequest.d.ts +0 -32
- package/dist/models/DetachStoresSupplierRequest.js +0 -51
- package/dist/models/DetachSuppliersStoreRequest.d.ts +0 -32
- package/dist/models/DetachSuppliersStoreRequest.js +0 -51
- package/dist/models/GetAllStoreRequest.d.ts +0 -93
- package/dist/models/GetAllStoreRequest.js +0 -81
- package/dist/models/IndexStoreRequest.d.ts +0 -105
- package/dist/models/PaginatedStoreListResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedStoreListResourceResponse.js +0 -57
- package/dist/models/StoreFrontendResource.d.ts +0 -98
- package/dist/models/StoreFrontendResource.js +0 -87
- package/dist/models/StoreFrontendResourceArrayResponse.d.ts +0 -33
- package/dist/models/StoreFrontendResourceArrayResponse.js +0 -50
- package/dist/models/StoreListResource.d.ts +0 -81
- package/dist/models/StoreListResource.js +0 -78
- package/dist/models/StoreListResourceArrayResponse.d.ts +0 -33
- package/dist/models/StoreListResourceArrayResponse.js +0 -50
- package/dist/models/StoreLiteResource.d.ts +0 -45
- package/dist/models/StoreLiteResource.js +0 -58
- package/dist/models/StoreLiteResourceArrayResponse.d.ts +0 -33
- package/dist/models/StoreLiteResourceArrayResponse.js +0 -50
- package/dist/models/StoreResource.d.ts +0 -100
- package/dist/models/StoreResource.js +0 -93
- package/dist/models/StoreResourceArrayResponse.d.ts +0 -33
- package/dist/models/StoreResourceArrayResponse.js +0 -50
- package/dist/models/StoreSpecialDateFrontendResource.d.ts +0 -56
- package/dist/models/StoreSpecialDateFrontendResource.js +0 -65
- package/dist/models/StoreSpecialDateFrontendResourceArrayResponse.d.ts +0 -33
- package/dist/models/StoreSpecialDateFrontendResourceArrayResponse.js +0 -50
- package/dist/models/StoreSpecialDateResource.d.ts +0 -56
- package/dist/models/StoreSpecialDateResource.js +0 -65
- package/dist/models/StoreSpecialDateResourceArrayResponse.d.ts +0 -33
- package/dist/models/StoreSpecialDateResourceArrayResponse.js +0 -50
- package/dist/models/StoreStoreRequest.d.ts +0 -177
- package/dist/models/StoreStoreRequest.js +0 -124
- package/dist/models/StoreStoreRequestSpecialDatesInner.d.ts +0 -50
- package/dist/models/StoreStoreRequestSpecialDatesInner.js +0 -57
- package/dist/models/StoreStoreSpecialDateRequest.d.ts +0 -50
- package/dist/models/StoreStoreSpecialDateRequest.js +0 -57
- package/dist/models/UpdateProductTypeRequestPerformanceValuesInner.d.ts +0 -38
- package/dist/models/UpdateProductTypeRequestPerformanceValuesInner.js +0 -51
- package/dist/models/UpdateStoreRequest.d.ts +0 -164
- package/dist/models/UpdateStoreRequest.js +0 -119
- package/docs/AddressFrontendResource.md +0 -48
- package/docs/AddressResource.md +0 -50
- package/docs/DetachStoresSupplierRequest.md +0 -34
- package/docs/DetachSuppliersStoreRequest.md +0 -34
- package/docs/StoreApi.md +0 -683
- package/docs/StoreFrontendResource.md +0 -56
- package/docs/StoreListResource.md +0 -50
- package/docs/StoreLiteResourceArrayResponse.md +0 -34
- package/docs/StoreResource.md +0 -56
- package/docs/StoreResourceArrayResponse.md +0 -34
- package/docs/StoreStoreRequest.md +0 -82
- package/docs/StoreStoreSpecialDateRequest.md +0 -40
- package/docs/UpdateStoreRequest.md +0 -78
- package/src/apis/StoreApi.ts +0 -563
- package/src/models/AddressFrontendResource.ts +0 -127
- package/src/models/AddressFrontendResourceArrayResponse.ts +0 -73
- package/src/models/AddressResource.ts +0 -136
- package/src/models/AddressResourceArrayResponse.ts +0 -73
- package/src/models/AttachStoresSupplierRequest.ts +0 -66
- package/src/models/AttachSuppliersStoreRequest.ts +0 -66
- package/src/models/DetachStoresSupplierRequest.ts +0 -66
- package/src/models/DetachSuppliersStoreRequest.ts +0 -66
- package/src/models/GetAllStoreRequest.ts +0 -144
- package/src/models/IndexStoreRequest.ts +0 -160
- package/src/models/PaginatedStoreListResourceResponse.ts +0 -90
- package/src/models/StoreFrontendResource.ts +0 -161
- package/src/models/StoreFrontendResourceArrayResponse.ts +0 -73
- package/src/models/StoreListResource.ts +0 -143
- package/src/models/StoreListResourceArrayResponse.ts +0 -73
- package/src/models/StoreLiteResource.ts +0 -91
- package/src/models/StoreLiteResourceArrayResponse.ts +0 -73
- package/src/models/StoreResource.ts +0 -178
- package/src/models/StoreResourceArrayResponse.ts +0 -73
- package/src/models/StoreSpecialDateFrontendResource.ts +0 -101
- package/src/models/StoreSpecialDateFrontendResourceArrayResponse.ts +0 -73
- package/src/models/StoreSpecialDateResource.ts +0 -101
- package/src/models/StoreSpecialDateResourceArrayResponse.ts +0 -73
- package/src/models/StoreStoreRequest.ts +0 -278
- package/src/models/StoreStoreRequestSpecialDatesInner.ts +0 -90
- package/src/models/StoreStoreSpecialDateRequest.ts +0 -90
- package/src/models/UpdateProductTypeRequestPerformanceValuesInner.ts +0 -73
- package/src/models/UpdateStoreRequest.ts +0 -254
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* My API
|
|
6
|
-
* API documentation for my Laravel app
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 1.0.0
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.instanceOfDetachStoresSupplierRequest = instanceOfDetachStoresSupplierRequest;
|
|
17
|
-
exports.DetachStoresSupplierRequestFromJSON = DetachStoresSupplierRequestFromJSON;
|
|
18
|
-
exports.DetachStoresSupplierRequestFromJSONTyped = DetachStoresSupplierRequestFromJSONTyped;
|
|
19
|
-
exports.DetachStoresSupplierRequestToJSON = DetachStoresSupplierRequestToJSON;
|
|
20
|
-
exports.DetachStoresSupplierRequestToJSONTyped = DetachStoresSupplierRequestToJSONTyped;
|
|
21
|
-
/**
|
|
22
|
-
* Check if a given object implements the DetachStoresSupplierRequest interface.
|
|
23
|
-
*/
|
|
24
|
-
function instanceOfDetachStoresSupplierRequest(value) {
|
|
25
|
-
if (!('storeIds' in value) || value['storeIds'] === undefined)
|
|
26
|
-
return false;
|
|
27
|
-
return true;
|
|
28
|
-
}
|
|
29
|
-
function DetachStoresSupplierRequestFromJSON(json) {
|
|
30
|
-
return DetachStoresSupplierRequestFromJSONTyped(json, false);
|
|
31
|
-
}
|
|
32
|
-
function DetachStoresSupplierRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
-
if (json == null) {
|
|
34
|
-
return json;
|
|
35
|
-
}
|
|
36
|
-
return {
|
|
37
|
-
'storeIds': json['store_ids'],
|
|
38
|
-
};
|
|
39
|
-
}
|
|
40
|
-
function DetachStoresSupplierRequestToJSON(json) {
|
|
41
|
-
return DetachStoresSupplierRequestToJSONTyped(json, false);
|
|
42
|
-
}
|
|
43
|
-
function DetachStoresSupplierRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
44
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
45
|
-
if (value == null) {
|
|
46
|
-
return value;
|
|
47
|
-
}
|
|
48
|
-
return {
|
|
49
|
-
'store_ids': value['storeIds'],
|
|
50
|
-
};
|
|
51
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* My API
|
|
3
|
-
* API documentation for my Laravel app
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface DetachSuppliersStoreRequest
|
|
16
|
-
*/
|
|
17
|
-
export interface DetachSuppliersStoreRequest {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {Array<number>}
|
|
21
|
-
* @memberof DetachSuppliersStoreRequest
|
|
22
|
-
*/
|
|
23
|
-
supplierIds: Array<number>;
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Check if a given object implements the DetachSuppliersStoreRequest interface.
|
|
27
|
-
*/
|
|
28
|
-
export declare function instanceOfDetachSuppliersStoreRequest(value: object): value is DetachSuppliersStoreRequest;
|
|
29
|
-
export declare function DetachSuppliersStoreRequestFromJSON(json: any): DetachSuppliersStoreRequest;
|
|
30
|
-
export declare function DetachSuppliersStoreRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): DetachSuppliersStoreRequest;
|
|
31
|
-
export declare function DetachSuppliersStoreRequestToJSON(json: any): DetachSuppliersStoreRequest;
|
|
32
|
-
export declare function DetachSuppliersStoreRequestToJSONTyped(value?: DetachSuppliersStoreRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* My API
|
|
6
|
-
* API documentation for my Laravel app
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 1.0.0
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.instanceOfDetachSuppliersStoreRequest = instanceOfDetachSuppliersStoreRequest;
|
|
17
|
-
exports.DetachSuppliersStoreRequestFromJSON = DetachSuppliersStoreRequestFromJSON;
|
|
18
|
-
exports.DetachSuppliersStoreRequestFromJSONTyped = DetachSuppliersStoreRequestFromJSONTyped;
|
|
19
|
-
exports.DetachSuppliersStoreRequestToJSON = DetachSuppliersStoreRequestToJSON;
|
|
20
|
-
exports.DetachSuppliersStoreRequestToJSONTyped = DetachSuppliersStoreRequestToJSONTyped;
|
|
21
|
-
/**
|
|
22
|
-
* Check if a given object implements the DetachSuppliersStoreRequest interface.
|
|
23
|
-
*/
|
|
24
|
-
function instanceOfDetachSuppliersStoreRequest(value) {
|
|
25
|
-
if (!('supplierIds' in value) || value['supplierIds'] === undefined)
|
|
26
|
-
return false;
|
|
27
|
-
return true;
|
|
28
|
-
}
|
|
29
|
-
function DetachSuppliersStoreRequestFromJSON(json) {
|
|
30
|
-
return DetachSuppliersStoreRequestFromJSONTyped(json, false);
|
|
31
|
-
}
|
|
32
|
-
function DetachSuppliersStoreRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
-
if (json == null) {
|
|
34
|
-
return json;
|
|
35
|
-
}
|
|
36
|
-
return {
|
|
37
|
-
'supplierIds': json['supplier_ids'],
|
|
38
|
-
};
|
|
39
|
-
}
|
|
40
|
-
function DetachSuppliersStoreRequestToJSON(json) {
|
|
41
|
-
return DetachSuppliersStoreRequestToJSONTyped(json, false);
|
|
42
|
-
}
|
|
43
|
-
function DetachSuppliersStoreRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
44
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
45
|
-
if (value == null) {
|
|
46
|
-
return value;
|
|
47
|
-
}
|
|
48
|
-
return {
|
|
49
|
-
'supplier_ids': value['supplierIds'],
|
|
50
|
-
};
|
|
51
|
-
}
|
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* My API
|
|
3
|
-
* API documentation for my Laravel app
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface GetAllStoreRequest
|
|
16
|
-
*/
|
|
17
|
-
export interface GetAllStoreRequest {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof GetAllStoreRequest
|
|
22
|
-
*/
|
|
23
|
-
search?: string;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {GetAllStoreRequestSortByEnum}
|
|
27
|
-
* @memberof GetAllStoreRequest
|
|
28
|
-
*/
|
|
29
|
-
sortBy?: GetAllStoreRequestSortByEnum;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {GetAllStoreRequestSortDirectionEnum}
|
|
33
|
-
* @memberof GetAllStoreRequest
|
|
34
|
-
*/
|
|
35
|
-
sortDirection?: GetAllStoreRequestSortDirectionEnum;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {number}
|
|
39
|
-
* @memberof GetAllStoreRequest
|
|
40
|
-
*/
|
|
41
|
-
relatedId?: number;
|
|
42
|
-
/**
|
|
43
|
-
*
|
|
44
|
-
* @type {string}
|
|
45
|
-
* @memberof GetAllStoreRequest
|
|
46
|
-
*/
|
|
47
|
-
relatedType?: string;
|
|
48
|
-
/**
|
|
49
|
-
*
|
|
50
|
-
* @type {boolean}
|
|
51
|
-
* @memberof GetAllStoreRequest
|
|
52
|
-
*/
|
|
53
|
-
includesRelations?: boolean;
|
|
54
|
-
/**
|
|
55
|
-
*
|
|
56
|
-
* @type {Array<string>}
|
|
57
|
-
* @memberof GetAllStoreRequest
|
|
58
|
-
*/
|
|
59
|
-
siteId?: Array<string>;
|
|
60
|
-
/**
|
|
61
|
-
*
|
|
62
|
-
* @type {Array<string>}
|
|
63
|
-
* @memberof GetAllStoreRequest
|
|
64
|
-
*/
|
|
65
|
-
suppliersId?: Array<string>;
|
|
66
|
-
}
|
|
67
|
-
/**
|
|
68
|
-
* @export
|
|
69
|
-
*/
|
|
70
|
-
export declare const GetAllStoreRequestSortByEnum: {
|
|
71
|
-
readonly Id: "id";
|
|
72
|
-
readonly SiteId: "site_id";
|
|
73
|
-
readonly Name: "name";
|
|
74
|
-
readonly CreatedAt: "created_at";
|
|
75
|
-
readonly UpdatedAt: "updated_at";
|
|
76
|
-
};
|
|
77
|
-
export type GetAllStoreRequestSortByEnum = typeof GetAllStoreRequestSortByEnum[keyof typeof GetAllStoreRequestSortByEnum];
|
|
78
|
-
/**
|
|
79
|
-
* @export
|
|
80
|
-
*/
|
|
81
|
-
export declare const GetAllStoreRequestSortDirectionEnum: {
|
|
82
|
-
readonly Asc: "asc";
|
|
83
|
-
readonly Desc: "desc";
|
|
84
|
-
};
|
|
85
|
-
export type GetAllStoreRequestSortDirectionEnum = typeof GetAllStoreRequestSortDirectionEnum[keyof typeof GetAllStoreRequestSortDirectionEnum];
|
|
86
|
-
/**
|
|
87
|
-
* Check if a given object implements the GetAllStoreRequest interface.
|
|
88
|
-
*/
|
|
89
|
-
export declare function instanceOfGetAllStoreRequest(value: object): value is GetAllStoreRequest;
|
|
90
|
-
export declare function GetAllStoreRequestFromJSON(json: any): GetAllStoreRequest;
|
|
91
|
-
export declare function GetAllStoreRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetAllStoreRequest;
|
|
92
|
-
export declare function GetAllStoreRequestToJSON(json: any): GetAllStoreRequest;
|
|
93
|
-
export declare function GetAllStoreRequestToJSONTyped(value?: GetAllStoreRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* My API
|
|
6
|
-
* API documentation for my Laravel app
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 1.0.0
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.GetAllStoreRequestSortDirectionEnum = exports.GetAllStoreRequestSortByEnum = void 0;
|
|
17
|
-
exports.instanceOfGetAllStoreRequest = instanceOfGetAllStoreRequest;
|
|
18
|
-
exports.GetAllStoreRequestFromJSON = GetAllStoreRequestFromJSON;
|
|
19
|
-
exports.GetAllStoreRequestFromJSONTyped = GetAllStoreRequestFromJSONTyped;
|
|
20
|
-
exports.GetAllStoreRequestToJSON = GetAllStoreRequestToJSON;
|
|
21
|
-
exports.GetAllStoreRequestToJSONTyped = GetAllStoreRequestToJSONTyped;
|
|
22
|
-
/**
|
|
23
|
-
* @export
|
|
24
|
-
*/
|
|
25
|
-
exports.GetAllStoreRequestSortByEnum = {
|
|
26
|
-
Id: 'id',
|
|
27
|
-
SiteId: 'site_id',
|
|
28
|
-
Name: 'name',
|
|
29
|
-
CreatedAt: 'created_at',
|
|
30
|
-
UpdatedAt: 'updated_at'
|
|
31
|
-
};
|
|
32
|
-
/**
|
|
33
|
-
* @export
|
|
34
|
-
*/
|
|
35
|
-
exports.GetAllStoreRequestSortDirectionEnum = {
|
|
36
|
-
Asc: 'asc',
|
|
37
|
-
Desc: 'desc'
|
|
38
|
-
};
|
|
39
|
-
/**
|
|
40
|
-
* Check if a given object implements the GetAllStoreRequest interface.
|
|
41
|
-
*/
|
|
42
|
-
function instanceOfGetAllStoreRequest(value) {
|
|
43
|
-
return true;
|
|
44
|
-
}
|
|
45
|
-
function GetAllStoreRequestFromJSON(json) {
|
|
46
|
-
return GetAllStoreRequestFromJSONTyped(json, false);
|
|
47
|
-
}
|
|
48
|
-
function GetAllStoreRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
49
|
-
if (json == null) {
|
|
50
|
-
return json;
|
|
51
|
-
}
|
|
52
|
-
return {
|
|
53
|
-
'search': json['search'] == null ? undefined : json['search'],
|
|
54
|
-
'sortBy': json['sortBy'] == null ? undefined : json['sortBy'],
|
|
55
|
-
'sortDirection': json['sortDirection'] == null ? undefined : json['sortDirection'],
|
|
56
|
-
'relatedId': json['related_id'] == null ? undefined : json['related_id'],
|
|
57
|
-
'relatedType': json['related_type'] == null ? undefined : json['related_type'],
|
|
58
|
-
'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
|
|
59
|
-
'siteId': json['site_id'] == null ? undefined : json['site_id'],
|
|
60
|
-
'suppliersId': json['suppliers-id'] == null ? undefined : json['suppliers-id'],
|
|
61
|
-
};
|
|
62
|
-
}
|
|
63
|
-
function GetAllStoreRequestToJSON(json) {
|
|
64
|
-
return GetAllStoreRequestToJSONTyped(json, false);
|
|
65
|
-
}
|
|
66
|
-
function GetAllStoreRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
67
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
68
|
-
if (value == null) {
|
|
69
|
-
return value;
|
|
70
|
-
}
|
|
71
|
-
return {
|
|
72
|
-
'search': value['search'],
|
|
73
|
-
'sortBy': value['sortBy'],
|
|
74
|
-
'sortDirection': value['sortDirection'],
|
|
75
|
-
'related_id': value['relatedId'],
|
|
76
|
-
'related_type': value['relatedType'],
|
|
77
|
-
'includes_relations': value['includesRelations'],
|
|
78
|
-
'site_id': value['siteId'],
|
|
79
|
-
'suppliers-id': value['suppliersId'],
|
|
80
|
-
};
|
|
81
|
-
}
|
|
@@ -1,105 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* My API
|
|
3
|
-
* API documentation for my Laravel app
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface IndexStoreRequest
|
|
16
|
-
*/
|
|
17
|
-
export interface IndexStoreRequest {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof IndexStoreRequest
|
|
22
|
-
*/
|
|
23
|
-
search?: string;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {IndexStoreRequestSortByEnum}
|
|
27
|
-
* @memberof IndexStoreRequest
|
|
28
|
-
*/
|
|
29
|
-
sortBy?: IndexStoreRequestSortByEnum;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {IndexStoreRequestSortDirectionEnum}
|
|
33
|
-
* @memberof IndexStoreRequest
|
|
34
|
-
*/
|
|
35
|
-
sortDirection?: IndexStoreRequestSortDirectionEnum;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {number}
|
|
39
|
-
* @memberof IndexStoreRequest
|
|
40
|
-
*/
|
|
41
|
-
perPage?: number;
|
|
42
|
-
/**
|
|
43
|
-
*
|
|
44
|
-
* @type {number}
|
|
45
|
-
* @memberof IndexStoreRequest
|
|
46
|
-
*/
|
|
47
|
-
page?: number;
|
|
48
|
-
/**
|
|
49
|
-
*
|
|
50
|
-
* @type {Array<string>}
|
|
51
|
-
* @memberof IndexStoreRequest
|
|
52
|
-
*/
|
|
53
|
-
siteId?: Array<string>;
|
|
54
|
-
/**
|
|
55
|
-
*
|
|
56
|
-
* @type {Array<string>}
|
|
57
|
-
* @memberof IndexStoreRequest
|
|
58
|
-
*/
|
|
59
|
-
suppliersId?: Array<string>;
|
|
60
|
-
/**
|
|
61
|
-
*
|
|
62
|
-
* @type {number}
|
|
63
|
-
* @memberof IndexStoreRequest
|
|
64
|
-
*/
|
|
65
|
-
relatedId?: number;
|
|
66
|
-
/**
|
|
67
|
-
*
|
|
68
|
-
* @type {string}
|
|
69
|
-
* @memberof IndexStoreRequest
|
|
70
|
-
*/
|
|
71
|
-
relatedType?: string;
|
|
72
|
-
/**
|
|
73
|
-
*
|
|
74
|
-
* @type {boolean}
|
|
75
|
-
* @memberof IndexStoreRequest
|
|
76
|
-
*/
|
|
77
|
-
includesRelations?: boolean;
|
|
78
|
-
}
|
|
79
|
-
/**
|
|
80
|
-
* @export
|
|
81
|
-
*/
|
|
82
|
-
export declare const IndexStoreRequestSortByEnum: {
|
|
83
|
-
readonly Id: "id";
|
|
84
|
-
readonly SiteId: "site_id";
|
|
85
|
-
readonly Name: "name";
|
|
86
|
-
readonly CreatedAt: "created_at";
|
|
87
|
-
readonly UpdatedAt: "updated_at";
|
|
88
|
-
};
|
|
89
|
-
export type IndexStoreRequestSortByEnum = typeof IndexStoreRequestSortByEnum[keyof typeof IndexStoreRequestSortByEnum];
|
|
90
|
-
/**
|
|
91
|
-
* @export
|
|
92
|
-
*/
|
|
93
|
-
export declare const IndexStoreRequestSortDirectionEnum: {
|
|
94
|
-
readonly Asc: "asc";
|
|
95
|
-
readonly Desc: "desc";
|
|
96
|
-
};
|
|
97
|
-
export type IndexStoreRequestSortDirectionEnum = typeof IndexStoreRequestSortDirectionEnum[keyof typeof IndexStoreRequestSortDirectionEnum];
|
|
98
|
-
/**
|
|
99
|
-
* Check if a given object implements the IndexStoreRequest interface.
|
|
100
|
-
*/
|
|
101
|
-
export declare function instanceOfIndexStoreRequest(value: object): value is IndexStoreRequest;
|
|
102
|
-
export declare function IndexStoreRequestFromJSON(json: any): IndexStoreRequest;
|
|
103
|
-
export declare function IndexStoreRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): IndexStoreRequest;
|
|
104
|
-
export declare function IndexStoreRequestToJSON(json: any): IndexStoreRequest;
|
|
105
|
-
export declare function IndexStoreRequestToJSONTyped(value?: IndexStoreRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* My API
|
|
3
|
-
* API documentation for my Laravel app
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import type { PagingMetadata } from './PagingMetadata';
|
|
13
|
-
import type { StoreListResource } from './StoreListResource';
|
|
14
|
-
/**
|
|
15
|
-
*
|
|
16
|
-
* @export
|
|
17
|
-
* @interface PaginatedStoreListResourceResponse
|
|
18
|
-
*/
|
|
19
|
-
export interface PaginatedStoreListResourceResponse {
|
|
20
|
-
/**
|
|
21
|
-
*
|
|
22
|
-
* @type {Array<StoreListResource>}
|
|
23
|
-
* @memberof PaginatedStoreListResourceResponse
|
|
24
|
-
*/
|
|
25
|
-
data: Array<StoreListResource>;
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @type {PagingMetadata}
|
|
29
|
-
* @memberof PaginatedStoreListResourceResponse
|
|
30
|
-
*/
|
|
31
|
-
meta: PagingMetadata;
|
|
32
|
-
}
|
|
33
|
-
/**
|
|
34
|
-
* Check if a given object implements the PaginatedStoreListResourceResponse interface.
|
|
35
|
-
*/
|
|
36
|
-
export declare function instanceOfPaginatedStoreListResourceResponse(value: object): value is PaginatedStoreListResourceResponse;
|
|
37
|
-
export declare function PaginatedStoreListResourceResponseFromJSON(json: any): PaginatedStoreListResourceResponse;
|
|
38
|
-
export declare function PaginatedStoreListResourceResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedStoreListResourceResponse;
|
|
39
|
-
export declare function PaginatedStoreListResourceResponseToJSON(json: any): PaginatedStoreListResourceResponse;
|
|
40
|
-
export declare function PaginatedStoreListResourceResponseToJSONTyped(value?: PaginatedStoreListResourceResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* My API
|
|
6
|
-
* API documentation for my Laravel app
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 1.0.0
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.instanceOfPaginatedStoreListResourceResponse = instanceOfPaginatedStoreListResourceResponse;
|
|
17
|
-
exports.PaginatedStoreListResourceResponseFromJSON = PaginatedStoreListResourceResponseFromJSON;
|
|
18
|
-
exports.PaginatedStoreListResourceResponseFromJSONTyped = PaginatedStoreListResourceResponseFromJSONTyped;
|
|
19
|
-
exports.PaginatedStoreListResourceResponseToJSON = PaginatedStoreListResourceResponseToJSON;
|
|
20
|
-
exports.PaginatedStoreListResourceResponseToJSONTyped = PaginatedStoreListResourceResponseToJSONTyped;
|
|
21
|
-
var PagingMetadata_1 = require("./PagingMetadata");
|
|
22
|
-
var StoreListResource_1 = require("./StoreListResource");
|
|
23
|
-
/**
|
|
24
|
-
* Check if a given object implements the PaginatedStoreListResourceResponse interface.
|
|
25
|
-
*/
|
|
26
|
-
function instanceOfPaginatedStoreListResourceResponse(value) {
|
|
27
|
-
if (!('data' in value) || value['data'] === undefined)
|
|
28
|
-
return false;
|
|
29
|
-
if (!('meta' in value) || value['meta'] === undefined)
|
|
30
|
-
return false;
|
|
31
|
-
return true;
|
|
32
|
-
}
|
|
33
|
-
function PaginatedStoreListResourceResponseFromJSON(json) {
|
|
34
|
-
return PaginatedStoreListResourceResponseFromJSONTyped(json, false);
|
|
35
|
-
}
|
|
36
|
-
function PaginatedStoreListResourceResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
-
if (json == null) {
|
|
38
|
-
return json;
|
|
39
|
-
}
|
|
40
|
-
return {
|
|
41
|
-
'data': (json['data'].map(StoreListResource_1.StoreListResourceFromJSON)),
|
|
42
|
-
'meta': (0, PagingMetadata_1.PagingMetadataFromJSON)(json['meta']),
|
|
43
|
-
};
|
|
44
|
-
}
|
|
45
|
-
function PaginatedStoreListResourceResponseToJSON(json) {
|
|
46
|
-
return PaginatedStoreListResourceResponseToJSONTyped(json, false);
|
|
47
|
-
}
|
|
48
|
-
function PaginatedStoreListResourceResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
49
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
50
|
-
if (value == null) {
|
|
51
|
-
return value;
|
|
52
|
-
}
|
|
53
|
-
return {
|
|
54
|
-
'data': (value['data'].map(StoreListResource_1.StoreListResourceToJSON)),
|
|
55
|
-
'meta': (0, PagingMetadata_1.PagingMetadataToJSON)(value['meta']),
|
|
56
|
-
};
|
|
57
|
-
}
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* My API
|
|
3
|
-
* API documentation for my Laravel app
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface StoreFrontendResource
|
|
16
|
-
*/
|
|
17
|
-
export interface StoreFrontendResource {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {number}
|
|
21
|
-
* @memberof StoreFrontendResource
|
|
22
|
-
*/
|
|
23
|
-
id?: number | null;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {number}
|
|
27
|
-
* @memberof StoreFrontendResource
|
|
28
|
-
*/
|
|
29
|
-
siteId: number;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof StoreFrontendResource
|
|
34
|
-
*/
|
|
35
|
-
name: string;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof StoreFrontendResource
|
|
40
|
-
*/
|
|
41
|
-
email: string;
|
|
42
|
-
/**
|
|
43
|
-
*
|
|
44
|
-
* @type {string}
|
|
45
|
-
* @memberof StoreFrontendResource
|
|
46
|
-
*/
|
|
47
|
-
phone: string;
|
|
48
|
-
/**
|
|
49
|
-
*
|
|
50
|
-
* @type {string}
|
|
51
|
-
* @memberof StoreFrontendResource
|
|
52
|
-
*/
|
|
53
|
-
address?: string | null;
|
|
54
|
-
/**
|
|
55
|
-
*
|
|
56
|
-
* @type {number}
|
|
57
|
-
* @memberof StoreFrontendResource
|
|
58
|
-
*/
|
|
59
|
-
latitude: number;
|
|
60
|
-
/**
|
|
61
|
-
*
|
|
62
|
-
* @type {number}
|
|
63
|
-
* @memberof StoreFrontendResource
|
|
64
|
-
*/
|
|
65
|
-
longitude: number;
|
|
66
|
-
/**
|
|
67
|
-
*
|
|
68
|
-
* @type {string}
|
|
69
|
-
* @memberof StoreFrontendResource
|
|
70
|
-
*/
|
|
71
|
-
tagLine?: string | null;
|
|
72
|
-
/**
|
|
73
|
-
*
|
|
74
|
-
* @type {string}
|
|
75
|
-
* @memberof StoreFrontendResource
|
|
76
|
-
*/
|
|
77
|
-
openingHours?: string | null;
|
|
78
|
-
/**
|
|
79
|
-
*
|
|
80
|
-
* @type {object}
|
|
81
|
-
* @memberof StoreFrontendResource
|
|
82
|
-
*/
|
|
83
|
-
specialDates: object;
|
|
84
|
-
/**
|
|
85
|
-
*
|
|
86
|
-
* @type {object}
|
|
87
|
-
* @memberof StoreFrontendResource
|
|
88
|
-
*/
|
|
89
|
-
suppliers: object;
|
|
90
|
-
}
|
|
91
|
-
/**
|
|
92
|
-
* Check if a given object implements the StoreFrontendResource interface.
|
|
93
|
-
*/
|
|
94
|
-
export declare function instanceOfStoreFrontendResource(value: object): value is StoreFrontendResource;
|
|
95
|
-
export declare function StoreFrontendResourceFromJSON(json: any): StoreFrontendResource;
|
|
96
|
-
export declare function StoreFrontendResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): StoreFrontendResource;
|
|
97
|
-
export declare function StoreFrontendResourceToJSON(json: any): StoreFrontendResource;
|
|
98
|
-
export declare function StoreFrontendResourceToJSONTyped(value?: StoreFrontendResource | null, ignoreDiscriminator?: boolean): any;
|