@constructive-io/react 1.19.6 → 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 +5 -5
  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
@@ -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"];
@@ -187,15 +187,15 @@ export const customMutationKeys = {
187
187
  /** Mutation key for provisionBucket */ provisionBucket: (identifier) => identifier
188
188
  ? ['mutation', 'provisionBucket', identifier]
189
189
  : ['mutation', 'provisionBucket'],
190
- /** Mutation key for provisionNewUser */ provisionNewUser: (identifier) => identifier
191
- ? ['mutation', 'provisionNewUser', identifier]
192
- : ['mutation', 'provisionNewUser'],
193
190
  /** Mutation key for refreshAccessToken */ refreshAccessToken: (identifier) => identifier
194
191
  ? ['mutation', 'refreshAccessToken', identifier]
195
192
  : ['mutation', 'refreshAccessToken'],
196
193
  /** Mutation key for requestCrossOriginToken */ requestCrossOriginToken: (identifier) => identifier
197
194
  ? ['mutation', 'requestCrossOriginToken', identifier]
198
195
  : ['mutation', 'requestCrossOriginToken'],
196
+ /** Mutation key for requestMagicLink */ requestMagicLink: (identifier) => identifier
197
+ ? ['mutation', 'requestMagicLink', identifier]
198
+ : ['mutation', 'requestMagicLink'],
199
199
  /** Mutation key for resetPassword */ resetPassword: (identifier) => identifier
200
200
  ? ['mutation', 'resetPassword', identifier]
201
201
  : ['mutation', 'resetPassword'],
@@ -211,9 +211,15 @@ export const customMutationKeys = {
211
211
  /** Mutation key for sendAccountDeletionEmail */ sendAccountDeletionEmail: (identifier) => identifier
212
212
  ? ['mutation', 'sendAccountDeletionEmail', identifier]
213
213
  : ['mutation', 'sendAccountDeletionEmail'],
214
+ /** Mutation key for sendMfaChallengeCode */ sendMfaChallengeCode: (identifier) => identifier
215
+ ? ['mutation', 'sendMfaChallengeCode', identifier]
216
+ : ['mutation', 'sendMfaChallengeCode'],
214
217
  /** Mutation key for sendPhoneVerificationCode */ sendPhoneVerificationCode: (identifier) => identifier
215
218
  ? ['mutation', 'sendPhoneVerificationCode', identifier]
216
219
  : ['mutation', 'sendPhoneVerificationCode'],
220
+ /** Mutation key for sendSmsOtp */ sendSmsOtp: (identifier) => identifier
221
+ ? ['mutation', 'sendSmsOtp', identifier]
222
+ : ['mutation', 'sendSmsOtp'],
217
223
  /** Mutation key for sendVerificationEmail */ sendVerificationEmail: (identifier) => identifier
218
224
  ? ['mutation', 'sendVerificationEmail', identifier]
219
225
  : ['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';
@@ -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';
@@ -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,5 +1,5 @@
1
1
  /**
2
- * Custom mutation hook for provisionNewUser
2
+ * Custom mutation hook for requestMagicLink
3
3
  * @generated by @constructive-io/graphql-codegen
4
4
  * DO NOT EDIT - changes will be overwritten
5
5
  */
@@ -7,14 +7,14 @@ import { useMutation } from '@tanstack/react-query';
7
7
  import { getClient } from '../client';
8
8
  import { buildSelectionArgs } from '../selection';
9
9
  import { customMutationKeys } from '../mutation-keys';
10
- export function useProvisionNewUserMutation(params) {
10
+ export function useRequestMagicLinkMutation(params) {
11
11
  const args = buildSelectionArgs(params.selection);
12
12
  const { selection: _selection, ...mutationOptions } = params ?? {};
13
13
  void _selection;
14
14
  return useMutation({
15
- mutationKey: customMutationKeys.provisionNewUser(),
15
+ mutationKey: customMutationKeys.requestMagicLink(),
16
16
  mutationFn: (variables) => getClient()
17
- .mutation.provisionNewUser(variables, {
17
+ .mutation.requestMagicLink(variables, {
18
18
  select: args.select,
19
19
  })
20
20
  .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,23 @@
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 { useMutation } from '@tanstack/react-query';
7
+ import { getClient } from '../client';
8
+ import { buildSelectionArgs } from '../selection';
9
+ import { customMutationKeys } from '../mutation-keys';
10
+ export function useSendMfaChallengeCodeMutation(params) {
11
+ const args = buildSelectionArgs(params.selection);
12
+ const { selection: _selection, ...mutationOptions } = params ?? {};
13
+ void _selection;
14
+ return useMutation({
15
+ mutationKey: customMutationKeys.sendMfaChallengeCode(),
16
+ mutationFn: (variables) => getClient()
17
+ .mutation.sendMfaChallengeCode(variables, {
18
+ select: args.select,
19
+ })
20
+ .unwrap(),
21
+ ...mutationOptions,
22
+ });
23
+ }
@@ -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,23 @@
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 { useMutation } from '@tanstack/react-query';
7
+ import { getClient } from '../client';
8
+ import { buildSelectionArgs } from '../selection';
9
+ import { customMutationKeys } from '../mutation-keys';
10
+ export function useSendSmsOtpMutation(params) {
11
+ const args = buildSelectionArgs(params.selection);
12
+ const { selection: _selection, ...mutationOptions } = params ?? {};
13
+ void _selection;
14
+ return useMutation({
15
+ mutationKey: customMutationKeys.sendSmsOtp(),
16
+ mutationFn: (variables) => getClient()
17
+ .mutation.sendSmsOtp(variables, {
18
+ select: args.select,
19
+ })
20
+ .unwrap(),
21
+ ...mutationOptions,
22
+ });
23
+ }
@@ -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<{
@@ -1713,7 +1713,6 @@ export interface CheckPasswordInput {
1713
1713
  password?: string;
1714
1714
  }
1715
1715
  export interface CompleteMfaChallengeInput {
1716
- authMethod?: string;
1717
1716
  clientMutationId?: string;
1718
1717
  credentialKind?: string;
1719
1718
  deviceToken?: string;
@@ -1834,11 +1833,6 @@ export interface ProvisionBucketInput {
1834
1833
  */
1835
1834
  ownerId?: string;
1836
1835
  }
1837
- export interface ProvisionNewUserInput {
1838
- clientMutationId?: string;
1839
- email?: string;
1840
- password?: string;
1841
- }
1842
1836
  export interface RefreshAccessTokenInput {
1843
1837
  clientMutationId?: string;
1844
1838
  token?: string;
@@ -1850,6 +1844,10 @@ export interface RequestCrossOriginTokenInput {
1850
1844
  password?: string;
1851
1845
  rememberMe?: boolean;
1852
1846
  }
1847
+ export interface RequestMagicLinkInput {
1848
+ clientMutationId?: string;
1849
+ email?: string;
1850
+ }
1853
1851
  export interface ResetPasswordInput {
1854
1852
  clientMutationId?: string;
1855
1853
  newPassword?: string;
@@ -1872,10 +1870,20 @@ export interface RevokeSessionInput {
1872
1870
  export interface SendAccountDeletionEmailInput {
1873
1871
  clientMutationId?: string;
1874
1872
  }
1873
+ export interface SendMfaChallengeCodeInput {
1874
+ clientMutationId?: string;
1875
+ mfaChallengeToken?: string;
1876
+ mfaMethod?: string;
1877
+ userId?: string;
1878
+ }
1875
1879
  export interface SendPhoneVerificationCodeInput {
1876
1880
  clientMutationId?: string;
1877
1881
  phone?: string;
1878
1882
  }
1883
+ export interface SendSmsOtpInput {
1884
+ clientMutationId?: string;
1885
+ phone?: string;
1886
+ }
1879
1887
  export interface SendVerificationEmailInput {
1880
1888
  clientMutationId?: string;
1881
1889
  email?: ConstructiveInternalTypeEmail;
@@ -3523,14 +3531,6 @@ export type ProvisionBucketPayloadSelect = {
3523
3531
  jobId?: boolean;
3524
3532
  physicalName?: boolean;
3525
3533
  };
3526
- export interface ProvisionNewUserPayload {
3527
- clientMutationId?: string | null;
3528
- result?: string | null;
3529
- }
3530
- export type ProvisionNewUserPayloadSelect = {
3531
- clientMutationId?: boolean;
3532
- result?: boolean;
3533
- };
3534
3534
  export interface RefreshAccessTokenPayload {
3535
3535
  clientMutationId?: string | null;
3536
3536
  result?: RefreshAccessTokenRecord | null;
@@ -3549,6 +3549,12 @@ export type RequestCrossOriginTokenPayloadSelect = {
3549
3549
  clientMutationId?: boolean;
3550
3550
  result?: boolean;
3551
3551
  };
3552
+ export interface RequestMagicLinkPayload {
3553
+ clientMutationId?: string | null;
3554
+ }
3555
+ export type RequestMagicLinkPayloadSelect = {
3556
+ clientMutationId?: boolean;
3557
+ };
3552
3558
  export interface ResetPasswordPayload {
3553
3559
  clientMutationId?: string | null;
3554
3560
  result?: boolean | null;
@@ -3589,6 +3595,14 @@ export type SendAccountDeletionEmailPayloadSelect = {
3589
3595
  clientMutationId?: boolean;
3590
3596
  result?: boolean;
3591
3597
  };
3598
+ export interface SendMfaChallengeCodePayload {
3599
+ clientMutationId?: string | null;
3600
+ result?: boolean | null;
3601
+ }
3602
+ export type SendMfaChallengeCodePayloadSelect = {
3603
+ clientMutationId?: boolean;
3604
+ result?: boolean;
3605
+ };
3592
3606
  export interface SendPhoneVerificationCodePayload {
3593
3607
  clientMutationId?: string | null;
3594
3608
  result?: boolean | null;
@@ -3597,6 +3611,14 @@ export type SendPhoneVerificationCodePayloadSelect = {
3597
3611
  clientMutationId?: boolean;
3598
3612
  result?: boolean;
3599
3613
  };
3614
+ export interface SendSmsOtpPayload {
3615
+ clientMutationId?: string | null;
3616
+ result?: boolean | null;
3617
+ }
3618
+ export type SendSmsOtpPayloadSelect = {
3619
+ clientMutationId?: boolean;
3620
+ result?: boolean;
3621
+ };
3600
3622
  export interface SendVerificationEmailPayload {
3601
3623
  clientMutationId?: string | null;
3602
3624
  result?: boolean | null;
@@ -4282,6 +4304,8 @@ export interface SignInMagicLinkRecord {
4282
4304
  accessToken?: string | null;
4283
4305
  accessTokenExpiresAt?: string | null;
4284
4306
  deviceApprovalRequired?: boolean | null;
4307
+ mfaChallengeToken?: string | null;
4308
+ mfaRequired?: boolean | null;
4285
4309
  outDeviceToken?: string | null;
4286
4310
  userId?: string | null;
4287
4311
  }
@@ -4289,6 +4313,8 @@ export type SignInMagicLinkRecordSelect = {
4289
4313
  accessToken?: boolean;
4290
4314
  accessTokenExpiresAt?: boolean;
4291
4315
  deviceApprovalRequired?: boolean;
4316
+ mfaChallengeToken?: boolean;
4317
+ mfaRequired?: boolean;
4292
4318
  outDeviceToken?: boolean;
4293
4319
  userId?: boolean;
4294
4320
  };
@@ -4296,6 +4322,8 @@ export interface SignInSmsOtpRecord {
4296
4322
  accessToken?: string | null;
4297
4323
  accessTokenExpiresAt?: string | null;
4298
4324
  deviceApprovalRequired?: boolean | null;
4325
+ mfaChallengeToken?: string | null;
4326
+ mfaRequired?: boolean | null;
4299
4327
  outDeviceToken?: string | null;
4300
4328
  userId?: string | null;
4301
4329
  }
@@ -4303,6 +4331,8 @@ export type SignInSmsOtpRecordSelect = {
4303
4331
  accessToken?: boolean;
4304
4332
  accessTokenExpiresAt?: boolean;
4305
4333
  deviceApprovalRequired?: boolean;
4334
+ mfaChallengeToken?: boolean;
4335
+ mfaRequired?: boolean;
4306
4336
  outDeviceToken?: boolean;
4307
4337
  userId?: boolean;
4308
4338
  };
@@ -6,7 +6,7 @@
6
6
  import { OrmClient } from '../client';
7
7
  import { QueryBuilder } from '../query-builder';
8
8
  import type { InferSelectResult, StrictSelect } from '../select-types';
9
- import type { ApproveDeviceInput, CheckPasswordInput, CompleteMfaChallengeInput, ConfirmDeleteAccountInput, ConfirmTotpSetupInput, CreateApiKeyInput, CreateChildPrincipalInput, CreateOrgApiKeyInput, CreateOrgPrincipalInput, CreatePrincipalFromPresetInput, DeleteOrgPrincipalInput, DeletePrincipalInput, DisableEmailMfaInput, DisableSmsMfaInput, DisableTotpInput, DisconnectAccountInput, EnableEmailMfaInput, EnableSmsMfaInput, EnableTotpInput, ExtendTokenExpiresInput, ForgotPasswordInput, GenerateBackupCodesInput, LinkIdentityInput, MintAccessTokenInput, ProvisionBucketInput, ProvisionNewUserInput, RefreshAccessTokenInput, RequestCrossOriginTokenInput, ResetPasswordInput, RevokeApiKeyInput, RevokeOrgApiKeyInput, RevokeSessionInput, SendAccountDeletionEmailInput, SendPhoneVerificationCodeInput, SendVerificationEmailInput, SetPasswordInput, SetPrincipalEntitiesInput, SetPrincipalScopeInput, SignInInput, SignInCrossOriginInput, SignInMagicLinkInput, SignInSmsOtpInput, SignOutInput, SignUpInput, SignUpMagicLinkInput, SignUpSmsInput, UpdatePrincipalInput, VerifyEmailInput, VerifyPasswordInput, VerifyPhoneInput, VerifyTotpInput, ApproveDevicePayload, CheckPasswordPayload, CompleteMfaChallengePayload, ConfirmDeleteAccountPayload, ConfirmTotpSetupPayload, CreateApiKeyPayload, CreateChildPrincipalPayload, CreateOrgApiKeyPayload, CreateOrgPrincipalPayload, CreatePrincipalFromPresetPayload, DeleteOrgPrincipalPayload, DeletePrincipalPayload, DisableEmailMfaPayload, DisableSmsMfaPayload, DisableTotpPayload, DisconnectAccountPayload, EnableEmailMfaPayload, EnableSmsMfaPayload, EnableTotpPayload, ExtendTokenExpiresPayload, ForgotPasswordPayload, GenerateBackupCodesPayload, LinkIdentityPayload, MintAccessTokenPayload, ProvisionBucketPayload, ProvisionNewUserPayload, RefreshAccessTokenPayload, RequestCrossOriginTokenPayload, ResetPasswordPayload, RevokeApiKeyPayload, RevokeOrgApiKeyPayload, RevokeSessionPayload, SendAccountDeletionEmailPayload, SendPhoneVerificationCodePayload, SendVerificationEmailPayload, SetPasswordPayload, SetPrincipalEntitiesPayload, SetPrincipalScopePayload, SignInPayload, SignInCrossOriginPayload, SignInMagicLinkPayload, SignInSmsOtpPayload, SignOutPayload, SignUpPayload, SignUpMagicLinkPayload, SignUpSmsPayload, UpdatePrincipalPayload, VerifyEmailPayload, VerifyPasswordPayload, VerifyPhonePayload, VerifyTotpPayload, ApproveDevicePayloadSelect, CheckPasswordPayloadSelect, CompleteMfaChallengePayloadSelect, ConfirmDeleteAccountPayloadSelect, ConfirmTotpSetupPayloadSelect, CreateApiKeyPayloadSelect, CreateChildPrincipalPayloadSelect, CreateOrgApiKeyPayloadSelect, CreateOrgPrincipalPayloadSelect, CreatePrincipalFromPresetPayloadSelect, DeleteOrgPrincipalPayloadSelect, DeletePrincipalPayloadSelect, DisableEmailMfaPayloadSelect, DisableSmsMfaPayloadSelect, DisableTotpPayloadSelect, DisconnectAccountPayloadSelect, EnableEmailMfaPayloadSelect, EnableSmsMfaPayloadSelect, EnableTotpPayloadSelect, ExtendTokenExpiresPayloadSelect, ForgotPasswordPayloadSelect, GenerateBackupCodesPayloadSelect, LinkIdentityPayloadSelect, MintAccessTokenPayloadSelect, ProvisionBucketPayloadSelect, ProvisionNewUserPayloadSelect, RefreshAccessTokenPayloadSelect, RequestCrossOriginTokenPayloadSelect, ResetPasswordPayloadSelect, RevokeApiKeyPayloadSelect, RevokeOrgApiKeyPayloadSelect, RevokeSessionPayloadSelect, SendAccountDeletionEmailPayloadSelect, SendPhoneVerificationCodePayloadSelect, SendVerificationEmailPayloadSelect, SetPasswordPayloadSelect, SetPrincipalEntitiesPayloadSelect, SetPrincipalScopePayloadSelect, SignInPayloadSelect, SignInCrossOriginPayloadSelect, SignInMagicLinkPayloadSelect, SignInSmsOtpPayloadSelect, SignOutPayloadSelect, SignUpPayloadSelect, SignUpMagicLinkPayloadSelect, SignUpSmsPayloadSelect, UpdatePrincipalPayloadSelect, VerifyEmailPayloadSelect, VerifyPasswordPayloadSelect, VerifyPhonePayloadSelect, VerifyTotpPayloadSelect } from '../input-types';
9
+ import type { ApproveDeviceInput, CheckPasswordInput, CompleteMfaChallengeInput, ConfirmDeleteAccountInput, ConfirmTotpSetupInput, CreateApiKeyInput, CreateChildPrincipalInput, CreateOrgApiKeyInput, CreateOrgPrincipalInput, CreatePrincipalFromPresetInput, DeleteOrgPrincipalInput, DeletePrincipalInput, DisableEmailMfaInput, DisableSmsMfaInput, DisableTotpInput, DisconnectAccountInput, EnableEmailMfaInput, EnableSmsMfaInput, EnableTotpInput, ExtendTokenExpiresInput, ForgotPasswordInput, GenerateBackupCodesInput, LinkIdentityInput, MintAccessTokenInput, ProvisionBucketInput, RefreshAccessTokenInput, RequestCrossOriginTokenInput, RequestMagicLinkInput, ResetPasswordInput, RevokeApiKeyInput, RevokeOrgApiKeyInput, RevokeSessionInput, SendAccountDeletionEmailInput, SendMfaChallengeCodeInput, SendPhoneVerificationCodeInput, SendSmsOtpInput, SendVerificationEmailInput, SetPasswordInput, SetPrincipalEntitiesInput, SetPrincipalScopeInput, SignInInput, SignInCrossOriginInput, SignInMagicLinkInput, SignInSmsOtpInput, SignOutInput, SignUpInput, SignUpMagicLinkInput, SignUpSmsInput, UpdatePrincipalInput, VerifyEmailInput, VerifyPasswordInput, VerifyPhoneInput, VerifyTotpInput, ApproveDevicePayload, CheckPasswordPayload, CompleteMfaChallengePayload, ConfirmDeleteAccountPayload, ConfirmTotpSetupPayload, CreateApiKeyPayload, CreateChildPrincipalPayload, CreateOrgApiKeyPayload, CreateOrgPrincipalPayload, CreatePrincipalFromPresetPayload, DeleteOrgPrincipalPayload, DeletePrincipalPayload, DisableEmailMfaPayload, DisableSmsMfaPayload, DisableTotpPayload, DisconnectAccountPayload, EnableEmailMfaPayload, EnableSmsMfaPayload, EnableTotpPayload, ExtendTokenExpiresPayload, ForgotPasswordPayload, GenerateBackupCodesPayload, LinkIdentityPayload, MintAccessTokenPayload, ProvisionBucketPayload, RefreshAccessTokenPayload, RequestCrossOriginTokenPayload, RequestMagicLinkPayload, ResetPasswordPayload, RevokeApiKeyPayload, RevokeOrgApiKeyPayload, RevokeSessionPayload, SendAccountDeletionEmailPayload, SendMfaChallengeCodePayload, SendPhoneVerificationCodePayload, SendSmsOtpPayload, SendVerificationEmailPayload, SetPasswordPayload, SetPrincipalEntitiesPayload, SetPrincipalScopePayload, SignInPayload, SignInCrossOriginPayload, SignInMagicLinkPayload, SignInSmsOtpPayload, SignOutPayload, SignUpPayload, SignUpMagicLinkPayload, SignUpSmsPayload, UpdatePrincipalPayload, VerifyEmailPayload, VerifyPasswordPayload, VerifyPhonePayload, VerifyTotpPayload, ApproveDevicePayloadSelect, CheckPasswordPayloadSelect, CompleteMfaChallengePayloadSelect, ConfirmDeleteAccountPayloadSelect, ConfirmTotpSetupPayloadSelect, CreateApiKeyPayloadSelect, CreateChildPrincipalPayloadSelect, CreateOrgApiKeyPayloadSelect, CreateOrgPrincipalPayloadSelect, CreatePrincipalFromPresetPayloadSelect, DeleteOrgPrincipalPayloadSelect, DeletePrincipalPayloadSelect, DisableEmailMfaPayloadSelect, DisableSmsMfaPayloadSelect, DisableTotpPayloadSelect, DisconnectAccountPayloadSelect, EnableEmailMfaPayloadSelect, EnableSmsMfaPayloadSelect, EnableTotpPayloadSelect, ExtendTokenExpiresPayloadSelect, ForgotPasswordPayloadSelect, GenerateBackupCodesPayloadSelect, LinkIdentityPayloadSelect, MintAccessTokenPayloadSelect, ProvisionBucketPayloadSelect, RefreshAccessTokenPayloadSelect, RequestCrossOriginTokenPayloadSelect, RequestMagicLinkPayloadSelect, ResetPasswordPayloadSelect, RevokeApiKeyPayloadSelect, RevokeOrgApiKeyPayloadSelect, RevokeSessionPayloadSelect, SendAccountDeletionEmailPayloadSelect, SendMfaChallengeCodePayloadSelect, SendPhoneVerificationCodePayloadSelect, SendSmsOtpPayloadSelect, SendVerificationEmailPayloadSelect, SetPasswordPayloadSelect, SetPrincipalEntitiesPayloadSelect, SetPrincipalScopePayloadSelect, SignInPayloadSelect, SignInCrossOriginPayloadSelect, SignInMagicLinkPayloadSelect, SignInSmsOtpPayloadSelect, SignOutPayloadSelect, SignUpPayloadSelect, SignUpMagicLinkPayloadSelect, SignUpSmsPayloadSelect, UpdatePrincipalPayloadSelect, VerifyEmailPayloadSelect, VerifyPasswordPayloadSelect, VerifyPhonePayloadSelect, VerifyTotpPayloadSelect } from '../input-types';
10
10
  export interface ApproveDeviceVariables {
11
11
  input: ApproveDeviceInput;
12
12
  }
@@ -90,15 +90,15 @@ GraphQL errors.
90
90
  export interface ProvisionBucketVariables {
91
91
  input: ProvisionBucketInput;
92
92
  }
93
- export interface ProvisionNewUserVariables {
94
- input: ProvisionNewUserInput;
95
- }
96
93
  export interface RefreshAccessTokenVariables {
97
94
  input: RefreshAccessTokenInput;
98
95
  }
99
96
  export interface RequestCrossOriginTokenVariables {
100
97
  input: RequestCrossOriginTokenInput;
101
98
  }
99
+ export interface RequestMagicLinkVariables {
100
+ input: RequestMagicLinkInput;
101
+ }
102
102
  export interface ResetPasswordVariables {
103
103
  input: ResetPasswordInput;
104
104
  }
@@ -114,9 +114,15 @@ export interface RevokeSessionVariables {
114
114
  export interface SendAccountDeletionEmailVariables {
115
115
  input: SendAccountDeletionEmailInput;
116
116
  }
117
+ export interface SendMfaChallengeCodeVariables {
118
+ input: SendMfaChallengeCodeInput;
119
+ }
117
120
  export interface SendPhoneVerificationCodeVariables {
118
121
  input: SendPhoneVerificationCodeInput;
119
122
  }
123
+ export interface SendSmsOtpVariables {
124
+ input: SendSmsOtpInput;
125
+ }
120
126
  export interface SendVerificationEmailVariables {
121
127
  input: SendVerificationEmailInput;
122
128
  }
@@ -294,11 +300,6 @@ export declare function createMutationOperations(client: OrmClient): {
294
300
  } & StrictSelect<S, ProvisionBucketPayloadSelect>) => QueryBuilder<{
295
301
  provisionBucket: InferSelectResult<ProvisionBucketPayload, S> | null;
296
302
  }>;
297
- provisionNewUser: <S extends ProvisionNewUserPayloadSelect>(args: ProvisionNewUserVariables, options: {
298
- select: S;
299
- } & StrictSelect<S, ProvisionNewUserPayloadSelect>) => QueryBuilder<{
300
- provisionNewUser: InferSelectResult<ProvisionNewUserPayload, S> | null;
301
- }>;
302
303
  refreshAccessToken: <S extends RefreshAccessTokenPayloadSelect>(args: RefreshAccessTokenVariables, options: {
303
304
  select: S;
304
305
  } & StrictSelect<S, RefreshAccessTokenPayloadSelect>) => QueryBuilder<{
@@ -309,6 +310,11 @@ export declare function createMutationOperations(client: OrmClient): {
309
310
  } & StrictSelect<S, RequestCrossOriginTokenPayloadSelect>) => QueryBuilder<{
310
311
  requestCrossOriginToken: InferSelectResult<RequestCrossOriginTokenPayload, S> | null;
311
312
  }>;
313
+ requestMagicLink: <S extends RequestMagicLinkPayloadSelect>(args: RequestMagicLinkVariables, options: {
314
+ select: S;
315
+ } & StrictSelect<S, RequestMagicLinkPayloadSelect>) => QueryBuilder<{
316
+ requestMagicLink: InferSelectResult<RequestMagicLinkPayload, S> | null;
317
+ }>;
312
318
  resetPassword: <S extends ResetPasswordPayloadSelect>(args: ResetPasswordVariables, options: {
313
319
  select: S;
314
320
  } & StrictSelect<S, ResetPasswordPayloadSelect>) => QueryBuilder<{
@@ -334,11 +340,21 @@ export declare function createMutationOperations(client: OrmClient): {
334
340
  } & StrictSelect<S, SendAccountDeletionEmailPayloadSelect>) => QueryBuilder<{
335
341
  sendAccountDeletionEmail: InferSelectResult<SendAccountDeletionEmailPayload, S> | null;
336
342
  }>;
343
+ sendMfaChallengeCode: <S extends SendMfaChallengeCodePayloadSelect>(args: SendMfaChallengeCodeVariables, options: {
344
+ select: S;
345
+ } & StrictSelect<S, SendMfaChallengeCodePayloadSelect>) => QueryBuilder<{
346
+ sendMfaChallengeCode: InferSelectResult<SendMfaChallengeCodePayload, S> | null;
347
+ }>;
337
348
  sendPhoneVerificationCode: <S extends SendPhoneVerificationCodePayloadSelect>(args: SendPhoneVerificationCodeVariables, options: {
338
349
  select: S;
339
350
  } & StrictSelect<S, SendPhoneVerificationCodePayloadSelect>) => QueryBuilder<{
340
351
  sendPhoneVerificationCode: InferSelectResult<SendPhoneVerificationCodePayload, S> | null;
341
352
  }>;
353
+ sendSmsOtp: <S extends SendSmsOtpPayloadSelect>(args: SendSmsOtpVariables, options: {
354
+ select: S;
355
+ } & StrictSelect<S, SendSmsOtpPayloadSelect>) => QueryBuilder<{
356
+ sendSmsOtp: InferSelectResult<SendSmsOtpPayload, S> | null;
357
+ }>;
342
358
  sendVerificationEmail: <S extends SendVerificationEmailPayloadSelect>(args: SendVerificationEmailVariables, options: {
343
359
  select: S;
344
360
  } & StrictSelect<S, SendVerificationEmailPayloadSelect>) => QueryBuilder<{