@digital8/lighting-illusions-ts-sdk 0.0.1785 → 0.0.1786
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 +114 -0
- package/README.md +74 -2
- package/dist/apis/MenuApi.d.ts +109 -0
- package/dist/apis/MenuApi.js +433 -0
- package/dist/apis/MenuItemsApi.d.ts +124 -0
- package/dist/apis/MenuItemsApi.js +491 -0
- package/dist/apis/ProductRegistrationApi.d.ts +95 -0
- package/dist/apis/ProductRegistrationApi.js +377 -0
- package/dist/apis/RedirectApi.d.ts +33 -0
- package/dist/apis/RedirectApi.js +138 -0
- package/dist/apis/index.d.ts +4 -0
- package/dist/apis/index.js +4 -0
- package/dist/models/AddressResource.d.ts +1 -1
- package/dist/models/AddressResource.js +3 -1
- package/dist/models/AssetFrontendResource.d.ts +12 -0
- package/dist/models/AssetFrontendResource.js +6 -0
- package/dist/models/AssetLiteResource.d.ts +14 -2
- package/dist/models/AssetLiteResource.js +6 -0
- package/dist/models/AssetResource.d.ts +14 -2
- package/dist/models/AssetResource.js +6 -0
- package/dist/models/AssetWithOverlayLinkResource.d.ts +14 -2
- package/dist/models/AssetWithOverlayLinkResource.js +6 -0
- package/dist/models/GetAllMenuItemRequest.d.ts +93 -0
- package/dist/models/GetAllMenuItemRequest.js +81 -0
- package/dist/models/GetAllMenuRequest.d.ts +93 -0
- package/dist/models/GetAllMenuRequest.js +81 -0
- package/dist/models/GetAllProductRegistrationRequest.d.ts +88 -0
- package/dist/models/GetAllProductRegistrationRequest.js +80 -0
- package/dist/models/GetHierarchyMenuItemRequest.d.ts +32 -0
- package/dist/models/GetHierarchyMenuItemRequest.js +51 -0
- package/dist/models/GlobalSearchProductResource.d.ts +6 -0
- package/dist/models/GlobalSearchProductResource.js +4 -0
- package/dist/models/IndexMenuRequest.d.ts +105 -0
- package/dist/models/IndexMenuRequest.js +85 -0
- package/dist/models/IndexProductChildRequest.d.ts +1 -0
- package/dist/models/IndexProductChildRequest.js +1 -0
- package/dist/models/IndexProductRegistrationRequest.d.ts +131 -0
- package/dist/models/IndexProductRegistrationRequest.js +98 -0
- package/dist/models/IndexRedirectRequest.d.ts +124 -0
- package/dist/models/IndexRedirectRequest.js +95 -0
- package/dist/models/ListAssetsProductRegistrationRequest.d.ts +103 -0
- package/dist/models/ListAssetsProductRegistrationRequest.js +83 -0
- package/dist/models/MenuItemHierarchyResource.d.ts +81 -0
- package/dist/models/MenuItemHierarchyResource.js +80 -0
- package/dist/models/MenuItemHierarchyResourceArrayResponse.d.ts +33 -0
- package/dist/models/MenuItemHierarchyResourceArrayResponse.js +50 -0
- package/dist/models/MenuItemLinkResource.d.ts +68 -0
- package/dist/models/MenuItemLinkResource.js +67 -0
- package/dist/models/MenuItemLinkResourceArrayResponse.d.ts +33 -0
- package/dist/models/MenuItemLinkResourceArrayResponse.js +50 -0
- package/dist/models/MenuItemLiteResource.d.ts +62 -0
- package/dist/models/MenuItemLiteResource.js +67 -0
- package/dist/models/MenuItemLiteResourceArrayResponse.d.ts +33 -0
- package/dist/models/MenuItemLiteResourceArrayResponse.js +50 -0
- package/dist/models/MenuItemResource.d.ts +106 -0
- package/dist/models/MenuItemResource.js +91 -0
- package/dist/models/MenuItemResourceArrayResponse.d.ts +33 -0
- package/dist/models/MenuItemResourceArrayResponse.js +50 -0
- package/dist/models/MenuItemType.d.ts +27 -0
- package/dist/models/MenuItemType.js +53 -0
- package/dist/models/MenuListResource.d.ts +64 -0
- package/dist/models/MenuListResource.js +73 -0
- package/dist/models/MenuListResourceArrayResponse.d.ts +33 -0
- package/dist/models/MenuListResourceArrayResponse.js +50 -0
- package/dist/models/MenuPosition.d.ts +27 -0
- package/dist/models/MenuPosition.js +53 -0
- package/dist/models/MenuResource.d.ts +63 -0
- package/dist/models/MenuResource.js +70 -0
- package/dist/models/MenuResourceArrayResponse.d.ts +33 -0
- package/dist/models/MenuResourceArrayResponse.js +50 -0
- package/dist/models/PaginatedMenuListResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedMenuListResourceResponse.js +57 -0
- package/dist/models/PaginatedProductRegistrationAssetResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedProductRegistrationAssetResourceResponse.js +57 -0
- package/dist/models/PaginatedProductRegistrationListResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedProductRegistrationListResourceResponse.js +57 -0
- package/dist/models/PaginatedProductRegistrationResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedProductRegistrationResourceResponse.js +57 -0
- package/dist/models/PaginatedRedirectListResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedRedirectListResourceResponse.js +57 -0
- package/dist/models/ProductChildListResource.d.ts +6 -0
- package/dist/models/ProductChildListResource.js +2 -0
- package/dist/models/ProductRegistrationAssetResource.d.ts +45 -0
- package/dist/models/ProductRegistrationAssetResource.js +58 -0
- package/dist/models/ProductRegistrationAssetResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductRegistrationAssetResourceArrayResponse.js +50 -0
- package/dist/models/ProductRegistrationAssetType.d.ts +25 -0
- package/dist/models/ProductRegistrationAssetType.js +51 -0
- package/dist/models/ProductRegistrationCustomerLiteResource.d.ts +50 -0
- package/dist/models/ProductRegistrationCustomerLiteResource.js +61 -0
- package/dist/models/ProductRegistrationCustomerLiteResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductRegistrationCustomerLiteResourceArrayResponse.js +50 -0
- package/dist/models/ProductRegistrationCustomerResource.d.ts +62 -0
- package/dist/models/ProductRegistrationCustomerResource.js +65 -0
- package/dist/models/ProductRegistrationCustomerResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductRegistrationCustomerResourceArrayResponse.js +50 -0
- package/dist/models/ProductRegistrationListResource.d.ts +57 -0
- package/dist/models/ProductRegistrationListResource.js +64 -0
- package/dist/models/ProductRegistrationListResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductRegistrationListResourceArrayResponse.js +50 -0
- package/dist/models/ProductRegistrationLiteResource.d.ts +38 -0
- package/dist/models/ProductRegistrationLiteResource.js +53 -0
- package/dist/models/ProductRegistrationLiteResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductRegistrationLiteResourceArrayResponse.js +50 -0
- package/dist/models/ProductRegistrationProductChildResource.d.ts +50 -0
- package/dist/models/ProductRegistrationProductChildResource.js +63 -0
- package/dist/models/ProductRegistrationProductChildResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductRegistrationProductChildResourceArrayResponse.js +50 -0
- package/dist/models/ProductRegistrationResource.d.ts +90 -0
- package/dist/models/ProductRegistrationResource.js +81 -0
- package/dist/models/ProductRegistrationResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductRegistrationResourceArrayResponse.js +50 -0
- package/dist/models/ProductSearchResultResource.d.ts +6 -0
- package/dist/models/ProductSearchResultResource.js +4 -0
- package/dist/models/RedirectFrontendResource.d.ts +62 -0
- package/dist/models/RedirectFrontendResource.js +71 -0
- package/dist/models/RedirectFrontendResourceArrayResponse.d.ts +33 -0
- package/dist/models/RedirectFrontendResourceArrayResponse.js +50 -0
- package/dist/models/RedirectListResource.d.ts +69 -0
- package/dist/models/RedirectListResource.js +76 -0
- package/dist/models/RedirectListResourceArrayResponse.d.ts +33 -0
- package/dist/models/RedirectListResourceArrayResponse.js +50 -0
- package/dist/models/SearchLinkablesMenuItemRequest.d.ts +54 -0
- package/dist/models/SearchLinkablesMenuItemRequest.js +65 -0
- package/dist/models/StoreAssetForAssetableRequest.d.ts +16 -2
- package/dist/models/StoreAssetForAssetableRequest.js +9 -7
- package/dist/models/StoreFrontendResource.d.ts +2 -2
- package/dist/models/StoreFrontendResource.js +4 -4
- package/dist/models/StoreMenuItemRequest.d.ts +97 -0
- package/dist/models/StoreMenuItemRequest.js +84 -0
- package/dist/models/StoreMenuItemRequestMenuItemLink.d.ts +60 -0
- package/dist/models/StoreMenuItemRequestMenuItemLink.js +65 -0
- package/dist/models/StoreMenuRequest.d.ts +54 -0
- package/dist/models/StoreMenuRequest.js +69 -0
- package/dist/models/StoreOverlayTemplateAssetRequest.d.ts +14 -2
- package/dist/models/StoreOverlayTemplateAssetRequest.js +6 -6
- package/dist/models/StoreProductCategoryRequest.d.ts +12 -0
- package/dist/models/StoreProductCategoryRequest.js +4 -0
- package/dist/models/StoreProductChildRequestAssetsInner.d.ts +14 -2
- package/dist/models/StoreProductChildRequestAssetsInner.js +6 -6
- package/dist/models/StoreResource.d.ts +1 -1
- package/dist/models/StoreResource.js +1 -3
- package/dist/models/StoreSupplierRequest.d.ts +14 -2
- package/dist/models/StoreSupplierRequest.js +6 -6
- package/dist/models/UpdateAssetForAssetableRequest.d.ts +12 -0
- package/dist/models/UpdateAssetForAssetableRequest.js +4 -0
- package/dist/models/UpdateMenuItemRequest.d.ts +97 -0
- package/dist/models/UpdateMenuItemRequest.js +78 -0
- package/dist/models/UpdateMenuRequest.d.ts +61 -0
- package/dist/models/UpdateMenuRequest.js +66 -0
- package/dist/models/UpdateMenuRequestMenuItemOrderInner.d.ts +44 -0
- package/dist/models/UpdateMenuRequestMenuItemOrderInner.js +53 -0
- package/dist/models/UpdateOverlayTemplateAssetRequest.d.ts +14 -2
- package/dist/models/UpdateOverlayTemplateAssetRequest.js +6 -6
- package/dist/models/UpdateProductCategoryRequest.d.ts +12 -0
- package/dist/models/UpdateProductCategoryRequest.js +4 -0
- package/dist/models/UpdateProductChildRequestAssetsInner.d.ts +14 -2
- package/dist/models/UpdateProductChildRequestAssetsInner.js +6 -6
- package/dist/models/UpdateSupplierRequest.d.ts +14 -2
- package/dist/models/UpdateSupplierRequest.js +6 -6
- package/dist/models/index.d.ts +53 -0
- package/dist/models/index.js +53 -0
- package/docs/AssetFrontendResource.md +4 -0
- package/docs/AssetLiteResource.md +5 -1
- package/docs/AssetResource.md +5 -1
- package/docs/AssetWithOverlayLinkResource.md +5 -1
- package/docs/GetAllMenuItemRequest.md +48 -0
- package/docs/GetAllMenuRequest.md +48 -0
- package/docs/GetAllProductRegistrationRequest.md +46 -0
- package/docs/GetHierarchyMenuItemRequest.md +34 -0
- package/docs/GlobalSearchProductResource.md +2 -0
- package/docs/IndexMenuRequest.md +52 -0
- package/docs/IndexProductRegistrationRequest.md +58 -0
- package/docs/IndexRedirectRequest.md +56 -0
- package/docs/ListAssetsProductRegistrationRequest.md +52 -0
- package/docs/MenuApi.md +407 -0
- package/docs/MenuItemHierarchyResource.md +50 -0
- package/docs/MenuItemHierarchyResourceArrayResponse.md +34 -0
- package/docs/MenuItemLinkResource.md +46 -0
- package/docs/MenuItemLinkResourceArrayResponse.md +34 -0
- package/docs/MenuItemLiteResource.md +44 -0
- package/docs/MenuItemLiteResourceArrayResponse.md +34 -0
- package/docs/MenuItemResource.md +58 -0
- package/docs/MenuItemResourceArrayResponse.md +34 -0
- package/docs/MenuItemType.md +32 -0
- package/docs/MenuItemsApi.md +473 -0
- package/docs/MenuListResource.md +44 -0
- package/docs/MenuListResourceArrayResponse.md +34 -0
- package/docs/MenuPosition.md +32 -0
- package/docs/MenuResource.md +44 -0
- package/docs/MenuResourceArrayResponse.md +34 -0
- package/docs/PaginatedMenuListResourceResponse.md +36 -0
- package/docs/PaginatedProductRegistrationAssetResourceResponse.md +36 -0
- package/docs/PaginatedProductRegistrationListResourceResponse.md +36 -0
- package/docs/PaginatedProductRegistrationResourceResponse.md +36 -0
- package/docs/PaginatedRedirectListResourceResponse.md +36 -0
- package/docs/ProductChildListResource.md +2 -0
- package/docs/ProductRegistrationApi.md +344 -0
- package/docs/ProductRegistrationAssetResource.md +38 -0
- package/docs/ProductRegistrationAssetResourceArrayResponse.md +34 -0
- package/docs/ProductRegistrationAssetType.md +32 -0
- package/docs/ProductRegistrationCustomerLiteResource.md +40 -0
- package/docs/ProductRegistrationCustomerLiteResourceArrayResponse.md +34 -0
- package/docs/ProductRegistrationCustomerResource.md +44 -0
- package/docs/ProductRegistrationCustomerResourceArrayResponse.md +34 -0
- package/docs/ProductRegistrationListResource.md +42 -0
- package/docs/ProductRegistrationListResourceArrayResponse.md +34 -0
- package/docs/ProductRegistrationLiteResource.md +36 -0
- package/docs/ProductRegistrationLiteResourceArrayResponse.md +34 -0
- package/docs/ProductRegistrationProductChildResource.md +40 -0
- package/docs/ProductRegistrationProductChildResourceArrayResponse.md +34 -0
- package/docs/ProductRegistrationResource.md +52 -0
- package/docs/ProductRegistrationResourceArrayResponse.md +34 -0
- package/docs/ProductSearchResultResource.md +2 -0
- package/docs/RedirectApi.md +74 -0
- package/docs/RedirectFrontendResource.md +44 -0
- package/docs/RedirectFrontendResourceArrayResponse.md +34 -0
- package/docs/RedirectListResource.md +46 -0
- package/docs/RedirectListResourceArrayResponse.md +34 -0
- package/docs/SearchLinkablesMenuItemRequest.md +38 -0
- package/docs/StoreAssetForAssetableRequest.md +4 -0
- package/docs/StoreMenuItemRequest.md +52 -0
- package/docs/StoreMenuItemRequestMenuItemLink.md +40 -0
- package/docs/StoreMenuRequest.md +38 -0
- package/docs/StoreOverlayTemplateAssetRequest.md +4 -0
- package/docs/StoreProductCategoryRequest.md +4 -0
- package/docs/StoreProductChildRequestAssetsInner.md +4 -0
- package/docs/StoreSupplierRequest.md +4 -0
- package/docs/UpdateAssetForAssetableRequest.md +4 -0
- package/docs/UpdateMenuItemRequest.md +52 -0
- package/docs/UpdateMenuRequest.md +40 -0
- package/docs/UpdateMenuRequestMenuItemOrderInner.md +38 -0
- package/docs/UpdateOverlayTemplateAssetRequest.md +4 -0
- package/docs/UpdateProductCategoryRequest.md +4 -0
- package/docs/UpdateProductChildRequestAssetsInner.md +4 -0
- package/docs/UpdateSupplierRequest.md +4 -0
- package/package.json +1 -1
- package/src/apis/MenuApi.ts +334 -0
- package/src/apis/MenuItemsApi.ts +381 -0
- package/src/apis/ProductRegistrationApi.ts +297 -0
- package/src/apis/RedirectApi.ts +77 -0
- package/src/apis/index.ts +4 -0
- package/src/models/AddressResource.ts +3 -2
- package/src/models/AssetFrontendResource.ts +17 -0
- package/src/models/AssetLiteResource.ts +19 -2
- package/src/models/AssetResource.ts +19 -2
- package/src/models/AssetWithOverlayLinkResource.ts +19 -2
- package/src/models/GetAllMenuItemRequest.ts +144 -0
- package/src/models/GetAllMenuRequest.ts +144 -0
- package/src/models/GetAllProductRegistrationRequest.ts +137 -0
- package/src/models/GetHierarchyMenuItemRequest.ts +66 -0
- package/src/models/GlobalSearchProductResource.ts +9 -0
- package/src/models/IndexMenuRequest.ts +160 -0
- package/src/models/IndexProductChildRequest.ts +1 -0
- package/src/models/IndexProductRegistrationRequest.ts +193 -0
- package/src/models/IndexRedirectRequest.ts +184 -0
- package/src/models/ListAssetsProductRegistrationRequest.ts +158 -0
- package/src/models/MenuItemHierarchyResource.ts +144 -0
- package/src/models/MenuItemHierarchyResourceArrayResponse.ts +73 -0
- package/src/models/MenuItemLinkResource.ts +116 -0
- package/src/models/MenuItemLinkResourceArrayResponse.ts +73 -0
- package/src/models/MenuItemLiteResource.ts +109 -0
- package/src/models/MenuItemLiteResourceArrayResponse.ts +73 -0
- package/src/models/MenuItemResource.ts +184 -0
- package/src/models/MenuItemResourceArrayResponse.ts +73 -0
- package/src/models/MenuItemType.ts +55 -0
- package/src/models/MenuListResource.ts +126 -0
- package/src/models/MenuListResourceArrayResponse.ts +73 -0
- package/src/models/MenuPosition.ts +55 -0
- package/src/models/MenuResource.ts +118 -0
- package/src/models/MenuResourceArrayResponse.ts +73 -0
- package/src/models/PaginatedMenuListResourceResponse.ts +90 -0
- package/src/models/PaginatedProductRegistrationAssetResourceResponse.ts +90 -0
- package/src/models/PaginatedProductRegistrationListResourceResponse.ts +90 -0
- package/src/models/PaginatedProductRegistrationResourceResponse.ts +90 -0
- package/src/models/PaginatedRedirectListResourceResponse.ts +90 -0
- package/src/models/ProductChildListResource.ts +8 -0
- package/src/models/ProductRegistrationAssetResource.ts +91 -0
- package/src/models/ProductRegistrationAssetResourceArrayResponse.ts +73 -0
- package/src/models/ProductRegistrationAssetType.ts +53 -0
- package/src/models/ProductRegistrationCustomerLiteResource.ts +92 -0
- package/src/models/ProductRegistrationCustomerLiteResourceArrayResponse.ts +73 -0
- package/src/models/ProductRegistrationCustomerResource.ts +108 -0
- package/src/models/ProductRegistrationCustomerResourceArrayResponse.ts +73 -0
- package/src/models/ProductRegistrationListResource.ts +108 -0
- package/src/models/ProductRegistrationListResourceArrayResponse.ts +73 -0
- package/src/models/ProductRegistrationLiteResource.ts +74 -0
- package/src/models/ProductRegistrationLiteResourceArrayResponse.ts +73 -0
- package/src/models/ProductRegistrationProductChildResource.ts +93 -0
- package/src/models/ProductRegistrationProductChildResourceArrayResponse.ts +73 -0
- package/src/models/ProductRegistrationResource.ts +171 -0
- package/src/models/ProductRegistrationResourceArrayResponse.ts +73 -0
- package/src/models/ProductSearchResultResource.ts +9 -0
- package/src/models/RedirectFrontendResource.ts +111 -0
- package/src/models/RedirectFrontendResourceArrayResponse.ts +73 -0
- package/src/models/RedirectListResource.ts +128 -0
- package/src/models/RedirectListResourceArrayResponse.ts +73 -0
- package/src/models/SearchLinkablesMenuItemRequest.ts +95 -0
- package/src/models/StoreAssetForAssetableRequest.ts +23 -7
- package/src/models/StoreFrontendResource.ts +5 -5
- package/src/models/StoreMenuItemRequest.ts +161 -0
- package/src/models/StoreMenuItemRequestMenuItemLink.ts +102 -0
- package/src/models/StoreMenuRequest.ts +97 -0
- package/src/models/StoreOverlayTemplateAssetRequest.ts +20 -6
- package/src/models/StoreProductCategoryRequest.ts +16 -0
- package/src/models/StoreProductChildRequestAssetsInner.ts +20 -6
- package/src/models/StoreResource.ts +2 -3
- package/src/models/StoreSupplierRequest.ts +20 -6
- package/src/models/UpdateAssetForAssetableRequest.ts +16 -0
- package/src/models/UpdateMenuItemRequest.ts +158 -0
- package/src/models/UpdateMenuRequest.ts +110 -0
- package/src/models/UpdateMenuRequestMenuItemOrderInner.ts +81 -0
- package/src/models/UpdateOverlayTemplateAssetRequest.ts +20 -6
- package/src/models/UpdateProductCategoryRequest.ts +16 -0
- package/src/models/UpdateProductChildRequestAssetsInner.ts +20 -6
- package/src/models/UpdateSupplierRequest.ts +20 -6
- package/src/models/index.ts +53 -0
|
@@ -0,0 +1,80 @@
|
|
|
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.GetAllProductRegistrationRequestSortDirectionEnum = exports.GetAllProductRegistrationRequestSortByEnum = void 0;
|
|
17
|
+
exports.instanceOfGetAllProductRegistrationRequest = instanceOfGetAllProductRegistrationRequest;
|
|
18
|
+
exports.GetAllProductRegistrationRequestFromJSON = GetAllProductRegistrationRequestFromJSON;
|
|
19
|
+
exports.GetAllProductRegistrationRequestFromJSONTyped = GetAllProductRegistrationRequestFromJSONTyped;
|
|
20
|
+
exports.GetAllProductRegistrationRequestToJSON = GetAllProductRegistrationRequestToJSON;
|
|
21
|
+
exports.GetAllProductRegistrationRequestToJSONTyped = GetAllProductRegistrationRequestToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.GetAllProductRegistrationRequestSortByEnum = {
|
|
26
|
+
Id: 'id',
|
|
27
|
+
CustomerName: 'customer-name',
|
|
28
|
+
CustomerEmail: 'customer-email',
|
|
29
|
+
CustomerPhone: 'customer-phone',
|
|
30
|
+
CreatedAt: 'created_at',
|
|
31
|
+
PurchasedDate: 'purchased_date'
|
|
32
|
+
};
|
|
33
|
+
/**
|
|
34
|
+
* @export
|
|
35
|
+
*/
|
|
36
|
+
exports.GetAllProductRegistrationRequestSortDirectionEnum = {
|
|
37
|
+
Asc: 'asc',
|
|
38
|
+
Desc: 'desc'
|
|
39
|
+
};
|
|
40
|
+
/**
|
|
41
|
+
* Check if a given object implements the GetAllProductRegistrationRequest interface.
|
|
42
|
+
*/
|
|
43
|
+
function instanceOfGetAllProductRegistrationRequest(value) {
|
|
44
|
+
return true;
|
|
45
|
+
}
|
|
46
|
+
function GetAllProductRegistrationRequestFromJSON(json) {
|
|
47
|
+
return GetAllProductRegistrationRequestFromJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
function GetAllProductRegistrationRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
50
|
+
if (json == null) {
|
|
51
|
+
return json;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'search': json['search'] == null ? undefined : json['search'],
|
|
55
|
+
'sortBy': json['sortBy'] == null ? undefined : json['sortBy'],
|
|
56
|
+
'sortDirection': json['sortDirection'] == null ? undefined : json['sortDirection'],
|
|
57
|
+
'relatedId': json['related_id'] == null ? undefined : json['related_id'],
|
|
58
|
+
'relatedType': json['related_type'] == null ? undefined : json['related_type'],
|
|
59
|
+
'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
|
|
60
|
+
'siteId': json['site_id'] == null ? undefined : json['site_id'],
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
function GetAllProductRegistrationRequestToJSON(json) {
|
|
64
|
+
return GetAllProductRegistrationRequestToJSONTyped(json, false);
|
|
65
|
+
}
|
|
66
|
+
function GetAllProductRegistrationRequestToJSONTyped(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
|
+
};
|
|
80
|
+
}
|
|
@@ -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 GetHierarchyMenuItemRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface GetHierarchyMenuItemRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof GetHierarchyMenuItemRequest
|
|
22
|
+
*/
|
|
23
|
+
menuId: number;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the GetHierarchyMenuItemRequest interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfGetHierarchyMenuItemRequest(value: object): value is GetHierarchyMenuItemRequest;
|
|
29
|
+
export declare function GetHierarchyMenuItemRequestFromJSON(json: any): GetHierarchyMenuItemRequest;
|
|
30
|
+
export declare function GetHierarchyMenuItemRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetHierarchyMenuItemRequest;
|
|
31
|
+
export declare function GetHierarchyMenuItemRequestToJSON(json: any): GetHierarchyMenuItemRequest;
|
|
32
|
+
export declare function GetHierarchyMenuItemRequestToJSONTyped(value?: GetHierarchyMenuItemRequest | 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.instanceOfGetHierarchyMenuItemRequest = instanceOfGetHierarchyMenuItemRequest;
|
|
17
|
+
exports.GetHierarchyMenuItemRequestFromJSON = GetHierarchyMenuItemRequestFromJSON;
|
|
18
|
+
exports.GetHierarchyMenuItemRequestFromJSONTyped = GetHierarchyMenuItemRequestFromJSONTyped;
|
|
19
|
+
exports.GetHierarchyMenuItemRequestToJSON = GetHierarchyMenuItemRequestToJSON;
|
|
20
|
+
exports.GetHierarchyMenuItemRequestToJSONTyped = GetHierarchyMenuItemRequestToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the GetHierarchyMenuItemRequest interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfGetHierarchyMenuItemRequest(value) {
|
|
25
|
+
if (!('menuId' in value) || value['menuId'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function GetHierarchyMenuItemRequestFromJSON(json) {
|
|
30
|
+
return GetHierarchyMenuItemRequestFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function GetHierarchyMenuItemRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'menuId': json['menu_id'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function GetHierarchyMenuItemRequestToJSON(json) {
|
|
41
|
+
return GetHierarchyMenuItemRequestToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function GetHierarchyMenuItemRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
44
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'menu_id': value['menuId'],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -28,6 +28,8 @@ function instanceOfGlobalSearchProductResource(value) {
|
|
|
28
28
|
return false;
|
|
29
29
|
if (!('model' in value) || value['model'] === undefined)
|
|
30
30
|
return false;
|
|
31
|
+
if (!('modelRaw' in value) || value['modelRaw'] === undefined)
|
|
32
|
+
return false;
|
|
31
33
|
if (!('slug' in value) || value['slug'] === undefined)
|
|
32
34
|
return false;
|
|
33
35
|
if (!('sku' in value) || value['sku'] === undefined)
|
|
@@ -57,6 +59,7 @@ function GlobalSearchProductResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
57
59
|
'id': json['id'],
|
|
58
60
|
'name': json['name'],
|
|
59
61
|
'model': json['model'],
|
|
62
|
+
'modelRaw': json['modelRaw'],
|
|
60
63
|
'slug': json['slug'],
|
|
61
64
|
'sku': json['sku'],
|
|
62
65
|
'thumbnail': json['thumbnail'],
|
|
@@ -79,6 +82,7 @@ function GlobalSearchProductResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
|
79
82
|
'id': value['id'],
|
|
80
83
|
'name': value['name'],
|
|
81
84
|
'model': value['model'],
|
|
85
|
+
'modelRaw': value['modelRaw'],
|
|
82
86
|
'slug': value['slug'],
|
|
83
87
|
'sku': value['sku'],
|
|
84
88
|
'thumbnail': value['thumbnail'],
|
|
@@ -0,0 +1,105 @@
|
|
|
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 IndexMenuRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface IndexMenuRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof IndexMenuRequest
|
|
22
|
+
*/
|
|
23
|
+
search?: string | null;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {IndexMenuRequestSortByEnum}
|
|
27
|
+
* @memberof IndexMenuRequest
|
|
28
|
+
*/
|
|
29
|
+
sortBy?: IndexMenuRequestSortByEnum;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {IndexMenuRequestSortDirectionEnum}
|
|
33
|
+
* @memberof IndexMenuRequest
|
|
34
|
+
*/
|
|
35
|
+
sortDirection?: IndexMenuRequestSortDirectionEnum;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof IndexMenuRequest
|
|
40
|
+
*/
|
|
41
|
+
perPage?: number;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof IndexMenuRequest
|
|
46
|
+
*/
|
|
47
|
+
page?: number;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {Array<string>}
|
|
51
|
+
* @memberof IndexMenuRequest
|
|
52
|
+
*/
|
|
53
|
+
siteId?: Array<string>;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {Array<string>}
|
|
57
|
+
* @memberof IndexMenuRequest
|
|
58
|
+
*/
|
|
59
|
+
position?: Array<string>;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {number}
|
|
63
|
+
* @memberof IndexMenuRequest
|
|
64
|
+
*/
|
|
65
|
+
relatedId?: number;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof IndexMenuRequest
|
|
70
|
+
*/
|
|
71
|
+
relatedType?: string;
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @type {boolean}
|
|
75
|
+
* @memberof IndexMenuRequest
|
|
76
|
+
*/
|
|
77
|
+
includesRelations?: boolean;
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* @export
|
|
81
|
+
*/
|
|
82
|
+
export declare const IndexMenuRequestSortByEnum: {
|
|
83
|
+
readonly Id: "id";
|
|
84
|
+
readonly Name: "name";
|
|
85
|
+
readonly Position: "position";
|
|
86
|
+
readonly SiteName: "site-name";
|
|
87
|
+
readonly MenuItemCount: "menu_item_count";
|
|
88
|
+
};
|
|
89
|
+
export type IndexMenuRequestSortByEnum = typeof IndexMenuRequestSortByEnum[keyof typeof IndexMenuRequestSortByEnum];
|
|
90
|
+
/**
|
|
91
|
+
* @export
|
|
92
|
+
*/
|
|
93
|
+
export declare const IndexMenuRequestSortDirectionEnum: {
|
|
94
|
+
readonly Asc: "asc";
|
|
95
|
+
readonly Desc: "desc";
|
|
96
|
+
};
|
|
97
|
+
export type IndexMenuRequestSortDirectionEnum = typeof IndexMenuRequestSortDirectionEnum[keyof typeof IndexMenuRequestSortDirectionEnum];
|
|
98
|
+
/**
|
|
99
|
+
* Check if a given object implements the IndexMenuRequest interface.
|
|
100
|
+
*/
|
|
101
|
+
export declare function instanceOfIndexMenuRequest(value: object): value is IndexMenuRequest;
|
|
102
|
+
export declare function IndexMenuRequestFromJSON(json: any): IndexMenuRequest;
|
|
103
|
+
export declare function IndexMenuRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): IndexMenuRequest;
|
|
104
|
+
export declare function IndexMenuRequestToJSON(json: any): IndexMenuRequest;
|
|
105
|
+
export declare function IndexMenuRequestToJSONTyped(value?: IndexMenuRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,85 @@
|
|
|
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.IndexMenuRequestSortDirectionEnum = exports.IndexMenuRequestSortByEnum = void 0;
|
|
17
|
+
exports.instanceOfIndexMenuRequest = instanceOfIndexMenuRequest;
|
|
18
|
+
exports.IndexMenuRequestFromJSON = IndexMenuRequestFromJSON;
|
|
19
|
+
exports.IndexMenuRequestFromJSONTyped = IndexMenuRequestFromJSONTyped;
|
|
20
|
+
exports.IndexMenuRequestToJSON = IndexMenuRequestToJSON;
|
|
21
|
+
exports.IndexMenuRequestToJSONTyped = IndexMenuRequestToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.IndexMenuRequestSortByEnum = {
|
|
26
|
+
Id: 'id',
|
|
27
|
+
Name: 'name',
|
|
28
|
+
Position: 'position',
|
|
29
|
+
SiteName: 'site-name',
|
|
30
|
+
MenuItemCount: 'menu_item_count'
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* @export
|
|
34
|
+
*/
|
|
35
|
+
exports.IndexMenuRequestSortDirectionEnum = {
|
|
36
|
+
Asc: 'asc',
|
|
37
|
+
Desc: 'desc'
|
|
38
|
+
};
|
|
39
|
+
/**
|
|
40
|
+
* Check if a given object implements the IndexMenuRequest interface.
|
|
41
|
+
*/
|
|
42
|
+
function instanceOfIndexMenuRequest(value) {
|
|
43
|
+
return true;
|
|
44
|
+
}
|
|
45
|
+
function IndexMenuRequestFromJSON(json) {
|
|
46
|
+
return IndexMenuRequestFromJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
function IndexMenuRequestFromJSONTyped(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
|
+
'perPage': json['per_page'] == null ? undefined : json['per_page'],
|
|
57
|
+
'page': json['page'] == null ? undefined : json['page'],
|
|
58
|
+
'siteId': json['site_id'] == null ? undefined : json['site_id'],
|
|
59
|
+
'position': json['position'] == null ? undefined : json['position'],
|
|
60
|
+
'relatedId': json['related_id'] == null ? undefined : json['related_id'],
|
|
61
|
+
'relatedType': json['related_type'] == null ? undefined : json['related_type'],
|
|
62
|
+
'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
function IndexMenuRequestToJSON(json) {
|
|
66
|
+
return IndexMenuRequestToJSONTyped(json, false);
|
|
67
|
+
}
|
|
68
|
+
function IndexMenuRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
69
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
70
|
+
if (value == null) {
|
|
71
|
+
return value;
|
|
72
|
+
}
|
|
73
|
+
return {
|
|
74
|
+
'search': value['search'],
|
|
75
|
+
'sortBy': value['sortBy'],
|
|
76
|
+
'sortDirection': value['sortDirection'],
|
|
77
|
+
'per_page': value['perPage'],
|
|
78
|
+
'page': value['page'],
|
|
79
|
+
'site_id': value['siteId'],
|
|
80
|
+
'position': value['position'],
|
|
81
|
+
'related_id': value['relatedId'],
|
|
82
|
+
'related_type': value['relatedType'],
|
|
83
|
+
'includes_relations': value['includesRelations'],
|
|
84
|
+
};
|
|
85
|
+
}
|
|
@@ -176,6 +176,7 @@ export declare const IndexProductChildRequestRelatedTypeEnum: {
|
|
|
176
176
|
readonly OverlayTemplate: "overlayTemplate";
|
|
177
177
|
readonly ProductType: "productType";
|
|
178
178
|
readonly ProductRange: "productRange";
|
|
179
|
+
readonly ProductRegistration: "productRegistration";
|
|
179
180
|
readonly Supplier: "supplier";
|
|
180
181
|
readonly Tag: "tag";
|
|
181
182
|
readonly Label: "label";
|
|
@@ -0,0 +1,131 @@
|
|
|
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 IndexProductRegistrationRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface IndexProductRegistrationRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof IndexProductRegistrationRequest
|
|
22
|
+
*/
|
|
23
|
+
search?: string | null;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {IndexProductRegistrationRequestSortByEnum}
|
|
27
|
+
* @memberof IndexProductRegistrationRequest
|
|
28
|
+
*/
|
|
29
|
+
sortBy?: IndexProductRegistrationRequestSortByEnum;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {IndexProductRegistrationRequestSortDirectionEnum}
|
|
33
|
+
* @memberof IndexProductRegistrationRequest
|
|
34
|
+
*/
|
|
35
|
+
sortDirection?: IndexProductRegistrationRequestSortDirectionEnum;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof IndexProductRegistrationRequest
|
|
40
|
+
*/
|
|
41
|
+
perPage?: number;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof IndexProductRegistrationRequest
|
|
46
|
+
*/
|
|
47
|
+
page?: number;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {Array<string>}
|
|
51
|
+
* @memberof IndexProductRegistrationRequest
|
|
52
|
+
*/
|
|
53
|
+
siteId?: Array<string>;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {Date}
|
|
57
|
+
* @memberof IndexProductRegistrationRequest
|
|
58
|
+
*/
|
|
59
|
+
beforePurchasedDate?: Date;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {Date}
|
|
63
|
+
* @memberof IndexProductRegistrationRequest
|
|
64
|
+
*/
|
|
65
|
+
afterPurchasedDate?: Date;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {Date}
|
|
69
|
+
* @memberof IndexProductRegistrationRequest
|
|
70
|
+
*/
|
|
71
|
+
beforeCreatedAt?: Date;
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @type {Date}
|
|
75
|
+
* @memberof IndexProductRegistrationRequest
|
|
76
|
+
*/
|
|
77
|
+
afterCreatedAt?: Date;
|
|
78
|
+
/**
|
|
79
|
+
*
|
|
80
|
+
* @type {number}
|
|
81
|
+
* @memberof IndexProductRegistrationRequest
|
|
82
|
+
*/
|
|
83
|
+
relatedId?: number;
|
|
84
|
+
/**
|
|
85
|
+
*
|
|
86
|
+
* @type {IndexProductRegistrationRequestRelatedTypeEnum}
|
|
87
|
+
* @memberof IndexProductRegistrationRequest
|
|
88
|
+
*/
|
|
89
|
+
relatedType?: IndexProductRegistrationRequestRelatedTypeEnum;
|
|
90
|
+
/**
|
|
91
|
+
*
|
|
92
|
+
* @type {boolean}
|
|
93
|
+
* @memberof IndexProductRegistrationRequest
|
|
94
|
+
*/
|
|
95
|
+
includesRelations?: boolean;
|
|
96
|
+
}
|
|
97
|
+
/**
|
|
98
|
+
* @export
|
|
99
|
+
*/
|
|
100
|
+
export declare const IndexProductRegistrationRequestSortByEnum: {
|
|
101
|
+
readonly Id: "id";
|
|
102
|
+
readonly CustomerName: "customer-name";
|
|
103
|
+
readonly CustomerEmail: "customer-email";
|
|
104
|
+
readonly CustomerPhone: "customer-phone";
|
|
105
|
+
readonly CreatedAt: "created_at";
|
|
106
|
+
readonly PurchasedDate: "purchased_date";
|
|
107
|
+
};
|
|
108
|
+
export type IndexProductRegistrationRequestSortByEnum = typeof IndexProductRegistrationRequestSortByEnum[keyof typeof IndexProductRegistrationRequestSortByEnum];
|
|
109
|
+
/**
|
|
110
|
+
* @export
|
|
111
|
+
*/
|
|
112
|
+
export declare const IndexProductRegistrationRequestSortDirectionEnum: {
|
|
113
|
+
readonly Asc: "asc";
|
|
114
|
+
readonly Desc: "desc";
|
|
115
|
+
};
|
|
116
|
+
export type IndexProductRegistrationRequestSortDirectionEnum = typeof IndexProductRegistrationRequestSortDirectionEnum[keyof typeof IndexProductRegistrationRequestSortDirectionEnum];
|
|
117
|
+
/**
|
|
118
|
+
* @export
|
|
119
|
+
*/
|
|
120
|
+
export declare const IndexProductRegistrationRequestRelatedTypeEnum: {
|
|
121
|
+
readonly ProductChild: "productChild";
|
|
122
|
+
};
|
|
123
|
+
export type IndexProductRegistrationRequestRelatedTypeEnum = typeof IndexProductRegistrationRequestRelatedTypeEnum[keyof typeof IndexProductRegistrationRequestRelatedTypeEnum];
|
|
124
|
+
/**
|
|
125
|
+
* Check if a given object implements the IndexProductRegistrationRequest interface.
|
|
126
|
+
*/
|
|
127
|
+
export declare function instanceOfIndexProductRegistrationRequest(value: object): value is IndexProductRegistrationRequest;
|
|
128
|
+
export declare function IndexProductRegistrationRequestFromJSON(json: any): IndexProductRegistrationRequest;
|
|
129
|
+
export declare function IndexProductRegistrationRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): IndexProductRegistrationRequest;
|
|
130
|
+
export declare function IndexProductRegistrationRequestToJSON(json: any): IndexProductRegistrationRequest;
|
|
131
|
+
export declare function IndexProductRegistrationRequestToJSONTyped(value?: IndexProductRegistrationRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,98 @@
|
|
|
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.IndexProductRegistrationRequestRelatedTypeEnum = exports.IndexProductRegistrationRequestSortDirectionEnum = exports.IndexProductRegistrationRequestSortByEnum = void 0;
|
|
17
|
+
exports.instanceOfIndexProductRegistrationRequest = instanceOfIndexProductRegistrationRequest;
|
|
18
|
+
exports.IndexProductRegistrationRequestFromJSON = IndexProductRegistrationRequestFromJSON;
|
|
19
|
+
exports.IndexProductRegistrationRequestFromJSONTyped = IndexProductRegistrationRequestFromJSONTyped;
|
|
20
|
+
exports.IndexProductRegistrationRequestToJSON = IndexProductRegistrationRequestToJSON;
|
|
21
|
+
exports.IndexProductRegistrationRequestToJSONTyped = IndexProductRegistrationRequestToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.IndexProductRegistrationRequestSortByEnum = {
|
|
26
|
+
Id: 'id',
|
|
27
|
+
CustomerName: 'customer-name',
|
|
28
|
+
CustomerEmail: 'customer-email',
|
|
29
|
+
CustomerPhone: 'customer-phone',
|
|
30
|
+
CreatedAt: 'created_at',
|
|
31
|
+
PurchasedDate: 'purchased_date'
|
|
32
|
+
};
|
|
33
|
+
/**
|
|
34
|
+
* @export
|
|
35
|
+
*/
|
|
36
|
+
exports.IndexProductRegistrationRequestSortDirectionEnum = {
|
|
37
|
+
Asc: 'asc',
|
|
38
|
+
Desc: 'desc'
|
|
39
|
+
};
|
|
40
|
+
/**
|
|
41
|
+
* @export
|
|
42
|
+
*/
|
|
43
|
+
exports.IndexProductRegistrationRequestRelatedTypeEnum = {
|
|
44
|
+
ProductChild: 'productChild'
|
|
45
|
+
};
|
|
46
|
+
/**
|
|
47
|
+
* Check if a given object implements the IndexProductRegistrationRequest interface.
|
|
48
|
+
*/
|
|
49
|
+
function instanceOfIndexProductRegistrationRequest(value) {
|
|
50
|
+
return true;
|
|
51
|
+
}
|
|
52
|
+
function IndexProductRegistrationRequestFromJSON(json) {
|
|
53
|
+
return IndexProductRegistrationRequestFromJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
function IndexProductRegistrationRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
56
|
+
if (json == null) {
|
|
57
|
+
return json;
|
|
58
|
+
}
|
|
59
|
+
return {
|
|
60
|
+
'search': json['search'] == null ? undefined : json['search'],
|
|
61
|
+
'sortBy': json['sortBy'] == null ? undefined : json['sortBy'],
|
|
62
|
+
'sortDirection': json['sortDirection'] == null ? undefined : json['sortDirection'],
|
|
63
|
+
'perPage': json['per_page'] == null ? undefined : json['per_page'],
|
|
64
|
+
'page': json['page'] == null ? undefined : json['page'],
|
|
65
|
+
'siteId': json['site_id'] == null ? undefined : json['site_id'],
|
|
66
|
+
'beforePurchasedDate': json['before_purchased_date'] == null ? undefined : (new Date(json['before_purchased_date'])),
|
|
67
|
+
'afterPurchasedDate': json['after_purchased_date'] == null ? undefined : (new Date(json['after_purchased_date'])),
|
|
68
|
+
'beforeCreatedAt': json['before_created_at'] == null ? undefined : (new Date(json['before_created_at'])),
|
|
69
|
+
'afterCreatedAt': json['after_created_at'] == null ? undefined : (new Date(json['after_created_at'])),
|
|
70
|
+
'relatedId': json['related_id'] == null ? undefined : json['related_id'],
|
|
71
|
+
'relatedType': json['related_type'] == null ? undefined : json['related_type'],
|
|
72
|
+
'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
function IndexProductRegistrationRequestToJSON(json) {
|
|
76
|
+
return IndexProductRegistrationRequestToJSONTyped(json, false);
|
|
77
|
+
}
|
|
78
|
+
function IndexProductRegistrationRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
79
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
80
|
+
if (value == null) {
|
|
81
|
+
return value;
|
|
82
|
+
}
|
|
83
|
+
return {
|
|
84
|
+
'search': value['search'],
|
|
85
|
+
'sortBy': value['sortBy'],
|
|
86
|
+
'sortDirection': value['sortDirection'],
|
|
87
|
+
'per_page': value['perPage'],
|
|
88
|
+
'page': value['page'],
|
|
89
|
+
'site_id': value['siteId'],
|
|
90
|
+
'before_purchased_date': value['beforePurchasedDate'] == null ? value['beforePurchasedDate'] : value['beforePurchasedDate'].toISOString(),
|
|
91
|
+
'after_purchased_date': value['afterPurchasedDate'] == null ? value['afterPurchasedDate'] : value['afterPurchasedDate'].toISOString(),
|
|
92
|
+
'before_created_at': value['beforeCreatedAt'] == null ? value['beforeCreatedAt'] : value['beforeCreatedAt'].toISOString(),
|
|
93
|
+
'after_created_at': value['afterCreatedAt'] == null ? value['afterCreatedAt'] : value['afterCreatedAt'].toISOString(),
|
|
94
|
+
'related_id': value['relatedId'],
|
|
95
|
+
'related_type': value['relatedType'],
|
|
96
|
+
'includes_relations': value['includesRelations'],
|
|
97
|
+
};
|
|
98
|
+
}
|