@carthooks/arcubase-cli 0.1.7 → 0.1.9

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.
Files changed (66) hide show
  1. package/bundle/arcubase-admin.mjs +1042 -5056
  2. package/bundle/arcubase.mjs +1042 -5056
  3. package/dist/generated/command_registry.generated.d.ts +693 -2812
  4. package/dist/generated/command_registry.generated.d.ts.map +1 -1
  5. package/dist/generated/command_registry.generated.js +812 -4100
  6. package/dist/generated/type_index.generated.d.ts +8 -397
  7. package/dist/generated/type_index.generated.d.ts.map +1 -1
  8. package/dist/generated/type_index.generated.js +8 -403
  9. package/dist/generated/zod_registry.generated.d.ts +33 -261
  10. package/dist/generated/zod_registry.generated.d.ts.map +1 -1
  11. package/dist/generated/zod_registry.generated.js +36 -365
  12. package/dist/runtime/body_loader.d.ts.map +1 -1
  13. package/dist/runtime/body_loader.js +12 -0
  14. package/dist/runtime/command_registry.d.ts +3 -21
  15. package/dist/runtime/command_registry.d.ts.map +1 -1
  16. package/dist/runtime/command_registry.js +17 -23
  17. package/dist/runtime/execute.d.ts +3 -3
  18. package/dist/runtime/execute.d.ts.map +1 -1
  19. package/dist/runtime/execute.js +53 -157
  20. package/dist/runtime/http.js +1 -1
  21. package/dist/runtime/upload.js +3 -3
  22. package/dist/runtime/zod_registry.d.ts.map +1 -1
  23. package/dist/runtime/zod_registry.js +7 -24
  24. package/dist/tests/command_registry.test.js +81 -28
  25. package/dist/tests/execute_validation.test.js +175 -510
  26. package/dist/tests/help.test.js +39 -62
  27. package/dist/tests/upload.test.js +4 -4
  28. package/dist/tests/zod_registry.test.js +0 -10
  29. package/package.json +1 -1
  30. package/sdk-dist/docs/runtime-reference/README.md +20 -30
  31. package/sdk-dist/docs/runtime-reference/entity-schema/README.md +4 -5
  32. package/sdk-dist/docs/runtime-reference/entity-schema/linkto.md +3 -3
  33. package/sdk-dist/docs/runtime-reference/entity-schema/query.md +3 -3
  34. package/sdk-dist/docs/runtime-reference/entity-schema/relation.md +3 -3
  35. package/sdk-dist/docs/runtime-reference/entity-schema/relationfield.md +3 -3
  36. package/sdk-dist/docs/runtime-reference/entity-schema/subform.md +2 -2
  37. package/sdk-dist/docs/runtime-reference/entity-schema.md +4 -4
  38. package/sdk-dist/docs/runtime-reference/examples/README.md +2 -2
  39. package/sdk-dist/docs/runtime-reference/examples/oms-01/README.md +12 -12
  40. package/sdk-dist/docs/runtime-reference/examples/oms-01/app-overview.md +1 -1
  41. package/sdk-dist/docs/runtime-reference/row-crud.md +11 -32
  42. package/sdk-dist/docs/runtime-reference/search-and-bulk-actions.md +16 -47
  43. package/sdk-dist/docs/runtime-reference/table-lifecycle.md +11 -27
  44. package/sdk-dist/docs/runtime-reference/uploads.md +1 -1
  45. package/sdk-dist/docs/runtime-reference/workflow/README.md +19 -0
  46. package/sdk-dist/generated/command_registry.generated.ts +814 -4102
  47. package/sdk-dist/generated/type_index.generated.ts +8 -403
  48. package/sdk-dist/generated/zod_registry.generated.ts +44 -500
  49. package/sdk-dist/types/app.ts +3 -10
  50. package/sdk-dist/types/common.ts +7 -0
  51. package/sdk-dist/types/global-action.ts +2 -1
  52. package/src/generated/command_registry.generated.ts +814 -4102
  53. package/src/generated/type_index.generated.ts +8 -403
  54. package/src/generated/zod_registry.generated.ts +44 -500
  55. package/src/runtime/body_loader.ts +11 -0
  56. package/src/runtime/command_registry.ts +22 -44
  57. package/src/runtime/execute.ts +157 -165
  58. package/src/runtime/http.ts +1 -1
  59. package/src/runtime/upload.ts +3 -3
  60. package/src/runtime/zod_registry.ts +7 -25
  61. package/src/tests/command_registry.test.ts +81 -31
  62. package/src/tests/execute_validation.test.ts +236 -603
  63. package/src/tests/help.test.ts +47 -66
  64. package/src/tests/upload.test.ts +4 -4
  65. package/src/tests/zod_registry.test.ts +0 -13
  66. package/sdk-dist/docs/runtime-reference/app-discovery.md +0 -68
@@ -6,10 +6,6 @@ export const AppCreateByTenantsReqVOSchema: z.ZodTypeAny = z.lazy(() => z.object
6
6
 
7
7
  export const AppCreateEntityReqVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "name": z.string().optional(), "parent": z.number().optional() }).strict())
8
8
 
9
- export const AppCreateEntityShareReqVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "source_entity_id": z.number(), "target_app_ids": z.array(z.number()) }).strict())
10
-
11
- export const AppDeleteEntityShareReqVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "source_entity_id": z.number(), "target_app_id": z.number() }).strict())
12
-
13
9
  export const I18NTextSchema: z.ZodTypeAny = z.lazy(() => z.record(z.string(), z.string()))
14
10
 
15
11
  export const PermitColumnSchema: z.ZodTypeAny = z.lazy(() => z.object({ "field_id": z.number().optional(), "is_field": z.boolean().optional(), "prop": z.string().optional() }).strict())
@@ -40,177 +36,21 @@ export const EntityIngressOptionsSchema: z.ZodTypeAny = z.lazy(() => z.object({
40
36
 
41
37
  export const AppIngressCreateReqVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "enabled": z.boolean().optional(), "entity_id": z.number().optional(), "icon_name": z.string().optional(), "name": z.string().optional(), "options": EntityIngressOptionsSchema.optional(), "type": z.string().optional(), "url": z.string().optional() }).strict())
42
38
 
43
- export const AppIngressBlockVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "code": z.string().optional(), "content": z.string().optional() }).strict())
44
-
45
- export const AppIngressUpdateBlocksReqVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "blocks": z.array(AppIngressBlockVOSchema).optional() }).strict())
46
-
47
39
  export const AppIngressUpdateReqVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "enabled": z.boolean().optional(), "name": z.string().optional(), "options": EntityIngressOptionsSchema.optional(), "update": z.array(z.string()).optional() }).strict())
48
40
 
49
- export const WidgetsTypeCodeSchema: z.ZodTypeAny = z.lazy(() => z.union([z.literal(1), z.literal(2)]))
50
-
51
- export const WidgetsTypeSchema: z.ZodTypeAny = z.lazy(() => z.object({ "dashboard_id": z.number().optional(), "ingress_id": z.number().optional(), "type": WidgetsTypeCodeSchema.optional() }).strict())
52
-
53
- export const AppNewWidgetsReqVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "options": WidgetsTypeSchema.optional(), "type": z.string().optional() }).strict())
54
-
55
- export const CubeDimensionSchema: z.ZodTypeAny = z.lazy(() => z.object({ "FieldID": z.number().optional(), "IsField": z.boolean().optional(), "Label": z.string().optional(), "Name": z.string().optional(), "Options": z.record(z.string(), z.any()).optional(), "OrderBy": z.string().optional(), "PropName": z.string().optional() }).strict())
56
-
57
- export const CubeMeasureAggregateSchema: z.ZodTypeAny = z.lazy(() => z.union([z.literal("sum"), z.literal("avg"), z.literal("max"), z.literal("min"), z.literal("count"), z.literal("distinct_count")]))
58
-
59
- export const CubeMeasureSchema: z.ZodTypeAny = z.lazy(() => z.object({ "Aggregate": CubeMeasureAggregateSchema.optional(), "FieldID": z.number().optional(), "Label": z.string().optional(), "Name": z.string().optional(), "Options": z.record(z.string(), z.any()).optional(), "OrderBy": z.string().optional() }).strict())
60
-
61
- export const AppPreviewWidgetsDataReqVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "conditions": PermitConditionSetSchema.optional(), "dataSource": z.number().optional(), "dataSourceType": z.string().optional(), "dimensions": z.array(CubeDimensionSchema).optional(), "measures": z.array(CubeMeasureSchema).optional() }).strict())
62
-
63
- export const AppRenameReqVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "name": z.string().optional() }).strict())
64
-
65
- export const DashboardMenuItemVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "enabled": z.boolean().optional(), "i18n_names": z.record(z.string(), z.string()).optional(), "id": z.number().optional(), "name": z.string().optional() }).strict())
66
-
67
- export const IngressItemSchema: z.ZodTypeAny = z.lazy(() => z.object({ "enabled": z.boolean().optional(), "i18n_name": I18NTextSchema.optional(), "id": z.string().optional(), "meta": z.record(z.string(), z.any()).optional(), "name": z.string().optional(), "type": z.string().optional() }).strict())
68
-
69
- export const IngressGroupReqVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "default": z.boolean().optional(), "i18n_name": I18NTextSchema.optional(), "icon_name": z.string().optional(), "id": z.number().optional(), "is_new": z.boolean().optional(), "items": z.array(IngressItemSchema).optional(), "name": z.string().optional() }).strict())
70
-
71
- export const AppSaveSiteMapsReqVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "dashboards": z.array(DashboardMenuItemVOSchema).optional(), "ingresses": z.array(IngressGroupReqVOSchema).optional(), "to_delete_ingress": z.array(z.string()).optional(), "use_home_dashboard": z.boolean().optional() }).strict())
72
-
73
41
  export const GormDeletedAtSchema: z.ZodTypeAny = z.lazy(() => z.object({ "Time": z.string().optional(), "Valid": z.boolean().optional() }).strict())
74
42
 
