Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions lib/vellum_ai/types/integration_name.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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"
Expand Down
22 changes: 20 additions & 2 deletions lib/vellum_ai/types/vellum_audio.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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]
Expand Down
22 changes: 20 additions & 2 deletions lib/vellum_ai/types/vellum_audio_request.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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]
Expand Down
22 changes: 20 additions & 2 deletions lib/vellum_ai/types/vellum_document.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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]
Expand Down
22 changes: 20 additions & 2 deletions lib/vellum_ai/types/vellum_document_request.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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]
Expand Down
22 changes: 20 additions & 2 deletions lib/vellum_ai/types/vellum_image.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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]
Expand Down
22 changes: 20 additions & 2 deletions lib/vellum_ai/types/vellum_image_request.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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]
Expand Down
22 changes: 20 additions & 2 deletions lib/vellum_ai/types/vellum_video.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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]
Expand Down
22 changes: 20 additions & 2 deletions lib/vellum_ai/types/vellum_video_request.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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]
Expand Down