rebilly-js-sdk 62.184.0 → 62.185.1

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
- ## 62.184.0 (2026-09-29)
1
+ ## 62.185.1 (2026-09-30)
2
2
 
3
- ### Features
4
-
5
- - **api-metadata, rebilly-js-sdk:** Update resources based on latest api definitions ([#27491](https://github.com/Rebilly/rebilly/pull/27491))
3
+ This was a version bump only for rebilly-js-sdk to align it with other projects, there were no code changes.
@@ -746,6 +746,10 @@ declare namespace rebilly {
746
746
  type PostReadyToPayResponse = operations['PostReadyToPay']['responses']['200']['content']['application/json']
747
747
  type PostReadyToPayResponsePromise = Promise<{fields: PostReadyToPayResponse}>
748
748
 
749
+
750
+ type GetReleaseFlagsResponse = operations['GetReleaseFlags']['responses']['200']['content']['application/json']
751
+ type GetReleaseFlagsResponsePromise = Promise<{fields: GetReleaseFlagsResponse}>
752
+
749
753
  type GetSearchRequest = operations['GetSearch']['parameters']
750
754
 
751
755
  type GetSearchResponse = operations['GetSearch']['responses']['200']['content']['application/json']
@@ -3786,6 +3790,15 @@ export interface corePaths {
3786
3790
  */
3787
3791
  post: operations["PostReadyToPay"];
3788
3792
  };
3793
+ "/release-flags": {
3794
+ /**
3795
+ * Retrieves the keys of the release flags that are on for the current organization.
3796
+ *
3797
+ * A release flag is a temporary switch that turns an unfinished feature on for some organizations.
3798
+ * Every user of the organization can call this operation.
3799
+ */
3800
+ get: operations["GetReleaseFlags"];
3801
+ };
3789
3802
  "/search": {
3790
3803
  /** Searches merchant data to return resources such as customers, invoices, orders, transactions. */
3791
3804
  get: operations["GetSearch"];
@@ -14875,7 +14888,7 @@ export interface coreComponents {
14875
14888
  * Therefore, the subscription renews in 10 days after it is resumed.
14876
14889
  * The upcoming invoice does not change the amount for the invoiced period, it remains at $30.
14877
14890
  * If the subscription uses a service period anchor,
14878
- * the renewal time after a pause shift behaves as though the renewal time is moved forward by an [Order API operation](https://www.rebilly.com/catalog/all/orders),
14891
+ * the renewal time after a pause shift behaves as though the renewal time is moved forward by an [Order API operation](https://www.rebilly.com/catalog/all/orders-(legacy)),
14879
14892
  * and the service period anchor is ignored for that period.
14880
14893
  *
14881
14894
  * For more information, see [Service period anchor, billing timing, and invoice time shift](https://www.rebilly.com/docs/dev-docs/subscriptions#service-period-anchor-billing-timing-and-invoice-time-shift).
@@ -35701,6 +35714,27 @@ export interface operations {
35701
35714
  };
35702
35715
  };
35703
35716
  };
35717
+ /**
35718
+ * Retrieves the keys of the release flags that are on for the current organization.
35719
+ *
35720
+ * A release flag is a temporary switch that turns an unfinished feature on for some organizations.
35721
+ * Every user of the organization can call this operation.
35722
+ */
35723
+ GetReleaseFlags: {
35724
+ responses: {
35725
+ /** Enabled release flags retrieved. */
35726
+ 200: {
35727
+ content: {
35728
+ "application/json": {
35729
+ /** Keys of the release flags that are on for the current organization. */
35730
+ enabled: string[];
35731
+ };
35732
+ };
35733
+ };
35734
+ 401: coreComponents["responses"]["Unauthorized"];
35735
+ 403: coreComponents["responses"]["Forbidden"];
35736
+ };
35737
+ };
35704
35738
  /** Searches merchant data to return resources such as customers, invoices, orders, transactions. */
35705
35739
  GetSearch: {
35706
35740
  parameters: {
@@ -54259,7 +54293,7 @@ export interface storefrontComponents {
54259
54293
  * Therefore, the subscription renews in 10 days after it is resumed.
54260
54294
  * The upcoming invoice does not change the amount for the invoiced period, it remains at $30.
54261
54295
  * If the subscription uses a service period anchor,
54262
- * the renewal time after a pause shift behaves as though the renewal time is moved forward by an [Order API operation](https://www.rebilly.com/catalog/all/orders),
54296
+ * the renewal time after a pause shift behaves as though the renewal time is moved forward by an [Order API operation](https://www.rebilly.com/catalog/all/orders-(legacy)),
54263
54297
  * and the service period anchor is ignored for that period.
54264
54298
  *
54265
54299
  * For more information, see [Service period anchor, billing timing, and invoice time shift](https://www.rebilly.com/docs/dev-docs/subscriptions#service-period-anchor-billing-timing-and-invoice-time-shift).
@@ -80829,7 +80863,7 @@ export interface reportsComponents {
80829
80863
  * Therefore, the subscription renews in 10 days after it is resumed.
80830
80864
  * The upcoming invoice does not change the amount for the invoiced period, it remains at $30.
80831
80865
  * If the subscription uses a service period anchor,
80832
- * the renewal time after a pause shift behaves as though the renewal time is moved forward by an [Order API operation](https://www.rebilly.com/catalog/all/orders),
80866
+ * the renewal time after a pause shift behaves as though the renewal time is moved forward by an [Order API operation](https://www.rebilly.com/catalog/all/orders-(legacy)),
80833
80867
  * and the service period anchor is ignored for that period.
80834
80868
  *
80835
80869
  * For more information, see [Service period anchor, billing timing, and invoice time shift](https://www.rebilly.com/docs/dev-docs/subscriptions#service-period-anchor-billing-timing-and-invoice-time-shift).
@@ -98785,6 +98819,8 @@ declare module "rebilly-js-sdk" {
98785
98819
  export type CreateReadyToPayRequest = rebilly.CreateReadyToPayRequest;
98786
98820
  export type PostReadyToPayResponse = rebilly.PostReadyToPayResponse;
98787
98821
  export type PostReadyToPayResponsePromise = rebilly.PostReadyToPayResponsePromise;
98822
+ export type GetReleaseFlagsResponse = rebilly.GetReleaseFlagsResponse;
98823
+ export type GetReleaseFlagsResponsePromise = rebilly.GetReleaseFlagsResponsePromise;
98788
98824
  export type GetSearchRequest = rebilly.GetSearchRequest;
98789
98825
  export type GetSearchResponse = rebilly.GetSearchResponse;
98790
98826
  export type GetSearchResponsePromise = rebilly.GetSearchResponsePromise;
@@ -101801,6 +101837,13 @@ declare module "resources/quotes-resource" {
101801
101837
  }): any;
101802
101838
  };
101803
101839
  }
101840
+ declare module "resources/release-flags-resource" {
101841
+ export default function ReleaseFlagsResource({ apiHandler }: {
101842
+ apiHandler: any;
101843
+ }): {
101844
+ getEnabled(): rebilly.GetReleaseFlagsResponsePromise;
101845
+ };
101846
+ }
101804
101847
  declare module "resources/resource-resource" {
101805
101848
  export default function ResourceResource({ apiHandler }: {
101806
101849
  apiHandler: any;
@@ -103551,6 +103594,9 @@ declare module "resources/api-instance" {
103551
103594
  id: any;
103552
103595
  }): any;
103553
103596
  };
103597
+ releaseFlags: {
103598
+ getEnabled(): rebilly.GetReleaseFlagsResponsePromise;
103599
+ };
103554
103600
  resource: {
103555
103601
  get({ resource, resourceId, service }: {
103556
103602
  resource: any;
@@ -746,6 +746,10 @@ declare namespace rebilly {
746
746
  type PostReadyToPayResponse = operations['PostReadyToPay']['responses']['200']['content']['application/json']
747
747
  type PostReadyToPayResponsePromise = Promise<{fields: PostReadyToPayResponse}>
748
748
 
749
+
750
+ type GetReleaseFlagsResponse = operations['GetReleaseFlags']['responses']['200']['content']['application/json']
751
+ type GetReleaseFlagsResponsePromise = Promise<{fields: GetReleaseFlagsResponse}>
752
+
749
753
  type GetSearchRequest = operations['GetSearch']['parameters']
750
754
 
751
755
  type GetSearchResponse = operations['GetSearch']['responses']['200']['content']['application/json']
@@ -3786,6 +3790,15 @@ export interface corePaths {
3786
3790
  */
3787
3791
  post: operations["PostReadyToPay"];
3788
3792
  };
3793
+ "/release-flags": {
3794
+ /**
3795
+ * Retrieves the keys of the release flags that are on for the current organization.
3796
+ *
3797
+ * A release flag is a temporary switch that turns an unfinished feature on for some organizations.
3798
+ * Every user of the organization can call this operation.
3799
+ */
3800
+ get: operations["GetReleaseFlags"];
3801
+ };
3789
3802
  "/search": {
3790
3803
  /** Searches merchant data to return resources such as customers, invoices, orders, transactions. */
3791
3804
  get: operations["GetSearch"];
@@ -14875,7 +14888,7 @@ export interface coreComponents {
14875
14888
  * Therefore, the subscription renews in 10 days after it is resumed.
14876
14889
  * The upcoming invoice does not change the amount for the invoiced period, it remains at $30.
14877
14890
  * If the subscription uses a service period anchor,
14878
- * the renewal time after a pause shift behaves as though the renewal time is moved forward by an [Order API operation](https://www.rebilly.com/catalog/all/orders),
14891
+ * the renewal time after a pause shift behaves as though the renewal time is moved forward by an [Order API operation](https://www.rebilly.com/catalog/all/orders-(legacy)),
14879
14892
  * and the service period anchor is ignored for that period.
14880
14893
  *
14881
14894
  * For more information, see [Service period anchor, billing timing, and invoice time shift](https://www.rebilly.com/docs/dev-docs/subscriptions#service-period-anchor-billing-timing-and-invoice-time-shift).
@@ -35701,6 +35714,27 @@ export interface operations {
35701
35714
  };
35702
35715
  };
35703
35716
  };
35717
+ /**
35718
+ * Retrieves the keys of the release flags that are on for the current organization.
35719
+ *
35720
+ * A release flag is a temporary switch that turns an unfinished feature on for some organizations.
35721
+ * Every user of the organization can call this operation.
35722
+ */
35723
+ GetReleaseFlags: {
35724
+ responses: {
35725
+ /** Enabled release flags retrieved. */
35726
+ 200: {
35727
+ content: {
35728
+ "application/json": {
35729
+ /** Keys of the release flags that are on for the current organization. */
35730
+ enabled: string[];
35731
+ };
35732
+ };
35733
+ };
35734
+ 401: coreComponents["responses"]["Unauthorized"];
35735
+ 403: coreComponents["responses"]["Forbidden"];
35736
+ };
35737
+ };
35704
35738
  /** Searches merchant data to return resources such as customers, invoices, orders, transactions. */
35705
35739
  GetSearch: {
35706
35740
  parameters: {
@@ -54259,7 +54293,7 @@ export interface storefrontComponents {
54259
54293
  * Therefore, the subscription renews in 10 days after it is resumed.
54260
54294
  * The upcoming invoice does not change the amount for the invoiced period, it remains at $30.
54261
54295
  * If the subscription uses a service period anchor,
54262
- * the renewal time after a pause shift behaves as though the renewal time is moved forward by an [Order API operation](https://www.rebilly.com/catalog/all/orders),
54296
+ * the renewal time after a pause shift behaves as though the renewal time is moved forward by an [Order API operation](https://www.rebilly.com/catalog/all/orders-(legacy)),
54263
54297
  * and the service period anchor is ignored for that period.
54264
54298
  *
54265
54299
  * For more information, see [Service period anchor, billing timing, and invoice time shift](https://www.rebilly.com/docs/dev-docs/subscriptions#service-period-anchor-billing-timing-and-invoice-time-shift).
@@ -80829,7 +80863,7 @@ export interface reportsComponents {
80829
80863
  * Therefore, the subscription renews in 10 days after it is resumed.
80830
80864
  * The upcoming invoice does not change the amount for the invoiced period, it remains at $30.
80831
80865
  * If the subscription uses a service period anchor,
80832
- * the renewal time after a pause shift behaves as though the renewal time is moved forward by an [Order API operation](https://www.rebilly.com/catalog/all/orders),
80866
+ * the renewal time after a pause shift behaves as though the renewal time is moved forward by an [Order API operation](https://www.rebilly.com/catalog/all/orders-(legacy)),
80833
80867
  * and the service period anchor is ignored for that period.
80834
80868
  *
80835
80869
  * For more information, see [Service period anchor, billing timing, and invoice time shift](https://www.rebilly.com/docs/dev-docs/subscriptions#service-period-anchor-billing-timing-and-invoice-time-shift).
@@ -98785,6 +98819,8 @@ declare module "rebilly-js-sdk" {
98785
98819
  export type CreateReadyToPayRequest = rebilly.CreateReadyToPayRequest;
98786
98820
  export type PostReadyToPayResponse = rebilly.PostReadyToPayResponse;
98787
98821
  export type PostReadyToPayResponsePromise = rebilly.PostReadyToPayResponsePromise;
98822
+ export type GetReleaseFlagsResponse = rebilly.GetReleaseFlagsResponse;
98823
+ export type GetReleaseFlagsResponsePromise = rebilly.GetReleaseFlagsResponsePromise;
98788
98824
  export type GetSearchRequest = rebilly.GetSearchRequest;
98789
98825
  export type GetSearchResponse = rebilly.GetSearchResponse;
98790
98826
  export type GetSearchResponsePromise = rebilly.GetSearchResponsePromise;
@@ -101801,6 +101837,13 @@ declare module "resources/quotes-resource" {
101801
101837
  }): any;
101802
101838
  };
101803
101839
  }
101840
+ declare module "resources/release-flags-resource" {
101841
+ export default function ReleaseFlagsResource({ apiHandler }: {
101842
+ apiHandler: any;
101843
+ }): {
101844
+ getEnabled(): rebilly.GetReleaseFlagsResponsePromise;
101845
+ };
101846
+ }
101804
101847
  declare module "resources/resource-resource" {
101805
101848
  export default function ResourceResource({ apiHandler }: {
101806
101849
  apiHandler: any;
@@ -103551,6 +103594,9 @@ declare module "resources/api-instance" {
103551
103594
  id: any;
103552
103595
  }): any;
103553
103596
  };
103597
+ releaseFlags: {
103598
+ getEnabled(): rebilly.GetReleaseFlagsResponsePromise;
103599
+ };
103554
103600
  resource: {
103555
103601
  get({ resource, resourceId, service }: {
103556
103602
  resource: any;
@@ -746,6 +746,10 @@ declare namespace rebilly {
746
746
  type PostReadyToPayResponse = operations['PostReadyToPay']['responses']['200']['content']['application/json']
747
747
  type PostReadyToPayResponsePromise = Promise<{fields: PostReadyToPayResponse}>
748
748
 
749
+
750
+ type GetReleaseFlagsResponse = operations['GetReleaseFlags']['responses']['200']['content']['application/json']
751
+ type GetReleaseFlagsResponsePromise = Promise<{fields: GetReleaseFlagsResponse}>
752
+
749
753
  type GetSearchRequest = operations['GetSearch']['parameters']
750
754
 
751
755
  type GetSearchResponse = operations['GetSearch']['responses']['200']['content']['application/json']
@@ -3786,6 +3790,15 @@ export interface corePaths {
3786
3790
  */
3787
3791
  post: operations["PostReadyToPay"];
3788
3792
  };
3793
+ "/release-flags": {
3794
+ /**
3795
+ * Retrieves the keys of the release flags that are on for the current organization.
3796
+ *
3797
+ * A release flag is a temporary switch that turns an unfinished feature on for some organizations.
3798
+ * Every user of the organization can call this operation.
3799
+ */
3800
+ get: operations["GetReleaseFlags"];
3801
+ };
3789
3802
  "/search": {
3790
3803
  /** Searches merchant data to return resources such as customers, invoices, orders, transactions. */
3791
3804
  get: operations["GetSearch"];
@@ -14875,7 +14888,7 @@ export interface coreComponents {
14875
14888
  * Therefore, the subscription renews in 10 days after it is resumed.
14876
14889
  * The upcoming invoice does not change the amount for the invoiced period, it remains at $30.
14877
14890
  * If the subscription uses a service period anchor,
14878
- * the renewal time after a pause shift behaves as though the renewal time is moved forward by an [Order API operation](https://www.rebilly.com/catalog/all/orders),
14891
+ * the renewal time after a pause shift behaves as though the renewal time is moved forward by an [Order API operation](https://www.rebilly.com/catalog/all/orders-(legacy)),
14879
14892
  * and the service period anchor is ignored for that period.
14880
14893
  *
14881
14894
  * For more information, see [Service period anchor, billing timing, and invoice time shift](https://www.rebilly.com/docs/dev-docs/subscriptions#service-period-anchor-billing-timing-and-invoice-time-shift).
@@ -35701,6 +35714,27 @@ export interface operations {
35701
35714
  };
35702
35715
  };
35703
35716
  };
35717
+ /**
35718
+ * Retrieves the keys of the release flags that are on for the current organization.
35719
+ *
35720
+ * A release flag is a temporary switch that turns an unfinished feature on for some organizations.
35721
+ * Every user of the organization can call this operation.
35722
+ */
35723
+ GetReleaseFlags: {
35724
+ responses: {
35725
+ /** Enabled release flags retrieved. */
35726
+ 200: {
35727
+ content: {
35728
+ "application/json": {
35729
+ /** Keys of the release flags that are on for the current organization. */
35730
+ enabled: string[];
35731
+ };
35732
+ };
35733
+ };
35734
+ 401: coreComponents["responses"]["Unauthorized"];
35735
+ 403: coreComponents["responses"]["Forbidden"];
35736
+ };
35737
+ };
35704
35738
  /** Searches merchant data to return resources such as customers, invoices, orders, transactions. */
35705
35739
  GetSearch: {
35706
35740
  parameters: {
@@ -54259,7 +54293,7 @@ export interface storefrontComponents {
54259
54293
  * Therefore, the subscription renews in 10 days after it is resumed.
54260
54294
  * The upcoming invoice does not change the amount for the invoiced period, it remains at $30.
54261
54295
  * If the subscription uses a service period anchor,
54262
- * the renewal time after a pause shift behaves as though the renewal time is moved forward by an [Order API operation](https://www.rebilly.com/catalog/all/orders),
54296
+ * the renewal time after a pause shift behaves as though the renewal time is moved forward by an [Order API operation](https://www.rebilly.com/catalog/all/orders-(legacy)),
54263
54297
  * and the service period anchor is ignored for that period.
54264
54298
  *
54265
54299
  * For more information, see [Service period anchor, billing timing, and invoice time shift](https://www.rebilly.com/docs/dev-docs/subscriptions#service-period-anchor-billing-timing-and-invoice-time-shift).
@@ -80829,7 +80863,7 @@ export interface reportsComponents {
80829
80863
  * Therefore, the subscription renews in 10 days after it is resumed.
80830
80864
  * The upcoming invoice does not change the amount for the invoiced period, it remains at $30.
80831
80865
  * If the subscription uses a service period anchor,
80832
- * the renewal time after a pause shift behaves as though the renewal time is moved forward by an [Order API operation](https://www.rebilly.com/catalog/all/orders),
80866
+ * the renewal time after a pause shift behaves as though the renewal time is moved forward by an [Order API operation](https://www.rebilly.com/catalog/all/orders-(legacy)),
80833
80867
  * and the service period anchor is ignored for that period.
80834
80868
  *
80835
80869
  * For more information, see [Service period anchor, billing timing, and invoice time shift](https://www.rebilly.com/docs/dev-docs/subscriptions#service-period-anchor-billing-timing-and-invoice-time-shift).
@@ -98785,6 +98819,8 @@ declare module "rebilly-js-sdk" {
98785
98819
  export type CreateReadyToPayRequest = rebilly.CreateReadyToPayRequest;
98786
98820
  export type PostReadyToPayResponse = rebilly.PostReadyToPayResponse;
98787
98821
  export type PostReadyToPayResponsePromise = rebilly.PostReadyToPayResponsePromise;
98822
+ export type GetReleaseFlagsResponse = rebilly.GetReleaseFlagsResponse;
98823
+ export type GetReleaseFlagsResponsePromise = rebilly.GetReleaseFlagsResponsePromise;
98788
98824
  export type GetSearchRequest = rebilly.GetSearchRequest;
98789
98825
  export type GetSearchResponse = rebilly.GetSearchResponse;
98790
98826
  export type GetSearchResponsePromise = rebilly.GetSearchResponsePromise;
@@ -101801,6 +101837,13 @@ declare module "resources/quotes-resource" {
101801
101837
  }): any;
101802
101838
  };
101803
101839
  }
101840
+ declare module "resources/release-flags-resource" {
101841
+ export default function ReleaseFlagsResource({ apiHandler }: {
101842
+ apiHandler: any;
101843
+ }): {
101844
+ getEnabled(): rebilly.GetReleaseFlagsResponsePromise;
101845
+ };
101846
+ }
101804
101847
  declare module "resources/resource-resource" {
101805
101848
  export default function ResourceResource({ apiHandler }: {
101806
101849
  apiHandler: any;
@@ -103551,6 +103594,9 @@ declare module "resources/api-instance" {
103551
103594
  id: any;
103552
103595
  }): any;
103553
103596
  };
103597
+ releaseFlags: {
103598
+ getEnabled(): rebilly.GetReleaseFlagsResponsePromise;
103599
+ };
103554
103600
  resource: {
103555
103601
  get({ resource, resourceId, service }: {
103556
103602
  resource: any;