From ab4299ca645615135393f73e0cc74dd3e597c1f0 Mon Sep 17 00:00:00 2001 From: fern-api <115122769+fern-api[bot]@users.noreply.github.com> Date: Thu, 5 Sep 2024 16:26:04 +0000 Subject: [PATCH] Release 0.0.1-beta17 --- package.json | 2 +- reference.md | 1782 ++++++++++++++++- src/Client.ts | 324 ++- .../aiAnimationGenerator/client/Client.ts | 140 ++ .../aiAnimationGenerator/client/index.ts | 1 + .../client/requests/StatusDeforumSdRequest.ts | 13 + .../client/requests/index.ts | 1 + .../resources/aiAnimationGenerator/index.ts | 1 + .../resources/aiArtQrCode/client/Client.ts | 140 ++ src/api/resources/aiArtQrCode/client/index.ts | 1 + .../client/requests/StatusArtQrCodeRequest.ts | 13 + .../aiArtQrCode/client/requests/index.ts | 1 + src/api/resources/aiArtQrCode/index.ts | 1 + .../aiBackgroundChanger/client/Client.ts | 140 ++ .../aiBackgroundChanger/client/index.ts | 1 + .../StatusImageSegmentationRequest.ts | 13 + .../client/requests/index.ts | 1 + .../resources/aiBackgroundChanger/index.ts | 1 + .../client/Client.ts | 140 ++ .../client/index.ts | 1 + .../StatusEmailFaceInpaintingRequest.ts | 13 + .../client/requests/index.ts | 1 + .../index.ts | 1 + .../aiImageWithAFace/client/Client.ts | 140 ++ .../aiImageWithAFace/client/index.ts | 1 + .../requests/StatusFaceInpaintingRequest.ts | 13 + .../aiImageWithAFace/client/requests/index.ts | 1 + src/api/resources/aiImageWithAFace/index.ts | 1 + src/api/resources/bulkRunner/client/Client.ts | 102 +- src/api/resources/bulkRunner/client/index.ts | 2 +- .../requests/StatusBulkRunnerRequest.ts | 13 + .../bulkRunner/client/requests/index.ts | 1 + .../resources/chyronPlantBot/client/Client.ts | 140 ++ .../resources/chyronPlantBot/client/index.ts | 1 + .../requests/StatusChyronPlantRequest.ts | 13 + .../chyronPlantBot/client/requests/index.ts | 1 + src/api/resources/chyronPlantBot/index.ts | 1 + .../compareAiImageGenerators/client/Client.ts | 140 ++ .../compareAiImageGenerators/client/index.ts | 1 + .../requests/StatusCompareText2ImgRequest.ts | 13 + .../client/requests/index.ts | 1 + .../compareAiImageGenerators/index.ts | 1 + .../compareAiImageUpscalers/client/Client.ts | 140 ++ .../compareAiImageUpscalers/client/index.ts | 1 + .../StatusCompareAiUpscalersRequest.ts | 13 + .../client/requests/index.ts | 1 + .../compareAiImageUpscalers/index.ts | 1 + .../compareAiTranslations/client/Client.ts | 140 ++ .../compareAiTranslations/client/index.ts | 1 + .../client/requests/StatusTranslateRequest.ts | 13 + .../client/requests/index.ts | 1 + .../resources/compareAiTranslations/index.ts | 1 + .../compareAiVoiceGenerators/client/Client.ts | 140 ++ .../compareAiVoiceGenerators/client/index.ts | 1 + .../requests/StatusTextToSpeechRequest.ts | 13 + .../client/requests/index.ts | 1 + .../compareAiVoiceGenerators/index.ts | 1 + .../copilotForYourEnterprise/client/Client.ts | 100 +- .../client/requests/StatusVideoBotsRequest.ts | 13 + .../client/requests/index.ts | 1 + .../copilotIntegrations/client/Client.ts | 4 +- .../client/Client.ts | 140 ++ .../client/index.ts | 1 + .../requests/StatusSeoSummaryRequest.ts | 13 + .../client/requests/index.ts | 1 + .../index.ts | 1 + .../editAnImageWithAiPrompt/client/Client.ts | 140 ++ .../editAnImageWithAiPrompt/client/index.ts | 1 + .../client/requests/StatusImg2ImgRequest.ts | 13 + .../client/requests/index.ts | 1 + .../editAnImageWithAiPrompt/index.ts | 1 + src/api/resources/embeddings/client/Client.ts | 102 +- src/api/resources/embeddings/client/index.ts | 2 +- .../requests/StatusEmbeddingsRequest.ts | 13 + .../embeddings/client/requests/index.ts | 1 + src/api/resources/evaluator/client/Client.ts | 100 +- .../client/requests/StatusBulkEvalRequest.ts | 13 + .../evaluator/client/requests/index.ts | 1 + src/api/resources/functions/client/Client.ts | 102 +- .../client/requests/StatusFunctionsRequest.ts | 13 + .../functions/client/requests/index.ts | 1 + .../client/Client.ts | 140 ++ .../client/index.ts | 1 + .../requests/StatusRelatedQnaMakerRequest.ts | 13 + .../client/requests/index.ts | 1 + .../generatePeopleAlsoAskSeoContent/index.ts | 1 + .../client/Client.ts | 140 ++ .../client/index.ts | 1 + .../requests/StatusObjectInpaintingRequest.ts | 13 + .../client/requests/index.ts | 1 + .../generateProductPhotoBackgrounds/index.ts | 1 + src/api/resources/index.ts | 58 +- .../largeLanguageModelsGpt3/client/Client.ts | 140 ++ .../largeLanguageModelsGpt3/client/index.ts | 1 + .../requests/StatusCompareLlmRequest.ts | 13 + .../client/requests/index.ts | 1 + .../largeLanguageModelsGpt3/index.ts | 1 + .../resources/letterWriter/client/Client.ts | 140 ++ .../resources/letterWriter/client/index.ts | 1 + .../requests/StatusLetterWriterRequest.ts | 13 + .../letterWriter/client/requests/index.ts | 1 + src/api/resources/letterWriter/index.ts | 1 + src/api/resources/lipSyncing/client/Client.ts | 100 +- .../client/requests/StatusLipsyncRequest.ts | 13 + .../lipSyncing/client/requests/index.ts | 1 + .../lipsyncVideoWithAnyText/client/Client.ts | 140 ++ .../lipsyncVideoWithAnyText/client/index.ts | 1 + .../requests/StatusLipsyncTtsRequest.ts | 13 + .../client/requests/index.ts | 1 + .../lipsyncVideoWithAnyText/index.ts | 1 + src/api/resources/misc/client/Client.ts | 4 +- .../client/Client.ts | 140 ++ .../client/index.ts | 1 + .../StatusRelatedQnaMakerDocRequest.ts | 13 + .../client/requests/index.ts | 1 + .../peopleAlsoAskAnswersFromADoc/index.ts | 1 + .../client/Client.ts | 140 ++ .../client/index.ts | 1 + .../StatusSocialLookupEmailRequest.ts | 13 + .../client/requests/index.ts | 1 + .../index.ts | 1 + .../client/Client.ts | 140 ++ .../client/index.ts | 1 + .../requests/StatusGoogleImageGenRequest.ts | 13 + .../client/requests/index.ts | 1 + .../renderImageSearchResultsWithAi/index.ts | 1 + .../searchYourDocsWithGpt/client/Client.ts | 140 ++ .../searchYourDocsWithGpt/client/index.ts | 1 + .../client/requests/StatusDocSearchRequest.ts | 13 + .../client/requests/index.ts | 1 + .../resources/searchYourDocsWithGpt/index.ts | 1 + src/api/resources/smartGpt/client/Client.ts | 102 +- .../client/requests/StatusSmartGptRequest.ts | 13 + .../smartGpt/client/requests/index.ts | 1 + .../client/Client.ts | 140 ++ .../client/index.ts | 1 + .../client/requests/StatusAsrRequest.ts | 13 + .../client/requests/index.ts | 1 + .../speechRecognitionTranslation/index.ts | 1 + .../summarizeYourDocsWithGpt/client/Client.ts | 140 ++ .../summarizeYourDocsWithGpt/client/index.ts | 1 + .../requests/StatusDocSummaryRequest.ts | 13 + .../client/requests/index.ts | 1 + .../summarizeYourDocsWithGpt/index.ts | 1 + .../client/Client.ts | 140 ++ .../client/index.ts | 1 + .../requests/StatusDocExtractRequest.ts | 13 + .../client/requests/index.ts | 1 + .../syntheticDataMakerForVideosPdFs/index.ts | 1 + .../textGuidedAudioGenerator/client/Client.ts | 140 ++ .../textGuidedAudioGenerator/client/index.ts | 1 + .../requests/StatusText2AudioRequest.ts | 13 + .../client/requests/index.ts | 1 + .../textGuidedAudioGenerator/index.ts | 1 + .../resources/webSearchGpt3/client/Client.ts | 140 ++ .../resources/webSearchGpt3/client/index.ts | 1 + .../client/requests/StatusGoogleGptRequest.ts | 13 + .../webSearchGpt3/client/requests/index.ts | 1 + src/api/resources/webSearchGpt3/index.ts | 1 + src/api/types/AggFunction.ts | 10 - src/api/types/AggFunctionFunction.ts | 40 - src/api/types/AnimationPrompt.ts | 8 - src/api/types/AsrPageRequest.ts | 26 - src/api/types/AsrPageRequestOutputFormat.ts | 12 - src/api/types/AsrPageRequestSelectedModel.ts | 36 - .../types/AsrPageRequestTranslationModel.ts | 10 - src/api/types/BodyAsyncFormArtQrCode.ts | 4 +- src/api/types/BodyAsyncFormAsr.ts | 4 +- src/api/types/BodyAsyncFormBulkEval.ts | 4 +- src/api/types/BodyAsyncFormBulkRunner.ts | 4 +- src/api/types/BodyAsyncFormChyronPlant.ts | 4 +- .../types/BodyAsyncFormCompareAiUpscalers.ts | 4 +- src/api/types/BodyAsyncFormCompareLlm.ts | 4 +- src/api/types/BodyAsyncFormCompareText2Img.ts | 4 +- src/api/types/BodyAsyncFormDeforumSd.ts | 4 +- src/api/types/BodyAsyncFormDocExtract.ts | 4 +- src/api/types/BodyAsyncFormDocSearch.ts | 4 +- src/api/types/BodyAsyncFormDocSummary.ts | 4 +- .../types/BodyAsyncFormEmailFaceInpainting.ts | 4 +- src/api/types/BodyAsyncFormEmbeddings.ts | 4 +- src/api/types/BodyAsyncFormFaceInpainting.ts | 4 +- src/api/types/BodyAsyncFormFunctions.ts | 4 +- src/api/types/BodyAsyncFormGoogleGpt.ts | 4 +- src/api/types/BodyAsyncFormGoogleImageGen.ts | 4 +- .../types/BodyAsyncFormImageSegmentation.ts | 4 +- src/api/types/BodyAsyncFormImg2Img.ts | 4 +- src/api/types/BodyAsyncFormLetterWriter.ts | 4 +- src/api/types/BodyAsyncFormLipsync.ts | 4 +- src/api/types/BodyAsyncFormLipsyncTts.ts | 4 +- .../types/BodyAsyncFormObjectInpainting.ts | 4 +- src/api/types/BodyAsyncFormRelatedQnaMaker.ts | 4 +- .../types/BodyAsyncFormRelatedQnaMakerDoc.ts | 4 +- src/api/types/BodyAsyncFormSeoSummary.ts | 4 +- src/api/types/BodyAsyncFormSmartGpt.ts | 4 +- .../types/BodyAsyncFormSocialLookupEmail.ts | 4 +- src/api/types/BodyAsyncFormText2Audio.ts | 4 +- src/api/types/BodyAsyncFormTextToSpeech.ts | 4 +- src/api/types/BodyAsyncFormTranslate.ts | 4 +- src/api/types/BodyAsyncFormVideoBots.ts | 4 +- src/api/types/BulkEvalPageRequest.ts | 33 - .../BulkEvalPageRequestResponseFormatType.ts | 10 - .../types/BulkEvalPageRequestSelectedModel.ts | 84 - src/api/types/BulkRunnerPageRequest.ts | 29 - src/api/types/ChyronPlantPageRequest.ts | 15 - src/api/types/CompareLlmPageRequest.ts | 20 - ...CompareLlmPageRequestResponseFormatType.ts | 10 - ...CompareLlmPageRequestSelectedModelsItem.ts | 84 - src/api/types/CompareText2ImgPageRequest.ts | 27 - .../CompareText2ImgPageRequestScheduler.ts | 36 - ...reText2ImgPageRequestSelectedModelsItem.ts | 34 - src/api/types/CompareUpscalerPageRequest.ts | 20 - ...reUpscalerPageRequestSelectedModelsItem.ts | 18 - src/api/types/DeforumSdPageRequest.ts | 24 - .../DeforumSdPageRequestSelectedModel.ts | 10 - src/api/types/DocExtractPageRequest.ts | 29 - ...DocExtractPageRequestResponseFormatType.ts | 10 - .../DocExtractPageRequestSelectedAsrModel.ts | 36 - .../DocExtractPageRequestSelectedModel.ts | 84 - src/api/types/DocSearchPageRequest.ts | 35 - .../DocSearchPageRequestCitationStyle.ts | 40 - .../DocSearchPageRequestEmbeddingModel.ts | 26 - .../types/DocSearchPageRequestKeywordQuery.ts | 5 - .../DocSearchPageRequestResponseFormatType.ts | 10 - .../DocSearchPageRequestSelectedModel.ts | 84 - src/api/types/DocSummaryPageRequest.ts | 25 - ...DocSummaryPageRequestResponseFormatType.ts | 10 - .../DocSummaryPageRequestSelectedAsrModel.ts | 36 - .../DocSummaryPageRequestSelectedModel.ts | 84 - .../types/EmailFaceInpaintingPageRequest.ts | 35 - ...lFaceInpaintingPageRequestSelectedModel.ts | 12 - src/api/types/EmbeddingsPageRequest.ts | 14 - .../EmbeddingsPageRequestSelectedModel.ts | 26 - src/api/types/EvalPrompt.ts | 8 - src/api/types/FaceInpaintingPageRequest.ts | 26 - .../FaceInpaintingPageRequestSelectedModel.ts | 12 - src/api/types/FunctionsPageRequest.ts | 13 - src/api/types/GoogleGptPageRequest.ts | 39 - .../GoogleGptPageRequestEmbeddingModel.ts | 26 - .../GoogleGptPageRequestResponseFormatType.ts | 10 - .../GoogleGptPageRequestSelectedModel.ts | 84 - src/api/types/GoogleImageGenPageRequest.ts | 26 - .../GoogleImageGenPageRequestSelectedModel.ts | 32 - src/api/types/ImageSegmentationPageRequest.ts | 20 - ...ageSegmentationPageRequestSelectedModel.ts | 10 - src/api/types/Img2ImgPageRequest.ts | 26 - ...g2ImgPageRequestSelectedControlnetModel.ts | 19 - ...gPageRequestSelectedControlnetModelItem.ts | 30 - .../types/Img2ImgPageRequestSelectedModel.ts | 32 - src/api/types/LetterWriterPageRequest.ts | 26 - src/api/types/LipsyncPageRequest.ts | 20 - .../types/LipsyncPageRequestSelectedModel.ts | 10 - src/api/types/LipsyncTtsPageRequest.ts | 39 - .../LipsyncTtsPageRequestOpenaiTtsModel.ts | 10 - .../LipsyncTtsPageRequestOpenaiVoiceName.ts | 14 - .../LipsyncTtsPageRequestSelectedModel.ts | 10 - .../types/LipsyncTtsPageRequestTtsProvider.ts | 20 - src/api/types/ObjectInpaintingPageRequest.ts | 27 - ...bjectInpaintingPageRequestSelectedModel.ts | 12 - src/api/types/QrCodeGeneratorPageRequest.ts | 38 - ...eRequestImagePromptControlnetModelsItem.ts | 30 - .../QrCodeGeneratorPageRequestScheduler.ts | 36 - ...rPageRequestSelectedControlnetModelItem.ts | 30 - ...QrCodeGeneratorPageRequestSelectedModel.ts | 34 - src/api/types/RelatedQnADocPageRequest.ts | 41 - .../RelatedQnADocPageRequestCitationStyle.ts | 40 - .../RelatedQnADocPageRequestEmbeddingModel.ts | 26 - .../RelatedQnADocPageRequestKeywordQuery.ts | 5 - ...atedQnADocPageRequestResponseFormatType.ts | 10 - .../RelatedQnADocPageRequestSelectedModel.ts | 84 - src/api/types/RelatedQnAPageRequest.ts | 39 - .../RelatedQnAPageRequestEmbeddingModel.ts | 26 - ...RelatedQnAPageRequestResponseFormatType.ts | 10 - .../RelatedQnAPageRequestSelectedModel.ts | 84 - src/api/types/RunSettings.ts | 10 - src/api/types/RunSettingsRetentionPolicy.ts | 13 - src/api/types/SeoSummaryPageRequest.ts | 31 - ...SeoSummaryPageRequestResponseFormatType.ts | 10 - .../SeoSummaryPageRequestSelectedModel.ts | 84 - src/api/types/SerpSearchLocation.ts | 489 ----- src/api/types/SerpSearchType.ts | 16 - src/api/types/SmartGptPageRequest.ts | 23 - .../SmartGptPageRequestResponseFormatType.ts | 10 - .../types/SmartGptPageRequestSelectedModel.ts | 84 - src/api/types/SocialLookupEmailPageRequest.ts | 21 - ...ookupEmailPageRequestResponseFormatType.ts | 10 - ...cialLookupEmailPageRequestSelectedModel.ts | 84 - src/api/types/Text2AudioPageRequest.ts | 21 - src/api/types/TextToSpeechPageRequest.ts | 32 - .../TextToSpeechPageRequestOpenaiTtsModel.ts | 10 - .../TextToSpeechPageRequestOpenaiVoiceName.ts | 14 - .../TextToSpeechPageRequestTtsProvider.ts | 20 - src/api/types/TrainingDataModel.ts | 8 - src/api/types/TranslationPageRequest.ts | 21 - .../TranslationPageRequestSelectedModel.ts | 10 - src/api/types/Vcard.ts | 32 - src/api/types/VideoBotsPageRequest.ts | 83 - src/api/types/VideoBotsPageRequestAsrModel.ts | 39 - .../VideoBotsPageRequestCitationStyle.ts | 40 - .../VideoBotsPageRequestEmbeddingModel.ts | 26 - .../types/VideoBotsPageRequestLipsyncModel.ts | 10 - .../VideoBotsPageRequestOpenaiTtsModel.ts | 10 - .../VideoBotsPageRequestOpenaiVoiceName.ts | 14 - .../VideoBotsPageRequestResponseFormatType.ts | 10 - .../VideoBotsPageRequestSelectedModel.ts | 84 - .../VideoBotsPageRequestTranslationModel.ts | 10 - .../types/VideoBotsPageRequestTtsProvider.ts | 20 - src/api/types/index.ts | 114 -- src/serialization/types/AggFunction.ts | 21 - .../types/AggFunctionFunction.ts | 49 - src/serialization/types/AnimationPrompt.ts | 20 - src/serialization/types/AsrPageRequest.ts | 48 - .../types/AsrPageRequestOutputFormat.ts | 16 - .../types/AsrPageRequestSelectedModel.ts | 45 - .../types/AsrPageRequestTranslationModel.ts | 16 - .../types/BodyAsyncFormArtQrCode.ts | 5 +- src/serialization/types/BodyAsyncFormAsr.ts | 5 +- .../types/BodyAsyncFormBulkEval.ts | 5 +- .../types/BodyAsyncFormBulkRunner.ts | 5 +- .../types/BodyAsyncFormChyronPlant.ts | 5 +- .../types/BodyAsyncFormCompareAiUpscalers.ts | 5 +- .../types/BodyAsyncFormCompareLlm.ts | 5 +- .../types/BodyAsyncFormCompareText2Img.ts | 5 +- .../types/BodyAsyncFormDeforumSd.ts | 5 +- .../types/BodyAsyncFormDocExtract.ts | 5 +- .../types/BodyAsyncFormDocSearch.ts | 5 +- .../types/BodyAsyncFormDocSummary.ts | 5 +- .../types/BodyAsyncFormEmailFaceInpainting.ts | 5 +- .../types/BodyAsyncFormEmbeddings.ts | 5 +- .../types/BodyAsyncFormFaceInpainting.ts | 5 +- .../types/BodyAsyncFormFunctions.ts | 5 +- .../types/BodyAsyncFormGoogleGpt.ts | 5 +- .../types/BodyAsyncFormGoogleImageGen.ts | 5 +- .../types/BodyAsyncFormImageSegmentation.ts | 5 +- .../types/BodyAsyncFormImg2Img.ts | 5 +- .../types/BodyAsyncFormLetterWriter.ts | 5 +- .../types/BodyAsyncFormLipsync.ts | 5 +- .../types/BodyAsyncFormLipsyncTts.ts | 5 +- .../types/BodyAsyncFormObjectInpainting.ts | 5 +- .../types/BodyAsyncFormRelatedQnaMaker.ts | 5 +- .../types/BodyAsyncFormRelatedQnaMakerDoc.ts | 5 +- .../types/BodyAsyncFormSeoSummary.ts | 5 +- .../types/BodyAsyncFormSmartGpt.ts | 5 +- .../types/BodyAsyncFormSocialLookupEmail.ts | 5 +- .../types/BodyAsyncFormText2Audio.ts | 5 +- .../types/BodyAsyncFormTextToSpeech.ts | 5 +- .../types/BodyAsyncFormTranslate.ts | 5 +- .../types/BodyAsyncFormVideoBots.ts | 5 +- .../types/BulkEvalPageRequest.ts | 53 - .../BulkEvalPageRequestResponseFormatType.ts | 16 - .../types/BulkEvalPageRequestSelectedModel.ts | 93 - .../types/BulkRunnerPageRequest.ts | 42 - .../types/ChyronPlantPageRequest.ts | 32 - .../types/CompareLlmPageRequest.ts | 50 - ...CompareLlmPageRequestResponseFormatType.ts | 16 - ...CompareLlmPageRequestSelectedModelsItem.ts | 93 - .../types/CompareText2ImgPageRequest.ts | 61 - .../CompareText2ImgPageRequestScheduler.ts | 45 - ...reText2ImgPageRequestSelectedModelsItem.ts | 43 - .../types/CompareUpscalerPageRequest.ts | 43 - ...reUpscalerPageRequestSelectedModelsItem.ts | 16 - .../types/DeforumSdPageRequest.ts | 52 - .../DeforumSdPageRequestSelectedModel.ts | 16 - .../types/DocExtractPageRequest.ts | 64 - ...DocExtractPageRequestResponseFormatType.ts | 16 - .../DocExtractPageRequestSelectedAsrModel.ts | 45 - .../DocExtractPageRequestSelectedModel.ts | 93 - .../types/DocSearchPageRequest.ts | 72 - .../DocSearchPageRequestCitationStyle.ts | 49 - .../DocSearchPageRequestEmbeddingModel.ts | 35 - .../types/DocSearchPageRequestKeywordQuery.ts | 19 - .../DocSearchPageRequestResponseFormatType.ts | 16 - .../DocSearchPageRequestSelectedModel.ts | 93 - .../types/DocSummaryPageRequest.ts | 64 - ...DocSummaryPageRequestResponseFormatType.ts | 16 - .../DocSummaryPageRequestSelectedAsrModel.ts | 45 - .../DocSummaryPageRequestSelectedModel.ts | 93 - .../types/EmailFaceInpaintingPageRequest.ts | 76 - ...lFaceInpaintingPageRequestSelectedModel.ts | 16 - .../types/EmbeddingsPageRequest.ts | 31 - .../EmbeddingsPageRequestSelectedModel.ts | 35 - src/serialization/types/EvalPrompt.ts | 20 - .../types/FaceInpaintingPageRequest.ts | 55 - .../FaceInpaintingPageRequestSelectedModel.ts | 16 - .../types/FunctionsPageRequest.ts | 25 - .../types/GoogleGptPageRequest.ts | 79 - .../GoogleGptPageRequestEmbeddingModel.ts | 35 - .../GoogleGptPageRequestResponseFormatType.ts | 16 - .../GoogleGptPageRequestSelectedModel.ts | 93 - .../types/GoogleImageGenPageRequest.ts | 57 - .../GoogleImageGenPageRequestSelectedModel.ts | 41 - .../types/ImageSegmentationPageRequest.ts | 46 - ...ageSegmentationPageRequestSelectedModel.ts | 16 - src/serialization/types/Img2ImgPageRequest.ts | 62 - ...g2ImgPageRequestSelectedControlnetModel.ts | 42 - ...gPageRequestSelectedControlnetModelItem.ts | 39 - .../types/Img2ImgPageRequestSelectedModel.ts | 41 - .../types/LetterWriterPageRequest.ts | 61 - src/serialization/types/LipsyncPageRequest.ts | 44 - .../types/LipsyncPageRequestSelectedModel.ts | 16 - .../types/LipsyncTtsPageRequest.ts | 89 - .../LipsyncTtsPageRequestOpenaiTtsModel.ts | 16 - .../LipsyncTtsPageRequestOpenaiVoiceName.ts | 16 - .../LipsyncTtsPageRequestSelectedModel.ts | 16 - .../types/LipsyncTtsPageRequestTtsProvider.ts | 16 - .../types/ObjectInpaintingPageRequest.ts | 57 - ...bjectInpaintingPageRequestSelectedModel.ts | 16 - .../types/QrCodeGeneratorPageRequest.ts | 92 - ...eRequestImagePromptControlnetModelsItem.ts | 39 - .../QrCodeGeneratorPageRequestScheduler.ts | 45 - ...rPageRequestSelectedControlnetModelItem.ts | 39 - ...QrCodeGeneratorPageRequestSelectedModel.ts | 43 - .../types/RelatedQnADocPageRequest.ts | 85 - .../RelatedQnADocPageRequestCitationStyle.ts | 49 - .../RelatedQnADocPageRequestEmbeddingModel.ts | 35 - .../RelatedQnADocPageRequestKeywordQuery.ts | 19 - ...atedQnADocPageRequestResponseFormatType.ts | 16 - .../RelatedQnADocPageRequestSelectedModel.ts | 93 - .../types/RelatedQnAPageRequest.ts | 79 - .../RelatedQnAPageRequestEmbeddingModel.ts | 35 - ...RelatedQnAPageRequestResponseFormatType.ts | 16 - .../RelatedQnAPageRequestSelectedModel.ts | 93 - src/serialization/types/RunSettings.ts | 19 - .../types/RunSettingsRetentionPolicy.ts | 16 - .../types/SeoSummaryPageRequest.ts | 71 - ...SeoSummaryPageRequestResponseFormatType.ts | 16 - .../SeoSummaryPageRequestSelectedModel.ts | 93 - src/serialization/types/SerpSearchLocation.ts | 495 ----- src/serialization/types/SerpSearchType.ts | 14 - .../types/SmartGptPageRequest.ts | 53 - .../SmartGptPageRequestResponseFormatType.ts | 16 - .../types/SmartGptPageRequestSelectedModel.ts | 93 - .../types/SocialLookupEmailPageRequest.ts | 49 - ...ookupEmailPageRequestResponseFormatType.ts | 16 - ...cialLookupEmailPageRequestSelectedModel.ts | 93 - .../types/Text2AudioPageRequest.ts | 47 - .../types/TextToSpeechPageRequest.ts | 76 - .../TextToSpeechPageRequestOpenaiTtsModel.ts | 16 - .../TextToSpeechPageRequestOpenaiVoiceName.ts | 16 - .../TextToSpeechPageRequestTtsProvider.ts | 16 - src/serialization/types/TrainingDataModel.ts | 22 - .../types/TranslationPageRequest.ts | 37 - .../TranslationPageRequestSelectedModel.ts | 16 - src/serialization/types/Vcard.ts | 70 - .../types/VideoBotsPageRequest.ts | 176 -- .../types/VideoBotsPageRequestAsrModel.ts | 45 - .../VideoBotsPageRequestCitationStyle.ts | 49 - .../VideoBotsPageRequestEmbeddingModel.ts | 35 - .../types/VideoBotsPageRequestLipsyncModel.ts | 16 - .../VideoBotsPageRequestOpenaiTtsModel.ts | 16 - .../VideoBotsPageRequestOpenaiVoiceName.ts | 16 - .../VideoBotsPageRequestResponseFormatType.ts | 16 - .../VideoBotsPageRequestSelectedModel.ts | 93 - .../VideoBotsPageRequestTranslationModel.ts | 16 - .../types/VideoBotsPageRequestTtsProvider.ts | 16 - src/serialization/types/index.ts | 114 -- 455 files changed, 7013 insertions(+), 9708 deletions(-) create mode 100644 src/api/resources/aiAnimationGenerator/client/Client.ts create mode 100644 src/api/resources/aiAnimationGenerator/client/index.ts create mode 100644 src/api/resources/aiAnimationGenerator/client/requests/StatusDeforumSdRequest.ts create mode 100644 src/api/resources/aiAnimationGenerator/client/requests/index.ts create mode 100644 src/api/resources/aiAnimationGenerator/index.ts create mode 100644 src/api/resources/aiArtQrCode/client/Client.ts create mode 100644 src/api/resources/aiArtQrCode/client/index.ts create mode 100644 src/api/resources/aiArtQrCode/client/requests/StatusArtQrCodeRequest.ts create mode 100644 src/api/resources/aiArtQrCode/client/requests/index.ts create mode 100644 src/api/resources/aiArtQrCode/index.ts create mode 100644 src/api/resources/aiBackgroundChanger/client/Client.ts create mode 100644 src/api/resources/aiBackgroundChanger/client/index.ts create mode 100644 src/api/resources/aiBackgroundChanger/client/requests/StatusImageSegmentationRequest.ts create mode 100644 src/api/resources/aiBackgroundChanger/client/requests/index.ts create mode 100644 src/api/resources/aiBackgroundChanger/index.ts create mode 100644 src/api/resources/aiGeneratedPhotoFromEmailProfileLookup/client/Client.ts create mode 100644 src/api/resources/aiGeneratedPhotoFromEmailProfileLookup/client/index.ts create mode 100644 src/api/resources/aiGeneratedPhotoFromEmailProfileLookup/client/requests/StatusEmailFaceInpaintingRequest.ts create mode 100644 src/api/resources/aiGeneratedPhotoFromEmailProfileLookup/client/requests/index.ts create mode 100644 src/api/resources/aiGeneratedPhotoFromEmailProfileLookup/index.ts create mode 100644 src/api/resources/aiImageWithAFace/client/Client.ts create mode 100644 src/api/resources/aiImageWithAFace/client/index.ts create mode 100644 src/api/resources/aiImageWithAFace/client/requests/StatusFaceInpaintingRequest.ts create mode 100644 src/api/resources/aiImageWithAFace/client/requests/index.ts create mode 100644 src/api/resources/aiImageWithAFace/index.ts create mode 100644 src/api/resources/bulkRunner/client/requests/StatusBulkRunnerRequest.ts create mode 100644 src/api/resources/bulkRunner/client/requests/index.ts create mode 100644 src/api/resources/chyronPlantBot/client/Client.ts create mode 100644 src/api/resources/chyronPlantBot/client/index.ts create mode 100644 src/api/resources/chyronPlantBot/client/requests/StatusChyronPlantRequest.ts create mode 100644 src/api/resources/chyronPlantBot/client/requests/index.ts create mode 100644 src/api/resources/chyronPlantBot/index.ts create mode 100644 src/api/resources/compareAiImageGenerators/client/Client.ts create mode 100644 src/api/resources/compareAiImageGenerators/client/index.ts create mode 100644 src/api/resources/compareAiImageGenerators/client/requests/StatusCompareText2ImgRequest.ts create mode 100644 src/api/resources/compareAiImageGenerators/client/requests/index.ts create mode 100644 src/api/resources/compareAiImageGenerators/index.ts create mode 100644 src/api/resources/compareAiImageUpscalers/client/Client.ts create mode 100644 src/api/resources/compareAiImageUpscalers/client/index.ts create mode 100644 src/api/resources/compareAiImageUpscalers/client/requests/StatusCompareAiUpscalersRequest.ts create mode 100644 src/api/resources/compareAiImageUpscalers/client/requests/index.ts create mode 100644 src/api/resources/compareAiImageUpscalers/index.ts create mode 100644 src/api/resources/compareAiTranslations/client/Client.ts create mode 100644 src/api/resources/compareAiTranslations/client/index.ts create mode 100644 src/api/resources/compareAiTranslations/client/requests/StatusTranslateRequest.ts create mode 100644 src/api/resources/compareAiTranslations/client/requests/index.ts create mode 100644 src/api/resources/compareAiTranslations/index.ts create mode 100644 src/api/resources/compareAiVoiceGenerators/client/Client.ts create mode 100644 src/api/resources/compareAiVoiceGenerators/client/index.ts create mode 100644 src/api/resources/compareAiVoiceGenerators/client/requests/StatusTextToSpeechRequest.ts create mode 100644 src/api/resources/compareAiVoiceGenerators/client/requests/index.ts create mode 100644 src/api/resources/compareAiVoiceGenerators/index.ts create mode 100644 src/api/resources/copilotForYourEnterprise/client/requests/StatusVideoBotsRequest.ts create mode 100644 src/api/resources/createAPerfectSeoOptimizedTitleParagraph/client/Client.ts create mode 100644 src/api/resources/createAPerfectSeoOptimizedTitleParagraph/client/index.ts create mode 100644 src/api/resources/createAPerfectSeoOptimizedTitleParagraph/client/requests/StatusSeoSummaryRequest.ts create mode 100644 src/api/resources/createAPerfectSeoOptimizedTitleParagraph/client/requests/index.ts create mode 100644 src/api/resources/createAPerfectSeoOptimizedTitleParagraph/index.ts create mode 100644 src/api/resources/editAnImageWithAiPrompt/client/Client.ts create mode 100644 src/api/resources/editAnImageWithAiPrompt/client/index.ts create mode 100644 src/api/resources/editAnImageWithAiPrompt/client/requests/StatusImg2ImgRequest.ts create mode 100644 src/api/resources/editAnImageWithAiPrompt/client/requests/index.ts create mode 100644 src/api/resources/editAnImageWithAiPrompt/index.ts create mode 100644 src/api/resources/embeddings/client/requests/StatusEmbeddingsRequest.ts create mode 100644 src/api/resources/embeddings/client/requests/index.ts create mode 100644 src/api/resources/evaluator/client/requests/StatusBulkEvalRequest.ts create mode 100644 src/api/resources/functions/client/requests/StatusFunctionsRequest.ts create mode 100644 src/api/resources/generatePeopleAlsoAskSeoContent/client/Client.ts create mode 100644 src/api/resources/generatePeopleAlsoAskSeoContent/client/index.ts create mode 100644 src/api/resources/generatePeopleAlsoAskSeoContent/client/requests/StatusRelatedQnaMakerRequest.ts create mode 100644 src/api/resources/generatePeopleAlsoAskSeoContent/client/requests/index.ts create mode 100644 src/api/resources/generatePeopleAlsoAskSeoContent/index.ts create mode 100644 src/api/resources/generateProductPhotoBackgrounds/client/Client.ts create mode 100644 src/api/resources/generateProductPhotoBackgrounds/client/index.ts create mode 100644 src/api/resources/generateProductPhotoBackgrounds/client/requests/StatusObjectInpaintingRequest.ts create mode 100644 src/api/resources/generateProductPhotoBackgrounds/client/requests/index.ts create mode 100644 src/api/resources/generateProductPhotoBackgrounds/index.ts create mode 100644 src/api/resources/largeLanguageModelsGpt3/client/Client.ts create mode 100644 src/api/resources/largeLanguageModelsGpt3/client/index.ts create mode 100644 src/api/resources/largeLanguageModelsGpt3/client/requests/StatusCompareLlmRequest.ts create mode 100644 src/api/resources/largeLanguageModelsGpt3/client/requests/index.ts create mode 100644 src/api/resources/largeLanguageModelsGpt3/index.ts create mode 100644 src/api/resources/letterWriter/client/Client.ts create mode 100644 src/api/resources/letterWriter/client/index.ts create mode 100644 src/api/resources/letterWriter/client/requests/StatusLetterWriterRequest.ts create mode 100644 src/api/resources/letterWriter/client/requests/index.ts create mode 100644 src/api/resources/letterWriter/index.ts create mode 100644 src/api/resources/lipSyncing/client/requests/StatusLipsyncRequest.ts create mode 100644 src/api/resources/lipsyncVideoWithAnyText/client/Client.ts create mode 100644 src/api/resources/lipsyncVideoWithAnyText/client/index.ts create mode 100644 src/api/resources/lipsyncVideoWithAnyText/client/requests/StatusLipsyncTtsRequest.ts create mode 100644 src/api/resources/lipsyncVideoWithAnyText/client/requests/index.ts create mode 100644 src/api/resources/lipsyncVideoWithAnyText/index.ts create mode 100644 src/api/resources/peopleAlsoAskAnswersFromADoc/client/Client.ts create mode 100644 src/api/resources/peopleAlsoAskAnswersFromADoc/client/index.ts create mode 100644 src/api/resources/peopleAlsoAskAnswersFromADoc/client/requests/StatusRelatedQnaMakerDocRequest.ts create mode 100644 src/api/resources/peopleAlsoAskAnswersFromADoc/client/requests/index.ts create mode 100644 src/api/resources/peopleAlsoAskAnswersFromADoc/index.ts create mode 100644 src/api/resources/profileLookupGpt3ForAiPersonalizedEmails/client/Client.ts create mode 100644 src/api/resources/profileLookupGpt3ForAiPersonalizedEmails/client/index.ts create mode 100644 src/api/resources/profileLookupGpt3ForAiPersonalizedEmails/client/requests/StatusSocialLookupEmailRequest.ts create mode 100644 src/api/resources/profileLookupGpt3ForAiPersonalizedEmails/client/requests/index.ts create mode 100644 src/api/resources/profileLookupGpt3ForAiPersonalizedEmails/index.ts create mode 100644 src/api/resources/renderImageSearchResultsWithAi/client/Client.ts create mode 100644 src/api/resources/renderImageSearchResultsWithAi/client/index.ts create mode 100644 src/api/resources/renderImageSearchResultsWithAi/client/requests/StatusGoogleImageGenRequest.ts create mode 100644 src/api/resources/renderImageSearchResultsWithAi/client/requests/index.ts create mode 100644 src/api/resources/renderImageSearchResultsWithAi/index.ts create mode 100644 src/api/resources/searchYourDocsWithGpt/client/Client.ts create mode 100644 src/api/resources/searchYourDocsWithGpt/client/index.ts create mode 100644 src/api/resources/searchYourDocsWithGpt/client/requests/StatusDocSearchRequest.ts create mode 100644 src/api/resources/searchYourDocsWithGpt/client/requests/index.ts create mode 100644 src/api/resources/searchYourDocsWithGpt/index.ts create mode 100644 src/api/resources/smartGpt/client/requests/StatusSmartGptRequest.ts create mode 100644 src/api/resources/speechRecognitionTranslation/client/Client.ts create mode 100644 src/api/resources/speechRecognitionTranslation/client/index.ts create mode 100644 src/api/resources/speechRecognitionTranslation/client/requests/StatusAsrRequest.ts create mode 100644 src/api/resources/speechRecognitionTranslation/client/requests/index.ts create mode 100644 src/api/resources/speechRecognitionTranslation/index.ts create mode 100644 src/api/resources/summarizeYourDocsWithGpt/client/Client.ts create mode 100644 src/api/resources/summarizeYourDocsWithGpt/client/index.ts create mode 100644 src/api/resources/summarizeYourDocsWithGpt/client/requests/StatusDocSummaryRequest.ts create mode 100644 src/api/resources/summarizeYourDocsWithGpt/client/requests/index.ts create mode 100644 src/api/resources/summarizeYourDocsWithGpt/index.ts create mode 100644 src/api/resources/syntheticDataMakerForVideosPdFs/client/Client.ts create mode 100644 src/api/resources/syntheticDataMakerForVideosPdFs/client/index.ts create mode 100644 src/api/resources/syntheticDataMakerForVideosPdFs/client/requests/StatusDocExtractRequest.ts create mode 100644 src/api/resources/syntheticDataMakerForVideosPdFs/client/requests/index.ts create mode 100644 src/api/resources/syntheticDataMakerForVideosPdFs/index.ts create mode 100644 src/api/resources/textGuidedAudioGenerator/client/Client.ts create mode 100644 src/api/resources/textGuidedAudioGenerator/client/index.ts create mode 100644 src/api/resources/textGuidedAudioGenerator/client/requests/StatusText2AudioRequest.ts create mode 100644 src/api/resources/textGuidedAudioGenerator/client/requests/index.ts create mode 100644 src/api/resources/textGuidedAudioGenerator/index.ts create mode 100644 src/api/resources/webSearchGpt3/client/Client.ts create mode 100644 src/api/resources/webSearchGpt3/client/index.ts create mode 100644 src/api/resources/webSearchGpt3/client/requests/StatusGoogleGptRequest.ts create mode 100644 src/api/resources/webSearchGpt3/client/requests/index.ts create mode 100644 src/api/resources/webSearchGpt3/index.ts delete mode 100644 src/api/types/AggFunction.ts delete mode 100644 src/api/types/AggFunctionFunction.ts delete mode 100644 src/api/types/AnimationPrompt.ts delete mode 100644 src/api/types/AsrPageRequest.ts delete mode 100644 src/api/types/AsrPageRequestOutputFormat.ts delete mode 100644 src/api/types/AsrPageRequestSelectedModel.ts delete mode 100644 src/api/types/AsrPageRequestTranslationModel.ts delete mode 100644 src/api/types/BulkEvalPageRequest.ts delete mode 100644 src/api/types/BulkEvalPageRequestResponseFormatType.ts delete mode 100644 src/api/types/BulkEvalPageRequestSelectedModel.ts delete mode 100644 src/api/types/BulkRunnerPageRequest.ts delete mode 100644 src/api/types/ChyronPlantPageRequest.ts delete mode 100644 src/api/types/CompareLlmPageRequest.ts delete mode 100644 src/api/types/CompareLlmPageRequestResponseFormatType.ts delete mode 100644 src/api/types/CompareLlmPageRequestSelectedModelsItem.ts delete mode 100644 src/api/types/CompareText2ImgPageRequest.ts delete mode 100644 src/api/types/CompareText2ImgPageRequestScheduler.ts delete mode 100644 src/api/types/CompareText2ImgPageRequestSelectedModelsItem.ts delete mode 100644 src/api/types/CompareUpscalerPageRequest.ts delete mode 100644 src/api/types/CompareUpscalerPageRequestSelectedModelsItem.ts delete mode 100644 src/api/types/DeforumSdPageRequest.ts delete mode 100644 src/api/types/DeforumSdPageRequestSelectedModel.ts delete mode 100644 src/api/types/DocExtractPageRequest.ts delete mode 100644 src/api/types/DocExtractPageRequestResponseFormatType.ts delete mode 100644 src/api/types/DocExtractPageRequestSelectedAsrModel.ts delete mode 100644 src/api/types/DocExtractPageRequestSelectedModel.ts delete mode 100644 src/api/types/DocSearchPageRequest.ts delete mode 100644 src/api/types/DocSearchPageRequestCitationStyle.ts delete mode 100644 src/api/types/DocSearchPageRequestEmbeddingModel.ts delete mode 100644 src/api/types/DocSearchPageRequestKeywordQuery.ts delete mode 100644 src/api/types/DocSearchPageRequestResponseFormatType.ts delete mode 100644 src/api/types/DocSearchPageRequestSelectedModel.ts delete mode 100644 src/api/types/DocSummaryPageRequest.ts delete mode 100644 src/api/types/DocSummaryPageRequestResponseFormatType.ts delete mode 100644 src/api/types/DocSummaryPageRequestSelectedAsrModel.ts delete mode 100644 src/api/types/DocSummaryPageRequestSelectedModel.ts delete mode 100644 src/api/types/EmailFaceInpaintingPageRequest.ts delete mode 100644 src/api/types/EmailFaceInpaintingPageRequestSelectedModel.ts delete mode 100644 src/api/types/EmbeddingsPageRequest.ts delete mode 100644 src/api/types/EmbeddingsPageRequestSelectedModel.ts delete mode 100644 src/api/types/EvalPrompt.ts delete mode 100644 src/api/types/FaceInpaintingPageRequest.ts delete mode 100644 src/api/types/FaceInpaintingPageRequestSelectedModel.ts delete mode 100644 src/api/types/FunctionsPageRequest.ts delete mode 100644 src/api/types/GoogleGptPageRequest.ts delete mode 100644 src/api/types/GoogleGptPageRequestEmbeddingModel.ts delete mode 100644 src/api/types/GoogleGptPageRequestResponseFormatType.ts delete mode 100644 src/api/types/GoogleGptPageRequestSelectedModel.ts delete mode 100644 src/api/types/GoogleImageGenPageRequest.ts delete mode 100644 src/api/types/GoogleImageGenPageRequestSelectedModel.ts delete mode 100644 src/api/types/ImageSegmentationPageRequest.ts delete mode 100644 src/api/types/ImageSegmentationPageRequestSelectedModel.ts delete mode 100644 src/api/types/Img2ImgPageRequest.ts delete mode 100644 src/api/types/Img2ImgPageRequestSelectedControlnetModel.ts delete mode 100644 src/api/types/Img2ImgPageRequestSelectedControlnetModelItem.ts delete mode 100644 src/api/types/Img2ImgPageRequestSelectedModel.ts delete mode 100644 src/api/types/LetterWriterPageRequest.ts delete mode 100644 src/api/types/LipsyncPageRequest.ts delete mode 100644 src/api/types/LipsyncPageRequestSelectedModel.ts delete mode 100644 src/api/types/LipsyncTtsPageRequest.ts delete mode 100644 src/api/types/LipsyncTtsPageRequestOpenaiTtsModel.ts delete mode 100644 src/api/types/LipsyncTtsPageRequestOpenaiVoiceName.ts delete mode 100644 src/api/types/LipsyncTtsPageRequestSelectedModel.ts delete mode 100644 src/api/types/LipsyncTtsPageRequestTtsProvider.ts delete mode 100644 src/api/types/ObjectInpaintingPageRequest.ts delete mode 100644 src/api/types/ObjectInpaintingPageRequestSelectedModel.ts delete mode 100644 src/api/types/QrCodeGeneratorPageRequest.ts delete mode 100644 src/api/types/QrCodeGeneratorPageRequestImagePromptControlnetModelsItem.ts delete mode 100644 src/api/types/QrCodeGeneratorPageRequestScheduler.ts delete mode 100644 src/api/types/QrCodeGeneratorPageRequestSelectedControlnetModelItem.ts delete mode 100644 src/api/types/QrCodeGeneratorPageRequestSelectedModel.ts delete mode 100644 src/api/types/RelatedQnADocPageRequest.ts delete mode 100644 src/api/types/RelatedQnADocPageRequestCitationStyle.ts delete mode 100644 src/api/types/RelatedQnADocPageRequestEmbeddingModel.ts delete mode 100644 src/api/types/RelatedQnADocPageRequestKeywordQuery.ts delete mode 100644 src/api/types/RelatedQnADocPageRequestResponseFormatType.ts delete mode 100644 src/api/types/RelatedQnADocPageRequestSelectedModel.ts delete mode 100644 src/api/types/RelatedQnAPageRequest.ts delete mode 100644 src/api/types/RelatedQnAPageRequestEmbeddingModel.ts delete mode 100644 src/api/types/RelatedQnAPageRequestResponseFormatType.ts delete mode 100644 src/api/types/RelatedQnAPageRequestSelectedModel.ts delete mode 100644 src/api/types/RunSettings.ts delete mode 100644 src/api/types/RunSettingsRetentionPolicy.ts delete mode 100644 src/api/types/SeoSummaryPageRequest.ts delete mode 100644 src/api/types/SeoSummaryPageRequestResponseFormatType.ts delete mode 100644 src/api/types/SeoSummaryPageRequestSelectedModel.ts delete mode 100644 src/api/types/SerpSearchLocation.ts delete mode 100644 src/api/types/SerpSearchType.ts delete mode 100644 src/api/types/SmartGptPageRequest.ts delete mode 100644 src/api/types/SmartGptPageRequestResponseFormatType.ts delete mode 100644 src/api/types/SmartGptPageRequestSelectedModel.ts delete mode 100644 src/api/types/SocialLookupEmailPageRequest.ts delete mode 100644 src/api/types/SocialLookupEmailPageRequestResponseFormatType.ts delete mode 100644 src/api/types/SocialLookupEmailPageRequestSelectedModel.ts delete mode 100644 src/api/types/Text2AudioPageRequest.ts delete mode 100644 src/api/types/TextToSpeechPageRequest.ts delete mode 100644 src/api/types/TextToSpeechPageRequestOpenaiTtsModel.ts delete mode 100644 src/api/types/TextToSpeechPageRequestOpenaiVoiceName.ts delete mode 100644 src/api/types/TextToSpeechPageRequestTtsProvider.ts delete mode 100644 src/api/types/TrainingDataModel.ts delete mode 100644 src/api/types/TranslationPageRequest.ts delete mode 100644 src/api/types/TranslationPageRequestSelectedModel.ts delete mode 100644 src/api/types/Vcard.ts delete mode 100644 src/api/types/VideoBotsPageRequest.ts delete mode 100644 src/api/types/VideoBotsPageRequestAsrModel.ts delete mode 100644 src/api/types/VideoBotsPageRequestCitationStyle.ts delete mode 100644 src/api/types/VideoBotsPageRequestEmbeddingModel.ts delete mode 100644 src/api/types/VideoBotsPageRequestLipsyncModel.ts delete mode 100644 src/api/types/VideoBotsPageRequestOpenaiTtsModel.ts delete mode 100644 src/api/types/VideoBotsPageRequestOpenaiVoiceName.ts delete mode 100644 src/api/types/VideoBotsPageRequestResponseFormatType.ts delete mode 100644 src/api/types/VideoBotsPageRequestSelectedModel.ts delete mode 100644 src/api/types/VideoBotsPageRequestTranslationModel.ts delete mode 100644 src/api/types/VideoBotsPageRequestTtsProvider.ts delete mode 100644 src/serialization/types/AggFunction.ts delete mode 100644 src/serialization/types/AggFunctionFunction.ts delete mode 100644 src/serialization/types/AnimationPrompt.ts delete mode 100644 src/serialization/types/AsrPageRequest.ts delete mode 100644 src/serialization/types/AsrPageRequestOutputFormat.ts delete mode 100644 src/serialization/types/AsrPageRequestSelectedModel.ts delete mode 100644 src/serialization/types/AsrPageRequestTranslationModel.ts delete mode 100644 src/serialization/types/BulkEvalPageRequest.ts delete mode 100644 src/serialization/types/BulkEvalPageRequestResponseFormatType.ts delete mode 100644 src/serialization/types/BulkEvalPageRequestSelectedModel.ts delete mode 100644 src/serialization/types/BulkRunnerPageRequest.ts delete mode 100644 src/serialization/types/ChyronPlantPageRequest.ts delete mode 100644 src/serialization/types/CompareLlmPageRequest.ts delete mode 100644 src/serialization/types/CompareLlmPageRequestResponseFormatType.ts delete mode 100644 src/serialization/types/CompareLlmPageRequestSelectedModelsItem.ts delete mode 100644 src/serialization/types/CompareText2ImgPageRequest.ts delete mode 100644 src/serialization/types/CompareText2ImgPageRequestScheduler.ts delete mode 100644 src/serialization/types/CompareText2ImgPageRequestSelectedModelsItem.ts delete mode 100644 src/serialization/types/CompareUpscalerPageRequest.ts delete mode 100644 src/serialization/types/CompareUpscalerPageRequestSelectedModelsItem.ts delete mode 100644 src/serialization/types/DeforumSdPageRequest.ts delete mode 100644 src/serialization/types/DeforumSdPageRequestSelectedModel.ts delete mode 100644 src/serialization/types/DocExtractPageRequest.ts delete mode 100644 src/serialization/types/DocExtractPageRequestResponseFormatType.ts delete mode 100644 src/serialization/types/DocExtractPageRequestSelectedAsrModel.ts delete mode 100644 src/serialization/types/DocExtractPageRequestSelectedModel.ts delete mode 100644 src/serialization/types/DocSearchPageRequest.ts delete mode 100644 src/serialization/types/DocSearchPageRequestCitationStyle.ts delete mode 100644 src/serialization/types/DocSearchPageRequestEmbeddingModel.ts delete mode 100644 src/serialization/types/DocSearchPageRequestKeywordQuery.ts delete mode 100644 src/serialization/types/DocSearchPageRequestResponseFormatType.ts delete mode 100644 src/serialization/types/DocSearchPageRequestSelectedModel.ts delete mode 100644 src/serialization/types/DocSummaryPageRequest.ts delete mode 100644 src/serialization/types/DocSummaryPageRequestResponseFormatType.ts delete mode 100644 src/serialization/types/DocSummaryPageRequestSelectedAsrModel.ts delete mode 100644 src/serialization/types/DocSummaryPageRequestSelectedModel.ts delete mode 100644 src/serialization/types/EmailFaceInpaintingPageRequest.ts delete mode 100644 src/serialization/types/EmailFaceInpaintingPageRequestSelectedModel.ts delete mode 100644 src/serialization/types/EmbeddingsPageRequest.ts delete mode 100644 src/serialization/types/EmbeddingsPageRequestSelectedModel.ts delete mode 100644 src/serialization/types/EvalPrompt.ts delete mode 100644 src/serialization/types/FaceInpaintingPageRequest.ts delete mode 100644 src/serialization/types/FaceInpaintingPageRequestSelectedModel.ts delete mode 100644 src/serialization/types/FunctionsPageRequest.ts delete mode 100644 src/serialization/types/GoogleGptPageRequest.ts delete mode 100644 src/serialization/types/GoogleGptPageRequestEmbeddingModel.ts delete mode 100644 src/serialization/types/GoogleGptPageRequestResponseFormatType.ts delete mode 100644 src/serialization/types/GoogleGptPageRequestSelectedModel.ts delete mode 100644 src/serialization/types/GoogleImageGenPageRequest.ts delete mode 100644 src/serialization/types/GoogleImageGenPageRequestSelectedModel.ts delete mode 100644 src/serialization/types/ImageSegmentationPageRequest.ts delete mode 100644 src/serialization/types/ImageSegmentationPageRequestSelectedModel.ts delete mode 100644 src/serialization/types/Img2ImgPageRequest.ts delete mode 100644 src/serialization/types/Img2ImgPageRequestSelectedControlnetModel.ts delete mode 100644 src/serialization/types/Img2ImgPageRequestSelectedControlnetModelItem.ts delete mode 100644 src/serialization/types/Img2ImgPageRequestSelectedModel.ts delete mode 100644 src/serialization/types/LetterWriterPageRequest.ts delete mode 100644 src/serialization/types/LipsyncPageRequest.ts delete mode 100644 src/serialization/types/LipsyncPageRequestSelectedModel.ts delete mode 100644 src/serialization/types/LipsyncTtsPageRequest.ts delete mode 100644 src/serialization/types/LipsyncTtsPageRequestOpenaiTtsModel.ts delete mode 100644 src/serialization/types/LipsyncTtsPageRequestOpenaiVoiceName.ts delete mode 100644 src/serialization/types/LipsyncTtsPageRequestSelectedModel.ts delete mode 100644 src/serialization/types/LipsyncTtsPageRequestTtsProvider.ts delete mode 100644 src/serialization/types/ObjectInpaintingPageRequest.ts delete mode 100644 src/serialization/types/ObjectInpaintingPageRequestSelectedModel.ts delete mode 100644 src/serialization/types/QrCodeGeneratorPageRequest.ts delete mode 100644 src/serialization/types/QrCodeGeneratorPageRequestImagePromptControlnetModelsItem.ts delete mode 100644 src/serialization/types/QrCodeGeneratorPageRequestScheduler.ts delete mode 100644 src/serialization/types/QrCodeGeneratorPageRequestSelectedControlnetModelItem.ts delete mode 100644 src/serialization/types/QrCodeGeneratorPageRequestSelectedModel.ts delete mode 100644 src/serialization/types/RelatedQnADocPageRequest.ts delete mode 100644 src/serialization/types/RelatedQnADocPageRequestCitationStyle.ts delete mode 100644 src/serialization/types/RelatedQnADocPageRequestEmbeddingModel.ts delete mode 100644 src/serialization/types/RelatedQnADocPageRequestKeywordQuery.ts delete mode 100644 src/serialization/types/RelatedQnADocPageRequestResponseFormatType.ts delete mode 100644 src/serialization/types/RelatedQnADocPageRequestSelectedModel.ts delete mode 100644 src/serialization/types/RelatedQnAPageRequest.ts delete mode 100644 src/serialization/types/RelatedQnAPageRequestEmbeddingModel.ts delete mode 100644 src/serialization/types/RelatedQnAPageRequestResponseFormatType.ts delete mode 100644 src/serialization/types/RelatedQnAPageRequestSelectedModel.ts delete mode 100644 src/serialization/types/RunSettings.ts delete mode 100644 src/serialization/types/RunSettingsRetentionPolicy.ts delete mode 100644 src/serialization/types/SeoSummaryPageRequest.ts delete mode 100644 src/serialization/types/SeoSummaryPageRequestResponseFormatType.ts delete mode 100644 src/serialization/types/SeoSummaryPageRequestSelectedModel.ts delete mode 100644 src/serialization/types/SerpSearchLocation.ts delete mode 100644 src/serialization/types/SerpSearchType.ts delete mode 100644 src/serialization/types/SmartGptPageRequest.ts delete mode 100644 src/serialization/types/SmartGptPageRequestResponseFormatType.ts delete mode 100644 src/serialization/types/SmartGptPageRequestSelectedModel.ts delete mode 100644 src/serialization/types/SocialLookupEmailPageRequest.ts delete mode 100644 src/serialization/types/SocialLookupEmailPageRequestResponseFormatType.ts delete mode 100644 src/serialization/types/SocialLookupEmailPageRequestSelectedModel.ts delete mode 100644 src/serialization/types/Text2AudioPageRequest.ts delete mode 100644 src/serialization/types/TextToSpeechPageRequest.ts delete mode 100644 src/serialization/types/TextToSpeechPageRequestOpenaiTtsModel.ts delete mode 100644 src/serialization/types/TextToSpeechPageRequestOpenaiVoiceName.ts delete mode 100644 src/serialization/types/TextToSpeechPageRequestTtsProvider.ts delete mode 100644 src/serialization/types/TrainingDataModel.ts delete mode 100644 src/serialization/types/TranslationPageRequest.ts delete mode 100644 src/serialization/types/TranslationPageRequestSelectedModel.ts delete mode 100644 src/serialization/types/Vcard.ts delete mode 100644 src/serialization/types/VideoBotsPageRequest.ts delete mode 100644 src/serialization/types/VideoBotsPageRequestAsrModel.ts delete mode 100644 src/serialization/types/VideoBotsPageRequestCitationStyle.ts delete mode 100644 src/serialization/types/VideoBotsPageRequestEmbeddingModel.ts delete mode 100644 src/serialization/types/VideoBotsPageRequestLipsyncModel.ts delete mode 100644 src/serialization/types/VideoBotsPageRequestOpenaiTtsModel.ts delete mode 100644 src/serialization/types/VideoBotsPageRequestOpenaiVoiceName.ts delete mode 100644 src/serialization/types/VideoBotsPageRequestResponseFormatType.ts delete mode 100644 src/serialization/types/VideoBotsPageRequestSelectedModel.ts delete mode 100644 src/serialization/types/VideoBotsPageRequestTranslationModel.ts delete mode 100644 src/serialization/types/VideoBotsPageRequestTtsProvider.ts diff --git a/package.json b/package.json index 2c01bbf..11c4b69 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "gooeyai", - "version": "0.0.1-beta15", + "version": "0.0.1-beta17", "private": false, "repository": "https://github.com/GooeyAI/typescript-sdk", "main": "./index.js", diff --git a/reference.md b/reference.md index dc3f30d..3311717 100644 --- a/reference.md +++ b/reference.md @@ -192,9 +192,1515 @@ await client.copilotForYourEnterprise.asyncFormVideoBots(); +
client.copilotForYourEnterprise.statusVideoBots({ ...params }) -> Gooey.VideoBotsPageStatusResponse +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```typescript +await client.copilotForYourEnterprise.statusVideoBots({ + runId: "run_id", +}); +``` + +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**request:** `Gooey.StatusVideoBotsRequest` + +
+
+ +
+
+ +**requestOptions:** `CopilotForYourEnterprise.RequestOptions` + +
+
+
+
+ +
+
+
+ +## AiAnimationGenerator + +
client.aiAnimationGenerator.statusDeforumSd({ ...params }) -> Gooey.DeforumSdPageStatusResponse +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```typescript +await client.aiAnimationGenerator.statusDeforumSd({ + runId: "run_id", +}); +``` + +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**request:** `Gooey.StatusDeforumSdRequest` + +
+
+ +
+
+ +**requestOptions:** `AiAnimationGenerator.RequestOptions` + +
+
+
+
+ +
+
+
+ +## AiArtQrCode + +
client.aiArtQrCode.statusArtQrCode({ ...params }) -> Gooey.QrCodeGeneratorPageStatusResponse +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```typescript +await client.aiArtQrCode.statusArtQrCode({ + runId: "run_id", +}); +``` + +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**request:** `Gooey.StatusArtQrCodeRequest` + +
+
+ +
+
+ +**requestOptions:** `AiArtQrCode.RequestOptions` + +
+
+
+
+ +
+
+
+ +## GeneratePeopleAlsoAskSeoContent + +
client.generatePeopleAlsoAskSeoContent.statusRelatedQnaMaker({ ...params }) -> Gooey.RelatedQnAPageStatusResponse +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```typescript +await client.generatePeopleAlsoAskSeoContent.statusRelatedQnaMaker({ + runId: "run_id", +}); +``` + +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**request:** `Gooey.StatusRelatedQnaMakerRequest` + +
+
+ +
+
+ +**requestOptions:** `GeneratePeopleAlsoAskSeoContent.RequestOptions` + +
+
+
+
+ +
+
+
+ +## CreateAPerfectSeoOptimizedTitleParagraph + +
client.createAPerfectSeoOptimizedTitleParagraph.statusSeoSummary({ ...params }) -> Gooey.SeoSummaryPageStatusResponse +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```typescript +await client.createAPerfectSeoOptimizedTitleParagraph.statusSeoSummary({ + runId: "run_id", +}); +``` + +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**request:** `Gooey.StatusSeoSummaryRequest` + +
+
+ +
+
+ +**requestOptions:** `CreateAPerfectSeoOptimizedTitleParagraph.RequestOptions` + +
+
+
+
+ +
+
+
+ +## WebSearchGpt3 + +
client.webSearchGpt3.statusGoogleGpt({ ...params }) -> Gooey.GoogleGptPageStatusResponse +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```typescript +await client.webSearchGpt3.statusGoogleGpt({ + runId: "run_id", +}); +``` + +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**request:** `Gooey.StatusGoogleGptRequest` + +
+
+ +
+
+ +**requestOptions:** `WebSearchGpt3.RequestOptions` + +
+
+
+
+ +
+
+
+ +## ProfileLookupGpt3ForAiPersonalizedEmails + +
client.profileLookupGpt3ForAiPersonalizedEmails.statusSocialLookupEmail({ ...params }) -> Gooey.SocialLookupEmailPageStatusResponse +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```typescript +await client.profileLookupGpt3ForAiPersonalizedEmails.statusSocialLookupEmail({ + runId: "run_id", +}); +``` + +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**request:** `Gooey.StatusSocialLookupEmailRequest` + +
+
+ +
+
+ +**requestOptions:** `ProfileLookupGpt3ForAiPersonalizedEmails.RequestOptions` + +
+
+
+
+ +
+
+
+ +## BulkRunner + +
client.bulkRunner.statusBulkRunner({ ...params }) -> Gooey.BulkRunnerPageStatusResponse +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```typescript +await client.bulkRunner.statusBulkRunner({ + runId: "run_id", +}); +``` + +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**request:** `Gooey.StatusBulkRunnerRequest` + +
+
+ +
+
+ +**requestOptions:** `BulkRunner.RequestOptions` + +
+
+
+
+ +
+
+
+ +
client.bulkRunner.post() -> void +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```typescript +await client.bulkRunner.post(); +``` + +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**requestOptions:** `BulkRunner.RequestOptions` + +
+
+
+
+ +
+
+
+ ## Evaluator -
client.evaluator.asyncFormBulkEval({ ...params }) -> Gooey.BodyAsyncFormBulkEval +
client.evaluator.asyncFormBulkEval({ ...params }) -> Gooey.BodyAsyncFormBulkEval +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```typescript +await client.evaluator.asyncFormBulkEval(); +``` + +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**request:** `Gooey.AsyncFormBulkEvalRequest` + +
+
+ +
+
+ +**requestOptions:** `Evaluator.RequestOptions` + +
+
+
+
+ +
+
+
+ +
client.evaluator.statusBulkEval({ ...params }) -> Gooey.BulkEvalPageStatusResponse +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```typescript +await client.evaluator.statusBulkEval({ + runId: "run_id", +}); +``` + +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**request:** `Gooey.StatusBulkEvalRequest` + +
+
+ +
+
+ +**requestOptions:** `Evaluator.RequestOptions` + +
+
+
+
+ +
+
+
+ +## SyntheticDataMakerForVideosPdFs + +
client.syntheticDataMakerForVideosPdFs.statusDocExtract({ ...params }) -> Gooey.DocExtractPageStatusResponse +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```typescript +await client.syntheticDataMakerForVideosPdFs.statusDocExtract({ + runId: "run_id", +}); +``` + +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**request:** `Gooey.StatusDocExtractRequest` + +
+
+ +
+
+ +**requestOptions:** `SyntheticDataMakerForVideosPdFs.RequestOptions` + +
+
+
+
+ +
+
+
+ +## LargeLanguageModelsGpt3 + +
client.largeLanguageModelsGpt3.statusCompareLlm({ ...params }) -> Gooey.CompareLlmPageStatusResponse +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```typescript +await client.largeLanguageModelsGpt3.statusCompareLlm({ + runId: "run_id", +}); +``` + +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**request:** `Gooey.StatusCompareLlmRequest` + +
+
+ +
+
+ +**requestOptions:** `LargeLanguageModelsGpt3.RequestOptions` + +
+
+
+
+ +
+
+
+ +## SearchYourDocsWithGpt + +
client.searchYourDocsWithGpt.statusDocSearch({ ...params }) -> Gooey.DocSearchPageStatusResponse +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```typescript +await client.searchYourDocsWithGpt.statusDocSearch({ + runId: "run_id", +}); +``` + +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**request:** `Gooey.StatusDocSearchRequest` + +
+
+ +
+
+ +**requestOptions:** `SearchYourDocsWithGpt.RequestOptions` + +
+
+
+
+ +
+
+
+ +## SmartGpt + +
client.smartGpt.asyncFormSmartGpt({ ...params }) -> Gooey.BodyAsyncFormSmartGpt +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```typescript +await client.smartGpt.asyncFormSmartGpt(); +``` + +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**request:** `Gooey.AsyncFormSmartGptRequest` + +
+
+ +
+
+ +**requestOptions:** `SmartGpt.RequestOptions` + +
+
+
+
+ +
+
+
+ +
client.smartGpt.statusSmartGpt({ ...params }) -> Gooey.SmartGptPageStatusResponse +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```typescript +await client.smartGpt.statusSmartGpt({ + runId: "run_id", +}); +``` + +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**request:** `Gooey.StatusSmartGptRequest` + +
+
+ +
+
+ +**requestOptions:** `SmartGpt.RequestOptions` + +
+
+
+
+ +
+
+
+ +
client.smartGpt.post() -> void +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```typescript +await client.smartGpt.post(); +``` + +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**requestOptions:** `SmartGpt.RequestOptions` + +
+
+
+
+ +
+
+
+ +## SummarizeYourDocsWithGpt + +
client.summarizeYourDocsWithGpt.statusDocSummary({ ...params }) -> Gooey.DocSummaryPageStatusResponse +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```typescript +await client.summarizeYourDocsWithGpt.statusDocSummary({ + runId: "run_id", +}); +``` + +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**request:** `Gooey.StatusDocSummaryRequest` + +
+
+ +
+
+ +**requestOptions:** `SummarizeYourDocsWithGpt.RequestOptions` + +
+
+
+
+ +
+
+
+ +## Functions + +
client.functions.asyncFormFunctions({ ...params }) -> Gooey.BodyAsyncFormFunctions +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```typescript +await client.functions.asyncFormFunctions(); +``` + +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**request:** `Gooey.AsyncFormFunctionsRequest` + +
+
+ +
+
+ +**requestOptions:** `Functions.RequestOptions` + +
+
+
+
+ +
+
+
+ +
client.functions.statusFunctions({ ...params }) -> Gooey.FunctionsPageStatusResponse +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```typescript +await client.functions.statusFunctions({ + runId: "run_id", +}); +``` + +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**request:** `Gooey.StatusFunctionsRequest` + +
+
+ +
+
+ +**requestOptions:** `Functions.RequestOptions` + +
+
+
+
+ +
+
+
+ +
client.functions.post() -> void +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```typescript +await client.functions.post(); +``` + +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**requestOptions:** `Functions.RequestOptions` + +
+
+
+
+ +
+
+
+ +## LipSyncing + +
client.lipSyncing.asyncFormLipsync({ ...params }) -> Gooey.BodyAsyncFormLipsync +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```typescript +await client.lipSyncing.asyncFormLipsync(); +``` + +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**request:** `Gooey.AsyncFormLipsyncRequest` + +
+
+ +
+
+ +**requestOptions:** `LipSyncing.RequestOptions` + +
+
+
+
+ +
+
+
+ +
client.lipSyncing.statusLipsync({ ...params }) -> Gooey.LipsyncPageStatusResponse +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```typescript +await client.lipSyncing.statusLipsync({ + runId: "run_id", +}); +``` + +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**request:** `Gooey.StatusLipsyncRequest` + +
+
+ +
+
+ +**requestOptions:** `LipSyncing.RequestOptions` + +
+
+
+
+ +
+
+
+ +## LipsyncVideoWithAnyText + +
client.lipsyncVideoWithAnyText.statusLipsyncTts({ ...params }) -> Gooey.LipsyncTtsPageStatusResponse +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```typescript +await client.lipsyncVideoWithAnyText.statusLipsyncTts({ + runId: "run_id", +}); +``` + +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**request:** `Gooey.StatusLipsyncTtsRequest` + +
+
+ +
+
+ +**requestOptions:** `LipsyncVideoWithAnyText.RequestOptions` + +
+
+
+
+ +
+
+
+ +## CompareAiVoiceGenerators + +
client.compareAiVoiceGenerators.statusTextToSpeech({ ...params }) -> Gooey.TextToSpeechPageStatusResponse +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```typescript +await client.compareAiVoiceGenerators.statusTextToSpeech({ + runId: "run_id", +}); +``` + +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**request:** `Gooey.StatusTextToSpeechRequest` + +
+
+ +
+
+ +**requestOptions:** `CompareAiVoiceGenerators.RequestOptions` + +
+
+
+
+ +
+
+
+ +## SpeechRecognitionTranslation + +
client.speechRecognitionTranslation.statusAsr({ ...params }) -> Gooey.AsrPageStatusResponse +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```typescript +await client.speechRecognitionTranslation.statusAsr({ + runId: "run_id", +}); +``` + +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**request:** `Gooey.StatusAsrRequest` + +
+
+ +
+
+ +**requestOptions:** `SpeechRecognitionTranslation.RequestOptions` + +
+
+
+
+ +
+
+
+ +## TextGuidedAudioGenerator + +
client.textGuidedAudioGenerator.statusText2Audio({ ...params }) -> Gooey.Text2AudioPageStatusResponse +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```typescript +await client.textGuidedAudioGenerator.statusText2Audio({ + runId: "run_id", +}); +``` + +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**request:** `Gooey.StatusText2AudioRequest` + +
+
+ +
+
+ +**requestOptions:** `TextGuidedAudioGenerator.RequestOptions` + +
+
+
+
+ +
+
+
+ +## CompareAiTranslations + +
client.compareAiTranslations.statusTranslate({ ...params }) -> Gooey.TranslationPageStatusResponse +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```typescript +await client.compareAiTranslations.statusTranslate({ + runId: "run_id", +}); +``` + +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**request:** `Gooey.StatusTranslateRequest` + +
+
+ +
+
+ +**requestOptions:** `CompareAiTranslations.RequestOptions` + +
+
+
+
+ +
+
+
+ +## EditAnImageWithAiPrompt + +
client.editAnImageWithAiPrompt.statusImg2Img({ ...params }) -> Gooey.Img2ImgPageStatusResponse +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```typescript +await client.editAnImageWithAiPrompt.statusImg2Img({ + runId: "run_id", +}); +``` + +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**request:** `Gooey.StatusImg2ImgRequest` + +
+
+ +
+
+ +**requestOptions:** `EditAnImageWithAiPrompt.RequestOptions` + +
+
+
+
+ +
+
+
+ +## CompareAiImageGenerators + +
client.compareAiImageGenerators.statusCompareText2Img({ ...params }) -> Gooey.CompareText2ImgPageStatusResponse +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```typescript +await client.compareAiImageGenerators.statusCompareText2Img({ + runId: "run_id", +}); +``` + +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**request:** `Gooey.StatusCompareText2ImgRequest` + +
+
+ +
+
+ +**requestOptions:** `CompareAiImageGenerators.RequestOptions` + +
+
+
+
+ +
+
+
+ +## GenerateProductPhotoBackgrounds + +
client.generateProductPhotoBackgrounds.statusObjectInpainting({ ...params }) -> Gooey.ObjectInpaintingPageStatusResponse
@@ -207,7 +1713,9 @@ await client.copilotForYourEnterprise.asyncFormVideoBots();
```typescript -await client.evaluator.asyncFormBulkEval(); +await client.generateProductPhotoBackgrounds.statusObjectInpainting({ + runId: "run_id", +}); ```
@@ -223,7 +1731,7 @@ await client.evaluator.asyncFormBulkEval();
-**request:** `Gooey.AsyncFormBulkEvalRequest` +**request:** `Gooey.StatusObjectInpaintingRequest`
@@ -231,7 +1739,7 @@ await client.evaluator.asyncFormBulkEval();
-**requestOptions:** `Evaluator.RequestOptions` +**requestOptions:** `GenerateProductPhotoBackgrounds.RequestOptions`
@@ -242,9 +1750,9 @@ await client.evaluator.asyncFormBulkEval();
-## SmartGpt +## AiImageWithAFace -
client.smartGpt.asyncFormSmartGpt({ ...params }) -> Gooey.BodyAsyncFormSmartGpt +
client.aiImageWithAFace.statusFaceInpainting({ ...params }) -> Gooey.FaceInpaintingPageStatusResponse
@@ -257,7 +1765,9 @@ await client.evaluator.asyncFormBulkEval();
```typescript -await client.smartGpt.asyncFormSmartGpt(); +await client.aiImageWithAFace.statusFaceInpainting({ + runId: "run_id", +}); ```
@@ -273,7 +1783,7 @@ await client.smartGpt.asyncFormSmartGpt();
-**request:** `Gooey.AsyncFormSmartGptRequest` +**request:** `Gooey.StatusFaceInpaintingRequest`
@@ -281,7 +1791,7 @@ await client.smartGpt.asyncFormSmartGpt();
-**requestOptions:** `SmartGpt.RequestOptions` +**requestOptions:** `AiImageWithAFace.RequestOptions`
@@ -292,7 +1802,9 @@ await client.smartGpt.asyncFormSmartGpt();
-
client.smartGpt.post() -> void +## AiGeneratedPhotoFromEmailProfileLookup + +
client.aiGeneratedPhotoFromEmailProfileLookup.statusEmailFaceInpainting({ ...params }) -> Gooey.EmailFaceInpaintingPageStatusResponse
@@ -305,7 +1817,9 @@ await client.smartGpt.asyncFormSmartGpt();
```typescript -await client.smartGpt.post(); +await client.aiGeneratedPhotoFromEmailProfileLookup.statusEmailFaceInpainting({ + runId: "run_id", +}); ```
@@ -321,7 +1835,15 @@ await client.smartGpt.post();
-**requestOptions:** `SmartGpt.RequestOptions` +**request:** `Gooey.StatusEmailFaceInpaintingRequest` + +
+
+ +
+
+ +**requestOptions:** `AiGeneratedPhotoFromEmailProfileLookup.RequestOptions`
@@ -332,9 +1854,9 @@ await client.smartGpt.post();
-## Functions +## RenderImageSearchResultsWithAi -
client.functions.asyncFormFunctions({ ...params }) -> Gooey.BodyAsyncFormFunctions +
client.renderImageSearchResultsWithAi.statusGoogleImageGen({ ...params }) -> Gooey.GoogleImageGenPageStatusResponse
@@ -347,7 +1869,9 @@ await client.smartGpt.post();
```typescript -await client.functions.asyncFormFunctions(); +await client.renderImageSearchResultsWithAi.statusGoogleImageGen({ + runId: "run_id", +}); ```
@@ -363,7 +1887,7 @@ await client.functions.asyncFormFunctions();
-**request:** `Gooey.AsyncFormFunctionsRequest` +**request:** `Gooey.StatusGoogleImageGenRequest`
@@ -371,7 +1895,7 @@ await client.functions.asyncFormFunctions();
-**requestOptions:** `Functions.RequestOptions` +**requestOptions:** `RenderImageSearchResultsWithAi.RequestOptions`
@@ -382,7 +1906,9 @@ await client.functions.asyncFormFunctions();
-
client.functions.post() -> void +## AiBackgroundChanger + +
client.aiBackgroundChanger.statusImageSegmentation({ ...params }) -> Gooey.ImageSegmentationPageStatusResponse
@@ -395,7 +1921,9 @@ await client.functions.asyncFormFunctions();
```typescript -await client.functions.post(); +await client.aiBackgroundChanger.statusImageSegmentation({ + runId: "run_id", +}); ```
@@ -411,7 +1939,15 @@ await client.functions.post();
-**requestOptions:** `Functions.RequestOptions` +**request:** `Gooey.StatusImageSegmentationRequest` + +
+
+ +
+
+ +**requestOptions:** `AiBackgroundChanger.RequestOptions`
@@ -422,9 +1958,9 @@ await client.functions.post();
-## LipSyncing +## CompareAiImageUpscalers -
client.lipSyncing.asyncFormLipsync({ ...params }) -> Gooey.BodyAsyncFormLipsync +
client.compareAiImageUpscalers.statusCompareAiUpscalers({ ...params }) -> Gooey.CompareUpscalerPageStatusResponse
@@ -437,7 +1973,9 @@ await client.functions.post();
```typescript -await client.lipSyncing.asyncFormLipsync(); +await client.compareAiImageUpscalers.statusCompareAiUpscalers({ + runId: "run_id", +}); ```
@@ -453,7 +1991,7 @@ await client.lipSyncing.asyncFormLipsync();
-**request:** `Gooey.AsyncFormLipsyncRequest` +**request:** `Gooey.StatusCompareAiUpscalersRequest`
@@ -461,7 +1999,7 @@ await client.lipSyncing.asyncFormLipsync();
-**requestOptions:** `LipSyncing.RequestOptions` +**requestOptions:** `CompareAiImageUpscalers.RequestOptions`
@@ -472,9 +2010,9 @@ await client.lipSyncing.asyncFormLipsync();
-## Misc +## ChyronPlantBot -
client.misc.getBalance() -> Gooey.BalanceResponse +
client.chyronPlantBot.statusChyronPlant({ ...params }) -> Gooey.ChyronPlantPageStatusResponse
@@ -487,7 +2025,9 @@ await client.lipSyncing.asyncFormLipsync();
```typescript -await client.misc.getBalance(); +await client.chyronPlantBot.statusChyronPlant({ + runId: "run_id", +}); ```
@@ -503,7 +2043,15 @@ await client.misc.getBalance();
-**requestOptions:** `Misc.RequestOptions` +**request:** `Gooey.StatusChyronPlantRequest` + +
+
+ +
+
+ +**requestOptions:** `ChyronPlantBot.RequestOptions`
@@ -514,7 +2062,9 @@ await client.misc.getBalance();
-
client.misc.videoBotsBroadcast({ ...params }) -> unknown +## LetterWriter + +
client.letterWriter.statusLetterWriter({ ...params }) -> Gooey.LetterWriterPageStatusResponse
@@ -527,8 +2077,8 @@ await client.misc.getBalance();
```typescript -await client.misc.videoBotsBroadcast({ - text: "text", +await client.letterWriter.statusLetterWriter({ + runId: "run_id", }); ``` @@ -545,7 +2095,7 @@ await client.misc.videoBotsBroadcast({
-**request:** `Gooey.BotBroadcastRequestModel` +**request:** `Gooey.StatusLetterWriterRequest`
@@ -553,7 +2103,7 @@ await client.misc.videoBotsBroadcast({
-**requestOptions:** `Misc.RequestOptions` +**requestOptions:** `LetterWriter.RequestOptions`
@@ -564,9 +2114,9 @@ await client.misc.videoBotsBroadcast({
-## BulkRunner +## Embeddings -
client.bulkRunner.post() -> void +
client.embeddings.statusEmbeddings({ ...params }) -> Gooey.EmbeddingsPageStatusResponse
@@ -579,7 +2129,9 @@ await client.misc.videoBotsBroadcast({
```typescript -await client.bulkRunner.post(); +await client.embeddings.statusEmbeddings({ + runId: "run_id", +}); ```
@@ -595,7 +2147,15 @@ await client.bulkRunner.post();
-**requestOptions:** `BulkRunner.RequestOptions` +**request:** `Gooey.StatusEmbeddingsRequest` + +
+
+ +
+
+ +**requestOptions:** `Embeddings.RequestOptions`
@@ -606,8 +2166,6 @@ await client.bulkRunner.post();
-## Embeddings -
client.embeddings.post() -> void
@@ -647,3 +2205,147 @@ await client.embeddings.post();
+ +## PeopleAlsoAskAnswersFromADoc + +
client.peopleAlsoAskAnswersFromADoc.statusRelatedQnaMakerDoc({ ...params }) -> Gooey.RelatedQnADocPageStatusResponse +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```typescript +await client.peopleAlsoAskAnswersFromADoc.statusRelatedQnaMakerDoc({ + runId: "run_id", +}); +``` + +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**request:** `Gooey.StatusRelatedQnaMakerDocRequest` + +
+
+ +
+
+ +**requestOptions:** `PeopleAlsoAskAnswersFromADoc.RequestOptions` + +
+
+
+
+ +
+
+
+ +## Misc + +
client.misc.getBalance() -> Gooey.BalanceResponse +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```typescript +await client.misc.getBalance(); +``` + +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**requestOptions:** `Misc.RequestOptions` + +
+
+
+
+ +
+
+
+ +
client.misc.videoBotsBroadcast({ ...params }) -> unknown +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```typescript +await client.misc.videoBotsBroadcast({ + text: "text", +}); +``` + +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**request:** `Gooey.BotBroadcastRequestModel` + +
+
+ +
+
+ +**requestOptions:** `Misc.RequestOptions` + +
+
+
+
+ +
+
+
diff --git a/src/Client.ts b/src/Client.ts index 277e246..6443a16 100644 --- a/src/Client.ts +++ b/src/Client.ts @@ -10,13 +10,39 @@ import * as serializers from "./serialization/index"; import * as errors from "./errors/index"; import { CopilotIntegrations } from "./api/resources/copilotIntegrations/client/Client"; import { CopilotForYourEnterprise } from "./api/resources/copilotForYourEnterprise/client/Client"; +import { AiAnimationGenerator } from "./api/resources/aiAnimationGenerator/client/Client"; +import { AiArtQrCode } from "./api/resources/aiArtQrCode/client/Client"; +import { GeneratePeopleAlsoAskSeoContent } from "./api/resources/generatePeopleAlsoAskSeoContent/client/Client"; +import { CreateAPerfectSeoOptimizedTitleParagraph } from "./api/resources/createAPerfectSeoOptimizedTitleParagraph/client/Client"; +import { WebSearchGpt3 } from "./api/resources/webSearchGpt3/client/Client"; +import { ProfileLookupGpt3ForAiPersonalizedEmails } from "./api/resources/profileLookupGpt3ForAiPersonalizedEmails/client/Client"; +import { BulkRunner } from "./api/resources/bulkRunner/client/Client"; import { Evaluator } from "./api/resources/evaluator/client/Client"; +import { SyntheticDataMakerForVideosPdFs } from "./api/resources/syntheticDataMakerForVideosPdFs/client/Client"; +import { LargeLanguageModelsGpt3 } from "./api/resources/largeLanguageModelsGpt3/client/Client"; +import { SearchYourDocsWithGpt } from "./api/resources/searchYourDocsWithGpt/client/Client"; import { SmartGpt } from "./api/resources/smartGpt/client/Client"; +import { SummarizeYourDocsWithGpt } from "./api/resources/summarizeYourDocsWithGpt/client/Client"; import { Functions } from "./api/resources/functions/client/Client"; import { LipSyncing } from "./api/resources/lipSyncing/client/Client"; -import { Misc } from "./api/resources/misc/client/Client"; -import { BulkRunner } from "./api/resources/bulkRunner/client/Client"; +import { LipsyncVideoWithAnyText } from "./api/resources/lipsyncVideoWithAnyText/client/Client"; +import { CompareAiVoiceGenerators } from "./api/resources/compareAiVoiceGenerators/client/Client"; +import { SpeechRecognitionTranslation } from "./api/resources/speechRecognitionTranslation/client/Client"; +import { TextGuidedAudioGenerator } from "./api/resources/textGuidedAudioGenerator/client/Client"; +import { CompareAiTranslations } from "./api/resources/compareAiTranslations/client/Client"; +import { EditAnImageWithAiPrompt } from "./api/resources/editAnImageWithAiPrompt/client/Client"; +import { CompareAiImageGenerators } from "./api/resources/compareAiImageGenerators/client/Client"; +import { GenerateProductPhotoBackgrounds } from "./api/resources/generateProductPhotoBackgrounds/client/Client"; +import { AiImageWithAFace } from "./api/resources/aiImageWithAFace/client/Client"; +import { AiGeneratedPhotoFromEmailProfileLookup } from "./api/resources/aiGeneratedPhotoFromEmailProfileLookup/client/Client"; +import { RenderImageSearchResultsWithAi } from "./api/resources/renderImageSearchResultsWithAi/client/Client"; +import { AiBackgroundChanger } from "./api/resources/aiBackgroundChanger/client/Client"; +import { CompareAiImageUpscalers } from "./api/resources/compareAiImageUpscalers/client/Client"; +import { ChyronPlantBot } from "./api/resources/chyronPlantBot/client/Client"; +import { LetterWriter } from "./api/resources/letterWriter/client/Client"; import { Embeddings } from "./api/resources/embeddings/client/Client"; +import { PeopleAlsoAskAnswersFromADoc } from "./api/resources/peopleAlsoAskAnswersFromADoc/client/Client"; +import { Misc } from "./api/resources/misc/client/Client"; export declare namespace GooeyClient { interface Options { @@ -71,7 +97,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta15", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -192,7 +218,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta15", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -313,7 +339,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta15", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -434,7 +460,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta15", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -555,7 +581,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta15", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -676,7 +702,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta15", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -797,7 +823,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta15", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -918,7 +944,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta15", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -1039,7 +1065,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta15", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -1160,7 +1186,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta15", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -1281,7 +1307,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta15", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -1402,7 +1428,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta15", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -1523,7 +1549,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta15", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -1644,7 +1670,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta15", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -1765,7 +1791,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta15", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -1886,7 +1912,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta15", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -2007,7 +2033,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta15", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -2128,7 +2154,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta15", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -2249,7 +2275,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta15", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -2370,7 +2396,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta15", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -2491,7 +2517,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta15", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -2612,7 +2638,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta15", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -2733,7 +2759,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta15", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -2854,7 +2880,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta15", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -2975,7 +3001,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta15", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -3096,7 +3122,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta15", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -3201,7 +3227,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta15", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -3254,7 +3280,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta15", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -3307,7 +3333,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta15", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -3360,7 +3386,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta15", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -3413,7 +3439,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta15", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -3466,7 +3492,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta15", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -3519,7 +3545,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta15", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -3572,7 +3598,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta15", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -3625,7 +3651,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta15", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -3678,7 +3704,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta15", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -3731,7 +3757,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta15", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -3784,7 +3810,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta15", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -3837,7 +3863,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta15", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -3890,7 +3916,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta15", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -3943,7 +3969,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta15", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -3996,7 +4022,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta15", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -4049,7 +4075,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta15", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -4102,7 +4128,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta15", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -4155,7 +4181,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta15", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -4208,7 +4234,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta15", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -4261,7 +4287,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta15", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -4314,7 +4340,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta15", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -4367,7 +4393,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta15", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -4420,7 +4446,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta15", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -4473,7 +4499,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta15", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -4526,7 +4552,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta15", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -4579,7 +4605,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta15", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -4632,7 +4658,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta15", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -4685,7 +4711,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta15", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -4738,7 +4764,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta15", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -4791,7 +4817,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta15", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -4844,7 +4870,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta15", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -4897,7 +4923,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta15", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -4950,7 +4976,7 @@ export class GooeyClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta15", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -4998,18 +5024,88 @@ export class GooeyClient { return (this._copilotForYourEnterprise ??= new CopilotForYourEnterprise(this._options)); } + protected _aiAnimationGenerator: AiAnimationGenerator | undefined; + + public get aiAnimationGenerator(): AiAnimationGenerator { + return (this._aiAnimationGenerator ??= new AiAnimationGenerator(this._options)); + } + + protected _aiArtQrCode: AiArtQrCode | undefined; + + public get aiArtQrCode(): AiArtQrCode { + return (this._aiArtQrCode ??= new AiArtQrCode(this._options)); + } + + protected _generatePeopleAlsoAskSeoContent: GeneratePeopleAlsoAskSeoContent | undefined; + + public get generatePeopleAlsoAskSeoContent(): GeneratePeopleAlsoAskSeoContent { + return (this._generatePeopleAlsoAskSeoContent ??= new GeneratePeopleAlsoAskSeoContent(this._options)); + } + + protected _createAPerfectSeoOptimizedTitleParagraph: CreateAPerfectSeoOptimizedTitleParagraph | undefined; + + public get createAPerfectSeoOptimizedTitleParagraph(): CreateAPerfectSeoOptimizedTitleParagraph { + return (this._createAPerfectSeoOptimizedTitleParagraph ??= new CreateAPerfectSeoOptimizedTitleParagraph( + this._options + )); + } + + protected _webSearchGpt3: WebSearchGpt3 | undefined; + + public get webSearchGpt3(): WebSearchGpt3 { + return (this._webSearchGpt3 ??= new WebSearchGpt3(this._options)); + } + + protected _profileLookupGpt3ForAiPersonalizedEmails: ProfileLookupGpt3ForAiPersonalizedEmails | undefined; + + public get profileLookupGpt3ForAiPersonalizedEmails(): ProfileLookupGpt3ForAiPersonalizedEmails { + return (this._profileLookupGpt3ForAiPersonalizedEmails ??= new ProfileLookupGpt3ForAiPersonalizedEmails( + this._options + )); + } + + protected _bulkRunner: BulkRunner | undefined; + + public get bulkRunner(): BulkRunner { + return (this._bulkRunner ??= new BulkRunner(this._options)); + } + protected _evaluator: Evaluator | undefined; public get evaluator(): Evaluator { return (this._evaluator ??= new Evaluator(this._options)); } + protected _syntheticDataMakerForVideosPdFs: SyntheticDataMakerForVideosPdFs | undefined; + + public get syntheticDataMakerForVideosPdFs(): SyntheticDataMakerForVideosPdFs { + return (this._syntheticDataMakerForVideosPdFs ??= new SyntheticDataMakerForVideosPdFs(this._options)); + } + + protected _largeLanguageModelsGpt3: LargeLanguageModelsGpt3 | undefined; + + public get largeLanguageModelsGpt3(): LargeLanguageModelsGpt3 { + return (this._largeLanguageModelsGpt3 ??= new LargeLanguageModelsGpt3(this._options)); + } + + protected _searchYourDocsWithGpt: SearchYourDocsWithGpt | undefined; + + public get searchYourDocsWithGpt(): SearchYourDocsWithGpt { + return (this._searchYourDocsWithGpt ??= new SearchYourDocsWithGpt(this._options)); + } + protected _smartGpt: SmartGpt | undefined; public get smartGpt(): SmartGpt { return (this._smartGpt ??= new SmartGpt(this._options)); } + protected _summarizeYourDocsWithGpt: SummarizeYourDocsWithGpt | undefined; + + public get summarizeYourDocsWithGpt(): SummarizeYourDocsWithGpt { + return (this._summarizeYourDocsWithGpt ??= new SummarizeYourDocsWithGpt(this._options)); + } + protected _functions: Functions | undefined; public get functions(): Functions { @@ -5022,16 +5118,96 @@ export class GooeyClient { return (this._lipSyncing ??= new LipSyncing(this._options)); } - protected _misc: Misc | undefined; + protected _lipsyncVideoWithAnyText: LipsyncVideoWithAnyText | undefined; - public get misc(): Misc { - return (this._misc ??= new Misc(this._options)); + public get lipsyncVideoWithAnyText(): LipsyncVideoWithAnyText { + return (this._lipsyncVideoWithAnyText ??= new LipsyncVideoWithAnyText(this._options)); } - protected _bulkRunner: BulkRunner | undefined; + protected _compareAiVoiceGenerators: CompareAiVoiceGenerators | undefined; - public get bulkRunner(): BulkRunner { - return (this._bulkRunner ??= new BulkRunner(this._options)); + public get compareAiVoiceGenerators(): CompareAiVoiceGenerators { + return (this._compareAiVoiceGenerators ??= new CompareAiVoiceGenerators(this._options)); + } + + protected _speechRecognitionTranslation: SpeechRecognitionTranslation | undefined; + + public get speechRecognitionTranslation(): SpeechRecognitionTranslation { + return (this._speechRecognitionTranslation ??= new SpeechRecognitionTranslation(this._options)); + } + + protected _textGuidedAudioGenerator: TextGuidedAudioGenerator | undefined; + + public get textGuidedAudioGenerator(): TextGuidedAudioGenerator { + return (this._textGuidedAudioGenerator ??= new TextGuidedAudioGenerator(this._options)); + } + + protected _compareAiTranslations: CompareAiTranslations | undefined; + + public get compareAiTranslations(): CompareAiTranslations { + return (this._compareAiTranslations ??= new CompareAiTranslations(this._options)); + } + + protected _editAnImageWithAiPrompt: EditAnImageWithAiPrompt | undefined; + + public get editAnImageWithAiPrompt(): EditAnImageWithAiPrompt { + return (this._editAnImageWithAiPrompt ??= new EditAnImageWithAiPrompt(this._options)); + } + + protected _compareAiImageGenerators: CompareAiImageGenerators | undefined; + + public get compareAiImageGenerators(): CompareAiImageGenerators { + return (this._compareAiImageGenerators ??= new CompareAiImageGenerators(this._options)); + } + + protected _generateProductPhotoBackgrounds: GenerateProductPhotoBackgrounds | undefined; + + public get generateProductPhotoBackgrounds(): GenerateProductPhotoBackgrounds { + return (this._generateProductPhotoBackgrounds ??= new GenerateProductPhotoBackgrounds(this._options)); + } + + protected _aiImageWithAFace: AiImageWithAFace | undefined; + + public get aiImageWithAFace(): AiImageWithAFace { + return (this._aiImageWithAFace ??= new AiImageWithAFace(this._options)); + } + + protected _aiGeneratedPhotoFromEmailProfileLookup: AiGeneratedPhotoFromEmailProfileLookup | undefined; + + public get aiGeneratedPhotoFromEmailProfileLookup(): AiGeneratedPhotoFromEmailProfileLookup { + return (this._aiGeneratedPhotoFromEmailProfileLookup ??= new AiGeneratedPhotoFromEmailProfileLookup( + this._options + )); + } + + protected _renderImageSearchResultsWithAi: RenderImageSearchResultsWithAi | undefined; + + public get renderImageSearchResultsWithAi(): RenderImageSearchResultsWithAi { + return (this._renderImageSearchResultsWithAi ??= new RenderImageSearchResultsWithAi(this._options)); + } + + protected _aiBackgroundChanger: AiBackgroundChanger | undefined; + + public get aiBackgroundChanger(): AiBackgroundChanger { + return (this._aiBackgroundChanger ??= new AiBackgroundChanger(this._options)); + } + + protected _compareAiImageUpscalers: CompareAiImageUpscalers | undefined; + + public get compareAiImageUpscalers(): CompareAiImageUpscalers { + return (this._compareAiImageUpscalers ??= new CompareAiImageUpscalers(this._options)); + } + + protected _chyronPlantBot: ChyronPlantBot | undefined; + + public get chyronPlantBot(): ChyronPlantBot { + return (this._chyronPlantBot ??= new ChyronPlantBot(this._options)); + } + + protected _letterWriter: LetterWriter | undefined; + + public get letterWriter(): LetterWriter { + return (this._letterWriter ??= new LetterWriter(this._options)); } protected _embeddings: Embeddings | undefined; @@ -5040,6 +5216,18 @@ export class GooeyClient { return (this._embeddings ??= new Embeddings(this._options)); } + protected _peopleAlsoAskAnswersFromADoc: PeopleAlsoAskAnswersFromADoc | undefined; + + public get peopleAlsoAskAnswersFromADoc(): PeopleAlsoAskAnswersFromADoc { + return (this._peopleAlsoAskAnswersFromADoc ??= new PeopleAlsoAskAnswersFromADoc(this._options)); + } + + protected _misc: Misc | undefined; + + public get misc(): Misc { + return (this._misc ??= new Misc(this._options)); + } + protected async _getAuthorizationHeader(): Promise { const bearer = (await core.Supplier.get(this._options.apiKey)) ?? process?.env["GOOEY_API_KEY"]; if (bearer == null) { diff --git a/src/api/resources/aiAnimationGenerator/client/Client.ts b/src/api/resources/aiAnimationGenerator/client/Client.ts new file mode 100644 index 0000000..e676c1f --- /dev/null +++ b/src/api/resources/aiAnimationGenerator/client/Client.ts @@ -0,0 +1,140 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as environments from "../../../../environments"; +import * as core from "../../../../core"; +import * as Gooey from "../../../index"; +import urlJoin from "url-join"; +import * as serializers from "../../../../serialization/index"; +import * as errors from "../../../../errors/index"; + +export declare namespace AiAnimationGenerator { + interface Options { + environment?: core.Supplier; + apiKey?: core.Supplier; + fetcher?: core.FetchFunction; + } + + interface RequestOptions { + /** The maximum time to wait for a response in seconds. */ + timeoutInSeconds?: number; + /** The number of times to retry the request. Defaults to 2. */ + maxRetries?: number; + /** A hook to abort the request. */ + abortSignal?: AbortSignal; + } +} + +export class AiAnimationGenerator { + constructor(protected readonly _options: AiAnimationGenerator.Options = {}) {} + + /** + * @param {Gooey.StatusDeforumSdRequest} request + * @param {AiAnimationGenerator.RequestOptions} requestOptions - Request-specific configuration. + * + * @throws {@link Gooey.PaymentRequiredError} + * @throws {@link Gooey.UnprocessableEntityError} + * @throws {@link Gooey.TooManyRequestsError} + * + * @example + * await client.aiAnimationGenerator.statusDeforumSd({ + * runId: "run_id" + * }) + */ + public async statusDeforumSd( + request: Gooey.StatusDeforumSdRequest, + requestOptions?: AiAnimationGenerator.RequestOptions + ): Promise { + const { runId } = request; + const _queryParams: Record = {}; + _queryParams["run_id"] = runId; + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: urlJoin( + (await core.Supplier.get(this._options.environment)) ?? environments.GooeyEnvironment.Default, + "v3/DeforumSD/status" + ), + method: "GET", + headers: { + Authorization: await this._getAuthorizationHeader(), + "X-Fern-Language": "JavaScript", + "X-Fern-SDK-Name": "gooeyai", + "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-Runtime": core.RUNTIME.type, + "X-Fern-Runtime-Version": core.RUNTIME.version, + }, + contentType: "application/json", + queryParameters: _queryParams, + requestType: "json", + timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, + abortSignal: requestOptions?.abortSignal, + }); + if (_response.ok) { + return serializers.DeforumSdPageStatusResponse.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }); + } + + if (_response.error.reason === "status-code") { + switch (_response.error.statusCode) { + case 402: + throw new Gooey.PaymentRequiredError(_response.error.body); + case 422: + throw new Gooey.UnprocessableEntityError( + serializers.HttpValidationError.parseOrThrow(_response.error.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }) + ); + case 429: + throw new Gooey.TooManyRequestsError( + serializers.GenericErrorResponse.parseOrThrow(_response.error.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }) + ); + default: + throw new errors.GooeyError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + }); + } + } + + switch (_response.error.reason) { + case "non-json": + throw new errors.GooeyError({ + statusCode: _response.error.statusCode, + body: _response.error.rawBody, + }); + case "timeout": + throw new errors.GooeyTimeoutError(); + case "unknown": + throw new errors.GooeyError({ + message: _response.error.errorMessage, + }); + } + } + + protected async _getAuthorizationHeader(): Promise { + const bearer = (await core.Supplier.get(this._options.apiKey)) ?? process?.env["GOOEY_API_KEY"]; + if (bearer == null) { + throw new errors.GooeyError({ + message: "Please specify GOOEY_API_KEY when instantiating the client.", + }); + } + + return `Bearer ${bearer}`; + } +} diff --git a/src/api/resources/aiAnimationGenerator/client/index.ts b/src/api/resources/aiAnimationGenerator/client/index.ts new file mode 100644 index 0000000..415726b --- /dev/null +++ b/src/api/resources/aiAnimationGenerator/client/index.ts @@ -0,0 +1 @@ +export * from "./requests"; diff --git a/src/api/resources/aiAnimationGenerator/client/requests/StatusDeforumSdRequest.ts b/src/api/resources/aiAnimationGenerator/client/requests/StatusDeforumSdRequest.ts new file mode 100644 index 0000000..87292b7 --- /dev/null +++ b/src/api/resources/aiAnimationGenerator/client/requests/StatusDeforumSdRequest.ts @@ -0,0 +1,13 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +/** + * @example + * { + * runId: "run_id" + * } + */ +export interface StatusDeforumSdRequest { + runId: string; +} diff --git a/src/api/resources/aiAnimationGenerator/client/requests/index.ts b/src/api/resources/aiAnimationGenerator/client/requests/index.ts new file mode 100644 index 0000000..c07286a --- /dev/null +++ b/src/api/resources/aiAnimationGenerator/client/requests/index.ts @@ -0,0 +1 @@ +export { type StatusDeforumSdRequest } from "./StatusDeforumSdRequest"; diff --git a/src/api/resources/aiAnimationGenerator/index.ts b/src/api/resources/aiAnimationGenerator/index.ts new file mode 100644 index 0000000..5ec7692 --- /dev/null +++ b/src/api/resources/aiAnimationGenerator/index.ts @@ -0,0 +1 @@ +export * from "./client"; diff --git a/src/api/resources/aiArtQrCode/client/Client.ts b/src/api/resources/aiArtQrCode/client/Client.ts new file mode 100644 index 0000000..59cfc95 --- /dev/null +++ b/src/api/resources/aiArtQrCode/client/Client.ts @@ -0,0 +1,140 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as environments from "../../../../environments"; +import * as core from "../../../../core"; +import * as Gooey from "../../../index"; +import urlJoin from "url-join"; +import * as serializers from "../../../../serialization/index"; +import * as errors from "../../../../errors/index"; + +export declare namespace AiArtQrCode { + interface Options { + environment?: core.Supplier; + apiKey?: core.Supplier; + fetcher?: core.FetchFunction; + } + + interface RequestOptions { + /** The maximum time to wait for a response in seconds. */ + timeoutInSeconds?: number; + /** The number of times to retry the request. Defaults to 2. */ + maxRetries?: number; + /** A hook to abort the request. */ + abortSignal?: AbortSignal; + } +} + +export class AiArtQrCode { + constructor(protected readonly _options: AiArtQrCode.Options = {}) {} + + /** + * @param {Gooey.StatusArtQrCodeRequest} request + * @param {AiArtQrCode.RequestOptions} requestOptions - Request-specific configuration. + * + * @throws {@link Gooey.PaymentRequiredError} + * @throws {@link Gooey.UnprocessableEntityError} + * @throws {@link Gooey.TooManyRequestsError} + * + * @example + * await client.aiArtQrCode.statusArtQrCode({ + * runId: "run_id" + * }) + */ + public async statusArtQrCode( + request: Gooey.StatusArtQrCodeRequest, + requestOptions?: AiArtQrCode.RequestOptions + ): Promise { + const { runId } = request; + const _queryParams: Record = {}; + _queryParams["run_id"] = runId; + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: urlJoin( + (await core.Supplier.get(this._options.environment)) ?? environments.GooeyEnvironment.Default, + "v3/art-qr-code/status" + ), + method: "GET", + headers: { + Authorization: await this._getAuthorizationHeader(), + "X-Fern-Language": "JavaScript", + "X-Fern-SDK-Name": "gooeyai", + "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-Runtime": core.RUNTIME.type, + "X-Fern-Runtime-Version": core.RUNTIME.version, + }, + contentType: "application/json", + queryParameters: _queryParams, + requestType: "json", + timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, + abortSignal: requestOptions?.abortSignal, + }); + if (_response.ok) { + return serializers.QrCodeGeneratorPageStatusResponse.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }); + } + + if (_response.error.reason === "status-code") { + switch (_response.error.statusCode) { + case 402: + throw new Gooey.PaymentRequiredError(_response.error.body); + case 422: + throw new Gooey.UnprocessableEntityError( + serializers.HttpValidationError.parseOrThrow(_response.error.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }) + ); + case 429: + throw new Gooey.TooManyRequestsError( + serializers.GenericErrorResponse.parseOrThrow(_response.error.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }) + ); + default: + throw new errors.GooeyError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + }); + } + } + + switch (_response.error.reason) { + case "non-json": + throw new errors.GooeyError({ + statusCode: _response.error.statusCode, + body: _response.error.rawBody, + }); + case "timeout": + throw new errors.GooeyTimeoutError(); + case "unknown": + throw new errors.GooeyError({ + message: _response.error.errorMessage, + }); + } + } + + protected async _getAuthorizationHeader(): Promise { + const bearer = (await core.Supplier.get(this._options.apiKey)) ?? process?.env["GOOEY_API_KEY"]; + if (bearer == null) { + throw new errors.GooeyError({ + message: "Please specify GOOEY_API_KEY when instantiating the client.", + }); + } + + return `Bearer ${bearer}`; + } +} diff --git a/src/api/resources/aiArtQrCode/client/index.ts b/src/api/resources/aiArtQrCode/client/index.ts new file mode 100644 index 0000000..415726b --- /dev/null +++ b/src/api/resources/aiArtQrCode/client/index.ts @@ -0,0 +1 @@ +export * from "./requests"; diff --git a/src/api/resources/aiArtQrCode/client/requests/StatusArtQrCodeRequest.ts b/src/api/resources/aiArtQrCode/client/requests/StatusArtQrCodeRequest.ts new file mode 100644 index 0000000..c433ee6 --- /dev/null +++ b/src/api/resources/aiArtQrCode/client/requests/StatusArtQrCodeRequest.ts @@ -0,0 +1,13 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +/** + * @example + * { + * runId: "run_id" + * } + */ +export interface StatusArtQrCodeRequest { + runId: string; +} diff --git a/src/api/resources/aiArtQrCode/client/requests/index.ts b/src/api/resources/aiArtQrCode/client/requests/index.ts new file mode 100644 index 0000000..c407e61 --- /dev/null +++ b/src/api/resources/aiArtQrCode/client/requests/index.ts @@ -0,0 +1 @@ +export { type StatusArtQrCodeRequest } from "./StatusArtQrCodeRequest"; diff --git a/src/api/resources/aiArtQrCode/index.ts b/src/api/resources/aiArtQrCode/index.ts new file mode 100644 index 0000000..5ec7692 --- /dev/null +++ b/src/api/resources/aiArtQrCode/index.ts @@ -0,0 +1 @@ +export * from "./client"; diff --git a/src/api/resources/aiBackgroundChanger/client/Client.ts b/src/api/resources/aiBackgroundChanger/client/Client.ts new file mode 100644 index 0000000..c8d0ca9 --- /dev/null +++ b/src/api/resources/aiBackgroundChanger/client/Client.ts @@ -0,0 +1,140 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as environments from "../../../../environments"; +import * as core from "../../../../core"; +import * as Gooey from "../../../index"; +import urlJoin from "url-join"; +import * as serializers from "../../../../serialization/index"; +import * as errors from "../../../../errors/index"; + +export declare namespace AiBackgroundChanger { + interface Options { + environment?: core.Supplier; + apiKey?: core.Supplier; + fetcher?: core.FetchFunction; + } + + interface RequestOptions { + /** The maximum time to wait for a response in seconds. */ + timeoutInSeconds?: number; + /** The number of times to retry the request. Defaults to 2. */ + maxRetries?: number; + /** A hook to abort the request. */ + abortSignal?: AbortSignal; + } +} + +export class AiBackgroundChanger { + constructor(protected readonly _options: AiBackgroundChanger.Options = {}) {} + + /** + * @param {Gooey.StatusImageSegmentationRequest} request + * @param {AiBackgroundChanger.RequestOptions} requestOptions - Request-specific configuration. + * + * @throws {@link Gooey.PaymentRequiredError} + * @throws {@link Gooey.UnprocessableEntityError} + * @throws {@link Gooey.TooManyRequestsError} + * + * @example + * await client.aiBackgroundChanger.statusImageSegmentation({ + * runId: "run_id" + * }) + */ + public async statusImageSegmentation( + request: Gooey.StatusImageSegmentationRequest, + requestOptions?: AiBackgroundChanger.RequestOptions + ): Promise { + const { runId } = request; + const _queryParams: Record = {}; + _queryParams["run_id"] = runId; + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: urlJoin( + (await core.Supplier.get(this._options.environment)) ?? environments.GooeyEnvironment.Default, + "v3/ImageSegmentation/status" + ), + method: "GET", + headers: { + Authorization: await this._getAuthorizationHeader(), + "X-Fern-Language": "JavaScript", + "X-Fern-SDK-Name": "gooeyai", + "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-Runtime": core.RUNTIME.type, + "X-Fern-Runtime-Version": core.RUNTIME.version, + }, + contentType: "application/json", + queryParameters: _queryParams, + requestType: "json", + timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, + abortSignal: requestOptions?.abortSignal, + }); + if (_response.ok) { + return serializers.ImageSegmentationPageStatusResponse.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }); + } + + if (_response.error.reason === "status-code") { + switch (_response.error.statusCode) { + case 402: + throw new Gooey.PaymentRequiredError(_response.error.body); + case 422: + throw new Gooey.UnprocessableEntityError( + serializers.HttpValidationError.parseOrThrow(_response.error.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }) + ); + case 429: + throw new Gooey.TooManyRequestsError( + serializers.GenericErrorResponse.parseOrThrow(_response.error.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }) + ); + default: + throw new errors.GooeyError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + }); + } + } + + switch (_response.error.reason) { + case "non-json": + throw new errors.GooeyError({ + statusCode: _response.error.statusCode, + body: _response.error.rawBody, + }); + case "timeout": + throw new errors.GooeyTimeoutError(); + case "unknown": + throw new errors.GooeyError({ + message: _response.error.errorMessage, + }); + } + } + + protected async _getAuthorizationHeader(): Promise { + const bearer = (await core.Supplier.get(this._options.apiKey)) ?? process?.env["GOOEY_API_KEY"]; + if (bearer == null) { + throw new errors.GooeyError({ + message: "Please specify GOOEY_API_KEY when instantiating the client.", + }); + } + + return `Bearer ${bearer}`; + } +} diff --git a/src/api/resources/aiBackgroundChanger/client/index.ts b/src/api/resources/aiBackgroundChanger/client/index.ts new file mode 100644 index 0000000..415726b --- /dev/null +++ b/src/api/resources/aiBackgroundChanger/client/index.ts @@ -0,0 +1 @@ +export * from "./requests"; diff --git a/src/api/resources/aiBackgroundChanger/client/requests/StatusImageSegmentationRequest.ts b/src/api/resources/aiBackgroundChanger/client/requests/StatusImageSegmentationRequest.ts new file mode 100644 index 0000000..a3763e2 --- /dev/null +++ b/src/api/resources/aiBackgroundChanger/client/requests/StatusImageSegmentationRequest.ts @@ -0,0 +1,13 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +/** + * @example + * { + * runId: "run_id" + * } + */ +export interface StatusImageSegmentationRequest { + runId: string; +} diff --git a/src/api/resources/aiBackgroundChanger/client/requests/index.ts b/src/api/resources/aiBackgroundChanger/client/requests/index.ts new file mode 100644 index 0000000..86a37b4 --- /dev/null +++ b/src/api/resources/aiBackgroundChanger/client/requests/index.ts @@ -0,0 +1 @@ +export { type StatusImageSegmentationRequest } from "./StatusImageSegmentationRequest"; diff --git a/src/api/resources/aiBackgroundChanger/index.ts b/src/api/resources/aiBackgroundChanger/index.ts new file mode 100644 index 0000000..5ec7692 --- /dev/null +++ b/src/api/resources/aiBackgroundChanger/index.ts @@ -0,0 +1 @@ +export * from "./client"; diff --git a/src/api/resources/aiGeneratedPhotoFromEmailProfileLookup/client/Client.ts b/src/api/resources/aiGeneratedPhotoFromEmailProfileLookup/client/Client.ts new file mode 100644 index 0000000..3375844 --- /dev/null +++ b/src/api/resources/aiGeneratedPhotoFromEmailProfileLookup/client/Client.ts @@ -0,0 +1,140 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as environments from "../../../../environments"; +import * as core from "../../../../core"; +import * as Gooey from "../../../index"; +import urlJoin from "url-join"; +import * as serializers from "../../../../serialization/index"; +import * as errors from "../../../../errors/index"; + +export declare namespace AiGeneratedPhotoFromEmailProfileLookup { + interface Options { + environment?: core.Supplier; + apiKey?: core.Supplier; + fetcher?: core.FetchFunction; + } + + interface RequestOptions { + /** The maximum time to wait for a response in seconds. */ + timeoutInSeconds?: number; + /** The number of times to retry the request. Defaults to 2. */ + maxRetries?: number; + /** A hook to abort the request. */ + abortSignal?: AbortSignal; + } +} + +export class AiGeneratedPhotoFromEmailProfileLookup { + constructor(protected readonly _options: AiGeneratedPhotoFromEmailProfileLookup.Options = {}) {} + + /** + * @param {Gooey.StatusEmailFaceInpaintingRequest} request + * @param {AiGeneratedPhotoFromEmailProfileLookup.RequestOptions} requestOptions - Request-specific configuration. + * + * @throws {@link Gooey.PaymentRequiredError} + * @throws {@link Gooey.UnprocessableEntityError} + * @throws {@link Gooey.TooManyRequestsError} + * + * @example + * await client.aiGeneratedPhotoFromEmailProfileLookup.statusEmailFaceInpainting({ + * runId: "run_id" + * }) + */ + public async statusEmailFaceInpainting( + request: Gooey.StatusEmailFaceInpaintingRequest, + requestOptions?: AiGeneratedPhotoFromEmailProfileLookup.RequestOptions + ): Promise { + const { runId } = request; + const _queryParams: Record = {}; + _queryParams["run_id"] = runId; + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: urlJoin( + (await core.Supplier.get(this._options.environment)) ?? environments.GooeyEnvironment.Default, + "v3/EmailFaceInpainting/status" + ), + method: "GET", + headers: { + Authorization: await this._getAuthorizationHeader(), + "X-Fern-Language": "JavaScript", + "X-Fern-SDK-Name": "gooeyai", + "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-Runtime": core.RUNTIME.type, + "X-Fern-Runtime-Version": core.RUNTIME.version, + }, + contentType: "application/json", + queryParameters: _queryParams, + requestType: "json", + timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, + abortSignal: requestOptions?.abortSignal, + }); + if (_response.ok) { + return serializers.EmailFaceInpaintingPageStatusResponse.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }); + } + + if (_response.error.reason === "status-code") { + switch (_response.error.statusCode) { + case 402: + throw new Gooey.PaymentRequiredError(_response.error.body); + case 422: + throw new Gooey.UnprocessableEntityError( + serializers.HttpValidationError.parseOrThrow(_response.error.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }) + ); + case 429: + throw new Gooey.TooManyRequestsError( + serializers.GenericErrorResponse.parseOrThrow(_response.error.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }) + ); + default: + throw new errors.GooeyError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + }); + } + } + + switch (_response.error.reason) { + case "non-json": + throw new errors.GooeyError({ + statusCode: _response.error.statusCode, + body: _response.error.rawBody, + }); + case "timeout": + throw new errors.GooeyTimeoutError(); + case "unknown": + throw new errors.GooeyError({ + message: _response.error.errorMessage, + }); + } + } + + protected async _getAuthorizationHeader(): Promise { + const bearer = (await core.Supplier.get(this._options.apiKey)) ?? process?.env["GOOEY_API_KEY"]; + if (bearer == null) { + throw new errors.GooeyError({ + message: "Please specify GOOEY_API_KEY when instantiating the client.", + }); + } + + return `Bearer ${bearer}`; + } +} diff --git a/src/api/resources/aiGeneratedPhotoFromEmailProfileLookup/client/index.ts b/src/api/resources/aiGeneratedPhotoFromEmailProfileLookup/client/index.ts new file mode 100644 index 0000000..415726b --- /dev/null +++ b/src/api/resources/aiGeneratedPhotoFromEmailProfileLookup/client/index.ts @@ -0,0 +1 @@ +export * from "./requests"; diff --git a/src/api/resources/aiGeneratedPhotoFromEmailProfileLookup/client/requests/StatusEmailFaceInpaintingRequest.ts b/src/api/resources/aiGeneratedPhotoFromEmailProfileLookup/client/requests/StatusEmailFaceInpaintingRequest.ts new file mode 100644 index 0000000..c57ca13 --- /dev/null +++ b/src/api/resources/aiGeneratedPhotoFromEmailProfileLookup/client/requests/StatusEmailFaceInpaintingRequest.ts @@ -0,0 +1,13 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +/** + * @example + * { + * runId: "run_id" + * } + */ +export interface StatusEmailFaceInpaintingRequest { + runId: string; +} diff --git a/src/api/resources/aiGeneratedPhotoFromEmailProfileLookup/client/requests/index.ts b/src/api/resources/aiGeneratedPhotoFromEmailProfileLookup/client/requests/index.ts new file mode 100644 index 0000000..9dc765d --- /dev/null +++ b/src/api/resources/aiGeneratedPhotoFromEmailProfileLookup/client/requests/index.ts @@ -0,0 +1 @@ +export { type StatusEmailFaceInpaintingRequest } from "./StatusEmailFaceInpaintingRequest"; diff --git a/src/api/resources/aiGeneratedPhotoFromEmailProfileLookup/index.ts b/src/api/resources/aiGeneratedPhotoFromEmailProfileLookup/index.ts new file mode 100644 index 0000000..5ec7692 --- /dev/null +++ b/src/api/resources/aiGeneratedPhotoFromEmailProfileLookup/index.ts @@ -0,0 +1 @@ +export * from "./client"; diff --git a/src/api/resources/aiImageWithAFace/client/Client.ts b/src/api/resources/aiImageWithAFace/client/Client.ts new file mode 100644 index 0000000..a792f95 --- /dev/null +++ b/src/api/resources/aiImageWithAFace/client/Client.ts @@ -0,0 +1,140 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as environments from "../../../../environments"; +import * as core from "../../../../core"; +import * as Gooey from "../../../index"; +import urlJoin from "url-join"; +import * as serializers from "../../../../serialization/index"; +import * as errors from "../../../../errors/index"; + +export declare namespace AiImageWithAFace { + interface Options { + environment?: core.Supplier; + apiKey?: core.Supplier; + fetcher?: core.FetchFunction; + } + + interface RequestOptions { + /** The maximum time to wait for a response in seconds. */ + timeoutInSeconds?: number; + /** The number of times to retry the request. Defaults to 2. */ + maxRetries?: number; + /** A hook to abort the request. */ + abortSignal?: AbortSignal; + } +} + +export class AiImageWithAFace { + constructor(protected readonly _options: AiImageWithAFace.Options = {}) {} + + /** + * @param {Gooey.StatusFaceInpaintingRequest} request + * @param {AiImageWithAFace.RequestOptions} requestOptions - Request-specific configuration. + * + * @throws {@link Gooey.PaymentRequiredError} + * @throws {@link Gooey.UnprocessableEntityError} + * @throws {@link Gooey.TooManyRequestsError} + * + * @example + * await client.aiImageWithAFace.statusFaceInpainting({ + * runId: "run_id" + * }) + */ + public async statusFaceInpainting( + request: Gooey.StatusFaceInpaintingRequest, + requestOptions?: AiImageWithAFace.RequestOptions + ): Promise { + const { runId } = request; + const _queryParams: Record = {}; + _queryParams["run_id"] = runId; + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: urlJoin( + (await core.Supplier.get(this._options.environment)) ?? environments.GooeyEnvironment.Default, + "v3/FaceInpainting/status" + ), + method: "GET", + headers: { + Authorization: await this._getAuthorizationHeader(), + "X-Fern-Language": "JavaScript", + "X-Fern-SDK-Name": "gooeyai", + "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-Runtime": core.RUNTIME.type, + "X-Fern-Runtime-Version": core.RUNTIME.version, + }, + contentType: "application/json", + queryParameters: _queryParams, + requestType: "json", + timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, + abortSignal: requestOptions?.abortSignal, + }); + if (_response.ok) { + return serializers.FaceInpaintingPageStatusResponse.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }); + } + + if (_response.error.reason === "status-code") { + switch (_response.error.statusCode) { + case 402: + throw new Gooey.PaymentRequiredError(_response.error.body); + case 422: + throw new Gooey.UnprocessableEntityError( + serializers.HttpValidationError.parseOrThrow(_response.error.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }) + ); + case 429: + throw new Gooey.TooManyRequestsError( + serializers.GenericErrorResponse.parseOrThrow(_response.error.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }) + ); + default: + throw new errors.GooeyError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + }); + } + } + + switch (_response.error.reason) { + case "non-json": + throw new errors.GooeyError({ + statusCode: _response.error.statusCode, + body: _response.error.rawBody, + }); + case "timeout": + throw new errors.GooeyTimeoutError(); + case "unknown": + throw new errors.GooeyError({ + message: _response.error.errorMessage, + }); + } + } + + protected async _getAuthorizationHeader(): Promise { + const bearer = (await core.Supplier.get(this._options.apiKey)) ?? process?.env["GOOEY_API_KEY"]; + if (bearer == null) { + throw new errors.GooeyError({ + message: "Please specify GOOEY_API_KEY when instantiating the client.", + }); + } + + return `Bearer ${bearer}`; + } +} diff --git a/src/api/resources/aiImageWithAFace/client/index.ts b/src/api/resources/aiImageWithAFace/client/index.ts new file mode 100644 index 0000000..415726b --- /dev/null +++ b/src/api/resources/aiImageWithAFace/client/index.ts @@ -0,0 +1 @@ +export * from "./requests"; diff --git a/src/api/resources/aiImageWithAFace/client/requests/StatusFaceInpaintingRequest.ts b/src/api/resources/aiImageWithAFace/client/requests/StatusFaceInpaintingRequest.ts new file mode 100644 index 0000000..ee03839 --- /dev/null +++ b/src/api/resources/aiImageWithAFace/client/requests/StatusFaceInpaintingRequest.ts @@ -0,0 +1,13 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +/** + * @example + * { + * runId: "run_id" + * } + */ +export interface StatusFaceInpaintingRequest { + runId: string; +} diff --git a/src/api/resources/aiImageWithAFace/client/requests/index.ts b/src/api/resources/aiImageWithAFace/client/requests/index.ts new file mode 100644 index 0000000..7135cce --- /dev/null +++ b/src/api/resources/aiImageWithAFace/client/requests/index.ts @@ -0,0 +1 @@ +export { type StatusFaceInpaintingRequest } from "./StatusFaceInpaintingRequest"; diff --git a/src/api/resources/aiImageWithAFace/index.ts b/src/api/resources/aiImageWithAFace/index.ts new file mode 100644 index 0000000..5ec7692 --- /dev/null +++ b/src/api/resources/aiImageWithAFace/index.ts @@ -0,0 +1 @@ +export * from "./client"; diff --git a/src/api/resources/bulkRunner/client/Client.ts b/src/api/resources/bulkRunner/client/Client.ts index 382fff5..a59996a 100644 --- a/src/api/resources/bulkRunner/client/Client.ts +++ b/src/api/resources/bulkRunner/client/Client.ts @@ -4,7 +4,9 @@ import * as environments from "../../../../environments"; import * as core from "../../../../core"; +import * as Gooey from "../../../index"; import urlJoin from "url-join"; +import * as serializers from "../../../../serialization/index"; import * as errors from "../../../../errors/index"; export declare namespace BulkRunner { @@ -27,6 +29,104 @@ export declare namespace BulkRunner { export class BulkRunner { constructor(protected readonly _options: BulkRunner.Options = {}) {} + /** + * @param {Gooey.StatusBulkRunnerRequest} request + * @param {BulkRunner.RequestOptions} requestOptions - Request-specific configuration. + * + * @throws {@link Gooey.PaymentRequiredError} + * @throws {@link Gooey.UnprocessableEntityError} + * @throws {@link Gooey.TooManyRequestsError} + * + * @example + * await client.bulkRunner.statusBulkRunner({ + * runId: "run_id" + * }) + */ + public async statusBulkRunner( + request: Gooey.StatusBulkRunnerRequest, + requestOptions?: BulkRunner.RequestOptions + ): Promise { + const { runId } = request; + const _queryParams: Record = {}; + _queryParams["run_id"] = runId; + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: urlJoin( + (await core.Supplier.get(this._options.environment)) ?? environments.GooeyEnvironment.Default, + "v3/bulk-runner/status" + ), + method: "GET", + headers: { + Authorization: await this._getAuthorizationHeader(), + "X-Fern-Language": "JavaScript", + "X-Fern-SDK-Name": "gooeyai", + "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-Runtime": core.RUNTIME.type, + "X-Fern-Runtime-Version": core.RUNTIME.version, + }, + contentType: "application/json", + queryParameters: _queryParams, + requestType: "json", + timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, + abortSignal: requestOptions?.abortSignal, + }); + if (_response.ok) { + return serializers.BulkRunnerPageStatusResponse.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }); + } + + if (_response.error.reason === "status-code") { + switch (_response.error.statusCode) { + case 402: + throw new Gooey.PaymentRequiredError(_response.error.body); + case 422: + throw new Gooey.UnprocessableEntityError( + serializers.HttpValidationError.parseOrThrow(_response.error.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }) + ); + case 429: + throw new Gooey.TooManyRequestsError( + serializers.GenericErrorResponse.parseOrThrow(_response.error.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }) + ); + default: + throw new errors.GooeyError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + }); + } + } + + switch (_response.error.reason) { + case "non-json": + throw new errors.GooeyError({ + statusCode: _response.error.statusCode, + body: _response.error.rawBody, + }); + case "timeout": + throw new errors.GooeyTimeoutError(); + case "unknown": + throw new errors.GooeyError({ + message: _response.error.errorMessage, + }); + } + } + /** * @param {BulkRunner.RequestOptions} requestOptions - Request-specific configuration. * @@ -44,7 +144,7 @@ export class BulkRunner { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta15", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/bulkRunner/client/index.ts b/src/api/resources/bulkRunner/client/index.ts index cb0ff5c..415726b 100644 --- a/src/api/resources/bulkRunner/client/index.ts +++ b/src/api/resources/bulkRunner/client/index.ts @@ -1 +1 @@ -export {}; +export * from "./requests"; diff --git a/src/api/resources/bulkRunner/client/requests/StatusBulkRunnerRequest.ts b/src/api/resources/bulkRunner/client/requests/StatusBulkRunnerRequest.ts new file mode 100644 index 0000000..eec8937 --- /dev/null +++ b/src/api/resources/bulkRunner/client/requests/StatusBulkRunnerRequest.ts @@ -0,0 +1,13 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +/** + * @example + * { + * runId: "run_id" + * } + */ +export interface StatusBulkRunnerRequest { + runId: string; +} diff --git a/src/api/resources/bulkRunner/client/requests/index.ts b/src/api/resources/bulkRunner/client/requests/index.ts new file mode 100644 index 0000000..b9b5369 --- /dev/null +++ b/src/api/resources/bulkRunner/client/requests/index.ts @@ -0,0 +1 @@ +export { type StatusBulkRunnerRequest } from "./StatusBulkRunnerRequest"; diff --git a/src/api/resources/chyronPlantBot/client/Client.ts b/src/api/resources/chyronPlantBot/client/Client.ts new file mode 100644 index 0000000..6f38886 --- /dev/null +++ b/src/api/resources/chyronPlantBot/client/Client.ts @@ -0,0 +1,140 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as environments from "../../../../environments"; +import * as core from "../../../../core"; +import * as Gooey from "../../../index"; +import urlJoin from "url-join"; +import * as serializers from "../../../../serialization/index"; +import * as errors from "../../../../errors/index"; + +export declare namespace ChyronPlantBot { + interface Options { + environment?: core.Supplier; + apiKey?: core.Supplier; + fetcher?: core.FetchFunction; + } + + interface RequestOptions { + /** The maximum time to wait for a response in seconds. */ + timeoutInSeconds?: number; + /** The number of times to retry the request. Defaults to 2. */ + maxRetries?: number; + /** A hook to abort the request. */ + abortSignal?: AbortSignal; + } +} + +export class ChyronPlantBot { + constructor(protected readonly _options: ChyronPlantBot.Options = {}) {} + + /** + * @param {Gooey.StatusChyronPlantRequest} request + * @param {ChyronPlantBot.RequestOptions} requestOptions - Request-specific configuration. + * + * @throws {@link Gooey.PaymentRequiredError} + * @throws {@link Gooey.UnprocessableEntityError} + * @throws {@link Gooey.TooManyRequestsError} + * + * @example + * await client.chyronPlantBot.statusChyronPlant({ + * runId: "run_id" + * }) + */ + public async statusChyronPlant( + request: Gooey.StatusChyronPlantRequest, + requestOptions?: ChyronPlantBot.RequestOptions + ): Promise { + const { runId } = request; + const _queryParams: Record = {}; + _queryParams["run_id"] = runId; + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: urlJoin( + (await core.Supplier.get(this._options.environment)) ?? environments.GooeyEnvironment.Default, + "v3/ChyronPlant/status" + ), + method: "GET", + headers: { + Authorization: await this._getAuthorizationHeader(), + "X-Fern-Language": "JavaScript", + "X-Fern-SDK-Name": "gooeyai", + "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-Runtime": core.RUNTIME.type, + "X-Fern-Runtime-Version": core.RUNTIME.version, + }, + contentType: "application/json", + queryParameters: _queryParams, + requestType: "json", + timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, + abortSignal: requestOptions?.abortSignal, + }); + if (_response.ok) { + return serializers.ChyronPlantPageStatusResponse.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }); + } + + if (_response.error.reason === "status-code") { + switch (_response.error.statusCode) { + case 402: + throw new Gooey.PaymentRequiredError(_response.error.body); + case 422: + throw new Gooey.UnprocessableEntityError( + serializers.HttpValidationError.parseOrThrow(_response.error.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }) + ); + case 429: + throw new Gooey.TooManyRequestsError( + serializers.GenericErrorResponse.parseOrThrow(_response.error.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }) + ); + default: + throw new errors.GooeyError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + }); + } + } + + switch (_response.error.reason) { + case "non-json": + throw new errors.GooeyError({ + statusCode: _response.error.statusCode, + body: _response.error.rawBody, + }); + case "timeout": + throw new errors.GooeyTimeoutError(); + case "unknown": + throw new errors.GooeyError({ + message: _response.error.errorMessage, + }); + } + } + + protected async _getAuthorizationHeader(): Promise { + const bearer = (await core.Supplier.get(this._options.apiKey)) ?? process?.env["GOOEY_API_KEY"]; + if (bearer == null) { + throw new errors.GooeyError({ + message: "Please specify GOOEY_API_KEY when instantiating the client.", + }); + } + + return `Bearer ${bearer}`; + } +} diff --git a/src/api/resources/chyronPlantBot/client/index.ts b/src/api/resources/chyronPlantBot/client/index.ts new file mode 100644 index 0000000..415726b --- /dev/null +++ b/src/api/resources/chyronPlantBot/client/index.ts @@ -0,0 +1 @@ +export * from "./requests"; diff --git a/src/api/resources/chyronPlantBot/client/requests/StatusChyronPlantRequest.ts b/src/api/resources/chyronPlantBot/client/requests/StatusChyronPlantRequest.ts new file mode 100644 index 0000000..1cd802e --- /dev/null +++ b/src/api/resources/chyronPlantBot/client/requests/StatusChyronPlantRequest.ts @@ -0,0 +1,13 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +/** + * @example + * { + * runId: "run_id" + * } + */ +export interface StatusChyronPlantRequest { + runId: string; +} diff --git a/src/api/resources/chyronPlantBot/client/requests/index.ts b/src/api/resources/chyronPlantBot/client/requests/index.ts new file mode 100644 index 0000000..d1278dc --- /dev/null +++ b/src/api/resources/chyronPlantBot/client/requests/index.ts @@ -0,0 +1 @@ +export { type StatusChyronPlantRequest } from "./StatusChyronPlantRequest"; diff --git a/src/api/resources/chyronPlantBot/index.ts b/src/api/resources/chyronPlantBot/index.ts new file mode 100644 index 0000000..5ec7692 --- /dev/null +++ b/src/api/resources/chyronPlantBot/index.ts @@ -0,0 +1 @@ +export * from "./client"; diff --git a/src/api/resources/compareAiImageGenerators/client/Client.ts b/src/api/resources/compareAiImageGenerators/client/Client.ts new file mode 100644 index 0000000..ab531a4 --- /dev/null +++ b/src/api/resources/compareAiImageGenerators/client/Client.ts @@ -0,0 +1,140 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as environments from "../../../../environments"; +import * as core from "../../../../core"; +import * as Gooey from "../../../index"; +import urlJoin from "url-join"; +import * as serializers from "../../../../serialization/index"; +import * as errors from "../../../../errors/index"; + +export declare namespace CompareAiImageGenerators { + interface Options { + environment?: core.Supplier; + apiKey?: core.Supplier; + fetcher?: core.FetchFunction; + } + + interface RequestOptions { + /** The maximum time to wait for a response in seconds. */ + timeoutInSeconds?: number; + /** The number of times to retry the request. Defaults to 2. */ + maxRetries?: number; + /** A hook to abort the request. */ + abortSignal?: AbortSignal; + } +} + +export class CompareAiImageGenerators { + constructor(protected readonly _options: CompareAiImageGenerators.Options = {}) {} + + /** + * @param {Gooey.StatusCompareText2ImgRequest} request + * @param {CompareAiImageGenerators.RequestOptions} requestOptions - Request-specific configuration. + * + * @throws {@link Gooey.PaymentRequiredError} + * @throws {@link Gooey.UnprocessableEntityError} + * @throws {@link Gooey.TooManyRequestsError} + * + * @example + * await client.compareAiImageGenerators.statusCompareText2Img({ + * runId: "run_id" + * }) + */ + public async statusCompareText2Img( + request: Gooey.StatusCompareText2ImgRequest, + requestOptions?: CompareAiImageGenerators.RequestOptions + ): Promise { + const { runId } = request; + const _queryParams: Record = {}; + _queryParams["run_id"] = runId; + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: urlJoin( + (await core.Supplier.get(this._options.environment)) ?? environments.GooeyEnvironment.Default, + "v3/CompareText2Img/status" + ), + method: "GET", + headers: { + Authorization: await this._getAuthorizationHeader(), + "X-Fern-Language": "JavaScript", + "X-Fern-SDK-Name": "gooeyai", + "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-Runtime": core.RUNTIME.type, + "X-Fern-Runtime-Version": core.RUNTIME.version, + }, + contentType: "application/json", + queryParameters: _queryParams, + requestType: "json", + timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, + abortSignal: requestOptions?.abortSignal, + }); + if (_response.ok) { + return serializers.CompareText2ImgPageStatusResponse.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }); + } + + if (_response.error.reason === "status-code") { + switch (_response.error.statusCode) { + case 402: + throw new Gooey.PaymentRequiredError(_response.error.body); + case 422: + throw new Gooey.UnprocessableEntityError( + serializers.HttpValidationError.parseOrThrow(_response.error.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }) + ); + case 429: + throw new Gooey.TooManyRequestsError( + serializers.GenericErrorResponse.parseOrThrow(_response.error.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }) + ); + default: + throw new errors.GooeyError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + }); + } + } + + switch (_response.error.reason) { + case "non-json": + throw new errors.GooeyError({ + statusCode: _response.error.statusCode, + body: _response.error.rawBody, + }); + case "timeout": + throw new errors.GooeyTimeoutError(); + case "unknown": + throw new errors.GooeyError({ + message: _response.error.errorMessage, + }); + } + } + + protected async _getAuthorizationHeader(): Promise { + const bearer = (await core.Supplier.get(this._options.apiKey)) ?? process?.env["GOOEY_API_KEY"]; + if (bearer == null) { + throw new errors.GooeyError({ + message: "Please specify GOOEY_API_KEY when instantiating the client.", + }); + } + + return `Bearer ${bearer}`; + } +} diff --git a/src/api/resources/compareAiImageGenerators/client/index.ts b/src/api/resources/compareAiImageGenerators/client/index.ts new file mode 100644 index 0000000..415726b --- /dev/null +++ b/src/api/resources/compareAiImageGenerators/client/index.ts @@ -0,0 +1 @@ +export * from "./requests"; diff --git a/src/api/resources/compareAiImageGenerators/client/requests/StatusCompareText2ImgRequest.ts b/src/api/resources/compareAiImageGenerators/client/requests/StatusCompareText2ImgRequest.ts new file mode 100644 index 0000000..8e0fff5 --- /dev/null +++ b/src/api/resources/compareAiImageGenerators/client/requests/StatusCompareText2ImgRequest.ts @@ -0,0 +1,13 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +/** + * @example + * { + * runId: "run_id" + * } + */ +export interface StatusCompareText2ImgRequest { + runId: string; +} diff --git a/src/api/resources/compareAiImageGenerators/client/requests/index.ts b/src/api/resources/compareAiImageGenerators/client/requests/index.ts new file mode 100644 index 0000000..ad838db --- /dev/null +++ b/src/api/resources/compareAiImageGenerators/client/requests/index.ts @@ -0,0 +1 @@ +export { type StatusCompareText2ImgRequest } from "./StatusCompareText2ImgRequest"; diff --git a/src/api/resources/compareAiImageGenerators/index.ts b/src/api/resources/compareAiImageGenerators/index.ts new file mode 100644 index 0000000..5ec7692 --- /dev/null +++ b/src/api/resources/compareAiImageGenerators/index.ts @@ -0,0 +1 @@ +export * from "./client"; diff --git a/src/api/resources/compareAiImageUpscalers/client/Client.ts b/src/api/resources/compareAiImageUpscalers/client/Client.ts new file mode 100644 index 0000000..18bd3d9 --- /dev/null +++ b/src/api/resources/compareAiImageUpscalers/client/Client.ts @@ -0,0 +1,140 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as environments from "../../../../environments"; +import * as core from "../../../../core"; +import * as Gooey from "../../../index"; +import urlJoin from "url-join"; +import * as serializers from "../../../../serialization/index"; +import * as errors from "../../../../errors/index"; + +export declare namespace CompareAiImageUpscalers { + interface Options { + environment?: core.Supplier; + apiKey?: core.Supplier; + fetcher?: core.FetchFunction; + } + + interface RequestOptions { + /** The maximum time to wait for a response in seconds. */ + timeoutInSeconds?: number; + /** The number of times to retry the request. Defaults to 2. */ + maxRetries?: number; + /** A hook to abort the request. */ + abortSignal?: AbortSignal; + } +} + +export class CompareAiImageUpscalers { + constructor(protected readonly _options: CompareAiImageUpscalers.Options = {}) {} + + /** + * @param {Gooey.StatusCompareAiUpscalersRequest} request + * @param {CompareAiImageUpscalers.RequestOptions} requestOptions - Request-specific configuration. + * + * @throws {@link Gooey.PaymentRequiredError} + * @throws {@link Gooey.UnprocessableEntityError} + * @throws {@link Gooey.TooManyRequestsError} + * + * @example + * await client.compareAiImageUpscalers.statusCompareAiUpscalers({ + * runId: "run_id" + * }) + */ + public async statusCompareAiUpscalers( + request: Gooey.StatusCompareAiUpscalersRequest, + requestOptions?: CompareAiImageUpscalers.RequestOptions + ): Promise { + const { runId } = request; + const _queryParams: Record = {}; + _queryParams["run_id"] = runId; + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: urlJoin( + (await core.Supplier.get(this._options.environment)) ?? environments.GooeyEnvironment.Default, + "v3/compare-ai-upscalers/status" + ), + method: "GET", + headers: { + Authorization: await this._getAuthorizationHeader(), + "X-Fern-Language": "JavaScript", + "X-Fern-SDK-Name": "gooeyai", + "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-Runtime": core.RUNTIME.type, + "X-Fern-Runtime-Version": core.RUNTIME.version, + }, + contentType: "application/json", + queryParameters: _queryParams, + requestType: "json", + timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, + abortSignal: requestOptions?.abortSignal, + }); + if (_response.ok) { + return serializers.CompareUpscalerPageStatusResponse.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }); + } + + if (_response.error.reason === "status-code") { + switch (_response.error.statusCode) { + case 402: + throw new Gooey.PaymentRequiredError(_response.error.body); + case 422: + throw new Gooey.UnprocessableEntityError( + serializers.HttpValidationError.parseOrThrow(_response.error.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }) + ); + case 429: + throw new Gooey.TooManyRequestsError( + serializers.GenericErrorResponse.parseOrThrow(_response.error.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }) + ); + default: + throw new errors.GooeyError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + }); + } + } + + switch (_response.error.reason) { + case "non-json": + throw new errors.GooeyError({ + statusCode: _response.error.statusCode, + body: _response.error.rawBody, + }); + case "timeout": + throw new errors.GooeyTimeoutError(); + case "unknown": + throw new errors.GooeyError({ + message: _response.error.errorMessage, + }); + } + } + + protected async _getAuthorizationHeader(): Promise { + const bearer = (await core.Supplier.get(this._options.apiKey)) ?? process?.env["GOOEY_API_KEY"]; + if (bearer == null) { + throw new errors.GooeyError({ + message: "Please specify GOOEY_API_KEY when instantiating the client.", + }); + } + + return `Bearer ${bearer}`; + } +} diff --git a/src/api/resources/compareAiImageUpscalers/client/index.ts b/src/api/resources/compareAiImageUpscalers/client/index.ts new file mode 100644 index 0000000..415726b --- /dev/null +++ b/src/api/resources/compareAiImageUpscalers/client/index.ts @@ -0,0 +1 @@ +export * from "./requests"; diff --git a/src/api/resources/compareAiImageUpscalers/client/requests/StatusCompareAiUpscalersRequest.ts b/src/api/resources/compareAiImageUpscalers/client/requests/StatusCompareAiUpscalersRequest.ts new file mode 100644 index 0000000..74694d2 --- /dev/null +++ b/src/api/resources/compareAiImageUpscalers/client/requests/StatusCompareAiUpscalersRequest.ts @@ -0,0 +1,13 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +/** + * @example + * { + * runId: "run_id" + * } + */ +export interface StatusCompareAiUpscalersRequest { + runId: string; +} diff --git a/src/api/resources/compareAiImageUpscalers/client/requests/index.ts b/src/api/resources/compareAiImageUpscalers/client/requests/index.ts new file mode 100644 index 0000000..bcdc6ae --- /dev/null +++ b/src/api/resources/compareAiImageUpscalers/client/requests/index.ts @@ -0,0 +1 @@ +export { type StatusCompareAiUpscalersRequest } from "./StatusCompareAiUpscalersRequest"; diff --git a/src/api/resources/compareAiImageUpscalers/index.ts b/src/api/resources/compareAiImageUpscalers/index.ts new file mode 100644 index 0000000..5ec7692 --- /dev/null +++ b/src/api/resources/compareAiImageUpscalers/index.ts @@ -0,0 +1 @@ +export * from "./client"; diff --git a/src/api/resources/compareAiTranslations/client/Client.ts b/src/api/resources/compareAiTranslations/client/Client.ts new file mode 100644 index 0000000..1cdf187 --- /dev/null +++ b/src/api/resources/compareAiTranslations/client/Client.ts @@ -0,0 +1,140 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as environments from "../../../../environments"; +import * as core from "../../../../core"; +import * as Gooey from "../../../index"; +import urlJoin from "url-join"; +import * as serializers from "../../../../serialization/index"; +import * as errors from "../../../../errors/index"; + +export declare namespace CompareAiTranslations { + interface Options { + environment?: core.Supplier; + apiKey?: core.Supplier; + fetcher?: core.FetchFunction; + } + + interface RequestOptions { + /** The maximum time to wait for a response in seconds. */ + timeoutInSeconds?: number; + /** The number of times to retry the request. Defaults to 2. */ + maxRetries?: number; + /** A hook to abort the request. */ + abortSignal?: AbortSignal; + } +} + +export class CompareAiTranslations { + constructor(protected readonly _options: CompareAiTranslations.Options = {}) {} + + /** + * @param {Gooey.StatusTranslateRequest} request + * @param {CompareAiTranslations.RequestOptions} requestOptions - Request-specific configuration. + * + * @throws {@link Gooey.PaymentRequiredError} + * @throws {@link Gooey.UnprocessableEntityError} + * @throws {@link Gooey.TooManyRequestsError} + * + * @example + * await client.compareAiTranslations.statusTranslate({ + * runId: "run_id" + * }) + */ + public async statusTranslate( + request: Gooey.StatusTranslateRequest, + requestOptions?: CompareAiTranslations.RequestOptions + ): Promise { + const { runId } = request; + const _queryParams: Record = {}; + _queryParams["run_id"] = runId; + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: urlJoin( + (await core.Supplier.get(this._options.environment)) ?? environments.GooeyEnvironment.Default, + "v3/translate/status" + ), + method: "GET", + headers: { + Authorization: await this._getAuthorizationHeader(), + "X-Fern-Language": "JavaScript", + "X-Fern-SDK-Name": "gooeyai", + "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-Runtime": core.RUNTIME.type, + "X-Fern-Runtime-Version": core.RUNTIME.version, + }, + contentType: "application/json", + queryParameters: _queryParams, + requestType: "json", + timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, + abortSignal: requestOptions?.abortSignal, + }); + if (_response.ok) { + return serializers.TranslationPageStatusResponse.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }); + } + + if (_response.error.reason === "status-code") { + switch (_response.error.statusCode) { + case 402: + throw new Gooey.PaymentRequiredError(_response.error.body); + case 422: + throw new Gooey.UnprocessableEntityError( + serializers.HttpValidationError.parseOrThrow(_response.error.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }) + ); + case 429: + throw new Gooey.TooManyRequestsError( + serializers.GenericErrorResponse.parseOrThrow(_response.error.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }) + ); + default: + throw new errors.GooeyError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + }); + } + } + + switch (_response.error.reason) { + case "non-json": + throw new errors.GooeyError({ + statusCode: _response.error.statusCode, + body: _response.error.rawBody, + }); + case "timeout": + throw new errors.GooeyTimeoutError(); + case "unknown": + throw new errors.GooeyError({ + message: _response.error.errorMessage, + }); + } + } + + protected async _getAuthorizationHeader(): Promise { + const bearer = (await core.Supplier.get(this._options.apiKey)) ?? process?.env["GOOEY_API_KEY"]; + if (bearer == null) { + throw new errors.GooeyError({ + message: "Please specify GOOEY_API_KEY when instantiating the client.", + }); + } + + return `Bearer ${bearer}`; + } +} diff --git a/src/api/resources/compareAiTranslations/client/index.ts b/src/api/resources/compareAiTranslations/client/index.ts new file mode 100644 index 0000000..415726b --- /dev/null +++ b/src/api/resources/compareAiTranslations/client/index.ts @@ -0,0 +1 @@ +export * from "./requests"; diff --git a/src/api/resources/compareAiTranslations/client/requests/StatusTranslateRequest.ts b/src/api/resources/compareAiTranslations/client/requests/StatusTranslateRequest.ts new file mode 100644 index 0000000..c6411ec --- /dev/null +++ b/src/api/resources/compareAiTranslations/client/requests/StatusTranslateRequest.ts @@ -0,0 +1,13 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +/** + * @example + * { + * runId: "run_id" + * } + */ +export interface StatusTranslateRequest { + runId: string; +} diff --git a/src/api/resources/compareAiTranslations/client/requests/index.ts b/src/api/resources/compareAiTranslations/client/requests/index.ts new file mode 100644 index 0000000..9133079 --- /dev/null +++ b/src/api/resources/compareAiTranslations/client/requests/index.ts @@ -0,0 +1 @@ +export { type StatusTranslateRequest } from "./StatusTranslateRequest"; diff --git a/src/api/resources/compareAiTranslations/index.ts b/src/api/resources/compareAiTranslations/index.ts new file mode 100644 index 0000000..5ec7692 --- /dev/null +++ b/src/api/resources/compareAiTranslations/index.ts @@ -0,0 +1 @@ +export * from "./client"; diff --git a/src/api/resources/compareAiVoiceGenerators/client/Client.ts b/src/api/resources/compareAiVoiceGenerators/client/Client.ts new file mode 100644 index 0000000..87f75c3 --- /dev/null +++ b/src/api/resources/compareAiVoiceGenerators/client/Client.ts @@ -0,0 +1,140 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as environments from "../../../../environments"; +import * as core from "../../../../core"; +import * as Gooey from "../../../index"; +import urlJoin from "url-join"; +import * as serializers from "../../../../serialization/index"; +import * as errors from "../../../../errors/index"; + +export declare namespace CompareAiVoiceGenerators { + interface Options { + environment?: core.Supplier; + apiKey?: core.Supplier; + fetcher?: core.FetchFunction; + } + + interface RequestOptions { + /** The maximum time to wait for a response in seconds. */ + timeoutInSeconds?: number; + /** The number of times to retry the request. Defaults to 2. */ + maxRetries?: number; + /** A hook to abort the request. */ + abortSignal?: AbortSignal; + } +} + +export class CompareAiVoiceGenerators { + constructor(protected readonly _options: CompareAiVoiceGenerators.Options = {}) {} + + /** + * @param {Gooey.StatusTextToSpeechRequest} request + * @param {CompareAiVoiceGenerators.RequestOptions} requestOptions - Request-specific configuration. + * + * @throws {@link Gooey.PaymentRequiredError} + * @throws {@link Gooey.UnprocessableEntityError} + * @throws {@link Gooey.TooManyRequestsError} + * + * @example + * await client.compareAiVoiceGenerators.statusTextToSpeech({ + * runId: "run_id" + * }) + */ + public async statusTextToSpeech( + request: Gooey.StatusTextToSpeechRequest, + requestOptions?: CompareAiVoiceGenerators.RequestOptions + ): Promise { + const { runId } = request; + const _queryParams: Record = {}; + _queryParams["run_id"] = runId; + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: urlJoin( + (await core.Supplier.get(this._options.environment)) ?? environments.GooeyEnvironment.Default, + "v3/TextToSpeech/status" + ), + method: "GET", + headers: { + Authorization: await this._getAuthorizationHeader(), + "X-Fern-Language": "JavaScript", + "X-Fern-SDK-Name": "gooeyai", + "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-Runtime": core.RUNTIME.type, + "X-Fern-Runtime-Version": core.RUNTIME.version, + }, + contentType: "application/json", + queryParameters: _queryParams, + requestType: "json", + timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, + abortSignal: requestOptions?.abortSignal, + }); + if (_response.ok) { + return serializers.TextToSpeechPageStatusResponse.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }); + } + + if (_response.error.reason === "status-code") { + switch (_response.error.statusCode) { + case 402: + throw new Gooey.PaymentRequiredError(_response.error.body); + case 422: + throw new Gooey.UnprocessableEntityError( + serializers.HttpValidationError.parseOrThrow(_response.error.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }) + ); + case 429: + throw new Gooey.TooManyRequestsError( + serializers.GenericErrorResponse.parseOrThrow(_response.error.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }) + ); + default: + throw new errors.GooeyError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + }); + } + } + + switch (_response.error.reason) { + case "non-json": + throw new errors.GooeyError({ + statusCode: _response.error.statusCode, + body: _response.error.rawBody, + }); + case "timeout": + throw new errors.GooeyTimeoutError(); + case "unknown": + throw new errors.GooeyError({ + message: _response.error.errorMessage, + }); + } + } + + protected async _getAuthorizationHeader(): Promise { + const bearer = (await core.Supplier.get(this._options.apiKey)) ?? process?.env["GOOEY_API_KEY"]; + if (bearer == null) { + throw new errors.GooeyError({ + message: "Please specify GOOEY_API_KEY when instantiating the client.", + }); + } + + return `Bearer ${bearer}`; + } +} diff --git a/src/api/resources/compareAiVoiceGenerators/client/index.ts b/src/api/resources/compareAiVoiceGenerators/client/index.ts new file mode 100644 index 0000000..415726b --- /dev/null +++ b/src/api/resources/compareAiVoiceGenerators/client/index.ts @@ -0,0 +1 @@ +export * from "./requests"; diff --git a/src/api/resources/compareAiVoiceGenerators/client/requests/StatusTextToSpeechRequest.ts b/src/api/resources/compareAiVoiceGenerators/client/requests/StatusTextToSpeechRequest.ts new file mode 100644 index 0000000..8309b35 --- /dev/null +++ b/src/api/resources/compareAiVoiceGenerators/client/requests/StatusTextToSpeechRequest.ts @@ -0,0 +1,13 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +/** + * @example + * { + * runId: "run_id" + * } + */ +export interface StatusTextToSpeechRequest { + runId: string; +} diff --git a/src/api/resources/compareAiVoiceGenerators/client/requests/index.ts b/src/api/resources/compareAiVoiceGenerators/client/requests/index.ts new file mode 100644 index 0000000..4524caa --- /dev/null +++ b/src/api/resources/compareAiVoiceGenerators/client/requests/index.ts @@ -0,0 +1 @@ +export { type StatusTextToSpeechRequest } from "./StatusTextToSpeechRequest"; diff --git a/src/api/resources/compareAiVoiceGenerators/index.ts b/src/api/resources/compareAiVoiceGenerators/index.ts new file mode 100644 index 0000000..5ec7692 --- /dev/null +++ b/src/api/resources/compareAiVoiceGenerators/index.ts @@ -0,0 +1 @@ +export * from "./client"; diff --git a/src/api/resources/copilotForYourEnterprise/client/Client.ts b/src/api/resources/copilotForYourEnterprise/client/Client.ts index 0f13e40..3c73c35 100644 --- a/src/api/resources/copilotForYourEnterprise/client/Client.ts +++ b/src/api/resources/copilotForYourEnterprise/client/Client.ts @@ -62,7 +62,7 @@ export class CopilotForYourEnterprise { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta15", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -150,6 +150,104 @@ export class CopilotForYourEnterprise { } } + /** + * @param {Gooey.StatusVideoBotsRequest} request + * @param {CopilotForYourEnterprise.RequestOptions} requestOptions - Request-specific configuration. + * + * @throws {@link Gooey.PaymentRequiredError} + * @throws {@link Gooey.UnprocessableEntityError} + * @throws {@link Gooey.TooManyRequestsError} + * + * @example + * await client.copilotForYourEnterprise.statusVideoBots({ + * runId: "run_id" + * }) + */ + public async statusVideoBots( + request: Gooey.StatusVideoBotsRequest, + requestOptions?: CopilotForYourEnterprise.RequestOptions + ): Promise { + const { runId } = request; + const _queryParams: Record = {}; + _queryParams["run_id"] = runId; + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: urlJoin( + (await core.Supplier.get(this._options.environment)) ?? environments.GooeyEnvironment.Default, + "v3/video-bots/status" + ), + method: "GET", + headers: { + Authorization: await this._getAuthorizationHeader(), + "X-Fern-Language": "JavaScript", + "X-Fern-SDK-Name": "gooeyai", + "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-Runtime": core.RUNTIME.type, + "X-Fern-Runtime-Version": core.RUNTIME.version, + }, + contentType: "application/json", + queryParameters: _queryParams, + requestType: "json", + timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, + abortSignal: requestOptions?.abortSignal, + }); + if (_response.ok) { + return serializers.VideoBotsPageStatusResponse.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }); + } + + if (_response.error.reason === "status-code") { + switch (_response.error.statusCode) { + case 402: + throw new Gooey.PaymentRequiredError(_response.error.body); + case 422: + throw new Gooey.UnprocessableEntityError( + serializers.HttpValidationError.parseOrThrow(_response.error.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }) + ); + case 429: + throw new Gooey.TooManyRequestsError( + serializers.GenericErrorResponse.parseOrThrow(_response.error.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }) + ); + default: + throw new errors.GooeyError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + }); + } + } + + switch (_response.error.reason) { + case "non-json": + throw new errors.GooeyError({ + statusCode: _response.error.statusCode, + body: _response.error.rawBody, + }); + case "timeout": + throw new errors.GooeyTimeoutError(); + case "unknown": + throw new errors.GooeyError({ + message: _response.error.errorMessage, + }); + } + } + protected async _getAuthorizationHeader(): Promise { const bearer = (await core.Supplier.get(this._options.apiKey)) ?? process?.env["GOOEY_API_KEY"]; if (bearer == null) { diff --git a/src/api/resources/copilotForYourEnterprise/client/requests/StatusVideoBotsRequest.ts b/src/api/resources/copilotForYourEnterprise/client/requests/StatusVideoBotsRequest.ts new file mode 100644 index 0000000..9716870 --- /dev/null +++ b/src/api/resources/copilotForYourEnterprise/client/requests/StatusVideoBotsRequest.ts @@ -0,0 +1,13 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +/** + * @example + * { + * runId: "run_id" + * } + */ +export interface StatusVideoBotsRequest { + runId: string; +} diff --git a/src/api/resources/copilotForYourEnterprise/client/requests/index.ts b/src/api/resources/copilotForYourEnterprise/client/requests/index.ts index ce34b7f..7586726 100644 --- a/src/api/resources/copilotForYourEnterprise/client/requests/index.ts +++ b/src/api/resources/copilotForYourEnterprise/client/requests/index.ts @@ -1 +1,2 @@ export { type AsyncFormVideoBotsRequest } from "./AsyncFormVideoBotsRequest"; +export { type StatusVideoBotsRequest } from "./StatusVideoBotsRequest"; diff --git a/src/api/resources/copilotIntegrations/client/Client.ts b/src/api/resources/copilotIntegrations/client/Client.ts index 1915648..7592a92 100644 --- a/src/api/resources/copilotIntegrations/client/Client.ts +++ b/src/api/resources/copilotIntegrations/client/Client.ts @@ -55,7 +55,7 @@ export class CopilotIntegrations { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta15", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -137,7 +137,7 @@ export class CopilotIntegrations { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta15", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/createAPerfectSeoOptimizedTitleParagraph/client/Client.ts b/src/api/resources/createAPerfectSeoOptimizedTitleParagraph/client/Client.ts new file mode 100644 index 0000000..e448741 --- /dev/null +++ b/src/api/resources/createAPerfectSeoOptimizedTitleParagraph/client/Client.ts @@ -0,0 +1,140 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as environments from "../../../../environments"; +import * as core from "../../../../core"; +import * as Gooey from "../../../index"; +import urlJoin from "url-join"; +import * as serializers from "../../../../serialization/index"; +import * as errors from "../../../../errors/index"; + +export declare namespace CreateAPerfectSeoOptimizedTitleParagraph { + interface Options { + environment?: core.Supplier; + apiKey?: core.Supplier; + fetcher?: core.FetchFunction; + } + + interface RequestOptions { + /** The maximum time to wait for a response in seconds. */ + timeoutInSeconds?: number; + /** The number of times to retry the request. Defaults to 2. */ + maxRetries?: number; + /** A hook to abort the request. */ + abortSignal?: AbortSignal; + } +} + +export class CreateAPerfectSeoOptimizedTitleParagraph { + constructor(protected readonly _options: CreateAPerfectSeoOptimizedTitleParagraph.Options = {}) {} + + /** + * @param {Gooey.StatusSeoSummaryRequest} request + * @param {CreateAPerfectSeoOptimizedTitleParagraph.RequestOptions} requestOptions - Request-specific configuration. + * + * @throws {@link Gooey.PaymentRequiredError} + * @throws {@link Gooey.UnprocessableEntityError} + * @throws {@link Gooey.TooManyRequestsError} + * + * @example + * await client.createAPerfectSeoOptimizedTitleParagraph.statusSeoSummary({ + * runId: "run_id" + * }) + */ + public async statusSeoSummary( + request: Gooey.StatusSeoSummaryRequest, + requestOptions?: CreateAPerfectSeoOptimizedTitleParagraph.RequestOptions + ): Promise { + const { runId } = request; + const _queryParams: Record = {}; + _queryParams["run_id"] = runId; + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: urlJoin( + (await core.Supplier.get(this._options.environment)) ?? environments.GooeyEnvironment.Default, + "v3/SEOSummary/status" + ), + method: "GET", + headers: { + Authorization: await this._getAuthorizationHeader(), + "X-Fern-Language": "JavaScript", + "X-Fern-SDK-Name": "gooeyai", + "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-Runtime": core.RUNTIME.type, + "X-Fern-Runtime-Version": core.RUNTIME.version, + }, + contentType: "application/json", + queryParameters: _queryParams, + requestType: "json", + timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, + abortSignal: requestOptions?.abortSignal, + }); + if (_response.ok) { + return serializers.SeoSummaryPageStatusResponse.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }); + } + + if (_response.error.reason === "status-code") { + switch (_response.error.statusCode) { + case 402: + throw new Gooey.PaymentRequiredError(_response.error.body); + case 422: + throw new Gooey.UnprocessableEntityError( + serializers.HttpValidationError.parseOrThrow(_response.error.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }) + ); + case 429: + throw new Gooey.TooManyRequestsError( + serializers.GenericErrorResponse.parseOrThrow(_response.error.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }) + ); + default: + throw new errors.GooeyError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + }); + } + } + + switch (_response.error.reason) { + case "non-json": + throw new errors.GooeyError({ + statusCode: _response.error.statusCode, + body: _response.error.rawBody, + }); + case "timeout": + throw new errors.GooeyTimeoutError(); + case "unknown": + throw new errors.GooeyError({ + message: _response.error.errorMessage, + }); + } + } + + protected async _getAuthorizationHeader(): Promise { + const bearer = (await core.Supplier.get(this._options.apiKey)) ?? process?.env["GOOEY_API_KEY"]; + if (bearer == null) { + throw new errors.GooeyError({ + message: "Please specify GOOEY_API_KEY when instantiating the client.", + }); + } + + return `Bearer ${bearer}`; + } +} diff --git a/src/api/resources/createAPerfectSeoOptimizedTitleParagraph/client/index.ts b/src/api/resources/createAPerfectSeoOptimizedTitleParagraph/client/index.ts new file mode 100644 index 0000000..415726b --- /dev/null +++ b/src/api/resources/createAPerfectSeoOptimizedTitleParagraph/client/index.ts @@ -0,0 +1 @@ +export * from "./requests"; diff --git a/src/api/resources/createAPerfectSeoOptimizedTitleParagraph/client/requests/StatusSeoSummaryRequest.ts b/src/api/resources/createAPerfectSeoOptimizedTitleParagraph/client/requests/StatusSeoSummaryRequest.ts new file mode 100644 index 0000000..3e8214d --- /dev/null +++ b/src/api/resources/createAPerfectSeoOptimizedTitleParagraph/client/requests/StatusSeoSummaryRequest.ts @@ -0,0 +1,13 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +/** + * @example + * { + * runId: "run_id" + * } + */ +export interface StatusSeoSummaryRequest { + runId: string; +} diff --git a/src/api/resources/createAPerfectSeoOptimizedTitleParagraph/client/requests/index.ts b/src/api/resources/createAPerfectSeoOptimizedTitleParagraph/client/requests/index.ts new file mode 100644 index 0000000..22806d4 --- /dev/null +++ b/src/api/resources/createAPerfectSeoOptimizedTitleParagraph/client/requests/index.ts @@ -0,0 +1 @@ +export { type StatusSeoSummaryRequest } from "./StatusSeoSummaryRequest"; diff --git a/src/api/resources/createAPerfectSeoOptimizedTitleParagraph/index.ts b/src/api/resources/createAPerfectSeoOptimizedTitleParagraph/index.ts new file mode 100644 index 0000000..5ec7692 --- /dev/null +++ b/src/api/resources/createAPerfectSeoOptimizedTitleParagraph/index.ts @@ -0,0 +1 @@ +export * from "./client"; diff --git a/src/api/resources/editAnImageWithAiPrompt/client/Client.ts b/src/api/resources/editAnImageWithAiPrompt/client/Client.ts new file mode 100644 index 0000000..c65385e --- /dev/null +++ b/src/api/resources/editAnImageWithAiPrompt/client/Client.ts @@ -0,0 +1,140 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as environments from "../../../../environments"; +import * as core from "../../../../core"; +import * as Gooey from "../../../index"; +import urlJoin from "url-join"; +import * as serializers from "../../../../serialization/index"; +import * as errors from "../../../../errors/index"; + +export declare namespace EditAnImageWithAiPrompt { + interface Options { + environment?: core.Supplier; + apiKey?: core.Supplier; + fetcher?: core.FetchFunction; + } + + interface RequestOptions { + /** The maximum time to wait for a response in seconds. */ + timeoutInSeconds?: number; + /** The number of times to retry the request. Defaults to 2. */ + maxRetries?: number; + /** A hook to abort the request. */ + abortSignal?: AbortSignal; + } +} + +export class EditAnImageWithAiPrompt { + constructor(protected readonly _options: EditAnImageWithAiPrompt.Options = {}) {} + + /** + * @param {Gooey.StatusImg2ImgRequest} request + * @param {EditAnImageWithAiPrompt.RequestOptions} requestOptions - Request-specific configuration. + * + * @throws {@link Gooey.PaymentRequiredError} + * @throws {@link Gooey.UnprocessableEntityError} + * @throws {@link Gooey.TooManyRequestsError} + * + * @example + * await client.editAnImageWithAiPrompt.statusImg2Img({ + * runId: "run_id" + * }) + */ + public async statusImg2Img( + request: Gooey.StatusImg2ImgRequest, + requestOptions?: EditAnImageWithAiPrompt.RequestOptions + ): Promise { + const { runId } = request; + const _queryParams: Record = {}; + _queryParams["run_id"] = runId; + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: urlJoin( + (await core.Supplier.get(this._options.environment)) ?? environments.GooeyEnvironment.Default, + "v3/Img2Img/status" + ), + method: "GET", + headers: { + Authorization: await this._getAuthorizationHeader(), + "X-Fern-Language": "JavaScript", + "X-Fern-SDK-Name": "gooeyai", + "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-Runtime": core.RUNTIME.type, + "X-Fern-Runtime-Version": core.RUNTIME.version, + }, + contentType: "application/json", + queryParameters: _queryParams, + requestType: "json", + timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, + abortSignal: requestOptions?.abortSignal, + }); + if (_response.ok) { + return serializers.Img2ImgPageStatusResponse.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }); + } + + if (_response.error.reason === "status-code") { + switch (_response.error.statusCode) { + case 402: + throw new Gooey.PaymentRequiredError(_response.error.body); + case 422: + throw new Gooey.UnprocessableEntityError( + serializers.HttpValidationError.parseOrThrow(_response.error.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }) + ); + case 429: + throw new Gooey.TooManyRequestsError( + serializers.GenericErrorResponse.parseOrThrow(_response.error.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }) + ); + default: + throw new errors.GooeyError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + }); + } + } + + switch (_response.error.reason) { + case "non-json": + throw new errors.GooeyError({ + statusCode: _response.error.statusCode, + body: _response.error.rawBody, + }); + case "timeout": + throw new errors.GooeyTimeoutError(); + case "unknown": + throw new errors.GooeyError({ + message: _response.error.errorMessage, + }); + } + } + + protected async _getAuthorizationHeader(): Promise { + const bearer = (await core.Supplier.get(this._options.apiKey)) ?? process?.env["GOOEY_API_KEY"]; + if (bearer == null) { + throw new errors.GooeyError({ + message: "Please specify GOOEY_API_KEY when instantiating the client.", + }); + } + + return `Bearer ${bearer}`; + } +} diff --git a/src/api/resources/editAnImageWithAiPrompt/client/index.ts b/src/api/resources/editAnImageWithAiPrompt/client/index.ts new file mode 100644 index 0000000..415726b --- /dev/null +++ b/src/api/resources/editAnImageWithAiPrompt/client/index.ts @@ -0,0 +1 @@ +export * from "./requests"; diff --git a/src/api/resources/editAnImageWithAiPrompt/client/requests/StatusImg2ImgRequest.ts b/src/api/resources/editAnImageWithAiPrompt/client/requests/StatusImg2ImgRequest.ts new file mode 100644 index 0000000..14c71ff --- /dev/null +++ b/src/api/resources/editAnImageWithAiPrompt/client/requests/StatusImg2ImgRequest.ts @@ -0,0 +1,13 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +/** + * @example + * { + * runId: "run_id" + * } + */ +export interface StatusImg2ImgRequest { + runId: string; +} diff --git a/src/api/resources/editAnImageWithAiPrompt/client/requests/index.ts b/src/api/resources/editAnImageWithAiPrompt/client/requests/index.ts new file mode 100644 index 0000000..586bd45 --- /dev/null +++ b/src/api/resources/editAnImageWithAiPrompt/client/requests/index.ts @@ -0,0 +1 @@ +export { type StatusImg2ImgRequest } from "./StatusImg2ImgRequest"; diff --git a/src/api/resources/editAnImageWithAiPrompt/index.ts b/src/api/resources/editAnImageWithAiPrompt/index.ts new file mode 100644 index 0000000..5ec7692 --- /dev/null +++ b/src/api/resources/editAnImageWithAiPrompt/index.ts @@ -0,0 +1 @@ +export * from "./client"; diff --git a/src/api/resources/embeddings/client/Client.ts b/src/api/resources/embeddings/client/Client.ts index 6966b7c..7aeadcf 100644 --- a/src/api/resources/embeddings/client/Client.ts +++ b/src/api/resources/embeddings/client/Client.ts @@ -4,7 +4,9 @@ import * as environments from "../../../../environments"; import * as core from "../../../../core"; +import * as Gooey from "../../../index"; import urlJoin from "url-join"; +import * as serializers from "../../../../serialization/index"; import * as errors from "../../../../errors/index"; export declare namespace Embeddings { @@ -27,6 +29,104 @@ export declare namespace Embeddings { export class Embeddings { constructor(protected readonly _options: Embeddings.Options = {}) {} + /** + * @param {Gooey.StatusEmbeddingsRequest} request + * @param {Embeddings.RequestOptions} requestOptions - Request-specific configuration. + * + * @throws {@link Gooey.PaymentRequiredError} + * @throws {@link Gooey.UnprocessableEntityError} + * @throws {@link Gooey.TooManyRequestsError} + * + * @example + * await client.embeddings.statusEmbeddings({ + * runId: "run_id" + * }) + */ + public async statusEmbeddings( + request: Gooey.StatusEmbeddingsRequest, + requestOptions?: Embeddings.RequestOptions + ): Promise { + const { runId } = request; + const _queryParams: Record = {}; + _queryParams["run_id"] = runId; + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: urlJoin( + (await core.Supplier.get(this._options.environment)) ?? environments.GooeyEnvironment.Default, + "v3/embeddings/status" + ), + method: "GET", + headers: { + Authorization: await this._getAuthorizationHeader(), + "X-Fern-Language": "JavaScript", + "X-Fern-SDK-Name": "gooeyai", + "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-Runtime": core.RUNTIME.type, + "X-Fern-Runtime-Version": core.RUNTIME.version, + }, + contentType: "application/json", + queryParameters: _queryParams, + requestType: "json", + timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, + abortSignal: requestOptions?.abortSignal, + }); + if (_response.ok) { + return serializers.EmbeddingsPageStatusResponse.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }); + } + + if (_response.error.reason === "status-code") { + switch (_response.error.statusCode) { + case 402: + throw new Gooey.PaymentRequiredError(_response.error.body); + case 422: + throw new Gooey.UnprocessableEntityError( + serializers.HttpValidationError.parseOrThrow(_response.error.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }) + ); + case 429: + throw new Gooey.TooManyRequestsError( + serializers.GenericErrorResponse.parseOrThrow(_response.error.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }) + ); + default: + throw new errors.GooeyError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + }); + } + } + + switch (_response.error.reason) { + case "non-json": + throw new errors.GooeyError({ + statusCode: _response.error.statusCode, + body: _response.error.rawBody, + }); + case "timeout": + throw new errors.GooeyTimeoutError(); + case "unknown": + throw new errors.GooeyError({ + message: _response.error.errorMessage, + }); + } + } + /** * @param {Embeddings.RequestOptions} requestOptions - Request-specific configuration. * @@ -44,7 +144,7 @@ export class Embeddings { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta15", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/embeddings/client/index.ts b/src/api/resources/embeddings/client/index.ts index cb0ff5c..415726b 100644 --- a/src/api/resources/embeddings/client/index.ts +++ b/src/api/resources/embeddings/client/index.ts @@ -1 +1 @@ -export {}; +export * from "./requests"; diff --git a/src/api/resources/embeddings/client/requests/StatusEmbeddingsRequest.ts b/src/api/resources/embeddings/client/requests/StatusEmbeddingsRequest.ts new file mode 100644 index 0000000..ca63624 --- /dev/null +++ b/src/api/resources/embeddings/client/requests/StatusEmbeddingsRequest.ts @@ -0,0 +1,13 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +/** + * @example + * { + * runId: "run_id" + * } + */ +export interface StatusEmbeddingsRequest { + runId: string; +} diff --git a/src/api/resources/embeddings/client/requests/index.ts b/src/api/resources/embeddings/client/requests/index.ts new file mode 100644 index 0000000..e45c447 --- /dev/null +++ b/src/api/resources/embeddings/client/requests/index.ts @@ -0,0 +1 @@ +export { type StatusEmbeddingsRequest } from "./StatusEmbeddingsRequest"; diff --git a/src/api/resources/evaluator/client/Client.ts b/src/api/resources/evaluator/client/Client.ts index b5c7858..4c3d6c7 100644 --- a/src/api/resources/evaluator/client/Client.ts +++ b/src/api/resources/evaluator/client/Client.ts @@ -62,7 +62,7 @@ export class Evaluator { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta15", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -150,6 +150,104 @@ export class Evaluator { } } + /** + * @param {Gooey.StatusBulkEvalRequest} request + * @param {Evaluator.RequestOptions} requestOptions - Request-specific configuration. + * + * @throws {@link Gooey.PaymentRequiredError} + * @throws {@link Gooey.UnprocessableEntityError} + * @throws {@link Gooey.TooManyRequestsError} + * + * @example + * await client.evaluator.statusBulkEval({ + * runId: "run_id" + * }) + */ + public async statusBulkEval( + request: Gooey.StatusBulkEvalRequest, + requestOptions?: Evaluator.RequestOptions + ): Promise { + const { runId } = request; + const _queryParams: Record = {}; + _queryParams["run_id"] = runId; + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: urlJoin( + (await core.Supplier.get(this._options.environment)) ?? environments.GooeyEnvironment.Default, + "v3/bulk-eval/status" + ), + method: "GET", + headers: { + Authorization: await this._getAuthorizationHeader(), + "X-Fern-Language": "JavaScript", + "X-Fern-SDK-Name": "gooeyai", + "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-Runtime": core.RUNTIME.type, + "X-Fern-Runtime-Version": core.RUNTIME.version, + }, + contentType: "application/json", + queryParameters: _queryParams, + requestType: "json", + timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, + abortSignal: requestOptions?.abortSignal, + }); + if (_response.ok) { + return serializers.BulkEvalPageStatusResponse.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }); + } + + if (_response.error.reason === "status-code") { + switch (_response.error.statusCode) { + case 402: + throw new Gooey.PaymentRequiredError(_response.error.body); + case 422: + throw new Gooey.UnprocessableEntityError( + serializers.HttpValidationError.parseOrThrow(_response.error.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }) + ); + case 429: + throw new Gooey.TooManyRequestsError( + serializers.GenericErrorResponse.parseOrThrow(_response.error.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }) + ); + default: + throw new errors.GooeyError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + }); + } + } + + switch (_response.error.reason) { + case "non-json": + throw new errors.GooeyError({ + statusCode: _response.error.statusCode, + body: _response.error.rawBody, + }); + case "timeout": + throw new errors.GooeyTimeoutError(); + case "unknown": + throw new errors.GooeyError({ + message: _response.error.errorMessage, + }); + } + } + protected async _getAuthorizationHeader(): Promise { const bearer = (await core.Supplier.get(this._options.apiKey)) ?? process?.env["GOOEY_API_KEY"]; if (bearer == null) { diff --git a/src/api/resources/evaluator/client/requests/StatusBulkEvalRequest.ts b/src/api/resources/evaluator/client/requests/StatusBulkEvalRequest.ts new file mode 100644 index 0000000..e255f2c --- /dev/null +++ b/src/api/resources/evaluator/client/requests/StatusBulkEvalRequest.ts @@ -0,0 +1,13 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +/** + * @example + * { + * runId: "run_id" + * } + */ +export interface StatusBulkEvalRequest { + runId: string; +} diff --git a/src/api/resources/evaluator/client/requests/index.ts b/src/api/resources/evaluator/client/requests/index.ts index b30e469..617239f 100644 --- a/src/api/resources/evaluator/client/requests/index.ts +++ b/src/api/resources/evaluator/client/requests/index.ts @@ -1 +1,2 @@ export { type AsyncFormBulkEvalRequest } from "./AsyncFormBulkEvalRequest"; +export { type StatusBulkEvalRequest } from "./StatusBulkEvalRequest"; diff --git a/src/api/resources/functions/client/Client.ts b/src/api/resources/functions/client/Client.ts index 02ac05d..77f660c 100644 --- a/src/api/resources/functions/client/Client.ts +++ b/src/api/resources/functions/client/Client.ts @@ -62,7 +62,7 @@ export class Functions { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta15", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -150,6 +150,104 @@ export class Functions { } } + /** + * @param {Gooey.StatusFunctionsRequest} request + * @param {Functions.RequestOptions} requestOptions - Request-specific configuration. + * + * @throws {@link Gooey.PaymentRequiredError} + * @throws {@link Gooey.UnprocessableEntityError} + * @throws {@link Gooey.TooManyRequestsError} + * + * @example + * await client.functions.statusFunctions({ + * runId: "run_id" + * }) + */ + public async statusFunctions( + request: Gooey.StatusFunctionsRequest, + requestOptions?: Functions.RequestOptions + ): Promise { + const { runId } = request; + const _queryParams: Record = {}; + _queryParams["run_id"] = runId; + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: urlJoin( + (await core.Supplier.get(this._options.environment)) ?? environments.GooeyEnvironment.Default, + "v3/functions/status" + ), + method: "GET", + headers: { + Authorization: await this._getAuthorizationHeader(), + "X-Fern-Language": "JavaScript", + "X-Fern-SDK-Name": "gooeyai", + "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-Runtime": core.RUNTIME.type, + "X-Fern-Runtime-Version": core.RUNTIME.version, + }, + contentType: "application/json", + queryParameters: _queryParams, + requestType: "json", + timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, + abortSignal: requestOptions?.abortSignal, + }); + if (_response.ok) { + return serializers.FunctionsPageStatusResponse.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }); + } + + if (_response.error.reason === "status-code") { + switch (_response.error.statusCode) { + case 402: + throw new Gooey.PaymentRequiredError(_response.error.body); + case 422: + throw new Gooey.UnprocessableEntityError( + serializers.HttpValidationError.parseOrThrow(_response.error.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }) + ); + case 429: + throw new Gooey.TooManyRequestsError( + serializers.GenericErrorResponse.parseOrThrow(_response.error.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }) + ); + default: + throw new errors.GooeyError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + }); + } + } + + switch (_response.error.reason) { + case "non-json": + throw new errors.GooeyError({ + statusCode: _response.error.statusCode, + body: _response.error.rawBody, + }); + case "timeout": + throw new errors.GooeyTimeoutError(); + case "unknown": + throw new errors.GooeyError({ + message: _response.error.errorMessage, + }); + } + } + /** * @param {Functions.RequestOptions} requestOptions - Request-specific configuration. * @@ -167,7 +265,7 @@ export class Functions { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta15", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/functions/client/requests/StatusFunctionsRequest.ts b/src/api/resources/functions/client/requests/StatusFunctionsRequest.ts new file mode 100644 index 0000000..b1b78f5 --- /dev/null +++ b/src/api/resources/functions/client/requests/StatusFunctionsRequest.ts @@ -0,0 +1,13 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +/** + * @example + * { + * runId: "run_id" + * } + */ +export interface StatusFunctionsRequest { + runId: string; +} diff --git a/src/api/resources/functions/client/requests/index.ts b/src/api/resources/functions/client/requests/index.ts index 500bb67..6eb4f54 100644 --- a/src/api/resources/functions/client/requests/index.ts +++ b/src/api/resources/functions/client/requests/index.ts @@ -1 +1,2 @@ export { type AsyncFormFunctionsRequest } from "./AsyncFormFunctionsRequest"; +export { type StatusFunctionsRequest } from "./StatusFunctionsRequest"; diff --git a/src/api/resources/generatePeopleAlsoAskSeoContent/client/Client.ts b/src/api/resources/generatePeopleAlsoAskSeoContent/client/Client.ts new file mode 100644 index 0000000..8bf078e --- /dev/null +++ b/src/api/resources/generatePeopleAlsoAskSeoContent/client/Client.ts @@ -0,0 +1,140 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as environments from "../../../../environments"; +import * as core from "../../../../core"; +import * as Gooey from "../../../index"; +import urlJoin from "url-join"; +import * as serializers from "../../../../serialization/index"; +import * as errors from "../../../../errors/index"; + +export declare namespace GeneratePeopleAlsoAskSeoContent { + interface Options { + environment?: core.Supplier; + apiKey?: core.Supplier; + fetcher?: core.FetchFunction; + } + + interface RequestOptions { + /** The maximum time to wait for a response in seconds. */ + timeoutInSeconds?: number; + /** The number of times to retry the request. Defaults to 2. */ + maxRetries?: number; + /** A hook to abort the request. */ + abortSignal?: AbortSignal; + } +} + +export class GeneratePeopleAlsoAskSeoContent { + constructor(protected readonly _options: GeneratePeopleAlsoAskSeoContent.Options = {}) {} + + /** + * @param {Gooey.StatusRelatedQnaMakerRequest} request + * @param {GeneratePeopleAlsoAskSeoContent.RequestOptions} requestOptions - Request-specific configuration. + * + * @throws {@link Gooey.PaymentRequiredError} + * @throws {@link Gooey.UnprocessableEntityError} + * @throws {@link Gooey.TooManyRequestsError} + * + * @example + * await client.generatePeopleAlsoAskSeoContent.statusRelatedQnaMaker({ + * runId: "run_id" + * }) + */ + public async statusRelatedQnaMaker( + request: Gooey.StatusRelatedQnaMakerRequest, + requestOptions?: GeneratePeopleAlsoAskSeoContent.RequestOptions + ): Promise { + const { runId } = request; + const _queryParams: Record = {}; + _queryParams["run_id"] = runId; + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: urlJoin( + (await core.Supplier.get(this._options.environment)) ?? environments.GooeyEnvironment.Default, + "v3/related-qna-maker/status" + ), + method: "GET", + headers: { + Authorization: await this._getAuthorizationHeader(), + "X-Fern-Language": "JavaScript", + "X-Fern-SDK-Name": "gooeyai", + "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-Runtime": core.RUNTIME.type, + "X-Fern-Runtime-Version": core.RUNTIME.version, + }, + contentType: "application/json", + queryParameters: _queryParams, + requestType: "json", + timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, + abortSignal: requestOptions?.abortSignal, + }); + if (_response.ok) { + return serializers.RelatedQnAPageStatusResponse.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }); + } + + if (_response.error.reason === "status-code") { + switch (_response.error.statusCode) { + case 402: + throw new Gooey.PaymentRequiredError(_response.error.body); + case 422: + throw new Gooey.UnprocessableEntityError( + serializers.HttpValidationError.parseOrThrow(_response.error.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }) + ); + case 429: + throw new Gooey.TooManyRequestsError( + serializers.GenericErrorResponse.parseOrThrow(_response.error.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }) + ); + default: + throw new errors.GooeyError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + }); + } + } + + switch (_response.error.reason) { + case "non-json": + throw new errors.GooeyError({ + statusCode: _response.error.statusCode, + body: _response.error.rawBody, + }); + case "timeout": + throw new errors.GooeyTimeoutError(); + case "unknown": + throw new errors.GooeyError({ + message: _response.error.errorMessage, + }); + } + } + + protected async _getAuthorizationHeader(): Promise { + const bearer = (await core.Supplier.get(this._options.apiKey)) ?? process?.env["GOOEY_API_KEY"]; + if (bearer == null) { + throw new errors.GooeyError({ + message: "Please specify GOOEY_API_KEY when instantiating the client.", + }); + } + + return `Bearer ${bearer}`; + } +} diff --git a/src/api/resources/generatePeopleAlsoAskSeoContent/client/index.ts b/src/api/resources/generatePeopleAlsoAskSeoContent/client/index.ts new file mode 100644 index 0000000..415726b --- /dev/null +++ b/src/api/resources/generatePeopleAlsoAskSeoContent/client/index.ts @@ -0,0 +1 @@ +export * from "./requests"; diff --git a/src/api/resources/generatePeopleAlsoAskSeoContent/client/requests/StatusRelatedQnaMakerRequest.ts b/src/api/resources/generatePeopleAlsoAskSeoContent/client/requests/StatusRelatedQnaMakerRequest.ts new file mode 100644 index 0000000..dad50ad --- /dev/null +++ b/src/api/resources/generatePeopleAlsoAskSeoContent/client/requests/StatusRelatedQnaMakerRequest.ts @@ -0,0 +1,13 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +/** + * @example + * { + * runId: "run_id" + * } + */ +export interface StatusRelatedQnaMakerRequest { + runId: string; +} diff --git a/src/api/resources/generatePeopleAlsoAskSeoContent/client/requests/index.ts b/src/api/resources/generatePeopleAlsoAskSeoContent/client/requests/index.ts new file mode 100644 index 0000000..940c0ba --- /dev/null +++ b/src/api/resources/generatePeopleAlsoAskSeoContent/client/requests/index.ts @@ -0,0 +1 @@ +export { type StatusRelatedQnaMakerRequest } from "./StatusRelatedQnaMakerRequest"; diff --git a/src/api/resources/generatePeopleAlsoAskSeoContent/index.ts b/src/api/resources/generatePeopleAlsoAskSeoContent/index.ts new file mode 100644 index 0000000..5ec7692 --- /dev/null +++ b/src/api/resources/generatePeopleAlsoAskSeoContent/index.ts @@ -0,0 +1 @@ +export * from "./client"; diff --git a/src/api/resources/generateProductPhotoBackgrounds/client/Client.ts b/src/api/resources/generateProductPhotoBackgrounds/client/Client.ts new file mode 100644 index 0000000..2e08a63 --- /dev/null +++ b/src/api/resources/generateProductPhotoBackgrounds/client/Client.ts @@ -0,0 +1,140 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as environments from "../../../../environments"; +import * as core from "../../../../core"; +import * as Gooey from "../../../index"; +import urlJoin from "url-join"; +import * as serializers from "../../../../serialization/index"; +import * as errors from "../../../../errors/index"; + +export declare namespace GenerateProductPhotoBackgrounds { + interface Options { + environment?: core.Supplier; + apiKey?: core.Supplier; + fetcher?: core.FetchFunction; + } + + interface RequestOptions { + /** The maximum time to wait for a response in seconds. */ + timeoutInSeconds?: number; + /** The number of times to retry the request. Defaults to 2. */ + maxRetries?: number; + /** A hook to abort the request. */ + abortSignal?: AbortSignal; + } +} + +export class GenerateProductPhotoBackgrounds { + constructor(protected readonly _options: GenerateProductPhotoBackgrounds.Options = {}) {} + + /** + * @param {Gooey.StatusObjectInpaintingRequest} request + * @param {GenerateProductPhotoBackgrounds.RequestOptions} requestOptions - Request-specific configuration. + * + * @throws {@link Gooey.PaymentRequiredError} + * @throws {@link Gooey.UnprocessableEntityError} + * @throws {@link Gooey.TooManyRequestsError} + * + * @example + * await client.generateProductPhotoBackgrounds.statusObjectInpainting({ + * runId: "run_id" + * }) + */ + public async statusObjectInpainting( + request: Gooey.StatusObjectInpaintingRequest, + requestOptions?: GenerateProductPhotoBackgrounds.RequestOptions + ): Promise { + const { runId } = request; + const _queryParams: Record = {}; + _queryParams["run_id"] = runId; + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: urlJoin( + (await core.Supplier.get(this._options.environment)) ?? environments.GooeyEnvironment.Default, + "v3/ObjectInpainting/status" + ), + method: "GET", + headers: { + Authorization: await this._getAuthorizationHeader(), + "X-Fern-Language": "JavaScript", + "X-Fern-SDK-Name": "gooeyai", + "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-Runtime": core.RUNTIME.type, + "X-Fern-Runtime-Version": core.RUNTIME.version, + }, + contentType: "application/json", + queryParameters: _queryParams, + requestType: "json", + timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, + abortSignal: requestOptions?.abortSignal, + }); + if (_response.ok) { + return serializers.ObjectInpaintingPageStatusResponse.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }); + } + + if (_response.error.reason === "status-code") { + switch (_response.error.statusCode) { + case 402: + throw new Gooey.PaymentRequiredError(_response.error.body); + case 422: + throw new Gooey.UnprocessableEntityError( + serializers.HttpValidationError.parseOrThrow(_response.error.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }) + ); + case 429: + throw new Gooey.TooManyRequestsError( + serializers.GenericErrorResponse.parseOrThrow(_response.error.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }) + ); + default: + throw new errors.GooeyError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + }); + } + } + + switch (_response.error.reason) { + case "non-json": + throw new errors.GooeyError({ + statusCode: _response.error.statusCode, + body: _response.error.rawBody, + }); + case "timeout": + throw new errors.GooeyTimeoutError(); + case "unknown": + throw new errors.GooeyError({ + message: _response.error.errorMessage, + }); + } + } + + protected async _getAuthorizationHeader(): Promise { + const bearer = (await core.Supplier.get(this._options.apiKey)) ?? process?.env["GOOEY_API_KEY"]; + if (bearer == null) { + throw new errors.GooeyError({ + message: "Please specify GOOEY_API_KEY when instantiating the client.", + }); + } + + return `Bearer ${bearer}`; + } +} diff --git a/src/api/resources/generateProductPhotoBackgrounds/client/index.ts b/src/api/resources/generateProductPhotoBackgrounds/client/index.ts new file mode 100644 index 0000000..415726b --- /dev/null +++ b/src/api/resources/generateProductPhotoBackgrounds/client/index.ts @@ -0,0 +1 @@ +export * from "./requests"; diff --git a/src/api/resources/generateProductPhotoBackgrounds/client/requests/StatusObjectInpaintingRequest.ts b/src/api/resources/generateProductPhotoBackgrounds/client/requests/StatusObjectInpaintingRequest.ts new file mode 100644 index 0000000..beac513 --- /dev/null +++ b/src/api/resources/generateProductPhotoBackgrounds/client/requests/StatusObjectInpaintingRequest.ts @@ -0,0 +1,13 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +/** + * @example + * { + * runId: "run_id" + * } + */ +export interface StatusObjectInpaintingRequest { + runId: string; +} diff --git a/src/api/resources/generateProductPhotoBackgrounds/client/requests/index.ts b/src/api/resources/generateProductPhotoBackgrounds/client/requests/index.ts new file mode 100644 index 0000000..99040de --- /dev/null +++ b/src/api/resources/generateProductPhotoBackgrounds/client/requests/index.ts @@ -0,0 +1 @@ +export { type StatusObjectInpaintingRequest } from "./StatusObjectInpaintingRequest"; diff --git a/src/api/resources/generateProductPhotoBackgrounds/index.ts b/src/api/resources/generateProductPhotoBackgrounds/index.ts new file mode 100644 index 0000000..5ec7692 --- /dev/null +++ b/src/api/resources/generateProductPhotoBackgrounds/index.ts @@ -0,0 +1 @@ +export * from "./client"; diff --git a/src/api/resources/index.ts b/src/api/resources/index.ts index c7684f6..9d9e75c 100644 --- a/src/api/resources/index.ts +++ b/src/api/resources/index.ts @@ -1,17 +1,71 @@ export * as copilotIntegrations from "./copilotIntegrations"; export * from "./copilotIntegrations/types"; export * as copilotForYourEnterprise from "./copilotForYourEnterprise"; +export * as aiAnimationGenerator from "./aiAnimationGenerator"; +export * as aiArtQrCode from "./aiArtQrCode"; +export * as generatePeopleAlsoAskSeoContent from "./generatePeopleAlsoAskSeoContent"; +export * as createAPerfectSeoOptimizedTitleParagraph from "./createAPerfectSeoOptimizedTitleParagraph"; +export * as webSearchGpt3 from "./webSearchGpt3"; +export * as profileLookupGpt3ForAiPersonalizedEmails from "./profileLookupGpt3ForAiPersonalizedEmails"; +export * as bulkRunner from "./bulkRunner"; export * as evaluator from "./evaluator"; +export * as syntheticDataMakerForVideosPdFs from "./syntheticDataMakerForVideosPdFs"; +export * as largeLanguageModelsGpt3 from "./largeLanguageModelsGpt3"; +export * as searchYourDocsWithGpt from "./searchYourDocsWithGpt"; export * as smartGpt from "./smartGpt"; +export * as summarizeYourDocsWithGpt from "./summarizeYourDocsWithGpt"; export * as functions from "./functions"; export * as lipSyncing from "./lipSyncing"; -export * as misc from "./misc"; -export * as bulkRunner from "./bulkRunner"; +export * as lipsyncVideoWithAnyText from "./lipsyncVideoWithAnyText"; +export * as compareAiVoiceGenerators from "./compareAiVoiceGenerators"; +export * as speechRecognitionTranslation from "./speechRecognitionTranslation"; +export * as textGuidedAudioGenerator from "./textGuidedAudioGenerator"; +export * as compareAiTranslations from "./compareAiTranslations"; +export * as editAnImageWithAiPrompt from "./editAnImageWithAiPrompt"; +export * as compareAiImageGenerators from "./compareAiImageGenerators"; +export * as generateProductPhotoBackgrounds from "./generateProductPhotoBackgrounds"; +export * as aiImageWithAFace from "./aiImageWithAFace"; +export * as aiGeneratedPhotoFromEmailProfileLookup from "./aiGeneratedPhotoFromEmailProfileLookup"; +export * as renderImageSearchResultsWithAi from "./renderImageSearchResultsWithAi"; +export * as aiBackgroundChanger from "./aiBackgroundChanger"; +export * as compareAiImageUpscalers from "./compareAiImageUpscalers"; +export * as chyronPlantBot from "./chyronPlantBot"; +export * as letterWriter from "./letterWriter"; export * as embeddings from "./embeddings"; +export * as peopleAlsoAskAnswersFromADoc from "./peopleAlsoAskAnswersFromADoc"; +export * as misc from "./misc"; export * from "./copilotIntegrations/client/requests"; export * from "./copilotForYourEnterprise/client/requests"; +export * from "./aiAnimationGenerator/client/requests"; +export * from "./aiArtQrCode/client/requests"; +export * from "./generatePeopleAlsoAskSeoContent/client/requests"; +export * from "./createAPerfectSeoOptimizedTitleParagraph/client/requests"; +export * from "./webSearchGpt3/client/requests"; +export * from "./profileLookupGpt3ForAiPersonalizedEmails/client/requests"; +export * from "./bulkRunner/client/requests"; export * from "./evaluator/client/requests"; +export * from "./syntheticDataMakerForVideosPdFs/client/requests"; +export * from "./largeLanguageModelsGpt3/client/requests"; +export * from "./searchYourDocsWithGpt/client/requests"; export * from "./smartGpt/client/requests"; +export * from "./summarizeYourDocsWithGpt/client/requests"; export * from "./functions/client/requests"; export * from "./lipSyncing/client/requests"; +export * from "./lipsyncVideoWithAnyText/client/requests"; +export * from "./compareAiVoiceGenerators/client/requests"; +export * from "./speechRecognitionTranslation/client/requests"; +export * from "./textGuidedAudioGenerator/client/requests"; +export * from "./compareAiTranslations/client/requests"; +export * from "./editAnImageWithAiPrompt/client/requests"; +export * from "./compareAiImageGenerators/client/requests"; +export * from "./generateProductPhotoBackgrounds/client/requests"; +export * from "./aiImageWithAFace/client/requests"; +export * from "./aiGeneratedPhotoFromEmailProfileLookup/client/requests"; +export * from "./renderImageSearchResultsWithAi/client/requests"; +export * from "./aiBackgroundChanger/client/requests"; +export * from "./compareAiImageUpscalers/client/requests"; +export * from "./chyronPlantBot/client/requests"; +export * from "./letterWriter/client/requests"; +export * from "./embeddings/client/requests"; +export * from "./peopleAlsoAskAnswersFromADoc/client/requests"; export * from "./misc/client/requests"; diff --git a/src/api/resources/largeLanguageModelsGpt3/client/Client.ts b/src/api/resources/largeLanguageModelsGpt3/client/Client.ts new file mode 100644 index 0000000..b41f961 --- /dev/null +++ b/src/api/resources/largeLanguageModelsGpt3/client/Client.ts @@ -0,0 +1,140 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as environments from "../../../../environments"; +import * as core from "../../../../core"; +import * as Gooey from "../../../index"; +import urlJoin from "url-join"; +import * as serializers from "../../../../serialization/index"; +import * as errors from "../../../../errors/index"; + +export declare namespace LargeLanguageModelsGpt3 { + interface Options { + environment?: core.Supplier; + apiKey?: core.Supplier; + fetcher?: core.FetchFunction; + } + + interface RequestOptions { + /** The maximum time to wait for a response in seconds. */ + timeoutInSeconds?: number; + /** The number of times to retry the request. Defaults to 2. */ + maxRetries?: number; + /** A hook to abort the request. */ + abortSignal?: AbortSignal; + } +} + +export class LargeLanguageModelsGpt3 { + constructor(protected readonly _options: LargeLanguageModelsGpt3.Options = {}) {} + + /** + * @param {Gooey.StatusCompareLlmRequest} request + * @param {LargeLanguageModelsGpt3.RequestOptions} requestOptions - Request-specific configuration. + * + * @throws {@link Gooey.PaymentRequiredError} + * @throws {@link Gooey.UnprocessableEntityError} + * @throws {@link Gooey.TooManyRequestsError} + * + * @example + * await client.largeLanguageModelsGpt3.statusCompareLlm({ + * runId: "run_id" + * }) + */ + public async statusCompareLlm( + request: Gooey.StatusCompareLlmRequest, + requestOptions?: LargeLanguageModelsGpt3.RequestOptions + ): Promise { + const { runId } = request; + const _queryParams: Record = {}; + _queryParams["run_id"] = runId; + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: urlJoin( + (await core.Supplier.get(this._options.environment)) ?? environments.GooeyEnvironment.Default, + "v3/CompareLLM/status" + ), + method: "GET", + headers: { + Authorization: await this._getAuthorizationHeader(), + "X-Fern-Language": "JavaScript", + "X-Fern-SDK-Name": "gooeyai", + "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-Runtime": core.RUNTIME.type, + "X-Fern-Runtime-Version": core.RUNTIME.version, + }, + contentType: "application/json", + queryParameters: _queryParams, + requestType: "json", + timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, + abortSignal: requestOptions?.abortSignal, + }); + if (_response.ok) { + return serializers.CompareLlmPageStatusResponse.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }); + } + + if (_response.error.reason === "status-code") { + switch (_response.error.statusCode) { + case 402: + throw new Gooey.PaymentRequiredError(_response.error.body); + case 422: + throw new Gooey.UnprocessableEntityError( + serializers.HttpValidationError.parseOrThrow(_response.error.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }) + ); + case 429: + throw new Gooey.TooManyRequestsError( + serializers.GenericErrorResponse.parseOrThrow(_response.error.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }) + ); + default: + throw new errors.GooeyError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + }); + } + } + + switch (_response.error.reason) { + case "non-json": + throw new errors.GooeyError({ + statusCode: _response.error.statusCode, + body: _response.error.rawBody, + }); + case "timeout": + throw new errors.GooeyTimeoutError(); + case "unknown": + throw new errors.GooeyError({ + message: _response.error.errorMessage, + }); + } + } + + protected async _getAuthorizationHeader(): Promise { + const bearer = (await core.Supplier.get(this._options.apiKey)) ?? process?.env["GOOEY_API_KEY"]; + if (bearer == null) { + throw new errors.GooeyError({ + message: "Please specify GOOEY_API_KEY when instantiating the client.", + }); + } + + return `Bearer ${bearer}`; + } +} diff --git a/src/api/resources/largeLanguageModelsGpt3/client/index.ts b/src/api/resources/largeLanguageModelsGpt3/client/index.ts new file mode 100644 index 0000000..415726b --- /dev/null +++ b/src/api/resources/largeLanguageModelsGpt3/client/index.ts @@ -0,0 +1 @@ +export * from "./requests"; diff --git a/src/api/resources/largeLanguageModelsGpt3/client/requests/StatusCompareLlmRequest.ts b/src/api/resources/largeLanguageModelsGpt3/client/requests/StatusCompareLlmRequest.ts new file mode 100644 index 0000000..fa3a066 --- /dev/null +++ b/src/api/resources/largeLanguageModelsGpt3/client/requests/StatusCompareLlmRequest.ts @@ -0,0 +1,13 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +/** + * @example + * { + * runId: "run_id" + * } + */ +export interface StatusCompareLlmRequest { + runId: string; +} diff --git a/src/api/resources/largeLanguageModelsGpt3/client/requests/index.ts b/src/api/resources/largeLanguageModelsGpt3/client/requests/index.ts new file mode 100644 index 0000000..178d80e --- /dev/null +++ b/src/api/resources/largeLanguageModelsGpt3/client/requests/index.ts @@ -0,0 +1 @@ +export { type StatusCompareLlmRequest } from "./StatusCompareLlmRequest"; diff --git a/src/api/resources/largeLanguageModelsGpt3/index.ts b/src/api/resources/largeLanguageModelsGpt3/index.ts new file mode 100644 index 0000000..5ec7692 --- /dev/null +++ b/src/api/resources/largeLanguageModelsGpt3/index.ts @@ -0,0 +1 @@ +export * from "./client"; diff --git a/src/api/resources/letterWriter/client/Client.ts b/src/api/resources/letterWriter/client/Client.ts new file mode 100644 index 0000000..0afd92d --- /dev/null +++ b/src/api/resources/letterWriter/client/Client.ts @@ -0,0 +1,140 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as environments from "../../../../environments"; +import * as core from "../../../../core"; +import * as Gooey from "../../../index"; +import urlJoin from "url-join"; +import * as serializers from "../../../../serialization/index"; +import * as errors from "../../../../errors/index"; + +export declare namespace LetterWriter { + interface Options { + environment?: core.Supplier; + apiKey?: core.Supplier; + fetcher?: core.FetchFunction; + } + + interface RequestOptions { + /** The maximum time to wait for a response in seconds. */ + timeoutInSeconds?: number; + /** The number of times to retry the request. Defaults to 2. */ + maxRetries?: number; + /** A hook to abort the request. */ + abortSignal?: AbortSignal; + } +} + +export class LetterWriter { + constructor(protected readonly _options: LetterWriter.Options = {}) {} + + /** + * @param {Gooey.StatusLetterWriterRequest} request + * @param {LetterWriter.RequestOptions} requestOptions - Request-specific configuration. + * + * @throws {@link Gooey.PaymentRequiredError} + * @throws {@link Gooey.UnprocessableEntityError} + * @throws {@link Gooey.TooManyRequestsError} + * + * @example + * await client.letterWriter.statusLetterWriter({ + * runId: "run_id" + * }) + */ + public async statusLetterWriter( + request: Gooey.StatusLetterWriterRequest, + requestOptions?: LetterWriter.RequestOptions + ): Promise { + const { runId } = request; + const _queryParams: Record = {}; + _queryParams["run_id"] = runId; + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: urlJoin( + (await core.Supplier.get(this._options.environment)) ?? environments.GooeyEnvironment.Default, + "v3/LetterWriter/status" + ), + method: "GET", + headers: { + Authorization: await this._getAuthorizationHeader(), + "X-Fern-Language": "JavaScript", + "X-Fern-SDK-Name": "gooeyai", + "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-Runtime": core.RUNTIME.type, + "X-Fern-Runtime-Version": core.RUNTIME.version, + }, + contentType: "application/json", + queryParameters: _queryParams, + requestType: "json", + timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, + abortSignal: requestOptions?.abortSignal, + }); + if (_response.ok) { + return serializers.LetterWriterPageStatusResponse.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }); + } + + if (_response.error.reason === "status-code") { + switch (_response.error.statusCode) { + case 402: + throw new Gooey.PaymentRequiredError(_response.error.body); + case 422: + throw new Gooey.UnprocessableEntityError( + serializers.HttpValidationError.parseOrThrow(_response.error.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }) + ); + case 429: + throw new Gooey.TooManyRequestsError( + serializers.GenericErrorResponse.parseOrThrow(_response.error.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }) + ); + default: + throw new errors.GooeyError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + }); + } + } + + switch (_response.error.reason) { + case "non-json": + throw new errors.GooeyError({ + statusCode: _response.error.statusCode, + body: _response.error.rawBody, + }); + case "timeout": + throw new errors.GooeyTimeoutError(); + case "unknown": + throw new errors.GooeyError({ + message: _response.error.errorMessage, + }); + } + } + + protected async _getAuthorizationHeader(): Promise { + const bearer = (await core.Supplier.get(this._options.apiKey)) ?? process?.env["GOOEY_API_KEY"]; + if (bearer == null) { + throw new errors.GooeyError({ + message: "Please specify GOOEY_API_KEY when instantiating the client.", + }); + } + + return `Bearer ${bearer}`; + } +} diff --git a/src/api/resources/letterWriter/client/index.ts b/src/api/resources/letterWriter/client/index.ts new file mode 100644 index 0000000..415726b --- /dev/null +++ b/src/api/resources/letterWriter/client/index.ts @@ -0,0 +1 @@ +export * from "./requests"; diff --git a/src/api/resources/letterWriter/client/requests/StatusLetterWriterRequest.ts b/src/api/resources/letterWriter/client/requests/StatusLetterWriterRequest.ts new file mode 100644 index 0000000..d1549d1 --- /dev/null +++ b/src/api/resources/letterWriter/client/requests/StatusLetterWriterRequest.ts @@ -0,0 +1,13 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +/** + * @example + * { + * runId: "run_id" + * } + */ +export interface StatusLetterWriterRequest { + runId: string; +} diff --git a/src/api/resources/letterWriter/client/requests/index.ts b/src/api/resources/letterWriter/client/requests/index.ts new file mode 100644 index 0000000..784a0f3 --- /dev/null +++ b/src/api/resources/letterWriter/client/requests/index.ts @@ -0,0 +1 @@ +export { type StatusLetterWriterRequest } from "./StatusLetterWriterRequest"; diff --git a/src/api/resources/letterWriter/index.ts b/src/api/resources/letterWriter/index.ts new file mode 100644 index 0000000..5ec7692 --- /dev/null +++ b/src/api/resources/letterWriter/index.ts @@ -0,0 +1 @@ +export * from "./client"; diff --git a/src/api/resources/lipSyncing/client/Client.ts b/src/api/resources/lipSyncing/client/Client.ts index c96cc2d..5b99c8d 100644 --- a/src/api/resources/lipSyncing/client/Client.ts +++ b/src/api/resources/lipSyncing/client/Client.ts @@ -62,7 +62,7 @@ export class LipSyncing { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta15", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -150,6 +150,104 @@ export class LipSyncing { } } + /** + * @param {Gooey.StatusLipsyncRequest} request + * @param {LipSyncing.RequestOptions} requestOptions - Request-specific configuration. + * + * @throws {@link Gooey.PaymentRequiredError} + * @throws {@link Gooey.UnprocessableEntityError} + * @throws {@link Gooey.TooManyRequestsError} + * + * @example + * await client.lipSyncing.statusLipsync({ + * runId: "run_id" + * }) + */ + public async statusLipsync( + request: Gooey.StatusLipsyncRequest, + requestOptions?: LipSyncing.RequestOptions + ): Promise { + const { runId } = request; + const _queryParams: Record = {}; + _queryParams["run_id"] = runId; + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: urlJoin( + (await core.Supplier.get(this._options.environment)) ?? environments.GooeyEnvironment.Default, + "v3/Lipsync/status" + ), + method: "GET", + headers: { + Authorization: await this._getAuthorizationHeader(), + "X-Fern-Language": "JavaScript", + "X-Fern-SDK-Name": "gooeyai", + "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-Runtime": core.RUNTIME.type, + "X-Fern-Runtime-Version": core.RUNTIME.version, + }, + contentType: "application/json", + queryParameters: _queryParams, + requestType: "json", + timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, + abortSignal: requestOptions?.abortSignal, + }); + if (_response.ok) { + return serializers.LipsyncPageStatusResponse.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }); + } + + if (_response.error.reason === "status-code") { + switch (_response.error.statusCode) { + case 402: + throw new Gooey.PaymentRequiredError(_response.error.body); + case 422: + throw new Gooey.UnprocessableEntityError( + serializers.HttpValidationError.parseOrThrow(_response.error.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }) + ); + case 429: + throw new Gooey.TooManyRequestsError( + serializers.GenericErrorResponse.parseOrThrow(_response.error.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }) + ); + default: + throw new errors.GooeyError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + }); + } + } + + switch (_response.error.reason) { + case "non-json": + throw new errors.GooeyError({ + statusCode: _response.error.statusCode, + body: _response.error.rawBody, + }); + case "timeout": + throw new errors.GooeyTimeoutError(); + case "unknown": + throw new errors.GooeyError({ + message: _response.error.errorMessage, + }); + } + } + protected async _getAuthorizationHeader(): Promise { const bearer = (await core.Supplier.get(this._options.apiKey)) ?? process?.env["GOOEY_API_KEY"]; if (bearer == null) { diff --git a/src/api/resources/lipSyncing/client/requests/StatusLipsyncRequest.ts b/src/api/resources/lipSyncing/client/requests/StatusLipsyncRequest.ts new file mode 100644 index 0000000..1d0100f --- /dev/null +++ b/src/api/resources/lipSyncing/client/requests/StatusLipsyncRequest.ts @@ -0,0 +1,13 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +/** + * @example + * { + * runId: "run_id" + * } + */ +export interface StatusLipsyncRequest { + runId: string; +} diff --git a/src/api/resources/lipSyncing/client/requests/index.ts b/src/api/resources/lipSyncing/client/requests/index.ts index a5970b4..6d90c0b 100644 --- a/src/api/resources/lipSyncing/client/requests/index.ts +++ b/src/api/resources/lipSyncing/client/requests/index.ts @@ -1 +1,2 @@ export { type AsyncFormLipsyncRequest } from "./AsyncFormLipsyncRequest"; +export { type StatusLipsyncRequest } from "./StatusLipsyncRequest"; diff --git a/src/api/resources/lipsyncVideoWithAnyText/client/Client.ts b/src/api/resources/lipsyncVideoWithAnyText/client/Client.ts new file mode 100644 index 0000000..3425367 --- /dev/null +++ b/src/api/resources/lipsyncVideoWithAnyText/client/Client.ts @@ -0,0 +1,140 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as environments from "../../../../environments"; +import * as core from "../../../../core"; +import * as Gooey from "../../../index"; +import urlJoin from "url-join"; +import * as serializers from "../../../../serialization/index"; +import * as errors from "../../../../errors/index"; + +export declare namespace LipsyncVideoWithAnyText { + interface Options { + environment?: core.Supplier; + apiKey?: core.Supplier; + fetcher?: core.FetchFunction; + } + + interface RequestOptions { + /** The maximum time to wait for a response in seconds. */ + timeoutInSeconds?: number; + /** The number of times to retry the request. Defaults to 2. */ + maxRetries?: number; + /** A hook to abort the request. */ + abortSignal?: AbortSignal; + } +} + +export class LipsyncVideoWithAnyText { + constructor(protected readonly _options: LipsyncVideoWithAnyText.Options = {}) {} + + /** + * @param {Gooey.StatusLipsyncTtsRequest} request + * @param {LipsyncVideoWithAnyText.RequestOptions} requestOptions - Request-specific configuration. + * + * @throws {@link Gooey.PaymentRequiredError} + * @throws {@link Gooey.UnprocessableEntityError} + * @throws {@link Gooey.TooManyRequestsError} + * + * @example + * await client.lipsyncVideoWithAnyText.statusLipsyncTts({ + * runId: "run_id" + * }) + */ + public async statusLipsyncTts( + request: Gooey.StatusLipsyncTtsRequest, + requestOptions?: LipsyncVideoWithAnyText.RequestOptions + ): Promise { + const { runId } = request; + const _queryParams: Record = {}; + _queryParams["run_id"] = runId; + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: urlJoin( + (await core.Supplier.get(this._options.environment)) ?? environments.GooeyEnvironment.Default, + "v3/LipsyncTTS/status" + ), + method: "GET", + headers: { + Authorization: await this._getAuthorizationHeader(), + "X-Fern-Language": "JavaScript", + "X-Fern-SDK-Name": "gooeyai", + "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-Runtime": core.RUNTIME.type, + "X-Fern-Runtime-Version": core.RUNTIME.version, + }, + contentType: "application/json", + queryParameters: _queryParams, + requestType: "json", + timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, + abortSignal: requestOptions?.abortSignal, + }); + if (_response.ok) { + return serializers.LipsyncTtsPageStatusResponse.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }); + } + + if (_response.error.reason === "status-code") { + switch (_response.error.statusCode) { + case 402: + throw new Gooey.PaymentRequiredError(_response.error.body); + case 422: + throw new Gooey.UnprocessableEntityError( + serializers.HttpValidationError.parseOrThrow(_response.error.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }) + ); + case 429: + throw new Gooey.TooManyRequestsError( + serializers.GenericErrorResponse.parseOrThrow(_response.error.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }) + ); + default: + throw new errors.GooeyError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + }); + } + } + + switch (_response.error.reason) { + case "non-json": + throw new errors.GooeyError({ + statusCode: _response.error.statusCode, + body: _response.error.rawBody, + }); + case "timeout": + throw new errors.GooeyTimeoutError(); + case "unknown": + throw new errors.GooeyError({ + message: _response.error.errorMessage, + }); + } + } + + protected async _getAuthorizationHeader(): Promise { + const bearer = (await core.Supplier.get(this._options.apiKey)) ?? process?.env["GOOEY_API_KEY"]; + if (bearer == null) { + throw new errors.GooeyError({ + message: "Please specify GOOEY_API_KEY when instantiating the client.", + }); + } + + return `Bearer ${bearer}`; + } +} diff --git a/src/api/resources/lipsyncVideoWithAnyText/client/index.ts b/src/api/resources/lipsyncVideoWithAnyText/client/index.ts new file mode 100644 index 0000000..415726b --- /dev/null +++ b/src/api/resources/lipsyncVideoWithAnyText/client/index.ts @@ -0,0 +1 @@ +export * from "./requests"; diff --git a/src/api/resources/lipsyncVideoWithAnyText/client/requests/StatusLipsyncTtsRequest.ts b/src/api/resources/lipsyncVideoWithAnyText/client/requests/StatusLipsyncTtsRequest.ts new file mode 100644 index 0000000..9765333 --- /dev/null +++ b/src/api/resources/lipsyncVideoWithAnyText/client/requests/StatusLipsyncTtsRequest.ts @@ -0,0 +1,13 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +/** + * @example + * { + * runId: "run_id" + * } + */ +export interface StatusLipsyncTtsRequest { + runId: string; +} diff --git a/src/api/resources/lipsyncVideoWithAnyText/client/requests/index.ts b/src/api/resources/lipsyncVideoWithAnyText/client/requests/index.ts new file mode 100644 index 0000000..76a4b21 --- /dev/null +++ b/src/api/resources/lipsyncVideoWithAnyText/client/requests/index.ts @@ -0,0 +1 @@ +export { type StatusLipsyncTtsRequest } from "./StatusLipsyncTtsRequest"; diff --git a/src/api/resources/lipsyncVideoWithAnyText/index.ts b/src/api/resources/lipsyncVideoWithAnyText/index.ts new file mode 100644 index 0000000..5ec7692 --- /dev/null +++ b/src/api/resources/lipsyncVideoWithAnyText/index.ts @@ -0,0 +1 @@ +export * from "./client"; diff --git a/src/api/resources/misc/client/Client.ts b/src/api/resources/misc/client/Client.ts index 7f0e014..ec269fd 100644 --- a/src/api/resources/misc/client/Client.ts +++ b/src/api/resources/misc/client/Client.ts @@ -46,7 +46,7 @@ export class Misc { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta15", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -123,7 +123,7 @@ export class Misc { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta15", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/peopleAlsoAskAnswersFromADoc/client/Client.ts b/src/api/resources/peopleAlsoAskAnswersFromADoc/client/Client.ts new file mode 100644 index 0000000..898f388 --- /dev/null +++ b/src/api/resources/peopleAlsoAskAnswersFromADoc/client/Client.ts @@ -0,0 +1,140 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as environments from "../../../../environments"; +import * as core from "../../../../core"; +import * as Gooey from "../../../index"; +import urlJoin from "url-join"; +import * as serializers from "../../../../serialization/index"; +import * as errors from "../../../../errors/index"; + +export declare namespace PeopleAlsoAskAnswersFromADoc { + interface Options { + environment?: core.Supplier; + apiKey?: core.Supplier; + fetcher?: core.FetchFunction; + } + + interface RequestOptions { + /** The maximum time to wait for a response in seconds. */ + timeoutInSeconds?: number; + /** The number of times to retry the request. Defaults to 2. */ + maxRetries?: number; + /** A hook to abort the request. */ + abortSignal?: AbortSignal; + } +} + +export class PeopleAlsoAskAnswersFromADoc { + constructor(protected readonly _options: PeopleAlsoAskAnswersFromADoc.Options = {}) {} + + /** + * @param {Gooey.StatusRelatedQnaMakerDocRequest} request + * @param {PeopleAlsoAskAnswersFromADoc.RequestOptions} requestOptions - Request-specific configuration. + * + * @throws {@link Gooey.PaymentRequiredError} + * @throws {@link Gooey.UnprocessableEntityError} + * @throws {@link Gooey.TooManyRequestsError} + * + * @example + * await client.peopleAlsoAskAnswersFromADoc.statusRelatedQnaMakerDoc({ + * runId: "run_id" + * }) + */ + public async statusRelatedQnaMakerDoc( + request: Gooey.StatusRelatedQnaMakerDocRequest, + requestOptions?: PeopleAlsoAskAnswersFromADoc.RequestOptions + ): Promise { + const { runId } = request; + const _queryParams: Record = {}; + _queryParams["run_id"] = runId; + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: urlJoin( + (await core.Supplier.get(this._options.environment)) ?? environments.GooeyEnvironment.Default, + "v3/related-qna-maker-doc/status" + ), + method: "GET", + headers: { + Authorization: await this._getAuthorizationHeader(), + "X-Fern-Language": "JavaScript", + "X-Fern-SDK-Name": "gooeyai", + "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-Runtime": core.RUNTIME.type, + "X-Fern-Runtime-Version": core.RUNTIME.version, + }, + contentType: "application/json", + queryParameters: _queryParams, + requestType: "json", + timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, + abortSignal: requestOptions?.abortSignal, + }); + if (_response.ok) { + return serializers.RelatedQnADocPageStatusResponse.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }); + } + + if (_response.error.reason === "status-code") { + switch (_response.error.statusCode) { + case 402: + throw new Gooey.PaymentRequiredError(_response.error.body); + case 422: + throw new Gooey.UnprocessableEntityError( + serializers.HttpValidationError.parseOrThrow(_response.error.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }) + ); + case 429: + throw new Gooey.TooManyRequestsError( + serializers.GenericErrorResponse.parseOrThrow(_response.error.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }) + ); + default: + throw new errors.GooeyError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + }); + } + } + + switch (_response.error.reason) { + case "non-json": + throw new errors.GooeyError({ + statusCode: _response.error.statusCode, + body: _response.error.rawBody, + }); + case "timeout": + throw new errors.GooeyTimeoutError(); + case "unknown": + throw new errors.GooeyError({ + message: _response.error.errorMessage, + }); + } + } + + protected async _getAuthorizationHeader(): Promise { + const bearer = (await core.Supplier.get(this._options.apiKey)) ?? process?.env["GOOEY_API_KEY"]; + if (bearer == null) { + throw new errors.GooeyError({ + message: "Please specify GOOEY_API_KEY when instantiating the client.", + }); + } + + return `Bearer ${bearer}`; + } +} diff --git a/src/api/resources/peopleAlsoAskAnswersFromADoc/client/index.ts b/src/api/resources/peopleAlsoAskAnswersFromADoc/client/index.ts new file mode 100644 index 0000000..415726b --- /dev/null +++ b/src/api/resources/peopleAlsoAskAnswersFromADoc/client/index.ts @@ -0,0 +1 @@ +export * from "./requests"; diff --git a/src/api/resources/peopleAlsoAskAnswersFromADoc/client/requests/StatusRelatedQnaMakerDocRequest.ts b/src/api/resources/peopleAlsoAskAnswersFromADoc/client/requests/StatusRelatedQnaMakerDocRequest.ts new file mode 100644 index 0000000..a23e62a --- /dev/null +++ b/src/api/resources/peopleAlsoAskAnswersFromADoc/client/requests/StatusRelatedQnaMakerDocRequest.ts @@ -0,0 +1,13 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +/** + * @example + * { + * runId: "run_id" + * } + */ +export interface StatusRelatedQnaMakerDocRequest { + runId: string; +} diff --git a/src/api/resources/peopleAlsoAskAnswersFromADoc/client/requests/index.ts b/src/api/resources/peopleAlsoAskAnswersFromADoc/client/requests/index.ts new file mode 100644 index 0000000..800f18b --- /dev/null +++ b/src/api/resources/peopleAlsoAskAnswersFromADoc/client/requests/index.ts @@ -0,0 +1 @@ +export { type StatusRelatedQnaMakerDocRequest } from "./StatusRelatedQnaMakerDocRequest"; diff --git a/src/api/resources/peopleAlsoAskAnswersFromADoc/index.ts b/src/api/resources/peopleAlsoAskAnswersFromADoc/index.ts new file mode 100644 index 0000000..5ec7692 --- /dev/null +++ b/src/api/resources/peopleAlsoAskAnswersFromADoc/index.ts @@ -0,0 +1 @@ +export * from "./client"; diff --git a/src/api/resources/profileLookupGpt3ForAiPersonalizedEmails/client/Client.ts b/src/api/resources/profileLookupGpt3ForAiPersonalizedEmails/client/Client.ts new file mode 100644 index 0000000..c65b823 --- /dev/null +++ b/src/api/resources/profileLookupGpt3ForAiPersonalizedEmails/client/Client.ts @@ -0,0 +1,140 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as environments from "../../../../environments"; +import * as core from "../../../../core"; +import * as Gooey from "../../../index"; +import urlJoin from "url-join"; +import * as serializers from "../../../../serialization/index"; +import * as errors from "../../../../errors/index"; + +export declare namespace ProfileLookupGpt3ForAiPersonalizedEmails { + interface Options { + environment?: core.Supplier; + apiKey?: core.Supplier; + fetcher?: core.FetchFunction; + } + + interface RequestOptions { + /** The maximum time to wait for a response in seconds. */ + timeoutInSeconds?: number; + /** The number of times to retry the request. Defaults to 2. */ + maxRetries?: number; + /** A hook to abort the request. */ + abortSignal?: AbortSignal; + } +} + +export class ProfileLookupGpt3ForAiPersonalizedEmails { + constructor(protected readonly _options: ProfileLookupGpt3ForAiPersonalizedEmails.Options = {}) {} + + /** + * @param {Gooey.StatusSocialLookupEmailRequest} request + * @param {ProfileLookupGpt3ForAiPersonalizedEmails.RequestOptions} requestOptions - Request-specific configuration. + * + * @throws {@link Gooey.PaymentRequiredError} + * @throws {@link Gooey.UnprocessableEntityError} + * @throws {@link Gooey.TooManyRequestsError} + * + * @example + * await client.profileLookupGpt3ForAiPersonalizedEmails.statusSocialLookupEmail({ + * runId: "run_id" + * }) + */ + public async statusSocialLookupEmail( + request: Gooey.StatusSocialLookupEmailRequest, + requestOptions?: ProfileLookupGpt3ForAiPersonalizedEmails.RequestOptions + ): Promise { + const { runId } = request; + const _queryParams: Record = {}; + _queryParams["run_id"] = runId; + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: urlJoin( + (await core.Supplier.get(this._options.environment)) ?? environments.GooeyEnvironment.Default, + "v3/SocialLookupEmail/status" + ), + method: "GET", + headers: { + Authorization: await this._getAuthorizationHeader(), + "X-Fern-Language": "JavaScript", + "X-Fern-SDK-Name": "gooeyai", + "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-Runtime": core.RUNTIME.type, + "X-Fern-Runtime-Version": core.RUNTIME.version, + }, + contentType: "application/json", + queryParameters: _queryParams, + requestType: "json", + timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, + abortSignal: requestOptions?.abortSignal, + }); + if (_response.ok) { + return serializers.SocialLookupEmailPageStatusResponse.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }); + } + + if (_response.error.reason === "status-code") { + switch (_response.error.statusCode) { + case 402: + throw new Gooey.PaymentRequiredError(_response.error.body); + case 422: + throw new Gooey.UnprocessableEntityError( + serializers.HttpValidationError.parseOrThrow(_response.error.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }) + ); + case 429: + throw new Gooey.TooManyRequestsError( + serializers.GenericErrorResponse.parseOrThrow(_response.error.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }) + ); + default: + throw new errors.GooeyError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + }); + } + } + + switch (_response.error.reason) { + case "non-json": + throw new errors.GooeyError({ + statusCode: _response.error.statusCode, + body: _response.error.rawBody, + }); + case "timeout": + throw new errors.GooeyTimeoutError(); + case "unknown": + throw new errors.GooeyError({ + message: _response.error.errorMessage, + }); + } + } + + protected async _getAuthorizationHeader(): Promise { + const bearer = (await core.Supplier.get(this._options.apiKey)) ?? process?.env["GOOEY_API_KEY"]; + if (bearer == null) { + throw new errors.GooeyError({ + message: "Please specify GOOEY_API_KEY when instantiating the client.", + }); + } + + return `Bearer ${bearer}`; + } +} diff --git a/src/api/resources/profileLookupGpt3ForAiPersonalizedEmails/client/index.ts b/src/api/resources/profileLookupGpt3ForAiPersonalizedEmails/client/index.ts new file mode 100644 index 0000000..415726b --- /dev/null +++ b/src/api/resources/profileLookupGpt3ForAiPersonalizedEmails/client/index.ts @@ -0,0 +1 @@ +export * from "./requests"; diff --git a/src/api/resources/profileLookupGpt3ForAiPersonalizedEmails/client/requests/StatusSocialLookupEmailRequest.ts b/src/api/resources/profileLookupGpt3ForAiPersonalizedEmails/client/requests/StatusSocialLookupEmailRequest.ts new file mode 100644 index 0000000..bfb431b --- /dev/null +++ b/src/api/resources/profileLookupGpt3ForAiPersonalizedEmails/client/requests/StatusSocialLookupEmailRequest.ts @@ -0,0 +1,13 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +/** + * @example + * { + * runId: "run_id" + * } + */ +export interface StatusSocialLookupEmailRequest { + runId: string; +} diff --git a/src/api/resources/profileLookupGpt3ForAiPersonalizedEmails/client/requests/index.ts b/src/api/resources/profileLookupGpt3ForAiPersonalizedEmails/client/requests/index.ts new file mode 100644 index 0000000..81d3cde --- /dev/null +++ b/src/api/resources/profileLookupGpt3ForAiPersonalizedEmails/client/requests/index.ts @@ -0,0 +1 @@ +export { type StatusSocialLookupEmailRequest } from "./StatusSocialLookupEmailRequest"; diff --git a/src/api/resources/profileLookupGpt3ForAiPersonalizedEmails/index.ts b/src/api/resources/profileLookupGpt3ForAiPersonalizedEmails/index.ts new file mode 100644 index 0000000..5ec7692 --- /dev/null +++ b/src/api/resources/profileLookupGpt3ForAiPersonalizedEmails/index.ts @@ -0,0 +1 @@ +export * from "./client"; diff --git a/src/api/resources/renderImageSearchResultsWithAi/client/Client.ts b/src/api/resources/renderImageSearchResultsWithAi/client/Client.ts new file mode 100644 index 0000000..7849beb --- /dev/null +++ b/src/api/resources/renderImageSearchResultsWithAi/client/Client.ts @@ -0,0 +1,140 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as environments from "../../../../environments"; +import * as core from "../../../../core"; +import * as Gooey from "../../../index"; +import urlJoin from "url-join"; +import * as serializers from "../../../../serialization/index"; +import * as errors from "../../../../errors/index"; + +export declare namespace RenderImageSearchResultsWithAi { + interface Options { + environment?: core.Supplier; + apiKey?: core.Supplier; + fetcher?: core.FetchFunction; + } + + interface RequestOptions { + /** The maximum time to wait for a response in seconds. */ + timeoutInSeconds?: number; + /** The number of times to retry the request. Defaults to 2. */ + maxRetries?: number; + /** A hook to abort the request. */ + abortSignal?: AbortSignal; + } +} + +export class RenderImageSearchResultsWithAi { + constructor(protected readonly _options: RenderImageSearchResultsWithAi.Options = {}) {} + + /** + * @param {Gooey.StatusGoogleImageGenRequest} request + * @param {RenderImageSearchResultsWithAi.RequestOptions} requestOptions - Request-specific configuration. + * + * @throws {@link Gooey.PaymentRequiredError} + * @throws {@link Gooey.UnprocessableEntityError} + * @throws {@link Gooey.TooManyRequestsError} + * + * @example + * await client.renderImageSearchResultsWithAi.statusGoogleImageGen({ + * runId: "run_id" + * }) + */ + public async statusGoogleImageGen( + request: Gooey.StatusGoogleImageGenRequest, + requestOptions?: RenderImageSearchResultsWithAi.RequestOptions + ): Promise { + const { runId } = request; + const _queryParams: Record = {}; + _queryParams["run_id"] = runId; + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: urlJoin( + (await core.Supplier.get(this._options.environment)) ?? environments.GooeyEnvironment.Default, + "v3/GoogleImageGen/status" + ), + method: "GET", + headers: { + Authorization: await this._getAuthorizationHeader(), + "X-Fern-Language": "JavaScript", + "X-Fern-SDK-Name": "gooeyai", + "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-Runtime": core.RUNTIME.type, + "X-Fern-Runtime-Version": core.RUNTIME.version, + }, + contentType: "application/json", + queryParameters: _queryParams, + requestType: "json", + timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, + abortSignal: requestOptions?.abortSignal, + }); + if (_response.ok) { + return serializers.GoogleImageGenPageStatusResponse.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }); + } + + if (_response.error.reason === "status-code") { + switch (_response.error.statusCode) { + case 402: + throw new Gooey.PaymentRequiredError(_response.error.body); + case 422: + throw new Gooey.UnprocessableEntityError( + serializers.HttpValidationError.parseOrThrow(_response.error.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }) + ); + case 429: + throw new Gooey.TooManyRequestsError( + serializers.GenericErrorResponse.parseOrThrow(_response.error.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }) + ); + default: + throw new errors.GooeyError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + }); + } + } + + switch (_response.error.reason) { + case "non-json": + throw new errors.GooeyError({ + statusCode: _response.error.statusCode, + body: _response.error.rawBody, + }); + case "timeout": + throw new errors.GooeyTimeoutError(); + case "unknown": + throw new errors.GooeyError({ + message: _response.error.errorMessage, + }); + } + } + + protected async _getAuthorizationHeader(): Promise { + const bearer = (await core.Supplier.get(this._options.apiKey)) ?? process?.env["GOOEY_API_KEY"]; + if (bearer == null) { + throw new errors.GooeyError({ + message: "Please specify GOOEY_API_KEY when instantiating the client.", + }); + } + + return `Bearer ${bearer}`; + } +} diff --git a/src/api/resources/renderImageSearchResultsWithAi/client/index.ts b/src/api/resources/renderImageSearchResultsWithAi/client/index.ts new file mode 100644 index 0000000..415726b --- /dev/null +++ b/src/api/resources/renderImageSearchResultsWithAi/client/index.ts @@ -0,0 +1 @@ +export * from "./requests"; diff --git a/src/api/resources/renderImageSearchResultsWithAi/client/requests/StatusGoogleImageGenRequest.ts b/src/api/resources/renderImageSearchResultsWithAi/client/requests/StatusGoogleImageGenRequest.ts new file mode 100644 index 0000000..2582d30 --- /dev/null +++ b/src/api/resources/renderImageSearchResultsWithAi/client/requests/StatusGoogleImageGenRequest.ts @@ -0,0 +1,13 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +/** + * @example + * { + * runId: "run_id" + * } + */ +export interface StatusGoogleImageGenRequest { + runId: string; +} diff --git a/src/api/resources/renderImageSearchResultsWithAi/client/requests/index.ts b/src/api/resources/renderImageSearchResultsWithAi/client/requests/index.ts new file mode 100644 index 0000000..c4f0f2a --- /dev/null +++ b/src/api/resources/renderImageSearchResultsWithAi/client/requests/index.ts @@ -0,0 +1 @@ +export { type StatusGoogleImageGenRequest } from "./StatusGoogleImageGenRequest"; diff --git a/src/api/resources/renderImageSearchResultsWithAi/index.ts b/src/api/resources/renderImageSearchResultsWithAi/index.ts new file mode 100644 index 0000000..5ec7692 --- /dev/null +++ b/src/api/resources/renderImageSearchResultsWithAi/index.ts @@ -0,0 +1 @@ +export * from "./client"; diff --git a/src/api/resources/searchYourDocsWithGpt/client/Client.ts b/src/api/resources/searchYourDocsWithGpt/client/Client.ts new file mode 100644 index 0000000..0d44c20 --- /dev/null +++ b/src/api/resources/searchYourDocsWithGpt/client/Client.ts @@ -0,0 +1,140 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as environments from "../../../../environments"; +import * as core from "../../../../core"; +import * as Gooey from "../../../index"; +import urlJoin from "url-join"; +import * as serializers from "../../../../serialization/index"; +import * as errors from "../../../../errors/index"; + +export declare namespace SearchYourDocsWithGpt { + interface Options { + environment?: core.Supplier; + apiKey?: core.Supplier; + fetcher?: core.FetchFunction; + } + + interface RequestOptions { + /** The maximum time to wait for a response in seconds. */ + timeoutInSeconds?: number; + /** The number of times to retry the request. Defaults to 2. */ + maxRetries?: number; + /** A hook to abort the request. */ + abortSignal?: AbortSignal; + } +} + +export class SearchYourDocsWithGpt { + constructor(protected readonly _options: SearchYourDocsWithGpt.Options = {}) {} + + /** + * @param {Gooey.StatusDocSearchRequest} request + * @param {SearchYourDocsWithGpt.RequestOptions} requestOptions - Request-specific configuration. + * + * @throws {@link Gooey.PaymentRequiredError} + * @throws {@link Gooey.UnprocessableEntityError} + * @throws {@link Gooey.TooManyRequestsError} + * + * @example + * await client.searchYourDocsWithGpt.statusDocSearch({ + * runId: "run_id" + * }) + */ + public async statusDocSearch( + request: Gooey.StatusDocSearchRequest, + requestOptions?: SearchYourDocsWithGpt.RequestOptions + ): Promise { + const { runId } = request; + const _queryParams: Record = {}; + _queryParams["run_id"] = runId; + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: urlJoin( + (await core.Supplier.get(this._options.environment)) ?? environments.GooeyEnvironment.Default, + "v3/doc-search/status" + ), + method: "GET", + headers: { + Authorization: await this._getAuthorizationHeader(), + "X-Fern-Language": "JavaScript", + "X-Fern-SDK-Name": "gooeyai", + "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-Runtime": core.RUNTIME.type, + "X-Fern-Runtime-Version": core.RUNTIME.version, + }, + contentType: "application/json", + queryParameters: _queryParams, + requestType: "json", + timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, + abortSignal: requestOptions?.abortSignal, + }); + if (_response.ok) { + return serializers.DocSearchPageStatusResponse.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }); + } + + if (_response.error.reason === "status-code") { + switch (_response.error.statusCode) { + case 402: + throw new Gooey.PaymentRequiredError(_response.error.body); + case 422: + throw new Gooey.UnprocessableEntityError( + serializers.HttpValidationError.parseOrThrow(_response.error.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }) + ); + case 429: + throw new Gooey.TooManyRequestsError( + serializers.GenericErrorResponse.parseOrThrow(_response.error.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }) + ); + default: + throw new errors.GooeyError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + }); + } + } + + switch (_response.error.reason) { + case "non-json": + throw new errors.GooeyError({ + statusCode: _response.error.statusCode, + body: _response.error.rawBody, + }); + case "timeout": + throw new errors.GooeyTimeoutError(); + case "unknown": + throw new errors.GooeyError({ + message: _response.error.errorMessage, + }); + } + } + + protected async _getAuthorizationHeader(): Promise { + const bearer = (await core.Supplier.get(this._options.apiKey)) ?? process?.env["GOOEY_API_KEY"]; + if (bearer == null) { + throw new errors.GooeyError({ + message: "Please specify GOOEY_API_KEY when instantiating the client.", + }); + } + + return `Bearer ${bearer}`; + } +} diff --git a/src/api/resources/searchYourDocsWithGpt/client/index.ts b/src/api/resources/searchYourDocsWithGpt/client/index.ts new file mode 100644 index 0000000..415726b --- /dev/null +++ b/src/api/resources/searchYourDocsWithGpt/client/index.ts @@ -0,0 +1 @@ +export * from "./requests"; diff --git a/src/api/resources/searchYourDocsWithGpt/client/requests/StatusDocSearchRequest.ts b/src/api/resources/searchYourDocsWithGpt/client/requests/StatusDocSearchRequest.ts new file mode 100644 index 0000000..85ef51b --- /dev/null +++ b/src/api/resources/searchYourDocsWithGpt/client/requests/StatusDocSearchRequest.ts @@ -0,0 +1,13 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +/** + * @example + * { + * runId: "run_id" + * } + */ +export interface StatusDocSearchRequest { + runId: string; +} diff --git a/src/api/resources/searchYourDocsWithGpt/client/requests/index.ts b/src/api/resources/searchYourDocsWithGpt/client/requests/index.ts new file mode 100644 index 0000000..433aaf6 --- /dev/null +++ b/src/api/resources/searchYourDocsWithGpt/client/requests/index.ts @@ -0,0 +1 @@ +export { type StatusDocSearchRequest } from "./StatusDocSearchRequest"; diff --git a/src/api/resources/searchYourDocsWithGpt/index.ts b/src/api/resources/searchYourDocsWithGpt/index.ts new file mode 100644 index 0000000..5ec7692 --- /dev/null +++ b/src/api/resources/searchYourDocsWithGpt/index.ts @@ -0,0 +1 @@ +export * from "./client"; diff --git a/src/api/resources/smartGpt/client/Client.ts b/src/api/resources/smartGpt/client/Client.ts index 5d8e615..c9ba8a8 100644 --- a/src/api/resources/smartGpt/client/Client.ts +++ b/src/api/resources/smartGpt/client/Client.ts @@ -62,7 +62,7 @@ export class SmartGpt { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta15", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -150,6 +150,104 @@ export class SmartGpt { } } + /** + * @param {Gooey.StatusSmartGptRequest} request + * @param {SmartGpt.RequestOptions} requestOptions - Request-specific configuration. + * + * @throws {@link Gooey.PaymentRequiredError} + * @throws {@link Gooey.UnprocessableEntityError} + * @throws {@link Gooey.TooManyRequestsError} + * + * @example + * await client.smartGpt.statusSmartGpt({ + * runId: "run_id" + * }) + */ + public async statusSmartGpt( + request: Gooey.StatusSmartGptRequest, + requestOptions?: SmartGpt.RequestOptions + ): Promise { + const { runId } = request; + const _queryParams: Record = {}; + _queryParams["run_id"] = runId; + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: urlJoin( + (await core.Supplier.get(this._options.environment)) ?? environments.GooeyEnvironment.Default, + "v3/SmartGPT/status" + ), + method: "GET", + headers: { + Authorization: await this._getAuthorizationHeader(), + "X-Fern-Language": "JavaScript", + "X-Fern-SDK-Name": "gooeyai", + "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-Runtime": core.RUNTIME.type, + "X-Fern-Runtime-Version": core.RUNTIME.version, + }, + contentType: "application/json", + queryParameters: _queryParams, + requestType: "json", + timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, + abortSignal: requestOptions?.abortSignal, + }); + if (_response.ok) { + return serializers.SmartGptPageStatusResponse.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }); + } + + if (_response.error.reason === "status-code") { + switch (_response.error.statusCode) { + case 402: + throw new Gooey.PaymentRequiredError(_response.error.body); + case 422: + throw new Gooey.UnprocessableEntityError( + serializers.HttpValidationError.parseOrThrow(_response.error.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }) + ); + case 429: + throw new Gooey.TooManyRequestsError( + serializers.GenericErrorResponse.parseOrThrow(_response.error.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }) + ); + default: + throw new errors.GooeyError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + }); + } + } + + switch (_response.error.reason) { + case "non-json": + throw new errors.GooeyError({ + statusCode: _response.error.statusCode, + body: _response.error.rawBody, + }); + case "timeout": + throw new errors.GooeyTimeoutError(); + case "unknown": + throw new errors.GooeyError({ + message: _response.error.errorMessage, + }); + } + } + /** * @param {SmartGpt.RequestOptions} requestOptions - Request-specific configuration. * @@ -167,7 +265,7 @@ export class SmartGpt { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "gooeyai", - "X-Fern-SDK-Version": "0.0.1-beta15", + "X-Fern-SDK-Version": "0.0.1-beta17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/smartGpt/client/requests/StatusSmartGptRequest.ts b/src/api/resources/smartGpt/client/requests/StatusSmartGptRequest.ts new file mode 100644 index 0000000..97168bd --- /dev/null +++ b/src/api/resources/smartGpt/client/requests/StatusSmartGptRequest.ts @@ -0,0 +1,13 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +/** + * @example + * { + * runId: "run_id" + * } + */ +export interface StatusSmartGptRequest { + runId: string; +} diff --git a/src/api/resources/smartGpt/client/requests/index.ts b/src/api/resources/smartGpt/client/requests/index.ts index 4a04138..915a8ab 100644 --- a/src/api/resources/smartGpt/client/requests/index.ts +++ b/src/api/resources/smartGpt/client/requests/index.ts @@ -1 +1,2 @@ export { type AsyncFormSmartGptRequest } from "./AsyncFormSmartGptRequest"; +export { type StatusSmartGptRequest } from "./StatusSmartGptRequest"; diff --git a/src/api/resources/speechRecognitionTranslation/client/Client.ts b/src/api/resources/speechRecognitionTranslation/client/Client.ts new file mode 100644 index 0000000..88fbbb6 --- /dev/null +++ b/src/api/resources/speechRecognitionTranslation/client/Client.ts @@ -0,0 +1,140 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as environments from "../../../../environments"; +import * as core from "../../../../core"; +import * as Gooey from "../../../index"; +import urlJoin from "url-join"; +import * as serializers from "../../../../serialization/index"; +import * as errors from "../../../../errors/index"; + +export declare namespace SpeechRecognitionTranslation { + interface Options { + environment?: core.Supplier; + apiKey?: core.Supplier; + fetcher?: core.FetchFunction; + } + + interface RequestOptions { + /** The maximum time to wait for a response in seconds. */ + timeoutInSeconds?: number; + /** The number of times to retry the request. Defaults to 2. */ + maxRetries?: number; + /** A hook to abort the request. */ + abortSignal?: AbortSignal; + } +} + +export class SpeechRecognitionTranslation { + constructor(protected readonly _options: SpeechRecognitionTranslation.Options = {}) {} + + /** + * @param {Gooey.StatusAsrRequest} request + * @param {SpeechRecognitionTranslation.RequestOptions} requestOptions - Request-specific configuration. + * + * @throws {@link Gooey.PaymentRequiredError} + * @throws {@link Gooey.UnprocessableEntityError} + * @throws {@link Gooey.TooManyRequestsError} + * + * @example + * await client.speechRecognitionTranslation.statusAsr({ + * runId: "run_id" + * }) + */ + public async statusAsr( + request: Gooey.StatusAsrRequest, + requestOptions?: SpeechRecognitionTranslation.RequestOptions + ): Promise { + const { runId } = request; + const _queryParams: Record = {}; + _queryParams["run_id"] = runId; + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: urlJoin( + (await core.Supplier.get(this._options.environment)) ?? environments.GooeyEnvironment.Default, + "v3/asr/status" + ), + method: "GET", + headers: { + Authorization: await this._getAuthorizationHeader(), + "X-Fern-Language": "JavaScript", + "X-Fern-SDK-Name": "gooeyai", + "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-Runtime": core.RUNTIME.type, + "X-Fern-Runtime-Version": core.RUNTIME.version, + }, + contentType: "application/json", + queryParameters: _queryParams, + requestType: "json", + timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, + abortSignal: requestOptions?.abortSignal, + }); + if (_response.ok) { + return serializers.AsrPageStatusResponse.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }); + } + + if (_response.error.reason === "status-code") { + switch (_response.error.statusCode) { + case 402: + throw new Gooey.PaymentRequiredError(_response.error.body); + case 422: + throw new Gooey.UnprocessableEntityError( + serializers.HttpValidationError.parseOrThrow(_response.error.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }) + ); + case 429: + throw new Gooey.TooManyRequestsError( + serializers.GenericErrorResponse.parseOrThrow(_response.error.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }) + ); + default: + throw new errors.GooeyError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + }); + } + } + + switch (_response.error.reason) { + case "non-json": + throw new errors.GooeyError({ + statusCode: _response.error.statusCode, + body: _response.error.rawBody, + }); + case "timeout": + throw new errors.GooeyTimeoutError(); + case "unknown": + throw new errors.GooeyError({ + message: _response.error.errorMessage, + }); + } + } + + protected async _getAuthorizationHeader(): Promise { + const bearer = (await core.Supplier.get(this._options.apiKey)) ?? process?.env["GOOEY_API_KEY"]; + if (bearer == null) { + throw new errors.GooeyError({ + message: "Please specify GOOEY_API_KEY when instantiating the client.", + }); + } + + return `Bearer ${bearer}`; + } +} diff --git a/src/api/resources/speechRecognitionTranslation/client/index.ts b/src/api/resources/speechRecognitionTranslation/client/index.ts new file mode 100644 index 0000000..415726b --- /dev/null +++ b/src/api/resources/speechRecognitionTranslation/client/index.ts @@ -0,0 +1 @@ +export * from "./requests"; diff --git a/src/api/resources/speechRecognitionTranslation/client/requests/StatusAsrRequest.ts b/src/api/resources/speechRecognitionTranslation/client/requests/StatusAsrRequest.ts new file mode 100644 index 0000000..dcff613 --- /dev/null +++ b/src/api/resources/speechRecognitionTranslation/client/requests/StatusAsrRequest.ts @@ -0,0 +1,13 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +/** + * @example + * { + * runId: "run_id" + * } + */ +export interface StatusAsrRequest { + runId: string; +} diff --git a/src/api/resources/speechRecognitionTranslation/client/requests/index.ts b/src/api/resources/speechRecognitionTranslation/client/requests/index.ts new file mode 100644 index 0000000..1445e2b --- /dev/null +++ b/src/api/resources/speechRecognitionTranslation/client/requests/index.ts @@ -0,0 +1 @@ +export { type StatusAsrRequest } from "./StatusAsrRequest"; diff --git a/src/api/resources/speechRecognitionTranslation/index.ts b/src/api/resources/speechRecognitionTranslation/index.ts new file mode 100644 index 0000000..5ec7692 --- /dev/null +++ b/src/api/resources/speechRecognitionTranslation/index.ts @@ -0,0 +1 @@ +export * from "./client"; diff --git a/src/api/resources/summarizeYourDocsWithGpt/client/Client.ts b/src/api/resources/summarizeYourDocsWithGpt/client/Client.ts new file mode 100644 index 0000000..738c6f8 --- /dev/null +++ b/src/api/resources/summarizeYourDocsWithGpt/client/Client.ts @@ -0,0 +1,140 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as environments from "../../../../environments"; +import * as core from "../../../../core"; +import * as Gooey from "../../../index"; +import urlJoin from "url-join"; +import * as serializers from "../../../../serialization/index"; +import * as errors from "../../../../errors/index"; + +export declare namespace SummarizeYourDocsWithGpt { + interface Options { + environment?: core.Supplier; + apiKey?: core.Supplier; + fetcher?: core.FetchFunction; + } + + interface RequestOptions { + /** The maximum time to wait for a response in seconds. */ + timeoutInSeconds?: number; + /** The number of times to retry the request. Defaults to 2. */ + maxRetries?: number; + /** A hook to abort the request. */ + abortSignal?: AbortSignal; + } +} + +export class SummarizeYourDocsWithGpt { + constructor(protected readonly _options: SummarizeYourDocsWithGpt.Options = {}) {} + + /** + * @param {Gooey.StatusDocSummaryRequest} request + * @param {SummarizeYourDocsWithGpt.RequestOptions} requestOptions - Request-specific configuration. + * + * @throws {@link Gooey.PaymentRequiredError} + * @throws {@link Gooey.UnprocessableEntityError} + * @throws {@link Gooey.TooManyRequestsError} + * + * @example + * await client.summarizeYourDocsWithGpt.statusDocSummary({ + * runId: "run_id" + * }) + */ + public async statusDocSummary( + request: Gooey.StatusDocSummaryRequest, + requestOptions?: SummarizeYourDocsWithGpt.RequestOptions + ): Promise { + const { runId } = request; + const _queryParams: Record = {}; + _queryParams["run_id"] = runId; + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: urlJoin( + (await core.Supplier.get(this._options.environment)) ?? environments.GooeyEnvironment.Default, + "v3/doc-summary/status" + ), + method: "GET", + headers: { + Authorization: await this._getAuthorizationHeader(), + "X-Fern-Language": "JavaScript", + "X-Fern-SDK-Name": "gooeyai", + "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-Runtime": core.RUNTIME.type, + "X-Fern-Runtime-Version": core.RUNTIME.version, + }, + contentType: "application/json", + queryParameters: _queryParams, + requestType: "json", + timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, + abortSignal: requestOptions?.abortSignal, + }); + if (_response.ok) { + return serializers.DocSummaryPageStatusResponse.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }); + } + + if (_response.error.reason === "status-code") { + switch (_response.error.statusCode) { + case 402: + throw new Gooey.PaymentRequiredError(_response.error.body); + case 422: + throw new Gooey.UnprocessableEntityError( + serializers.HttpValidationError.parseOrThrow(_response.error.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }) + ); + case 429: + throw new Gooey.TooManyRequestsError( + serializers.GenericErrorResponse.parseOrThrow(_response.error.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }) + ); + default: + throw new errors.GooeyError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + }); + } + } + + switch (_response.error.reason) { + case "non-json": + throw new errors.GooeyError({ + statusCode: _response.error.statusCode, + body: _response.error.rawBody, + }); + case "timeout": + throw new errors.GooeyTimeoutError(); + case "unknown": + throw new errors.GooeyError({ + message: _response.error.errorMessage, + }); + } + } + + protected async _getAuthorizationHeader(): Promise { + const bearer = (await core.Supplier.get(this._options.apiKey)) ?? process?.env["GOOEY_API_KEY"]; + if (bearer == null) { + throw new errors.GooeyError({ + message: "Please specify GOOEY_API_KEY when instantiating the client.", + }); + } + + return `Bearer ${bearer}`; + } +} diff --git a/src/api/resources/summarizeYourDocsWithGpt/client/index.ts b/src/api/resources/summarizeYourDocsWithGpt/client/index.ts new file mode 100644 index 0000000..415726b --- /dev/null +++ b/src/api/resources/summarizeYourDocsWithGpt/client/index.ts @@ -0,0 +1 @@ +export * from "./requests"; diff --git a/src/api/resources/summarizeYourDocsWithGpt/client/requests/StatusDocSummaryRequest.ts b/src/api/resources/summarizeYourDocsWithGpt/client/requests/StatusDocSummaryRequest.ts new file mode 100644 index 0000000..a8ec8fd --- /dev/null +++ b/src/api/resources/summarizeYourDocsWithGpt/client/requests/StatusDocSummaryRequest.ts @@ -0,0 +1,13 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +/** + * @example + * { + * runId: "run_id" + * } + */ +export interface StatusDocSummaryRequest { + runId: string; +} diff --git a/src/api/resources/summarizeYourDocsWithGpt/client/requests/index.ts b/src/api/resources/summarizeYourDocsWithGpt/client/requests/index.ts new file mode 100644 index 0000000..6505946 --- /dev/null +++ b/src/api/resources/summarizeYourDocsWithGpt/client/requests/index.ts @@ -0,0 +1 @@ +export { type StatusDocSummaryRequest } from "./StatusDocSummaryRequest"; diff --git a/src/api/resources/summarizeYourDocsWithGpt/index.ts b/src/api/resources/summarizeYourDocsWithGpt/index.ts new file mode 100644 index 0000000..5ec7692 --- /dev/null +++ b/src/api/resources/summarizeYourDocsWithGpt/index.ts @@ -0,0 +1 @@ +export * from "./client"; diff --git a/src/api/resources/syntheticDataMakerForVideosPdFs/client/Client.ts b/src/api/resources/syntheticDataMakerForVideosPdFs/client/Client.ts new file mode 100644 index 0000000..1b98f0c --- /dev/null +++ b/src/api/resources/syntheticDataMakerForVideosPdFs/client/Client.ts @@ -0,0 +1,140 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as environments from "../../../../environments"; +import * as core from "../../../../core"; +import * as Gooey from "../../../index"; +import urlJoin from "url-join"; +import * as serializers from "../../../../serialization/index"; +import * as errors from "../../../../errors/index"; + +export declare namespace SyntheticDataMakerForVideosPdFs { + interface Options { + environment?: core.Supplier; + apiKey?: core.Supplier; + fetcher?: core.FetchFunction; + } + + interface RequestOptions { + /** The maximum time to wait for a response in seconds. */ + timeoutInSeconds?: number; + /** The number of times to retry the request. Defaults to 2. */ + maxRetries?: number; + /** A hook to abort the request. */ + abortSignal?: AbortSignal; + } +} + +export class SyntheticDataMakerForVideosPdFs { + constructor(protected readonly _options: SyntheticDataMakerForVideosPdFs.Options = {}) {} + + /** + * @param {Gooey.StatusDocExtractRequest} request + * @param {SyntheticDataMakerForVideosPdFs.RequestOptions} requestOptions - Request-specific configuration. + * + * @throws {@link Gooey.PaymentRequiredError} + * @throws {@link Gooey.UnprocessableEntityError} + * @throws {@link Gooey.TooManyRequestsError} + * + * @example + * await client.syntheticDataMakerForVideosPdFs.statusDocExtract({ + * runId: "run_id" + * }) + */ + public async statusDocExtract( + request: Gooey.StatusDocExtractRequest, + requestOptions?: SyntheticDataMakerForVideosPdFs.RequestOptions + ): Promise { + const { runId } = request; + const _queryParams: Record = {}; + _queryParams["run_id"] = runId; + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: urlJoin( + (await core.Supplier.get(this._options.environment)) ?? environments.GooeyEnvironment.Default, + "v3/doc-extract/status" + ), + method: "GET", + headers: { + Authorization: await this._getAuthorizationHeader(), + "X-Fern-Language": "JavaScript", + "X-Fern-SDK-Name": "gooeyai", + "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-Runtime": core.RUNTIME.type, + "X-Fern-Runtime-Version": core.RUNTIME.version, + }, + contentType: "application/json", + queryParameters: _queryParams, + requestType: "json", + timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, + abortSignal: requestOptions?.abortSignal, + }); + if (_response.ok) { + return serializers.DocExtractPageStatusResponse.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }); + } + + if (_response.error.reason === "status-code") { + switch (_response.error.statusCode) { + case 402: + throw new Gooey.PaymentRequiredError(_response.error.body); + case 422: + throw new Gooey.UnprocessableEntityError( + serializers.HttpValidationError.parseOrThrow(_response.error.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }) + ); + case 429: + throw new Gooey.TooManyRequestsError( + serializers.GenericErrorResponse.parseOrThrow(_response.error.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }) + ); + default: + throw new errors.GooeyError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + }); + } + } + + switch (_response.error.reason) { + case "non-json": + throw new errors.GooeyError({ + statusCode: _response.error.statusCode, + body: _response.error.rawBody, + }); + case "timeout": + throw new errors.GooeyTimeoutError(); + case "unknown": + throw new errors.GooeyError({ + message: _response.error.errorMessage, + }); + } + } + + protected async _getAuthorizationHeader(): Promise { + const bearer = (await core.Supplier.get(this._options.apiKey)) ?? process?.env["GOOEY_API_KEY"]; + if (bearer == null) { + throw new errors.GooeyError({ + message: "Please specify GOOEY_API_KEY when instantiating the client.", + }); + } + + return `Bearer ${bearer}`; + } +} diff --git a/src/api/resources/syntheticDataMakerForVideosPdFs/client/index.ts b/src/api/resources/syntheticDataMakerForVideosPdFs/client/index.ts new file mode 100644 index 0000000..415726b --- /dev/null +++ b/src/api/resources/syntheticDataMakerForVideosPdFs/client/index.ts @@ -0,0 +1 @@ +export * from "./requests"; diff --git a/src/api/resources/syntheticDataMakerForVideosPdFs/client/requests/StatusDocExtractRequest.ts b/src/api/resources/syntheticDataMakerForVideosPdFs/client/requests/StatusDocExtractRequest.ts new file mode 100644 index 0000000..bc296e6 --- /dev/null +++ b/src/api/resources/syntheticDataMakerForVideosPdFs/client/requests/StatusDocExtractRequest.ts @@ -0,0 +1,13 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +/** + * @example + * { + * runId: "run_id" + * } + */ +export interface StatusDocExtractRequest { + runId: string; +} diff --git a/src/api/resources/syntheticDataMakerForVideosPdFs/client/requests/index.ts b/src/api/resources/syntheticDataMakerForVideosPdFs/client/requests/index.ts new file mode 100644 index 0000000..5ad9d60 --- /dev/null +++ b/src/api/resources/syntheticDataMakerForVideosPdFs/client/requests/index.ts @@ -0,0 +1 @@ +export { type StatusDocExtractRequest } from "./StatusDocExtractRequest"; diff --git a/src/api/resources/syntheticDataMakerForVideosPdFs/index.ts b/src/api/resources/syntheticDataMakerForVideosPdFs/index.ts new file mode 100644 index 0000000..5ec7692 --- /dev/null +++ b/src/api/resources/syntheticDataMakerForVideosPdFs/index.ts @@ -0,0 +1 @@ +export * from "./client"; diff --git a/src/api/resources/textGuidedAudioGenerator/client/Client.ts b/src/api/resources/textGuidedAudioGenerator/client/Client.ts new file mode 100644 index 0000000..7b3c508 --- /dev/null +++ b/src/api/resources/textGuidedAudioGenerator/client/Client.ts @@ -0,0 +1,140 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as environments from "../../../../environments"; +import * as core from "../../../../core"; +import * as Gooey from "../../../index"; +import urlJoin from "url-join"; +import * as serializers from "../../../../serialization/index"; +import * as errors from "../../../../errors/index"; + +export declare namespace TextGuidedAudioGenerator { + interface Options { + environment?: core.Supplier; + apiKey?: core.Supplier; + fetcher?: core.FetchFunction; + } + + interface RequestOptions { + /** The maximum time to wait for a response in seconds. */ + timeoutInSeconds?: number; + /** The number of times to retry the request. Defaults to 2. */ + maxRetries?: number; + /** A hook to abort the request. */ + abortSignal?: AbortSignal; + } +} + +export class TextGuidedAudioGenerator { + constructor(protected readonly _options: TextGuidedAudioGenerator.Options = {}) {} + + /** + * @param {Gooey.StatusText2AudioRequest} request + * @param {TextGuidedAudioGenerator.RequestOptions} requestOptions - Request-specific configuration. + * + * @throws {@link Gooey.PaymentRequiredError} + * @throws {@link Gooey.UnprocessableEntityError} + * @throws {@link Gooey.TooManyRequestsError} + * + * @example + * await client.textGuidedAudioGenerator.statusText2Audio({ + * runId: "run_id" + * }) + */ + public async statusText2Audio( + request: Gooey.StatusText2AudioRequest, + requestOptions?: TextGuidedAudioGenerator.RequestOptions + ): Promise { + const { runId } = request; + const _queryParams: Record = {}; + _queryParams["run_id"] = runId; + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: urlJoin( + (await core.Supplier.get(this._options.environment)) ?? environments.GooeyEnvironment.Default, + "v3/text2audio/status" + ), + method: "GET", + headers: { + Authorization: await this._getAuthorizationHeader(), + "X-Fern-Language": "JavaScript", + "X-Fern-SDK-Name": "gooeyai", + "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-Runtime": core.RUNTIME.type, + "X-Fern-Runtime-Version": core.RUNTIME.version, + }, + contentType: "application/json", + queryParameters: _queryParams, + requestType: "json", + timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, + abortSignal: requestOptions?.abortSignal, + }); + if (_response.ok) { + return serializers.Text2AudioPageStatusResponse.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }); + } + + if (_response.error.reason === "status-code") { + switch (_response.error.statusCode) { + case 402: + throw new Gooey.PaymentRequiredError(_response.error.body); + case 422: + throw new Gooey.UnprocessableEntityError( + serializers.HttpValidationError.parseOrThrow(_response.error.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }) + ); + case 429: + throw new Gooey.TooManyRequestsError( + serializers.GenericErrorResponse.parseOrThrow(_response.error.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }) + ); + default: + throw new errors.GooeyError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + }); + } + } + + switch (_response.error.reason) { + case "non-json": + throw new errors.GooeyError({ + statusCode: _response.error.statusCode, + body: _response.error.rawBody, + }); + case "timeout": + throw new errors.GooeyTimeoutError(); + case "unknown": + throw new errors.GooeyError({ + message: _response.error.errorMessage, + }); + } + } + + protected async _getAuthorizationHeader(): Promise { + const bearer = (await core.Supplier.get(this._options.apiKey)) ?? process?.env["GOOEY_API_KEY"]; + if (bearer == null) { + throw new errors.GooeyError({ + message: "Please specify GOOEY_API_KEY when instantiating the client.", + }); + } + + return `Bearer ${bearer}`; + } +} diff --git a/src/api/resources/textGuidedAudioGenerator/client/index.ts b/src/api/resources/textGuidedAudioGenerator/client/index.ts new file mode 100644 index 0000000..415726b --- /dev/null +++ b/src/api/resources/textGuidedAudioGenerator/client/index.ts @@ -0,0 +1 @@ +export * from "./requests"; diff --git a/src/api/resources/textGuidedAudioGenerator/client/requests/StatusText2AudioRequest.ts b/src/api/resources/textGuidedAudioGenerator/client/requests/StatusText2AudioRequest.ts new file mode 100644 index 0000000..71deda7 --- /dev/null +++ b/src/api/resources/textGuidedAudioGenerator/client/requests/StatusText2AudioRequest.ts @@ -0,0 +1,13 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +/** + * @example + * { + * runId: "run_id" + * } + */ +export interface StatusText2AudioRequest { + runId: string; +} diff --git a/src/api/resources/textGuidedAudioGenerator/client/requests/index.ts b/src/api/resources/textGuidedAudioGenerator/client/requests/index.ts new file mode 100644 index 0000000..305c67a --- /dev/null +++ b/src/api/resources/textGuidedAudioGenerator/client/requests/index.ts @@ -0,0 +1 @@ +export { type StatusText2AudioRequest } from "./StatusText2AudioRequest"; diff --git a/src/api/resources/textGuidedAudioGenerator/index.ts b/src/api/resources/textGuidedAudioGenerator/index.ts new file mode 100644 index 0000000..5ec7692 --- /dev/null +++ b/src/api/resources/textGuidedAudioGenerator/index.ts @@ -0,0 +1 @@ +export * from "./client"; diff --git a/src/api/resources/webSearchGpt3/client/Client.ts b/src/api/resources/webSearchGpt3/client/Client.ts new file mode 100644 index 0000000..c36e666 --- /dev/null +++ b/src/api/resources/webSearchGpt3/client/Client.ts @@ -0,0 +1,140 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as environments from "../../../../environments"; +import * as core from "../../../../core"; +import * as Gooey from "../../../index"; +import urlJoin from "url-join"; +import * as serializers from "../../../../serialization/index"; +import * as errors from "../../../../errors/index"; + +export declare namespace WebSearchGpt3 { + interface Options { + environment?: core.Supplier; + apiKey?: core.Supplier; + fetcher?: core.FetchFunction; + } + + interface RequestOptions { + /** The maximum time to wait for a response in seconds. */ + timeoutInSeconds?: number; + /** The number of times to retry the request. Defaults to 2. */ + maxRetries?: number; + /** A hook to abort the request. */ + abortSignal?: AbortSignal; + } +} + +export class WebSearchGpt3 { + constructor(protected readonly _options: WebSearchGpt3.Options = {}) {} + + /** + * @param {Gooey.StatusGoogleGptRequest} request + * @param {WebSearchGpt3.RequestOptions} requestOptions - Request-specific configuration. + * + * @throws {@link Gooey.PaymentRequiredError} + * @throws {@link Gooey.UnprocessableEntityError} + * @throws {@link Gooey.TooManyRequestsError} + * + * @example + * await client.webSearchGpt3.statusGoogleGpt({ + * runId: "run_id" + * }) + */ + public async statusGoogleGpt( + request: Gooey.StatusGoogleGptRequest, + requestOptions?: WebSearchGpt3.RequestOptions + ): Promise { + const { runId } = request; + const _queryParams: Record = {}; + _queryParams["run_id"] = runId; + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: urlJoin( + (await core.Supplier.get(this._options.environment)) ?? environments.GooeyEnvironment.Default, + "v3/google-gpt/status" + ), + method: "GET", + headers: { + Authorization: await this._getAuthorizationHeader(), + "X-Fern-Language": "JavaScript", + "X-Fern-SDK-Name": "gooeyai", + "X-Fern-SDK-Version": "0.0.1-beta17", + "X-Fern-Runtime": core.RUNTIME.type, + "X-Fern-Runtime-Version": core.RUNTIME.version, + }, + contentType: "application/json", + queryParameters: _queryParams, + requestType: "json", + timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, + abortSignal: requestOptions?.abortSignal, + }); + if (_response.ok) { + return serializers.GoogleGptPageStatusResponse.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }); + } + + if (_response.error.reason === "status-code") { + switch (_response.error.statusCode) { + case 402: + throw new Gooey.PaymentRequiredError(_response.error.body); + case 422: + throw new Gooey.UnprocessableEntityError( + serializers.HttpValidationError.parseOrThrow(_response.error.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }) + ); + case 429: + throw new Gooey.TooManyRequestsError( + serializers.GenericErrorResponse.parseOrThrow(_response.error.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }) + ); + default: + throw new errors.GooeyError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + }); + } + } + + switch (_response.error.reason) { + case "non-json": + throw new errors.GooeyError({ + statusCode: _response.error.statusCode, + body: _response.error.rawBody, + }); + case "timeout": + throw new errors.GooeyTimeoutError(); + case "unknown": + throw new errors.GooeyError({ + message: _response.error.errorMessage, + }); + } + } + + protected async _getAuthorizationHeader(): Promise { + const bearer = (await core.Supplier.get(this._options.apiKey)) ?? process?.env["GOOEY_API_KEY"]; + if (bearer == null) { + throw new errors.GooeyError({ + message: "Please specify GOOEY_API_KEY when instantiating the client.", + }); + } + + return `Bearer ${bearer}`; + } +} diff --git a/src/api/resources/webSearchGpt3/client/index.ts b/src/api/resources/webSearchGpt3/client/index.ts new file mode 100644 index 0000000..415726b --- /dev/null +++ b/src/api/resources/webSearchGpt3/client/index.ts @@ -0,0 +1 @@ +export * from "./requests"; diff --git a/src/api/resources/webSearchGpt3/client/requests/StatusGoogleGptRequest.ts b/src/api/resources/webSearchGpt3/client/requests/StatusGoogleGptRequest.ts new file mode 100644 index 0000000..2c23a55 --- /dev/null +++ b/src/api/resources/webSearchGpt3/client/requests/StatusGoogleGptRequest.ts @@ -0,0 +1,13 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +/** + * @example + * { + * runId: "run_id" + * } + */ +export interface StatusGoogleGptRequest { + runId: string; +} diff --git a/src/api/resources/webSearchGpt3/client/requests/index.ts b/src/api/resources/webSearchGpt3/client/requests/index.ts new file mode 100644 index 0000000..b815e41 --- /dev/null +++ b/src/api/resources/webSearchGpt3/client/requests/index.ts @@ -0,0 +1 @@ +export { type StatusGoogleGptRequest } from "./StatusGoogleGptRequest"; diff --git a/src/api/resources/webSearchGpt3/index.ts b/src/api/resources/webSearchGpt3/index.ts new file mode 100644 index 0000000..5ec7692 --- /dev/null +++ b/src/api/resources/webSearchGpt3/index.ts @@ -0,0 +1 @@ +export * from "./client"; diff --git a/src/api/types/AggFunction.ts b/src/api/types/AggFunction.ts deleted file mode 100644 index 85843ad..0000000 --- a/src/api/types/AggFunction.ts +++ /dev/null @@ -1,10 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as Gooey from "../index"; - -export interface AggFunction { - column?: string; - function: Gooey.AggFunctionFunction; -} diff --git a/src/api/types/AggFunctionFunction.ts b/src/api/types/AggFunctionFunction.ts deleted file mode 100644 index 3253d31..0000000 --- a/src/api/types/AggFunctionFunction.ts +++ /dev/null @@ -1,40 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type AggFunctionFunction = - | "mean" - | "median" - | "min" - | "max" - | "sum" - | "cumsum" - | "prod" - | "cumprod" - | "std" - | "var" - | "first" - | "last" - | "count" - | "cumcount" - | "nunique" - | "rank"; - -export const AggFunctionFunction = { - Mean: "mean", - Median: "median", - Min: "min", - Max: "max", - Sum: "sum", - Cumsum: "cumsum", - Prod: "prod", - Cumprod: "cumprod", - Std: "std", - Var: "var", - First: "first", - Last: "last", - Count: "count", - Cumcount: "cumcount", - Nunique: "nunique", - Rank: "rank", -} as const; diff --git a/src/api/types/AnimationPrompt.ts b/src/api/types/AnimationPrompt.ts deleted file mode 100644 index fd588f6..0000000 --- a/src/api/types/AnimationPrompt.ts +++ /dev/null @@ -1,8 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export interface AnimationPrompt { - frame: string; - prompt: string; -} diff --git a/src/api/types/AsrPageRequest.ts b/src/api/types/AsrPageRequest.ts deleted file mode 100644 index cfdac8e..0000000 --- a/src/api/types/AsrPageRequest.ts +++ /dev/null @@ -1,26 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as Gooey from "../index"; - -export interface AsrPageRequest { - functions?: Gooey.RecipeFunction[]; - /** Variables to be used as Jinja prompt templates and in functions as arguments */ - variables?: Record; - documents: string[]; - selectedModel?: Gooey.AsrPageRequestSelectedModel; - language?: string; - translationModel?: Gooey.AsrPageRequestTranslationModel; - outputFormat?: Gooey.AsrPageRequestOutputFormat; - /** use `translation_model` & `translation_target` instead. */ - googleTranslateTarget?: string; - translationSource?: string; - translationTarget?: string; - /** - * Provide a glossary to customize translation and improve accuracy of domain-specific terms. - * If not specified or invalid, no glossary will be used. Read about the expected format [here](https://docs.google.com/document/d/1TwzAvFmFYekloRKql2PXNPIyqCbsHRL8ZtnWkzAYrh8/edit?usp=sharing). - */ - glossaryDocument?: string; - settings?: Gooey.RunSettings; -} diff --git a/src/api/types/AsrPageRequestOutputFormat.ts b/src/api/types/AsrPageRequestOutputFormat.ts deleted file mode 100644 index fa713cf..0000000 --- a/src/api/types/AsrPageRequestOutputFormat.ts +++ /dev/null @@ -1,12 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type AsrPageRequestOutputFormat = "text" | "json" | "srt" | "vtt"; - -export const AsrPageRequestOutputFormat = { - Text: "text", - Json: "json", - Srt: "srt", - Vtt: "vtt", -} as const; diff --git a/src/api/types/AsrPageRequestSelectedModel.ts b/src/api/types/AsrPageRequestSelectedModel.ts deleted file mode 100644 index 86b15e7..0000000 --- a/src/api/types/AsrPageRequestSelectedModel.ts +++ /dev/null @@ -1,36 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type AsrPageRequestSelectedModel = - | "whisper_large_v2" - | "whisper_large_v3" - | "whisper_hindi_large_v2" - | "whisper_telugu_large_v2" - | "nemo_english" - | "nemo_hindi" - | "vakyansh_bhojpuri" - | "gcp_v1" - | "usm" - | "deepgram" - | "azure" - | "seamless_m4t_v2" - | "mms_1b_all" - | "seamless_m4t"; - -export const AsrPageRequestSelectedModel = { - WhisperLargeV2: "whisper_large_v2", - WhisperLargeV3: "whisper_large_v3", - WhisperHindiLargeV2: "whisper_hindi_large_v2", - WhisperTeluguLargeV2: "whisper_telugu_large_v2", - NemoEnglish: "nemo_english", - NemoHindi: "nemo_hindi", - VakyanshBhojpuri: "vakyansh_bhojpuri", - GcpV1: "gcp_v1", - Usm: "usm", - Deepgram: "deepgram", - Azure: "azure", - SeamlessM4TV2: "seamless_m4t_v2", - Mms1BAll: "mms_1b_all", - SeamlessM4T: "seamless_m4t", -} as const; diff --git a/src/api/types/AsrPageRequestTranslationModel.ts b/src/api/types/AsrPageRequestTranslationModel.ts deleted file mode 100644 index 0bdb923..0000000 --- a/src/api/types/AsrPageRequestTranslationModel.ts +++ /dev/null @@ -1,10 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type AsrPageRequestTranslationModel = "google" | "ghana_nlp"; - -export const AsrPageRequestTranslationModel = { - Google: "google", - GhanaNlp: "ghana_nlp", -} as const; diff --git a/src/api/types/BodyAsyncFormArtQrCode.ts b/src/api/types/BodyAsyncFormArtQrCode.ts index 37594f9..c514529 100644 --- a/src/api/types/BodyAsyncFormArtQrCode.ts +++ b/src/api/types/BodyAsyncFormArtQrCode.ts @@ -2,8 +2,6 @@ * This file was auto-generated by Fern from our API Definition. */ -import * as Gooey from "../index"; - export interface BodyAsyncFormArtQrCode { - pageRequestJson: Gooey.QrCodeGeneratorPageRequest; + json: string; } diff --git a/src/api/types/BodyAsyncFormAsr.ts b/src/api/types/BodyAsyncFormAsr.ts index 0154f4a..f09ea87 100644 --- a/src/api/types/BodyAsyncFormAsr.ts +++ b/src/api/types/BodyAsyncFormAsr.ts @@ -2,8 +2,6 @@ * This file was auto-generated by Fern from our API Definition. */ -import * as Gooey from "../index"; - export interface BodyAsyncFormAsr { - pageRequestJson: Gooey.AsrPageRequest; + json: string; } diff --git a/src/api/types/BodyAsyncFormBulkEval.ts b/src/api/types/BodyAsyncFormBulkEval.ts index 96fead5..bfc0809 100644 --- a/src/api/types/BodyAsyncFormBulkEval.ts +++ b/src/api/types/BodyAsyncFormBulkEval.ts @@ -2,8 +2,6 @@ * This file was auto-generated by Fern from our API Definition. */ -import * as Gooey from "../index"; - export interface BodyAsyncFormBulkEval { - pageRequestJson: Gooey.BulkEvalPageRequest; + json: string; } diff --git a/src/api/types/BodyAsyncFormBulkRunner.ts b/src/api/types/BodyAsyncFormBulkRunner.ts index 6e532ea..a3fc324 100644 --- a/src/api/types/BodyAsyncFormBulkRunner.ts +++ b/src/api/types/BodyAsyncFormBulkRunner.ts @@ -2,8 +2,6 @@ * This file was auto-generated by Fern from our API Definition. */ -import * as Gooey from "../index"; - export interface BodyAsyncFormBulkRunner { - pageRequestJson: Gooey.BulkRunnerPageRequest; + json: string; } diff --git a/src/api/types/BodyAsyncFormChyronPlant.ts b/src/api/types/BodyAsyncFormChyronPlant.ts index 54c07ab..6d7af27 100644 --- a/src/api/types/BodyAsyncFormChyronPlant.ts +++ b/src/api/types/BodyAsyncFormChyronPlant.ts @@ -2,8 +2,6 @@ * This file was auto-generated by Fern from our API Definition. */ -import * as Gooey from "../index"; - export interface BodyAsyncFormChyronPlant { - pageRequestJson: Gooey.ChyronPlantPageRequest; + json: string; } diff --git a/src/api/types/BodyAsyncFormCompareAiUpscalers.ts b/src/api/types/BodyAsyncFormCompareAiUpscalers.ts index 98dc749..927687f 100644 --- a/src/api/types/BodyAsyncFormCompareAiUpscalers.ts +++ b/src/api/types/BodyAsyncFormCompareAiUpscalers.ts @@ -2,8 +2,6 @@ * This file was auto-generated by Fern from our API Definition. */ -import * as Gooey from "../index"; - export interface BodyAsyncFormCompareAiUpscalers { - pageRequestJson: Gooey.CompareUpscalerPageRequest; + json: string; } diff --git a/src/api/types/BodyAsyncFormCompareLlm.ts b/src/api/types/BodyAsyncFormCompareLlm.ts index 55f5fa6..60acdaa 100644 --- a/src/api/types/BodyAsyncFormCompareLlm.ts +++ b/src/api/types/BodyAsyncFormCompareLlm.ts @@ -2,8 +2,6 @@ * This file was auto-generated by Fern from our API Definition. */ -import * as Gooey from "../index"; - export interface BodyAsyncFormCompareLlm { - pageRequestJson: Gooey.CompareLlmPageRequest; + json: string; } diff --git a/src/api/types/BodyAsyncFormCompareText2Img.ts b/src/api/types/BodyAsyncFormCompareText2Img.ts index 6f1933e..be14360 100644 --- a/src/api/types/BodyAsyncFormCompareText2Img.ts +++ b/src/api/types/BodyAsyncFormCompareText2Img.ts @@ -2,8 +2,6 @@ * This file was auto-generated by Fern from our API Definition. */ -import * as Gooey from "../index"; - export interface BodyAsyncFormCompareText2Img { - pageRequestJson: Gooey.CompareText2ImgPageRequest; + json: string; } diff --git a/src/api/types/BodyAsyncFormDeforumSd.ts b/src/api/types/BodyAsyncFormDeforumSd.ts index aace8c2..4dea3f0 100644 --- a/src/api/types/BodyAsyncFormDeforumSd.ts +++ b/src/api/types/BodyAsyncFormDeforumSd.ts @@ -2,8 +2,6 @@ * This file was auto-generated by Fern from our API Definition. */ -import * as Gooey from "../index"; - export interface BodyAsyncFormDeforumSd { - pageRequestJson: Gooey.DeforumSdPageRequest; + json: string; } diff --git a/src/api/types/BodyAsyncFormDocExtract.ts b/src/api/types/BodyAsyncFormDocExtract.ts index 9aa69e5..3550b5a 100644 --- a/src/api/types/BodyAsyncFormDocExtract.ts +++ b/src/api/types/BodyAsyncFormDocExtract.ts @@ -2,8 +2,6 @@ * This file was auto-generated by Fern from our API Definition. */ -import * as Gooey from "../index"; - export interface BodyAsyncFormDocExtract { - pageRequestJson: Gooey.DocExtractPageRequest; + json: string; } diff --git a/src/api/types/BodyAsyncFormDocSearch.ts b/src/api/types/BodyAsyncFormDocSearch.ts index 7156dbf..33d5348 100644 --- a/src/api/types/BodyAsyncFormDocSearch.ts +++ b/src/api/types/BodyAsyncFormDocSearch.ts @@ -2,8 +2,6 @@ * This file was auto-generated by Fern from our API Definition. */ -import * as Gooey from "../index"; - export interface BodyAsyncFormDocSearch { - pageRequestJson: Gooey.DocSearchPageRequest; + json: string; } diff --git a/src/api/types/BodyAsyncFormDocSummary.ts b/src/api/types/BodyAsyncFormDocSummary.ts index f938217..9339702 100644 --- a/src/api/types/BodyAsyncFormDocSummary.ts +++ b/src/api/types/BodyAsyncFormDocSummary.ts @@ -2,8 +2,6 @@ * This file was auto-generated by Fern from our API Definition. */ -import * as Gooey from "../index"; - export interface BodyAsyncFormDocSummary { - pageRequestJson: Gooey.DocSummaryPageRequest; + json: string; } diff --git a/src/api/types/BodyAsyncFormEmailFaceInpainting.ts b/src/api/types/BodyAsyncFormEmailFaceInpainting.ts index 9049766..e7a32db 100644 --- a/src/api/types/BodyAsyncFormEmailFaceInpainting.ts +++ b/src/api/types/BodyAsyncFormEmailFaceInpainting.ts @@ -2,8 +2,6 @@ * This file was auto-generated by Fern from our API Definition. */ -import * as Gooey from "../index"; - export interface BodyAsyncFormEmailFaceInpainting { - pageRequestJson: Gooey.EmailFaceInpaintingPageRequest; + json: string; } diff --git a/src/api/types/BodyAsyncFormEmbeddings.ts b/src/api/types/BodyAsyncFormEmbeddings.ts index 987ae32..0d706d8 100644 --- a/src/api/types/BodyAsyncFormEmbeddings.ts +++ b/src/api/types/BodyAsyncFormEmbeddings.ts @@ -2,8 +2,6 @@ * This file was auto-generated by Fern from our API Definition. */ -import * as Gooey from "../index"; - export interface BodyAsyncFormEmbeddings { - pageRequestJson: Gooey.EmbeddingsPageRequest; + json: string; } diff --git a/src/api/types/BodyAsyncFormFaceInpainting.ts b/src/api/types/BodyAsyncFormFaceInpainting.ts index ea3f0bb..7db19d4 100644 --- a/src/api/types/BodyAsyncFormFaceInpainting.ts +++ b/src/api/types/BodyAsyncFormFaceInpainting.ts @@ -2,8 +2,6 @@ * This file was auto-generated by Fern from our API Definition. */ -import * as Gooey from "../index"; - export interface BodyAsyncFormFaceInpainting { - pageRequestJson: Gooey.FaceInpaintingPageRequest; + json: string; } diff --git a/src/api/types/BodyAsyncFormFunctions.ts b/src/api/types/BodyAsyncFormFunctions.ts index a99d707..c49e415 100644 --- a/src/api/types/BodyAsyncFormFunctions.ts +++ b/src/api/types/BodyAsyncFormFunctions.ts @@ -2,8 +2,6 @@ * This file was auto-generated by Fern from our API Definition. */ -import * as Gooey from "../index"; - export interface BodyAsyncFormFunctions { - pageRequestJson: Gooey.FunctionsPageRequest; + json: string; } diff --git a/src/api/types/BodyAsyncFormGoogleGpt.ts b/src/api/types/BodyAsyncFormGoogleGpt.ts index 87ba538..8a325b1 100644 --- a/src/api/types/BodyAsyncFormGoogleGpt.ts +++ b/src/api/types/BodyAsyncFormGoogleGpt.ts @@ -2,8 +2,6 @@ * This file was auto-generated by Fern from our API Definition. */ -import * as Gooey from "../index"; - export interface BodyAsyncFormGoogleGpt { - pageRequestJson: Gooey.GoogleGptPageRequest; + json: string; } diff --git a/src/api/types/BodyAsyncFormGoogleImageGen.ts b/src/api/types/BodyAsyncFormGoogleImageGen.ts index ac98657..46540c8 100644 --- a/src/api/types/BodyAsyncFormGoogleImageGen.ts +++ b/src/api/types/BodyAsyncFormGoogleImageGen.ts @@ -2,8 +2,6 @@ * This file was auto-generated by Fern from our API Definition. */ -import * as Gooey from "../index"; - export interface BodyAsyncFormGoogleImageGen { - pageRequestJson: Gooey.GoogleImageGenPageRequest; + json: string; } diff --git a/src/api/types/BodyAsyncFormImageSegmentation.ts b/src/api/types/BodyAsyncFormImageSegmentation.ts index 1e10d7b..407dff6 100644 --- a/src/api/types/BodyAsyncFormImageSegmentation.ts +++ b/src/api/types/BodyAsyncFormImageSegmentation.ts @@ -2,8 +2,6 @@ * This file was auto-generated by Fern from our API Definition. */ -import * as Gooey from "../index"; - export interface BodyAsyncFormImageSegmentation { - pageRequestJson: Gooey.ImageSegmentationPageRequest; + json: string; } diff --git a/src/api/types/BodyAsyncFormImg2Img.ts b/src/api/types/BodyAsyncFormImg2Img.ts index 8c998ad..332998c 100644 --- a/src/api/types/BodyAsyncFormImg2Img.ts +++ b/src/api/types/BodyAsyncFormImg2Img.ts @@ -2,8 +2,6 @@ * This file was auto-generated by Fern from our API Definition. */ -import * as Gooey from "../index"; - export interface BodyAsyncFormImg2Img { - pageRequestJson: Gooey.Img2ImgPageRequest; + json: string; } diff --git a/src/api/types/BodyAsyncFormLetterWriter.ts b/src/api/types/BodyAsyncFormLetterWriter.ts index f42408f..cef4aec 100644 --- a/src/api/types/BodyAsyncFormLetterWriter.ts +++ b/src/api/types/BodyAsyncFormLetterWriter.ts @@ -2,8 +2,6 @@ * This file was auto-generated by Fern from our API Definition. */ -import * as Gooey from "../index"; - export interface BodyAsyncFormLetterWriter { - pageRequestJson: Gooey.LetterWriterPageRequest; + json: string; } diff --git a/src/api/types/BodyAsyncFormLipsync.ts b/src/api/types/BodyAsyncFormLipsync.ts index b457138..3ef1edb 100644 --- a/src/api/types/BodyAsyncFormLipsync.ts +++ b/src/api/types/BodyAsyncFormLipsync.ts @@ -2,8 +2,6 @@ * This file was auto-generated by Fern from our API Definition. */ -import * as Gooey from "../index"; - export interface BodyAsyncFormLipsync { - pageRequestJson: Gooey.LipsyncPageRequest; + json: string; } diff --git a/src/api/types/BodyAsyncFormLipsyncTts.ts b/src/api/types/BodyAsyncFormLipsyncTts.ts index 103a38b..bfcbfb5 100644 --- a/src/api/types/BodyAsyncFormLipsyncTts.ts +++ b/src/api/types/BodyAsyncFormLipsyncTts.ts @@ -2,8 +2,6 @@ * This file was auto-generated by Fern from our API Definition. */ -import * as Gooey from "../index"; - export interface BodyAsyncFormLipsyncTts { - pageRequestJson: Gooey.LipsyncTtsPageRequest; + json: string; } diff --git a/src/api/types/BodyAsyncFormObjectInpainting.ts b/src/api/types/BodyAsyncFormObjectInpainting.ts index 8d574f1..d2fb52e 100644 --- a/src/api/types/BodyAsyncFormObjectInpainting.ts +++ b/src/api/types/BodyAsyncFormObjectInpainting.ts @@ -2,8 +2,6 @@ * This file was auto-generated by Fern from our API Definition. */ -import * as Gooey from "../index"; - export interface BodyAsyncFormObjectInpainting { - pageRequestJson: Gooey.ObjectInpaintingPageRequest; + json: string; } diff --git a/src/api/types/BodyAsyncFormRelatedQnaMaker.ts b/src/api/types/BodyAsyncFormRelatedQnaMaker.ts index 427d227..3cbc9bb 100644 --- a/src/api/types/BodyAsyncFormRelatedQnaMaker.ts +++ b/src/api/types/BodyAsyncFormRelatedQnaMaker.ts @@ -2,8 +2,6 @@ * This file was auto-generated by Fern from our API Definition. */ -import * as Gooey from "../index"; - export interface BodyAsyncFormRelatedQnaMaker { - pageRequestJson: Gooey.RelatedQnAPageRequest; + json: string; } diff --git a/src/api/types/BodyAsyncFormRelatedQnaMakerDoc.ts b/src/api/types/BodyAsyncFormRelatedQnaMakerDoc.ts index d55ada6..8901c77 100644 --- a/src/api/types/BodyAsyncFormRelatedQnaMakerDoc.ts +++ b/src/api/types/BodyAsyncFormRelatedQnaMakerDoc.ts @@ -2,8 +2,6 @@ * This file was auto-generated by Fern from our API Definition. */ -import * as Gooey from "../index"; - export interface BodyAsyncFormRelatedQnaMakerDoc { - pageRequestJson: Gooey.RelatedQnADocPageRequest; + json: string; } diff --git a/src/api/types/BodyAsyncFormSeoSummary.ts b/src/api/types/BodyAsyncFormSeoSummary.ts index 7dfcc61..3924bab 100644 --- a/src/api/types/BodyAsyncFormSeoSummary.ts +++ b/src/api/types/BodyAsyncFormSeoSummary.ts @@ -2,8 +2,6 @@ * This file was auto-generated by Fern from our API Definition. */ -import * as Gooey from "../index"; - export interface BodyAsyncFormSeoSummary { - pageRequestJson: Gooey.SeoSummaryPageRequest; + json: string; } diff --git a/src/api/types/BodyAsyncFormSmartGpt.ts b/src/api/types/BodyAsyncFormSmartGpt.ts index a4a4679..78769ea 100644 --- a/src/api/types/BodyAsyncFormSmartGpt.ts +++ b/src/api/types/BodyAsyncFormSmartGpt.ts @@ -2,8 +2,6 @@ * This file was auto-generated by Fern from our API Definition. */ -import * as Gooey from "../index"; - export interface BodyAsyncFormSmartGpt { - pageRequestJson: Gooey.SmartGptPageRequest; + json: string; } diff --git a/src/api/types/BodyAsyncFormSocialLookupEmail.ts b/src/api/types/BodyAsyncFormSocialLookupEmail.ts index fe52748..7eec8ab 100644 --- a/src/api/types/BodyAsyncFormSocialLookupEmail.ts +++ b/src/api/types/BodyAsyncFormSocialLookupEmail.ts @@ -2,8 +2,6 @@ * This file was auto-generated by Fern from our API Definition. */ -import * as Gooey from "../index"; - export interface BodyAsyncFormSocialLookupEmail { - pageRequestJson: Gooey.SocialLookupEmailPageRequest; + json: string; } diff --git a/src/api/types/BodyAsyncFormText2Audio.ts b/src/api/types/BodyAsyncFormText2Audio.ts index 7dc5f3f..d366353 100644 --- a/src/api/types/BodyAsyncFormText2Audio.ts +++ b/src/api/types/BodyAsyncFormText2Audio.ts @@ -2,8 +2,6 @@ * This file was auto-generated by Fern from our API Definition. */ -import * as Gooey from "../index"; - export interface BodyAsyncFormText2Audio { - pageRequestJson: Gooey.Text2AudioPageRequest; + json: string; } diff --git a/src/api/types/BodyAsyncFormTextToSpeech.ts b/src/api/types/BodyAsyncFormTextToSpeech.ts index 8415d6a..bd74fa1 100644 --- a/src/api/types/BodyAsyncFormTextToSpeech.ts +++ b/src/api/types/BodyAsyncFormTextToSpeech.ts @@ -2,8 +2,6 @@ * This file was auto-generated by Fern from our API Definition. */ -import * as Gooey from "../index"; - export interface BodyAsyncFormTextToSpeech { - pageRequestJson: Gooey.TextToSpeechPageRequest; + json: string; } diff --git a/src/api/types/BodyAsyncFormTranslate.ts b/src/api/types/BodyAsyncFormTranslate.ts index b310c60..50c1db1 100644 --- a/src/api/types/BodyAsyncFormTranslate.ts +++ b/src/api/types/BodyAsyncFormTranslate.ts @@ -2,8 +2,6 @@ * This file was auto-generated by Fern from our API Definition. */ -import * as Gooey from "../index"; - export interface BodyAsyncFormTranslate { - pageRequestJson: Gooey.TranslationPageRequest; + json: string; } diff --git a/src/api/types/BodyAsyncFormVideoBots.ts b/src/api/types/BodyAsyncFormVideoBots.ts index 942d285..95cb30f 100644 --- a/src/api/types/BodyAsyncFormVideoBots.ts +++ b/src/api/types/BodyAsyncFormVideoBots.ts @@ -2,8 +2,6 @@ * This file was auto-generated by Fern from our API Definition. */ -import * as Gooey from "../index"; - export interface BodyAsyncFormVideoBots { - pageRequestJson: Gooey.VideoBotsPageRequest; + json: string; } diff --git a/src/api/types/BulkEvalPageRequest.ts b/src/api/types/BulkEvalPageRequest.ts deleted file mode 100644 index d8269d4..0000000 --- a/src/api/types/BulkEvalPageRequest.ts +++ /dev/null @@ -1,33 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as Gooey from "../index"; - -export interface BulkEvalPageRequest { - functions?: Gooey.RecipeFunction[]; - /** Variables to be used as Jinja prompt templates and in functions as arguments */ - variables?: Record; - /** - * Upload or link to a CSV or google sheet that contains your sample input data. - * For example, for Copilot, this would sample questions or for Art QR Code, would would be pairs of image descriptions and URLs. - * Remember to includes header names in your CSV too. - */ - documents: string[]; - /** - * Specify custom LLM prompts to calculate metrics that evaluate each row of the input data. The output should be a JSON object mapping the metric names to values. - * _The `columns` dictionary can be used to reference the spreadsheet columns._ - * - */ - evalPrompts?: Gooey.EvalPrompt[]; - /** Aggregate using one or more operations. Uses [pandas](https://pandas.pydata.org/pandas-docs/stable/reference/groupby.html#dataframegroupby-computations-descriptive-stats). */ - aggFunctions?: Gooey.AggFunction[]; - selectedModel?: Gooey.BulkEvalPageRequestSelectedModel; - avoidRepetition?: boolean; - numOutputs?: number; - quality?: number; - maxTokens?: number; - samplingTemperature?: number; - responseFormatType?: Gooey.BulkEvalPageRequestResponseFormatType; - settings?: Gooey.RunSettings; -} diff --git a/src/api/types/BulkEvalPageRequestResponseFormatType.ts b/src/api/types/BulkEvalPageRequestResponseFormatType.ts deleted file mode 100644 index bc5865c..0000000 --- a/src/api/types/BulkEvalPageRequestResponseFormatType.ts +++ /dev/null @@ -1,10 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type BulkEvalPageRequestResponseFormatType = "text" | "json_object"; - -export const BulkEvalPageRequestResponseFormatType = { - Text: "text", - JsonObject: "json_object", -} as const; diff --git a/src/api/types/BulkEvalPageRequestSelectedModel.ts b/src/api/types/BulkEvalPageRequestSelectedModel.ts deleted file mode 100644 index f6a22dc..0000000 --- a/src/api/types/BulkEvalPageRequestSelectedModel.ts +++ /dev/null @@ -1,84 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type BulkEvalPageRequestSelectedModel = - | "gpt_4_o" - | "gpt_4_o_mini" - | "chatgpt_4_o" - | "gpt_4_turbo_vision" - | "gpt_4_vision" - | "gpt_4_turbo" - | "gpt_4" - | "gpt_4_32k" - | "gpt_3_5_turbo" - | "gpt_3_5_turbo_16k" - | "gpt_3_5_turbo_instruct" - | "llama3_70b" - | "llama_3_groq_70b_tool_use" - | "llama3_8b" - | "llama_3_groq_8b_tool_use" - | "llama2_70b_chat" - | "mixtral_8x7b_instruct_0_1" - | "gemma_2_9b_it" - | "gemma_7b_it" - | "gemini_1_5_flash" - | "gemini_1_5_pro" - | "gemini_1_pro_vision" - | "gemini_1_pro" - | "palm2_chat" - | "palm2_text" - | "claude_3_5_sonnet" - | "claude_3_opus" - | "claude_3_sonnet" - | "claude_3_haiku" - | "sea_lion_7b_instruct" - | "llama3_8b_cpt_sea_lion_v2_instruct" - | "sarvam_2b" - | "text_davinci_003" - | "text_davinci_002" - | "code_davinci_002" - | "text_curie_001" - | "text_babbage_001" - | "text_ada_001"; - -export const BulkEvalPageRequestSelectedModel = { - Gpt4O: "gpt_4_o", - Gpt4OMini: "gpt_4_o_mini", - Chatgpt4O: "chatgpt_4_o", - Gpt4TurboVision: "gpt_4_turbo_vision", - Gpt4Vision: "gpt_4_vision", - Gpt4Turbo: "gpt_4_turbo", - Gpt4: "gpt_4", - Gpt432K: "gpt_4_32k", - Gpt35Turbo: "gpt_3_5_turbo", - Gpt35Turbo16K: "gpt_3_5_turbo_16k", - Gpt35TurboInstruct: "gpt_3_5_turbo_instruct", - Llama370B: "llama3_70b", - Llama3Groq70BToolUse: "llama_3_groq_70b_tool_use", - Llama38B: "llama3_8b", - Llama3Groq8BToolUse: "llama_3_groq_8b_tool_use", - Llama270BChat: "llama2_70b_chat", - Mixtral8X7BInstruct01: "mixtral_8x7b_instruct_0_1", - Gemma29BIt: "gemma_2_9b_it", - Gemma7BIt: "gemma_7b_it", - Gemini15Flash: "gemini_1_5_flash", - Gemini15Pro: "gemini_1_5_pro", - Gemini1ProVision: "gemini_1_pro_vision", - Gemini1Pro: "gemini_1_pro", - Palm2Chat: "palm2_chat", - Palm2Text: "palm2_text", - Claude35Sonnet: "claude_3_5_sonnet", - Claude3Opus: "claude_3_opus", - Claude3Sonnet: "claude_3_sonnet", - Claude3Haiku: "claude_3_haiku", - SeaLion7BInstruct: "sea_lion_7b_instruct", - Llama38BCptSeaLionV2Instruct: "llama3_8b_cpt_sea_lion_v2_instruct", - Sarvam2B: "sarvam_2b", - TextDavinci003: "text_davinci_003", - TextDavinci002: "text_davinci_002", - CodeDavinci002: "code_davinci_002", - TextCurie001: "text_curie_001", - TextBabbage001: "text_babbage_001", - TextAda001: "text_ada_001", -} as const; diff --git a/src/api/types/BulkRunnerPageRequest.ts b/src/api/types/BulkRunnerPageRequest.ts deleted file mode 100644 index 33da25b..0000000 --- a/src/api/types/BulkRunnerPageRequest.ts +++ /dev/null @@ -1,29 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as Gooey from "../index"; - -export interface BulkRunnerPageRequest { - functions?: Gooey.RecipeFunction[]; - /** Variables to be used as Jinja prompt templates and in functions as arguments */ - variables?: Record; - /** - * Upload or link to a CSV or google sheet that contains your sample input data. - * For example, for Copilot, this would sample questions or for Art QR Code, would would be pairs of image descriptions and URLs. - * Remember to includes header names in your CSV too. - */ - documents: string[]; - /** - * Provide one or more Gooey.AI workflow runs. - * You can add multiple runs from the same recipe (e.g. two versions of your copilot) and we'll run the inputs over both of them. - */ - runUrls: string[]; - /** For each input field in the Gooey.AI workflow, specify the column in your input data that corresponds to it. */ - inputColumns: Record; - /** For each output field in the Gooey.AI workflow, specify the column name that you'd like to use for it in the output data. */ - outputColumns: Record; - /** _(optional)_ Add one or more Gooey.AI Evaluator Workflows to evaluate the results of your runs. */ - evalUrls?: string[]; - settings?: Gooey.RunSettings; -} diff --git a/src/api/types/ChyronPlantPageRequest.ts b/src/api/types/ChyronPlantPageRequest.ts deleted file mode 100644 index 4b6ba0d..0000000 --- a/src/api/types/ChyronPlantPageRequest.ts +++ /dev/null @@ -1,15 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as Gooey from "../index"; - -export interface ChyronPlantPageRequest { - functions?: Gooey.RecipeFunction[]; - /** Variables to be used as Jinja prompt templates and in functions as arguments */ - variables?: Record; - midiNotes: string; - midiNotesPrompt?: string; - chyronPrompt?: string; - settings?: Gooey.RunSettings; -} diff --git a/src/api/types/CompareLlmPageRequest.ts b/src/api/types/CompareLlmPageRequest.ts deleted file mode 100644 index 524ac8a..0000000 --- a/src/api/types/CompareLlmPageRequest.ts +++ /dev/null @@ -1,20 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as Gooey from "../index"; - -export interface CompareLlmPageRequest { - functions?: Gooey.RecipeFunction[]; - /** Variables to be used as Jinja prompt templates and in functions as arguments */ - variables?: Record; - inputPrompt?: string; - selectedModels?: Gooey.CompareLlmPageRequestSelectedModelsItem[]; - avoidRepetition?: boolean; - numOutputs?: number; - quality?: number; - maxTokens?: number; - samplingTemperature?: number; - responseFormatType?: Gooey.CompareLlmPageRequestResponseFormatType; - settings?: Gooey.RunSettings; -} diff --git a/src/api/types/CompareLlmPageRequestResponseFormatType.ts b/src/api/types/CompareLlmPageRequestResponseFormatType.ts deleted file mode 100644 index 194a91d..0000000 --- a/src/api/types/CompareLlmPageRequestResponseFormatType.ts +++ /dev/null @@ -1,10 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type CompareLlmPageRequestResponseFormatType = "text" | "json_object"; - -export const CompareLlmPageRequestResponseFormatType = { - Text: "text", - JsonObject: "json_object", -} as const; diff --git a/src/api/types/CompareLlmPageRequestSelectedModelsItem.ts b/src/api/types/CompareLlmPageRequestSelectedModelsItem.ts deleted file mode 100644 index 4771658..0000000 --- a/src/api/types/CompareLlmPageRequestSelectedModelsItem.ts +++ /dev/null @@ -1,84 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type CompareLlmPageRequestSelectedModelsItem = - | "gpt_4_o" - | "gpt_4_o_mini" - | "chatgpt_4_o" - | "gpt_4_turbo_vision" - | "gpt_4_vision" - | "gpt_4_turbo" - | "gpt_4" - | "gpt_4_32k" - | "gpt_3_5_turbo" - | "gpt_3_5_turbo_16k" - | "gpt_3_5_turbo_instruct" - | "llama3_70b" - | "llama_3_groq_70b_tool_use" - | "llama3_8b" - | "llama_3_groq_8b_tool_use" - | "llama2_70b_chat" - | "mixtral_8x7b_instruct_0_1" - | "gemma_2_9b_it" - | "gemma_7b_it" - | "gemini_1_5_flash" - | "gemini_1_5_pro" - | "gemini_1_pro_vision" - | "gemini_1_pro" - | "palm2_chat" - | "palm2_text" - | "claude_3_5_sonnet" - | "claude_3_opus" - | "claude_3_sonnet" - | "claude_3_haiku" - | "sea_lion_7b_instruct" - | "llama3_8b_cpt_sea_lion_v2_instruct" - | "sarvam_2b" - | "text_davinci_003" - | "text_davinci_002" - | "code_davinci_002" - | "text_curie_001" - | "text_babbage_001" - | "text_ada_001"; - -export const CompareLlmPageRequestSelectedModelsItem = { - Gpt4O: "gpt_4_o", - Gpt4OMini: "gpt_4_o_mini", - Chatgpt4O: "chatgpt_4_o", - Gpt4TurboVision: "gpt_4_turbo_vision", - Gpt4Vision: "gpt_4_vision", - Gpt4Turbo: "gpt_4_turbo", - Gpt4: "gpt_4", - Gpt432K: "gpt_4_32k", - Gpt35Turbo: "gpt_3_5_turbo", - Gpt35Turbo16K: "gpt_3_5_turbo_16k", - Gpt35TurboInstruct: "gpt_3_5_turbo_instruct", - Llama370B: "llama3_70b", - Llama3Groq70BToolUse: "llama_3_groq_70b_tool_use", - Llama38B: "llama3_8b", - Llama3Groq8BToolUse: "llama_3_groq_8b_tool_use", - Llama270BChat: "llama2_70b_chat", - Mixtral8X7BInstruct01: "mixtral_8x7b_instruct_0_1", - Gemma29BIt: "gemma_2_9b_it", - Gemma7BIt: "gemma_7b_it", - Gemini15Flash: "gemini_1_5_flash", - Gemini15Pro: "gemini_1_5_pro", - Gemini1ProVision: "gemini_1_pro_vision", - Gemini1Pro: "gemini_1_pro", - Palm2Chat: "palm2_chat", - Palm2Text: "palm2_text", - Claude35Sonnet: "claude_3_5_sonnet", - Claude3Opus: "claude_3_opus", - Claude3Sonnet: "claude_3_sonnet", - Claude3Haiku: "claude_3_haiku", - SeaLion7BInstruct: "sea_lion_7b_instruct", - Llama38BCptSeaLionV2Instruct: "llama3_8b_cpt_sea_lion_v2_instruct", - Sarvam2B: "sarvam_2b", - TextDavinci003: "text_davinci_003", - TextDavinci002: "text_davinci_002", - CodeDavinci002: "code_davinci_002", - TextCurie001: "text_curie_001", - TextBabbage001: "text_babbage_001", - TextAda001: "text_ada_001", -} as const; diff --git a/src/api/types/CompareText2ImgPageRequest.ts b/src/api/types/CompareText2ImgPageRequest.ts deleted file mode 100644 index bcd1a8c..0000000 --- a/src/api/types/CompareText2ImgPageRequest.ts +++ /dev/null @@ -1,27 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as Gooey from "../index"; - -export interface CompareText2ImgPageRequest { - functions?: Gooey.RecipeFunction[]; - /** Variables to be used as Jinja prompt templates and in functions as arguments */ - variables?: Record; - textPrompt: string; - negativePrompt?: string; - outputWidth?: number; - outputHeight?: number; - numOutputs?: number; - quality?: number; - dallE3Quality?: string; - dallE3Style?: string; - guidanceScale?: number; - seed?: number; - sd2Upscaling?: boolean; - selectedModels?: Gooey.CompareText2ImgPageRequestSelectedModelsItem[]; - scheduler?: Gooey.CompareText2ImgPageRequestScheduler; - editInstruction?: string; - imageGuidanceScale?: number; - settings?: Gooey.RunSettings; -} diff --git a/src/api/types/CompareText2ImgPageRequestScheduler.ts b/src/api/types/CompareText2ImgPageRequestScheduler.ts deleted file mode 100644 index 6934b04..0000000 --- a/src/api/types/CompareText2ImgPageRequestScheduler.ts +++ /dev/null @@ -1,36 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type CompareText2ImgPageRequestScheduler = - | "singlestep_dpm_solver" - | "multistep_dpm_solver" - | "dpm_sde" - | "dpm_discrete" - | "dpm_discrete_ancestral" - | "unipc" - | "lms_discrete" - | "heun" - | "euler" - | "euler_ancestral" - | "pndm" - | "ddpm" - | "ddim" - | "deis"; - -export const CompareText2ImgPageRequestScheduler = { - SinglestepDpmSolver: "singlestep_dpm_solver", - MultistepDpmSolver: "multistep_dpm_solver", - DpmSde: "dpm_sde", - DpmDiscrete: "dpm_discrete", - DpmDiscreteAncestral: "dpm_discrete_ancestral", - Unipc: "unipc", - LmsDiscrete: "lms_discrete", - Heun: "heun", - Euler: "euler", - EulerAncestral: "euler_ancestral", - Pndm: "pndm", - Ddpm: "ddpm", - Ddim: "ddim", - Deis: "deis", -} as const; diff --git a/src/api/types/CompareText2ImgPageRequestSelectedModelsItem.ts b/src/api/types/CompareText2ImgPageRequestSelectedModelsItem.ts deleted file mode 100644 index dc5fe7a..0000000 --- a/src/api/types/CompareText2ImgPageRequestSelectedModelsItem.ts +++ /dev/null @@ -1,34 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type CompareText2ImgPageRequestSelectedModelsItem = - | "dream_shaper" - | "dreamlike_2" - | "sd_2" - | "sd_1_5" - | "dall_e" - | "dall_e_3" - | "openjourney_2" - | "openjourney" - | "analog_diffusion" - | "protogen_5_3" - | "jack_qiao" - | "rodent_diffusion_1_5" - | "deepfloyd_if"; - -export const CompareText2ImgPageRequestSelectedModelsItem = { - DreamShaper: "dream_shaper", - Dreamlike2: "dreamlike_2", - Sd2: "sd_2", - Sd15: "sd_1_5", - DallE: "dall_e", - DallE3: "dall_e_3", - Openjourney2: "openjourney_2", - Openjourney: "openjourney", - AnalogDiffusion: "analog_diffusion", - Protogen53: "protogen_5_3", - JackQiao: "jack_qiao", - RodentDiffusion15: "rodent_diffusion_1_5", - DeepfloydIf: "deepfloyd_if", -} as const; diff --git a/src/api/types/CompareUpscalerPageRequest.ts b/src/api/types/CompareUpscalerPageRequest.ts deleted file mode 100644 index 0102421..0000000 --- a/src/api/types/CompareUpscalerPageRequest.ts +++ /dev/null @@ -1,20 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as Gooey from "../index"; - -export interface CompareUpscalerPageRequest { - functions?: Gooey.RecipeFunction[]; - /** Variables to be used as Jinja prompt templates and in functions as arguments */ - variables?: Record; - /** Input Image */ - inputImage?: string; - /** Input Video */ - inputVideo?: string; - /** The final upsampling scale of the image */ - scale: number; - selectedModels?: Gooey.CompareUpscalerPageRequestSelectedModelsItem[]; - selectedBgModel?: "real_esrgan_x2"; - settings?: Gooey.RunSettings; -} diff --git a/src/api/types/CompareUpscalerPageRequestSelectedModelsItem.ts b/src/api/types/CompareUpscalerPageRequestSelectedModelsItem.ts deleted file mode 100644 index 719cdde..0000000 --- a/src/api/types/CompareUpscalerPageRequestSelectedModelsItem.ts +++ /dev/null @@ -1,18 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type CompareUpscalerPageRequestSelectedModelsItem = - | "gfpgan_1_4" - | "real_esrgan_x2" - | "sd_x4" - | "real_esrgan" - | "gfpgan"; - -export const CompareUpscalerPageRequestSelectedModelsItem = { - Gfpgan14: "gfpgan_1_4", - RealEsrganX2: "real_esrgan_x2", - SdX4: "sd_x4", - RealEsrgan: "real_esrgan", - Gfpgan: "gfpgan", -} as const; diff --git a/src/api/types/DeforumSdPageRequest.ts b/src/api/types/DeforumSdPageRequest.ts deleted file mode 100644 index 1be0f47..0000000 --- a/src/api/types/DeforumSdPageRequest.ts +++ /dev/null @@ -1,24 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as Gooey from "../index"; - -export interface DeforumSdPageRequest { - functions?: Gooey.RecipeFunction[]; - /** Variables to be used as Jinja prompt templates and in functions as arguments */ - variables?: Record; - animationPrompts: Gooey.AnimationPrompt[]; - maxFrames?: number; - selectedModel?: Gooey.DeforumSdPageRequestSelectedModel; - animationMode?: string; - zoom?: string; - translationX?: string; - translationY?: string; - rotation3DX?: string; - rotation3DY?: string; - rotation3DZ?: string; - fps?: number; - seed?: number; - settings?: Gooey.RunSettings; -} diff --git a/src/api/types/DeforumSdPageRequestSelectedModel.ts b/src/api/types/DeforumSdPageRequestSelectedModel.ts deleted file mode 100644 index 741bfe7..0000000 --- a/src/api/types/DeforumSdPageRequestSelectedModel.ts +++ /dev/null @@ -1,10 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type DeforumSdPageRequestSelectedModel = "protogen_2_2" | "epicdream"; - -export const DeforumSdPageRequestSelectedModel = { - Protogen22: "protogen_2_2", - Epicdream: "epicdream", -} as const; diff --git a/src/api/types/DocExtractPageRequest.ts b/src/api/types/DocExtractPageRequest.ts deleted file mode 100644 index 71d62f5..0000000 --- a/src/api/types/DocExtractPageRequest.ts +++ /dev/null @@ -1,29 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as Gooey from "../index"; - -export interface DocExtractPageRequest { - functions?: Gooey.RecipeFunction[]; - /** Variables to be used as Jinja prompt templates and in functions as arguments */ - variables?: Record; - documents: string[]; - sheetUrl?: string; - selectedAsrModel?: Gooey.DocExtractPageRequestSelectedAsrModel; - googleTranslateTarget?: string; - /** - * Provide a glossary to customize translation and improve accuracy of domain-specific terms. - * If not specified or invalid, no glossary will be used. Read about the expected format [here](https://docs.google.com/document/d/1TwzAvFmFYekloRKql2PXNPIyqCbsHRL8ZtnWkzAYrh8/edit?usp=sharing). - */ - glossaryDocument?: string; - taskInstructions?: string; - selectedModel?: Gooey.DocExtractPageRequestSelectedModel; - avoidRepetition?: boolean; - numOutputs?: number; - quality?: number; - maxTokens?: number; - samplingTemperature?: number; - responseFormatType?: Gooey.DocExtractPageRequestResponseFormatType; - settings?: Gooey.RunSettings; -} diff --git a/src/api/types/DocExtractPageRequestResponseFormatType.ts b/src/api/types/DocExtractPageRequestResponseFormatType.ts deleted file mode 100644 index c8a93ac..0000000 --- a/src/api/types/DocExtractPageRequestResponseFormatType.ts +++ /dev/null @@ -1,10 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type DocExtractPageRequestResponseFormatType = "text" | "json_object"; - -export const DocExtractPageRequestResponseFormatType = { - Text: "text", - JsonObject: "json_object", -} as const; diff --git a/src/api/types/DocExtractPageRequestSelectedAsrModel.ts b/src/api/types/DocExtractPageRequestSelectedAsrModel.ts deleted file mode 100644 index 2379b6b..0000000 --- a/src/api/types/DocExtractPageRequestSelectedAsrModel.ts +++ /dev/null @@ -1,36 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type DocExtractPageRequestSelectedAsrModel = - | "whisper_large_v2" - | "whisper_large_v3" - | "whisper_hindi_large_v2" - | "whisper_telugu_large_v2" - | "nemo_english" - | "nemo_hindi" - | "vakyansh_bhojpuri" - | "gcp_v1" - | "usm" - | "deepgram" - | "azure" - | "seamless_m4t_v2" - | "mms_1b_all" - | "seamless_m4t"; - -export const DocExtractPageRequestSelectedAsrModel = { - WhisperLargeV2: "whisper_large_v2", - WhisperLargeV3: "whisper_large_v3", - WhisperHindiLargeV2: "whisper_hindi_large_v2", - WhisperTeluguLargeV2: "whisper_telugu_large_v2", - NemoEnglish: "nemo_english", - NemoHindi: "nemo_hindi", - VakyanshBhojpuri: "vakyansh_bhojpuri", - GcpV1: "gcp_v1", - Usm: "usm", - Deepgram: "deepgram", - Azure: "azure", - SeamlessM4TV2: "seamless_m4t_v2", - Mms1BAll: "mms_1b_all", - SeamlessM4T: "seamless_m4t", -} as const; diff --git a/src/api/types/DocExtractPageRequestSelectedModel.ts b/src/api/types/DocExtractPageRequestSelectedModel.ts deleted file mode 100644 index 60ba7d0..0000000 --- a/src/api/types/DocExtractPageRequestSelectedModel.ts +++ /dev/null @@ -1,84 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type DocExtractPageRequestSelectedModel = - | "gpt_4_o" - | "gpt_4_o_mini" - | "chatgpt_4_o" - | "gpt_4_turbo_vision" - | "gpt_4_vision" - | "gpt_4_turbo" - | "gpt_4" - | "gpt_4_32k" - | "gpt_3_5_turbo" - | "gpt_3_5_turbo_16k" - | "gpt_3_5_turbo_instruct" - | "llama3_70b" - | "llama_3_groq_70b_tool_use" - | "llama3_8b" - | "llama_3_groq_8b_tool_use" - | "llama2_70b_chat" - | "mixtral_8x7b_instruct_0_1" - | "gemma_2_9b_it" - | "gemma_7b_it" - | "gemini_1_5_flash" - | "gemini_1_5_pro" - | "gemini_1_pro_vision" - | "gemini_1_pro" - | "palm2_chat" - | "palm2_text" - | "claude_3_5_sonnet" - | "claude_3_opus" - | "claude_3_sonnet" - | "claude_3_haiku" - | "sea_lion_7b_instruct" - | "llama3_8b_cpt_sea_lion_v2_instruct" - | "sarvam_2b" - | "text_davinci_003" - | "text_davinci_002" - | "code_davinci_002" - | "text_curie_001" - | "text_babbage_001" - | "text_ada_001"; - -export const DocExtractPageRequestSelectedModel = { - Gpt4O: "gpt_4_o", - Gpt4OMini: "gpt_4_o_mini", - Chatgpt4O: "chatgpt_4_o", - Gpt4TurboVision: "gpt_4_turbo_vision", - Gpt4Vision: "gpt_4_vision", - Gpt4Turbo: "gpt_4_turbo", - Gpt4: "gpt_4", - Gpt432K: "gpt_4_32k", - Gpt35Turbo: "gpt_3_5_turbo", - Gpt35Turbo16K: "gpt_3_5_turbo_16k", - Gpt35TurboInstruct: "gpt_3_5_turbo_instruct", - Llama370B: "llama3_70b", - Llama3Groq70BToolUse: "llama_3_groq_70b_tool_use", - Llama38B: "llama3_8b", - Llama3Groq8BToolUse: "llama_3_groq_8b_tool_use", - Llama270BChat: "llama2_70b_chat", - Mixtral8X7BInstruct01: "mixtral_8x7b_instruct_0_1", - Gemma29BIt: "gemma_2_9b_it", - Gemma7BIt: "gemma_7b_it", - Gemini15Flash: "gemini_1_5_flash", - Gemini15Pro: "gemini_1_5_pro", - Gemini1ProVision: "gemini_1_pro_vision", - Gemini1Pro: "gemini_1_pro", - Palm2Chat: "palm2_chat", - Palm2Text: "palm2_text", - Claude35Sonnet: "claude_3_5_sonnet", - Claude3Opus: "claude_3_opus", - Claude3Sonnet: "claude_3_sonnet", - Claude3Haiku: "claude_3_haiku", - SeaLion7BInstruct: "sea_lion_7b_instruct", - Llama38BCptSeaLionV2Instruct: "llama3_8b_cpt_sea_lion_v2_instruct", - Sarvam2B: "sarvam_2b", - TextDavinci003: "text_davinci_003", - TextDavinci002: "text_davinci_002", - CodeDavinci002: "code_davinci_002", - TextCurie001: "text_curie_001", - TextBabbage001: "text_babbage_001", - TextAda001: "text_ada_001", -} as const; diff --git a/src/api/types/DocSearchPageRequest.ts b/src/api/types/DocSearchPageRequest.ts deleted file mode 100644 index d397412..0000000 --- a/src/api/types/DocSearchPageRequest.ts +++ /dev/null @@ -1,35 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as Gooey from "../index"; - -export interface DocSearchPageRequest { - functions?: Gooey.RecipeFunction[]; - /** Variables to be used as Jinja prompt templates and in functions as arguments */ - variables?: Record; - searchQuery: string; - keywordQuery?: Gooey.DocSearchPageRequestKeywordQuery; - documents?: string[]; - maxReferences?: number; - maxContextWords?: number; - scrollJump?: number; - docExtractUrl?: string; - embeddingModel?: Gooey.DocSearchPageRequestEmbeddingModel; - /** - * Weightage for dense vs sparse embeddings. `0` for sparse, `1` for dense, `0.5` for equal weight. - * Generally speaking, dense embeddings excel at understanding the context of the query, whereas sparse vectors excel at keyword matches. - */ - denseWeight?: number; - taskInstructions?: string; - queryInstructions?: string; - selectedModel?: Gooey.DocSearchPageRequestSelectedModel; - citationStyle?: Gooey.DocSearchPageRequestCitationStyle; - avoidRepetition?: boolean; - numOutputs?: number; - quality?: number; - maxTokens?: number; - samplingTemperature?: number; - responseFormatType?: Gooey.DocSearchPageRequestResponseFormatType; - settings?: Gooey.RunSettings; -} diff --git a/src/api/types/DocSearchPageRequestCitationStyle.ts b/src/api/types/DocSearchPageRequestCitationStyle.ts deleted file mode 100644 index 50305e7..0000000 --- a/src/api/types/DocSearchPageRequestCitationStyle.ts +++ /dev/null @@ -1,40 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type DocSearchPageRequestCitationStyle = - | "number" - | "title" - | "url" - | "symbol" - | "markdown" - | "html" - | "slack_mrkdwn" - | "plaintext" - | "number_markdown" - | "number_html" - | "number_slack_mrkdwn" - | "number_plaintext" - | "symbol_markdown" - | "symbol_html" - | "symbol_slack_mrkdwn" - | "symbol_plaintext"; - -export const DocSearchPageRequestCitationStyle = { - Number: "number", - Title: "title", - Url: "url", - Symbol: "symbol", - Markdown: "markdown", - Html: "html", - SlackMrkdwn: "slack_mrkdwn", - Plaintext: "plaintext", - NumberMarkdown: "number_markdown", - NumberHtml: "number_html", - NumberSlackMrkdwn: "number_slack_mrkdwn", - NumberPlaintext: "number_plaintext", - SymbolMarkdown: "symbol_markdown", - SymbolHtml: "symbol_html", - SymbolSlackMrkdwn: "symbol_slack_mrkdwn", - SymbolPlaintext: "symbol_plaintext", -} as const; diff --git a/src/api/types/DocSearchPageRequestEmbeddingModel.ts b/src/api/types/DocSearchPageRequestEmbeddingModel.ts deleted file mode 100644 index 0313fbf..0000000 --- a/src/api/types/DocSearchPageRequestEmbeddingModel.ts +++ /dev/null @@ -1,26 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type DocSearchPageRequestEmbeddingModel = - | "openai_3_large" - | "openai_3_small" - | "openai_ada_2" - | "e5_large_v2" - | "e5_base_v2" - | "multilingual_e5_base" - | "multilingual_e5_large" - | "gte_large" - | "gte_base"; - -export const DocSearchPageRequestEmbeddingModel = { - Openai3Large: "openai_3_large", - Openai3Small: "openai_3_small", - OpenaiAda2: "openai_ada_2", - E5LargeV2: "e5_large_v2", - E5BaseV2: "e5_base_v2", - MultilingualE5Base: "multilingual_e5_base", - MultilingualE5Large: "multilingual_e5_large", - GteLarge: "gte_large", - GteBase: "gte_base", -} as const; diff --git a/src/api/types/DocSearchPageRequestKeywordQuery.ts b/src/api/types/DocSearchPageRequestKeywordQuery.ts deleted file mode 100644 index bd68c37..0000000 --- a/src/api/types/DocSearchPageRequestKeywordQuery.ts +++ /dev/null @@ -1,5 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type DocSearchPageRequestKeywordQuery = string | string[]; diff --git a/src/api/types/DocSearchPageRequestResponseFormatType.ts b/src/api/types/DocSearchPageRequestResponseFormatType.ts deleted file mode 100644 index b36205e..0000000 --- a/src/api/types/DocSearchPageRequestResponseFormatType.ts +++ /dev/null @@ -1,10 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type DocSearchPageRequestResponseFormatType = "text" | "json_object"; - -export const DocSearchPageRequestResponseFormatType = { - Text: "text", - JsonObject: "json_object", -} as const; diff --git a/src/api/types/DocSearchPageRequestSelectedModel.ts b/src/api/types/DocSearchPageRequestSelectedModel.ts deleted file mode 100644 index 30a5ec8..0000000 --- a/src/api/types/DocSearchPageRequestSelectedModel.ts +++ /dev/null @@ -1,84 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type DocSearchPageRequestSelectedModel = - | "gpt_4_o" - | "gpt_4_o_mini" - | "chatgpt_4_o" - | "gpt_4_turbo_vision" - | "gpt_4_vision" - | "gpt_4_turbo" - | "gpt_4" - | "gpt_4_32k" - | "gpt_3_5_turbo" - | "gpt_3_5_turbo_16k" - | "gpt_3_5_turbo_instruct" - | "llama3_70b" - | "llama_3_groq_70b_tool_use" - | "llama3_8b" - | "llama_3_groq_8b_tool_use" - | "llama2_70b_chat" - | "mixtral_8x7b_instruct_0_1" - | "gemma_2_9b_it" - | "gemma_7b_it" - | "gemini_1_5_flash" - | "gemini_1_5_pro" - | "gemini_1_pro_vision" - | "gemini_1_pro" - | "palm2_chat" - | "palm2_text" - | "claude_3_5_sonnet" - | "claude_3_opus" - | "claude_3_sonnet" - | "claude_3_haiku" - | "sea_lion_7b_instruct" - | "llama3_8b_cpt_sea_lion_v2_instruct" - | "sarvam_2b" - | "text_davinci_003" - | "text_davinci_002" - | "code_davinci_002" - | "text_curie_001" - | "text_babbage_001" - | "text_ada_001"; - -export const DocSearchPageRequestSelectedModel = { - Gpt4O: "gpt_4_o", - Gpt4OMini: "gpt_4_o_mini", - Chatgpt4O: "chatgpt_4_o", - Gpt4TurboVision: "gpt_4_turbo_vision", - Gpt4Vision: "gpt_4_vision", - Gpt4Turbo: "gpt_4_turbo", - Gpt4: "gpt_4", - Gpt432K: "gpt_4_32k", - Gpt35Turbo: "gpt_3_5_turbo", - Gpt35Turbo16K: "gpt_3_5_turbo_16k", - Gpt35TurboInstruct: "gpt_3_5_turbo_instruct", - Llama370B: "llama3_70b", - Llama3Groq70BToolUse: "llama_3_groq_70b_tool_use", - Llama38B: "llama3_8b", - Llama3Groq8BToolUse: "llama_3_groq_8b_tool_use", - Llama270BChat: "llama2_70b_chat", - Mixtral8X7BInstruct01: "mixtral_8x7b_instruct_0_1", - Gemma29BIt: "gemma_2_9b_it", - Gemma7BIt: "gemma_7b_it", - Gemini15Flash: "gemini_1_5_flash", - Gemini15Pro: "gemini_1_5_pro", - Gemini1ProVision: "gemini_1_pro_vision", - Gemini1Pro: "gemini_1_pro", - Palm2Chat: "palm2_chat", - Palm2Text: "palm2_text", - Claude35Sonnet: "claude_3_5_sonnet", - Claude3Opus: "claude_3_opus", - Claude3Sonnet: "claude_3_sonnet", - Claude3Haiku: "claude_3_haiku", - SeaLion7BInstruct: "sea_lion_7b_instruct", - Llama38BCptSeaLionV2Instruct: "llama3_8b_cpt_sea_lion_v2_instruct", - Sarvam2B: "sarvam_2b", - TextDavinci003: "text_davinci_003", - TextDavinci002: "text_davinci_002", - CodeDavinci002: "code_davinci_002", - TextCurie001: "text_curie_001", - TextBabbage001: "text_babbage_001", - TextAda001: "text_ada_001", -} as const; diff --git a/src/api/types/DocSummaryPageRequest.ts b/src/api/types/DocSummaryPageRequest.ts deleted file mode 100644 index 617f9a4..0000000 --- a/src/api/types/DocSummaryPageRequest.ts +++ /dev/null @@ -1,25 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as Gooey from "../index"; - -export interface DocSummaryPageRequest { - functions?: Gooey.RecipeFunction[]; - /** Variables to be used as Jinja prompt templates and in functions as arguments */ - variables?: Record; - documents: string[]; - taskInstructions?: string; - mergeInstructions?: string; - selectedModel?: Gooey.DocSummaryPageRequestSelectedModel; - chainType?: "map_reduce"; - selectedAsrModel?: Gooey.DocSummaryPageRequestSelectedAsrModel; - googleTranslateTarget?: string; - avoidRepetition?: boolean; - numOutputs?: number; - quality?: number; - maxTokens?: number; - samplingTemperature?: number; - responseFormatType?: Gooey.DocSummaryPageRequestResponseFormatType; - settings?: Gooey.RunSettings; -} diff --git a/src/api/types/DocSummaryPageRequestResponseFormatType.ts b/src/api/types/DocSummaryPageRequestResponseFormatType.ts deleted file mode 100644 index db82b26..0000000 --- a/src/api/types/DocSummaryPageRequestResponseFormatType.ts +++ /dev/null @@ -1,10 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type DocSummaryPageRequestResponseFormatType = "text" | "json_object"; - -export const DocSummaryPageRequestResponseFormatType = { - Text: "text", - JsonObject: "json_object", -} as const; diff --git a/src/api/types/DocSummaryPageRequestSelectedAsrModel.ts b/src/api/types/DocSummaryPageRequestSelectedAsrModel.ts deleted file mode 100644 index 63c33bd..0000000 --- a/src/api/types/DocSummaryPageRequestSelectedAsrModel.ts +++ /dev/null @@ -1,36 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type DocSummaryPageRequestSelectedAsrModel = - | "whisper_large_v2" - | "whisper_large_v3" - | "whisper_hindi_large_v2" - | "whisper_telugu_large_v2" - | "nemo_english" - | "nemo_hindi" - | "vakyansh_bhojpuri" - | "gcp_v1" - | "usm" - | "deepgram" - | "azure" - | "seamless_m4t_v2" - | "mms_1b_all" - | "seamless_m4t"; - -export const DocSummaryPageRequestSelectedAsrModel = { - WhisperLargeV2: "whisper_large_v2", - WhisperLargeV3: "whisper_large_v3", - WhisperHindiLargeV2: "whisper_hindi_large_v2", - WhisperTeluguLargeV2: "whisper_telugu_large_v2", - NemoEnglish: "nemo_english", - NemoHindi: "nemo_hindi", - VakyanshBhojpuri: "vakyansh_bhojpuri", - GcpV1: "gcp_v1", - Usm: "usm", - Deepgram: "deepgram", - Azure: "azure", - SeamlessM4TV2: "seamless_m4t_v2", - Mms1BAll: "mms_1b_all", - SeamlessM4T: "seamless_m4t", -} as const; diff --git a/src/api/types/DocSummaryPageRequestSelectedModel.ts b/src/api/types/DocSummaryPageRequestSelectedModel.ts deleted file mode 100644 index 6e6b928..0000000 --- a/src/api/types/DocSummaryPageRequestSelectedModel.ts +++ /dev/null @@ -1,84 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type DocSummaryPageRequestSelectedModel = - | "gpt_4_o" - | "gpt_4_o_mini" - | "chatgpt_4_o" - | "gpt_4_turbo_vision" - | "gpt_4_vision" - | "gpt_4_turbo" - | "gpt_4" - | "gpt_4_32k" - | "gpt_3_5_turbo" - | "gpt_3_5_turbo_16k" - | "gpt_3_5_turbo_instruct" - | "llama3_70b" - | "llama_3_groq_70b_tool_use" - | "llama3_8b" - | "llama_3_groq_8b_tool_use" - | "llama2_70b_chat" - | "mixtral_8x7b_instruct_0_1" - | "gemma_2_9b_it" - | "gemma_7b_it" - | "gemini_1_5_flash" - | "gemini_1_5_pro" - | "gemini_1_pro_vision" - | "gemini_1_pro" - | "palm2_chat" - | "palm2_text" - | "claude_3_5_sonnet" - | "claude_3_opus" - | "claude_3_sonnet" - | "claude_3_haiku" - | "sea_lion_7b_instruct" - | "llama3_8b_cpt_sea_lion_v2_instruct" - | "sarvam_2b" - | "text_davinci_003" - | "text_davinci_002" - | "code_davinci_002" - | "text_curie_001" - | "text_babbage_001" - | "text_ada_001"; - -export const DocSummaryPageRequestSelectedModel = { - Gpt4O: "gpt_4_o", - Gpt4OMini: "gpt_4_o_mini", - Chatgpt4O: "chatgpt_4_o", - Gpt4TurboVision: "gpt_4_turbo_vision", - Gpt4Vision: "gpt_4_vision", - Gpt4Turbo: "gpt_4_turbo", - Gpt4: "gpt_4", - Gpt432K: "gpt_4_32k", - Gpt35Turbo: "gpt_3_5_turbo", - Gpt35Turbo16K: "gpt_3_5_turbo_16k", - Gpt35TurboInstruct: "gpt_3_5_turbo_instruct", - Llama370B: "llama3_70b", - Llama3Groq70BToolUse: "llama_3_groq_70b_tool_use", - Llama38B: "llama3_8b", - Llama3Groq8BToolUse: "llama_3_groq_8b_tool_use", - Llama270BChat: "llama2_70b_chat", - Mixtral8X7BInstruct01: "mixtral_8x7b_instruct_0_1", - Gemma29BIt: "gemma_2_9b_it", - Gemma7BIt: "gemma_7b_it", - Gemini15Flash: "gemini_1_5_flash", - Gemini15Pro: "gemini_1_5_pro", - Gemini1ProVision: "gemini_1_pro_vision", - Gemini1Pro: "gemini_1_pro", - Palm2Chat: "palm2_chat", - Palm2Text: "palm2_text", - Claude35Sonnet: "claude_3_5_sonnet", - Claude3Opus: "claude_3_opus", - Claude3Sonnet: "claude_3_sonnet", - Claude3Haiku: "claude_3_haiku", - SeaLion7BInstruct: "sea_lion_7b_instruct", - Llama38BCptSeaLionV2Instruct: "llama3_8b_cpt_sea_lion_v2_instruct", - Sarvam2B: "sarvam_2b", - TextDavinci003: "text_davinci_003", - TextDavinci002: "text_davinci_002", - CodeDavinci002: "code_davinci_002", - TextCurie001: "text_curie_001", - TextBabbage001: "text_babbage_001", - TextAda001: "text_ada_001", -} as const; diff --git a/src/api/types/EmailFaceInpaintingPageRequest.ts b/src/api/types/EmailFaceInpaintingPageRequest.ts deleted file mode 100644 index d2ddc9c..0000000 --- a/src/api/types/EmailFaceInpaintingPageRequest.ts +++ /dev/null @@ -1,35 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as Gooey from "../index"; - -export interface EmailFaceInpaintingPageRequest { - functions?: Gooey.RecipeFunction[]; - /** Variables to be used as Jinja prompt templates and in functions as arguments */ - variables?: Record; - emailAddress?: string; - twitterHandle?: string; - textPrompt: string; - faceScale?: number; - facePosX?: number; - facePosY?: number; - selectedModel?: Gooey.EmailFaceInpaintingPageRequestSelectedModel; - negativePrompt?: string; - numOutputs?: number; - quality?: number; - upscaleFactor?: number; - outputWidth?: number; - outputHeight?: number; - guidanceScale?: number; - shouldSendEmail?: boolean; - emailFrom?: string; - emailCc?: string; - emailBcc?: string; - emailSubject?: string; - emailBody?: string; - emailBodyEnableHtml?: boolean; - fallbackEmailBody?: string; - seed?: number; - settings?: Gooey.RunSettings; -} diff --git a/src/api/types/EmailFaceInpaintingPageRequestSelectedModel.ts b/src/api/types/EmailFaceInpaintingPageRequestSelectedModel.ts deleted file mode 100644 index 19cc6b3..0000000 --- a/src/api/types/EmailFaceInpaintingPageRequestSelectedModel.ts +++ /dev/null @@ -1,12 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type EmailFaceInpaintingPageRequestSelectedModel = "sd_2" | "runway_ml" | "dall_e" | "jack_qiao"; - -export const EmailFaceInpaintingPageRequestSelectedModel = { - Sd2: "sd_2", - RunwayMl: "runway_ml", - DallE: "dall_e", - JackQiao: "jack_qiao", -} as const; diff --git a/src/api/types/EmbeddingsPageRequest.ts b/src/api/types/EmbeddingsPageRequest.ts deleted file mode 100644 index 4614380..0000000 --- a/src/api/types/EmbeddingsPageRequest.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as Gooey from "../index"; - -export interface EmbeddingsPageRequest { - functions?: Gooey.RecipeFunction[]; - /** Variables to be used as Jinja prompt templates and in functions as arguments */ - variables?: Record; - texts: string[]; - selectedModel?: Gooey.EmbeddingsPageRequestSelectedModel; - settings?: Gooey.RunSettings; -} diff --git a/src/api/types/EmbeddingsPageRequestSelectedModel.ts b/src/api/types/EmbeddingsPageRequestSelectedModel.ts deleted file mode 100644 index 87071e1..0000000 --- a/src/api/types/EmbeddingsPageRequestSelectedModel.ts +++ /dev/null @@ -1,26 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type EmbeddingsPageRequestSelectedModel = - | "openai_3_large" - | "openai_3_small" - | "openai_ada_2" - | "e5_large_v2" - | "e5_base_v2" - | "multilingual_e5_base" - | "multilingual_e5_large" - | "gte_large" - | "gte_base"; - -export const EmbeddingsPageRequestSelectedModel = { - Openai3Large: "openai_3_large", - Openai3Small: "openai_3_small", - OpenaiAda2: "openai_ada_2", - E5LargeV2: "e5_large_v2", - E5BaseV2: "e5_base_v2", - MultilingualE5Base: "multilingual_e5_base", - MultilingualE5Large: "multilingual_e5_large", - GteLarge: "gte_large", - GteBase: "gte_base", -} as const; diff --git a/src/api/types/EvalPrompt.ts b/src/api/types/EvalPrompt.ts deleted file mode 100644 index 9255dfe..0000000 --- a/src/api/types/EvalPrompt.ts +++ /dev/null @@ -1,8 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export interface EvalPrompt { - name: string; - prompt: string; -} diff --git a/src/api/types/FaceInpaintingPageRequest.ts b/src/api/types/FaceInpaintingPageRequest.ts deleted file mode 100644 index 85aad75..0000000 --- a/src/api/types/FaceInpaintingPageRequest.ts +++ /dev/null @@ -1,26 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as Gooey from "../index"; - -export interface FaceInpaintingPageRequest { - functions?: Gooey.RecipeFunction[]; - /** Variables to be used as Jinja prompt templates and in functions as arguments */ - variables?: Record; - inputImage: string; - textPrompt: string; - faceScale?: number; - facePosX?: number; - facePosY?: number; - selectedModel?: Gooey.FaceInpaintingPageRequestSelectedModel; - negativePrompt?: string; - numOutputs?: number; - quality?: number; - upscaleFactor?: number; - outputWidth?: number; - outputHeight?: number; - guidanceScale?: number; - seed?: number; - settings?: Gooey.RunSettings; -} diff --git a/src/api/types/FaceInpaintingPageRequestSelectedModel.ts b/src/api/types/FaceInpaintingPageRequestSelectedModel.ts deleted file mode 100644 index a022194..0000000 --- a/src/api/types/FaceInpaintingPageRequestSelectedModel.ts +++ /dev/null @@ -1,12 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type FaceInpaintingPageRequestSelectedModel = "sd_2" | "runway_ml" | "dall_e" | "jack_qiao"; - -export const FaceInpaintingPageRequestSelectedModel = { - Sd2: "sd_2", - RunwayMl: "runway_ml", - DallE: "dall_e", - JackQiao: "jack_qiao", -} as const; diff --git a/src/api/types/FunctionsPageRequest.ts b/src/api/types/FunctionsPageRequest.ts deleted file mode 100644 index 5fa2515..0000000 --- a/src/api/types/FunctionsPageRequest.ts +++ /dev/null @@ -1,13 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as Gooey from "../index"; - -export interface FunctionsPageRequest { - /** The JS code to be executed. */ - code?: string; - /** Variables to be used in the code */ - variables?: Record; - settings?: Gooey.RunSettings; -} diff --git a/src/api/types/GoogleGptPageRequest.ts b/src/api/types/GoogleGptPageRequest.ts deleted file mode 100644 index 34cc55e..0000000 --- a/src/api/types/GoogleGptPageRequest.ts +++ /dev/null @@ -1,39 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as Gooey from "../index"; - -export interface GoogleGptPageRequest { - functions?: Gooey.RecipeFunction[]; - /** Variables to be used as Jinja prompt templates and in functions as arguments */ - variables?: Record; - searchQuery: string; - siteFilter: string; - taskInstructions?: string; - queryInstructions?: string; - selectedModel?: Gooey.GoogleGptPageRequestSelectedModel; - maxSearchUrls?: number; - maxReferences?: number; - maxContextWords?: number; - scrollJump?: number; - embeddingModel?: Gooey.GoogleGptPageRequestEmbeddingModel; - /** - * Weightage for dense vs sparse embeddings. `0` for sparse, `1` for dense, `0.5` for equal weight. - * Generally speaking, dense embeddings excel at understanding the context of the query, whereas sparse vectors excel at keyword matches. - */ - denseWeight?: number; - avoidRepetition?: boolean; - numOutputs?: number; - quality?: number; - maxTokens?: number; - samplingTemperature?: number; - responseFormatType?: Gooey.GoogleGptPageRequestResponseFormatType; - serpSearchLocation?: Gooey.SerpSearchLocation; - /** DEPRECATED: use `serp_search_location` instead */ - scaleserpLocations?: string[]; - serpSearchType?: Gooey.SerpSearchType; - /** DEPRECATED: use `serp_search_type` instead */ - scaleserpSearchField?: string; - settings?: Gooey.RunSettings; -} diff --git a/src/api/types/GoogleGptPageRequestEmbeddingModel.ts b/src/api/types/GoogleGptPageRequestEmbeddingModel.ts deleted file mode 100644 index 04e3da0..0000000 --- a/src/api/types/GoogleGptPageRequestEmbeddingModel.ts +++ /dev/null @@ -1,26 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type GoogleGptPageRequestEmbeddingModel = - | "openai_3_large" - | "openai_3_small" - | "openai_ada_2" - | "e5_large_v2" - | "e5_base_v2" - | "multilingual_e5_base" - | "multilingual_e5_large" - | "gte_large" - | "gte_base"; - -export const GoogleGptPageRequestEmbeddingModel = { - Openai3Large: "openai_3_large", - Openai3Small: "openai_3_small", - OpenaiAda2: "openai_ada_2", - E5LargeV2: "e5_large_v2", - E5BaseV2: "e5_base_v2", - MultilingualE5Base: "multilingual_e5_base", - MultilingualE5Large: "multilingual_e5_large", - GteLarge: "gte_large", - GteBase: "gte_base", -} as const; diff --git a/src/api/types/GoogleGptPageRequestResponseFormatType.ts b/src/api/types/GoogleGptPageRequestResponseFormatType.ts deleted file mode 100644 index d9c400b..0000000 --- a/src/api/types/GoogleGptPageRequestResponseFormatType.ts +++ /dev/null @@ -1,10 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type GoogleGptPageRequestResponseFormatType = "text" | "json_object"; - -export const GoogleGptPageRequestResponseFormatType = { - Text: "text", - JsonObject: "json_object", -} as const; diff --git a/src/api/types/GoogleGptPageRequestSelectedModel.ts b/src/api/types/GoogleGptPageRequestSelectedModel.ts deleted file mode 100644 index 70faa22..0000000 --- a/src/api/types/GoogleGptPageRequestSelectedModel.ts +++ /dev/null @@ -1,84 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type GoogleGptPageRequestSelectedModel = - | "gpt_4_o" - | "gpt_4_o_mini" - | "chatgpt_4_o" - | "gpt_4_turbo_vision" - | "gpt_4_vision" - | "gpt_4_turbo" - | "gpt_4" - | "gpt_4_32k" - | "gpt_3_5_turbo" - | "gpt_3_5_turbo_16k" - | "gpt_3_5_turbo_instruct" - | "llama3_70b" - | "llama_3_groq_70b_tool_use" - | "llama3_8b" - | "llama_3_groq_8b_tool_use" - | "llama2_70b_chat" - | "mixtral_8x7b_instruct_0_1" - | "gemma_2_9b_it" - | "gemma_7b_it" - | "gemini_1_5_flash" - | "gemini_1_5_pro" - | "gemini_1_pro_vision" - | "gemini_1_pro" - | "palm2_chat" - | "palm2_text" - | "claude_3_5_sonnet" - | "claude_3_opus" - | "claude_3_sonnet" - | "claude_3_haiku" - | "sea_lion_7b_instruct" - | "llama3_8b_cpt_sea_lion_v2_instruct" - | "sarvam_2b" - | "text_davinci_003" - | "text_davinci_002" - | "code_davinci_002" - | "text_curie_001" - | "text_babbage_001" - | "text_ada_001"; - -export const GoogleGptPageRequestSelectedModel = { - Gpt4O: "gpt_4_o", - Gpt4OMini: "gpt_4_o_mini", - Chatgpt4O: "chatgpt_4_o", - Gpt4TurboVision: "gpt_4_turbo_vision", - Gpt4Vision: "gpt_4_vision", - Gpt4Turbo: "gpt_4_turbo", - Gpt4: "gpt_4", - Gpt432K: "gpt_4_32k", - Gpt35Turbo: "gpt_3_5_turbo", - Gpt35Turbo16K: "gpt_3_5_turbo_16k", - Gpt35TurboInstruct: "gpt_3_5_turbo_instruct", - Llama370B: "llama3_70b", - Llama3Groq70BToolUse: "llama_3_groq_70b_tool_use", - Llama38B: "llama3_8b", - Llama3Groq8BToolUse: "llama_3_groq_8b_tool_use", - Llama270BChat: "llama2_70b_chat", - Mixtral8X7BInstruct01: "mixtral_8x7b_instruct_0_1", - Gemma29BIt: "gemma_2_9b_it", - Gemma7BIt: "gemma_7b_it", - Gemini15Flash: "gemini_1_5_flash", - Gemini15Pro: "gemini_1_5_pro", - Gemini1ProVision: "gemini_1_pro_vision", - Gemini1Pro: "gemini_1_pro", - Palm2Chat: "palm2_chat", - Palm2Text: "palm2_text", - Claude35Sonnet: "claude_3_5_sonnet", - Claude3Opus: "claude_3_opus", - Claude3Sonnet: "claude_3_sonnet", - Claude3Haiku: "claude_3_haiku", - SeaLion7BInstruct: "sea_lion_7b_instruct", - Llama38BCptSeaLionV2Instruct: "llama3_8b_cpt_sea_lion_v2_instruct", - Sarvam2B: "sarvam_2b", - TextDavinci003: "text_davinci_003", - TextDavinci002: "text_davinci_002", - CodeDavinci002: "code_davinci_002", - TextCurie001: "text_curie_001", - TextBabbage001: "text_babbage_001", - TextAda001: "text_ada_001", -} as const; diff --git a/src/api/types/GoogleImageGenPageRequest.ts b/src/api/types/GoogleImageGenPageRequest.ts deleted file mode 100644 index 4b027e3..0000000 --- a/src/api/types/GoogleImageGenPageRequest.ts +++ /dev/null @@ -1,26 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as Gooey from "../index"; - -export interface GoogleImageGenPageRequest { - functions?: Gooey.RecipeFunction[]; - /** Variables to be used as Jinja prompt templates and in functions as arguments */ - variables?: Record; - serpSearchLocation?: Gooey.SerpSearchLocation; - /** DEPRECATED: use `serp_search_location` instead */ - scaleserpLocations?: string[]; - searchQuery: string; - textPrompt: string; - selectedModel?: Gooey.GoogleImageGenPageRequestSelectedModel; - negativePrompt?: string; - numOutputs?: number; - quality?: number; - guidanceScale?: number; - promptStrength?: number; - sd2Upscaling?: boolean; - seed?: number; - imageGuidanceScale?: number; - settings?: Gooey.RunSettings; -} diff --git a/src/api/types/GoogleImageGenPageRequestSelectedModel.ts b/src/api/types/GoogleImageGenPageRequestSelectedModel.ts deleted file mode 100644 index 9dc44ff..0000000 --- a/src/api/types/GoogleImageGenPageRequestSelectedModel.ts +++ /dev/null @@ -1,32 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type GoogleImageGenPageRequestSelectedModel = - | "dream_shaper" - | "dreamlike_2" - | "sd_2" - | "sd_1_5" - | "dall_e" - | "instruct_pix2pix" - | "openjourney_2" - | "openjourney" - | "analog_diffusion" - | "protogen_5_3" - | "jack_qiao" - | "rodent_diffusion_1_5"; - -export const GoogleImageGenPageRequestSelectedModel = { - DreamShaper: "dream_shaper", - Dreamlike2: "dreamlike_2", - Sd2: "sd_2", - Sd15: "sd_1_5", - DallE: "dall_e", - InstructPix2Pix: "instruct_pix2pix", - Openjourney2: "openjourney_2", - Openjourney: "openjourney", - AnalogDiffusion: "analog_diffusion", - Protogen53: "protogen_5_3", - JackQiao: "jack_qiao", - RodentDiffusion15: "rodent_diffusion_1_5", -} as const; diff --git a/src/api/types/ImageSegmentationPageRequest.ts b/src/api/types/ImageSegmentationPageRequest.ts deleted file mode 100644 index 546b8d5..0000000 --- a/src/api/types/ImageSegmentationPageRequest.ts +++ /dev/null @@ -1,20 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as Gooey from "../index"; - -export interface ImageSegmentationPageRequest { - functions?: Gooey.RecipeFunction[]; - /** Variables to be used as Jinja prompt templates and in functions as arguments */ - variables?: Record; - inputImage: string; - selectedModel?: Gooey.ImageSegmentationPageRequestSelectedModel; - maskThreshold?: number; - rectPersepectiveTransform?: boolean; - reflectionOpacity?: number; - objScale?: number; - objPosX?: number; - objPosY?: number; - settings?: Gooey.RunSettings; -} diff --git a/src/api/types/ImageSegmentationPageRequestSelectedModel.ts b/src/api/types/ImageSegmentationPageRequestSelectedModel.ts deleted file mode 100644 index 34d3972..0000000 --- a/src/api/types/ImageSegmentationPageRequestSelectedModel.ts +++ /dev/null @@ -1,10 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type ImageSegmentationPageRequestSelectedModel = "dis" | "u2net"; - -export const ImageSegmentationPageRequestSelectedModel = { - Dis: "dis", - U2Net: "u2net", -} as const; diff --git a/src/api/types/Img2ImgPageRequest.ts b/src/api/types/Img2ImgPageRequest.ts deleted file mode 100644 index 252bc47..0000000 --- a/src/api/types/Img2ImgPageRequest.ts +++ /dev/null @@ -1,26 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as Gooey from "../index"; - -export interface Img2ImgPageRequest { - functions?: Gooey.RecipeFunction[]; - /** Variables to be used as Jinja prompt templates and in functions as arguments */ - variables?: Record; - inputImage: string; - textPrompt?: string; - selectedModel?: Gooey.Img2ImgPageRequestSelectedModel; - selectedControlnetModel?: Gooey.Img2ImgPageRequestSelectedControlnetModel; - negativePrompt?: string; - numOutputs?: number; - quality?: number; - outputWidth?: number; - outputHeight?: number; - guidanceScale?: number; - promptStrength?: number; - controlnetConditioningScale?: number[]; - seed?: number; - imageGuidanceScale?: number; - settings?: Gooey.RunSettings; -} diff --git a/src/api/types/Img2ImgPageRequestSelectedControlnetModel.ts b/src/api/types/Img2ImgPageRequestSelectedControlnetModel.ts deleted file mode 100644 index 69dd726..0000000 --- a/src/api/types/Img2ImgPageRequestSelectedControlnetModel.ts +++ /dev/null @@ -1,19 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as Gooey from "../index"; - -export type Img2ImgPageRequestSelectedControlnetModel = - | Gooey.Img2ImgPageRequestSelectedControlnetModelItem[] - | "sd_controlnet_canny" - | "sd_controlnet_depth" - | "sd_controlnet_hed" - | "sd_controlnet_mlsd" - | "sd_controlnet_normal" - | "sd_controlnet_openpose" - | "sd_controlnet_scribble" - | "sd_controlnet_seg" - | "sd_controlnet_tile" - | "sd_controlnet_brightness" - | "control_v1p_sd15_qrcode_monster_v2"; diff --git a/src/api/types/Img2ImgPageRequestSelectedControlnetModelItem.ts b/src/api/types/Img2ImgPageRequestSelectedControlnetModelItem.ts deleted file mode 100644 index af039e4..0000000 --- a/src/api/types/Img2ImgPageRequestSelectedControlnetModelItem.ts +++ /dev/null @@ -1,30 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type Img2ImgPageRequestSelectedControlnetModelItem = - | "sd_controlnet_canny" - | "sd_controlnet_depth" - | "sd_controlnet_hed" - | "sd_controlnet_mlsd" - | "sd_controlnet_normal" - | "sd_controlnet_openpose" - | "sd_controlnet_scribble" - | "sd_controlnet_seg" - | "sd_controlnet_tile" - | "sd_controlnet_brightness" - | "control_v1p_sd15_qrcode_monster_v2"; - -export const Img2ImgPageRequestSelectedControlnetModelItem = { - SdControlnetCanny: "sd_controlnet_canny", - SdControlnetDepth: "sd_controlnet_depth", - SdControlnetHed: "sd_controlnet_hed", - SdControlnetMlsd: "sd_controlnet_mlsd", - SdControlnetNormal: "sd_controlnet_normal", - SdControlnetOpenpose: "sd_controlnet_openpose", - SdControlnetScribble: "sd_controlnet_scribble", - SdControlnetSeg: "sd_controlnet_seg", - SdControlnetTile: "sd_controlnet_tile", - SdControlnetBrightness: "sd_controlnet_brightness", - ControlV1PSd15QrcodeMonsterV2: "control_v1p_sd15_qrcode_monster_v2", -} as const; diff --git a/src/api/types/Img2ImgPageRequestSelectedModel.ts b/src/api/types/Img2ImgPageRequestSelectedModel.ts deleted file mode 100644 index 822e9bc..0000000 --- a/src/api/types/Img2ImgPageRequestSelectedModel.ts +++ /dev/null @@ -1,32 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type Img2ImgPageRequestSelectedModel = - | "dream_shaper" - | "dreamlike_2" - | "sd_2" - | "sd_1_5" - | "dall_e" - | "instruct_pix2pix" - | "openjourney_2" - | "openjourney" - | "analog_diffusion" - | "protogen_5_3" - | "jack_qiao" - | "rodent_diffusion_1_5"; - -export const Img2ImgPageRequestSelectedModel = { - DreamShaper: "dream_shaper", - Dreamlike2: "dreamlike_2", - Sd2: "sd_2", - Sd15: "sd_1_5", - DallE: "dall_e", - InstructPix2Pix: "instruct_pix2pix", - Openjourney2: "openjourney_2", - Openjourney: "openjourney", - AnalogDiffusion: "analog_diffusion", - Protogen53: "protogen_5_3", - JackQiao: "jack_qiao", - RodentDiffusion15: "rodent_diffusion_1_5", -} as const; diff --git a/src/api/types/LetterWriterPageRequest.ts b/src/api/types/LetterWriterPageRequest.ts deleted file mode 100644 index bd1c8a9..0000000 --- a/src/api/types/LetterWriterPageRequest.ts +++ /dev/null @@ -1,26 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as Gooey from "../index"; - -export interface LetterWriterPageRequest { - functions?: Gooey.RecipeFunction[]; - /** Variables to be used as Jinja prompt templates and in functions as arguments */ - variables?: Record; - actionId: string; - promptHeader?: string; - exampleLetters?: Gooey.TrainingDataModel[]; - lmSelectedApi?: string; - lmSelectedEngine?: string; - numOutputs?: number; - quality?: number; - lmSamplingTemperature?: number; - apiHttpMethod?: string; - apiUrl?: string; - apiHeaders?: string; - apiJsonBody?: string; - inputPrompt?: string; - stripHtml2Text?: boolean; - settings?: Gooey.RunSettings; -} diff --git a/src/api/types/LipsyncPageRequest.ts b/src/api/types/LipsyncPageRequest.ts deleted file mode 100644 index 8000477..0000000 --- a/src/api/types/LipsyncPageRequest.ts +++ /dev/null @@ -1,20 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as Gooey from "../index"; - -export interface LipsyncPageRequest { - functions?: Gooey.RecipeFunction[]; - /** Variables to be used as Jinja prompt templates and in functions as arguments */ - variables?: Record; - inputFace?: string; - facePaddingTop?: number; - facePaddingBottom?: number; - facePaddingLeft?: number; - facePaddingRight?: number; - sadtalkerSettings?: Gooey.SadTalkerSettings; - selectedModel?: Gooey.LipsyncPageRequestSelectedModel; - inputAudio?: string; - settings?: Gooey.RunSettings; -} diff --git a/src/api/types/LipsyncPageRequestSelectedModel.ts b/src/api/types/LipsyncPageRequestSelectedModel.ts deleted file mode 100644 index 9351bcb..0000000 --- a/src/api/types/LipsyncPageRequestSelectedModel.ts +++ /dev/null @@ -1,10 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type LipsyncPageRequestSelectedModel = "Wav2Lip" | "SadTalker"; - -export const LipsyncPageRequestSelectedModel = { - Wav2Lip: "Wav2Lip", - SadTalker: "SadTalker", -} as const; diff --git a/src/api/types/LipsyncTtsPageRequest.ts b/src/api/types/LipsyncTtsPageRequest.ts deleted file mode 100644 index a0b93f4..0000000 --- a/src/api/types/LipsyncTtsPageRequest.ts +++ /dev/null @@ -1,39 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as Gooey from "../index"; - -export interface LipsyncTtsPageRequest { - functions?: Gooey.RecipeFunction[]; - /** Variables to be used as Jinja prompt templates and in functions as arguments */ - variables?: Record; - textPrompt: string; - ttsProvider?: Gooey.LipsyncTtsPageRequestTtsProvider; - uberduckVoiceName?: string; - uberduckSpeakingRate?: number; - googleVoiceName?: string; - googleSpeakingRate?: number; - googlePitch?: number; - barkHistoryPrompt?: string; - /** Use `elevenlabs_voice_id` instead */ - elevenlabsVoiceName?: string; - elevenlabsApiKey?: string; - elevenlabsVoiceId?: string; - elevenlabsModel?: string; - elevenlabsStability?: number; - elevenlabsSimilarityBoost?: number; - elevenlabsStyle?: number; - elevenlabsSpeakerBoost?: boolean; - azureVoiceName?: string; - openaiVoiceName?: Gooey.LipsyncTtsPageRequestOpenaiVoiceName; - openaiTtsModel?: Gooey.LipsyncTtsPageRequestOpenaiTtsModel; - inputFace?: string; - facePaddingTop?: number; - facePaddingBottom?: number; - facePaddingLeft?: number; - facePaddingRight?: number; - sadtalkerSettings?: Gooey.SadTalkerSettings; - selectedModel?: Gooey.LipsyncTtsPageRequestSelectedModel; - settings?: Gooey.RunSettings; -} diff --git a/src/api/types/LipsyncTtsPageRequestOpenaiTtsModel.ts b/src/api/types/LipsyncTtsPageRequestOpenaiTtsModel.ts deleted file mode 100644 index 71f7dce..0000000 --- a/src/api/types/LipsyncTtsPageRequestOpenaiTtsModel.ts +++ /dev/null @@ -1,10 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type LipsyncTtsPageRequestOpenaiTtsModel = "tts_1" | "tts_1_hd"; - -export const LipsyncTtsPageRequestOpenaiTtsModel = { - Tts1: "tts_1", - Tts1Hd: "tts_1_hd", -} as const; diff --git a/src/api/types/LipsyncTtsPageRequestOpenaiVoiceName.ts b/src/api/types/LipsyncTtsPageRequestOpenaiVoiceName.ts deleted file mode 100644 index 7f5899b..0000000 --- a/src/api/types/LipsyncTtsPageRequestOpenaiVoiceName.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type LipsyncTtsPageRequestOpenaiVoiceName = "alloy" | "echo" | "fable" | "onyx" | "nova" | "shimmer"; - -export const LipsyncTtsPageRequestOpenaiVoiceName = { - Alloy: "alloy", - Echo: "echo", - Fable: "fable", - Onyx: "onyx", - Nova: "nova", - Shimmer: "shimmer", -} as const; diff --git a/src/api/types/LipsyncTtsPageRequestSelectedModel.ts b/src/api/types/LipsyncTtsPageRequestSelectedModel.ts deleted file mode 100644 index 2c15926..0000000 --- a/src/api/types/LipsyncTtsPageRequestSelectedModel.ts +++ /dev/null @@ -1,10 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type LipsyncTtsPageRequestSelectedModel = "Wav2Lip" | "SadTalker"; - -export const LipsyncTtsPageRequestSelectedModel = { - Wav2Lip: "Wav2Lip", - SadTalker: "SadTalker", -} as const; diff --git a/src/api/types/LipsyncTtsPageRequestTtsProvider.ts b/src/api/types/LipsyncTtsPageRequestTtsProvider.ts deleted file mode 100644 index f558fae..0000000 --- a/src/api/types/LipsyncTtsPageRequestTtsProvider.ts +++ /dev/null @@ -1,20 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type LipsyncTtsPageRequestTtsProvider = - | "GOOGLE_TTS" - | "ELEVEN_LABS" - | "UBERDUCK" - | "BARK" - | "AZURE_TTS" - | "OPEN_AI"; - -export const LipsyncTtsPageRequestTtsProvider = { - GoogleTts: "GOOGLE_TTS", - ElevenLabs: "ELEVEN_LABS", - Uberduck: "UBERDUCK", - Bark: "BARK", - AzureTts: "AZURE_TTS", - OpenAi: "OPEN_AI", -} as const; diff --git a/src/api/types/ObjectInpaintingPageRequest.ts b/src/api/types/ObjectInpaintingPageRequest.ts deleted file mode 100644 index dfd8a58..0000000 --- a/src/api/types/ObjectInpaintingPageRequest.ts +++ /dev/null @@ -1,27 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as Gooey from "../index"; - -export interface ObjectInpaintingPageRequest { - functions?: Gooey.RecipeFunction[]; - /** Variables to be used as Jinja prompt templates and in functions as arguments */ - variables?: Record; - inputImage: string; - textPrompt: string; - objScale?: number; - objPosX?: number; - objPosY?: number; - maskThreshold?: number; - selectedModel?: Gooey.ObjectInpaintingPageRequestSelectedModel; - negativePrompt?: string; - numOutputs?: number; - quality?: number; - outputWidth?: number; - outputHeight?: number; - guidanceScale?: number; - sd2Upscaling?: boolean; - seed?: number; - settings?: Gooey.RunSettings; -} diff --git a/src/api/types/ObjectInpaintingPageRequestSelectedModel.ts b/src/api/types/ObjectInpaintingPageRequestSelectedModel.ts deleted file mode 100644 index 430601a..0000000 --- a/src/api/types/ObjectInpaintingPageRequestSelectedModel.ts +++ /dev/null @@ -1,12 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type ObjectInpaintingPageRequestSelectedModel = "sd_2" | "runway_ml" | "dall_e" | "jack_qiao"; - -export const ObjectInpaintingPageRequestSelectedModel = { - Sd2: "sd_2", - RunwayMl: "runway_ml", - DallE: "dall_e", - JackQiao: "jack_qiao", -} as const; diff --git a/src/api/types/QrCodeGeneratorPageRequest.ts b/src/api/types/QrCodeGeneratorPageRequest.ts deleted file mode 100644 index 4e8bb10..0000000 --- a/src/api/types/QrCodeGeneratorPageRequest.ts +++ /dev/null @@ -1,38 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as Gooey from "../index"; - -export interface QrCodeGeneratorPageRequest { - functions?: Gooey.RecipeFunction[]; - /** Variables to be used as Jinja prompt templates and in functions as arguments */ - variables?: Record; - qrCodeData?: string; - qrCodeInputImage?: string; - qrCodeVcard?: Gooey.Vcard; - qrCodeFile?: string; - useUrlShortener?: boolean; - textPrompt: string; - negativePrompt?: string; - imagePrompt?: string; - imagePromptControlnetModels?: Gooey.QrCodeGeneratorPageRequestImagePromptControlnetModelsItem[]; - imagePromptStrength?: number; - imagePromptScale?: number; - imagePromptPosX?: number; - imagePromptPosY?: number; - selectedModel?: Gooey.QrCodeGeneratorPageRequestSelectedModel; - selectedControlnetModel?: Gooey.QrCodeGeneratorPageRequestSelectedControlnetModelItem[]; - outputWidth?: number; - outputHeight?: number; - guidanceScale?: number; - controlnetConditioningScale?: number[]; - numOutputs?: number; - quality?: number; - scheduler?: Gooey.QrCodeGeneratorPageRequestScheduler; - seed?: number; - objScale?: number; - objPosX?: number; - objPosY?: number; - settings?: Gooey.RunSettings; -} diff --git a/src/api/types/QrCodeGeneratorPageRequestImagePromptControlnetModelsItem.ts b/src/api/types/QrCodeGeneratorPageRequestImagePromptControlnetModelsItem.ts deleted file mode 100644 index 2c4fd53..0000000 --- a/src/api/types/QrCodeGeneratorPageRequestImagePromptControlnetModelsItem.ts +++ /dev/null @@ -1,30 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type QrCodeGeneratorPageRequestImagePromptControlnetModelsItem = - | "sd_controlnet_canny" - | "sd_controlnet_depth" - | "sd_controlnet_hed" - | "sd_controlnet_mlsd" - | "sd_controlnet_normal" - | "sd_controlnet_openpose" - | "sd_controlnet_scribble" - | "sd_controlnet_seg" - | "sd_controlnet_tile" - | "sd_controlnet_brightness" - | "control_v1p_sd15_qrcode_monster_v2"; - -export const QrCodeGeneratorPageRequestImagePromptControlnetModelsItem = { - SdControlnetCanny: "sd_controlnet_canny", - SdControlnetDepth: "sd_controlnet_depth", - SdControlnetHed: "sd_controlnet_hed", - SdControlnetMlsd: "sd_controlnet_mlsd", - SdControlnetNormal: "sd_controlnet_normal", - SdControlnetOpenpose: "sd_controlnet_openpose", - SdControlnetScribble: "sd_controlnet_scribble", - SdControlnetSeg: "sd_controlnet_seg", - SdControlnetTile: "sd_controlnet_tile", - SdControlnetBrightness: "sd_controlnet_brightness", - ControlV1PSd15QrcodeMonsterV2: "control_v1p_sd15_qrcode_monster_v2", -} as const; diff --git a/src/api/types/QrCodeGeneratorPageRequestScheduler.ts b/src/api/types/QrCodeGeneratorPageRequestScheduler.ts deleted file mode 100644 index 514f53f..0000000 --- a/src/api/types/QrCodeGeneratorPageRequestScheduler.ts +++ /dev/null @@ -1,36 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type QrCodeGeneratorPageRequestScheduler = - | "singlestep_dpm_solver" - | "multistep_dpm_solver" - | "dpm_sde" - | "dpm_discrete" - | "dpm_discrete_ancestral" - | "unipc" - | "lms_discrete" - | "heun" - | "euler" - | "euler_ancestral" - | "pndm" - | "ddpm" - | "ddim" - | "deis"; - -export const QrCodeGeneratorPageRequestScheduler = { - SinglestepDpmSolver: "singlestep_dpm_solver", - MultistepDpmSolver: "multistep_dpm_solver", - DpmSde: "dpm_sde", - DpmDiscrete: "dpm_discrete", - DpmDiscreteAncestral: "dpm_discrete_ancestral", - Unipc: "unipc", - LmsDiscrete: "lms_discrete", - Heun: "heun", - Euler: "euler", - EulerAncestral: "euler_ancestral", - Pndm: "pndm", - Ddpm: "ddpm", - Ddim: "ddim", - Deis: "deis", -} as const; diff --git a/src/api/types/QrCodeGeneratorPageRequestSelectedControlnetModelItem.ts b/src/api/types/QrCodeGeneratorPageRequestSelectedControlnetModelItem.ts deleted file mode 100644 index 3607125..0000000 --- a/src/api/types/QrCodeGeneratorPageRequestSelectedControlnetModelItem.ts +++ /dev/null @@ -1,30 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type QrCodeGeneratorPageRequestSelectedControlnetModelItem = - | "sd_controlnet_canny" - | "sd_controlnet_depth" - | "sd_controlnet_hed" - | "sd_controlnet_mlsd" - | "sd_controlnet_normal" - | "sd_controlnet_openpose" - | "sd_controlnet_scribble" - | "sd_controlnet_seg" - | "sd_controlnet_tile" - | "sd_controlnet_brightness" - | "control_v1p_sd15_qrcode_monster_v2"; - -export const QrCodeGeneratorPageRequestSelectedControlnetModelItem = { - SdControlnetCanny: "sd_controlnet_canny", - SdControlnetDepth: "sd_controlnet_depth", - SdControlnetHed: "sd_controlnet_hed", - SdControlnetMlsd: "sd_controlnet_mlsd", - SdControlnetNormal: "sd_controlnet_normal", - SdControlnetOpenpose: "sd_controlnet_openpose", - SdControlnetScribble: "sd_controlnet_scribble", - SdControlnetSeg: "sd_controlnet_seg", - SdControlnetTile: "sd_controlnet_tile", - SdControlnetBrightness: "sd_controlnet_brightness", - ControlV1PSd15QrcodeMonsterV2: "control_v1p_sd15_qrcode_monster_v2", -} as const; diff --git a/src/api/types/QrCodeGeneratorPageRequestSelectedModel.ts b/src/api/types/QrCodeGeneratorPageRequestSelectedModel.ts deleted file mode 100644 index c146de0..0000000 --- a/src/api/types/QrCodeGeneratorPageRequestSelectedModel.ts +++ /dev/null @@ -1,34 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type QrCodeGeneratorPageRequestSelectedModel = - | "dream_shaper" - | "dreamlike_2" - | "sd_2" - | "sd_1_5" - | "dall_e" - | "dall_e_3" - | "openjourney_2" - | "openjourney" - | "analog_diffusion" - | "protogen_5_3" - | "jack_qiao" - | "rodent_diffusion_1_5" - | "deepfloyd_if"; - -export const QrCodeGeneratorPageRequestSelectedModel = { - DreamShaper: "dream_shaper", - Dreamlike2: "dreamlike_2", - Sd2: "sd_2", - Sd15: "sd_1_5", - DallE: "dall_e", - DallE3: "dall_e_3", - Openjourney2: "openjourney_2", - Openjourney: "openjourney", - AnalogDiffusion: "analog_diffusion", - Protogen53: "protogen_5_3", - JackQiao: "jack_qiao", - RodentDiffusion15: "rodent_diffusion_1_5", - DeepfloydIf: "deepfloyd_if", -} as const; diff --git a/src/api/types/RelatedQnADocPageRequest.ts b/src/api/types/RelatedQnADocPageRequest.ts deleted file mode 100644 index 2366033..0000000 --- a/src/api/types/RelatedQnADocPageRequest.ts +++ /dev/null @@ -1,41 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as Gooey from "../index"; - -export interface RelatedQnADocPageRequest { - functions?: Gooey.RecipeFunction[]; - /** Variables to be used as Jinja prompt templates and in functions as arguments */ - variables?: Record; - searchQuery: string; - keywordQuery?: Gooey.RelatedQnADocPageRequestKeywordQuery; - documents?: string[]; - maxReferences?: number; - maxContextWords?: number; - scrollJump?: number; - docExtractUrl?: string; - embeddingModel?: Gooey.RelatedQnADocPageRequestEmbeddingModel; - /** - * Weightage for dense vs sparse embeddings. `0` for sparse, `1` for dense, `0.5` for equal weight. - * Generally speaking, dense embeddings excel at understanding the context of the query, whereas sparse vectors excel at keyword matches. - */ - denseWeight?: number; - taskInstructions?: string; - queryInstructions?: string; - selectedModel?: Gooey.RelatedQnADocPageRequestSelectedModel; - citationStyle?: Gooey.RelatedQnADocPageRequestCitationStyle; - avoidRepetition?: boolean; - numOutputs?: number; - quality?: number; - maxTokens?: number; - samplingTemperature?: number; - responseFormatType?: Gooey.RelatedQnADocPageRequestResponseFormatType; - serpSearchLocation?: Gooey.SerpSearchLocation; - /** DEPRECATED: use `serp_search_location` instead */ - scaleserpLocations?: string[]; - serpSearchType?: Gooey.SerpSearchType; - /** DEPRECATED: use `serp_search_type` instead */ - scaleserpSearchField?: string; - settings?: Gooey.RunSettings; -} diff --git a/src/api/types/RelatedQnADocPageRequestCitationStyle.ts b/src/api/types/RelatedQnADocPageRequestCitationStyle.ts deleted file mode 100644 index 1709230..0000000 --- a/src/api/types/RelatedQnADocPageRequestCitationStyle.ts +++ /dev/null @@ -1,40 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type RelatedQnADocPageRequestCitationStyle = - | "number" - | "title" - | "url" - | "symbol" - | "markdown" - | "html" - | "slack_mrkdwn" - | "plaintext" - | "number_markdown" - | "number_html" - | "number_slack_mrkdwn" - | "number_plaintext" - | "symbol_markdown" - | "symbol_html" - | "symbol_slack_mrkdwn" - | "symbol_plaintext"; - -export const RelatedQnADocPageRequestCitationStyle = { - Number: "number", - Title: "title", - Url: "url", - Symbol: "symbol", - Markdown: "markdown", - Html: "html", - SlackMrkdwn: "slack_mrkdwn", - Plaintext: "plaintext", - NumberMarkdown: "number_markdown", - NumberHtml: "number_html", - NumberSlackMrkdwn: "number_slack_mrkdwn", - NumberPlaintext: "number_plaintext", - SymbolMarkdown: "symbol_markdown", - SymbolHtml: "symbol_html", - SymbolSlackMrkdwn: "symbol_slack_mrkdwn", - SymbolPlaintext: "symbol_plaintext", -} as const; diff --git a/src/api/types/RelatedQnADocPageRequestEmbeddingModel.ts b/src/api/types/RelatedQnADocPageRequestEmbeddingModel.ts deleted file mode 100644 index 099e7bf..0000000 --- a/src/api/types/RelatedQnADocPageRequestEmbeddingModel.ts +++ /dev/null @@ -1,26 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type RelatedQnADocPageRequestEmbeddingModel = - | "openai_3_large" - | "openai_3_small" - | "openai_ada_2" - | "e5_large_v2" - | "e5_base_v2" - | "multilingual_e5_base" - | "multilingual_e5_large" - | "gte_large" - | "gte_base"; - -export const RelatedQnADocPageRequestEmbeddingModel = { - Openai3Large: "openai_3_large", - Openai3Small: "openai_3_small", - OpenaiAda2: "openai_ada_2", - E5LargeV2: "e5_large_v2", - E5BaseV2: "e5_base_v2", - MultilingualE5Base: "multilingual_e5_base", - MultilingualE5Large: "multilingual_e5_large", - GteLarge: "gte_large", - GteBase: "gte_base", -} as const; diff --git a/src/api/types/RelatedQnADocPageRequestKeywordQuery.ts b/src/api/types/RelatedQnADocPageRequestKeywordQuery.ts deleted file mode 100644 index 03d8220..0000000 --- a/src/api/types/RelatedQnADocPageRequestKeywordQuery.ts +++ /dev/null @@ -1,5 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type RelatedQnADocPageRequestKeywordQuery = string | string[]; diff --git a/src/api/types/RelatedQnADocPageRequestResponseFormatType.ts b/src/api/types/RelatedQnADocPageRequestResponseFormatType.ts deleted file mode 100644 index 43a197c..0000000 --- a/src/api/types/RelatedQnADocPageRequestResponseFormatType.ts +++ /dev/null @@ -1,10 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type RelatedQnADocPageRequestResponseFormatType = "text" | "json_object"; - -export const RelatedQnADocPageRequestResponseFormatType = { - Text: "text", - JsonObject: "json_object", -} as const; diff --git a/src/api/types/RelatedQnADocPageRequestSelectedModel.ts b/src/api/types/RelatedQnADocPageRequestSelectedModel.ts deleted file mode 100644 index d30786a..0000000 --- a/src/api/types/RelatedQnADocPageRequestSelectedModel.ts +++ /dev/null @@ -1,84 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type RelatedQnADocPageRequestSelectedModel = - | "gpt_4_o" - | "gpt_4_o_mini" - | "chatgpt_4_o" - | "gpt_4_turbo_vision" - | "gpt_4_vision" - | "gpt_4_turbo" - | "gpt_4" - | "gpt_4_32k" - | "gpt_3_5_turbo" - | "gpt_3_5_turbo_16k" - | "gpt_3_5_turbo_instruct" - | "llama3_70b" - | "llama_3_groq_70b_tool_use" - | "llama3_8b" - | "llama_3_groq_8b_tool_use" - | "llama2_70b_chat" - | "mixtral_8x7b_instruct_0_1" - | "gemma_2_9b_it" - | "gemma_7b_it" - | "gemini_1_5_flash" - | "gemini_1_5_pro" - | "gemini_1_pro_vision" - | "gemini_1_pro" - | "palm2_chat" - | "palm2_text" - | "claude_3_5_sonnet" - | "claude_3_opus" - | "claude_3_sonnet" - | "claude_3_haiku" - | "sea_lion_7b_instruct" - | "llama3_8b_cpt_sea_lion_v2_instruct" - | "sarvam_2b" - | "text_davinci_003" - | "text_davinci_002" - | "code_davinci_002" - | "text_curie_001" - | "text_babbage_001" - | "text_ada_001"; - -export const RelatedQnADocPageRequestSelectedModel = { - Gpt4O: "gpt_4_o", - Gpt4OMini: "gpt_4_o_mini", - Chatgpt4O: "chatgpt_4_o", - Gpt4TurboVision: "gpt_4_turbo_vision", - Gpt4Vision: "gpt_4_vision", - Gpt4Turbo: "gpt_4_turbo", - Gpt4: "gpt_4", - Gpt432K: "gpt_4_32k", - Gpt35Turbo: "gpt_3_5_turbo", - Gpt35Turbo16K: "gpt_3_5_turbo_16k", - Gpt35TurboInstruct: "gpt_3_5_turbo_instruct", - Llama370B: "llama3_70b", - Llama3Groq70BToolUse: "llama_3_groq_70b_tool_use", - Llama38B: "llama3_8b", - Llama3Groq8BToolUse: "llama_3_groq_8b_tool_use", - Llama270BChat: "llama2_70b_chat", - Mixtral8X7BInstruct01: "mixtral_8x7b_instruct_0_1", - Gemma29BIt: "gemma_2_9b_it", - Gemma7BIt: "gemma_7b_it", - Gemini15Flash: "gemini_1_5_flash", - Gemini15Pro: "gemini_1_5_pro", - Gemini1ProVision: "gemini_1_pro_vision", - Gemini1Pro: "gemini_1_pro", - Palm2Chat: "palm2_chat", - Palm2Text: "palm2_text", - Claude35Sonnet: "claude_3_5_sonnet", - Claude3Opus: "claude_3_opus", - Claude3Sonnet: "claude_3_sonnet", - Claude3Haiku: "claude_3_haiku", - SeaLion7BInstruct: "sea_lion_7b_instruct", - Llama38BCptSeaLionV2Instruct: "llama3_8b_cpt_sea_lion_v2_instruct", - Sarvam2B: "sarvam_2b", - TextDavinci003: "text_davinci_003", - TextDavinci002: "text_davinci_002", - CodeDavinci002: "code_davinci_002", - TextCurie001: "text_curie_001", - TextBabbage001: "text_babbage_001", - TextAda001: "text_ada_001", -} as const; diff --git a/src/api/types/RelatedQnAPageRequest.ts b/src/api/types/RelatedQnAPageRequest.ts deleted file mode 100644 index 48d9372..0000000 --- a/src/api/types/RelatedQnAPageRequest.ts +++ /dev/null @@ -1,39 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as Gooey from "../index"; - -export interface RelatedQnAPageRequest { - functions?: Gooey.RecipeFunction[]; - /** Variables to be used as Jinja prompt templates and in functions as arguments */ - variables?: Record; - searchQuery: string; - siteFilter: string; - taskInstructions?: string; - queryInstructions?: string; - selectedModel?: Gooey.RelatedQnAPageRequestSelectedModel; - maxSearchUrls?: number; - maxReferences?: number; - maxContextWords?: number; - scrollJump?: number; - embeddingModel?: Gooey.RelatedQnAPageRequestEmbeddingModel; - /** - * Weightage for dense vs sparse embeddings. `0` for sparse, `1` for dense, `0.5` for equal weight. - * Generally speaking, dense embeddings excel at understanding the context of the query, whereas sparse vectors excel at keyword matches. - */ - denseWeight?: number; - avoidRepetition?: boolean; - numOutputs?: number; - quality?: number; - maxTokens?: number; - samplingTemperature?: number; - responseFormatType?: Gooey.RelatedQnAPageRequestResponseFormatType; - serpSearchLocation?: Gooey.SerpSearchLocation; - /** DEPRECATED: use `serp_search_location` instead */ - scaleserpLocations?: string[]; - serpSearchType?: Gooey.SerpSearchType; - /** DEPRECATED: use `serp_search_type` instead */ - scaleserpSearchField?: string; - settings?: Gooey.RunSettings; -} diff --git a/src/api/types/RelatedQnAPageRequestEmbeddingModel.ts b/src/api/types/RelatedQnAPageRequestEmbeddingModel.ts deleted file mode 100644 index 39ae645..0000000 --- a/src/api/types/RelatedQnAPageRequestEmbeddingModel.ts +++ /dev/null @@ -1,26 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type RelatedQnAPageRequestEmbeddingModel = - | "openai_3_large" - | "openai_3_small" - | "openai_ada_2" - | "e5_large_v2" - | "e5_base_v2" - | "multilingual_e5_base" - | "multilingual_e5_large" - | "gte_large" - | "gte_base"; - -export const RelatedQnAPageRequestEmbeddingModel = { - Openai3Large: "openai_3_large", - Openai3Small: "openai_3_small", - OpenaiAda2: "openai_ada_2", - E5LargeV2: "e5_large_v2", - E5BaseV2: "e5_base_v2", - MultilingualE5Base: "multilingual_e5_base", - MultilingualE5Large: "multilingual_e5_large", - GteLarge: "gte_large", - GteBase: "gte_base", -} as const; diff --git a/src/api/types/RelatedQnAPageRequestResponseFormatType.ts b/src/api/types/RelatedQnAPageRequestResponseFormatType.ts deleted file mode 100644 index 7d5e361..0000000 --- a/src/api/types/RelatedQnAPageRequestResponseFormatType.ts +++ /dev/null @@ -1,10 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type RelatedQnAPageRequestResponseFormatType = "text" | "json_object"; - -export const RelatedQnAPageRequestResponseFormatType = { - Text: "text", - JsonObject: "json_object", -} as const; diff --git a/src/api/types/RelatedQnAPageRequestSelectedModel.ts b/src/api/types/RelatedQnAPageRequestSelectedModel.ts deleted file mode 100644 index 33a2a8c..0000000 --- a/src/api/types/RelatedQnAPageRequestSelectedModel.ts +++ /dev/null @@ -1,84 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type RelatedQnAPageRequestSelectedModel = - | "gpt_4_o" - | "gpt_4_o_mini" - | "chatgpt_4_o" - | "gpt_4_turbo_vision" - | "gpt_4_vision" - | "gpt_4_turbo" - | "gpt_4" - | "gpt_4_32k" - | "gpt_3_5_turbo" - | "gpt_3_5_turbo_16k" - | "gpt_3_5_turbo_instruct" - | "llama3_70b" - | "llama_3_groq_70b_tool_use" - | "llama3_8b" - | "llama_3_groq_8b_tool_use" - | "llama2_70b_chat" - | "mixtral_8x7b_instruct_0_1" - | "gemma_2_9b_it" - | "gemma_7b_it" - | "gemini_1_5_flash" - | "gemini_1_5_pro" - | "gemini_1_pro_vision" - | "gemini_1_pro" - | "palm2_chat" - | "palm2_text" - | "claude_3_5_sonnet" - | "claude_3_opus" - | "claude_3_sonnet" - | "claude_3_haiku" - | "sea_lion_7b_instruct" - | "llama3_8b_cpt_sea_lion_v2_instruct" - | "sarvam_2b" - | "text_davinci_003" - | "text_davinci_002" - | "code_davinci_002" - | "text_curie_001" - | "text_babbage_001" - | "text_ada_001"; - -export const RelatedQnAPageRequestSelectedModel = { - Gpt4O: "gpt_4_o", - Gpt4OMini: "gpt_4_o_mini", - Chatgpt4O: "chatgpt_4_o", - Gpt4TurboVision: "gpt_4_turbo_vision", - Gpt4Vision: "gpt_4_vision", - Gpt4Turbo: "gpt_4_turbo", - Gpt4: "gpt_4", - Gpt432K: "gpt_4_32k", - Gpt35Turbo: "gpt_3_5_turbo", - Gpt35Turbo16K: "gpt_3_5_turbo_16k", - Gpt35TurboInstruct: "gpt_3_5_turbo_instruct", - Llama370B: "llama3_70b", - Llama3Groq70BToolUse: "llama_3_groq_70b_tool_use", - Llama38B: "llama3_8b", - Llama3Groq8BToolUse: "llama_3_groq_8b_tool_use", - Llama270BChat: "llama2_70b_chat", - Mixtral8X7BInstruct01: "mixtral_8x7b_instruct_0_1", - Gemma29BIt: "gemma_2_9b_it", - Gemma7BIt: "gemma_7b_it", - Gemini15Flash: "gemini_1_5_flash", - Gemini15Pro: "gemini_1_5_pro", - Gemini1ProVision: "gemini_1_pro_vision", - Gemini1Pro: "gemini_1_pro", - Palm2Chat: "palm2_chat", - Palm2Text: "palm2_text", - Claude35Sonnet: "claude_3_5_sonnet", - Claude3Opus: "claude_3_opus", - Claude3Sonnet: "claude_3_sonnet", - Claude3Haiku: "claude_3_haiku", - SeaLion7BInstruct: "sea_lion_7b_instruct", - Llama38BCptSeaLionV2Instruct: "llama3_8b_cpt_sea_lion_v2_instruct", - Sarvam2B: "sarvam_2b", - TextDavinci003: "text_davinci_003", - TextDavinci002: "text_davinci_002", - CodeDavinci002: "code_davinci_002", - TextCurie001: "text_curie_001", - TextBabbage001: "text_babbage_001", - TextAda001: "text_ada_001", -} as const; diff --git a/src/api/types/RunSettings.ts b/src/api/types/RunSettings.ts deleted file mode 100644 index 7e9c19e..0000000 --- a/src/api/types/RunSettings.ts +++ /dev/null @@ -1,10 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as Gooey from "../index"; - -export interface RunSettings { - /** Policy for retaining the run data. */ - retentionPolicy?: Gooey.RunSettingsRetentionPolicy; -} diff --git a/src/api/types/RunSettingsRetentionPolicy.ts b/src/api/types/RunSettingsRetentionPolicy.ts deleted file mode 100644 index 3bb8062..0000000 --- a/src/api/types/RunSettingsRetentionPolicy.ts +++ /dev/null @@ -1,13 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -/** - * Policy for retaining the run data. - */ -export type RunSettingsRetentionPolicy = "keep" | "delete"; - -export const RunSettingsRetentionPolicy = { - Keep: "keep", - Delete: "delete", -} as const; diff --git a/src/api/types/SeoSummaryPageRequest.ts b/src/api/types/SeoSummaryPageRequest.ts deleted file mode 100644 index 0c75f58..0000000 --- a/src/api/types/SeoSummaryPageRequest.ts +++ /dev/null @@ -1,31 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as Gooey from "../index"; - -export interface SeoSummaryPageRequest { - searchQuery: string; - keywords: string; - title: string; - companyUrl: string; - taskInstructions?: string; - enableHtml?: boolean; - selectedModel?: Gooey.SeoSummaryPageRequestSelectedModel; - maxSearchUrls?: number; - enableCrosslinks?: boolean; - seed?: number; - avoidRepetition?: boolean; - numOutputs?: number; - quality?: number; - maxTokens?: number; - samplingTemperature?: number; - responseFormatType?: Gooey.SeoSummaryPageRequestResponseFormatType; - serpSearchLocation?: Gooey.SerpSearchLocation; - /** DEPRECATED: use `serp_search_location` instead */ - scaleserpLocations?: string[]; - serpSearchType?: Gooey.SerpSearchType; - /** DEPRECATED: use `serp_search_type` instead */ - scaleserpSearchField?: string; - settings?: Gooey.RunSettings; -} diff --git a/src/api/types/SeoSummaryPageRequestResponseFormatType.ts b/src/api/types/SeoSummaryPageRequestResponseFormatType.ts deleted file mode 100644 index 4e22241..0000000 --- a/src/api/types/SeoSummaryPageRequestResponseFormatType.ts +++ /dev/null @@ -1,10 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type SeoSummaryPageRequestResponseFormatType = "text" | "json_object"; - -export const SeoSummaryPageRequestResponseFormatType = { - Text: "text", - JsonObject: "json_object", -} as const; diff --git a/src/api/types/SeoSummaryPageRequestSelectedModel.ts b/src/api/types/SeoSummaryPageRequestSelectedModel.ts deleted file mode 100644 index d7ede42..0000000 --- a/src/api/types/SeoSummaryPageRequestSelectedModel.ts +++ /dev/null @@ -1,84 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type SeoSummaryPageRequestSelectedModel = - | "gpt_4_o" - | "gpt_4_o_mini" - | "chatgpt_4_o" - | "gpt_4_turbo_vision" - | "gpt_4_vision" - | "gpt_4_turbo" - | "gpt_4" - | "gpt_4_32k" - | "gpt_3_5_turbo" - | "gpt_3_5_turbo_16k" - | "gpt_3_5_turbo_instruct" - | "llama3_70b" - | "llama_3_groq_70b_tool_use" - | "llama3_8b" - | "llama_3_groq_8b_tool_use" - | "llama2_70b_chat" - | "mixtral_8x7b_instruct_0_1" - | "gemma_2_9b_it" - | "gemma_7b_it" - | "gemini_1_5_flash" - | "gemini_1_5_pro" - | "gemini_1_pro_vision" - | "gemini_1_pro" - | "palm2_chat" - | "palm2_text" - | "claude_3_5_sonnet" - | "claude_3_opus" - | "claude_3_sonnet" - | "claude_3_haiku" - | "sea_lion_7b_instruct" - | "llama3_8b_cpt_sea_lion_v2_instruct" - | "sarvam_2b" - | "text_davinci_003" - | "text_davinci_002" - | "code_davinci_002" - | "text_curie_001" - | "text_babbage_001" - | "text_ada_001"; - -export const SeoSummaryPageRequestSelectedModel = { - Gpt4O: "gpt_4_o", - Gpt4OMini: "gpt_4_o_mini", - Chatgpt4O: "chatgpt_4_o", - Gpt4TurboVision: "gpt_4_turbo_vision", - Gpt4Vision: "gpt_4_vision", - Gpt4Turbo: "gpt_4_turbo", - Gpt4: "gpt_4", - Gpt432K: "gpt_4_32k", - Gpt35Turbo: "gpt_3_5_turbo", - Gpt35Turbo16K: "gpt_3_5_turbo_16k", - Gpt35TurboInstruct: "gpt_3_5_turbo_instruct", - Llama370B: "llama3_70b", - Llama3Groq70BToolUse: "llama_3_groq_70b_tool_use", - Llama38B: "llama3_8b", - Llama3Groq8BToolUse: "llama_3_groq_8b_tool_use", - Llama270BChat: "llama2_70b_chat", - Mixtral8X7BInstruct01: "mixtral_8x7b_instruct_0_1", - Gemma29BIt: "gemma_2_9b_it", - Gemma7BIt: "gemma_7b_it", - Gemini15Flash: "gemini_1_5_flash", - Gemini15Pro: "gemini_1_5_pro", - Gemini1ProVision: "gemini_1_pro_vision", - Gemini1Pro: "gemini_1_pro", - Palm2Chat: "palm2_chat", - Palm2Text: "palm2_text", - Claude35Sonnet: "claude_3_5_sonnet", - Claude3Opus: "claude_3_opus", - Claude3Sonnet: "claude_3_sonnet", - Claude3Haiku: "claude_3_haiku", - SeaLion7BInstruct: "sea_lion_7b_instruct", - Llama38BCptSeaLionV2Instruct: "llama3_8b_cpt_sea_lion_v2_instruct", - Sarvam2B: "sarvam_2b", - TextDavinci003: "text_davinci_003", - TextDavinci002: "text_davinci_002", - CodeDavinci002: "code_davinci_002", - TextCurie001: "text_curie_001", - TextBabbage001: "text_babbage_001", - TextAda001: "text_ada_001", -} as const; diff --git a/src/api/types/SerpSearchLocation.ts b/src/api/types/SerpSearchLocation.ts deleted file mode 100644 index a62ffa0..0000000 --- a/src/api/types/SerpSearchLocation.ts +++ /dev/null @@ -1,489 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -/** - * An enumeration. - */ -export type SerpSearchLocation = - | "af" - | "al" - | "dz" - | "as" - | "ad" - | "ao" - | "ai" - | "aq" - | "ag" - | "ar" - | "am" - | "aw" - | "au" - | "at" - | "az" - | "bs" - | "bh" - | "bd" - | "bb" - | "by" - | "be" - | "bz" - | "bj" - | "bm" - | "bt" - | "bo" - | "ba" - | "bw" - | "bv" - | "br" - | "io" - | "bn" - | "bg" - | "bf" - | "bi" - | "kh" - | "cm" - | "ca" - | "cv" - | "ky" - | "cf" - | "td" - | "cl" - | "cn" - | "cx" - | "cc" - | "co" - | "km" - | "cg" - | "cd" - | "ck" - | "cr" - | "ci" - | "hr" - | "cu" - | "cy" - | "cz" - | "dk" - | "dj" - | "dm" - | "do" - | "ec" - | "eg" - | "sv" - | "gq" - | "er" - | "ee" - | "et" - | "fk" - | "fo" - | "fj" - | "fi" - | "fr" - | "gf" - | "pf" - | "tf" - | "ga" - | "gm" - | "ge" - | "de" - | "gh" - | "gi" - | "gr" - | "gl" - | "gd" - | "gp" - | "gu" - | "gt" - | "gn" - | "gw" - | "gy" - | "ht" - | "hm" - | "va" - | "hn" - | "hk" - | "hu" - | "is" - | "in" - | "id" - | "ir" - | "iq" - | "ie" - | "il" - | "it" - | "jm" - | "jp" - | "jo" - | "kz" - | "ke" - | "ki" - | "kp" - | "kr" - | "kw" - | "kg" - | "la" - | "lv" - | "lb" - | "ls" - | "lr" - | "ly" - | "li" - | "lt" - | "lu" - | "mo" - | "mk" - | "mg" - | "mw" - | "my" - | "mv" - | "ml" - | "mt" - | "mh" - | "mq" - | "mr" - | "mu" - | "yt" - | "mx" - | "fm" - | "md" - | "mc" - | "mn" - | "ms" - | "ma" - | "mz" - | "mm" - | "na" - | "nr" - | "np" - | "nl" - | "an" - | "nc" - | "nz" - | "ni" - | "ne" - | "ng" - | "nu" - | "nf" - | "mp" - | "no" - | "om" - | "pk" - | "pw" - | "ps" - | "pa" - | "pg" - | "py" - | "pe" - | "ph" - | "pn" - | "pl" - | "pt" - | "pr" - | "qa" - | "re" - | "ro" - | "ru" - | "rw" - | "sh" - | "kn" - | "lc" - | "pm" - | "vc" - | "ws" - | "sm" - | "gui" - | "sa" - | "sn" - | "rs" - | "sc" - | "sl" - | "sg" - | "sk" - | "si" - | "sb" - | "so" - | "za" - | "gs" - | "es" - | "lk" - | "sd" - | "sr" - | "sj" - | "sz" - | "se" - | "ch" - | "sy" - | "tw" - | "tj" - | "tz" - | "th" - | "tl" - | "tg" - | "tk" - | "to" - | "tt" - | "tn" - | "tr" - | "tm" - | "tc" - | "tv" - | "ug" - | "ua" - | "ae" - | "gb" - | "us" - | "um" - | "uy" - | "uz" - | "vu" - | "ve" - | "vn" - | "vg" - | "vi" - | "wf" - | "eh" - | "ye" - | "zm" - | "zw"; - -export const SerpSearchLocation = { - Af: "af", - Al: "al", - Dz: "dz", - As: "as", - Ad: "ad", - Ao: "ao", - Ai: "ai", - Aq: "aq", - Ag: "ag", - Ar: "ar", - Am: "am", - Aw: "aw", - Au: "au", - At: "at", - Az: "az", - Bs: "bs", - Bh: "bh", - Bd: "bd", - Bb: "bb", - By: "by", - Be: "be", - Bz: "bz", - Bj: "bj", - Bm: "bm", - Bt: "bt", - Bo: "bo", - Ba: "ba", - Bw: "bw", - Bv: "bv", - Br: "br", - Io: "io", - Bn: "bn", - Bg: "bg", - Bf: "bf", - Bi: "bi", - Kh: "kh", - Cm: "cm", - Ca: "ca", - Cv: "cv", - Ky: "ky", - Cf: "cf", - Td: "td", - Cl: "cl", - Cn: "cn", - Cx: "cx", - Cc: "cc", - Co: "co", - Km: "km", - Cg: "cg", - Cd: "cd", - Ck: "ck", - Cr: "cr", - Ci: "ci", - Hr: "hr", - Cu: "cu", - Cy: "cy", - Cz: "cz", - Dk: "dk", - Dj: "dj", - Dm: "dm", - Do: "do", - Ec: "ec", - Eg: "eg", - Sv: "sv", - Gq: "gq", - Er: "er", - Ee: "ee", - Et: "et", - Fk: "fk", - Fo: "fo", - Fj: "fj", - Fi: "fi", - Fr: "fr", - Gf: "gf", - Pf: "pf", - Tf: "tf", - Ga: "ga", - Gm: "gm", - Ge: "ge", - De: "de", - Gh: "gh", - Gi: "gi", - Gr: "gr", - Gl: "gl", - Gd: "gd", - Gp: "gp", - Gu: "gu", - Gt: "gt", - Gn: "gn", - Gw: "gw", - Gy: "gy", - Ht: "ht", - Hm: "hm", - Va: "va", - Hn: "hn", - Hk: "hk", - Hu: "hu", - Is: "is", - In: "in", - Id: "id", - Ir: "ir", - Iq: "iq", - Ie: "ie", - Il: "il", - It: "it", - Jm: "jm", - Jp: "jp", - Jo: "jo", - Kz: "kz", - Ke: "ke", - Ki: "ki", - Kp: "kp", - Kr: "kr", - Kw: "kw", - Kg: "kg", - La: "la", - Lv: "lv", - Lb: "lb", - Ls: "ls", - Lr: "lr", - Ly: "ly", - Li: "li", - Lt: "lt", - Lu: "lu", - Mo: "mo", - Mk: "mk", - Mg: "mg", - Mw: "mw", - My: "my", - Mv: "mv", - Ml: "ml", - Mt: "mt", - Mh: "mh", - Mq: "mq", - Mr: "mr", - Mu: "mu", - Yt: "yt", - Mx: "mx", - Fm: "fm", - Md: "md", - Mc: "mc", - Mn: "mn", - Ms: "ms", - Ma: "ma", - Mz: "mz", - Mm: "mm", - Na: "na", - Nr: "nr", - Np: "np", - Nl: "nl", - An: "an", - Nc: "nc", - Nz: "nz", - Ni: "ni", - Ne: "ne", - Ng: "ng", - Nu: "nu", - Nf: "nf", - Mp: "mp", - No: "no", - Om: "om", - Pk: "pk", - Pw: "pw", - Ps: "ps", - Pa: "pa", - Pg: "pg", - Py: "py", - Pe: "pe", - Ph: "ph", - Pn: "pn", - Pl: "pl", - Pt: "pt", - Pr: "pr", - Qa: "qa", - Re: "re", - Ro: "ro", - Ru: "ru", - Rw: "rw", - Sh: "sh", - Kn: "kn", - Lc: "lc", - Pm: "pm", - Vc: "vc", - Ws: "ws", - Sm: "sm", - Gui: "gui", - Sa: "sa", - Sn: "sn", - Rs: "rs", - Sc: "sc", - Sl: "sl", - Sg: "sg", - Sk: "sk", - Si: "si", - Sb: "sb", - So: "so", - Za: "za", - Gs: "gs", - Es: "es", - Lk: "lk", - Sd: "sd", - Sr: "sr", - Sj: "sj", - Sz: "sz", - Se: "se", - Ch: "ch", - Sy: "sy", - Tw: "tw", - Tj: "tj", - Tz: "tz", - Th: "th", - Tl: "tl", - Tg: "tg", - Tk: "tk", - To: "to", - Tt: "tt", - Tn: "tn", - Tr: "tr", - Tm: "tm", - Tc: "tc", - Tv: "tv", - Ug: "ug", - Ua: "ua", - Ae: "ae", - Gb: "gb", - Us: "us", - Um: "um", - Uy: "uy", - Uz: "uz", - Vu: "vu", - Ve: "ve", - Vn: "vn", - Vg: "vg", - Vi: "vi", - Wf: "wf", - Eh: "eh", - Ye: "ye", - Zm: "zm", - Zw: "zw", -} as const; diff --git a/src/api/types/SerpSearchType.ts b/src/api/types/SerpSearchType.ts deleted file mode 100644 index ad1eb35..0000000 --- a/src/api/types/SerpSearchType.ts +++ /dev/null @@ -1,16 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -/** - * An enumeration. - */ -export type SerpSearchType = "search" | "images" | "videos" | "places" | "news"; - -export const SerpSearchType = { - Search: "search", - Images: "images", - Videos: "videos", - Places: "places", - News: "news", -} as const; diff --git a/src/api/types/SmartGptPageRequest.ts b/src/api/types/SmartGptPageRequest.ts deleted file mode 100644 index 8515337..0000000 --- a/src/api/types/SmartGptPageRequest.ts +++ /dev/null @@ -1,23 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as Gooey from "../index"; - -export interface SmartGptPageRequest { - functions?: Gooey.RecipeFunction[]; - /** Variables to be used as Jinja prompt templates and in functions as arguments */ - variables?: Record; - inputPrompt: string; - cotPrompt?: string; - reflexionPrompt?: string; - deraPrompt?: string; - selectedModel?: Gooey.SmartGptPageRequestSelectedModel; - avoidRepetition?: boolean; - numOutputs?: number; - quality?: number; - maxTokens?: number; - samplingTemperature?: number; - responseFormatType?: Gooey.SmartGptPageRequestResponseFormatType; - settings?: Gooey.RunSettings; -} diff --git a/src/api/types/SmartGptPageRequestResponseFormatType.ts b/src/api/types/SmartGptPageRequestResponseFormatType.ts deleted file mode 100644 index ca94411..0000000 --- a/src/api/types/SmartGptPageRequestResponseFormatType.ts +++ /dev/null @@ -1,10 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type SmartGptPageRequestResponseFormatType = "text" | "json_object"; - -export const SmartGptPageRequestResponseFormatType = { - Text: "text", - JsonObject: "json_object", -} as const; diff --git a/src/api/types/SmartGptPageRequestSelectedModel.ts b/src/api/types/SmartGptPageRequestSelectedModel.ts deleted file mode 100644 index c8dcc3d..0000000 --- a/src/api/types/SmartGptPageRequestSelectedModel.ts +++ /dev/null @@ -1,84 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type SmartGptPageRequestSelectedModel = - | "gpt_4_o" - | "gpt_4_o_mini" - | "chatgpt_4_o" - | "gpt_4_turbo_vision" - | "gpt_4_vision" - | "gpt_4_turbo" - | "gpt_4" - | "gpt_4_32k" - | "gpt_3_5_turbo" - | "gpt_3_5_turbo_16k" - | "gpt_3_5_turbo_instruct" - | "llama3_70b" - | "llama_3_groq_70b_tool_use" - | "llama3_8b" - | "llama_3_groq_8b_tool_use" - | "llama2_70b_chat" - | "mixtral_8x7b_instruct_0_1" - | "gemma_2_9b_it" - | "gemma_7b_it" - | "gemini_1_5_flash" - | "gemini_1_5_pro" - | "gemini_1_pro_vision" - | "gemini_1_pro" - | "palm2_chat" - | "palm2_text" - | "claude_3_5_sonnet" - | "claude_3_opus" - | "claude_3_sonnet" - | "claude_3_haiku" - | "sea_lion_7b_instruct" - | "llama3_8b_cpt_sea_lion_v2_instruct" - | "sarvam_2b" - | "text_davinci_003" - | "text_davinci_002" - | "code_davinci_002" - | "text_curie_001" - | "text_babbage_001" - | "text_ada_001"; - -export const SmartGptPageRequestSelectedModel = { - Gpt4O: "gpt_4_o", - Gpt4OMini: "gpt_4_o_mini", - Chatgpt4O: "chatgpt_4_o", - Gpt4TurboVision: "gpt_4_turbo_vision", - Gpt4Vision: "gpt_4_vision", - Gpt4Turbo: "gpt_4_turbo", - Gpt4: "gpt_4", - Gpt432K: "gpt_4_32k", - Gpt35Turbo: "gpt_3_5_turbo", - Gpt35Turbo16K: "gpt_3_5_turbo_16k", - Gpt35TurboInstruct: "gpt_3_5_turbo_instruct", - Llama370B: "llama3_70b", - Llama3Groq70BToolUse: "llama_3_groq_70b_tool_use", - Llama38B: "llama3_8b", - Llama3Groq8BToolUse: "llama_3_groq_8b_tool_use", - Llama270BChat: "llama2_70b_chat", - Mixtral8X7BInstruct01: "mixtral_8x7b_instruct_0_1", - Gemma29BIt: "gemma_2_9b_it", - Gemma7BIt: "gemma_7b_it", - Gemini15Flash: "gemini_1_5_flash", - Gemini15Pro: "gemini_1_5_pro", - Gemini1ProVision: "gemini_1_pro_vision", - Gemini1Pro: "gemini_1_pro", - Palm2Chat: "palm2_chat", - Palm2Text: "palm2_text", - Claude35Sonnet: "claude_3_5_sonnet", - Claude3Opus: "claude_3_opus", - Claude3Sonnet: "claude_3_sonnet", - Claude3Haiku: "claude_3_haiku", - SeaLion7BInstruct: "sea_lion_7b_instruct", - Llama38BCptSeaLionV2Instruct: "llama3_8b_cpt_sea_lion_v2_instruct", - Sarvam2B: "sarvam_2b", - TextDavinci003: "text_davinci_003", - TextDavinci002: "text_davinci_002", - CodeDavinci002: "code_davinci_002", - TextCurie001: "text_curie_001", - TextBabbage001: "text_babbage_001", - TextAda001: "text_ada_001", -} as const; diff --git a/src/api/types/SocialLookupEmailPageRequest.ts b/src/api/types/SocialLookupEmailPageRequest.ts deleted file mode 100644 index f6d53d7..0000000 --- a/src/api/types/SocialLookupEmailPageRequest.ts +++ /dev/null @@ -1,21 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as Gooey from "../index"; - -export interface SocialLookupEmailPageRequest { - functions?: Gooey.RecipeFunction[]; - /** Variables to be used as Jinja prompt templates and in functions as arguments */ - variables?: Record; - emailAddress: string; - inputPrompt?: string; - selectedModel?: Gooey.SocialLookupEmailPageRequestSelectedModel; - avoidRepetition?: boolean; - numOutputs?: number; - quality?: number; - maxTokens?: number; - samplingTemperature?: number; - responseFormatType?: Gooey.SocialLookupEmailPageRequestResponseFormatType; - settings?: Gooey.RunSettings; -} diff --git a/src/api/types/SocialLookupEmailPageRequestResponseFormatType.ts b/src/api/types/SocialLookupEmailPageRequestResponseFormatType.ts deleted file mode 100644 index 202d1c6..0000000 --- a/src/api/types/SocialLookupEmailPageRequestResponseFormatType.ts +++ /dev/null @@ -1,10 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type SocialLookupEmailPageRequestResponseFormatType = "text" | "json_object"; - -export const SocialLookupEmailPageRequestResponseFormatType = { - Text: "text", - JsonObject: "json_object", -} as const; diff --git a/src/api/types/SocialLookupEmailPageRequestSelectedModel.ts b/src/api/types/SocialLookupEmailPageRequestSelectedModel.ts deleted file mode 100644 index 31b886a..0000000 --- a/src/api/types/SocialLookupEmailPageRequestSelectedModel.ts +++ /dev/null @@ -1,84 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type SocialLookupEmailPageRequestSelectedModel = - | "gpt_4_o" - | "gpt_4_o_mini" - | "chatgpt_4_o" - | "gpt_4_turbo_vision" - | "gpt_4_vision" - | "gpt_4_turbo" - | "gpt_4" - | "gpt_4_32k" - | "gpt_3_5_turbo" - | "gpt_3_5_turbo_16k" - | "gpt_3_5_turbo_instruct" - | "llama3_70b" - | "llama_3_groq_70b_tool_use" - | "llama3_8b" - | "llama_3_groq_8b_tool_use" - | "llama2_70b_chat" - | "mixtral_8x7b_instruct_0_1" - | "gemma_2_9b_it" - | "gemma_7b_it" - | "gemini_1_5_flash" - | "gemini_1_5_pro" - | "gemini_1_pro_vision" - | "gemini_1_pro" - | "palm2_chat" - | "palm2_text" - | "claude_3_5_sonnet" - | "claude_3_opus" - | "claude_3_sonnet" - | "claude_3_haiku" - | "sea_lion_7b_instruct" - | "llama3_8b_cpt_sea_lion_v2_instruct" - | "sarvam_2b" - | "text_davinci_003" - | "text_davinci_002" - | "code_davinci_002" - | "text_curie_001" - | "text_babbage_001" - | "text_ada_001"; - -export const SocialLookupEmailPageRequestSelectedModel = { - Gpt4O: "gpt_4_o", - Gpt4OMini: "gpt_4_o_mini", - Chatgpt4O: "chatgpt_4_o", - Gpt4TurboVision: "gpt_4_turbo_vision", - Gpt4Vision: "gpt_4_vision", - Gpt4Turbo: "gpt_4_turbo", - Gpt4: "gpt_4", - Gpt432K: "gpt_4_32k", - Gpt35Turbo: "gpt_3_5_turbo", - Gpt35Turbo16K: "gpt_3_5_turbo_16k", - Gpt35TurboInstruct: "gpt_3_5_turbo_instruct", - Llama370B: "llama3_70b", - Llama3Groq70BToolUse: "llama_3_groq_70b_tool_use", - Llama38B: "llama3_8b", - Llama3Groq8BToolUse: "llama_3_groq_8b_tool_use", - Llama270BChat: "llama2_70b_chat", - Mixtral8X7BInstruct01: "mixtral_8x7b_instruct_0_1", - Gemma29BIt: "gemma_2_9b_it", - Gemma7BIt: "gemma_7b_it", - Gemini15Flash: "gemini_1_5_flash", - Gemini15Pro: "gemini_1_5_pro", - Gemini1ProVision: "gemini_1_pro_vision", - Gemini1Pro: "gemini_1_pro", - Palm2Chat: "palm2_chat", - Palm2Text: "palm2_text", - Claude35Sonnet: "claude_3_5_sonnet", - Claude3Opus: "claude_3_opus", - Claude3Sonnet: "claude_3_sonnet", - Claude3Haiku: "claude_3_haiku", - SeaLion7BInstruct: "sea_lion_7b_instruct", - Llama38BCptSeaLionV2Instruct: "llama3_8b_cpt_sea_lion_v2_instruct", - Sarvam2B: "sarvam_2b", - TextDavinci003: "text_davinci_003", - TextDavinci002: "text_davinci_002", - CodeDavinci002: "code_davinci_002", - TextCurie001: "text_curie_001", - TextBabbage001: "text_babbage_001", - TextAda001: "text_ada_001", -} as const; diff --git a/src/api/types/Text2AudioPageRequest.ts b/src/api/types/Text2AudioPageRequest.ts deleted file mode 100644 index f7e1415..0000000 --- a/src/api/types/Text2AudioPageRequest.ts +++ /dev/null @@ -1,21 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as Gooey from "../index"; - -export interface Text2AudioPageRequest { - functions?: Gooey.RecipeFunction[]; - /** Variables to be used as Jinja prompt templates and in functions as arguments */ - variables?: Record; - textPrompt: string; - negativePrompt?: string; - durationSec?: number; - numOutputs?: number; - quality?: number; - guidanceScale?: number; - seed?: number; - sd2Upscaling?: boolean; - selectedModels?: "audio_ldm"[]; - settings?: Gooey.RunSettings; -} diff --git a/src/api/types/TextToSpeechPageRequest.ts b/src/api/types/TextToSpeechPageRequest.ts deleted file mode 100644 index d824937..0000000 --- a/src/api/types/TextToSpeechPageRequest.ts +++ /dev/null @@ -1,32 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as Gooey from "../index"; - -export interface TextToSpeechPageRequest { - functions?: Gooey.RecipeFunction[]; - /** Variables to be used as Jinja prompt templates and in functions as arguments */ - variables?: Record; - textPrompt: string; - ttsProvider?: Gooey.TextToSpeechPageRequestTtsProvider; - uberduckVoiceName?: string; - uberduckSpeakingRate?: number; - googleVoiceName?: string; - googleSpeakingRate?: number; - googlePitch?: number; - barkHistoryPrompt?: string; - /** Use `elevenlabs_voice_id` instead */ - elevenlabsVoiceName?: string; - elevenlabsApiKey?: string; - elevenlabsVoiceId?: string; - elevenlabsModel?: string; - elevenlabsStability?: number; - elevenlabsSimilarityBoost?: number; - elevenlabsStyle?: number; - elevenlabsSpeakerBoost?: boolean; - azureVoiceName?: string; - openaiVoiceName?: Gooey.TextToSpeechPageRequestOpenaiVoiceName; - openaiTtsModel?: Gooey.TextToSpeechPageRequestOpenaiTtsModel; - settings?: Gooey.RunSettings; -} diff --git a/src/api/types/TextToSpeechPageRequestOpenaiTtsModel.ts b/src/api/types/TextToSpeechPageRequestOpenaiTtsModel.ts deleted file mode 100644 index f775470..0000000 --- a/src/api/types/TextToSpeechPageRequestOpenaiTtsModel.ts +++ /dev/null @@ -1,10 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type TextToSpeechPageRequestOpenaiTtsModel = "tts_1" | "tts_1_hd"; - -export const TextToSpeechPageRequestOpenaiTtsModel = { - Tts1: "tts_1", - Tts1Hd: "tts_1_hd", -} as const; diff --git a/src/api/types/TextToSpeechPageRequestOpenaiVoiceName.ts b/src/api/types/TextToSpeechPageRequestOpenaiVoiceName.ts deleted file mode 100644 index 05af736..0000000 --- a/src/api/types/TextToSpeechPageRequestOpenaiVoiceName.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type TextToSpeechPageRequestOpenaiVoiceName = "alloy" | "echo" | "fable" | "onyx" | "nova" | "shimmer"; - -export const TextToSpeechPageRequestOpenaiVoiceName = { - Alloy: "alloy", - Echo: "echo", - Fable: "fable", - Onyx: "onyx", - Nova: "nova", - Shimmer: "shimmer", -} as const; diff --git a/src/api/types/TextToSpeechPageRequestTtsProvider.ts b/src/api/types/TextToSpeechPageRequestTtsProvider.ts deleted file mode 100644 index 0629bac..0000000 --- a/src/api/types/TextToSpeechPageRequestTtsProvider.ts +++ /dev/null @@ -1,20 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type TextToSpeechPageRequestTtsProvider = - | "GOOGLE_TTS" - | "ELEVEN_LABS" - | "UBERDUCK" - | "BARK" - | "AZURE_TTS" - | "OPEN_AI"; - -export const TextToSpeechPageRequestTtsProvider = { - GoogleTts: "GOOGLE_TTS", - ElevenLabs: "ELEVEN_LABS", - Uberduck: "UBERDUCK", - Bark: "BARK", - AzureTts: "AZURE_TTS", - OpenAi: "OPEN_AI", -} as const; diff --git a/src/api/types/TrainingDataModel.ts b/src/api/types/TrainingDataModel.ts deleted file mode 100644 index c3b93e9..0000000 --- a/src/api/types/TrainingDataModel.ts +++ /dev/null @@ -1,8 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export interface TrainingDataModel { - prompt: string; - completion: string; -} diff --git a/src/api/types/TranslationPageRequest.ts b/src/api/types/TranslationPageRequest.ts deleted file mode 100644 index a21002c..0000000 --- a/src/api/types/TranslationPageRequest.ts +++ /dev/null @@ -1,21 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as Gooey from "../index"; - -export interface TranslationPageRequest { - functions?: Gooey.RecipeFunction[]; - /** Variables to be used as Jinja prompt templates and in functions as arguments */ - variables?: Record; - texts?: string[]; - selectedModel?: Gooey.TranslationPageRequestSelectedModel; - translationSource?: string; - translationTarget?: string; - /** - * Provide a glossary to customize translation and improve accuracy of domain-specific terms. - * If not specified or invalid, no glossary will be used. Read about the expected format [here](https://docs.google.com/document/d/1TwzAvFmFYekloRKql2PXNPIyqCbsHRL8ZtnWkzAYrh8/edit?usp=sharing). - */ - glossaryDocument?: string; - settings?: Gooey.RunSettings; -} diff --git a/src/api/types/TranslationPageRequestSelectedModel.ts b/src/api/types/TranslationPageRequestSelectedModel.ts deleted file mode 100644 index 2d13368..0000000 --- a/src/api/types/TranslationPageRequestSelectedModel.ts +++ /dev/null @@ -1,10 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type TranslationPageRequestSelectedModel = "google" | "ghana_nlp"; - -export const TranslationPageRequestSelectedModel = { - Google: "google", - GhanaNlp: "ghana_nlp", -} as const; diff --git a/src/api/types/Vcard.ts b/src/api/types/Vcard.ts deleted file mode 100644 index b98ed0a..0000000 --- a/src/api/types/Vcard.ts +++ /dev/null @@ -1,32 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export interface Vcard { - formatName: string; - email?: string; - gender?: string; - birthdayYear?: number; - birthdayMonth?: number; - birthdayDay?: number; - familyName?: string; - givenName?: string; - middleNames?: string; - honorificPrefixes?: string; - honorificSuffixes?: string; - impp?: string; - address?: string; - calendarUrl?: string; - commaSeparatedCategories?: string; - kind?: string; - language?: string; - organization?: string; - photoUrl?: string; - logoUrl?: string; - role?: string; - timezone?: string; - jobTitle?: string; - urls?: string[]; - tel?: string; - note?: string; -} diff --git a/src/api/types/VideoBotsPageRequest.ts b/src/api/types/VideoBotsPageRequest.ts deleted file mode 100644 index a286787..0000000 --- a/src/api/types/VideoBotsPageRequest.ts +++ /dev/null @@ -1,83 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as Gooey from "../index"; - -export interface VideoBotsPageRequest { - functions?: Gooey.RecipeFunction[]; - /** Variables to be used as Jinja prompt templates and in functions as arguments */ - variables?: Record; - inputPrompt?: string; - inputAudio?: string; - inputImages?: string[]; - inputDocuments?: string[]; - /** Select a workflow to extract text from documents and images. */ - docExtractUrl?: string; - messages?: Gooey.ConversationEntry[]; - botScript?: string; - selectedModel?: Gooey.VideoBotsPageRequestSelectedModel; - /** When your copilot users upload a photo or pdf, what kind of document are they mostly likely to upload? (via [Azure](https://learn.microsoft.com/en-us/azure/ai-services/document-intelligence/how-to-guides/use-sdk-rest-api?view=doc-intel-3.1.0&tabs=linux&pivots=programming-language-rest-api)) */ - documentModel?: string; - taskInstructions?: string; - queryInstructions?: string; - keywordInstructions?: string; - documents?: string[]; - maxReferences?: number; - maxContextWords?: number; - scrollJump?: number; - embeddingModel?: Gooey.VideoBotsPageRequestEmbeddingModel; - /** - * Weightage for dense vs sparse embeddings. `0` for sparse, `1` for dense, `0.5` for equal weight. - * Generally speaking, dense embeddings excel at understanding the context of the query, whereas sparse vectors excel at keyword matches. - */ - denseWeight?: number; - citationStyle?: Gooey.VideoBotsPageRequestCitationStyle; - useUrlShortener?: boolean; - /** Choose a model to transcribe incoming audio messages to text. */ - asrModel?: Gooey.VideoBotsPageRequestAsrModel; - /** Choose a language to transcribe incoming audio messages to text. */ - asrLanguage?: string; - translationModel?: Gooey.VideoBotsPageRequestTranslationModel; - /** Choose a language to translate incoming text & audio messages to English and responses back to your selected language. Useful for low-resource languages. */ - userLanguage?: string; - /** Translation Glossary for User Langauge -> LLM Language (English) */ - inputGlossaryDocument?: string; - /** Translation Glossary for LLM Language (English) -> User Langauge */ - outputGlossaryDocument?: string; - lipsyncModel?: Gooey.VideoBotsPageRequestLipsyncModel; - /** Give your copilot superpowers by giving it access to tools. Powered by [Function calling](https://platform.openai.com/docs/guides/function-calling). */ - tools?: Gooey.LlmTools[]; - avoidRepetition?: boolean; - numOutputs?: number; - quality?: number; - maxTokens?: number; - samplingTemperature?: number; - responseFormatType?: Gooey.VideoBotsPageRequestResponseFormatType; - ttsProvider?: Gooey.VideoBotsPageRequestTtsProvider; - uberduckVoiceName?: string; - uberduckSpeakingRate?: number; - googleVoiceName?: string; - googleSpeakingRate?: number; - googlePitch?: number; - barkHistoryPrompt?: string; - /** Use `elevenlabs_voice_id` instead */ - elevenlabsVoiceName?: string; - elevenlabsApiKey?: string; - elevenlabsVoiceId?: string; - elevenlabsModel?: string; - elevenlabsStability?: number; - elevenlabsSimilarityBoost?: number; - elevenlabsStyle?: number; - elevenlabsSpeakerBoost?: boolean; - azureVoiceName?: string; - openaiVoiceName?: Gooey.VideoBotsPageRequestOpenaiVoiceName; - openaiTtsModel?: Gooey.VideoBotsPageRequestOpenaiTtsModel; - inputFace?: string; - facePaddingTop?: number; - facePaddingBottom?: number; - facePaddingLeft?: number; - facePaddingRight?: number; - sadtalkerSettings?: Gooey.SadTalkerSettings; - settings?: Gooey.RunSettings; -} diff --git a/src/api/types/VideoBotsPageRequestAsrModel.ts b/src/api/types/VideoBotsPageRequestAsrModel.ts deleted file mode 100644 index 7437b3f..0000000 --- a/src/api/types/VideoBotsPageRequestAsrModel.ts +++ /dev/null @@ -1,39 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -/** - * Choose a model to transcribe incoming audio messages to text. - */ -export type VideoBotsPageRequestAsrModel = - | "whisper_large_v2" - | "whisper_large_v3" - | "whisper_hindi_large_v2" - | "whisper_telugu_large_v2" - | "nemo_english" - | "nemo_hindi" - | "vakyansh_bhojpuri" - | "gcp_v1" - | "usm" - | "deepgram" - | "azure" - | "seamless_m4t_v2" - | "mms_1b_all" - | "seamless_m4t"; - -export const VideoBotsPageRequestAsrModel = { - WhisperLargeV2: "whisper_large_v2", - WhisperLargeV3: "whisper_large_v3", - WhisperHindiLargeV2: "whisper_hindi_large_v2", - WhisperTeluguLargeV2: "whisper_telugu_large_v2", - NemoEnglish: "nemo_english", - NemoHindi: "nemo_hindi", - VakyanshBhojpuri: "vakyansh_bhojpuri", - GcpV1: "gcp_v1", - Usm: "usm", - Deepgram: "deepgram", - Azure: "azure", - SeamlessM4TV2: "seamless_m4t_v2", - Mms1BAll: "mms_1b_all", - SeamlessM4T: "seamless_m4t", -} as const; diff --git a/src/api/types/VideoBotsPageRequestCitationStyle.ts b/src/api/types/VideoBotsPageRequestCitationStyle.ts deleted file mode 100644 index 58a7d44..0000000 --- a/src/api/types/VideoBotsPageRequestCitationStyle.ts +++ /dev/null @@ -1,40 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type VideoBotsPageRequestCitationStyle = - | "number" - | "title" - | "url" - | "symbol" - | "markdown" - | "html" - | "slack_mrkdwn" - | "plaintext" - | "number_markdown" - | "number_html" - | "number_slack_mrkdwn" - | "number_plaintext" - | "symbol_markdown" - | "symbol_html" - | "symbol_slack_mrkdwn" - | "symbol_plaintext"; - -export const VideoBotsPageRequestCitationStyle = { - Number: "number", - Title: "title", - Url: "url", - Symbol: "symbol", - Markdown: "markdown", - Html: "html", - SlackMrkdwn: "slack_mrkdwn", - Plaintext: "plaintext", - NumberMarkdown: "number_markdown", - NumberHtml: "number_html", - NumberSlackMrkdwn: "number_slack_mrkdwn", - NumberPlaintext: "number_plaintext", - SymbolMarkdown: "symbol_markdown", - SymbolHtml: "symbol_html", - SymbolSlackMrkdwn: "symbol_slack_mrkdwn", - SymbolPlaintext: "symbol_plaintext", -} as const; diff --git a/src/api/types/VideoBotsPageRequestEmbeddingModel.ts b/src/api/types/VideoBotsPageRequestEmbeddingModel.ts deleted file mode 100644 index 9250afd..0000000 --- a/src/api/types/VideoBotsPageRequestEmbeddingModel.ts +++ /dev/null @@ -1,26 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type VideoBotsPageRequestEmbeddingModel = - | "openai_3_large" - | "openai_3_small" - | "openai_ada_2" - | "e5_large_v2" - | "e5_base_v2" - | "multilingual_e5_base" - | "multilingual_e5_large" - | "gte_large" - | "gte_base"; - -export const VideoBotsPageRequestEmbeddingModel = { - Openai3Large: "openai_3_large", - Openai3Small: "openai_3_small", - OpenaiAda2: "openai_ada_2", - E5LargeV2: "e5_large_v2", - E5BaseV2: "e5_base_v2", - MultilingualE5Base: "multilingual_e5_base", - MultilingualE5Large: "multilingual_e5_large", - GteLarge: "gte_large", - GteBase: "gte_base", -} as const; diff --git a/src/api/types/VideoBotsPageRequestLipsyncModel.ts b/src/api/types/VideoBotsPageRequestLipsyncModel.ts deleted file mode 100644 index cc626d0..0000000 --- a/src/api/types/VideoBotsPageRequestLipsyncModel.ts +++ /dev/null @@ -1,10 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type VideoBotsPageRequestLipsyncModel = "Wav2Lip" | "SadTalker"; - -export const VideoBotsPageRequestLipsyncModel = { - Wav2Lip: "Wav2Lip", - SadTalker: "SadTalker", -} as const; diff --git a/src/api/types/VideoBotsPageRequestOpenaiTtsModel.ts b/src/api/types/VideoBotsPageRequestOpenaiTtsModel.ts deleted file mode 100644 index f35f452..0000000 --- a/src/api/types/VideoBotsPageRequestOpenaiTtsModel.ts +++ /dev/null @@ -1,10 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type VideoBotsPageRequestOpenaiTtsModel = "tts_1" | "tts_1_hd"; - -export const VideoBotsPageRequestOpenaiTtsModel = { - Tts1: "tts_1", - Tts1Hd: "tts_1_hd", -} as const; diff --git a/src/api/types/VideoBotsPageRequestOpenaiVoiceName.ts b/src/api/types/VideoBotsPageRequestOpenaiVoiceName.ts deleted file mode 100644 index 197ce47..0000000 --- a/src/api/types/VideoBotsPageRequestOpenaiVoiceName.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type VideoBotsPageRequestOpenaiVoiceName = "alloy" | "echo" | "fable" | "onyx" | "nova" | "shimmer"; - -export const VideoBotsPageRequestOpenaiVoiceName = { - Alloy: "alloy", - Echo: "echo", - Fable: "fable", - Onyx: "onyx", - Nova: "nova", - Shimmer: "shimmer", -} as const; diff --git a/src/api/types/VideoBotsPageRequestResponseFormatType.ts b/src/api/types/VideoBotsPageRequestResponseFormatType.ts deleted file mode 100644 index 22db7fa..0000000 --- a/src/api/types/VideoBotsPageRequestResponseFormatType.ts +++ /dev/null @@ -1,10 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type VideoBotsPageRequestResponseFormatType = "text" | "json_object"; - -export const VideoBotsPageRequestResponseFormatType = { - Text: "text", - JsonObject: "json_object", -} as const; diff --git a/src/api/types/VideoBotsPageRequestSelectedModel.ts b/src/api/types/VideoBotsPageRequestSelectedModel.ts deleted file mode 100644 index acc163e..0000000 --- a/src/api/types/VideoBotsPageRequestSelectedModel.ts +++ /dev/null @@ -1,84 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type VideoBotsPageRequestSelectedModel = - | "gpt_4_o" - | "gpt_4_o_mini" - | "chatgpt_4_o" - | "gpt_4_turbo_vision" - | "gpt_4_vision" - | "gpt_4_turbo" - | "gpt_4" - | "gpt_4_32k" - | "gpt_3_5_turbo" - | "gpt_3_5_turbo_16k" - | "gpt_3_5_turbo_instruct" - | "llama3_70b" - | "llama_3_groq_70b_tool_use" - | "llama3_8b" - | "llama_3_groq_8b_tool_use" - | "llama2_70b_chat" - | "mixtral_8x7b_instruct_0_1" - | "gemma_2_9b_it" - | "gemma_7b_it" - | "gemini_1_5_flash" - | "gemini_1_5_pro" - | "gemini_1_pro_vision" - | "gemini_1_pro" - | "palm2_chat" - | "palm2_text" - | "claude_3_5_sonnet" - | "claude_3_opus" - | "claude_3_sonnet" - | "claude_3_haiku" - | "sea_lion_7b_instruct" - | "llama3_8b_cpt_sea_lion_v2_instruct" - | "sarvam_2b" - | "text_davinci_003" - | "text_davinci_002" - | "code_davinci_002" - | "text_curie_001" - | "text_babbage_001" - | "text_ada_001"; - -export const VideoBotsPageRequestSelectedModel = { - Gpt4O: "gpt_4_o", - Gpt4OMini: "gpt_4_o_mini", - Chatgpt4O: "chatgpt_4_o", - Gpt4TurboVision: "gpt_4_turbo_vision", - Gpt4Vision: "gpt_4_vision", - Gpt4Turbo: "gpt_4_turbo", - Gpt4: "gpt_4", - Gpt432K: "gpt_4_32k", - Gpt35Turbo: "gpt_3_5_turbo", - Gpt35Turbo16K: "gpt_3_5_turbo_16k", - Gpt35TurboInstruct: "gpt_3_5_turbo_instruct", - Llama370B: "llama3_70b", - Llama3Groq70BToolUse: "llama_3_groq_70b_tool_use", - Llama38B: "llama3_8b", - Llama3Groq8BToolUse: "llama_3_groq_8b_tool_use", - Llama270BChat: "llama2_70b_chat", - Mixtral8X7BInstruct01: "mixtral_8x7b_instruct_0_1", - Gemma29BIt: "gemma_2_9b_it", - Gemma7BIt: "gemma_7b_it", - Gemini15Flash: "gemini_1_5_flash", - Gemini15Pro: "gemini_1_5_pro", - Gemini1ProVision: "gemini_1_pro_vision", - Gemini1Pro: "gemini_1_pro", - Palm2Chat: "palm2_chat", - Palm2Text: "palm2_text", - Claude35Sonnet: "claude_3_5_sonnet", - Claude3Opus: "claude_3_opus", - Claude3Sonnet: "claude_3_sonnet", - Claude3Haiku: "claude_3_haiku", - SeaLion7BInstruct: "sea_lion_7b_instruct", - Llama38BCptSeaLionV2Instruct: "llama3_8b_cpt_sea_lion_v2_instruct", - Sarvam2B: "sarvam_2b", - TextDavinci003: "text_davinci_003", - TextDavinci002: "text_davinci_002", - CodeDavinci002: "code_davinci_002", - TextCurie001: "text_curie_001", - TextBabbage001: "text_babbage_001", - TextAda001: "text_ada_001", -} as const; diff --git a/src/api/types/VideoBotsPageRequestTranslationModel.ts b/src/api/types/VideoBotsPageRequestTranslationModel.ts deleted file mode 100644 index 36fd5c6..0000000 --- a/src/api/types/VideoBotsPageRequestTranslationModel.ts +++ /dev/null @@ -1,10 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type VideoBotsPageRequestTranslationModel = "google" | "ghana_nlp"; - -export const VideoBotsPageRequestTranslationModel = { - Google: "google", - GhanaNlp: "ghana_nlp", -} as const; diff --git a/src/api/types/VideoBotsPageRequestTtsProvider.ts b/src/api/types/VideoBotsPageRequestTtsProvider.ts deleted file mode 100644 index 317bf7d..0000000 --- a/src/api/types/VideoBotsPageRequestTtsProvider.ts +++ /dev/null @@ -1,20 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type VideoBotsPageRequestTtsProvider = - | "GOOGLE_TTS" - | "ELEVEN_LABS" - | "UBERDUCK" - | "BARK" - | "AZURE_TTS" - | "OPEN_AI"; - -export const VideoBotsPageRequestTtsProvider = { - GoogleTts: "GOOGLE_TTS", - ElevenLabs: "ELEVEN_LABS", - Uberduck: "UBERDUCK", - Bark: "BARK", - AzureTts: "AZURE_TTS", - OpenAi: "OPEN_AI", -} as const; diff --git a/src/api/types/index.ts b/src/api/types/index.ts index 4c3de91..cc3a5e7 100644 --- a/src/api/types/index.ts +++ b/src/api/types/index.ts @@ -1,15 +1,9 @@ -export * from "./AggFunctionFunction"; -export * from "./AggFunction"; export * from "./AggFunctionResultFunction"; export * from "./AggFunctionResult"; export * from "./AsrChunk"; export * from "./AsrOutputJson"; export * from "./AsrPageOutputOutputTextItem"; export * from "./AsrPageOutput"; -export * from "./AsrPageRequestSelectedModel"; -export * from "./AsrPageRequestTranslationModel"; -export * from "./AsrPageRequestOutputFormat"; -export * from "./AsrPageRequest"; export * from "./AsrPageStatusResponse"; export * from "./AsyncApiResponseModelV3"; export * from "./BalanceResponse"; @@ -48,12 +42,8 @@ export * from "./BodyAsyncFormTranslate"; export * from "./BodyAsyncFormVideoBots"; export * from "./BotBroadcastFilters"; export * from "./BulkEvalPageOutput"; -export * from "./BulkEvalPageRequestSelectedModel"; -export * from "./BulkEvalPageRequestResponseFormatType"; -export * from "./BulkEvalPageRequest"; export * from "./BulkEvalPageStatusResponse"; export * from "./BulkRunnerPageOutput"; -export * from "./BulkRunnerPageRequest"; export * from "./BulkRunnerPageStatusResponse"; export * from "./ButtonPressed"; export * from "./CalledFunctionResponseTrigger"; @@ -61,21 +51,12 @@ export * from "./CalledFunctionResponse"; export * from "./ChatCompletionContentPartImageParam"; export * from "./ChatCompletionContentPartTextParam"; export * from "./ChyronPlantPageOutput"; -export * from "./ChyronPlantPageRequest"; export * from "./ChyronPlantPageStatusResponse"; export * from "./CompareLlmPageOutput"; -export * from "./CompareLlmPageRequestSelectedModelsItem"; -export * from "./CompareLlmPageRequestResponseFormatType"; -export * from "./CompareLlmPageRequest"; export * from "./CompareLlmPageStatusResponse"; export * from "./CompareText2ImgPageOutput"; -export * from "./CompareText2ImgPageRequestSelectedModelsItem"; -export * from "./CompareText2ImgPageRequestScheduler"; -export * from "./CompareText2ImgPageRequest"; export * from "./CompareText2ImgPageStatusResponse"; export * from "./CompareUpscalerPageOutput"; -export * from "./CompareUpscalerPageRequestSelectedModelsItem"; -export * from "./CompareUpscalerPageRequest"; export * from "./CompareUpscalerPageStatusResponse"; export * from "./ConsoleLogsLevel"; export * from "./ConsoleLogs"; @@ -86,101 +67,50 @@ export * from "./ConversationEntry"; export * from "./ConversationStart"; export * from "./CreateStreamResponse"; export * from "./DeforumSdPageOutput"; -export * from "./DeforumSdPageRequestSelectedModel"; -export * from "./DeforumSdPageRequest"; export * from "./DeforumSdPageStatusResponse"; export * from "./DocExtractPageOutput"; -export * from "./DocExtractPageRequestSelectedAsrModel"; -export * from "./DocExtractPageRequestSelectedModel"; -export * from "./DocExtractPageRequestResponseFormatType"; -export * from "./DocExtractPageRequest"; export * from "./DocExtractPageStatusResponse"; export * from "./DocSearchPageOutput"; -export * from "./DocSearchPageRequestKeywordQuery"; -export * from "./DocSearchPageRequestEmbeddingModel"; -export * from "./DocSearchPageRequestSelectedModel"; -export * from "./DocSearchPageRequestCitationStyle"; -export * from "./DocSearchPageRequestResponseFormatType"; -export * from "./DocSearchPageRequest"; export * from "./DocSearchPageStatusResponse"; export * from "./DocSummaryPageOutput"; -export * from "./DocSummaryPageRequestSelectedModel"; -export * from "./DocSummaryPageRequestSelectedAsrModel"; -export * from "./DocSummaryPageRequestResponseFormatType"; -export * from "./DocSummaryPageRequest"; export * from "./DocSummaryPageStatusResponse"; export * from "./EmailFaceInpaintingPageOutput"; -export * from "./EmailFaceInpaintingPageRequestSelectedModel"; -export * from "./EmailFaceInpaintingPageRequest"; export * from "./EmailFaceInpaintingPageStatusResponse"; export * from "./EmbeddingsPageOutput"; -export * from "./EmbeddingsPageRequestSelectedModel"; -export * from "./EmbeddingsPageRequest"; export * from "./EmbeddingsPageStatusResponse"; -export * from "./EvalPrompt"; export * from "./FaceInpaintingPageOutput"; -export * from "./FaceInpaintingPageRequestSelectedModel"; -export * from "./FaceInpaintingPageRequest"; export * from "./FaceInpaintingPageStatusResponse"; export * from "./FailedReponseModelV2"; export * from "./FailedResponseDetail"; export * from "./FinalResponse"; export * from "./FunctionsPageOutput"; -export * from "./FunctionsPageRequest"; export * from "./FunctionsPageStatusResponse"; export * from "./GenericErrorResponse"; export * from "./GenericErrorResponseDetail"; export * from "./GoogleGptPageOutput"; -export * from "./GoogleGptPageRequestSelectedModel"; -export * from "./GoogleGptPageRequestEmbeddingModel"; -export * from "./GoogleGptPageRequestResponseFormatType"; -export * from "./GoogleGptPageRequest"; export * from "./GoogleGptPageStatusResponse"; export * from "./GoogleImageGenPageOutput"; -export * from "./GoogleImageGenPageRequestSelectedModel"; -export * from "./GoogleImageGenPageRequest"; export * from "./GoogleImageGenPageStatusResponse"; export * from "./HttpValidationError"; export * from "./ImageSegmentationPageOutput"; -export * from "./ImageSegmentationPageRequestSelectedModel"; -export * from "./ImageSegmentationPageRequest"; export * from "./ImageSegmentationPageStatusResponse"; export * from "./ImageUrlDetail"; export * from "./ImageUrl"; export * from "./Img2ImgPageOutput"; -export * from "./Img2ImgPageRequestSelectedModel"; -export * from "./Img2ImgPageRequestSelectedControlnetModelItem"; -export * from "./Img2ImgPageRequestSelectedControlnetModel"; -export * from "./Img2ImgPageRequest"; export * from "./Img2ImgPageStatusResponse"; export * from "./LlmTools"; export * from "./LetterWriterPageOutput"; -export * from "./LetterWriterPageRequest"; export * from "./LetterWriterPageStatusResponse"; export * from "./LipsyncPageOutput"; -export * from "./LipsyncPageRequestSelectedModel"; -export * from "./LipsyncPageRequest"; export * from "./LipsyncPageStatusResponse"; export * from "./LipsyncTtsPageOutput"; -export * from "./LipsyncTtsPageRequestTtsProvider"; -export * from "./LipsyncTtsPageRequestOpenaiVoiceName"; -export * from "./LipsyncTtsPageRequestOpenaiTtsModel"; -export * from "./LipsyncTtsPageRequestSelectedModel"; -export * from "./LipsyncTtsPageRequest"; export * from "./LipsyncTtsPageStatusResponse"; export * from "./MessagePart"; export * from "./ObjectInpaintingPageOutput"; -export * from "./ObjectInpaintingPageRequestSelectedModel"; -export * from "./ObjectInpaintingPageRequest"; export * from "./ObjectInpaintingPageStatusResponse"; export * from "./PromptTreeNodePrompt"; export * from "./PromptTreeNode"; export * from "./QrCodeGeneratorPageOutput"; -export * from "./QrCodeGeneratorPageRequestImagePromptControlnetModelsItem"; -export * from "./QrCodeGeneratorPageRequestSelectedModel"; -export * from "./QrCodeGeneratorPageRequestSelectedControlnetModelItem"; -export * from "./QrCodeGeneratorPageRequestScheduler"; -export * from "./QrCodeGeneratorPageRequest"; export * from "./QrCodeGeneratorPageStatusResponse"; export * from "./RecipeFunctionTrigger"; export * from "./RecipeFunction"; @@ -188,77 +118,33 @@ export * from "./RecipeRunState"; export * from "./RelatedDocSearchResponse"; export * from "./RelatedGoogleGptResponse"; export * from "./RelatedQnADocPageOutput"; -export * from "./RelatedQnADocPageRequestKeywordQuery"; -export * from "./RelatedQnADocPageRequestEmbeddingModel"; -export * from "./RelatedQnADocPageRequestSelectedModel"; -export * from "./RelatedQnADocPageRequestCitationStyle"; -export * from "./RelatedQnADocPageRequestResponseFormatType"; -export * from "./RelatedQnADocPageRequest"; export * from "./RelatedQnADocPageStatusResponse"; export * from "./RelatedQnAPageOutput"; -export * from "./RelatedQnAPageRequestSelectedModel"; -export * from "./RelatedQnAPageRequestEmbeddingModel"; -export * from "./RelatedQnAPageRequestResponseFormatType"; -export * from "./RelatedQnAPageRequest"; export * from "./RelatedQnAPageStatusResponse"; export * from "./ReplyButton"; export * from "./ResponseModelFinalPrompt"; export * from "./ResponseModelFinalKeywordQuery"; export * from "./ResponseModel"; -export * from "./RunSettingsRetentionPolicy"; -export * from "./RunSettings"; export * from "./RunStart"; export * from "./SeoSummaryPageOutput"; -export * from "./SeoSummaryPageRequestSelectedModel"; -export * from "./SeoSummaryPageRequestResponseFormatType"; -export * from "./SeoSummaryPageRequest"; export * from "./SeoSummaryPageStatusResponse"; export * from "./SadTalkerSettingsPreprocess"; export * from "./SadTalkerSettings"; export * from "./SearchReference"; -export * from "./SerpSearchLocation"; -export * from "./SerpSearchType"; export * from "./SmartGptPageOutput"; -export * from "./SmartGptPageRequestSelectedModel"; -export * from "./SmartGptPageRequestResponseFormatType"; -export * from "./SmartGptPageRequest"; export * from "./SmartGptPageStatusResponse"; export * from "./SocialLookupEmailPageOutput"; -export * from "./SocialLookupEmailPageRequestSelectedModel"; -export * from "./SocialLookupEmailPageRequestResponseFormatType"; -export * from "./SocialLookupEmailPageRequest"; export * from "./SocialLookupEmailPageStatusResponse"; export * from "./StreamError"; export * from "./Text2AudioPageOutput"; -export * from "./Text2AudioPageRequest"; export * from "./Text2AudioPageStatusResponse"; export * from "./TextToSpeechPageOutput"; -export * from "./TextToSpeechPageRequestTtsProvider"; -export * from "./TextToSpeechPageRequestOpenaiVoiceName"; -export * from "./TextToSpeechPageRequestOpenaiTtsModel"; -export * from "./TextToSpeechPageRequest"; export * from "./TextToSpeechPageStatusResponse"; -export * from "./TrainingDataModel"; export * from "./TranslationPageOutput"; -export * from "./TranslationPageRequestSelectedModel"; -export * from "./TranslationPageRequest"; export * from "./TranslationPageStatusResponse"; -export * from "./Vcard"; export * from "./ValidationErrorLocItem"; export * from "./ValidationError"; export * from "./VideoBotsPageOutputFinalPrompt"; export * from "./VideoBotsPageOutputFinalKeywordQuery"; export * from "./VideoBotsPageOutput"; -export * from "./VideoBotsPageRequestSelectedModel"; -export * from "./VideoBotsPageRequestEmbeddingModel"; -export * from "./VideoBotsPageRequestCitationStyle"; -export * from "./VideoBotsPageRequestAsrModel"; -export * from "./VideoBotsPageRequestTranslationModel"; -export * from "./VideoBotsPageRequestLipsyncModel"; -export * from "./VideoBotsPageRequestResponseFormatType"; -export * from "./VideoBotsPageRequestTtsProvider"; -export * from "./VideoBotsPageRequestOpenaiVoiceName"; -export * from "./VideoBotsPageRequestOpenaiTtsModel"; -export * from "./VideoBotsPageRequest"; export * from "./VideoBotsPageStatusResponse"; -export * from "./AnimationPrompt"; diff --git a/src/serialization/types/AggFunction.ts b/src/serialization/types/AggFunction.ts deleted file mode 100644 index eadd747..0000000 --- a/src/serialization/types/AggFunction.ts +++ /dev/null @@ -1,21 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; -import { AggFunctionFunction } from "./AggFunctionFunction"; - -export const AggFunction: core.serialization.ObjectSchema = - core.serialization.object({ - column: core.serialization.string().optional(), - function: AggFunctionFunction, - }); - -export declare namespace AggFunction { - interface Raw { - column?: string | null; - function: AggFunctionFunction.Raw; - } -} diff --git a/src/serialization/types/AggFunctionFunction.ts b/src/serialization/types/AggFunctionFunction.ts deleted file mode 100644 index cfa660e..0000000 --- a/src/serialization/types/AggFunctionFunction.ts +++ /dev/null @@ -1,49 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const AggFunctionFunction: core.serialization.Schema< - serializers.AggFunctionFunction.Raw, - Gooey.AggFunctionFunction -> = core.serialization.enum_([ - "mean", - "median", - "min", - "max", - "sum", - "cumsum", - "prod", - "cumprod", - "std", - "var", - "first", - "last", - "count", - "cumcount", - "nunique", - "rank", -]); - -export declare namespace AggFunctionFunction { - type Raw = - | "mean" - | "median" - | "min" - | "max" - | "sum" - | "cumsum" - | "prod" - | "cumprod" - | "std" - | "var" - | "first" - | "last" - | "count" - | "cumcount" - | "nunique" - | "rank"; -} diff --git a/src/serialization/types/AnimationPrompt.ts b/src/serialization/types/AnimationPrompt.ts deleted file mode 100644 index 7d69858..0000000 --- a/src/serialization/types/AnimationPrompt.ts +++ /dev/null @@ -1,20 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const AnimationPrompt: core.serialization.ObjectSchema = - core.serialization.object({ - frame: core.serialization.string(), - prompt: core.serialization.string(), - }); - -export declare namespace AnimationPrompt { - interface Raw { - frame: string; - prompt: string; - } -} diff --git a/src/serialization/types/AsrPageRequest.ts b/src/serialization/types/AsrPageRequest.ts deleted file mode 100644 index 821416f..0000000 --- a/src/serialization/types/AsrPageRequest.ts +++ /dev/null @@ -1,48 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; -import { RecipeFunction } from "./RecipeFunction"; -import { AsrPageRequestSelectedModel } from "./AsrPageRequestSelectedModel"; -import { AsrPageRequestTranslationModel } from "./AsrPageRequestTranslationModel"; -import { AsrPageRequestOutputFormat } from "./AsrPageRequestOutputFormat"; -import { RunSettings } from "./RunSettings"; - -export const AsrPageRequest: core.serialization.ObjectSchema = - core.serialization.object({ - functions: core.serialization.list(RecipeFunction).optional(), - variables: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(), - documents: core.serialization.list(core.serialization.string()), - selectedModel: core.serialization.property("selected_model", AsrPageRequestSelectedModel.optional()), - language: core.serialization.string().optional(), - translationModel: core.serialization.property("translation_model", AsrPageRequestTranslationModel.optional()), - outputFormat: core.serialization.property("output_format", AsrPageRequestOutputFormat.optional()), - googleTranslateTarget: core.serialization.property( - "google_translate_target", - core.serialization.string().optional() - ), - translationSource: core.serialization.property("translation_source", core.serialization.string().optional()), - translationTarget: core.serialization.property("translation_target", core.serialization.string().optional()), - glossaryDocument: core.serialization.property("glossary_document", core.serialization.string().optional()), - settings: RunSettings.optional(), - }); - -export declare namespace AsrPageRequest { - interface Raw { - functions?: RecipeFunction.Raw[] | null; - variables?: Record | null; - documents: string[]; - selected_model?: AsrPageRequestSelectedModel.Raw | null; - language?: string | null; - translation_model?: AsrPageRequestTranslationModel.Raw | null; - output_format?: AsrPageRequestOutputFormat.Raw | null; - google_translate_target?: string | null; - translation_source?: string | null; - translation_target?: string | null; - glossary_document?: string | null; - settings?: RunSettings.Raw | null; - } -} diff --git a/src/serialization/types/AsrPageRequestOutputFormat.ts b/src/serialization/types/AsrPageRequestOutputFormat.ts deleted file mode 100644 index 0d8e85a..0000000 --- a/src/serialization/types/AsrPageRequestOutputFormat.ts +++ /dev/null @@ -1,16 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const AsrPageRequestOutputFormat: core.serialization.Schema< - serializers.AsrPageRequestOutputFormat.Raw, - Gooey.AsrPageRequestOutputFormat -> = core.serialization.enum_(["text", "json", "srt", "vtt"]); - -export declare namespace AsrPageRequestOutputFormat { - type Raw = "text" | "json" | "srt" | "vtt"; -} diff --git a/src/serialization/types/AsrPageRequestSelectedModel.ts b/src/serialization/types/AsrPageRequestSelectedModel.ts deleted file mode 100644 index 0e2e13b..0000000 --- a/src/serialization/types/AsrPageRequestSelectedModel.ts +++ /dev/null @@ -1,45 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const AsrPageRequestSelectedModel: core.serialization.Schema< - serializers.AsrPageRequestSelectedModel.Raw, - Gooey.AsrPageRequestSelectedModel -> = core.serialization.enum_([ - "whisper_large_v2", - "whisper_large_v3", - "whisper_hindi_large_v2", - "whisper_telugu_large_v2", - "nemo_english", - "nemo_hindi", - "vakyansh_bhojpuri", - "gcp_v1", - "usm", - "deepgram", - "azure", - "seamless_m4t_v2", - "mms_1b_all", - "seamless_m4t", -]); - -export declare namespace AsrPageRequestSelectedModel { - type Raw = - | "whisper_large_v2" - | "whisper_large_v3" - | "whisper_hindi_large_v2" - | "whisper_telugu_large_v2" - | "nemo_english" - | "nemo_hindi" - | "vakyansh_bhojpuri" - | "gcp_v1" - | "usm" - | "deepgram" - | "azure" - | "seamless_m4t_v2" - | "mms_1b_all" - | "seamless_m4t"; -} diff --git a/src/serialization/types/AsrPageRequestTranslationModel.ts b/src/serialization/types/AsrPageRequestTranslationModel.ts deleted file mode 100644 index 07dc52a..0000000 --- a/src/serialization/types/AsrPageRequestTranslationModel.ts +++ /dev/null @@ -1,16 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const AsrPageRequestTranslationModel: core.serialization.Schema< - serializers.AsrPageRequestTranslationModel.Raw, - Gooey.AsrPageRequestTranslationModel -> = core.serialization.enum_(["google", "ghana_nlp"]); - -export declare namespace AsrPageRequestTranslationModel { - type Raw = "google" | "ghana_nlp"; -} diff --git a/src/serialization/types/BodyAsyncFormArtQrCode.ts b/src/serialization/types/BodyAsyncFormArtQrCode.ts index 98efa22..e114d59 100644 --- a/src/serialization/types/BodyAsyncFormArtQrCode.ts +++ b/src/serialization/types/BodyAsyncFormArtQrCode.ts @@ -5,17 +5,16 @@ import * as serializers from "../index"; import * as Gooey from "../../api/index"; import * as core from "../../core"; -import { QrCodeGeneratorPageRequest } from "./QrCodeGeneratorPageRequest"; export const BodyAsyncFormArtQrCode: core.serialization.ObjectSchema< serializers.BodyAsyncFormArtQrCode.Raw, Gooey.BodyAsyncFormArtQrCode > = core.serialization.object({ - pageRequestJson: core.serialization.property("page_request_json", QrCodeGeneratorPageRequest), + json: core.serialization.string(), }); export declare namespace BodyAsyncFormArtQrCode { interface Raw { - page_request_json: QrCodeGeneratorPageRequest.Raw; + json: string; } } diff --git a/src/serialization/types/BodyAsyncFormAsr.ts b/src/serialization/types/BodyAsyncFormAsr.ts index 1ab8964..1e89fc3 100644 --- a/src/serialization/types/BodyAsyncFormAsr.ts +++ b/src/serialization/types/BodyAsyncFormAsr.ts @@ -5,17 +5,16 @@ import * as serializers from "../index"; import * as Gooey from "../../api/index"; import * as core from "../../core"; -import { AsrPageRequest } from "./AsrPageRequest"; export const BodyAsyncFormAsr: core.serialization.ObjectSchema< serializers.BodyAsyncFormAsr.Raw, Gooey.BodyAsyncFormAsr > = core.serialization.object({ - pageRequestJson: core.serialization.property("page_request_json", AsrPageRequest), + json: core.serialization.string(), }); export declare namespace BodyAsyncFormAsr { interface Raw { - page_request_json: AsrPageRequest.Raw; + json: string; } } diff --git a/src/serialization/types/BodyAsyncFormBulkEval.ts b/src/serialization/types/BodyAsyncFormBulkEval.ts index 6d917ee..f0054fb 100644 --- a/src/serialization/types/BodyAsyncFormBulkEval.ts +++ b/src/serialization/types/BodyAsyncFormBulkEval.ts @@ -5,17 +5,16 @@ import * as serializers from "../index"; import * as Gooey from "../../api/index"; import * as core from "../../core"; -import { BulkEvalPageRequest } from "./BulkEvalPageRequest"; export const BodyAsyncFormBulkEval: core.serialization.ObjectSchema< serializers.BodyAsyncFormBulkEval.Raw, Gooey.BodyAsyncFormBulkEval > = core.serialization.object({ - pageRequestJson: core.serialization.property("page_request_json", BulkEvalPageRequest), + json: core.serialization.string(), }); export declare namespace BodyAsyncFormBulkEval { interface Raw { - page_request_json: BulkEvalPageRequest.Raw; + json: string; } } diff --git a/src/serialization/types/BodyAsyncFormBulkRunner.ts b/src/serialization/types/BodyAsyncFormBulkRunner.ts index 1654fdd..402889e 100644 --- a/src/serialization/types/BodyAsyncFormBulkRunner.ts +++ b/src/serialization/types/BodyAsyncFormBulkRunner.ts @@ -5,17 +5,16 @@ import * as serializers from "../index"; import * as Gooey from "../../api/index"; import * as core from "../../core"; -import { BulkRunnerPageRequest } from "./BulkRunnerPageRequest"; export const BodyAsyncFormBulkRunner: core.serialization.ObjectSchema< serializers.BodyAsyncFormBulkRunner.Raw, Gooey.BodyAsyncFormBulkRunner > = core.serialization.object({ - pageRequestJson: core.serialization.property("page_request_json", BulkRunnerPageRequest), + json: core.serialization.string(), }); export declare namespace BodyAsyncFormBulkRunner { interface Raw { - page_request_json: BulkRunnerPageRequest.Raw; + json: string; } } diff --git a/src/serialization/types/BodyAsyncFormChyronPlant.ts b/src/serialization/types/BodyAsyncFormChyronPlant.ts index 21884ee..1014dff 100644 --- a/src/serialization/types/BodyAsyncFormChyronPlant.ts +++ b/src/serialization/types/BodyAsyncFormChyronPlant.ts @@ -5,17 +5,16 @@ import * as serializers from "../index"; import * as Gooey from "../../api/index"; import * as core from "../../core"; -import { ChyronPlantPageRequest } from "./ChyronPlantPageRequest"; export const BodyAsyncFormChyronPlant: core.serialization.ObjectSchema< serializers.BodyAsyncFormChyronPlant.Raw, Gooey.BodyAsyncFormChyronPlant > = core.serialization.object({ - pageRequestJson: core.serialization.property("page_request_json", ChyronPlantPageRequest), + json: core.serialization.string(), }); export declare namespace BodyAsyncFormChyronPlant { interface Raw { - page_request_json: ChyronPlantPageRequest.Raw; + json: string; } } diff --git a/src/serialization/types/BodyAsyncFormCompareAiUpscalers.ts b/src/serialization/types/BodyAsyncFormCompareAiUpscalers.ts index 133c5f8..ae3b97f 100644 --- a/src/serialization/types/BodyAsyncFormCompareAiUpscalers.ts +++ b/src/serialization/types/BodyAsyncFormCompareAiUpscalers.ts @@ -5,17 +5,16 @@ import * as serializers from "../index"; import * as Gooey from "../../api/index"; import * as core from "../../core"; -import { CompareUpscalerPageRequest } from "./CompareUpscalerPageRequest"; export const BodyAsyncFormCompareAiUpscalers: core.serialization.ObjectSchema< serializers.BodyAsyncFormCompareAiUpscalers.Raw, Gooey.BodyAsyncFormCompareAiUpscalers > = core.serialization.object({ - pageRequestJson: core.serialization.property("page_request_json", CompareUpscalerPageRequest), + json: core.serialization.string(), }); export declare namespace BodyAsyncFormCompareAiUpscalers { interface Raw { - page_request_json: CompareUpscalerPageRequest.Raw; + json: string; } } diff --git a/src/serialization/types/BodyAsyncFormCompareLlm.ts b/src/serialization/types/BodyAsyncFormCompareLlm.ts index fd61012..b1b3410 100644 --- a/src/serialization/types/BodyAsyncFormCompareLlm.ts +++ b/src/serialization/types/BodyAsyncFormCompareLlm.ts @@ -5,17 +5,16 @@ import * as serializers from "../index"; import * as Gooey from "../../api/index"; import * as core from "../../core"; -import { CompareLlmPageRequest } from "./CompareLlmPageRequest"; export const BodyAsyncFormCompareLlm: core.serialization.ObjectSchema< serializers.BodyAsyncFormCompareLlm.Raw, Gooey.BodyAsyncFormCompareLlm > = core.serialization.object({ - pageRequestJson: core.serialization.property("page_request_json", CompareLlmPageRequest), + json: core.serialization.string(), }); export declare namespace BodyAsyncFormCompareLlm { interface Raw { - page_request_json: CompareLlmPageRequest.Raw; + json: string; } } diff --git a/src/serialization/types/BodyAsyncFormCompareText2Img.ts b/src/serialization/types/BodyAsyncFormCompareText2Img.ts index 6c14eec..f619ece 100644 --- a/src/serialization/types/BodyAsyncFormCompareText2Img.ts +++ b/src/serialization/types/BodyAsyncFormCompareText2Img.ts @@ -5,17 +5,16 @@ import * as serializers from "../index"; import * as Gooey from "../../api/index"; import * as core from "../../core"; -import { CompareText2ImgPageRequest } from "./CompareText2ImgPageRequest"; export const BodyAsyncFormCompareText2Img: core.serialization.ObjectSchema< serializers.BodyAsyncFormCompareText2Img.Raw, Gooey.BodyAsyncFormCompareText2Img > = core.serialization.object({ - pageRequestJson: core.serialization.property("page_request_json", CompareText2ImgPageRequest), + json: core.serialization.string(), }); export declare namespace BodyAsyncFormCompareText2Img { interface Raw { - page_request_json: CompareText2ImgPageRequest.Raw; + json: string; } } diff --git a/src/serialization/types/BodyAsyncFormDeforumSd.ts b/src/serialization/types/BodyAsyncFormDeforumSd.ts index 8c3ea31..6fc8c5b 100644 --- a/src/serialization/types/BodyAsyncFormDeforumSd.ts +++ b/src/serialization/types/BodyAsyncFormDeforumSd.ts @@ -5,17 +5,16 @@ import * as serializers from "../index"; import * as Gooey from "../../api/index"; import * as core from "../../core"; -import { DeforumSdPageRequest } from "./DeforumSdPageRequest"; export const BodyAsyncFormDeforumSd: core.serialization.ObjectSchema< serializers.BodyAsyncFormDeforumSd.Raw, Gooey.BodyAsyncFormDeforumSd > = core.serialization.object({ - pageRequestJson: core.serialization.property("page_request_json", DeforumSdPageRequest), + json: core.serialization.string(), }); export declare namespace BodyAsyncFormDeforumSd { interface Raw { - page_request_json: DeforumSdPageRequest.Raw; + json: string; } } diff --git a/src/serialization/types/BodyAsyncFormDocExtract.ts b/src/serialization/types/BodyAsyncFormDocExtract.ts index 619b3e7..c4a4855 100644 --- a/src/serialization/types/BodyAsyncFormDocExtract.ts +++ b/src/serialization/types/BodyAsyncFormDocExtract.ts @@ -5,17 +5,16 @@ import * as serializers from "../index"; import * as Gooey from "../../api/index"; import * as core from "../../core"; -import { DocExtractPageRequest } from "./DocExtractPageRequest"; export const BodyAsyncFormDocExtract: core.serialization.ObjectSchema< serializers.BodyAsyncFormDocExtract.Raw, Gooey.BodyAsyncFormDocExtract > = core.serialization.object({ - pageRequestJson: core.serialization.property("page_request_json", DocExtractPageRequest), + json: core.serialization.string(), }); export declare namespace BodyAsyncFormDocExtract { interface Raw { - page_request_json: DocExtractPageRequest.Raw; + json: string; } } diff --git a/src/serialization/types/BodyAsyncFormDocSearch.ts b/src/serialization/types/BodyAsyncFormDocSearch.ts index 9319c27..60be659 100644 --- a/src/serialization/types/BodyAsyncFormDocSearch.ts +++ b/src/serialization/types/BodyAsyncFormDocSearch.ts @@ -5,17 +5,16 @@ import * as serializers from "../index"; import * as Gooey from "../../api/index"; import * as core from "../../core"; -import { DocSearchPageRequest } from "./DocSearchPageRequest"; export const BodyAsyncFormDocSearch: core.serialization.ObjectSchema< serializers.BodyAsyncFormDocSearch.Raw, Gooey.BodyAsyncFormDocSearch > = core.serialization.object({ - pageRequestJson: core.serialization.property("page_request_json", DocSearchPageRequest), + json: core.serialization.string(), }); export declare namespace BodyAsyncFormDocSearch { interface Raw { - page_request_json: DocSearchPageRequest.Raw; + json: string; } } diff --git a/src/serialization/types/BodyAsyncFormDocSummary.ts b/src/serialization/types/BodyAsyncFormDocSummary.ts index 6be462c..9146daa 100644 --- a/src/serialization/types/BodyAsyncFormDocSummary.ts +++ b/src/serialization/types/BodyAsyncFormDocSummary.ts @@ -5,17 +5,16 @@ import * as serializers from "../index"; import * as Gooey from "../../api/index"; import * as core from "../../core"; -import { DocSummaryPageRequest } from "./DocSummaryPageRequest"; export const BodyAsyncFormDocSummary: core.serialization.ObjectSchema< serializers.BodyAsyncFormDocSummary.Raw, Gooey.BodyAsyncFormDocSummary > = core.serialization.object({ - pageRequestJson: core.serialization.property("page_request_json", DocSummaryPageRequest), + json: core.serialization.string(), }); export declare namespace BodyAsyncFormDocSummary { interface Raw { - page_request_json: DocSummaryPageRequest.Raw; + json: string; } } diff --git a/src/serialization/types/BodyAsyncFormEmailFaceInpainting.ts b/src/serialization/types/BodyAsyncFormEmailFaceInpainting.ts index 5bf6b49..0eb0e8b 100644 --- a/src/serialization/types/BodyAsyncFormEmailFaceInpainting.ts +++ b/src/serialization/types/BodyAsyncFormEmailFaceInpainting.ts @@ -5,17 +5,16 @@ import * as serializers from "../index"; import * as Gooey from "../../api/index"; import * as core from "../../core"; -import { EmailFaceInpaintingPageRequest } from "./EmailFaceInpaintingPageRequest"; export const BodyAsyncFormEmailFaceInpainting: core.serialization.ObjectSchema< serializers.BodyAsyncFormEmailFaceInpainting.Raw, Gooey.BodyAsyncFormEmailFaceInpainting > = core.serialization.object({ - pageRequestJson: core.serialization.property("page_request_json", EmailFaceInpaintingPageRequest), + json: core.serialization.string(), }); export declare namespace BodyAsyncFormEmailFaceInpainting { interface Raw { - page_request_json: EmailFaceInpaintingPageRequest.Raw; + json: string; } } diff --git a/src/serialization/types/BodyAsyncFormEmbeddings.ts b/src/serialization/types/BodyAsyncFormEmbeddings.ts index 787897b..3afceb4 100644 --- a/src/serialization/types/BodyAsyncFormEmbeddings.ts +++ b/src/serialization/types/BodyAsyncFormEmbeddings.ts @@ -5,17 +5,16 @@ import * as serializers from "../index"; import * as Gooey from "../../api/index"; import * as core from "../../core"; -import { EmbeddingsPageRequest } from "./EmbeddingsPageRequest"; export const BodyAsyncFormEmbeddings: core.serialization.ObjectSchema< serializers.BodyAsyncFormEmbeddings.Raw, Gooey.BodyAsyncFormEmbeddings > = core.serialization.object({ - pageRequestJson: core.serialization.property("page_request_json", EmbeddingsPageRequest), + json: core.serialization.string(), }); export declare namespace BodyAsyncFormEmbeddings { interface Raw { - page_request_json: EmbeddingsPageRequest.Raw; + json: string; } } diff --git a/src/serialization/types/BodyAsyncFormFaceInpainting.ts b/src/serialization/types/BodyAsyncFormFaceInpainting.ts index 420432b..8b4a672 100644 --- a/src/serialization/types/BodyAsyncFormFaceInpainting.ts +++ b/src/serialization/types/BodyAsyncFormFaceInpainting.ts @@ -5,17 +5,16 @@ import * as serializers from "../index"; import * as Gooey from "../../api/index"; import * as core from "../../core"; -import { FaceInpaintingPageRequest } from "./FaceInpaintingPageRequest"; export const BodyAsyncFormFaceInpainting: core.serialization.ObjectSchema< serializers.BodyAsyncFormFaceInpainting.Raw, Gooey.BodyAsyncFormFaceInpainting > = core.serialization.object({ - pageRequestJson: core.serialization.property("page_request_json", FaceInpaintingPageRequest), + json: core.serialization.string(), }); export declare namespace BodyAsyncFormFaceInpainting { interface Raw { - page_request_json: FaceInpaintingPageRequest.Raw; + json: string; } } diff --git a/src/serialization/types/BodyAsyncFormFunctions.ts b/src/serialization/types/BodyAsyncFormFunctions.ts index f57aaf3..1d79254 100644 --- a/src/serialization/types/BodyAsyncFormFunctions.ts +++ b/src/serialization/types/BodyAsyncFormFunctions.ts @@ -5,17 +5,16 @@ import * as serializers from "../index"; import * as Gooey from "../../api/index"; import * as core from "../../core"; -import { FunctionsPageRequest } from "./FunctionsPageRequest"; export const BodyAsyncFormFunctions: core.serialization.ObjectSchema< serializers.BodyAsyncFormFunctions.Raw, Gooey.BodyAsyncFormFunctions > = core.serialization.object({ - pageRequestJson: core.serialization.property("page_request_json", FunctionsPageRequest), + json: core.serialization.string(), }); export declare namespace BodyAsyncFormFunctions { interface Raw { - page_request_json: FunctionsPageRequest.Raw; + json: string; } } diff --git a/src/serialization/types/BodyAsyncFormGoogleGpt.ts b/src/serialization/types/BodyAsyncFormGoogleGpt.ts index fa6d02f..b37d382 100644 --- a/src/serialization/types/BodyAsyncFormGoogleGpt.ts +++ b/src/serialization/types/BodyAsyncFormGoogleGpt.ts @@ -5,17 +5,16 @@ import * as serializers from "../index"; import * as Gooey from "../../api/index"; import * as core from "../../core"; -import { GoogleGptPageRequest } from "./GoogleGptPageRequest"; export const BodyAsyncFormGoogleGpt: core.serialization.ObjectSchema< serializers.BodyAsyncFormGoogleGpt.Raw, Gooey.BodyAsyncFormGoogleGpt > = core.serialization.object({ - pageRequestJson: core.serialization.property("page_request_json", GoogleGptPageRequest), + json: core.serialization.string(), }); export declare namespace BodyAsyncFormGoogleGpt { interface Raw { - page_request_json: GoogleGptPageRequest.Raw; + json: string; } } diff --git a/src/serialization/types/BodyAsyncFormGoogleImageGen.ts b/src/serialization/types/BodyAsyncFormGoogleImageGen.ts index a1e0505..ffb66b6 100644 --- a/src/serialization/types/BodyAsyncFormGoogleImageGen.ts +++ b/src/serialization/types/BodyAsyncFormGoogleImageGen.ts @@ -5,17 +5,16 @@ import * as serializers from "../index"; import * as Gooey from "../../api/index"; import * as core from "../../core"; -import { GoogleImageGenPageRequest } from "./GoogleImageGenPageRequest"; export const BodyAsyncFormGoogleImageGen: core.serialization.ObjectSchema< serializers.BodyAsyncFormGoogleImageGen.Raw, Gooey.BodyAsyncFormGoogleImageGen > = core.serialization.object({ - pageRequestJson: core.serialization.property("page_request_json", GoogleImageGenPageRequest), + json: core.serialization.string(), }); export declare namespace BodyAsyncFormGoogleImageGen { interface Raw { - page_request_json: GoogleImageGenPageRequest.Raw; + json: string; } } diff --git a/src/serialization/types/BodyAsyncFormImageSegmentation.ts b/src/serialization/types/BodyAsyncFormImageSegmentation.ts index d3d2149..144796b 100644 --- a/src/serialization/types/BodyAsyncFormImageSegmentation.ts +++ b/src/serialization/types/BodyAsyncFormImageSegmentation.ts @@ -5,17 +5,16 @@ import * as serializers from "../index"; import * as Gooey from "../../api/index"; import * as core from "../../core"; -import { ImageSegmentationPageRequest } from "./ImageSegmentationPageRequest"; export const BodyAsyncFormImageSegmentation: core.serialization.ObjectSchema< serializers.BodyAsyncFormImageSegmentation.Raw, Gooey.BodyAsyncFormImageSegmentation > = core.serialization.object({ - pageRequestJson: core.serialization.property("page_request_json", ImageSegmentationPageRequest), + json: core.serialization.string(), }); export declare namespace BodyAsyncFormImageSegmentation { interface Raw { - page_request_json: ImageSegmentationPageRequest.Raw; + json: string; } } diff --git a/src/serialization/types/BodyAsyncFormImg2Img.ts b/src/serialization/types/BodyAsyncFormImg2Img.ts index 575d0ed..94d3255 100644 --- a/src/serialization/types/BodyAsyncFormImg2Img.ts +++ b/src/serialization/types/BodyAsyncFormImg2Img.ts @@ -5,17 +5,16 @@ import * as serializers from "../index"; import * as Gooey from "../../api/index"; import * as core from "../../core"; -import { Img2ImgPageRequest } from "./Img2ImgPageRequest"; export const BodyAsyncFormImg2Img: core.serialization.ObjectSchema< serializers.BodyAsyncFormImg2Img.Raw, Gooey.BodyAsyncFormImg2Img > = core.serialization.object({ - pageRequestJson: core.serialization.property("page_request_json", Img2ImgPageRequest), + json: core.serialization.string(), }); export declare namespace BodyAsyncFormImg2Img { interface Raw { - page_request_json: Img2ImgPageRequest.Raw; + json: string; } } diff --git a/src/serialization/types/BodyAsyncFormLetterWriter.ts b/src/serialization/types/BodyAsyncFormLetterWriter.ts index 40bd25d..e463d81 100644 --- a/src/serialization/types/BodyAsyncFormLetterWriter.ts +++ b/src/serialization/types/BodyAsyncFormLetterWriter.ts @@ -5,17 +5,16 @@ import * as serializers from "../index"; import * as Gooey from "../../api/index"; import * as core from "../../core"; -import { LetterWriterPageRequest } from "./LetterWriterPageRequest"; export const BodyAsyncFormLetterWriter: core.serialization.ObjectSchema< serializers.BodyAsyncFormLetterWriter.Raw, Gooey.BodyAsyncFormLetterWriter > = core.serialization.object({ - pageRequestJson: core.serialization.property("page_request_json", LetterWriterPageRequest), + json: core.serialization.string(), }); export declare namespace BodyAsyncFormLetterWriter { interface Raw { - page_request_json: LetterWriterPageRequest.Raw; + json: string; } } diff --git a/src/serialization/types/BodyAsyncFormLipsync.ts b/src/serialization/types/BodyAsyncFormLipsync.ts index fc452f2..e899ebc 100644 --- a/src/serialization/types/BodyAsyncFormLipsync.ts +++ b/src/serialization/types/BodyAsyncFormLipsync.ts @@ -5,17 +5,16 @@ import * as serializers from "../index"; import * as Gooey from "../../api/index"; import * as core from "../../core"; -import { LipsyncPageRequest } from "./LipsyncPageRequest"; export const BodyAsyncFormLipsync: core.serialization.ObjectSchema< serializers.BodyAsyncFormLipsync.Raw, Gooey.BodyAsyncFormLipsync > = core.serialization.object({ - pageRequestJson: core.serialization.property("page_request_json", LipsyncPageRequest), + json: core.serialization.string(), }); export declare namespace BodyAsyncFormLipsync { interface Raw { - page_request_json: LipsyncPageRequest.Raw; + json: string; } } diff --git a/src/serialization/types/BodyAsyncFormLipsyncTts.ts b/src/serialization/types/BodyAsyncFormLipsyncTts.ts index 32ece1e..84d704e 100644 --- a/src/serialization/types/BodyAsyncFormLipsyncTts.ts +++ b/src/serialization/types/BodyAsyncFormLipsyncTts.ts @@ -5,17 +5,16 @@ import * as serializers from "../index"; import * as Gooey from "../../api/index"; import * as core from "../../core"; -import { LipsyncTtsPageRequest } from "./LipsyncTtsPageRequest"; export const BodyAsyncFormLipsyncTts: core.serialization.ObjectSchema< serializers.BodyAsyncFormLipsyncTts.Raw, Gooey.BodyAsyncFormLipsyncTts > = core.serialization.object({ - pageRequestJson: core.serialization.property("page_request_json", LipsyncTtsPageRequest), + json: core.serialization.string(), }); export declare namespace BodyAsyncFormLipsyncTts { interface Raw { - page_request_json: LipsyncTtsPageRequest.Raw; + json: string; } } diff --git a/src/serialization/types/BodyAsyncFormObjectInpainting.ts b/src/serialization/types/BodyAsyncFormObjectInpainting.ts index 06a455f..2b7a80d 100644 --- a/src/serialization/types/BodyAsyncFormObjectInpainting.ts +++ b/src/serialization/types/BodyAsyncFormObjectInpainting.ts @@ -5,17 +5,16 @@ import * as serializers from "../index"; import * as Gooey from "../../api/index"; import * as core from "../../core"; -import { ObjectInpaintingPageRequest } from "./ObjectInpaintingPageRequest"; export const BodyAsyncFormObjectInpainting: core.serialization.ObjectSchema< serializers.BodyAsyncFormObjectInpainting.Raw, Gooey.BodyAsyncFormObjectInpainting > = core.serialization.object({ - pageRequestJson: core.serialization.property("page_request_json", ObjectInpaintingPageRequest), + json: core.serialization.string(), }); export declare namespace BodyAsyncFormObjectInpainting { interface Raw { - page_request_json: ObjectInpaintingPageRequest.Raw; + json: string; } } diff --git a/src/serialization/types/BodyAsyncFormRelatedQnaMaker.ts b/src/serialization/types/BodyAsyncFormRelatedQnaMaker.ts index 6759d56..f687916 100644 --- a/src/serialization/types/BodyAsyncFormRelatedQnaMaker.ts +++ b/src/serialization/types/BodyAsyncFormRelatedQnaMaker.ts @@ -5,17 +5,16 @@ import * as serializers from "../index"; import * as Gooey from "../../api/index"; import * as core from "../../core"; -import { RelatedQnAPageRequest } from "./RelatedQnAPageRequest"; export const BodyAsyncFormRelatedQnaMaker: core.serialization.ObjectSchema< serializers.BodyAsyncFormRelatedQnaMaker.Raw, Gooey.BodyAsyncFormRelatedQnaMaker > = core.serialization.object({ - pageRequestJson: core.serialization.property("page_request_json", RelatedQnAPageRequest), + json: core.serialization.string(), }); export declare namespace BodyAsyncFormRelatedQnaMaker { interface Raw { - page_request_json: RelatedQnAPageRequest.Raw; + json: string; } } diff --git a/src/serialization/types/BodyAsyncFormRelatedQnaMakerDoc.ts b/src/serialization/types/BodyAsyncFormRelatedQnaMakerDoc.ts index be30aca..f4f82ff 100644 --- a/src/serialization/types/BodyAsyncFormRelatedQnaMakerDoc.ts +++ b/src/serialization/types/BodyAsyncFormRelatedQnaMakerDoc.ts @@ -5,17 +5,16 @@ import * as serializers from "../index"; import * as Gooey from "../../api/index"; import * as core from "../../core"; -import { RelatedQnADocPageRequest } from "./RelatedQnADocPageRequest"; export const BodyAsyncFormRelatedQnaMakerDoc: core.serialization.ObjectSchema< serializers.BodyAsyncFormRelatedQnaMakerDoc.Raw, Gooey.BodyAsyncFormRelatedQnaMakerDoc > = core.serialization.object({ - pageRequestJson: core.serialization.property("page_request_json", RelatedQnADocPageRequest), + json: core.serialization.string(), }); export declare namespace BodyAsyncFormRelatedQnaMakerDoc { interface Raw { - page_request_json: RelatedQnADocPageRequest.Raw; + json: string; } } diff --git a/src/serialization/types/BodyAsyncFormSeoSummary.ts b/src/serialization/types/BodyAsyncFormSeoSummary.ts index 2c57a7e..e0f4757 100644 --- a/src/serialization/types/BodyAsyncFormSeoSummary.ts +++ b/src/serialization/types/BodyAsyncFormSeoSummary.ts @@ -5,17 +5,16 @@ import * as serializers from "../index"; import * as Gooey from "../../api/index"; import * as core from "../../core"; -import { SeoSummaryPageRequest } from "./SeoSummaryPageRequest"; export const BodyAsyncFormSeoSummary: core.serialization.ObjectSchema< serializers.BodyAsyncFormSeoSummary.Raw, Gooey.BodyAsyncFormSeoSummary > = core.serialization.object({ - pageRequestJson: core.serialization.property("page_request_json", SeoSummaryPageRequest), + json: core.serialization.string(), }); export declare namespace BodyAsyncFormSeoSummary { interface Raw { - page_request_json: SeoSummaryPageRequest.Raw; + json: string; } } diff --git a/src/serialization/types/BodyAsyncFormSmartGpt.ts b/src/serialization/types/BodyAsyncFormSmartGpt.ts index 09a2ffd..16b49fc 100644 --- a/src/serialization/types/BodyAsyncFormSmartGpt.ts +++ b/src/serialization/types/BodyAsyncFormSmartGpt.ts @@ -5,17 +5,16 @@ import * as serializers from "../index"; import * as Gooey from "../../api/index"; import * as core from "../../core"; -import { SmartGptPageRequest } from "./SmartGptPageRequest"; export const BodyAsyncFormSmartGpt: core.serialization.ObjectSchema< serializers.BodyAsyncFormSmartGpt.Raw, Gooey.BodyAsyncFormSmartGpt > = core.serialization.object({ - pageRequestJson: core.serialization.property("page_request_json", SmartGptPageRequest), + json: core.serialization.string(), }); export declare namespace BodyAsyncFormSmartGpt { interface Raw { - page_request_json: SmartGptPageRequest.Raw; + json: string; } } diff --git a/src/serialization/types/BodyAsyncFormSocialLookupEmail.ts b/src/serialization/types/BodyAsyncFormSocialLookupEmail.ts index c4ff219..54b6978 100644 --- a/src/serialization/types/BodyAsyncFormSocialLookupEmail.ts +++ b/src/serialization/types/BodyAsyncFormSocialLookupEmail.ts @@ -5,17 +5,16 @@ import * as serializers from "../index"; import * as Gooey from "../../api/index"; import * as core from "../../core"; -import { SocialLookupEmailPageRequest } from "./SocialLookupEmailPageRequest"; export const BodyAsyncFormSocialLookupEmail: core.serialization.ObjectSchema< serializers.BodyAsyncFormSocialLookupEmail.Raw, Gooey.BodyAsyncFormSocialLookupEmail > = core.serialization.object({ - pageRequestJson: core.serialization.property("page_request_json", SocialLookupEmailPageRequest), + json: core.serialization.string(), }); export declare namespace BodyAsyncFormSocialLookupEmail { interface Raw { - page_request_json: SocialLookupEmailPageRequest.Raw; + json: string; } } diff --git a/src/serialization/types/BodyAsyncFormText2Audio.ts b/src/serialization/types/BodyAsyncFormText2Audio.ts index 4ba93d0..cf51682 100644 --- a/src/serialization/types/BodyAsyncFormText2Audio.ts +++ b/src/serialization/types/BodyAsyncFormText2Audio.ts @@ -5,17 +5,16 @@ import * as serializers from "../index"; import * as Gooey from "../../api/index"; import * as core from "../../core"; -import { Text2AudioPageRequest } from "./Text2AudioPageRequest"; export const BodyAsyncFormText2Audio: core.serialization.ObjectSchema< serializers.BodyAsyncFormText2Audio.Raw, Gooey.BodyAsyncFormText2Audio > = core.serialization.object({ - pageRequestJson: core.serialization.property("page_request_json", Text2AudioPageRequest), + json: core.serialization.string(), }); export declare namespace BodyAsyncFormText2Audio { interface Raw { - page_request_json: Text2AudioPageRequest.Raw; + json: string; } } diff --git a/src/serialization/types/BodyAsyncFormTextToSpeech.ts b/src/serialization/types/BodyAsyncFormTextToSpeech.ts index a24388f..7e3d988 100644 --- a/src/serialization/types/BodyAsyncFormTextToSpeech.ts +++ b/src/serialization/types/BodyAsyncFormTextToSpeech.ts @@ -5,17 +5,16 @@ import * as serializers from "../index"; import * as Gooey from "../../api/index"; import * as core from "../../core"; -import { TextToSpeechPageRequest } from "./TextToSpeechPageRequest"; export const BodyAsyncFormTextToSpeech: core.serialization.ObjectSchema< serializers.BodyAsyncFormTextToSpeech.Raw, Gooey.BodyAsyncFormTextToSpeech > = core.serialization.object({ - pageRequestJson: core.serialization.property("page_request_json", TextToSpeechPageRequest), + json: core.serialization.string(), }); export declare namespace BodyAsyncFormTextToSpeech { interface Raw { - page_request_json: TextToSpeechPageRequest.Raw; + json: string; } } diff --git a/src/serialization/types/BodyAsyncFormTranslate.ts b/src/serialization/types/BodyAsyncFormTranslate.ts index 99097b0..df9a40b 100644 --- a/src/serialization/types/BodyAsyncFormTranslate.ts +++ b/src/serialization/types/BodyAsyncFormTranslate.ts @@ -5,17 +5,16 @@ import * as serializers from "../index"; import * as Gooey from "../../api/index"; import * as core from "../../core"; -import { TranslationPageRequest } from "./TranslationPageRequest"; export const BodyAsyncFormTranslate: core.serialization.ObjectSchema< serializers.BodyAsyncFormTranslate.Raw, Gooey.BodyAsyncFormTranslate > = core.serialization.object({ - pageRequestJson: core.serialization.property("page_request_json", TranslationPageRequest), + json: core.serialization.string(), }); export declare namespace BodyAsyncFormTranslate { interface Raw { - page_request_json: TranslationPageRequest.Raw; + json: string; } } diff --git a/src/serialization/types/BodyAsyncFormVideoBots.ts b/src/serialization/types/BodyAsyncFormVideoBots.ts index 475c52e..50bc14e 100644 --- a/src/serialization/types/BodyAsyncFormVideoBots.ts +++ b/src/serialization/types/BodyAsyncFormVideoBots.ts @@ -5,17 +5,16 @@ import * as serializers from "../index"; import * as Gooey from "../../api/index"; import * as core from "../../core"; -import { VideoBotsPageRequest } from "./VideoBotsPageRequest"; export const BodyAsyncFormVideoBots: core.serialization.ObjectSchema< serializers.BodyAsyncFormVideoBots.Raw, Gooey.BodyAsyncFormVideoBots > = core.serialization.object({ - pageRequestJson: core.serialization.property("page_request_json", VideoBotsPageRequest), + json: core.serialization.string(), }); export declare namespace BodyAsyncFormVideoBots { interface Raw { - page_request_json: VideoBotsPageRequest.Raw; + json: string; } } diff --git a/src/serialization/types/BulkEvalPageRequest.ts b/src/serialization/types/BulkEvalPageRequest.ts deleted file mode 100644 index dbf7c91..0000000 --- a/src/serialization/types/BulkEvalPageRequest.ts +++ /dev/null @@ -1,53 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; -import { RecipeFunction } from "./RecipeFunction"; -import { EvalPrompt } from "./EvalPrompt"; -import { AggFunction } from "./AggFunction"; -import { BulkEvalPageRequestSelectedModel } from "./BulkEvalPageRequestSelectedModel"; -import { BulkEvalPageRequestResponseFormatType } from "./BulkEvalPageRequestResponseFormatType"; -import { RunSettings } from "./RunSettings"; - -export const BulkEvalPageRequest: core.serialization.ObjectSchema< - serializers.BulkEvalPageRequest.Raw, - Gooey.BulkEvalPageRequest -> = core.serialization.object({ - functions: core.serialization.list(RecipeFunction).optional(), - variables: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(), - documents: core.serialization.list(core.serialization.string()), - evalPrompts: core.serialization.property("eval_prompts", core.serialization.list(EvalPrompt).optional()), - aggFunctions: core.serialization.property("agg_functions", core.serialization.list(AggFunction).optional()), - selectedModel: core.serialization.property("selected_model", BulkEvalPageRequestSelectedModel.optional()), - avoidRepetition: core.serialization.property("avoid_repetition", core.serialization.boolean().optional()), - numOutputs: core.serialization.property("num_outputs", core.serialization.number().optional()), - quality: core.serialization.number().optional(), - maxTokens: core.serialization.property("max_tokens", core.serialization.number().optional()), - samplingTemperature: core.serialization.property("sampling_temperature", core.serialization.number().optional()), - responseFormatType: core.serialization.property( - "response_format_type", - BulkEvalPageRequestResponseFormatType.optional() - ), - settings: RunSettings.optional(), -}); - -export declare namespace BulkEvalPageRequest { - interface Raw { - functions?: RecipeFunction.Raw[] | null; - variables?: Record | null; - documents: string[]; - eval_prompts?: EvalPrompt.Raw[] | null; - agg_functions?: AggFunction.Raw[] | null; - selected_model?: BulkEvalPageRequestSelectedModel.Raw | null; - avoid_repetition?: boolean | null; - num_outputs?: number | null; - quality?: number | null; - max_tokens?: number | null; - sampling_temperature?: number | null; - response_format_type?: BulkEvalPageRequestResponseFormatType.Raw | null; - settings?: RunSettings.Raw | null; - } -} diff --git a/src/serialization/types/BulkEvalPageRequestResponseFormatType.ts b/src/serialization/types/BulkEvalPageRequestResponseFormatType.ts deleted file mode 100644 index cf41629..0000000 --- a/src/serialization/types/BulkEvalPageRequestResponseFormatType.ts +++ /dev/null @@ -1,16 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const BulkEvalPageRequestResponseFormatType: core.serialization.Schema< - serializers.BulkEvalPageRequestResponseFormatType.Raw, - Gooey.BulkEvalPageRequestResponseFormatType -> = core.serialization.enum_(["text", "json_object"]); - -export declare namespace BulkEvalPageRequestResponseFormatType { - type Raw = "text" | "json_object"; -} diff --git a/src/serialization/types/BulkEvalPageRequestSelectedModel.ts b/src/serialization/types/BulkEvalPageRequestSelectedModel.ts deleted file mode 100644 index dc9b4d1..0000000 --- a/src/serialization/types/BulkEvalPageRequestSelectedModel.ts +++ /dev/null @@ -1,93 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const BulkEvalPageRequestSelectedModel: core.serialization.Schema< - serializers.BulkEvalPageRequestSelectedModel.Raw, - Gooey.BulkEvalPageRequestSelectedModel -> = core.serialization.enum_([ - "gpt_4_o", - "gpt_4_o_mini", - "chatgpt_4_o", - "gpt_4_turbo_vision", - "gpt_4_vision", - "gpt_4_turbo", - "gpt_4", - "gpt_4_32k", - "gpt_3_5_turbo", - "gpt_3_5_turbo_16k", - "gpt_3_5_turbo_instruct", - "llama3_70b", - "llama_3_groq_70b_tool_use", - "llama3_8b", - "llama_3_groq_8b_tool_use", - "llama2_70b_chat", - "mixtral_8x7b_instruct_0_1", - "gemma_2_9b_it", - "gemma_7b_it", - "gemini_1_5_flash", - "gemini_1_5_pro", - "gemini_1_pro_vision", - "gemini_1_pro", - "palm2_chat", - "palm2_text", - "claude_3_5_sonnet", - "claude_3_opus", - "claude_3_sonnet", - "claude_3_haiku", - "sea_lion_7b_instruct", - "llama3_8b_cpt_sea_lion_v2_instruct", - "sarvam_2b", - "text_davinci_003", - "text_davinci_002", - "code_davinci_002", - "text_curie_001", - "text_babbage_001", - "text_ada_001", -]); - -export declare namespace BulkEvalPageRequestSelectedModel { - type Raw = - | "gpt_4_o" - | "gpt_4_o_mini" - | "chatgpt_4_o" - | "gpt_4_turbo_vision" - | "gpt_4_vision" - | "gpt_4_turbo" - | "gpt_4" - | "gpt_4_32k" - | "gpt_3_5_turbo" - | "gpt_3_5_turbo_16k" - | "gpt_3_5_turbo_instruct" - | "llama3_70b" - | "llama_3_groq_70b_tool_use" - | "llama3_8b" - | "llama_3_groq_8b_tool_use" - | "llama2_70b_chat" - | "mixtral_8x7b_instruct_0_1" - | "gemma_2_9b_it" - | "gemma_7b_it" - | "gemini_1_5_flash" - | "gemini_1_5_pro" - | "gemini_1_pro_vision" - | "gemini_1_pro" - | "palm2_chat" - | "palm2_text" - | "claude_3_5_sonnet" - | "claude_3_opus" - | "claude_3_sonnet" - | "claude_3_haiku" - | "sea_lion_7b_instruct" - | "llama3_8b_cpt_sea_lion_v2_instruct" - | "sarvam_2b" - | "text_davinci_003" - | "text_davinci_002" - | "code_davinci_002" - | "text_curie_001" - | "text_babbage_001" - | "text_ada_001"; -} diff --git a/src/serialization/types/BulkRunnerPageRequest.ts b/src/serialization/types/BulkRunnerPageRequest.ts deleted file mode 100644 index 269dd85..0000000 --- a/src/serialization/types/BulkRunnerPageRequest.ts +++ /dev/null @@ -1,42 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; -import { RecipeFunction } from "./RecipeFunction"; -import { RunSettings } from "./RunSettings"; - -export const BulkRunnerPageRequest: core.serialization.ObjectSchema< - serializers.BulkRunnerPageRequest.Raw, - Gooey.BulkRunnerPageRequest -> = core.serialization.object({ - functions: core.serialization.list(RecipeFunction).optional(), - variables: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(), - documents: core.serialization.list(core.serialization.string()), - runUrls: core.serialization.property("run_urls", core.serialization.list(core.serialization.string())), - inputColumns: core.serialization.property( - "input_columns", - core.serialization.record(core.serialization.string(), core.serialization.string()) - ), - outputColumns: core.serialization.property( - "output_columns", - core.serialization.record(core.serialization.string(), core.serialization.string()) - ), - evalUrls: core.serialization.property("eval_urls", core.serialization.list(core.serialization.string()).optional()), - settings: RunSettings.optional(), -}); - -export declare namespace BulkRunnerPageRequest { - interface Raw { - functions?: RecipeFunction.Raw[] | null; - variables?: Record | null; - documents: string[]; - run_urls: string[]; - input_columns: Record; - output_columns: Record; - eval_urls?: string[] | null; - settings?: RunSettings.Raw | null; - } -} diff --git a/src/serialization/types/ChyronPlantPageRequest.ts b/src/serialization/types/ChyronPlantPageRequest.ts deleted file mode 100644 index 217f3da..0000000 --- a/src/serialization/types/ChyronPlantPageRequest.ts +++ /dev/null @@ -1,32 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; -import { RecipeFunction } from "./RecipeFunction"; -import { RunSettings } from "./RunSettings"; - -export const ChyronPlantPageRequest: core.serialization.ObjectSchema< - serializers.ChyronPlantPageRequest.Raw, - Gooey.ChyronPlantPageRequest -> = core.serialization.object({ - functions: core.serialization.list(RecipeFunction).optional(), - variables: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(), - midiNotes: core.serialization.property("midi_notes", core.serialization.string()), - midiNotesPrompt: core.serialization.property("midi_notes_prompt", core.serialization.string().optional()), - chyronPrompt: core.serialization.property("chyron_prompt", core.serialization.string().optional()), - settings: RunSettings.optional(), -}); - -export declare namespace ChyronPlantPageRequest { - interface Raw { - functions?: RecipeFunction.Raw[] | null; - variables?: Record | null; - midi_notes: string; - midi_notes_prompt?: string | null; - chyron_prompt?: string | null; - settings?: RunSettings.Raw | null; - } -} diff --git a/src/serialization/types/CompareLlmPageRequest.ts b/src/serialization/types/CompareLlmPageRequest.ts deleted file mode 100644 index 5a39a7f..0000000 --- a/src/serialization/types/CompareLlmPageRequest.ts +++ /dev/null @@ -1,50 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; -import { RecipeFunction } from "./RecipeFunction"; -import { CompareLlmPageRequestSelectedModelsItem } from "./CompareLlmPageRequestSelectedModelsItem"; -import { CompareLlmPageRequestResponseFormatType } from "./CompareLlmPageRequestResponseFormatType"; -import { RunSettings } from "./RunSettings"; - -export const CompareLlmPageRequest: core.serialization.ObjectSchema< - serializers.CompareLlmPageRequest.Raw, - Gooey.CompareLlmPageRequest -> = core.serialization.object({ - functions: core.serialization.list(RecipeFunction).optional(), - variables: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(), - inputPrompt: core.serialization.property("input_prompt", core.serialization.string().optional()), - selectedModels: core.serialization.property( - "selected_models", - core.serialization.list(CompareLlmPageRequestSelectedModelsItem).optional() - ), - avoidRepetition: core.serialization.property("avoid_repetition", core.serialization.boolean().optional()), - numOutputs: core.serialization.property("num_outputs", core.serialization.number().optional()), - quality: core.serialization.number().optional(), - maxTokens: core.serialization.property("max_tokens", core.serialization.number().optional()), - samplingTemperature: core.serialization.property("sampling_temperature", core.serialization.number().optional()), - responseFormatType: core.serialization.property( - "response_format_type", - CompareLlmPageRequestResponseFormatType.optional() - ), - settings: RunSettings.optional(), -}); - -export declare namespace CompareLlmPageRequest { - interface Raw { - functions?: RecipeFunction.Raw[] | null; - variables?: Record | null; - input_prompt?: string | null; - selected_models?: CompareLlmPageRequestSelectedModelsItem.Raw[] | null; - avoid_repetition?: boolean | null; - num_outputs?: number | null; - quality?: number | null; - max_tokens?: number | null; - sampling_temperature?: number | null; - response_format_type?: CompareLlmPageRequestResponseFormatType.Raw | null; - settings?: RunSettings.Raw | null; - } -} diff --git a/src/serialization/types/CompareLlmPageRequestResponseFormatType.ts b/src/serialization/types/CompareLlmPageRequestResponseFormatType.ts deleted file mode 100644 index ea3dabc..0000000 --- a/src/serialization/types/CompareLlmPageRequestResponseFormatType.ts +++ /dev/null @@ -1,16 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const CompareLlmPageRequestResponseFormatType: core.serialization.Schema< - serializers.CompareLlmPageRequestResponseFormatType.Raw, - Gooey.CompareLlmPageRequestResponseFormatType -> = core.serialization.enum_(["text", "json_object"]); - -export declare namespace CompareLlmPageRequestResponseFormatType { - type Raw = "text" | "json_object"; -} diff --git a/src/serialization/types/CompareLlmPageRequestSelectedModelsItem.ts b/src/serialization/types/CompareLlmPageRequestSelectedModelsItem.ts deleted file mode 100644 index 73e6e6f..0000000 --- a/src/serialization/types/CompareLlmPageRequestSelectedModelsItem.ts +++ /dev/null @@ -1,93 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const CompareLlmPageRequestSelectedModelsItem: core.serialization.Schema< - serializers.CompareLlmPageRequestSelectedModelsItem.Raw, - Gooey.CompareLlmPageRequestSelectedModelsItem -> = core.serialization.enum_([ - "gpt_4_o", - "gpt_4_o_mini", - "chatgpt_4_o", - "gpt_4_turbo_vision", - "gpt_4_vision", - "gpt_4_turbo", - "gpt_4", - "gpt_4_32k", - "gpt_3_5_turbo", - "gpt_3_5_turbo_16k", - "gpt_3_5_turbo_instruct", - "llama3_70b", - "llama_3_groq_70b_tool_use", - "llama3_8b", - "llama_3_groq_8b_tool_use", - "llama2_70b_chat", - "mixtral_8x7b_instruct_0_1", - "gemma_2_9b_it", - "gemma_7b_it", - "gemini_1_5_flash", - "gemini_1_5_pro", - "gemini_1_pro_vision", - "gemini_1_pro", - "palm2_chat", - "palm2_text", - "claude_3_5_sonnet", - "claude_3_opus", - "claude_3_sonnet", - "claude_3_haiku", - "sea_lion_7b_instruct", - "llama3_8b_cpt_sea_lion_v2_instruct", - "sarvam_2b", - "text_davinci_003", - "text_davinci_002", - "code_davinci_002", - "text_curie_001", - "text_babbage_001", - "text_ada_001", -]); - -export declare namespace CompareLlmPageRequestSelectedModelsItem { - type Raw = - | "gpt_4_o" - | "gpt_4_o_mini" - | "chatgpt_4_o" - | "gpt_4_turbo_vision" - | "gpt_4_vision" - | "gpt_4_turbo" - | "gpt_4" - | "gpt_4_32k" - | "gpt_3_5_turbo" - | "gpt_3_5_turbo_16k" - | "gpt_3_5_turbo_instruct" - | "llama3_70b" - | "llama_3_groq_70b_tool_use" - | "llama3_8b" - | "llama_3_groq_8b_tool_use" - | "llama2_70b_chat" - | "mixtral_8x7b_instruct_0_1" - | "gemma_2_9b_it" - | "gemma_7b_it" - | "gemini_1_5_flash" - | "gemini_1_5_pro" - | "gemini_1_pro_vision" - | "gemini_1_pro" - | "palm2_chat" - | "palm2_text" - | "claude_3_5_sonnet" - | "claude_3_opus" - | "claude_3_sonnet" - | "claude_3_haiku" - | "sea_lion_7b_instruct" - | "llama3_8b_cpt_sea_lion_v2_instruct" - | "sarvam_2b" - | "text_davinci_003" - | "text_davinci_002" - | "code_davinci_002" - | "text_curie_001" - | "text_babbage_001" - | "text_ada_001"; -} diff --git a/src/serialization/types/CompareText2ImgPageRequest.ts b/src/serialization/types/CompareText2ImgPageRequest.ts deleted file mode 100644 index 80bad8b..0000000 --- a/src/serialization/types/CompareText2ImgPageRequest.ts +++ /dev/null @@ -1,61 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; -import { RecipeFunction } from "./RecipeFunction"; -import { CompareText2ImgPageRequestSelectedModelsItem } from "./CompareText2ImgPageRequestSelectedModelsItem"; -import { CompareText2ImgPageRequestScheduler } from "./CompareText2ImgPageRequestScheduler"; -import { RunSettings } from "./RunSettings"; - -export const CompareText2ImgPageRequest: core.serialization.ObjectSchema< - serializers.CompareText2ImgPageRequest.Raw, - Gooey.CompareText2ImgPageRequest -> = core.serialization.object({ - functions: core.serialization.list(RecipeFunction).optional(), - variables: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(), - textPrompt: core.serialization.property("text_prompt", core.serialization.string()), - negativePrompt: core.serialization.property("negative_prompt", core.serialization.string().optional()), - outputWidth: core.serialization.property("output_width", core.serialization.number().optional()), - outputHeight: core.serialization.property("output_height", core.serialization.number().optional()), - numOutputs: core.serialization.property("num_outputs", core.serialization.number().optional()), - quality: core.serialization.number().optional(), - dallE3Quality: core.serialization.property("dall_e_3_quality", core.serialization.string().optional()), - dallE3Style: core.serialization.property("dall_e_3_style", core.serialization.string().optional()), - guidanceScale: core.serialization.property("guidance_scale", core.serialization.number().optional()), - seed: core.serialization.number().optional(), - sd2Upscaling: core.serialization.property("sd_2_upscaling", core.serialization.boolean().optional()), - selectedModels: core.serialization.property( - "selected_models", - core.serialization.list(CompareText2ImgPageRequestSelectedModelsItem).optional() - ), - scheduler: CompareText2ImgPageRequestScheduler.optional(), - editInstruction: core.serialization.property("edit_instruction", core.serialization.string().optional()), - imageGuidanceScale: core.serialization.property("image_guidance_scale", core.serialization.number().optional()), - settings: RunSettings.optional(), -}); - -export declare namespace CompareText2ImgPageRequest { - interface Raw { - functions?: RecipeFunction.Raw[] | null; - variables?: Record | null; - text_prompt: string; - negative_prompt?: string | null; - output_width?: number | null; - output_height?: number | null; - num_outputs?: number | null; - quality?: number | null; - dall_e_3_quality?: string | null; - dall_e_3_style?: string | null; - guidance_scale?: number | null; - seed?: number | null; - sd_2_upscaling?: boolean | null; - selected_models?: CompareText2ImgPageRequestSelectedModelsItem.Raw[] | null; - scheduler?: CompareText2ImgPageRequestScheduler.Raw | null; - edit_instruction?: string | null; - image_guidance_scale?: number | null; - settings?: RunSettings.Raw | null; - } -} diff --git a/src/serialization/types/CompareText2ImgPageRequestScheduler.ts b/src/serialization/types/CompareText2ImgPageRequestScheduler.ts deleted file mode 100644 index 41148ca..0000000 --- a/src/serialization/types/CompareText2ImgPageRequestScheduler.ts +++ /dev/null @@ -1,45 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const CompareText2ImgPageRequestScheduler: core.serialization.Schema< - serializers.CompareText2ImgPageRequestScheduler.Raw, - Gooey.CompareText2ImgPageRequestScheduler -> = core.serialization.enum_([ - "singlestep_dpm_solver", - "multistep_dpm_solver", - "dpm_sde", - "dpm_discrete", - "dpm_discrete_ancestral", - "unipc", - "lms_discrete", - "heun", - "euler", - "euler_ancestral", - "pndm", - "ddpm", - "ddim", - "deis", -]); - -export declare namespace CompareText2ImgPageRequestScheduler { - type Raw = - | "singlestep_dpm_solver" - | "multistep_dpm_solver" - | "dpm_sde" - | "dpm_discrete" - | "dpm_discrete_ancestral" - | "unipc" - | "lms_discrete" - | "heun" - | "euler" - | "euler_ancestral" - | "pndm" - | "ddpm" - | "ddim" - | "deis"; -} diff --git a/src/serialization/types/CompareText2ImgPageRequestSelectedModelsItem.ts b/src/serialization/types/CompareText2ImgPageRequestSelectedModelsItem.ts deleted file mode 100644 index 42d06bf..0000000 --- a/src/serialization/types/CompareText2ImgPageRequestSelectedModelsItem.ts +++ /dev/null @@ -1,43 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const CompareText2ImgPageRequestSelectedModelsItem: core.serialization.Schema< - serializers.CompareText2ImgPageRequestSelectedModelsItem.Raw, - Gooey.CompareText2ImgPageRequestSelectedModelsItem -> = core.serialization.enum_([ - "dream_shaper", - "dreamlike_2", - "sd_2", - "sd_1_5", - "dall_e", - "dall_e_3", - "openjourney_2", - "openjourney", - "analog_diffusion", - "protogen_5_3", - "jack_qiao", - "rodent_diffusion_1_5", - "deepfloyd_if", -]); - -export declare namespace CompareText2ImgPageRequestSelectedModelsItem { - type Raw = - | "dream_shaper" - | "dreamlike_2" - | "sd_2" - | "sd_1_5" - | "dall_e" - | "dall_e_3" - | "openjourney_2" - | "openjourney" - | "analog_diffusion" - | "protogen_5_3" - | "jack_qiao" - | "rodent_diffusion_1_5" - | "deepfloyd_if"; -} diff --git a/src/serialization/types/CompareUpscalerPageRequest.ts b/src/serialization/types/CompareUpscalerPageRequest.ts deleted file mode 100644 index 55a7d48..0000000 --- a/src/serialization/types/CompareUpscalerPageRequest.ts +++ /dev/null @@ -1,43 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; -import { RecipeFunction } from "./RecipeFunction"; -import { CompareUpscalerPageRequestSelectedModelsItem } from "./CompareUpscalerPageRequestSelectedModelsItem"; -import { RunSettings } from "./RunSettings"; - -export const CompareUpscalerPageRequest: core.serialization.ObjectSchema< - serializers.CompareUpscalerPageRequest.Raw, - Gooey.CompareUpscalerPageRequest -> = core.serialization.object({ - functions: core.serialization.list(RecipeFunction).optional(), - variables: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(), - inputImage: core.serialization.property("input_image", core.serialization.string().optional()), - inputVideo: core.serialization.property("input_video", core.serialization.string().optional()), - scale: core.serialization.number(), - selectedModels: core.serialization.property( - "selected_models", - core.serialization.list(CompareUpscalerPageRequestSelectedModelsItem).optional() - ), - selectedBgModel: core.serialization.property( - "selected_bg_model", - core.serialization.stringLiteral("real_esrgan_x2").optional() - ), - settings: RunSettings.optional(), -}); - -export declare namespace CompareUpscalerPageRequest { - interface Raw { - functions?: RecipeFunction.Raw[] | null; - variables?: Record | null; - input_image?: string | null; - input_video?: string | null; - scale: number; - selected_models?: CompareUpscalerPageRequestSelectedModelsItem.Raw[] | null; - selected_bg_model?: "real_esrgan_x2" | null; - settings?: RunSettings.Raw | null; - } -} diff --git a/src/serialization/types/CompareUpscalerPageRequestSelectedModelsItem.ts b/src/serialization/types/CompareUpscalerPageRequestSelectedModelsItem.ts deleted file mode 100644 index 34fcdc9..0000000 --- a/src/serialization/types/CompareUpscalerPageRequestSelectedModelsItem.ts +++ /dev/null @@ -1,16 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const CompareUpscalerPageRequestSelectedModelsItem: core.serialization.Schema< - serializers.CompareUpscalerPageRequestSelectedModelsItem.Raw, - Gooey.CompareUpscalerPageRequestSelectedModelsItem -> = core.serialization.enum_(["gfpgan_1_4", "real_esrgan_x2", "sd_x4", "real_esrgan", "gfpgan"]); - -export declare namespace CompareUpscalerPageRequestSelectedModelsItem { - type Raw = "gfpgan_1_4" | "real_esrgan_x2" | "sd_x4" | "real_esrgan" | "gfpgan"; -} diff --git a/src/serialization/types/DeforumSdPageRequest.ts b/src/serialization/types/DeforumSdPageRequest.ts deleted file mode 100644 index 1f939b0..0000000 --- a/src/serialization/types/DeforumSdPageRequest.ts +++ /dev/null @@ -1,52 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; -import { RecipeFunction } from "./RecipeFunction"; -import { AnimationPrompt } from "./AnimationPrompt"; -import { DeforumSdPageRequestSelectedModel } from "./DeforumSdPageRequestSelectedModel"; -import { RunSettings } from "./RunSettings"; - -export const DeforumSdPageRequest: core.serialization.ObjectSchema< - serializers.DeforumSdPageRequest.Raw, - Gooey.DeforumSdPageRequest -> = core.serialization.object({ - functions: core.serialization.list(RecipeFunction).optional(), - variables: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(), - animationPrompts: core.serialization.property("animation_prompts", core.serialization.list(AnimationPrompt)), - maxFrames: core.serialization.property("max_frames", core.serialization.number().optional()), - selectedModel: core.serialization.property("selected_model", DeforumSdPageRequestSelectedModel.optional()), - animationMode: core.serialization.property("animation_mode", core.serialization.string().optional()), - zoom: core.serialization.string().optional(), - translationX: core.serialization.property("translation_x", core.serialization.string().optional()), - translationY: core.serialization.property("translation_y", core.serialization.string().optional()), - rotation3DX: core.serialization.property("rotation_3d_x", core.serialization.string().optional()), - rotation3DY: core.serialization.property("rotation_3d_y", core.serialization.string().optional()), - rotation3DZ: core.serialization.property("rotation_3d_z", core.serialization.string().optional()), - fps: core.serialization.number().optional(), - seed: core.serialization.number().optional(), - settings: RunSettings.optional(), -}); - -export declare namespace DeforumSdPageRequest { - interface Raw { - functions?: RecipeFunction.Raw[] | null; - variables?: Record | null; - animation_prompts: AnimationPrompt.Raw[]; - max_frames?: number | null; - selected_model?: DeforumSdPageRequestSelectedModel.Raw | null; - animation_mode?: string | null; - zoom?: string | null; - translation_x?: string | null; - translation_y?: string | null; - rotation_3d_x?: string | null; - rotation_3d_y?: string | null; - rotation_3d_z?: string | null; - fps?: number | null; - seed?: number | null; - settings?: RunSettings.Raw | null; - } -} diff --git a/src/serialization/types/DeforumSdPageRequestSelectedModel.ts b/src/serialization/types/DeforumSdPageRequestSelectedModel.ts deleted file mode 100644 index 0ba01af..0000000 --- a/src/serialization/types/DeforumSdPageRequestSelectedModel.ts +++ /dev/null @@ -1,16 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const DeforumSdPageRequestSelectedModel: core.serialization.Schema< - serializers.DeforumSdPageRequestSelectedModel.Raw, - Gooey.DeforumSdPageRequestSelectedModel -> = core.serialization.enum_(["protogen_2_2", "epicdream"]); - -export declare namespace DeforumSdPageRequestSelectedModel { - type Raw = "protogen_2_2" | "epicdream"; -} diff --git a/src/serialization/types/DocExtractPageRequest.ts b/src/serialization/types/DocExtractPageRequest.ts deleted file mode 100644 index 15a4bef..0000000 --- a/src/serialization/types/DocExtractPageRequest.ts +++ /dev/null @@ -1,64 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; -import { RecipeFunction } from "./RecipeFunction"; -import { DocExtractPageRequestSelectedAsrModel } from "./DocExtractPageRequestSelectedAsrModel"; -import { DocExtractPageRequestSelectedModel } from "./DocExtractPageRequestSelectedModel"; -import { DocExtractPageRequestResponseFormatType } from "./DocExtractPageRequestResponseFormatType"; -import { RunSettings } from "./RunSettings"; - -export const DocExtractPageRequest: core.serialization.ObjectSchema< - serializers.DocExtractPageRequest.Raw, - Gooey.DocExtractPageRequest -> = core.serialization.object({ - functions: core.serialization.list(RecipeFunction).optional(), - variables: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(), - documents: core.serialization.list(core.serialization.string()), - sheetUrl: core.serialization.property("sheet_url", core.serialization.string().optional()), - selectedAsrModel: core.serialization.property( - "selected_asr_model", - DocExtractPageRequestSelectedAsrModel.optional() - ), - googleTranslateTarget: core.serialization.property( - "google_translate_target", - core.serialization.string().optional() - ), - glossaryDocument: core.serialization.property("glossary_document", core.serialization.string().optional()), - taskInstructions: core.serialization.property("task_instructions", core.serialization.string().optional()), - selectedModel: core.serialization.property("selected_model", DocExtractPageRequestSelectedModel.optional()), - avoidRepetition: core.serialization.property("avoid_repetition", core.serialization.boolean().optional()), - numOutputs: core.serialization.property("num_outputs", core.serialization.number().optional()), - quality: core.serialization.number().optional(), - maxTokens: core.serialization.property("max_tokens", core.serialization.number().optional()), - samplingTemperature: core.serialization.property("sampling_temperature", core.serialization.number().optional()), - responseFormatType: core.serialization.property( - "response_format_type", - DocExtractPageRequestResponseFormatType.optional() - ), - settings: RunSettings.optional(), -}); - -export declare namespace DocExtractPageRequest { - interface Raw { - functions?: RecipeFunction.Raw[] | null; - variables?: Record | null; - documents: string[]; - sheet_url?: string | null; - selected_asr_model?: DocExtractPageRequestSelectedAsrModel.Raw | null; - google_translate_target?: string | null; - glossary_document?: string | null; - task_instructions?: string | null; - selected_model?: DocExtractPageRequestSelectedModel.Raw | null; - avoid_repetition?: boolean | null; - num_outputs?: number | null; - quality?: number | null; - max_tokens?: number | null; - sampling_temperature?: number | null; - response_format_type?: DocExtractPageRequestResponseFormatType.Raw | null; - settings?: RunSettings.Raw | null; - } -} diff --git a/src/serialization/types/DocExtractPageRequestResponseFormatType.ts b/src/serialization/types/DocExtractPageRequestResponseFormatType.ts deleted file mode 100644 index 35e1fdf..0000000 --- a/src/serialization/types/DocExtractPageRequestResponseFormatType.ts +++ /dev/null @@ -1,16 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const DocExtractPageRequestResponseFormatType: core.serialization.Schema< - serializers.DocExtractPageRequestResponseFormatType.Raw, - Gooey.DocExtractPageRequestResponseFormatType -> = core.serialization.enum_(["text", "json_object"]); - -export declare namespace DocExtractPageRequestResponseFormatType { - type Raw = "text" | "json_object"; -} diff --git a/src/serialization/types/DocExtractPageRequestSelectedAsrModel.ts b/src/serialization/types/DocExtractPageRequestSelectedAsrModel.ts deleted file mode 100644 index 79d05f7..0000000 --- a/src/serialization/types/DocExtractPageRequestSelectedAsrModel.ts +++ /dev/null @@ -1,45 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const DocExtractPageRequestSelectedAsrModel: core.serialization.Schema< - serializers.DocExtractPageRequestSelectedAsrModel.Raw, - Gooey.DocExtractPageRequestSelectedAsrModel -> = core.serialization.enum_([ - "whisper_large_v2", - "whisper_large_v3", - "whisper_hindi_large_v2", - "whisper_telugu_large_v2", - "nemo_english", - "nemo_hindi", - "vakyansh_bhojpuri", - "gcp_v1", - "usm", - "deepgram", - "azure", - "seamless_m4t_v2", - "mms_1b_all", - "seamless_m4t", -]); - -export declare namespace DocExtractPageRequestSelectedAsrModel { - type Raw = - | "whisper_large_v2" - | "whisper_large_v3" - | "whisper_hindi_large_v2" - | "whisper_telugu_large_v2" - | "nemo_english" - | "nemo_hindi" - | "vakyansh_bhojpuri" - | "gcp_v1" - | "usm" - | "deepgram" - | "azure" - | "seamless_m4t_v2" - | "mms_1b_all" - | "seamless_m4t"; -} diff --git a/src/serialization/types/DocExtractPageRequestSelectedModel.ts b/src/serialization/types/DocExtractPageRequestSelectedModel.ts deleted file mode 100644 index 3af7860..0000000 --- a/src/serialization/types/DocExtractPageRequestSelectedModel.ts +++ /dev/null @@ -1,93 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const DocExtractPageRequestSelectedModel: core.serialization.Schema< - serializers.DocExtractPageRequestSelectedModel.Raw, - Gooey.DocExtractPageRequestSelectedModel -> = core.serialization.enum_([ - "gpt_4_o", - "gpt_4_o_mini", - "chatgpt_4_o", - "gpt_4_turbo_vision", - "gpt_4_vision", - "gpt_4_turbo", - "gpt_4", - "gpt_4_32k", - "gpt_3_5_turbo", - "gpt_3_5_turbo_16k", - "gpt_3_5_turbo_instruct", - "llama3_70b", - "llama_3_groq_70b_tool_use", - "llama3_8b", - "llama_3_groq_8b_tool_use", - "llama2_70b_chat", - "mixtral_8x7b_instruct_0_1", - "gemma_2_9b_it", - "gemma_7b_it", - "gemini_1_5_flash", - "gemini_1_5_pro", - "gemini_1_pro_vision", - "gemini_1_pro", - "palm2_chat", - "palm2_text", - "claude_3_5_sonnet", - "claude_3_opus", - "claude_3_sonnet", - "claude_3_haiku", - "sea_lion_7b_instruct", - "llama3_8b_cpt_sea_lion_v2_instruct", - "sarvam_2b", - "text_davinci_003", - "text_davinci_002", - "code_davinci_002", - "text_curie_001", - "text_babbage_001", - "text_ada_001", -]); - -export declare namespace DocExtractPageRequestSelectedModel { - type Raw = - | "gpt_4_o" - | "gpt_4_o_mini" - | "chatgpt_4_o" - | "gpt_4_turbo_vision" - | "gpt_4_vision" - | "gpt_4_turbo" - | "gpt_4" - | "gpt_4_32k" - | "gpt_3_5_turbo" - | "gpt_3_5_turbo_16k" - | "gpt_3_5_turbo_instruct" - | "llama3_70b" - | "llama_3_groq_70b_tool_use" - | "llama3_8b" - | "llama_3_groq_8b_tool_use" - | "llama2_70b_chat" - | "mixtral_8x7b_instruct_0_1" - | "gemma_2_9b_it" - | "gemma_7b_it" - | "gemini_1_5_flash" - | "gemini_1_5_pro" - | "gemini_1_pro_vision" - | "gemini_1_pro" - | "palm2_chat" - | "palm2_text" - | "claude_3_5_sonnet" - | "claude_3_opus" - | "claude_3_sonnet" - | "claude_3_haiku" - | "sea_lion_7b_instruct" - | "llama3_8b_cpt_sea_lion_v2_instruct" - | "sarvam_2b" - | "text_davinci_003" - | "text_davinci_002" - | "code_davinci_002" - | "text_curie_001" - | "text_babbage_001" - | "text_ada_001"; -} diff --git a/src/serialization/types/DocSearchPageRequest.ts b/src/serialization/types/DocSearchPageRequest.ts deleted file mode 100644 index 3785b00..0000000 --- a/src/serialization/types/DocSearchPageRequest.ts +++ /dev/null @@ -1,72 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; -import { RecipeFunction } from "./RecipeFunction"; -import { DocSearchPageRequestKeywordQuery } from "./DocSearchPageRequestKeywordQuery"; -import { DocSearchPageRequestEmbeddingModel } from "./DocSearchPageRequestEmbeddingModel"; -import { DocSearchPageRequestSelectedModel } from "./DocSearchPageRequestSelectedModel"; -import { DocSearchPageRequestCitationStyle } from "./DocSearchPageRequestCitationStyle"; -import { DocSearchPageRequestResponseFormatType } from "./DocSearchPageRequestResponseFormatType"; -import { RunSettings } from "./RunSettings"; - -export const DocSearchPageRequest: core.serialization.ObjectSchema< - serializers.DocSearchPageRequest.Raw, - Gooey.DocSearchPageRequest -> = core.serialization.object({ - functions: core.serialization.list(RecipeFunction).optional(), - variables: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(), - searchQuery: core.serialization.property("search_query", core.serialization.string()), - keywordQuery: core.serialization.property("keyword_query", DocSearchPageRequestKeywordQuery.optional()), - documents: core.serialization.list(core.serialization.string()).optional(), - maxReferences: core.serialization.property("max_references", core.serialization.number().optional()), - maxContextWords: core.serialization.property("max_context_words", core.serialization.number().optional()), - scrollJump: core.serialization.property("scroll_jump", core.serialization.number().optional()), - docExtractUrl: core.serialization.property("doc_extract_url", core.serialization.string().optional()), - embeddingModel: core.serialization.property("embedding_model", DocSearchPageRequestEmbeddingModel.optional()), - denseWeight: core.serialization.property("dense_weight", core.serialization.number().optional()), - taskInstructions: core.serialization.property("task_instructions", core.serialization.string().optional()), - queryInstructions: core.serialization.property("query_instructions", core.serialization.string().optional()), - selectedModel: core.serialization.property("selected_model", DocSearchPageRequestSelectedModel.optional()), - citationStyle: core.serialization.property("citation_style", DocSearchPageRequestCitationStyle.optional()), - avoidRepetition: core.serialization.property("avoid_repetition", core.serialization.boolean().optional()), - numOutputs: core.serialization.property("num_outputs", core.serialization.number().optional()), - quality: core.serialization.number().optional(), - maxTokens: core.serialization.property("max_tokens", core.serialization.number().optional()), - samplingTemperature: core.serialization.property("sampling_temperature", core.serialization.number().optional()), - responseFormatType: core.serialization.property( - "response_format_type", - DocSearchPageRequestResponseFormatType.optional() - ), - settings: RunSettings.optional(), -}); - -export declare namespace DocSearchPageRequest { - interface Raw { - functions?: RecipeFunction.Raw[] | null; - variables?: Record | null; - search_query: string; - keyword_query?: DocSearchPageRequestKeywordQuery.Raw | null; - documents?: string[] | null; - max_references?: number | null; - max_context_words?: number | null; - scroll_jump?: number | null; - doc_extract_url?: string | null; - embedding_model?: DocSearchPageRequestEmbeddingModel.Raw | null; - dense_weight?: number | null; - task_instructions?: string | null; - query_instructions?: string | null; - selected_model?: DocSearchPageRequestSelectedModel.Raw | null; - citation_style?: DocSearchPageRequestCitationStyle.Raw | null; - avoid_repetition?: boolean | null; - num_outputs?: number | null; - quality?: number | null; - max_tokens?: number | null; - sampling_temperature?: number | null; - response_format_type?: DocSearchPageRequestResponseFormatType.Raw | null; - settings?: RunSettings.Raw | null; - } -} diff --git a/src/serialization/types/DocSearchPageRequestCitationStyle.ts b/src/serialization/types/DocSearchPageRequestCitationStyle.ts deleted file mode 100644 index d702905..0000000 --- a/src/serialization/types/DocSearchPageRequestCitationStyle.ts +++ /dev/null @@ -1,49 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const DocSearchPageRequestCitationStyle: core.serialization.Schema< - serializers.DocSearchPageRequestCitationStyle.Raw, - Gooey.DocSearchPageRequestCitationStyle -> = core.serialization.enum_([ - "number", - "title", - "url", - "symbol", - "markdown", - "html", - "slack_mrkdwn", - "plaintext", - "number_markdown", - "number_html", - "number_slack_mrkdwn", - "number_plaintext", - "symbol_markdown", - "symbol_html", - "symbol_slack_mrkdwn", - "symbol_plaintext", -]); - -export declare namespace DocSearchPageRequestCitationStyle { - type Raw = - | "number" - | "title" - | "url" - | "symbol" - | "markdown" - | "html" - | "slack_mrkdwn" - | "plaintext" - | "number_markdown" - | "number_html" - | "number_slack_mrkdwn" - | "number_plaintext" - | "symbol_markdown" - | "symbol_html" - | "symbol_slack_mrkdwn" - | "symbol_plaintext"; -} diff --git a/src/serialization/types/DocSearchPageRequestEmbeddingModel.ts b/src/serialization/types/DocSearchPageRequestEmbeddingModel.ts deleted file mode 100644 index 5cafaef..0000000 --- a/src/serialization/types/DocSearchPageRequestEmbeddingModel.ts +++ /dev/null @@ -1,35 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const DocSearchPageRequestEmbeddingModel: core.serialization.Schema< - serializers.DocSearchPageRequestEmbeddingModel.Raw, - Gooey.DocSearchPageRequestEmbeddingModel -> = core.serialization.enum_([ - "openai_3_large", - "openai_3_small", - "openai_ada_2", - "e5_large_v2", - "e5_base_v2", - "multilingual_e5_base", - "multilingual_e5_large", - "gte_large", - "gte_base", -]); - -export declare namespace DocSearchPageRequestEmbeddingModel { - type Raw = - | "openai_3_large" - | "openai_3_small" - | "openai_ada_2" - | "e5_large_v2" - | "e5_base_v2" - | "multilingual_e5_base" - | "multilingual_e5_large" - | "gte_large" - | "gte_base"; -} diff --git a/src/serialization/types/DocSearchPageRequestKeywordQuery.ts b/src/serialization/types/DocSearchPageRequestKeywordQuery.ts deleted file mode 100644 index 21bde39..0000000 --- a/src/serialization/types/DocSearchPageRequestKeywordQuery.ts +++ /dev/null @@ -1,19 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const DocSearchPageRequestKeywordQuery: core.serialization.Schema< - serializers.DocSearchPageRequestKeywordQuery.Raw, - Gooey.DocSearchPageRequestKeywordQuery -> = core.serialization.undiscriminatedUnion([ - core.serialization.string(), - core.serialization.list(core.serialization.string()), -]); - -export declare namespace DocSearchPageRequestKeywordQuery { - type Raw = string | string[]; -} diff --git a/src/serialization/types/DocSearchPageRequestResponseFormatType.ts b/src/serialization/types/DocSearchPageRequestResponseFormatType.ts deleted file mode 100644 index 33dbdfb..0000000 --- a/src/serialization/types/DocSearchPageRequestResponseFormatType.ts +++ /dev/null @@ -1,16 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const DocSearchPageRequestResponseFormatType: core.serialization.Schema< - serializers.DocSearchPageRequestResponseFormatType.Raw, - Gooey.DocSearchPageRequestResponseFormatType -> = core.serialization.enum_(["text", "json_object"]); - -export declare namespace DocSearchPageRequestResponseFormatType { - type Raw = "text" | "json_object"; -} diff --git a/src/serialization/types/DocSearchPageRequestSelectedModel.ts b/src/serialization/types/DocSearchPageRequestSelectedModel.ts deleted file mode 100644 index 8965ff1..0000000 --- a/src/serialization/types/DocSearchPageRequestSelectedModel.ts +++ /dev/null @@ -1,93 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const DocSearchPageRequestSelectedModel: core.serialization.Schema< - serializers.DocSearchPageRequestSelectedModel.Raw, - Gooey.DocSearchPageRequestSelectedModel -> = core.serialization.enum_([ - "gpt_4_o", - "gpt_4_o_mini", - "chatgpt_4_o", - "gpt_4_turbo_vision", - "gpt_4_vision", - "gpt_4_turbo", - "gpt_4", - "gpt_4_32k", - "gpt_3_5_turbo", - "gpt_3_5_turbo_16k", - "gpt_3_5_turbo_instruct", - "llama3_70b", - "llama_3_groq_70b_tool_use", - "llama3_8b", - "llama_3_groq_8b_tool_use", - "llama2_70b_chat", - "mixtral_8x7b_instruct_0_1", - "gemma_2_9b_it", - "gemma_7b_it", - "gemini_1_5_flash", - "gemini_1_5_pro", - "gemini_1_pro_vision", - "gemini_1_pro", - "palm2_chat", - "palm2_text", - "claude_3_5_sonnet", - "claude_3_opus", - "claude_3_sonnet", - "claude_3_haiku", - "sea_lion_7b_instruct", - "llama3_8b_cpt_sea_lion_v2_instruct", - "sarvam_2b", - "text_davinci_003", - "text_davinci_002", - "code_davinci_002", - "text_curie_001", - "text_babbage_001", - "text_ada_001", -]); - -export declare namespace DocSearchPageRequestSelectedModel { - type Raw = - | "gpt_4_o" - | "gpt_4_o_mini" - | "chatgpt_4_o" - | "gpt_4_turbo_vision" - | "gpt_4_vision" - | "gpt_4_turbo" - | "gpt_4" - | "gpt_4_32k" - | "gpt_3_5_turbo" - | "gpt_3_5_turbo_16k" - | "gpt_3_5_turbo_instruct" - | "llama3_70b" - | "llama_3_groq_70b_tool_use" - | "llama3_8b" - | "llama_3_groq_8b_tool_use" - | "llama2_70b_chat" - | "mixtral_8x7b_instruct_0_1" - | "gemma_2_9b_it" - | "gemma_7b_it" - | "gemini_1_5_flash" - | "gemini_1_5_pro" - | "gemini_1_pro_vision" - | "gemini_1_pro" - | "palm2_chat" - | "palm2_text" - | "claude_3_5_sonnet" - | "claude_3_opus" - | "claude_3_sonnet" - | "claude_3_haiku" - | "sea_lion_7b_instruct" - | "llama3_8b_cpt_sea_lion_v2_instruct" - | "sarvam_2b" - | "text_davinci_003" - | "text_davinci_002" - | "code_davinci_002" - | "text_curie_001" - | "text_babbage_001" - | "text_ada_001"; -} diff --git a/src/serialization/types/DocSummaryPageRequest.ts b/src/serialization/types/DocSummaryPageRequest.ts deleted file mode 100644 index f0e8b62..0000000 --- a/src/serialization/types/DocSummaryPageRequest.ts +++ /dev/null @@ -1,64 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; -import { RecipeFunction } from "./RecipeFunction"; -import { DocSummaryPageRequestSelectedModel } from "./DocSummaryPageRequestSelectedModel"; -import { DocSummaryPageRequestSelectedAsrModel } from "./DocSummaryPageRequestSelectedAsrModel"; -import { DocSummaryPageRequestResponseFormatType } from "./DocSummaryPageRequestResponseFormatType"; -import { RunSettings } from "./RunSettings"; - -export const DocSummaryPageRequest: core.serialization.ObjectSchema< - serializers.DocSummaryPageRequest.Raw, - Gooey.DocSummaryPageRequest -> = core.serialization.object({ - functions: core.serialization.list(RecipeFunction).optional(), - variables: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(), - documents: core.serialization.list(core.serialization.string()), - taskInstructions: core.serialization.property("task_instructions", core.serialization.string().optional()), - mergeInstructions: core.serialization.property("merge_instructions", core.serialization.string().optional()), - selectedModel: core.serialization.property("selected_model", DocSummaryPageRequestSelectedModel.optional()), - chainType: core.serialization.property("chain_type", core.serialization.stringLiteral("map_reduce").optional()), - selectedAsrModel: core.serialization.property( - "selected_asr_model", - DocSummaryPageRequestSelectedAsrModel.optional() - ), - googleTranslateTarget: core.serialization.property( - "google_translate_target", - core.serialization.string().optional() - ), - avoidRepetition: core.serialization.property("avoid_repetition", core.serialization.boolean().optional()), - numOutputs: core.serialization.property("num_outputs", core.serialization.number().optional()), - quality: core.serialization.number().optional(), - maxTokens: core.serialization.property("max_tokens", core.serialization.number().optional()), - samplingTemperature: core.serialization.property("sampling_temperature", core.serialization.number().optional()), - responseFormatType: core.serialization.property( - "response_format_type", - DocSummaryPageRequestResponseFormatType.optional() - ), - settings: RunSettings.optional(), -}); - -export declare namespace DocSummaryPageRequest { - interface Raw { - functions?: RecipeFunction.Raw[] | null; - variables?: Record | null; - documents: string[]; - task_instructions?: string | null; - merge_instructions?: string | null; - selected_model?: DocSummaryPageRequestSelectedModel.Raw | null; - chain_type?: "map_reduce" | null; - selected_asr_model?: DocSummaryPageRequestSelectedAsrModel.Raw | null; - google_translate_target?: string | null; - avoid_repetition?: boolean | null; - num_outputs?: number | null; - quality?: number | null; - max_tokens?: number | null; - sampling_temperature?: number | null; - response_format_type?: DocSummaryPageRequestResponseFormatType.Raw | null; - settings?: RunSettings.Raw | null; - } -} diff --git a/src/serialization/types/DocSummaryPageRequestResponseFormatType.ts b/src/serialization/types/DocSummaryPageRequestResponseFormatType.ts deleted file mode 100644 index 09aacce..0000000 --- a/src/serialization/types/DocSummaryPageRequestResponseFormatType.ts +++ /dev/null @@ -1,16 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const DocSummaryPageRequestResponseFormatType: core.serialization.Schema< - serializers.DocSummaryPageRequestResponseFormatType.Raw, - Gooey.DocSummaryPageRequestResponseFormatType -> = core.serialization.enum_(["text", "json_object"]); - -export declare namespace DocSummaryPageRequestResponseFormatType { - type Raw = "text" | "json_object"; -} diff --git a/src/serialization/types/DocSummaryPageRequestSelectedAsrModel.ts b/src/serialization/types/DocSummaryPageRequestSelectedAsrModel.ts deleted file mode 100644 index f659753..0000000 --- a/src/serialization/types/DocSummaryPageRequestSelectedAsrModel.ts +++ /dev/null @@ -1,45 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const DocSummaryPageRequestSelectedAsrModel: core.serialization.Schema< - serializers.DocSummaryPageRequestSelectedAsrModel.Raw, - Gooey.DocSummaryPageRequestSelectedAsrModel -> = core.serialization.enum_([ - "whisper_large_v2", - "whisper_large_v3", - "whisper_hindi_large_v2", - "whisper_telugu_large_v2", - "nemo_english", - "nemo_hindi", - "vakyansh_bhojpuri", - "gcp_v1", - "usm", - "deepgram", - "azure", - "seamless_m4t_v2", - "mms_1b_all", - "seamless_m4t", -]); - -export declare namespace DocSummaryPageRequestSelectedAsrModel { - type Raw = - | "whisper_large_v2" - | "whisper_large_v3" - | "whisper_hindi_large_v2" - | "whisper_telugu_large_v2" - | "nemo_english" - | "nemo_hindi" - | "vakyansh_bhojpuri" - | "gcp_v1" - | "usm" - | "deepgram" - | "azure" - | "seamless_m4t_v2" - | "mms_1b_all" - | "seamless_m4t"; -} diff --git a/src/serialization/types/DocSummaryPageRequestSelectedModel.ts b/src/serialization/types/DocSummaryPageRequestSelectedModel.ts deleted file mode 100644 index 88aeb54..0000000 --- a/src/serialization/types/DocSummaryPageRequestSelectedModel.ts +++ /dev/null @@ -1,93 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const DocSummaryPageRequestSelectedModel: core.serialization.Schema< - serializers.DocSummaryPageRequestSelectedModel.Raw, - Gooey.DocSummaryPageRequestSelectedModel -> = core.serialization.enum_([ - "gpt_4_o", - "gpt_4_o_mini", - "chatgpt_4_o", - "gpt_4_turbo_vision", - "gpt_4_vision", - "gpt_4_turbo", - "gpt_4", - "gpt_4_32k", - "gpt_3_5_turbo", - "gpt_3_5_turbo_16k", - "gpt_3_5_turbo_instruct", - "llama3_70b", - "llama_3_groq_70b_tool_use", - "llama3_8b", - "llama_3_groq_8b_tool_use", - "llama2_70b_chat", - "mixtral_8x7b_instruct_0_1", - "gemma_2_9b_it", - "gemma_7b_it", - "gemini_1_5_flash", - "gemini_1_5_pro", - "gemini_1_pro_vision", - "gemini_1_pro", - "palm2_chat", - "palm2_text", - "claude_3_5_sonnet", - "claude_3_opus", - "claude_3_sonnet", - "claude_3_haiku", - "sea_lion_7b_instruct", - "llama3_8b_cpt_sea_lion_v2_instruct", - "sarvam_2b", - "text_davinci_003", - "text_davinci_002", - "code_davinci_002", - "text_curie_001", - "text_babbage_001", - "text_ada_001", -]); - -export declare namespace DocSummaryPageRequestSelectedModel { - type Raw = - | "gpt_4_o" - | "gpt_4_o_mini" - | "chatgpt_4_o" - | "gpt_4_turbo_vision" - | "gpt_4_vision" - | "gpt_4_turbo" - | "gpt_4" - | "gpt_4_32k" - | "gpt_3_5_turbo" - | "gpt_3_5_turbo_16k" - | "gpt_3_5_turbo_instruct" - | "llama3_70b" - | "llama_3_groq_70b_tool_use" - | "llama3_8b" - | "llama_3_groq_8b_tool_use" - | "llama2_70b_chat" - | "mixtral_8x7b_instruct_0_1" - | "gemma_2_9b_it" - | "gemma_7b_it" - | "gemini_1_5_flash" - | "gemini_1_5_pro" - | "gemini_1_pro_vision" - | "gemini_1_pro" - | "palm2_chat" - | "palm2_text" - | "claude_3_5_sonnet" - | "claude_3_opus" - | "claude_3_sonnet" - | "claude_3_haiku" - | "sea_lion_7b_instruct" - | "llama3_8b_cpt_sea_lion_v2_instruct" - | "sarvam_2b" - | "text_davinci_003" - | "text_davinci_002" - | "code_davinci_002" - | "text_curie_001" - | "text_babbage_001" - | "text_ada_001"; -} diff --git a/src/serialization/types/EmailFaceInpaintingPageRequest.ts b/src/serialization/types/EmailFaceInpaintingPageRequest.ts deleted file mode 100644 index ba4cb4c..0000000 --- a/src/serialization/types/EmailFaceInpaintingPageRequest.ts +++ /dev/null @@ -1,76 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; -import { RecipeFunction } from "./RecipeFunction"; -import { EmailFaceInpaintingPageRequestSelectedModel } from "./EmailFaceInpaintingPageRequestSelectedModel"; -import { RunSettings } from "./RunSettings"; - -export const EmailFaceInpaintingPageRequest: core.serialization.ObjectSchema< - serializers.EmailFaceInpaintingPageRequest.Raw, - Gooey.EmailFaceInpaintingPageRequest -> = core.serialization.object({ - functions: core.serialization.list(RecipeFunction).optional(), - variables: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(), - emailAddress: core.serialization.property("email_address", core.serialization.string().optional()), - twitterHandle: core.serialization.property("twitter_handle", core.serialization.string().optional()), - textPrompt: core.serialization.property("text_prompt", core.serialization.string()), - faceScale: core.serialization.property("face_scale", core.serialization.number().optional()), - facePosX: core.serialization.property("face_pos_x", core.serialization.number().optional()), - facePosY: core.serialization.property("face_pos_y", core.serialization.number().optional()), - selectedModel: core.serialization.property( - "selected_model", - EmailFaceInpaintingPageRequestSelectedModel.optional() - ), - negativePrompt: core.serialization.property("negative_prompt", core.serialization.string().optional()), - numOutputs: core.serialization.property("num_outputs", core.serialization.number().optional()), - quality: core.serialization.number().optional(), - upscaleFactor: core.serialization.property("upscale_factor", core.serialization.number().optional()), - outputWidth: core.serialization.property("output_width", core.serialization.number().optional()), - outputHeight: core.serialization.property("output_height", core.serialization.number().optional()), - guidanceScale: core.serialization.property("guidance_scale", core.serialization.number().optional()), - shouldSendEmail: core.serialization.property("should_send_email", core.serialization.boolean().optional()), - emailFrom: core.serialization.property("email_from", core.serialization.string().optional()), - emailCc: core.serialization.property("email_cc", core.serialization.string().optional()), - emailBcc: core.serialization.property("email_bcc", core.serialization.string().optional()), - emailSubject: core.serialization.property("email_subject", core.serialization.string().optional()), - emailBody: core.serialization.property("email_body", core.serialization.string().optional()), - emailBodyEnableHtml: core.serialization.property("email_body_enable_html", core.serialization.boolean().optional()), - fallbackEmailBody: core.serialization.property("fallback_email_body", core.serialization.string().optional()), - seed: core.serialization.number().optional(), - settings: RunSettings.optional(), -}); - -export declare namespace EmailFaceInpaintingPageRequest { - interface Raw { - functions?: RecipeFunction.Raw[] | null; - variables?: Record | null; - email_address?: string | null; - twitter_handle?: string | null; - text_prompt: string; - face_scale?: number | null; - face_pos_x?: number | null; - face_pos_y?: number | null; - selected_model?: EmailFaceInpaintingPageRequestSelectedModel.Raw | null; - negative_prompt?: string | null; - num_outputs?: number | null; - quality?: number | null; - upscale_factor?: number | null; - output_width?: number | null; - output_height?: number | null; - guidance_scale?: number | null; - should_send_email?: boolean | null; - email_from?: string | null; - email_cc?: string | null; - email_bcc?: string | null; - email_subject?: string | null; - email_body?: string | null; - email_body_enable_html?: boolean | null; - fallback_email_body?: string | null; - seed?: number | null; - settings?: RunSettings.Raw | null; - } -} diff --git a/src/serialization/types/EmailFaceInpaintingPageRequestSelectedModel.ts b/src/serialization/types/EmailFaceInpaintingPageRequestSelectedModel.ts deleted file mode 100644 index 5bf57e5..0000000 --- a/src/serialization/types/EmailFaceInpaintingPageRequestSelectedModel.ts +++ /dev/null @@ -1,16 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const EmailFaceInpaintingPageRequestSelectedModel: core.serialization.Schema< - serializers.EmailFaceInpaintingPageRequestSelectedModel.Raw, - Gooey.EmailFaceInpaintingPageRequestSelectedModel -> = core.serialization.enum_(["sd_2", "runway_ml", "dall_e", "jack_qiao"]); - -export declare namespace EmailFaceInpaintingPageRequestSelectedModel { - type Raw = "sd_2" | "runway_ml" | "dall_e" | "jack_qiao"; -} diff --git a/src/serialization/types/EmbeddingsPageRequest.ts b/src/serialization/types/EmbeddingsPageRequest.ts deleted file mode 100644 index 042dba9..0000000 --- a/src/serialization/types/EmbeddingsPageRequest.ts +++ /dev/null @@ -1,31 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; -import { RecipeFunction } from "./RecipeFunction"; -import { EmbeddingsPageRequestSelectedModel } from "./EmbeddingsPageRequestSelectedModel"; -import { RunSettings } from "./RunSettings"; - -export const EmbeddingsPageRequest: core.serialization.ObjectSchema< - serializers.EmbeddingsPageRequest.Raw, - Gooey.EmbeddingsPageRequest -> = core.serialization.object({ - functions: core.serialization.list(RecipeFunction).optional(), - variables: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(), - texts: core.serialization.list(core.serialization.string()), - selectedModel: core.serialization.property("selected_model", EmbeddingsPageRequestSelectedModel.optional()), - settings: RunSettings.optional(), -}); - -export declare namespace EmbeddingsPageRequest { - interface Raw { - functions?: RecipeFunction.Raw[] | null; - variables?: Record | null; - texts: string[]; - selected_model?: EmbeddingsPageRequestSelectedModel.Raw | null; - settings?: RunSettings.Raw | null; - } -} diff --git a/src/serialization/types/EmbeddingsPageRequestSelectedModel.ts b/src/serialization/types/EmbeddingsPageRequestSelectedModel.ts deleted file mode 100644 index 3145479..0000000 --- a/src/serialization/types/EmbeddingsPageRequestSelectedModel.ts +++ /dev/null @@ -1,35 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const EmbeddingsPageRequestSelectedModel: core.serialization.Schema< - serializers.EmbeddingsPageRequestSelectedModel.Raw, - Gooey.EmbeddingsPageRequestSelectedModel -> = core.serialization.enum_([ - "openai_3_large", - "openai_3_small", - "openai_ada_2", - "e5_large_v2", - "e5_base_v2", - "multilingual_e5_base", - "multilingual_e5_large", - "gte_large", - "gte_base", -]); - -export declare namespace EmbeddingsPageRequestSelectedModel { - type Raw = - | "openai_3_large" - | "openai_3_small" - | "openai_ada_2" - | "e5_large_v2" - | "e5_base_v2" - | "multilingual_e5_base" - | "multilingual_e5_large" - | "gte_large" - | "gte_base"; -} diff --git a/src/serialization/types/EvalPrompt.ts b/src/serialization/types/EvalPrompt.ts deleted file mode 100644 index e0d245d..0000000 --- a/src/serialization/types/EvalPrompt.ts +++ /dev/null @@ -1,20 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const EvalPrompt: core.serialization.ObjectSchema = - core.serialization.object({ - name: core.serialization.string(), - prompt: core.serialization.string(), - }); - -export declare namespace EvalPrompt { - interface Raw { - name: string; - prompt: string; - } -} diff --git a/src/serialization/types/FaceInpaintingPageRequest.ts b/src/serialization/types/FaceInpaintingPageRequest.ts deleted file mode 100644 index ce02ddd..0000000 --- a/src/serialization/types/FaceInpaintingPageRequest.ts +++ /dev/null @@ -1,55 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; -import { RecipeFunction } from "./RecipeFunction"; -import { FaceInpaintingPageRequestSelectedModel } from "./FaceInpaintingPageRequestSelectedModel"; -import { RunSettings } from "./RunSettings"; - -export const FaceInpaintingPageRequest: core.serialization.ObjectSchema< - serializers.FaceInpaintingPageRequest.Raw, - Gooey.FaceInpaintingPageRequest -> = core.serialization.object({ - functions: core.serialization.list(RecipeFunction).optional(), - variables: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(), - inputImage: core.serialization.property("input_image", core.serialization.string()), - textPrompt: core.serialization.property("text_prompt", core.serialization.string()), - faceScale: core.serialization.property("face_scale", core.serialization.number().optional()), - facePosX: core.serialization.property("face_pos_x", core.serialization.number().optional()), - facePosY: core.serialization.property("face_pos_y", core.serialization.number().optional()), - selectedModel: core.serialization.property("selected_model", FaceInpaintingPageRequestSelectedModel.optional()), - negativePrompt: core.serialization.property("negative_prompt", core.serialization.string().optional()), - numOutputs: core.serialization.property("num_outputs", core.serialization.number().optional()), - quality: core.serialization.number().optional(), - upscaleFactor: core.serialization.property("upscale_factor", core.serialization.number().optional()), - outputWidth: core.serialization.property("output_width", core.serialization.number().optional()), - outputHeight: core.serialization.property("output_height", core.serialization.number().optional()), - guidanceScale: core.serialization.property("guidance_scale", core.serialization.number().optional()), - seed: core.serialization.number().optional(), - settings: RunSettings.optional(), -}); - -export declare namespace FaceInpaintingPageRequest { - interface Raw { - functions?: RecipeFunction.Raw[] | null; - variables?: Record | null; - input_image: string; - text_prompt: string; - face_scale?: number | null; - face_pos_x?: number | null; - face_pos_y?: number | null; - selected_model?: FaceInpaintingPageRequestSelectedModel.Raw | null; - negative_prompt?: string | null; - num_outputs?: number | null; - quality?: number | null; - upscale_factor?: number | null; - output_width?: number | null; - output_height?: number | null; - guidance_scale?: number | null; - seed?: number | null; - settings?: RunSettings.Raw | null; - } -} diff --git a/src/serialization/types/FaceInpaintingPageRequestSelectedModel.ts b/src/serialization/types/FaceInpaintingPageRequestSelectedModel.ts deleted file mode 100644 index 7b9a9a3..0000000 --- a/src/serialization/types/FaceInpaintingPageRequestSelectedModel.ts +++ /dev/null @@ -1,16 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const FaceInpaintingPageRequestSelectedModel: core.serialization.Schema< - serializers.FaceInpaintingPageRequestSelectedModel.Raw, - Gooey.FaceInpaintingPageRequestSelectedModel -> = core.serialization.enum_(["sd_2", "runway_ml", "dall_e", "jack_qiao"]); - -export declare namespace FaceInpaintingPageRequestSelectedModel { - type Raw = "sd_2" | "runway_ml" | "dall_e" | "jack_qiao"; -} diff --git a/src/serialization/types/FunctionsPageRequest.ts b/src/serialization/types/FunctionsPageRequest.ts deleted file mode 100644 index 7bd38b2..0000000 --- a/src/serialization/types/FunctionsPageRequest.ts +++ /dev/null @@ -1,25 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; -import { RunSettings } from "./RunSettings"; - -export const FunctionsPageRequest: core.serialization.ObjectSchema< - serializers.FunctionsPageRequest.Raw, - Gooey.FunctionsPageRequest -> = core.serialization.object({ - code: core.serialization.string().optional(), - variables: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(), - settings: RunSettings.optional(), -}); - -export declare namespace FunctionsPageRequest { - interface Raw { - code?: string | null; - variables?: Record | null; - settings?: RunSettings.Raw | null; - } -} diff --git a/src/serialization/types/GoogleGptPageRequest.ts b/src/serialization/types/GoogleGptPageRequest.ts deleted file mode 100644 index 7da8d82..0000000 --- a/src/serialization/types/GoogleGptPageRequest.ts +++ /dev/null @@ -1,79 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; -import { RecipeFunction } from "./RecipeFunction"; -import { GoogleGptPageRequestSelectedModel } from "./GoogleGptPageRequestSelectedModel"; -import { GoogleGptPageRequestEmbeddingModel } from "./GoogleGptPageRequestEmbeddingModel"; -import { GoogleGptPageRequestResponseFormatType } from "./GoogleGptPageRequestResponseFormatType"; -import { SerpSearchLocation } from "./SerpSearchLocation"; -import { SerpSearchType } from "./SerpSearchType"; -import { RunSettings } from "./RunSettings"; - -export const GoogleGptPageRequest: core.serialization.ObjectSchema< - serializers.GoogleGptPageRequest.Raw, - Gooey.GoogleGptPageRequest -> = core.serialization.object({ - functions: core.serialization.list(RecipeFunction).optional(), - variables: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(), - searchQuery: core.serialization.property("search_query", core.serialization.string()), - siteFilter: core.serialization.property("site_filter", core.serialization.string()), - taskInstructions: core.serialization.property("task_instructions", core.serialization.string().optional()), - queryInstructions: core.serialization.property("query_instructions", core.serialization.string().optional()), - selectedModel: core.serialization.property("selected_model", GoogleGptPageRequestSelectedModel.optional()), - maxSearchUrls: core.serialization.property("max_search_urls", core.serialization.number().optional()), - maxReferences: core.serialization.property("max_references", core.serialization.number().optional()), - maxContextWords: core.serialization.property("max_context_words", core.serialization.number().optional()), - scrollJump: core.serialization.property("scroll_jump", core.serialization.number().optional()), - embeddingModel: core.serialization.property("embedding_model", GoogleGptPageRequestEmbeddingModel.optional()), - denseWeight: core.serialization.property("dense_weight", core.serialization.number().optional()), - avoidRepetition: core.serialization.property("avoid_repetition", core.serialization.boolean().optional()), - numOutputs: core.serialization.property("num_outputs", core.serialization.number().optional()), - quality: core.serialization.number().optional(), - maxTokens: core.serialization.property("max_tokens", core.serialization.number().optional()), - samplingTemperature: core.serialization.property("sampling_temperature", core.serialization.number().optional()), - responseFormatType: core.serialization.property( - "response_format_type", - GoogleGptPageRequestResponseFormatType.optional() - ), - serpSearchLocation: core.serialization.property("serp_search_location", SerpSearchLocation.optional()), - scaleserpLocations: core.serialization.property( - "scaleserp_locations", - core.serialization.list(core.serialization.string()).optional() - ), - serpSearchType: core.serialization.property("serp_search_type", SerpSearchType.optional()), - scaleserpSearchField: core.serialization.property("scaleserp_search_field", core.serialization.string().optional()), - settings: RunSettings.optional(), -}); - -export declare namespace GoogleGptPageRequest { - interface Raw { - functions?: RecipeFunction.Raw[] | null; - variables?: Record | null; - search_query: string; - site_filter: string; - task_instructions?: string | null; - query_instructions?: string | null; - selected_model?: GoogleGptPageRequestSelectedModel.Raw | null; - max_search_urls?: number | null; - max_references?: number | null; - max_context_words?: number | null; - scroll_jump?: number | null; - embedding_model?: GoogleGptPageRequestEmbeddingModel.Raw | null; - dense_weight?: number | null; - avoid_repetition?: boolean | null; - num_outputs?: number | null; - quality?: number | null; - max_tokens?: number | null; - sampling_temperature?: number | null; - response_format_type?: GoogleGptPageRequestResponseFormatType.Raw | null; - serp_search_location?: SerpSearchLocation.Raw | null; - scaleserp_locations?: string[] | null; - serp_search_type?: SerpSearchType.Raw | null; - scaleserp_search_field?: string | null; - settings?: RunSettings.Raw | null; - } -} diff --git a/src/serialization/types/GoogleGptPageRequestEmbeddingModel.ts b/src/serialization/types/GoogleGptPageRequestEmbeddingModel.ts deleted file mode 100644 index 70aab97..0000000 --- a/src/serialization/types/GoogleGptPageRequestEmbeddingModel.ts +++ /dev/null @@ -1,35 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const GoogleGptPageRequestEmbeddingModel: core.serialization.Schema< - serializers.GoogleGptPageRequestEmbeddingModel.Raw, - Gooey.GoogleGptPageRequestEmbeddingModel -> = core.serialization.enum_([ - "openai_3_large", - "openai_3_small", - "openai_ada_2", - "e5_large_v2", - "e5_base_v2", - "multilingual_e5_base", - "multilingual_e5_large", - "gte_large", - "gte_base", -]); - -export declare namespace GoogleGptPageRequestEmbeddingModel { - type Raw = - | "openai_3_large" - | "openai_3_small" - | "openai_ada_2" - | "e5_large_v2" - | "e5_base_v2" - | "multilingual_e5_base" - | "multilingual_e5_large" - | "gte_large" - | "gte_base"; -} diff --git a/src/serialization/types/GoogleGptPageRequestResponseFormatType.ts b/src/serialization/types/GoogleGptPageRequestResponseFormatType.ts deleted file mode 100644 index b5dd550..0000000 --- a/src/serialization/types/GoogleGptPageRequestResponseFormatType.ts +++ /dev/null @@ -1,16 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const GoogleGptPageRequestResponseFormatType: core.serialization.Schema< - serializers.GoogleGptPageRequestResponseFormatType.Raw, - Gooey.GoogleGptPageRequestResponseFormatType -> = core.serialization.enum_(["text", "json_object"]); - -export declare namespace GoogleGptPageRequestResponseFormatType { - type Raw = "text" | "json_object"; -} diff --git a/src/serialization/types/GoogleGptPageRequestSelectedModel.ts b/src/serialization/types/GoogleGptPageRequestSelectedModel.ts deleted file mode 100644 index 02273e6..0000000 --- a/src/serialization/types/GoogleGptPageRequestSelectedModel.ts +++ /dev/null @@ -1,93 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const GoogleGptPageRequestSelectedModel: core.serialization.Schema< - serializers.GoogleGptPageRequestSelectedModel.Raw, - Gooey.GoogleGptPageRequestSelectedModel -> = core.serialization.enum_([ - "gpt_4_o", - "gpt_4_o_mini", - "chatgpt_4_o", - "gpt_4_turbo_vision", - "gpt_4_vision", - "gpt_4_turbo", - "gpt_4", - "gpt_4_32k", - "gpt_3_5_turbo", - "gpt_3_5_turbo_16k", - "gpt_3_5_turbo_instruct", - "llama3_70b", - "llama_3_groq_70b_tool_use", - "llama3_8b", - "llama_3_groq_8b_tool_use", - "llama2_70b_chat", - "mixtral_8x7b_instruct_0_1", - "gemma_2_9b_it", - "gemma_7b_it", - "gemini_1_5_flash", - "gemini_1_5_pro", - "gemini_1_pro_vision", - "gemini_1_pro", - "palm2_chat", - "palm2_text", - "claude_3_5_sonnet", - "claude_3_opus", - "claude_3_sonnet", - "claude_3_haiku", - "sea_lion_7b_instruct", - "llama3_8b_cpt_sea_lion_v2_instruct", - "sarvam_2b", - "text_davinci_003", - "text_davinci_002", - "code_davinci_002", - "text_curie_001", - "text_babbage_001", - "text_ada_001", -]); - -export declare namespace GoogleGptPageRequestSelectedModel { - type Raw = - | "gpt_4_o" - | "gpt_4_o_mini" - | "chatgpt_4_o" - | "gpt_4_turbo_vision" - | "gpt_4_vision" - | "gpt_4_turbo" - | "gpt_4" - | "gpt_4_32k" - | "gpt_3_5_turbo" - | "gpt_3_5_turbo_16k" - | "gpt_3_5_turbo_instruct" - | "llama3_70b" - | "llama_3_groq_70b_tool_use" - | "llama3_8b" - | "llama_3_groq_8b_tool_use" - | "llama2_70b_chat" - | "mixtral_8x7b_instruct_0_1" - | "gemma_2_9b_it" - | "gemma_7b_it" - | "gemini_1_5_flash" - | "gemini_1_5_pro" - | "gemini_1_pro_vision" - | "gemini_1_pro" - | "palm2_chat" - | "palm2_text" - | "claude_3_5_sonnet" - | "claude_3_opus" - | "claude_3_sonnet" - | "claude_3_haiku" - | "sea_lion_7b_instruct" - | "llama3_8b_cpt_sea_lion_v2_instruct" - | "sarvam_2b" - | "text_davinci_003" - | "text_davinci_002" - | "code_davinci_002" - | "text_curie_001" - | "text_babbage_001" - | "text_ada_001"; -} diff --git a/src/serialization/types/GoogleImageGenPageRequest.ts b/src/serialization/types/GoogleImageGenPageRequest.ts deleted file mode 100644 index 2b7e8a5..0000000 --- a/src/serialization/types/GoogleImageGenPageRequest.ts +++ /dev/null @@ -1,57 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; -import { RecipeFunction } from "./RecipeFunction"; -import { SerpSearchLocation } from "./SerpSearchLocation"; -import { GoogleImageGenPageRequestSelectedModel } from "./GoogleImageGenPageRequestSelectedModel"; -import { RunSettings } from "./RunSettings"; - -export const GoogleImageGenPageRequest: core.serialization.ObjectSchema< - serializers.GoogleImageGenPageRequest.Raw, - Gooey.GoogleImageGenPageRequest -> = core.serialization.object({ - functions: core.serialization.list(RecipeFunction).optional(), - variables: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(), - serpSearchLocation: core.serialization.property("serp_search_location", SerpSearchLocation.optional()), - scaleserpLocations: core.serialization.property( - "scaleserp_locations", - core.serialization.list(core.serialization.string()).optional() - ), - searchQuery: core.serialization.property("search_query", core.serialization.string()), - textPrompt: core.serialization.property("text_prompt", core.serialization.string()), - selectedModel: core.serialization.property("selected_model", GoogleImageGenPageRequestSelectedModel.optional()), - negativePrompt: core.serialization.property("negative_prompt", core.serialization.string().optional()), - numOutputs: core.serialization.property("num_outputs", core.serialization.number().optional()), - quality: core.serialization.number().optional(), - guidanceScale: core.serialization.property("guidance_scale", core.serialization.number().optional()), - promptStrength: core.serialization.property("prompt_strength", core.serialization.number().optional()), - sd2Upscaling: core.serialization.property("sd_2_upscaling", core.serialization.boolean().optional()), - seed: core.serialization.number().optional(), - imageGuidanceScale: core.serialization.property("image_guidance_scale", core.serialization.number().optional()), - settings: RunSettings.optional(), -}); - -export declare namespace GoogleImageGenPageRequest { - interface Raw { - functions?: RecipeFunction.Raw[] | null; - variables?: Record | null; - serp_search_location?: SerpSearchLocation.Raw | null; - scaleserp_locations?: string[] | null; - search_query: string; - text_prompt: string; - selected_model?: GoogleImageGenPageRequestSelectedModel.Raw | null; - negative_prompt?: string | null; - num_outputs?: number | null; - quality?: number | null; - guidance_scale?: number | null; - prompt_strength?: number | null; - sd_2_upscaling?: boolean | null; - seed?: number | null; - image_guidance_scale?: number | null; - settings?: RunSettings.Raw | null; - } -} diff --git a/src/serialization/types/GoogleImageGenPageRequestSelectedModel.ts b/src/serialization/types/GoogleImageGenPageRequestSelectedModel.ts deleted file mode 100644 index aaf6e65..0000000 --- a/src/serialization/types/GoogleImageGenPageRequestSelectedModel.ts +++ /dev/null @@ -1,41 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const GoogleImageGenPageRequestSelectedModel: core.serialization.Schema< - serializers.GoogleImageGenPageRequestSelectedModel.Raw, - Gooey.GoogleImageGenPageRequestSelectedModel -> = core.serialization.enum_([ - "dream_shaper", - "dreamlike_2", - "sd_2", - "sd_1_5", - "dall_e", - "instruct_pix2pix", - "openjourney_2", - "openjourney", - "analog_diffusion", - "protogen_5_3", - "jack_qiao", - "rodent_diffusion_1_5", -]); - -export declare namespace GoogleImageGenPageRequestSelectedModel { - type Raw = - | "dream_shaper" - | "dreamlike_2" - | "sd_2" - | "sd_1_5" - | "dall_e" - | "instruct_pix2pix" - | "openjourney_2" - | "openjourney" - | "analog_diffusion" - | "protogen_5_3" - | "jack_qiao" - | "rodent_diffusion_1_5"; -} diff --git a/src/serialization/types/ImageSegmentationPageRequest.ts b/src/serialization/types/ImageSegmentationPageRequest.ts deleted file mode 100644 index 6444306..0000000 --- a/src/serialization/types/ImageSegmentationPageRequest.ts +++ /dev/null @@ -1,46 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; -import { RecipeFunction } from "./RecipeFunction"; -import { ImageSegmentationPageRequestSelectedModel } from "./ImageSegmentationPageRequestSelectedModel"; -import { RunSettings } from "./RunSettings"; - -export const ImageSegmentationPageRequest: core.serialization.ObjectSchema< - serializers.ImageSegmentationPageRequest.Raw, - Gooey.ImageSegmentationPageRequest -> = core.serialization.object({ - functions: core.serialization.list(RecipeFunction).optional(), - variables: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(), - inputImage: core.serialization.property("input_image", core.serialization.string()), - selectedModel: core.serialization.property("selected_model", ImageSegmentationPageRequestSelectedModel.optional()), - maskThreshold: core.serialization.property("mask_threshold", core.serialization.number().optional()), - rectPersepectiveTransform: core.serialization.property( - "rect_persepective_transform", - core.serialization.boolean().optional() - ), - reflectionOpacity: core.serialization.property("reflection_opacity", core.serialization.number().optional()), - objScale: core.serialization.property("obj_scale", core.serialization.number().optional()), - objPosX: core.serialization.property("obj_pos_x", core.serialization.number().optional()), - objPosY: core.serialization.property("obj_pos_y", core.serialization.number().optional()), - settings: RunSettings.optional(), -}); - -export declare namespace ImageSegmentationPageRequest { - interface Raw { - functions?: RecipeFunction.Raw[] | null; - variables?: Record | null; - input_image: string; - selected_model?: ImageSegmentationPageRequestSelectedModel.Raw | null; - mask_threshold?: number | null; - rect_persepective_transform?: boolean | null; - reflection_opacity?: number | null; - obj_scale?: number | null; - obj_pos_x?: number | null; - obj_pos_y?: number | null; - settings?: RunSettings.Raw | null; - } -} diff --git a/src/serialization/types/ImageSegmentationPageRequestSelectedModel.ts b/src/serialization/types/ImageSegmentationPageRequestSelectedModel.ts deleted file mode 100644 index a39d3dd..0000000 --- a/src/serialization/types/ImageSegmentationPageRequestSelectedModel.ts +++ /dev/null @@ -1,16 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const ImageSegmentationPageRequestSelectedModel: core.serialization.Schema< - serializers.ImageSegmentationPageRequestSelectedModel.Raw, - Gooey.ImageSegmentationPageRequestSelectedModel -> = core.serialization.enum_(["dis", "u2net"]); - -export declare namespace ImageSegmentationPageRequestSelectedModel { - type Raw = "dis" | "u2net"; -} diff --git a/src/serialization/types/Img2ImgPageRequest.ts b/src/serialization/types/Img2ImgPageRequest.ts deleted file mode 100644 index 0a1f18f..0000000 --- a/src/serialization/types/Img2ImgPageRequest.ts +++ /dev/null @@ -1,62 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; -import { RecipeFunction } from "./RecipeFunction"; -import { Img2ImgPageRequestSelectedModel } from "./Img2ImgPageRequestSelectedModel"; -import { Img2ImgPageRequestSelectedControlnetModel } from "./Img2ImgPageRequestSelectedControlnetModel"; -import { RunSettings } from "./RunSettings"; - -export const Img2ImgPageRequest: core.serialization.ObjectSchema< - serializers.Img2ImgPageRequest.Raw, - Gooey.Img2ImgPageRequest -> = core.serialization.object({ - functions: core.serialization.list(RecipeFunction).optional(), - variables: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(), - inputImage: core.serialization.property("input_image", core.serialization.string()), - textPrompt: core.serialization.property("text_prompt", core.serialization.string().optional()), - selectedModel: core.serialization.property("selected_model", Img2ImgPageRequestSelectedModel.optional()), - selectedControlnetModel: core.serialization.property( - "selected_controlnet_model", - Img2ImgPageRequestSelectedControlnetModel.optional() - ), - negativePrompt: core.serialization.property("negative_prompt", core.serialization.string().optional()), - numOutputs: core.serialization.property("num_outputs", core.serialization.number().optional()), - quality: core.serialization.number().optional(), - outputWidth: core.serialization.property("output_width", core.serialization.number().optional()), - outputHeight: core.serialization.property("output_height", core.serialization.number().optional()), - guidanceScale: core.serialization.property("guidance_scale", core.serialization.number().optional()), - promptStrength: core.serialization.property("prompt_strength", core.serialization.number().optional()), - controlnetConditioningScale: core.serialization.property( - "controlnet_conditioning_scale", - core.serialization.list(core.serialization.number()).optional() - ), - seed: core.serialization.number().optional(), - imageGuidanceScale: core.serialization.property("image_guidance_scale", core.serialization.number().optional()), - settings: RunSettings.optional(), -}); - -export declare namespace Img2ImgPageRequest { - interface Raw { - functions?: RecipeFunction.Raw[] | null; - variables?: Record | null; - input_image: string; - text_prompt?: string | null; - selected_model?: Img2ImgPageRequestSelectedModel.Raw | null; - selected_controlnet_model?: Img2ImgPageRequestSelectedControlnetModel.Raw | null; - negative_prompt?: string | null; - num_outputs?: number | null; - quality?: number | null; - output_width?: number | null; - output_height?: number | null; - guidance_scale?: number | null; - prompt_strength?: number | null; - controlnet_conditioning_scale?: number[] | null; - seed?: number | null; - image_guidance_scale?: number | null; - settings?: RunSettings.Raw | null; - } -} diff --git a/src/serialization/types/Img2ImgPageRequestSelectedControlnetModel.ts b/src/serialization/types/Img2ImgPageRequestSelectedControlnetModel.ts deleted file mode 100644 index 0ebf799..0000000 --- a/src/serialization/types/Img2ImgPageRequestSelectedControlnetModel.ts +++ /dev/null @@ -1,42 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; -import { Img2ImgPageRequestSelectedControlnetModelItem } from "./Img2ImgPageRequestSelectedControlnetModelItem"; - -export const Img2ImgPageRequestSelectedControlnetModel: core.serialization.Schema< - serializers.Img2ImgPageRequestSelectedControlnetModel.Raw, - Gooey.Img2ImgPageRequestSelectedControlnetModel -> = core.serialization.undiscriminatedUnion([ - core.serialization.list(Img2ImgPageRequestSelectedControlnetModelItem), - core.serialization.stringLiteral("sd_controlnet_canny"), - core.serialization.stringLiteral("sd_controlnet_depth"), - core.serialization.stringLiteral("sd_controlnet_hed"), - core.serialization.stringLiteral("sd_controlnet_mlsd"), - core.serialization.stringLiteral("sd_controlnet_normal"), - core.serialization.stringLiteral("sd_controlnet_openpose"), - core.serialization.stringLiteral("sd_controlnet_scribble"), - core.serialization.stringLiteral("sd_controlnet_seg"), - core.serialization.stringLiteral("sd_controlnet_tile"), - core.serialization.stringLiteral("sd_controlnet_brightness"), - core.serialization.stringLiteral("control_v1p_sd15_qrcode_monster_v2"), -]); - -export declare namespace Img2ImgPageRequestSelectedControlnetModel { - type Raw = - | Img2ImgPageRequestSelectedControlnetModelItem.Raw[] - | "sd_controlnet_canny" - | "sd_controlnet_depth" - | "sd_controlnet_hed" - | "sd_controlnet_mlsd" - | "sd_controlnet_normal" - | "sd_controlnet_openpose" - | "sd_controlnet_scribble" - | "sd_controlnet_seg" - | "sd_controlnet_tile" - | "sd_controlnet_brightness" - | "control_v1p_sd15_qrcode_monster_v2"; -} diff --git a/src/serialization/types/Img2ImgPageRequestSelectedControlnetModelItem.ts b/src/serialization/types/Img2ImgPageRequestSelectedControlnetModelItem.ts deleted file mode 100644 index 6aeaf03..0000000 --- a/src/serialization/types/Img2ImgPageRequestSelectedControlnetModelItem.ts +++ /dev/null @@ -1,39 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const Img2ImgPageRequestSelectedControlnetModelItem: core.serialization.Schema< - serializers.Img2ImgPageRequestSelectedControlnetModelItem.Raw, - Gooey.Img2ImgPageRequestSelectedControlnetModelItem -> = core.serialization.enum_([ - "sd_controlnet_canny", - "sd_controlnet_depth", - "sd_controlnet_hed", - "sd_controlnet_mlsd", - "sd_controlnet_normal", - "sd_controlnet_openpose", - "sd_controlnet_scribble", - "sd_controlnet_seg", - "sd_controlnet_tile", - "sd_controlnet_brightness", - "control_v1p_sd15_qrcode_monster_v2", -]); - -export declare namespace Img2ImgPageRequestSelectedControlnetModelItem { - type Raw = - | "sd_controlnet_canny" - | "sd_controlnet_depth" - | "sd_controlnet_hed" - | "sd_controlnet_mlsd" - | "sd_controlnet_normal" - | "sd_controlnet_openpose" - | "sd_controlnet_scribble" - | "sd_controlnet_seg" - | "sd_controlnet_tile" - | "sd_controlnet_brightness" - | "control_v1p_sd15_qrcode_monster_v2"; -} diff --git a/src/serialization/types/Img2ImgPageRequestSelectedModel.ts b/src/serialization/types/Img2ImgPageRequestSelectedModel.ts deleted file mode 100644 index b25f4fc..0000000 --- a/src/serialization/types/Img2ImgPageRequestSelectedModel.ts +++ /dev/null @@ -1,41 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const Img2ImgPageRequestSelectedModel: core.serialization.Schema< - serializers.Img2ImgPageRequestSelectedModel.Raw, - Gooey.Img2ImgPageRequestSelectedModel -> = core.serialization.enum_([ - "dream_shaper", - "dreamlike_2", - "sd_2", - "sd_1_5", - "dall_e", - "instruct_pix2pix", - "openjourney_2", - "openjourney", - "analog_diffusion", - "protogen_5_3", - "jack_qiao", - "rodent_diffusion_1_5", -]); - -export declare namespace Img2ImgPageRequestSelectedModel { - type Raw = - | "dream_shaper" - | "dreamlike_2" - | "sd_2" - | "sd_1_5" - | "dall_e" - | "instruct_pix2pix" - | "openjourney_2" - | "openjourney" - | "analog_diffusion" - | "protogen_5_3" - | "jack_qiao" - | "rodent_diffusion_1_5"; -} diff --git a/src/serialization/types/LetterWriterPageRequest.ts b/src/serialization/types/LetterWriterPageRequest.ts deleted file mode 100644 index b49a8e5..0000000 --- a/src/serialization/types/LetterWriterPageRequest.ts +++ /dev/null @@ -1,61 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; -import { RecipeFunction } from "./RecipeFunction"; -import { TrainingDataModel } from "./TrainingDataModel"; -import { RunSettings } from "./RunSettings"; - -export const LetterWriterPageRequest: core.serialization.ObjectSchema< - serializers.LetterWriterPageRequest.Raw, - Gooey.LetterWriterPageRequest -> = core.serialization.object({ - functions: core.serialization.list(RecipeFunction).optional(), - variables: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(), - actionId: core.serialization.property("action_id", core.serialization.string()), - promptHeader: core.serialization.property("prompt_header", core.serialization.string().optional()), - exampleLetters: core.serialization.property( - "example_letters", - core.serialization.list(TrainingDataModel).optional() - ), - lmSelectedApi: core.serialization.property("lm_selected_api", core.serialization.string().optional()), - lmSelectedEngine: core.serialization.property("lm_selected_engine", core.serialization.string().optional()), - numOutputs: core.serialization.property("num_outputs", core.serialization.number().optional()), - quality: core.serialization.number().optional(), - lmSamplingTemperature: core.serialization.property( - "lm_sampling_temperature", - core.serialization.number().optional() - ), - apiHttpMethod: core.serialization.property("api_http_method", core.serialization.string().optional()), - apiUrl: core.serialization.property("api_url", core.serialization.string().optional()), - apiHeaders: core.serialization.property("api_headers", core.serialization.string().optional()), - apiJsonBody: core.serialization.property("api_json_body", core.serialization.string().optional()), - inputPrompt: core.serialization.property("input_prompt", core.serialization.string().optional()), - stripHtml2Text: core.serialization.property("strip_html_2_text", core.serialization.boolean().optional()), - settings: RunSettings.optional(), -}); - -export declare namespace LetterWriterPageRequest { - interface Raw { - functions?: RecipeFunction.Raw[] | null; - variables?: Record | null; - action_id: string; - prompt_header?: string | null; - example_letters?: TrainingDataModel.Raw[] | null; - lm_selected_api?: string | null; - lm_selected_engine?: string | null; - num_outputs?: number | null; - quality?: number | null; - lm_sampling_temperature?: number | null; - api_http_method?: string | null; - api_url?: string | null; - api_headers?: string | null; - api_json_body?: string | null; - input_prompt?: string | null; - strip_html_2_text?: boolean | null; - settings?: RunSettings.Raw | null; - } -} diff --git a/src/serialization/types/LipsyncPageRequest.ts b/src/serialization/types/LipsyncPageRequest.ts deleted file mode 100644 index 9ece446..0000000 --- a/src/serialization/types/LipsyncPageRequest.ts +++ /dev/null @@ -1,44 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; -import { RecipeFunction } from "./RecipeFunction"; -import { SadTalkerSettings } from "./SadTalkerSettings"; -import { LipsyncPageRequestSelectedModel } from "./LipsyncPageRequestSelectedModel"; -import { RunSettings } from "./RunSettings"; - -export const LipsyncPageRequest: core.serialization.ObjectSchema< - serializers.LipsyncPageRequest.Raw, - Gooey.LipsyncPageRequest -> = core.serialization.object({ - functions: core.serialization.list(RecipeFunction).optional(), - variables: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(), - inputFace: core.serialization.property("input_face", core.serialization.string().optional()), - facePaddingTop: core.serialization.property("face_padding_top", core.serialization.number().optional()), - facePaddingBottom: core.serialization.property("face_padding_bottom", core.serialization.number().optional()), - facePaddingLeft: core.serialization.property("face_padding_left", core.serialization.number().optional()), - facePaddingRight: core.serialization.property("face_padding_right", core.serialization.number().optional()), - sadtalkerSettings: core.serialization.property("sadtalker_settings", SadTalkerSettings.optional()), - selectedModel: core.serialization.property("selected_model", LipsyncPageRequestSelectedModel.optional()), - inputAudio: core.serialization.property("input_audio", core.serialization.string().optional()), - settings: RunSettings.optional(), -}); - -export declare namespace LipsyncPageRequest { - interface Raw { - functions?: RecipeFunction.Raw[] | null; - variables?: Record | null; - input_face?: string | null; - face_padding_top?: number | null; - face_padding_bottom?: number | null; - face_padding_left?: number | null; - face_padding_right?: number | null; - sadtalker_settings?: SadTalkerSettings.Raw | null; - selected_model?: LipsyncPageRequestSelectedModel.Raw | null; - input_audio?: string | null; - settings?: RunSettings.Raw | null; - } -} diff --git a/src/serialization/types/LipsyncPageRequestSelectedModel.ts b/src/serialization/types/LipsyncPageRequestSelectedModel.ts deleted file mode 100644 index 038c418..0000000 --- a/src/serialization/types/LipsyncPageRequestSelectedModel.ts +++ /dev/null @@ -1,16 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const LipsyncPageRequestSelectedModel: core.serialization.Schema< - serializers.LipsyncPageRequestSelectedModel.Raw, - Gooey.LipsyncPageRequestSelectedModel -> = core.serialization.enum_(["Wav2Lip", "SadTalker"]); - -export declare namespace LipsyncPageRequestSelectedModel { - type Raw = "Wav2Lip" | "SadTalker"; -} diff --git a/src/serialization/types/LipsyncTtsPageRequest.ts b/src/serialization/types/LipsyncTtsPageRequest.ts deleted file mode 100644 index 32dedb9..0000000 --- a/src/serialization/types/LipsyncTtsPageRequest.ts +++ /dev/null @@ -1,89 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; -import { RecipeFunction } from "./RecipeFunction"; -import { LipsyncTtsPageRequestTtsProvider } from "./LipsyncTtsPageRequestTtsProvider"; -import { LipsyncTtsPageRequestOpenaiVoiceName } from "./LipsyncTtsPageRequestOpenaiVoiceName"; -import { LipsyncTtsPageRequestOpenaiTtsModel } from "./LipsyncTtsPageRequestOpenaiTtsModel"; -import { SadTalkerSettings } from "./SadTalkerSettings"; -import { LipsyncTtsPageRequestSelectedModel } from "./LipsyncTtsPageRequestSelectedModel"; -import { RunSettings } from "./RunSettings"; - -export const LipsyncTtsPageRequest: core.serialization.ObjectSchema< - serializers.LipsyncTtsPageRequest.Raw, - Gooey.LipsyncTtsPageRequest -> = core.serialization.object({ - functions: core.serialization.list(RecipeFunction).optional(), - variables: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(), - textPrompt: core.serialization.property("text_prompt", core.serialization.string()), - ttsProvider: core.serialization.property("tts_provider", LipsyncTtsPageRequestTtsProvider.optional()), - uberduckVoiceName: core.serialization.property("uberduck_voice_name", core.serialization.string().optional()), - uberduckSpeakingRate: core.serialization.property("uberduck_speaking_rate", core.serialization.number().optional()), - googleVoiceName: core.serialization.property("google_voice_name", core.serialization.string().optional()), - googleSpeakingRate: core.serialization.property("google_speaking_rate", core.serialization.number().optional()), - googlePitch: core.serialization.property("google_pitch", core.serialization.number().optional()), - barkHistoryPrompt: core.serialization.property("bark_history_prompt", core.serialization.string().optional()), - elevenlabsVoiceName: core.serialization.property("elevenlabs_voice_name", core.serialization.string().optional()), - elevenlabsApiKey: core.serialization.property("elevenlabs_api_key", core.serialization.string().optional()), - elevenlabsVoiceId: core.serialization.property("elevenlabs_voice_id", core.serialization.string().optional()), - elevenlabsModel: core.serialization.property("elevenlabs_model", core.serialization.string().optional()), - elevenlabsStability: core.serialization.property("elevenlabs_stability", core.serialization.number().optional()), - elevenlabsSimilarityBoost: core.serialization.property( - "elevenlabs_similarity_boost", - core.serialization.number().optional() - ), - elevenlabsStyle: core.serialization.property("elevenlabs_style", core.serialization.number().optional()), - elevenlabsSpeakerBoost: core.serialization.property( - "elevenlabs_speaker_boost", - core.serialization.boolean().optional() - ), - azureVoiceName: core.serialization.property("azure_voice_name", core.serialization.string().optional()), - openaiVoiceName: core.serialization.property("openai_voice_name", LipsyncTtsPageRequestOpenaiVoiceName.optional()), - openaiTtsModel: core.serialization.property("openai_tts_model", LipsyncTtsPageRequestOpenaiTtsModel.optional()), - inputFace: core.serialization.property("input_face", core.serialization.string().optional()), - facePaddingTop: core.serialization.property("face_padding_top", core.serialization.number().optional()), - facePaddingBottom: core.serialization.property("face_padding_bottom", core.serialization.number().optional()), - facePaddingLeft: core.serialization.property("face_padding_left", core.serialization.number().optional()), - facePaddingRight: core.serialization.property("face_padding_right", core.serialization.number().optional()), - sadtalkerSettings: core.serialization.property("sadtalker_settings", SadTalkerSettings.optional()), - selectedModel: core.serialization.property("selected_model", LipsyncTtsPageRequestSelectedModel.optional()), - settings: RunSettings.optional(), -}); - -export declare namespace LipsyncTtsPageRequest { - interface Raw { - functions?: RecipeFunction.Raw[] | null; - variables?: Record | null; - text_prompt: string; - tts_provider?: LipsyncTtsPageRequestTtsProvider.Raw | null; - uberduck_voice_name?: string | null; - uberduck_speaking_rate?: number | null; - google_voice_name?: string | null; - google_speaking_rate?: number | null; - google_pitch?: number | null; - bark_history_prompt?: string | null; - elevenlabs_voice_name?: string | null; - elevenlabs_api_key?: string | null; - elevenlabs_voice_id?: string | null; - elevenlabs_model?: string | null; - elevenlabs_stability?: number | null; - elevenlabs_similarity_boost?: number | null; - elevenlabs_style?: number | null; - elevenlabs_speaker_boost?: boolean | null; - azure_voice_name?: string | null; - openai_voice_name?: LipsyncTtsPageRequestOpenaiVoiceName.Raw | null; - openai_tts_model?: LipsyncTtsPageRequestOpenaiTtsModel.Raw | null; - input_face?: string | null; - face_padding_top?: number | null; - face_padding_bottom?: number | null; - face_padding_left?: number | null; - face_padding_right?: number | null; - sadtalker_settings?: SadTalkerSettings.Raw | null; - selected_model?: LipsyncTtsPageRequestSelectedModel.Raw | null; - settings?: RunSettings.Raw | null; - } -} diff --git a/src/serialization/types/LipsyncTtsPageRequestOpenaiTtsModel.ts b/src/serialization/types/LipsyncTtsPageRequestOpenaiTtsModel.ts deleted file mode 100644 index 6b4cb1f..0000000 --- a/src/serialization/types/LipsyncTtsPageRequestOpenaiTtsModel.ts +++ /dev/null @@ -1,16 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const LipsyncTtsPageRequestOpenaiTtsModel: core.serialization.Schema< - serializers.LipsyncTtsPageRequestOpenaiTtsModel.Raw, - Gooey.LipsyncTtsPageRequestOpenaiTtsModel -> = core.serialization.enum_(["tts_1", "tts_1_hd"]); - -export declare namespace LipsyncTtsPageRequestOpenaiTtsModel { - type Raw = "tts_1" | "tts_1_hd"; -} diff --git a/src/serialization/types/LipsyncTtsPageRequestOpenaiVoiceName.ts b/src/serialization/types/LipsyncTtsPageRequestOpenaiVoiceName.ts deleted file mode 100644 index 9df6659..0000000 --- a/src/serialization/types/LipsyncTtsPageRequestOpenaiVoiceName.ts +++ /dev/null @@ -1,16 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const LipsyncTtsPageRequestOpenaiVoiceName: core.serialization.Schema< - serializers.LipsyncTtsPageRequestOpenaiVoiceName.Raw, - Gooey.LipsyncTtsPageRequestOpenaiVoiceName -> = core.serialization.enum_(["alloy", "echo", "fable", "onyx", "nova", "shimmer"]); - -export declare namespace LipsyncTtsPageRequestOpenaiVoiceName { - type Raw = "alloy" | "echo" | "fable" | "onyx" | "nova" | "shimmer"; -} diff --git a/src/serialization/types/LipsyncTtsPageRequestSelectedModel.ts b/src/serialization/types/LipsyncTtsPageRequestSelectedModel.ts deleted file mode 100644 index 984f0f9..0000000 --- a/src/serialization/types/LipsyncTtsPageRequestSelectedModel.ts +++ /dev/null @@ -1,16 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const LipsyncTtsPageRequestSelectedModel: core.serialization.Schema< - serializers.LipsyncTtsPageRequestSelectedModel.Raw, - Gooey.LipsyncTtsPageRequestSelectedModel -> = core.serialization.enum_(["Wav2Lip", "SadTalker"]); - -export declare namespace LipsyncTtsPageRequestSelectedModel { - type Raw = "Wav2Lip" | "SadTalker"; -} diff --git a/src/serialization/types/LipsyncTtsPageRequestTtsProvider.ts b/src/serialization/types/LipsyncTtsPageRequestTtsProvider.ts deleted file mode 100644 index 1a29612..0000000 --- a/src/serialization/types/LipsyncTtsPageRequestTtsProvider.ts +++ /dev/null @@ -1,16 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const LipsyncTtsPageRequestTtsProvider: core.serialization.Schema< - serializers.LipsyncTtsPageRequestTtsProvider.Raw, - Gooey.LipsyncTtsPageRequestTtsProvider -> = core.serialization.enum_(["GOOGLE_TTS", "ELEVEN_LABS", "UBERDUCK", "BARK", "AZURE_TTS", "OPEN_AI"]); - -export declare namespace LipsyncTtsPageRequestTtsProvider { - type Raw = "GOOGLE_TTS" | "ELEVEN_LABS" | "UBERDUCK" | "BARK" | "AZURE_TTS" | "OPEN_AI"; -} diff --git a/src/serialization/types/ObjectInpaintingPageRequest.ts b/src/serialization/types/ObjectInpaintingPageRequest.ts deleted file mode 100644 index fbc26fc..0000000 --- a/src/serialization/types/ObjectInpaintingPageRequest.ts +++ /dev/null @@ -1,57 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; -import { RecipeFunction } from "./RecipeFunction"; -import { ObjectInpaintingPageRequestSelectedModel } from "./ObjectInpaintingPageRequestSelectedModel"; -import { RunSettings } from "./RunSettings"; - -export const ObjectInpaintingPageRequest: core.serialization.ObjectSchema< - serializers.ObjectInpaintingPageRequest.Raw, - Gooey.ObjectInpaintingPageRequest -> = core.serialization.object({ - functions: core.serialization.list(RecipeFunction).optional(), - variables: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(), - inputImage: core.serialization.property("input_image", core.serialization.string()), - textPrompt: core.serialization.property("text_prompt", core.serialization.string()), - objScale: core.serialization.property("obj_scale", core.serialization.number().optional()), - objPosX: core.serialization.property("obj_pos_x", core.serialization.number().optional()), - objPosY: core.serialization.property("obj_pos_y", core.serialization.number().optional()), - maskThreshold: core.serialization.property("mask_threshold", core.serialization.number().optional()), - selectedModel: core.serialization.property("selected_model", ObjectInpaintingPageRequestSelectedModel.optional()), - negativePrompt: core.serialization.property("negative_prompt", core.serialization.string().optional()), - numOutputs: core.serialization.property("num_outputs", core.serialization.number().optional()), - quality: core.serialization.number().optional(), - outputWidth: core.serialization.property("output_width", core.serialization.number().optional()), - outputHeight: core.serialization.property("output_height", core.serialization.number().optional()), - guidanceScale: core.serialization.property("guidance_scale", core.serialization.number().optional()), - sd2Upscaling: core.serialization.property("sd_2_upscaling", core.serialization.boolean().optional()), - seed: core.serialization.number().optional(), - settings: RunSettings.optional(), -}); - -export declare namespace ObjectInpaintingPageRequest { - interface Raw { - functions?: RecipeFunction.Raw[] | null; - variables?: Record | null; - input_image: string; - text_prompt: string; - obj_scale?: number | null; - obj_pos_x?: number | null; - obj_pos_y?: number | null; - mask_threshold?: number | null; - selected_model?: ObjectInpaintingPageRequestSelectedModel.Raw | null; - negative_prompt?: string | null; - num_outputs?: number | null; - quality?: number | null; - output_width?: number | null; - output_height?: number | null; - guidance_scale?: number | null; - sd_2_upscaling?: boolean | null; - seed?: number | null; - settings?: RunSettings.Raw | null; - } -} diff --git a/src/serialization/types/ObjectInpaintingPageRequestSelectedModel.ts b/src/serialization/types/ObjectInpaintingPageRequestSelectedModel.ts deleted file mode 100644 index c88a1c3..0000000 --- a/src/serialization/types/ObjectInpaintingPageRequestSelectedModel.ts +++ /dev/null @@ -1,16 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const ObjectInpaintingPageRequestSelectedModel: core.serialization.Schema< - serializers.ObjectInpaintingPageRequestSelectedModel.Raw, - Gooey.ObjectInpaintingPageRequestSelectedModel -> = core.serialization.enum_(["sd_2", "runway_ml", "dall_e", "jack_qiao"]); - -export declare namespace ObjectInpaintingPageRequestSelectedModel { - type Raw = "sd_2" | "runway_ml" | "dall_e" | "jack_qiao"; -} diff --git a/src/serialization/types/QrCodeGeneratorPageRequest.ts b/src/serialization/types/QrCodeGeneratorPageRequest.ts deleted file mode 100644 index 4953ca3..0000000 --- a/src/serialization/types/QrCodeGeneratorPageRequest.ts +++ /dev/null @@ -1,92 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; -import { RecipeFunction } from "./RecipeFunction"; -import { Vcard } from "./Vcard"; -import { QrCodeGeneratorPageRequestImagePromptControlnetModelsItem } from "./QrCodeGeneratorPageRequestImagePromptControlnetModelsItem"; -import { QrCodeGeneratorPageRequestSelectedModel } from "./QrCodeGeneratorPageRequestSelectedModel"; -import { QrCodeGeneratorPageRequestSelectedControlnetModelItem } from "./QrCodeGeneratorPageRequestSelectedControlnetModelItem"; -import { QrCodeGeneratorPageRequestScheduler } from "./QrCodeGeneratorPageRequestScheduler"; -import { RunSettings } from "./RunSettings"; - -export const QrCodeGeneratorPageRequest: core.serialization.ObjectSchema< - serializers.QrCodeGeneratorPageRequest.Raw, - Gooey.QrCodeGeneratorPageRequest -> = core.serialization.object({ - functions: core.serialization.list(RecipeFunction).optional(), - variables: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(), - qrCodeData: core.serialization.property("qr_code_data", core.serialization.string().optional()), - qrCodeInputImage: core.serialization.property("qr_code_input_image", core.serialization.string().optional()), - qrCodeVcard: core.serialization.property("qr_code_vcard", Vcard.optional()), - qrCodeFile: core.serialization.property("qr_code_file", core.serialization.string().optional()), - useUrlShortener: core.serialization.property("use_url_shortener", core.serialization.boolean().optional()), - textPrompt: core.serialization.property("text_prompt", core.serialization.string()), - negativePrompt: core.serialization.property("negative_prompt", core.serialization.string().optional()), - imagePrompt: core.serialization.property("image_prompt", core.serialization.string().optional()), - imagePromptControlnetModels: core.serialization.property( - "image_prompt_controlnet_models", - core.serialization.list(QrCodeGeneratorPageRequestImagePromptControlnetModelsItem).optional() - ), - imagePromptStrength: core.serialization.property("image_prompt_strength", core.serialization.number().optional()), - imagePromptScale: core.serialization.property("image_prompt_scale", core.serialization.number().optional()), - imagePromptPosX: core.serialization.property("image_prompt_pos_x", core.serialization.number().optional()), - imagePromptPosY: core.serialization.property("image_prompt_pos_y", core.serialization.number().optional()), - selectedModel: core.serialization.property("selected_model", QrCodeGeneratorPageRequestSelectedModel.optional()), - selectedControlnetModel: core.serialization.property( - "selected_controlnet_model", - core.serialization.list(QrCodeGeneratorPageRequestSelectedControlnetModelItem).optional() - ), - outputWidth: core.serialization.property("output_width", core.serialization.number().optional()), - outputHeight: core.serialization.property("output_height", core.serialization.number().optional()), - guidanceScale: core.serialization.property("guidance_scale", core.serialization.number().optional()), - controlnetConditioningScale: core.serialization.property( - "controlnet_conditioning_scale", - core.serialization.list(core.serialization.number()).optional() - ), - numOutputs: core.serialization.property("num_outputs", core.serialization.number().optional()), - quality: core.serialization.number().optional(), - scheduler: QrCodeGeneratorPageRequestScheduler.optional(), - seed: core.serialization.number().optional(), - objScale: core.serialization.property("obj_scale", core.serialization.number().optional()), - objPosX: core.serialization.property("obj_pos_x", core.serialization.number().optional()), - objPosY: core.serialization.property("obj_pos_y", core.serialization.number().optional()), - settings: RunSettings.optional(), -}); - -export declare namespace QrCodeGeneratorPageRequest { - interface Raw { - functions?: RecipeFunction.Raw[] | null; - variables?: Record | null; - qr_code_data?: string | null; - qr_code_input_image?: string | null; - qr_code_vcard?: Vcard.Raw | null; - qr_code_file?: string | null; - use_url_shortener?: boolean | null; - text_prompt: string; - negative_prompt?: string | null; - image_prompt?: string | null; - image_prompt_controlnet_models?: QrCodeGeneratorPageRequestImagePromptControlnetModelsItem.Raw[] | null; - image_prompt_strength?: number | null; - image_prompt_scale?: number | null; - image_prompt_pos_x?: number | null; - image_prompt_pos_y?: number | null; - selected_model?: QrCodeGeneratorPageRequestSelectedModel.Raw | null; - selected_controlnet_model?: QrCodeGeneratorPageRequestSelectedControlnetModelItem.Raw[] | null; - output_width?: number | null; - output_height?: number | null; - guidance_scale?: number | null; - controlnet_conditioning_scale?: number[] | null; - num_outputs?: number | null; - quality?: number | null; - scheduler?: QrCodeGeneratorPageRequestScheduler.Raw | null; - seed?: number | null; - obj_scale?: number | null; - obj_pos_x?: number | null; - obj_pos_y?: number | null; - settings?: RunSettings.Raw | null; - } -} diff --git a/src/serialization/types/QrCodeGeneratorPageRequestImagePromptControlnetModelsItem.ts b/src/serialization/types/QrCodeGeneratorPageRequestImagePromptControlnetModelsItem.ts deleted file mode 100644 index 0bb2c1d..0000000 --- a/src/serialization/types/QrCodeGeneratorPageRequestImagePromptControlnetModelsItem.ts +++ /dev/null @@ -1,39 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const QrCodeGeneratorPageRequestImagePromptControlnetModelsItem: core.serialization.Schema< - serializers.QrCodeGeneratorPageRequestImagePromptControlnetModelsItem.Raw, - Gooey.QrCodeGeneratorPageRequestImagePromptControlnetModelsItem -> = core.serialization.enum_([ - "sd_controlnet_canny", - "sd_controlnet_depth", - "sd_controlnet_hed", - "sd_controlnet_mlsd", - "sd_controlnet_normal", - "sd_controlnet_openpose", - "sd_controlnet_scribble", - "sd_controlnet_seg", - "sd_controlnet_tile", - "sd_controlnet_brightness", - "control_v1p_sd15_qrcode_monster_v2", -]); - -export declare namespace QrCodeGeneratorPageRequestImagePromptControlnetModelsItem { - type Raw = - | "sd_controlnet_canny" - | "sd_controlnet_depth" - | "sd_controlnet_hed" - | "sd_controlnet_mlsd" - | "sd_controlnet_normal" - | "sd_controlnet_openpose" - | "sd_controlnet_scribble" - | "sd_controlnet_seg" - | "sd_controlnet_tile" - | "sd_controlnet_brightness" - | "control_v1p_sd15_qrcode_monster_v2"; -} diff --git a/src/serialization/types/QrCodeGeneratorPageRequestScheduler.ts b/src/serialization/types/QrCodeGeneratorPageRequestScheduler.ts deleted file mode 100644 index 6887bc7..0000000 --- a/src/serialization/types/QrCodeGeneratorPageRequestScheduler.ts +++ /dev/null @@ -1,45 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const QrCodeGeneratorPageRequestScheduler: core.serialization.Schema< - serializers.QrCodeGeneratorPageRequestScheduler.Raw, - Gooey.QrCodeGeneratorPageRequestScheduler -> = core.serialization.enum_([ - "singlestep_dpm_solver", - "multistep_dpm_solver", - "dpm_sde", - "dpm_discrete", - "dpm_discrete_ancestral", - "unipc", - "lms_discrete", - "heun", - "euler", - "euler_ancestral", - "pndm", - "ddpm", - "ddim", - "deis", -]); - -export declare namespace QrCodeGeneratorPageRequestScheduler { - type Raw = - | "singlestep_dpm_solver" - | "multistep_dpm_solver" - | "dpm_sde" - | "dpm_discrete" - | "dpm_discrete_ancestral" - | "unipc" - | "lms_discrete" - | "heun" - | "euler" - | "euler_ancestral" - | "pndm" - | "ddpm" - | "ddim" - | "deis"; -} diff --git a/src/serialization/types/QrCodeGeneratorPageRequestSelectedControlnetModelItem.ts b/src/serialization/types/QrCodeGeneratorPageRequestSelectedControlnetModelItem.ts deleted file mode 100644 index c87f635..0000000 --- a/src/serialization/types/QrCodeGeneratorPageRequestSelectedControlnetModelItem.ts +++ /dev/null @@ -1,39 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const QrCodeGeneratorPageRequestSelectedControlnetModelItem: core.serialization.Schema< - serializers.QrCodeGeneratorPageRequestSelectedControlnetModelItem.Raw, - Gooey.QrCodeGeneratorPageRequestSelectedControlnetModelItem -> = core.serialization.enum_([ - "sd_controlnet_canny", - "sd_controlnet_depth", - "sd_controlnet_hed", - "sd_controlnet_mlsd", - "sd_controlnet_normal", - "sd_controlnet_openpose", - "sd_controlnet_scribble", - "sd_controlnet_seg", - "sd_controlnet_tile", - "sd_controlnet_brightness", - "control_v1p_sd15_qrcode_monster_v2", -]); - -export declare namespace QrCodeGeneratorPageRequestSelectedControlnetModelItem { - type Raw = - | "sd_controlnet_canny" - | "sd_controlnet_depth" - | "sd_controlnet_hed" - | "sd_controlnet_mlsd" - | "sd_controlnet_normal" - | "sd_controlnet_openpose" - | "sd_controlnet_scribble" - | "sd_controlnet_seg" - | "sd_controlnet_tile" - | "sd_controlnet_brightness" - | "control_v1p_sd15_qrcode_monster_v2"; -} diff --git a/src/serialization/types/QrCodeGeneratorPageRequestSelectedModel.ts b/src/serialization/types/QrCodeGeneratorPageRequestSelectedModel.ts deleted file mode 100644 index 59283d9..0000000 --- a/src/serialization/types/QrCodeGeneratorPageRequestSelectedModel.ts +++ /dev/null @@ -1,43 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const QrCodeGeneratorPageRequestSelectedModel: core.serialization.Schema< - serializers.QrCodeGeneratorPageRequestSelectedModel.Raw, - Gooey.QrCodeGeneratorPageRequestSelectedModel -> = core.serialization.enum_([ - "dream_shaper", - "dreamlike_2", - "sd_2", - "sd_1_5", - "dall_e", - "dall_e_3", - "openjourney_2", - "openjourney", - "analog_diffusion", - "protogen_5_3", - "jack_qiao", - "rodent_diffusion_1_5", - "deepfloyd_if", -]); - -export declare namespace QrCodeGeneratorPageRequestSelectedModel { - type Raw = - | "dream_shaper" - | "dreamlike_2" - | "sd_2" - | "sd_1_5" - | "dall_e" - | "dall_e_3" - | "openjourney_2" - | "openjourney" - | "analog_diffusion" - | "protogen_5_3" - | "jack_qiao" - | "rodent_diffusion_1_5" - | "deepfloyd_if"; -} diff --git a/src/serialization/types/RelatedQnADocPageRequest.ts b/src/serialization/types/RelatedQnADocPageRequest.ts deleted file mode 100644 index f1a3384..0000000 --- a/src/serialization/types/RelatedQnADocPageRequest.ts +++ /dev/null @@ -1,85 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; -import { RecipeFunction } from "./RecipeFunction"; -import { RelatedQnADocPageRequestKeywordQuery } from "./RelatedQnADocPageRequestKeywordQuery"; -import { RelatedQnADocPageRequestEmbeddingModel } from "./RelatedQnADocPageRequestEmbeddingModel"; -import { RelatedQnADocPageRequestSelectedModel } from "./RelatedQnADocPageRequestSelectedModel"; -import { RelatedQnADocPageRequestCitationStyle } from "./RelatedQnADocPageRequestCitationStyle"; -import { RelatedQnADocPageRequestResponseFormatType } from "./RelatedQnADocPageRequestResponseFormatType"; -import { SerpSearchLocation } from "./SerpSearchLocation"; -import { SerpSearchType } from "./SerpSearchType"; -import { RunSettings } from "./RunSettings"; - -export const RelatedQnADocPageRequest: core.serialization.ObjectSchema< - serializers.RelatedQnADocPageRequest.Raw, - Gooey.RelatedQnADocPageRequest -> = core.serialization.object({ - functions: core.serialization.list(RecipeFunction).optional(), - variables: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(), - searchQuery: core.serialization.property("search_query", core.serialization.string()), - keywordQuery: core.serialization.property("keyword_query", RelatedQnADocPageRequestKeywordQuery.optional()), - documents: core.serialization.list(core.serialization.string()).optional(), - maxReferences: core.serialization.property("max_references", core.serialization.number().optional()), - maxContextWords: core.serialization.property("max_context_words", core.serialization.number().optional()), - scrollJump: core.serialization.property("scroll_jump", core.serialization.number().optional()), - docExtractUrl: core.serialization.property("doc_extract_url", core.serialization.string().optional()), - embeddingModel: core.serialization.property("embedding_model", RelatedQnADocPageRequestEmbeddingModel.optional()), - denseWeight: core.serialization.property("dense_weight", core.serialization.number().optional()), - taskInstructions: core.serialization.property("task_instructions", core.serialization.string().optional()), - queryInstructions: core.serialization.property("query_instructions", core.serialization.string().optional()), - selectedModel: core.serialization.property("selected_model", RelatedQnADocPageRequestSelectedModel.optional()), - citationStyle: core.serialization.property("citation_style", RelatedQnADocPageRequestCitationStyle.optional()), - avoidRepetition: core.serialization.property("avoid_repetition", core.serialization.boolean().optional()), - numOutputs: core.serialization.property("num_outputs", core.serialization.number().optional()), - quality: core.serialization.number().optional(), - maxTokens: core.serialization.property("max_tokens", core.serialization.number().optional()), - samplingTemperature: core.serialization.property("sampling_temperature", core.serialization.number().optional()), - responseFormatType: core.serialization.property( - "response_format_type", - RelatedQnADocPageRequestResponseFormatType.optional() - ), - serpSearchLocation: core.serialization.property("serp_search_location", SerpSearchLocation.optional()), - scaleserpLocations: core.serialization.property( - "scaleserp_locations", - core.serialization.list(core.serialization.string()).optional() - ), - serpSearchType: core.serialization.property("serp_search_type", SerpSearchType.optional()), - scaleserpSearchField: core.serialization.property("scaleserp_search_field", core.serialization.string().optional()), - settings: RunSettings.optional(), -}); - -export declare namespace RelatedQnADocPageRequest { - interface Raw { - functions?: RecipeFunction.Raw[] | null; - variables?: Record | null; - search_query: string; - keyword_query?: RelatedQnADocPageRequestKeywordQuery.Raw | null; - documents?: string[] | null; - max_references?: number | null; - max_context_words?: number | null; - scroll_jump?: number | null; - doc_extract_url?: string | null; - embedding_model?: RelatedQnADocPageRequestEmbeddingModel.Raw | null; - dense_weight?: number | null; - task_instructions?: string | null; - query_instructions?: string | null; - selected_model?: RelatedQnADocPageRequestSelectedModel.Raw | null; - citation_style?: RelatedQnADocPageRequestCitationStyle.Raw | null; - avoid_repetition?: boolean | null; - num_outputs?: number | null; - quality?: number | null; - max_tokens?: number | null; - sampling_temperature?: number | null; - response_format_type?: RelatedQnADocPageRequestResponseFormatType.Raw | null; - serp_search_location?: SerpSearchLocation.Raw | null; - scaleserp_locations?: string[] | null; - serp_search_type?: SerpSearchType.Raw | null; - scaleserp_search_field?: string | null; - settings?: RunSettings.Raw | null; - } -} diff --git a/src/serialization/types/RelatedQnADocPageRequestCitationStyle.ts b/src/serialization/types/RelatedQnADocPageRequestCitationStyle.ts deleted file mode 100644 index de23c31..0000000 --- a/src/serialization/types/RelatedQnADocPageRequestCitationStyle.ts +++ /dev/null @@ -1,49 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const RelatedQnADocPageRequestCitationStyle: core.serialization.Schema< - serializers.RelatedQnADocPageRequestCitationStyle.Raw, - Gooey.RelatedQnADocPageRequestCitationStyle -> = core.serialization.enum_([ - "number", - "title", - "url", - "symbol", - "markdown", - "html", - "slack_mrkdwn", - "plaintext", - "number_markdown", - "number_html", - "number_slack_mrkdwn", - "number_plaintext", - "symbol_markdown", - "symbol_html", - "symbol_slack_mrkdwn", - "symbol_plaintext", -]); - -export declare namespace RelatedQnADocPageRequestCitationStyle { - type Raw = - | "number" - | "title" - | "url" - | "symbol" - | "markdown" - | "html" - | "slack_mrkdwn" - | "plaintext" - | "number_markdown" - | "number_html" - | "number_slack_mrkdwn" - | "number_plaintext" - | "symbol_markdown" - | "symbol_html" - | "symbol_slack_mrkdwn" - | "symbol_plaintext"; -} diff --git a/src/serialization/types/RelatedQnADocPageRequestEmbeddingModel.ts b/src/serialization/types/RelatedQnADocPageRequestEmbeddingModel.ts deleted file mode 100644 index 6c0c0c0..0000000 --- a/src/serialization/types/RelatedQnADocPageRequestEmbeddingModel.ts +++ /dev/null @@ -1,35 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const RelatedQnADocPageRequestEmbeddingModel: core.serialization.Schema< - serializers.RelatedQnADocPageRequestEmbeddingModel.Raw, - Gooey.RelatedQnADocPageRequestEmbeddingModel -> = core.serialization.enum_([ - "openai_3_large", - "openai_3_small", - "openai_ada_2", - "e5_large_v2", - "e5_base_v2", - "multilingual_e5_base", - "multilingual_e5_large", - "gte_large", - "gte_base", -]); - -export declare namespace RelatedQnADocPageRequestEmbeddingModel { - type Raw = - | "openai_3_large" - | "openai_3_small" - | "openai_ada_2" - | "e5_large_v2" - | "e5_base_v2" - | "multilingual_e5_base" - | "multilingual_e5_large" - | "gte_large" - | "gte_base"; -} diff --git a/src/serialization/types/RelatedQnADocPageRequestKeywordQuery.ts b/src/serialization/types/RelatedQnADocPageRequestKeywordQuery.ts deleted file mode 100644 index 123be94..0000000 --- a/src/serialization/types/RelatedQnADocPageRequestKeywordQuery.ts +++ /dev/null @@ -1,19 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const RelatedQnADocPageRequestKeywordQuery: core.serialization.Schema< - serializers.RelatedQnADocPageRequestKeywordQuery.Raw, - Gooey.RelatedQnADocPageRequestKeywordQuery -> = core.serialization.undiscriminatedUnion([ - core.serialization.string(), - core.serialization.list(core.serialization.string()), -]); - -export declare namespace RelatedQnADocPageRequestKeywordQuery { - type Raw = string | string[]; -} diff --git a/src/serialization/types/RelatedQnADocPageRequestResponseFormatType.ts b/src/serialization/types/RelatedQnADocPageRequestResponseFormatType.ts deleted file mode 100644 index 2229647..0000000 --- a/src/serialization/types/RelatedQnADocPageRequestResponseFormatType.ts +++ /dev/null @@ -1,16 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const RelatedQnADocPageRequestResponseFormatType: core.serialization.Schema< - serializers.RelatedQnADocPageRequestResponseFormatType.Raw, - Gooey.RelatedQnADocPageRequestResponseFormatType -> = core.serialization.enum_(["text", "json_object"]); - -export declare namespace RelatedQnADocPageRequestResponseFormatType { - type Raw = "text" | "json_object"; -} diff --git a/src/serialization/types/RelatedQnADocPageRequestSelectedModel.ts b/src/serialization/types/RelatedQnADocPageRequestSelectedModel.ts deleted file mode 100644 index 074f2b6..0000000 --- a/src/serialization/types/RelatedQnADocPageRequestSelectedModel.ts +++ /dev/null @@ -1,93 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const RelatedQnADocPageRequestSelectedModel: core.serialization.Schema< - serializers.RelatedQnADocPageRequestSelectedModel.Raw, - Gooey.RelatedQnADocPageRequestSelectedModel -> = core.serialization.enum_([ - "gpt_4_o", - "gpt_4_o_mini", - "chatgpt_4_o", - "gpt_4_turbo_vision", - "gpt_4_vision", - "gpt_4_turbo", - "gpt_4", - "gpt_4_32k", - "gpt_3_5_turbo", - "gpt_3_5_turbo_16k", - "gpt_3_5_turbo_instruct", - "llama3_70b", - "llama_3_groq_70b_tool_use", - "llama3_8b", - "llama_3_groq_8b_tool_use", - "llama2_70b_chat", - "mixtral_8x7b_instruct_0_1", - "gemma_2_9b_it", - "gemma_7b_it", - "gemini_1_5_flash", - "gemini_1_5_pro", - "gemini_1_pro_vision", - "gemini_1_pro", - "palm2_chat", - "palm2_text", - "claude_3_5_sonnet", - "claude_3_opus", - "claude_3_sonnet", - "claude_3_haiku", - "sea_lion_7b_instruct", - "llama3_8b_cpt_sea_lion_v2_instruct", - "sarvam_2b", - "text_davinci_003", - "text_davinci_002", - "code_davinci_002", - "text_curie_001", - "text_babbage_001", - "text_ada_001", -]); - -export declare namespace RelatedQnADocPageRequestSelectedModel { - type Raw = - | "gpt_4_o" - | "gpt_4_o_mini" - | "chatgpt_4_o" - | "gpt_4_turbo_vision" - | "gpt_4_vision" - | "gpt_4_turbo" - | "gpt_4" - | "gpt_4_32k" - | "gpt_3_5_turbo" - | "gpt_3_5_turbo_16k" - | "gpt_3_5_turbo_instruct" - | "llama3_70b" - | "llama_3_groq_70b_tool_use" - | "llama3_8b" - | "llama_3_groq_8b_tool_use" - | "llama2_70b_chat" - | "mixtral_8x7b_instruct_0_1" - | "gemma_2_9b_it" - | "gemma_7b_it" - | "gemini_1_5_flash" - | "gemini_1_5_pro" - | "gemini_1_pro_vision" - | "gemini_1_pro" - | "palm2_chat" - | "palm2_text" - | "claude_3_5_sonnet" - | "claude_3_opus" - | "claude_3_sonnet" - | "claude_3_haiku" - | "sea_lion_7b_instruct" - | "llama3_8b_cpt_sea_lion_v2_instruct" - | "sarvam_2b" - | "text_davinci_003" - | "text_davinci_002" - | "code_davinci_002" - | "text_curie_001" - | "text_babbage_001" - | "text_ada_001"; -} diff --git a/src/serialization/types/RelatedQnAPageRequest.ts b/src/serialization/types/RelatedQnAPageRequest.ts deleted file mode 100644 index 9bb6526..0000000 --- a/src/serialization/types/RelatedQnAPageRequest.ts +++ /dev/null @@ -1,79 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; -import { RecipeFunction } from "./RecipeFunction"; -import { RelatedQnAPageRequestSelectedModel } from "./RelatedQnAPageRequestSelectedModel"; -import { RelatedQnAPageRequestEmbeddingModel } from "./RelatedQnAPageRequestEmbeddingModel"; -import { RelatedQnAPageRequestResponseFormatType } from "./RelatedQnAPageRequestResponseFormatType"; -import { SerpSearchLocation } from "./SerpSearchLocation"; -import { SerpSearchType } from "./SerpSearchType"; -import { RunSettings } from "./RunSettings"; - -export const RelatedQnAPageRequest: core.serialization.ObjectSchema< - serializers.RelatedQnAPageRequest.Raw, - Gooey.RelatedQnAPageRequest -> = core.serialization.object({ - functions: core.serialization.list(RecipeFunction).optional(), - variables: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(), - searchQuery: core.serialization.property("search_query", core.serialization.string()), - siteFilter: core.serialization.property("site_filter", core.serialization.string()), - taskInstructions: core.serialization.property("task_instructions", core.serialization.string().optional()), - queryInstructions: core.serialization.property("query_instructions", core.serialization.string().optional()), - selectedModel: core.serialization.property("selected_model", RelatedQnAPageRequestSelectedModel.optional()), - maxSearchUrls: core.serialization.property("max_search_urls", core.serialization.number().optional()), - maxReferences: core.serialization.property("max_references", core.serialization.number().optional()), - maxContextWords: core.serialization.property("max_context_words", core.serialization.number().optional()), - scrollJump: core.serialization.property("scroll_jump", core.serialization.number().optional()), - embeddingModel: core.serialization.property("embedding_model", RelatedQnAPageRequestEmbeddingModel.optional()), - denseWeight: core.serialization.property("dense_weight", core.serialization.number().optional()), - avoidRepetition: core.serialization.property("avoid_repetition", core.serialization.boolean().optional()), - numOutputs: core.serialization.property("num_outputs", core.serialization.number().optional()), - quality: core.serialization.number().optional(), - maxTokens: core.serialization.property("max_tokens", core.serialization.number().optional()), - samplingTemperature: core.serialization.property("sampling_temperature", core.serialization.number().optional()), - responseFormatType: core.serialization.property( - "response_format_type", - RelatedQnAPageRequestResponseFormatType.optional() - ), - serpSearchLocation: core.serialization.property("serp_search_location", SerpSearchLocation.optional()), - scaleserpLocations: core.serialization.property( - "scaleserp_locations", - core.serialization.list(core.serialization.string()).optional() - ), - serpSearchType: core.serialization.property("serp_search_type", SerpSearchType.optional()), - scaleserpSearchField: core.serialization.property("scaleserp_search_field", core.serialization.string().optional()), - settings: RunSettings.optional(), -}); - -export declare namespace RelatedQnAPageRequest { - interface Raw { - functions?: RecipeFunction.Raw[] | null; - variables?: Record | null; - search_query: string; - site_filter: string; - task_instructions?: string | null; - query_instructions?: string | null; - selected_model?: RelatedQnAPageRequestSelectedModel.Raw | null; - max_search_urls?: number | null; - max_references?: number | null; - max_context_words?: number | null; - scroll_jump?: number | null; - embedding_model?: RelatedQnAPageRequestEmbeddingModel.Raw | null; - dense_weight?: number | null; - avoid_repetition?: boolean | null; - num_outputs?: number | null; - quality?: number | null; - max_tokens?: number | null; - sampling_temperature?: number | null; - response_format_type?: RelatedQnAPageRequestResponseFormatType.Raw | null; - serp_search_location?: SerpSearchLocation.Raw | null; - scaleserp_locations?: string[] | null; - serp_search_type?: SerpSearchType.Raw | null; - scaleserp_search_field?: string | null; - settings?: RunSettings.Raw | null; - } -} diff --git a/src/serialization/types/RelatedQnAPageRequestEmbeddingModel.ts b/src/serialization/types/RelatedQnAPageRequestEmbeddingModel.ts deleted file mode 100644 index c9ee68a..0000000 --- a/src/serialization/types/RelatedQnAPageRequestEmbeddingModel.ts +++ /dev/null @@ -1,35 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const RelatedQnAPageRequestEmbeddingModel: core.serialization.Schema< - serializers.RelatedQnAPageRequestEmbeddingModel.Raw, - Gooey.RelatedQnAPageRequestEmbeddingModel -> = core.serialization.enum_([ - "openai_3_large", - "openai_3_small", - "openai_ada_2", - "e5_large_v2", - "e5_base_v2", - "multilingual_e5_base", - "multilingual_e5_large", - "gte_large", - "gte_base", -]); - -export declare namespace RelatedQnAPageRequestEmbeddingModel { - type Raw = - | "openai_3_large" - | "openai_3_small" - | "openai_ada_2" - | "e5_large_v2" - | "e5_base_v2" - | "multilingual_e5_base" - | "multilingual_e5_large" - | "gte_large" - | "gte_base"; -} diff --git a/src/serialization/types/RelatedQnAPageRequestResponseFormatType.ts b/src/serialization/types/RelatedQnAPageRequestResponseFormatType.ts deleted file mode 100644 index cbe851b..0000000 --- a/src/serialization/types/RelatedQnAPageRequestResponseFormatType.ts +++ /dev/null @@ -1,16 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const RelatedQnAPageRequestResponseFormatType: core.serialization.Schema< - serializers.RelatedQnAPageRequestResponseFormatType.Raw, - Gooey.RelatedQnAPageRequestResponseFormatType -> = core.serialization.enum_(["text", "json_object"]); - -export declare namespace RelatedQnAPageRequestResponseFormatType { - type Raw = "text" | "json_object"; -} diff --git a/src/serialization/types/RelatedQnAPageRequestSelectedModel.ts b/src/serialization/types/RelatedQnAPageRequestSelectedModel.ts deleted file mode 100644 index a02e6a6..0000000 --- a/src/serialization/types/RelatedQnAPageRequestSelectedModel.ts +++ /dev/null @@ -1,93 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const RelatedQnAPageRequestSelectedModel: core.serialization.Schema< - serializers.RelatedQnAPageRequestSelectedModel.Raw, - Gooey.RelatedQnAPageRequestSelectedModel -> = core.serialization.enum_([ - "gpt_4_o", - "gpt_4_o_mini", - "chatgpt_4_o", - "gpt_4_turbo_vision", - "gpt_4_vision", - "gpt_4_turbo", - "gpt_4", - "gpt_4_32k", - "gpt_3_5_turbo", - "gpt_3_5_turbo_16k", - "gpt_3_5_turbo_instruct", - "llama3_70b", - "llama_3_groq_70b_tool_use", - "llama3_8b", - "llama_3_groq_8b_tool_use", - "llama2_70b_chat", - "mixtral_8x7b_instruct_0_1", - "gemma_2_9b_it", - "gemma_7b_it", - "gemini_1_5_flash", - "gemini_1_5_pro", - "gemini_1_pro_vision", - "gemini_1_pro", - "palm2_chat", - "palm2_text", - "claude_3_5_sonnet", - "claude_3_opus", - "claude_3_sonnet", - "claude_3_haiku", - "sea_lion_7b_instruct", - "llama3_8b_cpt_sea_lion_v2_instruct", - "sarvam_2b", - "text_davinci_003", - "text_davinci_002", - "code_davinci_002", - "text_curie_001", - "text_babbage_001", - "text_ada_001", -]); - -export declare namespace RelatedQnAPageRequestSelectedModel { - type Raw = - | "gpt_4_o" - | "gpt_4_o_mini" - | "chatgpt_4_o" - | "gpt_4_turbo_vision" - | "gpt_4_vision" - | "gpt_4_turbo" - | "gpt_4" - | "gpt_4_32k" - | "gpt_3_5_turbo" - | "gpt_3_5_turbo_16k" - | "gpt_3_5_turbo_instruct" - | "llama3_70b" - | "llama_3_groq_70b_tool_use" - | "llama3_8b" - | "llama_3_groq_8b_tool_use" - | "llama2_70b_chat" - | "mixtral_8x7b_instruct_0_1" - | "gemma_2_9b_it" - | "gemma_7b_it" - | "gemini_1_5_flash" - | "gemini_1_5_pro" - | "gemini_1_pro_vision" - | "gemini_1_pro" - | "palm2_chat" - | "palm2_text" - | "claude_3_5_sonnet" - | "claude_3_opus" - | "claude_3_sonnet" - | "claude_3_haiku" - | "sea_lion_7b_instruct" - | "llama3_8b_cpt_sea_lion_v2_instruct" - | "sarvam_2b" - | "text_davinci_003" - | "text_davinci_002" - | "code_davinci_002" - | "text_curie_001" - | "text_babbage_001" - | "text_ada_001"; -} diff --git a/src/serialization/types/RunSettings.ts b/src/serialization/types/RunSettings.ts deleted file mode 100644 index 0aedae7..0000000 --- a/src/serialization/types/RunSettings.ts +++ /dev/null @@ -1,19 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; -import { RunSettingsRetentionPolicy } from "./RunSettingsRetentionPolicy"; - -export const RunSettings: core.serialization.ObjectSchema = - core.serialization.object({ - retentionPolicy: core.serialization.property("retention_policy", RunSettingsRetentionPolicy.optional()), - }); - -export declare namespace RunSettings { - interface Raw { - retention_policy?: RunSettingsRetentionPolicy.Raw | null; - } -} diff --git a/src/serialization/types/RunSettingsRetentionPolicy.ts b/src/serialization/types/RunSettingsRetentionPolicy.ts deleted file mode 100644 index dbceac1..0000000 --- a/src/serialization/types/RunSettingsRetentionPolicy.ts +++ /dev/null @@ -1,16 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const RunSettingsRetentionPolicy: core.serialization.Schema< - serializers.RunSettingsRetentionPolicy.Raw, - Gooey.RunSettingsRetentionPolicy -> = core.serialization.enum_(["keep", "delete"]); - -export declare namespace RunSettingsRetentionPolicy { - type Raw = "keep" | "delete"; -} diff --git a/src/serialization/types/SeoSummaryPageRequest.ts b/src/serialization/types/SeoSummaryPageRequest.ts deleted file mode 100644 index 66ce96b..0000000 --- a/src/serialization/types/SeoSummaryPageRequest.ts +++ /dev/null @@ -1,71 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; -import { SeoSummaryPageRequestSelectedModel } from "./SeoSummaryPageRequestSelectedModel"; -import { SeoSummaryPageRequestResponseFormatType } from "./SeoSummaryPageRequestResponseFormatType"; -import { SerpSearchLocation } from "./SerpSearchLocation"; -import { SerpSearchType } from "./SerpSearchType"; -import { RunSettings } from "./RunSettings"; - -export const SeoSummaryPageRequest: core.serialization.ObjectSchema< - serializers.SeoSummaryPageRequest.Raw, - Gooey.SeoSummaryPageRequest -> = core.serialization.object({ - searchQuery: core.serialization.property("search_query", core.serialization.string()), - keywords: core.serialization.string(), - title: core.serialization.string(), - companyUrl: core.serialization.property("company_url", core.serialization.string()), - taskInstructions: core.serialization.property("task_instructions", core.serialization.string().optional()), - enableHtml: core.serialization.property("enable_html", core.serialization.boolean().optional()), - selectedModel: core.serialization.property("selected_model", SeoSummaryPageRequestSelectedModel.optional()), - maxSearchUrls: core.serialization.property("max_search_urls", core.serialization.number().optional()), - enableCrosslinks: core.serialization.property("enable_crosslinks", core.serialization.boolean().optional()), - seed: core.serialization.number().optional(), - avoidRepetition: core.serialization.property("avoid_repetition", core.serialization.boolean().optional()), - numOutputs: core.serialization.property("num_outputs", core.serialization.number().optional()), - quality: core.serialization.number().optional(), - maxTokens: core.serialization.property("max_tokens", core.serialization.number().optional()), - samplingTemperature: core.serialization.property("sampling_temperature", core.serialization.number().optional()), - responseFormatType: core.serialization.property( - "response_format_type", - SeoSummaryPageRequestResponseFormatType.optional() - ), - serpSearchLocation: core.serialization.property("serp_search_location", SerpSearchLocation.optional()), - scaleserpLocations: core.serialization.property( - "scaleserp_locations", - core.serialization.list(core.serialization.string()).optional() - ), - serpSearchType: core.serialization.property("serp_search_type", SerpSearchType.optional()), - scaleserpSearchField: core.serialization.property("scaleserp_search_field", core.serialization.string().optional()), - settings: RunSettings.optional(), -}); - -export declare namespace SeoSummaryPageRequest { - interface Raw { - search_query: string; - keywords: string; - title: string; - company_url: string; - task_instructions?: string | null; - enable_html?: boolean | null; - selected_model?: SeoSummaryPageRequestSelectedModel.Raw | null; - max_search_urls?: number | null; - enable_crosslinks?: boolean | null; - seed?: number | null; - avoid_repetition?: boolean | null; - num_outputs?: number | null; - quality?: number | null; - max_tokens?: number | null; - sampling_temperature?: number | null; - response_format_type?: SeoSummaryPageRequestResponseFormatType.Raw | null; - serp_search_location?: SerpSearchLocation.Raw | null; - scaleserp_locations?: string[] | null; - serp_search_type?: SerpSearchType.Raw | null; - scaleserp_search_field?: string | null; - settings?: RunSettings.Raw | null; - } -} diff --git a/src/serialization/types/SeoSummaryPageRequestResponseFormatType.ts b/src/serialization/types/SeoSummaryPageRequestResponseFormatType.ts deleted file mode 100644 index 0d346d8..0000000 --- a/src/serialization/types/SeoSummaryPageRequestResponseFormatType.ts +++ /dev/null @@ -1,16 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const SeoSummaryPageRequestResponseFormatType: core.serialization.Schema< - serializers.SeoSummaryPageRequestResponseFormatType.Raw, - Gooey.SeoSummaryPageRequestResponseFormatType -> = core.serialization.enum_(["text", "json_object"]); - -export declare namespace SeoSummaryPageRequestResponseFormatType { - type Raw = "text" | "json_object"; -} diff --git a/src/serialization/types/SeoSummaryPageRequestSelectedModel.ts b/src/serialization/types/SeoSummaryPageRequestSelectedModel.ts deleted file mode 100644 index 0254811..0000000 --- a/src/serialization/types/SeoSummaryPageRequestSelectedModel.ts +++ /dev/null @@ -1,93 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const SeoSummaryPageRequestSelectedModel: core.serialization.Schema< - serializers.SeoSummaryPageRequestSelectedModel.Raw, - Gooey.SeoSummaryPageRequestSelectedModel -> = core.serialization.enum_([ - "gpt_4_o", - "gpt_4_o_mini", - "chatgpt_4_o", - "gpt_4_turbo_vision", - "gpt_4_vision", - "gpt_4_turbo", - "gpt_4", - "gpt_4_32k", - "gpt_3_5_turbo", - "gpt_3_5_turbo_16k", - "gpt_3_5_turbo_instruct", - "llama3_70b", - "llama_3_groq_70b_tool_use", - "llama3_8b", - "llama_3_groq_8b_tool_use", - "llama2_70b_chat", - "mixtral_8x7b_instruct_0_1", - "gemma_2_9b_it", - "gemma_7b_it", - "gemini_1_5_flash", - "gemini_1_5_pro", - "gemini_1_pro_vision", - "gemini_1_pro", - "palm2_chat", - "palm2_text", - "claude_3_5_sonnet", - "claude_3_opus", - "claude_3_sonnet", - "claude_3_haiku", - "sea_lion_7b_instruct", - "llama3_8b_cpt_sea_lion_v2_instruct", - "sarvam_2b", - "text_davinci_003", - "text_davinci_002", - "code_davinci_002", - "text_curie_001", - "text_babbage_001", - "text_ada_001", -]); - -export declare namespace SeoSummaryPageRequestSelectedModel { - type Raw = - | "gpt_4_o" - | "gpt_4_o_mini" - | "chatgpt_4_o" - | "gpt_4_turbo_vision" - | "gpt_4_vision" - | "gpt_4_turbo" - | "gpt_4" - | "gpt_4_32k" - | "gpt_3_5_turbo" - | "gpt_3_5_turbo_16k" - | "gpt_3_5_turbo_instruct" - | "llama3_70b" - | "llama_3_groq_70b_tool_use" - | "llama3_8b" - | "llama_3_groq_8b_tool_use" - | "llama2_70b_chat" - | "mixtral_8x7b_instruct_0_1" - | "gemma_2_9b_it" - | "gemma_7b_it" - | "gemini_1_5_flash" - | "gemini_1_5_pro" - | "gemini_1_pro_vision" - | "gemini_1_pro" - | "palm2_chat" - | "palm2_text" - | "claude_3_5_sonnet" - | "claude_3_opus" - | "claude_3_sonnet" - | "claude_3_haiku" - | "sea_lion_7b_instruct" - | "llama3_8b_cpt_sea_lion_v2_instruct" - | "sarvam_2b" - | "text_davinci_003" - | "text_davinci_002" - | "code_davinci_002" - | "text_curie_001" - | "text_babbage_001" - | "text_ada_001"; -} diff --git a/src/serialization/types/SerpSearchLocation.ts b/src/serialization/types/SerpSearchLocation.ts deleted file mode 100644 index 47a9a3a..0000000 --- a/src/serialization/types/SerpSearchLocation.ts +++ /dev/null @@ -1,495 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const SerpSearchLocation: core.serialization.Schema< - serializers.SerpSearchLocation.Raw, - Gooey.SerpSearchLocation -> = core.serialization.enum_([ - "af", - "al", - "dz", - "as", - "ad", - "ao", - "ai", - "aq", - "ag", - "ar", - "am", - "aw", - "au", - "at", - "az", - "bs", - "bh", - "bd", - "bb", - "by", - "be", - "bz", - "bj", - "bm", - "bt", - "bo", - "ba", - "bw", - "bv", - "br", - "io", - "bn", - "bg", - "bf", - "bi", - "kh", - "cm", - "ca", - "cv", - "ky", - "cf", - "td", - "cl", - "cn", - "cx", - "cc", - "co", - "km", - "cg", - "cd", - "ck", - "cr", - "ci", - "hr", - "cu", - "cy", - "cz", - "dk", - "dj", - "dm", - "do", - "ec", - "eg", - "sv", - "gq", - "er", - "ee", - "et", - "fk", - "fo", - "fj", - "fi", - "fr", - "gf", - "pf", - "tf", - "ga", - "gm", - "ge", - "de", - "gh", - "gi", - "gr", - "gl", - "gd", - "gp", - "gu", - "gt", - "gn", - "gw", - "gy", - "ht", - "hm", - "va", - "hn", - "hk", - "hu", - "is", - "in", - "id", - "ir", - "iq", - "ie", - "il", - "it", - "jm", - "jp", - "jo", - "kz", - "ke", - "ki", - "kp", - "kr", - "kw", - "kg", - "la", - "lv", - "lb", - "ls", - "lr", - "ly", - "li", - "lt", - "lu", - "mo", - "mk", - "mg", - "mw", - "my", - "mv", - "ml", - "mt", - "mh", - "mq", - "mr", - "mu", - "yt", - "mx", - "fm", - "md", - "mc", - "mn", - "ms", - "ma", - "mz", - "mm", - "na", - "nr", - "np", - "nl", - "an", - "nc", - "nz", - "ni", - "ne", - "ng", - "nu", - "nf", - "mp", - "no", - "om", - "pk", - "pw", - "ps", - "pa", - "pg", - "py", - "pe", - "ph", - "pn", - "pl", - "pt", - "pr", - "qa", - "re", - "ro", - "ru", - "rw", - "sh", - "kn", - "lc", - "pm", - "vc", - "ws", - "sm", - "gui", - "sa", - "sn", - "rs", - "sc", - "sl", - "sg", - "sk", - "si", - "sb", - "so", - "za", - "gs", - "es", - "lk", - "sd", - "sr", - "sj", - "sz", - "se", - "ch", - "sy", - "tw", - "tj", - "tz", - "th", - "tl", - "tg", - "tk", - "to", - "tt", - "tn", - "tr", - "tm", - "tc", - "tv", - "ug", - "ua", - "ae", - "gb", - "us", - "um", - "uy", - "uz", - "vu", - "ve", - "vn", - "vg", - "vi", - "wf", - "eh", - "ye", - "zm", - "zw", -]); - -export declare namespace SerpSearchLocation { - type Raw = - | "af" - | "al" - | "dz" - | "as" - | "ad" - | "ao" - | "ai" - | "aq" - | "ag" - | "ar" - | "am" - | "aw" - | "au" - | "at" - | "az" - | "bs" - | "bh" - | "bd" - | "bb" - | "by" - | "be" - | "bz" - | "bj" - | "bm" - | "bt" - | "bo" - | "ba" - | "bw" - | "bv" - | "br" - | "io" - | "bn" - | "bg" - | "bf" - | "bi" - | "kh" - | "cm" - | "ca" - | "cv" - | "ky" - | "cf" - | "td" - | "cl" - | "cn" - | "cx" - | "cc" - | "co" - | "km" - | "cg" - | "cd" - | "ck" - | "cr" - | "ci" - | "hr" - | "cu" - | "cy" - | "cz" - | "dk" - | "dj" - | "dm" - | "do" - | "ec" - | "eg" - | "sv" - | "gq" - | "er" - | "ee" - | "et" - | "fk" - | "fo" - | "fj" - | "fi" - | "fr" - | "gf" - | "pf" - | "tf" - | "ga" - | "gm" - | "ge" - | "de" - | "gh" - | "gi" - | "gr" - | "gl" - | "gd" - | "gp" - | "gu" - | "gt" - | "gn" - | "gw" - | "gy" - | "ht" - | "hm" - | "va" - | "hn" - | "hk" - | "hu" - | "is" - | "in" - | "id" - | "ir" - | "iq" - | "ie" - | "il" - | "it" - | "jm" - | "jp" - | "jo" - | "kz" - | "ke" - | "ki" - | "kp" - | "kr" - | "kw" - | "kg" - | "la" - | "lv" - | "lb" - | "ls" - | "lr" - | "ly" - | "li" - | "lt" - | "lu" - | "mo" - | "mk" - | "mg" - | "mw" - | "my" - | "mv" - | "ml" - | "mt" - | "mh" - | "mq" - | "mr" - | "mu" - | "yt" - | "mx" - | "fm" - | "md" - | "mc" - | "mn" - | "ms" - | "ma" - | "mz" - | "mm" - | "na" - | "nr" - | "np" - | "nl" - | "an" - | "nc" - | "nz" - | "ni" - | "ne" - | "ng" - | "nu" - | "nf" - | "mp" - | "no" - | "om" - | "pk" - | "pw" - | "ps" - | "pa" - | "pg" - | "py" - | "pe" - | "ph" - | "pn" - | "pl" - | "pt" - | "pr" - | "qa" - | "re" - | "ro" - | "ru" - | "rw" - | "sh" - | "kn" - | "lc" - | "pm" - | "vc" - | "ws" - | "sm" - | "gui" - | "sa" - | "sn" - | "rs" - | "sc" - | "sl" - | "sg" - | "sk" - | "si" - | "sb" - | "so" - | "za" - | "gs" - | "es" - | "lk" - | "sd" - | "sr" - | "sj" - | "sz" - | "se" - | "ch" - | "sy" - | "tw" - | "tj" - | "tz" - | "th" - | "tl" - | "tg" - | "tk" - | "to" - | "tt" - | "tn" - | "tr" - | "tm" - | "tc" - | "tv" - | "ug" - | "ua" - | "ae" - | "gb" - | "us" - | "um" - | "uy" - | "uz" - | "vu" - | "ve" - | "vn" - | "vg" - | "vi" - | "wf" - | "eh" - | "ye" - | "zm" - | "zw"; -} diff --git a/src/serialization/types/SerpSearchType.ts b/src/serialization/types/SerpSearchType.ts deleted file mode 100644 index d639d2b..0000000 --- a/src/serialization/types/SerpSearchType.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const SerpSearchType: core.serialization.Schema = - core.serialization.enum_(["search", "images", "videos", "places", "news"]); - -export declare namespace SerpSearchType { - type Raw = "search" | "images" | "videos" | "places" | "news"; -} diff --git a/src/serialization/types/SmartGptPageRequest.ts b/src/serialization/types/SmartGptPageRequest.ts deleted file mode 100644 index b6a1139..0000000 --- a/src/serialization/types/SmartGptPageRequest.ts +++ /dev/null @@ -1,53 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; -import { RecipeFunction } from "./RecipeFunction"; -import { SmartGptPageRequestSelectedModel } from "./SmartGptPageRequestSelectedModel"; -import { SmartGptPageRequestResponseFormatType } from "./SmartGptPageRequestResponseFormatType"; -import { RunSettings } from "./RunSettings"; - -export const SmartGptPageRequest: core.serialization.ObjectSchema< - serializers.SmartGptPageRequest.Raw, - Gooey.SmartGptPageRequest -> = core.serialization.object({ - functions: core.serialization.list(RecipeFunction).optional(), - variables: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(), - inputPrompt: core.serialization.property("input_prompt", core.serialization.string()), - cotPrompt: core.serialization.property("cot_prompt", core.serialization.string().optional()), - reflexionPrompt: core.serialization.property("reflexion_prompt", core.serialization.string().optional()), - deraPrompt: core.serialization.property("dera_prompt", core.serialization.string().optional()), - selectedModel: core.serialization.property("selected_model", SmartGptPageRequestSelectedModel.optional()), - avoidRepetition: core.serialization.property("avoid_repetition", core.serialization.boolean().optional()), - numOutputs: core.serialization.property("num_outputs", core.serialization.number().optional()), - quality: core.serialization.number().optional(), - maxTokens: core.serialization.property("max_tokens", core.serialization.number().optional()), - samplingTemperature: core.serialization.property("sampling_temperature", core.serialization.number().optional()), - responseFormatType: core.serialization.property( - "response_format_type", - SmartGptPageRequestResponseFormatType.optional() - ), - settings: RunSettings.optional(), -}); - -export declare namespace SmartGptPageRequest { - interface Raw { - functions?: RecipeFunction.Raw[] | null; - variables?: Record | null; - input_prompt: string; - cot_prompt?: string | null; - reflexion_prompt?: string | null; - dera_prompt?: string | null; - selected_model?: SmartGptPageRequestSelectedModel.Raw | null; - avoid_repetition?: boolean | null; - num_outputs?: number | null; - quality?: number | null; - max_tokens?: number | null; - sampling_temperature?: number | null; - response_format_type?: SmartGptPageRequestResponseFormatType.Raw | null; - settings?: RunSettings.Raw | null; - } -} diff --git a/src/serialization/types/SmartGptPageRequestResponseFormatType.ts b/src/serialization/types/SmartGptPageRequestResponseFormatType.ts deleted file mode 100644 index f4e1cf5..0000000 --- a/src/serialization/types/SmartGptPageRequestResponseFormatType.ts +++ /dev/null @@ -1,16 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const SmartGptPageRequestResponseFormatType: core.serialization.Schema< - serializers.SmartGptPageRequestResponseFormatType.Raw, - Gooey.SmartGptPageRequestResponseFormatType -> = core.serialization.enum_(["text", "json_object"]); - -export declare namespace SmartGptPageRequestResponseFormatType { - type Raw = "text" | "json_object"; -} diff --git a/src/serialization/types/SmartGptPageRequestSelectedModel.ts b/src/serialization/types/SmartGptPageRequestSelectedModel.ts deleted file mode 100644 index 0589523..0000000 --- a/src/serialization/types/SmartGptPageRequestSelectedModel.ts +++ /dev/null @@ -1,93 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const SmartGptPageRequestSelectedModel: core.serialization.Schema< - serializers.SmartGptPageRequestSelectedModel.Raw, - Gooey.SmartGptPageRequestSelectedModel -> = core.serialization.enum_([ - "gpt_4_o", - "gpt_4_o_mini", - "chatgpt_4_o", - "gpt_4_turbo_vision", - "gpt_4_vision", - "gpt_4_turbo", - "gpt_4", - "gpt_4_32k", - "gpt_3_5_turbo", - "gpt_3_5_turbo_16k", - "gpt_3_5_turbo_instruct", - "llama3_70b", - "llama_3_groq_70b_tool_use", - "llama3_8b", - "llama_3_groq_8b_tool_use", - "llama2_70b_chat", - "mixtral_8x7b_instruct_0_1", - "gemma_2_9b_it", - "gemma_7b_it", - "gemini_1_5_flash", - "gemini_1_5_pro", - "gemini_1_pro_vision", - "gemini_1_pro", - "palm2_chat", - "palm2_text", - "claude_3_5_sonnet", - "claude_3_opus", - "claude_3_sonnet", - "claude_3_haiku", - "sea_lion_7b_instruct", - "llama3_8b_cpt_sea_lion_v2_instruct", - "sarvam_2b", - "text_davinci_003", - "text_davinci_002", - "code_davinci_002", - "text_curie_001", - "text_babbage_001", - "text_ada_001", -]); - -export declare namespace SmartGptPageRequestSelectedModel { - type Raw = - | "gpt_4_o" - | "gpt_4_o_mini" - | "chatgpt_4_o" - | "gpt_4_turbo_vision" - | "gpt_4_vision" - | "gpt_4_turbo" - | "gpt_4" - | "gpt_4_32k" - | "gpt_3_5_turbo" - | "gpt_3_5_turbo_16k" - | "gpt_3_5_turbo_instruct" - | "llama3_70b" - | "llama_3_groq_70b_tool_use" - | "llama3_8b" - | "llama_3_groq_8b_tool_use" - | "llama2_70b_chat" - | "mixtral_8x7b_instruct_0_1" - | "gemma_2_9b_it" - | "gemma_7b_it" - | "gemini_1_5_flash" - | "gemini_1_5_pro" - | "gemini_1_pro_vision" - | "gemini_1_pro" - | "palm2_chat" - | "palm2_text" - | "claude_3_5_sonnet" - | "claude_3_opus" - | "claude_3_sonnet" - | "claude_3_haiku" - | "sea_lion_7b_instruct" - | "llama3_8b_cpt_sea_lion_v2_instruct" - | "sarvam_2b" - | "text_davinci_003" - | "text_davinci_002" - | "code_davinci_002" - | "text_curie_001" - | "text_babbage_001" - | "text_ada_001"; -} diff --git a/src/serialization/types/SocialLookupEmailPageRequest.ts b/src/serialization/types/SocialLookupEmailPageRequest.ts deleted file mode 100644 index a0860df..0000000 --- a/src/serialization/types/SocialLookupEmailPageRequest.ts +++ /dev/null @@ -1,49 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; -import { RecipeFunction } from "./RecipeFunction"; -import { SocialLookupEmailPageRequestSelectedModel } from "./SocialLookupEmailPageRequestSelectedModel"; -import { SocialLookupEmailPageRequestResponseFormatType } from "./SocialLookupEmailPageRequestResponseFormatType"; -import { RunSettings } from "./RunSettings"; - -export const SocialLookupEmailPageRequest: core.serialization.ObjectSchema< - serializers.SocialLookupEmailPageRequest.Raw, - Gooey.SocialLookupEmailPageRequest -> = core.serialization.object({ - functions: core.serialization.list(RecipeFunction).optional(), - variables: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(), - emailAddress: core.serialization.property("email_address", core.serialization.string()), - inputPrompt: core.serialization.property("input_prompt", core.serialization.string().optional()), - selectedModel: core.serialization.property("selected_model", SocialLookupEmailPageRequestSelectedModel.optional()), - avoidRepetition: core.serialization.property("avoid_repetition", core.serialization.boolean().optional()), - numOutputs: core.serialization.property("num_outputs", core.serialization.number().optional()), - quality: core.serialization.number().optional(), - maxTokens: core.serialization.property("max_tokens", core.serialization.number().optional()), - samplingTemperature: core.serialization.property("sampling_temperature", core.serialization.number().optional()), - responseFormatType: core.serialization.property( - "response_format_type", - SocialLookupEmailPageRequestResponseFormatType.optional() - ), - settings: RunSettings.optional(), -}); - -export declare namespace SocialLookupEmailPageRequest { - interface Raw { - functions?: RecipeFunction.Raw[] | null; - variables?: Record | null; - email_address: string; - input_prompt?: string | null; - selected_model?: SocialLookupEmailPageRequestSelectedModel.Raw | null; - avoid_repetition?: boolean | null; - num_outputs?: number | null; - quality?: number | null; - max_tokens?: number | null; - sampling_temperature?: number | null; - response_format_type?: SocialLookupEmailPageRequestResponseFormatType.Raw | null; - settings?: RunSettings.Raw | null; - } -} diff --git a/src/serialization/types/SocialLookupEmailPageRequestResponseFormatType.ts b/src/serialization/types/SocialLookupEmailPageRequestResponseFormatType.ts deleted file mode 100644 index ddddd09..0000000 --- a/src/serialization/types/SocialLookupEmailPageRequestResponseFormatType.ts +++ /dev/null @@ -1,16 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const SocialLookupEmailPageRequestResponseFormatType: core.serialization.Schema< - serializers.SocialLookupEmailPageRequestResponseFormatType.Raw, - Gooey.SocialLookupEmailPageRequestResponseFormatType -> = core.serialization.enum_(["text", "json_object"]); - -export declare namespace SocialLookupEmailPageRequestResponseFormatType { - type Raw = "text" | "json_object"; -} diff --git a/src/serialization/types/SocialLookupEmailPageRequestSelectedModel.ts b/src/serialization/types/SocialLookupEmailPageRequestSelectedModel.ts deleted file mode 100644 index c07f217..0000000 --- a/src/serialization/types/SocialLookupEmailPageRequestSelectedModel.ts +++ /dev/null @@ -1,93 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const SocialLookupEmailPageRequestSelectedModel: core.serialization.Schema< - serializers.SocialLookupEmailPageRequestSelectedModel.Raw, - Gooey.SocialLookupEmailPageRequestSelectedModel -> = core.serialization.enum_([ - "gpt_4_o", - "gpt_4_o_mini", - "chatgpt_4_o", - "gpt_4_turbo_vision", - "gpt_4_vision", - "gpt_4_turbo", - "gpt_4", - "gpt_4_32k", - "gpt_3_5_turbo", - "gpt_3_5_turbo_16k", - "gpt_3_5_turbo_instruct", - "llama3_70b", - "llama_3_groq_70b_tool_use", - "llama3_8b", - "llama_3_groq_8b_tool_use", - "llama2_70b_chat", - "mixtral_8x7b_instruct_0_1", - "gemma_2_9b_it", - "gemma_7b_it", - "gemini_1_5_flash", - "gemini_1_5_pro", - "gemini_1_pro_vision", - "gemini_1_pro", - "palm2_chat", - "palm2_text", - "claude_3_5_sonnet", - "claude_3_opus", - "claude_3_sonnet", - "claude_3_haiku", - "sea_lion_7b_instruct", - "llama3_8b_cpt_sea_lion_v2_instruct", - "sarvam_2b", - "text_davinci_003", - "text_davinci_002", - "code_davinci_002", - "text_curie_001", - "text_babbage_001", - "text_ada_001", -]); - -export declare namespace SocialLookupEmailPageRequestSelectedModel { - type Raw = - | "gpt_4_o" - | "gpt_4_o_mini" - | "chatgpt_4_o" - | "gpt_4_turbo_vision" - | "gpt_4_vision" - | "gpt_4_turbo" - | "gpt_4" - | "gpt_4_32k" - | "gpt_3_5_turbo" - | "gpt_3_5_turbo_16k" - | "gpt_3_5_turbo_instruct" - | "llama3_70b" - | "llama_3_groq_70b_tool_use" - | "llama3_8b" - | "llama_3_groq_8b_tool_use" - | "llama2_70b_chat" - | "mixtral_8x7b_instruct_0_1" - | "gemma_2_9b_it" - | "gemma_7b_it" - | "gemini_1_5_flash" - | "gemini_1_5_pro" - | "gemini_1_pro_vision" - | "gemini_1_pro" - | "palm2_chat" - | "palm2_text" - | "claude_3_5_sonnet" - | "claude_3_opus" - | "claude_3_sonnet" - | "claude_3_haiku" - | "sea_lion_7b_instruct" - | "llama3_8b_cpt_sea_lion_v2_instruct" - | "sarvam_2b" - | "text_davinci_003" - | "text_davinci_002" - | "code_davinci_002" - | "text_curie_001" - | "text_babbage_001" - | "text_ada_001"; -} diff --git a/src/serialization/types/Text2AudioPageRequest.ts b/src/serialization/types/Text2AudioPageRequest.ts deleted file mode 100644 index 9ee6612..0000000 --- a/src/serialization/types/Text2AudioPageRequest.ts +++ /dev/null @@ -1,47 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; -import { RecipeFunction } from "./RecipeFunction"; -import { RunSettings } from "./RunSettings"; - -export const Text2AudioPageRequest: core.serialization.ObjectSchema< - serializers.Text2AudioPageRequest.Raw, - Gooey.Text2AudioPageRequest -> = core.serialization.object({ - functions: core.serialization.list(RecipeFunction).optional(), - variables: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(), - textPrompt: core.serialization.property("text_prompt", core.serialization.string()), - negativePrompt: core.serialization.property("negative_prompt", core.serialization.string().optional()), - durationSec: core.serialization.property("duration_sec", core.serialization.number().optional()), - numOutputs: core.serialization.property("num_outputs", core.serialization.number().optional()), - quality: core.serialization.number().optional(), - guidanceScale: core.serialization.property("guidance_scale", core.serialization.number().optional()), - seed: core.serialization.number().optional(), - sd2Upscaling: core.serialization.property("sd_2_upscaling", core.serialization.boolean().optional()), - selectedModels: core.serialization.property( - "selected_models", - core.serialization.list(core.serialization.stringLiteral("audio_ldm")).optional() - ), - settings: RunSettings.optional(), -}); - -export declare namespace Text2AudioPageRequest { - interface Raw { - functions?: RecipeFunction.Raw[] | null; - variables?: Record | null; - text_prompt: string; - negative_prompt?: string | null; - duration_sec?: number | null; - num_outputs?: number | null; - quality?: number | null; - guidance_scale?: number | null; - seed?: number | null; - sd_2_upscaling?: boolean | null; - selected_models?: "audio_ldm"[] | null; - settings?: RunSettings.Raw | null; - } -} diff --git a/src/serialization/types/TextToSpeechPageRequest.ts b/src/serialization/types/TextToSpeechPageRequest.ts deleted file mode 100644 index 4918a2c..0000000 --- a/src/serialization/types/TextToSpeechPageRequest.ts +++ /dev/null @@ -1,76 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; -import { RecipeFunction } from "./RecipeFunction"; -import { TextToSpeechPageRequestTtsProvider } from "./TextToSpeechPageRequestTtsProvider"; -import { TextToSpeechPageRequestOpenaiVoiceName } from "./TextToSpeechPageRequestOpenaiVoiceName"; -import { TextToSpeechPageRequestOpenaiTtsModel } from "./TextToSpeechPageRequestOpenaiTtsModel"; -import { RunSettings } from "./RunSettings"; - -export const TextToSpeechPageRequest: core.serialization.ObjectSchema< - serializers.TextToSpeechPageRequest.Raw, - Gooey.TextToSpeechPageRequest -> = core.serialization.object({ - functions: core.serialization.list(RecipeFunction).optional(), - variables: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(), - textPrompt: core.serialization.property("text_prompt", core.serialization.string()), - ttsProvider: core.serialization.property("tts_provider", TextToSpeechPageRequestTtsProvider.optional()), - uberduckVoiceName: core.serialization.property("uberduck_voice_name", core.serialization.string().optional()), - uberduckSpeakingRate: core.serialization.property("uberduck_speaking_rate", core.serialization.number().optional()), - googleVoiceName: core.serialization.property("google_voice_name", core.serialization.string().optional()), - googleSpeakingRate: core.serialization.property("google_speaking_rate", core.serialization.number().optional()), - googlePitch: core.serialization.property("google_pitch", core.serialization.number().optional()), - barkHistoryPrompt: core.serialization.property("bark_history_prompt", core.serialization.string().optional()), - elevenlabsVoiceName: core.serialization.property("elevenlabs_voice_name", core.serialization.string().optional()), - elevenlabsApiKey: core.serialization.property("elevenlabs_api_key", core.serialization.string().optional()), - elevenlabsVoiceId: core.serialization.property("elevenlabs_voice_id", core.serialization.string().optional()), - elevenlabsModel: core.serialization.property("elevenlabs_model", core.serialization.string().optional()), - elevenlabsStability: core.serialization.property("elevenlabs_stability", core.serialization.number().optional()), - elevenlabsSimilarityBoost: core.serialization.property( - "elevenlabs_similarity_boost", - core.serialization.number().optional() - ), - elevenlabsStyle: core.serialization.property("elevenlabs_style", core.serialization.number().optional()), - elevenlabsSpeakerBoost: core.serialization.property( - "elevenlabs_speaker_boost", - core.serialization.boolean().optional() - ), - azureVoiceName: core.serialization.property("azure_voice_name", core.serialization.string().optional()), - openaiVoiceName: core.serialization.property( - "openai_voice_name", - TextToSpeechPageRequestOpenaiVoiceName.optional() - ), - openaiTtsModel: core.serialization.property("openai_tts_model", TextToSpeechPageRequestOpenaiTtsModel.optional()), - settings: RunSettings.optional(), -}); - -export declare namespace TextToSpeechPageRequest { - interface Raw { - functions?: RecipeFunction.Raw[] | null; - variables?: Record | null; - text_prompt: string; - tts_provider?: TextToSpeechPageRequestTtsProvider.Raw | null; - uberduck_voice_name?: string | null; - uberduck_speaking_rate?: number | null; - google_voice_name?: string | null; - google_speaking_rate?: number | null; - google_pitch?: number | null; - bark_history_prompt?: string | null; - elevenlabs_voice_name?: string | null; - elevenlabs_api_key?: string | null; - elevenlabs_voice_id?: string | null; - elevenlabs_model?: string | null; - elevenlabs_stability?: number | null; - elevenlabs_similarity_boost?: number | null; - elevenlabs_style?: number | null; - elevenlabs_speaker_boost?: boolean | null; - azure_voice_name?: string | null; - openai_voice_name?: TextToSpeechPageRequestOpenaiVoiceName.Raw | null; - openai_tts_model?: TextToSpeechPageRequestOpenaiTtsModel.Raw | null; - settings?: RunSettings.Raw | null; - } -} diff --git a/src/serialization/types/TextToSpeechPageRequestOpenaiTtsModel.ts b/src/serialization/types/TextToSpeechPageRequestOpenaiTtsModel.ts deleted file mode 100644 index 9955e2e..0000000 --- a/src/serialization/types/TextToSpeechPageRequestOpenaiTtsModel.ts +++ /dev/null @@ -1,16 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const TextToSpeechPageRequestOpenaiTtsModel: core.serialization.Schema< - serializers.TextToSpeechPageRequestOpenaiTtsModel.Raw, - Gooey.TextToSpeechPageRequestOpenaiTtsModel -> = core.serialization.enum_(["tts_1", "tts_1_hd"]); - -export declare namespace TextToSpeechPageRequestOpenaiTtsModel { - type Raw = "tts_1" | "tts_1_hd"; -} diff --git a/src/serialization/types/TextToSpeechPageRequestOpenaiVoiceName.ts b/src/serialization/types/TextToSpeechPageRequestOpenaiVoiceName.ts deleted file mode 100644 index 1b9115c..0000000 --- a/src/serialization/types/TextToSpeechPageRequestOpenaiVoiceName.ts +++ /dev/null @@ -1,16 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const TextToSpeechPageRequestOpenaiVoiceName: core.serialization.Schema< - serializers.TextToSpeechPageRequestOpenaiVoiceName.Raw, - Gooey.TextToSpeechPageRequestOpenaiVoiceName -> = core.serialization.enum_(["alloy", "echo", "fable", "onyx", "nova", "shimmer"]); - -export declare namespace TextToSpeechPageRequestOpenaiVoiceName { - type Raw = "alloy" | "echo" | "fable" | "onyx" | "nova" | "shimmer"; -} diff --git a/src/serialization/types/TextToSpeechPageRequestTtsProvider.ts b/src/serialization/types/TextToSpeechPageRequestTtsProvider.ts deleted file mode 100644 index fb08971..0000000 --- a/src/serialization/types/TextToSpeechPageRequestTtsProvider.ts +++ /dev/null @@ -1,16 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const TextToSpeechPageRequestTtsProvider: core.serialization.Schema< - serializers.TextToSpeechPageRequestTtsProvider.Raw, - Gooey.TextToSpeechPageRequestTtsProvider -> = core.serialization.enum_(["GOOGLE_TTS", "ELEVEN_LABS", "UBERDUCK", "BARK", "AZURE_TTS", "OPEN_AI"]); - -export declare namespace TextToSpeechPageRequestTtsProvider { - type Raw = "GOOGLE_TTS" | "ELEVEN_LABS" | "UBERDUCK" | "BARK" | "AZURE_TTS" | "OPEN_AI"; -} diff --git a/src/serialization/types/TrainingDataModel.ts b/src/serialization/types/TrainingDataModel.ts deleted file mode 100644 index f57e4fa..0000000 --- a/src/serialization/types/TrainingDataModel.ts +++ /dev/null @@ -1,22 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const TrainingDataModel: core.serialization.ObjectSchema< - serializers.TrainingDataModel.Raw, - Gooey.TrainingDataModel -> = core.serialization.object({ - prompt: core.serialization.string(), - completion: core.serialization.string(), -}); - -export declare namespace TrainingDataModel { - interface Raw { - prompt: string; - completion: string; - } -} diff --git a/src/serialization/types/TranslationPageRequest.ts b/src/serialization/types/TranslationPageRequest.ts deleted file mode 100644 index 4bd4ce4..0000000 --- a/src/serialization/types/TranslationPageRequest.ts +++ /dev/null @@ -1,37 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; -import { RecipeFunction } from "./RecipeFunction"; -import { TranslationPageRequestSelectedModel } from "./TranslationPageRequestSelectedModel"; -import { RunSettings } from "./RunSettings"; - -export const TranslationPageRequest: core.serialization.ObjectSchema< - serializers.TranslationPageRequest.Raw, - Gooey.TranslationPageRequest -> = core.serialization.object({ - functions: core.serialization.list(RecipeFunction).optional(), - variables: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(), - texts: core.serialization.list(core.serialization.string()).optional(), - selectedModel: core.serialization.property("selected_model", TranslationPageRequestSelectedModel.optional()), - translationSource: core.serialization.property("translation_source", core.serialization.string().optional()), - translationTarget: core.serialization.property("translation_target", core.serialization.string().optional()), - glossaryDocument: core.serialization.property("glossary_document", core.serialization.string().optional()), - settings: RunSettings.optional(), -}); - -export declare namespace TranslationPageRequest { - interface Raw { - functions?: RecipeFunction.Raw[] | null; - variables?: Record | null; - texts?: string[] | null; - selected_model?: TranslationPageRequestSelectedModel.Raw | null; - translation_source?: string | null; - translation_target?: string | null; - glossary_document?: string | null; - settings?: RunSettings.Raw | null; - } -} diff --git a/src/serialization/types/TranslationPageRequestSelectedModel.ts b/src/serialization/types/TranslationPageRequestSelectedModel.ts deleted file mode 100644 index 9147b95..0000000 --- a/src/serialization/types/TranslationPageRequestSelectedModel.ts +++ /dev/null @@ -1,16 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const TranslationPageRequestSelectedModel: core.serialization.Schema< - serializers.TranslationPageRequestSelectedModel.Raw, - Gooey.TranslationPageRequestSelectedModel -> = core.serialization.enum_(["google", "ghana_nlp"]); - -export declare namespace TranslationPageRequestSelectedModel { - type Raw = "google" | "ghana_nlp"; -} diff --git a/src/serialization/types/Vcard.ts b/src/serialization/types/Vcard.ts deleted file mode 100644 index ae5f0e2..0000000 --- a/src/serialization/types/Vcard.ts +++ /dev/null @@ -1,70 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const Vcard: core.serialization.ObjectSchema = core.serialization.object({ - formatName: core.serialization.property("format_name", core.serialization.string()), - email: core.serialization.string().optional(), - gender: core.serialization.string().optional(), - birthdayYear: core.serialization.property("birthday_year", core.serialization.number().optional()), - birthdayMonth: core.serialization.property("birthday_month", core.serialization.number().optional()), - birthdayDay: core.serialization.property("birthday_day", core.serialization.number().optional()), - familyName: core.serialization.property("family_name", core.serialization.string().optional()), - givenName: core.serialization.property("given_name", core.serialization.string().optional()), - middleNames: core.serialization.property("middle_names", core.serialization.string().optional()), - honorificPrefixes: core.serialization.property("honorific_prefixes", core.serialization.string().optional()), - honorificSuffixes: core.serialization.property("honorific_suffixes", core.serialization.string().optional()), - impp: core.serialization.string().optional(), - address: core.serialization.string().optional(), - calendarUrl: core.serialization.property("calendar_url", core.serialization.string().optional()), - commaSeparatedCategories: core.serialization.property( - "comma_separated_categories", - core.serialization.string().optional() - ), - kind: core.serialization.string().optional(), - language: core.serialization.string().optional(), - organization: core.serialization.string().optional(), - photoUrl: core.serialization.property("photo_url", core.serialization.string().optional()), - logoUrl: core.serialization.property("logo_url", core.serialization.string().optional()), - role: core.serialization.string().optional(), - timezone: core.serialization.string().optional(), - jobTitle: core.serialization.property("job_title", core.serialization.string().optional()), - urls: core.serialization.list(core.serialization.string()).optional(), - tel: core.serialization.string().optional(), - note: core.serialization.string().optional(), -}); - -export declare namespace Vcard { - interface Raw { - format_name: string; - email?: string | null; - gender?: string | null; - birthday_year?: number | null; - birthday_month?: number | null; - birthday_day?: number | null; - family_name?: string | null; - given_name?: string | null; - middle_names?: string | null; - honorific_prefixes?: string | null; - honorific_suffixes?: string | null; - impp?: string | null; - address?: string | null; - calendar_url?: string | null; - comma_separated_categories?: string | null; - kind?: string | null; - language?: string | null; - organization?: string | null; - photo_url?: string | null; - logo_url?: string | null; - role?: string | null; - timezone?: string | null; - job_title?: string | null; - urls?: string[] | null; - tel?: string | null; - note?: string | null; - } -} diff --git a/src/serialization/types/VideoBotsPageRequest.ts b/src/serialization/types/VideoBotsPageRequest.ts deleted file mode 100644 index 53fb697..0000000 --- a/src/serialization/types/VideoBotsPageRequest.ts +++ /dev/null @@ -1,176 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; -import { RecipeFunction } from "./RecipeFunction"; -import { ConversationEntry } from "./ConversationEntry"; -import { VideoBotsPageRequestSelectedModel } from "./VideoBotsPageRequestSelectedModel"; -import { VideoBotsPageRequestEmbeddingModel } from "./VideoBotsPageRequestEmbeddingModel"; -import { VideoBotsPageRequestCitationStyle } from "./VideoBotsPageRequestCitationStyle"; -import { VideoBotsPageRequestAsrModel } from "./VideoBotsPageRequestAsrModel"; -import { VideoBotsPageRequestTranslationModel } from "./VideoBotsPageRequestTranslationModel"; -import { VideoBotsPageRequestLipsyncModel } from "./VideoBotsPageRequestLipsyncModel"; -import { LlmTools } from "./LlmTools"; -import { VideoBotsPageRequestResponseFormatType } from "./VideoBotsPageRequestResponseFormatType"; -import { VideoBotsPageRequestTtsProvider } from "./VideoBotsPageRequestTtsProvider"; -import { VideoBotsPageRequestOpenaiVoiceName } from "./VideoBotsPageRequestOpenaiVoiceName"; -import { VideoBotsPageRequestOpenaiTtsModel } from "./VideoBotsPageRequestOpenaiTtsModel"; -import { SadTalkerSettings } from "./SadTalkerSettings"; -import { RunSettings } from "./RunSettings"; - -export const VideoBotsPageRequest: core.serialization.ObjectSchema< - serializers.VideoBotsPageRequest.Raw, - Gooey.VideoBotsPageRequest -> = core.serialization.object({ - functions: core.serialization.list(RecipeFunction).optional(), - variables: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(), - inputPrompt: core.serialization.property("input_prompt", core.serialization.string().optional()), - inputAudio: core.serialization.property("input_audio", core.serialization.string().optional()), - inputImages: core.serialization.property( - "input_images", - core.serialization.list(core.serialization.string()).optional() - ), - inputDocuments: core.serialization.property( - "input_documents", - core.serialization.list(core.serialization.string()).optional() - ), - docExtractUrl: core.serialization.property("doc_extract_url", core.serialization.string().optional()), - messages: core.serialization.list(ConversationEntry).optional(), - botScript: core.serialization.property("bot_script", core.serialization.string().optional()), - selectedModel: core.serialization.property("selected_model", VideoBotsPageRequestSelectedModel.optional()), - documentModel: core.serialization.property("document_model", core.serialization.string().optional()), - taskInstructions: core.serialization.property("task_instructions", core.serialization.string().optional()), - queryInstructions: core.serialization.property("query_instructions", core.serialization.string().optional()), - keywordInstructions: core.serialization.property("keyword_instructions", core.serialization.string().optional()), - documents: core.serialization.list(core.serialization.string()).optional(), - maxReferences: core.serialization.property("max_references", core.serialization.number().optional()), - maxContextWords: core.serialization.property("max_context_words", core.serialization.number().optional()), - scrollJump: core.serialization.property("scroll_jump", core.serialization.number().optional()), - embeddingModel: core.serialization.property("embedding_model", VideoBotsPageRequestEmbeddingModel.optional()), - denseWeight: core.serialization.property("dense_weight", core.serialization.number().optional()), - citationStyle: core.serialization.property("citation_style", VideoBotsPageRequestCitationStyle.optional()), - useUrlShortener: core.serialization.property("use_url_shortener", core.serialization.boolean().optional()), - asrModel: core.serialization.property("asr_model", VideoBotsPageRequestAsrModel.optional()), - asrLanguage: core.serialization.property("asr_language", core.serialization.string().optional()), - translationModel: core.serialization.property("translation_model", VideoBotsPageRequestTranslationModel.optional()), - userLanguage: core.serialization.property("user_language", core.serialization.string().optional()), - inputGlossaryDocument: core.serialization.property( - "input_glossary_document", - core.serialization.string().optional() - ), - outputGlossaryDocument: core.serialization.property( - "output_glossary_document", - core.serialization.string().optional() - ), - lipsyncModel: core.serialization.property("lipsync_model", VideoBotsPageRequestLipsyncModel.optional()), - tools: core.serialization.list(LlmTools).optional(), - avoidRepetition: core.serialization.property("avoid_repetition", core.serialization.boolean().optional()), - numOutputs: core.serialization.property("num_outputs", core.serialization.number().optional()), - quality: core.serialization.number().optional(), - maxTokens: core.serialization.property("max_tokens", core.serialization.number().optional()), - samplingTemperature: core.serialization.property("sampling_temperature", core.serialization.number().optional()), - responseFormatType: core.serialization.property( - "response_format_type", - VideoBotsPageRequestResponseFormatType.optional() - ), - ttsProvider: core.serialization.property("tts_provider", VideoBotsPageRequestTtsProvider.optional()), - uberduckVoiceName: core.serialization.property("uberduck_voice_name", core.serialization.string().optional()), - uberduckSpeakingRate: core.serialization.property("uberduck_speaking_rate", core.serialization.number().optional()), - googleVoiceName: core.serialization.property("google_voice_name", core.serialization.string().optional()), - googleSpeakingRate: core.serialization.property("google_speaking_rate", core.serialization.number().optional()), - googlePitch: core.serialization.property("google_pitch", core.serialization.number().optional()), - barkHistoryPrompt: core.serialization.property("bark_history_prompt", core.serialization.string().optional()), - elevenlabsVoiceName: core.serialization.property("elevenlabs_voice_name", core.serialization.string().optional()), - elevenlabsApiKey: core.serialization.property("elevenlabs_api_key", core.serialization.string().optional()), - elevenlabsVoiceId: core.serialization.property("elevenlabs_voice_id", core.serialization.string().optional()), - elevenlabsModel: core.serialization.property("elevenlabs_model", core.serialization.string().optional()), - elevenlabsStability: core.serialization.property("elevenlabs_stability", core.serialization.number().optional()), - elevenlabsSimilarityBoost: core.serialization.property( - "elevenlabs_similarity_boost", - core.serialization.number().optional() - ), - elevenlabsStyle: core.serialization.property("elevenlabs_style", core.serialization.number().optional()), - elevenlabsSpeakerBoost: core.serialization.property( - "elevenlabs_speaker_boost", - core.serialization.boolean().optional() - ), - azureVoiceName: core.serialization.property("azure_voice_name", core.serialization.string().optional()), - openaiVoiceName: core.serialization.property("openai_voice_name", VideoBotsPageRequestOpenaiVoiceName.optional()), - openaiTtsModel: core.serialization.property("openai_tts_model", VideoBotsPageRequestOpenaiTtsModel.optional()), - inputFace: core.serialization.property("input_face", core.serialization.string().optional()), - facePaddingTop: core.serialization.property("face_padding_top", core.serialization.number().optional()), - facePaddingBottom: core.serialization.property("face_padding_bottom", core.serialization.number().optional()), - facePaddingLeft: core.serialization.property("face_padding_left", core.serialization.number().optional()), - facePaddingRight: core.serialization.property("face_padding_right", core.serialization.number().optional()), - sadtalkerSettings: core.serialization.property("sadtalker_settings", SadTalkerSettings.optional()), - settings: RunSettings.optional(), -}); - -export declare namespace VideoBotsPageRequest { - interface Raw { - functions?: RecipeFunction.Raw[] | null; - variables?: Record | null; - input_prompt?: string | null; - input_audio?: string | null; - input_images?: string[] | null; - input_documents?: string[] | null; - doc_extract_url?: string | null; - messages?: ConversationEntry.Raw[] | null; - bot_script?: string | null; - selected_model?: VideoBotsPageRequestSelectedModel.Raw | null; - document_model?: string | null; - task_instructions?: string | null; - query_instructions?: string | null; - keyword_instructions?: string | null; - documents?: string[] | null; - max_references?: number | null; - max_context_words?: number | null; - scroll_jump?: number | null; - embedding_model?: VideoBotsPageRequestEmbeddingModel.Raw | null; - dense_weight?: number | null; - citation_style?: VideoBotsPageRequestCitationStyle.Raw | null; - use_url_shortener?: boolean | null; - asr_model?: VideoBotsPageRequestAsrModel.Raw | null; - asr_language?: string | null; - translation_model?: VideoBotsPageRequestTranslationModel.Raw | null; - user_language?: string | null; - input_glossary_document?: string | null; - output_glossary_document?: string | null; - lipsync_model?: VideoBotsPageRequestLipsyncModel.Raw | null; - tools?: LlmTools.Raw[] | null; - avoid_repetition?: boolean | null; - num_outputs?: number | null; - quality?: number | null; - max_tokens?: number | null; - sampling_temperature?: number | null; - response_format_type?: VideoBotsPageRequestResponseFormatType.Raw | null; - tts_provider?: VideoBotsPageRequestTtsProvider.Raw | null; - uberduck_voice_name?: string | null; - uberduck_speaking_rate?: number | null; - google_voice_name?: string | null; - google_speaking_rate?: number | null; - google_pitch?: number | null; - bark_history_prompt?: string | null; - elevenlabs_voice_name?: string | null; - elevenlabs_api_key?: string | null; - elevenlabs_voice_id?: string | null; - elevenlabs_model?: string | null; - elevenlabs_stability?: number | null; - elevenlabs_similarity_boost?: number | null; - elevenlabs_style?: number | null; - elevenlabs_speaker_boost?: boolean | null; - azure_voice_name?: string | null; - openai_voice_name?: VideoBotsPageRequestOpenaiVoiceName.Raw | null; - openai_tts_model?: VideoBotsPageRequestOpenaiTtsModel.Raw | null; - input_face?: string | null; - face_padding_top?: number | null; - face_padding_bottom?: number | null; - face_padding_left?: number | null; - face_padding_right?: number | null; - sadtalker_settings?: SadTalkerSettings.Raw | null; - settings?: RunSettings.Raw | null; - } -} diff --git a/src/serialization/types/VideoBotsPageRequestAsrModel.ts b/src/serialization/types/VideoBotsPageRequestAsrModel.ts deleted file mode 100644 index 3b71834..0000000 --- a/src/serialization/types/VideoBotsPageRequestAsrModel.ts +++ /dev/null @@ -1,45 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const VideoBotsPageRequestAsrModel: core.serialization.Schema< - serializers.VideoBotsPageRequestAsrModel.Raw, - Gooey.VideoBotsPageRequestAsrModel -> = core.serialization.enum_([ - "whisper_large_v2", - "whisper_large_v3", - "whisper_hindi_large_v2", - "whisper_telugu_large_v2", - "nemo_english", - "nemo_hindi", - "vakyansh_bhojpuri", - "gcp_v1", - "usm", - "deepgram", - "azure", - "seamless_m4t_v2", - "mms_1b_all", - "seamless_m4t", -]); - -export declare namespace VideoBotsPageRequestAsrModel { - type Raw = - | "whisper_large_v2" - | "whisper_large_v3" - | "whisper_hindi_large_v2" - | "whisper_telugu_large_v2" - | "nemo_english" - | "nemo_hindi" - | "vakyansh_bhojpuri" - | "gcp_v1" - | "usm" - | "deepgram" - | "azure" - | "seamless_m4t_v2" - | "mms_1b_all" - | "seamless_m4t"; -} diff --git a/src/serialization/types/VideoBotsPageRequestCitationStyle.ts b/src/serialization/types/VideoBotsPageRequestCitationStyle.ts deleted file mode 100644 index ab5e826..0000000 --- a/src/serialization/types/VideoBotsPageRequestCitationStyle.ts +++ /dev/null @@ -1,49 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const VideoBotsPageRequestCitationStyle: core.serialization.Schema< - serializers.VideoBotsPageRequestCitationStyle.Raw, - Gooey.VideoBotsPageRequestCitationStyle -> = core.serialization.enum_([ - "number", - "title", - "url", - "symbol", - "markdown", - "html", - "slack_mrkdwn", - "plaintext", - "number_markdown", - "number_html", - "number_slack_mrkdwn", - "number_plaintext", - "symbol_markdown", - "symbol_html", - "symbol_slack_mrkdwn", - "symbol_plaintext", -]); - -export declare namespace VideoBotsPageRequestCitationStyle { - type Raw = - | "number" - | "title" - | "url" - | "symbol" - | "markdown" - | "html" - | "slack_mrkdwn" - | "plaintext" - | "number_markdown" - | "number_html" - | "number_slack_mrkdwn" - | "number_plaintext" - | "symbol_markdown" - | "symbol_html" - | "symbol_slack_mrkdwn" - | "symbol_plaintext"; -} diff --git a/src/serialization/types/VideoBotsPageRequestEmbeddingModel.ts b/src/serialization/types/VideoBotsPageRequestEmbeddingModel.ts deleted file mode 100644 index 93f8b5e..0000000 --- a/src/serialization/types/VideoBotsPageRequestEmbeddingModel.ts +++ /dev/null @@ -1,35 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const VideoBotsPageRequestEmbeddingModel: core.serialization.Schema< - serializers.VideoBotsPageRequestEmbeddingModel.Raw, - Gooey.VideoBotsPageRequestEmbeddingModel -> = core.serialization.enum_([ - "openai_3_large", - "openai_3_small", - "openai_ada_2", - "e5_large_v2", - "e5_base_v2", - "multilingual_e5_base", - "multilingual_e5_large", - "gte_large", - "gte_base", -]); - -export declare namespace VideoBotsPageRequestEmbeddingModel { - type Raw = - | "openai_3_large" - | "openai_3_small" - | "openai_ada_2" - | "e5_large_v2" - | "e5_base_v2" - | "multilingual_e5_base" - | "multilingual_e5_large" - | "gte_large" - | "gte_base"; -} diff --git a/src/serialization/types/VideoBotsPageRequestLipsyncModel.ts b/src/serialization/types/VideoBotsPageRequestLipsyncModel.ts deleted file mode 100644 index 52be8bd..0000000 --- a/src/serialization/types/VideoBotsPageRequestLipsyncModel.ts +++ /dev/null @@ -1,16 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const VideoBotsPageRequestLipsyncModel: core.serialization.Schema< - serializers.VideoBotsPageRequestLipsyncModel.Raw, - Gooey.VideoBotsPageRequestLipsyncModel -> = core.serialization.enum_(["Wav2Lip", "SadTalker"]); - -export declare namespace VideoBotsPageRequestLipsyncModel { - type Raw = "Wav2Lip" | "SadTalker"; -} diff --git a/src/serialization/types/VideoBotsPageRequestOpenaiTtsModel.ts b/src/serialization/types/VideoBotsPageRequestOpenaiTtsModel.ts deleted file mode 100644 index 94cf72f..0000000 --- a/src/serialization/types/VideoBotsPageRequestOpenaiTtsModel.ts +++ /dev/null @@ -1,16 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const VideoBotsPageRequestOpenaiTtsModel: core.serialization.Schema< - serializers.VideoBotsPageRequestOpenaiTtsModel.Raw, - Gooey.VideoBotsPageRequestOpenaiTtsModel -> = core.serialization.enum_(["tts_1", "tts_1_hd"]); - -export declare namespace VideoBotsPageRequestOpenaiTtsModel { - type Raw = "tts_1" | "tts_1_hd"; -} diff --git a/src/serialization/types/VideoBotsPageRequestOpenaiVoiceName.ts b/src/serialization/types/VideoBotsPageRequestOpenaiVoiceName.ts deleted file mode 100644 index 52c13e8..0000000 --- a/src/serialization/types/VideoBotsPageRequestOpenaiVoiceName.ts +++ /dev/null @@ -1,16 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const VideoBotsPageRequestOpenaiVoiceName: core.serialization.Schema< - serializers.VideoBotsPageRequestOpenaiVoiceName.Raw, - Gooey.VideoBotsPageRequestOpenaiVoiceName -> = core.serialization.enum_(["alloy", "echo", "fable", "onyx", "nova", "shimmer"]); - -export declare namespace VideoBotsPageRequestOpenaiVoiceName { - type Raw = "alloy" | "echo" | "fable" | "onyx" | "nova" | "shimmer"; -} diff --git a/src/serialization/types/VideoBotsPageRequestResponseFormatType.ts b/src/serialization/types/VideoBotsPageRequestResponseFormatType.ts deleted file mode 100644 index 99774b1..0000000 --- a/src/serialization/types/VideoBotsPageRequestResponseFormatType.ts +++ /dev/null @@ -1,16 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const VideoBotsPageRequestResponseFormatType: core.serialization.Schema< - serializers.VideoBotsPageRequestResponseFormatType.Raw, - Gooey.VideoBotsPageRequestResponseFormatType -> = core.serialization.enum_(["text", "json_object"]); - -export declare namespace VideoBotsPageRequestResponseFormatType { - type Raw = "text" | "json_object"; -} diff --git a/src/serialization/types/VideoBotsPageRequestSelectedModel.ts b/src/serialization/types/VideoBotsPageRequestSelectedModel.ts deleted file mode 100644 index fce0378..0000000 --- a/src/serialization/types/VideoBotsPageRequestSelectedModel.ts +++ /dev/null @@ -1,93 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const VideoBotsPageRequestSelectedModel: core.serialization.Schema< - serializers.VideoBotsPageRequestSelectedModel.Raw, - Gooey.VideoBotsPageRequestSelectedModel -> = core.serialization.enum_([ - "gpt_4_o", - "gpt_4_o_mini", - "chatgpt_4_o", - "gpt_4_turbo_vision", - "gpt_4_vision", - "gpt_4_turbo", - "gpt_4", - "gpt_4_32k", - "gpt_3_5_turbo", - "gpt_3_5_turbo_16k", - "gpt_3_5_turbo_instruct", - "llama3_70b", - "llama_3_groq_70b_tool_use", - "llama3_8b", - "llama_3_groq_8b_tool_use", - "llama2_70b_chat", - "mixtral_8x7b_instruct_0_1", - "gemma_2_9b_it", - "gemma_7b_it", - "gemini_1_5_flash", - "gemini_1_5_pro", - "gemini_1_pro_vision", - "gemini_1_pro", - "palm2_chat", - "palm2_text", - "claude_3_5_sonnet", - "claude_3_opus", - "claude_3_sonnet", - "claude_3_haiku", - "sea_lion_7b_instruct", - "llama3_8b_cpt_sea_lion_v2_instruct", - "sarvam_2b", - "text_davinci_003", - "text_davinci_002", - "code_davinci_002", - "text_curie_001", - "text_babbage_001", - "text_ada_001", -]); - -export declare namespace VideoBotsPageRequestSelectedModel { - type Raw = - | "gpt_4_o" - | "gpt_4_o_mini" - | "chatgpt_4_o" - | "gpt_4_turbo_vision" - | "gpt_4_vision" - | "gpt_4_turbo" - | "gpt_4" - | "gpt_4_32k" - | "gpt_3_5_turbo" - | "gpt_3_5_turbo_16k" - | "gpt_3_5_turbo_instruct" - | "llama3_70b" - | "llama_3_groq_70b_tool_use" - | "llama3_8b" - | "llama_3_groq_8b_tool_use" - | "llama2_70b_chat" - | "mixtral_8x7b_instruct_0_1" - | "gemma_2_9b_it" - | "gemma_7b_it" - | "gemini_1_5_flash" - | "gemini_1_5_pro" - | "gemini_1_pro_vision" - | "gemini_1_pro" - | "palm2_chat" - | "palm2_text" - | "claude_3_5_sonnet" - | "claude_3_opus" - | "claude_3_sonnet" - | "claude_3_haiku" - | "sea_lion_7b_instruct" - | "llama3_8b_cpt_sea_lion_v2_instruct" - | "sarvam_2b" - | "text_davinci_003" - | "text_davinci_002" - | "code_davinci_002" - | "text_curie_001" - | "text_babbage_001" - | "text_ada_001"; -} diff --git a/src/serialization/types/VideoBotsPageRequestTranslationModel.ts b/src/serialization/types/VideoBotsPageRequestTranslationModel.ts deleted file mode 100644 index 8d6c631..0000000 --- a/src/serialization/types/VideoBotsPageRequestTranslationModel.ts +++ /dev/null @@ -1,16 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const VideoBotsPageRequestTranslationModel: core.serialization.Schema< - serializers.VideoBotsPageRequestTranslationModel.Raw, - Gooey.VideoBotsPageRequestTranslationModel -> = core.serialization.enum_(["google", "ghana_nlp"]); - -export declare namespace VideoBotsPageRequestTranslationModel { - type Raw = "google" | "ghana_nlp"; -} diff --git a/src/serialization/types/VideoBotsPageRequestTtsProvider.ts b/src/serialization/types/VideoBotsPageRequestTtsProvider.ts deleted file mode 100644 index e90183a..0000000 --- a/src/serialization/types/VideoBotsPageRequestTtsProvider.ts +++ /dev/null @@ -1,16 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as Gooey from "../../api/index"; -import * as core from "../../core"; - -export const VideoBotsPageRequestTtsProvider: core.serialization.Schema< - serializers.VideoBotsPageRequestTtsProvider.Raw, - Gooey.VideoBotsPageRequestTtsProvider -> = core.serialization.enum_(["GOOGLE_TTS", "ELEVEN_LABS", "UBERDUCK", "BARK", "AZURE_TTS", "OPEN_AI"]); - -export declare namespace VideoBotsPageRequestTtsProvider { - type Raw = "GOOGLE_TTS" | "ELEVEN_LABS" | "UBERDUCK" | "BARK" | "AZURE_TTS" | "OPEN_AI"; -} diff --git a/src/serialization/types/index.ts b/src/serialization/types/index.ts index 4c3de91..cc3a5e7 100644 --- a/src/serialization/types/index.ts +++ b/src/serialization/types/index.ts @@ -1,15 +1,9 @@ -export * from "./AggFunctionFunction"; -export * from "./AggFunction"; export * from "./AggFunctionResultFunction"; export * from "./AggFunctionResult"; export * from "./AsrChunk"; export * from "./AsrOutputJson"; export * from "./AsrPageOutputOutputTextItem"; export * from "./AsrPageOutput"; -export * from "./AsrPageRequestSelectedModel"; -export * from "./AsrPageRequestTranslationModel"; -export * from "./AsrPageRequestOutputFormat"; -export * from "./AsrPageRequest"; export * from "./AsrPageStatusResponse"; export * from "./AsyncApiResponseModelV3"; export * from "./BalanceResponse"; @@ -48,12 +42,8 @@ export * from "./BodyAsyncFormTranslate"; export * from "./BodyAsyncFormVideoBots"; export * from "./BotBroadcastFilters"; export * from "./BulkEvalPageOutput"; -export * from "./BulkEvalPageRequestSelectedModel"; -export * from "./BulkEvalPageRequestResponseFormatType"; -export * from "./BulkEvalPageRequest"; export * from "./BulkEvalPageStatusResponse"; export * from "./BulkRunnerPageOutput"; -export * from "./BulkRunnerPageRequest"; export * from "./BulkRunnerPageStatusResponse"; export * from "./ButtonPressed"; export * from "./CalledFunctionResponseTrigger"; @@ -61,21 +51,12 @@ export * from "./CalledFunctionResponse"; export * from "./ChatCompletionContentPartImageParam"; export * from "./ChatCompletionContentPartTextParam"; export * from "./ChyronPlantPageOutput"; -export * from "./ChyronPlantPageRequest"; export * from "./ChyronPlantPageStatusResponse"; export * from "./CompareLlmPageOutput"; -export * from "./CompareLlmPageRequestSelectedModelsItem"; -export * from "./CompareLlmPageRequestResponseFormatType"; -export * from "./CompareLlmPageRequest"; export * from "./CompareLlmPageStatusResponse"; export * from "./CompareText2ImgPageOutput"; -export * from "./CompareText2ImgPageRequestSelectedModelsItem"; -export * from "./CompareText2ImgPageRequestScheduler"; -export * from "./CompareText2ImgPageRequest"; export * from "./CompareText2ImgPageStatusResponse"; export * from "./CompareUpscalerPageOutput"; -export * from "./CompareUpscalerPageRequestSelectedModelsItem"; -export * from "./CompareUpscalerPageRequest"; export * from "./CompareUpscalerPageStatusResponse"; export * from "./ConsoleLogsLevel"; export * from "./ConsoleLogs"; @@ -86,101 +67,50 @@ export * from "./ConversationEntry"; export * from "./ConversationStart"; export * from "./CreateStreamResponse"; export * from "./DeforumSdPageOutput"; -export * from "./DeforumSdPageRequestSelectedModel"; -export * from "./DeforumSdPageRequest"; export * from "./DeforumSdPageStatusResponse"; export * from "./DocExtractPageOutput"; -export * from "./DocExtractPageRequestSelectedAsrModel"; -export * from "./DocExtractPageRequestSelectedModel"; -export * from "./DocExtractPageRequestResponseFormatType"; -export * from "./DocExtractPageRequest"; export * from "./DocExtractPageStatusResponse"; export * from "./DocSearchPageOutput"; -export * from "./DocSearchPageRequestKeywordQuery"; -export * from "./DocSearchPageRequestEmbeddingModel"; -export * from "./DocSearchPageRequestSelectedModel"; -export * from "./DocSearchPageRequestCitationStyle"; -export * from "./DocSearchPageRequestResponseFormatType"; -export * from "./DocSearchPageRequest"; export * from "./DocSearchPageStatusResponse"; export * from "./DocSummaryPageOutput"; -export * from "./DocSummaryPageRequestSelectedModel"; -export * from "./DocSummaryPageRequestSelectedAsrModel"; -export * from "./DocSummaryPageRequestResponseFormatType"; -export * from "./DocSummaryPageRequest"; export * from "./DocSummaryPageStatusResponse"; export * from "./EmailFaceInpaintingPageOutput"; -export * from "./EmailFaceInpaintingPageRequestSelectedModel"; -export * from "./EmailFaceInpaintingPageRequest"; export * from "./EmailFaceInpaintingPageStatusResponse"; export * from "./EmbeddingsPageOutput"; -export * from "./EmbeddingsPageRequestSelectedModel"; -export * from "./EmbeddingsPageRequest"; export * from "./EmbeddingsPageStatusResponse"; -export * from "./EvalPrompt"; export * from "./FaceInpaintingPageOutput"; -export * from "./FaceInpaintingPageRequestSelectedModel"; -export * from "./FaceInpaintingPageRequest"; export * from "./FaceInpaintingPageStatusResponse"; export * from "./FailedReponseModelV2"; export * from "./FailedResponseDetail"; export * from "./FinalResponse"; export * from "./FunctionsPageOutput"; -export * from "./FunctionsPageRequest"; export * from "./FunctionsPageStatusResponse"; export * from "./GenericErrorResponse"; export * from "./GenericErrorResponseDetail"; export * from "./GoogleGptPageOutput"; -export * from "./GoogleGptPageRequestSelectedModel"; -export * from "./GoogleGptPageRequestEmbeddingModel"; -export * from "./GoogleGptPageRequestResponseFormatType"; -export * from "./GoogleGptPageRequest"; export * from "./GoogleGptPageStatusResponse"; export * from "./GoogleImageGenPageOutput"; -export * from "./GoogleImageGenPageRequestSelectedModel"; -export * from "./GoogleImageGenPageRequest"; export * from "./GoogleImageGenPageStatusResponse"; export * from "./HttpValidationError"; export * from "./ImageSegmentationPageOutput"; -export * from "./ImageSegmentationPageRequestSelectedModel"; -export * from "./ImageSegmentationPageRequest"; export * from "./ImageSegmentationPageStatusResponse"; export * from "./ImageUrlDetail"; export * from "./ImageUrl"; export * from "./Img2ImgPageOutput"; -export * from "./Img2ImgPageRequestSelectedModel"; -export * from "./Img2ImgPageRequestSelectedControlnetModelItem"; -export * from "./Img2ImgPageRequestSelectedControlnetModel"; -export * from "./Img2ImgPageRequest"; export * from "./Img2ImgPageStatusResponse"; export * from "./LlmTools"; export * from "./LetterWriterPageOutput"; -export * from "./LetterWriterPageRequest"; export * from "./LetterWriterPageStatusResponse"; export * from "./LipsyncPageOutput"; -export * from "./LipsyncPageRequestSelectedModel"; -export * from "./LipsyncPageRequest"; export * from "./LipsyncPageStatusResponse"; export * from "./LipsyncTtsPageOutput"; -export * from "./LipsyncTtsPageRequestTtsProvider"; -export * from "./LipsyncTtsPageRequestOpenaiVoiceName"; -export * from "./LipsyncTtsPageRequestOpenaiTtsModel"; -export * from "./LipsyncTtsPageRequestSelectedModel"; -export * from "./LipsyncTtsPageRequest"; export * from "./LipsyncTtsPageStatusResponse"; export * from "./MessagePart"; export * from "./ObjectInpaintingPageOutput"; -export * from "./ObjectInpaintingPageRequestSelectedModel"; -export * from "./ObjectInpaintingPageRequest"; export * from "./ObjectInpaintingPageStatusResponse"; export * from "./PromptTreeNodePrompt"; export * from "./PromptTreeNode"; export * from "./QrCodeGeneratorPageOutput"; -export * from "./QrCodeGeneratorPageRequestImagePromptControlnetModelsItem"; -export * from "./QrCodeGeneratorPageRequestSelectedModel"; -export * from "./QrCodeGeneratorPageRequestSelectedControlnetModelItem"; -export * from "./QrCodeGeneratorPageRequestScheduler"; -export * from "./QrCodeGeneratorPageRequest"; export * from "./QrCodeGeneratorPageStatusResponse"; export * from "./RecipeFunctionTrigger"; export * from "./RecipeFunction"; @@ -188,77 +118,33 @@ export * from "./RecipeRunState"; export * from "./RelatedDocSearchResponse"; export * from "./RelatedGoogleGptResponse"; export * from "./RelatedQnADocPageOutput"; -export * from "./RelatedQnADocPageRequestKeywordQuery"; -export * from "./RelatedQnADocPageRequestEmbeddingModel"; -export * from "./RelatedQnADocPageRequestSelectedModel"; -export * from "./RelatedQnADocPageRequestCitationStyle"; -export * from "./RelatedQnADocPageRequestResponseFormatType"; -export * from "./RelatedQnADocPageRequest"; export * from "./RelatedQnADocPageStatusResponse"; export * from "./RelatedQnAPageOutput"; -export * from "./RelatedQnAPageRequestSelectedModel"; -export * from "./RelatedQnAPageRequestEmbeddingModel"; -export * from "./RelatedQnAPageRequestResponseFormatType"; -export * from "./RelatedQnAPageRequest"; export * from "./RelatedQnAPageStatusResponse"; export * from "./ReplyButton"; export * from "./ResponseModelFinalPrompt"; export * from "./ResponseModelFinalKeywordQuery"; export * from "./ResponseModel"; -export * from "./RunSettingsRetentionPolicy"; -export * from "./RunSettings"; export * from "./RunStart"; export * from "./SeoSummaryPageOutput"; -export * from "./SeoSummaryPageRequestSelectedModel"; -export * from "./SeoSummaryPageRequestResponseFormatType"; -export * from "./SeoSummaryPageRequest"; export * from "./SeoSummaryPageStatusResponse"; export * from "./SadTalkerSettingsPreprocess"; export * from "./SadTalkerSettings"; export * from "./SearchReference"; -export * from "./SerpSearchLocation"; -export * from "./SerpSearchType"; export * from "./SmartGptPageOutput"; -export * from "./SmartGptPageRequestSelectedModel"; -export * from "./SmartGptPageRequestResponseFormatType"; -export * from "./SmartGptPageRequest"; export * from "./SmartGptPageStatusResponse"; export * from "./SocialLookupEmailPageOutput"; -export * from "./SocialLookupEmailPageRequestSelectedModel"; -export * from "./SocialLookupEmailPageRequestResponseFormatType"; -export * from "./SocialLookupEmailPageRequest"; export * from "./SocialLookupEmailPageStatusResponse"; export * from "./StreamError"; export * from "./Text2AudioPageOutput"; -export * from "./Text2AudioPageRequest"; export * from "./Text2AudioPageStatusResponse"; export * from "./TextToSpeechPageOutput"; -export * from "./TextToSpeechPageRequestTtsProvider"; -export * from "./TextToSpeechPageRequestOpenaiVoiceName"; -export * from "./TextToSpeechPageRequestOpenaiTtsModel"; -export * from "./TextToSpeechPageRequest"; export * from "./TextToSpeechPageStatusResponse"; -export * from "./TrainingDataModel"; export * from "./TranslationPageOutput"; -export * from "./TranslationPageRequestSelectedModel"; -export * from "./TranslationPageRequest"; export * from "./TranslationPageStatusResponse"; -export * from "./Vcard"; export * from "./ValidationErrorLocItem"; export * from "./ValidationError"; export * from "./VideoBotsPageOutputFinalPrompt"; export * from "./VideoBotsPageOutputFinalKeywordQuery"; export * from "./VideoBotsPageOutput"; -export * from "./VideoBotsPageRequestSelectedModel"; -export * from "./VideoBotsPageRequestEmbeddingModel"; -export * from "./VideoBotsPageRequestCitationStyle"; -export * from "./VideoBotsPageRequestAsrModel"; -export * from "./VideoBotsPageRequestTranslationModel"; -export * from "./VideoBotsPageRequestLipsyncModel"; -export * from "./VideoBotsPageRequestResponseFormatType"; -export * from "./VideoBotsPageRequestTtsProvider"; -export * from "./VideoBotsPageRequestOpenaiVoiceName"; -export * from "./VideoBotsPageRequestOpenaiTtsModel"; -export * from "./VideoBotsPageRequest"; export * from "./VideoBotsPageStatusResponse"; -export * from "./AnimationPrompt";