25 lines
825 B
JavaScript
25 lines
825 B
JavaScript
// File generated from our OpenAPI spec
|
|
import { StripeResource } from '../../StripeResource.js';
|
|
const stripeMethod = StripeResource.method;
|
|
export const Alerts = StripeResource.extend({
|
|
create: stripeMethod({ method: 'POST', fullPath: '/v1/billing/alerts' }),
|
|
retrieve: stripeMethod({ method: 'GET', fullPath: '/v1/billing/alerts/{id}' }),
|
|
list: stripeMethod({
|
|
method: 'GET',
|
|
fullPath: '/v1/billing/alerts',
|
|
methodType: 'list',
|
|
}),
|
|
activate: stripeMethod({
|
|
method: 'POST',
|
|
fullPath: '/v1/billing/alerts/{id}/activate',
|
|
}),
|
|
archive: stripeMethod({
|
|
method: 'POST',
|
|
fullPath: '/v1/billing/alerts/{id}/archive',
|
|
}),
|
|
deactivate: stripeMethod({
|
|
method: 'POST',
|
|
fullPath: '/v1/billing/alerts/{id}/deactivate',
|
|
}),
|
|
});
|