@digital8/lighting-illusions-ts-sdk 0.0.473 → 0.0.474
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +72 -10
- package/README.md +56 -20
- package/dist/apis/AttributeApi.d.ts +33 -33
- package/dist/apis/AttributeApi.js +92 -92
- package/dist/apis/OverlayTemplateApi.d.ts +39 -39
- package/dist/apis/OverlayTemplateApi.js +110 -110
- package/dist/apis/ProductApi.d.ts +78 -17
- package/dist/apis/ProductApi.js +271 -24
- package/dist/apis/ProductTypeApi.d.ts +33 -33
- package/dist/apis/ProductTypeApi.js +89 -89
- 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 +27 -27
- package/dist/apis/TagApi.js +81 -81
- 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/AttachAssetsOverlayTemplateRequest.d.ts +32 -0
- package/dist/models/AttachAssetsOverlayTemplateRequest.js +51 -0
- package/dist/models/AttachAttributeProductTypeRequest.d.ts +48 -0
- package/dist/models/AttachAttributeProductTypeRequest.js +65 -0
- package/dist/models/AttachProductTypeAttributeRequest.d.ts +48 -0
- package/dist/models/AttachProductTypeAttributeRequest.js +65 -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/DetachAssetableOverlayTemplateRequest.d.ts +51 -0
- package/dist/models/DetachAssetableOverlayTemplateRequest.js +64 -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/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 +44 -0
- package/dist/models/ProductTypeListResource.js +59 -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 +87 -0
- package/dist/models/SiteNotificationListResource.js +84 -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/index.d.ts +36 -5
- package/dist/models/index.js +36 -5
- package/docs/AssetLiteResource.md +2 -0
- package/docs/{LinkProductChildrenTagRequest.md → AttachAccessoriesProductChildRequest.md} +4 -4
- package/docs/{LinkAssetsOverlayTemplateRequest.md → AttachAssetsOverlayTemplateRequest.md} +4 -4
- package/docs/{LinkAttributeProductTypeRequest.md → AttachAttributeProductTypeRequest.md} +4 -4
- package/docs/{LinkProductTypeAttributeRequest.md → AttachProductTypeAttributeRequest.md} +4 -4
- package/docs/AttributeApi.md +117 -117
- package/docs/AttributeListResource.md +42 -0
- package/docs/AttributeListResourceArrayResponse.md +34 -0
- package/docs/{UnlinkAssetableOverlayTemplateRequest.md → DetachAssetableOverlayTemplateRequest.md} +6 -4
- 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 +115 -115
- 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 +94 -94
- package/docs/ProductTypeListResource.md +38 -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 +52 -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 +84 -84
- package/docs/TagListResource.md +42 -0
- package/docs/TagListResourceArrayResponse.md +34 -0
- package/package.json +1 -1
- package/src/apis/AttributeApi.ts +108 -108
- package/src/apis/OverlayTemplateApi.ts +141 -141
- package/src/apis/ProductApi.ts +282 -32
- package/src/apis/ProductTypeApi.ts +104 -104
- package/src/apis/SiteApi.ts +12 -12
- package/src/apis/SupplierApi.ts +6 -6
- package/src/apis/TagApi.ts +94 -94
- package/src/models/AssetLiteResource.ts +9 -0
- package/src/models/AttachAccessoriesProductChildRequest.ts +66 -0
- package/src/models/AttachAssetsOverlayTemplateRequest.ts +66 -0
- package/src/models/AttachAttributeProductTypeRequest.ts +88 -0
- package/src/models/AttachProductTypeAttributeRequest.ts +88 -0
- package/src/models/AttributeListResource.ts +102 -0
- package/src/models/AttributeListResourceArrayResponse.ts +73 -0
- package/src/models/DetachAssetableOverlayTemplateRequest.ts +93 -0
- package/src/models/ExternalApiLogListResource.ts +100 -0
- package/src/models/ExternalApiLogListResourceArrayResponse.ts +73 -0
- 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 +84 -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 +153 -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/index.ts +36 -5
- package/dist/models/LinkAssetsOverlayTemplateRequest.d.ts +0 -32
- package/dist/models/LinkAssetsOverlayTemplateRequest.js +0 -51
- package/dist/models/LinkAttributeProductTypeRequest.d.ts +0 -48
- package/dist/models/LinkAttributeProductTypeRequest.js +0 -65
- package/dist/models/LinkProductChildrenTagRequest.d.ts +0 -32
- package/dist/models/LinkProductChildrenTagRequest.js +0 -51
- package/dist/models/LinkProductTypeAttributeRequest.d.ts +0 -48
- package/dist/models/LinkProductTypeAttributeRequest.js +0 -65
- package/dist/models/UnlinkAssetableOverlayTemplateRequest.d.ts +0 -45
- package/dist/models/UnlinkAssetableOverlayTemplateRequest.js +0 -62
- package/src/models/LinkAssetsOverlayTemplateRequest.ts +0 -66
- package/src/models/LinkAttributeProductTypeRequest.ts +0 -88
- package/src/models/LinkProductChildrenTagRequest.ts +0 -66
- package/src/models/LinkProductTypeAttributeRequest.ts +0 -88
- package/src/models/UnlinkAssetableOverlayTemplateRequest.ts +0 -85
|
@@ -49,6 +49,12 @@ export interface GetAllProductTypeRequest {
|
|
|
49
49
|
* @memberof GetAllProductTypeRequest
|
|
50
50
|
*/
|
|
51
51
|
relatedType?: GetAllProductTypeRequestRelatedTypeEnum;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {boolean}
|
|
55
|
+
* @memberof GetAllProductTypeRequest
|
|
56
|
+
*/
|
|
57
|
+
includesRelations?: boolean;
|
|
52
58
|
}
|
|
53
59
|
|
|
54
60
|
|
|
@@ -104,6 +110,7 @@ export function GetAllProductTypeRequestFromJSONTyped(json: any, ignoreDiscrimin
|
|
|
104
110
|
'sortDirection': json['sortDirection'] == null ? undefined : json['sortDirection'],
|
|
105
111
|
'relatedId': json['related_id'] == null ? undefined : json['related_id'],
|
|
106
112
|
'relatedType': json['related_type'] == null ? undefined : json['related_type'],
|
|
113
|
+
'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
|
|
107
114
|
};
|
|
108
115
|
}
|
|
109
116
|
|
|
@@ -123,6 +130,7 @@ export function GetAllProductTypeRequestToJSONTyped(value?: GetAllProductTypeReq
|
|
|
123
130
|
'sortDirection': value['sortDirection'],
|
|
124
131
|
'related_id': value['relatedId'],
|
|
125
132
|
'related_type': value['relatedType'],
|
|
133
|
+
'includes_relations': value['includesRelations'],
|
|
126
134
|
};
|
|
127
135
|
}
|
|
128
136
|
|
|
@@ -49,6 +49,12 @@ export interface GetAllSupplierRequest {
|
|
|
49
49
|
* @memberof GetAllSupplierRequest
|
|
50
50
|
*/
|
|
51
51
|
relatedType?: GetAllSupplierRequestRelatedTypeEnum;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {boolean}
|
|
55
|
+
* @memberof GetAllSupplierRequest
|
|
56
|
+
*/
|
|
57
|
+
includesRelations?: boolean;
|
|
52
58
|
}
|
|
53
59
|
|
|
54
60
|
|
|
@@ -105,6 +111,7 @@ export function GetAllSupplierRequestFromJSONTyped(json: any, ignoreDiscriminato
|
|
|
105
111
|
'sortDirection': json['sortDirection'] == null ? undefined : json['sortDirection'],
|
|
106
112
|
'relatedId': json['related_id'] == null ? undefined : json['related_id'],
|
|
107
113
|
'relatedType': json['related_type'] == null ? undefined : json['related_type'],
|
|
114
|
+
'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
|
|
108
115
|
};
|
|
109
116
|
}
|
|
110
117
|
|
|
@@ -124,6 +131,7 @@ export function GetAllSupplierRequestToJSONTyped(value?: GetAllSupplierRequest |
|
|
|
124
131
|
'sortDirection': value['sortDirection'],
|
|
125
132
|
'related_id': value['relatedId'],
|
|
126
133
|
'related_type': value['relatedType'],
|
|
134
|
+
'includes_relations': value['includesRelations'],
|
|
127
135
|
};
|
|
128
136
|
}
|
|
129
137
|
|
|
@@ -67,6 +67,24 @@ export interface IndexAttributeRequest {
|
|
|
67
67
|
* @memberof IndexAttributeRequest
|
|
68
68
|
*/
|
|
69
69
|
isExpandedByDefault?: Array<string>;
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
* @type {number}
|
|
73
|
+
* @memberof IndexAttributeRequest
|
|
74
|
+
*/
|
|
75
|
+
relatedId?: number;
|
|
76
|
+
/**
|
|
77
|
+
*
|
|
78
|
+
* @type {string}
|
|
79
|
+
* @memberof IndexAttributeRequest
|
|
80
|
+
*/
|
|
81
|
+
relatedType?: IndexAttributeRequestRelatedTypeEnum;
|
|
82
|
+
/**
|
|
83
|
+
*
|
|
84
|
+
* @type {boolean}
|
|
85
|
+
* @memberof IndexAttributeRequest
|
|
86
|
+
*/
|
|
87
|
+
includesRelations?: boolean;
|
|
70
88
|
}
|
|
71
89
|
|
|
72
90
|
|
|
@@ -90,6 +108,14 @@ export const IndexAttributeRequestSortDirectionEnum = {
|
|
|
90
108
|
} as const;
|
|
91
109
|
export type IndexAttributeRequestSortDirectionEnum = typeof IndexAttributeRequestSortDirectionEnum[keyof typeof IndexAttributeRequestSortDirectionEnum];
|
|
92
110
|
|
|
111
|
+
/**
|
|
112
|
+
* @export
|
|
113
|
+
*/
|
|
114
|
+
export const IndexAttributeRequestRelatedTypeEnum = {
|
|
115
|
+
ProductType: 'productType'
|
|
116
|
+
} as const;
|
|
117
|
+
export type IndexAttributeRequestRelatedTypeEnum = typeof IndexAttributeRequestRelatedTypeEnum[keyof typeof IndexAttributeRequestRelatedTypeEnum];
|
|
118
|
+
|
|
93
119
|
|
|
94
120
|
/**
|
|
95
121
|
* Check if a given object implements the IndexAttributeRequest interface.
|
|
@@ -116,6 +142,9 @@ export function IndexAttributeRequestFromJSONTyped(json: any, ignoreDiscriminato
|
|
|
116
142
|
'type': json['type'] == null ? undefined : json['type'],
|
|
117
143
|
'isFilterable': json['is_filterable'] == null ? undefined : json['is_filterable'],
|
|
118
144
|
'isExpandedByDefault': json['is_expanded_by_default'] == null ? undefined : json['is_expanded_by_default'],
|
|
145
|
+
'relatedId': json['related_id'] == null ? undefined : json['related_id'],
|
|
146
|
+
'relatedType': json['related_type'] == null ? undefined : json['related_type'],
|
|
147
|
+
'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
|
|
119
148
|
};
|
|
120
149
|
}
|
|
121
150
|
|
|
@@ -138,6 +167,9 @@ export function IndexAttributeRequestToJSONTyped(value?: IndexAttributeRequest |
|
|
|
138
167
|
'type': value['type'],
|
|
139
168
|
'is_filterable': value['isFilterable'],
|
|
140
169
|
'is_expanded_by_default': value['isExpandedByDefault'],
|
|
170
|
+
'related_id': value['relatedId'],
|
|
171
|
+
'related_type': value['relatedType'],
|
|
172
|
+
'includes_relations': value['includesRelations'],
|
|
141
173
|
};
|
|
142
174
|
}
|
|
143
175
|
|
|
@@ -37,6 +37,18 @@ export interface IndexExternalApiLogRequest {
|
|
|
37
37
|
* @memberof IndexExternalApiLogRequest
|
|
38
38
|
*/
|
|
39
39
|
sortDirection?: IndexExternalApiLogRequestSortDirectionEnum;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {number}
|
|
43
|
+
* @memberof IndexExternalApiLogRequest
|
|
44
|
+
*/
|
|
45
|
+
perPage?: number;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {number}
|
|
49
|
+
* @memberof IndexExternalApiLogRequest
|
|
50
|
+
*/
|
|
51
|
+
page?: number;
|
|
40
52
|
/**
|
|
41
53
|
*
|
|
42
54
|
* @type {Array<string>}
|
|
@@ -78,13 +90,19 @@ export interface IndexExternalApiLogRequest {
|
|
|
78
90
|
* @type {number}
|
|
79
91
|
* @memberof IndexExternalApiLogRequest
|
|
80
92
|
*/
|
|
81
|
-
|
|
93
|
+
relatedId?: number;
|
|
82
94
|
/**
|
|
83
95
|
*
|
|
84
|
-
* @type {
|
|
96
|
+
* @type {string}
|
|
85
97
|
* @memberof IndexExternalApiLogRequest
|
|
86
98
|
*/
|
|
87
|
-
|
|
99
|
+
relatedType?: string;
|
|
100
|
+
/**
|
|
101
|
+
*
|
|
102
|
+
* @type {boolean}
|
|
103
|
+
* @memberof IndexExternalApiLogRequest
|
|
104
|
+
*/
|
|
105
|
+
includesRelations?: boolean;
|
|
88
106
|
}
|
|
89
107
|
|
|
90
108
|
|
|
@@ -132,14 +150,17 @@ export function IndexExternalApiLogRequestFromJSONTyped(json: any, ignoreDiscrim
|
|
|
132
150
|
'search': json['search'] == null ? undefined : json['search'],
|
|
133
151
|
'sortBy': json['sortBy'] == null ? undefined : json['sortBy'],
|
|
134
152
|
'sortDirection': json['sortDirection'] == null ? undefined : json['sortDirection'],
|
|
153
|
+
'perPage': json['per_page'] == null ? undefined : json['per_page'],
|
|
154
|
+
'page': json['page'] == null ? undefined : json['page'],
|
|
135
155
|
'provider': json['provider'] == null ? undefined : json['provider'],
|
|
136
156
|
'responseCode': json['response_code'] == null ? undefined : json['response_code'],
|
|
137
157
|
'httpMethod': json['http_method'] == null ? undefined : json['http_method'],
|
|
138
158
|
'externalApiLoggableType': json['external_api_loggable_type'] == null ? undefined : json['external_api_loggable_type'],
|
|
139
159
|
'externalApiLoggableId': json['external_api_loggable_id'] == null ? undefined : json['external_api_loggable_id'],
|
|
140
160
|
'siteId': json['site_id'] == null ? undefined : json['site_id'],
|
|
141
|
-
'
|
|
142
|
-
'
|
|
161
|
+
'relatedId': json['related_id'] == null ? undefined : json['related_id'],
|
|
162
|
+
'relatedType': json['related_type'] == null ? undefined : json['related_type'],
|
|
163
|
+
'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
|
|
143
164
|
};
|
|
144
165
|
}
|
|
145
166
|
|
|
@@ -157,14 +178,17 @@ export function IndexExternalApiLogRequestToJSONTyped(value?: IndexExternalApiLo
|
|
|
157
178
|
'search': value['search'],
|
|
158
179
|
'sortBy': value['sortBy'],
|
|
159
180
|
'sortDirection': value['sortDirection'],
|
|
181
|
+
'per_page': value['perPage'],
|
|
182
|
+
'page': value['page'],
|
|
160
183
|
'provider': value['provider'],
|
|
161
184
|
'response_code': value['responseCode'],
|
|
162
185
|
'http_method': value['httpMethod'],
|
|
163
186
|
'external_api_loggable_type': value['externalApiLoggableType'],
|
|
164
187
|
'external_api_loggable_id': value['externalApiLoggableId'],
|
|
165
188
|
'site_id': value['siteId'],
|
|
166
|
-
'
|
|
167
|
-
'
|
|
189
|
+
'related_id': value['relatedId'],
|
|
190
|
+
'related_type': value['relatedType'],
|
|
191
|
+
'includes_relations': value['includesRelations'],
|
|
168
192
|
};
|
|
169
193
|
}
|
|
170
194
|
|
|
@@ -55,6 +55,24 @@ export interface IndexOverlayTemplateRequest {
|
|
|
55
55
|
* @memberof IndexOverlayTemplateRequest
|
|
56
56
|
*/
|
|
57
57
|
sitesId?: Array<string>;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {number}
|
|
61
|
+
* @memberof IndexOverlayTemplateRequest
|
|
62
|
+
*/
|
|
63
|
+
relatedId?: number;
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
* @type {string}
|
|
67
|
+
* @memberof IndexOverlayTemplateRequest
|
|
68
|
+
*/
|
|
69
|
+
relatedType?: IndexOverlayTemplateRequestRelatedTypeEnum;
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
* @type {boolean}
|
|
73
|
+
* @memberof IndexOverlayTemplateRequest
|
|
74
|
+
*/
|
|
75
|
+
includesRelations?: boolean;
|
|
58
76
|
}
|
|
59
77
|
|
|
60
78
|
|
|
@@ -78,6 +96,14 @@ export const IndexOverlayTemplateRequestSortDirectionEnum = {
|
|
|
78
96
|
} as const;
|
|
79
97
|
export type IndexOverlayTemplateRequestSortDirectionEnum = typeof IndexOverlayTemplateRequestSortDirectionEnum[keyof typeof IndexOverlayTemplateRequestSortDirectionEnum];
|
|
80
98
|
|
|
99
|
+
/**
|
|
100
|
+
* @export
|
|
101
|
+
*/
|
|
102
|
+
export const IndexOverlayTemplateRequestRelatedTypeEnum = {
|
|
103
|
+
ProductChild: 'productChild'
|
|
104
|
+
} as const;
|
|
105
|
+
export type IndexOverlayTemplateRequestRelatedTypeEnum = typeof IndexOverlayTemplateRequestRelatedTypeEnum[keyof typeof IndexOverlayTemplateRequestRelatedTypeEnum];
|
|
106
|
+
|
|
81
107
|
|
|
82
108
|
/**
|
|
83
109
|
* Check if a given object implements the IndexOverlayTemplateRequest interface.
|
|
@@ -102,6 +128,9 @@ export function IndexOverlayTemplateRequestFromJSONTyped(json: any, ignoreDiscri
|
|
|
102
128
|
'perPage': json['per_page'] == null ? undefined : json['per_page'],
|
|
103
129
|
'page': json['page'] == null ? undefined : json['page'],
|
|
104
130
|
'sitesId': json['sites-id'] == null ? undefined : json['sites-id'],
|
|
131
|
+
'relatedId': json['related_id'] == null ? undefined : json['related_id'],
|
|
132
|
+
'relatedType': json['related_type'] == null ? undefined : json['related_type'],
|
|
133
|
+
'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
|
|
105
134
|
};
|
|
106
135
|
}
|
|
107
136
|
|
|
@@ -122,6 +151,9 @@ export function IndexOverlayTemplateRequestToJSONTyped(value?: IndexOverlayTempl
|
|
|
122
151
|
'per_page': value['perPage'],
|
|
123
152
|
'page': value['page'],
|
|
124
153
|
'sites-id': value['sitesId'],
|
|
154
|
+
'related_id': value['relatedId'],
|
|
155
|
+
'related_type': value['relatedType'],
|
|
156
|
+
'includes_relations': value['includesRelations'],
|
|
125
157
|
};
|
|
126
158
|
}
|
|
127
159
|
|
|
@@ -91,6 +91,12 @@ export interface IndexProductChildRequest {
|
|
|
91
91
|
* @memberof IndexProductChildRequest
|
|
92
92
|
*/
|
|
93
93
|
relatedType?: IndexProductChildRequestRelatedTypeEnum;
|
|
94
|
+
/**
|
|
95
|
+
*
|
|
96
|
+
* @type {boolean}
|
|
97
|
+
* @memberof IndexProductChildRequest
|
|
98
|
+
*/
|
|
99
|
+
includesRelations?: boolean;
|
|
94
100
|
}
|
|
95
101
|
|
|
96
102
|
|
|
@@ -163,6 +169,7 @@ export function IndexProductChildRequestFromJSONTyped(json: any, ignoreDiscrimin
|
|
|
163
169
|
'hasNetsuiteId': json['has_netsuite_id'] == null ? undefined : json['has_netsuite_id'],
|
|
164
170
|
'relatedId': json['related_id'] == null ? undefined : json['related_id'],
|
|
165
171
|
'relatedType': json['related_type'] == null ? undefined : json['related_type'],
|
|
172
|
+
'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
|
|
166
173
|
};
|
|
167
174
|
}
|
|
168
175
|
|
|
@@ -189,6 +196,7 @@ export function IndexProductChildRequestToJSONTyped(value?: IndexProductChildReq
|
|
|
189
196
|
'has_netsuite_id': value['hasNetsuiteId'],
|
|
190
197
|
'related_id': value['relatedId'],
|
|
191
198
|
'related_type': value['relatedType'],
|
|
199
|
+
'includes_relations': value['includesRelations'],
|
|
192
200
|
};
|
|
193
201
|
}
|
|
194
202
|
|
|
@@ -0,0 +1,192 @@
|
|
|
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 { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface IndexProductRequest
|
|
20
|
+
*/
|
|
21
|
+
export interface IndexProductRequest {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof IndexProductRequest
|
|
26
|
+
*/
|
|
27
|
+
search?: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof IndexProductRequest
|
|
32
|
+
*/
|
|
33
|
+
sortBy?: IndexProductRequestSortByEnum;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof IndexProductRequest
|
|
38
|
+
*/
|
|
39
|
+
sortDirection?: IndexProductRequestSortDirectionEnum;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {number}
|
|
43
|
+
* @memberof IndexProductRequest
|
|
44
|
+
*/
|
|
45
|
+
perPage?: number;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {number}
|
|
49
|
+
* @memberof IndexProductRequest
|
|
50
|
+
*/
|
|
51
|
+
page?: number;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {Array<string>}
|
|
55
|
+
* @memberof IndexProductRequest
|
|
56
|
+
*/
|
|
57
|
+
productTypeId?: Array<string>;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {Array<string>}
|
|
61
|
+
* @memberof IndexProductRequest
|
|
62
|
+
*/
|
|
63
|
+
supplierId?: Array<string>;
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
* @type {Array<string>}
|
|
67
|
+
* @memberof IndexProductRequest
|
|
68
|
+
*/
|
|
69
|
+
isDisabled?: Array<string>;
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
* @type {Array<string>}
|
|
73
|
+
* @memberof IndexProductRequest
|
|
74
|
+
*/
|
|
75
|
+
isAccessory?: Array<string>;
|
|
76
|
+
/**
|
|
77
|
+
*
|
|
78
|
+
* @type {Array<string>}
|
|
79
|
+
* @memberof IndexProductRequest
|
|
80
|
+
*/
|
|
81
|
+
categoriesId?: Array<string>;
|
|
82
|
+
/**
|
|
83
|
+
*
|
|
84
|
+
* @type {number}
|
|
85
|
+
* @memberof IndexProductRequest
|
|
86
|
+
*/
|
|
87
|
+
relatedId?: number;
|
|
88
|
+
/**
|
|
89
|
+
*
|
|
90
|
+
* @type {string}
|
|
91
|
+
* @memberof IndexProductRequest
|
|
92
|
+
*/
|
|
93
|
+
relatedType?: IndexProductRequestRelatedTypeEnum;
|
|
94
|
+
/**
|
|
95
|
+
*
|
|
96
|
+
* @type {boolean}
|
|
97
|
+
* @memberof IndexProductRequest
|
|
98
|
+
*/
|
|
99
|
+
includesRelations?: boolean;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
/**
|
|
104
|
+
* @export
|
|
105
|
+
*/
|
|
106
|
+
export const IndexProductRequestSortByEnum = {
|
|
107
|
+
Id: 'id',
|
|
108
|
+
Name: 'name',
|
|
109
|
+
SupplierName: 'supplier-name',
|
|
110
|
+
CreatedAt: 'created_at',
|
|
111
|
+
UpdatedAt: 'updated_at'
|
|
112
|
+
} as const;
|
|
113
|
+
export type IndexProductRequestSortByEnum = typeof IndexProductRequestSortByEnum[keyof typeof IndexProductRequestSortByEnum];
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* @export
|
|
117
|
+
*/
|
|
118
|
+
export const IndexProductRequestSortDirectionEnum = {
|
|
119
|
+
Asc: 'asc',
|
|
120
|
+
Desc: 'desc'
|
|
121
|
+
} as const;
|
|
122
|
+
export type IndexProductRequestSortDirectionEnum = typeof IndexProductRequestSortDirectionEnum[keyof typeof IndexProductRequestSortDirectionEnum];
|
|
123
|
+
|
|
124
|
+
/**
|
|
125
|
+
* @export
|
|
126
|
+
*/
|
|
127
|
+
export const IndexProductRequestRelatedTypeEnum = {
|
|
128
|
+
ProductChild: 'productChild'
|
|
129
|
+
} as const;
|
|
130
|
+
export type IndexProductRequestRelatedTypeEnum = typeof IndexProductRequestRelatedTypeEnum[keyof typeof IndexProductRequestRelatedTypeEnum];
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
/**
|
|
134
|
+
* Check if a given object implements the IndexProductRequest interface.
|
|
135
|
+
*/
|
|
136
|
+
export function instanceOfIndexProductRequest(value: object): value is IndexProductRequest {
|
|
137
|
+
return true;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
export function IndexProductRequestFromJSON(json: any): IndexProductRequest {
|
|
141
|
+
return IndexProductRequestFromJSONTyped(json, false);
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
export function IndexProductRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): IndexProductRequest {
|
|
145
|
+
if (json == null) {
|
|
146
|
+
return json;
|
|
147
|
+
}
|
|
148
|
+
return {
|
|
149
|
+
|
|
150
|
+
'search': json['search'] == null ? undefined : json['search'],
|
|
151
|
+
'sortBy': json['sortBy'] == null ? undefined : json['sortBy'],
|
|
152
|
+
'sortDirection': json['sortDirection'] == null ? undefined : json['sortDirection'],
|
|
153
|
+
'perPage': json['per_page'] == null ? undefined : json['per_page'],
|
|
154
|
+
'page': json['page'] == null ? undefined : json['page'],
|
|
155
|
+
'productTypeId': json['product_type_id'] == null ? undefined : json['product_type_id'],
|
|
156
|
+
'supplierId': json['supplier_id'] == null ? undefined : json['supplier_id'],
|
|
157
|
+
'isDisabled': json['is_disabled'] == null ? undefined : json['is_disabled'],
|
|
158
|
+
'isAccessory': json['is_accessory'] == null ? undefined : json['is_accessory'],
|
|
159
|
+
'categoriesId': json['categories-id'] == null ? undefined : json['categories-id'],
|
|
160
|
+
'relatedId': json['related_id'] == null ? undefined : json['related_id'],
|
|
161
|
+
'relatedType': json['related_type'] == null ? undefined : json['related_type'],
|
|
162
|
+
'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
|
|
163
|
+
};
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
export function IndexProductRequestToJSON(json: any): IndexProductRequest {
|
|
167
|
+
return IndexProductRequestToJSONTyped(json, false);
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
export function IndexProductRequestToJSONTyped(value?: IndexProductRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
171
|
+
if (value == null) {
|
|
172
|
+
return value;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
return {
|
|
176
|
+
|
|
177
|
+
'search': value['search'],
|
|
178
|
+
'sortBy': value['sortBy'],
|
|
179
|
+
'sortDirection': value['sortDirection'],
|
|
180
|
+
'per_page': value['perPage'],
|
|
181
|
+
'page': value['page'],
|
|
182
|
+
'product_type_id': value['productTypeId'],
|
|
183
|
+
'supplier_id': value['supplierId'],
|
|
184
|
+
'is_disabled': value['isDisabled'],
|
|
185
|
+
'is_accessory': value['isAccessory'],
|
|
186
|
+
'categories-id': value['categoriesId'],
|
|
187
|
+
'related_id': value['relatedId'],
|
|
188
|
+
'related_type': value['relatedType'],
|
|
189
|
+
'includes_relations': value['includesRelations'],
|
|
190
|
+
};
|
|
191
|
+
}
|
|
192
|
+
|
|
@@ -49,6 +49,24 @@ export interface IndexProductTypeRequest {
|
|
|
49
49
|
* @memberof IndexProductTypeRequest
|
|
50
50
|
*/
|
|
51
51
|
page?: number;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {number}
|
|
55
|
+
* @memberof IndexProductTypeRequest
|
|
56
|
+
*/
|
|
57
|
+
relatedId?: number;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {string}
|
|
61
|
+
* @memberof IndexProductTypeRequest
|
|
62
|
+
*/
|
|
63
|
+
relatedType?: IndexProductTypeRequestRelatedTypeEnum;
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
* @type {boolean}
|
|
67
|
+
* @memberof IndexProductTypeRequest
|
|
68
|
+
*/
|
|
69
|
+
includesRelations?: boolean;
|
|
52
70
|
}
|
|
53
71
|
|
|
54
72
|
|
|
@@ -72,6 +90,14 @@ export const IndexProductTypeRequestSortDirectionEnum = {
|
|
|
72
90
|
} as const;
|
|
73
91
|
export type IndexProductTypeRequestSortDirectionEnum = typeof IndexProductTypeRequestSortDirectionEnum[keyof typeof IndexProductTypeRequestSortDirectionEnum];
|
|
74
92
|
|
|
93
|
+
/**
|
|
94
|
+
* @export
|
|
95
|
+
*/
|
|
96
|
+
export const IndexProductTypeRequestRelatedTypeEnum = {
|
|
97
|
+
Attribute: 'attribute'
|
|
98
|
+
} as const;
|
|
99
|
+
export type IndexProductTypeRequestRelatedTypeEnum = typeof IndexProductTypeRequestRelatedTypeEnum[keyof typeof IndexProductTypeRequestRelatedTypeEnum];
|
|
100
|
+
|
|
75
101
|
|
|
76
102
|
/**
|
|
77
103
|
* Check if a given object implements the IndexProductTypeRequest interface.
|
|
@@ -95,6 +121,9 @@ export function IndexProductTypeRequestFromJSONTyped(json: any, ignoreDiscrimina
|
|
|
95
121
|
'sortDirection': json['sortDirection'] == null ? undefined : json['sortDirection'],
|
|
96
122
|
'perPage': json['per_page'] == null ? undefined : json['per_page'],
|
|
97
123
|
'page': json['page'] == null ? undefined : json['page'],
|
|
124
|
+
'relatedId': json['related_id'] == null ? undefined : json['related_id'],
|
|
125
|
+
'relatedType': json['related_type'] == null ? undefined : json['related_type'],
|
|
126
|
+
'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
|
|
98
127
|
};
|
|
99
128
|
}
|
|
100
129
|
|
|
@@ -114,6 +143,9 @@ export function IndexProductTypeRequestToJSONTyped(value?: IndexProductTypeReque
|
|
|
114
143
|
'sortDirection': value['sortDirection'],
|
|
115
144
|
'per_page': value['perPage'],
|
|
116
145
|
'page': value['page'],
|
|
146
|
+
'related_id': value['relatedId'],
|
|
147
|
+
'related_type': value['relatedType'],
|
|
148
|
+
'includes_relations': value['includesRelations'],
|
|
117
149
|
};
|
|
118
150
|
}
|
|
119
151
|
|
|
@@ -55,6 +55,24 @@ export interface IndexSiteNotificationRequest {
|
|
|
55
55
|
* @memberof IndexSiteNotificationRequest
|
|
56
56
|
*/
|
|
57
57
|
siteId?: Array<string>;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {number}
|
|
61
|
+
* @memberof IndexSiteNotificationRequest
|
|
62
|
+
*/
|
|
63
|
+
relatedId?: number;
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
* @type {string}
|
|
67
|
+
* @memberof IndexSiteNotificationRequest
|
|
68
|
+
*/
|
|
69
|
+
relatedType?: string;
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
* @type {boolean}
|
|
73
|
+
* @memberof IndexSiteNotificationRequest
|
|
74
|
+
*/
|
|
75
|
+
includesRelations?: boolean;
|
|
58
76
|
}
|
|
59
77
|
|
|
60
78
|
|
|
@@ -103,6 +121,9 @@ export function IndexSiteNotificationRequestFromJSONTyped(json: any, ignoreDiscr
|
|
|
103
121
|
'perPage': json['per_page'] == null ? undefined : json['per_page'],
|
|
104
122
|
'page': json['page'] == null ? undefined : json['page'],
|
|
105
123
|
'siteId': json['site_id'] == null ? undefined : json['site_id'],
|
|
124
|
+
'relatedId': json['related_id'] == null ? undefined : json['related_id'],
|
|
125
|
+
'relatedType': json['related_type'] == null ? undefined : json['related_type'],
|
|
126
|
+
'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
|
|
106
127
|
};
|
|
107
128
|
}
|
|
108
129
|
|
|
@@ -123,6 +144,9 @@ export function IndexSiteNotificationRequestToJSONTyped(value?: IndexSiteNotific
|
|
|
123
144
|
'per_page': value['perPage'],
|
|
124
145
|
'page': value['page'],
|
|
125
146
|
'site_id': value['siteId'],
|
|
147
|
+
'related_id': value['relatedId'],
|
|
148
|
+
'related_type': value['relatedType'],
|
|
149
|
+
'includes_relations': value['includesRelations'],
|
|
126
150
|
};
|
|
127
151
|
}
|
|
128
152
|
|
|
@@ -49,6 +49,24 @@ export interface IndexSiteRequest {
|
|
|
49
49
|
* @memberof IndexSiteRequest
|
|
50
50
|
*/
|
|
51
51
|
page?: number;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {number}
|
|
55
|
+
* @memberof IndexSiteRequest
|
|
56
|
+
*/
|
|
57
|
+
relatedId?: number;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {string}
|
|
61
|
+
* @memberof IndexSiteRequest
|
|
62
|
+
*/
|
|
63
|
+
relatedType?: string;
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
* @type {boolean}
|
|
67
|
+
* @memberof IndexSiteRequest
|
|
68
|
+
*/
|
|
69
|
+
includesRelations?: boolean;
|
|
52
70
|
}
|
|
53
71
|
|
|
54
72
|
|
|
@@ -96,6 +114,9 @@ export function IndexSiteRequestFromJSONTyped(json: any, ignoreDiscriminator: bo
|
|
|
96
114
|
'sortDirection': json['sortDirection'] == null ? undefined : json['sortDirection'],
|
|
97
115
|
'perPage': json['per_page'] == null ? undefined : json['per_page'],
|
|
98
116
|
'page': json['page'] == null ? undefined : json['page'],
|
|
117
|
+
'relatedId': json['related_id'] == null ? undefined : json['related_id'],
|
|
118
|
+
'relatedType': json['related_type'] == null ? undefined : json['related_type'],
|
|
119
|
+
'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
|
|
99
120
|
};
|
|
100
121
|
}
|
|
101
122
|
|
|
@@ -115,6 +136,9 @@ export function IndexSiteRequestToJSONTyped(value?: IndexSiteRequest | null, ign
|
|
|
115
136
|
'sortDirection': value['sortDirection'],
|
|
116
137
|
'per_page': value['perPage'],
|
|
117
138
|
'page': value['page'],
|
|
139
|
+
'related_id': value['relatedId'],
|
|
140
|
+
'related_type': value['relatedType'],
|
|
141
|
+
'includes_relations': value['includesRelations'],
|
|
118
142
|
};
|
|
119
143
|
}
|
|
120
144
|
|
|
@@ -49,6 +49,24 @@ export interface IndexSupplierRequest {
|
|
|
49
49
|
* @memberof IndexSupplierRequest
|
|
50
50
|
*/
|
|
51
51
|
page?: number;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {number}
|
|
55
|
+
* @memberof IndexSupplierRequest
|
|
56
|
+
*/
|
|
57
|
+
relatedId?: number;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {string}
|
|
61
|
+
* @memberof IndexSupplierRequest
|
|
62
|
+
*/
|
|
63
|
+
relatedType?: IndexSupplierRequestRelatedTypeEnum;
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
* @type {boolean}
|
|
67
|
+
* @memberof IndexSupplierRequest
|
|
68
|
+
*/
|
|
69
|
+
includesRelations?: boolean;
|
|
52
70
|
}
|
|
53
71
|
|
|
54
72
|
|
|
@@ -74,6 +92,14 @@ export const IndexSupplierRequestSortDirectionEnum = {
|
|
|
74
92
|
} as const;
|
|
75
93
|
export type IndexSupplierRequestSortDirectionEnum = typeof IndexSupplierRequestSortDirectionEnum[keyof typeof IndexSupplierRequestSortDirectionEnum];
|
|
76
94
|
|
|
95
|
+
/**
|
|
96
|
+
* @export
|
|
97
|
+
*/
|
|
98
|
+
export const IndexSupplierRequestRelatedTypeEnum = {
|
|
99
|
+
ProductChild: 'productChild'
|
|
100
|
+
} as const;
|
|
101
|
+
export type IndexSupplierRequestRelatedTypeEnum = typeof IndexSupplierRequestRelatedTypeEnum[keyof typeof IndexSupplierRequestRelatedTypeEnum];
|
|
102
|
+
|
|
77
103
|
|
|
78
104
|
/**
|
|
79
105
|
* Check if a given object implements the IndexSupplierRequest interface.
|
|
@@ -97,6 +123,9 @@ export function IndexSupplierRequestFromJSONTyped(json: any, ignoreDiscriminator
|
|
|
97
123
|
'sortDirection': json['sortDirection'] == null ? undefined : json['sortDirection'],
|
|
98
124
|
'perPage': json['per_page'] == null ? undefined : json['per_page'],
|
|
99
125
|
'page': json['page'] == null ? undefined : json['page'],
|
|
126
|
+
'relatedId': json['related_id'] == null ? undefined : json['related_id'],
|
|
127
|
+
'relatedType': json['related_type'] == null ? undefined : json['related_type'],
|
|
128
|
+
'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
|
|
100
129
|
};
|
|
101
130
|
}
|
|
102
131
|
|
|
@@ -116,6 +145,9 @@ export function IndexSupplierRequestToJSONTyped(value?: IndexSupplierRequest | n
|
|
|
116
145
|
'sortDirection': value['sortDirection'],
|
|
117
146
|
'per_page': value['perPage'],
|
|
118
147
|
'page': value['page'],
|
|
148
|
+
'related_id': value['relatedId'],
|
|
149
|
+
'related_type': value['relatedType'],
|
|
150
|
+
'includes_relations': value['includesRelations'],
|
|
119
151
|
};
|
|
120
152
|
}
|
|
121
153
|
|