@constructive-io/react 1.19.7 → 1.19.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (203) hide show
  1. package/agent/orm/input-types.d.ts +4 -4
  2. package/agent/schema-types.d.ts +4 -4
  3. package/api/hooks/index.d.ts +1 -1
  4. package/api/hooks/index.js +1 -1
  5. package/api/hooks/invalidation.d.ts +6 -0
  6. package/api/hooks/invalidation.js +16 -0
  7. package/api/hooks/mutation-keys.d.ts +12 -0
  8. package/api/hooks/mutation-keys.js +12 -2
  9. package/api/hooks/mutations/index.d.ts +1 -0
  10. package/api/hooks/mutations/index.js +1 -0
  11. package/api/hooks/mutations/useCreateListSuspendedDatabasesRecordMutation.d.ts +34 -0
  12. package/api/hooks/mutations/useCreateListSuspendedDatabasesRecordMutation.js +34 -0
  13. package/api/hooks/queries/index.d.ts +2 -0
  14. package/api/hooks/queries/index.js +2 -0
  15. package/api/hooks/queries/useListSuspendedDatabasesQuery.d.ts +69 -0
  16. package/api/hooks/queries/useListSuspendedDatabasesQuery.js +38 -0
  17. package/api/hooks/queries/useListSuspendedDatabasesRecordQuery.d.ts +65 -0
  18. package/api/hooks/queries/useListSuspendedDatabasesRecordQuery.js +53 -0
  19. package/api/hooks/query-keys.d.ts +14 -0
  20. package/api/hooks/query-keys.js +10 -2
  21. package/api/orm/index.d.ts +2 -0
  22. package/api/orm/index.js +2 -0
  23. package/api/orm/input-types.d.ts +60 -30
  24. package/api/orm/models/index.d.ts +1 -0
  25. package/api/orm/models/index.js +4 -2
  26. package/api/orm/models/listSuspendedDatabasesRecord.d.ts +36 -0
  27. package/api/orm/models/listSuspendedDatabasesRecord.js +80 -0
  28. package/api/schema-types.d.ts +22 -21
  29. package/api/types.d.ts +7 -2
  30. package/auth/hooks/mutation-keys.d.ts +6 -2
  31. package/auth/hooks/mutation-keys.js +9 -3
  32. package/auth/hooks/mutations/index.d.ts +3 -1
  33. package/auth/hooks/mutations/index.js +3 -1
  34. package/auth/hooks/mutations/useRequestMagicLinkMutation.d.ts +20 -0
  35. package/auth/hooks/mutations/{useProvisionNewUserMutation.js → useRequestMagicLinkMutation.js} +5 -5
  36. package/auth/hooks/mutations/useSendMfaChallengeCodeMutation.d.ts +20 -0
  37. package/auth/hooks/mutations/useSendMfaChallengeCodeMutation.js +26 -0
  38. package/auth/hooks/mutations/useSendSmsOtpMutation.d.ts +20 -0
  39. package/auth/hooks/mutations/useSendSmsOtpMutation.js +26 -0
  40. package/auth/orm/index.d.ts +15 -5
  41. package/auth/orm/input-types.d.ts +44 -14
  42. package/auth/orm/mutation/index.d.ts +25 -9
  43. package/auth/orm/mutation/index.js +36 -12
  44. package/auth/schema-types.d.ts +29 -10
  45. package/compute/hooks/index.d.ts +1 -1
  46. package/compute/hooks/index.js +1 -1
  47. package/compute/hooks/invalidation.d.ts +12 -0
  48. package/compute/hooks/invalidation.js +32 -0
  49. package/compute/hooks/mutation-keys.d.ts +28 -0
  50. package/compute/hooks/mutation-keys.js +26 -3
  51. package/compute/hooks/mutations/index.d.ts +8 -0
  52. package/compute/hooks/mutations/index.js +8 -0
  53. package/compute/hooks/mutations/useCreateFunctionScheduleMutation.d.ts +34 -0
  54. package/compute/hooks/mutations/useCreateFunctionScheduleMutation.js +34 -0
  55. package/compute/hooks/mutations/useCreatePlatformFunctionScheduleMutation.d.ts +34 -0
  56. package/compute/hooks/mutations/useCreatePlatformFunctionScheduleMutation.js +34 -0
  57. package/compute/hooks/mutations/useDeleteFunctionScheduleMutation.d.ts +38 -0
  58. package/compute/hooks/mutations/useDeleteFunctionScheduleMutation.js +39 -0
  59. package/compute/hooks/mutations/useDeletePlatformFunctionScheduleMutation.d.ts +38 -0
  60. package/compute/hooks/mutations/useDeletePlatformFunctionScheduleMutation.js +39 -0
  61. package/compute/hooks/mutations/useFunctionExecutionLogsAppendMutation.d.ts +20 -0
  62. package/compute/hooks/mutations/useFunctionExecutionLogsAppendMutation.js +26 -0
  63. package/compute/hooks/mutations/usePlatformFunctionExecutionLogsAppendMutation.d.ts +20 -0
  64. package/compute/hooks/mutations/usePlatformFunctionExecutionLogsAppendMutation.js +26 -0
  65. package/compute/hooks/mutations/useUpdateFunctionScheduleMutation.d.ts +40 -0
  66. package/compute/hooks/mutations/useUpdateFunctionScheduleMutation.js +40 -0
  67. package/compute/hooks/mutations/useUpdatePlatformFunctionScheduleMutation.d.ts +40 -0
  68. package/compute/hooks/mutations/useUpdatePlatformFunctionScheduleMutation.js +40 -0
  69. package/compute/hooks/queries/index.d.ts +4 -0
  70. package/compute/hooks/queries/index.js +4 -0
  71. package/compute/hooks/queries/useFunctionScheduleQuery.d.ts +65 -0
  72. package/compute/hooks/queries/useFunctionScheduleQuery.js +53 -0
  73. package/compute/hooks/queries/useFunctionSchedulesQuery.d.ts +69 -0
  74. package/compute/hooks/queries/useFunctionSchedulesQuery.js +38 -0
  75. package/compute/hooks/queries/usePlatformFunctionScheduleQuery.d.ts +65 -0
  76. package/compute/hooks/queries/usePlatformFunctionScheduleQuery.js +53 -0
  77. package/compute/hooks/queries/usePlatformFunctionSchedulesQuery.d.ts +69 -0
  78. package/compute/hooks/queries/usePlatformFunctionSchedulesQuery.js +38 -0
  79. package/compute/hooks/query-keys.d.ts +28 -0
  80. package/compute/hooks/query-keys.js +19 -3
  81. package/compute/orm/index.d.ts +14 -0
  82. package/compute/orm/index.js +4 -0
  83. package/compute/orm/input-types.d.ts +553 -4
  84. package/compute/orm/input-types.js +2 -0
  85. package/compute/orm/models/functionSchedule.d.ts +54 -0
  86. package/compute/orm/models/functionSchedule.js +104 -0
  87. package/compute/orm/models/index.d.ts +2 -0
  88. package/compute/orm/models/index.js +7 -3
  89. package/compute/orm/models/platformFunctionSchedule.d.ts +54 -0
  90. package/compute/orm/models/platformFunctionSchedule.js +104 -0
  91. package/compute/orm/mutation/index.d.ts +17 -1
  92. package/compute/orm/mutation/index.js +24 -0
  93. package/compute/schema-types.d.ts +319 -1
  94. package/compute/types.d.ts +29 -0
  95. package/esm/agent/orm/input-types.d.ts +4 -4
  96. package/esm/agent/schema-types.d.ts +4 -4
  97. package/esm/api/hooks/index.d.ts +1 -1
  98. package/esm/api/hooks/index.js +1 -1
  99. package/esm/api/hooks/invalidation.d.ts +6 -0
  100. package/esm/api/hooks/invalidation.js +17 -1
  101. package/esm/api/hooks/mutation-keys.d.ts +12 -0
  102. package/esm/api/hooks/mutation-keys.js +10 -0
  103. package/esm/api/hooks/mutations/index.d.ts +1 -0
  104. package/esm/api/hooks/mutations/index.js +1 -0
  105. package/esm/api/hooks/mutations/useCreateListSuspendedDatabasesRecordMutation.d.ts +34 -0
  106. package/esm/api/hooks/mutations/useCreateListSuspendedDatabasesRecordMutation.js +31 -0
  107. package/esm/api/hooks/queries/index.d.ts +2 -0
  108. package/esm/api/hooks/queries/index.js +2 -0
  109. package/esm/api/hooks/queries/useListSuspendedDatabasesQuery.d.ts +69 -0
  110. package/esm/api/hooks/queries/useListSuspendedDatabasesQuery.js +32 -0
  111. package/esm/api/hooks/queries/useListSuspendedDatabasesRecordQuery.d.ts +65 -0
  112. package/esm/api/hooks/queries/useListSuspendedDatabasesRecordQuery.js +47 -0
  113. package/esm/api/hooks/query-keys.d.ts +14 -0
  114. package/esm/api/hooks/query-keys.js +8 -0
  115. package/esm/api/orm/index.d.ts +2 -0
  116. package/esm/api/orm/index.js +2 -0
  117. package/esm/api/orm/input-types.d.ts +60 -30
  118. package/esm/api/orm/models/index.d.ts +1 -0
  119. package/esm/api/orm/models/index.js +1 -0
  120. package/esm/api/orm/models/listSuspendedDatabasesRecord.d.ts +36 -0
  121. package/esm/api/orm/models/listSuspendedDatabasesRecord.js +76 -0
  122. package/esm/api/schema-types.d.ts +22 -21
  123. package/esm/api/types.d.ts +7 -2
  124. package/esm/auth/hooks/mutation-keys.d.ts +6 -2
  125. package/esm/auth/hooks/mutation-keys.js +9 -3
  126. package/esm/auth/hooks/mutations/index.d.ts +3 -1
  127. package/esm/auth/hooks/mutations/index.js +3 -1
  128. package/esm/auth/hooks/mutations/useRequestMagicLinkMutation.d.ts +20 -0
  129. package/esm/auth/hooks/mutations/{useProvisionNewUserMutation.js → useRequestMagicLinkMutation.js} +4 -4
  130. package/esm/auth/hooks/mutations/useSendMfaChallengeCodeMutation.d.ts +20 -0
  131. package/esm/auth/hooks/mutations/useSendMfaChallengeCodeMutation.js +23 -0
  132. package/esm/auth/hooks/mutations/useSendSmsOtpMutation.d.ts +20 -0
  133. package/esm/auth/hooks/mutations/useSendSmsOtpMutation.js +23 -0
  134. package/esm/auth/orm/index.d.ts +15 -5
  135. package/esm/auth/orm/input-types.d.ts +44 -14
  136. package/esm/auth/orm/mutation/index.d.ts +25 -9
  137. package/esm/auth/orm/mutation/index.js +36 -12
  138. package/esm/auth/schema-types.d.ts +29 -10
  139. package/esm/compute/hooks/index.d.ts +1 -1
  140. package/esm/compute/hooks/index.js +1 -1
  141. package/esm/compute/hooks/invalidation.d.ts +12 -0
  142. package/esm/compute/hooks/invalidation.js +33 -1
  143. package/esm/compute/hooks/mutation-keys.d.ts +28 -0
  144. package/esm/compute/hooks/mutation-keys.js +23 -0
  145. package/esm/compute/hooks/mutations/index.d.ts +8 -0
  146. package/esm/compute/hooks/mutations/index.js +8 -0
  147. package/esm/compute/hooks/mutations/useCreateFunctionScheduleMutation.d.ts +34 -0
  148. package/esm/compute/hooks/mutations/useCreateFunctionScheduleMutation.js +31 -0
  149. package/esm/compute/hooks/mutations/useCreatePlatformFunctionScheduleMutation.d.ts +34 -0
  150. package/esm/compute/hooks/mutations/useCreatePlatformFunctionScheduleMutation.js +31 -0
  151. package/esm/compute/hooks/mutations/useDeleteFunctionScheduleMutation.d.ts +38 -0
  152. package/esm/compute/hooks/mutations/useDeleteFunctionScheduleMutation.js +36 -0
  153. package/esm/compute/hooks/mutations/useDeletePlatformFunctionScheduleMutation.d.ts +38 -0
  154. package/esm/compute/hooks/mutations/useDeletePlatformFunctionScheduleMutation.js +36 -0
  155. package/esm/compute/hooks/mutations/useFunctionExecutionLogsAppendMutation.d.ts +20 -0
  156. package/esm/compute/hooks/mutations/useFunctionExecutionLogsAppendMutation.js +23 -0
  157. package/esm/compute/hooks/mutations/usePlatformFunctionExecutionLogsAppendMutation.d.ts +20 -0
  158. package/esm/compute/hooks/mutations/usePlatformFunctionExecutionLogsAppendMutation.js +23 -0
  159. package/esm/compute/hooks/mutations/useUpdateFunctionScheduleMutation.d.ts +40 -0
  160. package/esm/compute/hooks/mutations/useUpdateFunctionScheduleMutation.js +37 -0
  161. package/esm/compute/hooks/mutations/useUpdatePlatformFunctionScheduleMutation.d.ts +40 -0
  162. package/esm/compute/hooks/mutations/useUpdatePlatformFunctionScheduleMutation.js +37 -0
  163. package/esm/compute/hooks/queries/index.d.ts +4 -0
  164. package/esm/compute/hooks/queries/index.js +4 -0
  165. package/esm/compute/hooks/queries/useFunctionScheduleQuery.d.ts +65 -0
  166. package/esm/compute/hooks/queries/useFunctionScheduleQuery.js +47 -0
  167. package/esm/compute/hooks/queries/useFunctionSchedulesQuery.d.ts +69 -0
  168. package/esm/compute/hooks/queries/useFunctionSchedulesQuery.js +32 -0
  169. package/esm/compute/hooks/queries/usePlatformFunctionScheduleQuery.d.ts +65 -0
  170. package/esm/compute/hooks/queries/usePlatformFunctionScheduleQuery.js +47 -0
  171. package/esm/compute/hooks/queries/usePlatformFunctionSchedulesQuery.d.ts +69 -0
  172. package/esm/compute/hooks/queries/usePlatformFunctionSchedulesQuery.js +32 -0
  173. package/esm/compute/hooks/query-keys.d.ts +28 -0
  174. package/esm/compute/hooks/query-keys.js +16 -0
  175. package/esm/compute/orm/index.d.ts +14 -0
  176. package/esm/compute/orm/index.js +4 -0
  177. package/esm/compute/orm/input-types.d.ts +553 -4
  178. package/esm/compute/orm/input-types.js +2 -0
  179. package/esm/compute/orm/models/functionSchedule.d.ts +54 -0
  180. package/esm/compute/orm/models/functionSchedule.js +100 -0
  181. package/esm/compute/orm/models/index.d.ts +2 -0
  182. package/esm/compute/orm/models/index.js +2 -0
  183. package/esm/compute/orm/models/platformFunctionSchedule.d.ts +54 -0
  184. package/esm/compute/orm/models/platformFunctionSchedule.js +100 -0
  185. package/esm/compute/orm/mutation/index.d.ts +17 -1
  186. package/esm/compute/orm/mutation/index.js +24 -0
  187. package/esm/compute/schema-types.d.ts +319 -1
  188. package/esm/compute/types.d.ts +29 -0
  189. package/esm/modules/orm/input-types.d.ts +26 -48
  190. package/esm/modules/schema-types.d.ts +17 -33
  191. package/esm/modules/types.d.ts +3 -5
  192. package/esm/remote/orm/input-types.d.ts +13 -1
  193. package/esm/remote/schema-types.d.ts +8 -1
  194. package/esm/remote/types.d.ts +1 -0
  195. package/modules/orm/input-types.d.ts +26 -48
  196. package/modules/schema-types.d.ts +17 -33
  197. package/modules/types.d.ts +3 -5
  198. package/package.json +2 -2
  199. package/remote/orm/input-types.d.ts +13 -1
  200. package/remote/schema-types.d.ts +8 -1
  201. package/remote/types.d.ts +1 -0
  202. package/auth/hooks/mutations/useProvisionNewUserMutation.d.ts +0 -20
  203. package/esm/auth/hooks/mutations/useProvisionNewUserMutation.d.ts +0 -20
