@wix/auto_sdk_identity_authentication 1.0.5 → 1.0.6

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/{es/src/iam-authentication-v1-authentication-authentication.types.d.ts → iam-authentication-v1-authentication-authentication.universal-ByfoI5Md.d.mts} +174 -80
  2. package/build/{cjs/src/iam-authentication-v1-authentication-authentication.types.d.ts → iam-authentication-v1-authentication-authentication.universal-ByfoI5Md.d.ts} +174 -80
  3. package/build/index.d.mts +71 -0
  4. package/build/index.d.ts +71 -0
  5. package/build/index.js +859 -0
  6. package/build/index.js.map +1 -0
  7. package/build/index.mjs +816 -0
  8. package/build/index.mjs.map +1 -0
  9. package/build/internal/{cjs/src/iam-authentication-v1-authentication-authentication.types.d.ts → iam-authentication-v1-authentication-authentication.universal-ByfoI5Md.d.mts} +174 -80
  10. package/build/internal/{es/src/iam-authentication-v1-authentication-authentication.types.d.ts → iam-authentication-v1-authentication-authentication.universal-ByfoI5Md.d.ts} +174 -80
  11. package/build/internal/index.d.mts +71 -0
  12. package/build/internal/index.d.ts +71 -0
  13. package/build/internal/index.js +859 -0
  14. package/build/internal/index.js.map +1 -0
  15. package/build/internal/index.mjs +816 -0
  16. package/build/internal/index.mjs.map +1 -0
  17. package/build/internal/meta.d.mts +600 -0
  18. package/build/internal/meta.d.ts +600 -0
  19. package/build/internal/meta.js +518 -0
  20. package/build/internal/meta.js.map +1 -0
  21. package/build/internal/meta.mjs +485 -0
  22. package/build/internal/meta.mjs.map +1 -0
  23. package/build/meta.d.mts +600 -0
  24. package/build/meta.d.ts +600 -0
  25. package/build/meta.js +518 -0
  26. package/build/meta.js.map +1 -0
  27. package/build/meta.mjs +485 -0
  28. package/build/meta.mjs.map +1 -0
  29. package/package.json +13 -12
  30. package/build/cjs/index.d.ts +0 -1
  31. package/build/cjs/index.js +0 -18
  32. package/build/cjs/index.js.map +0 -1
  33. package/build/cjs/index.typings.d.ts +0 -1
  34. package/build/cjs/index.typings.js +0 -18
  35. package/build/cjs/index.typings.js.map +0 -1
  36. package/build/cjs/meta.d.ts +0 -1
  37. package/build/cjs/meta.js +0 -18
  38. package/build/cjs/meta.js.map +0 -1
  39. package/build/cjs/src/iam-authentication-v1-authentication-authentication.context.d.ts +0 -11
  40. package/build/cjs/src/iam-authentication-v1-authentication-authentication.context.js +0 -27
  41. package/build/cjs/src/iam-authentication-v1-authentication-authentication.context.js.map +0 -1
  42. package/build/cjs/src/iam-authentication-v1-authentication-authentication.http.d.ts +0 -27
  43. package/build/cjs/src/iam-authentication-v1-authentication-authentication.http.js +0 -376
  44. package/build/cjs/src/iam-authentication-v1-authentication-authentication.http.js.map +0 -1
  45. package/build/cjs/src/iam-authentication-v1-authentication-authentication.meta.d.ts +0 -21
  46. package/build/cjs/src/iam-authentication-v1-authentication-authentication.meta.js +0 -161
  47. package/build/cjs/src/iam-authentication-v1-authentication-authentication.meta.js.map +0 -1
  48. package/build/cjs/src/iam-authentication-v1-authentication-authentication.public.d.ts +0 -63
  49. package/build/cjs/src/iam-authentication-v1-authentication-authentication.public.js +0 -62
  50. package/build/cjs/src/iam-authentication-v1-authentication-authentication.public.js.map +0 -1
  51. package/build/cjs/src/iam-authentication-v1-authentication-authentication.types.js +0 -131
  52. package/build/cjs/src/iam-authentication-v1-authentication-authentication.types.js.map +0 -1
  53. package/build/cjs/src/iam-authentication-v1-authentication-authentication.universal.d.ts +0 -895
  54. package/build/cjs/src/iam-authentication-v1-authentication-authentication.universal.js +0 -466
  55. package/build/cjs/src/iam-authentication-v1-authentication-authentication.universal.js.map +0 -1
  56. package/build/es/index.d.ts +0 -1
  57. package/build/es/index.js +0 -2
  58. package/build/es/index.js.map +0 -1
  59. package/build/es/index.typings.d.ts +0 -1
  60. package/build/es/index.typings.js +0 -2
  61. package/build/es/index.typings.js.map +0 -1
  62. package/build/es/meta.d.ts +0 -1
  63. package/build/es/meta.js +0 -2
  64. package/build/es/meta.js.map +0 -1
  65. package/build/es/package.json +0 -3
  66. package/build/es/src/iam-authentication-v1-authentication-authentication.context.d.ts +0 -11
  67. package/build/es/src/iam-authentication-v1-authentication-authentication.context.js +0 -11
  68. package/build/es/src/iam-authentication-v1-authentication-authentication.context.js.map +0 -1
  69. package/build/es/src/iam-authentication-v1-authentication-authentication.http.d.ts +0 -27
  70. package/build/es/src/iam-authentication-v1-authentication-authentication.http.js +0 -366
  71. package/build/es/src/iam-authentication-v1-authentication-authentication.http.js.map +0 -1
  72. package/build/es/src/iam-authentication-v1-authentication-authentication.meta.d.ts +0 -21
  73. package/build/es/src/iam-authentication-v1-authentication-authentication.meta.js +0 -128
  74. package/build/es/src/iam-authentication-v1-authentication-authentication.meta.js.map +0 -1
  75. package/build/es/src/iam-authentication-v1-authentication-authentication.public.d.ts +0 -63
  76. package/build/es/src/iam-authentication-v1-authentication-authentication.public.js +0 -39
  77. package/build/es/src/iam-authentication-v1-authentication-authentication.public.js.map +0 -1
  78. package/build/es/src/iam-authentication-v1-authentication-authentication.types.js +0 -128
  79. package/build/es/src/iam-authentication-v1-authentication-authentication.types.js.map +0 -1
  80. package/build/es/src/iam-authentication-v1-authentication-authentication.universal.d.ts +0 -895
  81. package/build/es/src/iam-authentication-v1-authentication-authentication.universal.js +0 -433
  82. package/build/es/src/iam-authentication-v1-authentication-authentication.universal.js.map +0 -1
  83. package/build/internal/cjs/index.d.ts +0 -1
  84. package/build/internal/cjs/index.js +0 -18
  85. package/build/internal/cjs/index.js.map +0 -1
  86. package/build/internal/cjs/index.typings.d.ts +0 -1
  87. package/build/internal/cjs/index.typings.js +0 -18
  88. package/build/internal/cjs/index.typings.js.map +0 -1
  89. package/build/internal/cjs/meta.d.ts +0 -1
  90. package/build/internal/cjs/meta.js +0 -18
  91. package/build/internal/cjs/meta.js.map +0 -1
  92. package/build/internal/cjs/src/iam-authentication-v1-authentication-authentication.context.d.ts +0 -11
  93. package/build/internal/cjs/src/iam-authentication-v1-authentication-authentication.context.js +0 -27
  94. package/build/internal/cjs/src/iam-authentication-v1-authentication-authentication.context.js.map +0 -1
  95. package/build/internal/cjs/src/iam-authentication-v1-authentication-authentication.http.d.ts +0 -27
  96. package/build/internal/cjs/src/iam-authentication-v1-authentication-authentication.http.js +0 -376
  97. package/build/internal/cjs/src/iam-authentication-v1-authentication-authentication.http.js.map +0 -1
  98. package/build/internal/cjs/src/iam-authentication-v1-authentication-authentication.meta.d.ts +0 -21
  99. package/build/internal/cjs/src/iam-authentication-v1-authentication-authentication.meta.js +0 -161
  100. package/build/internal/cjs/src/iam-authentication-v1-authentication-authentication.meta.js.map +0 -1
  101. package/build/internal/cjs/src/iam-authentication-v1-authentication-authentication.public.d.ts +0 -63
  102. package/build/internal/cjs/src/iam-authentication-v1-authentication-authentication.public.js +0 -62
  103. package/build/internal/cjs/src/iam-authentication-v1-authentication-authentication.public.js.map +0 -1
  104. package/build/internal/cjs/src/iam-authentication-v1-authentication-authentication.types.js +0 -131
  105. package/build/internal/cjs/src/iam-authentication-v1-authentication-authentication.types.js.map +0 -1
  106. package/build/internal/cjs/src/iam-authentication-v1-authentication-authentication.universal.d.ts +0 -895
  107. package/build/internal/cjs/src/iam-authentication-v1-authentication-authentication.universal.js +0 -466
  108. package/build/internal/cjs/src/iam-authentication-v1-authentication-authentication.universal.js.map +0 -1
  109. package/build/internal/es/index.d.ts +0 -1
  110. package/build/internal/es/index.js +0 -2
  111. package/build/internal/es/index.js.map +0 -1
  112. package/build/internal/es/index.typings.d.ts +0 -1
  113. package/build/internal/es/index.typings.js +0 -2
  114. package/build/internal/es/index.typings.js.map +0 -1
  115. package/build/internal/es/meta.d.ts +0 -1
  116. package/build/internal/es/meta.js +0 -2
  117. package/build/internal/es/meta.js.map +0 -1
  118. package/build/internal/es/src/iam-authentication-v1-authentication-authentication.context.d.ts +0 -11
  119. package/build/internal/es/src/iam-authentication-v1-authentication-authentication.context.js +0 -11
  120. package/build/internal/es/src/iam-authentication-v1-authentication-authentication.context.js.map +0 -1
  121. package/build/internal/es/src/iam-authentication-v1-authentication-authentication.http.d.ts +0 -27
  122. package/build/internal/es/src/iam-authentication-v1-authentication-authentication.http.js +0 -366
  123. package/build/internal/es/src/iam-authentication-v1-authentication-authentication.http.js.map +0 -1
  124. package/build/internal/es/src/iam-authentication-v1-authentication-authentication.meta.d.ts +0 -21
  125. package/build/internal/es/src/iam-authentication-v1-authentication-authentication.meta.js +0 -128
  126. package/build/internal/es/src/iam-authentication-v1-authentication-authentication.meta.js.map +0 -1
  127. package/build/internal/es/src/iam-authentication-v1-authentication-authentication.public.d.ts +0 -63
  128. package/build/internal/es/src/iam-authentication-v1-authentication-authentication.public.js +0 -39
  129. package/build/internal/es/src/iam-authentication-v1-authentication-authentication.public.js.map +0 -1
  130. package/build/internal/es/src/iam-authentication-v1-authentication-authentication.types.js +0 -128
  131. package/build/internal/es/src/iam-authentication-v1-authentication-authentication.types.js.map +0 -1
  132. package/build/internal/es/src/iam-authentication-v1-authentication-authentication.universal.d.ts +0 -895
  133. package/build/internal/es/src/iam-authentication-v1-authentication-authentication.universal.js +0 -433
  134. package/build/internal/es/src/iam-authentication-v1-authentication-authentication.universal.js.map +0 -1
