Skip to content

Commit d4d36d4

Browse files
committed
chore: rename
1 parent 00536a1 commit d4d36d4

3 files changed

Lines changed: 3 additions & 2 deletions

File tree

packages/features/ee/cal-ai-phone/providers/retell-ai/provider.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ import type {
1515
AIPhoneServiceImportPhoneNumberParams,
1616
AIPhoneServiceUpdatePhoneNumberParams,
1717
AIPhoneServiceAgentListItem,
18+
AIPhoneServiceImportPhoneNumberParamsExtended,
1819
AIPhoneServiceAgentWithDetails,
1920
} from "../../interfaces/ai-phone-service.interface";
2021
import { RetellAIService } from "./service";
@@ -102,7 +103,7 @@ export class RetellAIProvider implements AIPhoneServiceProvider<AIPhoneServicePr
102103
return result;
103104
}
104105

105-
async importPhoneNumber(data: AIPhoneServiceImportPhoneNumberParams<AIPhoneServiceProviderType.RETELL_AI>): Promise<AIPhoneServicePhoneNumber<AIPhoneServiceProviderType.RETELL_AI>> {
106+
async importPhoneNumber(data: AIPhoneServiceImportPhoneNumberParamsExtended<AIPhoneServiceProviderType.RETELL_AI>): Promise<AIPhoneServicePhoneNumber<AIPhoneServiceProviderType.RETELL_AI>> {
106107
const result = await this.service.importPhoneNumber(data);
107108
return result;
108109
}

packages/features/ee/cal-ai-phone/providers/retell-ai/service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -789,7 +789,7 @@ export class RetellAIService {
789789

790790
if (availableCredits < MIN_CREDIT_REQUIRED_FOR_TEST_CALL) {
791791
throw new Error(
792-
`Insufficient credits to make test call. Need ${requiredCredits} credits, have ${availableCredits}. Please purchase more credits.`
792+
`Insufficient credits to make test call. Need ${MIN_CREDIT_REQUIRED_FOR_TEST_CALL} credits, have ${availableCredits}. Please purchase more credits.`
793793
);
794794
}
795795

packages/lib/server/repository/phoneNumberRespository.ts renamed to packages/lib/server/repository/phoneNumberRepository.ts

File renamed without changes.

0 commit comments

Comments
 (0)