@digital8/lighting-illusions-ts-sdk 0.0.1615 → 0.0.1617
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 +1 -1
- package/dist/models/StoreFrontendResource.js +3 -1
- package/dist/models/StoreListResource.d.ts +2 -2
- package/dist/models/StoreListResource.js +4 -4
- package/dist/models/StoreSpecialDateResource.d.ts +2 -2
- package/dist/models/StoreSpecialDateResource.js +3 -1
- package/dist/models/index.d.ts +0 -6
- package/dist/models/index.js +0 -6
- package/docs/StoreSpecialDateResource.md +1 -1
- package/package.json +1 -1
- package/src/apis/index.ts +0 -1
- package/src/models/AddressResource.ts +3 -2
- package/src/models/StoreFrontendResource.ts +3 -2
- package/src/models/StoreListResource.ts +5 -5
- package/src/models/StoreSpecialDateResource.ts +4 -3
- 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.1617
|
|
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.1617`
|
|
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'],
|
|
@@ -36,6 +36,8 @@ function instanceOfStoreFrontendResource(value) {
|
|
|
36
36
|
return false;
|
|
37
37
|
if (!('longitude' in value) || value['longitude'] === undefined)
|
|
38
38
|
return false;
|
|
39
|
+
if (!('tagLine' in value) || value['tagLine'] === undefined)
|
|
40
|
+
return false;
|
|
39
41
|
if (!('specialDates' in value) || value['specialDates'] === undefined)
|
|
40
42
|
return false;
|
|
41
43
|
if (!('suppliers' in value) || value['suppliers'] === undefined)
|
|
@@ -59,7 +61,7 @@ function StoreFrontendResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
59
61
|
'address': json['address'] == null ? undefined : json['address'],
|
|
60
62
|
'latitude': json['latitude'],
|
|
61
63
|
'longitude': json['longitude'],
|
|
62
|
-
'tagLine': json['tagLine']
|
|
64
|
+
'tagLine': json['tagLine'],
|
|
63
65
|
'openingHours': json['openingHours'] == null ? undefined : json['openingHours'],
|
|
64
66
|
'specialDates': json['specialDates'],
|
|
65
67
|
'suppliers': json['suppliers'],
|
|
@@ -57,7 +57,7 @@ export interface StoreListResource {
|
|
|
57
57
|
* @type {string}
|
|
58
58
|
* @memberof StoreListResource
|
|
59
59
|
*/
|
|
60
|
-
tagLine
|
|
60
|
+
tagLine?: string | null;
|
|
61
61
|
/**
|
|
62
62
|
*
|
|
63
63
|
* @type {string}
|
|
@@ -69,7 +69,7 @@ export interface StoreListResource {
|
|
|
69
69
|
* @type {string}
|
|
70
70
|
* @memberof StoreListResource
|
|
71
71
|
*/
|
|
72
|
-
website
|
|
72
|
+
website: string;
|
|
73
73
|
/**
|
|
74
74
|
*
|
|
75
75
|
* @type {string}
|
|
@@ -33,10 +33,10 @@ 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;
|
|
38
36
|
if (!('email' in value) || value['email'] === undefined)
|
|
39
37
|
return false;
|
|
38
|
+
if (!('website' in value) || value['website'] === undefined)
|
|
39
|
+
return false;
|
|
40
40
|
return true;
|
|
41
41
|
}
|
|
42
42
|
function StoreListResourceFromJSON(json) {
|
|
@@ -53,9 +53,9 @@ function StoreListResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
53
53
|
'phone': json['phone'],
|
|
54
54
|
'longitude': json['longitude'],
|
|
55
55
|
'latitude': json['latitude'],
|
|
56
|
-
'tagLine': json['tag_line'],
|
|
56
|
+
'tagLine': json['tag_line'] == null ? undefined : json['tag_line'],
|
|
57
57
|
'email': json['email'],
|
|
58
|
-
'website': json['website']
|
|
58
|
+
'website': json['website'],
|
|
59
59
|
'openingHours': json['opening_hours'] == null ? undefined : json['opening_hours'],
|
|
60
60
|
};
|
|
61
61
|
}
|
|
@@ -26,6 +26,8 @@ function instanceOfStoreSpecialDateResource(value) {
|
|
|
26
26
|
return false;
|
|
27
27
|
if (!('hours' in value) || value['hours'] === undefined)
|
|
28
28
|
return false;
|
|
29
|
+
if (!('date' in value) || value['date'] === undefined)
|
|
30
|
+
return false;
|
|
29
31
|
if (!('closed' in value) || value['closed'] === undefined)
|
|
30
32
|
return false;
|
|
31
33
|
if (!('displayStartDate' in value) || value['displayStartDate'] === undefined)
|
|
@@ -45,7 +47,7 @@ function StoreSpecialDateResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
45
47
|
'id': json['id'] == null ? undefined : json['id'],
|
|
46
48
|
'name': json['name'],
|
|
47
49
|
'hours': json['hours'],
|
|
48
|
-
'date': json['date']
|
|
50
|
+
'date': json['date'],
|
|
49
51
|
'closed': json['closed'],
|
|
50
52
|
'displayStartDate': json['display_start_date'],
|
|
51
53
|
'displayEndDate': json['display_end_date'],
|
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);
|
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'],
|
|
@@ -78,7 +78,7 @@ export interface StoreFrontendResource {
|
|
|
78
78
|
* @type {string}
|
|
79
79
|
* @memberof StoreFrontendResource
|
|
80
80
|
*/
|
|
81
|
-
tagLine
|
|
81
|
+
tagLine: string;
|
|
82
82
|
/**
|
|
83
83
|
*
|
|
84
84
|
* @type {string}
|
|
@@ -110,6 +110,7 @@ export function instanceOfStoreFrontendResource(value: object): value is StoreFr
|
|
|
110
110
|
if (!('phone' in value) || value['phone'] === undefined) return false;
|
|
111
111
|
if (!('latitude' in value) || value['latitude'] === undefined) return false;
|
|
112
112
|
if (!('longitude' in value) || value['longitude'] === undefined) return false;
|
|
113
|
+
if (!('tagLine' in value) || value['tagLine'] === undefined) return false;
|
|
113
114
|
if (!('specialDates' in value) || value['specialDates'] === undefined) return false;
|
|
114
115
|
if (!('suppliers' in value) || value['suppliers'] === undefined) return false;
|
|
115
116
|
return true;
|
|
@@ -134,7 +135,7 @@ export function StoreFrontendResourceFromJSONTyped(json: any, ignoreDiscriminato
|
|
|
134
135
|
'address': json['address'] == null ? undefined : json['address'],
|
|
135
136
|
'latitude': json['latitude'],
|
|
136
137
|
'longitude': json['longitude'],
|
|
137
|
-
'tagLine': json['tagLine']
|
|
138
|
+
'tagLine': json['tagLine'],
|
|
138
139
|
'openingHours': json['openingHours'] == null ? undefined : json['openingHours'],
|
|
139
140
|
'specialDates': json['specialDates'],
|
|
140
141
|
'suppliers': json['suppliers'],
|
|
@@ -68,7 +68,7 @@ export interface StoreListResource {
|
|
|
68
68
|
* @type {string}
|
|
69
69
|
* @memberof StoreListResource
|
|
70
70
|
*/
|
|
71
|
-
tagLine
|
|
71
|
+
tagLine?: string | null;
|
|
72
72
|
/**
|
|
73
73
|
*
|
|
74
74
|
* @type {string}
|
|
@@ -80,7 +80,7 @@ export interface StoreListResource {
|
|
|
80
80
|
* @type {string}
|
|
81
81
|
* @memberof StoreListResource
|
|
82
82
|
*/
|
|
83
|
-
website
|
|
83
|
+
website: string;
|
|
84
84
|
/**
|
|
85
85
|
*
|
|
86
86
|
* @type {string}
|
|
@@ -98,8 +98,8 @@ export function instanceOfStoreListResource(value: object): value is StoreListRe
|
|
|
98
98
|
if (!('phone' in value) || value['phone'] === undefined) return false;
|
|
99
99
|
if (!('longitude' in value) || value['longitude'] === undefined) return false;
|
|
100
100
|
if (!('latitude' in value) || value['latitude'] === undefined) return false;
|
|
101
|
-
if (!('tagLine' in value) || value['tagLine'] === undefined) return false;
|
|
102
101
|
if (!('email' in value) || value['email'] === undefined) return false;
|
|
102
|
+
if (!('website' in value) || value['website'] === undefined) return false;
|
|
103
103
|
return true;
|
|
104
104
|
}
|
|
105
105
|
|
|
@@ -119,9 +119,9 @@ export function StoreListResourceFromJSONTyped(json: any, ignoreDiscriminator: b
|
|
|
119
119
|
'phone': json['phone'],
|
|
120
120
|
'longitude': json['longitude'],
|
|
121
121
|
'latitude': json['latitude'],
|
|
122
|
-
'tagLine': json['tag_line'],
|
|
122
|
+
'tagLine': json['tag_line'] == null ? undefined : json['tag_line'],
|
|
123
123
|
'email': json['email'],
|
|
124
|
-
'website': json['website']
|
|
124
|
+
'website': json['website'],
|
|
125
125
|
'openingHours': json['opening_hours'] == null ? undefined : json['opening_hours'],
|
|
126
126
|
};
|
|
127
127
|
}
|
|
@@ -39,10 +39,10 @@ export interface StoreSpecialDateResource {
|
|
|
39
39
|
hours: string;
|
|
40
40
|
/**
|
|
41
41
|
*
|
|
42
|
-
* @type {
|
|
42
|
+
* @type {object}
|
|
43
43
|
* @memberof StoreSpecialDateResource
|
|
44
44
|
*/
|
|
45
|
-
date
|
|
45
|
+
date: object;
|
|
46
46
|
/**
|
|
47
47
|
*
|
|
48
48
|
* @type {boolean}
|
|
@@ -69,6 +69,7 @@ export interface StoreSpecialDateResource {
|
|
|
69
69
|
export function instanceOfStoreSpecialDateResource(value: object): value is StoreSpecialDateResource {
|
|
70
70
|
if (!('name' in value) || value['name'] === undefined) return false;
|
|
71
71
|
if (!('hours' in value) || value['hours'] === undefined) return false;
|
|
72
|
+
if (!('date' in value) || value['date'] === undefined) return false;
|
|
72
73
|
if (!('closed' in value) || value['closed'] === undefined) return false;
|
|
73
74
|
if (!('displayStartDate' in value) || value['displayStartDate'] === undefined) return false;
|
|
74
75
|
if (!('displayEndDate' in value) || value['displayEndDate'] === undefined) return false;
|
|
@@ -88,7 +89,7 @@ export function StoreSpecialDateResourceFromJSONTyped(json: any, ignoreDiscrimin
|
|
|
88
89
|
'id': json['id'] == null ? undefined : json['id'],
|
|
89
90
|
'name': json['name'],
|
|
90
91
|
'hours': json['hours'],
|
|
91
|
-
'date': json['date']
|
|
92
|
+
'date': json['date'],
|
|
92
93
|
'closed': json['closed'],
|
|
93
94
|
'displayStartDate': json['display_start_date'],
|
|
94
95
|
'displayEndDate': json['display_end_date'],
|
package/src/models/index.ts
CHANGED
|
@@ -121,7 +121,6 @@ export * from './IndexProductChildRequest';
|
|
|
121
121
|
export * from './IndexProductRangeRequest';
|
|
122
122
|
export * from './IndexProductRequest';
|
|
123
123
|
export * from './IndexProductTypeRequest';
|
|
124
|
-
export * from './IndexRedirectRequest';
|
|
125
124
|
export * from './IndexSiteNotificationRequest';
|
|
126
125
|
export * from './IndexSiteRequest';
|
|
127
126
|
export * from './IndexStoreRequest';
|
|
@@ -186,7 +185,6 @@ export * from './PaginatedProductSearchResultResourceResponse';
|
|
|
186
185
|
export * from './PaginatedProductTypeListResourceResponse';
|
|
187
186
|
export * from './PaginatedProductTypeLiteResourceResponse';
|
|
188
187
|
export * from './PaginatedProductTypeResourceResponse';
|
|
189
|
-
export * from './PaginatedRedirectListResourceResponse';
|
|
190
188
|
export * from './PaginatedSiteListResourceResponse';
|
|
191
189
|
export * from './PaginatedSiteLiteResourceResponse';
|
|
192
190
|
export * from './PaginatedSiteNotificationListResourceResponse';
|
|
@@ -279,10 +277,6 @@ export * from './ProductTypeLiteResource';
|
|
|
279
277
|
export * from './ProductTypeLiteResourceArrayResponse';
|
|
280
278
|
export * from './ProductTypeResource';
|
|
281
279
|
export * from './ProductTypeResourceArrayResponse';
|
|
282
|
-
export * from './RedirectFrontendResource';
|
|
283
|
-
export * from './RedirectFrontendResourceArrayResponse';
|
|
284
|
-
export * from './RedirectListResource';
|
|
285
|
-
export * from './RedirectListResourceArrayResponse';
|
|
286
280
|
export * from './SEOResource';
|
|
287
281
|
export * from './SEOResourceArrayResponse';
|
|
288
282
|
export * from './ShowAssetsProductChildRequest';
|
|
@@ -1,33 +0,0 @@
|
|
|
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 * as runtime from '../runtime';
|
|
13
|
-
import type { IndexRedirectRequest, PaginatedRedirectListResourceResponse } from '../models/index';
|
|
14
|
-
export interface IndexRedirectOperationRequest {
|
|
15
|
-
indexRedirectRequest?: IndexRedirectRequest;
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
*
|
|
19
|
-
*/
|
|
20
|
-
export declare class RedirectApi extends runtime.BaseAPI {
|
|
21
|
-
/**
|
|
22
|
-
* Creates request options for indexRedirect without sending the request
|
|
23
|
-
*/
|
|
24
|
-
indexRedirectRequestOpts(requestParameters: IndexRedirectOperationRequest): Promise<runtime.RequestOpts>;
|
|
25
|
-
/**
|
|
26
|
-
* Auto-generated: indexRedirect
|
|
27
|
-
*/
|
|
28
|
-
indexRedirectRaw(requestParameters: IndexRedirectOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedRedirectListResourceResponse>>;
|
|
29
|
-
/**
|
|
30
|
-
* Auto-generated: indexRedirect
|
|
31
|
-
*/
|
|
32
|
-
indexRedirect(requestParameters?: IndexRedirectOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedRedirectListResourceResponse>;
|
|
33
|
-
}
|