@constructive-sdk/cli 1.20.6 → 1.20.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.
- package/agent/orm/input-types.d.ts +4 -4
- package/api/cli/commands/email-provider-account.js +0 -22
- package/api/cli/commands/list-suspended-databases-record.d.ts +8 -0
- package/api/cli/commands/list-suspended-databases-record.js +152 -0
- package/api/cli/commands/platform-email-provider-account.js +0 -22
- package/api/cli/commands.js +3 -1
- package/api/cli/executor.d.ts +1 -0
- package/api/orm/index.d.ts +2 -0
- package/api/orm/index.js +2 -0
- package/api/orm/input-types.d.ts +60 -30
- package/api/orm/models/index.d.ts +1 -0
- package/api/orm/models/index.js +4 -2
- package/api/orm/models/listSuspendedDatabasesRecord.d.ts +36 -0
- package/api/orm/models/listSuspendedDatabasesRecord.js +80 -0
- package/auth/cli/commands/{provision-new-user.d.ts → request-magic-link.d.ts} +1 -1
- package/auth/cli/commands/{provision-new-user.js → request-magic-link.js} +3 -3
- package/auth/cli/commands/send-mfa-challenge-code.d.ts +8 -0
- package/auth/cli/commands/send-mfa-challenge-code.js +36 -0
- package/{esm/auth/cli/commands/provision-new-user.d.ts → auth/cli/commands/send-sms-otp.d.ts} +1 -1
- package/auth/cli/commands/send-sms-otp.js +36 -0
- package/auth/cli/commands.js +7 -3
- package/auth/cli/executor.d.ts +15 -5
- package/auth/orm/index.d.ts +15 -5
- package/auth/orm/input-types.d.ts +44 -14
- package/auth/orm/mutation/index.d.ts +25 -9
- package/auth/orm/mutation/index.js +36 -12
- package/compute/cli/commands/function-execution-logs-append.d.ts +8 -0
- package/compute/cli/commands/function-execution-logs-append.js +36 -0
- package/compute/cli/commands/function-schedule.d.ts +8 -0
- package/compute/cli/commands/function-schedule.js +434 -0
- package/compute/cli/commands/platform-function-execution-logs-append.d.ts +8 -0
- package/compute/cli/commands/platform-function-execution-logs-append.js +36 -0
- package/compute/cli/commands/platform-function-schedule.d.ts +8 -0
- package/compute/cli/commands/platform-function-schedule.js +414 -0
- package/compute/cli/commands.js +9 -1
- package/compute/cli/executor.d.ts +12 -0
- package/compute/orm/index.d.ts +14 -0
- package/compute/orm/index.js +4 -0
- package/compute/orm/input-types.d.ts +553 -4
- package/compute/orm/input-types.js +2 -0
- package/compute/orm/models/functionSchedule.d.ts +54 -0
- package/compute/orm/models/functionSchedule.js +104 -0
- package/compute/orm/models/index.d.ts +2 -0
- package/compute/orm/models/index.js +7 -3
- package/compute/orm/models/platformFunctionSchedule.d.ts +54 -0
- package/compute/orm/models/platformFunctionSchedule.js +104 -0
- package/compute/orm/mutation/index.d.ts +17 -1
- package/compute/orm/mutation/index.js +24 -0
- package/esm/agent/orm/input-types.d.ts +4 -4
- package/esm/api/cli/commands/email-provider-account.js +0 -22
- package/esm/api/cli/commands/list-suspended-databases-record.d.ts +8 -0
- package/esm/api/cli/commands/list-suspended-databases-record.js +150 -0
- package/esm/api/cli/commands/platform-email-provider-account.js +0 -22
- package/esm/api/cli/commands.js +3 -1
- package/esm/api/cli/executor.d.ts +1 -0
- package/esm/api/orm/index.d.ts +2 -0
- package/esm/api/orm/index.js +2 -0
- package/esm/api/orm/input-types.d.ts +60 -30
- package/esm/api/orm/models/index.d.ts +1 -0
- package/esm/api/orm/models/index.js +1 -0
- package/esm/api/orm/models/listSuspendedDatabasesRecord.d.ts +36 -0
- package/esm/api/orm/models/listSuspendedDatabasesRecord.js +76 -0
- package/esm/auth/cli/commands/request-magic-link.d.ts +8 -0
- package/esm/auth/cli/commands/{provision-new-user.js → request-magic-link.js} +3 -3
- package/esm/auth/cli/commands/send-mfa-challenge-code.d.ts +8 -0
- package/esm/auth/cli/commands/send-mfa-challenge-code.js +34 -0
- package/esm/auth/cli/commands/send-sms-otp.d.ts +8 -0
- package/esm/auth/cli/commands/send-sms-otp.js +34 -0
- package/esm/auth/cli/commands.js +7 -3
- package/esm/auth/cli/executor.d.ts +15 -5
- package/esm/auth/orm/index.d.ts +15 -5
- package/esm/auth/orm/input-types.d.ts +44 -14
- package/esm/auth/orm/mutation/index.d.ts +25 -9
- package/esm/auth/orm/mutation/index.js +36 -12
- package/esm/compute/cli/commands/function-execution-logs-append.d.ts +8 -0
- package/esm/compute/cli/commands/function-execution-logs-append.js +34 -0
- package/esm/compute/cli/commands/function-schedule.d.ts +8 -0
- package/esm/compute/cli/commands/function-schedule.js +432 -0
- package/esm/compute/cli/commands/platform-function-execution-logs-append.d.ts +8 -0
- package/esm/compute/cli/commands/platform-function-execution-logs-append.js +34 -0
- package/esm/compute/cli/commands/platform-function-schedule.d.ts +8 -0
- package/esm/compute/cli/commands/platform-function-schedule.js +412 -0
- package/esm/compute/cli/commands.js +9 -1
- package/esm/compute/cli/executor.d.ts +12 -0
- package/esm/compute/orm/index.d.ts +14 -0
- package/esm/compute/orm/index.js +4 -0
- package/esm/compute/orm/input-types.d.ts +553 -4
- package/esm/compute/orm/input-types.js +2 -0
- package/esm/compute/orm/models/functionSchedule.d.ts +54 -0
- package/esm/compute/orm/models/functionSchedule.js +100 -0
- package/esm/compute/orm/models/index.d.ts +2 -0
- package/esm/compute/orm/models/index.js +2 -0
- package/esm/compute/orm/models/platformFunctionSchedule.d.ts +54 -0
- package/esm/compute/orm/models/platformFunctionSchedule.js +100 -0
- package/esm/compute/orm/mutation/index.d.ts +17 -1
- package/esm/compute/orm/mutation/index.js +24 -0
- package/esm/modules/cli/commands/billing-provider-module.js +66 -0
- package/esm/modules/cli/commands/entity-type-provision.js +0 -88
- package/esm/modules/cli/commands/plans-module.js +0 -22
- package/esm/modules/orm/input-types.d.ts +26 -48
- package/esm/remote/cli/commands/machine.js +22 -0
- package/esm/remote/orm/input-types.d.ts +13 -1
- package/modules/cli/commands/billing-provider-module.js +66 -0
- package/modules/cli/commands/entity-type-provision.js +0 -88
- package/modules/cli/commands/plans-module.js +0 -22
- package/modules/orm/input-types.d.ts +26 -48
- package/package.json +5 -5
- package/remote/cli/commands/machine.js +22 -0
- package/remote/orm/input-types.d.ts +13 -1
package/auth/cli/commands.js
CHANGED
|
@@ -58,15 +58,17 @@ const generate_backup_codes_1 = __importDefault(require("./commands/generate-bac
|
|
|
58
58
|
const link_identity_1 = __importDefault(require("./commands/link-identity"));
|
|
59
59
|
const mint_access_token_1 = __importDefault(require("./commands/mint-access-token"));
|
|
60
60
|
const provision_bucket_1 = __importDefault(require("./commands/provision-bucket"));
|
|
61
|
-
const provision_new_user_1 = __importDefault(require("./commands/provision-new-user"));
|
|
62
61
|
const refresh_access_token_1 = __importDefault(require("./commands/refresh-access-token"));
|
|
63
62
|
const request_cross_origin_token_1 = __importDefault(require("./commands/request-cross-origin-token"));
|
|
63
|
+
const request_magic_link_1 = __importDefault(require("./commands/request-magic-link"));
|
|
64
64
|
const reset_password_1 = __importDefault(require("./commands/reset-password"));
|
|
65
65
|
const revoke_api_key_1 = __importDefault(require("./commands/revoke-api-key"));
|
|
66
66
|
const revoke_org_api_key_1 = __importDefault(require("./commands/revoke-org-api-key"));
|
|
67
67
|
const revoke_session_1 = __importDefault(require("./commands/revoke-session"));
|
|
68
68
|
const send_account_deletion_email_1 = __importDefault(require("./commands/send-account-deletion-email"));
|
|
69
|
+
const send_mfa_challenge_code_1 = __importDefault(require("./commands/send-mfa-challenge-code"));
|
|
69
70
|
const send_phone_verification_code_1 = __importDefault(require("./commands/send-phone-verification-code"));
|
|
71
|
+
const send_sms_otp_1 = __importDefault(require("./commands/send-sms-otp"));
|
|
70
72
|
const send_verification_email_1 = __importDefault(require("./commands/send-verification-email"));
|
|
71
73
|
const set_password_1 = __importDefault(require("./commands/set-password"));
|
|
72
74
|
const set_principal_entities_1 = __importDefault(require("./commands/set-principal-entities"));
|
|
@@ -133,15 +135,17 @@ const createCommandMap = () => ({
|
|
|
133
135
|
'link-identity': link_identity_1.default,
|
|
134
136
|
'mint-access-token': mint_access_token_1.default,
|
|
135
137
|
'provision-bucket': provision_bucket_1.default,
|
|
136
|
-
'provision-new-user': provision_new_user_1.default,
|
|
137
138
|
'refresh-access-token': refresh_access_token_1.default,
|
|
138
139
|
'request-cross-origin-token': request_cross_origin_token_1.default,
|
|
140
|
+
'request-magic-link': request_magic_link_1.default,
|
|
139
141
|
'reset-password': reset_password_1.default,
|
|
140
142
|
'revoke-api-key': revoke_api_key_1.default,
|
|
141
143
|
'revoke-org-api-key': revoke_org_api_key_1.default,
|
|
142
144
|
'revoke-session': revoke_session_1.default,
|
|
143
145
|
'send-account-deletion-email': send_account_deletion_email_1.default,
|
|
146
|
+
'send-mfa-challenge-code': send_mfa_challenge_code_1.default,
|
|
144
147
|
'send-phone-verification-code': send_phone_verification_code_1.default,
|
|
148
|
+
'send-sms-otp': send_sms_otp_1.default,
|
|
145
149
|
'send-verification-email': send_verification_email_1.default,
|
|
146
150
|
'set-password': set_password_1.default,
|
|
147
151
|
'set-principal-entities': set_principal_entities_1.default,
|
|
@@ -160,7 +164,7 @@ const createCommandMap = () => ({
|
|
|
160
164
|
'verify-phone': verify_phone_1.default,
|
|
161
165
|
'verify-totp': verify_totp_1.default,
|
|
162
166
|
});
|
|
163
|
-
const usage = '\ncsdk <command>\n\nCommands:\n context Manage API contexts\n auth Manage authentication\n audit-log-auth auditLogAuth CRUD operations\n crypto-address cryptoAddress CRUD operations\n email email CRUD operations\n identity-provider identityProvider CRUD operations\n org-api-key-list orgApiKeyList CRUD operations\n phone-number phoneNumber CRUD operations\n principal principal CRUD operations\n principal-entity principalEntity CRUD operations\n principal-scope-override principalScopeOverride CRUD operations\n role-type roleType CRUD operations\n user-connected-account userConnectedAccount CRUD operations\n user user CRUD operations\n user-setting userSetting CRUD operations\n user-settings-security userSettingsSecurity CRUD operations\n webauthn-credential webauthnCredential CRUD operations\n current-ip-address currentIpAddress\n current-user currentUser\n current-user-agent currentUserAgent\n current-user-id currentUserId\n get-mfa-status getMfaStatus\n require-step-up requireStepUp\n approve-device approveDevice\n check-password checkPassword\n complete-mfa-challenge completeMfaChallenge\n confirm-delete-account confirmDeleteAccount\n confirm-totp-setup confirmTotpSetup\n create-api-key createApiKey\n create-child-principal createChildPrincipal\n create-org-api-key createOrgApiKey\n create-org-principal createOrgPrincipal\n create-principal-from-preset createPrincipalFromPreset\n delete-org-principal deleteOrgPrincipal\n delete-principal deletePrincipal\n disable-email-mfa disableEmailMfa\n disable-sms-mfa disableSmsMfa\n disable-totp disableTotp\n disconnect-account disconnectAccount\n enable-email-mfa enableEmailMfa\n enable-sms-mfa enableSmsMfa\n enable-totp enableTotp\n extend-token-expires extendTokenExpires\n forgot-password forgotPassword\n generate-backup-codes generateBackupCodes\n link-identity linkIdentity\n mint-access-token mintAccessToken\n provision-bucket Reconcile an S3 bucket for a logical bucket in the database.\nReads the bucket config via RLS, then enqueues the same\nstorage:provision_bucket job used by the INSERT trigger. This is\nidempotent for an already-reconciled bucket; enqueue failures become\nGraphQL errors.\n
|
|
167
|
+
const usage = '\ncsdk <command>\n\nCommands:\n context Manage API contexts\n auth Manage authentication\n audit-log-auth auditLogAuth CRUD operations\n crypto-address cryptoAddress CRUD operations\n email email CRUD operations\n identity-provider identityProvider CRUD operations\n org-api-key-list orgApiKeyList CRUD operations\n phone-number phoneNumber CRUD operations\n principal principal CRUD operations\n principal-entity principalEntity CRUD operations\n principal-scope-override principalScopeOverride CRUD operations\n role-type roleType CRUD operations\n user-connected-account userConnectedAccount CRUD operations\n user user CRUD operations\n user-setting userSetting CRUD operations\n user-settings-security userSettingsSecurity CRUD operations\n webauthn-credential webauthnCredential CRUD operations\n current-ip-address currentIpAddress\n current-user currentUser\n current-user-agent currentUserAgent\n current-user-id currentUserId\n get-mfa-status getMfaStatus\n require-step-up requireStepUp\n approve-device approveDevice\n check-password checkPassword\n complete-mfa-challenge completeMfaChallenge\n confirm-delete-account confirmDeleteAccount\n confirm-totp-setup confirmTotpSetup\n create-api-key createApiKey\n create-child-principal createChildPrincipal\n create-org-api-key createOrgApiKey\n create-org-principal createOrgPrincipal\n create-principal-from-preset createPrincipalFromPreset\n delete-org-principal deleteOrgPrincipal\n delete-principal deletePrincipal\n disable-email-mfa disableEmailMfa\n disable-sms-mfa disableSmsMfa\n disable-totp disableTotp\n disconnect-account disconnectAccount\n enable-email-mfa enableEmailMfa\n enable-sms-mfa enableSmsMfa\n enable-totp enableTotp\n extend-token-expires extendTokenExpires\n forgot-password forgotPassword\n generate-backup-codes generateBackupCodes\n link-identity linkIdentity\n mint-access-token mintAccessToken\n provision-bucket Reconcile an S3 bucket for a logical bucket in the database.\nReads the bucket config via RLS, then enqueues the same\nstorage:provision_bucket job used by the INSERT trigger. This is\nidempotent for an already-reconciled bucket; enqueue failures become\nGraphQL errors.\n refresh-access-token refreshAccessToken\n request-cross-origin-token requestCrossOriginToken\n request-magic-link requestMagicLink\n reset-password resetPassword\n revoke-api-key revokeApiKey\n revoke-org-api-key revokeOrgApiKey\n revoke-session revokeSession\n send-account-deletion-email sendAccountDeletionEmail\n send-mfa-challenge-code sendMfaChallengeCode\n send-phone-verification-code sendPhoneVerificationCode\n send-sms-otp sendSmsOtp\n send-verification-email sendVerificationEmail\n set-password setPassword\n set-principal-entities setPrincipalEntities\n set-principal-scope setPrincipalScope\n sign-in signIn\n sign-in-cross-origin signInCrossOrigin\n sign-in-magic-link signInMagicLink\n sign-in-sms-otp signInSmsOtp\n sign-out signOut\n sign-up signUp\n sign-up-magic-link signUpMagicLink\n sign-up-sms signUpSms\n update-principal updatePrincipal\n verify-email verifyEmail\n verify-password verifyPassword\n verify-phone verifyPhone\n verify-totp verifyTotp\n\n --help, -h Show this help message\n --version, -v Show version\n';
|
|
164
168
|
const commands = async (argv, prompter, options) => {
|
|
165
169
|
if (argv.help || argv.h) {
|
|
166
170
|
console.log(usage);
|
package/auth/cli/executor.d.ts
CHANGED
|
@@ -173,11 +173,6 @@ export declare function getClient(contextName?: string): {
|
|
|
173
173
|
} & import("../orm").StrictSelect<S, import("../orm/input-types").ProvisionBucketPayloadSelect>) => import("../orm").QueryBuilder<{
|
|
174
174
|
provisionBucket: import("../orm").InferSelectResult<import("../orm/input-types").ProvisionBucketPayload, S> | null;
|
|
175
175
|
}>;
|
|
176
|
-
provisionNewUser: <S extends import("../orm/input-types").ProvisionNewUserPayloadSelect>(args: import("../orm/mutation").ProvisionNewUserVariables, options: {
|
|
177
|
-
select: S;
|
|
178
|
-
} & import("../orm").StrictSelect<S, import("../orm/input-types").ProvisionNewUserPayloadSelect>) => import("../orm").QueryBuilder<{
|
|
179
|
-
provisionNewUser: import("../orm").InferSelectResult<import("../orm/input-types").ProvisionNewUserPayload, S> | null;
|
|
180
|
-
}>;
|
|
181
176
|
refreshAccessToken: <S extends import("../orm/input-types").RefreshAccessTokenPayloadSelect>(args: import("../orm/mutation").RefreshAccessTokenVariables, options: {
|
|
182
177
|
select: S;
|
|
183
178
|
} & import("../orm").StrictSelect<S, import("../orm/input-types").RefreshAccessTokenPayloadSelect>) => import("../orm").QueryBuilder<{
|
|
@@ -188,6 +183,11 @@ export declare function getClient(contextName?: string): {
|
|
|
188
183
|
} & import("../orm").StrictSelect<S, import("../orm/input-types").RequestCrossOriginTokenPayloadSelect>) => import("../orm").QueryBuilder<{
|
|
189
184
|
requestCrossOriginToken: import("../orm").InferSelectResult<import("../orm/input-types").RequestCrossOriginTokenPayload, S> | null;
|
|
190
185
|
}>;
|
|
186
|
+
requestMagicLink: <S extends import("../orm/input-types").RequestMagicLinkPayloadSelect>(args: import("../orm/mutation").RequestMagicLinkVariables, options: {
|
|
187
|
+
select: S;
|
|
188
|
+
} & import("../orm").StrictSelect<S, import("../orm/input-types").RequestMagicLinkPayloadSelect>) => import("../orm").QueryBuilder<{
|
|
189
|
+
requestMagicLink: import("../orm").InferSelectResult<import("../orm/input-types").RequestMagicLinkPayload, S> | null;
|
|
190
|
+
}>;
|
|
191
191
|
resetPassword: <S extends import("../orm/input-types").ResetPasswordPayloadSelect>(args: import("../orm/mutation").ResetPasswordVariables, options: {
|
|
192
192
|
select: S;
|
|
193
193
|
} & import("../orm").StrictSelect<S, import("../orm/input-types").ResetPasswordPayloadSelect>) => import("../orm").QueryBuilder<{
|
|
@@ -213,11 +213,21 @@ export declare function getClient(contextName?: string): {
|
|
|
213
213
|
} & import("../orm").StrictSelect<S, import("../orm/input-types").SendAccountDeletionEmailPayloadSelect>) => import("../orm").QueryBuilder<{
|
|
214
214
|
sendAccountDeletionEmail: import("../orm").InferSelectResult<import("../orm/input-types").SendAccountDeletionEmailPayload, S> | null;
|
|
215
215
|
}>;
|
|
216
|
+
sendMfaChallengeCode: <S extends import("../orm/input-types").SendMfaChallengeCodePayloadSelect>(args: import("../orm/mutation").SendMfaChallengeCodeVariables, options: {
|
|
217
|
+
select: S;
|
|
218
|
+
} & import("../orm").StrictSelect<S, import("../orm/input-types").SendMfaChallengeCodePayloadSelect>) => import("../orm").QueryBuilder<{
|
|
219
|
+
sendMfaChallengeCode: import("../orm").InferSelectResult<import("../orm/input-types").SendMfaChallengeCodePayload, S> | null;
|
|
220
|
+
}>;
|
|
216
221
|
sendPhoneVerificationCode: <S extends import("../orm/input-types").SendPhoneVerificationCodePayloadSelect>(args: import("../orm/mutation").SendPhoneVerificationCodeVariables, options: {
|
|
217
222
|
select: S;
|
|
218
223
|
} & import("../orm").StrictSelect<S, import("../orm/input-types").SendPhoneVerificationCodePayloadSelect>) => import("../orm").QueryBuilder<{
|
|
219
224
|
sendPhoneVerificationCode: import("../orm").InferSelectResult<import("../orm/input-types").SendPhoneVerificationCodePayload, S> | null;
|
|
220
225
|
}>;
|
|
226
|
+
sendSmsOtp: <S extends import("../orm/input-types").SendSmsOtpPayloadSelect>(args: import("../orm/mutation").SendSmsOtpVariables, options: {
|
|
227
|
+
select: S;
|
|
228
|
+
} & import("../orm").StrictSelect<S, import("../orm/input-types").SendSmsOtpPayloadSelect>) => import("../orm").QueryBuilder<{
|
|
229
|
+
sendSmsOtp: import("../orm").InferSelectResult<import("../orm/input-types").SendSmsOtpPayload, S> | null;
|
|
230
|
+
}>;
|
|
221
231
|
sendVerificationEmail: <S extends import("../orm/input-types").SendVerificationEmailPayloadSelect>(args: import("../orm/mutation").SendVerificationEmailVariables, options: {
|
|
222
232
|
select: S;
|
|
223
233
|
} & import("../orm").StrictSelect<S, import("../orm/input-types").SendVerificationEmailPayloadSelect>) => import("../orm").QueryBuilder<{
|
package/auth/orm/index.d.ts
CHANGED
|
@@ -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,
|
|
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<{
|
|
@@ -305,18 +305,6 @@ function createMutationOperations(client) {
|
|
|
305
305
|
},
|
|
306
306
|
], input_types_1.connectionFieldsMap, 'ProvisionBucketPayload'),
|
|
307
307
|
}),
|
|
308
|
-
provisionNewUser: (args, options) => new query_builder_1.QueryBuilder({
|
|
309
|
-
client,
|
|
310
|
-
operation: 'mutation',
|
|
311
|
-
operationName: 'ProvisionNewUser',
|
|
312
|
-
fieldName: 'provisionNewUser',
|
|
313
|
-
...(0, query_builder_1.buildCustomDocument)('mutation', 'ProvisionNewUser', 'provisionNewUser', options.select, args, [
|
|
314
|
-
{
|
|
315
|
-
name: 'input',
|
|
316
|
-
type: 'ProvisionNewUserInput!',
|
|
317
|
-
},
|
|
318
|
-
], input_types_1.connectionFieldsMap, 'ProvisionNewUserPayload'),
|
|
319
|
-
}),
|
|
320
308
|
refreshAccessToken: (args, options) => new query_builder_1.QueryBuilder({
|
|
321
309
|
client,
|
|
322
310
|
operation: 'mutation',
|
|
@@ -341,6 +329,18 @@ function createMutationOperations(client) {
|
|
|
341
329
|
},
|
|
342
330
|
], input_types_1.connectionFieldsMap, 'RequestCrossOriginTokenPayload'),
|
|
343
331
|
}),
|
|
332
|
+
requestMagicLink: (args, options) => new query_builder_1.QueryBuilder({
|
|
333
|
+
client,
|
|
334
|
+
operation: 'mutation',
|
|
335
|
+
operationName: 'RequestMagicLink',
|
|
336
|
+
fieldName: 'requestMagicLink',
|
|
337
|
+
...(0, query_builder_1.buildCustomDocument)('mutation', 'RequestMagicLink', 'requestMagicLink', options.select, args, [
|
|
338
|
+
{
|
|
339
|
+
name: 'input',
|
|
340
|
+
type: 'RequestMagicLinkInput!',
|
|
341
|
+
},
|
|
342
|
+
], input_types_1.connectionFieldsMap, 'RequestMagicLinkPayload'),
|
|
343
|
+
}),
|
|
344
344
|
resetPassword: (args, options) => new query_builder_1.QueryBuilder({
|
|
345
345
|
client,
|
|
346
346
|
operation: 'mutation',
|
|
@@ -401,6 +401,18 @@ function createMutationOperations(client) {
|
|
|
401
401
|
},
|
|
402
402
|
], input_types_1.connectionFieldsMap, 'SendAccountDeletionEmailPayload'),
|
|
403
403
|
}),
|
|
404
|
+
sendMfaChallengeCode: (args, options) => new query_builder_1.QueryBuilder({
|
|
405
|
+
client,
|
|
406
|
+
operation: 'mutation',
|
|
407
|
+
operationName: 'SendMfaChallengeCode',
|
|
408
|
+
fieldName: 'sendMfaChallengeCode',
|
|
409
|
+
...(0, query_builder_1.buildCustomDocument)('mutation', 'SendMfaChallengeCode', 'sendMfaChallengeCode', options.select, args, [
|
|
410
|
+
{
|
|
411
|
+
name: 'input',
|
|
412
|
+
type: 'SendMfaChallengeCodeInput!',
|
|
413
|
+
},
|
|
414
|
+
], input_types_1.connectionFieldsMap, 'SendMfaChallengeCodePayload'),
|
|
415
|
+
}),
|
|
404
416
|
sendPhoneVerificationCode: (args, options) => new query_builder_1.QueryBuilder({
|
|
405
417
|
client,
|
|
406
418
|
operation: 'mutation',
|
|
@@ -413,6 +425,18 @@ function createMutationOperations(client) {
|
|
|
413
425
|
},
|
|
414
426
|
], input_types_1.connectionFieldsMap, 'SendPhoneVerificationCodePayload'),
|
|
415
427
|
}),
|
|
428
|
+
sendSmsOtp: (args, options) => new query_builder_1.QueryBuilder({
|
|
429
|
+
client,
|
|
430
|
+
operation: 'mutation',
|
|
431
|
+
operationName: 'SendSmsOtp',
|
|
432
|
+
fieldName: 'sendSmsOtp',
|
|
433
|
+
...(0, query_builder_1.buildCustomDocument)('mutation', 'SendSmsOtp', 'sendSmsOtp', options.select, args, [
|
|
434
|
+
{
|
|
435
|
+
name: 'input',
|
|
436
|
+
type: 'SendSmsOtpInput!',
|
|
437
|
+
},
|
|
438
|
+
], input_types_1.connectionFieldsMap, 'SendSmsOtpPayload'),
|
|
439
|
+
}),
|
|
416
440
|
sendVerificationEmail: (args, options) => new query_builder_1.QueryBuilder({
|
|
417
441
|
client,
|
|
418
442
|
operation: 'mutation',
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CLI command for mutation functionExecutionLogsAppend
|
|
3
|
+
* @generated by @constructive-io/graphql-codegen
|
|
4
|
+
* DO NOT EDIT - changes will be overwritten
|
|
5
|
+
*/
|
|
6
|
+
import { CLIOptions, Inquirerer } from 'inquirerer';
|
|
7
|
+
declare const _default: (argv: Partial<Record<string, unknown>>, prompter: Inquirerer, _options: CLIOptions) => Promise<void>;
|
|
8
|
+
export default _default;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const executor_1 = require("../executor");
|
|
4
|
+
const utils_1 = require("../utils");
|
|
5
|
+
exports.default = async (argv, prompter, _options) => {
|
|
6
|
+
try {
|
|
7
|
+
if (argv.help || argv.h) {
|
|
8
|
+
console.log('function-execution-logs-append - functionExecutionLogsAppend\n\nUsage: function-execution-logs-append [OPTIONS]\n');
|
|
9
|
+
process.exit(0);
|
|
10
|
+
}
|
|
11
|
+
const answers = await prompter.prompt(argv, [
|
|
12
|
+
{
|
|
13
|
+
type: 'text',
|
|
14
|
+
name: 'input',
|
|
15
|
+
message: 'The exclusive input argument for this mutation. An object type, make sure to see documentation for this object\u2019s fields.',
|
|
16
|
+
required: true,
|
|
17
|
+
},
|
|
18
|
+
]);
|
|
19
|
+
const client = (0, executor_1.getClient)();
|
|
20
|
+
const parsedAnswers = (0, utils_1.unflattenDotNotation)(answers);
|
|
21
|
+
const selectFields = (0, utils_1.buildSelectFromPaths)(argv.select ?? 'clientMutationId');
|
|
22
|
+
const result = await client.mutation
|
|
23
|
+
.functionExecutionLogsAppend(parsedAnswers, {
|
|
24
|
+
select: selectFields,
|
|
25
|
+
})
|
|
26
|
+
.execute();
|
|
27
|
+
console.log(JSON.stringify(result, null, 2));
|
|
28
|
+
}
|
|
29
|
+
catch (error) {
|
|
30
|
+
console.error('Failed: functionExecutionLogsAppend');
|
|
31
|
+
if (error instanceof Error) {
|
|
32
|
+
console.error(error.message);
|
|
33
|
+
}
|
|
34
|
+
process.exit(1);
|
|
35
|
+
}
|
|
36
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CLI commands for FunctionSchedule
|
|
3
|
+
* @generated by @constructive-io/graphql-codegen
|
|
4
|
+
* DO NOT EDIT - changes will be overwritten
|
|
5
|
+
*/
|
|
6
|
+
import { CLIOptions, Inquirerer } from 'inquirerer';
|
|
7
|
+
declare const _default: (argv: Partial<Record<string, unknown>>, prompter: Inquirerer, _options: CLIOptions) => Promise<void>;
|
|
8
|
+
export default _default;
|