75
43
  export const AppOptionsSchema: z.ZodTypeAny = z.lazy(() => z.object({ "use_home_dashboard": z.boolean().optional() }).strict())
76
44
 
77
45
  export const AppUpdateAppReqVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "CreatedAt": z.string().optional(), "DeletedAt": GormDeletedAtSchema.optional(), "ID": z.number().optional(), "Options": AppOptionsSchema.optional(), "UpdatedAt": z.string().optional(), "changed": z.array(z.string()).optional(), "has_workflow": z.boolean().optional(), "icon_color": z.string().optional(), "icon_name": z.string().optional(), "name": z.string().optional(), "tenant_id": z.number().optional(), "use_home_dashboard": z.boolean().optional() }).strict())
78
46
 
79
- export const AppUpdateI18NReqVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "data": z.record(z.string(), z.any()).optional() }).strict())
80
-
81
- export const AppUpdateI18nReqVOSchema: z.ZodTypeAny = z.lazy(() => AppUpdateI18NReqVOSchema)
82
-
83
- export const WidgetsListViewOptionsSchema: z.ZodTypeAny = z.lazy(() => z.object({ "cond_follow": z.boolean().optional(), "cond_follow_cols": z.array(z.string()).optional(), "cond_follow_tab": z.boolean().optional(), "link": z.record(z.string(), z.any()).optional() }).strict())
84
-
85
- export const AppUpdateWidgetsIngressOptionsReqVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "options": WidgetsListViewOptionsSchema.optional() }).strict())
86
-
87
- export const ChartOptionSchema: z.ZodTypeAny = z.lazy(() => z.object({ "conditions": PermitConditionSetSchema.optional(), "dimensions": z.array(CubeDimensionSchema).optional(), "entity_id": z.number().optional(), "measures": z.array(CubeMeasureSchema).optional(), "options": z.record(z.string(), z.any()).optional(), "type": z.string().optional() }).strict())
88
-
89
- export const WidgetsOptionSchema: z.ZodTypeAny = z.lazy(() => z.object({ "charts": ChartOptionSchema.optional(), "ingress": WidgetsListViewOptionsSchema.optional(), "render": z.record(z.string(), z.any()).optional() }).strict())
90
-
91
- export const AppUpdateWidgetsReqVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "entity_id": z.number().optional(), "options": WidgetsOptionSchema.optional() }).strict())
92
-
93
- export const PermitActionSchema: z.ZodTypeAny = z.lazy(() => z.union([z.literal(1), z.literal(2), z.literal(3), z.literal(4)]))
94
-
95
- export const ActionFormulaExprSchema: z.ZodTypeAny = z.lazy(() => z.object({ "code": z.string().optional(), "jsonlogic": z.array(z.number()).optional() }).strict())
96
-
97
- export const ActionFieldValueSchema: z.ZodTypeAny = z.lazy(() => z.object({ "field_id": z.number().optional(), "value": z.any().optional(), "value_formula": ActionFormulaExprSchema.optional(), "value_from": PermitValueFromSchema.optional(), "value_relation": PermitEntityPropSchema.optional() }).strict())
98
-
99
- export const ActionActionSchema: z.ZodTypeAny = z.lazy(() => z.object({ "Action": PermitActionSchema.optional(), "AppID": z.number().optional(), "EntityID": z.number().optional(), "Fields": z.array(ActionFieldValueSchema).optional(), "Filter": PermitConditionSetSchema.optional() }).strict())
100
-
101
- export const PermitEntityEventSchema: z.ZodTypeAny = z.lazy(() => z.union([z.literal(1), z.literal(2), z.literal(3), z.literal(4), z.literal(99), z.literal(11), z.literal(12)]))
102
-
103
- export const AutomateRuleCreateReqVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "action": ActionActionSchema, "event": PermitEntityEventSchema, "filter": PermitConditionSetSchema.optional(), "name": z.string().optional() }).strict())
104
-
105
- export const AutomateRuleUpdateReqVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "action": ActionActionSchema, "enabled": z.boolean().optional(), "event": PermitEntityEventSchema, "filter": PermitConditionSetSchema.optional(), "name": z.string().optional() }).strict())
106
-
107
- export const ChangePasswordReqVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "newPassword": z.string().optional(), "oldPassword": z.string().optional(), "userId": z.number().optional() }).strict())
108
-
109
- export const CommonPaginationSchema: z.ZodTypeAny = z.lazy(() => z.object({ "page": z.number().optional(), "size": z.number().optional(), "total": z.number().optional() }).strict())
110
-
111
- export const CommonQueryFormVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "filter": z.string().optional(), "pagination": CommonPaginationSchema.optional() }).strict())
112
-
113
- export const CopilotMessageSchema: z.ZodTypeAny = z.lazy(() => z.object({ "Content": z.string().optional(), "Type": z.string().optional() }).strict())
114
-
115
- export const CopilotSendMessageReqVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "conversation_id": z.string().optional(), "current_view": z.string().optional(), "messages": z.array(CopilotMessageSchema).optional(), "params": z.record(z.string(), z.string()).optional() }).strict())
116
-
117
- export const DashboardCreateReqVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "name": z.string().optional() }).strict())
118
-
119
- export const LayoutPositionSchema: z.ZodTypeAny = z.lazy(() => z.object({ "h": z.number().optional(), "id": z.number().optional(), "w": z.number().optional(), "x": z.number().optional(), "y": z.number().optional() }).strict())
120
-
121
- export const DashboardUpdateLayoutReqVOSchema: z.ZodTypeAny = z.lazy(() => z.array(LayoutPositionSchema))
122
-
123
- export const DashboardUpdateOptionsReqVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "changed": z.array(z.string()).optional(), "i18n_name": z.record(z.string(), z.string()).optional(), "theme": z.object({ "gutter": z.number().optional(), "has_shadow": z.boolean().optional(), "round_corners": z.number().optional() }).strict().optional(), "users": z.array(PermitUserScopeSchema).optional() }).strict())
124
-
125
- export const DashboardUpdateTitleReqVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "name": z.string().optional() }).strict())
126
-
127
- export const DatasetCreateDatasetReqVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "app_id": z.number().optional(), "count": z.number().optional(), "group": z.string().optional(), "i18n_name": z.record(z.string(), z.string()).optional(), "id": z.number().optional(), "name": z.string().optional(), "readonly": z.boolean().optional(), "tenant_id": z.number().optional(), "updated_at": z.string().optional() }).strict())
128
-
129
- export const DatasetRowSchema: z.ZodTypeAny = z.lazy(() => z.object({ "DeletedAt": GormDeletedAtSchema.optional(), "child_count": z.number().optional(), "children": z.array(DatasetRowSchema).optional(), "code": z.string().optional(), "dataset_id": z.number().optional(), "i18n_name": I18NTextSchema.optional(), "id": z.number().optional(), "meta": z.record(z.string(), z.any()).optional(), "name": z.string().optional(), "parent_id": z.number().optional(), "tenant_id": z.number().optional(), "updated_at": z.string().optional() }).strict())
130
-
131
- export const DatasetCreateNodeReqVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "DeletedAt": GormDeletedAtSchema.optional(), "child_count": z.number().optional(), "children": z.array(DatasetRowSchema).optional(), "code": z.string().optional(), "dataset_id": z.number().optional(), "i18n_name": I18NTextSchema.optional(), "id": z.number().optional(), "meta": z.record(z.string(), z.any()).optional(), "name": z.string().optional(), "parent_id": z.number().optional(), "tenant_id": z.number().optional(), "updated_at": z.string().optional() }).strict())
132
-
133
- export const DatasetImportReqVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "dataset_id": z.number().optional(), "node_id": z.number().optional() }).strict())
134
-
135
- export const DatasetMoveReqVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "target_id": z.number().optional(), "type": z.string().optional() }).strict())
136
-
137
- export const DatasetUpdateReqVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "DeletedAt": GormDeletedAtSchema.optional(), "child_count": z.number().optional(), "children": z.array(DatasetRowSchema).optional(), "code": z.string().optional(), "dataset_id": z.number().optional(), "i18n_name": I18NTextSchema.optional(), "id": z.number().optional(), "meta": z.record(z.string(), z.any()).optional(), "name": z.string().optional(), "parent_id": z.number().optional(), "tenant_id": z.number().optional(), "updated_at": z.string().optional() }).strict())
138
-
139
- export const DepartmentsAddActorReqVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "name": z.string().optional() }).strict())
140
-
141
- export const DepartmentsAddReqVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "name": z.string().optional(), "parent_id": z.number().optional() }).strict())
142
-
143
- export const DepartmentsCreateServiceAccountReqVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "bio": z.string().optional(), "departments": z.array(z.number()).optional(), "name": z.string().optional() }).strict())
144
-
145
- export const DepartmentsDeleteActorReqVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "actor_id": z.number().optional() }).strict())
146
-
147
- export const DepartmentsEmployeeAccountChangePasswordReqVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "id": z.number().optional(), "password": z.string().optional() }).strict())
148
-
149
- export const DepartmentsEmployeeAccountCreateReqVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "employee_id": z.string().optional(), "name": z.string().optional(), "password": z.string().optional() }).strict())
150
-
151
- export const DepartmentsGetOrganizationUsersReqVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "actor": z.array(z.number()).optional(), "department": z.array(z.number()).optional(), "pager": z.object({ "page": z.number().optional(), "size": z.number().optional() }).strict().optional(), "search": z.string().optional(), "status": z.array(z.number()).optional() }).strict())
152
-
153
- export const DepartmentsInviteCodeHistoryReqVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "pager": z.object({ "page": z.number().optional(), "size": z.number().optional() }).strict().optional() }).strict())
154
-
155
- export const DepartmentsInviteCodeSwitchReqVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "disabled": z.boolean().optional(), "id": z.string().optional() }).strict())
156
-
157
- export const DepartmentsInviteOneByOneReqVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "departments": z.array(z.object({ "id": z.number().optional() }).strict()).optional(), "email": z.string().optional(), "mobile": z.string().optional(), "name": z.string().optional(), "staff_id": z.string().optional() }).strict())
158
-
159
- export const DepartmentsMakeLinkReqVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "departments": z.array(z.object({ "id": z.number().optional() }).strict()).optional(), "expired": z.number().optional(), "role": z.number().optional() }).strict())
160
-
161
- export const DepartmentsRelocateReqVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "target_id": z.number().optional(), "type": z.string().optional() }).strict())
162
-
163
- export const DepartmentsRenameReqVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "name": z.string().optional() }).strict())
164
-
165
- export const DepartmentsResendInviteReqVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "id": z.number().optional() }).strict())
166
-
167
- export const DepartmentsSetDeptPolicyReqVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "policy": z.any().optional() }).strict())
168
-
169
- export const DepartmentsUpdateUserReqVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "actor_ids": z.array(z.number()).optional(), "avatar": z.string().optional(), "bio": z.string().optional(), "department_ids": z.array(z.number()).optional(), "email": z.string().optional(), "external_source": z.string().optional(), "external_subject_id": z.string().optional(), "external_subject_type": z.string().optional(), "id": z.number().optional(), "id_card_number": z.string().optional(), "is_admin": z.boolean().optional(), "kiosk_user": z.boolean().optional(), "metadata": z.record(z.string(), z.string()).optional(), "mobile": z.string().optional(), "name": z.string().optional(), "profile_synced_at": z.any().optional(), "service_account_binding_status": z.string().optional(), "service_account_id": z.string().optional(), "staff_id": z.string().optional(), "status": z.number().optional(), "type": z.number().optional(), "user_email": z.string().optional() }).strict())
170
-
171
- export const DeveloperClientCreateReqVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "allowed_origins": z.string().optional(), "allowed_scopes": z.string().optional(), "description": z.string().optional(), "name": z.string(), "user_token_required": z.boolean().optional() }).strict())
172
-
173
- export const DeveloperClientUpdateReqVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "allowed_origins": z.string().optional(), "allowed_scopes": z.string().optional(), "description": z.string().optional(), "name": z.string(), "status": z.number().optional(), "user_token_required": z.boolean().optional() }).strict())
174
-
175
- export const DeveloperHookletCreateReqVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "config": z.string().optional(), "dev_client_id": z.number(), "name": z.string() }).strict())
176
-
177
- export const DeveloperHookletUpdateReqVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "config": z.string().optional(), "name": z.string() }).strict())
178
-
179
- export const EntityAIImportConfigReqVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "currentColumns": z.array(z.any()).optional(), "fields": z.array(z.any()).optional() }).strict())
180
-
181
- export const EntityCommentStorageTypeVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "assets_id": z.number().optional(), "file": z.string().optional(), "file_name": z.string().optional(), "meta": z.record(z.string(), z.any()).optional(), "upload_id": z.number().optional() }).strict())
182
-
183
- export const EntityAddCommentReqVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "attachments": z.array(EntityCommentStorageTypeVOSchema).optional(), "content": z.string().optional(), "field_id": z.number().optional(), "quote": z.string().optional(), "transition_id": z.number().optional() }).strict())
184
-
185
47
  export const EntityBulkUpdateActionVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "number_add": z.number().optional(), "number_mul": z.number().optional(), "number_sub": z.number().optional(), "text_append": z.string().optional(), "text_prepend": z.string().optional(), "text_replace": z.string().optional(), "text_search": z.string().optional(), "type": z.string().optional(), "value": z.any().optional() }).strict())
