@digital8/lighting-illusions-ts-sdk 0.0.1575 → 0.0.1577
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 +26 -11
- package/dist/apis/ProductRegistrationApi.d.ts +95 -0
- package/dist/apis/ProductRegistrationApi.js +377 -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 +3 -1
- package/dist/models/AddressResource.d.ts +1 -1
- package/dist/models/AddressResource.js +1 -3
- package/dist/models/GetAllProductRegistrationRequest.d.ts +88 -0
- package/dist/models/GetAllProductRegistrationRequest.js +80 -0
- package/dist/models/GlobalSearchProductResource.d.ts +6 -0
- package/dist/models/GlobalSearchProductResource.js +4 -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/ProductChildListResource.d.ts +6 -0
- package/dist/models/ProductChildListResource.js +2 -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/ProductSearchResultResource.d.ts +6 -0
- package/dist/models/ProductSearchResultResource.js +4 -0
- package/dist/models/StoreFrontendResource.d.ts +1 -1
- package/dist/models/StoreFrontendResource.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/GetAllProductRegistrationRequest.md +46 -0
- package/docs/GlobalSearchProductResource.md +2 -0
- package/docs/IndexProductRegistrationRequest.md +58 -0
- package/docs/{IndexRedirectRequest.md → ListAssetsProductRegistrationRequest.md} +8 -12
- package/docs/PaginatedProductRegistrationAssetResourceResponse.md +36 -0
- package/docs/PaginatedProductRegistrationListResourceResponse.md +36 -0
- package/docs/{PaginatedRedirectListResourceResponse.md → PaginatedProductRegistrationResourceResponse.md} +5 -5
- package/docs/ProductChildListResource.md +2 -0
- package/docs/ProductRangeFrontendResource.md +0 -2
- package/docs/ProductRegistrationApi.md +344 -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/ProductSearchResultResource.md +2 -0
- package/docs/StoreSpecialDateFrontendResource.md +1 -1
- package/package.json +1 -1
- package/src/apis/ProductRegistrationApi.ts +297 -0
- package/src/apis/index.ts +1 -1
- package/src/models/AddressFrontendResource.ts +3 -2
- package/src/models/AddressResource.ts +2 -3
- package/src/models/GetAllProductRegistrationRequest.ts +137 -0
- package/src/models/GlobalSearchProductResource.ts +9 -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/ProductChildListResource.ts +8 -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/ProductSearchResultResource.ts +9 -0
- package/src/models/StoreFrontendResource.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 -124
- package/dist/models/IndexRedirectRequest.js +0 -95
- 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 -184
- 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
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* My API
|
|
6
|
+
* API documentation for my Laravel app
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfProductRegistrationResource = instanceOfProductRegistrationResource;
|
|
17
|
+
exports.ProductRegistrationResourceFromJSON = ProductRegistrationResourceFromJSON;
|
|
18
|
+
exports.ProductRegistrationResourceFromJSONTyped = ProductRegistrationResourceFromJSONTyped;
|
|
19
|
+
exports.ProductRegistrationResourceToJSON = ProductRegistrationResourceToJSON;
|
|
20
|
+
exports.ProductRegistrationResourceToJSONTyped = ProductRegistrationResourceToJSONTyped;
|
|
21
|
+
var ProductRegistrationAssetResource_1 = require("./ProductRegistrationAssetResource");
|
|
22
|
+
var ProductRegistrationProductChildResource_1 = require("./ProductRegistrationProductChildResource");
|
|
23
|
+
var AddressResource_1 = require("./AddressResource");
|
|
24
|
+
var ProductRegistrationCustomerResource_1 = require("./ProductRegistrationCustomerResource");
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the ProductRegistrationResource interface.
|
|
27
|
+
*/
|
|
28
|
+
function instanceOfProductRegistrationResource(value) {
|
|
29
|
+
if (!('purchasedDate' in value) || value['purchasedDate'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('customer' in value) || value['customer'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('address' in value) || value['address'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('productChildren' in value) || value['productChildren'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
if (!('assets' in value) || value['assets'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
return true;
|
|
40
|
+
}
|
|
41
|
+
function ProductRegistrationResourceFromJSON(json) {
|
|
42
|
+
return ProductRegistrationResourceFromJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function ProductRegistrationResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
45
|
+
if (json == null) {
|
|
46
|
+
return json;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
50
|
+
'purchasedDate': (new Date(json['purchasedDate'])),
|
|
51
|
+
'customer': (0, ProductRegistrationCustomerResource_1.ProductRegistrationCustomerResourceFromJSON)(json['customer']),
|
|
52
|
+
'address': (0, AddressResource_1.AddressResourceFromJSON)(json['address']),
|
|
53
|
+
'productChildren': (json['productChildren'] == null ? null : json['productChildren'].map(ProductRegistrationProductChildResource_1.ProductRegistrationProductChildResourceFromJSON)),
|
|
54
|
+
'assets': (json['assets'] == null ? null : json['assets'].map(ProductRegistrationAssetResource_1.ProductRegistrationAssetResourceFromJSON)),
|
|
55
|
+
'omnisendId': json['omnisendId'] == null ? undefined : json['omnisendId'],
|
|
56
|
+
'omnisendSyncStatus': json['omnisendSyncStatus'] == null ? undefined : json['omnisendSyncStatus'],
|
|
57
|
+
'createdAt': json['createdAt'] == null ? undefined : (new Date(json['createdAt'])),
|
|
58
|
+
'updatedAt': json['updatedAt'] == null ? undefined : (new Date(json['updatedAt'])),
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
function ProductRegistrationResourceToJSON(json) {
|
|
62
|
+
return ProductRegistrationResourceToJSONTyped(json, false);
|
|
63
|
+
}
|
|
64
|
+
function ProductRegistrationResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
65
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
66
|
+
if (value == null) {
|
|
67
|
+
return value;
|
|
68
|
+
}
|
|
69
|
+
return {
|
|
70
|
+
'id': value['id'],
|
|
71
|
+
'purchasedDate': value['purchasedDate'].toISOString(),
|
|
72
|
+
'customer': (0, ProductRegistrationCustomerResource_1.ProductRegistrationCustomerResourceToJSON)(value['customer']),
|
|
73
|
+
'address': (0, AddressResource_1.AddressResourceToJSON)(value['address']),
|
|
74
|
+
'productChildren': (value['productChildren'] == null ? null : value['productChildren'].map(ProductRegistrationProductChildResource_1.ProductRegistrationProductChildResourceToJSON)),
|
|
75
|
+
'assets': (value['assets'] == null ? null : value['assets'].map(ProductRegistrationAssetResource_1.ProductRegistrationAssetResourceToJSON)),
|
|
76
|
+
'omnisendId': value['omnisendId'],
|
|
77
|
+
'omnisendSyncStatus': value['omnisendSyncStatus'],
|
|
78
|
+
'createdAt': value['createdAt'] == null ? value['createdAt'] : value['createdAt'].toISOString(),
|
|
79
|
+
'updatedAt': value['updatedAt'] == null ? value['updatedAt'] : value['updatedAt'].toISOString(),
|
|
80
|
+
};
|
|
81
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
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 type { ProductRegistrationResource } from './ProductRegistrationResource';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ProductRegistrationResourceArrayResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface ProductRegistrationResourceArrayResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<ProductRegistrationResource>}
|
|
22
|
+
* @memberof ProductRegistrationResourceArrayResponse
|
|
23
|
+
*/
|
|
24
|
+
data?: Array<ProductRegistrationResource>;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the ProductRegistrationResourceArrayResponse interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfProductRegistrationResourceArrayResponse(value: object): value is ProductRegistrationResourceArrayResponse;
|
|
30
|
+
export declare function ProductRegistrationResourceArrayResponseFromJSON(json: any): ProductRegistrationResourceArrayResponse;
|
|
31
|
+
export declare function ProductRegistrationResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductRegistrationResourceArrayResponse;
|
|
32
|
+
export declare function ProductRegistrationResourceArrayResponseToJSON(json: any): ProductRegistrationResourceArrayResponse;
|
|
33
|
+
export declare function ProductRegistrationResourceArrayResponseToJSONTyped(value?: ProductRegistrationResourceArrayResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* My API
|
|
6
|
+
* API documentation for my Laravel app
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfProductRegistrationResourceArrayResponse = instanceOfProductRegistrationResourceArrayResponse;
|
|
17
|
+
exports.ProductRegistrationResourceArrayResponseFromJSON = ProductRegistrationResourceArrayResponseFromJSON;
|
|
18
|
+
exports.ProductRegistrationResourceArrayResponseFromJSONTyped = ProductRegistrationResourceArrayResponseFromJSONTyped;
|
|
19
|
+
exports.ProductRegistrationResourceArrayResponseToJSON = ProductRegistrationResourceArrayResponseToJSON;
|
|
20
|
+
exports.ProductRegistrationResourceArrayResponseToJSONTyped = ProductRegistrationResourceArrayResponseToJSONTyped;
|
|
21
|
+
var ProductRegistrationResource_1 = require("./ProductRegistrationResource");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the ProductRegistrationResourceArrayResponse interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfProductRegistrationResourceArrayResponse(value) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
function ProductRegistrationResourceArrayResponseFromJSON(json) {
|
|
29
|
+
return ProductRegistrationResourceArrayResponseFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
function ProductRegistrationResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'data': json['data'] == null ? undefined : (json['data'].map(ProductRegistrationResource_1.ProductRegistrationResourceFromJSON)),
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
function ProductRegistrationResourceArrayResponseToJSON(json) {
|
|
40
|
+
return ProductRegistrationResourceArrayResponseToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function ProductRegistrationResourceArrayResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
43
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'data': value['data'] == null ? undefined : (value['data'].map(ProductRegistrationResource_1.ProductRegistrationResourceToJSON)),
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -28,6 +28,8 @@ function instanceOfProductSearchResultResource(value) {
|
|
|
28
28
|
return false;
|
|
29
29
|
if (!('model' in value) || value['model'] === undefined)
|
|
30
30
|
return false;
|
|
31
|
+
if (!('modelRaw' in value) || value['modelRaw'] === undefined)
|
|
32
|
+
return false;
|
|
31
33
|
if (!('barcode' in value) || value['barcode'] === undefined)
|
|
32
34
|
return false;
|
|
33
35
|
if (!('name' in value) || value['name'] === undefined)
|
|
@@ -69,6 +71,7 @@ function ProductSearchResultResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
69
71
|
'id': json['id'],
|
|
70
72
|
'sku': json['sku'],
|
|
71
73
|
'model': json['model'],
|
|
74
|
+
'modelRaw': json['modelRaw'],
|
|
72
75
|
'barcode': json['barcode'],
|
|
73
76
|
'name': json['name'],
|
|
74
77
|
'slug': json['slug'],
|
|
@@ -98,6 +101,7 @@ function ProductSearchResultResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
|
98
101
|
'id': value['id'],
|
|
99
102
|
'sku': value['sku'],
|
|
100
103
|
'model': value['model'],
|
|
104
|
+
'modelRaw': value['modelRaw'],
|
|
101
105
|
'barcode': value['barcode'],
|
|
102
106
|
'name': value['name'],
|
|
103
107
|
'slug': value['slug'],
|
|
@@ -34,6 +34,8 @@ 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;
|
|
37
39
|
if (!('specialDates' in value) || value['specialDates'] === undefined)
|
|
38
40
|
return false;
|
|
39
41
|
if (!('suppliers' in value) || value['suppliers'] === undefined)
|
|
@@ -56,7 +58,7 @@ function StoreFrontendResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
56
58
|
'address': json['address'] == null ? undefined : json['address'],
|
|
57
59
|
'latitude': json['latitude'],
|
|
58
60
|
'longitude': json['longitude'],
|
|
59
|
-
'tagLine': json['tagLine']
|
|
61
|
+
'tagLine': json['tagLine'],
|
|
60
62
|
'openingHours': json['openingHours'] == null ? undefined : json['openingHours'],
|
|
61
63
|
'specialDates': json['specialDates'],
|
|
62
64
|
'suppliers': json['suppliers'],
|
|
@@ -35,10 +35,10 @@ export interface StoreSpecialDateFrontendResource {
|
|
|
35
35
|
hours: string;
|
|
36
36
|
/**
|
|
37
37
|
*
|
|
38
|
-
* @type {
|
|
38
|
+
* @type {object}
|
|
39
39
|
* @memberof StoreSpecialDateFrontendResource
|
|
40
40
|
*/
|
|
41
|
-
date
|
|
41
|
+
date: object;
|
|
42
42
|
/**
|
|
43
43
|
*
|
|
44
44
|
* @type {boolean}
|
|
@@ -26,6 +26,8 @@ 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;
|
|
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 StoreSpecialDateFrontendResourceFromJSONTyped(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['displayStartDate'],
|
|
51
53
|
'displayEndDate': json['displayEndDate'],
|
package/dist/models/index.d.ts
CHANGED
|
@@ -90,6 +90,7 @@ export * from './GetAllOverlayTemplateRequest';
|
|
|
90
90
|
export * from './GetAllProductCategoryRequest';
|
|
91
91
|
export * from './GetAllProductChildRequest';
|
|
92
92
|
export * from './GetAllProductRangeRequest';
|
|
93
|
+
export * from './GetAllProductRegistrationRequest';
|
|
93
94
|
export * from './GetAllProductRequest';
|
|
94
95
|
export * from './GetAllProductTypeRequest';
|
|
95
96
|
export * from './GetAllStoreRequest';
|
|
@@ -117,9 +118,9 @@ export * from './IndexOverlayTemplateRequest';
|
|
|
117
118
|
export * from './IndexProductCategoryRequest';
|
|
118
119
|
export * from './IndexProductChildRequest';
|
|
119
120
|
export * from './IndexProductRangeRequest';
|
|
121
|
+
export * from './IndexProductRegistrationRequest';
|
|
120
122
|
export * from './IndexProductRequest';
|
|
121
123
|
export * from './IndexProductTypeRequest';
|
|
122
|
-
export * from './IndexRedirectRequest';
|
|
123
124
|
export * from './IndexSiteNotificationRequest';
|
|
124
125
|
export * from './IndexSiteRequest';
|
|
125
126
|
export * from './IndexStoreRequest';
|
|
@@ -131,8 +132,7 @@ export * from './LabelLiteResource';
|
|
|
131
132
|
export * from './LabelLiteResourceArrayResponse';
|
|
132
133
|
export * from './LabelResource';
|
|
133
134
|
export * from './LabelResourceArrayResponse';
|
|
134
|
-
export * from './
|
|
135
|
-
export * from './ModelAttributeFrontendResourceArrayResponse';
|
|
135
|
+
export * from './ListAssetsProductRegistrationRequest';
|
|
136
136
|
export * from './ModelAttributeListResource';
|
|
137
137
|
export * from './ModelAttributeListResourceArrayResponse';
|
|
138
138
|
export * from './ModelAttributeResource';
|
|
@@ -179,12 +179,14 @@ export * from './PaginatedProductRangeListResourceResponse';
|
|
|
179
179
|
export * from './PaginatedProductRangeLiteResourceResponse';
|
|
180
180
|
export * from './PaginatedProductRangeResourceResponse';
|
|
181
181
|
export * from './PaginatedProductRangeSearchResultResourceResponse';
|
|
182
|
+
export * from './PaginatedProductRegistrationAssetResourceResponse';
|
|
183
|
+
export * from './PaginatedProductRegistrationListResourceResponse';
|
|
184
|
+
export * from './PaginatedProductRegistrationResourceResponse';
|
|
182
185
|
export * from './PaginatedProductResourceResponse';
|
|
183
186
|
export * from './PaginatedProductSearchResultResourceResponse';
|
|
184
187
|
export * from './PaginatedProductTypeListResourceResponse';
|
|
185
188
|
export * from './PaginatedProductTypeLiteResourceResponse';
|
|
186
189
|
export * from './PaginatedProductTypeResourceResponse';
|
|
187
|
-
export * from './PaginatedRedirectListResourceResponse';
|
|
188
190
|
export * from './PaginatedSiteListResourceResponse';
|
|
189
191
|
export * from './PaginatedSiteLiteResourceResponse';
|
|
190
192
|
export * from './PaginatedSiteNotificationListResourceResponse';
|
|
@@ -262,6 +264,19 @@ export * from './ProductRangeSiteDetailResource';
|
|
|
262
264
|
export * from './ProductRangeSiteDetailResourceArrayResponse';
|
|
263
265
|
export * from './ProductRangeSortBy';
|
|
264
266
|
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';
|
|
265
280
|
export * from './ProductResource';
|
|
266
281
|
export * from './ProductResourceArrayResponse';
|
|
267
282
|
export * from './ProductSearchResponseResource';
|
|
@@ -277,10 +292,6 @@ export * from './ProductTypeLiteResource';
|
|
|
277
292
|
export * from './ProductTypeLiteResourceArrayResponse';
|
|
278
293
|
export * from './ProductTypeResource';
|
|
279
294
|
export * from './ProductTypeResourceArrayResponse';
|
|
280
|
-
export * from './RedirectFrontendResource';
|
|
281
|
-
export * from './RedirectFrontendResourceArrayResponse';
|
|
282
|
-
export * from './RedirectListResource';
|
|
283
|
-
export * from './RedirectListResourceArrayResponse';
|
|
284
295
|
export * from './SEOResource';
|
|
285
296
|
export * from './SEOResourceArrayResponse';
|
|
286
297
|
export * from './ShowAssetsProductChildRequest';
|
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);
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
|
|
2
|
+
# GetAllProductRegistrationRequest
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`search` | string
|
|
10
|
+
`sortBy` | string
|
|
11
|
+
`sortDirection` | string
|
|
12
|
+
`relatedId` | number
|
|
13
|
+
`relatedType` | string
|
|
14
|
+
`includesRelations` | boolean
|
|
15
|
+
`siteId` | Array<string>
|
|
16
|
+
|
|
17
|
+
## Example
|
|
18
|
+
|
|
19
|
+
```typescript
|
|
20
|
+
import type { GetAllProductRegistrationRequest } from '@digital8/lighting-illusions-ts-sdk'
|
|
21
|
+
|
|
22
|
+
// TODO: Update the object below with actual values
|
|
23
|
+
const example = {
|
|
24
|
+
"search": null,
|
|
25
|
+
"sortBy": null,
|
|
26
|
+
"sortDirection": null,
|
|
27
|
+
"relatedId": null,
|
|
28
|
+
"relatedType": null,
|
|
29
|
+
"includesRelations": null,
|
|
30
|
+
"siteId": null,
|
|
31
|
+
} satisfies GetAllProductRegistrationRequest
|
|
32
|
+
|
|
33
|
+
console.log(example)
|
|
34
|
+
|
|
35
|
+
// Convert the instance to a JSON string
|
|
36
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
37
|
+
console.log(exampleJSON)
|
|
38
|
+
|
|
39
|
+
// Parse the JSON string back to an object
|
|
40
|
+
const exampleParsed = JSON.parse(exampleJSON) as GetAllProductRegistrationRequest
|
|
41
|
+
console.log(exampleParsed)
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
45
|
+
|
|
46
|
+
|
|
@@ -9,6 +9,7 @@ Name | Type
|
|
|
9
9
|
`id` | number
|
|
10
10
|
`name` | string
|
|
11
11
|
`model` | string
|
|
12
|
+
`modelRaw` | string
|
|
12
13
|
`slug` | string
|
|
13
14
|
`sku` | string
|
|
14
15
|
`thumbnail` | string
|
|
@@ -28,6 +29,7 @@ const example = {
|
|
|
28
29
|
"id": null,
|
|
29
30
|
"name": null,
|
|
30
31
|
"model": null,
|
|
32
|
+
"modelRaw": null,
|
|
31
33
|
"slug": null,
|
|
32
34
|
"sku": null,
|
|
33
35
|
"thumbnail": null,
|
|
@@ -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
|
+
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
#
|
|
2
|
+
# ListAssetsProductRegistrationRequest
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
## Properties
|
|
@@ -11,18 +11,16 @@ Name | Type
|
|
|
11
11
|
`sortDirection` | string
|
|
12
12
|
`perPage` | number
|
|
13
13
|
`page` | number
|
|
14
|
-
`
|
|
15
|
-
`
|
|
14
|
+
`productRegistrationId` | Array<string>
|
|
15
|
+
`type` | Array<string>
|
|
16
16
|
`relatedId` | number
|
|
17
17
|
`relatedType` | string
|
|
18
18
|
`includesRelations` | boolean
|
|
19
|
-
`productChildId` | number
|
|
20
|
-
`productRangeId` | number
|
|
21
19
|
|
|
22
20
|
## Example
|
|
23
21
|
|
|
24
22
|
```typescript
|
|
25
|
-
import type {
|
|
23
|
+
import type { ListAssetsProductRegistrationRequest } from '@digital8/lighting-illusions-ts-sdk'
|
|
26
24
|
|
|
27
25
|
// TODO: Update the object below with actual values
|
|
28
26
|
const example = {
|
|
@@ -31,14 +29,12 @@ const example = {
|
|
|
31
29
|
"sortDirection": null,
|
|
32
30
|
"perPage": null,
|
|
33
31
|
"page": null,
|
|
34
|
-
"
|
|
35
|
-
"
|
|
32
|
+
"productRegistrationId": null,
|
|
33
|
+
"type": null,
|
|
36
34
|
"relatedId": null,
|
|
37
35
|
"relatedType": null,
|
|
38
36
|
"includesRelations": null,
|
|
39
|
-
|
|
40
|
-
"productRangeId": null,
|
|
41
|
-
} satisfies IndexRedirectRequest
|
|
37
|
+
} satisfies ListAssetsProductRegistrationRequest
|
|
42
38
|
|
|
43
39
|
console.log(example)
|
|
44
40
|
|
|
@@ -47,7 +43,7 @@ const exampleJSON: string = JSON.stringify(example)
|
|
|
47
43
|
console.log(exampleJSON)
|
|
48
44
|
|
|
49
45
|
// Parse the JSON string back to an object
|
|
50
|
-
const exampleParsed = JSON.parse(exampleJSON) as
|
|
46
|
+
const exampleParsed = JSON.parse(exampleJSON) as ListAssetsProductRegistrationRequest
|
|
51
47
|
console.log(exampleParsed)
|
|
52
48
|
```
|
|
53
49
|
|
|
@@ -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
|
+
|