vellum-ai 0.8.26 → 0.8.28

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 (150) hide show
  1. package/.mock/definition/__package__.yml +16 -7
  2. package/.mock/definition/workflows.yml +39 -0
  3. package/.mock/definition/workspaceSecrets.yml +37 -1
  4. package/.mock/openapi/openapi.yml +123 -38
  5. package/Client.d.ts +3 -0
  6. package/Client.js +17 -12
  7. package/api/resources/adHoc/client/Client.js +1 -1
  8. package/api/resources/deployments/client/Client.js +5 -5
  9. package/api/resources/documentIndexes/client/Client.js +8 -8
  10. package/api/resources/documents/client/Client.js +5 -5
  11. package/api/resources/folderEntities/client/Client.js +2 -2
  12. package/api/resources/index.d.ts +2 -0
  13. package/api/resources/index.js +3 -1
  14. package/api/resources/metricDefinitions/client/Client.js +1 -1
  15. package/api/resources/sandboxes/client/Client.js +3 -3
  16. package/api/resources/testSuiteRuns/client/Client.js +3 -3
  17. package/api/resources/testSuites/client/Client.js +4 -4
  18. package/api/resources/workflowDeployments/client/Client.js +4 -4
  19. package/api/resources/workflowSandboxes/client/Client.js +1 -1
  20. package/api/resources/workflows/client/Client.d.ts +42 -0
  21. package/api/resources/workflows/client/Client.js +116 -0
  22. package/api/resources/workflows/client/index.d.ts +1 -0
  23. package/api/resources/workflows/client/index.js +17 -0
  24. package/api/resources/workflows/client/requests/WorkflowPushRequest.d.ts +17 -0
  25. package/api/resources/workflows/client/requests/index.d.ts +1 -0
  26. package/api/resources/workflows/client/requests/index.js +2 -0
  27. package/api/resources/workflows/index.d.ts +1 -0
  28. package/api/resources/workflows/index.js +17 -0
  29. package/api/resources/workspaceSecrets/client/Client.js +1 -1
  30. package/api/types/CodeExecutionNodeArrayResult.d.ts +1 -1
  31. package/api/types/NodeInputCompiledArrayValue.d.ts +1 -1
  32. package/api/types/{NodeInputCompiledFunctionCall.d.ts → NodeInputCompiledFunctionCallValue.d.ts} +1 -1
  33. package/api/types/NodeInputVariableCompiledValue.d.ts +1 -1
  34. package/api/types/TemplatingNodeArrayResult.d.ts +1 -1
  35. package/api/types/TerminalNodeArrayResult.d.ts +1 -1
  36. package/api/types/TerminalNodeResultOutput.d.ts +1 -1
  37. package/api/types/WorkflowPushExecConfig.d.ts +4 -0
  38. package/api/types/WorkflowPushExecConfig.js +5 -0
  39. package/api/types/WorkflowPushResponse.d.ts +6 -0
  40. package/api/types/WorkflowPushResponse.js +5 -0
  41. package/api/types/index.d.ts +3 -1
  42. package/api/types/index.js +3 -1
  43. package/dist/Client.d.ts +3 -0
  44. package/dist/Client.js +17 -12
  45. package/dist/api/resources/adHoc/client/Client.js +1 -1
  46. package/dist/api/resources/deployments/client/Client.js +5 -5
  47. package/dist/api/resources/documentIndexes/client/Client.js +8 -8
  48. package/dist/api/resources/documents/client/Client.js +5 -5
  49. package/dist/api/resources/folderEntities/client/Client.js +2 -2
  50. package/dist/api/resources/index.d.ts +2 -0
  51. package/dist/api/resources/index.js +3 -1
  52. package/dist/api/resources/metricDefinitions/client/Client.js +1 -1
  53. package/dist/api/resources/sandboxes/client/Client.js +3 -3
  54. package/dist/api/resources/testSuiteRuns/client/Client.js +3 -3
  55. package/dist/api/resources/testSuites/client/Client.js +4 -4
  56. package/dist/api/resources/workflowDeployments/client/Client.js +4 -4
  57. package/dist/api/resources/workflowSandboxes/client/Client.js +1 -1
  58. package/dist/api/resources/workflows/client/Client.d.ts +42 -0
  59. package/dist/api/resources/workflows/client/Client.js +116 -0
  60. package/dist/api/resources/workflows/client/index.d.ts +1 -0
  61. package/dist/api/resources/workflows/client/index.js +17 -0
  62. package/dist/api/resources/workflows/client/requests/WorkflowPushRequest.d.ts +17 -0
  63. package/dist/api/resources/workflows/client/requests/WorkflowPushRequest.js +5 -0
  64. package/dist/api/resources/workflows/client/requests/index.d.ts +1 -0
  65. package/dist/api/resources/workflows/client/requests/index.js +2 -0
  66. package/dist/api/resources/workflows/index.d.ts +1 -0
  67. package/dist/api/resources/workflows/index.js +17 -0
  68. package/dist/api/resources/workspaceSecrets/client/Client.js +1 -1
  69. package/dist/api/types/CodeExecutionNodeArrayResult.d.ts +1 -1
  70. package/dist/api/types/NodeInputCompiledArrayValue.d.ts +1 -1
  71. package/dist/api/types/{NodeInputCompiledFunctionCall.d.ts → NodeInputCompiledFunctionCallValue.d.ts} +1 -1
  72. package/dist/api/types/NodeInputCompiledFunctionCallValue.js +5 -0
  73. package/dist/api/types/NodeInputVariableCompiledValue.d.ts +1 -1
  74. package/dist/api/types/TemplatingNodeArrayResult.d.ts +1 -1
  75. package/dist/api/types/TerminalNodeArrayResult.d.ts +1 -1
  76. package/dist/api/types/TerminalNodeResultOutput.d.ts +1 -1
  77. package/dist/api/types/WorkflowPushExecConfig.d.ts +4 -0
  78. package/dist/api/types/WorkflowPushExecConfig.js +5 -0
  79. package/dist/api/types/WorkflowPushResponse.d.ts +6 -0
  80. package/dist/api/types/WorkflowPushResponse.js +5 -0
  81. package/dist/api/types/index.d.ts +3 -1
  82. package/dist/api/types/index.js +3 -1
  83. package/dist/serialization/resources/index.d.ts +2 -0
  84. package/dist/serialization/resources/index.js +3 -1
  85. package/dist/serialization/resources/workflows/client/index.d.ts +1 -0
  86. package/dist/serialization/resources/workflows/client/index.js +17 -0
  87. package/dist/serialization/resources/workflows/client/requests/WorkflowPushRequest.d.ts +14 -0
  88. package/dist/serialization/resources/workflows/client/requests/WorkflowPushRequest.js +35 -0
  89. package/dist/serialization/resources/workflows/client/requests/index.d.ts +1 -0
  90. package/dist/serialization/resources/workflows/client/requests/index.js +5 -0
  91. package/dist/serialization/resources/workflows/index.d.ts +1 -0
  92. package/dist/serialization/resources/workflows/index.js +17 -0
  93. package/dist/serialization/types/CodeExecutionNodeArrayResult.d.ts +1 -1
  94. package/dist/serialization/types/CodeExecutionNodeArrayResult.js +1 -1
  95. package/dist/serialization/types/NodeInputCompiledArrayValue.d.ts +1 -1
  96. package/dist/serialization/types/NodeInputCompiledArrayValue.js +1 -1
  97. package/dist/serialization/types/{NodeInputCompiledFunctionCall.d.ts → NodeInputCompiledFunctionCallValue.d.ts} +2 -2
  98. package/dist/serialization/types/{NodeInputCompiledFunctionCall.js → NodeInputCompiledFunctionCallValue.js} +2 -2
  99. package/dist/serialization/types/NodeInputVariableCompiledValue.d.ts +2 -2
  100. package/dist/serialization/types/NodeInputVariableCompiledValue.js +2 -2
  101. package/dist/serialization/types/TemplatingNodeArrayResult.d.ts +1 -1
  102. package/dist/serialization/types/TemplatingNodeArrayResult.js +1 -1
  103. package/dist/serialization/types/TerminalNodeArrayResult.d.ts +1 -1
  104. package/dist/serialization/types/TerminalNodeArrayResult.js +1 -1
  105. package/dist/serialization/types/TerminalNodeResultOutput.d.ts +2 -2
  106. package/dist/serialization/types/TerminalNodeResultOutput.js +2 -2
  107. package/dist/serialization/types/WorkflowPushExecConfig.d.ts +10 -0
  108. package/dist/serialization/types/WorkflowPushExecConfig.js +31 -0
  109. package/dist/serialization/types/WorkflowPushResponse.d.ts +12 -0
  110. package/dist/serialization/types/WorkflowPushResponse.js +33 -0
  111. package/dist/serialization/types/index.d.ts +3 -1
  112. package/dist/serialization/types/index.js +3 -1
  113. package/dist/version.d.ts +1 -1
  114. package/dist/version.js +1 -1
  115. package/package.json +1 -1
  116. package/reference.md +70 -0
  117. package/serialization/resources/index.d.ts +2 -0
  118. package/serialization/resources/index.js +3 -1
  119. package/serialization/resources/workflows/client/index.d.ts +1 -0
  120. package/serialization/resources/workflows/client/index.js +17 -0
  121. package/serialization/resources/workflows/client/requests/WorkflowPushRequest.d.ts +14 -0
  122. package/serialization/resources/workflows/client/requests/WorkflowPushRequest.js +35 -0
  123. package/serialization/resources/workflows/client/requests/index.d.ts +1 -0
  124. package/serialization/resources/workflows/client/requests/index.js +5 -0
  125. package/serialization/resources/workflows/index.d.ts +1 -0
  126. package/serialization/resources/workflows/index.js +17 -0
  127. package/serialization/types/CodeExecutionNodeArrayResult.d.ts +1 -1
  128. package/serialization/types/CodeExecutionNodeArrayResult.js +1 -1
  129. package/serialization/types/NodeInputCompiledArrayValue.d.ts +1 -1
  130. package/serialization/types/NodeInputCompiledArrayValue.js +1 -1
  131. package/serialization/types/{NodeInputCompiledFunctionCall.d.ts → NodeInputCompiledFunctionCallValue.d.ts} +2 -2
  132. package/serialization/types/{NodeInputCompiledFunctionCall.js → NodeInputCompiledFunctionCallValue.js} +2 -2
  133. package/serialization/types/NodeInputVariableCompiledValue.d.ts +2 -2
  134. package/serialization/types/NodeInputVariableCompiledValue.js +2 -2
  135. package/serialization/types/TemplatingNodeArrayResult.d.ts +1 -1
  136. package/serialization/types/TemplatingNodeArrayResult.js +1 -1
  137. package/serialization/types/TerminalNodeArrayResult.d.ts +1 -1
  138. package/serialization/types/TerminalNodeArrayResult.js +1 -1
  139. package/serialization/types/TerminalNodeResultOutput.d.ts +2 -2
  140. package/serialization/types/TerminalNodeResultOutput.js +2 -2
  141. package/serialization/types/WorkflowPushExecConfig.d.ts +10 -0
  142. package/serialization/types/WorkflowPushExecConfig.js +31 -0
  143. package/serialization/types/WorkflowPushResponse.d.ts +12 -0
  144. package/serialization/types/WorkflowPushResponse.js +33 -0
  145. package/serialization/types/index.d.ts +3 -1
  146. package/serialization/types/index.js +3 -1
  147. package/version.d.ts +1 -1
  148. package/version.js +1 -1
  149. /package/api/{types/NodeInputCompiledFunctionCall.js → resources/workflows/client/requests/WorkflowPushRequest.js} +0 -0
  150. /package/{dist/api/types/NodeInputCompiledFunctionCall.js → api/types/NodeInputCompiledFunctionCallValue.js} +0 -0
