@digital8/lighting-illusions-ts-sdk 0.0.463 → 0.0.465
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 +64 -2
- package/README.md +42 -6
- package/dist/apis/AttributeApi.d.ts +3 -3
- package/dist/apis/AttributeApi.js +1 -1
- package/dist/apis/OverlayTemplateApi.d.ts +3 -3
- package/dist/apis/OverlayTemplateApi.js +1 -1
- package/dist/apis/ProductApi.d.ts +78 -17
- package/dist/apis/ProductApi.js +271 -24
- package/dist/apis/ProductTypeApi.d.ts +3 -3
- package/dist/apis/ProductTypeApi.js +1 -1
- package/dist/apis/SiteApi.d.ts +5 -5
- package/dist/apis/SiteApi.js +2 -2
- package/dist/apis/SupplierApi.d.ts +3 -3
- package/dist/apis/SupplierApi.js +1 -1
- package/dist/apis/TagApi.d.ts +7 -7
- package/dist/apis/TagApi.js +2 -2
- package/dist/models/AssetLiteResource.d.ts +6 -0
- package/dist/models/AssetLiteResource.js +4 -0
- package/dist/models/AttachAccessoriesProductChildRequest.d.ts +32 -0
- package/dist/models/AttachAccessoriesProductChildRequest.js +51 -0
- package/dist/models/AttributeListResource.d.ts +56 -0
- package/dist/models/AttributeListResource.js +67 -0
- package/dist/models/AttributeListResourceArrayResponse.d.ts +33 -0
- package/dist/models/AttributeListResourceArrayResponse.js +50 -0
- package/dist/models/ExternalApiLogListResource.d.ts +56 -0
- package/dist/models/ExternalApiLogListResource.js +63 -0
- package/dist/models/ExternalApiLogListResourceArrayResponse.d.ts +33 -0
- package/dist/models/ExternalApiLogListResourceArrayResponse.js +50 -0
- package/dist/models/ExternalApiLogResource.d.ts +1 -1
- package/dist/models/ExternalApiLogResource.js +3 -1
- package/dist/models/GetAllAttributeRequest.d.ts +15 -9
- package/dist/models/GetAllAttributeRequest.js +6 -4
- package/dist/models/GetAllOverlayTemplateRequest.d.ts +12 -6
- package/dist/models/GetAllOverlayTemplateRequest.js +4 -2
- package/dist/models/GetAllProductChildRequest.d.ts +6 -0
- package/dist/models/GetAllProductChildRequest.js +2 -0
- package/dist/models/GetAllProductRequest.d.ts +36 -0
- package/dist/models/GetAllProductRequest.js +12 -0
- package/dist/models/GetAllProductTypeRequest.d.ts +6 -0
- package/dist/models/GetAllProductTypeRequest.js +2 -0
- package/dist/models/GetAllSupplierRequest.d.ts +6 -0
- package/dist/models/GetAllSupplierRequest.js +2 -0
- package/dist/models/IndexAttributeRequest.d.ts +25 -0
- package/dist/models/IndexAttributeRequest.js +13 -1
- package/dist/models/IndexExternalApiLogRequest.d.ts +21 -3
- package/dist/models/IndexExternalApiLogRequest.js +10 -4
- package/dist/models/IndexOverlayTemplateRequest.d.ts +25 -0
- package/dist/models/IndexOverlayTemplateRequest.js +13 -1
- package/dist/models/IndexProductChildRequest.d.ts +6 -0
- package/dist/models/IndexProductChildRequest.js +2 -0
- package/dist/models/IndexProductRequest.d.ts +130 -0
- package/dist/models/IndexProductRequest.js +97 -0
- package/dist/models/IndexProductTypeRequest.d.ts +25 -0
- package/dist/models/IndexProductTypeRequest.js +13 -1
- package/dist/models/IndexSiteNotificationRequest.d.ts +18 -0
- package/dist/models/IndexSiteNotificationRequest.js +6 -0
- package/dist/models/IndexSiteRequest.d.ts +18 -0
- package/dist/models/IndexSiteRequest.js +6 -0
- package/dist/models/IndexSupplierRequest.d.ts +25 -0
- package/dist/models/IndexSupplierRequest.js +13 -1
- package/dist/models/IndexTagRequest.d.ts +25 -0
- package/dist/models/IndexTagRequest.js +13 -1
- package/dist/models/OverlayTemplateListResource.d.ts +45 -0
- package/dist/models/OverlayTemplateListResource.js +60 -0
- package/dist/models/OverlayTemplateListResourceArrayResponse.d.ts +33 -0
- package/dist/models/OverlayTemplateListResourceArrayResponse.js +50 -0
- package/dist/models/PaginatedAttributeListResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedAttributeListResourceResponse.js +57 -0
- package/dist/models/PaginatedExternalApiLogListResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedExternalApiLogListResourceResponse.js +57 -0
- package/dist/models/PaginatedOverlayTemplateListResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedOverlayTemplateListResourceResponse.js +57 -0
- package/dist/models/PaginatedProductChildListResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedProductChildListResourceResponse.js +57 -0
- package/dist/models/PaginatedProductListResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedProductListResourceResponse.js +57 -0
- package/dist/models/PaginatedProductTypeListResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedProductTypeListResourceResponse.js +57 -0
- package/dist/models/PaginatedSiteListResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedSiteListResourceResponse.js +57 -0
- package/dist/models/PaginatedSiteNotificationListResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedSiteNotificationListResourceResponse.js +57 -0
- package/dist/models/PaginatedSupplierListResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedSupplierListResourceResponse.js +57 -0
- package/dist/models/PaginatedTagListResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedTagListResourceResponse.js +57 -0
- package/dist/models/ProductChildListResource.d.ts +63 -0
- package/dist/models/ProductChildListResource.js +72 -0
- package/dist/models/ProductChildListResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductChildListResourceArrayResponse.js +50 -0
- package/dist/models/ProductListResource.d.ts +38 -0
- package/dist/models/ProductListResource.js +55 -0
- package/dist/models/ProductListResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductListResourceArrayResponse.js +50 -0
- package/dist/models/ProductTypeListResource.d.ts +38 -0
- package/dist/models/ProductTypeListResource.js +55 -0
- package/dist/models/ProductTypeListResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductTypeListResourceArrayResponse.js +50 -0
- package/dist/models/SiteListResource.d.ts +50 -0
- package/dist/models/SiteListResource.js +63 -0
- package/dist/models/SiteListResourceArrayResponse.d.ts +33 -0
- package/dist/models/SiteListResourceArrayResponse.js +50 -0
- package/dist/models/SiteNotificationListResource.d.ts +57 -0
- package/dist/models/SiteNotificationListResource.js +64 -0
- package/dist/models/SiteNotificationListResourceArrayResponse.d.ts +33 -0
- package/dist/models/SiteNotificationListResourceArrayResponse.js +50 -0
- package/dist/models/SupplierListResource.d.ts +57 -0
- package/dist/models/SupplierListResource.js +68 -0
- package/dist/models/SupplierListResourceArrayResponse.d.ts +33 -0
- package/dist/models/SupplierListResourceArrayResponse.js +50 -0
- package/dist/models/TagListResource.d.ts +57 -0
- package/dist/models/TagListResource.js +68 -0
- package/dist/models/TagListResourceArrayResponse.d.ts +33 -0
- package/dist/models/TagListResourceArrayResponse.js +50 -0
- package/dist/models/UnlinkAssetableOverlayTemplateRequest.d.ts +6 -0
- package/dist/models/UnlinkAssetableOverlayTemplateRequest.js +2 -0
- package/dist/models/index.d.ts +32 -1
- package/dist/models/index.js +32 -1
- package/docs/AssetLiteResource.md +2 -0
- package/docs/{LinkProductChildrenTagRequest.md → AttachAccessoriesProductChildRequest.md} +4 -4
- package/docs/AttributeApi.md +3 -3
- package/docs/AttributeListResource.md +42 -0
- package/docs/AttributeListResourceArrayResponse.md +34 -0
- package/docs/ExternalApiLogListResource.md +42 -0
- package/docs/ExternalApiLogListResourceArrayResponse.md +34 -0
- package/docs/GetAllAttributeRequest.md +6 -4
- package/docs/GetAllOverlayTemplateRequest.md +4 -2
- package/docs/GetAllProductChildRequest.md +2 -0
- package/docs/GetAllProductRequest.md +12 -0
- package/docs/GetAllProductTypeRequest.md +2 -0
- package/docs/GetAllSupplierRequest.md +2 -0
- package/docs/IndexAttributeRequest.md +6 -0
- package/docs/IndexExternalApiLogRequest.md +10 -4
- package/docs/IndexOverlayTemplateRequest.md +6 -0
- package/docs/IndexProductChildRequest.md +2 -0
- package/docs/IndexProductRequest.md +58 -0
- package/docs/IndexProductTypeRequest.md +6 -0
- package/docs/IndexSiteNotificationRequest.md +6 -0
- package/docs/IndexSiteRequest.md +6 -0
- package/docs/IndexSupplierRequest.md +6 -0
- package/docs/IndexTagRequest.md +6 -0
- package/docs/OverlayTemplateApi.md +3 -3
- package/docs/OverlayTemplateListResource.md +38 -0
- package/docs/OverlayTemplateListResourceArrayResponse.md +34 -0
- package/docs/PaginatedAttributeListResourceResponse.md +36 -0
- package/docs/PaginatedExternalApiLogListResourceResponse.md +36 -0
- package/docs/PaginatedOverlayTemplateListResourceResponse.md +36 -0
- package/docs/PaginatedProductChildListResourceResponse.md +36 -0
- package/docs/PaginatedProductListResourceResponse.md +36 -0
- package/docs/PaginatedProductTypeListResourceResponse.md +36 -0
- package/docs/PaginatedSiteListResourceResponse.md +36 -0
- package/docs/PaginatedSiteNotificationListResourceResponse.md +36 -0
- package/docs/PaginatedSupplierListResourceResponse.md +36 -0
- package/docs/PaginatedTagListResourceResponse.md +36 -0
- package/docs/ProductApi.md +377 -29
- package/docs/ProductChildListResource.md +44 -0
- package/docs/ProductChildListResourceArrayResponse.md +34 -0
- package/docs/ProductListResource.md +36 -0
- package/docs/ProductListResourceArrayResponse.md +34 -0
- package/docs/ProductTypeApi.md +3 -3
- package/docs/ProductTypeListResource.md +36 -0
- package/docs/ProductTypeListResourceArrayResponse.md +34 -0
- package/docs/SiteApi.md +6 -6
- package/docs/SiteListResource.md +40 -0
- package/docs/SiteListResourceArrayResponse.md +34 -0
- package/docs/SiteNotificationListResource.md +42 -0
- package/docs/SiteNotificationListResourceArrayResponse.md +34 -0
- package/docs/SupplierApi.md +3 -3
- package/docs/SupplierListResource.md +42 -0
- package/docs/SupplierListResourceArrayResponse.md +34 -0
- package/docs/TagApi.md +10 -10
- package/docs/TagListResource.md +42 -0
- package/docs/TagListResourceArrayResponse.md +34 -0
- package/docs/UnlinkAssetableOverlayTemplateRequest.md +2 -0
- package/package.json +1 -1
- package/src/apis/AttributeApi.ts +6 -6
- package/src/apis/OverlayTemplateApi.ts +6 -6
- package/src/apis/ProductApi.ts +282 -32
- package/src/apis/ProductTypeApi.ts +6 -6
- package/src/apis/SiteApi.ts +12 -12
- package/src/apis/SupplierApi.ts +6 -6
- package/src/apis/TagApi.ts +14 -14
- package/src/models/AssetLiteResource.ts +9 -0
- package/src/models/AttachAccessoriesProductChildRequest.ts +66 -0
- package/src/models/AttributeListResource.ts +102 -0
- package/src/models/AttributeListResourceArrayResponse.ts +73 -0
- package/src/models/ExternalApiLogListResource.ts +100 -0
- package/src/models/ExternalApiLogListResourceArrayResponse.ts +73 -0
- package/src/models/ExternalApiLogResource.ts +3 -2
- package/src/models/GetAllAttributeRequest.ts +21 -13
- package/src/models/GetAllOverlayTemplateRequest.ts +16 -8
- package/src/models/GetAllProductChildRequest.ts +8 -0
- package/src/models/GetAllProductRequest.ts +48 -0
- package/src/models/GetAllProductTypeRequest.ts +8 -0
- package/src/models/GetAllSupplierRequest.ts +8 -0
- package/src/models/IndexAttributeRequest.ts +32 -0
- package/src/models/IndexExternalApiLogRequest.ts +31 -7
- package/src/models/IndexOverlayTemplateRequest.ts +32 -0
- package/src/models/IndexProductChildRequest.ts +8 -0
- package/src/models/IndexProductRequest.ts +192 -0
- package/src/models/IndexProductTypeRequest.ts +32 -0
- package/src/models/IndexSiteNotificationRequest.ts +24 -0
- package/src/models/IndexSiteRequest.ts +24 -0
- package/src/models/IndexSupplierRequest.ts +32 -0
- package/src/models/IndexTagRequest.ts +32 -0
- package/src/models/OverlayTemplateListResource.ts +92 -0
- package/src/models/OverlayTemplateListResourceArrayResponse.ts +73 -0
- package/src/models/PaginatedAttributeListResourceResponse.ts +90 -0
- package/src/models/PaginatedExternalApiLogListResourceResponse.ts +90 -0
- package/src/models/PaginatedOverlayTemplateListResourceResponse.ts +90 -0
- package/src/models/PaginatedProductChildListResourceResponse.ts +90 -0
- package/src/models/PaginatedProductListResourceResponse.ts +90 -0
- package/src/models/PaginatedProductTypeListResourceResponse.ts +90 -0
- package/src/models/PaginatedSiteListResourceResponse.ts +90 -0
- package/src/models/PaginatedSiteNotificationListResourceResponse.ts +90 -0
- package/src/models/PaginatedSupplierListResourceResponse.ts +90 -0
- package/src/models/PaginatedTagListResourceResponse.ts +90 -0
- package/src/models/ProductChildListResource.ts +119 -0
- package/src/models/ProductChildListResourceArrayResponse.ts +73 -0
- package/src/models/ProductListResource.ts +75 -0
- package/src/models/ProductListResourceArrayResponse.ts +73 -0
- package/src/models/ProductTypeListResource.ts +75 -0
- package/src/models/ProductTypeListResourceArrayResponse.ts +73 -0
- package/src/models/SiteListResource.ts +93 -0
- package/src/models/SiteListResourceArrayResponse.ts +73 -0
- package/src/models/SiteNotificationListResource.ts +108 -0
- package/src/models/SiteNotificationListResourceArrayResponse.ts +73 -0
- package/src/models/SupplierListResource.ts +110 -0
- package/src/models/SupplierListResourceArrayResponse.ts +73 -0
- package/src/models/TagListResource.ts +110 -0
- package/src/models/TagListResourceArrayResponse.ts +73 -0
- package/src/models/UnlinkAssetableOverlayTemplateRequest.ts +8 -0
- package/src/models/index.ts +32 -1
- package/dist/models/LinkProductChildrenTagRequest.d.ts +0 -32
- package/dist/models/LinkProductChildrenTagRequest.js +0 -51
- package/src/models/LinkProductChildrenTagRequest.ts +0 -66
|
@@ -45,6 +45,12 @@ export interface GetAllProductChildRequest {
|
|
|
45
45
|
* @memberof GetAllProductChildRequest
|
|
46
46
|
*/
|
|
47
47
|
relatedType?: GetAllProductChildRequestRelatedTypeEnum;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {boolean}
|
|
51
|
+
* @memberof GetAllProductChildRequest
|
|
52
|
+
*/
|
|
53
|
+
includesRelations?: boolean;
|
|
48
54
|
/**
|
|
49
55
|
*
|
|
50
56
|
* @type {Array<string>}
|
|
@@ -71,6 +71,7 @@ function GetAllProductChildRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
71
71
|
'sortDirection': json['sortDirection'] == null ? undefined : json['sortDirection'],
|
|
72
72
|
'relatedId': json['related_id'] == null ? undefined : json['related_id'],
|
|
73
73
|
'relatedType': json['related_type'] == null ? undefined : json['related_type'],
|
|
74
|
+
'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
|
|
74
75
|
'parentProductTypeId': json['parent-product_type_id'] == null ? undefined : json['parent-product_type_id'],
|
|
75
76
|
'parentSupplierId': json['parent-supplier_id'] == null ? undefined : json['parent-supplier_id'],
|
|
76
77
|
'siteDetailsSiteId': json['siteDetails-site_id'] == null ? undefined : json['siteDetails-site_id'],
|
|
@@ -92,6 +93,7 @@ function GetAllProductChildRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
|
92
93
|
'sortDirection': value['sortDirection'],
|
|
93
94
|
'related_id': value['relatedId'],
|
|
94
95
|
'related_type': value['relatedType'],
|
|
96
|
+
'includes_relations': value['includesRelations'],
|
|
95
97
|
'parent-product_type_id': value['parentProductTypeId'],
|
|
96
98
|
'parent-supplier_id': value['parentSupplierId'],
|
|
97
99
|
'siteDetails-site_id': value['siteDetailsSiteId'],
|
|
@@ -45,6 +45,42 @@ export interface GetAllProductRequest {
|
|
|
45
45
|
* @memberof GetAllProductRequest
|
|
46
46
|
*/
|
|
47
47
|
relatedType?: GetAllProductRequestRelatedTypeEnum;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {boolean}
|
|
51
|
+
* @memberof GetAllProductRequest
|
|
52
|
+
*/
|
|
53
|
+
includesRelations?: boolean;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {Array<string>}
|
|
57
|
+
* @memberof GetAllProductRequest
|
|
58
|
+
*/
|
|
59
|
+
productTypeId?: Array<string>;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {Array<string>}
|
|
63
|
+
* @memberof GetAllProductRequest
|
|
64
|
+
*/
|
|
65
|
+
supplierId?: Array<string>;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {Array<string>}
|
|
69
|
+
* @memberof GetAllProductRequest
|
|
70
|
+
*/
|
|
71
|
+
isDisabled?: Array<string>;
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @type {Array<string>}
|
|
75
|
+
* @memberof GetAllProductRequest
|
|
76
|
+
*/
|
|
77
|
+
isAccessory?: Array<string>;
|
|
78
|
+
/**
|
|
79
|
+
*
|
|
80
|
+
* @type {Array<string>}
|
|
81
|
+
* @memberof GetAllProductRequest
|
|
82
|
+
*/
|
|
83
|
+
categoriesId?: Array<string>;
|
|
48
84
|
}
|
|
49
85
|
/**
|
|
50
86
|
* @export
|
|
@@ -62,6 +62,12 @@ function GetAllProductRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
62
62
|
'sortDirection': json['sortDirection'] == null ? undefined : json['sortDirection'],
|
|
63
63
|
'relatedId': json['related_id'] == null ? undefined : json['related_id'],
|
|
64
64
|
'relatedType': json['related_type'] == null ? undefined : json['related_type'],
|
|
65
|
+
'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
|
|
66
|
+
'productTypeId': json['product_type_id'] == null ? undefined : json['product_type_id'],
|
|
67
|
+
'supplierId': json['supplier_id'] == null ? undefined : json['supplier_id'],
|
|
68
|
+
'isDisabled': json['is_disabled'] == null ? undefined : json['is_disabled'],
|
|
69
|
+
'isAccessory': json['is_accessory'] == null ? undefined : json['is_accessory'],
|
|
70
|
+
'categoriesId': json['categories-id'] == null ? undefined : json['categories-id'],
|
|
65
71
|
};
|
|
66
72
|
}
|
|
67
73
|
function GetAllProductRequestToJSON(json) {
|
|
@@ -78,5 +84,11 @@ function GetAllProductRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
|
78
84
|
'sortDirection': value['sortDirection'],
|
|
79
85
|
'related_id': value['relatedId'],
|
|
80
86
|
'related_type': value['relatedType'],
|
|
87
|
+
'includes_relations': value['includesRelations'],
|
|
88
|
+
'product_type_id': value['productTypeId'],
|
|
89
|
+
'supplier_id': value['supplierId'],
|
|
90
|
+
'is_disabled': value['isDisabled'],
|
|
91
|
+
'is_accessory': value['isAccessory'],
|
|
92
|
+
'categories-id': value['categoriesId'],
|
|
81
93
|
};
|
|
82
94
|
}
|
|
@@ -45,6 +45,12 @@ export interface GetAllProductTypeRequest {
|
|
|
45
45
|
* @memberof GetAllProductTypeRequest
|
|
46
46
|
*/
|
|
47
47
|
relatedType?: GetAllProductTypeRequestRelatedTypeEnum;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {boolean}
|
|
51
|
+
* @memberof GetAllProductTypeRequest
|
|
52
|
+
*/
|
|
53
|
+
includesRelations?: boolean;
|
|
48
54
|
}
|
|
49
55
|
/**
|
|
50
56
|
* @export
|
|
@@ -61,6 +61,7 @@ function GetAllProductTypeRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
61
61
|
'sortDirection': json['sortDirection'] == null ? undefined : json['sortDirection'],
|
|
62
62
|
'relatedId': json['related_id'] == null ? undefined : json['related_id'],
|
|
63
63
|
'relatedType': json['related_type'] == null ? undefined : json['related_type'],
|
|
64
|
+
'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
|
|
64
65
|
};
|
|
65
66
|
}
|
|
66
67
|
function GetAllProductTypeRequestToJSON(json) {
|
|
@@ -77,5 +78,6 @@ function GetAllProductTypeRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
|
77
78
|
'sortDirection': value['sortDirection'],
|
|
78
79
|
'related_id': value['relatedId'],
|
|
79
80
|
'related_type': value['relatedType'],
|
|
81
|
+
'includes_relations': value['includesRelations'],
|
|
80
82
|
};
|
|
81
83
|
}
|
|
@@ -45,6 +45,12 @@ export interface GetAllSupplierRequest {
|
|
|
45
45
|
* @memberof GetAllSupplierRequest
|
|
46
46
|
*/
|
|
47
47
|
relatedType?: GetAllSupplierRequestRelatedTypeEnum;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {boolean}
|
|
51
|
+
* @memberof GetAllSupplierRequest
|
|
52
|
+
*/
|
|
53
|
+
includesRelations?: boolean;
|
|
48
54
|
}
|
|
49
55
|
/**
|
|
50
56
|
* @export
|
|
@@ -62,6 +62,7 @@ function GetAllSupplierRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
62
62
|
'sortDirection': json['sortDirection'] == null ? undefined : json['sortDirection'],
|
|
63
63
|
'relatedId': json['related_id'] == null ? undefined : json['related_id'],
|
|
64
64
|
'relatedType': json['related_type'] == null ? undefined : json['related_type'],
|
|
65
|
+
'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
|
|
65
66
|
};
|
|
66
67
|
}
|
|
67
68
|
function GetAllSupplierRequestToJSON(json) {
|
|
@@ -78,5 +79,6 @@ function GetAllSupplierRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
|
78
79
|
'sortDirection': value['sortDirection'],
|
|
79
80
|
'related_id': value['relatedId'],
|
|
80
81
|
'related_type': value['relatedType'],
|
|
82
|
+
'includes_relations': value['includesRelations'],
|
|
81
83
|
};
|
|
82
84
|
}
|
|
@@ -63,6 +63,24 @@ export interface IndexAttributeRequest {
|
|
|
63
63
|
* @memberof IndexAttributeRequest
|
|
64
64
|
*/
|
|
65
65
|
isExpandedByDefault?: Array<string>;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {number}
|
|
69
|
+
* @memberof IndexAttributeRequest
|
|
70
|
+
*/
|
|
71
|
+
relatedId?: number;
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof IndexAttributeRequest
|
|
76
|
+
*/
|
|
77
|
+
relatedType?: IndexAttributeRequestRelatedTypeEnum;
|
|
78
|
+
/**
|
|
79
|
+
*
|
|
80
|
+
* @type {boolean}
|
|
81
|
+
* @memberof IndexAttributeRequest
|
|
82
|
+
*/
|
|
83
|
+
includesRelations?: boolean;
|
|
66
84
|
}
|
|
67
85
|
/**
|
|
68
86
|
* @export
|
|
@@ -82,6 +100,13 @@ export declare const IndexAttributeRequestSortDirectionEnum: {
|
|
|
82
100
|
readonly Desc: "desc";
|
|
83
101
|
};
|
|
84
102
|
export type IndexAttributeRequestSortDirectionEnum = typeof IndexAttributeRequestSortDirectionEnum[keyof typeof IndexAttributeRequestSortDirectionEnum];
|
|
103
|
+
/**
|
|
104
|
+
* @export
|
|
105
|
+
*/
|
|
106
|
+
export declare const IndexAttributeRequestRelatedTypeEnum: {
|
|
107
|
+
readonly ProductType: "productType";
|
|
108
|
+
};
|
|
109
|
+
export type IndexAttributeRequestRelatedTypeEnum = typeof IndexAttributeRequestRelatedTypeEnum[keyof typeof IndexAttributeRequestRelatedTypeEnum];
|
|
85
110
|
/**
|
|
86
111
|
* Check if a given object implements the IndexAttributeRequest interface.
|
|
87
112
|
*/
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.IndexAttributeRequestSortDirectionEnum = exports.IndexAttributeRequestSortByEnum = void 0;
|
|
16
|
+
exports.IndexAttributeRequestRelatedTypeEnum = exports.IndexAttributeRequestSortDirectionEnum = exports.IndexAttributeRequestSortByEnum = void 0;
|
|
17
17
|
exports.instanceOfIndexAttributeRequest = instanceOfIndexAttributeRequest;
|
|
18
18
|
exports.IndexAttributeRequestFromJSON = IndexAttributeRequestFromJSON;
|
|
19
19
|
exports.IndexAttributeRequestFromJSONTyped = IndexAttributeRequestFromJSONTyped;
|
|
@@ -35,6 +35,12 @@ exports.IndexAttributeRequestSortDirectionEnum = {
|
|
|
35
35
|
Asc: 'asc',
|
|
36
36
|
Desc: 'desc'
|
|
37
37
|
};
|
|
38
|
+
/**
|
|
39
|
+
* @export
|
|
40
|
+
*/
|
|
41
|
+
exports.IndexAttributeRequestRelatedTypeEnum = {
|
|
42
|
+
ProductType: 'productType'
|
|
43
|
+
};
|
|
38
44
|
/**
|
|
39
45
|
* Check if a given object implements the IndexAttributeRequest interface.
|
|
40
46
|
*/
|
|
@@ -57,6 +63,9 @@ function IndexAttributeRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
57
63
|
'type': json['type'] == null ? undefined : json['type'],
|
|
58
64
|
'isFilterable': json['is_filterable'] == null ? undefined : json['is_filterable'],
|
|
59
65
|
'isExpandedByDefault': json['is_expanded_by_default'] == null ? undefined : json['is_expanded_by_default'],
|
|
66
|
+
'relatedId': json['related_id'] == null ? undefined : json['related_id'],
|
|
67
|
+
'relatedType': json['related_type'] == null ? undefined : json['related_type'],
|
|
68
|
+
'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
|
|
60
69
|
};
|
|
61
70
|
}
|
|
62
71
|
function IndexAttributeRequestToJSON(json) {
|
|
@@ -76,5 +85,8 @@ function IndexAttributeRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
|
76
85
|
'type': value['type'],
|
|
77
86
|
'is_filterable': value['isFilterable'],
|
|
78
87
|
'is_expanded_by_default': value['isExpandedByDefault'],
|
|
88
|
+
'related_id': value['relatedId'],
|
|
89
|
+
'related_type': value['relatedType'],
|
|
90
|
+
'includes_relations': value['includesRelations'],
|
|
79
91
|
};
|
|
80
92
|
}
|
|
@@ -33,6 +33,18 @@ export interface IndexExternalApiLogRequest {
|
|
|
33
33
|
* @memberof IndexExternalApiLogRequest
|
|
34
34
|
*/
|
|
35
35
|
sortDirection?: IndexExternalApiLogRequestSortDirectionEnum;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof IndexExternalApiLogRequest
|
|
40
|
+
*/
|
|
41
|
+
perPage?: number;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof IndexExternalApiLogRequest
|
|
46
|
+
*/
|
|
47
|
+
page?: number;
|
|
36
48
|
/**
|
|
37
49
|
*
|
|
38
50
|
* @type {Array<string>}
|
|
@@ -74,13 +86,19 @@ export interface IndexExternalApiLogRequest {
|
|
|
74
86
|
* @type {number}
|
|
75
87
|
* @memberof IndexExternalApiLogRequest
|
|
76
88
|
*/
|
|
77
|
-
|
|
89
|
+
relatedId?: number;
|
|
78
90
|
/**
|
|
79
91
|
*
|
|
80
|
-
* @type {
|
|
92
|
+
* @type {string}
|
|
81
93
|
* @memberof IndexExternalApiLogRequest
|
|
82
94
|
*/
|
|
83
|
-
|
|
95
|
+
relatedType?: string;
|
|
96
|
+
/**
|
|
97
|
+
*
|
|
98
|
+
* @type {boolean}
|
|
99
|
+
* @memberof IndexExternalApiLogRequest
|
|
100
|
+
*/
|
|
101
|
+
includesRelations?: boolean;
|
|
84
102
|
}
|
|
85
103
|
/**
|
|
86
104
|
* @export
|
|
@@ -55,14 +55,17 @@ function IndexExternalApiLogRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
55
55
|
'search': json['search'] == null ? undefined : json['search'],
|
|
56
56
|
'sortBy': json['sortBy'] == null ? undefined : json['sortBy'],
|
|
57
57
|
'sortDirection': json['sortDirection'] == null ? undefined : json['sortDirection'],
|
|
58
|
+
'perPage': json['per_page'] == null ? undefined : json['per_page'],
|
|
59
|
+
'page': json['page'] == null ? undefined : json['page'],
|
|
58
60
|
'provider': json['provider'] == null ? undefined : json['provider'],
|
|
59
61
|
'responseCode': json['response_code'] == null ? undefined : json['response_code'],
|
|
60
62
|
'httpMethod': json['http_method'] == null ? undefined : json['http_method'],
|
|
61
63
|
'externalApiLoggableType': json['external_api_loggable_type'] == null ? undefined : json['external_api_loggable_type'],
|
|
62
64
|
'externalApiLoggableId': json['external_api_loggable_id'] == null ? undefined : json['external_api_loggable_id'],
|
|
63
65
|
'siteId': json['site_id'] == null ? undefined : json['site_id'],
|
|
64
|
-
'
|
|
65
|
-
'
|
|
66
|
+
'relatedId': json['related_id'] == null ? undefined : json['related_id'],
|
|
67
|
+
'relatedType': json['related_type'] == null ? undefined : json['related_type'],
|
|
68
|
+
'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
|
|
66
69
|
};
|
|
67
70
|
}
|
|
68
71
|
function IndexExternalApiLogRequestToJSON(json) {
|
|
@@ -77,13 +80,16 @@ function IndexExternalApiLogRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
|
77
80
|
'search': value['search'],
|
|
78
81
|
'sortBy': value['sortBy'],
|
|
79
82
|
'sortDirection': value['sortDirection'],
|
|
83
|
+
'per_page': value['perPage'],
|
|
84
|
+
'page': value['page'],
|
|
80
85
|
'provider': value['provider'],
|
|
81
86
|
'response_code': value['responseCode'],
|
|
82
87
|
'http_method': value['httpMethod'],
|
|
83
88
|
'external_api_loggable_type': value['externalApiLoggableType'],
|
|
84
89
|
'external_api_loggable_id': value['externalApiLoggableId'],
|
|
85
90
|
'site_id': value['siteId'],
|
|
86
|
-
'
|
|
87
|
-
'
|
|
91
|
+
'related_id': value['relatedId'],
|
|
92
|
+
'related_type': value['relatedType'],
|
|
93
|
+
'includes_relations': value['includesRelations'],
|
|
88
94
|
};
|
|
89
95
|
}
|
|
@@ -51,6 +51,24 @@ export interface IndexOverlayTemplateRequest {
|
|
|
51
51
|
* @memberof IndexOverlayTemplateRequest
|
|
52
52
|
*/
|
|
53
53
|
sitesId?: Array<string>;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {number}
|
|
57
|
+
* @memberof IndexOverlayTemplateRequest
|
|
58
|
+
*/
|
|
59
|
+
relatedId?: number;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof IndexOverlayTemplateRequest
|
|
64
|
+
*/
|
|
65
|
+
relatedType?: IndexOverlayTemplateRequestRelatedTypeEnum;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {boolean}
|
|
69
|
+
* @memberof IndexOverlayTemplateRequest
|
|
70
|
+
*/
|
|
71
|
+
includesRelations?: boolean;
|
|
54
72
|
}
|
|
55
73
|
/**
|
|
56
74
|
* @export
|
|
@@ -70,6 +88,13 @@ export declare const IndexOverlayTemplateRequestSortDirectionEnum: {
|
|
|
70
88
|
readonly Desc: "desc";
|
|
71
89
|
};
|
|
72
90
|
export type IndexOverlayTemplateRequestSortDirectionEnum = typeof IndexOverlayTemplateRequestSortDirectionEnum[keyof typeof IndexOverlayTemplateRequestSortDirectionEnum];
|
|
91
|
+
/**
|
|
92
|
+
* @export
|
|
93
|
+
*/
|
|
94
|
+
export declare const IndexOverlayTemplateRequestRelatedTypeEnum: {
|
|
95
|
+
readonly ProductChild: "productChild";
|
|
96
|
+
};
|
|
97
|
+
export type IndexOverlayTemplateRequestRelatedTypeEnum = typeof IndexOverlayTemplateRequestRelatedTypeEnum[keyof typeof IndexOverlayTemplateRequestRelatedTypeEnum];
|
|
73
98
|
/**
|
|
74
99
|
* Check if a given object implements the IndexOverlayTemplateRequest interface.
|
|
75
100
|
*/
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.IndexOverlayTemplateRequestSortDirectionEnum = exports.IndexOverlayTemplateRequestSortByEnum = void 0;
|
|
16
|
+
exports.IndexOverlayTemplateRequestRelatedTypeEnum = exports.IndexOverlayTemplateRequestSortDirectionEnum = exports.IndexOverlayTemplateRequestSortByEnum = void 0;
|
|
17
17
|
exports.instanceOfIndexOverlayTemplateRequest = instanceOfIndexOverlayTemplateRequest;
|
|
18
18
|
exports.IndexOverlayTemplateRequestFromJSON = IndexOverlayTemplateRequestFromJSON;
|
|
19
19
|
exports.IndexOverlayTemplateRequestFromJSONTyped = IndexOverlayTemplateRequestFromJSONTyped;
|
|
@@ -35,6 +35,12 @@ exports.IndexOverlayTemplateRequestSortDirectionEnum = {
|
|
|
35
35
|
Asc: 'asc',
|
|
36
36
|
Desc: 'desc'
|
|
37
37
|
};
|
|
38
|
+
/**
|
|
39
|
+
* @export
|
|
40
|
+
*/
|
|
41
|
+
exports.IndexOverlayTemplateRequestRelatedTypeEnum = {
|
|
42
|
+
ProductChild: 'productChild'
|
|
43
|
+
};
|
|
38
44
|
/**
|
|
39
45
|
* Check if a given object implements the IndexOverlayTemplateRequest interface.
|
|
40
46
|
*/
|
|
@@ -55,6 +61,9 @@ function IndexOverlayTemplateRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
55
61
|
'perPage': json['per_page'] == null ? undefined : json['per_page'],
|
|
56
62
|
'page': json['page'] == null ? undefined : json['page'],
|
|
57
63
|
'sitesId': json['sites-id'] == null ? undefined : json['sites-id'],
|
|
64
|
+
'relatedId': json['related_id'] == null ? undefined : json['related_id'],
|
|
65
|
+
'relatedType': json['related_type'] == null ? undefined : json['related_type'],
|
|
66
|
+
'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
|
|
58
67
|
};
|
|
59
68
|
}
|
|
60
69
|
function IndexOverlayTemplateRequestToJSON(json) {
|
|
@@ -72,5 +81,8 @@ function IndexOverlayTemplateRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
|
72
81
|
'per_page': value['perPage'],
|
|
73
82
|
'page': value['page'],
|
|
74
83
|
'sites-id': value['sitesId'],
|
|
84
|
+
'related_id': value['relatedId'],
|
|
85
|
+
'related_type': value['relatedType'],
|
|
86
|
+
'includes_relations': value['includesRelations'],
|
|
75
87
|
};
|
|
76
88
|
}
|
|
@@ -87,6 +87,12 @@ export interface IndexProductChildRequest {
|
|
|
87
87
|
* @memberof IndexProductChildRequest
|
|
88
88
|
*/
|
|
89
89
|
relatedType?: IndexProductChildRequestRelatedTypeEnum;
|
|
90
|
+
/**
|
|
91
|
+
*
|
|
92
|
+
* @type {boolean}
|
|
93
|
+
* @memberof IndexProductChildRequest
|
|
94
|
+
*/
|
|
95
|
+
includesRelations?: boolean;
|
|
90
96
|
}
|
|
91
97
|
/**
|
|
92
98
|
* @export
|
|
@@ -78,6 +78,7 @@ function IndexProductChildRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
78
78
|
'hasNetsuiteId': json['has_netsuite_id'] == null ? undefined : json['has_netsuite_id'],
|
|
79
79
|
'relatedId': json['related_id'] == null ? undefined : json['related_id'],
|
|
80
80
|
'relatedType': json['related_type'] == null ? undefined : json['related_type'],
|
|
81
|
+
'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
|
|
81
82
|
};
|
|
82
83
|
}
|
|
83
84
|
function IndexProductChildRequestToJSON(json) {
|
|
@@ -101,5 +102,6 @@ function IndexProductChildRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
|
101
102
|
'has_netsuite_id': value['hasNetsuiteId'],
|
|
102
103
|
'related_id': value['relatedId'],
|
|
103
104
|
'related_type': value['relatedType'],
|
|
105
|
+
'includes_relations': value['includesRelations'],
|
|
104
106
|
};
|
|
105
107
|
}
|
|
@@ -0,0 +1,130 @@
|
|
|
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 IndexProductRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface IndexProductRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof IndexProductRequest
|
|
22
|
+
*/
|
|
23
|
+
search?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof IndexProductRequest
|
|
28
|
+
*/
|
|
29
|
+
sortBy?: IndexProductRequestSortByEnum;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof IndexProductRequest
|
|
34
|
+
*/
|
|
35
|
+
sortDirection?: IndexProductRequestSortDirectionEnum;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof IndexProductRequest
|
|
40
|
+
*/
|
|
41
|
+
perPage?: number;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof IndexProductRequest
|
|
46
|
+
*/
|
|
47
|
+
page?: number;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {Array<string>}
|
|
51
|
+
* @memberof IndexProductRequest
|
|
52
|
+
*/
|
|
53
|
+
productTypeId?: Array<string>;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {Array<string>}
|
|
57
|
+
* @memberof IndexProductRequest
|
|
58
|
+
*/
|
|
59
|
+
supplierId?: Array<string>;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {Array<string>}
|
|
63
|
+
* @memberof IndexProductRequest
|
|
64
|
+
*/
|
|
65
|
+
isDisabled?: Array<string>;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {Array<string>}
|
|
69
|
+
* @memberof IndexProductRequest
|
|
70
|
+
*/
|
|
71
|
+
isAccessory?: Array<string>;
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @type {Array<string>}
|
|
75
|
+
* @memberof IndexProductRequest
|
|
76
|
+
*/
|
|
77
|
+
categoriesId?: Array<string>;
|
|
78
|
+
/**
|
|
79
|
+
*
|
|
80
|
+
* @type {number}
|
|
81
|
+
* @memberof IndexProductRequest
|
|
82
|
+
*/
|
|
83
|
+
relatedId?: number;
|
|
84
|
+
/**
|
|
85
|
+
*
|
|
86
|
+
* @type {string}
|
|
87
|
+
* @memberof IndexProductRequest
|
|
88
|
+
*/
|
|
89
|
+
relatedType?: IndexProductRequestRelatedTypeEnum;
|
|
90
|
+
/**
|
|
91
|
+
*
|
|
92
|
+
* @type {boolean}
|
|
93
|
+
* @memberof IndexProductRequest
|
|
94
|
+
*/
|
|
95
|
+
includesRelations?: boolean;
|
|
96
|
+
}
|
|
97
|
+
/**
|
|
98
|
+
* @export
|
|
99
|
+
*/
|
|
100
|
+
export declare const IndexProductRequestSortByEnum: {
|
|
101
|
+
readonly Id: "id";
|
|
102
|
+
readonly Name: "name";
|
|
103
|
+
readonly SupplierName: "supplier-name";
|
|
104
|
+
readonly CreatedAt: "created_at";
|
|
105
|
+
readonly UpdatedAt: "updated_at";
|
|
106
|
+
};
|
|
107
|
+
export type IndexProductRequestSortByEnum = typeof IndexProductRequestSortByEnum[keyof typeof IndexProductRequestSortByEnum];
|
|
108
|
+
/**
|
|
109
|
+
* @export
|
|
110
|
+
*/
|
|
111
|
+
export declare const IndexProductRequestSortDirectionEnum: {
|
|
112
|
+
readonly Asc: "asc";
|
|
113
|
+
readonly Desc: "desc";
|
|
114
|
+
};
|
|
115
|
+
export type IndexProductRequestSortDirectionEnum = typeof IndexProductRequestSortDirectionEnum[keyof typeof IndexProductRequestSortDirectionEnum];
|
|
116
|
+
/**
|
|
117
|
+
* @export
|
|
118
|
+
*/
|
|
119
|
+
export declare const IndexProductRequestRelatedTypeEnum: {
|
|
120
|
+
readonly ProductChild: "productChild";
|
|
121
|
+
};
|
|
122
|
+
export type IndexProductRequestRelatedTypeEnum = typeof IndexProductRequestRelatedTypeEnum[keyof typeof IndexProductRequestRelatedTypeEnum];
|
|
123
|
+
/**
|
|
124
|
+
* Check if a given object implements the IndexProductRequest interface.
|
|
125
|
+
*/
|
|
126
|
+
export declare function instanceOfIndexProductRequest(value: object): value is IndexProductRequest;
|
|
127
|
+
export declare function IndexProductRequestFromJSON(json: any): IndexProductRequest;
|
|
128
|
+
export declare function IndexProductRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): IndexProductRequest;
|
|
129
|
+
export declare function IndexProductRequestToJSON(json: any): IndexProductRequest;
|
|
130
|
+
export declare function IndexProductRequestToJSONTyped(value?: IndexProductRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,97 @@
|
|
|
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.IndexProductRequestRelatedTypeEnum = exports.IndexProductRequestSortDirectionEnum = exports.IndexProductRequestSortByEnum = void 0;
|
|
17
|
+
exports.instanceOfIndexProductRequest = instanceOfIndexProductRequest;
|
|
18
|
+
exports.IndexProductRequestFromJSON = IndexProductRequestFromJSON;
|
|
19
|
+
exports.IndexProductRequestFromJSONTyped = IndexProductRequestFromJSONTyped;
|
|
20
|
+
exports.IndexProductRequestToJSON = IndexProductRequestToJSON;
|
|
21
|
+
exports.IndexProductRequestToJSONTyped = IndexProductRequestToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.IndexProductRequestSortByEnum = {
|
|
26
|
+
Id: 'id',
|
|
27
|
+
Name: 'name',
|
|
28
|
+
SupplierName: 'supplier-name',
|
|
29
|
+
CreatedAt: 'created_at',
|
|
30
|
+
UpdatedAt: 'updated_at'
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* @export
|
|
34
|
+
*/
|
|
35
|
+
exports.IndexProductRequestSortDirectionEnum = {
|
|
36
|
+
Asc: 'asc',
|
|
37
|
+
Desc: 'desc'
|
|
38
|
+
};
|
|
39
|
+
/**
|
|
40
|
+
* @export
|
|
41
|
+
*/
|
|
42
|
+
exports.IndexProductRequestRelatedTypeEnum = {
|
|
43
|
+
ProductChild: 'productChild'
|
|
44
|
+
};
|
|
45
|
+
/**
|
|
46
|
+
* Check if a given object implements the IndexProductRequest interface.
|
|
47
|
+
*/
|
|
48
|
+
function instanceOfIndexProductRequest(value) {
|
|
49
|
+
return true;
|
|
50
|
+
}
|
|
51
|
+
function IndexProductRequestFromJSON(json) {
|
|
52
|
+
return IndexProductRequestFromJSONTyped(json, false);
|
|
53
|
+
}
|
|
54
|
+
function IndexProductRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
55
|
+
if (json == null) {
|
|
56
|
+
return json;
|
|
57
|
+
}
|
|
58
|
+
return {
|
|
59
|
+
'search': json['search'] == null ? undefined : json['search'],
|
|
60
|
+
'sortBy': json['sortBy'] == null ? undefined : json['sortBy'],
|
|
61
|
+
'sortDirection': json['sortDirection'] == null ? undefined : json['sortDirection'],
|
|
62
|
+
'perPage': json['per_page'] == null ? undefined : json['per_page'],
|
|
63
|
+
'page': json['page'] == null ? undefined : json['page'],
|
|
64
|
+
'productTypeId': json['product_type_id'] == null ? undefined : json['product_type_id'],
|
|
65
|
+
'supplierId': json['supplier_id'] == null ? undefined : json['supplier_id'],
|
|
66
|
+
'isDisabled': json['is_disabled'] == null ? undefined : json['is_disabled'],
|
|
67
|
+
'isAccessory': json['is_accessory'] == null ? undefined : json['is_accessory'],
|
|
68
|
+
'categoriesId': json['categories-id'] == null ? undefined : json['categories-id'],
|
|
69
|
+
'relatedId': json['related_id'] == null ? undefined : json['related_id'],
|
|
70
|
+
'relatedType': json['related_type'] == null ? undefined : json['related_type'],
|
|
71
|
+
'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
function IndexProductRequestToJSON(json) {
|
|
75
|
+
return IndexProductRequestToJSONTyped(json, false);
|
|
76
|
+
}
|
|
77
|
+
function IndexProductRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
78
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
79
|
+
if (value == null) {
|
|
80
|
+
return value;
|
|
81
|
+
}
|
|
82
|
+
return {
|
|
83
|
+
'search': value['search'],
|
|
84
|
+
'sortBy': value['sortBy'],
|
|
85
|
+
'sortDirection': value['sortDirection'],
|
|
86
|
+
'per_page': value['perPage'],
|
|
87
|
+
'page': value['page'],
|
|
88
|
+
'product_type_id': value['productTypeId'],
|
|
89
|
+
'supplier_id': value['supplierId'],
|
|
90
|
+
'is_disabled': value['isDisabled'],
|
|
91
|
+
'is_accessory': value['isAccessory'],
|
|
92
|
+
'categories-id': value['categoriesId'],
|
|
93
|
+
'related_id': value['relatedId'],
|
|
94
|
+
'related_type': value['relatedType'],
|
|
95
|
+
'includes_relations': value['includesRelations'],
|
|
96
|
+
};
|
|
97
|
+
}
|