@aooth/auth-moost 0.1.7 → 0.1.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.
@@ -27,13 +27,14 @@ export declare class WithInlineConsentForm {
27
27
 
28
28
  /**
29
29
  * Atscript interface **LoginCredentialsForm**
30
- * @see {@link ./forms.as:57:18}
30
+ * @see {@link ./forms.as:61:18}
31
31
  */
32
32
  export declare class LoginCredentialsForm {
33
33
  username: string
34
34
  password: string
35
35
  // signup: ui.action
36
36
  // magicLink: ui.action
37
+ ssoProvider?: string
37
38
  static __is_atscript_annotated_type: true
38
39
  static type: TAtscriptTypeObject<keyof LoginCredentialsForm, LoginCredentialsForm>
39
40
  static metadata: TMetadataMap<AtscriptMetadata>
@@ -46,13 +47,13 @@ export declare class LoginCredentialsForm {
46
47
 
47
48
  /**
48
49
  * Atscript interface **MfaCodeForm**
49
- * @see {@link ./forms.as:102:18}
50
+ * @see {@link ./forms.as:136:18}
50
51
  */
51
52
  export declare class MfaCodeForm {
52
53
  // transportHint: ui.paragraph
53
54
  code: string
54
55
  // useDifferentMethod: ui.action
55
- // useBackupCode: ui.action
56
+ rememberDevice: boolean
56
57
  static __is_atscript_annotated_type: true
57
58
  static type: TAtscriptTypeObject<keyof MfaCodeForm, MfaCodeForm>
58
59
  static metadata: TMetadataMap<AtscriptMetadata>
@@ -64,15 +65,16 @@ export declare class MfaCodeForm {
64
65
  }
65
66
 
66
67
  /**
67
- * Atscript interface **BackupCodeForm**
68
- * @see {@link ./forms.as:132:18}
68
+ * Atscript interface **EmailIdentifierForm**
69
+ * @see {@link ./forms.as:173:18}
69
70
  */
70
- export declare class BackupCodeForm {
71
- code: string
71
+ export declare class EmailIdentifierForm {
72
+ email: string /* email */
73
+ // backToLogin: ui.action
72
74
  static __is_atscript_annotated_type: true
73
- static type: TAtscriptTypeObject<keyof BackupCodeForm, BackupCodeForm>
75
+ static type: TAtscriptTypeObject<keyof EmailIdentifierForm, EmailIdentifierForm>
74
76
  static metadata: TMetadataMap<AtscriptMetadata>
75
- static validator: (opts?: Partial<TValidatorOptions>) => Validator<typeof BackupCodeForm>
77
+ static validator: (opts?: Partial<TValidatorOptions>) => Validator<typeof EmailIdentifierForm>
76
78
  /** @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. */
77
79
  static toJsonSchema: () => any
78
80
  /** @deprecated Example Data support is disabled. To enable, set `exampleData: true` in tsPlugin options. */
@@ -80,16 +82,16 @@ export declare class BackupCodeForm {
80
82
  }
81
83
 
82
84
  /**
83
- * Atscript interface **EmailIdentifierForm**
84
- * @see {@link ./forms.as:153:18}
85
+ * Atscript interface **SignupForm**
86
+ * @see {@link ./forms.as:205:18}
85
87
  */
86
- export declare class EmailIdentifierForm {
88
+ export declare class SignupForm {
87
89
  email: string /* email */
88
90
  // backToLogin: ui.action
89
91
  static __is_atscript_annotated_type: true
90
- static type: TAtscriptTypeObject<keyof EmailIdentifierForm, EmailIdentifierForm>
92
+ static type: TAtscriptTypeObject<keyof SignupForm, SignupForm>
91
93
  static metadata: TMetadataMap<AtscriptMetadata>
92
- static validator: (opts?: Partial<TValidatorOptions>) => Validator<typeof EmailIdentifierForm>
94
+ static validator: (opts?: Partial<TValidatorOptions>) => Validator<typeof SignupForm>
93
95
  /** @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. */
94
96
  static toJsonSchema: () => any
95
97
  /** @deprecated Example Data support is disabled. To enable, set `exampleData: true` in tsPlugin options. */
@@ -98,15 +100,13 @@ export declare class EmailIdentifierForm {
98
100
 
99
101
  /**
100
102
  * Atscript interface **SetPasswordForm**
101
- * @see {@link ./forms.as:196:18}
103
+ * @see {@link ./forms.as:263:18}
102
104
  */
103
105
  export declare class SetPasswordForm extends WithInlineConsentForm {
106
+ // intro: ui.paragraph
104
107
  newPassword: string
105
108
  confirmPassword: string
106
109
  // passwordRules: ui.paragraph
107
- // logout: ui.action
108
- // cancel: ui.action
109
- // backToLogin: ui.action
110
110
  static __is_atscript_annotated_type: true
111
111
  static type: TAtscriptTypeObject<keyof SetPasswordForm, SetPasswordForm>
112
112
  static metadata: TMetadataMap<AtscriptMetadata>
@@ -119,14 +119,11 @@ export declare class SetPasswordForm extends WithInlineConsentForm {
119
119
 
120
120
  /**
121
121
  * Atscript interface **InviteForm**
122
- * @see {@link ./forms.as:259:18}
122
+ * @see {@link ./forms.as:341:18}
123
123
  */
124
124
  export declare class InviteForm {
125
125
  email: string /* email */
126
- firstName?: string
127
- lastName?: string
128
- roles?: string[]
129
- // cancel: ui.action
126
+ roles: string[]
130
127
  static __is_atscript_annotated_type: true
131
128
  static type: TAtscriptTypeObject<keyof InviteForm, InviteForm>
132
129
  static metadata: TMetadataMap<AtscriptMetadata>
@@ -137,48 +134,14 @@ export declare class InviteForm {
137
134
  static toExampleData?: () => any
138
135
  }
139
136
 
140
- /**
141
- * Atscript interface **InviteEmailForm**
142
- * @see {@link ./forms.as:290:18}
143
- */
144
- export declare class InviteEmailForm {
145
- email: string /* email */
146
- // cancel: ui.action
147
- static __is_atscript_annotated_type: true
148
- static type: TAtscriptTypeObject<keyof InviteEmailForm, InviteEmailForm>
149
- static metadata: TMetadataMap<AtscriptMetadata>
150
- static validator: (opts?: Partial<TValidatorOptions>) => Validator<typeof InviteEmailForm>
151
- /** @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. */
152
- static toJsonSchema: () => any
153
- /** @deprecated Example Data support is disabled. To enable, set `exampleData: true` in tsPlugin options. */
154
- static toExampleData?: () => any
155
- }
156
-
157
- /**
158
- * Atscript interface **InviteSendModeForm**
159
- * @see {@link ./forms.as:306:18}
160
- */
161
- export declare class InviteSendModeForm {
162
- mode: string
163
- // cancel: ui.action
164
- static __is_atscript_annotated_type: true
165
- static type: TAtscriptTypeObject<keyof InviteSendModeForm, InviteSendModeForm>
166
- static metadata: TMetadataMap<AtscriptMetadata>
167
- static validator: (opts?: Partial<TValidatorOptions>) => Validator<typeof InviteSendModeForm>
168
- /** @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. */
169
- static toJsonSchema: () => any
170
- /** @deprecated Example Data support is disabled. To enable, set `exampleData: true` in tsPlugin options. */
171
- static toExampleData?: () => any
172
- }
173
-
174
137
  /**
175
138
  * Atscript interface **Select2faForm**
176
- * @see {@link ./forms.as:330:18}
139
+ * @see {@link ./forms.as:371:18}
177
140
  */
178
141
  export declare class Select2faForm {
179
142
  methodName: string
180
143
  saveAsDefault: boolean
181
- // useBackupCode: ui.action
144
+ rememberDevice: boolean
182
145
  static __is_atscript_annotated_type: true
183
146
  static type: TAtscriptTypeObject<keyof Select2faForm, Select2faForm>
184
147
  static metadata: TMetadataMap<AtscriptMetadata>
@@ -191,7 +154,7 @@ export declare class Select2faForm {
191
154
 
192
155
  /**
193
156
  * Atscript interface **PincodeForm**
194
- * @see {@link ./forms.as:365:18}
157
+ * @see {@link ./forms.as:417:18}
195
158
  */
196
159
  export declare class PincodeForm {
197
160
  // transportHint: ui.paragraph
@@ -199,8 +162,6 @@ export declare class PincodeForm {
199
162
  rememberDevice: boolean
200
163
  // resend: ui.action
201
164
  // useDifferentMethod: ui.action
202
- // useBackupCode: ui.action
203
- // backToLogin: ui.action
204
165
  // useDifferentTransport: ui.action
205
166
  static __is_atscript_annotated_type: true
206
167
  static type: TAtscriptTypeObject<keyof PincodeForm, PincodeForm>
@@ -214,9 +175,10 @@ export declare class PincodeForm {
214
175
 
215
176
  /**
216
177
  * Atscript interface **AskEmailForm**
217
- * @see {@link ./forms.as:409:18}
178
+ * @see {@link ./forms.as:456:18}
218
179
  */
219
180
  export declare class AskEmailForm extends WithInlineConsentForm {
181
+ // disclosure: ui.paragraph
220
182
  email: string /* email */
221
183
  static __is_atscript_annotated_type: true
222
184
  static type: TAtscriptTypeObject<keyof AskEmailForm, AskEmailForm>
@@ -230,9 +192,10 @@ export declare class AskEmailForm extends WithInlineConsentForm {
230
192
 
231
193
  /**
232
194
  * Atscript interface **AskPhoneForm**
233
- * @see {@link ./forms.as:425:18}
195
+ * @see {@link ./forms.as:486:18}
234
196
  */
235
197
  export declare class AskPhoneForm extends WithInlineConsentForm {
198
+ // disclosure: ui.paragraph
236
199
  phone: string
237
200
  static __is_atscript_annotated_type: true
238
201
  static type: TAtscriptTypeObject<keyof AskPhoneForm, AskPhoneForm>
@@ -246,7 +209,7 @@ export declare class AskPhoneForm extends WithInlineConsentForm {
246
209
 
247
210
  /**
248
211
  * Atscript interface **EnrollPickMethodForm**
249
- * @see {@link ./forms.as:441:18}
212
+ * @see {@link ./forms.as:509:18}
250
213
  */
251
214
  export declare class EnrollPickMethodForm {
252
215
  method: string
@@ -263,7 +226,7 @@ export declare class EnrollPickMethodForm {
263
226
 
264
227
  /**
265
228
  * Atscript interface **EnrollAddressForm**
266
- * @see {@link ./forms.as:464:18}
229
+ * @see {@link ./forms.as:533:18}
267
230
  */
268
231
  export declare class EnrollAddressForm {
269
232
  address: string
@@ -281,10 +244,11 @@ export declare class EnrollAddressForm {
281
244
 
282
245
  /**
283
246
  * Atscript interface **EnrollConfirmForm**
284
- * @see {@link ./forms.as:492:18}
247
+ * @see {@link ./forms.as:568:18}
285
248
  */
286
249
  export declare class EnrollConfirmForm {
287
250
  // transportHint: ui.paragraph
251
+ // qrCode: ui.paragraph
288
252
  code: string
289
253
  // resend: ui.action
290
254
  // useDifferentMethod: ui.action
@@ -300,16 +264,14 @@ export declare class EnrollConfirmForm {
300
264
  }
301
265
 
302
266
  /**
303
- * Atscript interface **ProfileCompleteForm**
304
- * @see {@link ./forms.as:524:18}
267
+ * Atscript interface **TermsBumpForm**
268
+ * @see {@link ./forms.as:622:18}
305
269
  */
306
- export declare class ProfileCompleteForm extends WithInlineConsentForm {
307
- firstName?: string
308
- lastName?: string
270
+ export declare class TermsBumpForm extends WithInlineConsentForm {
309
271
  static __is_atscript_annotated_type: true
310
- static type: TAtscriptTypeObject<keyof ProfileCompleteForm, ProfileCompleteForm>
272
+ static type: TAtscriptTypeObject<keyof TermsBumpForm, TermsBumpForm>
311
273
  static metadata: TMetadataMap<AtscriptMetadata>
312
- static validator: (opts?: Partial<TValidatorOptions>) => Validator<typeof ProfileCompleteForm>
274
+ static validator: (opts?: Partial<TValidatorOptions>) => Validator<typeof TermsBumpForm>
313
275
  /** @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. */
314
276
  static toJsonSchema: () => any
315
277
  /** @deprecated Example Data support is disabled. To enable, set `exampleData: true` in tsPlugin options. */
@@ -317,14 +279,14 @@ export declare class ProfileCompleteForm extends WithInlineConsentForm {
317
279
  }
318
280
 
319
281
  /**
320
- * Atscript interface **TermsBumpForm**
321
- * @see {@link ./forms.as:547:18}
282
+ * Atscript interface **ConcurrencyLimitForm**
283
+ * @see {@link ./forms.as:635:18}
322
284
  */
323
- export declare class TermsBumpForm extends WithInlineConsentForm {
285
+ export declare class ConcurrencyLimitForm {
324
286
  static __is_atscript_annotated_type: true
325
- static type: TAtscriptTypeObject<keyof TermsBumpForm, TermsBumpForm>
287
+ static type: TAtscriptTypeObject<keyof ConcurrencyLimitForm, ConcurrencyLimitForm>
326
288
  static metadata: TMetadataMap<AtscriptMetadata>
327
- static validator: (opts?: Partial<TValidatorOptions>) => Validator<typeof TermsBumpForm>
289
+ static validator: (opts?: Partial<TValidatorOptions>) => Validator<typeof ConcurrencyLimitForm>
328
290
  /** @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. */
329
291
  static toJsonSchema: () => any
330
292
  /** @deprecated Example Data support is disabled. To enable, set `exampleData: true` in tsPlugin options. */
@@ -332,15 +294,15 @@ export declare class TermsBumpForm extends WithInlineConsentForm {
332
294
  }
333
295
 
334
296
  /**
335
- * Atscript interface **TenantSelectForm**
336
- * @see {@link ./forms.as:557:18}
297
+ * Atscript interface **MagicLinkRequestForm**
298
+ * @see {@link ./forms.as:645:18}
337
299
  */
338
- export declare class TenantSelectForm {
339
- tenantId: string
300
+ export declare class MagicLinkRequestForm {
301
+ identifier: string
340
302
  static __is_atscript_annotated_type: true
341
- static type: TAtscriptTypeObject<keyof TenantSelectForm, TenantSelectForm>
303
+ static type: TAtscriptTypeObject<keyof MagicLinkRequestForm, MagicLinkRequestForm>
342
304
  static metadata: TMetadataMap<AtscriptMetadata>
343
- static validator: (opts?: Partial<TValidatorOptions>) => Validator<typeof TenantSelectForm>
305
+ static validator: (opts?: Partial<TValidatorOptions>) => Validator<typeof MagicLinkRequestForm>
344
306
  /** @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. */
345
307
  static toJsonSchema: () => any
346
308
  /** @deprecated Example Data support is disabled. To enable, set `exampleData: true` in tsPlugin options. */
@@ -348,15 +310,15 @@ export declare class TenantSelectForm {
348
310
  }
349
311
 
350
312
  /**
351
- * Atscript interface **PersonaSelectForm**
352
- * @see {@link ./forms.as:572:18}
313
+ * Atscript interface **RecoveryModeSelectForm**
314
+ * @see {@link ./forms.as:660:18}
353
315
  */
354
- export declare class PersonaSelectForm {
355
- personaId: string
316
+ export declare class RecoveryModeSelectForm {
317
+ mode: string
356
318
  static __is_atscript_annotated_type: true
357
- static type: TAtscriptTypeObject<keyof PersonaSelectForm, PersonaSelectForm>
319
+ static type: TAtscriptTypeObject<keyof RecoveryModeSelectForm, RecoveryModeSelectForm>
358
320
  static metadata: TMetadataMap<AtscriptMetadata>
359
- static validator: (opts?: Partial<TValidatorOptions>) => Validator<typeof PersonaSelectForm>
321
+ static validator: (opts?: Partial<TValidatorOptions>) => Validator<typeof RecoveryModeSelectForm>
360
322
  /** @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. */
361
323
  static toJsonSchema: () => any
362
324
  /** @deprecated Example Data support is disabled. To enable, set `exampleData: true` in tsPlugin options. */
@@ -364,17 +326,16 @@ export declare class PersonaSelectForm {
364
326
  }
365
327
 
366
328
  /**
367
- * Atscript interface **ConcurrencyLimitForm**
368
- * @see {@link ./forms.as:584:18}
329
+ * Atscript interface **RecoveryFactorForm**
330
+ * @see {@link ./forms.as:683:18}
369
331
  */
370
- export declare class ConcurrencyLimitForm {
371
- action: string
372
- // cancel: ui.action
373
- // logoutOthers: ui.action
332
+ export declare class RecoveryFactorForm {
333
+ factor: string
334
+ value: string
374
335
  static __is_atscript_annotated_type: true
375
- static type: TAtscriptTypeObject<keyof ConcurrencyLimitForm, ConcurrencyLimitForm>
336
+ static type: TAtscriptTypeObject<keyof RecoveryFactorForm, RecoveryFactorForm>
376
337
  static metadata: TMetadataMap<AtscriptMetadata>
377
- static validator: (opts?: Partial<TValidatorOptions>) => Validator<typeof ConcurrencyLimitForm>
338
+ static validator: (opts?: Partial<TValidatorOptions>) => Validator<typeof RecoveryFactorForm>
378
339
  /** @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. */
379
340
  static toJsonSchema: () => any
380
341
  /** @deprecated Example Data support is disabled. To enable, set `exampleData: true` in tsPlugin options. */
@@ -382,15 +343,19 @@ export declare class ConcurrencyLimitForm {
382
343
  }
383
344
 
384
345
  /**
385
- * Atscript interface **MagicLinkRequestForm**
386
- * @see {@link ./forms.as:603:18}
346
+ * Atscript interface **ChangePasswordForm**
347
+ * @see {@link ./forms.as:717:18}
387
348
  */
388
- export declare class MagicLinkRequestForm {
389
- identifier: string
349
+ export declare class ChangePasswordForm {
350
+ // intro: ui.paragraph
351
+ currentPassword: string
352
+ newPassword: string
353
+ confirmPassword: string
354
+ // passwordRules: ui.paragraph
390
355
  static __is_atscript_annotated_type: true
391
- static type: TAtscriptTypeObject<keyof MagicLinkRequestForm, MagicLinkRequestForm>
356
+ static type: TAtscriptTypeObject<keyof ChangePasswordForm, ChangePasswordForm>
392
357
  static metadata: TMetadataMap<AtscriptMetadata>
393
- static validator: (opts?: Partial<TValidatorOptions>) => Validator<typeof MagicLinkRequestForm>
358
+ static validator: (opts?: Partial<TValidatorOptions>) => Validator<typeof ChangePasswordForm>
394
359
  /** @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. */
395
360
  static toJsonSchema: () => any
396
361
  /** @deprecated Example Data support is disabled. To enable, set `exampleData: true` in tsPlugin options. */
@@ -398,16 +363,17 @@ export declare class MagicLinkRequestForm {
398
363
  }
399
364
 
400
365
  /**
401
- * Atscript interface **RecoveryModeSelectForm**
402
- * @see {@link ./forms.as:615:18}
366
+ * Atscript interface **ProveControlForm**
367
+ * @see {@link ./forms.as:782:18}
403
368
  */
404
- export declare class RecoveryModeSelectForm {
405
- mode: string
406
- // backToLogin: ui.action
369
+ export declare class ProveControlForm {
370
+ // intro: ui.paragraph
371
+ password: string
372
+ // cancel: ui.action
407
373
  static __is_atscript_annotated_type: true
408
- static type: TAtscriptTypeObject<keyof RecoveryModeSelectForm, RecoveryModeSelectForm>
374
+ static type: TAtscriptTypeObject<keyof ProveControlForm, ProveControlForm>
409
375
  static metadata: TMetadataMap<AtscriptMetadata>
410
- static validator: (opts?: Partial<TValidatorOptions>) => Validator<typeof RecoveryModeSelectForm>
376
+ static validator: (opts?: Partial<TValidatorOptions>) => Validator<typeof ProveControlForm>
411
377
  /** @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. */
412
378
  static toJsonSchema: () => any
413
379
  /** @deprecated Example Data support is disabled. To enable, set `exampleData: true` in tsPlugin options. */
@@ -415,17 +381,18 @@ export declare class RecoveryModeSelectForm {
415
381
  }
416
382
 
417
383
  /**
418
- * Atscript interface **RecoveryFactorForm**
419
- * @see {@link ./forms.as:637:18}
384
+ * Atscript interface **ProveControlOtpForm**
385
+ * @see {@link ./forms.as:817:18}
420
386
  */
421
- export declare class RecoveryFactorForm {
422
- factor: string
423
- value: string
424
- // backToLogin: ui.action
387
+ export declare class ProveControlOtpForm {
388
+ // intro: ui.paragraph
389
+ code: string
390
+ // resend: ui.action
391
+ // cancel: ui.action
425
392
  static __is_atscript_annotated_type: true
426
- static type: TAtscriptTypeObject<keyof RecoveryFactorForm, RecoveryFactorForm>
393
+ static type: TAtscriptTypeObject<keyof ProveControlOtpForm, ProveControlOtpForm>
427
394
  static metadata: TMetadataMap<AtscriptMetadata>
428
- static validator: (opts?: Partial<TValidatorOptions>) => Validator<typeof RecoveryFactorForm>
395
+ static validator: (opts?: Partial<TValidatorOptions>) => Validator<typeof ProveControlOtpForm>
429
396
  /** @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. */
430
397
  static toJsonSchema: () => any
431
398
  /** @deprecated Example Data support is disabled. To enable, set `exampleData: true` in tsPlugin options. */