File: /var/www/javago-api-updates/node_modules/stripe/esm/resources/Billing/Alerts.js
// 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',
}),
});