@@ -1030,7 +1030,7 @@ types:
1030
1030
  properties:
1031
1031
  id: string
1032
1032
  type: literal<"ARRAY">
1033
- value: optional<list<ArrayVariableValueItem>>
1033
+ value: optional<list<ArrayVellumValueItem>>
1034
1034
  source:
1035
1035
  openapi: openapi/openapi.yml
1036
1036
  CodeExecutionNodeChatHistoryResult:
@@ -2871,7 +2871,7 @@ types:
2871
2871
  node_input_id: string
2872
2872
  key: string
2873
2873
  type: literal<"ARRAY">
2874
- value: optional<list<ArrayVariableValueItem>>
2874
+ value: optional<list<ArrayVellumValueItem>>
2875
2875
  source:
2876
2876
  openapi: openapi/openapi.yml
2877
2877
  NodeInputCompiledChatHistoryValue:
@@ -2890,7 +2890,7 @@ types:
2890
2890
  value: optional<VellumError>
2891
2891
  source:
2892
2892
  openapi: openapi/openapi.yml
2893
- NodeInputCompiledFunctionCall:
2893
+ NodeInputCompiledFunctionCallValue:
2894
2894
  properties:
2895
2895
  node_input_id: string
2896
2896
  key: string
@@ -2940,7 +2940,7 @@ types:
2940
2940
  - NodeInputCompiledSearchResultsValue
