vellum_ai 1.13.7 → 1.14.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.
Files changed (26) hide show
  1. checksums.yaml +4 -4
  2. data/lib/requests.rb +2 -2
  3. data/lib/types_export.rb +2 -0
  4. data/lib/vellum_ai/deployments/types/deployments_list_request_status.rb +1 -0
  5. data/lib/vellum_ai/document_indexes/client.rb +8 -0
  6. data/lib/vellum_ai/document_indexes/types/document_indexes_list_request_status.rb +1 -0
  7. data/lib/vellum_ai/folder_entities/client.rb +2 -0
  8. data/lib/vellum_ai/folder_entities/types/folder_entities_list_request_entity_status.rb +1 -0
  9. data/lib/vellum_ai/integrations/client.rb +8 -8
  10. data/lib/vellum_ai/types/deployment_read.rb +2 -0
  11. data/lib/vellum_ai/types/document_index_read.rb +2 -0
  12. data/lib/vellum_ai/types/entity_status.rb +2 -0
  13. data/lib/vellum_ai/types/fulfilled_ad_hoc_execute_prompt_event.rb +9 -2
  14. data/lib/vellum_ai/types/fulfilled_execute_prompt_event.rb +9 -2
  15. data/lib/vellum_ai/types/fulfilled_execute_prompt_response.rb +9 -2
  16. data/lib/vellum_ai/types/integration_name.rb +12 -0
  17. data/lib/vellum_ai/types/slim_deployment_read.rb +2 -0
  18. data/lib/vellum_ai/types/slim_workflow_deployment.rb +2 -0
  19. data/lib/vellum_ai/types/vellum_sdk_error.rb +15 -9
  20. data/lib/vellum_ai/types/vellum_sdk_error_raw_data.rb +56 -0
  21. data/lib/vellum_ai/types/workflow_deployment_read.rb +2 -0
  22. data/lib/vellum_ai/types/workflow_event_error.rb +15 -9
  23. data/lib/vellum_ai/types/workflow_event_error_raw_data.rb +56 -0
  24. data/lib/vellum_ai/workflow_deployments/client.rb +10 -4
  25. data/lib/vellum_ai/workflow_deployments/types/workflow_deployments_list_request_status.rb +1 -0
  26. metadata +4 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 67b9e55e55e1bf26f4384c0e3465cab3b961c8c7cf6bd09aae614fbf175626ef
4
- data.tar.gz: 8ce9ad78998a66e88d1978f77a0399a48b86722b222454be000e035b81242a82
3
+ metadata.gz: e5100c1227c467ec2f808faae228992bcafe0082a3280581fb6ae6a78ad698e7
4
+ data.tar.gz: 90d0272745f76e3b8f713316b35d7f6dc9e1f3d52ccdeb5c17ddbade2ba4d8b3
5
5
  SHA512:
