@constructive-sdk/cli 1.20.7 → 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 +2 -2
- package/remote/cli/commands/machine.js +22 -0
- package/remote/orm/input-types.d.ts +13 -1
|
@@ -173,11 +173,6 @@ export declare function getClient(contextName?: string): {
|
|
|
173
173
|
} & import("..").StrictSelect<S, import("../orm/input-types").ProvisionBucketPayloadSelect>) => import("..").QueryBuilder<{
|
|
174
174
|
provisionBucket: import("..").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("..").StrictSelect<S, import("../orm/input-types").ProvisionNewUserPayloadSelect>) => import("..").QueryBuilder<{
|
|
179
|
-
provisionNewUser: import("..").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("..").StrictSelect<S, import("../orm/input-types").RefreshAccessTokenPayloadSelect>) => import("..").QueryBuilder<{
|
|
@@ -188,6 +183,11 @@ export declare function getClient(contextName?: string): {
|
|
|
188
183
|
} & import("..").StrictSelect<S, import("../orm/input-types").RequestCrossOriginTokenPayloadSelect>) => import("..").QueryBuilder<{
|
|
189
184
|
requestCrossOriginToken: import("..").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("..").StrictSelect<S, import("../orm/input-types").RequestMagicLinkPayloadSelect>) => import("..").QueryBuilder<{
|
|
189
|
+
requestMagicLink: import("..").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("..").StrictSelect<S, import("../orm/input-types").ResetPasswordPayloadSelect>) => import("..").QueryBuilder<{
|
|
@@ -213,11 +213,21 @@ export declare function getClient(contextName?: string): {
|
|
|
213
213
|
} & import("..").StrictSelect<S, import("../orm/input-types").SendAccountDeletionEmailPayloadSelect>) => import("..").QueryBuilder<{
|
|
214
214
|
sendAccountDeletionEmail: import("..").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("..").StrictSelect<S, import("../orm/input-types").SendMfaChallengeCodePayloadSelect>) => import("..").QueryBuilder<{
|
|
219
|
+
sendMfaChallengeCode: import("..").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("..").StrictSelect<S, import("../orm/input-types").SendPhoneVerificationCodePayloadSelect>) => import("..").QueryBuilder<{
|
|
219
224
|
sendPhoneVerificationCode: import("..").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("..").StrictSelect<S, import("../orm/input-types").SendSmsOtpPayloadSelect>) => import("..").QueryBuilder<{
|
|
229
|
+
sendSmsOtp: import("..").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("..").StrictSelect<S, import("../orm/input-types").SendVerificationEmailPayloadSelect>) => import("..").QueryBuilder<{
|
package/esm/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<{
|
|
@@ -302,18 +302,6 @@ export function createMutationOperations(client) {
|
|
|
302
302
|
},
|
|
303
303
|
], connectionFieldsMap, 'ProvisionBucketPayload'),
|
|
304
304
|
}),
|
|
305
|
-
provisionNewUser: (args, options) => new QueryBuilder({
|
|
306
|
-
client,
|
|
307
|
-
operation: 'mutation',
|
|
308
|
-
operationName: 'ProvisionNewUser',
|
|
309
|
-
fieldName: 'provisionNewUser',
|
|
310
|
-
...buildCustomDocument('mutation', 'ProvisionNewUser', 'provisionNewUser', options.select, args, [
|
|
311
|
-
{
|
|
312
|
-
name: 'input',
|
|
313
|
-
type: 'ProvisionNewUserInput!',
|
|
314
|
-
},
|
|
315
|
-
], connectionFieldsMap, 'ProvisionNewUserPayload'),
|
|
316
|
-
}),
|
|
317
305
|
refreshAccessToken: (args, options) => new QueryBuilder({
|
|
318
306
|
client,
|
|
319
307
|
operation: 'mutation',
|
|
@@ -338,6 +326,18 @@ export function createMutationOperations(client) {
|
|
|
338
326
|
},
|
|
339
327
|
], connectionFieldsMap, 'RequestCrossOriginTokenPayload'),
|
|
340
328
|
}),
|
|
329
|
+
requestMagicLink: (args, options) => new QueryBuilder({
|
|
330
|
+
client,
|
|
331
|
+
operation: 'mutation',
|
|
332
|
+
operationName: 'RequestMagicLink',
|
|
333
|
+
fieldName: 'requestMagicLink',
|
|
334
|
+
...buildCustomDocument('mutation', 'RequestMagicLink', 'requestMagicLink', options.select, args, [
|
|
335
|
+
{
|
|
336
|
+
name: 'input',
|
|
337
|
+
type: 'RequestMagicLinkInput!',
|
|
338
|
+
},
|
|
339
|
+
], connectionFieldsMap, 'RequestMagicLinkPayload'),
|
|
340
|
+
}),
|
|
341
341
|
resetPassword: (args, options) => new QueryBuilder({
|
|
342
342
|
client,
|
|
343
343
|
operation: 'mutation',
|
|
@@ -398,6 +398,18 @@ export function createMutationOperations(client) {
|
|
|
398
398
|
},
|
|
399
399
|
], connectionFieldsMap, 'SendAccountDeletionEmailPayload'),
|
|
400
400
|
}),
|
|
401
|
+
sendMfaChallengeCode: (args, options) => new QueryBuilder({
|
|
402
|
+
client,
|
|
403
|
+
operation: 'mutation',
|
|
404
|
+
operationName: 'SendMfaChallengeCode',
|
|
405
|
+
fieldName: 'sendMfaChallengeCode',
|
|
406
|
+
...buildCustomDocument('mutation', 'SendMfaChallengeCode', 'sendMfaChallengeCode', options.select, args, [
|
|
407
|
+
{
|
|
408
|
+
name: 'input',
|
|
409
|
+
type: 'SendMfaChallengeCodeInput!',
|
|
410
|
+
},
|
|
411
|
+
], connectionFieldsMap, 'SendMfaChallengeCodePayload'),
|
|
412
|
+
}),
|
|
401
413
|
sendPhoneVerificationCode: (args, options) => new QueryBuilder({
|
|
402
414
|
client,
|
|
403
415
|
operation: 'mutation',
|
|
@@ -410,6 +422,18 @@ export function createMutationOperations(client) {
|
|
|
410
422
|
},
|
|
411
423
|
], connectionFieldsMap, 'SendPhoneVerificationCodePayload'),
|
|
412
424
|
}),
|
|
425
|
+
sendSmsOtp: (args, options) => new QueryBuilder({
|
|
426
|
+
client,
|
|
427
|
+
operation: 'mutation',
|
|
428
|
+
operationName: 'SendSmsOtp',
|
|
429
|
+
fieldName: 'sendSmsOtp',
|
|
430
|
+
...buildCustomDocument('mutation', 'SendSmsOtp', 'sendSmsOtp', options.select, args, [
|
|
431
|
+
{
|
|
432
|
+
name: 'input',
|
|
433
|
+
type: 'SendSmsOtpInput!',
|
|
434
|
+
},
|
|
435
|
+
], connectionFieldsMap, 'SendSmsOtpPayload'),
|
|
436
|
+
}),
|
|
413
437
|
sendVerificationEmail: (args, options) => new QueryBuilder({
|
|
414
438
|
client,
|
|
415
439
|
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,34 @@
|
|
|
1
|
+
import { getClient } from '../executor';
|
|
2
|
+
import { unflattenDotNotation, buildSelectFromPaths } from '../utils';
|
|
3
|
+
export default async (argv, prompter, _options) => {
|
|
4
|
+
try {
|
|
5
|
+
if (argv.help || argv.h) {
|
|
6
|
+
console.log('function-execution-logs-append - functionExecutionLogsAppend\n\nUsage: function-execution-logs-append [OPTIONS]\n');
|
|
7
|
+
process.exit(0);
|
|
8
|
+
}
|
|
9
|
+
const answers = await prompter.prompt(argv, [
|
|
10
|
+
{
|
|
11
|
+
type: 'text',
|
|
12
|
+
name: 'input',
|
|
13
|
+
message: 'The exclusive input argument for this mutation. An object type, make sure to see documentation for this object\u2019s fields.',
|
|
14
|
+
required: true,
|
|
15
|
+
},
|
|
16
|
+
]);
|
|
17
|
+
const client = getClient();
|
|
18
|
+
const parsedAnswers = unflattenDotNotation(answers);
|
|
19
|
+
const selectFields = buildSelectFromPaths(argv.select ?? 'clientMutationId');
|
|
20
|
+
const result = await client.mutation
|
|
21
|
+
.functionExecutionLogsAppend(parsedAnswers, {
|
|
22
|
+
select: selectFields,
|
|
23
|
+
})
|
|
24
|
+
.execute();
|
|
25
|
+
console.log(JSON.stringify(result, null, 2));
|
|
26
|
+
}
|
|
27
|
+
catch (error) {
|
|
28
|
+
console.error('Failed: functionExecutionLogsAppend');
|
|
29
|
+
if (error instanceof Error) {
|
|
30
|
+
console.error(error.message);
|
|
31
|
+
}
|
|
32
|
+
process.exit(1);
|
|
33
|
+
}
|
|
34
|
+
};
|
|
@@ -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;
|