2941
2941
  - NodeInputCompiledErrorValue
2942
2942
  - NodeInputCompiledArrayValue
2943
- - NodeInputCompiledFunctionCall
2943
+ - NodeInputCompiledFunctionCallValue
2944
2944
  source:
2945
2945
  openapi: openapi/openapi.yml
2946
2946
  NodeOutputCompiledArrayValue:
@@ -4307,7 +4307,7 @@ types:
4307
4307
  properties:
4308
4308
  id: string
4309
4309
  type: literal<"ARRAY">
4310
- value: optional<list<ArrayVariableValueItem>>
4310
+ value: optional<list<ArrayVellumValueItem>>
4311
4311
  source:
4312
4312
  openapi: openapi/openapi.yml
4313
4313
  TemplatingNodeChatHistoryResult:
@@ -4394,7 +4394,7 @@ types:
4394
4394
  type: string
4395
4395
  docs: The unique name given to the terminal node that produced this output.
4396
4396
  type: literal<"ARRAY">
4397
- value: optional<list<ArrayVariableValueItem>>
4397
+ value: optional<list<ArrayVellumValueItem>>
4398
4398
  source:
4399
4399
  openapi: openapi/openapi.yml
4400
4400
  TerminalNodeChatHistoryResult:
@@ -4482,9 +4482,9 @@ types:
4482
4482
  - TerminalNodeJsonResult
