vellum_ai 1.7.15 → 1.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
 - data/lib/requests.rb +2 -2
 - data/lib/types_export.rb +1 -1
 - data/lib/vellum_ai/types/composio_tool_definition.rb +5 -5
 - data/lib/vellum_ai/types/{tool_definition_integration.rb → integration.rb} +6 -5
 - data/lib/vellum_ai/types/integration_name.rb +46 -0
 - data/lib/vellum_ai/types/slim_composio_tool_definition.rb +5 -5
 - data/lib/vellum_ai/types/vellum_error_code_enum.rb +2 -0
 - data/lib/vellum_ai/types/vellum_sdk_error_code_enum.rb +4 -0
 - data/lib/vellum_ai/types/workflow_execution_event_error_code.rb +4 -0
 - metadata +3 -3
 
    
        checksums.yaml
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
2 
     | 
    
         
             
            SHA256:
         
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: 1c580b8f225b2a2768a4bc6a90a3d153045a79c1acff4158e7318087dd8dc1e4
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: f2eea19fedefd011bea32a282586d6dbc4fe3592ac36949b45a67d6c99d06f29
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: 54e023eb2a41b10e5153bcb63c4fb1bda84159437ec6cbf569bc4e3f20d2c7f11e083c3fcccea2d263bdab8c611f74572d9e0a8ae2b3faa88430f0f07028f94d
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: e53358a1eba32901993b29254146c7fb742d5eefebd3c7528e3a7f54989b529a3baa0fc6ae1c91806c3e81d0709c1e2d907c3c56eeb1b62d03636dbb8b778149
         
     | 
    
        data/lib/requests.rb
    CHANGED
    
    | 
         @@ -56,7 +56,7 @@ end 
     | 
|
| 
       56 
56 
     | 
    
         
             
                end
         
     | 
| 
       57 
57 
     | 
    
         
             
                # @return [Hash{String => String}]
         
     | 
| 
       58 
58 
     | 
    
         
             
                def get_headers
         
     | 