@@ -3,7 +3,7 @@
3
3
  * @generated by @constructive-io/graphql-codegen
4
4
  * DO NOT EDIT - changes will be overwritten
5
5
  */
6
- import type { Api, ApiSchema, ApiSetting, AstMigration, CheckConstraint, CompositeType, CorsSetting, Database, DatabaseSetting, DatabaseTransfer, DefaultPrivilege, Derive, Domain, DomainEvent, DomainType, DomainVerification, EmailIdentity, EmailProviderAccount, EmailSiteIdentity, EmbeddingChunk, Enum, ExclusionConstraint, Field, FieldBehavior, ForeignKeyConstraint, ForeignKeyConstraintBehavior, FullTextSearch, Function, GetSitePreviewsRecord, HostnameBinding, IdentityProviderRegistry, Index, ManagedDomain, NodeTypeRegistry, Page, Partition, PlatformApi, PlatformApiSchema, PlatformApiSetting, PlatformCorsSetting, PlatformDomain, PlatformDomainEvent, PlatformDomainVerification, PlatformEmailIdentity, PlatformEmailProviderAccount, PlatformEmailSiteIdentity, PlatformGetSitePreviewsRecord, PlatformManagedDomain, PlatformPage, PlatformSite, PlatformSiteAppLink, PlatformSiteDeepLink, PlatformSiteErrorPage, PlatformSiteMetadatum, PlatformSiteModule, PlatformSiteRelease, PlatformSiteTheme, PlatformSiteWebConfig, Policy, PrimaryKeyConstraint, PubkeySetting, Redirect, RlsSetting, Route, RouteBinding, Schema, SchemaGrant, Site, SiteAppLink, SiteDeepLink, SiteErrorPage, SiteMetadatum, SiteModule, SiteRelease, SiteTheme, SiteWebConfig, SpatialRelation, SqlAction, Table, TableBehavior, TableGrant, Trigger, TriggerFunction, UniqueConstraint, UniqueConstraintBehavior, View, ViewBehavior, ViewGrant, ViewRule, ViewTable, WebauthnSetting, BigIntFilter, BooleanFilter, DatetimeFilter, FloatFilter, IntFilter, JSONFilter, StringFilter, StringListFilter, UUIDFilter, UUIDListFilter } from './types';
6
+ import type { Api, ApiSchema, ApiSetting, AstMigration, CheckConstraint, CompositeType, CorsSetting, Database, DatabaseSetting, DatabaseTransfer, DefaultPrivilege, Derive, Domain, DomainEvent, DomainType, DomainVerification, EmailIdentity, EmailProviderAccount, EmailSiteIdentity, EmbeddingChunk, Enum, ExclusionConstraint, Field, FieldBehavior, ForeignKeyConstraint, ForeignKeyConstraintBehavior, FullTextSearch, Function, GetSitePreviewsRecord, HostnameBinding, IdentityProviderRegistry, Index, ListSuspendedDatabasesRecord, ManagedDomain, NodeTypeRegistry, Page, Partition, PlatformApi, PlatformApiSchema, PlatformApiSetting, PlatformCorsSetting, PlatformDomain, PlatformDomainEvent, PlatformDomainVerification, PlatformEmailIdentity, PlatformEmailProviderAccount, PlatformEmailSiteIdentity, PlatformGetSitePreviewsRecord, PlatformManagedDomain, PlatformPage, PlatformSite, PlatformSiteAppLink, PlatformSiteDeepLink, PlatformSiteErrorPage, PlatformSiteMetadatum, PlatformSiteModule, PlatformSiteRelease, PlatformSiteTheme, PlatformSiteWebConfig, Policy, PrimaryKeyConstraint, PubkeySetting, Redirect, RlsSetting, Route, RouteBinding, Schema, SchemaGrant, Site, SiteAppLink, SiteDeepLink, SiteErrorPage, SiteMetadatum, SiteModule, SiteRelease, SiteTheme, SiteWebConfig, SpatialRelation, SqlAction, Table, TableBehavior, TableGrant, Trigger, TriggerFunction, UniqueConstraint, UniqueConstraintBehavior, View, ViewBehavior, ViewGrant, ViewRule, ViewTable, WebauthnSetting, BigIntFilter, BooleanFilter, DatetimeFilter, FloatFilter, IntFilter, JSONFilter, StringFilter, StringListFilter, UUIDFilter, UUIDListFilter } from './types';
7
7
  export type ConstructiveInternalTypeImage = unknown;
