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
+35
View File
@@ -0,0 +1,35 @@
"use strict";
// File generated from our OpenAPI spec
Object.defineProperty(exports, "__esModule", { value: true });
exports.FileLinkResource = void 0;
const StripeResource_js_1 = require("../StripeResource.js");
class FileLinkResource extends StripeResource_js_1.StripeResource {
/**
* Returns a list of file links.
*/
list(params, options) {
return this._makeRequest('GET', '/v1/file_links', params, options, {
methodType: 'list',
});
}
/**
* Creates a new file link object.
*/
create(params, options) {
return this._makeRequest('POST', '/v1/file_links', params, options);
}
/**
* Retrieves the file link with the given ID.
*/
retrieve(id, params, options) {
return this._makeRequest('GET', `/v1/file_links/${encodeURIComponent(id)}`, params, options);
}
/**
* Updates an existing file link object. Expired links can no longer be updated.
*/
update(id, params, options) {
return this._makeRequest('POST', `/v1/file_links/${encodeURIComponent(id)}`, params, options);
}
}
exports.FileLinkResource = FileLinkResource;
//# sourceMappingURL=FileLinks.js.map