@wix/auto_sdk_identity_authentication 1.0.8 → 1.0.9

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.
Files changed (134) hide show
  1. package/build/cjs/index.d.ts +1 -0
  2. package/build/cjs/index.js +18 -0
  3. package/build/cjs/index.js.map +1 -0
  4. package/build/cjs/index.typings.d.ts +1 -0
  5. package/build/cjs/index.typings.js +18 -0
  6. package/build/cjs/index.typings.js.map +1 -0
  7. package/build/cjs/meta.d.ts +1 -0
  8. package/build/cjs/meta.js +18 -0
  9. package/build/cjs/meta.js.map +1 -0
  10. package/build/cjs/src/iam-authentication-v1-authentication-authentication.context.d.ts +11 -0
  11. package/build/cjs/src/iam-authentication-v1-authentication-authentication.context.js +27 -0
  12. package/build/cjs/src/iam-authentication-v1-authentication-authentication.context.js.map +1 -0
  13. package/build/cjs/src/iam-authentication-v1-authentication-authentication.http.d.ts +27 -0
  14. package/build/cjs/src/iam-authentication-v1-authentication-authentication.http.js +376 -0
  15. package/build/cjs/src/iam-authentication-v1-authentication-authentication.http.js.map +1 -0
  16. package/build/cjs/src/iam-authentication-v1-authentication-authentication.meta.d.ts +21 -0
  17. package/build/cjs/src/iam-authentication-v1-authentication-authentication.meta.js +161 -0
  18. package/build/cjs/src/iam-authentication-v1-authentication-authentication.meta.js.map +1 -0
  19. package/build/cjs/src/iam-authentication-v1-authentication-authentication.public.d.ts +63 -0
  20. package/build/cjs/src/iam-authentication-v1-authentication-authentication.public.js +62 -0
  21. package/build/cjs/src/iam-authentication-v1-authentication-authentication.public.js.map +1 -0
  22. package/build/{iam-authentication-v1-authentication-authentication.universal-ByfoI5Md.d.mts → cjs/src/iam-authentication-v1-authentication-authentication.types.d.ts} +81 -150
  23. package/build/cjs/src/iam-authentication-v1-authentication-authentication.types.js +131 -0
  24. package/build/cjs/src/iam-authentication-v1-authentication-authentication.types.js.map +1 -0
  25. package/build/cjs/src/iam-authentication-v1-authentication-authentication.universal.d.ts +922 -0
  26. package/build/cjs/src/iam-authentication-v1-authentication-authentication.universal.js +468 -0
  27. package/build/cjs/src/iam-authentication-v1-authentication-authentication.universal.js.map +1 -0
  28. package/build/es/index.d.ts +1 -0
  29. package/build/es/index.js +2 -0
  30. package/build/es/index.js.map +1 -0
  31. package/build/es/index.typings.d.ts +1 -0
  32. package/build/es/index.typings.js +2 -0
  33. package/build/es/index.typings.js.map +1 -0
  34. package/build/es/meta.d.ts +1 -0
  35. package/build/es/meta.js +2 -0
  36. package/build/es/meta.js.map +1 -0
  37. package/build/es/package.json +3 -0
  38. package/build/es/src/iam-authentication-v1-authentication-authentication.context.d.ts +11 -0
  39. package/build/es/src/iam-authentication-v1-authentication-authentication.context.js +11 -0
  40. package/build/es/src/iam-authentication-v1-authentication-authentication.context.js.map +1 -0
  41. package/build/es/src/iam-authentication-v1-authentication-authentication.http.d.ts +27 -0
  42. package/build/es/src/iam-authentication-v1-authentication-authentication.http.js +366 -0
  43. package/build/es/src/iam-authentication-v1-authentication-authentication.http.js.map +1 -0
  44. package/build/es/src/iam-authentication-v1-authentication-authentication.meta.d.ts +21 -0
  45. package/build/es/src/iam-authentication-v1-authentication-authentication.meta.js +128 -0
  46. package/build/es/src/iam-authentication-v1-authentication-authentication.meta.js.map +1 -0
  47. package/build/es/src/iam-authentication-v1-authentication-authentication.public.d.ts +63 -0
  48. package/build/es/src/iam-authentication-v1-authentication-authentication.public.js +39 -0
  49. package/build/es/src/iam-authentication-v1-authentication-authentication.public.js.map +1 -0
  50. package/build/{iam-authentication-v1-authentication-authentication.universal-ByfoI5Md.d.ts → es/src/iam-authentication-v1-authentication-authentication.types.d.ts} +81 -150
  51. package/build/es/src/iam-authentication-v1-authentication-authentication.types.js +128 -0
  52. package/build/es/src/iam-authentication-v1-authentication-authentication.types.js.map +1 -0
  53. package/build/es/src/iam-authentication-v1-authentication-authentication.universal.d.ts +922 -0
  54. package/build/es/src/iam-authentication-v1-authentication-authentication.universal.js +435 -0
  55. package/build/es/src/iam-authentication-v1-authentication-authentication.universal.js.map +1 -0
  56. package/build/internal/cjs/index.d.ts +1 -0
  57. package/build/internal/cjs/index.js +18 -0
  58. package/build/internal/cjs/index.js.map +1 -0
  59. package/build/internal/cjs/index.typings.d.ts +1 -0
  60. package/build/internal/cjs/index.typings.js +18 -0
  61. package/build/internal/cjs/index.typings.js.map +1 -0
  62. package/build/internal/cjs/meta.d.ts +1 -0
  63. package/build/internal/cjs/meta.js +18 -0
  64. package/build/internal/cjs/meta.js.map +1 -0
  65. package/build/internal/cjs/src/iam-authentication-v1-authentication-authentication.context.d.ts +11 -0
  66. package/build/internal/cjs/src/iam-authentication-v1-authentication-authentication.context.js +27 -0
  67. package/build/internal/cjs/src/iam-authentication-v1-authentication-authentication.context.js.map +1 -0
  68. package/build/internal/cjs/src/iam-authentication-v1-authentication-authentication.http.d.ts +27 -0
  69. package/build/internal/cjs/src/iam-authentication-v1-authentication-authentication.http.js +376 -0
  70. package/build/internal/cjs/src/iam-authentication-v1-authentication-authentication.http.js.map +1 -0
  71. package/build/internal/cjs/src/iam-authentication-v1-authentication-authentication.meta.d.ts +21 -0
  72. package/build/internal/cjs/src/iam-authentication-v1-authentication-authentication.meta.js +161 -0
  73. package/build/internal/cjs/src/iam-authentication-v1-authentication-authentication.meta.js.map +1 -0
  74. package/build/internal/cjs/src/iam-authentication-v1-authentication-authentication.public.d.ts +63 -0
  75. package/build/internal/cjs/src/iam-authentication-v1-authentication-authentication.public.js +62 -0
  76. package/build/internal/cjs/src/iam-authentication-v1-authentication-authentication.public.js.map +1 -0
  77. package/build/internal/{iam-authentication-v1-authentication-authentication.universal-ByfoI5Md.d.mts → cjs/src/iam-authentication-v1-authentication-authentication.types.d.ts} +81 -150
  78. package/build/internal/cjs/src/iam-authentication-v1-authentication-authentication.types.js +131 -0
  79. package/build/internal/cjs/src/iam-authentication-v1-authentication-authentication.types.js.map +1 -0
  80. package/build/internal/cjs/src/iam-authentication-v1-authentication-authentication.universal.d.ts +922 -0
  81. package/build/internal/cjs/src/iam-authentication-v1-authentication-authentication.universal.js +468 -0
  82. package/build/internal/cjs/src/iam-authentication-v1-authentication-authentication.universal.js.map +1 -0
  83. package/build/internal/es/index.d.ts +1 -0
  84. package/build/internal/es/index.js +2 -0
  85. package/build/internal/es/index.js.map +1 -0
  86. package/build/internal/es/index.typings.d.ts +1 -0
  87. package/build/internal/es/index.typings.js +2 -0
  88. package/build/internal/es/index.typings.js.map +1 -0
  89. package/build/internal/es/meta.d.ts +1 -0
  90. package/build/internal/es/meta.js +2 -0
  91. package/build/internal/es/meta.js.map +1 -0
  92. package/build/internal/es/src/iam-authentication-v1-authentication-authentication.context.d.ts +11 -0
  93. package/build/internal/es/src/iam-authentication-v1-authentication-authentication.context.js +11 -0
  94. package/build/internal/es/src/iam-authentication-v1-authentication-authentication.context.js.map +1 -0
  95. package/build/internal/es/src/iam-authentication-v1-authentication-authentication.http.d.ts +27 -0
  96. package/build/internal/es/src/iam-authentication-v1-authentication-authentication.http.js +366 -0
  97. package/build/internal/es/src/iam-authentication-v1-authentication-authentication.http.js.map +1 -0
  98. package/build/internal/es/src/iam-authentication-v1-authentication-authentication.meta.d.ts +21 -0
  99. package/build/internal/es/src/iam-authentication-v1-authentication-authentication.meta.js +128 -0
  100. package/build/internal/es/src/iam-authentication-v1-authentication-authentication.meta.js.map +1 -0
  101. package/build/internal/es/src/iam-authentication-v1-authentication-authentication.public.d.ts +63 -0
  102. package/build/internal/es/src/iam-authentication-v1-authentication-authentication.public.js +39 -0
  103. package/build/internal/es/src/iam-authentication-v1-authentication-authentication.public.js.map +1 -0
  104. package/build/internal/{iam-authentication-v1-authentication-authentication.universal-ByfoI5Md.d.ts → es/src/iam-authentication-v1-authentication-authentication.types.d.ts} +81 -150
  105. package/build/internal/es/src/iam-authentication-v1-authentication-authentication.types.js +128 -0
  106. package/build/internal/es/src/iam-authentication-v1-authentication-authentication.types.js.map +1 -0
  107. package/build/internal/es/src/iam-authentication-v1-authentication-authentication.universal.d.ts +922 -0
  108. package/build/internal/es/src/iam-authentication-v1-authentication-authentication.universal.js +435 -0
  109. package/build/internal/es/src/iam-authentication-v1-authentication-authentication.universal.js.map +1 -0
  110. package/package.json +11 -12
  111. package/build/index.d.mts +0 -71
  112. package/build/index.d.ts +0 -71
  113. package/build/index.js +0 -859
  114. package/build/index.js.map +0 -1
  115. package/build/index.mjs +0 -816
  116. package/build/index.mjs.map +0 -1
  117. package/build/internal/index.d.mts +0 -71
  118. package/build/internal/index.d.ts +0 -71
  119. package/build/internal/index.js +0 -859
  120. package/build/internal/index.js.map +0 -1
  121. package/build/internal/index.mjs +0 -816
  122. package/build/internal/index.mjs.map +0 -1
  123. package/build/internal/meta.d.mts +0 -600
  124. package/build/internal/meta.d.ts +0 -600
  125. package/build/internal/meta.js +0 -518
  126. package/build/internal/meta.js.map +0 -1
  127. package/build/internal/meta.mjs +0 -485
  128. package/build/internal/meta.mjs.map +0 -1
  129. package/build/meta.d.mts +0 -600
  130. package/build/meta.d.ts +0 -600
  131. package/build/meta.js +0 -518
  132. package/build/meta.js.map +0 -1
  133. package/build/meta.mjs +0 -485
  134. package/build/meta.mjs.map +0 -1
