@rebilly/api 0.17.0 → 0.18.0

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,3 +1,3 @@
1
- ## 0.17.0 (2026-11-03)
1
+ ## 0.18.0 (2026-11-03)
2
2
 
3
3
  This was a version bump only for rebilly-api to align it with other projects, there were no code changes.
@@ -10292,7 +10292,7 @@ export type PostPreviewWebhookVariables = {
10292
10292
  };
10293
10293
  export type GetProfileResult = Profile;
10294
10294
  export type PutProfileResult = Profile;
10295
- export type PutProfileBody = Omit<Profile, "id" | "email" | "firstName" | "lastName" | "businessPhone" | "mobilePhone" | "permissions" | "availableCurrencies" | "reportingCurrency" | "loginTime" | "status" | "country" | "hasPermissionsEmulation" | "mfaRequiredByOrganization" | "displayName" | "hash" | "requiresCardOnFile" | "hasCardOnFile" | "billingManagementToken" | "pastDueInvoice">;
10295
+ export type PutProfileBody = Omit<Profile, "id" | "email" | "firstName" | "lastName" | "businessPhone" | "mobilePhone" | "permissions" | "availableCurrencies" | "reportingCurrency" | "loginTime" | "status" | "country" | "hasPermissionsEmulation" | "mfaRequiredByOrganization" | "displayName" | "hash" | "requiresCardOnFile" | "hasCardOnFile" | "hasActivePlan" | "billingManagementToken" | "pastDueInvoice">;
10296
10296
  export type PutProfileResponseHeaders = {
10297
10297
  rateLimitLimit?: number;
10298
10298
  rateLimitRemaining?: number;
@@ -25617,13 +25617,20 @@ export type Profile = {
25617
25617
  */
25618
25618
  readonly hash?: string;
25619
25619
  /**
25620
- * Specifies whether the current organization must have a payment card on file before it can transact in the live environment.
25620
+ * Specifies if the current organization must have a Rebilly subscription to use the Rebilly UI.
25621
25621
  */
25622
25622
  readonly requiresCardOnFile?: boolean;
25623
25623
  /**
25624
25624
  * Specifies whether the current organization has an active payment card on file.
25625
25625
  */
25626
25626
  readonly hasCardOnFile?: boolean;
25627
+ /**
25628
+ * Specifies if the current organization has a Rebilly subscription.
25629
+ * This value is `true` while the subscription is active, in its trial period, or paused,
25630
+ * and after the subscription is canceled until the end of its current service period.
25631
+ * This value applies only when `requiresCardOnFile` is `true`.
25632
+ */
25633
+ readonly hasActivePlan?: boolean;
25627
25634
  /**
25628
25635
  * Session token used to manage the payment method on file for a Rebilly subscription.
25629
25636
  * This value is returned only to organization owners.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rebilly/api",
3
- "version": "0.17.0",
3
+ "version": "0.18.0",
4
4
  "description": "Rebilly Core and Storefront API clients generated from the OpenAPI definitions",
5
5
  "type": "module",
6
6
  "sideEffects": false,