@wix/auto_sdk_identity_authentication 1.0.18 → 1.0.20

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.
@@ -363,11 +363,6 @@ interface AuthenticatorConnection {
363
363
  reEnrollmentRequired?: boolean;
364
364
  }
365
365
  interface Metadata {
366
- /**
367
- * General tags. For example, `"isOwner"`.
368
- * @readonly
369
- */
370
- tags?: string[];
371
366
  }
372
367
  interface Email {
373
368
  /**
@@ -379,22 +374,33 @@ interface Email {
379
374
  isVerified?: boolean;
380
375
  }
381
376
  interface StatusV2 {
377
+ /** Descriptive name of the identity status. */
382
378
  name?: StatusNameWithLiterals;
379
+ /** Reasons for the current identity status. */
383
380
  reasons?: ReasonWithLiterals[];
384
381
  }
385
382
  declare enum StatusName {
383
+ /** Unknown status. This value isn't used. */
386
384
  UNKNOWN_STATUS = "UNKNOWN_STATUS",
385
+ /** Identity is pending verification, owner approval, or both. */
387
386
  PENDING = "PENDING",
387
+ /** Identity is active and can log in. */
388
388
  ACTIVE = "ACTIVE",
389
+ /** Identity is deleted. This identity can't log in. */
389
390
  DELETED = "DELETED",
391
+ /** Identity is blocked. This identity can't log in. */
390
392
  BLOCKED = "BLOCKED",
393
+ /** Identity is offline. This identity can't log in. */
391
394
  OFFLINE = "OFFLINE"
392
395
  }
393
396
  /** @enumType */
394
397
  type StatusNameWithLiterals = StatusName | 'UNKNOWN_STATUS' | 'PENDING' | 'ACTIVE' | 'DELETED' | 'BLOCKED' | 'OFFLINE';
395
398
  declare enum Reason {
399
+ /** Unknown reason. This value isn't used. */
396
400
  UNKNOWN_REASON = "UNKNOWN_REASON",
401
+ /** The identity is waiting for admin approval. After the approval, the identity has an `ACTIVE` status. */
397
402
  PENDING_ADMIN_APPROVAL_REQUIRED = "PENDING_ADMIN_APPROVAL_REQUIRED",
403
+ /** The identity has to verify the email. After the verification, the identity has an `ACTIVE` status. */
398
404
  PENDING_EMAIL_VERIFICATION_REQUIRED = "PENDING_EMAIL_VERIFICATION_REQUIRED"
399
405
  }
400
406
  /** @enumType */
@@ -483,6 +489,29 @@ interface LoginV2Request {
483
489
  /** Additional data that's relevant for the flow. */
484
490
  clientMetaData?: Record<string, any> | null;
485
491
  }
492
+ interface WebAuthnVerifyData {
493
+ /**
494
+ * The challenge_id from the WebAuthnChallengeData that was returned in the previous
495
+ * verification response. This will always be present when completing the WebAuthn authentication
496
+ * ceremony with the credential data from the client.
497
+ * @format GUID
498
+ */
499
+ challengeId?: string | null;
500
+ /**
501
+ * If this field is present, this is a request to complete the WebAuthn authentication
502
+ * with the credential data from the client.
503
+ *
504
+ * The credential contains a JSON string representation of a WebAuthn PublicKeyCredential
505
+ * object returned by the browser during authentication, serialized as per the WebAuthn specification.
506
+ * The SPI implementation should use this to verify the authentication assertion.
507
+ *
508
+ * Any standards-compliant WebAuthn server library should be able to process this serialized format.
509
+ * For details on the serialization format, refer to the W3C WebAuthn specification:
510
+ * https://www.w3.org/TR/webauthn-3/#dom-publickeycredential-tojson
511
+ * @maxLength 3000
512
+ */
513
+ credential?: string | null;
514
+ }
486
515
  interface ChangePasswordRequest {
487
516
  /** The new password to set for the logged in user */
488
517
  newPassword: string;
@@ -540,6 +569,7 @@ interface VerifyRequest extends VerifyRequestFactorDataOneOf {
540
569
  */
541
570
  stateToken?: string;
542
571
  factorType: FactorTypeWithLiterals;
572
+ /** Relevant for second factors only. */
543
573
  rememberThisDevice?: boolean;
544
574
  }
545
575
  /** @oneof */
@@ -583,29 +613,6 @@ interface PushVerifyData {
583
613
  /** @maxLength 36 */
584
614
  transactionId?: string | null;
585
615
  }
586
- interface WebAuthnVerifyData {
587
- /**
588
- * The challenge_id from the WebAuthnChallengeData that was returned in the previous
589
- * verification response. This will always be present when completing the WebAuthn authentication
590
- * ceremony with the credential data from the client.
591
- * @format GUID
592
- */
593
- challengeId?: string | null;
594
- /**
595
- * If this field is present, this is a request to complete the WebAuthn authentication
596
- * with the credential data from the client.
597
- *
598
- * The credential contains a JSON string representation of a WebAuthn PublicKeyCredential
599
- * object returned by the browser during authentication, serialized as per the WebAuthn specification.
600
- * The SPI implementation should use this to verify the authentication assertion.
601
- *
602
- * Any standards-compliant WebAuthn server library should be able to process this serialized format.
603
- * For details on the serialization format, refer to the W3C WebAuthn specification:
604
- * https://www.w3.org/TR/webauthn-3/#dom-publickeycredential-tojson
605
- * @maxLength 3000
606
- */
607
- credential?: string | null;
608
- }
609
616
 
610
617
  type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
611
618
  getUrl: (context: any) => string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/auto_sdk_identity_authentication",
3
- "version": "1.0.18",
3
+ "version": "1.0.20",
4
4
  "license": "MIT",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",
@@ -50,5 +50,5 @@
50
50
  "fqdn": "wix.iam.authentication.v1.authentication"
51
51
  }
52
52
  },
53
- "falconPackageHash": "0dd2a41c80931fe659f3f3d8d795e0976d9085a966cddc2003aa6972"
53
+ "falconPackageHash": "da9691c93257f3a7bfb196111474163ccb793206eabf75fd3fdd5a93"
54
54
  }