Add subscription support + license extension on renewal

This commit is contained in:
Krystie
2026-08-19 12:45:06 -07:00
parent 14d0eaa2b3
commit ff722aa4d8
2075 changed files with 357707 additions and 63 deletions
+25
View File
@@ -0,0 +1,25 @@
// File generated from our OpenAPI spec
import { StripeResource } from '../../StripeResource.js';
export class ReportRunResource extends StripeResource {
/**
* Returns a list of Report Runs, with the most recent appearing first.
*/
list(params, options) {
return this._makeRequest('GET', '/v1/reporting/report_runs', params, options, {
methodType: 'list',
});
}
/**
* Creates a new object and begin running the report. (Certain report types require a [live-mode API key](https://stripe.com/docs/keys#test-live-modes).)
*/
create(params, options) {
return this._makeRequest('POST', '/v1/reporting/report_runs', params, options);
}
/**
* Retrieves the details of an existing Report Run.
*/
retrieve(id, params, options) {
return this._makeRequest('GET', `/v1/reporting/report_runs/${encodeURIComponent(id)}`, params, options);
}
}
//# sourceMappingURL=ReportRuns.js.map