8
8
  export type ApiExposureLevel = 'EXPOSABLE' | 'INTERNAL_ONLY' | 'NEVER_EXPOSE';
9
9
  /** Methods to use when ordering `Api`. */
@@ -41,7 +41,7 @@ export type DomainVerificationOrderBy = 'ATTEMPTS_ASC' | 'ATTEMPTS_DESC' | 'CREA
41
41
  /** Methods to use when ordering `EmailIdentity`. */
42
42
  export type EmailIdentityOrderBy = 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'FROM_ADDRESS_ASC' | 'FROM_ADDRESS_DESC' | 'FROM_NAME_ASC' | 'FROM_NAME_DESC' | 'ID_ASC' | 'ID_DESC' | 'IS_ACTIVE_ASC' | 'IS_ACTIVE_DESC' | 'IS_DEFAULT_ASC' | 'IS_DEFAULT_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'PROVIDER_ACCOUNT_ID_ASC' | 'PROVIDER_ACCOUNT_ID_DESC' | 'REPLY_TO_ADDRESS_ASC' | 'REPLY_TO_ADDRESS_DESC' | 'SUPPORT_ADDRESS_ASC' | 'SUPPORT_ADDRESS_DESC' | 'TRANSPORT_MODE_ASC' | 'TRANSPORT_MODE_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
43
43
  /** Methods to use when ordering `EmailProviderAccount`. */
44
- export type EmailProviderAccountOrderBy = 'API_BASE_URL_ASC' | 'API_BASE_URL_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'CREDENTIALS_SECRET_NAME_ASC' | 'CREDENTIALS_SECRET_NAME_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'ID_ASC' | 'ID_DESC' | 'IS_ACTIVE_ASC' | 'IS_ACTIVE_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'PROVIDER_ACCOUNT_NAME_ASC' | 'PROVIDER_ACCOUNT_NAME_DESC' | 'PROVIDER_ASC' | 'PROVIDER_DESC' | 'REGION_ASC' | 'REGION_DESC' | 'SMTP_HOST_ASC' | 'SMTP_HOST_DESC' | 'SMTP_PORT_ASC' | 'SMTP_PORT_DESC' | 'SMTP_SECURE_ASC' | 'SMTP_SECURE_DESC' | 'SMTP_USER_ASC' | 'SMTP_USER_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'WEBHOOK_SIGNING_SECRET_NAME_ASC' | 'WEBHOOK_SIGNING_SECRET_NAME_DESC';
44
+ export type EmailProviderAccountOrderBy = 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'CREDENTIALS_SECRET_NAME_ASC' | 'CREDENTIALS_SECRET_NAME_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'ID_ASC' | 'ID_DESC' | 'IS_ACTIVE_ASC' | 'IS_ACTIVE_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'PROVIDER_ACCOUNT_NAME_ASC' | 'PROVIDER_ACCOUNT_NAME_DESC' | 'PROVIDER_ASC' | 'PROVIDER_DESC' | 'REGION_ASC' | 'REGION_DESC' | 'SMTP_HOST_ASC' | 'SMTP_HOST_DESC' | 'SMTP_PORT_ASC' | 'SMTP_PORT_DESC' | 'SMTP_SECURE_ASC' | 'SMTP_SECURE_DESC' | 'SMTP_USER_ASC' | 'SMTP_USER_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'WEBHOOK_SIGNING_SECRET_NAME_ASC' | 'WEBHOOK_SIGNING_SECRET_NAME_DESC';
45
45
  /** Methods to use when ordering `EmailSiteIdentity`. */
46
46
  export type EmailSiteIdentityOrderBy = 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'EMAIL_IDENTITY_ID_ASC' | 'EMAIL_IDENTITY_ID_DESC' | 'ID_ASC' | 'ID_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'SITE_ID_ASC' | 'SITE_ID_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
47
47
  /** Methods to use when ordering `EmbeddingChunk`. */
@@ -94,7 +94,7 @@ export type PlatformDomainVerificationOrderBy = 'ATTEMPTS_ASC' | 'ATTEMPTS_DESC'
94
94
  /** Methods to use when ordering `PlatformEmailIdentity`. */