186
48
 
187
49
  export const EntityBulkUpdateFieldVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "action": EntityBulkUpdateActionVOSchema.optional(), "id": z.number().optional() }).strict())
188
50
 
189
51
  export const EntityBulkUpdateReqVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "fields": z.array(EntityBulkUpdateFieldVOSchema).optional(), "policy_id": z.string().optional() }).strict())
190
52
 
191
- export const EntityBulkUpdateSaveAsReqVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "fields": z.array(EntityBulkUpdateFieldVOSchema).optional(), "name": z.string().optional(), "subject": z.string().optional() }).strict())
192
-
193
- export const EntityCloneReqVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "app_id": z.number().optional(), "copy_workflow": z.boolean().optional(), "entity_id": z.number().optional(), "name": z.string().optional() }).strict())
194
-
195
- export const MagicStringPartTypeSchema: z.ZodTypeAny = z.lazy(() => z.union([z.literal(1), z.literal(2), z.literal(3)]))
196
-
197
- export const MagicStringPartSchema: z.ZodTypeAny = z.lazy(() => z.object({ "Data": z.string().optional(), "FieldID": z.number().optional(), "Type": MagicStringPartTypeSchema.optional() }).strict())
198
-
199
- export const MagicStringSchema: z.ZodTypeAny = z.lazy(() => z.object({ "Body": z.string().optional(), "Fields": z.array(z.number()).optional(), "Parts": z.array(MagicStringPartSchema).optional() }).strict())
200
-
201
- export const AiOptionsSchema: z.ZodTypeAny = z.lazy(() => z.object({ "custom": MagicStringSchema.optional(), "result_map": z.array(z.object({ "field_id": z.number().optional(), "type": z.string().optional(), "var": z.string().optional() }).strict()).optional(), "type": z.string().optional() }).strict())
202
-
203
- export const ApiOptionsSchema: z.ZodTypeAny = z.lazy(() => z.object({ "api_id": z.number().optional(), "input": z.any().optional(), "output": z.any().optional() }).strict())
204
-
205
- export const ApiEndpointParamSchema: z.ZodTypeAny = z.lazy(() => z.object({ "key": z.string().optional(), "value": MagicStringSchema.optional() }).strict())
206
-
207
- export const ApiEndpointSchema: z.ZodTypeAny = z.lazy(() => z.object({ "content_type": z.string().optional(), "headers": z.array(ApiEndpointParamSchema).optional(), "method": z.string().optional(), "params": z.array(ApiEndpointParamSchema).optional(), "sign_mode": z.string().optional(), "url": MagicStringSchema.optional() }).strict())
208
-
209
- export const EntityFrontEventSchema: z.ZodTypeAny = z.lazy(() => z.object({ "action": z.string().optional(), "ai_options": AiOptionsSchema.optional(), "api_options": ApiOptionsSchema.optional(), "backfills": z.any().optional(), "curl_options": ApiEndpointSchema.optional(), "description": z.string().optional(), "enabled": z.boolean().optional(), "id": z.string().optional(), "open_url_options": z.any().optional(), "setValues": z.any().optional(), "title": z.string().optional(), "trigger_field": z.number().optional(), "type": z.string().optional() }).strict())
210
-
211
- export const EntityDebugInvokeHookReqVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "action": EntityFrontEventSchema.optional(), "input": z.record(z.string(), z.any()).optional() }).strict())
212
-
213
- export const EntityDelCommentReqVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "comment_id": z.number().optional() }).strict())
53
+ export const EntityCommentStorageTypeVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "assets_id": z.number().optional(), "file": z.string().optional(), "file_name": z.string().optional(), "meta": z.record(z.string(), z.any()).optional(), "upload_id": z.number().optional() }).strict())
214
54
 
215
55
  export const EntityDoActionCommentVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "attachments": z.array(EntityCommentStorageTypeVOSchema).optional(), "content": z.string().optional(), "field_id": z.number().optional(), "quote": z.string().optional(), "transition_id": z.number().optional() }).strict())
216
56
 
@@ -218,59 +58,13 @@ export const EntityDoActionUserScopeVOSchema: z.ZodTypeAny = z.lazy(() => z.obje
218
58
 
219
59
  export const EntityDoActionReqVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "backstep": z.number().optional(), "changed": z.array(z.number()).optional(), "comment": EntityDoActionCommentVOSchema.optional(), "deferReason": z.string().optional(), "deferTime": z.number().optional(), "fields": z.record(z.string(), z.any()).optional(), "task_id": z.number().optional(), "user": z.array(EntityDoActionUserScopeVOSchema).optional() }).strict())
220
60
 
