michangarrito/apps/backend/node_modules/stripe/cjs/resources/Billing/Alerts.js
rckrdmrd 97f407c661 [MIGRATION-V2] feat: Migrar michangarrito a estructura v2
- Prefijo v2: MCH
- TRACEABILITY-MASTER.yml creado
- Listo para integracion como submodulo

Workspace: v2.0.0 | SIMCO: v4.0.0
2026-01-10 11:28:54 -06:00

28 lines
968 B
JavaScript

"use strict";
// File generated from our OpenAPI spec
Object.defineProperty(exports, "__esModule", { value: true });
exports.Alerts = void 0;
const StripeResource_js_1 = require("../../StripeResource.js");
const stripeMethod = StripeResource_js_1.StripeResource.method;
exports.Alerts = StripeResource_js_1.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',
}),
});