@faiber/faiber-modules 0.24.0 → 1.0.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.
@@ -1,14 +1,11 @@
1
- import type { ApiEnvelope, BackendJson, JsonObject, JsonValue, QueryParams, QueryValue } from "@faiber/sdk-core";
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: HealthResponse. */
4
+ export type RouterStatusRouteGetResponse = import("@faiber/sdk-core").ServiceHealthResponse;
3
5
  /** Backend response type: api. */
4
- export interface RouterStatusRouteGetResponse extends ApiEnvelope<JsonValue> {
5
- }
6
- /** Backend response type: api. */
7
- export interface RouterBeautifiedOpenapiGetResponse extends ApiEnvelope<JsonValue> {
8
- }
9
- /** Backend response type: api. */
10
- export interface RouterOpenapiJsonGetResponse extends ApiEnvelope<JsonValue> {
11
- }
6
+ export type RouterBeautifiedOpenapiGetResponse = import("@faiber/sdk-core").ServiceOpenApiDocument;
7
+ /** Backend response type: utoipa::openapi::OpenApi. */
8
+ export type RouterOpenapiJsonGetResponse = import("@faiber/sdk-core").ServiceOpenApiDocument;
12
9
  /** Backend response type: Vec<models::AccessResponseDTO>. */
13
10
  export type AccessListOnTargetGetResponseItemAccessLevel = "Maintainer" | "Editor" | "Viewer";
