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/cjs/index.js +6 -0
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/api/Communities.d.ts +4 -0
- package/dist/esm/index.js +6 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.ts +4 -0
- package/package.json +1 -1
- package/src/api/Communities.ts +7 -0
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
package/src/api/Communities.ts
CHANGED
|
@@ -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;
|