@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
|
@@ -10,18 +10,10 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type {
|
|
14
|
-
export interface AttachStoresSupplierOperationRequest {
|
|
15
|
-
supplier: number;
|
|
16
|
-
attachStoresSupplierRequest?: AttachStoresSupplierRequest;
|
|
17
|
-
}
|
|
13
|
+
import type { GenericResponse, GetAllSupplierRequest, IndexSupplierRequest, PaginatedSupplierListResourceResponse, StoreSupplierRequest, SupplierLiteResourceArrayResponse, SupplierResource, UpdateSupplierRequest } from '../models/index';
|
|
18
14
|
export interface DestroySupplierRequest {
|
|
19
15
|
supplier: number;
|
|
20
16
|
}
|
|
21
|
-
export interface DetachStoresSupplierOperationRequest {
|
|
22
|
-
supplier: number;
|
|
23
|
-
detachStoresSupplierRequest?: DetachStoresSupplierRequest;
|
|
24
|
-
}
|
|
25
17
|
export interface ExportSupplierRequest {
|
|
26
18
|
indexSupplierRequest?: IndexSupplierRequest;
|
|
27
19
|
}
|
|
@@ -48,18 +40,6 @@ export interface UpdateSupplierOperationRequest {
|
|
|
48
40
|
*
|
|
49
41
|
*/
|
|
50
42
|
export declare class SupplierApi extends runtime.BaseAPI {
|
|
51
|
-
/**
|
|
52
|
-
* Creates request options for attachStoresSupplier without sending the request
|
|
53
|
-
*/
|
|
54
|
-
attachStoresSupplierRequestOpts(requestParameters: AttachStoresSupplierOperationRequest): Promise<runtime.RequestOpts>;
|
|
55
|
-
/**
|
|
56
|
-
* Auto-generated: attachStoresSupplier
|
|
57
|
-
*/
|
|
58
|
-
attachStoresSupplierRaw(requestParameters: AttachStoresSupplierOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SupplierResource>>;
|
|
59
|
-
/**
|
|
60
|
-
* Auto-generated: attachStoresSupplier
|
|
61
|
-
*/
|
|
62
|
-
attachStoresSupplier(requestParameters: AttachStoresSupplierOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SupplierResource>;
|
|
63
43
|
/**
|
|
64
44
|
* Creates request options for destroySupplier without sending the request
|
|
65
45
|
*/
|
|
@@ -72,18 +52,6 @@ export declare class SupplierApi extends runtime.BaseAPI {
|
|
|
72
52
|
* Auto-generated: destroySupplier
|
|
73
53
|
*/
|
|
74
54
|
destroySupplier(requestParameters: DestroySupplierRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GenericResponse>;
|
|
75
|
-
/**
|
|
76
|
-
* Creates request options for detachStoresSupplier without sending the request
|
|
77
|
-
*/
|
|
78
|
-
detachStoresSupplierRequestOpts(requestParameters: DetachStoresSupplierOperationRequest): Promise<runtime.RequestOpts>;
|
|
79
|
-
/**
|
|
80
|
-
* Auto-generated: detachStoresSupplier
|
|
81
|
-
*/
|
|
82
|
-
detachStoresSupplierRaw(requestParameters: DetachStoresSupplierOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SupplierResource>>;
|
|
83
|
-
/**
|
|
84
|
-
* Auto-generated: detachStoresSupplier
|
|
85
|
-
*/
|
|
86
|
-
detachStoresSupplier(requestParameters: DetachStoresSupplierOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SupplierResource>;
|
|
87
55
|
/**
|
|
88
56
|
* Creates request options for exportSupplier without sending the request
|
|
89
57
|
*/
|
package/dist/apis/SupplierApi.js
CHANGED
|
@@ -75,67 +75,6 @@ var SupplierApi = /** @class */ (function (_super) {
|
|
|
75
75
|
function SupplierApi() {
|
|
76
76
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
77
77
|
}
|
|
78
|
-
/**
|
|
79
|
-
* Creates request options for attachStoresSupplier without sending the request
|
|
80
|
-
*/
|
|
81
|
-
SupplierApi.prototype.attachStoresSupplierRequestOpts = function (requestParameters) {
|
|
82
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
83
|
-
var queryParameters, headerParameters, urlPath;
|
|
84
|
-
return __generator(this, function (_a) {
|
|
85
|
-
if (requestParameters['supplier'] == null) {
|
|
86
|
-
throw new runtime.RequiredError('supplier', 'Required parameter "supplier" was null or undefined when calling attachStoresSupplier().');
|
|
87
|
-
}
|
|
88
|
-
queryParameters = {};
|
|
89
|
-
headerParameters = {};
|
|
90
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
91
|
-
urlPath = "/admin-api/supplier/{supplier}/attach-stores";
|
|
92
|
-
urlPath = urlPath.replace("{".concat("supplier", "}"), encodeURIComponent(String(requestParameters['supplier'])));
|
|
93
|
-
return [2 /*return*/, {
|
|
94
|
-
path: urlPath,
|
|
95
|
-
method: 'POST',
|
|
96
|
-
headers: headerParameters,
|
|
97
|
-
query: queryParameters,
|
|
98
|
-
body: (0, index_1.AttachStoresSupplierRequestToJSON)(requestParameters['attachStoresSupplierRequest']),
|
|
99
|
-
}];
|
|
100
|
-
});
|
|
101
|
-
});
|
|
102
|
-
};
|
|
103
|
-
/**
|
|
104
|
-
* Auto-generated: attachStoresSupplier
|
|
105
|
-
*/
|
|
106
|
-
SupplierApi.prototype.attachStoresSupplierRaw = function (requestParameters, initOverrides) {
|
|
107
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
108
|
-
var requestOptions, response;
|
|
109
|
-
return __generator(this, function (_a) {
|
|
110
|
-
switch (_a.label) {
|
|
111
|
-
case 0: return [4 /*yield*/, this.attachStoresSupplierRequestOpts(requestParameters)];
|
|
112
|
-
case 1:
|
|
113
|
-
requestOptions = _a.sent();
|
|
114
|
-
return [4 /*yield*/, this.request(requestOptions, initOverrides)];
|
|
115
|
-
case 2:
|
|
116
|
-
response = _a.sent();
|
|
117
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.SupplierResourceFromJSON)(jsonValue); })];
|
|
118
|
-
}
|
|
119
|
-
});
|
|
120
|
-
});
|
|
121
|
-
};
|
|
122
|
-
/**
|
|
123
|
-
* Auto-generated: attachStoresSupplier
|
|
124
|
-
*/
|
|
125
|
-
SupplierApi.prototype.attachStoresSupplier = function (requestParameters, initOverrides) {
|
|
126
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
127
|
-
var response;
|
|
128
|
-
return __generator(this, function (_a) {
|
|
129
|
-
switch (_a.label) {
|
|
130
|
-
case 0: return [4 /*yield*/, this.attachStoresSupplierRaw(requestParameters, initOverrides)];
|
|
131
|
-
case 1:
|
|
132
|
-
response = _a.sent();
|
|
133
|
-
return [4 /*yield*/, response.value()];
|
|
134
|
-
case 2: return [2 /*return*/, _a.sent()];
|
|
135
|
-
}
|
|
136
|
-
});
|
|
137
|
-
});
|
|
138
|
-
};
|
|
139
78
|
/**
|
|
140
79
|
* Creates request options for destroySupplier without sending the request
|
|
141
80
|
*/
|
|
@@ -195,67 +134,6 @@ var SupplierApi = /** @class */ (function (_super) {
|
|
|
195
134
|
});
|
|
196
135
|
});
|
|
197
136
|
};
|
|
198
|
-
/**
|
|
199
|
-
* Creates request options for detachStoresSupplier without sending the request
|
|
200
|
-
*/
|
|
201
|
-
SupplierApi.prototype.detachStoresSupplierRequestOpts = function (requestParameters) {
|
|
202
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
203
|
-
var queryParameters, headerParameters, urlPath;
|
|
204
|
-
return __generator(this, function (_a) {
|
|
205
|
-
if (requestParameters['supplier'] == null) {
|
|
206
|
-
throw new runtime.RequiredError('supplier', 'Required parameter "supplier" was null or undefined when calling detachStoresSupplier().');
|
|
207
|
-
}
|
|
208
|
-
queryParameters = {};
|
|
209
|
-
headerParameters = {};
|
|
210
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
211
|
-
urlPath = "/admin-api/supplier/{supplier}/detach-stores";
|
|
212
|
-
urlPath = urlPath.replace("{".concat("supplier", "}"), encodeURIComponent(String(requestParameters['supplier'])));
|
|
213
|
-
return [2 /*return*/, {
|
|
214
|
-
path: urlPath,
|
|
215
|
-
method: 'POST',
|
|
216
|
-
headers: headerParameters,
|
|
217
|
-
query: queryParameters,
|
|
218
|
-
body: (0, index_1.DetachStoresSupplierRequestToJSON)(requestParameters['detachStoresSupplierRequest']),
|
|
219
|
-
}];
|
|
220
|
-
});
|
|
221
|
-
});
|
|
222
|
-
};
|
|
223
|
-
/**
|
|
224
|
-
* Auto-generated: detachStoresSupplier
|
|
225
|
-
*/
|
|
226
|
-
SupplierApi.prototype.detachStoresSupplierRaw = function (requestParameters, initOverrides) {
|
|
227
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
228
|
-
var requestOptions, response;
|
|
229
|
-
return __generator(this, function (_a) {
|
|
230
|
-
switch (_a.label) {
|
|
231
|
-
case 0: return [4 /*yield*/, this.detachStoresSupplierRequestOpts(requestParameters)];
|
|
232
|
-
case 1:
|
|
233
|
-
requestOptions = _a.sent();
|
|
234
|
-
return [4 /*yield*/, this.request(requestOptions, initOverrides)];
|
|
235
|
-
case 2:
|
|
236
|
-
response = _a.sent();
|
|
237
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.SupplierResourceFromJSON)(jsonValue); })];
|
|
238
|
-
}
|
|
239
|
-
});
|
|
240
|
-
});
|
|
241
|
-
};
|
|
242
|
-
/**
|
|
243
|
-
* Auto-generated: detachStoresSupplier
|
|
244
|
-
*/
|
|
245
|
-
SupplierApi.prototype.detachStoresSupplier = function (requestParameters, initOverrides) {
|
|
246
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
247
|
-
var response;
|
|
248
|
-
return __generator(this, function (_a) {
|
|
249
|
-
switch (_a.label) {
|
|
250
|
-
case 0: return [4 /*yield*/, this.detachStoresSupplierRaw(requestParameters, initOverrides)];
|
|
251
|
-
case 1:
|
|
252
|
-
response = _a.sent();
|
|
253
|
-
return [4 /*yield*/, response.value()];
|
|
254
|
-
case 2: return [2 /*return*/, _a.sent()];
|
|
255
|
-
}
|
|
256
|
-
});
|
|
257
|
-
});
|
|
258
|
-
};
|
|
259
137
|
/**
|
|
260
138
|
* Creates request options for exportSupplier without sending the request
|
|
261
139
|
*/
|
package/dist/apis/index.d.ts
CHANGED
|
@@ -8,8 +8,8 @@ export * from './GoogleCategoryApi';
|
|
|
8
8
|
export * from './OverlayTemplateApi';
|
|
9
9
|
export * from './ProductApi';
|
|
10
10
|
export * from './ProductCategoryApi';
|
|
11
|
+
export * from './ProductRangeApi';
|
|
11
12
|
export * from './ProductTypeApi';
|
|
12
13
|
export * from './SiteApi';
|
|
13
|
-
export * from './StoreApi';
|
|
14
14
|
export * from './SupplierApi';
|
|
15
15
|
export * from './TagApi';
|
package/dist/apis/index.js
CHANGED
|
@@ -26,8 +26,8 @@ __exportStar(require("./GoogleCategoryApi"), exports);
|
|
|
26
26
|
__exportStar(require("./OverlayTemplateApi"), exports);
|
|
27
27
|
__exportStar(require("./ProductApi"), exports);
|
|
28
28
|
__exportStar(require("./ProductCategoryApi"), exports);
|
|
29
|
+
__exportStar(require("./ProductRangeApi"), exports);
|
|
29
30
|
__exportStar(require("./ProductTypeApi"), exports);
|
|
30
31
|
__exportStar(require("./SiteApi"), exports);
|
|
31
|
-
__exportStar(require("./StoreApi"), exports);
|
|
32
32
|
__exportStar(require("./SupplierApi"), exports);
|
|
33
33
|
__exportStar(require("./TagApi"), exports);
|
|
@@ -0,0 +1,32 @@
|
|
|
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 AttachAccessoriesProductRangeRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface AttachAccessoriesProductRangeRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {Array<number>}
|
|
21
|
+
* @memberof AttachAccessoriesProductRangeRequest
|
|
22
|
+
*/
|
|
23
|
+
productChildIds: Array<number>;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the AttachAccessoriesProductRangeRequest interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfAttachAccessoriesProductRangeRequest(value: object): value is AttachAccessoriesProductRangeRequest;
|
|
29
|
+
export declare function AttachAccessoriesProductRangeRequestFromJSON(json: any): AttachAccessoriesProductRangeRequest;
|
|
30
|
+
export declare function AttachAccessoriesProductRangeRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): AttachAccessoriesProductRangeRequest;
|
|
31
|
+
export declare function AttachAccessoriesProductRangeRequestToJSON(json: any): AttachAccessoriesProductRangeRequest;
|
|
32
|
+
export declare function AttachAccessoriesProductRangeRequestToJSONTyped(value?: AttachAccessoriesProductRangeRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,51 @@
|
|
|
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.instanceOfAttachAccessoriesProductRangeRequest = instanceOfAttachAccessoriesProductRangeRequest;
|
|
17
|
+
exports.AttachAccessoriesProductRangeRequestFromJSON = AttachAccessoriesProductRangeRequestFromJSON;
|
|
18
|
+
exports.AttachAccessoriesProductRangeRequestFromJSONTyped = AttachAccessoriesProductRangeRequestFromJSONTyped;
|
|
19
|
+
exports.AttachAccessoriesProductRangeRequestToJSON = AttachAccessoriesProductRangeRequestToJSON;
|
|
20
|
+
exports.AttachAccessoriesProductRangeRequestToJSONTyped = AttachAccessoriesProductRangeRequestToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the AttachAccessoriesProductRangeRequest interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfAttachAccessoriesProductRangeRequest(value) {
|
|
25
|
+
if (!('productChildIds' in value) || value['productChildIds'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function AttachAccessoriesProductRangeRequestFromJSON(json) {
|
|
30
|
+
return AttachAccessoriesProductRangeRequestFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function AttachAccessoriesProductRangeRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'productChildIds': json['product_child_ids'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function AttachAccessoriesProductRangeRequestToJSON(json) {
|
|
41
|
+
return AttachAccessoriesProductRangeRequestToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function AttachAccessoriesProductRangeRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
44
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'product_child_ids': value['productChildIds'],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
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 { AttachAttributesProductRangeRequestAttributesInner } from './AttachAttributesProductRangeRequestAttributesInner';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface AttachAttributesProductRangeRequest
|
|
17
|
+
*/
|
|
18
|
+
export interface AttachAttributesProductRangeRequest {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<AttachAttributesProductRangeRequestAttributesInner>}
|
|
22
|
+
* @memberof AttachAttributesProductRangeRequest
|
|
23
|
+
*/
|
|
24
|
+
attributes: Array<AttachAttributesProductRangeRequestAttributesInner>;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the AttachAttributesProductRangeRequest interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfAttachAttributesProductRangeRequest(value: object): value is AttachAttributesProductRangeRequest;
|
|
30
|
+
export declare function AttachAttributesProductRangeRequestFromJSON(json: any): AttachAttributesProductRangeRequest;
|
|
31
|
+
export declare function AttachAttributesProductRangeRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): AttachAttributesProductRangeRequest;
|
|
32
|
+
export declare function AttachAttributesProductRangeRequestToJSON(json: any): AttachAttributesProductRangeRequest;
|
|
33
|
+
export declare function AttachAttributesProductRangeRequestToJSONTyped(value?: AttachAttributesProductRangeRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,52 @@
|
|
|
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.instanceOfAttachAttributesProductRangeRequest = instanceOfAttachAttributesProductRangeRequest;
|
|
17
|
+
exports.AttachAttributesProductRangeRequestFromJSON = AttachAttributesProductRangeRequestFromJSON;
|
|
18
|
+
exports.AttachAttributesProductRangeRequestFromJSONTyped = AttachAttributesProductRangeRequestFromJSONTyped;
|
|
19
|
+
exports.AttachAttributesProductRangeRequestToJSON = AttachAttributesProductRangeRequestToJSON;
|
|
20
|
+
exports.AttachAttributesProductRangeRequestToJSONTyped = AttachAttributesProductRangeRequestToJSONTyped;
|
|
21
|
+
var AttachAttributesProductRangeRequestAttributesInner_1 = require("./AttachAttributesProductRangeRequestAttributesInner");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the AttachAttributesProductRangeRequest interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfAttachAttributesProductRangeRequest(value) {
|
|
26
|
+
if (!('attributes' in value) || value['attributes'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
function AttachAttributesProductRangeRequestFromJSON(json) {
|
|
31
|
+
return AttachAttributesProductRangeRequestFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
function AttachAttributesProductRangeRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if (json == null) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'attributes': (json['attributes'].map(AttachAttributesProductRangeRequestAttributesInner_1.AttachAttributesProductRangeRequestAttributesInnerFromJSON)),
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function AttachAttributesProductRangeRequestToJSON(json) {
|
|
42
|
+
return AttachAttributesProductRangeRequestToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function AttachAttributesProductRangeRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
45
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
46
|
+
if (value == null) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'attributes': (value['attributes'].map(AttachAttributesProductRangeRequestAttributesInner_1.AttachAttributesProductRangeRequestAttributesInnerToJSON)),
|
|
51
|
+
};
|
|
52
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
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 AttachAttributesProductRangeRequestAttributesInner
|
|
16
|
+
*/
|
|
17
|
+
export interface AttachAttributesProductRangeRequestAttributesInner {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof AttachAttributesProductRangeRequestAttributesInner
|
|
22
|
+
*/
|
|
23
|
+
attributeId: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof AttachAttributesProductRangeRequestAttributesInner
|
|
28
|
+
*/
|
|
29
|
+
order?: number;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the AttachAttributesProductRangeRequestAttributesInner interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfAttachAttributesProductRangeRequestAttributesInner(value: object): value is AttachAttributesProductRangeRequestAttributesInner;
|
|
35
|
+
export declare function AttachAttributesProductRangeRequestAttributesInnerFromJSON(json: any): AttachAttributesProductRangeRequestAttributesInner;
|
|
36
|
+
export declare function AttachAttributesProductRangeRequestAttributesInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): AttachAttributesProductRangeRequestAttributesInner;
|
|
37
|
+
export declare function AttachAttributesProductRangeRequestAttributesInnerToJSON(json: any): AttachAttributesProductRangeRequestAttributesInner;
|
|
38
|
+
export declare function AttachAttributesProductRangeRequestAttributesInnerToJSONTyped(value?: AttachAttributesProductRangeRequestAttributesInner | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,53 @@
|
|
|
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.instanceOfAttachAttributesProductRangeRequestAttributesInner = instanceOfAttachAttributesProductRangeRequestAttributesInner;
|
|
17
|
+
exports.AttachAttributesProductRangeRequestAttributesInnerFromJSON = AttachAttributesProductRangeRequestAttributesInnerFromJSON;
|
|
18
|
+
exports.AttachAttributesProductRangeRequestAttributesInnerFromJSONTyped = AttachAttributesProductRangeRequestAttributesInnerFromJSONTyped;
|
|
19
|
+
exports.AttachAttributesProductRangeRequestAttributesInnerToJSON = AttachAttributesProductRangeRequestAttributesInnerToJSON;
|
|
20
|
+
exports.AttachAttributesProductRangeRequestAttributesInnerToJSONTyped = AttachAttributesProductRangeRequestAttributesInnerToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the AttachAttributesProductRangeRequestAttributesInner interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfAttachAttributesProductRangeRequestAttributesInner(value) {
|
|
25
|
+
if (!('attributeId' in value) || value['attributeId'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function AttachAttributesProductRangeRequestAttributesInnerFromJSON(json) {
|
|
30
|
+
return AttachAttributesProductRangeRequestAttributesInnerFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function AttachAttributesProductRangeRequestAttributesInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'attributeId': json['attribute_id'],
|
|
38
|
+
'order': json['order'] == null ? undefined : json['order'],
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function AttachAttributesProductRangeRequestAttributesInnerToJSON(json) {
|
|
42
|
+
return AttachAttributesProductRangeRequestAttributesInnerToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function AttachAttributesProductRangeRequestAttributesInnerToJSONTyped(value, ignoreDiscriminator) {
|
|
45
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
46
|
+
if (value == null) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'attribute_id': value['attributeId'],
|
|
51
|
+
'order': value['order'],
|
|
52
|
+
};
|
|
53
|
+
}
|
|
@@ -39,6 +39,7 @@ export interface AttachDocumentablesDocumentRequestDocumentablesInner {
|
|
|
39
39
|
*/
|
|
40
40
|
export declare const AttachDocumentablesDocumentRequestDocumentablesInnerDocumentableTypeEnum: {
|
|
41
41
|
readonly AppModelsProductsProductChild: "App\\Models\\Products\\ProductChild";
|
|
42
|
+
readonly AppModelsProductRangesProductRange: "App\\Models\\ProductRanges\\ProductRange";
|
|
42
43
|
readonly AppModelsProductRangeSite: "App\\Models\\ProductRangeSite";
|
|
43
44
|
};
|
|
44
45
|
export type AttachDocumentablesDocumentRequestDocumentablesInnerDocumentableTypeEnum = typeof AttachDocumentablesDocumentRequestDocumentablesInnerDocumentableTypeEnum[keyof typeof AttachDocumentablesDocumentRequestDocumentablesInnerDocumentableTypeEnum];
|
|
@@ -24,6 +24,7 @@ exports.AttachDocumentablesDocumentRequestDocumentablesInnerToJSONTyped = Attach
|
|
|
24
24
|
*/
|
|
25
25
|
exports.AttachDocumentablesDocumentRequestDocumentablesInnerDocumentableTypeEnum = {
|
|
26
26
|
AppModelsProductsProductChild: 'App\\Models\\Products\\ProductChild',
|
|
27
|
+
AppModelsProductRangesProductRange: 'App\\Models\\ProductRanges\\ProductRange',
|
|
27
28
|
AppModelsProductRangeSite: 'App\\Models\\ProductRangeSite'
|
|
28
29
|
};
|
|
29
30
|
/**
|
|
@@ -0,0 +1,33 @@
|
|
|
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 { AttachDocumentsProductChildRequestDocumentsInner } from './AttachDocumentsProductChildRequestDocumentsInner';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface AttachDocumentsProductRangeRequest
|
|
17
|
+
*/
|
|
18
|
+
export interface AttachDocumentsProductRangeRequest {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<AttachDocumentsProductChildRequestDocumentsInner>}
|
|
22
|
+
* @memberof AttachDocumentsProductRangeRequest
|
|
23
|
+
*/
|
|
24
|
+
documents: Array<AttachDocumentsProductChildRequestDocumentsInner>;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the AttachDocumentsProductRangeRequest interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfAttachDocumentsProductRangeRequest(value: object): value is AttachDocumentsProductRangeRequest;
|
|
30
|
+
export declare function AttachDocumentsProductRangeRequestFromJSON(json: any): AttachDocumentsProductRangeRequest;
|
|
31
|
+
export declare function AttachDocumentsProductRangeRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): AttachDocumentsProductRangeRequest;
|
|
32
|
+
export declare function AttachDocumentsProductRangeRequestToJSON(json: any): AttachDocumentsProductRangeRequest;
|
|
33
|
+
export declare function AttachDocumentsProductRangeRequestToJSONTyped(value?: AttachDocumentsProductRangeRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,52 @@
|
|
|
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.instanceOfAttachDocumentsProductRangeRequest = instanceOfAttachDocumentsProductRangeRequest;
|
|
17
|
+
exports.AttachDocumentsProductRangeRequestFromJSON = AttachDocumentsProductRangeRequestFromJSON;
|
|
18
|
+
exports.AttachDocumentsProductRangeRequestFromJSONTyped = AttachDocumentsProductRangeRequestFromJSONTyped;
|
|
19
|
+
exports.AttachDocumentsProductRangeRequestToJSON = AttachDocumentsProductRangeRequestToJSON;
|
|
20
|
+
exports.AttachDocumentsProductRangeRequestToJSONTyped = AttachDocumentsProductRangeRequestToJSONTyped;
|
|
21
|
+
var AttachDocumentsProductChildRequestDocumentsInner_1 = require("./AttachDocumentsProductChildRequestDocumentsInner");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the AttachDocumentsProductRangeRequest interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfAttachDocumentsProductRangeRequest(value) {
|
|
26
|
+
if (!('documents' in value) || value['documents'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
function AttachDocumentsProductRangeRequestFromJSON(json) {
|
|
31
|
+
return AttachDocumentsProductRangeRequestFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
function AttachDocumentsProductRangeRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if (json == null) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'documents': (json['documents'].map(AttachDocumentsProductChildRequestDocumentsInner_1.AttachDocumentsProductChildRequestDocumentsInnerFromJSON)),
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function AttachDocumentsProductRangeRequestToJSON(json) {
|
|
42
|
+
return AttachDocumentsProductRangeRequestToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function AttachDocumentsProductRangeRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
45
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
46
|
+
if (value == null) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'documents': (value['documents'].map(AttachDocumentsProductChildRequestDocumentsInner_1.AttachDocumentsProductChildRequestDocumentsInnerToJSON)),
|
|
51
|
+
};
|
|
52
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
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 DetachAccessoriesProductRangeRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface DetachAccessoriesProductRangeRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {Array<number>}
|
|
21
|
+
* @memberof DetachAccessoriesProductRangeRequest
|
|
22
|
+
*/
|
|
23
|
+
productChildIds: Array<number>;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the DetachAccessoriesProductRangeRequest interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfDetachAccessoriesProductRangeRequest(value: object): value is DetachAccessoriesProductRangeRequest;
|
|
29
|
+
export declare function DetachAccessoriesProductRangeRequestFromJSON(json: any): DetachAccessoriesProductRangeRequest;
|
|
30
|
+
export declare function DetachAccessoriesProductRangeRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): DetachAccessoriesProductRangeRequest;
|
|
31
|
+
export declare function DetachAccessoriesProductRangeRequestToJSON(json: any): DetachAccessoriesProductRangeRequest;
|
|
32
|
+
export declare function DetachAccessoriesProductRangeRequestToJSONTyped(value?: DetachAccessoriesProductRangeRequest | null, ignoreDiscriminator?: boolean): any;
|