221
- export const EntityDoFsmActionReqVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "append": z.record(z.string(), z.any()).optional(), "policy_id": z.string().optional(), "required_count": z.number().optional() }).strict())
222
-
223
- export const EntityExportReqVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "fields": z.array(z.number()).optional(), "options": z.object({ "has_id": z.boolean().optional() }).strict().optional(), "policy_id": z.string().optional(), "propnames": z.record(z.string(), z.string()).optional(), "props": z.array(z.string()).optional() }).strict())
224
-
225
- export const EntityImportPrepareReqVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "task_id": z.string().optional() }).strict())
226
-
227
- export const EntityImportReqVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "dataset_id": z.number().optional(), "node_id": z.number().optional() }).strict())
228
-
229
- export const EntityImportActionVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "action": z.string().optional(), "taskId": z.string().optional() }).strict())
230
-
231
- export const InlineSchema1Schema: z.ZodTypeAny = z.lazy(() => z.intersection(EntityImportReqVOSchema, EntityImportActionVOSchema))
232
-
233
- export const EntitySelectionQueryOrderVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "column": z.string().optional(), "order": z.string().optional() }).strict())
234
-
235
- export const EntitySelectionVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "condition": z.record(z.string(), z.any()).optional(), "ids": z.array(z.number()).optional(), "length": z.number().optional(), "sorts": z.array(EntitySelectionQueryOrderVOSchema).optional(), "type": z.string().optional() }).strict())
236
-
237
- export const EntityInvokeBatchOperatorDataVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "action_id": z.string().optional(), "policy_id": z.string().optional(), "selection": EntitySelectionVOSchema.optional() }).strict())
238
-
239
- export const EntityInvokeBatchOperatorReqVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "data": EntityInvokeBatchOperatorDataVOSchema.optional(), "id": z.string().optional() }).strict())
240
-
241
- export const InvokeRequestVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "params": z.record(z.string(), z.any()).optional() }).strict())
242
-
243
- export const InlineSchema2Schema: z.ZodTypeAny = z.lazy(() => z.intersection(EntityInvokeBatchOperatorReqVOSchema, InvokeRequestVOSchema))
244
-
245
- export const KioskScreenSchema: z.ZodTypeAny = z.lazy(() => z.record(z.string(), z.any()))
246
-
247
- export const KioskConfigSchema: z.ZodTypeAny = z.lazy(() => z.object({ "interactiveMode": z.string().optional(), "lookupFields": z.array(z.number()).optional(), "options": z.record(z.string(), z.any()).optional(), "screens": z.array(KioskScreenSchema).optional(), "theme": z.string().optional() }).strict())
248
-
249
- export const EntityKioskFlowCreateReqVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "config": KioskConfigSchema.optional(), "enabled": z.boolean().optional(), "name": z.string().optional(), "user_scope": z.array(PermitUserScopeSchema).optional() }).strict())
250
-
251
- export const EntityKioskFlowUpdateReqVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "UpdatedAt": z.string().optional(), "app_id": z.number().optional(), "changed": z.array(z.string()).optional(), "config": KioskConfigSchema.optional(), "enabled": z.boolean().optional(), "entity_id": z.number().optional(), "icon_name": z.string().optional(), "id": z.string().optional(), "last_modified_by": z.number().optional(), "name": z.string().optional(), "tenant_id": z.number().optional(), "title_color": z.string().optional(), "user_scope": z.array(PermitUserScopeSchema).optional() }).strict())
252
-
253
- export const AssetsSchema: z.ZodTypeAny = z.lazy(() => z.object({ "CreatedAt": z.string().optional(), "DeletedAt": GormDeletedAtSchema.optional(), "ID": z.number().optional(), "UpdatedAt": z.string().optional(), "content_type": z.string().optional(), "file": z.string().optional(), "file_name": z.string().optional(), "file_size": z.number().optional(), "is_public": z.boolean().optional(), "platform": z.string().optional() }).strict())
254
-
255
- export const EntityPrintTemplatesCreateReqVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "background_assets": AssetsSchema.optional(), "background_assets_id": z.number().optional(), "entity_id": z.number().optional(), "id": z.number().optional(), "name": z.string().optional(), "size": z.string().optional(), "template": z.record(z.string(), z.any()).optional() }).strict())
256
-
257
- export const EntityPrintTemplatesUpdateReqVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "background_assets": AssetsSchema.optional(), "background_assets_id": z.number().optional(), "entity_id": z.number().optional(), "id": z.number().optional(), "name": z.string().optional(), "size": z.string().optional(), "template": z.record(z.string(), z.any()).optional() }).strict())
258
-
259
- export const EntityPutQueryKeeperReqVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "policy_id": z.string().optional(), "selection": EntitySelectionVOSchema.optional() }).strict())
260
-
261
- export const EntityQueryFilterReqVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "column": z.string().optional(), "policy_id": z.string().optional(), "query": z.string().optional() }).strict())
262
-
263
- export const EntityQueryLinkToValuesReqVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "addition": z.boolean().optional(), "data": z.record(z.string(), z.any()).optional(), "entity": z.boolean().optional(), "field_id": z.number().optional(), "input": z.string().optional(), "limit": z.number().optional(), "offset": z.number().optional(), "policies": z.boolean().optional(), "query": z.string().optional(), "record_id": z.number().optional(), "total": z.boolean().optional() }).strict())
264
-
265
61
  export const EntityQueryRelationReqVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "addition": z.boolean().optional(), "data": z.record(z.string(), z.any()).optional(), "entity": z.boolean().optional(), "field_id": z.number().optional(), "input": z.string().optional(), "limit": z.number().optional(), "offset": z.number().optional(), "policies": z.boolean().optional(), "query": z.string().optional(), "total": z.boolean().optional() }).strict())
266
62
 
267
63
  export const EntityQueryOrderVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "column": z.string().optional(), "order": z.string().optional() }).strict())
268
64
 
269
65
  export const EntityQueryReqVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "limit": z.number().optional(), "offset": z.number().optional(), "policy_id": z.string().optional(), "search": z.record(z.string(), z.any()).optional(), "sorts": z.array(EntityQueryOrderVOSchema).optional(), "view_mode": z.string().optional(), "withSubForm": z.boolean().optional() }).strict())
270
66
 
271
- export const EntitySaveCustomKeysFieldVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "id": z.number().optional(), "key": z.string().optional() }).strict())
272
-
273
- export const EntitySaveCustomKeysReqVOSchema: z.ZodTypeAny = z.lazy(() => z.array(EntitySaveCustomKeysFieldVOSchema))
67
+ export const EntityResolveWorkflowReqVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "approve_users": z.array(z.number()).optional(), "closeCurrentTasks": z.boolean().optional(), "node_id": z.number().optional(), "policy_id": z.string().optional(), "record_id": z.number().optional(), "version_id": z.number().optional() }).strict())
274
68
 
275
69
  export const EntitySaveNameReqVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "name": z.string().optional() }).strict())
276
70
 
@@ -280,73 +74,73 @@ export const FieldsSchema: z.ZodTypeAny = z.lazy(() => z.record(z.string(), z.an
280
74
 
281
75
  export const ButtonSchema: z.ZodTypeAny = z.lazy(() => z.object({ "Action": z.record(z.string(), z.any()).optional(), "Label": z.string().optional(), "Type": z.string().optional() }).strict())
282
76
 
283
- export const CustomActionSchema: z.ZodTypeAny = z.lazy(() => z.object({ "actions": z.array(EntityFrontEventSchema).optional(), "id": z.string().optional(), "label": z.string().optional(), "options": z.any().optional() }).strict())
77
+ export const MagicStringPartTypeSchema: z.ZodTypeAny = z.lazy(() => z.union([z.literal(1), z.literal(2), z.literal(3)]))
284
78
 
285
- export const NotificationPayloadModeSchema: z.ZodTypeAny = z.lazy(() => z.union([z.literal(0), z.literal(1)]))
79
+ export const MagicStringPartSchema: z.ZodTypeAny = z.lazy(() => z.object({ "Data": z.string().optional(), "FieldID": z.number().optional(), "Type": MagicStringPartTypeSchema.optional() }).strict())
286
80
 
287
- export const NotificationNotificationTypeSchema: z.ZodTypeAny = z.lazy(() => z.union([z.literal("webhook"), z.literal("sqs")]))
81
+ export const MagicStringSchema: z.ZodTypeAny = z.lazy(() => z.object({ "Body": z.string().optional(), "Fields": z.array(z.number()).optional(), "Parts": z.array(MagicStringPartSchema).optional() }).strict())
288
82
 
289
- export const EntityOptionsSchema: z.ZodTypeAny = z.lazy(() => z.object({ "ArchiveSearchFieldID": z.number().optional(), "Buttons": z.array(ButtonSchema).optional(), "CommentAble": z.boolean().optional(), "CustomActions": z.array(CustomActionSchema).optional(), "CustomTitle": z.boolean().optional(), "EnableArchive": z.boolean().optional(), "EnableDraft": z.boolean().optional(), "EnableFastEdit": z.boolean().optional(), "EnableLog": z.boolean().optional(), "EnableOffline": z.boolean().optional(), "EnableSuccessScreen": z.boolean().optional(), "EnableTags": z.boolean().optional(), "FrontendEvents": z.array(EntityFrontEventSchema).optional(), "SuccessScreen": z.string().optional(), "TitleFormat": MagicStringSchema.optional(), "misc": z.record(z.string(), z.any()).optional(), "notifications": z.array(z.object({ "enabled": z.boolean().optional(), "events": z.array(PermitEntityEventSchema).optional(), "events_map": z.record(z.string(), z.boolean()).optional(), "mode": NotificationPayloadModeSchema.optional(), "template": z.string().optional(), "type": NotificationNotificationTypeSchema.optional(), "url": z.string().optional(), "version": z.string().optional() }).strict()).optional() }).strict())
83
+ export const AiOptionsSchema: z.ZodTypeAny = z.lazy(() => z.object({ "custom": MagicStringSchema.optional(), "result_map": z.array(z.object({ "field_id": z.number().optional(), "type": z.string().optional(), "var": z.string().optional() }).strict()).optional(), "type": z.string().optional() }).strict())
290
84
 
291
- export const EntitySaveReqVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "app_id": z.number().optional(), "current_serial": EntitySerialUpdaterVOSchema.optional(), "field_id_seq": z.number().optional(), "fields": FieldsSchema.optional(), "id": z.number().optional(), "layout": z.array(z.array(z.number())).optional(), "name": z.string().optional(), "options": EntityOptionsSchema.optional(), "prototypes": z.array(z.number()).optional(), "schema_version": z.number().optional(), "workflow_enabled": z.boolean().optional() }).strict())
85
+ export const ApiOptionsSchema: z.ZodTypeAny = z.lazy(() => z.object({ "api_id": z.number().optional(), "input": z.any().optional(), "output": z.any().optional() }).strict())
292
86
 
293
- export const EntitySelectionActionReqVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "limit": z.number().optional(), "offset": z.number().optional(), "policy_id": z.string().optional(), "selection": EntitySelectionVOSchema.optional() }).strict())
87
+ export const ApiEndpointParamSchema: z.ZodTypeAny = z.lazy(() => z.object({ "key": z.string().optional(), "value": MagicStringSchema.optional() }).strict())
294
88
 
295
- export const EntitySerialInitValReqVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "command": z.string().optional(), "field_id": z.number().optional(), "reset": z.string().optional() }).strict())
89
+ export const ApiEndpointSchema: z.ZodTypeAny = z.lazy(() => z.object({ "content_type": z.string().optional(), "headers": z.array(ApiEndpointParamSchema).optional(), "method": z.string().optional(), "params": z.array(ApiEndpointParamSchema).optional(), "sign_mode": z.string().optional(), "url": MagicStringSchema.optional() }).strict())
296
90
 