| 
       59 
     | 
    
         
            -
                  headers = { "X-Fern-Language": 'Ruby', "X-Fern-SDK-Name": 'vellum_ai', "X-Fern-SDK-Version": '1. 
     | 
| 
      
 59 
     | 
    
         
            +
                  headers = { "X-Fern-Language": 'Ruby', "X-Fern-SDK-Name": 'vellum_ai', "X-Fern-SDK-Version": '1.8.1' }
         
     | 
| 
       60 
60 
     | 
    
         
             
                  headers["X-API-KEY"] = ((@api_key.is_a? Method) ? @api_key.call : @api_key) unless @api_key.nil?
         
     | 
| 
       61 
61 
     | 
    
         
             
             headers
         
     | 
| 
       62 
62 
     | 
    
         
             
                end
         
     | 
| 
         @@ -107,7 +107,7 @@ end 
     | 
|
| 
       107 
107 
     | 
    
         
             
                end
         
     | 
| 
       108 
108 
     | 
    
         
             
                # @return [Hash{String => String}]
         
     | 
| 
       109 
109 
     | 
    
         
             
                def get_headers
         
     | 
| 
       110 
     | 
    
         
            -
                  headers = { "X-Fern-Language": 'Ruby', "X-Fern-SDK-Name": 'vellum_ai', "X-Fern-SDK-Version": '1. 
     | 
| 
      
 110 
     | 
    
         
            +
                  headers = { "X-Fern-Language": 'Ruby', "X-Fern-SDK-Name": 'vellum_ai', "X-Fern-SDK-Version": '1.8.1' }
         
     | 
| 
       111 
111 
     | 
    
         
             
                  headers["X-API-KEY"] = ((@api_key.is_a? Method) ? @api_key.call : @api_key) unless @api_key.nil?
         
     | 
| 
       112 
112 
     | 
    
         
             
             headers
         
     | 
| 
       113 
113 
     | 
    
         
             
                end
         
     | 
    
        data/lib/types_export.rb
    CHANGED
    
    | 
         @@ -272,6 +272,7 @@ require_relative "vellum_ai/types/initiated_prompt_execution_meta" 
     | 
|
| 
       272 
272 
     | 
    
         
             
            require_relative "vellum_ai/types/initiated_workflow_node_result_event"
         
     | 
| 
       273 
273 
     | 
    
         
             
            require_relative "vellum_ai/types/instructor_vectorizer_config"
         
     | 
| 
       274 
274 
     | 
    
         
             
            require_relative "vellum_ai/types/instructor_vectorizer_config_request"
         
     | 
| 
      
 275 
     | 
    
         
            +
            require_relative "vellum_ai/types/integration"
         
     | 
| 
       275 
276 
     | 
    
         
             
            require_relative "vellum_ai/types/integration_auth_config_integration"
         
     | 
| 
       276 
277 
     | 
    
         
             
            require_relative "vellum_ai/types/integration_auth_config_integration_credential"
         
     | 
| 
       277 
278 
     | 
    
         
             
            require_relative "vellum_ai/types/integration_credential_access_type"
         
     | 
| 
         @@ -598,7 +599,6 @@ require_relative "vellum_ai/types/thinking_vellum_value_request" 
     | 
|
| 
       598 
599 
     | 
    
         
             
            require_relative "vellum_ai/types/token_overlapping_window_chunker_config"
         
     | 
| 
       599 
600 
     | 
    
         
             
            require_relative "vellum_ai/types/token_overlapping_window_chunker_config_request"
         
     | 
| 
       600 
601 
     | 
    
         
             
            require_relative "vellum_ai/types/components_schemas_composio_tool_definition"
         
     | 
| 
       601 
     | 
    
         
            -
            require_relative "vellum_ai/types/tool_definition_integration"
         
     | 
| 
       602 
602 
     | 
    
         
             
            require_relative "vellum_ai/types/unit_enum"
         
     | 
| 
       603 
603 
     | 
    
         
             
            require_relative "vellum_ai/types/upload_document_response"
         
     | 
| 
       604 
604 
     | 
    
         
             
            require_relative "vellum_ai/types/upsert_test_suite_test_case_request"
         
     | 
| 
         @@ -1,5 +1,5 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            # frozen_string_literal: true
         
     | 
| 
       2 
     | 
    
         
            -
            require_relative " 
     | 
| 
      
 2 
     | 
    
         
            +
            require_relative "integration"
         
     | 
| 
       3 
3 
     | 
    
         
             
            require "ostruct"
         
     | 
| 
       4 
4 
     | 
    
         
             
            require "json"
         
     | 
| 
       5 
5 
     | 
    
         | 
| 
         @@ -8,7 +8,7 @@ module Vellum 
     | 
|
| 
       8 
8 
     | 
    
         
             
              class ComposioToolDefinition
         
     | 
| 
       9 
9 
     | 
    
         
             
              # @return [String] 
         
     | 
| 
       10 
10 
     | 
    
         
             
                attr_reader :provider
         
     | 
| 
       11 
     | 
    
         
            -
              # @return [Vellum:: 
     | 
| 
      
 11 
     | 
    
         
            +
              # @return [Vellum::Integration] 
         
     | 
| 
       12 
12 
     | 
    
         
             
                attr_reader :integration
         
     | 
| 
       13 
13 
     | 
    
         
             
              # @return [String] 
         
     | 
| 
       14 
14 
     | 
    
         
             
                attr_reader :name
         
     | 
| 
         @@ -29,7 +29,7 @@ module Vellum 
     | 
|
| 
       29 
29 
     | 
    
         
             
                OMIT = Object.new
         
     | 
| 
       30 
30 
     | 
    
         | 
| 
       31 
31 
     | 
    
         
             
                # @param provider [String] 
         
     | 
| 
       32 
     | 
    
         
            -
                # @param integration [Vellum:: 
     | 
| 
      
 32 
     | 
    
         
            +
                # @param integration [Vellum::Integration] 
         
     | 
| 
       33 
33 
     | 
    
         
             
                # @param name [String] 
         
     | 
| 
       34 
34 
     | 
    
         
             
                # @param label [String] 
         
     | 
| 
       35 
35 
     | 
    
         
             
                # @param description [String] 
         
     | 
| 
         @@ -58,7 +58,7 @@ module Vellum 
     | 
|
| 
       58 
58 
     | 
    
         
             
                  provider = parsed_json["provider"]
         
     | 
| 
       59 
59 
     | 
    
         
             
                  unless parsed_json["integration"].nil?
         
     | 
| 
       60 
60 
     | 
    
         
             
                    integration = parsed_json["integration"].to_json
         
     | 
| 
       61 
     | 
    
         
            -
                    integration = Vellum:: 
     | 
| 
      
 61 
     | 
    
         
            +
                    integration = Vellum::Integration.from_json(json_object: integration)
         
     | 
| 
       62 
62 
     | 
    
         
             
                  else
         
     | 
| 
       63 
63 
     | 
    
         
             
                    integration = nil
         
     | 
| 
       64 
64 
     | 
    
         
             
                  end
         
     | 
| 
         @@ -92,7 +92,7 @@ module Vellum 
     | 
|
| 
       92 
92 
     | 
    
         
             
                # @return [Void]
         
     | 
| 
       93 
93 
     | 
    
         
             
                def self.validate_raw(obj:)
         
     | 
| 
       94 
94 
     | 
    
         
             
                  obj.provider.is_a?(String) != false || raise("Passed value for field obj.provider is not the expected type, validation failed.")
         
     | 
| 
       95 
     | 
    
         
            -
                  Vellum:: 
     | 
| 
      
 95 
     | 
    
         
            +
                  Vellum::Integration.validate_raw(obj: obj.integration)
         
     | 
| 
       96 
96 
     | 
    
         
             
                  obj.name.is_a?(String) != false || raise("Passed value for field obj.name is not the expected type, validation failed.")
         
     | 
| 
       97 
97 
     | 
    
         
             
                  obj.label.is_a?(String) != false || raise("Passed value for field obj.label is not the expected type, validation failed.")
         
     | 
| 
       98 
98 
     | 
    
         
             
                  obj.description.is_a?(String) != false || raise("Passed value for field obj.description is not the expected type, validation failed.")
         
     | 
| 
         @@ -5,7 +5,8 @@ require "ostruct" 
     | 
|
| 
       5 
5 
     | 
    
         
             
            require "json"
         
     | 
| 
       6 
6 
     | 
    
         | 
| 
       7 
7 
     | 
    
         
             
            module Vellum
         
     | 
| 
       8 
     | 
    
         
            -
             
     | 
| 
      
 8 
     | 
    
         
            +
            # Serializer for Integration model - used in both tool and trigger definitions.
         
     | 
| 
      
 9 
     | 
    
         
            +
              class Integration
         
     | 
| 
       9 
10 
     | 
    
         
             
              # @return [String] 
         
     | 
| 
       10 
11 
     | 
    
         
             
                attr_reader :id
         
     | 
| 
       11 
12 
     | 
    
         
             
              # @return [Vellum::INTEGRATION_PROVIDER] 
         
     | 
| 
         @@ -24,7 +25,7 @@ module Vellum 
     | 
|
| 
       24 
25 
     | 
    
         
             
                # @param provider [Vellum::INTEGRATION_PROVIDER] 
         
     | 
| 
       25 
26 
     | 
    
         
             
                # @param name [Vellum::IntegrationName] 
         
     | 
| 
       26 
27 
     | 
    
         
             
                # @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition
         
     | 
| 
       27 
     | 
    
         
            -
                # @return [Vellum:: 
     | 
| 
      
 28 
     | 
    
         
            +
                # @return [Vellum::Integration]
         
     | 
| 
       28 
29 
     | 
    
         
             
                def initialize(id:, provider:, name:, additional_properties: nil)
         
     | 
| 
       29 
30 
     | 
    
         
             
                  @id = id
         
     | 
| 
       30 
31 
     | 
    
         
             
                  @provider = provider
         
     | 
| 
         @@ -32,10 +33,10 @@ module Vellum 
     | 
|
| 
       32 
33 
     | 
    
         
             
                  @additional_properties = additional_properties
         
     | 
| 
       33 
34 
     | 
    
         
             
                  @_field_set = { "id": id, "provider": provider, "name": name }
         
     | 
| 
       34 
35 
     | 
    
         
             
                end
         
     | 
| 
       35 
     | 
    
         
            -
            # Deserialize a JSON object to an instance of  
     | 
| 
      
 36 
     | 
    
         
            +
            # Deserialize a JSON object to an instance of Integration
         
     | 
| 
       36 
37 
     | 
    
         
             
                #
         
     | 
| 
       37 
38 
     | 
    
         
             
                # @param json_object [String] 
         
     | 
| 
       38 
     | 
    
         
            -
                # @return [Vellum:: 
     | 
| 
      
 39 
     | 
    
         
            +
                # @return [Vellum::Integration]
         
     | 
| 
       39 
40 
     | 
    
         
             
                def self.from_json(json_object:)
         
     | 
| 
       40 
41 
     | 
    
         
             
                  struct = JSON.parse(json_object, object_class: OpenStruct)
         
     | 
| 
       41 
42 
     | 
    
         
             
                  parsed_json = JSON.parse(json_object)
         
     | 
| 
         @@ -49,7 +50,7 @@ module Vellum 
     | 
|
| 
       49 
50 
     | 
    
         
             
                    additional_properties: struct
         
     | 
| 
       50 
51 
     | 
    
         
             
                  )
         
     | 
| 
       51 
52 
     | 
    
         
             
                end
         
     | 
| 
       52 
     | 
    
         
            -
            # Serialize an instance of  
     | 
| 
      
 53 
     | 
    
         
            +
            # Serialize an instance of Integration to a JSON object
         
     | 
| 
       53 
54 
     | 
    
         
             
                #
         
     | 
| 
       54 
55 
     | 
    
         
             
                # @return [String]
         
     | 
| 
       55 
56 
     | 
    
         
             
                def to_json
         
     | 
| 
         @@ -6,31 +6,54 @@ module Vellum 
     | 
|
| 
       6 
6 
     | 
    
         
             
            #  * `GOOGLE` - Google
         
     | 
| 
       7 
7 
     | 
    
         
             
            #  * `CALENDLY` - Calendly
         
     | 
| 
       8 
8 
     | 
    
         
             
            #  * `CANVA` - Canva
         
     | 
| 
      
 9 
     | 
    
         
            +
            #  * `CLICKUP` - ClickUp
         
     | 
| 
       9 
10 
     | 
    
         
             
            #  * `HUBSPOT` - Hubspot
         
     | 
| 
      
 11 
     | 
    
         
            +
            #  * `INTERCOM` - Intercom
         
     | 
| 
       10 
12 
     | 
    
         
             
            #  * `LINEAR` - Linear
         
     | 
| 
       11 
13 
     | 
    
         
             
            #  * `LINKEDIN` - LinkedIn
         
     | 
| 
       12 
14 
     | 
    
         
             
            #  * `MAILCHIMP` - Mailchimp
         
     | 
| 
      
 15 
     | 
    
         
            +
            #  * `MEM0` - Mem0
         
     | 
| 
      
 16 
     | 
    
         
            +
            #  * `NEON` - Neon
         
     | 
| 
       13 
17 
     | 
    
         
             
            #  * `GITHUB` - Github
         
     | 
| 
       14 
18 
     | 
    
         
             
            #  * `GOOGLE_SHEETS` - Google Sheets
         
     | 
| 
       15 
19 
     | 
    
         
             
            #  * `GOOGLE_CALENDAR` - Google Calendar
         
     | 
| 
       16 
20 
     | 
    
         
             
            #  * `GOOGLE_DRIVE` - Google Drive
         
     | 
| 
       17 
21 
     | 
    
         
             
            #  * `GMAIL` - Gmail
         
     | 
| 
       18 
22 
     | 
    
         
             
            #  * `AIRTABLE` - Airtable
         
     | 
| 
      
 23 
     | 
    
         
            +
            #  * `APOLLO` - Apollo
         
     | 
| 
      
 24 
     | 
    
         
            +
            #  * `ASANA` - Asana
         
     | 
| 
       19 
25 
     | 
    
         
             
            #  * `ATLASSIAN` - Atlassian
         
     | 
| 
      
 26 
     | 
    
         
            +
            #  * `BOX` - Box
         
     | 
| 
      
 27 
     | 
    
         
            +
            #  * `BREVO` - Brevo
         
     | 
| 
      
 28 
     | 
    
         
            +
            #  * `BROWSERBASE_TOOL` - Browserbase Tool
         
     | 
| 
      
 29 
     | 
    
         
            +
            #  * `CAL` - Cal
         
     | 
| 
      
 30 
     | 
    
         
            +
            #  * `CANVAS` - Canvas
         
     | 
| 
      
 31 
     | 
    
         
            +
            #  * `ELEVENLABS` - ElevenLabs
         
     | 
| 
      
 32 
     | 
    
         
            +
            #  * `EXA` - Exa
         
     | 
| 
       20 
33 
     | 
    
         
             
            #  * `GAMMA` - Gamma
         
     | 
| 
       21 
34 
     | 
    
         
             
            #  * `GITLAB` - Gitlab
         
     | 
| 
       22 
35 
     | 
    
         
             
            #  * `FIRECRAWL` - Firecrawl
         
     | 
| 
       23 
36 
     | 
    
         
             
            #  * `FIGMA` - Figma
         
     | 
| 
      
 37 
     | 
    
         
            +
            #  * `GOOGLE_MAPS` - Google Maps
         
     | 
| 
      
 38 
     | 
    
         
            +
            #  * `JIRA` - Jira
         
     | 
| 
      
 39 
     | 
    
         
            +
            #  * `KLAVIYO` - Klaviyo
         
     | 
| 
       24 
40 
     | 
    
         
             
            #  * `PAGERDUTY` - PagerDuty
         
     | 
| 
      
 41 
     | 
    
         
            +
            #  * `PEOPLEDATALABS` - People Data Labs
         
     | 
| 
       25 
42 
     | 
    
         
             
            #  * `PERPLEXITY` - Perplexity
         
     | 
| 
      
 43 
     | 
    
         
            +
            #  * `POSTHOG` - PostHog
         
     | 
| 
       26 
44 
     | 
    
         
             
            #  * `REDDIT` - Reddit
         
     | 
| 
      
 45 
     | 
    
         
            +
            #  * `SEMRUSH` - Semrush
         
     | 
| 
       27 
46 
     | 
    
         
             
            #  * `SERPAPI` - Serp Api
         
     | 
| 
      
 47 
     | 
    
         
            +
            #  * `SHARE_POINT` - SharePoint
         
     | 
| 
      
 48 
     | 
    
         
            +
            #  * `STRIPE` - Stripe
         
     | 
| 
       28 
49 
     | 
    
         
             
            #  * `SUPABASE` - Supabase
         
     | 
| 
      
 50 
     | 
    
         
            +
            #  * `TAVILY` - Tavily
         
     | 
| 
       29 
51 
     | 
    
         
             
            #  * `WEBFLOW` - Webflow
         
     | 
| 
       30 
52 
     | 
    
         
             
            #  * `ZENDESK` - Zendesk
         
     | 
| 
       31 
53 
     | 
    
         
             
            #  * `DROPBOX` - Dropbox
         
     | 
| 
       32 
54 
     | 
    
         
             
            #  * `EVENTBRITE` - Eventbrite
         
     | 
| 
       33 
55 
     | 
    
         
             
            #  * `CONFLUENCE` - Confluence
         
     | 
| 
      
 56 
     | 
    
         
            +
            #  * `DISCORD` - Discord
         
     | 
| 
       34 
57 
     | 
    
         
             
            #  * `DOCUSIGN` - DocuSign
         
     | 
| 
       35 
58 
     | 
    
         
             
              class IntegrationName
         
     | 
| 
       36 
59 
     | 
    
         | 
| 
         @@ -39,31 +62,54 @@ module Vellum 
     | 
|
| 
       39 
62 
     | 
    
         
             
                GOOGLE = "GOOGLE"
         
     | 
| 
       40 
63 
     | 
    
         
             
                CALENDLY = "CALENDLY"
         
     | 
| 
       41 
64 
     | 
    
         
             
                CANVA = "CANVA"
         
     | 
| 
      
 65 
     | 
    
         
            +
                CLICKUP = "CLICKUP"
         
     | 
| 
       42 
66 
     | 
    
         
             
                HUBSPOT = "HUBSPOT"
         
     | 
| 
      
 67 
     | 
    
         
            +
                INTERCOM = "INTERCOM"
         
     | 
| 
       43 
68 
     | 
    
         
             
                LINEAR = "LINEAR"
         
     | 
| 
       44 
69 
     | 
    
         
             
                LINKEDIN = "LINKEDIN"
         
     | 
| 
       45 
70 
     | 
    
         
             
                MAILCHIMP = "MAILCHIMP"
         
     | 
| 
      
 71 
     | 
    
         
            +
                MEM_0 = "MEM0"
         
     | 
| 
      
 72 
     | 
    
         
            +
                NEON = "NEON"
         
     | 
| 
       46 
73 
     | 
    
         
             
                GITHUB = "GITHUB"
         
     | 
| 
       47 
74 
     | 
    
         
             
                GOOGLE_SHEETS = "GOOGLE_SHEETS"
         
     | 
| 
       48 
75 
     | 
    
         
             
                GOOGLE_CALENDAR = "GOOGLE_CALENDAR"
         
     | 
| 
       49 
76 
     | 
    
         
             
                GOOGLE_DRIVE = "GOOGLE_DRIVE"
         
     | 
| 
       50 
77 
     | 
    
         
             
                GMAIL = "GMAIL"
         
     | 
| 
       51 
78 
     | 
    
         
             
                AIRTABLE = "AIRTABLE"
         
     | 
| 
      
 79 
     | 
    
         
            +
                APOLLO = "APOLLO"
         
     | 
| 
      
 80 
     | 
    
         
            +
                ASANA = "ASANA"
         
     | 
| 
       52 
81 
     | 
    
         
             
                ATLASSIAN = "ATLASSIAN"
         
     | 
| 
      
 82 
     | 
    
         
            +
                BOX = "BOX"
         
     | 
| 
      
 83 
     | 
    
         
            +
                BREVO = "BREVO"
         
     | 
| 
      
 84 
     | 
    
         
            +
                BROWSERBASE_TOOL = "BROWSERBASE_TOOL"
         
     | 
| 
      
 85 
     | 
    
         
            +
                CAL = "CAL"
         
     | 
| 
      
 86 
     | 
    
         
            +
                CANVAS = "CANVAS"
         
     | 
| 
      
 87 
     | 
    
         
            +
                ELEVENLABS = "ELEVENLABS"
         
     | 
| 
      
 88 
     | 
    
         
            +
                EXA = "EXA"
         
     | 
| 
       53 
89 
     | 
    
         
             
                GAMMA = "GAMMA"
         
     | 
| 
       54 
90 
     | 
    
         
             
                GITLAB = "GITLAB"
         
     | 
| 
       55 
91 
     | 
    
         
             
                FIRECRAWL = "FIRECRAWL"
         
     | 
| 
       56 
92 
     | 
    
         
             
                FIGMA = "FIGMA"
         
     | 
| 
      
 93 
     | 
    
         
            +
                GOOGLE_MAPS = "GOOGLE_MAPS"
         
     | 
| 
      
 94 
     | 
    
         
            +
                JIRA = "JIRA"
         
     | 
| 
      
 95 
     | 
    
         
            +
                KLAVIYO = "KLAVIYO"
         
     | 
| 
       57 
96 
     | 
    
         
             
                PAGERDUTY = "PAGERDUTY"
         
     | 
| 
      
 97 
     | 
    
         
            +
                PEOPLEDATALABS = "PEOPLEDATALABS"
         
     | 
| 
       58 
98 
     | 
    
         
             
                PERPLEXITY = "PERPLEXITY"
         
     | 
| 
      
 99 
     | 
    
         
            +
                POSTHOG = "POSTHOG"
         
     | 
| 
       59 
100 
     | 
    
         
             
                REDDIT = "REDDIT"
         
     | 
| 
      
 101 
     | 
    
         
            +
                SEMRUSH = "SEMRUSH"
         
     | 
| 
       60 
102 
     | 
    
         
             
                SERPAPI = "SERPAPI"
         
     | 
| 
      
 103 
     | 
    
         
            +
                SHARE_POINT = "SHARE_POINT"
         
     | 
| 
      
 104 
     | 
    
         
            +
                STRIPE = "STRIPE"
         
     | 
| 
       61 
105 
     | 
    
         
             
                SUPABASE = "SUPABASE"
         
     | 
| 
      
 106 
     | 
    
         
            +
                TAVILY = "TAVILY"
         
     | 
| 
       62 
107 
     | 
    
         
             
                WEBFLOW = "WEBFLOW"
         
     | 
| 
       63 
108 
     | 
    
         
             
                ZENDESK = "ZENDESK"
         
     | 
| 
       64 
109 
     | 
    
         
             
                DROPBOX = "DROPBOX"
         
     | 
| 
       65 
110 
     | 
    
         
             
                EVENTBRITE = "EVENTBRITE"
         
     | 
| 
       66 
111 
     | 
    
         
             
                CONFLUENCE = "CONFLUENCE"
         
     | 
| 
      
 112 
     | 
    
         
            +
                DISCORD = "DISCORD"
         
     | 
| 
       67 
113 
     | 
    
         
             
                DOCUSIGN = "DOCUSIGN"
         
     | 
| 
       68 
114 
     | 
    
         | 
| 
       69 
115 
     | 
    
         
             
              end
         
     | 
| 
         @@ -1,5 +1,5 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            # frozen_string_literal: true
         
     | 
| 
       2 
     | 
    
         
            -
            require_relative " 
     | 
| 
      
 2 
     | 
    
         
            +
            require_relative "integration"
         
     | 
| 
       3 
3 
     | 
    
         
             
            require "ostruct"
         
     | 
| 
       4 
4 
     | 
    
         
             
            require "json"
         
     | 
| 
       5 
5 
     | 
    
         | 
| 
         @@ -7,7 +7,7 @@ module Vellum 
     | 
|
| 
       7 
7 
     | 
    
         
             
              class SlimComposioToolDefinition
         
     | 
| 
       8 
8 
     | 
    
         
             
              # @return [String] 
         
     | 
| 
       9 
9 
     | 
    
         
             
                attr_reader :provider
         
     | 
| 
       10 
     | 
    
         
            -
              # @return [Vellum:: 
     | 
| 
      
 10 
     | 
    
         
            +
              # @return [Vellum::Integration] 
         
     | 
| 
       11 
11 
     | 
    
         
             
                attr_reader :integration
         
     | 
| 
       12 
12 
     | 
    
         
             
              # @return [String] 
         
     | 
| 
       13 
13 
     | 
    
         
             
                attr_reader :name
         
     | 
| 
         @@ -24,7 +24,7 @@ module Vellum 
     | 
|
| 
       24 
24 
     | 
    
         
             
                OMIT = Object.new
         
     | 
| 
       25 
25 
     | 
    
         | 
| 
       26 
26 
     | 
    
         
             
                # @param provider [String] 
         
     | 
| 
       27 
     | 
    
         
            -
                # @param integration [Vellum:: 
     | 
| 
      
 27 
     | 
    
         
            +
                # @param integration [Vellum::Integration] 
         
     | 
| 
       28 
28 
     | 
    
         
             
                # @param name [String] 
         
     | 
| 
       29 
29 
     | 
    
         
             
                # @param label [String] 
         
     | 
| 
       30 
30 
     | 
    
         
             
                # @param description [String] 
         
     | 
| 
         @@ -49,7 +49,7 @@ module Vellum 
     | 
|
| 
       49 
49 
     | 
    
         
             
                  provider = parsed_json["provider"]
         
     | 
| 
       50 
50 
     | 
    
         
             
                  unless parsed_json["integration"].nil?
         
     | 
| 
       51 
51 
     | 
    
         
             
                    integration = parsed_json["integration"].to_json
         
     | 
| 
       52 
     | 
    
         
            -
                    integration = Vellum:: 
     | 
| 
      
 52 
     | 
    
         
            +
                    integration = Vellum::Integration.from_json(json_object: integration)
         
     | 
| 
       53 
53 
     | 
    
         
             
                  else
         
     | 
| 
       54 
54 
     | 
    
         
             
                    integration = nil
         
     | 
| 
       55 
55 
     | 
    
         
             
                  end
         
     | 
| 
         @@ -79,7 +79,7 @@ module Vellum 
     | 
|
| 
       79 
79 
     | 
    
         
             
                # @return [Void]
         
     | 
| 
       80 
80 
     | 
    
         
             
                def self.validate_raw(obj:)
         
     | 
| 
       81 
81 
     | 
    
         
             
                  obj.provider.is_a?(String) != false || raise("Passed value for field obj.provider is not the expected type, validation failed.")
         
     | 
| 
       82 
     | 
    
         
            -
                  Vellum:: 
     | 
| 
      
 82 
     | 
    
         
            +
                  Vellum::Integration.validate_raw(obj: obj.integration)
         
     | 
| 
       83 
83 
     | 
    
         
             
                  obj.name.is_a?(String) != false || raise("Passed value for field obj.name is not the expected type, validation failed.")
         
     | 
| 
       84 
84 
     | 
    
         
             
                  obj.label.is_a?(String) != false || raise("Passed value for field obj.label is not the expected type, validation failed.")
         
     | 
| 
       85 
85 
     | 
    
         
             
                  obj.description.is_a?(String) != false || raise("Passed value for field obj.description is not the expected type, validation failed.")
         
     | 
| 
         @@ -12,6 +12,7 @@ module Vellum 
     | 
|
| 
       12 
12 
     | 
    
         
             
            #  * `WORKFLOW_CANCELLED` - WORKFLOW_CANCELLED
         
     | 
| 
       13 
13 
     | 
    
         
             
            #  * `NODE_CANCELLED` - NODE_CANCELLED
         
     | 
| 
       14 
14 
     | 
    
         
             
            #  * `PROVIDER_QUOTA_EXCEEDED` - PROVIDER_QUOTA_EXCEEDED
         
     | 
| 
      
 15 
     | 
    
         
            +
            #  * `CHAT_QUOTA_EXCEEDED` - CHAT_QUOTA_EXCEEDED
         
     | 
| 
       15 
16 
     | 
    
         
             
              class VellumErrorCodeEnum
         
     | 
| 
       16 
17 
     | 
    
         | 
| 
       17 
18 
     | 
    
         
             
                INVALID_REQUEST = "INVALID_REQUEST"
         
     | 
| 
         @@ -25,6 +26,7 @@ module Vellum 
     | 
|
| 
       25 
26 
     | 
    
         
             
                WORKFLOW_CANCELLED = "WORKFLOW_CANCELLED"
         
     | 
| 
       26 
27 
     | 
    
         
             
                NODE_CANCELLED = "NODE_CANCELLED"
         
     | 
| 
       27 
28 
     | 
    
         
             
                PROVIDER_QUOTA_EXCEEDED = "PROVIDER_QUOTA_EXCEEDED"
         
     | 
| 
      
 29 
     | 
    
         
            +
                CHAT_QUOTA_EXCEEDED = "CHAT_QUOTA_EXCEEDED"
         
     | 
| 
       28 
30 
     | 
    
         | 
| 
       29 
31 
     | 
    
         
             
              end
         
     | 
| 
       30 
32 
     | 
    
         
             
            end
         
     | 
| 
         @@ -14,7 +14,9 @@ module Vellum 
     | 
|
| 
       14 
14 
     | 
    
         
             
            #  * `PROVIDER_QUOTA_EXCEEDED` - PROVIDER_QUOTA_EXCEEDED
         
     | 
| 
       15 
15 
     | 
    
         
             
            #  * `USER_DEFINED_ERROR` - USER_DEFINED_ERROR
         
     | 
| 
       16 
16 
     | 
    
         
             
            #  * `WORKFLOW_CANCELLED` - WORKFLOW_CANCELLED
         
     | 
| 
      
 17 
     | 
    
         
            +
            #  * `WORKFLOW_TIMEOUT` - WORKFLOW_TIMEOUT
         
     | 
| 
       17 
18 
     | 
    
         
             
            #  * `NODE_CANCELLED` - NODE_CANCELLED
         
     | 
| 
      
 19 
     | 
    
         
            +
            #  * `NODE_TIMEOUT` - NODE_TIMEOUT
         
     | 
| 
       18 
20 
     | 
    
         
             
            #  * `NODE_EXECUTION` - NODE_EXECUTION
         
     | 
| 
       19 
21 
     | 
    
         
             
              class VellumSdkErrorCodeEnum
         
     | 
| 
       20 
22 
     | 
    
         | 
| 
         @@ -31,7 +33,9 @@ module Vellum 
     | 
|
| 
       31 
33 
     | 
    
         
             
                PROVIDER_QUOTA_EXCEEDED = "PROVIDER_QUOTA_EXCEEDED"
         
     | 
| 
       32 
34 
     | 
    
         
             
                USER_DEFINED_ERROR = "USER_DEFINED_ERROR"
         
     | 
| 
       33 
35 
     | 
    
         
             
                WORKFLOW_CANCELLED = "WORKFLOW_CANCELLED"
         
     | 
| 
      
 36 
     | 
    
         
            +
                WORKFLOW_TIMEOUT = "WORKFLOW_TIMEOUT"
         
     | 
| 
       34 
37 
     | 
    
         
             
                NODE_CANCELLED = "NODE_CANCELLED"
         
     | 
| 
      
 38 
     | 
    
         
            +
                NODE_TIMEOUT = "NODE_TIMEOUT"
         
     | 
| 
       35 
39 
     | 
    
         
             
                NODE_EXECUTION = "NODE_EXECUTION"
         
     | 
| 
       36 
40 
     | 
    
         | 
| 
       37 
41 
     | 
    
         
             
              end
         
     | 
| 
         @@ -3,12 +3,14 @@ 
     | 
|
| 
       3 
3 
     | 
    
         
             
            module Vellum
         
     | 
| 
       4 
4 
     | 
    
         
             
            # * `WORKFLOW_INITIALIZATION` - WORKFLOW_INITIALIZATION
         
     | 
| 
       5 
5 
     | 
    
         
             
            #  * `WORKFLOW_CANCELLED` - WORKFLOW_CANCELLED
         
     | 
| 
      
 6 
     | 
    
         
            +
            #  * `WORKFLOW_TIMEOUT` - WORKFLOW_TIMEOUT
         
     | 
| 
       6 
7 
     | 
    
         
             
            #  * `PROVIDER_CREDENTIALS_UNAVAILABLE` - PROVIDER_CREDENTIALS_UNAVAILABLE
         
     | 
| 
       7 
8 
     | 
    
         
             
            #  * `INTEGRATION_CREDENTIALS_UNAVAILABLE` - INTEGRATION_CREDENTIALS_UNAVAILABLE
         
     | 
| 
       8 
9 
     | 
    
         
             
            #  * `NODE_EXECUTION_COUNT_LIMIT_REACHED` - NODE_EXECUTION_COUNT_LIMIT_REACHED
         
     | 
| 
       9 
10 
     | 
    
         
             
            #  * `INTERNAL_SERVER_ERROR` - INTERNAL_SERVER_ERROR
         
     | 
| 
       10 
11 
     | 
    
         
             
            #  * `NODE_EXECUTION` - NODE_EXECUTION
         
     | 
| 
       11 
12 
     | 
    
         
             
            #  * `NODE_CANCELLED` - NODE_CANCELLED
         
     | 
| 
      
 13 
     | 
    
         
            +
            #  * `NODE_TIMEOUT` - NODE_TIMEOUT
         
     | 
| 
       12 
14 
     | 
    
         
             
            #  * `LLM_PROVIDER` - LLM_PROVIDER
         
     | 
| 
       13 
15 
     | 
    
         
             
            #  * `INVALID_TEMPLATE` - INVALID_TEMPLATE
         
     | 
| 
       14 
16 
     | 
    
         
             
            #  * `INVALID_INPUTS` - INVALID_INPUTS
         
     | 
| 
         @@ -18,12 +20,14 @@ module Vellum 
     | 
|
| 
       18 
20 
     | 
    
         | 
| 
       19 
21 
     | 
    
         
             
                WORKFLOW_INITIALIZATION = "WORKFLOW_INITIALIZATION"
         
     | 
| 
       20 
22 
     | 
    
         
             
                WORKFLOW_CANCELLED = "WORKFLOW_CANCELLED"
         
     | 
| 
      
 23 
     | 
    
         
            +
                WORKFLOW_TIMEOUT = "WORKFLOW_TIMEOUT"
         
     | 
| 
       21 
24 
     | 
    
         
             
                PROVIDER_CREDENTIALS_UNAVAILABLE = "PROVIDER_CREDENTIALS_UNAVAILABLE"
         
     | 
| 
       22 
25 
     | 
    
         
             
                INTEGRATION_CREDENTIALS_UNAVAILABLE = "INTEGRATION_CREDENTIALS_UNAVAILABLE"
         
     | 
| 
       23 
26 
     | 
    
         
             
                NODE_EXECUTION_COUNT_LIMIT_REACHED = "NODE_EXECUTION_COUNT_LIMIT_REACHED"
         
     | 
| 
       24 
27 
     | 
    
         
             
                INTERNAL_SERVER_ERROR = "INTERNAL_SERVER_ERROR"
         
     | 
| 
       25 
28 
     | 
    
         
             
                NODE_EXECUTION = "NODE_EXECUTION"
         
     | 
| 
       26 
29 
     | 
    
         
             
                NODE_CANCELLED = "NODE_CANCELLED"
         
     | 
| 
      
 30 
     | 
    
         
            +
                NODE_TIMEOUT = "NODE_TIMEOUT"
         
     | 
| 
       27 
31 
     | 
    
         
             
                LLM_PROVIDER = "LLM_PROVIDER"
         
     | 
| 
       28 
32 
     | 
    
         
             
                INVALID_TEMPLATE = "INVALID_TEMPLATE"
         
     | 
| 
       29 
33 
     | 
    
         
             
                INVALID_INPUTS = "INVALID_INPUTS"
         
     | 
    
        metadata
    CHANGED
    
    | 
         @@ -1,14 +1,14 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: vellum_ai
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
     | 
    
         
            -
              version: 1. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 1.8.1
         
     | 
| 
       5 
5 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       6 
6 
     | 
    
         
             
            authors:
         
     | 
| 
       7 
7 
     | 
    
         
             
            - Vellum
         
     | 
| 
       8 
8 
     | 
    
         
             
            autorequire:
         
     | 
| 
       9 
9 
     | 
    
         
             
            bindir: exe
         
     | 
| 
       10 
10 
     | 
    
         
             
            cert_chain: []
         
     | 
| 
       11 
     | 
    
         
            -
            date: 2025-10- 
     | 
| 
      
 11 
     | 
    
         
            +
            date: 2025-10-26 00:00:00.000000000 Z
         
     | 
| 
       12 
12 
     | 
    
         
             
            dependencies:
         
     | 
| 
       13 
13 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       14 
14 
     | 
    
         
             
              name: faraday
         
     | 
| 
         @@ -378,6 +378,7 @@ files: 
     | 
|
| 
       378 
378 
     | 
    
         
             
            - lib/vellum_ai/types/initiated_workflow_node_result_event.rb
         
     | 
| 
       379 
379 
     | 
    
         
             
            - lib/vellum_ai/types/instructor_vectorizer_config.rb
         
     | 
| 
       380 
380 
     | 
    
         
             
            - lib/vellum_ai/types/instructor_vectorizer_config_request.rb
         
     | 
| 
      
 381 
     | 
    
         
            +
            - lib/vellum_ai/types/integration.rb
         
     | 
| 
       381 
382 
     | 
    
         
             
            - lib/vellum_ai/types/integration_auth_config_integration.rb
         
     | 
| 
       382 
383 
     | 
    
         
             
            - lib/vellum_ai/types/integration_auth_config_integration_credential.rb
         
     | 
| 
       383 
384 
     | 
    
         
             
            - lib/vellum_ai/types/integration_credential_access_type.rb
         
     | 
| 
         @@ -726,7 +727,6 @@ files: 
     | 
|
| 
       726 
727 
     | 
    
         
             
            - lib/vellum_ai/types/token_overlapping_window_chunker_config_request.rb
         
     | 
| 
       727 
728 
     | 
    
         
             
            - lib/vellum_ai/types/token_overlapping_window_chunking.rb
         
     | 
| 
       728 
729 
     | 
    
         
             
            - lib/vellum_ai/types/token_overlapping_window_chunking_request.rb
         
     | 
| 
       729 
     | 
    
         
            -
            - lib/vellum_ai/types/tool_definition_integration.rb
         
     | 
| 
       730 
730 
     | 
    
         
             
            - lib/vellum_ai/types/unit_enum.rb
         
     | 
| 
       731 
731 
     | 
    
         
             
            - lib/vellum_ai/types/upload_document_response.rb
         
     | 
| 
       732 
732 
     | 
    
         
             
            - lib/vellum_ai/types/upsert_test_suite_test_case_request.rb
         
     |