@constructive-io/sdk 0.14.7 → 0.14.8

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.
Files changed (81) hide show
  1. package/admin/orm/index.d.ts +4 -2
  2. package/admin/orm/index.js +4 -2
  3. package/admin/orm/input-types.d.ts +303 -142
  4. package/admin/orm/models/index.d.ts +2 -1
  5. package/admin/orm/models/index.js +5 -3
  6. package/admin/orm/models/orgMembershipSetting.d.ts +56 -0
  7. package/admin/orm/models/orgMembershipSetting.js +100 -0
  8. package/auth/orm/index.d.ts +9 -5
  9. package/auth/orm/index.js +4 -0
  10. package/auth/orm/input-types.d.ts +525 -81
  11. package/auth/orm/input-types.js +1 -0
  12. package/auth/orm/models/identityProvider.d.ts +32 -0
  13. package/auth/orm/models/identityProvider.js +55 -0
  14. package/auth/orm/models/index.d.ts +2 -0
  15. package/auth/orm/models/index.js +5 -1
  16. package/auth/orm/models/webauthnCredential.d.ts +56 -0
  17. package/auth/orm/models/webauthnCredential.js +100 -0
  18. package/auth/orm/mutation/index.d.ts +9 -9
  19. package/auth/orm/mutation/index.js +12 -12
  20. package/esm/admin/orm/index.d.ts +4 -2
  21. package/esm/admin/orm/index.js +4 -2
  22. package/esm/admin/orm/input-types.d.ts +303 -142
  23. package/esm/admin/orm/models/index.d.ts +2 -1
  24. package/esm/admin/orm/models/index.js +2 -1
  25. package/esm/admin/orm/models/orgMembershipSetting.d.ts +56 -0
  26. package/esm/admin/orm/models/orgMembershipSetting.js +96 -0
  27. package/esm/auth/orm/index.d.ts +9 -5
  28. package/esm/auth/orm/index.js +4 -0
  29. package/esm/auth/orm/input-types.d.ts +525 -81
  30. package/esm/auth/orm/input-types.js +1 -0
  31. package/esm/auth/orm/models/identityProvider.d.ts +32 -0
  32. package/esm/auth/orm/models/identityProvider.js +51 -0
  33. package/esm/auth/orm/models/index.d.ts +2 -0
  34. package/esm/auth/orm/models/index.js +2 -0
  35. package/esm/auth/orm/models/webauthnCredential.d.ts +56 -0
  36. package/esm/auth/orm/models/webauthnCredential.js +96 -0
  37. package/esm/auth/orm/mutation/index.d.ts +9 -9
  38. package/esm/auth/orm/mutation/index.js +12 -12
  39. package/esm/objects/orm/input-types.d.ts +12 -0
  40. package/esm/public/orm/index.d.ts +19 -7
  41. package/esm/public/orm/index.js +14 -2
  42. package/esm/public/orm/input-types.d.ts +1827 -366
  43. package/esm/public/orm/input-types.js +7 -0
  44. package/esm/public/orm/models/identityProvider.d.ts +32 -0
  45. package/esm/public/orm/models/identityProvider.js +51 -0
  46. package/esm/public/orm/models/identityProvidersModule.d.ts +56 -0
  47. package/esm/public/orm/models/identityProvidersModule.js +96 -0
  48. package/esm/public/orm/models/index.d.ts +7 -1
  49. package/esm/public/orm/models/index.js +7 -1
  50. package/esm/public/orm/models/notificationsModule.d.ts +56 -0
  51. package/esm/public/orm/models/notificationsModule.js +96 -0
  52. package/esm/public/orm/models/orgMembershipSetting.d.ts +56 -0
  53. package/esm/public/orm/models/orgMembershipSetting.js +96 -0
  54. package/esm/public/orm/models/webauthnAuthModule.d.ts +56 -0
  55. package/esm/public/orm/models/webauthnAuthModule.js +96 -0
  56. package/esm/public/orm/models/webauthnCredential.d.ts +56 -0
  57. package/esm/public/orm/models/webauthnCredential.js +96 -0
  58. package/esm/public/orm/mutation/index.d.ts +9 -9
  59. package/esm/public/orm/mutation/index.js +12 -12
  60. package/objects/orm/input-types.d.ts +12 -0
  61. package/package.json +3 -3
  62. package/public/orm/index.d.ts +19 -7
  63. package/public/orm/index.js +14 -2
  64. package/public/orm/input-types.d.ts +1827 -366
  65. package/public/orm/input-types.js +7 -0
  66. package/public/orm/models/identityProvider.d.ts +32 -0
  67. package/public/orm/models/identityProvider.js +55 -0
  68. package/public/orm/models/identityProvidersModule.d.ts +56 -0
  69. package/public/orm/models/identityProvidersModule.js +100 -0
  70. package/public/orm/models/index.d.ts +7 -1
  71. package/public/orm/models/index.js +17 -5
  72. package/public/orm/models/notificationsModule.d.ts +56 -0
  73. package/public/orm/models/notificationsModule.js +100 -0
  74. package/public/orm/models/orgMembershipSetting.d.ts +56 -0
  75. package/public/orm/models/orgMembershipSetting.js +100 -0
  76. package/public/orm/models/webauthnAuthModule.d.ts +56 -0
  77. package/public/orm/models/webauthnAuthModule.js +100 -0
  78. package/public/orm/models/webauthnCredential.d.ts +56 -0
  79. package/public/orm/models/webauthnCredential.js +100 -0
  80. package/public/orm/mutation/index.d.ts +9 -9
  81. package/public/orm/mutation/index.js +12 -12
@@ -230,6 +230,7 @@ export interface UUIDListFilter {
230
230
  anyGreaterThanOrEqualTo?: string;
231
231
  }
232
232
  export type ObjectCategory = 'CORE' | 'MODULE' | 'APP';
233
+ export type Base64EncodedBinary = unknown;
233
234
  export type ConstructiveInternalTypeAttachment = unknown;
234
235
  export type ConstructiveInternalTypeEmail = unknown;
235
236
  export type ConstructiveInternalTypeHostname = unknown;
@@ -598,7 +599,7 @@ export interface EmbeddingChunk {
598
599
  createdAt?: string | null;
599
600
  updatedAt?: string | null;
600
601
  }
