@digital8/lighting-illusions-ts-sdk 0.0.1451 → 0.0.1452
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 +8 -0
- package/README.md +9 -2
- package/dist/apis/ProductRegistrationApi.d.ts +79 -0
- package/dist/apis/ProductRegistrationApi.js +316 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/models/AddressResource.d.ts +1 -1
- package/dist/models/AddressResource.js +1 -3
- package/dist/models/ExternalApiLogResource.d.ts +1 -1
- package/dist/models/ExternalApiLogResource.js +1 -3
- package/dist/models/GetAllProductRegistrationRequest.d.ts +81 -0
- package/dist/models/GetAllProductRegistrationRequest.js +77 -0
- package/dist/models/IndexProductChildRequest.d.ts +1 -0
- package/dist/models/IndexProductChildRequest.js +1 -0
- package/dist/models/IndexProductRegistrationRequest.d.ts +124 -0
- package/dist/models/IndexProductRegistrationRequest.js +95 -0
- package/dist/models/ListAssetsProductRegistrationRequest.d.ts +103 -0
- package/dist/models/ListAssetsProductRegistrationRequest.js +83 -0
- package/dist/models/index.d.ts +3 -0
- package/dist/models/index.js +3 -0
- package/docs/GetAllProductRegistrationRequest.md +44 -0
- package/docs/IndexProductRegistrationRequest.md +56 -0
- package/docs/ListAssetsProductRegistrationRequest.md +52 -0
- package/docs/ProductRegistrationApi.md +275 -0
- package/package.json +1 -1
- package/src/apis/ProductRegistrationApi.ts +238 -0
- package/src/apis/index.ts +1 -0
- package/src/models/AddressResource.ts +2 -3
- package/src/models/ExternalApiLogResource.ts +2 -3
- package/src/models/GetAllProductRegistrationRequest.ts +128 -0
- package/src/models/IndexProductChildRequest.ts +1 -0
- package/src/models/IndexProductRegistrationRequest.ts +184 -0
- package/src/models/ListAssetsProductRegistrationRequest.ts +158 -0
- package/src/models/index.ts +3 -0
|
@@ -0,0 +1,77 @@
|
|
|
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.GetAllProductRegistrationRequestSortDirectionEnum = exports.GetAllProductRegistrationRequestSortByEnum = void 0;
|
|
17
|
+
exports.instanceOfGetAllProductRegistrationRequest = instanceOfGetAllProductRegistrationRequest;
|
|
18
|
+
exports.GetAllProductRegistrationRequestFromJSON = GetAllProductRegistrationRequestFromJSON;
|
|
19
|
+
exports.GetAllProductRegistrationRequestFromJSONTyped = GetAllProductRegistrationRequestFromJSONTyped;
|
|
20
|
+
exports.GetAllProductRegistrationRequestToJSON = GetAllProductRegistrationRequestToJSON;
|
|
21
|
+
exports.GetAllProductRegistrationRequestToJSONTyped = GetAllProductRegistrationRequestToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.GetAllProductRegistrationRequestSortByEnum = {
|
|
26
|
+
Id: 'id',
|
|
27
|
+
CustomerName: 'customer-name',
|
|
28
|
+
CustomerEmail: 'customer-email',
|
|
29
|
+
CustomerPhone: 'customer-phone',
|
|
30
|
+
CreatedAt: 'created_at'
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* @export
|
|
34
|
+
*/
|
|
35
|
+
exports.GetAllProductRegistrationRequestSortDirectionEnum = {
|
|
36
|
+
Asc: 'asc',
|
|
37
|
+
Desc: 'desc'
|
|
38
|
+
};
|
|
39
|
+
/**
|
|
40
|
+
* Check if a given object implements the GetAllProductRegistrationRequest interface.
|
|
41
|
+
*/
|
|
42
|
+
function instanceOfGetAllProductRegistrationRequest(value) {
|
|
43
|
+
return true;
|
|
44
|
+
}
|
|
45
|
+
function GetAllProductRegistrationRequestFromJSON(json) {
|
|
46
|
+
return GetAllProductRegistrationRequestFromJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
function GetAllProductRegistrationRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
49
|
+
if (json == null) {
|
|
50
|
+
return json;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
'search': json['search'] == null ? undefined : json['search'],
|
|
54
|
+
'sortBy': json['sortBy'] == null ? undefined : json['sortBy'],
|
|
55
|
+
'sortDirection': json['sortDirection'] == null ? undefined : json['sortDirection'],
|
|
56
|
+
'relatedId': json['related_id'] == null ? undefined : json['related_id'],
|
|
57
|
+
'relatedType': json['related_type'] == null ? undefined : json['related_type'],
|
|
58
|
+
'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
function GetAllProductRegistrationRequestToJSON(json) {
|
|
62
|
+
return GetAllProductRegistrationRequestToJSONTyped(json, false);
|
|
63
|
+
}
|
|
64
|
+
function GetAllProductRegistrationRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
65
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
66
|
+
if (value == null) {
|
|
67
|
+
return value;
|
|
68
|
+
}
|
|
69
|
+
return {
|
|
70
|
+
'search': value['search'],
|
|
71
|
+
'sortBy': value['sortBy'],
|
|
72
|
+
'sortDirection': value['sortDirection'],
|
|
73
|
+
'related_id': value['relatedId'],
|
|
74
|
+
'related_type': value['relatedType'],
|
|
75
|
+
'includes_relations': value['includesRelations'],
|
|
76
|
+
};
|
|
77
|
+
}
|
|
@@ -176,6 +176,7 @@ export declare const IndexProductChildRequestRelatedTypeEnum: {
|
|
|
176
176
|
readonly OverlayTemplate: "overlayTemplate";
|
|
177
177
|
readonly ProductType: "productType";
|
|
178
178
|
readonly ProductRange: "productRange";
|
|
179
|
+
readonly ProductRegistration: "productRegistration";
|
|
179
180
|
readonly Supplier: "supplier";
|
|
180
181
|
readonly Tag: "tag";
|
|
181
182
|
readonly Site: "site";
|
|
@@ -0,0 +1,124 @@
|
|
|
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
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface IndexProductRegistrationRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface IndexProductRegistrationRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof IndexProductRegistrationRequest
|
|
22
|
+
*/
|
|
23
|
+
search?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {IndexProductRegistrationRequestSortByEnum}
|
|
27
|
+
* @memberof IndexProductRegistrationRequest
|
|
28
|
+
*/
|
|
29
|
+
sortBy?: IndexProductRegistrationRequestSortByEnum;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {IndexProductRegistrationRequestSortDirectionEnum}
|
|
33
|
+
* @memberof IndexProductRegistrationRequest
|
|
34
|
+
*/
|
|
35
|
+
sortDirection?: IndexProductRegistrationRequestSortDirectionEnum;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof IndexProductRegistrationRequest
|
|
40
|
+
*/
|
|
41
|
+
perPage?: number;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof IndexProductRegistrationRequest
|
|
46
|
+
*/
|
|
47
|
+
page?: number;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {Date}
|
|
51
|
+
* @memberof IndexProductRegistrationRequest
|
|
52
|
+
*/
|
|
53
|
+
beforePurchasedDate?: Date;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {Date}
|
|
57
|
+
* @memberof IndexProductRegistrationRequest
|
|
58
|
+
*/
|
|
59
|
+
afterPurchasedDate?: Date;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {Date}
|
|
63
|
+
* @memberof IndexProductRegistrationRequest
|
|
64
|
+
*/
|
|
65
|
+
beforeCreatedAt?: Date;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {Date}
|
|
69
|
+
* @memberof IndexProductRegistrationRequest
|
|
70
|
+
*/
|
|
71
|
+
afterCreatedAt?: Date;
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @type {number}
|
|
75
|
+
* @memberof IndexProductRegistrationRequest
|
|
76
|
+
*/
|
|
77
|
+
relatedId?: number;
|
|
78
|
+
/**
|
|
79
|
+
*
|
|
80
|
+
* @type {IndexProductRegistrationRequestRelatedTypeEnum}
|
|
81
|
+
* @memberof IndexProductRegistrationRequest
|
|
82
|
+
*/
|
|
83
|
+
relatedType?: IndexProductRegistrationRequestRelatedTypeEnum;
|
|
84
|
+
/**
|
|
85
|
+
*
|
|
86
|
+
* @type {boolean}
|
|
87
|
+
* @memberof IndexProductRegistrationRequest
|
|
88
|
+
*/
|
|
89
|
+
includesRelations?: boolean;
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* @export
|
|
93
|
+
*/
|
|
94
|
+
export declare const IndexProductRegistrationRequestSortByEnum: {
|
|
95
|
+
readonly Id: "id";
|
|
96
|
+
readonly CustomerName: "customer-name";
|
|
97
|
+
readonly CustomerEmail: "customer-email";
|
|
98
|
+
readonly CustomerPhone: "customer-phone";
|
|
99
|
+
readonly CreatedAt: "created_at";
|
|
100
|
+
};
|
|
101
|
+
export type IndexProductRegistrationRequestSortByEnum = typeof IndexProductRegistrationRequestSortByEnum[keyof typeof IndexProductRegistrationRequestSortByEnum];
|
|
102
|
+
/**
|
|
103
|
+
* @export
|
|
104
|
+
*/
|
|
105
|
+
export declare const IndexProductRegistrationRequestSortDirectionEnum: {
|
|
106
|
+
readonly Asc: "asc";
|
|
107
|
+
readonly Desc: "desc";
|
|
108
|
+
};
|
|
109
|
+
export type IndexProductRegistrationRequestSortDirectionEnum = typeof IndexProductRegistrationRequestSortDirectionEnum[keyof typeof IndexProductRegistrationRequestSortDirectionEnum];
|
|
110
|
+
/**
|
|
111
|
+
* @export
|
|
112
|
+
*/
|
|
113
|
+
export declare const IndexProductRegistrationRequestRelatedTypeEnum: {
|
|
114
|
+
readonly ProductChild: "productChild";
|
|
115
|
+
};
|
|
116
|
+
export type IndexProductRegistrationRequestRelatedTypeEnum = typeof IndexProductRegistrationRequestRelatedTypeEnum[keyof typeof IndexProductRegistrationRequestRelatedTypeEnum];
|
|
117
|
+
/**
|
|
118
|
+
* Check if a given object implements the IndexProductRegistrationRequest interface.
|
|
119
|
+
*/
|
|
120
|
+
export declare function instanceOfIndexProductRegistrationRequest(value: object): value is IndexProductRegistrationRequest;
|
|
121
|
+
export declare function IndexProductRegistrationRequestFromJSON(json: any): IndexProductRegistrationRequest;
|
|
122
|
+
export declare function IndexProductRegistrationRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): IndexProductRegistrationRequest;
|
|
123
|
+
export declare function IndexProductRegistrationRequestToJSON(json: any): IndexProductRegistrationRequest;
|
|
124
|
+
export declare function IndexProductRegistrationRequestToJSONTyped(value?: IndexProductRegistrationRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,95 @@
|
|
|
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.IndexProductRegistrationRequestRelatedTypeEnum = exports.IndexProductRegistrationRequestSortDirectionEnum = exports.IndexProductRegistrationRequestSortByEnum = void 0;
|
|
17
|
+
exports.instanceOfIndexProductRegistrationRequest = instanceOfIndexProductRegistrationRequest;
|
|
18
|
+
exports.IndexProductRegistrationRequestFromJSON = IndexProductRegistrationRequestFromJSON;
|
|
19
|
+
exports.IndexProductRegistrationRequestFromJSONTyped = IndexProductRegistrationRequestFromJSONTyped;
|
|
20
|
+
exports.IndexProductRegistrationRequestToJSON = IndexProductRegistrationRequestToJSON;
|
|
21
|
+
exports.IndexProductRegistrationRequestToJSONTyped = IndexProductRegistrationRequestToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.IndexProductRegistrationRequestSortByEnum = {
|
|
26
|
+
Id: 'id',
|
|
27
|
+
CustomerName: 'customer-name',
|
|
28
|
+
CustomerEmail: 'customer-email',
|
|
29
|
+
CustomerPhone: 'customer-phone',
|
|
30
|
+
CreatedAt: 'created_at'
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* @export
|
|
34
|
+
*/
|
|
35
|
+
exports.IndexProductRegistrationRequestSortDirectionEnum = {
|
|
36
|
+
Asc: 'asc',
|
|
37
|
+
Desc: 'desc'
|
|
38
|
+
};
|
|
39
|
+
/**
|
|
40
|
+
* @export
|
|
41
|
+
*/
|
|
42
|
+
exports.IndexProductRegistrationRequestRelatedTypeEnum = {
|
|
43
|
+
ProductChild: 'productChild'
|
|
44
|
+
};
|
|
45
|
+
/**
|
|
46
|
+
* Check if a given object implements the IndexProductRegistrationRequest interface.
|
|
47
|
+
*/
|
|
48
|
+
function instanceOfIndexProductRegistrationRequest(value) {
|
|
49
|
+
return true;
|
|
50
|
+
}
|
|
51
|
+
function IndexProductRegistrationRequestFromJSON(json) {
|
|
52
|
+
return IndexProductRegistrationRequestFromJSONTyped(json, false);
|
|
53
|
+
}
|
|
54
|
+
function IndexProductRegistrationRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
55
|
+
if (json == null) {
|
|
56
|
+
return json;
|
|
57
|
+
}
|
|
58
|
+
return {
|
|
59
|
+
'search': json['search'] == null ? undefined : json['search'],
|
|
60
|
+
'sortBy': json['sortBy'] == null ? undefined : json['sortBy'],
|
|
61
|
+
'sortDirection': json['sortDirection'] == null ? undefined : json['sortDirection'],
|
|
62
|
+
'perPage': json['per_page'] == null ? undefined : json['per_page'],
|
|
63
|
+
'page': json['page'] == null ? undefined : json['page'],
|
|
64
|
+
'beforePurchasedDate': json['before_purchased_date'] == null ? undefined : (new Date(json['before_purchased_date'])),
|
|
65
|
+
'afterPurchasedDate': json['after_purchased_date'] == null ? undefined : (new Date(json['after_purchased_date'])),
|
|
66
|
+
'beforeCreatedAt': json['before_created_at'] == null ? undefined : (new Date(json['before_created_at'])),
|
|
67
|
+
'afterCreatedAt': json['after_created_at'] == null ? undefined : (new Date(json['after_created_at'])),
|
|
68
|
+
'relatedId': json['related_id'] == null ? undefined : json['related_id'],
|
|
69
|
+
'relatedType': json['related_type'] == null ? undefined : json['related_type'],
|
|
70
|
+
'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
function IndexProductRegistrationRequestToJSON(json) {
|
|
74
|
+
return IndexProductRegistrationRequestToJSONTyped(json, false);
|
|
75
|
+
}
|
|
76
|
+
function IndexProductRegistrationRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
77
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
78
|
+
if (value == null) {
|
|
79
|
+
return value;
|
|
80
|
+
}
|
|
81
|
+
return {
|
|
82
|
+
'search': value['search'],
|
|
83
|
+
'sortBy': value['sortBy'],
|
|
84
|
+
'sortDirection': value['sortDirection'],
|
|
85
|
+
'per_page': value['perPage'],
|
|
86
|
+
'page': value['page'],
|
|
87
|
+
'before_purchased_date': value['beforePurchasedDate'] == null ? value['beforePurchasedDate'] : value['beforePurchasedDate'].toISOString(),
|
|
88
|
+
'after_purchased_date': value['afterPurchasedDate'] == null ? value['afterPurchasedDate'] : value['afterPurchasedDate'].toISOString(),
|
|
89
|
+
'before_created_at': value['beforeCreatedAt'] == null ? value['beforeCreatedAt'] : value['beforeCreatedAt'].toISOString(),
|
|
90
|
+
'after_created_at': value['afterCreatedAt'] == null ? value['afterCreatedAt'] : value['afterCreatedAt'].toISOString(),
|
|
91
|
+
'related_id': value['relatedId'],
|
|
92
|
+
'related_type': value['relatedType'],
|
|
93
|
+
'includes_relations': value['includesRelations'],
|
|
94
|
+
};
|
|
95
|
+
}
|
|
@@ -0,0 +1,103 @@
|
|
|
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
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface ListAssetsProductRegistrationRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface ListAssetsProductRegistrationRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ListAssetsProductRegistrationRequest
|
|
22
|
+
*/
|
|
23
|
+
search?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {ListAssetsProductRegistrationRequestSortByEnum}
|
|
27
|
+
* @memberof ListAssetsProductRegistrationRequest
|
|
28
|
+
*/
|
|
29
|
+
sortBy?: ListAssetsProductRegistrationRequestSortByEnum;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {ListAssetsProductRegistrationRequestSortDirectionEnum}
|
|
33
|
+
* @memberof ListAssetsProductRegistrationRequest
|
|
34
|
+
*/
|
|
35
|
+
sortDirection?: ListAssetsProductRegistrationRequestSortDirectionEnum;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof ListAssetsProductRegistrationRequest
|
|
40
|
+
*/
|
|
41
|
+
perPage?: number;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof ListAssetsProductRegistrationRequest
|
|
46
|
+
*/
|
|
47
|
+
page?: number;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {Array<string>}
|
|
51
|
+
* @memberof ListAssetsProductRegistrationRequest
|
|
52
|
+
*/
|
|
53
|
+
productRegistrationId?: Array<string>;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {Array<string>}
|
|
57
|
+
* @memberof ListAssetsProductRegistrationRequest
|
|
58
|
+
*/
|
|
59
|
+
type?: Array<string>;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {number}
|
|
63
|
+
* @memberof ListAssetsProductRegistrationRequest
|
|
64
|
+
*/
|
|
65
|
+
relatedId?: number;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof ListAssetsProductRegistrationRequest
|
|
70
|
+
*/
|
|
71
|
+
relatedType?: string;
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @type {boolean}
|
|
75
|
+
* @memberof ListAssetsProductRegistrationRequest
|
|
76
|
+
*/
|
|
77
|
+
includesRelations?: boolean;
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* @export
|
|
81
|
+
*/
|
|
82
|
+
export declare const ListAssetsProductRegistrationRequestSortByEnum: {
|
|
83
|
+
readonly Id: "id";
|
|
84
|
+
readonly Type: "type";
|
|
85
|
+
readonly CreatedAt: "created_at";
|
|
86
|
+
};
|
|
87
|
+
export type ListAssetsProductRegistrationRequestSortByEnum = typeof ListAssetsProductRegistrationRequestSortByEnum[keyof typeof ListAssetsProductRegistrationRequestSortByEnum];
|
|
88
|
+
/**
|
|
89
|
+
* @export
|
|
90
|
+
*/
|
|
91
|
+
export declare const ListAssetsProductRegistrationRequestSortDirectionEnum: {
|
|
92
|
+
readonly Asc: "asc";
|
|
93
|
+
readonly Desc: "desc";
|
|
94
|
+
};
|
|
95
|
+
export type ListAssetsProductRegistrationRequestSortDirectionEnum = typeof ListAssetsProductRegistrationRequestSortDirectionEnum[keyof typeof ListAssetsProductRegistrationRequestSortDirectionEnum];
|
|
96
|
+
/**
|
|
97
|
+
* Check if a given object implements the ListAssetsProductRegistrationRequest interface.
|
|
98
|
+
*/
|
|
99
|
+
export declare function instanceOfListAssetsProductRegistrationRequest(value: object): value is ListAssetsProductRegistrationRequest;
|
|
100
|
+
export declare function ListAssetsProductRegistrationRequestFromJSON(json: any): ListAssetsProductRegistrationRequest;
|
|
101
|
+
export declare function ListAssetsProductRegistrationRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListAssetsProductRegistrationRequest;
|
|
102
|
+
export declare function ListAssetsProductRegistrationRequestToJSON(json: any): ListAssetsProductRegistrationRequest;
|
|
103
|
+
export declare function ListAssetsProductRegistrationRequestToJSONTyped(value?: ListAssetsProductRegistrationRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,83 @@
|
|
|
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.ListAssetsProductRegistrationRequestSortDirectionEnum = exports.ListAssetsProductRegistrationRequestSortByEnum = void 0;
|
|
17
|
+
exports.instanceOfListAssetsProductRegistrationRequest = instanceOfListAssetsProductRegistrationRequest;
|
|
18
|
+
exports.ListAssetsProductRegistrationRequestFromJSON = ListAssetsProductRegistrationRequestFromJSON;
|
|
19
|
+
exports.ListAssetsProductRegistrationRequestFromJSONTyped = ListAssetsProductRegistrationRequestFromJSONTyped;
|
|
20
|
+
exports.ListAssetsProductRegistrationRequestToJSON = ListAssetsProductRegistrationRequestToJSON;
|
|
21
|
+
exports.ListAssetsProductRegistrationRequestToJSONTyped = ListAssetsProductRegistrationRequestToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.ListAssetsProductRegistrationRequestSortByEnum = {
|
|
26
|
+
Id: 'id',
|
|
27
|
+
Type: 'type',
|
|
28
|
+
CreatedAt: 'created_at'
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* @export
|
|
32
|
+
*/
|
|
33
|
+
exports.ListAssetsProductRegistrationRequestSortDirectionEnum = {
|
|
34
|
+
Asc: 'asc',
|
|
35
|
+
Desc: 'desc'
|
|
36
|
+
};
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the ListAssetsProductRegistrationRequest interface.
|
|
39
|
+
*/
|
|
40
|
+
function instanceOfListAssetsProductRegistrationRequest(value) {
|
|
41
|
+
return true;
|
|
42
|
+
}
|
|
43
|
+
function ListAssetsProductRegistrationRequestFromJSON(json) {
|
|
44
|
+
return ListAssetsProductRegistrationRequestFromJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function ListAssetsProductRegistrationRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
47
|
+
if (json == null) {
|
|
48
|
+
return json;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'search': json['search'] == null ? undefined : json['search'],
|
|
52
|
+
'sortBy': json['sortBy'] == null ? undefined : json['sortBy'],
|
|
53
|
+
'sortDirection': json['sortDirection'] == null ? undefined : json['sortDirection'],
|
|
54
|
+
'perPage': json['per_page'] == null ? undefined : json['per_page'],
|
|
55
|
+
'page': json['page'] == null ? undefined : json['page'],
|
|
56
|
+
'productRegistrationId': json['product_registration_id'] == null ? undefined : json['product_registration_id'],
|
|
57
|
+
'type': json['type'] == null ? undefined : json['type'],
|
|
58
|
+
'relatedId': json['related_id'] == null ? undefined : json['related_id'],
|
|
59
|
+
'relatedType': json['related_type'] == null ? undefined : json['related_type'],
|
|
60
|
+
'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
function ListAssetsProductRegistrationRequestToJSON(json) {
|
|
64
|
+
return ListAssetsProductRegistrationRequestToJSONTyped(json, false);
|
|
65
|
+
}
|
|
66
|
+
function ListAssetsProductRegistrationRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
67
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
68
|
+
if (value == null) {
|
|
69
|
+
return value;
|
|
70
|
+
}
|
|
71
|
+
return {
|
|
72
|
+
'search': value['search'],
|
|
73
|
+
'sortBy': value['sortBy'],
|
|
74
|
+
'sortDirection': value['sortDirection'],
|
|
75
|
+
'per_page': value['perPage'],
|
|
76
|
+
'page': value['page'],
|
|
77
|
+
'product_registration_id': value['productRegistrationId'],
|
|
78
|
+
'type': value['type'],
|
|
79
|
+
'related_id': value['relatedId'],
|
|
80
|
+
'related_type': value['relatedType'],
|
|
81
|
+
'includes_relations': value['includesRelations'],
|
|
82
|
+
};
|
|
83
|
+
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -84,6 +84,7 @@ export * from './GetAllOverlayTemplateRequest';
|
|
|
84
84
|
export * from './GetAllProductCategoryRequest';
|
|
85
85
|
export * from './GetAllProductChildRequest';
|
|
86
86
|
export * from './GetAllProductRangeRequest';
|
|
87
|
+
export * from './GetAllProductRegistrationRequest';
|
|
87
88
|
export * from './GetAllProductRequest';
|
|
88
89
|
export * from './GetAllProductTypeRequest';
|
|
89
90
|
export * from './GetAllSupplierRequest';
|
|
@@ -109,6 +110,7 @@ export * from './IndexOverlayTemplateRequest';
|
|
|
109
110
|
export * from './IndexProductCategoryRequest';
|
|
110
111
|
export * from './IndexProductChildRequest';
|
|
111
112
|
export * from './IndexProductRangeRequest';
|
|
113
|
+
export * from './IndexProductRegistrationRequest';
|
|
112
114
|
export * from './IndexProductRequest';
|
|
113
115
|
export * from './IndexProductTypeRequest';
|
|
114
116
|
export * from './IndexSiteNotificationRequest';
|
|
@@ -117,6 +119,7 @@ export * from './IndexSupplierRequest';
|
|
|
117
119
|
export * from './IndexTagRequest';
|
|
118
120
|
export * from './LabelResource';
|
|
119
121
|
export * from './LabelResourceArrayResponse';
|
|
122
|
+
export * from './ListAssetsProductRegistrationRequest';
|
|
120
123
|
export * from './ModelAttributeListResource';
|
|
121
124
|
export * from './ModelAttributeListResourceArrayResponse';
|
|
122
125
|
export * from './ModelAttributeResource';
|
package/dist/models/index.js
CHANGED
|
@@ -102,6 +102,7 @@ __exportStar(require("./GetAllOverlayTemplateRequest"), exports);
|
|
|
102
102
|
__exportStar(require("./GetAllProductCategoryRequest"), exports);
|
|
103
103
|
__exportStar(require("./GetAllProductChildRequest"), exports);
|
|
104
104
|
__exportStar(require("./GetAllProductRangeRequest"), exports);
|
|
105
|
+
__exportStar(require("./GetAllProductRegistrationRequest"), exports);
|
|
105
106
|
__exportStar(require("./GetAllProductRequest"), exports);
|
|
106
107
|
__exportStar(require("./GetAllProductTypeRequest"), exports);
|
|
107
108
|
__exportStar(require("./GetAllSupplierRequest"), exports);
|
|
@@ -127,6 +128,7 @@ __exportStar(require("./IndexOverlayTemplateRequest"), exports);
|
|
|
127
128
|
__exportStar(require("./IndexProductCategoryRequest"), exports);
|
|
128
129
|
__exportStar(require("./IndexProductChildRequest"), exports);
|
|
129
130
|
__exportStar(require("./IndexProductRangeRequest"), exports);
|
|
131
|
+
__exportStar(require("./IndexProductRegistrationRequest"), exports);
|
|
130
132
|
__exportStar(require("./IndexProductRequest"), exports);
|
|
131
133
|
__exportStar(require("./IndexProductTypeRequest"), exports);
|
|
132
134
|
__exportStar(require("./IndexSiteNotificationRequest"), exports);
|
|
@@ -135,6 +137,7 @@ __exportStar(require("./IndexSupplierRequest"), exports);
|
|
|
135
137
|
__exportStar(require("./IndexTagRequest"), exports);
|
|
136
138
|
__exportStar(require("./LabelResource"), exports);
|
|
137
139
|
__exportStar(require("./LabelResourceArrayResponse"), exports);
|
|
140
|
+
__exportStar(require("./ListAssetsProductRegistrationRequest"), exports);
|
|
138
141
|
__exportStar(require("./ModelAttributeListResource"), exports);
|
|
139
142
|
__exportStar(require("./ModelAttributeListResourceArrayResponse"), exports);
|
|
140
143
|
__exportStar(require("./ModelAttributeResource"), exports);
|
|
@@ -0,0 +1,44 @@
|
|
|
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
|
+
|
|
16
|
+
## Example
|
|
17
|
+
|
|
18
|
+
```typescript
|
|
19
|
+
import type { GetAllProductRegistrationRequest } from '@digital8/lighting-illusions-ts-sdk'
|
|
20
|
+
|
|
21
|
+
// TODO: Update the object below with actual values
|
|
22
|
+
const example = {
|
|
23
|
+
"search": null,
|
|
24
|
+
"sortBy": null,
|
|
25
|
+
"sortDirection": null,
|
|
26
|
+
"relatedId": null,
|
|
27
|
+
"relatedType": null,
|
|
28
|
+
"includesRelations": null,
|
|
29
|
+
} satisfies GetAllProductRegistrationRequest
|
|
30
|
+
|
|
31
|
+
console.log(example)
|
|
32
|
+
|
|
33
|
+
// Convert the instance to a JSON string
|
|
34
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
35
|
+
console.log(exampleJSON)
|
|
36
|
+
|
|
37
|
+
// Parse the JSON string back to an object
|
|
38
|
+
const exampleParsed = JSON.parse(exampleJSON) as GetAllProductRegistrationRequest
|
|
39
|
+
console.log(exampleParsed)
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
43
|
+
|
|
44
|
+
|
|
@@ -0,0 +1,56 @@
|
|
|
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
|
+
`beforePurchasedDate` | Date
|
|
15
|
+
`afterPurchasedDate` | Date
|
|
16
|
+
`beforeCreatedAt` | Date
|
|
17
|
+
`afterCreatedAt` | Date
|
|
18
|
+
`relatedId` | number
|
|
19
|
+
`relatedType` | string
|
|
20
|
+
`includesRelations` | boolean
|
|
21
|
+
|
|
22
|
+
## Example
|
|
23
|
+
|
|
24
|
+
```typescript
|
|
25
|
+
import type { IndexProductRegistrationRequest } from '@digital8/lighting-illusions-ts-sdk'
|
|
26
|
+
|
|
27
|
+
// TODO: Update the object below with actual values
|
|
28
|
+
const example = {
|
|
29
|
+
"search": null,
|
|
30
|
+
"sortBy": null,
|
|
31
|
+
"sortDirection": null,
|
|
32
|
+
"perPage": null,
|
|
33
|
+
"page": null,
|
|
34
|
+
"beforePurchasedDate": null,
|
|
35
|
+
"afterPurchasedDate": null,
|
|
36
|
+
"beforeCreatedAt": null,
|
|
37
|
+
"afterCreatedAt": null,
|
|
38
|
+
"relatedId": null,
|
|
39
|
+
"relatedType": null,
|
|
40
|
+
"includesRelations": null,
|
|
41
|
+
} satisfies IndexProductRegistrationRequest
|
|
42
|
+
|
|
43
|
+
console.log(example)
|
|
44
|
+
|
|
45
|
+
// Convert the instance to a JSON string
|
|
46
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
47
|
+
console.log(exampleJSON)
|
|
48
|
+
|
|
49
|
+
// Parse the JSON string back to an object
|
|
50
|
+
const exampleParsed = JSON.parse(exampleJSON) as IndexProductRegistrationRequest
|
|
51
|
+
console.log(exampleParsed)
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
55
|
+
|
|
56
|
+
|