@digital8/lighting-illusions-ts-sdk 0.0.1637 → 0.0.1639
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 +26 -40
- package/README.md +20 -26
- package/dist/apis/ReviewApi.d.ts +109 -0
- package/dist/apis/{ProductRegistrationApi.js → ReviewApi.js} +130 -74
- package/dist/apis/index.d.ts +1 -1
- package/dist/apis/index.js +1 -1
- package/dist/models/AddressFrontendResource.d.ts +2 -2
- package/dist/models/AddressFrontendResource.js +6 -2
- package/dist/models/AddressResource.d.ts +2 -2
- package/dist/models/AddressResource.js +4 -4
- package/dist/models/ExternalApiLogResource.d.ts +1 -1
- package/dist/models/ExternalApiLogResource.js +1 -3
- package/dist/models/GlobalSearchProductResource.d.ts +0 -6
- package/dist/models/GlobalSearchProductResource.js +0 -4
- package/dist/models/IndexProductChildRequest.d.ts +0 -1
- package/dist/models/IndexProductChildRequest.js +0 -1
- package/dist/models/IndexReviewRequest.d.ts +110 -0
- package/dist/models/{ListAssetsProductRegistrationRequest.js → IndexReviewRequest.js} +24 -21
- package/dist/models/PaginatedReviewListResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedReviewListResourceResponse.js +57 -0
- package/dist/models/PaginatedReviewLiteResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedReviewLiteResourceResponse.js +57 -0
- package/dist/models/PaginatedReviewResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedReviewResourceResponse.js +57 -0
- package/dist/models/ProductChildListResource.d.ts +0 -6
- package/dist/models/ProductChildListResource.js +0 -2
- package/dist/models/ProductSearchResultResource.d.ts +0 -6
- package/dist/models/ProductSearchResultResource.js +0 -4
- package/dist/models/ReviewListResource.d.ts +87 -0
- package/dist/models/ReviewListResource.js +82 -0
- package/dist/models/ReviewListResourceArrayResponse.d.ts +33 -0
- package/dist/models/ReviewListResourceArrayResponse.js +50 -0
- package/dist/models/ReviewLiteResource.d.ts +44 -0
- package/dist/models/ReviewLiteResource.js +59 -0
- package/dist/models/ReviewLiteResourceArrayResponse.d.ts +33 -0
- package/dist/models/ReviewLiteResourceArrayResponse.js +50 -0
- package/dist/models/ReviewResource.d.ts +117 -0
- package/dist/models/ReviewResource.js +100 -0
- package/dist/models/ReviewResourceArrayResponse.d.ts +33 -0
- package/dist/models/ReviewResourceArrayResponse.js +50 -0
- package/dist/models/StoreListResource.d.ts +2 -2
- package/dist/models/StoreListResource.js +4 -4
- package/dist/models/StoreResource.d.ts +2 -2
- package/dist/models/StoreResource.js +2 -6
- package/dist/models/StoreReviewRequest.d.ts +74 -0
- package/dist/models/StoreReviewRequest.js +71 -0
- package/dist/models/StoreSpecialDateResource.d.ts +2 -2
- package/dist/models/StoreSpecialDateResource.js +1 -3
- package/dist/models/UpdateReviewRequest.d.ts +62 -0
- package/dist/models/UpdateReviewRequest.js +63 -0
- package/dist/models/index.d.ts +12 -19
- package/dist/models/index.js +12 -19
- package/docs/GlobalSearchProductResource.md +0 -2
- package/docs/{ListAssetsProductRegistrationRequest.md → IndexReviewRequest.md} +10 -8
- package/docs/{PaginatedProductRegistrationResourceResponse.md → PaginatedReviewListResourceResponse.md} +5 -5
- package/docs/{PaginatedProductRegistrationListResourceResponse.md → PaginatedReviewLiteResourceResponse.md} +5 -5
- package/docs/{ProductRegistrationResourceArrayResponse.md → PaginatedReviewResourceResponse.md} +7 -5
- package/docs/ProductChildListResource.md +0 -2
- package/docs/ProductSearchResultResource.md +0 -2
- package/docs/ReviewApi.md +407 -0
- package/docs/ReviewListResource.md +52 -0
- package/docs/{ProductRegistrationAssetResource.md → ReviewListResourceArrayResponse.md} +6 -10
- package/docs/{ProductRegistrationLiteResource.md → ReviewLiteResource.md} +8 -6
- package/docs/ReviewLiteResourceArrayResponse.md +34 -0
- package/docs/ReviewResource.md +62 -0
- package/docs/{ProductRegistrationAssetType.md → ReviewResourceArrayResponse.md} +6 -4
- package/docs/StoreReviewRequest.md +48 -0
- package/docs/StoreSpecialDateResource.md +1 -1
- package/docs/{ProductRegistrationAssetResourceArrayResponse.md → UpdateReviewRequest.md} +16 -6
- package/package.json +1 -1
- package/src/apis/ReviewApi.ts +331 -0
- package/src/apis/index.ts +1 -1
- package/src/models/AddressFrontendResource.ts +6 -4
- package/src/models/AddressResource.ts +5 -5
- package/src/models/ExternalApiLogResource.ts +2 -3
- package/src/models/GlobalSearchProductResource.ts +0 -9
- package/src/models/IndexProductChildRequest.ts +0 -1
- package/src/models/IndexReviewRequest.ts +167 -0
- package/src/models/PaginatedReviewListResourceResponse.ts +90 -0
- package/src/models/PaginatedReviewLiteResourceResponse.ts +90 -0
- package/src/models/PaginatedReviewResourceResponse.ts +90 -0
- package/src/models/ProductChildListResource.ts +0 -8
- package/src/models/ProductSearchResultResource.ts +0 -9
- package/src/models/ReviewListResource.ts +152 -0
- package/src/models/ReviewListResourceArrayResponse.ts +73 -0
- package/src/models/ReviewLiteResource.ts +84 -0
- package/src/models/ReviewLiteResourceArrayResponse.ts +73 -0
- package/src/models/ReviewResource.ts +196 -0
- package/src/models/ReviewResourceArrayResponse.ts +73 -0
- package/src/models/StoreListResource.ts +5 -5
- package/src/models/StoreResource.ts +4 -6
- package/src/models/StoreReviewRequest.ts +125 -0
- package/src/models/StoreSpecialDateResource.ts +3 -4
- package/src/models/UpdateReviewRequest.ts +107 -0
- package/src/models/index.ts +12 -19
- package/dist/apis/ProductRegistrationApi.d.ts +0 -95
- package/dist/models/GetAllProductRegistrationRequest.d.ts +0 -88
- package/dist/models/GetAllProductRegistrationRequest.js +0 -80
- package/dist/models/IndexProductRegistrationRequest.d.ts +0 -131
- package/dist/models/IndexProductRegistrationRequest.js +0 -98
- package/dist/models/ListAssetsProductRegistrationRequest.d.ts +0 -103
- package/dist/models/PaginatedProductRegistrationAssetResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedProductRegistrationAssetResourceResponse.js +0 -57
- package/dist/models/PaginatedProductRegistrationListResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedProductRegistrationListResourceResponse.js +0 -57
- package/dist/models/PaginatedProductRegistrationResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedProductRegistrationResourceResponse.js +0 -57
- package/dist/models/ProductRegistrationAssetResource.d.ts +0 -45
- package/dist/models/ProductRegistrationAssetResource.js +0 -58
- package/dist/models/ProductRegistrationAssetResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductRegistrationAssetResourceArrayResponse.js +0 -50
- package/dist/models/ProductRegistrationAssetType.d.ts +0 -25
- package/dist/models/ProductRegistrationAssetType.js +0 -51
- package/dist/models/ProductRegistrationCustomerResource.d.ts +0 -62
- package/dist/models/ProductRegistrationCustomerResource.js +0 -65
- package/dist/models/ProductRegistrationCustomerResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductRegistrationCustomerResourceArrayResponse.js +0 -50
- package/dist/models/ProductRegistrationListResource.d.ts +0 -57
- package/dist/models/ProductRegistrationListResource.js +0 -64
- package/dist/models/ProductRegistrationListResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductRegistrationListResourceArrayResponse.js +0 -50
- package/dist/models/ProductRegistrationLiteResource.d.ts +0 -38
- package/dist/models/ProductRegistrationLiteResource.js +0 -53
- package/dist/models/ProductRegistrationLiteResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductRegistrationLiteResourceArrayResponse.js +0 -50
- package/dist/models/ProductRegistrationProductChildResource.d.ts +0 -50
- package/dist/models/ProductRegistrationProductChildResource.js +0 -63
- package/dist/models/ProductRegistrationProductChildResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductRegistrationProductChildResourceArrayResponse.js +0 -50
- package/dist/models/ProductRegistrationResource.d.ts +0 -90
- package/dist/models/ProductRegistrationResource.js +0 -81
- package/dist/models/ProductRegistrationResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductRegistrationResourceArrayResponse.js +0 -50
- package/docs/GetAllProductRegistrationRequest.md +0 -46
- package/docs/IndexProductRegistrationRequest.md +0 -58
- package/docs/PaginatedProductRegistrationAssetResourceResponse.md +0 -36
- package/docs/ProductRegistrationApi.md +0 -344
- package/docs/ProductRegistrationCustomerResource.md +0 -44
- package/docs/ProductRegistrationCustomerResourceArrayResponse.md +0 -34
- package/docs/ProductRegistrationListResource.md +0 -42
- package/docs/ProductRegistrationListResourceArrayResponse.md +0 -34
- package/docs/ProductRegistrationLiteResourceArrayResponse.md +0 -34
- package/docs/ProductRegistrationProductChildResource.md +0 -40
- package/docs/ProductRegistrationProductChildResourceArrayResponse.md +0 -34
- package/docs/ProductRegistrationResource.md +0 -52
- package/src/apis/ProductRegistrationApi.ts +0 -297
- package/src/models/GetAllProductRegistrationRequest.ts +0 -137
- package/src/models/IndexProductRegistrationRequest.ts +0 -193
- package/src/models/ListAssetsProductRegistrationRequest.ts +0 -158
- package/src/models/PaginatedProductRegistrationAssetResourceResponse.ts +0 -90
- package/src/models/PaginatedProductRegistrationListResourceResponse.ts +0 -90
- package/src/models/PaginatedProductRegistrationResourceResponse.ts +0 -90
- package/src/models/ProductRegistrationAssetResource.ts +0 -91
- package/src/models/ProductRegistrationAssetResourceArrayResponse.ts +0 -73
- package/src/models/ProductRegistrationAssetType.ts +0 -53
- package/src/models/ProductRegistrationCustomerResource.ts +0 -108
- package/src/models/ProductRegistrationCustomerResourceArrayResponse.ts +0 -73
- package/src/models/ProductRegistrationListResource.ts +0 -108
- package/src/models/ProductRegistrationListResourceArrayResponse.ts +0 -73
- package/src/models/ProductRegistrationLiteResource.ts +0 -74
- package/src/models/ProductRegistrationLiteResourceArrayResponse.ts +0 -73
- package/src/models/ProductRegistrationProductChildResource.ts +0 -93
- package/src/models/ProductRegistrationProductChildResourceArrayResponse.ts +0 -73
- package/src/models/ProductRegistrationResource.ts +0 -171
- package/src/models/ProductRegistrationResourceArrayResponse.ts +0 -73
|
@@ -1,193 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* My API
|
|
5
|
-
* API documentation for my Laravel app
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.0
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
import { mapValues } from '../runtime';
|
|
16
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
* @export
|
|
19
|
-
* @interface IndexProductRegistrationRequest
|
|
20
|
-
*/
|
|
21
|
-
export interface IndexProductRegistrationRequest {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof IndexProductRegistrationRequest
|
|
26
|
-
*/
|
|
27
|
-
search?: string | null;
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {IndexProductRegistrationRequestSortByEnum}
|
|
31
|
-
* @memberof IndexProductRegistrationRequest
|
|
32
|
-
*/
|
|
33
|
-
sortBy?: IndexProductRegistrationRequestSortByEnum;
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
* @type {IndexProductRegistrationRequestSortDirectionEnum}
|
|
37
|
-
* @memberof IndexProductRegistrationRequest
|
|
38
|
-
*/
|
|
39
|
-
sortDirection?: IndexProductRegistrationRequestSortDirectionEnum;
|
|
40
|
-
/**
|
|
41
|
-
*
|
|
42
|
-
* @type {number}
|
|
43
|
-
* @memberof IndexProductRegistrationRequest
|
|
44
|
-
*/
|
|
45
|
-
perPage?: number;
|
|
46
|
-
/**
|
|
47
|
-
*
|
|
48
|
-
* @type {number}
|
|
49
|
-
* @memberof IndexProductRegistrationRequest
|
|
50
|
-
*/
|
|
51
|
-
page?: number;
|
|
52
|
-
/**
|
|
53
|
-
*
|
|
54
|
-
* @type {Array<string>}
|
|
55
|
-
* @memberof IndexProductRegistrationRequest
|
|
56
|
-
*/
|
|
57
|
-
siteId?: Array<string>;
|
|
58
|
-
/**
|
|
59
|
-
*
|
|
60
|
-
* @type {Date}
|
|
61
|
-
* @memberof IndexProductRegistrationRequest
|
|
62
|
-
*/
|
|
63
|
-
beforePurchasedDate?: Date;
|
|
64
|
-
/**
|
|
65
|
-
*
|
|
66
|
-
* @type {Date}
|
|
67
|
-
* @memberof IndexProductRegistrationRequest
|
|
68
|
-
*/
|
|
69
|
-
afterPurchasedDate?: Date;
|
|
70
|
-
/**
|
|
71
|
-
*
|
|
72
|
-
* @type {Date}
|
|
73
|
-
* @memberof IndexProductRegistrationRequest
|
|
74
|
-
*/
|
|
75
|
-
beforeCreatedAt?: Date;
|
|
76
|
-
/**
|
|
77
|
-
*
|
|
78
|
-
* @type {Date}
|
|
79
|
-
* @memberof IndexProductRegistrationRequest
|
|
80
|
-
*/
|
|
81
|
-
afterCreatedAt?: Date;
|
|
82
|
-
/**
|
|
83
|
-
*
|
|
84
|
-
* @type {number}
|
|
85
|
-
* @memberof IndexProductRegistrationRequest
|
|
86
|
-
*/
|
|
87
|
-
relatedId?: number;
|
|
88
|
-
/**
|
|
89
|
-
*
|
|
90
|
-
* @type {IndexProductRegistrationRequestRelatedTypeEnum}
|
|
91
|
-
* @memberof IndexProductRegistrationRequest
|
|
92
|
-
*/
|
|
93
|
-
relatedType?: IndexProductRegistrationRequestRelatedTypeEnum;
|
|
94
|
-
/**
|
|
95
|
-
*
|
|
96
|
-
* @type {boolean}
|
|
97
|
-
* @memberof IndexProductRegistrationRequest
|
|
98
|
-
*/
|
|
99
|
-
includesRelations?: boolean;
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
/**
|
|
104
|
-
* @export
|
|
105
|
-
*/
|
|
106
|
-
export const IndexProductRegistrationRequestSortByEnum = {
|
|
107
|
-
Id: 'id',
|
|
108
|
-
CustomerName: 'customer-name',
|
|
109
|
-
CustomerEmail: 'customer-email',
|
|
110
|
-
CustomerPhone: 'customer-phone',
|
|
111
|
-
CreatedAt: 'created_at',
|
|
112
|
-
PurchasedDate: 'purchased_date'
|
|
113
|
-
} as const;
|
|
114
|
-
export type IndexProductRegistrationRequestSortByEnum = typeof IndexProductRegistrationRequestSortByEnum[keyof typeof IndexProductRegistrationRequestSortByEnum];
|
|
115
|
-
|
|
116
|
-
/**
|
|
117
|
-
* @export
|
|
118
|
-
*/
|
|
119
|
-
export const IndexProductRegistrationRequestSortDirectionEnum = {
|
|
120
|
-
Asc: 'asc',
|
|
121
|
-
Desc: 'desc'
|
|
122
|
-
} as const;
|
|
123
|
-
export type IndexProductRegistrationRequestSortDirectionEnum = typeof IndexProductRegistrationRequestSortDirectionEnum[keyof typeof IndexProductRegistrationRequestSortDirectionEnum];
|
|
124
|
-
|
|
125
|
-
/**
|
|
126
|
-
* @export
|
|
127
|
-
*/
|
|
128
|
-
export const IndexProductRegistrationRequestRelatedTypeEnum = {
|
|
129
|
-
ProductChild: 'productChild'
|
|
130
|
-
} as const;
|
|
131
|
-
export type IndexProductRegistrationRequestRelatedTypeEnum = typeof IndexProductRegistrationRequestRelatedTypeEnum[keyof typeof IndexProductRegistrationRequestRelatedTypeEnum];
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
/**
|
|
135
|
-
* Check if a given object implements the IndexProductRegistrationRequest interface.
|
|
136
|
-
*/
|
|
137
|
-
export function instanceOfIndexProductRegistrationRequest(value: object): value is IndexProductRegistrationRequest {
|
|
138
|
-
return true;
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
export function IndexProductRegistrationRequestFromJSON(json: any): IndexProductRegistrationRequest {
|
|
142
|
-
return IndexProductRegistrationRequestFromJSONTyped(json, false);
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
export function IndexProductRegistrationRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): IndexProductRegistrationRequest {
|
|
146
|
-
if (json == null) {
|
|
147
|
-
return json;
|
|
148
|
-
}
|
|
149
|
-
return {
|
|
150
|
-
|
|
151
|
-
'search': json['search'] == null ? undefined : json['search'],
|
|
152
|
-
'sortBy': json['sortBy'] == null ? undefined : json['sortBy'],
|
|
153
|
-
'sortDirection': json['sortDirection'] == null ? undefined : json['sortDirection'],
|
|
154
|
-
'perPage': json['per_page'] == null ? undefined : json['per_page'],
|
|
155
|
-
'page': json['page'] == null ? undefined : json['page'],
|
|
156
|
-
'siteId': json['site_id'] == null ? undefined : json['site_id'],
|
|
157
|
-
'beforePurchasedDate': json['before_purchased_date'] == null ? undefined : (new Date(json['before_purchased_date'])),
|
|
158
|
-
'afterPurchasedDate': json['after_purchased_date'] == null ? undefined : (new Date(json['after_purchased_date'])),
|
|
159
|
-
'beforeCreatedAt': json['before_created_at'] == null ? undefined : (new Date(json['before_created_at'])),
|
|
160
|
-
'afterCreatedAt': json['after_created_at'] == null ? undefined : (new Date(json['after_created_at'])),
|
|
161
|
-
'relatedId': json['related_id'] == null ? undefined : json['related_id'],
|
|
162
|
-
'relatedType': json['related_type'] == null ? undefined : json['related_type'],
|
|
163
|
-
'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
|
|
164
|
-
};
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
export function IndexProductRegistrationRequestToJSON(json: any): IndexProductRegistrationRequest {
|
|
168
|
-
return IndexProductRegistrationRequestToJSONTyped(json, false);
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
export function IndexProductRegistrationRequestToJSONTyped(value?: IndexProductRegistrationRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
172
|
-
if (value == null) {
|
|
173
|
-
return value;
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
return {
|
|
177
|
-
|
|
178
|
-
'search': value['search'],
|
|
179
|
-
'sortBy': value['sortBy'],
|
|
180
|
-
'sortDirection': value['sortDirection'],
|
|
181
|
-
'per_page': value['perPage'],
|
|
182
|
-
'page': value['page'],
|
|
183
|
-
'site_id': value['siteId'],
|
|
184
|
-
'before_purchased_date': value['beforePurchasedDate'] == null ? value['beforePurchasedDate'] : value['beforePurchasedDate'].toISOString(),
|
|
185
|
-
'after_purchased_date': value['afterPurchasedDate'] == null ? value['afterPurchasedDate'] : value['afterPurchasedDate'].toISOString(),
|
|
186
|
-
'before_created_at': value['beforeCreatedAt'] == null ? value['beforeCreatedAt'] : value['beforeCreatedAt'].toISOString(),
|
|
187
|
-
'after_created_at': value['afterCreatedAt'] == null ? value['afterCreatedAt'] : value['afterCreatedAt'].toISOString(),
|
|
188
|
-
'related_id': value['relatedId'],
|
|
189
|
-
'related_type': value['relatedType'],
|
|
190
|
-
'includes_relations': value['includesRelations'],
|
|
191
|
-
};
|
|
192
|
-
}
|
|
193
|
-
|
|
@@ -1,158 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* My API
|
|
5
|
-
* API documentation for my Laravel app
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.0
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
import { mapValues } from '../runtime';
|
|
16
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
* @export
|
|
19
|
-
* @interface ListAssetsProductRegistrationRequest
|
|
20
|
-
*/
|
|
21
|
-
export interface ListAssetsProductRegistrationRequest {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof ListAssetsProductRegistrationRequest
|
|
26
|
-
*/
|
|
27
|
-
search?: string | null;
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {ListAssetsProductRegistrationRequestSortByEnum}
|
|
31
|
-
* @memberof ListAssetsProductRegistrationRequest
|
|
32
|
-
*/
|
|
33
|
-
sortBy?: ListAssetsProductRegistrationRequestSortByEnum;
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
* @type {ListAssetsProductRegistrationRequestSortDirectionEnum}
|
|
37
|
-
* @memberof ListAssetsProductRegistrationRequest
|
|
38
|
-
*/
|
|
39
|
-
sortDirection?: ListAssetsProductRegistrationRequestSortDirectionEnum;
|
|
40
|
-
/**
|
|
41
|
-
*
|
|
42
|
-
* @type {number}
|
|
43
|
-
* @memberof ListAssetsProductRegistrationRequest
|
|
44
|
-
*/
|
|
45
|
-
perPage?: number;
|
|
46
|
-
/**
|
|
47
|
-
*
|
|
48
|
-
* @type {number}
|
|
49
|
-
* @memberof ListAssetsProductRegistrationRequest
|
|
50
|
-
*/
|
|
51
|
-
page?: number;
|
|
52
|
-
/**
|
|
53
|
-
*
|
|
54
|
-
* @type {Array<string>}
|
|
55
|
-
* @memberof ListAssetsProductRegistrationRequest
|
|
56
|
-
*/
|
|
57
|
-
productRegistrationId?: Array<string>;
|
|
58
|
-
/**
|
|
59
|
-
*
|
|
60
|
-
* @type {Array<string>}
|
|
61
|
-
* @memberof ListAssetsProductRegistrationRequest
|
|
62
|
-
*/
|
|
63
|
-
type?: Array<string>;
|
|
64
|
-
/**
|
|
65
|
-
*
|
|
66
|
-
* @type {number}
|
|
67
|
-
* @memberof ListAssetsProductRegistrationRequest
|
|
68
|
-
*/
|
|
69
|
-
relatedId?: number;
|
|
70
|
-
/**
|
|
71
|
-
*
|
|
72
|
-
* @type {string}
|
|
73
|
-
* @memberof ListAssetsProductRegistrationRequest
|
|
74
|
-
*/
|
|
75
|
-
relatedType?: string;
|
|
76
|
-
/**
|
|
77
|
-
*
|
|
78
|
-
* @type {boolean}
|
|
79
|
-
* @memberof ListAssetsProductRegistrationRequest
|
|
80
|
-
*/
|
|
81
|
-
includesRelations?: boolean;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
/**
|
|
86
|
-
* @export
|
|
87
|
-
*/
|
|
88
|
-
export const ListAssetsProductRegistrationRequestSortByEnum = {
|
|
89
|
-
Id: 'id',
|
|
90
|
-
Type: 'type',
|
|
91
|
-
CreatedAt: 'created_at'
|
|
92
|
-
} as const;
|
|
93
|
-
export type ListAssetsProductRegistrationRequestSortByEnum = typeof ListAssetsProductRegistrationRequestSortByEnum[keyof typeof ListAssetsProductRegistrationRequestSortByEnum];
|
|
94
|
-
|
|
95
|
-
/**
|
|
96
|
-
* @export
|
|
97
|
-
*/
|
|
98
|
-
export const ListAssetsProductRegistrationRequestSortDirectionEnum = {
|
|
99
|
-
Asc: 'asc',
|
|
100
|
-
Desc: 'desc'
|
|
101
|
-
} as const;
|
|
102
|
-
export type ListAssetsProductRegistrationRequestSortDirectionEnum = typeof ListAssetsProductRegistrationRequestSortDirectionEnum[keyof typeof ListAssetsProductRegistrationRequestSortDirectionEnum];
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
/**
|
|
106
|
-
* Check if a given object implements the ListAssetsProductRegistrationRequest interface.
|
|
107
|
-
*/
|
|
108
|
-
export function instanceOfListAssetsProductRegistrationRequest(value: object): value is ListAssetsProductRegistrationRequest {
|
|
109
|
-
return true;
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
export function ListAssetsProductRegistrationRequestFromJSON(json: any): ListAssetsProductRegistrationRequest {
|
|
113
|
-
return ListAssetsProductRegistrationRequestFromJSONTyped(json, false);
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
export function ListAssetsProductRegistrationRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListAssetsProductRegistrationRequest {
|
|
117
|
-
if (json == null) {
|
|
118
|
-
return json;
|
|
119
|
-
}
|
|
120
|
-
return {
|
|
121
|
-
|
|
122
|
-
'search': json['search'] == null ? undefined : json['search'],
|
|
123
|
-
'sortBy': json['sortBy'] == null ? undefined : json['sortBy'],
|
|
124
|
-
'sortDirection': json['sortDirection'] == null ? undefined : json['sortDirection'],
|
|
125
|
-
'perPage': json['per_page'] == null ? undefined : json['per_page'],
|
|
126
|
-
'page': json['page'] == null ? undefined : json['page'],
|
|
127
|
-
'productRegistrationId': json['product_registration_id'] == null ? undefined : json['product_registration_id'],
|
|
128
|
-
'type': json['type'] == null ? undefined : json['type'],
|
|
129
|
-
'relatedId': json['related_id'] == null ? undefined : json['related_id'],
|
|
130
|
-
'relatedType': json['related_type'] == null ? undefined : json['related_type'],
|
|
131
|
-
'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
|
|
132
|
-
};
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
export function ListAssetsProductRegistrationRequestToJSON(json: any): ListAssetsProductRegistrationRequest {
|
|
136
|
-
return ListAssetsProductRegistrationRequestToJSONTyped(json, false);
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
export function ListAssetsProductRegistrationRequestToJSONTyped(value?: ListAssetsProductRegistrationRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
140
|
-
if (value == null) {
|
|
141
|
-
return value;
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
return {
|
|
145
|
-
|
|
146
|
-
'search': value['search'],
|
|
147
|
-
'sortBy': value['sortBy'],
|
|
148
|
-
'sortDirection': value['sortDirection'],
|
|
149
|
-
'per_page': value['perPage'],
|
|
150
|
-
'page': value['page'],
|
|
151
|
-
'product_registration_id': value['productRegistrationId'],
|
|
152
|
-
'type': value['type'],
|
|
153
|
-
'related_id': value['relatedId'],
|
|
154
|
-
'related_type': value['relatedType'],
|
|
155
|
-
'includes_relations': value['includesRelations'],
|
|
156
|
-
};
|
|
157
|
-
}
|
|
158
|
-
|
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* My API
|
|
5
|
-
* API documentation for my Laravel app
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.0
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
import { mapValues } from '../runtime';
|
|
16
|
-
import type { PagingMetadata } from './PagingMetadata';
|
|
17
|
-
import {
|
|
18
|
-
PagingMetadataFromJSON,
|
|
19
|
-
PagingMetadataFromJSONTyped,
|
|
20
|
-
PagingMetadataToJSON,
|
|
21
|
-
PagingMetadataToJSONTyped,
|
|
22
|
-
} from './PagingMetadata';
|
|
23
|
-
import type { ProductRegistrationAssetResource } from './ProductRegistrationAssetResource';
|
|
24
|
-
import {
|
|
25
|
-
ProductRegistrationAssetResourceFromJSON,
|
|
26
|
-
ProductRegistrationAssetResourceFromJSONTyped,
|
|
27
|
-
ProductRegistrationAssetResourceToJSON,
|
|
28
|
-
ProductRegistrationAssetResourceToJSONTyped,
|
|
29
|
-
} from './ProductRegistrationAssetResource';
|
|
30
|
-
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
* @export
|
|
34
|
-
* @interface PaginatedProductRegistrationAssetResourceResponse
|
|
35
|
-
*/
|
|
36
|
-
export interface PaginatedProductRegistrationAssetResourceResponse {
|
|
37
|
-
/**
|
|
38
|
-
*
|
|
39
|
-
* @type {Array<ProductRegistrationAssetResource>}
|
|
40
|
-
* @memberof PaginatedProductRegistrationAssetResourceResponse
|
|
41
|
-
*/
|
|
42
|
-
data: Array<ProductRegistrationAssetResource>;
|
|
43
|
-
/**
|
|
44
|
-
*
|
|
45
|
-
* @type {PagingMetadata}
|
|
46
|
-
* @memberof PaginatedProductRegistrationAssetResourceResponse
|
|
47
|
-
*/
|
|
48
|
-
meta: PagingMetadata;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
/**
|
|
52
|
-
* Check if a given object implements the PaginatedProductRegistrationAssetResourceResponse interface.
|
|
53
|
-
*/
|
|
54
|
-
export function instanceOfPaginatedProductRegistrationAssetResourceResponse(value: object): value is PaginatedProductRegistrationAssetResourceResponse {
|
|
55
|
-
if (!('data' in value) || value['data'] === undefined) return false;
|
|
56
|
-
if (!('meta' in value) || value['meta'] === undefined) return false;
|
|
57
|
-
return true;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
export function PaginatedProductRegistrationAssetResourceResponseFromJSON(json: any): PaginatedProductRegistrationAssetResourceResponse {
|
|
61
|
-
return PaginatedProductRegistrationAssetResourceResponseFromJSONTyped(json, false);
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
export function PaginatedProductRegistrationAssetResourceResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedProductRegistrationAssetResourceResponse {
|
|
65
|
-
if (json == null) {
|
|
66
|
-
return json;
|
|
67
|
-
}
|
|
68
|
-
return {
|
|
69
|
-
|
|
70
|
-
'data': ((json['data'] as Array<any>).map(ProductRegistrationAssetResourceFromJSON)),
|
|
71
|
-
'meta': PagingMetadataFromJSON(json['meta']),
|
|
72
|
-
};
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
export function PaginatedProductRegistrationAssetResourceResponseToJSON(json: any): PaginatedProductRegistrationAssetResourceResponse {
|
|
76
|
-
return PaginatedProductRegistrationAssetResourceResponseToJSONTyped(json, false);
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
export function PaginatedProductRegistrationAssetResourceResponseToJSONTyped(value?: PaginatedProductRegistrationAssetResourceResponse | null, ignoreDiscriminator: boolean = false): any {
|
|
80
|
-
if (value == null) {
|
|
81
|
-
return value;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
return {
|
|
85
|
-
|
|
86
|
-
'data': ((value['data'] as Array<any>).map(ProductRegistrationAssetResourceToJSON)),
|
|
87
|
-
'meta': PagingMetadataToJSON(value['meta']),
|
|
88
|
-
};
|
|
89
|
-
}
|
|
90
|
-
|
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* My API
|
|
5
|
-
* API documentation for my Laravel app
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.0
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
import { mapValues } from '../runtime';
|
|
16
|
-
import type { PagingMetadata } from './PagingMetadata';
|
|
17
|
-
import {
|
|
18
|
-
PagingMetadataFromJSON,
|
|
19
|
-
PagingMetadataFromJSONTyped,
|
|
20
|
-
PagingMetadataToJSON,
|
|
21
|
-
PagingMetadataToJSONTyped,
|
|
22
|
-
} from './PagingMetadata';
|
|
23
|
-
import type { ProductRegistrationListResource } from './ProductRegistrationListResource';
|
|
24
|
-
import {
|
|
25
|
-
ProductRegistrationListResourceFromJSON,
|
|
26
|
-
ProductRegistrationListResourceFromJSONTyped,
|
|
27
|
-
ProductRegistrationListResourceToJSON,
|
|
28
|
-
ProductRegistrationListResourceToJSONTyped,
|
|
29
|
-
} from './ProductRegistrationListResource';
|
|
30
|
-
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
* @export
|
|
34
|
-
* @interface PaginatedProductRegistrationListResourceResponse
|
|
35
|
-
*/
|
|
36
|
-
export interface PaginatedProductRegistrationListResourceResponse {
|
|
37
|
-
/**
|
|
38
|
-
*
|
|
39
|
-
* @type {Array<ProductRegistrationListResource>}
|
|
40
|
-
* @memberof PaginatedProductRegistrationListResourceResponse
|
|
41
|
-
*/
|
|
42
|
-
data: Array<ProductRegistrationListResource>;
|
|
43
|
-
/**
|
|
44
|
-
*
|
|
45
|
-
* @type {PagingMetadata}
|
|
46
|
-
* @memberof PaginatedProductRegistrationListResourceResponse
|
|
47
|
-
*/
|
|
48
|
-
meta: PagingMetadata;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
/**
|
|
52
|
-
* Check if a given object implements the PaginatedProductRegistrationListResourceResponse interface.
|
|
53
|
-
*/
|
|
54
|
-
export function instanceOfPaginatedProductRegistrationListResourceResponse(value: object): value is PaginatedProductRegistrationListResourceResponse {
|
|
55
|
-
if (!('data' in value) || value['data'] === undefined) return false;
|
|
56
|
-
if (!('meta' in value) || value['meta'] === undefined) return false;
|
|
57
|
-
return true;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
export function PaginatedProductRegistrationListResourceResponseFromJSON(json: any): PaginatedProductRegistrationListResourceResponse {
|
|
61
|
-
return PaginatedProductRegistrationListResourceResponseFromJSONTyped(json, false);
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
export function PaginatedProductRegistrationListResourceResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedProductRegistrationListResourceResponse {
|
|
65
|
-
if (json == null) {
|
|
66
|
-
return json;
|
|
67
|
-
}
|
|
68
|
-
return {
|
|
69
|
-
|
|
70
|
-
'data': ((json['data'] as Array<any>).map(ProductRegistrationListResourceFromJSON)),
|
|
71
|
-
'meta': PagingMetadataFromJSON(json['meta']),
|
|
72
|
-
};
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
export function PaginatedProductRegistrationListResourceResponseToJSON(json: any): PaginatedProductRegistrationListResourceResponse {
|
|
76
|
-
return PaginatedProductRegistrationListResourceResponseToJSONTyped(json, false);
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
export function PaginatedProductRegistrationListResourceResponseToJSONTyped(value?: PaginatedProductRegistrationListResourceResponse | null, ignoreDiscriminator: boolean = false): any {
|
|
80
|
-
if (value == null) {
|
|
81
|
-
return value;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
return {
|
|
85
|
-
|
|
86
|
-
'data': ((value['data'] as Array<any>).map(ProductRegistrationListResourceToJSON)),
|
|
87
|
-
'meta': PagingMetadataToJSON(value['meta']),
|
|
88
|
-
};
|
|
89
|
-
}
|
|
90
|
-
|
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* My API
|
|
5
|
-
* API documentation for my Laravel app
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.0
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
import { mapValues } from '../runtime';
|
|
16
|
-
import type { ProductRegistrationResource } from './ProductRegistrationResource';
|
|
17
|
-
import {
|
|
18
|
-
ProductRegistrationResourceFromJSON,
|
|
19
|
-
ProductRegistrationResourceFromJSONTyped,
|
|
20
|
-
ProductRegistrationResourceToJSON,
|
|
21
|
-
ProductRegistrationResourceToJSONTyped,
|
|
22
|
-
} from './ProductRegistrationResource';
|
|
23
|
-
import type { PagingMetadata } from './PagingMetadata';
|
|
24
|
-
import {
|
|
25
|
-
PagingMetadataFromJSON,
|
|
26
|
-
PagingMetadataFromJSONTyped,
|
|
27
|
-
PagingMetadataToJSON,
|
|
28
|
-
PagingMetadataToJSONTyped,
|
|
29
|
-
} from './PagingMetadata';
|
|
30
|
-
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
* @export
|
|
34
|
-
* @interface PaginatedProductRegistrationResourceResponse
|
|
35
|
-
*/
|
|
36
|
-
export interface PaginatedProductRegistrationResourceResponse {
|
|
37
|
-
/**
|
|
38
|
-
*
|
|
39
|
-
* @type {Array<ProductRegistrationResource>}
|
|
40
|
-
* @memberof PaginatedProductRegistrationResourceResponse
|
|
41
|
-
*/
|
|
42
|
-
data: Array<ProductRegistrationResource>;
|
|
43
|
-
/**
|
|
44
|
-
*
|
|
45
|
-
* @type {PagingMetadata}
|
|
46
|
-
* @memberof PaginatedProductRegistrationResourceResponse
|
|
47
|
-
*/
|
|
48
|
-
meta: PagingMetadata;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
/**
|
|
52
|
-
* Check if a given object implements the PaginatedProductRegistrationResourceResponse interface.
|
|
53
|
-
*/
|
|
54
|
-
export function instanceOfPaginatedProductRegistrationResourceResponse(value: object): value is PaginatedProductRegistrationResourceResponse {
|
|
55
|
-
if (!('data' in value) || value['data'] === undefined) return false;
|
|
56
|
-
if (!('meta' in value) || value['meta'] === undefined) return false;
|
|
57
|
-
return true;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
export function PaginatedProductRegistrationResourceResponseFromJSON(json: any): PaginatedProductRegistrationResourceResponse {
|
|
61
|
-
return PaginatedProductRegistrationResourceResponseFromJSONTyped(json, false);
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
export function PaginatedProductRegistrationResourceResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedProductRegistrationResourceResponse {
|
|
65
|
-
if (json == null) {
|
|
66
|
-
return json;
|
|
67
|
-
}
|
|
68
|
-
return {
|
|
69
|
-
|
|
70
|
-
'data': ((json['data'] as Array<any>).map(ProductRegistrationResourceFromJSON)),
|
|
71
|
-
'meta': PagingMetadataFromJSON(json['meta']),
|
|
72
|
-
};
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
export function PaginatedProductRegistrationResourceResponseToJSON(json: any): PaginatedProductRegistrationResourceResponse {
|
|
76
|
-
return PaginatedProductRegistrationResourceResponseToJSONTyped(json, false);
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
export function PaginatedProductRegistrationResourceResponseToJSONTyped(value?: PaginatedProductRegistrationResourceResponse | null, ignoreDiscriminator: boolean = false): any {
|
|
80
|
-
if (value == null) {
|
|
81
|
-
return value;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
return {
|
|
85
|
-
|
|
86
|
-
'data': ((value['data'] as Array<any>).map(ProductRegistrationResourceToJSON)),
|
|
87
|
-
'meta': PagingMetadataToJSON(value['meta']),
|
|
88
|
-
};
|
|
89
|
-
}
|
|
90
|
-
|