95
95
  export type PlatformEmailIdentityOrderBy = 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'FROM_ADDRESS_ASC' | 'FROM_ADDRESS_DESC' | 'FROM_NAME_ASC' | 'FROM_NAME_DESC' | 'ID_ASC' | 'ID_DESC' | 'IS_ACTIVE_ASC' | 'IS_ACTIVE_DESC' | 'IS_DEFAULT_ASC' | 'IS_DEFAULT_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'PROVIDER_ACCOUNT_ID_ASC' | 'PROVIDER_ACCOUNT_ID_DESC' | 'REPLY_TO_ADDRESS_ASC' | 'REPLY_TO_ADDRESS_DESC' | 'SUPPORT_ADDRESS_ASC' | 'SUPPORT_ADDRESS_DESC' | 'TRANSPORT_MODE_ASC' | 'TRANSPORT_MODE_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
96
96
  /** Methods to use when ordering `PlatformEmailProviderAccount`. */
97
- export type PlatformEmailProviderAccountOrderBy = 'API_BASE_URL_ASC' | 'API_BASE_URL_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'CREDENTIALS_SECRET_NAME_ASC' | 'CREDENTIALS_SECRET_NAME_DESC' | 'ID_ASC' | 'ID_DESC' | 'IS_ACTIVE_ASC' | 'IS_ACTIVE_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'PROVIDER_ACCOUNT_NAME_ASC' | 'PROVIDER_ACCOUNT_NAME_DESC' | 'PROVIDER_ASC' | 'PROVIDER_DESC' | 'REGION_ASC' | 'REGION_DESC' | 'SMTP_HOST_ASC' | 'SMTP_HOST_DESC' | 'SMTP_PORT_ASC' | 'SMTP_PORT_DESC' | 'SMTP_SECURE_ASC' | 'SMTP_SECURE_DESC' | 'SMTP_USER_ASC' | 'SMTP_USER_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'WEBHOOK_SIGNING_SECRET_NAME_ASC' | 'WEBHOOK_SIGNING_SECRET_NAME_DESC';
97
+ export type PlatformEmailProviderAccountOrderBy = 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'CREDENTIALS_SECRET_NAME_ASC' | 'CREDENTIALS_SECRET_NAME_DESC' | 'ID_ASC' | 'ID_DESC' | 'IS_ACTIVE_ASC' | 'IS_ACTIVE_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'PROVIDER_ACCOUNT_NAME_ASC' | 'PROVIDER_ACCOUNT_NAME_DESC' | 'PROVIDER_ASC' | 'PROVIDER_DESC' | 'REGION_ASC' | 'REGION_DESC' | 'SMTP_HOST_ASC' | 'SMTP_HOST_DESC' | 'SMTP_PORT_ASC' | 'SMTP_PORT_DESC' | 'SMTP_SECURE_ASC' | 'SMTP_SECURE_DESC' | 'SMTP_USER_ASC' | 'SMTP_USER_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'WEBHOOK_SIGNING_SECRET_NAME_ASC' | 'WEBHOOK_SIGNING_SECRET_NAME_DESC';
98
98
  /** Methods to use when ordering `PlatformEmailSiteIdentity`. */
99
99
  export type PlatformEmailSiteIdentityOrderBy = 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'EMAIL_IDENTITY_ID_ASC' | 'EMAIL_IDENTITY_ID_DESC' | 'ID_ASC' | 'ID_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'SITE_ID_ASC' | 'SITE_ID_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
100
100
  /** Methods to use when ordering `PlatformManagedDomain`. */
