@digital8/lighting-illusions-ts-sdk 0.0.1571 → 0.0.1572
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 +40 -18
- package/README.md +25 -11
- package/dist/apis/ProductRegistrationApi.d.ts +79 -0
- package/dist/apis/ProductRegistrationApi.js +316 -0
- package/dist/apis/index.d.ts +1 -1
- package/dist/apis/index.js +1 -1
- package/dist/models/AddressFrontendResource.d.ts +1 -1
- package/dist/models/AddressFrontendResource.js +1 -3
- package/dist/models/AddressResource.d.ts +2 -2
- package/dist/models/AddressResource.js +2 -6
- package/dist/models/GetAllProductRegistrationRequest.d.ts +88 -0
- package/dist/models/GetAllProductRegistrationRequest.js +80 -0
- package/dist/models/IndexProductChildRequest.d.ts +1 -0
- package/dist/models/IndexProductChildRequest.js +1 -0
- package/dist/models/IndexProductRegistrationRequest.d.ts +131 -0
- package/dist/models/IndexProductRegistrationRequest.js +98 -0
- package/dist/models/ListAssetsProductRegistrationRequest.d.ts +103 -0
- package/dist/models/ListAssetsProductRegistrationRequest.js +83 -0
- package/dist/models/PaginatedProductRegistrationAssetResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedProductRegistrationAssetResourceResponse.js +57 -0
- package/dist/models/PaginatedProductRegistrationListResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedProductRegistrationListResourceResponse.js +57 -0
- package/dist/models/PaginatedProductRegistrationResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedProductRegistrationResourceResponse.js +57 -0
- package/dist/models/ProductRangeFrontendResource.d.ts +0 -7
- package/dist/models/ProductRangeFrontendResource.js +0 -5
- package/dist/models/ProductRegistrationAssetResource.d.ts +45 -0
- package/dist/models/ProductRegistrationAssetResource.js +58 -0
- package/dist/models/ProductRegistrationAssetResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductRegistrationAssetResourceArrayResponse.js +50 -0
- package/dist/models/ProductRegistrationAssetType.d.ts +25 -0
- package/dist/models/ProductRegistrationAssetType.js +51 -0
- package/dist/models/ProductRegistrationCustomerResource.d.ts +62 -0
- package/dist/models/ProductRegistrationCustomerResource.js +65 -0
- package/dist/models/ProductRegistrationCustomerResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductRegistrationCustomerResourceArrayResponse.js +50 -0
- package/dist/models/ProductRegistrationListResource.d.ts +57 -0
- package/dist/models/ProductRegistrationListResource.js +64 -0
- package/dist/models/ProductRegistrationListResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductRegistrationListResourceArrayResponse.js +50 -0
- package/dist/models/ProductRegistrationLiteResource.d.ts +38 -0
- package/dist/models/ProductRegistrationLiteResource.js +53 -0
- package/dist/models/ProductRegistrationLiteResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductRegistrationLiteResourceArrayResponse.js +50 -0
- package/dist/models/ProductRegistrationProductChildResource.d.ts +50 -0
- package/dist/models/ProductRegistrationProductChildResource.js +63 -0
- package/dist/models/ProductRegistrationProductChildResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductRegistrationProductChildResourceArrayResponse.js +50 -0
- package/dist/models/ProductRegistrationResource.d.ts +90 -0
- package/dist/models/ProductRegistrationResource.js +81 -0
- package/dist/models/ProductRegistrationResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductRegistrationResourceArrayResponse.js +50 -0
- 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 +3 -1
- package/dist/models/index.d.ts +19 -8
- package/dist/models/index.js +19 -8
- package/docs/{IndexRedirectRequest.md → GetAllProductRegistrationRequest.md} +6 -12
- package/docs/IndexProductRegistrationRequest.md +58 -0
- package/docs/ListAssetsProductRegistrationRequest.md +52 -0
- package/docs/PaginatedProductRegistrationAssetResourceResponse.md +36 -0
- package/docs/PaginatedProductRegistrationListResourceResponse.md +36 -0
- package/docs/{PaginatedRedirectListResourceResponse.md → PaginatedProductRegistrationResourceResponse.md} +5 -5
- package/docs/ProductRangeFrontendResource.md +0 -2
- package/docs/ProductRegistrationApi.md +275 -0
- package/docs/ProductRegistrationAssetResource.md +38 -0
- package/docs/ProductRegistrationAssetResourceArrayResponse.md +34 -0
- package/docs/{ModelAttributeFrontendResource.md → ProductRegistrationAssetType.md} +4 -8
- package/docs/{RedirectListResource.md → ProductRegistrationCustomerResource.md} +14 -16
- package/docs/ProductRegistrationCustomerResourceArrayResponse.md +34 -0
- package/docs/ProductRegistrationListResource.md +42 -0
- package/docs/{ModelAttributeFrontendResourceArrayResponse.md → ProductRegistrationListResourceArrayResponse.md} +5 -5
- package/docs/{RedirectListResourceArrayResponse.md → ProductRegistrationLiteResource.md} +8 -6
- package/docs/ProductRegistrationLiteResourceArrayResponse.md +34 -0
- package/docs/{RedirectFrontendResource.md → ProductRegistrationProductChildResource.md} +10 -14
- package/docs/ProductRegistrationProductChildResourceArrayResponse.md +34 -0
- package/docs/ProductRegistrationResource.md +52 -0
- package/docs/{RedirectFrontendResourceArrayResponse.md → ProductRegistrationResourceArrayResponse.md} +5 -5
- package/docs/StoreSpecialDateFrontendResource.md +1 -1
- package/package.json +1 -1
- package/src/apis/ProductRegistrationApi.ts +238 -0
- package/src/apis/index.ts +1 -1
- package/src/models/AddressFrontendResource.ts +2 -3
- package/src/models/AddressResource.ts +4 -6
- package/src/models/GetAllProductRegistrationRequest.ts +137 -0
- package/src/models/IndexProductChildRequest.ts +1 -0
- package/src/models/IndexProductRegistrationRequest.ts +193 -0
- package/src/models/ListAssetsProductRegistrationRequest.ts +158 -0
- package/src/models/PaginatedProductRegistrationAssetResourceResponse.ts +90 -0
- package/src/models/PaginatedProductRegistrationListResourceResponse.ts +90 -0
- package/src/models/PaginatedProductRegistrationResourceResponse.ts +90 -0
- package/src/models/ProductRangeFrontendResource.ts +0 -16
- package/src/models/ProductRegistrationAssetResource.ts +91 -0
- package/src/models/ProductRegistrationAssetResourceArrayResponse.ts +73 -0
- package/src/models/ProductRegistrationAssetType.ts +53 -0
- package/src/models/ProductRegistrationCustomerResource.ts +108 -0
- package/src/models/ProductRegistrationCustomerResourceArrayResponse.ts +73 -0
- package/src/models/ProductRegistrationListResource.ts +108 -0
- package/src/models/ProductRegistrationListResourceArrayResponse.ts +73 -0
- package/src/models/ProductRegistrationLiteResource.ts +74 -0
- package/src/models/ProductRegistrationLiteResourceArrayResponse.ts +73 -0
- package/src/models/ProductRegistrationProductChildResource.ts +93 -0
- package/src/models/ProductRegistrationProductChildResourceArrayResponse.ts +73 -0
- package/src/models/ProductRegistrationResource.ts +171 -0
- package/src/models/ProductRegistrationResourceArrayResponse.ts +73 -0
- package/src/models/StoreResource.ts +3 -2
- package/src/models/StoreSpecialDateFrontendResource.ts +4 -3
- package/src/models/index.ts +19 -8
- 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/ModelAttributeFrontendResource.d.ts +0 -38
- package/dist/models/ModelAttributeFrontendResource.js +0 -55
- package/dist/models/ModelAttributeFrontendResourceArrayResponse.d.ts +0 -33
- package/dist/models/ModelAttributeFrontendResourceArrayResponse.js +0 -50
- 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/RedirectApi.md +0 -74
- package/src/apis/RedirectApi.ts +0 -77
- package/src/models/IndexRedirectRequest.ts +0 -168
- package/src/models/ModelAttributeFrontendResource.ts +0 -75
- package/src/models/ModelAttributeFrontendResourceArrayResponse.ts +0 -73
- 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/dist/models/index.js
CHANGED
|
@@ -108,6 +108,7 @@ __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);
|
|
111
112
|
__exportStar(require("./GetAllProductRequest"), exports);
|
|
112
113
|
__exportStar(require("./GetAllProductTypeRequest"), exports);
|
|
113
114
|
__exportStar(require("./GetAllStoreRequest"), exports);
|
|
@@ -135,9 +136,9 @@ __exportStar(require("./IndexOverlayTemplateRequest"), exports);
|
|
|
135
136
|
__exportStar(require("./IndexProductCategoryRequest"), exports);
|
|
136
137
|
__exportStar(require("./IndexProductChildRequest"), exports);
|
|
137
138
|
__exportStar(require("./IndexProductRangeRequest"), exports);
|
|
139
|
+
__exportStar(require("./IndexProductRegistrationRequest"), exports);
|
|
138
140
|
__exportStar(require("./IndexProductRequest"), exports);
|
|
139
141
|
__exportStar(require("./IndexProductTypeRequest"), exports);
|
|
140
|
-
__exportStar(require("./IndexRedirectRequest"), exports);
|
|
141
142
|
__exportStar(require("./IndexSiteNotificationRequest"), exports);
|
|
142
143
|
__exportStar(require("./IndexSiteRequest"), exports);
|
|
143
144
|
__exportStar(require("./IndexStoreRequest"), exports);
|
|
@@ -149,8 +150,7 @@ __exportStar(require("./LabelLiteResource"), exports);
|
|
|
149
150
|
__exportStar(require("./LabelLiteResourceArrayResponse"), exports);
|
|
150
151
|
__exportStar(require("./LabelResource"), exports);
|
|
151
152
|
__exportStar(require("./LabelResourceArrayResponse"), exports);
|
|
152
|
-
__exportStar(require("./
|
|
153
|
-
__exportStar(require("./ModelAttributeFrontendResourceArrayResponse"), exports);
|
|
153
|
+
__exportStar(require("./ListAssetsProductRegistrationRequest"), exports);
|
|
154
154
|
__exportStar(require("./ModelAttributeListResource"), exports);
|
|
155
155
|
__exportStar(require("./ModelAttributeListResourceArrayResponse"), exports);
|
|
156
156
|
__exportStar(require("./ModelAttributeResource"), exports);
|
|
@@ -197,12 +197,14 @@ __exportStar(require("./PaginatedProductRangeListResourceResponse"), exports);
|
|
|
197
197
|
__exportStar(require("./PaginatedProductRangeLiteResourceResponse"), exports);
|
|
198
198
|
__exportStar(require("./PaginatedProductRangeResourceResponse"), exports);
|
|
199
199
|
__exportStar(require("./PaginatedProductRangeSearchResultResourceResponse"), exports);
|
|
200
|
+
__exportStar(require("./PaginatedProductRegistrationAssetResourceResponse"), exports);
|
|
201
|
+
__exportStar(require("./PaginatedProductRegistrationListResourceResponse"), exports);
|
|
202
|
+
__exportStar(require("./PaginatedProductRegistrationResourceResponse"), exports);
|
|
200
203
|
__exportStar(require("./PaginatedProductResourceResponse"), exports);
|
|
201
204
|
__exportStar(require("./PaginatedProductSearchResultResourceResponse"), exports);
|
|
202
205
|
__exportStar(require("./PaginatedProductTypeListResourceResponse"), exports);
|
|
203
206
|
__exportStar(require("./PaginatedProductTypeLiteResourceResponse"), exports);
|
|
204
207
|
__exportStar(require("./PaginatedProductTypeResourceResponse"), exports);
|
|
205
|
-
__exportStar(require("./PaginatedRedirectListResourceResponse"), exports);
|
|
206
208
|
__exportStar(require("./PaginatedSiteListResourceResponse"), exports);
|
|
207
209
|
__exportStar(require("./PaginatedSiteLiteResourceResponse"), exports);
|
|
208
210
|
__exportStar(require("./PaginatedSiteNotificationListResourceResponse"), exports);
|
|
@@ -280,6 +282,19 @@ __exportStar(require("./ProductRangeSiteDetailResource"), exports);
|
|
|
280
282
|
__exportStar(require("./ProductRangeSiteDetailResourceArrayResponse"), exports);
|
|
281
283
|
__exportStar(require("./ProductRangeSortBy"), exports);
|
|
282
284
|
__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);
|
|
283
298
|
__exportStar(require("./ProductResource"), exports);
|
|
284
299
|
__exportStar(require("./ProductResourceArrayResponse"), exports);
|
|
285
300
|
__exportStar(require("./ProductSearchResponseResource"), exports);
|
|
@@ -295,10 +310,6 @@ __exportStar(require("./ProductTypeLiteResource"), exports);
|
|
|
295
310
|
__exportStar(require("./ProductTypeLiteResourceArrayResponse"), exports);
|
|
296
311
|
__exportStar(require("./ProductTypeResource"), exports);
|
|
297
312
|
__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
313
|
__exportStar(require("./SEOResource"), exports);
|
|
303
314
|
__exportStar(require("./SEOResourceArrayResponse"), exports);
|
|
304
315
|
__exportStar(require("./ShowAssetsProductChildRequest"), exports);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
#
|
|
2
|
+
# GetAllProductRegistrationRequest
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
## Properties
|
|
@@ -9,32 +9,26 @@ 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>
|
|
16
12
|
`relatedId` | number
|
|
17
13
|
`relatedType` | string
|
|
18
14
|
`includesRelations` | boolean
|
|
15
|
+
`siteId` | Array<string>
|
|
19
16
|
|
|
20
17
|
## Example
|
|
21
18
|
|
|
22
19
|
```typescript
|
|
23
|
-
import type {
|
|
20
|
+
import type { GetAllProductRegistrationRequest } from '@digital8/lighting-illusions-ts-sdk'
|
|
24
21
|
|
|
25
22
|
// TODO: Update the object below with actual values
|
|
26
23
|
const example = {
|
|
27
24
|
"search": null,
|
|
28
25
|
"sortBy": null,
|
|
29
26
|
"sortDirection": null,
|
|
30
|
-
"perPage": null,
|
|
31
|
-
"page": null,
|
|
32
|
-
"siteId": null,
|
|
33
|
-
"redirectableType": null,
|
|
34
27
|
"relatedId": null,
|
|
35
28
|
"relatedType": null,
|
|
36
29
|
"includesRelations": null,
|
|
37
|
-
|
|
30
|
+
"siteId": null,
|
|
31
|
+
} satisfies GetAllProductRegistrationRequest
|
|
38
32
|
|
|
39
33
|
console.log(example)
|
|
40
34
|
|
|
@@ -43,7 +37,7 @@ const exampleJSON: string = JSON.stringify(example)
|
|
|
43
37
|
console.log(exampleJSON)
|
|
44
38
|
|
|
45
39
|
// Parse the JSON string back to an object
|
|
46
|
-
const exampleParsed = JSON.parse(exampleJSON) as
|
|
40
|
+
const exampleParsed = JSON.parse(exampleJSON) as GetAllProductRegistrationRequest
|
|
47
41
|
console.log(exampleParsed)
|
|
48
42
|
```
|
|
49
43
|
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
|
|
2
|
+
# IndexProductRegistrationRequest
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`search` | string
|
|
10
|
+
`sortBy` | string
|
|
11
|
+
`sortDirection` | string
|
|
12
|
+
`perPage` | number
|
|
13
|
+
`page` | number
|
|
14
|
+
`siteId` | Array<string>
|
|
15
|
+
`beforePurchasedDate` | Date
|
|
16
|
+
`afterPurchasedDate` | Date
|
|
17
|
+
`beforeCreatedAt` | Date
|
|
18
|
+
`afterCreatedAt` | Date
|
|
19
|
+
`relatedId` | number
|
|
20
|
+
`relatedType` | string
|
|
21
|
+
`includesRelations` | boolean
|
|
22
|
+
|
|
23
|
+
## Example
|
|
24
|
+
|
|
25
|
+
```typescript
|
|
26
|
+
import type { IndexProductRegistrationRequest } from '@digital8/lighting-illusions-ts-sdk'
|
|
27
|
+
|
|
28
|
+
// TODO: Update the object below with actual values
|
|
29
|
+
const example = {
|
|
30
|
+
"search": null,
|
|
31
|
+
"sortBy": null,
|
|
32
|
+
"sortDirection": null,
|
|
33
|
+
"perPage": null,
|
|
34
|
+
"page": null,
|
|
35
|
+
"siteId": null,
|
|
36
|
+
"beforePurchasedDate": null,
|
|
37
|
+
"afterPurchasedDate": null,
|
|
38
|
+
"beforeCreatedAt": null,
|
|
39
|
+
"afterCreatedAt": null,
|
|
40
|
+
"relatedId": null,
|
|
41
|
+
"relatedType": null,
|
|
42
|
+
"includesRelations": null,
|
|
43
|
+
} satisfies IndexProductRegistrationRequest
|
|
44
|
+
|
|
45
|
+
console.log(example)
|
|
46
|
+
|
|
47
|
+
// Convert the instance to a JSON string
|
|
48
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
49
|
+
console.log(exampleJSON)
|
|
50
|
+
|
|
51
|
+
// Parse the JSON string back to an object
|
|
52
|
+
const exampleParsed = JSON.parse(exampleJSON) as IndexProductRegistrationRequest
|
|
53
|
+
console.log(exampleParsed)
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
57
|
+
|
|
58
|
+
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
|
|
2
|
+
# ListAssetsProductRegistrationRequest
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`search` | string
|
|
10
|
+
`sortBy` | string
|
|
11
|
+
`sortDirection` | string
|
|
12
|
+
`perPage` | number
|
|
13
|
+
`page` | number
|
|
14
|
+
`productRegistrationId` | Array<string>
|
|
15
|
+
`type` | Array<string>
|
|
16
|
+
`relatedId` | number
|
|
17
|
+
`relatedType` | string
|
|
18
|
+
`includesRelations` | boolean
|
|
19
|
+
|
|
20
|
+
## Example
|
|
21
|
+
|
|
22
|
+
```typescript
|
|
23
|
+
import type { ListAssetsProductRegistrationRequest } from '@digital8/lighting-illusions-ts-sdk'
|
|
24
|
+
|
|
25
|
+
// TODO: Update the object below with actual values
|
|
26
|
+
const example = {
|
|
27
|
+
"search": null,
|
|
28
|
+
"sortBy": null,
|
|
29
|
+
"sortDirection": null,
|
|
30
|
+
"perPage": null,
|
|
31
|
+
"page": null,
|
|
32
|
+
"productRegistrationId": null,
|
|
33
|
+
"type": null,
|
|
34
|
+
"relatedId": null,
|
|
35
|
+
"relatedType": null,
|
|
36
|
+
"includesRelations": null,
|
|
37
|
+
} satisfies ListAssetsProductRegistrationRequest
|
|
38
|
+
|
|
39
|
+
console.log(example)
|
|
40
|
+
|
|
41
|
+
// Convert the instance to a JSON string
|
|
42
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
43
|
+
console.log(exampleJSON)
|
|
44
|
+
|
|
45
|
+
// Parse the JSON string back to an object
|
|
46
|
+
const exampleParsed = JSON.parse(exampleJSON) as ListAssetsProductRegistrationRequest
|
|
47
|
+
console.log(exampleParsed)
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
51
|
+
|
|
52
|
+
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
|
|
2
|
+
# PaginatedProductRegistrationAssetResourceResponse
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`data` | [Array<ProductRegistrationAssetResource>](ProductRegistrationAssetResource.md)
|
|
10
|
+
`meta` | [PagingMetadata](PagingMetadata.md)
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import type { PaginatedProductRegistrationAssetResourceResponse } from '@digital8/lighting-illusions-ts-sdk'
|
|
16
|
+
|
|
17
|
+
// TODO: Update the object below with actual values
|
|
18
|
+
const example = {
|
|
19
|
+
"data": null,
|
|
20
|
+
"meta": null,
|
|
21
|
+
} satisfies PaginatedProductRegistrationAssetResourceResponse
|
|
22
|
+
|
|
23
|
+
console.log(example)
|
|
24
|
+
|
|
25
|
+
// Convert the instance to a JSON string
|
|
26
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
27
|
+
console.log(exampleJSON)
|
|
28
|
+
|
|
29
|
+
// Parse the JSON string back to an object
|
|
30
|
+
const exampleParsed = JSON.parse(exampleJSON) as PaginatedProductRegistrationAssetResourceResponse
|
|
31
|
+
console.log(exampleParsed)
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
35
|
+
|
|
36
|
+
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
|
|
2
|
+
# PaginatedProductRegistrationListResourceResponse
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`data` | [Array<ProductRegistrationListResource>](ProductRegistrationListResource.md)
|
|
10
|
+
`meta` | [PagingMetadata](PagingMetadata.md)
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import type { PaginatedProductRegistrationListResourceResponse } from '@digital8/lighting-illusions-ts-sdk'
|
|
16
|
+
|
|
17
|
+
// TODO: Update the object below with actual values
|
|
18
|
+
const example = {
|
|
19
|
+
"data": null,
|
|
20
|
+
"meta": null,
|
|
21
|
+
} satisfies PaginatedProductRegistrationListResourceResponse
|
|
22
|
+
|
|
23
|
+
console.log(example)
|
|
24
|
+
|
|
25
|
+
// Convert the instance to a JSON string
|
|
26
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
27
|
+
console.log(exampleJSON)
|
|
28
|
+
|
|
29
|
+
// Parse the JSON string back to an object
|
|
30
|
+
const exampleParsed = JSON.parse(exampleJSON) as PaginatedProductRegistrationListResourceResponse
|
|
31
|
+
console.log(exampleParsed)
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
35
|
+
|
|
36
|
+
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
|
|
2
|
-
#
|
|
2
|
+
# PaginatedProductRegistrationResourceResponse
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
## Properties
|
|
6
6
|
|
|
7
7
|
Name | Type
|
|
8
8
|
------------ | -------------
|
|
9
|
-
`data` | [Array<
|
|
9
|
+
`data` | [Array<ProductRegistrationResource>](ProductRegistrationResource.md)
|
|
10
10
|
`meta` | [PagingMetadata](PagingMetadata.md)
|
|
11
11
|
|
|
12
12
|
## Example
|
|
13
13
|
|
|
14
14
|
```typescript
|
|
15
|
-
import type {
|
|
15
|
+
import type { PaginatedProductRegistrationResourceResponse } 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 PaginatedProductRegistrationResourceResponse
|
|
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 PaginatedProductRegistrationResourceResponse
|
|
31
31
|
console.log(exampleParsed)
|
|
32
32
|
```
|
|
33
33
|
|
|
@@ -21,7 +21,6 @@ Name | Type
|
|
|
21
21
|
`seo` | object
|
|
22
22
|
`assets` | object
|
|
23
23
|
`thumbnail` | string
|
|
24
|
-
`attributes` | [Array<ModelAttributeFrontendResource>](ModelAttributeFrontendResource.md)
|
|
25
24
|
|
|
26
25
|
## Example
|
|
27
26
|
|
|
@@ -45,7 +44,6 @@ const example = {
|
|
|
45
44
|
"seo": null,
|
|
46
45
|
"assets": null,
|
|
47
46
|
"thumbnail": null,
|
|
48
|
-
"attributes": null,
|
|
49
47
|
} satisfies ProductRangeFrontendResource
|
|
50
48
|
|
|
51
49
|
console.log(example)
|
|
@@ -0,0 +1,275 @@
|
|
|
1
|
+
# ProductRegistrationApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *http://localhost/api*
|
|
4
|
+
|
|
5
|
+
| Method | HTTP request | Description |
|
|
6
|
+
|------------- | ------------- | -------------|
|
|
7
|
+
| [**getAllProductRegistration**](ProductRegistrationApi.md#getallproductregistrationoperation) | **POST** /admin-api/product-registration/all | Auto-generated: getAllProductRegistration |
|
|
8
|
+
| [**indexProductRegistration**](ProductRegistrationApi.md#indexproductregistrationoperation) | **POST** /admin-api/product-registration/list | Auto-generated: indexProductRegistration |
|
|
9
|
+
| [**listAssetsProductRegistration**](ProductRegistrationApi.md#listassetsproductregistrationoperation) | **POST** /admin-api/product-registration/{productRegistration}/assets | Auto-generated: listAssetsProductRegistration |
|
|
10
|
+
| [**showProductRegistration**](ProductRegistrationApi.md#showproductregistration) | **GET** /admin-api/product-registration/{productRegistration} | Auto-generated: showProductRegistration |
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## getAllProductRegistration
|
|
15
|
+
|
|
16
|
+
> ProductRegistrationLiteResourceArrayResponse getAllProductRegistration(getAllProductRegistrationRequest)
|
|
17
|
+
|
|
18
|
+
Auto-generated: getAllProductRegistration
|
|
19
|
+
|
|
20
|
+
### Example
|
|
21
|
+
|
|
22
|
+
```ts
|
|
23
|
+
import {
|
|
24
|
+
Configuration,
|
|
25
|
+
ProductRegistrationApi,
|
|
26
|
+
} from '@digital8/lighting-illusions-ts-sdk';
|
|
27
|
+
import type { GetAllProductRegistrationOperationRequest } from '@digital8/lighting-illusions-ts-sdk';
|
|
28
|
+
|
|
29
|
+
async function example() {
|
|
30
|
+
console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
|
|
31
|
+
const api = new ProductRegistrationApi();
|
|
32
|
+
|
|
33
|
+
const body = {
|
|
34
|
+
// GetAllProductRegistrationRequest (optional)
|
|
35
|
+
getAllProductRegistrationRequest: ...,
|
|
36
|
+
} satisfies GetAllProductRegistrationOperationRequest;
|
|
37
|
+
|
|
38
|
+
try {
|
|
39
|
+
const data = await api.getAllProductRegistration(body);
|
|
40
|
+
console.log(data);
|
|
41
|
+
} catch (error) {
|
|
42
|
+
console.error(error);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
// Run the test
|
|
47
|
+
example().catch(console.error);
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
### Parameters
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
| Name | Type | Description | Notes |
|
|
54
|
+
|------------- | ------------- | ------------- | -------------|
|
|
55
|
+
| **getAllProductRegistrationRequest** | [GetAllProductRegistrationRequest](GetAllProductRegistrationRequest.md) | | [Optional] |
|
|
56
|
+
|
|
57
|
+
### Return type
|
|
58
|
+
|
|
59
|
+
[**ProductRegistrationLiteResourceArrayResponse**](ProductRegistrationLiteResourceArrayResponse.md)
|
|
60
|
+
|
|
61
|
+
### Authorization
|
|
62
|
+
|
|
63
|
+
No authorization required
|
|
64
|
+
|
|
65
|
+
### HTTP request headers
|
|
66
|
+
|
|
67
|
+
- **Content-Type**: `application/json`
|
|
68
|
+
- **Accept**: `application/json`
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
### HTTP response details
|
|
72
|
+
| Status code | Description | Response headers |
|
|
73
|
+
|-------------|-------------|------------------|
|
|
74
|
+
| **200** | Successful resource response | - |
|
|
75
|
+
|
|
76
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
## indexProductRegistration
|
|
80
|
+
|
|
81
|
+
> PaginatedProductRegistrationListResourceResponse indexProductRegistration(indexProductRegistrationRequest)
|
|
82
|
+
|
|
83
|
+
Auto-generated: indexProductRegistration
|
|
84
|
+
|
|
85
|
+
### Example
|
|
86
|
+
|
|
87
|
+
```ts
|
|
88
|
+
import {
|
|
89
|
+
Configuration,
|
|
90
|
+
ProductRegistrationApi,
|
|
91
|
+
} from '@digital8/lighting-illusions-ts-sdk';
|
|
92
|
+
import type { IndexProductRegistrationOperationRequest } from '@digital8/lighting-illusions-ts-sdk';
|
|
93
|
+
|
|
94
|
+
async function example() {
|
|
95
|
+
console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
|
|
96
|
+
const api = new ProductRegistrationApi();
|
|
97
|
+
|
|
98
|
+
const body = {
|
|
99
|
+
// IndexProductRegistrationRequest (optional)
|
|
100
|
+
indexProductRegistrationRequest: ...,
|
|
101
|
+
} satisfies IndexProductRegistrationOperationRequest;
|
|
102
|
+
|
|
103
|
+
try {
|
|
104
|
+
const data = await api.indexProductRegistration(body);
|
|
105
|
+
console.log(data);
|
|
106
|
+
} catch (error) {
|
|
107
|
+
console.error(error);
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
// Run the test
|
|
112
|
+
example().catch(console.error);
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
### Parameters
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
| Name | Type | Description | Notes |
|
|
119
|
+
|------------- | ------------- | ------------- | -------------|
|
|
120
|
+
| **indexProductRegistrationRequest** | [IndexProductRegistrationRequest](IndexProductRegistrationRequest.md) | | [Optional] |
|
|
121
|
+
|
|
122
|
+
### Return type
|
|
123
|
+
|
|
124
|
+
[**PaginatedProductRegistrationListResourceResponse**](PaginatedProductRegistrationListResourceResponse.md)
|
|
125
|
+
|
|
126
|
+
### Authorization
|
|
127
|
+
|
|
128
|
+
No authorization required
|
|
129
|
+
|
|
130
|
+
### HTTP request headers
|
|
131
|
+
|
|
132
|
+
- **Content-Type**: `application/json`
|
|
133
|
+
- **Accept**: `application/json`
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
### HTTP response details
|
|
137
|
+
| Status code | Description | Response headers |
|
|
138
|
+
|-------------|-------------|------------------|
|
|
139
|
+
| **200** | Paginated response \\JsonResponse<\\ResourcePaginator<\\ProductRegistrationListResource[]>> | - |
|
|
140
|
+
|
|
141
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
## listAssetsProductRegistration
|
|
145
|
+
|
|
146
|
+
> PaginatedProductRegistrationAssetResourceResponse listAssetsProductRegistration(productRegistration, listAssetsProductRegistrationRequest)
|
|
147
|
+
|
|
148
|
+
Auto-generated: listAssetsProductRegistration
|
|
149
|
+
|
|
150
|
+
### Example
|
|
151
|
+
|
|
152
|
+
```ts
|
|
153
|
+
import {
|
|
154
|
+
Configuration,
|
|
155
|
+
ProductRegistrationApi,
|
|
156
|
+
} from '@digital8/lighting-illusions-ts-sdk';
|
|
157
|
+
import type { ListAssetsProductRegistrationOperationRequest } from '@digital8/lighting-illusions-ts-sdk';
|
|
158
|
+
|
|
159
|
+
async function example() {
|
|
160
|
+
console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
|
|
161
|
+
const api = new ProductRegistrationApi();
|
|
162
|
+
|
|
163
|
+
const body = {
|
|
164
|
+
// number | The id of the productRegistration
|
|
165
|
+
productRegistration: 56,
|
|
166
|
+
// ListAssetsProductRegistrationRequest (optional)
|
|
167
|
+
listAssetsProductRegistrationRequest: ...,
|
|
168
|
+
} satisfies ListAssetsProductRegistrationOperationRequest;
|
|
169
|
+
|
|
170
|
+
try {
|
|
171
|
+
const data = await api.listAssetsProductRegistration(body);
|
|
172
|
+
console.log(data);
|
|
173
|
+
} catch (error) {
|
|
174
|
+
console.error(error);
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
// Run the test
|
|
179
|
+
example().catch(console.error);
|
|
180
|
+
```
|
|
181
|
+
|
|
182
|
+
### Parameters
|
|
183
|
+
|
|
184
|
+
|
|
185
|
+
| Name | Type | Description | Notes |
|
|
186
|
+
|------------- | ------------- | ------------- | -------------|
|
|
187
|
+
| **productRegistration** | `number` | The id of the productRegistration | [Defaults to `undefined`] |
|
|
188
|
+
| **listAssetsProductRegistrationRequest** | [ListAssetsProductRegistrationRequest](ListAssetsProductRegistrationRequest.md) | | [Optional] |
|
|
189
|
+
|
|
190
|
+
### Return type
|
|
191
|
+
|
|
192
|
+
[**PaginatedProductRegistrationAssetResourceResponse**](PaginatedProductRegistrationAssetResourceResponse.md)
|
|
193
|
+
|
|
194
|
+
### Authorization
|
|
195
|
+
|
|
196
|
+
No authorization required
|
|
197
|
+
|
|
198
|
+
### HTTP request headers
|
|
199
|
+
|
|
200
|
+
- **Content-Type**: `application/json`
|
|
201
|
+
- **Accept**: `application/json`
|
|
202
|
+
|
|
203
|
+
|
|
204
|
+
### HTTP response details
|
|
205
|
+
| Status code | Description | Response headers |
|
|
206
|
+
|-------------|-------------|------------------|
|
|
207
|
+
| **200** | Paginated response \\JsonResponse<\\ResourcePaginator<\\ProductRegistrationAssetResource[]>> | - |
|
|
208
|
+
|
|
209
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
210
|
+
|
|
211
|
+
|
|
212
|
+
## showProductRegistration
|
|
213
|
+
|
|
214
|
+
> ProductRegistrationResource showProductRegistration(productRegistration)
|
|
215
|
+
|
|
216
|
+
Auto-generated: showProductRegistration
|
|
217
|
+
|
|
218
|
+
### Example
|
|
219
|
+
|
|
220
|
+
```ts
|
|
221
|
+
import {
|
|
222
|
+
Configuration,
|
|
223
|
+
ProductRegistrationApi,
|
|
224
|
+
} from '@digital8/lighting-illusions-ts-sdk';
|
|
225
|
+
import type { ShowProductRegistrationRequest } from '@digital8/lighting-illusions-ts-sdk';
|
|
226
|
+
|
|
227
|
+
async function example() {
|
|
228
|
+
console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
|
|
229
|
+
const api = new ProductRegistrationApi();
|
|
230
|
+
|
|
231
|
+
const body = {
|
|
232
|
+
// number | The id of the productRegistration
|
|
233
|
+
productRegistration: 56,
|
|
234
|
+
} satisfies ShowProductRegistrationRequest;
|
|
235
|
+
|
|
236
|
+
try {
|
|
237
|
+
const data = await api.showProductRegistration(body);
|
|
238
|
+
console.log(data);
|
|
239
|
+
} catch (error) {
|
|
240
|
+
console.error(error);
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
// Run the test
|
|
245
|
+
example().catch(console.error);
|
|
246
|
+
```
|
|
247
|
+
|
|
248
|
+
### Parameters
|
|
249
|
+
|
|
250
|
+
|
|
251
|
+
| Name | Type | Description | Notes |
|
|
252
|
+
|------------- | ------------- | ------------- | -------------|
|
|
253
|
+
| **productRegistration** | `number` | The id of the productRegistration | [Defaults to `undefined`] |
|
|
254
|
+
|
|
255
|
+
### Return type
|
|
256
|
+
|
|
257
|
+
[**ProductRegistrationResource**](ProductRegistrationResource.md)
|
|
258
|
+
|
|
259
|
+
### Authorization
|
|
260
|
+
|
|
261
|
+
No authorization required
|
|
262
|
+
|
|
263
|
+
### HTTP request headers
|
|
264
|
+
|
|
265
|
+
- **Content-Type**: Not defined
|
|
266
|
+
- **Accept**: `application/json`
|
|
267
|
+
|
|
268
|
+
|
|
269
|
+
### HTTP response details
|
|
270
|
+
| Status code | Description | Response headers |
|
|
271
|
+
|-------------|-------------|------------------|
|
|
272
|
+
| **200** | Successful resource response | - |
|
|
273
|
+
|
|
274
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
275
|
+
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
|
|
2
|
+
# ProductRegistrationAssetResource
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`id` | number
|
|
10
|
+
`type` | string
|
|
11
|
+
`asset` | [AssetResource](AssetResource.md)
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import type { ProductRegistrationAssetResource } from '@digital8/lighting-illusions-ts-sdk'
|
|
17
|
+
|
|
18
|
+
// TODO: Update the object below with actual values
|
|
19
|
+
const example = {
|
|
20
|
+
"id": null,
|
|
21
|
+
"type": null,
|
|
22
|
+
"asset": null,
|
|
23
|
+
} satisfies ProductRegistrationAssetResource
|
|
24
|
+
|
|
25
|
+
console.log(example)
|
|
26
|
+
|
|
27
|
+
// Convert the instance to a JSON string
|
|
28
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
29
|
+
console.log(exampleJSON)
|
|
30
|
+
|
|
31
|
+
// Parse the JSON string back to an object
|
|
32
|
+
const exampleParsed = JSON.parse(exampleJSON) as ProductRegistrationAssetResource
|
|
33
|
+
console.log(exampleParsed)
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
37
|
+
|
|
38
|
+
|