297
- export const EntityTestNotificationReqVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "secret": z.string().optional(), "type": z.string().optional(), "url": z.string().optional() }).strict())
91
+ export const EntityFrontEventSchema: z.ZodTypeAny = z.lazy(() => z.object({ "action": z.string().optional(), "ai_options": AiOptionsSchema.optional(), "api_options": ApiOptionsSchema.optional(), "backfills": z.any().optional(), "curl_options": ApiEndpointSchema.optional(), "description": z.string().optional(), "enabled": z.boolean().optional(), "id": z.string().optional(), "open_url_options": z.any().optional(), "setValues": z.any().optional(), "title": z.string().optional(), "trigger_field": z.number().optional(), "type": z.string().optional() }).strict())
298
92
 
299
- export const EntityUpdateButtonsReqVOSchema: z.ZodTypeAny = z.lazy(() => z.array(ButtonSchema))
93
+ export const CustomActionSchema: z.ZodTypeAny = z.lazy(() => z.object({ "actions": z.array(EntityFrontEventSchema).optional(), "id": z.string().optional(), "label": z.string().optional(), "options": z.any().optional() }).strict())
300
94
 
301
- export const NotificationConfigSchema: z.ZodTypeAny = z.lazy(() => z.object({ "type": z.union([z.literal("webhook"), z.literal("sqs")]), "url": z.string(), "mode": z.number().optional(), "template": z.string().optional() }).strict())
95
+ export const PermitEntityEventSchema: z.ZodTypeAny = z.lazy(() => z.union([z.literal(1), z.literal(2), z.literal(3), z.literal(4), z.literal(99), z.literal(11), z.literal(12)]))
302
96
 
303
- export const EntityUpdateNotificationsReqVOSchema: z.ZodTypeAny = z.lazy(() => z.array(NotificationConfigSchema))
97
+ export const NotificationPayloadModeSchema: z.ZodTypeAny = z.lazy(() => z.union([z.literal(0), z.literal(1)]))
304
98
 
305
- export const EntityUpdateOptionsReqVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "ArchiveSearchFieldID": z.number().optional(), "CommentAble": z.boolean().optional(), "CustomTitle": z.boolean().optional(), "EnableArchive": z.boolean().optional(), "EnableFastEdit": z.boolean().optional(), "EnableLog": z.boolean().optional(), "EnableTags": z.boolean().optional(), "TitleFormat": MagicStringSchema.optional() }).strict())
99
+ export const NotificationNotificationTypeSchema: z.ZodTypeAny = z.lazy(() => z.union([z.literal("webhook"), z.literal("sqs")]))
306
100
 
307
- export const EntityUpdateReqVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "changed_fields": z.array(z.number()).optional(), "data": z.record(z.string(), z.any()).optional(), "policy_id": z.string().optional(), "tags": z.array(z.string()).optional() }).strict())
101
+ export const EntityOptionsSchema: z.ZodTypeAny = z.lazy(() => z.object({ "ArchiveSearchFieldID": z.number().optional(), "Buttons": z.array(ButtonSchema).optional(), "CommentAble": z.boolean().optional(), "CustomActions": z.array(CustomActionSchema).optional(), "CustomTitle": z.boolean().optional(), "EnableArchive": z.boolean().optional(), "EnableDraft": z.boolean().optional(), "EnableFastEdit": z.boolean().optional(), "EnableLog": z.boolean().optional(), "EnableOffline": z.boolean().optional(), "EnableSuccessScreen": z.boolean().optional(), "EnableTags": z.boolean().optional(), "FrontendEvents": z.array(EntityFrontEventSchema).optional(), "SuccessScreen": z.string().optional(), "TitleFormat": MagicStringSchema.optional(), "misc": z.record(z.string(), z.any()).optional(), "notifications": z.array(z.object({ "enabled": z.boolean().optional(), "events": z.array(PermitEntityEventSchema).optional(), "events_map": z.record(z.string(), z.boolean()).optional(), "mode": NotificationPayloadModeSchema.optional(), "template": z.string().optional(), "type": NotificationNotificationTypeSchema.optional(), "url": z.string().optional(), "version": z.string().optional() }).strict()).optional() }).strict())
308
102
 
309
- export const EntityUpdateSuccessScreenReqVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "EnableDraft": z.boolean().optional(), "EnableOffline": z.boolean().optional(), "EnableSuccessScreen": z.boolean().optional(), "SuccessScreen": z.string().optional() }).strict())
103
+ export const EntitySaveReqVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "app_id": z.number().optional(), "current_serial": EntitySerialUpdaterVOSchema.optional(), "field_id_seq": z.number().optional(), "fields": FieldsSchema.optional(), "id": z.number().optional(), "layout": z.array(z.array(z.number())).optional(), "name": z.string().optional(), "options": EntityOptionsSchema.optional(), "prototypes": z.array(z.number()).optional(), "schema_version": z.number().optional(), "workflow_enabled": z.boolean().optional() }).strict())
310
104
 
311
- export const EntityValidateUniqFieldVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "field_id": z.number().optional(), "value": z.string().optional() }).strict())
105
+ export const EntitySelectionQueryOrderVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "column": z.string().optional(), "order": z.string().optional() }).strict())
312
106
 
313
- export const EntityValidateUniqReqVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "fields": z.array(EntityValidateUniqFieldVOSchema).optional(), "record_id": z.number().optional() }).strict())
107
+ export const EntitySelectionVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "condition": z.record(z.string(), z.any()).optional(), "ids": z.array(z.number()).optional(), "length": z.number().optional(), "sorts": z.array(EntitySelectionQueryOrderVOSchema).optional(), "type": z.string().optional() }).strict())
314
108
 
315
- export const EntityUtilsQueryOrderSchema: z.ZodTypeAny = z.lazy(() => z.object({ "column": z.string().optional(), "order": z.string().optional() }).strict())
109
+ export const EntitySelectionActionReqVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "limit": z.number().optional(), "offset": z.number().optional(), "policy_id": z.string().optional(), "selection": EntitySelectionVOSchema.optional() }).strict())
316
110
 
317
- export const FetchWidgetsDataReqVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "dashboard_id": z.number().optional(), "ingress_hash_id": z.string().optional(), "ingress_id": z.number().optional(), "querys": z.object({ "search": z.record(z.string(), z.any()).optional(), "sorts": z.array(EntityUtilsQueryOrderSchema).optional() }).strict().optional(), "type": WidgetsTypeCodeSchema.optional() }).strict())
111
+ export const EntityUpdateReqVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "changed_fields": z.array(z.number()).optional(), "data": z.record(z.string(), z.any()).optional(), "policy_id": z.string().optional(), "tags": z.array(z.string()).optional() }).strict())
318
112
 
319
- export const GetOrganizationTreeReqVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "parent_id": z.number().optional() }).strict())
113
+ export const EntityWorkflowApproveUsersReqVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "node_id": z.number().optional(), "policy_id": z.string().optional(), "record_id": z.number().optional(), "version_id": z.number().optional() }).strict())
320
114
 
321
- export const GetOrganizationUsersReqVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "actor": z.array(z.number()).optional(), "department": z.array(z.number()).optional(), "pager": z.object({ "page": z.number().optional(), "size": z.number().optional() }).strict().optional(), "search": z.string().optional(), "status": z.array(z.number()).optional() }).strict())
115
+ export const ActionBulkUpdateActionSchema: z.ZodTypeAny = z.lazy(() => z.object({ "number_add": z.number().optional(), "number_mul": z.number().optional(), "number_sub": z.number().optional(), "text_append": z.string().optional(), "text_prepend": z.string().optional(), "text_replace": z.string().optional(), "text_search": z.string().optional(), "type": z.string().optional(), "value": z.any().optional() }).strict())
322
116
 
323
- export const GetSubformItemsReqVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "fields": z.array(z.number()).optional(), "policy_id": z.string().optional() }).strict())
117
+ export const ActionBulkUpdateSchema: z.ZodTypeAny = z.lazy(() => z.object({ "action": ActionBulkUpdateActionSchema.optional(), "id": z.number().optional() }).strict())
324
118
 
325
- export const GetUploadTokenReqVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "global": z.boolean().optional() }).strict())
119
+ export const WorkflowActionConfigSchema: z.ZodTypeAny = z.lazy(() => z.object({ "enabled": z.boolean().optional(), "options": z.object({ "comment_required": z.boolean().optional(), "desc": z.string().optional(), "modifiers": z.array(ActionBulkUpdateSchema).optional() }).strict().optional() }).strict())
326
120
 
327
- export const GlobalActionAcceptInvitationLinkReqVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "id": z.string().optional() }).strict())
121
+ export const WorkflowVoteTypeSchema: z.ZodTypeAny = z.lazy(() => z.union([z.literal(0), z.literal(1)]))
328
122
 
329
- export const GlobalActionAcceptInvitationReqVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "id": z.number().optional() }).strict())
123
+ export const NotificationWebhookConfigSchema: z.ZodTypeAny = z.lazy(() => z.object({ "mode": NotificationPayloadModeSchema.optional(), "template": z.string().optional(), "url": z.string().optional(), "version": z.string().optional() }).strict())
330
124
 
331
- export const GlobalActionCreateTenantReqVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "name": z.string().optional() }).strict())
125
+ export const WorkflowConfigNodeSchema: z.ZodTypeAny = z.lazy(() => z.object({ "data": z.object({ "actions": z.record(z.string(), WorkflowActionConfigSchema).optional(), "approver_actions": z.array(z.number()).optional(), "approvers": z.array(PermitUserScopeSchema).optional(), "auto_forward": z.boolean().optional(), "cc": z.array(PermitUserScopeSchema).optional(), "fields": z.array(z.number()).optional(), "notify_email": z.boolean().optional(), "notify_email_tmpl": z.object({ "body": z.string().optional(), "subject": z.string().optional() }).strict().optional(), "submit_condition": z.array(z.number()).optional(), "use_cc": z.boolean().optional(), "vote_type": WorkflowVoteTypeSchema.optional(), "webhooks": z.array(NotificationWebhookConfigSchema).optional() }).strict().optional(), "events": z.array(z.number()).optional(), "id": z.string().optional(), "label": z.string().optional(), "mode": z.string().optional(), "position": z.array(z.number()).optional(), "type": z.string().optional() }).strict())
332
126
 
