mirror of https://github.com/ghostfolio/ghostfolio
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
1.1 KiB
34 lines
1.1 KiB
// File generated from our OpenAPI spec
|
|
import { StripeResource } from '../../StripeResource.js';
|
|
const stripeMethod = StripeResource.method;
|
|
export const FinancialAccounts = StripeResource.extend({
|
|
create: stripeMethod({
|
|
method: 'POST',
|
|
fullPath: '/v1/treasury/financial_accounts',
|
|
}),
|
|
retrieve: stripeMethod({
|
|
method: 'GET',
|
|
fullPath: '/v1/treasury/financial_accounts/{financial_account}',
|
|
}),
|
|
update: stripeMethod({
|
|
method: 'POST',
|
|
fullPath: '/v1/treasury/financial_accounts/{financial_account}',
|
|
}),
|
|
list: stripeMethod({
|
|
method: 'GET',
|
|
fullPath: '/v1/treasury/financial_accounts',
|
|
methodType: 'list',
|
|
}),
|
|
close: stripeMethod({
|
|
method: 'POST',
|
|
fullPath: '/v1/treasury/financial_accounts/{financial_account}/close',
|
|
}),
|
|
retrieveFeatures: stripeMethod({
|
|
method: 'GET',
|
|
fullPath: '/v1/treasury/financial_accounts/{financial_account}/features',
|
|
}),
|
|
updateFeatures: stripeMethod({
|
|
method: 'POST',
|
|
fullPath: '/v1/treasury/financial_accounts/{financial_account}/features',
|
|
}),
|
|
});
|
|
|