glitch-javascript-sdk 2.7.0 → 2.7.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/dist/index.d.ts CHANGED
@@ -1813,6 +1813,10 @@ declare class Communities {
1813
1813
  start_date: string;
1814
1814
  end_date: string;
1815
1815
  }): AxiosPromise<Response<T>>;
1816
+ /**
1817
+ * List all Stripe invoices for the community.
1818
+ */
1819
+ static listInvoices<T>(community_id: string): AxiosPromise<Response<T>>;
1816
1820
  }
1817
1821
 
1818
1822
  declare class Users {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "glitch-javascript-sdk",
3
- "version": "2.7.0",
3
+ "version": "2.7.1",
4
4
  "description": "Javascript SDK for Glitch",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -959,6 +959,13 @@ class Communities {
959
959
  return Requests.processRoute(CommunitiesRoute.routes.getCustomStatement, undefined, { community_id }, params);
960
960
  }
961
961
 
962
+ /**
963
+ * List all Stripe invoices for the community.
964
+ */
965
+ public static listInvoices<T>(community_id: string): AxiosPromise<Response<T>> {
966
+ return Requests.processRoute(CommunitiesRoute.routes.listInvoices, undefined, { community_id });
967
+ }
968
+
962
969
  }
963
970
 
964
971
  export default Communities;