@constructive-sdk/cli 0.29.0 → 0.29.2

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 (199) hide show
  1. package/api/cli/commands/api.js +44 -0
  2. package/api/cli/commands/check-constraint.js +0 -22
  3. package/api/cli/commands/composite-type.js +0 -22
  4. package/api/cli/commands/database-setting.js +44 -0
  5. package/api/cli/commands/domain.js +66 -0
  6. package/api/cli/commands/enum.js +0 -22
  7. package/api/cli/commands/field.js +0 -22
  8. package/api/cli/commands/foreign-key-constraint.js +0 -22
  9. package/api/cli/commands/index.js +0 -22
  10. package/api/cli/commands/policy.js +0 -22
  11. package/api/cli/commands/primary-key-constraint.js +0 -22
  12. package/api/cli/commands/schema.js +0 -22
  13. package/api/cli/commands/site.js +44 -0
  14. package/api/cli/commands/spatial-relation.js +0 -22
  15. package/api/cli/commands/table.js +0 -22
  16. package/api/cli/commands/trigger.js +0 -22
  17. package/api/cli/commands/unique-constraint.js +0 -22
  18. package/api/cli/commands/view.js +0 -22
  19. package/api/orm/input-types.d.ts +144 -171
  20. package/auth/cli/commands/create-org-api-key.d.ts +8 -0
  21. package/auth/cli/commands/create-org-api-key.js +36 -0
  22. package/auth/cli/commands/create-org-principal.d.ts +8 -0
  23. package/auth/cli/commands/create-org-principal.js +36 -0
  24. package/auth/cli/commands/delete-org-principal.d.ts +8 -0
  25. package/auth/cli/commands/delete-org-principal.js +36 -0
  26. package/auth/cli/commands/org-api-key-list.d.ts +8 -0
  27. package/auth/cli/commands/org-api-key-list.js +224 -0
  28. package/auth/cli/commands/principal-entity.d.ts +8 -0
  29. package/auth/cli/commands/principal-entity.js +282 -0
  30. package/auth/cli/commands/principal-scope-override.d.ts +8 -0
  31. package/auth/cli/commands/principal-scope-override.js +171 -0
  32. package/auth/cli/commands/principal.d.ts +8 -0
  33. package/auth/cli/commands/principal.js +171 -0
  34. package/auth/cli/commands/revoke-org-api-key.d.ts +8 -0
  35. package/auth/cli/commands/revoke-org-api-key.js +36 -0
  36. package/auth/cli/commands.js +19 -3
  37. package/auth/cli/executor.d.ts +28 -4
  38. package/auth/orm/index.d.ts +32 -4
  39. package/auth/orm/index.js +8 -0
  40. package/auth/orm/input-types.d.ts +915 -145
  41. package/auth/orm/input-types.js +7 -0
  42. package/auth/orm/models/index.d.ts +4 -0
  43. package/auth/orm/models/index.js +9 -1
  44. package/auth/orm/models/orgApiKeyList.d.ts +36 -0
  45. package/auth/orm/models/orgApiKeyList.js +80 -0
  46. package/auth/orm/models/principal.d.ts +45 -0
  47. package/auth/orm/models/principal.js +93 -0
  48. package/auth/orm/models/principalEntity.d.ts +54 -0
  49. package/auth/orm/models/principalEntity.js +104 -0
  50. package/auth/orm/models/principalScopeOverride.d.ts +36 -0
  51. package/auth/orm/models/principalScopeOverride.js +80 -0
  52. package/auth/orm/mutation/index.d.ts +33 -1
  53. package/auth/orm/mutation/index.js +48 -0
  54. package/auth/orm/query/index.d.ts +4 -4
  55. package/auth/orm/query/index.js +7 -7
  56. package/compute/cli/commands/function-graph-execution.js +0 -22
  57. package/compute/cli/commands/function-graph.js +0 -20
  58. package/compute/cli/commands/platform-namespace-event.d.ts +8 -0
  59. package/compute/cli/commands/platform-namespace-event.js +510 -0
  60. package/compute/cli/commands/platform-namespace.d.ts +8 -0
  61. package/compute/cli/commands/platform-namespace.js +436 -0
  62. package/compute/cli/commands/resource-event.d.ts +8 -0
  63. package/compute/cli/commands/resource-event.js +356 -0
  64. package/compute/cli/commands/resource.d.ts +8 -0
  65. package/compute/cli/commands/resource.js +520 -0
  66. package/compute/cli/commands.js +13 -5
  67. package/compute/cli/executor.d.ts +10 -6
  68. package/compute/orm/index.d.ts +15 -7
  69. package/compute/orm/index.js +10 -2
  70. package/compute/orm/input-types.d.ts +1159 -221
  71. package/compute/orm/input-types.js +4 -0
  72. package/compute/orm/models/index.d.ts +5 -1
  73. package/compute/orm/models/index.js +11 -3
  74. package/compute/orm/models/platformNamespace.d.ts +54 -0
  75. package/compute/orm/models/platformNamespace.js +104 -0
  76. package/compute/orm/models/platformNamespaceEvent.d.ts +56 -0
  77. package/compute/orm/models/platformNamespaceEvent.js +107 -0
  78. package/compute/orm/models/resource.d.ts +54 -0
  79. package/compute/orm/models/resource.js +104 -0
  80. package/compute/orm/models/resourceEvent.d.ts +56 -0
  81. package/compute/orm/models/resourceEvent.js +107 -0
  82. package/compute/orm/mutation/index.d.ts +9 -9
  83. package/compute/orm/mutation/index.js +12 -12
  84. package/esm/api/cli/commands/api.js +44 -0
  85. package/esm/api/cli/commands/check-constraint.js +0 -22
  86. package/esm/api/cli/commands/composite-type.js +0 -22
  87. package/esm/api/cli/commands/database-setting.js +44 -0
  88. package/esm/api/cli/commands/domain.js +66 -0
  89. package/esm/api/cli/commands/enum.js +0 -22
  90. package/esm/api/cli/commands/field.js +0 -22
  91. package/esm/api/cli/commands/foreign-key-constraint.js +0 -22
  92. package/esm/api/cli/commands/index.js +0 -22
  93. package/esm/api/cli/commands/policy.js +0 -22
  94. package/esm/api/cli/commands/primary-key-constraint.js +0 -22
  95. package/esm/api/cli/commands/schema.js +0 -22
  96. package/esm/api/cli/commands/site.js +44 -0
  97. package/esm/api/cli/commands/spatial-relation.js +0 -22
  98. package/esm/api/cli/commands/table.js +0 -22
  99. package/esm/api/cli/commands/trigger.js +0 -22
  100. package/esm/api/cli/commands/unique-constraint.js +0 -22
  101. package/esm/api/cli/commands/view.js +0 -22
  102. package/esm/api/orm/input-types.d.ts +144 -171
  103. package/esm/auth/cli/commands/create-org-api-key.d.ts +8 -0
  104. package/esm/auth/cli/commands/create-org-api-key.js +34 -0
  105. package/esm/auth/cli/commands/create-org-principal.d.ts +8 -0
  106. package/esm/auth/cli/commands/create-org-principal.js +34 -0
  107. package/esm/auth/cli/commands/delete-org-principal.d.ts +8 -0
  108. package/esm/auth/cli/commands/delete-org-principal.js +34 -0
  109. package/esm/auth/cli/commands/org-api-key-list.d.ts +8 -0
  110. package/esm/auth/cli/commands/org-api-key-list.js +222 -0
  111. package/esm/auth/cli/commands/principal-entity.d.ts +8 -0
  112. package/esm/auth/cli/commands/principal-entity.js +280 -0
  113. package/esm/auth/cli/commands/principal-scope-override.d.ts +8 -0
  114. package/esm/auth/cli/commands/principal-scope-override.js +169 -0
  115. package/esm/auth/cli/commands/principal.d.ts +8 -0
  116. package/esm/auth/cli/commands/principal.js +169 -0
  117. package/esm/auth/cli/commands/revoke-org-api-key.d.ts +8 -0
  118. package/esm/auth/cli/commands/revoke-org-api-key.js +34 -0
  119. package/esm/auth/cli/commands.js +19 -3
  120. package/esm/auth/cli/executor.d.ts +28 -4
  121. package/esm/auth/orm/index.d.ts +32 -4
  122. package/esm/auth/orm/index.js +8 -0
  123. package/esm/auth/orm/input-types.d.ts +915 -145
  124. package/esm/auth/orm/input-types.js +7 -0
  125. package/esm/auth/orm/models/index.d.ts +4 -0
  126. package/esm/auth/orm/models/index.js +4 -0
  127. package/esm/auth/orm/models/orgApiKeyList.d.ts +36 -0
  128. package/esm/auth/orm/models/orgApiKeyList.js +76 -0
  129. package/esm/auth/orm/models/principal.d.ts +45 -0
  130. package/esm/auth/orm/models/principal.js +89 -0
  131. package/esm/auth/orm/models/principalEntity.d.ts +54 -0
  132. package/esm/auth/orm/models/principalEntity.js +100 -0
  133. package/esm/auth/orm/models/principalScopeOverride.d.ts +36 -0
  134. package/esm/auth/orm/models/principalScopeOverride.js +76 -0
  135. package/esm/auth/orm/mutation/index.d.ts +33 -1
  136. package/esm/auth/orm/mutation/index.js +48 -0
  137. package/esm/auth/orm/query/index.d.ts +4 -4
  138. package/esm/auth/orm/query/index.js +7 -7
  139. package/esm/compute/cli/commands/function-graph-execution.js +0 -22
  140. package/esm/compute/cli/commands/function-graph.js +0 -20
  141. package/esm/compute/cli/commands/platform-namespace-event.d.ts +8 -0
  142. package/esm/compute/cli/commands/platform-namespace-event.js +508 -0
  143. package/esm/compute/cli/commands/platform-namespace.d.ts +8 -0
  144. package/esm/compute/cli/commands/platform-namespace.js +434 -0
  145. package/esm/compute/cli/commands/resource-event.d.ts +8 -0
  146. package/esm/compute/cli/commands/resource-event.js +354 -0
  147. package/esm/compute/cli/commands/resource.d.ts +8 -0
  148. package/esm/compute/cli/commands/resource.js +518 -0
  149. package/esm/compute/cli/commands.js +13 -5
  150. package/esm/compute/cli/executor.d.ts +10 -6
  151. package/esm/compute/orm/index.d.ts +15 -7
  152. package/esm/compute/orm/index.js +10 -2
  153. package/esm/compute/orm/input-types.d.ts +1159 -221
  154. package/esm/compute/orm/input-types.js +4 -0
  155. package/esm/compute/orm/models/index.d.ts +5 -1
  156. package/esm/compute/orm/models/index.js +5 -1
  157. package/esm/compute/orm/models/platformNamespace.d.ts +54 -0
  158. package/esm/compute/orm/models/platformNamespace.js +100 -0
  159. package/esm/compute/orm/models/platformNamespaceEvent.d.ts +56 -0
  160. package/esm/compute/orm/models/platformNamespaceEvent.js +103 -0
  161. package/esm/compute/orm/models/resource.d.ts +54 -0
  162. package/esm/compute/orm/models/resource.js +100 -0
  163. package/esm/compute/orm/models/resourceEvent.d.ts +56 -0
  164. package/esm/compute/orm/models/resourceEvent.js +103 -0
  165. package/esm/compute/orm/mutation/index.d.ts +9 -9
  166. package/esm/compute/orm/mutation/index.js +12 -12
  167. package/esm/modules/cli/commands/merkle-store-module.js +22 -0
  168. package/esm/modules/cli/commands/principal-auth-module.d.ts +8 -0
  169. package/esm/modules/cli/commands/principal-auth-module.js +580 -0
  170. package/esm/modules/cli/commands/resource-module.d.ts +8 -0
  171. package/esm/modules/cli/commands/resource-module.js +602 -0
  172. package/esm/modules/cli/commands.js +9 -5
  173. package/esm/modules/cli/executor.d.ts +4 -2
  174. package/esm/modules/orm/index.d.ts +8 -4
  175. package/esm/modules/orm/index.js +8 -4
  176. package/esm/modules/orm/input-types.d.ts +868 -411
  177. package/esm/modules/orm/models/index.d.ts +4 -2
  178. package/esm/modules/orm/models/index.js +4 -2
  179. package/esm/modules/orm/models/principalAuthModule.d.ts +54 -0
  180. package/esm/modules/orm/models/principalAuthModule.js +100 -0
  181. package/esm/modules/orm/models/resourceModule.d.ts +54 -0
  182. package/esm/modules/orm/models/resourceModule.js +100 -0
  183. package/modules/cli/commands/merkle-store-module.js +22 -0
  184. package/modules/cli/commands/principal-auth-module.d.ts +8 -0
  185. package/modules/cli/commands/principal-auth-module.js +582 -0
  186. package/modules/cli/commands/resource-module.d.ts +8 -0
  187. package/modules/cli/commands/resource-module.js +604 -0
  188. package/modules/cli/commands.js +9 -5
  189. package/modules/cli/executor.d.ts +4 -2
  190. package/modules/orm/index.d.ts +8 -4
  191. package/modules/orm/index.js +8 -4
  192. package/modules/orm/input-types.d.ts +868 -411
  193. package/modules/orm/models/index.d.ts +4 -2
  194. package/modules/orm/models/index.js +10 -6
  195. package/modules/orm/models/principalAuthModule.d.ts +54 -0
  196. package/modules/orm/models/principalAuthModule.js +104 -0
  197. package/modules/orm/models/resourceModule.d.ts +54 -0
  198. package/modules/orm/models/resourceModule.js +104 -0
  199. package/package.json +5 -5
@@ -604,43 +604,6 @@ export interface SecureTableProvision {
604
604
  /** 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. */
605
605
  outFields?: string[] | null;
606
606
  }
607
- export interface MerkleStoreModule {
608
- id: string;
609
- databaseId?: string | null;
610
- schemaId?: string | null;
611
- privateSchemaId?: string | null;
612
- publicSchemaName?: string | null;
613
- privateSchemaName?: string | null;
614
- objectTableId?: string | null;
615
- storeTableId?: string | null;
616
- commitTableId?: string | null;
617
- refTableId?: string | null;
618
- prefix?: string | null;
619
- apiName?: string | null;
620
- privateApiName?: string | null;
621
- scope?: string | null;
622
- functionPrefix?: string | null;
623
- createdAt?: string | null;
624
- }
625
- export interface GraphModule {
626
- id: string;
627
- databaseId?: string | null;
628
- publicSchemaId?: string | null;
629
- privateSchemaId?: string | null;
630
- publicSchemaName?: string | null;
631
- privateSchemaName?: string | null;
632
- scope?: string | null;
633
- prefix?: string | null;
634
- merkleStoreModuleId?: string | null;
635
- graphsTableId?: string | null;
636
- apiName?: string | null;
637
- privateApiName?: string | null;
638
- entityTableId?: string | null;
639
- policies?: Record<string, unknown> | null;
640
- provisions?: Record<string, unknown> | null;
641
- defaultPermissions?: string[] | null;
642
- createdAt?: string | null;
643
- }
644
607
  /** Tracks database provisioning requests and their status. The BEFORE INSERT trigger creates the database and sets database_id before RLS policies are evaluated. */
