58ca4e68db
- Go backend API with full CRUD for all modules (CRM, Sales, Finance, HR, Legal, Marketing, Support, Purchase, Inventory, Projects, Automation, Analytics) - Rust analytics service with parallel report generation - C runtime with POSIX shared memory IPC - PostgreSQL schema with 30+ tables, full migrations - Redis cache, sessions, pub/sub - Kafka event streaming with Zookeeper - WebSocket hub for real-time updates - Automation engine with cron jobs, workflows, event triggers - JWT authentication, multi-tenant from start - Docker Compose with all services - Nginx reverse proxy with rate limiting - Integration tests passing - Feature gap analysis against Fortnox/Odoo/Visma Refs: BOC-001
116 lines
3.9 KiB
JavaScript
116 lines
3.9 KiB
JavaScript
"use strict";
|
|
// File generated from our OpenAPI spec
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.Customers = void 0;
|
|
const StripeResource_js_1 = require("../StripeResource.js");
|
|
const stripeMethod = StripeResource_js_1.StripeResource.method;
|
|
exports.Customers = StripeResource_js_1.StripeResource.extend({
|
|
create: stripeMethod({ method: 'POST', fullPath: '/v1/customers' }),
|
|
retrieve: stripeMethod({ method: 'GET', fullPath: '/v1/customers/{customer}' }),
|
|
update: stripeMethod({ method: 'POST', fullPath: '/v1/customers/{customer}' }),
|
|
list: stripeMethod({
|
|
method: 'GET',
|
|
fullPath: '/v1/customers',
|
|
methodType: 'list',
|
|
}),
|
|
del: stripeMethod({ method: 'DELETE', fullPath: '/v1/customers/{customer}' }),
|
|
createFundingInstructions: stripeMethod({
|
|
method: 'POST',
|
|
fullPath: '/v1/customers/{customer}/funding_instructions',
|
|
}),
|
|
createBalanceTransaction: stripeMethod({
|
|
method: 'POST',
|
|
fullPath: '/v1/customers/{customer}/balance_transactions',
|
|
}),
|
|
createSource: stripeMethod({
|
|
method: 'POST',
|
|
fullPath: '/v1/customers/{customer}/sources',
|
|
}),
|
|
createTaxId: stripeMethod({
|
|
method: 'POST',
|
|
fullPath: '/v1/customers/{customer}/tax_ids',
|
|
}),
|
|
deleteDiscount: stripeMethod({
|
|
method: 'DELETE',
|
|
fullPath: '/v1/customers/{customer}/discount',
|
|
}),
|
|
deleteSource: stripeMethod({
|
|
method: 'DELETE',
|
|
fullPath: '/v1/customers/{customer}/sources/{id}',
|
|
}),
|
|
deleteTaxId: stripeMethod({
|
|
method: 'DELETE',
|
|
fullPath: '/v1/customers/{customer}/tax_ids/{id}',
|
|
}),
|
|
listPaymentMethods: stripeMethod({
|
|
method: 'GET',
|
|
fullPath: '/v1/customers/{customer}/payment_methods',
|
|
methodType: 'list',
|
|
}),
|
|
listBalanceTransactions: stripeMethod({
|
|
method: 'GET',
|
|
fullPath: '/v1/customers/{customer}/balance_transactions',
|
|
methodType: 'list',
|
|
}),
|
|
listCashBalanceTransactions: stripeMethod({
|
|
method: 'GET',
|
|
fullPath: '/v1/customers/{customer}/cash_balance_transactions',
|
|
methodType: 'list',
|
|
}),
|
|
listSources: stripeMethod({
|
|
method: 'GET',
|
|
fullPath: '/v1/customers/{customer}/sources',
|
|
methodType: 'list',
|
|
}),
|
|
listTaxIds: stripeMethod({
|
|
method: 'GET',
|
|
fullPath: '/v1/customers/{customer}/tax_ids',
|
|
methodType: 'list',
|
|
}),
|
|
retrievePaymentMethod: stripeMethod({
|
|
method: 'GET',
|
|
fullPath: '/v1/customers/{customer}/payment_methods/{payment_method}',
|
|
}),
|
|
retrieveBalanceTransaction: stripeMethod({
|
|
method: 'GET',
|
|
fullPath: '/v1/customers/{customer}/balance_transactions/{transaction}',
|
|
}),
|
|
retrieveCashBalance: stripeMethod({
|
|
method: 'GET',
|
|
fullPath: '/v1/customers/{customer}/cash_balance',
|
|
}),
|
|
retrieveCashBalanceTransaction: stripeMethod({
|
|
method: 'GET',
|
|
fullPath: '/v1/customers/{customer}/cash_balance_transactions/{transaction}',
|
|
}),
|
|
retrieveSource: stripeMethod({
|
|
method: 'GET',
|
|
fullPath: '/v1/customers/{customer}/sources/{id}',
|
|
}),
|
|
retrieveTaxId: stripeMethod({
|
|
method: 'GET',
|
|
fullPath: '/v1/customers/{customer}/tax_ids/{id}',
|
|
}),
|
|
search: stripeMethod({
|
|
method: 'GET',
|
|
fullPath: '/v1/customers/search',
|
|
methodType: 'search',
|
|
}),
|
|
updateBalanceTransaction: stripeMethod({
|
|
method: 'POST',
|
|
fullPath: '/v1/customers/{customer}/balance_transactions/{transaction}',
|
|
}),
|
|
updateCashBalance: stripeMethod({
|
|
method: 'POST',
|
|
fullPath: '/v1/customers/{customer}/cash_balance',
|
|
}),
|
|
updateSource: stripeMethod({
|
|
method: 'POST',
|
|
fullPath: '/v1/customers/{customer}/sources/{id}',
|
|
}),
|
|
verifySource: stripeMethod({
|
|
method: 'POST',
|
|
fullPath: '/v1/customers/{customer}/sources/{id}/verify',
|
|
}),
|
|
});
|