@constructive-io/react 1.21.34 → 1.21.36
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/mutations/index.d.ts +0 -4
- package/admin/hooks/mutations/index.js +0 -4
- package/admin/orm/input-types.d.ts +32 -32
- package/admin/orm/models/myPendingAppInvitesRecord.d.ts +2 -9
- package/admin/orm/models/myPendingAppInvitesRecord.js +0 -11
- package/admin/orm/models/myPendingOrgInvitesRecord.d.ts +2 -9
- package/admin/orm/models/myPendingOrgInvitesRecord.js +0 -11
- package/admin/orm/models/orgGetManagersRecord.d.ts +2 -9
- package/admin/orm/models/orgGetManagersRecord.js +0 -11
- package/admin/orm/models/orgGetSubordinatesRecord.d.ts +2 -9
- package/admin/orm/models/orgGetSubordinatesRecord.js +0 -11
- package/admin/orm/query-builder.js +1 -3
- package/admin/orm/select-types.d.ts +1 -1
- package/admin/schema-types.d.ts +54 -19
- package/admin/types.d.ts +3 -0
- package/agent/orm/input-types.d.ts +36 -8
- package/agent/orm/query-builder.js +1 -3
- package/agent/orm/select-types.d.ts +1 -1
- package/agent/schema-types.d.ts +76 -29
- package/agent/types.d.ts +4 -0
- package/api/hooks/index.d.ts +1 -1
- package/api/hooks/index.js +1 -1
- package/api/hooks/invalidation.d.ts +6 -0
- package/api/hooks/invalidation.js +16 -0
- package/api/hooks/mutation-keys.d.ts +12 -0
- package/api/hooks/mutation-keys.js +12 -2
- package/api/hooks/mutations/index.d.ts +3 -5
- package/api/hooks/mutations/index.js +3 -5
- package/api/hooks/mutations/useCreatePlatformReservedSubdomainMutation.d.ts +34 -0
- package/{admin/hooks/mutations/useCreateMyPendingAppInvitesRecordMutation.js → api/hooks/mutations/useCreatePlatformReservedSubdomainMutation.js} +6 -6
- package/api/hooks/mutations/useDeletePlatformReservedSubdomainMutation.d.ts +38 -0
- package/api/hooks/mutations/useDeletePlatformReservedSubdomainMutation.js +39 -0
- package/api/hooks/mutations/useUpdatePlatformReservedSubdomainMutation.d.ts +40 -0
- package/api/hooks/mutations/useUpdatePlatformReservedSubdomainMutation.js +40 -0
- package/api/hooks/queries/index.d.ts +2 -4
- package/api/hooks/queries/index.js +2 -4
- package/api/hooks/queries/usePlatformReservedSubdomainQuery.d.ts +65 -0
- package/api/hooks/queries/usePlatformReservedSubdomainQuery.js +53 -0
- package/api/hooks/queries/usePlatformReservedSubdomainsQuery.d.ts +69 -0
- package/api/hooks/queries/usePlatformReservedSubdomainsQuery.js +38 -0
- package/api/hooks/query-keys.d.ts +14 -8
- package/api/hooks/query-keys.js +10 -6
- package/api/orm/index.d.ts +2 -20
- package/api/orm/index.js +2 -0
- package/api/orm/input-types.d.ts +281 -159
- package/api/orm/models/astMigration.d.ts +2 -9
- package/api/orm/models/astMigration.js +0 -11
- package/api/orm/models/getSitePreviewsRecord.d.ts +2 -9
- package/api/orm/models/getSitePreviewsRecord.js +0 -11
- package/api/orm/models/index.d.ts +1 -0
- package/api/orm/models/index.js +4 -2
- package/api/orm/models/listSuspendedDatabasesRecord.d.ts +2 -9
- package/api/orm/models/listSuspendedDatabasesRecord.js +0 -11
- package/api/orm/models/platformGetSitePreviewsRecord.d.ts +2 -9
- package/api/orm/models/platformGetSitePreviewsRecord.js +0 -11
- package/api/orm/models/platformReservedSubdomain.d.ts +54 -0
- package/api/orm/models/platformReservedSubdomain.js +104 -0
- package/api/orm/models/sqlAction.d.ts +2 -9
- package/api/orm/models/sqlAction.js +0 -11
- package/api/orm/query/index.d.ts +0 -37
- package/api/orm/query/index.js +0 -60
- package/api/orm/query-builder.js +1 -3
- package/api/orm/select-types.d.ts +1 -1
- package/api/schema-types.d.ts +161 -88
- package/api/types.d.ts +29 -5
- package/auth/hooks/mutation-keys.d.ts +12 -0
- package/auth/hooks/mutation-keys.js +18 -0
- package/auth/hooks/mutations/index.d.ts +6 -6
- package/auth/hooks/mutations/index.js +6 -6
- package/auth/hooks/mutations/useCancelSignUpHandoffMutation.d.ts +20 -0
- package/{api/hooks/mutations/useCreateSqlActionMutation.js → auth/hooks/mutations/useCancelSignUpHandoffMutation.js} +6 -14
- package/auth/hooks/mutations/useCreatePrincipalMutation.d.ts +12 -26
- package/auth/hooks/mutations/useCreatePrincipalMutation.js +4 -12
- package/auth/hooks/mutations/useEnsureAuthCsrfMutation.d.ts +20 -0
- package/{api/hooks/mutations/useCreateAstMigrationMutation.js → auth/hooks/mutations/useEnsureAuthCsrfMutation.js} +6 -14
- package/auth/hooks/mutations/useExchangeNativeHandoffMutation.d.ts +20 -0
- package/{storage/hooks/mutations/useCreateFileMutation.js → auth/hooks/mutations/useExchangeNativeHandoffMutation.js} +6 -14
- package/auth/hooks/mutations/useRequestDeviceApprovalMutation.d.ts +20 -0
- package/auth/hooks/mutations/useRequestDeviceApprovalMutation.js +26 -0
- package/auth/hooks/mutations/useVerifyEmailHandoffMutation.d.ts +20 -0
- package/{config/hooks/mutations/useCreateSecretMutation.js → auth/hooks/mutations/useVerifyEmailHandoffMutation.js} +6 -14
- package/auth/hooks/queries/index.d.ts +1 -0
- package/auth/hooks/queries/index.js +1 -0
- package/auth/hooks/queries/useSignInOptionsQuery.d.ts +60 -0
- package/{api/hooks/queries/useResolveRouteQuery.js → auth/hooks/queries/useSignInOptionsQuery.js} +15 -19
- package/auth/hooks/query-keys.d.ts +2 -0
- package/auth/hooks/query-keys.js +1 -0
- package/auth/orm/index.d.ts +35 -0
- package/auth/orm/input-types.d.ts +202 -78
- package/auth/orm/models/identityProvider.d.ts +2 -9
- package/auth/orm/models/identityProvider.js +0 -11
- package/auth/orm/models/orgApiKeyList.d.ts +2 -9
- package/auth/orm/models/orgApiKeyList.js +0 -11
- package/auth/orm/models/principal.d.ts +2 -9
- package/auth/orm/models/principal.js +0 -11
- package/auth/orm/models/principalEntity.d.ts +2 -9
- package/auth/orm/models/principalEntity.js +0 -11
- package/auth/orm/models/principalScopeOverride.d.ts +2 -9
- package/auth/orm/models/principalScopeOverride.js +0 -11
- package/auth/orm/models/userConnectedAccount.d.ts +2 -9
- package/auth/orm/models/userConnectedAccount.js +0 -11
- package/auth/orm/mutation/index.d.ts +53 -1
- package/auth/orm/mutation/index.js +72 -0
- package/auth/orm/query/index.d.ts +6 -1
- package/auth/orm/query/index.js +7 -0
- package/auth/orm/query-builder.js +1 -3
- package/auth/orm/select-types.d.ts +1 -1
- package/auth/schema-types.d.ts +146 -20
- package/auth/types.d.ts +3 -0
- package/compute/hooks/index.d.ts +1 -1
- package/compute/hooks/index.js +1 -1
- package/compute/hooks/invalidation.d.ts +12 -12
- package/compute/hooks/invalidation.js +32 -32
- package/compute/hooks/mutation-keys.d.ts +26 -24
- package/compute/hooks/mutation-keys.js +23 -20
- package/compute/hooks/mutations/index.d.ts +7 -24
- package/compute/hooks/mutations/index.js +7 -24
- package/compute/hooks/mutations/useCreateFunctionGraphMutation.d.ts +12 -26
- package/compute/hooks/mutations/useCreateFunctionGraphMutation.js +4 -12
- package/compute/hooks/mutations/useCreatePlatformServiceBindingMutation.d.ts +34 -0
- package/{auth/hooks/mutations/useCreatePrincipalScopeOverrideMutation.js → compute/hooks/mutations/useCreatePlatformServiceBindingMutation.js} +6 -6
- package/compute/hooks/mutations/useCreateServiceBindingMutation.d.ts +34 -0
- package/compute/hooks/mutations/{useCreateBuilderBindingMutation.js → useCreateServiceBindingMutation.js} +6 -6
- package/compute/hooks/mutations/useDeletePlatformServiceBindingMutation.d.ts +38 -0
- package/compute/hooks/mutations/{useDeletePlatformBuilderBindingMutation.js → useDeletePlatformServiceBindingMutation.js} +7 -7
- package/compute/hooks/mutations/useDeleteServiceBindingMutation.d.ts +38 -0
- package/compute/hooks/mutations/{useDeleteBuilderBindingMutation.js → useDeleteServiceBindingMutation.js} +7 -7
- package/compute/hooks/mutations/useUpdatePlatformServiceBindingMutation.d.ts +40 -0
- package/compute/hooks/mutations/{useUpdatePlatformBuilderBindingMutation.js → useUpdatePlatformServiceBindingMutation.js} +9 -9
- package/compute/hooks/mutations/useUpdateServiceBindingMutation.d.ts +40 -0
- package/compute/hooks/mutations/{useUpdateBuilderBindingMutation.js → useUpdateServiceBindingMutation.js} +9 -9
- package/compute/hooks/queries/index.d.ts +4 -4
- package/compute/hooks/queries/index.js +4 -4
- package/compute/hooks/queries/usePlatformServiceBindingQuery.d.ts +65 -0
- package/compute/hooks/queries/{usePlatformBuilderBindingQuery.js → usePlatformServiceBindingQuery.js} +14 -14
- package/compute/hooks/queries/usePlatformServiceBindingsQuery.d.ts +69 -0
- package/compute/hooks/queries/usePlatformServiceBindingsQuery.js +38 -0
- package/compute/hooks/queries/useServiceBindingQuery.d.ts +65 -0
- package/compute/hooks/queries/{useBuilderBindingQuery.js → useServiceBindingQuery.js} +14 -14
- package/compute/hooks/queries/useServiceBindingsQuery.d.ts +69 -0
- package/compute/hooks/queries/{useBuilderBindingsQuery.js → useServiceBindingsQuery.js} +14 -14
- package/compute/hooks/query-keys.d.ts +28 -28
- package/compute/hooks/query-keys.js +19 -19
- package/compute/orm/index.d.ts +9 -4
- package/compute/orm/index.js +4 -4
- package/compute/orm/input-types.d.ts +965 -1025
- package/compute/orm/input-types.js +8 -8
- package/compute/orm/models/databaseFunctionGraph.d.ts +2 -9
- package/compute/orm/models/databaseFunctionGraph.js +0 -11
- package/compute/orm/models/databaseGraphGetAllTreeNodesRecord.d.ts +2 -9
- package/compute/orm/models/databaseGraphGetAllTreeNodesRecord.js +0 -11
- package/compute/orm/models/functionGraph.d.ts +2 -9
- package/compute/orm/models/functionGraph.js +0 -11
- package/compute/orm/models/getAllTreeNodesRecord.d.ts +2 -9
- package/compute/orm/models/getAllTreeNodesRecord.js +0 -11
- package/compute/orm/models/index.d.ts +2 -2
- package/compute/orm/models/index.js +7 -7
- package/compute/orm/models/infraGetAllTreeNodesRecord.d.ts +2 -9
- package/compute/orm/models/infraGetAllTreeNodesRecord.js +0 -11
- package/compute/orm/models/platformInfraGetAllTreeNodesRecord.d.ts +2 -9
- package/compute/orm/models/platformInfraGetAllTreeNodesRecord.js +0 -11
- package/compute/orm/models/platformResourceDeclaredCapacity.d.ts +2 -9
- package/compute/orm/models/platformResourceDeclaredCapacity.js +0 -11
- package/compute/orm/models/platformResourceObservedStorage.d.ts +2 -9
- package/compute/orm/models/platformResourceObservedStorage.js +0 -11
- package/compute/orm/models/platformResourceUtilization.d.ts +2 -9
- package/compute/orm/models/platformResourceUtilization.js +0 -11
- package/compute/orm/models/platformResourcesHealth.d.ts +2 -9
- package/compute/orm/models/platformResourcesHealth.js +0 -11
- package/compute/orm/models/platformResourcesRequirementsState.d.ts +2 -9
- package/compute/orm/models/platformResourcesRequirementsState.js +0 -11
- package/compute/orm/models/platformResourcesResolvedRequirement.d.ts +2 -9
- package/compute/orm/models/platformResourcesResolvedRequirement.js +0 -11
- package/compute/orm/models/platformServiceBinding.d.ts +54 -0
- package/compute/orm/models/{platformBuilderBinding.js → platformServiceBinding.js} +27 -27
- package/compute/orm/models/resourceDeclaredCapacity.d.ts +2 -9
- package/compute/orm/models/resourceDeclaredCapacity.js +0 -11
- package/compute/orm/models/resourceObservedStorage.d.ts +2 -9
- package/compute/orm/models/resourceObservedStorage.js +0 -11
- package/compute/orm/models/resourceUtilization.d.ts +2 -9
- package/compute/orm/models/resourceUtilization.js +0 -11
- package/compute/orm/models/resourcesHealth.d.ts +2 -9
- package/compute/orm/models/resourcesHealth.js +0 -11
- package/compute/orm/models/resourcesRequirementsState.d.ts +2 -9
- package/compute/orm/models/resourcesRequirementsState.js +0 -11
- package/compute/orm/models/resourcesResolvedRequirement.d.ts +2 -9
- package/compute/orm/models/resourcesResolvedRequirement.js +0 -11
- package/compute/orm/models/serviceBinding.d.ts +54 -0
- package/compute/orm/models/{builderBinding.js → serviceBinding.js} +27 -27
- package/compute/orm/mutation/index.d.ts +9 -1
- package/compute/orm/mutation/index.js +12 -0
- package/compute/orm/query-builder.js +1 -3
- package/compute/orm/select-types.d.ts +1 -1
- package/compute/schema-types.d.ts +467 -386
- package/compute/types.d.ts +60 -33
- package/config/hooks/mutations/index.d.ts +0 -5
- package/config/hooks/mutations/index.js +0 -5
- package/config/orm/input-types.d.ts +0 -66
- package/config/orm/models/appInternalSecret.d.ts +2 -9
- package/config/orm/models/appInternalSecret.js +0 -11
- package/config/orm/models/internalSecret.d.ts +2 -9
- package/config/orm/models/internalSecret.js +0 -11
- package/config/orm/models/platformInternalSecret.d.ts +2 -9
- package/config/orm/models/platformInternalSecret.js +0 -11
- package/config/orm/models/platformSecret.d.ts +2 -9
- package/config/orm/models/platformSecret.js +0 -11
- package/config/orm/models/secret.d.ts +2 -9
- package/config/orm/models/secret.js +0 -11
- package/config/orm/query-builder.js +1 -3
- package/config/orm/select-types.d.ts +1 -1
- package/config/schema-types.d.ts +54 -17
- package/esm/admin/hooks/mutations/index.d.ts +0 -4
- package/esm/admin/hooks/mutations/index.js +0 -4
- package/esm/admin/orm/input-types.d.ts +32 -32
- package/esm/admin/orm/models/myPendingAppInvitesRecord.d.ts +2 -9
- package/esm/admin/orm/models/myPendingAppInvitesRecord.js +1 -12
- package/esm/admin/orm/models/myPendingOrgInvitesRecord.d.ts +2 -9
- package/esm/admin/orm/models/myPendingOrgInvitesRecord.js +1 -12
- package/esm/admin/orm/models/orgGetManagersRecord.d.ts +2 -9
- package/esm/admin/orm/models/orgGetManagersRecord.js +1 -12
- package/esm/admin/orm/models/orgGetSubordinatesRecord.d.ts +2 -9
- package/esm/admin/orm/models/orgGetSubordinatesRecord.js +1 -12
- package/esm/admin/orm/query-builder.js +1 -3
- package/esm/admin/orm/select-types.d.ts +1 -1
- package/esm/admin/schema-types.d.ts +54 -19
- package/esm/admin/types.d.ts +3 -0
- package/esm/agent/orm/input-types.d.ts +36 -8
- package/esm/agent/orm/query-builder.js +1 -3
- package/esm/agent/orm/select-types.d.ts +1 -1
- package/esm/agent/schema-types.d.ts +76 -29
- package/esm/agent/types.d.ts +4 -0
- package/esm/api/hooks/index.d.ts +1 -1
- package/esm/api/hooks/index.js +1 -1
- package/esm/api/hooks/invalidation.d.ts +6 -0
- package/esm/api/hooks/invalidation.js +17 -1
- package/esm/api/hooks/mutation-keys.d.ts +12 -0
- package/esm/api/hooks/mutation-keys.js +10 -0
- package/esm/api/hooks/mutations/index.d.ts +3 -5
- package/esm/api/hooks/mutations/index.js +3 -5
- package/esm/api/hooks/mutations/useCreatePlatformReservedSubdomainMutation.d.ts +34 -0
- package/esm/{admin/hooks/mutations/useCreateMyPendingOrgInvitesRecordMutation.js → api/hooks/mutations/useCreatePlatformReservedSubdomainMutation.js} +7 -7
- package/esm/api/hooks/mutations/useDeletePlatformReservedSubdomainMutation.d.ts +38 -0
- package/esm/{compute/hooks/mutations/useDeleteBuilderBindingMutation.js → api/hooks/mutations/useDeletePlatformReservedSubdomainMutation.js} +8 -8
- package/esm/api/hooks/mutations/useUpdatePlatformReservedSubdomainMutation.d.ts +40 -0
- package/esm/{compute/hooks/mutations/useUpdateBuilderBindingMutation.js → api/hooks/mutations/useUpdatePlatformReservedSubdomainMutation.js} +10 -10
- package/esm/api/hooks/queries/index.d.ts +2 -4
- package/esm/api/hooks/queries/index.js +2 -4
- package/esm/api/hooks/queries/usePlatformReservedSubdomainQuery.d.ts +65 -0
- package/esm/api/hooks/queries/usePlatformReservedSubdomainQuery.js +47 -0
- package/esm/api/hooks/queries/usePlatformReservedSubdomainsQuery.d.ts +69 -0
- package/esm/api/hooks/queries/usePlatformReservedSubdomainsQuery.js +32 -0
- package/esm/api/hooks/query-keys.d.ts +14 -8
- package/esm/api/hooks/query-keys.js +8 -4
- package/esm/api/orm/index.d.ts +2 -20
- package/esm/api/orm/index.js +2 -0
- package/esm/api/orm/input-types.d.ts +281 -159
- package/esm/api/orm/models/astMigration.d.ts +2 -9
- package/esm/api/orm/models/astMigration.js +1 -12
- package/esm/api/orm/models/getSitePreviewsRecord.d.ts +2 -9
- package/esm/api/orm/models/getSitePreviewsRecord.js +1 -12
- package/esm/api/orm/models/index.d.ts +1 -0
- package/esm/api/orm/models/index.js +1 -0
- package/esm/api/orm/models/listSuspendedDatabasesRecord.d.ts +2 -9
- package/esm/api/orm/models/listSuspendedDatabasesRecord.js +1 -12
- package/esm/api/orm/models/platformGetSitePreviewsRecord.d.ts +2 -9
- package/esm/api/orm/models/platformGetSitePreviewsRecord.js +1 -12
- package/esm/api/orm/models/platformReservedSubdomain.d.ts +54 -0
- package/esm/api/orm/models/platformReservedSubdomain.js +100 -0
- package/esm/api/orm/models/sqlAction.d.ts +2 -9
- package/esm/api/orm/models/sqlAction.js +1 -12
- package/esm/api/orm/query/index.d.ts +0 -37
- package/esm/api/orm/query/index.js +0 -60
- package/esm/api/orm/query-builder.js +1 -3
- package/esm/api/orm/select-types.d.ts +1 -1
- package/esm/api/schema-types.d.ts +161 -88
- package/esm/api/types.d.ts +29 -5
- package/esm/auth/hooks/mutation-keys.d.ts +12 -0
- package/esm/auth/hooks/mutation-keys.js +18 -0
- package/esm/auth/hooks/mutations/index.d.ts +6 -6
- package/esm/auth/hooks/mutations/index.js +6 -6
- package/esm/auth/hooks/mutations/useCancelSignUpHandoffMutation.d.ts +20 -0
- package/esm/auth/hooks/mutations/useCancelSignUpHandoffMutation.js +23 -0
- package/esm/auth/hooks/mutations/useCreatePrincipalMutation.d.ts +12 -26
- package/esm/auth/hooks/mutations/useCreatePrincipalMutation.js +6 -14
- package/esm/auth/hooks/mutations/useEnsureAuthCsrfMutation.d.ts +20 -0
- package/esm/auth/hooks/mutations/useEnsureAuthCsrfMutation.js +23 -0
- package/esm/auth/hooks/mutations/useExchangeNativeHandoffMutation.d.ts +20 -0
- package/esm/auth/hooks/mutations/useExchangeNativeHandoffMutation.js +23 -0
- package/esm/auth/hooks/mutations/useRequestDeviceApprovalMutation.d.ts +20 -0
- package/esm/auth/hooks/mutations/useRequestDeviceApprovalMutation.js +23 -0
- package/esm/auth/hooks/mutations/useVerifyEmailHandoffMutation.d.ts +20 -0
- package/esm/auth/hooks/mutations/useVerifyEmailHandoffMutation.js +23 -0
- package/esm/auth/hooks/queries/index.d.ts +1 -0
- package/esm/auth/hooks/queries/index.js +1 -0
- package/esm/auth/hooks/queries/useSignInOptionsQuery.d.ts +60 -0
- package/esm/{api/hooks/queries/useResolveRouteQuery.js → auth/hooks/queries/useSignInOptionsQuery.js} +11 -15
- package/esm/auth/hooks/query-keys.d.ts +2 -0
- package/esm/auth/hooks/query-keys.js +1 -0
- package/esm/auth/orm/index.d.ts +35 -0
- package/esm/auth/orm/input-types.d.ts +202 -78
- package/esm/auth/orm/models/identityProvider.d.ts +2 -9
- package/esm/auth/orm/models/identityProvider.js +1 -12
- package/esm/auth/orm/models/orgApiKeyList.d.ts +2 -9
- package/esm/auth/orm/models/orgApiKeyList.js +1 -12
- package/esm/auth/orm/models/principal.d.ts +2 -9
- package/esm/auth/orm/models/principal.js +1 -12
- package/esm/auth/orm/models/principalEntity.d.ts +2 -9
- package/esm/auth/orm/models/principalEntity.js +1 -12
- package/esm/auth/orm/models/principalScopeOverride.d.ts +2 -9
- package/esm/auth/orm/models/principalScopeOverride.js +1 -12
- package/esm/auth/orm/models/userConnectedAccount.d.ts +2 -9
- package/esm/auth/orm/models/userConnectedAccount.js +1 -12
- package/esm/auth/orm/mutation/index.d.ts +53 -1
- package/esm/auth/orm/mutation/index.js +72 -0
- package/esm/auth/orm/query/index.d.ts +6 -1
- package/esm/auth/orm/query/index.js +7 -0
- package/esm/auth/orm/query-builder.js +1 -3
- package/esm/auth/orm/select-types.d.ts +1 -1
- package/esm/auth/schema-types.d.ts +146 -20
- package/esm/auth/types.d.ts +3 -0
- package/esm/compute/hooks/index.d.ts +1 -1
- package/esm/compute/hooks/index.js +1 -1
- package/esm/compute/hooks/invalidation.d.ts +12 -12
- package/esm/compute/hooks/invalidation.js +33 -33
- package/esm/compute/hooks/mutation-keys.d.ts +26 -24
- package/esm/compute/hooks/mutation-keys.js +20 -17
- package/esm/compute/hooks/mutations/index.d.ts +7 -24
- package/esm/compute/hooks/mutations/index.js +7 -24
- package/esm/compute/hooks/mutations/useCreateFunctionGraphMutation.d.ts +12 -26
- package/esm/compute/hooks/mutations/useCreateFunctionGraphMutation.js +6 -14
- package/esm/compute/hooks/mutations/useCreatePlatformServiceBindingMutation.d.ts +34 -0
- package/esm/{auth/hooks/mutations/useCreatePrincipalScopeOverrideMutation.js → compute/hooks/mutations/useCreatePlatformServiceBindingMutation.js} +7 -7
- package/esm/compute/hooks/mutations/useCreateServiceBindingMutation.d.ts +34 -0
- package/esm/{api/hooks/mutations/useCreateSqlActionMutation.js → compute/hooks/mutations/useCreateServiceBindingMutation.js} +7 -7
- package/esm/compute/hooks/mutations/useDeletePlatformServiceBindingMutation.d.ts +38 -0
- package/esm/compute/hooks/mutations/{useDeletePlatformBuilderBindingMutation.js → useDeletePlatformServiceBindingMutation.js} +8 -8
- package/esm/compute/hooks/mutations/useDeleteServiceBindingMutation.d.ts +38 -0
- package/esm/compute/hooks/mutations/useDeleteServiceBindingMutation.js +36 -0
- package/esm/compute/hooks/mutations/useUpdatePlatformServiceBindingMutation.d.ts +40 -0
- package/esm/compute/hooks/mutations/{useUpdatePlatformBuilderBindingMutation.js → useUpdatePlatformServiceBindingMutation.js} +10 -10
- package/esm/compute/hooks/mutations/useUpdateServiceBindingMutation.d.ts +40 -0
- package/esm/compute/hooks/mutations/useUpdateServiceBindingMutation.js +37 -0
- package/esm/compute/hooks/queries/index.d.ts +4 -4
- package/esm/compute/hooks/queries/index.js +4 -4
- package/esm/compute/hooks/queries/usePlatformServiceBindingQuery.d.ts +65 -0
- package/esm/compute/hooks/queries/{usePlatformBuilderBindingQuery.js → usePlatformServiceBindingQuery.js} +11 -11
- package/esm/compute/hooks/queries/usePlatformServiceBindingsQuery.d.ts +69 -0
- package/esm/compute/hooks/queries/usePlatformServiceBindingsQuery.js +32 -0
- package/esm/compute/hooks/queries/useServiceBindingQuery.d.ts +65 -0
- package/esm/compute/hooks/queries/{useBuilderBindingQuery.js → useServiceBindingQuery.js} +11 -11
- package/esm/compute/hooks/queries/useServiceBindingsQuery.d.ts +69 -0
- package/esm/compute/hooks/queries/useServiceBindingsQuery.js +32 -0
- package/esm/compute/hooks/query-keys.d.ts +28 -28
- package/esm/compute/hooks/query-keys.js +16 -16
- package/esm/compute/orm/index.d.ts +9 -4
- package/esm/compute/orm/index.js +4 -4
- package/esm/compute/orm/input-types.d.ts +965 -1025
- package/esm/compute/orm/input-types.js +8 -8
- package/esm/compute/orm/models/databaseFunctionGraph.d.ts +2 -9
- package/esm/compute/orm/models/databaseFunctionGraph.js +1 -12
- package/esm/compute/orm/models/databaseGraphGetAllTreeNodesRecord.d.ts +2 -9
- package/esm/compute/orm/models/databaseGraphGetAllTreeNodesRecord.js +1 -12
- package/esm/compute/orm/models/functionGraph.d.ts +2 -9
- package/esm/compute/orm/models/functionGraph.js +1 -12
- package/esm/compute/orm/models/getAllTreeNodesRecord.d.ts +2 -9
- package/esm/compute/orm/models/getAllTreeNodesRecord.js +1 -12
- package/esm/compute/orm/models/index.d.ts +2 -2
- package/esm/compute/orm/models/index.js +2 -2
- package/esm/compute/orm/models/infraGetAllTreeNodesRecord.d.ts +2 -9
- package/esm/compute/orm/models/infraGetAllTreeNodesRecord.js +1 -12
- package/esm/compute/orm/models/platformInfraGetAllTreeNodesRecord.d.ts +2 -9
- package/esm/compute/orm/models/platformInfraGetAllTreeNodesRecord.js +1 -12
- package/esm/compute/orm/models/platformResourceDeclaredCapacity.d.ts +2 -9
- package/esm/compute/orm/models/platformResourceDeclaredCapacity.js +1 -12
- package/esm/compute/orm/models/platformResourceObservedStorage.d.ts +2 -9
- package/esm/compute/orm/models/platformResourceObservedStorage.js +1 -12
- package/esm/compute/orm/models/platformResourceUtilization.d.ts +2 -9
- package/esm/compute/orm/models/platformResourceUtilization.js +1 -12
- package/esm/compute/orm/models/platformResourcesHealth.d.ts +2 -9
- package/esm/compute/orm/models/platformResourcesHealth.js +1 -12
- package/esm/compute/orm/models/platformResourcesRequirementsState.d.ts +2 -9
- package/esm/compute/orm/models/platformResourcesRequirementsState.js +1 -12
- package/esm/compute/orm/models/platformResourcesResolvedRequirement.d.ts +2 -9
- package/esm/compute/orm/models/platformResourcesResolvedRequirement.js +1 -12
- package/esm/compute/orm/models/platformServiceBinding.d.ts +54 -0
- package/esm/compute/orm/models/{platformBuilderBinding.js → platformServiceBinding.js} +25 -25
- package/esm/compute/orm/models/resourceDeclaredCapacity.d.ts +2 -9
- package/esm/compute/orm/models/resourceDeclaredCapacity.js +1 -12
- package/esm/compute/orm/models/resourceObservedStorage.d.ts +2 -9
- package/esm/compute/orm/models/resourceObservedStorage.js +1 -12
- package/esm/compute/orm/models/resourceUtilization.d.ts +2 -9
- package/esm/compute/orm/models/resourceUtilization.js +1 -12
- package/esm/compute/orm/models/resourcesHealth.d.ts +2 -9
- package/esm/compute/orm/models/resourcesHealth.js +1 -12
- package/esm/compute/orm/models/resourcesRequirementsState.d.ts +2 -9
- package/esm/compute/orm/models/resourcesRequirementsState.js +1 -12
- package/esm/compute/orm/models/resourcesResolvedRequirement.d.ts +2 -9
- package/esm/compute/orm/models/resourcesResolvedRequirement.js +1 -12
- package/esm/compute/orm/models/serviceBinding.d.ts +54 -0
- package/esm/compute/orm/models/{builderBinding.js → serviceBinding.js} +25 -25
- package/esm/compute/orm/mutation/index.d.ts +9 -1
- package/esm/compute/orm/mutation/index.js +12 -0
- package/esm/compute/orm/query-builder.js +1 -3
- package/esm/compute/orm/select-types.d.ts +1 -1
- package/esm/compute/schema-types.d.ts +467 -386
- package/esm/compute/types.d.ts +60 -33
- package/esm/config/hooks/mutations/index.d.ts +0 -5
- package/esm/config/hooks/mutations/index.js +0 -5
- package/esm/config/orm/input-types.d.ts +0 -66
- package/esm/config/orm/models/appInternalSecret.d.ts +2 -9
- package/esm/config/orm/models/appInternalSecret.js +1 -12
- package/esm/config/orm/models/internalSecret.d.ts +2 -9
- package/esm/config/orm/models/internalSecret.js +1 -12
- package/esm/config/orm/models/platformInternalSecret.d.ts +2 -9
- package/esm/config/orm/models/platformInternalSecret.js +1 -12
- package/esm/config/orm/models/platformSecret.d.ts +2 -9
- package/esm/config/orm/models/platformSecret.js +1 -12
- package/esm/config/orm/models/secret.d.ts +2 -9
- package/esm/config/orm/models/secret.js +1 -12
- package/esm/config/orm/query-builder.js +1 -3
- package/esm/config/orm/select-types.d.ts +1 -1
- package/esm/config/schema-types.d.ts +54 -17
- package/esm/infra/hooks/mutations/index.d.ts +0 -1
- package/esm/infra/hooks/mutations/index.js +0 -1
- package/esm/infra/orm/input-types.d.ts +0 -7
- package/esm/infra/orm/models/platformInfraGetAllTreeNodesRecord.d.ts +2 -9
- package/esm/infra/orm/models/platformInfraGetAllTreeNodesRecord.js +1 -12
- package/esm/infra/orm/query-builder.js +1 -3
- package/esm/infra/orm/select-types.d.ts +1 -1
- package/esm/infra/schema-types.d.ts +54 -17
- package/esm/modules/hooks/mutations/useCreateBlueprintConstructionMutation.d.ts +2 -2
- package/esm/modules/hooks/mutations/useCreateBlueprintConstructionMutation.js +1 -1
- package/esm/modules/hooks/mutations/useDeleteBlueprintConstructionMutation.d.ts +2 -2
- package/esm/modules/hooks/mutations/useDeleteBlueprintConstructionMutation.js +1 -1
- package/esm/modules/hooks/mutations/useUpdateBlueprintConstructionMutation.d.ts +2 -2
- package/esm/modules/hooks/mutations/useUpdateBlueprintConstructionMutation.js +1 -1
- package/esm/modules/hooks/queries/useBlueprintConstructionQuery.d.ts +4 -4
- package/esm/modules/hooks/queries/useBlueprintConstructionQuery.js +1 -1
- package/esm/modules/hooks/queries/useBlueprintConstructionsQuery.d.ts +4 -4
- package/esm/modules/hooks/queries/useBlueprintConstructionsQuery.js +1 -1
- package/esm/modules/orm/input-types.d.ts +95 -38
- package/esm/modules/orm/mutation/index.d.ts +1 -1
- package/esm/modules/orm/query-builder.js +1 -3
- package/esm/modules/orm/select-types.d.ts +1 -1
- package/esm/modules/schema-types.d.ts +104 -39
- package/esm/modules/types.d.ts +10 -3
- package/esm/objects/hooks/mutations/index.d.ts +0 -1
- package/esm/objects/hooks/mutations/index.js +0 -1
- package/esm/objects/orm/input-types.d.ts +0 -7
- package/esm/objects/orm/models/getAllTreeNodesRecord.d.ts +2 -9
- package/esm/objects/orm/models/getAllTreeNodesRecord.js +1 -12
- package/esm/objects/orm/query-builder.js +1 -3
- package/esm/objects/orm/select-types.d.ts +1 -1
- package/esm/objects/schema-types.d.ts +54 -17
- package/esm/remote/hooks/queries/index.d.ts +1 -0
- package/esm/remote/hooks/queries/index.js +1 -0
- package/esm/remote/hooks/queries/useCurrentDatabaseIdQuery.d.ts +45 -0
- package/esm/remote/hooks/queries/useCurrentDatabaseIdQuery.js +43 -0
- package/esm/remote/hooks/query-keys.d.ts +6 -0
- package/esm/remote/hooks/query-keys.js +7 -0
- package/esm/remote/orm/index.d.ts +8 -0
- package/esm/remote/orm/index.js +3 -0
- package/esm/remote/orm/query/index.d.ts +14 -0
- package/esm/remote/orm/query/index.js +13 -0
- package/esm/remote/orm/query-builder.js +1 -3
- package/esm/remote/orm/select-types.d.ts +1 -1
- package/esm/remote/schema-types.d.ts +54 -17
- package/esm/storage/hooks/mutations/index.d.ts +0 -2
- package/esm/storage/hooks/mutations/index.js +0 -2
- package/esm/storage/orm/input-types.d.ts +84 -139
- package/esm/storage/orm/models/file.d.ts +2 -9
- package/esm/storage/orm/models/file.js +1 -12
- package/esm/storage/orm/models/platformFile.d.ts +2 -9
- package/esm/storage/orm/models/platformFile.js +1 -12
- package/esm/storage/orm/query-builder.js +1 -3
- package/esm/storage/orm/select-types.d.ts +1 -1
- package/esm/storage/schema-types.d.ts +79 -112
- package/esm/storage/types.d.ts +7 -0
- package/esm/usage/orm/query-builder.js +1 -3
- package/esm/usage/orm/select-types.d.ts +1 -1
- package/esm/usage/schema-types.d.ts +54 -17
- package/infra/hooks/mutations/index.d.ts +0 -1
- package/infra/hooks/mutations/index.js +0 -1
- package/infra/orm/input-types.d.ts +0 -7
- package/infra/orm/models/platformInfraGetAllTreeNodesRecord.d.ts +2 -9
- package/infra/orm/models/platformInfraGetAllTreeNodesRecord.js +0 -11
- package/infra/orm/query-builder.js +1 -3
- package/infra/orm/select-types.d.ts +1 -1
- package/infra/schema-types.d.ts +54 -17
- package/modules/hooks/mutations/useCreateBlueprintConstructionMutation.d.ts +2 -2
- package/modules/hooks/mutations/useCreateBlueprintConstructionMutation.js +1 -1
- package/modules/hooks/mutations/useDeleteBlueprintConstructionMutation.d.ts +2 -2
- package/modules/hooks/mutations/useDeleteBlueprintConstructionMutation.js +1 -1
- package/modules/hooks/mutations/useUpdateBlueprintConstructionMutation.d.ts +2 -2
- package/modules/hooks/mutations/useUpdateBlueprintConstructionMutation.js +1 -1
- package/modules/hooks/queries/useBlueprintConstructionQuery.d.ts +4 -4
- package/modules/hooks/queries/useBlueprintConstructionQuery.js +1 -1
- package/modules/hooks/queries/useBlueprintConstructionsQuery.d.ts +4 -4
- package/modules/hooks/queries/useBlueprintConstructionsQuery.js +1 -1
- package/modules/orm/input-types.d.ts +95 -38
- package/modules/orm/mutation/index.d.ts +1 -1
- package/modules/orm/query-builder.js +1 -3
- package/modules/orm/select-types.d.ts +1 -1
- package/modules/schema-types.d.ts +104 -39
- package/modules/types.d.ts +10 -3
- package/objects/hooks/mutations/index.d.ts +0 -1
- package/objects/hooks/mutations/index.js +0 -1
- package/objects/orm/input-types.d.ts +0 -7
- package/objects/orm/models/getAllTreeNodesRecord.d.ts +2 -9
- package/objects/orm/models/getAllTreeNodesRecord.js +0 -11
- package/objects/orm/query-builder.js +1 -3
- package/objects/orm/select-types.d.ts +1 -1
- package/objects/schema-types.d.ts +54 -17
- package/package.json +5 -5
- package/remote/hooks/queries/index.d.ts +1 -0
- package/remote/hooks/queries/index.js +1 -0
- package/remote/hooks/queries/useCurrentDatabaseIdQuery.d.ts +45 -0
- package/remote/hooks/queries/useCurrentDatabaseIdQuery.js +49 -0
- package/remote/hooks/query-keys.d.ts +6 -0
- package/remote/hooks/query-keys.js +8 -1
- package/remote/orm/index.d.ts +8 -0
- package/remote/orm/index.js +5 -1
- package/remote/orm/query/index.d.ts +14 -0
- package/remote/orm/query/index.js +16 -0
- package/remote/orm/query-builder.js +1 -3
- package/remote/orm/select-types.d.ts +1 -1
- package/remote/schema-types.d.ts +54 -17
- package/storage/hooks/mutations/index.d.ts +0 -2
- package/storage/hooks/mutations/index.js +0 -2
- package/storage/orm/input-types.d.ts +84 -139
- package/storage/orm/models/file.d.ts +2 -9
- package/storage/orm/models/file.js +0 -11
- package/storage/orm/models/platformFile.d.ts +2 -9
- package/storage/orm/models/platformFile.js +0 -11
- package/storage/orm/query-builder.js +1 -3
- package/storage/orm/select-types.d.ts +1 -1
- package/storage/schema-types.d.ts +79 -112
- package/storage/types.d.ts +7 -0
- package/usage/orm/query-builder.js +1 -3
- package/usage/orm/select-types.d.ts +1 -1
- package/usage/schema-types.d.ts +54 -17
- package/admin/hooks/mutations/useCreateMyPendingAppInvitesRecordMutation.d.ts +0 -34
- package/admin/hooks/mutations/useCreateMyPendingOrgInvitesRecordMutation.d.ts +0 -34
- package/admin/hooks/mutations/useCreateMyPendingOrgInvitesRecordMutation.js +0 -34
- package/admin/hooks/mutations/useCreateOrgGetManagersRecordMutation.d.ts +0 -34
- package/admin/hooks/mutations/useCreateOrgGetManagersRecordMutation.js +0 -34
- package/admin/hooks/mutations/useCreateOrgGetSubordinatesRecordMutation.d.ts +0 -34
- package/admin/hooks/mutations/useCreateOrgGetSubordinatesRecordMutation.js +0 -34
- package/api/hooks/mutations/useCreateAstMigrationMutation.d.ts +0 -34
- package/api/hooks/mutations/useCreateGetSitePreviewsRecordMutation.d.ts +0 -34
- package/api/hooks/mutations/useCreateGetSitePreviewsRecordMutation.js +0 -34
- package/api/hooks/mutations/useCreateListSuspendedDatabasesRecordMutation.d.ts +0 -34
- package/api/hooks/mutations/useCreateListSuspendedDatabasesRecordMutation.js +0 -34
- package/api/hooks/mutations/useCreatePlatformGetSitePreviewsRecordMutation.d.ts +0 -34
- package/api/hooks/mutations/useCreatePlatformGetSitePreviewsRecordMutation.js +0 -34
- package/api/hooks/mutations/useCreateSqlActionMutation.d.ts +0 -34
- package/api/hooks/queries/useApiSchemaNamesQuery.d.ts +0 -53
- package/api/hooks/queries/useApiSchemaNamesQuery.js +0 -53
- package/api/hooks/queries/useResolveDeepLinkQuery.d.ts +0 -53
- package/api/hooks/queries/useResolveDeepLinkQuery.js +0 -53
- package/api/hooks/queries/useResolveRouteQuery.d.ts +0 -65
- package/api/hooks/queries/useResolveSiteAppLinksQuery.d.ts +0 -53
- package/api/hooks/queries/useResolveSiteAppLinksQuery.js +0 -53
- package/auth/hooks/mutations/useCreateIdentityProviderMutation.d.ts +0 -34
- package/auth/hooks/mutations/useCreateIdentityProviderMutation.js +0 -34
- package/auth/hooks/mutations/useCreateOrgApiKeyListMutation.d.ts +0 -34
- package/auth/hooks/mutations/useCreateOrgApiKeyListMutation.js +0 -34
- package/auth/hooks/mutations/useCreatePrincipalEntityMutation.d.ts +0 -34
- package/auth/hooks/mutations/useCreatePrincipalEntityMutation.js +0 -34
- package/auth/hooks/mutations/useCreatePrincipalScopeOverrideMutation.d.ts +0 -34
- package/auth/hooks/mutations/useCreateUserConnectedAccountMutation.d.ts +0 -34
- package/auth/hooks/mutations/useCreateUserConnectedAccountMutation.js +0 -34
- package/compute/hooks/mutations/useCreateBuilderBindingMutation.d.ts +0 -34
- package/compute/hooks/mutations/useCreateDatabaseFunctionGraphMutation.d.ts +0 -34
- package/compute/hooks/mutations/useCreateDatabaseFunctionGraphMutation.js +0 -34
- package/compute/hooks/mutations/useCreateDatabaseGraphGetAllTreeNodesRecordMutation.d.ts +0 -34
- package/compute/hooks/mutations/useCreateDatabaseGraphGetAllTreeNodesRecordMutation.js +0 -34
- package/compute/hooks/mutations/useCreateGetAllTreeNodesRecordMutation.d.ts +0 -34
- package/compute/hooks/mutations/useCreateGetAllTreeNodesRecordMutation.js +0 -34
- package/compute/hooks/mutations/useCreateInfraGetAllTreeNodesRecordMutation.d.ts +0 -34
- package/compute/hooks/mutations/useCreateInfraGetAllTreeNodesRecordMutation.js +0 -34
- package/compute/hooks/mutations/useCreatePlatformBuilderBindingMutation.d.ts +0 -34
- package/compute/hooks/mutations/useCreatePlatformBuilderBindingMutation.js +0 -34
- package/compute/hooks/mutations/useCreatePlatformInfraGetAllTreeNodesRecordMutation.d.ts +0 -34
- package/compute/hooks/mutations/useCreatePlatformInfraGetAllTreeNodesRecordMutation.js +0 -34
- package/compute/hooks/mutations/useCreatePlatformResourceDeclaredCapacityMutation.d.ts +0 -34
- package/compute/hooks/mutations/useCreatePlatformResourceDeclaredCapacityMutation.js +0 -34
- package/compute/hooks/mutations/useCreatePlatformResourceObservedStorageMutation.d.ts +0 -34
- package/compute/hooks/mutations/useCreatePlatformResourceObservedStorageMutation.js +0 -34
- package/compute/hooks/mutations/useCreatePlatformResourceUtilizationMutation.d.ts +0 -34
- package/compute/hooks/mutations/useCreatePlatformResourceUtilizationMutation.js +0 -34
- package/compute/hooks/mutations/useCreatePlatformResourcesHealthMutation.d.ts +0 -34
- package/compute/hooks/mutations/useCreatePlatformResourcesHealthMutation.js +0 -34
- package/compute/hooks/mutations/useCreatePlatformResourcesRequirementsStateMutation.d.ts +0 -34
- package/compute/hooks/mutations/useCreatePlatformResourcesRequirementsStateMutation.js +0 -34
- package/compute/hooks/mutations/useCreatePlatformResourcesResolvedRequirementMutation.d.ts +0 -34
- package/compute/hooks/mutations/useCreatePlatformResourcesResolvedRequirementMutation.js +0 -34
- package/compute/hooks/mutations/useCreateResourceDeclaredCapacityMutation.d.ts +0 -34
- package/compute/hooks/mutations/useCreateResourceDeclaredCapacityMutation.js +0 -34
- package/compute/hooks/mutations/useCreateResourceObservedStorageMutation.d.ts +0 -34
- package/compute/hooks/mutations/useCreateResourceObservedStorageMutation.js +0 -34
- package/compute/hooks/mutations/useCreateResourceUtilizationMutation.d.ts +0 -34
- package/compute/hooks/mutations/useCreateResourceUtilizationMutation.js +0 -34
- package/compute/hooks/mutations/useCreateResourcesHealthMutation.d.ts +0 -34
- package/compute/hooks/mutations/useCreateResourcesHealthMutation.js +0 -34
- package/compute/hooks/mutations/useCreateResourcesRequirementsStateMutation.d.ts +0 -34
- package/compute/hooks/mutations/useCreateResourcesRequirementsStateMutation.js +0 -34
- package/compute/hooks/mutations/useCreateResourcesResolvedRequirementMutation.d.ts +0 -34
- package/compute/hooks/mutations/useCreateResourcesResolvedRequirementMutation.js +0 -34
- package/compute/hooks/mutations/useDeleteBuilderBindingMutation.d.ts +0 -38
- package/compute/hooks/mutations/useDeletePlatformBuilderBindingMutation.d.ts +0 -38
- package/compute/hooks/mutations/useUpdateBuilderBindingMutation.d.ts +0 -40
- package/compute/hooks/mutations/useUpdatePlatformBuilderBindingMutation.d.ts +0 -40
- package/compute/hooks/queries/useBuilderBindingQuery.d.ts +0 -65
- package/compute/hooks/queries/useBuilderBindingsQuery.d.ts +0 -69
- package/compute/hooks/queries/usePlatformBuilderBindingQuery.d.ts +0 -65
- package/compute/hooks/queries/usePlatformBuilderBindingsQuery.d.ts +0 -69
- package/compute/hooks/queries/usePlatformBuilderBindingsQuery.js +0 -38
- package/compute/orm/models/builderBinding.d.ts +0 -54
- package/compute/orm/models/platformBuilderBinding.d.ts +0 -54
- package/config/hooks/mutations/useCreateAppInternalSecretMutation.d.ts +0 -34
- package/config/hooks/mutations/useCreateAppInternalSecretMutation.js +0 -34
- package/config/hooks/mutations/useCreateInternalSecretMutation.d.ts +0 -34
- package/config/hooks/mutations/useCreateInternalSecretMutation.js +0 -34
- package/config/hooks/mutations/useCreatePlatformInternalSecretMutation.d.ts +0 -34
- package/config/hooks/mutations/useCreatePlatformInternalSecretMutation.js +0 -34
- package/config/hooks/mutations/useCreatePlatformSecretMutation.d.ts +0 -34
- package/config/hooks/mutations/useCreatePlatformSecretMutation.js +0 -34
- package/config/hooks/mutations/useCreateSecretMutation.d.ts +0 -34
- package/esm/admin/hooks/mutations/useCreateMyPendingAppInvitesRecordMutation.d.ts +0 -34
- package/esm/admin/hooks/mutations/useCreateMyPendingAppInvitesRecordMutation.js +0 -31
- package/esm/admin/hooks/mutations/useCreateMyPendingOrgInvitesRecordMutation.d.ts +0 -34
- package/esm/admin/hooks/mutations/useCreateOrgGetManagersRecordMutation.d.ts +0 -34
- package/esm/admin/hooks/mutations/useCreateOrgGetManagersRecordMutation.js +0 -31
- package/esm/admin/hooks/mutations/useCreateOrgGetSubordinatesRecordMutation.d.ts +0 -34
- package/esm/admin/hooks/mutations/useCreateOrgGetSubordinatesRecordMutation.js +0 -31
- package/esm/api/hooks/mutations/useCreateAstMigrationMutation.d.ts +0 -34
- package/esm/api/hooks/mutations/useCreateAstMigrationMutation.js +0 -31
- package/esm/api/hooks/mutations/useCreateGetSitePreviewsRecordMutation.d.ts +0 -34
- package/esm/api/hooks/mutations/useCreateGetSitePreviewsRecordMutation.js +0 -31
- package/esm/api/hooks/mutations/useCreateListSuspendedDatabasesRecordMutation.d.ts +0 -34
- package/esm/api/hooks/mutations/useCreateListSuspendedDatabasesRecordMutation.js +0 -31
- package/esm/api/hooks/mutations/useCreatePlatformGetSitePreviewsRecordMutation.d.ts +0 -34
- package/esm/api/hooks/mutations/useCreatePlatformGetSitePreviewsRecordMutation.js +0 -31
- package/esm/api/hooks/mutations/useCreateSqlActionMutation.d.ts +0 -34
- package/esm/api/hooks/queries/useApiSchemaNamesQuery.d.ts +0 -53
- package/esm/api/hooks/queries/useApiSchemaNamesQuery.js +0 -47
- package/esm/api/hooks/queries/useResolveDeepLinkQuery.d.ts +0 -53
- package/esm/api/hooks/queries/useResolveDeepLinkQuery.js +0 -47
- package/esm/api/hooks/queries/useResolveRouteQuery.d.ts +0 -65
- package/esm/api/hooks/queries/useResolveSiteAppLinksQuery.d.ts +0 -53
- package/esm/api/hooks/queries/useResolveSiteAppLinksQuery.js +0 -47
- package/esm/auth/hooks/mutations/useCreateIdentityProviderMutation.d.ts +0 -34
- package/esm/auth/hooks/mutations/useCreateIdentityProviderMutation.js +0 -31
- package/esm/auth/hooks/mutations/useCreateOrgApiKeyListMutation.d.ts +0 -34
- package/esm/auth/hooks/mutations/useCreateOrgApiKeyListMutation.js +0 -31
- package/esm/auth/hooks/mutations/useCreatePrincipalEntityMutation.d.ts +0 -34
- package/esm/auth/hooks/mutations/useCreatePrincipalEntityMutation.js +0 -31
- package/esm/auth/hooks/mutations/useCreatePrincipalScopeOverrideMutation.d.ts +0 -34
- package/esm/auth/hooks/mutations/useCreateUserConnectedAccountMutation.d.ts +0 -34
- package/esm/auth/hooks/mutations/useCreateUserConnectedAccountMutation.js +0 -31
- package/esm/compute/hooks/mutations/useCreateBuilderBindingMutation.d.ts +0 -34
- package/esm/compute/hooks/mutations/useCreateBuilderBindingMutation.js +0 -31
- package/esm/compute/hooks/mutations/useCreateDatabaseFunctionGraphMutation.d.ts +0 -34
- package/esm/compute/hooks/mutations/useCreateDatabaseFunctionGraphMutation.js +0 -31
- package/esm/compute/hooks/mutations/useCreateDatabaseGraphGetAllTreeNodesRecordMutation.d.ts +0 -34
- package/esm/compute/hooks/mutations/useCreateDatabaseGraphGetAllTreeNodesRecordMutation.js +0 -31
- package/esm/compute/hooks/mutations/useCreateGetAllTreeNodesRecordMutation.d.ts +0 -34
- package/esm/compute/hooks/mutations/useCreateGetAllTreeNodesRecordMutation.js +0 -31
- package/esm/compute/hooks/mutations/useCreateInfraGetAllTreeNodesRecordMutation.d.ts +0 -34
- package/esm/compute/hooks/mutations/useCreateInfraGetAllTreeNodesRecordMutation.js +0 -31
- package/esm/compute/hooks/mutations/useCreatePlatformBuilderBindingMutation.d.ts +0 -34
- package/esm/compute/hooks/mutations/useCreatePlatformBuilderBindingMutation.js +0 -31
- package/esm/compute/hooks/mutations/useCreatePlatformInfraGetAllTreeNodesRecordMutation.d.ts +0 -34
- package/esm/compute/hooks/mutations/useCreatePlatformInfraGetAllTreeNodesRecordMutation.js +0 -31
- package/esm/compute/hooks/mutations/useCreatePlatformResourceDeclaredCapacityMutation.d.ts +0 -34
- package/esm/compute/hooks/mutations/useCreatePlatformResourceDeclaredCapacityMutation.js +0 -31
- package/esm/compute/hooks/mutations/useCreatePlatformResourceObservedStorageMutation.d.ts +0 -34
- package/esm/compute/hooks/mutations/useCreatePlatformResourceObservedStorageMutation.js +0 -31
- package/esm/compute/hooks/mutations/useCreatePlatformResourceUtilizationMutation.d.ts +0 -34
- package/esm/compute/hooks/mutations/useCreatePlatformResourceUtilizationMutation.js +0 -31
- package/esm/compute/hooks/mutations/useCreatePlatformResourcesHealthMutation.d.ts +0 -34
- package/esm/compute/hooks/mutations/useCreatePlatformResourcesHealthMutation.js +0 -31
- package/esm/compute/hooks/mutations/useCreatePlatformResourcesRequirementsStateMutation.d.ts +0 -34
- package/esm/compute/hooks/mutations/useCreatePlatformResourcesRequirementsStateMutation.js +0 -31
- package/esm/compute/hooks/mutations/useCreatePlatformResourcesResolvedRequirementMutation.d.ts +0 -34
- package/esm/compute/hooks/mutations/useCreatePlatformResourcesResolvedRequirementMutation.js +0 -31
- package/esm/compute/hooks/mutations/useCreateResourceDeclaredCapacityMutation.d.ts +0 -34
- package/esm/compute/hooks/mutations/useCreateResourceDeclaredCapacityMutation.js +0 -31
- package/esm/compute/hooks/mutations/useCreateResourceObservedStorageMutation.d.ts +0 -34
- package/esm/compute/hooks/mutations/useCreateResourceObservedStorageMutation.js +0 -31
- package/esm/compute/hooks/mutations/useCreateResourceUtilizationMutation.d.ts +0 -34
- package/esm/compute/hooks/mutations/useCreateResourceUtilizationMutation.js +0 -31
- package/esm/compute/hooks/mutations/useCreateResourcesHealthMutation.d.ts +0 -34
- package/esm/compute/hooks/mutations/useCreateResourcesHealthMutation.js +0 -31
- package/esm/compute/hooks/mutations/useCreateResourcesRequirementsStateMutation.d.ts +0 -34
- package/esm/compute/hooks/mutations/useCreateResourcesRequirementsStateMutation.js +0 -31
- package/esm/compute/hooks/mutations/useCreateResourcesResolvedRequirementMutation.d.ts +0 -34
- package/esm/compute/hooks/mutations/useCreateResourcesResolvedRequirementMutation.js +0 -31
- package/esm/compute/hooks/mutations/useDeleteBuilderBindingMutation.d.ts +0 -38
- package/esm/compute/hooks/mutations/useDeletePlatformBuilderBindingMutation.d.ts +0 -38
- package/esm/compute/hooks/mutations/useUpdateBuilderBindingMutation.d.ts +0 -40
- package/esm/compute/hooks/mutations/useUpdatePlatformBuilderBindingMutation.d.ts +0 -40
- package/esm/compute/hooks/queries/useBuilderBindingQuery.d.ts +0 -65
- package/esm/compute/hooks/queries/useBuilderBindingsQuery.d.ts +0 -69
- package/esm/compute/hooks/queries/useBuilderBindingsQuery.js +0 -32
- package/esm/compute/hooks/queries/usePlatformBuilderBindingQuery.d.ts +0 -65
- package/esm/compute/hooks/queries/usePlatformBuilderBindingsQuery.d.ts +0 -69
- package/esm/compute/hooks/queries/usePlatformBuilderBindingsQuery.js +0 -32
- package/esm/compute/orm/models/builderBinding.d.ts +0 -54
- package/esm/compute/orm/models/platformBuilderBinding.d.ts +0 -54
- package/esm/config/hooks/mutations/useCreateAppInternalSecretMutation.d.ts +0 -34
- package/esm/config/hooks/mutations/useCreateAppInternalSecretMutation.js +0 -31
- package/esm/config/hooks/mutations/useCreateInternalSecretMutation.d.ts +0 -34
- package/esm/config/hooks/mutations/useCreateInternalSecretMutation.js +0 -31
- package/esm/config/hooks/mutations/useCreatePlatformInternalSecretMutation.d.ts +0 -34
- package/esm/config/hooks/mutations/useCreatePlatformInternalSecretMutation.js +0 -31
- package/esm/config/hooks/mutations/useCreatePlatformSecretMutation.d.ts +0 -34
- package/esm/config/hooks/mutations/useCreatePlatformSecretMutation.js +0 -31
- package/esm/config/hooks/mutations/useCreateSecretMutation.d.ts +0 -34
- package/esm/config/hooks/mutations/useCreateSecretMutation.js +0 -31
- package/esm/infra/hooks/mutations/useCreatePlatformInfraGetAllTreeNodesRecordMutation.d.ts +0 -34
- package/esm/infra/hooks/mutations/useCreatePlatformInfraGetAllTreeNodesRecordMutation.js +0 -31
- package/esm/objects/hooks/mutations/useCreateGetAllTreeNodesRecordMutation.d.ts +0 -34
- package/esm/objects/hooks/mutations/useCreateGetAllTreeNodesRecordMutation.js +0 -31
- package/esm/storage/hooks/mutations/useCreateFileMutation.d.ts +0 -34
- package/esm/storage/hooks/mutations/useCreateFileMutation.js +0 -31
- package/esm/storage/hooks/mutations/useCreatePlatformFileMutation.d.ts +0 -34
- package/esm/storage/hooks/mutations/useCreatePlatformFileMutation.js +0 -31
- package/infra/hooks/mutations/useCreatePlatformInfraGetAllTreeNodesRecordMutation.d.ts +0 -34
- package/infra/hooks/mutations/useCreatePlatformInfraGetAllTreeNodesRecordMutation.js +0 -34
- package/objects/hooks/mutations/useCreateGetAllTreeNodesRecordMutation.d.ts +0 -34
- package/objects/hooks/mutations/useCreateGetAllTreeNodesRecordMutation.js +0 -34
- package/storage/hooks/mutations/useCreateFileMutation.d.ts +0 -34
- package/storage/hooks/mutations/useCreatePlatformFileMutation.d.ts +0 -34
- package/storage/hooks/mutations/useCreatePlatformFileMutation.js +0 -34
|
@@ -405,6 +405,9 @@ export interface AgentResource {
|
|
|
405
405
|
/** TRGM similarity when searching `description`. Returns null when no trgm search filter is active. */
|
|
406
406
|
descriptionTrgmSimilarity?: number | null;
|
|
407
407
|
embedding?: number[] | null;
|
|
408
|
+
embeddingModel?: string | null;
|
|
409
|
+
/** TRGM similarity when searching `embeddingModel`. Returns null when no trgm search filter is active. */
|
|
410
|
+
embeddingModelTrgmSimilarity?: number | null;
|
|
408
411
|
embeddingUpdatedAt?: string | null;
|
|
409
412
|
/** VECTOR distance when searching `embedding`. Returns null when no vector search filter is active. */
|
|
410
413
|
embeddingVectorDistance?: number | null;
|
|
@@ -756,6 +759,9 @@ export interface PlatformAgentResource {
|
|
|
756
759
|
/** TRGM similarity when searching `description`. Returns null when no trgm search filter is active. */
|
|
757
760
|
descriptionTrgmSimilarity?: number | null;
|
|
758
761
|
embedding?: number[] | null;
|
|
762
|
+
embeddingModel?: string | null;
|
|
763
|
+
/** TRGM similarity when searching `embeddingModel`. Returns null when no trgm search filter is active. */
|
|
764
|
+
embeddingModelTrgmSimilarity?: number | null;
|
|
759
765
|
embeddingUpdatedAt?: string | null;
|
|
760
766
|
/** VECTOR distance when searching `embedding`. Returns null when no vector search filter is active. */
|
|
761
767
|
embeddingVectorDistance?: number | null;
|
|
@@ -1251,6 +1257,8 @@ export type AgentResourceSelect = {
|
|
|
1251
1257
|
description?: boolean;
|
|
1252
1258
|
descriptionTrgmSimilarity?: boolean;
|
|
1253
1259
|
embedding?: boolean;
|
|
1260
|
+
embeddingModel?: boolean;
|
|
1261
|
+
embeddingModelTrgmSimilarity?: boolean;
|
|
1254
1262
|
embeddingUpdatedAt?: boolean;
|
|
1255
1263
|
embeddingVectorDistance?: boolean;
|
|
1256
1264
|
id?: boolean;
|
|
@@ -1587,6 +1595,8 @@ export type PlatformAgentResourceSelect = {
|
|
|
1587
1595
|
description?: boolean;
|
|
1588
1596
|
descriptionTrgmSimilarity?: boolean;
|
|
1589
1597
|
embedding?: boolean;
|
|
1598
|
+
embeddingModel?: boolean;
|
|
1599
|
+
embeddingModelTrgmSimilarity?: boolean;
|
|
1590
1600
|
embeddingUpdatedAt?: boolean;
|
|
1591
1601
|
embeddingVectorDistance?: boolean;
|
|
1592
1602
|
id?: boolean;
|
|
@@ -2054,6 +2064,8 @@ export interface AgentResourceFilter {
|
|
|
2054
2064
|
description?: StringTrgmFilter;
|
|
2055
2065
|
/** Filter by the object’s `embedding` field. */
|
|
2056
2066
|
embedding?: VectorFilter;
|
|
2067
|
+
/** Filter by the object’s `embeddingModel` field. */
|
|
2068
|
+
embeddingModel?: StringTrgmFilter;
|
|
2057
2069
|
/** Filter by the object’s `embeddingUpdatedAt` field. */
|
|
2058
2070
|
embeddingUpdatedAt?: DatetimeFilter;
|
|
2059
2071
|
/** Filter by the object’s `id` field. */
|
|
@@ -2082,6 +2094,8 @@ export interface AgentResourceFilter {
|
|
|
2082
2094
|
trgmBody?: TrgmSearchInput;
|
|
2083
2095
|
/** TRGM search on the `description` column. */
|
|
2084
2096
|
trgmDescription?: TrgmSearchInput;
|
|
2097
|
+
/** TRGM search on the `embedding_model` column. */
|
|
2098
|
+
trgmEmbeddingModel?: TrgmSearchInput;
|
|
2085
2099
|
/** TRGM search on the `kind` column. */
|
|
2086
2100
|
trgmKind?: TrgmSearchInput;
|
|
2087
2101
|
/** TRGM search on the `title` column. */
|
|
@@ -2620,6 +2634,8 @@ export interface PlatformAgentResourceFilter {
|
|
|
2620
2634
|
description?: StringTrgmFilter;
|
|
2621
2635
|
/** Filter by the object’s `embedding` field. */
|
|
2622
2636
|
embedding?: VectorFilter;
|
|
2637
|
+
/** Filter by the object’s `embeddingModel` field. */
|
|
2638
|
+
embeddingModel?: StringTrgmFilter;
|
|
2623
2639
|
/** Filter by the object’s `embeddingUpdatedAt` field. */
|
|
2624
2640
|
embeddingUpdatedAt?: DatetimeFilter;
|
|
2625
2641
|
/** Filter by the object’s `id` field. */
|
|
@@ -2652,6 +2668,8 @@ export interface PlatformAgentResourceFilter {
|
|
|
2652
2668
|
trgmBody?: TrgmSearchInput;
|
|
2653
2669
|
/** TRGM search on the `description` column. */
|
|
2654
2670
|
trgmDescription?: TrgmSearchInput;
|
|
2671
|
+
/** TRGM search on the `embedding_model` column. */
|
|
2672
|
+
trgmEmbeddingModel?: TrgmSearchInput;
|
|
2655
2673
|
/** TRGM search on the `kind` column. */
|
|
2656
2674
|
trgmKind?: TrgmSearchInput;
|
|
2657
2675
|
/** TRGM search on the `title` column. */
|
|
@@ -2914,7 +2932,7 @@ export type AgentPersonaOrderBy = 'CONFIG_ASC' | 'CONFIG_DESC' | 'CREATED_AT_ASC
|
|
|
2914
2932
|
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' | 'VISIBILITY_ASC' | 'VISIBILITY_DESC';
|
|
2915
2933
|
export type AgentPromptOrderBy = 'CONTENT_ASC' | 'CONTENT_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'CREATED_BY_ASC' | 'CREATED_BY_DESC' | 'CREATED_BY_PRINCIPAL_ASC' | 'CREATED_BY_PRINCIPAL_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' | 'UPDATED_BY_PRINCIPAL_ASC' | 'UPDATED_BY_PRINCIPAL_DESC';
|
|
2916
2934
|
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' | 'DATABASE_ID_ASC' | 'DATABASE_ID_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';
|
|
2917
|
-
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' | 'CREATED_BY_PRINCIPAL_ASC' | 'CREATED_BY_PRINCIPAL_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' | 'UPDATED_BY_PRINCIPAL_ASC' | 'UPDATED_BY_PRINCIPAL_DESC';
|
|
2935
|
+
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' | 'CREATED_BY_PRINCIPAL_ASC' | 'CREATED_BY_PRINCIPAL_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'DESCRIPTION_TRGM_SIMILARITY_ASC' | 'DESCRIPTION_TRGM_SIMILARITY_DESC' | 'EMBEDDING_ASC' | 'EMBEDDING_DESC' | 'EMBEDDING_MODEL_ASC' | 'EMBEDDING_MODEL_DESC' | 'EMBEDDING_MODEL_TRGM_SIMILARITY_ASC' | 'EMBEDDING_MODEL_TRGM_SIMILARITY_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' | 'UPDATED_BY_PRINCIPAL_ASC' | 'UPDATED_BY_PRINCIPAL_DESC';
|
|
2918
2936
|
export type AgentRunOrderBy = 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'ARTIFACTS_ASC' | 'ARTIFACTS_DESC' | 'ATTEMPT_ASC' | 'ATTEMPT_DESC' | 'BASE_COMMIT_ASC' | 'BASE_COMMIT_DESC' | 'BRANCH_ASC' | 'BRANCH_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'DEADLINE_AT_ASC' | 'DEADLINE_AT_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'ERROR_ASC' | 'ERROR_DESC' | 'EXECUTION_ID_ASC' | 'EXECUTION_ID_DESC' | 'FINISHED_AT_ASC' | 'FINISHED_AT_DESC' | 'HEAD_COMMIT_ASC' | 'HEAD_COMMIT_DESC' | 'ID_ASC' | 'ID_DESC' | 'LAST_EVENT_SEQ_ASC' | 'LAST_EVENT_SEQ_DESC' | 'NATURAL' | 'PARENT_RUN_ID_ASC' | 'PARENT_RUN_ID_DESC' | 'PLACEMENT_ASC' | 'PLACEMENT_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'PRINCIPAL_ID_ASC' | 'PRINCIPAL_ID_DESC' | 'REPO_URL_ASC' | 'REPO_URL_DESC' | 'STARTED_AT_ASC' | 'STARTED_AT_DESC' | 'STATUS_ASC' | 'STATUS_DESC' | 'THREAD_ID_ASC' | 'THREAD_ID_DESC' | 'TOKEN_USAGE_ASC' | 'TOKEN_USAGE_DESC' | 'TOTAL_COST_ASC' | 'TOTAL_COST_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'VISIBILITY_ASC' | 'VISIBILITY_DESC';
|
|
2919
2937
|
export type AgentRunWorkspaceOrderBy = 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'ARTIFACTS_ASC' | 'ARTIFACTS_DESC' | 'BASE_BRANCH_ASC' | 'BASE_BRANCH_DESC' | 'BASE_COMMIT_ASC' | 'BASE_COMMIT_DESC' | 'BRANCH_ASC' | 'BRANCH_DESC' | 'CLONED_AT_ASC' | 'CLONED_AT_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'HEAD_COMMIT_ASC' | 'HEAD_COMMIT_DESC' | 'ID_ASC' | 'ID_DESC' | 'LAST_USED_AT_ASC' | 'LAST_USED_AT_DESC' | 'NATURAL' | 'ORDINAL_ASC' | 'ORDINAL_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'PROVIDER_ASC' | 'PROVIDER_DESC' | 'PUBLICATION_ASC' | 'PUBLICATION_DESC' | 'REPOSITORY_ID_ASC' | 'REPOSITORY_ID_DESC' | 'REPO_ASC' | 'REPO_DESC' | 'RUN_ID_ASC' | 'RUN_ID_DESC' | 'STATE_ASC' | 'STATE_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'VISIBILITY_ASC' | 'VISIBILITY_DESC';
|
|
2920
2938
|
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' | 'VISIBILITY_ASC' | 'VISIBILITY_DESC';
|
|
@@ -2926,7 +2944,7 @@ export type PlatformAgentPersonaOrderBy = 'CONFIG_ASC' | 'CONFIG_DESC' | 'CREATE
|
|
|
2926
2944
|
export type PlatformAgentPlanOrderBy = 'CREATED_AT_ASC' | 'CREATED_AT_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' | 'VISIBILITY_ASC' | 'VISIBILITY_DESC';
|
|
2927
2945
|
export type PlatformAgentPromptOrderBy = 'CONTENT_ASC' | 'CONTENT_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'CREATED_BY_ASC' | 'CREATED_BY_DESC' | 'CREATED_BY_PRINCIPAL_ASC' | 'CREATED_BY_PRINCIPAL_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' | 'UPDATED_BY_PRINCIPAL_ASC' | 'UPDATED_BY_PRINCIPAL_DESC';
|
|
2928
2946
|
export type PlatformAgentResourceChunkOrderBy = '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' | 'PLATFORM_AGENT_RESOURCE_ID_ASC' | 'PLATFORM_AGENT_RESOURCE_ID_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'SEARCH_SCORE_ASC' | 'SEARCH_SCORE_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
|
|
2929
|
-
export type PlatformAgentResourceOrderBy = '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' | 'CREATED_BY_PRINCIPAL_ASC' | 'CREATED_BY_PRINCIPAL_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' | 'UPDATED_BY_PRINCIPAL_ASC' | 'UPDATED_BY_PRINCIPAL_DESC';
|
|
2947
|
+
export type PlatformAgentResourceOrderBy = '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' | 'CREATED_BY_PRINCIPAL_ASC' | 'CREATED_BY_PRINCIPAL_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'DESCRIPTION_TRGM_SIMILARITY_ASC' | 'DESCRIPTION_TRGM_SIMILARITY_DESC' | 'EMBEDDING_ASC' | 'EMBEDDING_DESC' | 'EMBEDDING_MODEL_ASC' | 'EMBEDDING_MODEL_DESC' | 'EMBEDDING_MODEL_TRGM_SIMILARITY_ASC' | 'EMBEDDING_MODEL_TRGM_SIMILARITY_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' | 'UPDATED_BY_PRINCIPAL_ASC' | 'UPDATED_BY_PRINCIPAL_DESC';
|
|
2930
2948
|
export type PlatformAgentRunOrderBy = 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'ARTIFACTS_ASC' | 'ARTIFACTS_DESC' | 'ATTEMPT_ASC' | 'ATTEMPT_DESC' | 'BASE_COMMIT_ASC' | 'BASE_COMMIT_DESC' | 'BRANCH_ASC' | 'BRANCH_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'DEADLINE_AT_ASC' | 'DEADLINE_AT_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'ERROR_ASC' | 'ERROR_DESC' | 'EXECUTION_ID_ASC' | 'EXECUTION_ID_DESC' | 'FINISHED_AT_ASC' | 'FINISHED_AT_DESC' | 'HEAD_COMMIT_ASC' | 'HEAD_COMMIT_DESC' | 'ID_ASC' | 'ID_DESC' | 'LAST_EVENT_SEQ_ASC' | 'LAST_EVENT_SEQ_DESC' | 'NATURAL' | 'PARENT_RUN_ID_ASC' | 'PARENT_RUN_ID_DESC' | 'PLACEMENT_ASC' | 'PLACEMENT_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'PRINCIPAL_ID_ASC' | 'PRINCIPAL_ID_DESC' | 'REPO_URL_ASC' | 'REPO_URL_DESC' | 'STARTED_AT_ASC' | 'STARTED_AT_DESC' | 'STATUS_ASC' | 'STATUS_DESC' | 'THREAD_ID_ASC' | 'THREAD_ID_DESC' | 'TOKEN_USAGE_ASC' | 'TOKEN_USAGE_DESC' | 'TOTAL_COST_ASC' | 'TOTAL_COST_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'VISIBILITY_ASC' | 'VISIBILITY_DESC';
|
|
2931
2949
|
export type PlatformAgentRunWorkspaceOrderBy = 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'ARTIFACTS_ASC' | 'ARTIFACTS_DESC' | 'BASE_BRANCH_ASC' | 'BASE_BRANCH_DESC' | 'BASE_COMMIT_ASC' | 'BASE_COMMIT_DESC' | 'BRANCH_ASC' | 'BRANCH_DESC' | 'CLONED_AT_ASC' | 'CLONED_AT_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'HEAD_COMMIT_ASC' | 'HEAD_COMMIT_DESC' | 'ID_ASC' | 'ID_DESC' | 'LAST_USED_AT_ASC' | 'LAST_USED_AT_DESC' | 'NATURAL' | 'ORDINAL_ASC' | 'ORDINAL_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'PROVIDER_ASC' | 'PROVIDER_DESC' | 'PUBLICATION_ASC' | 'PUBLICATION_DESC' | 'REPOSITORY_ID_ASC' | 'REPOSITORY_ID_DESC' | 'REPO_ASC' | 'REPO_DESC' | 'RUN_ID_ASC' | 'RUN_ID_DESC' | 'STATE_ASC' | 'STATE_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'VISIBILITY_ASC' | 'VISIBILITY_DESC';
|
|
2932
2950
|
export type PlatformAgentTaskOrderBy = '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' | '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' | 'VISIBILITY_ASC' | 'VISIBILITY_DESC';
|
|
@@ -3939,10 +3957,12 @@ export interface VectorNearbyInput {
|
|
|
3939
3957
|
includeChunks?: boolean;
|
|
3940
3958
|
/** Similarity metric to use (default: COSINE). */
|
|
3941
3959
|
metric?: VectorMetric;
|
|
3942
|
-
/**
|
|
3960
|
+
/** The model that produced `vector`. On a column that records the model of each row's vector, only rows embedded with this model are compared; vectors of two models are not comparable. Filled in server-side when `text` is embedded. */
|
|
3961
|
+
model?: string;
|
|
3962
|
+
/** Natural language text to embed server-side for similarity search. Provide exactly one of `text` or `vector`; sending both or neither is an error. Blank text on its own counts as not given. Requires the LLM plugin to be configured with an embedding provider. */
|
|
3943
3963
|
text?: string;
|
|
3944
3964
|
/** Query vector for similarity search. */
|
|
3945
|
-
vector
|
|
3965
|
+
vector?: number[];
|
|
3946
3966
|
}
|
|
3947
3967
|
/** A filter to be used against many `AgentResourceChunk` object types. All fields are combined with a logical ‘and.’ */
|
|
3948
3968
|
export interface AgentResourceToManyAgentResourceChunkFilter {
|
|
@@ -4367,7 +4387,7 @@ export interface AgentResourceChunkInput {
|
|
|
4367
4387
|
/** Policy-required field derived from source table (used by AuthzRelatedEntityMembership) */
|
|
4368
4388
|
databaseId?: string;
|
|
4369
4389
|
embedding?: number[];
|
|
4370
|
-
/** Natural language text to embed server-side into the `embedding` vector column.
|
|
4390
|
+
/** Natural language text to embed server-side into the `embedding` vector column. Provide exactly one of `embedding` or `embeddingText`; sending both is an error. Requires the LLM plugin to be configured with an embedding provider. */
|
|
4371
4391
|
embeddingText?: string;
|
|
4372
4392
|
id?: string;
|
|
4373
4393
|
metadata?: Record<string, unknown>;
|
|
@@ -4387,7 +4407,7 @@ export interface AgentResourceInput {
|
|
|
4387
4407
|
/** Brief description of this resource */
|
|
4388
4408
|
description?: string;
|
|
4389
4409
|
embedding?: number[];
|
|
4390
|
-
/** Natural language text to embed server-side into the `embedding` vector column.
|
|
4410
|
+
/** Natural language text to embed server-side into the `embedding` vector column. Provide exactly one of `embedding` or `embeddingText`; sending both is an error. Requires the LLM plugin to be configured with an embedding provider. */
|
|
4391
4411
|
embeddingText?: string;
|
|
4392
4412
|
id?: string;
|
|
4393
4413
|
/** Whether this resource is active and retrievable */
|
|
@@ -4682,7 +4702,7 @@ export interface PlatformAgentResourceChunkInput {
|
|
|
4682
4702
|
chunkIndex?: number;
|
|
4683
4703
|
createdAt?: string;
|
|
4684
4704
|
embedding?: number[];
|
|
4685
|
-
/** Natural language text to embed server-side into the `embedding` vector column.
|
|
4705
|
+
/** Natural language text to embed server-side into the `embedding` vector column. Provide exactly one of `embedding` or `embeddingText`; sending both is an error. Requires the LLM plugin to be configured with an embedding provider. */
|
|
4686
4706
|
embeddingText?: string;
|
|
4687
4707
|
id?: string;
|
|
4688
4708
|
metadata?: Record<string, unknown>;
|
|
@@ -4701,7 +4721,7 @@ export interface PlatformAgentResourceInput {
|
|
|
4701
4721
|
/** Brief description of this resource */
|
|
4702
4722
|
description?: string;
|
|
4703
4723
|
embedding?: number[];
|
|
4704
|
-
/** Natural language text to embed server-side into the `embedding` vector column.
|
|
4724
|
+
/** Natural language text to embed server-side into the `embedding` vector column. Provide exactly one of `embedding` or `embeddingText`; sending both is an error. Requires the LLM plugin to be configured with an embedding provider. */
|
|
4705
4725
|
embeddingText?: string;
|
|
4706
4726
|
id?: string;
|
|
4707
4727
|
/** Whether this resource is active and retrievable */
|
|
@@ -6093,6 +6113,8 @@ export interface AgentResourceFilter {
|
|
|
6093
6113
|
description?: StringTrgmFilter;
|
|
6094
6114
|
/** Filter by the object’s `embedding` field. */
|
|
6095
6115
|
embedding?: VectorFilter;
|
|
6116
|
+
/** Filter by the object’s `embeddingModel` field. */
|
|
6117
|
+
embeddingModel?: StringTrgmFilter;
|
|
6096
6118
|
/** Filter by the object’s `embeddingUpdatedAt` field. */
|
|
6097
6119
|
embeddingUpdatedAt?: DatetimeFilter;
|
|
6098
6120
|
/** Filter by the object’s `id` field. */
|
|
@@ -6121,6 +6143,8 @@ export interface AgentResourceFilter {
|
|
|
6121
6143
|
trgmBody?: TrgmSearchInput;
|
|
6122
6144
|
/** TRGM search on the `description` column. */
|
|
6123
6145
|
trgmDescription?: TrgmSearchInput;
|
|
6146
|
+
/** TRGM search on the `embedding_model` column. */
|
|
6147
|
+
trgmEmbeddingModel?: TrgmSearchInput;
|
|
6124
6148
|
/** TRGM search on the `kind` column. */
|
|
6125
6149
|
trgmKind?: TrgmSearchInput;
|
|
6126
6150
|
/** TRGM search on the `title` column. */
|
|
@@ -6282,6 +6306,8 @@ export interface PlatformAgentResourceFilter {
|
|
|
6282
6306
|
description?: StringTrgmFilter;
|
|
6283
6307
|
/** Filter by the object’s `embedding` field. */
|
|
6284
6308
|
embedding?: VectorFilter;
|
|
6309
|
+
/** Filter by the object’s `embeddingModel` field. */
|
|
6310
|
+
embeddingModel?: StringTrgmFilter;
|
|
6285
6311
|
/** Filter by the object’s `embeddingUpdatedAt` field. */
|
|
6286
6312
|
embeddingUpdatedAt?: DatetimeFilter;
|
|
6287
6313
|
/** Filter by the object’s `id` field. */
|
|
@@ -6314,6 +6340,8 @@ export interface PlatformAgentResourceFilter {
|
|
|
6314
6340
|
trgmBody?: TrgmSearchInput;
|
|
6315
6341
|
/** TRGM search on the `description` column. */
|
|
6316
6342
|
trgmDescription?: TrgmSearchInput;
|
|
6343
|
+
/** TRGM search on the `embedding_model` column. */
|
|
6344
|
+
trgmEmbeddingModel?: TrgmSearchInput;
|
|
6317
6345
|
/** TRGM search on the `kind` column. */
|
|
6318
6346
|
trgmKind?: TrgmSearchInput;
|
|
6319
6347
|
/** TRGM search on the `title` column. */
|
|
@@ -146,9 +146,7 @@ function buildSelections(select, connectionFieldsMap, entityType) {
|
|
|
146
146
|
const fieldArgs = Object.entries(nested.args).map(([argName, argValue]) => t.argument({ name: argName, value: buildValueAst(argValue) }));
|
|
147
147
|
const nestedSelect = nested.select;
|
|
148
148
|
if (nestedSelect && typeof nestedSelect === 'object') {
|
|
149
|
-
const subSelections =
|
|
150
|
-
.filter(([, v]) => v)
|
|
151
|
-
.map(([name]) => t.field({ name }));
|
|
149
|
+
const subSelections = buildSelections(nestedSelect, connectionFieldsMap);
|
|
152
150
|
fields.push(t.field({
|
|
153
151
|
name: key,
|
|
154
152
|
args: fieldArgs.length ? fieldArgs : undefined,
|
|
@@ -120,6 +120,6 @@ export type HookStrictSelect<S, Shape> = S extends DeepExact<S, Shape, 5> ? {} :
|
|
|
120
120
|
export type InferSelectResult<TEntity, TSelect> = TSelect extends undefined ? TEntity : {
|
|
121
121
|
[K in keyof TSelect as TSelect[K] extends false | undefined ? never : K]: TSelect[K] extends true ? K extends keyof TEntity ? TEntity[K] : never : TSelect[K] extends {
|
|
122
122
|
select: infer NestedSelect;
|
|
123
|
-
} ? K extends keyof TEntity ? NonNullable<TEntity[K]> extends ConnectionResult<infer NodeType> ? ConnectionResult<InferSelectResult<NodeType, NestedSelect>> : InferSelectResult<NonNullable<TEntity[K]>, NestedSelect> | (null extends TEntity[K] ? null : never) : never : K extends keyof TEntity ? TEntity[K] : never;
|
|
123
|
+
} ? K extends keyof TEntity ? NonNullable<TEntity[K]> extends ConnectionResult<infer NodeType> ? ConnectionResult<InferSelectResult<NodeType, NestedSelect>> : NonNullable<TEntity[K]> extends readonly (infer Item)[] ? InferSelectResult<NonNullable<Item>, NestedSelect>[] | (null extends TEntity[K] ? null : never) : InferSelectResult<NonNullable<TEntity[K]>, NestedSelect> | (null extends TEntity[K] ? null : never) : never : K extends keyof TEntity ? TEntity[K] : never;
|
|
124
124
|
};
|
|
125
125
|
export {};
|
package/agent/schema-types.d.ts
CHANGED
|
@@ -19,7 +19,7 @@ export type AgentPromptOrderBy = 'CONTENT_ASC' | 'CONTENT_DESC' | 'CREATED_AT_AS
|
|
|
19
19
|
/** Methods to use when ordering `AgentResourceChunk`. */
|
|
20
20
|
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' | 'DATABASE_ID_ASC' | 'DATABASE_ID_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';
|
|
21
21
|
/** Methods to use when ordering `AgentResource`. */
|
|
22
|
-
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' | 'CREATED_BY_PRINCIPAL_ASC' | 'CREATED_BY_PRINCIPAL_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' | 'UPDATED_BY_PRINCIPAL_ASC' | 'UPDATED_BY_PRINCIPAL_DESC';
|
|
22
|
+
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' | 'CREATED_BY_PRINCIPAL_ASC' | 'CREATED_BY_PRINCIPAL_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'DESCRIPTION_TRGM_SIMILARITY_ASC' | 'DESCRIPTION_TRGM_SIMILARITY_DESC' | 'EMBEDDING_ASC' | 'EMBEDDING_DESC' | 'EMBEDDING_MODEL_ASC' | 'EMBEDDING_MODEL_DESC' | 'EMBEDDING_MODEL_TRGM_SIMILARITY_ASC' | 'EMBEDDING_MODEL_TRGM_SIMILARITY_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' | 'UPDATED_BY_PRINCIPAL_ASC' | 'UPDATED_BY_PRINCIPAL_DESC';
|
|
23
23
|
/** Methods to use when ordering `AgentRun`. */
|
|
24
24
|
export type AgentRunOrderBy = 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'ARTIFACTS_ASC' | 'ARTIFACTS_DESC' | 'ATTEMPT_ASC' | 'ATTEMPT_DESC' | 'BASE_COMMIT_ASC' | 'BASE_COMMIT_DESC' | 'BRANCH_ASC' | 'BRANCH_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'DEADLINE_AT_ASC' | 'DEADLINE_AT_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'ERROR_ASC' | 'ERROR_DESC' | 'EXECUTION_ID_ASC' | 'EXECUTION_ID_DESC' | 'FINISHED_AT_ASC' | 'FINISHED_AT_DESC' | 'HEAD_COMMIT_ASC' | 'HEAD_COMMIT_DESC' | 'ID_ASC' | 'ID_DESC' | 'LAST_EVENT_SEQ_ASC' | 'LAST_EVENT_SEQ_DESC' | 'NATURAL' | 'PARENT_RUN_ID_ASC' | 'PARENT_RUN_ID_DESC' | 'PLACEMENT_ASC' | 'PLACEMENT_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'PRINCIPAL_ID_ASC' | 'PRINCIPAL_ID_DESC' | 'REPO_URL_ASC' | 'REPO_URL_DESC' | 'STARTED_AT_ASC' | 'STARTED_AT_DESC' | 'STATUS_ASC' | 'STATUS_DESC' | 'THREAD_ID_ASC' | 'THREAD_ID_DESC' | 'TOKEN_USAGE_ASC' | 'TOKEN_USAGE_DESC' | 'TOTAL_COST_ASC' | 'TOTAL_COST_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'VISIBILITY_ASC' | 'VISIBILITY_DESC';
|
|
25
25
|
/** Methods to use when ordering `AgentRunWorkspace`. */
|
|
@@ -43,7 +43,7 @@ export type PlatformAgentPromptOrderBy = 'CONTENT_ASC' | 'CONTENT_DESC' | 'CREAT
|
|
|
43
43
|
/** Methods to use when ordering `PlatformAgentResourceChunk`. */
|
|
44
44
|
export type PlatformAgentResourceChunkOrderBy = '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' | 'PLATFORM_AGENT_RESOURCE_ID_ASC' | 'PLATFORM_AGENT_RESOURCE_ID_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'SEARCH_SCORE_ASC' | 'SEARCH_SCORE_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
|
|
45
45
|
/** Methods to use when ordering `PlatformAgentResource`. */
|
|
46
|
-
export type PlatformAgentResourceOrderBy = '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' | 'CREATED_BY_PRINCIPAL_ASC' | 'CREATED_BY_PRINCIPAL_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' | 'UPDATED_BY_PRINCIPAL_ASC' | 'UPDATED_BY_PRINCIPAL_DESC';
|
|
46
|
+
export type PlatformAgentResourceOrderBy = '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' | 'CREATED_BY_PRINCIPAL_ASC' | 'CREATED_BY_PRINCIPAL_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'DESCRIPTION_TRGM_SIMILARITY_ASC' | 'DESCRIPTION_TRGM_SIMILARITY_DESC' | 'EMBEDDING_ASC' | 'EMBEDDING_DESC' | 'EMBEDDING_MODEL_ASC' | 'EMBEDDING_MODEL_DESC' | 'EMBEDDING_MODEL_TRGM_SIMILARITY_ASC' | 'EMBEDDING_MODEL_TRGM_SIMILARITY_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' | 'UPDATED_BY_PRINCIPAL_ASC' | 'UPDATED_BY_PRINCIPAL_DESC';
|
|
47
47
|
/** Methods to use when ordering `PlatformAgentRun`. */
|
|
48
48
|
export type PlatformAgentRunOrderBy = 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'ARTIFACTS_ASC' | 'ARTIFACTS_DESC' | 'ATTEMPT_ASC' | 'ATTEMPT_DESC' | 'BASE_COMMIT_ASC' | 'BASE_COMMIT_DESC' | 'BRANCH_ASC' | 'BRANCH_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'DEADLINE_AT_ASC' | 'DEADLINE_AT_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'ERROR_ASC' | 'ERROR_DESC' | 'EXECUTION_ID_ASC' | 'EXECUTION_ID_DESC' | 'FINISHED_AT_ASC' | 'FINISHED_AT_DESC' | 'HEAD_COMMIT_ASC' | 'HEAD_COMMIT_DESC' | 'ID_ASC' | 'ID_DESC' | 'LAST_EVENT_SEQ_ASC' | 'LAST_EVENT_SEQ_DESC' | 'NATURAL' | 'PARENT_RUN_ID_ASC' | 'PARENT_RUN_ID_DESC' | 'PLACEMENT_ASC' | 'PLACEMENT_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'PRINCIPAL_ID_ASC' | 'PRINCIPAL_ID_DESC' | 'REPO_URL_ASC' | 'REPO_URL_DESC' | 'STARTED_AT_ASC' | 'STARTED_AT_DESC' | 'STATUS_ASC' | 'STATUS_DESC' | 'THREAD_ID_ASC' | 'THREAD_ID_DESC' | 'TOKEN_USAGE_ASC' | 'TOKEN_USAGE_DESC' | 'TOTAL_COST_ASC' | 'TOTAL_COST_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'VISIBILITY_ASC' | 'VISIBILITY_DESC';
|
|
49
49
|
/** Methods to use when ordering `PlatformAgentRunWorkspace`. */
|
|
@@ -641,7 +641,7 @@ export interface AgentResourceChunkInput {
|
|
|
641
641
|
/** Policy-required field derived from source table (used by AuthzRelatedEntityMembership) */
|
|
642
642
|
databaseId?: string;
|
|
643
643
|
embedding?: number[];
|
|
644
|
-
/** Natural language text to embed server-side into the `embedding` vector column.
|
|
644
|
+
/** Natural language text to embed server-side into the `embedding` vector column. Provide exactly one of `embedding` or `embeddingText`; sending both is an error. Requires the LLM plugin to be configured with an embedding provider. */
|
|
645
645
|
embeddingText?: string;
|
|
646
646
|
id?: string;
|
|
647
647
|
metadata?: unknown;
|
|
@@ -656,7 +656,7 @@ export interface AgentResourceChunkPatch {
|
|
|
656
656
|
/** Policy-required field derived from source table (used by AuthzRelatedEntityMembership) */
|
|
657
657
|
databaseId?: string;
|
|
658
658
|
embedding?: number[];
|
|
659
|
-
/** Natural language text to embed server-side into the `embedding` vector column.
|
|
659
|
+
/** Natural language text to embed server-side into the `embedding` vector column. Provide exactly one of `embedding` or `embeddingText`; sending both is an error. Requires the LLM plugin to be configured with an embedding provider. */
|
|
660
660
|
embeddingText?: string;
|
|
661
661
|
id?: string;
|
|
662
662
|
metadata?: unknown;
|
|
@@ -686,6 +686,8 @@ export interface AgentResourceFilter {
|
|
|
686
686
|
description?: StringTrgmFilter;
|
|
687
687
|
/** Filter by the object’s `embedding` field. */
|
|
688
688
|
embedding?: VectorFilter;
|
|
689
|
+
/** Filter by the object’s `embeddingModel` field. */
|
|
690
|
+
embeddingModel?: StringTrgmFilter;
|
|
689
691
|
/** Filter by the object’s `embeddingUpdatedAt` field. */
|
|
690
692
|
embeddingUpdatedAt?: DatetimeFilter;
|
|
691
693
|
/** Filter by the object’s `id` field. */
|
|
@@ -714,6 +716,8 @@ export interface AgentResourceFilter {
|
|
|
714
716
|
trgmBody?: TrgmSearchInput;
|
|
715
717
|
/** TRGM search on the `description` column. */
|
|
716
718
|
trgmDescription?: TrgmSearchInput;
|
|
719
|
+
/** TRGM search on the `embedding_model` column. */
|
|
720
|
+
trgmEmbeddingModel?: TrgmSearchInput;
|
|
717
721
|
/** TRGM search on the `kind` column. */
|
|
718
722
|
trgmKind?: TrgmSearchInput;
|
|
719
723
|
/** TRGM search on the `title` column. */
|
|
@@ -751,7 +755,7 @@ export interface AgentResourceInput {
|
|
|
751
755
|
/** Brief description of this resource */
|
|
752
756
|
description?: string;
|
|
753
757
|
embedding?: number[];
|
|
754
|
-
/** Natural language text to embed server-side into the `embedding` vector column.
|
|
758
|
+
/** Natural language text to embed server-side into the `embedding` vector column. Provide exactly one of `embedding` or `embeddingText`; sending both is an error. Requires the LLM plugin to be configured with an embedding provider. */
|
|
755
759
|
embeddingText?: string;
|
|
756
760
|
id?: string;
|
|
757
761
|
/** Whether this resource is active and retrievable */
|
|
@@ -786,7 +790,7 @@ export interface AgentResourcePatch {
|
|
|
786
790
|
/** Brief description of this resource */
|
|
787
791
|
description?: string;
|
|
788
792
|
embedding?: number[];
|
|
789
|
-
/** Natural language text to embed server-side into the `embedding` vector column.
|
|
793
|
+
/** Natural language text to embed server-side into the `embedding` vector column. Provide exactly one of `embedding` or `embeddingText`; sending both is an error. Requires the LLM plugin to be configured with an embedding provider. */
|
|
790
794
|
embeddingText?: string;
|
|
791
795
|
id?: string;
|
|
792
796
|
/** Whether this resource is active and retrievable */
|
|
@@ -2222,7 +2226,7 @@ export interface PlatformAgentResourceChunkInput {
|
|
|
2222
2226
|
chunkIndex?: number;
|
|
2223
2227
|
createdAt?: string;
|
|
2224
2228
|
embedding?: number[];
|
|
2225
|
-
/** Natural language text to embed server-side into the `embedding` vector column.
|
|
2229
|
+
/** Natural language text to embed server-side into the `embedding` vector column. Provide exactly one of `embedding` or `embeddingText`; sending both is an error. Requires the LLM plugin to be configured with an embedding provider. */
|
|
2226
2230
|
embeddingText?: string;
|
|
2227
2231
|
id?: string;
|
|
2228
2232
|
metadata?: unknown;
|
|
@@ -2235,7 +2239,7 @@ export interface PlatformAgentResourceChunkPatch {
|
|
|
2235
2239
|
chunkIndex?: number;
|
|
2236
2240
|
createdAt?: string;
|
|
2237
2241
|
embedding?: number[];
|
|
2238
|
-
/** Natural language text to embed server-side into the `embedding` vector column.
|
|
2242
|
+
/** Natural language text to embed server-side into the `embedding` vector column. Provide exactly one of `embedding` or `embeddingText`; sending both is an error. Requires the LLM plugin to be configured with an embedding provider. */
|
|
2239
2243
|
embeddingText?: string;
|
|
2240
2244
|
id?: string;
|
|
2241
2245
|
metadata?: unknown;
|
|
@@ -2260,6 +2264,8 @@ export interface PlatformAgentResourceFilter {
|
|
|
2260
2264
|
description?: StringTrgmFilter;
|
|
2261
2265
|
/** Filter by the object’s `embedding` field. */
|
|
2262
2266
|
embedding?: VectorFilter;
|
|
2267
|
+
/** Filter by the object’s `embeddingModel` field. */
|
|
2268
|
+
embeddingModel?: StringTrgmFilter;
|
|
2263
2269
|
/** Filter by the object’s `embeddingUpdatedAt` field. */
|
|
2264
2270
|
embeddingUpdatedAt?: DatetimeFilter;
|
|
2265
2271
|
/** Filter by the object’s `id` field. */
|
|
@@ -2292,6 +2298,8 @@ export interface PlatformAgentResourceFilter {
|
|
|
2292
2298
|
trgmBody?: TrgmSearchInput;
|
|
2293
2299
|
/** TRGM search on the `description` column. */
|
|
2294
2300
|
trgmDescription?: TrgmSearchInput;
|
|
2301
|
+
/** TRGM search on the `embedding_model` column. */
|
|
2302
|
+
trgmEmbeddingModel?: TrgmSearchInput;
|
|
2295
2303
|
/** TRGM search on the `kind` column. */
|
|
2296
2304
|
trgmKind?: TrgmSearchInput;
|
|
2297
2305
|
/** TRGM search on the `title` column. */
|
|
@@ -2327,7 +2335,7 @@ export interface PlatformAgentResourceInput {
|
|
|
2327
2335
|
/** Brief description of this resource */
|
|
2328
2336
|
description?: string;
|
|
2329
2337
|
embedding?: number[];
|
|
2330
|
-
/** Natural language text to embed server-side into the `embedding` vector column.
|
|
2338
|
+
/** Natural language text to embed server-side into the `embedding` vector column. Provide exactly one of `embedding` or `embeddingText`; sending both is an error. Requires the LLM plugin to be configured with an embedding provider. */
|
|
2331
2339
|
embeddingText?: string;
|
|
2332
2340
|
id?: string;
|
|
2333
2341
|
/** Whether this resource is active and retrievable */
|
|
@@ -2360,7 +2368,7 @@ export interface PlatformAgentResourcePatch {
|
|
|
2360
2368
|
/** Brief description of this resource */
|
|
2361
2369
|
description?: string;
|
|
2362
2370
|
embedding?: number[];
|
|
2363
|
-
/** Natural language text to embed server-side into the `embedding` vector column.
|
|
2371
|
+
/** Natural language text to embed server-side into the `embedding` vector column. Provide exactly one of `embedding` or `embeddingText`; sending both is an error. Requires the LLM plugin to be configured with an embedding provider. */
|
|
2364
2372
|
embeddingText?: string;
|
|
2365
2373
|
id?: string;
|
|
2366
2374
|
/** Whether this resource is active and retrievable */
|
|
@@ -3265,10 +3273,12 @@ export interface VectorNearbyInput {
|
|
|
3265
3273
|
includeChunks?: boolean;
|
|
3266
3274
|
/** Similarity metric to use (default: COSINE). */
|
|
3267
3275
|
metric?: VectorMetric;
|
|
3268
|
-
/**
|
|
3276
|
+
/** The model that produced `vector`. On a column that records the model of each row's vector, only rows embedded with this model are compared; vectors of two models are not comparable. Filled in server-side when `text` is embedded. */
|
|
3277
|
+
model?: string;
|
|
3278
|
+
/** Natural language text to embed server-side for similarity search. Provide exactly one of `text` or `vector`; sending both or neither is an error. Blank text on its own counts as not given. Requires the LLM plugin to be configured with an embedding provider. */
|
|
3269
3279
|
text?: string;
|
|
3270
3280
|
/** Query vector for similarity search. */
|
|
3271
|
-
vector
|
|
3281
|
+
vector?: number[];
|
|
3272
3282
|
}
|
|
3273
3283
|
/** Root meta schema type */
|
|
3274
3284
|
export interface MetaSchema {
|
|
@@ -3886,21 +3896,27 @@ export interface UpdatePlatformAgentThreadPayload {
|
|
|
3886
3896
|
/** Information about a database table */
|
|
3887
3897
|
export interface MetaTable {
|
|
3888
3898
|
constraints: MetaConstraints;
|
|
3899
|
+
/** Description written for this table, or null */
|
|
3900
|
+
description?: string | null;
|
|
3889
3901
|
fields: MetaField[];
|
|
3890
3902
|
foreignKeyConstraints: MetaForeignKeyConstraint[];
|
|
3891
|
-
/** i18n metadata (null if
|
|
3903
|
+
/** i18n metadata (null if the table is not translatable) */
|
|
3892
3904
|
i18n?: MetaI18n | null;
|
|
3893
3905
|
indexes: MetaIndex[];
|
|
3894
3906
|
inflection: MetaInflection;
|
|
3907
|
+
/** Whether this table only links rows of two other tables; the link appears in their manyToMany relations */
|
|
3908
|
+
isJunction: boolean;
|
|
3909
|
+
/** 'table' when rows are stored in this table, 'view' when they come from a view of other tables */
|
|
3910
|
+
kind: string;
|
|
3895
3911
|
/** Final GraphQL output type name */
|
|
3896
3912
|
name: string;
|
|
3897
3913
|
primaryKeyConstraints: MetaPrimaryKeyConstraint[];
|
|
3898
3914
|
query: MetaQuery;
|
|
3899
|
-
/** Realtime metadata (null if no
|
|
3915
|
+
/** Realtime metadata (null if the table has no change subscriptions) */
|
|
3900
3916
|
realtime?: MetaRealtime | null;
|
|
3901
3917
|
relations: MetaRelations;
|
|
3902
3918
|
schemaName: string;
|
|
3903
|
-
/** Provisioning scope metadata (null if no
|
|
3919
|
+
/** Provisioning scope metadata (null if the table has no scope) */
|
|
3904
3920
|
scope?: MetaScope | null;
|
|
3905
3921
|
/** Search metadata (null if no search configured) */
|
|
3906
3922
|
search?: MetaSearch | null;
|
|
@@ -4073,15 +4089,27 @@ export interface MetaConstraints {
|
|
|
4073
4089
|
}
|
|
4074
4090
|
/** Information about a table field/column */
|
|
4075
4091
|
export interface MetaField {
|
|
4092
|
+
/** Values this field accepts, when the set is fixed; null otherwise. Set on a table's own fields only. */
|
|
4093
|
+
allowedValues?: string[] | null;
|
|
4076
4094
|
/** PostgreSQL column name */
|
|
4077
4095
|
columnName: string;
|
|
4078
4096
|
description?: string | null;
|
|
4079
4097
|
/** Enum metadata if this field has an enum type */
|
|
4080
4098
|
enumValues?: MetaEnum | null;
|
|
4099
|
+
/** Set when the field holds files; null otherwise. Set on a table's own fields only. */
|
|
4100
|
+
file?: MetaFileField | null;
|
|
4081
4101
|
hasDefault: boolean;
|
|
4102
|
+
/** Whether the value is always computed and cannot be written, even when a create or update input offers the field. Set on a table's own fields only. */
|
|
4103
|
+
isComputed?: boolean | null;
|
|
4082
4104
|
isForeignKey: boolean;
|
|
4083
4105
|
isNotNull: boolean;
|
|
4084
4106
|
isPrimaryKey: boolean;
|
|
4107
|
+
/** Whether a create must provide this field. Set on a table's own fields only. */
|
|
4108
|
+
isRequiredOnCreate?: boolean | null;
|
|
4109
|
+
/** Whether a create may set this field. Set on a table's own fields only. */
|
|
4110
|
+
isWritableOnCreate?: boolean | null;
|
|
4111
|
+
/** Whether an update may change this field. Set on a table's own fields only. */
|
|
4112
|
+
isWritableOnUpdate?: boolean | null;
|
|
4085
4113
|
/** Final GraphQL field name */
|
|
4086
4114
|
name: string;
|
|
4087
4115
|
type: MetaType;
|
|
@@ -4095,7 +4123,7 @@ export interface MetaForeignKeyConstraint {
|
|
|
4095
4123
|
referencedFields: string[];
|
|
4096
4124
|
referencedTable: string;
|
|
4097
4125
|
}
|
|
4098
|
-
/** i18n metadata for a table
|
|
4126
|
+
/** i18n metadata for a translatable table */
|
|
4099
4127
|
export interface MetaI18n {
|
|
4100
4128
|
/** Fields that are translatable */
|
|
4101
4129
|
translatableFields: MetaI18nField[];
|
|
@@ -4110,7 +4138,7 @@ export interface MetaIndex {
|
|
|
4110
4138
|
isUnique: boolean;
|
|
4111
4139
|
name: string;
|
|
4112
4140
|
}
|
|
4113
|
-
/**
|
|
4141
|
+
/** Type and field names generated for this table */
|
|
4114
4142
|
export interface MetaInflection {
|
|
4115
4143
|
allRows: string;
|
|
4116
4144
|
conditionType: string;
|
|
@@ -4138,7 +4166,7 @@ export interface MetaQuery {
|
|
|
4138
4166
|
one?: string | null;
|
|
4139
4167
|
update?: string | null;
|
|
4140
4168
|
}
|
|
4141
|
-
/** Realtime metadata for a table with
|
|
4169
|
+
/** Realtime metadata for a table with change subscriptions */
|
|
4142
4170
|
export interface MetaRealtime {
|
|
4143
4171
|
/** The generated subscription field name (e.g. onPostChanged) */
|
|
4144
4172
|
subscriptionFieldName: string;
|
|
@@ -4153,13 +4181,13 @@ export interface MetaRelations {
|
|
|
4153
4181
|
}
|
|
4154
4182
|
/** Provisioning scope metadata for a table */
|
|
4155
4183
|
export interface MetaScope {
|
|
4156
|
-
/**
|
|
4184
|
+
/** Name of the entity table for entity scopes, else null */
|
|
4157
4185
|
entityTable?: string | null;
|
|
4158
|
-
/**
|
|
4186
|
+
/** Field name of the scope key (e.g. databaseId, orgId), null for global tiers */
|
|
4159
4187
|
keyColumn?: string | null;
|
|
4160
4188
|
/** Provisioning scope: 'platform', 'app', 'database', or an entity scope (e.g. 'org') */
|
|
4161
4189
|
scope: string;
|
|
4162
|
-
/**
|
|
4190
|
+
/** Where this scope metadata comes from */
|
|
4163
4191
|
source: string;
|
|
4164
4192
|
/** Coarse bucket: 'global', 'database', or 'entity' */
|
|
4165
4193
|
tier: string;
|
|
@@ -4177,17 +4205,17 @@ export interface MetaSearch {
|
|
|
4177
4205
|
}
|
|
4178
4206
|
/** Storage metadata for a table */
|
|
4179
4207
|
export interface MetaStorage {
|
|
4180
|
-
/** GraphQL type name of the
|
|
4208
|
+
/** GraphQL type name of the paired buckets table */
|
|
4181
4209
|
bucketsType: string;
|
|
4182
4210
|
/** Computed download-URL field on the files type; null on the buckets side */
|
|
4183
4211
|
downloadUrlField?: string | null;
|
|
4184
|
-
/** GraphQL type name of the
|
|
4212
|
+
/** GraphQL type name of the paired files table */
|
|
4185
4213
|
filesType: string;
|
|
4186
4214
|
/** Whether this table is a storage buckets table */
|
|
4187
4215
|
isBucketsTable: boolean;
|
|
4188
4216
|
/** Whether this table is a storage files table */
|
|
4189
4217
|
isFilesTable: boolean;
|
|
4190
|
-
/**
|
|
4218
|
+
/** Upload mutations and types for this storage */
|
|
4191
4219
|
upload: MetaStorageUpload;
|
|
4192
4220
|
}
|
|
4193
4221
|
/** Information about a unique constraint */
|
|
@@ -4202,6 +4230,15 @@ export interface MetaEnum {
|
|
|
4202
4230
|
/** Allowed values for this enum */
|
|
4203
4231
|
values: string[];
|
|
4204
4232
|
}
|
|
4233
|
+
/** How a field holds files */
|
|
4234
|
+
export interface MetaFileField {
|
|
4235
|
+
/** GraphQL type name of the files table uploads are recorded in, when this API has exactly one; null otherwise */
|
|
4236
|
+
filesType?: string | null;
|
|
4237
|
+
/** Whether the field holds a list of files */
|
|
4238
|
+
isMultiple: boolean;
|
|
4239
|
+
/** image, upload, or attachment. An image or upload holds a file document; an attachment holds a link to a file. */
|
|
4240
|
+
kind: string;
|
|
4241
|
+
}
|
|
4205
4242
|
/** Information about a PostgreSQL type */
|
|
4206
4243
|
export interface MetaType {
|
|
4207
4244
|
/** Scalar serialization contract (null for plain scalars) */
|
|
@@ -4210,7 +4247,13 @@ export interface MetaType {
|
|
|
4210
4247
|
hasDefault?: boolean | null;
|
|
4211
4248
|
isArray: boolean;
|
|
4212
4249
|
isNotNull?: boolean | null;
|
|
4250
|
+
/** Most characters a text value may hold, or most bits a bit string may hold; for a list, each item. Null when unbounded. */
|
|
4251
|
+
maxLength?: number | null;
|
|
4213
4252
|
pgType: string;
|
|
4253
|
+
/** Most significant digits a decimal number may hold. Null when unbounded. */
|
|
4254
|
+
precision?: number | null;
|
|
4255
|
+
/** Digits a decimal number keeps after the decimal point. Null when unbounded. */
|
|
4256
|
+
scale?: number | null;
|
|
4214
4257
|
subtype?: string | null;
|
|
4215
4258
|
}
|
|
4216
4259
|
/** Reference to a related table */
|
|
@@ -4229,6 +4272,8 @@ export interface MetaBelongsToRelation {
|
|
|
4229
4272
|
fieldName?: string | null;
|
|
4230
4273
|
isUnique: boolean;
|
|
4231
4274
|
keys: MetaField[];
|
|
4275
|
+
/** Fields on the referenced table that keys point at, in the same order as keys */
|
|
4276
|
+
refKeys: MetaField[];
|
|
4232
4277
|
references: MetaRefTable;
|
|
4233
4278
|
type?: string | null;
|
|
4234
4279
|
}
|
|
@@ -4238,6 +4283,8 @@ export interface MetaHasRelation {
|
|
|
4238
4283
|
isUnique: boolean;
|
|
4239
4284
|
keys: MetaField[];
|
|
4240
4285
|
referencedBy: MetaRefTable;
|
|
4286
|
+
/** Fields on the related table that point at this table, in the same order as keys */
|
|
4287
|
+
remoteKeys: MetaField[];
|
|
4241
4288
|
type?: string | null;
|
|
4242
4289
|
}
|
|
4243
4290
|
/** A many-to-many relation via junction table */
|
|
@@ -4260,7 +4307,7 @@ export interface MetaSearchColumn {
|
|
|
4260
4307
|
/** Column name (camelCase) */
|
|
4261
4308
|
name: string;
|
|
4262
4309
|
}
|
|
4263
|
-
/** Per-table search configuration
|
|
4310
|
+
/** Per-table search configuration */
|
|
4264
4311
|
export interface MetaSearchConfig {
|
|
4265
4312
|
/** Exponential decay factor per day */
|
|
4266
4313
|
boostRecencyDecay?: number | null;
|
|
@@ -4271,7 +4318,7 @@ export interface MetaSearchConfig {
|
|
|
4271
4318
|
/** JSON-encoded per-adapter score weights */
|
|
4272
4319
|
weights?: string | null;
|
|
4273
4320
|
}
|
|
4274
|
-
/** The
|
|
4321
|
+
/** The upload mutations and types for a storage table pair */
|
|
4275
4322
|
export interface MetaStorageUpload {
|
|
4276
4323
|
/** Per-file input type inside the bulk input */
|
|
4277
4324
|
bulkFileInputType: string;
|
|
@@ -4289,14 +4336,14 @@ export interface MetaStorageUpload {
|
|
|
4289
4336
|
mutation: string;
|
|
4290
4337
|
/** Payload type of the single upload mutation */
|
|
4291
4338
|
payloadType: string;
|
|
4292
|
-
/** Whether the upload input requires ownerId
|
|
4339
|
+
/** Whether the upload input requires ownerId */
|
|
4293
4340
|
requiresOwnerId: boolean;
|
|
4294
4341
|
}
|
|
4295
|
-
/** How a client must serialize
|
|
4342
|
+
/** How a client must serialize and parse a scalar whose wire format gqlType alone does not settle. Null for plain scalars whose wire format is obvious from gqlType. */
|
|
4296
4343
|
export interface MetaScalarEncoding {
|
|
4297
4344
|
/** For 'vector': declared length, else null. */
|
|
4298
4345
|
dimensions?: number | null;
|
|
4299
|
-
/** For 'ltree': values are dot-separated
|
|
4346
|
+
/** For 'ltree': true when values are dot-separated paths ('a.b.c'), false when they are slash-separated paths ('/a/b/c'). */
|
|
4300
4347
|
dotPath?: boolean | null;
|
|
4301
4348
|
/** For 'vector': element scalar (e.g. 'float'). */
|
|
4302
4349
|
elementType?: string | null;
|
package/agent/types.d.ts
CHANGED
|
@@ -114,6 +114,8 @@ export interface AgentResource {
|
|
|
114
114
|
description: string | null;
|
|
115
115
|
descriptionTrgmSimilarity: number | null;
|
|
116
116
|
embedding: number[] | null;
|
|
117
|
+
embeddingModel: string | null;
|
|
118
|
+
embeddingModelTrgmSimilarity: number | null;
|
|
117
119
|
embeddingUpdatedAt: string | null;
|
|
118
120
|
embeddingVectorDistance: number | null;
|
|
119
121
|
id: string | null;
|
|
@@ -324,6 +326,8 @@ export interface PlatformAgentResource {
|
|
|
324
326
|
description: string | null;
|
|
325
327
|
descriptionTrgmSimilarity: number | null;
|
|
326
328
|
embedding: number[] | null;
|
|
329
|
+
embeddingModel: string | null;
|
|
330
|
+
embeddingModelTrgmSimilarity: number | null;
|
|
327
331
|
embeddingUpdatedAt: string | null;
|
|
328
332
|
embeddingVectorDistance: number | null;
|
|
329
333
|
id: string | null;
|