333
- export const GlobalActionEmailVerifyReqVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "code": z.string().optional(), "locale": z.string().optional() }).strict())
127
+ export const WorkflowConfigDiagramSchema: z.ZodTypeAny = z.lazy(() => z.object({ "edges": z.array(z.number()).optional(), "id_seq": z.number().optional(), "nodes": z.array(WorkflowConfigNodeSchema).optional(), "viewport": z.array(z.number()).optional() }).strict())
334
128
 
335
- export const GlobalActionEmailVerifyResendReqVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "locale": z.string().optional() }).strict())
129
+ export const WorkflowAutoApproveRuleSchema: z.ZodTypeAny = z.lazy(() => z.union([z.literal(1), z.literal(2), z.literal(3)]))
336
130
 
337
- export const GlobalActionProfileSetEmailReqVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "email": z.string().optional(), "reset_password": z.boolean().optional() }).strict())
131
+ export const WorkflowRetractRuleSchema: z.ZodTypeAny = z.lazy(() => z.union([z.literal(1), z.literal(2), z.literal(3)]))
338
132
 
339
- export const GlobalActionSetDefaultTenantReqVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "tenant_id": z.number().optional() }).strict())
133
+ export const WorkflowSLATriggerSchema: z.ZodTypeAny = z.lazy(() => z.object({ "hasUpdateField": z.boolean().optional(), "hasWebhook": z.boolean().optional(), "modifiers": z.array(ActionBulkUpdateSchema).optional(), "time_point": z.number().optional(), "webhook": NotificationWebhookConfigSchema.optional() }).strict())
340
134
 
341
- export const PermitFilterCondSchema: z.ZodTypeAny = z.lazy(() => z.object({ "at": z.any().optional(), "eq": z.number().optional(), "expr": z.array(z.number()).optional(), "ge": z.number().optional(), "gt": z.number().optional(), "in": z.array(z.string()).optional(), "is": z.string().optional(), "le": z.number().optional(), "lt": z.number().optional(), "null": z.boolean().optional(), "number_in": z.array(z.number()).optional() }).strict())
135
+ export const WorkflowSLAConfigSchema: z.ZodTypeAny = z.lazy(() => z.object({ "ddl": z.number().optional(), "enabled": z.boolean().optional(), "id": z.string().optional(), "name": z.string().optional(), "nodes": z.array(z.string()).optional(), "triggers": z.array(WorkflowSLATriggerSchema).optional() }).strict())
342
136
 
343
- export const PermitFilterSchema: z.ZodTypeAny = z.lazy(() => z.object({ "column": z.string().optional(), "conditions": PermitFilterCondSchema.optional() }).strict())
137
+ export const WorkflowOptionsSchema: z.ZodTypeAny = z.lazy(() => z.object({ "allow_urge": z.boolean().optional(), "allow_view_diagram": z.boolean().optional(), "auto_approve_rule": WorkflowAutoApproveRuleSchema.optional(), "retract_rule": WorkflowRetractRuleSchema.optional(), "sla": z.array(WorkflowSLAConfigSchema).optional() }).strict())
344
138
 
345
- export const PermitEntityUserTabSchema: z.ZodTypeAny = z.lazy(() => z.object({ "base": z.string().optional(), "filters": z.array(PermitFilterSchema).optional(), "label": z.string().optional(), "query": z.string().optional() }).strict())
139
+ export const EntityWorkflowDeployReqVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "diagram": WorkflowConfigDiagramSchema.optional(), "id": z.number().optional(), "options": WorkflowOptionsSchema.optional() }).strict())
346
140
 
347
- export const IngressSetOptionsTabberReqVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "tabs": z.array(PermitEntityUserTabSchema).optional() }).strict())
141
+ export const EntityWorkflowUpdateReqVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "diagram": WorkflowConfigDiagramSchema.optional(), "id": z.number().optional(), "options": WorkflowOptionsSchema.optional() }).strict())
348
142
 
349
- export const InsertPrepareReqVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "policy_id": z.string().optional() }).strict())
143
+ export const GetUploadTokenReqVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "global": z.boolean().optional() }).strict())
350
144
 
351
145
  export const InsertReqVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "fields": z.record(z.string(), z.any()).optional(), "policy_id": z.string().optional() }).strict())
352
146
 
@@ -354,48 +148,8 @@ export const MobileUploadCheckReqVOSchema: z.ZodTypeAny = z.lazy(() => z.object(
354
148
 
355
149
  export const MobileUploadReqVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "options": z.record(z.string(), z.any()).optional() }).strict())
356
150
 
357
- export const PrintTemplateBackgroundUploadReqVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "upload_id": z.number(), "filename": z.string() }).strict())
358
-
359
- export const TenantConfigGetReqVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "code": z.array(z.string()).optional() }).strict())
360
-
361
- export const TenantConfigUpdateAuthBgImageReqVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "filename": z.string().optional(), "upload_id": z.number().optional() }).strict())
362
-
363
- export const TenantConfigUpdateAuthReqVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "auth_banner": z.string().optional(), "auth_banner_bgcolor": z.string().optional(), "auth_banner_bgmode": z.string().optional(), "auth_banner_enabled": z.boolean().optional(), "auth_idcard_ip": z.string().optional() }).strict())
364
-
365
- export const TenantConfigUpdateEmailReqVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "from": z.string().optional(), "smtp_encryption": z.string().optional(), "smtp_host": z.string().optional(), "smtp_password": z.string().optional(), "smtp_port": z.number().optional(), "smtp_username": z.string().optional() }).strict())
366
-
367
- export const TenantConfigUpdateIconReqVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "filename": z.string().optional(), "upload_id": z.number().optional() }).strict())
368
-
369
- export const TenantConfigUpdateLogoReqVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "filename": z.string().optional(), "upload_id": z.number().optional() }).strict())
370
-
371
- export const TenantUserMetaDataPolicySchema: z.ZodTypeAny = z.lazy(() => z.union([z.literal(1), z.literal(2), z.literal(4)]))
372
-
373
- export const TenantUserMetaDataSchema: z.ZodTypeAny = z.lazy(() => z.object({ "code": z.string().optional(), "description": z.string().optional(), "name": z.string().optional(), "user_can_edit": z.boolean().optional(), "user_can_see": TenantUserMetaDataPolicySchema.optional() }).strict())
374
-
375
- export const TenantConfigUpdateMetaReqVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "meta": z.array(TenantUserMetaDataSchema).optional() }).strict())
376
-
377
- export const TenantConfigUpdateNameReqVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "name": z.string().optional() }).strict())
378
-
379
- export const TenantConfigUpdateReqVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "currency": z.string().optional(), "locale": z.string().optional(), "timezone": z.string().optional() }).strict())
380
-
381
- export const TenantCreateCustomDomainReqVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "domain_name": z.string().optional() }).strict())
382
-
383
- export const TenantKioskGroupCreateReqVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "description": z.string().optional(), "name": z.string().optional() }).strict())
384
-
385
- export const TenantKioskGroupQueryReqVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "limit": z.number().optional(), "query": z.string().optional() }).strict())
386
-
387
- export const TenantKioskGroupUpdateReqVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "description": z.string().optional(), "name": z.string().optional() }).strict())
388
-
389
- export const TenantVerifyCustomDomainOwnerReqVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "domain_name": z.string().optional() }).strict())
390
-
391
- export const UpdateAvatarReqVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "filename": z.string().optional(), "upload_id": z.number().optional() }).strict())
392
-
393
151
  export const UploadPreviewReqVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "fname": z.string().optional(), "upload_id": z.number().optional() }).strict())
394
152
 
395
- export const WorkflowTransitionTypeSchema: z.ZodTypeAny = z.lazy(() => z.union([z.literal(0), z.literal(1), z.literal(2)]))
396
-
397
- export const UserFlowQueryReqVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "app_id": z.number().optional(), "expired": z.boolean().optional(), "finished": z.boolean().optional(), "limit": z.number().optional(), "offset": z.number().optional(), "paused": z.boolean().optional(), "pending_cosign": z.boolean().optional(), "reverse": z.boolean().optional(), "rollback": z.boolean().optional(), "skip_entities": z.array(z.number()).optional(), "urged": z.boolean().optional(), "user_actor": WorkflowTransitionTypeSchema.optional(), "without_cancelled": z.boolean().optional() }).strict())
398
-
399
153
  export const SqlNullTimeSchema: z.ZodTypeAny = z.lazy(() => z.object({ "Time": z.string().optional(), "Valid": z.boolean().optional() }).strict())
400
154
 
401
155
  export const TenantSchema: z.ZodTypeAny = z.lazy(() => z.object({ "CreatedAt": z.string().optional(), "DeletedAt": SqlNullTimeSchema.optional(), "HashID": z.string().optional(), "ID": z.number().optional(), "UpdatedAt": z.string().optional(), "color_schema": z.string().optional(), "currency": z.string().optional(), "icon_assets_id": z.number().optional(), "icon_url": z.string().optional(), "join_able": z.boolean().optional(), "locale": z.string().optional(), "logo_assets_id": z.number().optional(), "logo_url": z.string().optional(), "name": z.string().optional(), "slug": z.string().optional(), "timezone": z.string().optional() }).strict())
