UNPKG

@sourceloop/ctrl-plane-subscription-service

Version:

Subscription management microservice for SaaS control plane.

16 lines (15 loc) 912 B
import { Count, Filter, FilterExcludingWhere, Where } from '@loopback/repository'; import { BillingCycle } from '../models'; import { BillingCycleRepository } from '../repositories'; export declare class BillinCycleController { billingCycleRepository: BillingCycleRepository; constructor(billingCycleRepository: BillingCycleRepository); create(billingcycle: Omit<BillingCycle, 'id'>): Promise<BillingCycle>; count(where?: Where<BillingCycle>): Promise<Count>; find(filter?: Filter<BillingCycle>): Promise<BillingCycle[]>; updateAll(billingcycle: BillingCycle, where?: Where<BillingCycle>): Promise<Count>; findById(id: string, filter?: FilterExcludingWhere<BillingCycle>): Promise<BillingCycle>; updateById(id: string, billingcycle: BillingCycle): Promise<void>; replaceById(id: string, billingcycle: BillingCycle): Promise<void>; deleteById(id: string): Promise<void>; }