OSS-first docs
These docs teach the open system first: contracts, generated surfaces, runtimes, governance, and incremental adoption. Studio shows up as the operating layer on top, not as the source of truth.
Queues outbound email/SMS reminders for upcoming bills and adds an optional calendar hold.
Goal
Ensure bills are paid on time by notifying users.
Context
Finance automation. Reminders are sent via configured channels (email, SMS).
Source Definition
import { OPENBANKING_TELEMETRY_EVENTS } from '@lssm-tech/lib.contracts-integrations';
import {
defineCommand,
defineQuery,
type OperationSpec,
} from '@lssm-tech/lib.contracts-spec';
import {
OwnersEnum,
StabilityEnum,
TagsEnum,
} from '@lssm-tech/lib.contracts-spec/ownership';
import {
defineEnum,
defineSchemaModel,
ScalarTypeEnum,
type ZodSchemaModel,
} from '@lssm-tech/lib.schema';
export const schedulePaymentReminderContract = defineCommand({
meta: {
key: 'pfo.reminders.schedule-payment',
version: '1.0.0',
description:
'Queues outbound email/SMS reminders for upcoming bills and adds an optional calendar hold.',
goal: 'Ensure bills are paid on time by notifying users.',
context:
'Finance automation. Reminders are sent via configured channels (email, SMS).',
owners: [OwnersEnum.PlatformFinance],
tags: ['payments', 'reminders', TagsEnum.Automation],
stability: StabilityEnum.Beta,
},
io: {
input: PaymentReminderInputModel,
output: PaymentReminderOutputModel,
},
policy: {
auth: 'user',
},
});