From bdc517f8f368513be2e51108812bd5c6af04e484 Mon Sep 17 00:00:00 2001 From: dsinghvi Date: Fri, 6 Dec 2024 09:44:21 -0500 Subject: [PATCH 1/6] fix: rename voice to get around circular generation issue --- .gitignore | 3 ++- fern/apis/api/openapi-overrides.yml | 8 ++++++++ fern/fern.config.json | 2 +- 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 397dfa148..fe38d4938 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ -**/.preview/** \ No newline at end of file +**/.definition +**/.preview/** diff --git a/fern/apis/api/openapi-overrides.yml b/fern/apis/api/openapi-overrides.yml index 96606c7bc..75ee212c3 100644 --- a/fern/apis/api/openapi-overrides.yml +++ b/fern/apis/api/openapi-overrides.yml @@ -183,6 +183,8 @@ paths: x-fern-sdk-group-name: - analytics x-fern-sdk-method-name: get + get: + x-fern-ignore: true /logs: get: x-fern-pagination: true @@ -191,6 +193,12 @@ paths: x-fern-sdk-method-name: get components: schemas: + FallbackAzureVoice: + properties: + voiceId: + x-fern-type-name: FallbackAzureVoiceId + oneOf: + - x-fern-type-name: FallbackAzureVoiceIdEnum AzureVoice: properties: voiceId: diff --git a/fern/fern.config.json b/fern/fern.config.json index 5313b76bc..e3c5af7b8 100644 --- a/fern/fern.config.json +++ b/fern/fern.config.json @@ -1,4 +1,4 @@ { "organization": "vapi", - "version": "0.45.1" + "version": "0.45.3" } \ No newline at end of file From c52cc970d81855982713f65cda56f84969c1d1ee Mon Sep 17 00:00:00 2001 From: dsinghvi Date: Fri, 6 Dec 2024 09:53:26 -0500 Subject: [PATCH 2/6] retrigger From aa7bc0e8762e43d48b66977e40baf3e35fc4adf3 Mon Sep 17 00:00:00 2001 From: dsinghvi Date: Fri, 6 Dec 2024 11:24:49 -0500 Subject: [PATCH 3/6] disable examples on SDKs to get it building --- fern/apis/api/generators.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/fern/apis/api/generators.yml b/fern/apis/api/generators.yml index 4ddedba80..ee68ee397 100644 --- a/fern/apis/api/generators.yml +++ b/fern/apis/api/generators.yml @@ -14,6 +14,7 @@ groups: api: settings: unions: v1 + disable-examples: true output: location: pypi package-name: "vapi_server_sdk" @@ -25,7 +26,7 @@ groups: ts-sdk: generators: - name: fernapi/fern-typescript-node-sdk - version: 0.40.5 + version: 0.42.7 api: settings: unions: v1 @@ -35,6 +36,7 @@ groups: token: ${NPM_TOKEN} github: repository: VapiAI/server-sdk-typescript + disable-examples: true config: namespaceExport: Vapi allowCustomFetcher: true From e3a6e087c6e65a3b1ea5dafe94cc5c4d0f3cb89f Mon Sep 17 00:00:00 2001 From: dsinghvi Date: Fri, 6 Dec 2024 11:33:25 -0500 Subject: [PATCH 4/6] try again --- fern/apis/api/openapi-overrides.yml | 38 +++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/fern/apis/api/openapi-overrides.yml b/fern/apis/api/openapi-overrides.yml index 75ee212c3..160e2f3e0 100644 --- a/fern/apis/api/openapi-overrides.yml +++ b/fern/apis/api/openapi-overrides.yml @@ -199,6 +199,44 @@ components: x-fern-type-name: FallbackAzureVoiceId oneOf: - x-fern-type-name: FallbackAzureVoiceIdEnum + FallbackDeepgramVoice: + properties: + voiceId: + x-fern-type-name: FallbackDeepgramVoiceId + oneOf: + - x-fern-type-name: FallbackDeepgramVoiceIdEnum + FallbackElevenLabsVoice: + properties: + voiceId: + x-fern-type-name: FallbackElevenLabsVoiceId + oneOf: + - x-fern-type-name: FallbackElevenLabsVoiceIdEnum + provider: + x-fern-type: literal<"11labs"> + FallbackOpenAIVoice: + properties: + voiceId: + x-fern-type-name: FallbackOpenAIVoiceId + oneOf: + - x-fern-type-name: FallbackOpenAIVoiceIdEnum + FallbackRimeAIVoice: + properties: + voiceId: + x-fern-type-name: FallbackRimeAIVoiceId + oneOf: + - x-fern-type-name: FallbackRimeAIVoiceIdEnum + FallbackPlayHTVoice: + properties: + voiceId: + x-fern-type-name: FallbackPlayHTVoiceId + oneOf: + - x-fern-type-name: FallbackPlayHTVoiceIdEnum + FallbackLMNTVoice: + properties: + voiceId: + x-fern-type-name: FallbackLMNTVoiceId + oneOf: + - x-fern-type-name: FallbackLMNTVoiceIdEnum AzureVoice: properties: voiceId: From a06642ac8f05c256bd4c7d43e629cd975096b2ef Mon Sep 17 00:00:00 2001 From: dsinghvi Date: Fri, 6 Dec 2024 11:36:56 -0500 Subject: [PATCH 5/6] fix --- fern/apis/api/generators.yml | 2 -- fern/apis/api/openapi-overrides.yml | 6 ++++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/fern/apis/api/generators.yml b/fern/apis/api/generators.yml index ee68ee397..8b03e719c 100644 --- a/fern/apis/api/generators.yml +++ b/fern/apis/api/generators.yml @@ -14,7 +14,6 @@ groups: api: settings: unions: v1 - disable-examples: true output: location: pypi package-name: "vapi_server_sdk" @@ -36,7 +35,6 @@ groups: token: ${NPM_TOKEN} github: repository: VapiAI/server-sdk-typescript - disable-examples: true config: namespaceExport: Vapi allowCustomFetcher: true diff --git a/fern/apis/api/openapi-overrides.yml b/fern/apis/api/openapi-overrides.yml index 160e2f3e0..0053cf20e 100644 --- a/fern/apis/api/openapi-overrides.yml +++ b/fern/apis/api/openapi-overrides.yml @@ -237,6 +237,12 @@ components: x-fern-type-name: FallbackLMNTVoiceId oneOf: - x-fern-type-name: FallbackLMNTVoiceIdEnum + FallbackNeetsVoice: + properties: + voiceId: + x-fern-type-name: FallbackNeetsVoiceId + oneOf: + - x-fern-type-name: FallbackNeetsVoiceIdEnum AzureVoice: properties: voiceId: From f5694f552718647eadb39478f12129dd92304c22 Mon Sep 17 00:00:00 2001 From: dsinghvi Date: Fri, 6 Dec 2024 11:40:17 -0500 Subject: [PATCH 6/6] disable examples since recursion is causing too much bloat --- fern/apis/api/generators.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fern/apis/api/generators.yml b/fern/apis/api/generators.yml index 8b03e719c..d3dd2b4a9 100644 --- a/fern/apis/api/generators.yml +++ b/fern/apis/api/generators.yml @@ -11,6 +11,7 @@ groups: generators: - name: fernapi/fern-python-sdk version: 4.3.8 + disable-examples: true api: settings: unions: v1 @@ -26,6 +27,7 @@ groups: generators: - name: fernapi/fern-typescript-node-sdk version: 0.42.7 + disable-examples: true api: settings: unions: v1