6
- metadata.gz: 6bf9d7c028359dc9da6d95bc6d92818f36cf0f1ad1773dbb00979b0fa6506d5e63b337eedd651b0d63b22092168aed82f690ec108afd080526d457dacb2d8482
7
- data.tar.gz: 541133182a4acbf0f319a149e0561569c5e7cb4f8958a4f24878d8885bcf7a78d41404072b8d9d63bdf9e8d74980e9a5e8d60350b5a385df78a72e3d4112c73d
6
+ metadata.gz: afe60b684430e9b551e797335369a3754a72209c24aa68e6664ebbd1b3ceadf32376241ceb80278e91060674b05cd729772903553175fc22f25686826ef894c0
7
+ data.tar.gz: afc65791583bde925f2cac1ca0b6fe98bb228ebffa578ba1d885fd2db9cdf7ff465d6c6e575bf478d3a70da1719a35795046e797e43a93c81b31241771971ec7
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.13.7' }
59
+ headers = { "X-Fern-Language": 'Ruby', "X-Fern-SDK-Name": 'vellum_ai', "X-Fern-SDK-Version": '1.14.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.13.7' }
110
+ headers = { "X-Fern-Language": 'Ruby', "X-Fern-SDK-Name": 'vellum_ai', "X-Fern-SDK-Version": '1.14.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
@@ -626,6 +626,7 @@ require_relative "vellum_ai/types/vellum_error_request"
626
626
  require_relative "vellum_ai/types/vellum_image"
627
627
  require_relative "vellum_ai/types/vellum_image_request"
628
628
  require_relative "vellum_ai/types/vellum_node_execution_event"
629
+ require_relative "vellum_ai/types/vellum_sdk_error_raw_data"
629
630
  require_relative "vellum_ai/types/vellum_sdk_error"
630
631
  require_relative "vellum_ai/types/vellum_sdk_error_code_enum"
631
632
  require_relative "vellum_ai/types/workflow_execution_span"
@@ -651,6 +652,7 @@ require_relative "vellum_ai/types/workflow_display_icon"
651
652
  require_relative "vellum_ai/types/workflow_event_error"
652
653
  require_relative "vellum_ai/types/workflow_initialization_error"
653
654
  require_relative "vellum_ai/types/workflow_error"
655
+ require_relative "vellum_ai/types/workflow_event_error_raw_data"
654
656
  require_relative "vellum_ai/types/workflow_event_execution_read"
655
657
  require_relative "vellum_ai/types/workflow_execution_actual"
656
658
  require_relative "vellum_ai/types/workflow_execution_detail"
@@ -6,6 +6,7 @@ module Vellum
6
6
 
7
7
  ACTIVE = "ACTIVE"
8
8
  ARCHIVED = "ARCHIVED"
9
+ PENDING_DELETION = "PENDING_DELETION"
9
10
 
10
11
  end
11
12
  end
@@ -36,6 +36,7 @@ module Vellum
36
36
  # specified
37
37
  # * `ACTIVE` - Active
38
38
  # * `ARCHIVED` - Archived
39
+ # * `PENDING_DELETION` - Pending Deletion
39
40
  # @param request_options [Vellum::RequestOptions]
40
41
  # @return [Vellum::PaginatedDocumentIndexReadList]
41
42
  # @example
@@ -74,6 +75,7 @@ end
74
75
  # @param status [Vellum::EntityStatus] The current status of the document index
75
76
  # * `ACTIVE` - Active
76
77
  # * `ARCHIVED` - Archived
78
+ # * `PENDING_DELETION` - Pending Deletion
77
79
  # @param indexing_config [Hash] Request of type Vellum::DocumentIndexIndexingConfigRequest, as a Hash
78
80
  # * :vectorizer (Hash)
79
81
  # * :chunking (Hash)
@@ -156,6 +158,7 @@ end
156
158
  # @param status [Vellum::EntityStatus] The current status of the document index
157
159
  # * `ACTIVE` - Active
158
160
  # * `ARCHIVED` - Archived
161
+ # * `PENDING_DELETION` - Pending Deletion
159
162
  # @param request_options [Vellum::RequestOptions]
160
163
  # @return [Vellum::DocumentIndexRead]
161
164
  # @example
@@ -229,6 +232,7 @@ end
229
232
  # @param status [Vellum::EntityStatus] The current status of the document index
230
233
  # * `ACTIVE` - Active
231
234
  # * `ARCHIVED` - Archived
235
+ # * `PENDING_DELETION` - Pending Deletion
232
236
  # @param request_options [Vellum::RequestOptions]
233
237
  # @return [Vellum::DocumentIndexRead]
234
238
  # @example
@@ -357,6 +361,7 @@ end
357
361
  # specified
358
362
  # * `ACTIVE` - Active
359
363
  # * `ARCHIVED` - Archived
364
+ # * `PENDING_DELETION` - Pending Deletion
360
365
  # @param request_options [Vellum::RequestOptions]
361
366
  # @return [Vellum::PaginatedDocumentIndexReadList]
362
367
  # @example
@@ -397,6 +402,7 @@ end
397
402
  # @param status [Vellum::EntityStatus] The current status of the document index
398
403
  # * `ACTIVE` - Active
399
404
  # * `ARCHIVED` - Archived
405
+ # * `PENDING_DELETION` - Pending Deletion
400
406
  # @param indexing_config [Hash] Request of type Vellum::DocumentIndexIndexingConfigRequest, as a Hash
401
407
  # * :vectorizer (Hash)
402
408
  # * :chunking (Hash)
@@ -483,6 +489,7 @@ end
483
489
  # @param status [Vellum::EntityStatus] The current status of the document index
484
490
  # * `ACTIVE` - Active
485
491
  # * `ARCHIVED` - Archived
492
+ # * `PENDING_DELETION` - Pending Deletion
486
493
  # @param request_options [Vellum::RequestOptions]
487
494
  # @return [Vellum::DocumentIndexRead]
488
495
  # @example
@@ -560,6 +567,7 @@ end
560
567
  # @param status [Vellum::EntityStatus] The current status of the document index
561
568
  # * `ACTIVE` - Active
562
569
  # * `ARCHIVED` - Archived
570
+ # * `PENDING_DELETION` - Pending Deletion
563
571
  # @param request_options [Vellum::RequestOptions]
564
572
  # @return [Vellum::DocumentIndexRead]
565
573
  # @example
@@ -6,6 +6,7 @@ module Vellum
6
6
 
7
7
  ACTIVE = "ACTIVE"
8
8
  ARCHIVED = "ARCHIVED"
9
+ PENDING_DELETION = "PENDING_DELETION"
9
10
 
10
11
  end
11
12
  end
@@ -23,6 +23,7 @@ module Vellum
23
23
  # status specified.
24
24
  # * `ACTIVE` - Active
25
25
  # * `ARCHIVED` - Archived
26
+ # * `PENDING_DELETION` - Pending Deletion
26
27
  # @param limit [Integer] Number of results to return per page.
27
28
  # @param offset [Integer] The initial index from which to return the results.
28
29
  # @param ordering [String] Which field to use when ordering the results.
@@ -125,6 +126,7 @@ end
125
126
  # status specified.
126
127
  # * `ACTIVE` - Active
127
128
  # * `ARCHIVED` - Archived
129
+ # * `PENDING_DELETION` - Pending Deletion
128
130
  # @param limit [Integer] Number of results to return per page.
129
131
  # @param offset [Integer] The initial index from which to return the results.
130
132
  # @param ordering [String] Which field to use when ordering the results.
@@ -6,6 +6,7 @@ module Vellum
6
6
 
7
7
  ACTIVE = "ACTIVE"
8
8
  ARCHIVED = "ARCHIVED"
9
+ PENDING_DELETION = "PENDING_DELETION"
9
10
 
10
11
  end
11
12
  end
@@ -65,6 +65,8 @@ end
65
65
  # @param integration_name [String] The integration name
66
66
  # @param integration_provider [String] The integration provider name
67
67
  # @param tool_name [String] The tool's unique name, as specified by the integration provider
68
+ # @param expand [String] The response fields to expand for more information. Supported values: 'logs' -
69
+ # includes execution logs from Composio
68
70
  # @param request [Hash] Request of type Vellum::COMPONENTS_SCHEMAS_COMPOSIO_EXECUTE_TOOL_REQUEST, as a Hash
69
71
  # * :provider (String)
70
72
  # * :arguments (Hash{String => Object})
@@ -85,7 +87,7 @@ end
85
87
  # tool_name: "tool_name",
86
88
  # request: { provider: "COMPOSIO", arguments: { "arguments": {"key":"value"} } }
87
89
  # )
88
- def execute_integration_tool(integration_name:, integration_provider:, tool_name:, request:, request_options: nil)
90
+ def execute_integration_tool(integration_name:, integration_provider:, tool_name:, expand: nil, request:, request_options: nil)
89
91
  response = @request_client.conn.post do | req |
90
92
  unless request_options&.timeout_in_seconds.nil?
91
93
  req.options.timeout = request_options.timeout_in_seconds
@@ -99,9 +101,7 @@ end
99
101
  req.headers["X-API-Version"] = "2025-07-30"
100
102
  end
101
103
  req.headers = { **(req.headers || {}), **@request_client.get_headers, **(request_options&.additional_headers || {}) }.compact
102
- unless request_options.nil? || request_options&.additional_query_parameters.nil?
103
- req.params = { **(request_options&.additional_query_parameters || {}) }.compact
104
- end
104
+ req.params = { **(request_options&.additional_query_parameters || {}), "expand": expand }.compact
105
105
  req.body = { **(request || {}), **(request_options&.additional_body_parameters || {}) }.compact
106
106
  req.url "#{@request_client.get_url(environment: Default, request_options: request_options)}/integrations/v1/providers/#{integration_name}/integrations/#{integration_provider}/tools/#{tool_name}/execute"
107
107
  end
@@ -238,6 +238,8 @@ end
238
238
  # @param integration_name [String] The integration name
239
239
  # @param integration_provider [String] The integration provider name
240
240
  # @param tool_name [String] The tool's unique name, as specified by the integration provider
241
+ # @param expand [String] The response fields to expand for more information. Supported values: 'logs' -
242
+ # includes execution logs from Composio
241
243
  # @param request [Hash] Request of type Vellum::COMPONENTS_SCHEMAS_COMPOSIO_EXECUTE_TOOL_REQUEST, as a Hash
242
244
  # * :provider (String)
243
245
  # * :arguments (Hash{String => Object})
@@ -258,7 +260,7 @@ end
258
260
  # tool_name: "tool_name",
259
261
  # request: { provider: "COMPOSIO", arguments: { "arguments": {"key":"value"} } }
260
262
  # )
261
- def execute_integration_tool(integration_name:, integration_provider:, tool_name:, request:, request_options: nil)
263
+ def execute_integration_tool(integration_name:, integration_provider:, tool_name:, expand: nil, request:, request_options: nil)
262
264
  Async do
263
265
  response = @request_client.conn.post do | req |
264
266
  unless request_options&.timeout_in_seconds.nil?
@@ -273,9 +275,7 @@ end
273
275
  req.headers["X-API-Version"] = "2025-07-30"
274
276
  end
275
277
  req.headers = { **(req.headers || {}), **@request_client.get_headers, **(request_options&.additional_headers || {}) }.compact
276
- unless request_options.nil? || request_options&.additional_query_parameters.nil?
277
- req.params = { **(request_options&.additional_query_parameters || {}) }.compact
278
- end
278
+ req.params = { **(request_options&.additional_query_parameters || {}), "expand": expand }.compact
279
279
  req.body = { **(request || {}), **(request_options&.additional_body_parameters || {}) }.compact
280
280
  req.url "#{@request_client.get_url(environment: Default, request_options: request_options)}/integrations/v1/providers/#{integration_name}/integrations/#{integration_provider}/tools/#{tool_name}/execute"
281
281
  end
@@ -21,6 +21,7 @@ module Vellum
21
21
  # @return [Vellum::EntityStatus] The current status of the deployment
22
22
  # * `ACTIVE` - Active
23
23
  # * `ARCHIVED` - Archived
24
+ # * `PENDING_DELETION` - Pending Deletion
24
25
  attr_reader :status
25
26
  # @return [Vellum::EnvironmentEnum] Deprecated. The value returned will always be 'PRODUCTION'.
26
27
  attr_reader :environment
@@ -49,6 +50,7 @@ module Vellum
49
50
  # @param status [Vellum::EntityStatus] The current status of the deployment
50
51
  # * `ACTIVE` - Active
51
52
  # * `ARCHIVED` - Archived
53
+ # * `PENDING_DELETION` - Pending Deletion
52
54
  # @param environment [Vellum::EnvironmentEnum] Deprecated. The value returned will always be 'PRODUCTION'.
53
55
  # @param last_deployed_on [DateTime]
54
56
  # @param input_variables [Array<Vellum::VellumVariable>]
@@ -18,6 +18,7 @@ module Vellum
18
18
  # @return [Vellum::EntityStatus] The current status of the document index
19
19
  # * `ACTIVE` - Active
20
20
  # * `ARCHIVED` - Archived
21
+ # * `PENDING_DELETION` - Pending Deletion
21
22
  attr_reader :status
22
23
  # @return [Vellum::DocumentIndexIndexingConfig]
23
24
  attr_reader :indexing_config
@@ -36,6 +37,7 @@ module Vellum
36
37
  # @param status [Vellum::EntityStatus] The current status of the document index
37
38
  # * `ACTIVE` - Active
38
39
  # * `ARCHIVED` - Archived
40
+ # * `PENDING_DELETION` - Pending Deletion
39
41
  # @param indexing_config [Vellum::DocumentIndexIndexingConfig]
40
42
  # @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition
41
43
  # @return [Vellum::DocumentIndexRead]
@@ -3,10 +3,12 @@
3
3
  module Vellum
4
4
  # * `ACTIVE` - Active
5
5
  # * `ARCHIVED` - Archived
6
+ # * `PENDING_DELETION` - Pending Deletion
6
7
  class EntityStatus
7
8
 
8
9
  ACTIVE = "ACTIVE"
9
10
  ARCHIVED = "ARCHIVED"
11
+ PENDING_DELETION = "PENDING_DELETION"
10
12
 
11
13
  end
12
14
  end
@@ -16,6 +16,8 @@ module Vellum
16
16
  attr_reader :execution_id
17
17
  # @return [Vellum::AdHocFulfilledPromptExecutionMeta]
18
18
  attr_reader :meta
19
+ # @return [Hash{String => Object}]
20
+ attr_reader :chat_message_metadata
19
21
  # @return [OpenStruct] Additional properties unmapped to the current class definition
20
22
  attr_reader :additional_properties
21
23
  # @return [Object]
@@ -28,15 +30,17 @@ module Vellum
28
30
  # @param outputs [Array<Vellum::PromptOutput>]
29
31
  # @param execution_id [String]
30
32
  # @param meta [Vellum::AdHocFulfilledPromptExecutionMeta]
33
+ # @param chat_message_metadata [Hash{String => Object}]
31
34
  # @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition
32
35
  # @return [Vellum::FulfilledAdHocExecutePromptEvent]
33
- def initialize(state:, outputs:, execution_id:, meta: OMIT, additional_properties: nil)
36
+ def initialize(state:, outputs:, execution_id:, meta: OMIT, chat_message_metadata: OMIT, additional_properties: nil)
34
37
  @state = state
35
38
  @outputs = outputs
36
39
  @execution_id = execution_id
37
40
  @meta = meta if meta != OMIT
41
+ @chat_message_metadata = chat_message_metadata if chat_message_metadata != OMIT
38
42
  @additional_properties = additional_properties
39
- @_field_set = { "state": state, "outputs": outputs, "execution_id": execution_id, "meta": meta }.reject do | _k, v |
43
+ @_field_set = { "state": state, "outputs": outputs, "execution_id": execution_id, "meta": meta, "chat_message_metadata": chat_message_metadata }.reject do | _k, v |
40
44
  v == OMIT
41
45
  end
42
46
  end
@@ -59,11 +63,13 @@ end
59
63
  else
60
64
  meta = nil
61
65
  end
66
+ chat_message_metadata = parsed_json["chat_message_metadata"]
62
67
  new(
63
68
  state: state,
64
69
  outputs: outputs,
65
70
  execution_id: execution_id,
66
71
  meta: meta,
72
+ chat_message_metadata: chat_message_metadata,
67
73
  additional_properties: struct
68
74
  )
69
75
  end
@@ -84,6 +90,7 @@ end
84
90
  obj.outputs.is_a?(Array) != false || raise("Passed value for field obj.outputs is not the expected type, validation failed.")
85
91
  obj.execution_id.is_a?(String) != false || raise("Passed value for field obj.execution_id is not the expected type, validation failed.")
86
92
  obj.meta.nil? || Vellum::AdHocFulfilledPromptExecutionMeta.validate_raw(obj: obj.meta)
93
+ obj.chat_message_metadata&.is_a?(Hash) != false || raise("Passed value for field obj.chat_message_metadata is not the expected type, validation failed.")
87
94
  end
88
95
  end
89
96
  end
@@ -16,6 +16,8 @@ module Vellum
16
16
  attr_reader :execution_id
17
17
  # @return [Vellum::FulfilledPromptExecutionMeta]
18
18
  attr_reader :meta
19
+ # @return [Hash{String => Object}]
20
+ attr_reader :chat_message_metadata
19
21
  # @return [OpenStruct] Additional properties unmapped to the current class definition
20
22
  attr_reader :additional_properties
21
23
  # @return [Object]
@@ -28,15 +30,17 @@ module Vellum
28
30
  # @param outputs [Array<Vellum::PromptOutput>]
29
31
  # @param execution_id [String]
30
32
  # @param meta [Vellum::FulfilledPromptExecutionMeta]
33
+ # @param chat_message_metadata [Hash{String => Object}]
31
34
  # @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition
32
35
  # @return [Vellum::FulfilledExecutePromptEvent]
33
- def initialize(state:, outputs:, execution_id:, meta: OMIT, additional_properties: nil)
36
+ def initialize(state:, outputs:, execution_id:, meta: OMIT, chat_message_metadata: OMIT, additional_properties: nil)
34
37
  @state = state
35
38
  @outputs = outputs
36
39
  @execution_id = execution_id
37
40
  @meta = meta if meta != OMIT
41
+ @chat_message_metadata = chat_message_metadata if chat_message_metadata != OMIT
38
42
  @additional_properties = additional_properties
39
- @_field_set = { "state": state, "outputs": outputs, "execution_id": execution_id, "meta": meta }.reject do | _k, v |
43
+ @_field_set = { "state": state, "outputs": outputs, "execution_id": execution_id, "meta": meta, "chat_message_metadata": chat_message_metadata }.reject do | _k, v |
40
44
  v == OMIT
41
45
  end
42
46
  end
@@ -59,11 +63,13 @@ end
59
63
  else
60
64
  meta = nil
61
65
  end
66
+ chat_message_metadata = parsed_json["chat_message_metadata"]
62
67
  new(
63
68
  state: state,
64
69
  outputs: outputs,
65
70
  execution_id: execution_id,
66
71
  meta: meta,
72
+ chat_message_metadata: chat_message_metadata,
67
73
  additional_properties: struct
68
74
  )
69
75
  end
@@ -84,6 +90,7 @@ end
84
90
  obj.outputs.is_a?(Array) != false || raise("Passed value for field obj.outputs is not the expected type, validation failed.")
85
91
  obj.execution_id.is_a?(String) != false || raise("Passed value for field obj.execution_id is not the expected type, validation failed.")
86
92
  obj.meta.nil? || Vellum::FulfilledPromptExecutionMeta.validate_raw(obj: obj.meta)
93
+ obj.chat_message_metadata&.is_a?(Hash) != false || raise("Passed value for field obj.chat_message_metadata is not the expected type, validation failed.")
87
94
  end
88
95
  end
89
96
  end
@@ -19,6 +19,8 @@ module Vellum
19
19
  attr_reader :state
20
20
  # @return [Array<Vellum::PromptOutput>]
21
21
  attr_reader :outputs
22
+ # @return [Hash{String => Object}]
23
+ attr_reader :chat_message_metadata
22
24
  # @return [OpenStruct] Additional properties unmapped to the current class definition
23
25
  attr_reader :additional_properties
24
26
  # @return [Object]
@@ -33,16 +35,18 @@ module Vellum
33
35
  # @param execution_id [String] The ID of the execution.
34
36
  # @param state [String]
35
37
  # @param outputs [Array<Vellum::PromptOutput>]
38
+ # @param chat_message_metadata [Hash{String => Object}]
36
39
  # @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition
37
40
  # @return [Vellum::FulfilledExecutePromptResponse]
38
- def initialize(meta: OMIT, raw: OMIT, execution_id:, state:, outputs:, additional_properties: nil)
41
+ def initialize(meta: OMIT, raw: OMIT, execution_id:, state:, outputs:, chat_message_metadata: OMIT, additional_properties: nil)
39
42
  @meta = meta if meta != OMIT
40
43
  @raw = raw if raw != OMIT
41
44
  @execution_id = execution_id
42
45
  @state = state
43
46
  @outputs = outputs
47
+ @chat_message_metadata = chat_message_metadata if chat_message_metadata != OMIT
44
48
  @additional_properties = additional_properties
45
- @_field_set = { "meta": meta, "raw": raw, "execution_id": execution_id, "state": state, "outputs": outputs }.reject do | _k, v |
49
+ @_field_set = { "meta": meta, "raw": raw, "execution_id": execution_id, "state": state, "outputs": outputs, "chat_message_metadata": chat_message_metadata }.reject do | _k, v |
46
50
  v == OMIT
47
51
  end
48
52
  end
@@ -66,12 +70,14 @@ end
66
70
  item = item.to_json
67
71
  Vellum::PromptOutput.from_json(json_object: item)
68
72
  end
73
+ chat_message_metadata = parsed_json["chat_message_metadata"]
69
74
  new(
70
75
  meta: meta,
71
76
  raw: raw,
72
77
  execution_id: execution_id,
73
78
  state: state,
74
79
  outputs: outputs,
80
+ chat_message_metadata: chat_message_metadata,
75
81
  additional_properties: struct
76
82
  )
77
83
  end
@@ -93,6 +99,7 @@ end
93
99
  obj.execution_id.is_a?(String) != false || raise("Passed value for field obj.execution_id is not the expected type, validation failed.")
94
100
  obj.state.is_a?(String) != false || raise("Passed value for field obj.state is not the expected type, validation failed.")
95
101
  obj.outputs.is_a?(Array) != false || raise("Passed value for field obj.outputs is not the expected type, validation failed.")
102
+ obj.chat_message_metadata&.is_a?(Hash) != false || raise("Passed value for field obj.chat_message_metadata is not the expected type, validation failed.")
96
103
  end
97
104
  end
98
105
  end
@@ -25,6 +25,7 @@ module Vellum
25
25
  # * `GITHUB` - Github
26
26
  # * `GOOGLE_SHEETS` - Google Sheets
27
27
  # * `GOOGLE_CALENDAR` - Google Calendar
28
+ # * `GOOGLE_CLASSROOM` - Google Classroom
28
29
  # * `GOOGLE_DRIVE` - Google Drive
29
30
  # * `GMAIL` - Gmail
30
31
  # * `GOOGLE_ADS` - Google Ads
@@ -59,6 +60,7 @@ module Vellum
59
60
  # * `FIGMA` - Figma
60
61
  # * `FIREFLIES` - Fireflies
61
62
  # * `GOOGLE_MAPS` - Google Maps
63
+ # * `GOOGLEMEET` - Google Meet
62
64
  # * `HEYGEN` - HeyGen
63
65
  # * `JIRA` - Jira
64
66
  # * `JUNGLESCOUT` - Jungle Scout
@@ -69,6 +71,7 @@ module Vellum
69
71
  # * `PERPLEXITY` - Perplexity
70
72
  # * `POSTHOG` - PostHog
71
73
  # * `PRODUCTBOARD` - Productboard
74
+ # * `QUICKBOOKS` - QuickBooks
72
75
  # * `REDDIT` - Reddit
73
76
  # * `SALESFORCE` - Salesforce
74
77
  # * `SEMRUSH` - Semrush
@@ -84,6 +87,7 @@ module Vellum
84
87
  # * `SUPABASE` - Supabase
85
88
  # * `TAVILY` - Tavily
86
89
  # * `TELEGRAM` - Telegram
90
+ # * `TIKTOK` - TikTok
87
91
  # * `TODOIST` - Todoist
88
92
  # * `WEBFLOW` - Webflow
89
93
  # * `YOUSEARCH` - You Search
@@ -97,11 +101,13 @@ module Vellum
97
101
  # * `DISCORD` - Discord
98
102
  # * `DOCUSIGN` - DocuSign
99
103
  # * `TRELLO` - Trello
104
+ # * `TWITTER` - Twitter
100
105
  # * `HEYREACH` - HeyReach
101
106
  # * `ACTIVE_CAMPAIGN` - Active Campaign
102
107
  # * `CUSTOMER_IO` - Customer.io
103
108
  # * `SEGMENT` - Segment
104
109
  # * `WHATSAPP` - WhatsApp
110
+ # * `YOUTUBE` - YouTube
105
111
  class IntegrationName
106
112
 
107
113
  SLACK = "SLACK"
@@ -128,6 +134,7 @@ module Vellum
128
134
  GITHUB = "GITHUB"
129
135
  GOOGLE_SHEETS = "GOOGLE_SHEETS"
130
136
  GOOGLE_CALENDAR = "GOOGLE_CALENDAR"
137
+ GOOGLE_CLASSROOM = "GOOGLE_CLASSROOM"
131
138
  GOOGLE_DRIVE = "GOOGLE_DRIVE"
132
139
  GMAIL = "GMAIL"
133
140
  GOOGLE_ADS = "GOOGLE_ADS"
@@ -162,6 +169,7 @@ module Vellum
162
169
  FIGMA = "FIGMA"
163
170
  FIREFLIES = "FIREFLIES"
164
171
  GOOGLE_MAPS = "GOOGLE_MAPS"
172
+ GOOGLEMEET = "GOOGLEMEET"
165
173
  HEYGEN = "HEYGEN"
166
174
  JIRA = "JIRA"
167
175
  JUNGLESCOUT = "JUNGLESCOUT"
@@ -172,6 +180,7 @@ module Vellum
172
180
  PERPLEXITY = "PERPLEXITY"
173
181
  POSTHOG = "POSTHOG"
174
182
  PRODUCTBOARD = "PRODUCTBOARD"
183
+ QUICKBOOKS = "QUICKBOOKS"
175
184
  REDDIT = "REDDIT"
176
185
  SALESFORCE = "SALESFORCE"
177
186
  SEMRUSH = "SEMRUSH"
@@ -187,6 +196,7 @@ module Vellum
187
196
  SUPABASE = "SUPABASE"
188
197
  TAVILY = "TAVILY"
189
198
  TELEGRAM = "TELEGRAM"
199
+ TIKTOK = "TIKTOK"
190
200
  TODOIST = "TODOIST"
191
201
  WEBFLOW = "WEBFLOW"
192
202
  YOUSEARCH = "YOUSEARCH"
@@ -200,11 +210,13 @@ module Vellum
200
210
  DISCORD = "DISCORD"
201
211
  DOCUSIGN = "DOCUSIGN"
202
212
  TRELLO = "TRELLO"
213
+ TWITTER = "TWITTER"
203
214
  HEYREACH = "HEYREACH"
204
215
  ACTIVE_CAMPAIGN = "ACTIVE_CAMPAIGN"
205
216
  CUSTOMER_IO = "CUSTOMER_IO"
206
217
  SEGMENT = "SEGMENT"
207
218
  WHATSAPP = "WHATSAPP"
219
+ YOUTUBE = "YOUTUBE"
208
220
 
209
221
  end
210
222
  end
@@ -21,6 +21,7 @@ module Vellum
21
21
  # @return [Vellum::EntityStatus] The current status of the deployment
22
22
  # * `ACTIVE` - Active
23
23
  # * `ARCHIVED` - Archived
24
+ # * `PENDING_DELETION` - Pending Deletion
24
25
  attr_reader :status
25
26
  # @return [Vellum::EnvironmentEnum] Deprecated. The value returned will always be 'PRODUCTION'.
26
27
  attr_reader :environment
@@ -45,6 +46,7 @@ module Vellum
45
46
  # @param status [Vellum::EntityStatus] The current status of the deployment
46
47
  # * `ACTIVE` - Active
47
48
  # * `ARCHIVED` - Archived
49
+ # * `PENDING_DELETION` - Pending Deletion
48
50
  # @param environment [Vellum::EnvironmentEnum] Deprecated. The value returned will always be 'PRODUCTION'.
49
51
  # @param last_deployed_on [DateTime]
50
52
  # @param input_variables [Array<Vellum::VellumVariable>]
@@ -19,6 +19,7 @@ module Vellum
19
19
  # @return [Vellum::EntityStatus] The current status of the workflow deployment
20
20
  # * `ACTIVE` - Active
21
21
  # * `ARCHIVED` - Archived
22
+ # * `PENDING_DELETION` - Pending Deletion
22
23
  attr_reader :status
23
24
  # @return [Vellum::EnvironmentEnum] Deprecated. The value returned will always be 'PRODUCTION'.
24
25
  attr_reader :environment
@@ -47,6 +48,7 @@ module Vellum
47
48
  # @param status [Vellum::EntityStatus] The current status of the workflow deployment
48
49
  # * `ACTIVE` - Active
49
50
  # * `ARCHIVED` - Archived
51
+ # * `PENDING_DELETION` - Pending Deletion
50
52
  # @param environment [Vellum::EnvironmentEnum] Deprecated. The value returned will always be 'PRODUCTION'.
51
53
  # @param created [DateTime]
52
54
  # @param last_deployed_on [DateTime]
@@ -1,4 +1,5 @@
1
1
  # frozen_string_literal: true
2
+ require_relative "vellum_sdk_error_raw_data"
2
3
  require_relative "vellum_sdk_error_code_enum"
3
4
  require "ostruct"
4
5
  require "json"
@@ -7,10 +8,10 @@ module Vellum
7
8
  class VellumSdkError
8
9
  # @return [String]
9
10
  attr_reader :message
11
+ # @return [Vellum::VellumSdkErrorRawData]
12
+ attr_reader :raw_data
10
13
  # @return [Vellum::VellumSdkErrorCodeEnum]
11
14
  attr_reader :code
12
- # @return [Hash{String => Object}]
13
- attr_reader :raw_data
14
15
  # @return [OpenStruct] Additional properties unmapped to the current class definition
15
16
  attr_reader :additional_properties
16
17
  # @return [Object]
@@ -20,16 +21,16 @@ module Vellum
20
21
  OMIT = Object.new
21
22
 
22
23
  # @param message [String]
24
+ # @param raw_data [Vellum::VellumSdkErrorRawData]
23
25
  # @param code [Vellum::VellumSdkErrorCodeEnum]
24
- # @param raw_data [Hash{String => Object}]
25
26
  # @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition
26
27
  # @return [Vellum::VellumSdkError]
27
- def initialize(message:, code:, raw_data: OMIT, additional_properties: nil)
28
+ def initialize(message:, raw_data: OMIT, code:, additional_properties: nil)
28
29
  @message = message
29
- @code = code
30
30
  @raw_data = raw_data if raw_data != OMIT
31
+ @code = code
31
32
  @additional_properties = additional_properties
32
- @_field_set = { "message": message, "code": code, "raw_data": raw_data }.reject do | _k, v |
33
+ @_field_set = { "message": message, "raw_data": raw_data, "code": code }.reject do | _k, v |
33
34
  v == OMIT
34
35
  end
35
36
  end
@@ -41,12 +42,17 @@ end
41
42
  struct = JSON.parse(json_object, object_class: OpenStruct)
42
43
  parsed_json = JSON.parse(json_object)
43
44
  message = parsed_json["message"]
45
+ unless parsed_json["raw_data"].nil?
46
+ raw_data = parsed_json["raw_data"].to_json
47
+ raw_data = Vellum::VellumSdkErrorRawData.from_json(json_object: raw_data)
48
+ else
49
+ raw_data = nil
50
+ end
44
51
  code = parsed_json["code"]
45
- raw_data = parsed_json["raw_data"]
46
52
  new(
47
53
  message: message,
48
- code: code,
49
54
  raw_data: raw_data,
55
+ code: code,
50
56
  additional_properties: struct
51
57
  )
52
58
  end
@@ -64,8 +70,8 @@ end
64
70
  # @return [Void]
65
71
  def self.validate_raw(obj:)
66
72
  obj.message.is_a?(String) != false || raise("Passed value for field obj.message is not the expected type, validation failed.")
73
+ obj.raw_data.nil? || Vellum::VellumSdkErrorRawData.validate_raw(obj: obj.raw_data)
67
74
  obj.code.is_a?(Vellum::VellumSdkErrorCodeEnum) != false || raise("Passed value for field obj.code is not the expected type, validation failed.")
68
- obj.raw_data&.is_a?(Hash) != false || raise("Passed value for field obj.raw_data is not the expected type, validation failed.")
69
75
  end
70
76
  end
71
77
  end
@@ -0,0 +1,56 @@
1
+ # frozen_string_literal: true
2
+ require "json"
3
+
4
+ module Vellum
5
+ class VellumSdkErrorRawData
6
+
7
+
8
+ # Deserialize a JSON object to an instance of VellumSdkErrorRawData
9
+ #
10
+ # @param json_object [String]
11
+ # @return [Vellum::VellumSdkErrorRawData]
12
+ def self.from_json(json_object:)
13
+ struct = JSON.parse(json_object, object_class: OpenStruct)
14
+ begin
15
+ struct.is_a?(Hash) != false || raise("Passed value for field struct is not the expected type, validation failed.")
16
+ unless struct.nil?
17
+ return struct
18
+ else
19
+ return nil
20
+ end
21
+ rescue StandardError
22
+ # noop
23
+ end
24
+ begin
25
+ struct.is_a?(String) != false || raise("Passed value for field struct is not the expected type, validation failed.")
26
+ unless struct.nil?
27
+ return struct
28
+ else
29
+ return nil
30
+ end
31
+ rescue StandardError
32
+ # noop
33
+ end
34
+ return struct
35
+ end
36
+ # Leveraged for Union-type generation, validate_raw attempts to parse the given
37
+ # hash and check each fields type against the current object's property
38
+ # definitions.
39
+ #
40
+ # @param obj [Object]
41
+ # @return [Void]
42
+ def self.validate_raw(obj:)
43
+ begin
44
+ return obj.is_a?(Hash) != false || raise("Passed value for field obj is not the expected type, validation failed.")
45
+ rescue StandardError
46
+ # noop
47
+ end
48
+ begin
49
+ return obj.is_a?(String) != false || raise("Passed value for field obj is not the expected type, validation failed.")
50
+ rescue StandardError
51
+ # noop
52
+ end
53
+ raise("Passed value matched no type within the union, validation failed.")
54
+ end
55
+ end
56
+ end
@@ -20,6 +20,7 @@ module Vellum
20
20
  # @return [Vellum::EntityStatus] The current status of the workflow deployment
21
21
  # * `ACTIVE` - Active
22
22
  # * `ARCHIVED` - Archived
23
+ # * `PENDING_DELETION` - Pending Deletion
23
24
  attr_reader :status
24
25
  # @return [Vellum::EnvironmentEnum] Deprecated. The value returned will always be 'PRODUCTION'.
25
26
  attr_reader :environment
@@ -54,6 +55,7 @@ module Vellum
54
55
  # @param status [Vellum::EntityStatus] The current status of the workflow deployment
55
56
  # * `ACTIVE` - Active
56
57
  # * `ARCHIVED` - Archived
58
+ # * `PENDING_DELETION` - Pending Deletion
57
59
  # @param environment [Vellum::EnvironmentEnum] Deprecated. The value returned will always be 'PRODUCTION'.
58
60
  # @param created [DateTime]
59
61
  # @param last_deployed_on [DateTime]
@@ -1,4 +1,5 @@
1
1
  # frozen_string_literal: true
2
+ require_relative "workflow_event_error_raw_data"
2
3
  require_relative "workflow_execution_event_error_code"
3
4
  require "ostruct"
4
5
  require "json"
@@ -7,10 +8,10 @@ module Vellum
7
8
  class WorkflowEventError
8
9
  # @return [String]
9
10
  attr_reader :message
11
+ # @return [Vellum::WorkflowEventErrorRawData]
12
+ attr_reader :raw_data
10
13
  # @return [Vellum::WorkflowExecutionEventErrorCode]
11
14
  attr_reader :code
12
- # @return [Hash{String => Object}]
13
- attr_reader :raw_data
14
15
  # @return [String]
15
16
  attr_reader :stacktrace
16
17
  # @return [OpenStruct] Additional properties unmapped to the current class definition
@@ -22,18 +23,18 @@ module Vellum
22
23
  OMIT = Object.new
23
24
 
24
25
  # @param message [String]
26
+ # @param raw_data [Vellum::WorkflowEventErrorRawData]
25
27
  # @param code [Vellum::WorkflowExecutionEventErrorCode]
26
- # @param raw_data [Hash{String => Object}]
27
28
  # @param stacktrace [String]
28
29
  # @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition
29
30
  # @return [Vellum::WorkflowEventError]
30
- def initialize(message:, code:, raw_data: OMIT, stacktrace: OMIT, additional_properties: nil)
31
+ def initialize(message:, raw_data: OMIT, code:, stacktrace: OMIT, additional_properties: nil)
31
32
  @message = message
32
- @code = code
33
33
  @raw_data = raw_data if raw_data != OMIT
34
+ @code = code
34
35
  @stacktrace = stacktrace if stacktrace != OMIT
35
36
  @additional_properties = additional_properties
36
- @_field_set = { "message": message, "code": code, "raw_data": raw_data, "stacktrace": stacktrace }.reject do | _k, v |
37
+ @_field_set = { "message": message, "raw_data": raw_data, "code": code, "stacktrace": stacktrace }.reject do | _k, v |
37
38
  v == OMIT
38
39
  end
39
40
  end
@@ -45,13 +46,18 @@ end
45
46
  struct = JSON.parse(json_object, object_class: OpenStruct)
46
47
  parsed_json = JSON.parse(json_object)
47
48
  message = parsed_json["message"]
49
+ unless parsed_json["raw_data"].nil?
50
+ raw_data = parsed_json["raw_data"].to_json
51
+ raw_data = Vellum::WorkflowEventErrorRawData.from_json(json_object: raw_data)
52
+ else
53
+ raw_data = nil
54
+ end
48
55
  code = parsed_json["code"]
49
- raw_data = parsed_json["raw_data"]
50
56
  stacktrace = parsed_json["stacktrace"]
51
57
  new(
52
58
  message: message,
53
- code: code,
54
59
  raw_data: raw_data,
60
+ code: code,
55
61
  stacktrace: stacktrace,
56
62
  additional_properties: struct
57
63
  )
@@ -70,8 +76,8 @@ end
70
76
  # @return [Void]
71
77
  def self.validate_raw(obj:)
72
78
  obj.message.is_a?(String) != false || raise("Passed value for field obj.message is not the expected type, validation failed.")
79
+ obj.raw_data.nil? || Vellum::WorkflowEventErrorRawData.validate_raw(obj: obj.raw_data)
73
80
  obj.code.is_a?(Vellum::WorkflowExecutionEventErrorCode) != false || raise("Passed value for field obj.code is not the expected type, validation failed.")
74
- obj.raw_data&.is_a?(Hash) != false || raise("Passed value for field obj.raw_data is not the expected type, validation failed.")
75
81
  obj.stacktrace&.is_a?(String) != false || raise("Passed value for field obj.stacktrace is not the expected type, validation failed.")
76
82
  end
77
83
  end
@@ -0,0 +1,56 @@
1
+ # frozen_string_literal: true
2
+ require "json"
3
+
4
+ module Vellum
5
+ class WorkflowEventErrorRawData
6
+
7
+
8
+ # Deserialize a JSON object to an instance of WorkflowEventErrorRawData
9
+ #
10
+ # @param json_object [String]
11
+ # @return [Vellum::WorkflowEventErrorRawData]
12
+ def self.from_json(json_object:)
13
+ struct = JSON.parse(json_object, object_class: OpenStruct)
14
+ begin
15
+ struct.is_a?(Hash) != false || raise("Passed value for field struct is not the expected type, validation failed.")
16
+ unless struct.nil?
17
+ return struct
18
+ else
19
+ return nil
20
+ end
21
+ rescue StandardError
22
+ # noop
23
+ end
24
+ begin
25
+ struct.is_a?(String) != false || raise("Passed value for field struct is not the expected type, validation failed.")
26
+ unless struct.nil?
27
+ return struct
28
+ else
29
+ return nil
30
+ end
31
+ rescue StandardError
32
+ # noop
33
+ end
34
+ return struct
35
+ end
36
+ # Leveraged for Union-type generation, validate_raw attempts to parse the given
37
+ # hash and check each fields type against the current object's property
38
+ # definitions.
39
+ #
40
+ # @param obj [Object]
41
+ # @return [Void]
42
+ def self.validate_raw(obj:)
43
+ begin
44
+ return obj.is_a?(Hash) != false || raise("Passed value for field obj is not the expected type, validation failed.")
45
+ rescue StandardError
46
+ # noop
47
+ end
48
+ begin
49
+ return obj.is_a?(String) != false || raise("Passed value for field obj is not the expected type, validation failed.")
50
+ rescue StandardError
51
+ # noop
52
+ end
53
+ raise("Passed value matched no type within the union, validation failed.")
54
+ end
55
+ end
56
+ end
@@ -36,9 +36,12 @@ module Vellum
36
36
  end
37
37
  # Used to list all Workflow Deployments.
38
38
  #
39
+ # @param has_story_config [String] has_story_config
40
+ # @param is_public [String] is_public
39
41
  # @param limit [Integer] Number of results to return per page.
40
42
  # @param offset [Integer] The initial index from which to return the results.
41
43
  # @param ordering [String] Which field to use when ordering the results.
44
+ # @param owned_by [String] owned_by
42
45
  # @param status [Vellum::WorkflowDeployments::WorkflowDeploymentsListRequestStatus] status
43
46
  # @param request_options [Vellum::RequestOptions]
44
47
  # @return [Vellum::PaginatedSlimWorkflowDeploymentList]
@@ -49,7 +52,7 @@ module Vellum
49
52
  # api_key: "YOUR_API_KEY"
50
53
  # )
51
54
  # api.workflow_deployments.list
52
- def list(limit: nil, offset: nil, ordering: nil, status: nil, request_options: nil)
55
+ def list(has_story_config: nil, is_public: nil, limit: nil, offset: nil, ordering: nil, owned_by: nil, status: nil, request_options: nil)
53
56
  response = @request_client.conn.get do | req |
54
57
  unless request_options&.timeout_in_seconds.nil?
55
58
  req.options.timeout = request_options.timeout_in_seconds
@@ -63,7 +66,7 @@ module Vellum
63
66
  req.headers["X-API-Version"] = "2025-07-30"
64
67
  end
65
68
  req.headers = { **(req.headers || {}), **@request_client.get_headers, **(request_options&.additional_headers || {}) }.compact
66
- req.params = { **(request_options&.additional_query_parameters || {}), "limit": limit, "offset": offset, "ordering": ordering, "status": status }.compact
69
+ req.params = { **(request_options&.additional_query_parameters || {}), "has_story_config": has_story_config, "is_public": is_public, "limit": limit, "offset": offset, "ordering": ordering, "owned_by": owned_by, "status": status }.compact
67
70
  unless request_options.nil? || request_options&.additional_body_parameters.nil?
68
71
  req.body = { **(request_options&.additional_body_parameters || {}) }.compact
69
72
  end
@@ -425,9 +428,12 @@ end
425
428
  end
426
429
  # Used to list all Workflow Deployments.
427
430
  #
431
+ # @param has_story_config [String] has_story_config
432
+ # @param is_public [String] is_public
428
433
  # @param limit [Integer] Number of results to return per page.
429
434
  # @param offset [Integer] The initial index from which to return the results.
430
435
  # @param ordering [String] Which field to use when ordering the results.
436
+ # @param owned_by [String] owned_by
431
437
  # @param status [Vellum::WorkflowDeployments::WorkflowDeploymentsListRequestStatus] status
432
438
  # @param request_options [Vellum::RequestOptions]
433
439
  # @return [Vellum::PaginatedSlimWorkflowDeploymentList]
@@ -438,7 +444,7 @@ end
438
444
  # api_key: "YOUR_API_KEY"
439
445
  # )
440
446
  # api.workflow_deployments.list
441
- def list(limit: nil, offset: nil, ordering: nil, status: nil, request_options: nil)
447
+ def list(has_story_config: nil, is_public: nil, limit: nil, offset: nil, ordering: nil, owned_by: nil, status: nil, request_options: nil)
442
448
  Async do
443
449
  response = @request_client.conn.get do | req |
444
450
  unless request_options&.timeout_in_seconds.nil?
@@ -453,7 +459,7 @@ end
453
459
  req.headers["X-API-Version"] = "2025-07-30"
454
460
  end
455
461
  req.headers = { **(req.headers || {}), **@request_client.get_headers, **(request_options&.additional_headers || {}) }.compact
456
- req.params = { **(request_options&.additional_query_parameters || {}), "limit": limit, "offset": offset, "ordering": ordering, "status": status }.compact
462
+ req.params = { **(request_options&.additional_query_parameters || {}), "has_story_config": has_story_config, "is_public": is_public, "limit": limit, "offset": offset, "ordering": ordering, "owned_by": owned_by, "status": status }.compact
457
463
  unless request_options.nil? || request_options&.additional_body_parameters.nil?
458
464
  req.body = { **(request_options&.additional_body_parameters || {}) }.compact
459
465
  end
@@ -6,6 +6,7 @@ module Vellum
6
6
 
7
7
  ACTIVE = "ACTIVE"
8
8
  ARCHIVED = "ARCHIVED"
9
+ PENDING_DELETION = "PENDING_DELETION"
9
10
 
10
11
  end
11
12
  end
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.13.7
4
+ version: 1.14.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vellum
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2026-01-25 00:00:00.000000000 Z
11
+ date: 2026-01-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -757,6 +757,7 @@ files:
757
757
  - lib/vellum_ai/types/vellum_node_execution_event.rb
758
758
  - lib/vellum_ai/types/vellum_sdk_error.rb
759
759
  - lib/vellum_ai/types/vellum_sdk_error_code_enum.rb
760
+ - lib/vellum_ai/types/vellum_sdk_error_raw_data.rb
760
761
  - lib/vellum_ai/types/vellum_secret.rb
761
762
  - lib/vellum_ai/types/vellum_span.rb
762
763
  - lib/vellum_ai/types/vellum_value.rb
@@ -789,6 +790,7 @@ files:
789
790
  - lib/vellum_ai/types/workflow_error.rb
790
791
  - lib/vellum_ai/types/workflow_event.rb
791
792
  - lib/vellum_ai/types/workflow_event_error.rb
793
+ - lib/vellum_ai/types/workflow_event_error_raw_data.rb
792
794
  - lib/vellum_ai/types/workflow_event_execution_read.rb
793
795
  - lib/vellum_ai/types/workflow_execution_actual.rb
794
796
  - lib/vellum_ai/types/workflow_execution_actual_chat_history_request.rb