diff --git a/lib/vellum_ai/types/integration_name.rb b/lib/vellum_ai/types/integration_name.rb index 93c01fb..30ee285 100644 --- a/lib/vellum_ai/types/integration_name.rb +++ b/lib/vellum_ai/types/integration_name.rb @@ -17,7 +17,9 @@ module Vellum # * `LMNT` - LMNT # * `LINKEDIN` - LinkedIn # * `MAILCHIMP` - Mailchimp +# * `MIRO` - Miro # * `MEM0` - Mem0 +# * `MONDAY` - Monday # * `NEON` - Neon # * `GITHUB` - Github # * `GOOGLE_SHEETS` - Google Sheets @@ -70,10 +72,12 @@ module Vellum # * `SERPAPI` - Serp Api # * `SHARE_POINT` - SharePoint # * `SHORTCUT` - Shortcut +# * `SPOTIFY` - Spotify # * `STRIPE` - Stripe # * `SUPABASE` - Supabase # * `TAVILY` - Tavily # * `TELEGRAM` - Telegram +# * `TODOIST` - Todoist # * `WEBFLOW` - Webflow # * `YOUSEARCH` - You Search # * `ZENDESK` - Zendesk @@ -104,7 +108,9 @@ class IntegrationName LMNT = "LMNT" LINKEDIN = "LINKEDIN" MAILCHIMP = "MAILCHIMP" + MIRO = "MIRO" MEM_0 = "MEM0" + MONDAY = "MONDAY" NEON = "NEON" GITHUB = "GITHUB" GOOGLE_SHEETS = "GOOGLE_SHEETS" @@ -157,10 +163,12 @@ class IntegrationName SERPAPI = "SERPAPI" SHARE_POINT = "SHARE_POINT" SHORTCUT = "SHORTCUT" + SPOTIFY = "SPOTIFY" STRIPE = "STRIPE" SUPABASE = "SUPABASE" TAVILY = "TAVILY" TELEGRAM = "TELEGRAM" + TODOIST = "TODOIST" WEBFLOW = "WEBFLOW" YOUSEARCH = "YOUSEARCH" ZENDESK = "ZENDESK" diff --git a/lib/vellum_ai/types/vellum_audio.rb b/lib/vellum_ai/types/vellum_audio.rb index 48f8c0b..bf83c64 100644 --- a/lib/vellum_ai/types/vellum_audio.rb +++ b/lib/vellum_ai/types/vellum_audio.rb @@ -4,7 +4,16 @@ module Vellum class VellumAudio - # @return [String] A valid data URL containing the audio data. + # @return [String] The reference to the source data. This can be one of the following formats: +# 1. A base64-encoded data URL (e.g., +# 'data:application/pdf;base64,JVBERi0xLjQKJcfs...'). +# 2. A url pointing to a file accessible over HTTP or HTTPS. +# 3. A reference to a file that's been previously uploaded to Vellum, in the form +# of 'vellum:uploaded-file:{uploaded_file_id}'. +# You can use the Uploaded Files API to retrieve the url of the uploaded file +# given its ID. See +# https://docs.vellum.ai/developers/client-sdk/uploaded-files/retrieve for +# details. attr_reader :src # @return [Hash{String => Object}] attr_reader :metadata @@ -16,7 +25,16 @@ class VellumAudio OMIT = Object.new - # @param src [String] A valid data URL containing the audio data. + # @param src [String] The reference to the source data. This can be one of the following formats: +# 1. A base64-encoded data URL (e.g., +# 'data:application/pdf;base64,JVBERi0xLjQKJcfs...'). +# 2. A url pointing to a file accessible over HTTP or HTTPS. +# 3. A reference to a file that's been previously uploaded to Vellum, in the form +# of 'vellum:uploaded-file:{uploaded_file_id}'. +# You can use the Uploaded Files API to retrieve the url of the uploaded file +# given its ID. See +# https://docs.vellum.ai/developers/client-sdk/uploaded-files/retrieve for +# details. # @param metadata [Hash{String => Object}] # @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition # @return [Vellum::VellumAudio] diff --git a/lib/vellum_ai/types/vellum_audio_request.rb b/lib/vellum_ai/types/vellum_audio_request.rb index 166b172..46fd61c 100644 --- a/lib/vellum_ai/types/vellum_audio_request.rb +++ b/lib/vellum_ai/types/vellum_audio_request.rb @@ -4,7 +4,16 @@ module Vellum class VellumAudioRequest - # @return [String] A valid data URL containing the audio data. + # @return [String] The reference to the source data. This can be one of the following formats: +# 1. A base64-encoded data URL (e.g., +# 'data:application/pdf;base64,JVBERi0xLjQKJcfs...'). +# 2. A url pointing to a file accessible over HTTP or HTTPS. +# 3. A reference to a file that's been previously uploaded to Vellum, in the form +# of 'vellum:uploaded-file:{uploaded_file_id}'. +# You can use the Uploaded Files API to retrieve the url of the uploaded file +# given its ID. See +# https://docs.vellum.ai/developers/client-sdk/uploaded-files/retrieve for +# details. attr_reader :src # @return [Hash{String => Object}] attr_reader :metadata @@ -16,7 +25,16 @@ class VellumAudioRequest OMIT = Object.new - # @param src [String] A valid data URL containing the audio data. + # @param src [String] The reference to the source data. This can be one of the following formats: +# 1. A base64-encoded data URL (e.g., +# 'data:application/pdf;base64,JVBERi0xLjQKJcfs...'). +# 2. A url pointing to a file accessible over HTTP or HTTPS. +# 3. A reference to a file that's been previously uploaded to Vellum, in the form +# of 'vellum:uploaded-file:{uploaded_file_id}'. +# You can use the Uploaded Files API to retrieve the url of the uploaded file +# given its ID. See +# https://docs.vellum.ai/developers/client-sdk/uploaded-files/retrieve for +# details. # @param metadata [Hash{String => Object}] # @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition # @return [Vellum::VellumAudioRequest] diff --git a/lib/vellum_ai/types/vellum_document.rb b/lib/vellum_ai/types/vellum_document.rb index 1da6ee5..3146b26 100644 --- a/lib/vellum_ai/types/vellum_document.rb +++ b/lib/vellum_ai/types/vellum_document.rb @@ -4,7 +4,16 @@ module Vellum class VellumDocument - # @return [String] A valid data URL containing the document data. + # @return [String] The reference to the source data. This can be one of the following formats: +# 1. A base64-encoded data URL (e.g., +# 'data:application/pdf;base64,JVBERi0xLjQKJcfs...'). +# 2. A url pointing to a file accessible over HTTP or HTTPS. +# 3. A reference to a file that's been previously uploaded to Vellum, in the form +# of 'vellum:uploaded-file:{uploaded_file_id}'. +# You can use the Uploaded Files API to retrieve the url of the uploaded file +# given its ID. See +# https://docs.vellum.ai/developers/client-sdk/uploaded-files/retrieve for +# details. attr_reader :src # @return [Hash{String => Object}] attr_reader :metadata @@ -16,7 +25,16 @@ class VellumDocument OMIT = Object.new - # @param src [String] A valid data URL containing the document data. + # @param src [String] The reference to the source data. This can be one of the following formats: +# 1. A base64-encoded data URL (e.g., +# 'data:application/pdf;base64,JVBERi0xLjQKJcfs...'). +# 2. A url pointing to a file accessible over HTTP or HTTPS. +# 3. A reference to a file that's been previously uploaded to Vellum, in the form +# of 'vellum:uploaded-file:{uploaded_file_id}'. +# You can use the Uploaded Files API to retrieve the url of the uploaded file +# given its ID. See +# https://docs.vellum.ai/developers/client-sdk/uploaded-files/retrieve for +# details. # @param metadata [Hash{String => Object}] # @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition # @return [Vellum::VellumDocument] diff --git a/lib/vellum_ai/types/vellum_document_request.rb b/lib/vellum_ai/types/vellum_document_request.rb index 2220935..eb5f157 100644 --- a/lib/vellum_ai/types/vellum_document_request.rb +++ b/lib/vellum_ai/types/vellum_document_request.rb @@ -4,7 +4,16 @@ module Vellum class VellumDocumentRequest - # @return [String] A valid data URL containing the document data. + # @return [String] The reference to the source data. This can be one of the following formats: +# 1. A base64-encoded data URL (e.g., +# 'data:application/pdf;base64,JVBERi0xLjQKJcfs...'). +# 2. A url pointing to a file accessible over HTTP or HTTPS. +# 3. A reference to a file that's been previously uploaded to Vellum, in the form +# of 'vellum:uploaded-file:{uploaded_file_id}'. +# You can use the Uploaded Files API to retrieve the url of the uploaded file +# given its ID. See +# https://docs.vellum.ai/developers/client-sdk/uploaded-files/retrieve for +# details. attr_reader :src # @return [Hash{String => Object}] attr_reader :metadata @@ -16,7 +25,16 @@ class VellumDocumentRequest OMIT = Object.new - # @param src [String] A valid data URL containing the document data. + # @param src [String] The reference to the source data. This can be one of the following formats: +# 1. A base64-encoded data URL (e.g., +# 'data:application/pdf;base64,JVBERi0xLjQKJcfs...'). +# 2. A url pointing to a file accessible over HTTP or HTTPS. +# 3. A reference to a file that's been previously uploaded to Vellum, in the form +# of 'vellum:uploaded-file:{uploaded_file_id}'. +# You can use the Uploaded Files API to retrieve the url of the uploaded file +# given its ID. See +# https://docs.vellum.ai/developers/client-sdk/uploaded-files/retrieve for +# details. # @param metadata [Hash{String => Object}] # @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition # @return [Vellum::VellumDocumentRequest] diff --git a/lib/vellum_ai/types/vellum_image.rb b/lib/vellum_ai/types/vellum_image.rb index 5e0bced..7b35753 100644 --- a/lib/vellum_ai/types/vellum_image.rb +++ b/lib/vellum_ai/types/vellum_image.rb @@ -4,7 +4,16 @@ module Vellum class VellumImage - # @return [String] A valid data URL containing the image data. + # @return [String] The reference to the source data. This can be one of the following formats: +# 1. A base64-encoded data URL (e.g., +# 'data:application/pdf;base64,JVBERi0xLjQKJcfs...'). +# 2. A url pointing to a file accessible over HTTP or HTTPS. +# 3. A reference to a file that's been previously uploaded to Vellum, in the form +# of 'vellum:uploaded-file:{uploaded_file_id}'. +# You can use the Uploaded Files API to retrieve the url of the uploaded file +# given its ID. See +# https://docs.vellum.ai/developers/client-sdk/uploaded-files/retrieve for +# details. attr_reader :src # @return [Hash{String => Object}] attr_reader :metadata @@ -16,7 +25,16 @@ class VellumImage OMIT = Object.new - # @param src [String] A valid data URL containing the image data. + # @param src [String] The reference to the source data. This can be one of the following formats: +# 1. A base64-encoded data URL (e.g., +# 'data:application/pdf;base64,JVBERi0xLjQKJcfs...'). +# 2. A url pointing to a file accessible over HTTP or HTTPS. +# 3. A reference to a file that's been previously uploaded to Vellum, in the form +# of 'vellum:uploaded-file:{uploaded_file_id}'. +# You can use the Uploaded Files API to retrieve the url of the uploaded file +# given its ID. See +# https://docs.vellum.ai/developers/client-sdk/uploaded-files/retrieve for +# details. # @param metadata [Hash{String => Object}] # @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition # @return [Vellum::VellumImage] diff --git a/lib/vellum_ai/types/vellum_image_request.rb b/lib/vellum_ai/types/vellum_image_request.rb index 0e5833c..6016546 100644 --- a/lib/vellum_ai/types/vellum_image_request.rb +++ b/lib/vellum_ai/types/vellum_image_request.rb @@ -4,7 +4,16 @@ module Vellum class VellumImageRequest - # @return [String] A valid data URL containing the image data. + # @return [String] The reference to the source data. This can be one of the following formats: +# 1. A base64-encoded data URL (e.g., +# 'data:application/pdf;base64,JVBERi0xLjQKJcfs...'). +# 2. A url pointing to a file accessible over HTTP or HTTPS. +# 3. A reference to a file that's been previously uploaded to Vellum, in the form +# of 'vellum:uploaded-file:{uploaded_file_id}'. +# You can use the Uploaded Files API to retrieve the url of the uploaded file +# given its ID. See +# https://docs.vellum.ai/developers/client-sdk/uploaded-files/retrieve for +# details. attr_reader :src # @return [Hash{String => Object}] attr_reader :metadata @@ -16,7 +25,16 @@ class VellumImageRequest OMIT = Object.new - # @param src [String] A valid data URL containing the image data. + # @param src [String] The reference to the source data. This can be one of the following formats: +# 1. A base64-encoded data URL (e.g., +# 'data:application/pdf;base64,JVBERi0xLjQKJcfs...'). +# 2. A url pointing to a file accessible over HTTP or HTTPS. +# 3. A reference to a file that's been previously uploaded to Vellum, in the form +# of 'vellum:uploaded-file:{uploaded_file_id}'. +# You can use the Uploaded Files API to retrieve the url of the uploaded file +# given its ID. See +# https://docs.vellum.ai/developers/client-sdk/uploaded-files/retrieve for +# details. # @param metadata [Hash{String => Object}] # @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition # @return [Vellum::VellumImageRequest] diff --git a/lib/vellum_ai/types/vellum_video.rb b/lib/vellum_ai/types/vellum_video.rb index b7a4824..810a485 100644 --- a/lib/vellum_ai/types/vellum_video.rb +++ b/lib/vellum_ai/types/vellum_video.rb @@ -4,7 +4,16 @@ module Vellum class VellumVideo - # @return [String] A valid data URL containing the video data. + # @return [String] The reference to the source data. This can be one of the following formats: +# 1. A base64-encoded data URL (e.g., +# 'data:application/pdf;base64,JVBERi0xLjQKJcfs...'). +# 2. A url pointing to a file accessible over HTTP or HTTPS. +# 3. A reference to a file that's been previously uploaded to Vellum, in the form +# of 'vellum:uploaded-file:{uploaded_file_id}'. +# You can use the Uploaded Files API to retrieve the url of the uploaded file +# given its ID. See +# https://docs.vellum.ai/developers/client-sdk/uploaded-files/retrieve for +# details. attr_reader :src # @return [Hash{String => Object}] attr_reader :metadata @@ -16,7 +25,16 @@ class VellumVideo OMIT = Object.new - # @param src [String] A valid data URL containing the video data. + # @param src [String] The reference to the source data. This can be one of the following formats: +# 1. A base64-encoded data URL (e.g., +# 'data:application/pdf;base64,JVBERi0xLjQKJcfs...'). +# 2. A url pointing to a file accessible over HTTP or HTTPS. +# 3. A reference to a file that's been previously uploaded to Vellum, in the form +# of 'vellum:uploaded-file:{uploaded_file_id}'. +# You can use the Uploaded Files API to retrieve the url of the uploaded file +# given its ID. See +# https://docs.vellum.ai/developers/client-sdk/uploaded-files/retrieve for +# details. # @param metadata [Hash{String => Object}] # @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition # @return [Vellum::VellumVideo] diff --git a/lib/vellum_ai/types/vellum_video_request.rb b/lib/vellum_ai/types/vellum_video_request.rb index 61126fc..aea329d 100644 --- a/lib/vellum_ai/types/vellum_video_request.rb +++ b/lib/vellum_ai/types/vellum_video_request.rb @@ -4,7 +4,16 @@ module Vellum class VellumVideoRequest - # @return [String] A valid data URL containing the video data. + # @return [String] The reference to the source data. This can be one of the following formats: +# 1. A base64-encoded data URL (e.g., +# 'data:application/pdf;base64,JVBERi0xLjQKJcfs...'). +# 2. A url pointing to a file accessible over HTTP or HTTPS. +# 3. A reference to a file that's been previously uploaded to Vellum, in the form +# of 'vellum:uploaded-file:{uploaded_file_id}'. +# You can use the Uploaded Files API to retrieve the url of the uploaded file +# given its ID. See +# https://docs.vellum.ai/developers/client-sdk/uploaded-files/retrieve for +# details. attr_reader :src # @return [Hash{String => Object}] attr_reader :metadata @@ -16,7 +25,16 @@ class VellumVideoRequest OMIT = Object.new - # @param src [String] A valid data URL containing the video data. + # @param src [String] The reference to the source data. This can be one of the following formats: +# 1. A base64-encoded data URL (e.g., +# 'data:application/pdf;base64,JVBERi0xLjQKJcfs...'). +# 2. A url pointing to a file accessible over HTTP or HTTPS. +# 3. A reference to a file that's been previously uploaded to Vellum, in the form +# of 'vellum:uploaded-file:{uploaded_file_id}'. +# You can use the Uploaded Files API to retrieve the url of the uploaded file +# given its ID. See +# https://docs.vellum.ai/developers/client-sdk/uploaded-files/retrieve for +# details. # @param metadata [Hash{String => Object}] # @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition # @return [Vellum::VellumVideoRequest]