@constructive-io/react 0.15.2 → 0.15.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/admin/hooks/index.d.ts +1 -1
- package/admin/hooks/index.js +1 -1
- package/admin/hooks/invalidation.d.ts +65 -47
- package/admin/hooks/invalidation.js +143 -95
- package/admin/hooks/mutation-keys.d.ts +130 -96
- package/admin/hooks/mutation-keys.js +78 -60
- package/admin/hooks/mutations/index.d.ts +32 -28
- package/admin/hooks/mutations/index.js +32 -28
- package/admin/hooks/mutations/useCreateAppLimitEventMutation.d.ts +34 -0
- package/{auth/hooks/mutations/useConfirmUploadMutation.js → admin/hooks/mutations/useCreateAppLimitEventMutation.js} +14 -6
- package/admin/hooks/mutations/useCreateOrgLimitAggregateMutation.d.ts +34 -0
- package/admin/hooks/mutations/useCreateOrgLimitAggregateMutation.js +34 -0
- package/admin/hooks/mutations/useCreateOrgLimitEventMutation.d.ts +34 -0
- package/admin/hooks/mutations/useCreateOrgLimitEventMutation.js +34 -0
- package/admin/hooks/mutations/useDeleteOrgLimitAggregateMutation.d.ts +38 -0
- package/admin/hooks/mutations/useDeleteOrgLimitAggregateMutation.js +39 -0
- package/admin/hooks/mutations/useUpdateOrgLimitAggregateMutation.d.ts +40 -0
- package/admin/hooks/mutations/useUpdateOrgLimitAggregateMutation.js +40 -0
- package/admin/hooks/queries/index.d.ts +22 -18
- package/admin/hooks/queries/index.js +22 -18
- package/admin/hooks/queries/useAppLimitEventsQuery.d.ts +69 -0
- package/admin/hooks/queries/useAppLimitEventsQuery.js +38 -0
- package/admin/hooks/queries/useOrgLimitAggregateQuery.d.ts +65 -0
- package/admin/hooks/queries/useOrgLimitAggregateQuery.js +53 -0
- package/admin/hooks/queries/useOrgLimitAggregatesQuery.d.ts +69 -0
- package/admin/hooks/queries/useOrgLimitAggregatesQuery.js +38 -0
- package/admin/hooks/queries/useOrgLimitEventsQuery.d.ts +69 -0
- package/admin/hooks/queries/useOrgLimitEventsQuery.js +38 -0
- package/admin/hooks/query-keys.d.ts +154 -112
- package/admin/hooks/query-keys.js +90 -66
- package/admin/orm/index.d.ts +24 -23
- package/admin/orm/index.js +24 -18
- package/admin/orm/input-types.d.ts +1297 -839
- package/admin/orm/models/appLimitEvent.d.ts +32 -0
- package/admin/orm/models/appLimitEvent.js +55 -0
- package/admin/orm/models/index.d.ts +12 -9
- package/admin/orm/models/index.js +25 -19
- package/admin/orm/models/orgLimitAggregate.d.ts +56 -0
- package/admin/orm/models/orgLimitAggregate.js +100 -0
- package/admin/orm/models/orgLimitEvent.d.ts +32 -0
- package/admin/orm/models/orgLimitEvent.js +55 -0
- package/admin/orm/mutation/index.d.ts +1 -15
- package/admin/orm/mutation/index.js +0 -12
- package/admin/schema-types.d.ts +1207 -856
- package/admin/types.d.ts +96 -53
- package/auth/hooks/mutation-keys.d.ts +0 -2
- package/auth/hooks/mutation-keys.js +0 -3
- package/auth/hooks/mutations/index.d.ts +0 -1
- package/auth/hooks/mutations/index.js +0 -1
- package/auth/orm/index.d.ts +0 -5
- package/auth/orm/input-types.d.ts +0 -20
- package/auth/orm/mutation/index.d.ts +1 -15
- package/auth/orm/mutation/index.js +0 -12
- package/auth/schema-types.d.ts +0 -14
- package/esm/admin/hooks/index.d.ts +1 -1
- package/esm/admin/hooks/index.js +1 -1
- package/esm/admin/hooks/invalidation.d.ts +65 -47
- package/esm/admin/hooks/invalidation.js +144 -96
- package/esm/admin/hooks/mutation-keys.d.ts +130 -96
- package/esm/admin/hooks/mutation-keys.js +77 -59
- package/esm/admin/hooks/mutations/index.d.ts +32 -28
- package/esm/admin/hooks/mutations/index.js +32 -28
- package/esm/admin/hooks/mutations/useCreateAppLimitEventMutation.d.ts +34 -0
- package/esm/admin/hooks/mutations/useCreateAppLimitEventMutation.js +31 -0
- package/esm/admin/hooks/mutations/useCreateOrgLimitAggregateMutation.d.ts +34 -0
- package/esm/admin/hooks/mutations/useCreateOrgLimitAggregateMutation.js +31 -0
- package/esm/admin/hooks/mutations/useCreateOrgLimitEventMutation.d.ts +34 -0
- package/esm/admin/hooks/mutations/useCreateOrgLimitEventMutation.js +31 -0
- package/esm/admin/hooks/mutations/useDeleteOrgLimitAggregateMutation.d.ts +38 -0
- package/esm/admin/hooks/mutations/useDeleteOrgLimitAggregateMutation.js +36 -0
- package/esm/admin/hooks/mutations/useUpdateOrgLimitAggregateMutation.d.ts +40 -0
- package/esm/admin/hooks/mutations/useUpdateOrgLimitAggregateMutation.js +37 -0
- package/esm/admin/hooks/queries/index.d.ts +22 -18
- package/esm/admin/hooks/queries/index.js +22 -18
- package/esm/admin/hooks/queries/useAppLimitEventsQuery.d.ts +69 -0
- package/esm/admin/hooks/queries/useAppLimitEventsQuery.js +32 -0
- package/esm/admin/hooks/queries/useOrgLimitAggregateQuery.d.ts +65 -0
- package/esm/admin/hooks/queries/useOrgLimitAggregateQuery.js +47 -0
- package/esm/admin/hooks/queries/useOrgLimitAggregatesQuery.d.ts +69 -0
- package/esm/admin/hooks/queries/useOrgLimitAggregatesQuery.js +32 -0
- package/esm/admin/hooks/queries/useOrgLimitEventsQuery.d.ts +69 -0
- package/esm/admin/hooks/queries/useOrgLimitEventsQuery.js +32 -0
- package/esm/admin/hooks/query-keys.d.ts +154 -112
- package/esm/admin/hooks/query-keys.js +89 -65
- package/esm/admin/orm/index.d.ts +24 -23
- package/esm/admin/orm/index.js +24 -18
- package/esm/admin/orm/input-types.d.ts +1297 -839
- package/esm/admin/orm/models/appLimitEvent.d.ts +32 -0
- package/esm/admin/orm/models/appLimitEvent.js +51 -0
- package/esm/admin/orm/models/index.d.ts +12 -9
- package/esm/admin/orm/models/index.js +12 -9
- package/esm/admin/orm/models/orgLimitAggregate.d.ts +56 -0
- package/esm/admin/orm/models/orgLimitAggregate.js +96 -0
- package/esm/admin/orm/models/orgLimitEvent.d.ts +32 -0
- package/esm/admin/orm/models/orgLimitEvent.js +51 -0
- package/esm/admin/orm/mutation/index.d.ts +1 -15
- package/esm/admin/orm/mutation/index.js +0 -12
- package/esm/admin/schema-types.d.ts +1207 -856
- package/esm/admin/types.d.ts +96 -53
- package/esm/auth/hooks/mutation-keys.d.ts +0 -2
- package/esm/auth/hooks/mutation-keys.js +0 -3
- package/esm/auth/hooks/mutations/index.d.ts +0 -1
- package/esm/auth/hooks/mutations/index.js +0 -1
- package/esm/auth/orm/index.d.ts +0 -5
- package/esm/auth/orm/input-types.d.ts +0 -20
- package/esm/auth/orm/mutation/index.d.ts +1 -15
- package/esm/auth/orm/mutation/index.js +0 -12
- package/esm/auth/schema-types.d.ts +0 -14
- package/esm/objects/hooks/mutation-keys.d.ts +0 -2
- package/esm/objects/hooks/mutation-keys.js +0 -3
- package/esm/objects/hooks/mutations/index.d.ts +0 -1
- package/esm/objects/hooks/mutations/index.js +0 -1
- package/esm/objects/orm/index.d.ts +0 -5
- package/esm/objects/orm/input-types.d.ts +0 -20
- package/esm/objects/orm/mutation/index.d.ts +1 -15
- package/esm/objects/orm/mutation/index.js +0 -12
- package/esm/objects/schema-types.d.ts +0 -14
- package/esm/public/hooks/index.d.ts +1 -1
- package/esm/public/hooks/index.js +1 -1
- package/esm/public/hooks/invalidation.d.ts +101 -47
- package/esm/public/hooks/invalidation.js +239 -95
- package/esm/public/hooks/mutation-keys.d.ts +206 -100
- package/esm/public/hooks/mutation-keys.js +125 -65
- package/esm/public/hooks/mutations/index.d.ts +50 -28
- package/esm/public/hooks/mutations/index.js +50 -28
- package/esm/public/hooks/mutations/useCreateAgentMessageMutation.d.ts +34 -0
- package/esm/public/hooks/mutations/useCreateAgentMessageMutation.js +31 -0
- package/esm/public/hooks/mutations/useCreateAgentTaskMutation.d.ts +34 -0
- package/esm/public/hooks/mutations/useCreateAgentTaskMutation.js +31 -0
- package/esm/public/hooks/mutations/useCreateAgentThreadMutation.d.ts +34 -0
- package/esm/public/hooks/mutations/useCreateAgentThreadMutation.js +31 -0
- package/esm/public/hooks/mutations/useCreateAppLimitEventMutation.d.ts +34 -0
- package/esm/public/hooks/mutations/useCreateAppLimitEventMutation.js +31 -0
- package/esm/public/hooks/mutations/useCreateBillingModuleMutation.d.ts +34 -0
- package/esm/public/hooks/mutations/useCreateBillingModuleMutation.js +31 -0
- package/esm/public/hooks/mutations/useCreateNodeTypeRegistryMutation.d.ts +34 -0
- package/esm/public/hooks/mutations/useCreateNodeTypeRegistryMutation.js +31 -0
- package/esm/public/hooks/mutations/useCreateOrgLimitAggregateMutation.d.ts +34 -0
- package/esm/public/hooks/mutations/useCreateOrgLimitAggregateMutation.js +31 -0
- package/esm/public/hooks/mutations/useCreateOrgLimitEventMutation.d.ts +34 -0
- package/esm/public/hooks/mutations/useCreateOrgLimitEventMutation.js +31 -0
- package/esm/public/hooks/mutations/useCreatePlansModuleMutation.d.ts +34 -0
- package/esm/public/hooks/mutations/useCreatePlansModuleMutation.js +31 -0
- package/esm/public/hooks/mutations/useDeleteAgentMessageMutation.d.ts +38 -0
- package/esm/public/hooks/mutations/useDeleteAgentMessageMutation.js +36 -0
- package/esm/public/hooks/mutations/useDeleteAgentTaskMutation.d.ts +38 -0
- package/esm/public/hooks/mutations/useDeleteAgentTaskMutation.js +36 -0
- package/esm/public/hooks/mutations/useDeleteAgentThreadMutation.d.ts +38 -0
- package/esm/public/hooks/mutations/useDeleteAgentThreadMutation.js +36 -0
- package/esm/public/hooks/mutations/useDeleteBillingModuleMutation.d.ts +38 -0
- package/esm/public/hooks/mutations/useDeleteBillingModuleMutation.js +36 -0
- package/esm/public/hooks/mutations/useDeleteNodeTypeRegistryMutation.d.ts +38 -0
- package/esm/public/hooks/mutations/useDeleteNodeTypeRegistryMutation.js +36 -0
- package/esm/public/hooks/mutations/useDeleteOrgLimitAggregateMutation.d.ts +38 -0
- package/esm/public/hooks/mutations/useDeleteOrgLimitAggregateMutation.js +36 -0
- package/esm/public/hooks/mutations/useDeletePlansModuleMutation.d.ts +38 -0
- package/esm/public/hooks/mutations/useDeletePlansModuleMutation.js +36 -0
- package/esm/public/hooks/mutations/useUpdateAgentMessageMutation.d.ts +40 -0
- package/esm/public/hooks/mutations/useUpdateAgentMessageMutation.js +37 -0
- package/esm/public/hooks/mutations/useUpdateAgentTaskMutation.d.ts +40 -0
- package/esm/public/hooks/mutations/useUpdateAgentTaskMutation.js +37 -0
- package/esm/public/hooks/mutations/useUpdateAgentThreadMutation.d.ts +40 -0
- package/esm/public/hooks/mutations/useUpdateAgentThreadMutation.js +37 -0
- package/esm/public/hooks/mutations/useUpdateBillingModuleMutation.d.ts +40 -0
- package/esm/public/hooks/mutations/useUpdateBillingModuleMutation.js +37 -0
- package/esm/public/hooks/mutations/useUpdateNodeTypeRegistryMutation.d.ts +40 -0
- package/esm/public/hooks/mutations/useUpdateNodeTypeRegistryMutation.js +37 -0
- package/esm/public/hooks/mutations/useUpdateOrgLimitAggregateMutation.d.ts +40 -0
- package/esm/public/hooks/mutations/useUpdateOrgLimitAggregateMutation.js +37 -0
- package/esm/public/hooks/mutations/useUpdatePlansModuleMutation.d.ts +40 -0
- package/esm/public/hooks/mutations/useUpdatePlansModuleMutation.js +37 -0
- package/esm/public/hooks/queries/index.d.ts +36 -20
- package/esm/public/hooks/queries/index.js +36 -20
- package/esm/public/hooks/queries/useAgentMessageQuery.d.ts +65 -0
- package/esm/public/hooks/queries/useAgentMessageQuery.js +47 -0
- package/esm/public/hooks/queries/useAgentMessagesQuery.d.ts +69 -0
- package/esm/public/hooks/queries/useAgentMessagesQuery.js +32 -0
- package/esm/public/hooks/queries/useAgentTaskQuery.d.ts +65 -0
- package/esm/public/hooks/queries/useAgentTaskQuery.js +47 -0
- package/esm/public/hooks/queries/useAgentTasksQuery.d.ts +69 -0
- package/esm/public/hooks/queries/useAgentTasksQuery.js +32 -0
- package/esm/public/hooks/queries/useAgentThreadQuery.d.ts +65 -0
- package/esm/public/hooks/queries/useAgentThreadQuery.js +47 -0
- package/esm/public/hooks/queries/useAgentThreadsQuery.d.ts +69 -0
- package/esm/public/hooks/queries/useAgentThreadsQuery.js +32 -0
- package/esm/public/hooks/queries/useAppLimitEventsQuery.d.ts +69 -0
- package/esm/public/hooks/queries/useAppLimitEventsQuery.js +32 -0
- package/esm/public/hooks/queries/useBillingModuleQuery.d.ts +65 -0
- package/esm/public/hooks/queries/useBillingModuleQuery.js +47 -0
- package/esm/public/hooks/queries/useBillingModulesQuery.d.ts +69 -0
- package/esm/public/hooks/queries/useBillingModulesQuery.js +32 -0
- package/esm/public/hooks/queries/useNodeTypeRegistriesQuery.d.ts +69 -0
- package/esm/public/hooks/queries/useNodeTypeRegistriesQuery.js +32 -0
- package/esm/public/hooks/queries/useNodeTypeRegistryQuery.d.ts +65 -0
- package/esm/public/hooks/queries/useNodeTypeRegistryQuery.js +47 -0
- package/esm/public/hooks/queries/useOrgLimitAggregateQuery.d.ts +65 -0
- package/esm/public/hooks/queries/useOrgLimitAggregateQuery.js +47 -0
- package/esm/public/hooks/queries/useOrgLimitAggregatesQuery.d.ts +69 -0
- package/esm/public/hooks/queries/useOrgLimitAggregatesQuery.js +32 -0
- package/esm/public/hooks/queries/useOrgLimitEventsQuery.d.ts +69 -0
- package/esm/public/hooks/queries/useOrgLimitEventsQuery.js +32 -0
- package/esm/public/hooks/queries/usePlansModuleQuery.d.ts +65 -0
- package/esm/public/hooks/queries/usePlansModuleQuery.js +47 -0
- package/esm/public/hooks/queries/usePlansModulesQuery.d.ts +69 -0
- package/esm/public/hooks/queries/usePlansModulesQuery.js +32 -0
- package/esm/public/hooks/query-keys.d.ts +246 -120
- package/esm/public/hooks/query-keys.js +141 -69
- package/esm/public/orm/index.d.ts +56 -43
- package/esm/public/orm/index.js +36 -18
- package/esm/public/orm/input-types.d.ts +2983 -1112
- package/esm/public/orm/input-types.js +9 -0
- package/esm/public/orm/models/agentMessage.d.ts +56 -0
- package/esm/public/orm/models/agentMessage.js +96 -0
- package/esm/public/orm/models/agentTask.d.ts +56 -0
- package/esm/public/orm/models/agentTask.js +96 -0
- package/esm/public/orm/models/agentThread.d.ts +56 -0
- package/esm/public/orm/models/agentThread.js +96 -0
- package/esm/public/orm/models/appLimitEvent.d.ts +32 -0
- package/esm/public/orm/models/appLimitEvent.js +51 -0
- package/esm/public/orm/models/billingModule.d.ts +56 -0
- package/esm/public/orm/models/billingModule.js +96 -0
- package/esm/public/orm/models/index.d.ts +18 -9
- package/esm/public/orm/models/index.js +18 -9
- package/esm/public/orm/models/nodeTypeRegistry.d.ts +56 -0
- package/esm/public/orm/models/nodeTypeRegistry.js +96 -0
- package/esm/public/orm/models/orgLimitAggregate.d.ts +56 -0
- package/esm/public/orm/models/orgLimitAggregate.js +96 -0
- package/esm/public/orm/models/orgLimitEvent.d.ts +32 -0
- package/esm/public/orm/models/orgLimitEvent.js +51 -0
- package/esm/public/orm/models/plansModule.d.ts +56 -0
- package/esm/public/orm/models/plansModule.js +96 -0
- package/esm/public/orm/mutation/index.d.ts +17 -31
- package/esm/public/orm/mutation/index.js +24 -36
- package/esm/public/orm/query/index.d.ts +28 -28
- package/esm/public/orm/query/index.js +48 -48
- package/esm/public/schema-types.d.ts +3948 -2833
- package/esm/public/types.d.ts +194 -77
- package/objects/hooks/mutation-keys.d.ts +0 -2
- package/objects/hooks/mutation-keys.js +0 -3
- package/objects/hooks/mutations/index.d.ts +0 -1
- package/objects/hooks/mutations/index.js +0 -1
- package/objects/orm/index.d.ts +0 -5
- package/objects/orm/input-types.d.ts +0 -20
- package/objects/orm/mutation/index.d.ts +1 -15
- package/objects/orm/mutation/index.js +0 -12
- package/objects/schema-types.d.ts +0 -14
- package/package.json +4 -4
- package/public/hooks/index.d.ts +1 -1
- package/public/hooks/index.js +1 -1
- package/public/hooks/invalidation.d.ts +101 -47
- package/public/hooks/invalidation.js +238 -94
- package/public/hooks/mutation-keys.d.ts +206 -100
- package/public/hooks/mutation-keys.js +128 -68
- package/public/hooks/mutations/index.d.ts +50 -28
- package/public/hooks/mutations/index.js +50 -28
- package/public/hooks/mutations/useCreateAgentMessageMutation.d.ts +34 -0
- package/public/hooks/mutations/useCreateAgentMessageMutation.js +34 -0
- package/public/hooks/mutations/useCreateAgentTaskMutation.d.ts +34 -0
- package/public/hooks/mutations/useCreateAgentTaskMutation.js +34 -0
- package/public/hooks/mutations/useCreateAgentThreadMutation.d.ts +34 -0
- package/public/hooks/mutations/useCreateAgentThreadMutation.js +34 -0
- package/public/hooks/mutations/useCreateAppLimitEventMutation.d.ts +34 -0
- package/public/hooks/mutations/useCreateAppLimitEventMutation.js +34 -0
- package/public/hooks/mutations/useCreateBillingModuleMutation.d.ts +34 -0
- package/{admin/hooks/mutations/useConfirmUploadMutation.js → public/hooks/mutations/useCreateBillingModuleMutation.js} +14 -6
- package/public/hooks/mutations/useCreateNodeTypeRegistryMutation.d.ts +34 -0
- package/public/hooks/mutations/{useConfirmUploadMutation.js → useCreateNodeTypeRegistryMutation.js} +14 -6
- package/public/hooks/mutations/useCreateOrgLimitAggregateMutation.d.ts +34 -0
- package/public/hooks/mutations/useCreateOrgLimitAggregateMutation.js +34 -0
- package/public/hooks/mutations/useCreateOrgLimitEventMutation.d.ts +34 -0
- package/public/hooks/mutations/useCreateOrgLimitEventMutation.js +34 -0
- package/public/hooks/mutations/useCreatePlansModuleMutation.d.ts +34 -0
- package/{objects/hooks/mutations/useConfirmUploadMutation.js → public/hooks/mutations/useCreatePlansModuleMutation.js} +14 -6
- package/public/hooks/mutations/useDeleteAgentMessageMutation.d.ts +38 -0
- package/public/hooks/mutations/useDeleteAgentMessageMutation.js +39 -0
- package/public/hooks/mutations/useDeleteAgentTaskMutation.d.ts +38 -0
- package/public/hooks/mutations/useDeleteAgentTaskMutation.js +39 -0
- package/public/hooks/mutations/useDeleteAgentThreadMutation.d.ts +38 -0
- package/public/hooks/mutations/useDeleteAgentThreadMutation.js +39 -0
- package/public/hooks/mutations/useDeleteBillingModuleMutation.d.ts +38 -0
- package/public/hooks/mutations/useDeleteBillingModuleMutation.js +39 -0
- package/public/hooks/mutations/useDeleteNodeTypeRegistryMutation.d.ts +38 -0
- package/public/hooks/mutations/useDeleteNodeTypeRegistryMutation.js +39 -0
- package/public/hooks/mutations/useDeleteOrgLimitAggregateMutation.d.ts +38 -0
- package/public/hooks/mutations/useDeleteOrgLimitAggregateMutation.js +39 -0
- package/public/hooks/mutations/useDeletePlansModuleMutation.d.ts +38 -0
- package/public/hooks/mutations/useDeletePlansModuleMutation.js +39 -0
- package/public/hooks/mutations/useUpdateAgentMessageMutation.d.ts +40 -0
- package/public/hooks/mutations/useUpdateAgentMessageMutation.js +40 -0
- package/public/hooks/mutations/useUpdateAgentTaskMutation.d.ts +40 -0
- package/public/hooks/mutations/useUpdateAgentTaskMutation.js +40 -0
- package/public/hooks/mutations/useUpdateAgentThreadMutation.d.ts +40 -0
- package/public/hooks/mutations/useUpdateAgentThreadMutation.js +40 -0
- package/public/hooks/mutations/useUpdateBillingModuleMutation.d.ts +40 -0
- package/public/hooks/mutations/useUpdateBillingModuleMutation.js +40 -0
- package/public/hooks/mutations/useUpdateNodeTypeRegistryMutation.d.ts +40 -0
- package/public/hooks/mutations/useUpdateNodeTypeRegistryMutation.js +40 -0
- package/public/hooks/mutations/useUpdateOrgLimitAggregateMutation.d.ts +40 -0
- package/public/hooks/mutations/useUpdateOrgLimitAggregateMutation.js +40 -0
- package/public/hooks/mutations/useUpdatePlansModuleMutation.d.ts +40 -0
- package/public/hooks/mutations/useUpdatePlansModuleMutation.js +40 -0
- package/public/hooks/queries/index.d.ts +36 -20
- package/public/hooks/queries/index.js +36 -20
- package/public/hooks/queries/useAgentMessageQuery.d.ts +65 -0
- package/public/hooks/queries/useAgentMessageQuery.js +53 -0
- package/public/hooks/queries/useAgentMessagesQuery.d.ts +69 -0
- package/public/hooks/queries/useAgentMessagesQuery.js +38 -0
- package/public/hooks/queries/useAgentTaskQuery.d.ts +65 -0
- package/public/hooks/queries/useAgentTaskQuery.js +53 -0
- package/public/hooks/queries/useAgentTasksQuery.d.ts +69 -0
- package/public/hooks/queries/useAgentTasksQuery.js +38 -0
- package/public/hooks/queries/useAgentThreadQuery.d.ts +65 -0
- package/public/hooks/queries/useAgentThreadQuery.js +53 -0
- package/public/hooks/queries/useAgentThreadsQuery.d.ts +69 -0
- package/public/hooks/queries/useAgentThreadsQuery.js +38 -0
- package/public/hooks/queries/useAppLimitEventsQuery.d.ts +69 -0
- package/public/hooks/queries/useAppLimitEventsQuery.js +38 -0
- package/public/hooks/queries/useBillingModuleQuery.d.ts +65 -0
- package/public/hooks/queries/useBillingModuleQuery.js +53 -0
- package/public/hooks/queries/useBillingModulesQuery.d.ts +69 -0
- package/public/hooks/queries/useBillingModulesQuery.js +38 -0
- package/public/hooks/queries/useNodeTypeRegistriesQuery.d.ts +69 -0
- package/public/hooks/queries/useNodeTypeRegistriesQuery.js +38 -0
- package/public/hooks/queries/useNodeTypeRegistryQuery.d.ts +65 -0
- package/public/hooks/queries/useNodeTypeRegistryQuery.js +53 -0
- package/public/hooks/queries/useOrgLimitAggregateQuery.d.ts +65 -0
- package/public/hooks/queries/useOrgLimitAggregateQuery.js +53 -0
- package/public/hooks/queries/useOrgLimitAggregatesQuery.d.ts +69 -0
- package/public/hooks/queries/useOrgLimitAggregatesQuery.js +38 -0
- package/public/hooks/queries/useOrgLimitEventsQuery.d.ts +69 -0
- package/public/hooks/queries/useOrgLimitEventsQuery.js +38 -0
- package/public/hooks/queries/usePlansModuleQuery.d.ts +65 -0
- package/public/hooks/queries/usePlansModuleQuery.js +53 -0
- package/public/hooks/queries/usePlansModulesQuery.d.ts +69 -0
- package/public/hooks/queries/usePlansModulesQuery.js +38 -0
- package/public/hooks/query-keys.d.ts +246 -120
- package/public/hooks/query-keys.js +144 -72
- package/public/orm/index.d.ts +56 -43
- package/public/orm/index.js +36 -18
- package/public/orm/input-types.d.ts +2983 -1112
- package/public/orm/input-types.js +9 -0
- package/public/orm/models/agentMessage.d.ts +56 -0
- package/public/orm/models/agentMessage.js +100 -0
- package/public/orm/models/agentTask.d.ts +56 -0
- package/public/orm/models/agentTask.js +100 -0
- package/public/orm/models/agentThread.d.ts +56 -0
- package/public/orm/models/agentThread.js +100 -0
- package/public/orm/models/appLimitEvent.d.ts +32 -0
- package/public/orm/models/appLimitEvent.js +55 -0
- package/public/orm/models/billingModule.d.ts +56 -0
- package/public/orm/models/billingModule.js +100 -0
- package/public/orm/models/index.d.ts +18 -9
- package/public/orm/models/index.js +39 -21
- package/public/orm/models/nodeTypeRegistry.d.ts +56 -0
- package/public/orm/models/nodeTypeRegistry.js +100 -0
- package/public/orm/models/orgLimitAggregate.d.ts +56 -0
- package/public/orm/models/orgLimitAggregate.js +100 -0
- package/public/orm/models/orgLimitEvent.d.ts +32 -0
- package/public/orm/models/orgLimitEvent.js +55 -0
- package/public/orm/models/plansModule.d.ts +56 -0
- package/public/orm/models/plansModule.js +100 -0
- package/public/orm/mutation/index.d.ts +17 -31
- package/public/orm/mutation/index.js +24 -36
- package/public/orm/query/index.d.ts +28 -28
- package/public/orm/query/index.js +48 -48
- package/public/schema-types.d.ts +3948 -2833
- package/public/types.d.ts +194 -77
- package/admin/hooks/mutations/useConfirmUploadMutation.d.ts +0 -20
- package/auth/hooks/mutations/useConfirmUploadMutation.d.ts +0 -20
- package/esm/admin/hooks/mutations/useConfirmUploadMutation.d.ts +0 -20
- package/esm/admin/hooks/mutations/useConfirmUploadMutation.js +0 -23
- package/esm/auth/hooks/mutations/useConfirmUploadMutation.d.ts +0 -20
- package/esm/auth/hooks/mutations/useConfirmUploadMutation.js +0 -23
- package/esm/objects/hooks/mutations/useConfirmUploadMutation.d.ts +0 -20
- package/esm/objects/hooks/mutations/useConfirmUploadMutation.js +0 -23
- package/esm/public/hooks/mutations/useConfirmUploadMutation.d.ts +0 -20
- package/esm/public/hooks/mutations/useConfirmUploadMutation.js +0 -23
- package/objects/hooks/mutations/useConfirmUploadMutation.d.ts +0 -20
- package/public/hooks/mutations/useConfirmUploadMutation.d.ts +0 -20
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import { QueryBuilder, buildFindManyDocument, buildFindFirstDocument, buildCreateDocument, buildUpdateByPkDocument, buildDeleteByPkDocument, } from '../query-builder';
|
|
2
|
+
import { connectionFieldsMap } from '../input-types';
|
|
3
|
+
export class PlansModuleModel {
|
|
4
|
+
client;
|
|
5
|
+
constructor(client) {
|
|
6
|
+
this.client = client;
|
|
7
|
+
}
|
|
8
|
+
findMany(args) {
|
|
9
|
+
const { document, variables } = buildFindManyDocument('PlansModule', 'plansModules', args.select, {
|
|
10
|
+
where: args?.where,
|
|
11
|
+
orderBy: args?.orderBy,
|
|
12
|
+
first: args?.first,
|
|
13
|
+
last: args?.last,
|
|
14
|
+
after: args?.after,
|
|
15
|
+
before: args?.before,
|
|
16
|
+
offset: args?.offset,
|
|
17
|
+
}, 'PlansModuleFilter', 'PlansModuleOrderBy', connectionFieldsMap);
|
|
18
|
+
return new QueryBuilder({
|
|
19
|
+
client: this.client,
|
|
20
|
+
operation: 'query',
|
|
21
|
+
operationName: 'PlansModule',
|
|
22
|
+
fieldName: 'plansModules',
|
|
23
|
+
document,
|
|
24
|
+
variables,
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
findFirst(args) {
|
|
28
|
+
const { document, variables } = buildFindFirstDocument('PlansModule', 'plansModules', args.select, {
|
|
29
|
+
where: args?.where,
|
|
30
|
+
}, 'PlansModuleFilter', connectionFieldsMap);
|
|
31
|
+
return new QueryBuilder({
|
|
32
|
+
client: this.client,
|
|
33
|
+
operation: 'query',
|
|
34
|
+
operationName: 'PlansModule',
|
|
35
|
+
fieldName: 'plansModules',
|
|
36
|
+
document,
|
|
37
|
+
variables,
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
findOne(args) {
|
|
41
|
+
const { document, variables } = buildFindManyDocument('PlansModule', 'plansModules', args.select, {
|
|
42
|
+
where: {
|
|
43
|
+
id: {
|
|
44
|
+
equalTo: args.id,
|
|
45
|
+
},
|
|
46
|
+
},
|
|
47
|
+
first: 1,
|
|
48
|
+
}, 'PlansModuleFilter', 'PlansModuleOrderBy', connectionFieldsMap);
|
|
49
|
+
return new QueryBuilder({
|
|
50
|
+
client: this.client,
|
|
51
|
+
operation: 'query',
|
|
52
|
+
operationName: 'PlansModule',
|
|
53
|
+
fieldName: 'plansModule',
|
|
54
|
+
document,
|
|
55
|
+
variables,
|
|
56
|
+
transform: (data) => ({
|
|
57
|
+
plansModule: data.plansModules?.nodes?.[0] ?? null,
|
|
58
|
+
}),
|
|
59
|
+
});
|
|
60
|
+
}
|
|
61
|
+
create(args) {
|
|
62
|
+
const { document, variables } = buildCreateDocument('PlansModule', 'createPlansModule', 'plansModule', args.select, args.data, 'CreatePlansModuleInput', connectionFieldsMap);
|
|
63
|
+
return new QueryBuilder({
|
|
64
|
+
client: this.client,
|
|
65
|
+
operation: 'mutation',
|
|
66
|
+
operationName: 'PlansModule',
|
|
67
|
+
fieldName: 'createPlansModule',
|
|
68
|
+
document,
|
|
69
|
+
variables,
|
|
70
|
+
});
|
|
71
|
+
}
|
|
72
|
+
update(args) {
|
|
73
|
+
const { document, variables } = buildUpdateByPkDocument('PlansModule', 'updatePlansModule', 'plansModule', args.select, args.where.id, args.data, 'UpdatePlansModuleInput', 'id', 'plansModulePatch', connectionFieldsMap);
|
|
74
|
+
return new QueryBuilder({
|
|
75
|
+
client: this.client,
|
|
76
|
+
operation: 'mutation',
|
|
77
|
+
operationName: 'PlansModule',
|
|
78
|
+
fieldName: 'updatePlansModule',
|
|
79
|
+
document,
|
|
80
|
+
variables,
|
|
81
|
+
});
|
|
82
|
+
}
|
|
83
|
+
delete(args) {
|
|
84
|
+
const { document, variables } = buildDeleteByPkDocument('PlansModule', 'deletePlansModule', 'plansModule', {
|
|
85
|
+
id: args.where.id,
|
|
86
|
+
}, 'DeletePlansModuleInput', args.select, connectionFieldsMap);
|
|
87
|
+
return new QueryBuilder({
|
|
88
|
+
client: this.client,
|
|
89
|
+
operation: 'mutation',
|
|
90
|
+
operationName: 'PlansModule',
|
|
91
|
+
fieldName: 'deletePlansModule',
|
|
92
|
+
document,
|
|
93
|
+
variables,
|
|
94
|
+
});
|
|
95
|
+
}
|
|
96
|
+
}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
import { OrmClient } from '../client';
|
|
7
7
|
import { QueryBuilder } from '../query-builder';
|
|
8
8
|
import type { InferSelectResult, StrictSelect } from '../select-types';
|
|
9
|
-
import type { SendAccountDeletionEmailInput, SignOutInput, AcceptDatabaseTransferInput, CancelDatabaseTransferInput, RejectDatabaseTransferInput, DisconnectAccountInput, RevokeApiKeyInput, RevokeSessionInput, VerifyPasswordInput, VerifyTotpInput, SubmitAppInviteCodeInput, SubmitOrgInviteCodeInput, CheckPasswordInput, ConfirmDeleteAccountInput, SetPasswordInput, VerifyEmailInput, FreezeObjectsInput, InitEmptyRepoInput, ConstructBlueprintInput, ProvisionNewUserInput, ResetPasswordInput, RemoveNodeAtPathInput, CopyTemplateToBlueprintInput, ProvisionSpatialRelationInput, BootstrapUserInput, SetFieldOrderInput, ProvisionUniqueConstraintInput, ProvisionFullTextSearchInput, ProvisionIndexInput, SetDataAtPathInput, SetPropsAndCommitInput, ProvisionDatabaseWithUserInput, InsertNodeAtPathInput, UpdateNodeAtPathInput, SetAndCommitInput, ProvisionRelationInput, ApplyRlsInput, SignInCrossOriginInput, CreateUserDatabaseInput, ExtendTokenExpiresInput, CreateApiKeyInput, SignUpInput, RequestCrossOriginTokenInput, SignInInput, ProvisionTableInput,
|
|
9
|
+
import type { SendAccountDeletionEmailInput, SignOutInput, AcceptDatabaseTransferInput, CancelDatabaseTransferInput, RejectDatabaseTransferInput, DisconnectAccountInput, RevokeApiKeyInput, RevokeSessionInput, VerifyPasswordInput, VerifyTotpInput, SubmitAppInviteCodeInput, SubmitOrgInviteCodeInput, CheckPasswordInput, ConfirmDeleteAccountInput, SetPasswordInput, VerifyEmailInput, FreezeObjectsInput, InitEmptyRepoInput, ConstructBlueprintInput, ProvisionNewUserInput, ResetPasswordInput, RemoveNodeAtPathInput, CopyTemplateToBlueprintInput, ProvisionSpatialRelationInput, BootstrapUserInput, SetFieldOrderInput, ProvisionUniqueConstraintInput, ProvisionFullTextSearchInput, ProvisionIndexInput, SetDataAtPathInput, SetPropsAndCommitInput, ProvisionDatabaseWithUserInput, InsertNodeAtPathInput, UpdateNodeAtPathInput, SetAndCommitInput, ProvisionRelationInput, ApplyRlsInput, SignInCrossOriginInput, CreateUserDatabaseInput, ExtendTokenExpiresInput, CreateApiKeyInput, SendVerificationEmailInput, ForgotPasswordInput, SignUpInput, RequestCrossOriginTokenInput, SignInInput, ProvisionTableInput, RequestUploadUrlInput, ProvisionBucketInput, SendAccountDeletionEmailPayload, SignOutPayload, AcceptDatabaseTransferPayload, CancelDatabaseTransferPayload, RejectDatabaseTransferPayload, DisconnectAccountPayload, RevokeApiKeyPayload, RevokeSessionPayload, VerifyPasswordPayload, VerifyTotpPayload, SubmitAppInviteCodePayload, SubmitOrgInviteCodePayload, CheckPasswordPayload, ConfirmDeleteAccountPayload, SetPasswordPayload, VerifyEmailPayload, FreezeObjectsPayload, InitEmptyRepoPayload, ConstructBlueprintPayload, ProvisionNewUserPayload, ResetPasswordPayload, RemoveNodeAtPathPayload, CopyTemplateToBlueprintPayload, ProvisionSpatialRelationPayload, BootstrapUserPayload, SetFieldOrderPayload, ProvisionUniqueConstraintPayload, ProvisionFullTextSearchPayload, ProvisionIndexPayload, SetDataAtPathPayload, SetPropsAndCommitPayload, ProvisionDatabaseWithUserPayload, InsertNodeAtPathPayload, UpdateNodeAtPathPayload, SetAndCommitPayload, ProvisionRelationPayload, ApplyRlsPayload, SignInCrossOriginPayload, CreateUserDatabasePayload, ExtendTokenExpiresPayload, CreateApiKeyPayload, SendVerificationEmailPayload, ForgotPasswordPayload, SignUpPayload, RequestCrossOriginTokenPayload, SignInPayload, ProvisionTablePayload, RequestUploadUrlPayload, ProvisionBucketPayload, SendAccountDeletionEmailPayloadSelect, SignOutPayloadSelect, AcceptDatabaseTransferPayloadSelect, CancelDatabaseTransferPayloadSelect, RejectDatabaseTransferPayloadSelect, DisconnectAccountPayloadSelect, RevokeApiKeyPayloadSelect, RevokeSessionPayloadSelect, VerifyPasswordPayloadSelect, VerifyTotpPayloadSelect, SubmitAppInviteCodePayloadSelect, SubmitOrgInviteCodePayloadSelect, CheckPasswordPayloadSelect, ConfirmDeleteAccountPayloadSelect, SetPasswordPayloadSelect, VerifyEmailPayloadSelect, FreezeObjectsPayloadSelect, InitEmptyRepoPayloadSelect, ConstructBlueprintPayloadSelect, ProvisionNewUserPayloadSelect, ResetPasswordPayloadSelect, RemoveNodeAtPathPayloadSelect, CopyTemplateToBlueprintPayloadSelect, ProvisionSpatialRelationPayloadSelect, BootstrapUserPayloadSelect, SetFieldOrderPayloadSelect, ProvisionUniqueConstraintPayloadSelect, ProvisionFullTextSearchPayloadSelect, ProvisionIndexPayloadSelect, SetDataAtPathPayloadSelect, SetPropsAndCommitPayloadSelect, ProvisionDatabaseWithUserPayloadSelect, InsertNodeAtPathPayloadSelect, UpdateNodeAtPathPayloadSelect, SetAndCommitPayloadSelect, ProvisionRelationPayloadSelect, ApplyRlsPayloadSelect, SignInCrossOriginPayloadSelect, CreateUserDatabasePayloadSelect, ExtendTokenExpiresPayloadSelect, CreateApiKeyPayloadSelect, SendVerificationEmailPayloadSelect, ForgotPasswordPayloadSelect, SignUpPayloadSelect, RequestCrossOriginTokenPayloadSelect, SignInPayloadSelect, ProvisionTablePayloadSelect, RequestUploadUrlPayloadSelect, ProvisionBucketPayloadSelect } from '../input-types';
|
|
10
10
|
export interface SendAccountDeletionEmailVariables {
|
|
11
11
|
input: SendAccountDeletionEmailInput;
|
|
12
12
|
}
|
|
@@ -177,6 +177,12 @@ export interface ExtendTokenExpiresVariables {
|
|
|
177
177
|
export interface CreateApiKeyVariables {
|
|
178
178
|
input: CreateApiKeyInput;
|
|
179
179
|
}
|
|
180
|
+
export interface SendVerificationEmailVariables {
|
|
181
|
+
input: SendVerificationEmailInput;
|
|
182
|
+
}
|
|
183
|
+
export interface ForgotPasswordVariables {
|
|
184
|
+
input: ForgotPasswordInput;
|
|
185
|
+
}
|
|
180
186
|
export interface SignUpVariables {
|
|
181
187
|
input: SignUpInput;
|
|
182
188
|
}
|
|
@@ -193,12 +199,6 @@ export interface SignInVariables {
|
|
|
193
199
|
export interface ProvisionTableVariables {
|
|
194
200
|
input: ProvisionTableInput;
|
|
195
201
|
}
|
|
196
|
-
export interface SendVerificationEmailVariables {
|
|
197
|
-
input: SendVerificationEmailInput;
|
|
198
|
-
}
|
|
199
|
-
export interface ForgotPasswordVariables {
|
|
200
|
-
input: ForgotPasswordInput;
|
|
201
|
-
}
|
|
202
202
|
/**
|
|
203
203
|
* Variables for requestUploadUrl
|
|
204
204
|
* Request a presigned URL for uploading a file directly to S3.
|
|
@@ -209,15 +209,6 @@ existing file ID and deduplicated=true with no uploadUrl.
|
|
|
209
209
|
export interface RequestUploadUrlVariables {
|
|
210
210
|
input: RequestUploadUrlInput;
|
|
211
211
|
}
|
|
212
|
-
/**
|
|
213
|
-
* Variables for confirmUpload
|
|
214
|
-
* Confirm that a file has been uploaded to S3.
|
|
215
|
-
Verifies the object exists in S3, checks content-type,
|
|
216
|
-
and transitions the file status from 'pending' to 'ready'.
|
|
217
|
-
*/
|
|
218
|
-
export interface ConfirmUploadVariables {
|
|
219
|
-
input: ConfirmUploadInput;
|
|
220
|
-
}
|
|
221
212
|
/**
|
|
222
213
|
* Variables for provisionBucket
|
|
223
214
|
* Provision an S3 bucket for a logical bucket in the database.
|
|
@@ -434,6 +425,16 @@ export declare function createMutationOperations(client: OrmClient): {
|
|
|
434
425
|
} & StrictSelect<S, CreateApiKeyPayloadSelect>) => QueryBuilder<{
|
|
435
426
|
createApiKey: InferSelectResult<CreateApiKeyPayload, S> | null;
|
|
436
427
|
}>;
|
|
428
|
+
sendVerificationEmail: <S extends SendVerificationEmailPayloadSelect>(args: SendVerificationEmailVariables, options: {
|
|
429
|
+
select: S;
|
|
430
|
+
} & StrictSelect<S, SendVerificationEmailPayloadSelect>) => QueryBuilder<{
|
|
431
|
+
sendVerificationEmail: InferSelectResult<SendVerificationEmailPayload, S> | null;
|
|
432
|
+
}>;
|
|
433
|
+
forgotPassword: <S extends ForgotPasswordPayloadSelect>(args: ForgotPasswordVariables, options: {
|
|
434
|
+
select: S;
|
|
435
|
+
} & StrictSelect<S, ForgotPasswordPayloadSelect>) => QueryBuilder<{
|
|
436
|
+
forgotPassword: InferSelectResult<ForgotPasswordPayload, S> | null;
|
|
437
|
+
}>;
|
|
437
438
|
signUp: <S extends SignUpPayloadSelect>(args: SignUpVariables, options: {
|
|
438
439
|
select: S;
|
|
439
440
|
} & StrictSelect<S, SignUpPayloadSelect>) => QueryBuilder<{
|
|
@@ -454,26 +455,11 @@ export declare function createMutationOperations(client: OrmClient): {
|
|
|
454
455
|
} & StrictSelect<S, ProvisionTablePayloadSelect>) => QueryBuilder<{
|
|
455
456
|
provisionTable: InferSelectResult<ProvisionTablePayload, S> | null;
|
|
456
457
|
}>;
|
|
457
|
-
sendVerificationEmail: <S extends SendVerificationEmailPayloadSelect>(args: SendVerificationEmailVariables, options: {
|
|
458
|
-
select: S;
|
|
459
|
-
} & StrictSelect<S, SendVerificationEmailPayloadSelect>) => QueryBuilder<{
|
|
460
|
-
sendVerificationEmail: InferSelectResult<SendVerificationEmailPayload, S> | null;
|
|
461
|
-
}>;
|
|
462
|
-
forgotPassword: <S extends ForgotPasswordPayloadSelect>(args: ForgotPasswordVariables, options: {
|
|
463
|
-
select: S;
|
|
464
|
-
} & StrictSelect<S, ForgotPasswordPayloadSelect>) => QueryBuilder<{
|
|
465
|
-
forgotPassword: InferSelectResult<ForgotPasswordPayload, S> | null;
|
|
466
|
-
}>;
|
|
467
458
|
requestUploadUrl: <S extends RequestUploadUrlPayloadSelect>(args: RequestUploadUrlVariables, options: {
|
|
468
459
|
select: S;
|
|
469
460
|
} & StrictSelect<S, RequestUploadUrlPayloadSelect>) => QueryBuilder<{
|
|
470
461
|
requestUploadUrl: InferSelectResult<RequestUploadUrlPayload, S> | null;
|
|
471
462
|
}>;
|
|
472
|
-
confirmUpload: <S extends ConfirmUploadPayloadSelect>(args: ConfirmUploadVariables, options: {
|
|
473
|
-
select: S;
|
|
474
|
-
} & StrictSelect<S, ConfirmUploadPayloadSelect>) => QueryBuilder<{
|
|
475
|
-
confirmUpload: InferSelectResult<ConfirmUploadPayload, S> | null;
|
|
476
|
-
}>;
|
|
477
463
|
provisionBucket: <S extends ProvisionBucketPayloadSelect>(args: ProvisionBucketVariables, options: {
|
|
478
464
|
select: S;
|
|
479
465
|
} & StrictSelect<S, ProvisionBucketPayloadSelect>) => QueryBuilder<{
|
|
@@ -494,6 +494,30 @@ export function createMutationOperations(client) {
|
|
|
494
494
|
},
|
|
495
495
|
], connectionFieldsMap, 'CreateApiKeyPayload'),
|
|
496
496
|
}),
|
|
497
|
+
sendVerificationEmail: (args, options) => new QueryBuilder({
|
|
498
|
+
client,
|
|
499
|
+
operation: 'mutation',
|
|
500
|
+
operationName: 'SendVerificationEmail',
|
|
501
|
+
fieldName: 'sendVerificationEmail',
|
|
502
|
+
...buildCustomDocument('mutation', 'SendVerificationEmail', 'sendVerificationEmail', options.select, args, [
|
|
503
|
+
{
|
|
504
|
+
name: 'input',
|
|
505
|
+
type: 'SendVerificationEmailInput!',
|
|
506
|
+
},
|
|
507
|
+
], connectionFieldsMap, 'SendVerificationEmailPayload'),
|
|
508
|
+
}),
|
|
509
|
+
forgotPassword: (args, options) => new QueryBuilder({
|
|
510
|
+
client,
|
|
511
|
+
operation: 'mutation',
|
|
512
|
+
operationName: 'ForgotPassword',
|
|
513
|
+
fieldName: 'forgotPassword',
|
|
514
|
+
...buildCustomDocument('mutation', 'ForgotPassword', 'forgotPassword', options.select, args, [
|
|
515
|
+
{
|
|
516
|
+
name: 'input',
|
|
517
|
+
type: 'ForgotPasswordInput!',
|
|
518
|
+
},
|
|
519
|
+
], connectionFieldsMap, 'ForgotPasswordPayload'),
|
|
520
|
+
}),
|
|
497
521
|
signUp: (args, options) => new QueryBuilder({
|
|
498
522
|
client,
|
|
499
523
|
operation: 'mutation',
|
|
@@ -542,30 +566,6 @@ export function createMutationOperations(client) {
|
|
|
542
566
|
},
|
|
543
567
|
], connectionFieldsMap, 'ProvisionTablePayload'),
|
|
544
568
|
}),
|
|
545
|
-
sendVerificationEmail: (args, options) => new QueryBuilder({
|
|
546
|
-
client,
|
|
547
|
-
operation: 'mutation',
|
|
548
|
-
operationName: 'SendVerificationEmail',
|
|
549
|
-
fieldName: 'sendVerificationEmail',
|
|
550
|
-
...buildCustomDocument('mutation', 'SendVerificationEmail', 'sendVerificationEmail', options.select, args, [
|
|
551
|
-
{
|
|
552
|
-
name: 'input',
|
|
553
|
-
type: 'SendVerificationEmailInput!',
|
|
554
|
-
},
|
|
555
|
-
], connectionFieldsMap, 'SendVerificationEmailPayload'),
|
|
556
|
-
}),
|
|
557
|
-
forgotPassword: (args, options) => new QueryBuilder({
|
|
558
|
-
client,
|
|
559
|
-
operation: 'mutation',
|
|
560
|
-
operationName: 'ForgotPassword',
|
|
561
|
-
fieldName: 'forgotPassword',
|
|
562
|
-
...buildCustomDocument('mutation', 'ForgotPassword', 'forgotPassword', options.select, args, [
|
|
563
|
-
{
|
|
564
|
-
name: 'input',
|
|
565
|
-
type: 'ForgotPasswordInput!',
|
|
566
|
-
},
|
|
567
|
-
], connectionFieldsMap, 'ForgotPasswordPayload'),
|
|
568
|
-
}),
|
|
569
569
|
requestUploadUrl: (args, options) => new QueryBuilder({
|
|
570
570
|
client,
|
|
571
571
|
operation: 'mutation',
|
|
@@ -578,18 +578,6 @@ export function createMutationOperations(client) {
|
|
|
578
578
|
},
|
|
579
579
|
], connectionFieldsMap, 'RequestUploadUrlPayload'),
|
|
580
580
|
}),
|
|
581
|
-
confirmUpload: (args, options) => new QueryBuilder({
|
|
582
|
-
client,
|
|
583
|
-
operation: 'mutation',
|
|
584
|
-
operationName: 'ConfirmUpload',
|
|
585
|
-
fieldName: 'confirmUpload',
|
|
586
|
-
...buildCustomDocument('mutation', 'ConfirmUpload', 'confirmUpload', options.select, args, [
|
|
587
|
-
{
|
|
588
|
-
name: 'input',
|
|
589
|
-
type: 'ConfirmUploadInput!',
|
|
590
|
-
},
|
|
591
|
-
], connectionFieldsMap, 'ConfirmUploadPayload'),
|
|
592
|
-
}),
|
|
593
581
|
provisionBucket: (args, options) => new QueryBuilder({
|
|
594
582
|
client,
|
|
595
583
|
operation: 'mutation',
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
import { OrmClient } from '../client';
|
|
7
7
|
import { QueryBuilder } from '../query-builder';
|
|
8
8
|
import type { InferSelectResult, StrictSelect } from '../select-types';
|
|
9
|
-
import type { Object, User, ObjectSelect, UserSelect,
|
|
9
|
+
import type { Object, User, ObjectSelect, UserSelect, AppPermissionConnection, OrgPermissionConnection, ObjectConnection, AppLevelRequirementConnection } from '../input-types';
|
|
10
10
|
export interface RequireStepUpVariables {
|
|
11
11
|
stepUpType?: string;
|
|
12
12
|
}
|
|
@@ -63,9 +63,8 @@ export interface AppPermissionsGetMaskByNamesVariables {
|
|
|
63
63
|
export interface OrgPermissionsGetMaskByNamesVariables {
|
|
64
64
|
names?: string[];
|
|
65
65
|
}
|
|
66
|
-
export interface
|
|
67
|
-
|
|
68
|
-
id?: string;
|
|
66
|
+
export interface AppPermissionsGetByMaskVariables {
|
|
67
|
+
mask?: string;
|
|
69
68
|
/** Only read the first `n` values of the set. */
|
|
70
69
|
first?: number;
|
|
71
70
|
/**
|
|
@@ -76,10 +75,8 @@ export interface GetAllObjectsFromRootVariables {
|
|
|
76
75
|
/** Read all values in the set after (below) this cursor. */
|
|
77
76
|
after?: string;
|
|
78
77
|
}
|
|
79
|
-
export interface
|
|
80
|
-
|
|
81
|
-
id?: string;
|
|
82
|
-
path?: string[];
|
|
78
|
+
export interface OrgPermissionsGetByMaskVariables {
|
|
79
|
+
mask?: string;
|
|
83
80
|
/** Only read the first `n` values of the set. */
|
|
84
81
|
first?: number;
|
|
85
82
|
/**
|
|
@@ -90,14 +87,9 @@ export interface GetPathObjectsFromRootVariables {
|
|
|
90
87
|
/** Read all values in the set after (below) this cursor. */
|
|
91
88
|
after?: string;
|
|
92
89
|
}
|
|
93
|
-
export interface
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
path?: string[];
|
|
97
|
-
refname?: string;
|
|
98
|
-
}
|
|
99
|
-
export interface AppPermissionsGetByMaskVariables {
|
|
100
|
-
mask?: string;
|
|
90
|
+
export interface GetAllObjectsFromRootVariables {
|
|
91
|
+
databaseId?: string;
|
|
92
|
+
id?: string;
|
|
101
93
|
/** Only read the first `n` values of the set. */
|
|
102
94
|
first?: number;
|
|
103
95
|
/**
|
|
@@ -108,8 +100,10 @@ export interface AppPermissionsGetByMaskVariables {
|
|
|
108
100
|
/** Read all values in the set after (below) this cursor. */
|
|
109
101
|
after?: string;
|
|
110
102
|
}
|
|
111
|
-
export interface
|
|
112
|
-
|
|
103
|
+
export interface GetPathObjectsFromRootVariables {
|
|
104
|
+
databaseId?: string;
|
|
105
|
+
id?: string;
|
|
106
|
+
path?: string[];
|
|
113
107
|
/** Only read the first `n` values of the set. */
|
|
114
108
|
first?: number;
|
|
115
109
|
/**
|
|
@@ -120,6 +114,12 @@ export interface OrgPermissionsGetByMaskVariables {
|
|
|
120
114
|
/** Read all values in the set after (below) this cursor. */
|
|
121
115
|
after?: string;
|
|
122
116
|
}
|
|
117
|
+
export interface GetObjectAtPathVariables {
|
|
118
|
+
dbId?: string;
|
|
119
|
+
storeId?: string;
|
|
120
|
+
path?: string[];
|
|
121
|
+
refname?: string;
|
|
122
|
+
}
|
|
123
123
|
export interface StepsRequiredVariables {
|
|
124
124
|
level?: string;
|
|
125
125
|
roleId?: string;
|
|
@@ -209,6 +209,16 @@ export declare function createQueryOperations(client: OrmClient): {
|
|
|
209
209
|
}) => QueryBuilder<{
|
|
210
210
|
orgPermissionsGetMaskByNames: string | null;
|
|
211
211
|
}>;
|
|
212
|
+
appPermissionsGetByMask: (args: AppPermissionsGetByMaskVariables, options?: {
|
|
213
|
+
select?: Record<string, unknown>;
|
|
214
|
+
}) => QueryBuilder<{
|
|
215
|
+
appPermissionsGetByMask: AppPermissionConnection | null;
|
|
216
|
+
}>;
|
|
217
|
+
orgPermissionsGetByMask: (args: OrgPermissionsGetByMaskVariables, options?: {
|
|
218
|
+
select?: Record<string, unknown>;
|
|
219
|
+
}) => QueryBuilder<{
|
|
220
|
+
orgPermissionsGetByMask: OrgPermissionConnection | null;
|
|
221
|
+
}>;
|
|
212
222
|
getAllObjectsFromRoot: (args: GetAllObjectsFromRootVariables, options?: {
|
|
213
223
|
select?: Record<string, unknown>;
|
|
214
224
|
}) => QueryBuilder<{
|
|
@@ -224,16 +234,6 @@ export declare function createQueryOperations(client: OrmClient): {
|
|
|
224
234
|
} & StrictSelect<S, ObjectSelect>) => QueryBuilder<{
|
|
225
235
|
getObjectAtPath: InferSelectResult<Object, S> | null;
|
|
226
236
|
}>;
|
|
227
|
-
appPermissionsGetByMask: (args: AppPermissionsGetByMaskVariables, options?: {
|
|
228
|
-
select?: Record<string, unknown>;
|
|
229
|
-
}) => QueryBuilder<{
|
|
230
|
-
appPermissionsGetByMask: AppPermissionConnection | null;
|
|
231
|
-
}>;
|
|
232
|
-
orgPermissionsGetByMask: (args: OrgPermissionsGetByMaskVariables, options?: {
|
|
233
|
-
select?: Record<string, unknown>;
|
|
234
|
-
}) => QueryBuilder<{
|
|
235
|
-
orgPermissionsGetByMask: OrgPermissionConnection | null;
|
|
236
|
-
}>;
|
|
237
237
|
stepsRequired: (args: StepsRequiredVariables, options?: {
|
|
238
238
|
select?: Record<string, unknown>;
|
|
239
239
|
}) => QueryBuilder<{
|
|
@@ -215,6 +215,54 @@ export function createQueryOperations(client) {
|
|
|
215
215
|
},
|
|
216
216
|
], connectionFieldsMap, undefined),
|
|
217
217
|
}),
|
|
218
|
+
appPermissionsGetByMask: (args, options) => new QueryBuilder({
|
|
219
|
+
client,
|
|
220
|
+
operation: 'query',
|
|
221
|
+
operationName: 'AppPermissionsGetByMask',
|
|
222
|
+
fieldName: 'appPermissionsGetByMask',
|
|
223
|
+
...buildCustomDocument('query', 'AppPermissionsGetByMask', 'appPermissionsGetByMask', options?.select, args, [
|
|
224
|
+
{
|
|
225
|
+
name: 'mask',
|
|
226
|
+
type: 'BitString',
|
|
227
|
+
},
|
|
228
|
+
{
|
|
229
|
+
name: 'first',
|
|
230
|
+
type: 'Int',
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
name: 'offset',
|
|
234
|
+
type: 'Int',
|
|
235
|
+
},
|
|
236
|
+
{
|
|
237
|
+
name: 'after',
|
|
238
|
+
type: 'Cursor',
|
|
239
|
+
},
|
|
240
|
+
], connectionFieldsMap, undefined),
|
|
241
|
+
}),
|
|
242
|
+
orgPermissionsGetByMask: (args, options) => new QueryBuilder({
|
|
243
|
+
client,
|
|
244
|
+
operation: 'query',
|
|
245
|
+
operationName: 'OrgPermissionsGetByMask',
|
|
246
|
+
fieldName: 'orgPermissionsGetByMask',
|
|
247
|
+
...buildCustomDocument('query', 'OrgPermissionsGetByMask', 'orgPermissionsGetByMask', options?.select, args, [
|
|
248
|
+
{
|
|
249
|
+
name: 'mask',
|
|
250
|
+
type: 'BitString',
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
name: 'first',
|
|
254
|
+
type: 'Int',
|
|
255
|
+
},
|
|
256
|
+
{
|
|
257
|
+
name: 'offset',
|
|
258
|
+
type: 'Int',
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
name: 'after',
|
|
262
|
+
type: 'Cursor',
|
|
263
|
+
},
|
|
264
|
+
], connectionFieldsMap, undefined),
|
|
265
|
+
}),
|
|
218
266
|
getAllObjectsFromRoot: (args, options) => new QueryBuilder({
|
|
219
267
|
client,
|
|
220
268
|
operation: 'query',
|
|
@@ -299,54 +347,6 @@ export function createQueryOperations(client) {
|
|
|
299
347
|
},
|
|
300
348
|
], connectionFieldsMap, 'Object'),
|
|
301
349
|
}),
|
|
302
|
-
appPermissionsGetByMask: (args, options) => new QueryBuilder({
|
|
303
|
-
client,
|
|
304
|
-
operation: 'query',
|
|
305
|
-
operationName: 'AppPermissionsGetByMask',
|
|
306
|
-
fieldName: 'appPermissionsGetByMask',
|
|
307
|
-
...buildCustomDocument('query', 'AppPermissionsGetByMask', 'appPermissionsGetByMask', options?.select, args, [
|
|
308
|
-
{
|
|
309
|
-
name: 'mask',
|
|
310
|
-
type: 'BitString',
|
|
311
|
-
},
|
|
312
|
-
{
|
|
313
|
-
name: 'first',
|
|
314
|
-
type: 'Int',
|
|
315
|
-
},
|
|
316
|
-
{
|
|
317
|
-
name: 'offset',
|
|
318
|
-
type: 'Int',
|
|
319
|
-
},
|
|
320
|
-
{
|
|
321
|
-
name: 'after',
|
|
322
|
-
type: 'Cursor',
|
|
323
|
-
},
|
|
324
|
-
], connectionFieldsMap, undefined),
|
|
325
|
-
}),
|
|
326
|
-
orgPermissionsGetByMask: (args, options) => new QueryBuilder({
|
|
327
|
-
client,
|
|
328
|
-
operation: 'query',
|
|
329
|
-
operationName: 'OrgPermissionsGetByMask',
|
|
330
|
-
fieldName: 'orgPermissionsGetByMask',
|
|
331
|
-
...buildCustomDocument('query', 'OrgPermissionsGetByMask', 'orgPermissionsGetByMask', options?.select, args, [
|
|
332
|
-
{
|
|
333
|
-
name: 'mask',
|
|
334
|
-
type: 'BitString',
|
|
335
|
-
},
|
|
336
|
-
{
|
|
337
|
-
name: 'first',
|
|
338
|
-
type: 'Int',
|
|
339
|
-
},
|
|
340
|
-
{
|
|
341
|
-
name: 'offset',
|
|
342
|
-
type: 'Int',
|
|
343
|
-
},
|
|
344
|
-
{
|
|
345
|
-
name: 'after',
|
|
346
|
-
type: 'Cursor',
|
|
347
|
-
},
|
|
348
|
-
], connectionFieldsMap, undefined),
|
|
349
|
-
}),
|
|
350
350
|
stepsRequired: (args, options) => new QueryBuilder({
|
|
351
351
|
client,
|
|
352
352
|
operation: 'query',
|