vellum_ai 1.12.2 → 1.12.7
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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: '008148f1d2e1246697aca20fc21672be0d3bfc819fabd0553fd7f45a09e8149a'
|
|
4
|
+
data.tar.gz: 11516f05a35ea85593fa44fa701b1391c5b1ddf5c9b72011a26453c0812a1539
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b5f1e8056ea8c273f234851592c5ad851e567e636e8373f7b9b8005bd33b439be440480b7b1cb897dbebcd5060aba5a3b58cd1cb9f9a13e9ba56c2c6f2381712
|
|
7
|
+
data.tar.gz: a97a3c4aba703be44efc37549ca5963b699f722722eb550994c5f34ef0b29d62aba26fbd8c6fe2e2288fc4d5d8c2d641c45f813eb0fdff5b0dc790d17a58764c
|
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.12.
|
|
59
|
+
headers = { "X-Fern-Language": 'Ruby', "X-Fern-SDK-Name": 'vellum_ai', "X-Fern-SDK-Version": '1.12.7' }
|
|
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.12.
|
|
110
|
+
headers = { "X-Fern-Language": 'Ruby', "X-Fern-SDK-Name": 'vellum_ai', "X-Fern-SDK-Version": '1.12.7' }
|
|
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
|
|
@@ -74,6 +74,7 @@ module Vellum
|
|
|
74
74
|
# * `SENDGRID` - SendGrid
|
|
75
75
|
# * `SERPAPI` - Serp Api
|
|
76
76
|
# * `SHARE_POINT` - SharePoint
|
|
77
|
+
# * `SHOPIFY` - Shopify
|
|
77
78
|
# * `SHORTCUT` - Shortcut
|
|
78
79
|
# * `SPOTIFY` - Spotify
|
|
79
80
|
# * `STRIPE` - Stripe
|
|
@@ -97,6 +98,7 @@ module Vellum
|
|
|
97
98
|
# * `ACTIVE_CAMPAIGN` - Active Campaign
|
|
98
99
|
# * `CUSTOMER_IO` - Customer.io
|
|
99
100
|
# * `SEGMENT` - Segment
|
|
101
|
+
# * `WHATSAPP` - WhatsApp
|
|
100
102
|
class IntegrationName
|
|
101
103
|
|
|
102
104
|
SLACK = "SLACK"
|
|
@@ -172,6 +174,7 @@ module Vellum
|
|
|
172
174
|
SENDGRID = "SENDGRID"
|
|
173
175
|
SERPAPI = "SERPAPI"
|
|
174
176
|
SHARE_POINT = "SHARE_POINT"
|
|
177
|
+
SHOPIFY = "SHOPIFY"
|
|
175
178
|
SHORTCUT = "SHORTCUT"
|
|
176
179
|
SPOTIFY = "SPOTIFY"
|
|
177
180
|
STRIPE = "STRIPE"
|
|
@@ -195,6 +198,7 @@ module Vellum
|
|
|
195
198
|
ACTIVE_CAMPAIGN = "ACTIVE_CAMPAIGN"
|
|
196
199
|
CUSTOMER_IO = "CUSTOMER_IO"
|
|
197
200
|
SEGMENT = "SEGMENT"
|
|
201
|
+
WHATSAPP = "WHATSAPP"
|
|
198
202
|
|
|
199
203
|
end
|
|
200
204
|
end
|
|
@@ -14,6 +14,8 @@ module Vellum
|
|
|
14
14
|
attr_reader :outputs
|
|
15
15
|
# @return [Boolean]
|
|
16
16
|
attr_reader :mocked
|
|
17
|
+
# @return [Boolean]
|
|
18
|
+
attr_reader :redacted
|
|
17
19
|
# @return [OpenStruct] Additional properties unmapped to the current class definition
|
|
18
20
|
attr_reader :additional_properties
|
|
19
21
|
# @return [Object]
|
|
@@ -26,15 +28,17 @@ module Vellum
|
|
|
26
28
|
# @param invoked_ports [Array<Vellum::InvokedPort>]
|
|
27
29
|
# @param outputs [Hash{String => Object}]
|
|
28
30
|
# @param mocked [Boolean]
|
|
31
|
+
# @param redacted [Boolean]
|
|
29
32
|
# @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition
|
|
30
33
|
# @return [Vellum::NodeExecutionFulfilledBody]
|
|
31
|
-
def initialize(node_definition:, invoked_ports: OMIT, outputs:, mocked: OMIT, additional_properties: nil)
|
|
34
|
+
def initialize(node_definition:, invoked_ports: OMIT, outputs:, mocked: OMIT, redacted: OMIT, additional_properties: nil)
|
|
32
35
|
@node_definition = node_definition
|
|
33
36
|
@invoked_ports = invoked_ports if invoked_ports != OMIT
|
|
34
37
|
@outputs = outputs
|
|
35
38
|
@mocked = mocked if mocked != OMIT
|
|
39
|
+
@redacted = redacted if redacted != OMIT
|
|
36
40
|
@additional_properties = additional_properties
|
|
37
|
-
@_field_set = { "node_definition": node_definition, "invoked_ports": invoked_ports, "outputs": outputs, "mocked": mocked }.reject do | _k, v |
|
|
41
|
+
@_field_set = { "node_definition": node_definition, "invoked_ports": invoked_ports, "outputs": outputs, "mocked": mocked, "redacted": redacted }.reject do | _k, v |
|
|
38
42
|
v == OMIT
|
|
39
43
|
end
|
|
40
44
|
end
|
|
@@ -57,11 +61,13 @@ end
|
|
|
57
61
|
end
|
|
58
62
|
outputs = parsed_json["outputs"]
|
|
59
63
|
mocked = parsed_json["mocked"]
|
|
64
|
+
redacted = parsed_json["redacted"]
|
|
60
65
|
new(
|
|
61
66
|
node_definition: node_definition,
|
|
62
67
|
invoked_ports: invoked_ports,
|
|
63
68
|
outputs: outputs,
|
|
64
69
|
mocked: mocked,
|
|
70
|
+
redacted: redacted,
|
|
65
71
|
additional_properties: struct
|
|
66
72
|
)
|
|
67
73
|
end
|
|
@@ -82,6 +88,7 @@ end
|
|
|
82
88
|
obj.invoked_ports&.is_a?(Array) != false || raise("Passed value for field obj.invoked_ports is not the expected type, validation failed.")
|
|
83
89
|
obj.outputs.is_a?(Hash) != false || raise("Passed value for field obj.outputs is not the expected type, validation failed.")
|
|
84
90
|
obj.mocked&.is_a?(Boolean) != false || raise("Passed value for field obj.mocked is not the expected type, validation failed.")
|
|
91
|
+
obj.redacted&.is_a?(Boolean) != false || raise("Passed value for field obj.redacted is not the expected type, validation failed.")
|
|
85
92
|
end
|
|
86
93
|
end
|
|
87
94
|
end
|
|
@@ -13,6 +13,8 @@ module Vellum
|
|
|
13
13
|
attr_reader :final_state
|
|
14
14
|
# @return [Hash{String => Object}]
|
|
15
15
|
attr_reader :server_metadata
|
|
16
|
+
# @return [Boolean]
|
|
17
|
+
attr_reader :redacted
|
|
16
18
|
# @return [OpenStruct] Additional properties unmapped to the current class definition
|
|
17
19
|
attr_reader :additional_properties
|
|
18
20
|
# @return [Object]
|
|
@@ -25,15 +27,17 @@ module Vellum
|
|
|
25
27
|
# @param outputs [Hash{String => Object}]
|
|
26
28
|
# @param final_state [Hash{String => Object}]
|
|
27
29
|
# @param server_metadata [Hash{String => Object}]
|
|
30
|
+
# @param redacted [Boolean]
|
|
28
31
|
# @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition
|
|
29
32
|
# @return [Vellum::WorkflowExecutionFulfilledBody]
|
|
30
|
-
def initialize(workflow_definition:, outputs:, final_state: OMIT, server_metadata: OMIT, additional_properties: nil)
|
|
33
|
+
def initialize(workflow_definition:, outputs:, final_state: OMIT, server_metadata: OMIT, redacted: OMIT, additional_properties: nil)
|
|
31
34
|
@workflow_definition = workflow_definition
|
|
32
35
|
@outputs = outputs
|
|
33
36
|
@final_state = final_state if final_state != OMIT
|
|
34
37
|
@server_metadata = server_metadata if server_metadata != OMIT
|
|
38
|
+
@redacted = redacted if redacted != OMIT
|
|
35
39
|
@additional_properties = additional_properties
|
|
36
|
-
@_field_set = { "workflow_definition": workflow_definition, "outputs": outputs, "final_state": final_state, "server_metadata": server_metadata }.reject do | _k, v |
|
|
40
|
+
@_field_set = { "workflow_definition": workflow_definition, "outputs": outputs, "final_state": final_state, "server_metadata": server_metadata, "redacted": redacted }.reject do | _k, v |
|
|
37
41
|
v == OMIT
|
|
38
42
|
end
|
|
39
43
|
end
|
|
@@ -53,11 +57,13 @@ end
|
|
|
53
57
|
outputs = parsed_json["outputs"]
|
|
54
58
|
final_state = parsed_json["final_state"]
|
|
55
59
|
server_metadata = parsed_json["server_metadata"]
|
|
60
|
+
redacted = parsed_json["redacted"]
|
|
56
61
|
new(
|
|
57
62
|
workflow_definition: workflow_definition,
|
|
58
63
|
outputs: outputs,
|
|
59
64
|
final_state: final_state,
|
|
60
65
|
server_metadata: server_metadata,
|
|
66
|
+
redacted: redacted,
|
|
61
67
|
additional_properties: struct
|
|
62
68
|
)
|
|
63
69
|
end
|
|
@@ -78,6 +84,7 @@ end
|
|
|
78
84
|
obj.outputs.is_a?(Hash) != false || raise("Passed value for field obj.outputs is not the expected type, validation failed.")
|
|
79
85
|
obj.final_state&.is_a?(Hash) != false || raise("Passed value for field obj.final_state is not the expected type, validation failed.")
|
|
80
86
|
obj.server_metadata&.is_a?(Hash) != false || raise("Passed value for field obj.server_metadata is not the expected type, validation failed.")
|
|
87
|
+
obj.redacted&.is_a?(Boolean) != false || raise("Passed value for field obj.redacted is not the expected type, validation failed.")
|
|
81
88
|
end
|
|
82
89
|
end
|
|
83
90
|
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.12.
|
|
4
|
+
version: 1.12.7
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Vellum
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2026-01-04 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|