@constructive-io/react 0.28.3 → 0.29.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/admin/hooks/index.d.ts +1 -1
- package/admin/hooks/index.js +1 -1
- package/admin/hooks/invalidation.d.ts +120 -120
- package/admin/hooks/invalidation.js +232 -232
- package/admin/hooks/mutation-keys.d.ts +244 -244
- package/admin/hooks/mutation-keys.js +157 -157
- package/admin/hooks/mutations/index.d.ts +63 -63
- package/admin/hooks/mutations/index.js +63 -63
- package/admin/hooks/queries/index.d.ts +47 -47
- package/admin/hooks/queries/index.js +47 -47
- package/admin/hooks/queries/useAppPermissionsGetByMaskQuery.d.ts +3 -3
- package/admin/hooks/queries/useAppPermissionsGetByMaskQuery.js +2 -2
- package/admin/hooks/queries/useOrgIsManagerOfQuery.d.ts +3 -3
- package/admin/hooks/queries/useOrgIsManagerOfQuery.js +2 -2
- package/admin/hooks/queries/useOrgPermissionsGetByMaskQuery.d.ts +3 -3
- package/admin/hooks/queries/useOrgPermissionsGetByMaskQuery.js +2 -2
- package/admin/hooks/query-keys.d.ts +296 -296
- package/admin/hooks/query-keys.js +173 -173
- package/admin/orm/index.d.ts +67 -67
- package/admin/orm/index.js +44 -44
- package/admin/orm/input-types.d.ts +3168 -3168
- package/admin/orm/input-types.js +1 -1
- package/admin/orm/models/index.d.ts +22 -22
- package/admin/orm/models/index.js +45 -45
- package/admin/orm/mutation/index.d.ts +12 -12
- package/admin/orm/mutation/index.js +12 -12
- package/admin/orm/query/index.d.ts +47 -47
- package/admin/orm/query/index.js +68 -68
- package/admin/schema-types.d.ts +2497 -2497
- package/admin/types.d.ts +193 -193
- package/agent/hooks/index.d.ts +1 -1
- package/agent/hooks/index.js +1 -1
- package/agent/hooks/invalidation.d.ts +23 -23
- package/agent/hooks/invalidation.js +55 -55
- package/agent/hooks/mutation-keys.d.ts +46 -46
- package/agent/hooks/mutation-keys.js +28 -28
- package/agent/hooks/mutations/index.d.ts +12 -12
- package/agent/hooks/mutations/index.js +12 -12
- package/agent/hooks/queries/index.d.ts +8 -8
- package/agent/hooks/queries/index.js +8 -8
- package/agent/hooks/query-keys.d.ts +54 -54
- package/agent/hooks/query-keys.js +32 -32
- package/agent/orm/index.d.ts +8 -8
- package/agent/orm/index.js +8 -8
- package/agent/orm/input-types.d.ts +1788 -1788
- package/agent/orm/input-types.js +9 -9
- package/agent/orm/models/index.d.ts +4 -4
- package/agent/orm/models/index.js +9 -9
- package/agent/schema-types.d.ts +1226 -1226
- package/agent/types.d.ts +95 -95
- package/api/hooks/index.d.ts +1 -1
- package/api/hooks/index.js +1 -1
- package/api/hooks/invalidation.d.ts +184 -184
- package/api/hooks/invalidation.js +392 -392
- package/api/hooks/mutation-keys.d.ts +411 -411
- package/api/hooks/mutation-keys.js +227 -227
- package/api/hooks/mutations/index.d.ts +93 -93
- package/api/hooks/mutations/index.js +93 -93
- package/api/hooks/queries/index.d.ts +64 -64
- package/api/hooks/queries/index.js +64 -64
- package/api/hooks/queries/useApplyRegistryDefaultsQuery.d.ts +3 -3
- package/api/hooks/queries/useApplyRegistryDefaultsQuery.js +2 -2
- package/api/hooks/query-keys.d.ts +466 -466
- package/api/hooks/query-keys.js +251 -251
- package/api/orm/index.d.ts +77 -77
- package/api/orm/index.js +64 -64
- package/api/orm/input-types.d.ts +8781 -8781
- package/api/orm/input-types.js +48 -48
- package/api/orm/models/index.d.ts +32 -32
- package/api/orm/models/index.js +65 -65
- package/api/orm/mutation/index.d.ts +29 -29
- package/api/orm/mutation/index.js +30 -30
- package/api/orm/query/index.d.ts +1 -1
- package/api/orm/query/index.js +4 -4
- package/api/schema-types.d.ts +5628 -5628
- package/api/types.d.ts +435 -435
- package/auth/hooks/index.d.ts +1 -1
- package/auth/hooks/index.js +1 -1
- package/auth/hooks/invalidation.d.ts +42 -42
- package/auth/hooks/invalidation.js +90 -90
- package/auth/hooks/mutation-keys.d.ts +124 -124
- package/auth/hooks/mutation-keys.js +106 -106
- package/auth/hooks/mutations/index.d.ts +36 -36
- package/auth/hooks/mutations/index.js +36 -36
- package/auth/hooks/queries/index.d.ts +15 -15
- package/auth/hooks/queries/index.js +15 -15
- package/auth/hooks/query-keys.d.ts +102 -102
- package/auth/hooks/query-keys.js +59 -59
- package/auth/orm/index.d.ts +103 -103
- package/auth/orm/index.js +14 -14
- package/auth/orm/input-types.d.ts +2102 -2109
- package/auth/orm/input-types.js +5 -5
- package/auth/orm/models/index.d.ts +7 -7
- package/auth/orm/models/index.js +15 -15
- package/auth/orm/mutation/index.d.ts +138 -138
- package/auth/orm/mutation/index.js +168 -168
- package/auth/orm/query/index.d.ts +10 -10
- package/auth/orm/query/index.js +14 -14
- package/auth/schema-types.d.ts +1602 -1605
- package/auth/types.d.ts +86 -87
- package/compute/hooks/index.d.ts +1 -1
- package/compute/hooks/index.js +1 -1
- package/compute/hooks/invalidation.d.ts +183 -183
- package/compute/hooks/invalidation.js +391 -391
- package/compute/hooks/mutation-keys.d.ts +388 -388
- package/compute/hooks/mutation-keys.js +300 -300
- package/compute/hooks/mutations/index.d.ts +97 -97
- package/compute/hooks/mutations/index.js +97 -97
- package/compute/hooks/mutations/useCreateFunctionInvocationMutation.d.ts +2 -2
- package/compute/hooks/mutations/useCreateFunctionInvocationMutation.js +1 -1
- package/compute/hooks/mutations/useCreatePlatformFunctionInvocationMutation.d.ts +2 -2
- package/compute/hooks/mutations/useCreatePlatformFunctionInvocationMutation.js +1 -1
- package/compute/hooks/mutations/useDeleteFunctionInvocationMutation.d.ts +2 -2
- package/compute/hooks/mutations/useDeleteFunctionInvocationMutation.js +1 -1
- package/compute/hooks/mutations/useDeletePlatformFunctionInvocationMutation.d.ts +2 -2
- package/compute/hooks/mutations/useDeletePlatformFunctionInvocationMutation.js +1 -1
- package/compute/hooks/mutations/useUpdateFunctionInvocationMutation.d.ts +2 -2
- package/compute/hooks/mutations/useUpdateFunctionInvocationMutation.js +1 -1
- package/compute/hooks/mutations/useUpdatePlatformFunctionInvocationMutation.d.ts +2 -2
- package/compute/hooks/mutations/useUpdatePlatformFunctionInvocationMutation.js +1 -1
- package/compute/hooks/queries/index.d.ts +59 -59
- package/compute/hooks/queries/index.js +59 -59
- package/compute/hooks/queries/useFunctionInvocationQuery.d.ts +4 -4
- package/compute/hooks/queries/useFunctionInvocationQuery.js +1 -1
- package/compute/hooks/queries/useFunctionInvocationsQuery.d.ts +4 -4
- package/compute/hooks/queries/useFunctionInvocationsQuery.js +1 -1
- package/compute/hooks/queries/usePlatformFunctionInvocationQuery.d.ts +4 -4
- package/compute/hooks/queries/usePlatformFunctionInvocationQuery.js +1 -1
- package/compute/hooks/queries/usePlatformFunctionInvocationsQuery.d.ts +4 -4
- package/compute/hooks/queries/usePlatformFunctionInvocationsQuery.js +1 -1
- package/compute/hooks/query-keys.d.ts +438 -438
- package/compute/hooks/query-keys.js +256 -256
- package/compute/orm/index.d.ts +110 -110
- package/compute/orm/index.js +64 -64
- package/compute/orm/input-types.d.ts +7256 -7037
- package/compute/orm/input-types.js +15 -13
- package/compute/orm/models/index.d.ts +32 -32
- package/compute/orm/models/index.js +65 -65
- package/compute/orm/mutation/index.d.ts +77 -77
- package/compute/orm/mutation/index.js +96 -96
- package/compute/schema-types.d.ts +4950 -4896
- package/compute/types.d.ts +470 -468
- package/config/hooks/index.d.ts +1 -1
- package/config/hooks/index.js +1 -1
- package/config/hooks/invalidation.d.ts +6 -6
- package/config/hooks/invalidation.js +15 -15
- package/config/hooks/mutation-keys.d.ts +24 -24
- package/config/hooks/mutation-keys.js +26 -26
- package/config/hooks/mutations/index.d.ts +9 -9
- package/config/hooks/mutations/index.js +9 -9
- package/config/hooks/queries/index.d.ts +2 -2
- package/config/hooks/queries/index.js +2 -2
- package/config/hooks/query-keys.d.ts +14 -14
- package/config/hooks/query-keys.js +9 -9
- package/config/orm/index.d.ts +30 -30
- package/config/orm/index.js +2 -2
- package/config/orm/input-types.d.ts +416 -416
- package/config/orm/models/index.d.ts +1 -1
- package/config/orm/models/index.js +3 -3
- package/config/orm/mutation/index.d.ts +47 -47
- package/config/orm/mutation/index.js +60 -60
- package/config/schema-types.d.ts +519 -519
- package/config/types.d.ts +35 -35
- package/esm/admin/hooks/index.d.ts +1 -1
- package/esm/admin/hooks/index.js +1 -1
- package/esm/admin/hooks/invalidation.d.ts +120 -120
- package/esm/admin/hooks/invalidation.js +233 -233
- package/esm/admin/hooks/mutation-keys.d.ts +244 -244
- package/esm/admin/hooks/mutation-keys.js +156 -156
- package/esm/admin/hooks/mutations/index.d.ts +63 -63
- package/esm/admin/hooks/mutations/index.js +63 -63
- package/esm/admin/hooks/queries/index.d.ts +47 -47
- package/esm/admin/hooks/queries/index.js +47 -47
- package/esm/admin/hooks/queries/useAppPermissionsGetByMaskQuery.d.ts +3 -3
- package/esm/admin/hooks/queries/useAppPermissionsGetByMaskQuery.js +2 -2
- package/esm/admin/hooks/queries/useOrgIsManagerOfQuery.d.ts +3 -3
- package/esm/admin/hooks/queries/useOrgIsManagerOfQuery.js +2 -2
- package/esm/admin/hooks/queries/useOrgPermissionsGetByMaskQuery.d.ts +3 -3
- package/esm/admin/hooks/queries/useOrgPermissionsGetByMaskQuery.js +2 -2
- package/esm/admin/hooks/query-keys.d.ts +296 -296
- package/esm/admin/hooks/query-keys.js +172 -172
- package/esm/admin/orm/index.d.ts +67 -67
- package/esm/admin/orm/index.js +44 -44
- package/esm/admin/orm/input-types.d.ts +3168 -3168
- package/esm/admin/orm/input-types.js +1 -1
- package/esm/admin/orm/models/index.d.ts +22 -22
- package/esm/admin/orm/models/index.js +22 -22
- package/esm/admin/orm/mutation/index.d.ts +12 -12
- package/esm/admin/orm/mutation/index.js +12 -12
- package/esm/admin/orm/query/index.d.ts +47 -47
- package/esm/admin/orm/query/index.js +68 -68
- package/esm/admin/schema-types.d.ts +2497 -2497
- package/esm/admin/types.d.ts +193 -193
- package/esm/agent/hooks/index.d.ts +1 -1
- package/esm/agent/hooks/index.js +1 -1
- package/esm/agent/hooks/invalidation.d.ts +23 -23
- package/esm/agent/hooks/invalidation.js +56 -56
- package/esm/agent/hooks/mutation-keys.d.ts +46 -46
- package/esm/agent/hooks/mutation-keys.js +27 -27
- package/esm/agent/hooks/mutations/index.d.ts +12 -12
- package/esm/agent/hooks/mutations/index.js +12 -12
- package/esm/agent/hooks/queries/index.d.ts +8 -8
- package/esm/agent/hooks/queries/index.js +8 -8
- package/esm/agent/hooks/query-keys.d.ts +54 -54
- package/esm/agent/hooks/query-keys.js +31 -31
- package/esm/agent/orm/index.d.ts +8 -8
- package/esm/agent/orm/index.js +8 -8
- package/esm/agent/orm/input-types.d.ts +1788 -1788
- package/esm/agent/orm/input-types.js +9 -9
- package/esm/agent/orm/models/index.d.ts +4 -4
- package/esm/agent/orm/models/index.js +4 -4
- package/esm/agent/schema-types.d.ts +1226 -1226
- package/esm/agent/types.d.ts +95 -95
- package/esm/api/hooks/index.d.ts +1 -1
- package/esm/api/hooks/index.js +1 -1
- package/esm/api/hooks/invalidation.d.ts +184 -184
- package/esm/api/hooks/invalidation.js +393 -393
- package/esm/api/hooks/mutation-keys.d.ts +411 -411
- package/esm/api/hooks/mutation-keys.js +226 -226
- package/esm/api/hooks/mutations/index.d.ts +93 -93
- package/esm/api/hooks/mutations/index.js +93 -93
- package/esm/api/hooks/queries/index.d.ts +64 -64
- package/esm/api/hooks/queries/index.js +64 -64
- package/esm/api/hooks/queries/useApplyRegistryDefaultsQuery.d.ts +3 -3
- package/esm/api/hooks/queries/useApplyRegistryDefaultsQuery.js +2 -2
- package/esm/api/hooks/query-keys.d.ts +466 -466
- package/esm/api/hooks/query-keys.js +250 -250
- package/esm/api/orm/index.d.ts +77 -77
- package/esm/api/orm/index.js +64 -64
- package/esm/api/orm/input-types.d.ts +8781 -8781
- package/esm/api/orm/input-types.js +48 -48
- package/esm/api/orm/models/index.d.ts +32 -32
- package/esm/api/orm/models/index.js +32 -32
- package/esm/api/orm/mutation/index.d.ts +29 -29
- package/esm/api/orm/mutation/index.js +30 -30
- package/esm/api/orm/query/index.d.ts +1 -1
- package/esm/api/orm/query/index.js +4 -4
- package/esm/api/schema-types.d.ts +5628 -5628
- package/esm/api/types.d.ts +435 -435
- package/esm/auth/hooks/index.d.ts +1 -1
- package/esm/auth/hooks/index.js +1 -1
- package/esm/auth/hooks/invalidation.d.ts +42 -42
- package/esm/auth/hooks/invalidation.js +91 -91
- package/esm/auth/hooks/mutation-keys.d.ts +124 -124
- package/esm/auth/hooks/mutation-keys.js +105 -105
- package/esm/auth/hooks/mutations/index.d.ts +36 -36
- package/esm/auth/hooks/mutations/index.js +36 -36
- package/esm/auth/hooks/queries/index.d.ts +15 -15
- package/esm/auth/hooks/queries/index.js +15 -15
- package/esm/auth/hooks/query-keys.d.ts +102 -102
- package/esm/auth/hooks/query-keys.js +58 -58
- package/esm/auth/orm/index.d.ts +103 -103
- package/esm/auth/orm/index.js +14 -14
- package/esm/auth/orm/input-types.d.ts +2102 -2109
- package/esm/auth/orm/input-types.js +5 -5
- package/esm/auth/orm/models/index.d.ts +7 -7
- package/esm/auth/orm/models/index.js +7 -7
- package/esm/auth/orm/mutation/index.d.ts +138 -138
- package/esm/auth/orm/mutation/index.js +168 -168
- package/esm/auth/orm/query/index.d.ts +10 -10
- package/esm/auth/orm/query/index.js +14 -14
- package/esm/auth/schema-types.d.ts +1602 -1605
- package/esm/auth/types.d.ts +86 -87
- package/esm/compute/hooks/index.d.ts +1 -1
- package/esm/compute/hooks/index.js +1 -1
- package/esm/compute/hooks/invalidation.d.ts +183 -183
- package/esm/compute/hooks/invalidation.js +392 -392
- package/esm/compute/hooks/mutation-keys.d.ts +388 -388
- package/esm/compute/hooks/mutation-keys.js +299 -299
- package/esm/compute/hooks/mutations/index.d.ts +97 -97
- package/esm/compute/hooks/mutations/index.js +97 -97
- package/esm/compute/hooks/mutations/useCreateFunctionInvocationMutation.d.ts +2 -2
- package/esm/compute/hooks/mutations/useCreateFunctionInvocationMutation.js +1 -1
- package/esm/compute/hooks/mutations/useCreatePlatformFunctionInvocationMutation.d.ts +2 -2
- package/esm/compute/hooks/mutations/useCreatePlatformFunctionInvocationMutation.js +1 -1
- package/esm/compute/hooks/mutations/useDeleteFunctionInvocationMutation.d.ts +2 -2
- package/esm/compute/hooks/mutations/useDeleteFunctionInvocationMutation.js +1 -1
- package/esm/compute/hooks/mutations/useDeletePlatformFunctionInvocationMutation.d.ts +2 -2
- package/esm/compute/hooks/mutations/useDeletePlatformFunctionInvocationMutation.js +1 -1
- package/esm/compute/hooks/mutations/useUpdateFunctionInvocationMutation.d.ts +2 -2
- package/esm/compute/hooks/mutations/useUpdateFunctionInvocationMutation.js +1 -1
- package/esm/compute/hooks/mutations/useUpdatePlatformFunctionInvocationMutation.d.ts +2 -2
- package/esm/compute/hooks/mutations/useUpdatePlatformFunctionInvocationMutation.js +1 -1
- package/esm/compute/hooks/queries/index.d.ts +59 -59
- package/esm/compute/hooks/queries/index.js +59 -59
- package/esm/compute/hooks/queries/useFunctionInvocationQuery.d.ts +4 -4
- package/esm/compute/hooks/queries/useFunctionInvocationQuery.js +1 -1
- package/esm/compute/hooks/queries/useFunctionInvocationsQuery.d.ts +4 -4
- package/esm/compute/hooks/queries/useFunctionInvocationsQuery.js +1 -1
- package/esm/compute/hooks/queries/usePlatformFunctionInvocationQuery.d.ts +4 -4
- package/esm/compute/hooks/queries/usePlatformFunctionInvocationQuery.js +1 -1
- package/esm/compute/hooks/queries/usePlatformFunctionInvocationsQuery.d.ts +4 -4
- package/esm/compute/hooks/queries/usePlatformFunctionInvocationsQuery.js +1 -1
- package/esm/compute/hooks/query-keys.d.ts +438 -438
- package/esm/compute/hooks/query-keys.js +255 -255
- package/esm/compute/orm/index.d.ts +110 -110
- package/esm/compute/orm/index.js +64 -64
- package/esm/compute/orm/input-types.d.ts +7256 -7037
- package/esm/compute/orm/input-types.js +15 -13
- package/esm/compute/orm/models/index.d.ts +32 -32
- package/esm/compute/orm/models/index.js +32 -32
- package/esm/compute/orm/mutation/index.d.ts +77 -77
- package/esm/compute/orm/mutation/index.js +96 -96
- package/esm/compute/schema-types.d.ts +4950 -4896
- package/esm/compute/types.d.ts +470 -468
- package/esm/config/hooks/index.d.ts +1 -1
- package/esm/config/hooks/index.js +1 -1
- package/esm/config/hooks/invalidation.d.ts +6 -6
- package/esm/config/hooks/invalidation.js +16 -16
- package/esm/config/hooks/mutation-keys.d.ts +24 -24
- package/esm/config/hooks/mutation-keys.js +25 -25
- package/esm/config/hooks/mutations/index.d.ts +9 -9
- package/esm/config/hooks/mutations/index.js +9 -9
- package/esm/config/hooks/queries/index.d.ts +2 -2
- package/esm/config/hooks/queries/index.js +2 -2
- package/esm/config/hooks/query-keys.d.ts +14 -14
- package/esm/config/hooks/query-keys.js +8 -8
- package/esm/config/orm/index.d.ts +30 -30
- package/esm/config/orm/index.js +2 -2
- package/esm/config/orm/input-types.d.ts +416 -416
- package/esm/config/orm/models/index.d.ts +1 -1
- package/esm/config/orm/models/index.js +1 -1
- package/esm/config/orm/mutation/index.d.ts +47 -47
- package/esm/config/orm/mutation/index.js +60 -60
- package/esm/config/schema-types.d.ts +519 -519
- package/esm/config/types.d.ts +35 -35
- package/esm/infra/hooks/index.d.ts +1 -1
- package/esm/infra/hooks/index.js +1 -1
- package/esm/infra/hooks/invalidation.d.ts +28 -28
- package/esm/infra/hooks/invalidation.js +66 -66
- package/esm/infra/hooks/mutation-keys.d.ts +58 -58
- package/esm/infra/hooks/mutation-keys.js +36 -36
- package/esm/infra/hooks/mutations/index.d.ts +16 -16
- package/esm/infra/hooks/mutations/index.js +16 -16
- package/esm/infra/hooks/queries/index.d.ts +10 -10
- package/esm/infra/hooks/queries/index.js +10 -10
- package/esm/infra/hooks/query-keys.d.ts +66 -66
- package/esm/infra/hooks/query-keys.js +38 -38
- package/esm/infra/orm/index.d.ts +15 -15
- package/esm/infra/orm/index.js +10 -10
- package/esm/infra/orm/input-types.d.ts +971 -971
- package/esm/infra/orm/models/index.d.ts +5 -5
- package/esm/infra/orm/models/index.js +5 -5
- package/esm/infra/orm/mutation/index.d.ts +9 -9
- package/esm/infra/orm/mutation/index.js +12 -12
- package/esm/infra/schema-types.d.ts +979 -979
- package/esm/infra/types.d.ts +72 -72
- package/esm/modules/hooks/index.d.ts +1 -1
- package/esm/modules/hooks/index.js +1 -1
- package/esm/modules/hooks/invalidation.d.ts +291 -291
- package/esm/modules/hooks/invalidation.js +563 -563
- package/esm/modules/hooks/mutation-keys.d.ts +602 -602
- package/esm/modules/hooks/mutation-keys.js +384 -384
- package/esm/modules/hooks/mutations/index.d.ts +164 -164
- package/esm/modules/hooks/mutations/index.js +164 -164
- package/esm/modules/hooks/queries/index.d.ts +106 -106
- package/esm/modules/hooks/queries/index.js +106 -106
- package/esm/modules/hooks/queries/useResolveBlueprintFieldQuery.d.ts +3 -3
- package/esm/modules/hooks/queries/useResolveBlueprintFieldQuery.js +2 -2
- package/esm/modules/hooks/queries/useResolveBlueprintTableQuery.d.ts +3 -3
- package/esm/modules/hooks/queries/useResolveBlueprintTableQuery.js +2 -2
- package/esm/modules/hooks/query-keys.d.ts +696 -696
- package/esm/modules/hooks/query-keys.js +399 -399
- package/esm/modules/orm/index.d.ts +126 -126
- package/esm/modules/orm/index.js +106 -106
- package/esm/modules/orm/input-types.d.ts +11482 -11468
- package/esm/modules/orm/input-types.js +1 -1
- package/esm/modules/orm/models/index.d.ts +53 -53
- package/esm/modules/orm/models/index.js +53 -53
- package/esm/modules/orm/mutation/index.d.ts +51 -51
- package/esm/modules/orm/mutation/index.js +42 -42
- package/esm/modules/orm/query/index.d.ts +3 -3
- package/esm/modules/orm/query/index.js +8 -8
- package/esm/modules/schema-types.d.ts +8363 -8355
- package/esm/modules/types.d.ts +1013 -1011
- package/esm/objects/hooks/index.d.ts +1 -1
- package/esm/objects/hooks/index.js +1 -1
- package/esm/objects/hooks/invalidation.d.ts +12 -12
- package/esm/objects/hooks/invalidation.js +33 -33
- package/esm/objects/hooks/mutation-keys.d.ts +26 -26
- package/esm/objects/hooks/mutation-keys.js +17 -17
- package/esm/objects/hooks/mutations/index.d.ts +7 -7
- package/esm/objects/hooks/mutations/index.js +7 -7
- package/esm/objects/hooks/queries/index.d.ts +4 -4
- package/esm/objects/hooks/queries/index.js +4 -4
- package/esm/objects/hooks/query-keys.d.ts +28 -28
- package/esm/objects/hooks/query-keys.js +16 -16
- package/esm/objects/orm/index.d.ts +9 -9
- package/esm/objects/orm/index.js +4 -4
- package/esm/objects/orm/input-types.d.ts +384 -384
- package/esm/objects/orm/models/index.d.ts +2 -2
- package/esm/objects/orm/models/index.js +2 -2
- package/esm/objects/orm/mutation/index.d.ts +9 -9
- package/esm/objects/orm/mutation/index.js +12 -12
- package/esm/objects/schema-types.d.ts +438 -438
- package/esm/objects/types.d.ts +23 -23
- package/esm/usage/hooks/index.d.ts +1 -1
- package/esm/usage/hooks/index.js +1 -1
- package/esm/usage/hooks/invalidation.d.ts +67 -67
- package/esm/usage/hooks/invalidation.js +140 -140
- package/esm/usage/hooks/mutation-keys.d.ts +136 -136
- package/esm/usage/hooks/mutation-keys.js +82 -82
- package/esm/usage/hooks/mutations/index.d.ts +37 -37
- package/esm/usage/hooks/mutations/index.js +37 -37
- package/esm/usage/hooks/queries/index.d.ts +24 -24
- package/esm/usage/hooks/queries/index.js +24 -24
- package/esm/usage/hooks/query-keys.d.ts +158 -158
- package/esm/usage/hooks/query-keys.js +91 -91
- package/esm/usage/orm/index.d.ts +29 -29
- package/esm/usage/orm/index.js +24 -24
- package/esm/usage/orm/input-types.d.ts +2049 -2049
- package/esm/usage/orm/input-types.js +5 -5
- package/esm/usage/orm/models/index.d.ts +12 -12
- package/esm/usage/orm/models/index.js +12 -12
- package/esm/usage/orm/mutation/index.d.ts +16 -16
- package/esm/usage/orm/mutation/index.js +12 -12
- package/esm/usage/schema-types.d.ts +1591 -1591
- package/esm/usage/types.d.ts +99 -99
- package/infra/hooks/index.d.ts +1 -1
- package/infra/hooks/index.js +1 -1
- package/infra/hooks/invalidation.d.ts +28 -28
- package/infra/hooks/invalidation.js +65 -65
- package/infra/hooks/mutation-keys.d.ts +58 -58
- package/infra/hooks/mutation-keys.js +37 -37
- package/infra/hooks/mutations/index.d.ts +16 -16
- package/infra/hooks/mutations/index.js +16 -16
- package/infra/hooks/queries/index.d.ts +10 -10
- package/infra/hooks/queries/index.js +10 -10
- package/infra/hooks/query-keys.d.ts +66 -66
- package/infra/hooks/query-keys.js +39 -39
- package/infra/orm/index.d.ts +15 -15
- package/infra/orm/index.js +10 -10
- package/infra/orm/input-types.d.ts +971 -971
- package/infra/orm/models/index.d.ts +5 -5
- package/infra/orm/models/index.js +11 -11
- package/infra/orm/mutation/index.d.ts +9 -9
- package/infra/orm/mutation/index.js +12 -12
- package/infra/schema-types.d.ts +979 -979
- package/infra/types.d.ts +72 -72
- package/modules/hooks/index.d.ts +1 -1
- package/modules/hooks/index.js +1 -1
- package/modules/hooks/invalidation.d.ts +291 -291
- package/modules/hooks/invalidation.js +562 -562
- package/modules/hooks/mutation-keys.d.ts +602 -602
- package/modules/hooks/mutation-keys.js +386 -386
- package/modules/hooks/mutations/index.d.ts +164 -164
- package/modules/hooks/mutations/index.js +164 -164
- package/modules/hooks/queries/index.d.ts +106 -106
- package/modules/hooks/queries/index.js +106 -106
- package/modules/hooks/queries/useResolveBlueprintFieldQuery.d.ts +3 -3
- package/modules/hooks/queries/useResolveBlueprintFieldQuery.js +2 -2
- package/modules/hooks/queries/useResolveBlueprintTableQuery.d.ts +3 -3
- package/modules/hooks/queries/useResolveBlueprintTableQuery.js +2 -2
- package/modules/hooks/query-keys.d.ts +696 -696
- package/modules/hooks/query-keys.js +401 -401
- package/modules/orm/index.d.ts +126 -126
- package/modules/orm/index.js +106 -106
- package/modules/orm/input-types.d.ts +11482 -11468
- package/modules/orm/input-types.js +1 -1
- package/modules/orm/models/index.d.ts +53 -53
- package/modules/orm/models/index.js +108 -108
- package/modules/orm/mutation/index.d.ts +51 -51
- package/modules/orm/mutation/index.js +42 -42
- package/modules/orm/query/index.d.ts +3 -3
- package/modules/orm/query/index.js +8 -8
- package/modules/schema-types.d.ts +8363 -8355
- package/modules/types.d.ts +1013 -1011
- package/objects/hooks/index.d.ts +1 -1
- package/objects/hooks/index.js +1 -1
- package/objects/hooks/invalidation.d.ts +12 -12
- package/objects/hooks/invalidation.js +32 -32
- package/objects/hooks/mutation-keys.d.ts +26 -26
- package/objects/hooks/mutation-keys.js +18 -18
- package/objects/hooks/mutations/index.d.ts +7 -7
- package/objects/hooks/mutations/index.js +7 -7
- package/objects/hooks/queries/index.d.ts +4 -4
- package/objects/hooks/queries/index.js +4 -4
- package/objects/hooks/query-keys.d.ts +28 -28
- package/objects/hooks/query-keys.js +17 -17
- package/objects/orm/index.d.ts +9 -9
- package/objects/orm/index.js +4 -4
- package/objects/orm/input-types.d.ts +384 -384
- package/objects/orm/models/index.d.ts +2 -2
- package/objects/orm/models/index.js +5 -5
- package/objects/orm/mutation/index.d.ts +9 -9
- package/objects/orm/mutation/index.js +12 -12
- package/objects/schema-types.d.ts +438 -438
- package/objects/types.d.ts +23 -23
- package/package.json +4 -4
- package/usage/hooks/index.d.ts +1 -1
- package/usage/hooks/index.js +1 -1
- package/usage/hooks/invalidation.d.ts +67 -67
- package/usage/hooks/invalidation.js +139 -139
- package/usage/hooks/mutation-keys.d.ts +136 -136
- package/usage/hooks/mutation-keys.js +83 -83
- package/usage/hooks/mutations/index.d.ts +37 -37
- package/usage/hooks/mutations/index.js +37 -37
- package/usage/hooks/queries/index.d.ts +24 -24
- package/usage/hooks/queries/index.js +24 -24
- package/usage/hooks/query-keys.d.ts +158 -158
- package/usage/hooks/query-keys.js +92 -92
- package/usage/orm/index.d.ts +29 -29
- package/usage/orm/index.js +24 -24
- package/usage/orm/input-types.d.ts +2049 -2049
- package/usage/orm/input-types.js +5 -5
- package/usage/orm/models/index.d.ts +12 -12
- package/usage/orm/models/index.js +25 -25
- package/usage/orm/mutation/index.d.ts +16 -16
- package/usage/orm/mutation/index.js +12 -12
- package/usage/schema-types.d.ts +1591 -1591
- package/usage/types.d.ts +99 -99
|
@@ -229,236 +229,236 @@ export interface UUIDListFilter {
|
|
|
229
229
|
anyGreaterThan?: string;
|
|
230
230
|
anyGreaterThanOrEqualTo?: string;
|
|
231
231
|
}
|
|
232
|
-
/**
|
|
233
|
-
export interface
|
|
234
|
-
|
|
232
|
+
/** Agent instance registry (human-managed or ephemeral sub-agents) */
|
|
233
|
+
export interface Agent {
|
|
234
|
+
/** Per-instance config overrides (model, temperature, tools) */
|
|
235
|
+
config?: Record<string, unknown> | null;
|
|
235
236
|
createdAt?: string | null;
|
|
236
|
-
updatedAt?: string | null;
|
|
237
|
-
/** User who owns this plan */
|
|
238
|
-
ownerId?: string | null;
|
|
239
|
-
/** Foreign key to agent_thread */
|
|
240
|
-
threadId?: string | null;
|
|
241
237
|
/** Database that owns this resource (database-scoped isolation) */
|
|
242
238
|
databaseId?: string | null;
|
|
243
|
-
/** Human-readable plan name */
|
|
244
|
-
title?: string | null;
|
|
245
|
-
/** Overall goal or context for this plan */
|
|
246
|
-
description?: string | null;
|
|
247
|
-
/** Plan lifecycle: draft, active, completed, failed, cancelled */
|
|
248
|
-
status?: string | null;
|
|
249
|
-
}
|
|
250
|
-
/** Agent instance registry (human-managed or ephemeral sub-agents) */
|
|
251
|
-
export interface Agent {
|
|
252
239
|
id: string;
|
|
253
|
-
|
|
254
|
-
|
|
240
|
+
/** If true, agent is deleted when its spawning thread is deleted */
|
|
241
|
+
isEphemeral?: boolean | null;
|
|
242
|
+
/** Display name for this agent instance */
|
|
243
|
+
name?: string | null;
|
|
255
244
|
/** Human who owns/manages this agent */
|
|
256
245
|
ownerId?: string | null;
|
|
257
|
-
/** Database that owns this resource (database-scoped isolation) */
|
|
258
|
-
databaseId?: string | null;
|
|
259
|
-
/** Persona template this agent was created from */
|
|
260
|
-
personaId?: string | null;
|
|
261
246
|
/** Parent agent (for sub-agent delegation hierarchy) */
|
|
262
247
|
parentId?: string | null;
|
|
263
|
-
/**
|
|
264
|
-
|
|
265
|
-
/** System prompt override (NULL = inherit from persona) */
|
|
266
|
-
systemPrompt?: string | null;
|
|
267
|
-
/** Per-instance config overrides (model, temperature, tools) */
|
|
268
|
-
config?: Record<string, unknown> | null;
|
|
248
|
+
/** Persona template this agent was created from */
|
|
249
|
+
personaId?: string | null;
|
|
269
250
|
/** Agent lifecycle status: active, paused, terminated */
|
|
270
251
|
status?: string | null;
|
|
271
|
-
/**
|
|
272
|
-
isEphemeral?: boolean | null;
|
|
273
|
-
}
|
|
274
|
-
/** Top-level AI/LLM conversation thread */
|
|
275
|
-
export interface AgentThread {
|
|
276
|
-
id: string;
|
|
277
|
-
createdAt?: string | null;
|
|
278
|
-
updatedAt?: string | null;
|
|
279
|
-
/** User who owns this thread */
|
|
280
|
-
ownerId?: string | null;
|
|
281
|
-
/** Database that owns this resource (database-scoped isolation) */
|
|
282
|
-
databaseId?: string | null;
|
|
283
|
-
/** Current status of this thread */
|
|
284
|
-
status?: string | null;
|
|
285
|
-
/** Whether this record has been archived by the user */
|
|
286
|
-
isArchived?: boolean | null;
|
|
287
|
-
/** Timestamp when this record was archived, NULL if active */
|
|
288
|
-
archivedAt?: string | null;
|
|
289
|
-
/** Human-readable conversation title */
|
|
290
|
-
title?: string | null;
|
|
291
|
-
/** Conversation mode: ask (plain Q&A) or agent (tool-enabled) */
|
|
292
|
-
mode?: string | null;
|
|
293
|
-
/** LLM model id this thread is bound to */
|
|
294
|
-
model?: string | null;
|
|
295
|
-
/** System prompt active for this thread */
|
|
252
|
+
/** System prompt override (NULL = inherit from persona) */
|
|
296
253
|
systemPrompt?: string | null;
|
|
297
|
-
|
|
298
|
-
tags?: string[] | null;
|
|
299
|
-
/** Optional FK to a shared prompt template */
|
|
300
|
-
promptTemplateId?: string | null;
|
|
301
|
-
/** Agent instance assigned to this thread */
|
|
302
|
-
agentId?: string | null;
|
|
303
|
-
/** Parent thread that spawned this sub-conversation */
|
|
304
|
-
parentThreadId?: string | null;
|
|
254
|
+
updatedAt?: string | null;
|
|
305
255
|
}
|
|
306
256
|
/** Message within an agent thread with TextPart/ToolPart jsonb parts */
|
|
307
257
|
export interface AgentMessage {
|
|
308
|
-
id: string;
|
|
309
|
-
createdAt?: string | null;
|
|
310
|
-
updatedAt?: string | null;
|
|
311
258
|
/** User who authored this message */
|
|
312
259
|
actorId?: string | null;
|
|
260
|
+
/** Agent that authored this message (NULL for human messages) */
|
|
261
|
+
agentId?: string | null;
|
|
262
|
+
/** Who authored this message: user or assistant */
|
|
263
|
+
authorRole?: string | null;
|
|
264
|
+
createdAt?: string | null;
|
|
265
|
+
/** Database that owns this resource (database-scoped isolation) */
|
|
266
|
+
databaseId?: string | null;
|
|
267
|
+
id: string;
|
|
268
|
+
/** LLM model that generated this response */
|
|
269
|
+
model?: string | null;
|
|
313
270
|
/** Message content: TextPart and ToolPart array */
|
|
314
271
|
parts?: Record<string, unknown> | null;
|
|
315
272
|
/** Foreign key to agent_thread */
|
|
316
273
|
threadId?: string | null;
|
|
274
|
+
updatedAt?: string | null;
|
|
275
|
+
}
|
|
276
|
+
/** Agent persona templates (role, system prompt, default skills/knowledge) */
|
|
277
|
+
export interface AgentPersona {
|
|
278
|
+
/** Model preferences, temperature, tool access, constraints */
|
|
279
|
+
config?: Record<string, unknown> | null;
|
|
280
|
+
createdAt?: string | null;
|
|
281
|
+
createdBy?: string | null;
|
|
317
282
|
/** Database that owns this resource (database-scoped isolation) */
|
|
318
283
|
databaseId?: string | null;
|
|
319
|
-
/**
|
|
320
|
-
|
|
321
|
-
/** LLM model that generated this response */
|
|
322
|
-
model?: string | null;
|
|
323
|
-
/** Agent that authored this message (NULL for human messages) */
|
|
324
|
-
agentId?: string | null;
|
|
325
|
-
}
|
|
326
|
-
/** Task within a plan, with ordering and optional approval gates */
|
|
327
|
-
export interface AgentTask {
|
|
284
|
+
/** Brief description of this persona role */
|
|
285
|
+
description?: string | null;
|
|
328
286
|
id: string;
|
|
329
|
-
|
|
287
|
+
/** Whether this persona is available for use */
|
|
288
|
+
isActive?: boolean | null;
|
|
289
|
+
/** Display name for this persona */
|
|
290
|
+
name?: string | null;
|
|
291
|
+
/** Slugs of agent_resource entries to link when spawning */
|
|
292
|
+
resources?: string[] | null;
|
|
293
|
+
/** Unique human-readable identifier for this persona */
|
|
294
|
+
slug?: string | null;
|
|
295
|
+
/** Default system prompt for agents using this persona */
|
|
296
|
+
systemPrompt?: string | null;
|
|
330
297
|
updatedAt?: string | null;
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
planId?: string | null;
|
|
298
|
+
updatedBy?: string | null;
|
|
299
|
+
}
|
|
300
|
+
/** Workflow plan attached to an agent thread with ordered tasks and optional approval gates */
|
|
301
|
+
export interface AgentPlan {
|
|
302
|
+
createdAt?: string | null;
|
|
337
303
|
/** Database that owns this resource (database-scoped isolation) */
|
|
338
304
|
databaseId?: string | null;
|
|
339
|
-
/**
|
|
305
|
+
/** Overall goal or context for this plan */
|
|
340
306
|
description?: string | null;
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
/** User who approved or rejected this task */
|
|
352
|
-
approvedBy?: string | null;
|
|
353
|
-
/** Timestamp of the approval or rejection decision */
|
|
354
|
-
approvedAt?: string | null;
|
|
355
|
-
/** Reviewer feedback or reason for the decision */
|
|
356
|
-
approvalFeedback?: string | null;
|
|
307
|
+
id: string;
|
|
308
|
+
/** User who owns this plan */
|
|
309
|
+
ownerId?: string | null;
|
|
310
|
+
/** Plan lifecycle: draft, active, completed, failed, cancelled */
|
|
311
|
+
status?: string | null;
|
|
312
|
+
/** Foreign key to agent_thread */
|
|
313
|
+
threadId?: string | null;
|
|
314
|
+
/** Human-readable plan name */
|
|
315
|
+
title?: string | null;
|
|
316
|
+
updatedAt?: string | null;
|
|
357
317
|
}
|
|
358
318
|
/** Shared system prompt templates for agent conversations */
|
|
359
319
|
export interface AgentPrompt {
|
|
360
|
-
|
|
320
|
+
/** The system prompt template content */
|
|
321
|
+
content?: string | null;
|
|
361
322
|
createdAt?: string | null;
|
|
362
|
-
updatedAt?: string | null;
|
|
363
323
|
createdBy?: string | null;
|
|
364
|
-
updatedBy?: string | null;
|
|
365
324
|
/** Database that owns this resource (database-scoped isolation) */
|
|
366
325
|
databaseId?: string | null;
|
|
367
|
-
/** Unique name for lookup (e.g. default, code-review, sales-assistant) */
|
|
368
|
-
name?: string | null;
|
|
369
|
-
/** The system prompt template content */
|
|
370
|
-
content?: string | null;
|
|
371
326
|
/** What this prompt template is for */
|
|
372
327
|
description?: string | null;
|
|
328
|
+
id: string;
|
|
373
329
|
/** Whether this is the default prompt for the entity/app */
|
|
374
330
|
isDefault?: boolean | null;
|
|
375
331
|
/** Variables, tags, category metadata */
|
|
376
332
|
metadata?: Record<string, unknown> | null;
|
|
333
|
+
/** Unique name for lookup (e.g. default, code-review, sales-assistant) */
|
|
334
|
+
name?: string | null;
|
|
335
|
+
updatedAt?: string | null;
|
|
336
|
+
updatedBy?: string | null;
|
|
377
337
|
}
|
|
378
338
|
export interface AgentResourceChunk {
|
|
379
|
-
id: string;
|
|
380
339
|
agentResourceId?: string | null;
|
|
381
340
|
body?: string | null;
|
|
382
341
|
chunkIndex?: number | null;
|
|
383
|
-
embedding?: number[] | null;
|
|
384
|
-
metadata?: Record<string, unknown> | null;
|
|
385
342
|
createdAt?: string | null;
|
|
386
|
-
|
|
343
|
+
embedding?: number[] | null;
|
|
387
344
|
/** VECTOR distance when searching `embedding`. Returns null when no vector search filter is active. */
|
|
388
345
|
embeddingVectorDistance?: number | null;
|
|
346
|
+
id: string;
|
|
347
|
+
metadata?: Record<string, unknown> | null;
|
|
389
348
|
/** Composite search relevance score (0..1, higher = more relevant). Computed using Reciprocal Rank Fusion (RRF) across all active search signals. Supports per-table weight customization via @searchConfig smart tag. Returns null when no search filters are active. */
|
|
390
349
|
searchScore?: number | null;
|
|
391
|
-
}
|
|
392
|
-
/** Agent persona templates (role, system prompt, default skills/knowledge) */
|
|
393
|
-
export interface AgentPersona {
|
|
394
|
-
id: string;
|
|
395
|
-
createdAt?: string | null;
|
|
396
350
|
updatedAt?: string | null;
|
|
397
|
-
createdBy?: string | null;
|
|
398
|
-
updatedBy?: string | null;
|
|
399
|
-
/** Database that owns this resource (database-scoped isolation) */
|
|
400
|
-
databaseId?: string | null;
|
|
401
|
-
/** Unique human-readable identifier for this persona */
|
|
402
|
-
slug?: string | null;
|
|
403
|
-
/** Display name for this persona */
|
|
404
|
-
name?: string | null;
|
|
405
|
-
/** Brief description of this persona role */
|
|
406
|
-
description?: string | null;
|
|
407
|
-
/** Default system prompt for agents using this persona */
|
|
408
|
-
systemPrompt?: string | null;
|
|
409
|
-
/** Slugs of agent_resource entries to link when spawning */
|
|
410
|
-
resources?: string[] | null;
|
|
411
|
-
/** Model preferences, temperature, tool access, constraints */
|
|
412
|
-
config?: Record<string, unknown> | null;
|
|
413
|
-
/** Whether this persona is available for use */
|
|
414
|
-
isActive?: boolean | null;
|
|
415
351
|
}
|
|
416
352
|
/** Unified skills and knowledge resources for agent retrieval */
|
|
417
353
|
export interface AgentResource {
|
|
418
|
-
|
|
354
|
+
/** Timestamp when this record was archived, NULL if active */
|
|
355
|
+
archivedAt?: string | null;
|
|
356
|
+
/** Full content (instructions for skills, reference text for knowledge) */
|
|
357
|
+
body?: string | null;
|
|
358
|
+
/** TRGM similarity when searching `body`. Returns null when no trgm search filter is active. */
|
|
359
|
+
bodyTrgmSimilarity?: number | null;
|
|
419
360
|
createdAt?: string | null;
|
|
420
|
-
updatedAt?: string | null;
|
|
421
361
|
createdBy?: string | null;
|
|
422
|
-
updatedBy?: string | null;
|
|
423
362
|
/** Database that owns this resource (database-scoped isolation) */
|
|
424
363
|
databaseId?: string | null;
|
|
425
|
-
/** Unique human-readable identifier for portable references */
|
|
426
|
-
slug?: string | null;
|
|
427
|
-
/** Resource type: skill, knowledge, or convention */
|
|
428
|
-
kind?: string | null;
|
|
429
|
-
/** Resource name or title */
|
|
430
|
-
title?: string | null;
|
|
431
364
|
/** Brief description of this resource */
|
|
432
365
|
description?: string | null;
|
|
433
|
-
/**
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
366
|
+
/** TRGM similarity when searching `description`. Returns null when no trgm search filter is active. */
|
|
367
|
+
descriptionTrgmSimilarity?: number | null;
|
|
368
|
+
embedding?: number[] | null;
|
|
369
|
+
embeddingUpdatedAt?: string | null;
|
|
370
|
+
/** VECTOR distance when searching `embedding`. Returns null when no vector search filter is active. */
|
|
371
|
+
embeddingVectorDistance?: number | null;
|
|
372
|
+
id: string;
|
|
437
373
|
/** Whether this resource is active and retrievable */
|
|
438
374
|
isActive?: boolean | null;
|
|
439
|
-
/** Structured metadata: category, version, author, custom attributes */
|
|
440
|
-
metadata?: Record<string, unknown> | null;
|
|
441
375
|
/** Whether this record has been archived by the user */
|
|
442
376
|
isArchived?: boolean | null;
|
|
443
|
-
/**
|
|
444
|
-
|
|
377
|
+
/** Keywords for deterministic retrieval routing */
|
|
378
|
+
keywords?: string[] | null;
|
|
379
|
+
/** Resource type: skill, knowledge, or convention */
|
|
380
|
+
kind?: string | null;
|
|
381
|
+
/** TRGM similarity when searching `kind`. Returns null when no trgm search filter is active. */
|
|
382
|
+
kindTrgmSimilarity?: number | null;
|
|
383
|
+
/** Structured metadata: category, version, author, custom attributes */
|
|
384
|
+
metadata?: Record<string, unknown> | null;
|
|
445
385
|
search?: string | null;
|
|
446
|
-
|
|
447
|
-
|
|
386
|
+
/** Composite search relevance score (0..1, higher = more relevant). Computed using Reciprocal Rank Fusion (RRF) across all active search signals. Supports per-table weight customization via @searchConfig smart tag. Returns null when no search filters are active. */
|
|
387
|
+
searchScore?: number | null;
|
|
448
388
|
/** TSV rank when searching `search`. Returns null when no tsv search filter is active. */
|
|
449
389
|
searchTsvRank?: number | null;
|
|
450
|
-
/**
|
|
451
|
-
|
|
452
|
-
/**
|
|
453
|
-
|
|
390
|
+
/** Unique human-readable identifier for portable references */
|
|
391
|
+
slug?: string | null;
|
|
392
|
+
/** Resource name or title */
|
|
393
|
+
title?: string | null;
|
|
454
394
|
/** TRGM similarity when searching `title`. Returns null when no trgm search filter is active. */
|
|
455
395
|
titleTrgmSimilarity?: number | null;
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
396
|
+
updatedAt?: string | null;
|
|
397
|
+
updatedBy?: string | null;
|
|
398
|
+
}
|
|
399
|
+
/** Task within a plan, with ordering and optional approval gates */
|
|
400
|
+
export interface AgentTask {
|
|
401
|
+
/** User who authored this task */
|
|
402
|
+
actorId?: string | null;
|
|
403
|
+
/** Reviewer feedback or reason for the decision */
|
|
404
|
+
approvalFeedback?: string | null;
|
|
405
|
+
/** Approval decision: pending, approved, rejected (NULL if not an approval task) */
|
|
406
|
+
approvalStatus?: string | null;
|
|
407
|
+
/** Timestamp of the approval or rejection decision */
|
|
408
|
+
approvedAt?: string | null;
|
|
409
|
+
/** User who approved or rejected this task */
|
|
410
|
+
approvedBy?: string | null;
|
|
411
|
+
createdAt?: string | null;
|
|
412
|
+
/** Database that owns this resource (database-scoped isolation) */
|
|
413
|
+
databaseId?: string | null;
|
|
414
|
+
/** Natural-language description of the work to do */
|
|
415
|
+
description?: string | null;
|
|
416
|
+
/** Error message captured when the task failed */
|
|
417
|
+
error?: string | null;
|
|
418
|
+
id: string;
|
|
419
|
+
/** Position within the plan (for ordered task lists) */
|
|
420
|
+
orderIndex?: number | null;
|
|
421
|
+
/** Foreign key to agent_plan */
|
|
422
|
+
planId?: string | null;
|
|
423
|
+
/** Whether this task is an approval gate requiring human decision */
|
|
424
|
+
requiresApproval?: boolean | null;
|
|
425
|
+
/** Who created the task: agent or user */
|
|
426
|
+
source?: string | null;
|
|
427
|
+
/** Current status of this task */
|
|
428
|
+
status?: string | null;
|
|
429
|
+
updatedAt?: string | null;
|
|
430
|
+
}
|
|
431
|
+
/** Top-level AI/LLM conversation thread */
|
|
432
|
+
export interface AgentThread {
|
|
433
|
+
/** Agent instance assigned to this thread */
|
|
434
|
+
agentId?: string | null;
|
|
435
|
+
/** Timestamp when this record was archived, NULL if active */
|
|
436
|
+
archivedAt?: string | null;
|
|
437
|
+
createdAt?: string | null;
|
|
438
|
+
/** Database that owns this resource (database-scoped isolation) */
|
|
439
|
+
databaseId?: string | null;
|
|
440
|
+
id: string;
|
|
441
|
+
/** Whether this record has been archived by the user */
|
|
442
|
+
isArchived?: boolean | null;
|
|
443
|
+
/** Conversation mode: ask (plain Q&A) or agent (tool-enabled) */
|
|
444
|
+
mode?: string | null;
|
|
445
|
+
/** LLM model id this thread is bound to */
|
|
446
|
+
model?: string | null;
|
|
447
|
+
/** User who owns this thread */
|
|
448
|
+
ownerId?: string | null;
|
|
449
|
+
/** Parent thread that spawned this sub-conversation */
|
|
450
|
+
parentThreadId?: string | null;
|
|
451
|
+
/** Optional FK to a shared prompt template */
|
|
452
|
+
promptTemplateId?: string | null;
|
|
453
|
+
/** Current status of this thread */
|
|
454
|
+
status?: string | null;
|
|
455
|
+
/** System prompt active for this thread */
|
|
456
|
+
systemPrompt?: string | null;
|
|
457
|
+
/** User-defined labels for organizing and filtering threads */
|
|
458
|
+
tags?: string[] | null;
|
|
459
|
+
/** Human-readable conversation title */
|
|
460
|
+
title?: string | null;
|
|
461
|
+
updatedAt?: string | null;
|
|
462
462
|
}
|
|
463
463
|
export interface ConnectionResult<T> {
|
|
464
464
|
nodes: T[];
|
|
@@ -471,166 +471,101 @@ export interface PageInfo {
|
|
|
471
471
|
startCursor?: string | null;
|
|
472
472
|
endCursor?: string | null;
|
|
473
473
|
}
|
|
474
|
-
export interface AgentPlanRelations {
|
|
475
|
-
thread?: AgentThread | null;
|
|
476
|
-
agentTasksByPlanId?: ConnectionResult<AgentTask>;
|
|
477
|
-
}
|
|
478
474
|
export interface AgentRelations {
|
|
479
475
|
parent?: Agent | null;
|
|
480
476
|
persona?: AgentPersona | null;
|
|
481
|
-
agentThreads?: ConnectionResult<AgentThread>;
|
|
482
477
|
agentMessages?: ConnectionResult<AgentMessage>;
|
|
478
|
+
agentThreads?: ConnectionResult<AgentThread>;
|
|
483
479
|
childAgents?: ConnectionResult<Agent>;
|
|
484
480
|
}
|
|
485
|
-
export interface AgentThreadRelations {
|
|
486
|
-
agent?: Agent | null;
|
|
487
|
-
parentThread?: AgentThread | null;
|
|
488
|
-
promptTemplate?: AgentPrompt | null;
|
|
489
|
-
agentThreadsByParentThreadId?: ConnectionResult<AgentThread>;
|
|
490
|
-
agentMessagesByThreadId?: ConnectionResult<AgentMessage>;
|
|
491
|
-
agentPlansByThreadId?: ConnectionResult<AgentPlan>;
|
|
492
|
-
}
|
|
493
481
|
export interface AgentMessageRelations {
|
|
494
482
|
agent?: Agent | null;
|
|
495
483
|
thread?: AgentThread | null;
|
|
496
484
|
}
|
|
497
|
-
export interface
|
|
498
|
-
|
|
485
|
+
export interface AgentPersonaRelations {
|
|
486
|
+
agentsByPersonaId?: ConnectionResult<Agent>;
|
|
487
|
+
}
|
|
488
|
+
export interface AgentPlanRelations {
|
|
489
|
+
thread?: AgentThread | null;
|
|
490
|
+
agentTasksByPlanId?: ConnectionResult<AgentTask>;
|
|
499
491
|
}
|
|
500
492
|
export interface AgentPromptRelations {
|
|
501
493
|
}
|
|
502
494
|
export interface AgentResourceChunkRelations {
|
|
503
495
|
agentResource?: AgentResource | null;
|
|
504
496
|
}
|
|
505
|
-
export interface AgentPersonaRelations {
|
|
506
|
-
agentsByPersonaId?: ConnectionResult<Agent>;
|
|
507
|
-
}
|
|
508
497
|
export interface AgentResourceRelations {
|
|
509
498
|
agentResourceChunks?: ConnectionResult<AgentResourceChunk>;
|
|
510
499
|
}
|
|
511
|
-
export
|
|
500
|
+
export interface AgentTaskRelations {
|
|
501
|
+
plan?: AgentPlan | null;
|
|
502
|
+
}
|
|
503
|
+
export interface AgentThreadRelations {
|
|
504
|
+
agent?: Agent | null;
|
|
505
|
+
parentThread?: AgentThread | null;
|
|
506
|
+
promptTemplate?: AgentPrompt | null;
|
|
507
|
+
agentMessagesByThreadId?: ConnectionResult<AgentMessage>;
|
|
508
|
+
agentPlansByThreadId?: ConnectionResult<AgentPlan>;
|
|
509
|
+
agentThreadsByParentThreadId?: ConnectionResult<AgentThread>;
|
|
510
|
+
}
|
|
512
511
|
export type AgentWithRelations = Agent & AgentRelations;
|
|
513
|
-
export type AgentThreadWithRelations = AgentThread & AgentThreadRelations;
|
|
514
512
|
export type AgentMessageWithRelations = AgentMessage & AgentMessageRelations;
|
|
515
|
-
export type
|
|
513
|
+
export type AgentPersonaWithRelations = AgentPersona & AgentPersonaRelations;
|
|
514
|
+
export type AgentPlanWithRelations = AgentPlan & AgentPlanRelations;
|
|
516
515
|
export type AgentPromptWithRelations = AgentPrompt & AgentPromptRelations;
|
|
517
516
|
export type AgentResourceChunkWithRelations = AgentResourceChunk & AgentResourceChunkRelations;
|
|
518
|
-
export type AgentPersonaWithRelations = AgentPersona & AgentPersonaRelations;
|
|
519
517
|
export type AgentResourceWithRelations = AgentResource & AgentResourceRelations;
|
|
520
|
-
export type
|
|
521
|
-
|
|
518
|
+
export type AgentTaskWithRelations = AgentTask & AgentTaskRelations;
|
|
519
|
+
export type AgentThreadWithRelations = AgentThread & AgentThreadRelations;
|
|
520
|
+
export type AgentSelect = {
|
|
521
|
+
config?: boolean;
|
|
522
522
|
createdAt?: boolean;
|
|
523
|
-
updatedAt?: boolean;
|
|
524
|
-
ownerId?: boolean;
|
|
525
|
-
threadId?: boolean;
|
|
526
523
|
databaseId?: boolean;
|
|
527
|
-
title?: boolean;
|
|
528
|
-
description?: boolean;
|
|
529
|
-
status?: boolean;
|
|
530
|
-
thread?: {
|
|
531
|
-
select: AgentThreadSelect;
|
|
532
|
-
};
|
|
533
|
-
agentTasksByPlanId?: {
|
|
534
|
-
select: AgentTaskSelect;
|
|
535
|
-
first?: number;
|
|
536
|
-
filter?: AgentTaskFilter;
|
|
537
|
-
orderBy?: AgentTaskOrderBy[];
|
|
538
|
-
};
|
|
539
|
-
};
|
|
540
|
-
export type AgentSelect = {
|
|
541
524
|
id?: boolean;
|
|
542
|
-
|
|
543
|
-
|
|
525
|
+
isEphemeral?: boolean;
|
|
526
|
+
name?: boolean;
|
|
544
527
|
ownerId?: boolean;
|
|
545
|
-
databaseId?: boolean;
|
|
546
|
-
personaId?: boolean;
|
|
547
528
|
parentId?: boolean;
|
|
548
|
-
|
|
549
|
-
systemPrompt?: boolean;
|
|
550
|
-
config?: boolean;
|
|
529
|
+
personaId?: boolean;
|
|
551
530
|
status?: boolean;
|
|
552
|
-
|
|
531
|
+
systemPrompt?: boolean;
|
|
532
|
+
updatedAt?: boolean;
|
|
553
533
|
parent?: {
|
|
554
534
|
select: AgentSelect;
|
|
555
535
|
};
|
|
556
536
|
persona?: {
|
|
557
537
|
select: AgentPersonaSelect;
|
|
558
538
|
};
|
|
559
|
-
agentThreads?: {
|
|
560
|
-
select: AgentThreadSelect;
|
|
561
|
-
first?: number;
|
|
562
|
-
filter?: AgentThreadFilter;
|
|
563
|
-
orderBy?: AgentThreadOrderBy[];
|
|
564
|
-
};
|
|
565
539
|
agentMessages?: {
|
|
566
540
|
select: AgentMessageSelect;
|
|
567
541
|
first?: number;
|
|
568
542
|
filter?: AgentMessageFilter;
|
|
569
543
|
orderBy?: AgentMessageOrderBy[];
|
|
570
544
|
};
|
|
571
|
-
|
|
572
|
-
select: AgentSelect;
|
|
573
|
-
first?: number;
|
|
574
|
-
filter?: AgentFilter;
|
|
575
|
-
orderBy?: AgentOrderBy[];
|
|
576
|
-
};
|
|
577
|
-
};
|
|
578
|
-
export type AgentThreadSelect = {
|
|
579
|
-
id?: boolean;
|
|
580
|
-
createdAt?: boolean;
|
|
581
|
-
updatedAt?: boolean;
|
|
582
|
-
ownerId?: boolean;
|
|
583
|
-
databaseId?: boolean;
|
|
584
|
-
status?: boolean;
|
|
585
|
-
isArchived?: boolean;
|
|
586
|
-
archivedAt?: boolean;
|
|
587
|
-
title?: boolean;
|
|
588
|
-
mode?: boolean;
|
|
589
|
-
model?: boolean;
|
|
590
|
-
systemPrompt?: boolean;
|
|
591
|
-
tags?: boolean;
|
|
592
|
-
promptTemplateId?: boolean;
|
|
593
|
-
agentId?: boolean;
|
|
594
|
-
parentThreadId?: boolean;
|
|
595
|
-
agent?: {
|
|
596
|
-
select: AgentSelect;
|
|
597
|
-
};
|
|
598
|
-
parentThread?: {
|
|
599
|
-
select: AgentThreadSelect;
|
|
600
|
-
};
|
|
601
|
-
promptTemplate?: {
|
|
602
|
-
select: AgentPromptSelect;
|
|
603
|
-
};
|
|
604
|
-
agentThreadsByParentThreadId?: {
|
|
545
|
+
agentThreads?: {
|
|
605
546
|
select: AgentThreadSelect;
|
|
606
547
|
first?: number;
|
|
607
548
|
filter?: AgentThreadFilter;
|
|
608
549
|
orderBy?: AgentThreadOrderBy[];
|
|
609
550
|
};
|
|
610
|
-
|
|
611
|
-
select:
|
|
612
|
-
first?: number;
|
|
613
|
-
filter?: AgentMessageFilter;
|
|
614
|
-
orderBy?: AgentMessageOrderBy[];
|
|
615
|
-
};
|
|
616
|
-
agentPlansByThreadId?: {
|
|
617
|
-
select: AgentPlanSelect;
|
|
551
|
+
childAgents?: {
|
|
552
|
+
select: AgentSelect;
|
|
618
553
|
first?: number;
|
|
619
|
-
filter?:
|
|
620
|
-
orderBy?:
|
|
554
|
+
filter?: AgentFilter;
|
|
555
|
+
orderBy?: AgentOrderBy[];
|
|
621
556
|
};
|
|
622
557
|
};
|
|
623
558
|
export type AgentMessageSelect = {
|
|
624
|
-
id?: boolean;
|
|
625
|
-
createdAt?: boolean;
|
|
626
|
-
updatedAt?: boolean;
|
|
627
559
|
actorId?: boolean;
|
|
628
|
-
|
|
629
|
-
threadId?: boolean;
|
|
630
|
-
databaseId?: boolean;
|
|
560
|
+
agentId?: boolean;
|
|
631
561
|
authorRole?: boolean;
|
|
562
|
+
createdAt?: boolean;
|
|
563
|
+
databaseId?: boolean;
|
|
564
|
+
id?: boolean;
|
|
632
565
|
model?: boolean;
|
|
633
|
-
|
|
566
|
+
parts?: boolean;
|
|
567
|
+
threadId?: boolean;
|
|
568
|
+
updatedAt?: boolean;
|
|
634
569
|
agent?: {
|
|
635
570
|
select: AgentSelect;
|
|
636
571
|
};
|
|
@@ -638,103 +573,102 @@ export type AgentMessageSelect = {
|
|
|
638
573
|
select: AgentThreadSelect;
|
|
639
574
|
};
|
|
640
575
|
};
|
|
641
|
-
export type
|
|
642
|
-
|
|
576
|
+
export type AgentPersonaSelect = {
|
|
577
|
+
config?: boolean;
|
|
643
578
|
createdAt?: boolean;
|
|
644
|
-
|
|
645
|
-
actorId?: boolean;
|
|
646
|
-
status?: boolean;
|
|
647
|
-
planId?: boolean;
|
|
579
|
+
createdBy?: boolean;
|
|
648
580
|
databaseId?: boolean;
|
|
649
581
|
description?: boolean;
|
|
650
|
-
source?: boolean;
|
|
651
|
-
error?: boolean;
|
|
652
|
-
orderIndex?: boolean;
|
|
653
|
-
requiresApproval?: boolean;
|
|
654
|
-
approvalStatus?: boolean;
|
|
655
|
-
approvedBy?: boolean;
|
|
656
|
-
approvedAt?: boolean;
|
|
657
|
-
approvalFeedback?: boolean;
|
|
658
|
-
plan?: {
|
|
659
|
-
select: AgentPlanSelect;
|
|
660
|
-
};
|
|
661
|
-
};
|
|
662
|
-
export type AgentPromptSelect = {
|
|
663
582
|
id?: boolean;
|
|
664
|
-
|
|
583
|
+
isActive?: boolean;
|
|
584
|
+
name?: boolean;
|
|
585
|
+
resources?: boolean;
|
|
586
|
+
slug?: boolean;
|
|
587
|
+
systemPrompt?: boolean;
|
|
665
588
|
updatedAt?: boolean;
|
|
666
|
-
createdBy?: boolean;
|
|
667
589
|
updatedBy?: boolean;
|
|
590
|
+
agentsByPersonaId?: {
|
|
591
|
+
select: AgentSelect;
|
|
592
|
+
first?: number;
|
|
593
|
+
filter?: AgentFilter;
|
|
594
|
+
orderBy?: AgentOrderBy[];
|
|
595
|
+
};
|
|
596
|
+
};
|
|
597
|
+
export type AgentPlanSelect = {
|
|
598
|
+
createdAt?: boolean;
|
|
599
|
+
databaseId?: boolean;
|
|
600
|
+
description?: boolean;
|
|
601
|
+
id?: boolean;
|
|
602
|
+
ownerId?: boolean;
|
|
603
|
+
status?: boolean;
|
|
604
|
+
threadId?: boolean;
|
|
605
|
+
title?: boolean;
|
|
606
|
+
updatedAt?: boolean;
|
|
607
|
+
thread?: {
|
|
608
|
+
select: AgentThreadSelect;
|
|
609
|
+
};
|
|
610
|
+
agentTasksByPlanId?: {
|
|
611
|
+
select: AgentTaskSelect;
|
|
612
|
+
first?: number;
|
|
613
|
+
filter?: AgentTaskFilter;
|
|
614
|
+
orderBy?: AgentTaskOrderBy[];
|
|
615
|
+
};
|
|
616
|
+
};
|
|
617
|
+
export type AgentPromptSelect = {
|
|
618
|
+
content?: boolean;
|
|
619
|
+
createdAt?: boolean;
|
|
620
|
+
createdBy?: boolean;
|
|
668
621
|
databaseId?: boolean;
|
|
669
|
-
name?: boolean;
|
|
670
|
-
content?: boolean;
|
|
671
622
|
description?: boolean;
|
|
672
|
-
isDefault?: boolean;
|
|
673
|
-
metadata?: boolean;
|
|
674
|
-
};
|
|
675
|
-
export type AgentResourceChunkSelect = {
|
|
676
623
|
id?: boolean;
|
|
624
|
+
isDefault?: boolean;
|
|
625
|
+
metadata?: boolean;
|
|
626
|
+
name?: boolean;
|
|
627
|
+
updatedAt?: boolean;
|
|
628
|
+
updatedBy?: boolean;
|
|
629
|
+
};
|
|
630
|
+
export type AgentResourceChunkSelect = {
|
|
677
631
|
agentResourceId?: boolean;
|
|
678
632
|
body?: boolean;
|
|
679
633
|
chunkIndex?: boolean;
|
|
680
|
-
embedding?: boolean;
|
|
681
|
-
metadata?: boolean;
|
|
682
634
|
createdAt?: boolean;
|
|
683
|
-
|
|
635
|
+
embedding?: boolean;
|
|
684
636
|
embeddingVectorDistance?: boolean;
|
|
637
|
+
id?: boolean;
|
|
638
|
+
metadata?: boolean;
|
|
685
639
|
searchScore?: boolean;
|
|
640
|
+
updatedAt?: boolean;
|
|
686
641
|
agentResource?: {
|
|
687
642
|
select: AgentResourceSelect;
|
|
688
643
|
};
|
|
689
644
|
};
|
|
690
|
-
export type AgentPersonaSelect = {
|
|
691
|
-
id?: boolean;
|
|
692
|
-
createdAt?: boolean;
|
|
693
|
-
updatedAt?: boolean;
|
|
694
|
-
createdBy?: boolean;
|
|
695
|
-
updatedBy?: boolean;
|
|
696
|
-
databaseId?: boolean;
|
|
697
|
-
slug?: boolean;
|
|
698
|
-
name?: boolean;
|
|
699
|
-
description?: boolean;
|
|
700
|
-
systemPrompt?: boolean;
|
|
701
|
-
resources?: boolean;
|
|
702
|
-
config?: boolean;
|
|
703
|
-
isActive?: boolean;
|
|
704
|
-
agentsByPersonaId?: {
|
|
705
|
-
select: AgentSelect;
|
|
706
|
-
first?: number;
|
|
707
|
-
filter?: AgentFilter;
|
|
708
|
-
orderBy?: AgentOrderBy[];
|
|
709
|
-
};
|
|
710
|
-
};
|
|
711
645
|
export type AgentResourceSelect = {
|
|
712
|
-
|
|
646
|
+
archivedAt?: boolean;
|
|
647
|
+
body?: boolean;
|
|
648
|
+
bodyTrgmSimilarity?: boolean;
|
|
713
649
|
createdAt?: boolean;
|
|
714
|
-
updatedAt?: boolean;
|
|
715
650
|
createdBy?: boolean;
|
|
716
|
-
updatedBy?: boolean;
|
|
717
651
|
databaseId?: boolean;
|
|
718
|
-
slug?: boolean;
|
|
719
|
-
kind?: boolean;
|
|
720
|
-
title?: boolean;
|
|
721
652
|
description?: boolean;
|
|
722
|
-
|
|
723
|
-
keywords?: boolean;
|
|
724
|
-
isActive?: boolean;
|
|
725
|
-
metadata?: boolean;
|
|
726
|
-
isArchived?: boolean;
|
|
727
|
-
archivedAt?: boolean;
|
|
728
|
-
search?: boolean;
|
|
653
|
+
descriptionTrgmSimilarity?: boolean;
|
|
729
654
|
embedding?: boolean;
|
|
730
655
|
embeddingUpdatedAt?: boolean;
|
|
731
|
-
searchTsvRank?: boolean;
|
|
732
656
|
embeddingVectorDistance?: boolean;
|
|
657
|
+
id?: boolean;
|
|
658
|
+
isActive?: boolean;
|
|
659
|
+
isArchived?: boolean;
|
|
660
|
+
keywords?: boolean;
|
|
661
|
+
kind?: boolean;
|
|
733
662
|
kindTrgmSimilarity?: boolean;
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
bodyTrgmSimilarity?: boolean;
|
|
663
|
+
metadata?: boolean;
|
|
664
|
+
search?: boolean;
|
|
737
665
|
searchScore?: boolean;
|
|
666
|
+
searchTsvRank?: boolean;
|
|
667
|
+
slug?: boolean;
|
|
668
|
+
title?: boolean;
|
|
669
|
+
titleTrgmSimilarity?: boolean;
|
|
670
|
+
updatedAt?: boolean;
|
|
671
|
+
updatedBy?: boolean;
|
|
738
672
|
agentResourceChunks?: {
|
|
739
673
|
select: AgentResourceChunkSelect;
|
|
740
674
|
first?: number;
|
|
@@ -742,387 +676,341 @@ export type AgentResourceSelect = {
|
|
|
742
676
|
orderBy?: AgentResourceChunkOrderBy[];
|
|
743
677
|
};
|
|
744
678
|
};
|
|
745
|
-
export
|
|
746
|
-
|
|
747
|
-
|
|
679
|
+
export type AgentTaskSelect = {
|
|
680
|
+
actorId?: boolean;
|
|
681
|
+
approvalFeedback?: boolean;
|
|
682
|
+
approvalStatus?: boolean;
|
|
683
|
+
approvedAt?: boolean;
|
|
684
|
+
approvedBy?: boolean;
|
|
685
|
+
createdAt?: boolean;
|
|
686
|
+
databaseId?: boolean;
|
|
687
|
+
description?: boolean;
|
|
688
|
+
error?: boolean;
|
|
689
|
+
id?: boolean;
|
|
690
|
+
orderIndex?: boolean;
|
|
691
|
+
planId?: boolean;
|
|
692
|
+
requiresApproval?: boolean;
|
|
693
|
+
source?: boolean;
|
|
694
|
+
status?: boolean;
|
|
695
|
+
updatedAt?: boolean;
|
|
696
|
+
plan?: {
|
|
697
|
+
select: AgentPlanSelect;
|
|
698
|
+
};
|
|
699
|
+
};
|
|
700
|
+
export type AgentThreadSelect = {
|
|
701
|
+
agentId?: boolean;
|
|
702
|
+
archivedAt?: boolean;
|
|
703
|
+
createdAt?: boolean;
|
|
704
|
+
databaseId?: boolean;
|
|
705
|
+
id?: boolean;
|
|
706
|
+
isArchived?: boolean;
|
|
707
|
+
mode?: boolean;
|
|
708
|
+
model?: boolean;
|
|
709
|
+
ownerId?: boolean;
|
|
710
|
+
parentThreadId?: boolean;
|
|
711
|
+
promptTemplateId?: boolean;
|
|
712
|
+
status?: boolean;
|
|
713
|
+
systemPrompt?: boolean;
|
|
714
|
+
tags?: boolean;
|
|
715
|
+
title?: boolean;
|
|
716
|
+
updatedAt?: boolean;
|
|
717
|
+
agent?: {
|
|
718
|
+
select: AgentSelect;
|
|
719
|
+
};
|
|
720
|
+
parentThread?: {
|
|
721
|
+
select: AgentThreadSelect;
|
|
722
|
+
};
|
|
723
|
+
promptTemplate?: {
|
|
724
|
+
select: AgentPromptSelect;
|
|
725
|
+
};
|
|
726
|
+
agentMessagesByThreadId?: {
|
|
727
|
+
select: AgentMessageSelect;
|
|
728
|
+
first?: number;
|
|
729
|
+
filter?: AgentMessageFilter;
|
|
730
|
+
orderBy?: AgentMessageOrderBy[];
|
|
731
|
+
};
|
|
732
|
+
agentPlansByThreadId?: {
|
|
733
|
+
select: AgentPlanSelect;
|
|
734
|
+
first?: number;
|
|
735
|
+
filter?: AgentPlanFilter;
|
|
736
|
+
orderBy?: AgentPlanOrderBy[];
|
|
737
|
+
};
|
|
738
|
+
agentThreadsByParentThreadId?: {
|
|
739
|
+
select: AgentThreadSelect;
|
|
740
|
+
first?: number;
|
|
741
|
+
filter?: AgentThreadFilter;
|
|
742
|
+
orderBy?: AgentThreadOrderBy[];
|
|
743
|
+
};
|
|
744
|
+
};
|
|
745
|
+
export interface AgentFilter {
|
|
746
|
+
/** Filter by the object’s `agentMessages` relation. */
|
|
747
|
+
agentMessages?: AgentToManyAgentMessageFilter;
|
|
748
|
+
/** `agentMessages` exist. */
|
|
749
|
+
agentMessagesExist?: boolean;
|
|
750
|
+
/** Filter by the object’s `agentThreads` relation. */
|
|
751
|
+
agentThreads?: AgentToManyAgentThreadFilter;
|
|
752
|
+
/** `agentThreads` exist. */
|
|
753
|
+
agentThreadsExist?: boolean;
|
|
754
|
+
/** Checks for all expressions in this list. */
|
|
755
|
+
and?: AgentFilter[];
|
|
756
|
+
/** Filter by the object’s `childAgents` relation. */
|
|
757
|
+
childAgents?: AgentToManyAgentFilter;
|
|
758
|
+
/** `childAgents` exist. */
|
|
759
|
+
childAgentsExist?: boolean;
|
|
760
|
+
/** Filter by the object’s `config` field. */
|
|
761
|
+
config?: JSONFilter;
|
|
748
762
|
/** Filter by the object’s `createdAt` field. */
|
|
749
763
|
createdAt?: DatetimeFilter;
|
|
750
|
-
/** Filter by the object’s `updatedAt` field. */
|
|
751
|
-
updatedAt?: DatetimeFilter;
|
|
752
|
-
/** Filter by the object’s `ownerId` field. */
|
|
753
|
-
ownerId?: UUIDFilter;
|
|
754
|
-
/** Filter by the object’s `threadId` field. */
|
|
755
|
-
threadId?: UUIDFilter;
|
|
756
764
|
/** Filter by the object’s `databaseId` field. */
|
|
757
765
|
databaseId?: UUIDFilter;
|
|
758
|
-
/** Filter by the object’s `title` field. */
|
|
759
|
-
title?: StringFilter;
|
|
760
|
-
/** Filter by the object’s `description` field. */
|
|
761
|
-
description?: StringFilter;
|
|
762
|
-
/** Filter by the object’s `status` field. */
|
|
763
|
-
status?: StringFilter;
|
|
764
|
-
/** Checks for all expressions in this list. */
|
|
765
|
-
and?: AgentPlanFilter[];
|
|
766
|
-
/** Checks for any expressions in this list. */
|
|
767
|
-
or?: AgentPlanFilter[];
|
|
768
|
-
/** Negates the expression. */
|
|
769
|
-
not?: AgentPlanFilter;
|
|
770
|
-
/** Filter by the object’s `thread` relation. */
|
|
771
|
-
thread?: AgentThreadFilter;
|
|
772
|
-
/** Filter by the object’s `agentTasksByPlanId` relation. */
|
|
773
|
-
agentTasksByPlanId?: AgentPlanToManyAgentTaskFilter;
|
|
774
|
-
/** `agentTasksByPlanId` exist. */
|
|
775
|
-
agentTasksByPlanIdExist?: boolean;
|
|
776
|
-
}
|
|
777
|
-
export interface AgentFilter {
|
|
778
766
|
/** Filter by the object’s `id` field. */
|
|
779
767
|
id?: UUIDFilter;
|
|
780
|
-
/** Filter by the object’s `createdAt` field. */
|
|
781
|
-
createdAt?: DatetimeFilter;
|
|
782
|
-
/** Filter by the object’s `updatedAt` field. */
|
|
783
|
-
updatedAt?: DatetimeFilter;
|
|
784
|
-
/** Filter by the object’s `ownerId` field. */
|
|
785
|
-
ownerId?: UUIDFilter;
|
|
786
|
-
/** Filter by the object’s `databaseId` field. */
|
|
787
|
-
databaseId?: UUIDFilter;
|
|
788
|
-
/** Filter by the object’s `personaId` field. */
|
|
789
|
-
personaId?: UUIDFilter;
|
|
790
|
-
/** Filter by the object’s `parentId` field. */
|
|
791
|
-
parentId?: UUIDFilter;
|
|
792
|
-
/** Filter by the object’s `name` field. */
|
|
793
|
-
name?: StringFilter;
|
|
794
|
-
/** Filter by the object’s `systemPrompt` field. */
|
|
795
|
-
systemPrompt?: StringFilter;
|
|
796
|
-
/** Filter by the object’s `config` field. */
|
|
797
|
-
config?: JSONFilter;
|
|
798
|
-
/** Filter by the object’s `status` field. */
|
|
799
|
-
status?: StringFilter;
|
|
800
768
|
/** Filter by the object’s `isEphemeral` field. */
|
|
801
769
|
isEphemeral?: BooleanFilter;
|
|
802
|
-
/**
|
|
803
|
-
|
|
804
|
-
/** Checks for any expressions in this list. */
|
|
805
|
-
or?: AgentFilter[];
|
|
770
|
+
/** Filter by the object’s `name` field. */
|
|
771
|
+
name?: StringFilter;
|
|
806
772
|
/** Negates the expression. */
|
|
807
773
|
not?: AgentFilter;
|
|
774
|
+
/** Checks for any expressions in this list. */
|
|
775
|
+
or?: AgentFilter[];
|
|
776
|
+
/** Filter by the object’s `ownerId` field. */
|
|
777
|
+
ownerId?: UUIDFilter;
|
|
808
778
|
/** Filter by the object’s `parent` relation. */
|
|
809
779
|
parent?: AgentFilter;
|
|
810
780
|
/** A related `parent` exists. */
|
|
811
781
|
parentExists?: boolean;
|
|
782
|
+
/** Filter by the object’s `parentId` field. */
|
|
783
|
+
parentId?: UUIDFilter;
|
|
812
784
|
/** Filter by the object’s `persona` relation. */
|
|
813
785
|
persona?: AgentPersonaFilter;
|
|
814
786
|
/** A related `persona` exists. */
|
|
815
787
|
personaExists?: boolean;
|
|
816
|
-
/** Filter by the object’s `
|
|
817
|
-
|
|
818
|
-
/** `
|
|
819
|
-
|
|
820
|
-
/** Filter by the object’s `
|
|
821
|
-
|
|
822
|
-
/** `
|
|
823
|
-
|
|
824
|
-
/** Filter by the object’s `childAgents` relation. */
|
|
825
|
-
childAgents?: AgentToManyAgentFilter;
|
|
826
|
-
/** `childAgents` exist. */
|
|
827
|
-
childAgentsExist?: boolean;
|
|
788
|
+
/** Filter by the object’s `personaId` field. */
|
|
789
|
+
personaId?: UUIDFilter;
|
|
790
|
+
/** Filter by the object’s `status` field. */
|
|
791
|
+
status?: StringFilter;
|
|
792
|
+
/** Filter by the object’s `systemPrompt` field. */
|
|
793
|
+
systemPrompt?: StringFilter;
|
|
794
|
+
/** Filter by the object’s `updatedAt` field. */
|
|
795
|
+
updatedAt?: DatetimeFilter;
|
|
828
796
|
}
|
|
829
|
-
export interface
|
|
830
|
-
/** Filter by the object’s `
|
|
831
|
-
|
|
832
|
-
/** Filter by the object’s `createdAt` field. */
|
|
833
|
-
createdAt?: DatetimeFilter;
|
|
834
|
-
/** Filter by the object’s `updatedAt` field. */
|
|
835
|
-
updatedAt?: DatetimeFilter;
|
|
836
|
-
/** Filter by the object’s `ownerId` field. */
|
|
837
|
-
ownerId?: UUIDFilter;
|
|
838
|
-
/** Filter by the object’s `databaseId` field. */
|
|
839
|
-
databaseId?: UUIDFilter;
|
|
840
|
-
/** Filter by the object’s `status` field. */
|
|
841
|
-
status?: StringFilter;
|
|
842
|
-
/** Filter by the object’s `isArchived` field. */
|
|
843
|
-
isArchived?: BooleanFilter;
|
|
844
|
-
/** Filter by the object’s `archivedAt` field. */
|
|
845
|
-
archivedAt?: DatetimeFilter;
|
|
846
|
-
/** Filter by the object’s `title` field. */
|
|
847
|
-
title?: StringFilter;
|
|
848
|
-
/** Filter by the object’s `mode` field. */
|
|
849
|
-
mode?: StringFilter;
|
|
850
|
-
/** Filter by the object’s `model` field. */
|
|
851
|
-
model?: StringFilter;
|
|
852
|
-
/** Filter by the object’s `systemPrompt` field. */
|
|
853
|
-
systemPrompt?: StringFilter;
|
|
854
|
-
/** Filter by the object’s `tags` field. */
|
|
855
|
-
tags?: StringListFilter;
|
|
856
|
-
/** Filter by the object’s `promptTemplateId` field. */
|
|
857
|
-
promptTemplateId?: UUIDFilter;
|
|
858
|
-
/** Filter by the object’s `agentId` field. */
|
|
859
|
-
agentId?: UUIDFilter;
|
|
860
|
-
/** Filter by the object’s `parentThreadId` field. */
|
|
861
|
-
parentThreadId?: UUIDFilter;
|
|
862
|
-
/** Checks for all expressions in this list. */
|
|
863
|
-
and?: AgentThreadFilter[];
|
|
864
|
-
/** Checks for any expressions in this list. */
|
|
865
|
-
or?: AgentThreadFilter[];
|
|
866
|
-
/** Negates the expression. */
|
|
867
|
-
not?: AgentThreadFilter;
|
|
797
|
+
export interface AgentMessageFilter {
|
|
798
|
+
/** Filter by the object’s `actorId` field. */
|
|
799
|
+
actorId?: UUIDFilter;
|
|
868
800
|
/** Filter by the object’s `agent` relation. */
|
|
869
801
|
agent?: AgentFilter;
|
|
870
802
|
/** A related `agent` exists. */
|
|
871
803
|
agentExists?: boolean;
|
|
872
|
-
/** Filter by the object’s `
|
|
873
|
-
|
|
874
|
-
/**
|
|
875
|
-
|
|
876
|
-
/** Filter by the object’s `
|
|
877
|
-
|
|
878
|
-
/** A related `promptTemplate` exists. */
|
|
879
|
-
promptTemplateExists?: boolean;
|
|
880
|
-
/** Filter by the object’s `agentThreadsByParentThreadId` relation. */
|
|
881
|
-
agentThreadsByParentThreadId?: AgentThreadToManyAgentThreadFilter;
|
|
882
|
-
/** `agentThreadsByParentThreadId` exist. */
|
|
883
|
-
agentThreadsByParentThreadIdExist?: boolean;
|
|
884
|
-
/** Filter by the object’s `agentMessagesByThreadId` relation. */
|
|
885
|
-
agentMessagesByThreadId?: AgentThreadToManyAgentMessageFilter;
|
|
886
|
-
/** `agentMessagesByThreadId` exist. */
|
|
887
|
-
agentMessagesByThreadIdExist?: boolean;
|
|
888
|
-
/** Filter by the object’s `agentPlansByThreadId` relation. */
|
|
889
|
-
agentPlansByThreadId?: AgentThreadToManyAgentPlanFilter;
|
|
890
|
-
/** `agentPlansByThreadId` exist. */
|
|
891
|
-
agentPlansByThreadIdExist?: boolean;
|
|
892
|
-
}
|
|
893
|
-
export interface AgentMessageFilter {
|
|
894
|
-
/** Filter by the object’s `id` field. */
|
|
895
|
-
id?: UUIDFilter;
|
|
804
|
+
/** Filter by the object’s `agentId` field. */
|
|
805
|
+
agentId?: UUIDFilter;
|
|
806
|
+
/** Checks for all expressions in this list. */
|
|
807
|
+
and?: AgentMessageFilter[];
|
|
808
|
+
/** Filter by the object’s `authorRole` field. */
|
|
809
|
+
authorRole?: StringFilter;
|
|
896
810
|
/** Filter by the object’s `createdAt` field. */
|
|
897
811
|
createdAt?: DatetimeFilter;
|
|
898
|
-
/** Filter by the object’s `updatedAt` field. */
|
|
899
|
-
updatedAt?: DatetimeFilter;
|
|
900
|
-
/** Filter by the object’s `actorId` field. */
|
|
901
|
-
actorId?: UUIDFilter;
|
|
902
|
-
/** Filter by the object’s `parts` field. */
|
|
903
|
-
parts?: JSONFilter;
|
|
904
|
-
/** Filter by the object’s `threadId` field. */
|
|
905
|
-
threadId?: UUIDFilter;
|
|
906
812
|
/** Filter by the object’s `databaseId` field. */
|
|
907
813
|
databaseId?: UUIDFilter;
|
|
908
|
-
/** Filter by the object’s `
|
|
909
|
-
|
|
814
|
+
/** Filter by the object’s `id` field. */
|
|
815
|
+
id?: UUIDFilter;
|
|
910
816
|
/** Filter by the object’s `model` field. */
|
|
911
817
|
model?: StringFilter;
|
|
912
|
-
/** Filter by the object’s `agentId` field. */
|
|
913
|
-
agentId?: UUIDFilter;
|
|
914
|
-
/** Checks for all expressions in this list. */
|
|
915
|
-
and?: AgentMessageFilter[];
|
|
916
|
-
/** Checks for any expressions in this list. */
|
|
917
|
-
or?: AgentMessageFilter[];
|
|
918
818
|
/** Negates the expression. */
|
|
919
819
|
not?: AgentMessageFilter;
|
|
920
|
-
/**
|
|
921
|
-
|
|
922
|
-
/**
|
|
923
|
-
|
|
820
|
+
/** Checks for any expressions in this list. */
|
|
821
|
+
or?: AgentMessageFilter[];
|
|
822
|
+
/** Filter by the object’s `parts` field. */
|
|
823
|
+
parts?: JSONFilter;
|
|
924
824
|
/** Filter by the object’s `thread` relation. */
|
|
925
825
|
thread?: AgentThreadFilter;
|
|
826
|
+
/** Filter by the object’s `threadId` field. */
|
|
827
|
+
threadId?: UUIDFilter;
|
|
828
|
+
/** Filter by the object’s `updatedAt` field. */
|
|
829
|
+
updatedAt?: DatetimeFilter;
|
|
926
830
|
}
|
|
927
|
-
export interface
|
|
928
|
-
/** Filter by the object’s `
|
|
929
|
-
|
|
831
|
+
export interface AgentPersonaFilter {
|
|
832
|
+
/** Filter by the object’s `agentsByPersonaId` relation. */
|
|
833
|
+
agentsByPersonaId?: AgentPersonaToManyAgentFilter;
|
|
834
|
+
/** `agentsByPersonaId` exist. */
|
|
835
|
+
agentsByPersonaIdExist?: boolean;
|
|
836
|
+
/** Checks for all expressions in this list. */
|
|
837
|
+
and?: AgentPersonaFilter[];
|
|
838
|
+
/** Filter by the object’s `config` field. */
|
|
839
|
+
config?: JSONFilter;
|
|
930
840
|
/** Filter by the object’s `createdAt` field. */
|
|
931
841
|
createdAt?: DatetimeFilter;
|
|
842
|
+
/** Filter by the object’s `createdBy` field. */
|
|
843
|
+
createdBy?: UUIDFilter;
|
|
844
|
+
/** Filter by the object’s `databaseId` field. */
|
|
845
|
+
databaseId?: UUIDFilter;
|
|
846
|
+
/** Filter by the object’s `description` field. */
|
|
847
|
+
description?: StringFilter;
|
|
848
|
+
/** Filter by the object’s `id` field. */
|
|
849
|
+
id?: UUIDFilter;
|
|
850
|
+
/** Filter by the object’s `isActive` field. */
|
|
851
|
+
isActive?: BooleanFilter;
|
|
852
|
+
/** Filter by the object’s `name` field. */
|
|
853
|
+
name?: StringFilter;
|
|
854
|
+
/** Negates the expression. */
|
|
855
|
+
not?: AgentPersonaFilter;
|
|
856
|
+
/** Checks for any expressions in this list. */
|
|
857
|
+
or?: AgentPersonaFilter[];
|
|
858
|
+
/** Filter by the object’s `resources` field. */
|
|
859
|
+
resources?: StringListFilter;
|
|
860
|
+
/** Filter by the object’s `slug` field. */
|
|
861
|
+
slug?: StringFilter;
|
|
862
|
+
/** Filter by the object’s `systemPrompt` field. */
|
|
863
|
+
systemPrompt?: StringFilter;
|
|
932
864
|
/** Filter by the object’s `updatedAt` field. */
|
|
933
865
|
updatedAt?: DatetimeFilter;
|
|
934
|
-
/** Filter by the object’s `
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
/** Filter by the object’s `
|
|
939
|
-
|
|
866
|
+
/** Filter by the object’s `updatedBy` field. */
|
|
867
|
+
updatedBy?: UUIDFilter;
|
|
868
|
+
}
|
|
869
|
+
export interface AgentPlanFilter {
|
|
870
|
+
/** Filter by the object’s `agentTasksByPlanId` relation. */
|
|
871
|
+
agentTasksByPlanId?: AgentPlanToManyAgentTaskFilter;
|
|
872
|
+
/** `agentTasksByPlanId` exist. */
|
|
873
|
+
agentTasksByPlanIdExist?: boolean;
|
|
874
|
+
/** Checks for all expressions in this list. */
|
|
875
|
+
and?: AgentPlanFilter[];
|
|
876
|
+
/** Filter by the object’s `createdAt` field. */
|
|
877
|
+
createdAt?: DatetimeFilter;
|
|
940
878
|
/** Filter by the object’s `databaseId` field. */
|
|
941
879
|
databaseId?: UUIDFilter;
|
|
942
880
|
/** Filter by the object’s `description` field. */
|
|
943
881
|
description?: StringFilter;
|
|
944
|
-
/** Filter by the object’s `
|
|
945
|
-
|
|
946
|
-
/** Filter by the object’s `error` field. */
|
|
947
|
-
error?: StringFilter;
|
|
948
|
-
/** Filter by the object’s `orderIndex` field. */
|
|
949
|
-
orderIndex?: IntFilter;
|
|
950
|
-
/** Filter by the object’s `requiresApproval` field. */
|
|
951
|
-
requiresApproval?: BooleanFilter;
|
|
952
|
-
/** Filter by the object’s `approvalStatus` field. */
|
|
953
|
-
approvalStatus?: StringFilter;
|
|
954
|
-
/** Filter by the object’s `approvedBy` field. */
|
|
955
|
-
approvedBy?: UUIDFilter;
|
|
956
|
-
/** Filter by the object’s `approvedAt` field. */
|
|
957
|
-
approvedAt?: DatetimeFilter;
|
|
958
|
-
/** Filter by the object’s `approvalFeedback` field. */
|
|
959
|
-
approvalFeedback?: StringFilter;
|
|
960
|
-
/** Checks for all expressions in this list. */
|
|
961
|
-
and?: AgentTaskFilter[];
|
|
962
|
-
/** Checks for any expressions in this list. */
|
|
963
|
-
or?: AgentTaskFilter[];
|
|
882
|
+
/** Filter by the object’s `id` field. */
|
|
883
|
+
id?: UUIDFilter;
|
|
964
884
|
/** Negates the expression. */
|
|
965
|
-
not?:
|
|
966
|
-
/**
|
|
967
|
-
|
|
885
|
+
not?: AgentPlanFilter;
|
|
886
|
+
/** Checks for any expressions in this list. */
|
|
887
|
+
or?: AgentPlanFilter[];
|
|
888
|
+
/** Filter by the object’s `ownerId` field. */
|
|
889
|
+
ownerId?: UUIDFilter;
|
|
890
|
+
/** Filter by the object’s `status` field. */
|
|
891
|
+
status?: StringFilter;
|
|
892
|
+
/** Filter by the object’s `thread` relation. */
|
|
893
|
+
thread?: AgentThreadFilter;
|
|
894
|
+
/** Filter by the object’s `threadId` field. */
|
|
895
|
+
threadId?: UUIDFilter;
|
|
896
|
+
/** Filter by the object’s `title` field. */
|
|
897
|
+
title?: StringFilter;
|
|
898
|
+
/** Filter by the object’s `updatedAt` field. */
|
|
899
|
+
updatedAt?: DatetimeFilter;
|
|
968
900
|
}
|
|
969
901
|
export interface AgentPromptFilter {
|
|
970
|
-
/**
|
|
971
|
-
|
|
902
|
+
/** Checks for all expressions in this list. */
|
|
903
|
+
and?: AgentPromptFilter[];
|
|
904
|
+
/** Filter by the object’s `content` field. */
|
|
905
|
+
content?: StringFilter;
|
|
972
906
|
/** Filter by the object’s `createdAt` field. */
|
|
973
907
|
createdAt?: DatetimeFilter;
|
|
974
|
-
/** Filter by the object’s `updatedAt` field. */
|
|
975
|
-
updatedAt?: DatetimeFilter;
|
|
976
908
|
/** Filter by the object’s `createdBy` field. */
|
|
977
909
|
createdBy?: UUIDFilter;
|
|
978
|
-
/** Filter by the object’s `updatedBy` field. */
|
|
979
|
-
updatedBy?: UUIDFilter;
|
|
980
910
|
/** Filter by the object’s `databaseId` field. */
|
|
981
911
|
databaseId?: UUIDFilter;
|
|
982
|
-
/** Filter by the object’s `name` field. */
|
|
983
|
-
name?: StringFilter;
|
|
984
|
-
/** Filter by the object’s `content` field. */
|
|
985
|
-
content?: StringFilter;
|
|
986
912
|
/** Filter by the object’s `description` field. */
|
|
987
913
|
description?: StringFilter;
|
|
914
|
+
/** Filter by the object’s `id` field. */
|
|
915
|
+
id?: UUIDFilter;
|
|
988
916
|
/** Filter by the object’s `isDefault` field. */
|
|
989
917
|
isDefault?: BooleanFilter;
|
|
990
918
|
/** Filter by the object’s `metadata` field. */
|
|
991
919
|
metadata?: JSONFilter;
|
|
992
|
-
/**
|
|
993
|
-
|
|
994
|
-
/** Checks for any expressions in this list. */
|
|
995
|
-
or?: AgentPromptFilter[];
|
|
920
|
+
/** Filter by the object’s `name` field. */
|
|
921
|
+
name?: StringFilter;
|
|
996
922
|
/** Negates the expression. */
|
|
997
923
|
not?: AgentPromptFilter;
|
|
924
|
+
/** Checks for any expressions in this list. */
|
|
925
|
+
or?: AgentPromptFilter[];
|
|
926
|
+
/** Filter by the object’s `updatedAt` field. */
|
|
927
|
+
updatedAt?: DatetimeFilter;
|
|
928
|
+
/** Filter by the object’s `updatedBy` field. */
|
|
929
|
+
updatedBy?: UUIDFilter;
|
|
998
930
|
}
|
|
999
931
|
export interface AgentResourceChunkFilter {
|
|
1000
|
-
/** Filter by the object’s `
|
|
1001
|
-
|
|
932
|
+
/** Filter by the object’s `agentResource` relation. */
|
|
933
|
+
agentResource?: AgentResourceFilter;
|
|
1002
934
|
/** Filter by the object’s `agentResourceId` field. */
|
|
1003
935
|
agentResourceId?: UUIDFilter;
|
|
936
|
+
/** Checks for all expressions in this list. */
|
|
937
|
+
and?: AgentResourceChunkFilter[];
|
|
1004
938
|
/** Filter by the object’s `body` field. */
|
|
1005
939
|
body?: StringFilter;
|
|
1006
940
|
/** Filter by the object’s `chunkIndex` field. */
|
|
1007
941
|
chunkIndex?: IntFilter;
|
|
942
|
+
/** Filter by the object’s `createdAt` field. */
|
|
943
|
+
createdAt?: DatetimeFilter;
|
|
1008
944
|
/** Filter by the object’s `embedding` field. */
|
|
1009
945
|
embedding?: VectorFilter;
|
|
946
|
+
/** Filter by the object’s `id` field. */
|
|
947
|
+
id?: UUIDFilter;
|
|
1010
948
|
/** Filter by the object’s `metadata` field. */
|
|
1011
949
|
metadata?: JSONFilter;
|
|
1012
|
-
/** Filter by the object’s `createdAt` field. */
|
|
1013
|
-
createdAt?: DatetimeFilter;
|
|
1014
|
-
/** Filter by the object’s `updatedAt` field. */
|
|
1015
|
-
updatedAt?: DatetimeFilter;
|
|
1016
|
-
/** Checks for all expressions in this list. */
|
|
1017
|
-
and?: AgentResourceChunkFilter[];
|
|
1018
|
-
/** Checks for any expressions in this list. */
|
|
1019
|
-
or?: AgentResourceChunkFilter[];
|
|
1020
950
|
/** Negates the expression. */
|
|
1021
951
|
not?: AgentResourceChunkFilter;
|
|
1022
|
-
/**
|
|
1023
|
-
|
|
952
|
+
/** Checks for any expressions in this list. */
|
|
953
|
+
or?: AgentResourceChunkFilter[];
|
|
954
|
+
/** Filter by the object’s `updatedAt` field. */
|
|
955
|
+
updatedAt?: DatetimeFilter;
|
|
1024
956
|
/** VECTOR search on the `embedding` column. */
|
|
1025
957
|
vectorEmbedding?: VectorNearbyInput;
|
|
1026
958
|
}
|
|
1027
|
-
export interface AgentPersonaFilter {
|
|
1028
|
-
/** Filter by the object’s `id` field. */
|
|
1029
|
-
id?: UUIDFilter;
|
|
1030
|
-
/** Filter by the object’s `createdAt` field. */
|
|
1031
|
-
createdAt?: DatetimeFilter;
|
|
1032
|
-
/** Filter by the object’s `updatedAt` field. */
|
|
1033
|
-
updatedAt?: DatetimeFilter;
|
|
1034
|
-
/** Filter by the object’s `createdBy` field. */
|
|
1035
|
-
createdBy?: UUIDFilter;
|
|
1036
|
-
/** Filter by the object’s `updatedBy` field. */
|
|
1037
|
-
updatedBy?: UUIDFilter;
|
|
1038
|
-
/** Filter by the object’s `databaseId` field. */
|
|
1039
|
-
databaseId?: UUIDFilter;
|
|
1040
|
-
/** Filter by the object’s `slug` field. */
|
|
1041
|
-
slug?: StringFilter;
|
|
1042
|
-
/** Filter by the object’s `name` field. */
|
|
1043
|
-
name?: StringFilter;
|
|
1044
|
-
/** Filter by the object’s `description` field. */
|
|
1045
|
-
description?: StringFilter;
|
|
1046
|
-
/** Filter by the object’s `systemPrompt` field. */
|
|
1047
|
-
systemPrompt?: StringFilter;
|
|
1048
|
-
/** Filter by the object’s `resources` field. */
|
|
1049
|
-
resources?: StringListFilter;
|
|
1050
|
-
/** Filter by the object’s `config` field. */
|
|
1051
|
-
config?: JSONFilter;
|
|
1052
|
-
/** Filter by the object’s `isActive` field. */
|
|
1053
|
-
isActive?: BooleanFilter;
|
|
1054
|
-
/** Checks for all expressions in this list. */
|
|
1055
|
-
and?: AgentPersonaFilter[];
|
|
1056
|
-
/** Checks for any expressions in this list. */
|
|
1057
|
-
or?: AgentPersonaFilter[];
|
|
1058
|
-
/** Negates the expression. */
|
|
1059
|
-
not?: AgentPersonaFilter;
|
|
1060
|
-
/** Filter by the object’s `agentsByPersonaId` relation. */
|
|
1061
|
-
agentsByPersonaId?: AgentPersonaToManyAgentFilter;
|
|
1062
|
-
/** `agentsByPersonaId` exist. */
|
|
1063
|
-
agentsByPersonaIdExist?: boolean;
|
|
1064
|
-
}
|
|
1065
959
|
export interface AgentResourceFilter {
|
|
1066
|
-
/** Filter by the object’s `
|
|
1067
|
-
|
|
960
|
+
/** Filter by the object’s `agentResourceChunks` relation. */
|
|
961
|
+
agentResourceChunks?: AgentResourceToManyAgentResourceChunkFilter;
|
|
962
|
+
/** `agentResourceChunks` exist. */
|
|
963
|
+
agentResourceChunksExist?: boolean;
|
|
964
|
+
/** Checks for all expressions in this list. */
|
|
965
|
+
and?: AgentResourceFilter[];
|
|
966
|
+
/** Filter by the object’s `archivedAt` field. */
|
|
967
|
+
archivedAt?: DatetimeFilter;
|
|
968
|
+
/** Filter by the object’s `body` field. */
|
|
969
|
+
body?: StringTrgmFilter;
|
|
1068
970
|
/** Filter by the object’s `createdAt` field. */
|
|
1069
971
|
createdAt?: DatetimeFilter;
|
|
1070
|
-
/** Filter by the object’s `updatedAt` field. */
|
|
1071
|
-
updatedAt?: DatetimeFilter;
|
|
1072
972
|
/** Filter by the object’s `createdBy` field. */
|
|
1073
973
|
createdBy?: UUIDFilter;
|
|
1074
|
-
/** Filter by the object’s `updatedBy` field. */
|
|
1075
|
-
updatedBy?: UUIDFilter;
|
|
1076
974
|
/** Filter by the object’s `databaseId` field. */
|
|
1077
975
|
databaseId?: UUIDFilter;
|
|
1078
|
-
/** Filter by the object’s `slug` field. */
|
|
1079
|
-
slug?: StringTrgmFilter;
|
|
1080
|
-
/** Filter by the object’s `kind` field. */
|
|
1081
|
-
kind?: StringTrgmFilter;
|
|
1082
|
-
/** Filter by the object’s `title` field. */
|
|
1083
|
-
title?: StringTrgmFilter;
|
|
1084
976
|
/** Filter by the object’s `description` field. */
|
|
1085
977
|
description?: StringTrgmFilter;
|
|
1086
|
-
/** Filter by the object’s `body` field. */
|
|
1087
|
-
body?: StringTrgmFilter;
|
|
1088
|
-
/** Filter by the object’s `keywords` field. */
|
|
1089
|
-
keywords?: StringListFilter;
|
|
1090
|
-
/** Filter by the object’s `isActive` field. */
|
|
1091
|
-
isActive?: BooleanFilter;
|
|
1092
|
-
/** Filter by the object’s `metadata` field. */
|
|
1093
|
-
metadata?: JSONFilter;
|
|
1094
|
-
/** Filter by the object’s `isArchived` field. */
|
|
1095
|
-
isArchived?: BooleanFilter;
|
|
1096
|
-
/** Filter by the object’s `archivedAt` field. */
|
|
1097
|
-
archivedAt?: DatetimeFilter;
|
|
1098
|
-
/** Filter by the object’s `search` field. */
|
|
1099
|
-
search?: FullTextFilter;
|
|
1100
978
|
/** Filter by the object’s `embedding` field. */
|
|
1101
979
|
embedding?: VectorFilter;
|
|
1102
980
|
/** Filter by the object’s `embeddingUpdatedAt` field. */
|
|
1103
981
|
embeddingUpdatedAt?: DatetimeFilter;
|
|
1104
|
-
/**
|
|
1105
|
-
|
|
1106
|
-
/**
|
|
1107
|
-
|
|
982
|
+
/** Filter by the object’s `id` field. */
|
|
983
|
+
id?: UUIDFilter;
|
|
984
|
+
/** Filter by the object’s `isActive` field. */
|
|
985
|
+
isActive?: BooleanFilter;
|
|
986
|
+
/** Filter by the object’s `isArchived` field. */
|
|
987
|
+
isArchived?: BooleanFilter;
|
|
988
|
+
/** Filter by the object’s `keywords` field. */
|
|
989
|
+
keywords?: StringListFilter;
|
|
990
|
+
/** Filter by the object’s `kind` field. */
|
|
991
|
+
kind?: StringTrgmFilter;
|
|
992
|
+
/** Filter by the object’s `metadata` field. */
|
|
993
|
+
metadata?: JSONFilter;
|
|
1108
994
|
/** Negates the expression. */
|
|
1109
995
|
not?: AgentResourceFilter;
|
|
1110
|
-
/**
|
|
1111
|
-
|
|
1112
|
-
/** `
|
|
1113
|
-
|
|
1114
|
-
/**
|
|
1115
|
-
|
|
1116
|
-
/**
|
|
1117
|
-
|
|
996
|
+
/** Checks for any expressions in this list. */
|
|
997
|
+
or?: AgentResourceFilter[];
|
|
998
|
+
/** Filter by the object’s `search` field. */
|
|
999
|
+
search?: FullTextFilter;
|
|
1000
|
+
/** Filter by the object’s `slug` field. */
|
|
1001
|
+
slug?: StringTrgmFilter;
|
|
1002
|
+
/** Filter by the object’s `title` field. */
|
|
1003
|
+
title?: StringTrgmFilter;
|
|
1004
|
+
/** TRGM search on the `body` column. */
|
|
1005
|
+
trgmBody?: TrgmSearchInput;
|
|
1006
|
+
/** TRGM search on the `description` column. */
|
|
1007
|
+
trgmDescription?: TrgmSearchInput;
|
|
1118
1008
|
/** TRGM search on the `kind` column. */
|
|
1119
1009
|
trgmKind?: TrgmSearchInput;
|
|
1120
1010
|
/** TRGM search on the `title` column. */
|
|
1121
1011
|
trgmTitle?: TrgmSearchInput;
|
|
1122
|
-
/**
|
|
1123
|
-
|
|
1124
|
-
/** TRGM search on the `body` column. */
|
|
1125
|
-
trgmBody?: TrgmSearchInput;
|
|
1012
|
+
/** TSV search on the `search` column. */
|
|
1013
|
+
tsvSearch?: string;
|
|
1126
1014
|
/**
|
|
1127
1015
|
* Composite unified search. Provide a search string and it will be dispatched to
|
|
1128
1016
|
* all text-compatible search algorithms (tsvector, BM25, pg_trgm)
|
|
@@ -1131,68 +1019,152 @@ export interface AgentResourceFilter {
|
|
|
1131
1019
|
* fields are populated.
|
|
1132
1020
|
*/
|
|
1133
1021
|
unifiedSearch?: string;
|
|
1022
|
+
/** Filter by the object’s `updatedAt` field. */
|
|
1023
|
+
updatedAt?: DatetimeFilter;
|
|
1024
|
+
/** Filter by the object’s `updatedBy` field. */
|
|
1025
|
+
updatedBy?: UUIDFilter;
|
|
1026
|
+
/** VECTOR search on the `embedding` column. */
|
|
1027
|
+
vectorEmbedding?: VectorNearbyInput;
|
|
1134
1028
|
}
|
|
1135
|
-
export
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1029
|
+
export interface AgentTaskFilter {
|
|
1030
|
+
/** Filter by the object’s `actorId` field. */
|
|
1031
|
+
actorId?: UUIDFilter;
|
|
1032
|
+
/** Checks for all expressions in this list. */
|
|
1033
|
+
and?: AgentTaskFilter[];
|
|
1034
|
+
/** Filter by the object’s `approvalFeedback` field. */
|
|
1035
|
+
approvalFeedback?: StringFilter;
|
|
1036
|
+
/** Filter by the object’s `approvalStatus` field. */
|
|
1037
|
+
approvalStatus?: StringFilter;
|
|
1038
|
+
/** Filter by the object’s `approvedAt` field. */
|
|
1039
|
+
approvedAt?: DatetimeFilter;
|
|
1040
|
+
/** Filter by the object’s `approvedBy` field. */
|
|
1041
|
+
approvedBy?: UUIDFilter;
|
|
1042
|
+
/** Filter by the object’s `createdAt` field. */
|
|
1043
|
+
createdAt?: DatetimeFilter;
|
|
1044
|
+
/** Filter by the object’s `databaseId` field. */
|
|
1045
|
+
databaseId?: UUIDFilter;
|
|
1046
|
+
/** Filter by the object’s `description` field. */
|
|
1047
|
+
description?: StringFilter;
|
|
1048
|
+
/** Filter by the object’s `error` field. */
|
|
1049
|
+
error?: StringFilter;
|
|
1050
|
+
/** Filter by the object’s `id` field. */
|
|
1051
|
+
id?: UUIDFilter;
|
|
1052
|
+
/** Negates the expression. */
|
|
1053
|
+
not?: AgentTaskFilter;
|
|
1054
|
+
/** Checks for any expressions in this list. */
|
|
1055
|
+
or?: AgentTaskFilter[];
|
|
1056
|
+
/** Filter by the object’s `orderIndex` field. */
|
|
1057
|
+
orderIndex?: IntFilter;
|
|
1058
|
+
/** Filter by the object’s `plan` relation. */
|
|
1059
|
+
plan?: AgentPlanFilter;
|
|
1060
|
+
/** Filter by the object’s `planId` field. */
|
|
1061
|
+
planId?: UUIDFilter;
|
|
1062
|
+
/** Filter by the object’s `requiresApproval` field. */
|
|
1063
|
+
requiresApproval?: BooleanFilter;
|
|
1064
|
+
/** Filter by the object’s `source` field. */
|
|
1065
|
+
source?: StringFilter;
|
|
1066
|
+
/** Filter by the object’s `status` field. */
|
|
1067
|
+
status?: StringFilter;
|
|
1068
|
+
/** Filter by the object’s `updatedAt` field. */
|
|
1069
|
+
updatedAt?: DatetimeFilter;
|
|
1167
1070
|
}
|
|
1168
|
-
export interface
|
|
1169
|
-
|
|
1170
|
-
|
|
1071
|
+
export interface AgentThreadFilter {
|
|
1072
|
+
/** Filter by the object’s `agent` relation. */
|
|
1073
|
+
agent?: AgentFilter;
|
|
1074
|
+
/** A related `agent` exists. */
|
|
1075
|
+
agentExists?: boolean;
|
|
1076
|
+
/** Filter by the object’s `agentId` field. */
|
|
1077
|
+
agentId?: UUIDFilter;
|
|
1078
|
+
/** Filter by the object’s `agentMessagesByThreadId` relation. */
|
|
1079
|
+
agentMessagesByThreadId?: AgentThreadToManyAgentMessageFilter;
|
|
1080
|
+
/** `agentMessagesByThreadId` exist. */
|
|
1081
|
+
agentMessagesByThreadIdExist?: boolean;
|
|
1082
|
+
/** Filter by the object’s `agentPlansByThreadId` relation. */
|
|
1083
|
+
agentPlansByThreadId?: AgentThreadToManyAgentPlanFilter;
|
|
1084
|
+
/** `agentPlansByThreadId` exist. */
|
|
1085
|
+
agentPlansByThreadIdExist?: boolean;
|
|
1086
|
+
/** Filter by the object’s `agentThreadsByParentThreadId` relation. */
|
|
1087
|
+
agentThreadsByParentThreadId?: AgentThreadToManyAgentThreadFilter;
|
|
1088
|
+
/** `agentThreadsByParentThreadId` exist. */
|
|
1089
|
+
agentThreadsByParentThreadIdExist?: boolean;
|
|
1090
|
+
/** Checks for all expressions in this list. */
|
|
1091
|
+
and?: AgentThreadFilter[];
|
|
1092
|
+
/** Filter by the object’s `archivedAt` field. */
|
|
1093
|
+
archivedAt?: DatetimeFilter;
|
|
1094
|
+
/** Filter by the object’s `createdAt` field. */
|
|
1095
|
+
createdAt?: DatetimeFilter;
|
|
1096
|
+
/** Filter by the object’s `databaseId` field. */
|
|
1097
|
+
databaseId?: UUIDFilter;
|
|
1098
|
+
/** Filter by the object’s `id` field. */
|
|
1099
|
+
id?: UUIDFilter;
|
|
1100
|
+
/** Filter by the object’s `isArchived` field. */
|
|
1101
|
+
isArchived?: BooleanFilter;
|
|
1102
|
+
/** Filter by the object’s `mode` field. */
|
|
1103
|
+
mode?: StringFilter;
|
|
1104
|
+
/** Filter by the object’s `model` field. */
|
|
1105
|
+
model?: StringFilter;
|
|
1106
|
+
/** Negates the expression. */
|
|
1107
|
+
not?: AgentThreadFilter;
|
|
1108
|
+
/** Checks for any expressions in this list. */
|
|
1109
|
+
or?: AgentThreadFilter[];
|
|
1110
|
+
/** Filter by the object’s `ownerId` field. */
|
|
1111
|
+
ownerId?: UUIDFilter;
|
|
1112
|
+
/** Filter by the object’s `parentThread` relation. */
|
|
1113
|
+
parentThread?: AgentThreadFilter;
|
|
1114
|
+
/** A related `parentThread` exists. */
|
|
1115
|
+
parentThreadExists?: boolean;
|
|
1116
|
+
/** Filter by the object’s `parentThreadId` field. */
|
|
1117
|
+
parentThreadId?: UUIDFilter;
|
|
1118
|
+
/** Filter by the object’s `promptTemplate` relation. */
|
|
1119
|
+
promptTemplate?: AgentPromptFilter;
|
|
1120
|
+
/** A related `promptTemplate` exists. */
|
|
1121
|
+
promptTemplateExists?: boolean;
|
|
1122
|
+
/** Filter by the object’s `promptTemplateId` field. */
|
|
1123
|
+
promptTemplateId?: UUIDFilter;
|
|
1124
|
+
/** Filter by the object’s `status` field. */
|
|
1125
|
+
status?: StringFilter;
|
|
1126
|
+
/** Filter by the object’s `systemPrompt` field. */
|
|
1127
|
+
systemPrompt?: StringFilter;
|
|
1128
|
+
/** Filter by the object’s `tags` field. */
|
|
1129
|
+
tags?: StringListFilter;
|
|
1130
|
+
/** Filter by the object’s `title` field. */
|
|
1131
|
+
title?: StringFilter;
|
|
1132
|
+
/** Filter by the object’s `updatedAt` field. */
|
|
1133
|
+
updatedAt?: DatetimeFilter;
|
|
1171
1134
|
}
|
|
1135
|
+
export type AgentOrderBy = 'CONFIG_ASC' | 'CONFIG_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'ID_ASC' | 'ID_DESC' | 'IS_EPHEMERAL_ASC' | 'IS_EPHEMERAL_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'PARENT_ID_ASC' | 'PARENT_ID_DESC' | 'PERSONA_ID_ASC' | 'PERSONA_ID_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'STATUS_ASC' | 'STATUS_DESC' | 'SYSTEM_PROMPT_ASC' | 'SYSTEM_PROMPT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
|
|
1136
|
+
export type AgentMessageOrderBy = 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'AGENT_ID_ASC' | 'AGENT_ID_DESC' | 'AUTHOR_ROLE_ASC' | 'AUTHOR_ROLE_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'ID_ASC' | 'ID_DESC' | 'MODEL_ASC' | 'MODEL_DESC' | 'NATURAL' | 'PARTS_ASC' | 'PARTS_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'THREAD_ID_ASC' | 'THREAD_ID_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
|
|
1137
|
+
export type AgentPersonaOrderBy = 'CONFIG_ASC' | 'CONFIG_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'CREATED_BY_ASC' | 'CREATED_BY_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'ID_ASC' | 'ID_DESC' | 'IS_ACTIVE_ASC' | 'IS_ACTIVE_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'RESOURCES_ASC' | 'RESOURCES_DESC' | 'SLUG_ASC' | 'SLUG_DESC' | 'SYSTEM_PROMPT_ASC' | 'SYSTEM_PROMPT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'UPDATED_BY_ASC' | 'UPDATED_BY_DESC';
|
|
1138
|
+
export type AgentPlanOrderBy = 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'ID_ASC' | 'ID_DESC' | 'NATURAL' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'STATUS_ASC' | 'STATUS_DESC' | 'THREAD_ID_ASC' | 'THREAD_ID_DESC' | 'TITLE_ASC' | 'TITLE_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
|
|
1139
|
+
export type AgentPromptOrderBy = 'CONTENT_ASC' | 'CONTENT_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'CREATED_BY_ASC' | 'CREATED_BY_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'ID_ASC' | 'ID_DESC' | 'IS_DEFAULT_ASC' | 'IS_DEFAULT_DESC' | 'METADATA_ASC' | 'METADATA_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'UPDATED_BY_ASC' | 'UPDATED_BY_DESC';
|
|
1140
|
+
export type AgentResourceChunkOrderBy = 'AGENT_RESOURCE_ID_ASC' | 'AGENT_RESOURCE_ID_DESC' | 'BODY_ASC' | 'BODY_DESC' | 'CHUNK_INDEX_ASC' | 'CHUNK_INDEX_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'EMBEDDING_ASC' | 'EMBEDDING_DESC' | 'EMBEDDING_VECTOR_DISTANCE_ASC' | 'EMBEDDING_VECTOR_DISTANCE_DESC' | 'ID_ASC' | 'ID_DESC' | 'METADATA_ASC' | 'METADATA_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'SEARCH_SCORE_ASC' | 'SEARCH_SCORE_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
|
|
1141
|
+
export type AgentResourceOrderBy = 'ARCHIVED_AT_ASC' | 'ARCHIVED_AT_DESC' | 'BODY_ASC' | 'BODY_DESC' | 'BODY_TRGM_SIMILARITY_ASC' | 'BODY_TRGM_SIMILARITY_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'CREATED_BY_ASC' | 'CREATED_BY_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'DESCRIPTION_TRGM_SIMILARITY_ASC' | 'DESCRIPTION_TRGM_SIMILARITY_DESC' | 'EMBEDDING_ASC' | 'EMBEDDING_DESC' | 'EMBEDDING_UPDATED_AT_ASC' | 'EMBEDDING_UPDATED_AT_DESC' | 'EMBEDDING_VECTOR_DISTANCE_ASC' | 'EMBEDDING_VECTOR_DISTANCE_DESC' | 'ID_ASC' | 'ID_DESC' | 'IS_ACTIVE_ASC' | 'IS_ACTIVE_DESC' | 'IS_ARCHIVED_ASC' | 'IS_ARCHIVED_DESC' | 'KEYWORDS_ASC' | 'KEYWORDS_DESC' | 'KIND_ASC' | 'KIND_DESC' | 'KIND_TRGM_SIMILARITY_ASC' | 'KIND_TRGM_SIMILARITY_DESC' | 'METADATA_ASC' | 'METADATA_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'SEARCH_ASC' | 'SEARCH_DESC' | 'SEARCH_SCORE_ASC' | 'SEARCH_SCORE_DESC' | 'SEARCH_TSV_RANK_ASC' | 'SEARCH_TSV_RANK_DESC' | 'SLUG_ASC' | 'SLUG_DESC' | 'TITLE_ASC' | 'TITLE_DESC' | 'TITLE_TRGM_SIMILARITY_ASC' | 'TITLE_TRGM_SIMILARITY_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'UPDATED_BY_ASC' | 'UPDATED_BY_DESC';
|
|
1142
|
+
export type AgentTaskOrderBy = 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'APPROVAL_FEEDBACK_ASC' | 'APPROVAL_FEEDBACK_DESC' | 'APPROVAL_STATUS_ASC' | 'APPROVAL_STATUS_DESC' | 'APPROVED_AT_ASC' | 'APPROVED_AT_DESC' | 'APPROVED_BY_ASC' | 'APPROVED_BY_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'ERROR_ASC' | 'ERROR_DESC' | 'ID_ASC' | 'ID_DESC' | 'NATURAL' | 'ORDER_INDEX_ASC' | 'ORDER_INDEX_DESC' | 'PLAN_ID_ASC' | 'PLAN_ID_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'REQUIRES_APPROVAL_ASC' | 'REQUIRES_APPROVAL_DESC' | 'SOURCE_ASC' | 'SOURCE_DESC' | 'STATUS_ASC' | 'STATUS_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
|
|
1143
|
+
export type AgentThreadOrderBy = 'AGENT_ID_ASC' | 'AGENT_ID_DESC' | 'ARCHIVED_AT_ASC' | 'ARCHIVED_AT_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'ID_ASC' | 'ID_DESC' | 'IS_ARCHIVED_ASC' | 'IS_ARCHIVED_DESC' | 'MODEL_ASC' | 'MODEL_DESC' | 'MODE_ASC' | 'MODE_DESC' | 'NATURAL' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'PARENT_THREAD_ID_ASC' | 'PARENT_THREAD_ID_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'PROMPT_TEMPLATE_ID_ASC' | 'PROMPT_TEMPLATE_ID_DESC' | 'STATUS_ASC' | 'STATUS_DESC' | 'SYSTEM_PROMPT_ASC' | 'SYSTEM_PROMPT_DESC' | 'TAGS_ASC' | 'TAGS_DESC' | 'TITLE_ASC' | 'TITLE_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
|
|
1172
1144
|
export interface CreateAgentInput {
|
|
1173
1145
|
clientMutationId?: string;
|
|
1174
1146
|
agent: {
|
|
1175
|
-
|
|
1147
|
+
config?: Record<string, unknown>;
|
|
1176
1148
|
databaseId: string;
|
|
1177
|
-
|
|
1178
|
-
parentId?: string;
|
|
1149
|
+
isEphemeral?: boolean;
|
|
1179
1150
|
name: string;
|
|
1180
|
-
|
|
1181
|
-
|
|
1151
|
+
ownerId?: string;
|
|
1152
|
+
parentId?: string;
|
|
1153
|
+
personaId?: string;
|
|
1182
1154
|
status?: string;
|
|
1183
|
-
|
|
1155
|
+
systemPrompt?: string;
|
|
1184
1156
|
};
|
|
1185
1157
|
}
|
|
1186
1158
|
export interface AgentPatch {
|
|
1187
|
-
|
|
1159
|
+
config?: Record<string, unknown> | null;
|
|
1188
1160
|
databaseId?: string | null;
|
|
1189
|
-
|
|
1190
|
-
parentId?: string | null;
|
|
1161
|
+
isEphemeral?: boolean | null;
|
|
1191
1162
|
name?: string | null;
|
|
1192
|
-
|
|
1193
|
-
|
|
1163
|
+
ownerId?: string | null;
|
|
1164
|
+
parentId?: string | null;
|
|
1165
|
+
personaId?: string | null;
|
|
1194
1166
|
status?: string | null;
|
|
1195
|
-
|
|
1167
|
+
systemPrompt?: string | null;
|
|
1196
1168
|
}
|
|
1197
1169
|
export interface UpdateAgentInput {
|
|
1198
1170
|
clientMutationId?: string;
|
|
@@ -1203,142 +1175,122 @@ export interface DeleteAgentInput {
|
|
|
1203
1175
|
clientMutationId?: string;
|
|
1204
1176
|
id: string;
|
|
1205
1177
|
}
|
|
1206
|
-
export interface
|
|
1178
|
+
export interface CreateAgentMessageInput {
|
|
1207
1179
|
clientMutationId?: string;
|
|
1208
|
-
|
|
1209
|
-
|
|
1180
|
+
agentMessage: {
|
|
1181
|
+
actorId?: string;
|
|
1182
|
+
agentId?: string;
|
|
1183
|
+
authorRole: string;
|
|
1210
1184
|
databaseId: string;
|
|
1211
|
-
status?: string;
|
|
1212
|
-
isArchived?: boolean;
|
|
1213
|
-
archivedAt?: string;
|
|
1214
|
-
title?: string;
|
|
1215
|
-
mode?: string;
|
|
1216
1185
|
model?: string;
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
promptTemplateId?: string;
|
|
1220
|
-
agentId?: string;
|
|
1221
|
-
parentThreadId?: string;
|
|
1186
|
+
parts?: Record<string, unknown>;
|
|
1187
|
+
threadId: string;
|
|
1222
1188
|
};
|
|
1223
1189
|
}
|
|
1224
|
-
export interface
|
|
1225
|
-
|
|
1190
|
+
export interface AgentMessagePatch {
|
|
1191
|
+
actorId?: string | null;
|
|
1192
|
+
agentId?: string | null;
|
|
1193
|
+
authorRole?: string | null;
|
|
1226
1194
|
databaseId?: string | null;
|
|
1227
|
-
status?: string | null;
|
|
1228
|
-
isArchived?: boolean | null;
|
|
1229
|
-
archivedAt?: string | null;
|
|
1230
|
-
title?: string | null;
|
|
1231
|
-
mode?: string | null;
|
|
1232
1195
|
model?: string | null;
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
promptTemplateId?: string | null;
|
|
1236
|
-
agentId?: string | null;
|
|
1237
|
-
parentThreadId?: string | null;
|
|
1196
|
+
parts?: Record<string, unknown> | null;
|
|
1197
|
+
threadId?: string | null;
|
|
1238
1198
|
}
|
|
1239
|
-
export interface
|
|
1199
|
+
export interface UpdateAgentMessageInput {
|
|
1240
1200
|
clientMutationId?: string;
|
|
1241
1201
|
id: string;
|
|
1242
|
-
|
|
1202
|
+
agentMessagePatch: AgentMessagePatch;
|
|
1243
1203
|
}
|
|
1244
|
-
export interface
|
|
1204
|
+
export interface DeleteAgentMessageInput {
|
|
1245
1205
|
clientMutationId?: string;
|
|
1246
1206
|
id: string;
|
|
1247
1207
|
}
|
|
1248
|
-
export interface
|
|
1208
|
+
export interface CreateAgentPersonaInput {
|
|
1249
1209
|
clientMutationId?: string;
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
threadId: string;
|
|
1210
|
+
agentPersona: {
|
|
1211
|
+
config?: Record<string, unknown>;
|
|
1212
|
+
createdBy?: string;
|
|
1254
1213
|
databaseId: string;
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1214
|
+
description?: string;
|
|
1215
|
+
isActive?: boolean;
|
|
1216
|
+
name: string;
|
|
1217
|
+
resources?: string[];
|
|
1218
|
+
slug: string;
|
|
1219
|
+
systemPrompt?: string;
|
|
1220
|
+
updatedBy?: string;
|
|
1258
1221
|
};
|
|
1259
1222
|
}
|
|
1260
|
-
export interface
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
threadId?: string | null;
|
|
1223
|
+
export interface AgentPersonaPatch {
|
|
1224
|
+
config?: Record<string, unknown> | null;
|
|
1225
|
+
createdBy?: string | null;
|
|
1264
1226
|
databaseId?: string | null;
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1227
|
+
description?: string | null;
|
|
1228
|
+
isActive?: boolean | null;
|
|
1229
|
+
name?: string | null;
|
|
1230
|
+
resources?: string[] | null;
|
|
1231
|
+
slug?: string | null;
|
|
1232
|
+
systemPrompt?: string | null;
|
|
1233
|
+
updatedBy?: string | null;
|
|
1268
1234
|
}
|
|
1269
|
-
export interface
|
|
1235
|
+
export interface UpdateAgentPersonaInput {
|
|
1270
1236
|
clientMutationId?: string;
|
|
1271
1237
|
id: string;
|
|
1272
|
-
|
|
1238
|
+
agentPersonaPatch: AgentPersonaPatch;
|
|
1273
1239
|
}
|
|
1274
|
-
export interface
|
|
1240
|
+
export interface DeleteAgentPersonaInput {
|
|
1275
1241
|
clientMutationId?: string;
|
|
1276
1242
|
id: string;
|
|
1277
1243
|
}
|
|
1278
|
-
export interface
|
|
1244
|
+
export interface CreateAgentPlanInput {
|
|
1279
1245
|
clientMutationId?: string;
|
|
1280
|
-
|
|
1281
|
-
actorId?: string;
|
|
1282
|
-
status?: string;
|
|
1283
|
-
planId: string;
|
|
1246
|
+
agentPlan: {
|
|
1284
1247
|
databaseId: string;
|
|
1285
|
-
description
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
approvalStatus?: string;
|
|
1291
|
-
approvedBy?: string;
|
|
1292
|
-
approvedAt?: string;
|
|
1293
|
-
approvalFeedback?: string;
|
|
1248
|
+
description?: string;
|
|
1249
|
+
ownerId?: string;
|
|
1250
|
+
status?: string;
|
|
1251
|
+
threadId: string;
|
|
1252
|
+
title: string;
|
|
1294
1253
|
};
|
|
1295
1254
|
}
|
|
1296
|
-
export interface
|
|
1297
|
-
actorId?: string | null;
|
|
1298
|
-
status?: string | null;
|
|
1299
|
-
planId?: string | null;
|
|
1255
|
+
export interface AgentPlanPatch {
|
|
1300
1256
|
databaseId?: string | null;
|
|
1301
1257
|
description?: string | null;
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
approvalStatus?: string | null;
|
|
1307
|
-
approvedBy?: string | null;
|
|
1308
|
-
approvedAt?: string | null;
|
|
1309
|
-
approvalFeedback?: string | null;
|
|
1258
|
+
ownerId?: string | null;
|
|
1259
|
+
status?: string | null;
|
|
1260
|
+
threadId?: string | null;
|
|
1261
|
+
title?: string | null;
|
|
1310
1262
|
}
|
|
1311
|
-
export interface
|
|
1263
|
+
export interface UpdateAgentPlanInput {
|
|
1312
1264
|
clientMutationId?: string;
|
|
1313
1265
|
id: string;
|
|
1314
|
-
|
|
1266
|
+
agentPlanPatch: AgentPlanPatch;
|
|
1315
1267
|
}
|
|
1316
|
-
export interface
|
|
1268
|
+
export interface DeleteAgentPlanInput {
|
|
1317
1269
|
clientMutationId?: string;
|
|
1318
1270
|
id: string;
|
|
1319
1271
|
}
|
|
1320
1272
|
export interface CreateAgentPromptInput {
|
|
1321
1273
|
clientMutationId?: string;
|
|
1322
1274
|
agentPrompt: {
|
|
1275
|
+
content: string;
|
|
1323
1276
|
createdBy?: string;
|
|
1324
|
-
updatedBy?: string;
|
|
1325
1277
|
databaseId: string;
|
|
1326
|
-
name: string;
|
|
1327
|
-
content: string;
|
|
1328
1278
|
description?: string;
|
|
1329
1279
|
isDefault?: boolean;
|
|
1330
1280
|
metadata?: Record<string, unknown>;
|
|
1281
|
+
name: string;
|
|
1282
|
+
updatedBy?: string;
|
|
1331
1283
|
};
|
|
1332
1284
|
}
|
|
1333
1285
|
export interface AgentPromptPatch {
|
|
1286
|
+
content?: string | null;
|
|
1334
1287
|
createdBy?: string | null;
|
|
1335
|
-
updatedBy?: string | null;
|
|
1336
1288
|
databaseId?: string | null;
|
|
1337
|
-
name?: string | null;
|
|
1338
|
-
content?: string | null;
|
|
1339
1289
|
description?: string | null;
|
|
1340
1290
|
isDefault?: boolean | null;
|
|
1341
1291
|
metadata?: Record<string, unknown> | null;
|
|
1292
|
+
name?: string | null;
|
|
1293
|
+
updatedBy?: string | null;
|
|
1342
1294
|
}
|
|
1343
1295
|
export interface UpdateAgentPromptInput {
|
|
1344
1296
|
clientMutationId?: string;
|
|
@@ -1356,8 +1308,8 @@ export interface CreateAgentResourceChunkInput {
|
|
|
1356
1308
|
body: string;
|
|
1357
1309
|
chunkIndex?: number;
|
|
1358
1310
|
embedding?: number[];
|
|
1359
|
-
metadata?: Record<string, unknown>;
|
|
1360
1311
|
embeddingText?: string;
|
|
1312
|
+
metadata?: Record<string, unknown>;
|
|
1361
1313
|
};
|
|
1362
1314
|
}
|
|
1363
1315
|
export interface AgentResourceChunkPatch {
|
|
@@ -1365,8 +1317,8 @@ export interface AgentResourceChunkPatch {
|
|
|
1365
1317
|
body?: string | null;
|
|
1366
1318
|
chunkIndex?: number | null;
|
|
1367
1319
|
embedding?: number[] | null;
|
|
1368
|
-
metadata?: Record<string, unknown> | null;
|
|
1369
1320
|
embeddingText?: string | null;
|
|
1321
|
+
metadata?: Record<string, unknown> | null;
|
|
1370
1322
|
}
|
|
1371
1323
|
export interface UpdateAgentResourceChunkInput {
|
|
1372
1324
|
clientMutationId?: string;
|
|
@@ -1377,87 +1329,135 @@ export interface DeleteAgentResourceChunkInput {
|
|
|
1377
1329
|
clientMutationId?: string;
|
|
1378
1330
|
id: string;
|
|
1379
1331
|
}
|
|
1380
|
-
export interface
|
|
1332
|
+
export interface CreateAgentResourceInput {
|
|
1381
1333
|
clientMutationId?: string;
|
|
1382
|
-
|
|
1334
|
+
agentResource: {
|
|
1335
|
+
archivedAt?: string;
|
|
1336
|
+
body: string;
|
|
1383
1337
|
createdBy?: string;
|
|
1384
|
-
updatedBy?: string;
|
|
1385
1338
|
databaseId: string;
|
|
1386
|
-
slug: string;
|
|
1387
|
-
name: string;
|
|
1388
1339
|
description?: string;
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1340
|
+
embedding?: number[];
|
|
1341
|
+
embeddingText?: string;
|
|
1342
|
+
embeddingUpdatedAt?: string;
|
|
1392
1343
|
isActive?: boolean;
|
|
1344
|
+
isArchived?: boolean;
|
|
1345
|
+
keywords?: string[];
|
|
1346
|
+
kind?: string;
|
|
1347
|
+
metadata?: Record<string, unknown>;
|
|
1348
|
+
slug: string;
|
|
1349
|
+
title: string;
|
|
1350
|
+
updatedBy?: string;
|
|
1393
1351
|
};
|
|
1394
1352
|
}
|
|
1395
|
-
export interface
|
|
1353
|
+
export interface AgentResourcePatch {
|
|
1354
|
+
archivedAt?: string | null;
|
|
1355
|
+
body?: string | null;
|
|
1396
1356
|
createdBy?: string | null;
|
|
1357
|
+
databaseId?: string | null;
|
|
1358
|
+
description?: string | null;
|
|
1359
|
+
embedding?: number[] | null;
|
|
1360
|
+
embeddingText?: string | null;
|
|
1361
|
+
embeddingUpdatedAt?: string | null;
|
|
1362
|
+
isActive?: boolean | null;
|
|
1363
|
+
isArchived?: boolean | null;
|
|
1364
|
+
keywords?: string[] | null;
|
|
1365
|
+
kind?: string | null;
|
|
1366
|
+
metadata?: Record<string, unknown> | null;
|
|
1367
|
+
slug?: string | null;
|
|
1368
|
+
title?: string | null;
|
|
1397
1369
|
updatedBy?: string | null;
|
|
1370
|
+
}
|
|
1371
|
+
export interface UpdateAgentResourceInput {
|
|
1372
|
+
clientMutationId?: string;
|
|
1373
|
+
id: string;
|
|
1374
|
+
agentResourcePatch: AgentResourcePatch;
|
|
1375
|
+
}
|
|
1376
|
+
export interface DeleteAgentResourceInput {
|
|
1377
|
+
clientMutationId?: string;
|
|
1378
|
+
id: string;
|
|
1379
|
+
}
|
|
1380
|
+
export interface CreateAgentTaskInput {
|
|
1381
|
+
clientMutationId?: string;
|
|
1382
|
+
agentTask: {
|
|
1383
|
+
actorId?: string;
|
|
1384
|
+
approvalFeedback?: string;
|
|
1385
|
+
approvalStatus?: string;
|
|
1386
|
+
approvedAt?: string;
|
|
1387
|
+
approvedBy?: string;
|
|
1388
|
+
databaseId: string;
|
|
1389
|
+
description: string;
|
|
1390
|
+
error?: string;
|
|
1391
|
+
orderIndex?: number;
|
|
1392
|
+
planId: string;
|
|
1393
|
+
requiresApproval?: boolean;
|
|
1394
|
+
source?: string;
|
|
1395
|
+
status?: string;
|
|
1396
|
+
};
|
|
1397
|
+
}
|
|
1398
|
+
export interface AgentTaskPatch {
|
|
1399
|
+
actorId?: string | null;
|
|
1400
|
+
approvalFeedback?: string | null;
|
|
1401
|
+
approvalStatus?: string | null;
|
|
1402
|
+
approvedAt?: string | null;
|
|
1403
|
+
approvedBy?: string | null;
|
|
1398
1404
|
databaseId?: string | null;
|
|
1399
|
-
slug?: string | null;
|
|
1400
|
-
name?: string | null;
|
|
1401
1405
|
description?: string | null;
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
+
error?: string | null;
|
|
1407
|
+
orderIndex?: number | null;
|
|
1408
|
+
planId?: string | null;
|
|
1409
|
+
requiresApproval?: boolean | null;
|
|
1410
|
+
source?: string | null;
|
|
1411
|
+
status?: string | null;
|
|
1406
1412
|
}
|
|
1407
|
-
export interface
|
|
1413
|
+
export interface UpdateAgentTaskInput {
|
|
1408
1414
|
clientMutationId?: string;
|
|
1409
1415
|
id: string;
|
|
1410
|
-
|
|
1416
|
+
agentTaskPatch: AgentTaskPatch;
|
|
1411
1417
|
}
|
|
1412
|
-
export interface
|
|
1418
|
+
export interface DeleteAgentTaskInput {
|
|
1413
1419
|
clientMutationId?: string;
|
|
1414
1420
|
id: string;
|
|
1415
1421
|
}
|
|
1416
|
-
export interface
|
|
1422
|
+
export interface CreateAgentThreadInput {
|
|
1417
1423
|
clientMutationId?: string;
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1424
|
+
agentThread: {
|
|
1425
|
+
agentId?: string;
|
|
1426
|
+
archivedAt?: string;
|
|
1421
1427
|
databaseId: string;
|
|
1422
|
-
slug: string;
|
|
1423
|
-
kind?: string;
|
|
1424
|
-
title: string;
|
|
1425
|
-
description?: string;
|
|
1426
|
-
body: string;
|
|
1427
|
-
keywords?: string[];
|
|
1428
|
-
isActive?: boolean;
|
|
1429
|
-
metadata?: Record<string, unknown>;
|
|
1430
1428
|
isArchived?: boolean;
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1429
|
+
mode?: string;
|
|
1430
|
+
model?: string;
|
|
1431
|
+
ownerId?: string;
|
|
1432
|
+
parentThreadId?: string;
|
|
1433
|
+
promptTemplateId?: string;
|
|
1434
|
+
status?: string;
|
|
1435
|
+
systemPrompt?: string;
|
|
1436
|
+
tags?: string[];
|
|
1437
|
+
title?: string;
|
|
1435
1438
|
};
|
|
1436
1439
|
}
|
|
1437
|
-
export interface
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
+
export interface AgentThreadPatch {
|
|
1441
|
+
agentId?: string | null;
|
|
1442
|
+
archivedAt?: string | null;
|
|
1440
1443
|
databaseId?: string | null;
|
|
1441
|
-
slug?: string | null;
|
|
1442
|
-
kind?: string | null;
|
|
1443
|
-
title?: string | null;
|
|
1444
|
-
description?: string | null;
|
|
1445
|
-
body?: string | null;
|
|
1446
|
-
keywords?: string[] | null;
|
|
1447
|
-
isActive?: boolean | null;
|
|
1448
|
-
metadata?: Record<string, unknown> | null;
|
|
1449
1444
|
isArchived?: boolean | null;
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
|
|
1445
|
+
mode?: string | null;
|
|
1446
|
+
model?: string | null;
|
|
1447
|
+
ownerId?: string | null;
|
|
1448
|
+
parentThreadId?: string | null;
|
|
1449
|
+
promptTemplateId?: string | null;
|
|
1450
|
+
status?: string | null;
|
|
1451
|
+
systemPrompt?: string | null;
|
|
1452
|
+
tags?: string[] | null;
|
|
1453
|
+
title?: string | null;
|
|
1454
1454
|
}
|
|
1455
|
-
export interface
|
|
1455
|
+
export interface UpdateAgentThreadInput {
|
|
1456
1456
|
clientMutationId?: string;
|
|
1457
1457
|
id: string;
|
|
1458
|
-
|
|
1458
|
+
agentThreadPatch: AgentThreadPatch;
|
|
1459
1459
|
}
|
|
1460
|
-
export interface
|
|
1460
|
+
export interface DeleteAgentThreadInput {
|
|
1461
1461
|
clientMutationId?: string;
|
|
1462
1462
|
id: string;
|
|
1463
1463
|
}
|
|
@@ -1471,1065 +1471,1042 @@ export interface ProvisionBucketInput {
|
|
|
1471
1471
|
*/
|
|
1472
1472
|
ownerId?: string;
|
|
1473
1473
|
}
|
|
1474
|
-
/** A filter to be used against many `
|
|
1475
|
-
export interface
|
|
1476
|
-
/** Filters to entities where at least one related entity matches. */
|
|
1477
|
-
some?: AgentTaskFilter;
|
|
1474
|
+
/** A filter to be used against many `AgentMessage` object types. All fields are combined with a logical ‘and.’ */
|
|
1475
|
+
export interface AgentToManyAgentMessageFilter {
|
|
1478
1476
|
/** Filters to entities where every related entity matches. */
|
|
1479
|
-
every?:
|
|
1477
|
+
every?: AgentMessageFilter;
|
|
1480
1478
|
/** Filters to entities where no related entity matches. */
|
|
1481
|
-
none?:
|
|
1479
|
+
none?: AgentMessageFilter;
|
|
1480
|
+
/** Filters to entities where at least one related entity matches. */
|
|
1481
|
+
some?: AgentMessageFilter;
|
|
1482
1482
|
}
|
|
1483
1483
|
/** A filter to be used against many `AgentThread` object types. All fields are combined with a logical ‘and.’ */
|
|
1484
1484
|
export interface AgentToManyAgentThreadFilter {
|
|
1485
|
-
/** Filters to entities where at least one related entity matches. */
|
|
1486
|
-
some?: AgentThreadFilter;
|
|
1487
1485
|
/** Filters to entities where every related entity matches. */
|
|
1488
1486
|
every?: AgentThreadFilter;
|
|
1489
1487
|
/** Filters to entities where no related entity matches. */
|
|
1490
1488
|
none?: AgentThreadFilter;
|
|
1491
|
-
}
|
|
1492
|
-
/** A filter to be used against many `AgentMessage` object types. All fields are combined with a logical ‘and.’ */
|
|
1493
|
-
export interface AgentToManyAgentMessageFilter {
|
|
1494
1489
|
/** Filters to entities where at least one related entity matches. */
|
|
1495
|
-
some?:
|
|
1496
|
-
/** Filters to entities where every related entity matches. */
|
|
1497
|
-
every?: AgentMessageFilter;
|
|
1498
|
-
/** Filters to entities where no related entity matches. */
|
|
1499
|
-
none?: AgentMessageFilter;
|
|
1490
|
+
some?: AgentThreadFilter;
|
|
1500
1491
|
}
|
|
1501
1492
|
/** A filter to be used against many `Agent` object types. All fields are combined with a logical ‘and.’ */
|
|
1502
1493
|
export interface AgentToManyAgentFilter {
|
|
1503
|
-
/** Filters to entities where at least one related entity matches. */
|
|
1504
|
-
some?: AgentFilter;
|
|
1505
1494
|
/** Filters to entities where every related entity matches. */
|
|
1506
1495
|
every?: AgentFilter;
|
|
1507
1496
|
/** Filters to entities where no related entity matches. */
|
|
1508
1497
|
none?: AgentFilter;
|
|
1509
|
-
}
|
|
1510
|
-
/** A filter to be used against many `AgentThread` object types. All fields are combined with a logical ‘and.’ */
|
|
1511
|
-
export interface AgentThreadToManyAgentThreadFilter {
|
|
1512
1498
|
/** Filters to entities where at least one related entity matches. */
|
|
1513
|
-
some?:
|
|
1514
|
-
/** Filters to entities where every related entity matches. */
|
|
1515
|
-
every?: AgentThreadFilter;
|
|
1516
|
-
/** Filters to entities where no related entity matches. */
|
|
1517
|
-
none?: AgentThreadFilter;
|
|
1499
|
+
some?: AgentFilter;
|
|
1518
1500
|
}
|
|
1519
|
-
/** A filter to be used against many `
|
|
1520
|
-
export interface
|
|
1521
|
-
/** Filters to entities where at least one related entity matches. */
|
|
1522
|
-
some?: AgentMessageFilter;
|
|
1501
|
+
/** A filter to be used against many `Agent` object types. All fields are combined with a logical ‘and.’ */
|
|
1502
|
+
export interface AgentPersonaToManyAgentFilter {
|
|
1523
1503
|
/** Filters to entities where every related entity matches. */
|
|
1524
|
-
every?:
|
|
1504
|
+
every?: AgentFilter;
|
|
1525
1505
|
/** Filters to entities where no related entity matches. */
|
|
1526
|
-
none?:
|
|
1527
|
-
}
|
|
1528
|
-
/** A filter to be used against many `AgentPlan` object types. All fields are combined with a logical ‘and.’ */
|
|
1529
|
-
export interface AgentThreadToManyAgentPlanFilter {
|
|
1506
|
+
none?: AgentFilter;
|
|
1530
1507
|
/** Filters to entities where at least one related entity matches. */
|
|
1531
|
-
some?:
|
|
1508
|
+
some?: AgentFilter;
|
|
1509
|
+
}
|
|
1510
|
+
/** A filter to be used against many `AgentTask` object types. All fields are combined with a logical ‘and.’ */
|
|
1511
|
+
export interface AgentPlanToManyAgentTaskFilter {
|
|
1532
1512
|
/** Filters to entities where every related entity matches. */
|
|
1533
|
-
every?:
|
|
1513
|
+
every?: AgentTaskFilter;
|
|
1534
1514
|
/** Filters to entities where no related entity matches. */
|
|
1535
|
-
none?:
|
|
1515
|
+
none?: AgentTaskFilter;
|
|
1516
|
+
/** Filters to entities where at least one related entity matches. */
|
|
1517
|
+
some?: AgentTaskFilter;
|
|
1536
1518
|
}
|
|
1537
1519
|
/** Input for vector similarity search. Provide a query vector, optional metric, and optional max distance threshold. */
|
|
1538
1520
|
export interface VectorNearbyInput {
|
|
1539
|
-
/** Query vector for similarity search. */
|
|
1540
|
-
vector: number[];
|
|
1541
|
-
/** Similarity metric to use (default: COSINE). */
|
|
1542
|
-
metric?: VectorMetric;
|
|
1543
1521
|
/** Maximum distance threshold. Only rows within this distance are returned. */
|
|
1544
1522
|
distance?: number;
|
|
1545
1523
|
/** When true (default for tables with @hasChunks), transparently queries the chunks table and returns the minimum distance across parent + all chunks. Set to false to only search the parent embedding. */
|
|
1546
1524
|
includeChunks?: boolean;
|
|
1525
|
+
/** Similarity metric to use (default: COSINE). */
|
|
1526
|
+
metric?: VectorMetric;
|
|
1547
1527
|
/** Natural language text to embed server-side for similarity search. Mutually exclusive with `vector` — provide one or the other. Requires the LLM plugin to be configured with an embedding provider. */
|
|
1548
1528
|
text?: string;
|
|
1529
|
+
/** Query vector for similarity search. */
|
|
1530
|
+
vector: number[];
|
|
1549
1531
|
}
|
|
1550
|
-
/** A filter to be used against many `
|
|
1551
|
-
export interface
|
|
1552
|
-
/** Filters to entities where at least one related entity matches. */
|
|
1553
|
-
some?: AgentFilter;
|
|
1532
|
+
/** A filter to be used against many `AgentResourceChunk` object types. All fields are combined with a logical ‘and.’ */
|
|
1533
|
+
export interface AgentResourceToManyAgentResourceChunkFilter {
|
|
1554
1534
|
/** Filters to entities where every related entity matches. */
|
|
1555
|
-
every?:
|
|
1535
|
+
every?: AgentResourceChunkFilter;
|
|
1556
1536
|
/** Filters to entities where no related entity matches. */
|
|
1557
|
-
none?:
|
|
1537
|
+
none?: AgentResourceChunkFilter;
|
|
1538
|
+
/** Filters to entities where at least one related entity matches. */
|
|
1539
|
+
some?: AgentResourceChunkFilter;
|
|
1558
1540
|
}
|
|
1559
1541
|
/** A filter to be used against String fields with pg_trgm support. All fields are combined with a logical ‘and.’ */
|
|
1560
1542
|
export interface StringTrgmFilter {
|
|
1561
|
-
/** Is null (if `true` is specified) or is not null (if `false` is specified). */
|
|
1562
|
-
isNull?: boolean;
|
|
1563
|
-
/** Equal to the specified value. */
|
|
1564
|
-
equalTo?: string;
|
|
1565
|
-
/** Not equal to the specified value. */
|
|
1566
|
-
notEqualTo?: string;
|
|
1567
1543
|
/** Not equal to the specified value, treating null like an ordinary value. */
|
|
1568
1544
|
distinctFrom?: string;
|
|
1569
|
-
/**
|
|
1570
|
-
|
|
1571
|
-
/**
|
|
1572
|
-
|
|
1573
|
-
/**
|
|
1574
|
-
|
|
1575
|
-
/**
|
|
1576
|
-
|
|
1577
|
-
/**
|
|
1578
|
-
|
|
1545
|
+
/** Not equal to the specified value, treating null like an ordinary value (case-insensitive). */
|
|
1546
|
+
distinctFromInsensitive?: string;
|
|
1547
|
+
/** Ends with the specified string (case-sensitive). */
|
|
1548
|
+
endsWith?: string;
|
|
1549
|
+
/** Ends with the specified string (case-insensitive). */
|
|
1550
|
+
endsWithInsensitive?: string;
|
|
1551
|
+
/** Equal to the specified value. */
|
|
1552
|
+
equalTo?: string;
|
|
1553
|
+
/** Equal to the specified value (case-insensitive). */
|
|
1554
|
+
equalToInsensitive?: string;
|
|
1579
1555
|
/** Greater than the specified value. */
|
|
1580
1556
|
greaterThan?: string;
|
|
1557
|
+
/** Greater than the specified value (case-insensitive). */
|
|
1558
|
+
greaterThanInsensitive?: string;
|
|
1581
1559
|
/** Greater than or equal to the specified value. */
|
|
1582
1560
|
greaterThanOrEqualTo?: string;
|
|
1561
|
+
/** Greater than or equal to the specified value (case-insensitive). */
|
|
1562
|
+
greaterThanOrEqualToInsensitive?: string;
|
|
1563
|
+
/** Included in the specified list. */
|
|
1564
|
+
in?: string[];
|
|
1565
|
+
/** Included in the specified list (case-insensitive). */
|
|
1566
|
+
inInsensitive?: string[];
|
|
1583
1567
|
/** Contains the specified string (case-sensitive). */
|
|
1584
1568
|
includes?: string;
|
|
1585
|
-
/** Does not contain the specified string (case-sensitive). */
|
|
1586
|
-
notIncludes?: string;
|
|
1587
1569
|
/** Contains the specified string (case-insensitive). */
|
|
1588
1570
|
includesInsensitive?: string;
|
|
1589
|
-
/**
|
|
1590
|
-
|
|
1591
|
-
/**
|
|
1592
|
-
|
|
1593
|
-
/**
|
|
1594
|
-
|
|
1595
|
-
/**
|
|
1596
|
-
|
|
1597
|
-
/**
|
|
1598
|
-
|
|
1599
|
-
/** Ends with the specified string (case-sensitive). */
|
|
1600
|
-
endsWith?: string;
|
|
1601
|
-
/** Does not end with the specified string (case-sensitive). */
|
|
1602
|
-
notEndsWith?: string;
|
|
1603
|
-
/** Ends with the specified string (case-insensitive). */
|
|
1604
|
-
endsWithInsensitive?: string;
|
|
1605
|
-
/** Does not end with the specified string (case-insensitive). */
|
|
1606
|
-
notEndsWithInsensitive?: string;
|
|
1571
|
+
/** Is null (if `true` is specified) or is not null (if `false` is specified). */
|
|
1572
|
+
isNull?: boolean;
|
|
1573
|
+
/** Less than the specified value. */
|
|
1574
|
+
lessThan?: string;
|
|
1575
|
+
/** Less than the specified value (case-insensitive). */
|
|
1576
|
+
lessThanInsensitive?: string;
|
|
1577
|
+
/** Less than or equal to the specified value. */
|
|
1578
|
+
lessThanOrEqualTo?: string;
|
|
1579
|
+
/** Less than or equal to the specified value (case-insensitive). */
|
|
1580
|
+
lessThanOrEqualToInsensitive?: string;
|
|
1607
1581
|
/** Matches the specified pattern (case-sensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */
|
|
1608
1582
|
like?: string;
|
|
1609
|
-
/** Does not match the specified pattern (case-sensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */
|
|
1610
|
-
notLike?: string;
|
|
1611
1583
|
/** Matches the specified pattern (case-insensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */
|
|
1612
1584
|
likeInsensitive?: string;
|
|
1613
|
-
/**
|
|
1614
|
-
|
|
1615
|
-
/** Equal to the specified value (case-insensitive). */
|
|
1616
|
-
equalToInsensitive?: string;
|
|
1617
|
-
/** Not equal to the specified value (case-insensitive). */
|
|
1618
|
-
notEqualToInsensitive?: string;
|
|
1619
|
-
/** Not equal to the specified value, treating null like an ordinary value (case-insensitive). */
|
|
1620
|
-
distinctFromInsensitive?: string;
|
|
1585
|
+
/** Equal to the specified value, treating null like an ordinary value. */
|
|
1586
|
+
notDistinctFrom?: string;
|
|
1621
1587
|
/** Equal to the specified value, treating null like an ordinary value (case-insensitive). */
|
|
1622
1588
|
notDistinctFromInsensitive?: string;
|
|
1623
|
-
/**
|
|
1624
|
-
|
|
1589
|
+
/** Does not end with the specified string (case-sensitive). */
|
|
1590
|
+
notEndsWith?: string;
|
|
1591
|
+
/** Does not end with the specified string (case-insensitive). */
|
|
1592
|
+
notEndsWithInsensitive?: string;
|
|
1593
|
+
/** Not equal to the specified value. */
|
|
1594
|
+
notEqualTo?: string;
|
|
1595
|
+
/** Not equal to the specified value (case-insensitive). */
|
|
1596
|
+
notEqualToInsensitive?: string;
|
|
1597
|
+
/** Not included in the specified list. */
|
|
1598
|
+
notIn?: string[];
|
|
1625
1599
|
/** Not included in the specified list (case-insensitive). */
|
|
1626
1600
|
notInInsensitive?: string[];
|
|
1627
|
-
/**
|
|
1628
|
-
|
|
1629
|
-
/**
|
|
1630
|
-
|
|
1631
|
-
/**
|
|
1632
|
-
|
|
1633
|
-
/**
|
|
1634
|
-
|
|
1601
|
+
/** Does not contain the specified string (case-sensitive). */
|
|
1602
|
+
notIncludes?: string;
|
|
1603
|
+
/** Does not contain the specified string (case-insensitive). */
|
|
1604
|
+
notIncludesInsensitive?: string;
|
|
1605
|
+
/** Does not match the specified pattern (case-sensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */
|
|
1606
|
+
notLike?: string;
|
|
1607
|
+
/** Does not match the specified pattern (case-insensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */
|
|
1608
|
+
notLikeInsensitive?: string;
|
|
1609
|
+
/** Does not start with the specified string (case-sensitive). */
|
|
1610
|
+
notStartsWith?: string;
|
|
1611
|
+
/** Does not start with the specified string (case-insensitive). */
|
|
1612
|
+
notStartsWithInsensitive?: string;
|
|
1635
1613
|
/** Fuzzy matches using pg_trgm trigram similarity. Tolerates typos and misspellings. */
|
|
1636
1614
|
similarTo?: TrgmSearchInput;
|
|
1615
|
+
/** Starts with the specified string (case-sensitive). */
|
|
1616
|
+
startsWith?: string;
|
|
1617
|
+
/** Starts with the specified string (case-insensitive). */
|
|
1618
|
+
startsWithInsensitive?: string;
|
|
1637
1619
|
/** Fuzzy matches using pg_trgm word_similarity. Finds the best matching substring within the column value. */
|
|
1638
1620
|
wordSimilarTo?: TrgmSearchInput;
|
|
1639
1621
|
}
|
|
1640
|
-
/** A filter to be used against many `AgentResourceChunk` object types. All fields are combined with a logical ‘and.’ */
|
|
1641
|
-
export interface AgentResourceToManyAgentResourceChunkFilter {
|
|
1642
|
-
/** Filters to entities where at least one related entity matches. */
|
|
1643
|
-
some?: AgentResourceChunkFilter;
|
|
1644
|
-
/** Filters to entities where every related entity matches. */
|
|
1645
|
-
every?: AgentResourceChunkFilter;
|
|
1646
|
-
/** Filters to entities where no related entity matches. */
|
|
1647
|
-
none?: AgentResourceChunkFilter;
|
|
1648
|
-
}
|
|
1649
1622
|
/** Input for pg_trgm fuzzy text matching. Provide a search value and optional similarity threshold. */
|
|
1650
1623
|
export interface TrgmSearchInput {
|
|
1651
|
-
/** The text to fuzzy-match against. Typos and misspellings are tolerated. */
|
|
1652
|
-
value: string;
|
|
1653
1624
|
/** Minimum similarity threshold (0.0 to 1.0). Higher = stricter matching. Default is 0.3. */
|
|
1654
1625
|
threshold?: number;
|
|
1626
|
+
/** The text to fuzzy-match against. Typos and misspellings are tolerated. */
|
|
1627
|
+
value: string;
|
|
1655
1628
|
}
|
|
1656
|
-
/**
|
|
1657
|
-
export interface
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
/**
|
|
1668
|
-
|
|
1669
|
-
/**
|
|
1670
|
-
|
|
1671
|
-
/**
|
|
1672
|
-
|
|
1629
|
+
/** A filter to be used against many `AgentMessage` object types. All fields are combined with a logical ‘and.’ */
|
|
1630
|
+
export interface AgentThreadToManyAgentMessageFilter {
|
|
1631
|
+
/** Filters to entities where every related entity matches. */
|
|
1632
|
+
every?: AgentMessageFilter;
|
|
1633
|
+
/** Filters to entities where no related entity matches. */
|
|
1634
|
+
none?: AgentMessageFilter;
|
|
1635
|
+
/** Filters to entities where at least one related entity matches. */
|
|
1636
|
+
some?: AgentMessageFilter;
|
|
1637
|
+
}
|
|
1638
|
+
/** A filter to be used against many `AgentPlan` object types. All fields are combined with a logical ‘and.’ */
|
|
1639
|
+
export interface AgentThreadToManyAgentPlanFilter {
|
|
1640
|
+
/** Filters to entities where every related entity matches. */
|
|
1641
|
+
every?: AgentPlanFilter;
|
|
1642
|
+
/** Filters to entities where no related entity matches. */
|
|
1643
|
+
none?: AgentPlanFilter;
|
|
1644
|
+
/** Filters to entities where at least one related entity matches. */
|
|
1645
|
+
some?: AgentPlanFilter;
|
|
1646
|
+
}
|
|
1647
|
+
/** A filter to be used against many `AgentThread` object types. All fields are combined with a logical ‘and.’ */
|
|
1648
|
+
export interface AgentThreadToManyAgentThreadFilter {
|
|
1649
|
+
/** Filters to entities where every related entity matches. */
|
|
1650
|
+
every?: AgentThreadFilter;
|
|
1651
|
+
/** Filters to entities where no related entity matches. */
|
|
1652
|
+
none?: AgentThreadFilter;
|
|
1653
|
+
/** Filters to entities where at least one related entity matches. */
|
|
1654
|
+
some?: AgentThreadFilter;
|
|
1673
1655
|
}
|
|
1674
1656
|
/** An input for mutations affecting `Agent` */
|
|
1675
1657
|
export interface AgentInput {
|
|
1676
|
-
|
|
1658
|
+
/** Per-instance config overrides (model, temperature, tools) */
|
|
1659
|
+
config?: Record<string, unknown>;
|
|
1677
1660
|
createdAt?: string;
|
|
1678
|
-
updatedAt?: string;
|
|
1679
|
-
/** Human who owns/manages this agent */
|
|
1680
|
-
ownerId?: string;
|
|
1681
1661
|
/** Database that owns this resource (database-scoped isolation) */
|
|
1682
1662
|
databaseId: string;
|
|
1683
|
-
|
|
1684
|
-
personaId?: string;
|
|
1685
|
-
/** Parent agent (for sub-agent delegation hierarchy) */
|
|
1686
|
-
parentId?: string;
|
|
1687
|
-
/** Display name for this agent instance */
|
|
1688
|
-
name: string;
|
|
1689
|
-
/** System prompt override (NULL = inherit from persona) */
|
|
1690
|
-
systemPrompt?: string;
|
|
1691
|
-
/** Per-instance config overrides (model, temperature, tools) */
|
|
1692
|
-
config?: Record<string, unknown>;
|
|
1693
|
-
/** Agent lifecycle status: active, paused, terminated */
|
|
1694
|
-
status?: string;
|
|
1663
|
+
id?: string;
|
|
1695
1664
|
/** If true, agent is deleted when its spawning thread is deleted */
|
|
1696
1665
|
isEphemeral?: boolean;
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
id?: string;
|
|
1701
|
-
createdAt?: string;
|
|
1702
|
-
updatedAt?: string;
|
|
1703
|
-
/** User who owns this thread */
|
|
1666
|
+
/** Display name for this agent instance */
|
|
1667
|
+
name: string;
|
|
1668
|
+
/** Human who owns/manages this agent */
|
|
1704
1669
|
ownerId?: string;
|
|
1705
|
-
/**
|
|
1706
|
-
|
|
1707
|
-
/**
|
|
1670
|
+
/** Parent agent (for sub-agent delegation hierarchy) */
|
|
1671
|
+
parentId?: string;
|
|
1672
|
+
/** Persona template this agent was created from */
|
|
1673
|
+
personaId?: string;
|
|
1674
|
+
/** Agent lifecycle status: active, paused, terminated */
|
|
1708
1675
|
status?: string;
|
|
1709
|
-
/**
|
|
1710
|
-
isArchived?: boolean;
|
|
1711
|
-
/** Timestamp when this record was archived, NULL if active */
|
|
1712
|
-
archivedAt?: string;
|
|
1713
|
-
/** Human-readable conversation title */
|
|
1714
|
-
title?: string;
|
|
1715
|
-
/** Conversation mode: ask (plain Q&A) or agent (tool-enabled) */
|
|
1716
|
-
mode?: string;
|
|
1717
|
-
/** LLM model id this thread is bound to */
|
|
1718
|
-
model?: string;
|
|
1719
|
-
/** System prompt active for this thread */
|
|
1676
|
+
/** System prompt override (NULL = inherit from persona) */
|
|
1720
1677
|
systemPrompt?: string;
|
|
1721
|
-
|
|
1722
|
-
tags?: string[];
|
|
1723
|
-
/** Optional FK to a shared prompt template */
|
|
1724
|
-
promptTemplateId?: string;
|
|
1725
|
-
/** Agent instance assigned to this thread */
|
|
1726
|
-
agentId?: string;
|
|
1727
|
-
/** Parent thread that spawned this sub-conversation */
|
|
1728
|
-
parentThreadId?: string;
|
|
1678
|
+
updatedAt?: string;
|
|
1729
1679
|
}
|
|
1730
1680
|
/** An input for mutations affecting `AgentMessage` */
|
|
1731
1681
|
export interface AgentMessageInput {
|
|
1732
|
-
id?: string;
|
|
1733
|
-
createdAt?: string;
|
|
1734
|
-
updatedAt?: string;
|
|
1735
1682
|
/** User who authored this message */
|
|
1736
1683
|
actorId?: string;
|
|
1684
|
+
/** Agent that authored this message (NULL for human messages) */
|
|
1685
|
+
agentId?: string;
|
|
1686
|
+
/** Who authored this message: user or assistant */
|
|
1687
|
+
authorRole: string;
|
|
1688
|
+
createdAt?: string;
|
|
1689
|
+
/** Database that owns this resource (database-scoped isolation) */
|
|
1690
|
+
databaseId: string;
|
|
1691
|
+
id?: string;
|
|
1692
|
+
/** LLM model that generated this response */
|
|
1693
|
+
model?: string;
|
|
1737
1694
|
/** Message content: TextPart and ToolPart array */
|
|
1738
1695
|
parts?: Record<string, unknown>;
|
|
1739
1696
|
/** Foreign key to agent_thread */
|
|
1740
1697
|
threadId: string;
|
|
1698
|
+
updatedAt?: string;
|
|
1699
|
+
}
|
|
1700
|
+
/** An input for mutations affecting `AgentPersona` */
|
|
1701
|
+
export interface AgentPersonaInput {
|
|
1702
|
+
/** Model preferences, temperature, tool access, constraints */
|
|
1703
|
+
config?: Record<string, unknown>;
|
|
1704
|
+
createdAt?: string;
|
|
1705
|
+
createdBy?: string;
|
|
1741
1706
|
/** Database that owns this resource (database-scoped isolation) */
|
|
1742
1707
|
databaseId: string;
|
|
1743
|
-
/**
|
|
1744
|
-
|
|
1745
|
-
/** LLM model that generated this response */
|
|
1746
|
-
model?: string;
|
|
1747
|
-
/** Agent that authored this message (NULL for human messages) */
|
|
1748
|
-
agentId?: string;
|
|
1749
|
-
}
|
|
1750
|
-
/** An input for mutations affecting `AgentTask` */
|
|
1751
|
-
export interface AgentTaskInput {
|
|
1708
|
+
/** Brief description of this persona role */
|
|
1709
|
+
description?: string;
|
|
1752
1710
|
id?: string;
|
|
1753
|
-
|
|
1711
|
+
/** Whether this persona is available for use */
|
|
1712
|
+
isActive?: boolean;
|
|
1713
|
+
/** Display name for this persona */
|
|
1714
|
+
name: string;
|
|
1715
|
+
/** Slugs of agent_resource entries to link when spawning */
|
|
1716
|
+
resources?: string[];
|
|
1717
|
+
/** Unique human-readable identifier for this persona */
|
|
1718
|
+
slug: string;
|
|
1719
|
+
/** Default system prompt for agents using this persona */
|
|
1720
|
+
systemPrompt?: string;
|
|
1754
1721
|
updatedAt?: string;
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
planId: string;
|
|
1722
|
+
updatedBy?: string;
|
|
1723
|
+
}
|
|
1724
|
+
/** An input for mutations affecting `AgentPlan` */
|
|
1725
|
+
export interface AgentPlanInput {
|
|
1726
|
+
createdAt?: string;
|
|
1761
1727
|
/** Database that owns this resource (database-scoped isolation) */
|
|
1762
1728
|
databaseId: string;
|
|
1763
|
-
/**
|
|
1764
|
-
description
|
|
1765
|
-
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
|
-
|
|
1771
|
-
|
|
1772
|
-
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
/** User who approved or rejected this task */
|
|
1776
|
-
approvedBy?: string;
|
|
1777
|
-
/** Timestamp of the approval or rejection decision */
|
|
1778
|
-
approvedAt?: string;
|
|
1779
|
-
/** Reviewer feedback or reason for the decision */
|
|
1780
|
-
approvalFeedback?: string;
|
|
1729
|
+
/** Overall goal or context for this plan */
|
|
1730
|
+
description?: string;
|
|
1731
|
+
id?: string;
|
|
1732
|
+
/** User who owns this plan */
|
|
1733
|
+
ownerId?: string;
|
|
1734
|
+
/** Plan lifecycle: draft, active, completed, failed, cancelled */
|
|
1735
|
+
status?: string;
|
|
1736
|
+
/** Foreign key to agent_thread */
|
|
1737
|
+
threadId: string;
|
|
1738
|
+
/** Human-readable plan name */
|
|
1739
|
+
title: string;
|
|
1740
|
+
updatedAt?: string;
|
|
1781
1741
|
}
|
|
1782
1742
|
/** An input for mutations affecting `AgentPrompt` */
|
|
1783
1743
|
export interface AgentPromptInput {
|
|
1784
|
-
|
|
1744
|
+
/** The system prompt template content */
|
|
1745
|
+
content: string;
|
|
1785
1746
|
createdAt?: string;
|
|
1786
|
-
updatedAt?: string;
|
|
1787
1747
|
createdBy?: string;
|
|
1788
|
-
updatedBy?: string;
|
|
1789
1748
|
/** Database that owns this resource (database-scoped isolation) */
|
|
1790
1749
|
databaseId: string;
|
|
1791
|
-
/** Unique name for lookup (e.g. default, code-review, sales-assistant) */
|
|
1792
|
-
name: string;
|
|
1793
|
-
/** The system prompt template content */
|
|
1794
|
-
content: string;
|
|
1795
1750
|
/** What this prompt template is for */
|
|
1796
1751
|
description?: string;
|
|
1752
|
+
id?: string;
|
|
1797
1753
|
/** Whether this is the default prompt for the entity/app */
|
|
1798
1754
|
isDefault?: boolean;
|
|
1799
1755
|
/** Variables, tags, category metadata */
|
|
1800
1756
|
metadata?: Record<string, unknown>;
|
|
1757
|
+
/** Unique name for lookup (e.g. default, code-review, sales-assistant) */
|
|
1758
|
+
name: string;
|
|
1759
|
+
updatedAt?: string;
|
|
1760
|
+
updatedBy?: string;
|
|
1801
1761
|
}
|
|
1802
1762
|
/** An input for mutations affecting `AgentResourceChunk` */
|
|
1803
1763
|
export interface AgentResourceChunkInput {
|
|
1804
|
-
id?: string;
|
|
1805
1764
|
agentResourceId: string;
|
|
1806
1765
|
body: string;
|
|
1807
1766
|
chunkIndex?: number;
|
|
1808
|
-
embedding?: number[];
|
|
1809
|
-
metadata?: Record<string, unknown>;
|
|
1810
|
-
createdAt?: string;
|
|
1811
|
-
updatedAt?: string;
|
|
1812
|
-
/** Natural language text to embed server-side into the `embedding` vector column. Mutually exclusive with `embedding` — provide one or the other. Requires the LLM plugin to be configured with an embedding provider. */
|
|
1813
|
-
embeddingText?: string;
|
|
1814
|
-
}
|
|
1815
|
-
/** An input for mutations affecting `AgentPersona` */
|
|
1816
|
-
export interface AgentPersonaInput {
|
|
1817
|
-
id?: string;
|
|
1818
1767
|
createdAt?: string;
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
|
|
1822
|
-
|
|
1823
|
-
|
|
1824
|
-
|
|
1825
|
-
slug: string;
|
|
1826
|
-
/** Display name for this persona */
|
|
1827
|
-
name: string;
|
|
1828
|
-
/** Brief description of this persona role */
|
|
1829
|
-
description?: string;
|
|
1830
|
-
/** Default system prompt for agents using this persona */
|
|
1831
|
-
systemPrompt?: string;
|
|
1832
|
-
/** Slugs of agent_resource entries to link when spawning */
|
|
1833
|
-
resources?: string[];
|
|
1834
|
-
/** Model preferences, temperature, tool access, constraints */
|
|
1835
|
-
config?: Record<string, unknown>;
|
|
1836
|
-
/** Whether this persona is available for use */
|
|
1837
|
-
isActive?: boolean;
|
|
1768
|
+
embedding?: number[];
|
|
1769
|
+
/** Natural language text to embed server-side into the `embedding` vector column. Mutually exclusive with `embedding` — provide one or the other. Requires the LLM plugin to be configured with an embedding provider. */
|
|
1770
|
+
embeddingText?: string;
|
|
1771
|
+
id?: string;
|
|
1772
|
+
metadata?: Record<string, unknown>;
|
|
1773
|
+
updatedAt?: string;
|
|
1838
1774
|
}
|
|
1839
1775
|
/** An input for mutations affecting `AgentResource` */
|
|
1840
1776
|
export interface AgentResourceInput {
|
|
1841
|
-
|
|
1777
|
+
/** Timestamp when this record was archived, NULL if active */
|
|
1778
|
+
archivedAt?: string;
|
|
1779
|
+
/** Full content (instructions for skills, reference text for knowledge) */
|
|
1780
|
+
body: string;
|
|
1842
1781
|
createdAt?: string;
|
|
1843
|
-
updatedAt?: string;
|
|
1844
1782
|
createdBy?: string;
|
|
1845
|
-
updatedBy?: string;
|
|
1846
1783
|
/** Database that owns this resource (database-scoped isolation) */
|
|
1847
1784
|
databaseId: string;
|
|
1848
|
-
/** Unique human-readable identifier for portable references */
|
|
1849
|
-
slug: string;
|
|
1850
|
-
/** Resource type: skill, knowledge, or convention */
|
|
1851
|
-
kind?: string;
|
|
1852
|
-
/** Resource name or title */
|
|
1853
|
-
title: string;
|
|
1854
1785
|
/** Brief description of this resource */
|
|
1855
1786
|
description?: string;
|
|
1856
|
-
|
|
1857
|
-
|
|
1858
|
-
|
|
1859
|
-
|
|
1787
|
+
embedding?: number[];
|
|
1788
|
+
/** Natural language text to embed server-side into the `embedding` vector column. Mutually exclusive with `embedding` — provide one or the other. Requires the LLM plugin to be configured with an embedding provider. */
|
|
1789
|
+
embeddingText?: string;
|
|
1790
|
+
embeddingUpdatedAt?: string;
|
|
1791
|
+
id?: string;
|
|
1860
1792
|
/** Whether this resource is active and retrievable */
|
|
1861
1793
|
isActive?: boolean;
|
|
1862
|
-
/** Structured metadata: category, version, author, custom attributes */
|
|
1863
|
-
metadata?: Record<string, unknown>;
|
|
1864
1794
|
/** Whether this record has been archived by the user */
|
|
1865
1795
|
isArchived?: boolean;
|
|
1796
|
+
/** Keywords for deterministic retrieval routing */
|
|
1797
|
+
keywords?: string[];
|
|
1798
|
+
/** Resource type: skill, knowledge, or convention */
|
|
1799
|
+
kind?: string;
|
|
1800
|
+
/** Structured metadata: category, version, author, custom attributes */
|
|
1801
|
+
metadata?: Record<string, unknown>;
|
|
1802
|
+
/** Unique human-readable identifier for portable references */
|
|
1803
|
+
slug: string;
|
|
1804
|
+
/** Resource name or title */
|
|
1805
|
+
title: string;
|
|
1806
|
+
updatedAt?: string;
|
|
1807
|
+
updatedBy?: string;
|
|
1808
|
+
}
|
|
1809
|
+
/** An input for mutations affecting `AgentTask` */
|
|
1810
|
+
export interface AgentTaskInput {
|
|
1811
|
+
/** User who authored this task */
|
|
1812
|
+
actorId?: string;
|
|
1813
|
+
/** Reviewer feedback or reason for the decision */
|
|
1814
|
+
approvalFeedback?: string;
|
|
1815
|
+
/** Approval decision: pending, approved, rejected (NULL if not an approval task) */
|
|
1816
|
+
approvalStatus?: string;
|
|
1817
|
+
/** Timestamp of the approval or rejection decision */
|
|
1818
|
+
approvedAt?: string;
|
|
1819
|
+
/** User who approved or rejected this task */
|
|
1820
|
+
approvedBy?: string;
|
|
1821
|
+
createdAt?: string;
|
|
1822
|
+
/** Database that owns this resource (database-scoped isolation) */
|
|
1823
|
+
databaseId: string;
|
|
1824
|
+
/** Natural-language description of the work to do */
|
|
1825
|
+
description: string;
|
|
1826
|
+
/** Error message captured when the task failed */
|
|
1827
|
+
error?: string;
|
|
1828
|
+
id?: string;
|
|
1829
|
+
/** Position within the plan (for ordered task lists) */
|
|
1830
|
+
orderIndex?: number;
|
|
1831
|
+
/** Foreign key to agent_plan */
|
|
1832
|
+
planId: string;
|
|
1833
|
+
/** Whether this task is an approval gate requiring human decision */
|
|
1834
|
+
requiresApproval?: boolean;
|
|
1835
|
+
/** Who created the task: agent or user */
|
|
1836
|
+
source?: string;
|
|
1837
|
+
/** Current status of this task */
|
|
1838
|
+
status?: string;
|
|
1839
|
+
updatedAt?: string;
|
|
1840
|
+
}
|
|
1841
|
+
/** An input for mutations affecting `AgentThread` */
|
|
1842
|
+
export interface AgentThreadInput {
|
|
1843
|
+
/** Agent instance assigned to this thread */
|
|
1844
|
+
agentId?: string;
|
|
1866
1845
|
/** Timestamp when this record was archived, NULL if active */
|
|
1867
1846
|
archivedAt?: string;
|
|
1868
|
-
|
|
1869
|
-
|
|
1870
|
-
|
|
1871
|
-
|
|
1847
|
+
createdAt?: string;
|
|
1848
|
+
/** Database that owns this resource (database-scoped isolation) */
|
|
1849
|
+
databaseId: string;
|
|
1850
|
+
id?: string;
|
|
1851
|
+
/** Whether this record has been archived by the user */
|
|
1852
|
+
isArchived?: boolean;
|
|
1853
|
+
/** Conversation mode: ask (plain Q&A) or agent (tool-enabled) */
|
|
1854
|
+
mode?: string;
|
|
1855
|
+
/** LLM model id this thread is bound to */
|
|
1856
|
+
model?: string;
|
|
1857
|
+
/** User who owns this thread */
|
|
1858
|
+
ownerId?: string;
|
|
1859
|
+
/** Parent thread that spawned this sub-conversation */
|
|
1860
|
+
parentThreadId?: string;
|
|
1861
|
+
/** Optional FK to a shared prompt template */
|
|
1862
|
+
promptTemplateId?: string;
|
|
1863
|
+
/** Current status of this thread */
|
|
1864
|
+
status?: string;
|
|
1865
|
+
/** System prompt active for this thread */
|
|
1866
|
+
systemPrompt?: string;
|
|
1867
|
+
/** User-defined labels for organizing and filtering threads */
|
|
1868
|
+
tags?: string[];
|
|
1869
|
+
/** Human-readable conversation title */
|
|
1870
|
+
title?: string;
|
|
1871
|
+
updatedAt?: string;
|
|
1872
1872
|
}
|
|
1873
|
-
/** A filter to be used against `
|
|
1874
|
-
export interface
|
|
1875
|
-
/** Filter by the object’s `id` field. */
|
|
1876
|
-
id?: UUIDFilter;
|
|
1877
|
-
/** Filter by the object’s `createdAt` field. */
|
|
1878
|
-
createdAt?: DatetimeFilter;
|
|
1879
|
-
/** Filter by the object’s `updatedAt` field. */
|
|
1880
|
-
updatedAt?: DatetimeFilter;
|
|
1873
|
+
/** A filter to be used against `AgentMessage` object types. All fields are combined with a logical ‘and.’ */
|
|
1874
|
+
export interface AgentMessageFilter {
|
|
1881
1875
|
/** Filter by the object’s `actorId` field. */
|
|
1882
1876
|
actorId?: UUIDFilter;
|
|
1883
|
-
/** Filter by the object’s `
|
|
1884
|
-
|
|
1885
|
-
/**
|
|
1886
|
-
|
|
1877
|
+
/** Filter by the object’s `agent` relation. */
|
|
1878
|
+
agent?: AgentFilter;
|
|
1879
|
+
/** A related `agent` exists. */
|
|
1880
|
+
agentExists?: boolean;
|
|
1881
|
+
/** Filter by the object’s `agentId` field. */
|
|
1882
|
+
agentId?: UUIDFilter;
|
|
1883
|
+
/** Checks for all expressions in this list. */
|
|
1884
|
+
and?: AgentMessageFilter[];
|
|
1885
|
+
/** Filter by the object’s `authorRole` field. */
|
|
1886
|
+
authorRole?: StringFilter;
|
|
1887
|
+
/** Filter by the object’s `createdAt` field. */
|
|
1888
|
+
createdAt?: DatetimeFilter;
|
|
1887
1889
|
/** Filter by the object’s `databaseId` field. */
|
|
1888
1890
|
databaseId?: UUIDFilter;
|
|
1889
|
-
/** Filter by the object’s `
|
|
1890
|
-
|
|
1891
|
-
/** Filter by the object’s `
|
|
1892
|
-
|
|
1893
|
-
/** Filter by the object’s `error` field. */
|
|
1894
|
-
error?: StringFilter;
|
|
1895
|
-
/** Filter by the object’s `orderIndex` field. */
|
|
1896
|
-
orderIndex?: IntFilter;
|
|
1897
|
-
/** Filter by the object’s `requiresApproval` field. */
|
|
1898
|
-
requiresApproval?: BooleanFilter;
|
|
1899
|
-
/** Filter by the object’s `approvalStatus` field. */
|
|
1900
|
-
approvalStatus?: StringFilter;
|
|
1901
|
-
/** Filter by the object’s `approvedBy` field. */
|
|
1902
|
-
approvedBy?: UUIDFilter;
|
|
1903
|
-
/** Filter by the object’s `approvedAt` field. */
|
|
1904
|
-
approvedAt?: DatetimeFilter;
|
|
1905
|
-
/** Filter by the object’s `approvalFeedback` field. */
|
|
1906
|
-
approvalFeedback?: StringFilter;
|
|
1907
|
-
/** Checks for all expressions in this list. */
|
|
1908
|
-
and?: AgentTaskFilter[];
|
|
1909
|
-
/** Checks for any expressions in this list. */
|
|
1910
|
-
or?: AgentTaskFilter[];
|
|
1891
|
+
/** Filter by the object’s `id` field. */
|
|
1892
|
+
id?: UUIDFilter;
|
|
1893
|
+
/** Filter by the object’s `model` field. */
|
|
1894
|
+
model?: StringFilter;
|
|
1911
1895
|
/** Negates the expression. */
|
|
1912
|
-
not?:
|
|
1913
|
-
/**
|
|
1914
|
-
|
|
1896
|
+
not?: AgentMessageFilter;
|
|
1897
|
+
/** Checks for any expressions in this list. */
|
|
1898
|
+
or?: AgentMessageFilter[];
|
|
1899
|
+
/** Filter by the object’s `parts` field. */
|
|
1900
|
+
parts?: JSONFilter;
|
|
1901
|
+
/** Filter by the object’s `thread` relation. */
|
|
1902
|
+
thread?: AgentThreadFilter;
|
|
1903
|
+
/** Filter by the object’s `threadId` field. */
|
|
1904
|
+
threadId?: UUIDFilter;
|
|
1905
|
+
/** Filter by the object’s `updatedAt` field. */
|
|
1906
|
+
updatedAt?: DatetimeFilter;
|
|
1915
1907
|
}
|
|
1916
1908
|
/** A filter to be used against `AgentThread` object types. All fields are combined with a logical ‘and.’ */
|
|
1917
1909
|
export interface AgentThreadFilter {
|
|
1918
|
-
/** Filter by the object’s `
|
|
1919
|
-
|
|
1910
|
+
/** Filter by the object’s `agent` relation. */
|
|
1911
|
+
agent?: AgentFilter;
|
|
1912
|
+
/** A related `agent` exists. */
|
|
1913
|
+
agentExists?: boolean;
|
|
1914
|
+
/** Filter by the object’s `agentId` field. */
|
|
1915
|
+
agentId?: UUIDFilter;
|
|
1916
|
+
/** Filter by the object’s `agentMessagesByThreadId` relation. */
|
|
1917
|
+
agentMessagesByThreadId?: AgentThreadToManyAgentMessageFilter;
|
|
1918
|
+
/** `agentMessagesByThreadId` exist. */
|
|
1919
|
+
agentMessagesByThreadIdExist?: boolean;
|
|
1920
|
+
/** Filter by the object’s `agentPlansByThreadId` relation. */
|
|
1921
|
+
agentPlansByThreadId?: AgentThreadToManyAgentPlanFilter;
|
|
1922
|
+
/** `agentPlansByThreadId` exist. */
|
|
1923
|
+
agentPlansByThreadIdExist?: boolean;
|
|
1924
|
+
/** Filter by the object’s `agentThreadsByParentThreadId` relation. */
|
|
1925
|
+
agentThreadsByParentThreadId?: AgentThreadToManyAgentThreadFilter;
|
|
1926
|
+
/** `agentThreadsByParentThreadId` exist. */
|
|
1927
|
+
agentThreadsByParentThreadIdExist?: boolean;
|
|
1928
|
+
/** Checks for all expressions in this list. */
|
|
1929
|
+
and?: AgentThreadFilter[];
|
|
1930
|
+
/** Filter by the object’s `archivedAt` field. */
|
|
1931
|
+
archivedAt?: DatetimeFilter;
|
|
1920
1932
|
/** Filter by the object’s `createdAt` field. */
|
|
1921
1933
|
createdAt?: DatetimeFilter;
|
|
1922
|
-
/** Filter by the object’s `updatedAt` field. */
|
|
1923
|
-
updatedAt?: DatetimeFilter;
|
|
1924
|
-
/** Filter by the object’s `ownerId` field. */
|
|
1925
|
-
ownerId?: UUIDFilter;
|
|
1926
1934
|
/** Filter by the object’s `databaseId` field. */
|
|
1927
1935
|
databaseId?: UUIDFilter;
|
|
1928
|
-
/** Filter by the object’s `
|
|
1929
|
-
|
|
1936
|
+
/** Filter by the object’s `id` field. */
|
|
1937
|
+
id?: UUIDFilter;
|
|
1930
1938
|
/** Filter by the object’s `isArchived` field. */
|
|
1931
1939
|
isArchived?: BooleanFilter;
|
|
1932
|
-
/** Filter by the object’s `archivedAt` field. */
|
|
1933
|
-
archivedAt?: DatetimeFilter;
|
|
1934
|
-
/** Filter by the object’s `title` field. */
|
|
1935
|
-
title?: StringFilter;
|
|
1936
1940
|
/** Filter by the object’s `mode` field. */
|
|
1937
1941
|
mode?: StringFilter;
|
|
1938
1942
|
/** Filter by the object’s `model` field. */
|
|
1939
1943
|
model?: StringFilter;
|
|
1940
|
-
/** Filter by the object’s `systemPrompt` field. */
|
|
1941
|
-
systemPrompt?: StringFilter;
|
|
1942
|
-
/** Filter by the object’s `tags` field. */
|
|
1943
|
-
tags?: StringListFilter;
|
|
1944
|
-
/** Filter by the object’s `promptTemplateId` field. */
|
|
1945
|
-
promptTemplateId?: UUIDFilter;
|
|
1946
|
-
/** Filter by the object’s `agentId` field. */
|
|
1947
|
-
agentId?: UUIDFilter;
|
|
1948
|
-
/** Filter by the object’s `parentThreadId` field. */
|
|
1949
|
-
parentThreadId?: UUIDFilter;
|
|
1950
|
-
/** Checks for all expressions in this list. */
|
|
1951
|
-
and?: AgentThreadFilter[];
|
|
1952
|
-
/** Checks for any expressions in this list. */
|
|
1953
|
-
or?: AgentThreadFilter[];
|
|
1954
1944
|
/** Negates the expression. */
|
|
1955
1945
|
not?: AgentThreadFilter;
|
|
1956
|
-
/**
|
|
1957
|
-
|
|
1958
|
-
/**
|
|
1959
|
-
|
|
1946
|
+
/** Checks for any expressions in this list. */
|
|
1947
|
+
or?: AgentThreadFilter[];
|
|
1948
|
+
/** Filter by the object’s `ownerId` field. */
|
|
1949
|
+
ownerId?: UUIDFilter;
|
|
1960
1950
|
/** Filter by the object’s `parentThread` relation. */
|
|
1961
1951
|
parentThread?: AgentThreadFilter;
|
|
1962
1952
|
/** A related `parentThread` exists. */
|
|
1963
1953
|
parentThreadExists?: boolean;
|
|
1954
|
+
/** Filter by the object’s `parentThreadId` field. */
|
|
1955
|
+
parentThreadId?: UUIDFilter;
|
|
1964
1956
|
/** Filter by the object’s `promptTemplate` relation. */
|
|
1965
1957
|
promptTemplate?: AgentPromptFilter;
|
|
1966
1958
|
/** A related `promptTemplate` exists. */
|
|
1967
1959
|
promptTemplateExists?: boolean;
|
|
1968
|
-
/** Filter by the object’s `
|
|
1969
|
-
|
|
1970
|
-
/** `
|
|
1971
|
-
|
|
1972
|
-
/** Filter by the object’s `
|
|
1973
|
-
|
|
1974
|
-
/** `
|
|
1975
|
-
|
|
1976
|
-
/** Filter by the object’s `
|
|
1977
|
-
|
|
1978
|
-
/** `agentPlansByThreadId` exist. */
|
|
1979
|
-
agentPlansByThreadIdExist?: boolean;
|
|
1980
|
-
}
|
|
1981
|
-
/** A filter to be used against `AgentMessage` object types. All fields are combined with a logical ‘and.’ */
|
|
1982
|
-
export interface AgentMessageFilter {
|
|
1983
|
-
/** Filter by the object’s `id` field. */
|
|
1984
|
-
id?: UUIDFilter;
|
|
1985
|
-
/** Filter by the object’s `createdAt` field. */
|
|
1986
|
-
createdAt?: DatetimeFilter;
|
|
1960
|
+
/** Filter by the object’s `promptTemplateId` field. */
|
|
1961
|
+
promptTemplateId?: UUIDFilter;
|
|
1962
|
+
/** Filter by the object’s `status` field. */
|
|
1963
|
+
status?: StringFilter;
|
|
1964
|
+
/** Filter by the object’s `systemPrompt` field. */
|
|
1965
|
+
systemPrompt?: StringFilter;
|
|
1966
|
+
/** Filter by the object’s `tags` field. */
|
|
1967
|
+
tags?: StringListFilter;
|
|
1968
|
+
/** Filter by the object’s `title` field. */
|
|
1969
|
+
title?: StringFilter;
|
|
1987
1970
|
/** Filter by the object’s `updatedAt` field. */
|
|
1988
1971
|
updatedAt?: DatetimeFilter;
|
|
1989
|
-
/** Filter by the object’s `actorId` field. */
|
|
1990
|
-
actorId?: UUIDFilter;
|
|
1991
|
-
/** Filter by the object’s `parts` field. */
|
|
1992
|
-
parts?: JSONFilter;
|
|
1993
|
-
/** Filter by the object’s `threadId` field. */
|
|
1994
|
-
threadId?: UUIDFilter;
|
|
1995
|
-
/** Filter by the object’s `databaseId` field. */
|
|
1996
|
-
databaseId?: UUIDFilter;
|
|
1997
|
-
/** Filter by the object’s `authorRole` field. */
|
|
1998
|
-
authorRole?: StringFilter;
|
|
1999
|
-
/** Filter by the object’s `model` field. */
|
|
2000
|
-
model?: StringFilter;
|
|
2001
|
-
/** Filter by the object’s `agentId` field. */
|
|
2002
|
-
agentId?: UUIDFilter;
|
|
2003
|
-
/** Checks for all expressions in this list. */
|
|
2004
|
-
and?: AgentMessageFilter[];
|
|
2005
|
-
/** Checks for any expressions in this list. */
|
|
2006
|
-
or?: AgentMessageFilter[];
|
|
2007
|
-
/** Negates the expression. */
|
|
2008
|
-
not?: AgentMessageFilter;
|
|
2009
|
-
/** Filter by the object’s `agent` relation. */
|
|
2010
|
-
agent?: AgentFilter;
|
|
2011
|
-
/** A related `agent` exists. */
|
|
2012
|
-
agentExists?: boolean;
|
|
2013
|
-
/** Filter by the object’s `thread` relation. */
|
|
2014
|
-
thread?: AgentThreadFilter;
|
|
2015
1972
|
}
|
|
2016
1973
|
/** A filter to be used against `Agent` object types. All fields are combined with a logical ‘and.’ */
|
|
2017
1974
|
export interface AgentFilter {
|
|
2018
|
-
/** Filter by the object’s `
|
|
2019
|
-
|
|
1975
|
+
/** Filter by the object’s `agentMessages` relation. */
|
|
1976
|
+
agentMessages?: AgentToManyAgentMessageFilter;
|
|
1977
|
+
/** `agentMessages` exist. */
|
|
1978
|
+
agentMessagesExist?: boolean;
|
|
1979
|
+
/** Filter by the object’s `agentThreads` relation. */
|
|
1980
|
+
agentThreads?: AgentToManyAgentThreadFilter;
|
|
1981
|
+
/** `agentThreads` exist. */
|
|
1982
|
+
agentThreadsExist?: boolean;
|
|
1983
|
+
/** Checks for all expressions in this list. */
|
|
1984
|
+
and?: AgentFilter[];
|
|
1985
|
+
/** Filter by the object’s `childAgents` relation. */
|
|
1986
|
+
childAgents?: AgentToManyAgentFilter;
|
|
1987
|
+
/** `childAgents` exist. */
|
|
1988
|
+
childAgentsExist?: boolean;
|
|
1989
|
+
/** Filter by the object’s `config` field. */
|
|
1990
|
+
config?: JSONFilter;
|
|
2020
1991
|
/** Filter by the object’s `createdAt` field. */
|
|
2021
1992
|
createdAt?: DatetimeFilter;
|
|
2022
|
-
/** Filter by the object’s `updatedAt` field. */
|
|
2023
|
-
updatedAt?: DatetimeFilter;
|
|
2024
|
-
/** Filter by the object’s `ownerId` field. */
|
|
2025
|
-
ownerId?: UUIDFilter;
|
|
2026
1993
|
/** Filter by the object’s `databaseId` field. */
|
|
2027
1994
|
databaseId?: UUIDFilter;
|
|
2028
|
-
/** Filter by the object’s `
|
|
2029
|
-
|
|
2030
|
-
/** Filter by the object’s `parentId` field. */
|
|
2031
|
-
parentId?: UUIDFilter;
|
|
2032
|
-
/** Filter by the object’s `name` field. */
|
|
2033
|
-
name?: StringFilter;
|
|
2034
|
-
/** Filter by the object’s `systemPrompt` field. */
|
|
2035
|
-
systemPrompt?: StringFilter;
|
|
2036
|
-
/** Filter by the object’s `config` field. */
|
|
2037
|
-
config?: JSONFilter;
|
|
2038
|
-
/** Filter by the object’s `status` field. */
|
|
2039
|
-
status?: StringFilter;
|
|
1995
|
+
/** Filter by the object’s `id` field. */
|
|
1996
|
+
id?: UUIDFilter;
|
|
2040
1997
|
/** Filter by the object’s `isEphemeral` field. */
|
|
2041
1998
|
isEphemeral?: BooleanFilter;
|
|
2042
|
-
/**
|
|
2043
|
-
|
|
2044
|
-
/** Checks for any expressions in this list. */
|
|
2045
|
-
or?: AgentFilter[];
|
|
1999
|
+
/** Filter by the object’s `name` field. */
|
|
2000
|
+
name?: StringFilter;
|
|
2046
2001
|
/** Negates the expression. */
|
|
2047
2002
|
not?: AgentFilter;
|
|
2003
|
+
/** Checks for any expressions in this list. */
|
|
2004
|
+
or?: AgentFilter[];
|
|
2005
|
+
/** Filter by the object’s `ownerId` field. */
|
|
2006
|
+
ownerId?: UUIDFilter;
|
|
2048
2007
|
/** Filter by the object’s `parent` relation. */
|
|
2049
2008
|
parent?: AgentFilter;
|
|
2050
2009
|
/** A related `parent` exists. */
|
|
2051
2010
|
parentExists?: boolean;
|
|
2011
|
+
/** Filter by the object’s `parentId` field. */
|
|
2012
|
+
parentId?: UUIDFilter;
|
|
2052
2013
|
/** Filter by the object’s `persona` relation. */
|
|
2053
2014
|
persona?: AgentPersonaFilter;
|
|
2054
2015
|
/** A related `persona` exists. */
|
|
2055
2016
|
personaExists?: boolean;
|
|
2056
|
-
/** Filter by the object’s `
|
|
2057
|
-
|
|
2058
|
-
/** `
|
|
2059
|
-
|
|
2060
|
-
/** Filter by the object’s `
|
|
2061
|
-
|
|
2062
|
-
/** `
|
|
2063
|
-
|
|
2064
|
-
/** Filter by the object’s `childAgents` relation. */
|
|
2065
|
-
childAgents?: AgentToManyAgentFilter;
|
|
2066
|
-
/** `childAgents` exist. */
|
|
2067
|
-
childAgentsExist?: boolean;
|
|
2017
|
+
/** Filter by the object’s `personaId` field. */
|
|
2018
|
+
personaId?: UUIDFilter;
|
|
2019
|
+
/** Filter by the object’s `status` field. */
|
|
2020
|
+
status?: StringFilter;
|
|
2021
|
+
/** Filter by the object’s `systemPrompt` field. */
|
|
2022
|
+
systemPrompt?: StringFilter;
|
|
2023
|
+
/** Filter by the object’s `updatedAt` field. */
|
|
2024
|
+
updatedAt?: DatetimeFilter;
|
|
2068
2025
|
}
|
|
2069
|
-
/** A filter to be used against `
|
|
2070
|
-
export interface
|
|
2071
|
-
/** Filter by the object’s `
|
|
2072
|
-
|
|
2026
|
+
/** A filter to be used against `AgentTask` object types. All fields are combined with a logical ‘and.’ */
|
|
2027
|
+
export interface AgentTaskFilter {
|
|
2028
|
+
/** Filter by the object’s `actorId` field. */
|
|
2029
|
+
actorId?: UUIDFilter;
|
|
2030
|
+
/** Checks for all expressions in this list. */
|
|
2031
|
+
and?: AgentTaskFilter[];
|
|
2032
|
+
/** Filter by the object’s `approvalFeedback` field. */
|
|
2033
|
+
approvalFeedback?: StringFilter;
|
|
2034
|
+
/** Filter by the object’s `approvalStatus` field. */
|
|
2035
|
+
approvalStatus?: StringFilter;
|
|
2036
|
+
/** Filter by the object’s `approvedAt` field. */
|
|
2037
|
+
approvedAt?: DatetimeFilter;
|
|
2038
|
+
/** Filter by the object’s `approvedBy` field. */
|
|
2039
|
+
approvedBy?: UUIDFilter;
|
|
2073
2040
|
/** Filter by the object’s `createdAt` field. */
|
|
2074
2041
|
createdAt?: DatetimeFilter;
|
|
2075
|
-
/** Filter by the object’s `updatedAt` field. */
|
|
2076
|
-
updatedAt?: DatetimeFilter;
|
|
2077
|
-
/** Filter by the object’s `ownerId` field. */
|
|
2078
|
-
ownerId?: UUIDFilter;
|
|
2079
|
-
/** Filter by the object’s `threadId` field. */
|
|
2080
|
-
threadId?: UUIDFilter;
|
|
2081
2042
|
/** Filter by the object’s `databaseId` field. */
|
|
2082
2043
|
databaseId?: UUIDFilter;
|
|
2083
|
-
/** Filter by the object’s `title` field. */
|
|
2084
|
-
title?: StringFilter;
|
|
2085
2044
|
/** Filter by the object’s `description` field. */
|
|
2086
2045
|
description?: StringFilter;
|
|
2046
|
+
/** Filter by the object’s `error` field. */
|
|
2047
|
+
error?: StringFilter;
|
|
2048
|
+
/** Filter by the object’s `id` field. */
|
|
2049
|
+
id?: UUIDFilter;
|
|
2050
|
+
/** Negates the expression. */
|
|
2051
|
+
not?: AgentTaskFilter;
|
|
2052
|
+
/** Checks for any expressions in this list. */
|
|
2053
|
+
or?: AgentTaskFilter[];
|
|
2054
|
+
/** Filter by the object’s `orderIndex` field. */
|
|
2055
|
+
orderIndex?: IntFilter;
|
|
2056
|
+
/** Filter by the object’s `plan` relation. */
|
|
2057
|
+
plan?: AgentPlanFilter;
|
|
2058
|
+
/** Filter by the object’s `planId` field. */
|
|
2059
|
+
planId?: UUIDFilter;
|
|
2060
|
+
/** Filter by the object’s `requiresApproval` field. */
|
|
2061
|
+
requiresApproval?: BooleanFilter;
|
|
2062
|
+
/** Filter by the object’s `source` field. */
|
|
2063
|
+
source?: StringFilter;
|
|
2087
2064
|
/** Filter by the object’s `status` field. */
|
|
2088
2065
|
status?: StringFilter;
|
|
2089
|
-
/**
|
|
2090
|
-
|
|
2091
|
-
/** Checks for any expressions in this list. */
|
|
2092
|
-
or?: AgentPlanFilter[];
|
|
2093
|
-
/** Negates the expression. */
|
|
2094
|
-
not?: AgentPlanFilter;
|
|
2095
|
-
/** Filter by the object’s `thread` relation. */
|
|
2096
|
-
thread?: AgentThreadFilter;
|
|
2097
|
-
/** Filter by the object’s `agentTasksByPlanId` relation. */
|
|
2098
|
-
agentTasksByPlanId?: AgentPlanToManyAgentTaskFilter;
|
|
2099
|
-
/** `agentTasksByPlanId` exist. */
|
|
2100
|
-
agentTasksByPlanIdExist?: boolean;
|
|
2066
|
+
/** Filter by the object’s `updatedAt` field. */
|
|
2067
|
+
updatedAt?: DatetimeFilter;
|
|
2101
2068
|
}
|
|
2102
2069
|
/** Similarity metric for vector search */
|
|
2103
|
-
export type VectorMetric = 'COSINE' | '
|
|
2070
|
+
export type VectorMetric = 'COSINE' | 'IP' | 'L2';
|
|
2104
2071
|
/** A filter to be used against `AgentResourceChunk` object types. All fields are combined with a logical ‘and.’ */
|
|
2105
2072
|
export interface AgentResourceChunkFilter {
|
|
2106
|
-
/** Filter by the object’s `
|
|
2107
|
-
|
|
2073
|
+
/** Filter by the object’s `agentResource` relation. */
|
|
2074
|
+
agentResource?: AgentResourceFilter;
|
|
2108
2075
|
/** Filter by the object’s `agentResourceId` field. */
|
|
2109
2076
|
agentResourceId?: UUIDFilter;
|
|
2077
|
+
/** Checks for all expressions in this list. */
|
|
2078
|
+
and?: AgentResourceChunkFilter[];
|
|
2110
2079
|
/** Filter by the object’s `body` field. */
|
|
2111
2080
|
body?: StringFilter;
|
|
2112
2081
|
/** Filter by the object’s `chunkIndex` field. */
|
|
2113
2082
|
chunkIndex?: IntFilter;
|
|
2083
|
+
/** Filter by the object’s `createdAt` field. */
|
|
2084
|
+
createdAt?: DatetimeFilter;
|
|
2114
2085
|
/** Filter by the object’s `embedding` field. */
|
|
2115
2086
|
embedding?: VectorFilter;
|
|
2087
|
+
/** Filter by the object’s `id` field. */
|
|
2088
|
+
id?: UUIDFilter;
|
|
2116
2089
|
/** Filter by the object’s `metadata` field. */
|
|
2117
2090
|
metadata?: JSONFilter;
|
|
2118
|
-
/** Filter by the object’s `createdAt` field. */
|
|
2119
|
-
createdAt?: DatetimeFilter;
|
|
2120
|
-
/** Filter by the object’s `updatedAt` field. */
|
|
2121
|
-
updatedAt?: DatetimeFilter;
|
|
2122
|
-
/** Checks for all expressions in this list. */
|
|
2123
|
-
and?: AgentResourceChunkFilter[];
|
|
2124
|
-
/** Checks for any expressions in this list. */
|
|
2125
|
-
or?: AgentResourceChunkFilter[];
|
|
2126
2091
|
/** Negates the expression. */
|
|
2127
2092
|
not?: AgentResourceChunkFilter;
|
|
2128
|
-
/**
|
|
2129
|
-
|
|
2093
|
+
/** Checks for any expressions in this list. */
|
|
2094
|
+
or?: AgentResourceChunkFilter[];
|
|
2095
|
+
/** Filter by the object’s `updatedAt` field. */
|
|
2096
|
+
updatedAt?: DatetimeFilter;
|
|
2130
2097
|
/** VECTOR search on the `embedding` column. */
|
|
2131
2098
|
vectorEmbedding?: VectorNearbyInput;
|
|
2132
2099
|
}
|
|
2100
|
+
/** A filter to be used against `AgentPlan` object types. All fields are combined with a logical ‘and.’ */
|
|
2101
|
+
export interface AgentPlanFilter {
|
|
2102
|
+
/** Filter by the object’s `agentTasksByPlanId` relation. */
|
|
2103
|
+
agentTasksByPlanId?: AgentPlanToManyAgentTaskFilter;
|
|
2104
|
+
/** `agentTasksByPlanId` exist. */
|
|
2105
|
+
agentTasksByPlanIdExist?: boolean;
|
|
2106
|
+
/** Checks for all expressions in this list. */
|
|
2107
|
+
and?: AgentPlanFilter[];
|
|
2108
|
+
/** Filter by the object’s `createdAt` field. */
|
|
2109
|
+
createdAt?: DatetimeFilter;
|
|
2110
|
+
/** Filter by the object’s `databaseId` field. */
|
|
2111
|
+
databaseId?: UUIDFilter;
|
|
2112
|
+
/** Filter by the object’s `description` field. */
|
|
2113
|
+
description?: StringFilter;
|
|
2114
|
+
/** Filter by the object’s `id` field. */
|
|
2115
|
+
id?: UUIDFilter;
|
|
2116
|
+
/** Negates the expression. */
|
|
2117
|
+
not?: AgentPlanFilter;
|
|
2118
|
+
/** Checks for any expressions in this list. */
|
|
2119
|
+
or?: AgentPlanFilter[];
|
|
2120
|
+
/** Filter by the object’s `ownerId` field. */
|
|
2121
|
+
ownerId?: UUIDFilter;
|
|
2122
|
+
/** Filter by the object’s `status` field. */
|
|
2123
|
+
status?: StringFilter;
|
|
2124
|
+
/** Filter by the object’s `thread` relation. */
|
|
2125
|
+
thread?: AgentThreadFilter;
|
|
2126
|
+
/** Filter by the object’s `threadId` field. */
|
|
2127
|
+
threadId?: UUIDFilter;
|
|
2128
|
+
/** Filter by the object’s `title` field. */
|
|
2129
|
+
title?: StringFilter;
|
|
2130
|
+
/** Filter by the object’s `updatedAt` field. */
|
|
2131
|
+
updatedAt?: DatetimeFilter;
|
|
2132
|
+
}
|
|
2133
2133
|
/** A filter to be used against UUID fields. All fields are combined with a logical ‘and.’ */
|
|
2134
2134
|
export interface UUIDFilter {
|
|
2135
|
-
/** Is null (if `true` is specified) or is not null (if `false` is specified). */
|
|
2136
|
-
isNull?: boolean;
|
|
2137
|
-
/** Equal to the specified value. */
|
|
2138
|
-
equalTo?: string;
|
|
2139
|
-
/** Not equal to the specified value. */
|
|
2140
|
-
notEqualTo?: string;
|
|
2141
2135
|
/** Not equal to the specified value, treating null like an ordinary value. */
|
|
2142
2136
|
distinctFrom?: string;
|
|
2143
|
-
/** Equal to the specified value, treating null like an ordinary value. */
|
|
2144
|
-
notDistinctFrom?: string;
|
|
2145
|
-
/** Included in the specified list. */
|
|
2146
|
-
in?: string[];
|
|
2147
|
-
/** Not included in the specified list. */
|
|
2148
|
-
notIn?: string[];
|
|
2149
|
-
/** Less than the specified value. */
|
|
2150
|
-
lessThan?: string;
|
|
2151
|
-
/** Less than or equal to the specified value. */
|
|
2152
|
-
lessThanOrEqualTo?: string;
|
|
2153
|
-
/** Greater than the specified value. */
|
|
2154
|
-
greaterThan?: string;
|
|
2155
|
-
/** Greater than or equal to the specified value. */
|
|
2156
|
-
greaterThanOrEqualTo?: string;
|
|
2157
|
-
}
|
|
2158
|
-
/** A filter to be used against Datetime fields. All fields are combined with a logical ‘and.’ */
|
|
2159
|
-
export interface DatetimeFilter {
|
|
2160
|
-
/** Is null (if `true` is specified) or is not null (if `false` is specified). */
|
|
2161
|
-
isNull?: boolean;
|
|
2162
2137
|
/** Equal to the specified value. */
|
|
2163
|
-
equalTo?: string;
|
|
2164
|
-
/** Not equal to the specified value. */
|
|
2165
|
-
notEqualTo?: string;
|
|
2166
|
-
/** Not equal to the specified value, treating null like an ordinary value. */
|
|
2167
|
-
distinctFrom?: string;
|
|
2168
|
-
/** Equal to the specified value, treating null like an ordinary value. */
|
|
2169
|
-
notDistinctFrom?: string;
|
|
2170
|
-
/** Included in the specified list. */
|
|
2171
|
-
in?: string[];
|
|
2172
|
-
/** Not included in the specified list. */
|
|
2173
|
-
notIn?: string[];
|
|
2174
|
-
/** Less than the specified value. */
|
|
2175
|
-
lessThan?: string;
|
|
2176
|
-
/** Less than or equal to the specified value. */
|
|
2177
|
-
lessThanOrEqualTo?: string;
|
|
2138
|
+
equalTo?: string;
|
|
2178
2139
|
/** Greater than the specified value. */
|
|
2179
2140
|
greaterThan?: string;
|
|
2180
2141
|
/** Greater than or equal to the specified value. */
|
|
2181
2142
|
greaterThanOrEqualTo?: string;
|
|
2182
|
-
}
|
|
2183
|
-
/** A filter to be used against String fields. All fields are combined with a logical ‘and.’ */
|
|
2184
|
-
export interface StringFilter {
|
|
2185
|
-
/** Is null (if `true` is specified) or is not null (if `false` is specified). */
|
|
2186
|
-
isNull?: boolean;
|
|
2187
|
-
/** Equal to the specified value. */
|
|
2188
|
-
equalTo?: string;
|
|
2189
|
-
/** Not equal to the specified value. */
|
|
2190
|
-
notEqualTo?: string;
|
|
2191
|
-
/** Not equal to the specified value, treating null like an ordinary value. */
|
|
2192
|
-
distinctFrom?: string;
|
|
2193
|
-
/** Equal to the specified value, treating null like an ordinary value. */
|
|
2194
|
-
notDistinctFrom?: string;
|
|
2195
2143
|
/** Included in the specified list. */
|
|
2196
2144
|
in?: string[];
|
|
2197
|
-
/**
|
|
2198
|
-
|
|
2145
|
+
/** Is null (if `true` is specified) or is not null (if `false` is specified). */
|
|
2146
|
+
isNull?: boolean;
|
|
2199
2147
|
/** Less than the specified value. */
|
|
2200
2148
|
lessThan?: string;
|
|
2201
2149
|
/** Less than or equal to the specified value. */
|
|
2202
2150
|
lessThanOrEqualTo?: string;
|
|
2151
|
+
/** Equal to the specified value, treating null like an ordinary value. */
|
|
2152
|
+
notDistinctFrom?: string;
|
|
2153
|
+
/** Not equal to the specified value. */
|
|
2154
|
+
notEqualTo?: string;
|
|
2155
|
+
/** Not included in the specified list. */
|
|
2156
|
+
notIn?: string[];
|
|
2157
|
+
}
|
|
2158
|
+
/** A filter to be used against String fields. All fields are combined with a logical ‘and.’ */
|
|
2159
|
+
export interface StringFilter {
|
|
2160
|
+
/** Not equal to the specified value, treating null like an ordinary value. */
|
|
2161
|
+
distinctFrom?: string;
|
|
2162
|
+
/** Not equal to the specified value, treating null like an ordinary value (case-insensitive). */
|
|
2163
|
+
distinctFromInsensitive?: string;
|
|
2164
|
+
/** Ends with the specified string (case-sensitive). */
|
|
2165
|
+
endsWith?: string;
|
|
2166
|
+
/** Ends with the specified string (case-insensitive). */
|
|
2167
|
+
endsWithInsensitive?: string;
|
|
2168
|
+
/** Equal to the specified value. */
|
|
2169
|
+
equalTo?: string;
|
|
2170
|
+
/** Equal to the specified value (case-insensitive). */
|
|
2171
|
+
equalToInsensitive?: string;
|
|
2203
2172
|
/** Greater than the specified value. */
|
|
2204
2173
|
greaterThan?: string;
|
|
2174
|
+
/** Greater than the specified value (case-insensitive). */
|
|
2175
|
+
greaterThanInsensitive?: string;
|
|
2205
2176
|
/** Greater than or equal to the specified value. */
|
|
2206
2177
|
greaterThanOrEqualTo?: string;
|
|
2178
|
+
/** Greater than or equal to the specified value (case-insensitive). */
|
|
2179
|
+
greaterThanOrEqualToInsensitive?: string;
|
|
2180
|
+
/** Included in the specified list. */
|
|
2181
|
+
in?: string[];
|
|
2182
|
+
/** Included in the specified list (case-insensitive). */
|
|
2183
|
+
inInsensitive?: string[];
|
|
2207
2184
|
/** Contains the specified string (case-sensitive). */
|
|
2208
2185
|
includes?: string;
|
|
2209
|
-
/** Does not contain the specified string (case-sensitive). */
|
|
2210
|
-
notIncludes?: string;
|
|
2211
2186
|
/** Contains the specified string (case-insensitive). */
|
|
2212
2187
|
includesInsensitive?: string;
|
|
2213
|
-
/**
|
|
2214
|
-
|
|
2215
|
-
/**
|
|
2216
|
-
|
|
2217
|
-
/**
|
|
2218
|
-
|
|
2219
|
-
/**
|
|
2220
|
-
|
|
2221
|
-
/**
|
|
2222
|
-
|
|
2223
|
-
/** Ends with the specified string (case-sensitive). */
|
|
2224
|
-
endsWith?: string;
|
|
2225
|
-
/** Does not end with the specified string (case-sensitive). */
|
|
2226
|
-
notEndsWith?: string;
|
|
2227
|
-
/** Ends with the specified string (case-insensitive). */
|
|
2228
|
-
endsWithInsensitive?: string;
|
|
2229
|
-
/** Does not end with the specified string (case-insensitive). */
|
|
2230
|
-
notEndsWithInsensitive?: string;
|
|
2188
|
+
/** Is null (if `true` is specified) or is not null (if `false` is specified). */
|
|
2189
|
+
isNull?: boolean;
|
|
2190
|
+
/** Less than the specified value. */
|
|
2191
|
+
lessThan?: string;
|
|
2192
|
+
/** Less than the specified value (case-insensitive). */
|
|
2193
|
+
lessThanInsensitive?: string;
|
|
2194
|
+
/** Less than or equal to the specified value. */
|
|
2195
|
+
lessThanOrEqualTo?: string;
|
|
2196
|
+
/** Less than or equal to the specified value (case-insensitive). */
|
|
2197
|
+
lessThanOrEqualToInsensitive?: string;
|
|
2231
2198
|
/** Matches the specified pattern (case-sensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */
|
|
2232
2199
|
like?: string;
|
|
2233
|
-
/** Does not match the specified pattern (case-sensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */
|
|
2234
|
-
notLike?: string;
|
|
2235
2200
|
/** Matches the specified pattern (case-insensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */
|
|
2236
2201
|
likeInsensitive?: string;
|
|
2237
|
-
/**
|
|
2238
|
-
|
|
2239
|
-
/** Equal to the specified value (case-insensitive). */
|
|
2240
|
-
equalToInsensitive?: string;
|
|
2241
|
-
/** Not equal to the specified value (case-insensitive). */
|
|
2242
|
-
notEqualToInsensitive?: string;
|
|
2243
|
-
/** Not equal to the specified value, treating null like an ordinary value (case-insensitive). */
|
|
2244
|
-
distinctFromInsensitive?: string;
|
|
2202
|
+
/** Equal to the specified value, treating null like an ordinary value. */
|
|
2203
|
+
notDistinctFrom?: string;
|
|
2245
2204
|
/** Equal to the specified value, treating null like an ordinary value (case-insensitive). */
|
|
2246
2205
|
notDistinctFromInsensitive?: string;
|
|
2247
|
-
/**
|
|
2248
|
-
|
|
2206
|
+
/** Does not end with the specified string (case-sensitive). */
|
|
2207
|
+
notEndsWith?: string;
|
|
2208
|
+
/** Does not end with the specified string (case-insensitive). */
|
|
2209
|
+
notEndsWithInsensitive?: string;
|
|
2210
|
+
/** Not equal to the specified value. */
|
|
2211
|
+
notEqualTo?: string;
|
|
2212
|
+
/** Not equal to the specified value (case-insensitive). */
|
|
2213
|
+
notEqualToInsensitive?: string;
|
|
2214
|
+
/** Not included in the specified list. */
|
|
2215
|
+
notIn?: string[];
|
|
2249
2216
|
/** Not included in the specified list (case-insensitive). */
|
|
2250
2217
|
notInInsensitive?: string[];
|
|
2251
|
-
/**
|
|
2252
|
-
|
|
2253
|
-
/**
|
|
2254
|
-
|
|
2255
|
-
/**
|
|
2256
|
-
|
|
2257
|
-
/**
|
|
2258
|
-
|
|
2218
|
+
/** Does not contain the specified string (case-sensitive). */
|
|
2219
|
+
notIncludes?: string;
|
|
2220
|
+
/** Does not contain the specified string (case-insensitive). */
|
|
2221
|
+
notIncludesInsensitive?: string;
|
|
2222
|
+
/** Does not match the specified pattern (case-sensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */
|
|
2223
|
+
notLike?: string;
|
|
2224
|
+
/** Does not match the specified pattern (case-insensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */
|
|
2225
|
+
notLikeInsensitive?: string;
|
|
2226
|
+
/** Does not start with the specified string (case-sensitive). */
|
|
2227
|
+
notStartsWith?: string;
|
|
2228
|
+
/** Does not start with the specified string (case-insensitive). */
|
|
2229
|
+
notStartsWithInsensitive?: string;
|
|
2230
|
+
/** Starts with the specified string (case-sensitive). */
|
|
2231
|
+
startsWith?: string;
|
|
2232
|
+
/** Starts with the specified string (case-insensitive). */
|
|
2233
|
+
startsWithInsensitive?: string;
|
|
2259
2234
|
}
|
|
2260
|
-
/** A filter to be used against
|
|
2261
|
-
export interface
|
|
2235
|
+
/** A filter to be used against Datetime fields. All fields are combined with a logical ‘and.’ */
|
|
2236
|
+
export interface DatetimeFilter {
|
|
2237
|
+
/** Not equal to the specified value, treating null like an ordinary value. */
|
|
2238
|
+
distinctFrom?: string;
|
|
2239
|
+
/** Equal to the specified value. */
|
|
2240
|
+
equalTo?: string;
|
|
2241
|
+
/** Greater than the specified value. */
|
|
2242
|
+
greaterThan?: string;
|
|
2243
|
+
/** Greater than or equal to the specified value. */
|
|
2244
|
+
greaterThanOrEqualTo?: string;
|
|
2245
|
+
/** Included in the specified list. */
|
|
2246
|
+
in?: string[];
|
|
2262
2247
|
/** Is null (if `true` is specified) or is not null (if `false` is specified). */
|
|
2263
2248
|
isNull?: boolean;
|
|
2264
|
-
/**
|
|
2265
|
-
|
|
2249
|
+
/** Less than the specified value. */
|
|
2250
|
+
lessThan?: string;
|
|
2251
|
+
/** Less than or equal to the specified value. */
|
|
2252
|
+
lessThanOrEqualTo?: string;
|
|
2253
|
+
/** Equal to the specified value, treating null like an ordinary value. */
|
|
2254
|
+
notDistinctFrom?: string;
|
|
2266
2255
|
/** Not equal to the specified value. */
|
|
2267
|
-
notEqualTo?:
|
|
2256
|
+
notEqualTo?: string;
|
|
2257
|
+
/** Not included in the specified list. */
|
|
2258
|
+
notIn?: string[];
|
|
2259
|
+
}
|
|
2260
|
+
/** A filter to be used against JSON fields. All fields are combined with a logical ‘and.’ */
|
|
2261
|
+
export interface JSONFilter {
|
|
2262
|
+
/** Contained by the specified JSON. */
|
|
2263
|
+
containedBy?: Record<string, unknown>;
|
|
2264
|
+
/** Contains the specified JSON. */
|
|
2265
|
+
contains?: Record<string, unknown>;
|
|
2266
|
+
/** Contains all of the specified keys. */
|
|
2267
|
+
containsAllKeys?: string[];
|
|
2268
|
+
/** Contains any of the specified keys. */
|
|
2269
|
+
containsAnyKeys?: string[];
|
|
2270
|
+
/** Contains the specified key. */
|
|
2271
|
+
containsKey?: string;
|
|
2268
2272
|
/** Not equal to the specified value, treating null like an ordinary value. */
|
|
2269
|
-
distinctFrom?:
|
|
2270
|
-
/** Equal to the specified value
|
|
2271
|
-
|
|
2273
|
+
distinctFrom?: Record<string, unknown>;
|
|
2274
|
+
/** Equal to the specified value. */
|
|
2275
|
+
equalTo?: Record<string, unknown>;
|
|
2276
|
+
/** Greater than the specified value. */
|
|
2277
|
+
greaterThan?: Record<string, unknown>;
|
|
2278
|
+
/** Greater than or equal to the specified value. */
|
|
2279
|
+
greaterThanOrEqualTo?: Record<string, unknown>;
|
|
2272
2280
|
/** Included in the specified list. */
|
|
2273
|
-
in?:
|
|
2274
|
-
/**
|
|
2275
|
-
|
|
2281
|
+
in?: Record<string, unknown>[];
|
|
2282
|
+
/** Is null (if `true` is specified) or is not null (if `false` is specified). */
|
|
2283
|
+
isNull?: boolean;
|
|
2276
2284
|
/** Less than the specified value. */
|
|
2277
|
-
lessThan?:
|
|
2285
|
+
lessThan?: Record<string, unknown>;
|
|
2278
2286
|
/** Less than or equal to the specified value. */
|
|
2279
|
-
lessThanOrEqualTo?:
|
|
2280
|
-
/**
|
|
2281
|
-
|
|
2282
|
-
/**
|
|
2283
|
-
|
|
2287
|
+
lessThanOrEqualTo?: Record<string, unknown>;
|
|
2288
|
+
/** Equal to the specified value, treating null like an ordinary value. */
|
|
2289
|
+
notDistinctFrom?: Record<string, unknown>;
|
|
2290
|
+
/** Not equal to the specified value. */
|
|
2291
|
+
notEqualTo?: Record<string, unknown>;
|
|
2292
|
+
/** Not included in the specified list. */
|
|
2293
|
+
notIn?: Record<string, unknown>[];
|
|
2284
2294
|
}
|
|
2285
2295
|
/** A filter to be used against Boolean fields. All fields are combined with a logical ‘and.’ */
|
|
2286
2296
|
export interface BooleanFilter {
|
|
2287
|
-
/** Is null (if `true` is specified) or is not null (if `false` is specified). */
|
|
2288
|
-
isNull?: boolean;
|
|
2289
|
-
/** Equal to the specified value. */
|
|
2290
|
-
equalTo?: boolean;
|
|
2291
|
-
/** Not equal to the specified value. */
|
|
2292
|
-
notEqualTo?: boolean;
|
|
2293
2297
|
/** Not equal to the specified value, treating null like an ordinary value. */
|
|
2294
2298
|
distinctFrom?: boolean;
|
|
2295
|
-
/** Equal to the specified value
|
|
2296
|
-
|
|
2297
|
-
/** Included in the specified list. */
|
|
2298
|
-
in?: boolean[];
|
|
2299
|
-
/** Not included in the specified list. */
|
|
2300
|
-
notIn?: boolean[];
|
|
2301
|
-
/** Less than the specified value. */
|
|
2302
|
-
lessThan?: boolean;
|
|
2303
|
-
/** Less than or equal to the specified value. */
|
|
2304
|
-
lessThanOrEqualTo?: boolean;
|
|
2299
|
+
/** Equal to the specified value. */
|
|
2300
|
+
equalTo?: boolean;
|
|
2305
2301
|
/** Greater than the specified value. */
|
|
2306
2302
|
greaterThan?: boolean;
|
|
2307
2303
|
/** Greater than or equal to the specified value. */
|
|
2308
2304
|
greaterThanOrEqualTo?: boolean;
|
|
2309
|
-
|
|
2310
|
-
|
|
2311
|
-
export interface StringListFilter {
|
|
2305
|
+
/** Included in the specified list. */
|
|
2306
|
+
in?: boolean[];
|
|
2312
2307
|
/** Is null (if `true` is specified) or is not null (if `false` is specified). */
|
|
2313
2308
|
isNull?: boolean;
|
|
2314
|
-
/** Equal to the specified value. */
|
|
2315
|
-
equalTo?: string[];
|
|
2316
|
-
/** Not equal to the specified value. */
|
|
2317
|
-
notEqualTo?: string[];
|
|
2318
|
-
/** Not equal to the specified value, treating null like an ordinary value. */
|
|
2319
|
-
distinctFrom?: string[];
|
|
2320
|
-
/** Equal to the specified value, treating null like an ordinary value. */
|
|
2321
|
-
notDistinctFrom?: string[];
|
|
2322
2309
|
/** Less than the specified value. */
|
|
2323
|
-
lessThan?:
|
|
2310
|
+
lessThan?: boolean;
|
|
2324
2311
|
/** Less than or equal to the specified value. */
|
|
2325
|
-
lessThanOrEqualTo?:
|
|
2326
|
-
/**
|
|
2327
|
-
|
|
2328
|
-
/**
|
|
2329
|
-
|
|
2330
|
-
/**
|
|
2331
|
-
|
|
2332
|
-
/** Contained by the specified list of values. */
|
|
2333
|
-
containedBy?: string[];
|
|
2334
|
-
/** Overlaps the specified list of values. */
|
|
2335
|
-
overlaps?: string[];
|
|
2336
|
-
/** Any array item is equal to the specified value. */
|
|
2337
|
-
anyEqualTo?: string;
|
|
2338
|
-
/** Any array item is not equal to the specified value. */
|
|
2339
|
-
anyNotEqualTo?: string;
|
|
2340
|
-
/** Any array item is less than the specified value. */
|
|
2341
|
-
anyLessThan?: string;
|
|
2342
|
-
/** Any array item is less than or equal to the specified value. */
|
|
2343
|
-
anyLessThanOrEqualTo?: string;
|
|
2344
|
-
/** Any array item is greater than the specified value. */
|
|
2345
|
-
anyGreaterThan?: string;
|
|
2346
|
-
/** Any array item is greater than or equal to the specified value. */
|
|
2347
|
-
anyGreaterThanOrEqualTo?: string;
|
|
2312
|
+
lessThanOrEqualTo?: boolean;
|
|
2313
|
+
/** Equal to the specified value, treating null like an ordinary value. */
|
|
2314
|
+
notDistinctFrom?: boolean;
|
|
2315
|
+
/** Not equal to the specified value. */
|
|
2316
|
+
notEqualTo?: boolean;
|
|
2317
|
+
/** Not included in the specified list. */
|
|
2318
|
+
notIn?: boolean[];
|
|
2348
2319
|
}
|
|
2349
2320
|
/** A filter to be used against `AgentPrompt` object types. All fields are combined with a logical ‘and.’ */
|
|
2350
2321
|
export interface AgentPromptFilter {
|
|
2351
|
-
/**
|
|
2352
|
-
|
|
2322
|
+
/** Checks for all expressions in this list. */
|
|
2323
|
+
and?: AgentPromptFilter[];
|
|
2324
|
+
/** Filter by the object’s `content` field. */
|
|
2325
|
+
content?: StringFilter;
|
|
2353
2326
|
/** Filter by the object’s `createdAt` field. */
|
|
2354
2327
|
createdAt?: DatetimeFilter;
|
|
2355
|
-
/** Filter by the object’s `updatedAt` field. */
|
|
2356
|
-
updatedAt?: DatetimeFilter;
|
|
2357
2328
|
/** Filter by the object’s `createdBy` field. */
|
|
2358
2329
|
createdBy?: UUIDFilter;
|
|
2359
|
-
/** Filter by the object’s `updatedBy` field. */
|
|
2360
|
-
updatedBy?: UUIDFilter;
|
|
2361
2330
|
/** Filter by the object’s `databaseId` field. */
|
|
2362
2331
|
databaseId?: UUIDFilter;
|
|
2363
|
-
/** Filter by the object’s `name` field. */
|
|
2364
|
-
name?: StringFilter;
|
|
2365
|
-
/** Filter by the object’s `content` field. */
|
|
2366
|
-
content?: StringFilter;
|
|
2367
2332
|
/** Filter by the object’s `description` field. */
|
|
2368
2333
|
description?: StringFilter;
|
|
2334
|
+
/** Filter by the object’s `id` field. */
|
|
2335
|
+
id?: UUIDFilter;
|
|
2369
2336
|
/** Filter by the object’s `isDefault` field. */
|
|
2370
2337
|
isDefault?: BooleanFilter;
|
|
2371
2338
|
/** Filter by the object’s `metadata` field. */
|
|
2372
2339
|
metadata?: JSONFilter;
|
|
2373
|
-
/**
|
|
2374
|
-
|
|
2375
|
-
/** Checks for any expressions in this list. */
|
|
2376
|
-
or?: AgentPromptFilter[];
|
|
2340
|
+
/** Filter by the object’s `name` field. */
|
|
2341
|
+
name?: StringFilter;
|
|
2377
2342
|
/** Negates the expression. */
|
|
2378
2343
|
not?: AgentPromptFilter;
|
|
2344
|
+
/** Checks for any expressions in this list. */
|
|
2345
|
+
or?: AgentPromptFilter[];
|
|
2346
|
+
/** Filter by the object’s `updatedAt` field. */
|
|
2347
|
+
updatedAt?: DatetimeFilter;
|
|
2348
|
+
/** Filter by the object’s `updatedBy` field. */
|
|
2349
|
+
updatedBy?: UUIDFilter;
|
|
2379
2350
|
}
|
|
2380
|
-
/** A filter to be used against
|
|
2381
|
-
export interface
|
|
2351
|
+
/** A filter to be used against String List fields. All fields are combined with a logical ‘and.’ */
|
|
2352
|
+
export interface StringListFilter {
|
|
2353
|
+
/** Any array item is equal to the specified value. */
|
|
2354
|
+
anyEqualTo?: string;
|
|
2355
|
+
/** Any array item is greater than the specified value. */
|
|
2356
|
+
anyGreaterThan?: string;
|
|
2357
|
+
/** Any array item is greater than or equal to the specified value. */
|
|
2358
|
+
anyGreaterThanOrEqualTo?: string;
|
|
2359
|
+
/** Any array item is less than the specified value. */
|
|
2360
|
+
anyLessThan?: string;
|
|
2361
|
+
/** Any array item is less than or equal to the specified value. */
|
|
2362
|
+
anyLessThanOrEqualTo?: string;
|
|
2363
|
+
/** Any array item is not equal to the specified value. */
|
|
2364
|
+
anyNotEqualTo?: string;
|
|
2365
|
+
/** Contained by the specified list of values. */
|
|
2366
|
+
containedBy?: string[];
|
|
2367
|
+
/** Contains the specified list of values. */
|
|
2368
|
+
contains?: string[];
|
|
2369
|
+
/** Not equal to the specified value, treating null like an ordinary value. */
|
|
2370
|
+
distinctFrom?: string[];
|
|
2371
|
+
/** Equal to the specified value. */
|
|
2372
|
+
equalTo?: string[];
|
|
2373
|
+
/** Greater than the specified value. */
|
|
2374
|
+
greaterThan?: string[];
|
|
2375
|
+
/** Greater than or equal to the specified value. */
|
|
2376
|
+
greaterThanOrEqualTo?: string[];
|
|
2382
2377
|
/** Is null (if `true` is specified) or is not null (if `false` is specified). */
|
|
2383
2378
|
isNull?: boolean;
|
|
2384
|
-
/** Equal to the specified value. */
|
|
2385
|
-
equalTo?: Record<string, unknown>;
|
|
2386
|
-
/** Not equal to the specified value. */
|
|
2387
|
-
notEqualTo?: Record<string, unknown>;
|
|
2388
|
-
/** Not equal to the specified value, treating null like an ordinary value. */
|
|
2389
|
-
distinctFrom?: Record<string, unknown>;
|
|
2390
|
-
/** Equal to the specified value, treating null like an ordinary value. */
|
|
2391
|
-
notDistinctFrom?: Record<string, unknown>;
|
|
2392
|
-
/** Included in the specified list. */
|
|
2393
|
-
in?: Record<string, unknown>[];
|
|
2394
|
-
/** Not included in the specified list. */
|
|
2395
|
-
notIn?: Record<string, unknown>[];
|
|
2396
2379
|
/** Less than the specified value. */
|
|
2397
|
-
lessThan?:
|
|
2380
|
+
lessThan?: string[];
|
|
2398
2381
|
/** Less than or equal to the specified value. */
|
|
2399
|
-
lessThanOrEqualTo?:
|
|
2400
|
-
/**
|
|
2401
|
-
|
|
2402
|
-
/**
|
|
2403
|
-
|
|
2404
|
-
/**
|
|
2405
|
-
|
|
2406
|
-
/** Contains the specified key. */
|
|
2407
|
-
containsKey?: string;
|
|
2408
|
-
/** Contains all of the specified keys. */
|
|
2409
|
-
containsAllKeys?: string[];
|
|
2410
|
-
/** Contains any of the specified keys. */
|
|
2411
|
-
containsAnyKeys?: string[];
|
|
2412
|
-
/** Contained by the specified JSON. */
|
|
2413
|
-
containedBy?: Record<string, unknown>;
|
|
2382
|
+
lessThanOrEqualTo?: string[];
|
|
2383
|
+
/** Equal to the specified value, treating null like an ordinary value. */
|
|
2384
|
+
notDistinctFrom?: string[];
|
|
2385
|
+
/** Not equal to the specified value. */
|
|
2386
|
+
notEqualTo?: string[];
|
|
2387
|
+
/** Overlaps the specified list of values. */
|
|
2388
|
+
overlaps?: string[];
|
|
2414
2389
|
}
|
|
2415
2390
|
/** A filter to be used against `AgentPersona` object types. All fields are combined with a logical ‘and.’ */
|
|
2416
2391
|
export interface AgentPersonaFilter {
|
|
2417
|
-
/** Filter by the object’s `
|
|
2418
|
-
|
|
2392
|
+
/** Filter by the object’s `agentsByPersonaId` relation. */
|
|
2393
|
+
agentsByPersonaId?: AgentPersonaToManyAgentFilter;
|
|
2394
|
+
/** `agentsByPersonaId` exist. */
|
|
2395
|
+
agentsByPersonaIdExist?: boolean;
|
|
2396
|
+
/** Checks for all expressions in this list. */
|
|
2397
|
+
and?: AgentPersonaFilter[];
|
|
2398
|
+
/** Filter by the object’s `config` field. */
|
|
2399
|
+
config?: JSONFilter;
|
|
2419
2400
|
/** Filter by the object’s `createdAt` field. */
|
|
2420
2401
|
createdAt?: DatetimeFilter;
|
|
2421
|
-
/** Filter by the object’s `updatedAt` field. */
|
|
2422
|
-
updatedAt?: DatetimeFilter;
|
|
2423
2402
|
/** Filter by the object’s `createdBy` field. */
|
|
2424
2403
|
createdBy?: UUIDFilter;
|
|
2425
|
-
/** Filter by the object’s `updatedBy` field. */
|
|
2426
|
-
updatedBy?: UUIDFilter;
|
|
2427
2404
|
/** Filter by the object’s `databaseId` field. */
|
|
2428
2405
|
databaseId?: UUIDFilter;
|
|
2429
|
-
/** Filter by the object’s `slug` field. */
|
|
2430
|
-
slug?: StringFilter;
|
|
2431
|
-
/** Filter by the object’s `name` field. */
|
|
2432
|
-
name?: StringFilter;
|
|
2433
2406
|
/** Filter by the object’s `description` field. */
|
|
2434
2407
|
description?: StringFilter;
|
|
2435
|
-
/** Filter by the object’s `
|
|
2436
|
-
|
|
2437
|
-
/** Filter by the object’s `resources` field. */
|
|
2438
|
-
resources?: StringListFilter;
|
|
2439
|
-
/** Filter by the object’s `config` field. */
|
|
2440
|
-
config?: JSONFilter;
|
|
2408
|
+
/** Filter by the object’s `id` field. */
|
|
2409
|
+
id?: UUIDFilter;
|
|
2441
2410
|
/** Filter by the object’s `isActive` field. */
|
|
2442
2411
|
isActive?: BooleanFilter;
|
|
2443
|
-
/**
|
|
2444
|
-
|
|
2445
|
-
/** Checks for any expressions in this list. */
|
|
2446
|
-
or?: AgentPersonaFilter[];
|
|
2412
|
+
/** Filter by the object’s `name` field. */
|
|
2413
|
+
name?: StringFilter;
|
|
2447
2414
|
/** Negates the expression. */
|
|
2448
2415
|
not?: AgentPersonaFilter;
|
|
2449
|
-
/**
|
|
2450
|
-
|
|
2451
|
-
/** `
|
|
2452
|
-
|
|
2416
|
+
/** Checks for any expressions in this list. */
|
|
2417
|
+
or?: AgentPersonaFilter[];
|
|
2418
|
+
/** Filter by the object’s `resources` field. */
|
|
2419
|
+
resources?: StringListFilter;
|
|
2420
|
+
/** Filter by the object’s `slug` field. */
|
|
2421
|
+
slug?: StringFilter;
|
|
2422
|
+
/** Filter by the object’s `systemPrompt` field. */
|
|
2423
|
+
systemPrompt?: StringFilter;
|
|
2424
|
+
/** Filter by the object’s `updatedAt` field. */
|
|
2425
|
+
updatedAt?: DatetimeFilter;
|
|
2426
|
+
/** Filter by the object’s `updatedBy` field. */
|
|
2427
|
+
updatedBy?: UUIDFilter;
|
|
2453
2428
|
}
|
|
2454
|
-
/** A filter to be used against
|
|
2455
|
-
export interface
|
|
2429
|
+
/** A filter to be used against Int fields. All fields are combined with a logical ‘and.’ */
|
|
2430
|
+
export interface IntFilter {
|
|
2431
|
+
/** Not equal to the specified value, treating null like an ordinary value. */
|
|
2432
|
+
distinctFrom?: number;
|
|
2433
|
+
/** Equal to the specified value. */
|
|
2434
|
+
equalTo?: number;
|
|
2435
|
+
/** Greater than the specified value. */
|
|
2436
|
+
greaterThan?: number;
|
|
2437
|
+
/** Greater than or equal to the specified value. */
|
|
2438
|
+
greaterThanOrEqualTo?: number;
|
|
2439
|
+
/** Included in the specified list. */
|
|
2440
|
+
in?: number[];
|
|
2456
2441
|
/** Is null (if `true` is specified) or is not null (if `false` is specified). */
|
|
2457
2442
|
isNull?: boolean;
|
|
2458
|
-
/**
|
|
2459
|
-
|
|
2460
|
-
/**
|
|
2461
|
-
|
|
2462
|
-
/** Not equal to the specified value, treating null like an ordinary value. */
|
|
2463
|
-
distinctFrom?: number[];
|
|
2443
|
+
/** Less than the specified value. */
|
|
2444
|
+
lessThan?: number;
|
|
2445
|
+
/** Less than or equal to the specified value. */
|
|
2446
|
+
lessThanOrEqualTo?: number;
|
|
2464
2447
|
/** Equal to the specified value, treating null like an ordinary value. */
|
|
2465
|
-
notDistinctFrom?: number
|
|
2466
|
-
/**
|
|
2467
|
-
|
|
2448
|
+
notDistinctFrom?: number;
|
|
2449
|
+
/** Not equal to the specified value. */
|
|
2450
|
+
notEqualTo?: number;
|
|
2468
2451
|
/** Not included in the specified list. */
|
|
2469
|
-
notIn?: number[]
|
|
2452
|
+
notIn?: number[];
|
|
2470
2453
|
}
|
|
2471
2454
|
/** A filter to be used against `AgentResource` object types. All fields are combined with a logical ‘and.’ */
|
|
2472
2455
|
export interface AgentResourceFilter {
|
|
2473
|
-
/** Filter by the object’s `
|
|
2474
|
-
|
|
2456
|
+
/** Filter by the object’s `agentResourceChunks` relation. */
|
|
2457
|
+
agentResourceChunks?: AgentResourceToManyAgentResourceChunkFilter;
|
|
2458
|
+
/** `agentResourceChunks` exist. */
|
|
2459
|
+
agentResourceChunksExist?: boolean;
|
|
2460
|
+
/** Checks for all expressions in this list. */
|
|
2461
|
+
and?: AgentResourceFilter[];
|
|
2462
|
+
/** Filter by the object’s `archivedAt` field. */
|
|
2463
|
+
archivedAt?: DatetimeFilter;
|
|
2464
|
+
/** Filter by the object’s `body` field. */
|
|
2465
|
+
body?: StringTrgmFilter;
|
|
2475
2466
|
/** Filter by the object’s `createdAt` field. */
|
|
2476
2467
|
createdAt?: DatetimeFilter;
|
|
2477
|
-
/** Filter by the object’s `updatedAt` field. */
|
|
2478
|
-
updatedAt?: DatetimeFilter;
|
|
2479
2468
|
/** Filter by the object’s `createdBy` field. */
|
|
2480
2469
|
createdBy?: UUIDFilter;
|
|
2481
|
-
/** Filter by the object’s `updatedBy` field. */
|
|
2482
|
-
updatedBy?: UUIDFilter;
|
|
2483
2470
|
/** Filter by the object’s `databaseId` field. */
|
|
2484
2471
|
databaseId?: UUIDFilter;
|
|
2485
|
-
/** Filter by the object’s `slug` field. */
|
|
2486
|
-
slug?: StringTrgmFilter;
|
|
2487
|
-
/** Filter by the object’s `kind` field. */
|
|
2488
|
-
kind?: StringTrgmFilter;
|
|
2489
|
-
/** Filter by the object’s `title` field. */
|
|
2490
|
-
title?: StringTrgmFilter;
|
|
2491
2472
|
/** Filter by the object’s `description` field. */
|
|
2492
2473
|
description?: StringTrgmFilter;
|
|
2493
|
-
/** Filter by the object’s `body` field. */
|
|
2494
|
-
body?: StringTrgmFilter;
|
|
2495
|
-
/** Filter by the object’s `keywords` field. */
|
|
2496
|
-
keywords?: StringListFilter;
|
|
2497
|
-
/** Filter by the object’s `isActive` field. */
|
|
2498
|
-
isActive?: BooleanFilter;
|
|
2499
|
-
/** Filter by the object’s `metadata` field. */
|
|
2500
|
-
metadata?: JSONFilter;
|
|
2501
|
-
/** Filter by the object’s `isArchived` field. */
|
|
2502
|
-
isArchived?: BooleanFilter;
|
|
2503
|
-
/** Filter by the object’s `archivedAt` field. */
|
|
2504
|
-
archivedAt?: DatetimeFilter;
|
|
2505
|
-
/** Filter by the object’s `search` field. */
|
|
2506
|
-
search?: FullTextFilter;
|
|
2507
2474
|
/** Filter by the object’s `embedding` field. */
|
|
2508
2475
|
embedding?: VectorFilter;
|
|
2509
2476
|
/** Filter by the object’s `embeddingUpdatedAt` field. */
|
|
2510
2477
|
embeddingUpdatedAt?: DatetimeFilter;
|
|
2511
|
-
/**
|
|
2512
|
-
|
|
2513
|
-
/**
|
|
2514
|
-
|
|
2478
|
+
/** Filter by the object’s `id` field. */
|
|
2479
|
+
id?: UUIDFilter;
|
|
2480
|
+
/** Filter by the object’s `isActive` field. */
|
|
2481
|
+
isActive?: BooleanFilter;
|
|
2482
|
+
/** Filter by the object’s `isArchived` field. */
|
|
2483
|
+
isArchived?: BooleanFilter;
|
|
2484
|
+
/** Filter by the object’s `keywords` field. */
|
|
2485
|
+
keywords?: StringListFilter;
|
|
2486
|
+
/** Filter by the object’s `kind` field. */
|
|
2487
|
+
kind?: StringTrgmFilter;
|
|
2488
|
+
/** Filter by the object’s `metadata` field. */
|
|
2489
|
+
metadata?: JSONFilter;
|
|
2515
2490
|
/** Negates the expression. */
|
|
2516
2491
|
not?: AgentResourceFilter;
|
|
2517
|
-
/**
|
|
2518
|
-
|
|
2519
|
-
/** `
|
|
2520
|
-
|
|
2521
|
-
/**
|
|
2522
|
-
|
|
2523
|
-
/**
|
|
2524
|
-
|
|
2492
|
+
/** Checks for any expressions in this list. */
|
|
2493
|
+
or?: AgentResourceFilter[];
|
|
2494
|
+
/** Filter by the object’s `search` field. */
|
|
2495
|
+
search?: FullTextFilter;
|
|
2496
|
+
/** Filter by the object’s `slug` field. */
|
|
2497
|
+
slug?: StringTrgmFilter;
|
|
2498
|
+
/** Filter by the object’s `title` field. */
|
|
2499
|
+
title?: StringTrgmFilter;
|
|
2500
|
+
/** TRGM search on the `body` column. */
|
|
2501
|
+
trgmBody?: TrgmSearchInput;
|
|
2502
|
+
/** TRGM search on the `description` column. */
|
|
2503
|
+
trgmDescription?: TrgmSearchInput;
|
|
2525
2504
|
/** TRGM search on the `kind` column. */
|
|
2526
2505
|
trgmKind?: TrgmSearchInput;
|
|
2527
2506
|
/** TRGM search on the `title` column. */
|
|
2528
2507
|
trgmTitle?: TrgmSearchInput;
|
|
2529
|
-
/**
|
|
2530
|
-
|
|
2531
|
-
/** TRGM search on the `body` column. */
|
|
2532
|
-
trgmBody?: TrgmSearchInput;
|
|
2508
|
+
/** TSV search on the `search` column. */
|
|
2509
|
+
tsvSearch?: string;
|
|
2533
2510
|
/**
|
|
2534
2511
|
* Composite unified search. Provide a search string and it will be dispatched to
|
|
2535
2512
|
* all text-compatible search algorithms (tsvector, BM25, pg_trgm)
|
|
@@ -2538,464 +2515,475 @@ export interface AgentResourceFilter {
|
|
|
2538
2515
|
* fields are populated.
|
|
2539
2516
|
*/
|
|
2540
2517
|
unifiedSearch?: string;
|
|
2518
|
+
/** Filter by the object’s `updatedAt` field. */
|
|
2519
|
+
updatedAt?: DatetimeFilter;
|
|
2520
|
+
/** Filter by the object’s `updatedBy` field. */
|
|
2521
|
+
updatedBy?: UUIDFilter;
|
|
2522
|
+
/** VECTOR search on the `embedding` column. */
|
|
2523
|
+
vectorEmbedding?: VectorNearbyInput;
|
|
2541
2524
|
}
|
|
2542
|
-
/** A filter to be used against
|
|
2543
|
-
export interface
|
|
2525
|
+
/** A filter to be used against Vector fields. All fields are combined with a logical ‘and.’ */
|
|
2526
|
+
export interface VectorFilter {
|
|
2527
|
+
/** Not equal to the specified value, treating null like an ordinary value. */
|
|
2528
|
+
distinctFrom?: number[];
|
|
2529
|
+
/** Equal to the specified value. */
|
|
2530
|
+
equalTo?: number[];
|
|
2531
|
+
/** Included in the specified list. */
|
|
2532
|
+
in?: number[][];
|
|
2544
2533
|
/** Is null (if `true` is specified) or is not null (if `false` is specified). */
|
|
2545
2534
|
isNull?: boolean;
|
|
2546
|
-
/** Equal to the specified value. */
|
|
2547
|
-
|
|
2535
|
+
/** Equal to the specified value, treating null like an ordinary value. */
|
|
2536
|
+
notDistinctFrom?: number[];
|
|
2548
2537
|
/** Not equal to the specified value. */
|
|
2549
|
-
notEqualTo?:
|
|
2538
|
+
notEqualTo?: number[];
|
|
2539
|
+
/** Not included in the specified list. */
|
|
2540
|
+
notIn?: number[][];
|
|
2541
|
+
}
|
|
2542
|
+
/** A filter to be used against FullText fields. All fields are combined with a logical ‘and.’ */
|
|
2543
|
+
export interface FullTextFilter {
|
|
2550
2544
|
/** Not equal to the specified value, treating null like an ordinary value. */
|
|
2551
2545
|
distinctFrom?: string;
|
|
2552
|
-
/** Equal to the specified value
|
|
2553
|
-
|
|
2546
|
+
/** Equal to the specified value. */
|
|
2547
|
+
equalTo?: string;
|
|
2554
2548
|
/** Included in the specified list. */
|
|
2555
2549
|
in?: string[];
|
|
2556
|
-
/**
|
|
2557
|
-
|
|
2550
|
+
/** Is null (if `true` is specified) or is not null (if `false` is specified). */
|
|
2551
|
+
isNull?: boolean;
|
|
2558
2552
|
/** Performs a full text search on the field. */
|
|
2559
2553
|
matches?: string;
|
|
2554
|
+
/** Equal to the specified value, treating null like an ordinary value. */
|
|
2555
|
+
notDistinctFrom?: string;
|
|
2556
|
+
/** Not equal to the specified value. */
|
|
2557
|
+
notEqualTo?: string;
|
|
2558
|
+
/** Not included in the specified list. */
|
|
2559
|
+
notIn?: string[];
|
|
2560
2560
|
}
|
|
2561
2561
|
export interface ProvisionBucketPayload {
|
|
2562
|
-
/** Whether provisioning succeeded */
|
|
2563
|
-
success: boolean;
|
|
2564
|
-
/** The S3 bucket name that was provisioned */
|
|
2565
|
-
bucketName: string;
|
|
2566
2562
|
/** The access type applied */
|
|
2567
2563
|
accessType: string;
|
|
2568
|
-
/** The
|
|
2569
|
-
|
|
2564
|
+
/** The S3 bucket name that was provisioned */
|
|
2565
|
+
bucketName: string;
|
|
2570
2566
|
/** The S3 endpoint (null for AWS S3 default) */
|
|
2571
2567
|
endpoint?: string | null;
|
|
2572
2568
|
/** Error message if provisioning failed */
|
|
2573
2569
|
error?: string | null;
|
|
2570
|
+
/** The storage provider used */
|
|
2571
|
+
provider: string;
|
|
2572
|
+
/** Whether provisioning succeeded */
|
|
2573
|
+
success: boolean;
|
|
2574
2574
|
}
|
|
2575
2575
|
export type ProvisionBucketPayloadSelect = {
|
|
2576
|
-
success?: boolean;
|
|
2577
|
-
bucketName?: boolean;
|
|
2578
2576
|
accessType?: boolean;
|
|
2579
|
-
|
|
2577
|
+
bucketName?: boolean;
|
|
2580
2578
|
endpoint?: boolean;
|
|
2581
2579
|
error?: boolean;
|
|
2582
|
-
|
|
2583
|
-
|
|
2584
|
-
clientMutationId?: string | null;
|
|
2585
|
-
/** The `AgentPlan` that was created by this mutation. */
|
|
2586
|
-
agentPlan?: AgentPlan | null;
|
|
2587
|
-
agentPlanEdge?: AgentPlanEdge | null;
|
|
2588
|
-
}
|
|
2589
|
-
export type CreateAgentPlanPayloadSelect = {
|
|
2590
|
-
clientMutationId?: boolean;
|
|
2591
|
-
agentPlan?: {
|
|
2592
|
-
select: AgentPlanSelect;
|
|
2593
|
-
};
|
|
2594
|
-
agentPlanEdge?: {
|
|
2595
|
-
select: AgentPlanEdgeSelect;
|
|
2596
|
-
};
|
|
2597
|
-
};
|
|
2598
|
-
export interface UpdateAgentPlanPayload {
|
|
2599
|
-
clientMutationId?: string | null;
|
|
2600
|
-
/** The `AgentPlan` that was updated by this mutation. */
|
|
2601
|
-
agentPlan?: AgentPlan | null;
|
|
2602
|
-
agentPlanEdge?: AgentPlanEdge | null;
|
|
2603
|
-
}
|
|
2604
|
-
export type UpdateAgentPlanPayloadSelect = {
|
|
2605
|
-
clientMutationId?: boolean;
|
|
2606
|
-
agentPlan?: {
|
|
2607
|
-
select: AgentPlanSelect;
|
|
2608
|
-
};
|
|
2609
|
-
agentPlanEdge?: {
|
|
2610
|
-
select: AgentPlanEdgeSelect;
|
|
2611
|
-
};
|
|
2612
|
-
};
|
|
2613
|
-
export interface DeleteAgentPlanPayload {
|
|
2614
|
-
clientMutationId?: string | null;
|
|
2615
|
-
/** The `AgentPlan` that was deleted by this mutation. */
|
|
2616
|
-
agentPlan?: AgentPlan | null;
|
|
2617
|
-
agentPlanEdge?: AgentPlanEdge | null;
|
|
2618
|
-
}
|
|
2619
|
-
export type DeleteAgentPlanPayloadSelect = {
|
|
2620
|
-
clientMutationId?: boolean;
|
|
2621
|
-
agentPlan?: {
|
|
2622
|
-
select: AgentPlanSelect;
|
|
2623
|
-
};
|
|
2624
|
-
agentPlanEdge?: {
|
|
2625
|
-
select: AgentPlanEdgeSelect;
|
|
2626
|
-
};
|
|
2580
|
+
provider?: boolean;
|
|
2581
|
+
success?: boolean;
|
|
2627
2582
|
};
|
|
2628
2583
|
export interface CreateAgentPayload {
|
|
2629
|
-
clientMutationId?: string | null;
|
|
2630
2584
|
/** The `Agent` that was created by this mutation. */
|
|
2631
2585
|
agent?: Agent | null;
|
|
2632
2586
|
agentEdge?: AgentEdge | null;
|
|
2587
|
+
clientMutationId?: string | null;
|
|
2633
2588
|
}
|
|
2634
2589
|
export type CreateAgentPayloadSelect = {
|
|
2635
|
-
clientMutationId?: boolean;
|
|
2636
2590
|
agent?: {
|
|
2637
2591
|
select: AgentSelect;
|
|
2638
2592
|
};
|
|
2639
2593
|
agentEdge?: {
|
|
2640
2594
|
select: AgentEdgeSelect;
|
|
2641
2595
|
};
|
|
2596
|
+
clientMutationId?: boolean;
|
|
2642
2597
|
};
|
|
2643
2598
|
export interface UpdateAgentPayload {
|
|
2644
|
-
clientMutationId?: string | null;
|
|
2645
2599
|
/** The `Agent` that was updated by this mutation. */
|
|
2646
2600
|
agent?: Agent | null;
|
|
2647
2601
|
agentEdge?: AgentEdge | null;
|
|
2602
|
+
clientMutationId?: string | null;
|
|
2648
2603
|
}
|
|
2649
2604
|
export type UpdateAgentPayloadSelect = {
|
|
2650
|
-
clientMutationId?: boolean;
|
|
2651
2605
|
agent?: {
|
|
2652
2606
|
select: AgentSelect;
|
|
2653
2607
|
};
|
|
2654
2608
|
agentEdge?: {
|
|
2655
2609
|
select: AgentEdgeSelect;
|
|
2656
2610
|
};
|
|
2611
|
+
clientMutationId?: boolean;
|
|
2657
2612
|
};
|
|
2658
2613
|
export interface DeleteAgentPayload {
|
|
2659
|
-
clientMutationId?: string | null;
|
|
2660
2614
|
/** The `Agent` that was deleted by this mutation. */
|
|
2661
2615
|
agent?: Agent | null;
|
|
2662
2616
|
agentEdge?: AgentEdge | null;
|
|
2617
|
+
clientMutationId?: string | null;
|
|
2663
2618
|
}
|
|
2664
2619
|
export type DeleteAgentPayloadSelect = {
|
|
2665
|
-
clientMutationId?: boolean;
|
|
2666
2620
|
agent?: {
|
|
2667
2621
|
select: AgentSelect;
|
|
2668
2622
|
};
|
|
2669
2623
|
agentEdge?: {
|
|
2670
2624
|
select: AgentEdgeSelect;
|
|
2671
2625
|
};
|
|
2672
|
-
};
|
|
2673
|
-
export interface CreateAgentThreadPayload {
|
|
2674
|
-
clientMutationId?: string | null;
|
|
2675
|
-
/** The `AgentThread` that was created by this mutation. */
|
|
2676
|
-
agentThread?: AgentThread | null;
|
|
2677
|
-
agentThreadEdge?: AgentThreadEdge | null;
|
|
2678
|
-
}
|
|
2679
|
-
export type CreateAgentThreadPayloadSelect = {
|
|
2680
|
-
clientMutationId?: boolean;
|
|
2681
|
-
agentThread?: {
|
|
2682
|
-
select: AgentThreadSelect;
|
|
2683
|
-
};
|
|
2684
|
-
agentThreadEdge?: {
|
|
2685
|
-
select: AgentThreadEdgeSelect;
|
|
2686
|
-
};
|
|
2687
|
-
};
|
|
2688
|
-
export interface UpdateAgentThreadPayload {
|
|
2689
|
-
clientMutationId?: string | null;
|
|
2690
|
-
/** The `AgentThread` that was updated by this mutation. */
|
|
2691
|
-
agentThread?: AgentThread | null;
|
|
2692
|
-
agentThreadEdge?: AgentThreadEdge | null;
|
|
2693
|
-
}
|
|
2694
|
-
export type UpdateAgentThreadPayloadSelect = {
|
|
2695
|
-
clientMutationId?: boolean;
|
|
2696
|
-
agentThread?: {
|
|
2697
|
-
select: AgentThreadSelect;
|
|
2698
|
-
};
|
|
2699
|
-
agentThreadEdge?: {
|
|
2700
|
-
select: AgentThreadEdgeSelect;
|
|
2701
|
-
};
|
|
2702
|
-
};
|
|
2703
|
-
export interface DeleteAgentThreadPayload {
|
|
2704
|
-
clientMutationId?: string | null;
|
|
2705
|
-
/** The `AgentThread` that was deleted by this mutation. */
|
|
2706
|
-
agentThread?: AgentThread | null;
|
|
2707
|
-
agentThreadEdge?: AgentThreadEdge | null;
|
|
2708
|
-
}
|
|
2709
|
-
export type DeleteAgentThreadPayloadSelect = {
|
|
2710
2626
|
clientMutationId?: boolean;
|
|
2711
|
-
agentThread?: {
|
|
2712
|
-
select: AgentThreadSelect;
|
|
2713
|
-
};
|
|
2714
|
-
agentThreadEdge?: {
|
|
2715
|
-
select: AgentThreadEdgeSelect;
|
|
2716
|
-
};
|
|
2717
2627
|
};
|
|
2718
2628
|
export interface CreateAgentMessagePayload {
|
|
2719
|
-
clientMutationId?: string | null;
|
|
2720
2629
|
/** The `AgentMessage` that was created by this mutation. */
|
|
2721
2630
|
agentMessage?: AgentMessage | null;
|
|
2722
2631
|
agentMessageEdge?: AgentMessageEdge | null;
|
|
2632
|
+
clientMutationId?: string | null;
|
|
2723
2633
|
}
|
|
2724
2634
|
export type CreateAgentMessagePayloadSelect = {
|
|
2725
|
-
clientMutationId?: boolean;
|
|
2726
2635
|
agentMessage?: {
|
|
2727
2636
|
select: AgentMessageSelect;
|
|
2728
2637
|
};
|
|
2729
2638
|
agentMessageEdge?: {
|
|
2730
2639
|
select: AgentMessageEdgeSelect;
|
|
2731
2640
|
};
|
|
2641
|
+
clientMutationId?: boolean;
|
|
2732
2642
|
};
|
|
2733
2643
|
export interface UpdateAgentMessagePayload {
|
|
2734
|
-
clientMutationId?: string | null;
|
|
2735
2644
|
/** The `AgentMessage` that was updated by this mutation. */
|
|
2736
2645
|
agentMessage?: AgentMessage | null;
|
|
2737
2646
|
agentMessageEdge?: AgentMessageEdge | null;
|
|
2647
|
+
clientMutationId?: string | null;
|
|
2738
2648
|
}
|
|
2739
2649
|
export type UpdateAgentMessagePayloadSelect = {
|
|
2740
|
-
clientMutationId?: boolean;
|
|
2741
2650
|
agentMessage?: {
|
|
2742
2651
|
select: AgentMessageSelect;
|
|
2743
2652
|
};
|
|
2744
2653
|
agentMessageEdge?: {
|
|
2745
2654
|
select: AgentMessageEdgeSelect;
|
|
2746
2655
|
};
|
|
2656
|
+
clientMutationId?: boolean;
|
|
2747
2657
|
};
|
|
2748
2658
|
export interface DeleteAgentMessagePayload {
|
|
2749
|
-
clientMutationId?: string | null;
|
|
2750
2659
|
/** The `AgentMessage` that was deleted by this mutation. */
|
|
2751
2660
|
agentMessage?: AgentMessage | null;
|
|
2752
2661
|
agentMessageEdge?: AgentMessageEdge | null;
|
|
2662
|
+
clientMutationId?: string | null;
|
|
2753
2663
|
}
|
|
2754
2664
|
export type DeleteAgentMessagePayloadSelect = {
|
|
2755
|
-
clientMutationId?: boolean;
|
|
2756
2665
|
agentMessage?: {
|
|
2757
2666
|
select: AgentMessageSelect;
|
|
2758
2667
|
};
|
|
2759
2668
|
agentMessageEdge?: {
|
|
2760
2669
|
select: AgentMessageEdgeSelect;
|
|
2761
2670
|
};
|
|
2671
|
+
clientMutationId?: boolean;
|
|
2762
2672
|
};
|
|
2763
|
-
export interface
|
|
2673
|
+
export interface CreateAgentPersonaPayload {
|
|
2674
|
+
/** The `AgentPersona` that was created by this mutation. */
|
|
2675
|
+
agentPersona?: AgentPersona | null;
|
|
2676
|
+
agentPersonaEdge?: AgentPersonaEdge | null;
|
|
2764
2677
|
clientMutationId?: string | null;
|
|
2765
|
-
/** The `AgentTask` that was created by this mutation. */
|
|
2766
|
-
agentTask?: AgentTask | null;
|
|
2767
|
-
agentTaskEdge?: AgentTaskEdge | null;
|
|
2768
2678
|
}
|
|
2769
|
-
export type
|
|
2679
|
+
export type CreateAgentPersonaPayloadSelect = {
|
|
2680
|
+
agentPersona?: {
|
|
2681
|
+
select: AgentPersonaSelect;
|
|
2682
|
+
};
|
|
2683
|
+
agentPersonaEdge?: {
|
|
2684
|
+
select: AgentPersonaEdgeSelect;
|
|
2685
|
+
};
|
|
2770
2686
|
clientMutationId?: boolean;
|
|
2771
|
-
|
|
2772
|
-
|
|
2687
|
+
};
|
|
2688
|
+
export interface UpdateAgentPersonaPayload {
|
|
2689
|
+
/** The `AgentPersona` that was updated by this mutation. */
|
|
2690
|
+
agentPersona?: AgentPersona | null;
|
|
2691
|
+
agentPersonaEdge?: AgentPersonaEdge | null;
|
|
2692
|
+
clientMutationId?: string | null;
|
|
2693
|
+
}
|
|
2694
|
+
export type UpdateAgentPersonaPayloadSelect = {
|
|
2695
|
+
agentPersona?: {
|
|
2696
|
+
select: AgentPersonaSelect;
|
|
2773
2697
|
};
|
|
2774
|
-
|
|
2775
|
-
select:
|
|
2698
|
+
agentPersonaEdge?: {
|
|
2699
|
+
select: AgentPersonaEdgeSelect;
|
|
2776
2700
|
};
|
|
2701
|
+
clientMutationId?: boolean;
|
|
2777
2702
|
};
|
|
2778
|
-
export interface
|
|
2703
|
+
export interface DeleteAgentPersonaPayload {
|
|
2704
|
+
/** The `AgentPersona` that was deleted by this mutation. */
|
|
2705
|
+
agentPersona?: AgentPersona | null;
|
|
2706
|
+
agentPersonaEdge?: AgentPersonaEdge | null;
|
|
2779
2707
|
clientMutationId?: string | null;
|
|
2780
|
-
/** The `AgentTask` that was updated by this mutation. */
|
|
2781
|
-
agentTask?: AgentTask | null;
|
|
2782
|
-
agentTaskEdge?: AgentTaskEdge | null;
|
|
2783
2708
|
}
|
|
2784
|
-
export type
|
|
2709
|
+
export type DeleteAgentPersonaPayloadSelect = {
|
|
2710
|
+
agentPersona?: {
|
|
2711
|
+
select: AgentPersonaSelect;
|
|
2712
|
+
};
|
|
2713
|
+
agentPersonaEdge?: {
|
|
2714
|
+
select: AgentPersonaEdgeSelect;
|
|
2715
|
+
};
|
|
2785
2716
|
clientMutationId?: boolean;
|
|
2786
|
-
|
|
2787
|
-
|
|
2717
|
+
};
|
|
2718
|
+
export interface CreateAgentPlanPayload {
|
|
2719
|
+
/** The `AgentPlan` that was created by this mutation. */
|
|
2720
|
+
agentPlan?: AgentPlan | null;
|
|
2721
|
+
agentPlanEdge?: AgentPlanEdge | null;
|
|
2722
|
+
clientMutationId?: string | null;
|
|
2723
|
+
}
|
|
2724
|
+
export type CreateAgentPlanPayloadSelect = {
|
|
2725
|
+
agentPlan?: {
|
|
2726
|
+
select: AgentPlanSelect;
|
|
2788
2727
|
};
|
|
2789
|
-
|
|
2790
|
-
select:
|
|
2728
|
+
agentPlanEdge?: {
|
|
2729
|
+
select: AgentPlanEdgeSelect;
|
|
2791
2730
|
};
|
|
2731
|
+
clientMutationId?: boolean;
|
|
2792
2732
|
};
|
|
2793
|
-
export interface
|
|
2733
|
+
export interface UpdateAgentPlanPayload {
|
|
2734
|
+
/** The `AgentPlan` that was updated by this mutation. */
|
|
2735
|
+
agentPlan?: AgentPlan | null;
|
|
2736
|
+
agentPlanEdge?: AgentPlanEdge | null;
|
|
2794
2737
|
clientMutationId?: string | null;
|
|
2795
|
-
/** The `AgentTask` that was deleted by this mutation. */
|
|
2796
|
-
agentTask?: AgentTask | null;
|
|
2797
|
-
agentTaskEdge?: AgentTaskEdge | null;
|
|
2798
2738
|
}
|
|
2799
|
-
export type
|
|
2739
|
+
export type UpdateAgentPlanPayloadSelect = {
|
|
2740
|
+
agentPlan?: {
|
|
2741
|
+
select: AgentPlanSelect;
|
|
2742
|
+
};
|
|
2743
|
+
agentPlanEdge?: {
|
|
2744
|
+
select: AgentPlanEdgeSelect;
|
|
2745
|
+
};
|
|
2800
2746
|
clientMutationId?: boolean;
|
|
2801
|
-
|
|
2802
|
-
|
|
2747
|
+
};
|
|
2748
|
+
export interface DeleteAgentPlanPayload {
|
|
2749
|
+
/** The `AgentPlan` that was deleted by this mutation. */
|
|
2750
|
+
agentPlan?: AgentPlan | null;
|
|
2751
|
+
agentPlanEdge?: AgentPlanEdge | null;
|
|
2752
|
+
clientMutationId?: string | null;
|
|
2753
|
+
}
|
|
2754
|
+
export type DeleteAgentPlanPayloadSelect = {
|
|
2755
|
+
agentPlan?: {
|
|
2756
|
+
select: AgentPlanSelect;
|
|
2803
2757
|
};
|
|
2804
|
-
|
|
2805
|
-
select:
|
|
2758
|
+
agentPlanEdge?: {
|
|
2759
|
+
select: AgentPlanEdgeSelect;
|
|
2806
2760
|
};
|
|
2761
|
+
clientMutationId?: boolean;
|
|
2807
2762
|
};
|
|
2808
2763
|
export interface CreateAgentPromptPayload {
|
|
2809
|
-
clientMutationId?: string | null;
|
|
2810
2764
|
/** The `AgentPrompt` that was created by this mutation. */
|
|
2811
2765
|
agentPrompt?: AgentPrompt | null;
|
|
2812
2766
|
agentPromptEdge?: AgentPromptEdge | null;
|
|
2767
|
+
clientMutationId?: string | null;
|
|
2813
2768
|
}
|
|
2814
2769
|
export type CreateAgentPromptPayloadSelect = {
|
|
2815
|
-
clientMutationId?: boolean;
|
|
2816
2770
|
agentPrompt?: {
|
|
2817
2771
|
select: AgentPromptSelect;
|
|
2818
2772
|
};
|
|
2819
2773
|
agentPromptEdge?: {
|
|
2820
2774
|
select: AgentPromptEdgeSelect;
|
|
2821
2775
|
};
|
|
2776
|
+
clientMutationId?: boolean;
|
|
2822
2777
|
};
|
|
2823
2778
|
export interface UpdateAgentPromptPayload {
|
|
2824
|
-
clientMutationId?: string | null;
|
|
2825
2779
|
/** The `AgentPrompt` that was updated by this mutation. */
|
|
2826
2780
|
agentPrompt?: AgentPrompt | null;
|
|
2827
2781
|
agentPromptEdge?: AgentPromptEdge | null;
|
|
2782
|
+
clientMutationId?: string | null;
|
|
2828
2783
|
}
|
|
2829
2784
|
export type UpdateAgentPromptPayloadSelect = {
|
|
2830
|
-
clientMutationId?: boolean;
|
|
2831
2785
|
agentPrompt?: {
|
|
2832
2786
|
select: AgentPromptSelect;
|
|
2833
2787
|
};
|
|
2834
2788
|
agentPromptEdge?: {
|
|
2835
2789
|
select: AgentPromptEdgeSelect;
|
|
2836
2790
|
};
|
|
2791
|
+
clientMutationId?: boolean;
|
|
2837
2792
|
};
|
|
2838
2793
|
export interface DeleteAgentPromptPayload {
|
|
2839
|
-
clientMutationId?: string | null;
|
|
2840
2794
|
/** The `AgentPrompt` that was deleted by this mutation. */
|
|
2841
2795
|
agentPrompt?: AgentPrompt | null;
|
|
2842
2796
|
agentPromptEdge?: AgentPromptEdge | null;
|
|
2797
|
+
clientMutationId?: string | null;
|
|
2843
2798
|
}
|
|
2844
2799
|
export type DeleteAgentPromptPayloadSelect = {
|
|
2845
|
-
clientMutationId?: boolean;
|
|
2846
2800
|
agentPrompt?: {
|
|
2847
2801
|
select: AgentPromptSelect;
|
|
2848
2802
|
};
|
|
2849
2803
|
agentPromptEdge?: {
|
|
2850
2804
|
select: AgentPromptEdgeSelect;
|
|
2851
2805
|
};
|
|
2806
|
+
clientMutationId?: boolean;
|
|
2852
2807
|
};
|
|
2853
2808
|
export interface CreateAgentResourceChunkPayload {
|
|
2854
|
-
clientMutationId?: string | null;
|
|
2855
2809
|
/** The `AgentResourceChunk` that was created by this mutation. */
|
|
2856
2810
|
agentResourceChunk?: AgentResourceChunk | null;
|
|
2857
2811
|
agentResourceChunkEdge?: AgentResourceChunkEdge | null;
|
|
2812
|
+
clientMutationId?: string | null;
|
|
2858
2813
|
}
|
|
2859
2814
|
export type CreateAgentResourceChunkPayloadSelect = {
|
|
2860
|
-
clientMutationId?: boolean;
|
|
2861
2815
|
agentResourceChunk?: {
|
|
2862
2816
|
select: AgentResourceChunkSelect;
|
|
2863
2817
|
};
|
|
2864
2818
|
agentResourceChunkEdge?: {
|
|
2865
2819
|
select: AgentResourceChunkEdgeSelect;
|
|
2866
2820
|
};
|
|
2821
|
+
clientMutationId?: boolean;
|
|
2867
2822
|
};
|
|
2868
2823
|
export interface UpdateAgentResourceChunkPayload {
|
|
2869
|
-
clientMutationId?: string | null;
|
|
2870
2824
|
/** The `AgentResourceChunk` that was updated by this mutation. */
|
|
2871
2825
|
agentResourceChunk?: AgentResourceChunk | null;
|
|
2872
2826
|
agentResourceChunkEdge?: AgentResourceChunkEdge | null;
|
|
2827
|
+
clientMutationId?: string | null;
|
|
2873
2828
|
}
|
|
2874
2829
|
export type UpdateAgentResourceChunkPayloadSelect = {
|
|
2875
|
-
clientMutationId?: boolean;
|
|
2876
2830
|
agentResourceChunk?: {
|
|
2877
2831
|
select: AgentResourceChunkSelect;
|
|
2878
2832
|
};
|
|
2879
2833
|
agentResourceChunkEdge?: {
|
|
2880
2834
|
select: AgentResourceChunkEdgeSelect;
|
|
2881
2835
|
};
|
|
2836
|
+
clientMutationId?: boolean;
|
|
2882
2837
|
};
|
|
2883
2838
|
export interface DeleteAgentResourceChunkPayload {
|
|
2884
|
-
clientMutationId?: string | null;
|
|
2885
2839
|
/** The `AgentResourceChunk` that was deleted by this mutation. */
|
|
2886
2840
|
agentResourceChunk?: AgentResourceChunk | null;
|
|
2887
2841
|
agentResourceChunkEdge?: AgentResourceChunkEdge | null;
|
|
2842
|
+
clientMutationId?: string | null;
|
|
2888
2843
|
}
|
|
2889
2844
|
export type DeleteAgentResourceChunkPayloadSelect = {
|
|
2890
|
-
clientMutationId?: boolean;
|
|
2891
2845
|
agentResourceChunk?: {
|
|
2892
2846
|
select: AgentResourceChunkSelect;
|
|
2893
2847
|
};
|
|
2894
2848
|
agentResourceChunkEdge?: {
|
|
2895
2849
|
select: AgentResourceChunkEdgeSelect;
|
|
2896
2850
|
};
|
|
2897
|
-
};
|
|
2898
|
-
export interface CreateAgentPersonaPayload {
|
|
2899
|
-
clientMutationId?: string | null;
|
|
2900
|
-
/** The `AgentPersona` that was created by this mutation. */
|
|
2901
|
-
agentPersona?: AgentPersona | null;
|
|
2902
|
-
agentPersonaEdge?: AgentPersonaEdge | null;
|
|
2903
|
-
}
|
|
2904
|
-
export type CreateAgentPersonaPayloadSelect = {
|
|
2905
|
-
clientMutationId?: boolean;
|
|
2906
|
-
agentPersona?: {
|
|
2907
|
-
select: AgentPersonaSelect;
|
|
2908
|
-
};
|
|
2909
|
-
agentPersonaEdge?: {
|
|
2910
|
-
select: AgentPersonaEdgeSelect;
|
|
2911
|
-
};
|
|
2912
|
-
};
|
|
2913
|
-
export interface UpdateAgentPersonaPayload {
|
|
2914
|
-
clientMutationId?: string | null;
|
|
2915
|
-
/** The `AgentPersona` that was updated by this mutation. */
|
|
2916
|
-
agentPersona?: AgentPersona | null;
|
|
2917
|
-
agentPersonaEdge?: AgentPersonaEdge | null;
|
|
2918
|
-
}
|
|
2919
|
-
export type UpdateAgentPersonaPayloadSelect = {
|
|
2920
|
-
clientMutationId?: boolean;
|
|
2921
|
-
agentPersona?: {
|
|
2922
|
-
select: AgentPersonaSelect;
|
|
2923
|
-
};
|
|
2924
|
-
agentPersonaEdge?: {
|
|
2925
|
-
select: AgentPersonaEdgeSelect;
|
|
2926
|
-
};
|
|
2927
|
-
};
|
|
2928
|
-
export interface DeleteAgentPersonaPayload {
|
|
2929
|
-
clientMutationId?: string | null;
|
|
2930
|
-
/** The `AgentPersona` that was deleted by this mutation. */
|
|
2931
|
-
agentPersona?: AgentPersona | null;
|
|
2932
|
-
agentPersonaEdge?: AgentPersonaEdge | null;
|
|
2933
|
-
}
|
|
2934
|
-
export type DeleteAgentPersonaPayloadSelect = {
|
|
2935
2851
|
clientMutationId?: boolean;
|
|
2936
|
-
agentPersona?: {
|
|
2937
|
-
select: AgentPersonaSelect;
|
|
2938
|
-
};
|
|
2939
|
-
agentPersonaEdge?: {
|
|
2940
|
-
select: AgentPersonaEdgeSelect;
|
|
2941
|
-
};
|
|
2942
2852
|
};
|
|
2943
2853
|
export interface CreateAgentResourcePayload {
|
|
2944
|
-
clientMutationId?: string | null;
|
|
2945
2854
|
/** The `AgentResource` that was created by this mutation. */
|
|
2946
2855
|
agentResource?: AgentResource | null;
|
|
2947
2856
|
agentResourceEdge?: AgentResourceEdge | null;
|
|
2857
|
+
clientMutationId?: string | null;
|
|
2948
2858
|
}
|
|
2949
2859
|
export type CreateAgentResourcePayloadSelect = {
|
|
2950
|
-
clientMutationId?: boolean;
|
|
2951
2860
|
agentResource?: {
|
|
2952
2861
|
select: AgentResourceSelect;
|
|
2953
2862
|
};
|
|
2954
2863
|
agentResourceEdge?: {
|
|
2955
2864
|
select: AgentResourceEdgeSelect;
|
|
2956
2865
|
};
|
|
2866
|
+
clientMutationId?: boolean;
|
|
2957
2867
|
};
|
|
2958
2868
|
export interface UpdateAgentResourcePayload {
|
|
2959
|
-
clientMutationId?: string | null;
|
|
2960
2869
|
/** The `AgentResource` that was updated by this mutation. */
|
|
2961
2870
|
agentResource?: AgentResource | null;
|
|
2962
2871
|
agentResourceEdge?: AgentResourceEdge | null;
|
|
2872
|
+
clientMutationId?: string | null;
|
|
2963
2873
|
}
|
|
2964
2874
|
export type UpdateAgentResourcePayloadSelect = {
|
|
2965
|
-
clientMutationId?: boolean;
|
|
2966
2875
|
agentResource?: {
|
|
2967
2876
|
select: AgentResourceSelect;
|
|
2968
2877
|
};
|
|
2969
2878
|
agentResourceEdge?: {
|
|
2970
2879
|
select: AgentResourceEdgeSelect;
|
|
2971
2880
|
};
|
|
2881
|
+
clientMutationId?: boolean;
|
|
2972
2882
|
};
|
|
2973
2883
|
export interface DeleteAgentResourcePayload {
|
|
2974
|
-
clientMutationId?: string | null;
|
|
2975
2884
|
/** The `AgentResource` that was deleted by this mutation. */
|
|
2976
2885
|
agentResource?: AgentResource | null;
|
|
2977
2886
|
agentResourceEdge?: AgentResourceEdge | null;
|
|
2887
|
+
clientMutationId?: string | null;
|
|
2978
2888
|
}
|
|
2979
2889
|
export type DeleteAgentResourcePayloadSelect = {
|
|
2980
|
-
clientMutationId?: boolean;
|
|
2981
2890
|
agentResource?: {
|
|
2982
2891
|
select: AgentResourceSelect;
|
|
2983
2892
|
};
|
|
2984
2893
|
agentResourceEdge?: {
|
|
2985
2894
|
select: AgentResourceEdgeSelect;
|
|
2986
2895
|
};
|
|
2896
|
+
clientMutationId?: boolean;
|
|
2987
2897
|
};
|
|
2988
|
-
|
|
2989
|
-
|
|
2990
|
-
|
|
2991
|
-
|
|
2992
|
-
|
|
2898
|
+
export interface CreateAgentTaskPayload {
|
|
2899
|
+
/** The `AgentTask` that was created by this mutation. */
|
|
2900
|
+
agentTask?: AgentTask | null;
|
|
2901
|
+
agentTaskEdge?: AgentTaskEdge | null;
|
|
2902
|
+
clientMutationId?: string | null;
|
|
2993
2903
|
}
|
|
2994
|
-
export type
|
|
2995
|
-
|
|
2996
|
-
|
|
2997
|
-
|
|
2904
|
+
export type CreateAgentTaskPayloadSelect = {
|
|
2905
|
+
agentTask?: {
|
|
2906
|
+
select: AgentTaskSelect;
|
|
2907
|
+
};
|
|
2908
|
+
agentTaskEdge?: {
|
|
2909
|
+
select: AgentTaskEdgeSelect;
|
|
2910
|
+
};
|
|
2911
|
+
clientMutationId?: boolean;
|
|
2912
|
+
};
|
|
2913
|
+
export interface UpdateAgentTaskPayload {
|
|
2914
|
+
/** The `AgentTask` that was updated by this mutation. */
|
|
2915
|
+
agentTask?: AgentTask | null;
|
|
2916
|
+
agentTaskEdge?: AgentTaskEdge | null;
|
|
2917
|
+
clientMutationId?: string | null;
|
|
2918
|
+
}
|
|
2919
|
+
export type UpdateAgentTaskPayloadSelect = {
|
|
2920
|
+
agentTask?: {
|
|
2921
|
+
select: AgentTaskSelect;
|
|
2922
|
+
};
|
|
2923
|
+
agentTaskEdge?: {
|
|
2924
|
+
select: AgentTaskEdgeSelect;
|
|
2925
|
+
};
|
|
2926
|
+
clientMutationId?: boolean;
|
|
2927
|
+
};
|
|
2928
|
+
export interface DeleteAgentTaskPayload {
|
|
2929
|
+
/** The `AgentTask` that was deleted by this mutation. */
|
|
2930
|
+
agentTask?: AgentTask | null;
|
|
2931
|
+
agentTaskEdge?: AgentTaskEdge | null;
|
|
2932
|
+
clientMutationId?: string | null;
|
|
2933
|
+
}
|
|
2934
|
+
export type DeleteAgentTaskPayloadSelect = {
|
|
2935
|
+
agentTask?: {
|
|
2936
|
+
select: AgentTaskSelect;
|
|
2937
|
+
};
|
|
2938
|
+
agentTaskEdge?: {
|
|
2939
|
+
select: AgentTaskEdgeSelect;
|
|
2940
|
+
};
|
|
2941
|
+
clientMutationId?: boolean;
|
|
2942
|
+
};
|
|
2943
|
+
export interface CreateAgentThreadPayload {
|
|
2944
|
+
/** The `AgentThread` that was created by this mutation. */
|
|
2945
|
+
agentThread?: AgentThread | null;
|
|
2946
|
+
agentThreadEdge?: AgentThreadEdge | null;
|
|
2947
|
+
clientMutationId?: string | null;
|
|
2948
|
+
}
|
|
2949
|
+
export type CreateAgentThreadPayloadSelect = {
|
|
2950
|
+
agentThread?: {
|
|
2951
|
+
select: AgentThreadSelect;
|
|
2952
|
+
};
|
|
2953
|
+
agentThreadEdge?: {
|
|
2954
|
+
select: AgentThreadEdgeSelect;
|
|
2955
|
+
};
|
|
2956
|
+
clientMutationId?: boolean;
|
|
2957
|
+
};
|
|
2958
|
+
export interface UpdateAgentThreadPayload {
|
|
2959
|
+
/** The `AgentThread` that was updated by this mutation. */
|
|
2960
|
+
agentThread?: AgentThread | null;
|
|
2961
|
+
agentThreadEdge?: AgentThreadEdge | null;
|
|
2962
|
+
clientMutationId?: string | null;
|
|
2963
|
+
}
|
|
2964
|
+
export type UpdateAgentThreadPayloadSelect = {
|
|
2965
|
+
agentThread?: {
|
|
2966
|
+
select: AgentThreadSelect;
|
|
2967
|
+
};
|
|
2968
|
+
agentThreadEdge?: {
|
|
2969
|
+
select: AgentThreadEdgeSelect;
|
|
2970
|
+
};
|
|
2971
|
+
clientMutationId?: boolean;
|
|
2972
|
+
};
|
|
2973
|
+
export interface DeleteAgentThreadPayload {
|
|
2974
|
+
/** The `AgentThread` that was deleted by this mutation. */
|
|
2975
|
+
agentThread?: AgentThread | null;
|
|
2976
|
+
agentThreadEdge?: AgentThreadEdge | null;
|
|
2977
|
+
clientMutationId?: string | null;
|
|
2978
|
+
}
|
|
2979
|
+
export type DeleteAgentThreadPayloadSelect = {
|
|
2980
|
+
agentThread?: {
|
|
2981
|
+
select: AgentThreadSelect;
|
|
2998
2982
|
};
|
|
2983
|
+
agentThreadEdge?: {
|
|
2984
|
+
select: AgentThreadEdgeSelect;
|
|
2985
|
+
};
|
|
2986
|
+
clientMutationId?: boolean;
|
|
2999
2987
|
};
|
|
3000
2988
|
/** A `Agent` edge in the connection. */
|
|
3001
2989
|
export interface AgentEdge {
|
|
@@ -3009,18 +2997,6 @@ export type AgentEdgeSelect = {
|
|
|
3009
2997
|
select: AgentSelect;
|
|
3010
2998
|
};
|
|
3011
2999
|
};
|
|
3012
|
-
/** A `AgentThread` edge in the connection. */
|
|
3013
|
-
export interface AgentThreadEdge {
|
|
3014
|
-
cursor?: string | null;
|
|
3015
|
-
/** The `AgentThread` at the end of the edge. */
|
|
3016
|
-
node?: AgentThread | null;
|
|
3017
|
-
}
|
|
3018
|
-
export type AgentThreadEdgeSelect = {
|
|
3019
|
-
cursor?: boolean;
|
|
3020
|
-
node?: {
|
|
3021
|
-
select: AgentThreadSelect;
|
|
3022
|
-
};
|
|
3023
|
-
};
|
|
3024
3000
|
/** A `AgentMessage` edge in the connection. */
|
|
3025
3001
|
export interface AgentMessageEdge {
|
|
3026
3002
|
cursor?: string | null;
|
|
@@ -3033,16 +3009,28 @@ export type AgentMessageEdgeSelect = {
|
|
|
3033
3009
|
select: AgentMessageSelect;
|
|
3034
3010
|
};
|
|
3035
3011
|
};
|
|
3036
|
-
/** A `
|
|
3037
|
-
export interface
|
|
3012
|
+
/** A `AgentPersona` edge in the connection. */
|
|
3013
|
+
export interface AgentPersonaEdge {
|
|
3038
3014
|
cursor?: string | null;
|
|
3039
|
-
/** The `
|
|
3040
|
-
node?:
|
|
3015
|
+
/** The `AgentPersona` at the end of the edge. */
|
|
3016
|
+
node?: AgentPersona | null;
|
|
3041
3017
|
}
|
|
3042
|
-
export type
|
|
3018
|
+
export type AgentPersonaEdgeSelect = {
|
|
3043
3019
|
cursor?: boolean;
|
|
3044
3020
|
node?: {
|
|
3045
|
-
select:
|
|
3021
|
+
select: AgentPersonaSelect;
|
|
3022
|
+
};
|
|
3023
|
+
};
|
|
3024
|
+
/** A `AgentPlan` edge in the connection. */
|
|
3025
|
+
export interface AgentPlanEdge {
|
|
3026
|
+
cursor?: string | null;
|
|
3027
|
+
/** The `AgentPlan` at the end of the edge. */
|
|
3028
|
+
node?: AgentPlan | null;
|
|
3029
|
+
}
|
|
3030
|
+
export type AgentPlanEdgeSelect = {
|
|
3031
|
+
cursor?: boolean;
|
|
3032
|
+
node?: {
|
|
3033
|
+
select: AgentPlanSelect;
|
|
3046
3034
|
};
|
|
3047
3035
|
};
|
|
3048
3036
|
/** A `AgentPrompt` edge in the connection. */
|
|
@@ -3069,18 +3057,6 @@ export type AgentResourceChunkEdgeSelect = {
|
|
|
3069
3057
|
select: AgentResourceChunkSelect;
|
|
3070
3058
|
};
|
|
3071
3059
|
};
|
|
3072
|
-
/** A `AgentPersona` edge in the connection. */
|
|
3073
|
-
export interface AgentPersonaEdge {
|
|
3074
|
-
cursor?: string | null;
|
|
3075
|
-
/** The `AgentPersona` at the end of the edge. */
|
|
3076
|
-
node?: AgentPersona | null;
|
|
3077
|
-
}
|
|
3078
|
-
export type AgentPersonaEdgeSelect = {
|
|
3079
|
-
cursor?: boolean;
|
|
3080
|
-
node?: {
|
|
3081
|
-
select: AgentPersonaSelect;
|
|
3082
|
-
};
|
|
3083
|
-
};
|
|
3084
3060
|
/** A `AgentResource` edge in the connection. */
|
|
3085
3061
|
export interface AgentResourceEdge {
|
|
3086
3062
|
cursor?: string | null;
|
|
@@ -3093,3 +3069,27 @@ export type AgentResourceEdgeSelect = {
|
|
|
3093
3069
|
select: AgentResourceSelect;
|
|
3094
3070
|
};
|
|
3095
3071
|
};
|
|
3072
|
+
/** A `AgentTask` edge in the connection. */
|
|
3073
|
+
export interface AgentTaskEdge {
|
|
3074
|
+
cursor?: string | null;
|
|
3075
|
+
/** The `AgentTask` at the end of the edge. */
|
|
3076
|
+
node?: AgentTask | null;
|
|
3077
|
+
}
|
|
3078
|
+
export type AgentTaskEdgeSelect = {
|
|
3079
|
+
cursor?: boolean;
|
|
3080
|
+
node?: {
|
|
3081
|
+
select: AgentTaskSelect;
|
|
3082
|
+
};
|
|
3083
|
+
};
|
|
3084
|
+
/** A `AgentThread` edge in the connection. */
|
|
3085
|
+
export interface AgentThreadEdge {
|
|
3086
|
+
cursor?: string | null;
|
|
3087
|
+
/** The `AgentThread` at the end of the edge. */
|
|
3088
|
+
node?: AgentThread | null;
|
|
3089
|
+
}
|
|
3090
|
+
export type AgentThreadEdgeSelect = {
|
|
3091
|
+
cursor?: boolean;
|
|
3092
|
+
node?: {
|
|
3093
|
+
select: AgentThreadSelect;
|
|
3094
|
+
};
|
|
3095
|
+
};
|