@@ -556,28 +556,8 @@ export type WorkflowRunNodeExecutionListResponse = {
556556 data : Array < WorkflowRunNodeExecutionResponse >
557557}
558558
559- export type WorkflowCommentBasic = {
560- content ?: string
561- created_at ?: {
562- [ key : string ] : unknown
563- }
564- created_by ?: string
565- created_by_account ?: AnonymousInlineModel6Fec07Cd0D85
566- id ?: string
567- mention_count ?: number
568- participants ?: Array < AnonymousInlineModel6Fec07Cd0D85 >
569- position_x ?: number
570- position_y ?: number
571- reply_count ?: number
572- resolved ?: boolean
573- resolved_at ?: {
574- [ key : string ] : unknown
575- }
576- resolved_by ?: string
577- resolved_by_account ?: AnonymousInlineModel6Fec07Cd0D85
578- updated_at ?: {
579- [ key : string ] : unknown
580- }
559+ export type WorkflowCommentBasicList = {
560+ data : Array < WorkflowCommentBasic >
581561}
582562
583563export type WorkflowCommentCreatePayload = {
@@ -588,37 +568,29 @@ export type WorkflowCommentCreatePayload = {
588568}
589569
590570export type WorkflowCommentCreate = {
591- created_at ?: {
592- [ key : string ] : unknown
593- }
594- id ?: string
571+ created_at ?: number | null
572+ id : string
595573}
596574
597575export type WorkflowCommentMentionUsersPayload = {
598576 users : Array < AccountWithRole >
599577}
600578
601579export type WorkflowCommentDetail = {
602- content ?: string
603- created_at ?: {
604- [ key : string ] : unknown
605- }
606- created_by ?: string
607- created_by_account ?: AnonymousInlineModel6Fec07Cd0D85
608- id ?: string
609- mentions ?: Array < AnonymousInlineModelF7Ff64Cce858 >
610- position_x ?: number
611- position_y ?: number
612- replies ?: Array < AnonymousInlineModel55C39C6A4B9e >
613- resolved ?: boolean
614- resolved_at ?: {
615- [ key : string ] : unknown
616- }
617- resolved_by ?: string
618- resolved_by_account ?: AnonymousInlineModel6Fec07Cd0D85
619- updated_at ?: {
620- [ key : string ] : unknown
621- }
580+ content : string
581+ created_at ?: number | null
582+ created_by : string
583+ created_by_account ?: WorkflowCommentAccount
584+ id : string
585+ mentions : Array < WorkflowCommentMention >
586+ position_x : number
587+ position_y : number
588+ replies : Array < WorkflowCommentReply >
589+ resolved : boolean
590+ resolved_at ?: number | null
591+ resolved_by ?: string | null
592+ resolved_by_account ?: WorkflowCommentAccount
593+ updated_at ?: number | null
622594}
623595
624596export type WorkflowCommentUpdatePayload = {
@@ -629,10 +601,8 @@ export type WorkflowCommentUpdatePayload = {
629601}
630602
631603export type WorkflowCommentUpdate = {
632- id ?: string
633- updated_at ?: {
634- [ key : string ] : unknown
635- }
604+ id : string
605+ updated_at ?: number | null
636606}
637607
638608export type WorkflowCommentReplyPayload = {
@@ -641,26 +611,20 @@ export type WorkflowCommentReplyPayload = {
641611}
642612
643613export type WorkflowCommentReplyCreate = {
644- created_at ?: {
645- [ key : string ] : unknown
646- }
647- id ?: string
614+ created_at ?: number | null
615+ id : string
648616}
649617
650618export type WorkflowCommentReplyUpdate = {
651- id ?: string
652- updated_at ?: {
653- [ key : string ] : unknown
654- }
619+ id : string
620+ updated_at ?: number | null
655621}
656622
657623export type WorkflowCommentResolve = {
658- id ?: string
659- resolved ?: boolean
660- resolved_at ?: {
661- [ key : string ] : unknown
662- }
663- resolved_by ?: string
624+ id : string
625+ resolved : boolean
626+ resolved_at ?: number | null
627+ resolved_by ?: string | null
664628}
665629
666630export type WorkflowPagination = {
@@ -1167,13 +1131,22 @@ export type SimpleEndUser = {
11671131 type : string
11681132}
11691133
1170- export type AnonymousInlineModel6Fec07Cd0D85 = {
1171- avatar_url ?: {
1172- [ key : string ] : unknown
1173- }
1174- email ?: string
1175- id ?: string
1176- name ?: string
1134+ export type WorkflowCommentBasic = {
1135+ content : string
1136+ created_at ?: number | null
1137+ created_by : string
1138+ created_by_account ?: WorkflowCommentAccount
1139+ id : string
1140+ mention_count : number
1141+ participants : Array < WorkflowCommentAccount >
1142+ position_x : number
1143+ position_y : number
1144+ reply_count : number
1145+ resolved : boolean
1146+ resolved_at ?: number | null
1147+ resolved_by ?: string | null
1148+ resolved_by_account ?: WorkflowCommentAccount
1149+ updated_at ?: number | null
11771150}
11781151
11791152export type AccountWithRole = {
@@ -1188,20 +1161,25 @@ export type AccountWithRole = {
11881161 status : string
11891162}
11901163
1191- export type AnonymousInlineModelF7Ff64Cce858 = {
1192- mentioned_user_account ?: AnonymousInlineModel6Fec07Cd0D85
1193- mentioned_user_id ?: string
1194- reply_id ?: string
1164+ export type WorkflowCommentAccount = {
1165+ readonly avatar_url : string | null
1166+ email : string
1167+ id : string
1168+ name : string
11951169}
11961170
1197- export type AnonymousInlineModel55C39C6A4B9e = {
1198- content ?: string
1199- created_at ?: {
1200- [ key : string ] : unknown
1201- }
1202- created_by ?: string
1203- created_by_account ?: AnonymousInlineModel6Fec07Cd0D85
1204- id ?: string
1171+ export type WorkflowCommentMention = {
1172+ mentioned_user_account ?: WorkflowCommentAccount
1173+ mentioned_user_id : string
1174+ reply_id ?: string | null
1175+ }
1176+
1177+ export type WorkflowCommentReply = {
1178+ content : string
1179+ created_at ?: number | null
1180+ created_by : string
1181+ created_by_account ?: WorkflowCommentAccount
1182+ id : string
12051183}
12061184
12071185export type ConversationVariable = {
@@ -1349,11 +1327,7 @@ export type UserActionConfig = {
13491327 title : string
13501328}
13511329
1352- export type FormInputConfig
1353- = | ParagraphInputConfig
1354- | SelectInputConfig
1355- | FileInputConfig
1356- | FileListInputConfig
1330+ export type FormInputConfig = unknown
13571331
13581332export type ButtonStyle = 'accent' | 'default' | 'ghost' | 'primary'
13591333
@@ -1404,6 +1378,65 @@ export type FileTransferMethod = 'datasource_file' | 'local_file' | 'remote_url'
14041378
14051379export type ValueSourceType = 'constant' | 'variable'
14061380
1381+ export type WorkflowCommentBasicListWritable = {
1382+ data : Array < WorkflowCommentBasicWritable >
1383+ }
1384+
1385+ export type WorkflowCommentDetailWritable = {
1386+ content : string
1387+ created_at ?: number | null
1388+ created_by : string
1389+ created_by_account ?: WorkflowCommentAccountWritable
1390+ id : string
1391+ mentions : Array < WorkflowCommentMentionWritable >
1392+ position_x : number
1393+ position_y : number
1394+ replies : Array < WorkflowCommentReplyWritable >
1395+ resolved : boolean
1396+ resolved_at ?: number | null
1397+ resolved_by ?: string | null
1398+ resolved_by_account ?: WorkflowCommentAccountWritable
1399+ updated_at ?: number | null
1400+ }
1401+
1402+ export type WorkflowCommentBasicWritable = {
1403+ content : string
1404+ created_at ?: number | null
1405+ created_by : string
1406+ created_by_account ?: WorkflowCommentAccountWritable
1407+ id : string
1408+ mention_count : number
1409+ participants : Array < WorkflowCommentAccountWritable >
1410+ position_x : number
1411+ position_y : number
1412+ reply_count : number
1413+ resolved : boolean
1414+ resolved_at ?: number | null
1415+ resolved_by ?: string | null
1416+ resolved_by_account ?: WorkflowCommentAccountWritable
1417+ updated_at ?: number | null
1418+ }
1419+
1420+ export type WorkflowCommentAccountWritable = {
1421+ email : string
1422+ id : string
1423+ name : string
1424+ }
1425+
1426+ export type WorkflowCommentMentionWritable = {
1427+ mentioned_user_account ?: WorkflowCommentAccountWritable
1428+ mentioned_user_id : string
1429+ reply_id ?: string | null
1430+ }
1431+
1432+ export type WorkflowCommentReplyWritable = {
1433+ content : string
1434+ created_at ?: number | null
1435+ created_by : string
1436+ created_by_account ?: WorkflowCommentAccountWritable
1437+ id : string
1438+ }
1439+
14071440export type GetAppsData = {
14081441 body ?: never
14091442 path ?: never
@@ -3562,7 +3595,7 @@ export type GetAppsByAppIdWorkflowCommentsData = {
35623595}
35633596
35643597export type GetAppsByAppIdWorkflowCommentsResponses = {
3565- 200 : WorkflowCommentBasic
3598+ 200 : WorkflowCommentBasicList
35663599}
35673600
35683601export type GetAppsByAppIdWorkflowCommentsResponse
0 commit comments