14
11
  export interface AccessListOnTargetGetResponseItem extends JsonObject {
@@ -67,8 +64,8 @@ export interface AuditLogListOnTargetGetResponseItem extends JsonObject {
67
64
  "id": string;
68
65
  "user_id": string;
69
66
  "action": string;
70
- "target_id"?: string | null;
71
- "metadata"?: JsonValue | null;
67
+ "target_id": string | null;
68
+ "metadata": JsonValue | null;
72
69
  "created_at": string;
73
70
  }
74
71
  export interface AuditLogListOnTargetGetResponse extends ApiEnvelope<AuditLogListOnTargetGetResponseItem[]> {
@@ -91,10 +88,10 @@ export interface AuthorListAuthorsGetResponseDataAuthors extends JsonObject {
91
88
  "id": string;
92
89
  "user_id": string;
93
90
  "name": string;
94
- "bio"?: string | null;
95
- "avatar_url"?: string | null;
96
- "social_links"?: JsonValue | null;
97
- "website"?: string | null;
91
+ "bio": string | null;
92
+ "avatar_url": string | null;
93
+ "social_links": JsonValue | null;
94
+ "website": string | null;
98
95
  "created_at": string;
99
96
  "updated_at": string;
100
97
  }
@@ -120,10 +117,10 @@ export interface AuthorCreateAuthorPostResponseData extends JsonObject {
120
117
  "id": string;
121
118
  "user_id": string;
122
119
  "name": string;
123
- "bio"?: string | null;
124
- "avatar_url"?: string | null;
125
- "social_links"?: JsonValue | null;
126
- "website"?: string | null;
120
+ "bio": string | null;
121
+ "avatar_url": string | null;
122
+ "social_links": JsonValue | null;
123
+ "website": string | null;
127
124
  "created_at": string;
128
125
  "updated_at": string;
129
126
  }
@@ -140,10 +137,10 @@ export interface AuthorShowAuthorGetResponseData extends JsonObject {
140
137
  "id": string;
141
138
  "user_id": string;
142
139
  "name": string;
143
- "bio"?: string | null;
144
- "avatar_url"?: string | null;
145
- "social_links"?: JsonValue | null;
146
- "website"?: string | null;
140
+ "bio": string | null;
141
+ "avatar_url": string | null;
142
+ "social_links": JsonValue | null;
143
+ "website": string | null;
147
144
  "created_at": string;
148
145
  "updated_at": string;
149
146
  }
@@ -162,10 +159,10 @@ export interface AuthorUpdateAuthorPatchResponseData extends JsonObject {
162
159
  "id": string;
163
160
  "user_id": string;
164
161
  "name": string;
165
- "bio"?: string | null;
166
- "avatar_url"?: string | null;
167
- "social_links"?: JsonValue | null;
168
- "website"?: string | null;
162
+ "bio": string | null;
163
+ "avatar_url": string | null;
164
+ "social_links": JsonValue | null;
165
+ "website": string | null;
169
166
  "created_at": string;
170
167
  "updated_at": string;
171
168
  }
@@ -184,10 +181,10 @@ export interface AuthorUpdateAuthorPutResponseData extends JsonObject {
184
181
  "id": string;
185
182
  "user_id": string;
186
183
  "name": string;
187
- "bio"?: string | null;
188
- "avatar_url"?: string | null;
189
- "social_links"?: JsonValue | null;
190
- "website"?: string | null;
184
+ "bio": string | null;
185
+ "avatar_url": string | null;
186
+ "social_links": JsonValue | null;
187
+ "website": string | null;
191
188
  "created_at": string;
192
189
  "updated_at": string;
193
190
  }
@@ -202,10 +199,10 @@ export interface BlogListPostsGetQuery extends QueryParams {
202
199
  export interface BlogListPostsGetResponseDataPosts extends JsonObject {
203
200
  "id": string;
204
201
  "title": string;
205
- "description"?: string | null;
206
- "content"?: string | null;
207
- "image_url"?: string | null;
208
- "author_id"?: string | null;
202
+ "description": string | null;
203
+ "content": string | null;
204
+ "image_url": string | null;
205
+ "author_id": string | null;
209
206
  "status": number;
210
207
  "created_at": string;
211
208
  "updated_at": string;
@@ -231,10 +228,10 @@ export interface BlogCreatePostPostInput extends JsonObject {
231
228
  export interface BlogCreatePostPostResponseData extends JsonObject {
232
229
  "id": string;
233
230
  "title": string;
234
- "description"?: string | null;
235
- "content"?: string | null;
236
- "image_url"?: string | null;
237
- "author_id"?: string | null;
231
+ "description": string | null;
232
+ "content": string | null;
233
+ "image_url": string | null;
234
+ "author_id": string | null;
238
235
  "status": number;
239
236
  "created_at": string;
240
237
  "updated_at": string;
@@ -251,10 +248,10 @@ export type BlogDeletePostDeleteResponse = BlogDeletePostDeleteResponseData;
251
248
  export interface BlogShowPostGetResponseData extends JsonObject {
252
249
  "id": string;
253
250
  "title": string;
254
- "description"?: string | null;
255
- "content"?: string | null;
256
- "image_url"?: string | null;
257
- "author_id"?: string | null;
251
+ "description": string | null;
252
+ "content": string | null;
253
+ "image_url": string | null;
254
+ "author_id": string | null;
258
255
  "status": number;
259
256
  "created_at": string;
260
257
  "updated_at": string;
@@ -274,10 +271,10 @@ export interface BlogUpdatePostPatchInput extends JsonObject {
274
271
  export interface BlogUpdatePostPatchResponseData extends JsonObject {
275
272
  "id": string;
276
273
  "title": string;
277
- "description"?: string | null;
278
- "content"?: string | null;
279
- "image_url"?: string | null;
280
- "author_id"?: string | null;
274
+ "description": string | null;
275
+ "content": string | null;
276
+ "image_url": string | null;
277
+ "author_id": string | null;
281
278
  "status": number;
282
279
  "created_at": string;
283
280
  "updated_at": string;
@@ -297,28 +294,29 @@ export interface BlogUpdatePostPutInput extends JsonObject {
297
294
  export interface BlogUpdatePostPutResponseData extends JsonObject {
298
295
  "id": string;
299
296
  "title": string;
300
- "description"?: string | null;
301
- "content"?: string | null;
302
- "image_url"?: string | null;
303
- "author_id"?: string | null;
297
+ "description": string | null;
298
+ "content": string | null;
299
+ "image_url": string | null;
300
+ "author_id": string | null;
304
301
  "status": number;
305
302
  "created_at": string;
306
303
  "updated_at": string;
307
304
  }
308
305
  export interface BlogUpdatePostPutResponse extends ApiEnvelope<BlogUpdatePostPutResponseData> {
309
306
  }
310
- /** Backend query type: PaginationQuery. */
307
+ /** Backend query type: HostedListQuery. */
311
308
  export interface CategoryListCategoriesGetQuery extends QueryParams {
312
309
  "page_number"?: number | null;
313
310
  "page_size"?: number | null;
311
+ "search"?: string;
314
312
  }
315
313
  /** Backend response type: models::CategoryListResponse. */
316
314
  export interface CategoryListCategoriesGetResponseDataCategories extends JsonObject {
317
315
  "id": string;
318
- "parent_id"?: string | null;
319
- "name"?: string | null;
320
- "description"?: string | null;
321
- "image_url"?: string | null;
316
+ "parent_id": string | null;
317
+ "name": string | null;
318
+ "description": string | null;
319
+ "image_url": string | null;
322
320
  "scope": string;
323
321
  "status": number;
324
322
  "requires_confirmation": boolean;
@@ -326,6 +324,7 @@ export interface CategoryListCategoriesGetResponseDataCategories extends JsonObj
326
324
  "updated_at": string;
327
325
  }
328
326
  export interface CategoryListCategoriesGetResponseData extends JsonObject {
327
+ "search": string | null;
329
328
  "categories": CategoryListCategoriesGetResponseDataCategories[];
330
329
  "page_number": number;
331
330
  "page_size": number;
@@ -346,10 +345,10 @@ export interface CategoryCreateCategoryPostInput extends JsonObject {
346
345
  /** Backend response type: models::CategoryResponseDTO. */
347
346
  export interface CategoryCreateCategoryPostResponseData extends JsonObject {
348
347
  "id": string;
349
- "parent_id"?: string | null;
350
- "name"?: string | null;
351
- "description"?: string | null;
352
- "image_url"?: string | null;
348
+ "parent_id": string | null;
349
+ "name": string | null;
350
+ "description": string | null;
351
+ "image_url": string | null;
353
352
  "scope": string;
354
353
  "status": number;
355
354
  "requires_confirmation": boolean;
@@ -402,10 +401,10 @@ export type CategoryDeleteCategoryDeleteResponse = CategoryDeleteCategoryDeleteR
402
401
  /** Backend response type: models::CategoryResponseDTO. */
403
402
  export interface CategoryShowCategoryGetResponseData extends JsonObject {
404
403
  "id": string;
405
- "parent_id"?: string | null;
406
- "name"?: string | null;
407
- "description"?: string | null;
408
- "image_url"?: string | null;
404
+ "parent_id": string | null;
405
+ "name": string | null;
406
+ "description": string | null;
407
+ "image_url": string | null;
409
408
  "scope": string;
410
409
  "status": number;
411
410
  "requires_confirmation": boolean;
@@ -427,10 +426,10 @@ export interface CategoryUpdateCategoryPatchInput extends JsonObject {
427
426
  /** Backend response type: models::CategoryResponseDTO. */
428
427
  export interface CategoryUpdateCategoryPatchResponseData extends JsonObject {
429
428
  "id": string;
430
- "parent_id"?: string | null;
431
- "name"?: string | null;
432
- "description"?: string | null;
433
- "image_url"?: string | null;
429
+ "parent_id": string | null;
430
+ "name": string | null;
431
+ "description": string | null;
432
+ "image_url": string | null;
434
433
  "scope": string;
435
434
  "status": number;
436
435
  "requires_confirmation": boolean;
@@ -452,10 +451,10 @@ export interface CategoryUpdateCategoryPutInput extends JsonObject {
452
451
  /** Backend response type: models::CategoryResponseDTO. */
453
452
  export interface CategoryUpdateCategoryPutResponseData extends JsonObject {
454
453
  "id": string;
455
- "parent_id"?: string | null;
456
- "name"?: string | null;
457
- "description"?: string | null;
458
- "image_url"?: string | null;
454
+ "parent_id": string | null;
455
+ "name": string | null;
456
+ "description": string | null;
457
+ "image_url": string | null;
459
458
  "scope": string;
460
459
  "status": number;
461
460
  "requires_confirmation": boolean;
@@ -473,8 +472,8 @@ export interface CommentListCommentsGetQuery extends QueryParams {
473
472
  export interface CommentListCommentsGetResponseDataComments extends JsonObject {
474
473
  "id": string;
475
474
  "user_id": string;
476
- "author_id"?: string | null;
477
- "parent_id"?: string | null;
475
+ "author_id": string | null;
476
+ "parent_id": string | null;
478
477
  "content": string;
479
478
  "status": number;
480
479
  "created_at": string;
@@ -499,8 +498,8 @@ export interface CommentCreateCommentPostInput extends JsonObject {
499
498
  export interface CommentCreateCommentPostResponseData extends JsonObject {
500
499
  "id": string;
501
500
  "user_id": string;
502
- "author_id"?: string | null;
503
- "parent_id"?: string | null;
501
+ "author_id": string | null;
502
+ "parent_id": string | null;
504
503
  "content": string;
505
504
  "status": number;
506
505
  "created_at": string;
@@ -546,8 +545,8 @@ export type CommentDeleteCommentDeleteResponse = CommentDeleteCommentDeleteRespo
546
545
  export interface CommentShowCommentGetResponseData extends JsonObject {
547
546
  "id": string;
548
547
  "user_id": string;
549
- "author_id"?: string | null;
550
- "parent_id"?: string | null;
548
+ "author_id": string | null;
549
+ "parent_id": string | null;
551
550
  "content": string;
552
551
  "status": number;
553
552
  "created_at": string;
@@ -564,8 +563,8 @@ export interface CommentUpdateCommentPatchInput extends JsonObject {
564
563
  export interface CommentUpdateCommentPatchResponseData extends JsonObject {
565
564
  "id": string;
566
565
  "user_id": string;
567
- "author_id"?: string | null;
568
- "parent_id"?: string | null;
566
+ "author_id": string | null;
567
+ "parent_id": string | null;
569
568
  "content": string;
570
569
  "status": number;
571
570
  "created_at": string;
@@ -582,8 +581,8 @@ export interface CommentUpdateCommentPutInput extends JsonObject {
582
581
  export interface CommentUpdateCommentPutResponseData extends JsonObject {
583
582
  "id": string;
584
583
  "user_id": string;
585
- "author_id"?: string | null;
586
- "parent_id"?: string | null;
584
+ "author_id": string | null;
585
+ "parent_id": string | null;
587
586
  "content": string;
588
587
  "status": number;
589
588
  "created_at": string;
@@ -600,9 +599,9 @@ export interface ContentListContentsGetQuery extends QueryParams {
600
599
  export interface ContentListContentsGetResponseDataContents extends JsonObject {
601
600
  "id": string;
602
601
  "created_by_user_id": string;
603
- "created_by_author_id"?: string | null;
604
- "content"?: string | null;
605
- "auto_saved_content"?: string | null;
602
+ "created_by_author_id": string | null;
603
+ "content": string | null;
604
+ "auto_saved_content": string | null;
606
605
  "created_at": string;
607
606
  "updated_at": string;
608
607
  }
@@ -623,9 +622,9 @@ export interface ContentCreateContentPostInput extends JsonObject {
623
622
  export interface ContentCreateContentPostResponseData extends JsonObject {
624
623
  "id": string;
625
624
  "created_by_user_id": string;
626
- "created_by_author_id"?: string | null;
627
- "content"?: string | null;
628
- "auto_saved_content"?: string | null;
625
+ "created_by_author_id": string | null;
626
+ "content": string | null;
627
+ "auto_saved_content": string | null;
629
628
  "created_at": string;
630
629
  "updated_at": string;
631
630
  }
@@ -649,7 +648,7 @@ export interface ContentListOnTargetGetResponseItem extends JsonObject {
649
648
  "target_id": string;
650
649
  "content_type": ContentListOnTargetGetResponseItemContentType;
651
650
  "sort_order": number;
652
- "priority"?: number | null;
651
+ "priority": number | null;
653
652
  "created_at": string;
654
653
  }
655
654
  export interface ContentListOnTargetGetResponse extends ApiEnvelope<ContentListOnTargetGetResponseItem[]> {
@@ -670,7 +669,7 @@ export interface ContentAttachToTargetPostResponseData extends JsonObject {
670
669
  "target_id": string;
671
670
  "content_type": ContentAttachToTargetPostResponseDataContentType;
672
671
  "sort_order": number;
673
- "priority"?: number | null;
672
+ "priority": number | null;
674
673
  "created_at": string;
675
674
  }
676
675
  export interface ContentAttachToTargetPostResponse extends ApiEnvelope<ContentAttachToTargetPostResponseData> {
@@ -685,9 +684,9 @@ export type ContentDeleteContentDeleteResponse = ContentDeleteContentDeleteRespo
685
684
  export interface ContentShowContentGetResponseData extends JsonObject {
686
685
  "id": string;
687
686
  "created_by_user_id": string;
688
- "created_by_author_id"?: string | null;
689
- "content"?: string | null;
690
- "auto_saved_content"?: string | null;
687
+ "created_by_author_id": string | null;
688
+ "content": string | null;
689
+ "auto_saved_content": string | null;
691
690
  "created_at": string;
692
691
  "updated_at": string;
693
692
  }
@@ -708,9 +707,9 @@ export interface ContentUpdateContentPatchQuery extends QueryParams {
708
707
  export interface ContentUpdateContentPatchResponseData extends JsonObject {
709
708
  "id": string;
710
709
  "created_by_user_id": string;
711
- "created_by_author_id"?: string | null;
712
- "content"?: string | null;
713
- "auto_saved_content"?: string | null;
710
+ "created_by_author_id": string | null;
711
+ "content": string | null;
712
+ "auto_saved_content": string | null;
714
713
  "created_at": string;
715
714
  "updated_at": string;
716
715
  }
@@ -731,17 +730,14 @@ export interface ContentUpdateContentPutQuery extends QueryParams {
731
730
  export interface ContentUpdateContentPutResponseData extends JsonObject {
732
731
  "id": string;
733
732
  "created_by_user_id": string;
734
- "created_by_author_id"?: string | null;
735
- "content"?: string | null;
736
- "auto_saved_content"?: string | null;
733
+ "created_by_author_id": string | null;
734
+ "content": string | null;
735
+ "auto_saved_content": string | null;
737
736
  "created_at": string;
738
737
  "updated_at": string;
739
738
  }
740
739
  export interface ContentUpdateContentPutResponse extends ApiEnvelope<ContentUpdateContentPutResponseData> {
741
740
  }
742
- /** Backend response type: infera_flow_sdk::FlowIntegrationResponse. */
743
- export interface IntegrationFlowIntegrationShowGetResponse extends ApiEnvelope<BackendJson<"infera_flow_sdk::FlowIntegrationResponse">> {
744
- }
745
741
  /** Backend query type: models::InventoryListQuery. */
746
742
  export interface InventoryListInventoriesGetQuery extends QueryParams {
747
743
  "variant_id"?: string | null;
@@ -864,8 +860,8 @@ export interface StockMovementListStockMovementsGetResponseDataStockMovements ex
864
860
  "warehouse_id": string;
865
861
  "type": string;
866
862
  "quantity": number;
867
- "reference_id"?: string | null;
868
- "reason"?: string | null;
863
+ "reference_id": string | null;
864
+ "reason": string | null;
869
865
  "created_at": string;
870
866
  }
871
867
  export interface StockMovementListStockMovementsGetResponseData extends JsonObject {
@@ -892,8 +888,8 @@ export interface StockMovementCreateStockMovementPostResponseData extends JsonOb
892
888
  "warehouse_id": string;
893
889
  "type": string;
894
890
  "quantity": number;
895
- "reference_id"?: string | null;
896
- "reason"?: string | null;
891
+ "reference_id": string | null;
892
+ "reason": string | null;
897
893
  "created_at": string;
898
894
  }
899
895
  export interface StockMovementCreateStockMovementPostResponse extends ApiEnvelope<StockMovementCreateStockMovementPostResponseData> {
@@ -989,24 +985,24 @@ export interface InventoryUpdateWarehousePutResponseData extends JsonObject {
989
985
  export interface InventoryUpdateWarehousePutResponse extends ApiEnvelope<InventoryUpdateWarehousePutResponseData> {
990
986
  }
991
987
  /** Backend response type: Value. */
992
- export type ManagementApiAgentModelsGetResponse = JsonValue;
988
+ export type ManagementApiAgentModelsGetResponse = import("./contracts.types.js").ModulesAgentModelCatalog;
993
989
  /** Backend response type: Vec<ProposalRecord>. */
994
990
  export interface ManagementApiListProposalsGetResponseItem extends JsonObject {
995
991
  "id": string;
996
- "agentic_run_id"?: string | null;
992
+ "agentic_run_id": string | null;
997
993
  "actor_user_id": string;
998
994
  "specialist": string;
999
995
  "operation": string;
1000
996
  "target_type": string;
1001
- "target_id"?: string | null;
1002
- "expected_etag"?: string | null;
997
+ "target_id": string | null;
998
+ "expected_etag": string | null;
1003
999
  "diff": JsonValue;
1004
1000
  "risk": string;
1005
1001
  "status": string;
1006
1002
  "idempotency_key": string;
1007
1003
  "expires_at": string;
1008
- "approved_by"?: string | null;
1009
- "applied_at"?: string | null;
1004
+ "approved_by": string | null;
1005
+ "applied_at": string | null;
1010
1006
  "created_at": string;
1011
1007
  "updated_at": string;
1012
1008
  }
@@ -1014,20 +1010,20 @@ export type ManagementApiListProposalsGetResponse = ManagementApiListProposalsGe
1014
1010
  /** Backend response type: ProposalRecord. */
1015
1011
  export interface ManagementApiGetProposalGetResponseData extends JsonObject {
1016
1012
  "id": string;
1017
- "agentic_run_id"?: string | null;
1013
+ "agentic_run_id": string | null;
1018
1014
  "actor_user_id": string;
1019
1015
  "specialist": string;
1020
1016
  "operation": string;
1021
1017
  "target_type": string;
1022
- "target_id"?: string | null;
1023
- "expected_etag"?: string | null;
1018
+ "target_id": string | null;
1019
+ "expected_etag": string | null;
1024
1020
  "diff": JsonValue;
1025
1021
  "risk": string;
1026
1022
  "status": string;
1027
1023
  "idempotency_key": string;
1028
1024
  "expires_at": string;
1029
- "approved_by"?: string | null;
1030
- "applied_at"?: string | null;
1025
+ "approved_by": string | null;
1026
+ "applied_at": string | null;
1031
1027
  "created_at": string;
1032
1028
  "updated_at": string;
1033
1029
  }
@@ -1035,20 +1031,20 @@ export type ManagementApiGetProposalGetResponse = ManagementApiGetProposalGetRes
1035
1031
  /** Backend response type: ProposalRecord. */
1036
1032
  export interface ManagementApiApproveProposalPostResponseData extends JsonObject {
1037
1033
  "id": string;
1038
- "agentic_run_id"?: string | null;
1034
+ "agentic_run_id": string | null;
1039
1035
  "actor_user_id": string;
1040
1036
  "specialist": string;
1041
1037
  "operation": string;
1042
1038
  "target_type": string;
1043
- "target_id"?: string | null;
1044
- "expected_etag"?: string | null;
1039
+ "target_id": string | null;
1040
+ "expected_etag": string | null;
1045
1041
  "diff": JsonValue;
1046
1042
  "risk": string;
1047
1043
  "status": string;
1048
1044
  "idempotency_key": string;
1049
1045
  "expires_at": string;
1050
- "approved_by"?: string | null;
1051
- "applied_at"?: string | null;
1046
+ "approved_by": string | null;
1047
+ "applied_at": string | null;
1052
1048
  "created_at": string;
1053
1049
  "updated_at": string;
1054
1050
  }
@@ -1056,20 +1052,20 @@ export type ManagementApiApproveProposalPostResponse = ManagementApiApprovePropo
1056
1052
  /** Backend response type: ProposalRecord. */
1057
1053
  export interface ManagementApiRejectProposalPostResponseData extends JsonObject {
1058
1054
  "id": string;
1059
- "agentic_run_id"?: string | null;
1055
+ "agentic_run_id": string | null;
1060
1056
  "actor_user_id": string;
1061
1057
  "specialist": string;
1062
1058
  "operation": string;
1063
1059
  "target_type": string;
1064
- "target_id"?: string | null;
1065
- "expected_etag"?: string | null;
1060
+ "target_id": string | null;
1061
+ "expected_etag": string | null;
1066
1062
  "diff": JsonValue;
1067
1063
  "risk": string;
1068
1064
  "status": string;
1069
1065
  "idempotency_key": string;
1070
1066
  "expires_at": string;
1071
- "approved_by"?: string | null;
1072
- "applied_at"?: string | null;
1067
+ "approved_by": string | null;
1068
+ "applied_at": string | null;
1073
1069
  "created_at": string;
1074
1070
  "updated_at": string;
1075
1071
  }
@@ -1088,8 +1084,7 @@ export interface ManagementApiRunAgentPostInput extends JsonObject {
1088
1084
  "risk"?: string;
1089
1085
  }
1090
1086
  /** Backend response type: raw-response. */
1091
- export interface ManagementApiRunAgentPostResponse extends ApiEnvelope<JsonValue> {
1092
- }
1087
+ export type ManagementApiRunAgentPostResponse = import("./contracts.types.js").ModulesAgentRunResponse;
1093
1088
  /** Backend query type: ContentListQuery. */
1094
1089
  export interface ManagementApiListContentGetQuery extends QueryParams {
1095
1090
  "kind"?: string | null;
@@ -1100,8 +1095,8 @@ export interface ManagementApiListContentGetQuery extends QueryParams {
1100
1095
  export interface ManagementApiListContentGetResponseItem extends JsonObject {
1101
1096
  "id": string;
1102
1097
  "kind": string;
1103
- "legacy_host"?: string | null;
1104
- "legacy_id"?: string | null;
1098
+ "legacy_host": string | null;
1099
+ "legacy_id": string | null;
1105
1100
  "slug": string;
1106
1101
  "locale": string;
1107
1102
  "title": string;
@@ -1111,8 +1106,8 @@ export interface ManagementApiListContentGetResponseItem extends JsonObject {
1111
1106
  "plain_text": string;
1112
1107
  "current_revision": number;
1113
1108
  "etag": string;
1114
- "publish_at"?: string | null;
1115
- "published_at"?: string | null;
1109
+ "publish_at": string | null;
1110
+ "published_at": string | null;
1116
1111
  "created_by": string;
1117
1112
  "updated_by": string;
1118
1113
  "created_at": string;
@@ -1129,11 +1124,9 @@ export interface ManagementApiCreateContentPostInput extends JsonObject {
1129
1124
  "publish_at"?: string | null;
1130
1125
  }
1131
1126
  /** Backend response type: raw-response. */
1132
- export interface ManagementApiCreateContentPostResponse extends ApiEnvelope<JsonValue> {
1133
- }
1127
+ export type ManagementApiCreateContentPostResponse = import("./types.js").ContentDocument;
1134
1128
  /** Backend response type: raw-response. */
1135
- export interface ManagementApiGetContentGetResponse extends ApiEnvelope<JsonValue> {
1136
- }
1129
+ export type ManagementApiGetContentGetResponse = import("./types.js").ContentDocument;
1137
1130
  /** Backend request type: ContentWrite. */
1138
1131
  export interface ManagementApiUpdateContentPutInput extends JsonObject {
1139
1132
  "kind": string;
@@ -1144,11 +1137,9 @@ export interface ManagementApiUpdateContentPutInput extends JsonObject {
1144
1137
  "publish_at"?: string | null;
1145
1138
  }
1146
1139
  /** Backend response type: raw-response. */
1147
- export interface ManagementApiUpdateContentPutResponse extends ApiEnvelope<JsonValue> {
1148
- }
1140
+ export type ManagementApiUpdateContentPutResponse = import("./types.js").ContentDocument;
1149
1141
  /** Backend response type: raw-response. */
1150
- export interface ManagementApiPublishContentPostResponse extends ApiEnvelope<JsonValue> {
1151
- }
1142
+ export type ManagementApiPublishContentPostResponse = import("./types.js").ContentDocument;
1152
1143
  /** Backend response type: Vec<ContentRevisionRecord>. */
1153
1144
  export interface ManagementApiListContentRevisionsGetResponseItem extends JsonObject {
1154
1145
  "id": string;
@@ -1164,8 +1155,7 @@ export interface ManagementApiListContentRevisionsGetResponseItem extends JsonOb
1164
1155
  }
1165
1156
  export type ManagementApiListContentRevisionsGetResponse = ManagementApiListContentRevisionsGetResponseItem[];
1166
1157
  /** Backend response type: raw-response. */
1167
- export interface ManagementApiRestoreContentRevisionPostResponse extends ApiEnvelope<JsonValue> {
1168
- }
1158
+ export type ManagementApiRestoreContentRevisionPostResponse = import("./types.js").ContentDocument;
1169
1159
  /** Backend request type: CategoryImport. */
1170
1160
  export interface ContentTransferUpsertCategoryPutInput extends JsonObject {
1171
1161
  "parent_id"?: string | null;
@@ -1183,14 +1173,14 @@ export interface ContentTransferUpsertCategoryPutInput extends JsonObject {
1183
1173
  /** Backend response type: CategoryRecord. */
1184
1174
  export interface ContentTransferUpsertCategoryPutResponseData extends JsonObject {
1185
1175
  "id": string;
1186
- "parent_id"?: string | null;
1187
- "legacy_host"?: string | null;
1188
- "legacy_id"?: string | null;
1189
- "slug"?: string | null;
1176
+ "parent_id": string | null;
1177
+ "legacy_host": string | null;
1178
+ "legacy_id": string | null;
1179
+ "slug": string | null;
1190
1180
  "locale": string;
1191
- "name"?: string | null;
1192
- "description"?: string | null;
1193
- "image_url"?: string | null;
1181
+ "name": string | null;
1182
+ "description": string | null;
1183
+ "image_url": string | null;
1194
1184
  "scope": string;
1195
1185
  "status": number;
1196
1186
  "seo": JsonValue;
@@ -1217,8 +1207,8 @@ export interface ContentTransferUpsertContentPutInput extends JsonObject {
1217
1207
  export interface ContentTransferUpsertContentPutResponseData extends JsonObject {
1218
1208
  "id": string;
1219
1209
  "kind": string;
1220
- "legacy_host"?: string | null;
1221
- "legacy_id"?: string | null;
1210
+ "legacy_host": string | null;
1211
+ "legacy_id": string | null;
1222
1212
  "slug": string;
1223
1213
  "locale": string;
1224
1214
  "title": string;
@@ -1228,8 +1218,8 @@ export interface ContentTransferUpsertContentPutResponseData extends JsonObject
1228
1218
  "plain_text": string;
1229
1219
  "current_revision": number;
1230
1220
  "etag": string;
1231
- "publish_at"?: string | null;
1232
- "published_at"?: string | null;
1221
+ "publish_at": string | null;
1222
+ "published_at": string | null;
1233
1223
  "created_by": string;
1234
1224
  "updated_by": string;
1235
1225
  "created_at": string;
@@ -1237,8 +1227,7 @@ export interface ContentTransferUpsertContentPutResponseData extends JsonObject
1237
1227
  }
1238
1228
  export type ContentTransferUpsertContentPutResponse = ContentTransferUpsertContentPutResponseData;
1239
1229
  /** Backend response type: raw-response. */
1240
- export interface ManagementApiGetSettingsGetResponse extends ApiEnvelope<JsonValue> {
1241
- }
1230
+ export type ManagementApiGetSettingsGetResponse = import("./contracts.types.js").ModulesSettingsWire;
1242
1231
  /** Backend request type: SettingsUpdate. */
1243
1232
  export interface ManagementApiUpdateSettingsPutInput extends JsonObject {
1244
1233
  "title": string;
@@ -1251,8 +1240,7 @@ export interface ManagementApiUpdateSettingsPutInput extends JsonObject {
1251
1240
  "delivery"?: JsonValue;
1252
1241
  }
1253
1242
  /** Backend response type: raw-response. */
1254
- export interface ManagementApiUpdateSettingsPutResponse extends ApiEnvelope<JsonValue> {
1255
- }
1243
+ export type ManagementApiUpdateSettingsPutResponse = import("./contracts.types.js").ModulesSettingsWire;
1256
1244
  /** Backend request type: multipart/form-data. */
1257
1245
  export type MediaUploadAssetPostInput = FormData;
1258
1246
  /** Backend response type: UploadResponse. */
@@ -1264,8 +1252,7 @@ export interface MediaUploadAssetPostResponseData extends JsonObject {
1264
1252
  }
1265
1253
  export type MediaUploadAssetPostResponse = MediaUploadAssetPostResponseData;
1266
1254
  /** Backend response type: raw-response. */
1267
- export interface MediaGetFileGetResponse extends ApiEnvelope<JsonValue> {
1268
- }
1255
+ export type MediaGetFileGetResponse = ArrayBuffer | Uint8Array;
1269
1256
  /** Backend request type: multipart/form-data. */
1270
1257
  export type MediaUploadImagePostInput = FormData;
1271
1258
  /** Backend response type: UploadResponse. */
@@ -1280,8 +1267,8 @@ export type MediaUploadImagePostResponse = MediaUploadImagePostResponseData;
1280
1267
  export interface PodcastListGetResponseItem extends JsonObject {
1281
1268
  "id": string;
1282
1269
  "title": string;
1283
- "description"?: string | null;
1284
- "cover_image_url"?: string | null;
1270
+ "description": string | null;
1271
+ "cover_image_url": string | null;
1285
1272
  "status": number;
1286
1273
  "created_by_user_id": string;
1287
1274
  "created_at": string;
@@ -1300,8 +1287,8 @@ export interface PodcastCreatePostInput extends JsonObject {
1300
1287
  export interface PodcastCreatePostResponseData extends JsonObject {
1301
1288
  "id": string;
1302
1289
  "title": string;
1303
- "description"?: string | null;
1304
- "cover_image_url"?: string | null;
1290
+ "description": string | null;
1291
+ "cover_image_url": string | null;
1305
1292
  "status": number;
1306
1293
  "created_by_user_id": string;
1307
1294
  "created_at": string;
@@ -1320,22 +1307,22 @@ export interface PodcastShowGetResponseDataEpisodes extends JsonObject {
1320
1307
  "id": string;
1321
1308
  "podcast_id": string;
1322
1309
  "title": string;
1323
- "description"?: string | null;
1310
+ "description": string | null;
1324
1311
  "sort_order": number;
1325
1312
  "audio_source": string;
1326
- "external_audio_url"?: string | null;
1327
- "drm_media_id"?: string | null;
1328
- "duration_seconds"?: number | null;
1313
+ "external_audio_url": string | null;
1314
+ "drm_media_id": string | null;
1315
+ "duration_seconds": number | null;
1329
1316
  "status": number;
1330
- "published_at"?: string | null;
1317
+ "published_at": string | null;
1331
1318
  "created_at": string;
1332
1319
  "updated_at": string;
1333
1320
  }
1334
1321
  export interface PodcastShowGetResponseData extends JsonObject {
1335
1322
  "id": string;
1336
1323
  "title": string;
1337
- "description"?: string | null;
1338
- "cover_image_url"?: string | null;
1324
+ "description": string | null;
1325
+ "cover_image_url": string | null;
1339
1326
  "status": number;
1340
1327
  "created_by_user_id": string;
1341
1328
  "created_at": string;
@@ -1355,8 +1342,8 @@ export interface PodcastUpdatePatchInput extends JsonObject {
1355
1342
  export interface PodcastUpdatePatchResponseData extends JsonObject {
1356
1343
  "id": string;
1357
1344
  "title": string;
1358
- "description"?: string | null;
1359
- "cover_image_url"?: string | null;
1345
+ "description": string | null;
1346
+ "cover_image_url": string | null;
1360
1347
  "status": number;
1361
1348
  "created_by_user_id": string;
1362
1349
  "created_at": string;
@@ -1365,30 +1352,20 @@ export interface PodcastUpdatePatchResponseData extends JsonObject {
1365
1352
  export interface PodcastUpdatePatchResponse extends ApiEnvelope<PodcastUpdatePatchResponseData> {
1366
1353
  }
1367
1354
  /** Backend request type: models::EpisodeInput. */
1368
- export interface PodcastCreateEpisodePostInput extends JsonObject {
1369
- "title": string;
1370
- "description"?: string | null;
1371
- "sort_order"?: number | null;
1372
- "audio_source": string;
1373
- "external_audio_url"?: string | null;
1374
- "drm_media_id"?: string | null;
1375
- "duration_seconds"?: number | null;
1376
- "status"?: number | null;
1377
- "published_at"?: string | null;
1378
- }
1355
+ export type PodcastCreateEpisodePostInput = import("./contracts.types.js").ModulesEpisodeInput;
1379
1356
  /** Backend response type: entity::podcast_episode::Model. */
1380
1357
  export interface PodcastCreateEpisodePostResponseData extends JsonObject {
1381
1358
  "id": string;
1382
1359
  "podcast_id": string;
1383
1360
  "title": string;
1384
- "description"?: string | null;
1361
+ "description": string | null;
1385
1362
  "sort_order": number;
1386
1363
  "audio_source": string;
1387
- "external_audio_url"?: string | null;
1388
- "drm_media_id"?: string | null;
1389
- "duration_seconds"?: number | null;
1364
+ "external_audio_url": string | null;
1365
+ "drm_media_id": string | null;
1366
+ "duration_seconds": number | null;
1390
1367
  "status": number;
1391
- "published_at"?: string | null;
1368
+ "published_at": string | null;
1392
1369
  "created_at": string;
1393
1370
  "updated_at": string;
1394
1371
  }
@@ -1401,30 +1378,20 @@ export interface PodcastRemoveEpisodeDeleteResponseData extends JsonObject {
1401
1378
  }
1402
1379
  export type PodcastRemoveEpisodeDeleteResponse = PodcastRemoveEpisodeDeleteResponseData;
1403
1380
  /** Backend request type: models::EpisodeUpdate. */
1404
- export interface PodcastUpdateEpisodePatchInput extends JsonObject {
1405
- "title"?: string | null;
1406
- "description"?: string | null;
1407
- "sort_order"?: number | null;
1408
- "audio_source"?: string | null;
1409
- "external_audio_url"?: string | null;
1410
- "drm_media_id"?: string | null;
1411
- "duration_seconds"?: number | null;
1412
- "status"?: number | null;
1413
- "published_at"?: string | null;
1414
- }
1381
+ export type PodcastUpdateEpisodePatchInput = import("./contracts.types.js").ModulesEpisodeUpdateInput;
1415
1382
  /** Backend response type: entity::podcast_episode::Model. */
1416
1383
  export interface PodcastUpdateEpisodePatchResponseData extends JsonObject {
1417
1384
  "id": string;
1418
1385
  "podcast_id": string;
1419
1386
  "title": string;
1420
- "description"?: string | null;
1387
+ "description": string | null;
1421
1388
  "sort_order": number;
1422
1389
  "audio_source": string;
1423
- "external_audio_url"?: string | null;
1424
- "drm_media_id"?: string | null;
1425
- "duration_seconds"?: number | null;
1390
+ "external_audio_url": string | null;
1391
+ "drm_media_id": string | null;
1392
+ "duration_seconds": number | null;
1426
1393
  "status": number;
1427
- "published_at"?: string | null;
1394
+ "published_at": string | null;
1428
1395
  "created_at": string;
1429
1396
  "updated_at": string;
1430
1397
  }
@@ -1439,7 +1406,7 @@ export interface ServicePricingListPricingGetQuery extends QueryParams {
1439
1406
  export interface ServicePricingListPricingGetResponseDataPricings extends JsonObject {
1440
1407
  "id": string;
1441
1408
  "service_name": string;
1442
- "display_name"?: string | null;
1409
+ "display_name": string | null;
1443
1410
  "hourly_price": string;
1444
1411
  "monthly_price": string;
1445
1412
  "annual_price": string;
@@ -1470,7 +1437,7 @@ export interface ServicePricingCreatePricingPostInput extends JsonObject {
1470
1437
  export interface ServicePricingCreatePricingPostResponseData extends JsonObject {
1471
1438
  "id": string;
1472
1439
  "service_name": string;
1473
- "display_name"?: string | null;
1440
+ "display_name": string | null;
1474
1441
  "hourly_price": string;
1475
1442
  "monthly_price": string;
1476
1443
  "annual_price": string;
@@ -1491,7 +1458,7 @@ export type ServicePricingDeletePricingDeleteResponse = ServicePricingDeletePric
1491
1458
  export interface ServicePricingShowPricingGetResponseData extends JsonObject {
1492
1459
  "id": string;
1493
1460
  "service_name": string;
1494
- "display_name"?: string | null;
1461
+ "display_name": string | null;
1495
1462
  "hourly_price": string;
1496
1463
  "monthly_price": string;
1497
1464
  "annual_price": string;
@@ -1516,7 +1483,7 @@ export interface ServicePricingUpdatePricingPatchInput extends JsonObject {
1516
1483
  export interface ServicePricingUpdatePricingPatchResponseData extends JsonObject {
1517
1484
  "id": string;
1518
1485
  "service_name": string;
1519
- "display_name"?: string | null;
1486
+ "display_name": string | null;
1520
1487
  "hourly_price": string;
1521
1488
  "monthly_price": string;
1522
1489
  "annual_price": string;
@@ -1541,7 +1508,7 @@ export interface ServicePricingUpdatePricingPutInput extends JsonObject {
1541
1508
  export interface ServicePricingUpdatePricingPutResponseData extends JsonObject {
1542
1509
  "id": string;
1543
1510
  "service_name": string;
1544
- "display_name"?: string | null;
1511
+ "display_name": string | null;
1545
1512
  "hourly_price": string;
1546
1513
  "monthly_price": string;
1547
1514
  "annual_price": string;
@@ -1555,14 +1522,14 @@ export interface ServicePricingUpdatePricingPutResponse extends ApiEnvelope<Serv
1555
1522
  /** Backend response type: Vec<CategoryRecord>. */
1556
1523
  export interface ContentTransferListPublicCategoriesGetResponseItem extends JsonObject {
1557
1524
  "id": string;
1558
- "parent_id"?: string | null;
1559
- "legacy_host"?: string | null;
1560
- "legacy_id"?: string | null;
1561
- "slug"?: string | null;
1525
+ "parent_id": string | null;
1526
+ "legacy_host": string | null;
1527
+ "legacy_id": string | null;
1528
+ "slug": string | null;
1562
1529
  "locale": string;
1563
- "name"?: string | null;
1564
- "description"?: string | null;
1565
- "image_url"?: string | null;
1530
+ "name": string | null;
1531
+ "description": string | null;
1532
+ "image_url": string | null;
1566
1533
  "scope": string;
1567
1534
  "status": number;
1568
1535
  "seo": JsonValue;
@@ -1580,8 +1547,8 @@ export interface ContentTransferListPublicContentGetQuery extends QueryParams {
1580
1547
  export interface ContentTransferListPublicContentGetResponseDataItems extends JsonObject {
1581
1548
  "id": string;
1582
1549
  "kind": string;
1583
- "legacy_host"?: string | null;
1584
- "legacy_id"?: string | null;
1550
+ "legacy_host": string | null;
1551
+ "legacy_id": string | null;
1585
1552
  "slug": string;
1586
1553
  "locale": string;
1587
1554
  "title": string;
@@ -1591,8 +1558,8 @@ export interface ContentTransferListPublicContentGetResponseDataItems extends Js
1591
1558
  "plain_text": string;
1592
1559
  "current_revision": number;
1593
1560
  "etag": string;
1594
- "publish_at"?: string | null;
1595
- "published_at"?: string | null;
1561
+ "publish_at": string | null;
1562
+ "published_at": string | null;
1596
1563
  "created_by": string;
1597
1564
  "updated_by": string;
1598
1565
  "created_at": string;
@@ -1606,8 +1573,7 @@ export interface ContentTransferListPublicContentGetResponseData extends JsonObj
1606
1573
  }
1607
1574
  export type ContentTransferListPublicContentGetResponse = ContentTransferListPublicContentGetResponseData;
1608
1575
  /** Backend response type: raw-response. */
1609
- export interface ManagementApiPublicContentGetResponse extends ApiEnvelope<JsonValue> {
1610
- }
1576
+ export type ManagementApiPublicContentGetResponse = import("./types.js").ContentDocument;
1611
1577
  /** Backend request type: WebsiteSubmission. */
1612
1578
  export interface RequestSubmitPostApiV1PublicRequestsKeyInput extends JsonObject {
1613
1579
  "submission_id": string;
@@ -1624,24 +1590,19 @@ export interface RequestSubmitPostApiV1PublicRequestsKeyResponseData extends Jso
1624
1590
  }
1625
1591
  export type RequestSubmitPostApiV1PublicRequestsKeyResponse = RequestSubmitPostApiV1PublicRequestsKeyResponseData;
1626
1592
  /** Backend response type: Value. */
1627
- export type ManagementApiPublicRoutesGetResponse = JsonValue;
1593
+ export type ManagementApiPublicRoutesGetResponse = import("./contracts.types.js").ModulesPublicRoutesResponse;
1628
1594
  /** Backend query type: AutocompleteQuery. */
1629
- export interface SearchAutocompleteGetQuery extends QueryParams {
1630
- "q": string;
1631
- "scope"?: QueryValue | null;
1632
- "locale"?: string | null;
1633
- "limit"?: number | null;
1634
- }
1595
+ export type SearchAutocompleteGetQuery = import("./types.js").AutocompleteQuery;
1635
1596
  /** Backend response type: AutocompleteResponse. */
1636
1597
  export type SearchAutocompleteGetResponseDataScope = "posts" | "products" | "mixed";
1637
1598
  export interface SearchAutocompleteGetResponseDataItems extends JsonObject {
1638
1599
  "id": string;
1639
1600
  "kind": string;
1640
1601
  "title": string;
1641
- "description"?: string | null;
1642
- "image_url"?: string | null;
1643
- "slug"?: string | null;
1644
- "locale"?: string | null;
1602
+ "description": string | null;
1603
+ "image_url": string | null;
1604
+ "slug": string | null;
1605
+ "locale": string | null;
1645
1606
  "score": number;
1646
1607
  }
1647
1608
  export interface SearchAutocompleteGetResponseData extends JsonObject {
@@ -1703,7 +1664,7 @@ export interface RequestListRequestsGetResponseDataRequests extends JsonObject {
1703
1664
  "id": string;
1704
1665
  "key": string;
1705
1666
  "name": string;
1706
- "description"?: string | null;
1667
+ "description": string | null;
1707
1668
  "status": number;
1708
1669
  "route_to_crm": boolean;
1709
1670
  "crm_flags": string[];
@@ -1732,7 +1693,7 @@ export interface RequestCreateRequestPostResponseData extends JsonObject {
1732
1693
  "id": string;
1733
1694
  "key": string;
1734
1695
  "name": string;
1735
- "description"?: string | null;
1696
+ "description": string | null;
1736
1697
  "status": number;
1737
1698
  "route_to_crm": boolean;
1738
1699
  "crm_flags": string[];
@@ -1787,7 +1748,7 @@ export interface RequestShowRequestGetResponseData extends JsonObject {
1787
1748
  "id": string;
1788
1749
  "key": string;
1789
1750
  "name": string;
1790
- "description"?: string | null;
1751
+ "description": string | null;
1791
1752
  "status": number;
1792
1753
  "route_to_crm": boolean;
1793
1754
  "crm_flags": string[];
@@ -1810,7 +1771,7 @@ export interface RequestUpdateRequestPatchResponseData extends JsonObject {
1810
1771
  "id": string;
1811
1772
  "key": string;
1812
1773
  "name": string;
1813
- "description"?: string | null;
1774
+ "description": string | null;
1814
1775
  "status": number;
1815
1776
  "route_to_crm": boolean;
1816
1777
  "crm_flags": string[];
@@ -1833,7 +1794,7 @@ export interface RequestUpdateRequestPutResponseData extends JsonObject {
1833
1794
  "id": string;
1834
1795
  "key": string;
1835
1796
  "name": string;
1836
- "description"?: string | null;
1797
+ "description": string | null;
1837
1798
  "status": number;
1838
1799
  "route_to_crm": boolean;
1839
1800
  "crm_flags": string[];
@@ -1845,7 +1806,7 @@ export interface RequestUpdateRequestPutResponse extends ApiEnvelope<RequestUpda
1845
1806
  /** Backend response type: Vec<models::RequestLogResponseDTO>. */
1846
1807
  export interface RequestListLogsForRequestGetResponseItem extends JsonObject {
1847
1808
  "id": string;
1848
- "user_id"?: string | null;
1809
+ "user_id": string | null;
1849
1810
  "request_id": string;
1850
1811
  "data": JsonValue;
1851
1812
  "status": number;
@@ -1860,7 +1821,7 @@ export interface RequestSubmitPostInput extends JsonObject {
1860
1821
  /** Backend response type: models::RequestLogResponseDTO. */
1861
1822
  export interface RequestSubmitPostResponseData extends JsonObject {
1862
1823
  "id": string;
1863
- "user_id"?: string | null;
1824
+ "user_id": string | null;
1864
1825
  "request_id": string;
1865
1826
  "data": JsonValue;
1866
1827
  "status": number;
@@ -1875,7 +1836,7 @@ export interface RequestListLogsForCategoryGetQuery extends QueryParams {
1875
1836
  /** Backend response type: Vec<models::RequestLogResponseDTO>. */
1876
1837
  export interface RequestListLogsForCategoryGetResponseItem extends JsonObject {
1877
1838
  "id": string;
1878
- "user_id"?: string | null;
1839
+ "user_id": string | null;
1879
1840
  "request_id": string;
1880
1841
  "data": JsonValue;
1881
1842
  "status": number;
@@ -1895,11 +1856,11 @@ export interface UserSampleListSamplesGetResponseDataSamples extends JsonObject
1895
1856
  "id": string;
1896
1857
  "slug": string;
1897
1858
  "name": string;
1898
- "description"?: string | null;
1899
- "project_slug"?: string | null;
1900
- "preview_url"?: string | null;
1901
- "thumbnail_url"?: string | null;
1902
- "category"?: string | null;
1859
+ "description": string | null;
1860
+ "project_slug": string | null;
1861
+ "preview_url": string | null;
1862
+ "thumbnail_url": string | null;
1863
+ "category": string | null;
1903
1864
  "status": number;
1904
1865
  "created_at": string;
1905
1866
  "updated_at": string;
@@ -1928,11 +1889,11 @@ export interface UserSampleCreateSamplePostResponseData extends JsonObject {
1928
1889
  "id": string;
1929
1890
  "slug": string;
1930
1891
  "name": string;
1931
- "description"?: string | null;
1932
- "project_slug"?: string | null;
1933
- "preview_url"?: string | null;
1934
- "thumbnail_url"?: string | null;
1935
- "category"?: string | null;
1892
+ "description": string | null;
1893
+ "project_slug": string | null;
1894
+ "preview_url": string | null;
1895
+ "thumbnail_url": string | null;
1896
+ "category": string | null;
1936
1897
  "status": number;
1937
1898
  "created_at": string;
1938
1899
  "updated_at": string;
@@ -1950,11 +1911,11 @@ export interface UserSampleShowSampleGetResponseData extends JsonObject {
1950
1911
  "id": string;
1951
1912
  "slug": string;
1952
1913
  "name": string;
1953
- "description"?: string | null;
1954
- "project_slug"?: string | null;
1955
- "preview_url"?: string | null;
1956
- "thumbnail_url"?: string | null;
1957
- "category"?: string | null;
1914
+ "description": string | null;
1915
+ "project_slug": string | null;
1916
+ "preview_url": string | null;
1917
+ "thumbnail_url": string | null;
1918
+ "category": string | null;
1958
1919
  "status": number;
1959
1920
  "created_at": string;
1960
1921
  "updated_at": string;
@@ -1977,11 +1938,11 @@ export interface UserSampleUpdateSamplePatchResponseData extends JsonObject {
1977
1938
  "id": string;
1978
1939
  "slug": string;
1979
1940
  "name": string;
1980
- "description"?: string | null;
1981
- "project_slug"?: string | null;
1982
- "preview_url"?: string | null;
1983
- "thumbnail_url"?: string | null;
1984
- "category"?: string | null;
1941
+ "description": string | null;
1942
+ "project_slug": string | null;
1943
+ "preview_url": string | null;
1944
+ "thumbnail_url": string | null;
1945
+ "category": string | null;
1985
1946
  "status": number;
1986
1947
  "created_at": string;
1987
1948
  "updated_at": string;
@@ -2004,11 +1965,11 @@ export interface UserSampleUpdateSamplePutResponseData extends JsonObject {
2004
1965
  "id": string;
2005
1966
  "slug": string;
2006
1967
  "name": string;
2007
- "description"?: string | null;
2008
- "project_slug"?: string | null;
2009
- "preview_url"?: string | null;
2010
- "thumbnail_url"?: string | null;
2011
- "category"?: string | null;
1968
+ "description": string | null;
1969
+ "project_slug": string | null;
1970
+ "preview_url": string | null;
1971
+ "thumbnail_url": string | null;
1972
+ "category": string | null;
2012
1973
  "status": number;
2013
1974
  "created_at": string;
2014
1975
  "updated_at": string;
@@ -2024,14 +1985,14 @@ export interface UserSampleListSampleVariablesGetQuery extends QueryParams {
2024
1985
  export interface UserSampleListSampleVariablesGetResponseDataVariables extends JsonObject {
2025
1986
  "id": string;
2026
1987
  "sample_id": string;
2027
- "sample_slug"?: string | null;
2028
- "sample_name"?: string | null;
1988
+ "sample_slug": string | null;
1989
+ "sample_name": string | null;
2029
1990
  "key": string;
2030
1991
  "label": string;
2031
- "value"?: string | null;
2032
- "group_name"?: string | null;
1992
+ "value": string | null;
1993
+ "group_name": string | null;
2033
1994
  "variable_type": string;
2034
- "description"?: string | null;
1995
+ "description": string | null;
2035
1996
  "sort_order": number;
2036
1997
  "created_at": string;
2037
1998
  "updated_at": string;
@@ -2058,14 +2019,14 @@ export interface UserSampleCreateSampleVariablePostInput extends JsonObject {
2058
2019
  export interface UserSampleCreateSampleVariablePostResponseData extends JsonObject {
2059
2020
  "id": string;
2060
2021
  "sample_id": string;
2061
- "sample_slug"?: string | null;
2062
- "sample_name"?: string | null;
2022
+ "sample_slug": string | null;
2023
+ "sample_name": string | null;
2063
2024
  "key": string;
2064
2025
  "label": string;
2065
- "value"?: string | null;
2066
- "group_name"?: string | null;
2026
+ "value": string | null;
2027
+ "group_name": string | null;
2067
2028
  "variable_type": string;
2068
- "description"?: string | null;
2029
+ "description": string | null;
2069
2030
  "sort_order": number;
2070
2031
  "created_at": string;
2071
2032
  "updated_at": string;
@@ -2090,14 +2051,14 @@ export interface UserSampleListAllVariablesGetQuery extends QueryParams {
2090
2051
  export interface UserSampleListAllVariablesGetResponseDataVariables extends JsonObject {
2091
2052
  "id": string;
2092
2053
  "sample_id": string;
2093
- "sample_slug"?: string | null;
2094
- "sample_name"?: string | null;
2054
+ "sample_slug": string | null;
2055
+ "sample_name": string | null;
2095
2056
  "key": string;
2096
2057
  "label": string;
2097
- "value"?: string | null;
2098
- "group_name"?: string | null;
2058
+ "value": string | null;
2059
+ "group_name": string | null;
2099
2060
  "variable_type": string;
2100
- "description"?: string | null;
2061
+ "description": string | null;
2101
2062
  "sort_order": number;
2102
2063
  "created_at": string;
2103
2064
  "updated_at": string;
@@ -2120,14 +2081,14 @@ export type UserSampleDeleteVariableDeleteResponse = UserSampleDeleteVariableDel
2120
2081
  export interface UserSampleShowVariableGetResponseData extends JsonObject {
2121
2082
  "id": string;
2122
2083
  "sample_id": string;
2123
- "sample_slug"?: string | null;
2124
- "sample_name"?: string | null;
2084
+ "sample_slug": string | null;
2085
+ "sample_name": string | null;
2125
2086
  "key": string;
2126
2087
  "label": string;
2127
- "value"?: string | null;
2128
- "group_name"?: string | null;
2088
+ "value": string | null;
2089
+ "group_name": string | null;
2129
2090
  "variable_type": string;
2130
- "description"?: string | null;
2091
+ "description": string | null;
2131
2092
  "sort_order": number;
2132
2093
  "created_at": string;
2133
2094
  "updated_at": string;
@@ -2148,14 +2109,14 @@ export interface UserSampleUpdateVariablePatchInput extends JsonObject {
2148
2109
  export interface UserSampleUpdateVariablePatchResponseData extends JsonObject {
2149
2110
  "id": string;
2150
2111
  "sample_id": string;
2151
- "sample_slug"?: string | null;
2152
- "sample_name"?: string | null;
2112
+ "sample_slug": string | null;
2113
+ "sample_name": string | null;
2153
2114
  "key": string;
2154
2115
  "label": string;
2155
- "value"?: string | null;
2156
- "group_name"?: string | null;
2116
+ "value": string | null;
2117
+ "group_name": string | null;
2157
2118
  "variable_type": string;
2158
- "description"?: string | null;
2119
+ "description": string | null;
2159
2120
  "sort_order": number;
2160
2121
  "created_at": string;
2161
2122
  "updated_at": string;
@@ -2176,37 +2137,39 @@ export interface UserSampleUpdateVariablePutInput extends JsonObject {
2176
2137
  export interface UserSampleUpdateVariablePutResponseData extends JsonObject {
2177
2138
  "id": string;
2178
2139
  "sample_id": string;
2179
- "sample_slug"?: string | null;
2180
- "sample_name"?: string | null;
2140
+ "sample_slug": string | null;
2141
+ "sample_name": string | null;
2181
2142
  "key": string;
2182
2143
  "label": string;
2183
- "value"?: string | null;
2184
- "group_name"?: string | null;
2144
+ "value": string | null;
2145
+ "group_name": string | null;
2185
2146
  "variable_type": string;
2186
- "description"?: string | null;
2147
+ "description": string | null;
2187
2148
  "sort_order": number;
2188
2149
  "created_at": string;
2189
2150
  "updated_at": string;
2190
2151
  }
2191
2152
  export interface UserSampleUpdateVariablePutResponse extends ApiEnvelope<UserSampleUpdateVariablePutResponseData> {
2192
2153
  }
2193
- /** Backend query type: PaginationQuery. */
2154
+ /** Backend query type: HostedListQuery. */
2194
2155
  export interface SeoContentListSeoContentsGetQuery extends QueryParams {
2195
2156
  "page_number"?: number | null;
2196
2157
  "page_size"?: number | null;
2158
+ "search"?: string;
2197
2159
  }
2198
2160
  /** Backend response type: models::SeoContentListResponse. */
2199
2161
  export interface SeoContentListSeoContentsGetResponseDataSeoContents extends JsonObject {
2200
2162
  "id": string;
2201
- "meta_url"?: string | null;
2202
- "meta_title"?: string | null;
2203
- "meta_description"?: string | null;
2204
- "meta_keyword"?: string | null;
2205
- "meta_ld"?: JsonValue | null;
2163
+ "meta_url": string | null;
2164
+ "meta_title": string | null;
2165
+ "meta_description": string | null;
2166
+ "meta_keyword": string | null;
2167
+ "meta_ld": JsonValue | null;
2206
2168
  "created_at": string;
2207
2169
  "updated_at": string;
2208
2170
  }
2209
2171
  export interface SeoContentListSeoContentsGetResponseData extends JsonObject {
2172
+ "search": string | null;
2210
2173
  "seo_contents": SeoContentListSeoContentsGetResponseDataSeoContents[];
2211
2174
  "page_number": number;
2212
2175
  "page_size": number;
@@ -2225,11 +2188,11 @@ export interface SeoContentCreateSeoContentPostInput extends JsonObject {
2225
2188
  /** Backend response type: models::SeoContentResponseDTO. */
2226
2189
  export interface SeoContentCreateSeoContentPostResponseData extends JsonObject {
2227
2190
  "id": string;
2228
- "meta_url"?: string | null;
2229
- "meta_title"?: string | null;
2230
- "meta_description"?: string | null;
2231
- "meta_keyword"?: string | null;
2232
- "meta_ld"?: JsonValue | null;
2191
+ "meta_url": string | null;
2192
+ "meta_title": string | null;
2193
+ "meta_description": string | null;
2194
+ "meta_keyword": string | null;
2195
+ "meta_ld": JsonValue | null;
2233
2196
  "created_at": string;
2234
2197
  "updated_at": string;
2235
2198
  }
@@ -2276,11 +2239,11 @@ export type SeoContentDeleteSeoContentDeleteResponse = SeoContentDeleteSeoConten
2276
2239
  /** Backend response type: models::SeoContentResponseDTO. */
2277
2240
  export interface SeoContentShowSeoContentGetResponseData extends JsonObject {
2278
2241
  "id": string;
2279
- "meta_url"?: string | null;
2280
- "meta_title"?: string | null;
2281
- "meta_description"?: string | null;
2282
- "meta_keyword"?: string | null;
2283
- "meta_ld"?: JsonValue | null;
2242
+ "meta_url": string | null;
2243
+ "meta_title": string | null;
2244
+ "meta_description": string | null;
2245
+ "meta_keyword": string | null;
2246
+ "meta_ld": JsonValue | null;
2284
2247
  "created_at": string;
2285
2248
  "updated_at": string;
2286
2249
  }
@@ -2297,11 +2260,11 @@ export interface SeoContentUpdateSeoContentPatchInput extends JsonObject {
2297
2260
  /** Backend response type: models::SeoContentResponseDTO. */
2298
2261
  export interface SeoContentUpdateSeoContentPatchResponseData extends JsonObject {
2299
2262
  "id": string;
2300
- "meta_url"?: string | null;
2301
- "meta_title"?: string | null;
2302
- "meta_description"?: string | null;
2303
- "meta_keyword"?: string | null;
2304
- "meta_ld"?: JsonValue | null;
2263
+ "meta_url": string | null;
2264
+ "meta_title": string | null;
2265
+ "meta_description": string | null;
2266
+ "meta_keyword": string | null;
2267
+ "meta_ld": JsonValue | null;
2305
2268
  "created_at": string;
2306
2269
  "updated_at": string;
2307
2270
  }
@@ -2318,11 +2281,11 @@ export interface SeoContentUpdateSeoContentPutInput extends JsonObject {
2318
2281
  /** Backend response type: models::SeoContentResponseDTO. */
2319
2282
  export interface SeoContentUpdateSeoContentPutResponseData extends JsonObject {
2320
2283
  "id": string;
2321
- "meta_url"?: string | null;
2322
- "meta_title"?: string | null;
2323
- "meta_description"?: string | null;
2324
- "meta_keyword"?: string | null;
2325
- "meta_ld"?: JsonValue | null;
2284
+ "meta_url": string | null;
2285
+ "meta_title": string | null;
2286
+ "meta_description": string | null;
2287
+ "meta_keyword": string | null;
2288
+ "meta_ld": JsonValue | null;
2326
2289
  "created_at": string;
2327
2290
  "updated_at": string;
2328
2291
  }
@@ -2330,7 +2293,7 @@ export interface SeoContentUpdateSeoContentPutResponse extends ApiEnvelope<SeoCo
2330
2293
  }
2331
2294
  /** Backend response type: CartResponse. */
2332
2295
  export interface CartShowGetResponseData extends JsonObject {
2333
- "id"?: string | null;
2296
+ "id": string | null;
2334
2297
  "user_id": string;
2335
2298
  "items": JsonValue[];
2336
2299
  }
@@ -2342,7 +2305,7 @@ export interface CartReplacePutInput extends JsonObject {
2342
2305
  }
2343
2306
  /** Backend response type: CartResponse. */
2344
2307
  export interface CartReplacePutResponseData extends JsonObject {
2345
- "id"?: string | null;
2308
+ "id": string | null;
2346
2309
  "user_id": string;
2347
2310
  "items": JsonValue[];
2348
2311
  }
@@ -2368,66 +2331,12 @@ export interface OrderListOrdersGetQuery extends QueryParams {
2368
2331
  "page_size"?: number | null;
2369
2332
  }
2370
2333
  /** Backend response type: models::OrderListResponse. */
2371
- export interface OrderListOrdersGetResponseDataOrdersItems extends JsonObject {
2372
- "id": string;
2373
- "order_id": string;
2374
- "variant_id": string;
2375
- "quantity": number;
2376
- "unit_price": string;
2377
- "total_price": string;
2378
- "created_at": string;
2379
- }
2380
- export interface OrderListOrdersGetResponseDataOrders extends JsonObject {
2381
- "checkout"?: JsonValue | null;
2382
- "id": string;
2383
- "user_id": string;
2384
- "status": number;
2385
- "total": string;
2386
- "items": OrderListOrdersGetResponseDataOrdersItems[];
2387
- "created_at": string;
2388
- "updated_at": string;
2389
- }
2390
- export interface OrderListOrdersGetResponseData extends JsonObject {
2391
- "orders": OrderListOrdersGetResponseDataOrders[];
2392
- "page_number": number;
2393
- "page_size": number;
2394
- "total_items": number;
2395
- }
2396
- export interface OrderListOrdersGetResponse extends ApiEnvelope<OrderListOrdersGetResponseData> {
2397
- }
2334
+ export type OrderListOrdersGetResponse = import("./contracts.types.js").ModulesOrderListResponse;
2398
2335
  /** Backend request type: models::OrderCreateRequest. */
2399
- export interface OrderCreateOrderPostInputItems extends JsonObject {
2400
- "variant_id": string;
2401
- "quantity": number;
2402
- "unit_price"?: string | number;
2403
- }
2404
- export interface OrderCreateOrderPostInput extends JsonObject {
2405
- "id"?: string | null;
2406
- "status"?: number | null;
2407
- "items": OrderCreateOrderPostInputItems[];
2408
- }
2336
+ export type OrderCreateOrderPostInput = import("./contracts.types.js").ModulesOrderCreateInput;
2409
2337
  /** Backend response type: models::OrderResponseDTO. */
2410
- export interface OrderCreateOrderPostResponseDataItems extends JsonObject {
2411
- "id": string;
2412
- "order_id": string;
2413
- "variant_id": string;
2414
- "quantity": number;
2415
- "unit_price": string;
2416
- "total_price": string;
2417
- "created_at": string;
2418
- }
2419
- export interface OrderCreateOrderPostResponseData extends JsonObject {
2420
- "checkout"?: JsonValue | null;
2421
- "id": string;
2422
- "user_id": string;
2423
- "status": number;
2424
- "total": string;
2425
- "items": OrderCreateOrderPostResponseDataItems[];
2426
- "created_at": string;
2427
- "updated_at": string;
2428
- }
2429
- export interface OrderCreateOrderPostResponse extends ApiEnvelope<OrderCreateOrderPostResponseData> {
2430
- }
2338
+ export type OrderCreateOrderPostResponseData = import("./contracts.types.js").ModulesOrderRecord;
2339
+ export type OrderCreateOrderPostResponse = import("./contracts.types.js").ModulesOrderResponse;
2431
2340
  /** Backend response type: EmptyAPIResponse. */
2432
2341
  export interface OrderDeleteOrderDeleteResponseData extends JsonObject {
2433
2342
  "status": string;
@@ -2435,79 +2344,22 @@ export interface OrderDeleteOrderDeleteResponseData extends JsonObject {
2435
2344
  }
2436
2345
  export type OrderDeleteOrderDeleteResponse = OrderDeleteOrderDeleteResponseData;
2437
2346
  /** Backend response type: models::OrderResponseDTO. */
2438
- export interface OrderShowOrderGetResponseDataItems extends JsonObject {
2439
- "id": string;
2440
- "order_id": string;
2441
- "variant_id": string;
2442
- "quantity": number;
2443
- "unit_price": string;
2444
- "total_price": string;
2445
- "created_at": string;
2446
- }
2447
- export interface OrderShowOrderGetResponseData extends JsonObject {
2448
- "checkout"?: JsonValue | null;
2449
- "id": string;
2450
- "user_id": string;
2451
- "status": number;
2452
- "total": string;
2453
- "items": OrderShowOrderGetResponseDataItems[];
2454
- "created_at": string;
2455
- "updated_at": string;
2456
- }
2457
- export interface OrderShowOrderGetResponse extends ApiEnvelope<OrderShowOrderGetResponseData> {
2458
- }
2347
+ export type OrderShowOrderGetResponseData = import("./contracts.types.js").ModulesOrderRecord;
2348
+ export type OrderShowOrderGetResponse = import("./contracts.types.js").ModulesOrderResponse;
2459
2349
  /** Backend request type: models::OrderUpdateRequest. */
2460
2350
  export interface OrderUpdateOrderPatchInput extends JsonObject {
2461
2351
  "status"?: number | null;
2462
2352
  }
2463
2353
  /** Backend response type: models::OrderResponseDTO. */
2464
- export interface OrderUpdateOrderPatchResponseDataItems extends JsonObject {
2465
- "id": string;
2466
- "order_id": string;
2467
- "variant_id": string;
2468
- "quantity": number;
2469
- "unit_price": string;
2470
- "total_price": string;
2471
- "created_at": string;
2472
- }
2473
- export interface OrderUpdateOrderPatchResponseData extends JsonObject {
2474
- "checkout"?: JsonValue | null;
2475
- "id": string;
2476
- "user_id": string;
2477
- "status": number;
2478
- "total": string;
2479
- "items": OrderUpdateOrderPatchResponseDataItems[];
2480
- "created_at": string;
2481
- "updated_at": string;
2482
- }
2483
- export interface OrderUpdateOrderPatchResponse extends ApiEnvelope<OrderUpdateOrderPatchResponseData> {
2484
- }
2354
+ export type OrderUpdateOrderPatchResponseData = import("./contracts.types.js").ModulesOrderRecord;
2355
+ export type OrderUpdateOrderPatchResponse = import("./contracts.types.js").ModulesOrderResponse;
2485
2356
  /** Backend request type: models::OrderUpdateRequest. */
2486
2357
  export interface OrderUpdateOrderPutInput extends JsonObject {
2487
2358
  "status"?: number | null;
2488
2359
  }
2489
2360
  /** Backend response type: models::OrderResponseDTO. */
2490
- export interface OrderUpdateOrderPutResponseDataItems extends JsonObject {
2491
- "id": string;
2492
- "order_id": string;
2493
- "variant_id": string;
2494
- "quantity": number;
2495
- "unit_price": string;
2496
- "total_price": string;
2497
- "created_at": string;
2498
- }
2499
- export interface OrderUpdateOrderPutResponseData extends JsonObject {
2500
- "checkout"?: JsonValue | null;
2501
- "id": string;
2502
- "user_id": string;
2503
- "status": number;
2504
- "total": string;
2505
- "items": OrderUpdateOrderPutResponseDataItems[];
2506
- "created_at": string;
2507
- "updated_at": string;
2508
- }
2509
- export interface OrderUpdateOrderPutResponse extends ApiEnvelope<OrderUpdateOrderPutResponseData> {
2510
- }
2361
+ export type OrderUpdateOrderPutResponseData = import("./contracts.types.js").ModulesOrderRecord;
2362
+ export type OrderUpdateOrderPutResponse = import("./contracts.types.js").ModulesOrderResponse;
2511
2363
  /** Backend response type: Vec<models::OrderItemResponseDTO>. */
2512
2364
  export interface OrderListOrderItemsGetResponseItem extends JsonObject {
2513
2365
  "id": string;
@@ -2521,33 +2373,10 @@ export interface OrderListOrderItemsGetResponseItem extends JsonObject {
2521
2373
  export interface OrderListOrderItemsGetResponse extends ApiEnvelope<OrderListOrderItemsGetResponseItem[]> {
2522
2374
  }
2523
2375
  /** Backend request type: models::OrderItemCreateRequest. */
2524
- export interface OrderAddOrderItemPostInput extends JsonObject {
2525
- "variant_id": string;
2526
- "quantity": number;
2527
- "unit_price"?: string | number;
2528
- }
2376
+ export type OrderAddOrderItemPostInput = import("./contracts.types.js").ModulesOrderItemInput;
2529
2377
  /** Backend response type: models::OrderResponseDTO. */
2530
- export interface OrderAddOrderItemPostResponseDataItems extends JsonObject {
2531
- "id": string;
2532
- "order_id": string;
2533
- "variant_id": string;
2534
- "quantity": number;
2535
- "unit_price": string;
2536
- "total_price": string;
2537
- "created_at": string;
2538
- }
2539
- export interface OrderAddOrderItemPostResponseData extends JsonObject {
2540
- "checkout"?: JsonValue | null;
2541
- "id": string;
2542
- "user_id": string;
2543
- "status": number;
2544
- "total": string;
2545
- "items": OrderAddOrderItemPostResponseDataItems[];
2546
- "created_at": string;
2547
- "updated_at": string;
2548
- }
2549
- export interface OrderAddOrderItemPostResponse extends ApiEnvelope<OrderAddOrderItemPostResponseData> {
2550
- }
2378
+ export type OrderAddOrderItemPostResponseData = import("./contracts.types.js").ModulesOrderRecord;
2379
+ export type OrderAddOrderItemPostResponse = import("./contracts.types.js").ModulesOrderResponse;
2551
2380
  /** Backend query type: models::ProductListQuery. */
2552
2381
  export interface ProductListProductsGetQuery extends QueryParams {
2553
2382
  "page_number"?: number | null;
@@ -2563,14 +2392,14 @@ export interface ProductListProductsGetQuery extends QueryParams {
2563
2392
  export interface ProductListProductsGetResponseDataProducts extends JsonObject {
2564
2393
  "id": string;
2565
2394
  "name": string;
2566
- "description"?: string | null;
2567
- "image_url"?: string | null;
2395
+ "description": string | null;
2396
+ "image_url": string | null;
2568
2397
  "sku": JsonValue;
2569
2398
  "status": number;
2570
2399
  "sort_order": number;
2571
- "country_ids"?: string[] | null;
2572
- "province_ids"?: string[] | null;
2573
- "city_ids"?: string[] | null;
2400
+ "country_ids": string[] | null;
2401
+ "province_ids": string[] | null;
2402
+ "city_ids": string[] | null;
2574
2403
  "created_at": string;
2575
2404
  "updated_at": string;
2576
2405
  }
@@ -2598,14 +2427,14 @@ export interface ProductCreateProductPostInput extends JsonObject {
2598
2427
  export interface ProductCreateProductPostResponseData extends JsonObject {
2599
2428
  "id": string;
2600
2429
  "name": string;
2601
- "description"?: string | null;
2602
- "image_url"?: string | null;
2430
+ "description": string | null;
2431
+ "image_url": string | null;
2603
2432
  "sku": JsonValue;
2604
2433
  "status": number;
2605
2434
  "sort_order": number;
2606
- "country_ids"?: string[] | null;
2607
- "province_ids"?: string[] | null;
2608
- "city_ids"?: string[] | null;
2435
+ "country_ids": string[] | null;
2436
+ "province_ids": string[] | null;
2437
+ "city_ids": string[] | null;
2609
2438
  "created_at": string;
2610
2439
  "updated_at": string;
2611
2440
  }
@@ -2621,14 +2450,14 @@ export type ProductDeleteProductDeleteResponse = ProductDeleteProductDeleteRespo
2621
2450
  export interface ProductShowProductGetResponseData extends JsonObject {
2622
2451
  "id": string;
2623
2452
  "name": string;
2624
- "description"?: string | null;
2625
- "image_url"?: string | null;
2453
+ "description": string | null;
2454
+ "image_url": string | null;
2626
2455
  "sku": JsonValue;
2627
2456
  "status": number;
2628
2457
  "sort_order": number;
2629
- "country_ids"?: string[] | null;
2630
- "province_ids"?: string[] | null;
2631
- "city_ids"?: string[] | null;
2458
+ "country_ids": string[] | null;
2459
+ "province_ids": string[] | null;
2460
+ "city_ids": string[] | null;
2632
2461
  "created_at": string;
2633
2462
  "updated_at": string;
2634
2463
  }
@@ -2650,14 +2479,14 @@ export interface ProductUpdateProductPatchInput extends JsonObject {
2650
2479
  export interface ProductUpdateProductPatchResponseData extends JsonObject {
2651
2480
  "id": string;
2652
2481
  "name": string;
2653
- "description"?: string | null;
2654
- "image_url"?: string | null;
2482
+ "description": string | null;
2483
+ "image_url": string | null;
2655
2484
  "sku": JsonValue;
2656
2485
  "status": number;
2657
2486
  "sort_order": number;
2658
- "country_ids"?: string[] | null;
2659
- "province_ids"?: string[] | null;
2660
- "city_ids"?: string[] | null;
2487
+ "country_ids": string[] | null;
2488
+ "province_ids": string[] | null;
2489
+ "city_ids": string[] | null;
2661
2490
  "created_at": string;
2662
2491
  "updated_at": string;
2663
2492
  }
@@ -2679,14 +2508,14 @@ export interface ProductUpdateProductPutInput extends JsonObject {
2679
2508
  export interface ProductUpdateProductPutResponseData extends JsonObject {
2680
2509
  "id": string;
2681
2510
  "name": string;
2682
- "description"?: string | null;
2683
- "image_url"?: string | null;
2511
+ "description": string | null;
2512
+ "image_url": string | null;
2684
2513
  "sku": JsonValue;
2685
2514
  "status": number;
2686
2515
  "sort_order": number;
2687
- "country_ids"?: string[] | null;
2688
- "province_ids"?: string[] | null;
2689
- "city_ids"?: string[] | null;
2516
+ "country_ids": string[] | null;
2517
+ "province_ids": string[] | null;
2518
+ "city_ids": string[] | null;
2690
2519
  "created_at": string;
2691
2520
  "updated_at": string;
2692
2521
  }
@@ -2856,10 +2685,11 @@ export interface ProductUpdateVariantPutResponseData extends JsonObject {
2856
2685
  }
2857
2686
  export interface ProductUpdateVariantPutResponse extends ApiEnvelope<ProductUpdateVariantPutResponseData> {
2858
2687
  }
2859
- /** Backend query type: PaginationQuery. */
2688
+ /** Backend query type: HostedListQuery. */
2860
2689
  export interface TagListTagsGetQuery extends QueryParams {
2861
2690
  "page_number"?: number | null;
2862
2691
  "page_size"?: number | null;
2692
+ "search"?: string;
2863
2693
  }
2864
2694
  /** Backend response type: models::TagListResponse. */
2865
2695
  export interface TagListTagsGetResponseDataTags extends JsonObject {
@@ -2870,6 +2700,7 @@ export interface TagListTagsGetResponseDataTags extends JsonObject {
2870
2700
  "updated_at": string;
2871
2701
  }
2872
2702
  export interface TagListTagsGetResponseData extends JsonObject {
2703
+ "search": string | null;
2873
2704
  "tags": TagListTagsGetResponseDataTags[];
2874
2705
  "page_number": number;
2875
2706
  "page_size": number;
@@ -2973,4 +2804,8 @@ export interface TagUpdateTagPutResponseData extends JsonObject {
2973
2804
  }
2974
2805
  export interface TagUpdateTagPutResponse extends ApiEnvelope<TagUpdateTagPutResponseData> {
2975
2806
  }
2807
+ /** Backend response type: HealthResponse. */
2808
+ export type RouterHealthGetResponse = import("@faiber/sdk-core").ServiceHealthResponse;
2809
+ /** Backend response type: infera_flow_sdk::FlowIntegrationResponse. */
2810
+ export type IntegrationFlowIntegrationShowGetResponse = import("./contracts.types.js").ModulesFlowIntegrationResponse;
2976
2811
  //# sourceMappingURL=operations.types.d.ts.map