@digital8/lighting-illusions-ts-sdk 0.0.1491 → 0.0.1493
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 +14 -40
- package/README.md +9 -25
- package/dist/apis/RedirectApi.d.ts +33 -0
- package/dist/apis/RedirectApi.js +138 -0
- package/dist/apis/index.d.ts +1 -1
- package/dist/apis/index.js +1 -1
- package/dist/models/AddressResource.d.ts +1 -1
- package/dist/models/AddressResource.js +1 -3
- package/dist/models/IndexProductChildRequest.d.ts +0 -1
- package/dist/models/IndexProductChildRequest.js +0 -1
- package/dist/models/IndexRedirectRequest.d.ts +112 -0
- package/dist/models/IndexRedirectRequest.js +91 -0
- package/dist/models/PaginatedRedirectListResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedRedirectListResourceResponse.js +57 -0
- package/dist/models/RedirectFrontendResource.d.ts +62 -0
- package/dist/models/RedirectFrontendResource.js +71 -0
- package/dist/models/RedirectFrontendResourceArrayResponse.d.ts +33 -0
- package/dist/models/RedirectFrontendResourceArrayResponse.js +50 -0
- package/dist/models/RedirectListResource.d.ts +69 -0
- package/dist/models/RedirectListResource.js +76 -0
- package/dist/models/RedirectListResourceArrayResponse.d.ts +33 -0
- package/dist/models/RedirectListResourceArrayResponse.js +50 -0
- 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/StoreSpecialDateFrontendResource.d.ts +2 -2
- package/dist/models/StoreSpecialDateFrontendResource.js +1 -3
- package/dist/models/index.d.ts +6 -19
- package/dist/models/index.js +6 -19
- package/docs/{GetAllProductRegistrationRequest.md → IndexRedirectRequest.md} +12 -6
- package/docs/{PaginatedProductRegistrationResourceResponse.md → PaginatedRedirectListResourceResponse.md} +5 -5
- package/docs/RedirectApi.md +74 -0
- package/docs/{ProductRegistrationAssetResource.md → RedirectFrontendResource.md} +14 -8
- package/docs/{ProductRegistrationResourceArrayResponse.md → RedirectFrontendResourceArrayResponse.md} +5 -5
- package/docs/{ProductRegistrationCustomerResource.md → RedirectListResource.md} +16 -14
- package/docs/{ProductRegistrationLiteResource.md → RedirectListResourceArrayResponse.md} +6 -8
- package/docs/StoreSpecialDateFrontendResource.md +1 -1
- package/package.json +1 -1
- package/src/apis/RedirectApi.ts +77 -0
- package/src/apis/index.ts +1 -1
- package/src/models/AddressResource.ts +2 -3
- package/src/models/IndexProductChildRequest.ts +0 -1
- package/src/models/IndexRedirectRequest.ts +168 -0
- package/src/models/PaginatedRedirectListResourceResponse.ts +90 -0
- package/src/models/RedirectFrontendResource.ts +111 -0
- package/src/models/RedirectFrontendResourceArrayResponse.ts +73 -0
- package/src/models/RedirectListResource.ts +128 -0
- package/src/models/RedirectListResourceArrayResponse.ts +73 -0
- package/src/models/StoreFrontendResource.ts +2 -3
- package/src/models/StoreResource.ts +3 -2
- package/src/models/StoreSpecialDateFrontendResource.ts +3 -4
- package/src/models/index.ts +6 -19
- package/dist/apis/ProductRegistrationApi.d.ts +0 -79
- package/dist/apis/ProductRegistrationApi.js +0 -316
- package/dist/models/GetAllProductRegistrationRequest.d.ts +0 -88
- package/dist/models/GetAllProductRegistrationRequest.js +0 -80
- package/dist/models/IndexProductRegistrationRequest.d.ts +0 -131
- package/dist/models/IndexProductRegistrationRequest.js +0 -98
- package/dist/models/ListAssetsProductRegistrationRequest.d.ts +0 -103
- package/dist/models/ListAssetsProductRegistrationRequest.js +0 -83
- package/dist/models/PaginatedProductRegistrationAssetResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedProductRegistrationAssetResourceResponse.js +0 -57
- package/dist/models/PaginatedProductRegistrationListResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedProductRegistrationListResourceResponse.js +0 -57
- package/dist/models/PaginatedProductRegistrationResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedProductRegistrationResourceResponse.js +0 -57
- package/dist/models/ProductRegistrationAssetResource.d.ts +0 -45
- package/dist/models/ProductRegistrationAssetResource.js +0 -58
- package/dist/models/ProductRegistrationAssetResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductRegistrationAssetResourceArrayResponse.js +0 -50
- package/dist/models/ProductRegistrationAssetType.d.ts +0 -25
- package/dist/models/ProductRegistrationAssetType.js +0 -51
- package/dist/models/ProductRegistrationCustomerResource.d.ts +0 -62
- package/dist/models/ProductRegistrationCustomerResource.js +0 -65
- package/dist/models/ProductRegistrationCustomerResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductRegistrationCustomerResourceArrayResponse.js +0 -50
- package/dist/models/ProductRegistrationListResource.d.ts +0 -57
- package/dist/models/ProductRegistrationListResource.js +0 -64
- package/dist/models/ProductRegistrationListResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductRegistrationListResourceArrayResponse.js +0 -50
- package/dist/models/ProductRegistrationLiteResource.d.ts +0 -38
- package/dist/models/ProductRegistrationLiteResource.js +0 -53
- package/dist/models/ProductRegistrationLiteResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductRegistrationLiteResourceArrayResponse.js +0 -50
- package/dist/models/ProductRegistrationProductChildResource.d.ts +0 -50
- package/dist/models/ProductRegistrationProductChildResource.js +0 -63
- package/dist/models/ProductRegistrationProductChildResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductRegistrationProductChildResourceArrayResponse.js +0 -50
- package/dist/models/ProductRegistrationResource.d.ts +0 -88
- package/dist/models/ProductRegistrationResource.js +0 -79
- package/dist/models/ProductRegistrationResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductRegistrationResourceArrayResponse.js +0 -50
- package/docs/IndexProductRegistrationRequest.md +0 -58
- package/docs/ListAssetsProductRegistrationRequest.md +0 -52
- package/docs/PaginatedProductRegistrationAssetResourceResponse.md +0 -36
- package/docs/PaginatedProductRegistrationListResourceResponse.md +0 -36
- package/docs/ProductRegistrationApi.md +0 -275
- package/docs/ProductRegistrationAssetResourceArrayResponse.md +0 -34
- package/docs/ProductRegistrationAssetType.md +0 -32
- package/docs/ProductRegistrationCustomerResourceArrayResponse.md +0 -34
- package/docs/ProductRegistrationListResource.md +0 -42
- package/docs/ProductRegistrationListResourceArrayResponse.md +0 -34
- package/docs/ProductRegistrationLiteResourceArrayResponse.md +0 -34
- package/docs/ProductRegistrationProductChildResource.md +0 -40
- package/docs/ProductRegistrationProductChildResourceArrayResponse.md +0 -34
- package/docs/ProductRegistrationResource.md +0 -52
- package/src/apis/ProductRegistrationApi.ts +0 -238
- package/src/models/GetAllProductRegistrationRequest.ts +0 -137
- package/src/models/IndexProductRegistrationRequest.ts +0 -193
- package/src/models/ListAssetsProductRegistrationRequest.ts +0 -158
- package/src/models/PaginatedProductRegistrationAssetResourceResponse.ts +0 -90
- package/src/models/PaginatedProductRegistrationListResourceResponse.ts +0 -90
- package/src/models/PaginatedProductRegistrationResourceResponse.ts +0 -90
- package/src/models/ProductRegistrationAssetResource.ts +0 -91
- package/src/models/ProductRegistrationAssetResourceArrayResponse.ts +0 -73
- package/src/models/ProductRegistrationAssetType.ts +0 -53
- package/src/models/ProductRegistrationCustomerResource.ts +0 -108
- package/src/models/ProductRegistrationCustomerResourceArrayResponse.ts +0 -73
- package/src/models/ProductRegistrationListResource.ts +0 -108
- package/src/models/ProductRegistrationListResourceArrayResponse.ts +0 -73
- package/src/models/ProductRegistrationLiteResource.ts +0 -74
- package/src/models/ProductRegistrationLiteResourceArrayResponse.ts +0 -73
- package/src/models/ProductRegistrationProductChildResource.ts +0 -93
- package/src/models/ProductRegistrationProductChildResourceArrayResponse.ts +0 -73
- package/src/models/ProductRegistrationResource.ts +0 -157
- package/src/models/ProductRegistrationResourceArrayResponse.ts +0 -73
|
@@ -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)),
|
|
@@ -35,10 +35,10 @@ export interface StoreSpecialDateFrontendResource {
|
|
|
35
35
|
hours: string;
|
|
36
36
|
/**
|
|
37
37
|
*
|
|
38
|
-
* @type {
|
|
38
|
+
* @type {string}
|
|
39
39
|
* @memberof StoreSpecialDateFrontendResource
|
|
40
40
|
*/
|
|
41
|
-
date
|
|
41
|
+
date?: string | null;
|
|
42
42
|
/**
|
|
43
43
|
*
|
|
44
44
|
* @type {boolean}
|
|
@@ -26,8 +26,6 @@ function instanceOfStoreSpecialDateFrontendResource(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;
|
|
31
29
|
if (!('closed' in value) || value['closed'] === undefined)
|
|
32
30
|
return false;
|
|
33
31
|
if (!('displayStartDate' in value) || value['displayStartDate'] === undefined)
|
|
@@ -47,7 +45,7 @@ function StoreSpecialDateFrontendResourceFromJSONTyped(json, ignoreDiscriminator
|
|
|
47
45
|
'id': json['id'] == null ? undefined : json['id'],
|
|
48
46
|
'name': json['name'],
|
|
49
47
|
'hours': json['hours'],
|
|
50
|
-
'date': json['date'],
|
|
48
|
+
'date': json['date'] == null ? undefined : json['date'],
|
|
51
49
|
'closed': json['closed'],
|
|
52
50
|
'displayStartDate': json['displayStartDate'],
|
|
53
51
|
'displayEndDate': json['displayEndDate'],
|
package/dist/models/index.d.ts
CHANGED
|
@@ -90,7 +90,6 @@ export * from './GetAllOverlayTemplateRequest';
|
|
|
90
90
|
export * from './GetAllProductCategoryRequest';
|
|
91
91
|
export * from './GetAllProductChildRequest';
|
|
92
92
|
export * from './GetAllProductRangeRequest';
|
|
93
|
-
export * from './GetAllProductRegistrationRequest';
|
|
94
93
|
export * from './GetAllProductRequest';
|
|
95
94
|
export * from './GetAllProductTypeRequest';
|
|
96
95
|
export * from './GetAllStoreRequest';
|
|
@@ -118,9 +117,9 @@ export * from './IndexOverlayTemplateRequest';
|
|
|
118
117
|
export * from './IndexProductCategoryRequest';
|
|
119
118
|
export * from './IndexProductChildRequest';
|
|
120
119
|
export * from './IndexProductRangeRequest';
|
|
121
|
-
export * from './IndexProductRegistrationRequest';
|
|
122
120
|
export * from './IndexProductRequest';
|
|
123
121
|
export * from './IndexProductTypeRequest';
|
|
122
|
+
export * from './IndexRedirectRequest';
|
|
124
123
|
export * from './IndexSiteNotificationRequest';
|
|
125
124
|
export * from './IndexSiteRequest';
|
|
126
125
|
export * from './IndexStoreRequest';
|
|
@@ -132,7 +131,6 @@ export * from './LabelLiteResource';
|
|
|
132
131
|
export * from './LabelLiteResourceArrayResponse';
|
|
133
132
|
export * from './LabelResource';
|
|
134
133
|
export * from './LabelResourceArrayResponse';
|
|
135
|
-
export * from './ListAssetsProductRegistrationRequest';
|
|
136
134
|
export * from './ModelAttributeListResource';
|
|
137
135
|
export * from './ModelAttributeListResourceArrayResponse';
|
|
138
136
|
export * from './ModelAttributeResource';
|
|
@@ -179,14 +177,12 @@ export * from './PaginatedProductRangeListResourceResponse';
|
|
|
179
177
|
export * from './PaginatedProductRangeLiteResourceResponse';
|
|
180
178
|
export * from './PaginatedProductRangeResourceResponse';
|
|
181
179
|
export * from './PaginatedProductRangeSearchResultResourceResponse';
|
|
182
|
-
export * from './PaginatedProductRegistrationAssetResourceResponse';
|
|
183
|
-
export * from './PaginatedProductRegistrationListResourceResponse';
|
|
184
|
-
export * from './PaginatedProductRegistrationResourceResponse';
|
|
185
180
|
export * from './PaginatedProductResourceResponse';
|
|
186
181
|
export * from './PaginatedProductSearchResultResourceResponse';
|
|
187
182
|
export * from './PaginatedProductTypeListResourceResponse';
|
|
188
183
|
export * from './PaginatedProductTypeLiteResourceResponse';
|
|
189
184
|
export * from './PaginatedProductTypeResourceResponse';
|
|
185
|
+
export * from './PaginatedRedirectListResourceResponse';
|
|
190
186
|
export * from './PaginatedSiteListResourceResponse';
|
|
191
187
|
export * from './PaginatedSiteLiteResourceResponse';
|
|
192
188
|
export * from './PaginatedSiteNotificationListResourceResponse';
|
|
@@ -264,19 +260,6 @@ export * from './ProductRangeSiteDetailResource';
|
|
|
264
260
|
export * from './ProductRangeSiteDetailResourceArrayResponse';
|
|
265
261
|
export * from './ProductRangeSortBy';
|
|
266
262
|
export * from './ProductRating';
|
|
267
|
-
export * from './ProductRegistrationAssetResource';
|
|
268
|
-
export * from './ProductRegistrationAssetResourceArrayResponse';
|
|
269
|
-
export * from './ProductRegistrationAssetType';
|
|
270
|
-
export * from './ProductRegistrationCustomerResource';
|
|
271
|
-
export * from './ProductRegistrationCustomerResourceArrayResponse';
|
|
272
|
-
export * from './ProductRegistrationListResource';
|
|
273
|
-
export * from './ProductRegistrationListResourceArrayResponse';
|
|
274
|
-
export * from './ProductRegistrationLiteResource';
|
|
275
|
-
export * from './ProductRegistrationLiteResourceArrayResponse';
|
|
276
|
-
export * from './ProductRegistrationProductChildResource';
|
|
277
|
-
export * from './ProductRegistrationProductChildResourceArrayResponse';
|
|
278
|
-
export * from './ProductRegistrationResource';
|
|
279
|
-
export * from './ProductRegistrationResourceArrayResponse';
|
|
280
263
|
export * from './ProductResource';
|
|
281
264
|
export * from './ProductResourceArrayResponse';
|
|
282
265
|
export * from './ProductSearchResponseResource';
|
|
@@ -292,6 +275,10 @@ export * from './ProductTypeLiteResource';
|
|
|
292
275
|
export * from './ProductTypeLiteResourceArrayResponse';
|
|
293
276
|
export * from './ProductTypeResource';
|
|
294
277
|
export * from './ProductTypeResourceArrayResponse';
|
|
278
|
+
export * from './RedirectFrontendResource';
|
|
279
|
+
export * from './RedirectFrontendResourceArrayResponse';
|
|
280
|
+
export * from './RedirectListResource';
|
|
281
|
+
export * from './RedirectListResourceArrayResponse';
|
|
295
282
|
export * from './SEOResource';
|
|
296
283
|
export * from './SEOResourceArrayResponse';
|
|
297
284
|
export * from './ShowAssetsProductChildRequest';
|
package/dist/models/index.js
CHANGED
|
@@ -108,7 +108,6 @@ __exportStar(require("./GetAllOverlayTemplateRequest"), exports);
|
|
|
108
108
|
__exportStar(require("./GetAllProductCategoryRequest"), exports);
|
|
109
109
|
__exportStar(require("./GetAllProductChildRequest"), exports);
|
|
110
110
|
__exportStar(require("./GetAllProductRangeRequest"), exports);
|
|
111
|
-
__exportStar(require("./GetAllProductRegistrationRequest"), exports);
|
|
112
111
|
__exportStar(require("./GetAllProductRequest"), exports);
|
|
113
112
|
__exportStar(require("./GetAllProductTypeRequest"), exports);
|
|
114
113
|
__exportStar(require("./GetAllStoreRequest"), exports);
|
|
@@ -136,9 +135,9 @@ __exportStar(require("./IndexOverlayTemplateRequest"), exports);
|
|
|
136
135
|
__exportStar(require("./IndexProductCategoryRequest"), exports);
|
|
137
136
|
__exportStar(require("./IndexProductChildRequest"), exports);
|
|
138
137
|
__exportStar(require("./IndexProductRangeRequest"), exports);
|
|
139
|
-
__exportStar(require("./IndexProductRegistrationRequest"), exports);
|
|
140
138
|
__exportStar(require("./IndexProductRequest"), exports);
|
|
141
139
|
__exportStar(require("./IndexProductTypeRequest"), exports);
|
|
140
|
+
__exportStar(require("./IndexRedirectRequest"), exports);
|
|
142
141
|
__exportStar(require("./IndexSiteNotificationRequest"), exports);
|
|
143
142
|
__exportStar(require("./IndexSiteRequest"), exports);
|
|
144
143
|
__exportStar(require("./IndexStoreRequest"), exports);
|
|
@@ -150,7 +149,6 @@ __exportStar(require("./LabelLiteResource"), exports);
|
|
|
150
149
|
__exportStar(require("./LabelLiteResourceArrayResponse"), exports);
|
|
151
150
|
__exportStar(require("./LabelResource"), exports);
|
|
152
151
|
__exportStar(require("./LabelResourceArrayResponse"), exports);
|
|
153
|
-
__exportStar(require("./ListAssetsProductRegistrationRequest"), exports);
|
|
154
152
|
__exportStar(require("./ModelAttributeListResource"), exports);
|
|
155
153
|
__exportStar(require("./ModelAttributeListResourceArrayResponse"), exports);
|
|
156
154
|
__exportStar(require("./ModelAttributeResource"), exports);
|
|
@@ -197,14 +195,12 @@ __exportStar(require("./PaginatedProductRangeListResourceResponse"), exports);
|
|
|
197
195
|
__exportStar(require("./PaginatedProductRangeLiteResourceResponse"), exports);
|
|
198
196
|
__exportStar(require("./PaginatedProductRangeResourceResponse"), exports);
|
|
199
197
|
__exportStar(require("./PaginatedProductRangeSearchResultResourceResponse"), exports);
|
|
200
|
-
__exportStar(require("./PaginatedProductRegistrationAssetResourceResponse"), exports);
|
|
201
|
-
__exportStar(require("./PaginatedProductRegistrationListResourceResponse"), exports);
|
|
202
|
-
__exportStar(require("./PaginatedProductRegistrationResourceResponse"), exports);
|
|
203
198
|
__exportStar(require("./PaginatedProductResourceResponse"), exports);
|
|
204
199
|
__exportStar(require("./PaginatedProductSearchResultResourceResponse"), exports);
|
|
205
200
|
__exportStar(require("./PaginatedProductTypeListResourceResponse"), exports);
|
|
206
201
|
__exportStar(require("./PaginatedProductTypeLiteResourceResponse"), exports);
|
|
207
202
|
__exportStar(require("./PaginatedProductTypeResourceResponse"), exports);
|
|
203
|
+
__exportStar(require("./PaginatedRedirectListResourceResponse"), exports);
|
|
208
204
|
__exportStar(require("./PaginatedSiteListResourceResponse"), exports);
|
|
209
205
|
__exportStar(require("./PaginatedSiteLiteResourceResponse"), exports);
|
|
210
206
|
__exportStar(require("./PaginatedSiteNotificationListResourceResponse"), exports);
|
|
@@ -282,19 +278,6 @@ __exportStar(require("./ProductRangeSiteDetailResource"), exports);
|
|
|
282
278
|
__exportStar(require("./ProductRangeSiteDetailResourceArrayResponse"), exports);
|
|
283
279
|
__exportStar(require("./ProductRangeSortBy"), exports);
|
|
284
280
|
__exportStar(require("./ProductRating"), exports);
|
|
285
|
-
__exportStar(require("./ProductRegistrationAssetResource"), exports);
|
|
286
|
-
__exportStar(require("./ProductRegistrationAssetResourceArrayResponse"), exports);
|
|
287
|
-
__exportStar(require("./ProductRegistrationAssetType"), exports);
|
|
288
|
-
__exportStar(require("./ProductRegistrationCustomerResource"), exports);
|
|
289
|
-
__exportStar(require("./ProductRegistrationCustomerResourceArrayResponse"), exports);
|
|
290
|
-
__exportStar(require("./ProductRegistrationListResource"), exports);
|
|
291
|
-
__exportStar(require("./ProductRegistrationListResourceArrayResponse"), exports);
|
|
292
|
-
__exportStar(require("./ProductRegistrationLiteResource"), exports);
|
|
293
|
-
__exportStar(require("./ProductRegistrationLiteResourceArrayResponse"), exports);
|
|
294
|
-
__exportStar(require("./ProductRegistrationProductChildResource"), exports);
|
|
295
|
-
__exportStar(require("./ProductRegistrationProductChildResourceArrayResponse"), exports);
|
|
296
|
-
__exportStar(require("./ProductRegistrationResource"), exports);
|
|
297
|
-
__exportStar(require("./ProductRegistrationResourceArrayResponse"), exports);
|
|
298
281
|
__exportStar(require("./ProductResource"), exports);
|
|
299
282
|
__exportStar(require("./ProductResourceArrayResponse"), exports);
|
|
300
283
|
__exportStar(require("./ProductSearchResponseResource"), exports);
|
|
@@ -310,6 +293,10 @@ __exportStar(require("./ProductTypeLiteResource"), exports);
|
|
|
310
293
|
__exportStar(require("./ProductTypeLiteResourceArrayResponse"), exports);
|
|
311
294
|
__exportStar(require("./ProductTypeResource"), exports);
|
|
312
295
|
__exportStar(require("./ProductTypeResourceArrayResponse"), exports);
|
|
296
|
+
__exportStar(require("./RedirectFrontendResource"), exports);
|
|
297
|
+
__exportStar(require("./RedirectFrontendResourceArrayResponse"), exports);
|
|
298
|
+
__exportStar(require("./RedirectListResource"), exports);
|
|
299
|
+
__exportStar(require("./RedirectListResourceArrayResponse"), exports);
|
|
313
300
|
__exportStar(require("./SEOResource"), exports);
|
|
314
301
|
__exportStar(require("./SEOResourceArrayResponse"), exports);
|
|
315
302
|
__exportStar(require("./ShowAssetsProductChildRequest"), exports);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
#
|
|
2
|
+
# IndexRedirectRequest
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
## Properties
|
|
@@ -9,26 +9,32 @@ Name | Type
|
|
|
9
9
|
`search` | string
|
|
10
10
|
`sortBy` | string
|
|
11
11
|
`sortDirection` | string
|
|
12
|
+
`perPage` | number
|
|
13
|
+
`page` | number
|
|
14
|
+
`siteId` | Array<string>
|
|
15
|
+
`redirectableType` | Array<string>
|
|
12
16
|
`relatedId` | number
|
|
13
17
|
`relatedType` | string
|
|
14
18
|
`includesRelations` | boolean
|
|
15
|
-
`siteId` | Array<string>
|
|
16
19
|
|
|
17
20
|
## Example
|
|
18
21
|
|
|
19
22
|
```typescript
|
|
20
|
-
import type {
|
|
23
|
+
import type { IndexRedirectRequest } from '@digital8/lighting-illusions-ts-sdk'
|
|
21
24
|
|
|
22
25
|
// TODO: Update the object below with actual values
|
|
23
26
|
const example = {
|
|
24
27
|
"search": null,
|
|
25
28
|
"sortBy": null,
|
|
26
29
|
"sortDirection": null,
|
|
30
|
+
"perPage": null,
|
|
31
|
+
"page": null,
|
|
32
|
+
"siteId": null,
|
|
33
|
+
"redirectableType": null,
|
|
27
34
|
"relatedId": null,
|
|
28
35
|
"relatedType": null,
|
|
29
36
|
"includesRelations": null,
|
|
30
|
-
|
|
31
|
-
} satisfies GetAllProductRegistrationRequest
|
|
37
|
+
} satisfies IndexRedirectRequest
|
|
32
38
|
|
|
33
39
|
console.log(example)
|
|
34
40
|
|
|
@@ -37,7 +43,7 @@ const exampleJSON: string = JSON.stringify(example)
|
|
|
37
43
|
console.log(exampleJSON)
|
|
38
44
|
|
|
39
45
|
// Parse the JSON string back to an object
|
|
40
|
-
const exampleParsed = JSON.parse(exampleJSON) as
|
|
46
|
+
const exampleParsed = JSON.parse(exampleJSON) as IndexRedirectRequest
|
|
41
47
|
console.log(exampleParsed)
|
|
42
48
|
```
|
|
43
49
|
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
|
|
2
|
-
#
|
|
2
|
+
# PaginatedRedirectListResourceResponse
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
## Properties
|
|
6
6
|
|
|
7
7
|
Name | Type
|
|
8
8
|
------------ | -------------
|
|
9
|
-
`data` | [Array<
|
|
9
|
+
`data` | [Array<RedirectListResource>](RedirectListResource.md)
|
|
10
10
|
`meta` | [PagingMetadata](PagingMetadata.md)
|
|
11
11
|
|
|
12
12
|
## Example
|
|
13
13
|
|
|
14
14
|
```typescript
|
|
15
|
-
import type {
|
|
15
|
+
import type { PaginatedRedirectListResourceResponse } from '@digital8/lighting-illusions-ts-sdk'
|
|
16
16
|
|
|
17
17
|
// TODO: Update the object below with actual values
|
|
18
18
|
const example = {
|
|
19
19
|
"data": null,
|
|
20
20
|
"meta": null,
|
|
21
|
-
} satisfies
|
|
21
|
+
} satisfies PaginatedRedirectListResourceResponse
|
|
22
22
|
|
|
23
23
|
console.log(example)
|
|
24
24
|
|
|
@@ -27,7 +27,7 @@ const exampleJSON: string = JSON.stringify(example)
|
|
|
27
27
|
console.log(exampleJSON)
|
|
28
28
|
|
|
29
29
|
// Parse the JSON string back to an object
|
|
30
|
-
const exampleParsed = JSON.parse(exampleJSON) as
|
|
30
|
+
const exampleParsed = JSON.parse(exampleJSON) as PaginatedRedirectListResourceResponse
|
|
31
31
|
console.log(exampleParsed)
|
|
32
32
|
```
|
|
33
33
|
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
# RedirectApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *http://localhost/api*
|
|
4
|
+
|
|
5
|
+
| Method | HTTP request | Description |
|
|
6
|
+
|------------- | ------------- | -------------|
|
|
7
|
+
| [**indexRedirect**](RedirectApi.md#indexredirectoperation) | **POST** /admin-api/redirect/list | Auto-generated: indexRedirect |
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
## indexRedirect
|
|
12
|
+
|
|
13
|
+
> PaginatedRedirectListResourceResponse indexRedirect(indexRedirectRequest)
|
|
14
|
+
|
|
15
|
+
Auto-generated: indexRedirect
|
|
16
|
+
|
|
17
|
+
### Example
|
|
18
|
+
|
|
19
|
+
```ts
|
|
20
|
+
import {
|
|
21
|
+
Configuration,
|
|
22
|
+
RedirectApi,
|
|
23
|
+
} from '@digital8/lighting-illusions-ts-sdk';
|
|
24
|
+
import type { IndexRedirectOperationRequest } from '@digital8/lighting-illusions-ts-sdk';
|
|
25
|
+
|
|
26
|
+
async function example() {
|
|
27
|
+
console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
|
|
28
|
+
const api = new RedirectApi();
|
|
29
|
+
|
|
30
|
+
const body = {
|
|
31
|
+
// IndexRedirectRequest (optional)
|
|
32
|
+
indexRedirectRequest: ...,
|
|
33
|
+
} satisfies IndexRedirectOperationRequest;
|
|
34
|
+
|
|
35
|
+
try {
|
|
36
|
+
const data = await api.indexRedirect(body);
|
|
37
|
+
console.log(data);
|
|
38
|
+
} catch (error) {
|
|
39
|
+
console.error(error);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
// Run the test
|
|
44
|
+
example().catch(console.error);
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
### Parameters
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
| Name | Type | Description | Notes |
|
|
51
|
+
|------------- | ------------- | ------------- | -------------|
|
|
52
|
+
| **indexRedirectRequest** | [IndexRedirectRequest](IndexRedirectRequest.md) | | [Optional] |
|
|
53
|
+
|
|
54
|
+
### Return type
|
|
55
|
+
|
|
56
|
+
[**PaginatedRedirectListResourceResponse**](PaginatedRedirectListResourceResponse.md)
|
|
57
|
+
|
|
58
|
+
### Authorization
|
|
59
|
+
|
|
60
|
+
No authorization required
|
|
61
|
+
|
|
62
|
+
### HTTP request headers
|
|
63
|
+
|
|
64
|
+
- **Content-Type**: `application/json`
|
|
65
|
+
- **Accept**: `application/json`
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
### HTTP response details
|
|
69
|
+
| Status code | Description | Response headers |
|
|
70
|
+
|-------------|-------------|------------------|
|
|
71
|
+
| **200** | Paginated response \\JsonResponse<\\ResourcePaginator<\\RedirectListResource[]>> | - |
|
|
72
|
+
|
|
73
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
74
|
+
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
#
|
|
2
|
+
# RedirectFrontendResource
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
## Properties
|
|
@@ -7,20 +7,26 @@
|
|
|
7
7
|
Name | Type
|
|
8
8
|
------------ | -------------
|
|
9
9
|
`id` | number
|
|
10
|
-
`
|
|
11
|
-
`
|
|
10
|
+
`siteId` | number
|
|
11
|
+
`fromSlug` | string
|
|
12
|
+
`toSlug` | string
|
|
13
|
+
`status` | number
|
|
14
|
+
`redirectableType` | string
|
|
12
15
|
|
|
13
16
|
## Example
|
|
14
17
|
|
|
15
18
|
```typescript
|
|
16
|
-
import type {
|
|
19
|
+
import type { RedirectFrontendResource } from '@digital8/lighting-illusions-ts-sdk'
|
|
17
20
|
|
|
18
21
|
// TODO: Update the object below with actual values
|
|
19
22
|
const example = {
|
|
20
23
|
"id": null,
|
|
21
|
-
"
|
|
22
|
-
"
|
|
23
|
-
|
|
24
|
+
"siteId": null,
|
|
25
|
+
"fromSlug": null,
|
|
26
|
+
"toSlug": null,
|
|
27
|
+
"status": null,
|
|
28
|
+
"redirectableType": null,
|
|
29
|
+
} satisfies RedirectFrontendResource
|
|
24
30
|
|
|
25
31
|
console.log(example)
|
|
26
32
|
|
|
@@ -29,7 +35,7 @@ const exampleJSON: string = JSON.stringify(example)
|
|
|
29
35
|
console.log(exampleJSON)
|
|
30
36
|
|
|
31
37
|
// Parse the JSON string back to an object
|
|
32
|
-
const exampleParsed = JSON.parse(exampleJSON) as
|
|
38
|
+
const exampleParsed = JSON.parse(exampleJSON) as RedirectFrontendResource
|
|
33
39
|
console.log(exampleParsed)
|
|
34
40
|
```
|
|
35
41
|
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
|
|
2
|
-
#
|
|
2
|
+
# RedirectFrontendResourceArrayResponse
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
## Properties
|
|
6
6
|
|
|
7
7
|
Name | Type
|
|
8
8
|
------------ | -------------
|
|
9
|
-
`data` | [Array<
|
|
9
|
+
`data` | [Array<RedirectFrontendResource>](RedirectFrontendResource.md)
|
|
10
10
|
|
|
11
11
|
## Example
|
|
12
12
|
|
|
13
13
|
```typescript
|
|
14
|
-
import type {
|
|
14
|
+
import type { RedirectFrontendResourceArrayResponse } from '@digital8/lighting-illusions-ts-sdk'
|
|
15
15
|
|
|
16
16
|
// TODO: Update the object below with actual values
|
|
17
17
|
const example = {
|
|
18
18
|
"data": null,
|
|
19
|
-
} satisfies
|
|
19
|
+
} satisfies RedirectFrontendResourceArrayResponse
|
|
20
20
|
|
|
21
21
|
console.log(example)
|
|
22
22
|
|
|
@@ -25,7 +25,7 @@ const exampleJSON: string = JSON.stringify(example)
|
|
|
25
25
|
console.log(exampleJSON)
|
|
26
26
|
|
|
27
27
|
// Parse the JSON string back to an object
|
|
28
|
-
const exampleParsed = JSON.parse(exampleJSON) as
|
|
28
|
+
const exampleParsed = JSON.parse(exampleJSON) as RedirectFrontendResourceArrayResponse
|
|
29
29
|
console.log(exampleParsed)
|
|
30
30
|
```
|
|
31
31
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
#
|
|
2
|
+
# RedirectListResource
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
## Properties
|
|
@@ -7,26 +7,28 @@
|
|
|
7
7
|
Name | Type
|
|
8
8
|
------------ | -------------
|
|
9
9
|
`id` | number
|
|
10
|
-
`
|
|
11
|
-
`
|
|
12
|
-
`
|
|
13
|
-
`
|
|
14
|
-
`
|
|
10
|
+
`site` | [SiteLiteResource](SiteLiteResource.md)
|
|
11
|
+
`redirectableType` | string
|
|
12
|
+
`redirectableId` | number
|
|
13
|
+
`fromSlug` | string
|
|
14
|
+
`toSlug` | string
|
|
15
|
+
`status` | number
|
|
15
16
|
|
|
16
17
|
## Example
|
|
17
18
|
|
|
18
19
|
```typescript
|
|
19
|
-
import type {
|
|
20
|
+
import type { RedirectListResource } from '@digital8/lighting-illusions-ts-sdk'
|
|
20
21
|
|
|
21
22
|
// TODO: Update the object below with actual values
|
|
22
23
|
const example = {
|
|
23
24
|
"id": null,
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
-
"
|
|
29
|
-
|
|
25
|
+
"site": null,
|
|
26
|
+
"redirectableType": null,
|
|
27
|
+
"redirectableId": null,
|
|
28
|
+
"fromSlug": null,
|
|
29
|
+
"toSlug": null,
|
|
30
|
+
"status": null,
|
|
31
|
+
} satisfies RedirectListResource
|
|
30
32
|
|
|
31
33
|
console.log(example)
|
|
32
34
|
|
|
@@ -35,7 +37,7 @@ const exampleJSON: string = JSON.stringify(example)
|
|
|
35
37
|
console.log(exampleJSON)
|
|
36
38
|
|
|
37
39
|
// Parse the JSON string back to an object
|
|
38
|
-
const exampleParsed = JSON.parse(exampleJSON) as
|
|
40
|
+
const exampleParsed = JSON.parse(exampleJSON) as RedirectListResource
|
|
39
41
|
console.log(exampleParsed)
|
|
40
42
|
```
|
|
41
43
|
|
|
@@ -1,24 +1,22 @@
|
|
|
1
1
|
|
|
2
|
-
#
|
|
2
|
+
# RedirectListResourceArrayResponse
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
## Properties
|
|
6
6
|
|
|
7
7
|
Name | Type
|
|
8
8
|
------------ | -------------
|
|
9
|
-
`
|
|
10
|
-
`purchasedDate` | Date
|
|
9
|
+
`data` | [Array<RedirectListResource>](RedirectListResource.md)
|
|
11
10
|
|
|
12
11
|
## Example
|
|
13
12
|
|
|
14
13
|
```typescript
|
|
15
|
-
import type {
|
|
14
|
+
import type { RedirectListResourceArrayResponse } from '@digital8/lighting-illusions-ts-sdk'
|
|
16
15
|
|
|
17
16
|
// TODO: Update the object below with actual values
|
|
18
17
|
const example = {
|
|
19
|
-
"
|
|
20
|
-
|
|
21
|
-
} satisfies ProductRegistrationLiteResource
|
|
18
|
+
"data": null,
|
|
19
|
+
} satisfies RedirectListResourceArrayResponse
|
|
22
20
|
|
|
23
21
|
console.log(example)
|
|
24
22
|
|
|
@@ -27,7 +25,7 @@ const exampleJSON: string = JSON.stringify(example)
|
|
|
27
25
|
console.log(exampleJSON)
|
|
28
26
|
|
|
29
27
|
// Parse the JSON string back to an object
|
|
30
|
-
const exampleParsed = JSON.parse(exampleJSON) as
|
|
28
|
+
const exampleParsed = JSON.parse(exampleJSON) as RedirectListResourceArrayResponse
|
|
31
29
|
console.log(exampleParsed)
|
|
32
30
|
```
|
|
33
31
|
|
package/package.json
CHANGED
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* My API
|
|
5
|
+
* API documentation for my Laravel app
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
import * as runtime from '../runtime';
|
|
17
|
+
import type {
|
|
18
|
+
IndexRedirectRequest,
|
|
19
|
+
PaginatedRedirectListResourceResponse,
|
|
20
|
+
} from '../models/index';
|
|
21
|
+
import {
|
|
22
|
+
IndexRedirectRequestFromJSON,
|
|
23
|
+
IndexRedirectRequestToJSON,
|
|
24
|
+
PaginatedRedirectListResourceResponseFromJSON,
|
|
25
|
+
PaginatedRedirectListResourceResponseToJSON,
|
|
26
|
+
} from '../models/index';
|
|
27
|
+
|
|
28
|
+
export interface IndexRedirectOperationRequest {
|
|
29
|
+
indexRedirectRequest?: IndexRedirectRequest;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
*/
|
|
35
|
+
export class RedirectApi extends runtime.BaseAPI {
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* Creates request options for indexRedirect without sending the request
|
|
39
|
+
*/
|
|
40
|
+
async indexRedirectRequestOpts(requestParameters: IndexRedirectOperationRequest): Promise<runtime.RequestOpts> {
|
|
41
|
+
const queryParameters: any = {};
|
|
42
|
+
|
|
43
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
44
|
+
|
|
45
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
let urlPath = `/admin-api/redirect/list`;
|
|
49
|
+
|
|
50
|
+
return {
|
|
51
|
+
path: urlPath,
|
|
52
|
+
method: 'POST',
|
|
53
|
+
headers: headerParameters,
|
|
54
|
+
query: queryParameters,
|
|
55
|
+
body: IndexRedirectRequestToJSON(requestParameters['indexRedirectRequest']),
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* Auto-generated: indexRedirect
|
|
61
|
+
*/
|
|
62
|
+
async indexRedirectRaw(requestParameters: IndexRedirectOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedRedirectListResourceResponse>> {
|
|
63
|
+
const requestOptions = await this.indexRedirectRequestOpts(requestParameters);
|
|
64
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
65
|
+
|
|
66
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => PaginatedRedirectListResourceResponseFromJSON(jsonValue));
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* Auto-generated: indexRedirect
|
|
71
|
+
*/
|
|
72
|
+
async indexRedirect(requestParameters: IndexRedirectOperationRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedRedirectListResourceResponse> {
|
|
73
|
+
const response = await this.indexRedirectRaw(requestParameters, initOverrides);
|
|
74
|
+
return await response.value();
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
}
|
package/src/apis/index.ts
CHANGED
|
@@ -12,8 +12,8 @@ export * from './OverlayTemplateApi';
|
|
|
12
12
|
export * from './ProductApi';
|
|
13
13
|
export * from './ProductCategoryApi';
|
|
14
14
|
export * from './ProductRangeApi';
|
|
15
|
-
export * from './ProductRegistrationApi';
|
|
16
15
|
export * from './ProductTypeApi';
|
|
16
|
+
export * from './RedirectApi';
|
|
17
17
|
export * from './SiteApi';
|
|
18
18
|
export * from './StoreApi';
|
|
19
19
|
export * from './SupplierApi';
|