@@ -3022,8 +3022,6 @@ export interface EmailIdentityToManyEmailSiteIdentityFilter {
3022
3022
  export interface EmailProviderAccountFilter {
3023
3023
  /** Checks for all expressions in this list. */
3024
3024
  and?: EmailProviderAccountFilter[];
3025
- /** Filter by the object’s `apiBaseUrl` field. */
3026
- apiBaseUrl?: StringFilter;
3027
3025
  /** Filter by the object’s `createdAt` field. */
3028
3026
  createdAt?: DatetimeFilter;
3029
3027
  /** Filter by the object’s `credentialsSecretName` field. */
@@ -3065,8 +3063,6 @@ export interface EmailProviderAccountFilter {
3065
3063
  }
3066
3064
  /** An input for mutations affecting `EmailProviderAccount` */
3067
3065
  export interface EmailProviderAccountInput {
3068
- /** Provider API base URL when it is not the provider default (e.g. Mailgun EU) */
3069
- apiBaseUrl?: string;
3070
3066
  createdAt?: string;
3071
3067
  /** Name of the secret holding this account's API key or SMTP password. The value is resolved from the secret store at send time (realm = this row's id) and is never stored here. */
3072
3068
  credentialsSecretName: string;
@@ -3081,7 +3077,7 @@ export interface EmailProviderAccountInput {
3081
3077
  provider: string;
3082
3078
  /** Account identifier at the provider — the Mailgun sending domain, the SES verified identity, the Postmark server name */
3083
3079
  providerAccountName?: string;
3084
- /** Provider region for region-addressed providers (e.g. SES us-east-1) */
3080
+ /** Provider region; the provider API host is derived from it, never stored (Mailgun: us or eu, unset meaning us) */
3085
3081
  region?: string;
3086
3082
  /** SMTP host (provider = smtp, or a provider addressed over SMTP) */
3087
3083
  smtpHost?: string;
@@ -3097,8 +3093,6 @@ export interface EmailProviderAccountInput {
3097
3093
  }
3098
3094
  /** Represents an update to a `EmailProviderAccount`. Fields that are set will be updated. */
3099
3095
  export interface EmailProviderAccountPatch {
3100
- /** Provider API base URL when it is not the provider default (e.g. Mailgun EU) */
3101
- apiBaseUrl?: string;
3102
3096
  createdAt?: string;
3103
3097
  /** Name of the secret holding this account's API key or SMTP password. The value is resolved from the secret store at send time (realm = this row's id) and is never stored here. */
3104
3098
  credentialsSecretName?: string;
@@ -3113,7 +3107,7 @@ export interface EmailProviderAccountPatch {
3113
3107
  provider?: string;
3114
3108
  /** Account identifier at the provider — the Mailgun sending domain, the SES verified identity, the Postmark server name */
3115
3109
  providerAccountName?: string;
3116
- /** Provider region for region-addressed providers (e.g. SES us-east-1) */
3110
+ /** Provider region; the provider API host is derived from it, never stored (Mailgun: us or eu, unset meaning us) */
3117
3111
  region?: string;
3118
3112
  /** SMTP host (provider = smtp, or a provider addressed over SMTP) */
3119
3113
  smtpHost?: string;
@@ -5342,8 +5336,6 @@ export interface PlatformEmailIdentityToManyPlatformEmailSiteIdentityFilter {
5342
5336
  export interface PlatformEmailProviderAccountFilter {
5343
5337
  /** Checks for all expressions in this list. */
5344
5338
  and?: PlatformEmailProviderAccountFilter[];
5345
- /** Filter by the object’s `apiBaseUrl` field. */
5346
- apiBaseUrl?: StringFilter;
5347
5339
  /** Filter by the object’s `createdAt` field. */
5348
5340
  createdAt?: DatetimeFilter;
5349
5341
  /** Filter by the object’s `credentialsSecretName` field. */
@@ -5383,8 +5375,6 @@ export interface PlatformEmailProviderAccountFilter {
5383
5375
  }
5384
5376
  /** An input for mutations affecting `PlatformEmailProviderAccount` */
5385
5377
  export interface PlatformEmailProviderAccountInput {
5386
- /** Provider API base URL when it is not the provider default (e.g. Mailgun EU) */
5387
- apiBaseUrl?: string;
5388
5378
  createdAt?: string;
5389
5379
  /** Name of the secret holding this account's API key or SMTP password. The value is resolved from the secret store at send time (realm = this row's id) and is never stored here. */
5390
5380
  credentialsSecretName: string;
@@ -5397,7 +5387,7 @@ export interface PlatformEmailProviderAccountInput {
5397
5387
  provider: string;
5398
5388
  /** Account identifier at the provider — the Mailgun sending domain, the SES verified identity, the Postmark server name */
5399
5389
  providerAccountName?: string;
5400
- /** Provider region for region-addressed providers (e.g. SES us-east-1) */
5390
+ /** Provider region; the provider API host is derived from it, never stored (Mailgun: us or eu, unset meaning us) */
5401
5391
  region?: string;
5402
5392
  /** SMTP host (provider = smtp, or a provider addressed over SMTP) */
5403
5393
  smtpHost?: string;
@@ -5413,8 +5403,6 @@ export interface PlatformEmailProviderAccountInput {
5413
5403
  }
5414
5404
  /** Represents an update to a `PlatformEmailProviderAccount`. Fields that are set will be updated. */
5415
5405
  export interface PlatformEmailProviderAccountPatch {
5416
- /** Provider API base URL when it is not the provider default (e.g. Mailgun EU) */
5417
- apiBaseUrl?: string;
5418
5406
  createdAt?: string;
5419
5407
  /** Name of the secret holding this account's API key or SMTP password. The value is resolved from the secret store at send time (realm = this row's id) and is never stored here. */
5420
5408
  credentialsSecretName?: string;
@@ -5427,7 +5415,7 @@ export interface PlatformEmailProviderAccountPatch {
5427
5415
  provider?: string;
5428
5416
  /** Account identifier at the provider — the Mailgun sending domain, the SES verified identity, the Postmark server name */
5429
5417
  providerAccountName?: string;
5430
- /** Provider region for region-addressed providers (e.g. SES us-east-1) */
5418
+ /** Provider region; the provider API host is derived from it, never stored (Mailgun: us or eu, unset meaning us) */
5431
5419
  region?: string;
5432
5420
  /** SMTP host (provider = smtp, or a provider addressed over SMTP) */
5433
5421
  smtpHost?: string;
@@ -8610,7 +8598,7 @@ export interface TableInput {
8610
8598
  schemaId: string;
8611
8599
  singularName?: string;
8612
8600
  smartTags?: unknown;
8613
- /** Declarative step-up auth guard: jsonb object mapping DML verbs (INSERT, UPDATE, DELETE) to a step-up spec. Values: true (default fresh_auth), a type string (password / mfa / fresh_auth; password_or_mfa is the legacy spelling), or an object {type, min_age, min_age_lookup, conditions} where min_age is an interval string (e.g. 6 hours) gating the guard to rows older than that age (UPDATE/DELETE only), min_age_lookup resolves per-row windows from a lookup table, and conditions is a declarative WHEN-clause tree compiled by build_condition_expr. */
8601
+ /** Declarative step-up auth guard: jsonb object mapping DML verbs (INSERT, UPDATE, DELETE) to a step-up spec. Values: true (default fresh_auth), a type string (password / mfa / password_or_mfa / fresh_auth), or an object {type, min_age, min_age_lookup, conditions} where min_age is an interval string (e.g. 6 hours) gating the guard to rows older than that age (UPDATE/DELETE only), min_age_lookup resolves per-row windows from a lookup table, and conditions is a declarative WHEN-clause tree compiled by build_condition_expr. */
8614
8602
  stepUp?: unknown;
8615
8603
  tags?: string[];
8616
8604
  timestamps?: boolean;
@@ -8637,7 +8625,7 @@ export interface TablePatch {
8637
8625
  schemaId?: string;
8638
8626
  singularName?: string;
8639
8627
  smartTags?: unknown;
8640
- /** Declarative step-up auth guard: jsonb object mapping DML verbs (INSERT, UPDATE, DELETE) to a step-up spec. Values: true (default fresh_auth), a type string (password / mfa / fresh_auth; password_or_mfa is the legacy spelling), or an object {type, min_age, min_age_lookup, conditions} where min_age is an interval string (e.g. 6 hours) gating the guard to rows older than that age (UPDATE/DELETE only), min_age_lookup resolves per-row windows from a lookup table, and conditions is a declarative WHEN-clause tree compiled by build_condition_expr. */
8628
+ /** Declarative step-up auth guard: jsonb object mapping DML verbs (INSERT, UPDATE, DELETE) to a step-up spec. Values: true (default fresh_auth), a type string (password / mfa / password_or_mfa / fresh_auth), or an object {type, min_age, min_age_lookup, conditions} where min_age is an interval string (e.g. 6 hours) gating the guard to rows older than that age (UPDATE/DELETE only), min_age_lookup resolves per-row windows from a lookup table, and conditions is a declarative WHEN-clause tree compiled by build_condition_expr. */
8641
8629
  stepUp?: unknown;
8642
8630
  tags?: string[];
8643
8631
  timestamps?: boolean;
@@ -10328,6 +10316,13 @@ export interface IndexConnection {
10328
10316
  pageInfo: PageInfo;
10329
10317
  totalCount: number;
10330
10318
  }
10319
+ /** A connection to a list of `ListSuspendedDatabasesRecord` values. */
10320
+ export interface ListSuspendedDatabasesConnection {
10321
+ edges: ListSuspendedDatabasesEdge[];
10322
+ nodes: ListSuspendedDatabasesRecord[];
10323
+ pageInfo: PageInfo;
10324
+ totalCount: number;
10325
+ }
10331
10326
  /** A connection to a list of `ManagedDomain` values. */
10332
10327
  export interface ManagedDomainConnection {
10333
10328
  edges: ManagedDomainEdge[];
@@ -12681,6 +12676,12 @@ export interface IndexEdge {
12681
12676
  /** The `Index` at the end of the edge. */
12682
12677
  node?: Index | null;
12683
12678
  }
12679
+ /** A `ListSuspendedDatabasesRecord` edge in the connection. */
12680
+ export interface ListSuspendedDatabasesEdge {
12681
+ cursor?: string | null;
12682
+ /** The `ListSuspendedDatabasesRecord` at the end of the edge. */
12683
+ node?: ListSuspendedDatabasesRecord | null;
12684
+ }
12684
12685
  /** A `ManagedDomain` edge in the connection. */
12685
12686
  export interface ManagedDomainEdge {
12686
12687
  cursor?: string | null;
package/api/types.d.ts CHANGED
@@ -273,7 +273,6 @@ export interface EmailIdentity {
273
273
  updatedAt: string | null;
274
274
  }
275
275
  export interface EmailProviderAccount {
276
- apiBaseUrl: string | null;
277
276
  createdAt: string | null;
278
277
  credentialsSecretName: string | null;
279
278
  databaseId: string | null;
@@ -497,6 +496,13 @@ export interface Index {
497
496
  updatedAt: string | null;
498
497
  whereClause: unknown | null;
499
498
  }
499
+ export interface ListSuspendedDatabasesRecord {
500
+ id: string | null;
501
+ name: string | null;
502
+ ownerId: string | null;
503
+ suspendedAt: string | null;
504
+ suspendedReason: string | null;
505
+ }
500
506
  export interface ManagedDomain {
501
507
  allowPublicUsage: boolean | null;
502
508
  annotations: unknown | null;
@@ -668,7 +674,6 @@ export interface PlatformEmailIdentity {
668
674
  updatedAt: string | null;
669
675
  }
670
676
  export interface PlatformEmailProviderAccount {
671
- apiBaseUrl: string | null;
672
677
  createdAt: string | null;
673
678
  credentialsSecretName: string | null;
674
679
  id: string | null;
@@ -119,15 +119,17 @@ export declare const customMutationKeys: {
119
119
  /** Mutation key for linkIdentity */ readonly linkIdentity: (identifier?: string) => readonly ["mutation", "linkIdentity", string] | readonly ["mutation", "linkIdentity"];
120
120
  /** Mutation key for mintAccessToken */ readonly mintAccessToken: (identifier?: string) => readonly ["mutation", "mintAccessToken", string] | readonly ["mutation", "mintAccessToken"];
121
121
  /** Mutation key for provisionBucket */ readonly provisionBucket: (identifier?: string) => readonly ["mutation", "provisionBucket", string] | readonly ["mutation", "provisionBucket"];
122
- /** Mutation key for provisionNewUser */ readonly provisionNewUser: (identifier?: string) => readonly ["mutation", "provisionNewUser", string] | readonly ["mutation", "provisionNewUser"];
123
122
  /** Mutation key for refreshAccessToken */ readonly refreshAccessToken: (identifier?: string) => readonly ["mutation", "refreshAccessToken", string] | readonly ["mutation", "refreshAccessToken"];
124
123
  /** Mutation key for requestCrossOriginToken */ readonly requestCrossOriginToken: (identifier?: string) => readonly ["mutation", "requestCrossOriginToken", string] | readonly ["mutation", "requestCrossOriginToken"];
124
+ /** Mutation key for requestMagicLink */ readonly requestMagicLink: (identifier?: string) => readonly ["mutation", "requestMagicLink", string] | readonly ["mutation", "requestMagicLink"];
125
125
  /** Mutation key for resetPassword */ readonly resetPassword: (identifier?: string) => readonly ["mutation", "resetPassword", string] | readonly ["mutation", "resetPassword"];
126
126
  /** Mutation key for revokeApiKey */ readonly revokeApiKey: (identifier?: string) => readonly ["mutation", "revokeApiKey", string] | readonly ["mutation", "revokeApiKey"];
127
127
  /** Mutation key for revokeOrgApiKey */ readonly revokeOrgApiKey: (identifier?: string) => readonly ["mutation", "revokeOrgApiKey", string] | readonly ["mutation", "revokeOrgApiKey"];
128
128
  /** Mutation key for revokeSession */ readonly revokeSession: (identifier?: string) => readonly ["mutation", "revokeSession", string] | readonly ["mutation", "revokeSession"];
129
129
  /** Mutation key for sendAccountDeletionEmail */ readonly sendAccountDeletionEmail: (identifier?: string) => readonly ["mutation", "sendAccountDeletionEmail", string] | readonly ["mutation", "sendAccountDeletionEmail"];
130
+ /** Mutation key for sendMfaChallengeCode */ readonly sendMfaChallengeCode: (identifier?: string) => readonly ["mutation", "sendMfaChallengeCode", string] | readonly ["mutation", "sendMfaChallengeCode"];
130
131
  /** Mutation key for sendPhoneVerificationCode */ readonly sendPhoneVerificationCode: (identifier?: string) => readonly ["mutation", "sendPhoneVerificationCode", string] | readonly ["mutation", "sendPhoneVerificationCode"];
132
+ /** Mutation key for sendSmsOtp */ readonly sendSmsOtp: (identifier?: string) => readonly ["mutation", "sendSmsOtp", string] | readonly ["mutation", "sendSmsOtp"];
131
133
  /** Mutation key for sendVerificationEmail */ readonly sendVerificationEmail: (identifier?: string) => readonly ["mutation", "sendVerificationEmail", string] | readonly ["mutation", "sendVerificationEmail"];
132
134
  /** Mutation key for setPassword */ readonly setPassword: (identifier?: string) => readonly ["mutation", "setPassword", string] | readonly ["mutation", "setPassword"];
133
135
  /** Mutation key for setPrincipalEntities */ readonly setPrincipalEntities: (identifier?: string) => readonly ["mutation", "setPrincipalEntities", string] | readonly ["mutation", "setPrincipalEntities"];
@@ -285,15 +287,17 @@ export declare const mutationKeys: {
285
287
  /** Mutation key for linkIdentity */ readonly linkIdentity: (identifier?: string) => readonly ["mutation", "linkIdentity", string] | readonly ["mutation", "linkIdentity"];
286
288
  /** Mutation key for mintAccessToken */ readonly mintAccessToken: (identifier?: string) => readonly ["mutation", "mintAccessToken", string] | readonly ["mutation", "mintAccessToken"];
287
289
  /** Mutation key for provisionBucket */ readonly provisionBucket: (identifier?: string) => readonly ["mutation", "provisionBucket", string] | readonly ["mutation", "provisionBucket"];
288
- /** Mutation key for provisionNewUser */ readonly provisionNewUser: (identifier?: string) => readonly ["mutation", "provisionNewUser", string] | readonly ["mutation", "provisionNewUser"];
289
290
  /** Mutation key for refreshAccessToken */ readonly refreshAccessToken: (identifier?: string) => readonly ["mutation", "refreshAccessToken", string] | readonly ["mutation", "refreshAccessToken"];
290
291
  /** Mutation key for requestCrossOriginToken */ readonly requestCrossOriginToken: (identifier?: string) => readonly ["mutation", "requestCrossOriginToken", string] | readonly ["mutation", "requestCrossOriginToken"];
292
+ /** Mutation key for requestMagicLink */ readonly requestMagicLink: (identifier?: string) => readonly ["mutation", "requestMagicLink", string] | readonly ["mutation", "requestMagicLink"];
291
293
  /** Mutation key for resetPassword */ readonly resetPassword: (identifier?: string) => readonly ["mutation", "resetPassword", string] | readonly ["mutation", "resetPassword"];
292
294
  /** Mutation key for revokeApiKey */ readonly revokeApiKey: (identifier?: string) => readonly ["mutation", "revokeApiKey", string] | readonly ["mutation", "revokeApiKey"];
293
295
  /** Mutation key for revokeOrgApiKey */ readonly revokeOrgApiKey: (identifier?: string) => readonly ["mutation", "revokeOrgApiKey", string] | readonly ["mutation", "revokeOrgApiKey"];
294
296
  /** Mutation key for revokeSession */ readonly revokeSession: (identifier?: string) => readonly ["mutation", "revokeSession", string] | readonly ["mutation", "revokeSession"];
295
297
  /** Mutation key for sendAccountDeletionEmail */ readonly sendAccountDeletionEmail: (identifier?: string) => readonly ["mutation", "sendAccountDeletionEmail", string] | readonly ["mutation", "sendAccountDeletionEmail"];
298
+ /** Mutation key for sendMfaChallengeCode */ readonly sendMfaChallengeCode: (identifier?: string) => readonly ["mutation", "sendMfaChallengeCode", string] | readonly ["mutation", "sendMfaChallengeCode"];
296
299
  /** Mutation key for sendPhoneVerificationCode */ readonly sendPhoneVerificationCode: (identifier?: string) => readonly ["mutation", "sendPhoneVerificationCode", string] | readonly ["mutation", "sendPhoneVerificationCode"];
300
+ /** Mutation key for sendSmsOtp */ readonly sendSmsOtp: (identifier?: string) => readonly ["mutation", "sendSmsOtp", string] | readonly ["mutation", "sendSmsOtp"];
297
301
  /** Mutation key for sendVerificationEmail */ readonly sendVerificationEmail: (identifier?: string) => readonly ["mutation", "sendVerificationEmail", string] | readonly ["mutation", "sendVerificationEmail"];
298
302
  /** Mutation key for setPassword */ readonly setPassword: (identifier?: string) => readonly ["mutation", "setPassword", string] | readonly ["mutation", "setPassword"];
299
303
  /** Mutation key for setPrincipalEntities */ readonly setPrincipalEntities: (identifier?: string) => readonly ["mutation", "setPrincipalEntities", string] | readonly ["mutation", "setPrincipalEntities"];
@@ -190,15 +190,15 @@ exports.customMutationKeys = {
190
190
  /** Mutation key for provisionBucket */ provisionBucket: (identifier) => identifier
191
191
  ? ['mutation', 'provisionBucket', identifier]
192
192
  : ['mutation', 'provisionBucket'],
193
- /** Mutation key for provisionNewUser */ provisionNewUser: (identifier) => identifier
194
- ? ['mutation', 'provisionNewUser', identifier]
195
- : ['mutation', 'provisionNewUser'],
196
193
  /** Mutation key for refreshAccessToken */ refreshAccessToken: (identifier) => identifier
197
194
  ? ['mutation', 'refreshAccessToken', identifier]
198
195
  : ['mutation', 'refreshAccessToken'],
199
196
  /** Mutation key for requestCrossOriginToken */ requestCrossOriginToken: (identifier) => identifier
200
197
  ? ['mutation', 'requestCrossOriginToken', identifier]
201
198
  : ['mutation', 'requestCrossOriginToken'],
199
+ /** Mutation key for requestMagicLink */ requestMagicLink: (identifier) => identifier
200
+ ? ['mutation', 'requestMagicLink', identifier]
201
+ : ['mutation', 'requestMagicLink'],
202
202
  /** Mutation key for resetPassword */ resetPassword: (identifier) => identifier
203
203
  ? ['mutation', 'resetPassword', identifier]
204
204
  : ['mutation', 'resetPassword'],
@@ -214,9 +214,15 @@ exports.customMutationKeys = {
214
214
  /** Mutation key for sendAccountDeletionEmail */ sendAccountDeletionEmail: (identifier) => identifier
215
215
  ? ['mutation', 'sendAccountDeletionEmail', identifier]
216
216
  : ['mutation', 'sendAccountDeletionEmail'],
217
+ /** Mutation key for sendMfaChallengeCode */ sendMfaChallengeCode: (identifier) => identifier
218
+ ? ['mutation', 'sendMfaChallengeCode', identifier]
219
+ : ['mutation', 'sendMfaChallengeCode'],
217
220
  /** Mutation key for sendPhoneVerificationCode */ sendPhoneVerificationCode: (identifier) => identifier
218
221
  ? ['mutation', 'sendPhoneVerificationCode', identifier]
219
222
  : ['mutation', 'sendPhoneVerificationCode'],
223
+ /** Mutation key for sendSmsOtp */ sendSmsOtp: (identifier) => identifier
224
+ ? ['mutation', 'sendSmsOtp', identifier]
225
+ : ['mutation', 'sendSmsOtp'],
220
226
  /** Mutation key for sendVerificationEmail */ sendVerificationEmail: (identifier) => identifier
221
227
  ? ['mutation', 'sendVerificationEmail', identifier]
222
228
  : ['mutation', 'sendVerificationEmail'],
@@ -61,15 +61,17 @@ export * from './useGenerateBackupCodesMutation';
61
61
  export * from './useLinkIdentityMutation';
62
62
  export * from './useMintAccessTokenMutation';
63
63
  export * from './useProvisionBucketMutation';
64
- export * from './useProvisionNewUserMutation';
65
64
  export * from './useRefreshAccessTokenMutation';
66
65
  export * from './useRequestCrossOriginTokenMutation';
66
+ export * from './useRequestMagicLinkMutation';
67
67
  export * from './useResetPasswordMutation';
68
68
  export * from './useRevokeApiKeyMutation';
69
69
  export * from './useRevokeOrgApiKeyMutation';
70
70
  export * from './useRevokeSessionMutation';
71
71
  export * from './useSendAccountDeletionEmailMutation';
72
+ export * from './useSendMfaChallengeCodeMutation';
72
73
  export * from './useSendPhoneVerificationCodeMutation';
74
+ export * from './useSendSmsOtpMutation';
73
75
  export * from './useSendVerificationEmailMutation';
74
76
  export * from './useSetPasswordMutation';
75
77
  export * from './useSetPrincipalEntitiesMutation';
@@ -77,15 +77,17 @@ __exportStar(require("./useGenerateBackupCodesMutation"), exports);
77
77
  __exportStar(require("./useLinkIdentityMutation"), exports);
78
78
  __exportStar(require("./useMintAccessTokenMutation"), exports);
79
79
  __exportStar(require("./useProvisionBucketMutation"), exports);
80
- __exportStar(require("./useProvisionNewUserMutation"), exports);
81
80
  __exportStar(require("./useRefreshAccessTokenMutation"), exports);
82
81
  __exportStar(require("./useRequestCrossOriginTokenMutation"), exports);
82
+ __exportStar(require("./useRequestMagicLinkMutation"), exports);
83
83
  __exportStar(require("./useResetPasswordMutation"), exports);
84
84
  __exportStar(require("./useRevokeApiKeyMutation"), exports);
85
85
  __exportStar(require("./useRevokeOrgApiKeyMutation"), exports);
86
86
  __exportStar(require("./useRevokeSessionMutation"), exports);
87
87
  __exportStar(require("./useSendAccountDeletionEmailMutation"), exports);
88
+ __exportStar(require("./useSendMfaChallengeCodeMutation"), exports);
88
89
  __exportStar(require("./useSendPhoneVerificationCodeMutation"), exports);
90
+ __exportStar(require("./useSendSmsOtpMutation"), exports);
89
91
  __exportStar(require("./useSendVerificationEmailMutation"), exports);
90
92
  __exportStar(require("./useSetPasswordMutation"), exports);
91
93
  __exportStar(require("./useSetPrincipalEntitiesMutation"), exports);
@@ -0,0 +1,20 @@
1
+ /**
2
+ * Custom mutation hook for requestMagicLink
3
+ * @generated by @constructive-io/graphql-codegen
4
+ * DO NOT EDIT - changes will be overwritten
5
+ */
6
+ import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
7
+ import type { RequestMagicLinkVariables } from '../../orm/mutation';
8
+ import type { RequestMagicLinkPayloadSelect, RequestMagicLinkPayload } from '../../orm/input-types';
9
+ import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
10
+ export type { RequestMagicLinkVariables } from '../../orm/mutation';
11
+ export type { RequestMagicLinkPayloadSelect } from '../../orm/input-types';
12
+ export declare function useRequestMagicLinkMutation<S extends RequestMagicLinkPayloadSelect>(params: {
13
+ selection: {
14
+ fields: S & RequestMagicLinkPayloadSelect;
15
+ } & HookStrictSelect<NoInfer<S>, RequestMagicLinkPayloadSelect>;
16
+ } & Omit<UseMutationOptions<{
17
+ requestMagicLink: InferSelectResult<RequestMagicLinkPayload, S> | null;
18
+ }, Error, RequestMagicLinkVariables>, 'mutationFn'>): UseMutationResult<{
19
+ requestMagicLink: InferSelectResult<RequestMagicLinkPayload, S> | null;
20
+ }, Error, RequestMagicLinkVariables>;
@@ -1,23 +1,23 @@
1
1
  "use strict";
2
2
  /**
3
- * Custom mutation hook for provisionNewUser
3
+ * Custom mutation hook for requestMagicLink
4
4
  * @generated by @constructive-io/graphql-codegen
5
5
  * DO NOT EDIT - changes will be overwritten
6
6
  */
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
8
- exports.useProvisionNewUserMutation = useProvisionNewUserMutation;
8
+ exports.useRequestMagicLinkMutation = useRequestMagicLinkMutation;
9
9
  const react_query_1 = require("@tanstack/react-query");
10
10
  const client_1 = require("../client");
11
11
  const selection_1 = require("../selection");
12
12
  const mutation_keys_1 = require("../mutation-keys");
13
- function useProvisionNewUserMutation(params) {
13
+ function useRequestMagicLinkMutation(params) {
14
14
  const args = (0, selection_1.buildSelectionArgs)(params.selection);
15
15
  const { selection: _selection, ...mutationOptions } = params ?? {};
16
16
  void _selection;
17
17
  return (0, react_query_1.useMutation)({
18
- mutationKey: mutation_keys_1.customMutationKeys.provisionNewUser(),
18
+ mutationKey: mutation_keys_1.customMutationKeys.requestMagicLink(),
19
19
  mutationFn: (variables) => (0, client_1.getClient)()
20
- .mutation.provisionNewUser(variables, {
20
+ .mutation.requestMagicLink(variables, {
21
21
  select: args.select,
22
22
  })
23
23
  .unwrap(),
@@ -0,0 +1,20 @@
1
+ /**
2
+ * Custom mutation hook for sendMfaChallengeCode
3
+ * @generated by @constructive-io/graphql-codegen
4
+ * DO NOT EDIT - changes will be overwritten
5
+ */
6
+ import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
7
+ import type { SendMfaChallengeCodeVariables } from '../../orm/mutation';
8
+ import type { SendMfaChallengeCodePayloadSelect, SendMfaChallengeCodePayload } from '../../orm/input-types';
9
+ import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
10
+ export type { SendMfaChallengeCodeVariables } from '../../orm/mutation';
11
+ export type { SendMfaChallengeCodePayloadSelect } from '../../orm/input-types';
12
+ export declare function useSendMfaChallengeCodeMutation<S extends SendMfaChallengeCodePayloadSelect>(params: {
13
+ selection: {
14
+ fields: S & SendMfaChallengeCodePayloadSelect;
15
+ } & HookStrictSelect<NoInfer<S>, SendMfaChallengeCodePayloadSelect>;
16
+ } & Omit<UseMutationOptions<{
17
+ sendMfaChallengeCode: InferSelectResult<SendMfaChallengeCodePayload, S> | null;
18
+ }, Error, SendMfaChallengeCodeVariables>, 'mutationFn'>): UseMutationResult<{
19
+ sendMfaChallengeCode: InferSelectResult<SendMfaChallengeCodePayload, S> | null;
20
+ }, Error, SendMfaChallengeCodeVariables>;
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ /**
3
+ * Custom mutation hook for sendMfaChallengeCode
4
+ * @generated by @constructive-io/graphql-codegen
5
+ * DO NOT EDIT - changes will be overwritten
6
+ */
7
+ Object.defineProperty(exports, "__esModule", { value: true });
8
+ exports.useSendMfaChallengeCodeMutation = useSendMfaChallengeCodeMutation;
9
+ const react_query_1 = require("@tanstack/react-query");
10
+ const client_1 = require("../client");
11
+ const selection_1 = require("../selection");
12
+ const mutation_keys_1 = require("../mutation-keys");
13
+ function useSendMfaChallengeCodeMutation(params) {
14
+ const args = (0, selection_1.buildSelectionArgs)(params.selection);
15
+ const { selection: _selection, ...mutationOptions } = params ?? {};
16
+ void _selection;
17
+ return (0, react_query_1.useMutation)({
18
+ mutationKey: mutation_keys_1.customMutationKeys.sendMfaChallengeCode(),
19
+ mutationFn: (variables) => (0, client_1.getClient)()
20
+ .mutation.sendMfaChallengeCode(variables, {
21
+ select: args.select,
22
+ })
23
+ .unwrap(),
24
+ ...mutationOptions,
25
+ });
26
+ }
@@ -0,0 +1,20 @@
1
+ /**
2
+ * Custom mutation hook for sendSmsOtp
3
+ * @generated by @constructive-io/graphql-codegen
4
+ * DO NOT EDIT - changes will be overwritten
5
+ */
6
+ import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
7
+ import type { SendSmsOtpVariables } from '../../orm/mutation';
8
+ import type { SendSmsOtpPayloadSelect, SendSmsOtpPayload } from '../../orm/input-types';
9
+ import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
10
+ export type { SendSmsOtpVariables } from '../../orm/mutation';
11
+ export type { SendSmsOtpPayloadSelect } from '../../orm/input-types';
12
+ export declare function useSendSmsOtpMutation<S extends SendSmsOtpPayloadSelect>(params: {
13
+ selection: {
14
+ fields: S & SendSmsOtpPayloadSelect;
15
+ } & HookStrictSelect<NoInfer<S>, SendSmsOtpPayloadSelect>;
16
+ } & Omit<UseMutationOptions<{
17
+ sendSmsOtp: InferSelectResult<SendSmsOtpPayload, S> | null;
18
+ }, Error, SendSmsOtpVariables>, 'mutationFn'>): UseMutationResult<{
19
+ sendSmsOtp: InferSelectResult<SendSmsOtpPayload, S> | null;
20
+ }, Error, SendSmsOtpVariables>;
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ /**
3
+ * Custom mutation hook for sendSmsOtp
4
+ * @generated by @constructive-io/graphql-codegen
5
+ * DO NOT EDIT - changes will be overwritten
6
+ */
7
+ Object.defineProperty(exports, "__esModule", { value: true });
8
+ exports.useSendSmsOtpMutation = useSendSmsOtpMutation;
9
+ const react_query_1 = require("@tanstack/react-query");
10
+ const client_1 = require("../client");
11
+ const selection_1 = require("../selection");
12
+ const mutation_keys_1 = require("../mutation-keys");
13
+ function useSendSmsOtpMutation(params) {
14
+ const args = (0, selection_1.buildSelectionArgs)(params.selection);
15
+ const { selection: _selection, ...mutationOptions } = params ?? {};
16
+ void _selection;
17
+ return (0, react_query_1.useMutation)({
18
+ mutationKey: mutation_keys_1.customMutationKeys.sendSmsOtp(),
19
+ mutationFn: (variables) => (0, client_1.getClient)()
20
+ .mutation.sendSmsOtp(variables, {
21
+ select: args.select,
22
+ })
23
+ .unwrap(),
24
+ ...mutationOptions,
25
+ });
26
+ }
@@ -218,11 +218,6 @@ export declare function createClient(config: OrmClientConfig): {
218
218
  } & import("./select-types").StrictSelect<S, import("./input-types").ProvisionBucketPayloadSelect>) => import("./query-builder").QueryBuilder<{
219
219
  provisionBucket: import("./select-types").InferSelectResult<import("./input-types").ProvisionBucketPayload, S> | null;
220
220
  }>;
221
- provisionNewUser: <S extends import("./input-types").ProvisionNewUserPayloadSelect>(args: import("./mutation").ProvisionNewUserVariables, options: {
222
- select: S;
223
- } & import("./select-types").StrictSelect<S, import("./input-types").ProvisionNewUserPayloadSelect>) => import("./query-builder").QueryBuilder<{
224
- provisionNewUser: import("./select-types").InferSelectResult<import("./input-types").ProvisionNewUserPayload, S> | null;
225
- }>;
226
221
  refreshAccessToken: <S extends import("./input-types").RefreshAccessTokenPayloadSelect>(args: import("./mutation").RefreshAccessTokenVariables, options: {
227
222
  select: S;
228
223
  } & import("./select-types").StrictSelect<S, import("./input-types").RefreshAccessTokenPayloadSelect>) => import("./query-builder").QueryBuilder<{
@@ -233,6 +228,11 @@ export declare function createClient(config: OrmClientConfig): {
233
228
  } & import("./select-types").StrictSelect<S, import("./input-types").RequestCrossOriginTokenPayloadSelect>) => import("./query-builder").QueryBuilder<{
234
229
  requestCrossOriginToken: import("./select-types").InferSelectResult<import("./input-types").RequestCrossOriginTokenPayload, S> | null;
235
230
  }>;
231
+ requestMagicLink: <S extends import("./input-types").RequestMagicLinkPayloadSelect>(args: import("./mutation").RequestMagicLinkVariables, options: {
232
+ select: S;
233
+ } & import("./select-types").StrictSelect<S, import("./input-types").RequestMagicLinkPayloadSelect>) => import("./query-builder").QueryBuilder<{
234
+ requestMagicLink: import("./select-types").InferSelectResult<import("./input-types").RequestMagicLinkPayload, S> | null;
235
+ }>;
236
236
  resetPassword: <S extends import("./input-types").ResetPasswordPayloadSelect>(args: import("./mutation").ResetPasswordVariables, options: {
237
237
  select: S;
238
238
  } & import("./select-types").StrictSelect<S, import("./input-types").ResetPasswordPayloadSelect>) => import("./query-builder").QueryBuilder<{
@@ -258,11 +258,21 @@ export declare function createClient(config: OrmClientConfig): {
258
258
  } & import("./select-types").StrictSelect<S, import("./input-types").SendAccountDeletionEmailPayloadSelect>) => import("./query-builder").QueryBuilder<{
259
259
  sendAccountDeletionEmail: import("./select-types").InferSelectResult<import("./input-types").SendAccountDeletionEmailPayload, S> | null;
260
260
  }>;
261
+ sendMfaChallengeCode: <S extends import("./input-types").SendMfaChallengeCodePayloadSelect>(args: import("./mutation").SendMfaChallengeCodeVariables, options: {
262
+ select: S;
263
+ } & import("./select-types").StrictSelect<S, import("./input-types").SendMfaChallengeCodePayloadSelect>) => import("./query-builder").QueryBuilder<{
264
+ sendMfaChallengeCode: import("./select-types").InferSelectResult<import("./input-types").SendMfaChallengeCodePayload, S> | null;
265
+ }>;
261
266
  sendPhoneVerificationCode: <S extends import("./input-types").SendPhoneVerificationCodePayloadSelect>(args: import("./mutation").SendPhoneVerificationCodeVariables, options: {
262
267
  select: S;
263
268
  } & import("./select-types").StrictSelect<S, import("./input-types").SendPhoneVerificationCodePayloadSelect>) => import("./query-builder").QueryBuilder<{
264
269
  sendPhoneVerificationCode: import("./select-types").InferSelectResult<import("./input-types").SendPhoneVerificationCodePayload, S> | null;
265
270
  }>;
271
+ sendSmsOtp: <S extends import("./input-types").SendSmsOtpPayloadSelect>(args: import("./mutation").SendSmsOtpVariables, options: {
272
+ select: S;
273
+ } & import("./select-types").StrictSelect<S, import("./input-types").SendSmsOtpPayloadSelect>) => import("./query-builder").QueryBuilder<{
274
+ sendSmsOtp: import("./select-types").InferSelectResult<import("./input-types").SendSmsOtpPayload, S> | null;
275
+ }>;
266
276
  sendVerificationEmail: <S extends import("./input-types").SendVerificationEmailPayloadSelect>(args: import("./mutation").SendVerificationEmailVariables, options: {
267
277
  select: S;
268
278
  } & import("./select-types").StrictSelect<S, import("./input-types").SendVerificationEmailPayloadSelect>) => import("./query-builder").QueryBuilder<{