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
|
@@ -656,5 +656,9 @@ declare class Communities {
|
|
|
656
656
|
start_date: string;
|
|
657
657
|
end_date: string;
|
|
658
658
|
}): AxiosPromise<Response<T>>;
|
|
659
|
+
/**
|
|
660
|
+
* List all Stripe invoices for the community.
|
|
661
|
+
*/
|
|
662
|
+
static listInvoices<T>(community_id: string): AxiosPromise<Response<T>>;
|
|
659
663
|
}
|
|
660
664
|
export default Communities;
|
package/dist/esm/index.js
CHANGED
|
@@ -8683,6 +8683,12 @@ var Communities = /** @class */ (function () {
|
|
|
8683
8683
|
Communities.getCustomStatement = function (community_id, params) {
|
|
8684
8684
|
return Requests.processRoute(CommunitiesRoute.routes.getCustomStatement, undefined, { community_id: community_id }, params);
|
|
8685
8685
|
};
|
|
8686
|
+
/**
|
|
8687
|
+
* List all Stripe invoices for the community.
|
|
8688
|
+
*/
|
|
8689
|
+
Communities.listInvoices = function (community_id) {
|
|
8690
|
+
return Requests.processRoute(CommunitiesRoute.routes.listInvoices, undefined, { community_id: community_id });
|
|
8691
|
+
};
|
|
8686
8692
|
return Communities;
|
|
8687
8693
|
}());
|
|
8688
8694
|
|