Files
alrahma_sunday_school_api/apps/api/dist/modules/companies/company.repo.d.ts
T
2026-06-11 03:22:12 -04:00

30 lines
2.0 KiB
TypeScript

export declare function findCompany(companyId: string): Promise<any>;
export declare function updateCompany(companyId: string, data: any): Promise<any>;
export declare function findBrand(companyId: string): Promise<any>;
export declare function upsertBrand(companyId: string, updateData: any, createData: any): Promise<any>;
export declare function findContractSettings(companyId: string): Promise<any>;
export declare function upsertContractSettings(companyId: string, data: any): Promise<any>;
export declare function findInsurancePolicies(companyId: string): Promise<any>;
export declare function createInsurancePolicy(companyId: string, data: any): Promise<any>;
export declare function updateInsurancePolicy(id: string, companyId: string, data: any): Promise<any>;
export declare function findInsurancePolicyOrThrow(id: string): Promise<any>;
export declare function deleteInsurancePolicy(id: string, companyId: string): Promise<any>;
export declare function findPricingRules(companyId: string): Promise<any>;
export declare function createPricingRule(companyId: string, data: any): Promise<any>;
export declare function updatePricingRule(id: string, companyId: string, data: any): Promise<any>;
export declare function findPricingRuleOrThrow(id: string): Promise<any>;
export declare function deletePricingRule(id: string, companyId: string): Promise<any>;
export declare function findAccountingSettings(companyId: string): Promise<any>;
export declare function upsertAccountingSettings(companyId: string, data: any): Promise<any>;
export declare function findApiKey(companyId: string): Promise<{
apiKeys: any;
}>;
export declare function regenerateApiKey(companyId: string): Promise<{
apiKey: string;
prefix: string;
warning: string;
}>;
export declare function findBrandBySubdomain(subdomain: string, excludeCompanyId: string): Promise<any>;
export declare function findBrandByCustomDomain(customDomain: string, excludeCompanyId: string): Promise<any>;
export declare function clearCustomDomain(companyId: string): Promise<any>;
//# sourceMappingURL=company.repo.d.ts.map