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

40 lines
2.4 KiB
TypeScript

export declare function getCompany(companyId: string): Promise<any>;
export declare function updateCompany(companyId: string, data: any): Promise<any>;
export declare function getBrand(companyId: string): Promise<any>;
export declare function updateBrand(companyId: string, body: any, companyName: string, companySlug: string): Promise<any>;
export declare function uploadLogo(companyId: string, companyName: string, companySlug: string, file: Buffer): Promise<any>;
export declare function uploadHeroImage(companyId: string, companyName: string, companySlug: string, file: Buffer): Promise<any>;
export declare function checkSubdomainAvailability(subdomain: string, companyId: string): Promise<{
available: boolean;
}>;
export declare function setCustomDomain(companyId: string, companyName: string, companySlug: string, customDomain: string): Promise<any>;
export declare function getCustomDomainStatus(companyId: string): Promise<{
customDomain: any;
verified: any;
status: string;
dnsTarget: string;
}>;
export declare function removeCustomDomain(companyId: string): Promise<{
success: boolean;
}>;
export declare function getContractSettings(companyId: string): Promise<any>;
export declare function updateContractSettings(companyId: string, data: any): Promise<any>;
export declare function getInsurancePolicies(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 deleteInsurancePolicy(id: string, companyId: string): Promise<void>;
export declare function getPricingRules(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 deletePricingRule(id: string, companyId: string): Promise<void>;
export declare function getAccountingSettings(companyId: string): Promise<any>;
export declare function updateAccountingSettings(companyId: string, data: any): Promise<any>;
export declare function getApiKey(companyId: string): Promise<{
apiKeys: any;
}>;
export declare function regenerateApiKey(companyId: string): Promise<{
apiKey: string;
prefix: string;
warning: string;
}>;
//# sourceMappingURL=company.service.d.ts.map