@digital8/lighting-illusions-ts-sdk 0.0.1162 → 0.0.1163
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 +8 -4
- package/README.md +16 -16
- package/dist/apis/OverlayTemplateApi.d.ts +6 -6
- package/dist/apis/OverlayTemplateApi.js +1 -1
- package/dist/apis/ProductApi.d.ts +12 -11
- package/dist/apis/ProductApi.js +6 -4
- package/dist/apis/index.d.ts +0 -1
- package/dist/apis/index.js +0 -1
- package/dist/models/AssetWithOverlayLinkResource.d.ts +93 -0
- package/dist/models/AssetWithOverlayLinkResource.js +90 -0
- package/dist/models/AssetWithOverlayLinkResourceArrayResponse.d.ts +33 -0
- package/dist/models/AssetWithOverlayLinkResourceArrayResponse.js +50 -0
- package/dist/models/AttachAssetsOverlayTemplateRequest.d.ts +6 -0
- package/dist/models/AttachAssetsOverlayTemplateRequest.js +2 -0
- package/dist/models/ExternalApiLogResource.d.ts +1 -1
- package/dist/models/ExternalApiLogResource.js +3 -1
- package/dist/models/IndexProductChildRequest.d.ts +190 -0
- package/dist/models/{GetProductChildrenOverlayTemplateRequest.js → IndexProductChildRequest.js} +17 -17
- package/dist/models/ShowAssetsProductChildRequest.d.ts +32 -0
- package/dist/models/ShowAssetsProductChildRequest.js +49 -0
- package/dist/models/index.d.ts +4 -1
- package/dist/models/index.js +4 -1
- package/docs/AssetWithOverlayLinkResource.md +54 -0
- package/docs/AssetWithOverlayLinkResourceArrayResponse.md +34 -0
- package/docs/AttachAssetsOverlayTemplateRequest.md +2 -0
- package/docs/{GetProductChildrenOverlayTemplateRequest.md → IndexProductChildRequest.md} +4 -4
- package/docs/OverlayTemplateApi.md +7 -7
- package/docs/ProductApi.md +20 -17
- package/docs/ShowAssetsProductChildRequest.md +34 -0
- package/package.json +1 -1
- package/src/apis/OverlayTemplateApi.ts +9 -9
- package/src/apis/ProductApi.ts +27 -20
- package/src/apis/index.ts +0 -1
- package/src/models/AssetWithOverlayLinkResource.ts +163 -0
- package/src/models/AssetWithOverlayLinkResourceArrayResponse.ts +73 -0
- package/src/models/AttachAssetsOverlayTemplateRequest.ts +8 -0
- package/src/models/ExternalApiLogResource.ts +3 -2
- package/src/models/{GetProductChildrenOverlayTemplateRequest.ts → IndexProductChildRequest.ts} +42 -42
- package/src/models/ShowAssetsProductChildRequest.ts +65 -0
- package/src/models/index.ts +4 -1
- package/dist/apis/AdminApi.d.ts +0 -63
- package/dist/apis/AdminApi.js +0 -254
- package/dist/models/GetProductChildrenOverlayTemplateRequest.d.ts +0 -190
- package/docs/AdminApi.md +0 -206
- package/src/apis/AdminApi.ts +0 -165
package/.openapi-generator/FILES
CHANGED
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
.npmignore
|
|
3
3
|
.openapi-generator-ignore
|
|
4
4
|
README.md
|
|
5
|
-
docs/AdminApi.md
|
|
6
5
|
docs/AssetApi.md
|
|
7
6
|
docs/AssetFileForUploadResource.md
|
|
8
7
|
docs/AssetFileForUploadResourceArrayResponse.md
|
|
@@ -12,6 +11,8 @@ docs/AssetLiteResource.md
|
|
|
12
11
|
docs/AssetLiteResourceArrayResponse.md
|
|
13
12
|
docs/AssetResource.md
|
|
14
13
|
docs/AssetResourceArrayResponse.md
|
|
14
|
+
docs/AssetWithOverlayLinkResource.md
|
|
15
|
+
docs/AssetWithOverlayLinkResourceArrayResponse.md
|
|
15
16
|
docs/AttachAccessoriesProductChildRequest.md
|
|
16
17
|
docs/AttachAssetsOverlayTemplateRequest.md
|
|
17
18
|
docs/AttachAttributeProductTypeRequest.md
|
|
@@ -86,7 +87,6 @@ docs/GetAllProductRequest.md
|
|
|
86
87
|
docs/GetAllProductTypeRequest.md
|
|
87
88
|
docs/GetAllSupplierRequest.md
|
|
88
89
|
docs/GetHierarchyProductCategoryRequest.md
|
|
89
|
-
docs/GetProductChildrenOverlayTemplateRequest.md
|
|
90
90
|
docs/GetUniqueEndpointsExternalApiLogRequest.md
|
|
91
91
|
docs/GlobalSearchCategoryResource.md
|
|
92
92
|
docs/GlobalSearchCategoryResourceArrayResponse.md
|
|
@@ -106,6 +106,7 @@ docs/IndexDocumentRequest.md
|
|
|
106
106
|
docs/IndexExternalApiLogRequest.md
|
|
107
107
|
docs/IndexOverlayTemplateRequest.md
|
|
108
108
|
docs/IndexProductCategoryRequest.md
|
|
109
|
+
docs/IndexProductChildRequest.md
|
|
109
110
|
docs/IndexProductRequest.md
|
|
110
111
|
docs/IndexProductTypeRequest.md
|
|
111
112
|
docs/IndexSiteNotificationRequest.md
|
|
@@ -227,6 +228,7 @@ docs/ProductTypeResource.md
|
|
|
227
228
|
docs/ProductTypeResourceArrayResponse.md
|
|
228
229
|
docs/SEOResource.md
|
|
229
230
|
docs/SEOResourceArrayResponse.md
|
|
231
|
+
docs/ShowAssetsProductChildRequest.md
|
|
230
232
|
docs/SiteApi.md
|
|
231
233
|
docs/SiteConfigResource.md
|
|
232
234
|
docs/SiteConfigResourceArrayResponse.md
|
|
@@ -309,7 +311,6 @@ docs/WishlistCheckResourceArrayResponse.md
|
|
|
309
311
|
docs/WishlistToggleResource.md
|
|
310
312
|
docs/WishlistToggleResourceArrayResponse.md
|
|
311
313
|
package.json
|
|
312
|
-
src/apis/AdminApi.ts
|
|
313
314
|
src/apis/AssetApi.ts
|
|
314
315
|
src/apis/AttributeApi.ts
|
|
315
316
|
src/apis/DefinitionApi.ts
|
|
@@ -333,6 +334,8 @@ src/models/AssetLiteResource.ts
|
|
|
333
334
|
src/models/AssetLiteResourceArrayResponse.ts
|
|
334
335
|
src/models/AssetResource.ts
|
|
335
336
|
src/models/AssetResourceArrayResponse.ts
|
|
337
|
+
src/models/AssetWithOverlayLinkResource.ts
|
|
338
|
+
src/models/AssetWithOverlayLinkResourceArrayResponse.ts
|
|
336
339
|
src/models/AttachAccessoriesProductChildRequest.ts
|
|
337
340
|
src/models/AttachAssetsOverlayTemplateRequest.ts
|
|
338
341
|
src/models/AttachAttributeProductTypeRequest.ts
|
|
@@ -403,7 +406,6 @@ src/models/GetAllProductRequest.ts
|
|
|
403
406
|
src/models/GetAllProductTypeRequest.ts
|
|
404
407
|
src/models/GetAllSupplierRequest.ts
|
|
405
408
|
src/models/GetHierarchyProductCategoryRequest.ts
|
|
406
|
-
src/models/GetProductChildrenOverlayTemplateRequest.ts
|
|
407
409
|
src/models/GetUniqueEndpointsExternalApiLogRequest.ts
|
|
408
410
|
src/models/GlobalSearchCategoryResource.ts
|
|
409
411
|
src/models/GlobalSearchCategoryResourceArrayResponse.ts
|
|
@@ -422,6 +424,7 @@ src/models/IndexDocumentRequest.ts
|
|
|
422
424
|
src/models/IndexExternalApiLogRequest.ts
|
|
423
425
|
src/models/IndexOverlayTemplateRequest.ts
|
|
424
426
|
src/models/IndexProductCategoryRequest.ts
|
|
427
|
+
src/models/IndexProductChildRequest.ts
|
|
425
428
|
src/models/IndexProductRequest.ts
|
|
426
429
|
src/models/IndexProductTypeRequest.ts
|
|
427
430
|
src/models/IndexSiteNotificationRequest.ts
|
|
@@ -539,6 +542,7 @@ src/models/ProductTypeResource.ts
|
|
|
539
542
|
src/models/ProductTypeResourceArrayResponse.ts
|
|
540
543
|
src/models/SEOResource.ts
|
|
541
544
|
src/models/SEOResourceArrayResponse.ts
|
|
545
|
+
src/models/ShowAssetsProductChildRequest.ts
|
|
542
546
|
src/models/SiteConfigResource.ts
|
|
543
547
|
src/models/SiteConfigResourceArrayResponse.ts
|
|
544
548
|
src/models/SiteListResource.ts
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @digital8/lighting-illusions-ts-sdk@0.0.
|
|
1
|
+
# @digital8/lighting-illusions-ts-sdk@0.0.1163
|
|
2
2
|
|
|
3
3
|
A TypeScript SDK client for the localhost API.
|
|
4
4
|
|
|
@@ -16,21 +16,21 @@ Next, try it out.
|
|
|
16
16
|
```ts
|
|
17
17
|
import {
|
|
18
18
|
Configuration,
|
|
19
|
-
|
|
19
|
+
AssetApi,
|
|
20
20
|
} from '@digital8/lighting-illusions-ts-sdk';
|
|
21
|
-
import type {
|
|
21
|
+
import type { DestroyAssetForAssetableRequest } from '@digital8/lighting-illusions-ts-sdk';
|
|
22
22
|
|
|
23
23
|
async function example() {
|
|
24
24
|
console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
|
|
25
|
-
const api = new
|
|
25
|
+
const api = new AssetApi();
|
|
26
26
|
|
|
27
27
|
const body = {
|
|
28
|
-
//
|
|
29
|
-
|
|
30
|
-
} satisfies
|
|
28
|
+
// number | The id of the asset
|
|
29
|
+
asset: 56,
|
|
30
|
+
} satisfies DestroyAssetForAssetableRequest;
|
|
31
31
|
|
|
32
32
|
try {
|
|
33
|
-
const data = await api.
|
|
33
|
+
const data = await api.destroyAssetForAssetable(body);
|
|
34
34
|
console.log(data);
|
|
35
35
|
} catch (error) {
|
|
36
36
|
console.error(error);
|
|
@@ -50,9 +50,6 @@ All URIs are relative to *http://localhost/api*
|
|
|
50
50
|
|
|
51
51
|
| Class | Method | HTTP request | Description
|
|
52
52
|
| ----- | ------ | ------------ | -------------
|
|
53
|
-
*AdminApi* | [**generateGoogleFeedAdmin**](docs/AdminApi.md#generategooglefeedadmin) | **POST** /admin-api/admin/feeds/google/generate | Auto-generated: generateGoogleFeedAdmin
|
|
54
|
-
*AdminApi* | [**generateSocialFeedAdmin**](docs/AdminApi.md#generatesocialfeedadmin) | **POST** /admin-api/admin/feeds/social/generate | Auto-generated: generateSocialFeedAdmin
|
|
55
|
-
*AdminApi* | [**generateTGNDataFeedAdmin**](docs/AdminApi.md#generatetgndatafeedadmin) | **POST** /admin-api/admin/feeds/tgn-data/generate | Auto-generated: generateTGNDataFeedAdmin
|
|
56
53
|
*AssetApi* | [**destroyAssetForAssetable**](docs/AssetApi.md#destroyassetforassetable) | **DELETE** /admin-api/asset/{asset}/delete | Auto-generated: destroyAssetForAssetable
|
|
57
54
|
*AssetApi* | [**storeAssetFile**](docs/AssetApi.md#storeassetfileoperation) | **POST** /admin-api/asset/files | Auto-generated: storeAssetFile
|
|
58
55
|
*AssetApi* | [**storeAssetForAssetable**](docs/AssetApi.md#storeassetforassetableoperation) | **POST** /admin-api/asset/create | Auto-generated: storeAssetForAssetable
|
|
@@ -97,7 +94,7 @@ All URIs are relative to *http://localhost/api*
|
|
|
97
94
|
*OverlayTemplateApi* | [**detachAssetOverlayTemplate**](docs/OverlayTemplateApi.md#detachassetoverlaytemplate) | **POST** /admin-api/overlay-template/{overlayTemplate}/detach-asset/{asset} | Auto-generated: detachAssetOverlayTemplate
|
|
98
95
|
*OverlayTemplateApi* | [**detachAssetableOverlayTemplate**](docs/OverlayTemplateApi.md#detachassetableoverlaytemplateoperation) | **POST** /admin-api/overlay-template/{overlayTemplate}/detach-assetable | Auto-generated: detachAssetableOverlayTemplate
|
|
99
96
|
*OverlayTemplateApi* | [**getAllOverlayTemplate**](docs/OverlayTemplateApi.md#getalloverlaytemplateoperation) | **POST** /admin-api/overlay-template/all | Auto-generated: getAllOverlayTemplate
|
|
100
|
-
*OverlayTemplateApi* | [**getProductChildrenOverlayTemplate**](docs/OverlayTemplateApi.md#
|
|
97
|
+
*OverlayTemplateApi* | [**getProductChildrenOverlayTemplate**](docs/OverlayTemplateApi.md#getproductchildrenoverlaytemplate) | **POST** /admin-api/overlay-template/{overlayTemplate}/product-children | Auto-generated: getProductChildrenOverlayTemplate
|
|
101
98
|
*OverlayTemplateApi* | [**indexOverlayTemplate**](docs/OverlayTemplateApi.md#indexoverlaytemplateoperation) | **POST** /admin-api/overlay-template/list | Auto-generated: indexOverlayTemplate
|
|
102
99
|
*OverlayTemplateApi* | [**showOverlayTemplate**](docs/OverlayTemplateApi.md#showoverlaytemplate) | **GET** /admin-api/overlay-template/{overlayTemplate} | Auto-generated: showOverlayTemplate
|
|
103
100
|
*OverlayTemplateApi* | [**storeOverlayTemplate**](docs/OverlayTemplateApi.md#storeoverlaytemplateoperation) | **POST** /admin-api/overlay-template/create | Auto-generated: storeOverlayTemplate
|
|
@@ -117,8 +114,8 @@ All URIs are relative to *http://localhost/api*
|
|
|
117
114
|
*ProductApi* | [**getAllProductChild**](docs/ProductApi.md#getallproductchildoperation) | **POST** /admin-api/product/children/all | Auto-generated: getAllProductChild
|
|
118
115
|
*ProductApi* | [**getCompatibleProductsProductChild**](docs/ProductApi.md#getcompatibleproductsproductchild) | **POST** /admin-api/product/children/{productChild}/compatible-product/list | Auto-generated: getCompatibleProductsProductChild
|
|
119
116
|
*ProductApi* | [**indexProduct**](docs/ProductApi.md#indexproductoperation) | **POST** /admin-api/product/parent/list | Auto-generated: indexProduct
|
|
120
|
-
*ProductApi* | [**indexProductChild**](docs/ProductApi.md#
|
|
121
|
-
*ProductApi* | [**showAssetsProductChild**](docs/ProductApi.md#
|
|
117
|
+
*ProductApi* | [**indexProductChild**](docs/ProductApi.md#indexproductchildoperation) | **POST** /admin-api/product/children/list | Auto-generated: indexProductChild
|
|
118
|
+
*ProductApi* | [**showAssetsProductChild**](docs/ProductApi.md#showassetsproductchildoperation) | **POST** /admin-api/product/children/{productChild}/assets | Auto-generated: showAssetsProductChild
|
|
122
119
|
*ProductApi* | [**showProduct**](docs/ProductApi.md#showproduct) | **GET** /admin-api/product/parent/{product} | Auto-generated: showProduct
|
|
123
120
|
*ProductApi* | [**showProductChild**](docs/ProductApi.md#showproductchild) | **GET** /admin-api/product/children/{productChild} | Auto-generated: showProductChild
|
|
124
121
|
*ProductApi* | [**storeProduct**](docs/ProductApi.md#storeproductoperation) | **POST** /admin-api/product/parent/create | Auto-generated: storeProduct
|
|
@@ -183,6 +180,8 @@ All URIs are relative to *http://localhost/api*
|
|
|
183
180
|
- [AssetLiteResourceArrayResponse](docs/AssetLiteResourceArrayResponse.md)
|
|
184
181
|
- [AssetResource](docs/AssetResource.md)
|
|
185
182
|
- [AssetResourceArrayResponse](docs/AssetResourceArrayResponse.md)
|
|
183
|
+
- [AssetWithOverlayLinkResource](docs/AssetWithOverlayLinkResource.md)
|
|
184
|
+
- [AssetWithOverlayLinkResourceArrayResponse](docs/AssetWithOverlayLinkResourceArrayResponse.md)
|
|
186
185
|
- [AttachAccessoriesProductChildRequest](docs/AttachAccessoriesProductChildRequest.md)
|
|
187
186
|
- [AttachAssetsOverlayTemplateRequest](docs/AttachAssetsOverlayTemplateRequest.md)
|
|
188
187
|
- [AttachAttributeProductTypeRequest](docs/AttachAttributeProductTypeRequest.md)
|
|
@@ -253,7 +252,6 @@ All URIs are relative to *http://localhost/api*
|
|
|
253
252
|
- [GetAllProductTypeRequest](docs/GetAllProductTypeRequest.md)
|
|
254
253
|
- [GetAllSupplierRequest](docs/GetAllSupplierRequest.md)
|
|
255
254
|
- [GetHierarchyProductCategoryRequest](docs/GetHierarchyProductCategoryRequest.md)
|
|
256
|
-
- [GetProductChildrenOverlayTemplateRequest](docs/GetProductChildrenOverlayTemplateRequest.md)
|
|
257
255
|
- [GetUniqueEndpointsExternalApiLogRequest](docs/GetUniqueEndpointsExternalApiLogRequest.md)
|
|
258
256
|
- [GlobalSearchCategoryResource](docs/GlobalSearchCategoryResource.md)
|
|
259
257
|
- [GlobalSearchCategoryResourceArrayResponse](docs/GlobalSearchCategoryResourceArrayResponse.md)
|
|
@@ -272,6 +270,7 @@ All URIs are relative to *http://localhost/api*
|
|
|
272
270
|
- [IndexExternalApiLogRequest](docs/IndexExternalApiLogRequest.md)
|
|
273
271
|
- [IndexOverlayTemplateRequest](docs/IndexOverlayTemplateRequest.md)
|
|
274
272
|
- [IndexProductCategoryRequest](docs/IndexProductCategoryRequest.md)
|
|
273
|
+
- [IndexProductChildRequest](docs/IndexProductChildRequest.md)
|
|
275
274
|
- [IndexProductRequest](docs/IndexProductRequest.md)
|
|
276
275
|
- [IndexProductTypeRequest](docs/IndexProductTypeRequest.md)
|
|
277
276
|
- [IndexSiteNotificationRequest](docs/IndexSiteNotificationRequest.md)
|
|
@@ -389,6 +388,7 @@ All URIs are relative to *http://localhost/api*
|
|
|
389
388
|
- [ProductTypeResourceArrayResponse](docs/ProductTypeResourceArrayResponse.md)
|
|
390
389
|
- [SEOResource](docs/SEOResource.md)
|
|
391
390
|
- [SEOResourceArrayResponse](docs/SEOResourceArrayResponse.md)
|
|
391
|
+
- [ShowAssetsProductChildRequest](docs/ShowAssetsProductChildRequest.md)
|
|
392
392
|
- [SiteConfigResource](docs/SiteConfigResource.md)
|
|
393
393
|
- [SiteConfigResourceArrayResponse](docs/SiteConfigResourceArrayResponse.md)
|
|
394
394
|
- [SiteListResource](docs/SiteListResource.md)
|
|
@@ -480,7 +480,7 @@ and is automatically generated by the
|
|
|
480
480
|
[OpenAPI Generator](https://openapi-generator.tech) project:
|
|
481
481
|
|
|
482
482
|
- API version: `1.0.0`
|
|
483
|
-
- Package version: `0.0.
|
|
483
|
+
- Package version: `0.0.1163`
|
|
484
484
|
- Generator version: `7.20.0`
|
|
485
485
|
- Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
|
|
486
486
|
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type { AttachAssetsOverlayTemplateRequest, DetachAssetableOverlayTemplateRequest, GenericResponse, GetAllOverlayTemplateRequest,
|
|
13
|
+
import type { AttachAssetsOverlayTemplateRequest, DetachAssetableOverlayTemplateRequest, GenericResponse, GetAllOverlayTemplateRequest, IndexOverlayTemplateRequest, IndexProductChildRequest, OverlayTemplateLiteResourceArrayResponse, OverlayTemplateResource, PaginatedOverlayTemplateListResourceResponse, PaginatedProductChildOverlayRelationResourceResponse, StoreOverlayTemplateAssetRequest, StoreOverlayTemplateRequest, UpdateOverlayTemplateAssetRequest, UpdateOverlayTemplateRequest } from '../models/index';
|
|
14
14
|
export interface AttachAssetsOverlayTemplateOperationRequest {
|
|
15
15
|
overlayTemplate: number;
|
|
16
16
|
attachAssetsOverlayTemplateRequest?: AttachAssetsOverlayTemplateRequest;
|
|
@@ -32,9 +32,9 @@ export interface DetachAssetableOverlayTemplateOperationRequest {
|
|
|
32
32
|
export interface GetAllOverlayTemplateOperationRequest {
|
|
33
33
|
getAllOverlayTemplateRequest?: GetAllOverlayTemplateRequest;
|
|
34
34
|
}
|
|
35
|
-
export interface
|
|
35
|
+
export interface GetProductChildrenOverlayTemplateRequest {
|
|
36
36
|
overlayTemplate: number;
|
|
37
|
-
|
|
37
|
+
indexProductChildRequest?: IndexProductChildRequest;
|
|
38
38
|
}
|
|
39
39
|
export interface IndexOverlayTemplateOperationRequest {
|
|
40
40
|
indexOverlayTemplateRequest?: IndexOverlayTemplateRequest;
|
|
@@ -135,15 +135,15 @@ export declare class OverlayTemplateApi extends runtime.BaseAPI {
|
|
|
135
135
|
/**
|
|
136
136
|
* Creates request options for getProductChildrenOverlayTemplate without sending the request
|
|
137
137
|
*/
|
|
138
|
-
getProductChildrenOverlayTemplateRequestOpts(requestParameters:
|
|
138
|
+
getProductChildrenOverlayTemplateRequestOpts(requestParameters: GetProductChildrenOverlayTemplateRequest): Promise<runtime.RequestOpts>;
|
|
139
139
|
/**
|
|
140
140
|
* Auto-generated: getProductChildrenOverlayTemplate
|
|
141
141
|
*/
|
|
142
|
-
getProductChildrenOverlayTemplateRaw(requestParameters:
|
|
142
|
+
getProductChildrenOverlayTemplateRaw(requestParameters: GetProductChildrenOverlayTemplateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedProductChildOverlayRelationResourceResponse>>;
|
|
143
143
|
/**
|
|
144
144
|
* Auto-generated: getProductChildrenOverlayTemplate
|
|
145
145
|
*/
|
|
146
|
-
getProductChildrenOverlayTemplate(requestParameters:
|
|
146
|
+
getProductChildrenOverlayTemplate(requestParameters: GetProductChildrenOverlayTemplateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedProductChildOverlayRelationResourceResponse>;
|
|
147
147
|
/**
|
|
148
148
|
* Creates request options for indexOverlayTemplate without sending the request
|
|
149
149
|
*/
|
|
@@ -456,7 +456,7 @@ var OverlayTemplateApi = /** @class */ (function (_super) {
|
|
|
456
456
|
method: 'POST',
|
|
457
457
|
headers: headerParameters,
|
|
458
458
|
query: queryParameters,
|
|
459
|
-
body: (0, index_1.
|
|
459
|
+
body: (0, index_1.IndexProductChildRequestToJSON)(requestParameters['indexProductChildRequest']),
|
|
460
460
|
}];
|
|
461
461
|
});
|
|
462
462
|
});
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type {
|
|
13
|
+
import type { AssetWithOverlayLinkResourceArrayResponse, AttachAccessoriesProductChildRequest, AttachDocumentsProductChildRequest, DetachDocumentsProductChildRequest, GenericResponse, GetAllProductChildRequest, GetAllProductRequest, IndexProductChildRequest, IndexProductRequest, PaginatedProductChildListResourceResponse, PaginatedProductListResourceResponse, ProductChildListResourceArrayResponse, ProductChildLiteResourceArrayResponse, ProductChildResource, ProductLiteResourceArrayResponse, ProductResource, ShowAssetsProductChildRequest, StoreProductChildRequest, StoreProductRequest, UpdateProductChildRequest, UpdateProductRequest } from '../models/index';
|
|
14
14
|
export interface AttachAccessoriesProductChildOperationRequest {
|
|
15
15
|
productChild: number;
|
|
16
16
|
attachAccessoriesProductChildRequest?: AttachAccessoriesProductChildRequest;
|
|
@@ -53,16 +53,17 @@ export interface GetAllProductChildOperationRequest {
|
|
|
53
53
|
}
|
|
54
54
|
export interface GetCompatibleProductsProductChildRequest {
|
|
55
55
|
productChild: number;
|
|
56
|
-
|
|
56
|
+
indexProductChildRequest?: IndexProductChildRequest;
|
|
57
57
|
}
|
|
58
58
|
export interface IndexProductOperationRequest {
|
|
59
59
|
indexProductRequest?: IndexProductRequest;
|
|
60
60
|
}
|
|
61
|
-
export interface
|
|
62
|
-
|
|
61
|
+
export interface IndexProductChildOperationRequest {
|
|
62
|
+
indexProductChildRequest?: IndexProductChildRequest;
|
|
63
63
|
}
|
|
64
|
-
export interface
|
|
64
|
+
export interface ShowAssetsProductChildOperationRequest {
|
|
65
65
|
productChild: number;
|
|
66
|
+
showAssetsProductChildRequest?: ShowAssetsProductChildRequest;
|
|
66
67
|
}
|
|
67
68
|
export interface ShowProductRequest {
|
|
68
69
|
product: number;
|
|
@@ -247,27 +248,27 @@ export declare class ProductApi extends runtime.BaseAPI {
|
|
|
247
248
|
/**
|
|
248
249
|
* Creates request options for indexProductChild without sending the request
|
|
249
250
|
*/
|
|
250
|
-
indexProductChildRequestOpts(requestParameters:
|
|
251
|
+
indexProductChildRequestOpts(requestParameters: IndexProductChildOperationRequest): Promise<runtime.RequestOpts>;
|
|
251
252
|
/**
|
|
252
253
|
* Auto-generated: indexProductChild
|
|
253
254
|
*/
|
|
254
|
-
indexProductChildRaw(requestParameters:
|
|
255
|
+
indexProductChildRaw(requestParameters: IndexProductChildOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedProductChildListResourceResponse>>;
|
|
255
256
|
/**
|
|
256
257
|
* Auto-generated: indexProductChild
|
|
257
258
|
*/
|
|
258
|
-
indexProductChild(requestParameters?:
|
|
259
|
+
indexProductChild(requestParameters?: IndexProductChildOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedProductChildListResourceResponse>;
|
|
259
260
|
/**
|
|
260
261
|
* Creates request options for showAssetsProductChild without sending the request
|
|
261
262
|
*/
|
|
262
|
-
showAssetsProductChildRequestOpts(requestParameters:
|
|
263
|
+
showAssetsProductChildRequestOpts(requestParameters: ShowAssetsProductChildOperationRequest): Promise<runtime.RequestOpts>;
|
|
263
264
|
/**
|
|
264
265
|
* Auto-generated: showAssetsProductChild
|
|
265
266
|
*/
|
|
266
|
-
showAssetsProductChildRaw(requestParameters:
|
|
267
|
+
showAssetsProductChildRaw(requestParameters: ShowAssetsProductChildOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AssetWithOverlayLinkResourceArrayResponse>>;
|
|
267
268
|
/**
|
|
268
269
|
* Auto-generated: showAssetsProductChild
|
|
269
270
|
*/
|
|
270
|
-
showAssetsProductChild(requestParameters:
|
|
271
|
+
showAssetsProductChild(requestParameters: ShowAssetsProductChildOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AssetWithOverlayLinkResourceArrayResponse>;
|
|
271
272
|
/**
|
|
272
273
|
* Creates request options for showProduct without sending the request
|
|
273
274
|
*/
|
package/dist/apis/ProductApi.js
CHANGED
|
@@ -760,7 +760,7 @@ var ProductApi = /** @class */ (function (_super) {
|
|
|
760
760
|
method: 'POST',
|
|
761
761
|
headers: headerParameters,
|
|
762
762
|
query: queryParameters,
|
|
763
|
-
body: (0, index_1.
|
|
763
|
+
body: (0, index_1.IndexProductChildRequestToJSON)(requestParameters['indexProductChildRequest']),
|
|
764
764
|
}];
|
|
765
765
|
});
|
|
766
766
|
});
|
|
@@ -875,7 +875,7 @@ var ProductApi = /** @class */ (function (_super) {
|
|
|
875
875
|
method: 'POST',
|
|
876
876
|
headers: headerParameters,
|
|
877
877
|
query: queryParameters,
|
|
878
|
-
body: (0, index_1.
|
|
878
|
+
body: (0, index_1.IndexProductChildRequestToJSON)(requestParameters['indexProductChildRequest']),
|
|
879
879
|
}];
|
|
880
880
|
});
|
|
881
881
|
});
|
|
@@ -929,13 +929,15 @@ var ProductApi = /** @class */ (function (_super) {
|
|
|
929
929
|
}
|
|
930
930
|
queryParameters = {};
|
|
931
931
|
headerParameters = {};
|
|
932
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
932
933
|
urlPath = "/admin-api/product/children/{productChild}/assets";
|
|
933
934
|
urlPath = urlPath.replace("{".concat("productChild", "}"), encodeURIComponent(String(requestParameters['productChild'])));
|
|
934
935
|
return [2 /*return*/, {
|
|
935
936
|
path: urlPath,
|
|
936
|
-
method: '
|
|
937
|
+
method: 'POST',
|
|
937
938
|
headers: headerParameters,
|
|
938
939
|
query: queryParameters,
|
|
940
|
+
body: (0, index_1.ShowAssetsProductChildRequestToJSON)(requestParameters['showAssetsProductChildRequest']),
|
|
939
941
|
}];
|
|
940
942
|
});
|
|
941
943
|
});
|
|
@@ -954,7 +956,7 @@ var ProductApi = /** @class */ (function (_super) {
|
|
|
954
956
|
return [4 /*yield*/, this.request(requestOptions, initOverrides)];
|
|
955
957
|
case 2:
|
|
956
958
|
response = _a.sent();
|
|
957
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.
|
|
959
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.AssetWithOverlayLinkResourceArrayResponseFromJSON)(jsonValue); })];
|
|
958
960
|
}
|
|
959
961
|
});
|
|
960
962
|
});
|
package/dist/apis/index.d.ts
CHANGED
package/dist/apis/index.js
CHANGED
|
@@ -16,7 +16,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
/* tslint:disable */
|
|
18
18
|
/* eslint-disable */
|
|
19
|
-
__exportStar(require("./AdminApi"), exports);
|
|
20
19
|
__exportStar(require("./AssetApi"), exports);
|
|
21
20
|
__exportStar(require("./AttributeApi"), exports);
|
|
22
21
|
__exportStar(require("./DefinitionApi"), exports);
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* My API
|
|
3
|
+
* API documentation for my Laravel app
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { OverlayTemplateLiteResource } from './OverlayTemplateLiteResource';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface AssetWithOverlayLinkResource
|
|
17
|
+
*/
|
|
18
|
+
export interface AssetWithOverlayLinkResource {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {number}
|
|
22
|
+
* @memberof AssetWithOverlayLinkResource
|
|
23
|
+
*/
|
|
24
|
+
id: number;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof AssetWithOverlayLinkResource
|
|
29
|
+
*/
|
|
30
|
+
filePath: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof AssetWithOverlayLinkResource
|
|
35
|
+
*/
|
|
36
|
+
fileName: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof AssetWithOverlayLinkResource
|
|
41
|
+
*/
|
|
42
|
+
mimeType: string;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof AssetWithOverlayLinkResource
|
|
47
|
+
*/
|
|
48
|
+
altText: string;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {number}
|
|
52
|
+
* @memberof AssetWithOverlayLinkResource
|
|
53
|
+
*/
|
|
54
|
+
index: number;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @memberof AssetWithOverlayLinkResource
|
|
59
|
+
*/
|
|
60
|
+
fileId?: string | null;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {boolean}
|
|
64
|
+
* @memberof AssetWithOverlayLinkResource
|
|
65
|
+
*/
|
|
66
|
+
isThumbnail: boolean;
|
|
67
|
+
/**
|
|
68
|
+
*
|
|
69
|
+
* @type {boolean}
|
|
70
|
+
* @memberof AssetWithOverlayLinkResource
|
|
71
|
+
*/
|
|
72
|
+
isLifestyle: boolean;
|
|
73
|
+
/**
|
|
74
|
+
*
|
|
75
|
+
* @type {Array<OverlayTemplateLiteResource>}
|
|
76
|
+
* @memberof AssetWithOverlayLinkResource
|
|
77
|
+
*/
|
|
78
|
+
overlayTemplates: Array<OverlayTemplateLiteResource> | null;
|
|
79
|
+
/**
|
|
80
|
+
*
|
|
81
|
+
* @type {boolean}
|
|
82
|
+
* @memberof AssetWithOverlayLinkResource
|
|
83
|
+
*/
|
|
84
|
+
isLinkedToOverlayTemplate: boolean;
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* Check if a given object implements the AssetWithOverlayLinkResource interface.
|
|
88
|
+
*/
|
|
89
|
+
export declare function instanceOfAssetWithOverlayLinkResource(value: object): value is AssetWithOverlayLinkResource;
|
|
90
|
+
export declare function AssetWithOverlayLinkResourceFromJSON(json: any): AssetWithOverlayLinkResource;
|
|
91
|
+
export declare function AssetWithOverlayLinkResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): AssetWithOverlayLinkResource;
|
|
92
|
+
export declare function AssetWithOverlayLinkResourceToJSON(json: any): AssetWithOverlayLinkResource;
|
|
93
|
+
export declare function AssetWithOverlayLinkResourceToJSONTyped(value?: AssetWithOverlayLinkResource | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,90 @@
|
|
|
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.instanceOfAssetWithOverlayLinkResource = instanceOfAssetWithOverlayLinkResource;
|
|
17
|
+
exports.AssetWithOverlayLinkResourceFromJSON = AssetWithOverlayLinkResourceFromJSON;
|
|
18
|
+
exports.AssetWithOverlayLinkResourceFromJSONTyped = AssetWithOverlayLinkResourceFromJSONTyped;
|
|
19
|
+
exports.AssetWithOverlayLinkResourceToJSON = AssetWithOverlayLinkResourceToJSON;
|
|
20
|
+
exports.AssetWithOverlayLinkResourceToJSONTyped = AssetWithOverlayLinkResourceToJSONTyped;
|
|
21
|
+
var OverlayTemplateLiteResource_1 = require("./OverlayTemplateLiteResource");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the AssetWithOverlayLinkResource interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfAssetWithOverlayLinkResource(value) {
|
|
26
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('filePath' in value) || value['filePath'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('fileName' in value) || value['fileName'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('mimeType' in value) || value['mimeType'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('altText' in value) || value['altText'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
if (!('index' in value) || value['index'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
if (!('isThumbnail' in value) || value['isThumbnail'] === undefined)
|
|
39
|
+
return false;
|
|
40
|
+
if (!('isLifestyle' in value) || value['isLifestyle'] === undefined)
|
|
41
|
+
return false;
|
|
42
|
+
if (!('overlayTemplates' in value) || value['overlayTemplates'] === undefined)
|
|
43
|
+
return false;
|
|
44
|
+
if (!('isLinkedToOverlayTemplate' in value) || value['isLinkedToOverlayTemplate'] === undefined)
|
|
45
|
+
return false;
|
|
46
|
+
return true;
|
|
47
|
+
}
|
|
48
|
+
function AssetWithOverlayLinkResourceFromJSON(json) {
|
|
49
|
+
return AssetWithOverlayLinkResourceFromJSONTyped(json, false);
|
|
50
|
+
}
|
|
51
|
+
function AssetWithOverlayLinkResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
52
|
+
if (json == null) {
|
|
53
|
+
return json;
|
|
54
|
+
}
|
|
55
|
+
return {
|
|
56
|
+
'id': json['id'],
|
|
57
|
+
'filePath': json['filePath'],
|
|
58
|
+
'fileName': json['fileName'],
|
|
59
|
+
'mimeType': json['mimeType'],
|
|
60
|
+
'altText': json['altText'],
|
|
61
|
+
'index': json['index'],
|
|
62
|
+
'fileId': json['fileId'] == null ? undefined : json['fileId'],
|
|
63
|
+
'isThumbnail': json['isThumbnail'],
|
|
64
|
+
'isLifestyle': json['isLifestyle'],
|
|
65
|
+
'overlayTemplates': (json['overlayTemplates'] == null ? null : json['overlayTemplates'].map(OverlayTemplateLiteResource_1.OverlayTemplateLiteResourceFromJSON)),
|
|
66
|
+
'isLinkedToOverlayTemplate': json['isLinkedToOverlayTemplate'],
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
function AssetWithOverlayLinkResourceToJSON(json) {
|
|
70
|
+
return AssetWithOverlayLinkResourceToJSONTyped(json, false);
|
|
71
|
+
}
|
|
72
|
+
function AssetWithOverlayLinkResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
73
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
74
|
+
if (value == null) {
|
|
75
|
+
return value;
|
|
76
|
+
}
|
|
77
|
+
return {
|
|
78
|
+
'id': value['id'],
|
|
79
|
+
'filePath': value['filePath'],
|
|
80
|
+
'fileName': value['fileName'],
|
|
81
|
+
'mimeType': value['mimeType'],
|
|
82
|
+
'altText': value['altText'],
|
|
83
|
+
'index': value['index'],
|
|
84
|
+
'fileId': value['fileId'],
|
|
85
|
+
'isThumbnail': value['isThumbnail'],
|
|
86
|
+
'isLifestyle': value['isLifestyle'],
|
|
87
|
+
'overlayTemplates': (value['overlayTemplates'] == null ? null : value['overlayTemplates'].map(OverlayTemplateLiteResource_1.OverlayTemplateLiteResourceToJSON)),
|
|
88
|
+
'isLinkedToOverlayTemplate': value['isLinkedToOverlayTemplate'],
|
|
89
|
+
};
|
|
90
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* My API
|
|
3
|
+
* API documentation for my Laravel app
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { AssetWithOverlayLinkResource } from './AssetWithOverlayLinkResource';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface AssetWithOverlayLinkResourceArrayResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface AssetWithOverlayLinkResourceArrayResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<AssetWithOverlayLinkResource>}
|
|
22
|
+
* @memberof AssetWithOverlayLinkResourceArrayResponse
|
|
23
|
+
*/
|
|
24
|
+
data?: Array<AssetWithOverlayLinkResource>;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the AssetWithOverlayLinkResourceArrayResponse interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfAssetWithOverlayLinkResourceArrayResponse(value: object): value is AssetWithOverlayLinkResourceArrayResponse;
|
|
30
|
+
export declare function AssetWithOverlayLinkResourceArrayResponseFromJSON(json: any): AssetWithOverlayLinkResourceArrayResponse;
|
|
31
|
+
export declare function AssetWithOverlayLinkResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): AssetWithOverlayLinkResourceArrayResponse;
|
|
32
|
+
export declare function AssetWithOverlayLinkResourceArrayResponseToJSON(json: any): AssetWithOverlayLinkResourceArrayResponse;
|
|
33
|
+
export declare function AssetWithOverlayLinkResourceArrayResponseToJSONTyped(value?: AssetWithOverlayLinkResourceArrayResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,50 @@
|
|
|
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.instanceOfAssetWithOverlayLinkResourceArrayResponse = instanceOfAssetWithOverlayLinkResourceArrayResponse;
|
|
17
|
+
exports.AssetWithOverlayLinkResourceArrayResponseFromJSON = AssetWithOverlayLinkResourceArrayResponseFromJSON;
|
|
18
|
+
exports.AssetWithOverlayLinkResourceArrayResponseFromJSONTyped = AssetWithOverlayLinkResourceArrayResponseFromJSONTyped;
|
|
19
|
+
exports.AssetWithOverlayLinkResourceArrayResponseToJSON = AssetWithOverlayLinkResourceArrayResponseToJSON;
|
|
20
|
+
exports.AssetWithOverlayLinkResourceArrayResponseToJSONTyped = AssetWithOverlayLinkResourceArrayResponseToJSONTyped;
|
|
21
|
+
var AssetWithOverlayLinkResource_1 = require("./AssetWithOverlayLinkResource");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the AssetWithOverlayLinkResourceArrayResponse interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfAssetWithOverlayLinkResourceArrayResponse(value) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
function AssetWithOverlayLinkResourceArrayResponseFromJSON(json) {
|
|
29
|
+
return AssetWithOverlayLinkResourceArrayResponseFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
function AssetWithOverlayLinkResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'data': json['data'] == null ? undefined : (json['data'].map(AssetWithOverlayLinkResource_1.AssetWithOverlayLinkResourceFromJSON)),
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
function AssetWithOverlayLinkResourceArrayResponseToJSON(json) {
|
|
40
|
+
return AssetWithOverlayLinkResourceArrayResponseToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function AssetWithOverlayLinkResourceArrayResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
43
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'data': value['data'] == null ? undefined : (value['data'].map(AssetWithOverlayLinkResource_1.AssetWithOverlayLinkResourceToJSON)),
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -21,6 +21,12 @@ export interface AttachAssetsOverlayTemplateRequest {
|
|
|
21
21
|
* @memberof AttachAssetsOverlayTemplateRequest
|
|
22
22
|
*/
|
|
23
23
|
assetIds: Array<number>;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {boolean}
|
|
27
|
+
* @memberof AttachAssetsOverlayTemplateRequest
|
|
28
|
+
*/
|
|
29
|
+
syncAssets?: boolean;
|
|
24
30
|
}
|
|
25
31
|
/**
|
|
26
32
|
* Check if a given object implements the AttachAssetsOverlayTemplateRequest interface.
|