@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,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* AppLimitEvent model for ORM client
|
|
3
|
+
* @generated by @constructive-io/graphql-codegen
|
|
4
|
+
* DO NOT EDIT - changes will be overwritten
|
|
5
|
+
*/
|
|
6
|
+
import { OrmClient } from '../client';
|
|
7
|
+
import { QueryBuilder } from '../query-builder';
|
|
8
|
+
import type { ConnectionResult, FindManyArgs, FindFirstArgs, CreateArgs, InferSelectResult, StrictSelect } from '../select-types';
|
|
9
|
+
import type { AppLimitEventWithRelations, AppLimitEventSelect, AppLimitEventFilter, AppLimitEventOrderBy, CreateAppLimitEventInput } from '../input-types';
|
|
10
|
+
export declare class AppLimitEventModel {
|
|
11
|
+
private client;
|
|
12
|
+
constructor(client: OrmClient);
|
|
13
|
+
findMany<S extends AppLimitEventSelect>(args: FindManyArgs<S, AppLimitEventFilter, AppLimitEventOrderBy> & {
|
|
14
|
+
select: S;
|
|
15
|
+
} & StrictSelect<S, AppLimitEventSelect>): QueryBuilder<{
|
|
16
|
+
appLimitEvents: ConnectionResult<InferSelectResult<AppLimitEventWithRelations, S>>;
|
|
17
|
+
}>;
|
|
18
|
+
findFirst<S extends AppLimitEventSelect>(args: FindFirstArgs<S, AppLimitEventFilter> & {
|
|
19
|
+
select: S;
|
|
20
|
+
} & StrictSelect<S, AppLimitEventSelect>): QueryBuilder<{
|
|
21
|
+
appLimitEvents: {
|
|
22
|
+
nodes: InferSelectResult<AppLimitEventWithRelations, S>[];
|
|
23
|
+
};
|
|
24
|
+
}>;
|
|
25
|
+
create<S extends AppLimitEventSelect>(args: CreateArgs<S, CreateAppLimitEventInput['appLimitEvent']> & {
|
|
26
|
+
select: S;
|
|
27
|
+
} & StrictSelect<S, AppLimitEventSelect>): QueryBuilder<{
|
|
28
|
+
createAppLimitEvent: {
|
|
29
|
+
appLimitEvent: InferSelectResult<AppLimitEventWithRelations, S>;
|
|
30
|
+
};
|
|
31
|
+
}>;
|
|
32
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { QueryBuilder, buildFindManyDocument, buildFindFirstDocument, buildCreateDocument, } from '../query-builder';
|
|
2
|
+
import { connectionFieldsMap } from '../input-types';
|
|
3
|
+
export class AppLimitEventModel {
|
|
4
|
+
client;
|
|
5
|
+
constructor(client) {
|
|
6
|
+
this.client = client;
|
|
7
|
+
}
|
|
8
|
+
findMany(args) {
|
|
9
|
+
const { document, variables } = buildFindManyDocument('AppLimitEvent', 'appLimitEvents', 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
|
+
}, 'AppLimitEventFilter', 'AppLimitEventOrderBy', connectionFieldsMap);
|
|
18
|
+
return new QueryBuilder({
|
|
19
|
+
client: this.client,
|
|
20
|
+
operation: 'query',
|
|
21
|
+
operationName: 'AppLimitEvent',
|
|
22
|
+
fieldName: 'appLimitEvents',
|
|
23
|
+
document,
|
|
24
|
+
variables,
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
findFirst(args) {
|
|
28
|
+
const { document, variables } = buildFindFirstDocument('AppLimitEvent', 'appLimitEvents', args.select, {
|
|
29
|
+
where: args?.where,
|
|
30
|
+
}, 'AppLimitEventFilter', connectionFieldsMap);
|
|
31
|
+
return new QueryBuilder({
|
|
32
|
+
client: this.client,
|
|
33
|
+
operation: 'query',
|
|
34
|
+
operationName: 'AppLimitEvent',
|
|
35
|
+
fieldName: 'appLimitEvents',
|
|
36
|
+
document,
|
|
37
|
+
variables,
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
create(args) {
|
|
41
|
+
const { document, variables } = buildCreateDocument('AppLimitEvent', 'createAppLimitEvent', 'appLimitEvent', args.select, args.data, 'CreateAppLimitEventInput', connectionFieldsMap);
|
|
42
|
+
return new QueryBuilder({
|
|
43
|
+
client: this.client,
|
|
44
|
+
operation: 'mutation',
|
|
45
|
+
operationName: 'AppLimitEvent',
|
|
46
|
+
fieldName: 'createAppLimitEvent',
|
|
47
|
+
document,
|
|
48
|
+
variables,
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
}
|
|
@@ -13,27 +13,30 @@ export { AppPermissionDefaultModel } from './appPermissionDefault';
|
|
|
13
13
|
export { OrgPermissionDefaultModel } from './orgPermissionDefault';
|
|
14
14
|
export { AppAdminGrantModel } from './appAdminGrant';
|
|
15
15
|
export { AppOwnerGrantModel } from './appOwnerGrant';
|
|
16
|
-
export { AppLimitDefaultModel } from './appLimitDefault';
|
|
17
|
-
export { OrgLimitDefaultModel } from './orgLimitDefault';
|
|
18
|
-
export { OrgAdminGrantModel } from './orgAdminGrant';
|
|
19
|
-
export { OrgOwnerGrantModel } from './orgOwnerGrant';
|
|
20
|
-
export { AppLimitModel } from './appLimit';
|
|
21
16
|
export { AppAchievementModel } from './appAchievement';
|
|
22
17
|
export { AppStepModel } from './appStep';
|
|
23
|
-
export {
|
|
24
|
-
export {
|
|
25
|
-
export { OrgLimitModel } from './orgLimit';
|
|
18
|
+
export { OrgAdminGrantModel } from './orgAdminGrant';
|
|
19
|
+
export { OrgOwnerGrantModel } from './orgOwnerGrant';
|
|
26
20
|
export { MembershipTypeModel } from './membershipType';
|
|
21
|
+
export { AppLimitDefaultModel } from './appLimitDefault';
|
|
22
|
+
export { OrgLimitDefaultModel } from './orgLimitDefault';
|
|
23
|
+
export { OrgChartEdgeGrantModel } from './orgChartEdgeGrant';
|
|
24
|
+
export { AppClaimedInviteModel } from './appClaimedInvite';
|
|
27
25
|
export { AppGrantModel } from './appGrant';
|
|
28
26
|
export { AppMembershipDefaultModel } from './appMembershipDefault';
|
|
29
27
|
export { OrgMembershipDefaultModel } from './orgMembershipDefault';
|
|
30
28
|
export { OrgClaimedInviteModel } from './orgClaimedInvite';
|
|
29
|
+
export { AppLimitEventModel } from './appLimitEvent';
|
|
30
|
+
export { OrgLimitEventModel } from './orgLimitEvent';
|
|
31
31
|
export { OrgGrantModel } from './orgGrant';
|
|
32
32
|
export { OrgChartEdgeModel } from './orgChartEdge';
|
|
33
|
+
export { AppLimitModel } from './appLimit';
|
|
34
|
+
export { OrgLimitAggregateModel } from './orgLimitAggregate';
|
|
33
35
|
export { OrgMemberProfileModel } from './orgMemberProfile';
|
|
34
|
-
export {
|
|
36
|
+
export { OrgLimitModel } from './orgLimit';
|
|
35
37
|
export { AppLevelModel } from './appLevel';
|
|
36
38
|
export { AppInviteModel } from './appInvite';
|
|
39
|
+
export { OrgMembershipSettingModel } from './orgMembershipSetting';
|
|
37
40
|
export { OrgInviteModel } from './orgInvite';
|
|
38
41
|
export { AppMembershipModel } from './appMembership';
|
|
39
42
|
export { OrgMembershipModel } from './orgMembership';
|
|
@@ -13,27 +13,30 @@ export { AppPermissionDefaultModel } from './appPermissionDefault';
|
|
|
13
13
|
export { OrgPermissionDefaultModel } from './orgPermissionDefault';
|
|
14
14
|
export { AppAdminGrantModel } from './appAdminGrant';
|
|
15
15
|
export { AppOwnerGrantModel } from './appOwnerGrant';
|
|
16
|
-
export { AppLimitDefaultModel } from './appLimitDefault';
|
|
17
|
-
export { OrgLimitDefaultModel } from './orgLimitDefault';
|
|
18
|
-
export { OrgAdminGrantModel } from './orgAdminGrant';
|
|
19
|
-
export { OrgOwnerGrantModel } from './orgOwnerGrant';
|
|
20
|
-
export { AppLimitModel } from './appLimit';
|
|
21
16
|
export { AppAchievementModel } from './appAchievement';
|
|
22
17
|
export { AppStepModel } from './appStep';
|
|
23
|
-
export {
|
|
24
|
-
export {
|
|
25
|
-
export { OrgLimitModel } from './orgLimit';
|
|
18
|
+
export { OrgAdminGrantModel } from './orgAdminGrant';
|
|
19
|
+
export { OrgOwnerGrantModel } from './orgOwnerGrant';
|
|
26
20
|
export { MembershipTypeModel } from './membershipType';
|
|
21
|
+
export { AppLimitDefaultModel } from './appLimitDefault';
|
|
22
|
+
export { OrgLimitDefaultModel } from './orgLimitDefault';
|
|
23
|
+
export { OrgChartEdgeGrantModel } from './orgChartEdgeGrant';
|
|
24
|
+
export { AppClaimedInviteModel } from './appClaimedInvite';
|
|
27
25
|
export { AppGrantModel } from './appGrant';
|
|
28
26
|
export { AppMembershipDefaultModel } from './appMembershipDefault';
|
|
29
27
|
export { OrgMembershipDefaultModel } from './orgMembershipDefault';
|
|
30
28
|
export { OrgClaimedInviteModel } from './orgClaimedInvite';
|
|
29
|
+
export { AppLimitEventModel } from './appLimitEvent';
|
|
30
|
+
export { OrgLimitEventModel } from './orgLimitEvent';
|
|
31
31
|
export { OrgGrantModel } from './orgGrant';
|
|
32
32
|
export { OrgChartEdgeModel } from './orgChartEdge';
|
|
33
|
+
export { AppLimitModel } from './appLimit';
|
|
34
|
+
export { OrgLimitAggregateModel } from './orgLimitAggregate';
|
|
33
35
|
export { OrgMemberProfileModel } from './orgMemberProfile';
|
|
34
|
-
export {
|
|
36
|
+
export { OrgLimitModel } from './orgLimit';
|
|
35
37
|
export { AppLevelModel } from './appLevel';
|
|
36
38
|
export { AppInviteModel } from './appInvite';
|
|
39
|
+
export { OrgMembershipSettingModel } from './orgMembershipSetting';
|
|
37
40
|
export { OrgInviteModel } from './orgInvite';
|
|
38
41
|
export { AppMembershipModel } from './appMembership';
|
|
39
42
|
export { OrgMembershipModel } from './orgMembership';
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OrgLimitAggregate model for ORM client
|
|
3
|
+
* @generated by @constructive-io/graphql-codegen
|
|
4
|
+
* DO NOT EDIT - changes will be overwritten
|
|
5
|
+
*/
|
|
6
|
+
import { OrmClient } from '../client';
|
|
7
|
+
import { QueryBuilder } from '../query-builder';
|
|
8
|
+
import type { ConnectionResult, FindManyArgs, FindFirstArgs, CreateArgs, UpdateArgs, DeleteArgs, InferSelectResult, StrictSelect } from '../select-types';
|
|
9
|
+
import type { OrgLimitAggregateWithRelations, OrgLimitAggregateSelect, OrgLimitAggregateFilter, OrgLimitAggregateOrderBy, CreateOrgLimitAggregateInput, OrgLimitAggregatePatch } from '../input-types';
|
|
10
|
+
export declare class OrgLimitAggregateModel {
|
|
11
|
+
private client;
|
|
12
|
+
constructor(client: OrmClient);
|
|
13
|
+
findMany<S extends OrgLimitAggregateSelect>(args: FindManyArgs<S, OrgLimitAggregateFilter, OrgLimitAggregateOrderBy> & {
|
|
14
|
+
select: S;
|
|
15
|
+
} & StrictSelect<S, OrgLimitAggregateSelect>): QueryBuilder<{
|
|
16
|
+
orgLimitAggregates: ConnectionResult<InferSelectResult<OrgLimitAggregateWithRelations, S>>;
|
|
17
|
+
}>;
|
|
18
|
+
findFirst<S extends OrgLimitAggregateSelect>(args: FindFirstArgs<S, OrgLimitAggregateFilter> & {
|
|
19
|
+
select: S;
|
|
20
|
+
} & StrictSelect<S, OrgLimitAggregateSelect>): QueryBuilder<{
|
|
21
|
+
orgLimitAggregates: {
|
|
22
|
+
nodes: InferSelectResult<OrgLimitAggregateWithRelations, S>[];
|
|
23
|
+
};
|
|
24
|
+
}>;
|
|
25
|
+
findOne<S extends OrgLimitAggregateSelect>(args: {
|
|
26
|
+
id: string;
|
|
27
|
+
select: S;
|
|
28
|
+
} & StrictSelect<S, OrgLimitAggregateSelect>): QueryBuilder<{
|
|
29
|
+
orgLimitAggregate: InferSelectResult<OrgLimitAggregateWithRelations, S> | null;
|
|
30
|
+
}>;
|
|
31
|
+
create<S extends OrgLimitAggregateSelect>(args: CreateArgs<S, CreateOrgLimitAggregateInput['orgLimitAggregate']> & {
|
|
32
|
+
select: S;
|
|
33
|
+
} & StrictSelect<S, OrgLimitAggregateSelect>): QueryBuilder<{
|
|
34
|
+
createOrgLimitAggregate: {
|
|
35
|
+
orgLimitAggregate: InferSelectResult<OrgLimitAggregateWithRelations, S>;
|
|
36
|
+
};
|
|
37
|
+
}>;
|
|
38
|
+
update<S extends OrgLimitAggregateSelect>(args: UpdateArgs<S, {
|
|
39
|
+
id: string;
|
|
40
|
+
}, OrgLimitAggregatePatch> & {
|
|
41
|
+
select: S;
|
|
42
|
+
} & StrictSelect<S, OrgLimitAggregateSelect>): QueryBuilder<{
|
|
43
|
+
updateOrgLimitAggregate: {
|
|
44
|
+
orgLimitAggregate: InferSelectResult<OrgLimitAggregateWithRelations, S>;
|
|
45
|
+
};
|
|
46
|
+
}>;
|
|
47
|
+
delete<S extends OrgLimitAggregateSelect>(args: DeleteArgs<{
|
|
48
|
+
id: string;
|
|
49
|
+
}, S> & {
|
|
50
|
+
select: S;
|
|
51
|
+
} & StrictSelect<S, OrgLimitAggregateSelect>): QueryBuilder<{
|
|
52
|
+
deleteOrgLimitAggregate: {
|
|
53
|
+
orgLimitAggregate: InferSelectResult<OrgLimitAggregateWithRelations, S>;
|
|
54
|
+
};
|
|
55
|
+
}>;
|
|
56
|
+
}
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import { QueryBuilder, buildFindManyDocument, buildFindFirstDocument, buildCreateDocument, buildUpdateByPkDocument, buildDeleteByPkDocument, } from '../query-builder';
|
|
2
|
+
import { connectionFieldsMap } from '../input-types';
|
|
3
|
+
export class OrgLimitAggregateModel {
|
|
4
|
+
client;
|
|
5
|
+
constructor(client) {
|
|
6
|
+
this.client = client;
|
|
7
|
+
}
|
|
8
|
+
findMany(args) {
|
|
9
|
+
const { document, variables } = buildFindManyDocument('OrgLimitAggregate', 'orgLimitAggregates', 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
|
+
}, 'OrgLimitAggregateFilter', 'OrgLimitAggregateOrderBy', connectionFieldsMap);
|
|
18
|
+
return new QueryBuilder({
|
|
19
|
+
client: this.client,
|
|
20
|
+
operation: 'query',
|
|
21
|
+
operationName: 'OrgLimitAggregate',
|
|
22
|
+
fieldName: 'orgLimitAggregates',
|
|
23
|
+
document,
|
|
24
|
+
variables,
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
findFirst(args) {
|
|
28
|
+
const { document, variables } = buildFindFirstDocument('OrgLimitAggregate', 'orgLimitAggregates', args.select, {
|
|
29
|
+
where: args?.where,
|
|
30
|
+
}, 'OrgLimitAggregateFilter', connectionFieldsMap);
|
|
31
|
+
return new QueryBuilder({
|
|
32
|
+
client: this.client,
|
|
33
|
+
operation: 'query',
|
|
34
|
+
operationName: 'OrgLimitAggregate',
|
|
35
|
+
fieldName: 'orgLimitAggregates',
|
|
36
|
+
document,
|
|
37
|
+
variables,
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
findOne(args) {
|
|
41
|
+
const { document, variables } = buildFindManyDocument('OrgLimitAggregate', 'orgLimitAggregates', args.select, {
|
|
42
|
+
where: {
|
|
43
|
+
id: {
|
|
44
|
+
equalTo: args.id,
|
|
45
|
+
},
|
|
46
|
+
},
|
|
47
|
+
first: 1,
|
|
48
|
+
}, 'OrgLimitAggregateFilter', 'OrgLimitAggregateOrderBy', connectionFieldsMap);
|
|
49
|
+
return new QueryBuilder({
|
|
50
|
+
client: this.client,
|
|
51
|
+
operation: 'query',
|
|
52
|
+
operationName: 'OrgLimitAggregate',
|
|
53
|
+
fieldName: 'orgLimitAggregate',
|
|
54
|
+
document,
|
|
55
|
+
variables,
|
|
56
|
+
transform: (data) => ({
|
|
57
|
+
orgLimitAggregate: data.orgLimitAggregates?.nodes?.[0] ?? null,
|
|
58
|
+
}),
|
|
59
|
+
});
|
|
60
|
+
}
|
|
61
|
+
create(args) {
|
|
62
|
+
const { document, variables } = buildCreateDocument('OrgLimitAggregate', 'createOrgLimitAggregate', 'orgLimitAggregate', args.select, args.data, 'CreateOrgLimitAggregateInput', connectionFieldsMap);
|
|
63
|
+
return new QueryBuilder({
|
|
64
|
+
client: this.client,
|
|
65
|
+
operation: 'mutation',
|
|
66
|
+
operationName: 'OrgLimitAggregate',
|
|
67
|
+
fieldName: 'createOrgLimitAggregate',
|
|
68
|
+
document,
|
|
69
|
+
variables,
|
|
70
|
+
});
|
|
71
|
+
}
|
|
72
|
+
update(args) {
|
|
73
|
+
const { document, variables } = buildUpdateByPkDocument('OrgLimitAggregate', 'updateOrgLimitAggregate', 'orgLimitAggregate', args.select, args.where.id, args.data, 'UpdateOrgLimitAggregateInput', 'id', 'orgLimitAggregatePatch', connectionFieldsMap);
|
|
74
|
+
return new QueryBuilder({
|
|
75
|
+
client: this.client,
|
|
76
|
+
operation: 'mutation',
|
|
77
|
+
operationName: 'OrgLimitAggregate',
|
|
78
|
+
fieldName: 'updateOrgLimitAggregate',
|
|
79
|
+
document,
|
|
80
|
+
variables,
|
|
81
|
+
});
|
|
82
|
+
}
|
|
83
|
+
delete(args) {
|
|
84
|
+
const { document, variables } = buildDeleteByPkDocument('OrgLimitAggregate', 'deleteOrgLimitAggregate', 'orgLimitAggregate', {
|
|
85
|
+
id: args.where.id,
|
|
86
|
+
}, 'DeleteOrgLimitAggregateInput', args.select, connectionFieldsMap);
|
|
87
|
+
return new QueryBuilder({
|
|
88
|
+
client: this.client,
|
|
89
|
+
operation: 'mutation',
|
|
90
|
+
operationName: 'OrgLimitAggregate',
|
|
91
|
+
fieldName: 'deleteOrgLimitAggregate',
|
|
92
|
+
document,
|
|
93
|
+
variables,
|
|
94
|
+
});
|
|
95
|
+
}
|
|
96
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OrgLimitEvent model for ORM client
|
|
3
|
+
* @generated by @constructive-io/graphql-codegen
|
|
4
|
+
* DO NOT EDIT - changes will be overwritten
|
|
5
|
+
*/
|
|
6
|
+
import { OrmClient } from '../client';
|
|
7
|
+
import { QueryBuilder } from '../query-builder';
|
|
8
|
+
import type { ConnectionResult, FindManyArgs, FindFirstArgs, CreateArgs, InferSelectResult, StrictSelect } from '../select-types';
|
|
9
|
+
import type { OrgLimitEventWithRelations, OrgLimitEventSelect, OrgLimitEventFilter, OrgLimitEventOrderBy, CreateOrgLimitEventInput } from '../input-types';
|
|
10
|
+
export declare class OrgLimitEventModel {
|
|
11
|
+
private client;
|
|
12
|
+
constructor(client: OrmClient);
|
|
13
|
+
findMany<S extends OrgLimitEventSelect>(args: FindManyArgs<S, OrgLimitEventFilter, OrgLimitEventOrderBy> & {
|
|
14
|
+
select: S;
|
|
15
|
+
} & StrictSelect<S, OrgLimitEventSelect>): QueryBuilder<{
|
|
16
|
+
orgLimitEvents: ConnectionResult<InferSelectResult<OrgLimitEventWithRelations, S>>;
|
|
17
|
+
}>;
|
|
18
|
+
findFirst<S extends OrgLimitEventSelect>(args: FindFirstArgs<S, OrgLimitEventFilter> & {
|
|
19
|
+
select: S;
|
|
20
|
+
} & StrictSelect<S, OrgLimitEventSelect>): QueryBuilder<{
|
|
21
|
+
orgLimitEvents: {
|
|
22
|
+
nodes: InferSelectResult<OrgLimitEventWithRelations, S>[];
|
|
23
|
+
};
|
|
24
|
+
}>;
|
|
25
|
+
create<S extends OrgLimitEventSelect>(args: CreateArgs<S, CreateOrgLimitEventInput['orgLimitEvent']> & {
|
|
26
|
+
select: S;
|
|
27
|
+
} & StrictSelect<S, OrgLimitEventSelect>): QueryBuilder<{
|
|
28
|
+
createOrgLimitEvent: {
|
|
29
|
+
orgLimitEvent: InferSelectResult<OrgLimitEventWithRelations, S>;
|
|
30
|
+
};
|
|
31
|
+
}>;
|
|
32
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { QueryBuilder, buildFindManyDocument, buildFindFirstDocument, buildCreateDocument, } from '../query-builder';
|
|
2
|
+
import { connectionFieldsMap } from '../input-types';
|
|
3
|
+
export class OrgLimitEventModel {
|
|
4
|
+
client;
|
|
5
|
+
constructor(client) {
|
|
6
|
+
this.client = client;
|
|
7
|
+
}
|
|
8
|
+
findMany(args) {
|
|
9
|
+
const { document, variables } = buildFindManyDocument('OrgLimitEvent', 'orgLimitEvents', 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
|
+
}, 'OrgLimitEventFilter', 'OrgLimitEventOrderBy', connectionFieldsMap);
|
|
18
|
+
return new QueryBuilder({
|
|
19
|
+
client: this.client,
|
|
20
|
+
operation: 'query',
|
|
21
|
+
operationName: 'OrgLimitEvent',
|
|
22
|
+
fieldName: 'orgLimitEvents',
|
|
23
|
+
document,
|
|
24
|
+
variables,
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
findFirst(args) {
|
|
28
|
+
const { document, variables } = buildFindFirstDocument('OrgLimitEvent', 'orgLimitEvents', args.select, {
|
|
29
|
+
where: args?.where,
|
|
30
|
+
}, 'OrgLimitEventFilter', connectionFieldsMap);
|
|
31
|
+
return new QueryBuilder({
|
|
32
|
+
client: this.client,
|
|
33
|
+
operation: 'query',
|
|
34
|
+
operationName: 'OrgLimitEvent',
|
|
35
|
+
fieldName: 'orgLimitEvents',
|
|
36
|
+
document,
|
|
37
|
+
variables,
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
create(args) {
|
|
41
|
+
const { document, variables } = buildCreateDocument('OrgLimitEvent', 'createOrgLimitEvent', 'orgLimitEvent', args.select, args.data, 'CreateOrgLimitEventInput', connectionFieldsMap);
|
|
42
|
+
return new QueryBuilder({
|
|
43
|
+
client: this.client,
|
|
44
|
+
operation: 'mutation',
|
|
45
|
+
operationName: 'OrgLimitEvent',
|
|
46
|
+
fieldName: 'createOrgLimitEvent',
|
|
47
|
+
document,
|
|
48
|
+
variables,
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
}
|
|
@@ -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 { SubmitAppInviteCodeInput, SubmitOrgInviteCodeInput, RequestUploadUrlInput,
|
|
9
|
+
import type { SubmitAppInviteCodeInput, SubmitOrgInviteCodeInput, RequestUploadUrlInput, ProvisionBucketInput, SubmitAppInviteCodePayload, SubmitOrgInviteCodePayload, RequestUploadUrlPayload, ProvisionBucketPayload, SubmitAppInviteCodePayloadSelect, SubmitOrgInviteCodePayloadSelect, RequestUploadUrlPayloadSelect, ProvisionBucketPayloadSelect } from '../input-types';
|
|
10
10
|
export interface SubmitAppInviteCodeVariables {
|
|
11
11
|
input: SubmitAppInviteCodeInput;
|
|
12
12
|
}
|
|
@@ -23,15 +23,6 @@ existing file ID and deduplicated=true with no uploadUrl.
|
|
|
23
23
|
export interface RequestUploadUrlVariables {
|
|
24
24
|
input: RequestUploadUrlInput;
|
|
25
25
|
}
|
|
26
|
-
/**
|
|
27
|
-
* Variables for confirmUpload
|
|
28
|
-
* Confirm that a file has been uploaded to S3.
|
|
29
|
-
Verifies the object exists in S3, checks content-type,
|
|
30
|
-
and transitions the file status from 'pending' to 'ready'.
|
|
31
|
-
*/
|
|
32
|
-
export interface ConfirmUploadVariables {
|
|
33
|
-
input: ConfirmUploadInput;
|
|
34
|
-
}
|
|
35
26
|
/**
|
|
36
27
|
* Variables for provisionBucket
|
|
37
28
|
* Provision an S3 bucket for a logical bucket in the database.
|
|
@@ -58,11 +49,6 @@ export declare function createMutationOperations(client: OrmClient): {
|
|
|
58
49
|
} & StrictSelect<S, RequestUploadUrlPayloadSelect>) => QueryBuilder<{
|
|
59
50
|
requestUploadUrl: InferSelectResult<RequestUploadUrlPayload, S> | null;
|
|
60
51
|
}>;
|
|
61
|
-
confirmUpload: <S extends ConfirmUploadPayloadSelect>(args: ConfirmUploadVariables, options: {
|
|
62
|
-
select: S;
|
|
63
|
-
} & StrictSelect<S, ConfirmUploadPayloadSelect>) => QueryBuilder<{
|
|
64
|
-
confirmUpload: InferSelectResult<ConfirmUploadPayload, S> | null;
|
|
65
|
-
}>;
|
|
66
52
|
provisionBucket: <S extends ProvisionBucketPayloadSelect>(args: ProvisionBucketVariables, options: {
|
|
67
53
|
select: S;
|
|
68
54
|
} & StrictSelect<S, ProvisionBucketPayloadSelect>) => QueryBuilder<{
|
|
@@ -38,18 +38,6 @@ export function createMutationOperations(client) {
|
|
|
38
38
|
},
|
|
39
39
|
], connectionFieldsMap, 'RequestUploadUrlPayload'),
|
|
40
40
|
}),
|
|
41
|
-
confirmUpload: (args, options) => new QueryBuilder({
|
|
42
|
-
client,
|
|
43
|
-
operation: 'mutation',
|
|
44
|
-
operationName: 'ConfirmUpload',
|
|
45
|
-
fieldName: 'confirmUpload',
|
|
46
|
-
...buildCustomDocument('mutation', 'ConfirmUpload', 'confirmUpload', options.select, args, [
|
|
47
|
-
{
|
|
48
|
-
name: 'input',
|
|
49
|
-
type: 'ConfirmUploadInput!',
|
|
50
|
-
},
|
|
51
|
-
], connectionFieldsMap, 'ConfirmUploadPayload'),
|
|
52
|
-
}),
|
|
53
41
|
provisionBucket: (args, options) => new QueryBuilder({
|
|
54
42
|
client,
|
|
55
43
|
operation: 'mutation',
|