@aooth/auth-moost 0.1.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.
@@ -0,0 +1,357 @@
1
+ // prettier-ignore-start
2
+ /* eslint-disable */
3
+ /* oxlint-disable */
4
+ /// <reference path="./forms.as" />
5
+ /**
6
+ * 🪄 This file was generated by Atscript
7
+ * Do not edit this file!
8
+ */
9
+
10
+ import type { TAtscriptTypeObject, TAtscriptTypeComplex, TAtscriptTypeFinal, TAtscriptTypeArray, TAtscriptAnnotatedType, TMetadataMap, Validator, TValidatorOptions } from "@atscript/typescript/utils"
11
+
12
+ /**
13
+ * Atscript interface **LoginCredentialsForm**
14
+ * @see {@link ./forms.as:6:18}
15
+ */
16
+ export declare class LoginCredentialsForm {
17
+ username: string
18
+ password: string
19
+ static __is_atscript_annotated_type: true
20
+ static type: TAtscriptTypeObject<keyof LoginCredentialsForm, LoginCredentialsForm>
21
+ static metadata: TMetadataMap<AtscriptMetadata>
22
+ static validator: (opts?: Partial<TValidatorOptions>) => Validator<typeof LoginCredentialsForm>
23
+ /** @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. */
24
+ static toJsonSchema: () => any
25
+ /** @deprecated Example Data support is disabled. To enable, set `exampleData: true` in tsPlugin options. */
26
+ static toExampleData?: () => any
27
+ }
28
+
29
+ /**
30
+ * Atscript interface **MfaCodeForm**
31
+ * @see {@link ./forms.as:26:18}
32
+ */
33
+ export declare class MfaCodeForm {
34
+ code: string
35
+ static __is_atscript_annotated_type: true
36
+ static type: TAtscriptTypeObject<keyof MfaCodeForm, MfaCodeForm>
37
+ static metadata: TMetadataMap<AtscriptMetadata>
38
+ static validator: (opts?: Partial<TValidatorOptions>) => Validator<typeof MfaCodeForm>
39
+ /** @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. */
40
+ static toJsonSchema: () => any
41
+ /** @deprecated Example Data support is disabled. To enable, set `exampleData: true` in tsPlugin options. */
42
+ static toExampleData?: () => any
43
+ }
44
+
45
+ /**
46
+ * Atscript interface **BackupCodeForm**
47
+ * @see {@link ./forms.as:45:18}
48
+ */
49
+ export declare class BackupCodeForm {
50
+ code: string
51
+ static __is_atscript_annotated_type: true
52
+ static type: TAtscriptTypeObject<keyof BackupCodeForm, BackupCodeForm>
53
+ static metadata: TMetadataMap<AtscriptMetadata>
54
+ static validator: (opts?: Partial<TValidatorOptions>) => Validator<typeof BackupCodeForm>
55
+ /** @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. */
56
+ static toJsonSchema: () => any
57
+ /** @deprecated Example Data support is disabled. To enable, set `exampleData: true` in tsPlugin options. */
58
+ static toExampleData?: () => any
59
+ }
60
+
61
+ /**
62
+ * Atscript interface **EmailIdentifierForm**
63
+ * @see {@link ./forms.as:66:18}
64
+ */
65
+ export declare class EmailIdentifierForm {
66
+ email: string /* email */
67
+ static __is_atscript_annotated_type: true
68
+ static type: TAtscriptTypeObject<keyof EmailIdentifierForm, EmailIdentifierForm>
69
+ static metadata: TMetadataMap<AtscriptMetadata>
70
+ static validator: (opts?: Partial<TValidatorOptions>) => Validator<typeof EmailIdentifierForm>
71
+ /** @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. */
72
+ static toJsonSchema: () => any
73
+ /** @deprecated Example Data support is disabled. To enable, set `exampleData: true` in tsPlugin options. */
74
+ static toExampleData?: () => any
75
+ }
76
+
77
+ /**
78
+ * Atscript interface **SetPasswordForm**
79
+ * @see {@link ./forms.as:80:18}
80
+ */
81
+ export declare class SetPasswordForm {
82
+ newPassword: string
83
+ confirmPassword: string
84
+ static __is_atscript_annotated_type: true
85
+ static type: TAtscriptTypeObject<keyof SetPasswordForm, SetPasswordForm>
86
+ static metadata: TMetadataMap<AtscriptMetadata>
87
+ static validator: (opts?: Partial<TValidatorOptions>) => Validator<typeof SetPasswordForm>
88
+ /** @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. */
89
+ static toJsonSchema: () => any
90
+ /** @deprecated Example Data support is disabled. To enable, set `exampleData: true` in tsPlugin options. */
91
+ static toExampleData?: () => any
92
+ }
93
+
94
+ /**
95
+ * Atscript interface **InviteForm**
96
+ * @see {@link ./forms.as:106:18}
97
+ */
98
+ export declare class InviteForm {
99
+ email: string /* email */
100
+ firstName?: string
101
+ lastName?: string
102
+ roles?: string[]
103
+ static __is_atscript_annotated_type: true
104
+ static type: TAtscriptTypeObject<keyof InviteForm, InviteForm>
105
+ static metadata: TMetadataMap<AtscriptMetadata>
106
+ static validator: (opts?: Partial<TValidatorOptions>) => Validator<typeof InviteForm>
107
+ /** @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. */
108
+ static toJsonSchema: () => any
109
+ /** @deprecated Example Data support is disabled. To enable, set `exampleData: true` in tsPlugin options. */
110
+ static toExampleData?: () => any
111
+ }
112
+
113
+ /**
114
+ * Atscript interface **InviteEmailForm**
115
+ * @see {@link ./forms.as:134:18}
116
+ */
117
+ export declare class InviteEmailForm {
118
+ email: string /* email */
119
+ static __is_atscript_annotated_type: true
120
+ static type: TAtscriptTypeObject<keyof InviteEmailForm, InviteEmailForm>
121
+ static metadata: TMetadataMap<AtscriptMetadata>
122
+ static validator: (opts?: Partial<TValidatorOptions>) => Validator<typeof InviteEmailForm>
123
+ /** @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. */
124
+ static toJsonSchema: () => any
125
+ /** @deprecated Example Data support is disabled. To enable, set `exampleData: true` in tsPlugin options. */
126
+ static toExampleData?: () => any
127
+ }
128
+
129
+ /**
130
+ * Atscript interface **InviteSendModeForm**
131
+ * @see {@link ./forms.as:147:18}
132
+ */
133
+ export declare class InviteSendModeForm {
134
+ mode: string
135
+ static __is_atscript_annotated_type: true
136
+ static type: TAtscriptTypeObject<keyof InviteSendModeForm, InviteSendModeForm>
137
+ static metadata: TMetadataMap<AtscriptMetadata>
138
+ static validator: (opts?: Partial<TValidatorOptions>) => Validator<typeof InviteSendModeForm>
139
+ /** @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. */
140
+ static toJsonSchema: () => any
141
+ /** @deprecated Example Data support is disabled. To enable, set `exampleData: true` in tsPlugin options. */
142
+ static toExampleData?: () => any
143
+ }
144
+
145
+ /**
146
+ * Atscript interface **Select2faForm**
147
+ * @see {@link ./forms.as:163:18}
148
+ */
149
+ export declare class Select2faForm {
150
+ methodName: string
151
+ saveAsDefault?: boolean
152
+ static __is_atscript_annotated_type: true
153
+ static type: TAtscriptTypeObject<keyof Select2faForm, Select2faForm>
154
+ static metadata: TMetadataMap<AtscriptMetadata>
155
+ static validator: (opts?: Partial<TValidatorOptions>) => Validator<typeof Select2faForm>
156
+ /** @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. */
157
+ static toJsonSchema: () => any
158
+ /** @deprecated Example Data support is disabled. To enable, set `exampleData: true` in tsPlugin options. */
159
+ static toExampleData?: () => any
160
+ }
161
+
162
+ /**
163
+ * Atscript interface **PincodeForm**
164
+ * @see {@link ./forms.as:179:18}
165
+ */
166
+ export declare class PincodeForm {
167
+ code: string
168
+ rememberDevice?: boolean
169
+ static __is_atscript_annotated_type: true
170
+ static type: TAtscriptTypeObject<keyof PincodeForm, PincodeForm>
171
+ static metadata: TMetadataMap<AtscriptMetadata>
172
+ static validator: (opts?: Partial<TValidatorOptions>) => Validator<typeof PincodeForm>
173
+ /** @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. */
174
+ static toJsonSchema: () => any
175
+ /** @deprecated Example Data support is disabled. To enable, set `exampleData: true` in tsPlugin options. */
176
+ static toExampleData?: () => any
177
+ }
178
+
179
+ /**
180
+ * Atscript interface **AskEmailForm**
181
+ * @see {@link ./forms.as:197:18}
182
+ */
183
+ export declare class AskEmailForm {
184
+ email: string /* email */
185
+ static __is_atscript_annotated_type: true
186
+ static type: TAtscriptTypeObject<keyof AskEmailForm, AskEmailForm>
187
+ static metadata: TMetadataMap<AtscriptMetadata>
188
+ static validator: (opts?: Partial<TValidatorOptions>) => Validator<typeof AskEmailForm>
189
+ /** @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. */
190
+ static toJsonSchema: () => any
191
+ /** @deprecated Example Data support is disabled. To enable, set `exampleData: true` in tsPlugin options. */
192
+ static toExampleData?: () => any
193
+ }
194
+
195
+ /**
196
+ * Atscript interface **AskPhoneForm**
197
+ * @see {@link ./forms.as:209:18}
198
+ */
199
+ export declare class AskPhoneForm {
200
+ phone: string
201
+ static __is_atscript_annotated_type: true
202
+ static type: TAtscriptTypeObject<keyof AskPhoneForm, AskPhoneForm>
203
+ static metadata: TMetadataMap<AtscriptMetadata>
204
+ static validator: (opts?: Partial<TValidatorOptions>) => Validator<typeof AskPhoneForm>
205
+ /** @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. */
206
+ static toJsonSchema: () => any
207
+ /** @deprecated Example Data support is disabled. To enable, set `exampleData: true` in tsPlugin options. */
208
+ static toExampleData?: () => any
209
+ }
210
+
211
+ /**
212
+ * Atscript interface **TermsAcceptForm**
213
+ * @see {@link ./forms.as:220:18}
214
+ */
215
+ export declare class TermsAcceptForm {
216
+ acceptedVersion: string
217
+ accepted: boolean
218
+ static __is_atscript_annotated_type: true
219
+ static type: TAtscriptTypeObject<keyof TermsAcceptForm, TermsAcceptForm>
220
+ static metadata: TMetadataMap<AtscriptMetadata>
221
+ static validator: (opts?: Partial<TValidatorOptions>) => Validator<typeof TermsAcceptForm>
222
+ /** @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. */
223
+ static toJsonSchema: () => any
224
+ /** @deprecated Example Data support is disabled. To enable, set `exampleData: true` in tsPlugin options. */
225
+ static toExampleData?: () => any
226
+ }
227
+
228
+ /**
229
+ * Atscript interface **ProfileCompleteForm**
230
+ * @see {@link ./forms.as:236:18}
231
+ */
232
+ export declare class ProfileCompleteForm {
233
+ firstName?: string
234
+ lastName?: string
235
+ static __is_atscript_annotated_type: true
236
+ static type: TAtscriptTypeObject<keyof ProfileCompleteForm, ProfileCompleteForm>
237
+ static metadata: TMetadataMap<AtscriptMetadata>
238
+ static validator: (opts?: Partial<TValidatorOptions>) => Validator<typeof ProfileCompleteForm>
239
+ /** @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. */
240
+ static toJsonSchema: () => any
241
+ /** @deprecated Example Data support is disabled. To enable, set `exampleData: true` in tsPlugin options. */
242
+ static toExampleData?: () => any
243
+ }
244
+
245
+ /**
246
+ * Atscript interface **ConsentMarketingForm**
247
+ * @see {@link ./forms.as:249:18}
248
+ */
249
+ export declare class ConsentMarketingForm {
250
+ optIn?: boolean
251
+ static __is_atscript_annotated_type: true
252
+ static type: TAtscriptTypeObject<keyof ConsentMarketingForm, ConsentMarketingForm>
253
+ static metadata: TMetadataMap<AtscriptMetadata>
254
+ static validator: (opts?: Partial<TValidatorOptions>) => Validator<typeof ConsentMarketingForm>
255
+ /** @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. */
256
+ static toJsonSchema: () => any
257
+ /** @deprecated Example Data support is disabled. To enable, set `exampleData: true` in tsPlugin options. */
258
+ static toExampleData?: () => any
259
+ }
260
+
261
+ /**
262
+ * Atscript interface **TenantSelectForm**
263
+ * @see {@link ./forms.as:258:18}
264
+ */
265
+ export declare class TenantSelectForm {
266
+ tenantId: string
267
+ static __is_atscript_annotated_type: true
268
+ static type: TAtscriptTypeObject<keyof TenantSelectForm, TenantSelectForm>
269
+ static metadata: TMetadataMap<AtscriptMetadata>
270
+ static validator: (opts?: Partial<TValidatorOptions>) => Validator<typeof TenantSelectForm>
271
+ /** @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. */
272
+ static toJsonSchema: () => any
273
+ /** @deprecated Example Data support is disabled. To enable, set `exampleData: true` in tsPlugin options. */
274
+ static toExampleData?: () => any
275
+ }
276
+
277
+ /**
278
+ * Atscript interface **PersonaSelectForm**
279
+ * @see {@link ./forms.as:268:18}
280
+ */
281
+ export declare class PersonaSelectForm {
282
+ personaId: string
283
+ static __is_atscript_annotated_type: true
284
+ static type: TAtscriptTypeObject<keyof PersonaSelectForm, PersonaSelectForm>
285
+ static metadata: TMetadataMap<AtscriptMetadata>
286
+ static validator: (opts?: Partial<TValidatorOptions>) => Validator<typeof PersonaSelectForm>
287
+ /** @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. */
288
+ static toJsonSchema: () => any
289
+ /** @deprecated Example Data support is disabled. To enable, set `exampleData: true` in tsPlugin options. */
290
+ static toExampleData?: () => any
291
+ }
292
+
293
+ /**
294
+ * Atscript interface **ConcurrencyLimitForm**
295
+ * @see {@link ./forms.as:279:18}
296
+ */
297
+ export declare class ConcurrencyLimitForm {
298
+ action: string
299
+ static __is_atscript_annotated_type: true
300
+ static type: TAtscriptTypeObject<keyof ConcurrencyLimitForm, ConcurrencyLimitForm>
301
+ static metadata: TMetadataMap<AtscriptMetadata>
302
+ static validator: (opts?: Partial<TValidatorOptions>) => Validator<typeof ConcurrencyLimitForm>
303
+ /** @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. */
304
+ static toJsonSchema: () => any
305
+ /** @deprecated Example Data support is disabled. To enable, set `exampleData: true` in tsPlugin options. */
306
+ static toExampleData?: () => any
307
+ }
308
+
309
+ /**
310
+ * Atscript interface **MagicLinkRequestForm**
311
+ * @see {@link ./forms.as:292:18}
312
+ */
313
+ export declare class MagicLinkRequestForm {
314
+ identifier: string
315
+ static __is_atscript_annotated_type: true
316
+ static type: TAtscriptTypeObject<keyof MagicLinkRequestForm, MagicLinkRequestForm>
317
+ static metadata: TMetadataMap<AtscriptMetadata>
318
+ static validator: (opts?: Partial<TValidatorOptions>) => Validator<typeof MagicLinkRequestForm>
319
+ /** @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. */
320
+ static toJsonSchema: () => any
321
+ /** @deprecated Example Data support is disabled. To enable, set `exampleData: true` in tsPlugin options. */
322
+ static toExampleData?: () => any
323
+ }
324
+
325
+ /**
326
+ * Atscript interface **RecoveryModeSelectForm**
327
+ * @see {@link ./forms.as:304:18}
328
+ */
329
+ export declare class RecoveryModeSelectForm {
330
+ mode: string
331
+ static __is_atscript_annotated_type: true
332
+ static type: TAtscriptTypeObject<keyof RecoveryModeSelectForm, RecoveryModeSelectForm>
333
+ static metadata: TMetadataMap<AtscriptMetadata>
334
+ static validator: (opts?: Partial<TValidatorOptions>) => Validator<typeof RecoveryModeSelectForm>
335
+ /** @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. */
336
+ static toJsonSchema: () => any
337
+ /** @deprecated Example Data support is disabled. To enable, set `exampleData: true` in tsPlugin options. */
338
+ static toExampleData?: () => any
339
+ }
340
+
341
+ /**
342
+ * Atscript interface **RecoveryFactorForm**
343
+ * @see {@link ./forms.as:318:18}
344
+ */
345
+ export declare class RecoveryFactorForm {
346
+ factor: string
347
+ value: string
348
+ static __is_atscript_annotated_type: true
349
+ static type: TAtscriptTypeObject<keyof RecoveryFactorForm, RecoveryFactorForm>
350
+ static metadata: TMetadataMap<AtscriptMetadata>
351
+ static validator: (opts?: Partial<TValidatorOptions>) => Validator<typeof RecoveryFactorForm>
352
+ /** @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. */
353
+ static toJsonSchema: () => any
354
+ /** @deprecated Example Data support is disabled. To enable, set `exampleData: true` in tsPlugin options. */
355
+ static toExampleData?: () => any
356
+ }
357
+ // prettier-ignore-end