@rebilly/api 0.20.4 → 0.20.5

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/CHANGELOG.md CHANGED
@@ -1,5 +1,3 @@
1
- ## 0.20.4 (2026-11-09)
1
+ ## 0.20.5 (2026-11-09)
2
2
 
3
- ### 🧱 Updated Dependencies
4
-
5
- - Updated eslint-config to 4.32.21
3
+ This was a version bump only for rebilly-api to align it with other projects, there were no code changes.
@@ -8945,7 +8945,7 @@ export type PutUserPath = {
8945
8945
  */
8946
8946
  id: string;
8947
8947
  };
8948
- export type PutUserBody = Omit<User, "id" | "computedPermissions" | "loginTime" | "reportingCurrency" | "availableCurrencies" | "status" | "computedAllowedIps" | "mfaEnabled">;
8948
+ export type PutUserBody = Omit<User, "id" | "computedPermissions" | "loginTime" | "reportingCurrency" | "availableCurrencies" | "status" | "computedAllowedIps" | "mfaEnabled" | "mfaResetBlockedByOtherOrganizations">;
8949
8949
  export type PutUserResponseHeaders = {
8950
8950
  rateLimitLimit?: number;
8951
8951
  rateLimitRemaining?: number;
@@ -10637,7 +10637,7 @@ export type GetUserCollectionVariables = {
10637
10637
  query?: GetUserCollectionQuery;
10638
10638
  };
10639
10639
  export type PostUserResult = User;
10640
- export type PostUserBody = Omit<User, "id" | "computedPermissions" | "loginTime" | "reportingCurrency" | "availableCurrencies" | "status" | "computedAllowedIps" | "mfaEnabled">;
10640
+ export type PostUserBody = Omit<User, "id" | "computedPermissions" | "loginTime" | "reportingCurrency" | "availableCurrencies" | "status" | "computedAllowedIps" | "mfaEnabled" | "mfaResetBlockedByOtherOrganizations">;
10641
10641
  export type PostUserResponseHeaders = {
10642
10642
  location?: string;
10643
10643
  rateLimitLimit?: number;
@@ -26308,10 +26308,21 @@ export type User = {
26308
26308
  readonly computedAllowedIps?: string[] | null;
26309
26309
  /**
26310
26310
  * Specifies if the user has multi-factor authentication (MFA) set up.
26311
- * This field is included in the response for users in the current organization and omitted for Rebilly staff.
26311
+ * This field is included in [Retrieve a user](https://www.rebilly.com/catalog/all/users/getuser) responses for users in the current organization,
26312
+ * and in [Retrieve a list of users](https://www.rebilly.com/catalog/all/users/getusercollection) responses only when the organization requires MFA.
26313
+ * This field is omitted for Rebilly staff.
26312
26314
  * This value is `null` when this information is temporarily unavailable.
26313
26315
  */
26314
26316
  readonly mfaEnabled?: boolean | null;
26317
+ /**
26318
+ * Specifies if the user is associated with another organization in the current environment
26319
+ * where the caller is not an owner and does not have full access.
26320
+ * If this value is `true`, MFA cannot be reset for the user with the [Reset MFA for a user](https://www.rebilly.com/catalog/all/users/postusermfareset) operation.
26321
+ * This field is included only in [Retrieve a user](https://www.rebilly.com/catalog/all/users/getuser) responses when MFA reset is available for the organization.
26322
+ * The caller must be an organization owner, a user with full access, or a Rebilly admin.
26323
+ * This field is omitted when the caller retrieves their own user, when the user is Rebilly staff, or when the caller authenticates with an API key.
26324
+ */
26325
+ readonly mfaResetBlockedByOtherOrganizations?: boolean;
26315
26326
  _links?: SelfLink;
26316
26327
  };
26317
26328
  export type WebhookEvent = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rebilly/api",
3
- "version": "0.20.4",
3
+ "version": "0.20.5",
4
4
  "description": "Rebilly Core and Storefront API clients generated from the OpenAPI definitions",
5
5
  "type": "module",
6
6
  "sideEffects": false,