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.
26 lines
958 B
26 lines
958 B
// File generated from our OpenAPI spec
|
|
import { StripeResource } from '../../StripeResource.js';
|
|
const stripeMethod = StripeResource.method;
|
|
export const Meters = StripeResource.extend({
|
|
create: stripeMethod({ method: 'POST', fullPath: '/v1/billing/meters' }),
|
|
retrieve: stripeMethod({ method: 'GET', fullPath: '/v1/billing/meters/{id}' }),
|
|
update: stripeMethod({ method: 'POST', fullPath: '/v1/billing/meters/{id}' }),
|
|
list: stripeMethod({
|
|
method: 'GET',
|
|
fullPath: '/v1/billing/meters',
|
|
methodType: 'list',
|
|
}),
|
|
deactivate: stripeMethod({
|
|
method: 'POST',
|
|
fullPath: '/v1/billing/meters/{id}/deactivate',
|
|
}),
|
|
listEventSummaries: stripeMethod({
|
|
method: 'GET',
|
|
fullPath: '/v1/billing/meters/{id}/event_summaries',
|
|
methodType: 'list',
|
|
}),
|
|
reactivate: stripeMethod({
|
|
method: 'POST',
|
|
fullPath: '/v1/billing/meters/{id}/reactivate',
|
|
}),
|
|
});
|
|
|