@digital8/lighting-illusions-ts-sdk 0.0.1674 → 0.0.1676
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 +6 -6
- package/README.md +11 -11
- package/dist/apis/AdminApi.d.ts +8 -8
- package/dist/apis/AdminApi.js +3 -3
- package/dist/apis/ProductCategoryApi.d.ts +6 -6
- package/dist/apis/ProductCategoryApi.js +1 -1
- package/dist/models/AddressFrontendResource.d.ts +1 -1
- package/dist/models/AddressFrontendResource.js +3 -1
- package/dist/models/AddressResource.d.ts +2 -2
- package/dist/models/AddressResource.js +4 -4
- package/dist/models/ExternalApiLogResource.d.ts +1 -1
- package/dist/models/ExternalApiLogResource.js +3 -1
- package/dist/models/GenerateGoogleFeedAdminRequest.d.ts +32 -0
- package/dist/models/GenerateGoogleFeedAdminRequest.js +51 -0
- package/dist/models/StoreBlogCategoryRequest.d.ts +3 -3
- package/dist/models/StoreBlogCategoryRequest.js +3 -3
- package/dist/models/StoreBlogCategoryRequestDescriptionsInner.d.ts +44 -0
- package/dist/models/StoreBlogCategoryRequestDescriptionsInner.js +55 -0
- package/dist/models/StoreFrontendResource.d.ts +1 -1
- package/dist/models/StoreFrontendResource.js +1 -3
- package/dist/models/StoreListResource.d.ts +1 -1
- package/dist/models/StoreListResource.js +3 -1
- package/dist/models/StorePageRequest.d.ts +3 -3
- package/dist/models/StorePageRequest.js +3 -3
- package/dist/models/StorePageRequestSeoInner.d.ts +44 -0
- package/dist/models/StorePageRequestSeoInner.js +55 -0
- package/dist/models/StoreProductCategoryRequest.d.ts +6 -6
- package/dist/models/StoreProductCategoryRequest.js +6 -6
- package/dist/models/StoreResource.d.ts +1 -1
- package/dist/models/StoreResource.js +3 -1
- package/dist/models/StoreSupplierRequest.d.ts +6 -6
- package/dist/models/StoreSupplierRequest.js +6 -6
- package/dist/models/UpdateBlogCategoryRequest.d.ts +3 -3
- package/dist/models/UpdateBlogCategoryRequest.js +3 -3
- package/dist/models/UpdatePageRequest.d.ts +3 -3
- package/dist/models/UpdatePageRequest.js +3 -3
- package/dist/models/UpdateProductCategoryRequest.d.ts +6 -6
- package/dist/models/UpdateProductCategoryRequest.js +6 -6
- package/dist/models/UpdateSupplierRequest.d.ts +6 -6
- package/dist/models/UpdateSupplierRequest.js +6 -6
- package/dist/models/index.d.ts +3 -3
- package/dist/models/index.js +3 -3
- package/docs/AdminApi.md +15 -15
- package/docs/{GetHierarchyProductCategoryRequest.md → GenerateGoogleFeedAdminRequest.md} +4 -4
- package/docs/ProductCategoryApi.md +7 -7
- package/docs/StoreBlogCategoryRequest.md +1 -1
- package/docs/{StoreProductCategoryRequestDescriptionsInner.md → StoreBlogCategoryRequestDescriptionsInner.md} +4 -4
- package/docs/StorePageRequest.md +1 -1
- package/docs/{StoreProductCategoryRequestSeoInner.md → StorePageRequestSeoInner.md} +4 -4
- package/docs/StoreProductCategoryRequest.md +2 -2
- package/docs/StoreSupplierRequest.md +2 -2
- package/docs/UpdateBlogCategoryRequest.md +1 -1
- package/docs/UpdatePageRequest.md +1 -1
- package/docs/UpdateProductCategoryRequest.md +2 -2
- package/docs/UpdateSupplierRequest.md +2 -2
- package/package.json +1 -1
- package/src/apis/AdminApi.ts +13 -13
- package/src/apis/ProductCategoryApi.ts +9 -9
- package/src/models/AddressFrontendResource.ts +3 -2
- package/src/models/AddressResource.ts +5 -5
- package/src/models/ExternalApiLogResource.ts +3 -2
- package/src/models/GenerateGoogleFeedAdminRequest.ts +66 -0
- package/src/models/StoreBlogCategoryRequest.ts +10 -10
- package/src/models/StoreBlogCategoryRequestDescriptionsInner.ts +82 -0
- package/src/models/StoreFrontendResource.ts +2 -3
- package/src/models/StoreListResource.ts +3 -2
- package/src/models/StorePageRequest.ts +10 -10
- package/src/models/{StoreProductCategoryRequestSeoInner.ts → StorePageRequestSeoInner.ts} +13 -13
- package/src/models/StoreProductCategoryRequest.ts +20 -20
- package/src/models/StoreResource.ts +3 -2
- package/src/models/StoreSupplierRequest.ts +20 -20
- package/src/models/UpdateBlogCategoryRequest.ts +10 -10
- package/src/models/UpdatePageRequest.ts +10 -10
- package/src/models/UpdateProductCategoryRequest.ts +20 -20
- package/src/models/UpdateSupplierRequest.ts +20 -20
- package/src/models/index.ts +3 -3
- package/dist/models/GetHierarchyProductCategoryRequest.d.ts +0 -32
- package/dist/models/GetHierarchyProductCategoryRequest.js +0 -51
- package/dist/models/StoreProductCategoryRequestDescriptionsInner.d.ts +0 -44
- package/dist/models/StoreProductCategoryRequestDescriptionsInner.js +0 -55
- package/dist/models/StoreProductCategoryRequestSeoInner.d.ts +0 -44
- package/dist/models/StoreProductCategoryRequestSeoInner.js +0 -55
- package/src/models/GetHierarchyProductCategoryRequest.ts +0 -66
- package/src/models/StoreProductCategoryRequestDescriptionsInner.ts +0 -82
package/.openapi-generator/FILES
CHANGED
|
@@ -108,6 +108,7 @@ docs/FrontendComponentLiteResource.md
|
|
|
108
108
|
docs/FrontendComponentLiteResourceArrayResponse.md
|
|
109
109
|
docs/FrontendComponentResource.md
|
|
110
110
|
docs/FrontendComponentResourceArrayResponse.md
|
|
111
|
+
docs/GenerateGoogleFeedAdminRequest.md
|
|
111
112
|
docs/GenericResponse.md
|
|
112
113
|
docs/GetAllAttributeRequest.md
|
|
113
114
|
docs/GetAllAttributeValueRequest.md
|
|
@@ -126,7 +127,6 @@ docs/GetAllProductRequest.md
|
|
|
126
127
|
docs/GetAllProductTypeRequest.md
|
|
127
128
|
docs/GetAllStoreRequest.md
|
|
128
129
|
docs/GetAllSupplierRequest.md
|
|
129
|
-
docs/GetHierarchyProductCategoryRequest.md
|
|
130
130
|
docs/GetUniqueEndpointsExternalApiLogRequest.md
|
|
131
131
|
docs/GlobalSearchCategoryResource.md
|
|
132
132
|
docs/GlobalSearchCategoryResourceArrayResponse.md
|
|
@@ -373,6 +373,7 @@ docs/StoreAssetForAssetableRequest.md
|
|
|
373
373
|
docs/StoreAttributeRequest.md
|
|
374
374
|
docs/StoreAttributeValueRequest.md
|
|
375
375
|
docs/StoreBlogCategoryRequest.md
|
|
376
|
+
docs/StoreBlogCategoryRequestDescriptionsInner.md
|
|
376
377
|
docs/StoreDefinitionRequest.md
|
|
377
378
|
docs/StoreDocumentFileRequest.md
|
|
378
379
|
docs/StoreDocumentRequest.md
|
|
@@ -389,10 +390,9 @@ docs/StorePageComponentRequest.md
|
|
|
389
390
|
docs/StorePageComponentRequestRelationsInner.md
|
|
390
391
|
docs/StorePageRequest.md
|
|
391
392
|
docs/StorePageRequestBlog.md
|
|
393
|
+
docs/StorePageRequestSeoInner.md
|
|
392
394
|
docs/StoreProductCategoryRequest.md
|
|
393
395
|
docs/StoreProductCategoryRequestAutomationRulesInner.md
|
|
394
|
-
docs/StoreProductCategoryRequestDescriptionsInner.md
|
|
395
|
-
docs/StoreProductCategoryRequestSeoInner.md
|
|
396
396
|
docs/StoreProductChildRequest.md
|
|
397
397
|
docs/StoreProductChildRequestAssetsInner.md
|
|
398
398
|
docs/StoreProductChildRequestAttributeValuesInner.md
|
|
@@ -588,6 +588,7 @@ src/models/FrontendComponentLiteResource.ts
|
|
|
588
588
|
src/models/FrontendComponentLiteResourceArrayResponse.ts
|
|
589
589
|
src/models/FrontendComponentResource.ts
|
|
590
590
|
src/models/FrontendComponentResourceArrayResponse.ts
|
|
591
|
+
src/models/GenerateGoogleFeedAdminRequest.ts
|
|
591
592
|
src/models/GenericResponse.ts
|
|
592
593
|
src/models/GetAllAttributeRequest.ts
|
|
593
594
|
src/models/GetAllAttributeValueRequest.ts
|
|
@@ -606,7 +607,6 @@ src/models/GetAllProductRequest.ts
|
|
|
606
607
|
src/models/GetAllProductTypeRequest.ts
|
|
607
608
|
src/models/GetAllStoreRequest.ts
|
|
608
609
|
src/models/GetAllSupplierRequest.ts
|
|
609
|
-
src/models/GetHierarchyProductCategoryRequest.ts
|
|
610
610
|
src/models/GetUniqueEndpointsExternalApiLogRequest.ts
|
|
611
611
|
src/models/GlobalSearchCategoryResource.ts
|
|
612
612
|
src/models/GlobalSearchCategoryResourceArrayResponse.ts
|
|
@@ -841,6 +841,7 @@ src/models/StoreAssetForAssetableRequest.ts
|
|
|
841
841
|
src/models/StoreAttributeRequest.ts
|
|
842
842
|
src/models/StoreAttributeValueRequest.ts
|
|
843
843
|
src/models/StoreBlogCategoryRequest.ts
|
|
844
|
+
src/models/StoreBlogCategoryRequestDescriptionsInner.ts
|
|
844
845
|
src/models/StoreDefinitionRequest.ts
|
|
845
846
|
src/models/StoreDocumentFileRequest.ts
|
|
846
847
|
src/models/StoreDocumentRequest.ts
|
|
@@ -857,10 +858,9 @@ src/models/StorePageComponentRequest.ts
|
|
|
857
858
|
src/models/StorePageComponentRequestRelationsInner.ts
|
|
858
859
|
src/models/StorePageRequest.ts
|
|
859
860
|
src/models/StorePageRequestBlog.ts
|
|
861
|
+
src/models/StorePageRequestSeoInner.ts
|
|
860
862
|
src/models/StoreProductCategoryRequest.ts
|
|
861
863
|
src/models/StoreProductCategoryRequestAutomationRulesInner.ts
|
|
862
|
-
src/models/StoreProductCategoryRequestDescriptionsInner.ts
|
|
863
|
-
src/models/StoreProductCategoryRequestSeoInner.ts
|
|
864
864
|
src/models/StoreProductChildRequest.ts
|
|
865
865
|
src/models/StoreProductChildRequestAssetsInner.ts
|
|
866
866
|
src/models/StoreProductChildRequestAttributeValuesInner.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.1676
|
|
2
2
|
|
|
3
3
|
A TypeScript SDK client for the localhost API.
|
|
4
4
|
|
|
@@ -18,16 +18,16 @@ import {
|
|
|
18
18
|
Configuration,
|
|
19
19
|
AdminApi,
|
|
20
20
|
} from '@digital8/lighting-illusions-ts-sdk';
|
|
21
|
-
import type {
|
|
21
|
+
import type { GenerateGoogleFeedAdminOperationRequest } 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
25
|
const api = new AdminApi();
|
|
26
26
|
|
|
27
27
|
const body = {
|
|
28
|
-
//
|
|
29
|
-
|
|
30
|
-
} satisfies
|
|
28
|
+
// GenerateGoogleFeedAdminRequest (optional)
|
|
29
|
+
generateGoogleFeedAdminRequest: ...,
|
|
30
|
+
} satisfies GenerateGoogleFeedAdminOperationRequest;
|
|
31
31
|
|
|
32
32
|
try {
|
|
33
33
|
const data = await api.generateGoogleFeedAdmin(body);
|
|
@@ -50,7 +50,7 @@ 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#
|
|
53
|
+
*AdminApi* | [**generateGoogleFeedAdmin**](docs/AdminApi.md#generategooglefeedadminoperation) | **POST** /admin-api/admin/feeds/google/generate | Auto-generated: generateGoogleFeedAdmin
|
|
54
54
|
*AdminApi* | [**generateSocialFeedAdmin**](docs/AdminApi.md#generatesocialfeedadmin) | **POST** /admin-api/admin/feeds/social/generate | Auto-generated: generateSocialFeedAdmin
|
|
55
55
|
*AdminApi* | [**generateTGNDataFeedAdmin**](docs/AdminApi.md#generatetgndatafeedadmin) | **POST** /admin-api/admin/feeds/tgn-data/generate | Auto-generated: generateTGNDataFeedAdmin
|
|
56
56
|
*AssetApi* | [**destroyAssetForAssetable**](docs/AssetApi.md#destroyassetforassetable) | **DELETE** /admin-api/asset/{asset}/delete | Auto-generated: destroyAssetForAssetable
|
|
@@ -158,7 +158,7 @@ All URIs are relative to *http://localhost/api*
|
|
|
158
158
|
*ProductCategoryApi* | [**getAllChildrenProductCategory**](docs/ProductCategoryApi.md#getallchildrenproductcategory) | **POST** /admin-api/product-category/{productCategory}/children/all | Auto-generated: getAllChildrenProductCategory
|
|
159
159
|
*ProductCategoryApi* | [**getAllProductCategory**](docs/ProductCategoryApi.md#getallproductcategoryoperation) | **POST** /admin-api/product-category/all | Auto-generated: getAllProductCategory
|
|
160
160
|
*ProductCategoryApi* | [**getChildrenProductCategory**](docs/ProductCategoryApi.md#getchildrenproductcategory) | **GET** /admin-api/product-category/{productCategory}/children | Auto-generated: getChildrenProductCategory
|
|
161
|
-
*ProductCategoryApi* | [**getHierarchyProductCategory**](docs/ProductCategoryApi.md#
|
|
161
|
+
*ProductCategoryApi* | [**getHierarchyProductCategory**](docs/ProductCategoryApi.md#gethierarchyproductcategory) | **POST** /admin-api/product-category/hierarchy | Auto-generated: getHierarchyProductCategory
|
|
162
162
|
*ProductCategoryApi* | [**indexProductCategory**](docs/ProductCategoryApi.md#indexproductcategoryoperation) | **POST** /admin-api/product-category/list | Auto-generated: indexProductCategory
|
|
163
163
|
*ProductCategoryApi* | [**previewAutomationRulesProductCategory**](docs/ProductCategoryApi.md#previewautomationrulesproductcategoryoperation) | **POST** /admin-api/product-category/preview-automation-rules | Auto-generated: previewAutomationRulesProductCategory
|
|
164
164
|
*ProductCategoryApi* | [**showProductCategory**](docs/ProductCategoryApi.md#showproductcategory) | **GET** /admin-api/product-category/{productCategory} | Auto-generated: showProductCategory
|
|
@@ -329,6 +329,7 @@ All URIs are relative to *http://localhost/api*
|
|
|
329
329
|
- [FrontendComponentLiteResourceArrayResponse](docs/FrontendComponentLiteResourceArrayResponse.md)
|
|
330
330
|
- [FrontendComponentResource](docs/FrontendComponentResource.md)
|
|
331
331
|
- [FrontendComponentResourceArrayResponse](docs/FrontendComponentResourceArrayResponse.md)
|
|
332
|
+
- [GenerateGoogleFeedAdminRequest](docs/GenerateGoogleFeedAdminRequest.md)
|
|
332
333
|
- [GenericResponse](docs/GenericResponse.md)
|
|
333
334
|
- [GetAllAttributeRequest](docs/GetAllAttributeRequest.md)
|
|
334
335
|
- [GetAllAttributeValueRequest](docs/GetAllAttributeValueRequest.md)
|
|
@@ -347,7 +348,6 @@ All URIs are relative to *http://localhost/api*
|
|
|
347
348
|
- [GetAllProductTypeRequest](docs/GetAllProductTypeRequest.md)
|
|
348
349
|
- [GetAllStoreRequest](docs/GetAllStoreRequest.md)
|
|
349
350
|
- [GetAllSupplierRequest](docs/GetAllSupplierRequest.md)
|
|
350
|
-
- [GetHierarchyProductCategoryRequest](docs/GetHierarchyProductCategoryRequest.md)
|
|
351
351
|
- [GetUniqueEndpointsExternalApiLogRequest](docs/GetUniqueEndpointsExternalApiLogRequest.md)
|
|
352
352
|
- [GlobalSearchCategoryResource](docs/GlobalSearchCategoryResource.md)
|
|
353
353
|
- [GlobalSearchCategoryResourceArrayResponse](docs/GlobalSearchCategoryResourceArrayResponse.md)
|
|
@@ -582,6 +582,7 @@ All URIs are relative to *http://localhost/api*
|
|
|
582
582
|
- [StoreAttributeRequest](docs/StoreAttributeRequest.md)
|
|
583
583
|
- [StoreAttributeValueRequest](docs/StoreAttributeValueRequest.md)
|
|
584
584
|
- [StoreBlogCategoryRequest](docs/StoreBlogCategoryRequest.md)
|
|
585
|
+
- [StoreBlogCategoryRequestDescriptionsInner](docs/StoreBlogCategoryRequestDescriptionsInner.md)
|
|
585
586
|
- [StoreDefinitionRequest](docs/StoreDefinitionRequest.md)
|
|
586
587
|
- [StoreDocumentFileRequest](docs/StoreDocumentFileRequest.md)
|
|
587
588
|
- [StoreDocumentRequest](docs/StoreDocumentRequest.md)
|
|
@@ -598,10 +599,9 @@ All URIs are relative to *http://localhost/api*
|
|
|
598
599
|
- [StorePageComponentRequestRelationsInner](docs/StorePageComponentRequestRelationsInner.md)
|
|
599
600
|
- [StorePageRequest](docs/StorePageRequest.md)
|
|
600
601
|
- [StorePageRequestBlog](docs/StorePageRequestBlog.md)
|
|
602
|
+
- [StorePageRequestSeoInner](docs/StorePageRequestSeoInner.md)
|
|
601
603
|
- [StoreProductCategoryRequest](docs/StoreProductCategoryRequest.md)
|
|
602
604
|
- [StoreProductCategoryRequestAutomationRulesInner](docs/StoreProductCategoryRequestAutomationRulesInner.md)
|
|
603
|
-
- [StoreProductCategoryRequestDescriptionsInner](docs/StoreProductCategoryRequestDescriptionsInner.md)
|
|
604
|
-
- [StoreProductCategoryRequestSeoInner](docs/StoreProductCategoryRequestSeoInner.md)
|
|
605
605
|
- [StoreProductChildRequest](docs/StoreProductChildRequest.md)
|
|
606
606
|
- [StoreProductChildRequestAssetsInner](docs/StoreProductChildRequestAssetsInner.md)
|
|
607
607
|
- [StoreProductChildRequestAttributeValuesInner](docs/StoreProductChildRequestAttributeValuesInner.md)
|
|
@@ -685,7 +685,7 @@ and is automatically generated by the
|
|
|
685
685
|
[OpenAPI Generator](https://openapi-generator.tech) project:
|
|
686
686
|
|
|
687
687
|
- API version: `1.0.0`
|
|
688
|
-
- Package version: `0.0.
|
|
688
|
+
- Package version: `0.0.1676`
|
|
689
689
|
- Generator version: `7.21.0`
|
|
690
690
|
- Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
|
|
691
691
|
|
package/dist/apis/AdminApi.d.ts
CHANGED
|
@@ -10,15 +10,15 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type {
|
|
14
|
-
export interface
|
|
15
|
-
|
|
13
|
+
import type { GenerateGoogleFeedAdminRequest, GenericResponse } from '../models/index';
|
|
14
|
+
export interface GenerateGoogleFeedAdminOperationRequest {
|
|
15
|
+
generateGoogleFeedAdminRequest?: GenerateGoogleFeedAdminRequest;
|
|
16
16
|
}
|
|
17
17
|
export interface GenerateSocialFeedAdminRequest {
|
|
18
|
-
|
|
18
|
+
generateGoogleFeedAdminRequest?: GenerateGoogleFeedAdminRequest;
|
|
19
19
|
}
|
|
20
20
|
export interface GenerateTGNDataFeedAdminRequest {
|
|
21
|
-
|
|
21
|
+
generateGoogleFeedAdminRequest?: GenerateGoogleFeedAdminRequest;
|
|
22
22
|
}
|
|
23
23
|
/**
|
|
24
24
|
*
|
|
@@ -27,15 +27,15 @@ export declare class AdminApi extends runtime.BaseAPI {
|
|
|
27
27
|
/**
|
|
28
28
|
* Creates request options for generateGoogleFeedAdmin without sending the request
|
|
29
29
|
*/
|
|
30
|
-
generateGoogleFeedAdminRequestOpts(requestParameters:
|
|
30
|
+
generateGoogleFeedAdminRequestOpts(requestParameters: GenerateGoogleFeedAdminOperationRequest): Promise<runtime.RequestOpts>;
|
|
31
31
|
/**
|
|
32
32
|
* Auto-generated: generateGoogleFeedAdmin
|
|
33
33
|
*/
|
|
34
|
-
generateGoogleFeedAdminRaw(requestParameters:
|
|
34
|
+
generateGoogleFeedAdminRaw(requestParameters: GenerateGoogleFeedAdminOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GenericResponse>>;
|
|
35
35
|
/**
|
|
36
36
|
* Auto-generated: generateGoogleFeedAdmin
|
|
37
37
|
*/
|
|
38
|
-
generateGoogleFeedAdmin(requestParameters?:
|
|
38
|
+
generateGoogleFeedAdmin(requestParameters?: GenerateGoogleFeedAdminOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GenericResponse>;
|
|
39
39
|
/**
|
|
40
40
|
* Creates request options for generateSocialFeedAdmin without sending the request
|
|
41
41
|
*/
|
package/dist/apis/AdminApi.js
CHANGED
|
@@ -91,7 +91,7 @@ var AdminApi = /** @class */ (function (_super) {
|
|
|
91
91
|
method: 'POST',
|
|
92
92
|
headers: headerParameters,
|
|
93
93
|
query: queryParameters,
|
|
94
|
-
body: (0, index_1.
|
|
94
|
+
body: (0, index_1.GenerateGoogleFeedAdminRequestToJSON)(requestParameters['generateGoogleFeedAdminRequest']),
|
|
95
95
|
}];
|
|
96
96
|
});
|
|
97
97
|
});
|
|
@@ -149,7 +149,7 @@ var AdminApi = /** @class */ (function (_super) {
|
|
|
149
149
|
method: 'POST',
|
|
150
150
|
headers: headerParameters,
|
|
151
151
|
query: queryParameters,
|
|
152
|
-
body: (0, index_1.
|
|
152
|
+
body: (0, index_1.GenerateGoogleFeedAdminRequestToJSON)(requestParameters['generateGoogleFeedAdminRequest']),
|
|
153
153
|
}];
|
|
154
154
|
});
|
|
155
155
|
});
|
|
@@ -207,7 +207,7 @@ var AdminApi = /** @class */ (function (_super) {
|
|
|
207
207
|
method: 'POST',
|
|
208
208
|
headers: headerParameters,
|
|
209
209
|
query: queryParameters,
|
|
210
|
-
body: (0, index_1.
|
|
210
|
+
body: (0, index_1.GenerateGoogleFeedAdminRequestToJSON)(requestParameters['generateGoogleFeedAdminRequest']),
|
|
211
211
|
}];
|
|
212
212
|
});
|
|
213
213
|
});
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type { AttachProductsProductCategoryRequest, DetachProductsProductCategoryRequest, GenericResponse, GetAllProductCategoryRequest,
|
|
13
|
+
import type { AttachProductsProductCategoryRequest, DetachProductsProductCategoryRequest, GenerateGoogleFeedAdminRequest, GenericResponse, GetAllProductCategoryRequest, IndexProductCategoryRequest, PaginatedProductCategoryListResourceResponse, PreviewAutomationRulesProductCategoryRequest, PreviewAutomationRulesResource, ProductCategoryHierarchyResourceArrayResponse, ProductCategoryListResourceArrayResponse, ProductCategoryLiteResourceArrayResponse, ProductCategoryResource, StoreProductCategoryRequest, UpdateProductCategoryRequest } from '../models/index';
|
|
14
14
|
export interface AttachProductsProductCategoryOperationRequest {
|
|
15
15
|
productCategory: number;
|
|
16
16
|
attachProductsProductCategoryRequest?: AttachProductsProductCategoryRequest;
|
|
@@ -36,8 +36,8 @@ export interface GetChildrenProductCategoryRequest {
|
|
|
36
36
|
productCategory: number;
|
|
37
37
|
indexProductCategoryRequest?: IndexProductCategoryRequest;
|
|
38
38
|
}
|
|
39
|
-
export interface
|
|
40
|
-
|
|
39
|
+
export interface GetHierarchyProductCategoryRequest {
|
|
40
|
+
generateGoogleFeedAdminRequest?: GenerateGoogleFeedAdminRequest;
|
|
41
41
|
}
|
|
42
42
|
export interface IndexProductCategoryOperationRequest {
|
|
43
43
|
indexProductCategoryRequest?: IndexProductCategoryRequest;
|
|
@@ -146,15 +146,15 @@ export declare class ProductCategoryApi extends runtime.BaseAPI {
|
|
|
146
146
|
/**
|
|
147
147
|
* Creates request options for getHierarchyProductCategory without sending the request
|
|
148
148
|
*/
|
|
149
|
-
getHierarchyProductCategoryRequestOpts(requestParameters:
|
|
149
|
+
getHierarchyProductCategoryRequestOpts(requestParameters: GetHierarchyProductCategoryRequest): Promise<runtime.RequestOpts>;
|
|
150
150
|
/**
|
|
151
151
|
* Auto-generated: getHierarchyProductCategory
|
|
152
152
|
*/
|
|
153
|
-
getHierarchyProductCategoryRaw(requestParameters:
|
|
153
|
+
getHierarchyProductCategoryRaw(requestParameters: GetHierarchyProductCategoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ProductCategoryHierarchyResourceArrayResponse>>;
|
|
154
154
|
/**
|
|
155
155
|
* Auto-generated: getHierarchyProductCategory
|
|
156
156
|
*/
|
|
157
|
-
getHierarchyProductCategory(requestParameters?:
|
|
157
|
+
getHierarchyProductCategory(requestParameters?: GetHierarchyProductCategoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ProductCategoryHierarchyResourceArrayResponse>;
|
|
158
158
|
/**
|
|
159
159
|
* Creates request options for indexProductCategory without sending the request
|
|
160
160
|
*/
|
|
@@ -511,7 +511,7 @@ var ProductCategoryApi = /** @class */ (function (_super) {
|
|
|
511
511
|
method: 'POST',
|
|
512
512
|
headers: headerParameters,
|
|
513
513
|
query: queryParameters,
|
|
514
|
-
body: (0, index_1.
|
|
514
|
+
body: (0, index_1.GenerateGoogleFeedAdminRequestToJSON)(requestParameters['generateGoogleFeedAdminRequest']),
|
|
515
515
|
}];
|
|
516
516
|
});
|
|
517
517
|
});
|
|
@@ -22,6 +22,8 @@ exports.AddressFrontendResourceToJSONTyped = AddressFrontendResourceToJSONTyped;
|
|
|
22
22
|
* Check if a given object implements the AddressFrontendResource interface.
|
|
23
23
|
*/
|
|
24
24
|
function instanceOfAddressFrontendResource(value) {
|
|
25
|
+
if (!('company' in value) || value['company'] === undefined)
|
|
26
|
+
return false;
|
|
25
27
|
if (!('line1' in value) || value['line1'] === undefined)
|
|
26
28
|
return false;
|
|
27
29
|
if (!('postcode' in value) || value['postcode'] === undefined)
|
|
@@ -44,7 +46,7 @@ function AddressFrontendResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
44
46
|
return json;
|
|
45
47
|
}
|
|
46
48
|
return {
|
|
47
|
-
'company': json['company']
|
|
49
|
+
'company': json['company'],
|
|
48
50
|
'line1': json['line1'],
|
|
49
51
|
'line2': json['line2'] == null ? undefined : json['line2'],
|
|
50
52
|
'postcode': json['postcode'],
|
|
@@ -26,7 +26,7 @@ export interface AddressResource {
|
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof AddressResource
|
|
28
28
|
*/
|
|
29
|
-
company
|
|
29
|
+
company?: string | null;
|
|
30
30
|
/**
|
|
31
31
|
*
|
|
32
32
|
* @type {string}
|
|
@@ -38,7 +38,7 @@ export interface AddressResource {
|
|
|
38
38
|
* @type {string}
|
|
39
39
|
* @memberof AddressResource
|
|
40
40
|
*/
|
|
41
|
-
line2
|
|
41
|
+
line2: string;
|
|
42
42
|
/**
|
|
43
43
|
*
|
|
44
44
|
* @type {string}
|
|
@@ -22,10 +22,10 @@ exports.AddressResourceToJSONTyped = AddressResourceToJSONTyped;
|
|
|
22
22
|
* Check if a given object implements the AddressResource interface.
|
|
23
23
|
*/
|
|
24
24
|
function instanceOfAddressResource(value) {
|
|
25
|
-
if (!('company' in value) || value['company'] === undefined)
|
|
26
|
-
return false;
|
|
27
25
|
if (!('line1' in value) || value['line1'] === undefined)
|
|
28
26
|
return false;
|
|
27
|
+
if (!('line2' in value) || value['line2'] === undefined)
|
|
28
|
+
return false;
|
|
29
29
|
if (!('postcode' in value) || value['postcode'] === undefined)
|
|
30
30
|
return false;
|
|
31
31
|
if (!('suburb' in value) || value['suburb'] === undefined)
|
|
@@ -47,9 +47,9 @@ function AddressResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
47
47
|
}
|
|
48
48
|
return {
|
|
49
49
|
'id': json['id'] == null ? undefined : json['id'],
|
|
50
|
-
'company': json['company'],
|
|
50
|
+
'company': json['company'] == null ? undefined : json['company'],
|
|
51
51
|
'line1': json['line_1'],
|
|
52
|
-
'line2': json['line_2']
|
|
52
|
+
'line2': json['line_2'],
|
|
53
53
|
'postcode': json['postcode'],
|
|
54
54
|
'suburb': json['suburb'],
|
|
55
55
|
'country': json['country'],
|
|
@@ -37,6 +37,8 @@ function instanceOfExternalApiLogResource(value) {
|
|
|
37
37
|
return false;
|
|
38
38
|
if (!('responseCode' in value) || value['responseCode'] === undefined)
|
|
39
39
|
return false;
|
|
40
|
+
if (!('requestPayload' in value) || value['requestPayload'] === undefined)
|
|
41
|
+
return false;
|
|
40
42
|
if (!('responsePayload' in value) || value['responsePayload'] === undefined)
|
|
41
43
|
return false;
|
|
42
44
|
if (!('site' in value) || value['site'] === undefined)
|
|
@@ -58,7 +60,7 @@ function ExternalApiLogResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
58
60
|
'exteranlApiLoggableId': json['exteranlApiLoggableId'],
|
|
59
61
|
'endpoint': json['endpoint'],
|
|
60
62
|
'responseCode': json['responseCode'],
|
|
61
|
-
'requestPayload': json['requestPayload']
|
|
63
|
+
'requestPayload': json['requestPayload'],
|
|
62
64
|
'responsePayload': json['responsePayload'],
|
|
63
65
|
'createdAt': json['createdAt'] == null ? undefined : json['createdAt'],
|
|
64
66
|
'site': (0, SiteLiteResource_1.SiteLiteResourceFromJSON)(json['site']),
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* My API
|
|
3
|
+
* API documentation for my Laravel app
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface GenerateGoogleFeedAdminRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface GenerateGoogleFeedAdminRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof GenerateGoogleFeedAdminRequest
|
|
22
|
+
*/
|
|
23
|
+
siteId: number;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the GenerateGoogleFeedAdminRequest interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfGenerateGoogleFeedAdminRequest(value: object): value is GenerateGoogleFeedAdminRequest;
|
|
29
|
+
export declare function GenerateGoogleFeedAdminRequestFromJSON(json: any): GenerateGoogleFeedAdminRequest;
|
|
30
|
+
export declare function GenerateGoogleFeedAdminRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): GenerateGoogleFeedAdminRequest;
|
|
31
|
+
export declare function GenerateGoogleFeedAdminRequestToJSON(json: any): GenerateGoogleFeedAdminRequest;
|
|
32
|
+
export declare function GenerateGoogleFeedAdminRequestToJSONTyped(value?: GenerateGoogleFeedAdminRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* My API
|
|
6
|
+
* API documentation for my Laravel app
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfGenerateGoogleFeedAdminRequest = instanceOfGenerateGoogleFeedAdminRequest;
|
|
17
|
+
exports.GenerateGoogleFeedAdminRequestFromJSON = GenerateGoogleFeedAdminRequestFromJSON;
|
|
18
|
+
exports.GenerateGoogleFeedAdminRequestFromJSONTyped = GenerateGoogleFeedAdminRequestFromJSONTyped;
|
|
19
|
+
exports.GenerateGoogleFeedAdminRequestToJSON = GenerateGoogleFeedAdminRequestToJSON;
|
|
20
|
+
exports.GenerateGoogleFeedAdminRequestToJSONTyped = GenerateGoogleFeedAdminRequestToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the GenerateGoogleFeedAdminRequest interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfGenerateGoogleFeedAdminRequest(value) {
|
|
25
|
+
if (!('siteId' in value) || value['siteId'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function GenerateGoogleFeedAdminRequestFromJSON(json) {
|
|
30
|
+
return GenerateGoogleFeedAdminRequestFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function GenerateGoogleFeedAdminRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'siteId': json['site_id'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function GenerateGoogleFeedAdminRequestToJSON(json) {
|
|
41
|
+
return GenerateGoogleFeedAdminRequestToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function GenerateGoogleFeedAdminRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
44
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'site_id': value['siteId'],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type {
|
|
12
|
+
import type { StoreBlogCategoryRequestDescriptionsInner } from './StoreBlogCategoryRequestDescriptionsInner';
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
@@ -30,10 +30,10 @@ export interface StoreBlogCategoryRequest {
|
|
|
30
30
|
slug: string;
|
|
31
31
|
/**
|
|
32
32
|
*
|
|
33
|
-
* @type {Array<
|
|
33
|
+
* @type {Array<StoreBlogCategoryRequestDescriptionsInner>}
|
|
34
34
|
* @memberof StoreBlogCategoryRequest
|
|
35
35
|
*/
|
|
36
|
-
descriptions: Array<
|
|
36
|
+
descriptions: Array<StoreBlogCategoryRequestDescriptionsInner>;
|
|
37
37
|
}
|
|
38
38
|
/**
|
|
39
39
|
* Check if a given object implements the StoreBlogCategoryRequest interface.
|
|
@@ -18,7 +18,7 @@ exports.StoreBlogCategoryRequestFromJSON = StoreBlogCategoryRequestFromJSON;
|
|
|
18
18
|
exports.StoreBlogCategoryRequestFromJSONTyped = StoreBlogCategoryRequestFromJSONTyped;
|
|
19
19
|
exports.StoreBlogCategoryRequestToJSON = StoreBlogCategoryRequestToJSON;
|
|
20
20
|
exports.StoreBlogCategoryRequestToJSONTyped = StoreBlogCategoryRequestToJSONTyped;
|
|
21
|
-
var
|
|
21
|
+
var StoreBlogCategoryRequestDescriptionsInner_1 = require("./StoreBlogCategoryRequestDescriptionsInner");
|
|
22
22
|
/**
|
|
23
23
|
* Check if a given object implements the StoreBlogCategoryRequest interface.
|
|
24
24
|
*/
|
|
@@ -41,7 +41,7 @@ function StoreBlogCategoryRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
41
41
|
return {
|
|
42
42
|
'name': json['name'],
|
|
43
43
|
'slug': json['slug'],
|
|
44
|
-
'descriptions': (json['descriptions'].map(
|
|
44
|
+
'descriptions': (json['descriptions'].map(StoreBlogCategoryRequestDescriptionsInner_1.StoreBlogCategoryRequestDescriptionsInnerFromJSON)),
|
|
45
45
|
};
|
|
46
46
|
}
|
|
47
47
|
function StoreBlogCategoryRequestToJSON(json) {
|
|
@@ -55,6 +55,6 @@ function StoreBlogCategoryRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
|
55
55
|
return {
|
|
56
56
|
'name': value['name'],
|
|
57
57
|
'slug': value['slug'],
|
|
58
|
-
'descriptions': (value['descriptions'].map(
|
|
58
|
+
'descriptions': (value['descriptions'].map(StoreBlogCategoryRequestDescriptionsInner_1.StoreBlogCategoryRequestDescriptionsInnerToJSON)),
|
|
59
59
|
};
|
|
60
60
|
}
|
|
@@ -0,0 +1,44 @@
|
|
|
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 StoreBlogCategoryRequestDescriptionsInner
|
|
16
|
+
*/
|
|
17
|
+
export interface StoreBlogCategoryRequestDescriptionsInner {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof StoreBlogCategoryRequestDescriptionsInner
|
|
22
|
+
*/
|
|
23
|
+
headerDescription?: string | null;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof StoreBlogCategoryRequestDescriptionsInner
|
|
28
|
+
*/
|
|
29
|
+
footerDescription?: string | null;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof StoreBlogCategoryRequestDescriptionsInner
|
|
34
|
+
*/
|
|
35
|
+
siteId: number;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the StoreBlogCategoryRequestDescriptionsInner interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfStoreBlogCategoryRequestDescriptionsInner(value: object): value is StoreBlogCategoryRequestDescriptionsInner;
|
|
41
|
+
export declare function StoreBlogCategoryRequestDescriptionsInnerFromJSON(json: any): StoreBlogCategoryRequestDescriptionsInner;
|
|
42
|
+
export declare function StoreBlogCategoryRequestDescriptionsInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): StoreBlogCategoryRequestDescriptionsInner;
|
|
43
|
+
export declare function StoreBlogCategoryRequestDescriptionsInnerToJSON(json: any): StoreBlogCategoryRequestDescriptionsInner;
|
|
44
|
+
export declare function StoreBlogCategoryRequestDescriptionsInnerToJSONTyped(value?: StoreBlogCategoryRequestDescriptionsInner | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,55 @@
|
|
|
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.instanceOfStoreBlogCategoryRequestDescriptionsInner = instanceOfStoreBlogCategoryRequestDescriptionsInner;
|
|
17
|
+
exports.StoreBlogCategoryRequestDescriptionsInnerFromJSON = StoreBlogCategoryRequestDescriptionsInnerFromJSON;
|
|
18
|
+
exports.StoreBlogCategoryRequestDescriptionsInnerFromJSONTyped = StoreBlogCategoryRequestDescriptionsInnerFromJSONTyped;
|
|
19
|
+
exports.StoreBlogCategoryRequestDescriptionsInnerToJSON = StoreBlogCategoryRequestDescriptionsInnerToJSON;
|
|
20
|
+
exports.StoreBlogCategoryRequestDescriptionsInnerToJSONTyped = StoreBlogCategoryRequestDescriptionsInnerToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the StoreBlogCategoryRequestDescriptionsInner interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfStoreBlogCategoryRequestDescriptionsInner(value) {
|
|
25
|
+
if (!('siteId' in value) || value['siteId'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function StoreBlogCategoryRequestDescriptionsInnerFromJSON(json) {
|
|
30
|
+
return StoreBlogCategoryRequestDescriptionsInnerFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function StoreBlogCategoryRequestDescriptionsInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'headerDescription': json['header_description'] == null ? undefined : json['header_description'],
|
|
38
|
+
'footerDescription': json['footer_description'] == null ? undefined : json['footer_description'],
|
|
39
|
+
'siteId': json['site_id'],
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
function StoreBlogCategoryRequestDescriptionsInnerToJSON(json) {
|
|
43
|
+
return StoreBlogCategoryRequestDescriptionsInnerToJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
function StoreBlogCategoryRequestDescriptionsInnerToJSONTyped(value, ignoreDiscriminator) {
|
|
46
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'header_description': value['headerDescription'],
|
|
52
|
+
'footer_description': value['footerDescription'],
|
|
53
|
+
'site_id': value['siteId'],
|
|
54
|
+
};
|
|
55
|
+
}
|
|
@@ -28,8 +28,6 @@ function instanceOfStoreFrontendResource(value) {
|
|
|
28
28
|
return false;
|
|
29
29
|
if (!('email' in value) || value['email'] === undefined)
|
|
30
30
|
return false;
|
|
31
|
-
if (!('website' in value) || value['website'] === undefined)
|
|
32
|
-
return false;
|
|
33
31
|
if (!('phone' in value) || value['phone'] === undefined)
|
|
34
32
|
return false;
|
|
35
33
|
if (!('latitude' in value) || value['latitude'] === undefined)
|
|
@@ -56,7 +54,7 @@ function StoreFrontendResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
56
54
|
'siteId': json['siteId'],
|
|
57
55
|
'name': json['name'],
|
|
58
56
|
'email': json['email'],
|
|
59
|
-
'website': json['website'],
|
|
57
|
+
'website': json['website'] == null ? undefined : json['website'],
|
|
60
58
|
'phone': json['phone'],
|
|
61
59
|
'address': json['address'] == null ? undefined : json['address'],
|
|
62
60
|
'latitude': json['latitude'],
|