@@ -1,6 +1,6 @@
1
- interface Authentication {
1
+ export interface Authentication {
2
2
  }
3
- interface RegisterV2Request {
3
+ export interface RegisterV2Request {
4
4
  /** Identifier of the registering member. */
5
5
  loginId: LoginId;
6
6
  /** Password of the registering member. */
@@ -12,7 +12,7 @@ interface RegisterV2Request {
12
12
  /** Additional data that's relevant for the flow. */
13
13
  clientMetaData?: Record<string, any> | null;
14
14
  }
15
- interface LoginId extends LoginIdTypeOneOf {
15
+ export interface LoginId extends LoginIdTypeOneOf {
16
16
  /**
17
17
  * Login email address.
18
18
  * @format EMAIL
@@ -20,14 +20,14 @@ interface LoginId extends LoginIdTypeOneOf {
20
20
  email?: string;
21
21
  }
22
22
  /** @oneof */
23
- interface LoginIdTypeOneOf {
23
+ export interface LoginIdTypeOneOf {
24
24
  /**
25
25
  * Login email address.
26
26
  * @format EMAIL
27
27
  */
28
28
  email?: string;
29
29
  }
30
- interface IdentityProfile {
30
+ export interface IdentityProfile {
31
31
  /** Profile first name. */
32
32
  firstName?: string | null;
33
33
  /** Profile last name. */
@@ -94,7 +94,7 @@ interface IdentityProfile {
94
94
  */
95
95
  slug?: string | null;
96
96
  }
97
- declare enum PrivacyStatus {
97
+ export declare enum PrivacyStatus {
98
98
  /** No defined privacy status. */
99
99
  UNDEFINED = "UNDEFINED",
100
100
  /** Profile details, such as profile name and profile picture, are visible to other members. */
@@ -102,7 +102,7 @@ declare enum PrivacyStatus {
102
102
  /** Profile details aren't visible to other members. */
103
103
  PRIVATE = "PRIVATE"
104
104
  }
105
- interface CustomField {
105
+ export interface CustomField {
106
106
  /**
107
107
  * Custom field name. The name must match one of the key properties of the objects returned by
108
108
  * [`List Extended Fields`](https://dev.wix.com/docs/rest/api-reference/contacts/extended-fields/list-extended-fields)
@@ -112,7 +112,7 @@ interface CustomField {
112
112
  /** Custom field value. */
113
113
  value?: V1CustomValue;
114
114
  }
115
- interface V1CustomValue extends V1CustomValueValueOneOf {
115
+ export interface V1CustomValue extends V1CustomValueValueOneOf {
116
116
  /** String value. */
117
117
  strValue?: string;
118
118
  /** Number value. */
@@ -125,7 +125,7 @@ interface V1CustomValue extends V1CustomValueValueOneOf {
125
125
  mapValue?: V1MapValue;
126
126
  }
127
127
  /** @oneof */
128
- interface V1CustomValueValueOneOf {
128
+ export interface V1CustomValueValueOneOf {
129
129
  /** String value. */
130
130
  strValue?: string;
131
131
  /** Number value. */
@@ -137,15 +137,15 @@ interface V1CustomValueValueOneOf {
137
137
  /** Map of values. */
138
138
  mapValue?: V1MapValue;
139
139
  }
140
- interface V1ListValue {
140
+ export interface V1ListValue {
141
141
  /** Custom value. */
142
142
  value?: V1CustomValue[];
143
143
  }
144
- interface V1MapValue {
144
+ export interface V1MapValue {
145
145
  /** Mapped custom value. */
146
146
  value?: Record<string, V1CustomValue>;
147
147
  }
148
- interface SecondaryEmail {
148
+ export interface SecondaryEmail {
149
149
  /**
150
150
  * Email address.
151
151
  * @format EMAIL
@@ -154,13 +154,13 @@ interface SecondaryEmail {
154
154
  /** Email tag. */
155
155
  tag?: EmailTag;
156
156
  }
157
- declare enum EmailTag {
157
+ export declare enum EmailTag {
158
158
  UNTAGGED = "UNTAGGED",
159
159
  MAIN = "MAIN",
160
160
  HOME = "HOME",
161
161
  WORK = "WORK"
162
162
  }
163
- interface Phone {
163
+ export interface Phone {
164
164
  /**
165
165
  * Phone country code.
166
166
  * @format COUNTRY
@@ -174,7 +174,7 @@ interface Phone {
174
174
  /** Phone tag. */
175
175
  tag?: PhoneTag;
176
176
  }
177
- declare enum PhoneTag {
177
+ export declare enum PhoneTag {
178
178
  UNTAGGED = "UNTAGGED",
179
179
  MAIN = "MAIN",
180
180
  HOME = "HOME",
@@ -182,14 +182,14 @@ declare enum PhoneTag {
182
182
  WORK = "WORK",
183
183
  FAX = "FAX"
184
184
  }
185
- interface AddressWrapper {
185
+ export interface AddressWrapper {
186
186
  /** Address. */
187
187
  address?: Address;
188
188
  /** Address tag. */
189
189
  tag?: AddressTag;
190
190
  }
191
191
  /** Physical address */
192
- interface Address {
192
+ export interface Address {
193
193
  /**
194
194
  * Country code.
195
195
  * @format COUNTRY
@@ -202,18 +202,18 @@ interface Address {
202
202
  /** Zip/postal code. */
203
203
  postalCode?: string | null;
204
204
  /** Main address line, usually street and number as free text. */
205
- addressLine1?: string | null;
205
+ addressLine?: string | null;
206
206
  /** Free text providing more detailed address info. Usually contains apartment, suite, and floor. */
207
207
  addressLine2?: string | null;
208
208
  }
209
- declare enum AddressTag {
209
+ export declare enum AddressTag {
210
210
  UNTAGGED = "UNTAGGED",
211
211
  HOME = "HOME",
212
212
  WORK = "WORK",
213
213
  BILLING = "BILLING",
214
214
  SHIPPING = "SHIPPING"
215
215
  }
216
- interface CaptchaToken extends CaptchaTokenTokenOneOf {
216
+ export interface CaptchaToken extends CaptchaTokenTokenOneOf {
217
217
  /** @maxLength 5000 */
218
218
  Recaptcha?: string;
219
219
  /** @maxLength 5000 */
@@ -222,7 +222,7 @@ interface CaptchaToken extends CaptchaTokenTokenOneOf {
222
222
  NoCaptcha?: string;
223
223
  }
224
224
  /** @oneof */
225
- interface CaptchaTokenTokenOneOf {
225
+ export interface CaptchaTokenTokenOneOf {
226
226
  /** @maxLength 5000 */
227
227
  Recaptcha?: string;
228
228
  /** @maxLength 5000 */
@@ -230,7 +230,7 @@ interface CaptchaTokenTokenOneOf {
230
230
  /** @maxLength 5000 */
231
231
  NoCaptcha?: string;
232
232
  }
233
- interface StateMachineResponse extends StateMachineResponseStateDataOneOf {
233
+ export interface StateMachineResponse extends StateMachineResponseStateDataOneOf {
234
234
  /** Current state of the login or registration process. */
235
235
  state?: StateType;
236
236
  /** Session token. If `state` is not `SUCCESS`, this field is undefined. */
@@ -243,9 +243,9 @@ interface StateMachineResponse extends StateMachineResponseStateDataOneOf {
243
243
  additionalData?: Record<string, CustomValue>;
244
244
  }
245
245
  /** @oneof */
246
- interface StateMachineResponseStateDataOneOf {
246
+ export interface StateMachineResponseStateDataOneOf {
247
247
  }
248
- declare enum StateType {
248
+ export declare enum StateType {
249
249
  /** Initial unknown state. */
250
250
  UNKNOWN_STATE = "UNKNOWN_STATE",
251
251
  /** Login completed successfully. */
@@ -257,12 +257,12 @@ declare enum StateType {
257
257
  /** Indicates that the `status` is not one that prevents the member logging in, meaning it's not `OFFLINE`, `BLOCKED`, or `DELETED`. */
258
258
  STATUS_CHECK = "STATUS_CHECK"
259
259
  }
260
- interface Identity {
260
+ export interface Identity {
261
261
  /**
262
262
  * Identity ID.
263
263
  * @format GUID
264
264
  */
265
- _id?: string | null;
265
+ id?: string | null;
266
266
  /**
267
267
  * Revision number, which increments by 1 each time the identity is updated.
268
268
  * To prevent conflicting changes,
@@ -275,12 +275,12 @@ interface Identity {
275
275
  * Date and time the identity was created.
276
276
  * @readonly
277
277
  */
278
- _createdDate?: Date | null;
278
+ createdDate?: Date | null;
279
279
  /**
280
280
  * Date and time the identity was updated.
281
281
  * @readonly
282
282
  */
283
- _updatedDate?: Date | null;
283
+ updatedDate?: Date | null;
284
284
  /** The identity configured connections to authenticate with. */
285
285
  connections?: Connection[];
286
286
  /** Identity profile. */
@@ -303,20 +303,20 @@ interface Identity {
303
303
  */
304
304
  factors?: Factor[];
305
305
  }
306
- interface Connection extends ConnectionTypeOneOf {
306
+ export interface Connection extends ConnectionTypeOneOf {
307
307
  /** IDP connection. */
308
308
  idpConnection?: IdpConnection;
309
309
  /** Authenticator connection. */
310
310
  authenticatorConnection?: AuthenticatorConnection;
311
311
  }
312
312
  /** @oneof */
313
- interface ConnectionTypeOneOf {
313
+ export interface ConnectionTypeOneOf {
314
314
  /** IDP connection. */
315
315
  idpConnection?: IdpConnection;
316
316
  /** Authenticator connection. */
317
317
  authenticatorConnection?: AuthenticatorConnection;
318
318
  }
319
- interface IdpConnection {
319
+ export interface IdpConnection {
320
320
  /**
321
321
  * IDP connection ID.
322
322
  * @format GUID
@@ -325,7 +325,7 @@ interface IdpConnection {
325
325
  /** IDP user ID. */
326
326
  idpUserId?: string;
327
327
  }
328
- interface AuthenticatorConnection {
328
+ export interface AuthenticatorConnection {
329
329
  /**
330
330
  * Authenticator connection ID.
331
331
  * @format GUID
@@ -334,14 +334,14 @@ interface AuthenticatorConnection {
334
334
  /** Whether re-enrollment is required. */
335
335
  reEnrollmentRequired?: boolean;
336
336
  }
337
- interface Metadata {
337
+ export interface Metadata {
338
338
  /**
339
339
  * General tags. For example, `"isOwner"`.
340
340
  * @readonly
341
341
  */
342
342
  tags?: string[];
343
343
  }
344
- interface Email {
344
+ export interface Email {
345
345
  /**
346
346
  * Email address.
347
347
  * @format EMAIL
@@ -350,11 +350,11 @@ interface Email {
350
350
  /** Whether the email address is verified. */
351
351
  isVerified?: boolean;
352
352
  }
353
- interface StatusV2 {
353
+ export interface StatusV2 {
354
354
  name?: StatusName;
355
355
  reasons?: Reason[];
356
356
  }
357
- declare enum StatusName {
357
+ export declare enum StatusName {
358
358
  UNKNOWN_STATUS = "UNKNOWN_STATUS",
359
359
  PENDING = "PENDING",
360
360
  ACTIVE = "ACTIVE",
@@ -362,12 +362,12 @@ declare enum StatusName {
362
362
  BLOCKED = "BLOCKED",
363
363
  OFFLINE = "OFFLINE"
364
364
  }
365
- declare enum Reason {
365
+ export declare enum Reason {
366
366
  UNKNOWN_REASON = "UNKNOWN_REASON",
367
367
  PENDING_ADMIN_APPROVAL_REQUIRED = "PENDING_ADMIN_APPROVAL_REQUIRED",
368
368
  PENDING_EMAIL_VERIFICATION_REQUIRED = "PENDING_EMAIL_VERIFICATION_REQUIRED"
369
369
  }
370
- interface Factor {
370
+ export interface Factor {
371
371
  /**
372
372
  * Factor ID.
373
373
  * @format GUID
@@ -378,7 +378,7 @@ interface Factor {
378
378
  /** Factor status. */
379
379
  status?: Status;
380
380
  }
381
- declare enum FactorType {
381
+ export declare enum FactorType {
382
382
  /** Unknown factor type. */
383
383
  UNKNOWN_FACTOR_TYPE = "UNKNOWN_FACTOR_TYPE",
384
384
  /** Requires a password. */
@@ -396,7 +396,7 @@ declare enum FactorType {
396
396
  /** Requires authentication via WebAuthn/passkey. */
397
397
  WEBAUTHN = "WEBAUTHN"
398
398
  }
399
- declare enum Status {
399
+ export declare enum Status {
400
400
  /** Factor requires activation. */
401
401
  INACTIVE = "INACTIVE",
402
402
  /** Factor is active and can be used for authentication. */
@@ -404,7 +404,7 @@ declare enum Status {
404
404
  /** Factor is blocked and cannot be used for authentication. The user should reenroll the factor. */
405
405
  REQUIRE_REENROLL = "REQUIRE_REENROLL"
406
406
  }
407
- interface CustomValue extends CustomValueValueOneOf {
407
+ export interface CustomValue extends CustomValueValueOneOf {
408
408
  /** String value. */
409
409
  strValue?: string;
410
410
  /** Number value. */
@@ -417,7 +417,7 @@ interface CustomValue extends CustomValueValueOneOf {
417
417
  mapValue?: MapValue;
418
418
  }
419
419
  /** @oneof */
420
- interface CustomValueValueOneOf {
420
+ export interface CustomValueValueOneOf {
421
421
  /** String value. */
422
422
  strValue?: string;
423
423
  /** Number value. */
@@ -429,15 +429,15 @@ interface CustomValueValueOneOf {
429
429
  /** Map value. */
430
430
  mapValue?: MapValue;
431
431
  }
432
- interface ListValue {
432
+ export interface ListValue {
433
433
  /** Custom value. */
434
434
  value?: CustomValue[];
435
435
  }
436
- interface MapValue {
436
+ export interface MapValue {
437
437
  /** Mapped custom value. */
438
438
  value?: Record<string, CustomValue>;
439
439
  }
440
- interface RequireMfaData {
440
+ export interface RequireMfaData {
441
441
  /**
442
442
  * The factors available for the user to perform the required MFA.
443
443
  * @maxSize 100
@@ -446,13 +446,13 @@ interface RequireMfaData {
446
446
  /** The reason the user is required to perform MFA. */
447
447
  reason?: MfaReason;
448
448
  }
449
- interface V1Factor {
449
+ export interface V1Factor {
450
450
  /** Type of verification factor. */
451
451
  factorType?: FactorType;
452
452
  /** Availability status for second factor */
453
453
  factorStatus?: FactorStatus;
454
454
  }
455
- declare enum FactorStatus {
455
+ export declare enum FactorStatus {
456
456
  UNKNOWN_FACTOR_STATUS = "UNKNOWN_FACTOR_STATUS",
457
457
  ENABLED = "ENABLED",
458
458
  REQUIRE_ACTIVATION = "REQUIRE_ACTIVATION",
@@ -460,14 +460,14 @@ declare enum FactorStatus {
460
460
  ENABLED_BY_RULE = "ENABLED_BY_RULE",
461
461
  DISABLED_BY_RULE = "DISABLED_BY_RULE"
462
462
  }
463
- declare enum MfaReason {
463
+ export declare enum MfaReason {
464
464
  UNKNOWN_MFA_REASON = "UNKNOWN_MFA_REASON",
465
465
  /** Mfa is required due to user settings */
466
466
  USER_SETTINGS = "USER_SETTINGS",
467
467
  /** Mfa is required due to high risk login */
468
468
  HIGH_RISK_LOGIN = "HIGH_RISK_LOGIN"
469
469
  }
470
- interface MfaChallengeData {
470
+ export interface MfaChallengeData {
471
471
  /** Type of verifation factor. */
472
472
  factorType?: FactorType;
473
473
  verificationChallengeData?: VerificationChallenge;
@@ -479,18 +479,18 @@ interface MfaChallengeData {
479
479
  /** The reason the user is required to perform MFA. */
480
480
  reason?: MfaReason;
481
481
  }
482
- interface VerificationChallenge extends VerificationChallengeFactorChallengeDataOneOf {
482
+ export interface VerificationChallenge extends VerificationChallengeFactorChallengeDataOneOf {
483
483
  pushData?: PushChallengeData;
484
484
  webauthnData?: WebAuthnChallengeData;
485
485
  /** @maxLength 200 */
486
486
  hint?: string | null;
487
487
  }
488
488
  /** @oneof */
489
- interface VerificationChallengeFactorChallengeDataOneOf {
489
+ export interface VerificationChallengeFactorChallengeDataOneOf {
490
490
  pushData?: PushChallengeData;
491
491
  webauthnData?: WebAuthnChallengeData;
492
492
  }
493
- interface PushChallengeData {
493
+ export interface PushChallengeData {
494
494
  /**
495
495
  * This should be tied to a specific push notification.
496
496
  * It will be sent in subsequent requests to verify the factor.
@@ -498,7 +498,7 @@ interface PushChallengeData {
498
498
  */
499
499
  transactionId?: string;
500
500
  }
501
- interface WebAuthnChallengeData {
501
+ export interface WebAuthnChallengeData {
502
502
  /**
503
503
  * A unique identifier for this challenge that will be used to correlate
504
504
  * the authentication response with this challenge.
@@ -541,9 +541,9 @@ interface WebAuthnChallengeData {
541
541
  */
542
542
  extensions?: AuthenticationExtensionInputs;
543
543
  }
544
- interface PublicKeyCredentialDescriptor {
544
+ export interface PublicKeyCredentialDescriptor {
545
545
  /** The credential ID */
546
- _id?: Uint8Array;
546
+ id?: Uint8Array;
547
547
  /**
548
548
  * An optional hint as to the transports used by the credential
549
549
  * Examples include "usb", "nfc", "ble", "internal", "hybrid"
@@ -552,7 +552,7 @@ interface PublicKeyCredentialDescriptor {
552
552
  */
553
553
  transports?: string[];
554
554
  }
555
- declare enum UserVerificationRequirement {
555
+ export declare enum UserVerificationRequirement {
556
556
  /** Default unspecified value */
557
557
  USER_VERIFICATION_UNSPECIFIED = "USER_VERIFICATION_UNSPECIFIED",
558
558
  /**
@@ -565,7 +565,7 @@ declare enum UserVerificationRequirement {
565
565
  /** The Relying Party does not want user verification employed (e.g., to minimize disruption to the user experience) */
566
566
  USER_VERIFICATION_DISCOURAGED = "USER_VERIFICATION_DISCOURAGED"
567
567
  }
568
- interface AuthenticationExtensionInputs extends AuthenticationExtensionInputsLargeBlobOperationOneOf {
568
+ export interface AuthenticationExtensionInputs extends AuthenticationExtensionInputsLargeBlobOperationOneOf {
569
569
  /** Read existing large blob data from the authenticator */
570
570
  largeBlobRead?: boolean;
571
571
  /** Write data to the authenticator's large blob storage */
@@ -585,13 +585,13 @@ interface AuthenticationExtensionInputs extends AuthenticationExtensionInputsLar
585
585
  uvm?: boolean;
586
586
  }
587
587
  /** @oneof */
588
- interface AuthenticationExtensionInputsLargeBlobOperationOneOf {
588
+ export interface AuthenticationExtensionInputsLargeBlobOperationOneOf {
589
589
  /** Read existing large blob data from the authenticator */
590
590
  largeBlobRead?: boolean;
591
591
  /** Write data to the authenticator's large blob storage */
592
592
  largeBlobWrite?: Uint8Array;
593
593
  }
594
- interface LoginV2Request {
594
+ export interface LoginV2Request {
595
595
  /** Identifier of identity logging in. */
596
596
  loginId: LoginId;
597
597
  /** Password of the identity logging in. */
@@ -601,13 +601,13 @@ interface LoginV2Request {
601
601
  /** Additional data that's relevant for the flow. */
602
602
  clientMetaData?: Record<string, any> | null;
603
603
  }
604
- interface ChangePasswordRequest {
604
+ export interface ChangePasswordRequest {
605
605
  /** The new password to set for the logged in user */
606
606
  newPassword: string;
607
607
  }
608
- interface ChangePasswordResponse {
608
+ export interface ChangePasswordResponse {
609
609
  }
610
- interface LoginWithIdpConnectionRequest {
610
+ export interface LoginWithIdpConnectionRequest {
611
611
  /**
612
612
  * The id of the connection id (can be fetched by calling connection-service.listEnabledConnectionsClientData
613
613
  * @format GUID
@@ -631,22 +631,22 @@ interface LoginWithIdpConnectionRequest {
631
631
  visitorId?: string | null;
632
632
  bsi?: string | null;
633
633
  }
634
- declare enum TenantType {
634
+ export declare enum TenantType {
635
635
  UNKNOWN_TENANT_TYPE = "UNKNOWN_TENANT_TYPE",
636
636
  ACCOUNT = "ACCOUNT",
637
637
  SITE = "SITE",
638
638
  ROOT = "ROOT"
639
639
  }
640
- interface RawHttpResponse {
640
+ export interface RawHttpResponse {
641
641
  body?: Uint8Array;
642
642
  statusCode?: number | null;
643
643
  headers?: HeadersEntry[];
644
644
  }
645
- interface HeadersEntry {
645
+ export interface HeadersEntry {
646
646
  key?: string;
647
647
  value?: string;
648
648
  }
649
- interface RawHttpRequest {
649
+ export interface RawHttpRequest {
650
650
  body?: Uint8Array;
651
651
  pathParams?: PathParametersEntry[];
652
652
  queryParams?: QueryParametersEntry[];
@@ -655,21 +655,21 @@ interface RawHttpRequest {
655
655
  rawPath?: string;
656
656
  rawQuery?: string;
657
657
  }
658
- interface PathParametersEntry {
658
+ export interface PathParametersEntry {
659
659
  key?: string;
660
660
  value?: string;
661
661
  }
662
- interface QueryParametersEntry {
662
+ export interface QueryParametersEntry {
663
663
  key?: string;
664
664
  value?: string;
665
665
  }
666
- interface LoginCallbackRequest {
666
+ export interface LoginCallbackRequest {
667
667
  /** state that that received on the redirect */
668
668
  state?: string;
669
669
  /** session token */
670
670
  sessionToken?: string;
671
671
  }
672
- interface LoginWithIdpConnectionTokenParamsRequest {
672
+ export interface LoginWithIdpConnectionTokenParamsRequest {
673
673
  /**
674
674
  * The id of the connection id (can be fetched by calling connection-service.listEnabledConnectionsClientData)
675
675
  * @format GUID
@@ -678,7 +678,7 @@ interface LoginWithIdpConnectionTokenParamsRequest {
678
678
  /** A set of fields that are required for the connection to be able to identify and authenticate the user */
679
679
  tokenParams?: Record<string, string>;
680
680
  }
681
- interface SignOnRequest {
681
+ export interface SignOnRequest {
682
682
  /** the identifier of the identity */
683
683
  loginId: LoginId;
684
684
  /** profile of the identity */
@@ -688,14 +688,14 @@ interface SignOnRequest {
688
688
  /** when false will create a new contact instead of merging the existing contact into the identity */
689
689
  mergeExistingContact?: boolean;
690
690
  }
691
- interface SignOnResponse {
691
+ export interface SignOnResponse {
692
692
  /** session token for the requested identity */
693
693
  sessionToken?: string;
694
694
  /** The Identity of the provided login_id */
695
695
  identity?: Identity;
696
696
  }
697
697
  /** logout request payload */
698
- interface LogoutRequest {
698
+ export interface LogoutRequest {
699
699
  /**
700
700
  * redirect after logout
701
701
  * @format WEB_URL
@@ -707,7 +707,7 @@ interface LogoutRequest {
707
707
  */
708
708
  clientId?: string | null;
709
709
  }
710
- interface VerifyRequest extends VerifyRequestFactorDataOneOf {
710
+ export interface VerifyRequest extends VerifyRequestFactorDataOneOf {
711
711
  smsData?: SmsVerifyData;
712
712
  callData?: CallVerifyData;
713
713
  emailData?: ExternalEmailVerifyData;
@@ -723,7 +723,7 @@ interface VerifyRequest extends VerifyRequestFactorDataOneOf {
723
723
  rememberThisDevice?: boolean;
724
724
  }
725
725
  /** @oneof */
726
- interface VerifyRequestFactorDataOneOf {
726
+ export interface VerifyRequestFactorDataOneOf {
727
727
  smsData?: SmsVerifyData;
728
728
  callData?: CallVerifyData;
729
729
  emailData?: ExternalEmailVerifyData;
@@ -731,39 +731,39 @@ interface VerifyRequestFactorDataOneOf {
731
731
  pushData?: PushVerifyData;
732
732
  webauthnData?: WebAuthnVerifyData;
733
733
  }
734
- interface SmsVerifyData {
734
+ export interface SmsVerifyData {
735
735
  /**
736
736
  * @minLength 1
737
737
  * @maxLength 100
738
738
  */
739
739
  code?: string | null;
740
740
  }
741
- interface CallVerifyData {
741
+ export interface CallVerifyData {
742
742
  /**
743
743
  * @minLength 1
744
744
  * @maxLength 100
745
745
  */
746
746
  code?: string | null;
747
747
  }
748
- interface ExternalEmailVerifyData {
748
+ export interface ExternalEmailVerifyData {
749
749
  /**
750
750
  * @minLength 1
751
751
  * @maxLength 100
752
752
  */
753
753
  code?: string | null;
754
754
  }
755
- interface TotpVerifyData {
755
+ export interface TotpVerifyData {
756
756
  /**
757
757
  * @minLength 1
758
758
  * @maxLength 100
759
759
  */
760
760
  code?: string | null;
761
761
  }
762
- interface PushVerifyData {
762
+ export interface PushVerifyData {
763
763
  /** @maxLength 36 */
764
764
  transactionId?: string | null;
765
765
  }
766
- interface WebAuthnVerifyData {
766
+ export interface WebAuthnVerifyData {
767
767
  /**
768
768
  * The challenge_id from the WebAuthnChallengeData that was returned in the previous
769
769
  * verification response. This will always be present when completing the WebAuthn authentication
@@ -786,72 +786,3 @@ interface WebAuthnVerifyData {
786
786
  */
787
787
  credential?: string | null;
788
788
  }
789
- interface RegisterV2Options {
790
- /** Password of the registering member. */
791
- password?: string;
792
- /** Profile information of registering member. */
793
- profile?: IdentityProfile;
794
- /** CAPTCHA tokens, when CAPTCHA setting is on. */
795
- captchaTokens?: CaptchaToken[];
796
- /** Additional data that's relevant for the flow. */
797
- clientMetaData?: Record<string, any> | null;
798
- }
799
- interface LoginV2Options {
800
- /** Password of the identity logging in. */
801
- password?: string;
802
- /** CAPTCHA tokens, when CAPTCHA setting is on. */
803
- captchaTokens?: CaptchaToken[];
804
- /** Additional data that's relevant for the flow. */
805
- clientMetaData?: Record<string, any> | null;
806
- }
807
- interface LoginCallbackOptions {
808
- /** state that that received on the redirect */
809
- state?: string;
810
- /** session token */
811
- sessionToken?: string;
812
- }
813
- interface SignOnOptions {
814
- /** profile of the identity */
815
- profile?: IdentityProfile;
816
- /** when true will mark the email of the identity as verified */
817
- verifyEmail?: boolean;
818
- /** when false will create a new contact instead of merging the existing contact into the identity */
819
- mergeExistingContact?: boolean;
820
- }
821
- interface LogoutOptions {
822
- /**
823
- * redirect after logout
824
- * @format WEB_URL
825
- */
826
- postLogoutRedirectUri?: string | null;
827
- /**
828
- * caller identifier
829
- * @format GUID
830
- */
831
- clientId?: string | null;
832
- }
833
- interface VerifyOptions extends VerifyOptionsFactorDataOneOf {
834
- /**
835
- * TODO: is this a reasonable maxLength?
836
- * @maxLength 1000
837
- */
838
- stateToken?: string;
839
- rememberThisDevice?: boolean;
840
- smsData?: SmsVerifyData;
841
- callData?: CallVerifyData;
842
- emailData?: ExternalEmailVerifyData;
843
- totpData?: TotpVerifyData;
844
- pushData?: PushVerifyData;
845
- webauthnData?: WebAuthnVerifyData;
846
- }
847
- /** @oneof */
848
- interface VerifyOptionsFactorDataOneOf {
849
- smsData?: SmsVerifyData;
850
- callData?: CallVerifyData;
851
- emailData?: ExternalEmailVerifyData;
852
- totpData?: TotpVerifyData;
853
- pushData?: PushVerifyData;
854
- webauthnData?: WebAuthnVerifyData;
855
- }
856
-
857
- export { type V1Factor as $, AddressTag as A, type Identity as B, type CustomField as C, type Connection as D, EmailTag as E, FactorType as F, type ConnectionTypeOneOf as G, type IdpConnection as H, type IdentityProfile as I, type AuthenticatorConnection as J, type Metadata as K, type LoginId as L, MfaReason as M, type Email as N, type StatusV2 as O, PrivacyStatus as P, type Factor as Q, type RegisterV2Options as R, type StateMachineResponse as S, TenantType as T, UserVerificationRequirement as U, type VerifyOptions as V, type CustomValue as W, type CustomValueValueOneOf as X, type ListValue as Y, type MapValue as Z, type RequireMfaData as _, type LoginV2Options as a, type MfaChallengeData as a0, type VerificationChallenge as a1, type VerificationChallengeFactorChallengeDataOneOf as a2, type PushChallengeData as a3, type WebAuthnChallengeData as a4, type PublicKeyCredentialDescriptor as a5, type AuthenticationExtensionInputs as a6, type AuthenticationExtensionInputsLargeBlobOperationOneOf as a7, type LoginV2Request as a8, type ChangePasswordRequest as a9, type ChangePasswordResponse as aa, type LoginWithIdpConnectionRequest as ab, type HeadersEntry as ac, type RawHttpRequest as ad, type PathParametersEntry as ae, type QueryParametersEntry as af, type LoginCallbackRequest as ag, type LoginWithIdpConnectionTokenParamsRequest as ah, type SignOnRequest as ai, type LogoutRequest as aj, type VerifyRequest as ak, type VerifyRequestFactorDataOneOf as al, type SmsVerifyData as am, type CallVerifyData as an, type ExternalEmailVerifyData as ao, type TotpVerifyData as ap, type PushVerifyData as aq, type WebAuthnVerifyData as ar, type VerifyOptionsFactorDataOneOf as as, type LoginCallbackOptions as b, type RawHttpResponse as c, type SignOnOptions as d, type SignOnResponse as e, type LogoutOptions as f, PhoneTag as g, StateType as h, StatusName as i, Reason as j, Status as k, FactorStatus as l, type Authentication as m, type RegisterV2Request as n, type LoginIdTypeOneOf as o, type V1CustomValue as p, type V1CustomValueValueOneOf as q, type V1ListValue as r, type V1MapValue as s, type SecondaryEmail as t, type Phone as u, type AddressWrapper as v, type Address as w, type CaptchaToken as x, type CaptchaTokenTokenOneOf as y, type StateMachineResponseStateDataOneOf as z };