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.
 
 
 
 
 

24 lines
825 B

// 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',
}),
});