@constructive-io/react 0.28.2 → 0.29.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/admin/hooks/index.d.ts +1 -1
- package/admin/hooks/index.js +1 -1
- package/admin/hooks/invalidation.d.ts +120 -120
- package/admin/hooks/invalidation.js +232 -232
- package/admin/hooks/mutation-keys.d.ts +244 -244
- package/admin/hooks/mutation-keys.js +157 -157
- package/admin/hooks/mutations/index.d.ts +63 -63
- package/admin/hooks/mutations/index.js +63 -63
- package/admin/hooks/queries/index.d.ts +47 -47
- package/admin/hooks/queries/index.js +47 -47
- package/admin/hooks/queries/useAppPermissionsGetByMaskQuery.d.ts +3 -3
- package/admin/hooks/queries/useAppPermissionsGetByMaskQuery.js +2 -2
- package/admin/hooks/queries/useOrgIsManagerOfQuery.d.ts +3 -3
- package/admin/hooks/queries/useOrgIsManagerOfQuery.js +2 -2
- package/admin/hooks/queries/useOrgPermissionsGetByMaskQuery.d.ts +3 -3
- package/admin/hooks/queries/useOrgPermissionsGetByMaskQuery.js +2 -2
- package/admin/hooks/query-keys.d.ts +296 -296
- package/admin/hooks/query-keys.js +173 -173
- package/admin/orm/index.d.ts +67 -67
- package/admin/orm/index.js +44 -44
- package/admin/orm/input-types.d.ts +3168 -3168
- package/admin/orm/input-types.js +1 -1
- package/admin/orm/models/index.d.ts +22 -22
- package/admin/orm/models/index.js +45 -45
- package/admin/orm/mutation/index.d.ts +12 -12
- package/admin/orm/mutation/index.js +12 -12
- package/admin/orm/query/index.d.ts +47 -47
- package/admin/orm/query/index.js +68 -68
- package/admin/schema-types.d.ts +2497 -2497
- package/admin/types.d.ts +193 -193
- package/agent/hooks/index.d.ts +1 -1
- package/agent/hooks/index.js +1 -1
- package/agent/hooks/invalidation.d.ts +23 -23
- package/agent/hooks/invalidation.js +55 -55
- package/agent/hooks/mutation-keys.d.ts +46 -46
- package/agent/hooks/mutation-keys.js +28 -28
- package/agent/hooks/mutations/index.d.ts +12 -12
- package/agent/hooks/mutations/index.js +12 -12
- package/agent/hooks/queries/index.d.ts +8 -8
- package/agent/hooks/queries/index.js +8 -8
- package/agent/hooks/query-keys.d.ts +54 -54
- package/agent/hooks/query-keys.js +32 -32
- package/agent/orm/index.d.ts +8 -8
- package/agent/orm/index.js +8 -8
- package/agent/orm/input-types.d.ts +1788 -1788
- package/agent/orm/input-types.js +9 -9
- package/agent/orm/models/index.d.ts +4 -4
- package/agent/orm/models/index.js +9 -9
- package/agent/schema-types.d.ts +1226 -1226
- package/agent/types.d.ts +95 -95
- package/api/hooks/index.d.ts +1 -1
- package/api/hooks/index.js +1 -1
- package/api/hooks/invalidation.d.ts +184 -184
- package/api/hooks/invalidation.js +392 -392
- package/api/hooks/mutation-keys.d.ts +411 -411
- package/api/hooks/mutation-keys.js +227 -227
- package/api/hooks/mutations/index.d.ts +93 -93
- package/api/hooks/mutations/index.js +93 -93
- package/api/hooks/queries/index.d.ts +64 -64
- package/api/hooks/queries/index.js +64 -64
- package/api/hooks/queries/useApplyRegistryDefaultsQuery.d.ts +3 -3
- package/api/hooks/queries/useApplyRegistryDefaultsQuery.js +2 -2
- package/api/hooks/query-keys.d.ts +466 -466
- package/api/hooks/query-keys.js +251 -251
- package/api/orm/index.d.ts +77 -77
- package/api/orm/index.js +64 -64
- package/api/orm/input-types.d.ts +8781 -8781
- package/api/orm/input-types.js +48 -48
- package/api/orm/models/index.d.ts +32 -32
- package/api/orm/models/index.js +65 -65
- package/api/orm/mutation/index.d.ts +29 -29
- package/api/orm/mutation/index.js +30 -30
- package/api/orm/query/index.d.ts +1 -1
- package/api/orm/query/index.js +4 -4
- package/api/schema-types.d.ts +5628 -5628
- package/api/types.d.ts +435 -435
- package/auth/hooks/index.d.ts +1 -1
- package/auth/hooks/index.js +1 -1
- package/auth/hooks/invalidation.d.ts +42 -42
- package/auth/hooks/invalidation.js +90 -90
- package/auth/hooks/mutation-keys.d.ts +124 -124
- package/auth/hooks/mutation-keys.js +106 -106
- package/auth/hooks/mutations/index.d.ts +36 -36
- package/auth/hooks/mutations/index.js +36 -36
- package/auth/hooks/queries/index.d.ts +15 -15
- package/auth/hooks/queries/index.js +15 -15
- package/auth/hooks/query-keys.d.ts +102 -102
- package/auth/hooks/query-keys.js +59 -59
- package/auth/orm/index.d.ts +103 -103
- package/auth/orm/index.js +14 -14
- package/auth/orm/input-types.d.ts +2102 -2109
- package/auth/orm/input-types.js +5 -5
- package/auth/orm/models/index.d.ts +7 -7
- package/auth/orm/models/index.js +15 -15
- package/auth/orm/mutation/index.d.ts +138 -138
- package/auth/orm/mutation/index.js +168 -168
- package/auth/orm/query/index.d.ts +10 -10
- package/auth/orm/query/index.js +14 -14
- package/auth/schema-types.d.ts +1602 -1605
- package/auth/types.d.ts +86 -87
- package/compute/hooks/index.d.ts +1 -1
- package/compute/hooks/index.js +1 -1
- package/compute/hooks/invalidation.d.ts +183 -183
- package/compute/hooks/invalidation.js +391 -391
- package/compute/hooks/mutation-keys.d.ts +388 -388
- package/compute/hooks/mutation-keys.js +300 -300
- package/compute/hooks/mutations/index.d.ts +97 -97
- package/compute/hooks/mutations/index.js +97 -97
- package/compute/hooks/mutations/useCreateFunctionInvocationMutation.d.ts +2 -2
- package/compute/hooks/mutations/useCreateFunctionInvocationMutation.js +1 -1
- package/compute/hooks/mutations/useCreatePlatformFunctionInvocationMutation.d.ts +2 -2
- package/compute/hooks/mutations/useCreatePlatformFunctionInvocationMutation.js +1 -1
- package/compute/hooks/mutations/useDeleteFunctionInvocationMutation.d.ts +2 -2
- package/compute/hooks/mutations/useDeleteFunctionInvocationMutation.js +1 -1
- package/compute/hooks/mutations/useDeletePlatformFunctionInvocationMutation.d.ts +2 -2
- package/compute/hooks/mutations/useDeletePlatformFunctionInvocationMutation.js +1 -1
- package/compute/hooks/mutations/useUpdateFunctionInvocationMutation.d.ts +2 -2
- package/compute/hooks/mutations/useUpdateFunctionInvocationMutation.js +1 -1
- package/compute/hooks/mutations/useUpdatePlatformFunctionInvocationMutation.d.ts +2 -2
- package/compute/hooks/mutations/useUpdatePlatformFunctionInvocationMutation.js +1 -1
- package/compute/hooks/queries/index.d.ts +59 -59
- package/compute/hooks/queries/index.js +59 -59
- package/compute/hooks/queries/useFunctionInvocationQuery.d.ts +4 -4
- package/compute/hooks/queries/useFunctionInvocationQuery.js +1 -1
- package/compute/hooks/queries/useFunctionInvocationsQuery.d.ts +4 -4
- package/compute/hooks/queries/useFunctionInvocationsQuery.js +1 -1
- package/compute/hooks/queries/usePlatformFunctionInvocationQuery.d.ts +4 -4
- package/compute/hooks/queries/usePlatformFunctionInvocationQuery.js +1 -1
- package/compute/hooks/queries/usePlatformFunctionInvocationsQuery.d.ts +4 -4
- package/compute/hooks/queries/usePlatformFunctionInvocationsQuery.js +1 -1
- package/compute/hooks/query-keys.d.ts +438 -438
- package/compute/hooks/query-keys.js +256 -256
- package/compute/orm/index.d.ts +110 -110
- package/compute/orm/index.js +64 -64
- package/compute/orm/input-types.d.ts +7256 -7037
- package/compute/orm/input-types.js +15 -13
- package/compute/orm/models/index.d.ts +32 -32
- package/compute/orm/models/index.js +65 -65
- package/compute/orm/mutation/index.d.ts +77 -77
- package/compute/orm/mutation/index.js +96 -96
- package/compute/schema-types.d.ts +4950 -4896
- package/compute/types.d.ts +470 -468
- package/config/hooks/index.d.ts +1 -1
- package/config/hooks/index.js +1 -1
- package/config/hooks/invalidation.d.ts +6 -6
- package/config/hooks/invalidation.js +15 -15
- package/config/hooks/mutation-keys.d.ts +24 -24
- package/config/hooks/mutation-keys.js +26 -26
- package/config/hooks/mutations/index.d.ts +9 -9
- package/config/hooks/mutations/index.js +9 -9
- package/config/hooks/queries/index.d.ts +2 -2
- package/config/hooks/queries/index.js +2 -2
- package/config/hooks/query-keys.d.ts +14 -14
- package/config/hooks/query-keys.js +9 -9
- package/config/orm/index.d.ts +30 -30
- package/config/orm/index.js +2 -2
- package/config/orm/input-types.d.ts +416 -416
- package/config/orm/models/index.d.ts +1 -1
- package/config/orm/models/index.js +3 -3
- package/config/orm/mutation/index.d.ts +47 -47
- package/config/orm/mutation/index.js +60 -60
- package/config/schema-types.d.ts +519 -519
- package/config/types.d.ts +35 -35
- package/esm/admin/hooks/index.d.ts +1 -1
- package/esm/admin/hooks/index.js +1 -1
- package/esm/admin/hooks/invalidation.d.ts +120 -120
- package/esm/admin/hooks/invalidation.js +233 -233
- package/esm/admin/hooks/mutation-keys.d.ts +244 -244
- package/esm/admin/hooks/mutation-keys.js +156 -156
- package/esm/admin/hooks/mutations/index.d.ts +63 -63
- package/esm/admin/hooks/mutations/index.js +63 -63
- package/esm/admin/hooks/queries/index.d.ts +47 -47
- package/esm/admin/hooks/queries/index.js +47 -47
- package/esm/admin/hooks/queries/useAppPermissionsGetByMaskQuery.d.ts +3 -3
- package/esm/admin/hooks/queries/useAppPermissionsGetByMaskQuery.js +2 -2
- package/esm/admin/hooks/queries/useOrgIsManagerOfQuery.d.ts +3 -3
- package/esm/admin/hooks/queries/useOrgIsManagerOfQuery.js +2 -2
- package/esm/admin/hooks/queries/useOrgPermissionsGetByMaskQuery.d.ts +3 -3
- package/esm/admin/hooks/queries/useOrgPermissionsGetByMaskQuery.js +2 -2
- package/esm/admin/hooks/query-keys.d.ts +296 -296
- package/esm/admin/hooks/query-keys.js +172 -172
- package/esm/admin/orm/index.d.ts +67 -67
- package/esm/admin/orm/index.js +44 -44
- package/esm/admin/orm/input-types.d.ts +3168 -3168
- package/esm/admin/orm/input-types.js +1 -1
- package/esm/admin/orm/models/index.d.ts +22 -22
- package/esm/admin/orm/models/index.js +22 -22
- package/esm/admin/orm/mutation/index.d.ts +12 -12
- package/esm/admin/orm/mutation/index.js +12 -12
- package/esm/admin/orm/query/index.d.ts +47 -47
- package/esm/admin/orm/query/index.js +68 -68
- package/esm/admin/schema-types.d.ts +2497 -2497
- package/esm/admin/types.d.ts +193 -193
- package/esm/agent/hooks/index.d.ts +1 -1
- package/esm/agent/hooks/index.js +1 -1
- package/esm/agent/hooks/invalidation.d.ts +23 -23
- package/esm/agent/hooks/invalidation.js +56 -56
- package/esm/agent/hooks/mutation-keys.d.ts +46 -46
- package/esm/agent/hooks/mutation-keys.js +27 -27
- package/esm/agent/hooks/mutations/index.d.ts +12 -12
- package/esm/agent/hooks/mutations/index.js +12 -12
- package/esm/agent/hooks/queries/index.d.ts +8 -8
- package/esm/agent/hooks/queries/index.js +8 -8
- package/esm/agent/hooks/query-keys.d.ts +54 -54
- package/esm/agent/hooks/query-keys.js +31 -31
- package/esm/agent/orm/index.d.ts +8 -8
- package/esm/agent/orm/index.js +8 -8
- package/esm/agent/orm/input-types.d.ts +1788 -1788
- package/esm/agent/orm/input-types.js +9 -9
- package/esm/agent/orm/models/index.d.ts +4 -4
- package/esm/agent/orm/models/index.js +4 -4
- package/esm/agent/schema-types.d.ts +1226 -1226
- package/esm/agent/types.d.ts +95 -95
- package/esm/api/hooks/index.d.ts +1 -1
- package/esm/api/hooks/index.js +1 -1
- package/esm/api/hooks/invalidation.d.ts +184 -184
- package/esm/api/hooks/invalidation.js +393 -393
- package/esm/api/hooks/mutation-keys.d.ts +411 -411
- package/esm/api/hooks/mutation-keys.js +226 -226
- package/esm/api/hooks/mutations/index.d.ts +93 -93
- package/esm/api/hooks/mutations/index.js +93 -93
- package/esm/api/hooks/queries/index.d.ts +64 -64
- package/esm/api/hooks/queries/index.js +64 -64
- package/esm/api/hooks/queries/useApplyRegistryDefaultsQuery.d.ts +3 -3
- package/esm/api/hooks/queries/useApplyRegistryDefaultsQuery.js +2 -2
- package/esm/api/hooks/query-keys.d.ts +466 -466
- package/esm/api/hooks/query-keys.js +250 -250
- package/esm/api/orm/index.d.ts +77 -77
- package/esm/api/orm/index.js +64 -64
- package/esm/api/orm/input-types.d.ts +8781 -8781
- package/esm/api/orm/input-types.js +48 -48
- package/esm/api/orm/models/index.d.ts +32 -32
- package/esm/api/orm/models/index.js +32 -32
- package/esm/api/orm/mutation/index.d.ts +29 -29
- package/esm/api/orm/mutation/index.js +30 -30
- package/esm/api/orm/query/index.d.ts +1 -1
- package/esm/api/orm/query/index.js +4 -4
- package/esm/api/schema-types.d.ts +5628 -5628
- package/esm/api/types.d.ts +435 -435
- package/esm/auth/hooks/index.d.ts +1 -1
- package/esm/auth/hooks/index.js +1 -1
- package/esm/auth/hooks/invalidation.d.ts +42 -42
- package/esm/auth/hooks/invalidation.js +91 -91
- package/esm/auth/hooks/mutation-keys.d.ts +124 -124
- package/esm/auth/hooks/mutation-keys.js +105 -105
- package/esm/auth/hooks/mutations/index.d.ts +36 -36
- package/esm/auth/hooks/mutations/index.js +36 -36
- package/esm/auth/hooks/queries/index.d.ts +15 -15
- package/esm/auth/hooks/queries/index.js +15 -15
- package/esm/auth/hooks/query-keys.d.ts +102 -102
- package/esm/auth/hooks/query-keys.js +58 -58
- package/esm/auth/orm/index.d.ts +103 -103
- package/esm/auth/orm/index.js +14 -14
- package/esm/auth/orm/input-types.d.ts +2102 -2109
- package/esm/auth/orm/input-types.js +5 -5
- package/esm/auth/orm/models/index.d.ts +7 -7
- package/esm/auth/orm/models/index.js +7 -7
- package/esm/auth/orm/mutation/index.d.ts +138 -138
- package/esm/auth/orm/mutation/index.js +168 -168
- package/esm/auth/orm/query/index.d.ts +10 -10
- package/esm/auth/orm/query/index.js +14 -14
- package/esm/auth/schema-types.d.ts +1602 -1605
- package/esm/auth/types.d.ts +86 -87
- package/esm/compute/hooks/index.d.ts +1 -1
- package/esm/compute/hooks/index.js +1 -1
- package/esm/compute/hooks/invalidation.d.ts +183 -183
- package/esm/compute/hooks/invalidation.js +392 -392
- package/esm/compute/hooks/mutation-keys.d.ts +388 -388
- package/esm/compute/hooks/mutation-keys.js +299 -299
- package/esm/compute/hooks/mutations/index.d.ts +97 -97
- package/esm/compute/hooks/mutations/index.js +97 -97
- package/esm/compute/hooks/mutations/useCreateFunctionInvocationMutation.d.ts +2 -2
- package/esm/compute/hooks/mutations/useCreateFunctionInvocationMutation.js +1 -1
- package/esm/compute/hooks/mutations/useCreatePlatformFunctionInvocationMutation.d.ts +2 -2
- package/esm/compute/hooks/mutations/useCreatePlatformFunctionInvocationMutation.js +1 -1
- package/esm/compute/hooks/mutations/useDeleteFunctionInvocationMutation.d.ts +2 -2
- package/esm/compute/hooks/mutations/useDeleteFunctionInvocationMutation.js +1 -1
- package/esm/compute/hooks/mutations/useDeletePlatformFunctionInvocationMutation.d.ts +2 -2
- package/esm/compute/hooks/mutations/useDeletePlatformFunctionInvocationMutation.js +1 -1
- package/esm/compute/hooks/mutations/useUpdateFunctionInvocationMutation.d.ts +2 -2
- package/esm/compute/hooks/mutations/useUpdateFunctionInvocationMutation.js +1 -1
- package/esm/compute/hooks/mutations/useUpdatePlatformFunctionInvocationMutation.d.ts +2 -2
- package/esm/compute/hooks/mutations/useUpdatePlatformFunctionInvocationMutation.js +1 -1
- package/esm/compute/hooks/queries/index.d.ts +59 -59
- package/esm/compute/hooks/queries/index.js +59 -59
- package/esm/compute/hooks/queries/useFunctionInvocationQuery.d.ts +4 -4
- package/esm/compute/hooks/queries/useFunctionInvocationQuery.js +1 -1
- package/esm/compute/hooks/queries/useFunctionInvocationsQuery.d.ts +4 -4
- package/esm/compute/hooks/queries/useFunctionInvocationsQuery.js +1 -1
- package/esm/compute/hooks/queries/usePlatformFunctionInvocationQuery.d.ts +4 -4
- package/esm/compute/hooks/queries/usePlatformFunctionInvocationQuery.js +1 -1
- package/esm/compute/hooks/queries/usePlatformFunctionInvocationsQuery.d.ts +4 -4
- package/esm/compute/hooks/queries/usePlatformFunctionInvocationsQuery.js +1 -1
- package/esm/compute/hooks/query-keys.d.ts +438 -438
- package/esm/compute/hooks/query-keys.js +255 -255
- package/esm/compute/orm/index.d.ts +110 -110
- package/esm/compute/orm/index.js +64 -64
- package/esm/compute/orm/input-types.d.ts +7256 -7037
- package/esm/compute/orm/input-types.js +15 -13
- package/esm/compute/orm/models/index.d.ts +32 -32
- package/esm/compute/orm/models/index.js +32 -32
- package/esm/compute/orm/mutation/index.d.ts +77 -77
- package/esm/compute/orm/mutation/index.js +96 -96
- package/esm/compute/schema-types.d.ts +4950 -4896
- package/esm/compute/types.d.ts +470 -468
- package/esm/config/hooks/index.d.ts +1 -1
- package/esm/config/hooks/index.js +1 -1
- package/esm/config/hooks/invalidation.d.ts +6 -6
- package/esm/config/hooks/invalidation.js +16 -16
- package/esm/config/hooks/mutation-keys.d.ts +24 -24
- package/esm/config/hooks/mutation-keys.js +25 -25
- package/esm/config/hooks/mutations/index.d.ts +9 -9
- package/esm/config/hooks/mutations/index.js +9 -9
- package/esm/config/hooks/queries/index.d.ts +2 -2
- package/esm/config/hooks/queries/index.js +2 -2
- package/esm/config/hooks/query-keys.d.ts +14 -14
- package/esm/config/hooks/query-keys.js +8 -8
- package/esm/config/orm/index.d.ts +30 -30
- package/esm/config/orm/index.js +2 -2
- package/esm/config/orm/input-types.d.ts +416 -416
- package/esm/config/orm/models/index.d.ts +1 -1
- package/esm/config/orm/models/index.js +1 -1
- package/esm/config/orm/mutation/index.d.ts +47 -47
- package/esm/config/orm/mutation/index.js +60 -60
- package/esm/config/schema-types.d.ts +519 -519
- package/esm/config/types.d.ts +35 -35
- package/esm/infra/hooks/index.d.ts +1 -1
- package/esm/infra/hooks/index.js +1 -1
- package/esm/infra/hooks/invalidation.d.ts +28 -28
- package/esm/infra/hooks/invalidation.js +66 -66
- package/esm/infra/hooks/mutation-keys.d.ts +58 -58
- package/esm/infra/hooks/mutation-keys.js +36 -36
- package/esm/infra/hooks/mutations/index.d.ts +16 -16
- package/esm/infra/hooks/mutations/index.js +16 -16
- package/esm/infra/hooks/queries/index.d.ts +10 -10
- package/esm/infra/hooks/queries/index.js +10 -10
- package/esm/infra/hooks/query-keys.d.ts +66 -66
- package/esm/infra/hooks/query-keys.js +38 -38
- package/esm/infra/orm/index.d.ts +15 -15
- package/esm/infra/orm/index.js +10 -10
- package/esm/infra/orm/input-types.d.ts +971 -971
- package/esm/infra/orm/models/index.d.ts +5 -5
- package/esm/infra/orm/models/index.js +5 -5
- package/esm/infra/orm/mutation/index.d.ts +9 -9
- package/esm/infra/orm/mutation/index.js +12 -12
- package/esm/infra/schema-types.d.ts +979 -979
- package/esm/infra/types.d.ts +72 -72
- package/esm/modules/hooks/index.d.ts +1 -1
- package/esm/modules/hooks/index.js +1 -1
- package/esm/modules/hooks/invalidation.d.ts +291 -291
- package/esm/modules/hooks/invalidation.js +563 -563
- package/esm/modules/hooks/mutation-keys.d.ts +602 -602
- package/esm/modules/hooks/mutation-keys.js +384 -384
- package/esm/modules/hooks/mutations/index.d.ts +164 -164
- package/esm/modules/hooks/mutations/index.js +164 -164
- package/esm/modules/hooks/queries/index.d.ts +106 -106
- package/esm/modules/hooks/queries/index.js +106 -106
- package/esm/modules/hooks/queries/useResolveBlueprintFieldQuery.d.ts +3 -3
- package/esm/modules/hooks/queries/useResolveBlueprintFieldQuery.js +2 -2
- package/esm/modules/hooks/queries/useResolveBlueprintTableQuery.d.ts +3 -3
- package/esm/modules/hooks/queries/useResolveBlueprintTableQuery.js +2 -2
- package/esm/modules/hooks/query-keys.d.ts +696 -696
- package/esm/modules/hooks/query-keys.js +399 -399
- package/esm/modules/orm/index.d.ts +126 -126
- package/esm/modules/orm/index.js +106 -106
- package/esm/modules/orm/input-types.d.ts +11482 -11468
- package/esm/modules/orm/input-types.js +1 -1
- package/esm/modules/orm/models/index.d.ts +53 -53
- package/esm/modules/orm/models/index.js +53 -53
- package/esm/modules/orm/mutation/index.d.ts +51 -51
- package/esm/modules/orm/mutation/index.js +42 -42
- package/esm/modules/orm/query/index.d.ts +3 -3
- package/esm/modules/orm/query/index.js +8 -8
- package/esm/modules/schema-types.d.ts +8363 -8355
- package/esm/modules/types.d.ts +1013 -1011
- package/esm/objects/hooks/index.d.ts +1 -1
- package/esm/objects/hooks/index.js +1 -1
- package/esm/objects/hooks/invalidation.d.ts +12 -12
- package/esm/objects/hooks/invalidation.js +33 -33
- package/esm/objects/hooks/mutation-keys.d.ts +26 -26
- package/esm/objects/hooks/mutation-keys.js +17 -17
- package/esm/objects/hooks/mutations/index.d.ts +7 -7
- package/esm/objects/hooks/mutations/index.js +7 -7
- package/esm/objects/hooks/queries/index.d.ts +4 -4
- package/esm/objects/hooks/queries/index.js +4 -4
- package/esm/objects/hooks/query-keys.d.ts +28 -28
- package/esm/objects/hooks/query-keys.js +16 -16
- package/esm/objects/orm/index.d.ts +9 -9
- package/esm/objects/orm/index.js +4 -4
- package/esm/objects/orm/input-types.d.ts +384 -384
- package/esm/objects/orm/models/index.d.ts +2 -2
- package/esm/objects/orm/models/index.js +2 -2
- package/esm/objects/orm/mutation/index.d.ts +9 -9
- package/esm/objects/orm/mutation/index.js +12 -12
- package/esm/objects/schema-types.d.ts +438 -438
- package/esm/objects/types.d.ts +23 -23
- package/esm/usage/hooks/index.d.ts +1 -1
- package/esm/usage/hooks/index.js +1 -1
- package/esm/usage/hooks/invalidation.d.ts +67 -67
- package/esm/usage/hooks/invalidation.js +140 -140
- package/esm/usage/hooks/mutation-keys.d.ts +136 -136
- package/esm/usage/hooks/mutation-keys.js +82 -82
- package/esm/usage/hooks/mutations/index.d.ts +37 -37
- package/esm/usage/hooks/mutations/index.js +37 -37
- package/esm/usage/hooks/queries/index.d.ts +24 -24
- package/esm/usage/hooks/queries/index.js +24 -24
- package/esm/usage/hooks/query-keys.d.ts +158 -158
- package/esm/usage/hooks/query-keys.js +91 -91
- package/esm/usage/orm/index.d.ts +29 -29
- package/esm/usage/orm/index.js +24 -24
- package/esm/usage/orm/input-types.d.ts +2049 -2049
- package/esm/usage/orm/input-types.js +5 -5
- package/esm/usage/orm/models/index.d.ts +12 -12
- package/esm/usage/orm/models/index.js +12 -12
- package/esm/usage/orm/mutation/index.d.ts +16 -16
- package/esm/usage/orm/mutation/index.js +12 -12
- package/esm/usage/schema-types.d.ts +1591 -1591
- package/esm/usage/types.d.ts +99 -99
- package/infra/hooks/index.d.ts +1 -1
- package/infra/hooks/index.js +1 -1
- package/infra/hooks/invalidation.d.ts +28 -28
- package/infra/hooks/invalidation.js +65 -65
- package/infra/hooks/mutation-keys.d.ts +58 -58
- package/infra/hooks/mutation-keys.js +37 -37
- package/infra/hooks/mutations/index.d.ts +16 -16
- package/infra/hooks/mutations/index.js +16 -16
- package/infra/hooks/queries/index.d.ts +10 -10
- package/infra/hooks/queries/index.js +10 -10
- package/infra/hooks/query-keys.d.ts +66 -66
- package/infra/hooks/query-keys.js +39 -39
- package/infra/orm/index.d.ts +15 -15
- package/infra/orm/index.js +10 -10
- package/infra/orm/input-types.d.ts +971 -971
- package/infra/orm/models/index.d.ts +5 -5
- package/infra/orm/models/index.js +11 -11
- package/infra/orm/mutation/index.d.ts +9 -9
- package/infra/orm/mutation/index.js +12 -12
- package/infra/schema-types.d.ts +979 -979
- package/infra/types.d.ts +72 -72
- package/modules/hooks/index.d.ts +1 -1
- package/modules/hooks/index.js +1 -1
- package/modules/hooks/invalidation.d.ts +291 -291
- package/modules/hooks/invalidation.js +562 -562
- package/modules/hooks/mutation-keys.d.ts +602 -602
- package/modules/hooks/mutation-keys.js +386 -386
- package/modules/hooks/mutations/index.d.ts +164 -164
- package/modules/hooks/mutations/index.js +164 -164
- package/modules/hooks/queries/index.d.ts +106 -106
- package/modules/hooks/queries/index.js +106 -106
- package/modules/hooks/queries/useResolveBlueprintFieldQuery.d.ts +3 -3
- package/modules/hooks/queries/useResolveBlueprintFieldQuery.js +2 -2
- package/modules/hooks/queries/useResolveBlueprintTableQuery.d.ts +3 -3
- package/modules/hooks/queries/useResolveBlueprintTableQuery.js +2 -2
- package/modules/hooks/query-keys.d.ts +696 -696
- package/modules/hooks/query-keys.js +401 -401
- package/modules/orm/index.d.ts +126 -126
- package/modules/orm/index.js +106 -106
- package/modules/orm/input-types.d.ts +11482 -11468
- package/modules/orm/input-types.js +1 -1
- package/modules/orm/models/index.d.ts +53 -53
- package/modules/orm/models/index.js +108 -108
- package/modules/orm/mutation/index.d.ts +51 -51
- package/modules/orm/mutation/index.js +42 -42
- package/modules/orm/query/index.d.ts +3 -3
- package/modules/orm/query/index.js +8 -8
- package/modules/schema-types.d.ts +8363 -8355
- package/modules/types.d.ts +1013 -1011
- package/objects/hooks/index.d.ts +1 -1
- package/objects/hooks/index.js +1 -1
- package/objects/hooks/invalidation.d.ts +12 -12
- package/objects/hooks/invalidation.js +32 -32
- package/objects/hooks/mutation-keys.d.ts +26 -26
- package/objects/hooks/mutation-keys.js +18 -18
- package/objects/hooks/mutations/index.d.ts +7 -7
- package/objects/hooks/mutations/index.js +7 -7
- package/objects/hooks/queries/index.d.ts +4 -4
- package/objects/hooks/queries/index.js +4 -4
- package/objects/hooks/query-keys.d.ts +28 -28
- package/objects/hooks/query-keys.js +17 -17
- package/objects/orm/index.d.ts +9 -9
- package/objects/orm/index.js +4 -4
- package/objects/orm/input-types.d.ts +384 -384
- package/objects/orm/models/index.d.ts +2 -2
- package/objects/orm/models/index.js +5 -5
- package/objects/orm/mutation/index.d.ts +9 -9
- package/objects/orm/mutation/index.js +12 -12
- package/objects/schema-types.d.ts +438 -438
- package/objects/types.d.ts +23 -23
- package/package.json +4 -4
- package/usage/hooks/index.d.ts +1 -1
- package/usage/hooks/index.js +1 -1
- package/usage/hooks/invalidation.d.ts +67 -67
- package/usage/hooks/invalidation.js +139 -139
- package/usage/hooks/mutation-keys.d.ts +136 -136
- package/usage/hooks/mutation-keys.js +83 -83
- package/usage/hooks/mutations/index.d.ts +37 -37
- package/usage/hooks/mutations/index.js +37 -37
- package/usage/hooks/queries/index.d.ts +24 -24
- package/usage/hooks/queries/index.js +24 -24
- package/usage/hooks/query-keys.d.ts +158 -158
- package/usage/hooks/query-keys.js +92 -92
- package/usage/orm/index.d.ts +29 -29
- package/usage/orm/index.js +24 -24
- package/usage/orm/input-types.d.ts +2049 -2049
- package/usage/orm/input-types.js +5 -5
- package/usage/orm/models/index.d.ts +12 -12
- package/usage/orm/models/index.js +25 -25
- package/usage/orm/mutation/index.d.ts +16 -16
- package/usage/orm/mutation/index.js +12 -12
- package/usage/schema-types.d.ts +1591 -1591
- package/usage/types.d.ts +99 -99
package/usage/schema-types.d.ts
CHANGED
|
@@ -4,213 +4,114 @@
|
|
|
4
4
|
* DO NOT EDIT - changes will be overwritten
|
|
5
5
|
*/
|
|
6
6
|
import type { AppLimit, AppLimitCap, AppLimitCapsDefault, AppLimitCredit, AppLimitCreditCode, AppLimitCreditCodeItem, AppLimitCreditRedemption, AppLimitDefault, AppLimitEvent, AppLimitWarning, OrgLimit, OrgLimitAggregate, OrgLimitCap, OrgLimitCapsDefault, OrgLimitCredit, OrgLimitDefault, OrgLimitEvent, OrgLimitWarning, BigIntFilter, DatetimeFilter, IntFilter, StringFilter, UUIDFilter } from './types';
|
|
7
|
-
/** Methods to use when ordering `AppLimitCapsDefault`. */
|
|
8
|
-
export type AppLimitCapsDefaultOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'MAX_ASC' | 'MAX_DESC';
|
|
9
|
-
/** Methods to use when ordering `OrgLimitCapsDefault`. */
|
|
10
|
-
export type OrgLimitCapsDefaultOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'MAX_ASC' | 'MAX_DESC';
|
|
11
7
|
/** Methods to use when ordering `AppLimitCap`. */
|
|
12
|
-
export type AppLimitCapOrderBy = '
|
|
13
|
-
/** Methods to use when ordering `
|
|
14
|
-
export type
|
|
15
|
-
/** Methods to use when ordering `AppLimitCredit`. */
|
|
16
|
-
export type AppLimitCreditOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DEFAULT_LIMIT_ID_ASC' | 'DEFAULT_LIMIT_ID_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'AMOUNT_ASC' | 'AMOUNT_DESC' | 'CREDIT_TYPE_ASC' | 'CREDIT_TYPE_DESC' | 'REASON_ASC' | 'REASON_DESC';
|
|
8
|
+
export type AppLimitCapOrderBy = 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'ID_ASC' | 'ID_DESC' | 'MAX_ASC' | 'MAX_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC';
|
|
9
|
+
/** Methods to use when ordering `AppLimitCapsDefault`. */
|
|
10
|
+
export type AppLimitCapsDefaultOrderBy = 'ID_ASC' | 'ID_DESC' | 'MAX_ASC' | 'MAX_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC';
|
|
17
11
|
/** Methods to use when ordering `AppLimitCreditCodeItem`. */
|
|
18
|
-
export type AppLimitCreditCodeItemOrderBy = '
|
|
12
|
+
export type AppLimitCreditCodeItemOrderBy = 'AMOUNT_ASC' | 'AMOUNT_DESC' | 'CREDIT_CODE_ID_ASC' | 'CREDIT_CODE_ID_DESC' | 'CREDIT_TYPE_ASC' | 'CREDIT_TYPE_DESC' | 'DEFAULT_LIMIT_ID_ASC' | 'DEFAULT_LIMIT_ID_DESC' | 'ID_ASC' | 'ID_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC';
|
|
13
|
+
/** Methods to use when ordering `AppLimitCreditCode`. */
|
|
14
|
+
export type AppLimitCreditCodeOrderBy = 'CODE_ASC' | 'CODE_DESC' | 'CURRENT_REDEMPTIONS_ASC' | 'CURRENT_REDEMPTIONS_DESC' | 'EXPIRES_AT_ASC' | 'EXPIRES_AT_DESC' | 'ID_ASC' | 'ID_DESC' | 'MAX_REDEMPTIONS_ASC' | 'MAX_REDEMPTIONS_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC';
|
|
15
|
+
/** Methods to use when ordering `AppLimitCredit`. */
|
|
16
|
+
export type AppLimitCreditOrderBy = 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'AMOUNT_ASC' | 'AMOUNT_DESC' | 'CREDIT_TYPE_ASC' | 'CREDIT_TYPE_DESC' | 'DEFAULT_LIMIT_ID_ASC' | 'DEFAULT_LIMIT_ID_DESC' | 'ID_ASC' | 'ID_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'REASON_ASC' | 'REASON_DESC';
|
|
19
17
|
/** Methods to use when ordering `AppLimitCreditRedemption`. */
|
|
20
|
-
export type AppLimitCreditRedemptionOrderBy = '
|
|
18
|
+
export type AppLimitCreditRedemptionOrderBy = 'CREDIT_CODE_ID_ASC' | 'CREDIT_CODE_ID_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'ENTITY_TYPE_ASC' | 'ENTITY_TYPE_DESC' | 'ID_ASC' | 'ID_DESC' | 'NATURAL' | 'ORGANIZATION_ID_ASC' | 'ORGANIZATION_ID_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC';
|
|
21
19
|
/** Methods to use when ordering `AppLimitDefault`. */
|
|
22
|
-
export type AppLimitDefaultOrderBy = '
|
|
23
|
-
/** Methods to use when ordering `OrgLimitCredit`. */
|
|
24
|
-
export type OrgLimitCreditOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DEFAULT_LIMIT_ID_ASC' | 'DEFAULT_LIMIT_ID_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'ORGANIZATION_ID_ASC' | 'ORGANIZATION_ID_DESC' | 'ENTITY_TYPE_ASC' | 'ENTITY_TYPE_DESC' | 'AMOUNT_ASC' | 'AMOUNT_DESC' | 'CREDIT_TYPE_ASC' | 'CREDIT_TYPE_DESC' | 'REASON_ASC' | 'REASON_DESC';
|
|
25
|
-
/** Methods to use when ordering `OrgLimitDefault`. */
|
|
26
|
-
export type OrgLimitDefaultOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'MAX_ASC' | 'MAX_DESC' | 'SOFT_MAX_ASC' | 'SOFT_MAX_DESC';
|
|
27
|
-
/** Methods to use when ordering `AppLimitWarning`. */
|
|
28
|
-
export type AppLimitWarningOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'WARNING_TYPE_ASC' | 'WARNING_TYPE_DESC' | 'THRESHOLD_VALUE_ASC' | 'THRESHOLD_VALUE_DESC' | 'TASK_IDENTIFIER_ASC' | 'TASK_IDENTIFIER_DESC';
|
|
29
|
-
/** Methods to use when ordering `OrgLimitWarning`. */
|
|
30
|
-
export type OrgLimitWarningOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'WARNING_TYPE_ASC' | 'WARNING_TYPE_DESC' | 'THRESHOLD_VALUE_ASC' | 'THRESHOLD_VALUE_DESC' | 'TASK_IDENTIFIER_ASC' | 'TASK_IDENTIFIER_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC';
|
|
31
|
-
/** Methods to use when ordering `AppLimitCreditCode`. */
|
|
32
|
-
export type AppLimitCreditCodeOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'CODE_ASC' | 'CODE_DESC' | 'MAX_REDEMPTIONS_ASC' | 'MAX_REDEMPTIONS_DESC' | 'CURRENT_REDEMPTIONS_ASC' | 'CURRENT_REDEMPTIONS_DESC' | 'EXPIRES_AT_ASC' | 'EXPIRES_AT_DESC';
|
|
20
|
+
export type AppLimitDefaultOrderBy = 'ID_ASC' | 'ID_DESC' | 'MAX_ASC' | 'MAX_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'SOFT_MAX_ASC' | 'SOFT_MAX_DESC';
|
|
33
21
|
/** Methods to use when ordering `AppLimitEvent`. */
|
|
34
|
-
export type AppLimitEventOrderBy = '
|
|
35
|
-
/** Methods to use when ordering `OrgLimitEvent`. */
|
|
36
|
-
export type OrgLimitEventOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'ORGANIZATION_ID_ASC' | 'ORGANIZATION_ID_DESC' | 'ENTITY_TYPE_ASC' | 'ENTITY_TYPE_DESC' | 'EVENT_TYPE_ASC' | 'EVENT_TYPE_DESC' | 'DELTA_ASC' | 'DELTA_DESC' | 'NUM_BEFORE_ASC' | 'NUM_BEFORE_DESC' | 'NUM_AFTER_ASC' | 'NUM_AFTER_DESC' | 'MAX_AT_EVENT_ASC' | 'MAX_AT_EVENT_DESC' | 'REASON_ASC' | 'REASON_DESC';
|
|
22
|
+
export type AppLimitEventOrderBy = 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DELTA_ASC' | 'DELTA_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'ENTITY_TYPE_ASC' | 'ENTITY_TYPE_DESC' | 'EVENT_TYPE_ASC' | 'EVENT_TYPE_DESC' | 'ID_ASC' | 'ID_DESC' | 'MAX_AT_EVENT_ASC' | 'MAX_AT_EVENT_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'NUM_AFTER_ASC' | 'NUM_AFTER_DESC' | 'NUM_BEFORE_ASC' | 'NUM_BEFORE_DESC' | 'ORGANIZATION_ID_ASC' | 'ORGANIZATION_ID_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'REASON_ASC' | 'REASON_DESC';
|
|
37
23
|
/** Methods to use when ordering `AppLimit`. */
|
|
38
|
-
export type AppLimitOrderBy = '
|
|
24
|
+
export type AppLimitOrderBy = 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'ENTITY_TYPE_ASC' | 'ENTITY_TYPE_DESC' | 'ID_ASC' | 'ID_DESC' | 'MAX_ASC' | 'MAX_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'NUM_ASC' | 'NUM_DESC' | 'ORGANIZATION_ID_ASC' | 'ORGANIZATION_ID_DESC' | 'PERIOD_CREDITS_ASC' | 'PERIOD_CREDITS_DESC' | 'PLAN_MAX_ASC' | 'PLAN_MAX_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'PURCHASED_CREDITS_ASC' | 'PURCHASED_CREDITS_DESC' | 'SOFT_MAX_ASC' | 'SOFT_MAX_DESC' | 'WINDOW_DURATION_ASC' | 'WINDOW_DURATION_DESC' | 'WINDOW_START_ASC' | 'WINDOW_START_DESC';
|
|
25
|
+
/** Methods to use when ordering `AppLimitWarning`. */
|
|
26
|
+
export type AppLimitWarningOrderBy = 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'TASK_IDENTIFIER_ASC' | 'TASK_IDENTIFIER_DESC' | 'THRESHOLD_VALUE_ASC' | 'THRESHOLD_VALUE_DESC' | 'WARNING_TYPE_ASC' | 'WARNING_TYPE_DESC';
|
|
39
27
|
/** Methods to use when ordering `OrgLimitAggregate`. */
|
|
40
|
-
export type OrgLimitAggregateOrderBy = '
|
|
28
|
+
export type OrgLimitAggregateOrderBy = 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'ENTITY_TYPE_ASC' | 'ENTITY_TYPE_DESC' | 'ID_ASC' | 'ID_DESC' | 'MAX_ASC' | 'MAX_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'NUM_ASC' | 'NUM_DESC' | 'ORGANIZATION_ID_ASC' | 'ORGANIZATION_ID_DESC' | 'PERIOD_CREDITS_ASC' | 'PERIOD_CREDITS_DESC' | 'PLAN_MAX_ASC' | 'PLAN_MAX_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'PURCHASED_CREDITS_ASC' | 'PURCHASED_CREDITS_DESC' | 'RESERVED_ASC' | 'RESERVED_DESC' | 'SOFT_MAX_ASC' | 'SOFT_MAX_DESC' | 'WINDOW_DURATION_ASC' | 'WINDOW_DURATION_DESC' | 'WINDOW_START_ASC' | 'WINDOW_START_DESC';
|
|
29
|
+
/** Methods to use when ordering `OrgLimitCap`. */
|
|
30
|
+
export type OrgLimitCapOrderBy = 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'ID_ASC' | 'ID_DESC' | 'MAX_ASC' | 'MAX_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC';
|
|
31
|
+
/** Methods to use when ordering `OrgLimitCapsDefault`. */
|
|
32
|
+
export type OrgLimitCapsDefaultOrderBy = 'ID_ASC' | 'ID_DESC' | 'MAX_ASC' | 'MAX_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC';
|
|
33
|
+
/** Methods to use when ordering `OrgLimitCredit`. */
|
|
34
|
+
export type OrgLimitCreditOrderBy = 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'AMOUNT_ASC' | 'AMOUNT_DESC' | 'CREDIT_TYPE_ASC' | 'CREDIT_TYPE_DESC' | 'DEFAULT_LIMIT_ID_ASC' | 'DEFAULT_LIMIT_ID_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'ENTITY_TYPE_ASC' | 'ENTITY_TYPE_DESC' | 'ID_ASC' | 'ID_DESC' | 'NATURAL' | 'ORGANIZATION_ID_ASC' | 'ORGANIZATION_ID_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'REASON_ASC' | 'REASON_DESC';
|
|
35
|
+
/** Methods to use when ordering `OrgLimitDefault`. */
|
|
36
|
+
export type OrgLimitDefaultOrderBy = 'ID_ASC' | 'ID_DESC' | 'MAX_ASC' | 'MAX_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'SOFT_MAX_ASC' | 'SOFT_MAX_DESC';
|
|
37
|
+
/** Methods to use when ordering `OrgLimitEvent`. */
|
|
38
|
+
export type OrgLimitEventOrderBy = 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DELTA_ASC' | 'DELTA_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'ENTITY_TYPE_ASC' | 'ENTITY_TYPE_DESC' | 'EVENT_TYPE_ASC' | 'EVENT_TYPE_DESC' | 'ID_ASC' | 'ID_DESC' | 'MAX_AT_EVENT_ASC' | 'MAX_AT_EVENT_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'NUM_AFTER_ASC' | 'NUM_AFTER_DESC' | 'NUM_BEFORE_ASC' | 'NUM_BEFORE_DESC' | 'ORGANIZATION_ID_ASC' | 'ORGANIZATION_ID_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'REASON_ASC' | 'REASON_DESC';
|
|
41
39
|
/** Methods to use when ordering `OrgLimit`. */
|
|
42
|
-
export type OrgLimitOrderBy = '
|
|
43
|
-
/**
|
|
44
|
-
export
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
/** Filter by the object’s `name` field. */
|
|
48
|
-
name?: StringFilter;
|
|
49
|
-
/** Filter by the object’s `max` field. */
|
|
50
|
-
max?: BigIntFilter;
|
|
40
|
+
export type OrgLimitOrderBy = 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'ENTITY_TYPE_ASC' | 'ENTITY_TYPE_DESC' | 'ID_ASC' | 'ID_DESC' | 'MAX_ASC' | 'MAX_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'NUM_ASC' | 'NUM_DESC' | 'ORGANIZATION_ID_ASC' | 'ORGANIZATION_ID_DESC' | 'PERIOD_CREDITS_ASC' | 'PERIOD_CREDITS_DESC' | 'PLAN_MAX_ASC' | 'PLAN_MAX_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'PURCHASED_CREDITS_ASC' | 'PURCHASED_CREDITS_DESC' | 'SOFT_MAX_ASC' | 'SOFT_MAX_DESC' | 'WINDOW_DURATION_ASC' | 'WINDOW_DURATION_DESC' | 'WINDOW_START_ASC' | 'WINDOW_START_DESC';
|
|
41
|
+
/** Methods to use when ordering `OrgLimitWarning`. */
|
|
42
|
+
export type OrgLimitWarningOrderBy = 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'TASK_IDENTIFIER_ASC' | 'TASK_IDENTIFIER_DESC' | 'THRESHOLD_VALUE_ASC' | 'THRESHOLD_VALUE_DESC' | 'WARNING_TYPE_ASC' | 'WARNING_TYPE_DESC';
|
|
43
|
+
/** A filter to be used against `AppLimitCap` object types. All fields are combined with a logical ‘and.’ */
|
|
44
|
+
export interface AppLimitCapFilter {
|
|
51
45
|
/** Checks for all expressions in this list. */
|
|
52
|
-
and?:
|
|
53
|
-
/**
|
|
54
|
-
|
|
55
|
-
/** Negates the expression. */
|
|
56
|
-
not?: AppLimitCapsDefaultFilter;
|
|
57
|
-
}
|
|
58
|
-
/** A filter to be used against `OrgLimitCapsDefault` object types. All fields are combined with a logical ‘and.’ */
|
|
59
|
-
export interface OrgLimitCapsDefaultFilter {
|
|
46
|
+
and?: AppLimitCapFilter[];
|
|
47
|
+
/** Filter by the object’s `entityId` field. */
|
|
48
|
+
entityId?: UUIDFilter;
|
|
60
49
|
/** Filter by the object’s `id` field. */
|
|
61
50
|
id?: UUIDFilter;
|
|
62
|
-
/** Filter by the object’s `name` field. */
|
|
63
|
-
name?: StringFilter;
|
|
64
51
|
/** Filter by the object’s `max` field. */
|
|
65
52
|
max?: BigIntFilter;
|
|
66
|
-
/** Checks for all expressions in this list. */
|
|
67
|
-
and?: OrgLimitCapsDefaultFilter[];
|
|
68
|
-
/** Checks for any expressions in this list. */
|
|
69
|
-
or?: OrgLimitCapsDefaultFilter[];
|
|
70
|
-
/** Negates the expression. */
|
|
71
|
-
not?: OrgLimitCapsDefaultFilter;
|
|
72
|
-
}
|
|
73
|
-
/** A filter to be used against `AppLimitCap` object types. All fields are combined with a logical ‘and.’ */
|
|
74
|
-
export interface AppLimitCapFilter {
|
|
75
|
-
/** Filter by the object’s `id` field. */
|
|
76
|
-
id?: UUIDFilter;
|
|
77
53
|
/** Filter by the object’s `name` field. */
|
|
78
54
|
name?: StringFilter;
|
|
79
|
-
/** Filter by the object’s `entityId` field. */
|
|
80
|
-
entityId?: UUIDFilter;
|
|
81
|
-
/** Filter by the object’s `max` field. */
|
|
82
|
-
max?: BigIntFilter;
|
|
83
|
-
/** Checks for all expressions in this list. */
|
|
84
|
-
and?: AppLimitCapFilter[];
|
|
85
|
-
/** Checks for any expressions in this list. */
|
|
86
|
-
or?: AppLimitCapFilter[];
|
|
87
55
|
/** Negates the expression. */
|
|
88
56
|
not?: AppLimitCapFilter;
|
|
89
|
-
}
|
|
90
|
-
/** A filter to be used against `OrgLimitCap` object types. All fields are combined with a logical ‘and.’ */
|
|
91
|
-
export interface OrgLimitCapFilter {
|
|
92
|
-
/** Filter by the object’s `id` field. */
|
|
93
|
-
id?: UUIDFilter;
|
|
94
|
-
/** Filter by the object’s `name` field. */
|
|
95
|
-
name?: StringFilter;
|
|
96
|
-
/** Filter by the object’s `entityId` field. */
|
|
97
|
-
entityId?: UUIDFilter;
|
|
98
|
-
/** Filter by the object’s `max` field. */
|
|
99
|
-
max?: BigIntFilter;
|
|
100
|
-
/** Checks for all expressions in this list. */
|
|
101
|
-
and?: OrgLimitCapFilter[];
|
|
102
57
|
/** Checks for any expressions in this list. */
|
|
103
|
-
or?:
|
|
104
|
-
/** Negates the expression. */
|
|
105
|
-
not?: OrgLimitCapFilter;
|
|
58
|
+
or?: AppLimitCapFilter[];
|
|
106
59
|
}
|
|
107
|
-
/**
|
|
108
|
-
export interface
|
|
109
|
-
/**
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
amount?: BigIntFilter;
|
|
117
|
-
/** Filter by the object’s `creditType` field. */
|
|
118
|
-
creditType?: StringFilter;
|
|
119
|
-
/** Filter by the object’s `reason` field. */
|
|
120
|
-
reason?: StringFilter;
|
|
121
|
-
/** Checks for all expressions in this list. */
|
|
122
|
-
and?: AppLimitCreditFilter[];
|
|
123
|
-
/** Checks for any expressions in this list. */
|
|
124
|
-
or?: AppLimitCreditFilter[];
|
|
125
|
-
/** Negates the expression. */
|
|
126
|
-
not?: AppLimitCreditFilter;
|
|
127
|
-
/** Filter by the object’s `defaultLimit` relation. */
|
|
128
|
-
defaultLimit?: AppLimitDefaultFilter;
|
|
60
|
+
/** An input for mutations affecting `AppLimitCap` */
|
|
61
|
+
export interface AppLimitCapInput {
|
|
62
|
+
/** Entity this cap override applies to */
|
|
63
|
+
entityId: string;
|
|
64
|
+
id?: string;
|
|
65
|
+
/** Override cap value for this entity */
|
|
66
|
+
max?: string;
|
|
67
|
+
/** Name identifier of the cap being overridden */
|
|
68
|
+
name: string;
|
|
129
69
|
}
|
|
130
|
-
/**
|
|
131
|
-
export interface
|
|
70
|
+
/** Represents an update to a `AppLimitCap`. Fields that are set will be updated. */
|
|
71
|
+
export interface AppLimitCapPatch {
|
|
72
|
+
/** Entity this cap override applies to */
|
|
73
|
+
entityId?: string;
|
|
74
|
+
id?: string;
|
|
75
|
+
/** Override cap value for this entity */
|
|
76
|
+
max?: string;
|
|
77
|
+
/** Name identifier of the cap being overridden */
|
|
78
|
+
name?: string;
|
|
79
|
+
}
|
|
80
|
+
/** A filter to be used against `AppLimitCapsDefault` object types. All fields are combined with a logical ‘and.’ */
|
|
81
|
+
export interface AppLimitCapsDefaultFilter {
|
|
82
|
+
/** Checks for all expressions in this list. */
|
|
83
|
+
and?: AppLimitCapsDefaultFilter[];
|
|
132
84
|
/** Filter by the object’s `id` field. */
|
|
133
85
|
id?: UUIDFilter;
|
|
134
|
-
/** Filter by the object’s `name` field. */
|
|
135
|
-
name?: StringFilter;
|
|
136
86
|
/** Filter by the object’s `max` field. */
|
|
137
87
|
max?: BigIntFilter;
|
|
138
|
-
/** Filter by the object’s `
|
|
139
|
-
|
|
140
|
-
/** Checks for all expressions in this list. */
|
|
141
|
-
and?: AppLimitDefaultFilter[];
|
|
142
|
-
/** Checks for any expressions in this list. */
|
|
143
|
-
or?: AppLimitDefaultFilter[];
|
|
88
|
+
/** Filter by the object’s `name` field. */
|
|
89
|
+
name?: StringFilter;
|
|
144
90
|
/** Negates the expression. */
|
|
145
|
-
not?:
|
|
146
|
-
/**
|
|
147
|
-
|
|
148
|
-
/** `appLimitCreditsByDefaultLimitId` exist. */
|
|
149
|
-
appLimitCreditsByDefaultLimitIdExist?: boolean;
|
|
150
|
-
/** Filter by the object’s `appLimitCreditCodeItemsByDefaultLimitId` relation. */
|
|
151
|
-
appLimitCreditCodeItemsByDefaultLimitId?: AppLimitDefaultToManyAppLimitCreditCodeItemFilter;
|
|
152
|
-
/** `appLimitCreditCodeItemsByDefaultLimitId` exist. */
|
|
153
|
-
appLimitCreditCodeItemsByDefaultLimitIdExist?: boolean;
|
|
154
|
-
}
|
|
155
|
-
/** A filter to be used against many `AppLimitCredit` object types. All fields are combined with a logical ‘and.’ */
|
|
156
|
-
export interface AppLimitDefaultToManyAppLimitCreditFilter {
|
|
157
|
-
/** Filters to entities where at least one related entity matches. */
|
|
158
|
-
some?: AppLimitCreditFilter;
|
|
159
|
-
/** Filters to entities where every related entity matches. */
|
|
160
|
-
every?: AppLimitCreditFilter;
|
|
161
|
-
/** Filters to entities where no related entity matches. */
|
|
162
|
-
none?: AppLimitCreditFilter;
|
|
91
|
+
not?: AppLimitCapsDefaultFilter;
|
|
92
|
+
/** Checks for any expressions in this list. */
|
|
93
|
+
or?: AppLimitCapsDefaultFilter[];
|
|
163
94
|
}
|
|
164
|
-
/**
|
|
165
|
-
export interface
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
none?: AppLimitCreditCodeItemFilter;
|
|
95
|
+
/** An input for mutations affecting `AppLimitCapsDefault` */
|
|
96
|
+
export interface AppLimitCapsDefaultInput {
|
|
97
|
+
id?: string;
|
|
98
|
+
/** Default cap value. For feature flags: 0=disabled, 1=enabled. For size caps: the limit in bytes/units. */
|
|
99
|
+
max?: string;
|
|
100
|
+
/** Name identifier of the cap (e.g. max_file_upload_size, advanced_analytics) */
|
|
101
|
+
name: string;
|
|
172
102
|
}
|
|
173
|
-
/**
|
|
174
|
-
export interface
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
defaultLimitId?: UUIDFilter;
|
|
181
|
-
/** Filter by the object’s `amount` field. */
|
|
182
|
-
amount?: BigIntFilter;
|
|
183
|
-
/** Filter by the object’s `creditType` field. */
|
|
184
|
-
creditType?: StringFilter;
|
|
185
|
-
/** Checks for all expressions in this list. */
|
|
186
|
-
and?: AppLimitCreditCodeItemFilter[];
|
|
187
|
-
/** Checks for any expressions in this list. */
|
|
188
|
-
or?: AppLimitCreditCodeItemFilter[];
|
|
189
|
-
/** Negates the expression. */
|
|
190
|
-
not?: AppLimitCreditCodeItemFilter;
|
|
191
|
-
/** Filter by the object’s `creditCode` relation. */
|
|
192
|
-
creditCode?: AppLimitCreditCodeFilter;
|
|
193
|
-
/** Filter by the object’s `defaultLimit` relation. */
|
|
194
|
-
defaultLimit?: AppLimitDefaultFilter;
|
|
103
|
+
/** Represents an update to a `AppLimitCapsDefault`. Fields that are set will be updated. */
|
|
104
|
+
export interface AppLimitCapsDefaultPatch {
|
|
105
|
+
id?: string;
|
|
106
|
+
/** Default cap value. For feature flags: 0=disabled, 1=enabled. For size caps: the limit in bytes/units. */
|
|
107
|
+
max?: string;
|
|
108
|
+
/** Name identifier of the cap (e.g. max_file_upload_size, advanced_analytics) */
|
|
109
|
+
name?: string;
|
|
195
110
|
}
|
|
196
111
|
/** A filter to be used against `AppLimitCreditCode` object types. All fields are combined with a logical ‘and.’ */
|
|
197
112
|
export interface AppLimitCreditCodeFilter {
|
|
198
|
-
/** Filter by the object’s `id` field. */
|
|
199
|
-
id?: UUIDFilter;
|
|
200
|
-
/** Filter by the object’s `code` field. */
|
|
201
|
-
code?: StringFilter;
|
|
202
|
-
/** Filter by the object’s `maxRedemptions` field. */
|
|
203
|
-
maxRedemptions?: IntFilter;
|
|
204
|
-
/** Filter by the object’s `currentRedemptions` field. */
|
|
205
|
-
currentRedemptions?: IntFilter;
|
|
206
|
-
/** Filter by the object’s `expiresAt` field. */
|
|
207
|
-
expiresAt?: DatetimeFilter;
|
|
208
113
|
/** Checks for all expressions in this list. */
|
|
209
114
|
and?: AppLimitCreditCodeFilter[];
|
|
210
|
-
/** Checks for any expressions in this list. */
|
|
211
|
-
or?: AppLimitCreditCodeFilter[];
|
|
212
|
-
/** Negates the expression. */
|
|
213
|
-
not?: AppLimitCreditCodeFilter;
|
|
214
115
|
/** Filter by the object’s `appLimitCreditCodeItemsByCreditCodeId` relation. */
|
|
215
116
|
appLimitCreditCodeItemsByCreditCodeId?: AppLimitCreditCodeToManyAppLimitCreditCodeItemFilter;
|
|
216
117
|
/** `appLimitCreditCodeItemsByCreditCodeId` exist. */
|
|
@@ -219,1472 +120,1573 @@ export interface AppLimitCreditCodeFilter {
|
|
|
219
120
|
appLimitCreditRedemptionsByCreditCodeId?: AppLimitCreditCodeToManyAppLimitCreditRedemptionFilter;
|
|
220
121
|
/** `appLimitCreditRedemptionsByCreditCodeId` exist. */
|
|
221
122
|
appLimitCreditRedemptionsByCreditCodeIdExist?: boolean;
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
every?: AppLimitCreditCodeItemFilter;
|
|
229
|
-
/** Filters to entities where no related entity matches. */
|
|
230
|
-
none?: AppLimitCreditCodeItemFilter;
|
|
231
|
-
}
|
|
232
|
-
/** A filter to be used against many `AppLimitCreditRedemption` object types. All fields are combined with a logical ‘and.’ */
|
|
233
|
-
export interface AppLimitCreditCodeToManyAppLimitCreditRedemptionFilter {
|
|
234
|
-
/** Filters to entities where at least one related entity matches. */
|
|
235
|
-
some?: AppLimitCreditRedemptionFilter;
|
|
236
|
-
/** Filters to entities where every related entity matches. */
|
|
237
|
-
every?: AppLimitCreditRedemptionFilter;
|
|
238
|
-
/** Filters to entities where no related entity matches. */
|
|
239
|
-
none?: AppLimitCreditRedemptionFilter;
|
|
240
|
-
}
|
|
241
|
-
/** A filter to be used against `AppLimitCreditRedemption` object types. All fields are combined with a logical ‘and.’ */
|
|
242
|
-
export interface AppLimitCreditRedemptionFilter {
|
|
123
|
+
/** Filter by the object’s `code` field. */
|
|
124
|
+
code?: StringFilter;
|
|
125
|
+
/** Filter by the object’s `currentRedemptions` field. */
|
|
126
|
+
currentRedemptions?: IntFilter;
|
|
127
|
+
/** Filter by the object’s `expiresAt` field. */
|
|
128
|
+
expiresAt?: DatetimeFilter;
|
|
243
129
|
/** Filter by the object’s `id` field. */
|
|
244
130
|
id?: UUIDFilter;
|
|
245
|
-
/** Filter by the object’s `
|
|
246
|
-
|
|
247
|
-
/** Filter by the object’s `entityId` field. */
|
|
248
|
-
entityId?: UUIDFilter;
|
|
249
|
-
/** Filter by the object’s `organizationId` field. */
|
|
250
|
-
organizationId?: UUIDFilter;
|
|
251
|
-
/** Filter by the object’s `entityType` field. */
|
|
252
|
-
entityType?: StringFilter;
|
|
253
|
-
/** Checks for all expressions in this list. */
|
|
254
|
-
and?: AppLimitCreditRedemptionFilter[];
|
|
255
|
-
/** Checks for any expressions in this list. */
|
|
256
|
-
or?: AppLimitCreditRedemptionFilter[];
|
|
131
|
+
/** Filter by the object’s `maxRedemptions` field. */
|
|
132
|
+
maxRedemptions?: IntFilter;
|
|
257
133
|
/** Negates the expression. */
|
|
258
|
-
not?:
|
|
259
|
-
/**
|
|
260
|
-
|
|
134
|
+
not?: AppLimitCreditCodeFilter;
|
|
135
|
+
/** Checks for any expressions in this list. */
|
|
136
|
+
or?: AppLimitCreditCodeFilter[];
|
|
261
137
|
}
|
|
262
|
-
/**
|
|
263
|
-
export interface
|
|
264
|
-
/**
|
|
265
|
-
|
|
266
|
-
/**
|
|
267
|
-
|
|
268
|
-
/**
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
138
|
+
/** An input for mutations affecting `AppLimitCreditCode` */
|
|
139
|
+
export interface AppLimitCreditCodeInput {
|
|
140
|
+
/** Human-readable credit code (case-insensitive, unique) */
|
|
141
|
+
code: string;
|
|
142
|
+
/** Current number of redemptions (incremented by trigger on credit_redemptions) */
|
|
143
|
+
currentRedemptions?: number;
|
|
144
|
+
/** Expiration timestamp; NULL for no expiry */
|
|
145
|
+
expiresAt?: string;
|
|
146
|
+
id?: string;
|
|
147
|
+
/** Maximum total redemptions allowed; NULL for unlimited */
|
|
148
|
+
maxRedemptions?: number;
|
|
149
|
+
}
|
|
150
|
+
/** A filter to be used against `AppLimitCreditCodeItem` object types. All fields are combined with a logical ‘and.’ */
|
|
151
|
+
export interface AppLimitCreditCodeItemFilter {
|
|
276
152
|
/** Filter by the object’s `amount` field. */
|
|
277
153
|
amount?: BigIntFilter;
|
|
154
|
+
/** Checks for all expressions in this list. */
|
|
155
|
+
and?: AppLimitCreditCodeItemFilter[];
|
|
156
|
+
/** Filter by the object’s `creditCode` relation. */
|
|
157
|
+
creditCode?: AppLimitCreditCodeFilter;
|
|
158
|
+
/** Filter by the object’s `creditCodeId` field. */
|
|
159
|
+
creditCodeId?: UUIDFilter;
|
|
278
160
|
/** Filter by the object’s `creditType` field. */
|
|
279
161
|
creditType?: StringFilter;
|
|
280
|
-
/** Filter by the object’s `reason` field. */
|
|
281
|
-
reason?: StringFilter;
|
|
282
|
-
/** Checks for all expressions in this list. */
|
|
283
|
-
and?: OrgLimitCreditFilter[];
|
|
284
|
-
/** Checks for any expressions in this list. */
|
|
285
|
-
or?: OrgLimitCreditFilter[];
|
|
286
|
-
/** Negates the expression. */
|
|
287
|
-
not?: OrgLimitCreditFilter;
|
|
288
162
|
/** Filter by the object’s `defaultLimit` relation. */
|
|
289
|
-
defaultLimit?:
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
export interface OrgLimitDefaultFilter {
|
|
163
|
+
defaultLimit?: AppLimitDefaultFilter;
|
|
164
|
+
/** Filter by the object’s `defaultLimitId` field. */
|
|
165
|
+
defaultLimitId?: UUIDFilter;
|
|
293
166
|
/** Filter by the object’s `id` field. */
|
|
294
167
|
id?: UUIDFilter;
|
|
295
|
-
/** Filter by the object’s `name` field. */
|
|
296
|
-
name?: StringFilter;
|
|
297
|
-
/** Filter by the object’s `max` field. */
|
|
298
|
-
max?: BigIntFilter;
|
|
299
|
-
/** Filter by the object’s `softMax` field. */
|
|
300
|
-
softMax?: BigIntFilter;
|
|
301
|
-
/** Checks for all expressions in this list. */
|
|
302
|
-
and?: OrgLimitDefaultFilter[];
|
|
303
|
-
/** Checks for any expressions in this list. */
|
|
304
|
-
or?: OrgLimitDefaultFilter[];
|
|
305
168
|
/** Negates the expression. */
|
|
306
|
-
not?:
|
|
307
|
-
/**
|
|
308
|
-
|
|
309
|
-
/** `orgLimitCreditsByDefaultLimitId` exist. */
|
|
310
|
-
orgLimitCreditsByDefaultLimitIdExist?: boolean;
|
|
169
|
+
not?: AppLimitCreditCodeItemFilter;
|
|
170
|
+
/** Checks for any expressions in this list. */
|
|
171
|
+
or?: AppLimitCreditCodeItemFilter[];
|
|
311
172
|
}
|
|
312
|
-
/**
|
|
313
|
-
export interface
|
|
173
|
+
/** An input for mutations affecting `AppLimitCreditCodeItem` */
|
|
174
|
+
export interface AppLimitCreditCodeItemInput {
|
|
175
|
+
/** Number of credits this item grants per redemption */
|
|
176
|
+
amount: string;
|
|
177
|
+
/** FK to credit_codes — which code this item belongs to */
|
|
178
|
+
creditCodeId: string;
|
|
179
|
+
/** Credit durability: permanent (survives window reset) or period (resets on window expiry) */
|
|
180
|
+
creditType?: string;
|
|
181
|
+
/** FK to default_limits — which limit this item grants credits for */
|
|
182
|
+
defaultLimitId: string;
|
|
183
|
+
id?: string;
|
|
184
|
+
}
|
|
185
|
+
/** Represents an update to a `AppLimitCreditCodeItem`. Fields that are set will be updated. */
|
|
186
|
+
export interface AppLimitCreditCodeItemPatch {
|
|
187
|
+
/** Number of credits this item grants per redemption */
|
|
188
|
+
amount?: string;
|
|
189
|
+
/** FK to credit_codes — which code this item belongs to */
|
|
190
|
+
creditCodeId?: string;
|
|
191
|
+
/** Credit durability: permanent (survives window reset) or period (resets on window expiry) */
|
|
192
|
+
creditType?: string;
|
|
193
|
+
/** FK to default_limits — which limit this item grants credits for */
|
|
194
|
+
defaultLimitId?: string;
|
|
195
|
+
id?: string;
|
|
196
|
+
}
|
|
197
|
+
/** Represents an update to a `AppLimitCreditCode`. Fields that are set will be updated. */
|
|
198
|
+
export interface AppLimitCreditCodePatch {
|
|
199
|
+
/** Human-readable credit code (case-insensitive, unique) */
|
|
200
|
+
code?: string;
|
|
201
|
+
/** Current number of redemptions (incremented by trigger on credit_redemptions) */
|
|
202
|
+
currentRedemptions?: number;
|
|
203
|
+
/** Expiration timestamp; NULL for no expiry */
|
|
204
|
+
expiresAt?: string;
|
|
205
|
+
id?: string;
|
|
206
|
+
/** Maximum total redemptions allowed; NULL for unlimited */
|
|
207
|
+
maxRedemptions?: number;
|
|
208
|
+
}
|
|
209
|
+
/** A filter to be used against many `AppLimitCreditCodeItem` object types. All fields are combined with a logical ‘and.’ */
|
|
210
|
+
export interface AppLimitCreditCodeToManyAppLimitCreditCodeItemFilter {
|
|
211
|
+
/** Filters to entities where every related entity matches. */
|
|
212
|
+
every?: AppLimitCreditCodeItemFilter;
|
|
213
|
+
/** Filters to entities where no related entity matches. */
|
|
214
|
+
none?: AppLimitCreditCodeItemFilter;
|
|
314
215
|
/** Filters to entities where at least one related entity matches. */
|
|
315
|
-
some?:
|
|
216
|
+
some?: AppLimitCreditCodeItemFilter;
|
|
217
|
+
}
|
|
218
|
+
/** A filter to be used against many `AppLimitCreditRedemption` object types. All fields are combined with a logical ‘and.’ */
|
|
219
|
+
export interface AppLimitCreditCodeToManyAppLimitCreditRedemptionFilter {
|
|
316
220
|
/** Filters to entities where every related entity matches. */
|
|
317
|
-
every?:
|
|
221
|
+
every?: AppLimitCreditRedemptionFilter;
|
|
318
222
|
/** Filters to entities where no related entity matches. */
|
|
319
|
-
none?:
|
|
223
|
+
none?: AppLimitCreditRedemptionFilter;
|
|
224
|
+
/** Filters to entities where at least one related entity matches. */
|
|
225
|
+
some?: AppLimitCreditRedemptionFilter;
|
|
320
226
|
}
|
|
321
|
-
/** A filter to be used against `
|
|
322
|
-
export interface
|
|
323
|
-
/** Filter by the object’s `
|
|
324
|
-
|
|
325
|
-
/** Filter by the object’s `
|
|
326
|
-
|
|
327
|
-
/** Filter by the object’s `warningType` field. */
|
|
328
|
-
warningType?: StringFilter;
|
|
329
|
-
/** Filter by the object’s `thresholdValue` field. */
|
|
330
|
-
thresholdValue?: BigIntFilter;
|
|
331
|
-
/** Filter by the object’s `taskIdentifier` field. */
|
|
332
|
-
taskIdentifier?: StringFilter;
|
|
227
|
+
/** A filter to be used against `AppLimitCredit` object types. All fields are combined with a logical ‘and.’ */
|
|
228
|
+
export interface AppLimitCreditFilter {
|
|
229
|
+
/** Filter by the object’s `actorId` field. */
|
|
230
|
+
actorId?: UUIDFilter;
|
|
231
|
+
/** Filter by the object’s `amount` field. */
|
|
232
|
+
amount?: BigIntFilter;
|
|
333
233
|
/** Checks for all expressions in this list. */
|
|
334
|
-
and?:
|
|
335
|
-
/**
|
|
336
|
-
|
|
337
|
-
/**
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
export interface OrgLimitWarningFilter {
|
|
234
|
+
and?: AppLimitCreditFilter[];
|
|
235
|
+
/** Filter by the object’s `creditType` field. */
|
|
236
|
+
creditType?: StringFilter;
|
|
237
|
+
/** Filter by the object’s `defaultLimit` relation. */
|
|
238
|
+
defaultLimit?: AppLimitDefaultFilter;
|
|
239
|
+
/** Filter by the object’s `defaultLimitId` field. */
|
|
240
|
+
defaultLimitId?: UUIDFilter;
|
|
342
241
|
/** Filter by the object’s `id` field. */
|
|
343
242
|
id?: UUIDFilter;
|
|
344
|
-
/** Filter by the object’s `name` field. */
|
|
345
|
-
name?: StringFilter;
|
|
346
|
-
/** Filter by the object’s `warningType` field. */
|
|
347
|
-
warningType?: StringFilter;
|
|
348
|
-
/** Filter by the object’s `thresholdValue` field. */
|
|
349
|
-
thresholdValue?: BigIntFilter;
|
|
350
|
-
/** Filter by the object’s `taskIdentifier` field. */
|
|
351
|
-
taskIdentifier?: StringFilter;
|
|
352
|
-
/** Filter by the object’s `entityId` field. */
|
|
353
|
-
entityId?: UUIDFilter;
|
|
354
|
-
/** Checks for all expressions in this list. */
|
|
355
|
-
and?: OrgLimitWarningFilter[];
|
|
356
|
-
/** Checks for any expressions in this list. */
|
|
357
|
-
or?: OrgLimitWarningFilter[];
|
|
358
243
|
/** Negates the expression. */
|
|
359
|
-
not?:
|
|
244
|
+
not?: AppLimitCreditFilter;
|
|
245
|
+
/** Checks for any expressions in this list. */
|
|
246
|
+
or?: AppLimitCreditFilter[];
|
|
247
|
+
/** Filter by the object’s `reason` field. */
|
|
248
|
+
reason?: StringFilter;
|
|
360
249
|
}
|
|
361
|
-
/**
|
|
362
|
-
export interface
|
|
363
|
-
/**
|
|
364
|
-
|
|
365
|
-
/**
|
|
366
|
-
|
|
367
|
-
/**
|
|
368
|
-
|
|
369
|
-
/**
|
|
370
|
-
|
|
250
|
+
/** An input for mutations affecting `AppLimitCredit` */
|
|
251
|
+
export interface AppLimitCreditInput {
|
|
252
|
+
/** User this credit is for; NULL for aggregate entity-level credits */
|
|
253
|
+
actorId?: string;
|
|
254
|
+
/** Number of credits to grant (positive to add, negative to revoke) */
|
|
255
|
+
amount: string;
|
|
256
|
+
/** Credit durability: permanent (survives window reset) or period (resets on window expiry) */
|
|
257
|
+
creditType?: string;
|
|
258
|
+
/** FK to default_limits — which limit definition this credit applies to */
|
|
259
|
+
defaultLimitId: string;
|
|
260
|
+
id?: string;
|
|
261
|
+
/** Optional reason for the credit grant (promo code, admin grant, etc.) */
|
|
262
|
+
reason?: string;
|
|
263
|
+
}
|
|
264
|
+
/** Represents an update to a `AppLimitCredit`. Fields that are set will be updated. */
|
|
265
|
+
export interface AppLimitCreditPatch {
|
|
266
|
+
/** User this credit is for; NULL for aggregate entity-level credits */
|
|
267
|
+
actorId?: string;
|
|
268
|
+
/** Number of credits to grant (positive to add, negative to revoke) */
|
|
269
|
+
amount?: string;
|
|
270
|
+
/** Credit durability: permanent (survives window reset) or period (resets on window expiry) */
|
|
271
|
+
creditType?: string;
|
|
272
|
+
/** FK to default_limits — which limit definition this credit applies to */
|
|
273
|
+
defaultLimitId?: string;
|
|
274
|
+
id?: string;
|
|
275
|
+
/** Optional reason for the credit grant (promo code, admin grant, etc.) */
|
|
276
|
+
reason?: string;
|
|
277
|
+
}
|
|
278
|
+
/** A filter to be used against `AppLimitCreditRedemption` object types. All fields are combined with a logical ‘and.’ */
|
|
279
|
+
export interface AppLimitCreditRedemptionFilter {
|
|
280
|
+
/** Checks for all expressions in this list. */
|
|
281
|
+
and?: AppLimitCreditRedemptionFilter[];
|
|
282
|
+
/** Filter by the object’s `creditCode` relation. */
|
|
283
|
+
creditCode?: AppLimitCreditCodeFilter;
|
|
284
|
+
/** Filter by the object’s `creditCodeId` field. */
|
|
285
|
+
creditCodeId?: UUIDFilter;
|
|
371
286
|
/** Filter by the object’s `entityId` field. */
|
|
372
287
|
entityId?: UUIDFilter;
|
|
373
|
-
/** Filter by the object’s `organizationId` field. */
|
|
374
|
-
organizationId?: UUIDFilter;
|
|
375
288
|
/** Filter by the object’s `entityType` field. */
|
|
376
289
|
entityType?: StringFilter;
|
|
377
|
-
/** Filter by the object’s `eventType` field. */
|
|
378
|
-
eventType?: StringFilter;
|
|
379
|
-
/** Filter by the object’s `delta` field. */
|
|
380
|
-
delta?: BigIntFilter;
|
|
381
|
-
/** Filter by the object’s `numBefore` field. */
|
|
382
|
-
numBefore?: BigIntFilter;
|
|
383
|
-
/** Filter by the object’s `numAfter` field. */
|
|
384
|
-
numAfter?: BigIntFilter;
|
|
385
|
-
/** Filter by the object’s `maxAtEvent` field. */
|
|
386
|
-
maxAtEvent?: BigIntFilter;
|
|
387
|
-
/** Filter by the object’s `reason` field. */
|
|
388
|
-
reason?: StringFilter;
|
|
389
|
-
/** Checks for all expressions in this list. */
|
|
390
|
-
and?: AppLimitEventFilter[];
|
|
391
|
-
/** Checks for any expressions in this list. */
|
|
392
|
-
or?: AppLimitEventFilter[];
|
|
393
|
-
/** Negates the expression. */
|
|
394
|
-
not?: AppLimitEventFilter;
|
|
395
|
-
}
|
|
396
|
-
/** A filter to be used against `OrgLimitEvent` object types. All fields are combined with a logical ‘and.’ */
|
|
397
|
-
export interface OrgLimitEventFilter {
|
|
398
|
-
/** Filter by the object’s `createdAt` field. */
|
|
399
|
-
createdAt?: DatetimeFilter;
|
|
400
290
|
/** Filter by the object’s `id` field. */
|
|
401
291
|
id?: UUIDFilter;
|
|
402
|
-
/**
|
|
403
|
-
|
|
404
|
-
/**
|
|
405
|
-
|
|
406
|
-
/** Filter by the object’s `entityId` field. */
|
|
407
|
-
entityId?: UUIDFilter;
|
|
292
|
+
/** Negates the expression. */
|
|
293
|
+
not?: AppLimitCreditRedemptionFilter;
|
|
294
|
+
/** Checks for any expressions in this list. */
|
|
295
|
+
or?: AppLimitCreditRedemptionFilter[];
|
|
408
296
|
/** Filter by the object’s `organizationId` field. */
|
|
409
297
|
organizationId?: UUIDFilter;
|
|
298
|
+
}
|
|
299
|
+
/** An input for mutations affecting `AppLimitCreditRedemption` */
|
|
300
|
+
export interface AppLimitCreditRedemptionInput {
|
|
301
|
+
/** FK to credit_codes — which code is being redeemed */
|
|
302
|
+
creditCodeId: string;
|
|
303
|
+
/** Entity receiving the credits (personal org user_id or org entity_id) */
|
|
304
|
+
entityId: string;
|
|
305
|
+
/** Membership prefix identifying the entity kind (org, team, app) */
|
|
306
|
+
entityType?: string;
|
|
307
|
+
id?: string;
|
|
308
|
+
/** Resolved billable organization via get_organization_id */
|
|
309
|
+
organizationId?: string;
|
|
310
|
+
}
|
|
311
|
+
/** Represents an update to a `AppLimitCreditRedemption`. Fields that are set will be updated. */
|
|
312
|
+
export interface AppLimitCreditRedemptionPatch {
|
|
313
|
+
/** FK to credit_codes — which code is being redeemed */
|
|
314
|
+
creditCodeId?: string;
|
|
315
|
+
/** Entity receiving the credits (personal org user_id or org entity_id) */
|
|
316
|
+
entityId?: string;
|
|
317
|
+
/** Membership prefix identifying the entity kind (org, team, app) */
|
|
318
|
+
entityType?: string;
|
|
319
|
+
id?: string;
|
|
320
|
+
/** Resolved billable organization via get_organization_id */
|
|
321
|
+
organizationId?: string;
|
|
322
|
+
}
|
|
323
|
+
/** A filter to be used against `AppLimitDefault` object types. All fields are combined with a logical ‘and.’ */
|
|
324
|
+
export interface AppLimitDefaultFilter {
|
|
325
|
+
/** Checks for all expressions in this list. */
|
|
326
|
+
and?: AppLimitDefaultFilter[];
|
|
327
|
+
/** Filter by the object’s `appLimitCreditCodeItemsByDefaultLimitId` relation. */
|
|
328
|
+
appLimitCreditCodeItemsByDefaultLimitId?: AppLimitDefaultToManyAppLimitCreditCodeItemFilter;
|
|
329
|
+
/** `appLimitCreditCodeItemsByDefaultLimitId` exist. */
|
|
330
|
+
appLimitCreditCodeItemsByDefaultLimitIdExist?: boolean;
|
|
331
|
+
/** Filter by the object’s `appLimitCreditsByDefaultLimitId` relation. */
|
|
332
|
+
appLimitCreditsByDefaultLimitId?: AppLimitDefaultToManyAppLimitCreditFilter;
|
|
333
|
+
/** `appLimitCreditsByDefaultLimitId` exist. */
|
|
334
|
+
appLimitCreditsByDefaultLimitIdExist?: boolean;
|
|
335
|
+
/** Filter by the object’s `id` field. */
|
|
336
|
+
id?: UUIDFilter;
|
|
337
|
+
/** Filter by the object’s `max` field. */
|
|
338
|
+
max?: BigIntFilter;
|
|
339
|
+
/** Filter by the object’s `name` field. */
|
|
340
|
+
name?: StringFilter;
|
|
341
|
+
/** Negates the expression. */
|
|
342
|
+
not?: AppLimitDefaultFilter;
|
|
343
|
+
/** Checks for any expressions in this list. */
|
|
344
|
+
or?: AppLimitDefaultFilter[];
|
|
345
|
+
/** Filter by the object’s `softMax` field. */
|
|
346
|
+
softMax?: BigIntFilter;
|
|
347
|
+
}
|
|
348
|
+
/** An input for mutations affecting `AppLimitDefault` */
|
|
349
|
+
export interface AppLimitDefaultInput {
|
|
350
|
+
id?: string;
|
|
351
|
+
/** Default maximum usage allowed for this limit */
|
|
352
|
+
max?: string;
|
|
353
|
+
/** Name identifier of the limit this default applies to */
|
|
354
|
+
name: string;
|
|
355
|
+
/** Default soft limit threshold for warnings; NULL means no soft limit */
|
|
356
|
+
softMax?: string;
|
|
357
|
+
}
|
|
358
|
+
/** Represents an update to a `AppLimitDefault`. Fields that are set will be updated. */
|
|
359
|
+
export interface AppLimitDefaultPatch {
|
|
360
|
+
id?: string;
|
|
361
|
+
/** Default maximum usage allowed for this limit */
|
|
362
|
+
max?: string;
|
|
363
|
+
/** Name identifier of the limit this default applies to */
|
|
364
|
+
name?: string;
|
|
365
|
+
/** Default soft limit threshold for warnings; NULL means no soft limit */
|
|
366
|
+
softMax?: string;
|
|
367
|
+
}
|
|
368
|
+
/** A filter to be used against many `AppLimitCreditCodeItem` object types. All fields are combined with a logical ‘and.’ */
|
|
369
|
+
export interface AppLimitDefaultToManyAppLimitCreditCodeItemFilter {
|
|
370
|
+
/** Filters to entities where every related entity matches. */
|
|
371
|
+
every?: AppLimitCreditCodeItemFilter;
|
|
372
|
+
/** Filters to entities where no related entity matches. */
|
|
373
|
+
none?: AppLimitCreditCodeItemFilter;
|
|
374
|
+
/** Filters to entities where at least one related entity matches. */
|
|
375
|
+
some?: AppLimitCreditCodeItemFilter;
|
|
376
|
+
}
|
|
377
|
+
/** A filter to be used against many `AppLimitCredit` object types. All fields are combined with a logical ‘and.’ */
|
|
378
|
+
export interface AppLimitDefaultToManyAppLimitCreditFilter {
|
|
379
|
+
/** Filters to entities where every related entity matches. */
|
|
380
|
+
every?: AppLimitCreditFilter;
|
|
381
|
+
/** Filters to entities where no related entity matches. */
|
|
382
|
+
none?: AppLimitCreditFilter;
|
|
383
|
+
/** Filters to entities where at least one related entity matches. */
|
|
384
|
+
some?: AppLimitCreditFilter;
|
|
385
|
+
}
|
|
386
|
+
/** A filter to be used against `AppLimitEvent` object types. All fields are combined with a logical ‘and.’ */
|
|
387
|
+
export interface AppLimitEventFilter {
|
|
388
|
+
/** Filter by the object’s `actorId` field. */
|
|
389
|
+
actorId?: UUIDFilter;
|
|
390
|
+
/** Checks for all expressions in this list. */
|
|
391
|
+
and?: AppLimitEventFilter[];
|
|
392
|
+
/** Filter by the object’s `createdAt` field. */
|
|
393
|
+
createdAt?: DatetimeFilter;
|
|
394
|
+
/** Filter by the object’s `delta` field. */
|
|
395
|
+
delta?: BigIntFilter;
|
|
396
|
+
/** Filter by the object’s `entityId` field. */
|
|
397
|
+
entityId?: UUIDFilter;
|
|
410
398
|
/** Filter by the object’s `entityType` field. */
|
|
411
399
|
entityType?: StringFilter;
|
|
412
400
|
/** Filter by the object’s `eventType` field. */
|
|
413
401
|
eventType?: StringFilter;
|
|
414
|
-
/** Filter by the object’s `
|
|
415
|
-
|
|
416
|
-
/** Filter by the object’s `numBefore` field. */
|
|
417
|
-
numBefore?: BigIntFilter;
|
|
418
|
-
/** Filter by the object’s `numAfter` field. */
|
|
419
|
-
numAfter?: BigIntFilter;
|
|
402
|
+
/** Filter by the object’s `id` field. */
|
|
403
|
+
id?: UUIDFilter;
|
|
420
404
|
/** Filter by the object’s `maxAtEvent` field. */
|
|
421
405
|
maxAtEvent?: BigIntFilter;
|
|
406
|
+
/** Filter by the object’s `name` field. */
|
|
407
|
+
name?: StringFilter;
|
|
408
|
+
/** Negates the expression. */
|
|
409
|
+
not?: AppLimitEventFilter;
|
|
410
|
+
/** Filter by the object’s `numAfter` field. */
|
|
411
|
+
numAfter?: BigIntFilter;
|
|
412
|
+
/** Filter by the object’s `numBefore` field. */
|
|
413
|
+
numBefore?: BigIntFilter;
|
|
414
|
+
/** Checks for any expressions in this list. */
|
|
415
|
+
or?: AppLimitEventFilter[];
|
|
416
|
+
/** Filter by the object’s `organizationId` field. */
|
|
417
|
+
organizationId?: UUIDFilter;
|
|
422
418
|
/** Filter by the object’s `reason` field. */
|
|
423
419
|
reason?: StringFilter;
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
420
|
+
}
|
|
421
|
+
/** An input for mutations affecting `AppLimitEvent` */
|
|
422
|
+
export interface AppLimitEventInput {
|
|
423
|
+
/** User who triggered this event; NULL for system/aggregate events */
|
|
424
|
+
actorId?: string;
|
|
425
|
+
createdAt?: string;
|
|
426
|
+
/** Change amount: positive for increment, negative for decrement */
|
|
427
|
+
delta?: string;
|
|
428
|
+
/** Entity this event applies to; NULL for app-level events */
|
|
429
|
+
entityId?: string;
|
|
430
|
+
/** Entity type prefix (org, team, app, etc.) for interpreting entity_id */
|
|
431
|
+
entityType?: string;
|
|
432
|
+
/** Event type: inc, dec, check, modify, transfer, apply_plan, reset */
|
|
433
|
+
eventType?: string;
|
|
434
|
+
/** Unique identifier for each limit event */
|
|
435
|
+
id?: string;
|
|
436
|
+
/** Max limit ceiling at the time of this event */
|
|
437
|
+
maxAtEvent?: string;
|
|
438
|
+
/** Limit name this event applies to */
|
|
439
|
+
name?: string;
|
|
440
|
+
/** Usage count after this event */
|
|
441
|
+
numAfter?: string;
|
|
442
|
+
/** Usage count before this event */
|
|
443
|
+
numBefore?: string;
|
|
444
|
+
/** Resolved billable organization via get_organization_id; NULL for app-level events */
|
|
445
|
+
organizationId?: string;
|
|
446
|
+
/** Optional reason or source: achievement, invite, plan_change, purchase, etc. */
|
|
447
|
+
reason?: string;
|
|
448
|
+
}
|
|
449
|
+
/** Represents an update to a `AppLimitEvent`. Fields that are set will be updated. */
|
|
450
|
+
export interface AppLimitEventPatch {
|
|
451
|
+
/** User who triggered this event; NULL for system/aggregate events */
|
|
452
|
+
actorId?: string;
|
|
453
|
+
createdAt?: string;
|
|
454
|
+
/** Change amount: positive for increment, negative for decrement */
|
|
455
|
+
delta?: string;
|
|
456
|
+
/** Entity this event applies to; NULL for app-level events */
|
|
457
|
+
entityId?: string;
|
|
458
|
+
/** Entity type prefix (org, team, app, etc.) for interpreting entity_id */
|
|
459
|
+
entityType?: string;
|
|
460
|
+
/** Event type: inc, dec, check, modify, transfer, apply_plan, reset */
|
|
461
|
+
eventType?: string;
|
|
462
|
+
/** Unique identifier for each limit event */
|
|
463
|
+
id?: string;
|
|
464
|
+
/** Max limit ceiling at the time of this event */
|
|
465
|
+
maxAtEvent?: string;
|
|
466
|
+
/** Limit name this event applies to */
|
|
467
|
+
name?: string;
|
|
468
|
+
/** Usage count after this event */
|
|
469
|
+
numAfter?: string;
|
|
470
|
+
/** Usage count before this event */
|
|
471
|
+
numBefore?: string;
|
|
472
|
+
/** Resolved billable organization via get_organization_id; NULL for app-level events */
|
|
473
|
+
organizationId?: string;
|
|
474
|
+
/** Optional reason or source: achievement, invite, plan_change, purchase, etc. */
|
|
475
|
+
reason?: string;
|
|
430
476
|
}
|
|
431
477
|
/** A filter to be used against `AppLimit` object types. All fields are combined with a logical ‘and.’ */
|
|
432
478
|
export interface AppLimitFilter {
|
|
479
|
+
/** Filter by the object’s `actorId` field. */
|
|
480
|
+
actorId?: UUIDFilter;
|
|
481
|
+
/** Checks for all expressions in this list. */
|
|
482
|
+
and?: AppLimitFilter[];
|
|
483
|
+
/** Filter by the object’s `entityType` field. */
|
|
484
|
+
entityType?: StringFilter;
|
|
433
485
|
/** Filter by the object’s `id` field. */
|
|
434
486
|
id?: UUIDFilter;
|
|
487
|
+
/** Filter by the object’s `max` field. */
|
|
488
|
+
max?: BigIntFilter;
|
|
435
489
|
/** Filter by the object’s `name` field. */
|
|
436
490
|
name?: StringFilter;
|
|
437
|
-
/**
|
|
438
|
-
|
|
491
|
+
/** Negates the expression. */
|
|
492
|
+
not?: AppLimitFilter;
|
|
439
493
|
/** Filter by the object’s `num` field. */
|
|
440
494
|
num?: BigIntFilter;
|
|
441
|
-
/**
|
|
442
|
-
|
|
443
|
-
/** Filter by the object’s `
|
|
444
|
-
|
|
445
|
-
/** Filter by the object’s `
|
|
446
|
-
|
|
447
|
-
/** Filter by the object’s `windowDuration` field. */
|
|
448
|
-
windowDuration?: IntervalFilter;
|
|
495
|
+
/** Checks for any expressions in this list. */
|
|
496
|
+
or?: AppLimitFilter[];
|
|
497
|
+
/** Filter by the object’s `organizationId` field. */
|
|
498
|
+
organizationId?: UUIDFilter;
|
|
499
|
+
/** Filter by the object’s `periodCredits` field. */
|
|
500
|
+
periodCredits?: BigIntFilter;
|
|
449
501
|
/** Filter by the object’s `planMax` field. */
|
|
450
502
|
planMax?: BigIntFilter;
|
|
451
503
|
/** Filter by the object’s `purchasedCredits` field. */
|
|
452
504
|
purchasedCredits?: BigIntFilter;
|
|
453
|
-
/** Filter by the object’s `
|
|
454
|
-
|
|
455
|
-
/** Filter by the object’s `
|
|
456
|
-
|
|
457
|
-
/** Filter by the object’s `
|
|
458
|
-
|
|
459
|
-
/** Checks for all expressions in this list. */
|
|
460
|
-
and?: AppLimitFilter[];
|
|
461
|
-
/** Checks for any expressions in this list. */
|
|
462
|
-
or?: AppLimitFilter[];
|
|
463
|
-
/** Negates the expression. */
|
|
464
|
-
not?: AppLimitFilter;
|
|
505
|
+
/** Filter by the object’s `softMax` field. */
|
|
506
|
+
softMax?: BigIntFilter;
|
|
507
|
+
/** Filter by the object’s `windowDuration` field. */
|
|
508
|
+
windowDuration?: IntervalFilter;
|
|
509
|
+
/** Filter by the object’s `windowStart` field. */
|
|
510
|
+
windowStart?: DatetimeFilter;
|
|
465
511
|
}
|
|
466
|
-
/**
|
|
467
|
-
export interface
|
|
468
|
-
/**
|
|
469
|
-
|
|
470
|
-
/**
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
512
|
+
/** An input for mutations affecting `AppLimit` */
|
|
513
|
+
export interface AppLimitInput {
|
|
514
|
+
/** User whose usage is being tracked against this limit */
|
|
515
|
+
actorId: string;
|
|
516
|
+
/** Entity type prefix (org, team, app, etc.) for interpreting entity_id */
|
|
517
|
+
entityType?: string;
|
|
518
|
+
id?: string;
|
|
519
|
+
/** Maximum allowed usage; negative means unlimited. Modified by plans, credits, and achievements. */
|
|
520
|
+
max?: string;
|
|
521
|
+
/** Name identifier of the limit being tracked */
|
|
522
|
+
name?: string;
|
|
523
|
+
/** Current usage count for this actor and limit */
|
|
524
|
+
num?: string;
|
|
525
|
+
/** Resolved billable organization via get_organization_id */
|
|
526
|
+
organizationId?: string;
|
|
527
|
+
/** Temporary credits for the current billing window. Resets to 0 on window expiry. */
|
|
528
|
+
periodCredits?: string;
|
|
529
|
+
/** Ceiling set by the active plan via apply_plan(). Window reset does not change this value. */
|
|
530
|
+
planMax?: string;
|
|
531
|
+
/** Permanent credits from purchases, admin grants, or lifetime rewards. Survives window reset. */
|
|
532
|
+
purchasedCredits?: string;
|
|
533
|
+
/** Soft limit threshold for warnings; NULL means no soft limit. When num >= soft_max, consumers should warn but still allow until max is reached. */
|
|
534
|
+
softMax?: string;
|
|
535
|
+
/** Duration of the metering window (e.g. 1 day, 1 month); NULL means no time window */
|
|
536
|
+
windowDuration?: IntervalInput;
|
|
537
|
+
/** Start of the current metering window; NULL means no time window */
|
|
538
|
+
windowStart?: string;
|
|
490
539
|
}
|
|
491
|
-
/**
|
|
492
|
-
export interface
|
|
493
|
-
/**
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
540
|
+
/** Represents an update to a `AppLimit`. Fields that are set will be updated. */
|
|
541
|
+
export interface AppLimitPatch {
|
|
542
|
+
/** User whose usage is being tracked against this limit */
|
|
543
|
+
actorId?: string;
|
|
544
|
+
/** Entity type prefix (org, team, app, etc.) for interpreting entity_id */
|
|
545
|
+
entityType?: string;
|
|
546
|
+
id?: string;
|
|
547
|
+
/** Maximum allowed usage; negative means unlimited. Modified by plans, credits, and achievements. */
|
|
548
|
+
max?: string;
|
|
549
|
+
/** Name identifier of the limit being tracked */
|
|
550
|
+
name?: string;
|
|
551
|
+
/** Current usage count for this actor and limit */
|
|
552
|
+
num?: string;
|
|
553
|
+
/** Resolved billable organization via get_organization_id */
|
|
554
|
+
organizationId?: string;
|
|
555
|
+
/** Temporary credits for the current billing window. Resets to 0 on window expiry. */
|
|
556
|
+
periodCredits?: string;
|
|
557
|
+
/** Ceiling set by the active plan via apply_plan(). Window reset does not change this value. */
|
|
558
|
+
planMax?: string;
|
|
559
|
+
/** Permanent credits from purchases, admin grants, or lifetime rewards. Survives window reset. */
|
|
560
|
+
purchasedCredits?: string;
|
|
561
|
+
/** Soft limit threshold for warnings; NULL means no soft limit. When num >= soft_max, consumers should warn but still allow until max is reached. */
|
|
562
|
+
softMax?: string;
|
|
563
|
+
/** Duration of the metering window (e.g. 1 day, 1 month); NULL means no time window */
|
|
564
|
+
windowDuration?: IntervalInput;
|
|
565
|
+
/** Start of the current metering window; NULL means no time window */
|
|
566
|
+
windowStart?: string;
|
|
509
567
|
}
|
|
510
|
-
/** A filter to be used against `
|
|
511
|
-
export interface
|
|
512
|
-
/** Filter by the object’s `id` field. */
|
|
513
|
-
id?: UUIDFilter;
|
|
514
|
-
/** Filter by the object’s `name` field. */
|
|
515
|
-
name?: StringFilter;
|
|
516
|
-
/** Filter by the object’s `entityId` field. */
|
|
517
|
-
entityId?: UUIDFilter;
|
|
518
|
-
/** Filter by the object’s `num` field. */
|
|
519
|
-
num?: BigIntFilter;
|
|
520
|
-
/** Filter by the object’s `max` field. */
|
|
521
|
-
max?: BigIntFilter;
|
|
522
|
-
/** Filter by the object’s `softMax` field. */
|
|
523
|
-
softMax?: BigIntFilter;
|
|
524
|
-
/** Filter by the object’s `windowStart` field. */
|
|
525
|
-
windowStart?: DatetimeFilter;
|
|
526
|
-
/** Filter by the object’s `windowDuration` field. */
|
|
527
|
-
windowDuration?: IntervalFilter;
|
|
528
|
-
/** Filter by the object’s `planMax` field. */
|
|
529
|
-
planMax?: BigIntFilter;
|
|
530
|
-
/** Filter by the object’s `purchasedCredits` field. */
|
|
531
|
-
purchasedCredits?: BigIntFilter;
|
|
532
|
-
/** Filter by the object’s `periodCredits` field. */
|
|
533
|
-
periodCredits?: BigIntFilter;
|
|
534
|
-
/** Filter by the object’s `reserved` field. */
|
|
535
|
-
reserved?: BigIntFilter;
|
|
536
|
-
/** Filter by the object’s `organizationId` field. */
|
|
537
|
-
organizationId?: UUIDFilter;
|
|
538
|
-
/** Filter by the object’s `entityType` field. */
|
|
539
|
-
entityType?: StringFilter;
|
|
568
|
+
/** A filter to be used against `AppLimitWarning` object types. All fields are combined with a logical ‘and.’ */
|
|
569
|
+
export interface AppLimitWarningFilter {
|
|
540
570
|
/** Checks for all expressions in this list. */
|
|
541
|
-
and?:
|
|
542
|
-
/** Checks for any expressions in this list. */
|
|
543
|
-
or?: OrgLimitAggregateFilter[];
|
|
544
|
-
/** Negates the expression. */
|
|
545
|
-
not?: OrgLimitAggregateFilter;
|
|
546
|
-
}
|
|
547
|
-
/** A filter to be used against `OrgLimit` object types. All fields are combined with a logical ‘and.’ */
|
|
548
|
-
export interface OrgLimitFilter {
|
|
571
|
+
and?: AppLimitWarningFilter[];
|
|
549
572
|
/** Filter by the object’s `id` field. */
|
|
550
573
|
id?: UUIDFilter;
|
|
551
574
|
/** Filter by the object’s `name` field. */
|
|
552
575
|
name?: StringFilter;
|
|
553
|
-
/** Filter by the object’s `actorId` field. */
|
|
554
|
-
actorId?: UUIDFilter;
|
|
555
|
-
/** Filter by the object’s `num` field. */
|
|
556
|
-
num?: BigIntFilter;
|
|
557
|
-
/** Filter by the object’s `max` field. */
|
|
558
|
-
max?: BigIntFilter;
|
|
559
|
-
/** Filter by the object’s `softMax` field. */
|
|
560
|
-
softMax?: BigIntFilter;
|
|
561
|
-
/** Filter by the object’s `windowStart` field. */
|
|
562
|
-
windowStart?: DatetimeFilter;
|
|
563
|
-
/** Filter by the object’s `windowDuration` field. */
|
|
564
|
-
windowDuration?: IntervalFilter;
|
|
565
|
-
/** Filter by the object’s `planMax` field. */
|
|
566
|
-
planMax?: BigIntFilter;
|
|
567
|
-
/** Filter by the object’s `purchasedCredits` field. */
|
|
568
|
-
purchasedCredits?: BigIntFilter;
|
|
569
|
-
/** Filter by the object’s `periodCredits` field. */
|
|
570
|
-
periodCredits?: BigIntFilter;
|
|
571
|
-
/** Filter by the object’s `entityId` field. */
|
|
572
|
-
entityId?: UUIDFilter;
|
|
573
|
-
/** Filter by the object’s `organizationId` field. */
|
|
574
|
-
organizationId?: UUIDFilter;
|
|
575
|
-
/** Filter by the object’s `entityType` field. */
|
|
576
|
-
entityType?: StringFilter;
|
|
577
|
-
/** Checks for all expressions in this list. */
|
|
578
|
-
and?: OrgLimitFilter[];
|
|
579
|
-
/** Checks for any expressions in this list. */
|
|
580
|
-
or?: OrgLimitFilter[];
|
|
581
576
|
/** Negates the expression. */
|
|
582
|
-
not?:
|
|
577
|
+
not?: AppLimitWarningFilter;
|
|
578
|
+
/** Checks for any expressions in this list. */
|
|
579
|
+
or?: AppLimitWarningFilter[];
|
|
580
|
+
/** Filter by the object’s `taskIdentifier` field. */
|
|
581
|
+
taskIdentifier?: StringFilter;
|
|
582
|
+
/** Filter by the object’s `thresholdValue` field. */
|
|
583
|
+
thresholdValue?: BigIntFilter;
|
|
584
|
+
/** Filter by the object’s `warningType` field. */
|
|
585
|
+
warningType?: StringFilter;
|
|
583
586
|
}
|
|
584
|
-
|
|
587
|
+
/** An input for mutations affecting `AppLimitWarning` */
|
|
588
|
+
export interface AppLimitWarningInput {
|
|
589
|
+
id?: string;
|
|
590
|
+
/** Limit name this warning applies to (must match a default_limits entry) */
|
|
591
|
+
name: string;
|
|
592
|
+
/** Job task name to enqueue when warning fires (e.g. email:limit_warning, notification:approaching_limit) */
|
|
593
|
+
taskIdentifier: string;
|
|
594
|
+
/** Threshold value — either an absolute count or a percentage (1-100) depending on warning_type */
|
|
595
|
+
thresholdValue: string;
|
|
596
|
+
/** Threshold type: absolute (fixed count) or percentage (of max) */
|
|
597
|
+
warningType: string;
|
|
598
|
+
}
|
|
599
|
+
/** Represents an update to a `AppLimitWarning`. Fields that are set will be updated. */
|
|
600
|
+
export interface AppLimitWarningPatch {
|
|
601
|
+
id?: string;
|
|
602
|
+
/** Limit name this warning applies to (must match a default_limits entry) */
|
|
603
|
+
name?: string;
|
|
604
|
+
/** Job task name to enqueue when warning fires (e.g. email:limit_warning, notification:approaching_limit) */
|
|
605
|
+
taskIdentifier?: string;
|
|
606
|
+
/** Threshold value — either an absolute count or a percentage (1-100) depending on warning_type */
|
|
607
|
+
thresholdValue?: string;
|
|
608
|
+
/** Threshold type: absolute (fixed count) or percentage (of max) */
|
|
609
|
+
warningType?: string;
|
|
610
|
+
}
|
|
611
|
+
export interface CreateAppLimitCapInput {
|
|
612
|
+
/** The `AppLimitCap` to be created by this mutation. */
|
|
613
|
+
appLimitCap: AppLimitCapInput;
|
|
585
614
|
clientMutationId?: string;
|
|
586
|
-
defaults?: unknown;
|
|
587
615
|
}
|
|
588
|
-
export interface
|
|
616
|
+
export interface CreateAppLimitCapsDefaultInput {
|
|
617
|
+
/** The `AppLimitCapsDefault` to be created by this mutation. */
|
|
618
|
+
appLimitCapsDefault: AppLimitCapsDefaultInput;
|
|
589
619
|
clientMutationId?: string;
|
|
590
|
-
defaults?: unknown;
|
|
591
620
|
}
|
|
592
|
-
export interface
|
|
621
|
+
export interface CreateAppLimitCreditCodeInput {
|
|
622
|
+
/** The `AppLimitCreditCode` to be created by this mutation. */
|
|
623
|
+
appLimitCreditCode: AppLimitCreditCodeInput;
|
|
593
624
|
clientMutationId?: string;
|
|
594
|
-
defaults?: unknown;
|
|
595
625
|
}
|
|
596
|
-
export interface
|
|
626
|
+
export interface CreateAppLimitCreditCodeItemInput {
|
|
627
|
+
/** The `AppLimitCreditCodeItem` to be created by this mutation. */
|
|
628
|
+
appLimitCreditCodeItem: AppLimitCreditCodeItemInput;
|
|
597
629
|
clientMutationId?: string;
|
|
598
|
-
defaults?: unknown;
|
|
599
630
|
}
|
|
600
|
-
export interface
|
|
631
|
+
export interface CreateAppLimitCreditInput {
|
|
632
|
+
/** The `AppLimitCredit` to be created by this mutation. */
|
|
633
|
+
appLimitCredit: AppLimitCreditInput;
|
|
601
634
|
clientMutationId?: string;
|
|
602
|
-
/** The `AppLimitCapsDefault` to be created by this mutation. */
|
|
603
|
-
appLimitCapsDefault: AppLimitCapsDefaultInput;
|
|
604
635
|
}
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
name: string;
|
|
610
|
-
/** Default cap value. For feature flags: 0=disabled, 1=enabled. For size caps: the limit in bytes/units. */
|
|
611
|
-
max?: string;
|
|
636
|
+
export interface CreateAppLimitCreditRedemptionInput {
|
|
637
|
+
/** The `AppLimitCreditRedemption` to be created by this mutation. */
|
|
638
|
+
appLimitCreditRedemption: AppLimitCreditRedemptionInput;
|
|
639
|
+
clientMutationId?: string;
|
|
612
640
|
}
|
|
613
|
-
export interface
|
|
641
|
+
export interface CreateAppLimitDefaultInput {
|
|
642
|
+
/** The `AppLimitDefault` to be created by this mutation. */
|
|
643
|
+
appLimitDefault: AppLimitDefaultInput;
|
|
614
644
|
clientMutationId?: string;
|
|
615
|
-
/** The `OrgLimitCapsDefault` to be created by this mutation. */
|
|
616
|
-
orgLimitCapsDefault: OrgLimitCapsDefaultInput;
|
|
617
645
|
}
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
name: string;
|
|
623
|
-
/** Default cap value. For feature flags: 0=disabled, 1=enabled. For size caps: the limit in bytes/units. */
|
|
624
|
-
max?: string;
|
|
646
|
+
export interface CreateAppLimitEventInput {
|
|
647
|
+
/** The `AppLimitEvent` to be created by this mutation. */
|
|
648
|
+
appLimitEvent: AppLimitEventInput;
|
|
649
|
+
clientMutationId?: string;
|
|
625
650
|
}
|
|
626
|
-
export interface
|
|
651
|
+
export interface CreateAppLimitInput {
|
|
652
|
+
/** The `AppLimit` to be created by this mutation. */
|
|
653
|
+
appLimit: AppLimitInput;
|
|
627
654
|
clientMutationId?: string;
|
|
628
|
-
/** The `AppLimitCap` to be created by this mutation. */
|
|
629
|
-
appLimitCap: AppLimitCapInput;
|
|
630
655
|
}
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
/**
|
|
639
|
-
|
|
656
|
+
export interface CreateAppLimitWarningInput {
|
|
657
|
+
/** The `AppLimitWarning` to be created by this mutation. */
|
|
658
|
+
appLimitWarning: AppLimitWarningInput;
|
|
659
|
+
clientMutationId?: string;
|
|
660
|
+
}
|
|
661
|
+
export interface CreateOrgLimitAggregateInput {
|
|
662
|
+
clientMutationId?: string;
|
|
663
|
+
/** The `OrgLimitAggregate` to be created by this mutation. */
|
|
664
|
+
orgLimitAggregate: OrgLimitAggregateInput;
|
|
640
665
|
}
|
|
641
666
|
export interface CreateOrgLimitCapInput {
|
|
642
667
|
clientMutationId?: string;
|
|
643
668
|
/** The `OrgLimitCap` to be created by this mutation. */
|
|
644
669
|
orgLimitCap: OrgLimitCapInput;
|
|
645
670
|
}
|
|
646
|
-
|
|
647
|
-
export interface OrgLimitCapInput {
|
|
648
|
-
id?: string;
|
|
649
|
-
/** Name identifier of the cap being overridden */
|
|
650
|
-
name: string;
|
|
651
|
-
/** Entity this cap override applies to */
|
|
652
|
-
entityId: string;
|
|
653
|
-
/** Override cap value for this entity */
|
|
654
|
-
max?: string;
|
|
655
|
-
}
|
|
656
|
-
export interface CreateAppLimitDefaultInput {
|
|
671
|
+
export interface CreateOrgLimitCapsDefaultInput {
|
|
657
672
|
clientMutationId?: string;
|
|
658
|
-
/** The `
|
|
659
|
-
|
|
673
|
+
/** The `OrgLimitCapsDefault` to be created by this mutation. */
|
|
674
|
+
orgLimitCapsDefault: OrgLimitCapsDefaultInput;
|
|
660
675
|
}
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
name: string;
|
|
666
|
-
/** Default maximum usage allowed for this limit */
|
|
667
|
-
max?: string;
|
|
668
|
-
/** Default soft limit threshold for warnings; NULL means no soft limit */
|
|
669
|
-
softMax?: string;
|
|
676
|
+
export interface CreateOrgLimitCreditInput {
|
|
677
|
+
clientMutationId?: string;
|
|
678
|
+
/** The `OrgLimitCredit` to be created by this mutation. */
|
|
679
|
+
orgLimitCredit: OrgLimitCreditInput;
|
|
670
680
|
}
|
|
671
681
|
export interface CreateOrgLimitDefaultInput {
|
|
672
682
|
clientMutationId?: string;
|
|
673
683
|
/** The `OrgLimitDefault` to be created by this mutation. */
|
|
674
684
|
orgLimitDefault: OrgLimitDefaultInput;
|
|
675
685
|
}
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
name: string;
|
|
681
|
-
/** Default maximum usage allowed for this limit */
|
|
682
|
-
max?: string;
|
|
683
|
-
/** Default soft limit threshold for warnings; NULL means no soft limit */
|
|
684
|
-
softMax?: string;
|
|
686
|
+
export interface CreateOrgLimitEventInput {
|
|
687
|
+
clientMutationId?: string;
|
|
688
|
+
/** The `OrgLimitEvent` to be created by this mutation. */
|
|
689
|
+
orgLimitEvent: OrgLimitEventInput;
|
|
685
690
|
}
|
|
686
|
-
export interface
|
|
691
|
+
export interface CreateOrgLimitInput {
|
|
687
692
|
clientMutationId?: string;
|
|
688
|
-
/** The `
|
|
689
|
-
|
|
693
|
+
/** The `OrgLimit` to be created by this mutation. */
|
|
694
|
+
orgLimit: OrgLimitInput;
|
|
690
695
|
}
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
creditCodeId: string;
|
|
696
|
-
/** Entity receiving the credits (personal org user_id or org entity_id) */
|
|
697
|
-
entityId: string;
|
|
698
|
-
/** Resolved billable organization via get_organization_id */
|
|
699
|
-
organizationId?: string;
|
|
700
|
-
/** Membership prefix identifying the entity kind (org, team, app) */
|
|
701
|
-
entityType?: string;
|
|
696
|
+
export interface CreateOrgLimitWarningInput {
|
|
697
|
+
clientMutationId?: string;
|
|
698
|
+
/** The `OrgLimitWarning` to be created by this mutation. */
|
|
699
|
+
orgLimitWarning: OrgLimitWarningInput;
|
|
702
700
|
}
|
|
703
|
-
export interface
|
|
701
|
+
export interface DeleteAppLimitCapInput {
|
|
704
702
|
clientMutationId?: string;
|
|
705
|
-
|
|
706
|
-
appLimitCreditCodeItem: AppLimitCreditCodeItemInput;
|
|
703
|
+
id: string;
|
|
707
704
|
}
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
id
|
|
711
|
-
/** FK to credit_codes — which code this item belongs to */
|
|
712
|
-
creditCodeId: string;
|
|
713
|
-
/** FK to default_limits — which limit this item grants credits for */
|
|
714
|
-
defaultLimitId: string;
|
|
715
|
-
/** Number of credits this item grants per redemption */
|
|
716
|
-
amount: string;
|
|
717
|
-
/** Credit durability: permanent (survives window reset) or period (resets on window expiry) */
|
|
718
|
-
creditType?: string;
|
|
705
|
+
export interface DeleteAppLimitCapsDefaultInput {
|
|
706
|
+
clientMutationId?: string;
|
|
707
|
+
id: string;
|
|
719
708
|
}
|
|
720
|
-
export interface
|
|
709
|
+
export interface DeleteAppLimitCreditCodeInput {
|
|
721
710
|
clientMutationId?: string;
|
|
722
|
-
|
|
723
|
-
appLimitWarning: AppLimitWarningInput;
|
|
711
|
+
id: string;
|
|
724
712
|
}
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
id
|
|
728
|
-
/** Limit name this warning applies to (must match a default_limits entry) */
|
|
729
|
-
name: string;
|
|
730
|
-
/** Threshold type: absolute (fixed count) or percentage (of max) */
|
|
731
|
-
warningType: string;
|
|
732
|
-
/** Threshold value — either an absolute count or a percentage (1-100) depending on warning_type */
|
|
733
|
-
thresholdValue: string;
|
|
734
|
-
/** Job task name to enqueue when warning fires (e.g. email:limit_warning, notification:approaching_limit) */
|
|
735
|
-
taskIdentifier: string;
|
|
713
|
+
export interface DeleteAppLimitCreditCodeItemInput {
|
|
714
|
+
clientMutationId?: string;
|
|
715
|
+
id: string;
|
|
736
716
|
}
|
|
737
|
-
export interface
|
|
717
|
+
export interface DeleteAppLimitCreditInput {
|
|
738
718
|
clientMutationId?: string;
|
|
739
|
-
|
|
740
|
-
appLimitCredit: AppLimitCreditInput;
|
|
719
|
+
id: string;
|
|
741
720
|
}
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
id
|
|
745
|
-
/** FK to default_limits — which limit definition this credit applies to */
|
|
746
|
-
defaultLimitId: string;
|
|
747
|
-
/** User this credit is for; NULL for aggregate entity-level credits */
|
|
748
|
-
actorId?: string;
|
|
749
|
-
/** Number of credits to grant (positive to add, negative to revoke) */
|
|
750
|
-
amount: string;
|
|
751
|
-
/** Credit durability: permanent (survives window reset) or period (resets on window expiry) */
|
|
752
|
-
creditType?: string;
|
|
753
|
-
/** Optional reason for the credit grant (promo code, admin grant, etc.) */
|
|
754
|
-
reason?: string;
|
|
721
|
+
export interface DeleteAppLimitCreditRedemptionInput {
|
|
722
|
+
clientMutationId?: string;
|
|
723
|
+
id: string;
|
|
755
724
|
}
|
|
756
|
-
export interface
|
|
725
|
+
export interface DeleteAppLimitDefaultInput {
|
|
757
726
|
clientMutationId?: string;
|
|
758
|
-
|
|
759
|
-
orgLimitWarning: OrgLimitWarningInput;
|
|
727
|
+
id: string;
|
|
760
728
|
}
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
/**
|
|
765
|
-
|
|
766
|
-
/** Threshold type: absolute (fixed count) or percentage (of max) */
|
|
767
|
-
warningType: string;
|
|
768
|
-
/** Threshold value — either an absolute count or a percentage (1-100) depending on warning_type */
|
|
769
|
-
thresholdValue: string;
|
|
770
|
-
/** Job task name to enqueue when warning fires (e.g. email:limit_warning, notification:approaching_limit) */
|
|
771
|
-
taskIdentifier: string;
|
|
772
|
-
/** Per-entity override (NULL = scope default for all entities) */
|
|
773
|
-
entityId?: string;
|
|
729
|
+
export interface DeleteAppLimitEventInput {
|
|
730
|
+
clientMutationId?: string;
|
|
731
|
+
createdAt: string;
|
|
732
|
+
/** Unique identifier for each limit event */
|
|
733
|
+
id: string;
|
|
774
734
|
}
|
|
775
|
-
export interface
|
|
735
|
+
export interface DeleteAppLimitInput {
|
|
776
736
|
clientMutationId?: string;
|
|
777
|
-
|
|
778
|
-
orgLimitCredit: OrgLimitCreditInput;
|
|
737
|
+
id: string;
|
|
779
738
|
}
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
id
|
|
783
|
-
/** FK to default_limits — which limit definition this credit applies to */
|
|
784
|
-
defaultLimitId: string;
|
|
785
|
-
/** User this credit is for; NULL for aggregate entity-level credits */
|
|
786
|
-
actorId?: string;
|
|
787
|
-
/** Entity this credit applies to; NULL for actor-only credits */
|
|
788
|
-
entityId?: string;
|
|
789
|
-
/** Resolved billable organization via get_organization_id */
|
|
790
|
-
organizationId?: string;
|
|
791
|
-
/** Membership prefix identifying the entity kind (org, team, app) */
|
|
792
|
-
entityType?: string;
|
|
793
|
-
/** Number of credits to grant (positive to add, negative to revoke) */
|
|
794
|
-
amount: string;
|
|
795
|
-
/** Credit durability: permanent (survives window reset) or period (resets on window expiry) */
|
|
796
|
-
creditType?: string;
|
|
797
|
-
/** Optional reason for the credit grant (promo code, admin grant, etc.) */
|
|
798
|
-
reason?: string;
|
|
739
|
+
export interface DeleteAppLimitWarningInput {
|
|
740
|
+
clientMutationId?: string;
|
|
741
|
+
id: string;
|
|
799
742
|
}
|
|
800
|
-
export interface
|
|
743
|
+
export interface DeleteOrgLimitAggregateInput {
|
|
801
744
|
clientMutationId?: string;
|
|
802
|
-
|
|
803
|
-
appLimitCreditCode: AppLimitCreditCodeInput;
|
|
745
|
+
id: string;
|
|
804
746
|
}
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
id
|
|
808
|
-
/** Human-readable credit code (case-insensitive, unique) */
|
|
809
|
-
code: string;
|
|
810
|
-
/** Maximum total redemptions allowed; NULL for unlimited */
|
|
811
|
-
maxRedemptions?: number;
|
|
812
|
-
/** Current number of redemptions (incremented by trigger on credit_redemptions) */
|
|
813
|
-
currentRedemptions?: number;
|
|
814
|
-
/** Expiration timestamp; NULL for no expiry */
|
|
815
|
-
expiresAt?: string;
|
|
747
|
+
export interface DeleteOrgLimitCapInput {
|
|
748
|
+
clientMutationId?: string;
|
|
749
|
+
id: string;
|
|
816
750
|
}
|
|
817
|
-
export interface
|
|
751
|
+
export interface DeleteOrgLimitCapsDefaultInput {
|
|
818
752
|
clientMutationId?: string;
|
|
819
|
-
|
|
820
|
-
appLimitEvent: AppLimitEventInput;
|
|
753
|
+
id: string;
|
|
821
754
|
}
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
/** Unique identifier for each limit event */
|
|
826
|
-
id?: string;
|
|
827
|
-
/** Limit name this event applies to */
|
|
828
|
-
name?: string;
|
|
829
|
-
/** User who triggered this event; NULL for system/aggregate events */
|
|
830
|
-
actorId?: string;
|
|
831
|
-
/** Entity this event applies to; NULL for app-level events */
|
|
832
|
-
entityId?: string;
|
|
833
|
-
/** Resolved billable organization via get_organization_id; NULL for app-level events */
|
|
834
|
-
organizationId?: string;
|
|
835
|
-
/** Entity type prefix (org, team, app, etc.) for interpreting entity_id */
|
|
836
|
-
entityType?: string;
|
|
837
|
-
/** Event type: inc, dec, check, modify, transfer, apply_plan, reset */
|
|
838
|
-
eventType?: string;
|
|
839
|
-
/** Change amount: positive for increment, negative for decrement */
|
|
840
|
-
delta?: string;
|
|
841
|
-
/** Usage count before this event */
|
|
842
|
-
numBefore?: string;
|
|
843
|
-
/** Usage count after this event */
|
|
844
|
-
numAfter?: string;
|
|
845
|
-
/** Max limit ceiling at the time of this event */
|
|
846
|
-
maxAtEvent?: string;
|
|
847
|
-
/** Optional reason or source: achievement, invite, plan_change, purchase, etc. */
|
|
848
|
-
reason?: string;
|
|
755
|
+
export interface DeleteOrgLimitCreditInput {
|
|
756
|
+
clientMutationId?: string;
|
|
757
|
+
id: string;
|
|
849
758
|
}
|
|
850
|
-
export interface
|
|
759
|
+
export interface DeleteOrgLimitDefaultInput {
|
|
851
760
|
clientMutationId?: string;
|
|
852
|
-
|
|
853
|
-
orgLimitEvent: OrgLimitEventInput;
|
|
761
|
+
id: string;
|
|
854
762
|
}
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
createdAt
|
|
763
|
+
export interface DeleteOrgLimitEventInput {
|
|
764
|
+
clientMutationId?: string;
|
|
765
|
+
createdAt: string;
|
|
858
766
|
/** Unique identifier for each limit event */
|
|
859
|
-
id
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
767
|
+
id: string;
|
|
768
|
+
}
|
|
769
|
+
export interface DeleteOrgLimitInput {
|
|
770
|
+
clientMutationId?: string;
|
|
771
|
+
id: string;
|
|
772
|
+
}
|
|
773
|
+
export interface DeleteOrgLimitWarningInput {
|
|
774
|
+
clientMutationId?: string;
|
|
775
|
+
id: string;
|
|
776
|
+
}
|
|
777
|
+
/** A filter to be used against Interval fields. All fields are combined with a logical ‘and.’ */
|
|
778
|
+
export interface IntervalFilter {
|
|
779
|
+
/** Not equal to the specified value, treating null like an ordinary value. */
|
|
780
|
+
distinctFrom?: IntervalInput;
|
|
781
|
+
/** Equal to the specified value. */
|
|
782
|
+
equalTo?: IntervalInput;
|
|
783
|
+
/** Greater than the specified value. */
|
|
784
|
+
greaterThan?: IntervalInput;
|
|
785
|
+
/** Greater than or equal to the specified value. */
|
|
786
|
+
greaterThanOrEqualTo?: IntervalInput;
|
|
787
|
+
/** Included in the specified list. */
|
|
788
|
+
in?: IntervalInput[];
|
|
789
|
+
/** Is null (if `true` is specified) or is not null (if `false` is specified). */
|
|
790
|
+
isNull?: boolean;
|
|
791
|
+
/** Less than the specified value. */
|
|
792
|
+
lessThan?: IntervalInput;
|
|
793
|
+
/** Less than or equal to the specified value. */
|
|
794
|
+
lessThanOrEqualTo?: IntervalInput;
|
|
795
|
+
/** Equal to the specified value, treating null like an ordinary value. */
|
|
796
|
+
notDistinctFrom?: IntervalInput;
|
|
797
|
+
/** Not equal to the specified value. */
|
|
798
|
+
notEqualTo?: IntervalInput;
|
|
799
|
+
/** Not included in the specified list. */
|
|
800
|
+
notIn?: IntervalInput[];
|
|
801
|
+
}
|
|
802
|
+
/** An interval of time that has passed where the smallest distinct unit is a second. */
|
|
803
|
+
export interface IntervalInput {
|
|
804
|
+
/** A quantity of days. */
|
|
805
|
+
days?: number;
|
|
806
|
+
/** A quantity of hours. */
|
|
807
|
+
hours?: number;
|
|
808
|
+
/** A quantity of minutes. */
|
|
809
|
+
minutes?: number;
|
|
810
|
+
/** A quantity of months. */
|
|
811
|
+
months?: number;
|
|
812
|
+
/**
|
|
813
|
+
* A quantity of seconds. This is the only non-integer field, as all the other
|
|
814
|
+
* fields will dump their overflow into a smaller unit of time. Intervals don’t
|
|
815
|
+
* have a smaller unit than seconds.
|
|
816
|
+
*/
|
|
817
|
+
seconds?: number;
|
|
818
|
+
/** A quantity of years. */
|
|
819
|
+
years?: number;
|
|
820
|
+
}
|
|
821
|
+
/** A filter to be used against `OrgLimitAggregate` object types. All fields are combined with a logical ‘and.’ */
|
|
822
|
+
export interface OrgLimitAggregateFilter {
|
|
823
|
+
/** Checks for all expressions in this list. */
|
|
824
|
+
and?: OrgLimitAggregateFilter[];
|
|
825
|
+
/** Filter by the object’s `entityId` field. */
|
|
826
|
+
entityId?: UUIDFilter;
|
|
827
|
+
/** Filter by the object’s `entityType` field. */
|
|
828
|
+
entityType?: StringFilter;
|
|
829
|
+
/** Filter by the object’s `id` field. */
|
|
830
|
+
id?: UUIDFilter;
|
|
831
|
+
/** Filter by the object’s `max` field. */
|
|
832
|
+
max?: BigIntFilter;
|
|
833
|
+
/** Filter by the object’s `name` field. */
|
|
834
|
+
name?: StringFilter;
|
|
835
|
+
/** Negates the expression. */
|
|
836
|
+
not?: OrgLimitAggregateFilter;
|
|
837
|
+
/** Filter by the object’s `num` field. */
|
|
838
|
+
num?: BigIntFilter;
|
|
839
|
+
/** Checks for any expressions in this list. */
|
|
840
|
+
or?: OrgLimitAggregateFilter[];
|
|
841
|
+
/** Filter by the object’s `organizationId` field. */
|
|
842
|
+
organizationId?: UUIDFilter;
|
|
843
|
+
/** Filter by the object’s `periodCredits` field. */
|
|
844
|
+
periodCredits?: BigIntFilter;
|
|
845
|
+
/** Filter by the object’s `planMax` field. */
|
|
846
|
+
planMax?: BigIntFilter;
|
|
847
|
+
/** Filter by the object’s `purchasedCredits` field. */
|
|
848
|
+
purchasedCredits?: BigIntFilter;
|
|
849
|
+
/** Filter by the object’s `reserved` field. */
|
|
850
|
+
reserved?: BigIntFilter;
|
|
851
|
+
/** Filter by the object’s `softMax` field. */
|
|
852
|
+
softMax?: BigIntFilter;
|
|
853
|
+
/** Filter by the object’s `windowDuration` field. */
|
|
854
|
+
windowDuration?: IntervalFilter;
|
|
855
|
+
/** Filter by the object’s `windowStart` field. */
|
|
856
|
+
windowStart?: DatetimeFilter;
|
|
857
|
+
}
|
|
858
|
+
/** An input for mutations affecting `OrgLimitAggregate` */
|
|
859
|
+
export interface OrgLimitAggregateInput {
|
|
860
|
+
/** Entity (org) whose aggregate usage is being tracked */
|
|
861
|
+
entityId: string;
|
|
868
862
|
/** Entity type prefix (org, team, app, etc.) for interpreting entity_id */
|
|
869
863
|
entityType?: string;
|
|
870
|
-
/** Event type: inc, dec, check, modify, transfer, apply_plan, reset */
|
|
871
|
-
eventType?: string;
|
|
872
|
-
/** Change amount: positive for increment, negative for decrement */
|
|
873
|
-
delta?: string;
|
|
874
|
-
/** Usage count before this event */
|
|
875
|
-
numBefore?: string;
|
|
876
|
-
/** Usage count after this event */
|
|
877
|
-
numAfter?: string;
|
|
878
|
-
/** Max limit ceiling at the time of this event */
|
|
879
|
-
maxAtEvent?: string;
|
|
880
|
-
/** Optional reason or source: achievement, invite, plan_change, purchase, etc. */
|
|
881
|
-
reason?: string;
|
|
882
|
-
}
|
|
883
|
-
export interface CreateAppLimitInput {
|
|
884
|
-
clientMutationId?: string;
|
|
885
|
-
/** The `AppLimit` to be created by this mutation. */
|
|
886
|
-
appLimit: AppLimitInput;
|
|
887
|
-
}
|
|
888
|
-
/** An input for mutations affecting `AppLimit` */
|
|
889
|
-
export interface AppLimitInput {
|
|
890
864
|
id?: string;
|
|
891
|
-
/**
|
|
865
|
+
/** Maximum allowed aggregate usage; negative means unlimited */
|
|
866
|
+
max?: string;
|
|
867
|
+
/** Name identifier of the aggregate limit being tracked */
|
|
892
868
|
name?: string;
|
|
893
|
-
/**
|
|
894
|
-
actorId: string;
|
|
895
|
-
/** Current usage count for this actor and limit */
|
|
869
|
+
/** Current aggregate usage count for this entity and limit */
|
|
896
870
|
num?: string;
|
|
897
|
-
/**
|
|
898
|
-
|
|
899
|
-
/**
|
|
900
|
-
|
|
901
|
-
/** Start of the current metering window; NULL means no time window */
|
|
902
|
-
windowStart?: string;
|
|
903
|
-
/** Duration of the metering window (e.g. 1 day, 1 month); NULL means no time window */
|
|
904
|
-
windowDuration?: IntervalInput;
|
|
871
|
+
/** Resolved billable organization via get_organization_id */
|
|
872
|
+
organizationId?: string;
|
|
873
|
+
/** Temporary credits for the current billing window. Resets to 0 on window expiry. */
|
|
874
|
+
periodCredits?: string;
|
|
905
875
|
/** Ceiling set by the active plan via apply_plan(). Window reset does not change this value. */
|
|
906
876
|
planMax?: string;
|
|
907
877
|
/** Permanent credits from purchases, admin grants, or lifetime rewards. Survives window reset. */
|
|
908
878
|
purchasedCredits?: string;
|
|
909
|
-
/**
|
|
910
|
-
|
|
911
|
-
/**
|
|
912
|
-
|
|
879
|
+
/** Capacity reserved by child entities in budgeted allocation mode. Available = max - num - reserved. */
|
|
880
|
+
reserved?: string;
|
|
881
|
+
/** Soft limit threshold for warnings; NULL means no soft limit */
|
|
882
|
+
softMax?: string;
|
|
883
|
+
/** Duration of the metering window (e.g. 1 day, 1 month); NULL means no time window */
|
|
884
|
+
windowDuration?: IntervalInput;
|
|
885
|
+
/** Start of the current metering window; NULL means no time window */
|
|
886
|
+
windowStart?: string;
|
|
887
|
+
}
|
|
888
|
+
/** Represents an update to a `OrgLimitAggregate`. Fields that are set will be updated. */
|
|
889
|
+
export interface OrgLimitAggregatePatch {
|
|
890
|
+
/** Entity (org) whose aggregate usage is being tracked */
|
|
891
|
+
entityId?: string;
|
|
913
892
|
/** Entity type prefix (org, team, app, etc.) for interpreting entity_id */
|
|
914
893
|
entityType?: string;
|
|
915
|
-
}
|
|
916
|
-
export interface CreateOrgLimitAggregateInput {
|
|
917
|
-
clientMutationId?: string;
|
|
918
|
-
/** The `OrgLimitAggregate` to be created by this mutation. */
|
|
919
|
-
orgLimitAggregate: OrgLimitAggregateInput;
|
|
920
|
-
}
|
|
921
|
-
/** An input for mutations affecting `OrgLimitAggregate` */
|
|
922
|
-
export interface OrgLimitAggregateInput {
|
|
923
894
|
id?: string;
|
|
895
|
+
/** Maximum allowed aggregate usage; negative means unlimited */
|
|
896
|
+
max?: string;
|
|
924
897
|
/** Name identifier of the aggregate limit being tracked */
|
|
925
898
|
name?: string;
|
|
926
|
-
/** Entity (org) whose aggregate usage is being tracked */
|
|
927
|
-
entityId: string;
|
|
928
899
|
/** Current aggregate usage count for this entity and limit */
|
|
929
900
|
num?: string;
|
|
930
|
-
/**
|
|
931
|
-
|
|
932
|
-
/**
|
|
933
|
-
|
|
934
|
-
/** Start of the current metering window; NULL means no time window */
|
|
935
|
-
windowStart?: string;
|
|
936
|
-
/** Duration of the metering window (e.g. 1 day, 1 month); NULL means no time window */
|
|
937
|
-
windowDuration?: IntervalInput;
|
|
901
|
+
/** Resolved billable organization via get_organization_id */
|
|
902
|
+
organizationId?: string;
|
|
903
|
+
/** Temporary credits for the current billing window. Resets to 0 on window expiry. */
|
|
904
|
+
periodCredits?: string;
|
|
938
905
|
/** Ceiling set by the active plan via apply_plan(). Window reset does not change this value. */
|
|
939
906
|
planMax?: string;
|
|
940
907
|
/** Permanent credits from purchases, admin grants, or lifetime rewards. Survives window reset. */
|
|
941
908
|
purchasedCredits?: string;
|
|
942
|
-
/** Temporary credits for the current billing window. Resets to 0 on window expiry. */
|
|
943
|
-
periodCredits?: string;
|
|
944
909
|
/** Capacity reserved by child entities in budgeted allocation mode. Available = max - num - reserved. */
|
|
945
910
|
reserved?: string;
|
|
946
|
-
/**
|
|
947
|
-
organizationId?: string;
|
|
948
|
-
/** Entity type prefix (org, team, app, etc.) for interpreting entity_id */
|
|
949
|
-
entityType?: string;
|
|
950
|
-
}
|
|
951
|
-
export interface CreateOrgLimitInput {
|
|
952
|
-
clientMutationId?: string;
|
|
953
|
-
/** The `OrgLimit` to be created by this mutation. */
|
|
954
|
-
orgLimit: OrgLimitInput;
|
|
955
|
-
}
|
|
956
|
-
/** An input for mutations affecting `OrgLimit` */
|
|
957
|
-
export interface OrgLimitInput {
|
|
958
|
-
id?: string;
|
|
959
|
-
/** Name identifier of the limit being tracked */
|
|
960
|
-
name?: string;
|
|
961
|
-
/** User whose usage is being tracked against this limit */
|
|
962
|
-
actorId: string;
|
|
963
|
-
/** Current usage count for this actor and limit */
|
|
964
|
-
num?: string;
|
|
965
|
-
/** Maximum allowed usage; negative means unlimited. Modified by plans, credits, and achievements. */
|
|
966
|
-
max?: string;
|
|
967
|
-
/** Soft limit threshold for warnings; NULL means no soft limit. When num >= soft_max, consumers should warn but still allow until max is reached. */
|
|
911
|
+
/** Soft limit threshold for warnings; NULL means no soft limit */
|
|
968
912
|
softMax?: string;
|
|
969
|
-
/** Start of the current metering window; NULL means no time window */
|
|
970
|
-
windowStart?: string;
|
|
971
913
|
/** Duration of the metering window (e.g. 1 day, 1 month); NULL means no time window */
|
|
972
914
|
windowDuration?: IntervalInput;
|
|
973
|
-
/**
|
|
974
|
-
|
|
975
|
-
/** Permanent credits from purchases, admin grants, or lifetime rewards. Survives window reset. */
|
|
976
|
-
purchasedCredits?: string;
|
|
977
|
-
/** Temporary credits for the current billing window. Resets to 0 on window expiry. */
|
|
978
|
-
periodCredits?: string;
|
|
979
|
-
entityId: string;
|
|
980
|
-
/** Resolved billable organization via get_organization_id */
|
|
981
|
-
organizationId?: string;
|
|
982
|
-
/** Entity type prefix (org, team, app, etc.) for interpreting entity_id */
|
|
983
|
-
entityType?: string;
|
|
984
|
-
}
|
|
985
|
-
export interface UpdateAppLimitCapsDefaultInput {
|
|
986
|
-
clientMutationId?: string;
|
|
987
|
-
id: string;
|
|
988
|
-
/** An object where the defined keys will be set on the `AppLimitCapsDefault` being updated. */
|
|
989
|
-
appLimitCapsDefaultPatch: AppLimitCapsDefaultPatch;
|
|
990
|
-
}
|
|
991
|
-
/** Represents an update to a `AppLimitCapsDefault`. Fields that are set will be updated. */
|
|
992
|
-
export interface AppLimitCapsDefaultPatch {
|
|
993
|
-
id?: string;
|
|
994
|
-
/** Name identifier of the cap (e.g. max_file_upload_size, advanced_analytics) */
|
|
995
|
-
name?: string;
|
|
996
|
-
/** Default cap value. For feature flags: 0=disabled, 1=enabled. For size caps: the limit in bytes/units. */
|
|
997
|
-
max?: string;
|
|
998
|
-
}
|
|
999
|
-
export interface UpdateOrgLimitCapsDefaultInput {
|
|
1000
|
-
clientMutationId?: string;
|
|
1001
|
-
id: string;
|
|
1002
|
-
/** An object where the defined keys will be set on the `OrgLimitCapsDefault` being updated. */
|
|
1003
|
-
orgLimitCapsDefaultPatch: OrgLimitCapsDefaultPatch;
|
|
1004
|
-
}
|
|
1005
|
-
/** Represents an update to a `OrgLimitCapsDefault`. Fields that are set will be updated. */
|
|
1006
|
-
export interface OrgLimitCapsDefaultPatch {
|
|
1007
|
-
id?: string;
|
|
1008
|
-
/** Name identifier of the cap (e.g. max_file_upload_size, advanced_analytics) */
|
|
1009
|
-
name?: string;
|
|
1010
|
-
/** Default cap value. For feature flags: 0=disabled, 1=enabled. For size caps: the limit in bytes/units. */
|
|
1011
|
-
max?: string;
|
|
915
|
+
/** Start of the current metering window; NULL means no time window */
|
|
916
|
+
windowStart?: string;
|
|
1012
917
|
}
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
918
|
+
/** A filter to be used against `OrgLimitCap` object types. All fields are combined with a logical ‘and.’ */
|
|
919
|
+
export interface OrgLimitCapFilter {
|
|
920
|
+
/** Checks for all expressions in this list. */
|
|
921
|
+
and?: OrgLimitCapFilter[];
|
|
922
|
+
/** Filter by the object’s `entityId` field. */
|
|
923
|
+
entityId?: UUIDFilter;
|
|
924
|
+
/** Filter by the object’s `id` field. */
|
|
925
|
+
id?: UUIDFilter;
|
|
926
|
+
/** Filter by the object’s `max` field. */
|
|
927
|
+
max?: BigIntFilter;
|
|
928
|
+
/** Filter by the object’s `name` field. */
|
|
929
|
+
name?: StringFilter;
|
|
930
|
+
/** Negates the expression. */
|
|
931
|
+
not?: OrgLimitCapFilter;
|
|
932
|
+
/** Checks for any expressions in this list. */
|
|
933
|
+
or?: OrgLimitCapFilter[];
|
|
1018
934
|
}
|
|
1019
|
-
/**
|
|
1020
|
-
export interface
|
|
1021
|
-
id?: string;
|
|
1022
|
-
/** Name identifier of the cap being overridden */
|
|
1023
|
-
name?: string;
|
|
935
|
+
/** An input for mutations affecting `OrgLimitCap` */
|
|
936
|
+
export interface OrgLimitCapInput {
|
|
1024
937
|
/** Entity this cap override applies to */
|
|
1025
|
-
entityId
|
|
938
|
+
entityId: string;
|
|
939
|
+
id?: string;
|
|
1026
940
|
/** Override cap value for this entity */
|
|
1027
941
|
max?: string;
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
clientMutationId?: string;
|
|
1031
|
-
id: string;
|
|
1032
|
-
/** An object where the defined keys will be set on the `OrgLimitCap` being updated. */
|
|
1033
|
-
orgLimitCapPatch: OrgLimitCapPatch;
|
|
942
|
+
/** Name identifier of the cap being overridden */
|
|
943
|
+
name: string;
|
|
1034
944
|
}
|
|
1035
945
|
/** Represents an update to a `OrgLimitCap`. Fields that are set will be updated. */
|
|
1036
946
|
export interface OrgLimitCapPatch {
|
|
1037
|
-
id?: string;
|
|
1038
|
-
/** Name identifier of the cap being overridden */
|
|
1039
|
-
name?: string;
|
|
1040
947
|
/** Entity this cap override applies to */
|
|
1041
948
|
entityId?: string;
|
|
1042
|
-
/** Override cap value for this entity */
|
|
1043
|
-
max?: string;
|
|
1044
|
-
}
|
|
1045
|
-
export interface UpdateAppLimitDefaultInput {
|
|
1046
|
-
clientMutationId?: string;
|
|
1047
|
-
id: string;
|
|
1048
|
-
/** An object where the defined keys will be set on the `AppLimitDefault` being updated. */
|
|
1049
|
-
appLimitDefaultPatch: AppLimitDefaultPatch;
|
|
1050
|
-
}
|
|
1051
|
-
/** Represents an update to a `AppLimitDefault`. Fields that are set will be updated. */
|
|
1052
|
-
export interface AppLimitDefaultPatch {
|
|
1053
949
|
id?: string;
|
|
1054
|
-
/**
|
|
1055
|
-
name?: string;
|
|
1056
|
-
/** Default maximum usage allowed for this limit */
|
|
950
|
+
/** Override cap value for this entity */
|
|
1057
951
|
max?: string;
|
|
1058
|
-
/**
|
|
1059
|
-
softMax?: string;
|
|
1060
|
-
}
|
|
1061
|
-
export interface UpdateOrgLimitDefaultInput {
|
|
1062
|
-
clientMutationId?: string;
|
|
1063
|
-
id: string;
|
|
1064
|
-
/** An object where the defined keys will be set on the `OrgLimitDefault` being updated. */
|
|
1065
|
-
orgLimitDefaultPatch: OrgLimitDefaultPatch;
|
|
1066
|
-
}
|
|
1067
|
-
/** Represents an update to a `OrgLimitDefault`. Fields that are set will be updated. */
|
|
1068
|
-
export interface OrgLimitDefaultPatch {
|
|
1069
|
-
id?: string;
|
|
1070
|
-
/** Name identifier of the limit this default applies to */
|
|
952
|
+
/** Name identifier of the cap being overridden */
|
|
1071
953
|
name?: string;
|
|
1072
|
-
/** Default maximum usage allowed for this limit */
|
|
1073
|
-
max?: string;
|
|
1074
|
-
/** Default soft limit threshold for warnings; NULL means no soft limit */
|
|
1075
|
-
softMax?: string;
|
|
1076
|
-
}
|
|
1077
|
-
export interface UpdateAppLimitCreditRedemptionInput {
|
|
1078
|
-
clientMutationId?: string;
|
|
1079
|
-
id: string;
|
|
1080
|
-
/** An object where the defined keys will be set on the `AppLimitCreditRedemption` being updated. */
|
|
1081
|
-
appLimitCreditRedemptionPatch: AppLimitCreditRedemptionPatch;
|
|
1082
|
-
}
|
|
1083
|
-
/** Represents an update to a `AppLimitCreditRedemption`. Fields that are set will be updated. */
|
|
1084
|
-
export interface AppLimitCreditRedemptionPatch {
|
|
1085
|
-
id?: string;
|
|
1086
|
-
/** FK to credit_codes — which code is being redeemed */
|
|
1087
|
-
creditCodeId?: string;
|
|
1088
|
-
/** Entity receiving the credits (personal org user_id or org entity_id) */
|
|
1089
|
-
entityId?: string;
|
|
1090
|
-
/** Resolved billable organization via get_organization_id */
|
|
1091
|
-
organizationId?: string;
|
|
1092
|
-
/** Membership prefix identifying the entity kind (org, team, app) */
|
|
1093
|
-
entityType?: string;
|
|
1094
954
|
}
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
955
|
+
/** A filter to be used against `OrgLimitCapsDefault` object types. All fields are combined with a logical ‘and.’ */
|
|
956
|
+
export interface OrgLimitCapsDefaultFilter {
|
|
957
|
+
/** Checks for all expressions in this list. */
|
|
958
|
+
and?: OrgLimitCapsDefaultFilter[];
|
|
959
|
+
/** Filter by the object’s `id` field. */
|
|
960
|
+
id?: UUIDFilter;
|
|
961
|
+
/** Filter by the object’s `max` field. */
|
|
962
|
+
max?: BigIntFilter;
|
|
963
|
+
/** Filter by the object’s `name` field. */
|
|
964
|
+
name?: StringFilter;
|
|
965
|
+
/** Negates the expression. */
|
|
966
|
+
not?: OrgLimitCapsDefaultFilter;
|
|
967
|
+
/** Checks for any expressions in this list. */
|
|
968
|
+
or?: OrgLimitCapsDefaultFilter[];
|
|
1100
969
|
}
|
|
1101
|
-
/**
|
|
1102
|
-
export interface
|
|
970
|
+
/** An input for mutations affecting `OrgLimitCapsDefault` */
|
|
971
|
+
export interface OrgLimitCapsDefaultInput {
|
|
1103
972
|
id?: string;
|
|
1104
|
-
/**
|
|
1105
|
-
|
|
1106
|
-
/**
|
|
1107
|
-
|
|
1108
|
-
/** Number of credits this item grants per redemption */
|
|
1109
|
-
amount?: string;
|
|
1110
|
-
/** Credit durability: permanent (survives window reset) or period (resets on window expiry) */
|
|
1111
|
-
creditType?: string;
|
|
1112
|
-
}
|
|
1113
|
-
export interface UpdateAppLimitWarningInput {
|
|
1114
|
-
clientMutationId?: string;
|
|
1115
|
-
id: string;
|
|
1116
|
-
/** An object where the defined keys will be set on the `AppLimitWarning` being updated. */
|
|
1117
|
-
appLimitWarningPatch: AppLimitWarningPatch;
|
|
973
|
+
/** Default cap value. For feature flags: 0=disabled, 1=enabled. For size caps: the limit in bytes/units. */
|
|
974
|
+
max?: string;
|
|
975
|
+
/** Name identifier of the cap (e.g. max_file_upload_size, advanced_analytics) */
|
|
976
|
+
name: string;
|
|
1118
977
|
}
|
|
1119
|
-
/** Represents an update to a `
|
|
1120
|
-
export interface
|
|
978
|
+
/** Represents an update to a `OrgLimitCapsDefault`. Fields that are set will be updated. */
|
|
979
|
+
export interface OrgLimitCapsDefaultPatch {
|
|
1121
980
|
id?: string;
|
|
1122
|
-
/**
|
|
981
|
+
/** Default cap value. For feature flags: 0=disabled, 1=enabled. For size caps: the limit in bytes/units. */
|
|
982
|
+
max?: string;
|
|
983
|
+
/** Name identifier of the cap (e.g. max_file_upload_size, advanced_analytics) */
|
|
1123
984
|
name?: string;
|
|
1124
|
-
/** Threshold type: absolute (fixed count) or percentage (of max) */
|
|
1125
|
-
warningType?: string;
|
|
1126
|
-
/** Threshold value — either an absolute count or a percentage (1-100) depending on warning_type */
|
|
1127
|
-
thresholdValue?: string;
|
|
1128
|
-
/** Job task name to enqueue when warning fires (e.g. email:limit_warning, notification:approaching_limit) */
|
|
1129
|
-
taskIdentifier?: string;
|
|
1130
985
|
}
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
986
|
+
/** A filter to be used against `OrgLimitCredit` object types. All fields are combined with a logical ‘and.’ */
|
|
987
|
+
export interface OrgLimitCreditFilter {
|
|
988
|
+
/** Filter by the object’s `actorId` field. */
|
|
989
|
+
actorId?: UUIDFilter;
|
|
990
|
+
/** Filter by the object’s `amount` field. */
|
|
991
|
+
amount?: BigIntFilter;
|
|
992
|
+
/** Checks for all expressions in this list. */
|
|
993
|
+
and?: OrgLimitCreditFilter[];
|
|
994
|
+
/** Filter by the object’s `creditType` field. */
|
|
995
|
+
creditType?: StringFilter;
|
|
996
|
+
/** Filter by the object’s `defaultLimit` relation. */
|
|
997
|
+
defaultLimit?: OrgLimitDefaultFilter;
|
|
998
|
+
/** Filter by the object’s `defaultLimitId` field. */
|
|
999
|
+
defaultLimitId?: UUIDFilter;
|
|
1000
|
+
/** Filter by the object’s `entityId` field. */
|
|
1001
|
+
entityId?: UUIDFilter;
|
|
1002
|
+
/** Filter by the object’s `entityType` field. */
|
|
1003
|
+
entityType?: StringFilter;
|
|
1004
|
+
/** Filter by the object’s `id` field. */
|
|
1005
|
+
id?: UUIDFilter;
|
|
1006
|
+
/** Negates the expression. */
|
|
1007
|
+
not?: OrgLimitCreditFilter;
|
|
1008
|
+
/** Checks for any expressions in this list. */
|
|
1009
|
+
or?: OrgLimitCreditFilter[];
|
|
1010
|
+
/** Filter by the object’s `organizationId` field. */
|
|
1011
|
+
organizationId?: UUIDFilter;
|
|
1012
|
+
/** Filter by the object’s `reason` field. */
|
|
1013
|
+
reason?: StringFilter;
|
|
1136
1014
|
}
|
|
1137
|
-
/**
|
|
1138
|
-
export interface
|
|
1139
|
-
id?: string;
|
|
1140
|
-
/** FK to default_limits — which limit definition this credit applies to */
|
|
1141
|
-
defaultLimitId?: string;
|
|
1015
|
+
/** An input for mutations affecting `OrgLimitCredit` */
|
|
1016
|
+
export interface OrgLimitCreditInput {
|
|
1142
1017
|
/** User this credit is for; NULL for aggregate entity-level credits */
|
|
1143
1018
|
actorId?: string;
|
|
1144
1019
|
/** Number of credits to grant (positive to add, negative to revoke) */
|
|
1145
|
-
amount
|
|
1020
|
+
amount: string;
|
|
1146
1021
|
/** Credit durability: permanent (survives window reset) or period (resets on window expiry) */
|
|
1147
1022
|
creditType?: string;
|
|
1023
|
+
/** FK to default_limits — which limit definition this credit applies to */
|
|
1024
|
+
defaultLimitId: string;
|
|
1025
|
+
/** Entity this credit applies to; NULL for actor-only credits */
|
|
1026
|
+
entityId?: string;
|
|
1027
|
+
/** Membership prefix identifying the entity kind (org, team, app) */
|
|
1028
|
+
entityType?: string;
|
|
1029
|
+
id?: string;
|
|
1030
|
+
/** Resolved billable organization via get_organization_id */
|
|
1031
|
+
organizationId?: string;
|
|
1148
1032
|
/** Optional reason for the credit grant (promo code, admin grant, etc.) */
|
|
1149
1033
|
reason?: string;
|
|
1150
1034
|
}
|
|
1151
|
-
export interface UpdateOrgLimitWarningInput {
|
|
1152
|
-
clientMutationId?: string;
|
|
1153
|
-
id: string;
|
|
1154
|
-
/** An object where the defined keys will be set on the `OrgLimitWarning` being updated. */
|
|
1155
|
-
orgLimitWarningPatch: OrgLimitWarningPatch;
|
|
1156
|
-
}
|
|
1157
|
-
/** Represents an update to a `OrgLimitWarning`. Fields that are set will be updated. */
|
|
1158
|
-
export interface OrgLimitWarningPatch {
|
|
1159
|
-
id?: string;
|
|
1160
|
-
/** Limit name this warning applies to (must match a default_limits entry) */
|
|
1161
|
-
name?: string;
|
|
1162
|
-
/** Threshold type: absolute (fixed count) or percentage (of max) */
|
|
1163
|
-
warningType?: string;
|
|
1164
|
-
/** Threshold value — either an absolute count or a percentage (1-100) depending on warning_type */
|
|
1165
|
-
thresholdValue?: string;
|
|
1166
|
-
/** Job task name to enqueue when warning fires (e.g. email:limit_warning, notification:approaching_limit) */
|
|
1167
|
-
taskIdentifier?: string;
|
|
1168
|
-
/** Per-entity override (NULL = scope default for all entities) */
|
|
1169
|
-
entityId?: string;
|
|
1170
|
-
}
|
|
1171
|
-
export interface UpdateOrgLimitCreditInput {
|
|
1172
|
-
clientMutationId?: string;
|
|
1173
|
-
id: string;
|
|
1174
|
-
/** An object where the defined keys will be set on the `OrgLimitCredit` being updated. */
|
|
1175
|
-
orgLimitCreditPatch: OrgLimitCreditPatch;
|
|
1176
|
-
}
|
|
1177
1035
|
/** Represents an update to a `OrgLimitCredit`. Fields that are set will be updated. */
|
|
1178
1036
|
export interface OrgLimitCreditPatch {
|
|
1179
|
-
id?: string;
|
|
1180
|
-
/** FK to default_limits — which limit definition this credit applies to */
|
|
1181
|
-
defaultLimitId?: string;
|
|
1182
1037
|
/** User this credit is for; NULL for aggregate entity-level credits */
|
|
1183
1038
|
actorId?: string;
|
|
1184
|
-
/** Entity this credit applies to; NULL for actor-only credits */
|
|
1185
|
-
entityId?: string;
|
|
1186
|
-
/** Resolved billable organization via get_organization_id */
|
|
1187
|
-
organizationId?: string;
|
|
1188
|
-
/** Membership prefix identifying the entity kind (org, team, app) */
|
|
1189
|
-
entityType?: string;
|
|
1190
1039
|
/** Number of credits to grant (positive to add, negative to revoke) */
|
|
1191
1040
|
amount?: string;
|
|
1192
1041
|
/** Credit durability: permanent (survives window reset) or period (resets on window expiry) */
|
|
1193
1042
|
creditType?: string;
|
|
1043
|
+
/** FK to default_limits — which limit definition this credit applies to */
|
|
1044
|
+
defaultLimitId?: string;
|
|
1045
|
+
/** Entity this credit applies to; NULL for actor-only credits */
|
|
1046
|
+
entityId?: string;
|
|
1047
|
+
/** Membership prefix identifying the entity kind (org, team, app) */
|
|
1048
|
+
entityType?: string;
|
|
1049
|
+
id?: string;
|
|
1050
|
+
/** Resolved billable organization via get_organization_id */
|
|
1051
|
+
organizationId?: string;
|
|
1194
1052
|
/** Optional reason for the credit grant (promo code, admin grant, etc.) */
|
|
1195
1053
|
reason?: string;
|
|
1196
1054
|
}
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1055
|
+
/** A filter to be used against `OrgLimitDefault` object types. All fields are combined with a logical ‘and.’ */
|
|
1056
|
+
export interface OrgLimitDefaultFilter {
|
|
1057
|
+
/** Checks for all expressions in this list. */
|
|
1058
|
+
and?: OrgLimitDefaultFilter[];
|
|
1059
|
+
/** Filter by the object’s `id` field. */
|
|
1060
|
+
id?: UUIDFilter;
|
|
1061
|
+
/** Filter by the object’s `max` field. */
|
|
1062
|
+
max?: BigIntFilter;
|
|
1063
|
+
/** Filter by the object’s `name` field. */
|
|
1064
|
+
name?: StringFilter;
|
|
1065
|
+
/** Negates the expression. */
|
|
1066
|
+
not?: OrgLimitDefaultFilter;
|
|
1067
|
+
/** Checks for any expressions in this list. */
|
|
1068
|
+
or?: OrgLimitDefaultFilter[];
|
|
1069
|
+
/** Filter by the object’s `orgLimitCreditsByDefaultLimitId` relation. */
|
|
1070
|
+
orgLimitCreditsByDefaultLimitId?: OrgLimitDefaultToManyOrgLimitCreditFilter;
|
|
1071
|
+
/** `orgLimitCreditsByDefaultLimitId` exist. */
|
|
1072
|
+
orgLimitCreditsByDefaultLimitIdExist?: boolean;
|
|
1073
|
+
/** Filter by the object’s `softMax` field. */
|
|
1074
|
+
softMax?: BigIntFilter;
|
|
1202
1075
|
}
|
|
1203
|
-
/**
|
|
1204
|
-
export interface
|
|
1076
|
+
/** An input for mutations affecting `OrgLimitDefault` */
|
|
1077
|
+
export interface OrgLimitDefaultInput {
|
|
1205
1078
|
id?: string;
|
|
1206
|
-
/**
|
|
1207
|
-
|
|
1208
|
-
/**
|
|
1209
|
-
|
|
1210
|
-
/**
|
|
1211
|
-
|
|
1212
|
-
/** Expiration timestamp; NULL for no expiry */
|
|
1213
|
-
expiresAt?: string;
|
|
1214
|
-
}
|
|
1215
|
-
export interface UpdateAppLimitEventInput {
|
|
1216
|
-
clientMutationId?: string;
|
|
1217
|
-
createdAt: string;
|
|
1218
|
-
/** Unique identifier for each limit event */
|
|
1219
|
-
id: string;
|
|
1220
|
-
/** An object where the defined keys will be set on the `AppLimitEvent` being updated. */
|
|
1221
|
-
appLimitEventPatch: AppLimitEventPatch;
|
|
1079
|
+
/** Default maximum usage allowed for this limit */
|
|
1080
|
+
max?: string;
|
|
1081
|
+
/** Name identifier of the limit this default applies to */
|
|
1082
|
+
name: string;
|
|
1083
|
+
/** Default soft limit threshold for warnings; NULL means no soft limit */
|
|
1084
|
+
softMax?: string;
|
|
1222
1085
|
}
|
|
1223
|
-
/** Represents an update to a `
|
|
1224
|
-
export interface
|
|
1225
|
-
createdAt?: string;
|
|
1226
|
-
/** Unique identifier for each limit event */
|
|
1086
|
+
/** Represents an update to a `OrgLimitDefault`. Fields that are set will be updated. */
|
|
1087
|
+
export interface OrgLimitDefaultPatch {
|
|
1227
1088
|
id?: string;
|
|
1228
|
-
/**
|
|
1089
|
+
/** Default maximum usage allowed for this limit */
|
|
1090
|
+
max?: string;
|
|
1091
|
+
/** Name identifier of the limit this default applies to */
|
|
1229
1092
|
name?: string;
|
|
1093
|
+
/** Default soft limit threshold for warnings; NULL means no soft limit */
|
|
1094
|
+
softMax?: string;
|
|
1095
|
+
}
|
|
1096
|
+
/** A filter to be used against many `OrgLimitCredit` object types. All fields are combined with a logical ‘and.’ */
|
|
1097
|
+
export interface OrgLimitDefaultToManyOrgLimitCreditFilter {
|
|
1098
|
+
/** Filters to entities where every related entity matches. */
|
|
1099
|
+
every?: OrgLimitCreditFilter;
|
|
1100
|
+
/** Filters to entities where no related entity matches. */
|
|
1101
|
+
none?: OrgLimitCreditFilter;
|
|
1102
|
+
/** Filters to entities where at least one related entity matches. */
|
|
1103
|
+
some?: OrgLimitCreditFilter;
|
|
1104
|
+
}
|
|
1105
|
+
/** A filter to be used against `OrgLimitEvent` object types. All fields are combined with a logical ‘and.’ */
|
|
1106
|
+
export interface OrgLimitEventFilter {
|
|
1107
|
+
/** Filter by the object’s `actorId` field. */
|
|
1108
|
+
actorId?: UUIDFilter;
|
|
1109
|
+
/** Checks for all expressions in this list. */
|
|
1110
|
+
and?: OrgLimitEventFilter[];
|
|
1111
|
+
/** Filter by the object’s `createdAt` field. */
|
|
1112
|
+
createdAt?: DatetimeFilter;
|
|
1113
|
+
/** Filter by the object’s `delta` field. */
|
|
1114
|
+
delta?: BigIntFilter;
|
|
1115
|
+
/** Filter by the object’s `entityId` field. */
|
|
1116
|
+
entityId?: UUIDFilter;
|
|
1117
|
+
/** Filter by the object’s `entityType` field. */
|
|
1118
|
+
entityType?: StringFilter;
|
|
1119
|
+
/** Filter by the object’s `eventType` field. */
|
|
1120
|
+
eventType?: StringFilter;
|
|
1121
|
+
/** Filter by the object’s `id` field. */
|
|
1122
|
+
id?: UUIDFilter;
|
|
1123
|
+
/** Filter by the object’s `maxAtEvent` field. */
|
|
1124
|
+
maxAtEvent?: BigIntFilter;
|
|
1125
|
+
/** Filter by the object’s `name` field. */
|
|
1126
|
+
name?: StringFilter;
|
|
1127
|
+
/** Negates the expression. */
|
|
1128
|
+
not?: OrgLimitEventFilter;
|
|
1129
|
+
/** Filter by the object’s `numAfter` field. */
|
|
1130
|
+
numAfter?: BigIntFilter;
|
|
1131
|
+
/** Filter by the object’s `numBefore` field. */
|
|
1132
|
+
numBefore?: BigIntFilter;
|
|
1133
|
+
/** Checks for any expressions in this list. */
|
|
1134
|
+
or?: OrgLimitEventFilter[];
|
|
1135
|
+
/** Filter by the object’s `organizationId` field. */
|
|
1136
|
+
organizationId?: UUIDFilter;
|
|
1137
|
+
/** Filter by the object’s `reason` field. */
|
|
1138
|
+
reason?: StringFilter;
|
|
1139
|
+
}
|
|
1140
|
+
/** An input for mutations affecting `OrgLimitEvent` */
|
|
1141
|
+
export interface OrgLimitEventInput {
|
|
1230
1142
|
/** User who triggered this event; NULL for system/aggregate events */
|
|
1231
1143
|
actorId?: string;
|
|
1144
|
+
createdAt?: string;
|
|
1145
|
+
/** Change amount: positive for increment, negative for decrement */
|
|
1146
|
+
delta?: string;
|
|
1232
1147
|
/** Entity this event applies to; NULL for app-level events */
|
|
1233
1148
|
entityId?: string;
|
|
1234
|
-
/** Resolved billable organization via get_organization_id; NULL for app-level events */
|
|
1235
|
-
organizationId?: string;
|
|
1236
1149
|
/** Entity type prefix (org, team, app, etc.) for interpreting entity_id */
|
|
1237
1150
|
entityType?: string;
|
|
1238
1151
|
/** Event type: inc, dec, check, modify, transfer, apply_plan, reset */
|
|
1239
1152
|
eventType?: string;
|
|
1240
|
-
/**
|
|
1241
|
-
|
|
1242
|
-
/** Usage count before this event */
|
|
1243
|
-
numBefore?: string;
|
|
1244
|
-
/** Usage count after this event */
|
|
1245
|
-
numAfter?: string;
|
|
1153
|
+
/** Unique identifier for each limit event */
|
|
1154
|
+
id?: string;
|
|
1246
1155
|
/** Max limit ceiling at the time of this event */
|
|
1247
1156
|
maxAtEvent?: string;
|
|
1157
|
+
/** Limit name this event applies to */
|
|
1158
|
+
name?: string;
|
|
1159
|
+
/** Usage count after this event */
|
|
1160
|
+
numAfter?: string;
|
|
1161
|
+
/** Usage count before this event */
|
|
1162
|
+
numBefore?: string;
|
|
1163
|
+
/** Resolved billable organization via get_organization_id; NULL for app-level events */
|
|
1164
|
+
organizationId?: string;
|
|
1248
1165
|
/** Optional reason or source: achievement, invite, plan_change, purchase, etc. */
|
|
1249
1166
|
reason?: string;
|
|
1250
1167
|
}
|
|
1251
|
-
export interface UpdateOrgLimitEventInput {
|
|
1252
|
-
clientMutationId?: string;
|
|
1253
|
-
createdAt: string;
|
|
1254
|
-
/** Unique identifier for each limit event */
|
|
1255
|
-
id: string;
|
|
1256
|
-
/** An object where the defined keys will be set on the `OrgLimitEvent` being updated. */
|
|
1257
|
-
orgLimitEventPatch: OrgLimitEventPatch;
|
|
1258
|
-
}
|
|
1259
1168
|
/** Represents an update to a `OrgLimitEvent`. Fields that are set will be updated. */
|
|
1260
1169
|
export interface OrgLimitEventPatch {
|
|
1261
|
-
createdAt?: string;
|
|
1262
|
-
/** Unique identifier for each limit event */
|
|
1263
|
-
id?: string;
|
|
1264
|
-
/** Limit name this event applies to */
|
|
1265
|
-
name?: string;
|
|
1266
1170
|
/** User who triggered this event; NULL for system/aggregate events */
|
|
1267
1171
|
actorId?: string;
|
|
1172
|
+
createdAt?: string;
|
|
1173
|
+
/** Change amount: positive for increment, negative for decrement */
|
|
1174
|
+
delta?: string;
|
|
1268
1175
|
/** Entity this event applies to; NULL for app-level events */
|
|
1269
1176
|
entityId?: string;
|
|
1270
|
-
/** Resolved billable organization via get_organization_id; NULL for app-level events */
|
|
1271
|
-
organizationId?: string;
|
|
1272
1177
|
/** Entity type prefix (org, team, app, etc.) for interpreting entity_id */
|
|
1273
1178
|
entityType?: string;
|
|
1274
1179
|
/** Event type: inc, dec, check, modify, transfer, apply_plan, reset */
|
|
1275
1180
|
eventType?: string;
|
|
1276
|
-
/**
|
|
1277
|
-
|
|
1278
|
-
/** Usage count before this event */
|
|
1279
|
-
numBefore?: string;
|
|
1280
|
-
/** Usage count after this event */
|
|
1281
|
-
numAfter?: string;
|
|
1181
|
+
/** Unique identifier for each limit event */
|
|
1182
|
+
id?: string;
|
|
1282
1183
|
/** Max limit ceiling at the time of this event */
|
|
1283
1184
|
maxAtEvent?: string;
|
|
1185
|
+
/** Limit name this event applies to */
|
|
1186
|
+
name?: string;
|
|
1187
|
+
/** Usage count after this event */
|
|
1188
|
+
numAfter?: string;
|
|
1189
|
+
/** Usage count before this event */
|
|
1190
|
+
numBefore?: string;
|
|
1191
|
+
/** Resolved billable organization via get_organization_id; NULL for app-level events */
|
|
1192
|
+
organizationId?: string;
|
|
1284
1193
|
/** Optional reason or source: achievement, invite, plan_change, purchase, etc. */
|
|
1285
1194
|
reason?: string;
|
|
1286
1195
|
}
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1196
|
+
/** A filter to be used against `OrgLimit` object types. All fields are combined with a logical ‘and.’ */
|
|
1197
|
+
export interface OrgLimitFilter {
|
|
1198
|
+
/** Filter by the object’s `actorId` field. */
|
|
1199
|
+
actorId?: UUIDFilter;
|
|
1200
|
+
/** Checks for all expressions in this list. */
|
|
1201
|
+
and?: OrgLimitFilter[];
|
|
1202
|
+
/** Filter by the object’s `entityId` field. */
|
|
1203
|
+
entityId?: UUIDFilter;
|
|
1204
|
+
/** Filter by the object’s `entityType` field. */
|
|
1205
|
+
entityType?: StringFilter;
|
|
1206
|
+
/** Filter by the object’s `id` field. */
|
|
1207
|
+
id?: UUIDFilter;
|
|
1208
|
+
/** Filter by the object’s `max` field. */
|
|
1209
|
+
max?: BigIntFilter;
|
|
1210
|
+
/** Filter by the object’s `name` field. */
|
|
1211
|
+
name?: StringFilter;
|
|
1212
|
+
/** Negates the expression. */
|
|
1213
|
+
not?: OrgLimitFilter;
|
|
1214
|
+
/** Filter by the object’s `num` field. */
|
|
1215
|
+
num?: BigIntFilter;
|
|
1216
|
+
/** Checks for any expressions in this list. */
|
|
1217
|
+
or?: OrgLimitFilter[];
|
|
1218
|
+
/** Filter by the object’s `organizationId` field. */
|
|
1219
|
+
organizationId?: UUIDFilter;
|
|
1220
|
+
/** Filter by the object’s `periodCredits` field. */
|
|
1221
|
+
periodCredits?: BigIntFilter;
|
|
1222
|
+
/** Filter by the object’s `planMax` field. */
|
|
1223
|
+
planMax?: BigIntFilter;
|
|
1224
|
+
/** Filter by the object’s `purchasedCredits` field. */
|
|
1225
|
+
purchasedCredits?: BigIntFilter;
|
|
1226
|
+
/** Filter by the object’s `softMax` field. */
|
|
1227
|
+
softMax?: BigIntFilter;
|
|
1228
|
+
/** Filter by the object’s `windowDuration` field. */
|
|
1229
|
+
windowDuration?: IntervalFilter;
|
|
1230
|
+
/** Filter by the object’s `windowStart` field. */
|
|
1231
|
+
windowStart?: DatetimeFilter;
|
|
1292
1232
|
}
|
|
1293
|
-
/**
|
|
1294
|
-
export interface
|
|
1233
|
+
/** An input for mutations affecting `OrgLimit` */
|
|
1234
|
+
export interface OrgLimitInput {
|
|
1235
|
+
/** User whose usage is being tracked against this limit */
|
|
1236
|
+
actorId: string;
|
|
1237
|
+
entityId: string;
|
|
1238
|
+
/** Entity type prefix (org, team, app, etc.) for interpreting entity_id */
|
|
1239
|
+
entityType?: string;
|
|
1295
1240
|
id?: string;
|
|
1241
|
+
/** Maximum allowed usage; negative means unlimited. Modified by plans, credits, and achievements. */
|
|
1242
|
+
max?: string;
|
|
1296
1243
|
/** Name identifier of the limit being tracked */
|
|
1297
1244
|
name?: string;
|
|
1298
|
-
/** User whose usage is being tracked against this limit */
|
|
1299
|
-
actorId?: string;
|
|
1300
1245
|
/** Current usage count for this actor and limit */
|
|
1301
1246
|
num?: string;
|
|
1302
|
-
/**
|
|
1303
|
-
|
|
1304
|
-
/**
|
|
1305
|
-
|
|
1306
|
-
/** Start of the current metering window; NULL means no time window */
|
|
1307
|
-
windowStart?: string;
|
|
1308
|
-
/** Duration of the metering window (e.g. 1 day, 1 month); NULL means no time window */
|
|
1309
|
-
windowDuration?: IntervalInput;
|
|
1247
|
+
/** Resolved billable organization via get_organization_id */
|
|
1248
|
+
organizationId?: string;
|
|
1249
|
+
/** Temporary credits for the current billing window. Resets to 0 on window expiry. */
|
|
1250
|
+
periodCredits?: string;
|
|
1310
1251
|
/** Ceiling set by the active plan via apply_plan(). Window reset does not change this value. */
|
|
1311
1252
|
planMax?: string;
|
|
1312
1253
|
/** Permanent credits from purchases, admin grants, or lifetime rewards. Survives window reset. */
|
|
1313
1254
|
purchasedCredits?: string;
|
|
1314
|
-
/**
|
|
1315
|
-
periodCredits?: string;
|
|
1316
|
-
/** Resolved billable organization via get_organization_id */
|
|
1317
|
-
organizationId?: string;
|
|
1318
|
-
/** Entity type prefix (org, team, app, etc.) for interpreting entity_id */
|
|
1319
|
-
entityType?: string;
|
|
1320
|
-
}
|
|
1321
|
-
export interface UpdateOrgLimitAggregateInput {
|
|
1322
|
-
clientMutationId?: string;
|
|
1323
|
-
id: string;
|
|
1324
|
-
/** An object where the defined keys will be set on the `OrgLimitAggregate` being updated. */
|
|
1325
|
-
orgLimitAggregatePatch: OrgLimitAggregatePatch;
|
|
1326
|
-
}
|
|
1327
|
-
/** Represents an update to a `OrgLimitAggregate`. Fields that are set will be updated. */
|
|
1328
|
-
export interface OrgLimitAggregatePatch {
|
|
1329
|
-
id?: string;
|
|
1330
|
-
/** Name identifier of the aggregate limit being tracked */
|
|
1331
|
-
name?: string;
|
|
1332
|
-
/** Entity (org) whose aggregate usage is being tracked */
|
|
1333
|
-
entityId?: string;
|
|
1334
|
-
/** Current aggregate usage count for this entity and limit */
|
|
1335
|
-
num?: string;
|
|
1336
|
-
/** Maximum allowed aggregate usage; negative means unlimited */
|
|
1337
|
-
max?: string;
|
|
1338
|
-
/** Soft limit threshold for warnings; NULL means no soft limit */
|
|
1255
|
+
/** Soft limit threshold for warnings; NULL means no soft limit. When num >= soft_max, consumers should warn but still allow until max is reached. */
|
|
1339
1256
|
softMax?: string;
|
|
1340
|
-
/** Start of the current metering window; NULL means no time window */
|
|
1341
|
-
windowStart?: string;
|
|
1342
1257
|
/** Duration of the metering window (e.g. 1 day, 1 month); NULL means no time window */
|
|
1343
1258
|
windowDuration?: IntervalInput;
|
|
1344
|
-
/**
|
|
1345
|
-
|
|
1346
|
-
/** Permanent credits from purchases, admin grants, or lifetime rewards. Survives window reset. */
|
|
1347
|
-
purchasedCredits?: string;
|
|
1348
|
-
/** Temporary credits for the current billing window. Resets to 0 on window expiry. */
|
|
1349
|
-
periodCredits?: string;
|
|
1350
|
-
/** Capacity reserved by child entities in budgeted allocation mode. Available = max - num - reserved. */
|
|
1351
|
-
reserved?: string;
|
|
1352
|
-
/** Resolved billable organization via get_organization_id */
|
|
1353
|
-
organizationId?: string;
|
|
1354
|
-
/** Entity type prefix (org, team, app, etc.) for interpreting entity_id */
|
|
1355
|
-
entityType?: string;
|
|
1356
|
-
}
|
|
1357
|
-
export interface UpdateOrgLimitInput {
|
|
1358
|
-
clientMutationId?: string;
|
|
1359
|
-
id: string;
|
|
1360
|
-
/** An object where the defined keys will be set on the `OrgLimit` being updated. */
|
|
1361
|
-
orgLimitPatch: OrgLimitPatch;
|
|
1259
|
+
/** Start of the current metering window; NULL means no time window */
|
|
1260
|
+
windowStart?: string;
|
|
1362
1261
|
}
|
|
1363
1262
|
/** Represents an update to a `OrgLimit`. Fields that are set will be updated. */
|
|
1364
1263
|
export interface OrgLimitPatch {
|
|
1264
|
+
/** User whose usage is being tracked against this limit */
|
|
1265
|
+
actorId?: string;
|
|
1266
|
+
entityId?: string;
|
|
1267
|
+
/** Entity type prefix (org, team, app, etc.) for interpreting entity_id */
|
|
1268
|
+
entityType?: string;
|
|
1365
1269
|
id?: string;
|
|
1270
|
+
/** Maximum allowed usage; negative means unlimited. Modified by plans, credits, and achievements. */
|
|
1271
|
+
max?: string;
|
|
1366
1272
|
/** Name identifier of the limit being tracked */
|
|
1367
1273
|
name?: string;
|
|
1368
|
-
/** User whose usage is being tracked against this limit */
|
|
1369
|
-
actorId?: string;
|
|
1370
1274
|
/** Current usage count for this actor and limit */
|
|
1371
1275
|
num?: string;
|
|
1372
|
-
/**
|
|
1373
|
-
|
|
1374
|
-
/**
|
|
1375
|
-
|
|
1376
|
-
/** Start of the current metering window; NULL means no time window */
|
|
1377
|
-
windowStart?: string;
|
|
1378
|
-
/** Duration of the metering window (e.g. 1 day, 1 month); NULL means no time window */
|
|
1379
|
-
windowDuration?: IntervalInput;
|
|
1276
|
+
/** Resolved billable organization via get_organization_id */
|
|
1277
|
+
organizationId?: string;
|
|
1278
|
+
/** Temporary credits for the current billing window. Resets to 0 on window expiry. */
|
|
1279
|
+
periodCredits?: string;
|
|
1380
1280
|
/** Ceiling set by the active plan via apply_plan(). Window reset does not change this value. */
|
|
1381
1281
|
planMax?: string;
|
|
1382
1282
|
/** Permanent credits from purchases, admin grants, or lifetime rewards. Survives window reset. */
|
|
1383
1283
|
purchasedCredits?: string;
|
|
1384
|
-
/**
|
|
1385
|
-
|
|
1284
|
+
/** Soft limit threshold for warnings; NULL means no soft limit. When num >= soft_max, consumers should warn but still allow until max is reached. */
|
|
1285
|
+
softMax?: string;
|
|
1286
|
+
/** Duration of the metering window (e.g. 1 day, 1 month); NULL means no time window */
|
|
1287
|
+
windowDuration?: IntervalInput;
|
|
1288
|
+
/** Start of the current metering window; NULL means no time window */
|
|
1289
|
+
windowStart?: string;
|
|
1290
|
+
}
|
|
1291
|
+
/** A filter to be used against `OrgLimitWarning` object types. All fields are combined with a logical ‘and.’ */
|
|
1292
|
+
export interface OrgLimitWarningFilter {
|
|
1293
|
+
/** Checks for all expressions in this list. */
|
|
1294
|
+
and?: OrgLimitWarningFilter[];
|
|
1295
|
+
/** Filter by the object’s `entityId` field. */
|
|
1296
|
+
entityId?: UUIDFilter;
|
|
1297
|
+
/** Filter by the object’s `id` field. */
|
|
1298
|
+
id?: UUIDFilter;
|
|
1299
|
+
/** Filter by the object’s `name` field. */
|
|
1300
|
+
name?: StringFilter;
|
|
1301
|
+
/** Negates the expression. */
|
|
1302
|
+
not?: OrgLimitWarningFilter;
|
|
1303
|
+
/** Checks for any expressions in this list. */
|
|
1304
|
+
or?: OrgLimitWarningFilter[];
|
|
1305
|
+
/** Filter by the object’s `taskIdentifier` field. */
|
|
1306
|
+
taskIdentifier?: StringFilter;
|
|
1307
|
+
/** Filter by the object’s `thresholdValue` field. */
|
|
1308
|
+
thresholdValue?: BigIntFilter;
|
|
1309
|
+
/** Filter by the object’s `warningType` field. */
|
|
1310
|
+
warningType?: StringFilter;
|
|
1311
|
+
}
|
|
1312
|
+
/** An input for mutations affecting `OrgLimitWarning` */
|
|
1313
|
+
export interface OrgLimitWarningInput {
|
|
1314
|
+
/** Per-entity override (NULL = scope default for all entities) */
|
|
1386
1315
|
entityId?: string;
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1316
|
+
id?: string;
|
|
1317
|
+
/** Limit name this warning applies to (must match a default_limits entry) */
|
|
1318
|
+
name: string;
|
|
1319
|
+
/** Job task name to enqueue when warning fires (e.g. email:limit_warning, notification:approaching_limit) */
|
|
1320
|
+
taskIdentifier: string;
|
|
1321
|
+
/** Threshold value — either an absolute count or a percentage (1-100) depending on warning_type */
|
|
1322
|
+
thresholdValue: string;
|
|
1323
|
+
/** Threshold type: absolute (fixed count) or percentage (of max) */
|
|
1324
|
+
warningType: string;
|
|
1325
|
+
}
|
|
1326
|
+
/** Represents an update to a `OrgLimitWarning`. Fields that are set will be updated. */
|
|
1327
|
+
export interface OrgLimitWarningPatch {
|
|
1328
|
+
/** Per-entity override (NULL = scope default for all entities) */
|
|
1329
|
+
entityId?: string;
|
|
1330
|
+
id?: string;
|
|
1331
|
+
/** Limit name this warning applies to (must match a default_limits entry) */
|
|
1332
|
+
name?: string;
|
|
1333
|
+
/** Job task name to enqueue when warning fires (e.g. email:limit_warning, notification:approaching_limit) */
|
|
1334
|
+
taskIdentifier?: string;
|
|
1335
|
+
/** Threshold value — either an absolute count or a percentage (1-100) depending on warning_type */
|
|
1336
|
+
thresholdValue?: string;
|
|
1337
|
+
/** Threshold type: absolute (fixed count) or percentage (of max) */
|
|
1338
|
+
warningType?: string;
|
|
1339
|
+
}
|
|
1340
|
+
export interface ProvisionBucketInput {
|
|
1341
|
+
/** The logical bucket key (e.g., "public", "private") */
|
|
1342
|
+
bucketKey: string;
|
|
1343
|
+
/**
|
|
1344
|
+
* Owner entity ID for entity-scoped bucket provisioning.
|
|
1345
|
+
* Omit for app-level (database-wide) storage.
|
|
1346
|
+
*/
|
|
1347
|
+
ownerId?: string;
|
|
1391
1348
|
}
|
|
1392
|
-
export interface
|
|
1349
|
+
export interface SeedAppLimitCapsDefaultsInput {
|
|
1350
|
+
clientMutationId?: string;
|
|
1351
|
+
defaults?: unknown;
|
|
1352
|
+
}
|
|
1353
|
+
export interface SeedAppLimitDefaultsInput {
|
|
1354
|
+
clientMutationId?: string;
|
|
1355
|
+
defaults?: unknown;
|
|
1356
|
+
}
|
|
1357
|
+
export interface SeedOrgLimitCapsDefaultsInput {
|
|
1358
|
+
clientMutationId?: string;
|
|
1359
|
+
defaults?: unknown;
|
|
1360
|
+
}
|
|
1361
|
+
export interface SeedOrgLimitDefaultsInput {
|
|
1362
|
+
clientMutationId?: string;
|
|
1363
|
+
defaults?: unknown;
|
|
1364
|
+
}
|
|
1365
|
+
export interface UpdateAppLimitCapInput {
|
|
1366
|
+
/** An object where the defined keys will be set on the `AppLimitCap` being updated. */
|
|
1367
|
+
appLimitCapPatch: AppLimitCapPatch;
|
|
1393
1368
|
clientMutationId?: string;
|
|
1394
1369
|
id: string;
|
|
1395
1370
|
}
|
|
1396
|
-
export interface
|
|
1371
|
+
export interface UpdateAppLimitCapsDefaultInput {
|
|
1372
|
+
/** An object where the defined keys will be set on the `AppLimitCapsDefault` being updated. */
|
|
1373
|
+
appLimitCapsDefaultPatch: AppLimitCapsDefaultPatch;
|
|
1397
1374
|
clientMutationId?: string;
|
|
1398
1375
|
id: string;
|
|
1399
1376
|
}
|
|
1400
|
-
export interface
|
|
1377
|
+
export interface UpdateAppLimitCreditCodeInput {
|
|
1378
|
+
/** An object where the defined keys will be set on the `AppLimitCreditCode` being updated. */
|
|
1379
|
+
appLimitCreditCodePatch: AppLimitCreditCodePatch;
|
|
1401
1380
|
clientMutationId?: string;
|
|
1402
1381
|
id: string;
|
|
1403
1382
|
}
|
|
1404
|
-
export interface
|
|
1383
|
+
export interface UpdateAppLimitCreditCodeItemInput {
|
|
1384
|
+
/** An object where the defined keys will be set on the `AppLimitCreditCodeItem` being updated. */
|
|
1385
|
+
appLimitCreditCodeItemPatch: AppLimitCreditCodeItemPatch;
|
|
1405
1386
|
clientMutationId?: string;
|
|
1406
1387
|
id: string;
|
|
1407
1388
|
}
|
|
1408
|
-
export interface
|
|
1389
|
+
export interface UpdateAppLimitCreditInput {
|
|
1390
|
+
/** An object where the defined keys will be set on the `AppLimitCredit` being updated. */
|
|
1391
|
+
appLimitCreditPatch: AppLimitCreditPatch;
|
|
1409
1392
|
clientMutationId?: string;
|
|
1410
1393
|
id: string;
|
|
1411
1394
|
}
|
|
1412
|
-
export interface
|
|
1395
|
+
export interface UpdateAppLimitCreditRedemptionInput {
|
|
1396
|
+
/** An object where the defined keys will be set on the `AppLimitCreditRedemption` being updated. */
|
|
1397
|
+
appLimitCreditRedemptionPatch: AppLimitCreditRedemptionPatch;
|
|
1413
1398
|
clientMutationId?: string;
|
|
1414
1399
|
id: string;
|
|
1415
1400
|
}
|
|
1416
|
-
export interface
|
|
1401
|
+
export interface UpdateAppLimitDefaultInput {
|
|
1402
|
+
/** An object where the defined keys will be set on the `AppLimitDefault` being updated. */
|
|
1403
|
+
appLimitDefaultPatch: AppLimitDefaultPatch;
|
|
1417
1404
|
clientMutationId?: string;
|
|
1418
1405
|
id: string;
|
|
1419
1406
|
}
|
|
1420
|
-
export interface
|
|
1407
|
+
export interface UpdateAppLimitEventInput {
|
|
1408
|
+
/** An object where the defined keys will be set on the `AppLimitEvent` being updated. */
|
|
1409
|
+
appLimitEventPatch: AppLimitEventPatch;
|
|
1421
1410
|
clientMutationId?: string;
|
|
1411
|
+
createdAt: string;
|
|
1412
|
+
/** Unique identifier for each limit event */
|
|
1422
1413
|
id: string;
|
|
1423
1414
|
}
|
|
1424
|
-
export interface
|
|
1415
|
+
export interface UpdateAppLimitInput {
|
|
1416
|
+
/** An object where the defined keys will be set on the `AppLimit` being updated. */
|
|
1417
|
+
appLimitPatch: AppLimitPatch;
|
|
1425
1418
|
clientMutationId?: string;
|
|
1426
1419
|
id: string;
|
|
1427
1420
|
}
|
|
1428
|
-
export interface
|
|
1421
|
+
export interface UpdateAppLimitWarningInput {
|
|
1422
|
+
/** An object where the defined keys will be set on the `AppLimitWarning` being updated. */
|
|
1423
|
+
appLimitWarningPatch: AppLimitWarningPatch;
|
|
1429
1424
|
clientMutationId?: string;
|
|
1430
1425
|
id: string;
|
|
1431
1426
|
}
|
|
1432
|
-
export interface
|
|
1427
|
+
export interface UpdateOrgLimitAggregateInput {
|
|
1433
1428
|
clientMutationId?: string;
|
|
1434
1429
|
id: string;
|
|
1430
|
+
/** An object where the defined keys will be set on the `OrgLimitAggregate` being updated. */
|
|
1431
|
+
orgLimitAggregatePatch: OrgLimitAggregatePatch;
|
|
1435
1432
|
}
|
|
1436
|
-
export interface
|
|
1433
|
+
export interface UpdateOrgLimitCapInput {
|
|
1437
1434
|
clientMutationId?: string;
|
|
1438
1435
|
id: string;
|
|
1436
|
+
/** An object where the defined keys will be set on the `OrgLimitCap` being updated. */
|
|
1437
|
+
orgLimitCapPatch: OrgLimitCapPatch;
|
|
1439
1438
|
}
|
|
1440
|
-
export interface
|
|
1439
|
+
export interface UpdateOrgLimitCapsDefaultInput {
|
|
1441
1440
|
clientMutationId?: string;
|
|
1442
1441
|
id: string;
|
|
1442
|
+
/** An object where the defined keys will be set on the `OrgLimitCapsDefault` being updated. */
|
|
1443
|
+
orgLimitCapsDefaultPatch: OrgLimitCapsDefaultPatch;
|
|
1443
1444
|
}
|
|
1444
|
-
export interface
|
|
1445
|
+
export interface UpdateOrgLimitCreditInput {
|
|
1445
1446
|
clientMutationId?: string;
|
|
1446
|
-
createdAt: string;
|
|
1447
|
-
/** Unique identifier for each limit event */
|
|
1448
1447
|
id: string;
|
|
1448
|
+
/** An object where the defined keys will be set on the `OrgLimitCredit` being updated. */
|
|
1449
|
+
orgLimitCreditPatch: OrgLimitCreditPatch;
|
|
1449
1450
|
}
|
|
1450
|
-
export interface
|
|
1451
|
+
export interface UpdateOrgLimitDefaultInput {
|
|
1451
1452
|
clientMutationId?: string;
|
|
1452
|
-
createdAt: string;
|
|
1453
|
-
/** Unique identifier for each limit event */
|
|
1454
1453
|
id: string;
|
|
1454
|
+
/** An object where the defined keys will be set on the `OrgLimitDefault` being updated. */
|
|
1455
|
+
orgLimitDefaultPatch: OrgLimitDefaultPatch;
|
|
1455
1456
|
}
|
|
1456
|
-
export interface
|
|
1457
|
+
export interface UpdateOrgLimitEventInput {
|
|
1457
1458
|
clientMutationId?: string;
|
|
1459
|
+
createdAt: string;
|
|
1460
|
+
/** Unique identifier for each limit event */
|
|
1458
1461
|
id: string;
|
|
1462
|
+
/** An object where the defined keys will be set on the `OrgLimitEvent` being updated. */
|
|
1463
|
+
orgLimitEventPatch: OrgLimitEventPatch;
|
|
1459
1464
|
}
|
|
1460
|
-
export interface
|
|
1465
|
+
export interface UpdateOrgLimitInput {
|
|
1461
1466
|
clientMutationId?: string;
|
|
1462
1467
|
id: string;
|
|
1468
|
+
/** An object where the defined keys will be set on the `OrgLimit` being updated. */
|
|
1469
|
+
orgLimitPatch: OrgLimitPatch;
|
|
1463
1470
|
}
|
|
1464
|
-
export interface
|
|
1471
|
+
export interface UpdateOrgLimitWarningInput {
|
|
1465
1472
|
clientMutationId?: string;
|
|
1466
1473
|
id: string;
|
|
1474
|
+
/** An object where the defined keys will be set on the `OrgLimitWarning` being updated. */
|
|
1475
|
+
orgLimitWarningPatch: OrgLimitWarningPatch;
|
|
1467
1476
|
}
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
|
|
1477
|
+
/** Root meta schema type */
|
|
1478
|
+
export interface MetaSchema {
|
|
1479
|
+
tables: MetaTable[];
|
|
1480
|
+
}
|
|
1481
|
+
/** A connection to a list of `AppLimitCap` values. */
|
|
1482
|
+
export interface AppLimitCapConnection {
|
|
1483
|
+
edges: AppLimitCapEdge[];
|
|
1484
|
+
nodes: AppLimitCap[];
|
|
1485
|
+
pageInfo: PageInfo;
|
|
1486
|
+
totalCount: number;
|
|
1476
1487
|
}
|
|
1477
1488
|
/** A connection to a list of `AppLimitCapsDefault` values. */
|
|
1478
1489
|
export interface AppLimitCapsDefaultConnection {
|
|
1479
|
-
nodes: AppLimitCapsDefault[];
|
|
1480
1490
|
edges: AppLimitCapsDefaultEdge[];
|
|
1491
|
+
nodes: AppLimitCapsDefault[];
|
|
1481
1492
|
pageInfo: PageInfo;
|
|
1482
1493
|
totalCount: number;
|
|
1483
1494
|
}
|
|
1484
|
-
/** A connection to a list of `
|
|
1485
|
-
export interface
|
|
1486
|
-
|
|
1487
|
-
|
|
1495
|
+
/** A connection to a list of `AppLimitCreditCodeItem` values. */
|
|
1496
|
+
export interface AppLimitCreditCodeItemConnection {
|
|
1497
|
+
edges: AppLimitCreditCodeItemEdge[];
|
|
1498
|
+
nodes: AppLimitCreditCodeItem[];
|
|
1488
1499
|
pageInfo: PageInfo;
|
|
1489
1500
|
totalCount: number;
|
|
1490
1501
|
}
|
|
1491
|
-
/** A connection to a list of `
|
|
1492
|
-
export interface
|
|
1493
|
-
|
|
1494
|
-
|
|
1502
|
+
/** A connection to a list of `AppLimitCreditCode` values. */
|
|
1503
|
+
export interface AppLimitCreditCodeConnection {
|
|
1504
|
+
edges: AppLimitCreditCodeEdge[];
|
|
1505
|
+
nodes: AppLimitCreditCode[];
|
|
1495
1506
|
pageInfo: PageInfo;
|
|
1496
1507
|
totalCount: number;
|
|
1497
1508
|
}
|
|
1498
|
-
/** A connection to a list of `
|
|
1499
|
-
export interface
|
|
1500
|
-
|
|
1501
|
-
|
|
1509
|
+
/** A connection to a list of `AppLimitCreditRedemption` values. */
|
|
1510
|
+
export interface AppLimitCreditRedemptionConnection {
|
|
1511
|
+
edges: AppLimitCreditRedemptionEdge[];
|
|
1512
|
+
nodes: AppLimitCreditRedemption[];
|
|
1513
|
+
pageInfo: PageInfo;
|
|
1514
|
+
totalCount: number;
|
|
1515
|
+
}
|
|
1516
|
+
/** A connection to a list of `AppLimitCredit` values. */
|
|
1517
|
+
export interface AppLimitCreditConnection {
|
|
1518
|
+
edges: AppLimitCreditEdge[];
|
|
1519
|
+
nodes: AppLimitCredit[];
|
|
1502
1520
|
pageInfo: PageInfo;
|
|
1503
1521
|
totalCount: number;
|
|
1504
1522
|
}
|
|
1505
1523
|
/** A connection to a list of `AppLimitDefault` values. */
|
|
1506
1524
|
export interface AppLimitDefaultConnection {
|
|
1507
|
-
nodes: AppLimitDefault[];
|
|
1508
1525
|
edges: AppLimitDefaultEdge[];
|
|
1526
|
+
nodes: AppLimitDefault[];
|
|
1509
1527
|
pageInfo: PageInfo;
|
|
1510
1528
|
totalCount: number;
|
|
1511
1529
|
}
|
|
1512
|
-
/** A connection to a list of `
|
|
1513
|
-
export interface
|
|
1514
|
-
|
|
1515
|
-
|
|
1530
|
+
/** A connection to a list of `AppLimitEvent` values. */
|
|
1531
|
+
export interface AppLimitEventConnection {
|
|
1532
|
+
edges: AppLimitEventEdge[];
|
|
1533
|
+
nodes: AppLimitEvent[];
|
|
1516
1534
|
pageInfo: PageInfo;
|
|
1517
1535
|
totalCount: number;
|
|
1518
1536
|
}
|
|
1519
|
-
/** A connection to a list of `
|
|
1520
|
-
export interface
|
|
1521
|
-
|
|
1522
|
-
|
|
1537
|
+
/** A connection to a list of `AppLimitWarning` values. */
|
|
1538
|
+
export interface AppLimitWarningConnection {
|
|
1539
|
+
edges: AppLimitWarningEdge[];
|
|
1540
|
+
nodes: AppLimitWarning[];
|
|
1523
1541
|
pageInfo: PageInfo;
|
|
1524
1542
|
totalCount: number;
|
|
1525
1543
|
}
|
|
1526
|
-
/** A connection to a list of `
|
|
1527
|
-
export interface
|
|
1528
|
-
|
|
1529
|
-
|
|
1544
|
+
/** A connection to a list of `AppLimit` values. */
|
|
1545
|
+
export interface AppLimitConnection {
|
|
1546
|
+
edges: AppLimitEdge[];
|
|
1547
|
+
nodes: AppLimit[];
|
|
1530
1548
|
pageInfo: PageInfo;
|
|
1531
1549
|
totalCount: number;
|
|
1532
1550
|
}
|
|
1533
|
-
/** A connection to a list of `
|
|
1534
|
-
export interface
|
|
1535
|
-
|
|
1536
|
-
|
|
1551
|
+
/** A connection to a list of `OrgLimitAggregate` values. */
|
|
1552
|
+
export interface OrgLimitAggregateConnection {
|
|
1553
|
+
edges: OrgLimitAggregateEdge[];
|
|
1554
|
+
nodes: OrgLimitAggregate[];
|
|
1537
1555
|
pageInfo: PageInfo;
|
|
1538
1556
|
totalCount: number;
|
|
1539
1557
|
}
|
|
1540
|
-
/** A connection to a list of `
|
|
1541
|
-
export interface
|
|
1542
|
-
|
|
1543
|
-
|
|
1558
|
+
/** A connection to a list of `OrgLimitCap` values. */
|
|
1559
|
+
export interface OrgLimitCapConnection {
|
|
1560
|
+
edges: OrgLimitCapEdge[];
|
|
1561
|
+
nodes: OrgLimitCap[];
|
|
1544
1562
|
pageInfo: PageInfo;
|
|
1545
1563
|
totalCount: number;
|
|
1546
1564
|
}
|
|
1547
|
-
/** A connection to a list of `
|
|
1548
|
-
export interface
|
|
1549
|
-
|
|
1550
|
-
|
|
1565
|
+
/** A connection to a list of `OrgLimitCapsDefault` values. */
|
|
1566
|
+
export interface OrgLimitCapsDefaultConnection {
|
|
1567
|
+
edges: OrgLimitCapsDefaultEdge[];
|
|
1568
|
+
nodes: OrgLimitCapsDefault[];
|
|
1551
1569
|
pageInfo: PageInfo;
|
|
1552
1570
|
totalCount: number;
|
|
1553
1571
|
}
|
|
1554
1572
|
/** A connection to a list of `OrgLimitCredit` values. */
|
|
1555
1573
|
export interface OrgLimitCreditConnection {
|
|
1556
|
-
nodes: OrgLimitCredit[];
|
|
1557
1574
|
edges: OrgLimitCreditEdge[];
|
|
1575
|
+
nodes: OrgLimitCredit[];
|
|
1558
1576
|
pageInfo: PageInfo;
|
|
1559
1577
|
totalCount: number;
|
|
1560
1578
|
}
|
|
1561
|
-
/** A connection to a list of `
|
|
1562
|
-
export interface
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
pageInfo: PageInfo;
|
|
1566
|
-
totalCount: number;
|
|
1567
|
-
}
|
|
1568
|
-
/** A connection to a list of `AppLimitEvent` values. */
|
|
1569
|
-
export interface AppLimitEventConnection {
|
|
1570
|
-
nodes: AppLimitEvent[];
|
|
1571
|
-
edges: AppLimitEventEdge[];
|
|
1579
|
+
/** A connection to a list of `OrgLimitDefault` values. */
|
|
1580
|
+
export interface OrgLimitDefaultConnection {
|
|
1581
|
+
edges: OrgLimitDefaultEdge[];
|
|
1582
|
+
nodes: OrgLimitDefault[];
|
|
1572
1583
|
pageInfo: PageInfo;
|
|
1573
1584
|
totalCount: number;
|
|
1574
1585
|
}
|
|
1575
1586
|
/** A connection to a list of `OrgLimitEvent` values. */
|
|
1576
1587
|
export interface OrgLimitEventConnection {
|
|
1577
|
-
nodes: OrgLimitEvent[];
|
|
1578
1588
|
edges: OrgLimitEventEdge[];
|
|
1589
|
+
nodes: OrgLimitEvent[];
|
|
1579
1590
|
pageInfo: PageInfo;
|
|
1580
1591
|
totalCount: number;
|
|
1581
1592
|
}
|
|
1582
|
-
/** A connection to a list of `
|
|
1583
|
-
export interface
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
pageInfo: PageInfo;
|
|
1587
|
-
totalCount: number;
|
|
1588
|
-
}
|
|
1589
|
-
/** A connection to a list of `OrgLimitAggregate` values. */
|
|
1590
|
-
export interface OrgLimitAggregateConnection {
|
|
1591
|
-
nodes: OrgLimitAggregate[];
|
|
1592
|
-
edges: OrgLimitAggregateEdge[];
|
|
1593
|
+
/** A connection to a list of `OrgLimitWarning` values. */
|
|
1594
|
+
export interface OrgLimitWarningConnection {
|
|
1595
|
+
edges: OrgLimitWarningEdge[];
|
|
1596
|
+
nodes: OrgLimitWarning[];
|
|
1593
1597
|
pageInfo: PageInfo;
|
|
1594
1598
|
totalCount: number;
|
|
1595
1599
|
}
|
|
1596
1600
|
/** A connection to a list of `OrgLimit` values. */
|
|
1597
1601
|
export interface OrgLimitConnection {
|
|
1598
|
-
nodes: OrgLimit[];
|
|
1599
1602
|
edges: OrgLimitEdge[];
|
|
1603
|
+
nodes: OrgLimit[];
|
|
1600
1604
|
pageInfo: PageInfo;
|
|
1601
1605
|
totalCount: number;
|
|
1602
1606
|
}
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
export interface SeedAppLimitCapsDefaultsPayload {
|
|
1608
|
-
clientMutationId?: string | null;
|
|
1609
|
-
result?: boolean | null;
|
|
1610
|
-
}
|
|
1611
|
-
export interface SeedAppLimitDefaultsPayload {
|
|
1612
|
-
clientMutationId?: string | null;
|
|
1613
|
-
result?: boolean | null;
|
|
1614
|
-
}
|
|
1615
|
-
export interface SeedOrgLimitCapsDefaultsPayload {
|
|
1607
|
+
export interface CreateAppLimitPayload {
|
|
1608
|
+
/** The `AppLimit` that was created by this mutation. */
|
|
1609
|
+
appLimit?: AppLimit | null;
|
|
1610
|
+
appLimitEdge?: AppLimitEdge | null;
|
|
1616
1611
|
clientMutationId?: string | null;
|
|
1617
|
-
result?: boolean | null;
|
|
1618
1612
|
}
|
|
1619
|
-
export interface
|
|
1613
|
+
export interface CreateAppLimitCapPayload {
|
|
1614
|
+
/** The `AppLimitCap` that was created by this mutation. */
|
|
1615
|
+
appLimitCap?: AppLimitCap | null;
|
|
1616
|
+
appLimitCapEdge?: AppLimitCapEdge | null;
|
|
1620
1617
|
clientMutationId?: string | null;
|
|
1621
|
-
result?: boolean | null;
|
|
1622
1618
|
}
|
|
1623
1619
|
export interface CreateAppLimitCapsDefaultPayload {
|
|
1624
|
-
clientMutationId?: string | null;
|
|
1625
1620
|
/** The `AppLimitCapsDefault` that was created by this mutation. */
|
|
1626
1621
|
appLimitCapsDefault?: AppLimitCapsDefault | null;
|
|
1627
1622
|
appLimitCapsDefaultEdge?: AppLimitCapsDefaultEdge | null;
|
|
1628
|
-
}
|
|
1629
|
-
export interface CreateOrgLimitCapsDefaultPayload {
|
|
1630
|
-
clientMutationId?: string | null;
|
|
1631
|
-
/** The `OrgLimitCapsDefault` that was created by this mutation. */
|
|
1632
|
-
orgLimitCapsDefault?: OrgLimitCapsDefault | null;
|
|
1633
|
-
orgLimitCapsDefaultEdge?: OrgLimitCapsDefaultEdge | null;
|
|
1634
|
-
}
|
|
1635
|
-
export interface CreateAppLimitCapPayload {
|
|
1636
1623
|
clientMutationId?: string | null;
|
|
1637
|
-
/** The `AppLimitCap` that was created by this mutation. */
|
|
1638
|
-
appLimitCap?: AppLimitCap | null;
|
|
1639
|
-
appLimitCapEdge?: AppLimitCapEdge | null;
|
|
1640
1624
|
}
|
|
1641
|
-
export interface
|
|
1625
|
+
export interface CreateAppLimitCreditPayload {
|
|
1626
|
+
/** The `AppLimitCredit` that was created by this mutation. */
|
|
1627
|
+
appLimitCredit?: AppLimitCredit | null;
|
|
1628
|
+
appLimitCreditEdge?: AppLimitCreditEdge | null;
|
|
1642
1629
|
clientMutationId?: string | null;
|
|
1643
|
-
/** The `OrgLimitCap` that was created by this mutation. */
|
|
1644
|
-
orgLimitCap?: OrgLimitCap | null;
|
|
1645
|
-
orgLimitCapEdge?: OrgLimitCapEdge | null;
|
|
1646
1630
|
}
|
|
1647
|
-
export interface
|
|
1631
|
+
export interface CreateAppLimitCreditCodePayload {
|
|
1632
|
+
/** The `AppLimitCreditCode` that was created by this mutation. */
|
|
1633
|
+
appLimitCreditCode?: AppLimitCreditCode | null;
|
|
1634
|
+
appLimitCreditCodeEdge?: AppLimitCreditCodeEdge | null;
|
|
1648
1635
|
clientMutationId?: string | null;
|
|
1649
|
-
/** The `AppLimitDefault` that was created by this mutation. */
|
|
1650
|
-
appLimitDefault?: AppLimitDefault | null;
|
|
1651
|
-
appLimitDefaultEdge?: AppLimitDefaultEdge | null;
|
|
1652
1636
|
}
|
|
1653
|
-
export interface
|
|
1637
|
+
export interface CreateAppLimitCreditCodeItemPayload {
|
|
1638
|
+
/** The `AppLimitCreditCodeItem` that was created by this mutation. */
|
|
1639
|
+
appLimitCreditCodeItem?: AppLimitCreditCodeItem | null;
|
|
1640
|
+
appLimitCreditCodeItemEdge?: AppLimitCreditCodeItemEdge | null;
|
|
1654
1641
|
clientMutationId?: string | null;
|
|
1655
|
-
/** The `OrgLimitDefault` that was created by this mutation. */
|
|
1656
|
-
orgLimitDefault?: OrgLimitDefault | null;
|
|
1657
|
-
orgLimitDefaultEdge?: OrgLimitDefaultEdge | null;
|
|
1658
1642
|
}
|
|
1659
1643
|
export interface CreateAppLimitCreditRedemptionPayload {
|
|
1660
|
-
clientMutationId?: string | null;
|
|
1661
1644
|
/** The `AppLimitCreditRedemption` that was created by this mutation. */
|
|
1662
1645
|
appLimitCreditRedemption?: AppLimitCreditRedemption | null;
|
|
1663
1646
|
appLimitCreditRedemptionEdge?: AppLimitCreditRedemptionEdge | null;
|
|
1647
|
+
clientMutationId?: string | null;
|
|
1664
1648
|
}
|
|
1665
|
-
export interface
|
|
1649
|
+
export interface CreateAppLimitDefaultPayload {
|
|
1650
|
+
/** The `AppLimitDefault` that was created by this mutation. */
|
|
1651
|
+
appLimitDefault?: AppLimitDefault | null;
|
|
1652
|
+
appLimitDefaultEdge?: AppLimitDefaultEdge | null;
|
|
1666
1653
|
clientMutationId?: string | null;
|
|
1667
|
-
/** The `AppLimitCreditCodeItem` that was created by this mutation. */
|
|
1668
|
-
appLimitCreditCodeItem?: AppLimitCreditCodeItem | null;
|
|
1669
|
-
appLimitCreditCodeItemEdge?: AppLimitCreditCodeItemEdge | null;
|
|
1670
1654
|
}
|
|
1671
|
-
export interface
|
|
1655
|
+
export interface CreateAppLimitEventPayload {
|
|
1656
|
+
/** The `AppLimitEvent` that was created by this mutation. */
|
|
1657
|
+
appLimitEvent?: AppLimitEvent | null;
|
|
1658
|
+
appLimitEventEdge?: AppLimitEventEdge | null;
|
|
1672
1659
|
clientMutationId?: string | null;
|
|
1660
|
+
}
|
|
1661
|
+
export interface CreateAppLimitWarningPayload {
|
|
1673
1662
|
/** The `AppLimitWarning` that was created by this mutation. */
|
|
1674
1663
|
appLimitWarning?: AppLimitWarning | null;
|
|
1675
1664
|
appLimitWarningEdge?: AppLimitWarningEdge | null;
|
|
1665
|
+
clientMutationId?: string | null;
|
|
1676
1666
|
}
|
|
1677
|
-
export interface
|
|
1667
|
+
export interface CreateOrgLimitPayload {
|
|
1678
1668
|
clientMutationId?: string | null;
|
|
1679
|
-
/** The `
|
|
1680
|
-
|
|
1681
|
-
|
|
1669
|
+
/** The `OrgLimit` that was created by this mutation. */
|
|
1670
|
+
orgLimit?: OrgLimit | null;
|
|
1671
|
+
orgLimitEdge?: OrgLimitEdge | null;
|
|
1682
1672
|
}
|
|
1683
|
-
export interface
|
|
1673
|
+
export interface CreateOrgLimitAggregatePayload {
|
|
1684
1674
|
clientMutationId?: string | null;
|
|
1685
|
-
/** The `
|
|
1686
|
-
|
|
1687
|
-
|
|
1675
|
+
/** The `OrgLimitAggregate` that was created by this mutation. */
|
|
1676
|
+
orgLimitAggregate?: OrgLimitAggregate | null;
|
|
1677
|
+
orgLimitAggregateEdge?: OrgLimitAggregateEdge | null;
|
|
1678
|
+
}
|
|
1679
|
+
export interface CreateOrgLimitCapPayload {
|
|
1680
|
+
clientMutationId?: string | null;
|
|
1681
|
+
/** The `OrgLimitCap` that was created by this mutation. */
|
|
1682
|
+
orgLimitCap?: OrgLimitCap | null;
|
|
1683
|
+
orgLimitCapEdge?: OrgLimitCapEdge | null;
|
|
1684
|
+
}
|
|
1685
|
+
export interface CreateOrgLimitCapsDefaultPayload {
|
|
1686
|
+
clientMutationId?: string | null;
|
|
1687
|
+
/** The `OrgLimitCapsDefault` that was created by this mutation. */
|
|
1688
|
+
orgLimitCapsDefault?: OrgLimitCapsDefault | null;
|
|
1689
|
+
orgLimitCapsDefaultEdge?: OrgLimitCapsDefaultEdge | null;
|
|
1688
1690
|
}
|
|
1689
1691
|
export interface CreateOrgLimitCreditPayload {
|
|
1690
1692
|
clientMutationId?: string | null;
|
|
@@ -1692,17 +1694,11 @@ export interface CreateOrgLimitCreditPayload {
|
|
|
1692
1694
|
orgLimitCredit?: OrgLimitCredit | null;
|
|
1693
1695
|
orgLimitCreditEdge?: OrgLimitCreditEdge | null;
|
|
1694
1696
|
}
|
|
1695
|
-
export interface
|
|
1696
|
-
clientMutationId?: string | null;
|
|
1697
|
-
/** The `AppLimitCreditCode` that was created by this mutation. */
|
|
1698
|
-
appLimitCreditCode?: AppLimitCreditCode | null;
|
|
1699
|
-
appLimitCreditCodeEdge?: AppLimitCreditCodeEdge | null;
|
|
1700
|
-
}
|
|
1701
|
-
export interface CreateAppLimitEventPayload {
|
|
1697
|
+
export interface CreateOrgLimitDefaultPayload {
|
|
1702
1698
|
clientMutationId?: string | null;
|
|
1703
|
-
/** The `
|
|
1704
|
-
|
|
1705
|
-
|
|
1699
|
+
/** The `OrgLimitDefault` that was created by this mutation. */
|
|
1700
|
+
orgLimitDefault?: OrgLimitDefault | null;
|
|
1701
|
+
orgLimitDefaultEdge?: OrgLimitDefaultEdge | null;
|
|
1706
1702
|
}
|
|
1707
1703
|
export interface CreateOrgLimitEventPayload {
|
|
1708
1704
|
clientMutationId?: string | null;
|
|
@@ -1710,300 +1706,314 @@ export interface CreateOrgLimitEventPayload {
|
|
|
1710
1706
|
orgLimitEvent?: OrgLimitEvent | null;
|
|
1711
1707
|
orgLimitEventEdge?: OrgLimitEventEdge | null;
|
|
1712
1708
|
}
|
|
1713
|
-
export interface
|
|
1709
|
+
export interface CreateOrgLimitWarningPayload {
|
|
1714
1710
|
clientMutationId?: string | null;
|
|
1715
|
-
/** The `
|
|
1711
|
+
/** The `OrgLimitWarning` that was created by this mutation. */
|
|
1712
|
+
orgLimitWarning?: OrgLimitWarning | null;
|
|
1713
|
+
orgLimitWarningEdge?: OrgLimitWarningEdge | null;
|
|
1714
|
+
}
|
|
1715
|
+
export interface DeleteAppLimitPayload {
|
|
1716
|
+
/** The `AppLimit` that was deleted by this mutation. */
|
|
1716
1717
|
appLimit?: AppLimit | null;
|
|
1717
1718
|
appLimitEdge?: AppLimitEdge | null;
|
|
1718
|
-
}
|
|
1719
|
-
export interface CreateOrgLimitAggregatePayload {
|
|
1720
1719
|
clientMutationId?: string | null;
|
|
1721
|
-
/** The `OrgLimitAggregate` that was created by this mutation. */
|
|
1722
|
-
orgLimitAggregate?: OrgLimitAggregate | null;
|
|
1723
|
-
orgLimitAggregateEdge?: OrgLimitAggregateEdge | null;
|
|
1724
1720
|
}
|
|
1725
|
-
export interface
|
|
1721
|
+
export interface DeleteAppLimitCapPayload {
|
|
1722
|
+
/** The `AppLimitCap` that was deleted by this mutation. */
|
|
1723
|
+
appLimitCap?: AppLimitCap | null;
|
|
1724
|
+
appLimitCapEdge?: AppLimitCapEdge | null;
|
|
1726
1725
|
clientMutationId?: string | null;
|
|
1727
|
-
/** The `OrgLimit` that was created by this mutation. */
|
|
1728
|
-
orgLimit?: OrgLimit | null;
|
|
1729
|
-
orgLimitEdge?: OrgLimitEdge | null;
|
|
1730
1726
|
}
|
|
1731
|
-
export interface
|
|
1732
|
-
|
|
1733
|
-
/** The `AppLimitCapsDefault` that was updated by this mutation. */
|
|
1727
|
+
export interface DeleteAppLimitCapsDefaultPayload {
|
|
1728
|
+
/** The `AppLimitCapsDefault` that was deleted by this mutation. */
|
|
1734
1729
|
appLimitCapsDefault?: AppLimitCapsDefault | null;
|
|
1735
1730
|
appLimitCapsDefaultEdge?: AppLimitCapsDefaultEdge | null;
|
|
1731
|
+
clientMutationId?: string | null;
|
|
1736
1732
|
}
|
|
1737
|
-
export interface
|
|
1733
|
+
export interface DeleteAppLimitCreditPayload {
|
|
1734
|
+
/** The `AppLimitCredit` that was deleted by this mutation. */
|
|
1735
|
+
appLimitCredit?: AppLimitCredit | null;
|
|
1736
|
+
appLimitCreditEdge?: AppLimitCreditEdge | null;
|
|
1738
1737
|
clientMutationId?: string | null;
|
|
1739
|
-
/** The `OrgLimitCapsDefault` that was updated by this mutation. */
|
|
1740
|
-
orgLimitCapsDefault?: OrgLimitCapsDefault | null;
|
|
1741
|
-
orgLimitCapsDefaultEdge?: OrgLimitCapsDefaultEdge | null;
|
|
1742
1738
|
}
|
|
1743
|
-
export interface
|
|
1739
|
+
export interface DeleteAppLimitCreditCodePayload {
|
|
1740
|
+
/** The `AppLimitCreditCode` that was deleted by this mutation. */
|
|
1741
|
+
appLimitCreditCode?: AppLimitCreditCode | null;
|
|
1742
|
+
appLimitCreditCodeEdge?: AppLimitCreditCodeEdge | null;
|
|
1744
1743
|
clientMutationId?: string | null;
|
|
1745
|
-
/** The `AppLimitCap` that was updated by this mutation. */
|
|
1746
|
-
appLimitCap?: AppLimitCap | null;
|
|
1747
|
-
appLimitCapEdge?: AppLimitCapEdge | null;
|
|
1748
1744
|
}
|
|
1749
|
-
export interface
|
|
1745
|
+
export interface DeleteAppLimitCreditCodeItemPayload {
|
|
1746
|
+
/** The `AppLimitCreditCodeItem` that was deleted by this mutation. */
|
|
1747
|
+
appLimitCreditCodeItem?: AppLimitCreditCodeItem | null;
|
|
1748
|
+
appLimitCreditCodeItemEdge?: AppLimitCreditCodeItemEdge | null;
|
|
1750
1749
|
clientMutationId?: string | null;
|
|
1751
|
-
/** The `OrgLimitCap` that was updated by this mutation. */
|
|
1752
|
-
orgLimitCap?: OrgLimitCap | null;
|
|
1753
|
-
orgLimitCapEdge?: OrgLimitCapEdge | null;
|
|
1754
1750
|
}
|
|
1755
|
-
export interface
|
|
1751
|
+
export interface DeleteAppLimitCreditRedemptionPayload {
|
|
1752
|
+
/** The `AppLimitCreditRedemption` that was deleted by this mutation. */
|
|
1753
|
+
appLimitCreditRedemption?: AppLimitCreditRedemption | null;
|
|
1754
|
+
appLimitCreditRedemptionEdge?: AppLimitCreditRedemptionEdge | null;
|
|
1756
1755
|
clientMutationId?: string | null;
|
|
1757
|
-
|
|
1756
|
+
}
|
|
1757
|
+
export interface DeleteAppLimitDefaultPayload {
|
|
1758
|
+
/** The `AppLimitDefault` that was deleted by this mutation. */
|
|
1758
1759
|
appLimitDefault?: AppLimitDefault | null;
|
|
1759
1760
|
appLimitDefaultEdge?: AppLimitDefaultEdge | null;
|
|
1761
|
+
clientMutationId?: string | null;
|
|
1760
1762
|
}
|
|
1761
|
-
export interface
|
|
1763
|
+
export interface DeleteAppLimitEventPayload {
|
|
1764
|
+
/** The `AppLimitEvent` that was deleted by this mutation. */
|
|
1765
|
+
appLimitEvent?: AppLimitEvent | null;
|
|
1766
|
+
appLimitEventEdge?: AppLimitEventEdge | null;
|
|
1762
1767
|
clientMutationId?: string | null;
|
|
1763
|
-
/** The `OrgLimitDefault` that was updated by this mutation. */
|
|
1764
|
-
orgLimitDefault?: OrgLimitDefault | null;
|
|
1765
|
-
orgLimitDefaultEdge?: OrgLimitDefaultEdge | null;
|
|
1766
1768
|
}
|
|
1767
|
-
export interface
|
|
1769
|
+
export interface DeleteAppLimitWarningPayload {
|
|
1770
|
+
/** The `AppLimitWarning` that was deleted by this mutation. */
|
|
1771
|
+
appLimitWarning?: AppLimitWarning | null;
|
|
1772
|
+
appLimitWarningEdge?: AppLimitWarningEdge | null;
|
|
1768
1773
|
clientMutationId?: string | null;
|
|
1769
|
-
/** The `AppLimitCreditRedemption` that was updated by this mutation. */
|
|
1770
|
-
appLimitCreditRedemption?: AppLimitCreditRedemption | null;
|
|
1771
|
-
appLimitCreditRedemptionEdge?: AppLimitCreditRedemptionEdge | null;
|
|
1772
1774
|
}
|
|
1773
|
-
export interface
|
|
1775
|
+
export interface DeleteOrgLimitPayload {
|
|
1774
1776
|
clientMutationId?: string | null;
|
|
1775
|
-
/** The `
|
|
1776
|
-
|
|
1777
|
-
|
|
1777
|
+
/** The `OrgLimit` that was deleted by this mutation. */
|
|
1778
|
+
orgLimit?: OrgLimit | null;
|
|
1779
|
+
orgLimitEdge?: OrgLimitEdge | null;
|
|
1778
1780
|
}
|
|
1779
|
-
export interface
|
|
1781
|
+
export interface DeleteOrgLimitAggregatePayload {
|
|
1780
1782
|
clientMutationId?: string | null;
|
|
1781
|
-
/** The `
|
|
1782
|
-
|
|
1783
|
-
|
|
1783
|
+
/** The `OrgLimitAggregate` that was deleted by this mutation. */
|
|
1784
|
+
orgLimitAggregate?: OrgLimitAggregate | null;
|
|
1785
|
+
orgLimitAggregateEdge?: OrgLimitAggregateEdge | null;
|
|
1784
1786
|
}
|
|
1785
|
-
export interface
|
|
1787
|
+
export interface DeleteOrgLimitCapPayload {
|
|
1786
1788
|
clientMutationId?: string | null;
|
|
1787
|
-
/** The `
|
|
1788
|
-
|
|
1789
|
-
|
|
1789
|
+
/** The `OrgLimitCap` that was deleted by this mutation. */
|
|
1790
|
+
orgLimitCap?: OrgLimitCap | null;
|
|
1791
|
+
orgLimitCapEdge?: OrgLimitCapEdge | null;
|
|
1790
1792
|
}
|
|
1791
|
-
export interface
|
|
1793
|
+
export interface DeleteOrgLimitCapsDefaultPayload {
|
|
1792
1794
|
clientMutationId?: string | null;
|
|
1793
|
-
/** The `
|
|
1794
|
-
|
|
1795
|
-
|
|
1795
|
+
/** The `OrgLimitCapsDefault` that was deleted by this mutation. */
|
|
1796
|
+
orgLimitCapsDefault?: OrgLimitCapsDefault | null;
|
|
1797
|
+
orgLimitCapsDefaultEdge?: OrgLimitCapsDefaultEdge | null;
|
|
1796
1798
|
}
|
|
1797
|
-
export interface
|
|
1799
|
+
export interface DeleteOrgLimitCreditPayload {
|
|
1798
1800
|
clientMutationId?: string | null;
|
|
1799
|
-
/** The `OrgLimitCredit` that was
|
|
1801
|
+
/** The `OrgLimitCredit` that was deleted by this mutation. */
|
|
1800
1802
|
orgLimitCredit?: OrgLimitCredit | null;
|
|
1801
1803
|
orgLimitCreditEdge?: OrgLimitCreditEdge | null;
|
|
1802
1804
|
}
|
|
1803
|
-
export interface
|
|
1805
|
+
export interface DeleteOrgLimitDefaultPayload {
|
|
1804
1806
|
clientMutationId?: string | null;
|
|
1805
|
-
/** The `
|
|
1806
|
-
|
|
1807
|
-
|
|
1807
|
+
/** The `OrgLimitDefault` that was deleted by this mutation. */
|
|
1808
|
+
orgLimitDefault?: OrgLimitDefault | null;
|
|
1809
|
+
orgLimitDefaultEdge?: OrgLimitDefaultEdge | null;
|
|
1808
1810
|
}
|
|
1809
|
-
export interface
|
|
1811
|
+
export interface DeleteOrgLimitEventPayload {
|
|
1812
|
+
clientMutationId?: string | null;
|
|
1813
|
+
/** The `OrgLimitEvent` that was deleted by this mutation. */
|
|
1814
|
+
orgLimitEvent?: OrgLimitEvent | null;
|
|
1815
|
+
orgLimitEventEdge?: OrgLimitEventEdge | null;
|
|
1816
|
+
}
|
|
1817
|
+
export interface DeleteOrgLimitWarningPayload {
|
|
1818
|
+
clientMutationId?: string | null;
|
|
1819
|
+
/** The `OrgLimitWarning` that was deleted by this mutation. */
|
|
1820
|
+
orgLimitWarning?: OrgLimitWarning | null;
|
|
1821
|
+
orgLimitWarningEdge?: OrgLimitWarningEdge | null;
|
|
1822
|
+
}
|
|
1823
|
+
export interface ProvisionBucketPayload {
|
|
1824
|
+
/** The access type applied */
|
|
1825
|
+
accessType: string;
|
|
1826
|
+
/** The S3 bucket name that was provisioned */
|
|
1827
|
+
bucketName: string;
|
|
1828
|
+
/** The S3 endpoint (null for AWS S3 default) */
|
|
1829
|
+
endpoint?: string | null;
|
|
1830
|
+
/** Error message if provisioning failed */
|
|
1831
|
+
error?: string | null;
|
|
1832
|
+
/** The storage provider used */
|
|
1833
|
+
provider: string;
|
|
1834
|
+
/** Whether provisioning succeeded */
|
|
1835
|
+
success: boolean;
|
|
1836
|
+
}
|
|
1837
|
+
export interface SeedAppLimitCapsDefaultsPayload {
|
|
1838
|
+
clientMutationId?: string | null;
|
|
1839
|
+
result?: boolean | null;
|
|
1840
|
+
}
|
|
1841
|
+
export interface SeedAppLimitDefaultsPayload {
|
|
1842
|
+
clientMutationId?: string | null;
|
|
1843
|
+
result?: boolean | null;
|
|
1844
|
+
}
|
|
1845
|
+
export interface SeedOrgLimitCapsDefaultsPayload {
|
|
1810
1846
|
clientMutationId?: string | null;
|
|
1811
|
-
|
|
1812
|
-
appLimitEvent?: AppLimitEvent | null;
|
|
1813
|
-
appLimitEventEdge?: AppLimitEventEdge | null;
|
|
1847
|
+
result?: boolean | null;
|
|
1814
1848
|
}
|
|
1815
|
-
export interface
|
|
1849
|
+
export interface SeedOrgLimitDefaultsPayload {
|
|
1816
1850
|
clientMutationId?: string | null;
|
|
1817
|
-
|
|
1818
|
-
orgLimitEvent?: OrgLimitEvent | null;
|
|
1819
|
-
orgLimitEventEdge?: OrgLimitEventEdge | null;
|
|
1851
|
+
result?: boolean | null;
|
|
1820
1852
|
}
|
|
1821
1853
|
export interface UpdateAppLimitPayload {
|
|
1822
|
-
clientMutationId?: string | null;
|
|
1823
1854
|
/** The `AppLimit` that was updated by this mutation. */
|
|
1824
1855
|
appLimit?: AppLimit | null;
|
|
1825
1856
|
appLimitEdge?: AppLimitEdge | null;
|
|
1826
|
-
}
|
|
1827
|
-
export interface UpdateOrgLimitAggregatePayload {
|
|
1828
1857
|
clientMutationId?: string | null;
|
|
1829
|
-
/** The `OrgLimitAggregate` that was updated by this mutation. */
|
|
1830
|
-
orgLimitAggregate?: OrgLimitAggregate | null;
|
|
1831
|
-
orgLimitAggregateEdge?: OrgLimitAggregateEdge | null;
|
|
1832
1858
|
}
|
|
1833
|
-
export interface
|
|
1859
|
+
export interface UpdateAppLimitCapPayload {
|
|
1860
|
+
/** The `AppLimitCap` that was updated by this mutation. */
|
|
1861
|
+
appLimitCap?: AppLimitCap | null;
|
|
1862
|
+
appLimitCapEdge?: AppLimitCapEdge | null;
|
|
1834
1863
|
clientMutationId?: string | null;
|
|
1835
|
-
/** The `OrgLimit` that was updated by this mutation. */
|
|
1836
|
-
orgLimit?: OrgLimit | null;
|
|
1837
|
-
orgLimitEdge?: OrgLimitEdge | null;
|
|
1838
1864
|
}
|
|
1839
|
-
export interface
|
|
1840
|
-
|
|
1841
|
-
/** The `AppLimitCapsDefault` that was deleted by this mutation. */
|
|
1865
|
+
export interface UpdateAppLimitCapsDefaultPayload {
|
|
1866
|
+
/** The `AppLimitCapsDefault` that was updated by this mutation. */
|
|
1842
1867
|
appLimitCapsDefault?: AppLimitCapsDefault | null;
|
|
1843
1868
|
appLimitCapsDefaultEdge?: AppLimitCapsDefaultEdge | null;
|
|
1869
|
+
clientMutationId?: string | null;
|
|
1844
1870
|
}
|
|
1845
|
-
export interface
|
|
1871
|
+
export interface UpdateAppLimitCreditPayload {
|
|
1872
|
+
/** The `AppLimitCredit` that was updated by this mutation. */
|
|
1873
|
+
appLimitCredit?: AppLimitCredit | null;
|
|
1874
|
+
appLimitCreditEdge?: AppLimitCreditEdge | null;
|
|
1846
1875
|
clientMutationId?: string | null;
|
|
1847
|
-
/** The `OrgLimitCapsDefault` that was deleted by this mutation. */
|
|
1848
|
-
orgLimitCapsDefault?: OrgLimitCapsDefault | null;
|
|
1849
|
-
orgLimitCapsDefaultEdge?: OrgLimitCapsDefaultEdge | null;
|
|
1850
1876
|
}
|
|
1851
|
-
export interface
|
|
1877
|
+
export interface UpdateAppLimitCreditCodePayload {
|
|
1878
|
+
/** The `AppLimitCreditCode` that was updated by this mutation. */
|
|
1879
|
+
appLimitCreditCode?: AppLimitCreditCode | null;
|
|
1880
|
+
appLimitCreditCodeEdge?: AppLimitCreditCodeEdge | null;
|
|
1852
1881
|
clientMutationId?: string | null;
|
|
1853
|
-
/** The `AppLimitCap` that was deleted by this mutation. */
|
|
1854
|
-
appLimitCap?: AppLimitCap | null;
|
|
1855
|
-
appLimitCapEdge?: AppLimitCapEdge | null;
|
|
1856
1882
|
}
|
|
1857
|
-
export interface
|
|
1883
|
+
export interface UpdateAppLimitCreditCodeItemPayload {
|
|
1884
|
+
/** The `AppLimitCreditCodeItem` that was updated by this mutation. */
|
|
1885
|
+
appLimitCreditCodeItem?: AppLimitCreditCodeItem | null;
|
|
1886
|
+
appLimitCreditCodeItemEdge?: AppLimitCreditCodeItemEdge | null;
|
|
1858
1887
|
clientMutationId?: string | null;
|
|
1859
|
-
/** The `OrgLimitCap` that was deleted by this mutation. */
|
|
1860
|
-
orgLimitCap?: OrgLimitCap | null;
|
|
1861
|
-
orgLimitCapEdge?: OrgLimitCapEdge | null;
|
|
1862
1888
|
}
|
|
1863
|
-
export interface
|
|
1889
|
+
export interface UpdateAppLimitCreditRedemptionPayload {
|
|
1890
|
+
/** The `AppLimitCreditRedemption` that was updated by this mutation. */
|
|
1891
|
+
appLimitCreditRedemption?: AppLimitCreditRedemption | null;
|
|
1892
|
+
appLimitCreditRedemptionEdge?: AppLimitCreditRedemptionEdge | null;
|
|
1864
1893
|
clientMutationId?: string | null;
|
|
1865
|
-
|
|
1894
|
+
}
|
|
1895
|
+
export interface UpdateAppLimitDefaultPayload {
|
|
1896
|
+
/** The `AppLimitDefault` that was updated by this mutation. */
|
|
1866
1897
|
appLimitDefault?: AppLimitDefault | null;
|
|
1867
1898
|
appLimitDefaultEdge?: AppLimitDefaultEdge | null;
|
|
1899
|
+
clientMutationId?: string | null;
|
|
1868
1900
|
}
|
|
1869
|
-
export interface
|
|
1901
|
+
export interface UpdateAppLimitEventPayload {
|
|
1902
|
+
/** The `AppLimitEvent` that was updated by this mutation. */
|
|
1903
|
+
appLimitEvent?: AppLimitEvent | null;
|
|
1904
|
+
appLimitEventEdge?: AppLimitEventEdge | null;
|
|
1870
1905
|
clientMutationId?: string | null;
|
|
1871
|
-
/** The `OrgLimitDefault` that was deleted by this mutation. */
|
|
1872
|
-
orgLimitDefault?: OrgLimitDefault | null;
|
|
1873
|
-
orgLimitDefaultEdge?: OrgLimitDefaultEdge | null;
|
|
1874
1906
|
}
|
|
1875
|
-
export interface
|
|
1907
|
+
export interface UpdateAppLimitWarningPayload {
|
|
1908
|
+
/** The `AppLimitWarning` that was updated by this mutation. */
|
|
1909
|
+
appLimitWarning?: AppLimitWarning | null;
|
|
1910
|
+
appLimitWarningEdge?: AppLimitWarningEdge | null;
|
|
1876
1911
|
clientMutationId?: string | null;
|
|
1877
|
-
/** The `AppLimitCreditRedemption` that was deleted by this mutation. */
|
|
1878
|
-
appLimitCreditRedemption?: AppLimitCreditRedemption | null;
|
|
1879
|
-
appLimitCreditRedemptionEdge?: AppLimitCreditRedemptionEdge | null;
|
|
1880
1912
|
}
|
|
1881
|
-
export interface
|
|
1913
|
+
export interface UpdateOrgLimitPayload {
|
|
1882
1914
|
clientMutationId?: string | null;
|
|
1883
|
-
/** The `
|
|
1884
|
-
|
|
1885
|
-
|
|
1915
|
+
/** The `OrgLimit` that was updated by this mutation. */
|
|
1916
|
+
orgLimit?: OrgLimit | null;
|
|
1917
|
+
orgLimitEdge?: OrgLimitEdge | null;
|
|
1886
1918
|
}
|
|
1887
|
-
export interface
|
|
1919
|
+
export interface UpdateOrgLimitAggregatePayload {
|
|
1888
1920
|
clientMutationId?: string | null;
|
|
1889
|
-
/** The `
|
|
1890
|
-
|
|
1891
|
-
|
|
1921
|
+
/** The `OrgLimitAggregate` that was updated by this mutation. */
|
|
1922
|
+
orgLimitAggregate?: OrgLimitAggregate | null;
|
|
1923
|
+
orgLimitAggregateEdge?: OrgLimitAggregateEdge | null;
|
|
1892
1924
|
}
|
|
1893
|
-
export interface
|
|
1925
|
+
export interface UpdateOrgLimitCapPayload {
|
|
1894
1926
|
clientMutationId?: string | null;
|
|
1895
|
-
/** The `
|
|
1896
|
-
|
|
1897
|
-
|
|
1927
|
+
/** The `OrgLimitCap` that was updated by this mutation. */
|
|
1928
|
+
orgLimitCap?: OrgLimitCap | null;
|
|
1929
|
+
orgLimitCapEdge?: OrgLimitCapEdge | null;
|
|
1898
1930
|
}
|
|
1899
|
-
export interface
|
|
1931
|
+
export interface UpdateOrgLimitCapsDefaultPayload {
|
|
1900
1932
|
clientMutationId?: string | null;
|
|
1901
|
-
/** The `
|
|
1902
|
-
|
|
1903
|
-
|
|
1933
|
+
/** The `OrgLimitCapsDefault` that was updated by this mutation. */
|
|
1934
|
+
orgLimitCapsDefault?: OrgLimitCapsDefault | null;
|
|
1935
|
+
orgLimitCapsDefaultEdge?: OrgLimitCapsDefaultEdge | null;
|
|
1904
1936
|
}
|
|
1905
|
-
export interface
|
|
1937
|
+
export interface UpdateOrgLimitCreditPayload {
|
|
1906
1938
|
clientMutationId?: string | null;
|
|
1907
|
-
/** The `OrgLimitCredit` that was
|
|
1939
|
+
/** The `OrgLimitCredit` that was updated by this mutation. */
|
|
1908
1940
|
orgLimitCredit?: OrgLimitCredit | null;
|
|
1909
1941
|
orgLimitCreditEdge?: OrgLimitCreditEdge | null;
|
|
1910
1942
|
}
|
|
1911
|
-
export interface
|
|
1912
|
-
clientMutationId?: string | null;
|
|
1913
|
-
/** The `AppLimitCreditCode` that was deleted by this mutation. */
|
|
1914
|
-
appLimitCreditCode?: AppLimitCreditCode | null;
|
|
1915
|
-
appLimitCreditCodeEdge?: AppLimitCreditCodeEdge | null;
|
|
1916
|
-
}
|
|
1917
|
-
export interface DeleteAppLimitEventPayload {
|
|
1943
|
+
export interface UpdateOrgLimitDefaultPayload {
|
|
1918
1944
|
clientMutationId?: string | null;
|
|
1919
|
-
/** The `
|
|
1920
|
-
|
|
1921
|
-
|
|
1945
|
+
/** The `OrgLimitDefault` that was updated by this mutation. */
|
|
1946
|
+
orgLimitDefault?: OrgLimitDefault | null;
|
|
1947
|
+
orgLimitDefaultEdge?: OrgLimitDefaultEdge | null;
|
|
1922
1948
|
}
|
|
1923
|
-
export interface
|
|
1949
|
+
export interface UpdateOrgLimitEventPayload {
|
|
1924
1950
|
clientMutationId?: string | null;
|
|
1925
|
-
/** The `OrgLimitEvent` that was
|
|
1951
|
+
/** The `OrgLimitEvent` that was updated by this mutation. */
|
|
1926
1952
|
orgLimitEvent?: OrgLimitEvent | null;
|
|
1927
1953
|
orgLimitEventEdge?: OrgLimitEventEdge | null;
|
|
1928
1954
|
}
|
|
1929
|
-
export interface
|
|
1930
|
-
clientMutationId?: string | null;
|
|
1931
|
-
/** The `AppLimit` that was deleted by this mutation. */
|
|
1932
|
-
appLimit?: AppLimit | null;
|
|
1933
|
-
appLimitEdge?: AppLimitEdge | null;
|
|
1934
|
-
}
|
|
1935
|
-
export interface DeleteOrgLimitAggregatePayload {
|
|
1936
|
-
clientMutationId?: string | null;
|
|
1937
|
-
/** The `OrgLimitAggregate` that was deleted by this mutation. */
|
|
1938
|
-
orgLimitAggregate?: OrgLimitAggregate | null;
|
|
1939
|
-
orgLimitAggregateEdge?: OrgLimitAggregateEdge | null;
|
|
1940
|
-
}
|
|
1941
|
-
export interface DeleteOrgLimitPayload {
|
|
1955
|
+
export interface UpdateOrgLimitWarningPayload {
|
|
1942
1956
|
clientMutationId?: string | null;
|
|
1943
|
-
/** The `
|
|
1944
|
-
|
|
1945
|
-
|
|
1957
|
+
/** The `OrgLimitWarning` that was updated by this mutation. */
|
|
1958
|
+
orgLimitWarning?: OrgLimitWarning | null;
|
|
1959
|
+
orgLimitWarningEdge?: OrgLimitWarningEdge | null;
|
|
1946
1960
|
}
|
|
1947
|
-
|
|
1948
|
-
|
|
1949
|
-
|
|
1950
|
-
|
|
1951
|
-
|
|
1952
|
-
/**
|
|
1953
|
-
|
|
1954
|
-
|
|
1955
|
-
|
|
1956
|
-
|
|
1957
|
-
|
|
1958
|
-
|
|
1959
|
-
|
|
1961
|
+
/** Information about a database table */
|
|
1962
|
+
export interface MetaTable {
|
|
1963
|
+
constraints: MetaConstraints;
|
|
1964
|
+
fields: MetaField[];
|
|
1965
|
+
foreignKeyConstraints: MetaForeignKeyConstraint[];
|
|
1966
|
+
/** i18n metadata (null if no @i18n tag) */
|
|
1967
|
+
i18n?: MetaI18n | null;
|
|
1968
|
+
indexes: MetaIndex[];
|
|
1969
|
+
inflection: MetaInflection;
|
|
1970
|
+
name: string;
|
|
1971
|
+
primaryKeyConstraints: MetaPrimaryKeyConstraint[];
|
|
1972
|
+
query: MetaQuery;
|
|
1973
|
+
/** Realtime metadata (null if no @realtime tag) */
|
|
1974
|
+
realtime?: MetaRealtime | null;
|
|
1975
|
+
relations: MetaRelations;
|
|
1976
|
+
schemaName: string;
|
|
1977
|
+
/** Search metadata (null if no search configured) */
|
|
1978
|
+
search?: MetaSearch | null;
|
|
1979
|
+
/** Storage metadata (null if not a storage table) */
|
|
1980
|
+
storage?: MetaStorage | null;
|
|
1981
|
+
uniqueConstraints: MetaUniqueConstraint[];
|
|
1960
1982
|
}
|
|
1961
|
-
/** A `
|
|
1962
|
-
export interface
|
|
1983
|
+
/** A `AppLimitCap` edge in the connection. */
|
|
1984
|
+
export interface AppLimitCapEdge {
|
|
1963
1985
|
cursor?: string | null;
|
|
1964
|
-
/** The `
|
|
1965
|
-
node?:
|
|
1986
|
+
/** The `AppLimitCap` at the end of the edge. */
|
|
1987
|
+
node?: AppLimitCap | null;
|
|
1966
1988
|
}
|
|
1967
1989
|
/** Information about pagination in a connection. */
|
|
1968
1990
|
export interface PageInfo {
|
|
1991
|
+
/** When paginating forwards, the cursor to continue. */
|
|
1992
|
+
endCursor?: string | null;
|
|
1969
1993
|
/** When paginating forwards, are there more items? */
|
|
1970
1994
|
hasNextPage: boolean;
|
|
1971
1995
|
/** When paginating backwards, are there more items? */
|
|
1972
1996
|
hasPreviousPage: boolean;
|
|
1973
1997
|
/** When paginating backwards, the cursor to continue. */
|
|
1974
1998
|
startCursor?: string | null;
|
|
1975
|
-
/** When paginating forwards, the cursor to continue. */
|
|
1976
|
-
endCursor?: string | null;
|
|
1977
|
-
}
|
|
1978
|
-
/** A `OrgLimitCapsDefault` edge in the connection. */
|
|
1979
|
-
export interface OrgLimitCapsDefaultEdge {
|
|
1980
|
-
cursor?: string | null;
|
|
1981
|
-
/** The `OrgLimitCapsDefault` at the end of the edge. */
|
|
1982
|
-
node?: OrgLimitCapsDefault | null;
|
|
1983
|
-
}
|
|
1984
|
-
/** A `AppLimitCap` edge in the connection. */
|
|
1985
|
-
export interface AppLimitCapEdge {
|
|
1986
|
-
cursor?: string | null;
|
|
1987
|
-
/** The `AppLimitCap` at the end of the edge. */
|
|
1988
|
-
node?: AppLimitCap | null;
|
|
1989
1999
|
}
|
|
1990
|
-
/** A `
|
|
1991
|
-
export interface
|
|
2000
|
+
/** A `AppLimitCapsDefault` edge in the connection. */
|
|
2001
|
+
export interface AppLimitCapsDefaultEdge {
|
|
1992
2002
|
cursor?: string | null;
|
|
1993
|
-
/** The `
|
|
1994
|
-
node?:
|
|
2003
|
+
/** The `AppLimitCapsDefault` at the end of the edge. */
|
|
2004
|
+
node?: AppLimitCapsDefault | null;
|
|
1995
2005
|
}
|
|
1996
|
-
/** A `
|
|
1997
|
-
export interface
|
|
2006
|
+
/** A `AppLimitCreditCodeItem` edge in the connection. */
|
|
2007
|
+
export interface AppLimitCreditCodeItemEdge {
|
|
1998
2008
|
cursor?: string | null;
|
|
1999
|
-
/** The `
|
|
2000
|
-
node?:
|
|
2009
|
+
/** The `AppLimitCreditCodeItem` at the end of the edge. */
|
|
2010
|
+
node?: AppLimitCreditCodeItem | null;
|
|
2001
2011
|
}
|
|
2002
|
-
/** A `
|
|
2003
|
-
export interface
|
|
2012
|
+
/** A `AppLimitCreditCode` edge in the connection. */
|
|
2013
|
+
export interface AppLimitCreditCodeEdge {
|
|
2004
2014
|
cursor?: string | null;
|
|
2005
|
-
/** The `
|
|
2006
|
-
node?:
|
|
2015
|
+
/** The `AppLimitCreditCode` at the end of the edge. */
|
|
2016
|
+
node?: AppLimitCreditCode | null;
|
|
2007
2017
|
}
|
|
2008
2018
|
/** A `AppLimitCreditRedemption` edge in the connection. */
|
|
2009
2019
|
export interface AppLimitCreditRedemptionEdge {
|
|
@@ -2011,11 +2021,23 @@ export interface AppLimitCreditRedemptionEdge {
|
|
|
2011
2021
|
/** The `AppLimitCreditRedemption` at the end of the edge. */
|
|
2012
2022
|
node?: AppLimitCreditRedemption | null;
|
|
2013
2023
|
}
|
|
2014
|
-
/** A `
|
|
2015
|
-
export interface
|
|
2024
|
+
/** A `AppLimitCredit` edge in the connection. */
|
|
2025
|
+
export interface AppLimitCreditEdge {
|
|
2016
2026
|
cursor?: string | null;
|
|
2017
|
-
/** The `
|
|
2018
|
-
node?:
|
|
2027
|
+
/** The `AppLimitCredit` at the end of the edge. */
|
|
2028
|
+
node?: AppLimitCredit | null;
|
|
2029
|
+
}
|
|
2030
|
+
/** A `AppLimitDefault` edge in the connection. */
|
|
2031
|
+
export interface AppLimitDefaultEdge {
|
|
2032
|
+
cursor?: string | null;
|
|
2033
|
+
/** The `AppLimitDefault` at the end of the edge. */
|
|
2034
|
+
node?: AppLimitDefault | null;
|
|
2035
|
+
}
|
|
2036
|
+
/** A `AppLimitEvent` edge in the connection. */
|
|
2037
|
+
export interface AppLimitEventEdge {
|
|
2038
|
+
cursor?: string | null;
|
|
2039
|
+
/** The `AppLimitEvent` at the end of the edge. */
|
|
2040
|
+
node?: AppLimitEvent | null;
|
|
2019
2041
|
}
|
|
2020
2042
|
/** A `AppLimitWarning` edge in the connection. */
|
|
2021
2043
|
export interface AppLimitWarningEdge {
|
|
@@ -2023,17 +2045,29 @@ export interface AppLimitWarningEdge {
|
|
|
2023
2045
|
/** The `AppLimitWarning` at the end of the edge. */
|
|
2024
2046
|
node?: AppLimitWarning | null;
|
|
2025
2047
|
}
|
|
2026
|
-
/** A `
|
|
2027
|
-
export interface
|
|
2048
|
+
/** A `AppLimit` edge in the connection. */
|
|
2049
|
+
export interface AppLimitEdge {
|
|
2028
2050
|
cursor?: string | null;
|
|
2029
|
-
/** The `
|
|
2030
|
-
node?:
|
|
2051
|
+
/** The `AppLimit` at the end of the edge. */
|
|
2052
|
+
node?: AppLimit | null;
|
|
2031
2053
|
}
|
|
2032
|
-
/** A `
|
|
2033
|
-
export interface
|
|
2054
|
+
/** A `OrgLimitAggregate` edge in the connection. */
|
|
2055
|
+
export interface OrgLimitAggregateEdge {
|
|
2034
2056
|
cursor?: string | null;
|
|
2035
|
-
/** The `
|
|
2036
|
-
node?:
|
|
2057
|
+
/** The `OrgLimitAggregate` at the end of the edge. */
|
|
2058
|
+
node?: OrgLimitAggregate | null;
|
|
2059
|
+
}
|
|
2060
|
+
/** A `OrgLimitCap` edge in the connection. */
|
|
2061
|
+
export interface OrgLimitCapEdge {
|
|
2062
|
+
cursor?: string | null;
|
|
2063
|
+
/** The `OrgLimitCap` at the end of the edge. */
|
|
2064
|
+
node?: OrgLimitCap | null;
|
|
2065
|
+
}
|
|
2066
|
+
/** A `OrgLimitCapsDefault` edge in the connection. */
|
|
2067
|
+
export interface OrgLimitCapsDefaultEdge {
|
|
2068
|
+
cursor?: string | null;
|
|
2069
|
+
/** The `OrgLimitCapsDefault` at the end of the edge. */
|
|
2070
|
+
node?: OrgLimitCapsDefault | null;
|
|
2037
2071
|
}
|
|
2038
2072
|
/** A `OrgLimitCredit` edge in the connection. */
|
|
2039
2073
|
export interface OrgLimitCreditEdge {
|
|
@@ -2041,17 +2075,11 @@ export interface OrgLimitCreditEdge {
|
|
|
2041
2075
|
/** The `OrgLimitCredit` at the end of the edge. */
|
|
2042
2076
|
node?: OrgLimitCredit | null;
|
|
2043
2077
|
}
|
|
2044
|
-
/** A `
|
|
2045
|
-
export interface
|
|
2046
|
-
cursor?: string | null;
|
|
2047
|
-
/** The `AppLimitCreditCode` at the end of the edge. */
|
|
2048
|
-
node?: AppLimitCreditCode | null;
|
|
2049
|
-
}
|
|
2050
|
-
/** A `AppLimitEvent` edge in the connection. */
|
|
2051
|
-
export interface AppLimitEventEdge {
|
|
2078
|
+
/** A `OrgLimitDefault` edge in the connection. */
|
|
2079
|
+
export interface OrgLimitDefaultEdge {
|
|
2052
2080
|
cursor?: string | null;
|
|
2053
|
-
/** The `
|
|
2054
|
-
node?:
|
|
2081
|
+
/** The `OrgLimitDefault` at the end of the edge. */
|
|
2082
|
+
node?: OrgLimitDefault | null;
|
|
2055
2083
|
}
|
|
2056
2084
|
/** A `OrgLimitEvent` edge in the connection. */
|
|
2057
2085
|
export interface OrgLimitEventEdge {
|
|
@@ -2059,17 +2087,11 @@ export interface OrgLimitEventEdge {
|
|
|
2059
2087
|
/** The `OrgLimitEvent` at the end of the edge. */
|
|
2060
2088
|
node?: OrgLimitEvent | null;
|
|
2061
2089
|
}
|
|
2062
|
-
/** A `
|
|
2063
|
-
export interface
|
|
2064
|
-
cursor?: string | null;
|
|
2065
|
-
/** The `AppLimit` at the end of the edge. */
|
|
2066
|
-
node?: AppLimit | null;
|
|
2067
|
-
}
|
|
2068
|
-
/** A `OrgLimitAggregate` edge in the connection. */
|
|
2069
|
-
export interface OrgLimitAggregateEdge {
|
|
2090
|
+
/** A `OrgLimitWarning` edge in the connection. */
|
|
2091
|
+
export interface OrgLimitWarningEdge {
|
|
2070
2092
|
cursor?: string | null;
|
|
2071
|
-
/** The `
|
|
2072
|
-
node?:
|
|
2093
|
+
/** The `OrgLimitWarning` at the end of the edge. */
|
|
2094
|
+
node?: OrgLimitWarning | null;
|
|
2073
2095
|
}
|
|
2074
2096
|
/** A `OrgLimit` edge in the connection. */
|
|
2075
2097
|
export interface OrgLimitEdge {
|
|
@@ -2077,110 +2099,88 @@ export interface OrgLimitEdge {
|
|
|
2077
2099
|
/** The `OrgLimit` at the end of the edge. */
|
|
2078
2100
|
node?: OrgLimit | null;
|
|
2079
2101
|
}
|
|
2080
|
-
/**
|
|
2081
|
-
export interface
|
|
2082
|
-
|
|
2083
|
-
|
|
2084
|
-
|
|
2085
|
-
indexes: MetaIndex[];
|
|
2086
|
-
constraints: MetaConstraints;
|
|
2087
|
-
foreignKeyConstraints: MetaForeignKeyConstraint[];
|
|
2088
|
-
primaryKeyConstraints: MetaPrimaryKeyConstraint[];
|
|
2089
|
-
uniqueConstraints: MetaUniqueConstraint[];
|
|
2090
|
-
relations: MetaRelations;
|
|
2091
|
-
inflection: MetaInflection;
|
|
2092
|
-
query: MetaQuery;
|
|
2093
|
-
/** Storage metadata (null if not a storage table) */
|
|
2094
|
-
storage?: MetaStorage | null;
|
|
2095
|
-
/** Search metadata (null if no search configured) */
|
|
2096
|
-
search?: MetaSearch | null;
|
|
2097
|
-
/** i18n metadata (null if no @i18n tag) */
|
|
2098
|
-
i18n?: MetaI18n | null;
|
|
2099
|
-
/** Realtime metadata (null if no @realtime tag) */
|
|
2100
|
-
realtime?: MetaRealtime | null;
|
|
2102
|
+
/** Table constraints */
|
|
2103
|
+
export interface MetaConstraints {
|
|
2104
|
+
foreignKey: MetaForeignKeyConstraint[];
|
|
2105
|
+
primaryKey?: MetaPrimaryKeyConstraint | null;
|
|
2106
|
+
unique: MetaUniqueConstraint[];
|
|
2101
2107
|
}
|
|
2102
2108
|
/** Information about a table field/column */
|
|
2103
2109
|
export interface MetaField {
|
|
2104
|
-
name: string;
|
|
2105
|
-
type: MetaType;
|
|
2106
|
-
isNotNull: boolean;
|
|
2107
|
-
hasDefault: boolean;
|
|
2108
|
-
isPrimaryKey: boolean;
|
|
2109
|
-
isForeignKey: boolean;
|
|
2110
2110
|
description?: string | null;
|
|
2111
2111
|
/** Enum metadata if this field has an enum type */
|
|
2112
2112
|
enumValues?: MetaEnum | null;
|
|
2113
|
-
|
|
2114
|
-
|
|
2115
|
-
|
|
2113
|
+
hasDefault: boolean;
|
|
2114
|
+
isForeignKey: boolean;
|
|
2115
|
+
isNotNull: boolean;
|
|
2116
|
+
isPrimaryKey: boolean;
|
|
2116
2117
|
name: string;
|
|
2117
|
-
|
|
2118
|
-
isPrimary: boolean;
|
|
2119
|
-
columns: string[];
|
|
2120
|
-
fields?: MetaField[] | null;
|
|
2121
|
-
}
|
|
2122
|
-
/** Table constraints */
|
|
2123
|
-
export interface MetaConstraints {
|
|
2124
|
-
primaryKey?: MetaPrimaryKeyConstraint | null;
|
|
2125
|
-
unique: MetaUniqueConstraint[];
|
|
2126
|
-
foreignKey: MetaForeignKeyConstraint[];
|
|
2118
|
+
type: MetaType;
|
|
2127
2119
|
}
|
|
2128
2120
|
/** Information about a foreign key constraint */
|
|
2129
2121
|
export interface MetaForeignKeyConstraint {
|
|
2130
|
-
name: string;
|
|
2131
2122
|
fields: MetaField[];
|
|
2132
|
-
|
|
2133
|
-
referencedFields: string[];
|
|
2123
|
+
name: string;
|
|
2134
2124
|
refFields?: MetaField[] | null;
|
|
2135
2125
|
refTable?: MetaRefTable | null;
|
|
2126
|
+
referencedFields: string[];
|
|
2127
|
+
referencedTable: string;
|
|
2136
2128
|
}
|
|
2137
|
-
/**
|
|
2138
|
-
export interface
|
|
2139
|
-
|
|
2140
|
-
|
|
2129
|
+
/** i18n metadata for a table with @i18n tag */
|
|
2130
|
+
export interface MetaI18n {
|
|
2131
|
+
/** Fields that are translatable */
|
|
2132
|
+
translatableFields: MetaI18nField[];
|
|
2133
|
+
/** Name of the translation table */
|
|
2134
|
+
translationTable: string;
|
|
2141
2135
|
}
|
|
2142
|
-
/** Information about a
|
|
2143
|
-
export interface
|
|
2136
|
+
/** Information about a database index */
|
|
2137
|
+
export interface MetaIndex {
|
|
2138
|
+
columns: string[];
|
|
2139
|
+
fields?: MetaField[] | null;
|
|
2140
|
+
isPrimary: boolean;
|
|
2141
|
+
isUnique: boolean;
|
|
2144
2142
|
name: string;
|
|
2145
|
-
fields: MetaField[];
|
|
2146
|
-
}
|
|
2147
|
-
/** Table relations */
|
|
2148
|
-
export interface MetaRelations {
|
|
2149
|
-
belongsTo: MetaBelongsToRelation[];
|
|
2150
|
-
has: MetaHasRelation[];
|
|
2151
|
-
hasOne: MetaHasRelation[];
|
|
2152
|
-
hasMany: MetaHasRelation[];
|
|
2153
|
-
manyToMany: MetaManyToManyRelation[];
|
|
2154
2143
|
}
|
|
2155
2144
|
/** Table inflection names */
|
|
2156
2145
|
export interface MetaInflection {
|
|
2157
|
-
tableType: string;
|
|
2158
2146
|
allRows: string;
|
|
2147
|
+
conditionType: string;
|
|
2159
2148
|
connection: string;
|
|
2149
|
+
createInputType: string;
|
|
2150
|
+
createPayloadType: string;
|
|
2151
|
+
deletePayloadType: string;
|
|
2160
2152
|
edge: string;
|
|
2161
2153
|
filterType?: string | null;
|
|
2162
2154
|
orderByType: string;
|
|
2163
|
-
conditionType: string;
|
|
2164
2155
|
patchType?: string | null;
|
|
2165
|
-
|
|
2166
|
-
createPayloadType: string;
|
|
2156
|
+
tableType: string;
|
|
2167
2157
|
updatePayloadType?: string | null;
|
|
2168
|
-
|
|
2158
|
+
}
|
|
2159
|
+
/** Information about a primary key constraint */
|
|
2160
|
+
export interface MetaPrimaryKeyConstraint {
|
|
2161
|
+
fields: MetaField[];
|
|
2162
|
+
name: string;
|
|
2169
2163
|
}
|
|
2170
2164
|
/** Table query/mutation names */
|
|
2171
2165
|
export interface MetaQuery {
|
|
2172
2166
|
all: string;
|
|
2173
|
-
one?: string | null;
|
|
2174
2167
|
create?: string | null;
|
|
2175
|
-
update?: string | null;
|
|
2176
2168
|
delete?: string | null;
|
|
2169
|
+
one?: string | null;
|
|
2170
|
+
update?: string | null;
|
|
2177
2171
|
}
|
|
2178
|
-
/**
|
|
2179
|
-
export interface
|
|
2180
|
-
/**
|
|
2181
|
-
|
|
2182
|
-
|
|
2183
|
-
|
|
2172
|
+
/** Realtime metadata for a table with @realtime tag */
|
|
2173
|
+
export interface MetaRealtime {
|
|
2174
|
+
/** The generated subscription field name (e.g. onPostChanged) */
|
|
2175
|
+
subscriptionFieldName: string;
|
|
2176
|
+
}
|
|
2177
|
+
/** Table relations */
|
|
2178
|
+
export interface MetaRelations {
|
|
2179
|
+
belongsTo: MetaBelongsToRelation[];
|
|
2180
|
+
has: MetaHasRelation[];
|
|
2181
|
+
hasMany: MetaHasRelation[];
|
|
2182
|
+
hasOne: MetaHasRelation[];
|
|
2183
|
+
manyToMany: MetaManyToManyRelation[];
|
|
2184
2184
|
}
|
|
2185
2185
|
/** Search metadata for a table */
|
|
2186
2186
|
export interface MetaSearch {
|
|
@@ -2188,31 +2188,22 @@ export interface MetaSearch {
|
|
|
2188
2188
|
algorithms: string[];
|
|
2189
2189
|
/** Searchable columns with their algorithm */
|
|
2190
2190
|
columns: MetaSearchColumn[];
|
|
2191
|
-
/** Whether unifiedSearch composite filter is available */
|
|
2192
|
-
hasUnifiedSearch: boolean;
|
|
2193
2191
|
/** Per-table search configuration */
|
|
2194
2192
|
config?: MetaSearchConfig | null;
|
|
2193
|
+
/** Whether unifiedSearch composite filter is available */
|
|
2194
|
+
hasUnifiedSearch: boolean;
|
|
2195
2195
|
}
|
|
2196
|
-
/**
|
|
2197
|
-
export interface
|
|
2198
|
-
/**
|
|
2199
|
-
|
|
2200
|
-
/**
|
|
2201
|
-
|
|
2202
|
-
}
|
|
2203
|
-
/** Realtime metadata for a table with @realtime tag */
|
|
2204
|
-
export interface MetaRealtime {
|
|
2205
|
-
/** The generated subscription field name (e.g. onPostChanged) */
|
|
2206
|
-
subscriptionFieldName: string;
|
|
2196
|
+
/** Storage metadata for a table */
|
|
2197
|
+
export interface MetaStorage {
|
|
2198
|
+
/** Whether this table is a storage buckets table */
|
|
2199
|
+
isBucketsTable: boolean;
|
|
2200
|
+
/** Whether this table is a storage files table */
|
|
2201
|
+
isFilesTable: boolean;
|
|
2207
2202
|
}
|
|
2208
|
-
/** Information about a
|
|
2209
|
-
export interface
|
|
2210
|
-
|
|
2211
|
-
|
|
2212
|
-
isArray: boolean;
|
|
2213
|
-
isNotNull?: boolean | null;
|
|
2214
|
-
hasDefault?: boolean | null;
|
|
2215
|
-
subtype?: string | null;
|
|
2203
|
+
/** Information about a unique constraint */
|
|
2204
|
+
export interface MetaUniqueConstraint {
|
|
2205
|
+
fields: MetaField[];
|
|
2206
|
+
name: string;
|
|
2216
2207
|
}
|
|
2217
2208
|
/** Information about a PostgreSQL enum type */
|
|
2218
2209
|
export interface MetaEnum {
|
|
@@ -2221,61 +2212,70 @@ export interface MetaEnum {
|
|
|
2221
2212
|
/** Allowed values for this enum */
|
|
2222
2213
|
values: string[];
|
|
2223
2214
|
}
|
|
2215
|
+
/** Information about a PostgreSQL type */
|
|
2216
|
+
export interface MetaType {
|
|
2217
|
+
gqlType: string;
|
|
2218
|
+
hasDefault?: boolean | null;
|
|
2219
|
+
isArray: boolean;
|
|
2220
|
+
isNotNull?: boolean | null;
|
|
2221
|
+
pgType: string;
|
|
2222
|
+
subtype?: string | null;
|
|
2223
|
+
}
|
|
2224
2224
|
/** Reference to a related table */
|
|
2225
2225
|
export interface MetaRefTable {
|
|
2226
2226
|
name: string;
|
|
2227
2227
|
}
|
|
2228
|
+
/** A translatable field */
|
|
2229
|
+
export interface MetaI18nField {
|
|
2230
|
+
/** GraphQL field name */
|
|
2231
|
+
name: string;
|
|
2232
|
+
/** PostgreSQL column type (text, citext) */
|
|
2233
|
+
type: string;
|
|
2234
|
+
}
|
|
2228
2235
|
/** A belongs-to (forward FK) relation */
|
|
2229
2236
|
export interface MetaBelongsToRelation {
|
|
2230
2237
|
fieldName?: string | null;
|
|
2231
2238
|
isUnique: boolean;
|
|
2232
|
-
type?: string | null;
|
|
2233
2239
|
keys: MetaField[];
|
|
2234
2240
|
references: MetaRefTable;
|
|
2241
|
+
type?: string | null;
|
|
2235
2242
|
}
|
|
2236
2243
|
/** A has-one or has-many (reverse FK) relation */
|
|
2237
2244
|
export interface MetaHasRelation {
|
|
2238
2245
|
fieldName?: string | null;
|
|
2239
2246
|
isUnique: boolean;
|
|
2240
|
-
type?: string | null;
|
|
2241
2247
|
keys: MetaField[];
|
|
2242
2248
|
referencedBy: MetaRefTable;
|
|
2249
|
+
type?: string | null;
|
|
2243
2250
|
}
|
|
2244
2251
|
/** A many-to-many relation via junction table */
|
|
2245
2252
|
export interface MetaManyToManyRelation {
|
|
2246
2253
|
fieldName?: string | null;
|
|
2247
|
-
type?: string | null;
|
|
2248
|
-
junctionTable: MetaRefTable;
|
|
2249
2254
|
junctionLeftConstraint: MetaForeignKeyConstraint;
|
|
2250
2255
|
junctionLeftKeyAttributes: MetaField[];
|
|
2251
2256
|
junctionRightConstraint: MetaForeignKeyConstraint;
|
|
2252
2257
|
junctionRightKeyAttributes: MetaField[];
|
|
2258
|
+
junctionTable: MetaRefTable;
|
|
2253
2259
|
leftKeyAttributes: MetaField[];
|
|
2254
2260
|
rightKeyAttributes: MetaField[];
|
|
2255
2261
|
rightTable: MetaRefTable;
|
|
2262
|
+
type?: string | null;
|
|
2256
2263
|
}
|
|
2257
2264
|
/** A searchable column with its algorithm */
|
|
2258
2265
|
export interface MetaSearchColumn {
|
|
2259
|
-
/** Column name (camelCase) */
|
|
2260
|
-
name: string;
|
|
2261
2266
|
/** Search algorithm: tsvector, bm25, trgm, or vector */
|
|
2262
2267
|
algorithm: string;
|
|
2268
|
+
/** Column name (camelCase) */
|
|
2269
|
+
name: string;
|
|
2263
2270
|
}
|
|
2264
2271
|
/** Per-table search configuration from @searchConfig smart tag */
|
|
2265
2272
|
export interface MetaSearchConfig {
|
|
2266
|
-
/** JSON-encoded per-adapter score weights */
|
|
2267
|
-
weights?: string | null;
|
|
2268
|
-
/** Whether recency boosting is enabled */
|
|
2269
|
-
boostRecent: boolean;
|
|
2270
|
-
/** Field used for recency decay */
|
|
2271
|
-
boostRecencyField?: string | null;
|
|
2272
2273
|
/** Exponential decay factor per day */
|
|
2273
2274
|
boostRecencyDecay?: number | null;
|
|
2274
|
-
|
|
2275
|
-
|
|
2276
|
-
|
|
2277
|
-
|
|
2278
|
-
|
|
2279
|
-
|
|
2280
|
-
type: string;
|
|
2275
|
+
/** Field used for recency decay */
|
|
2276
|
+
boostRecencyField?: string | null;
|
|
2277
|
+
/** Whether recency boosting is enabled */
|
|
2278
|
+
boostRecent: boolean;
|
|
2279
|
+
/** JSON-encoded per-adapter score weights */
|
|
2280
|
+
weights?: string | null;
|
|
2281
2281
|
}
|