rebilly-js-sdk 62.183.1 → 62.185.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,5 @@
1
- ## 62.183.1 (2026-09-29)
1
+ ## 62.185.0 (2026-09-30)
2
2
 
3
- This was a version bump only for rebilly-js-sdk to align it with other projects, there were no code changes.
3
+ ### Features
4
+
5
+ - **be, recomm, infra:** add release flags with self-hosted GrowthBook ([#27514](https://github.com/Rebilly/rebilly/pull/27514))
@@ -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"];
@@ -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: {
@@ -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;
@@ -104639,10 +104685,6 @@ declare module "resources/storefront/cashiers-resource" {
104639
104685
  get({ id }: {
104640
104686
  id: any;
104641
104687
  }): rebilly.StorefrontGetCashierResponsePromise;
104642
- cancelPayoutRequests({ id, data }: {
104643
- id: any;
104644
- data: any;
104645
- }): any;
104646
104688
  };
104647
104689
  }
104648
104690
  declare module "resources/storefront/checkout-forms-resource" {
@@ -105007,10 +105049,6 @@ declare module "resources/storefront/storefront-api-instance" {
105007
105049
  get({ id }: {
105008
105050
  id: any;
105009
105051
  }): rebilly.StorefrontGetCashierResponsePromise;
105010
- cancelPayoutRequests({ id, data }: {
105011
- id: any;
105012
- data: any;
105013
- }): any;
105014
105052
  };
105015
105053
  checkoutForms: {
105016
105054
  get({ id }: {
@@ -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"];
@@ -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: {
@@ -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;
@@ -104639,10 +104685,6 @@ declare module "resources/storefront/cashiers-resource" {
104639
104685
  get({ id }: {
104640
104686
  id: any;
104641
104687
  }): rebilly.StorefrontGetCashierResponsePromise;
104642
- cancelPayoutRequests({ id, data }: {
104643
- id: any;
104644
- data: any;
104645
- }): any;
104646
104688
  };
104647
104689
  }
104648
104690
  declare module "resources/storefront/checkout-forms-resource" {
@@ -105007,10 +105049,6 @@ declare module "resources/storefront/storefront-api-instance" {
105007
105049
  get({ id }: {
105008
105050
  id: any;
105009
105051
  }): rebilly.StorefrontGetCashierResponsePromise;
105010
- cancelPayoutRequests({ id, data }: {
105011
- id: any;
105012
- data: any;
105013
- }): any;
105014
105052
  };
105015
105053
  checkoutForms: {
105016
105054
  get({ id }: {
@@ -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"];
@@ -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: {
@@ -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;
@@ -104639,10 +104685,6 @@ declare module "resources/storefront/cashiers-resource" {
104639
104685
  get({ id }: {
104640
104686
  id: any;
104641
104687
  }): rebilly.StorefrontGetCashierResponsePromise;
104642
- cancelPayoutRequests({ id, data }: {
104643
- id: any;
104644
- data: any;
104645
- }): any;
104646
104688
  };
104647
104689
  }
104648
104690
  declare module "resources/storefront/checkout-forms-resource" {
@@ -105007,10 +105049,6 @@ declare module "resources/storefront/storefront-api-instance" {
105007
105049
  get({ id }: {
105008
105050
  id: any;
105009
105051
  }): rebilly.StorefrontGetCashierResponsePromise;
105010
- cancelPayoutRequests({ id, data }: {
105011
- id: any;
105012
- data: any;
105013
- }): any;
105014
105052
  };
105015
105053
  checkoutForms: {
105016
105054
  get({ id }: {