@zyphr-dev/node-sdk 0.1.52 → 0.1.53

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.
package/dist/index.d.cts CHANGED
@@ -1063,6 +1063,12 @@ interface ApplicationSelf {
1063
1063
  * @memberof ApplicationSelf
1064
1064
  */
1065
1065
  authEmailMode: ApplicationSelfAuthEmailModeEnum;
1066
+ /**
1067
+ * When true (sc-7680), passwords found in the HaveIBeenPwned breach corpus are rejected at register/reset (and returned `valid:false` by `/auth/password-strength`). When false (default), breach info is advisory only. Fail-open: a breach-source outage never blocks auth.
1068
+ * @type {boolean}
1069
+ * @memberof ApplicationSelf
1070
+ */
1071
+ passwordDisallowBreached: boolean;
1066
1072
  }
1067
1073
  /**
1068
1074
  * @export
@@ -18014,7 +18020,7 @@ declare function SetPreferencesRequestToJSONTyped(value?: SetPreferencesRequest
18014
18020
  * Do not edit the class manually.
18015
18021
  */
18016
18022
  /**
18017
- * Provide test_recipients and/or auth_email_mode. Omitting one leaves that value unchanged; sending neither is a 400.
18023
+ * Provide any of test_recipients, auth_email_mode, or password_disallow_breached. Omitting one leaves that value unchanged; sending none is a 400. Unknown fields are rejected (400).
18018
18024
  * @export
18019
18025
  * @interface SetSelfApplicationTestRecipientsRequest
18020
18026
  */
@@ -18031,6 +18037,12 @@ interface SetSelfApplicationTestRecipientsRequest {
18031
18037
  * @memberof SetSelfApplicationTestRecipientsRequest
18032
18038
  */
18033
18039
  authEmailMode?: SetSelfApplicationTestRecipientsRequestAuthEmailModeEnum;
18040
+ /**
18041
+ * Optional (sc-7680/sc-7697). When true, reject HIBP-breached passwords at register/reset. Omit to leave unchanged.
18042
+ * @type {boolean}
18043
+ * @memberof SetSelfApplicationTestRecipientsRequest
18044
+ */
18045
+ passwordDisallowBreached?: boolean;
18034
18046
  }
18035
18047
  /**
18036
18048
  * @export
package/dist/index.d.ts CHANGED
@@ -1063,6 +1063,12 @@ interface ApplicationSelf {
1063
1063
  * @memberof ApplicationSelf
1064
1064
  */
1065
1065
  authEmailMode: ApplicationSelfAuthEmailModeEnum;
1066
+ /**
1067
+ * When true (sc-7680), passwords found in the HaveIBeenPwned breach corpus are rejected at register/reset (and returned `valid:false` by `/auth/password-strength`). When false (default), breach info is advisory only. Fail-open: a breach-source outage never blocks auth.
1068
+ * @type {boolean}
1069
+ * @memberof ApplicationSelf
1070
+ */
1071
+ passwordDisallowBreached: boolean;
1066
1072
  }
1067
1073
  /**
1068
1074
  * @export
@@ -18014,7 +18020,7 @@ declare function SetPreferencesRequestToJSONTyped(value?: SetPreferencesRequest
18014
18020
  * Do not edit the class manually.
18015
18021
  */
18016
18022
  /**
18017
- * Provide test_recipients and/or auth_email_mode. Omitting one leaves that value unchanged; sending neither is a 400.
18023
+ * Provide any of test_recipients, auth_email_mode, or password_disallow_breached. Omitting one leaves that value unchanged; sending none is a 400. Unknown fields are rejected (400).
18018
18024
  * @export
18019
18025
  * @interface SetSelfApplicationTestRecipientsRequest
18020
18026
  */
@@ -18031,6 +18037,12 @@ interface SetSelfApplicationTestRecipientsRequest {
18031
18037
  * @memberof SetSelfApplicationTestRecipientsRequest
18032
18038
  */
18033
18039
  authEmailMode?: SetSelfApplicationTestRecipientsRequestAuthEmailModeEnum;
18040
+ /**
18041
+ * Optional (sc-7680/sc-7697). When true, reject HIBP-breached passwords at register/reset. Omit to leave unchanged.
18042
+ * @type {boolean}
18043
+ * @memberof SetSelfApplicationTestRecipientsRequest
18044
+ */
18045
+ passwordDisallowBreached?: boolean;
18034
18046
  }
18035
18047
  /**
18036
18048
  * @export
package/dist/index.js CHANGED
@@ -871,6 +871,7 @@ function instanceOfApplicationSelf(value) {
871
871
  if (!("signingAlgorithm" in value) || value["signingAlgorithm"] === void 0) return false;
872
872
  if (!("testRecipients" in value) || value["testRecipients"] === void 0) return false;
873
873
  if (!("authEmailMode" in value) || value["authEmailMode"] === void 0) return false;
874
+ if (!("passwordDisallowBreached" in value) || value["passwordDisallowBreached"] === void 0) return false;
874
875
  return true;
875
876
  }
876
877
  function ApplicationSelfFromJSON(json) {
@@ -886,7 +887,8 @@ function ApplicationSelfFromJSONTyped(json, ignoreDiscriminator) {
886
887
  "environment": json["environment"],
887
888
  "signingAlgorithm": json["signing_algorithm"],
888
889
  "testRecipients": json["test_recipients"],
889
- "authEmailMode": json["auth_email_mode"]
890
+ "authEmailMode": json["auth_email_mode"],
891
+ "passwordDisallowBreached": json["password_disallow_breached"]
890
892
  };
891
893
  }
892
894
  function ApplicationSelfToJSON(json) {
@@ -902,7 +904,8 @@ function ApplicationSelfToJSONTyped(value, ignoreDiscriminator = false) {
902
904
  "environment": value["environment"],
903
905
  "signing_algorithm": value["signingAlgorithm"],
904
906
  "test_recipients": value["testRecipients"],
905
- "auth_email_mode": value["authEmailMode"]
907
+ "auth_email_mode": value["authEmailMode"],
908
+ "password_disallow_breached": value["passwordDisallowBreached"]
906
909
  };
907
910
  }
908
911
 
@@ -12260,7 +12263,8 @@ function SetSelfApplicationTestRecipientsRequestFromJSONTyped(json, ignoreDiscri
12260
12263
  }
12261
12264
  return {
12262
12265
  "testRecipients": json["test_recipients"] == null ? void 0 : json["test_recipients"],
12263
- "authEmailMode": json["auth_email_mode"] == null ? void 0 : json["auth_email_mode"]
12266
+ "authEmailMode": json["auth_email_mode"] == null ? void 0 : json["auth_email_mode"],
12267
+ "passwordDisallowBreached": json["password_disallow_breached"] == null ? void 0 : json["password_disallow_breached"]
12264
12268
  };
12265
12269
  }
12266
12270
  function SetSelfApplicationTestRecipientsRequestToJSON(json) {
@@ -12272,7 +12276,8 @@ function SetSelfApplicationTestRecipientsRequestToJSONTyped(value, ignoreDiscrim
12272
12276
  }
12273
12277
  return {
12274
12278
  "test_recipients": value["testRecipients"],
12275
- "auth_email_mode": value["authEmailMode"]
12279
+ "auth_email_mode": value["authEmailMode"],
12280
+ "password_disallow_breached": value["passwordDisallowBreached"]
12276
12281
  };
12277
12282
  }
12278
12283