4483
4483
  - TerminalNodeChatHistoryResult
4484
4484
  - TerminalNodeSearchResultsResult
4485
+ - TerminalNodeErrorResult
4485
4486
  - TerminalNodeArrayResult
4486
4487
  - TerminalNodeFunctionCallResult
4487
- - TerminalNodeErrorResult
4488
4488
  source:
4489
4489
  openapi: openapi/openapi.yml
4490
4490
  TerminalNodeSearchResultsResult:
@@ -5911,6 +5911,15 @@ types:
5911
5911
  value: optional<string>
5912
5912
  source:
5913
5913
  openapi: openapi/openapi.yml
5914
+ WorkflowPushExecConfig: map<string, unknown>
5915
+ WorkflowPushResponse:
5916
+ properties:
5917
+ workflow_sandbox_id:
5918
+ type: string
5919
+ validation:
5920
+ format: uuid
5921
+ source:
5922
+ openapi: openapi/openapi.yml
5914
5923
  WorkflowReleaseTagRead:
5915
5924
  properties:
5916
5925
  name:
@@ -0,0 +1,39 @@
1
+ imports:
2
+ root: __package__.yml
3
+ service:
4
+ auth: false
5
+ base-path: ''
6
+ endpoints:
7
+ push:
8
+ path: /v1/workflows/push
9
+ method: POST
10
+ auth: true
11
+ docs: >-
12
+ An internal-only endpoint that's subject to breaking changes without
13
+ notice. Not intended for public use.
14
+ request:
15
+ name: WorkflowPushRequest
16
+ body:
17
+ properties:
18
+ exec_config: root.WorkflowPushExecConfig
19
+ label:
20
+ type: string
21
+ validation:
22
+ minLength: 1
23
+ response:
24
+ docs: ''
25
+ type: root.WorkflowPushResponse
26
+ url: Default
27
+ availability: pre-release
28
+ examples:
29
+ - request:
30
+ exec_config:
31
+ key: value
32
+ label: label
33
+ response:
34
+ body:
35
+ workflow_sandbox_id: workflow_sandbox_id
36
+ audiences:
37
+ - internal
38
+ source:
39
+ openapi: openapi/openapi.yml
@@ -7,7 +7,7 @@ service:
7
7
  retrieve:
8
8
  path: /v1/workspace-secrets/{id}
9
9
  method: GET
10
- auth: false
10
+ auth: true
11
11
  docs: Used to retrieve a Workspace Secret given its ID or name.
12
12
  path-parameters:
13
13
  id:
@@ -30,5 +30,41 @@ service:
30
30
  secret_type: USER_DEFINED
31
31
  audiences:
32
32
  - internal
33
+ partialUpdate:
34
+ path: /v1/workspace-secrets/{id}
35
+ method: PATCH
36
+ auth: true
37
+ docs: Used to update a Workspace Secret given its ID or name.
38
+ path-parameters:
39
+ id:
40
+ type: string
41
+ docs: Either the Workspace Secret's ID or its unique name
42
+ request:
43
+ name: PatchedWorkspaceSecretUpdateRequest
44
+ body:
45
+ properties:
46
+ label:
47
+ type: optional<string>
48
+ validation:
49
+ minLength: 1
50
+ value:
51
+ type: optional<string>
52
+ validation:
53
+ minLength: 1
54
+ response:
55
+ docs: ''
56
+ type: root.WorkspaceSecretRead
57
+ url: Default
58
+ examples:
59
+ - path-parameters:
60
+ id: id
61
+ request: {}
62
+ response:
63
+ body:
64
+ id: id
65
+ modified: '2024-01-15T09:30:00Z'
66
+ name: name
67
+ label: label
68
+ secret_type: USER_DEFINED
33
69
  source:
34
70
  openapi: openapi/openapi.yml
@@ -1927,6 +1927,31 @@ paths:
1927
1927
  x-fern-availability: beta
