@faiber/faiber-modules 0.3.0 → 0.5.0
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/dist/.tsbuildinfo +1 -1
- package/dist/operations.d.ts +1181 -138
- package/dist/operations.d.ts.map +1 -1
- package/dist/operations.js +1181 -138
- package/dist/operations.js.map +1 -1
- package/dist/operations.types.d.ts +726 -420
- package/dist/operations.types.d.ts.map +1 -1
- package/package.json +2 -2
|
@@ -1,55 +1,60 @@
|
|
|
1
1
|
import type { ApiEnvelope, JsonObject, JsonValue, QueryParams } from "@faiber/sdk-core";
|
|
2
2
|
/** Generated route contracts. Dynamic payload members remain JSON-safe and are documented with their Rust source type. */
|
|
3
|
-
/** Backend response type: response
|
|
3
|
+
/** Backend response type: handler-defined response. */
|
|
4
4
|
export interface RouterStatusRouteGetResponse extends ApiEnvelope<JsonValue> {
|
|
5
5
|
}
|
|
6
|
-
/** Backend response type: response
|
|
6
|
+
/** Backend response type: handler-defined response. */
|
|
7
7
|
export interface RouterBeautifiedOpenapiGetResponse extends ApiEnvelope<JsonValue> {
|
|
8
8
|
}
|
|
9
|
-
/** Backend response type: response
|
|
9
|
+
/** Backend response type: handler-defined response. */
|
|
10
10
|
export interface RouterOpenapiJsonGetResponse extends ApiEnvelope<JsonValue> {
|
|
11
11
|
}
|
|
12
12
|
/** Backend response type: Vec<models::AccessResponseDTO>. */
|
|
13
|
+
export type AccessListOnTargetGetResponseItemAccessLevel = "Maintainer" | "Editor" | "Viewer";
|
|
13
14
|
export interface AccessListOnTargetGetResponseItem extends JsonObject {
|
|
14
15
|
"id": string;
|
|
15
16
|
"user_id": string;
|
|
16
17
|
"granted_by_user_id": string;
|
|
17
18
|
"target_id": string;
|
|
18
|
-
"access_level":
|
|
19
|
+
"access_level": AccessListOnTargetGetResponseItemAccessLevel;
|
|
19
20
|
"created_at": string;
|
|
20
21
|
}
|
|
21
22
|
export interface AccessListOnTargetGetResponse extends ApiEnvelope<AccessListOnTargetGetResponseItem[]> {
|
|
22
23
|
}
|
|
23
24
|
/** Backend request type: models::AccessGrantRequest. */
|
|
25
|
+
export type AccessGrantOnTargetPostInputAccessLevel = "Maintainer" | "Editor" | "Viewer";
|
|
24
26
|
export interface AccessGrantOnTargetPostInput extends JsonObject {
|
|
25
27
|
"user_id": string;
|
|
26
|
-
"access_level":
|
|
28
|
+
"access_level": AccessGrantOnTargetPostInputAccessLevel;
|
|
27
29
|
}
|
|
28
30
|
/** Backend response type: models::AccessResponseDTO. */
|
|
31
|
+
export type AccessGrantOnTargetPostResponseDataAccessLevel = "Maintainer" | "Editor" | "Viewer";
|
|
29
32
|
export interface AccessGrantOnTargetPostResponseData extends JsonObject {
|
|
30
33
|
"id": string;
|
|
31
34
|
"user_id": string;
|
|
32
35
|
"granted_by_user_id": string;
|
|
33
36
|
"target_id": string;
|
|
34
|
-
"access_level":
|
|
37
|
+
"access_level": AccessGrantOnTargetPostResponseDataAccessLevel;
|
|
35
38
|
"created_at": string;
|
|
36
39
|
}
|
|
37
40
|
export interface AccessGrantOnTargetPostResponse extends ApiEnvelope<AccessGrantOnTargetPostResponseData> {
|
|
38
41
|
}
|
|
39
|
-
/** Backend response type: response
|
|
42
|
+
/** Backend response type: handler-defined response. */
|
|
40
43
|
export interface AccessRevokeOnTargetDeleteResponse extends ApiEnvelope<JsonValue> {
|
|
41
44
|
}
|
|
42
45
|
/** Backend request type: models::AccessUpdateRequest. */
|
|
46
|
+
export type AccessUpdateOnTargetPutInputAccessLevel = "Maintainer" | "Editor" | "Viewer";
|
|
43
47
|
export interface AccessUpdateOnTargetPutInput extends JsonObject {
|
|
44
|
-
"access_level":
|
|
48
|
+
"access_level": AccessUpdateOnTargetPutInputAccessLevel;
|
|
45
49
|
}
|
|
46
50
|
/** Backend response type: models::AccessResponseDTO. */
|
|
51
|
+
export type AccessUpdateOnTargetPutResponseDataAccessLevel = "Maintainer" | "Editor" | "Viewer";
|
|
47
52
|
export interface AccessUpdateOnTargetPutResponseData extends JsonObject {
|
|
48
53
|
"id": string;
|
|
49
54
|
"user_id": string;
|
|
50
55
|
"granted_by_user_id": string;
|
|
51
56
|
"target_id": string;
|
|
52
|
-
"access_level":
|
|
57
|
+
"access_level": AccessUpdateOnTargetPutResponseDataAccessLevel;
|
|
53
58
|
"created_at": string;
|
|
54
59
|
}
|
|
55
60
|
export interface AccessUpdateOnTargetPutResponse extends ApiEnvelope<AccessUpdateOnTargetPutResponseData> {
|
|
@@ -59,8 +64,8 @@ export interface AuditLogListOnTargetGetResponseItem extends JsonObject {
|
|
|
59
64
|
"id": string;
|
|
60
65
|
"user_id": string;
|
|
61
66
|
"action": string;
|
|
62
|
-
"target_id"?: string;
|
|
63
|
-
"metadata"?: JsonValue;
|
|
67
|
+
"target_id"?: string | null;
|
|
68
|
+
"metadata"?: JsonValue | null;
|
|
64
69
|
"created_at": string;
|
|
65
70
|
}
|
|
66
71
|
export interface AuditLogListOnTargetGetResponse extends ApiEnvelope<AuditLogListOnTargetGetResponseItem[]> {
|
|
@@ -75,12 +80,23 @@ export interface SessionGetSelfGetResponse extends ApiEnvelope<SessionGetSelfGet
|
|
|
75
80
|
}
|
|
76
81
|
/** Backend query type: PaginationQuery. */
|
|
77
82
|
export interface AuthorListAuthorsGetQuery extends QueryParams {
|
|
78
|
-
"page_number"?: number;
|
|
79
|
-
"page_size"?: number;
|
|
83
|
+
"page_number"?: number | null;
|
|
84
|
+
"page_size"?: number | null;
|
|
80
85
|
}
|
|
81
86
|
/** Backend response type: models::AuthorListResponse. */
|
|
87
|
+
export interface AuthorListAuthorsGetResponseDataAuthors extends JsonObject {
|
|
88
|
+
"id": string;
|
|
89
|
+
"user_id": string;
|
|
90
|
+
"name": string;
|
|
91
|
+
"bio"?: string | null;
|
|
92
|
+
"avatar_url"?: string | null;
|
|
93
|
+
"social_links"?: JsonValue | null;
|
|
94
|
+
"website"?: string | null;
|
|
95
|
+
"created_at": string;
|
|
96
|
+
"updated_at": string;
|
|
97
|
+
}
|
|
82
98
|
export interface AuthorListAuthorsGetResponseData extends JsonObject {
|
|
83
|
-
"authors":
|
|
99
|
+
"authors": AuthorListAuthorsGetResponseDataAuthors[];
|
|
84
100
|
"page_number": number;
|
|
85
101
|
"page_size": number;
|
|
86
102
|
"total_items": number;
|
|
@@ -91,26 +107,26 @@ export interface AuthorListAuthorsGetResponse extends ApiEnvelope<AuthorListAuth
|
|
|
91
107
|
export interface AuthorCreateAuthorPostInput extends JsonObject {
|
|
92
108
|
"user_id": string;
|
|
93
109
|
"name": string;
|
|
94
|
-
"bio"?: string;
|
|
95
|
-
"avatar_url"?: string;
|
|
96
|
-
"social_links"?: JsonValue;
|
|
97
|
-
"website"?: string;
|
|
110
|
+
"bio"?: string | null;
|
|
111
|
+
"avatar_url"?: string | null;
|
|
112
|
+
"social_links"?: JsonValue | null;
|
|
113
|
+
"website"?: string | null;
|
|
98
114
|
}
|
|
99
115
|
/** Backend response type: models::AuthorResponseDTO. */
|
|
100
116
|
export interface AuthorCreateAuthorPostResponseData extends JsonObject {
|
|
101
117
|
"id": string;
|
|
102
118
|
"user_id": string;
|
|
103
119
|
"name": string;
|
|
104
|
-
"bio"?: string;
|
|
105
|
-
"avatar_url"?: string;
|
|
106
|
-
"social_links"?: JsonValue;
|
|
107
|
-
"website"?: string;
|
|
120
|
+
"bio"?: string | null;
|
|
121
|
+
"avatar_url"?: string | null;
|
|
122
|
+
"social_links"?: JsonValue | null;
|
|
123
|
+
"website"?: string | null;
|
|
108
124
|
"created_at": string;
|
|
109
125
|
"updated_at": string;
|
|
110
126
|
}
|
|
111
127
|
export interface AuthorCreateAuthorPostResponse extends ApiEnvelope<AuthorCreateAuthorPostResponseData> {
|
|
112
128
|
}
|
|
113
|
-
/** Backend response type: response
|
|
129
|
+
/** Backend response type: handler-defined response. */
|
|
114
130
|
export interface AuthorDeleteAuthorDeleteResponse extends ApiEnvelope<JsonValue> {
|
|
115
131
|
}
|
|
116
132
|
/** Backend response type: models::AuthorResponseDTO. */
|
|
@@ -118,10 +134,10 @@ export interface AuthorShowAuthorGetResponseData extends JsonObject {
|
|
|
118
134
|
"id": string;
|
|
119
135
|
"user_id": string;
|
|
120
136
|
"name": string;
|
|
121
|
-
"bio"?: string;
|
|
122
|
-
"avatar_url"?: string;
|
|
123
|
-
"social_links"?: JsonValue;
|
|
124
|
-
"website"?: string;
|
|
137
|
+
"bio"?: string | null;
|
|
138
|
+
"avatar_url"?: string | null;
|
|
139
|
+
"social_links"?: JsonValue | null;
|
|
140
|
+
"website"?: string | null;
|
|
125
141
|
"created_at": string;
|
|
126
142
|
"updated_at": string;
|
|
127
143
|
}
|
|
@@ -129,7 +145,7 @@ export interface AuthorShowAuthorGetResponse extends ApiEnvelope<AuthorShowAutho
|
|
|
129
145
|
}
|
|
130
146
|
/** Backend request type: models::AuthorUpdateRequest. */
|
|
131
147
|
export interface AuthorUpdateAuthorPatchInput extends JsonObject {
|
|
132
|
-
"name"?: string;
|
|
148
|
+
"name"?: string | null;
|
|
133
149
|
"bio"?: string | null;
|
|
134
150
|
"avatar_url"?: string | null;
|
|
135
151
|
"social_links"?: JsonValue | null;
|
|
@@ -140,10 +156,10 @@ export interface AuthorUpdateAuthorPatchResponseData extends JsonObject {
|
|
|
140
156
|
"id": string;
|
|
141
157
|
"user_id": string;
|
|
142
158
|
"name": string;
|
|
143
|
-
"bio"?: string;
|
|
144
|
-
"avatar_url"?: string;
|
|
145
|
-
"social_links"?: JsonValue;
|
|
146
|
-
"website"?: string;
|
|
159
|
+
"bio"?: string | null;
|
|
160
|
+
"avatar_url"?: string | null;
|
|
161
|
+
"social_links"?: JsonValue | null;
|
|
162
|
+
"website"?: string | null;
|
|
147
163
|
"created_at": string;
|
|
148
164
|
"updated_at": string;
|
|
149
165
|
}
|
|
@@ -151,7 +167,7 @@ export interface AuthorUpdateAuthorPatchResponse extends ApiEnvelope<AuthorUpdat
|
|
|
151
167
|
}
|
|
152
168
|
/** Backend request type: models::AuthorUpdateRequest. */
|
|
153
169
|
export interface AuthorUpdateAuthorPutInput extends JsonObject {
|
|
154
|
-
"name"?: string;
|
|
170
|
+
"name"?: string | null;
|
|
155
171
|
"bio"?: string | null;
|
|
156
172
|
"avatar_url"?: string | null;
|
|
157
173
|
"social_links"?: JsonValue | null;
|
|
@@ -162,10 +178,10 @@ export interface AuthorUpdateAuthorPutResponseData extends JsonObject {
|
|
|
162
178
|
"id": string;
|
|
163
179
|
"user_id": string;
|
|
164
180
|
"name": string;
|
|
165
|
-
"bio"?: string;
|
|
166
|
-
"avatar_url"?: string;
|
|
167
|
-
"social_links"?: JsonValue;
|
|
168
|
-
"website"?: string;
|
|
181
|
+
"bio"?: string | null;
|
|
182
|
+
"avatar_url"?: string | null;
|
|
183
|
+
"social_links"?: JsonValue | null;
|
|
184
|
+
"website"?: string | null;
|
|
169
185
|
"created_at": string;
|
|
170
186
|
"updated_at": string;
|
|
171
187
|
}
|
|
@@ -173,12 +189,22 @@ export interface AuthorUpdateAuthorPutResponse extends ApiEnvelope<AuthorUpdateA
|
|
|
173
189
|
}
|
|
174
190
|
/** Backend query type: PaginationQuery. */
|
|
175
191
|
export interface BlogListPostsGetQuery extends QueryParams {
|
|
176
|
-
"page_number"?: number;
|
|
177
|
-
"page_size"?: number;
|
|
192
|
+
"page_number"?: number | null;
|
|
193
|
+
"page_size"?: number | null;
|
|
178
194
|
}
|
|
179
195
|
/** Backend response type: models::PostListResponse. */
|
|
196
|
+
export interface BlogListPostsGetResponseDataPosts extends JsonObject {
|
|
197
|
+
"id": string;
|
|
198
|
+
"title": string;
|
|
199
|
+
"description"?: string | null;
|
|
200
|
+
"content"?: string | null;
|
|
201
|
+
"image_url"?: string | null;
|
|
202
|
+
"status": number;
|
|
203
|
+
"created_at": string;
|
|
204
|
+
"updated_at": string;
|
|
205
|
+
}
|
|
180
206
|
export interface BlogListPostsGetResponseData extends JsonObject {
|
|
181
|
-
"posts":
|
|
207
|
+
"posts": BlogListPostsGetResponseDataPosts[];
|
|
182
208
|
"page_number": number;
|
|
183
209
|
"page_size": number;
|
|
184
210
|
"total_items": number;
|
|
@@ -188,34 +214,34 @@ export interface BlogListPostsGetResponse extends ApiEnvelope<BlogListPostsGetRe
|
|
|
188
214
|
/** Backend request type: models::PostCreateRequest. */
|
|
189
215
|
export interface BlogCreatePostPostInput extends JsonObject {
|
|
190
216
|
"title": string;
|
|
191
|
-
"description"?: string;
|
|
192
|
-
"content"?: string;
|
|
193
|
-
"image_url"?: string;
|
|
194
|
-
"status"?: number;
|
|
217
|
+
"description"?: string | null;
|
|
218
|
+
"content"?: string | null;
|
|
219
|
+
"image_url"?: string | null;
|
|
220
|
+
"status"?: number | null;
|
|
195
221
|
}
|
|
196
222
|
/** Backend response type: models::PostResponseDTO. */
|
|
197
223
|
export interface BlogCreatePostPostResponseData extends JsonObject {
|
|
198
224
|
"id": string;
|
|
199
225
|
"title": string;
|
|
200
|
-
"description"?: string;
|
|
201
|
-
"content"?: string;
|
|
202
|
-
"image_url"?: string;
|
|
226
|
+
"description"?: string | null;
|
|
227
|
+
"content"?: string | null;
|
|
228
|
+
"image_url"?: string | null;
|
|
203
229
|
"status": number;
|
|
204
230
|
"created_at": string;
|
|
205
231
|
"updated_at": string;
|
|
206
232
|
}
|
|
207
233
|
export interface BlogCreatePostPostResponse extends ApiEnvelope<BlogCreatePostPostResponseData> {
|
|
208
234
|
}
|
|
209
|
-
/** Backend response type: response
|
|
235
|
+
/** Backend response type: handler-defined response. */
|
|
210
236
|
export interface BlogDeletePostDeleteResponse extends ApiEnvelope<JsonValue> {
|
|
211
237
|
}
|
|
212
238
|
/** Backend response type: models::PostResponseDTO. */
|
|
213
239
|
export interface BlogShowPostGetResponseData extends JsonObject {
|
|
214
240
|
"id": string;
|
|
215
241
|
"title": string;
|
|
216
|
-
"description"?: string;
|
|
217
|
-
"content"?: string;
|
|
218
|
-
"image_url"?: string;
|
|
242
|
+
"description"?: string | null;
|
|
243
|
+
"content"?: string | null;
|
|
244
|
+
"image_url"?: string | null;
|
|
219
245
|
"status": number;
|
|
220
246
|
"created_at": string;
|
|
221
247
|
"updated_at": string;
|
|
@@ -224,19 +250,19 @@ export interface BlogShowPostGetResponse extends ApiEnvelope<BlogShowPostGetResp
|
|
|
224
250
|
}
|
|
225
251
|
/** Backend request type: models::PostUpdateRequest. */
|
|
226
252
|
export interface BlogUpdatePostPatchInput extends JsonObject {
|
|
227
|
-
"title"?: string;
|
|
228
|
-
"description"?: string;
|
|
229
|
-
"content"?: string;
|
|
230
|
-
"image_url"?: string;
|
|
231
|
-
"status"?: number;
|
|
253
|
+
"title"?: string | null;
|
|
254
|
+
"description"?: string | null;
|
|
255
|
+
"content"?: string | null;
|
|
256
|
+
"image_url"?: string | null;
|
|
257
|
+
"status"?: number | null;
|
|
232
258
|
}
|
|
233
259
|
/** Backend response type: models::PostResponseDTO. */
|
|
234
260
|
export interface BlogUpdatePostPatchResponseData extends JsonObject {
|
|
235
261
|
"id": string;
|
|
236
262
|
"title": string;
|
|
237
|
-
"description"?: string;
|
|
238
|
-
"content"?: string;
|
|
239
|
-
"image_url"?: string;
|
|
263
|
+
"description"?: string | null;
|
|
264
|
+
"content"?: string | null;
|
|
265
|
+
"image_url"?: string | null;
|
|
240
266
|
"status": number;
|
|
241
267
|
"created_at": string;
|
|
242
268
|
"updated_at": string;
|
|
@@ -245,19 +271,19 @@ export interface BlogUpdatePostPatchResponse extends ApiEnvelope<BlogUpdatePostP
|
|
|
245
271
|
}
|
|
246
272
|
/** Backend request type: models::PostUpdateRequest. */
|
|
247
273
|
export interface BlogUpdatePostPutInput extends JsonObject {
|
|
248
|
-
"title"?: string;
|
|
249
|
-
"description"?: string;
|
|
250
|
-
"content"?: string;
|
|
251
|
-
"image_url"?: string;
|
|
252
|
-
"status"?: number;
|
|
274
|
+
"title"?: string | null;
|
|
275
|
+
"description"?: string | null;
|
|
276
|
+
"content"?: string | null;
|
|
277
|
+
"image_url"?: string | null;
|
|
278
|
+
"status"?: number | null;
|
|
253
279
|
}
|
|
254
280
|
/** Backend response type: models::PostResponseDTO. */
|
|
255
281
|
export interface BlogUpdatePostPutResponseData extends JsonObject {
|
|
256
282
|
"id": string;
|
|
257
283
|
"title": string;
|
|
258
|
-
"description"?: string;
|
|
259
|
-
"content"?: string;
|
|
260
|
-
"image_url"?: string;
|
|
284
|
+
"description"?: string | null;
|
|
285
|
+
"content"?: string | null;
|
|
286
|
+
"image_url"?: string | null;
|
|
261
287
|
"status": number;
|
|
262
288
|
"created_at": string;
|
|
263
289
|
"updated_at": string;
|
|
@@ -266,12 +292,22 @@ export interface BlogUpdatePostPutResponse extends ApiEnvelope<BlogUpdatePostPut
|
|
|
266
292
|
}
|
|
267
293
|
/** Backend query type: PaginationQuery. */
|
|
268
294
|
export interface CategoryListCategoriesGetQuery extends QueryParams {
|
|
269
|
-
"page_number"?: number;
|
|
270
|
-
"page_size"?: number;
|
|
295
|
+
"page_number"?: number | null;
|
|
296
|
+
"page_size"?: number | null;
|
|
271
297
|
}
|
|
272
298
|
/** Backend response type: models::CategoryListResponse. */
|
|
299
|
+
export interface CategoryListCategoriesGetResponseDataCategories extends JsonObject {
|
|
300
|
+
"id": string;
|
|
301
|
+
"parent_id"?: string | null;
|
|
302
|
+
"name"?: string | null;
|
|
303
|
+
"description"?: string | null;
|
|
304
|
+
"status": number;
|
|
305
|
+
"requires_confirmation": boolean;
|
|
306
|
+
"created_at": string;
|
|
307
|
+
"updated_at": string;
|
|
308
|
+
}
|
|
273
309
|
export interface CategoryListCategoriesGetResponseData extends JsonObject {
|
|
274
|
-
"categories":
|
|
310
|
+
"categories": CategoryListCategoriesGetResponseDataCategories[];
|
|
275
311
|
"page_number": number;
|
|
276
312
|
"page_size": number;
|
|
277
313
|
"total_items": number;
|
|
@@ -280,18 +316,18 @@ export interface CategoryListCategoriesGetResponse extends ApiEnvelope<CategoryL
|
|
|
280
316
|
}
|
|
281
317
|
/** Backend request type: models::CategoryCreateRequest. */
|
|
282
318
|
export interface CategoryCreateCategoryPostInput extends JsonObject {
|
|
283
|
-
"parent_id"?: string;
|
|
284
|
-
"name"?: string;
|
|
285
|
-
"description"?: string;
|
|
286
|
-
"status"?: number;
|
|
287
|
-
"requires_confirmation"?: boolean;
|
|
319
|
+
"parent_id"?: string | null;
|
|
320
|
+
"name"?: string | null;
|
|
321
|
+
"description"?: string | null;
|
|
322
|
+
"status"?: number | null;
|
|
323
|
+
"requires_confirmation"?: boolean | null;
|
|
288
324
|
}
|
|
289
325
|
/** Backend response type: models::CategoryResponseDTO. */
|
|
290
326
|
export interface CategoryCreateCategoryPostResponseData extends JsonObject {
|
|
291
327
|
"id": string;
|
|
292
|
-
"parent_id"?: string;
|
|
293
|
-
"name"?: string;
|
|
294
|
-
"description"?: string;
|
|
328
|
+
"parent_id"?: string | null;
|
|
329
|
+
"name"?: string | null;
|
|
330
|
+
"description"?: string | null;
|
|
295
331
|
"status": number;
|
|
296
332
|
"requires_confirmation": boolean;
|
|
297
333
|
"created_at": string;
|
|
@@ -303,7 +339,7 @@ export interface CategoryCreateCategoryPostResponse extends ApiEnvelope<Category
|
|
|
303
339
|
export interface CategoryDetachFromTargetDeleteQuery extends QueryParams {
|
|
304
340
|
"junction_id": string;
|
|
305
341
|
}
|
|
306
|
-
/** Backend response type: response
|
|
342
|
+
/** Backend response type: handler-defined response. */
|
|
307
343
|
export interface CategoryDetachFromTargetDeleteResponse extends ApiEnvelope<JsonValue> {
|
|
308
344
|
}
|
|
309
345
|
/** Backend response type: Vec<models::CategoryAttachmentDTO>. */
|
|
@@ -319,7 +355,7 @@ export interface CategoryListOnTargetGetResponse extends ApiEnvelope<CategoryLis
|
|
|
319
355
|
/** Backend request type: models::CategoryAttachRequest. */
|
|
320
356
|
export interface CategoryAttachToTargetPostInput extends JsonObject {
|
|
321
357
|
"category_id": string;
|
|
322
|
-
"sort_order"?: number;
|
|
358
|
+
"sort_order"?: number | null;
|
|
323
359
|
}
|
|
324
360
|
/** Backend response type: models::CategoryAttachmentDTO. */
|
|
325
361
|
export interface CategoryAttachToTargetPostResponseData extends JsonObject {
|
|
@@ -331,15 +367,15 @@ export interface CategoryAttachToTargetPostResponseData extends JsonObject {
|
|
|
331
367
|
}
|
|
332
368
|
export interface CategoryAttachToTargetPostResponse extends ApiEnvelope<CategoryAttachToTargetPostResponseData> {
|
|
333
369
|
}
|
|
334
|
-
/** Backend response type: response
|
|
370
|
+
/** Backend response type: handler-defined response. */
|
|
335
371
|
export interface CategoryDeleteCategoryDeleteResponse extends ApiEnvelope<JsonValue> {
|
|
336
372
|
}
|
|
337
373
|
/** Backend response type: models::CategoryResponseDTO. */
|
|
338
374
|
export interface CategoryShowCategoryGetResponseData extends JsonObject {
|
|
339
375
|
"id": string;
|
|
340
|
-
"parent_id"?: string;
|
|
341
|
-
"name"?: string;
|
|
342
|
-
"description"?: string;
|
|
376
|
+
"parent_id"?: string | null;
|
|
377
|
+
"name"?: string | null;
|
|
378
|
+
"description"?: string | null;
|
|
343
379
|
"status": number;
|
|
344
380
|
"requires_confirmation": boolean;
|
|
345
381
|
"created_at": string;
|
|
@@ -352,15 +388,15 @@ export interface CategoryUpdateCategoryPatchInput extends JsonObject {
|
|
|
352
388
|
"parent_id"?: string | null;
|
|
353
389
|
"name"?: string | null;
|
|
354
390
|
"description"?: string | null;
|
|
355
|
-
"status"?: number;
|
|
356
|
-
"requires_confirmation"?: boolean;
|
|
391
|
+
"status"?: number | null;
|
|
392
|
+
"requires_confirmation"?: boolean | null;
|
|
357
393
|
}
|
|
358
394
|
/** Backend response type: models::CategoryResponseDTO. */
|
|
359
395
|
export interface CategoryUpdateCategoryPatchResponseData extends JsonObject {
|
|
360
396
|
"id": string;
|
|
361
|
-
"parent_id"?: string;
|
|
362
|
-
"name"?: string;
|
|
363
|
-
"description"?: string;
|
|
397
|
+
"parent_id"?: string | null;
|
|
398
|
+
"name"?: string | null;
|
|
399
|
+
"description"?: string | null;
|
|
364
400
|
"status": number;
|
|
365
401
|
"requires_confirmation": boolean;
|
|
366
402
|
"created_at": string;
|
|
@@ -373,15 +409,15 @@ export interface CategoryUpdateCategoryPutInput extends JsonObject {
|
|
|
373
409
|
"parent_id"?: string | null;
|
|
374
410
|
"name"?: string | null;
|
|
375
411
|
"description"?: string | null;
|
|
376
|
-
"status"?: number;
|
|
377
|
-
"requires_confirmation"?: boolean;
|
|
412
|
+
"status"?: number | null;
|
|
413
|
+
"requires_confirmation"?: boolean | null;
|
|
378
414
|
}
|
|
379
415
|
/** Backend response type: models::CategoryResponseDTO. */
|
|
380
416
|
export interface CategoryUpdateCategoryPutResponseData extends JsonObject {
|
|
381
417
|
"id": string;
|
|
382
|
-
"parent_id"?: string;
|
|
383
|
-
"name"?: string;
|
|
384
|
-
"description"?: string;
|
|
418
|
+
"parent_id"?: string | null;
|
|
419
|
+
"name"?: string | null;
|
|
420
|
+
"description"?: string | null;
|
|
385
421
|
"status": number;
|
|
386
422
|
"requires_confirmation": boolean;
|
|
387
423
|
"created_at": string;
|
|
@@ -391,12 +427,22 @@ export interface CategoryUpdateCategoryPutResponse extends ApiEnvelope<CategoryU
|
|
|
391
427
|
}
|
|
392
428
|
/** Backend query type: PaginationQuery. */
|
|
393
429
|
export interface CommentListCommentsGetQuery extends QueryParams {
|
|
394
|
-
"page_number"?: number;
|
|
395
|
-
"page_size"?: number;
|
|
430
|
+
"page_number"?: number | null;
|
|
431
|
+
"page_size"?: number | null;
|
|
396
432
|
}
|
|
397
433
|
/** Backend response type: models::CommentListResponse. */
|
|
434
|
+
export interface CommentListCommentsGetResponseDataComments extends JsonObject {
|
|
435
|
+
"id": string;
|
|
436
|
+
"user_id": string;
|
|
437
|
+
"author_id"?: string | null;
|
|
438
|
+
"parent_id"?: string | null;
|
|
439
|
+
"content": string;
|
|
440
|
+
"status": number;
|
|
441
|
+
"created_at": string;
|
|
442
|
+
"updated_at": string;
|
|
443
|
+
}
|
|
398
444
|
export interface CommentListCommentsGetResponseData extends JsonObject {
|
|
399
|
-
"comments":
|
|
445
|
+
"comments": CommentListCommentsGetResponseDataComments[];
|
|
400
446
|
"page_number": number;
|
|
401
447
|
"page_size": number;
|
|
402
448
|
"total_items": number;
|
|
@@ -406,16 +452,16 @@ export interface CommentListCommentsGetResponse extends ApiEnvelope<CommentListC
|
|
|
406
452
|
/** Backend request type: models::CommentCreateRequest. */
|
|
407
453
|
export interface CommentCreateCommentPostInput extends JsonObject {
|
|
408
454
|
"content": string;
|
|
409
|
-
"parent_id"?: string;
|
|
410
|
-
"author_id"?: string;
|
|
411
|
-
"status"?: number;
|
|
455
|
+
"parent_id"?: string | null;
|
|
456
|
+
"author_id"?: string | null;
|
|
457
|
+
"status"?: number | null;
|
|
412
458
|
}
|
|
413
459
|
/** Backend response type: models::CommentResponseDTO. */
|
|
414
460
|
export interface CommentCreateCommentPostResponseData extends JsonObject {
|
|
415
461
|
"id": string;
|
|
416
462
|
"user_id": string;
|
|
417
|
-
"author_id"?: string;
|
|
418
|
-
"parent_id"?: string;
|
|
463
|
+
"author_id"?: string | null;
|
|
464
|
+
"parent_id"?: string | null;
|
|
419
465
|
"content": string;
|
|
420
466
|
"status": number;
|
|
421
467
|
"created_at": string;
|
|
@@ -436,10 +482,10 @@ export interface CommentListOnTargetGetResponse extends ApiEnvelope<CommentListO
|
|
|
436
482
|
/** Backend request type: models::CommentOnTargetRequest. */
|
|
437
483
|
export interface CommentCreateOnTargetPostInput extends JsonObject {
|
|
438
484
|
"content": string;
|
|
439
|
-
"parent_id"?: string;
|
|
440
|
-
"author_id"?: string;
|
|
441
|
-
"status"?: number;
|
|
442
|
-
"sort_order"?: number;
|
|
485
|
+
"parent_id"?: string | null;
|
|
486
|
+
"author_id"?: string | null;
|
|
487
|
+
"status"?: number | null;
|
|
488
|
+
"sort_order"?: number | null;
|
|
443
489
|
}
|
|
444
490
|
/** Backend response type: models::CommentAttachmentDTO. */
|
|
445
491
|
export interface CommentCreateOnTargetPostResponseData extends JsonObject {
|
|
@@ -451,15 +497,15 @@ export interface CommentCreateOnTargetPostResponseData extends JsonObject {
|
|
|
451
497
|
}
|
|
452
498
|
export interface CommentCreateOnTargetPostResponse extends ApiEnvelope<CommentCreateOnTargetPostResponseData> {
|
|
453
499
|
}
|
|
454
|
-
/** Backend response type: response
|
|
500
|
+
/** Backend response type: handler-defined response. */
|
|
455
501
|
export interface CommentDeleteCommentDeleteResponse extends ApiEnvelope<JsonValue> {
|
|
456
502
|
}
|
|
457
503
|
/** Backend response type: models::CommentResponseDTO. */
|
|
458
504
|
export interface CommentShowCommentGetResponseData extends JsonObject {
|
|
459
505
|
"id": string;
|
|
460
506
|
"user_id": string;
|
|
461
|
-
"author_id"?: string;
|
|
462
|
-
"parent_id"?: string;
|
|
507
|
+
"author_id"?: string | null;
|
|
508
|
+
"parent_id"?: string | null;
|
|
463
509
|
"content": string;
|
|
464
510
|
"status": number;
|
|
465
511
|
"created_at": string;
|
|
@@ -469,15 +515,15 @@ export interface CommentShowCommentGetResponse extends ApiEnvelope<CommentShowCo
|
|
|
469
515
|
}
|
|
470
516
|
/** Backend request type: models::CommentUpdateRequest. */
|
|
471
517
|
export interface CommentUpdateCommentPatchInput extends JsonObject {
|
|
472
|
-
"content"?: string;
|
|
473
|
-
"status"?: number;
|
|
518
|
+
"content"?: string | null;
|
|
519
|
+
"status"?: number | null;
|
|
474
520
|
}
|
|
475
521
|
/** Backend response type: models::CommentResponseDTO. */
|
|
476
522
|
export interface CommentUpdateCommentPatchResponseData extends JsonObject {
|
|
477
523
|
"id": string;
|
|
478
524
|
"user_id": string;
|
|
479
|
-
"author_id"?: string;
|
|
480
|
-
"parent_id"?: string;
|
|
525
|
+
"author_id"?: string | null;
|
|
526
|
+
"parent_id"?: string | null;
|
|
481
527
|
"content": string;
|
|
482
528
|
"status": number;
|
|
483
529
|
"created_at": string;
|
|
@@ -487,15 +533,15 @@ export interface CommentUpdateCommentPatchResponse extends ApiEnvelope<CommentUp
|
|
|
487
533
|
}
|
|
488
534
|
/** Backend request type: models::CommentUpdateRequest. */
|
|
489
535
|
export interface CommentUpdateCommentPutInput extends JsonObject {
|
|
490
|
-
"content"?: string;
|
|
491
|
-
"status"?: number;
|
|
536
|
+
"content"?: string | null;
|
|
537
|
+
"status"?: number | null;
|
|
492
538
|
}
|
|
493
539
|
/** Backend response type: models::CommentResponseDTO. */
|
|
494
540
|
export interface CommentUpdateCommentPutResponseData extends JsonObject {
|
|
495
541
|
"id": string;
|
|
496
542
|
"user_id": string;
|
|
497
|
-
"author_id"?: string;
|
|
498
|
-
"parent_id"?: string;
|
|
543
|
+
"author_id"?: string | null;
|
|
544
|
+
"parent_id"?: string | null;
|
|
499
545
|
"content": string;
|
|
500
546
|
"status": number;
|
|
501
547
|
"created_at": string;
|
|
@@ -505,12 +551,21 @@ export interface CommentUpdateCommentPutResponse extends ApiEnvelope<CommentUpda
|
|
|
505
551
|
}
|
|
506
552
|
/** Backend query type: PaginationQuery. */
|
|
507
553
|
export interface ContentListContentsGetQuery extends QueryParams {
|
|
508
|
-
"page_number"?: number;
|
|
509
|
-
"page_size"?: number;
|
|
554
|
+
"page_number"?: number | null;
|
|
555
|
+
"page_size"?: number | null;
|
|
510
556
|
}
|
|
511
557
|
/** Backend response type: models::ContentListResponse. */
|
|
558
|
+
export interface ContentListContentsGetResponseDataContents extends JsonObject {
|
|
559
|
+
"id": string;
|
|
560
|
+
"created_by_user_id": string;
|
|
561
|
+
"created_by_author_id"?: string | null;
|
|
562
|
+
"content"?: string | null;
|
|
563
|
+
"auto_saved_content"?: string | null;
|
|
564
|
+
"created_at": string;
|
|
565
|
+
"updated_at": string;
|
|
566
|
+
}
|
|
512
567
|
export interface ContentListContentsGetResponseData extends JsonObject {
|
|
513
|
-
"contents":
|
|
568
|
+
"contents": ContentListContentsGetResponseDataContents[];
|
|
514
569
|
"page_number": number;
|
|
515
570
|
"page_size": number;
|
|
516
571
|
"total_items": number;
|
|
@@ -519,16 +574,16 @@ export interface ContentListContentsGetResponse extends ApiEnvelope<ContentListC
|
|
|
519
574
|
}
|
|
520
575
|
/** Backend request type: models::ContentCreateRequest. */
|
|
521
576
|
export interface ContentCreateContentPostInput extends JsonObject {
|
|
522
|
-
"content"?: string;
|
|
523
|
-
"created_by_author_id"?: string;
|
|
577
|
+
"content"?: string | null;
|
|
578
|
+
"created_by_author_id"?: string | null;
|
|
524
579
|
}
|
|
525
580
|
/** Backend response type: models::ContentResponseDTO. */
|
|
526
581
|
export interface ContentCreateContentPostResponseData extends JsonObject {
|
|
527
582
|
"id": string;
|
|
528
583
|
"created_by_user_id": string;
|
|
529
|
-
"created_by_author_id"?: string;
|
|
530
|
-
"content"?: string;
|
|
531
|
-
"auto_saved_content"?: string;
|
|
584
|
+
"created_by_author_id"?: string | null;
|
|
585
|
+
"content"?: string | null;
|
|
586
|
+
"auto_saved_content"?: string | null;
|
|
532
587
|
"created_at": string;
|
|
533
588
|
"updated_at": string;
|
|
534
589
|
}
|
|
@@ -538,50 +593,53 @@ export interface ContentCreateContentPostResponse extends ApiEnvelope<ContentCre
|
|
|
538
593
|
export interface ContentDetachFromTargetDeleteQuery extends QueryParams {
|
|
539
594
|
"junction_id": string;
|
|
540
595
|
}
|
|
541
|
-
/** Backend response type: response
|
|
596
|
+
/** Backend response type: handler-defined response. */
|
|
542
597
|
export interface ContentDetachFromTargetDeleteResponse extends ApiEnvelope<JsonValue> {
|
|
543
598
|
}
|
|
544
599
|
/** Backend response type: Vec<models::ContentAttachmentDTO>. */
|
|
600
|
+
export type ContentListOnTargetGetResponseItemContentType = "Primary" | "Secondary" | "Description" | "Complementary" | "Explanation" | "FullDetail";
|
|
545
601
|
export interface ContentListOnTargetGetResponseItem extends JsonObject {
|
|
546
602
|
"id": string;
|
|
547
603
|
"content_id": string;
|
|
548
604
|
"target_id": string;
|
|
549
|
-
"content_type":
|
|
605
|
+
"content_type": ContentListOnTargetGetResponseItemContentType;
|
|
550
606
|
"sort_order": number;
|
|
551
|
-
"priority"?: number;
|
|
607
|
+
"priority"?: number | null;
|
|
552
608
|
"created_at": string;
|
|
553
609
|
}
|
|
554
610
|
export interface ContentListOnTargetGetResponse extends ApiEnvelope<ContentListOnTargetGetResponseItem[]> {
|
|
555
611
|
}
|
|
556
612
|
/** Backend request type: models::ContentAttachRequest. */
|
|
613
|
+
export type ContentAttachToTargetPostInputContentType = "Primary" | "Secondary" | "Description" | "Complementary" | "Explanation" | "FullDetail";
|
|
557
614
|
export interface ContentAttachToTargetPostInput extends JsonObject {
|
|
558
615
|
"content_id": string;
|
|
559
|
-
"content_type":
|
|
560
|
-
"sort_order"?: number;
|
|
561
|
-
"priority"?: number;
|
|
616
|
+
"content_type": ContentAttachToTargetPostInputContentType;
|
|
617
|
+
"sort_order"?: number | null;
|
|
618
|
+
"priority"?: number | null;
|
|
562
619
|
}
|
|
563
620
|
/** Backend response type: models::ContentAttachmentDTO. */
|
|
621
|
+
export type ContentAttachToTargetPostResponseDataContentType = "Primary" | "Secondary" | "Description" | "Complementary" | "Explanation" | "FullDetail";
|
|
564
622
|
export interface ContentAttachToTargetPostResponseData extends JsonObject {
|
|
565
623
|
"id": string;
|
|
566
624
|
"content_id": string;
|
|
567
625
|
"target_id": string;
|
|
568
|
-
"content_type":
|
|
626
|
+
"content_type": ContentAttachToTargetPostResponseDataContentType;
|
|
569
627
|
"sort_order": number;
|
|
570
|
-
"priority"?: number;
|
|
628
|
+
"priority"?: number | null;
|
|
571
629
|
"created_at": string;
|
|
572
630
|
}
|
|
573
631
|
export interface ContentAttachToTargetPostResponse extends ApiEnvelope<ContentAttachToTargetPostResponseData> {
|
|
574
632
|
}
|
|
575
|
-
/** Backend response type: response
|
|
633
|
+
/** Backend response type: handler-defined response. */
|
|
576
634
|
export interface ContentDeleteContentDeleteResponse extends ApiEnvelope<JsonValue> {
|
|
577
635
|
}
|
|
578
636
|
/** Backend response type: models::ContentResponseDTO. */
|
|
579
637
|
export interface ContentShowContentGetResponseData extends JsonObject {
|
|
580
638
|
"id": string;
|
|
581
639
|
"created_by_user_id": string;
|
|
582
|
-
"created_by_author_id"?: string;
|
|
583
|
-
"content"?: string;
|
|
584
|
-
"auto_saved_content"?: string;
|
|
640
|
+
"created_by_author_id"?: string | null;
|
|
641
|
+
"content"?: string | null;
|
|
642
|
+
"auto_saved_content"?: string | null;
|
|
585
643
|
"created_at": string;
|
|
586
644
|
"updated_at": string;
|
|
587
645
|
}
|
|
@@ -589,22 +647,22 @@ export interface ContentShowContentGetResponse extends ApiEnvelope<ContentShowCo
|
|
|
589
647
|
}
|
|
590
648
|
/** Backend request type: models::ContentUpdateRequest. */
|
|
591
649
|
export interface ContentUpdateContentPatchInput extends JsonObject {
|
|
592
|
-
"content"?: string;
|
|
593
|
-
"auto_saved_content"?: string;
|
|
650
|
+
"content"?: string | null;
|
|
651
|
+
"auto_saved_content"?: string | null;
|
|
594
652
|
}
|
|
595
653
|
/** Backend query type: models::ContentUpdateQuery. */
|
|
596
654
|
export interface ContentUpdateContentPatchQuery extends QueryParams {
|
|
597
|
-
"autosave"?: boolean;
|
|
598
|
-
"host"?: string;
|
|
599
|
-
"target_id"?: string;
|
|
655
|
+
"autosave"?: boolean | null;
|
|
656
|
+
"host"?: string | null;
|
|
657
|
+
"target_id"?: string | null;
|
|
600
658
|
}
|
|
601
659
|
/** Backend response type: models::ContentResponseDTO. */
|
|
602
660
|
export interface ContentUpdateContentPatchResponseData extends JsonObject {
|
|
603
661
|
"id": string;
|
|
604
662
|
"created_by_user_id": string;
|
|
605
|
-
"created_by_author_id"?: string;
|
|
606
|
-
"content"?: string;
|
|
607
|
-
"auto_saved_content"?: string;
|
|
663
|
+
"created_by_author_id"?: string | null;
|
|
664
|
+
"content"?: string | null;
|
|
665
|
+
"auto_saved_content"?: string | null;
|
|
608
666
|
"created_at": string;
|
|
609
667
|
"updated_at": string;
|
|
610
668
|
}
|
|
@@ -612,22 +670,22 @@ export interface ContentUpdateContentPatchResponse extends ApiEnvelope<ContentUp
|
|
|
612
670
|
}
|
|
613
671
|
/** Backend request type: models::ContentUpdateRequest. */
|
|
614
672
|
export interface ContentUpdateContentPutInput extends JsonObject {
|
|
615
|
-
"content"?: string;
|
|
616
|
-
"auto_saved_content"?: string;
|
|
673
|
+
"content"?: string | null;
|
|
674
|
+
"auto_saved_content"?: string | null;
|
|
617
675
|
}
|
|
618
676
|
/** Backend query type: models::ContentUpdateQuery. */
|
|
619
677
|
export interface ContentUpdateContentPutQuery extends QueryParams {
|
|
620
|
-
"autosave"?: boolean;
|
|
621
|
-
"host"?: string;
|
|
622
|
-
"target_id"?: string;
|
|
678
|
+
"autosave"?: boolean | null;
|
|
679
|
+
"host"?: string | null;
|
|
680
|
+
"target_id"?: string | null;
|
|
623
681
|
}
|
|
624
682
|
/** Backend response type: models::ContentResponseDTO. */
|
|
625
683
|
export interface ContentUpdateContentPutResponseData extends JsonObject {
|
|
626
684
|
"id": string;
|
|
627
685
|
"created_by_user_id": string;
|
|
628
|
-
"created_by_author_id"?: string;
|
|
629
|
-
"content"?: string;
|
|
630
|
-
"auto_saved_content"?: string;
|
|
686
|
+
"created_by_author_id"?: string | null;
|
|
687
|
+
"content"?: string | null;
|
|
688
|
+
"auto_saved_content"?: string | null;
|
|
631
689
|
"created_at": string;
|
|
632
690
|
"updated_at": string;
|
|
633
691
|
}
|
|
@@ -638,14 +696,25 @@ export interface IntegrationFlowIntegrationShowGetResponse extends ApiEnvelope<J
|
|
|
638
696
|
}
|
|
639
697
|
/** Backend query type: models::InventoryListQuery. */
|
|
640
698
|
export interface InventoryListInventoriesGetQuery extends QueryParams {
|
|
641
|
-
"variant_id"?: string;
|
|
642
|
-
"warehouse_id"?: string;
|
|
643
|
-
"page_number"?: number;
|
|
644
|
-
"page_size"?: number;
|
|
699
|
+
"variant_id"?: string | null;
|
|
700
|
+
"warehouse_id"?: string | null;
|
|
701
|
+
"page_number"?: number | null;
|
|
702
|
+
"page_size"?: number | null;
|
|
645
703
|
}
|
|
646
704
|
/** Backend response type: models::InventoryListResponse. */
|
|
705
|
+
export interface InventoryListInventoriesGetResponseDataInventories extends JsonObject {
|
|
706
|
+
"id": string;
|
|
707
|
+
"variant_id": string;
|
|
708
|
+
"warehouse_id": string;
|
|
709
|
+
"priority": number;
|
|
710
|
+
"quantity": number;
|
|
711
|
+
"reserved": number;
|
|
712
|
+
"available": number;
|
|
713
|
+
"created_at": string;
|
|
714
|
+
"updated_at": string;
|
|
715
|
+
}
|
|
647
716
|
export interface InventoryListInventoriesGetResponseData extends JsonObject {
|
|
648
|
-
"inventories":
|
|
717
|
+
"inventories": InventoryListInventoriesGetResponseDataInventories[];
|
|
649
718
|
"page_number": number;
|
|
650
719
|
"page_size": number;
|
|
651
720
|
"total_items": number;
|
|
@@ -656,7 +725,7 @@ export interface InventoryListInventoriesGetResponse extends ApiEnvelope<Invento
|
|
|
656
725
|
export interface InventoryCreateInventoryPostInput extends JsonObject {
|
|
657
726
|
"variant_id": string;
|
|
658
727
|
"warehouse_id": string;
|
|
659
|
-
"priority"?: number;
|
|
728
|
+
"priority"?: number | null;
|
|
660
729
|
"quantity": number;
|
|
661
730
|
}
|
|
662
731
|
/** Backend response type: models::InventoryResponseDTO. */
|
|
@@ -673,7 +742,7 @@ export interface InventoryCreateInventoryPostResponseData extends JsonObject {
|
|
|
673
742
|
}
|
|
674
743
|
export interface InventoryCreateInventoryPostResponse extends ApiEnvelope<InventoryCreateInventoryPostResponseData> {
|
|
675
744
|
}
|
|
676
|
-
/** Backend response type: response
|
|
745
|
+
/** Backend response type: handler-defined response. */
|
|
677
746
|
export interface InventoryDeleteInventoryDeleteResponse extends ApiEnvelope<JsonValue> {
|
|
678
747
|
}
|
|
679
748
|
/** Backend response type: models::InventoryResponseDTO. */
|
|
@@ -692,9 +761,9 @@ export interface InventoryShowInventoryGetResponse extends ApiEnvelope<Inventory
|
|
|
692
761
|
}
|
|
693
762
|
/** Backend request type: models::InventoryUpdateRequest. */
|
|
694
763
|
export interface InventoryUpdateInventoryPatchInput extends JsonObject {
|
|
695
|
-
"priority"?: number;
|
|
696
|
-
"quantity"?: number;
|
|
697
|
-
"reserved"?: number;
|
|
764
|
+
"priority"?: number | null;
|
|
765
|
+
"quantity"?: number | null;
|
|
766
|
+
"reserved"?: number | null;
|
|
698
767
|
}
|
|
699
768
|
/** Backend response type: models::InventoryResponseDTO. */
|
|
700
769
|
export interface InventoryUpdateInventoryPatchResponseData extends JsonObject {
|
|
@@ -712,9 +781,9 @@ export interface InventoryUpdateInventoryPatchResponse extends ApiEnvelope<Inven
|
|
|
712
781
|
}
|
|
713
782
|
/** Backend request type: models::InventoryUpdateRequest. */
|
|
714
783
|
export interface InventoryUpdateInventoryPutInput extends JsonObject {
|
|
715
|
-
"priority"?: number;
|
|
716
|
-
"quantity"?: number;
|
|
717
|
-
"reserved"?: number;
|
|
784
|
+
"priority"?: number | null;
|
|
785
|
+
"quantity"?: number | null;
|
|
786
|
+
"reserved"?: number | null;
|
|
718
787
|
}
|
|
719
788
|
/** Backend response type: models::InventoryResponseDTO. */
|
|
720
789
|
export interface InventoryUpdateInventoryPutResponseData extends JsonObject {
|
|
@@ -732,14 +801,24 @@ export interface InventoryUpdateInventoryPutResponse extends ApiEnvelope<Invento
|
|
|
732
801
|
}
|
|
733
802
|
/** Backend query type: models::StockMovementListQuery. */
|
|
734
803
|
export interface StockMovementListStockMovementsGetQuery extends QueryParams {
|
|
735
|
-
"variant_id"?: string;
|
|
736
|
-
"warehouse_id"?: string;
|
|
737
|
-
"page_number"?: number;
|
|
738
|
-
"page_size"?: number;
|
|
804
|
+
"variant_id"?: string | null;
|
|
805
|
+
"warehouse_id"?: string | null;
|
|
806
|
+
"page_number"?: number | null;
|
|
807
|
+
"page_size"?: number | null;
|
|
739
808
|
}
|
|
740
809
|
/** Backend response type: models::StockMovementListResponse. */
|
|
810
|
+
export interface StockMovementListStockMovementsGetResponseDataStockMovements extends JsonObject {
|
|
811
|
+
"id": string;
|
|
812
|
+
"variant_id": string;
|
|
813
|
+
"warehouse_id": string;
|
|
814
|
+
"type": string;
|
|
815
|
+
"quantity": number;
|
|
816
|
+
"reference_id"?: string | null;
|
|
817
|
+
"reason"?: string | null;
|
|
818
|
+
"created_at": string;
|
|
819
|
+
}
|
|
741
820
|
export interface StockMovementListStockMovementsGetResponseData extends JsonObject {
|
|
742
|
-
"stock_movements":
|
|
821
|
+
"stock_movements": StockMovementListStockMovementsGetResponseDataStockMovements[];
|
|
743
822
|
"page_number": number;
|
|
744
823
|
"page_size": number;
|
|
745
824
|
"total_items": number;
|
|
@@ -750,30 +829,40 @@ export interface StockMovementListStockMovementsGetResponse extends ApiEnvelope<
|
|
|
750
829
|
export interface StockMovementCreateStockMovementPostInput extends JsonObject {
|
|
751
830
|
"variant_id": string;
|
|
752
831
|
"warehouse_id": string;
|
|
832
|
+
"type": string;
|
|
753
833
|
"quantity": number;
|
|
754
|
-
"reference_id"?: string;
|
|
755
|
-
"reason"?: string;
|
|
834
|
+
"reference_id"?: string | null;
|
|
835
|
+
"reason"?: string | null;
|
|
756
836
|
}
|
|
757
837
|
/** Backend response type: models::StockMovementResponseDTO. */
|
|
758
838
|
export interface StockMovementCreateStockMovementPostResponseData extends JsonObject {
|
|
759
839
|
"id": string;
|
|
760
840
|
"variant_id": string;
|
|
761
841
|
"warehouse_id": string;
|
|
842
|
+
"type": string;
|
|
762
843
|
"quantity": number;
|
|
763
|
-
"reference_id"?: string;
|
|
764
|
-
"reason"?: string;
|
|
844
|
+
"reference_id"?: string | null;
|
|
845
|
+
"reason"?: string | null;
|
|
765
846
|
"created_at": string;
|
|
766
847
|
}
|
|
767
848
|
export interface StockMovementCreateStockMovementPostResponse extends ApiEnvelope<StockMovementCreateStockMovementPostResponseData> {
|
|
768
849
|
}
|
|
769
850
|
/** Backend query type: PaginationQuery. */
|
|
770
851
|
export interface InventoryListWarehousesGetQuery extends QueryParams {
|
|
771
|
-
"page_number"?: number;
|
|
772
|
-
"page_size"?: number;
|
|
852
|
+
"page_number"?: number | null;
|
|
853
|
+
"page_size"?: number | null;
|
|
773
854
|
}
|
|
774
855
|
/** Backend response type: models::WarehouseListResponse. */
|
|
856
|
+
export interface InventoryListWarehousesGetResponseDataWarehouses extends JsonObject {
|
|
857
|
+
"id": string;
|
|
858
|
+
"name": string;
|
|
859
|
+
"location": string;
|
|
860
|
+
"capacity": number;
|
|
861
|
+
"created_at": string;
|
|
862
|
+
"updated_at": string;
|
|
863
|
+
}
|
|
775
864
|
export interface InventoryListWarehousesGetResponseData extends JsonObject {
|
|
776
|
-
"warehouses":
|
|
865
|
+
"warehouses": InventoryListWarehousesGetResponseDataWarehouses[];
|
|
777
866
|
"page_number": number;
|
|
778
867
|
"page_size": number;
|
|
779
868
|
"total_items": number;
|
|
@@ -797,7 +886,7 @@ export interface InventoryCreateWarehousePostResponseData extends JsonObject {
|
|
|
797
886
|
}
|
|
798
887
|
export interface InventoryCreateWarehousePostResponse extends ApiEnvelope<InventoryCreateWarehousePostResponseData> {
|
|
799
888
|
}
|
|
800
|
-
/** Backend response type: response
|
|
889
|
+
/** Backend response type: handler-defined response. */
|
|
801
890
|
export interface InventoryDeleteWarehouseDeleteResponse extends ApiEnvelope<JsonValue> {
|
|
802
891
|
}
|
|
803
892
|
/** Backend response type: models::WarehouseResponseDTO. */
|
|
@@ -813,9 +902,9 @@ export interface InventoryShowWarehouseGetResponse extends ApiEnvelope<Inventory
|
|
|
813
902
|
}
|
|
814
903
|
/** Backend request type: models::WarehouseUpdateRequest. */
|
|
815
904
|
export interface InventoryUpdateWarehousePatchInput extends JsonObject {
|
|
816
|
-
"name"?: string;
|
|
817
|
-
"location"?: string;
|
|
818
|
-
"capacity"?: number;
|
|
905
|
+
"name"?: string | null;
|
|
906
|
+
"location"?: string | null;
|
|
907
|
+
"capacity"?: number | null;
|
|
819
908
|
}
|
|
820
909
|
/** Backend response type: models::WarehouseResponseDTO. */
|
|
821
910
|
export interface InventoryUpdateWarehousePatchResponseData extends JsonObject {
|
|
@@ -830,9 +919,9 @@ export interface InventoryUpdateWarehousePatchResponse extends ApiEnvelope<Inven
|
|
|
830
919
|
}
|
|
831
920
|
/** Backend request type: models::WarehouseUpdateRequest. */
|
|
832
921
|
export interface InventoryUpdateWarehousePutInput extends JsonObject {
|
|
833
|
-
"name"?: string;
|
|
834
|
-
"location"?: string;
|
|
835
|
-
"capacity"?: number;
|
|
922
|
+
"name"?: string | null;
|
|
923
|
+
"location"?: string | null;
|
|
924
|
+
"capacity"?: number | null;
|
|
836
925
|
}
|
|
837
926
|
/** Backend response type: models::WarehouseResponseDTO. */
|
|
838
927
|
export interface InventoryUpdateWarehousePutResponseData extends JsonObject {
|
|
@@ -847,12 +936,24 @@ export interface InventoryUpdateWarehousePutResponse extends ApiEnvelope<Invento
|
|
|
847
936
|
}
|
|
848
937
|
/** Backend query type: PaginationQuery. */
|
|
849
938
|
export interface ServicePricingListPricingGetQuery extends QueryParams {
|
|
850
|
-
"page_number"?: number;
|
|
851
|
-
"page_size"?: number;
|
|
939
|
+
"page_number"?: number | null;
|
|
940
|
+
"page_size"?: number | null;
|
|
852
941
|
}
|
|
853
942
|
/** Backend response type: models::ServicePricingListResponse. */
|
|
943
|
+
export interface ServicePricingListPricingGetResponseDataPricings extends JsonObject {
|
|
944
|
+
"id": string;
|
|
945
|
+
"service_name": string;
|
|
946
|
+
"display_name"?: string | null;
|
|
947
|
+
"hourly_price": number;
|
|
948
|
+
"monthly_price": number;
|
|
949
|
+
"annual_price": number;
|
|
950
|
+
"currency": string;
|
|
951
|
+
"status": number;
|
|
952
|
+
"created_at": string;
|
|
953
|
+
"updated_at": string;
|
|
954
|
+
}
|
|
854
955
|
export interface ServicePricingListPricingGetResponseData extends JsonObject {
|
|
855
|
-
"pricings":
|
|
956
|
+
"pricings": ServicePricingListPricingGetResponseDataPricings[];
|
|
856
957
|
"page_number": number;
|
|
857
958
|
"page_size": number;
|
|
858
959
|
"total_items": number;
|
|
@@ -862,18 +963,18 @@ export interface ServicePricingListPricingGetResponse extends ApiEnvelope<Servic
|
|
|
862
963
|
/** Backend request type: models::ServicePricingCreateRequest. */
|
|
863
964
|
export interface ServicePricingCreatePricingPostInput extends JsonObject {
|
|
864
965
|
"service_name": string;
|
|
865
|
-
"display_name"?: string;
|
|
966
|
+
"display_name"?: string | null;
|
|
866
967
|
"hourly_price": number;
|
|
867
968
|
"monthly_price": number;
|
|
868
969
|
"annual_price": number;
|
|
869
|
-
"currency"?: string;
|
|
870
|
-
"status"?: number;
|
|
970
|
+
"currency"?: string | null;
|
|
971
|
+
"status"?: number | null;
|
|
871
972
|
}
|
|
872
973
|
/** Backend response type: models::ServicePricingResponseDTO. */
|
|
873
974
|
export interface ServicePricingCreatePricingPostResponseData extends JsonObject {
|
|
874
975
|
"id": string;
|
|
875
976
|
"service_name": string;
|
|
876
|
-
"display_name"?: string;
|
|
977
|
+
"display_name"?: string | null;
|
|
877
978
|
"hourly_price": number;
|
|
878
979
|
"monthly_price": number;
|
|
879
980
|
"annual_price": number;
|
|
@@ -884,14 +985,14 @@ export interface ServicePricingCreatePricingPostResponseData extends JsonObject
|
|
|
884
985
|
}
|
|
885
986
|
export interface ServicePricingCreatePricingPostResponse extends ApiEnvelope<ServicePricingCreatePricingPostResponseData> {
|
|
886
987
|
}
|
|
887
|
-
/** Backend response type: response
|
|
988
|
+
/** Backend response type: handler-defined response. */
|
|
888
989
|
export interface ServicePricingDeletePricingDeleteResponse extends ApiEnvelope<JsonValue> {
|
|
889
990
|
}
|
|
890
991
|
/** Backend response type: models::ServicePricingResponseDTO. */
|
|
891
992
|
export interface ServicePricingShowPricingGetResponseData extends JsonObject {
|
|
892
993
|
"id": string;
|
|
893
994
|
"service_name": string;
|
|
894
|
-
"display_name"?: string;
|
|
995
|
+
"display_name"?: string | null;
|
|
895
996
|
"hourly_price": number;
|
|
896
997
|
"monthly_price": number;
|
|
897
998
|
"annual_price": number;
|
|
@@ -904,19 +1005,19 @@ export interface ServicePricingShowPricingGetResponse extends ApiEnvelope<Servic
|
|
|
904
1005
|
}
|
|
905
1006
|
/** Backend request type: models::ServicePricingUpdateRequest. */
|
|
906
1007
|
export interface ServicePricingUpdatePricingPatchInput extends JsonObject {
|
|
907
|
-
"service_name"?: string;
|
|
1008
|
+
"service_name"?: string | null;
|
|
908
1009
|
"display_name"?: string | null;
|
|
909
|
-
"hourly_price"?: number;
|
|
910
|
-
"monthly_price"?: number;
|
|
911
|
-
"annual_price"?: number;
|
|
912
|
-
"currency"?: string;
|
|
913
|
-
"status"?: number;
|
|
1010
|
+
"hourly_price"?: number | null;
|
|
1011
|
+
"monthly_price"?: number | null;
|
|
1012
|
+
"annual_price"?: number | null;
|
|
1013
|
+
"currency"?: string | null;
|
|
1014
|
+
"status"?: number | null;
|
|
914
1015
|
}
|
|
915
1016
|
/** Backend response type: models::ServicePricingResponseDTO. */
|
|
916
1017
|
export interface ServicePricingUpdatePricingPatchResponseData extends JsonObject {
|
|
917
1018
|
"id": string;
|
|
918
1019
|
"service_name": string;
|
|
919
|
-
"display_name"?: string;
|
|
1020
|
+
"display_name"?: string | null;
|
|
920
1021
|
"hourly_price": number;
|
|
921
1022
|
"monthly_price": number;
|
|
922
1023
|
"annual_price": number;
|
|
@@ -929,19 +1030,19 @@ export interface ServicePricingUpdatePricingPatchResponse extends ApiEnvelope<Se
|
|
|
929
1030
|
}
|
|
930
1031
|
/** Backend request type: models::ServicePricingUpdateRequest. */
|
|
931
1032
|
export interface ServicePricingUpdatePricingPutInput extends JsonObject {
|
|
932
|
-
"service_name"?: string;
|
|
1033
|
+
"service_name"?: string | null;
|
|
933
1034
|
"display_name"?: string | null;
|
|
934
|
-
"hourly_price"?: number;
|
|
935
|
-
"monthly_price"?: number;
|
|
936
|
-
"annual_price"?: number;
|
|
937
|
-
"currency"?: string;
|
|
938
|
-
"status"?: number;
|
|
1035
|
+
"hourly_price"?: number | null;
|
|
1036
|
+
"monthly_price"?: number | null;
|
|
1037
|
+
"annual_price"?: number | null;
|
|
1038
|
+
"currency"?: string | null;
|
|
1039
|
+
"status"?: number | null;
|
|
939
1040
|
}
|
|
940
1041
|
/** Backend response type: models::ServicePricingResponseDTO. */
|
|
941
1042
|
export interface ServicePricingUpdatePricingPutResponseData extends JsonObject {
|
|
942
1043
|
"id": string;
|
|
943
1044
|
"service_name": string;
|
|
944
|
-
"display_name"?: string;
|
|
1045
|
+
"display_name"?: string | null;
|
|
945
1046
|
"hourly_price": number;
|
|
946
1047
|
"monthly_price": number;
|
|
947
1048
|
"annual_price": number;
|
|
@@ -956,41 +1057,53 @@ export interface ServicePricingUpdatePricingPutResponse extends ApiEnvelope<Serv
|
|
|
956
1057
|
export interface ReactionDeleteOnTargetDeleteQuery extends QueryParams {
|
|
957
1058
|
"reaction_id": string;
|
|
958
1059
|
}
|
|
959
|
-
/** Backend response type: response
|
|
1060
|
+
/** Backend response type: handler-defined response. */
|
|
960
1061
|
export interface ReactionDeleteOnTargetDeleteResponse extends ApiEnvelope<JsonValue> {
|
|
961
1062
|
}
|
|
962
1063
|
/** Backend response type: Vec<models::ReactionResponseDTO>. */
|
|
1064
|
+
export type ReactionListOnTargetGetResponseItemReactionType = "Like" | "Dislike" | "Favorite" | "Bookmark" | "Share";
|
|
963
1065
|
export interface ReactionListOnTargetGetResponseItem extends JsonObject {
|
|
964
1066
|
"id": string;
|
|
965
1067
|
"user_id": string;
|
|
966
1068
|
"target_id": string;
|
|
967
|
-
"reaction_type":
|
|
1069
|
+
"reaction_type": ReactionListOnTargetGetResponseItemReactionType;
|
|
968
1070
|
"created_at": string;
|
|
969
1071
|
}
|
|
970
1072
|
export interface ReactionListOnTargetGetResponse extends ApiEnvelope<ReactionListOnTargetGetResponseItem[]> {
|
|
971
1073
|
}
|
|
972
1074
|
/** Backend request type: models::ReactionCreateRequest. */
|
|
1075
|
+
export type ReactionCreateOnTargetPostInputReactionType = "Like" | "Dislike" | "Favorite" | "Bookmark" | "Share";
|
|
973
1076
|
export interface ReactionCreateOnTargetPostInput extends JsonObject {
|
|
974
|
-
"reaction_type":
|
|
1077
|
+
"reaction_type": ReactionCreateOnTargetPostInputReactionType;
|
|
975
1078
|
}
|
|
976
1079
|
/** Backend response type: models::ReactionResponseDTO. */
|
|
1080
|
+
export type ReactionCreateOnTargetPostResponseDataReactionType = "Like" | "Dislike" | "Favorite" | "Bookmark" | "Share";
|
|
977
1081
|
export interface ReactionCreateOnTargetPostResponseData extends JsonObject {
|
|
978
1082
|
"id": string;
|
|
979
1083
|
"user_id": string;
|
|
980
1084
|
"target_id": string;
|
|
981
|
-
"reaction_type":
|
|
1085
|
+
"reaction_type": ReactionCreateOnTargetPostResponseDataReactionType;
|
|
982
1086
|
"created_at": string;
|
|
983
1087
|
}
|
|
984
1088
|
export interface ReactionCreateOnTargetPostResponse extends ApiEnvelope<ReactionCreateOnTargetPostResponseData> {
|
|
985
1089
|
}
|
|
986
1090
|
/** Backend query type: PaginationQuery. */
|
|
987
1091
|
export interface RequestListRequestsGetQuery extends QueryParams {
|
|
988
|
-
"page_number"?: number;
|
|
989
|
-
"page_size"?: number;
|
|
1092
|
+
"page_number"?: number | null;
|
|
1093
|
+
"page_size"?: number | null;
|
|
990
1094
|
}
|
|
991
1095
|
/** Backend response type: models::RequestListResponse. */
|
|
1096
|
+
export interface RequestListRequestsGetResponseDataRequests extends JsonObject {
|
|
1097
|
+
"id": string;
|
|
1098
|
+
"key": string;
|
|
1099
|
+
"name": string;
|
|
1100
|
+
"description"?: string | null;
|
|
1101
|
+
"status": number;
|
|
1102
|
+
"created_at": string;
|
|
1103
|
+
"updated_at": string;
|
|
1104
|
+
}
|
|
992
1105
|
export interface RequestListRequestsGetResponseData extends JsonObject {
|
|
993
|
-
"requests":
|
|
1106
|
+
"requests": RequestListRequestsGetResponseDataRequests[];
|
|
994
1107
|
"page_number": number;
|
|
995
1108
|
"page_size": number;
|
|
996
1109
|
"total_items": number;
|
|
@@ -1001,15 +1114,15 @@ export interface RequestListRequestsGetResponse extends ApiEnvelope<RequestListR
|
|
|
1001
1114
|
export interface RequestCreateRequestPostInput extends JsonObject {
|
|
1002
1115
|
"key": string;
|
|
1003
1116
|
"name": string;
|
|
1004
|
-
"description"?: string;
|
|
1005
|
-
"status"?: number;
|
|
1117
|
+
"description"?: string | null;
|
|
1118
|
+
"status"?: number | null;
|
|
1006
1119
|
}
|
|
1007
1120
|
/** Backend response type: models::RequestResponseDTO. */
|
|
1008
1121
|
export interface RequestCreateRequestPostResponseData extends JsonObject {
|
|
1009
1122
|
"id": string;
|
|
1010
1123
|
"key": string;
|
|
1011
1124
|
"name": string;
|
|
1012
|
-
"description"?: string;
|
|
1125
|
+
"description"?: string | null;
|
|
1013
1126
|
"status": number;
|
|
1014
1127
|
"created_at": string;
|
|
1015
1128
|
"updated_at": string;
|
|
@@ -1020,7 +1133,7 @@ export interface RequestCreateRequestPostResponse extends ApiEnvelope<RequestCre
|
|
|
1020
1133
|
export interface RequestDetachFromTargetDeleteQuery extends QueryParams {
|
|
1021
1134
|
"junction_id": string;
|
|
1022
1135
|
}
|
|
1023
|
-
/** Backend response type: response
|
|
1136
|
+
/** Backend response type: handler-defined response. */
|
|
1024
1137
|
export interface RequestDetachFromTargetDeleteResponse extends ApiEnvelope<JsonValue> {
|
|
1025
1138
|
}
|
|
1026
1139
|
/** Backend response type: Vec<models::RequestAttachmentDTO>. */
|
|
@@ -1036,7 +1149,7 @@ export interface RequestListOnTargetGetResponse extends ApiEnvelope<RequestListO
|
|
|
1036
1149
|
/** Backend request type: models::RequestAttachRequest. */
|
|
1037
1150
|
export interface RequestAttachToTargetPostInput extends JsonObject {
|
|
1038
1151
|
"request_id": string;
|
|
1039
|
-
"sort_order"?: number;
|
|
1152
|
+
"sort_order"?: number | null;
|
|
1040
1153
|
}
|
|
1041
1154
|
/** Backend response type: models::RequestAttachmentDTO. */
|
|
1042
1155
|
export interface RequestAttachToTargetPostResponseData extends JsonObject {
|
|
@@ -1048,7 +1161,7 @@ export interface RequestAttachToTargetPostResponseData extends JsonObject {
|
|
|
1048
1161
|
}
|
|
1049
1162
|
export interface RequestAttachToTargetPostResponse extends ApiEnvelope<RequestAttachToTargetPostResponseData> {
|
|
1050
1163
|
}
|
|
1051
|
-
/** Backend response type: response
|
|
1164
|
+
/** Backend response type: handler-defined response. */
|
|
1052
1165
|
export interface RequestDeleteRequestDeleteResponse extends ApiEnvelope<JsonValue> {
|
|
1053
1166
|
}
|
|
1054
1167
|
/** Backend response type: models::RequestResponseDTO. */
|
|
@@ -1056,7 +1169,7 @@ export interface RequestShowRequestGetResponseData extends JsonObject {
|
|
|
1056
1169
|
"id": string;
|
|
1057
1170
|
"key": string;
|
|
1058
1171
|
"name": string;
|
|
1059
|
-
"description"?: string;
|
|
1172
|
+
"description"?: string | null;
|
|
1060
1173
|
"status": number;
|
|
1061
1174
|
"created_at": string;
|
|
1062
1175
|
"updated_at": string;
|
|
@@ -1065,17 +1178,17 @@ export interface RequestShowRequestGetResponse extends ApiEnvelope<RequestShowRe
|
|
|
1065
1178
|
}
|
|
1066
1179
|
/** Backend request type: models::RequestUpdateRequest. */
|
|
1067
1180
|
export interface RequestUpdateRequestPatchInput extends JsonObject {
|
|
1068
|
-
"key"?: string;
|
|
1069
|
-
"name"?: string;
|
|
1181
|
+
"key"?: string | null;
|
|
1182
|
+
"name"?: string | null;
|
|
1070
1183
|
"description"?: string | null;
|
|
1071
|
-
"status"?: number;
|
|
1184
|
+
"status"?: number | null;
|
|
1072
1185
|
}
|
|
1073
1186
|
/** Backend response type: models::RequestResponseDTO. */
|
|
1074
1187
|
export interface RequestUpdateRequestPatchResponseData extends JsonObject {
|
|
1075
1188
|
"id": string;
|
|
1076
1189
|
"key": string;
|
|
1077
1190
|
"name": string;
|
|
1078
|
-
"description"?: string;
|
|
1191
|
+
"description"?: string | null;
|
|
1079
1192
|
"status": number;
|
|
1080
1193
|
"created_at": string;
|
|
1081
1194
|
"updated_at": string;
|
|
@@ -1084,17 +1197,17 @@ export interface RequestUpdateRequestPatchResponse extends ApiEnvelope<RequestUp
|
|
|
1084
1197
|
}
|
|
1085
1198
|
/** Backend request type: models::RequestUpdateRequest. */
|
|
1086
1199
|
export interface RequestUpdateRequestPutInput extends JsonObject {
|
|
1087
|
-
"key"?: string;
|
|
1088
|
-
"name"?: string;
|
|
1200
|
+
"key"?: string | null;
|
|
1201
|
+
"name"?: string | null;
|
|
1089
1202
|
"description"?: string | null;
|
|
1090
|
-
"status"?: number;
|
|
1203
|
+
"status"?: number | null;
|
|
1091
1204
|
}
|
|
1092
1205
|
/** Backend response type: models::RequestResponseDTO. */
|
|
1093
1206
|
export interface RequestUpdateRequestPutResponseData extends JsonObject {
|
|
1094
1207
|
"id": string;
|
|
1095
1208
|
"key": string;
|
|
1096
1209
|
"name": string;
|
|
1097
|
-
"description"?: string;
|
|
1210
|
+
"description"?: string | null;
|
|
1098
1211
|
"status": number;
|
|
1099
1212
|
"created_at": string;
|
|
1100
1213
|
"updated_at": string;
|
|
@@ -1104,7 +1217,7 @@ export interface RequestUpdateRequestPutResponse extends ApiEnvelope<RequestUpda
|
|
|
1104
1217
|
/** Backend response type: Vec<models::RequestLogResponseDTO>. */
|
|
1105
1218
|
export interface RequestListLogsForRequestGetResponseItem extends JsonObject {
|
|
1106
1219
|
"id": string;
|
|
1107
|
-
"user_id"?: string;
|
|
1220
|
+
"user_id"?: string | null;
|
|
1108
1221
|
"request_id": string;
|
|
1109
1222
|
"data": JsonValue;
|
|
1110
1223
|
"status": number;
|
|
@@ -1119,7 +1232,7 @@ export interface RequestSubmitPostInput extends JsonObject {
|
|
|
1119
1232
|
/** Backend response type: models::RequestLogResponseDTO. */
|
|
1120
1233
|
export interface RequestSubmitPostResponseData extends JsonObject {
|
|
1121
1234
|
"id": string;
|
|
1122
|
-
"user_id"?: string;
|
|
1235
|
+
"user_id"?: string | null;
|
|
1123
1236
|
"request_id": string;
|
|
1124
1237
|
"data": JsonValue;
|
|
1125
1238
|
"status": number;
|
|
@@ -1129,12 +1242,12 @@ export interface RequestSubmitPostResponse extends ApiEnvelope<RequestSubmitPost
|
|
|
1129
1242
|
}
|
|
1130
1243
|
/** Backend query type: models::RequestLogListQuery. */
|
|
1131
1244
|
export interface RequestListLogsForCategoryGetQuery extends QueryParams {
|
|
1132
|
-
"request_id"?: string;
|
|
1245
|
+
"request_id"?: string | null;
|
|
1133
1246
|
}
|
|
1134
1247
|
/** Backend response type: Vec<models::RequestLogResponseDTO>. */
|
|
1135
1248
|
export interface RequestListLogsForCategoryGetResponseItem extends JsonObject {
|
|
1136
1249
|
"id": string;
|
|
1137
|
-
"user_id"?: string;
|
|
1250
|
+
"user_id"?: string | null;
|
|
1138
1251
|
"request_id": string;
|
|
1139
1252
|
"data": JsonValue;
|
|
1140
1253
|
"status": number;
|
|
@@ -1144,12 +1257,25 @@ export interface RequestListLogsForCategoryGetResponse extends ApiEnvelope<Reque
|
|
|
1144
1257
|
}
|
|
1145
1258
|
/** Backend query type: PaginationQuery. */
|
|
1146
1259
|
export interface UserSampleListSamplesGetQuery extends QueryParams {
|
|
1147
|
-
"page_number"?: number;
|
|
1148
|
-
"page_size"?: number;
|
|
1260
|
+
"page_number"?: number | null;
|
|
1261
|
+
"page_size"?: number | null;
|
|
1149
1262
|
}
|
|
1150
1263
|
/** Backend response type: models::UserSampleListResponse. */
|
|
1264
|
+
export interface UserSampleListSamplesGetResponseDataSamples extends JsonObject {
|
|
1265
|
+
"id": string;
|
|
1266
|
+
"slug": string;
|
|
1267
|
+
"name": string;
|
|
1268
|
+
"description"?: string | null;
|
|
1269
|
+
"project_slug"?: string | null;
|
|
1270
|
+
"preview_url"?: string | null;
|
|
1271
|
+
"thumbnail_url"?: string | null;
|
|
1272
|
+
"category"?: string | null;
|
|
1273
|
+
"status": number;
|
|
1274
|
+
"created_at": string;
|
|
1275
|
+
"updated_at": string;
|
|
1276
|
+
}
|
|
1151
1277
|
export interface UserSampleListSamplesGetResponseData extends JsonObject {
|
|
1152
|
-
"samples":
|
|
1278
|
+
"samples": UserSampleListSamplesGetResponseDataSamples[];
|
|
1153
1279
|
"page_number": number;
|
|
1154
1280
|
"page_size": number;
|
|
1155
1281
|
"total_items": number;
|
|
@@ -1160,30 +1286,30 @@ export interface UserSampleListSamplesGetResponse extends ApiEnvelope<UserSample
|
|
|
1160
1286
|
export interface UserSampleCreateSamplePostInput extends JsonObject {
|
|
1161
1287
|
"slug": string;
|
|
1162
1288
|
"name": string;
|
|
1163
|
-
"description"?: string;
|
|
1164
|
-
"project_slug"?: string;
|
|
1165
|
-
"preview_url"?: string;
|
|
1166
|
-
"thumbnail_url"?: string;
|
|
1167
|
-
"category"?: string;
|
|
1168
|
-
"status"?: number;
|
|
1289
|
+
"description"?: string | null;
|
|
1290
|
+
"project_slug"?: string | null;
|
|
1291
|
+
"preview_url"?: string | null;
|
|
1292
|
+
"thumbnail_url"?: string | null;
|
|
1293
|
+
"category"?: string | null;
|
|
1294
|
+
"status"?: number | null;
|
|
1169
1295
|
}
|
|
1170
1296
|
/** Backend response type: models::UserSampleResponseDTO. */
|
|
1171
1297
|
export interface UserSampleCreateSamplePostResponseData extends JsonObject {
|
|
1172
1298
|
"id": string;
|
|
1173
1299
|
"slug": string;
|
|
1174
1300
|
"name": string;
|
|
1175
|
-
"description"?: string;
|
|
1176
|
-
"project_slug"?: string;
|
|
1177
|
-
"preview_url"?: string;
|
|
1178
|
-
"thumbnail_url"?: string;
|
|
1179
|
-
"category"?: string;
|
|
1301
|
+
"description"?: string | null;
|
|
1302
|
+
"project_slug"?: string | null;
|
|
1303
|
+
"preview_url"?: string | null;
|
|
1304
|
+
"thumbnail_url"?: string | null;
|
|
1305
|
+
"category"?: string | null;
|
|
1180
1306
|
"status": number;
|
|
1181
1307
|
"created_at": string;
|
|
1182
1308
|
"updated_at": string;
|
|
1183
1309
|
}
|
|
1184
1310
|
export interface UserSampleCreateSamplePostResponse extends ApiEnvelope<UserSampleCreateSamplePostResponseData> {
|
|
1185
1311
|
}
|
|
1186
|
-
/** Backend response type: response
|
|
1312
|
+
/** Backend response type: handler-defined response. */
|
|
1187
1313
|
export interface UserSampleDeleteSampleDeleteResponse extends ApiEnvelope<JsonValue> {
|
|
1188
1314
|
}
|
|
1189
1315
|
/** Backend response type: models::UserSampleResponseDTO. */
|
|
@@ -1191,11 +1317,11 @@ export interface UserSampleShowSampleGetResponseData extends JsonObject {
|
|
|
1191
1317
|
"id": string;
|
|
1192
1318
|
"slug": string;
|
|
1193
1319
|
"name": string;
|
|
1194
|
-
"description"?: string;
|
|
1195
|
-
"project_slug"?: string;
|
|
1196
|
-
"preview_url"?: string;
|
|
1197
|
-
"thumbnail_url"?: string;
|
|
1198
|
-
"category"?: string;
|
|
1320
|
+
"description"?: string | null;
|
|
1321
|
+
"project_slug"?: string | null;
|
|
1322
|
+
"preview_url"?: string | null;
|
|
1323
|
+
"thumbnail_url"?: string | null;
|
|
1324
|
+
"category"?: string | null;
|
|
1199
1325
|
"status": number;
|
|
1200
1326
|
"created_at": string;
|
|
1201
1327
|
"updated_at": string;
|
|
@@ -1204,25 +1330,25 @@ export interface UserSampleShowSampleGetResponse extends ApiEnvelope<UserSampleS
|
|
|
1204
1330
|
}
|
|
1205
1331
|
/** Backend request type: models::UserSampleUpdateRequest. */
|
|
1206
1332
|
export interface UserSampleUpdateSamplePatchInput extends JsonObject {
|
|
1207
|
-
"slug"?: string;
|
|
1208
|
-
"name"?: string;
|
|
1333
|
+
"slug"?: string | null;
|
|
1334
|
+
"name"?: string | null;
|
|
1209
1335
|
"description"?: string | null;
|
|
1210
1336
|
"project_slug"?: string | null;
|
|
1211
1337
|
"preview_url"?: string | null;
|
|
1212
1338
|
"thumbnail_url"?: string | null;
|
|
1213
1339
|
"category"?: string | null;
|
|
1214
|
-
"status"?: number;
|
|
1340
|
+
"status"?: number | null;
|
|
1215
1341
|
}
|
|
1216
1342
|
/** Backend response type: models::UserSampleResponseDTO. */
|
|
1217
1343
|
export interface UserSampleUpdateSamplePatchResponseData extends JsonObject {
|
|
1218
1344
|
"id": string;
|
|
1219
1345
|
"slug": string;
|
|
1220
1346
|
"name": string;
|
|
1221
|
-
"description"?: string;
|
|
1222
|
-
"project_slug"?: string;
|
|
1223
|
-
"preview_url"?: string;
|
|
1224
|
-
"thumbnail_url"?: string;
|
|
1225
|
-
"category"?: string;
|
|
1347
|
+
"description"?: string | null;
|
|
1348
|
+
"project_slug"?: string | null;
|
|
1349
|
+
"preview_url"?: string | null;
|
|
1350
|
+
"thumbnail_url"?: string | null;
|
|
1351
|
+
"category"?: string | null;
|
|
1226
1352
|
"status": number;
|
|
1227
1353
|
"created_at": string;
|
|
1228
1354
|
"updated_at": string;
|
|
@@ -1231,25 +1357,25 @@ export interface UserSampleUpdateSamplePatchResponse extends ApiEnvelope<UserSam
|
|
|
1231
1357
|
}
|
|
1232
1358
|
/** Backend request type: models::UserSampleUpdateRequest. */
|
|
1233
1359
|
export interface UserSampleUpdateSamplePutInput extends JsonObject {
|
|
1234
|
-
"slug"?: string;
|
|
1235
|
-
"name"?: string;
|
|
1360
|
+
"slug"?: string | null;
|
|
1361
|
+
"name"?: string | null;
|
|
1236
1362
|
"description"?: string | null;
|
|
1237
1363
|
"project_slug"?: string | null;
|
|
1238
1364
|
"preview_url"?: string | null;
|
|
1239
1365
|
"thumbnail_url"?: string | null;
|
|
1240
1366
|
"category"?: string | null;
|
|
1241
|
-
"status"?: number;
|
|
1367
|
+
"status"?: number | null;
|
|
1242
1368
|
}
|
|
1243
1369
|
/** Backend response type: models::UserSampleResponseDTO. */
|
|
1244
1370
|
export interface UserSampleUpdateSamplePutResponseData extends JsonObject {
|
|
1245
1371
|
"id": string;
|
|
1246
1372
|
"slug": string;
|
|
1247
1373
|
"name": string;
|
|
1248
|
-
"description"?: string;
|
|
1249
|
-
"project_slug"?: string;
|
|
1250
|
-
"preview_url"?: string;
|
|
1251
|
-
"thumbnail_url"?: string;
|
|
1252
|
-
"category"?: string;
|
|
1374
|
+
"description"?: string | null;
|
|
1375
|
+
"project_slug"?: string | null;
|
|
1376
|
+
"preview_url"?: string | null;
|
|
1377
|
+
"thumbnail_url"?: string | null;
|
|
1378
|
+
"category"?: string | null;
|
|
1253
1379
|
"status": number;
|
|
1254
1380
|
"created_at": string;
|
|
1255
1381
|
"updated_at": string;
|
|
@@ -1258,12 +1384,27 @@ export interface UserSampleUpdateSamplePutResponse extends ApiEnvelope<UserSampl
|
|
|
1258
1384
|
}
|
|
1259
1385
|
/** Backend query type: PaginationQuery. */
|
|
1260
1386
|
export interface UserSampleListSampleVariablesGetQuery extends QueryParams {
|
|
1261
|
-
"page_number"?: number;
|
|
1262
|
-
"page_size"?: number;
|
|
1387
|
+
"page_number"?: number | null;
|
|
1388
|
+
"page_size"?: number | null;
|
|
1263
1389
|
}
|
|
1264
1390
|
/** Backend response type: models::SampleVariableListResponse. */
|
|
1391
|
+
export interface UserSampleListSampleVariablesGetResponseDataVariables extends JsonObject {
|
|
1392
|
+
"id": string;
|
|
1393
|
+
"sample_id": string;
|
|
1394
|
+
"sample_slug"?: string | null;
|
|
1395
|
+
"sample_name"?: string | null;
|
|
1396
|
+
"key": string;
|
|
1397
|
+
"label": string;
|
|
1398
|
+
"value"?: string | null;
|
|
1399
|
+
"group_name"?: string | null;
|
|
1400
|
+
"variable_type": string;
|
|
1401
|
+
"description"?: string | null;
|
|
1402
|
+
"sort_order": number;
|
|
1403
|
+
"created_at": string;
|
|
1404
|
+
"updated_at": string;
|
|
1405
|
+
}
|
|
1265
1406
|
export interface UserSampleListSampleVariablesGetResponseData extends JsonObject {
|
|
1266
|
-
"variables":
|
|
1407
|
+
"variables": UserSampleListSampleVariablesGetResponseDataVariables[];
|
|
1267
1408
|
"page_number": number;
|
|
1268
1409
|
"page_size": number;
|
|
1269
1410
|
"total_items": number;
|
|
@@ -1274,24 +1415,24 @@ export interface UserSampleListSampleVariablesGetResponse extends ApiEnvelope<Us
|
|
|
1274
1415
|
export interface UserSampleCreateSampleVariablePostInput extends JsonObject {
|
|
1275
1416
|
"key": string;
|
|
1276
1417
|
"label": string;
|
|
1277
|
-
"value"?: string;
|
|
1278
|
-
"group_name"?: string;
|
|
1279
|
-
"variable_type"?: string;
|
|
1280
|
-
"description"?: string;
|
|
1281
|
-
"sort_order"?: number;
|
|
1418
|
+
"value"?: string | null;
|
|
1419
|
+
"group_name"?: string | null;
|
|
1420
|
+
"variable_type"?: string | null;
|
|
1421
|
+
"description"?: string | null;
|
|
1422
|
+
"sort_order"?: number | null;
|
|
1282
1423
|
}
|
|
1283
1424
|
/** Backend response type: models::SampleVariableResponseDTO. */
|
|
1284
1425
|
export interface UserSampleCreateSampleVariablePostResponseData extends JsonObject {
|
|
1285
1426
|
"id": string;
|
|
1286
1427
|
"sample_id": string;
|
|
1287
|
-
"sample_slug"?: string;
|
|
1288
|
-
"sample_name"?: string;
|
|
1428
|
+
"sample_slug"?: string | null;
|
|
1429
|
+
"sample_name"?: string | null;
|
|
1289
1430
|
"key": string;
|
|
1290
1431
|
"label": string;
|
|
1291
|
-
"value"?: string;
|
|
1292
|
-
"group_name"?: string;
|
|
1432
|
+
"value"?: string | null;
|
|
1433
|
+
"group_name"?: string | null;
|
|
1293
1434
|
"variable_type": string;
|
|
1294
|
-
"description"?: string;
|
|
1435
|
+
"description"?: string | null;
|
|
1295
1436
|
"sort_order": number;
|
|
1296
1437
|
"created_at": string;
|
|
1297
1438
|
"updated_at": string;
|
|
@@ -1308,34 +1449,49 @@ export interface UserSampleVariablesMapBySlugGetResponse extends ApiEnvelope<Use
|
|
|
1308
1449
|
}
|
|
1309
1450
|
/** Backend query type: models::SampleVariableListQuery. */
|
|
1310
1451
|
export interface UserSampleListAllVariablesGetQuery extends QueryParams {
|
|
1311
|
-
"sample_id"?: string;
|
|
1312
|
-
"page_number"?: number;
|
|
1313
|
-
"page_size"?: number;
|
|
1452
|
+
"sample_id"?: string | null;
|
|
1453
|
+
"page_number"?: number | null;
|
|
1454
|
+
"page_size"?: number | null;
|
|
1314
1455
|
}
|
|
1315
1456
|
/** Backend response type: models::SampleVariableListResponse. */
|
|
1457
|
+
export interface UserSampleListAllVariablesGetResponseDataVariables extends JsonObject {
|
|
1458
|
+
"id": string;
|
|
1459
|
+
"sample_id": string;
|
|
1460
|
+
"sample_slug"?: string | null;
|
|
1461
|
+
"sample_name"?: string | null;
|
|
1462
|
+
"key": string;
|
|
1463
|
+
"label": string;
|
|
1464
|
+
"value"?: string | null;
|
|
1465
|
+
"group_name"?: string | null;
|
|
1466
|
+
"variable_type": string;
|
|
1467
|
+
"description"?: string | null;
|
|
1468
|
+
"sort_order": number;
|
|
1469
|
+
"created_at": string;
|
|
1470
|
+
"updated_at": string;
|
|
1471
|
+
}
|
|
1316
1472
|
export interface UserSampleListAllVariablesGetResponseData extends JsonObject {
|
|
1317
|
-
"variables":
|
|
1473
|
+
"variables": UserSampleListAllVariablesGetResponseDataVariables[];
|
|
1318
1474
|
"page_number": number;
|
|
1319
1475
|
"page_size": number;
|
|
1320
1476
|
"total_items": number;
|
|
1321
1477
|
}
|
|
1322
1478
|
export interface UserSampleListAllVariablesGetResponse extends ApiEnvelope<UserSampleListAllVariablesGetResponseData> {
|
|
1323
1479
|
}
|
|
1324
|
-
/** Backend response type: response
|
|
1480
|
+
/** Backend response type: handler-defined response. */
|
|
1325
1481
|
export interface UserSampleDeleteVariableDeleteResponse extends ApiEnvelope<JsonValue> {
|
|
1326
1482
|
}
|
|
1327
1483
|
/** Backend response type: models::SampleVariableResponseDTO. */
|
|
1328
1484
|
export interface UserSampleShowVariableGetResponseData extends JsonObject {
|
|
1329
1485
|
"id": string;
|
|
1330
1486
|
"sample_id": string;
|
|
1331
|
-
"sample_slug"?: string;
|
|
1332
|
-
"sample_name"?: string;
|
|
1487
|
+
"sample_slug"?: string | null;
|
|
1488
|
+
"sample_name"?: string | null;
|
|
1333
1489
|
"key": string;
|
|
1334
1490
|
"label": string;
|
|
1335
|
-
"value"?: string;
|
|
1336
|
-
"group_name"?: string;
|
|
1491
|
+
"value"?: string | null;
|
|
1492
|
+
"group_name"?: string | null;
|
|
1337
1493
|
"variable_type": string;
|
|
1338
|
-
"description"?: string;
|
|
1494
|
+
"description"?: string | null;
|
|
1339
1495
|
"sort_order": number;
|
|
1340
1496
|
"created_at": string;
|
|
1341
1497
|
"updated_at": string;
|
|
@@ -1344,26 +1500,26 @@ export interface UserSampleShowVariableGetResponse extends ApiEnvelope<UserSampl
|
|
|
1344
1500
|
}
|
|
1345
1501
|
/** Backend request type: models::SampleVariableUpdateRequest. */
|
|
1346
1502
|
export interface UserSampleUpdateVariablePatchInput extends JsonObject {
|
|
1347
|
-
"key"?: string;
|
|
1348
|
-
"label"?: string;
|
|
1503
|
+
"key"?: string | null;
|
|
1504
|
+
"label"?: string | null;
|
|
1349
1505
|
"value"?: string | null;
|
|
1350
1506
|
"group_name"?: string | null;
|
|
1351
|
-
"variable_type"?: string;
|
|
1507
|
+
"variable_type"?: string | null;
|
|
1352
1508
|
"description"?: string | null;
|
|
1353
|
-
"sort_order"?: number;
|
|
1509
|
+
"sort_order"?: number | null;
|
|
1354
1510
|
}
|
|
1355
1511
|
/** Backend response type: models::SampleVariableResponseDTO. */
|
|
1356
1512
|
export interface UserSampleUpdateVariablePatchResponseData extends JsonObject {
|
|
1357
1513
|
"id": string;
|
|
1358
1514
|
"sample_id": string;
|
|
1359
|
-
"sample_slug"?: string;
|
|
1360
|
-
"sample_name"?: string;
|
|
1515
|
+
"sample_slug"?: string | null;
|
|
1516
|
+
"sample_name"?: string | null;
|
|
1361
1517
|
"key": string;
|
|
1362
1518
|
"label": string;
|
|
1363
|
-
"value"?: string;
|
|
1364
|
-
"group_name"?: string;
|
|
1519
|
+
"value"?: string | null;
|
|
1520
|
+
"group_name"?: string | null;
|
|
1365
1521
|
"variable_type": string;
|
|
1366
|
-
"description"?: string;
|
|
1522
|
+
"description"?: string | null;
|
|
1367
1523
|
"sort_order": number;
|
|
1368
1524
|
"created_at": string;
|
|
1369
1525
|
"updated_at": string;
|
|
@@ -1372,26 +1528,26 @@ export interface UserSampleUpdateVariablePatchResponse extends ApiEnvelope<UserS
|
|
|
1372
1528
|
}
|
|
1373
1529
|
/** Backend request type: models::SampleVariableUpdateRequest. */
|
|
1374
1530
|
export interface UserSampleUpdateVariablePutInput extends JsonObject {
|
|
1375
|
-
"key"?: string;
|
|
1376
|
-
"label"?: string;
|
|
1531
|
+
"key"?: string | null;
|
|
1532
|
+
"label"?: string | null;
|
|
1377
1533
|
"value"?: string | null;
|
|
1378
1534
|
"group_name"?: string | null;
|
|
1379
|
-
"variable_type"?: string;
|
|
1535
|
+
"variable_type"?: string | null;
|
|
1380
1536
|
"description"?: string | null;
|
|
1381
|
-
"sort_order"?: number;
|
|
1537
|
+
"sort_order"?: number | null;
|
|
1382
1538
|
}
|
|
1383
1539
|
/** Backend response type: models::SampleVariableResponseDTO. */
|
|
1384
1540
|
export interface UserSampleUpdateVariablePutResponseData extends JsonObject {
|
|
1385
1541
|
"id": string;
|
|
1386
1542
|
"sample_id": string;
|
|
1387
|
-
"sample_slug"?: string;
|
|
1388
|
-
"sample_name"?: string;
|
|
1543
|
+
"sample_slug"?: string | null;
|
|
1544
|
+
"sample_name"?: string | null;
|
|
1389
1545
|
"key": string;
|
|
1390
1546
|
"label": string;
|
|
1391
|
-
"value"?: string;
|
|
1392
|
-
"group_name"?: string;
|
|
1547
|
+
"value"?: string | null;
|
|
1548
|
+
"group_name"?: string | null;
|
|
1393
1549
|
"variable_type": string;
|
|
1394
|
-
"description"?: string;
|
|
1550
|
+
"description"?: string | null;
|
|
1395
1551
|
"sort_order": number;
|
|
1396
1552
|
"created_at": string;
|
|
1397
1553
|
"updated_at": string;
|
|
@@ -1400,12 +1556,22 @@ export interface UserSampleUpdateVariablePutResponse extends ApiEnvelope<UserSam
|
|
|
1400
1556
|
}
|
|
1401
1557
|
/** Backend query type: PaginationQuery. */
|
|
1402
1558
|
export interface SeoContentListSeoContentsGetQuery extends QueryParams {
|
|
1403
|
-
"page_number"?: number;
|
|
1404
|
-
"page_size"?: number;
|
|
1559
|
+
"page_number"?: number | null;
|
|
1560
|
+
"page_size"?: number | null;
|
|
1405
1561
|
}
|
|
1406
1562
|
/** Backend response type: models::SeoContentListResponse. */
|
|
1563
|
+
export interface SeoContentListSeoContentsGetResponseDataSeoContents extends JsonObject {
|
|
1564
|
+
"id": string;
|
|
1565
|
+
"meta_url"?: string | null;
|
|
1566
|
+
"meta_title"?: string | null;
|
|
1567
|
+
"meta_description"?: string | null;
|
|
1568
|
+
"meta_keyword"?: string | null;
|
|
1569
|
+
"meta_ld"?: JsonValue | null;
|
|
1570
|
+
"created_at": string;
|
|
1571
|
+
"updated_at": string;
|
|
1572
|
+
}
|
|
1407
1573
|
export interface SeoContentListSeoContentsGetResponseData extends JsonObject {
|
|
1408
|
-
"seo_contents":
|
|
1574
|
+
"seo_contents": SeoContentListSeoContentsGetResponseDataSeoContents[];
|
|
1409
1575
|
"page_number": number;
|
|
1410
1576
|
"page_size": number;
|
|
1411
1577
|
"total_items": number;
|
|
@@ -1414,20 +1580,20 @@ export interface SeoContentListSeoContentsGetResponse extends ApiEnvelope<SeoCon
|
|
|
1414
1580
|
}
|
|
1415
1581
|
/** Backend request type: models::SeoContentCreateRequest. */
|
|
1416
1582
|
export interface SeoContentCreateSeoContentPostInput extends JsonObject {
|
|
1417
|
-
"meta_url"?: string;
|
|
1418
|
-
"meta_title"?: string;
|
|
1419
|
-
"meta_description"?: string;
|
|
1420
|
-
"meta_keyword"?: string;
|
|
1421
|
-
"meta_ld"?: JsonValue;
|
|
1583
|
+
"meta_url"?: string | null;
|
|
1584
|
+
"meta_title"?: string | null;
|
|
1585
|
+
"meta_description"?: string | null;
|
|
1586
|
+
"meta_keyword"?: string | null;
|
|
1587
|
+
"meta_ld"?: JsonValue | null;
|
|
1422
1588
|
}
|
|
1423
1589
|
/** Backend response type: models::SeoContentResponseDTO. */
|
|
1424
1590
|
export interface SeoContentCreateSeoContentPostResponseData extends JsonObject {
|
|
1425
1591
|
"id": string;
|
|
1426
|
-
"meta_url"?: string;
|
|
1427
|
-
"meta_title"?: string;
|
|
1428
|
-
"meta_description"?: string;
|
|
1429
|
-
"meta_keyword"?: string;
|
|
1430
|
-
"meta_ld"?: JsonValue;
|
|
1592
|
+
"meta_url"?: string | null;
|
|
1593
|
+
"meta_title"?: string | null;
|
|
1594
|
+
"meta_description"?: string | null;
|
|
1595
|
+
"meta_keyword"?: string | null;
|
|
1596
|
+
"meta_ld"?: JsonValue | null;
|
|
1431
1597
|
"created_at": string;
|
|
1432
1598
|
"updated_at": string;
|
|
1433
1599
|
}
|
|
@@ -1437,7 +1603,7 @@ export interface SeoContentCreateSeoContentPostResponse extends ApiEnvelope<SeoC
|
|
|
1437
1603
|
export interface SeoContentDetachFromTargetDeleteQuery extends QueryParams {
|
|
1438
1604
|
"junction_id": string;
|
|
1439
1605
|
}
|
|
1440
|
-
/** Backend response type: response
|
|
1606
|
+
/** Backend response type: handler-defined response. */
|
|
1441
1607
|
export interface SeoContentDetachFromTargetDeleteResponse extends ApiEnvelope<JsonValue> {
|
|
1442
1608
|
}
|
|
1443
1609
|
/** Backend response type: Vec<models::SeoContentAttachmentDTO>. */
|
|
@@ -1462,17 +1628,17 @@ export interface SeoContentAttachToTargetPostResponseData extends JsonObject {
|
|
|
1462
1628
|
}
|
|
1463
1629
|
export interface SeoContentAttachToTargetPostResponse extends ApiEnvelope<SeoContentAttachToTargetPostResponseData> {
|
|
1464
1630
|
}
|
|
1465
|
-
/** Backend response type: response
|
|
1631
|
+
/** Backend response type: handler-defined response. */
|
|
1466
1632
|
export interface SeoContentDeleteSeoContentDeleteResponse extends ApiEnvelope<JsonValue> {
|
|
1467
1633
|
}
|
|
1468
1634
|
/** Backend response type: models::SeoContentResponseDTO. */
|
|
1469
1635
|
export interface SeoContentShowSeoContentGetResponseData extends JsonObject {
|
|
1470
1636
|
"id": string;
|
|
1471
|
-
"meta_url"?: string;
|
|
1472
|
-
"meta_title"?: string;
|
|
1473
|
-
"meta_description"?: string;
|
|
1474
|
-
"meta_keyword"?: string;
|
|
1475
|
-
"meta_ld"?: JsonValue;
|
|
1637
|
+
"meta_url"?: string | null;
|
|
1638
|
+
"meta_title"?: string | null;
|
|
1639
|
+
"meta_description"?: string | null;
|
|
1640
|
+
"meta_keyword"?: string | null;
|
|
1641
|
+
"meta_ld"?: JsonValue | null;
|
|
1476
1642
|
"created_at": string;
|
|
1477
1643
|
"updated_at": string;
|
|
1478
1644
|
}
|
|
@@ -1489,11 +1655,11 @@ export interface SeoContentUpdateSeoContentPatchInput extends JsonObject {
|
|
|
1489
1655
|
/** Backend response type: models::SeoContentResponseDTO. */
|
|
1490
1656
|
export interface SeoContentUpdateSeoContentPatchResponseData extends JsonObject {
|
|
1491
1657
|
"id": string;
|
|
1492
|
-
"meta_url"?: string;
|
|
1493
|
-
"meta_title"?: string;
|
|
1494
|
-
"meta_description"?: string;
|
|
1495
|
-
"meta_keyword"?: string;
|
|
1496
|
-
"meta_ld"?: JsonValue;
|
|
1658
|
+
"meta_url"?: string | null;
|
|
1659
|
+
"meta_title"?: string | null;
|
|
1660
|
+
"meta_description"?: string | null;
|
|
1661
|
+
"meta_keyword"?: string | null;
|
|
1662
|
+
"meta_ld"?: JsonValue | null;
|
|
1497
1663
|
"created_at": string;
|
|
1498
1664
|
"updated_at": string;
|
|
1499
1665
|
}
|
|
@@ -1510,11 +1676,11 @@ export interface SeoContentUpdateSeoContentPutInput extends JsonObject {
|
|
|
1510
1676
|
/** Backend response type: models::SeoContentResponseDTO. */
|
|
1511
1677
|
export interface SeoContentUpdateSeoContentPutResponseData extends JsonObject {
|
|
1512
1678
|
"id": string;
|
|
1513
|
-
"meta_url"?: string;
|
|
1514
|
-
"meta_title"?: string;
|
|
1515
|
-
"meta_description"?: string;
|
|
1516
|
-
"meta_keyword"?: string;
|
|
1517
|
-
"meta_ld"?: JsonValue;
|
|
1679
|
+
"meta_url"?: string | null;
|
|
1680
|
+
"meta_title"?: string | null;
|
|
1681
|
+
"meta_description"?: string | null;
|
|
1682
|
+
"meta_keyword"?: string | null;
|
|
1683
|
+
"meta_ld"?: JsonValue | null;
|
|
1518
1684
|
"created_at": string;
|
|
1519
1685
|
"updated_at": string;
|
|
1520
1686
|
}
|
|
@@ -1522,7 +1688,7 @@ export interface SeoContentUpdateSeoContentPutResponse extends ApiEnvelope<SeoCo
|
|
|
1522
1688
|
}
|
|
1523
1689
|
/** Backend response type: CartResponse. */
|
|
1524
1690
|
export interface CartShowGetResponseData extends JsonObject {
|
|
1525
|
-
"id"?: string;
|
|
1691
|
+
"id"?: string | null;
|
|
1526
1692
|
"user_id": string;
|
|
1527
1693
|
"items": JsonValue[];
|
|
1528
1694
|
}
|
|
@@ -1534,7 +1700,7 @@ export interface CartReplacePutInput extends JsonObject {
|
|
|
1534
1700
|
}
|
|
1535
1701
|
/** Backend response type: CartResponse. */
|
|
1536
1702
|
export interface CartReplacePutResponseData extends JsonObject {
|
|
1537
|
-
"id"?: string;
|
|
1703
|
+
"id"?: string | null;
|
|
1538
1704
|
"user_id": string;
|
|
1539
1705
|
"items": JsonValue[];
|
|
1540
1706
|
}
|
|
@@ -1542,12 +1708,30 @@ export interface CartReplacePutResponse extends ApiEnvelope<CartReplacePutRespon
|
|
|
1542
1708
|
}
|
|
1543
1709
|
/** Backend query type: PaginationQuery. */
|
|
1544
1710
|
export interface OrderListOrdersGetQuery extends QueryParams {
|
|
1545
|
-
"page_number"?: number;
|
|
1546
|
-
"page_size"?: number;
|
|
1711
|
+
"page_number"?: number | null;
|
|
1712
|
+
"page_size"?: number | null;
|
|
1547
1713
|
}
|
|
1548
1714
|
/** Backend response type: models::OrderListResponse. */
|
|
1715
|
+
export interface OrderListOrdersGetResponseDataOrdersItems extends JsonObject {
|
|
1716
|
+
"id": string;
|
|
1717
|
+
"order_id": string;
|
|
1718
|
+
"variant_id": string;
|
|
1719
|
+
"quantity": number;
|
|
1720
|
+
"unit_price": number;
|
|
1721
|
+
"total_price": number;
|
|
1722
|
+
"created_at": string;
|
|
1723
|
+
}
|
|
1724
|
+
export interface OrderListOrdersGetResponseDataOrders extends JsonObject {
|
|
1725
|
+
"id": string;
|
|
1726
|
+
"user_id": string;
|
|
1727
|
+
"status": number;
|
|
1728
|
+
"total": number;
|
|
1729
|
+
"items": OrderListOrdersGetResponseDataOrdersItems[];
|
|
1730
|
+
"created_at": string;
|
|
1731
|
+
"updated_at": string;
|
|
1732
|
+
}
|
|
1549
1733
|
export interface OrderListOrdersGetResponseData extends JsonObject {
|
|
1550
|
-
"orders":
|
|
1734
|
+
"orders": OrderListOrdersGetResponseDataOrders[];
|
|
1551
1735
|
"page_number": number;
|
|
1552
1736
|
"page_size": number;
|
|
1553
1737
|
"total_items": number;
|
|
@@ -1555,32 +1739,55 @@ export interface OrderListOrdersGetResponseData extends JsonObject {
|
|
|
1555
1739
|
export interface OrderListOrdersGetResponse extends ApiEnvelope<OrderListOrdersGetResponseData> {
|
|
1556
1740
|
}
|
|
1557
1741
|
/** Backend request type: models::OrderCreateRequest. */
|
|
1742
|
+
export interface OrderCreateOrderPostInputItems extends JsonObject {
|
|
1743
|
+
"variant_id": string;
|
|
1744
|
+
"quantity": number;
|
|
1745
|
+
"unit_price": number;
|
|
1746
|
+
}
|
|
1558
1747
|
export interface OrderCreateOrderPostInput extends JsonObject {
|
|
1559
|
-
"status"?: number;
|
|
1560
|
-
"items":
|
|
1748
|
+
"status"?: number | null;
|
|
1749
|
+
"items": OrderCreateOrderPostInputItems[];
|
|
1561
1750
|
}
|
|
1562
1751
|
/** Backend response type: models::OrderResponseDTO. */
|
|
1752
|
+
export interface OrderCreateOrderPostResponseDataItems extends JsonObject {
|
|
1753
|
+
"id": string;
|
|
1754
|
+
"order_id": string;
|
|
1755
|
+
"variant_id": string;
|
|
1756
|
+
"quantity": number;
|
|
1757
|
+
"unit_price": number;
|
|
1758
|
+
"total_price": number;
|
|
1759
|
+
"created_at": string;
|
|
1760
|
+
}
|
|
1563
1761
|
export interface OrderCreateOrderPostResponseData extends JsonObject {
|
|
1564
1762
|
"id": string;
|
|
1565
1763
|
"user_id": string;
|
|
1566
1764
|
"status": number;
|
|
1567
1765
|
"total": number;
|
|
1568
|
-
"items":
|
|
1766
|
+
"items": OrderCreateOrderPostResponseDataItems[];
|
|
1569
1767
|
"created_at": string;
|
|
1570
1768
|
"updated_at": string;
|
|
1571
1769
|
}
|
|
1572
1770
|
export interface OrderCreateOrderPostResponse extends ApiEnvelope<OrderCreateOrderPostResponseData> {
|
|
1573
1771
|
}
|
|
1574
|
-
/** Backend response type: response
|
|
1772
|
+
/** Backend response type: handler-defined response. */
|
|
1575
1773
|
export interface OrderDeleteOrderDeleteResponse extends ApiEnvelope<JsonValue> {
|
|
1576
1774
|
}
|
|
1577
1775
|
/** Backend response type: models::OrderResponseDTO. */
|
|
1776
|
+
export interface OrderShowOrderGetResponseDataItems extends JsonObject {
|
|
1777
|
+
"id": string;
|
|
1778
|
+
"order_id": string;
|
|
1779
|
+
"variant_id": string;
|
|
1780
|
+
"quantity": number;
|
|
1781
|
+
"unit_price": number;
|
|
1782
|
+
"total_price": number;
|
|
1783
|
+
"created_at": string;
|
|
1784
|
+
}
|
|
1578
1785
|
export interface OrderShowOrderGetResponseData extends JsonObject {
|
|
1579
1786
|
"id": string;
|
|
1580
1787
|
"user_id": string;
|
|
1581
1788
|
"status": number;
|
|
1582
1789
|
"total": number;
|
|
1583
|
-
"items":
|
|
1790
|
+
"items": OrderShowOrderGetResponseDataItems[];
|
|
1584
1791
|
"created_at": string;
|
|
1585
1792
|
"updated_at": string;
|
|
1586
1793
|
}
|
|
@@ -1588,15 +1795,24 @@ export interface OrderShowOrderGetResponse extends ApiEnvelope<OrderShowOrderGet
|
|
|
1588
1795
|
}
|
|
1589
1796
|
/** Backend request type: models::OrderUpdateRequest. */
|
|
1590
1797
|
export interface OrderUpdateOrderPatchInput extends JsonObject {
|
|
1591
|
-
"status"?: number;
|
|
1798
|
+
"status"?: number | null;
|
|
1592
1799
|
}
|
|
1593
1800
|
/** Backend response type: models::OrderResponseDTO. */
|
|
1801
|
+
export interface OrderUpdateOrderPatchResponseDataItems extends JsonObject {
|
|
1802
|
+
"id": string;
|
|
1803
|
+
"order_id": string;
|
|
1804
|
+
"variant_id": string;
|
|
1805
|
+
"quantity": number;
|
|
1806
|
+
"unit_price": number;
|
|
1807
|
+
"total_price": number;
|
|
1808
|
+
"created_at": string;
|
|
1809
|
+
}
|
|
1594
1810
|
export interface OrderUpdateOrderPatchResponseData extends JsonObject {
|
|
1595
1811
|
"id": string;
|
|
1596
1812
|
"user_id": string;
|
|
1597
1813
|
"status": number;
|
|
1598
1814
|
"total": number;
|
|
1599
|
-
"items":
|
|
1815
|
+
"items": OrderUpdateOrderPatchResponseDataItems[];
|
|
1600
1816
|
"created_at": string;
|
|
1601
1817
|
"updated_at": string;
|
|
1602
1818
|
}
|
|
@@ -1604,15 +1820,24 @@ export interface OrderUpdateOrderPatchResponse extends ApiEnvelope<OrderUpdateOr
|
|
|
1604
1820
|
}
|
|
1605
1821
|
/** Backend request type: models::OrderUpdateRequest. */
|
|
1606
1822
|
export interface OrderUpdateOrderPutInput extends JsonObject {
|
|
1607
|
-
"status"?: number;
|
|
1823
|
+
"status"?: number | null;
|
|
1608
1824
|
}
|
|
1609
1825
|
/** Backend response type: models::OrderResponseDTO. */
|
|
1826
|
+
export interface OrderUpdateOrderPutResponseDataItems extends JsonObject {
|
|
1827
|
+
"id": string;
|
|
1828
|
+
"order_id": string;
|
|
1829
|
+
"variant_id": string;
|
|
1830
|
+
"quantity": number;
|
|
1831
|
+
"unit_price": number;
|
|
1832
|
+
"total_price": number;
|
|
1833
|
+
"created_at": string;
|
|
1834
|
+
}
|
|
1610
1835
|
export interface OrderUpdateOrderPutResponseData extends JsonObject {
|
|
1611
1836
|
"id": string;
|
|
1612
1837
|
"user_id": string;
|
|
1613
1838
|
"status": number;
|
|
1614
1839
|
"total": number;
|
|
1615
|
-
"items":
|
|
1840
|
+
"items": OrderUpdateOrderPutResponseDataItems[];
|
|
1616
1841
|
"created_at": string;
|
|
1617
1842
|
"updated_at": string;
|
|
1618
1843
|
}
|
|
@@ -1637,12 +1862,21 @@ export interface OrderAddOrderItemPostInput extends JsonObject {
|
|
|
1637
1862
|
"unit_price": number;
|
|
1638
1863
|
}
|
|
1639
1864
|
/** Backend response type: models::OrderResponseDTO. */
|
|
1865
|
+
export interface OrderAddOrderItemPostResponseDataItems extends JsonObject {
|
|
1866
|
+
"id": string;
|
|
1867
|
+
"order_id": string;
|
|
1868
|
+
"variant_id": string;
|
|
1869
|
+
"quantity": number;
|
|
1870
|
+
"unit_price": number;
|
|
1871
|
+
"total_price": number;
|
|
1872
|
+
"created_at": string;
|
|
1873
|
+
}
|
|
1640
1874
|
export interface OrderAddOrderItemPostResponseData extends JsonObject {
|
|
1641
1875
|
"id": string;
|
|
1642
1876
|
"user_id": string;
|
|
1643
1877
|
"status": number;
|
|
1644
1878
|
"total": number;
|
|
1645
|
-
"items":
|
|
1879
|
+
"items": OrderAddOrderItemPostResponseDataItems[];
|
|
1646
1880
|
"created_at": string;
|
|
1647
1881
|
"updated_at": string;
|
|
1648
1882
|
}
|
|
@@ -1650,15 +1884,31 @@ export interface OrderAddOrderItemPostResponse extends ApiEnvelope<OrderAddOrder
|
|
|
1650
1884
|
}
|
|
1651
1885
|
/** Backend query type: models::ProductListQuery. */
|
|
1652
1886
|
export interface ProductListProductsGetQuery extends QueryParams {
|
|
1653
|
-
"page_number"?: number;
|
|
1654
|
-
"page_size"?: number;
|
|
1655
|
-
"category"?: string;
|
|
1656
|
-
"scope"?: string;
|
|
1657
|
-
"search"?: string;
|
|
1887
|
+
"page_number"?: number | null;
|
|
1888
|
+
"page_size"?: number | null;
|
|
1889
|
+
"category"?: string | null;
|
|
1890
|
+
"scope"?: string | null;
|
|
1891
|
+
"search"?: string | null;
|
|
1892
|
+
"country"?: string | null;
|
|
1893
|
+
"province"?: string | null;
|
|
1894
|
+
"city"?: string | null;
|
|
1658
1895
|
}
|
|
1659
1896
|
/** Backend response type: models::ProductListResponse. */
|
|
1897
|
+
export interface ProductListProductsGetResponseDataProducts extends JsonObject {
|
|
1898
|
+
"id": string;
|
|
1899
|
+
"name": string;
|
|
1900
|
+
"description"?: string | null;
|
|
1901
|
+
"sku": JsonValue;
|
|
1902
|
+
"status": number;
|
|
1903
|
+
"sort_order": number;
|
|
1904
|
+
"country_ids"?: string[] | null;
|
|
1905
|
+
"province_ids"?: string[] | null;
|
|
1906
|
+
"city_ids"?: string[] | null;
|
|
1907
|
+
"created_at": string;
|
|
1908
|
+
"updated_at": string;
|
|
1909
|
+
}
|
|
1660
1910
|
export interface ProductListProductsGetResponseData extends JsonObject {
|
|
1661
|
-
"products":
|
|
1911
|
+
"products": ProductListProductsGetResponseDataProducts[];
|
|
1662
1912
|
"page_number": number;
|
|
1663
1913
|
"page_size": number;
|
|
1664
1914
|
"total_items": number;
|
|
@@ -1668,35 +1918,44 @@ export interface ProductListProductsGetResponse extends ApiEnvelope<ProductListP
|
|
|
1668
1918
|
/** Backend request type: models::ProductCreateRequest. */
|
|
1669
1919
|
export interface ProductCreateProductPostInput extends JsonObject {
|
|
1670
1920
|
"name": string;
|
|
1671
|
-
"description"?: string;
|
|
1672
|
-
"sku"?: JsonValue;
|
|
1673
|
-
"status"?: number;
|
|
1674
|
-
"sort_order"?: number;
|
|
1921
|
+
"description"?: string | null;
|
|
1922
|
+
"sku"?: JsonValue | null;
|
|
1923
|
+
"status"?: number | null;
|
|
1924
|
+
"sort_order"?: number | null;
|
|
1925
|
+
"country_ids"?: string[] | null;
|
|
1926
|
+
"province_ids"?: string[] | null;
|
|
1927
|
+
"city_ids"?: string[] | null;
|
|
1675
1928
|
}
|
|
1676
1929
|
/** Backend response type: models::ProductResponseDTO. */
|
|
1677
1930
|
export interface ProductCreateProductPostResponseData extends JsonObject {
|
|
1678
1931
|
"id": string;
|
|
1679
1932
|
"name": string;
|
|
1680
|
-
"description"?: string;
|
|
1933
|
+
"description"?: string | null;
|
|
1681
1934
|
"sku": JsonValue;
|
|
1682
1935
|
"status": number;
|
|
1683
1936
|
"sort_order": number;
|
|
1937
|
+
"country_ids"?: string[] | null;
|
|
1938
|
+
"province_ids"?: string[] | null;
|
|
1939
|
+
"city_ids"?: string[] | null;
|
|
1684
1940
|
"created_at": string;
|
|
1685
1941
|
"updated_at": string;
|
|
1686
1942
|
}
|
|
1687
1943
|
export interface ProductCreateProductPostResponse extends ApiEnvelope<ProductCreateProductPostResponseData> {
|
|
1688
1944
|
}
|
|
1689
|
-
/** Backend response type: response
|
|
1945
|
+
/** Backend response type: handler-defined response. */
|
|
1690
1946
|
export interface ProductDeleteProductDeleteResponse extends ApiEnvelope<JsonValue> {
|
|
1691
1947
|
}
|
|
1692
1948
|
/** Backend response type: models::ProductResponseDTO. */
|
|
1693
1949
|
export interface ProductShowProductGetResponseData extends JsonObject {
|
|
1694
1950
|
"id": string;
|
|
1695
1951
|
"name": string;
|
|
1696
|
-
"description"?: string;
|
|
1952
|
+
"description"?: string | null;
|
|
1697
1953
|
"sku": JsonValue;
|
|
1698
1954
|
"status": number;
|
|
1699
1955
|
"sort_order": number;
|
|
1956
|
+
"country_ids"?: string[] | null;
|
|
1957
|
+
"province_ids"?: string[] | null;
|
|
1958
|
+
"city_ids"?: string[] | null;
|
|
1700
1959
|
"created_at": string;
|
|
1701
1960
|
"updated_at": string;
|
|
1702
1961
|
}
|
|
@@ -1704,20 +1963,26 @@ export interface ProductShowProductGetResponse extends ApiEnvelope<ProductShowPr
|
|
|
1704
1963
|
}
|
|
1705
1964
|
/** Backend request type: models::ProductUpdateRequest. */
|
|
1706
1965
|
export interface ProductUpdateProductPatchInput extends JsonObject {
|
|
1707
|
-
"name"?: string;
|
|
1966
|
+
"name"?: string | null;
|
|
1708
1967
|
"description"?: string | null;
|
|
1709
|
-
"sku"?: JsonValue;
|
|
1710
|
-
"status"?: number;
|
|
1711
|
-
"sort_order"?: number;
|
|
1968
|
+
"sku"?: JsonValue | null;
|
|
1969
|
+
"status"?: number | null;
|
|
1970
|
+
"sort_order"?: number | null;
|
|
1971
|
+
"country_ids"?: string[] | null;
|
|
1972
|
+
"province_ids"?: string[] | null;
|
|
1973
|
+
"city_ids"?: string[] | null;
|
|
1712
1974
|
}
|
|
1713
1975
|
/** Backend response type: models::ProductResponseDTO. */
|
|
1714
1976
|
export interface ProductUpdateProductPatchResponseData extends JsonObject {
|
|
1715
1977
|
"id": string;
|
|
1716
1978
|
"name": string;
|
|
1717
|
-
"description"?: string;
|
|
1979
|
+
"description"?: string | null;
|
|
1718
1980
|
"sku": JsonValue;
|
|
1719
1981
|
"status": number;
|
|
1720
1982
|
"sort_order": number;
|
|
1983
|
+
"country_ids"?: string[] | null;
|
|
1984
|
+
"province_ids"?: string[] | null;
|
|
1985
|
+
"city_ids"?: string[] | null;
|
|
1721
1986
|
"created_at": string;
|
|
1722
1987
|
"updated_at": string;
|
|
1723
1988
|
}
|
|
@@ -1725,20 +1990,26 @@ export interface ProductUpdateProductPatchResponse extends ApiEnvelope<ProductUp
|
|
|
1725
1990
|
}
|
|
1726
1991
|
/** Backend request type: models::ProductUpdateRequest. */
|
|
1727
1992
|
export interface ProductUpdateProductPutInput extends JsonObject {
|
|
1728
|
-
"name"?: string;
|
|
1993
|
+
"name"?: string | null;
|
|
1729
1994
|
"description"?: string | null;
|
|
1730
|
-
"sku"?: JsonValue;
|
|
1731
|
-
"status"?: number;
|
|
1732
|
-
"sort_order"?: number;
|
|
1995
|
+
"sku"?: JsonValue | null;
|
|
1996
|
+
"status"?: number | null;
|
|
1997
|
+
"sort_order"?: number | null;
|
|
1998
|
+
"country_ids"?: string[] | null;
|
|
1999
|
+
"province_ids"?: string[] | null;
|
|
2000
|
+
"city_ids"?: string[] | null;
|
|
1733
2001
|
}
|
|
1734
2002
|
/** Backend response type: models::ProductResponseDTO. */
|
|
1735
2003
|
export interface ProductUpdateProductPutResponseData extends JsonObject {
|
|
1736
2004
|
"id": string;
|
|
1737
2005
|
"name": string;
|
|
1738
|
-
"description"?: string;
|
|
2006
|
+
"description"?: string | null;
|
|
1739
2007
|
"sku": JsonValue;
|
|
1740
2008
|
"status": number;
|
|
1741
2009
|
"sort_order": number;
|
|
2010
|
+
"country_ids"?: string[] | null;
|
|
2011
|
+
"province_ids"?: string[] | null;
|
|
2012
|
+
"city_ids"?: string[] | null;
|
|
1742
2013
|
"created_at": string;
|
|
1743
2014
|
"updated_at": string;
|
|
1744
2015
|
}
|
|
@@ -1746,12 +2017,26 @@ export interface ProductUpdateProductPutResponse extends ApiEnvelope<ProductUpda
|
|
|
1746
2017
|
}
|
|
1747
2018
|
/** Backend query type: PaginationQuery. */
|
|
1748
2019
|
export interface ProductListProductVariantsGetQuery extends QueryParams {
|
|
1749
|
-
"page_number"?: number;
|
|
1750
|
-
"page_size"?: number;
|
|
2020
|
+
"page_number"?: number | null;
|
|
2021
|
+
"page_size"?: number | null;
|
|
1751
2022
|
}
|
|
1752
2023
|
/** Backend response type: models::VariantListResponse. */
|
|
2024
|
+
export interface ProductListProductVariantsGetResponseDataVariants extends JsonObject {
|
|
2025
|
+
"id": string;
|
|
2026
|
+
"product_id": string;
|
|
2027
|
+
"name": string;
|
|
2028
|
+
"sku": JsonValue;
|
|
2029
|
+
"price": number;
|
|
2030
|
+
"cost": number;
|
|
2031
|
+
"weight": number;
|
|
2032
|
+
"stock_priority": number;
|
|
2033
|
+
"status": number;
|
|
2034
|
+
"sort_order": number;
|
|
2035
|
+
"created_at": string;
|
|
2036
|
+
"updated_at": string;
|
|
2037
|
+
}
|
|
1753
2038
|
export interface ProductListProductVariantsGetResponseData extends JsonObject {
|
|
1754
|
-
"variants":
|
|
2039
|
+
"variants": ProductListProductVariantsGetResponseDataVariants[];
|
|
1755
2040
|
"page_number": number;
|
|
1756
2041
|
"page_size": number;
|
|
1757
2042
|
"total_items": number;
|
|
@@ -1761,13 +2046,13 @@ export interface ProductListProductVariantsGetResponse extends ApiEnvelope<Produ
|
|
|
1761
2046
|
/** Backend request type: models::VariantCreateRequest. */
|
|
1762
2047
|
export interface ProductCreateVariantPostInput extends JsonObject {
|
|
1763
2048
|
"name": string;
|
|
1764
|
-
"sku"?: JsonValue;
|
|
2049
|
+
"sku"?: JsonValue | null;
|
|
1765
2050
|
"price": number;
|
|
1766
|
-
"cost"?: number;
|
|
1767
|
-
"weight"?: number;
|
|
1768
|
-
"stock_priority"?: number;
|
|
1769
|
-
"status"?: number;
|
|
1770
|
-
"sort_order"?: number;
|
|
2051
|
+
"cost"?: number | null;
|
|
2052
|
+
"weight"?: number | null;
|
|
2053
|
+
"stock_priority"?: number | null;
|
|
2054
|
+
"status"?: number | null;
|
|
2055
|
+
"sort_order"?: number | null;
|
|
1771
2056
|
}
|
|
1772
2057
|
/** Backend response type: models::VariantResponseDTO. */
|
|
1773
2058
|
export interface ProductCreateVariantPostResponseData extends JsonObject {
|
|
@@ -1788,20 +2073,34 @@ export interface ProductCreateVariantPostResponse extends ApiEnvelope<ProductCre
|
|
|
1788
2073
|
}
|
|
1789
2074
|
/** Backend query type: models::VariantListQuery. */
|
|
1790
2075
|
export interface ProductListVariantsGetQuery extends QueryParams {
|
|
1791
|
-
"product_id"?: string;
|
|
1792
|
-
"page_number"?: number;
|
|
1793
|
-
"page_size"?: number;
|
|
2076
|
+
"product_id"?: string | null;
|
|
2077
|
+
"page_number"?: number | null;
|
|
2078
|
+
"page_size"?: number | null;
|
|
1794
2079
|
}
|
|
1795
2080
|
/** Backend response type: models::VariantListResponse. */
|
|
2081
|
+
export interface ProductListVariantsGetResponseDataVariants extends JsonObject {
|
|
2082
|
+
"id": string;
|
|
2083
|
+
"product_id": string;
|
|
2084
|
+
"name": string;
|
|
2085
|
+
"sku": JsonValue;
|
|
2086
|
+
"price": number;
|
|
2087
|
+
"cost": number;
|
|
2088
|
+
"weight": number;
|
|
2089
|
+
"stock_priority": number;
|
|
2090
|
+
"status": number;
|
|
2091
|
+
"sort_order": number;
|
|
2092
|
+
"created_at": string;
|
|
2093
|
+
"updated_at": string;
|
|
2094
|
+
}
|
|
1796
2095
|
export interface ProductListVariantsGetResponseData extends JsonObject {
|
|
1797
|
-
"variants":
|
|
2096
|
+
"variants": ProductListVariantsGetResponseDataVariants[];
|
|
1798
2097
|
"page_number": number;
|
|
1799
2098
|
"page_size": number;
|
|
1800
2099
|
"total_items": number;
|
|
1801
2100
|
}
|
|
1802
2101
|
export interface ProductListVariantsGetResponse extends ApiEnvelope<ProductListVariantsGetResponseData> {
|
|
1803
2102
|
}
|
|
1804
|
-
/** Backend response type: response
|
|
2103
|
+
/** Backend response type: handler-defined response. */
|
|
1805
2104
|
export interface ProductDeleteVariantDeleteResponse extends ApiEnvelope<JsonValue> {
|
|
1806
2105
|
}
|
|
1807
2106
|
/** Backend response type: models::VariantResponseDTO. */
|
|
@@ -1823,14 +2122,14 @@ export interface ProductShowVariantGetResponse extends ApiEnvelope<ProductShowVa
|
|
|
1823
2122
|
}
|
|
1824
2123
|
/** Backend request type: models::VariantUpdateRequest. */
|
|
1825
2124
|
export interface ProductUpdateVariantPatchInput extends JsonObject {
|
|
1826
|
-
"name"?: string;
|
|
1827
|
-
"sku"?: JsonValue;
|
|
1828
|
-
"price"?: number;
|
|
1829
|
-
"cost"?: number;
|
|
1830
|
-
"weight"?: number;
|
|
1831
|
-
"stock_priority"?: number;
|
|
1832
|
-
"status"?: number;
|
|
1833
|
-
"sort_order"?: number;
|
|
2125
|
+
"name"?: string | null;
|
|
2126
|
+
"sku"?: JsonValue | null;
|
|
2127
|
+
"price"?: number | null;
|
|
2128
|
+
"cost"?: number | null;
|
|
2129
|
+
"weight"?: number | null;
|
|
2130
|
+
"stock_priority"?: number | null;
|
|
2131
|
+
"status"?: number | null;
|
|
2132
|
+
"sort_order"?: number | null;
|
|
1834
2133
|
}
|
|
1835
2134
|
/** Backend response type: models::VariantResponseDTO. */
|
|
1836
2135
|
export interface ProductUpdateVariantPatchResponseData extends JsonObject {
|
|
@@ -1851,14 +2150,14 @@ export interface ProductUpdateVariantPatchResponse extends ApiEnvelope<ProductUp
|
|
|
1851
2150
|
}
|
|
1852
2151
|
/** Backend request type: models::VariantUpdateRequest. */
|
|
1853
2152
|
export interface ProductUpdateVariantPutInput extends JsonObject {
|
|
1854
|
-
"name"?: string;
|
|
1855
|
-
"sku"?: JsonValue;
|
|
1856
|
-
"price"?: number;
|
|
1857
|
-
"cost"?: number;
|
|
1858
|
-
"weight"?: number;
|
|
1859
|
-
"stock_priority"?: number;
|
|
1860
|
-
"status"?: number;
|
|
1861
|
-
"sort_order"?: number;
|
|
2153
|
+
"name"?: string | null;
|
|
2154
|
+
"sku"?: JsonValue | null;
|
|
2155
|
+
"price"?: number | null;
|
|
2156
|
+
"cost"?: number | null;
|
|
2157
|
+
"weight"?: number | null;
|
|
2158
|
+
"stock_priority"?: number | null;
|
|
2159
|
+
"status"?: number | null;
|
|
2160
|
+
"sort_order"?: number | null;
|
|
1862
2161
|
}
|
|
1863
2162
|
/** Backend response type: models::VariantResponseDTO. */
|
|
1864
2163
|
export interface ProductUpdateVariantPutResponseData extends JsonObject {
|
|
@@ -1879,12 +2178,19 @@ export interface ProductUpdateVariantPutResponse extends ApiEnvelope<ProductUpda
|
|
|
1879
2178
|
}
|
|
1880
2179
|
/** Backend query type: PaginationQuery. */
|
|
1881
2180
|
export interface TagListTagsGetQuery extends QueryParams {
|
|
1882
|
-
"page_number"?: number;
|
|
1883
|
-
"page_size"?: number;
|
|
2181
|
+
"page_number"?: number | null;
|
|
2182
|
+
"page_size"?: number | null;
|
|
1884
2183
|
}
|
|
1885
2184
|
/** Backend response type: models::TagListResponse. */
|
|
2185
|
+
export interface TagListTagsGetResponseDataTags extends JsonObject {
|
|
2186
|
+
"id": string;
|
|
2187
|
+
"name": string;
|
|
2188
|
+
"status": number;
|
|
2189
|
+
"created_at": string;
|
|
2190
|
+
"updated_at": string;
|
|
2191
|
+
}
|
|
1886
2192
|
export interface TagListTagsGetResponseData extends JsonObject {
|
|
1887
|
-
"tags":
|
|
2193
|
+
"tags": TagListTagsGetResponseDataTags[];
|
|
1888
2194
|
"page_number": number;
|
|
1889
2195
|
"page_size": number;
|
|
1890
2196
|
"total_items": number;
|
|
@@ -1894,7 +2200,7 @@ export interface TagListTagsGetResponse extends ApiEnvelope<TagListTagsGetRespon
|
|
|
1894
2200
|
/** Backend request type: models::TagCreateRequest. */
|
|
1895
2201
|
export interface TagCreateTagPostInput extends JsonObject {
|
|
1896
2202
|
"name": string;
|
|
1897
|
-
"status"?: number;
|
|
2203
|
+
"status"?: number | null;
|
|
1898
2204
|
}
|
|
1899
2205
|
/** Backend response type: models::TagResponseDTO. */
|
|
1900
2206
|
export interface TagCreateTagPostResponseData extends JsonObject {
|
|
@@ -1910,7 +2216,7 @@ export interface TagCreateTagPostResponse extends ApiEnvelope<TagCreateTagPostRe
|
|
|
1910
2216
|
export interface TagDetachFromTargetDeleteQuery extends QueryParams {
|
|
1911
2217
|
"junction_id": string;
|
|
1912
2218
|
}
|
|
1913
|
-
/** Backend response type: response
|
|
2219
|
+
/** Backend response type: handler-defined response. */
|
|
1914
2220
|
export interface TagDetachFromTargetDeleteResponse extends ApiEnvelope<JsonValue> {
|
|
1915
2221
|
}
|
|
1916
2222
|
/** Backend response type: Vec<models::TagAttachmentDTO>. */
|
|
@@ -1926,7 +2232,7 @@ export interface TagListOnTargetGetResponse extends ApiEnvelope<TagListOnTargetG
|
|
|
1926
2232
|
/** Backend request type: models::TagAttachRequest. */
|
|
1927
2233
|
export interface TagAttachToTargetPostInput extends JsonObject {
|
|
1928
2234
|
"tag_id": string;
|
|
1929
|
-
"sort_order"?: number;
|
|
2235
|
+
"sort_order"?: number | null;
|
|
1930
2236
|
}
|
|
1931
2237
|
/** Backend response type: models::TagAttachmentDTO. */
|
|
1932
2238
|
export interface TagAttachToTargetPostResponseData extends JsonObject {
|
|
@@ -1938,7 +2244,7 @@ export interface TagAttachToTargetPostResponseData extends JsonObject {
|
|
|
1938
2244
|
}
|
|
1939
2245
|
export interface TagAttachToTargetPostResponse extends ApiEnvelope<TagAttachToTargetPostResponseData> {
|
|
1940
2246
|
}
|
|
1941
|
-
/** Backend response type: response
|
|
2247
|
+
/** Backend response type: handler-defined response. */
|
|
1942
2248
|
export interface TagDeleteTagDeleteResponse extends ApiEnvelope<JsonValue> {
|
|
1943
2249
|
}
|
|
1944
2250
|
/** Backend response type: models::TagResponseDTO. */
|
|
@@ -1953,8 +2259,8 @@ export interface TagShowTagGetResponse extends ApiEnvelope<TagShowTagGetResponse
|
|
|
1953
2259
|
}
|
|
1954
2260
|
/** Backend request type: models::TagUpdateRequest. */
|
|
1955
2261
|
export interface TagUpdateTagPatchInput extends JsonObject {
|
|
1956
|
-
"name"?: string;
|
|
1957
|
-
"status"?: number;
|
|
2262
|
+
"name"?: string | null;
|
|
2263
|
+
"status"?: number | null;
|
|
1958
2264
|
}
|
|
1959
2265
|
/** Backend response type: models::TagResponseDTO. */
|
|
1960
2266
|
export interface TagUpdateTagPatchResponseData extends JsonObject {
|
|
@@ -1968,8 +2274,8 @@ export interface TagUpdateTagPatchResponse extends ApiEnvelope<TagUpdateTagPatch
|
|
|
1968
2274
|
}
|
|
1969
2275
|
/** Backend request type: models::TagUpdateRequest. */
|
|
1970
2276
|
export interface TagUpdateTagPutInput extends JsonObject {
|
|
1971
|
-
"name"?: string;
|
|
1972
|
-
"status"?: number;
|
|
2277
|
+
"name"?: string | null;
|
|
2278
|
+
"status"?: number | null;
|
|
1973
2279
|
}
|
|
1974
2280
|
/** Backend response type: models::TagResponseDTO. */
|
|
1975
2281
|
export interface TagUpdateTagPutResponseData extends JsonObject {
|