645
608
  export interface DatabaseProvisionModule {
646
609
  id: string;
@@ -691,6 +654,44 @@ export interface ConfigSecretsModule {
691
654
  provisions?: Record<string, unknown> | null;
692
655
  hasConfig?: boolean | null;
693
656
  }
657
+ export interface GraphModule {
658
+ id: string;
659
+ databaseId?: string | null;
660
+ publicSchemaId?: string | null;
661
+ privateSchemaId?: string | null;
662
+ publicSchemaName?: string | null;
663
+ privateSchemaName?: string | null;
664
+ scope?: string | null;
665
+ prefix?: string | null;
666
+ merkleStoreModuleId?: string | null;
667
+ graphsTableId?: string | null;
668
+ apiName?: string | null;
669
+ privateApiName?: string | null;
670
+ entityTableId?: string | null;
671
+ policies?: Record<string, unknown> | null;
672
+ provisions?: Record<string, unknown> | null;
673
+ defaultPermissions?: string[] | null;
674
+ createdAt?: string | null;
675
+ }
676
+ export interface MerkleStoreModule {
677
+ id: string;
678
+ databaseId?: string | null;
679
+ schemaId?: string | null;
680
+ privateSchemaId?: string | null;
681
+ publicSchemaName?: string | null;
682
+ privateSchemaName?: string | null;
683
+ objectTableId?: string | null;
684
+ storeTableId?: string | null;
685
+ commitTableId?: string | null;
686
+ refTableId?: string | null;
687
+ prefix?: string | null;
688
+ apiName?: string | null;
689
+ privateApiName?: string | null;
690
+ scope?: string | null;
691
+ functionPrefix?: string | null;
692
+ permissionKey?: string | null;
693
+ createdAt?: string | null;
694
+ }
694
695
  export interface RateLimitMetersModule {
695
696
  id: string;
696
697
  databaseId?: string | null;
@@ -804,6 +805,27 @@ export interface InvitesModule {
804
805
  apiName?: string | null;
805
806
  privateApiName?: string | null;
806
807
  }
808
+ /** Provisions the principals subsystem: a principals table, a principal_entities junction table, create/delete mutations, and org API key management. Supports both human-owned principals (AuthzDirectOwner, AuthzHumanOnly) and org-owned principals (AuthzEntityMembership with is_admin). Org principal and org API key functions are only generated when an org-scoped memberships_module exists for the database. */
809
+ export interface PrincipalAuthModule {
810
+ id: string;
811
+ databaseId?: string | null;
812
+ schemaId?: string | null;
813
+ principalsTableId?: string | null;
814
+ principalEntitiesTableId?: string | null;
815
+ principalScopeOverridesTableId?: string | null;
816
+ usersTableId?: string | null;
817
+ sessionsTableId?: string | null;
818
+ sessionCredentialsTableId?: string | null;
819
+ auditsTableId?: string | null;
820
+ principalsTableName?: string | null;
821
+ createPrincipalFunction?: string | null;
822
+ deletePrincipalFunction?: string | null;
823
+ createOrgPrincipalFunction?: string | null;
824
+ deleteOrgPrincipalFunction?: string | null;
825
+ createOrgApiKeyFunction?: string | null;
826
+ revokeOrgApiKeyFunction?: string | null;
827
+ apiName?: string | null;
828
+ }
807
829
  export interface ComputeLogModule {
808
830
  id: string;
809
831
  databaseId?: string | null;
@@ -867,6 +889,27 @@ export interface NamespaceModule {
867
889
  provisions?: Record<string, unknown> | null;
868
890
  defaultPermissions?: string[] | null;
869
891
  }
892
+ export interface ResourceModule {
893
+ id: string;
894
+ databaseId?: string | null;
895
+ schemaId?: string | null;
896
+ privateSchemaId?: string | null;
897
+ publicSchemaName?: string | null;
898
+ privateSchemaName?: string | null;
899
+ resourcesTableId?: string | null;
900
+ resourceEventsTableId?: string | null;
901
+ resourcesTableName?: string | null;
902
+ resourceEventsTableName?: string | null;
903
+ apiName?: string | null;
904
+ privateApiName?: string | null;
905
+ scope?: string | null;
906
+ prefix?: string | null;
907
+ entityTableId?: string | null;
908
+ namespaceModuleId?: string | null;
909
+ policies?: Record<string, unknown> | null;
910
+ provisions?: Record<string, unknown> | null;
911
+ defaultPermissions?: string[] | null;
912
+ }
870
913
  export interface StorageLogModule {
871
914
  id: string;
872
915
  databaseId?: string | null;
@@ -1850,15 +1893,15 @@ export interface SessionsModuleRelations {
1850
1893
  }
1851
1894
  export interface SecureTableProvisionRelations {
1852
1895
  }
1853
- export interface MerkleStoreModuleRelations {
1854
- graphModules?: ConnectionResult<GraphModule>;
1896
+ export interface DatabaseProvisionModuleRelations {
1897
+ }
1898
+ export interface ConfigSecretsModuleRelations {
1855
1899
  }
1856
1900
  export interface GraphModuleRelations {
1857
1901
  merkleStoreModule?: MerkleStoreModule | null;
1858
1902
  }
1859
- export interface DatabaseProvisionModuleRelations {
1860
- }
1861
- export interface ConfigSecretsModuleRelations {
1903
+ export interface MerkleStoreModuleRelations {
1904
+ graphModules?: ConnectionResult<GraphModule>;
1862
1905
  }
1863
1906
  export interface RateLimitMetersModuleRelations {
1864
1907
  }
@@ -1872,12 +1915,17 @@ export interface FunctionModuleRelations {
1872
1915
  }
1873
1916
  export interface InvitesModuleRelations {
1874
1917
  }
1918
+ export interface PrincipalAuthModuleRelations {
1919
+ }
1875
1920
  export interface ComputeLogModuleRelations {
1876
1921
  }
1877
1922
  export interface InferenceLogModuleRelations {
1878
1923
  }
1879
1924
  export interface NamespaceModuleRelations {
1880
1925
  }
1926
+ export interface ResourceModuleRelations {
1927
+ namespaceModule?: NamespaceModule | null;
1928
+ }
1881
1929
  export interface StorageLogModuleRelations {
1882
1930
  }
1883
1931
  export interface TransferLogModuleRelations {
@@ -1947,19 +1995,21 @@ export type BlueprintConstructionWithRelations = BlueprintConstruction & Bluepri
1947
1995
  export type CryptoAuthModuleWithRelations = CryptoAuthModule & CryptoAuthModuleRelations;
1948
1996
  export type SessionsModuleWithRelations = SessionsModule & SessionsModuleRelations;
1949
1997
  export type SecureTableProvisionWithRelations = SecureTableProvision & SecureTableProvisionRelations;
1950
- export type MerkleStoreModuleWithRelations = MerkleStoreModule & MerkleStoreModuleRelations;
1951
- export type GraphModuleWithRelations = GraphModule & GraphModuleRelations;
1952
1998
  export type DatabaseProvisionModuleWithRelations = DatabaseProvisionModule & DatabaseProvisionModuleRelations;
1953
1999
  export type ConfigSecretsModuleWithRelations = ConfigSecretsModule & ConfigSecretsModuleRelations;
2000
+ export type GraphModuleWithRelations = GraphModule & GraphModuleRelations;
2001
+ export type MerkleStoreModuleWithRelations = MerkleStoreModule & MerkleStoreModuleRelations;
1954
2002
  export type RateLimitMetersModuleWithRelations = RateLimitMetersModule & RateLimitMetersModuleRelations;
1955
2003
  export type RealtimeModuleWithRelations = RealtimeModule & RealtimeModuleRelations;
1956
2004
  export type WebauthnAuthModuleWithRelations = WebauthnAuthModule & WebauthnAuthModuleRelations;
1957
2005
  export type FunctionInvocationModuleWithRelations = FunctionInvocationModule & FunctionInvocationModuleRelations;
1958
2006
  export type FunctionModuleWithRelations = FunctionModule & FunctionModuleRelations;
1959
2007
  export type InvitesModuleWithRelations = InvitesModule & InvitesModuleRelations;
2008
+ export type PrincipalAuthModuleWithRelations = PrincipalAuthModule & PrincipalAuthModuleRelations;
1960
2009
  export type ComputeLogModuleWithRelations = ComputeLogModule & ComputeLogModuleRelations;
1961
2010
  export type InferenceLogModuleWithRelations = InferenceLogModule & InferenceLogModuleRelations;
1962
2011
  export type NamespaceModuleWithRelations = NamespaceModule & NamespaceModuleRelations;
2012
+ export type ResourceModuleWithRelations = ResourceModule & ResourceModuleRelations;
1963
2013
  export type StorageLogModuleWithRelations = StorageLogModule & StorageLogModuleRelations;
1964
2014
  export type TransferLogModuleWithRelations = TransferLogModule & TransferLogModuleRelations;
1965
2015
  export type FunctionDeploymentModuleWithRelations = FunctionDeploymentModule & FunctionDeploymentModuleRelations;
@@ -2301,29 +2351,40 @@ export type SecureTableProvisionSelect = {
2301
2351
  policies?: boolean;
2302
2352
  outFields?: boolean;
2303
2353
  };
2304
- export type MerkleStoreModuleSelect = {
2354
+ export type DatabaseProvisionModuleSelect = {
2355
+ id?: boolean;
2356
+ databaseName?: boolean;
2357
+ ownerId?: boolean;
2358
+ subdomain?: boolean;
2359
+ domain?: boolean;
2360
+ modules?: boolean;
2361
+ options?: boolean;
2362
+ bootstrapUser?: boolean;
2363
+ status?: boolean;
2364
+ errorMessage?: boolean;
2365
+ databaseId?: boolean;
2366
+ createdAt?: boolean;
2367
+ updatedAt?: boolean;
2368
+ completedAt?: boolean;
2369
+ };
2370
+ export type ConfigSecretsModuleSelect = {
2305
2371
  id?: boolean;
2306
2372
  databaseId?: boolean;
2307
2373
  schemaId?: boolean;
2308
2374
  privateSchemaId?: boolean;
2309
2375
  publicSchemaName?: boolean;
2310
2376
  privateSchemaName?: boolean;
2311
- objectTableId?: boolean;
2312
- storeTableId?: boolean;
2313
- commitTableId?: boolean;
2314
- refTableId?: boolean;
2315
- prefix?: boolean;
2377
+ tableId?: boolean;
2378
+ configDefinitionsTableId?: boolean;
2379
+ tableName?: boolean;
2316
2380
  apiName?: boolean;
2317
2381
  privateApiName?: boolean;
2318
2382
  scope?: boolean;
2319
- functionPrefix?: boolean;
2320
- createdAt?: boolean;
2321
- graphModules?: {
2322
- select: GraphModuleSelect;
2323
- first?: number;
2324
- filter?: GraphModuleFilter;
2325
- orderBy?: GraphModuleOrderBy[];
2326
- };
2383
+ prefix?: boolean;
2384
+ entityTableId?: boolean;
2385
+ policies?: boolean;
2386
+ provisions?: boolean;
2387
+ hasConfig?: boolean;
2327
2388
  };
2328
2389
  export type GraphModuleSelect = {
2329
2390
  id?: boolean;
@@ -2347,40 +2408,30 @@ export type GraphModuleSelect = {
2347
2408
  select: MerkleStoreModuleSelect;
2348
2409
  };
2349
2410
  };
2350
- export type DatabaseProvisionModuleSelect = {
2351
- id?: boolean;
2352
- databaseName?: boolean;
2353
- ownerId?: boolean;
2354
- subdomain?: boolean;
2355
- domain?: boolean;
2356
- modules?: boolean;
2357
- options?: boolean;
2358
- bootstrapUser?: boolean;
2359
- status?: boolean;
2360
- errorMessage?: boolean;
2361
- databaseId?: boolean;
2362
- createdAt?: boolean;
2363
- updatedAt?: boolean;
2364
- completedAt?: boolean;
2365
- };
2366
- export type ConfigSecretsModuleSelect = {
2411
+ export type MerkleStoreModuleSelect = {
2367
2412
  id?: boolean;
2368
2413
  databaseId?: boolean;
2369
2414
  schemaId?: boolean;
2370
2415
  privateSchemaId?: boolean;
2371
2416
  publicSchemaName?: boolean;
2372
2417
  privateSchemaName?: boolean;
2373
- tableId?: boolean;
2374
- configDefinitionsTableId?: boolean;
2375
- tableName?: boolean;
2418
+ objectTableId?: boolean;
2419
+ storeTableId?: boolean;
2420
+ commitTableId?: boolean;
2421
+ refTableId?: boolean;
2422
+ prefix?: boolean;
2376
2423
  apiName?: boolean;
2377
2424
  privateApiName?: boolean;
2378
2425
  scope?: boolean;
2379
- prefix?: boolean;
2380
- entityTableId?: boolean;
2381
- policies?: boolean;
2382
- provisions?: boolean;
2383
- hasConfig?: boolean;
2426
+ functionPrefix?: boolean;
2427
+ permissionKey?: boolean;
2428
+ createdAt?: boolean;
2429
+ graphModules?: {
2430
+ select: GraphModuleSelect;
2431
+ first?: number;
2432
+ filter?: GraphModuleFilter;
2433
+ orderBy?: GraphModuleOrderBy[];
2434
+ };
2384
2435
  };
2385
2436
  export type RateLimitMetersModuleSelect = {
2386
2437
  id?: boolean;
@@ -2495,6 +2546,26 @@ export type InvitesModuleSelect = {
2495
2546
  apiName?: boolean;
2496
2547
  privateApiName?: boolean;
2497
2548
  };
2549
+ export type PrincipalAuthModuleSelect = {
2550
+ id?: boolean;
2551
+ databaseId?: boolean;
2552
+ schemaId?: boolean;
2553
+ principalsTableId?: boolean;
2554
+ principalEntitiesTableId?: boolean;
2555
+ principalScopeOverridesTableId?: boolean;
2556
+ usersTableId?: boolean;
2557
+ sessionsTableId?: boolean;
2558
+ sessionCredentialsTableId?: boolean;
2559
+ auditsTableId?: boolean;
2560
+ principalsTableName?: boolean;
2561
+ createPrincipalFunction?: boolean;
2562
+ deletePrincipalFunction?: boolean;
2563
+ createOrgPrincipalFunction?: boolean;
2564
+ deleteOrgPrincipalFunction?: boolean;
2565
+ createOrgApiKeyFunction?: boolean;
2566
+ revokeOrgApiKeyFunction?: boolean;
2567
+ apiName?: boolean;
2568
+ };
2498
2569
  export type ComputeLogModuleSelect = {
2499
2570
  id?: boolean;
2500
2571
  databaseId?: boolean;
@@ -2558,6 +2629,30 @@ export type NamespaceModuleSelect = {
2558
2629
  provisions?: boolean;
2559
2630
  defaultPermissions?: boolean;
2560
2631
  };
2632
+ export type ResourceModuleSelect = {
2633
+ id?: boolean;
2634
+ databaseId?: boolean;
2635
+ schemaId?: boolean;
2636
+ privateSchemaId?: boolean;
2637
+ publicSchemaName?: boolean;
2638
+ privateSchemaName?: boolean;
2639
+ resourcesTableId?: boolean;
2640
+ resourceEventsTableId?: boolean;
2641
+ resourcesTableName?: boolean;
2642
+ resourceEventsTableName?: boolean;
2643
+ apiName?: boolean;
2644
+ privateApiName?: boolean;
2645
+ scope?: boolean;
2646
+ prefix?: boolean;
2647
+ entityTableId?: boolean;
2648
+ namespaceModuleId?: boolean;
2649
+ policies?: boolean;
2650
+ provisions?: boolean;
2651
+ defaultPermissions?: boolean;
2652
+ namespaceModule?: {
2653
+ select: NamespaceModuleSelect;
2654
+ };
2655
+ };
2561
2656
  export type StorageLogModuleSelect = {
2562
2657
  id?: boolean;
2563
2658
  databaseId?: boolean;
@@ -3868,49 +3963,83 @@ export interface SecureTableProvisionFilter {
3868
3963
  /** Negates the expression. */
3869
3964
  not?: SecureTableProvisionFilter;
3870
3965
  }
3871
- export interface MerkleStoreModuleFilter {
3966
+ export interface DatabaseProvisionModuleFilter {
3872
3967
  /** Filter by the object’s `id` field. */
3873
3968
  id?: UUIDFilter;
3969
+ /** Filter by the object’s `databaseName` field. */
3970
+ databaseName?: StringFilter;
3971
+ /** Filter by the object’s `ownerId` field. */
3972
+ ownerId?: UUIDFilter;
3973
+ /** Filter by the object’s `subdomain` field. */
3974
+ subdomain?: StringFilter;
3975
+ /** Filter by the object’s `domain` field. */
3976
+ domain?: StringFilter;
3977
+ /** Filter by the object’s `modules` field. */
3978
+ modules?: JSONFilter;
3979
+ /** Filter by the object’s `options` field. */
3980
+ options?: JSONFilter;
3981
+ /** Filter by the object’s `bootstrapUser` field. */
3982
+ bootstrapUser?: BooleanFilter;
3983
+ /** Filter by the object’s `status` field. */
3984
+ status?: StringFilter;
3985
+ /** Filter by the object’s `errorMessage` field. */
3986
+ errorMessage?: StringFilter;
3874
3987
  /** Filter by the object’s `databaseId` field. */
3875
3988
  databaseId?: UUIDFilter;
3876
- /** Filter by the object’s `schemaId` field. */
3877
- schemaId?: UUIDFilter;
3878
- /** Filter by the object’s `privateSchemaId` field. */
3879
- privateSchemaId?: UUIDFilter;
3880
- /** Filter by the object’s `publicSchemaName` field. */
3881
- publicSchemaName?: StringFilter;
3882
- /** Filter by the object’s `privateSchemaName` field. */
3883
- privateSchemaName?: StringFilter;
3884
- /** Filter by the object’s `objectTableId` field. */
3885
- objectTableId?: UUIDFilter;
3886
- /** Filter by the object’s `storeTableId` field. */
3887
- storeTableId?: UUIDFilter;
3888
- /** Filter by the object’s `commitTableId` field. */
3889
- commitTableId?: UUIDFilter;
3890
- /** Filter by the object’s `refTableId` field. */
3891
- refTableId?: UUIDFilter;
3892
- /** Filter by the object’s `prefix` field. */
3893
- prefix?: StringFilter;
3989
+ /** Filter by the object’s `createdAt` field. */
3990
+ createdAt?: DatetimeFilter;
3991
+ /** Filter by the object’s `updatedAt` field. */
3992
+ updatedAt?: DatetimeFilter;
3993
+ /** Filter by the object’s `completedAt` field. */
3994
+ completedAt?: DatetimeFilter;
3995
+ /** Checks for all expressions in this list. */
3996
+ and?: DatabaseProvisionModuleFilter[];
3997
+ /** Checks for any expressions in this list. */
3998
+ or?: DatabaseProvisionModuleFilter[];
3999
+ /** Negates the expression. */
4000
+ not?: DatabaseProvisionModuleFilter;
4001
+ }
4002
+ export interface ConfigSecretsModuleFilter {
4003
+ /** Filter by the object’s `id` field. */
4004
+ id?: UUIDFilter;
4005
+ /** Filter by the object’s `databaseId` field. */
4006
+ databaseId?: UUIDFilter;
4007
+ /** Filter by the object’s `schemaId` field. */
4008
+ schemaId?: UUIDFilter;
4009
+ /** Filter by the object’s `privateSchemaId` field. */
4010
+ privateSchemaId?: UUIDFilter;
4011
+ /** Filter by the object’s `publicSchemaName` field. */
4012
+ publicSchemaName?: StringFilter;
4013
+ /** Filter by the object’s `privateSchemaName` field. */
4014
+ privateSchemaName?: StringFilter;
4015
+ /** Filter by the object’s `tableId` field. */
4016
+ tableId?: UUIDFilter;
4017
+ /** Filter by the object’s `configDefinitionsTableId` field. */
4018
+ configDefinitionsTableId?: UUIDFilter;
4019
+ /** Filter by the object’s `tableName` field. */
4020
+ tableName?: StringFilter;
3894
4021
  /** Filter by the object’s `apiName` field. */
3895
4022
  apiName?: StringFilter;
3896
4023
  /** Filter by the object’s `privateApiName` field. */
3897
4024
  privateApiName?: StringFilter;
3898
4025
  /** Filter by the object’s `scope` field. */
3899
4026
  scope?: StringFilter;
3900
- /** Filter by the object’s `functionPrefix` field. */
3901
- functionPrefix?: StringFilter;
3902
- /** Filter by the object’s `createdAt` field. */
3903
- createdAt?: DatetimeFilter;
4027
+ /** Filter by the object’s `prefix` field. */
4028
+ prefix?: StringFilter;
4029
+ /** Filter by the object’s `entityTableId` field. */
4030
+ entityTableId?: UUIDFilter;
4031
+ /** Filter by the object’s `policies` field. */
4032
+ policies?: JSONFilter;
4033
+ /** Filter by the object’s `provisions` field. */
4034
+ provisions?: JSONFilter;
4035
+ /** Filter by the object’s `hasConfig` field. */
4036
+ hasConfig?: BooleanFilter;
3904
4037
  /** Checks for all expressions in this list. */
3905
- and?: MerkleStoreModuleFilter[];
4038
+ and?: ConfigSecretsModuleFilter[];
3906
4039
  /** Checks for any expressions in this list. */
3907
- or?: MerkleStoreModuleFilter[];
4040
+ or?: ConfigSecretsModuleFilter[];
3908
4041
  /** Negates the expression. */
3909
- not?: MerkleStoreModuleFilter;
3910
- /** Filter by the object’s `graphModules` relation. */
3911
- graphModules?: MerkleStoreModuleToManyGraphModuleFilter;
3912
- /** `graphModules` exist. */
3913
- graphModulesExist?: boolean;
4042
+ not?: ConfigSecretsModuleFilter;
3914
4043
  }
3915
4044
  export interface GraphModuleFilter {
3916
4045
  /** Filter by the object’s `id` field. */
@@ -3956,43 +4085,7 @@ export interface GraphModuleFilter {
3956
4085
  /** Filter by the object’s `merkleStoreModule` relation. */
3957
4086
  merkleStoreModule?: MerkleStoreModuleFilter;
3958
4087
  }
3959
- export interface DatabaseProvisionModuleFilter {
3960
- /** Filter by the object’s `id` field. */
3961
- id?: UUIDFilter;
3962
- /** Filter by the object’s `databaseName` field. */
3963
- databaseName?: StringFilter;
3964
- /** Filter by the object’s `ownerId` field. */
3965
- ownerId?: UUIDFilter;
3966
- /** Filter by the object’s `subdomain` field. */
3967
- subdomain?: StringFilter;
3968
- /** Filter by the object’s `domain` field. */
3969
- domain?: StringFilter;
3970
- /** Filter by the object’s `modules` field. */
3971
- modules?: JSONFilter;
3972
- /** Filter by the object’s `options` field. */
3973
- options?: JSONFilter;
3974
- /** Filter by the object’s `bootstrapUser` field. */
3975
- bootstrapUser?: BooleanFilter;
3976
- /** Filter by the object’s `status` field. */
3977
- status?: StringFilter;
3978
- /** Filter by the object’s `errorMessage` field. */
3979
- errorMessage?: StringFilter;
3980
- /** Filter by the object’s `databaseId` field. */
3981
- databaseId?: UUIDFilter;
3982
- /** Filter by the object’s `createdAt` field. */
3983
- createdAt?: DatetimeFilter;
3984
- /** Filter by the object’s `updatedAt` field. */
3985
- updatedAt?: DatetimeFilter;
3986
- /** Filter by the object’s `completedAt` field. */
3987
- completedAt?: DatetimeFilter;
3988
- /** Checks for all expressions in this list. */
3989
- and?: DatabaseProvisionModuleFilter[];
3990
- /** Checks for any expressions in this list. */
3991
- or?: DatabaseProvisionModuleFilter[];
3992
- /** Negates the expression. */
3993
- not?: DatabaseProvisionModuleFilter;
3994
- }
3995
- export interface ConfigSecretsModuleFilter {
4088
+ export interface MerkleStoreModuleFilter {
3996
4089
  /** Filter by the object’s `id` field. */
3997
4090
  id?: UUIDFilter;
3998
4091
  /** Filter by the object’s `databaseId` field. */
@@ -4005,34 +4098,38 @@ export interface ConfigSecretsModuleFilter {
4005
4098
  publicSchemaName?: StringFilter;
4006
4099
  /** Filter by the object’s `privateSchemaName` field. */
4007
4100
  privateSchemaName?: StringFilter;
4008
- /** Filter by the object’s `tableId` field. */
4009
- tableId?: UUIDFilter;
4010
- /** Filter by the object’s `configDefinitionsTableId` field. */
4011
- configDefinitionsTableId?: UUIDFilter;
4012
- /** Filter by the object’s `tableName` field. */
4013
- tableName?: StringFilter;
4101
+ /** Filter by the object’s `objectTableId` field. */
4102
+ objectTableId?: UUIDFilter;
4103
+ /** Filter by the object’s `storeTableId` field. */
4104
+ storeTableId?: UUIDFilter;
4105
+ /** Filter by the object’s `commitTableId` field. */
4106
+ commitTableId?: UUIDFilter;
4107
+ /** Filter by the object’s `refTableId` field. */
4108
+ refTableId?: UUIDFilter;
4109
+ /** Filter by the object’s `prefix` field. */
4110
+ prefix?: StringFilter;
4014
4111
  /** Filter by the object’s `apiName` field. */
4015
4112
  apiName?: StringFilter;
4016
4113
  /** Filter by the object’s `privateApiName` field. */
4017
4114
  privateApiName?: StringFilter;
4018
4115
  /** Filter by the object’s `scope` field. */
4019
4116
  scope?: StringFilter;
4020
- /** Filter by the object’s `prefix` field. */
4021
- prefix?: StringFilter;
4022
- /** Filter by the object’s `entityTableId` field. */
4023
- entityTableId?: UUIDFilter;
4024
- /** Filter by the object’s `policies` field. */
4025
- policies?: JSONFilter;
4026
- /** Filter by the object’s `provisions` field. */
4027
- provisions?: JSONFilter;
4028
- /** Filter by the object’s `hasConfig` field. */
4029
- hasConfig?: BooleanFilter;
4117
+ /** Filter by the object’s `functionPrefix` field. */
4118
+ functionPrefix?: StringFilter;
4119
+ /** Filter by the object’s `permissionKey` field. */
4120
+ permissionKey?: StringFilter;
4121
+ /** Filter by the object’s `createdAt` field. */
4122
+ createdAt?: DatetimeFilter;
4030
4123
  /** Checks for all expressions in this list. */
4031
- and?: ConfigSecretsModuleFilter[];
4124
+ and?: MerkleStoreModuleFilter[];
4032
4125
  /** Checks for any expressions in this list. */
4033
- or?: ConfigSecretsModuleFilter[];
4126
+ or?: MerkleStoreModuleFilter[];
4034
4127
  /** Negates the expression. */
4035
- not?: ConfigSecretsModuleFilter;
4128
+ not?: MerkleStoreModuleFilter;
4129
+ /** Filter by the object’s `graphModules` relation. */
4130
+ graphModules?: MerkleStoreModuleToManyGraphModuleFilter;
4131
+ /** `graphModules` exist. */
4132
+ graphModulesExist?: boolean;
4036
4133
  }
4037
4134
  export interface RateLimitMetersModuleFilter {
4038
4135
  /** Filter by the object’s `id` field. */
@@ -4284,6 +4381,50 @@ export interface InvitesModuleFilter {
4284
4381
  /** Negates the expression. */
4285
4382
  not?: InvitesModuleFilter;
4286
4383
  }
4384
+ export interface PrincipalAuthModuleFilter {
4385
+ /** Filter by the object’s `id` field. */
4386
+ id?: UUIDFilter;
4387
+ /** Filter by the object’s `databaseId` field. */
4388
+ databaseId?: UUIDFilter;
4389
+ /** Filter by the object’s `schemaId` field. */
4390
+ schemaId?: UUIDFilter;
4391
+ /** Filter by the object’s `principalsTableId` field. */
4392
+ principalsTableId?: UUIDFilter;
4393
+ /** Filter by the object’s `principalEntitiesTableId` field. */
4394
+ principalEntitiesTableId?: UUIDFilter;
4395
+ /** Filter by the object’s `principalScopeOverridesTableId` field. */
4396
+ principalScopeOverridesTableId?: UUIDFilter;
4397
+ /** Filter by the object’s `usersTableId` field. */
4398
+ usersTableId?: UUIDFilter;
4399
+ /** Filter by the object’s `sessionsTableId` field. */
4400
+ sessionsTableId?: UUIDFilter;
4401
+ /** Filter by the object’s `sessionCredentialsTableId` field. */
4402
+ sessionCredentialsTableId?: UUIDFilter;
4403
+ /** Filter by the object’s `auditsTableId` field. */
4404
+ auditsTableId?: UUIDFilter;
4405
+ /** Filter by the object’s `principalsTableName` field. */
4406
+ principalsTableName?: StringFilter;
4407
+ /** Filter by the object’s `createPrincipalFunction` field. */
4408
+ createPrincipalFunction?: StringFilter;
4409
+ /** Filter by the object’s `deletePrincipalFunction` field. */
4410
+ deletePrincipalFunction?: StringFilter;
4411
+ /** Filter by the object’s `createOrgPrincipalFunction` field. */
4412
+ createOrgPrincipalFunction?: StringFilter;
4413
+ /** Filter by the object’s `deleteOrgPrincipalFunction` field. */
4414
+ deleteOrgPrincipalFunction?: StringFilter;
4415
+ /** Filter by the object’s `createOrgApiKeyFunction` field. */
4416
+ createOrgApiKeyFunction?: StringFilter;
4417
+ /** Filter by the object’s `revokeOrgApiKeyFunction` field. */
4418
+ revokeOrgApiKeyFunction?: StringFilter;
4419
+ /** Filter by the object’s `apiName` field. */
4420
+ apiName?: StringFilter;
4421
+ /** Checks for all expressions in this list. */
4422
+ and?: PrincipalAuthModuleFilter[];
4423
+ /** Checks for any expressions in this list. */
4424
+ or?: PrincipalAuthModuleFilter[];
4425
+ /** Negates the expression. */
4426
+ not?: PrincipalAuthModuleFilter;
4427
+ }
4287
4428
  export interface ComputeLogModuleFilter {
4288
4429
  /** Filter by the object’s `id` field. */
4289
4430
  id?: UUIDFilter;
@@ -4422,6 +4563,56 @@ export interface NamespaceModuleFilter {
4422
4563
  /** Negates the expression. */
4423
4564
  not?: NamespaceModuleFilter;
4424
4565
  }
4566
+ export interface ResourceModuleFilter {
4567
+ /** Filter by the object’s `id` field. */
4568
+ id?: UUIDFilter;
4569
+ /** Filter by the object’s `databaseId` field. */
4570
+ databaseId?: UUIDFilter;
4571
+ /** Filter by the object’s `schemaId` field. */
4572
+ schemaId?: UUIDFilter;
4573
+ /** Filter by the object’s `privateSchemaId` field. */
4574
+ privateSchemaId?: UUIDFilter;
4575
+ /** Filter by the object’s `publicSchemaName` field. */
4576
+ publicSchemaName?: StringFilter;
4577
+ /** Filter by the object’s `privateSchemaName` field. */
4578
+ privateSchemaName?: StringFilter;
4579
+ /** Filter by the object’s `resourcesTableId` field. */
4580
+ resourcesTableId?: UUIDFilter;
4581
+ /** Filter by the object’s `resourceEventsTableId` field. */
4582
+ resourceEventsTableId?: UUIDFilter;
4583
+ /** Filter by the object’s `resourcesTableName` field. */
4584
+ resourcesTableName?: StringFilter;
4585
+ /** Filter by the object’s `resourceEventsTableName` field. */
4586
+ resourceEventsTableName?: StringFilter;
4587
+ /** Filter by the object’s `apiName` field. */
4588
+ apiName?: StringFilter;
4589
+ /** Filter by the object’s `privateApiName` field. */
4590
+ privateApiName?: StringFilter;
4591
+ /** Filter by the object’s `scope` field. */
4592
+ scope?: StringFilter;
4593
+ /** Filter by the object’s `prefix` field. */
4594
+ prefix?: StringFilter;
4595
+ /** Filter by the object’s `entityTableId` field. */
4596
+ entityTableId?: UUIDFilter;
4597
+ /** Filter by the object’s `namespaceModuleId` field. */
4598
+ namespaceModuleId?: UUIDFilter;
4599
+ /** Filter by the object’s `policies` field. */
4600
+ policies?: JSONFilter;
4601
+ /** Filter by the object’s `provisions` field. */
4602
+ provisions?: JSONFilter;
4603
+ /** Filter by the object’s `defaultPermissions` field. */
4604
+ defaultPermissions?: StringListFilter;
4605
+ /** Checks for all expressions in this list. */
4606
+ and?: ResourceModuleFilter[];
4607
+ /** Checks for any expressions in this list. */
4608
+ or?: ResourceModuleFilter[];
4609
+ /** Negates the expression. */
4610
+ not?: ResourceModuleFilter;
4611
+ /** Filter by the object’s `namespaceModule` relation. */
4612
+ namespaceModule?: NamespaceModuleFilter;
4613
+ /** A related `namespaceModule` exists. */
4614
+ namespaceModuleExists?: boolean;
4615
+ }
4425
4616
  export interface StorageLogModuleFilter {
4426
4617
  /** Filter by the object’s `id` field. */
4427
4618
  id?: UUIDFilter;
@@ -5712,19 +5903,21 @@ export type BlueprintConstructionOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIM
5712
5903
  export type CryptoAuthModuleOrderBy = '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' | 'SECRETS_TABLE_ID_ASC' | 'SECRETS_TABLE_ID_DESC' | 'SESSIONS_TABLE_ID_ASC' | 'SESSIONS_TABLE_ID_DESC' | 'SESSION_CREDENTIALS_TABLE_ID_ASC' | 'SESSION_CREDENTIALS_TABLE_ID_DESC' | 'ADDRESSES_TABLE_ID_ASC' | 'ADDRESSES_TABLE_ID_DESC' | 'USER_FIELD_ASC' | 'USER_FIELD_DESC' | 'CRYPTO_NETWORK_ASC' | 'CRYPTO_NETWORK_DESC' | 'SIGN_IN_REQUEST_CHALLENGE_ASC' | 'SIGN_IN_REQUEST_CHALLENGE_DESC' | 'SIGN_IN_RECORD_FAILURE_ASC' | 'SIGN_IN_RECORD_FAILURE_DESC' | 'SIGN_UP_WITH_KEY_ASC' | 'SIGN_UP_WITH_KEY_DESC' | 'SIGN_IN_WITH_CHALLENGE_ASC' | 'SIGN_IN_WITH_CHALLENGE_DESC';
5713
5904
  export type SessionsModuleOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'SESSIONS_TABLE_ID_ASC' | 'SESSIONS_TABLE_ID_DESC' | 'SESSION_CREDENTIALS_TABLE_ID_ASC' | 'SESSION_CREDENTIALS_TABLE_ID_DESC' | 'AUTH_SETTINGS_TABLE_ID_ASC' | 'AUTH_SETTINGS_TABLE_ID_DESC' | 'USERS_TABLE_ID_ASC' | 'USERS_TABLE_ID_DESC' | 'SESSIONS_DEFAULT_EXPIRATION_ASC' | 'SESSIONS_DEFAULT_EXPIRATION_DESC' | 'SESSIONS_TABLE_ASC' | 'SESSIONS_TABLE_DESC' | 'SESSION_CREDENTIALS_TABLE_ASC' | 'SESSION_CREDENTIALS_TABLE_DESC' | 'AUTH_SETTINGS_TABLE_ASC' | 'AUTH_SETTINGS_TABLE_DESC';
5714
5905
  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';
5715
- export type MerkleStoreModuleOrderBy = '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' | 'PUBLIC_SCHEMA_NAME_ASC' | 'PUBLIC_SCHEMA_NAME_DESC' | 'PRIVATE_SCHEMA_NAME_ASC' | 'PRIVATE_SCHEMA_NAME_DESC' | 'OBJECT_TABLE_ID_ASC' | 'OBJECT_TABLE_ID_DESC' | 'STORE_TABLE_ID_ASC' | 'STORE_TABLE_ID_DESC' | 'COMMIT_TABLE_ID_ASC' | 'COMMIT_TABLE_ID_DESC' | 'REF_TABLE_ID_ASC' | 'REF_TABLE_ID_DESC' | 'PREFIX_ASC' | 'PREFIX_DESC' | 'API_NAME_ASC' | 'API_NAME_DESC' | 'PRIVATE_API_NAME_ASC' | 'PRIVATE_API_NAME_DESC' | 'SCOPE_ASC' | 'SCOPE_DESC' | 'FUNCTION_PREFIX_ASC' | 'FUNCTION_PREFIX_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC';
5716
- export type GraphModuleOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'PUBLIC_SCHEMA_ID_ASC' | 'PUBLIC_SCHEMA_ID_DESC' | 'PRIVATE_SCHEMA_ID_ASC' | 'PRIVATE_SCHEMA_ID_DESC' | 'PUBLIC_SCHEMA_NAME_ASC' | 'PUBLIC_SCHEMA_NAME_DESC' | 'PRIVATE_SCHEMA_NAME_ASC' | 'PRIVATE_SCHEMA_NAME_DESC' | 'SCOPE_ASC' | 'SCOPE_DESC' | 'PREFIX_ASC' | 'PREFIX_DESC' | 'MERKLE_STORE_MODULE_ID_ASC' | 'MERKLE_STORE_MODULE_ID_DESC' | 'GRAPHS_TABLE_ID_ASC' | 'GRAPHS_TABLE_ID_DESC' | 'API_NAME_ASC' | 'API_NAME_DESC' | 'PRIVATE_API_NAME_ASC' | 'PRIVATE_API_NAME_DESC' | 'ENTITY_TABLE_ID_ASC' | 'ENTITY_TABLE_ID_DESC' | 'POLICIES_ASC' | 'POLICIES_DESC' | 'PROVISIONS_ASC' | 'PROVISIONS_DESC' | 'DEFAULT_PERMISSIONS_ASC' | 'DEFAULT_PERMISSIONS_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC';
5717
5906
  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';
5718
5907
  export type ConfigSecretsModuleOrderBy = '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' | 'PUBLIC_SCHEMA_NAME_ASC' | 'PUBLIC_SCHEMA_NAME_DESC' | 'PRIVATE_SCHEMA_NAME_ASC' | 'PRIVATE_SCHEMA_NAME_DESC' | 'TABLE_ID_ASC' | 'TABLE_ID_DESC' | 'CONFIG_DEFINITIONS_TABLE_ID_ASC' | 'CONFIG_DEFINITIONS_TABLE_ID_DESC' | 'TABLE_NAME_ASC' | 'TABLE_NAME_DESC' | 'API_NAME_ASC' | 'API_NAME_DESC' | 'PRIVATE_API_NAME_ASC' | 'PRIVATE_API_NAME_DESC' | 'SCOPE_ASC' | 'SCOPE_DESC' | 'PREFIX_ASC' | 'PREFIX_DESC' | 'ENTITY_TABLE_ID_ASC' | 'ENTITY_TABLE_ID_DESC' | 'POLICIES_ASC' | 'POLICIES_DESC' | 'PROVISIONS_ASC' | 'PROVISIONS_DESC' | 'HAS_CONFIG_ASC' | 'HAS_CONFIG_DESC';
5908
+ export type GraphModuleOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'PUBLIC_SCHEMA_ID_ASC' | 'PUBLIC_SCHEMA_ID_DESC' | 'PRIVATE_SCHEMA_ID_ASC' | 'PRIVATE_SCHEMA_ID_DESC' | 'PUBLIC_SCHEMA_NAME_ASC' | 'PUBLIC_SCHEMA_NAME_DESC' | 'PRIVATE_SCHEMA_NAME_ASC' | 'PRIVATE_SCHEMA_NAME_DESC' | 'SCOPE_ASC' | 'SCOPE_DESC' | 'PREFIX_ASC' | 'PREFIX_DESC' | 'MERKLE_STORE_MODULE_ID_ASC' | 'MERKLE_STORE_MODULE_ID_DESC' | 'GRAPHS_TABLE_ID_ASC' | 'GRAPHS_TABLE_ID_DESC' | 'API_NAME_ASC' | 'API_NAME_DESC' | 'PRIVATE_API_NAME_ASC' | 'PRIVATE_API_NAME_DESC' | 'ENTITY_TABLE_ID_ASC' | 'ENTITY_TABLE_ID_DESC' | 'POLICIES_ASC' | 'POLICIES_DESC' | 'PROVISIONS_ASC' | 'PROVISIONS_DESC' | 'DEFAULT_PERMISSIONS_ASC' | 'DEFAULT_PERMISSIONS_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC';
5909
+ export type MerkleStoreModuleOrderBy = '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' | 'PUBLIC_SCHEMA_NAME_ASC' | 'PUBLIC_SCHEMA_NAME_DESC' | 'PRIVATE_SCHEMA_NAME_ASC' | 'PRIVATE_SCHEMA_NAME_DESC' | 'OBJECT_TABLE_ID_ASC' | 'OBJECT_TABLE_ID_DESC' | 'STORE_TABLE_ID_ASC' | 'STORE_TABLE_ID_DESC' | 'COMMIT_TABLE_ID_ASC' | 'COMMIT_TABLE_ID_DESC' | 'REF_TABLE_ID_ASC' | 'REF_TABLE_ID_DESC' | 'PREFIX_ASC' | 'PREFIX_DESC' | 'API_NAME_ASC' | 'API_NAME_DESC' | 'PRIVATE_API_NAME_ASC' | 'PRIVATE_API_NAME_DESC' | 'SCOPE_ASC' | 'SCOPE_DESC' | 'FUNCTION_PREFIX_ASC' | 'FUNCTION_PREFIX_DESC' | 'PERMISSION_KEY_ASC' | 'PERMISSION_KEY_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC';
5719
5910
  export type RateLimitMetersModuleOrderBy = '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' | 'PUBLIC_SCHEMA_NAME_ASC' | 'PUBLIC_SCHEMA_NAME_DESC' | 'PRIVATE_SCHEMA_NAME_ASC' | 'PRIVATE_SCHEMA_NAME_DESC' | 'RATE_LIMIT_STATE_TABLE_ID_ASC' | 'RATE_LIMIT_STATE_TABLE_ID_DESC' | 'RATE_LIMIT_STATE_TABLE_NAME_ASC' | 'RATE_LIMIT_STATE_TABLE_NAME_DESC' | 'RATE_LIMIT_OVERRIDES_TABLE_ID_ASC' | 'RATE_LIMIT_OVERRIDES_TABLE_ID_DESC' | 'RATE_LIMIT_OVERRIDES_TABLE_NAME_ASC' | 'RATE_LIMIT_OVERRIDES_TABLE_NAME_DESC' | 'RATE_WINDOW_LIMITS_TABLE_ID_ASC' | 'RATE_WINDOW_LIMITS_TABLE_ID_DESC' | 'RATE_WINDOW_LIMITS_TABLE_NAME_ASC' | 'RATE_WINDOW_LIMITS_TABLE_NAME_DESC' | 'CHECK_RATE_LIMIT_FUNCTION_ASC' | 'CHECK_RATE_LIMIT_FUNCTION_DESC' | 'PREFIX_ASC' | 'PREFIX_DESC' | 'DEFAULT_PERMISSIONS_ASC' | 'DEFAULT_PERMISSIONS_DESC' | 'API_NAME_ASC' | 'API_NAME_DESC' | 'PRIVATE_API_NAME_ASC' | 'PRIVATE_API_NAME_DESC';
5720
5911
  export type RealtimeModuleOrderBy = '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' | 'SUBSCRIPTIONS_SCHEMA_ID_ASC' | 'SUBSCRIPTIONS_SCHEMA_ID_DESC' | 'CHANGE_LOG_TABLE_ID_ASC' | 'CHANGE_LOG_TABLE_ID_DESC' | 'LISTENER_NODE_TABLE_ID_ASC' | 'LISTENER_NODE_TABLE_ID_DESC' | 'SOURCE_REGISTRY_TABLE_ID_ASC' | 'SOURCE_REGISTRY_TABLE_ID_DESC' | 'RETENTION_HOURS_ASC' | 'RETENTION_HOURS_DESC' | 'PREMAKE_ASC' | 'PREMAKE_DESC' | 'INTERVAL_ASC' | 'INTERVAL_DESC' | 'NOTIFY_CHANNEL_ASC' | 'NOTIFY_CHANNEL_DESC' | 'API_NAME_ASC' | 'API_NAME_DESC' | 'PRIVATE_API_NAME_ASC' | 'PRIVATE_API_NAME_DESC';
5721
5912
  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';
5722
5913
  export type FunctionInvocationModuleOrderBy = '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' | 'PUBLIC_SCHEMA_NAME_ASC' | 'PUBLIC_SCHEMA_NAME_DESC' | 'PRIVATE_SCHEMA_NAME_ASC' | 'PRIVATE_SCHEMA_NAME_DESC' | 'INVOCATIONS_TABLE_ID_ASC' | 'INVOCATIONS_TABLE_ID_DESC' | 'EXECUTION_LOGS_TABLE_ID_ASC' | 'EXECUTION_LOGS_TABLE_ID_DESC' | 'INVOCATIONS_TABLE_NAME_ASC' | 'INVOCATIONS_TABLE_NAME_DESC' | 'EXECUTION_LOGS_TABLE_NAME_ASC' | 'EXECUTION_LOGS_TABLE_NAME_DESC' | 'API_NAME_ASC' | 'API_NAME_DESC' | 'PRIVATE_API_NAME_ASC' | 'PRIVATE_API_NAME_DESC' | 'SCOPE_ASC' | 'SCOPE_DESC' | 'PREFIX_ASC' | 'PREFIX_DESC' | 'ENTITY_TABLE_ID_ASC' | 'ENTITY_TABLE_ID_DESC' | 'POLICIES_ASC' | 'POLICIES_DESC' | 'PROVISIONS_ASC' | 'PROVISIONS_DESC' | 'DEFAULT_PERMISSIONS_ASC' | 'DEFAULT_PERMISSIONS_DESC';
5723
5914
  export type FunctionModuleOrderBy = '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' | 'PUBLIC_SCHEMA_NAME_ASC' | 'PUBLIC_SCHEMA_NAME_DESC' | 'PRIVATE_SCHEMA_NAME_ASC' | 'PRIVATE_SCHEMA_NAME_DESC' | 'DEFINITIONS_TABLE_ID_ASC' | 'DEFINITIONS_TABLE_ID_DESC' | 'SECRET_DEFINITIONS_TABLE_ID_ASC' | 'SECRET_DEFINITIONS_TABLE_ID_DESC' | 'DEFINITIONS_TABLE_NAME_ASC' | 'DEFINITIONS_TABLE_NAME_DESC' | 'SECRET_DEFINITIONS_TABLE_NAME_ASC' | 'SECRET_DEFINITIONS_TABLE_NAME_DESC' | 'API_NAME_ASC' | 'API_NAME_DESC' | 'PRIVATE_API_NAME_ASC' | 'PRIVATE_API_NAME_DESC' | 'SCOPE_ASC' | 'SCOPE_DESC' | 'PREFIX_ASC' | 'PREFIX_DESC' | 'ENTITY_TABLE_ID_ASC' | 'ENTITY_TABLE_ID_DESC' | 'POLICIES_ASC' | 'POLICIES_DESC' | 'PROVISIONS_ASC' | 'PROVISIONS_DESC' | 'DEFAULT_PERMISSIONS_ASC' | 'DEFAULT_PERMISSIONS_DESC';
5724
5915
  export type InvitesModuleOrderBy = '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' | 'PUBLIC_SCHEMA_NAME_ASC' | 'PUBLIC_SCHEMA_NAME_DESC' | 'PRIVATE_SCHEMA_NAME_ASC' | 'PRIVATE_SCHEMA_NAME_DESC' | 'EMAILS_TABLE_ID_ASC' | 'EMAILS_TABLE_ID_DESC' | 'USERS_TABLE_ID_ASC' | 'USERS_TABLE_ID_DESC' | 'INVITES_TABLE_ID_ASC' | 'INVITES_TABLE_ID_DESC' | 'CLAIMED_INVITES_TABLE_ID_ASC' | 'CLAIMED_INVITES_TABLE_ID_DESC' | 'INVITES_TABLE_NAME_ASC' | 'INVITES_TABLE_NAME_DESC' | 'CLAIMED_INVITES_TABLE_NAME_ASC' | 'CLAIMED_INVITES_TABLE_NAME_DESC' | 'SUBMIT_INVITE_CODE_FUNCTION_ASC' | 'SUBMIT_INVITE_CODE_FUNCTION_DESC' | 'SCOPE_ASC' | 'SCOPE_DESC' | 'PREFIX_ASC' | 'PREFIX_DESC' | 'ENTITY_TABLE_ID_ASC' | 'ENTITY_TABLE_ID_DESC' | 'API_NAME_ASC' | 'API_NAME_DESC' | 'PRIVATE_API_NAME_ASC' | 'PRIVATE_API_NAME_DESC';
5916
+ export type PrincipalAuthModuleOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'PRINCIPALS_TABLE_ID_ASC' | 'PRINCIPALS_TABLE_ID_DESC' | 'PRINCIPAL_ENTITIES_TABLE_ID_ASC' | 'PRINCIPAL_ENTITIES_TABLE_ID_DESC' | 'PRINCIPAL_SCOPE_OVERRIDES_TABLE_ID_ASC' | 'PRINCIPAL_SCOPE_OVERRIDES_TABLE_ID_DESC' | 'USERS_TABLE_ID_ASC' | 'USERS_TABLE_ID_DESC' | 'SESSIONS_TABLE_ID_ASC' | 'SESSIONS_TABLE_ID_DESC' | 'SESSION_CREDENTIALS_TABLE_ID_ASC' | 'SESSION_CREDENTIALS_TABLE_ID_DESC' | 'AUDITS_TABLE_ID_ASC' | 'AUDITS_TABLE_ID_DESC' | 'PRINCIPALS_TABLE_NAME_ASC' | 'PRINCIPALS_TABLE_NAME_DESC' | 'CREATE_PRINCIPAL_FUNCTION_ASC' | 'CREATE_PRINCIPAL_FUNCTION_DESC' | 'DELETE_PRINCIPAL_FUNCTION_ASC' | 'DELETE_PRINCIPAL_FUNCTION_DESC' | 'CREATE_ORG_PRINCIPAL_FUNCTION_ASC' | 'CREATE_ORG_PRINCIPAL_FUNCTION_DESC' | 'DELETE_ORG_PRINCIPAL_FUNCTION_ASC' | 'DELETE_ORG_PRINCIPAL_FUNCTION_DESC' | 'CREATE_ORG_API_KEY_FUNCTION_ASC' | 'CREATE_ORG_API_KEY_FUNCTION_DESC' | 'REVOKE_ORG_API_KEY_FUNCTION_ASC' | 'REVOKE_ORG_API_KEY_FUNCTION_DESC' | 'API_NAME_ASC' | 'API_NAME_DESC';
5725
5917
  export type ComputeLogModuleOrderBy = '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' | 'PUBLIC_SCHEMA_NAME_ASC' | 'PUBLIC_SCHEMA_NAME_DESC' | 'PRIVATE_SCHEMA_NAME_ASC' | 'PRIVATE_SCHEMA_NAME_DESC' | 'COMPUTE_LOG_TABLE_ID_ASC' | 'COMPUTE_LOG_TABLE_ID_DESC' | 'COMPUTE_LOG_TABLE_NAME_ASC' | 'COMPUTE_LOG_TABLE_NAME_DESC' | 'USAGE_DAILY_TABLE_ID_ASC' | 'USAGE_DAILY_TABLE_ID_DESC' | 'USAGE_DAILY_TABLE_NAME_ASC' | 'USAGE_DAILY_TABLE_NAME_DESC' | 'INTERVAL_ASC' | 'INTERVAL_DESC' | 'RETENTION_ASC' | 'RETENTION_DESC' | 'PREMAKE_ASC' | 'PREMAKE_DESC' | 'SCOPE_ASC' | 'SCOPE_DESC' | 'ACTOR_FK_TABLE_ID_ASC' | 'ACTOR_FK_TABLE_ID_DESC' | 'ENTITY_FK_TABLE_ID_ASC' | 'ENTITY_FK_TABLE_ID_DESC' | 'PREFIX_ASC' | 'PREFIX_DESC' | 'API_NAME_ASC' | 'API_NAME_DESC' | 'PRIVATE_API_NAME_ASC' | 'PRIVATE_API_NAME_DESC';
5726
5918
  export type InferenceLogModuleOrderBy = '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' | 'PUBLIC_SCHEMA_NAME_ASC' | 'PUBLIC_SCHEMA_NAME_DESC' | 'PRIVATE_SCHEMA_NAME_ASC' | 'PRIVATE_SCHEMA_NAME_DESC' | 'INFERENCE_LOG_TABLE_ID_ASC' | 'INFERENCE_LOG_TABLE_ID_DESC' | 'INFERENCE_LOG_TABLE_NAME_ASC' | 'INFERENCE_LOG_TABLE_NAME_DESC' | 'USAGE_DAILY_TABLE_ID_ASC' | 'USAGE_DAILY_TABLE_ID_DESC' | 'USAGE_DAILY_TABLE_NAME_ASC' | 'USAGE_DAILY_TABLE_NAME_DESC' | 'INTERVAL_ASC' | 'INTERVAL_DESC' | 'RETENTION_ASC' | 'RETENTION_DESC' | 'PREMAKE_ASC' | 'PREMAKE_DESC' | 'SCOPE_ASC' | 'SCOPE_DESC' | 'ACTOR_FK_TABLE_ID_ASC' | 'ACTOR_FK_TABLE_ID_DESC' | 'ENTITY_FK_TABLE_ID_ASC' | 'ENTITY_FK_TABLE_ID_DESC' | 'PREFIX_ASC' | 'PREFIX_DESC' | 'API_NAME_ASC' | 'API_NAME_DESC' | 'PRIVATE_API_NAME_ASC' | 'PRIVATE_API_NAME_DESC';
5727
5919
  export type NamespaceModuleOrderBy = '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' | 'PUBLIC_SCHEMA_NAME_ASC' | 'PUBLIC_SCHEMA_NAME_DESC' | 'PRIVATE_SCHEMA_NAME_ASC' | 'PRIVATE_SCHEMA_NAME_DESC' | 'NAMESPACES_TABLE_ID_ASC' | 'NAMESPACES_TABLE_ID_DESC' | 'NAMESPACE_EVENTS_TABLE_ID_ASC' | 'NAMESPACE_EVENTS_TABLE_ID_DESC' | 'NAMESPACES_TABLE_NAME_ASC' | 'NAMESPACES_TABLE_NAME_DESC' | 'NAMESPACE_EVENTS_TABLE_NAME_ASC' | 'NAMESPACE_EVENTS_TABLE_NAME_DESC' | 'API_NAME_ASC' | 'API_NAME_DESC' | 'PRIVATE_API_NAME_ASC' | 'PRIVATE_API_NAME_DESC' | 'SCOPE_ASC' | 'SCOPE_DESC' | 'PREFIX_ASC' | 'PREFIX_DESC' | 'ENTITY_TABLE_ID_ASC' | 'ENTITY_TABLE_ID_DESC' | 'PLATFORM_NAMESPACES_TABLE_ID_ASC' | 'PLATFORM_NAMESPACES_TABLE_ID_DESC' | 'POLICIES_ASC' | 'POLICIES_DESC' | 'PROVISIONS_ASC' | 'PROVISIONS_DESC' | 'DEFAULT_PERMISSIONS_ASC' | 'DEFAULT_PERMISSIONS_DESC';
5920
+ export type ResourceModuleOrderBy = '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' | 'PUBLIC_SCHEMA_NAME_ASC' | 'PUBLIC_SCHEMA_NAME_DESC' | 'PRIVATE_SCHEMA_NAME_ASC' | 'PRIVATE_SCHEMA_NAME_DESC' | 'RESOURCES_TABLE_ID_ASC' | 'RESOURCES_TABLE_ID_DESC' | 'RESOURCE_EVENTS_TABLE_ID_ASC' | 'RESOURCE_EVENTS_TABLE_ID_DESC' | 'RESOURCES_TABLE_NAME_ASC' | 'RESOURCES_TABLE_NAME_DESC' | 'RESOURCE_EVENTS_TABLE_NAME_ASC' | 'RESOURCE_EVENTS_TABLE_NAME_DESC' | 'API_NAME_ASC' | 'API_NAME_DESC' | 'PRIVATE_API_NAME_ASC' | 'PRIVATE_API_NAME_DESC' | 'SCOPE_ASC' | 'SCOPE_DESC' | 'PREFIX_ASC' | 'PREFIX_DESC' | 'ENTITY_TABLE_ID_ASC' | 'ENTITY_TABLE_ID_DESC' | 'NAMESPACE_MODULE_ID_ASC' | 'NAMESPACE_MODULE_ID_DESC' | 'POLICIES_ASC' | 'POLICIES_DESC' | 'PROVISIONS_ASC' | 'PROVISIONS_DESC' | 'DEFAULT_PERMISSIONS_ASC' | 'DEFAULT_PERMISSIONS_DESC';
5728
5921
  export type StorageLogModuleOrderBy = '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' | 'PUBLIC_SCHEMA_NAME_ASC' | 'PUBLIC_SCHEMA_NAME_DESC' | 'PRIVATE_SCHEMA_NAME_ASC' | 'PRIVATE_SCHEMA_NAME_DESC' | 'STORAGE_LOG_TABLE_ID_ASC' | 'STORAGE_LOG_TABLE_ID_DESC' | 'STORAGE_LOG_TABLE_NAME_ASC' | 'STORAGE_LOG_TABLE_NAME_DESC' | 'USAGE_DAILY_TABLE_ID_ASC' | 'USAGE_DAILY_TABLE_ID_DESC' | 'USAGE_DAILY_TABLE_NAME_ASC' | 'USAGE_DAILY_TABLE_NAME_DESC' | 'INTERVAL_ASC' | 'INTERVAL_DESC' | 'RETENTION_ASC' | 'RETENTION_DESC' | 'PREMAKE_ASC' | 'PREMAKE_DESC' | 'SCOPE_ASC' | 'SCOPE_DESC' | 'ACTOR_FK_TABLE_ID_ASC' | 'ACTOR_FK_TABLE_ID_DESC' | 'ENTITY_FK_TABLE_ID_ASC' | 'ENTITY_FK_TABLE_ID_DESC' | 'PREFIX_ASC' | 'PREFIX_DESC' | 'API_NAME_ASC' | 'API_NAME_DESC' | 'PRIVATE_API_NAME_ASC' | 'PRIVATE_API_NAME_DESC';
5729
5922
  export type TransferLogModuleOrderBy = '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' | 'PUBLIC_SCHEMA_NAME_ASC' | 'PUBLIC_SCHEMA_NAME_DESC' | 'PRIVATE_SCHEMA_NAME_ASC' | 'PRIVATE_SCHEMA_NAME_DESC' | 'TRANSFER_LOG_TABLE_ID_ASC' | 'TRANSFER_LOG_TABLE_ID_DESC' | 'TRANSFER_LOG_TABLE_NAME_ASC' | 'TRANSFER_LOG_TABLE_NAME_DESC' | 'USAGE_DAILY_TABLE_ID_ASC' | 'USAGE_DAILY_TABLE_ID_DESC' | 'USAGE_DAILY_TABLE_NAME_ASC' | 'USAGE_DAILY_TABLE_NAME_DESC' | 'INTERVAL_ASC' | 'INTERVAL_DESC' | 'RETENTION_ASC' | 'RETENTION_DESC' | 'PREMAKE_ASC' | 'PREMAKE_DESC' | 'SCOPE_ASC' | 'SCOPE_DESC' | 'ACTOR_FK_TABLE_ID_ASC' | 'ACTOR_FK_TABLE_ID_DESC' | 'ENTITY_FK_TABLE_ID_ASC' | 'ENTITY_FK_TABLE_ID_DESC' | 'PREFIX_ASC' | 'PREFIX_DESC' | 'API_NAME_ASC' | 'API_NAME_DESC' | 'PRIVATE_API_NAME_ASC' | 'PRIVATE_API_NAME_DESC';
5730
5923
  export type FunctionDeploymentModuleOrderBy = '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' | 'PUBLIC_SCHEMA_NAME_ASC' | 'PUBLIC_SCHEMA_NAME_DESC' | 'PRIVATE_SCHEMA_NAME_ASC' | 'PRIVATE_SCHEMA_NAME_DESC' | 'DEPLOYMENTS_TABLE_ID_ASC' | 'DEPLOYMENTS_TABLE_ID_DESC' | 'DEPLOYMENT_EVENTS_TABLE_ID_ASC' | 'DEPLOYMENT_EVENTS_TABLE_ID_DESC' | 'DEPLOYMENTS_TABLE_NAME_ASC' | 'DEPLOYMENTS_TABLE_NAME_DESC' | 'DEPLOYMENT_EVENTS_TABLE_NAME_ASC' | 'DEPLOYMENT_EVENTS_TABLE_NAME_DESC' | 'API_NAME_ASC' | 'API_NAME_DESC' | 'PRIVATE_API_NAME_ASC' | 'PRIVATE_API_NAME_DESC' | 'SCOPE_ASC' | 'SCOPE_DESC' | 'PREFIX_ASC' | 'PREFIX_DESC' | 'ENTITY_TABLE_ID_ASC' | 'ENTITY_TABLE_ID_DESC' | 'FUNCTION_MODULE_ID_ASC' | 'FUNCTION_MODULE_ID_DESC' | 'NAMESPACE_MODULE_ID_ASC' | 'NAMESPACE_MODULE_ID_DESC' | 'POLICIES_ASC' | 'POLICIES_DESC' | 'PROVISIONS_ASC' | 'PROVISIONS_DESC' | 'DEFAULT_PERMISSIONS_ASC' | 'DEFAULT_PERMISSIONS_DESC';
@@ -6581,47 +6774,89 @@ export interface DeleteSecureTableProvisionInput {
6581
6774
  clientMutationId?: string;
6582
6775
  id: string;
6583
6776
  }
6584
- export interface CreateMerkleStoreModuleInput {
6777
+ export interface CreateDatabaseProvisionModuleInput {
6585
6778
  clientMutationId?: string;
6586
- merkleStoreModule: {
6779
+ databaseProvisionModule: {
6780
+ databaseName: string;
6781
+ ownerId: string;
6782
+ subdomain?: string;
6783
+ domain: string;
6784
+ modules?: Record<string, unknown>;
6785
+ options?: Record<string, unknown>;
6786
+ bootstrapUser?: boolean;
6787
+ status?: string;
6788
+ errorMessage?: string;
6789
+ databaseId?: string;
6790
+ completedAt?: string;
6791
+ };
6792
+ }
6793
+ export interface DatabaseProvisionModulePatch {
6794
+ databaseName?: string | null;
6795
+ ownerId?: string | null;
6796
+ subdomain?: string | null;
6797
+ domain?: string | null;
6798
+ modules?: Record<string, unknown> | null;
6799
+ options?: Record<string, unknown> | null;
6800
+ bootstrapUser?: boolean | null;
6801
+ status?: string | null;
6802
+ errorMessage?: string | null;
6803
+ databaseId?: string | null;
6804
+ completedAt?: string | null;
6805
+ }
6806
+ export interface UpdateDatabaseProvisionModuleInput {
6807
+ clientMutationId?: string;
6808
+ id: string;
6809
+ databaseProvisionModulePatch: DatabaseProvisionModulePatch;
6810
+ }
6811
+ export interface DeleteDatabaseProvisionModuleInput {
6812
+ clientMutationId?: string;
6813
+ id: string;
6814
+ }
6815
+ export interface CreateConfigSecretsModuleInput {
6816
+ clientMutationId?: string;
6817
+ configSecretsModule: {
6587
6818
  databaseId: string;
6588
6819
  schemaId?: string;
6589
6820
  privateSchemaId?: string;
6590
6821
  publicSchemaName?: string;
6591
6822
  privateSchemaName?: string;
6592
- objectTableId?: string;
6593
- storeTableId?: string;
6594
- commitTableId?: string;
6595
- refTableId?: string;
6596
- prefix?: string;
6823
+ tableId?: string;
6824
+ configDefinitionsTableId?: string;
6825
+ tableName?: string;
6597
6826
  apiName?: string;
6598
6827
  privateApiName?: string;
6599
6828
  scope?: string;
6600
- functionPrefix?: string;
6829
+ prefix?: string;
6830
+ entityTableId?: string;
6831
+ policies?: Record<string, unknown>;
6832
+ provisions?: Record<string, unknown>;
6833
+ hasConfig?: boolean;
6601
6834
  };
6602
6835
  }
6603
- export interface MerkleStoreModulePatch {
6836
+ export interface ConfigSecretsModulePatch {
6604
6837
  databaseId?: string | null;
6605
6838
  schemaId?: string | null;
6606
6839
  privateSchemaId?: string | null;
6607
6840
  publicSchemaName?: string | null;
6608
6841
  privateSchemaName?: string | null;
6609
- objectTableId?: string | null;
6610
- storeTableId?: string | null;
6611
- commitTableId?: string | null;
6612
- refTableId?: string | null;
6613
- prefix?: string | null;
6842
+ tableId?: string | null;
6843
+ configDefinitionsTableId?: string | null;
6844
+ tableName?: string | null;
6614
6845
  apiName?: string | null;
6615
6846
  privateApiName?: string | null;
6616
6847
  scope?: string | null;
6617
- functionPrefix?: string | null;
6848
+ prefix?: string | null;
6849
+ entityTableId?: string | null;
6850
+ policies?: Record<string, unknown> | null;
6851
+ provisions?: Record<string, unknown> | null;
6852
+ hasConfig?: boolean | null;
6618
6853
  }
6619
- export interface UpdateMerkleStoreModuleInput {
6854
+ export interface UpdateConfigSecretsModuleInput {
6620
6855
  clientMutationId?: string;
6621
6856
  id: string;
6622
- merkleStoreModulePatch: MerkleStoreModulePatch;
6857
+ configSecretsModulePatch: ConfigSecretsModulePatch;
6623
6858
  }
6624
- export interface DeleteMerkleStoreModuleInput {
6859
+ export interface DeleteConfigSecretsModuleInput {
6625
6860
  clientMutationId?: string;
6626
6861
  id: string;
6627
6862
  }
@@ -6671,89 +6906,49 @@ export interface DeleteGraphModuleInput {
6671
6906
  clientMutationId?: string;
6672
6907
  id: string;
6673
6908
  }
6674
- export interface CreateDatabaseProvisionModuleInput {
6675
- clientMutationId?: string;
6676
- databaseProvisionModule: {
6677
- databaseName: string;
6678
- ownerId: string;
6679
- subdomain?: string;
6680
- domain: string;
6681
- modules?: Record<string, unknown>;
6682
- options?: Record<string, unknown>;
6683
- bootstrapUser?: boolean;
6684
- status?: string;
6685
- errorMessage?: string;
6686
- databaseId?: string;
6687
- completedAt?: string;
6688
- };
6689
- }
6690
- export interface DatabaseProvisionModulePatch {
6691
- databaseName?: string | null;
6692
- ownerId?: string | null;
6693
- subdomain?: string | null;
6694
- domain?: string | null;
6695
- modules?: Record<string, unknown> | null;
6696
- options?: Record<string, unknown> | null;
6697
- bootstrapUser?: boolean | null;
6698
- status?: string | null;
6699
- errorMessage?: string | null;
6700
- databaseId?: string | null;
6701
- completedAt?: string | null;
6702
- }
6703
- export interface UpdateDatabaseProvisionModuleInput {
6704
- clientMutationId?: string;
6705
- id: string;
6706
- databaseProvisionModulePatch: DatabaseProvisionModulePatch;
6707
- }
6708
- export interface DeleteDatabaseProvisionModuleInput {
6709
- clientMutationId?: string;
6710
- id: string;
6711
- }
6712
- export interface CreateConfigSecretsModuleInput {
6909
+ export interface CreateMerkleStoreModuleInput {
6713
6910
  clientMutationId?: string;
6714
- configSecretsModule: {
6911
+ merkleStoreModule: {
6715
6912
  databaseId: string;
6716
6913
  schemaId?: string;
6717
6914
  privateSchemaId?: string;
6718
6915
  publicSchemaName?: string;
6719
6916
  privateSchemaName?: string;
6720
- tableId?: string;
6721
- configDefinitionsTableId?: string;
6722
- tableName?: string;
6917
+ objectTableId?: string;
6918
+ storeTableId?: string;
6919
+ commitTableId?: string;
6920
+ refTableId?: string;
6921
+ prefix?: string;
6723
6922
  apiName?: string;
6724
6923
  privateApiName?: string;
6725
6924
  scope?: string;
6726
- prefix?: string;
6727
- entityTableId?: string;
6728
- policies?: Record<string, unknown>;
6729
- provisions?: Record<string, unknown>;
6730
- hasConfig?: boolean;
6925
+ functionPrefix?: string;
6926
+ permissionKey?: string;
6731
6927
  };
6732
6928
  }
6733
- export interface ConfigSecretsModulePatch {
6929
+ export interface MerkleStoreModulePatch {
6734
6930
  databaseId?: string | null;
6735
6931
  schemaId?: string | null;
6736
6932
  privateSchemaId?: string | null;
6737
6933
  publicSchemaName?: string | null;
6738
6934
  privateSchemaName?: string | null;
6739
- tableId?: string | null;
6740
- configDefinitionsTableId?: string | null;
6741
- tableName?: string | null;
6935
+ objectTableId?: string | null;
6936
+ storeTableId?: string | null;
6937
+ commitTableId?: string | null;
6938
+ refTableId?: string | null;
6939
+ prefix?: string | null;
6742
6940
  apiName?: string | null;
6743
6941
  privateApiName?: string | null;
6744
6942
  scope?: string | null;
6745
- prefix?: string | null;
6746
- entityTableId?: string | null;
6747
- policies?: Record<string, unknown> | null;
6748
- provisions?: Record<string, unknown> | null;
6749
- hasConfig?: boolean | null;
6943
+ functionPrefix?: string | null;
6944
+ permissionKey?: string | null;
6750
6945
  }
6751
- export interface UpdateConfigSecretsModuleInput {
6946
+ export interface UpdateMerkleStoreModuleInput {
6752
6947
  clientMutationId?: string;
6753
6948
  id: string;
6754
- configSecretsModulePatch: ConfigSecretsModulePatch;
6949
+ merkleStoreModulePatch: MerkleStoreModulePatch;
6755
6950
  }
6756
- export interface DeleteConfigSecretsModuleInput {
6951
+ export interface DeleteMerkleStoreModuleInput {
6757
6952
  clientMutationId?: string;
6758
6953
  id: string;
6759
6954
  }
@@ -7043,6 +7238,56 @@ export interface DeleteInvitesModuleInput {
7043
7238
  clientMutationId?: string;
7044
7239
  id: string;
7045
7240
  }
7241
+ export interface CreatePrincipalAuthModuleInput {
7242
+ clientMutationId?: string;
7243
+ principalAuthModule: {
7244
+ databaseId: string;
7245
+ schemaId?: string;
7246
+ principalsTableId?: string;
7247
+ principalEntitiesTableId?: string;
7248
+ principalScopeOverridesTableId?: string;
7249
+ usersTableId?: string;
7250
+ sessionsTableId?: string;
7251
+ sessionCredentialsTableId?: string;
7252
+ auditsTableId?: string;
7253
+ principalsTableName?: string;
7254
+ createPrincipalFunction?: string;
7255
+ deletePrincipalFunction?: string;
7256
+ createOrgPrincipalFunction?: string;
7257
+ deleteOrgPrincipalFunction?: string;
7258
+ createOrgApiKeyFunction?: string;
7259
+ revokeOrgApiKeyFunction?: string;
7260
+ apiName?: string;
7261
+ };
7262
+ }
7263
+ export interface PrincipalAuthModulePatch {
7264
+ databaseId?: string | null;
7265
+ schemaId?: string | null;
7266
+ principalsTableId?: string | null;
7267
+ principalEntitiesTableId?: string | null;
7268
+ principalScopeOverridesTableId?: string | null;
7269
+ usersTableId?: string | null;
7270
+ sessionsTableId?: string | null;
7271
+ sessionCredentialsTableId?: string | null;
7272
+ auditsTableId?: string | null;
7273
+ principalsTableName?: string | null;
7274
+ createPrincipalFunction?: string | null;
7275
+ deletePrincipalFunction?: string | null;
7276
+ createOrgPrincipalFunction?: string | null;
7277
+ deleteOrgPrincipalFunction?: string | null;
7278
+ createOrgApiKeyFunction?: string | null;
7279
+ revokeOrgApiKeyFunction?: string | null;
7280
+ apiName?: string | null;
7281
+ }
7282
+ export interface UpdatePrincipalAuthModuleInput {
7283
+ clientMutationId?: string;
7284
+ id: string;
7285
+ principalAuthModulePatch: PrincipalAuthModulePatch;
7286
+ }
7287
+ export interface DeletePrincipalAuthModuleInput {
7288
+ clientMutationId?: string;
7289
+ id: string;
7290
+ }
7046
7291
  export interface CreateComputeLogModuleInput {
7047
7292
  clientMutationId?: string;
7048
7293
  computeLogModule: {
@@ -7199,6 +7444,58 @@ export interface DeleteNamespaceModuleInput {
7199
7444
  clientMutationId?: string;
7200
7445
  id: string;
7201
7446
  }
7447
+ export interface CreateResourceModuleInput {
7448
+ clientMutationId?: string;
7449
+ resourceModule: {
7450
+ databaseId: string;
7451
+ schemaId?: string;
7452
+ privateSchemaId?: string;
7453
+ publicSchemaName?: string;
7454
+ privateSchemaName?: string;
7455
+ resourcesTableId?: string;
7456
+ resourceEventsTableId?: string;
7457
+ resourcesTableName?: string;
7458
+ resourceEventsTableName?: string;
7459
+ apiName?: string;
7460
+ privateApiName?: string;
7461
+ scope?: string;
7462
+ prefix?: string;
7463
+ entityTableId?: string;
7464
+ namespaceModuleId?: string;
7465
+ policies?: Record<string, unknown>;
7466
+ provisions?: Record<string, unknown>;
7467
+ defaultPermissions?: string[];
7468
+ };
7469
+ }
7470
+ export interface ResourceModulePatch {
7471
+ databaseId?: string | null;
7472
+ schemaId?: string | null;
7473
+ privateSchemaId?: string | null;
7474
+ publicSchemaName?: string | null;
7475
+ privateSchemaName?: string | null;
7476
+ resourcesTableId?: string | null;
7477
+ resourceEventsTableId?: string | null;
7478
+ resourcesTableName?: string | null;
7479
+ resourceEventsTableName?: string | null;
7480
+ apiName?: string | null;
7481
+ privateApiName?: string | null;
7482
+ scope?: string | null;
7483
+ prefix?: string | null;
7484
+ entityTableId?: string | null;
7485
+ namespaceModuleId?: string | null;
7486
+ policies?: Record<string, unknown> | null;
7487
+ provisions?: Record<string, unknown> | null;
7488
+ defaultPermissions?: string[] | null;
7489
+ }
7490
+ export interface UpdateResourceModuleInput {
7491
+ clientMutationId?: string;
7492
+ id: string;
7493
+ resourceModulePatch: ResourceModulePatch;
7494
+ }
7495
+ export interface DeleteResourceModuleInput {
7496
+ clientMutationId?: string;
7497
+ id: string;
7498
+ }
7202
7499
  export interface CreateStorageLogModuleInput {
7203
7500
  clientMutationId?: string;
7204
7501
  storageLogModule: {
@@ -9161,45 +9458,6 @@ export interface SecureTableProvisionInput {
9161
9458
  /** 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. */
9162
9459
  outFields?: string[];
9163
9460
  }
9164
- /** An input for mutations affecting `MerkleStoreModule` */
9165
- export interface MerkleStoreModuleInput {
9166
- id?: string;
9167
- databaseId: string;
9168
- schemaId?: string;
9169
- privateSchemaId?: string;
9170
- publicSchemaName?: string;
9171
- privateSchemaName?: string;
9172
- objectTableId?: string;
9173
- storeTableId?: string;
9174
- commitTableId?: string;
9175
- refTableId?: string;
9176
- prefix?: string;
9177
- apiName?: string;
9178
- privateApiName?: string;
9179
- scope?: string;
9180
- functionPrefix?: string;
9181
- createdAt?: string;
9182
- }
9183
- /** An input for mutations affecting `GraphModule` */
9184
- export interface GraphModuleInput {
9185
- id?: string;
9186
- databaseId: string;
9187
- publicSchemaId?: string;
9188
- privateSchemaId?: string;
9189
- publicSchemaName?: string;
9190
- privateSchemaName?: string;
9191
- scope?: string;
9192
- prefix?: string;
9193
- merkleStoreModuleId: string;
9194
- graphsTableId?: string;
9195
- apiName?: string;
9196
- privateApiName?: string;
9197
- entityTableId?: string;
9198
- policies?: Record<string, unknown>;
9199
- provisions?: Record<string, unknown>;
9200
- defaultPermissions?: string[];
9201
- createdAt?: string;
9202
- }
9203
9461
  /** An input for mutations affecting `DatabaseProvisionModule` */
9204
9462
  export interface DatabaseProvisionModuleInput {
9205
9463
  id?: string;
@@ -9246,6 +9504,46 @@ export interface ConfigSecretsModuleInput {
9246
9504
  provisions?: Record<string, unknown>;
9247
9505
  hasConfig?: boolean;
9248
9506
  }
9507
+ /** An input for mutations affecting `GraphModule` */
9508
+ export interface GraphModuleInput {
9509
+ id?: string;
9510
+ databaseId: string;
9511
+ publicSchemaId?: string;
9512
+ privateSchemaId?: string;
9513
+ publicSchemaName?: string;
9514
+ privateSchemaName?: string;
9515
+ scope?: string;
9516
+ prefix?: string;
9517
+ merkleStoreModuleId: string;
9518
+ graphsTableId?: string;
9519
+ apiName?: string;
9520
+ privateApiName?: string;
9521
+ entityTableId?: string;
9522
+ policies?: Record<string, unknown>;
9523
+ provisions?: Record<string, unknown>;
9524
+ defaultPermissions?: string[];
9525
+ createdAt?: string;
9526
+ }
9527
+ /** An input for mutations affecting `MerkleStoreModule` */
9528
+ export interface MerkleStoreModuleInput {
9529
+ id?: string;
9530
+ databaseId: string;
9531
+ schemaId?: string;
9532
+ privateSchemaId?: string;
9533
+ publicSchemaName?: string;
9534
+ privateSchemaName?: string;
9535
+ objectTableId?: string;
9536
+ storeTableId?: string;
9537
+ commitTableId?: string;
9538
+ refTableId?: string;
9539
+ prefix?: string;
9540
+ apiName?: string;
9541
+ privateApiName?: string;
9542
+ scope?: string;
9543
+ functionPrefix?: string;
9544
+ permissionKey?: string;
9545
+ createdAt?: string;
9546
+ }
9249
9547
  /** An input for mutations affecting `RateLimitMetersModule` */
9250
9548
  export interface RateLimitMetersModuleInput {
9251
9549
  id?: string;
@@ -9365,6 +9663,27 @@ export interface InvitesModuleInput {
9365
9663
  apiName?: string;
9366
9664
  privateApiName?: string;
9367
9665
  }
9666
+ /** An input for mutations affecting `PrincipalAuthModule` */
9667
+ export interface PrincipalAuthModuleInput {
9668
+ id?: string;
9669
+ databaseId: string;
9670
+ schemaId?: string;
9671
+ principalsTableId?: string;
9672
+ principalEntitiesTableId?: string;
9673
+ principalScopeOverridesTableId?: string;
9674
+ usersTableId?: string;
9675
+ sessionsTableId?: string;
9676
+ sessionCredentialsTableId?: string;
9677
+ auditsTableId?: string;
9678
+ principalsTableName?: string;
9679
+ createPrincipalFunction?: string;
9680
+ deletePrincipalFunction?: string;
9681
+ createOrgPrincipalFunction?: string;
9682
+ deleteOrgPrincipalFunction?: string;
9683
+ createOrgApiKeyFunction?: string;
9684
+ revokeOrgApiKeyFunction?: string;
9685
+ apiName?: string;
9686
+ }
9368
9687
  /** An input for mutations affecting `ComputeLogModule` */
9369
9688
  export interface ComputeLogModuleInput {
9370
9689
  id?: string;
@@ -9431,21 +9750,43 @@ export interface NamespaceModuleInput {
9431
9750
  provisions?: Record<string, unknown>;
9432
9751
  defaultPermissions?: string[];
9433
9752
  }
9434
- /** An input for mutations affecting `StorageLogModule` */
9435
- export interface StorageLogModuleInput {
9753
+ /** An input for mutations affecting `ResourceModule` */
9754
+ export interface ResourceModuleInput {
9436
9755
  id?: string;
9437
9756
  databaseId: string;
9438
9757
  schemaId?: string;
9439
9758
  privateSchemaId?: string;
9440
9759
  publicSchemaName?: string;
9441
9760
  privateSchemaName?: string;
9442
- storageLogTableId?: string;
9443
- storageLogTableName?: string;
9444
- usageDailyTableId?: string;
9445
- usageDailyTableName?: string;
9446
- interval?: string;
9447
- retention?: string;
9448
- premake?: number;
9761
+ resourcesTableId?: string;
9762
+ resourceEventsTableId?: string;
9763
+ resourcesTableName?: string;
9764
+ resourceEventsTableName?: string;
9765
+ apiName?: string;
9766
+ privateApiName?: string;
9767
+ scope?: string;
9768
+ prefix?: string;
9769
+ entityTableId?: string;
9770
+ namespaceModuleId?: string;
9771
+ policies?: Record<string, unknown>;
9772
+ provisions?: Record<string, unknown>;
9773
+ defaultPermissions?: string[];
9774
+ }
9775
+ /** An input for mutations affecting `StorageLogModule` */
9776
+ export interface StorageLogModuleInput {
9777
+ id?: string;
9778
+ databaseId: string;
9779
+ schemaId?: string;
9780
+ privateSchemaId?: string;
9781
+ publicSchemaName?: string;
9782
+ privateSchemaName?: string;
9783
+ storageLogTableId?: string;
9784
+ storageLogTableName?: string;
9785
+ usageDailyTableId?: string;
9786
+ usageDailyTableName?: string;
9787
+ interval?: string;
9788
+ retention?: string;
9789
+ premake?: number;
9449
9790
  scope?: string;
9450
9791
  actorFkTableId?: string;
9451
9792
  entityFkTableId?: string;
@@ -10783,6 +11124,8 @@ export interface MerkleStoreModuleFilter {
10783
11124
  scope?: StringFilter;
10784
11125
  /** Filter by the object’s `functionPrefix` field. */
10785
11126
  functionPrefix?: StringFilter;
11127
+ /** Filter by the object’s `permissionKey` field. */
11128
+ permissionKey?: StringFilter;
10786
11129
  /** Filter by the object’s `createdAt` field. */
10787
11130
  createdAt?: DatetimeFilter;
10788
11131
  /** Checks for all expressions in this list. */
@@ -12060,96 +12403,6 @@ export type DeleteSecureTableProvisionPayloadSelect = {
12060
12403
  select: SecureTableProvisionEdgeSelect;
12061
12404
  };
12062
12405
  };
12063
- export interface CreateMerkleStoreModulePayload {
12064
- clientMutationId?: string | null;
12065
- /** The `MerkleStoreModule` that was created by this mutation. */
12066
- merkleStoreModule?: MerkleStoreModule | null;
12067
- merkleStoreModuleEdge?: MerkleStoreModuleEdge | null;
12068
- }
12069
- export type CreateMerkleStoreModulePayloadSelect = {
12070
- clientMutationId?: boolean;
12071
- merkleStoreModule?: {
12072
- select: MerkleStoreModuleSelect;
12073
- };
12074
- merkleStoreModuleEdge?: {
12075
- select: MerkleStoreModuleEdgeSelect;
12076
- };
12077
- };
12078
- export interface UpdateMerkleStoreModulePayload {
12079
- clientMutationId?: string | null;
12080
- /** The `MerkleStoreModule` that was updated by this mutation. */
12081
- merkleStoreModule?: MerkleStoreModule | null;
12082
- merkleStoreModuleEdge?: MerkleStoreModuleEdge | null;
12083
- }
12084
- export type UpdateMerkleStoreModulePayloadSelect = {
12085
- clientMutationId?: boolean;
12086
- merkleStoreModule?: {
12087
- select: MerkleStoreModuleSelect;
12088
- };
12089
- merkleStoreModuleEdge?: {
12090
- select: MerkleStoreModuleEdgeSelect;
12091
- };
12092
- };
12093
- export interface DeleteMerkleStoreModulePayload {
12094
- clientMutationId?: string | null;
12095
- /** The `MerkleStoreModule` that was deleted by this mutation. */
12096
- merkleStoreModule?: MerkleStoreModule | null;
12097
- merkleStoreModuleEdge?: MerkleStoreModuleEdge | null;
12098
- }
12099
- export type DeleteMerkleStoreModulePayloadSelect = {
12100
- clientMutationId?: boolean;
12101
- merkleStoreModule?: {
12102
- select: MerkleStoreModuleSelect;
12103
- };
12104
- merkleStoreModuleEdge?: {
12105
- select: MerkleStoreModuleEdgeSelect;
12106
- };
12107
- };
12108
- export interface CreateGraphModulePayload {
12109
- clientMutationId?: string | null;
12110
- /** The `GraphModule` that was created by this mutation. */
12111
- graphModule?: GraphModule | null;
12112
- graphModuleEdge?: GraphModuleEdge | null;
12113
- }
12114
- export type CreateGraphModulePayloadSelect = {
12115
- clientMutationId?: boolean;
12116
- graphModule?: {
12117
- select: GraphModuleSelect;
12118
- };
12119
- graphModuleEdge?: {
12120
- select: GraphModuleEdgeSelect;
12121
- };
12122
- };
12123
- export interface UpdateGraphModulePayload {
12124
- clientMutationId?: string | null;
12125
- /** The `GraphModule` that was updated by this mutation. */
12126
- graphModule?: GraphModule | null;
12127
- graphModuleEdge?: GraphModuleEdge | null;
12128
- }
12129
- export type UpdateGraphModulePayloadSelect = {
12130
- clientMutationId?: boolean;
12131
- graphModule?: {
12132
- select: GraphModuleSelect;
12133
- };
12134
- graphModuleEdge?: {
12135
- select: GraphModuleEdgeSelect;
12136
- };
12137
- };
12138
- export interface DeleteGraphModulePayload {
12139
- clientMutationId?: string | null;
12140
- /** The `GraphModule` that was deleted by this mutation. */
12141
- graphModule?: GraphModule | null;
12142
- graphModuleEdge?: GraphModuleEdge | null;
12143
- }
12144
- export type DeleteGraphModulePayloadSelect = {
12145
- clientMutationId?: boolean;
12146
- graphModule?: {
12147
- select: GraphModuleSelect;
12148
- };
12149
- graphModuleEdge?: {
12150
- select: GraphModuleEdgeSelect;
12151
- };
12152
- };
12153
12406
  export interface CreateDatabaseProvisionModulePayload {
12154
12407
  clientMutationId?: string | null;
12155
12408
  /** The `DatabaseProvisionModule` that was created by this mutation. */
@@ -12240,6 +12493,96 @@ export type DeleteConfigSecretsModulePayloadSelect = {
12240
12493
  select: ConfigSecretsModuleEdgeSelect;
12241
12494
  };
12242
12495
  };
12496
+ export interface CreateGraphModulePayload {
12497
+ clientMutationId?: string | null;
12498
+ /** The `GraphModule` that was created by this mutation. */
12499
+ graphModule?: GraphModule | null;
12500
+ graphModuleEdge?: GraphModuleEdge | null;
12501
+ }
12502
+ export type CreateGraphModulePayloadSelect = {
12503
+ clientMutationId?: boolean;
12504
+ graphModule?: {
12505
+ select: GraphModuleSelect;
12506
+ };
12507
+ graphModuleEdge?: {
12508
+ select: GraphModuleEdgeSelect;
12509
+ };
12510
+ };
12511
+ export interface UpdateGraphModulePayload {
12512
+ clientMutationId?: string | null;
12513
+ /** The `GraphModule` that was updated by this mutation. */
12514
+ graphModule?: GraphModule | null;
12515
+ graphModuleEdge?: GraphModuleEdge | null;
12516
+ }
12517
+ export type UpdateGraphModulePayloadSelect = {
12518
+ clientMutationId?: boolean;
12519
+ graphModule?: {
12520
+ select: GraphModuleSelect;
12521
+ };
12522
+ graphModuleEdge?: {
12523
+ select: GraphModuleEdgeSelect;
12524
+ };
12525
+ };
12526
+ export interface DeleteGraphModulePayload {
12527
+ clientMutationId?: string | null;
12528
+ /** The `GraphModule` that was deleted by this mutation. */
12529
+ graphModule?: GraphModule | null;
12530
+ graphModuleEdge?: GraphModuleEdge | null;
12531
+ }
12532
+ export type DeleteGraphModulePayloadSelect = {
12533
+ clientMutationId?: boolean;
12534
+ graphModule?: {
12535
+ select: GraphModuleSelect;
12536
+ };
12537
+ graphModuleEdge?: {
12538
+ select: GraphModuleEdgeSelect;
12539
+ };
12540
+ };
12541
+ export interface CreateMerkleStoreModulePayload {
12542
+ clientMutationId?: string | null;
12543
+ /** The `MerkleStoreModule` that was created by this mutation. */
12544
+ merkleStoreModule?: MerkleStoreModule | null;
12545
+ merkleStoreModuleEdge?: MerkleStoreModuleEdge | null;
12546
+ }
12547
+ export type CreateMerkleStoreModulePayloadSelect = {
12548
+ clientMutationId?: boolean;
12549
+ merkleStoreModule?: {
12550
+ select: MerkleStoreModuleSelect;
12551
+ };
12552
+ merkleStoreModuleEdge?: {
12553
+ select: MerkleStoreModuleEdgeSelect;
12554
+ };
12555
+ };
12556
+ export interface UpdateMerkleStoreModulePayload {
12557
+ clientMutationId?: string | null;
12558
+ /** The `MerkleStoreModule` that was updated by this mutation. */
12559
+ merkleStoreModule?: MerkleStoreModule | null;
12560
+ merkleStoreModuleEdge?: MerkleStoreModuleEdge | null;
12561
+ }
12562
+ export type UpdateMerkleStoreModulePayloadSelect = {
12563
+ clientMutationId?: boolean;
12564
+ merkleStoreModule?: {
12565
+ select: MerkleStoreModuleSelect;
12566
+ };
12567
+ merkleStoreModuleEdge?: {
12568
+ select: MerkleStoreModuleEdgeSelect;
12569
+ };
12570
+ };
12571
+ export interface DeleteMerkleStoreModulePayload {
12572
+ clientMutationId?: string | null;
12573
+ /** The `MerkleStoreModule` that was deleted by this mutation. */
12574
+ merkleStoreModule?: MerkleStoreModule | null;
12575
+ merkleStoreModuleEdge?: MerkleStoreModuleEdge | null;
12576
+ }
12577
+ export type DeleteMerkleStoreModulePayloadSelect = {
12578
+ clientMutationId?: boolean;
12579
+ merkleStoreModule?: {
12580
+ select: MerkleStoreModuleSelect;
12581
+ };
12582
+ merkleStoreModuleEdge?: {
12583
+ select: MerkleStoreModuleEdgeSelect;
12584
+ };
12585
+ };
12243
12586
  export interface CreateRateLimitMetersModulePayload {
12244
12587
  clientMutationId?: string | null;
12245
12588
  /** The `RateLimitMetersModule` that was created by this mutation. */
@@ -12510,6 +12853,51 @@ export type DeleteInvitesModulePayloadSelect = {
12510
12853
  select: InvitesModuleEdgeSelect;
12511
12854
  };
12512
12855
  };
12856
+ export interface CreatePrincipalAuthModulePayload {
12857
+ clientMutationId?: string | null;
12858
+ /** The `PrincipalAuthModule` that was created by this mutation. */
12859
+ principalAuthModule?: PrincipalAuthModule | null;
12860
+ principalAuthModuleEdge?: PrincipalAuthModuleEdge | null;
12861
+ }
12862
+ export type CreatePrincipalAuthModulePayloadSelect = {
12863
+ clientMutationId?: boolean;
12864
+ principalAuthModule?: {
12865
+ select: PrincipalAuthModuleSelect;
12866
+ };
12867
+ principalAuthModuleEdge?: {
12868
+ select: PrincipalAuthModuleEdgeSelect;
12869
+ };
12870
+ };
12871
+ export interface UpdatePrincipalAuthModulePayload {
12872
+ clientMutationId?: string | null;
12873
+ /** The `PrincipalAuthModule` that was updated by this mutation. */
12874
+ principalAuthModule?: PrincipalAuthModule | null;
12875
+ principalAuthModuleEdge?: PrincipalAuthModuleEdge | null;
12876
+ }
12877
+ export type UpdatePrincipalAuthModulePayloadSelect = {
12878
+ clientMutationId?: boolean;
12879
+ principalAuthModule?: {
12880
+ select: PrincipalAuthModuleSelect;
12881
+ };
12882
+ principalAuthModuleEdge?: {
12883
+ select: PrincipalAuthModuleEdgeSelect;
12884
+ };
12885
+ };
12886
+ export interface DeletePrincipalAuthModulePayload {
12887
+ clientMutationId?: string | null;
12888
+ /** The `PrincipalAuthModule` that was deleted by this mutation. */
12889
+ principalAuthModule?: PrincipalAuthModule | null;
12890
+ principalAuthModuleEdge?: PrincipalAuthModuleEdge | null;
12891
+ }
12892
+ export type DeletePrincipalAuthModulePayloadSelect = {
12893
+ clientMutationId?: boolean;
12894
+ principalAuthModule?: {
12895
+ select: PrincipalAuthModuleSelect;
12896
+ };
12897
+ principalAuthModuleEdge?: {
12898
+ select: PrincipalAuthModuleEdgeSelect;
12899
+ };
12900
+ };
12513
12901
  export interface CreateComputeLogModulePayload {
12514
12902
  clientMutationId?: string | null;
12515
12903
  /** The `ComputeLogModule` that was created by this mutation. */
@@ -12645,6 +13033,51 @@ export type DeleteNamespaceModulePayloadSelect = {
12645
13033
  select: NamespaceModuleEdgeSelect;
12646
13034
  };
12647
13035
  };
13036
+ export interface CreateResourceModulePayload {
13037
+ clientMutationId?: string | null;
13038
+ /** The `ResourceModule` that was created by this mutation. */
13039
+ resourceModule?: ResourceModule | null;
13040
+ resourceModuleEdge?: ResourceModuleEdge | null;
13041
+ }
13042
+ export type CreateResourceModulePayloadSelect = {
13043
+ clientMutationId?: boolean;
13044
+ resourceModule?: {
13045
+ select: ResourceModuleSelect;
13046
+ };
13047
+ resourceModuleEdge?: {
13048
+ select: ResourceModuleEdgeSelect;
13049
+ };
13050
+ };
13051
+ export interface UpdateResourceModulePayload {
13052
+ clientMutationId?: string | null;
13053
+ /** The `ResourceModule` that was updated by this mutation. */
13054
+ resourceModule?: ResourceModule | null;
13055
+ resourceModuleEdge?: ResourceModuleEdge | null;
13056
+ }
13057
+ export type UpdateResourceModulePayloadSelect = {
13058
+ clientMutationId?: boolean;
13059
+ resourceModule?: {
13060
+ select: ResourceModuleSelect;
13061
+ };
13062
+ resourceModuleEdge?: {
13063
+ select: ResourceModuleEdgeSelect;
13064
+ };
13065
+ };
13066
+ export interface DeleteResourceModulePayload {
13067
+ clientMutationId?: string | null;
13068
+ /** The `ResourceModule` that was deleted by this mutation. */
13069
+ resourceModule?: ResourceModule | null;
13070
+ resourceModuleEdge?: ResourceModuleEdge | null;
13071
+ }
13072
+ export type DeleteResourceModulePayloadSelect = {
13073
+ clientMutationId?: boolean;
13074
+ resourceModule?: {
13075
+ select: ResourceModuleSelect;
13076
+ };
13077
+ resourceModuleEdge?: {
13078
+ select: ResourceModuleEdgeSelect;
13079
+ };
13080
+ };
12648
13081
  export interface CreateStorageLogModulePayload {
12649
13082
  clientMutationId?: string | null;
12650
13083
  /** The `StorageLogModule` that was created by this mutation. */
@@ -13877,30 +14310,6 @@ export type SecureTableProvisionEdgeSelect = {
13877
14310
  select: SecureTableProvisionSelect;
13878
14311
  };
13879
14312
  };
13880
- /** A `MerkleStoreModule` edge in the connection. */
13881
- export interface MerkleStoreModuleEdge {
13882
- cursor?: string | null;
13883
- /** The `MerkleStoreModule` at the end of the edge. */
13884
- node?: MerkleStoreModule | null;
13885
- }
13886
- export type MerkleStoreModuleEdgeSelect = {
13887
- cursor?: boolean;
13888
- node?: {
13889
- select: MerkleStoreModuleSelect;
13890
- };
13891
- };
13892
- /** A `GraphModule` edge in the connection. */
13893
- export interface GraphModuleEdge {
13894
- cursor?: string | null;
13895
- /** The `GraphModule` at the end of the edge. */
13896
- node?: GraphModule | null;
13897
- }
13898
- export type GraphModuleEdgeSelect = {
13899
- cursor?: boolean;
13900
- node?: {
13901
- select: GraphModuleSelect;
13902
- };
13903
- };
13904
14313
  /** A `DatabaseProvisionModule` edge in the connection. */
13905
14314
  export interface DatabaseProvisionModuleEdge {
13906
14315
  cursor?: string | null;
@@ -13925,6 +14334,30 @@ export type ConfigSecretsModuleEdgeSelect = {
13925
14334
  select: ConfigSecretsModuleSelect;
13926
14335
  };
13927
14336
  };
14337
+ /** A `GraphModule` edge in the connection. */
14338
+ export interface GraphModuleEdge {
14339
+ cursor?: string | null;
14340
+ /** The `GraphModule` at the end of the edge. */
14341
+ node?: GraphModule | null;
14342
+ }
14343
+ export type GraphModuleEdgeSelect = {
14344
+ cursor?: boolean;
14345
+ node?: {
14346
+ select: GraphModuleSelect;
14347
+ };
14348
+ };
14349
+ /** A `MerkleStoreModule` edge in the connection. */
14350
+ export interface MerkleStoreModuleEdge {
14351
+ cursor?: string | null;
14352
+ /** The `MerkleStoreModule` at the end of the edge. */
14353
+ node?: MerkleStoreModule | null;
14354
+ }
14355
+ export type MerkleStoreModuleEdgeSelect = {
14356
+ cursor?: boolean;
14357
+ node?: {
14358
+ select: MerkleStoreModuleSelect;
14359
+ };
14360
+ };
13928
14361
  /** A `RateLimitMetersModule` edge in the connection. */
13929
14362
  export interface RateLimitMetersModuleEdge {
13930
14363
  cursor?: string | null;
@@ -13997,6 +14430,18 @@ export type InvitesModuleEdgeSelect = {
13997
14430
  select: InvitesModuleSelect;
13998
14431
  };
13999
14432
  };
14433
+ /** A `PrincipalAuthModule` edge in the connection. */
14434
+ export interface PrincipalAuthModuleEdge {
14435
+ cursor?: string | null;
14436
+ /** The `PrincipalAuthModule` at the end of the edge. */
14437
+ node?: PrincipalAuthModule | null;
14438
+ }
14439
+ export type PrincipalAuthModuleEdgeSelect = {
14440
+ cursor?: boolean;
14441
+ node?: {
14442
+ select: PrincipalAuthModuleSelect;
14443
+ };
14444
+ };
14000
14445
  /** A `ComputeLogModule` edge in the connection. */
14001
14446
  export interface ComputeLogModuleEdge {
14002
14447
  cursor?: string | null;
@@ -14033,6 +14478,18 @@ export type NamespaceModuleEdgeSelect = {
14033
14478
  select: NamespaceModuleSelect;
14034
14479
  };
14035
14480
  };
14481
+ /** A `ResourceModule` edge in the connection. */
14482
+ export interface ResourceModuleEdge {
14483
+ cursor?: string | null;
14484
+ /** The `ResourceModule` at the end of the edge. */
14485
+ node?: ResourceModule | null;
14486
+ }
14487
+ export type ResourceModuleEdgeSelect = {
14488
+ cursor?: boolean;
14489
+ node?: {
14490
+ select: ResourceModuleSelect;
14491
+ };
14492
+ };
14036
14493
  /** A `StorageLogModule` edge in the connection. */
14037
14494
  export interface StorageLogModuleEdge {
14038
14495
  cursor?: string | null;