1928
1928
  x-fern-audiences:
1929
1929
  - customers
1930
+ /v1/workflows/push:
1931
+ post:
1932
+ operationId: push
1933
+ description: An internal-only endpoint that's subject to breaking changes without
1934
+ notice. Not intended for public use.
1935
+ tags:
1936
+ - workflows
1937
+ requestBody:
1938
+ content:
1939
+ application/json:
1940
+ schema:
1941
+ $ref: '#/components/schemas/WorkflowPushRequest'
1942
+ required: true
1943
+ security:
1944
+ - apiKeyAuth: []
1945
+ responses:
1946
+ '200':
1947
+ content:
1948
+ application/json:
1949
+ schema:
1950
+ $ref: '#/components/schemas/WorkflowPushResponse'
1951
+ description: ''
1952
+ x-fern-availability: beta
1953
+ x-fern-audiences:
1954
+ - internal
1930
1955
  /v1/workspace-secrets/{id}:
1931
1956
  get:
1932
1957
  operationId: workspace_secrets_retrieve
@@ -1940,6 +1965,8 @@ paths:
1940
1965
  required: true
1941
1966
  tags:
1942
1967
  - workspace-secrets
1968
+ security:
1969
+ - apiKeyAuth: []
1943
1970
  responses:
1944
1971
  '200':
1945
1972
  content:
@@ -1950,6 +1977,32 @@ paths:
1950
1977
  x-fern-availability: beta
1951
1978
  x-fern-audiences:
1952
1979
  - internal
1980
+ patch:
1981
+ operationId: workspace_secrets_partial_update
1982
+ description: Used to update a Workspace Secret given its ID or name.
1983
+ parameters:
1984
+ - in: path
1985
+ name: id
1986
+ schema:
1987
+ type: string
1988
+ description: Either the Workspace Secret's ID or its unique name
1989
+ required: true
1990
+ tags:
1991
+ - workspace-secrets
1992
+ requestBody:
1993
+ content:
1994
+ application/json:
1995
+ schema:
1996
+ $ref: '#/components/schemas/PatchedWorkspaceSecretUpdateRequest'
1997
+ security:
1998
+ - apiKeyAuth: []
1999
+ responses:
2000
+ '200':
2001
+ content:
2002
+ application/json:
2003
+ schema:
2004
+ $ref: '#/components/schemas/WorkspaceSecretRead'
2005
+ description: ''
1953
2006
  components:
1954
2007
  schemas:
1955
2008
  AdHocExecutePromptEvent:
@@ -2558,11 +2611,11 @@ components:
2558
2611
  id:
2559
2612
  type: string
2560
2613
  type:
2561
- type: string
2614
+ $ref: '#/components/schemas/ArrayEnum'
2562
2615
  value:
2563
2616
  type: array
2564
2617
  items:
2565
- $ref: '#/components/schemas/ArrayVariableValueItem'
2618
+ $ref: '#/components/schemas/ArrayVellumValueItem'
2566
2619
  nullable: true
2567
2620
  required:
2568
2621
  - id
@@ -2574,7 +2627,7 @@ components:
2574
2627
  id:
2575
2628
  type: string
2576
2629
  type:
2577
- type: string
2630
+ $ref: '#/components/schemas/ChatHistoryEnum'
2578
2631
  value:
2579
2632
  type: array
2580
2633
  items:
@@ -2590,7 +2643,7 @@ components:
2590
2643
  id:
2591
2644
  type: string
2592
2645
  type:
2593
- type: string
2646
+ $ref: '#/components/schemas/ErrorEnum'
2594
2647
  value:
2595
2648
  allOf:
2596
2649
  - $ref: '#/components/schemas/VellumError'
@@ -2620,7 +2673,7 @@ components:
2620
2673
  id:
2621
2674
  type: string
2622
2675
  type:
2623
- type: string
2676
+ $ref: '#/components/schemas/JsonEnum'
2624
2677
  value:
2625
2678
  nullable: true
2626
2679
  required:
@@ -2633,7 +2686,7 @@ components:
2633
2686
  id:
2634
2687
  type: string
2635
2688
  type:
2636
- type: string
2689
+ $ref: '#/components/schemas/NumberEnum'
2637
2690
  value:
2638
2691
  type: number
2639
2692
  format: double
@@ -2690,7 +2743,7 @@ components:
2690
2743
  id:
2691
2744
  type: string
2692
2745
  type:
2693
- type: string
2746
+ $ref: '#/components/schemas/SearchResultsEnum'
2694
2747
  value:
2695
2748
  type: array
2696
2749
  items:
@@ -2706,7 +2759,7 @@ components:
2706
2759
  id:
2707
2760
  type: string