@@ -1,6 +1,6 @@
1
- export interface Authentication {
1
+ interface Authentication {
2
2
  }
3
- export interface RegisterV2Request {
3
+ interface RegisterV2Request {
4
4
  /** Identifier of the registering member. */
5
5
  loginId: LoginId;
6
6
  /** Password of the registering member. */
@@ -12,7 +12,7 @@ export interface RegisterV2Request {
12
12
  /** Additional data that's relevant for the flow. */
13
13
  clientMetaData?: Record<string, any> | null;
14
14
  }
15
- export interface LoginId extends LoginIdTypeOneOf {
15
+ interface LoginId extends LoginIdTypeOneOf {
16
16
  /**
17
17
  * Login email address.
18
18
  * @format EMAIL
@@ -20,14 +20,14 @@ export interface LoginId extends LoginIdTypeOneOf {
20
20
  email?: string;
21
21
  }
22
22
  /** @oneof */
23
- export interface LoginIdTypeOneOf {
23
+ interface LoginIdTypeOneOf {
24
24
  /**
25
25
  * Login email address.
26
26
  * @format EMAIL
27
27
  */
28
28
  email?: string;
29
29
  }
30
- export interface IdentityProfile {
30
+ interface IdentityProfile {
31
31
  /** Profile first name. */
32
32
  firstName?: string | null;
33
33
  /** Profile last name. */
@@ -94,7 +94,7 @@ export interface IdentityProfile {
94
94
  */
95
95
  slug?: string | null;
96
96
  }
97
- export declare enum PrivacyStatus {
97
+ 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 @@ export declare enum PrivacyStatus {
102
102
  /** Profile details aren't visible to other members. */
103
103
  PRIVATE = "PRIVATE"
104
104
  }
105
- export interface CustomField {
105
+ 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 @@ export interface CustomField {
112
112
  /** Custom field value. */
113
113
  value?: V1CustomValue;
114
114
  }
115
- export interface V1CustomValue extends V1CustomValueValueOneOf {
115
+ interface V1CustomValue extends V1CustomValueValueOneOf {
116
116
  /** String value. */
117
117
  strValue?: string;
118
118
  /** Number value. */
@@ -125,7 +125,7 @@ export interface V1CustomValue extends V1CustomValueValueOneOf {
125
125
  mapValue?: V1MapValue;
126
126
  }
127
127
  /** @oneof */
128
- export interface V1CustomValueValueOneOf {
128
+ interface V1CustomValueValueOneOf {
129
129
  /** String value. */
130
130
  strValue?: string;
131
131
  /** Number value. */
@@ -137,15 +137,15 @@ export interface V1CustomValueValueOneOf {
137
137
  /** Map of values. */
138
138
  mapValue?: V1MapValue;
139
139
  }
140
- export interface V1ListValue {
140
+ interface V1ListValue {
141
141
  /** Custom value. */
142
142
  value?: V1CustomValue[];
143
143
  }
144
- export interface V1MapValue {
144
+ interface V1MapValue {
145
145
  /** Mapped custom value. */
146
146
  value?: Record<string, V1CustomValue>;
147
147
  }
148
- export interface SecondaryEmail {
148
+ interface SecondaryEmail {
149
149
  /**
150
150
  * Email address.
151
151
  * @format EMAIL
@@ -154,13 +154,13 @@ export interface SecondaryEmail {
154
154
  /** Email tag. */
155
155
  tag?: EmailTag;
156
156
  }
157
- export declare enum EmailTag {
157
+ declare enum EmailTag {
158
158
  UNTAGGED = "UNTAGGED",
159
159
  MAIN = "MAIN",
160
160
  HOME = "HOME",
161
161
  WORK = "WORK"
162
162
  }
163
- export interface Phone {
163
+ interface Phone {
164
164
  /**
165
165
  * Phone country code.
166
166
  * @format COUNTRY
@@ -174,7 +174,7 @@ export interface Phone {
174
174
  /** Phone tag. */
175
175
  tag?: PhoneTag;
176
176
  }
177
- export declare enum PhoneTag {
177
+ declare enum PhoneTag {
178
178
  UNTAGGED = "UNTAGGED",
179
179
  MAIN = "MAIN",
180
180
  HOME = "HOME",
@@ -182,14 +182,14 @@ export declare enum PhoneTag {
182
182
  WORK = "WORK",
183
183
  FAX = "FAX"
184
184
  }
185
- export interface AddressWrapper {
185
+ interface AddressWrapper {
186
186
  /** Address. */
187
187
  address?: Address;
188
188
  /** Address tag. */
189
189
  tag?: AddressTag;
190
190
  }
191
191
  /** Physical address */
192
- export interface Address {
192
+ interface Address {
193
193
  /**
194
194
  * Country code.
195
195
  * @format COUNTRY
@@ -202,18 +202,18 @@ export 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
- addressLine?: string | null;
205
+ addressLine1?: 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
- export declare enum AddressTag {
209
+ 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
- export interface CaptchaToken extends CaptchaTokenTokenOneOf {
216
+ interface CaptchaToken extends CaptchaTokenTokenOneOf {
217
217
  /** @maxLength 5000 */
218
218
  Recaptcha?: string;
219
219
  /** @maxLength 5000 */
@@ -222,7 +222,7 @@ export interface CaptchaToken extends CaptchaTokenTokenOneOf {
222
222
  NoCaptcha?: string;
223
223
  }
224
224
  /** @oneof */
225
- export interface CaptchaTokenTokenOneOf {
225
+ interface CaptchaTokenTokenOneOf {
226
226
  /** @maxLength 5000 */
227
227
  Recaptcha?: string;
228
228
  /** @maxLength 5000 */
@@ -230,7 +230,7 @@ export interface CaptchaTokenTokenOneOf {
230
230
  /** @maxLength 5000 */
231
231
  NoCaptcha?: string;
232
232
  }
233
- export interface StateMachineResponse extends StateMachineResponseStateDataOneOf {
233
+ 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 @@ export interface StateMachineResponse extends StateMachineResponseStateDataOneOf
243
243
  additionalData?: Record<string, CustomValue>;
244
244
  }
245
245
  /** @oneof */
246
- export interface StateMachineResponseStateDataOneOf {
246
+ interface StateMachineResponseStateDataOneOf {
247
247
  }
248
- export declare enum StateType {
248
+ declare enum StateType {
249
249
  /** Initial unknown state. */
250
250
  UNKNOWN_STATE = "UNKNOWN_STATE",
251
251
  /** Login completed successfully. */
@@ -257,12 +257,12 @@ export 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
- export interface Identity {
260
+ 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 @@ export 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 @@ export interface Identity {
303
303
  */
304
304
  factors?: Factor[];
305
305
  }
306
- export interface Connection extends ConnectionTypeOneOf {
306
+ 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
- export interface ConnectionTypeOneOf {
313
+ interface ConnectionTypeOneOf {
314
314
  /** IDP connection. */
315
315
  idpConnection?: IdpConnection;
316
316
  /** Authenticator connection. */
317
317
  authenticatorConnection?: AuthenticatorConnection;
318
318
  }
319
- export interface IdpConnection {
319
+ interface IdpConnection {
320
320
  /**
321
321
  * IDP connection ID.
322
322
  * @format GUID
@@ -325,7 +325,7 @@ export interface IdpConnection {
325
325
  /** IDP user ID. */
326
326
  idpUserId?: string;
327
327
  }
328
- export interface AuthenticatorConnection {
328
+ interface AuthenticatorConnection {
329
329
  /**
330
330
  * Authenticator connection ID.
331
331
  * @format GUID
@@ -334,14 +334,14 @@ export interface AuthenticatorConnection {
334
334
  /** Whether re-enrollment is required. */
335
335
  reEnrollmentRequired?: boolean;
336
336
  }
337
- export interface Metadata {
337
+ interface Metadata {
338
338
  /**
339
339
  * General tags. For example, `"isOwner"`.
340
340
  * @readonly
341
341
  */
342
342
  tags?: string[];
343
343
  }
344
- export interface Email {
344
+ interface Email {
345
345
  /**
346
346
  * Email address.
347
347
  * @format EMAIL
@@ -350,11 +350,11 @@ export interface Email {
350
350
  /** Whether the email address is verified. */
351
351
  isVerified?: boolean;
352
352
  }
353
- export interface StatusV2 {
353
+ interface StatusV2 {
354
354
  name?: StatusName;
355
355
  reasons?: Reason[];
356
356
  }
357
- export declare enum StatusName {
357
+ declare enum StatusName {
358
358
  UNKNOWN_STATUS = "UNKNOWN_STATUS",
359
359
  PENDING = "PENDING",
360
360
  ACTIVE = "ACTIVE",
@@ -362,12 +362,12 @@ export declare enum StatusName {
362
362
  BLOCKED = "BLOCKED",
363
363
  OFFLINE = "OFFLINE"
364
364
  }
365
- export declare enum Reason {
365
+ 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
- export interface Factor {
370
+ interface Factor {
371
371
  /**
372
372
  * Factor ID.
373
373
  * @format GUID
@@ -378,7 +378,7 @@ export interface Factor {
378
378
  /** Factor status. */
379
379
  status?: Status;
380
380
  }
381
- export declare enum FactorType {
381
+ 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 @@ export declare enum FactorType {
396
396
  /** Requires authentication via WebAuthn/passkey. */
397
397
  WEBAUTHN = "WEBAUTHN"
398
398
  }
399
- export declare enum Status {
399
+ 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 @@ export 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
- export interface CustomValue extends CustomValueValueOneOf {
407
+ interface CustomValue extends CustomValueValueOneOf {
408
408
  /** String value. */
409
409
  strValue?: string;
410
410
  /** Number value. */
@@ -417,7 +417,7 @@ export interface CustomValue extends CustomValueValueOneOf {
417
417
  mapValue?: MapValue;
418
418
  }
419
419
  /** @oneof */
420
- export interface CustomValueValueOneOf {
420
+ interface CustomValueValueOneOf {
421
421
  /** String value. */
422
422
  strValue?: string;
423
423
  /** Number value. */
@@ -429,15 +429,15 @@ export interface CustomValueValueOneOf {
429
429
  /** Map value. */
430
430
  mapValue?: MapValue;
431
431
  }
432
- export interface ListValue {
432
+ interface ListValue {
433
433
  /** Custom value. */
434
434
  value?: CustomValue[];
435
435
  }
436
- export interface MapValue {
436
+ interface MapValue {
437
437
  /** Mapped custom value. */
438
438
  value?: Record<string, CustomValue>;
439
439
  }
440
- export interface RequireMfaData {
440
+ 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 @@ export interface RequireMfaData {
446
446
  /** The reason the user is required to perform MFA. */
447
447
  reason?: MfaReason;
448
448
  }
449
- export interface V1Factor {
449
+ 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
- export declare enum FactorStatus {
455
+ 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 @@ export declare enum FactorStatus {
460
460
  ENABLED_BY_RULE = "ENABLED_BY_RULE",
461
461
  DISABLED_BY_RULE = "DISABLED_BY_RULE"
462
462
  }
463
- export declare enum MfaReason {
463
+ 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
- export interface MfaChallengeData {
470
+ interface MfaChallengeData {
471
471
  /** Type of verifation factor. */
472
472
  factorType?: FactorType;
473
473
  verificationChallengeData?: VerificationChallenge;
@@ -479,18 +479,18 @@ export interface MfaChallengeData {
479
479
  /** The reason the user is required to perform MFA. */
480
480
  reason?: MfaReason;
481
481
  }
482
- export interface VerificationChallenge extends VerificationChallengeFactorChallengeDataOneOf {
482
+ 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
- export interface VerificationChallengeFactorChallengeDataOneOf {
489
+ interface VerificationChallengeFactorChallengeDataOneOf {
490
490
  pushData?: PushChallengeData;
491
491
  webauthnData?: WebAuthnChallengeData;
492
492
  }
493
- export interface PushChallengeData {
493
+ 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 @@ export interface PushChallengeData {
498
498
  */
499
499
  transactionId?: string;
500
500
  }
501
- export interface WebAuthnChallengeData {
501
+ 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 @@ export interface WebAuthnChallengeData {
541
541
  */
542
542
  extensions?: AuthenticationExtensionInputs;
543
543
  }
544
- export interface PublicKeyCredentialDescriptor {
544
+ 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 @@ export interface PublicKeyCredentialDescriptor {
552
552
  */
553
553
  transports?: string[];
554
554
  }
555
- export declare enum UserVerificationRequirement {
555
+ declare enum UserVerificationRequirement {
556
556
  /** Default unspecified value */
557
557
  USER_VERIFICATION_UNSPECIFIED = "USER_VERIFICATION_UNSPECIFIED",
558
558
  /**
@@ -565,7 +565,7 @@ export 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
- export interface AuthenticationExtensionInputs extends AuthenticationExtensionInputsLargeBlobOperationOneOf {
568
+ 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 @@ export interface AuthenticationExtensionInputs extends AuthenticationExtensionIn
585
585
  uvm?: boolean;
586
586
  }
587
587
  /** @oneof */
588
- export interface AuthenticationExtensionInputsLargeBlobOperationOneOf {
588
+ 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
- export interface LoginV2Request {
594
+ 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 @@ export interface LoginV2Request {
601
601
  /** Additional data that's relevant for the flow. */
602
602
  clientMetaData?: Record<string, any> | null;
603
603
  }
604
- export interface ChangePasswordRequest {
604
+ interface ChangePasswordRequest {
605
605
  /** The new password to set for the logged in user */
606
606
  newPassword: string;
607
607
  }
608
- export interface ChangePasswordResponse {
608
+ interface ChangePasswordResponse {
609
609
  }
610
- export interface LoginWithIdpConnectionRequest {
610
+ 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 @@ export interface LoginWithIdpConnectionRequest {
631
631
  visitorId?: string | null;
632
632
  bsi?: string | null;
633
633
  }
634
- export declare enum TenantType {
634
+ 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
- export interface RawHttpResponse {
640
+ interface RawHttpResponse {
641
641
  body?: Uint8Array;
642
642
  statusCode?: number | null;
643
643
  headers?: HeadersEntry[];
644
644
  }
645
- export interface HeadersEntry {
645
+ interface HeadersEntry {
646
646
  key?: string;
647
647
  value?: string;
648
648
  }
649
- export interface RawHttpRequest {
649
+ interface RawHttpRequest {
650
650
  body?: Uint8Array;
651
651
  pathParams?: PathParametersEntry[];
652
652
  queryParams?: QueryParametersEntry[];
@@ -655,21 +655,21 @@ export interface RawHttpRequest {
655
655
  rawPath?: string;
656
656
  rawQuery?: string;
657
657
  }
658
- export interface PathParametersEntry {
658
+ interface PathParametersEntry {
659
659
  key?: string;
660
660
  value?: string;
661
661
  }
662
- export interface QueryParametersEntry {
662
+ interface QueryParametersEntry {
663
663
  key?: string;
664
664
  value?: string;
665
665
  }
666
- export interface LoginCallbackRequest {
666
+ 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
- export interface LoginWithIdpConnectionTokenParamsRequest {
672
+ 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 @@ export 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
- export interface SignOnRequest {
681
+ interface SignOnRequest {
682
682
  /** the identifier of the identity */
683
683
  loginId: LoginId;
684
684
  /** profile of the identity */
@@ -688,14 +688,14 @@ export 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
- export interface SignOnResponse {
691
+ 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
- export interface LogoutRequest {
698
+ interface LogoutRequest {
699
699
  /**
700
700
  * redirect after logout
701
701
  * @format WEB_URL
@@ -707,12 +707,13 @@ export interface LogoutRequest {
707
707
  */
708
708
  clientId?: string | null;
709
709
  }
710
- export interface VerifyRequest extends VerifyRequestFactorDataOneOf {
710
+ interface VerifyRequest extends VerifyRequestFactorDataOneOf {
711
711
  smsData?: SmsVerifyData;
712
712
  callData?: CallVerifyData;
713
713
  emailData?: ExternalEmailVerifyData;
714
714
  totpData?: TotpVerifyData;
715
715
  pushData?: PushVerifyData;
716
+ webauthnData?: WebAuthnVerifyData;
716
717
  /**
717
718
  * TODO: is this a reasonable maxLength?
718
719
  * @maxLength 1000
@@ -722,42 +723,135 @@ export interface VerifyRequest extends VerifyRequestFactorDataOneOf {
722
723
  rememberThisDevice?: boolean;
723
724
  }
724
725
  /** @oneof */
725
- export interface VerifyRequestFactorDataOneOf {
726
+ interface VerifyRequestFactorDataOneOf {
726
727
  smsData?: SmsVerifyData;
727
728
  callData?: CallVerifyData;
728
729
  emailData?: ExternalEmailVerifyData;
729
730
  totpData?: TotpVerifyData;
730
731
  pushData?: PushVerifyData;
732
+ webauthnData?: WebAuthnVerifyData;
731
733
  }
732
- export interface SmsVerifyData {
734
+ interface SmsVerifyData {
733
735
  /**
734
736
  * @minLength 1
735
737
  * @maxLength 100
736
738
  */
737
739
  code?: string | null;
738
740
  }
739
- export interface CallVerifyData {
741
+ interface CallVerifyData {
740
742
  /**
741
743
  * @minLength 1
742
744
  * @maxLength 100
743
745
  */
744
746
  code?: string | null;
745
747
  }
746
- export interface ExternalEmailVerifyData {
748
+ interface ExternalEmailVerifyData {
747
749
  /**
748
750
  * @minLength 1
749
751
  * @maxLength 100
750
752
  */
751
753
  code?: string | null;
752
754
  }
753
- export interface TotpVerifyData {
755
+ interface TotpVerifyData {
754
756
  /**
755
757
  * @minLength 1
756
758
  * @maxLength 100
757
759
  */
758
760
  code?: string | null;
759
761
  }
760
- export interface PushVerifyData {
762
+ interface PushVerifyData {
761
763
  /** @maxLength 36 */
762
764
  transactionId?: string | null;
763
765
  }
766
+ interface WebAuthnVerifyData {
767
+ /**
768
+ * The challenge_id from the WebAuthnChallengeData that was returned in the previous
769
+ * verification response. This will always be present when completing the WebAuthn authentication
770
+ * ceremony with the credential data from the client.
771
+ * @format GUID
772
+ */
773
+ challengeId?: string | null;
774
+ /**
775
+ * If this field is present, this is a request to complete the WebAuthn authentication
776
+ * with the credential data from the client.
777
+ *
778
+ * The credential contains a JSON string representation of a WebAuthn PublicKeyCredential
779
+ * object returned by the browser during authentication, serialized as per the WebAuthn specification.
780
+ * The SPI implementation should use this to verify the authentication assertion.
781
+ *
782
+ * Any standards-compliant WebAuthn server library should be able to process this serialized format.
783
+ * For details on the serialization format, refer to the W3C WebAuthn specification:
784
+ * https://www.w3.org/TR/webauthn-3/#dom-publickeycredential-tojson
785
+ * @maxLength 3000
786
+ */
787
+ credential?: string | null;
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 };