@faiber/faiber-modules 0.10.2 → 0.11.1
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.types.d.ts +417 -70
- package/dist/operations.types.d.ts.map +1 -1
- package/package.json +2 -2
|
@@ -10,28 +10,31 @@ export interface RouterBeautifiedOpenapiGetResponse extends ApiEnvelope<JsonValu
|
|
|
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> {
|
|
@@ -43,16 +46,18 @@ export interface AccessRevokeOnTargetDeleteResponseData extends JsonObject {
|
|
|
43
46
|
}
|
|
44
47
|
export type AccessRevokeOnTargetDeleteResponse = AccessRevokeOnTargetDeleteResponseData;
|
|
45
48
|
/** Backend request type: models::AccessUpdateRequest. */
|
|
49
|
+
export type AccessUpdateOnTargetPutInputAccessLevel = "Maintainer" | "Editor" | "Viewer";
|
|
46
50
|
export interface AccessUpdateOnTargetPutInput extends JsonObject {
|
|
47
|
-
"access_level":
|
|
51
|
+
"access_level": AccessUpdateOnTargetPutInputAccessLevel;
|
|
48
52
|
}
|
|
49
53
|
/** Backend response type: models::AccessResponseDTO. */
|
|
54
|
+
export type AccessUpdateOnTargetPutResponseDataAccessLevel = "Maintainer" | "Editor" | "Viewer";
|
|
50
55
|
export interface AccessUpdateOnTargetPutResponseData extends JsonObject {
|
|
51
56
|
"id": string;
|
|
52
57
|
"user_id": string;
|
|
53
58
|
"granted_by_user_id": string;
|
|
54
59
|
"target_id": string;
|
|
55
|
-
"access_level":
|
|
60
|
+
"access_level": AccessUpdateOnTargetPutResponseDataAccessLevel;
|
|
56
61
|
"created_at": string;
|
|
57
62
|
}
|
|
58
63
|
export interface AccessUpdateOnTargetPutResponse extends ApiEnvelope<AccessUpdateOnTargetPutResponseData> {
|
|
@@ -82,8 +87,19 @@ export interface AuthorListAuthorsGetQuery extends QueryParams {
|
|
|
82
87
|
"page_size"?: number | null;
|
|
83
88
|
}
|
|
84
89
|
/** Backend response type: models::AuthorListResponse. */
|
|
90
|
+
export interface AuthorListAuthorsGetResponseDataAuthors extends JsonObject {
|
|
91
|
+
"id": string;
|
|
92
|
+
"user_id": string;
|
|
93
|
+
"name": string;
|
|
94
|
+
"bio"?: string | null;
|
|
95
|
+
"avatar_url"?: string | null;
|
|
96
|
+
"social_links"?: JsonValue | null;
|
|
97
|
+
"website"?: string | null;
|
|
98
|
+
"created_at": string;
|
|
99
|
+
"updated_at": string;
|
|
100
|
+
}
|
|
85
101
|
export interface AuthorListAuthorsGetResponseData extends JsonObject {
|
|
86
|
-
"authors":
|
|
102
|
+
"authors": AuthorListAuthorsGetResponseDataAuthors[];
|
|
87
103
|
"page_number": number;
|
|
88
104
|
"page_size": number;
|
|
89
105
|
"total_items": number;
|
|
@@ -183,8 +199,19 @@ export interface BlogListPostsGetQuery extends QueryParams {
|
|
|
183
199
|
"page_size"?: number | null;
|
|
184
200
|
}
|
|
185
201
|
/** Backend response type: models::PostListResponse. */
|
|
202
|
+
export interface BlogListPostsGetResponseDataPosts extends JsonObject {
|
|
203
|
+
"id": string;
|
|
204
|
+
"title": string;
|
|
205
|
+
"description"?: string | null;
|
|
206
|
+
"content"?: string | null;
|
|
207
|
+
"image_url"?: string | null;
|
|
208
|
+
"author_id"?: string | null;
|
|
209
|
+
"status": number;
|
|
210
|
+
"created_at": string;
|
|
211
|
+
"updated_at": string;
|
|
212
|
+
}
|
|
186
213
|
export interface BlogListPostsGetResponseData extends JsonObject {
|
|
187
|
-
"posts":
|
|
214
|
+
"posts": BlogListPostsGetResponseDataPosts[];
|
|
188
215
|
"page_number": number;
|
|
189
216
|
"page_size": number;
|
|
190
217
|
"total_items": number;
|
|
@@ -286,8 +313,20 @@ export interface CategoryListCategoriesGetQuery extends QueryParams {
|
|
|
286
313
|
"page_size"?: number | null;
|
|
287
314
|
}
|
|
288
315
|
/** Backend response type: models::CategoryListResponse. */
|
|
316
|
+
export interface CategoryListCategoriesGetResponseDataCategories extends JsonObject {
|
|
317
|
+
"id": string;
|
|
318
|
+
"parent_id"?: string | null;
|
|
319
|
+
"name"?: string | null;
|
|
320
|
+
"description"?: string | null;
|
|
321
|
+
"image_url"?: string | null;
|
|
322
|
+
"scope": string;
|
|
323
|
+
"status": number;
|
|
324
|
+
"requires_confirmation": boolean;
|
|
325
|
+
"created_at": string;
|
|
326
|
+
"updated_at": string;
|
|
327
|
+
}
|
|
289
328
|
export interface CategoryListCategoriesGetResponseData extends JsonObject {
|
|
290
|
-
"categories":
|
|
329
|
+
"categories": CategoryListCategoriesGetResponseDataCategories[];
|
|
291
330
|
"page_number": number;
|
|
292
331
|
"page_size": number;
|
|
293
332
|
"total_items": number;
|
|
@@ -431,8 +470,18 @@ export interface CommentListCommentsGetQuery extends QueryParams {
|
|
|
431
470
|
"page_size"?: number | null;
|
|
432
471
|
}
|
|
433
472
|
/** Backend response type: models::CommentListResponse. */
|
|
473
|
+
export interface CommentListCommentsGetResponseDataComments extends JsonObject {
|
|
474
|
+
"id": string;
|
|
475
|
+
"user_id": string;
|
|
476
|
+
"author_id"?: string | null;
|
|
477
|
+
"parent_id"?: string | null;
|
|
478
|
+
"content": string;
|
|
479
|
+
"status": number;
|
|
480
|
+
"created_at": string;
|
|
481
|
+
"updated_at": string;
|
|
482
|
+
}
|
|
434
483
|
export interface CommentListCommentsGetResponseData extends JsonObject {
|
|
435
|
-
"comments":
|
|
484
|
+
"comments": CommentListCommentsGetResponseDataComments[];
|
|
436
485
|
"page_number": number;
|
|
437
486
|
"page_size": number;
|
|
438
487
|
"total_items": number;
|
|
@@ -548,8 +597,17 @@ export interface ContentListContentsGetQuery extends QueryParams {
|
|
|
548
597
|
"page_size"?: number | null;
|
|
549
598
|
}
|
|
550
599
|
/** Backend response type: models::ContentListResponse. */
|
|
600
|
+
export interface ContentListContentsGetResponseDataContents extends JsonObject {
|
|
601
|
+
"id": string;
|
|
602
|
+
"created_by_user_id": string;
|
|
603
|
+
"created_by_author_id"?: string | null;
|
|
604
|
+
"content"?: string | null;
|
|
605
|
+
"auto_saved_content"?: string | null;
|
|
606
|
+
"created_at": string;
|
|
607
|
+
"updated_at": string;
|
|
608
|
+
}
|
|
551
609
|
export interface ContentListContentsGetResponseData extends JsonObject {
|
|
552
|
-
"contents":
|
|
610
|
+
"contents": ContentListContentsGetResponseDataContents[];
|
|
553
611
|
"page_number": number;
|
|
554
612
|
"page_size": number;
|
|
555
613
|
"total_items": number;
|
|
@@ -584,11 +642,12 @@ export interface ContentDetachFromTargetDeleteResponseData extends JsonObject {
|
|
|
584
642
|
}
|
|
585
643
|
export type ContentDetachFromTargetDeleteResponse = ContentDetachFromTargetDeleteResponseData;
|
|
586
644
|
/** Backend response type: Vec<models::ContentAttachmentDTO>. */
|
|
645
|
+
export type ContentListOnTargetGetResponseItemContentType = "Primary" | "Secondary" | "Description" | "Complementary" | "Explanation" | "FullDetail";
|
|
587
646
|
export interface ContentListOnTargetGetResponseItem extends JsonObject {
|
|
588
647
|
"id": string;
|
|
589
648
|
"content_id": string;
|
|
590
649
|
"target_id": string;
|
|
591
|
-
"content_type":
|
|
650
|
+
"content_type": ContentListOnTargetGetResponseItemContentType;
|
|
592
651
|
"sort_order": number;
|
|
593
652
|
"priority"?: number | null;
|
|
594
653
|
"created_at": string;
|
|
@@ -596,18 +655,20 @@ export interface ContentListOnTargetGetResponseItem extends JsonObject {
|
|
|
596
655
|
export interface ContentListOnTargetGetResponse extends ApiEnvelope<ContentListOnTargetGetResponseItem[]> {
|
|
597
656
|
}
|
|
598
657
|
/** Backend request type: models::ContentAttachRequest. */
|
|
658
|
+
export type ContentAttachToTargetPostInputContentType = "Primary" | "Secondary" | "Description" | "Complementary" | "Explanation" | "FullDetail";
|
|
599
659
|
export interface ContentAttachToTargetPostInput extends JsonObject {
|
|
600
660
|
"content_id": string;
|
|
601
|
-
"content_type":
|
|
661
|
+
"content_type": ContentAttachToTargetPostInputContentType;
|
|
602
662
|
"sort_order"?: number | null;
|
|
603
663
|
"priority"?: number | null;
|
|
604
664
|
}
|
|
605
665
|
/** Backend response type: models::ContentAttachmentDTO. */
|
|
666
|
+
export type ContentAttachToTargetPostResponseDataContentType = "Primary" | "Secondary" | "Description" | "Complementary" | "Explanation" | "FullDetail";
|
|
606
667
|
export interface ContentAttachToTargetPostResponseData extends JsonObject {
|
|
607
668
|
"id": string;
|
|
608
669
|
"content_id": string;
|
|
609
670
|
"target_id": string;
|
|
610
|
-
"content_type":
|
|
671
|
+
"content_type": ContentAttachToTargetPostResponseDataContentType;
|
|
611
672
|
"sort_order": number;
|
|
612
673
|
"priority"?: number | null;
|
|
613
674
|
"created_at": string;
|
|
@@ -689,8 +750,19 @@ export interface InventoryListInventoriesGetQuery extends QueryParams {
|
|
|
689
750
|
"page_size"?: number | null;
|
|
690
751
|
}
|
|
691
752
|
/** Backend response type: models::InventoryListResponse. */
|
|
753
|
+
export interface InventoryListInventoriesGetResponseDataInventories extends JsonObject {
|
|
754
|
+
"id": string;
|
|
755
|
+
"variant_id": string;
|
|
756
|
+
"warehouse_id": string;
|
|
757
|
+
"priority": number;
|
|
758
|
+
"quantity": number;
|
|
759
|
+
"reserved": number;
|
|
760
|
+
"available": number;
|
|
761
|
+
"created_at": string;
|
|
762
|
+
"updated_at": string;
|
|
763
|
+
}
|
|
692
764
|
export interface InventoryListInventoriesGetResponseData extends JsonObject {
|
|
693
|
-
"inventories":
|
|
765
|
+
"inventories": InventoryListInventoriesGetResponseDataInventories[];
|
|
694
766
|
"page_number": number;
|
|
695
767
|
"page_size": number;
|
|
696
768
|
"total_items": number;
|
|
@@ -786,8 +858,18 @@ export interface StockMovementListStockMovementsGetQuery extends QueryParams {
|
|
|
786
858
|
"page_size"?: number | null;
|
|
787
859
|
}
|
|
788
860
|
/** Backend response type: models::StockMovementListResponse. */
|
|
861
|
+
export interface StockMovementListStockMovementsGetResponseDataStockMovements extends JsonObject {
|
|
862
|
+
"id": string;
|
|
863
|
+
"variant_id": string;
|
|
864
|
+
"warehouse_id": string;
|
|
865
|
+
"type": string;
|
|
866
|
+
"quantity": number;
|
|
867
|
+
"reference_id"?: string | null;
|
|
868
|
+
"reason"?: string | null;
|
|
869
|
+
"created_at": string;
|
|
870
|
+
}
|
|
789
871
|
export interface StockMovementListStockMovementsGetResponseData extends JsonObject {
|
|
790
|
-
"stock_movements":
|
|
872
|
+
"stock_movements": StockMovementListStockMovementsGetResponseDataStockMovements[];
|
|
791
873
|
"page_number": number;
|
|
792
874
|
"page_size": number;
|
|
793
875
|
"total_items": number;
|
|
@@ -822,8 +904,16 @@ export interface InventoryListWarehousesGetQuery extends QueryParams {
|
|
|
822
904
|
"page_size"?: number | null;
|
|
823
905
|
}
|
|
824
906
|
/** Backend response type: models::WarehouseListResponse. */
|
|
907
|
+
export interface InventoryListWarehousesGetResponseDataWarehouses extends JsonObject {
|
|
908
|
+
"id": string;
|
|
909
|
+
"name": string;
|
|
910
|
+
"location": string;
|
|
911
|
+
"capacity": number;
|
|
912
|
+
"created_at": string;
|
|
913
|
+
"updated_at": string;
|
|
914
|
+
}
|
|
825
915
|
export interface InventoryListWarehousesGetResponseData extends JsonObject {
|
|
826
|
-
"warehouses":
|
|
916
|
+
"warehouses": InventoryListWarehousesGetResponseDataWarehouses[];
|
|
827
917
|
"page_number": number;
|
|
828
918
|
"page_size": number;
|
|
829
919
|
"total_items": number;
|
|
@@ -1189,12 +1279,13 @@ export type MediaUploadImagePostResponse = MediaUploadImagePostResponseData;
|
|
|
1189
1279
|
/** Backend response type: Vec<entity::podcast::Model>. */
|
|
1190
1280
|
export interface PodcastListGetResponseItem extends JsonObject {
|
|
1191
1281
|
"id": string;
|
|
1192
|
-
"
|
|
1193
|
-
"
|
|
1194
|
-
"
|
|
1195
|
-
"
|
|
1282
|
+
"title": string;
|
|
1283
|
+
"description"?: string | null;
|
|
1284
|
+
"cover_image_url"?: string | null;
|
|
1285
|
+
"status": number;
|
|
1286
|
+
"created_by_user_id": string;
|
|
1196
1287
|
"created_at": string;
|
|
1197
|
-
"
|
|
1288
|
+
"updated_at": string;
|
|
1198
1289
|
}
|
|
1199
1290
|
export interface PodcastListGetResponse extends ApiEnvelope<PodcastListGetResponseItem[]> {
|
|
1200
1291
|
}
|
|
@@ -1208,12 +1299,13 @@ export interface PodcastCreatePostInput extends JsonObject {
|
|
|
1208
1299
|
/** Backend response type: entity::podcast::Model. */
|
|
1209
1300
|
export interface PodcastCreatePostResponseData extends JsonObject {
|
|
1210
1301
|
"id": string;
|
|
1211
|
-
"
|
|
1212
|
-
"
|
|
1213
|
-
"
|
|
1214
|
-
"
|
|
1302
|
+
"title": string;
|
|
1303
|
+
"description"?: string | null;
|
|
1304
|
+
"cover_image_url"?: string | null;
|
|
1305
|
+
"status": number;
|
|
1306
|
+
"created_by_user_id": string;
|
|
1215
1307
|
"created_at": string;
|
|
1216
|
-
"
|
|
1308
|
+
"updated_at": string;
|
|
1217
1309
|
}
|
|
1218
1310
|
export interface PodcastCreatePostResponse extends ApiEnvelope<PodcastCreatePostResponseData> {
|
|
1219
1311
|
}
|
|
@@ -1224,15 +1316,31 @@ export interface PodcastRemoveDeleteResponseData extends JsonObject {
|
|
|
1224
1316
|
}
|
|
1225
1317
|
export type PodcastRemoveDeleteResponse = PodcastRemoveDeleteResponseData;
|
|
1226
1318
|
/** Backend response type: models::PodcastDetail. */
|
|
1319
|
+
export interface PodcastShowGetResponseDataEpisodes extends JsonObject {
|
|
1320
|
+
"id": string;
|
|
1321
|
+
"podcast_id": string;
|
|
1322
|
+
"title": string;
|
|
1323
|
+
"description"?: string | null;
|
|
1324
|
+
"sort_order": number;
|
|
1325
|
+
"audio_source": string;
|
|
1326
|
+
"external_audio_url"?: string | null;
|
|
1327
|
+
"drm_media_id"?: string | null;
|
|
1328
|
+
"duration_seconds"?: number | null;
|
|
1329
|
+
"status": number;
|
|
1330
|
+
"published_at"?: string | null;
|
|
1331
|
+
"created_at": string;
|
|
1332
|
+
"updated_at": string;
|
|
1333
|
+
}
|
|
1227
1334
|
export interface PodcastShowGetResponseData extends JsonObject {
|
|
1228
1335
|
"id": string;
|
|
1229
|
-
"
|
|
1230
|
-
"
|
|
1231
|
-
"
|
|
1232
|
-
"
|
|
1336
|
+
"title": string;
|
|
1337
|
+
"description"?: string | null;
|
|
1338
|
+
"cover_image_url"?: string | null;
|
|
1339
|
+
"status": number;
|
|
1340
|
+
"created_by_user_id": string;
|
|
1233
1341
|
"created_at": string;
|
|
1234
|
-
"
|
|
1235
|
-
"episodes":
|
|
1342
|
+
"updated_at": string;
|
|
1343
|
+
"episodes": PodcastShowGetResponseDataEpisodes[];
|
|
1236
1344
|
}
|
|
1237
1345
|
export interface PodcastShowGetResponse extends ApiEnvelope<PodcastShowGetResponseData> {
|
|
1238
1346
|
}
|
|
@@ -1246,12 +1354,13 @@ export interface PodcastUpdatePatchInput extends JsonObject {
|
|
|
1246
1354
|
/** Backend response type: entity::podcast::Model. */
|
|
1247
1355
|
export interface PodcastUpdatePatchResponseData extends JsonObject {
|
|
1248
1356
|
"id": string;
|
|
1249
|
-
"
|
|
1250
|
-
"
|
|
1251
|
-
"
|
|
1252
|
-
"
|
|
1357
|
+
"title": string;
|
|
1358
|
+
"description"?: string | null;
|
|
1359
|
+
"cover_image_url"?: string | null;
|
|
1360
|
+
"status": number;
|
|
1361
|
+
"created_by_user_id": string;
|
|
1253
1362
|
"created_at": string;
|
|
1254
|
-
"
|
|
1363
|
+
"updated_at": string;
|
|
1255
1364
|
}
|
|
1256
1365
|
export interface PodcastUpdatePatchResponse extends ApiEnvelope<PodcastUpdatePatchResponseData> {
|
|
1257
1366
|
}
|
|
@@ -1270,12 +1379,18 @@ export interface PodcastCreateEpisodePostInput extends JsonObject {
|
|
|
1270
1379
|
/** Backend response type: entity::podcast_episode::Model. */
|
|
1271
1380
|
export interface PodcastCreateEpisodePostResponseData extends JsonObject {
|
|
1272
1381
|
"id": string;
|
|
1273
|
-
"
|
|
1274
|
-
"
|
|
1275
|
-
"
|
|
1276
|
-
"
|
|
1382
|
+
"podcast_id": string;
|
|
1383
|
+
"title": string;
|
|
1384
|
+
"description"?: string | null;
|
|
1385
|
+
"sort_order": number;
|
|
1386
|
+
"audio_source": string;
|
|
1387
|
+
"external_audio_url"?: string | null;
|
|
1388
|
+
"drm_media_id"?: string | null;
|
|
1389
|
+
"duration_seconds"?: number | null;
|
|
1390
|
+
"status": number;
|
|
1391
|
+
"published_at"?: string | null;
|
|
1277
1392
|
"created_at": string;
|
|
1278
|
-
"
|
|
1393
|
+
"updated_at": string;
|
|
1279
1394
|
}
|
|
1280
1395
|
export interface PodcastCreateEpisodePostResponse extends ApiEnvelope<PodcastCreateEpisodePostResponseData> {
|
|
1281
1396
|
}
|
|
@@ -1300,12 +1415,18 @@ export interface PodcastUpdateEpisodePatchInput extends JsonObject {
|
|
|
1300
1415
|
/** Backend response type: entity::podcast_episode::Model. */
|
|
1301
1416
|
export interface PodcastUpdateEpisodePatchResponseData extends JsonObject {
|
|
1302
1417
|
"id": string;
|
|
1303
|
-
"
|
|
1304
|
-
"
|
|
1305
|
-
"
|
|
1306
|
-
"
|
|
1418
|
+
"podcast_id": string;
|
|
1419
|
+
"title": string;
|
|
1420
|
+
"description"?: string | null;
|
|
1421
|
+
"sort_order": number;
|
|
1422
|
+
"audio_source": string;
|
|
1423
|
+
"external_audio_url"?: string | null;
|
|
1424
|
+
"drm_media_id"?: string | null;
|
|
1425
|
+
"duration_seconds"?: number | null;
|
|
1426
|
+
"status": number;
|
|
1427
|
+
"published_at"?: string | null;
|
|
1307
1428
|
"created_at": string;
|
|
1308
|
-
"
|
|
1429
|
+
"updated_at": string;
|
|
1309
1430
|
}
|
|
1310
1431
|
export interface PodcastUpdateEpisodePatchResponse extends ApiEnvelope<PodcastUpdateEpisodePatchResponseData> {
|
|
1311
1432
|
}
|
|
@@ -1315,8 +1436,20 @@ export interface ServicePricingListPricingGetQuery extends QueryParams {
|
|
|
1315
1436
|
"page_size"?: number | null;
|
|
1316
1437
|
}
|
|
1317
1438
|
/** Backend response type: models::ServicePricingListResponse. */
|
|
1439
|
+
export interface ServicePricingListPricingGetResponseDataPricings extends JsonObject {
|
|
1440
|
+
"id": string;
|
|
1441
|
+
"service_name": string;
|
|
1442
|
+
"display_name"?: string | null;
|
|
1443
|
+
"hourly_price": number;
|
|
1444
|
+
"monthly_price": number;
|
|
1445
|
+
"annual_price": number;
|
|
1446
|
+
"currency": string;
|
|
1447
|
+
"status": number;
|
|
1448
|
+
"created_at": string;
|
|
1449
|
+
"updated_at": string;
|
|
1450
|
+
}
|
|
1318
1451
|
export interface ServicePricingListPricingGetResponseData extends JsonObject {
|
|
1319
|
-
"pricings":
|
|
1452
|
+
"pricings": ServicePricingListPricingGetResponseDataPricings[];
|
|
1320
1453
|
"page_number": number;
|
|
1321
1454
|
"page_size": number;
|
|
1322
1455
|
"total_items": number;
|
|
@@ -1444,8 +1577,29 @@ export interface ContentTransferListPublicContentGetQuery extends QueryParams {
|
|
|
1444
1577
|
"category"?: string | null;
|
|
1445
1578
|
}
|
|
1446
1579
|
/** Backend response type: PublicContentList. */
|
|
1580
|
+
export interface ContentTransferListPublicContentGetResponseDataItems extends JsonObject {
|
|
1581
|
+
"id": string;
|
|
1582
|
+
"kind": string;
|
|
1583
|
+
"legacy_host"?: string | null;
|
|
1584
|
+
"legacy_id"?: string | null;
|
|
1585
|
+
"slug": string;
|
|
1586
|
+
"locale": string;
|
|
1587
|
+
"title": string;
|
|
1588
|
+
"status": string;
|
|
1589
|
+
"editor_json": JsonValue;
|
|
1590
|
+
"sanitized_html": string;
|
|
1591
|
+
"plain_text": string;
|
|
1592
|
+
"current_revision": number;
|
|
1593
|
+
"etag": string;
|
|
1594
|
+
"publish_at"?: string | null;
|
|
1595
|
+
"published_at"?: string | null;
|
|
1596
|
+
"created_by": string;
|
|
1597
|
+
"updated_by": string;
|
|
1598
|
+
"created_at": string;
|
|
1599
|
+
"updated_at": string;
|
|
1600
|
+
}
|
|
1447
1601
|
export interface ContentTransferListPublicContentGetResponseData extends JsonObject {
|
|
1448
|
-
"items":
|
|
1602
|
+
"items": ContentTransferListPublicContentGetResponseDataItems[];
|
|
1449
1603
|
"page_number": number;
|
|
1450
1604
|
"page_size": number;
|
|
1451
1605
|
"total_items": number;
|
|
@@ -1464,10 +1618,21 @@ export interface SearchAutocompleteGetQuery extends QueryParams {
|
|
|
1464
1618
|
"limit"?: number | null;
|
|
1465
1619
|
}
|
|
1466
1620
|
/** Backend response type: AutocompleteResponse. */
|
|
1621
|
+
export type SearchAutocompleteGetResponseDataScope = "posts" | "products" | "mixed";
|
|
1622
|
+
export interface SearchAutocompleteGetResponseDataItems extends JsonObject {
|
|
1623
|
+
"id": string;
|
|
1624
|
+
"kind": string;
|
|
1625
|
+
"title": string;
|
|
1626
|
+
"description"?: string | null;
|
|
1627
|
+
"image_url"?: string | null;
|
|
1628
|
+
"slug"?: string | null;
|
|
1629
|
+
"locale"?: string | null;
|
|
1630
|
+
"score": number;
|
|
1631
|
+
}
|
|
1467
1632
|
export interface SearchAutocompleteGetResponseData extends JsonObject {
|
|
1468
1633
|
"query": string;
|
|
1469
|
-
"scope":
|
|
1470
|
-
"items":
|
|
1634
|
+
"scope": SearchAutocompleteGetResponseDataScope;
|
|
1635
|
+
"items": SearchAutocompleteGetResponseDataItems[];
|
|
1471
1636
|
}
|
|
1472
1637
|
export type SearchAutocompleteGetResponse = SearchAutocompleteGetResponseData;
|
|
1473
1638
|
/** Backend query type: models::ReactionDeleteQuery. */
|
|
@@ -1481,25 +1646,28 @@ export interface ReactionDeleteOnTargetDeleteResponseData extends JsonObject {
|
|
|
1481
1646
|
}
|
|
1482
1647
|
export type ReactionDeleteOnTargetDeleteResponse = ReactionDeleteOnTargetDeleteResponseData;
|
|
1483
1648
|
/** Backend response type: Vec<models::ReactionResponseDTO>. */
|
|
1649
|
+
export type ReactionListOnTargetGetResponseItemReactionType = "Like" | "Dislike" | "Favorite" | "Bookmark" | "Share";
|
|
1484
1650
|
export interface ReactionListOnTargetGetResponseItem extends JsonObject {
|
|
1485
1651
|
"id": string;
|
|
1486
1652
|
"user_id": string;
|
|
1487
1653
|
"target_id": string;
|
|
1488
|
-
"reaction_type":
|
|
1654
|
+
"reaction_type": ReactionListOnTargetGetResponseItemReactionType;
|
|
1489
1655
|
"created_at": string;
|
|
1490
1656
|
}
|
|
1491
1657
|
export interface ReactionListOnTargetGetResponse extends ApiEnvelope<ReactionListOnTargetGetResponseItem[]> {
|
|
1492
1658
|
}
|
|
1493
1659
|
/** Backend request type: models::ReactionCreateRequest. */
|
|
1660
|
+
export type ReactionCreateOnTargetPostInputReactionType = "Like" | "Dislike" | "Favorite" | "Bookmark" | "Share";
|
|
1494
1661
|
export interface ReactionCreateOnTargetPostInput extends JsonObject {
|
|
1495
|
-
"reaction_type":
|
|
1662
|
+
"reaction_type": ReactionCreateOnTargetPostInputReactionType;
|
|
1496
1663
|
}
|
|
1497
1664
|
/** Backend response type: models::ReactionResponseDTO. */
|
|
1665
|
+
export type ReactionCreateOnTargetPostResponseDataReactionType = "Like" | "Dislike" | "Favorite" | "Bookmark" | "Share";
|
|
1498
1666
|
export interface ReactionCreateOnTargetPostResponseData extends JsonObject {
|
|
1499
1667
|
"id": string;
|
|
1500
1668
|
"user_id": string;
|
|
1501
1669
|
"target_id": string;
|
|
1502
|
-
"reaction_type":
|
|
1670
|
+
"reaction_type": ReactionCreateOnTargetPostResponseDataReactionType;
|
|
1503
1671
|
"created_at": string;
|
|
1504
1672
|
}
|
|
1505
1673
|
export interface ReactionCreateOnTargetPostResponse extends ApiEnvelope<ReactionCreateOnTargetPostResponseData> {
|
|
@@ -1510,8 +1678,17 @@ export interface RequestListRequestsGetQuery extends QueryParams {
|
|
|
1510
1678
|
"page_size"?: number | null;
|
|
1511
1679
|
}
|
|
1512
1680
|
/** Backend response type: models::RequestListResponse. */
|
|
1681
|
+
export interface RequestListRequestsGetResponseDataRequests extends JsonObject {
|
|
1682
|
+
"id": string;
|
|
1683
|
+
"key": string;
|
|
1684
|
+
"name": string;
|
|
1685
|
+
"description"?: string | null;
|
|
1686
|
+
"status": number;
|
|
1687
|
+
"created_at": string;
|
|
1688
|
+
"updated_at": string;
|
|
1689
|
+
}
|
|
1513
1690
|
export interface RequestListRequestsGetResponseData extends JsonObject {
|
|
1514
|
-
"requests":
|
|
1691
|
+
"requests": RequestListRequestsGetResponseDataRequests[];
|
|
1515
1692
|
"page_number": number;
|
|
1516
1693
|
"page_size": number;
|
|
1517
1694
|
"total_items": number;
|
|
@@ -1675,8 +1852,21 @@ export interface UserSampleListSamplesGetQuery extends QueryParams {
|
|
|
1675
1852
|
"page_size"?: number | null;
|
|
1676
1853
|
}
|
|
1677
1854
|
/** Backend response type: models::UserSampleListResponse. */
|
|
1855
|
+
export interface UserSampleListSamplesGetResponseDataSamples extends JsonObject {
|
|
1856
|
+
"id": string;
|
|
1857
|
+
"slug": string;
|
|
1858
|
+
"name": string;
|
|
1859
|
+
"description"?: string | null;
|
|
1860
|
+
"project_slug"?: string | null;
|
|
1861
|
+
"preview_url"?: string | null;
|
|
1862
|
+
"thumbnail_url"?: string | null;
|
|
1863
|
+
"category"?: string | null;
|
|
1864
|
+
"status": number;
|
|
1865
|
+
"created_at": string;
|
|
1866
|
+
"updated_at": string;
|
|
1867
|
+
}
|
|
1678
1868
|
export interface UserSampleListSamplesGetResponseData extends JsonObject {
|
|
1679
|
-
"samples":
|
|
1869
|
+
"samples": UserSampleListSamplesGetResponseDataSamples[];
|
|
1680
1870
|
"page_number": number;
|
|
1681
1871
|
"page_size": number;
|
|
1682
1872
|
"total_items": number;
|
|
@@ -1792,8 +1982,23 @@ export interface UserSampleListSampleVariablesGetQuery extends QueryParams {
|
|
|
1792
1982
|
"page_size"?: number | null;
|
|
1793
1983
|
}
|
|
1794
1984
|
/** Backend response type: models::SampleVariableListResponse. */
|
|
1985
|
+
export interface UserSampleListSampleVariablesGetResponseDataVariables extends JsonObject {
|
|
1986
|
+
"id": string;
|
|
1987
|
+
"sample_id": string;
|
|
1988
|
+
"sample_slug"?: string | null;
|
|
1989
|
+
"sample_name"?: string | null;
|
|
1990
|
+
"key": string;
|
|
1991
|
+
"label": string;
|
|
1992
|
+
"value"?: string | null;
|
|
1993
|
+
"group_name"?: string | null;
|
|
1994
|
+
"variable_type": string;
|
|
1995
|
+
"description"?: string | null;
|
|
1996
|
+
"sort_order": number;
|
|
1997
|
+
"created_at": string;
|
|
1998
|
+
"updated_at": string;
|
|
1999
|
+
}
|
|
1795
2000
|
export interface UserSampleListSampleVariablesGetResponseData extends JsonObject {
|
|
1796
|
-
"variables":
|
|
2001
|
+
"variables": UserSampleListSampleVariablesGetResponseDataVariables[];
|
|
1797
2002
|
"page_number": number;
|
|
1798
2003
|
"page_size": number;
|
|
1799
2004
|
"total_items": number;
|
|
@@ -1843,8 +2048,23 @@ export interface UserSampleListAllVariablesGetQuery extends QueryParams {
|
|
|
1843
2048
|
"page_size"?: number | null;
|
|
1844
2049
|
}
|
|
1845
2050
|
/** Backend response type: models::SampleVariableListResponse. */
|
|
2051
|
+
export interface UserSampleListAllVariablesGetResponseDataVariables extends JsonObject {
|
|
2052
|
+
"id": string;
|
|
2053
|
+
"sample_id": string;
|
|
2054
|
+
"sample_slug"?: string | null;
|
|
2055
|
+
"sample_name"?: string | null;
|
|
2056
|
+
"key": string;
|
|
2057
|
+
"label": string;
|
|
2058
|
+
"value"?: string | null;
|
|
2059
|
+
"group_name"?: string | null;
|
|
2060
|
+
"variable_type": string;
|
|
2061
|
+
"description"?: string | null;
|
|
2062
|
+
"sort_order": number;
|
|
2063
|
+
"created_at": string;
|
|
2064
|
+
"updated_at": string;
|
|
2065
|
+
}
|
|
1846
2066
|
export interface UserSampleListAllVariablesGetResponseData extends JsonObject {
|
|
1847
|
-
"variables":
|
|
2067
|
+
"variables": UserSampleListAllVariablesGetResponseDataVariables[];
|
|
1848
2068
|
"page_number": number;
|
|
1849
2069
|
"page_size": number;
|
|
1850
2070
|
"total_items": number;
|
|
@@ -1937,8 +2157,18 @@ export interface SeoContentListSeoContentsGetQuery extends QueryParams {
|
|
|
1937
2157
|
"page_size"?: number | null;
|
|
1938
2158
|
}
|
|
1939
2159
|
/** Backend response type: models::SeoContentListResponse. */
|
|
2160
|
+
export interface SeoContentListSeoContentsGetResponseDataSeoContents extends JsonObject {
|
|
2161
|
+
"id": string;
|
|
2162
|
+
"meta_url"?: string | null;
|
|
2163
|
+
"meta_title"?: string | null;
|
|
2164
|
+
"meta_description"?: string | null;
|
|
2165
|
+
"meta_keyword"?: string | null;
|
|
2166
|
+
"meta_ld"?: JsonValue | null;
|
|
2167
|
+
"created_at": string;
|
|
2168
|
+
"updated_at": string;
|
|
2169
|
+
}
|
|
1940
2170
|
export interface SeoContentListSeoContentsGetResponseData extends JsonObject {
|
|
1941
|
-
"seo_contents":
|
|
2171
|
+
"seo_contents": SeoContentListSeoContentsGetResponseDataSeoContents[];
|
|
1942
2172
|
"page_number": number;
|
|
1943
2173
|
"page_size": number;
|
|
1944
2174
|
"total_items": number;
|
|
@@ -2085,8 +2315,26 @@ export interface OrderListOrdersGetQuery extends QueryParams {
|
|
|
2085
2315
|
"page_size"?: number | null;
|
|
2086
2316
|
}
|
|
2087
2317
|
/** Backend response type: models::OrderListResponse. */
|
|
2318
|
+
export interface OrderListOrdersGetResponseDataOrdersItems extends JsonObject {
|
|
2319
|
+
"id": string;
|
|
2320
|
+
"order_id": string;
|
|
2321
|
+
"variant_id": string;
|
|
2322
|
+
"quantity": number;
|
|
2323
|
+
"unit_price": number;
|
|
2324
|
+
"total_price": number;
|
|
2325
|
+
"created_at": string;
|
|
2326
|
+
}
|
|
2327
|
+
export interface OrderListOrdersGetResponseDataOrders extends JsonObject {
|
|
2328
|
+
"id": string;
|
|
2329
|
+
"user_id": string;
|
|
2330
|
+
"status": number;
|
|
2331
|
+
"total": number;
|
|
2332
|
+
"items": OrderListOrdersGetResponseDataOrdersItems[];
|
|
2333
|
+
"created_at": string;
|
|
2334
|
+
"updated_at": string;
|
|
2335
|
+
}
|
|
2088
2336
|
export interface OrderListOrdersGetResponseData extends JsonObject {
|
|
2089
|
-
"orders":
|
|
2337
|
+
"orders": OrderListOrdersGetResponseDataOrders[];
|
|
2090
2338
|
"page_number": number;
|
|
2091
2339
|
"page_size": number;
|
|
2092
2340
|
"total_items": number;
|
|
@@ -2094,17 +2342,31 @@ export interface OrderListOrdersGetResponseData extends JsonObject {
|
|
|
2094
2342
|
export interface OrderListOrdersGetResponse extends ApiEnvelope<OrderListOrdersGetResponseData> {
|
|
2095
2343
|
}
|
|
2096
2344
|
/** Backend request type: models::OrderCreateRequest. */
|
|
2345
|
+
export interface OrderCreateOrderPostInputItems extends JsonObject {
|
|
2346
|
+
"variant_id": string;
|
|
2347
|
+
"quantity": number;
|
|
2348
|
+
"unit_price": number;
|
|
2349
|
+
}
|
|
2097
2350
|
export interface OrderCreateOrderPostInput extends JsonObject {
|
|
2098
2351
|
"status"?: number | null;
|
|
2099
|
-
"items":
|
|
2352
|
+
"items": OrderCreateOrderPostInputItems[];
|
|
2100
2353
|
}
|
|
2101
2354
|
/** Backend response type: models::OrderResponseDTO. */
|
|
2355
|
+
export interface OrderCreateOrderPostResponseDataItems extends JsonObject {
|
|
2356
|
+
"id": string;
|
|
2357
|
+
"order_id": string;
|
|
2358
|
+
"variant_id": string;
|
|
2359
|
+
"quantity": number;
|
|
2360
|
+
"unit_price": number;
|
|
2361
|
+
"total_price": number;
|
|
2362
|
+
"created_at": string;
|
|
2363
|
+
}
|
|
2102
2364
|
export interface OrderCreateOrderPostResponseData extends JsonObject {
|
|
2103
2365
|
"id": string;
|
|
2104
2366
|
"user_id": string;
|
|
2105
2367
|
"status": number;
|
|
2106
2368
|
"total": number;
|
|
2107
|
-
"items":
|
|
2369
|
+
"items": OrderCreateOrderPostResponseDataItems[];
|
|
2108
2370
|
"created_at": string;
|
|
2109
2371
|
"updated_at": string;
|
|
2110
2372
|
}
|
|
@@ -2117,12 +2379,21 @@ export interface OrderDeleteOrderDeleteResponseData extends JsonObject {
|
|
|
2117
2379
|
}
|
|
2118
2380
|
export type OrderDeleteOrderDeleteResponse = OrderDeleteOrderDeleteResponseData;
|
|
2119
2381
|
/** Backend response type: models::OrderResponseDTO. */
|
|
2382
|
+
export interface OrderShowOrderGetResponseDataItems extends JsonObject {
|
|
2383
|
+
"id": string;
|
|
2384
|
+
"order_id": string;
|
|
2385
|
+
"variant_id": string;
|
|
2386
|
+
"quantity": number;
|
|
2387
|
+
"unit_price": number;
|
|
2388
|
+
"total_price": number;
|
|
2389
|
+
"created_at": string;
|
|
2390
|
+
}
|
|
2120
2391
|
export interface OrderShowOrderGetResponseData extends JsonObject {
|
|
2121
2392
|
"id": string;
|
|
2122
2393
|
"user_id": string;
|
|
2123
2394
|
"status": number;
|
|
2124
2395
|
"total": number;
|
|
2125
|
-
"items":
|
|
2396
|
+
"items": OrderShowOrderGetResponseDataItems[];
|
|
2126
2397
|
"created_at": string;
|
|
2127
2398
|
"updated_at": string;
|
|
2128
2399
|
}
|
|
@@ -2133,12 +2404,21 @@ export interface OrderUpdateOrderPatchInput extends JsonObject {
|
|
|
2133
2404
|
"status"?: number | null;
|
|
2134
2405
|
}
|
|
2135
2406
|
/** Backend response type: models::OrderResponseDTO. */
|
|
2407
|
+
export interface OrderUpdateOrderPatchResponseDataItems extends JsonObject {
|
|
2408
|
+
"id": string;
|
|
2409
|
+
"order_id": string;
|
|
2410
|
+
"variant_id": string;
|
|
2411
|
+
"quantity": number;
|
|
2412
|
+
"unit_price": number;
|
|
2413
|
+
"total_price": number;
|
|
2414
|
+
"created_at": string;
|
|
2415
|
+
}
|
|
2136
2416
|
export interface OrderUpdateOrderPatchResponseData extends JsonObject {
|
|
2137
2417
|
"id": string;
|
|
2138
2418
|
"user_id": string;
|
|
2139
2419
|
"status": number;
|
|
2140
2420
|
"total": number;
|
|
2141
|
-
"items":
|
|
2421
|
+
"items": OrderUpdateOrderPatchResponseDataItems[];
|
|
2142
2422
|
"created_at": string;
|
|
2143
2423
|
"updated_at": string;
|
|
2144
2424
|
}
|
|
@@ -2149,12 +2429,21 @@ export interface OrderUpdateOrderPutInput extends JsonObject {
|
|
|
2149
2429
|
"status"?: number | null;
|
|
2150
2430
|
}
|
|
2151
2431
|
/** Backend response type: models::OrderResponseDTO. */
|
|
2432
|
+
export interface OrderUpdateOrderPutResponseDataItems extends JsonObject {
|
|
2433
|
+
"id": string;
|
|
2434
|
+
"order_id": string;
|
|
2435
|
+
"variant_id": string;
|
|
2436
|
+
"quantity": number;
|
|
2437
|
+
"unit_price": number;
|
|
2438
|
+
"total_price": number;
|
|
2439
|
+
"created_at": string;
|
|
2440
|
+
}
|
|
2152
2441
|
export interface OrderUpdateOrderPutResponseData extends JsonObject {
|
|
2153
2442
|
"id": string;
|
|
2154
2443
|
"user_id": string;
|
|
2155
2444
|
"status": number;
|
|
2156
2445
|
"total": number;
|
|
2157
|
-
"items":
|
|
2446
|
+
"items": OrderUpdateOrderPutResponseDataItems[];
|
|
2158
2447
|
"created_at": string;
|
|
2159
2448
|
"updated_at": string;
|
|
2160
2449
|
}
|
|
@@ -2179,12 +2468,21 @@ export interface OrderAddOrderItemPostInput extends JsonObject {
|
|
|
2179
2468
|
"unit_price": number;
|
|
2180
2469
|
}
|
|
2181
2470
|
/** Backend response type: models::OrderResponseDTO. */
|
|
2471
|
+
export interface OrderAddOrderItemPostResponseDataItems extends JsonObject {
|
|
2472
|
+
"id": string;
|
|
2473
|
+
"order_id": string;
|
|
2474
|
+
"variant_id": string;
|
|
2475
|
+
"quantity": number;
|
|
2476
|
+
"unit_price": number;
|
|
2477
|
+
"total_price": number;
|
|
2478
|
+
"created_at": string;
|
|
2479
|
+
}
|
|
2182
2480
|
export interface OrderAddOrderItemPostResponseData extends JsonObject {
|
|
2183
2481
|
"id": string;
|
|
2184
2482
|
"user_id": string;
|
|
2185
2483
|
"status": number;
|
|
2186
2484
|
"total": number;
|
|
2187
|
-
"items":
|
|
2485
|
+
"items": OrderAddOrderItemPostResponseDataItems[];
|
|
2188
2486
|
"created_at": string;
|
|
2189
2487
|
"updated_at": string;
|
|
2190
2488
|
}
|
|
@@ -2202,8 +2500,22 @@ export interface ProductListProductsGetQuery extends QueryParams {
|
|
|
2202
2500
|
"city"?: string | null;
|
|
2203
2501
|
}
|
|
2204
2502
|
/** Backend response type: models::ProductListResponse. */
|
|
2503
|
+
export interface ProductListProductsGetResponseDataProducts extends JsonObject {
|
|
2504
|
+
"id": string;
|
|
2505
|
+
"name": string;
|
|
2506
|
+
"description"?: string | null;
|
|
2507
|
+
"image_url"?: string | null;
|
|
2508
|
+
"sku": JsonValue;
|
|
2509
|
+
"status": number;
|
|
2510
|
+
"sort_order": number;
|
|
2511
|
+
"country_ids"?: string[] | null;
|
|
2512
|
+
"province_ids"?: string[] | null;
|
|
2513
|
+
"city_ids"?: string[] | null;
|
|
2514
|
+
"created_at": string;
|
|
2515
|
+
"updated_at": string;
|
|
2516
|
+
}
|
|
2205
2517
|
export interface ProductListProductsGetResponseData extends JsonObject {
|
|
2206
|
-
"products":
|
|
2518
|
+
"products": ProductListProductsGetResponseDataProducts[];
|
|
2207
2519
|
"page_number": number;
|
|
2208
2520
|
"page_size": number;
|
|
2209
2521
|
"total_items": number;
|
|
@@ -2326,8 +2638,22 @@ export interface ProductListProductVariantsGetQuery extends QueryParams {
|
|
|
2326
2638
|
"page_size"?: number | null;
|
|
2327
2639
|
}
|
|
2328
2640
|
/** Backend response type: models::VariantListResponse. */
|
|
2641
|
+
export interface ProductListProductVariantsGetResponseDataVariants extends JsonObject {
|
|
2642
|
+
"id": string;
|
|
2643
|
+
"product_id": string;
|
|
2644
|
+
"name": string;
|
|
2645
|
+
"sku": JsonValue;
|
|
2646
|
+
"price": number;
|
|
2647
|
+
"cost": number;
|
|
2648
|
+
"weight": number;
|
|
2649
|
+
"stock_priority": number;
|
|
2650
|
+
"status": number;
|
|
2651
|
+
"sort_order": number;
|
|
2652
|
+
"created_at": string;
|
|
2653
|
+
"updated_at": string;
|
|
2654
|
+
}
|
|
2329
2655
|
export interface ProductListProductVariantsGetResponseData extends JsonObject {
|
|
2330
|
-
"variants":
|
|
2656
|
+
"variants": ProductListProductVariantsGetResponseDataVariants[];
|
|
2331
2657
|
"page_number": number;
|
|
2332
2658
|
"page_size": number;
|
|
2333
2659
|
"total_items": number;
|
|
@@ -2369,8 +2695,22 @@ export interface ProductListVariantsGetQuery extends QueryParams {
|
|
|
2369
2695
|
"page_size"?: number | null;
|
|
2370
2696
|
}
|
|
2371
2697
|
/** Backend response type: models::VariantListResponse. */
|
|
2698
|
+
export interface ProductListVariantsGetResponseDataVariants extends JsonObject {
|
|
2699
|
+
"id": string;
|
|
2700
|
+
"product_id": string;
|
|
2701
|
+
"name": string;
|
|
2702
|
+
"sku": JsonValue;
|
|
2703
|
+
"price": number;
|
|
2704
|
+
"cost": number;
|
|
2705
|
+
"weight": number;
|
|
2706
|
+
"stock_priority": number;
|
|
2707
|
+
"status": number;
|
|
2708
|
+
"sort_order": number;
|
|
2709
|
+
"created_at": string;
|
|
2710
|
+
"updated_at": string;
|
|
2711
|
+
}
|
|
2372
2712
|
export interface ProductListVariantsGetResponseData extends JsonObject {
|
|
2373
|
-
"variants":
|
|
2713
|
+
"variants": ProductListVariantsGetResponseDataVariants[];
|
|
2374
2714
|
"page_number": number;
|
|
2375
2715
|
"page_size": number;
|
|
2376
2716
|
"total_items": number;
|
|
@@ -2462,8 +2802,15 @@ export interface TagListTagsGetQuery extends QueryParams {
|
|
|
2462
2802
|
"page_size"?: number | null;
|
|
2463
2803
|
}
|
|
2464
2804
|
/** Backend response type: models::TagListResponse. */
|
|
2805
|
+
export interface TagListTagsGetResponseDataTags extends JsonObject {
|
|
2806
|
+
"id": string;
|
|
2807
|
+
"name": string;
|
|
2808
|
+
"status": number;
|
|
2809
|
+
"created_at": string;
|
|
2810
|
+
"updated_at": string;
|
|
2811
|
+
}
|
|
2465
2812
|
export interface TagListTagsGetResponseData extends JsonObject {
|
|
2466
|
-
"tags":
|
|
2813
|
+
"tags": TagListTagsGetResponseDataTags[];
|
|
2467
2814
|
"page_number": number;
|
|
2468
2815
|
"page_size": number;
|
|
2469
2816
|
"total_items": number;
|