2708
2761
  type:
2709
- type: string
2762
+ $ref: '#/components/schemas/StringEnum'
2710
2763
  value:
2711
2764
  type: string
2712
2765
  nullable: true
@@ -5862,11 +5915,11 @@ components:
5862
5915
  key:
5863
5916
  type: string
5864
5917
  type:
5865
- type: string
5918
+ $ref: '#/components/schemas/ArrayEnum'
5866
5919
  value:
5867
5920
  type: array
5868
5921
  items:
5869
- $ref: '#/components/schemas/ArrayVariableValueItem'
5922
+ $ref: '#/components/schemas/ArrayVellumValueItem'
5870
5923
  nullable: true
5871
5924
  required:
5872
5925
  - key
@@ -5881,7 +5934,7 @@ components:
5881
5934
  key:
5882
5935
  type: string
5883
5936
  type:
5884
- type: string
5937
+ $ref: '#/components/schemas/ChatHistoryEnum'
5885
5938
  value:
5886
5939
  type: array
5887
5940
  items:
@@ -5900,7 +5953,7 @@ components:
5900
5953
  key:
5901
5954
  type: string
5902
5955
  type:
5903
- type: string
5956
+ $ref: '#/components/schemas/ErrorEnum'
5904
5957
  value:
5905
5958
  allOf:
5906
5959
  - $ref: '#/components/schemas/VellumError'
@@ -5910,7 +5963,7 @@ components:
5910
5963
  - node_input_id
5911
5964
  - type
5912
5965
  - value
5913
- NodeInputCompiledFunctionCall:
5966
+ NodeInputCompiledFunctionCallValue:
5914
5967
  type: object
5915
5968
  properties:
5916
5969
  node_input_id:
@@ -5918,7 +5971,7 @@ components:
5918
5971
  key:
5919
5972
  type: string
5920
5973
  type:
5921
- type: string
5974
+ $ref: '#/components/schemas/FunctionCallEnum'
5922
5975
  value:
5923
5976
  allOf:
5924
5977
  - $ref: '#/components/schemas/FunctionCall'
@@ -5936,7 +5989,7 @@ components:
5936
5989
  key:
5937
5990
  type: string
5938
5991
  type:
5939
- type: string
5992
+ $ref: '#/components/schemas/JsonEnum'
5940
5993
  value:
5941
5994
  nullable: true
5942
5995
  required:
@@ -5952,7 +6005,7 @@ components:
5952
6005
  key:
5953
6006
  type: string
5954
6007
  type:
5955
- type: string
6008
+ $ref: '#/components/schemas/NumberEnum'
5956
6009
  value:
5957
6010
  type: number
5958
6011
  format: double
@@ -5970,7 +6023,7 @@ components:
5970
6023
  key:
5971
6024
  type: string
5972
6025
  type:
5973
- type: string
6026
+ $ref: '#/components/schemas/SearchResultsEnum'
5974
6027
  value:
5975
6028
  type: array
5976
6029
  items:
@@ -5989,7 +6042,7 @@ components:
5989
6042
  key:
5990
6043
  type: string
5991
6044
  type:
5992
- type: string
6045
+ $ref: '#/components/schemas/StringEnum'
5993
6046
  value:
5994
6047
  type: string
5995
6048
  nullable: true
@@ -6007,7 +6060,7 @@ components:
6007
6060
  - $ref: '#/components/schemas/NodeInputCompiledSearchResultsValue'
6008
6061
  - $ref: '#/components/schemas/NodeInputCompiledErrorValue'
6009
6062
  - $ref: '#/components/schemas/NodeInputCompiledArrayValue'
6010
- - $ref: '#/components/schemas/NodeInputCompiledFunctionCall'
6063
+ - $ref: '#/components/schemas/NodeInputCompiledFunctionCallValue'
6011
6064
  discriminator:
6012
6065
  propertyName: type
6013
6066
  mapping:
@@ -6018,7 +6071,7 @@ components:
6018
6071
  SEARCH_RESULTS: '#/components/schemas/NodeInputCompiledSearchResultsValue'
6019
6072
  ERROR: '#/components/schemas/NodeInputCompiledErrorValue'
6020
6073
  ARRAY: '#/components/schemas/NodeInputCompiledArrayValue'
6021
- FUNCTION_CALL: '#/components/schemas/NodeInputCompiledFunctionCall'
6074
+ FUNCTION_CALL: '#/components/schemas/NodeInputCompiledFunctionCallValue'
6022
6075
  NodeOutputCompiledArrayValue:
6023
6076
  type: object
6024
6077
  description: An output returned by a node that is of type ARRAY.
@@ -6572,6 +6625,16 @@ components:
6572
6625
  type: string
