@digital8/lighting-illusions-ts-sdk 0.0.2348 → 0.0.2349
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 +34 -14
- package/README.md +24 -9
- package/dist/apis/CouponsApi.d.ts +116 -0
- package/dist/apis/CouponsApi.js +440 -0
- package/dist/apis/index.d.ts +1 -1
- package/dist/apis/index.js +1 -1
- package/dist/models/AddressFrontendResource.d.ts +1 -1
- package/dist/models/AddressFrontendResource.js +1 -3
- package/dist/models/AddressResource.d.ts +2 -2
- package/dist/models/AddressResource.js +2 -6
- package/dist/models/AdminOrderResource.d.ts +3 -2
- package/dist/models/AdminOrderResource.js +3 -2
- package/dist/models/CartCouponResource.d.ts +50 -0
- package/dist/models/{AppliedCouponResource.js → CartCouponResource.js} +13 -13
- package/dist/models/CartCouponResourceArrayResponse.d.ts +33 -0
- package/dist/models/CartCouponResourceArrayResponse.js +50 -0
- package/dist/models/CartListResource.d.ts +0 -6
- package/dist/models/CartListResource.js +0 -4
- package/dist/models/CategoryAutomationFieldType.d.ts +0 -2
- package/dist/models/CategoryAutomationFieldType.js +1 -3
- package/dist/models/CouponListResource.d.ts +99 -0
- package/dist/models/CouponListResource.js +90 -0
- package/dist/models/CouponListResourceArrayResponse.d.ts +33 -0
- package/dist/models/CouponListResourceArrayResponse.js +50 -0
- package/dist/models/CouponLiteResource.d.ts +44 -0
- package/dist/models/CouponLiteResource.js +57 -0
- package/dist/models/CouponLiteResourceArrayResponse.d.ts +33 -0
- package/dist/models/CouponLiteResourceArrayResponse.js +50 -0
- package/dist/models/CouponResource.d.ts +163 -0
- package/dist/models/CouponResource.js +134 -0
- package/dist/models/CouponResourceArrayResponse.d.ts +33 -0
- package/dist/models/CouponResourceArrayResponse.js +50 -0
- package/dist/models/CouponType.d.ts +26 -0
- package/dist/models/CouponType.js +52 -0
- package/dist/models/CreateCouponRequest.d.ts +134 -0
- package/dist/models/CreateCouponRequest.js +114 -0
- package/dist/models/CreateCouponRequestCouponablesInner.d.ts +48 -0
- package/dist/models/CreateCouponRequestCouponablesInner.js +61 -0
- package/dist/models/CreatePageComponentRequest.d.ts +4 -4
- package/dist/models/CreatePageComponentRequest.js +4 -4
- package/dist/models/CreateProductCategoryRequestAutomationRulesInner.d.ts +0 -2
- package/dist/models/CreateProductCategoryRequestAutomationRulesInner.js +1 -3
- package/dist/models/CreateSupplierRequest.d.ts +0 -6
- package/dist/models/CreateSupplierRequest.js +0 -2
- package/dist/models/ExternalApiLogResource.d.ts +1 -1
- package/dist/models/ExternalApiLogResource.js +1 -3
- package/dist/models/FrontendCartResource.d.ts +0 -18
- package/dist/models/FrontendCartResource.js +0 -12
- package/dist/models/FrontendOrderResource.d.ts +3 -3
- package/dist/models/FrontendOrderResource.js +3 -3
- package/dist/models/OrderFulfillmentResource.d.ts +3 -3
- package/dist/models/OrderFulfillmentResource.js +6 -4
- package/dist/models/OrderStatusWithCountResource.d.ts +0 -12
- package/dist/models/OrderStatusWithCountResource.js +0 -8
- package/dist/models/PaginatedCouponListResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedCouponListResourceResponse.js +57 -0
- package/dist/models/PaginatedCouponResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedCouponResourceResponse.js +57 -0
- package/dist/models/ProductClassResource.d.ts +2 -2
- package/dist/models/SearchAllCouponsRequest.d.ts +101 -0
- package/dist/models/SearchAllCouponsRequest.js +85 -0
- package/dist/models/SearchAllOrdersRequest.d.ts +0 -6
- package/dist/models/SearchAllOrdersRequest.js +0 -2
- package/dist/models/SearchCartsRequest.d.ts +6 -0
- package/dist/models/SearchCartsRequest.js +2 -0
- package/dist/models/SearchCouponsRequest.d.ts +137 -0
- package/dist/models/SearchCouponsRequest.js +97 -0
- package/dist/models/SearchOrdersRequest.d.ts +6 -6
- package/dist/models/SearchOrdersRequest.js +2 -2
- package/dist/models/StoreFrontendResource.d.ts +2 -2
- package/dist/models/StoreFrontendResource.js +4 -4
- package/dist/models/StoreListResource.d.ts +1 -1
- package/dist/models/StoreListResource.js +1 -3
- package/dist/models/StoreResource.d.ts +2 -2
- package/dist/models/StoreResource.js +2 -6
- package/dist/models/StoreSpecialDateFrontendResource.d.ts +2 -2
- package/dist/models/StoreSpecialDateFrontendResource.js +1 -3
- package/dist/models/SupplierFrontendResource.d.ts +0 -6
- package/dist/models/SupplierFrontendResource.js +0 -4
- package/dist/models/SupplierResource.d.ts +0 -6
- package/dist/models/SupplierResource.js +0 -4
- package/dist/models/UpdateCouponRequest.d.ts +128 -0
- package/dist/models/UpdateCouponRequest.js +110 -0
- package/dist/models/UpdatePageComponentRequest.d.ts +4 -4
- package/dist/models/UpdatePageComponentRequest.js +4 -4
- package/dist/models/UpdateSupplierRequest.d.ts +0 -6
- package/dist/models/UpdateSupplierRequest.js +0 -2
- package/dist/models/index.d.ts +16 -6
- package/dist/models/index.js +16 -6
- package/docs/AdminOrderResource.md +1 -1
- package/docs/{AppliedCouponResource.md → CartCouponResource.md} +4 -4
- package/docs/{AppliedCouponResourceArrayResponse.md → CartCouponResourceArrayResponse.md} +5 -5
- package/docs/CartListResource.md +0 -2
- package/docs/CouponListResource.md +56 -0
- package/docs/{ProductClassLiteResourceArrayResponse.md → CouponListResourceArrayResponse.md} +5 -5
- package/docs/{ProductClassLiteResource.md → CouponLiteResource.md} +6 -6
- package/docs/CouponLiteResourceArrayResponse.md +34 -0
- package/docs/CouponResource.md +76 -0
- package/docs/CouponResourceArrayResponse.md +34 -0
- package/docs/CouponType.md +32 -0
- package/docs/CouponsApi.md +407 -0
- package/docs/CreateCouponRequest.md +62 -0
- package/docs/CreateCouponRequestCouponablesInner.md +36 -0
- package/docs/CreatePageComponentRequest.md +2 -2
- package/docs/CreateSupplierRequest.md +0 -2
- package/docs/FrontendCartResource.md +0 -6
- package/docs/FrontendOrderResource.md +1 -1
- package/docs/OrderStatusWithCountResource.md +0 -4
- package/docs/{PaginatedProductClassLiteResourceResponse.md → PaginatedCouponListResourceResponse.md} +5 -5
- package/docs/PaginatedCouponResourceResponse.md +36 -0
- package/docs/ProductClassResource.md +1 -1
- package/docs/{SearchAllProductClassesRequest.md → SearchAllCouponsRequest.md} +10 -4
- package/docs/SearchAllOrdersRequest.md +0 -2
- package/docs/SearchCartsRequest.md +2 -0
- package/docs/SearchCouponsRequest.md +62 -0
- package/docs/SearchOrdersRequest.md +2 -2
- package/docs/StoreSpecialDateFrontendResource.md +1 -1
- package/docs/SupplierFrontendResource.md +0 -2
- package/docs/SupplierResource.md +0 -2
- package/docs/UpdateCouponRequest.md +60 -0
- package/docs/UpdatePageComponentRequest.md +2 -2
- package/docs/UpdateSupplierRequest.md +0 -2
- package/package.json +1 -1
- package/src/apis/CouponsApi.ts +345 -0
- package/src/apis/index.ts +1 -1
- package/src/models/AddressFrontendResource.ts +2 -3
- package/src/models/AddressResource.ts +4 -6
- package/src/models/AdminOrderResource.ts +11 -4
- package/src/models/{AppliedCouponResource.ts → CartCouponResource.ts} +14 -14
- package/src/models/CartCouponResourceArrayResponse.ts +73 -0
- package/src/models/CartListResource.ts +0 -9
- package/src/models/CategoryAutomationFieldType.ts +1 -3
- package/src/models/CouponListResource.ts +170 -0
- package/src/models/CouponListResourceArrayResponse.ts +73 -0
- package/src/models/CouponLiteResource.ts +83 -0
- package/src/models/CouponLiteResourceArrayResponse.ts +73 -0
- package/src/models/CouponResource.ts +288 -0
- package/src/models/CouponResourceArrayResponse.ts +73 -0
- package/src/models/CouponType.ts +54 -0
- package/src/models/CreateCouponRequest.ts +216 -0
- package/src/models/CreateCouponRequestCouponablesInner.ts +86 -0
- package/src/models/CreatePageComponentRequest.ts +8 -8
- package/src/models/CreateProductCategoryRequestAutomationRulesInner.ts +1 -3
- package/src/models/CreateSupplierRequest.ts +0 -8
- package/src/models/ExternalApiLogResource.ts +2 -3
- package/src/models/FrontendCartResource.ts +0 -27
- package/src/models/FrontendOrderResource.ts +11 -11
- package/src/models/OrderFulfillmentResource.ts +8 -7
- package/src/models/OrderStatusWithCountResource.ts +0 -18
- package/src/models/PaginatedCouponListResourceResponse.ts +90 -0
- package/src/models/PaginatedCouponResourceResponse.ts +90 -0
- package/src/models/ProductClassResource.ts +2 -2
- package/src/models/SearchAllCouponsRequest.ts +154 -0
- package/src/models/SearchAllOrdersRequest.ts +0 -8
- package/src/models/SearchCartsRequest.ts +8 -0
- package/src/models/SearchCouponsRequest.ts +202 -0
- package/src/models/SearchOrdersRequest.ts +8 -8
- package/src/models/StoreFrontendResource.ts +5 -5
- package/src/models/StoreListResource.ts +2 -3
- package/src/models/StoreResource.ts +4 -6
- package/src/models/StoreSpecialDateFrontendResource.ts +3 -4
- package/src/models/SupplierFrontendResource.ts +0 -9
- package/src/models/SupplierResource.ts +0 -9
- package/src/models/UpdateCouponRequest.ts +207 -0
- package/src/models/UpdatePageComponentRequest.ts +8 -8
- package/src/models/UpdateSupplierRequest.ts +0 -8
- package/src/models/index.ts +16 -6
- package/dist/apis/ProductClassApi.d.ts +0 -34
- package/dist/apis/ProductClassApi.js +0 -139
- package/dist/models/AppliedCouponResource.d.ts +0 -50
- package/dist/models/AppliedCouponResourceArrayResponse.d.ts +0 -33
- package/dist/models/AppliedCouponResourceArrayResponse.js +0 -50
- package/dist/models/PaginatedProductClassLiteResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedProductClassLiteResourceResponse.js +0 -57
- package/dist/models/ProductClassLiteResource.d.ts +0 -44
- package/dist/models/ProductClassLiteResource.js +0 -57
- package/dist/models/ProductClassLiteResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductClassLiteResourceArrayResponse.js +0 -50
- package/dist/models/SearchAllProductClassesRequest.d.ts +0 -78
- package/dist/models/SearchAllProductClassesRequest.js +0 -74
- package/docs/ProductClassApi.md +0 -74
- package/src/apis/ProductClassApi.ts +0 -76
- package/src/models/AppliedCouponResourceArrayResponse.ts +0 -73
- package/src/models/PaginatedProductClassLiteResourceResponse.ts +0 -90
- package/src/models/ProductClassLiteResource.ts +0 -83
- package/src/models/ProductClassLiteResourceArrayResponse.ts +0 -73
- package/src/models/SearchAllProductClassesRequest.ts +0 -125
|
@@ -1,50 +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.instanceOfAppliedCouponResourceArrayResponse = instanceOfAppliedCouponResourceArrayResponse;
|
|
17
|
-
exports.AppliedCouponResourceArrayResponseFromJSON = AppliedCouponResourceArrayResponseFromJSON;
|
|
18
|
-
exports.AppliedCouponResourceArrayResponseFromJSONTyped = AppliedCouponResourceArrayResponseFromJSONTyped;
|
|
19
|
-
exports.AppliedCouponResourceArrayResponseToJSON = AppliedCouponResourceArrayResponseToJSON;
|
|
20
|
-
exports.AppliedCouponResourceArrayResponseToJSONTyped = AppliedCouponResourceArrayResponseToJSONTyped;
|
|
21
|
-
var AppliedCouponResource_1 = require("./AppliedCouponResource");
|
|
22
|
-
/**
|
|
23
|
-
* Check if a given object implements the AppliedCouponResourceArrayResponse interface.
|
|
24
|
-
*/
|
|
25
|
-
function instanceOfAppliedCouponResourceArrayResponse(value) {
|
|
26
|
-
return true;
|
|
27
|
-
}
|
|
28
|
-
function AppliedCouponResourceArrayResponseFromJSON(json) {
|
|
29
|
-
return AppliedCouponResourceArrayResponseFromJSONTyped(json, false);
|
|
30
|
-
}
|
|
31
|
-
function AppliedCouponResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
-
if (json == null) {
|
|
33
|
-
return json;
|
|
34
|
-
}
|
|
35
|
-
return {
|
|
36
|
-
'data': json['data'] == null ? undefined : (json['data'].map(AppliedCouponResource_1.AppliedCouponResourceFromJSON)),
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
function AppliedCouponResourceArrayResponseToJSON(json) {
|
|
40
|
-
return AppliedCouponResourceArrayResponseToJSONTyped(json, false);
|
|
41
|
-
}
|
|
42
|
-
function AppliedCouponResourceArrayResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
43
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
44
|
-
if (value == null) {
|
|
45
|
-
return value;
|
|
46
|
-
}
|
|
47
|
-
return {
|
|
48
|
-
'data': value['data'] == null ? undefined : (value['data'].map(AppliedCouponResource_1.AppliedCouponResourceToJSON)),
|
|
49
|
-
};
|
|
50
|
-
}
|
|
@@ -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 { ProductClassLiteResource } from './ProductClassLiteResource';
|
|
14
|
-
/**
|
|
15
|
-
*
|
|
16
|
-
* @export
|
|
17
|
-
* @interface PaginatedProductClassLiteResourceResponse
|
|
18
|
-
*/
|
|
19
|
-
export interface PaginatedProductClassLiteResourceResponse {
|
|
20
|
-
/**
|
|
21
|
-
*
|
|
22
|
-
* @type {Array<ProductClassLiteResource>}
|
|
23
|
-
* @memberof PaginatedProductClassLiteResourceResponse
|
|
24
|
-
*/
|
|
25
|
-
data: Array<ProductClassLiteResource>;
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @type {PagingMetadata}
|
|
29
|
-
* @memberof PaginatedProductClassLiteResourceResponse
|
|
30
|
-
*/
|
|
31
|
-
meta: PagingMetadata;
|
|
32
|
-
}
|
|
33
|
-
/**
|
|
34
|
-
* Check if a given object implements the PaginatedProductClassLiteResourceResponse interface.
|
|
35
|
-
*/
|
|
36
|
-
export declare function instanceOfPaginatedProductClassLiteResourceResponse(value: object): value is PaginatedProductClassLiteResourceResponse;
|
|
37
|
-
export declare function PaginatedProductClassLiteResourceResponseFromJSON(json: any): PaginatedProductClassLiteResourceResponse;
|
|
38
|
-
export declare function PaginatedProductClassLiteResourceResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedProductClassLiteResourceResponse;
|
|
39
|
-
export declare function PaginatedProductClassLiteResourceResponseToJSON(json: any): PaginatedProductClassLiteResourceResponse;
|
|
40
|
-
export declare function PaginatedProductClassLiteResourceResponseToJSONTyped(value?: PaginatedProductClassLiteResourceResponse | 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.instanceOfPaginatedProductClassLiteResourceResponse = instanceOfPaginatedProductClassLiteResourceResponse;
|
|
17
|
-
exports.PaginatedProductClassLiteResourceResponseFromJSON = PaginatedProductClassLiteResourceResponseFromJSON;
|
|
18
|
-
exports.PaginatedProductClassLiteResourceResponseFromJSONTyped = PaginatedProductClassLiteResourceResponseFromJSONTyped;
|
|
19
|
-
exports.PaginatedProductClassLiteResourceResponseToJSON = PaginatedProductClassLiteResourceResponseToJSON;
|
|
20
|
-
exports.PaginatedProductClassLiteResourceResponseToJSONTyped = PaginatedProductClassLiteResourceResponseToJSONTyped;
|
|
21
|
-
var PagingMetadata_1 = require("./PagingMetadata");
|
|
22
|
-
var ProductClassLiteResource_1 = require("./ProductClassLiteResource");
|
|
23
|
-
/**
|
|
24
|
-
* Check if a given object implements the PaginatedProductClassLiteResourceResponse interface.
|
|
25
|
-
*/
|
|
26
|
-
function instanceOfPaginatedProductClassLiteResourceResponse(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 PaginatedProductClassLiteResourceResponseFromJSON(json) {
|
|
34
|
-
return PaginatedProductClassLiteResourceResponseFromJSONTyped(json, false);
|
|
35
|
-
}
|
|
36
|
-
function PaginatedProductClassLiteResourceResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
-
if (json == null) {
|
|
38
|
-
return json;
|
|
39
|
-
}
|
|
40
|
-
return {
|
|
41
|
-
'data': (json['data'].map(ProductClassLiteResource_1.ProductClassLiteResourceFromJSON)),
|
|
42
|
-
'meta': (0, PagingMetadata_1.PagingMetadataFromJSON)(json['meta']),
|
|
43
|
-
};
|
|
44
|
-
}
|
|
45
|
-
function PaginatedProductClassLiteResourceResponseToJSON(json) {
|
|
46
|
-
return PaginatedProductClassLiteResourceResponseToJSONTyped(json, false);
|
|
47
|
-
}
|
|
48
|
-
function PaginatedProductClassLiteResourceResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
49
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
50
|
-
if (value == null) {
|
|
51
|
-
return value;
|
|
52
|
-
}
|
|
53
|
-
return {
|
|
54
|
-
'data': (value['data'].map(ProductClassLiteResource_1.ProductClassLiteResourceToJSON)),
|
|
55
|
-
'meta': (0, PagingMetadata_1.PagingMetadataToJSON)(value['meta']),
|
|
56
|
-
};
|
|
57
|
-
}
|
|
@@ -1,44 +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 ProductClassLiteResource
|
|
16
|
-
*/
|
|
17
|
-
export interface ProductClassLiteResource {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {number}
|
|
21
|
-
* @memberof ProductClassLiteResource
|
|
22
|
-
*/
|
|
23
|
-
id?: number | null;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof ProductClassLiteResource
|
|
28
|
-
*/
|
|
29
|
-
name: string;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof ProductClassLiteResource
|
|
34
|
-
*/
|
|
35
|
-
pathString: string;
|
|
36
|
-
}
|
|
37
|
-
/**
|
|
38
|
-
* Check if a given object implements the ProductClassLiteResource interface.
|
|
39
|
-
*/
|
|
40
|
-
export declare function instanceOfProductClassLiteResource(value: object): value is ProductClassLiteResource;
|
|
41
|
-
export declare function ProductClassLiteResourceFromJSON(json: any): ProductClassLiteResource;
|
|
42
|
-
export declare function ProductClassLiteResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductClassLiteResource;
|
|
43
|
-
export declare function ProductClassLiteResourceToJSON(json: any): ProductClassLiteResource;
|
|
44
|
-
export declare function ProductClassLiteResourceToJSONTyped(value?: ProductClassLiteResource | 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.instanceOfProductClassLiteResource = instanceOfProductClassLiteResource;
|
|
17
|
-
exports.ProductClassLiteResourceFromJSON = ProductClassLiteResourceFromJSON;
|
|
18
|
-
exports.ProductClassLiteResourceFromJSONTyped = ProductClassLiteResourceFromJSONTyped;
|
|
19
|
-
exports.ProductClassLiteResourceToJSON = ProductClassLiteResourceToJSON;
|
|
20
|
-
exports.ProductClassLiteResourceToJSONTyped = ProductClassLiteResourceToJSONTyped;
|
|
21
|
-
/**
|
|
22
|
-
* Check if a given object implements the ProductClassLiteResource interface.
|
|
23
|
-
*/
|
|
24
|
-
function instanceOfProductClassLiteResource(value) {
|
|
25
|
-
if (!('name' in value) || value['name'] === undefined)
|
|
26
|
-
return false;
|
|
27
|
-
if (!('pathString' in value) || value['pathString'] === undefined)
|
|
28
|
-
return false;
|
|
29
|
-
return true;
|
|
30
|
-
}
|
|
31
|
-
function ProductClassLiteResourceFromJSON(json) {
|
|
32
|
-
return ProductClassLiteResourceFromJSONTyped(json, false);
|
|
33
|
-
}
|
|
34
|
-
function ProductClassLiteResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
-
if (json == null) {
|
|
36
|
-
return json;
|
|
37
|
-
}
|
|
38
|
-
return {
|
|
39
|
-
'id': json['id'] == null ? undefined : json['id'],
|
|
40
|
-
'name': json['name'],
|
|
41
|
-
'pathString': json['pathString'],
|
|
42
|
-
};
|
|
43
|
-
}
|
|
44
|
-
function ProductClassLiteResourceToJSON(json) {
|
|
45
|
-
return ProductClassLiteResourceToJSONTyped(json, false);
|
|
46
|
-
}
|
|
47
|
-
function ProductClassLiteResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
48
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
49
|
-
if (value == null) {
|
|
50
|
-
return value;
|
|
51
|
-
}
|
|
52
|
-
return {
|
|
53
|
-
'id': value['id'],
|
|
54
|
-
'name': value['name'],
|
|
55
|
-
'pathString': value['pathString'],
|
|
56
|
-
};
|
|
57
|
-
}
|
|
@@ -1,33 +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 { ProductClassLiteResource } from './ProductClassLiteResource';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface ProductClassLiteResourceArrayResponse
|
|
17
|
-
*/
|
|
18
|
-
export interface ProductClassLiteResourceArrayResponse {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {Array<ProductClassLiteResource>}
|
|
22
|
-
* @memberof ProductClassLiteResourceArrayResponse
|
|
23
|
-
*/
|
|
24
|
-
data?: Array<ProductClassLiteResource>;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Check if a given object implements the ProductClassLiteResourceArrayResponse interface.
|
|
28
|
-
*/
|
|
29
|
-
export declare function instanceOfProductClassLiteResourceArrayResponse(value: object): value is ProductClassLiteResourceArrayResponse;
|
|
30
|
-
export declare function ProductClassLiteResourceArrayResponseFromJSON(json: any): ProductClassLiteResourceArrayResponse;
|
|
31
|
-
export declare function ProductClassLiteResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductClassLiteResourceArrayResponse;
|
|
32
|
-
export declare function ProductClassLiteResourceArrayResponseToJSON(json: any): ProductClassLiteResourceArrayResponse;
|
|
33
|
-
export declare function ProductClassLiteResourceArrayResponseToJSONTyped(value?: ProductClassLiteResourceArrayResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,50 +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.instanceOfProductClassLiteResourceArrayResponse = instanceOfProductClassLiteResourceArrayResponse;
|
|
17
|
-
exports.ProductClassLiteResourceArrayResponseFromJSON = ProductClassLiteResourceArrayResponseFromJSON;
|
|
18
|
-
exports.ProductClassLiteResourceArrayResponseFromJSONTyped = ProductClassLiteResourceArrayResponseFromJSONTyped;
|
|
19
|
-
exports.ProductClassLiteResourceArrayResponseToJSON = ProductClassLiteResourceArrayResponseToJSON;
|
|
20
|
-
exports.ProductClassLiteResourceArrayResponseToJSONTyped = ProductClassLiteResourceArrayResponseToJSONTyped;
|
|
21
|
-
var ProductClassLiteResource_1 = require("./ProductClassLiteResource");
|
|
22
|
-
/**
|
|
23
|
-
* Check if a given object implements the ProductClassLiteResourceArrayResponse interface.
|
|
24
|
-
*/
|
|
25
|
-
function instanceOfProductClassLiteResourceArrayResponse(value) {
|
|
26
|
-
return true;
|
|
27
|
-
}
|
|
28
|
-
function ProductClassLiteResourceArrayResponseFromJSON(json) {
|
|
29
|
-
return ProductClassLiteResourceArrayResponseFromJSONTyped(json, false);
|
|
30
|
-
}
|
|
31
|
-
function ProductClassLiteResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
-
if (json == null) {
|
|
33
|
-
return json;
|
|
34
|
-
}
|
|
35
|
-
return {
|
|
36
|
-
'data': json['data'] == null ? undefined : (json['data'].map(ProductClassLiteResource_1.ProductClassLiteResourceFromJSON)),
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
function ProductClassLiteResourceArrayResponseToJSON(json) {
|
|
40
|
-
return ProductClassLiteResourceArrayResponseToJSONTyped(json, false);
|
|
41
|
-
}
|
|
42
|
-
function ProductClassLiteResourceArrayResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
43
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
44
|
-
if (value == null) {
|
|
45
|
-
return value;
|
|
46
|
-
}
|
|
47
|
-
return {
|
|
48
|
-
'data': value['data'] == null ? undefined : (value['data'].map(ProductClassLiteResource_1.ProductClassLiteResourceToJSON)),
|
|
49
|
-
};
|
|
50
|
-
}
|
|
@@ -1,78 +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 SearchAllProductClassesRequest
|
|
16
|
-
*/
|
|
17
|
-
export interface SearchAllProductClassesRequest {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof SearchAllProductClassesRequest
|
|
22
|
-
*/
|
|
23
|
-
search?: string | null;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {SearchAllProductClassesRequestSortByEnum}
|
|
27
|
-
* @memberof SearchAllProductClassesRequest
|
|
28
|
-
*/
|
|
29
|
-
sortBy?: SearchAllProductClassesRequestSortByEnum;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {SearchAllProductClassesRequestSortDirectionEnum}
|
|
33
|
-
* @memberof SearchAllProductClassesRequest
|
|
34
|
-
*/
|
|
35
|
-
sortDirection?: SearchAllProductClassesRequestSortDirectionEnum;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {number}
|
|
39
|
-
* @memberof SearchAllProductClassesRequest
|
|
40
|
-
*/
|
|
41
|
-
relatedId?: number;
|
|
42
|
-
/**
|
|
43
|
-
*
|
|
44
|
-
* @type {string}
|
|
45
|
-
* @memberof SearchAllProductClassesRequest
|
|
46
|
-
*/
|
|
47
|
-
relatedType?: string;
|
|
48
|
-
/**
|
|
49
|
-
*
|
|
50
|
-
* @type {boolean}
|
|
51
|
-
* @memberof SearchAllProductClassesRequest
|
|
52
|
-
*/
|
|
53
|
-
includesRelations?: boolean;
|
|
54
|
-
}
|
|
55
|
-
/**
|
|
56
|
-
* @export
|
|
57
|
-
*/
|
|
58
|
-
export declare const SearchAllProductClassesRequestSortByEnum: {
|
|
59
|
-
readonly Id: "id";
|
|
60
|
-
readonly Name: "name";
|
|
61
|
-
};
|
|
62
|
-
export type SearchAllProductClassesRequestSortByEnum = typeof SearchAllProductClassesRequestSortByEnum[keyof typeof SearchAllProductClassesRequestSortByEnum];
|
|
63
|
-
/**
|
|
64
|
-
* @export
|
|
65
|
-
*/
|
|
66
|
-
export declare const SearchAllProductClassesRequestSortDirectionEnum: {
|
|
67
|
-
readonly Asc: "asc";
|
|
68
|
-
readonly Desc: "desc";
|
|
69
|
-
};
|
|
70
|
-
export type SearchAllProductClassesRequestSortDirectionEnum = typeof SearchAllProductClassesRequestSortDirectionEnum[keyof typeof SearchAllProductClassesRequestSortDirectionEnum];
|
|
71
|
-
/**
|
|
72
|
-
* Check if a given object implements the SearchAllProductClassesRequest interface.
|
|
73
|
-
*/
|
|
74
|
-
export declare function instanceOfSearchAllProductClassesRequest(value: object): value is SearchAllProductClassesRequest;
|
|
75
|
-
export declare function SearchAllProductClassesRequestFromJSON(json: any): SearchAllProductClassesRequest;
|
|
76
|
-
export declare function SearchAllProductClassesRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SearchAllProductClassesRequest;
|
|
77
|
-
export declare function SearchAllProductClassesRequestToJSON(json: any): SearchAllProductClassesRequest;
|
|
78
|
-
export declare function SearchAllProductClassesRequestToJSONTyped(value?: SearchAllProductClassesRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,74 +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.SearchAllProductClassesRequestSortDirectionEnum = exports.SearchAllProductClassesRequestSortByEnum = void 0;
|
|
17
|
-
exports.instanceOfSearchAllProductClassesRequest = instanceOfSearchAllProductClassesRequest;
|
|
18
|
-
exports.SearchAllProductClassesRequestFromJSON = SearchAllProductClassesRequestFromJSON;
|
|
19
|
-
exports.SearchAllProductClassesRequestFromJSONTyped = SearchAllProductClassesRequestFromJSONTyped;
|
|
20
|
-
exports.SearchAllProductClassesRequestToJSON = SearchAllProductClassesRequestToJSON;
|
|
21
|
-
exports.SearchAllProductClassesRequestToJSONTyped = SearchAllProductClassesRequestToJSONTyped;
|
|
22
|
-
/**
|
|
23
|
-
* @export
|
|
24
|
-
*/
|
|
25
|
-
exports.SearchAllProductClassesRequestSortByEnum = {
|
|
26
|
-
Id: 'id',
|
|
27
|
-
Name: 'name'
|
|
28
|
-
};
|
|
29
|
-
/**
|
|
30
|
-
* @export
|
|
31
|
-
*/
|
|
32
|
-
exports.SearchAllProductClassesRequestSortDirectionEnum = {
|
|
33
|
-
Asc: 'asc',
|
|
34
|
-
Desc: 'desc'
|
|
35
|
-
};
|
|
36
|
-
/**
|
|
37
|
-
* Check if a given object implements the SearchAllProductClassesRequest interface.
|
|
38
|
-
*/
|
|
39
|
-
function instanceOfSearchAllProductClassesRequest(value) {
|
|
40
|
-
return true;
|
|
41
|
-
}
|
|
42
|
-
function SearchAllProductClassesRequestFromJSON(json) {
|
|
43
|
-
return SearchAllProductClassesRequestFromJSONTyped(json, false);
|
|
44
|
-
}
|
|
45
|
-
function SearchAllProductClassesRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
46
|
-
if (json == null) {
|
|
47
|
-
return json;
|
|
48
|
-
}
|
|
49
|
-
return {
|
|
50
|
-
'search': json['search'] == null ? undefined : json['search'],
|
|
51
|
-
'sortBy': json['sortBy'] == null ? undefined : json['sortBy'],
|
|
52
|
-
'sortDirection': json['sortDirection'] == null ? undefined : json['sortDirection'],
|
|
53
|
-
'relatedId': json['related_id'] == null ? undefined : json['related_id'],
|
|
54
|
-
'relatedType': json['related_type'] == null ? undefined : json['related_type'],
|
|
55
|
-
'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
|
|
56
|
-
};
|
|
57
|
-
}
|
|
58
|
-
function SearchAllProductClassesRequestToJSON(json) {
|
|
59
|
-
return SearchAllProductClassesRequestToJSONTyped(json, false);
|
|
60
|
-
}
|
|
61
|
-
function SearchAllProductClassesRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
62
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
63
|
-
if (value == null) {
|
|
64
|
-
return value;
|
|
65
|
-
}
|
|
66
|
-
return {
|
|
67
|
-
'search': value['search'],
|
|
68
|
-
'sortBy': value['sortBy'],
|
|
69
|
-
'sortDirection': value['sortDirection'],
|
|
70
|
-
'related_id': value['relatedId'],
|
|
71
|
-
'related_type': value['relatedType'],
|
|
72
|
-
'includes_relations': value['includesRelations'],
|
|
73
|
-
};
|
|
74
|
-
}
|
package/docs/ProductClassApi.md
DELETED
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
# ProductClassApi
|
|
2
|
-
|
|
3
|
-
All URIs are relative to *http://localhost/api*
|
|
4
|
-
|
|
5
|
-
| Method | HTTP request | Description |
|
|
6
|
-
|------------- | ------------- | -------------|
|
|
7
|
-
| [**getAllProductClass**](ProductClassApi.md#getallproductclass) | **POST** /admin-api/product-class/all | Auto-generated: getAllProductClass |
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
## getAllProductClass
|
|
12
|
-
|
|
13
|
-
> ProductClassLiteResourceArrayResponse getAllProductClass(searchAllProductClassesRequest)
|
|
14
|
-
|
|
15
|
-
Auto-generated: getAllProductClass
|
|
16
|
-
|
|
17
|
-
### Example
|
|
18
|
-
|
|
19
|
-
```ts
|
|
20
|
-
import {
|
|
21
|
-
Configuration,
|
|
22
|
-
ProductClassApi,
|
|
23
|
-
} from '@digital8/lighting-illusions-ts-sdk';
|
|
24
|
-
import type { GetAllProductClassRequest } from '@digital8/lighting-illusions-ts-sdk';
|
|
25
|
-
|
|
26
|
-
async function example() {
|
|
27
|
-
console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
|
|
28
|
-
const api = new ProductClassApi();
|
|
29
|
-
|
|
30
|
-
const body = {
|
|
31
|
-
// SearchAllProductClassesRequest (optional)
|
|
32
|
-
searchAllProductClassesRequest: ...,
|
|
33
|
-
} satisfies GetAllProductClassRequest;
|
|
34
|
-
|
|
35
|
-
try {
|
|
36
|
-
const data = await api.getAllProductClass(body);
|
|
37
|
-
console.log(data);
|
|
38
|
-
} catch (error) {
|
|
39
|
-
console.error(error);
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
// Run the test
|
|
44
|
-
example().catch(console.error);
|
|
45
|
-
```
|
|
46
|
-
|
|
47
|
-
### Parameters
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
| Name | Type | Description | Notes |
|
|
51
|
-
|------------- | ------------- | ------------- | -------------|
|
|
52
|
-
| **searchAllProductClassesRequest** | [SearchAllProductClassesRequest](SearchAllProductClassesRequest.md) | | [Optional] |
|
|
53
|
-
|
|
54
|
-
### Return type
|
|
55
|
-
|
|
56
|
-
[**ProductClassLiteResourceArrayResponse**](ProductClassLiteResourceArrayResponse.md)
|
|
57
|
-
|
|
58
|
-
### Authorization
|
|
59
|
-
|
|
60
|
-
No authorization required
|
|
61
|
-
|
|
62
|
-
### HTTP request headers
|
|
63
|
-
|
|
64
|
-
- **Content-Type**: `application/json`
|
|
65
|
-
- **Accept**: `application/json`
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
### HTTP response details
|
|
69
|
-
| Status code | Description | Response headers |
|
|
70
|
-
|-------------|-------------|------------------|
|
|
71
|
-
| **200** | Successful resource response | - |
|
|
72
|
-
|
|
73
|
-
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
74
|
-
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* My API
|
|
5
|
-
* API documentation for my Laravel app
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.0
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
import * as runtime from '../runtime';
|
|
16
|
-
import {
|
|
17
|
-
type ProductClassLiteResourceArrayResponse,
|
|
18
|
-
ProductClassLiteResourceArrayResponseFromJSON,
|
|
19
|
-
ProductClassLiteResourceArrayResponseToJSON,
|
|
20
|
-
} from '../models/ProductClassLiteResourceArrayResponse';
|
|
21
|
-
import {
|
|
22
|
-
type SearchAllProductClassesRequest,
|
|
23
|
-
SearchAllProductClassesRequestFromJSON,
|
|
24
|
-
SearchAllProductClassesRequestToJSON,
|
|
25
|
-
} from '../models/SearchAllProductClassesRequest';
|
|
26
|
-
|
|
27
|
-
export interface GetAllProductClassRequest {
|
|
28
|
-
searchAllProductClassesRequest?: SearchAllProductClassesRequest;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
*/
|
|
34
|
-
export class ProductClassApi extends runtime.BaseAPI {
|
|
35
|
-
|
|
36
|
-
/**
|
|
37
|
-
* Creates request options for getAllProductClass without sending the request
|
|
38
|
-
*/
|
|
39
|
-
async getAllProductClassRequestOpts(requestParameters: GetAllProductClassRequest): Promise<runtime.RequestOpts> {
|
|
40
|
-
const queryParameters: any = {};
|
|
41
|
-
|
|
42
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
43
|
-
|
|
44
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
let urlPath = `/admin-api/product-class/all`;
|
|
48
|
-
|
|
49
|
-
return {
|
|
50
|
-
path: urlPath,
|
|
51
|
-
method: 'POST',
|
|
52
|
-
headers: headerParameters,
|
|
53
|
-
query: queryParameters,
|
|
54
|
-
body: SearchAllProductClassesRequestToJSON(requestParameters['searchAllProductClassesRequest']),
|
|
55
|
-
};
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
/**
|
|
59
|
-
* Auto-generated: getAllProductClass
|
|
60
|
-
*/
|
|
61
|
-
async getAllProductClassRaw(requestParameters: GetAllProductClassRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ProductClassLiteResourceArrayResponse>> {
|
|
62
|
-
const requestOptions = await this.getAllProductClassRequestOpts(requestParameters);
|
|
63
|
-
const response = await this.request(requestOptions, initOverrides);
|
|
64
|
-
|
|
65
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => ProductClassLiteResourceArrayResponseFromJSON(jsonValue));
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
/**
|
|
69
|
-
* Auto-generated: getAllProductClass
|
|
70
|
-
*/
|
|
71
|
-
async getAllProductClass(requestParameters: GetAllProductClassRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ProductClassLiteResourceArrayResponse> {
|
|
72
|
-
const response = await this.getAllProductClassRaw(requestParameters, initOverrides);
|
|
73
|
-
return await response.value();
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
}
|