@@ -408,266 +162,56 @@ export const TenantUserSchema: z.ZodTypeAny = z.lazy(() => z.object({ "AuthUserI
408
162
 
409
163
  export const UserProfileUpdateReqVOSchema: z.ZodTypeAny = z.lazy(() => z.object({ "Changed": z.record(z.string(), z.boolean()).optional(), "TenantUser": TenantUserSchema.optional(), "User": UserSchema.optional() }).strict())
410
164
 
411
- export const InlineSchema3Schema: z.ZodTypeAny = z.lazy(() => z.object({ "name": z.string() }).strict())
412
-
413
- export const InlineSchema4Schema: z.ZodTypeAny = z.lazy(() => z.object({ "policy_id": z.string(), "selection": z.any(), "tag_names": z.array(z.string()) }).strict())
414
-
415
- export const InlineSchema5Schema: z.ZodTypeAny = z.lazy(() => z.object({ "policy_id": z.string(), "selection": z.any() }).strict())
416
-
417
- export const InlineSchema6Schema: z.ZodTypeAny = z.lazy(() => z.object({ "policy_id": z.string(), "tags": z.array(z.string()) }).strict())
418
-
419
165
  export const generatedRequestTypes = [
420
166
  "AppCreateByTenantsReqVO",
421
167
  "AppCreateEntityReqVO",
422
- "AppCreateEntityShareReqVO",
423
- "AppDeleteEntityShareReqVO",
424
168
  "AppIngressCreateReqVO",
425
- "AppIngressUpdateBlocksReqVO",
426
169
  "AppIngressUpdateReqVO",
427
- "AppNewWidgetsReqVO",
428
- "AppPreviewWidgetsDataReqVO",
429
- "AppRenameReqVO",
430
- "AppSaveSiteMapsReqVO",
431
170
  "AppUpdateAppReqVO",
432
- "AppUpdateI18nReqVO",
433
- "AppUpdateWidgetsIngressOptionsReqVO",
434
- "AppUpdateWidgetsReqVO",
435
- "AutomateRuleCreateReqVO",
436
- "AutomateRuleUpdateReqVO",
437
- "ChangePasswordReqVO",
438
- "CommonQueryFormVO",
439
- "CopilotSendMessageReqVO",
440
- "DashboardCreateReqVO",
441
- "DashboardUpdateLayoutReqVO",
442
- "DashboardUpdateOptionsReqVO",
443
- "DashboardUpdateTitleReqVO",
444
- "DatasetCreateDatasetReqVO",
445
- "DatasetCreateNodeReqVO",
446
- "DatasetImportReqVO",
447
- "DatasetMoveReqVO",
448
- "DatasetUpdateReqVO",
449
- "DepartmentsAddActorReqVO",
450
- "DepartmentsAddReqVO",
451
- "DepartmentsCreateServiceAccountReqVO",
452
- "DepartmentsDeleteActorReqVO",
453
- "DepartmentsEmployeeAccountChangePasswordReqVO",
454
- "DepartmentsEmployeeAccountCreateReqVO",
455
- "DepartmentsGetOrganizationUsersReqVO",
456
- "DepartmentsInviteCodeHistoryReqVO",
457
- "DepartmentsInviteCodeSwitchReqVO",
458
- "DepartmentsInviteOneByOneReqVO",
459
- "DepartmentsMakeLinkReqVO",
460
- "DepartmentsRelocateReqVO",
461
- "DepartmentsRenameReqVO",
462
- "DepartmentsResendInviteReqVO",
463
- "DepartmentsSetDeptPolicyReqVO",
464
- "DepartmentsUpdateUserReqVO",
465
- "DeveloperClientCreateReqVO",
466
- "DeveloperClientUpdateReqVO",
467
- "DeveloperHookletCreateReqVO",
468
- "DeveloperHookletUpdateReqVO",
469
- "EntityAIImportConfigReqVO",
470
- "EntityAddCommentReqVO",
471
171
  "EntityBulkUpdateReqVO",
472
- "EntityBulkUpdateSaveAsReqVO",
473
- "EntityCloneReqVO",
474
- "EntityDebugInvokeHookReqVO",
475
- "EntityDelCommentReqVO",
476
172
  "EntityDoActionReqVO",
477
- "EntityDoFsmActionReqVO",
478
- "EntityExportReqVO",
479
- "EntityImportPrepareReqVO",
480
- "EntityImportReqVO & EntityImportActionVO",
481
- "EntityInvokeBatchOperatorReqVO & InvokeRequestVO",
482
- "EntityKioskFlowCreateReqVO",
483
- "EntityKioskFlowUpdateReqVO",
484
- "EntityPrintTemplatesCreateReqVO",
485
- "EntityPrintTemplatesUpdateReqVO",
486
- "EntityPutQueryKeeperReqVO",
487
- "EntityQueryFilterReqVO",
488
- "EntityQueryLinkToValuesReqVO",
489
173
  "EntityQueryRelationReqVO",
490
174
  "EntityQueryReqVO",
491
- "EntitySaveCustomKeysReqVO",
175
+ "EntityResolveWorkflowReqVO",
492
176
  "EntitySaveNameReqVO",
493
177
  "EntitySaveReqVO",
494
178
  "EntitySelectionActionReqVO",
495
- "EntitySerialInitValReqVO",
496
- "EntityTestNotificationReqVO",
497
- "EntityUpdateButtonsReqVO",
498
- "EntityUpdateNotificationsReqVO",
499
- "EntityUpdateOptionsReqVO",
500
179
  "EntityUpdateReqVO",
501
- "EntityUpdateSuccessScreenReqVO",
502
- "EntityValidateUniqReqVO",
503
- "FetchWidgetsDataReqVO",
504
- "GetOrganizationTreeReqVO",
505
- "GetOrganizationUsersReqVO",
506
- "GetSubformItemsReqVO",
180
+ "EntityWorkflowApproveUsersReqVO",
181
+ "EntityWorkflowDeployReqVO",
182
+ "EntityWorkflowUpdateReqVO",
507
183
  "GetUploadTokenReqVO",
508
- "GlobalActionAcceptInvitationLinkReqVO",
509
- "GlobalActionAcceptInvitationReqVO",
510
- "GlobalActionCreateTenantReqVO",
511
- "GlobalActionEmailVerifyReqVO",
512
- "GlobalActionEmailVerifyResendReqVO",
513
- "GlobalActionProfileSetEmailReqVO",
514
- "GlobalActionSetDefaultTenantReqVO",
515
- "IngressSetOptionsTabberReqVO",
516
- "InsertPrepareReqVO",
517
184
  "InsertReqVO",
518
- "InvokeRequestVO",
519
185
  "MobileUploadCheckReqVO",
520
186
  "MobileUploadReqVO",
521
- "PrintTemplateBackgroundUploadReqVO",
522
- "TenantConfigGetReqVO",
523
- "TenantConfigUpdateAuthBgImageReqVO",
524
- "TenantConfigUpdateAuthReqVO",
525
- "TenantConfigUpdateEmailReqVO",
526
- "TenantConfigUpdateIconReqVO",
527
- "TenantConfigUpdateLogoReqVO",
528
- "TenantConfigUpdateMetaReqVO",
529
- "TenantConfigUpdateNameReqVO",
530
- "TenantConfigUpdateReqVO",
531
- "TenantCreateCustomDomainReqVO",
532
- "TenantKioskGroupCreateReqVO",
533
- "TenantKioskGroupQueryReqVO",
534
- "TenantKioskGroupUpdateReqVO",
535
- "TenantVerifyCustomDomainOwnerReqVO",
536
- "UpdateAvatarReqVO",
537
187
  "UploadPreviewReqVO",
538
- "UserFlowQueryReqVO",
539
188
  "UserProfileUpdateReqVO",
540
- "{ name: string }",
541
- "{ policy_id: string selection: any tag_names: string[] }",
542
- "{ policy_id: string selection: any }",
543
- "{ policy_id: string tags: string[] }",
544
189
  ] as const
545
190
 
546
191
  export const bodySchemas = {
547
192
  "AppCreateByTenantsReqVO": AppCreateByTenantsReqVOSchema,
548
193
  "AppCreateEntityReqVO": AppCreateEntityReqVOSchema,
549
- "AppCreateEntityShareReqVO": AppCreateEntityShareReqVOSchema,
550
- "AppDeleteEntityShareReqVO": AppDeleteEntityShareReqVOSchema,
551
194
  "AppIngressCreateReqVO": AppIngressCreateReqVOSchema,
552
- "AppIngressUpdateBlocksReqVO": AppIngressUpdateBlocksReqVOSchema,
553
195
  "AppIngressUpdateReqVO": AppIngressUpdateReqVOSchema,
554
- "AppNewWidgetsReqVO": AppNewWidgetsReqVOSchema,
555
- "AppPreviewWidgetsDataReqVO": AppPreviewWidgetsDataReqVOSchema,
556
- "AppRenameReqVO": AppRenameReqVOSchema,
557
- "AppSaveSiteMapsReqVO": AppSaveSiteMapsReqVOSchema,
558
196
  "AppUpdateAppReqVO": AppUpdateAppReqVOSchema,
559
- "AppUpdateI18nReqVO": AppUpdateI18nReqVOSchema,
560
- "AppUpdateWidgetsIngressOptionsReqVO": AppUpdateWidgetsIngressOptionsReqVOSchema,
561
- "AppUpdateWidgetsReqVO": AppUpdateWidgetsReqVOSchema,
562
- "AutomateRuleCreateReqVO": AutomateRuleCreateReqVOSchema,
563
- "AutomateRuleUpdateReqVO": AutomateRuleUpdateReqVOSchema,
564
- "ChangePasswordReqVO": ChangePasswordReqVOSchema,
565
- "CommonQueryFormVO": CommonQueryFormVOSchema,
566
- "CopilotSendMessageReqVO": CopilotSendMessageReqVOSchema,
567
- "DashboardCreateReqVO": DashboardCreateReqVOSchema,
568
- "DashboardUpdateLayoutReqVO": DashboardUpdateLayoutReqVOSchema,
569
- "DashboardUpdateOptionsReqVO": DashboardUpdateOptionsReqVOSchema,
570
- "DashboardUpdateTitleReqVO": DashboardUpdateTitleReqVOSchema,
571
- "DatasetCreateDatasetReqVO": DatasetCreateDatasetReqVOSchema,
572
- "DatasetCreateNodeReqVO": DatasetCreateNodeReqVOSchema,
573
- "DatasetImportReqVO": DatasetImportReqVOSchema,
574
- "DatasetMoveReqVO": DatasetMoveReqVOSchema,
575
- "DatasetUpdateReqVO": DatasetUpdateReqVOSchema,
576
- "DepartmentsAddActorReqVO": DepartmentsAddActorReqVOSchema,
577
- "DepartmentsAddReqVO": DepartmentsAddReqVOSchema,
578
- "DepartmentsCreateServiceAccountReqVO": DepartmentsCreateServiceAccountReqVOSchema,
579
- "DepartmentsDeleteActorReqVO": DepartmentsDeleteActorReqVOSchema,
580
- "DepartmentsEmployeeAccountChangePasswordReqVO": DepartmentsEmployeeAccountChangePasswordReqVOSchema,
581
- "DepartmentsEmployeeAccountCreateReqVO": DepartmentsEmployeeAccountCreateReqVOSchema,
582
- "DepartmentsGetOrganizationUsersReqVO": DepartmentsGetOrganizationUsersReqVOSchema,
583
- "DepartmentsInviteCodeHistoryReqVO": DepartmentsInviteCodeHistoryReqVOSchema,
584
- "DepartmentsInviteCodeSwitchReqVO": DepartmentsInviteCodeSwitchReqVOSchema,
585
- "DepartmentsInviteOneByOneReqVO": DepartmentsInviteOneByOneReqVOSchema,
586
- "DepartmentsMakeLinkReqVO": DepartmentsMakeLinkReqVOSchema,
587
- "DepartmentsRelocateReqVO": DepartmentsRelocateReqVOSchema,
588
- "DepartmentsRenameReqVO": DepartmentsRenameReqVOSchema,
589
- "DepartmentsResendInviteReqVO": DepartmentsResendInviteReqVOSchema,
590
- "DepartmentsSetDeptPolicyReqVO": DepartmentsSetDeptPolicyReqVOSchema,
591
- "DepartmentsUpdateUserReqVO": DepartmentsUpdateUserReqVOSchema,
592
- "DeveloperClientCreateReqVO": DeveloperClientCreateReqVOSchema,
593
- "DeveloperClientUpdateReqVO": DeveloperClientUpdateReqVOSchema,
594
- "DeveloperHookletCreateReqVO": DeveloperHookletCreateReqVOSchema,
595
- "DeveloperHookletUpdateReqVO": DeveloperHookletUpdateReqVOSchema,
596
- "EntityAIImportConfigReqVO": EntityAIImportConfigReqVOSchema,
597
- "EntityAddCommentReqVO": EntityAddCommentReqVOSchema,
598
197
  "EntityBulkUpdateReqVO": EntityBulkUpdateReqVOSchema,
599
- "EntityBulkUpdateSaveAsReqVO": EntityBulkUpdateSaveAsReqVOSchema,
600
- "EntityCloneReqVO": EntityCloneReqVOSchema,
601
- "EntityDebugInvokeHookReqVO": EntityDebugInvokeHookReqVOSchema,
602
- "EntityDelCommentReqVO": EntityDelCommentReqVOSchema,
603
198
  "EntityDoActionReqVO": EntityDoActionReqVOSchema,
604
- "EntityDoFsmActionReqVO": EntityDoFsmActionReqVOSchema,
605
- "EntityExportReqVO": EntityExportReqVOSchema,
606
- "EntityImportPrepareReqVO": EntityImportPrepareReqVOSchema,
607
- "EntityImportReqVO & EntityImportActionVO": InlineSchema1Schema,
608
- "EntityInvokeBatchOperatorReqVO & InvokeRequestVO": InlineSchema2Schema,
609
- "EntityKioskFlowCreateReqVO": EntityKioskFlowCreateReqVOSchema,
610
- "EntityKioskFlowUpdateReqVO": EntityKioskFlowUpdateReqVOSchema,
611
- "EntityPrintTemplatesCreateReqVO": EntityPrintTemplatesCreateReqVOSchema,
612
- "EntityPrintTemplatesUpdateReqVO": EntityPrintTemplatesUpdateReqVOSchema,
613
- "EntityPutQueryKeeperReqVO": EntityPutQueryKeeperReqVOSchema,
614
- "EntityQueryFilterReqVO": EntityQueryFilterReqVOSchema,
615
- "EntityQueryLinkToValuesReqVO": EntityQueryLinkToValuesReqVOSchema,
616
199
  "EntityQueryRelationReqVO": EntityQueryRelationReqVOSchema,
617
200
  "EntityQueryReqVO": EntityQueryReqVOSchema,
618
- "EntitySaveCustomKeysReqVO": EntitySaveCustomKeysReqVOSchema,
201
+ "EntityResolveWorkflowReqVO": EntityResolveWorkflowReqVOSchema,
619
202
  "EntitySaveNameReqVO": EntitySaveNameReqVOSchema,
620
203
  "EntitySaveReqVO": EntitySaveReqVOSchema,
621
204
  "EntitySelectionActionReqVO": EntitySelectionActionReqVOSchema,
622
- "EntitySerialInitValReqVO": EntitySerialInitValReqVOSchema,
623
- "EntityTestNotificationReqVO": EntityTestNotificationReqVOSchema,
624
- "EntityUpdateButtonsReqVO": EntityUpdateButtonsReqVOSchema,
625
- "EntityUpdateNotificationsReqVO": EntityUpdateNotificationsReqVOSchema,
626
- "EntityUpdateOptionsReqVO": EntityUpdateOptionsReqVOSchema,
627
205
  "EntityUpdateReqVO": EntityUpdateReqVOSchema,
628
- "EntityUpdateSuccessScreenReqVO": EntityUpdateSuccessScreenReqVOSchema,
629
- "EntityValidateUniqReqVO": EntityValidateUniqReqVOSchema,
630
- "FetchWidgetsDataReqVO": FetchWidgetsDataReqVOSchema,
631
- "GetOrganizationTreeReqVO": GetOrganizationTreeReqVOSchema,
632
- "GetOrganizationUsersReqVO": GetOrganizationUsersReqVOSchema,
633
- "GetSubformItemsReqVO": GetSubformItemsReqVOSchema,
206
+ "EntityWorkflowApproveUsersReqVO": EntityWorkflowApproveUsersReqVOSchema,
207
+ "EntityWorkflowDeployReqVO": EntityWorkflowDeployReqVOSchema,
208
+ "EntityWorkflowUpdateReqVO": EntityWorkflowUpdateReqVOSchema,
634
209
  "GetUploadTokenReqVO": GetUploadTokenReqVOSchema,
635
- "GlobalActionAcceptInvitationLinkReqVO": GlobalActionAcceptInvitationLinkReqVOSchema,
636
- "GlobalActionAcceptInvitationReqVO": GlobalActionAcceptInvitationReqVOSchema,
637
- "GlobalActionCreateTenantReqVO": GlobalActionCreateTenantReqVOSchema,
638
- "GlobalActionEmailVerifyReqVO": GlobalActionEmailVerifyReqVOSchema,
639
- "GlobalActionEmailVerifyResendReqVO": GlobalActionEmailVerifyResendReqVOSchema,
640
- "GlobalActionProfileSetEmailReqVO": GlobalActionProfileSetEmailReqVOSchema,
641
- "GlobalActionSetDefaultTenantReqVO": GlobalActionSetDefaultTenantReqVOSchema,
642
- "IngressSetOptionsTabberReqVO": IngressSetOptionsTabberReqVOSchema,
643
- "InsertPrepareReqVO": InsertPrepareReqVOSchema,
644
210
  "InsertReqVO": InsertReqVOSchema,
645
- "InvokeRequestVO": InvokeRequestVOSchema,
646
211
  "MobileUploadCheckReqVO": MobileUploadCheckReqVOSchema,
647
212
  "MobileUploadReqVO": MobileUploadReqVOSchema,
648
- "PrintTemplateBackgroundUploadReqVO": PrintTemplateBackgroundUploadReqVOSchema,
649
- "TenantConfigGetReqVO": TenantConfigGetReqVOSchema,
650
- "TenantConfigUpdateAuthBgImageReqVO": TenantConfigUpdateAuthBgImageReqVOSchema,
651
- "TenantConfigUpdateAuthReqVO": TenantConfigUpdateAuthReqVOSchema,
652
- "TenantConfigUpdateEmailReqVO": TenantConfigUpdateEmailReqVOSchema,
653
- "TenantConfigUpdateIconReqVO": TenantConfigUpdateIconReqVOSchema,
654
- "TenantConfigUpdateLogoReqVO": TenantConfigUpdateLogoReqVOSchema,
655
- "TenantConfigUpdateMetaReqVO": TenantConfigUpdateMetaReqVOSchema,
656
- "TenantConfigUpdateNameReqVO": TenantConfigUpdateNameReqVOSchema,
657
- "TenantConfigUpdateReqVO": TenantConfigUpdateReqVOSchema,
658
- "TenantCreateCustomDomainReqVO": TenantCreateCustomDomainReqVOSchema,
659
- "TenantKioskGroupCreateReqVO": TenantKioskGroupCreateReqVOSchema,
660
- "TenantKioskGroupQueryReqVO": TenantKioskGroupQueryReqVOSchema,
661
- "TenantKioskGroupUpdateReqVO": TenantKioskGroupUpdateReqVOSchema,
662
- "TenantVerifyCustomDomainOwnerReqVO": TenantVerifyCustomDomainOwnerReqVOSchema,
663
- "UpdateAvatarReqVO": UpdateAvatarReqVOSchema,
664
213
  "UploadPreviewReqVO": UploadPreviewReqVOSchema,
665
- "UserFlowQueryReqVO": UserFlowQueryReqVOSchema,
666
214
  "UserProfileUpdateReqVO": UserProfileUpdateReqVOSchema,
667
- "{ name: string }": InlineSchema3Schema,
668
- "{ policy_id: string selection: any tag_names: string[] }": InlineSchema4Schema,
669
- "{ policy_id: string selection: any }": InlineSchema5Schema,
670
- "{ policy_id: string tags: string[] }": InlineSchema6Schema,
671
215
  } as const
672
216
 
673
217
  export const unsupportedBodySchemas = {