6573
6626
  format: uuid
6574
6627
  description: The ID of the Workflow Deployment History Item to tag
6628
+ PatchedWorkspaceSecretUpdateRequest:
6629
+ type: object
6630
+ properties:
6631
+ label:
6632
+ type: string
6633
+ minLength: 1
6634
+ value:
6635
+ type: string
6636
+ writeOnly: true
6637
+ minLength: 1
6575
6638
  PdfEnum:
6576
6639
  type: string
6577
6640
  enum:
@@ -8185,11 +8248,11 @@ components:
8185
8248
  id:
8186
8249
  type: string
8187
8250
  type:
8188
- type: string
8251
+ $ref: '#/components/schemas/ArrayEnum'
8189
8252
  value:
8190
8253
  type: array
8191
8254
  items:
8192
- $ref: '#/components/schemas/ArrayVariableValueItem'
8255
+ $ref: '#/components/schemas/ArrayVellumValueItem'
8193
8256
  nullable: true
8194
8257
  required:
8195
8258
  - id
@@ -8201,7 +8264,7 @@ components:
8201
8264
  id:
8202
8265
  type: string
8203
8266
  type:
8204
- type: string
8267
+ $ref: '#/components/schemas/ChatHistoryEnum'
8205
8268
  value:
8206
8269
  type: array
8207
8270
  items:
@@ -8217,7 +8280,7 @@ components:
8217
8280
  id:
8218
8281
  type: string
8219
8282
  type:
8220
- type: string
8283
+ $ref: '#/components/schemas/ErrorEnum'
8221
8284
  value:
8222
8285
  allOf:
8223
8286
  - $ref: '#/components/schemas/VellumError'
@@ -8247,7 +8310,7 @@ components:
8247
8310
  id:
8248
8311
  type: string
8249
8312
  type:
8250
- type: string
8313
+ $ref: '#/components/schemas/JsonEnum'
8251
8314
  value:
8252
8315
  nullable: true
8253
8316
  required:
@@ -8260,7 +8323,7 @@ components:
8260
8323
  id:
8261
8324
  type: string
8262
8325
  type:
8263
- type: string
8326
+ $ref: '#/components/schemas/NumberEnum'
8264
8327
  value:
8265
8328
  type: number
8266
8329
  format: double
@@ -8314,7 +8377,7 @@ components:
8314
8377
  id:
8315
8378
  type: string
8316
8379
  type:
8317
- type: string
8380
+ $ref: '#/components/schemas/SearchResultsEnum'
8318
8381
  value:
8319
8382
  type: array
8320
8383
  items:
@@ -8330,7 +8393,7 @@ components:
8330
8393
  id:
8331
8394
  type: string
8332
8395
  type:
8333
- type: string
8396
+ $ref: '#/components/schemas/StringEnum'
8334
8397
  value:
8335
8398
  type: string
8336
8399
  nullable: true
@@ -8350,11 +8413,11 @@ components:
8350
8413
  description: The unique name given to the terminal node that produced this
8351
8414
  output.
8352
8415
  type:
8353
- type: string
8416
+ $ref: '#/components/schemas/ArrayEnum'
8354
8417
  value:
8355
8418
  type: array
8356
8419
  items:
8357
- $ref: '#/components/schemas/ArrayVariableValueItem'
8420
+ $ref: '#/components/schemas/ArrayVellumValueItem'
8358
8421
  nullable: true
8359
8422
  required:
8360
8423
  - name
@@ -8372,7 +8435,7 @@ components:
8372
8435
  description: The unique name given to the terminal node that produced this
8373
8436
  output.
8374
8437
  type:
8375
- type: string
8438
+ $ref: '#/components/schemas/ChatHistoryEnum'
8376
8439
  value:
8377
8440
  type: array
8378
8441
  items:
@@ -8394,7 +8457,7 @@ components:
8394
8457
  description: The unique name given to the terminal node that produced this
8395
8458
  output.
8396
8459
  type:
8397
- type: string
8460
+ $ref: '#/components/schemas/ErrorEnum'
8398
8461
  value:
8399
8462
  allOf:
8400
8463
  - $ref: '#/components/schemas/VellumError'
@@ -8436,7 +8499,7 @@ components:
8436
8499
  description: The unique name given to the terminal node that produced this
8437
8500
  output.
8438
8501
  type:
8439
- type: string
8502
+ $ref: '#/components/schemas/JsonEnum'
8440
8503
  value:
8441
8504
  nullable: true
8442
8505
  required:
@@ -8455,7 +8518,7 @@ components:
8455
8518
  description: The unique name given to the terminal node that produced this
8456
8519
  output.
8457
8520
  type:
