UNPKG

@starsched/sdk

Version:

ABA clinic control and management service API SDK

27 lines 974 B
import type { StarSchedAPIProtocols } from '../../../common/types/common'; import type { HttpClientProtocols } from '../../../http/protocols/client.protocols'; import type { Company } from './company'; export declare namespace GetMyCompanies { type Options = Pick<HttpClientProtocols.GetOptions, 'abortSignal'>; type Success = Company[]; type ErrorCodes = 'token.not.provided' | 'token.invalid' | 'token.expired' | 'user.not.exists' | 'internal'; type Failure = { code: "token.not.provided"; message: string; } | { code: "token.invalid"; message: string; } | { code: "token.expired"; message: string; } | { code: "user.not.exists"; message: string; } | { code: "internal"; message: string; }; type Output = Success | Failure; type Response = StarSchedAPIProtocols.Response<Success, Failure>; } //# sourceMappingURL=get-my-companies.protocols.d.ts.map