@digital8/lighting-illusions-ts-sdk 0.0.1561 → 0.0.1563
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/AddressFrontendResource.d.ts +1 -1
- package/dist/models/AddressFrontendResource.js +3 -1
- package/dist/models/AddressResource.d.ts +1 -1
- package/dist/models/AddressResource.js +1 -3
- package/dist/models/ExternalApiLogResource.d.ts +1 -1
- package/dist/models/ExternalApiLogResource.js +1 -3
- package/dist/models/StoreFrontendResource.d.ts +1 -1
- package/dist/models/StoreFrontendResource.js +1 -3
- package/dist/models/StoreResource.d.ts +1 -1
- package/dist/models/StoreResource.js +3 -1
- 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/AddressFrontendResource.ts +3 -2
- package/src/models/AddressResource.ts +2 -3
- package/src/models/ExternalApiLogResource.ts +2 -3
- package/src/models/StoreFrontendResource.ts +2 -3
- package/src/models/StoreResource.ts +3 -2
- 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 -112
- package/dist/models/IndexRedirectRequest.js +0 -91
- 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 -52
- 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 -168
- 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.1563
|
|
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.1563`
|
|
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);
|
|
@@ -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'],
|
|
@@ -22,8 +22,6 @@ 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;
|
|
29
27
|
if (!('postcode' in value) || value['postcode'] === undefined)
|
|
@@ -47,7 +45,7 @@ function AddressResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
47
45
|
}
|
|
48
46
|
return {
|
|
49
47
|
'id': json['id'] == null ? undefined : json['id'],
|
|
50
|
-
'company': json['company'],
|
|
48
|
+
'company': json['company'] == null ? undefined : json['company'],
|
|
51
49
|
'line1': json['line_1'],
|
|
52
50
|
'line2': json['line_2'] == null ? undefined : json['line_2'],
|
|
53
51
|
'postcode': json['postcode'],
|
|
@@ -37,8 +37,6 @@ 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;
|
|
42
40
|
if (!('responsePayload' in value) || value['responsePayload'] === undefined)
|
|
43
41
|
return false;
|
|
44
42
|
if (!('site' in value) || value['site'] === undefined)
|
|
@@ -60,7 +58,7 @@ function ExternalApiLogResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
60
58
|
'exteranlApiLoggableId': json['exteranlApiLoggableId'],
|
|
61
59
|
'endpoint': json['endpoint'],
|
|
62
60
|
'responseCode': json['responseCode'],
|
|
63
|
-
'requestPayload': json['requestPayload'],
|
|
61
|
+
'requestPayload': json['requestPayload'] == null ? undefined : json['requestPayload'],
|
|
64
62
|
'responsePayload': json['responsePayload'],
|
|
65
63
|
'createdAt': json['createdAt'] == null ? undefined : json['createdAt'],
|
|
66
64
|
'site': (0, SiteLiteResource_1.SiteLiteResourceFromJSON)(json['site']),
|
|
@@ -34,8 +34,6 @@ function instanceOfStoreFrontendResource(value) {
|
|
|
34
34
|
return false;
|
|
35
35
|
if (!('longitude' in value) || value['longitude'] === undefined)
|
|
36
36
|
return false;
|
|
37
|
-
if (!('tagLine' in value) || value['tagLine'] === undefined)
|
|
38
|
-
return false;
|
|
39
37
|
if (!('specialDates' in value) || value['specialDates'] === undefined)
|
|
40
38
|
return false;
|
|
41
39
|
if (!('suppliers' in value) || value['suppliers'] === undefined)
|
|
@@ -58,7 +56,7 @@ function StoreFrontendResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
58
56
|
'address': json['address'] == null ? undefined : json['address'],
|
|
59
57
|
'latitude': json['latitude'],
|
|
60
58
|
'longitude': json['longitude'],
|
|
61
|
-
'tagLine': json['tagLine'],
|
|
59
|
+
'tagLine': json['tagLine'] == null ? undefined : json['tagLine'],
|
|
62
60
|
'openingHours': json['openingHours'] == null ? undefined : json['openingHours'],
|
|
63
61
|
'specialDates': json['specialDates'],
|
|
64
62
|
'suppliers': json['suppliers'],
|
|
@@ -36,6 +36,8 @@ 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;
|
|
39
41
|
if (!('email' in value) || value['email'] === undefined)
|
|
40
42
|
return false;
|
|
41
43
|
if (!('suppliers' in value) || value['suppliers'] === undefined)
|
|
@@ -60,7 +62,7 @@ function StoreResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
60
62
|
'phone': json['phone'],
|
|
61
63
|
'longitude': json['longitude'],
|
|
62
64
|
'latitude': json['latitude'],
|
|
63
|
-
'tagLine': json['tag_line']
|
|
65
|
+
'tagLine': json['tag_line'],
|
|
64
66
|
'email': json['email'],
|
|
65
67
|
'openingHours': json['opening_hours'] == null ? undefined : json['opening_hours'],
|
|
66
68
|
'suppliers': (json['suppliers'] == null ? null : json['suppliers'].map(SupplierLiteResource_1.SupplierLiteResourceFromJSON)),
|
|
@@ -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';
|
|
@@ -24,7 +24,7 @@ export interface AddressFrontendResource {
|
|
|
24
24
|
* @type {string}
|
|
25
25
|
* @memberof AddressFrontendResource
|
|
26
26
|
*/
|
|
27
|
-
company
|
|
27
|
+
company: string;
|
|
28
28
|
/**
|
|
29
29
|
*
|
|
30
30
|
* @type {string}
|
|
@@ -73,6 +73,7 @@ export interface AddressFrontendResource {
|
|
|
73
73
|
* Check if a given object implements the AddressFrontendResource interface.
|
|
74
74
|
*/
|
|
75
75
|
export function instanceOfAddressFrontendResource(value: object): value is AddressFrontendResource {
|
|
76
|
+
if (!('company' in value) || value['company'] === undefined) return false;
|
|
76
77
|
if (!('line1' in value) || value['line1'] === undefined) return false;
|
|
77
78
|
if (!('postcode' in value) || value['postcode'] === undefined) return false;
|
|
78
79
|
if (!('suburb' in value) || value['suburb'] === undefined) return false;
|
|
@@ -92,7 +93,7 @@ export function AddressFrontendResourceFromJSONTyped(json: any, ignoreDiscrimina
|
|
|
92
93
|
}
|
|
93
94
|
return {
|
|
94
95
|
|
|
95
|
-
'company': json['company']
|
|
96
|
+
'company': json['company'],
|
|
96
97
|
'line1': json['line1'],
|
|
97
98
|
'line2': json['line2'] == null ? undefined : json['line2'],
|
|
98
99
|
'postcode': json['postcode'],
|
|
@@ -30,7 +30,7 @@ export interface AddressResource {
|
|
|
30
30
|
* @type {string}
|
|
31
31
|
* @memberof AddressResource
|
|
32
32
|
*/
|
|
33
|
-
company
|
|
33
|
+
company?: string | null;
|
|
34
34
|
/**
|
|
35
35
|
*
|
|
36
36
|
* @type {string}
|
|
@@ -79,7 +79,6 @@ export interface AddressResource {
|
|
|
79
79
|
* Check if a given object implements the AddressResource interface.
|
|
80
80
|
*/
|
|
81
81
|
export function instanceOfAddressResource(value: object): value is AddressResource {
|
|
82
|
-
if (!('company' in value) || value['company'] === undefined) return false;
|
|
83
82
|
if (!('line1' in value) || value['line1'] === undefined) return false;
|
|
84
83
|
if (!('postcode' in value) || value['postcode'] === undefined) return false;
|
|
85
84
|
if (!('suburb' in value) || value['suburb'] === undefined) return false;
|
|
@@ -100,7 +99,7 @@ export function AddressResourceFromJSONTyped(json: any, ignoreDiscriminator: boo
|
|
|
100
99
|
return {
|
|
101
100
|
|
|
102
101
|
'id': json['id'] == null ? undefined : json['id'],
|
|
103
|
-
'company': json['company'],
|
|
102
|
+
'company': json['company'] == null ? undefined : json['company'],
|
|
104
103
|
'line1': json['line_1'],
|
|
105
104
|
'line2': json['line_2'] == null ? undefined : json['line_2'],
|
|
106
105
|
'postcode': json['postcode'],
|
|
@@ -74,7 +74,7 @@ export interface ExternalApiLogResource {
|
|
|
74
74
|
* @type {string}
|
|
75
75
|
* @memberof ExternalApiLogResource
|
|
76
76
|
*/
|
|
77
|
-
requestPayload
|
|
77
|
+
requestPayload?: string | null;
|
|
78
78
|
/**
|
|
79
79
|
*
|
|
80
80
|
* @type {string}
|
|
@@ -106,7 +106,6 @@ export function instanceOfExternalApiLogResource(value: object): value is Extern
|
|
|
106
106
|
if (!('exteranlApiLoggableId' in value) || value['exteranlApiLoggableId'] === undefined) return false;
|
|
107
107
|
if (!('endpoint' in value) || value['endpoint'] === undefined) return false;
|
|
108
108
|
if (!('responseCode' in value) || value['responseCode'] === undefined) return false;
|
|
109
|
-
if (!('requestPayload' in value) || value['requestPayload'] === undefined) return false;
|
|
110
109
|
if (!('responsePayload' in value) || value['responsePayload'] === undefined) return false;
|
|
111
110
|
if (!('site' in value) || value['site'] === undefined) return false;
|
|
112
111
|
return true;
|
|
@@ -129,7 +128,7 @@ export function ExternalApiLogResourceFromJSONTyped(json: any, ignoreDiscriminat
|
|
|
129
128
|
'exteranlApiLoggableId': json['exteranlApiLoggableId'],
|
|
130
129
|
'endpoint': json['endpoint'],
|
|
131
130
|
'responseCode': json['responseCode'],
|
|
132
|
-
'requestPayload': json['requestPayload'],
|
|
131
|
+
'requestPayload': json['requestPayload'] == null ? undefined : json['requestPayload'],
|
|
133
132
|
'responsePayload': json['responsePayload'],
|
|
134
133
|
'createdAt': json['createdAt'] == null ? undefined : json['createdAt'],
|
|
135
134
|
'site': SiteLiteResourceFromJSON(json['site']),
|
|
@@ -72,7 +72,7 @@ export interface StoreFrontendResource {
|
|
|
72
72
|
* @type {string}
|
|
73
73
|
* @memberof StoreFrontendResource
|
|
74
74
|
*/
|
|
75
|
-
tagLine
|
|
75
|
+
tagLine?: string | null;
|
|
76
76
|
/**
|
|
77
77
|
*
|
|
78
78
|
* @type {string}
|
|
@@ -103,7 +103,6 @@ export function instanceOfStoreFrontendResource(value: object): value is StoreFr
|
|
|
103
103
|
if (!('phone' in value) || value['phone'] === undefined) return false;
|
|
104
104
|
if (!('latitude' in value) || value['latitude'] === undefined) return false;
|
|
105
105
|
if (!('longitude' in value) || value['longitude'] === undefined) return false;
|
|
106
|
-
if (!('tagLine' in value) || value['tagLine'] === undefined) return false;
|
|
107
106
|
if (!('specialDates' in value) || value['specialDates'] === undefined) return false;
|
|
108
107
|
if (!('suppliers' in value) || value['suppliers'] === undefined) return false;
|
|
109
108
|
return true;
|
|
@@ -127,7 +126,7 @@ export function StoreFrontendResourceFromJSONTyped(json: any, ignoreDiscriminato
|
|
|
127
126
|
'address': json['address'] == null ? undefined : json['address'],
|
|
128
127
|
'latitude': json['latitude'],
|
|
129
128
|
'longitude': json['longitude'],
|
|
130
|
-
'tagLine': json['tagLine'],
|
|
129
|
+
'tagLine': json['tagLine'] == null ? undefined : json['tagLine'],
|
|
131
130
|
'openingHours': json['openingHours'] == null ? undefined : json['openingHours'],
|
|
132
131
|
'specialDates': json['specialDates'],
|
|
133
132
|
'suppliers': json['suppliers'],
|
|
@@ -89,7 +89,7 @@ export interface StoreResource {
|
|
|
89
89
|
* @type {string}
|
|
90
90
|
* @memberof StoreResource
|
|
91
91
|
*/
|
|
92
|
-
tagLine
|
|
92
|
+
tagLine: string;
|
|
93
93
|
/**
|
|
94
94
|
*
|
|
95
95
|
* @type {string}
|
|
@@ -131,6 +131,7 @@ export function instanceOfStoreResource(value: object): value is StoreResource {
|
|
|
131
131
|
if (!('phone' in value) || value['phone'] === undefined) return false;
|
|
132
132
|
if (!('longitude' in value) || value['longitude'] === undefined) return false;
|
|
133
133
|
if (!('latitude' in value) || value['latitude'] === undefined) return false;
|
|
134
|
+
if (!('tagLine' in value) || value['tagLine'] === undefined) return false;
|
|
134
135
|
if (!('email' in value) || value['email'] === undefined) return false;
|
|
135
136
|
if (!('suppliers' in value) || value['suppliers'] === undefined) return false;
|
|
136
137
|
if (!('address' in value) || value['address'] === undefined) return false;
|
|
@@ -154,7 +155,7 @@ export function StoreResourceFromJSONTyped(json: any, ignoreDiscriminator: boole
|
|
|
154
155
|
'phone': json['phone'],
|
|
155
156
|
'longitude': json['longitude'],
|
|
156
157
|
'latitude': json['latitude'],
|
|
157
|
-
'tagLine': json['tag_line']
|
|
158
|
+
'tagLine': json['tag_line'],
|
|
158
159
|
'email': json['email'],
|
|
159
160
|
'openingHours': json['opening_hours'] == null ? undefined : json['opening_hours'],
|
|
160
161
|
'suppliers': (json['suppliers'] == null ? null : (json['suppliers'] as Array<any>).map(SupplierLiteResourceFromJSON)),
|
|
@@ -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
|
-
}
|