8458
- type: string
8521
+ $ref: '#/components/schemas/NumberEnum'
8459
8522
  value:
8460
8523
  type: number
8461
8524
  format: double
@@ -8489,9 +8552,9 @@ components:
8489
8552
  - $ref: '#/components/schemas/TerminalNodeJsonResult'
8490
8553
  - $ref: '#/components/schemas/TerminalNodeChatHistoryResult'
8491
8554
  - $ref: '#/components/schemas/TerminalNodeSearchResultsResult'
8555
+ - $ref: '#/components/schemas/TerminalNodeErrorResult'
8492
8556
  - $ref: '#/components/schemas/TerminalNodeArrayResult'
8493
8557
  - $ref: '#/components/schemas/TerminalNodeFunctionCallResult'
8494
- - $ref: '#/components/schemas/TerminalNodeErrorResult'
8495
8558
  discriminator:
8496
8559
  propertyName: type
8497
8560
  mapping:
@@ -8500,9 +8563,9 @@ components:
8500
8563
  JSON: '#/components/schemas/TerminalNodeJsonResult'
8501
8564
  CHAT_HISTORY: '#/components/schemas/TerminalNodeChatHistoryResult'
8502
8565
  SEARCH_RESULTS: '#/components/schemas/TerminalNodeSearchResultsResult'
8566
+ ERROR: '#/components/schemas/TerminalNodeErrorResult'
8503
8567
  ARRAY: '#/components/schemas/TerminalNodeArrayResult'
8504
8568
  FUNCTION_CALL: '#/components/schemas/TerminalNodeFunctionCallResult'
8505
- ERROR: '#/components/schemas/TerminalNodeErrorResult'
8506
8569
  TerminalNodeSearchResultsResult:
8507
8570
  type: object
8508
8571
  properties:
@@ -8515,7 +8578,7 @@ components:
8515
8578
  description: The unique name given to the terminal node that produced this
8516
8579
  output.
8517
8580
  type:
8518
- type: string
8581
+ $ref: '#/components/schemas/SearchResultsEnum'
8519
8582
  value:
8520
8583
  type: array
8521
8584
  items:
@@ -8537,7 +8600,7 @@ components:
8537
8600
  description: The unique name given to the terminal node that produced this
8538
8601
  output.
8539
8602
  type:
8540
- type: string
8603
+ $ref: '#/components/schemas/StringEnum'
8541
8604
  value:
8542
8605
  type: string
8543
8606
  nullable: true
@@ -10582,6 +10645,28 @@ components:
10582
10645
  - name
10583
10646
  - type
10584
10647
  - value
10648
+ WorkflowPushExecConfig:
10649
+ type: object
10650
+ additionalProperties: {}
10651
+ WorkflowPushRequest:
10652
+ type: object
10653
+ properties:
10654
+ exec_config:
10655
+ $ref: '#/components/schemas/WorkflowPushExecConfig'
10656
+ label:
10657
+ type: string
10658
+ minLength: 1
10659
+ required:
10660
+ - exec_config
10661
+ - label
10662
+ WorkflowPushResponse:
10663
+ type: object
10664
+ properties:
10665
+ workflow_sandbox_id:
10666
+ type: string
10667
+ format: uuid
10668
+ required:
10669
+ - workflow_sandbox_id
10585
10670
  WorkflowReleaseTagRead:
10586
10671
  type: object
10587
10672
  properties:
package/Client.d.ts CHANGED
@@ -15,6 +15,7 @@ import { TestSuiteRuns } from "./api/resources/testSuiteRuns/client/Client";
15
15
  import { TestSuites } from "./api/resources/testSuites/client/Client";
16
16
  import { WorkflowDeployments } from "./api/resources/workflowDeployments/client/Client";
17
17
  import { WorkflowSandboxes } from "./api/resources/workflowSandboxes/client/Client";
18
+ import { Workflows } from "./api/resources/workflows/client/Client";
18
19
  import { WorkspaceSecrets } from "./api/resources/workspaceSecrets/client/Client";
19
20
  export declare namespace VellumClient {
20
21
  interface Options {
@@ -208,6 +209,8 @@ export declare class VellumClient {
208
209
  get workflowDeployments(): WorkflowDeployments;
209
210
  protected _workflowSandboxes: WorkflowSandboxes | undefined;
210
211
  get workflowSandboxes(): WorkflowSandboxes;
212
+ protected _workflows: Workflows | undefined;
213
+ get workflows(): Workflows;
211
214
  protected _workspaceSecrets: WorkspaceSecrets | undefined;
212
215
  get workspaceSecrets(): WorkspaceSecrets;
213
216
  protected _getCustomAuthorizationHeaders(): Promise<{