@digital8/lighting-illusions-ts-sdk 0.0.1605 → 0.0.1606
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 +0 -14
- package/README.md +2 -9
- package/dist/apis/index.d.ts +0 -1
- package/dist/apis/index.js +0 -1
- package/dist/models/AddressResource.d.ts +1 -1
- package/dist/models/AddressResource.js +3 -1
- package/dist/models/StoreFrontendResource.d.ts +6 -0
- package/dist/models/StoreFrontendResource.js +2 -0
- package/dist/models/StoreListResource.d.ts +7 -1
- package/dist/models/StoreListResource.js +7 -1
- package/dist/models/StoreResource.d.ts +7 -1
- package/dist/models/StoreResource.js +3 -3
- package/dist/models/StoreStoreRequest.d.ts +6 -0
- package/dist/models/StoreStoreRequest.js +2 -0
- package/dist/models/UpdateStoreRequest.d.ts +6 -0
- package/dist/models/UpdateStoreRequest.js +2 -0
- package/dist/models/index.d.ts +0 -6
- package/dist/models/index.js +0 -6
- package/docs/StoreFrontendResource.md +2 -0
- package/docs/StoreListResource.md +2 -0
- package/docs/StoreResource.md +2 -0
- package/docs/StoreStoreRequest.md +2 -0
- package/docs/UpdateStoreRequest.md +2 -0
- package/package.json +1 -1
- package/src/apis/index.ts +0 -1
- package/src/models/AddressResource.ts +3 -2
- package/src/models/StoreFrontendResource.ts +8 -0
- package/src/models/StoreListResource.ts +12 -2
- package/src/models/StoreResource.ts +10 -3
- package/src/models/StoreStoreRequest.ts +8 -0
- package/src/models/UpdateStoreRequest.ts +8 -0
- package/src/models/index.ts +0 -6
- package/dist/apis/RedirectApi.d.ts +0 -33
- package/dist/apis/RedirectApi.js +0 -138
- package/dist/models/IndexRedirectRequest.d.ts +0 -124
- package/dist/models/IndexRedirectRequest.js +0 -95
- package/dist/models/PaginatedRedirectListResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedRedirectListResourceResponse.js +0 -57
- package/dist/models/RedirectFrontendResource.d.ts +0 -62
- package/dist/models/RedirectFrontendResource.js +0 -71
- package/dist/models/RedirectFrontendResourceArrayResponse.d.ts +0 -33
- package/dist/models/RedirectFrontendResourceArrayResponse.js +0 -50
- package/dist/models/RedirectListResource.d.ts +0 -69
- package/dist/models/RedirectListResource.js +0 -76
- package/dist/models/RedirectListResourceArrayResponse.d.ts +0 -33
- package/dist/models/RedirectListResourceArrayResponse.js +0 -50
- package/docs/IndexRedirectRequest.md +0 -56
- package/docs/PaginatedRedirectListResourceResponse.md +0 -36
- package/docs/RedirectApi.md +0 -74
- package/docs/RedirectFrontendResource.md +0 -44
- package/docs/RedirectFrontendResourceArrayResponse.md +0 -34
- package/docs/RedirectListResource.md +0 -46
- package/docs/RedirectListResourceArrayResponse.md +0 -34
- package/src/apis/RedirectApi.ts +0 -77
- package/src/models/IndexRedirectRequest.ts +0 -184
- package/src/models/PaginatedRedirectListResourceResponse.ts +0 -90
- package/src/models/RedirectFrontendResource.ts +0 -111
- package/src/models/RedirectFrontendResourceArrayResponse.ts +0 -73
- package/src/models/RedirectListResource.ts +0 -128
- package/src/models/RedirectListResourceArrayResponse.ts +0 -73
package/.openapi-generator/FILES
CHANGED
|
@@ -130,7 +130,6 @@ docs/IndexProductChildRequest.md
|
|
|
130
130
|
docs/IndexProductRangeRequest.md
|
|
131
131
|
docs/IndexProductRequest.md
|
|
132
132
|
docs/IndexProductTypeRequest.md
|
|
133
|
-
docs/IndexRedirectRequest.md
|
|
134
133
|
docs/IndexSiteNotificationRequest.md
|
|
135
134
|
docs/IndexSiteRequest.md
|
|
136
135
|
docs/IndexStoreRequest.md
|
|
@@ -197,7 +196,6 @@ docs/PaginatedProductSearchResultResourceResponse.md
|
|
|
197
196
|
docs/PaginatedProductTypeListResourceResponse.md
|
|
198
197
|
docs/PaginatedProductTypeLiteResourceResponse.md
|
|
199
198
|
docs/PaginatedProductTypeResourceResponse.md
|
|
200
|
-
docs/PaginatedRedirectListResourceResponse.md
|
|
201
199
|
docs/PaginatedSiteListResourceResponse.md
|
|
202
200
|
docs/PaginatedSiteLiteResourceResponse.md
|
|
203
201
|
docs/PaginatedSiteNotificationListResourceResponse.md
|
|
@@ -294,11 +292,6 @@ docs/ProductTypeLiteResource.md
|
|
|
294
292
|
docs/ProductTypeLiteResourceArrayResponse.md
|
|
295
293
|
docs/ProductTypeResource.md
|
|
296
294
|
docs/ProductTypeResourceArrayResponse.md
|
|
297
|
-
docs/RedirectApi.md
|
|
298
|
-
docs/RedirectFrontendResource.md
|
|
299
|
-
docs/RedirectFrontendResourceArrayResponse.md
|
|
300
|
-
docs/RedirectListResource.md
|
|
301
|
-
docs/RedirectListResourceArrayResponse.md
|
|
302
295
|
docs/SEOResource.md
|
|
303
296
|
docs/SEOResourceArrayResponse.md
|
|
304
297
|
docs/ShowAssetsProductChildRequest.md
|
|
@@ -422,7 +415,6 @@ src/apis/ProductApi.ts
|
|
|
422
415
|
src/apis/ProductCategoryApi.ts
|
|
423
416
|
src/apis/ProductRangeApi.ts
|
|
424
417
|
src/apis/ProductTypeApi.ts
|
|
425
|
-
src/apis/RedirectApi.ts
|
|
426
418
|
src/apis/SiteApi.ts
|
|
427
419
|
src/apis/StoreApi.ts
|
|
428
420
|
src/apis/SupplierApi.ts
|
|
@@ -550,7 +542,6 @@ src/models/IndexProductChildRequest.ts
|
|
|
550
542
|
src/models/IndexProductRangeRequest.ts
|
|
551
543
|
src/models/IndexProductRequest.ts
|
|
552
544
|
src/models/IndexProductTypeRequest.ts
|
|
553
|
-
src/models/IndexRedirectRequest.ts
|
|
554
545
|
src/models/IndexSiteNotificationRequest.ts
|
|
555
546
|
src/models/IndexSiteRequest.ts
|
|
556
547
|
src/models/IndexStoreRequest.ts
|
|
@@ -615,7 +606,6 @@ src/models/PaginatedProductSearchResultResourceResponse.ts
|
|
|
615
606
|
src/models/PaginatedProductTypeListResourceResponse.ts
|
|
616
607
|
src/models/PaginatedProductTypeLiteResourceResponse.ts
|
|
617
608
|
src/models/PaginatedProductTypeResourceResponse.ts
|
|
618
|
-
src/models/PaginatedRedirectListResourceResponse.ts
|
|
619
609
|
src/models/PaginatedSiteListResourceResponse.ts
|
|
620
610
|
src/models/PaginatedSiteLiteResourceResponse.ts
|
|
621
611
|
src/models/PaginatedSiteNotificationListResourceResponse.ts
|
|
@@ -708,10 +698,6 @@ src/models/ProductTypeLiteResource.ts
|
|
|
708
698
|
src/models/ProductTypeLiteResourceArrayResponse.ts
|
|
709
699
|
src/models/ProductTypeResource.ts
|
|
710
700
|
src/models/ProductTypeResourceArrayResponse.ts
|
|
711
|
-
src/models/RedirectFrontendResource.ts
|
|
712
|
-
src/models/RedirectFrontendResourceArrayResponse.ts
|
|
713
|
-
src/models/RedirectListResource.ts
|
|
714
|
-
src/models/RedirectListResourceArrayResponse.ts
|
|
715
701
|
src/models/SEOResource.ts
|
|
716
702
|
src/models/SEOResourceArrayResponse.ts
|
|
717
703
|
src/models/ShowAssetsProductChildRequest.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.1606
|
|
2
2
|
|
|
3
3
|
A TypeScript SDK client for the localhost API.
|
|
4
4
|
|
|
@@ -171,7 +171,6 @@ All URIs are relative to *http://localhost/api*
|
|
|
171
171
|
*ProductTypeApi* | [**storeProductType**](docs/ProductTypeApi.md#storeproducttypeoperation) | **POST** /admin-api/product-type/create | Auto-generated: storeProductType
|
|
172
172
|
*ProductTypeApi* | [**updateAttachedAttributeProductType**](docs/ProductTypeApi.md#updateattachedattributeproducttype) | **PUT** /admin-api/product-type/{productType}/update-attribute | Auto-generated: updateAttachedAttributeProductType
|
|
173
173
|
*ProductTypeApi* | [**updateProductType**](docs/ProductTypeApi.md#updateproducttypeoperation) | **PUT** /admin-api/product-type/{productType}/update | Auto-generated: updateProductType
|
|
174
|
-
*RedirectApi* | [**indexRedirect**](docs/RedirectApi.md#indexredirectoperation) | **POST** /admin-api/redirect/list | Auto-generated: indexRedirect
|
|
175
174
|
*SiteApi* | [**destroySiteNotification**](docs/SiteApi.md#destroysitenotification) | **DELETE** /admin-api/site/notification/{siteNotification}/delete | Auto-generated: destroySiteNotification
|
|
176
175
|
*SiteApi* | [**getAllSite**](docs/SiteApi.md#getallsite) | **POST** /admin-api/site/all | Auto-generated: getAllSite
|
|
177
176
|
*SiteApi* | [**indexSite**](docs/SiteApi.md#indexsiteoperation) | **POST** /admin-api/site/list | Auto-generated: indexSite
|
|
@@ -334,7 +333,6 @@ All URIs are relative to *http://localhost/api*
|
|
|
334
333
|
- [IndexProductRangeRequest](docs/IndexProductRangeRequest.md)
|
|
335
334
|
- [IndexProductRequest](docs/IndexProductRequest.md)
|
|
336
335
|
- [IndexProductTypeRequest](docs/IndexProductTypeRequest.md)
|
|
337
|
-
- [IndexRedirectRequest](docs/IndexRedirectRequest.md)
|
|
338
336
|
- [IndexSiteNotificationRequest](docs/IndexSiteNotificationRequest.md)
|
|
339
337
|
- [IndexSiteRequest](docs/IndexSiteRequest.md)
|
|
340
338
|
- [IndexStoreRequest](docs/IndexStoreRequest.md)
|
|
@@ -399,7 +397,6 @@ All URIs are relative to *http://localhost/api*
|
|
|
399
397
|
- [PaginatedProductTypeListResourceResponse](docs/PaginatedProductTypeListResourceResponse.md)
|
|
400
398
|
- [PaginatedProductTypeLiteResourceResponse](docs/PaginatedProductTypeLiteResourceResponse.md)
|
|
401
399
|
- [PaginatedProductTypeResourceResponse](docs/PaginatedProductTypeResourceResponse.md)
|
|
402
|
-
- [PaginatedRedirectListResourceResponse](docs/PaginatedRedirectListResourceResponse.md)
|
|
403
400
|
- [PaginatedSiteListResourceResponse](docs/PaginatedSiteListResourceResponse.md)
|
|
404
401
|
- [PaginatedSiteLiteResourceResponse](docs/PaginatedSiteLiteResourceResponse.md)
|
|
405
402
|
- [PaginatedSiteNotificationListResourceResponse](docs/PaginatedSiteNotificationListResourceResponse.md)
|
|
@@ -492,10 +489,6 @@ All URIs are relative to *http://localhost/api*
|
|
|
492
489
|
- [ProductTypeLiteResourceArrayResponse](docs/ProductTypeLiteResourceArrayResponse.md)
|
|
493
490
|
- [ProductTypeResource](docs/ProductTypeResource.md)
|
|
494
491
|
- [ProductTypeResourceArrayResponse](docs/ProductTypeResourceArrayResponse.md)
|
|
495
|
-
- [RedirectFrontendResource](docs/RedirectFrontendResource.md)
|
|
496
|
-
- [RedirectFrontendResourceArrayResponse](docs/RedirectFrontendResourceArrayResponse.md)
|
|
497
|
-
- [RedirectListResource](docs/RedirectListResource.md)
|
|
498
|
-
- [RedirectListResourceArrayResponse](docs/RedirectListResourceArrayResponse.md)
|
|
499
492
|
- [SEOResource](docs/SEOResource.md)
|
|
500
493
|
- [SEOResourceArrayResponse](docs/SEOResourceArrayResponse.md)
|
|
501
494
|
- [ShowAssetsProductChildRequest](docs/ShowAssetsProductChildRequest.md)
|
|
@@ -614,7 +607,7 @@ and is automatically generated by the
|
|
|
614
607
|
[OpenAPI Generator](https://openapi-generator.tech) project:
|
|
615
608
|
|
|
616
609
|
- API version: `1.0.0`
|
|
617
|
-
- Package version: `0.0.
|
|
610
|
+
- Package version: `0.0.1606`
|
|
618
611
|
- Generator version: `7.21.0`
|
|
619
612
|
- Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
|
|
620
613
|
|
package/dist/apis/index.d.ts
CHANGED
|
@@ -11,7 +11,6 @@ export * from './ProductApi';
|
|
|
11
11
|
export * from './ProductCategoryApi';
|
|
12
12
|
export * from './ProductRangeApi';
|
|
13
13
|
export * from './ProductTypeApi';
|
|
14
|
-
export * from './RedirectApi';
|
|
15
14
|
export * from './SiteApi';
|
|
16
15
|
export * from './StoreApi';
|
|
17
16
|
export * from './SupplierApi';
|
package/dist/apis/index.js
CHANGED
|
@@ -29,7 +29,6 @@ __exportStar(require("./ProductApi"), exports);
|
|
|
29
29
|
__exportStar(require("./ProductCategoryApi"), exports);
|
|
30
30
|
__exportStar(require("./ProductRangeApi"), exports);
|
|
31
31
|
__exportStar(require("./ProductTypeApi"), exports);
|
|
32
|
-
__exportStar(require("./RedirectApi"), exports);
|
|
33
32
|
__exportStar(require("./SiteApi"), exports);
|
|
34
33
|
__exportStar(require("./StoreApi"), exports);
|
|
35
34
|
__exportStar(require("./SupplierApi"), exports);
|
|
@@ -26,6 +26,8 @@ function instanceOfAddressResource(value) {
|
|
|
26
26
|
return false;
|
|
27
27
|
if (!('line1' in value) || value['line1'] === undefined)
|
|
28
28
|
return false;
|
|
29
|
+
if (!('line2' in value) || value['line2'] === undefined)
|
|
30
|
+
return false;
|
|
29
31
|
if (!('postcode' in value) || value['postcode'] === undefined)
|
|
30
32
|
return false;
|
|
31
33
|
if (!('suburb' in value) || value['suburb'] === undefined)
|
|
@@ -49,7 +51,7 @@ function AddressResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
49
51
|
'id': json['id'] == null ? undefined : json['id'],
|
|
50
52
|
'company': json['company'],
|
|
51
53
|
'line1': json['line_1'],
|
|
52
|
-
'line2': json['line_2']
|
|
54
|
+
'line2': json['line_2'],
|
|
53
55
|
'postcode': json['postcode'],
|
|
54
56
|
'suburb': json['suburb'],
|
|
55
57
|
'country': json['country'],
|
|
@@ -54,6 +54,7 @@ function StoreFrontendResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
54
54
|
'siteId': json['siteId'],
|
|
55
55
|
'name': json['name'],
|
|
56
56
|
'email': json['email'],
|
|
57
|
+
'website': json['website'] == null ? undefined : json['website'],
|
|
57
58
|
'phone': json['phone'],
|
|
58
59
|
'address': json['address'] == null ? undefined : json['address'],
|
|
59
60
|
'latitude': json['latitude'],
|
|
@@ -77,6 +78,7 @@ function StoreFrontendResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
|
77
78
|
'siteId': value['siteId'],
|
|
78
79
|
'name': value['name'],
|
|
79
80
|
'email': value['email'],
|
|
81
|
+
'website': value['website'],
|
|
80
82
|
'phone': value['phone'],
|
|
81
83
|
'address': value['address'],
|
|
82
84
|
'latitude': value['latitude'],
|
|
@@ -57,13 +57,19 @@ export interface StoreListResource {
|
|
|
57
57
|
* @type {string}
|
|
58
58
|
* @memberof StoreListResource
|
|
59
59
|
*/
|
|
60
|
-
tagLine
|
|
60
|
+
tagLine: string;
|
|
61
61
|
/**
|
|
62
62
|
*
|
|
63
63
|
* @type {string}
|
|
64
64
|
* @memberof StoreListResource
|
|
65
65
|
*/
|
|
66
66
|
email: string;
|
|
67
|
+
/**
|
|
68
|
+
*
|
|
69
|
+
* @type {string}
|
|
70
|
+
* @memberof StoreListResource
|
|
71
|
+
*/
|
|
72
|
+
website: string;
|
|
67
73
|
/**
|
|
68
74
|
*
|
|
69
75
|
* @type {string}
|
|
@@ -33,8 +33,12 @@ function instanceOfStoreListResource(value) {
|
|
|
33
33
|
return false;
|
|
34
34
|
if (!('latitude' in value) || value['latitude'] === undefined)
|
|
35
35
|
return false;
|
|
36
|
+
if (!('tagLine' in value) || value['tagLine'] === undefined)
|
|
37
|
+
return false;
|
|
36
38
|
if (!('email' in value) || value['email'] === undefined)
|
|
37
39
|
return false;
|
|
40
|
+
if (!('website' in value) || value['website'] === undefined)
|
|
41
|
+
return false;
|
|
38
42
|
return true;
|
|
39
43
|
}
|
|
40
44
|
function StoreListResourceFromJSON(json) {
|
|
@@ -51,8 +55,9 @@ function StoreListResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
51
55
|
'phone': json['phone'],
|
|
52
56
|
'longitude': json['longitude'],
|
|
53
57
|
'latitude': json['latitude'],
|
|
54
|
-
'tagLine': json['tag_line']
|
|
58
|
+
'tagLine': json['tag_line'],
|
|
55
59
|
'email': json['email'],
|
|
60
|
+
'website': json['website'],
|
|
56
61
|
'openingHours': json['opening_hours'] == null ? undefined : json['opening_hours'],
|
|
57
62
|
};
|
|
58
63
|
}
|
|
@@ -73,6 +78,7 @@ function StoreListResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
|
73
78
|
'latitude': value['latitude'],
|
|
74
79
|
'tag_line': value['tagLine'],
|
|
75
80
|
'email': value['email'],
|
|
81
|
+
'website': value['website'],
|
|
76
82
|
'opening_hours': value['openingHours'],
|
|
77
83
|
};
|
|
78
84
|
}
|
|
@@ -60,13 +60,19 @@ export interface StoreResource {
|
|
|
60
60
|
* @type {string}
|
|
61
61
|
* @memberof StoreResource
|
|
62
62
|
*/
|
|
63
|
-
tagLine
|
|
63
|
+
tagLine?: string | null;
|
|
64
64
|
/**
|
|
65
65
|
*
|
|
66
66
|
* @type {string}
|
|
67
67
|
* @memberof StoreResource
|
|
68
68
|
*/
|
|
69
69
|
email: string;
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
* @type {string}
|
|
73
|
+
* @memberof StoreResource
|
|
74
|
+
*/
|
|
75
|
+
website?: string | null;
|
|
70
76
|
/**
|
|
71
77
|
*
|
|
72
78
|
* @type {string}
|
|
@@ -36,8 +36,6 @@ function instanceOfStoreResource(value) {
|
|
|
36
36
|
return false;
|
|
37
37
|
if (!('latitude' in value) || value['latitude'] === undefined)
|
|
38
38
|
return false;
|
|
39
|
-
if (!('tagLine' in value) || value['tagLine'] === undefined)
|
|
40
|
-
return false;
|
|
41
39
|
if (!('email' in value) || value['email'] === undefined)
|
|
42
40
|
return false;
|
|
43
41
|
if (!('suppliers' in value) || value['suppliers'] === undefined)
|
|
@@ -62,8 +60,9 @@ function StoreResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
62
60
|
'phone': json['phone'],
|
|
63
61
|
'longitude': json['longitude'],
|
|
64
62
|
'latitude': json['latitude'],
|
|
65
|
-
'tagLine': json['tag_line'],
|
|
63
|
+
'tagLine': json['tag_line'] == null ? undefined : json['tag_line'],
|
|
66
64
|
'email': json['email'],
|
|
65
|
+
'website': json['website'] == null ? undefined : json['website'],
|
|
67
66
|
'openingHours': json['opening_hours'] == null ? undefined : json['opening_hours'],
|
|
68
67
|
'suppliers': (json['suppliers'] == null ? null : json['suppliers'].map(SupplierLiteResource_1.SupplierLiteResourceFromJSON)),
|
|
69
68
|
'address': (0, AddressResource_1.AddressResourceFromJSON)(json['address']),
|
|
@@ -87,6 +86,7 @@ function StoreResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
|
87
86
|
'latitude': value['latitude'],
|
|
88
87
|
'tag_line': value['tagLine'],
|
|
89
88
|
'email': value['email'],
|
|
89
|
+
'website': value['website'],
|
|
90
90
|
'opening_hours': value['openingHours'],
|
|
91
91
|
'suppliers': (value['suppliers'] == null ? null : value['suppliers'].map(SupplierLiteResource_1.SupplierLiteResourceToJSON)),
|
|
92
92
|
'address': (0, AddressResource_1.AddressResourceToJSON)(value['address']),
|
|
@@ -53,6 +53,7 @@ function StoreStoreRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
53
53
|
'latitude': json['latitude'],
|
|
54
54
|
'tagLine': json['tag_line'] == null ? undefined : json['tag_line'],
|
|
55
55
|
'email': json['email'] == null ? undefined : json['email'],
|
|
56
|
+
'website': json['website'] == null ? undefined : json['website'],
|
|
56
57
|
'openingHours': json['opening_hours'] == null ? undefined : json['opening_hours'],
|
|
57
58
|
'supplierIds': json['supplier_ids'] == null ? undefined : json['supplier_ids'],
|
|
58
59
|
'specialDates': json['special_dates'] == null ? undefined : (json['special_dates'].map(StoreStoreRequestSpecialDatesInner_1.StoreStoreRequestSpecialDatesInnerFromJSON)),
|
|
@@ -75,6 +76,7 @@ function StoreStoreRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
|
75
76
|
'latitude': value['latitude'],
|
|
76
77
|
'tag_line': value['tagLine'],
|
|
77
78
|
'email': value['email'],
|
|
79
|
+
'website': value['website'],
|
|
78
80
|
'opening_hours': value['openingHours'],
|
|
79
81
|
'supplier_ids': value['supplierIds'],
|
|
80
82
|
'special_dates': value['specialDates'] == null ? undefined : (value['specialDates'].map(StoreStoreRequestSpecialDatesInner_1.StoreStoreRequestSpecialDatesInnerToJSON)),
|
|
@@ -53,6 +53,7 @@ function UpdateStoreRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
53
53
|
'latitude': json['latitude'],
|
|
54
54
|
'tagLine': json['tag_line'] == null ? undefined : json['tag_line'],
|
|
55
55
|
'email': json['email'] == null ? undefined : json['email'],
|
|
56
|
+
'website': json['website'] == null ? undefined : json['website'],
|
|
56
57
|
'openingHours': json['opening_hours'] == null ? undefined : json['opening_hours'],
|
|
57
58
|
'supplierIds': json['supplier_ids'] == null ? undefined : json['supplier_ids'],
|
|
58
59
|
'specialDates': json['special_dates'] == null ? undefined : (json['special_dates'].map(UpdateStoreRequestSpecialDatesInner_1.UpdateStoreRequestSpecialDatesInnerFromJSON)),
|
|
@@ -75,6 +76,7 @@ function UpdateStoreRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
|
75
76
|
'latitude': value['latitude'],
|
|
76
77
|
'tag_line': value['tagLine'],
|
|
77
78
|
'email': value['email'],
|
|
79
|
+
'website': value['website'],
|
|
78
80
|
'opening_hours': value['openingHours'],
|
|
79
81
|
'supplier_ids': value['supplierIds'],
|
|
80
82
|
'special_dates': value['specialDates'] == null ? undefined : (value['specialDates'].map(UpdateStoreRequestSpecialDatesInner_1.UpdateStoreRequestSpecialDatesInnerToJSON)),
|
package/dist/models/index.d.ts
CHANGED
|
@@ -119,7 +119,6 @@ export * from './IndexProductChildRequest';
|
|
|
119
119
|
export * from './IndexProductRangeRequest';
|
|
120
120
|
export * from './IndexProductRequest';
|
|
121
121
|
export * from './IndexProductTypeRequest';
|
|
122
|
-
export * from './IndexRedirectRequest';
|
|
123
122
|
export * from './IndexSiteNotificationRequest';
|
|
124
123
|
export * from './IndexSiteRequest';
|
|
125
124
|
export * from './IndexStoreRequest';
|
|
@@ -184,7 +183,6 @@ export * from './PaginatedProductSearchResultResourceResponse';
|
|
|
184
183
|
export * from './PaginatedProductTypeListResourceResponse';
|
|
185
184
|
export * from './PaginatedProductTypeLiteResourceResponse';
|
|
186
185
|
export * from './PaginatedProductTypeResourceResponse';
|
|
187
|
-
export * from './PaginatedRedirectListResourceResponse';
|
|
188
186
|
export * from './PaginatedSiteListResourceResponse';
|
|
189
187
|
export * from './PaginatedSiteLiteResourceResponse';
|
|
190
188
|
export * from './PaginatedSiteNotificationListResourceResponse';
|
|
@@ -277,10 +275,6 @@ export * from './ProductTypeLiteResource';
|
|
|
277
275
|
export * from './ProductTypeLiteResourceArrayResponse';
|
|
278
276
|
export * from './ProductTypeResource';
|
|
279
277
|
export * from './ProductTypeResourceArrayResponse';
|
|
280
|
-
export * from './RedirectFrontendResource';
|
|
281
|
-
export * from './RedirectFrontendResourceArrayResponse';
|
|
282
|
-
export * from './RedirectListResource';
|
|
283
|
-
export * from './RedirectListResourceArrayResponse';
|
|
284
278
|
export * from './SEOResource';
|
|
285
279
|
export * from './SEOResourceArrayResponse';
|
|
286
280
|
export * from './ShowAssetsProductChildRequest';
|
package/dist/models/index.js
CHANGED
|
@@ -137,7 +137,6 @@ __exportStar(require("./IndexProductChildRequest"), exports);
|
|
|
137
137
|
__exportStar(require("./IndexProductRangeRequest"), exports);
|
|
138
138
|
__exportStar(require("./IndexProductRequest"), exports);
|
|
139
139
|
__exportStar(require("./IndexProductTypeRequest"), exports);
|
|
140
|
-
__exportStar(require("./IndexRedirectRequest"), exports);
|
|
141
140
|
__exportStar(require("./IndexSiteNotificationRequest"), exports);
|
|
142
141
|
__exportStar(require("./IndexSiteRequest"), exports);
|
|
143
142
|
__exportStar(require("./IndexStoreRequest"), exports);
|
|
@@ -202,7 +201,6 @@ __exportStar(require("./PaginatedProductSearchResultResourceResponse"), exports)
|
|
|
202
201
|
__exportStar(require("./PaginatedProductTypeListResourceResponse"), exports);
|
|
203
202
|
__exportStar(require("./PaginatedProductTypeLiteResourceResponse"), exports);
|
|
204
203
|
__exportStar(require("./PaginatedProductTypeResourceResponse"), exports);
|
|
205
|
-
__exportStar(require("./PaginatedRedirectListResourceResponse"), exports);
|
|
206
204
|
__exportStar(require("./PaginatedSiteListResourceResponse"), exports);
|
|
207
205
|
__exportStar(require("./PaginatedSiteLiteResourceResponse"), exports);
|
|
208
206
|
__exportStar(require("./PaginatedSiteNotificationListResourceResponse"), exports);
|
|
@@ -295,10 +293,6 @@ __exportStar(require("./ProductTypeLiteResource"), exports);
|
|
|
295
293
|
__exportStar(require("./ProductTypeLiteResourceArrayResponse"), exports);
|
|
296
294
|
__exportStar(require("./ProductTypeResource"), exports);
|
|
297
295
|
__exportStar(require("./ProductTypeResourceArrayResponse"), exports);
|
|
298
|
-
__exportStar(require("./RedirectFrontendResource"), exports);
|
|
299
|
-
__exportStar(require("./RedirectFrontendResourceArrayResponse"), exports);
|
|
300
|
-
__exportStar(require("./RedirectListResource"), exports);
|
|
301
|
-
__exportStar(require("./RedirectListResourceArrayResponse"), exports);
|
|
302
296
|
__exportStar(require("./SEOResource"), exports);
|
|
303
297
|
__exportStar(require("./SEOResourceArrayResponse"), exports);
|
|
304
298
|
__exportStar(require("./ShowAssetsProductChildRequest"), exports);
|
|
@@ -10,6 +10,7 @@ Name | Type
|
|
|
10
10
|
`siteId` | number
|
|
11
11
|
`name` | string
|
|
12
12
|
`email` | string
|
|
13
|
+
`website` | string
|
|
13
14
|
`phone` | string
|
|
14
15
|
`address` | string
|
|
15
16
|
`latitude` | number
|
|
@@ -30,6 +31,7 @@ const example = {
|
|
|
30
31
|
"siteId": null,
|
|
31
32
|
"name": null,
|
|
32
33
|
"email": null,
|
|
34
|
+
"website": null,
|
|
33
35
|
"phone": null,
|
|
34
36
|
"address": null,
|
|
35
37
|
"latitude": null,
|
|
@@ -14,6 +14,7 @@ Name | Type
|
|
|
14
14
|
`latitude` | number
|
|
15
15
|
`tagLine` | string
|
|
16
16
|
`email` | string
|
|
17
|
+
`website` | string
|
|
17
18
|
`openingHours` | string
|
|
18
19
|
|
|
19
20
|
## Example
|
|
@@ -31,6 +32,7 @@ const example = {
|
|
|
31
32
|
"latitude": null,
|
|
32
33
|
"tagLine": null,
|
|
33
34
|
"email": null,
|
|
35
|
+
"website": null,
|
|
34
36
|
"openingHours": null,
|
|
35
37
|
} satisfies StoreListResource
|
|
36
38
|
|
package/docs/StoreResource.md
CHANGED
|
@@ -14,6 +14,7 @@ Name | Type
|
|
|
14
14
|
`latitude` | number
|
|
15
15
|
`tagLine` | string
|
|
16
16
|
`email` | string
|
|
17
|
+
`website` | string
|
|
17
18
|
`openingHours` | string
|
|
18
19
|
`suppliers` | [Array<SupplierLiteResource>](SupplierLiteResource.md)
|
|
19
20
|
`address` | [AddressResource](AddressResource.md)
|
|
@@ -34,6 +35,7 @@ const example = {
|
|
|
34
35
|
"latitude": null,
|
|
35
36
|
"tagLine": null,
|
|
36
37
|
"email": null,
|
|
38
|
+
"website": null,
|
|
37
39
|
"openingHours": null,
|
|
38
40
|
"suppliers": null,
|
|
39
41
|
"address": null,
|
|
@@ -13,6 +13,7 @@ Name | Type
|
|
|
13
13
|
`latitude` | number
|
|
14
14
|
`tagLine` | string
|
|
15
15
|
`email` | string
|
|
16
|
+
`website` | string
|
|
16
17
|
`openingHours` | Array<string | null>
|
|
17
18
|
`supplierIds` | Array<number>
|
|
18
19
|
`specialDates` | [Array<StoreStoreRequestSpecialDatesInner>](StoreStoreRequestSpecialDatesInner.md)
|
|
@@ -32,6 +33,7 @@ const example = {
|
|
|
32
33
|
"latitude": null,
|
|
33
34
|
"tagLine": null,
|
|
34
35
|
"email": null,
|
|
36
|
+
"website": null,
|
|
35
37
|
"openingHours": null,
|
|
36
38
|
"supplierIds": null,
|
|
37
39
|
"specialDates": null,
|
|
@@ -13,6 +13,7 @@ Name | Type
|
|
|
13
13
|
`latitude` | number
|
|
14
14
|
`tagLine` | string
|
|
15
15
|
`email` | string
|
|
16
|
+
`website` | string
|
|
16
17
|
`openingHours` | Array<string | null>
|
|
17
18
|
`supplierIds` | Array<number>
|
|
18
19
|
`specialDates` | [Array<UpdateStoreRequestSpecialDatesInner>](UpdateStoreRequestSpecialDatesInner.md)
|
|
@@ -32,6 +33,7 @@ const example = {
|
|
|
32
33
|
"latitude": null,
|
|
33
34
|
"tagLine": null,
|
|
34
35
|
"email": null,
|
|
36
|
+
"website": null,
|
|
35
37
|
"openingHours": null,
|
|
36
38
|
"supplierIds": null,
|
|
37
39
|
"specialDates": null,
|
package/package.json
CHANGED
package/src/apis/index.ts
CHANGED
|
@@ -13,7 +13,6 @@ export * from './ProductApi';
|
|
|
13
13
|
export * from './ProductCategoryApi';
|
|
14
14
|
export * from './ProductRangeApi';
|
|
15
15
|
export * from './ProductTypeApi';
|
|
16
|
-
export * from './RedirectApi';
|
|
17
16
|
export * from './SiteApi';
|
|
18
17
|
export * from './StoreApi';
|
|
19
18
|
export * from './SupplierApi';
|
|
@@ -42,7 +42,7 @@ export interface AddressResource {
|
|
|
42
42
|
* @type {string}
|
|
43
43
|
* @memberof AddressResource
|
|
44
44
|
*/
|
|
45
|
-
line2
|
|
45
|
+
line2: string;
|
|
46
46
|
/**
|
|
47
47
|
*
|
|
48
48
|
* @type {string}
|
|
@@ -81,6 +81,7 @@ export interface AddressResource {
|
|
|
81
81
|
export function instanceOfAddressResource(value: object): value is AddressResource {
|
|
82
82
|
if (!('company' in value) || value['company'] === undefined) return false;
|
|
83
83
|
if (!('line1' in value) || value['line1'] === undefined) return false;
|
|
84
|
+
if (!('line2' in value) || value['line2'] === undefined) return false;
|
|
84
85
|
if (!('postcode' in value) || value['postcode'] === undefined) return false;
|
|
85
86
|
if (!('suburb' in value) || value['suburb'] === undefined) return false;
|
|
86
87
|
if (!('country' in value) || value['country'] === undefined) return false;
|
|
@@ -102,7 +103,7 @@ export function AddressResourceFromJSONTyped(json: any, ignoreDiscriminator: boo
|
|
|
102
103
|
'id': json['id'] == null ? undefined : json['id'],
|
|
103
104
|
'company': json['company'],
|
|
104
105
|
'line1': json['line_1'],
|
|
105
|
-
'line2': json['line_2']
|
|
106
|
+
'line2': json['line_2'],
|
|
106
107
|
'postcode': json['postcode'],
|
|
107
108
|
'suburb': json['suburb'],
|
|
108
109
|
'country': json['country'],
|
|
@@ -43,6 +43,12 @@ export interface StoreFrontendResource {
|
|
|
43
43
|
* @memberof StoreFrontendResource
|
|
44
44
|
*/
|
|
45
45
|
email: string;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {string}
|
|
49
|
+
* @memberof StoreFrontendResource
|
|
50
|
+
*/
|
|
51
|
+
website?: string | null;
|
|
46
52
|
/**
|
|
47
53
|
*
|
|
48
54
|
* @type {string}
|
|
@@ -123,6 +129,7 @@ export function StoreFrontendResourceFromJSONTyped(json: any, ignoreDiscriminato
|
|
|
123
129
|
'siteId': json['siteId'],
|
|
124
130
|
'name': json['name'],
|
|
125
131
|
'email': json['email'],
|
|
132
|
+
'website': json['website'] == null ? undefined : json['website'],
|
|
126
133
|
'phone': json['phone'],
|
|
127
134
|
'address': json['address'] == null ? undefined : json['address'],
|
|
128
135
|
'latitude': json['latitude'],
|
|
@@ -149,6 +156,7 @@ export function StoreFrontendResourceToJSONTyped(value?: StoreFrontendResource |
|
|
|
149
156
|
'siteId': value['siteId'],
|
|
150
157
|
'name': value['name'],
|
|
151
158
|
'email': value['email'],
|
|
159
|
+
'website': value['website'],
|
|
152
160
|
'phone': value['phone'],
|
|
153
161
|
'address': value['address'],
|
|
154
162
|
'latitude': value['latitude'],
|
|
@@ -68,13 +68,19 @@ export interface StoreListResource {
|
|
|
68
68
|
* @type {string}
|
|
69
69
|
* @memberof StoreListResource
|
|
70
70
|
*/
|
|
71
|
-
tagLine
|
|
71
|
+
tagLine: string;
|
|
72
72
|
/**
|
|
73
73
|
*
|
|
74
74
|
* @type {string}
|
|
75
75
|
* @memberof StoreListResource
|
|
76
76
|
*/
|
|
77
77
|
email: string;
|
|
78
|
+
/**
|
|
79
|
+
*
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof StoreListResource
|
|
82
|
+
*/
|
|
83
|
+
website: string;
|
|
78
84
|
/**
|
|
79
85
|
*
|
|
80
86
|
* @type {string}
|
|
@@ -92,7 +98,9 @@ export function instanceOfStoreListResource(value: object): value is StoreListRe
|
|
|
92
98
|
if (!('phone' in value) || value['phone'] === undefined) return false;
|
|
93
99
|
if (!('longitude' in value) || value['longitude'] === undefined) return false;
|
|
94
100
|
if (!('latitude' in value) || value['latitude'] === undefined) return false;
|
|
101
|
+
if (!('tagLine' in value) || value['tagLine'] === undefined) return false;
|
|
95
102
|
if (!('email' in value) || value['email'] === undefined) return false;
|
|
103
|
+
if (!('website' in value) || value['website'] === undefined) return false;
|
|
96
104
|
return true;
|
|
97
105
|
}
|
|
98
106
|
|
|
@@ -112,8 +120,9 @@ export function StoreListResourceFromJSONTyped(json: any, ignoreDiscriminator: b
|
|
|
112
120
|
'phone': json['phone'],
|
|
113
121
|
'longitude': json['longitude'],
|
|
114
122
|
'latitude': json['latitude'],
|
|
115
|
-
'tagLine': json['tag_line']
|
|
123
|
+
'tagLine': json['tag_line'],
|
|
116
124
|
'email': json['email'],
|
|
125
|
+
'website': json['website'],
|
|
117
126
|
'openingHours': json['opening_hours'] == null ? undefined : json['opening_hours'],
|
|
118
127
|
};
|
|
119
128
|
}
|
|
@@ -137,6 +146,7 @@ export function StoreListResourceToJSONTyped(value?: StoreListResource | null, i
|
|
|
137
146
|
'latitude': value['latitude'],
|
|
138
147
|
'tag_line': value['tagLine'],
|
|
139
148
|
'email': value['email'],
|
|
149
|
+
'website': value['website'],
|
|
140
150
|
'opening_hours': value['openingHours'],
|
|
141
151
|
};
|
|
142
152
|
}
|