@aooth/auth-moost 0.1.85 → 0.2.1
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/dist/atscript/index.d.mts +42 -27
- package/dist/atscript/index.mjs +2 -2
- package/dist/forms-DDn6m5rP.mjs +474 -0
- package/dist/index.d.mts +432 -42
- package/dist/index.mjs +910 -348
- package/package.json +24 -24
- package/src/atscript/models/forms.as +26 -6
- package/src/atscript/models/forms.as.d.ts +43 -27
- package/dist/forms-B9-r2zT5.mjs +0 -474
|
@@ -36,7 +36,7 @@ declare class LoginCredentialsForm {
|
|
|
36
36
|
}
|
|
37
37
|
/**
|
|
38
38
|
* Atscript interface **MfaCodeForm**
|
|
39
|
-
* @see {@link ./forms.as:
|
|
39
|
+
* @see {@link ./forms.as:137:18}
|
|
40
40
|
*/
|
|
41
41
|
declare class MfaCodeForm {
|
|
42
42
|
// transportHint: ui.paragraph
|
|
@@ -54,7 +54,7 @@ declare class MfaCodeForm {
|
|
|
54
54
|
}
|
|
55
55
|
/**
|
|
56
56
|
* Atscript interface **EmailIdentifierForm**
|
|
57
|
-
* @see {@link ./forms.as:
|
|
57
|
+
* @see {@link ./forms.as:174:18}
|
|
58
58
|
*/
|
|
59
59
|
declare class EmailIdentifierForm {
|
|
60
60
|
email: string; /* email */
|
|
@@ -70,7 +70,7 @@ declare class EmailIdentifierForm {
|
|
|
70
70
|
}
|
|
71
71
|
/**
|
|
72
72
|
* Atscript interface **SignupForm**
|
|
73
|
-
* @see {@link ./forms.as:
|
|
73
|
+
* @see {@link ./forms.as:206:18}
|
|
74
74
|
*/
|
|
75
75
|
declare class SignupForm {
|
|
76
76
|
email: string; /* email */
|
|
@@ -86,7 +86,7 @@ declare class SignupForm {
|
|
|
86
86
|
}
|
|
87
87
|
/**
|
|
88
88
|
* Atscript interface **SetPasswordForm**
|
|
89
|
-
* @see {@link ./forms.as:
|
|
89
|
+
* @see {@link ./forms.as:264:18}
|
|
90
90
|
*/
|
|
91
91
|
declare class SetPasswordForm extends WithInlineConsentForm {
|
|
92
92
|
// intro: ui.paragraph
|
|
@@ -104,7 +104,7 @@ declare class SetPasswordForm extends WithInlineConsentForm {
|
|
|
104
104
|
}
|
|
105
105
|
/**
|
|
106
106
|
* Atscript interface **InviteForm**
|
|
107
|
-
* @see {@link ./forms.as:
|
|
107
|
+
* @see {@link ./forms.as:342:18}
|
|
108
108
|
*/
|
|
109
109
|
declare class InviteForm {
|
|
110
110
|
email: string; /* email */
|
|
@@ -118,9 +118,24 @@ declare class InviteForm {
|
|
|
118
118
|
/** @deprecated Example Data support is disabled. To enable, set `exampleData: true` in tsPlugin options. */
|
|
119
119
|
static toExampleData?: () => any;
|
|
120
120
|
}
|
|
121
|
+
/**
|
|
122
|
+
* Atscript interface **InviteChooseUsernameForm**
|
|
123
|
+
* @see {@link ./forms.as:367:18}
|
|
124
|
+
*/
|
|
125
|
+
declare class InviteChooseUsernameForm {
|
|
126
|
+
username: string;
|
|
127
|
+
static __is_atscript_annotated_type: true;
|
|
128
|
+
static type: TAtscriptTypeObject<keyof InviteChooseUsernameForm, InviteChooseUsernameForm>;
|
|
129
|
+
static metadata: TMetadataMap<AtscriptMetadata>;
|
|
130
|
+
static validator: (opts?: Partial<TValidatorOptions>) => Validator<typeof InviteChooseUsernameForm>;
|
|
131
|
+
/** @deprecated JSON Schema support is disabled. Calling this method will throw a runtime error. To enable, set `jsonSchema: 'lazy'` or `jsonSchema: 'bundle'` in tsPlugin options, or add `@emit.jsonSchema` annotation to individual interfaces. */
|
|
132
|
+
static toJsonSchema: () => any;
|
|
133
|
+
/** @deprecated Example Data support is disabled. To enable, set `exampleData: true` in tsPlugin options. */
|
|
134
|
+
static toExampleData?: () => any;
|
|
135
|
+
}
|
|
121
136
|
/**
|
|
122
137
|
* Atscript interface **Select2faForm**
|
|
123
|
-
* @see {@link ./forms.as:
|
|
138
|
+
* @see {@link ./forms.as:391:18}
|
|
124
139
|
*/
|
|
125
140
|
declare class Select2faForm {
|
|
126
141
|
methodName: string;
|
|
@@ -137,7 +152,7 @@ declare class Select2faForm {
|
|
|
137
152
|
}
|
|
138
153
|
/**
|
|
139
154
|
* Atscript interface **PincodeForm**
|
|
140
|
-
* @see {@link ./forms.as:
|
|
155
|
+
* @see {@link ./forms.as:441:18}
|
|
141
156
|
*/
|
|
142
157
|
declare class PincodeForm {
|
|
143
158
|
// transportHint: ui.paragraph
|
|
@@ -157,7 +172,7 @@ declare class PincodeForm {
|
|
|
157
172
|
}
|
|
158
173
|
/**
|
|
159
174
|
* Atscript interface **AskEmailForm**
|
|
160
|
-
* @see {@link ./forms.as:
|
|
175
|
+
* @see {@link ./forms.as:480:18}
|
|
161
176
|
*/
|
|
162
177
|
declare class AskEmailForm extends WithInlineConsentForm {
|
|
163
178
|
// disclosure: ui.paragraph
|
|
@@ -173,7 +188,7 @@ declare class AskEmailForm extends WithInlineConsentForm {
|
|
|
173
188
|
}
|
|
174
189
|
/**
|
|
175
190
|
* Atscript interface **AskPhoneForm**
|
|
176
|
-
* @see {@link ./forms.as:
|
|
191
|
+
* @see {@link ./forms.as:510:18}
|
|
177
192
|
*/
|
|
178
193
|
declare class AskPhoneForm extends WithInlineConsentForm {
|
|
179
194
|
// disclosure: ui.paragraph
|
|
@@ -189,7 +204,7 @@ declare class AskPhoneForm extends WithInlineConsentForm {
|
|
|
189
204
|
}
|
|
190
205
|
/**
|
|
191
206
|
* Atscript interface **EnrollPickMethodForm**
|
|
192
|
-
* @see {@link ./forms.as:
|
|
207
|
+
* @see {@link ./forms.as:534:18}
|
|
193
208
|
*/
|
|
194
209
|
declare class EnrollPickMethodForm {
|
|
195
210
|
method: string;
|
|
@@ -206,7 +221,7 @@ declare class EnrollPickMethodForm {
|
|
|
206
221
|
}
|
|
207
222
|
/**
|
|
208
223
|
* Atscript interface **EnrollAddressForm**
|
|
209
|
-
* @see {@link ./forms.as:
|
|
224
|
+
* @see {@link ./forms.as:568:18}
|
|
210
225
|
*/
|
|
211
226
|
declare class EnrollAddressForm {
|
|
212
227
|
address: string;
|
|
@@ -224,7 +239,7 @@ declare class EnrollAddressForm {
|
|
|
224
239
|
}
|
|
225
240
|
/**
|
|
226
241
|
* Atscript interface **EnrollConfirmForm**
|
|
227
|
-
* @see {@link ./forms.as:
|
|
242
|
+
* @see {@link ./forms.as:614:18}
|
|
228
243
|
*/
|
|
229
244
|
declare class EnrollConfirmForm {
|
|
230
245
|
// transportHint: ui.paragraph
|
|
@@ -244,7 +259,7 @@ declare class EnrollConfirmForm {
|
|
|
244
259
|
}
|
|
245
260
|
/**
|
|
246
261
|
* Atscript interface **EnrollTotpQrForm**
|
|
247
|
-
* @see {@link ./forms.as:
|
|
262
|
+
* @see {@link ./forms.as:664:18}
|
|
248
263
|
*/
|
|
249
264
|
declare class EnrollTotpQrForm {
|
|
250
265
|
// qrCode: ui.paragraph
|
|
@@ -262,7 +277,7 @@ declare class EnrollTotpQrForm {
|
|
|
262
277
|
}
|
|
263
278
|
/**
|
|
264
279
|
* Atscript interface **ManageMfaForm**
|
|
265
|
-
* @see {@link ./forms.as:
|
|
280
|
+
* @see {@link ./forms.as:707:18}
|
|
266
281
|
*/
|
|
267
282
|
declare class ManageMfaForm {
|
|
268
283
|
// lockedNote: ui.paragraph
|
|
@@ -280,7 +295,7 @@ declare class ManageMfaForm {
|
|
|
280
295
|
}
|
|
281
296
|
/**
|
|
282
297
|
* Atscript interface **RemoveMfaConfirmForm**
|
|
283
|
-
* @see {@link ./forms.as:
|
|
298
|
+
* @see {@link ./forms.as:741:18}
|
|
284
299
|
*/
|
|
285
300
|
declare class RemoveMfaConfirmForm {
|
|
286
301
|
// notice: ui.paragraph
|
|
@@ -296,7 +311,7 @@ declare class RemoveMfaConfirmForm {
|
|
|
296
311
|
}
|
|
297
312
|
/**
|
|
298
313
|
* Atscript interface **PasswordReauthForm**
|
|
299
|
-
* @see {@link ./forms.as:
|
|
314
|
+
* @see {@link ./forms.as:764:18}
|
|
300
315
|
*/
|
|
301
316
|
declare class PasswordReauthForm {
|
|
302
317
|
password: string;
|
|
@@ -312,7 +327,7 @@ declare class PasswordReauthForm {
|
|
|
312
327
|
}
|
|
313
328
|
/**
|
|
314
329
|
* Atscript interface **StepUpConfirmForm**
|
|
315
|
-
* @see {@link ./forms.as:
|
|
330
|
+
* @see {@link ./forms.as:795:18}
|
|
316
331
|
*/
|
|
317
332
|
declare class StepUpConfirmForm {
|
|
318
333
|
// notice: ui.paragraph
|
|
@@ -329,7 +344,7 @@ declare class StepUpConfirmForm {
|
|
|
329
344
|
}
|
|
330
345
|
/**
|
|
331
346
|
* Atscript interface **TermsBumpForm**
|
|
332
|
-
* @see {@link ./forms.as:
|
|
347
|
+
* @see {@link ./forms.as:823:18}
|
|
333
348
|
*/
|
|
334
349
|
declare class TermsBumpForm extends WithInlineConsentForm {
|
|
335
350
|
static __is_atscript_annotated_type: true;
|
|
@@ -343,7 +358,7 @@ declare class TermsBumpForm extends WithInlineConsentForm {
|
|
|
343
358
|
}
|
|
344
359
|
/**
|
|
345
360
|
* Atscript interface **ConcurrencyLimitForm**
|
|
346
|
-
* @see {@link ./forms.as:
|
|
361
|
+
* @see {@link ./forms.as:836:18}
|
|
347
362
|
*/
|
|
348
363
|
declare class ConcurrencyLimitForm {
|
|
349
364
|
static __is_atscript_annotated_type: true;
|
|
@@ -357,7 +372,7 @@ declare class ConcurrencyLimitForm {
|
|
|
357
372
|
}
|
|
358
373
|
/**
|
|
359
374
|
* Atscript interface **MagicLinkRequestForm**
|
|
360
|
-
* @see {@link ./forms.as:
|
|
375
|
+
* @see {@link ./forms.as:846:18}
|
|
361
376
|
*/
|
|
362
377
|
declare class MagicLinkRequestForm {
|
|
363
378
|
identifier: string;
|
|
@@ -372,7 +387,7 @@ declare class MagicLinkRequestForm {
|
|
|
372
387
|
}
|
|
373
388
|
/**
|
|
374
389
|
* Atscript interface **RecoveryModeSelectForm**
|
|
375
|
-
* @see {@link ./forms.as:
|
|
390
|
+
* @see {@link ./forms.as:861:18}
|
|
376
391
|
*/
|
|
377
392
|
declare class RecoveryModeSelectForm {
|
|
378
393
|
mode: string;
|
|
@@ -387,7 +402,7 @@ declare class RecoveryModeSelectForm {
|
|
|
387
402
|
}
|
|
388
403
|
/**
|
|
389
404
|
* Atscript interface **RecoveryFactorForm**
|
|
390
|
-
* @see {@link ./forms.as:
|
|
405
|
+
* @see {@link ./forms.as:884:18}
|
|
391
406
|
*/
|
|
392
407
|
declare class RecoveryFactorForm {
|
|
393
408
|
factor: string;
|
|
@@ -403,7 +418,7 @@ declare class RecoveryFactorForm {
|
|
|
403
418
|
}
|
|
404
419
|
/**
|
|
405
420
|
* Atscript interface **ChangePasswordForm**
|
|
406
|
-
* @see {@link ./forms.as:
|
|
421
|
+
* @see {@link ./forms.as:918:18}
|
|
407
422
|
*/
|
|
408
423
|
declare class ChangePasswordForm {
|
|
409
424
|
// intro: ui.paragraph
|
|
@@ -422,7 +437,7 @@ declare class ChangePasswordForm {
|
|
|
422
437
|
}
|
|
423
438
|
/**
|
|
424
439
|
* Atscript interface **ProveControlForm**
|
|
425
|
-
* @see {@link ./forms.as:
|
|
440
|
+
* @see {@link ./forms.as:983:18}
|
|
426
441
|
*/
|
|
427
442
|
declare class ProveControlForm {
|
|
428
443
|
// intro: ui.paragraph
|
|
@@ -439,7 +454,7 @@ declare class ProveControlForm {
|
|
|
439
454
|
}
|
|
440
455
|
/**
|
|
441
456
|
* Atscript interface **ProveControlOtpForm**
|
|
442
|
-
* @see {@link ./forms.as:
|
|
457
|
+
* @see {@link ./forms.as:1018:18}
|
|
443
458
|
*/
|
|
444
459
|
declare class ProveControlOtpForm {
|
|
445
460
|
// intro: ui.paragraph
|
|
@@ -457,7 +472,7 @@ declare class ProveControlOtpForm {
|
|
|
457
472
|
}
|
|
458
473
|
/**
|
|
459
474
|
* Atscript interface **AuthorizeConsentForm**
|
|
460
|
-
* @see {@link ./forms.as:
|
|
475
|
+
* @see {@link ./forms.as:1070:18}
|
|
461
476
|
*/
|
|
462
477
|
declare class AuthorizeConsentForm {
|
|
463
478
|
// notice: ui.paragraph
|
|
@@ -474,4 +489,4 @@ declare class AuthorizeConsentForm {
|
|
|
474
489
|
}
|
|
475
490
|
// prettier-ignore-end
|
|
476
491
|
//#endregion
|
|
477
|
-
export { AskEmailForm, AskPhoneForm, AuthorizeConsentForm, ChangePasswordForm, ConcurrencyLimitForm, EmailIdentifierForm, EnrollAddressForm, EnrollConfirmForm, EnrollPickMethodForm, EnrollTotpQrForm, InviteForm, LoginCredentialsForm, MagicLinkRequestForm, ManageMfaForm, MfaCodeForm, PasswordReauthForm, PincodeForm, ProveControlForm, ProveControlOtpForm, RecoveryFactorForm, RecoveryModeSelectForm, RemoveMfaConfirmForm, Select2faForm, SetPasswordForm, SignupForm, StepUpConfirmForm, TermsBumpForm, WithInlineConsentForm };
|
|
492
|
+
export { AskEmailForm, AskPhoneForm, AuthorizeConsentForm, ChangePasswordForm, ConcurrencyLimitForm, EmailIdentifierForm, EnrollAddressForm, EnrollConfirmForm, EnrollPickMethodForm, EnrollTotpQrForm, InviteChooseUsernameForm, InviteForm, LoginCredentialsForm, MagicLinkRequestForm, ManageMfaForm, MfaCodeForm, PasswordReauthForm, PincodeForm, ProveControlForm, ProveControlOtpForm, RecoveryFactorForm, RecoveryModeSelectForm, RemoveMfaConfirmForm, Select2faForm, SetPasswordForm, SignupForm, StepUpConfirmForm, TermsBumpForm, WithInlineConsentForm };
|
package/dist/atscript/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { C as
|
|
2
|
-
export { AskEmailForm, AskPhoneForm, AuthorizeConsentForm, ChangePasswordForm, ConcurrencyLimitForm, EmailIdentifierForm, EnrollAddressForm, EnrollConfirmForm, EnrollPickMethodForm, EnrollTotpQrForm, InviteForm, LoginCredentialsForm, MagicLinkRequestForm, ManageMfaForm, MfaCodeForm, PasswordReauthForm, PincodeForm, ProveControlForm, ProveControlOtpForm, RecoveryFactorForm, RecoveryModeSelectForm, RemoveMfaConfirmForm, Select2faForm, SetPasswordForm, SignupForm, StepUpConfirmForm, TermsBumpForm, WithInlineConsentForm };
|
|
1
|
+
import { C as RemoveMfaConfirmForm, D as StepUpConfirmForm, E as SignupForm, O as TermsBumpForm, S as RecoveryModeSelectForm, T as SetPasswordForm, _ as PasswordReauthForm, a as ConcurrencyLimitForm, b as ProveControlOtpForm, c as EnrollConfirmForm, d as InviteChooseUsernameForm, f as InviteForm, g as MfaCodeForm, h as ManageMfaForm, i as ChangePasswordForm, k as WithInlineConsentForm, l as EnrollPickMethodForm, m as MagicLinkRequestForm, n as AskPhoneForm, o as EmailIdentifierForm, p as LoginCredentialsForm, r as AuthorizeConsentForm, s as EnrollAddressForm, t as AskEmailForm, u as EnrollTotpQrForm, v as PincodeForm, w as Select2faForm, x as RecoveryFactorForm, y as ProveControlForm } from "../forms-DDn6m5rP.mjs";
|
|
2
|
+
export { AskEmailForm, AskPhoneForm, AuthorizeConsentForm, ChangePasswordForm, ConcurrencyLimitForm, EmailIdentifierForm, EnrollAddressForm, EnrollConfirmForm, EnrollPickMethodForm, EnrollTotpQrForm, InviteChooseUsernameForm, InviteForm, LoginCredentialsForm, MagicLinkRequestForm, ManageMfaForm, MfaCodeForm, PasswordReauthForm, PincodeForm, ProveControlForm, ProveControlOtpForm, RecoveryFactorForm, RecoveryModeSelectForm, RemoveMfaConfirmForm, Select2faForm, SetPasswordForm, SignupForm, StepUpConfirmForm, TermsBumpForm, WithInlineConsentForm };
|