601
- /** Provisions security, fields, grants, and policies onto a table. Each row can independently: (1) create fields via nodes[] array (supporting multiple Data* modules per row), (2) grant privileges via grant_privileges, (3) create RLS policies via policy_type. Multiple rows can target the same table to compose different concerns. All three concerns are optional and independent. */
602
+ /** Provisions security, fields, grants, and policies onto a table. Each row can independently: (1) create fields via nodes[] array (supporting multiple Data* modules per row), (2) grant privileges via grants[] array (supporting per-role privilege targeting), (3) create RLS policies via policies[] array (supporting multiple Authz* policies per row). Multiple rows can target the same table to compose different concerns. All three concerns are optional and independent. */
602
603
  export interface SecureTableProvision {
603
604
  /** Unique identifier for this provision row. */
604
605
  id: string;
@@ -612,26 +613,14 @@ export interface SecureTableProvision {
612
613
  tableName?: string | null;
613
614
  /** Array of node objects to apply to the table. Each element is a jsonb object with a required "$type" key (one of: DataId, DataDirectOwner, DataEntityMembership, DataOwnershipInEntity, DataTimestamps, DataPeoplestamps, DataPublishable, DataSoftDelete, DataEmbedding, DataFullTextSearch, DataSlug, etc.) and an optional "data" key containing generator-specific configuration. Supports multiple nodes per row, matching the blueprint definition format. Example: [{"$type": "DataId"}, {"$type": "DataTimestamps"}, {"$type": "DataDirectOwner", "data": {"owner_field_name": "author_id"}}]. Defaults to '[]' (no node processing). */
614
615
  nodes?: Record<string, unknown> | null;
615
- /** If true and Row Level Security is not yet enabled on the target table, enable it. Automatically set to true by the trigger when policy_type is provided. Defaults to true. */
616
+ /** If true and Row Level Security is not yet enabled on the target table, enable it. Automatically set to true by the trigger when policies[] is non-empty. Defaults to true. */
616
617
  useRls?: boolean | null;
617
618
  /** PostgreSQL array of jsonb field definition objects to create on the target table. Each object has keys: "name" (text, required), "type" (text, required), "default" (text, optional), "is_required" (boolean, optional, defaults to false), "min" (float, optional), "max" (float, optional), "regexp" (text, optional), "index" (boolean, optional, defaults to false — creates a btree index on the field). min/max generate CHECK constraints: for text/citext they constrain character_length, for integer/float types they constrain the value. regexp generates a CHECK (col ~ pattern) constraint for text/citext. Fields are created via metaschema.create_field() after any node_type generator runs, and their IDs are appended to out_fields. Example: ARRAY['{"name":"username","type":"citext","max":256,"regexp":"^[a-z0-9_]+$"}'::jsonb, '{"name":"score","type":"integer","min":0,"max":100}'::jsonb]. Defaults to '{}' (no additional fields). */
618
619
  fields?: Record<string, unknown>[] | null;
619
- /** Database roles to grant privileges to. Supports multiple roles, e.g. ARRAY['authenticated', 'admin']. Each role receives all privileges defined in grant_privileges. Defaults to ARRAY['authenticated']. */
620
- grantRoles?: string[] | null;
621
- /** PostgreSQL array of jsonb [privilege, columns] tuples defining table grants. Examples: ARRAY['["select","*"]'::jsonb, '["insert","*"]'::jsonb] for full access, or ARRAY['["update",["name","bio"]]'::jsonb] for column-level grants. "*" means all columns; an array means column-level grant. Defaults to '{}' (no grants callers must explicitly specify privileges). Type safety is enforced by PostgreSQL at INSERT time. */
622
- grantPrivileges?: Record<string, unknown>[] | null;
623
- /** Policy generator type, e.g. 'AuthzEntityMembership', 'AuthzMembership', 'AuthzAllowAll'. NULL means no policy is created. When set, the trigger automatically enables RLS on the target table. */
624
- policyType?: string | null;
625
- /** Privileges the policy applies to, e.g. ARRAY['select','update']. NULL means privileges are derived from the grant_privileges verbs. */
626
- policyPrivileges?: string[] | null;
627
- /** Role the policy targets. NULL means it falls back to the first role in grant_roles. */
628
- policyRole?: string | null;
629
- /** Whether the policy is PERMISSIVE (true) or RESTRICTIVE (false). Defaults to true. */
630
- policyPermissive?: boolean | null;
631
- /** Custom suffix for the generated policy name. When NULL and policy_type is set, the trigger auto-derives a suffix from policy_type by stripping the Authz prefix and underscoring the remainder (e.g. AuthzDirectOwner becomes direct_owner, producing policy names like auth_sel_direct_owner). When explicitly set, the value is passed through as-is to metaschema.create_policy name parameter. This ensures multiple policies on the same table do not collide (e.g. AuthzDirectOwner + AuthzPublishable each get unique names). */
632
- policyName?: string | null;
633
- /** Opaque configuration passed through to metaschema.create_policy(). Structure varies by policy_type and is not interpreted by this trigger. Defaults to '{}'. */
634
- policyData?: Record<string, unknown> | null;
620
+ /** Array of grant objects defining table privileges. Each element is a jsonb object with keys: "roles" (text[], required — database roles to grant to, e.g. ["authenticated","admin"]), "privileges" (jsonb[], required — array of [privilege, columns] tuples, e.g. [["select","*"],["insert","*"]]). "*" means all columns; an array means column-level grant. Supports per-role privilege targeting: different grant entries can target different roles with different privileges. Example: [{"roles":["authenticated"],"privileges":[["select","*"]]},{"roles":["admin"],"privileges":[["insert","*"],["update","*"],["delete","*"]]}]. Defaults to '[]' (no grants). When policies[] omit explicit privileges/policy_role, they fall back to the verbs and first role from grants[]. */
621
+ grants?: Record<string, unknown> | null;
622
+ /** Array of policy objects to create on the target table. Each element is a jsonb object with keys: "$type" (text, required — the Authz* policy generator type, e.g. AuthzEntityMembership, AuthzMembership, AuthzDirectOwner, AuthzPublishable, AuthzAllowAll), "data" (jsonb, optional — opaque configuration passed to metaschema.create_policy(), structure varies by type), "privileges" (text[], optional privileges the policy applies to, e.g. ["select","insert"]; if omitted, derived from grants[] privilege verbs), "policy_role" (text, optional — role the policy targets; if omitted, falls back to first role in first grants[] entry, or 'authenticated' if no grants), "permissive" (boolean, optional — PERMISSIVE or RESTRICTIVE; defaults to true), "policy_name" (text, optional — custom suffix for the generated policy name; if omitted, auto-derived from $type by stripping Authz prefix). Supports multiple policies per row. Example: [{"$type": "AuthzEntityMembership", "data": {"entity_field": "owner_id", "membership_type": 3}, "privileges": ["select", "insert"]}, {"$type": "AuthzDirectOwner", "data": {"entity_field": "actor_id"}, "privileges": ["update", "delete"]}]. Defaults to '[]' (no policies created). When non-empty, the trigger automatically enables RLS. */
623
+ policies?: Record<string, unknown> | null;
635
624
  /** Output column populated by the trigger after field creation. Contains the UUIDs of the metaschema fields created on the target table by this provision row's nodes. NULL when nodes is empty or before the trigger runs. Callers should not set this directly. */
636
625
  outFields?: string[] | null;
637
626
  }
@@ -750,34 +739,15 @@ export interface RelationProvision {
750
739
  * Ignored for RelationBelongsTo/RelationHasOne/RelationHasMany.
751
740
  */
752
741
  nodes?: Record<string, unknown> | null;
753
- /** For RelationManyToMany: database roles to grant privileges to on the junction table. Forwarded to secure_table_provision as-is. Supports multiple roles, e.g. ARRAY['authenticated', 'admin']. Each role receives all privileges defined in grant_privileges. Defaults to ARRAY['authenticated']. Ignored for RelationBelongsTo/RelationHasOne. */
754
- grantRoles?: string[] | null;
755
- /** For RelationManyToMany: privilege grants for the junction table. Forwarded to secure_table_provision as-is. Format: PostgreSQL array of jsonb [privilege, columns] tuples. Examples: ARRAY['["select","*"]'::jsonb, '["insert","*"]'::jsonb] for full access, or ARRAY['["update",["name","bio"]]'::jsonb] for column-level grants. "*" means all columns. Defaults to '{}' (no grants — callers must explicitly specify privileges). Ignored for RelationBelongsTo/RelationHasOne. */
756
- grantPrivileges?: Record<string, unknown>[] | null;
757
- /**
758
- * For RelationManyToMany: RLS policy type for the junction table. Forwarded to secure_table_provision as-is. The trigger does not interpret or validate this value.
759
- * Examples: AuthzEntityMembership, AuthzMembership, AuthzAllowAll, AuthzDirectOwner, AuthzOrgHierarchy.
760
- * NULL means no policy is created — the junction table will have RLS enabled but no policies (unless added separately via secure_table_provision).
761
- * Ignored for RelationBelongsTo/RelationHasOne.
762
- */
763
- policyType?: string | null;
764
- /** For RelationManyToMany: privileges the policy applies to, e.g. ARRAY['select','insert','delete']. Forwarded to secure_table_provision as-is. NULL means privileges are derived from the grant_privileges verbs by secure_table_provision. Ignored for RelationBelongsTo/RelationHasOne. */
765
- policyPrivileges?: string[] | null;
766
- /** For RelationManyToMany: database role the policy targets, e.g. 'authenticated'. Forwarded to secure_table_provision as-is. NULL means secure_table_provision falls back to the first role in grant_roles. Ignored for RelationBelongsTo/RelationHasOne. */
767
- policyRole?: string | null;
768
- /** For RelationManyToMany: whether the policy is PERMISSIVE (true) or RESTRICTIVE (false). Forwarded to secure_table_provision as-is. Defaults to true. Ignored for RelationBelongsTo/RelationHasOne. */
769
- policyPermissive?: boolean | null;
770
- /** For RelationManyToMany: custom suffix for the generated policy name. Forwarded to secure_table_provision as-is. When NULL and policy_type is set, secure_table_provision auto-derives a suffix from policy_type (e.g. AuthzDirectOwner becomes direct_owner, producing policy names like auth_sel_direct_owner). When explicitly set, used as-is. This ensures multiple policies on the same junction table do not collide. Ignored for RelationBelongsTo/RelationHasOne. */
771
- policyName?: string | null;
742
+ /** For RelationManyToMany: array of grant objects for the junction table. Forwarded to provision_table as-is. Each element is a jsonb object with keys: "roles" (text[], required), "privileges" (jsonb[], required array of [privilege, columns] tuples). Example: [{"roles":["authenticated"],"privileges":[["select","*"],["insert","*"],["delete","*"]]}]. Defaults to '[]' (no grants). Ignored for RelationBelongsTo/RelationHasOne. */
743
+ grants?: Record<string, unknown> | null;
772
744
  /**
773
- * For RelationManyToMany: opaque policy configuration forwarded to secure_table_provision as-is. The trigger does not interpret or validate this value. Structure varies by policy_type. Examples:
774
- * - AuthzEntityMembership: {"entity_field": "entity_id", "membership_type": 2}
775
- * - AuthzDirectOwner: {"owner_field": "owner_id"}
776
- * - AuthzMembership: {"membership_type": 2}
777
- * Defaults to '{}' (empty object).
778
- * Ignored for RelationBelongsTo/RelationHasOne.
745
+ * For RelationManyToMany: array of policy objects for the junction table. Forwarded to provision_table as-is. Each element is a jsonb object with keys: "$type" (text, required — the Authz* policy generator type), "data" (jsonb, optional — opaque config), "privileges" (text[], optional — e.g. ["select","insert"]; if omitted, derived from grants[] privilege verbs), "policy_role" (text, optional — falls back to first role in first grants[] entry, or 'authenticated'), "permissive" (boolean, optional, defaults to true), "policy_name" (text, optional). Supports multiple policies per row.
746
+ * Example: [{"$type": "AuthzEntityMembership", "data": {"entity_field": "entity_id", "membership_type": 2}, "privileges": ["select", "insert", "delete"]}].
747
+ * Defaults to '[]' (no policies — the junction table will have RLS enabled but no policies unless added separately).
748
+ * Ignored for RelationBelongsTo/RelationHasOne/RelationHasMany.
779
749
  */
780
- policyData?: Record<string, unknown> | null;
750
+ policies?: Record<string, unknown> | null;
781
751
  /** Output column for RelationBelongsTo/RelationHasOne/RelationHasMany: the UUID of the FK field created (or found). For BelongsTo/HasOne this is on the source table; for HasMany this is on the target table. Populated by the trigger. NULL for RelationManyToMany. Callers should not set this directly. */
782
752
  outFieldId?: string | null;
783
753
  /** Output column for RelationManyToMany: the UUID of the junction table created (or found). Populated by the trigger. NULL for RelationBelongsTo/RelationHasOne. Callers should not set this directly. */
@@ -797,6 +767,16 @@ export interface SessionSecretsModule {
797
767
  /** Resolved reference to sessions_module.sessions_table, used to FK session_secrets.session_id with ON DELETE CASCADE. */
798
768
  sessionsTableId?: string | null;
799
769
  }
770
+ /** Config row for the identity_providers_module, which provisions a per-database identity_providers config table holding OAuth2 / OIDC (and future SAML) provider definitions: protocol kind, endpoint URLs, encrypted client secret, scopes, audience validation, PKCE, and email-handling flags. Built-in providers (google, github, apple, ...) are seeded as is_built_in=true rows; custom providers use slugs of the form custom:<slug>. */
771
+ export interface IdentityProvidersModule {
772
+ id: string;
773
+ databaseId?: string | null;
774
+ schemaId?: string | null;
775
+ /** Private schema that hosts SECURITY DEFINER admin helpers which write to identity_providers (create / update / enable / disable / rotate-secret / delete) and the per-app quota check. */
776
+ privateSchemaId?: string | null;
777
+ tableId?: string | null;
778
+ tableName?: string | null;
779
+ }
800
780
  export interface SchemaGrant {
801
781
  id: string;
802
782
  databaseId?: string | null;
@@ -1140,6 +1120,8 @@ export interface MembershipsModule {
1140
1120
  membersTableName?: string | null;
1141
1121
  membershipDefaultsTableId?: string | null;
1142
1122
  membershipDefaultsTableName?: string | null;
1123
+ membershipSettingsTableId?: string | null;
1124
+ membershipSettingsTableName?: string | null;
1143
1125
  grantsTableId?: string | null;
1144
1126
  grantsTableName?: string | null;
1145
1127
  actorTableId?: string | null;
@@ -1374,6 +1356,8 @@ export interface StorageModule {
1374
1356
  bucketsTableName?: string | null;
1375
1357
  filesTableName?: string | null;
1376
1358
  uploadRequestsTableName?: string | null;
1359
+ membershipType?: number | null;
1360
+ policies?: string[] | null;
1377
1361
  entityTableId?: string | null;
1378
1362
  endpoint?: string | null;
1379
1363
  publicUrlPrefix?: string | null;
@@ -1456,6 +1440,33 @@ export interface EntityTypeProvision {
1456
1440
  * When true, creates level steps, achievements, and level tables with security.
1457
1441
  */
1458
1442
  hasLevels?: boolean | null;
1443
+ /**
1444
+ * Whether to provision storage_module for this type. Defaults to false.
1445
+ * When true, creates {prefix}_buckets, {prefix}_files, and {prefix}_upload_requests tables
1446
+ * with entity-scoped RLS (AuthzEntityMembership) using the entity's membership_type.
1447
+ * Storage tables get owner_id FK to the entity table, so files are owned by the entity.
1448
+ */
1449
+ hasStorage?: boolean | null;
1450
+ /**
1451
+ * Optional jsonb object for storage module configuration and initial bucket seeding.
1452
+ * Only used when has_storage = true; ignored otherwise. NULL = use defaults.
1453
+ * Recognized keys (all optional):
1454
+ * - upload_url_expiry_seconds (integer) presigned PUT URL expiry override
1455
+ * - download_url_expiry_seconds (integer) presigned GET URL expiry override
1456
+ * - default_max_file_size (bigint) global max file size in bytes for this scope
1457
+ * - allowed_origins (text[]) default CORS origins for all buckets in this scope
1458
+ * - buckets (jsonb[]) array of initial bucket definitions to seed
1459
+ * Each bucket in the buckets array recognizes:
1460
+ * - name (text, required) bucket name e.g. 'documents'
1461
+ * - description (text) human-readable description
1462
+ * - is_public (boolean) whether files are publicly readable (default false)
1463
+ * - allowed_mime_types (text[]) whitelist of MIME types (null = any)
1464
+ * - max_file_size (bigint) max file size in bytes (null = use scope default)
1465
+ * - allowed_origins (text[]) per-bucket CORS override
1466
+ * Example:
1467
+ * storage_config := '{"buckets": [{"name": "documents", "is_public": false, "allowed_mime_types": ["application/pdf"]}]}'::jsonb
1468
+ */
1469
+ storageConfig?: Record<string, unknown> | null;
1459
1470
  /**
1460
1471
  * Escape hatch: when true, apply zero RLS policies to the entity table. Defaults to false.
1461
1472
  * Use this only when you want the entity table provisioned with zero policies (e.g. because you
@@ -1480,11 +1491,10 @@ export interface EntityTypeProvision {
1480
1491
  * - use_rls (boolean, default true)
1481
1492
  * - nodes (jsonb array of {"$type","data"} Data* module entries)
1482
1493
  * - fields (jsonb array of field objects: name,type,is_required,default,min,max,regexp,index)
1483
- * - grant_privileges (jsonb array of [privilege, columns] tuples)
1484
- * - grant_roles (jsonb array of role names; defaults to ["authenticated"])
1494
+ * - grants (jsonb array of grant objects; each with roles[] and privileges[])
1485
1495
  * - policies (jsonb array of policy objects; each with $type, privileges, data, name, role, permissive)
1486
- * The trigger fans policies[] into N secure_table_provision rows against the newly created entity table,
1487
- * with table-level setup (nodes/fields/grants) attached to the first row.
1496
+ * The trigger forwards all setup (nodes/fields/grants/policies) as a single secure_table_provision row
1497
+ * against the newly created entity table.
1488
1498
  * Example — override with two SELECT policies:
1489
1499
  * table_provision := jsonb_build_object(
1490
1500
  * 'policies', jsonb_build_array(
@@ -1520,18 +1530,56 @@ export interface EntityTypeProvision {
1520
1530
  * Populated by the trigger. Useful for verifying which modules were provisioned.
1521
1531
  */
1522
1532
  outInstalledModules?: string[] | null;
1523
- }
1524
- /** Config row for the webauthn_credentials_module, which provisions the per-user WebAuthn/passkey credentials table (public key, counter, transports, device type, backup state) mirroring crypto_addresses_module. The sibling webauthn_auth_module (RP config, sign-in/sign-up function names) lands later; Phase 11a is credentials only. */
1533
+ /** Output: the UUID of the storage_module row created for this entity type. Populated by the trigger when has_storage=true. */
1534
+ outStorageModuleId?: string | null;
1535
+ /** Output: the UUID of the generated buckets table (e.g. data_room_buckets). Populated by the trigger when has_storage=true. */
1536
+ outBucketsTableId?: string | null;
1537
+ /** Output: the UUID of the generated files table (e.g. data_room_files). Populated by the trigger when has_storage=true. */
1538
+ outFilesTableId?: string | null;
1539
+ }
1540
+ /** Config row for the webauthn_credentials_module, which provisions the per-user WebAuthn/passkey credentials table (public key, counter, transports, device type, backup state) mirroring crypto_addresses_module. The sibling webauthn_auth_module holds RP config and the registration/sign-in challenge state. */
1525
1541
  export interface WebauthnCredentialsModule {
1526
1542
  id: string;
1527
1543
  databaseId?: string | null;
1528
1544
  schemaId?: string | null;
1529
- /** Reserved for future SECURITY DEFINER helpers on webauthn_credentials; unused in Phase 11a. */
1545
+ /** Private schema that hosts SECURITY DEFINER helpers which write to webauthn_credentials (registration / counter-bump / delete). */
1530
1546
  privateSchemaId?: string | null;
1531
1547
  tableId?: string | null;
1532
1548
  ownerTableId?: string | null;
1533
1549
  tableName?: string | null;
1534
1550
  }
1551
+ export interface WebauthnAuthModule {
1552
+ id: string;
1553
+ databaseId?: string | null;
1554
+ schemaId?: string | null;
1555
+ usersTableId?: string | null;
1556
+ credentialsTableId?: string | null;
1557
+ sessionsTableId?: string | null;
1558
+ sessionCredentialsTableId?: string | null;
1559
+ sessionSecretsTableId?: string | null;
1560
+ authSettingsTableId?: string | null;
1561
+ rpId?: string | null;
1562
+ rpName?: string | null;
1563
+ originAllowlist?: string[] | null;
1564
+ attestationType?: string | null;
1565
+ requireUserVerification?: boolean | null;
1566
+ residentKey?: string | null;
1567
+ challengeExpiry?: string | null;
1568
+ }
1569
+ export interface NotificationsModule {
1570
+ id: string;
1571
+ databaseId?: string | null;
1572
+ schemaId?: string | null;
1573
+ privateSchemaId?: string | null;
1574
+ notificationsTableId?: string | null;
1575
+ eventsTableId?: string | null;
1576
+ preferencesTableId?: string | null;
1577
+ channelsTableId?: string | null;
1578
+ deliveryLogTableId?: string | null;
1579
+ ownerTableId?: string | null;
1580
+ userSettingsTableId?: string | null;
1581
+ organizationSettingsTableId?: string | null;
1582
+ }
1535
1583
  /** Tracks database provisioning requests and their status. The BEFORE INSERT trigger creates the database and sets database_id before RLS policies are evaluated. */
1536
1584
  export interface DatabaseProvisionModule {
1537
1585
  id: string;
@@ -1814,6 +1862,8 @@ export interface Email {
1814
1862
  isVerified?: boolean | null;
1815
1863
  /** Whether this is the user's primary email address */
1816
1864
  isPrimary?: boolean | null;
1865
+ /** Optional user-provided label for this email (e.g. "Work", "Personal"). */
1866
+ name?: string | null;
1817
1867
  createdAt?: string | null;
1818
1868
  updatedAt?: string | null;
1819
1869
  }
@@ -1829,6 +1879,8 @@ export interface PhoneNumber {
1829
1879
  isVerified?: boolean | null;
1830
1880
  /** Whether this is the user's primary phone number */
1831
1881
  isPrimary?: boolean | null;
1882
+ /** Optional user-provided label for this phone number (e.g. "Mobile", "Work"). */
1883
+ name?: string | null;
1832
1884
  createdAt?: string | null;
1833
1885
  updatedAt?: string | null;
1834
1886
  }
@@ -1842,6 +1894,35 @@ export interface CryptoAddress {
1842
1894
  isVerified?: boolean | null;
1843
1895
  /** Whether this is the user's primary cryptocurrency address */
1844
1896
  isPrimary?: boolean | null;
1897
+ /** Optional user-provided label for this address (e.g. "Main wallet", "Hardware wallet"). */
1898
+ name?: string | null;
1899
+ createdAt?: string | null;
1900
+ updatedAt?: string | null;
1901
+ }
1902
+ /** WebAuthn/passkey credentials owned by users. One row per registered authenticator (security key, device biometric, synced passkey). Schema mirrors SimpleWebAuthn's canonical Passkey object. */
1903
+ export interface WebauthnCredential {
1904
+ id: string;
1905
+ ownerId?: string | null;
1906
+ /** Base64url-encoded credential ID returned by the authenticator. Globally unique per WebAuthn spec. */
1907
+ credentialId?: string | null;
1908
+ /** COSE-encoded public key bytes from the authenticator attestation. */
1909
+ publicKey?: Base64EncodedBinary | null;
1910
+ /** Monotonic signature counter. Strict-increase check during sign-in detects cloned credentials. 0 means the authenticator does not implement a counter. */
1911
+ signCount?: string | null;
1912
+ /** Random per-user handle sent to authenticators as user.id. Privacy-preserving; NOT the internal user UUID. */
1913
+ webauthnUserId?: string | null;
1914
+ /** Authenticator transport hints (e.g. usb, nfc, ble, internal, hybrid). Used to hint browser UI during sign-in. */
1915
+ transports?: string[] | null;
1916
+ /** Either 'singleDevice' (hardware-bound) or 'multiDevice' (synced passkey). Enforced by CHECK constraint below. */
1917
+ credentialDeviceType?: string | null;
1918
+ /** Whether this credential is eligible for backup (syncing) per the authenticator's flags at registration. */
1919
+ backupEligible?: boolean | null;
1920
+ /** Current backup state; updated on each successful sign-in assertion. */
1921
+ backupState?: boolean | null;
1922
+ /** User-provided label for this credential (e.g. "YubiKey 5C", "iPhone 15"). Renamed via rename_passkey. */
1923
+ name?: string | null;
1924
+ /** Timestamp of the most recent successful sign-in assertion using this credential. */
1925
+ lastUsedAt?: string | null;
1845
1926
  createdAt?: string | null;
1846
1927
  updatedAt?: string | null;
1847
1928
  }
@@ -1945,6 +2026,13 @@ export interface AppPermissionDefault {
1945
2026
  /** Default permission bitmask applied to new members */
1946
2027
  permissions?: string | null;
1947
2028
  }
2029
+ export interface IdentityProvider {
2030
+ slug?: string | null;
2031
+ kind?: string | null;
2032
+ displayName?: string | null;
2033
+ enabled?: boolean | null;
2034
+ isBuiltIn?: boolean | null;
2035
+ }
1948
2036
  /** A ref is a data structure for pointing to a commit. */
1949
2037
  export interface Ref {
1950
2038
  /** The primary unique identifier for the ref. */
@@ -2023,6 +2111,18 @@ export interface AppMembershipDefault {
2023
2111
  /** Whether new members are automatically verified upon joining */
2024
2112
  isVerified?: boolean | null;
2025
2113
  }
2114
+ /** Default membership settings per entity, controlling initial approval and verification state for new members */
2115
+ export interface OrgMembershipDefault {
2116
+ id: string;
2117
+ createdAt?: string | null;
2118
+ updatedAt?: string | null;
2119
+ createdBy?: string | null;
2120
+ updatedBy?: string | null;
2121
+ /** Whether new members are automatically approved upon joining */
2122
+ isApproved?: boolean | null;
2123
+ /** References the entity these membership defaults apply to */
2124
+ entityId?: string | null;
2125
+ }
2026
2126
  /** A commit records changes to the repository. */
2027
2127
  export interface Commit {
2028
2128
  /** The primary unique identifier for the commit. */
@@ -2068,22 +2168,6 @@ export interface MembershipType {
2068
2168
  /** When true, entities of this membership type get a one-to-one ID in the users table and a corresponding role_type entry, enabling them to own resources via owner_id FKs */
2069
2169
  hasUsersTableEntry?: boolean | null;
2070
2170
  }
2071
- /** Default membership settings per entity, controlling initial approval and verification state for new members */
2072
- export interface OrgMembershipDefault {
2073
- id: string;
2074
- createdAt?: string | null;
2075
- updatedAt?: string | null;
2076
- createdBy?: string | null;
2077
- updatedBy?: string | null;
2078
- /** Whether new members are automatically approved upon joining */
2079
- isApproved?: boolean | null;
2080
- /** References the entity these membership defaults apply to */
2081
- entityId?: string | null;
2082
- /** When an org member is deleted, whether to cascade-remove their group memberships */
2083
- deleteMemberCascadeGroups?: boolean | null;
2084
- /** When a group is created, whether to auto-add existing org members as group members */
2085
- createGroupsCascadeMembers?: boolean | null;
2086
- }
2087
2171
  export interface RlsModule {
2088
2172
  id: string;
2089
2173
  databaseId?: string | null;
@@ -2112,6 +2196,28 @@ export interface SqlAction {
2112
2196
  actionId?: string | null;
2113
2197
  actorId?: string | null;
2114
2198
  }
2199
+ /** Per-entity settings for the memberships module */
2200
+ export interface OrgMembershipSetting {
2201
+ id: string;
2202
+ createdAt?: string | null;
2203
+ updatedAt?: string | null;
2204
+ createdBy?: string | null;
2205
+ updatedBy?: string | null;
2206
+ /** References the entity these settings apply to */
2207
+ entityId?: string | null;
2208
+ /** When a member is deleted, whether to cascade-remove their descendant-entity memberships */
2209
+ deleteMemberCascadeChildren?: boolean | null;
2210
+ /** When a child entity is created, whether to auto-add existing org-level owners as child-entity owners */
2211
+ createChildCascadeOwners?: boolean | null;
2212
+ /** When a child entity is created, whether to auto-add existing org-level admins as child-entity admins */
2213
+ createChildCascadeAdmins?: boolean | null;
2214
+ /** When a child entity is created, whether to auto-add existing org-level members (non-admin, non-owner) as child-entity members */
2215
+ createChildCascadeMembers?: boolean | null;
2216
+ /** Whether descendants of this org may admit members who are not already org members (outside-collaborators toggle) */
2217
+ allowExternalMembers?: boolean | null;
2218
+ /** Whether member_profiles.email is snapshot on join and kept synced with the user's primary email. When FALSE, the email field is left blank and never synced from the user's primary email. */
2219
+ populateMemberEmail?: boolean | null;
2220
+ }
2115
2221
  export interface User {
2116
2222
  id: string;
2117
2223
  username?: string | null;
@@ -2285,6 +2391,9 @@ export interface DatabaseRelations {
2285
2391
  entityTypeProvisions?: ConnectionResult<EntityTypeProvision>;
2286
2392
  sessionSecretsModules?: ConnectionResult<SessionSecretsModule>;
2287
2393
  webauthnCredentialsModules?: ConnectionResult<WebauthnCredentialsModule>;
2394
+ webauthnAuthModules?: ConnectionResult<WebauthnAuthModule>;
2395
+ identityProvidersModules?: ConnectionResult<IdentityProvidersModule>;
2396
+ notificationsModules?: ConnectionResult<NotificationsModule>;
2288
2397
  databaseProvisionModules?: ConnectionResult<DatabaseProvisionModule>;
2289
2398
  }
2290
2399
  export interface SchemaRelations {
@@ -2296,6 +2405,8 @@ export interface SchemaRelations {
2296
2405
  enums?: ConnectionResult<Enum>;
2297
2406
  apiSchemas?: ConnectionResult<ApiSchema>;
2298
2407
  sessionSecretsModules?: ConnectionResult<SessionSecretsModule>;
2408
+ identityProvidersModulesByPrivateSchemaId?: ConnectionResult<IdentityProvidersModule>;
2409
+ identityProvidersModules?: ConnectionResult<IdentityProvidersModule>;
2299
2410
  }
2300
2411
  export interface TableRelations {
2301
2412
  database?: Database | null;
@@ -2322,6 +2433,7 @@ export interface TableRelations {
2322
2433
  relationProvisionsByTargetTableId?: ConnectionResult<RelationProvision>;
2323
2434
  sessionSecretsModulesBySessionsTableId?: ConnectionResult<SessionSecretsModule>;
2324
2435
  sessionSecretsModules?: ConnectionResult<SessionSecretsModule>;
2436
+ identityProvidersModules?: ConnectionResult<IdentityProvidersModule>;
2325
2437
  }
2326
2438
  export interface CheckConstraintRelations {
2327
2439
  database?: Database | null;
@@ -2416,6 +2528,12 @@ export interface SessionSecretsModuleRelations {
2416
2528
  sessionsTable?: Table | null;
2417
2529
  table?: Table | null;
2418
2530
  }
2531
+ export interface IdentityProvidersModuleRelations {
2532
+ database?: Database | null;
2533
+ privateSchema?: Schema | null;
2534
+ schema?: Schema | null;
2535
+ table?: Table | null;
2536
+ }
2419
2537
  export interface SchemaGrantRelations {
2420
2538
  database?: Database | null;
2421
2539
  schema?: Schema | null;
@@ -2568,6 +2686,7 @@ export interface MembershipsModuleRelations {
2568
2686
  limitsTable?: Table | null;
2569
2687
  membersTable?: Table | null;
2570
2688
  membershipDefaultsTable?: Table | null;
2689
+ membershipSettingsTable?: Table | null;
2571
2690
  membershipsTable?: Table | null;
2572
2691
  permissionsTable?: Table | null;
2573
2692
  privateSchema?: Schema | null;
@@ -2665,6 +2784,29 @@ export interface WebauthnCredentialsModuleRelations {
2665
2784
  schema?: Schema | null;
2666
2785
  table?: Table | null;
2667
2786
  }
2787
+ export interface WebauthnAuthModuleRelations {
2788
+ authSettingsTable?: Table | null;
2789
+ credentialsTable?: Table | null;
2790
+ database?: Database | null;
2791
+ schema?: Schema | null;
2792
+ sessionCredentialsTable?: Table | null;
2793
+ sessionSecretsTable?: Table | null;
2794
+ sessionsTable?: Table | null;
2795
+ usersTable?: Table | null;
2796
+ }
2797
+ export interface NotificationsModuleRelations {
2798
+ channelsTableByChannelsTableId?: Table | null;
2799
+ database?: Database | null;
2800
+ deliveryLogTableByDeliveryLogTableId?: Table | null;
2801
+ eventsTableByEventsTableId?: Table | null;
2802
+ notificationsTableByNotificationsTableId?: Table | null;
2803
+ organizationSettingsTableByOrganizationSettingsTableId?: Table | null;
2804
+ ownerTable?: Table | null;
2805
+ preferencesTableByPreferencesTableId?: Table | null;
2806
+ privateSchema?: Schema | null;
2807
+ schema?: Schema | null;
2808
+ userSettingsTableByUserSettingsTableId?: Table | null;
2809
+ }
2668
2810
  export interface DatabaseProvisionModuleRelations {
2669
2811
  database?: Database | null;
2670
2812
  }
@@ -2748,6 +2890,9 @@ export interface PhoneNumberRelations {
2748
2890
  export interface CryptoAddressRelations {
2749
2891
  owner?: User | null;
2750
2892
  }
2893
+ export interface WebauthnCredentialRelations {
2894
+ owner?: User | null;
2895
+ }
2751
2896
  export interface AppInviteRelations {
2752
2897
  sender?: User | null;
2753
2898
  }
@@ -2770,6 +2915,8 @@ export interface AuditLogRelations {
2770
2915
  }
2771
2916
  export interface AppPermissionDefaultRelations {
2772
2917
  }
2918
+ export interface IdentityProviderRelations {
2919
+ }
2773
2920
  export interface RefRelations {
2774
2921
  }
2775
2922
  export interface StoreRelations {
@@ -2792,6 +2939,9 @@ export interface UserConnectedAccountRelations {
2792
2939
  }
2793
2940
  export interface AppMembershipDefaultRelations {
2794
2941
  }
2942
+ export interface OrgMembershipDefaultRelations {
2943
+ entity?: User | null;
2944
+ }
2795
2945
  export interface CommitRelations {
2796
2946
  }
2797
2947
  export interface RateLimitsModuleRelations {
@@ -2803,9 +2953,6 @@ export interface RateLimitsModuleRelations {
2803
2953
  }
2804
2954
  export interface MembershipTypeRelations {
2805
2955
  }
2806
- export interface OrgMembershipDefaultRelations {
2807
- entity?: User | null;
2808
- }
2809
2956
  export interface RlsModuleRelations {
2810
2957
  database?: Database | null;
2811
2958
  privateSchema?: Schema | null;
@@ -2816,10 +2963,14 @@ export interface RlsModuleRelations {
2816
2963
  }
2817
2964
  export interface SqlActionRelations {
2818
2965
  }
2966
+ export interface OrgMembershipSettingRelations {
2967
+ entity?: User | null;
2968
+ }
2819
2969
  export interface UserRelations {
2820
2970
  roleType?: RoleType | null;
2821
2971
  appMembershipByActorId?: AppMembership | null;
2822
2972
  orgMembershipDefaultByEntityId?: OrgMembershipDefault | null;
2973
+ orgMembershipSettingByEntityId?: OrgMembershipSetting | null;
2823
2974
  ownedDatabases?: ConnectionResult<Database>;
2824
2975
  appAdminGrantsByActorId?: ConnectionResult<AppAdminGrant>;
2825
2976
  appAdminGrantsByGrantorId?: ConnectionResult<AppAdminGrant>;
@@ -2859,6 +3010,7 @@ export interface UserRelations {
2859
3010
  ownedEmails?: ConnectionResult<Email>;
2860
3011
  ownedPhoneNumbers?: ConnectionResult<PhoneNumber>;
2861
3012
  ownedCryptoAddresses?: ConnectionResult<CryptoAddress>;
3013
+ ownedWebauthnCredentials?: ConnectionResult<WebauthnCredential>;
2862
3014
  appInvitesBySenderId?: ConnectionResult<AppInvite>;
2863
3015
  appClaimedInvitesByReceiverId?: ConnectionResult<AppClaimedInvite>;
2864
3016
  appClaimedInvitesBySenderId?: ConnectionResult<AppClaimedInvite>;
@@ -2914,6 +3066,7 @@ export type EmbeddingChunkWithRelations = EmbeddingChunk & EmbeddingChunkRelatio
2914
3066
  export type SecureTableProvisionWithRelations = SecureTableProvision & SecureTableProvisionRelations;
2915
3067
  export type RelationProvisionWithRelations = RelationProvision & RelationProvisionRelations;
2916
3068
  export type SessionSecretsModuleWithRelations = SessionSecretsModule & SessionSecretsModuleRelations;
3069
+ export type IdentityProvidersModuleWithRelations = IdentityProvidersModule & IdentityProvidersModuleRelations;
2917
3070
  export type SchemaGrantWithRelations = SchemaGrant & SchemaGrantRelations;
2918
3071
  export type DefaultPrivilegeWithRelations = DefaultPrivilege & DefaultPrivilegeRelations;
2919
3072
  export type EnumWithRelations = Enum & EnumRelations;
@@ -2953,6 +3106,8 @@ export type BlueprintConstructionWithRelations = BlueprintConstruction & Bluepri
2953
3106
  export type StorageModuleWithRelations = StorageModule & StorageModuleRelations;
2954
3107
  export type EntityTypeProvisionWithRelations = EntityTypeProvision & EntityTypeProvisionRelations;
2955
3108
  export type WebauthnCredentialsModuleWithRelations = WebauthnCredentialsModule & WebauthnCredentialsModuleRelations;
3109
+ export type WebauthnAuthModuleWithRelations = WebauthnAuthModule & WebauthnAuthModuleRelations;
3110
+ export type NotificationsModuleWithRelations = NotificationsModule & NotificationsModuleRelations;
2956
3111
  export type DatabaseProvisionModuleWithRelations = DatabaseProvisionModule & DatabaseProvisionModuleRelations;
2957
3112
  export type AppAdminGrantWithRelations = AppAdminGrant & AppAdminGrantRelations;
2958
3113
  export type AppOwnerGrantWithRelations = AppOwnerGrant & AppOwnerGrantRelations;
@@ -2974,12 +3129,14 @@ export type AppLevelWithRelations = AppLevel & AppLevelRelations;
2974
3129
  export type EmailWithRelations = Email & EmailRelations;
2975
3130
  export type PhoneNumberWithRelations = PhoneNumber & PhoneNumberRelations;
2976
3131
  export type CryptoAddressWithRelations = CryptoAddress & CryptoAddressRelations;
3132
+ export type WebauthnCredentialWithRelations = WebauthnCredential & WebauthnCredentialRelations;
2977
3133
  export type AppInviteWithRelations = AppInvite & AppInviteRelations;
2978
3134
  export type AppClaimedInviteWithRelations = AppClaimedInvite & AppClaimedInviteRelations;
2979
3135
  export type OrgInviteWithRelations = OrgInvite & OrgInviteRelations;
2980
3136
  export type OrgClaimedInviteWithRelations = OrgClaimedInvite & OrgClaimedInviteRelations;
2981
3137
  export type AuditLogWithRelations = AuditLog & AuditLogRelations;
2982
3138
  export type AppPermissionDefaultWithRelations = AppPermissionDefault & AppPermissionDefaultRelations;
3139
+ export type IdentityProviderWithRelations = IdentityProvider & IdentityProviderRelations;
2983
3140
  export type RefWithRelations = Ref & RefRelations;
2984
3141
  export type StoreWithRelations = Store & StoreRelations;
2985
3142
  export type RoleTypeWithRelations = RoleType & RoleTypeRelations;
@@ -2989,12 +3146,13 @@ export type OrgLimitDefaultWithRelations = OrgLimitDefault & OrgLimitDefaultRela
2989
3146
  export type DevicesModuleWithRelations = DevicesModule & DevicesModuleRelations;
2990
3147
  export type UserConnectedAccountWithRelations = UserConnectedAccount & UserConnectedAccountRelations;
2991
3148
  export type AppMembershipDefaultWithRelations = AppMembershipDefault & AppMembershipDefaultRelations;
3149
+ export type OrgMembershipDefaultWithRelations = OrgMembershipDefault & OrgMembershipDefaultRelations;
2992
3150
  export type CommitWithRelations = Commit & CommitRelations;
2993
3151
  export type RateLimitsModuleWithRelations = RateLimitsModule & RateLimitsModuleRelations;
2994
3152
  export type MembershipTypeWithRelations = MembershipType & MembershipTypeRelations;
2995
- export type OrgMembershipDefaultWithRelations = OrgMembershipDefault & OrgMembershipDefaultRelations;
2996
3153
  export type RlsModuleWithRelations = RlsModule & RlsModuleRelations;
2997
3154
  export type SqlActionWithRelations = SqlAction & SqlActionRelations;
3155
+ export type OrgMembershipSettingWithRelations = OrgMembershipSetting & OrgMembershipSettingRelations;
2998
3156
  export type UserWithRelations = User & UserRelations;
2999
3157
  export type AstMigrationWithRelations = AstMigration & AstMigrationRelations;
3000
3158
  export type AppMembershipWithRelations = AppMembership & AppMembershipRelations;
@@ -3417,6 +3575,24 @@ export type DatabaseSelect = {
3417
3575
  filter?: WebauthnCredentialsModuleFilter;
3418
3576
  orderBy?: WebauthnCredentialsModuleOrderBy[];
3419
3577
  };
3578
+ webauthnAuthModules?: {
3579
+ select: WebauthnAuthModuleSelect;
3580
+ first?: number;
3581
+ filter?: WebauthnAuthModuleFilter;
3582
+ orderBy?: WebauthnAuthModuleOrderBy[];
3583
+ };
3584
+ identityProvidersModules?: {
3585
+ select: IdentityProvidersModuleSelect;
3586
+ first?: number;
3587
+ filter?: IdentityProvidersModuleFilter;
3588
+ orderBy?: IdentityProvidersModuleOrderBy[];
3589
+ };
3590
+ notificationsModules?: {
3591
+ select: NotificationsModuleSelect;
3592
+ first?: number;
3593
+ filter?: NotificationsModuleFilter;
3594
+ orderBy?: NotificationsModuleOrderBy[];
3595
+ };
3420
3596
  databaseProvisionModules?: {
3421
3597
  select: DatabaseProvisionModuleSelect;
3422
3598
  first?: number;
@@ -3484,6 +3660,18 @@ export type SchemaSelect = {
3484
3660
  filter?: SessionSecretsModuleFilter;
3485
3661
  orderBy?: SessionSecretsModuleOrderBy[];
3486
3662
  };
3663
+ identityProvidersModulesByPrivateSchemaId?: {
3664
+ select: IdentityProvidersModuleSelect;
3665
+ first?: number;
3666
+ filter?: IdentityProvidersModuleFilter;
3667
+ orderBy?: IdentityProvidersModuleOrderBy[];
3668
+ };
3669
+ identityProvidersModules?: {
3670
+ select: IdentityProvidersModuleSelect;
3671
+ first?: number;
3672
+ filter?: IdentityProvidersModuleFilter;
3673
+ orderBy?: IdentityProvidersModuleOrderBy[];
3674
+ };
3487
3675
  };
3488
3676
  export type TableSelect = {
3489
3677
  id?: boolean;
@@ -3640,6 +3828,12 @@ export type TableSelect = {
3640
3828
  filter?: SessionSecretsModuleFilter;
3641
3829
  orderBy?: SessionSecretsModuleOrderBy[];
3642
3830
  };
3831
+ identityProvidersModules?: {
3832
+ select: IdentityProvidersModuleSelect;
3833
+ first?: number;
3834
+ filter?: IdentityProvidersModuleFilter;
3835
+ orderBy?: IdentityProvidersModuleOrderBy[];
3836
+ };
3643
3837
  };
3644
3838
  export type CheckConstraintSelect = {
3645
3839
  id?: boolean;
@@ -4048,14 +4242,8 @@ export type SecureTableProvisionSelect = {
4048
4242
  nodes?: boolean;
4049
4243
  useRls?: boolean;
4050
4244
  fields?: boolean;
4051
- grantRoles?: boolean;
4052
- grantPrivileges?: boolean;
4053
- policyType?: boolean;
4054
- policyPrivileges?: boolean;
4055
- policyRole?: boolean;
4056
- policyPermissive?: boolean;
4057
- policyName?: boolean;
4058
- policyData?: boolean;
4245
+ grants?: boolean;
4246
+ policies?: boolean;
4059
4247
  outFields?: boolean;
4060
4248
  database?: {
4061
4249
  select: DatabaseSelect;
@@ -4086,14 +4274,8 @@ export type RelationProvisionSelect = {
4086
4274
  createIndex?: boolean;
4087
4275
  exposeInApi?: boolean;
4088
4276
  nodes?: boolean;
4089
- grantRoles?: boolean;
4090
- grantPrivileges?: boolean;
4091
- policyType?: boolean;
4092
- policyPrivileges?: boolean;
4093
- policyRole?: boolean;
4094
- policyPermissive?: boolean;
4095
- policyName?: boolean;
4096
- policyData?: boolean;
4277
+ grants?: boolean;
4278
+ policies?: boolean;
4097
4279
  outFieldId?: boolean;
4098
4280
  outJunctionTableId?: boolean;
4099
4281
  outSourceFieldId?: boolean;
@@ -4128,6 +4310,26 @@ export type SessionSecretsModuleSelect = {
4128
4310
  select: TableSelect;
4129
4311
  };
4130
4312
  };
4313
+ export type IdentityProvidersModuleSelect = {
4314
+ id?: boolean;
4315
+ databaseId?: boolean;
4316
+ schemaId?: boolean;
4317
+ privateSchemaId?: boolean;
4318
+ tableId?: boolean;
4319
+ tableName?: boolean;
4320
+ database?: {
4321
+ select: DatabaseSelect;
4322
+ };
4323
+ privateSchema?: {
4324
+ select: SchemaSelect;
4325
+ };
4326
+ schema?: {
4327
+ select: SchemaSelect;
4328
+ };
4329
+ table?: {
4330
+ select: TableSelect;
4331
+ };
4332
+ };
4131
4333
  export type SchemaGrantSelect = {
4132
4334
  id?: boolean;
4133
4335
  databaseId?: boolean;
@@ -4701,6 +4903,8 @@ export type MembershipsModuleSelect = {
4701
4903
  membersTableName?: boolean;
4702
4904
  membershipDefaultsTableId?: boolean;
4703
4905
  membershipDefaultsTableName?: boolean;
4906
+ membershipSettingsTableId?: boolean;
4907
+ membershipSettingsTableName?: boolean;
4704
4908
  grantsTableId?: boolean;
4705
4909
  grantsTableName?: boolean;
4706
4910
  actorTableId?: boolean;
@@ -4753,6 +4957,9 @@ export type MembershipsModuleSelect = {
4753
4957
  membershipDefaultsTable?: {
4754
4958
  select: TableSelect;
4755
4959
  };
4960
+ membershipSettingsTable?: {
4961
+ select: TableSelect;
4962
+ };
4756
4963
  membershipsTable?: {
4757
4964
  select: TableSelect;
4758
4965
  };
@@ -5099,6 +5306,8 @@ export type StorageModuleSelect = {
5099
5306
  bucketsTableName?: boolean;
5100
5307
  filesTableName?: boolean;
5101
5308
  uploadRequestsTableName?: boolean;
5309
+ membershipType?: boolean;
5310
+ policies?: boolean;
5102
5311
  entityTableId?: boolean;
5103
5312
  endpoint?: boolean;
5104
5313
  publicUrlPrefix?: boolean;
@@ -5143,12 +5352,17 @@ export type EntityTypeProvisionSelect = {
5143
5352
  hasLimits?: boolean;
5144
5353
  hasProfiles?: boolean;
5145
5354
  hasLevels?: boolean;
5355
+ hasStorage?: boolean;
5356
+ storageConfig?: boolean;
5146
5357
  skipEntityPolicies?: boolean;
5147
5358
  tableProvision?: boolean;
5148
5359
  outMembershipType?: boolean;
5149
5360
  outEntityTableId?: boolean;
5150
5361
  outEntityTableName?: boolean;
5151
5362
  outInstalledModules?: boolean;
5363
+ outStorageModuleId?: boolean;
5364
+ outBucketsTableId?: boolean;
5365
+ outFilesTableId?: boolean;
5152
5366
  database?: {
5153
5367
  select: DatabaseSelect;
5154
5368
  };
@@ -5177,6 +5391,95 @@ export type WebauthnCredentialsModuleSelect = {
5177
5391
  select: TableSelect;
5178
5392
  };
5179
5393
  };
5394
+ export type WebauthnAuthModuleSelect = {
5395
+ id?: boolean;
5396
+ databaseId?: boolean;
5397
+ schemaId?: boolean;
5398
+ usersTableId?: boolean;
5399
+ credentialsTableId?: boolean;
5400
+ sessionsTableId?: boolean;
5401
+ sessionCredentialsTableId?: boolean;
5402
+ sessionSecretsTableId?: boolean;
5403
+ authSettingsTableId?: boolean;
5404
+ rpId?: boolean;
5405
+ rpName?: boolean;
5406
+ originAllowlist?: boolean;
5407
+ attestationType?: boolean;
5408
+ requireUserVerification?: boolean;
5409
+ residentKey?: boolean;
5410
+ challengeExpiry?: boolean;
5411
+ authSettingsTable?: {
5412
+ select: TableSelect;
5413
+ };
5414
+ credentialsTable?: {
5415
+ select: TableSelect;
5416
+ };
5417
+ database?: {
5418
+ select: DatabaseSelect;
5419
+ };
5420
+ schema?: {
5421
+ select: SchemaSelect;
5422
+ };
5423
+ sessionCredentialsTable?: {
5424
+ select: TableSelect;
5425
+ };
5426
+ sessionSecretsTable?: {
5427
+ select: TableSelect;
5428
+ };
5429
+ sessionsTable?: {
5430
+ select: TableSelect;
5431
+ };
5432
+ usersTable?: {
5433
+ select: TableSelect;
5434
+ };
5435
+ };
5436
+ export type NotificationsModuleSelect = {
5437
+ id?: boolean;
5438
+ databaseId?: boolean;
5439
+ schemaId?: boolean;
5440
+ privateSchemaId?: boolean;
5441
+ notificationsTableId?: boolean;
5442
+ eventsTableId?: boolean;
5443
+ preferencesTableId?: boolean;
5444
+ channelsTableId?: boolean;
5445
+ deliveryLogTableId?: boolean;
5446
+ ownerTableId?: boolean;
5447
+ userSettingsTableId?: boolean;
5448
+ organizationSettingsTableId?: boolean;
5449
+ channelsTableByChannelsTableId?: {
5450
+ select: TableSelect;
5451
+ };
5452
+ database?: {
5453
+ select: DatabaseSelect;
5454
+ };
5455
+ deliveryLogTableByDeliveryLogTableId?: {
5456
+ select: TableSelect;
5457
+ };
5458
+ eventsTableByEventsTableId?: {
5459
+ select: TableSelect;
5460
+ };
5461
+ notificationsTableByNotificationsTableId?: {
5462
+ select: TableSelect;
5463
+ };
5464
+ organizationSettingsTableByOrganizationSettingsTableId?: {
5465
+ select: TableSelect;
5466
+ };
5467
+ ownerTable?: {
5468
+ select: TableSelect;
5469
+ };
5470
+ preferencesTableByPreferencesTableId?: {
5471
+ select: TableSelect;
5472
+ };
5473
+ privateSchema?: {
5474
+ select: SchemaSelect;
5475
+ };
5476
+ schema?: {
5477
+ select: SchemaSelect;
5478
+ };
5479
+ userSettingsTableByUserSettingsTableId?: {
5480
+ select: TableSelect;
5481
+ };
5482
+ };
5180
5483
  export type DatabaseProvisionModuleSelect = {
5181
5484
  id?: boolean;
5182
5485
  databaseName?: boolean;
@@ -5471,6 +5774,7 @@ export type EmailSelect = {
5471
5774
  email?: boolean;
5472
5775
  isVerified?: boolean;
5473
5776
  isPrimary?: boolean;
5777
+ name?: boolean;
5474
5778
  createdAt?: boolean;
5475
5779
  updatedAt?: boolean;
5476
5780
  owner?: {
@@ -5484,6 +5788,7 @@ export type PhoneNumberSelect = {
5484
5788
  number?: boolean;
5485
5789
  isVerified?: boolean;
5486
5790
  isPrimary?: boolean;
5791
+ name?: boolean;
5487
5792
  createdAt?: boolean;
5488
5793
  updatedAt?: boolean;
5489
5794
  owner?: {
@@ -5496,6 +5801,26 @@ export type CryptoAddressSelect = {
5496
5801
  address?: boolean;
5497
5802
  isVerified?: boolean;
5498
5803
  isPrimary?: boolean;
5804
+ name?: boolean;
5805
+ createdAt?: boolean;
5806
+ updatedAt?: boolean;
5807
+ owner?: {
5808
+ select: UserSelect;
5809
+ };
5810
+ };
5811
+ export type WebauthnCredentialSelect = {
5812
+ id?: boolean;
5813
+ ownerId?: boolean;
5814
+ credentialId?: boolean;
5815
+ publicKey?: boolean;
5816
+ signCount?: boolean;
5817
+ webauthnUserId?: boolean;
5818
+ transports?: boolean;
5819
+ credentialDeviceType?: boolean;
5820
+ backupEligible?: boolean;
5821
+ backupState?: boolean;
5822
+ name?: boolean;
5823
+ lastUsedAt?: boolean;
5499
5824
  createdAt?: boolean;
5500
5825
  updatedAt?: boolean;
5501
5826
  owner?: {
@@ -5593,6 +5918,13 @@ export type AppPermissionDefaultSelect = {
5593
5918
  id?: boolean;
5594
5919
  permissions?: boolean;
5595
5920
  };
5921
+ export type IdentityProviderSelect = {
5922
+ slug?: boolean;
5923
+ kind?: boolean;
5924
+ displayName?: boolean;
5925
+ enabled?: boolean;
5926
+ isBuiltIn?: boolean;
5927
+ };
5596
5928
  export type RefSelect = {
5597
5929
  id?: boolean;
5598
5930
  name?: boolean;
@@ -5666,6 +5998,18 @@ export type AppMembershipDefaultSelect = {
5666
5998
  isApproved?: boolean;
5667
5999
  isVerified?: boolean;
5668
6000
  };
6001
+ export type OrgMembershipDefaultSelect = {
6002
+ id?: boolean;
6003
+ createdAt?: boolean;
6004
+ updatedAt?: boolean;
6005
+ createdBy?: boolean;
6006
+ updatedBy?: boolean;
6007
+ isApproved?: boolean;
6008
+ entityId?: boolean;
6009
+ entity?: {
6010
+ select: UserSelect;
6011
+ };
6012
+ };
5669
6013
  export type CommitSelect = {
5670
6014
  id?: boolean;
5671
6015
  message?: boolean;
@@ -5711,20 +6055,6 @@ export type MembershipTypeSelect = {
5711
6055
  parentMembershipType?: boolean;
5712
6056
  hasUsersTableEntry?: boolean;
5713
6057
  };
5714
- export type OrgMembershipDefaultSelect = {
5715
- id?: boolean;
5716
- createdAt?: boolean;
5717
- updatedAt?: boolean;
5718
- createdBy?: boolean;
5719
- updatedBy?: boolean;
5720
- isApproved?: boolean;
5721
- entityId?: boolean;
5722
- deleteMemberCascadeGroups?: boolean;
5723
- createGroupsCascadeMembers?: boolean;
5724
- entity?: {
5725
- select: UserSelect;
5726
- };
5727
- };
5728
6058
  export type RlsModuleSelect = {
5729
6059
  id?: boolean;
5730
6060
  databaseId?: boolean;
@@ -5771,6 +6101,23 @@ export type SqlActionSelect = {
5771
6101
  actionId?: boolean;
5772
6102
  actorId?: boolean;
5773
6103
  };
6104
+ export type OrgMembershipSettingSelect = {
6105
+ id?: boolean;
6106
+ createdAt?: boolean;
6107
+ updatedAt?: boolean;
6108
+ createdBy?: boolean;
6109
+ updatedBy?: boolean;
6110
+ entityId?: boolean;
6111
+ deleteMemberCascadeChildren?: boolean;
6112
+ createChildCascadeOwners?: boolean;
6113
+ createChildCascadeAdmins?: boolean;
6114
+ createChildCascadeMembers?: boolean;
6115
+ allowExternalMembers?: boolean;
6116
+ populateMemberEmail?: boolean;
6117
+ entity?: {
6118
+ select: UserSelect;
6119
+ };
6120
+ };
5774
6121
  export type UserSelect = {
5775
6122
  id?: boolean;
5776
6123
  username?: boolean;
@@ -5792,6 +6139,9 @@ export type UserSelect = {
5792
6139
  orgMembershipDefaultByEntityId?: {
5793
6140
  select: OrgMembershipDefaultSelect;
5794
6141
  };
6142
+ orgMembershipSettingByEntityId?: {
6143
+ select: OrgMembershipSettingSelect;
6144
+ };
5795
6145
  ownedDatabases?: {
5796
6146
  select: DatabaseSelect;
5797
6147
  first?: number;
@@ -6026,6 +6376,12 @@ export type UserSelect = {
6026
6376
  filter?: CryptoAddressFilter;
6027
6377
  orderBy?: CryptoAddressOrderBy[];
6028
6378
  };
6379
+ ownedWebauthnCredentials?: {
6380
+ select: WebauthnCredentialSelect;
6381
+ first?: number;
6382
+ filter?: WebauthnCredentialFilter;
6383
+ orderBy?: WebauthnCredentialOrderBy[];
6384
+ };
6029
6385
  appInvitesBySenderId?: {
6030
6386
  select: AppInviteSelect;
6031
6387
  first?: number;
@@ -6548,6 +6904,18 @@ export interface DatabaseFilter {
6548
6904
  webauthnCredentialsModules?: DatabaseToManyWebauthnCredentialsModuleFilter;
6549
6905
  /** `webauthnCredentialsModules` exist. */
6550
6906
  webauthnCredentialsModulesExist?: boolean;
6907
+ /** Filter by the object’s `webauthnAuthModules` relation. */
6908
+ webauthnAuthModules?: DatabaseToManyWebauthnAuthModuleFilter;
6909
+ /** `webauthnAuthModules` exist. */
6910
+ webauthnAuthModulesExist?: boolean;
6911
+ /** Filter by the object’s `identityProvidersModules` relation. */
6912
+ identityProvidersModules?: DatabaseToManyIdentityProvidersModuleFilter;
6913
+ /** `identityProvidersModules` exist. */
6914
+ identityProvidersModulesExist?: boolean;
6915
+ /** Filter by the object’s `notificationsModules` relation. */
6916
+ notificationsModules?: DatabaseToManyNotificationsModuleFilter;
6917
+ /** `notificationsModules` exist. */
6918
+ notificationsModulesExist?: boolean;
6551
6919
  /** Filter by the object’s `databaseProvisionModules` relation. */
6552
6920
  databaseProvisionModules?: DatabaseToManyDatabaseProvisionModuleFilter;
6553
6921
  /** `databaseProvisionModules` exist. */
@@ -6618,6 +6986,14 @@ export interface SchemaFilter {
6618
6986
  sessionSecretsModules?: SchemaToManySessionSecretsModuleFilter;
6619
6987
  /** `sessionSecretsModules` exist. */
6620
6988
  sessionSecretsModulesExist?: boolean;
6989
+ /** Filter by the object’s `identityProvidersModulesByPrivateSchemaId` relation. */
6990
+ identityProvidersModulesByPrivateSchemaId?: SchemaToManyIdentityProvidersModuleFilter;
6991
+ /** `identityProvidersModulesByPrivateSchemaId` exist. */
6992
+ identityProvidersModulesByPrivateSchemaIdExist?: boolean;
6993
+ /** Filter by the object’s `identityProvidersModules` relation. */
6994
+ identityProvidersModules?: SchemaToManyIdentityProvidersModuleFilter;
6995
+ /** `identityProvidersModules` exist. */
6996
+ identityProvidersModulesExist?: boolean;
6621
6997
  }
6622
6998
  export interface TableFilter {
6623
6999
  /** Filter by the object’s `id` field. */
@@ -6756,6 +7132,10 @@ export interface TableFilter {
6756
7132
  sessionSecretsModules?: TableToManySessionSecretsModuleFilter;
6757
7133
  /** `sessionSecretsModules` exist. */
6758
7134
  sessionSecretsModulesExist?: boolean;
7135
+ /** Filter by the object’s `identityProvidersModules` relation. */
7136
+ identityProvidersModules?: TableToManyIdentityProvidersModuleFilter;
7137
+ /** `identityProvidersModules` exist. */
7138
+ identityProvidersModulesExist?: boolean;
6759
7139
  }
6760
7140
  export interface CheckConstraintFilter {
6761
7141
  /** Filter by the object’s `id` field. */
@@ -7442,22 +7822,10 @@ export interface SecureTableProvisionFilter {
7442
7822
  useRls?: BooleanFilter;
7443
7823
  /** Filter by the object’s `fields` field. */
7444
7824
  fields?: JSONListFilter;
7445
- /** Filter by the object’s `grantRoles` field. */
7446
- grantRoles?: StringListFilter;
7447
- /** Filter by the object’s `grantPrivileges` field. */
7448
- grantPrivileges?: JSONListFilter;
7449
- /** Filter by the object’s `policyType` field. */
7450
- policyType?: StringFilter;
7451
- /** Filter by the object’s `policyPrivileges` field. */
7452
- policyPrivileges?: StringListFilter;
7453
- /** Filter by the object’s `policyRole` field. */
7454
- policyRole?: StringFilter;
7455
- /** Filter by the object’s `policyPermissive` field. */
7456
- policyPermissive?: BooleanFilter;
7457
- /** Filter by the object’s `policyName` field. */
7458
- policyName?: StringFilter;
7459
- /** Filter by the object’s `policyData` field. */
7460
- policyData?: JSONFilter;
7825
+ /** Filter by the object’s `grants` field. */
7826
+ grants?: JSONFilter;
7827
+ /** Filter by the object’s `policies` field. */
7828
+ policies?: JSONFilter;
7461
7829
  /** Filter by the object’s `outFields` field. */
7462
7830
  outFields?: UUIDListFilter;
7463
7831
  /** Checks for all expressions in this list. */
@@ -7510,22 +7878,10 @@ export interface RelationProvisionFilter {
7510
7878
  exposeInApi?: BooleanFilter;
7511
7879
  /** Filter by the object’s `nodes` field. */
7512
7880
  nodes?: JSONFilter;
7513
- /** Filter by the object’s `grantRoles` field. */
7514
- grantRoles?: StringListFilter;
7515
- /** Filter by the object’s `grantPrivileges` field. */
7516
- grantPrivileges?: JSONListFilter;
7517
- /** Filter by the object’s `policyType` field. */
7518
- policyType?: StringFilter;
7519
- /** Filter by the object’s `policyPrivileges` field. */
7520
- policyPrivileges?: StringListFilter;
7521
- /** Filter by the object’s `policyRole` field. */
7522
- policyRole?: StringFilter;
7523
- /** Filter by the object’s `policyPermissive` field. */
7524
- policyPermissive?: BooleanFilter;
7525
- /** Filter by the object’s `policyName` field. */
7526
- policyName?: StringFilter;
7527
- /** Filter by the object’s `policyData` field. */
7528
- policyData?: JSONFilter;
7881
+ /** Filter by the object’s `grants` field. */
7882
+ grants?: JSONFilter;
7883
+ /** Filter by the object’s `policies` field. */
7884
+ policies?: JSONFilter;
7529
7885
  /** Filter by the object’s `outFieldId` field. */
7530
7886
  outFieldId?: UUIDFilter;
7531
7887
  /** Filter by the object’s `outJunctionTableId` field. */
@@ -7575,6 +7931,34 @@ export interface SessionSecretsModuleFilter {
7575
7931
  /** Filter by the object’s `table` relation. */
7576
7932
  table?: TableFilter;
7577
7933
  }
7934
+ export interface IdentityProvidersModuleFilter {
7935
+ /** Filter by the object’s `id` field. */
7936
+ id?: UUIDFilter;
7937
+ /** Filter by the object’s `databaseId` field. */
7938
+ databaseId?: UUIDFilter;
7939
+ /** Filter by the object’s `schemaId` field. */
7940
+ schemaId?: UUIDFilter;
7941
+ /** Filter by the object’s `privateSchemaId` field. */
7942
+ privateSchemaId?: UUIDFilter;
7943
+ /** Filter by the object’s `tableId` field. */
7944
+ tableId?: UUIDFilter;
7945
+ /** Filter by the object’s `tableName` field. */
7946
+ tableName?: StringFilter;
7947
+ /** Checks for all expressions in this list. */
7948
+ and?: IdentityProvidersModuleFilter[];
7949
+ /** Checks for any expressions in this list. */
7950
+ or?: IdentityProvidersModuleFilter[];
7951
+ /** Negates the expression. */
7952
+ not?: IdentityProvidersModuleFilter;
7953
+ /** Filter by the object’s `database` relation. */
7954
+ database?: DatabaseFilter;
7955
+ /** Filter by the object’s `privateSchema` relation. */
7956
+ privateSchema?: SchemaFilter;
7957
+ /** Filter by the object’s `schema` relation. */
7958
+ schema?: SchemaFilter;
7959
+ /** Filter by the object’s `table` relation. */
7960
+ table?: TableFilter;
7961
+ }
7578
7962
  export interface SchemaGrantFilter {
7579
7963
  /** Filter by the object’s `id` field. */
7580
7964
  id?: UUIDFilter;
@@ -8436,6 +8820,10 @@ export interface MembershipsModuleFilter {
8436
8820
  membershipDefaultsTableId?: UUIDFilter;
8437
8821
  /** Filter by the object’s `membershipDefaultsTableName` field. */
8438
8822
  membershipDefaultsTableName?: StringFilter;
8823
+ /** Filter by the object’s `membershipSettingsTableId` field. */
8824
+ membershipSettingsTableId?: UUIDFilter;
8825
+ /** Filter by the object’s `membershipSettingsTableName` field. */
8826
+ membershipSettingsTableName?: StringFilter;
8439
8827
  /** Filter by the object’s `grantsTableId` field. */
8440
8828
  grantsTableId?: UUIDFilter;
8441
8829
  /** Filter by the object’s `grantsTableName` field. */
@@ -8510,6 +8898,10 @@ export interface MembershipsModuleFilter {
8510
8898
  membersTable?: TableFilter;
8511
8899
  /** Filter by the object’s `membershipDefaultsTable` relation. */
8512
8900
  membershipDefaultsTable?: TableFilter;
8901
+ /** Filter by the object’s `membershipSettingsTable` relation. */
8902
+ membershipSettingsTable?: TableFilter;
8903
+ /** A related `membershipSettingsTable` exists. */
8904
+ membershipSettingsTableExists?: boolean;
8513
8905
  /** Filter by the object’s `membershipsTable` relation. */
8514
8906
  membershipsTable?: TableFilter;
8515
8907
  /** Filter by the object’s `permissionsTable` relation. */
@@ -9008,6 +9400,10 @@ export interface StorageModuleFilter {
9008
9400
  filesTableName?: StringFilter;
9009
9401
  /** Filter by the object’s `uploadRequestsTableName` field. */
9010
9402
  uploadRequestsTableName?: StringFilter;
9403
+ /** Filter by the object’s `membershipType` field. */
9404
+ membershipType?: IntFilter;
9405
+ /** Filter by the object’s `policies` field. */
9406
+ policies?: StringListFilter;
9011
9407
  /** Filter by the object’s `entityTableId` field. */
9012
9408
  entityTableId?: UUIDFilter;
9013
9409
  /** Filter by the object’s `endpoint` field. */
@@ -9074,6 +9470,10 @@ export interface EntityTypeProvisionFilter {
9074
9470
  hasProfiles?: BooleanFilter;
9075
9471
  /** Filter by the object’s `hasLevels` field. */
9076
9472
  hasLevels?: BooleanFilter;
9473
+ /** Filter by the object’s `hasStorage` field. */
9474
+ hasStorage?: BooleanFilter;
9475
+ /** Filter by the object’s `storageConfig` field. */
9476
+ storageConfig?: JSONFilter;
9077
9477
  /** Filter by the object’s `skipEntityPolicies` field. */
9078
9478
  skipEntityPolicies?: BooleanFilter;
9079
9479
  /** Filter by the object’s `tableProvision` field. */
@@ -9086,6 +9486,12 @@ export interface EntityTypeProvisionFilter {
9086
9486
  outEntityTableName?: StringFilter;
9087
9487
  /** Filter by the object’s `outInstalledModules` field. */
9088
9488
  outInstalledModules?: StringListFilter;
9489
+ /** Filter by the object’s `outStorageModuleId` field. */
9490
+ outStorageModuleId?: UUIDFilter;
9491
+ /** Filter by the object’s `outBucketsTableId` field. */
9492
+ outBucketsTableId?: UUIDFilter;
9493
+ /** Filter by the object’s `outFilesTableId` field. */
9494
+ outFilesTableId?: UUIDFilter;
9089
9495
  /** Checks for all expressions in this list. */
9090
9496
  and?: EntityTypeProvisionFilter[];
9091
9497
  /** Checks for any expressions in this list. */
@@ -9127,6 +9533,120 @@ export interface WebauthnCredentialsModuleFilter {
9127
9533
  /** Filter by the object’s `table` relation. */
9128
9534
  table?: TableFilter;
9129
9535
  }
9536
+ export interface WebauthnAuthModuleFilter {
9537
+ /** Filter by the object’s `id` field. */
9538
+ id?: UUIDFilter;
9539
+ /** Filter by the object’s `databaseId` field. */
9540
+ databaseId?: UUIDFilter;
9541
+ /** Filter by the object’s `schemaId` field. */
9542
+ schemaId?: UUIDFilter;
9543
+ /** Filter by the object’s `usersTableId` field. */
9544
+ usersTableId?: UUIDFilter;
9545
+ /** Filter by the object’s `credentialsTableId` field. */
9546
+ credentialsTableId?: UUIDFilter;
9547
+ /** Filter by the object’s `sessionsTableId` field. */
9548
+ sessionsTableId?: UUIDFilter;
9549
+ /** Filter by the object’s `sessionCredentialsTableId` field. */
9550
+ sessionCredentialsTableId?: UUIDFilter;
9551
+ /** Filter by the object’s `sessionSecretsTableId` field. */
9552
+ sessionSecretsTableId?: UUIDFilter;
9553
+ /** Filter by the object’s `authSettingsTableId` field. */
9554
+ authSettingsTableId?: UUIDFilter;
9555
+ /** Filter by the object’s `rpId` field. */
9556
+ rpId?: StringFilter;
9557
+ /** Filter by the object’s `rpName` field. */
9558
+ rpName?: StringFilter;
9559
+ /** Filter by the object’s `originAllowlist` field. */
9560
+ originAllowlist?: StringListFilter;
9561
+ /** Filter by the object’s `attestationType` field. */
9562
+ attestationType?: StringFilter;
9563
+ /** Filter by the object’s `requireUserVerification` field. */
9564
+ requireUserVerification?: BooleanFilter;
9565
+ /** Filter by the object’s `residentKey` field. */
9566
+ residentKey?: StringFilter;
9567
+ /** Filter by the object’s `challengeExpiry` field. */
9568
+ challengeExpiry?: IntervalFilter;
9569
+ /** Checks for all expressions in this list. */
9570
+ and?: WebauthnAuthModuleFilter[];
9571
+ /** Checks for any expressions in this list. */
9572
+ or?: WebauthnAuthModuleFilter[];
9573
+ /** Negates the expression. */
9574
+ not?: WebauthnAuthModuleFilter;
9575
+ /** Filter by the object’s `authSettingsTable` relation. */
9576
+ authSettingsTable?: TableFilter;
9577
+ /** Filter by the object’s `credentialsTable` relation. */
9578
+ credentialsTable?: TableFilter;
9579
+ /** Filter by the object’s `database` relation. */
9580
+ database?: DatabaseFilter;
9581
+ /** Filter by the object’s `schema` relation. */
9582
+ schema?: SchemaFilter;
9583
+ /** Filter by the object’s `sessionCredentialsTable` relation. */
9584
+ sessionCredentialsTable?: TableFilter;
9585
+ /** Filter by the object’s `sessionSecretsTable` relation. */
9586
+ sessionSecretsTable?: TableFilter;
9587
+ /** Filter by the object’s `sessionsTable` relation. */
9588
+ sessionsTable?: TableFilter;
9589
+ /** Filter by the object’s `usersTable` relation. */
9590
+ usersTable?: TableFilter;
9591
+ }
9592
+ export interface NotificationsModuleFilter {
9593
+ /** Filter by the object’s `id` field. */
9594
+ id?: UUIDFilter;
9595
+ /** Filter by the object’s `databaseId` field. */
9596
+ databaseId?: UUIDFilter;
9597
+ /** Filter by the object’s `schemaId` field. */
9598
+ schemaId?: UUIDFilter;
9599
+ /** Filter by the object’s `privateSchemaId` field. */
9600
+ privateSchemaId?: UUIDFilter;
9601
+ /** Filter by the object’s `notificationsTableId` field. */
9602
+ notificationsTableId?: UUIDFilter;
9603
+ /** Filter by the object’s `eventsTableId` field. */
9604
+ eventsTableId?: UUIDFilter;
9605
+ /** Filter by the object’s `preferencesTableId` field. */
9606
+ preferencesTableId?: UUIDFilter;
9607
+ /** Filter by the object’s `channelsTableId` field. */
9608
+ channelsTableId?: UUIDFilter;
9609
+ /** Filter by the object’s `deliveryLogTableId` field. */
9610
+ deliveryLogTableId?: UUIDFilter;
9611
+ /** Filter by the object’s `ownerTableId` field. */
9612
+ ownerTableId?: UUIDFilter;
9613
+ /** Filter by the object’s `userSettingsTableId` field. */
9614
+ userSettingsTableId?: UUIDFilter;
9615
+ /** Filter by the object’s `organizationSettingsTableId` field. */
9616
+ organizationSettingsTableId?: UUIDFilter;
9617
+ /** Checks for all expressions in this list. */
9618
+ and?: NotificationsModuleFilter[];
9619
+ /** Checks for any expressions in this list. */
9620
+ or?: NotificationsModuleFilter[];
9621
+ /** Negates the expression. */
9622
+ not?: NotificationsModuleFilter;
9623
+ /** Filter by the object’s `channelsTableByChannelsTableId` relation. */
9624
+ channelsTableByChannelsTableId?: TableFilter;
9625
+ /** Filter by the object’s `database` relation. */
9626
+ database?: DatabaseFilter;
9627
+ /** Filter by the object’s `deliveryLogTableByDeliveryLogTableId` relation. */
9628
+ deliveryLogTableByDeliveryLogTableId?: TableFilter;
9629
+ /** Filter by the object’s `eventsTableByEventsTableId` relation. */
9630
+ eventsTableByEventsTableId?: TableFilter;
9631
+ /** Filter by the object’s `notificationsTableByNotificationsTableId` relation. */
9632
+ notificationsTableByNotificationsTableId?: TableFilter;
9633
+ /** Filter by the object’s `organizationSettingsTableByOrganizationSettingsTableId` relation. */
9634
+ organizationSettingsTableByOrganizationSettingsTableId?: TableFilter;
9635
+ /** A related `organizationSettingsTableByOrganizationSettingsTableId` exists. */
9636
+ organizationSettingsTableByOrganizationSettingsTableIdExists?: boolean;
9637
+ /** Filter by the object’s `ownerTable` relation. */
9638
+ ownerTable?: TableFilter;
9639
+ /** Filter by the object’s `preferencesTableByPreferencesTableId` relation. */
9640
+ preferencesTableByPreferencesTableId?: TableFilter;
9641
+ /** Filter by the object’s `privateSchema` relation. */
9642
+ privateSchema?: SchemaFilter;
9643
+ /** Filter by the object’s `schema` relation. */
9644
+ schema?: SchemaFilter;
9645
+ /** Filter by the object’s `userSettingsTableByUserSettingsTableId` relation. */
9646
+ userSettingsTableByUserSettingsTableId?: TableFilter;
9647
+ /** A related `userSettingsTableByUserSettingsTableId` exists. */
9648
+ userSettingsTableByUserSettingsTableIdExists?: boolean;
9649
+ }
9130
9650
  export interface DatabaseProvisionModuleFilter {
9131
9651
  /** Filter by the object’s `id` field. */
9132
9652
  id?: UUIDFilter;
@@ -9658,6 +10178,8 @@ export interface EmailFilter {
9658
10178
  isVerified?: BooleanFilter;
9659
10179
  /** Filter by the object’s `isPrimary` field. */
9660
10180
  isPrimary?: BooleanFilter;
10181
+ /** Filter by the object’s `name` field. */
10182
+ name?: StringFilter;
9661
10183
  /** Filter by the object’s `createdAt` field. */
9662
10184
  createdAt?: DatetimeFilter;
9663
10185
  /** Filter by the object’s `updatedAt` field. */
@@ -9684,6 +10206,8 @@ export interface PhoneNumberFilter {
9684
10206
  isVerified?: BooleanFilter;
9685
10207
  /** Filter by the object’s `isPrimary` field. */
9686
10208
  isPrimary?: BooleanFilter;
10209
+ /** Filter by the object’s `name` field. */
10210
+ name?: StringFilter;
9687
10211
  /** Filter by the object’s `createdAt` field. */
9688
10212
  createdAt?: DatetimeFilter;
9689
10213
  /** Filter by the object’s `updatedAt` field. */
@@ -9708,6 +10232,8 @@ export interface CryptoAddressFilter {
9708
10232
  isVerified?: BooleanFilter;
9709
10233
  /** Filter by the object’s `isPrimary` field. */
9710
10234
  isPrimary?: BooleanFilter;
10235
+ /** Filter by the object’s `name` field. */
10236
+ name?: StringFilter;
9711
10237
  /** Filter by the object’s `createdAt` field. */
9712
10238
  createdAt?: DatetimeFilter;
9713
10239
  /** Filter by the object’s `updatedAt` field. */
@@ -9721,6 +10247,44 @@ export interface CryptoAddressFilter {
9721
10247
  /** Filter by the object’s `owner` relation. */
9722
10248
  owner?: UserFilter;
9723
10249
  }
10250
+ export interface WebauthnCredentialFilter {
10251
+ /** Filter by the object’s `id` field. */
10252
+ id?: UUIDFilter;
10253
+ /** Filter by the object’s `ownerId` field. */
10254
+ ownerId?: UUIDFilter;
10255
+ /** Filter by the object’s `credentialId` field. */
10256
+ credentialId?: StringFilter;
10257
+ /** Filter by the object’s `publicKey` field. */
10258
+ publicKey?: Base64EncodedBinaryFilter;
10259
+ /** Filter by the object’s `signCount` field. */
10260
+ signCount?: BigIntFilter;
10261
+ /** Filter by the object’s `webauthnUserId` field. */
10262
+ webauthnUserId?: StringFilter;
10263
+ /** Filter by the object’s `transports` field. */
10264
+ transports?: StringListFilter;
10265
+ /** Filter by the object’s `credentialDeviceType` field. */
10266
+ credentialDeviceType?: StringFilter;
10267
+ /** Filter by the object’s `backupEligible` field. */
10268
+ backupEligible?: BooleanFilter;
10269
+ /** Filter by the object’s `backupState` field. */
10270
+ backupState?: BooleanFilter;
10271
+ /** Filter by the object’s `name` field. */
10272
+ name?: StringFilter;
10273
+ /** Filter by the object’s `lastUsedAt` field. */
10274
+ lastUsedAt?: DatetimeFilter;
10275
+ /** Filter by the object’s `createdAt` field. */
10276
+ createdAt?: DatetimeFilter;
10277
+ /** Filter by the object’s `updatedAt` field. */
10278
+ updatedAt?: DatetimeFilter;
10279
+ /** Checks for all expressions in this list. */
10280
+ and?: WebauthnCredentialFilter[];
10281
+ /** Checks for any expressions in this list. */
10282
+ or?: WebauthnCredentialFilter[];
10283
+ /** Negates the expression. */
10284
+ not?: WebauthnCredentialFilter;
10285
+ /** Filter by the object’s `owner` relation. */
10286
+ owner?: UserFilter;
10287
+ }
9724
10288
  export interface AppInviteFilter {
9725
10289
  /** Filter by the object’s `id` field. */
9726
10290
  id?: UUIDFilter;
@@ -9891,6 +10455,24 @@ export interface AppPermissionDefaultFilter {
9891
10455
  /** Negates the expression. */
9892
10456
  not?: AppPermissionDefaultFilter;
9893
10457
  }
10458
+ export interface IdentityProviderFilter {
10459
+ /** Filter by the object’s `slug` field. */
10460
+ slug?: StringFilter;
10461
+ /** Filter by the object’s `kind` field. */
10462
+ kind?: StringFilter;
10463
+ /** Filter by the object’s `displayName` field. */
10464
+ displayName?: StringFilter;
10465
+ /** Filter by the object’s `enabled` field. */
10466
+ enabled?: BooleanFilter;
10467
+ /** Filter by the object’s `isBuiltIn` field. */
10468
+ isBuiltIn?: BooleanFilter;
10469
+ /** Checks for all expressions in this list. */
10470
+ and?: IdentityProviderFilter[];
10471
+ /** Checks for any expressions in this list. */
10472
+ or?: IdentityProviderFilter[];
10473
+ /** Negates the expression. */
10474
+ not?: IdentityProviderFilter;
10475
+ }
9894
10476
  export interface RefFilter {
9895
10477
  /** Filter by the object’s `id` field. */
9896
10478
  id?: UUIDFilter;
@@ -10057,6 +10639,30 @@ export interface AppMembershipDefaultFilter {
10057
10639
  /** Negates the expression. */
10058
10640
  not?: AppMembershipDefaultFilter;
10059
10641
  }
10642
+ export interface OrgMembershipDefaultFilter {
10643
+ /** Filter by the object’s `id` field. */
10644
+ id?: UUIDFilter;
10645
+ /** Filter by the object’s `createdAt` field. */
10646
+ createdAt?: DatetimeFilter;
10647
+ /** Filter by the object’s `updatedAt` field. */
10648
+ updatedAt?: DatetimeFilter;
10649
+ /** Filter by the object’s `createdBy` field. */
10650
+ createdBy?: UUIDFilter;
10651
+ /** Filter by the object’s `updatedBy` field. */
10652
+ updatedBy?: UUIDFilter;
10653
+ /** Filter by the object’s `isApproved` field. */
10654
+ isApproved?: BooleanFilter;
10655
+ /** Filter by the object’s `entityId` field. */
10656
+ entityId?: UUIDFilter;
10657
+ /** Checks for all expressions in this list. */
10658
+ and?: OrgMembershipDefaultFilter[];
10659
+ /** Checks for any expressions in this list. */
10660
+ or?: OrgMembershipDefaultFilter[];
10661
+ /** Negates the expression. */
10662
+ not?: OrgMembershipDefaultFilter;
10663
+ /** Filter by the object’s `entity` relation. */
10664
+ entity?: UserFilter;
10665
+ }
10060
10666
  export interface CommitFilter {
10061
10667
  /** Filter by the object’s `id` field. */
10062
10668
  id?: UUIDFilter;
@@ -10139,34 +10745,6 @@ export interface MembershipTypeFilter {
10139
10745
  /** Negates the expression. */
10140
10746
  not?: MembershipTypeFilter;
10141
10747
  }
10142
- export interface OrgMembershipDefaultFilter {
10143
- /** Filter by the object’s `id` field. */
10144
- id?: UUIDFilter;
10145
- /** Filter by the object’s `createdAt` field. */
10146
- createdAt?: DatetimeFilter;
10147
- /** Filter by the object’s `updatedAt` field. */
10148
- updatedAt?: DatetimeFilter;
10149
- /** Filter by the object’s `createdBy` field. */
10150
- createdBy?: UUIDFilter;
10151
- /** Filter by the object’s `updatedBy` field. */
10152
- updatedBy?: UUIDFilter;
10153
- /** Filter by the object’s `isApproved` field. */
10154
- isApproved?: BooleanFilter;
10155
- /** Filter by the object’s `entityId` field. */
10156
- entityId?: UUIDFilter;
10157
- /** Filter by the object’s `deleteMemberCascadeGroups` field. */
10158
- deleteMemberCascadeGroups?: BooleanFilter;
10159
- /** Filter by the object’s `createGroupsCascadeMembers` field. */
10160
- createGroupsCascadeMembers?: BooleanFilter;
10161
- /** Checks for all expressions in this list. */
10162
- and?: OrgMembershipDefaultFilter[];
10163
- /** Checks for any expressions in this list. */
10164
- or?: OrgMembershipDefaultFilter[];
10165
- /** Negates the expression. */
10166
- not?: OrgMembershipDefaultFilter;
10167
- /** Filter by the object’s `entity` relation. */
10168
- entity?: UserFilter;
10169
- }
10170
10748
  export interface RlsModuleFilter {
10171
10749
  /** Filter by the object’s `id` field. */
10172
10750
  id?: UUIDFilter;
@@ -10241,6 +10819,40 @@ export interface SqlActionFilter {
10241
10819
  /** Negates the expression. */
10242
10820
  not?: SqlActionFilter;
10243
10821
  }
10822
+ export interface OrgMembershipSettingFilter {
10823
+ /** Filter by the object’s `id` field. */
10824
+ id?: UUIDFilter;
10825
+ /** Filter by the object’s `createdAt` field. */
10826
+ createdAt?: DatetimeFilter;
10827
+ /** Filter by the object’s `updatedAt` field. */
10828
+ updatedAt?: DatetimeFilter;
10829
+ /** Filter by the object’s `createdBy` field. */
10830
+ createdBy?: UUIDFilter;
10831
+ /** Filter by the object’s `updatedBy` field. */
10832
+ updatedBy?: UUIDFilter;
10833
+ /** Filter by the object’s `entityId` field. */
10834
+ entityId?: UUIDFilter;
10835
+ /** Filter by the object’s `deleteMemberCascadeChildren` field. */
10836
+ deleteMemberCascadeChildren?: BooleanFilter;
10837
+ /** Filter by the object’s `createChildCascadeOwners` field. */
10838
+ createChildCascadeOwners?: BooleanFilter;
10839
+ /** Filter by the object’s `createChildCascadeAdmins` field. */
10840
+ createChildCascadeAdmins?: BooleanFilter;
10841
+ /** Filter by the object’s `createChildCascadeMembers` field. */
10842
+ createChildCascadeMembers?: BooleanFilter;
10843
+ /** Filter by the object’s `allowExternalMembers` field. */
10844
+ allowExternalMembers?: BooleanFilter;
10845
+ /** Filter by the object’s `populateMemberEmail` field. */
10846
+ populateMemberEmail?: BooleanFilter;
10847
+ /** Checks for all expressions in this list. */
10848
+ and?: OrgMembershipSettingFilter[];
10849
+ /** Checks for any expressions in this list. */
10850
+ or?: OrgMembershipSettingFilter[];
10851
+ /** Negates the expression. */
10852
+ not?: OrgMembershipSettingFilter;
10853
+ /** Filter by the object’s `entity` relation. */
10854
+ entity?: UserFilter;
10855
+ }
10244
10856
  export interface UserFilter {
10245
10857
  /** Filter by the object’s `id` field. */
10246
10858
  id?: UUIDFilter;
@@ -10310,6 +10922,10 @@ export interface UserFilter {
10310
10922
  orgMembershipDefaultByEntityId?: OrgMembershipDefaultFilter;
10311
10923
  /** A related `orgMembershipDefaultByEntityId` exists. */
10312
10924
  orgMembershipDefaultByEntityIdExists?: boolean;
10925
+ /** Filter by the object’s `orgMembershipSettingByEntityId` relation. */
10926
+ orgMembershipSettingByEntityId?: OrgMembershipSettingFilter;
10927
+ /** A related `orgMembershipSettingByEntityId` exists. */
10928
+ orgMembershipSettingByEntityIdExists?: boolean;
10313
10929
  /** Filter by the object’s `orgMembersByActorId` relation. */
10314
10930
  orgMembersByActorId?: UserToManyOrgMemberFilter;
10315
10931
  /** `orgMembersByActorId` exist. */
@@ -10430,6 +11046,10 @@ export interface UserFilter {
10430
11046
  ownedCryptoAddresses?: UserToManyCryptoAddressFilter;
10431
11047
  /** `ownedCryptoAddresses` exist. */
10432
11048
  ownedCryptoAddressesExist?: boolean;
11049
+ /** Filter by the object’s `ownedWebauthnCredentials` relation. */
11050
+ ownedWebauthnCredentials?: UserToManyWebauthnCredentialFilter;
11051
+ /** `ownedWebauthnCredentials` exist. */
11052
+ ownedWebauthnCredentialsExist?: boolean;
10433
11053
  /** Filter by the object’s `appInvitesBySenderId` relation. */
10434
11054
  appInvitesBySenderId?: UserToManyAppInviteFilter;
10435
11055
  /** `appInvitesBySenderId` exist. */
@@ -10650,9 +11270,10 @@ export type ViewTableOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC
10650
11270
  export type ViewGrantOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'VIEW_ID_ASC' | 'VIEW_ID_DESC' | 'GRANTEE_NAME_ASC' | 'GRANTEE_NAME_DESC' | 'PRIVILEGE_ASC' | 'PRIVILEGE_DESC' | 'WITH_GRANT_OPTION_ASC' | 'WITH_GRANT_OPTION_DESC' | 'IS_GRANT_ASC' | 'IS_GRANT_DESC';
10651
11271
  export type ViewRuleOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'VIEW_ID_ASC' | 'VIEW_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'EVENT_ASC' | 'EVENT_DESC' | 'ACTION_ASC' | 'ACTION_DESC';
10652
11272
  export type EmbeddingChunkOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'TABLE_ID_ASC' | 'TABLE_ID_DESC' | 'EMBEDDING_FIELD_ID_ASC' | 'EMBEDDING_FIELD_ID_DESC' | 'CHUNKS_TABLE_ID_ASC' | 'CHUNKS_TABLE_ID_DESC' | 'CHUNKS_TABLE_NAME_ASC' | 'CHUNKS_TABLE_NAME_DESC' | 'CONTENT_FIELD_NAME_ASC' | 'CONTENT_FIELD_NAME_DESC' | 'DIMENSIONS_ASC' | 'DIMENSIONS_DESC' | 'METRIC_ASC' | 'METRIC_DESC' | 'CHUNK_SIZE_ASC' | 'CHUNK_SIZE_DESC' | 'CHUNK_OVERLAP_ASC' | 'CHUNK_OVERLAP_DESC' | 'CHUNK_STRATEGY_ASC' | 'CHUNK_STRATEGY_DESC' | 'METADATA_FIELDS_ASC' | 'METADATA_FIELDS_DESC' | 'ENQUEUE_CHUNKING_JOB_ASC' | 'ENQUEUE_CHUNKING_JOB_DESC' | 'CHUNKING_TASK_NAME_ASC' | 'CHUNKING_TASK_NAME_DESC' | 'PARENT_FK_FIELD_ID_ASC' | 'PARENT_FK_FIELD_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
10653
- export type SecureTableProvisionOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'TABLE_ID_ASC' | 'TABLE_ID_DESC' | 'TABLE_NAME_ASC' | 'TABLE_NAME_DESC' | 'NODES_ASC' | 'NODES_DESC' | 'USE_RLS_ASC' | 'USE_RLS_DESC' | 'FIELDS_ASC' | 'FIELDS_DESC' | 'GRANT_ROLES_ASC' | 'GRANT_ROLES_DESC' | 'GRANT_PRIVILEGES_ASC' | 'GRANT_PRIVILEGES_DESC' | 'POLICY_TYPE_ASC' | 'POLICY_TYPE_DESC' | 'POLICY_PRIVILEGES_ASC' | 'POLICY_PRIVILEGES_DESC' | 'POLICY_ROLE_ASC' | 'POLICY_ROLE_DESC' | 'POLICY_PERMISSIVE_ASC' | 'POLICY_PERMISSIVE_DESC' | 'POLICY_NAME_ASC' | 'POLICY_NAME_DESC' | 'POLICY_DATA_ASC' | 'POLICY_DATA_DESC' | 'OUT_FIELDS_ASC' | 'OUT_FIELDS_DESC';
10654
- export type RelationProvisionOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'RELATION_TYPE_ASC' | 'RELATION_TYPE_DESC' | 'SOURCE_TABLE_ID_ASC' | 'SOURCE_TABLE_ID_DESC' | 'TARGET_TABLE_ID_ASC' | 'TARGET_TABLE_ID_DESC' | 'FIELD_NAME_ASC' | 'FIELD_NAME_DESC' | 'DELETE_ACTION_ASC' | 'DELETE_ACTION_DESC' | 'IS_REQUIRED_ASC' | 'IS_REQUIRED_DESC' | 'API_REQUIRED_ASC' | 'API_REQUIRED_DESC' | 'JUNCTION_TABLE_ID_ASC' | 'JUNCTION_TABLE_ID_DESC' | 'JUNCTION_TABLE_NAME_ASC' | 'JUNCTION_TABLE_NAME_DESC' | 'JUNCTION_SCHEMA_ID_ASC' | 'JUNCTION_SCHEMA_ID_DESC' | 'SOURCE_FIELD_NAME_ASC' | 'SOURCE_FIELD_NAME_DESC' | 'TARGET_FIELD_NAME_ASC' | 'TARGET_FIELD_NAME_DESC' | 'USE_COMPOSITE_KEY_ASC' | 'USE_COMPOSITE_KEY_DESC' | 'CREATE_INDEX_ASC' | 'CREATE_INDEX_DESC' | 'EXPOSE_IN_API_ASC' | 'EXPOSE_IN_API_DESC' | 'NODES_ASC' | 'NODES_DESC' | 'GRANT_ROLES_ASC' | 'GRANT_ROLES_DESC' | 'GRANT_PRIVILEGES_ASC' | 'GRANT_PRIVILEGES_DESC' | 'POLICY_TYPE_ASC' | 'POLICY_TYPE_DESC' | 'POLICY_PRIVILEGES_ASC' | 'POLICY_PRIVILEGES_DESC' | 'POLICY_ROLE_ASC' | 'POLICY_ROLE_DESC' | 'POLICY_PERMISSIVE_ASC' | 'POLICY_PERMISSIVE_DESC' | 'POLICY_NAME_ASC' | 'POLICY_NAME_DESC' | 'POLICY_DATA_ASC' | 'POLICY_DATA_DESC' | 'OUT_FIELD_ID_ASC' | 'OUT_FIELD_ID_DESC' | 'OUT_JUNCTION_TABLE_ID_ASC' | 'OUT_JUNCTION_TABLE_ID_DESC' | 'OUT_SOURCE_FIELD_ID_ASC' | 'OUT_SOURCE_FIELD_ID_DESC' | 'OUT_TARGET_FIELD_ID_ASC' | 'OUT_TARGET_FIELD_ID_DESC';
11273
+ export type SecureTableProvisionOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'TABLE_ID_ASC' | 'TABLE_ID_DESC' | 'TABLE_NAME_ASC' | 'TABLE_NAME_DESC' | 'NODES_ASC' | 'NODES_DESC' | 'USE_RLS_ASC' | 'USE_RLS_DESC' | 'FIELDS_ASC' | 'FIELDS_DESC' | 'GRANTS_ASC' | 'GRANTS_DESC' | 'POLICIES_ASC' | 'POLICIES_DESC' | 'OUT_FIELDS_ASC' | 'OUT_FIELDS_DESC';
11274
+ export type RelationProvisionOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'RELATION_TYPE_ASC' | 'RELATION_TYPE_DESC' | 'SOURCE_TABLE_ID_ASC' | 'SOURCE_TABLE_ID_DESC' | 'TARGET_TABLE_ID_ASC' | 'TARGET_TABLE_ID_DESC' | 'FIELD_NAME_ASC' | 'FIELD_NAME_DESC' | 'DELETE_ACTION_ASC' | 'DELETE_ACTION_DESC' | 'IS_REQUIRED_ASC' | 'IS_REQUIRED_DESC' | 'API_REQUIRED_ASC' | 'API_REQUIRED_DESC' | 'JUNCTION_TABLE_ID_ASC' | 'JUNCTION_TABLE_ID_DESC' | 'JUNCTION_TABLE_NAME_ASC' | 'JUNCTION_TABLE_NAME_DESC' | 'JUNCTION_SCHEMA_ID_ASC' | 'JUNCTION_SCHEMA_ID_DESC' | 'SOURCE_FIELD_NAME_ASC' | 'SOURCE_FIELD_NAME_DESC' | 'TARGET_FIELD_NAME_ASC' | 'TARGET_FIELD_NAME_DESC' | 'USE_COMPOSITE_KEY_ASC' | 'USE_COMPOSITE_KEY_DESC' | 'CREATE_INDEX_ASC' | 'CREATE_INDEX_DESC' | 'EXPOSE_IN_API_ASC' | 'EXPOSE_IN_API_DESC' | 'NODES_ASC' | 'NODES_DESC' | 'GRANTS_ASC' | 'GRANTS_DESC' | 'POLICIES_ASC' | 'POLICIES_DESC' | 'OUT_FIELD_ID_ASC' | 'OUT_FIELD_ID_DESC' | 'OUT_JUNCTION_TABLE_ID_ASC' | 'OUT_JUNCTION_TABLE_ID_DESC' | 'OUT_SOURCE_FIELD_ID_ASC' | 'OUT_SOURCE_FIELD_ID_DESC' | 'OUT_TARGET_FIELD_ID_ASC' | 'OUT_TARGET_FIELD_ID_DESC';
10655
11275
  export type SessionSecretsModuleOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'TABLE_ID_ASC' | 'TABLE_ID_DESC' | 'TABLE_NAME_ASC' | 'TABLE_NAME_DESC' | 'SESSIONS_TABLE_ID_ASC' | 'SESSIONS_TABLE_ID_DESC';
11276
+ export type IdentityProvidersModuleOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'PRIVATE_SCHEMA_ID_ASC' | 'PRIVATE_SCHEMA_ID_DESC' | 'TABLE_ID_ASC' | 'TABLE_ID_DESC' | 'TABLE_NAME_ASC' | 'TABLE_NAME_DESC';
10656
11277
  export type SchemaGrantOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'GRANTEE_NAME_ASC' | 'GRANTEE_NAME_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
10657
11278
  export type DefaultPrivilegeOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'OBJECT_TYPE_ASC' | 'OBJECT_TYPE_DESC' | 'PRIVILEGE_ASC' | 'PRIVILEGE_DESC' | 'GRANTEE_NAME_ASC' | 'GRANTEE_NAME_DESC' | 'IS_GRANT_ASC' | 'IS_GRANT_DESC';
10658
11279
  export type EnumOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'LABEL_ASC' | 'LABEL_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'VALUES_ASC' | 'VALUES_DESC' | 'SMART_TAGS_ASC' | 'SMART_TAGS_DESC' | 'CATEGORY_ASC' | 'CATEGORY_DESC' | 'MODULE_ASC' | 'MODULE_DESC' | 'SCOPE_ASC' | 'SCOPE_DESC' | 'TAGS_ASC' | 'TAGS_DESC';
@@ -10678,7 +11299,7 @@ export type InvitesModuleOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_
10678
11299
  export type LevelsModuleOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'PRIVATE_SCHEMA_ID_ASC' | 'PRIVATE_SCHEMA_ID_DESC' | 'STEPS_TABLE_ID_ASC' | 'STEPS_TABLE_ID_DESC' | 'STEPS_TABLE_NAME_ASC' | 'STEPS_TABLE_NAME_DESC' | 'ACHIEVEMENTS_TABLE_ID_ASC' | 'ACHIEVEMENTS_TABLE_ID_DESC' | 'ACHIEVEMENTS_TABLE_NAME_ASC' | 'ACHIEVEMENTS_TABLE_NAME_DESC' | 'LEVELS_TABLE_ID_ASC' | 'LEVELS_TABLE_ID_DESC' | 'LEVELS_TABLE_NAME_ASC' | 'LEVELS_TABLE_NAME_DESC' | 'LEVEL_REQUIREMENTS_TABLE_ID_ASC' | 'LEVEL_REQUIREMENTS_TABLE_ID_DESC' | 'LEVEL_REQUIREMENTS_TABLE_NAME_ASC' | 'LEVEL_REQUIREMENTS_TABLE_NAME_DESC' | 'COMPLETED_STEP_ASC' | 'COMPLETED_STEP_DESC' | 'INCOMPLETED_STEP_ASC' | 'INCOMPLETED_STEP_DESC' | 'TG_ACHIEVEMENT_ASC' | 'TG_ACHIEVEMENT_DESC' | 'TG_ACHIEVEMENT_TOGGLE_ASC' | 'TG_ACHIEVEMENT_TOGGLE_DESC' | 'TG_ACHIEVEMENT_TOGGLE_BOOLEAN_ASC' | 'TG_ACHIEVEMENT_TOGGLE_BOOLEAN_DESC' | 'TG_ACHIEVEMENT_BOOLEAN_ASC' | 'TG_ACHIEVEMENT_BOOLEAN_DESC' | 'UPSERT_ACHIEVEMENT_ASC' | 'UPSERT_ACHIEVEMENT_DESC' | 'TG_UPDATE_ACHIEVEMENTS_ASC' | 'TG_UPDATE_ACHIEVEMENTS_DESC' | 'STEPS_REQUIRED_ASC' | 'STEPS_REQUIRED_DESC' | 'LEVEL_ACHIEVED_ASC' | 'LEVEL_ACHIEVED_DESC' | 'PREFIX_ASC' | 'PREFIX_DESC' | 'MEMBERSHIP_TYPE_ASC' | 'MEMBERSHIP_TYPE_DESC' | 'ENTITY_TABLE_ID_ASC' | 'ENTITY_TABLE_ID_DESC' | 'ACTOR_TABLE_ID_ASC' | 'ACTOR_TABLE_ID_DESC';
10679
11300
  export type LimitsModuleOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'PRIVATE_SCHEMA_ID_ASC' | 'PRIVATE_SCHEMA_ID_DESC' | 'TABLE_ID_ASC' | 'TABLE_ID_DESC' | 'TABLE_NAME_ASC' | 'TABLE_NAME_DESC' | 'DEFAULT_TABLE_ID_ASC' | 'DEFAULT_TABLE_ID_DESC' | 'DEFAULT_TABLE_NAME_ASC' | 'DEFAULT_TABLE_NAME_DESC' | 'LIMIT_INCREMENT_FUNCTION_ASC' | 'LIMIT_INCREMENT_FUNCTION_DESC' | 'LIMIT_DECREMENT_FUNCTION_ASC' | 'LIMIT_DECREMENT_FUNCTION_DESC' | 'LIMIT_INCREMENT_TRIGGER_ASC' | 'LIMIT_INCREMENT_TRIGGER_DESC' | 'LIMIT_DECREMENT_TRIGGER_ASC' | 'LIMIT_DECREMENT_TRIGGER_DESC' | 'LIMIT_UPDATE_TRIGGER_ASC' | 'LIMIT_UPDATE_TRIGGER_DESC' | 'LIMIT_CHECK_FUNCTION_ASC' | 'LIMIT_CHECK_FUNCTION_DESC' | 'PREFIX_ASC' | 'PREFIX_DESC' | 'MEMBERSHIP_TYPE_ASC' | 'MEMBERSHIP_TYPE_DESC' | 'ENTITY_TABLE_ID_ASC' | 'ENTITY_TABLE_ID_DESC' | 'ACTOR_TABLE_ID_ASC' | 'ACTOR_TABLE_ID_DESC';
10680
11301
  export type MembershipTypesModuleOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'TABLE_ID_ASC' | 'TABLE_ID_DESC' | 'TABLE_NAME_ASC' | 'TABLE_NAME_DESC';
10681
- export type MembershipsModuleOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'PRIVATE_SCHEMA_ID_ASC' | 'PRIVATE_SCHEMA_ID_DESC' | 'MEMBERSHIPS_TABLE_ID_ASC' | 'MEMBERSHIPS_TABLE_ID_DESC' | 'MEMBERSHIPS_TABLE_NAME_ASC' | 'MEMBERSHIPS_TABLE_NAME_DESC' | 'MEMBERS_TABLE_ID_ASC' | 'MEMBERS_TABLE_ID_DESC' | 'MEMBERS_TABLE_NAME_ASC' | 'MEMBERS_TABLE_NAME_DESC' | 'MEMBERSHIP_DEFAULTS_TABLE_ID_ASC' | 'MEMBERSHIP_DEFAULTS_TABLE_ID_DESC' | 'MEMBERSHIP_DEFAULTS_TABLE_NAME_ASC' | 'MEMBERSHIP_DEFAULTS_TABLE_NAME_DESC' | 'GRANTS_TABLE_ID_ASC' | 'GRANTS_TABLE_ID_DESC' | 'GRANTS_TABLE_NAME_ASC' | 'GRANTS_TABLE_NAME_DESC' | 'ACTOR_TABLE_ID_ASC' | 'ACTOR_TABLE_ID_DESC' | 'LIMITS_TABLE_ID_ASC' | 'LIMITS_TABLE_ID_DESC' | 'DEFAULT_LIMITS_TABLE_ID_ASC' | 'DEFAULT_LIMITS_TABLE_ID_DESC' | 'PERMISSIONS_TABLE_ID_ASC' | 'PERMISSIONS_TABLE_ID_DESC' | 'DEFAULT_PERMISSIONS_TABLE_ID_ASC' | 'DEFAULT_PERMISSIONS_TABLE_ID_DESC' | 'SPRT_TABLE_ID_ASC' | 'SPRT_TABLE_ID_DESC' | 'ADMIN_GRANTS_TABLE_ID_ASC' | 'ADMIN_GRANTS_TABLE_ID_DESC' | 'ADMIN_GRANTS_TABLE_NAME_ASC' | 'ADMIN_GRANTS_TABLE_NAME_DESC' | 'OWNER_GRANTS_TABLE_ID_ASC' | 'OWNER_GRANTS_TABLE_ID_DESC' | 'OWNER_GRANTS_TABLE_NAME_ASC' | 'OWNER_GRANTS_TABLE_NAME_DESC' | 'MEMBERSHIP_TYPE_ASC' | 'MEMBERSHIP_TYPE_DESC' | 'ENTITY_TABLE_ID_ASC' | 'ENTITY_TABLE_ID_DESC' | 'ENTITY_TABLE_OWNER_ID_ASC' | 'ENTITY_TABLE_OWNER_ID_DESC' | 'PREFIX_ASC' | 'PREFIX_DESC' | 'ACTOR_MASK_CHECK_ASC' | 'ACTOR_MASK_CHECK_DESC' | 'ACTOR_PERM_CHECK_ASC' | 'ACTOR_PERM_CHECK_DESC' | 'ENTITY_IDS_BY_MASK_ASC' | 'ENTITY_IDS_BY_MASK_DESC' | 'ENTITY_IDS_BY_PERM_ASC' | 'ENTITY_IDS_BY_PERM_DESC' | 'ENTITY_IDS_FUNCTION_ASC' | 'ENTITY_IDS_FUNCTION_DESC' | 'MEMBER_PROFILES_TABLE_ID_ASC' | 'MEMBER_PROFILES_TABLE_ID_DESC';
11302
+ export type MembershipsModuleOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'PRIVATE_SCHEMA_ID_ASC' | 'PRIVATE_SCHEMA_ID_DESC' | 'MEMBERSHIPS_TABLE_ID_ASC' | 'MEMBERSHIPS_TABLE_ID_DESC' | 'MEMBERSHIPS_TABLE_NAME_ASC' | 'MEMBERSHIPS_TABLE_NAME_DESC' | 'MEMBERS_TABLE_ID_ASC' | 'MEMBERS_TABLE_ID_DESC' | 'MEMBERS_TABLE_NAME_ASC' | 'MEMBERS_TABLE_NAME_DESC' | 'MEMBERSHIP_DEFAULTS_TABLE_ID_ASC' | 'MEMBERSHIP_DEFAULTS_TABLE_ID_DESC' | 'MEMBERSHIP_DEFAULTS_TABLE_NAME_ASC' | 'MEMBERSHIP_DEFAULTS_TABLE_NAME_DESC' | 'MEMBERSHIP_SETTINGS_TABLE_ID_ASC' | 'MEMBERSHIP_SETTINGS_TABLE_ID_DESC' | 'MEMBERSHIP_SETTINGS_TABLE_NAME_ASC' | 'MEMBERSHIP_SETTINGS_TABLE_NAME_DESC' | 'GRANTS_TABLE_ID_ASC' | 'GRANTS_TABLE_ID_DESC' | 'GRANTS_TABLE_NAME_ASC' | 'GRANTS_TABLE_NAME_DESC' | 'ACTOR_TABLE_ID_ASC' | 'ACTOR_TABLE_ID_DESC' | 'LIMITS_TABLE_ID_ASC' | 'LIMITS_TABLE_ID_DESC' | 'DEFAULT_LIMITS_TABLE_ID_ASC' | 'DEFAULT_LIMITS_TABLE_ID_DESC' | 'PERMISSIONS_TABLE_ID_ASC' | 'PERMISSIONS_TABLE_ID_DESC' | 'DEFAULT_PERMISSIONS_TABLE_ID_ASC' | 'DEFAULT_PERMISSIONS_TABLE_ID_DESC' | 'SPRT_TABLE_ID_ASC' | 'SPRT_TABLE_ID_DESC' | 'ADMIN_GRANTS_TABLE_ID_ASC' | 'ADMIN_GRANTS_TABLE_ID_DESC' | 'ADMIN_GRANTS_TABLE_NAME_ASC' | 'ADMIN_GRANTS_TABLE_NAME_DESC' | 'OWNER_GRANTS_TABLE_ID_ASC' | 'OWNER_GRANTS_TABLE_ID_DESC' | 'OWNER_GRANTS_TABLE_NAME_ASC' | 'OWNER_GRANTS_TABLE_NAME_DESC' | 'MEMBERSHIP_TYPE_ASC' | 'MEMBERSHIP_TYPE_DESC' | 'ENTITY_TABLE_ID_ASC' | 'ENTITY_TABLE_ID_DESC' | 'ENTITY_TABLE_OWNER_ID_ASC' | 'ENTITY_TABLE_OWNER_ID_DESC' | 'PREFIX_ASC' | 'PREFIX_DESC' | 'ACTOR_MASK_CHECK_ASC' | 'ACTOR_MASK_CHECK_DESC' | 'ACTOR_PERM_CHECK_ASC' | 'ACTOR_PERM_CHECK_DESC' | 'ENTITY_IDS_BY_MASK_ASC' | 'ENTITY_IDS_BY_MASK_DESC' | 'ENTITY_IDS_BY_PERM_ASC' | 'ENTITY_IDS_BY_PERM_DESC' | 'ENTITY_IDS_FUNCTION_ASC' | 'ENTITY_IDS_FUNCTION_DESC' | 'MEMBER_PROFILES_TABLE_ID_ASC' | 'MEMBER_PROFILES_TABLE_ID_DESC';
10682
11303
  export type PermissionsModuleOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'PRIVATE_SCHEMA_ID_ASC' | 'PRIVATE_SCHEMA_ID_DESC' | 'TABLE_ID_ASC' | 'TABLE_ID_DESC' | 'TABLE_NAME_ASC' | 'TABLE_NAME_DESC' | 'DEFAULT_TABLE_ID_ASC' | 'DEFAULT_TABLE_ID_DESC' | 'DEFAULT_TABLE_NAME_ASC' | 'DEFAULT_TABLE_NAME_DESC' | 'BITLEN_ASC' | 'BITLEN_DESC' | 'MEMBERSHIP_TYPE_ASC' | 'MEMBERSHIP_TYPE_DESC' | 'ENTITY_TABLE_ID_ASC' | 'ENTITY_TABLE_ID_DESC' | 'ACTOR_TABLE_ID_ASC' | 'ACTOR_TABLE_ID_DESC' | 'PREFIX_ASC' | 'PREFIX_DESC' | 'GET_PADDED_MASK_ASC' | 'GET_PADDED_MASK_DESC' | 'GET_MASK_ASC' | 'GET_MASK_DESC' | 'GET_BY_MASK_ASC' | 'GET_BY_MASK_DESC' | 'GET_MASK_BY_NAME_ASC' | 'GET_MASK_BY_NAME_DESC';
10683
11304
  export type PhoneNumbersModuleOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'PRIVATE_SCHEMA_ID_ASC' | 'PRIVATE_SCHEMA_ID_DESC' | 'TABLE_ID_ASC' | 'TABLE_ID_DESC' | 'OWNER_TABLE_ID_ASC' | 'OWNER_TABLE_ID_DESC' | 'TABLE_NAME_ASC' | 'TABLE_NAME_DESC';
10684
11305
  export type ProfilesModuleOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'PRIVATE_SCHEMA_ID_ASC' | 'PRIVATE_SCHEMA_ID_DESC' | 'TABLE_ID_ASC' | 'TABLE_ID_DESC' | 'TABLE_NAME_ASC' | 'TABLE_NAME_DESC' | 'PROFILE_PERMISSIONS_TABLE_ID_ASC' | 'PROFILE_PERMISSIONS_TABLE_ID_DESC' | 'PROFILE_PERMISSIONS_TABLE_NAME_ASC' | 'PROFILE_PERMISSIONS_TABLE_NAME_DESC' | 'PROFILE_GRANTS_TABLE_ID_ASC' | 'PROFILE_GRANTS_TABLE_ID_DESC' | 'PROFILE_GRANTS_TABLE_NAME_ASC' | 'PROFILE_GRANTS_TABLE_NAME_DESC' | 'PROFILE_DEFINITION_GRANTS_TABLE_ID_ASC' | 'PROFILE_DEFINITION_GRANTS_TABLE_ID_DESC' | 'PROFILE_DEFINITION_GRANTS_TABLE_NAME_ASC' | 'PROFILE_DEFINITION_GRANTS_TABLE_NAME_DESC' | 'MEMBERSHIP_TYPE_ASC' | 'MEMBERSHIP_TYPE_DESC' | 'ENTITY_TABLE_ID_ASC' | 'ENTITY_TABLE_ID_DESC' | 'ACTOR_TABLE_ID_ASC' | 'ACTOR_TABLE_ID_DESC' | 'PERMISSIONS_TABLE_ID_ASC' | 'PERMISSIONS_TABLE_ID_DESC' | 'MEMBERSHIPS_TABLE_ID_ASC' | 'MEMBERSHIPS_TABLE_ID_DESC' | 'PREFIX_ASC' | 'PREFIX_DESC';
@@ -10689,9 +11310,11 @@ export type UsersModuleOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DE
10689
11310
  export type BlueprintOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'DISPLAY_NAME_ASC' | 'DISPLAY_NAME_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'DEFINITION_ASC' | 'DEFINITION_DESC' | 'TEMPLATE_ID_ASC' | 'TEMPLATE_ID_DESC' | 'DEFINITION_HASH_ASC' | 'DEFINITION_HASH_DESC' | 'TABLE_HASHES_ASC' | 'TABLE_HASHES_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
10690
11311
  export type BlueprintTemplateOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'VERSION_ASC' | 'VERSION_DESC' | 'DISPLAY_NAME_ASC' | 'DISPLAY_NAME_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'VISIBILITY_ASC' | 'VISIBILITY_DESC' | 'CATEGORIES_ASC' | 'CATEGORIES_DESC' | 'TAGS_ASC' | 'TAGS_DESC' | 'DEFINITION_ASC' | 'DEFINITION_DESC' | 'DEFINITION_SCHEMA_VERSION_ASC' | 'DEFINITION_SCHEMA_VERSION_DESC' | 'SOURCE_ASC' | 'SOURCE_DESC' | 'COMPLEXITY_ASC' | 'COMPLEXITY_DESC' | 'COPY_COUNT_ASC' | 'COPY_COUNT_DESC' | 'FORK_COUNT_ASC' | 'FORK_COUNT_DESC' | 'FORKED_FROM_ID_ASC' | 'FORKED_FROM_ID_DESC' | 'DEFINITION_HASH_ASC' | 'DEFINITION_HASH_DESC' | 'TABLE_HASHES_ASC' | 'TABLE_HASHES_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
10691
11312
  export type BlueprintConstructionOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'BLUEPRINT_ID_ASC' | 'BLUEPRINT_ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'STATUS_ASC' | 'STATUS_DESC' | 'ERROR_DETAILS_ASC' | 'ERROR_DETAILS_DESC' | 'TABLE_MAP_ASC' | 'TABLE_MAP_DESC' | 'CONSTRUCTED_DEFINITION_ASC' | 'CONSTRUCTED_DEFINITION_DESC' | 'CONSTRUCTED_AT_ASC' | 'CONSTRUCTED_AT_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
10692
- export type StorageModuleOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'PRIVATE_SCHEMA_ID_ASC' | 'PRIVATE_SCHEMA_ID_DESC' | 'BUCKETS_TABLE_ID_ASC' | 'BUCKETS_TABLE_ID_DESC' | 'FILES_TABLE_ID_ASC' | 'FILES_TABLE_ID_DESC' | 'UPLOAD_REQUESTS_TABLE_ID_ASC' | 'UPLOAD_REQUESTS_TABLE_ID_DESC' | 'BUCKETS_TABLE_NAME_ASC' | 'BUCKETS_TABLE_NAME_DESC' | 'FILES_TABLE_NAME_ASC' | 'FILES_TABLE_NAME_DESC' | 'UPLOAD_REQUESTS_TABLE_NAME_ASC' | 'UPLOAD_REQUESTS_TABLE_NAME_DESC' | 'ENTITY_TABLE_ID_ASC' | 'ENTITY_TABLE_ID_DESC' | 'ENDPOINT_ASC' | 'ENDPOINT_DESC' | 'PUBLIC_URL_PREFIX_ASC' | 'PUBLIC_URL_PREFIX_DESC' | 'PROVIDER_ASC' | 'PROVIDER_DESC' | 'ALLOWED_ORIGINS_ASC' | 'ALLOWED_ORIGINS_DESC' | 'UPLOAD_URL_EXPIRY_SECONDS_ASC' | 'UPLOAD_URL_EXPIRY_SECONDS_DESC' | 'DOWNLOAD_URL_EXPIRY_SECONDS_ASC' | 'DOWNLOAD_URL_EXPIRY_SECONDS_DESC' | 'DEFAULT_MAX_FILE_SIZE_ASC' | 'DEFAULT_MAX_FILE_SIZE_DESC' | 'MAX_FILENAME_LENGTH_ASC' | 'MAX_FILENAME_LENGTH_DESC' | 'CACHE_TTL_SECONDS_ASC' | 'CACHE_TTL_SECONDS_DESC';
10693
- export type EntityTypeProvisionOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'PREFIX_ASC' | 'PREFIX_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'PARENT_ENTITY_ASC' | 'PARENT_ENTITY_DESC' | 'TABLE_NAME_ASC' | 'TABLE_NAME_DESC' | 'IS_VISIBLE_ASC' | 'IS_VISIBLE_DESC' | 'HAS_LIMITS_ASC' | 'HAS_LIMITS_DESC' | 'HAS_PROFILES_ASC' | 'HAS_PROFILES_DESC' | 'HAS_LEVELS_ASC' | 'HAS_LEVELS_DESC' | 'SKIP_ENTITY_POLICIES_ASC' | 'SKIP_ENTITY_POLICIES_DESC' | 'TABLE_PROVISION_ASC' | 'TABLE_PROVISION_DESC' | 'OUT_MEMBERSHIP_TYPE_ASC' | 'OUT_MEMBERSHIP_TYPE_DESC' | 'OUT_ENTITY_TABLE_ID_ASC' | 'OUT_ENTITY_TABLE_ID_DESC' | 'OUT_ENTITY_TABLE_NAME_ASC' | 'OUT_ENTITY_TABLE_NAME_DESC' | 'OUT_INSTALLED_MODULES_ASC' | 'OUT_INSTALLED_MODULES_DESC';
11313
+ export type StorageModuleOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'PRIVATE_SCHEMA_ID_ASC' | 'PRIVATE_SCHEMA_ID_DESC' | 'BUCKETS_TABLE_ID_ASC' | 'BUCKETS_TABLE_ID_DESC' | 'FILES_TABLE_ID_ASC' | 'FILES_TABLE_ID_DESC' | 'UPLOAD_REQUESTS_TABLE_ID_ASC' | 'UPLOAD_REQUESTS_TABLE_ID_DESC' | 'BUCKETS_TABLE_NAME_ASC' | 'BUCKETS_TABLE_NAME_DESC' | 'FILES_TABLE_NAME_ASC' | 'FILES_TABLE_NAME_DESC' | 'UPLOAD_REQUESTS_TABLE_NAME_ASC' | 'UPLOAD_REQUESTS_TABLE_NAME_DESC' | 'MEMBERSHIP_TYPE_ASC' | 'MEMBERSHIP_TYPE_DESC' | 'POLICIES_ASC' | 'POLICIES_DESC' | 'ENTITY_TABLE_ID_ASC' | 'ENTITY_TABLE_ID_DESC' | 'ENDPOINT_ASC' | 'ENDPOINT_DESC' | 'PUBLIC_URL_PREFIX_ASC' | 'PUBLIC_URL_PREFIX_DESC' | 'PROVIDER_ASC' | 'PROVIDER_DESC' | 'ALLOWED_ORIGINS_ASC' | 'ALLOWED_ORIGINS_DESC' | 'UPLOAD_URL_EXPIRY_SECONDS_ASC' | 'UPLOAD_URL_EXPIRY_SECONDS_DESC' | 'DOWNLOAD_URL_EXPIRY_SECONDS_ASC' | 'DOWNLOAD_URL_EXPIRY_SECONDS_DESC' | 'DEFAULT_MAX_FILE_SIZE_ASC' | 'DEFAULT_MAX_FILE_SIZE_DESC' | 'MAX_FILENAME_LENGTH_ASC' | 'MAX_FILENAME_LENGTH_DESC' | 'CACHE_TTL_SECONDS_ASC' | 'CACHE_TTL_SECONDS_DESC';
11314
+ export type EntityTypeProvisionOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'PREFIX_ASC' | 'PREFIX_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'PARENT_ENTITY_ASC' | 'PARENT_ENTITY_DESC' | 'TABLE_NAME_ASC' | 'TABLE_NAME_DESC' | 'IS_VISIBLE_ASC' | 'IS_VISIBLE_DESC' | 'HAS_LIMITS_ASC' | 'HAS_LIMITS_DESC' | 'HAS_PROFILES_ASC' | 'HAS_PROFILES_DESC' | 'HAS_LEVELS_ASC' | 'HAS_LEVELS_DESC' | 'HAS_STORAGE_ASC' | 'HAS_STORAGE_DESC' | 'STORAGE_CONFIG_ASC' | 'STORAGE_CONFIG_DESC' | 'SKIP_ENTITY_POLICIES_ASC' | 'SKIP_ENTITY_POLICIES_DESC' | 'TABLE_PROVISION_ASC' | 'TABLE_PROVISION_DESC' | 'OUT_MEMBERSHIP_TYPE_ASC' | 'OUT_MEMBERSHIP_TYPE_DESC' | 'OUT_ENTITY_TABLE_ID_ASC' | 'OUT_ENTITY_TABLE_ID_DESC' | 'OUT_ENTITY_TABLE_NAME_ASC' | 'OUT_ENTITY_TABLE_NAME_DESC' | 'OUT_INSTALLED_MODULES_ASC' | 'OUT_INSTALLED_MODULES_DESC' | 'OUT_STORAGE_MODULE_ID_ASC' | 'OUT_STORAGE_MODULE_ID_DESC' | 'OUT_BUCKETS_TABLE_ID_ASC' | 'OUT_BUCKETS_TABLE_ID_DESC' | 'OUT_FILES_TABLE_ID_ASC' | 'OUT_FILES_TABLE_ID_DESC';
10694
11315
  export type WebauthnCredentialsModuleOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'PRIVATE_SCHEMA_ID_ASC' | 'PRIVATE_SCHEMA_ID_DESC' | 'TABLE_ID_ASC' | 'TABLE_ID_DESC' | 'OWNER_TABLE_ID_ASC' | 'OWNER_TABLE_ID_DESC' | 'TABLE_NAME_ASC' | 'TABLE_NAME_DESC';
11316
+ export type WebauthnAuthModuleOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'USERS_TABLE_ID_ASC' | 'USERS_TABLE_ID_DESC' | 'CREDENTIALS_TABLE_ID_ASC' | 'CREDENTIALS_TABLE_ID_DESC' | 'SESSIONS_TABLE_ID_ASC' | 'SESSIONS_TABLE_ID_DESC' | 'SESSION_CREDENTIALS_TABLE_ID_ASC' | 'SESSION_CREDENTIALS_TABLE_ID_DESC' | 'SESSION_SECRETS_TABLE_ID_ASC' | 'SESSION_SECRETS_TABLE_ID_DESC' | 'AUTH_SETTINGS_TABLE_ID_ASC' | 'AUTH_SETTINGS_TABLE_ID_DESC' | 'RP_ID_ASC' | 'RP_ID_DESC' | 'RP_NAME_ASC' | 'RP_NAME_DESC' | 'ORIGIN_ALLOWLIST_ASC' | 'ORIGIN_ALLOWLIST_DESC' | 'ATTESTATION_TYPE_ASC' | 'ATTESTATION_TYPE_DESC' | 'REQUIRE_USER_VERIFICATION_ASC' | 'REQUIRE_USER_VERIFICATION_DESC' | 'RESIDENT_KEY_ASC' | 'RESIDENT_KEY_DESC' | 'CHALLENGE_EXPIRY_ASC' | 'CHALLENGE_EXPIRY_DESC';
11317
+ export type NotificationsModuleOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'PRIVATE_SCHEMA_ID_ASC' | 'PRIVATE_SCHEMA_ID_DESC' | 'NOTIFICATIONS_TABLE_ID_ASC' | 'NOTIFICATIONS_TABLE_ID_DESC' | 'EVENTS_TABLE_ID_ASC' | 'EVENTS_TABLE_ID_DESC' | 'PREFERENCES_TABLE_ID_ASC' | 'PREFERENCES_TABLE_ID_DESC' | 'CHANNELS_TABLE_ID_ASC' | 'CHANNELS_TABLE_ID_DESC' | 'DELIVERY_LOG_TABLE_ID_ASC' | 'DELIVERY_LOG_TABLE_ID_DESC' | 'OWNER_TABLE_ID_ASC' | 'OWNER_TABLE_ID_DESC' | 'USER_SETTINGS_TABLE_ID_ASC' | 'USER_SETTINGS_TABLE_ID_DESC' | 'ORGANIZATION_SETTINGS_TABLE_ID_ASC' | 'ORGANIZATION_SETTINGS_TABLE_ID_DESC';
10695
11318
  export type DatabaseProvisionModuleOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_NAME_ASC' | 'DATABASE_NAME_DESC' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'SUBDOMAIN_ASC' | 'SUBDOMAIN_DESC' | 'DOMAIN_ASC' | 'DOMAIN_DESC' | 'MODULES_ASC' | 'MODULES_DESC' | 'OPTIONS_ASC' | 'OPTIONS_DESC' | 'BOOTSTRAP_USER_ASC' | 'BOOTSTRAP_USER_DESC' | 'STATUS_ASC' | 'STATUS_DESC' | 'ERROR_MESSAGE_ASC' | 'ERROR_MESSAGE_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'COMPLETED_AT_ASC' | 'COMPLETED_AT_DESC';
10696
11319
  export type AppAdminGrantOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'IS_GRANT_ASC' | 'IS_GRANT_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'GRANTOR_ID_ASC' | 'GRANTOR_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
10697
11320
  export type AppOwnerGrantOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'IS_GRANT_ASC' | 'IS_GRANT_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'GRANTOR_ID_ASC' | 'GRANTOR_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
@@ -10710,15 +11333,17 @@ export type OrgLimitOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC'
10710
11333
  export type AppStepOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'COUNT_ASC' | 'COUNT_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
10711
11334
  export type AppAchievementOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'COUNT_ASC' | 'COUNT_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
10712
11335
  export type AppLevelOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'IMAGE_ASC' | 'IMAGE_DESC' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
10713
- export type EmailOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'EMAIL_ASC' | 'EMAIL_DESC' | 'IS_VERIFIED_ASC' | 'IS_VERIFIED_DESC' | 'IS_PRIMARY_ASC' | 'IS_PRIMARY_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
10714
- export type PhoneNumberOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'CC_ASC' | 'CC_DESC' | 'NUMBER_ASC' | 'NUMBER_DESC' | 'IS_VERIFIED_ASC' | 'IS_VERIFIED_DESC' | 'IS_PRIMARY_ASC' | 'IS_PRIMARY_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
10715
- export type CryptoAddressOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'ADDRESS_ASC' | 'ADDRESS_DESC' | 'IS_VERIFIED_ASC' | 'IS_VERIFIED_DESC' | 'IS_PRIMARY_ASC' | 'IS_PRIMARY_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
11336
+ export type EmailOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'EMAIL_ASC' | 'EMAIL_DESC' | 'IS_VERIFIED_ASC' | 'IS_VERIFIED_DESC' | 'IS_PRIMARY_ASC' | 'IS_PRIMARY_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
11337
+ export type PhoneNumberOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'CC_ASC' | 'CC_DESC' | 'NUMBER_ASC' | 'NUMBER_DESC' | 'IS_VERIFIED_ASC' | 'IS_VERIFIED_DESC' | 'IS_PRIMARY_ASC' | 'IS_PRIMARY_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
11338
+ export type CryptoAddressOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'ADDRESS_ASC' | 'ADDRESS_DESC' | 'IS_VERIFIED_ASC' | 'IS_VERIFIED_DESC' | 'IS_PRIMARY_ASC' | 'IS_PRIMARY_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
11339
+ export type WebauthnCredentialOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'CREDENTIAL_ID_ASC' | 'CREDENTIAL_ID_DESC' | 'PUBLIC_KEY_ASC' | 'PUBLIC_KEY_DESC' | 'SIGN_COUNT_ASC' | 'SIGN_COUNT_DESC' | 'WEBAUTHN_USER_ID_ASC' | 'WEBAUTHN_USER_ID_DESC' | 'TRANSPORTS_ASC' | 'TRANSPORTS_DESC' | 'CREDENTIAL_DEVICE_TYPE_ASC' | 'CREDENTIAL_DEVICE_TYPE_DESC' | 'BACKUP_ELIGIBLE_ASC' | 'BACKUP_ELIGIBLE_DESC' | 'BACKUP_STATE_ASC' | 'BACKUP_STATE_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'LAST_USED_AT_ASC' | 'LAST_USED_AT_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
10716
11340
  export type AppInviteOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'EMAIL_ASC' | 'EMAIL_DESC' | 'SENDER_ID_ASC' | 'SENDER_ID_DESC' | 'INVITE_TOKEN_ASC' | 'INVITE_TOKEN_DESC' | 'INVITE_VALID_ASC' | 'INVITE_VALID_DESC' | 'INVITE_LIMIT_ASC' | 'INVITE_LIMIT_DESC' | 'INVITE_COUNT_ASC' | 'INVITE_COUNT_DESC' | 'MULTIPLE_ASC' | 'MULTIPLE_DESC' | 'DATA_ASC' | 'DATA_DESC' | 'EXPIRES_AT_ASC' | 'EXPIRES_AT_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
10717
11341
  export type AppClaimedInviteOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATA_ASC' | 'DATA_DESC' | 'SENDER_ID_ASC' | 'SENDER_ID_DESC' | 'RECEIVER_ID_ASC' | 'RECEIVER_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
10718
11342
  export type OrgInviteOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'EMAIL_ASC' | 'EMAIL_DESC' | 'SENDER_ID_ASC' | 'SENDER_ID_DESC' | 'RECEIVER_ID_ASC' | 'RECEIVER_ID_DESC' | 'INVITE_TOKEN_ASC' | 'INVITE_TOKEN_DESC' | 'INVITE_VALID_ASC' | 'INVITE_VALID_DESC' | 'INVITE_LIMIT_ASC' | 'INVITE_LIMIT_DESC' | 'INVITE_COUNT_ASC' | 'INVITE_COUNT_DESC' | 'MULTIPLE_ASC' | 'MULTIPLE_DESC' | 'DATA_ASC' | 'DATA_DESC' | 'EXPIRES_AT_ASC' | 'EXPIRES_AT_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC';
10719
11343
  export type OrgClaimedInviteOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATA_ASC' | 'DATA_DESC' | 'SENDER_ID_ASC' | 'SENDER_ID_DESC' | 'RECEIVER_ID_ASC' | 'RECEIVER_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC';
10720
11344
  export type AuditLogOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'EVENT_ASC' | 'EVENT_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'ORIGIN_ASC' | 'ORIGIN_DESC' | 'USER_AGENT_ASC' | 'USER_AGENT_DESC' | 'IP_ADDRESS_ASC' | 'IP_ADDRESS_DESC' | 'SUCCESS_ASC' | 'SUCCESS_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC';
10721
11345
  export type AppPermissionDefaultOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'PERMISSIONS_ASC' | 'PERMISSIONS_DESC';
11346
+ export type IdentityProviderOrderBy = 'NATURAL' | 'SLUG_ASC' | 'SLUG_DESC' | 'KIND_ASC' | 'KIND_DESC' | 'DISPLAY_NAME_ASC' | 'DISPLAY_NAME_DESC' | 'ENABLED_ASC' | 'ENABLED_DESC' | 'IS_BUILT_IN_ASC' | 'IS_BUILT_IN_DESC';
10722
11347
  export type RefOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'STORE_ID_ASC' | 'STORE_ID_DESC' | 'COMMIT_ID_ASC' | 'COMMIT_ID_DESC';
10723
11348
  export type StoreOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'HASH_ASC' | 'HASH_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC';
10724
11349
  export type RoleTypeOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC';
@@ -10728,12 +11353,13 @@ export type OrgLimitDefaultOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KE
10728
11353
  export type DevicesModuleOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'USER_DEVICES_TABLE_ID_ASC' | 'USER_DEVICES_TABLE_ID_DESC' | 'DEVICE_SETTINGS_TABLE_ID_ASC' | 'DEVICE_SETTINGS_TABLE_ID_DESC' | 'USER_DEVICES_TABLE_ASC' | 'USER_DEVICES_TABLE_DESC' | 'DEVICE_SETTINGS_TABLE_ASC' | 'DEVICE_SETTINGS_TABLE_DESC';
10729
11354
  export type UserConnectedAccountOrderBy = 'NATURAL' | 'ID_ASC' | 'ID_DESC' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'SERVICE_ASC' | 'SERVICE_DESC' | 'IDENTIFIER_ASC' | 'IDENTIFIER_DESC' | 'DETAILS_ASC' | 'DETAILS_DESC' | 'IS_VERIFIED_ASC' | 'IS_VERIFIED_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
10730
11355
  export type AppMembershipDefaultOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'CREATED_BY_ASC' | 'CREATED_BY_DESC' | 'UPDATED_BY_ASC' | 'UPDATED_BY_DESC' | 'IS_APPROVED_ASC' | 'IS_APPROVED_DESC' | 'IS_VERIFIED_ASC' | 'IS_VERIFIED_DESC';
11356
+ export type OrgMembershipDefaultOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'CREATED_BY_ASC' | 'CREATED_BY_DESC' | 'UPDATED_BY_ASC' | 'UPDATED_BY_DESC' | 'IS_APPROVED_ASC' | 'IS_APPROVED_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC';
10731
11357
  export type CommitOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'MESSAGE_ASC' | 'MESSAGE_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'STORE_ID_ASC' | 'STORE_ID_DESC' | 'PARENT_IDS_ASC' | 'PARENT_IDS_DESC' | 'AUTHOR_ID_ASC' | 'AUTHOR_ID_DESC' | 'COMMITTER_ID_ASC' | 'COMMITTER_ID_DESC' | 'TREE_ID_ASC' | 'TREE_ID_DESC' | 'DATE_ASC' | 'DATE_DESC';
10732
11358
  export type RateLimitsModuleOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'RATE_LIMIT_SETTINGS_TABLE_ID_ASC' | 'RATE_LIMIT_SETTINGS_TABLE_ID_DESC' | 'IP_RATE_LIMITS_TABLE_ID_ASC' | 'IP_RATE_LIMITS_TABLE_ID_DESC' | 'RATE_LIMITS_TABLE_ID_ASC' | 'RATE_LIMITS_TABLE_ID_DESC' | 'RATE_LIMIT_SETTINGS_TABLE_ASC' | 'RATE_LIMIT_SETTINGS_TABLE_DESC' | 'IP_RATE_LIMITS_TABLE_ASC' | 'IP_RATE_LIMITS_TABLE_DESC' | 'RATE_LIMITS_TABLE_ASC' | 'RATE_LIMITS_TABLE_DESC';
10733
11359
  export type MembershipTypeOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'PREFIX_ASC' | 'PREFIX_DESC' | 'PARENT_MEMBERSHIP_TYPE_ASC' | 'PARENT_MEMBERSHIP_TYPE_DESC' | 'HAS_USERS_TABLE_ENTRY_ASC' | 'HAS_USERS_TABLE_ENTRY_DESC';
10734
- export type OrgMembershipDefaultOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'CREATED_BY_ASC' | 'CREATED_BY_DESC' | 'UPDATED_BY_ASC' | 'UPDATED_BY_DESC' | 'IS_APPROVED_ASC' | 'IS_APPROVED_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'DELETE_MEMBER_CASCADE_GROUPS_ASC' | 'DELETE_MEMBER_CASCADE_GROUPS_DESC' | 'CREATE_GROUPS_CASCADE_MEMBERS_ASC' | 'CREATE_GROUPS_CASCADE_MEMBERS_DESC';
10735
11360
  export type RlsModuleOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'PRIVATE_SCHEMA_ID_ASC' | 'PRIVATE_SCHEMA_ID_DESC' | 'SESSION_CREDENTIALS_TABLE_ID_ASC' | 'SESSION_CREDENTIALS_TABLE_ID_DESC' | 'SESSIONS_TABLE_ID_ASC' | 'SESSIONS_TABLE_ID_DESC' | 'USERS_TABLE_ID_ASC' | 'USERS_TABLE_ID_DESC' | 'AUTHENTICATE_ASC' | 'AUTHENTICATE_DESC' | 'AUTHENTICATE_STRICT_ASC' | 'AUTHENTICATE_STRICT_DESC' | 'CURRENT_ROLE_ASC' | 'CURRENT_ROLE_DESC' | 'CURRENT_ROLE_ID_ASC' | 'CURRENT_ROLE_ID_DESC';
10736
11361
  export type SqlActionOrderBy = 'NATURAL' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'DEPLOY_ASC' | 'DEPLOY_DESC' | 'DEPS_ASC' | 'DEPS_DESC' | 'PAYLOAD_ASC' | 'PAYLOAD_DESC' | 'CONTENT_ASC' | 'CONTENT_DESC' | 'REVERT_ASC' | 'REVERT_DESC' | 'VERIFY_ASC' | 'VERIFY_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'ACTION_ASC' | 'ACTION_DESC' | 'ACTION_ID_ASC' | 'ACTION_ID_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC';
11362
+ export type OrgMembershipSettingOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'CREATED_BY_ASC' | 'CREATED_BY_DESC' | 'UPDATED_BY_ASC' | 'UPDATED_BY_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'DELETE_MEMBER_CASCADE_CHILDREN_ASC' | 'DELETE_MEMBER_CASCADE_CHILDREN_DESC' | 'CREATE_CHILD_CASCADE_OWNERS_ASC' | 'CREATE_CHILD_CASCADE_OWNERS_DESC' | 'CREATE_CHILD_CASCADE_ADMINS_ASC' | 'CREATE_CHILD_CASCADE_ADMINS_DESC' | 'CREATE_CHILD_CASCADE_MEMBERS_ASC' | 'CREATE_CHILD_CASCADE_MEMBERS_DESC' | 'ALLOW_EXTERNAL_MEMBERS_ASC' | 'ALLOW_EXTERNAL_MEMBERS_DESC' | 'POPULATE_MEMBER_EMAIL_ASC' | 'POPULATE_MEMBER_EMAIL_DESC';
10737
11363
  export type UserOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'USERNAME_ASC' | 'USERNAME_DESC' | 'DISPLAY_NAME_ASC' | 'DISPLAY_NAME_DESC' | 'PROFILE_PICTURE_ASC' | 'PROFILE_PICTURE_DESC' | 'SEARCH_TSV_ASC' | 'SEARCH_TSV_DESC' | 'TYPE_ASC' | 'TYPE_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'SEARCH_TSV_RANK_ASC' | 'SEARCH_TSV_RANK_DESC' | 'DISPLAY_NAME_TRGM_SIMILARITY_ASC' | 'DISPLAY_NAME_TRGM_SIMILARITY_DESC' | 'SEARCH_SCORE_ASC' | 'SEARCH_SCORE_DESC';
10738
11364
  export type AstMigrationOrderBy = 'NATURAL' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'REQUIRES_ASC' | 'REQUIRES_DESC' | 'PAYLOAD_ASC' | 'PAYLOAD_DESC' | 'DEPLOYS_ASC' | 'DEPLOYS_DESC' | 'DEPLOY_ASC' | 'DEPLOY_DESC' | 'REVERT_ASC' | 'REVERT_DESC' | 'VERIFY_ASC' | 'VERIFY_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'ACTION_ASC' | 'ACTION_DESC' | 'ACTION_ID_ASC' | 'ACTION_ID_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC';
10739
11365
  export type AppMembershipOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'CREATED_BY_ASC' | 'CREATED_BY_DESC' | 'UPDATED_BY_ASC' | 'UPDATED_BY_DESC' | 'IS_APPROVED_ASC' | 'IS_APPROVED_DESC' | 'IS_BANNED_ASC' | 'IS_BANNED_DESC' | 'IS_DISABLED_ASC' | 'IS_DISABLED_DESC' | 'IS_VERIFIED_ASC' | 'IS_VERIFIED_DESC' | 'IS_ACTIVE_ASC' | 'IS_ACTIVE_DESC' | 'IS_EXTERNAL_ASC' | 'IS_EXTERNAL_DESC' | 'IS_OWNER_ASC' | 'IS_OWNER_DESC' | 'IS_ADMIN_ASC' | 'IS_ADMIN_DESC' | 'PERMISSIONS_ASC' | 'PERMISSIONS_DESC' | 'GRANTED_ASC' | 'GRANTED_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'PROFILE_ID_ASC' | 'PROFILE_ID_DESC';
@@ -11628,14 +12254,8 @@ export interface CreateSecureTableProvisionInput {
11628
12254
  nodes?: Record<string, unknown>;
11629
12255
  useRls?: boolean;
11630
12256
  fields?: Record<string, unknown>[];
11631
- grantRoles?: string[];
11632
- grantPrivileges?: Record<string, unknown>[];
11633
- policyType?: string;
11634
- policyPrivileges?: string[];
11635
- policyRole?: string;
11636
- policyPermissive?: boolean;
11637
- policyName?: string;
11638
- policyData?: Record<string, unknown>;
12257
+ grants?: Record<string, unknown>;
12258
+ policies?: Record<string, unknown>;
11639
12259
  outFields?: string[];
11640
12260
  };
11641
12261
  }
@@ -11647,14 +12267,8 @@ export interface SecureTableProvisionPatch {
11647
12267
  nodes?: Record<string, unknown> | null;
11648
12268
  useRls?: boolean | null;
11649
12269
  fields?: Record<string, unknown>[] | null;
11650
- grantRoles?: string[] | null;
11651
- grantPrivileges?: Record<string, unknown>[] | null;
11652
- policyType?: string | null;
11653
- policyPrivileges?: string[] | null;
11654
- policyRole?: string | null;
11655
- policyPermissive?: boolean | null;
11656
- policyName?: string | null;
11657
- policyData?: Record<string, unknown> | null;
12270
+ grants?: Record<string, unknown> | null;
12271
+ policies?: Record<string, unknown> | null;
11658
12272
  outFields?: string[] | null;
11659
12273
  }
11660
12274
  export interface UpdateSecureTableProvisionInput {
@@ -11686,14 +12300,8 @@ export interface CreateRelationProvisionInput {
11686
12300
  createIndex?: boolean;
11687
12301
  exposeInApi?: boolean;
11688
12302
  nodes?: Record<string, unknown>;
11689
- grantRoles?: string[];
11690
- grantPrivileges?: Record<string, unknown>[];
11691
- policyType?: string;
11692
- policyPrivileges?: string[];
11693
- policyRole?: string;
11694
- policyPermissive?: boolean;
11695
- policyName?: string;
11696
- policyData?: Record<string, unknown>;
12303
+ grants?: Record<string, unknown>;
12304
+ policies?: Record<string, unknown>;
11697
12305
  outFieldId?: string;
11698
12306
  outJunctionTableId?: string;
11699
12307
  outSourceFieldId?: string;
@@ -11718,14 +12326,8 @@ export interface RelationProvisionPatch {
11718
12326
  createIndex?: boolean | null;
11719
12327
  exposeInApi?: boolean | null;
11720
12328
  nodes?: Record<string, unknown> | null;
11721
- grantRoles?: string[] | null;
11722
- grantPrivileges?: Record<string, unknown>[] | null;
11723
- policyType?: string | null;
11724
- policyPrivileges?: string[] | null;
11725
- policyRole?: string | null;
11726
- policyPermissive?: boolean | null;
11727
- policyName?: string | null;
11728
- policyData?: Record<string, unknown> | null;
12329
+ grants?: Record<string, unknown> | null;
12330
+ policies?: Record<string, unknown> | null;
11729
12331
  outFieldId?: string | null;
11730
12332
  outJunctionTableId?: string | null;
11731
12333
  outSourceFieldId?: string | null;
@@ -11766,6 +12368,32 @@ export interface DeleteSessionSecretsModuleInput {
11766
12368
  clientMutationId?: string;
11767
12369
  id: string;
11768
12370
  }
12371
+ export interface CreateIdentityProvidersModuleInput {
12372
+ clientMutationId?: string;
12373
+ identityProvidersModule: {
12374
+ databaseId: string;
12375
+ schemaId?: string;
12376
+ privateSchemaId?: string;
12377
+ tableId?: string;
12378
+ tableName?: string;
12379
+ };
12380
+ }
12381
+ export interface IdentityProvidersModulePatch {
12382
+ databaseId?: string | null;
12383
+ schemaId?: string | null;
12384
+ privateSchemaId?: string | null;
12385
+ tableId?: string | null;
12386
+ tableName?: string | null;
12387
+ }
12388
+ export interface UpdateIdentityProvidersModuleInput {
12389
+ clientMutationId?: string;
12390
+ id: string;
12391
+ identityProvidersModulePatch: IdentityProvidersModulePatch;
12392
+ }
12393
+ export interface DeleteIdentityProvidersModuleInput {
12394
+ clientMutationId?: string;
12395
+ id: string;
12396
+ }
11769
12397
  export interface CreateSchemaGrantInput {
11770
12398
  clientMutationId?: string;
11771
12399
  schemaGrant: {
@@ -12558,6 +13186,8 @@ export interface CreateMembershipsModuleInput {
12558
13186
  membersTableName?: string;
12559
13187
  membershipDefaultsTableId?: string;
12560
13188
  membershipDefaultsTableName?: string;
13189
+ membershipSettingsTableId?: string;
13190
+ membershipSettingsTableName?: string;
12561
13191
  grantsTableId?: string;
12562
13192
  grantsTableName?: string;
12563
13193
  actorTableId?: string;
@@ -12592,6 +13222,8 @@ export interface MembershipsModulePatch {
12592
13222
  membersTableName?: string | null;
12593
13223
  membershipDefaultsTableId?: string | null;
12594
13224
  membershipDefaultsTableName?: string | null;
13225
+ membershipSettingsTableId?: string | null;
13226
+ membershipSettingsTableName?: string | null;
12595
13227
  grantsTableId?: string | null;
12596
13228
  grantsTableName?: string | null;
12597
13229
  actorTableId?: string | null;
@@ -13032,6 +13664,8 @@ export interface CreateStorageModuleInput {
13032
13664
  bucketsTableName?: string;
13033
13665
  filesTableName?: string;
13034
13666
  uploadRequestsTableName?: string;
13667
+ membershipType?: number;
13668
+ policies?: string[];
13035
13669
  entityTableId?: string;
13036
13670
  endpoint?: string;
13037
13671
  publicUrlPrefix?: string;
@@ -13054,6 +13688,8 @@ export interface StorageModulePatch {
13054
13688
  bucketsTableName?: string | null;
13055
13689
  filesTableName?: string | null;
13056
13690
  uploadRequestsTableName?: string | null;
13691
+ membershipType?: number | null;
13692
+ policies?: string[] | null;
13057
13693
  entityTableId?: string | null;
13058
13694
  endpoint?: string | null;
13059
13695
  publicUrlPrefix?: string | null;
@@ -13087,12 +13723,17 @@ export interface CreateEntityTypeProvisionInput {
13087
13723
  hasLimits?: boolean;
13088
13724
  hasProfiles?: boolean;
13089
13725
  hasLevels?: boolean;
13726
+ hasStorage?: boolean;
13727
+ storageConfig?: Record<string, unknown>;
13090
13728
  skipEntityPolicies?: boolean;
13091
13729
  tableProvision?: Record<string, unknown>;
13092
13730
  outMembershipType?: number;
13093
13731
  outEntityTableId?: string;
13094
13732
  outEntityTableName?: string;
13095
13733
  outInstalledModules?: string[];
13734
+ outStorageModuleId?: string;
13735
+ outBucketsTableId?: string;
13736
+ outFilesTableId?: string;
13096
13737
  };
13097
13738
  }
13098
13739
  export interface EntityTypeProvisionPatch {
@@ -13106,12 +13747,17 @@ export interface EntityTypeProvisionPatch {
13106
13747
  hasLimits?: boolean | null;
13107
13748
  hasProfiles?: boolean | null;
13108
13749
  hasLevels?: boolean | null;
13750
+ hasStorage?: boolean | null;
13751
+ storageConfig?: Record<string, unknown> | null;
13109
13752
  skipEntityPolicies?: boolean | null;
13110
13753
  tableProvision?: Record<string, unknown> | null;
13111
13754
  outMembershipType?: number | null;
13112
13755
  outEntityTableId?: string | null;
13113
13756
  outEntityTableName?: string | null;
13114
13757
  outInstalledModules?: string[] | null;
13758
+ outStorageModuleId?: string | null;
13759
+ outBucketsTableId?: string | null;
13760
+ outFilesTableId?: string | null;
13115
13761
  }
13116
13762
  export interface UpdateEntityTypeProvisionInput {
13117
13763
  clientMutationId?: string;
@@ -13150,6 +13796,90 @@ export interface DeleteWebauthnCredentialsModuleInput {
13150
13796
  clientMutationId?: string;
13151
13797
  id: string;
13152
13798
  }
13799
+ export interface CreateWebauthnAuthModuleInput {
13800
+ clientMutationId?: string;
13801
+ webauthnAuthModule: {
13802
+ databaseId: string;
13803
+ schemaId?: string;
13804
+ usersTableId?: string;
13805
+ credentialsTableId?: string;
13806
+ sessionsTableId?: string;
13807
+ sessionCredentialsTableId?: string;
13808
+ sessionSecretsTableId?: string;
13809
+ authSettingsTableId?: string;
13810
+ rpId?: string;
13811
+ rpName?: string;
13812
+ originAllowlist?: string[];
13813
+ attestationType?: string;
13814
+ requireUserVerification?: boolean;
13815
+ residentKey?: string;
13816
+ challengeExpiry?: IntervalInput;
13817
+ };
13818
+ }
13819
+ export interface WebauthnAuthModulePatch {
13820
+ databaseId?: string | null;
13821
+ schemaId?: string | null;
13822
+ usersTableId?: string | null;
13823
+ credentialsTableId?: string | null;
13824
+ sessionsTableId?: string | null;
13825
+ sessionCredentialsTableId?: string | null;
13826
+ sessionSecretsTableId?: string | null;
13827
+ authSettingsTableId?: string | null;
13828
+ rpId?: string | null;
13829
+ rpName?: string | null;
13830
+ originAllowlist?: string[] | null;
13831
+ attestationType?: string | null;
13832
+ requireUserVerification?: boolean | null;
13833
+ residentKey?: string | null;
13834
+ challengeExpiry?: IntervalInput | null;
13835
+ }
13836
+ export interface UpdateWebauthnAuthModuleInput {
13837
+ clientMutationId?: string;
13838
+ id: string;
13839
+ webauthnAuthModulePatch: WebauthnAuthModulePatch;
13840
+ }
13841
+ export interface DeleteWebauthnAuthModuleInput {
13842
+ clientMutationId?: string;
13843
+ id: string;
13844
+ }
13845
+ export interface CreateNotificationsModuleInput {
13846
+ clientMutationId?: string;
13847
+ notificationsModule: {
13848
+ databaseId: string;
13849
+ schemaId?: string;
13850
+ privateSchemaId?: string;
13851
+ notificationsTableId?: string;
13852
+ eventsTableId?: string;
13853
+ preferencesTableId?: string;
13854
+ channelsTableId?: string;
13855
+ deliveryLogTableId?: string;
13856
+ ownerTableId?: string;
13857
+ userSettingsTableId?: string;
13858
+ organizationSettingsTableId?: string;
13859
+ };
13860
+ }
13861
+ export interface NotificationsModulePatch {
13862
+ databaseId?: string | null;
13863
+ schemaId?: string | null;
13864
+ privateSchemaId?: string | null;
13865
+ notificationsTableId?: string | null;
13866
+ eventsTableId?: string | null;
13867
+ preferencesTableId?: string | null;
13868
+ channelsTableId?: string | null;
13869
+ deliveryLogTableId?: string | null;
13870
+ ownerTableId?: string | null;
13871
+ userSettingsTableId?: string | null;
13872
+ organizationSettingsTableId?: string | null;
13873
+ }
13874
+ export interface UpdateNotificationsModuleInput {
13875
+ clientMutationId?: string;
13876
+ id: string;
13877
+ notificationsModulePatch: NotificationsModulePatch;
13878
+ }
13879
+ export interface DeleteNotificationsModuleInput {
13880
+ clientMutationId?: string;
13881
+ id: string;
13882
+ }
13153
13883
  export interface CreateDatabaseProvisionModuleInput {
13154
13884
  clientMutationId?: string;
13155
13885
  databaseProvisionModule: {
@@ -13633,6 +14363,7 @@ export interface CreateEmailInput {
13633
14363
  email: ConstructiveInternalTypeEmail;
13634
14364
  isVerified?: boolean;
13635
14365
  isPrimary?: boolean;
14366
+ name?: string;
13636
14367
  };
13637
14368
  }
13638
14369
  export interface EmailPatch {
@@ -13640,6 +14371,7 @@ export interface EmailPatch {
13640
14371
  email?: ConstructiveInternalTypeEmail | null;
13641
14372
  isVerified?: boolean | null;
13642
14373
  isPrimary?: boolean | null;
14374
+ name?: string | null;
13643
14375
  }
13644
14376
  export interface UpdateEmailInput {
13645
14377
  clientMutationId?: string;
@@ -13658,6 +14390,7 @@ export interface CreatePhoneNumberInput {
13658
14390
  number: string;
13659
14391
  isVerified?: boolean;
13660
14392
  isPrimary?: boolean;
14393
+ name?: string;
13661
14394
  };
13662
14395
  }
13663
14396
  export interface PhoneNumberPatch {
@@ -13666,6 +14399,7 @@ export interface PhoneNumberPatch {
13666
14399
  number?: string | null;
13667
14400
  isVerified?: boolean | null;
13668
14401
  isPrimary?: boolean | null;
14402
+ name?: string | null;
13669
14403
  }
13670
14404
  export interface UpdatePhoneNumberInput {
13671
14405
  clientMutationId?: string;
@@ -13683,6 +14417,7 @@ export interface CreateCryptoAddressInput {
13683
14417
  address: string;
13684
14418
  isVerified?: boolean;
13685
14419
  isPrimary?: boolean;
14420
+ name?: string;
13686
14421
  };
13687
14422
  }
13688
14423
  export interface CryptoAddressPatch {
@@ -13690,6 +14425,7 @@ export interface CryptoAddressPatch {
13690
14425
  address?: string | null;
13691
14426
  isVerified?: boolean | null;
13692
14427
  isPrimary?: boolean | null;
14428
+ name?: string | null;
13693
14429
  }
13694
14430
  export interface UpdateCryptoAddressInput {
13695
14431
  clientMutationId?: string;
@@ -13700,18 +14436,56 @@ export interface DeleteCryptoAddressInput {
13700
14436
  clientMutationId?: string;
13701
14437
  id: string;
13702
14438
  }
13703
- export interface CreateAppInviteInput {
14439
+ export interface CreateWebauthnCredentialInput {
13704
14440
  clientMutationId?: string;
13705
- appInvite: {
13706
- email?: ConstructiveInternalTypeEmail;
13707
- senderId?: string;
13708
- inviteToken?: string;
13709
- inviteValid?: boolean;
13710
- inviteLimit?: number;
13711
- inviteCount?: number;
13712
- multiple?: boolean;
13713
- data?: Record<string, unknown>;
13714
- expiresAt?: string;
14441
+ webauthnCredential: {
14442
+ ownerId?: string;
14443
+ credentialId: string;
14444
+ publicKey: Base64EncodedBinary;
14445
+ signCount?: string;
14446
+ webauthnUserId: string;
14447
+ transports?: string[];
14448
+ credentialDeviceType: string;
14449
+ backupEligible?: boolean;
14450
+ backupState?: boolean;
14451
+ name?: string;
14452
+ lastUsedAt?: string;
14453
+ };
14454
+ }
14455
+ export interface WebauthnCredentialPatch {
14456
+ ownerId?: string | null;
14457
+ credentialId?: string | null;
14458
+ publicKey?: Base64EncodedBinary | null;
14459
+ signCount?: string | null;
14460
+ webauthnUserId?: string | null;
14461
+ transports?: string[] | null;
14462
+ credentialDeviceType?: string | null;
14463
+ backupEligible?: boolean | null;
14464
+ backupState?: boolean | null;
14465
+ name?: string | null;
14466
+ lastUsedAt?: string | null;
14467
+ }
14468
+ export interface UpdateWebauthnCredentialInput {
14469
+ clientMutationId?: string;
14470
+ id: string;
14471
+ webauthnCredentialPatch: WebauthnCredentialPatch;
14472
+ }
14473
+ export interface DeleteWebauthnCredentialInput {
14474
+ clientMutationId?: string;
14475
+ id: string;
14476
+ }
14477
+ export interface CreateAppInviteInput {
14478
+ clientMutationId?: string;
14479
+ appInvite: {
14480
+ email?: ConstructiveInternalTypeEmail;
14481
+ senderId?: string;
14482
+ inviteToken?: string;
14483
+ inviteValid?: boolean;
14484
+ inviteLimit?: number;
14485
+ inviteCount?: number;
14486
+ multiple?: boolean;
14487
+ data?: Record<string, unknown>;
14488
+ expiresAt?: string;
13715
14489
  };
13716
14490
  }
13717
14491
  export interface AppInvitePatch {
@@ -13864,6 +14638,32 @@ export interface DeleteAppPermissionDefaultInput {
13864
14638
  clientMutationId?: string;
13865
14639
  id: string;
13866
14640
  }
14641
+ export interface CreateIdentityProviderInput {
14642
+ clientMutationId?: string;
14643
+ identityProvider: {
14644
+ slug?: string;
14645
+ kind?: string;
14646
+ displayName?: string;
14647
+ enabled?: boolean;
14648
+ isBuiltIn?: boolean;
14649
+ };
14650
+ }
14651
+ export interface IdentityProviderPatch {
14652
+ slug?: string | null;
14653
+ kind?: string | null;
14654
+ displayName?: string | null;
14655
+ enabled?: boolean | null;
14656
+ isBuiltIn?: boolean | null;
14657
+ }
14658
+ export interface UpdateIdentityProviderInput {
14659
+ clientMutationId?: string;
14660
+ id: string;
14661
+ identityProviderPatch: IdentityProviderPatch;
14662
+ }
14663
+ export interface DeleteIdentityProviderInput {
14664
+ clientMutationId?: string;
14665
+ id: string;
14666
+ }
13867
14667
  export interface CreateRefInput {
13868
14668
  clientMutationId?: string;
13869
14669
  ref: {
@@ -14066,6 +14866,30 @@ export interface DeleteAppMembershipDefaultInput {
14066
14866
  clientMutationId?: string;
14067
14867
  id: string;
14068
14868
  }
14869
+ export interface CreateOrgMembershipDefaultInput {
14870
+ clientMutationId?: string;
14871
+ orgMembershipDefault: {
14872
+ createdBy?: string;
14873
+ updatedBy?: string;
14874
+ isApproved?: boolean;
14875
+ entityId: string;
14876
+ };
14877
+ }
14878
+ export interface OrgMembershipDefaultPatch {
14879
+ createdBy?: string | null;
14880
+ updatedBy?: string | null;
14881
+ isApproved?: boolean | null;
14882
+ entityId?: string | null;
14883
+ }
14884
+ export interface UpdateOrgMembershipDefaultInput {
14885
+ clientMutationId?: string;
14886
+ id: string;
14887
+ orgMembershipDefaultPatch: OrgMembershipDefaultPatch;
14888
+ }
14889
+ export interface DeleteOrgMembershipDefaultInput {
14890
+ clientMutationId?: string;
14891
+ id: string;
14892
+ }
14069
14893
  export interface CreateCommitInput {
14070
14894
  clientMutationId?: string;
14071
14895
  commit: {
@@ -14156,34 +14980,6 @@ export interface DeleteMembershipTypeInput {
14156
14980
  clientMutationId?: string;
14157
14981
  id: number;
14158
14982
  }
14159
- export interface CreateOrgMembershipDefaultInput {
14160
- clientMutationId?: string;
14161
- orgMembershipDefault: {
14162
- createdBy?: string;
14163
- updatedBy?: string;
14164
- isApproved?: boolean;
14165
- entityId: string;
14166
- deleteMemberCascadeGroups?: boolean;
14167
- createGroupsCascadeMembers?: boolean;
14168
- };
14169
- }
14170
- export interface OrgMembershipDefaultPatch {
14171
- createdBy?: string | null;
14172
- updatedBy?: string | null;
14173
- isApproved?: boolean | null;
14174
- entityId?: string | null;
14175
- deleteMemberCascadeGroups?: boolean | null;
14176
- createGroupsCascadeMembers?: boolean | null;
14177
- }
14178
- export interface UpdateOrgMembershipDefaultInput {
14179
- clientMutationId?: string;
14180
- id: string;
14181
- orgMembershipDefaultPatch: OrgMembershipDefaultPatch;
14182
- }
14183
- export interface DeleteOrgMembershipDefaultInput {
14184
- clientMutationId?: string;
14185
- id: string;
14186
- }
14187
14983
  export interface CreateRlsModuleInput {
14188
14984
  clientMutationId?: string;
14189
14985
  rlsModule: {
@@ -14258,6 +15054,40 @@ export interface DeleteSqlActionInput {
14258
15054
  clientMutationId?: string;
14259
15055
  id: number;
14260
15056
  }
15057
+ export interface CreateOrgMembershipSettingInput {
15058
+ clientMutationId?: string;
15059
+ orgMembershipSetting: {
15060
+ createdBy?: string;
15061
+ updatedBy?: string;
15062
+ entityId: string;
15063
+ deleteMemberCascadeChildren?: boolean;
15064
+ createChildCascadeOwners?: boolean;
15065
+ createChildCascadeAdmins?: boolean;
15066
+ createChildCascadeMembers?: boolean;
15067
+ allowExternalMembers?: boolean;
15068
+ populateMemberEmail?: boolean;
15069
+ };
15070
+ }
15071
+ export interface OrgMembershipSettingPatch {
15072
+ createdBy?: string | null;
15073
+ updatedBy?: string | null;
15074
+ entityId?: string | null;
15075
+ deleteMemberCascadeChildren?: boolean | null;
15076
+ createChildCascadeOwners?: boolean | null;
15077
+ createChildCascadeAdmins?: boolean | null;
15078
+ createChildCascadeMembers?: boolean | null;
15079
+ allowExternalMembers?: boolean | null;
15080
+ populateMemberEmail?: boolean | null;
15081
+ }
15082
+ export interface UpdateOrgMembershipSettingInput {
15083
+ clientMutationId?: string;
15084
+ id: string;
15085
+ orgMembershipSettingPatch: OrgMembershipSettingPatch;
15086
+ }
15087
+ export interface DeleteOrgMembershipSettingInput {
15088
+ clientMutationId?: string;
15089
+ id: string;
15090
+ }
14261
15091
  export interface CreateUserInput {
14262
15092
  clientMutationId?: string;
14263
15093
  user: {
@@ -14523,12 +15353,6 @@ export interface CopyTemplateToBlueprintInput {
14523
15353
  nameOverride?: string;
14524
15354
  displayNameOverride?: string;
14525
15355
  }
14526
- export interface CreateApiKeyInput {
14527
- clientMutationId?: string;
14528
- keyName: string;
14529
- accessLevel?: string;
14530
- mfaLevel?: string;
14531
- }
14532
15356
  export interface ProvisionSpatialRelationInput {
14533
15357
  clientMutationId?: string;
14534
15358
  pDatabaseId?: string;
@@ -14643,7 +15467,6 @@ export interface ProvisionRelationInput {
14643
15467
  exposeInApi?: boolean;
14644
15468
  nodes?: Record<string, unknown>;
14645
15469
  grants?: Record<string, unknown>;
14646
- grantRoles?: string[];
14647
15470
  policies?: Record<string, unknown>;
14648
15471
  }
14649
15472
  export interface ApplyRlsInput {
@@ -14675,6 +15498,13 @@ export interface ExtendTokenExpiresInput {
14675
15498
  clientMutationId?: string;
14676
15499
  amount?: IntervalInput;
14677
15500
  }
15501
+ export interface CreateApiKeyInput {
15502
+ clientMutationId?: string;
15503
+ keyName?: string;
15504
+ accessLevel?: string;
15505
+ mfaLevel?: string;
15506
+ expiresIn?: IntervalInput;
15507
+ }
14678
15508
  export interface SignUpInput {
14679
15509
  clientMutationId?: string;
14680
15510
  email?: string;
@@ -14709,7 +15539,6 @@ export interface ProvisionTableInput {
14709
15539
  fields?: Record<string, unknown>;
14710
15540
  policies?: Record<string, unknown>;
14711
15541
  grants?: Record<string, unknown>;
14712
- grantRoles?: string[];
14713
15542
  useRls?: boolean;
14714
15543
  indexes?: Record<string, unknown>;
14715
15544
  fullTextSearches?: Record<string, unknown>;
@@ -14726,6 +15555,13 @@ export interface ForgotPasswordInput {
14726
15555
  export interface RequestUploadUrlInput {
14727
15556
  /** Bucket key (e.g., "public", "private") */
14728
15557
  bucketKey: string;
15558
+ /**
15559
+ * Owner entity ID for entity-scoped uploads.
15560
+ * Omit for app-level (database-wide) storage.
15561
+ * When provided, resolves the storage module for the entity type
15562
+ * that owns this entity instance (e.g., a data room ID, team ID).
15563
+ */
15564
+ ownerId?: string;
14729
15565
  /** SHA-256 content hash computed by the client (hex-encoded, 64 chars) */
14730
15566
  contentHash: string;
14731
15567
  /** MIME type of the file (e.g., "image/png") */
@@ -14742,6 +15578,11 @@ export interface ConfirmUploadInput {
14742
15578
  export interface ProvisionBucketInput {
14743
15579
  /** The logical bucket key (e.g., "public", "private") */
14744
15580
  bucketKey: string;
15581
+ /**
15582
+ * Owner entity ID for entity-scoped bucket provisioning.
15583
+ * Omit for app-level (database-wide) storage.
15584
+ */
15585
+ ownerId?: string;
14745
15586
  }
14746
15587
  /** A filter to be used against many `Schema` object types. All fields are combined with a logical ‘and.’ */
14747
15588
  export interface DatabaseToManySchemaFilter {
@@ -15265,6 +16106,33 @@ export interface DatabaseToManyWebauthnCredentialsModuleFilter {
15265
16106
  /** Filters to entities where no related entity matches. */
15266
16107
  none?: WebauthnCredentialsModuleFilter;
15267
16108
  }
16109
+ /** A filter to be used against many `WebauthnAuthModule` object types. All fields are combined with a logical ‘and.’ */
16110
+ export interface DatabaseToManyWebauthnAuthModuleFilter {
16111
+ /** Filters to entities where at least one related entity matches. */
16112
+ some?: WebauthnAuthModuleFilter;
16113
+ /** Filters to entities where every related entity matches. */
16114
+ every?: WebauthnAuthModuleFilter;
16115
+ /** Filters to entities where no related entity matches. */
16116
+ none?: WebauthnAuthModuleFilter;
16117
+ }
16118
+ /** A filter to be used against many `IdentityProvidersModule` object types. All fields are combined with a logical ‘and.’ */
16119
+ export interface DatabaseToManyIdentityProvidersModuleFilter {
16120
+ /** Filters to entities where at least one related entity matches. */
16121
+ some?: IdentityProvidersModuleFilter;
16122
+ /** Filters to entities where every related entity matches. */
16123
+ every?: IdentityProvidersModuleFilter;
16124
+ /** Filters to entities where no related entity matches. */
16125
+ none?: IdentityProvidersModuleFilter;
16126
+ }
16127
+ /** A filter to be used against many `NotificationsModule` object types. All fields are combined with a logical ‘and.’ */
16128
+ export interface DatabaseToManyNotificationsModuleFilter {
16129
+ /** Filters to entities where at least one related entity matches. */
16130
+ some?: NotificationsModuleFilter;
16131
+ /** Filters to entities where every related entity matches. */
16132
+ every?: NotificationsModuleFilter;
16133
+ /** Filters to entities where no related entity matches. */
16134
+ none?: NotificationsModuleFilter;
16135
+ }
15268
16136
  /** A filter to be used against many `DatabaseProvisionModule` object types. All fields are combined with a logical ‘and.’ */
15269
16137
  export interface DatabaseToManyDatabaseProvisionModuleFilter {
15270
16138
  /** Filters to entities where at least one related entity matches. */
@@ -15362,6 +16230,15 @@ export interface SchemaToManySessionSecretsModuleFilter {
15362
16230
  /** Filters to entities where no related entity matches. */
15363
16231
  none?: SessionSecretsModuleFilter;
15364
16232
  }
16233
+ /** A filter to be used against many `IdentityProvidersModule` object types. All fields are combined with a logical ‘and.’ */
16234
+ export interface SchemaToManyIdentityProvidersModuleFilter {
16235
+ /** Filters to entities where at least one related entity matches. */
16236
+ some?: IdentityProvidersModuleFilter;
16237
+ /** Filters to entities where every related entity matches. */
16238
+ every?: IdentityProvidersModuleFilter;
16239
+ /** Filters to entities where no related entity matches. */
16240
+ none?: IdentityProvidersModuleFilter;
16241
+ }
15365
16242
  /** A filter to be used against many `CheckConstraint` object types. All fields are combined with a logical ‘and.’ */
15366
16243
  export interface TableToManyCheckConstraintFilter {
15367
16244
  /** Filters to entities where at least one related entity matches. */
@@ -15515,6 +16392,15 @@ export interface TableToManySessionSecretsModuleFilter {
15515
16392
  /** Filters to entities where no related entity matches. */
15516
16393
  none?: SessionSecretsModuleFilter;
15517
16394
  }
16395
+ /** A filter to be used against many `IdentityProvidersModule` object types. All fields are combined with a logical ‘and.’ */
16396
+ export interface TableToManyIdentityProvidersModuleFilter {
16397
+ /** Filters to entities where at least one related entity matches. */
16398
+ some?: IdentityProvidersModuleFilter;
16399
+ /** Filters to entities where every related entity matches. */
16400
+ every?: IdentityProvidersModuleFilter;
16401
+ /** Filters to entities where no related entity matches. */
16402
+ none?: IdentityProvidersModuleFilter;
16403
+ }
15518
16404
  /** A filter to be used against many `SpatialRelation` object types. All fields are combined with a logical ‘and.’ */
15519
16405
  export interface FieldToManySpatialRelationFilter {
15520
16406
  /** Filters to entities where at least one related entity matches. */
@@ -16048,6 +16934,23 @@ export interface ConstructiveInternalTypeEmailFilter {
16048
16934
  /** Greater than or equal to the specified value (case-insensitive). */
16049
16935
  greaterThanOrEqualToInsensitive?: ConstructiveInternalTypeEmail;
16050
16936
  }
16937
+ /** A filter to be used against Base64EncodedBinary fields. All fields are combined with a logical ‘and.’ */
16938
+ export interface Base64EncodedBinaryFilter {
16939
+ /** Is null (if `true` is specified) or is not null (if `false` is specified). */
16940
+ isNull?: boolean;
16941
+ /** Equal to the specified value. */
16942
+ equalTo?: Base64EncodedBinary;
16943
+ /** Not equal to the specified value. */
16944
+ notEqualTo?: Base64EncodedBinary;
16945
+ /** Not equal to the specified value, treating null like an ordinary value. */
16946
+ distinctFrom?: Base64EncodedBinary;
16947
+ /** Equal to the specified value, treating null like an ordinary value. */
16948
+ notDistinctFrom?: Base64EncodedBinary;
16949
+ /** Included in the specified list. */
16950
+ in?: Base64EncodedBinary[];
16951
+ /** Not included in the specified list. */
16952
+ notIn?: Base64EncodedBinary[];
16953
+ }
16051
16954
  /** A filter to be used against ConstructiveInternalTypeOrigin fields. All fields are combined with a logical ‘and.’ */
16052
16955
  export interface ConstructiveInternalTypeOriginFilter {
16053
16956
  /** Is null (if `true` is specified) or is not null (if `false` is specified). */
@@ -16430,6 +17333,15 @@ export interface UserToManyCryptoAddressFilter {
16430
17333
  /** Filters to entities where no related entity matches. */
16431
17334
  none?: CryptoAddressFilter;
16432
17335
  }
17336
+ /** A filter to be used against many `WebauthnCredential` object types. All fields are combined with a logical ‘and.’ */
17337
+ export interface UserToManyWebauthnCredentialFilter {
17338
+ /** Filters to entities where at least one related entity matches. */
17339
+ some?: WebauthnCredentialFilter;
17340
+ /** Filters to entities where every related entity matches. */
17341
+ every?: WebauthnCredentialFilter;
17342
+ /** Filters to entities where no related entity matches. */
17343
+ none?: WebauthnCredentialFilter;
17344
+ }
16433
17345
  /** A filter to be used against many `AppInvite` object types. All fields are combined with a logical ‘and.’ */
16434
17346
  export interface UserToManyAppInviteFilter {
16435
17347
  /** Filters to entities where at least one related entity matches. */
@@ -16567,6 +17479,14 @@ export interface SchemaFilter {
16567
17479
  sessionSecretsModules?: SchemaToManySessionSecretsModuleFilter;
16568
17480
  /** `sessionSecretsModules` exist. */
16569
17481
  sessionSecretsModulesExist?: boolean;
17482
+ /** Filter by the object’s `identityProvidersModulesByPrivateSchemaId` relation. */
17483
+ identityProvidersModulesByPrivateSchemaId?: SchemaToManyIdentityProvidersModuleFilter;
17484
+ /** `identityProvidersModulesByPrivateSchemaId` exist. */
17485
+ identityProvidersModulesByPrivateSchemaIdExist?: boolean;
17486
+ /** Filter by the object’s `identityProvidersModules` relation. */
17487
+ identityProvidersModules?: SchemaToManyIdentityProvidersModuleFilter;
17488
+ /** `identityProvidersModules` exist. */
17489
+ identityProvidersModulesExist?: boolean;
16570
17490
  }
16571
17491
  /** A filter to be used against `Table` object types. All fields are combined with a logical ‘and.’ */
16572
17492
  export interface TableFilter {
@@ -16706,6 +17626,10 @@ export interface TableFilter {
16706
17626
  sessionSecretsModules?: TableToManySessionSecretsModuleFilter;
16707
17627
  /** `sessionSecretsModules` exist. */
16708
17628
  sessionSecretsModulesExist?: boolean;
17629
+ /** Filter by the object’s `identityProvidersModules` relation. */
17630
+ identityProvidersModules?: TableToManyIdentityProvidersModuleFilter;
17631
+ /** `identityProvidersModules` exist. */
17632
+ identityProvidersModulesExist?: boolean;
16709
17633
  }
16710
17634
  /** A filter to be used against `CheckConstraint` object types. All fields are combined with a logical ‘and.’ */
16711
17635
  export interface CheckConstraintFilter {
@@ -18257,6 +19181,10 @@ export interface MembershipsModuleFilter {
18257
19181
  membershipDefaultsTableId?: UUIDFilter;
18258
19182
  /** Filter by the object’s `membershipDefaultsTableName` field. */
18259
19183
  membershipDefaultsTableName?: StringFilter;
19184
+ /** Filter by the object’s `membershipSettingsTableId` field. */
19185
+ membershipSettingsTableId?: UUIDFilter;
19186
+ /** Filter by the object’s `membershipSettingsTableName` field. */
19187
+ membershipSettingsTableName?: StringFilter;
18260
19188
  /** Filter by the object’s `grantsTableId` field. */
18261
19189
  grantsTableId?: UUIDFilter;
18262
19190
  /** Filter by the object’s `grantsTableName` field. */
@@ -18331,6 +19259,10 @@ export interface MembershipsModuleFilter {
18331
19259
  membersTable?: TableFilter;
18332
19260
  /** Filter by the object’s `membershipDefaultsTable` relation. */
18333
19261
  membershipDefaultsTable?: TableFilter;
19262
+ /** Filter by the object’s `membershipSettingsTable` relation. */
19263
+ membershipSettingsTable?: TableFilter;
19264
+ /** A related `membershipSettingsTable` exists. */
19265
+ membershipSettingsTableExists?: boolean;
18334
19266
  /** Filter by the object’s `membershipsTable` relation. */
18335
19267
  membershipsTable?: TableFilter;
18336
19268
  /** Filter by the object’s `permissionsTable` relation. */
@@ -18697,22 +19629,10 @@ export interface SecureTableProvisionFilter {
18697
19629
  useRls?: BooleanFilter;
18698
19630
  /** Filter by the object’s `fields` field. */
18699
19631
  fields?: JSONListFilter;
18700
- /** Filter by the object’s `grantRoles` field. */
18701
- grantRoles?: StringListFilter;
18702
- /** Filter by the object’s `grantPrivileges` field. */
18703
- grantPrivileges?: JSONListFilter;
18704
- /** Filter by the object’s `policyType` field. */
18705
- policyType?: StringFilter;
18706
- /** Filter by the object’s `policyPrivileges` field. */
18707
- policyPrivileges?: StringListFilter;
18708
- /** Filter by the object’s `policyRole` field. */
18709
- policyRole?: StringFilter;
18710
- /** Filter by the object’s `policyPermissive` field. */
18711
- policyPermissive?: BooleanFilter;
18712
- /** Filter by the object’s `policyName` field. */
18713
- policyName?: StringFilter;
18714
- /** Filter by the object’s `policyData` field. */
18715
- policyData?: JSONFilter;
19632
+ /** Filter by the object’s `grants` field. */
19633
+ grants?: JSONFilter;
19634
+ /** Filter by the object’s `policies` field. */
19635
+ policies?: JSONFilter;
18716
19636
  /** Filter by the object’s `outFields` field. */
18717
19637
  outFields?: UUIDListFilter;
18718
19638
  /** Checks for all expressions in this list. */
@@ -18766,22 +19686,10 @@ export interface RelationProvisionFilter {
18766
19686
  exposeInApi?: BooleanFilter;
18767
19687
  /** Filter by the object’s `nodes` field. */
18768
19688
  nodes?: JSONFilter;
18769
- /** Filter by the object’s `grantRoles` field. */
18770
- grantRoles?: StringListFilter;
18771
- /** Filter by the object’s `grantPrivileges` field. */
18772
- grantPrivileges?: JSONListFilter;
18773
- /** Filter by the object’s `policyType` field. */
18774
- policyType?: StringFilter;
18775
- /** Filter by the object’s `policyPrivileges` field. */
18776
- policyPrivileges?: StringListFilter;
18777
- /** Filter by the object’s `policyRole` field. */
18778
- policyRole?: StringFilter;
18779
- /** Filter by the object’s `policyPermissive` field. */
18780
- policyPermissive?: BooleanFilter;
18781
- /** Filter by the object’s `policyName` field. */
18782
- policyName?: StringFilter;
18783
- /** Filter by the object’s `policyData` field. */
18784
- policyData?: JSONFilter;
19689
+ /** Filter by the object’s `grants` field. */
19690
+ grants?: JSONFilter;
19691
+ /** Filter by the object’s `policies` field. */
19692
+ policies?: JSONFilter;
18785
19693
  /** Filter by the object’s `outFieldId` field. */
18786
19694
  outFieldId?: UUIDFilter;
18787
19695
  /** Filter by the object’s `outJunctionTableId` field. */
@@ -18903,6 +19811,10 @@ export interface StorageModuleFilter {
18903
19811
  filesTableName?: StringFilter;
18904
19812
  /** Filter by the object’s `uploadRequestsTableName` field. */
18905
19813
  uploadRequestsTableName?: StringFilter;
19814
+ /** Filter by the object’s `membershipType` field. */
19815
+ membershipType?: IntFilter;
19816
+ /** Filter by the object’s `policies` field. */
19817
+ policies?: StringListFilter;
18906
19818
  /** Filter by the object’s `entityTableId` field. */
18907
19819
  entityTableId?: UUIDFilter;
18908
19820
  /** Filter by the object’s `endpoint` field. */
@@ -18970,6 +19882,10 @@ export interface EntityTypeProvisionFilter {
18970
19882
  hasProfiles?: BooleanFilter;
18971
19883
  /** Filter by the object’s `hasLevels` field. */
18972
19884
  hasLevels?: BooleanFilter;
19885
+ /** Filter by the object’s `hasStorage` field. */
19886
+ hasStorage?: BooleanFilter;
19887
+ /** Filter by the object’s `storageConfig` field. */
19888
+ storageConfig?: JSONFilter;
18973
19889
  /** Filter by the object’s `skipEntityPolicies` field. */
18974
19890
  skipEntityPolicies?: BooleanFilter;
18975
19891
  /** Filter by the object’s `tableProvision` field. */
@@ -18982,6 +19898,12 @@ export interface EntityTypeProvisionFilter {
18982
19898
  outEntityTableName?: StringFilter;
18983
19899
  /** Filter by the object’s `outInstalledModules` field. */
18984
19900
  outInstalledModules?: StringListFilter;
19901
+ /** Filter by the object’s `outStorageModuleId` field. */
19902
+ outStorageModuleId?: UUIDFilter;
19903
+ /** Filter by the object’s `outBucketsTableId` field. */
19904
+ outBucketsTableId?: UUIDFilter;
19905
+ /** Filter by the object’s `outFilesTableId` field. */
19906
+ outFilesTableId?: UUIDFilter;
18985
19907
  /** Checks for all expressions in this list. */
18986
19908
  and?: EntityTypeProvisionFilter[];
18987
19909
  /** Checks for any expressions in this list. */
@@ -19053,6 +19975,151 @@ export interface WebauthnCredentialsModuleFilter {
19053
19975
  /** Filter by the object’s `table` relation. */
19054
19976
  table?: TableFilter;
19055
19977
  }
19978
+ /** A filter to be used against `WebauthnAuthModule` object types. All fields are combined with a logical ‘and.’ */
19979
+ export interface WebauthnAuthModuleFilter {
19980
+ /** Filter by the object’s `id` field. */
19981
+ id?: UUIDFilter;
19982
+ /** Filter by the object’s `databaseId` field. */
19983
+ databaseId?: UUIDFilter;
19984
+ /** Filter by the object’s `schemaId` field. */
19985
+ schemaId?: UUIDFilter;
19986
+ /** Filter by the object’s `usersTableId` field. */
19987
+ usersTableId?: UUIDFilter;
19988
+ /** Filter by the object’s `credentialsTableId` field. */
19989
+ credentialsTableId?: UUIDFilter;
19990
+ /** Filter by the object’s `sessionsTableId` field. */
19991
+ sessionsTableId?: UUIDFilter;
19992
+ /** Filter by the object’s `sessionCredentialsTableId` field. */
19993
+ sessionCredentialsTableId?: UUIDFilter;
19994
+ /** Filter by the object’s `sessionSecretsTableId` field. */
19995
+ sessionSecretsTableId?: UUIDFilter;
19996
+ /** Filter by the object’s `authSettingsTableId` field. */
19997
+ authSettingsTableId?: UUIDFilter;
19998
+ /** Filter by the object’s `rpId` field. */
19999
+ rpId?: StringFilter;
20000
+ /** Filter by the object’s `rpName` field. */
20001
+ rpName?: StringFilter;
20002
+ /** Filter by the object’s `originAllowlist` field. */
20003
+ originAllowlist?: StringListFilter;
20004
+ /** Filter by the object’s `attestationType` field. */
20005
+ attestationType?: StringFilter;
20006
+ /** Filter by the object’s `requireUserVerification` field. */
20007
+ requireUserVerification?: BooleanFilter;
20008
+ /** Filter by the object’s `residentKey` field. */
20009
+ residentKey?: StringFilter;
20010
+ /** Filter by the object’s `challengeExpiry` field. */
20011
+ challengeExpiry?: IntervalFilter;
20012
+ /** Checks for all expressions in this list. */
20013
+ and?: WebauthnAuthModuleFilter[];
20014
+ /** Checks for any expressions in this list. */
20015
+ or?: WebauthnAuthModuleFilter[];
20016
+ /** Negates the expression. */
20017
+ not?: WebauthnAuthModuleFilter;
20018
+ /** Filter by the object’s `authSettingsTable` relation. */
20019
+ authSettingsTable?: TableFilter;
20020
+ /** Filter by the object’s `credentialsTable` relation. */
20021
+ credentialsTable?: TableFilter;
20022
+ /** Filter by the object’s `database` relation. */
20023
+ database?: DatabaseFilter;
20024
+ /** Filter by the object’s `schema` relation. */
20025
+ schema?: SchemaFilter;
20026
+ /** Filter by the object’s `sessionCredentialsTable` relation. */
20027
+ sessionCredentialsTable?: TableFilter;
20028
+ /** Filter by the object’s `sessionSecretsTable` relation. */
20029
+ sessionSecretsTable?: TableFilter;
20030
+ /** Filter by the object’s `sessionsTable` relation. */
20031
+ sessionsTable?: TableFilter;
20032
+ /** Filter by the object’s `usersTable` relation. */
20033
+ usersTable?: TableFilter;
20034
+ }
20035
+ /** A filter to be used against `IdentityProvidersModule` object types. All fields are combined with a logical ‘and.’ */
20036
+ export interface IdentityProvidersModuleFilter {
20037
+ /** Filter by the object’s `id` field. */
20038
+ id?: UUIDFilter;
20039
+ /** Filter by the object’s `databaseId` field. */
20040
+ databaseId?: UUIDFilter;
20041
+ /** Filter by the object’s `schemaId` field. */
20042
+ schemaId?: UUIDFilter;
20043
+ /** Filter by the object’s `privateSchemaId` field. */
20044
+ privateSchemaId?: UUIDFilter;
20045
+ /** Filter by the object’s `tableId` field. */
20046
+ tableId?: UUIDFilter;
20047
+ /** Filter by the object’s `tableName` field. */
20048
+ tableName?: StringFilter;
20049
+ /** Checks for all expressions in this list. */
20050
+ and?: IdentityProvidersModuleFilter[];
20051
+ /** Checks for any expressions in this list. */
20052
+ or?: IdentityProvidersModuleFilter[];
20053
+ /** Negates the expression. */
20054
+ not?: IdentityProvidersModuleFilter;
20055
+ /** Filter by the object’s `database` relation. */
20056
+ database?: DatabaseFilter;
20057
+ /** Filter by the object’s `privateSchema` relation. */
20058
+ privateSchema?: SchemaFilter;
20059
+ /** Filter by the object’s `schema` relation. */
20060
+ schema?: SchemaFilter;
20061
+ /** Filter by the object’s `table` relation. */
20062
+ table?: TableFilter;
20063
+ }
20064
+ /** A filter to be used against `NotificationsModule` object types. All fields are combined with a logical ‘and.’ */
20065
+ export interface NotificationsModuleFilter {
20066
+ /** Filter by the object’s `id` field. */
20067
+ id?: UUIDFilter;
20068
+ /** Filter by the object’s `databaseId` field. */
20069
+ databaseId?: UUIDFilter;
20070
+ /** Filter by the object’s `schemaId` field. */
20071
+ schemaId?: UUIDFilter;
20072
+ /** Filter by the object’s `privateSchemaId` field. */
20073
+ privateSchemaId?: UUIDFilter;
20074
+ /** Filter by the object’s `notificationsTableId` field. */
20075
+ notificationsTableId?: UUIDFilter;
20076
+ /** Filter by the object’s `eventsTableId` field. */
20077
+ eventsTableId?: UUIDFilter;
20078
+ /** Filter by the object’s `preferencesTableId` field. */
20079
+ preferencesTableId?: UUIDFilter;
20080
+ /** Filter by the object’s `channelsTableId` field. */
20081
+ channelsTableId?: UUIDFilter;
20082
+ /** Filter by the object’s `deliveryLogTableId` field. */
20083
+ deliveryLogTableId?: UUIDFilter;
20084
+ /** Filter by the object’s `ownerTableId` field. */
20085
+ ownerTableId?: UUIDFilter;
20086
+ /** Filter by the object’s `userSettingsTableId` field. */
20087
+ userSettingsTableId?: UUIDFilter;
20088
+ /** Filter by the object’s `organizationSettingsTableId` field. */
20089
+ organizationSettingsTableId?: UUIDFilter;
20090
+ /** Checks for all expressions in this list. */
20091
+ and?: NotificationsModuleFilter[];
20092
+ /** Checks for any expressions in this list. */
20093
+ or?: NotificationsModuleFilter[];
20094
+ /** Negates the expression. */
20095
+ not?: NotificationsModuleFilter;
20096
+ /** Filter by the object’s `channelsTableByChannelsTableId` relation. */
20097
+ channelsTableByChannelsTableId?: TableFilter;
20098
+ /** Filter by the object’s `database` relation. */
20099
+ database?: DatabaseFilter;
20100
+ /** Filter by the object’s `deliveryLogTableByDeliveryLogTableId` relation. */
20101
+ deliveryLogTableByDeliveryLogTableId?: TableFilter;
20102
+ /** Filter by the object’s `eventsTableByEventsTableId` relation. */
20103
+ eventsTableByEventsTableId?: TableFilter;
20104
+ /** Filter by the object’s `notificationsTableByNotificationsTableId` relation. */
20105
+ notificationsTableByNotificationsTableId?: TableFilter;
20106
+ /** Filter by the object’s `organizationSettingsTableByOrganizationSettingsTableId` relation. */
20107
+ organizationSettingsTableByOrganizationSettingsTableId?: TableFilter;
20108
+ /** A related `organizationSettingsTableByOrganizationSettingsTableId` exists. */
20109
+ organizationSettingsTableByOrganizationSettingsTableIdExists?: boolean;
20110
+ /** Filter by the object’s `ownerTable` relation. */
20111
+ ownerTable?: TableFilter;
20112
+ /** Filter by the object’s `preferencesTableByPreferencesTableId` relation. */
20113
+ preferencesTableByPreferencesTableId?: TableFilter;
20114
+ /** Filter by the object’s `privateSchema` relation. */
20115
+ privateSchema?: SchemaFilter;
20116
+ /** Filter by the object’s `schema` relation. */
20117
+ schema?: SchemaFilter;
20118
+ /** Filter by the object’s `userSettingsTableByUserSettingsTableId` relation. */
20119
+ userSettingsTableByUserSettingsTableId?: TableFilter;
20120
+ /** A related `userSettingsTableByUserSettingsTableId` exists. */
20121
+ userSettingsTableByUserSettingsTableIdExists?: boolean;
20122
+ }
19056
20123
  /** A filter to be used against `DatabaseProvisionModule` object types. All fields are combined with a logical ‘and.’ */
19057
20124
  export interface DatabaseProvisionModuleFilter {
19058
20125
  /** Filter by the object’s `id` field. */
@@ -19452,6 +20519,18 @@ export interface DatabaseFilter {
19452
20519
  webauthnCredentialsModules?: DatabaseToManyWebauthnCredentialsModuleFilter;
19453
20520
  /** `webauthnCredentialsModules` exist. */
19454
20521
  webauthnCredentialsModulesExist?: boolean;
20522
+ /** Filter by the object’s `webauthnAuthModules` relation. */
20523
+ webauthnAuthModules?: DatabaseToManyWebauthnAuthModuleFilter;
20524
+ /** `webauthnAuthModules` exist. */
20525
+ webauthnAuthModulesExist?: boolean;
20526
+ /** Filter by the object’s `identityProvidersModules` relation. */
20527
+ identityProvidersModules?: DatabaseToManyIdentityProvidersModuleFilter;
20528
+ /** `identityProvidersModules` exist. */
20529
+ identityProvidersModulesExist?: boolean;
20530
+ /** Filter by the object’s `notificationsModules` relation. */
20531
+ notificationsModules?: DatabaseToManyNotificationsModuleFilter;
20532
+ /** `notificationsModules` exist. */
20533
+ notificationsModulesExist?: boolean;
19455
20534
  /** Filter by the object’s `databaseProvisionModules` relation. */
19456
20535
  databaseProvisionModules?: DatabaseToManyDatabaseProvisionModuleFilter;
19457
20536
  /** `databaseProvisionModules` exist. */
@@ -19966,6 +21045,8 @@ export interface EmailFilter {
19966
21045
  isVerified?: BooleanFilter;
19967
21046
  /** Filter by the object’s `isPrimary` field. */
19968
21047
  isPrimary?: BooleanFilter;
21048
+ /** Filter by the object’s `name` field. */
21049
+ name?: StringFilter;
19969
21050
  /** Filter by the object’s `createdAt` field. */
19970
21051
  createdAt?: DatetimeFilter;
19971
21052
  /** Filter by the object’s `updatedAt` field. */
@@ -19993,6 +21074,8 @@ export interface PhoneNumberFilter {
19993
21074
  isVerified?: BooleanFilter;
19994
21075
  /** Filter by the object’s `isPrimary` field. */
19995
21076
  isPrimary?: BooleanFilter;
21077
+ /** Filter by the object’s `name` field. */
21078
+ name?: StringFilter;
19996
21079
  /** Filter by the object’s `createdAt` field. */
19997
21080
  createdAt?: DatetimeFilter;
19998
21081
  /** Filter by the object’s `updatedAt` field. */
@@ -20018,6 +21101,8 @@ export interface CryptoAddressFilter {
20018
21101
  isVerified?: BooleanFilter;
20019
21102
  /** Filter by the object’s `isPrimary` field. */
20020
21103
  isPrimary?: BooleanFilter;
21104
+ /** Filter by the object’s `name` field. */
21105
+ name?: StringFilter;
20021
21106
  /** Filter by the object’s `createdAt` field. */
20022
21107
  createdAt?: DatetimeFilter;
20023
21108
  /** Filter by the object’s `updatedAt` field. */
@@ -20031,6 +21116,45 @@ export interface CryptoAddressFilter {
20031
21116
  /** Filter by the object’s `owner` relation. */
20032
21117
  owner?: UserFilter;
20033
21118
  }
21119
+ /** A filter to be used against `WebauthnCredential` object types. All fields are combined with a logical ‘and.’ */
21120
+ export interface WebauthnCredentialFilter {
21121
+ /** Filter by the object’s `id` field. */
21122
+ id?: UUIDFilter;
21123
+ /** Filter by the object’s `ownerId` field. */
21124
+ ownerId?: UUIDFilter;
21125
+ /** Filter by the object’s `credentialId` field. */
21126
+ credentialId?: StringFilter;
21127
+ /** Filter by the object’s `publicKey` field. */
21128
+ publicKey?: Base64EncodedBinaryFilter;
21129
+ /** Filter by the object’s `signCount` field. */
21130
+ signCount?: BigIntFilter;
21131
+ /** Filter by the object’s `webauthnUserId` field. */
21132
+ webauthnUserId?: StringFilter;
21133
+ /** Filter by the object’s `transports` field. */
21134
+ transports?: StringListFilter;
21135
+ /** Filter by the object’s `credentialDeviceType` field. */
21136
+ credentialDeviceType?: StringFilter;
21137
+ /** Filter by the object’s `backupEligible` field. */
21138
+ backupEligible?: BooleanFilter;
21139
+ /** Filter by the object’s `backupState` field. */
21140
+ backupState?: BooleanFilter;
21141
+ /** Filter by the object’s `name` field. */
21142
+ name?: StringFilter;
21143
+ /** Filter by the object’s `lastUsedAt` field. */
21144
+ lastUsedAt?: DatetimeFilter;
21145
+ /** Filter by the object’s `createdAt` field. */
21146
+ createdAt?: DatetimeFilter;
21147
+ /** Filter by the object’s `updatedAt` field. */
21148
+ updatedAt?: DatetimeFilter;
21149
+ /** Checks for all expressions in this list. */
21150
+ and?: WebauthnCredentialFilter[];
21151
+ /** Checks for any expressions in this list. */
21152
+ or?: WebauthnCredentialFilter[];
21153
+ /** Negates the expression. */
21154
+ not?: WebauthnCredentialFilter;
21155
+ /** Filter by the object’s `owner` relation. */
21156
+ owner?: UserFilter;
21157
+ }
20034
21158
  /** A filter to be used against `AppInvite` object types. All fields are combined with a logical ‘and.’ */
20035
21159
  export interface AppInviteFilter {
20036
21160
  /** Filter by the object’s `id` field. */
@@ -20604,6 +21728,10 @@ export interface UserFilter {
20604
21728
  orgMembershipDefaultByEntityId?: OrgMembershipDefaultFilter;
20605
21729
  /** A related `orgMembershipDefaultByEntityId` exists. */
20606
21730
  orgMembershipDefaultByEntityIdExists?: boolean;
21731
+ /** Filter by the object’s `orgMembershipSettingByEntityId` relation. */
21732
+ orgMembershipSettingByEntityId?: OrgMembershipSettingFilter;
21733
+ /** A related `orgMembershipSettingByEntityId` exists. */
21734
+ orgMembershipSettingByEntityIdExists?: boolean;
20607
21735
  /** Filter by the object’s `orgMembersByActorId` relation. */
20608
21736
  orgMembersByActorId?: UserToManyOrgMemberFilter;
20609
21737
  /** `orgMembersByActorId` exist. */
@@ -20724,6 +21852,10 @@ export interface UserFilter {
20724
21852
  ownedCryptoAddresses?: UserToManyCryptoAddressFilter;
20725
21853
  /** `ownedCryptoAddresses` exist. */
20726
21854
  ownedCryptoAddressesExist?: boolean;
21855
+ /** Filter by the object’s `ownedWebauthnCredentials` relation. */
21856
+ ownedWebauthnCredentials?: UserToManyWebauthnCredentialFilter;
21857
+ /** `ownedWebauthnCredentials` exist. */
21858
+ ownedWebauthnCredentialsExist?: boolean;
20727
21859
  /** Filter by the object’s `appInvitesBySenderId` relation. */
20728
21860
  appInvitesBySenderId?: UserToManyAppInviteFilter;
20729
21861
  /** `appInvitesBySenderId` exist. */
@@ -21105,10 +22237,6 @@ export interface OrgMembershipDefaultFilter {
21105
22237
  isApproved?: BooleanFilter;
21106
22238
  /** Filter by the object’s `entityId` field. */
21107
22239
  entityId?: UUIDFilter;
21108
- /** Filter by the object’s `deleteMemberCascadeGroups` field. */
21109
- deleteMemberCascadeGroups?: BooleanFilter;
21110
- /** Filter by the object’s `createGroupsCascadeMembers` field. */
21111
- createGroupsCascadeMembers?: BooleanFilter;
21112
22240
  /** Checks for all expressions in this list. */
21113
22241
  and?: OrgMembershipDefaultFilter[];
21114
22242
  /** Checks for any expressions in this list. */
@@ -21118,12 +22246,47 @@ export interface OrgMembershipDefaultFilter {
21118
22246
  /** Filter by the object’s `entity` relation. */
21119
22247
  entity?: UserFilter;
21120
22248
  }
21121
- /** A connection to a list of `Object` values. */
21122
- export interface ObjectConnection {
21123
- nodes: Object[];
21124
- edges: ObjectEdge[];
21125
- pageInfo: PageInfo;
21126
- totalCount: number;
22249
+ /** A filter to be used against `OrgMembershipSetting` object types. All fields are combined with a logical ‘and.’ */
22250
+ export interface OrgMembershipSettingFilter {
22251
+ /** Filter by the object’s `id` field. */
22252
+ id?: UUIDFilter;
22253
+ /** Filter by the object’s `createdAt` field. */
22254
+ createdAt?: DatetimeFilter;
22255
+ /** Filter by the object’s `updatedAt` field. */
22256
+ updatedAt?: DatetimeFilter;
22257
+ /** Filter by the object’s `createdBy` field. */
22258
+ createdBy?: UUIDFilter;
22259
+ /** Filter by the object’s `updatedBy` field. */
22260
+ updatedBy?: UUIDFilter;
22261
+ /** Filter by the object’s `entityId` field. */
22262
+ entityId?: UUIDFilter;
22263
+ /** Filter by the object’s `deleteMemberCascadeChildren` field. */
22264
+ deleteMemberCascadeChildren?: BooleanFilter;
22265
+ /** Filter by the object’s `createChildCascadeOwners` field. */
22266
+ createChildCascadeOwners?: BooleanFilter;
22267
+ /** Filter by the object’s `createChildCascadeAdmins` field. */
22268
+ createChildCascadeAdmins?: BooleanFilter;
22269
+ /** Filter by the object’s `createChildCascadeMembers` field. */
22270
+ createChildCascadeMembers?: BooleanFilter;
22271
+ /** Filter by the object’s `allowExternalMembers` field. */
22272
+ allowExternalMembers?: BooleanFilter;
22273
+ /** Filter by the object’s `populateMemberEmail` field. */
22274
+ populateMemberEmail?: BooleanFilter;
22275
+ /** Checks for all expressions in this list. */
22276
+ and?: OrgMembershipSettingFilter[];
22277
+ /** Checks for any expressions in this list. */
22278
+ or?: OrgMembershipSettingFilter[];
22279
+ /** Negates the expression. */
22280
+ not?: OrgMembershipSettingFilter;
22281
+ /** Filter by the object’s `entity` relation. */
22282
+ entity?: UserFilter;
22283
+ }
22284
+ /** A connection to a list of `Object` values. */
22285
+ export interface ObjectConnection {
22286
+ nodes: Object[];
22287
+ edges: ObjectEdge[];
22288
+ pageInfo: PageInfo;
22289
+ totalCount: number;
21127
22290
  }
21128
22291
  export type ObjectConnectionSelect = {
21129
22292
  nodes?: {
@@ -21370,16 +22533,6 @@ export type CopyTemplateToBlueprintPayloadSelect = {
21370
22533
  clientMutationId?: boolean;
21371
22534
  result?: boolean;
21372
22535
  };
21373
- export interface CreateApiKeyPayload {
21374
- clientMutationId?: string | null;
21375
- result?: CreateApiKeyRecord | null;
21376
- }
21377
- export type CreateApiKeyPayloadSelect = {
21378
- clientMutationId?: boolean;
21379
- result?: {
21380
- select: CreateApiKeyRecordSelect;
21381
- };
21382
- };
21383
22536
  export interface ProvisionSpatialRelationPayload {
21384
22537
  clientMutationId?: string | null;
21385
22538
  result?: string | null;
@@ -21520,6 +22673,16 @@ export type ExtendTokenExpiresPayloadSelect = {
21520
22673
  select: ExtendTokenExpiresRecordSelect;
21521
22674
  };
21522
22675
  };
22676
+ export interface CreateApiKeyPayload {
22677
+ clientMutationId?: string | null;
22678
+ result?: CreateApiKeyRecord | null;
22679
+ }
22680
+ export type CreateApiKeyPayloadSelect = {
22681
+ clientMutationId?: boolean;
22682
+ result?: {
22683
+ select: CreateApiKeyRecordSelect;
22684
+ };
22685
+ };
21523
22686
  export interface SignUpPayload {
21524
22687
  clientMutationId?: string | null;
21525
22688
  result?: SignUpRecord | null;
@@ -22796,6 +23959,51 @@ export type DeleteSessionSecretsModulePayloadSelect = {
22796
23959
  select: SessionSecretsModuleEdgeSelect;
22797
23960
  };
22798
23961
  };
23962
+ export interface CreateIdentityProvidersModulePayload {
23963
+ clientMutationId?: string | null;
23964
+ /** The `IdentityProvidersModule` that was created by this mutation. */
23965
+ identityProvidersModule?: IdentityProvidersModule | null;
23966
+ identityProvidersModuleEdge?: IdentityProvidersModuleEdge | null;
23967
+ }
23968
+ export type CreateIdentityProvidersModulePayloadSelect = {
23969
+ clientMutationId?: boolean;
23970
+ identityProvidersModule?: {
23971
+ select: IdentityProvidersModuleSelect;
23972
+ };
23973
+ identityProvidersModuleEdge?: {
23974
+ select: IdentityProvidersModuleEdgeSelect;
23975
+ };
23976
+ };
23977
+ export interface UpdateIdentityProvidersModulePayload {
23978
+ clientMutationId?: string | null;
23979
+ /** The `IdentityProvidersModule` that was updated by this mutation. */
23980
+ identityProvidersModule?: IdentityProvidersModule | null;
23981
+ identityProvidersModuleEdge?: IdentityProvidersModuleEdge | null;
23982
+ }
23983
+ export type UpdateIdentityProvidersModulePayloadSelect = {
23984
+ clientMutationId?: boolean;
23985
+ identityProvidersModule?: {
23986
+ select: IdentityProvidersModuleSelect;
23987
+ };
23988
+ identityProvidersModuleEdge?: {
23989
+ select: IdentityProvidersModuleEdgeSelect;
23990
+ };
23991
+ };
23992
+ export interface DeleteIdentityProvidersModulePayload {
23993
+ clientMutationId?: string | null;
23994
+ /** The `IdentityProvidersModule` that was deleted by this mutation. */
23995
+ identityProvidersModule?: IdentityProvidersModule | null;
23996
+ identityProvidersModuleEdge?: IdentityProvidersModuleEdge | null;
23997
+ }
23998
+ export type DeleteIdentityProvidersModulePayloadSelect = {
23999
+ clientMutationId?: boolean;
24000
+ identityProvidersModule?: {
24001
+ select: IdentityProvidersModuleSelect;
24002
+ };
24003
+ identityProvidersModuleEdge?: {
24004
+ select: IdentityProvidersModuleEdgeSelect;
24005
+ };
24006
+ };
22799
24007
  export interface CreateSchemaGrantPayload {
22800
24008
  clientMutationId?: string | null;
22801
24009
  /** The `SchemaGrant` that was created by this mutation. */
@@ -24551,6 +25759,96 @@ export type DeleteWebauthnCredentialsModulePayloadSelect = {
24551
25759
  select: WebauthnCredentialsModuleEdgeSelect;
24552
25760
  };
24553
25761
  };
25762
+ export interface CreateWebauthnAuthModulePayload {
25763
+ clientMutationId?: string | null;
25764
+ /** The `WebauthnAuthModule` that was created by this mutation. */
25765
+ webauthnAuthModule?: WebauthnAuthModule | null;
25766
+ webauthnAuthModuleEdge?: WebauthnAuthModuleEdge | null;
25767
+ }
25768
+ export type CreateWebauthnAuthModulePayloadSelect = {
25769
+ clientMutationId?: boolean;
25770
+ webauthnAuthModule?: {
25771
+ select: WebauthnAuthModuleSelect;
25772
+ };
25773
+ webauthnAuthModuleEdge?: {
25774
+ select: WebauthnAuthModuleEdgeSelect;
25775
+ };
25776
+ };
25777
+ export interface UpdateWebauthnAuthModulePayload {
25778
+ clientMutationId?: string | null;
25779
+ /** The `WebauthnAuthModule` that was updated by this mutation. */
25780
+ webauthnAuthModule?: WebauthnAuthModule | null;
25781
+ webauthnAuthModuleEdge?: WebauthnAuthModuleEdge | null;
25782
+ }
25783
+ export type UpdateWebauthnAuthModulePayloadSelect = {
25784
+ clientMutationId?: boolean;
25785
+ webauthnAuthModule?: {
25786
+ select: WebauthnAuthModuleSelect;
25787
+ };
25788
+ webauthnAuthModuleEdge?: {
25789
+ select: WebauthnAuthModuleEdgeSelect;
25790
+ };
25791
+ };
25792
+ export interface DeleteWebauthnAuthModulePayload {
25793
+ clientMutationId?: string | null;
25794
+ /** The `WebauthnAuthModule` that was deleted by this mutation. */
25795
+ webauthnAuthModule?: WebauthnAuthModule | null;
25796
+ webauthnAuthModuleEdge?: WebauthnAuthModuleEdge | null;
25797
+ }
25798
+ export type DeleteWebauthnAuthModulePayloadSelect = {
25799
+ clientMutationId?: boolean;
25800
+ webauthnAuthModule?: {
25801
+ select: WebauthnAuthModuleSelect;
25802
+ };
25803
+ webauthnAuthModuleEdge?: {
25804
+ select: WebauthnAuthModuleEdgeSelect;
25805
+ };
25806
+ };
25807
+ export interface CreateNotificationsModulePayload {
25808
+ clientMutationId?: string | null;
25809
+ /** The `NotificationsModule` that was created by this mutation. */
25810
+ notificationsModule?: NotificationsModule | null;
25811
+ notificationsModuleEdge?: NotificationsModuleEdge | null;
25812
+ }
25813
+ export type CreateNotificationsModulePayloadSelect = {
25814
+ clientMutationId?: boolean;
25815
+ notificationsModule?: {
25816
+ select: NotificationsModuleSelect;
25817
+ };
25818
+ notificationsModuleEdge?: {
25819
+ select: NotificationsModuleEdgeSelect;
25820
+ };
25821
+ };
25822
+ export interface UpdateNotificationsModulePayload {
25823
+ clientMutationId?: string | null;
25824
+ /** The `NotificationsModule` that was updated by this mutation. */
25825
+ notificationsModule?: NotificationsModule | null;
25826
+ notificationsModuleEdge?: NotificationsModuleEdge | null;
25827
+ }
25828
+ export type UpdateNotificationsModulePayloadSelect = {
25829
+ clientMutationId?: boolean;
25830
+ notificationsModule?: {
25831
+ select: NotificationsModuleSelect;
25832
+ };
25833
+ notificationsModuleEdge?: {
25834
+ select: NotificationsModuleEdgeSelect;
25835
+ };
25836
+ };
25837
+ export interface DeleteNotificationsModulePayload {
25838
+ clientMutationId?: string | null;
25839
+ /** The `NotificationsModule` that was deleted by this mutation. */
25840
+ notificationsModule?: NotificationsModule | null;
25841
+ notificationsModuleEdge?: NotificationsModuleEdge | null;
25842
+ }
25843
+ export type DeleteNotificationsModulePayloadSelect = {
25844
+ clientMutationId?: boolean;
25845
+ notificationsModule?: {
25846
+ select: NotificationsModuleSelect;
25847
+ };
25848
+ notificationsModuleEdge?: {
25849
+ select: NotificationsModuleEdgeSelect;
25850
+ };
25851
+ };
24554
25852
  export interface CreateDatabaseProvisionModulePayload {
24555
25853
  clientMutationId?: string | null;
24556
25854
  /** The `DatabaseProvisionModule` that was created by this mutation. */
@@ -25496,6 +26794,51 @@ export type DeleteCryptoAddressPayloadSelect = {
25496
26794
  select: CryptoAddressEdgeSelect;
25497
26795
  };
25498
26796
  };
26797
+ export interface CreateWebauthnCredentialPayload {
26798
+ clientMutationId?: string | null;
26799
+ /** The `WebauthnCredential` that was created by this mutation. */
26800
+ webauthnCredential?: WebauthnCredential | null;
26801
+ webauthnCredentialEdge?: WebauthnCredentialEdge | null;
26802
+ }
26803
+ export type CreateWebauthnCredentialPayloadSelect = {
26804
+ clientMutationId?: boolean;
26805
+ webauthnCredential?: {
26806
+ select: WebauthnCredentialSelect;
26807
+ };
26808
+ webauthnCredentialEdge?: {
26809
+ select: WebauthnCredentialEdgeSelect;
26810
+ };
26811
+ };
26812
+ export interface UpdateWebauthnCredentialPayload {
26813
+ clientMutationId?: string | null;
26814
+ /** The `WebauthnCredential` that was updated by this mutation. */
26815
+ webauthnCredential?: WebauthnCredential | null;
26816
+ webauthnCredentialEdge?: WebauthnCredentialEdge | null;
26817
+ }
26818
+ export type UpdateWebauthnCredentialPayloadSelect = {
26819
+ clientMutationId?: boolean;
26820
+ webauthnCredential?: {
26821
+ select: WebauthnCredentialSelect;
26822
+ };
26823
+ webauthnCredentialEdge?: {
26824
+ select: WebauthnCredentialEdgeSelect;
26825
+ };
26826
+ };
26827
+ export interface DeleteWebauthnCredentialPayload {
26828
+ clientMutationId?: string | null;
26829
+ /** The `WebauthnCredential` that was deleted by this mutation. */
26830
+ webauthnCredential?: WebauthnCredential | null;
26831
+ webauthnCredentialEdge?: WebauthnCredentialEdge | null;
26832
+ }
26833
+ export type DeleteWebauthnCredentialPayloadSelect = {
26834
+ clientMutationId?: boolean;
26835
+ webauthnCredential?: {
26836
+ select: WebauthnCredentialSelect;
26837
+ };
26838
+ webauthnCredentialEdge?: {
26839
+ select: WebauthnCredentialEdgeSelect;
26840
+ };
26841
+ };
25499
26842
  export interface CreateAppInvitePayload {
25500
26843
  clientMutationId?: string | null;
25501
26844
  /** The `AppInvite` that was created by this mutation. */
@@ -25766,6 +27109,17 @@ export type DeleteAppPermissionDefaultPayloadSelect = {
25766
27109
  select: AppPermissionDefaultEdgeSelect;
25767
27110
  };
25768
27111
  };
27112
+ export interface CreateIdentityProviderPayload {
27113
+ clientMutationId?: string | null;
27114
+ /** The `IdentityProvider` that was created by this mutation. */
27115
+ identityProvider?: IdentityProvider | null;
27116
+ }
27117
+ export type CreateIdentityProviderPayloadSelect = {
27118
+ clientMutationId?: boolean;
27119
+ identityProvider?: {
27120
+ select: IdentityProviderSelect;
27121
+ };
27122
+ };
25769
27123
  export interface CreateRefPayload {
25770
27124
  clientMutationId?: string | null;
25771
27125
  /** The `Ref` that was created by this mutation. */
@@ -26103,6 +27457,51 @@ export type DeleteAppMembershipDefaultPayloadSelect = {
26103
27457
  select: AppMembershipDefaultEdgeSelect;
26104
27458
  };
26105
27459
  };
27460
+ export interface CreateOrgMembershipDefaultPayload {
27461
+ clientMutationId?: string | null;
27462
+ /** The `OrgMembershipDefault` that was created by this mutation. */
27463
+ orgMembershipDefault?: OrgMembershipDefault | null;
27464
+ orgMembershipDefaultEdge?: OrgMembershipDefaultEdge | null;
27465
+ }
27466
+ export type CreateOrgMembershipDefaultPayloadSelect = {
27467
+ clientMutationId?: boolean;
27468
+ orgMembershipDefault?: {
27469
+ select: OrgMembershipDefaultSelect;
27470
+ };
27471
+ orgMembershipDefaultEdge?: {
27472
+ select: OrgMembershipDefaultEdgeSelect;
27473
+ };
27474
+ };
27475
+ export interface UpdateOrgMembershipDefaultPayload {
27476
+ clientMutationId?: string | null;
27477
+ /** The `OrgMembershipDefault` that was updated by this mutation. */
27478
+ orgMembershipDefault?: OrgMembershipDefault | null;
27479
+ orgMembershipDefaultEdge?: OrgMembershipDefaultEdge | null;
27480
+ }
27481
+ export type UpdateOrgMembershipDefaultPayloadSelect = {
27482
+ clientMutationId?: boolean;
27483
+ orgMembershipDefault?: {
27484
+ select: OrgMembershipDefaultSelect;
27485
+ };
27486
+ orgMembershipDefaultEdge?: {
27487
+ select: OrgMembershipDefaultEdgeSelect;
27488
+ };
27489
+ };
27490
+ export interface DeleteOrgMembershipDefaultPayload {
27491
+ clientMutationId?: string | null;
27492
+ /** The `OrgMembershipDefault` that was deleted by this mutation. */
27493
+ orgMembershipDefault?: OrgMembershipDefault | null;
27494
+ orgMembershipDefaultEdge?: OrgMembershipDefaultEdge | null;
27495
+ }
27496
+ export type DeleteOrgMembershipDefaultPayloadSelect = {
27497
+ clientMutationId?: boolean;
27498
+ orgMembershipDefault?: {
27499
+ select: OrgMembershipDefaultSelect;
27500
+ };
27501
+ orgMembershipDefaultEdge?: {
27502
+ select: OrgMembershipDefaultEdgeSelect;
27503
+ };
27504
+ };
26106
27505
  export interface CreateCommitPayload {
26107
27506
  clientMutationId?: string | null;
26108
27507
  /** The `Commit` that was created by this mutation. */
@@ -26238,51 +27637,6 @@ export type DeleteMembershipTypePayloadSelect = {
26238
27637
  select: MembershipTypeEdgeSelect;
26239
27638
  };
26240
27639
  };
26241
- export interface CreateOrgMembershipDefaultPayload {
26242
- clientMutationId?: string | null;
26243
- /** The `OrgMembershipDefault` that was created by this mutation. */
26244
- orgMembershipDefault?: OrgMembershipDefault | null;
26245
- orgMembershipDefaultEdge?: OrgMembershipDefaultEdge | null;
26246
- }
26247
- export type CreateOrgMembershipDefaultPayloadSelect = {
26248
- clientMutationId?: boolean;
26249
- orgMembershipDefault?: {
26250
- select: OrgMembershipDefaultSelect;
26251
- };
26252
- orgMembershipDefaultEdge?: {
26253
- select: OrgMembershipDefaultEdgeSelect;
26254
- };
26255
- };
26256
- export interface UpdateOrgMembershipDefaultPayload {
26257
- clientMutationId?: string | null;
26258
- /** The `OrgMembershipDefault` that was updated by this mutation. */
26259
- orgMembershipDefault?: OrgMembershipDefault | null;
26260
- orgMembershipDefaultEdge?: OrgMembershipDefaultEdge | null;
26261
- }
26262
- export type UpdateOrgMembershipDefaultPayloadSelect = {
26263
- clientMutationId?: boolean;
26264
- orgMembershipDefault?: {
26265
- select: OrgMembershipDefaultSelect;
26266
- };
26267
- orgMembershipDefaultEdge?: {
26268
- select: OrgMembershipDefaultEdgeSelect;
26269
- };
26270
- };
26271
- export interface DeleteOrgMembershipDefaultPayload {
26272
- clientMutationId?: string | null;
26273
- /** The `OrgMembershipDefault` that was deleted by this mutation. */
26274
- orgMembershipDefault?: OrgMembershipDefault | null;
26275
- orgMembershipDefaultEdge?: OrgMembershipDefaultEdge | null;
26276
- }
26277
- export type DeleteOrgMembershipDefaultPayloadSelect = {
26278
- clientMutationId?: boolean;
26279
- orgMembershipDefault?: {
26280
- select: OrgMembershipDefaultSelect;
26281
- };
26282
- orgMembershipDefaultEdge?: {
26283
- select: OrgMembershipDefaultEdgeSelect;
26284
- };
26285
- };
26286
27640
  export interface CreateRlsModulePayload {
26287
27641
  clientMutationId?: string | null;
26288
27642
  /** The `RlsModule` that was created by this mutation. */
@@ -26339,6 +27693,51 @@ export type CreateSqlActionPayloadSelect = {
26339
27693
  select: SqlActionSelect;
26340
27694
  };
26341
27695
  };
27696
+ export interface CreateOrgMembershipSettingPayload {
27697
+ clientMutationId?: string | null;
27698
+ /** The `OrgMembershipSetting` that was created by this mutation. */
27699
+ orgMembershipSetting?: OrgMembershipSetting | null;
27700
+ orgMembershipSettingEdge?: OrgMembershipSettingEdge | null;
27701
+ }
27702
+ export type CreateOrgMembershipSettingPayloadSelect = {
27703
+ clientMutationId?: boolean;
27704
+ orgMembershipSetting?: {
27705
+ select: OrgMembershipSettingSelect;
27706
+ };
27707
+ orgMembershipSettingEdge?: {
27708
+ select: OrgMembershipSettingEdgeSelect;
27709
+ };
27710
+ };
27711
+ export interface UpdateOrgMembershipSettingPayload {
27712
+ clientMutationId?: string | null;
27713
+ /** The `OrgMembershipSetting` that was updated by this mutation. */
27714
+ orgMembershipSetting?: OrgMembershipSetting | null;
27715
+ orgMembershipSettingEdge?: OrgMembershipSettingEdge | null;
27716
+ }
27717
+ export type UpdateOrgMembershipSettingPayloadSelect = {
27718
+ clientMutationId?: boolean;
27719
+ orgMembershipSetting?: {
27720
+ select: OrgMembershipSettingSelect;
27721
+ };
27722
+ orgMembershipSettingEdge?: {
27723
+ select: OrgMembershipSettingEdgeSelect;
27724
+ };
27725
+ };
27726
+ export interface DeleteOrgMembershipSettingPayload {
27727
+ clientMutationId?: string | null;
27728
+ /** The `OrgMembershipSetting` that was deleted by this mutation. */
27729
+ orgMembershipSetting?: OrgMembershipSetting | null;
27730
+ orgMembershipSettingEdge?: OrgMembershipSettingEdge | null;
27731
+ }
27732
+ export type DeleteOrgMembershipSettingPayloadSelect = {
27733
+ clientMutationId?: boolean;
27734
+ orgMembershipSetting?: {
27735
+ select: OrgMembershipSettingSelect;
27736
+ };
27737
+ orgMembershipSettingEdge?: {
27738
+ select: OrgMembershipSettingEdgeSelect;
27739
+ };
27740
+ };
26342
27741
  export interface CreateUserPayload {
26343
27742
  clientMutationId?: string | null;
26344
27743
  /** The `User` that was created by this mutation. */
@@ -26550,14 +27949,6 @@ export type AppLevelRequirementEdgeSelect = {
26550
27949
  select: AppLevelRequirementSelect;
26551
27950
  };
26552
27951
  };
26553
- export interface CreateApiKeyRecord {
26554
- apiKey?: string | null;
26555
- keyId?: string | null;
26556
- }
26557
- export type CreateApiKeyRecordSelect = {
26558
- apiKey?: boolean;
26559
- keyId?: boolean;
26560
- };
26561
27952
  export interface BootstrapUserRecord {
26562
27953
  outUserId?: string | null;
26563
27954
  outEmail?: string | null;
@@ -26624,6 +28015,16 @@ export type ExtendTokenExpiresRecordSelect = {
26624
28015
  sessionId?: boolean;
26625
28016
  expiresAt?: boolean;
26626
28017
  };
28018
+ export interface CreateApiKeyRecord {
28019
+ apiKey?: string | null;
28020
+ keyId?: string | null;
28021
+ expiresAt?: string | null;
28022
+ }
28023
+ export type CreateApiKeyRecordSelect = {
28024
+ apiKey?: boolean;
28025
+ keyId?: boolean;
28026
+ expiresAt?: boolean;
28027
+ };
26627
28028
  export interface SignUpRecord {
26628
28029
  id?: string | null;
26629
28030
  userId?: string | null;
@@ -26932,6 +28333,18 @@ export type SessionSecretsModuleEdgeSelect = {
26932
28333
  select: SessionSecretsModuleSelect;
26933
28334
  };
26934
28335
  };
28336
+ /** A `IdentityProvidersModule` edge in the connection. */
28337
+ export interface IdentityProvidersModuleEdge {
28338
+ cursor?: string | null;
28339
+ /** The `IdentityProvidersModule` at the end of the edge. */
28340
+ node?: IdentityProvidersModule | null;
28341
+ }
28342
+ export type IdentityProvidersModuleEdgeSelect = {
28343
+ cursor?: boolean;
28344
+ node?: {
28345
+ select: IdentityProvidersModuleSelect;
28346
+ };
28347
+ };
26935
28348
  /** A `SchemaGrant` edge in the connection. */
26936
28349
  export interface SchemaGrantEdge {
26937
28350
  cursor?: string | null;
@@ -27400,6 +28813,30 @@ export type WebauthnCredentialsModuleEdgeSelect = {
27400
28813
  select: WebauthnCredentialsModuleSelect;
27401
28814
  };
27402
28815
  };
28816
+ /** A `WebauthnAuthModule` edge in the connection. */
28817
+ export interface WebauthnAuthModuleEdge {
28818
+ cursor?: string | null;
28819
+ /** The `WebauthnAuthModule` at the end of the edge. */
28820
+ node?: WebauthnAuthModule | null;
28821
+ }
28822
+ export type WebauthnAuthModuleEdgeSelect = {
28823
+ cursor?: boolean;
28824
+ node?: {
28825
+ select: WebauthnAuthModuleSelect;
28826
+ };
28827
+ };
28828
+ /** A `NotificationsModule` edge in the connection. */
28829
+ export interface NotificationsModuleEdge {
28830
+ cursor?: string | null;
28831
+ /** The `NotificationsModule` at the end of the edge. */
28832
+ node?: NotificationsModule | null;
28833
+ }
28834
+ export type NotificationsModuleEdgeSelect = {
28835
+ cursor?: boolean;
28836
+ node?: {
28837
+ select: NotificationsModuleSelect;
28838
+ };
28839
+ };
27403
28840
  /** A `DatabaseProvisionModule` edge in the connection. */
27404
28841
  export interface DatabaseProvisionModuleEdge {
27405
28842
  cursor?: string | null;
@@ -27652,6 +29089,18 @@ export type CryptoAddressEdgeSelect = {
27652
29089
  select: CryptoAddressSelect;
27653
29090
  };
27654
29091
  };
29092
+ /** A `WebauthnCredential` edge in the connection. */
29093
+ export interface WebauthnCredentialEdge {
29094
+ cursor?: string | null;
29095
+ /** The `WebauthnCredential` at the end of the edge. */
29096
+ node?: WebauthnCredential | null;
29097
+ }
29098
+ export type WebauthnCredentialEdgeSelect = {
29099
+ cursor?: boolean;
29100
+ node?: {
29101
+ select: WebauthnCredentialSelect;
29102
+ };
29103
+ };
27655
29104
  /** A `AppInvite` edge in the connection. */
27656
29105
  export interface AppInviteEdge {
27657
29106
  cursor?: string | null;
@@ -27808,6 +29257,18 @@ export type AppMembershipDefaultEdgeSelect = {
27808
29257
  select: AppMembershipDefaultSelect;
27809
29258
  };
27810
29259
  };
29260
+ /** A `OrgMembershipDefault` edge in the connection. */
29261
+ export interface OrgMembershipDefaultEdge {
29262
+ cursor?: string | null;
29263
+ /** The `OrgMembershipDefault` at the end of the edge. */
29264
+ node?: OrgMembershipDefault | null;
29265
+ }
29266
+ export type OrgMembershipDefaultEdgeSelect = {
29267
+ cursor?: boolean;
29268
+ node?: {
29269
+ select: OrgMembershipDefaultSelect;
29270
+ };
29271
+ };
27811
29272
  /** A `Commit` edge in the connection. */
27812
29273
  export interface CommitEdge {
27813
29274
  cursor?: string | null;
@@ -27844,18 +29305,6 @@ export type MembershipTypeEdgeSelect = {
27844
29305
  select: MembershipTypeSelect;
27845
29306
  };
27846
29307
  };
27847
- /** A `OrgMembershipDefault` edge in the connection. */
27848
- export interface OrgMembershipDefaultEdge {
27849
- cursor?: string | null;
27850
- /** The `OrgMembershipDefault` at the end of the edge. */
27851
- node?: OrgMembershipDefault | null;
27852
- }
27853
- export type OrgMembershipDefaultEdgeSelect = {
27854
- cursor?: boolean;
27855
- node?: {
27856
- select: OrgMembershipDefaultSelect;
27857
- };
27858
- };
27859
29308
  /** A `RlsModule` edge in the connection. */
27860
29309
  export interface RlsModuleEdge {
27861
29310
  cursor?: string | null;
@@ -27868,6 +29317,18 @@ export type RlsModuleEdgeSelect = {
27868
29317
  select: RlsModuleSelect;
27869
29318
  };
27870
29319
  };
29320
+ /** A `OrgMembershipSetting` edge in the connection. */
29321
+ export interface OrgMembershipSettingEdge {
29322
+ cursor?: string | null;
29323
+ /** The `OrgMembershipSetting` at the end of the edge. */
29324
+ node?: OrgMembershipSetting | null;
29325
+ }
29326
+ export type OrgMembershipSettingEdgeSelect = {
29327
+ cursor?: boolean;
29328
+ node?: {
29329
+ select: OrgMembershipSettingSelect;
29330
+ };
29331
+ };
27871
29332
  /** A `User` edge in the connection. */
27872
29333
  export interface UserEdge {
27873
29334
  cursor?: string | null;