vellum-ai 0.12.17 → 0.13.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 (229) hide show
  1. package/.mock/definition/__package__.yml +48 -78
  2. package/.mock/definition/organizations.yml +29 -0
  3. package/.mock/definition/workflows.yml +1 -0
  4. package/.mock/definition/workspaces.yml +29 -0
  5. package/.mock/openapi/openapi.yml +90 -148
  6. package/Client.d.ts +9 -3
  7. package/Client.js +35 -25
  8. package/api/resources/adHoc/client/Client.d.ts +3 -3
  9. package/api/resources/adHoc/client/Client.js +2 -2
  10. package/api/resources/containerImages/client/Client.d.ts +3 -3
  11. package/api/resources/containerImages/client/Client.js +5 -5
  12. package/api/resources/deployments/client/Client.d.ts +3 -3
  13. package/api/resources/deployments/client/Client.js +8 -8
  14. package/api/resources/documentIndexes/client/Client.d.ts +3 -3
  15. package/api/resources/documentIndexes/client/Client.js +9 -9
  16. package/api/resources/documents/client/Client.d.ts +3 -3
  17. package/api/resources/documents/client/Client.js +6 -6
  18. package/api/resources/folderEntities/client/Client.d.ts +3 -3
  19. package/api/resources/folderEntities/client/Client.js +3 -3
  20. package/api/resources/index.d.ts +2 -0
  21. package/api/resources/index.js +3 -1
  22. package/api/resources/metricDefinitions/client/Client.d.ts +3 -3
  23. package/api/resources/metricDefinitions/client/Client.js +3 -3
  24. package/api/resources/mlModels/client/Client.d.ts +3 -3
  25. package/api/resources/mlModels/client/Client.js +2 -2
  26. package/api/resources/organizations/client/Client.d.ts +36 -0
  27. package/api/resources/organizations/client/Client.js +109 -0
  28. package/api/resources/organizations/client/index.d.ts +1 -0
  29. package/api/resources/organizations/client/index.js +2 -0
  30. package/api/resources/organizations/index.d.ts +1 -0
  31. package/api/resources/organizations/index.js +17 -0
  32. package/api/resources/sandboxes/client/Client.d.ts +3 -3
  33. package/api/resources/sandboxes/client/Client.js +4 -4
  34. package/api/resources/testSuiteRuns/client/Client.d.ts +3 -3
  35. package/api/resources/testSuiteRuns/client/Client.js +4 -4
  36. package/api/resources/testSuites/client/Client.d.ts +3 -3
  37. package/api/resources/testSuites/client/Client.js +5 -5
  38. package/api/resources/workflowDeployments/client/Client.d.ts +3 -3
  39. package/api/resources/workflowDeployments/client/Client.js +7 -7
  40. package/api/resources/workflowSandboxes/client/Client.d.ts +3 -3
  41. package/api/resources/workflowSandboxes/client/Client.js +2 -2
  42. package/api/resources/workflows/client/Client.d.ts +3 -3
  43. package/api/resources/workflows/client/Client.js +6 -3
  44. package/api/resources/workflows/client/requests/WorkflowPushRequest.d.ts +1 -0
  45. package/api/resources/workspaceSecrets/client/Client.d.ts +3 -3
  46. package/api/resources/workspaceSecrets/client/Client.js +3 -3
  47. package/api/resources/workspaces/client/Client.d.ts +36 -0
  48. package/api/resources/workspaces/client/Client.js +109 -0
  49. package/api/resources/workspaces/client/index.d.ts +1 -0
  50. package/api/resources/workspaces/client/index.js +2 -0
  51. package/api/resources/workspaces/index.d.ts +1 -0
  52. package/api/resources/workspaces/index.js +17 -0
  53. package/api/types/LogicalOperator.d.ts +5 -1
  54. package/api/types/LogicalOperator.js +2 -0
  55. package/api/types/NewMemberJoinBehaviorEnum.d.ts +14 -0
  56. package/api/types/NewMemberJoinBehaviorEnum.js +11 -0
  57. package/api/types/OrganizationRead.d.ts +10 -0
  58. package/api/types/WorkflowResultEventOutputDataArray.d.ts +1 -1
  59. package/api/types/WorkspaceRead.d.ts +10 -0
  60. package/api/types/index.d.ts +3 -11
  61. package/api/types/index.js +3 -11
  62. package/dist/Client.d.ts +9 -3
  63. package/dist/Client.js +35 -25
  64. package/dist/api/resources/adHoc/client/Client.d.ts +3 -3
  65. package/dist/api/resources/adHoc/client/Client.js +2 -2
  66. package/dist/api/resources/containerImages/client/Client.d.ts +3 -3
  67. package/dist/api/resources/containerImages/client/Client.js +5 -5
  68. package/dist/api/resources/deployments/client/Client.d.ts +3 -3
  69. package/dist/api/resources/deployments/client/Client.js +8 -8
  70. package/dist/api/resources/documentIndexes/client/Client.d.ts +3 -3
  71. package/dist/api/resources/documentIndexes/client/Client.js +9 -9
  72. package/dist/api/resources/documents/client/Client.d.ts +3 -3
  73. package/dist/api/resources/documents/client/Client.js +6 -6
  74. package/dist/api/resources/folderEntities/client/Client.d.ts +3 -3
  75. package/dist/api/resources/folderEntities/client/Client.js +3 -3
  76. package/dist/api/resources/index.d.ts +2 -0
  77. package/dist/api/resources/index.js +3 -1
  78. package/dist/api/resources/metricDefinitions/client/Client.d.ts +3 -3
  79. package/dist/api/resources/metricDefinitions/client/Client.js +3 -3
  80. package/dist/api/resources/mlModels/client/Client.d.ts +3 -3
  81. package/dist/api/resources/mlModels/client/Client.js +2 -2
  82. package/dist/api/resources/organizations/client/Client.d.ts +36 -0
  83. package/dist/api/resources/organizations/client/Client.js +109 -0
  84. package/dist/api/resources/organizations/client/index.d.ts +1 -0
  85. package/dist/api/resources/organizations/client/index.js +2 -0
  86. package/dist/api/resources/organizations/index.d.ts +1 -0
  87. package/dist/api/resources/organizations/index.js +17 -0
  88. package/dist/api/resources/sandboxes/client/Client.d.ts +3 -3
  89. package/dist/api/resources/sandboxes/client/Client.js +4 -4
  90. package/dist/api/resources/testSuiteRuns/client/Client.d.ts +3 -3
  91. package/dist/api/resources/testSuiteRuns/client/Client.js +4 -4
  92. package/dist/api/resources/testSuites/client/Client.d.ts +3 -3
  93. package/dist/api/resources/testSuites/client/Client.js +5 -5
  94. package/dist/api/resources/workflowDeployments/client/Client.d.ts +3 -3
  95. package/dist/api/resources/workflowDeployments/client/Client.js +7 -7
  96. package/dist/api/resources/workflowSandboxes/client/Client.d.ts +3 -3
  97. package/dist/api/resources/workflowSandboxes/client/Client.js +2 -2
  98. package/dist/api/resources/workflows/client/Client.d.ts +3 -3
  99. package/dist/api/resources/workflows/client/Client.js +6 -3
  100. package/dist/api/resources/workflows/client/requests/WorkflowPushRequest.d.ts +1 -0
  101. package/dist/api/resources/workspaceSecrets/client/Client.d.ts +3 -3
  102. package/dist/api/resources/workspaceSecrets/client/Client.js +3 -3
  103. package/dist/api/resources/workspaces/client/Client.d.ts +36 -0
  104. package/dist/api/resources/workspaces/client/Client.js +109 -0
  105. package/dist/api/resources/workspaces/client/index.d.ts +1 -0
  106. package/dist/api/resources/workspaces/client/index.js +2 -0
  107. package/dist/api/resources/workspaces/index.d.ts +1 -0
  108. package/dist/api/resources/workspaces/index.js +17 -0
  109. package/dist/api/types/LogicalOperator.d.ts +5 -1
  110. package/dist/api/types/LogicalOperator.js +2 -0
  111. package/dist/api/types/NewMemberJoinBehaviorEnum.d.ts +14 -0
  112. package/dist/api/types/NewMemberJoinBehaviorEnum.js +11 -0
  113. package/dist/api/types/OrganizationRead.d.ts +10 -0
  114. package/dist/api/types/WorkflowResultEventOutputDataArray.d.ts +1 -1
  115. package/dist/api/types/WorkspaceRead.d.ts +10 -0
  116. package/dist/api/types/index.d.ts +3 -11
  117. package/dist/api/types/index.js +3 -11
  118. package/dist/serialization/types/LogicalOperator.d.ts +1 -1
  119. package/dist/serialization/types/LogicalOperator.js +2 -0
  120. package/dist/serialization/types/NewMemberJoinBehaviorEnum.d.ts +10 -0
  121. package/dist/serialization/types/{JsonVariableValue.js → NewMemberJoinBehaviorEnum.js} +6 -5
  122. package/dist/serialization/types/OrganizationRead.d.ts +16 -0
  123. package/dist/serialization/types/{ArrayVariableValue.js → OrganizationRead.js} +7 -5
  124. package/dist/serialization/types/WorkflowResultEventOutputDataArray.d.ts +1 -1
  125. package/dist/serialization/types/WorkflowResultEventOutputDataArray.js +1 -1
  126. package/dist/serialization/types/WorkspaceRead.d.ts +15 -0
  127. package/dist/serialization/types/{StringVariableValue.js → WorkspaceRead.js} +6 -4
  128. package/dist/serialization/types/index.d.ts +3 -11
  129. package/dist/serialization/types/index.js +3 -11
  130. package/dist/version.d.ts +1 -1
  131. package/dist/version.js +1 -1
  132. package/package.json +1 -1
  133. package/reference.md +114 -0
  134. package/serialization/types/LogicalOperator.d.ts +1 -1
  135. package/serialization/types/LogicalOperator.js +2 -0
  136. package/serialization/types/NewMemberJoinBehaviorEnum.d.ts +10 -0
  137. package/{dist/serialization/types/NumberVariableValue.js → serialization/types/NewMemberJoinBehaviorEnum.js} +6 -5
  138. package/serialization/types/OrganizationRead.d.ts +16 -0
  139. package/{dist/serialization/types/ChatHistoryVariableValue.js → serialization/types/OrganizationRead.js} +7 -5
  140. package/serialization/types/WorkflowResultEventOutputDataArray.d.ts +1 -1
  141. package/serialization/types/WorkflowResultEventOutputDataArray.js +1 -1
  142. package/serialization/types/WorkspaceRead.d.ts +15 -0
  143. package/serialization/types/{JsonVariableValue.js → WorkspaceRead.js} +6 -4
  144. package/serialization/types/index.d.ts +3 -11
  145. package/serialization/types/index.js +3 -11
  146. package/version.d.ts +1 -1
  147. package/version.js +1 -1
  148. package/api/types/ArrayVariableValue.d.ts +0 -8
  149. package/api/types/ArrayVariableValueItem.d.ts +0 -5
  150. package/api/types/AudioVariableValue.d.ts +0 -11
  151. package/api/types/ChatHistoryVariableValue.d.ts +0 -8
  152. package/api/types/ErrorVariableValue.d.ts +0 -8
  153. package/api/types/ErrorVariableValue.js +0 -5
  154. package/api/types/FunctionCallVariableValue.d.ts +0 -8
  155. package/api/types/FunctionCallVariableValue.js +0 -5
  156. package/api/types/ImageVariableValue.d.ts +0 -11
  157. package/api/types/ImageVariableValue.js +0 -5
  158. package/api/types/JsonVariableValue.d.ts +0 -7
  159. package/api/types/JsonVariableValue.js +0 -5
  160. package/api/types/NumberVariableValue.d.ts +0 -7
  161. package/api/types/NumberVariableValue.js +0 -5
  162. package/api/types/SearchResultsVariableValue.d.ts +0 -8
  163. package/api/types/SearchResultsVariableValue.js +0 -5
  164. package/api/types/StringVariableValue.d.ts +0 -7
  165. package/api/types/StringVariableValue.js +0 -5
  166. package/dist/api/types/ArrayVariableValue.d.ts +0 -8
  167. package/dist/api/types/ArrayVariableValue.js +0 -5
  168. package/dist/api/types/ArrayVariableValueItem.d.ts +0 -5
  169. package/dist/api/types/ArrayVariableValueItem.js +0 -5
  170. package/dist/api/types/AudioVariableValue.d.ts +0 -11
  171. package/dist/api/types/AudioVariableValue.js +0 -5
  172. package/dist/api/types/ChatHistoryVariableValue.d.ts +0 -8
  173. package/dist/api/types/ChatHistoryVariableValue.js +0 -5
  174. package/dist/api/types/ErrorVariableValue.d.ts +0 -8
  175. package/dist/api/types/ErrorVariableValue.js +0 -5
  176. package/dist/api/types/FunctionCallVariableValue.d.ts +0 -8
  177. package/dist/api/types/FunctionCallVariableValue.js +0 -5
  178. package/dist/api/types/ImageVariableValue.d.ts +0 -11
  179. package/dist/api/types/ImageVariableValue.js +0 -5
  180. package/dist/api/types/JsonVariableValue.d.ts +0 -7
  181. package/dist/api/types/JsonVariableValue.js +0 -5
  182. package/dist/api/types/NumberVariableValue.d.ts +0 -7
  183. package/dist/api/types/NumberVariableValue.js +0 -5
  184. package/dist/api/types/SearchResultsVariableValue.d.ts +0 -8
  185. package/dist/api/types/SearchResultsVariableValue.js +0 -5
  186. package/dist/api/types/StringVariableValue.d.ts +0 -7
  187. package/dist/api/types/StringVariableValue.js +0 -5
  188. package/dist/serialization/types/ArrayVariableValue.d.ts +0 -13
  189. package/dist/serialization/types/ArrayVariableValueItem.d.ts +0 -19
  190. package/dist/serialization/types/ArrayVariableValueItem.js +0 -52
  191. package/dist/serialization/types/AudioVariableValue.d.ts +0 -14
  192. package/dist/serialization/types/AudioVariableValue.js +0 -35
  193. package/dist/serialization/types/ChatHistoryVariableValue.d.ts +0 -14
  194. package/dist/serialization/types/ErrorVariableValue.d.ts +0 -14
  195. package/dist/serialization/types/ErrorVariableValue.js +0 -35
  196. package/dist/serialization/types/FunctionCallVariableValue.d.ts +0 -14
  197. package/dist/serialization/types/FunctionCallVariableValue.js +0 -35
  198. package/dist/serialization/types/ImageVariableValue.d.ts +0 -14
  199. package/dist/serialization/types/ImageVariableValue.js +0 -35
  200. package/dist/serialization/types/JsonVariableValue.d.ts +0 -13
  201. package/dist/serialization/types/NumberVariableValue.d.ts +0 -13
  202. package/dist/serialization/types/SearchResultsVariableValue.d.ts +0 -14
  203. package/dist/serialization/types/SearchResultsVariableValue.js +0 -35
  204. package/dist/serialization/types/StringVariableValue.d.ts +0 -13
  205. package/serialization/types/ArrayVariableValue.d.ts +0 -13
  206. package/serialization/types/ArrayVariableValue.js +0 -35
  207. package/serialization/types/ArrayVariableValueItem.d.ts +0 -19
  208. package/serialization/types/ArrayVariableValueItem.js +0 -52
  209. package/serialization/types/AudioVariableValue.d.ts +0 -14
  210. package/serialization/types/AudioVariableValue.js +0 -35
  211. package/serialization/types/ChatHistoryVariableValue.d.ts +0 -14
  212. package/serialization/types/ChatHistoryVariableValue.js +0 -35
  213. package/serialization/types/ErrorVariableValue.d.ts +0 -14
  214. package/serialization/types/ErrorVariableValue.js +0 -35
  215. package/serialization/types/FunctionCallVariableValue.d.ts +0 -14
  216. package/serialization/types/FunctionCallVariableValue.js +0 -35
  217. package/serialization/types/ImageVariableValue.d.ts +0 -14
  218. package/serialization/types/ImageVariableValue.js +0 -35
  219. package/serialization/types/JsonVariableValue.d.ts +0 -13
  220. package/serialization/types/NumberVariableValue.d.ts +0 -13
  221. package/serialization/types/NumberVariableValue.js +0 -34
  222. package/serialization/types/SearchResultsVariableValue.d.ts +0 -14
  223. package/serialization/types/SearchResultsVariableValue.js +0 -35
  224. package/serialization/types/StringVariableValue.d.ts +0 -13
  225. package/serialization/types/StringVariableValue.js +0 -34
  226. /package/api/types/{ArrayVariableValue.js → OrganizationRead.js} +0 -0
  227. /package/api/types/{ArrayVariableValueItem.js → WorkspaceRead.js} +0 -0
  228. /package/{api/types/AudioVariableValue.js → dist/api/types/OrganizationRead.js} +0 -0
  229. /package/{api/types/ChatHistoryVariableValue.js → dist/api/types/WorkspaceRead.js} +0 -0
@@ -933,27 +933,6 @@ types:
933
933
  value: list<VellumValue>
934
934
  source:
935
935
  openapi: openapi/openapi.yml
936
- ArrayVariableValue:
937
- properties:
938
- type: literal<"ARRAY">
939
- value: optional<list<ArrayVariableValueItem>>
940
- source:
941
- openapi: openapi/openapi.yml
942
- ArrayVariableValueItem:
943
- discriminated: false
944
- union:
945
- - StringVariableValue
946
- - NumberVariableValue
947
- - JsonVariableValue
948
- - ErrorVariableValue
949
- - FunctionCallVariableValue
950
- - ImageVariableValue
951
- - AudioVariableValue
952
- - ChatHistoryVariableValue
953
- - SearchResultsVariableValue
954
- - ArrayVariableValue
955
- source:
956
- openapi: openapi/openapi.yml
957
936
  ArrayVellumValue:
958
937
  docs: A value representing an array of Vellum variable values.
959
938
  properties:
@@ -996,13 +975,6 @@ types:
996
975
  metadata: optional<map<string, unknown>>
997
976
  source:
998
977
  openapi: openapi/openapi.yml
999
- AudioVariableValue:
1000
- docs: A base Vellum primitive value representing audio.
1001
- properties:
1002
- type: literal<"AUDIO">
1003
- value: optional<VellumAudio>
1004
- source:
1005
- openapi: openapi/openapi.yml
1006
978
  AudioVellumValue:
1007
979
  docs: A base Vellum primitive value representing audio.
1008
980
  properties:
@@ -1084,12 +1056,6 @@ types:
1084
1056
  value: list<ChatMessageRequest>
1085
1057
  source:
1086
1058
  openapi: openapi/openapi.yml
1087
- ChatHistoryVariableValue:
1088
- properties:
1089
- type: literal<"CHAT_HISTORY">
1090
- value: optional<list<ChatMessage>>
1091
- source:
1092
- openapi: openapi/openapi.yml
1093
1059
  ChatHistoryVellumValue:
1094
1060
  docs: A value representing Chat History.
1095
1061
  properties:
@@ -1794,12 +1760,6 @@ types:
1794
1760
  value: VellumError
1795
1761
  source:
1796
1762
  openapi: openapi/openapi.yml
1797
- ErrorVariableValue:
1798
- properties:
1799
- type: literal<"ERROR">
1800
- value: optional<VellumError>
1801
- source:
1802
- openapi: openapi/openapi.yml
1803
1763
  ErrorVellumValue:
1804
1764
  docs: A value representing an Error.
1805
1765
  properties:
@@ -2306,12 +2266,6 @@ types:
2306
2266
  minLength: 1
2307
2267
  source:
2308
2268
  openapi: openapi/openapi.yml
2309
- FunctionCallVariableValue:
2310
- properties:
2311
- type: literal<"FUNCTION_CALL">
2312
- value: optional<FunctionCall>
2313
- source:
2314
- openapi: openapi/openapi.yml
2315
2269
  FunctionCallVellumValue:
2316
2270
  docs: A value representing a Function Call.
2317
2271
  properties:
@@ -2535,13 +2489,6 @@ types:
2535
2489
  metadata: optional<map<string, unknown>>
2536
2490
  source:
2537
2491
  openapi: openapi/openapi.yml
2538
- ImageVariableValue:
2539
- docs: A base Vellum primitive value representing an image.
2540
- properties:
2541
- type: literal<"IMAGE">
2542
- value: optional<VellumImage>
2543
- source:
2544
- openapi: openapi/openapi.yml
2545
2492
  ImageVellumValue:
2546
2493
  docs: A base Vellum primitive value representing an image.
2547
2494
  properties:
@@ -2715,12 +2662,6 @@ types:
2715
2662
  source:
2716
2663
  openapi: openapi/openapi.yml
2717
2664
  JsonEnum: literal<"JSON">
2718
- JsonVariableValue:
2719
- properties:
2720
- type: literal<"JSON">
2721
- value: unknown
2722
- source:
2723
- openapi: openapi/openapi.yml
2724
2665
  JsonVellumValue:
2725
2666
  docs: A value representing a JSON object.
2726
2667
  properties:
@@ -2797,6 +2738,8 @@ types:
2797
2738
  - notBlank
2798
2739
  - coalesce
2799
2740
  - accessField
2741
+ - and
2742
+ - or
2800
2743
  docs: |-
2801
2744
  * `=` - EQUALS
2802
2745
  * `!=` - DOES_NOT_EQUAL
@@ -2820,6 +2763,8 @@ types:
2820
2763
  * `notBlank` - NOT_BLANK
2821
2764
  * `coalesce` - COALESCE
2822
2765
  * `accessField` - ACCESS_FIELD
2766
+ * `and` - AND
2767
+ * `or` - OR
2823
2768
  source:
2824
2769
  openapi: openapi/openapi.yml
2825
2770
  LogprobsEnum:
@@ -3193,6 +3138,20 @@ types:
3193
3138
  - NamedTestCaseArrayVariableValueRequest
3194
3139
  source:
3195
3140
  openapi: openapi/openapi.yml
3141
+ NewMemberJoinBehaviorEnum:
3142
+ enum:
3143
+ - AUTO_ACCEPT_FROM_SHARED_DOMAIN
3144
+ - ALLOW_REQUESTS_FROM_SHARED_DOMAIN
3145
+ - REQUIRE_EXPLICIT_INVITE
3146
+ docs: >-
3147
+ * `AUTO_ACCEPT_FROM_SHARED_DOMAIN` - Auto-Accept from Shared Domain
3148
+
3149
+ * `ALLOW_REQUESTS_FROM_SHARED_DOMAIN` - Allows Requests from Shared
3150
+ Domains
3151
+
3152
+ * `REQUIRE_EXPLICIT_INVITE` - Require Explicit Invite
3153
+ source:
3154
+ openapi: openapi/openapi.yml
3196
3155
  NodeInputCompiledArrayValue:
3197
3156
  properties:
3198
3157
  node_input_id: string
@@ -3382,12 +3341,6 @@ types:
3382
3341
  value: double
3383
3342
  source:
3384
3343
  openapi: openapi/openapi.yml
3385
- NumberVariableValue:
3386
- properties:
3387
- type: literal<"NUMBER">
3388
- value: optional<double>
3389
- source:
3390
- openapi: openapi/openapi.yml
3391
3344
  NumberVellumValue:
3392
3345
  docs: A value representing a number.
3393
3346
  properties:
@@ -3456,6 +3409,20 @@ types:
3456
3409
  model_name: literal<"text-embedding-ada-002">
3457
3410
  source:
3458
3411
  openapi: openapi/openapi.yml
3412
+ OrganizationRead:
3413
+ properties:
3414
+ id:
3415
+ type: string
3416
+ validation:
3417
+ format: uuid
3418
+ name:
3419
+ type: string
3420
+ validation:
3421
+ maxLength: 150
3422
+ allow_staff_access: optional<boolean>
3423
+ new_member_join_behavior: NewMemberJoinBehaviorEnum
3424
+ source:
3425
+ openapi: openapi/openapi.yml
3459
3426
  PaginatedContainerImageReadList:
3460
3427
  properties:
3461
3428
  count: optional<integer>
@@ -4237,12 +4204,6 @@ types:
4237
4204
  value: list<SearchResult>
4238
4205
  source:
4239
4206
  openapi: openapi/openapi.yml
4240
- SearchResultsVariableValue:
4241
- properties:
4242
- type: literal<"SEARCH_RESULTS">
4243
- value: optional<list<SearchResult>>
4244
- source:
4245
- openapi: openapi/openapi.yml
4246
4207
  SearchResultsVellumValue:
4247
4208
  docs: A value representing Search Results.
4248
4209
  properties:
@@ -4603,12 +4564,6 @@ types:
4603
4564
  value: string
4604
4565
  source:
4605
4566
  openapi: openapi/openapi.yml
4606
- StringVariableValue:
4607
- properties:
4608
- type: literal<"STRING">
4609
- value: optional<string>
4610
- source:
4611
- openapi: openapi/openapi.yml
4612
4567
  StringVellumValue:
4613
4568
  docs: A value representing a string.
4614
4569
  properties:
@@ -6652,7 +6607,7 @@ types:
6652
6607
  The newly output string value. Only relevant for string outputs with a
6653
6608
  state of STREAMING.
6654
6609
  type: literal<"ARRAY">
6655
- value: optional<list<ArrayVariableValueItem>>
6610
+ value: optional<list<VellumValue>>
6656
6611
  source:
6657
6612
  openapi: openapi/openapi.yml
6658
6613
  WorkflowResultEventOutputDataChatHistory:
@@ -6799,6 +6754,21 @@ types:
6799
6754
  - WorkflowExecutionNodeResultEvent
6800
6755
  source:
6801
6756
  openapi: openapi/openapi.yml
6757
+ WorkspaceRead:
6758
+ properties:
6759
+ id:
6760
+ type: string
6761
+ validation:
6762
+ format: uuid
6763
+ name:
6764
+ type: string
6765
+ docs: The name of the Workspace.
6766
+ validation:
6767
+ maxLength: 150
6768
+ label: string
6769
+ created: datetime
6770
+ source:
6771
+ openapi: openapi/openapi.yml
6802
6772
  WorkspaceSecretRead:
6803
6773
  properties:
6804
6774
  id:
@@ -0,0 +1,29 @@
1
+ imports:
2
+ root: __package__.yml
3
+ service:
4
+ auth: false
5
+ base-path: ''
6
+ endpoints:
7
+ organization_identity:
8
+ path: /v1/organizations/identity
9
+ method: GET
10
+ auth: false
11
+ docs: Retrieves information about the active Organization
12
+ source:
13
+ openapi: openapi/openapi.yml
14
+ response:
15
+ docs: ''
16
+ type: root.OrganizationRead
17
+ url: Default
18
+ availability: pre-release
19
+ examples:
20
+ - response:
21
+ body:
22
+ id: id
23
+ name: name
24
+ allow_staff_access: true
25
+ new_member_join_behavior: AUTO_ACCEPT_FROM_SHARED_DOMAIN
26
+ audiences:
27
+ - internal
28
+ source:
29
+ openapi: openapi/openapi.yml
@@ -62,6 +62,7 @@ service:
62
62
  deployment_config: optional<root.WorkflowPushDeploymentConfigRequest>
63
63
  artifact: optional<file>
64
64
  dry_run: optional<boolean>
65
+ strict: optional<boolean>
65
66
  content-type: multipart/form-data
66
67
  response:
67
68
  docs: ''
@@ -0,0 +1,29 @@
1
+ imports:
2
+ root: __package__.yml
3
+ service:
4
+ auth: false
5
+ base-path: ''
6
+ endpoints:
7
+ workspace_identity:
8
+ path: /v1/workspaces/identity
9
+ method: GET
10
+ auth: false
11
+ docs: Retrieves information about the active Workspace
12
+ source:
13
+ openapi: openapi/openapi.yml
14
+ response:
15
+ docs: ''
16
+ type: root.WorkspaceRead
17
+ url: Default
18
+ availability: pre-release
19
+ examples:
20
+ - response:
21
+ body:
22
+ id: id
23
+ name: name
24
+ label: label
25
+ created: '2024-01-15T09:30:00Z'
26
+ audiences:
27
+ - internal
28
+ source:
29
+ openapi: openapi/openapi.yml
@@ -1447,6 +1447,22 @@ paths:
1447
1447
  x-fern-availability: beta
1448
1448
  x-fern-audiences:
1449
1449
  - internal
1450
+ /v1/organizations/identity:
1451
+ get:
1452
+ operationId: organization_identity
1453
+ description: Retrieves information about the active Organization
1454
+ tags:
1455
+ - organizations
1456
+ responses:
1457
+ '200':
1458
+ content:
1459
+ application/json:
1460
+ schema:
1461
+ $ref: '#/components/schemas/OrganizationRead'
1462
+ description: ''
1463
+ x-fern-availability: beta
1464
+ x-fern-audiences:
1465
+ - internal
1450
1466
  /v1/sandboxes/{id}/prompts/{prompt_variant_id}/deploy:
1451
1467
  post:
1452
1468
  operationId: deploy_prompt
@@ -2406,6 +2422,22 @@ paths:
2406
2422
  x-fern-availability: beta
2407
2423
  x-fern-audiences:
2408
2424
  - customers
2425
+ /v1/workspaces/identity:
2426
+ get:
2427
+ operationId: workspace_identity
2428
+ description: Retrieves information about the active Workspace
2429
+ tags:
2430
+ - workspaces
2431
+ responses:
2432
+ '200':
2433
+ content:
2434
+ application/json:
2435
+ schema:
2436
+ $ref: '#/components/schemas/WorkspaceRead'
2437
+ description: ''
2438
+ x-fern-availability: beta
2439
+ x-fern-audiences:
2440
+ - internal
2409
2441
  components:
2410
2442
  schemas:
2411
2443
  AdHocExecutePromptEvent:
@@ -2652,44 +2684,6 @@ components:
2652
2684
  - name
2653
2685
  - type
2654
2686
  - value
2655
- ArrayVariableValue:
2656
- type: object
2657
- properties:
2658
- type:
2659
- type: string
2660
- value:
2661
- type: array
2662
- items:
2663
- $ref: '#/components/schemas/ArrayVariableValueItem'
2664
- nullable: true
2665
- required:
2666
- - type
2667
- - value
2668
- ArrayVariableValueItem:
2669
- oneOf:
2670
- - $ref: '#/components/schemas/StringVariableValue'
2671
- - $ref: '#/components/schemas/NumberVariableValue'
2672
- - $ref: '#/components/schemas/JsonVariableValue'
2673
- - $ref: '#/components/schemas/ErrorVariableValue'
2674
- - $ref: '#/components/schemas/FunctionCallVariableValue'
2675
- - $ref: '#/components/schemas/ImageVariableValue'
2676
- - $ref: '#/components/schemas/AudioVariableValue'
2677
- - $ref: '#/components/schemas/ChatHistoryVariableValue'
2678
- - $ref: '#/components/schemas/SearchResultsVariableValue'
2679
- - $ref: '#/components/schemas/ArrayVariableValue'
2680
- discriminator:
2681
- propertyName: type
2682
- mapping:
2683
- STRING: '#/components/schemas/StringVariableValue'
2684
- NUMBER: '#/components/schemas/NumberVariableValue'
2685
- JSON: '#/components/schemas/JsonVariableValue'
2686
- ERROR: '#/components/schemas/ErrorVariableValue'
2687
- FUNCTION_CALL: '#/components/schemas/FunctionCallVariableValue'
2688
- IMAGE: '#/components/schemas/ImageVariableValue'
2689
- AUDIO: '#/components/schemas/AudioVariableValue'
2690
- CHAT_HISTORY: '#/components/schemas/ChatHistoryVariableValue'
2691
- SEARCH_RESULTS: '#/components/schemas/SearchResultsVariableValue'
2692
- ARRAY: '#/components/schemas/ArrayVariableValue'
2693
2687
  ArrayVellumValue:
2694
2688
  type: object
2695
2689
  description: A value representing an array of Vellum variable values.
@@ -2768,19 +2762,6 @@ components:
2768
2762
  required:
2769
2763
  - block_type
2770
2764
  - src
2771
- AudioVariableValue:
2772
- type: object
2773
- description: A base Vellum primitive value representing audio.
2774
- properties:
2775
- type:
2776
- $ref: '#/components/schemas/AudioEnum'
2777
- value:
2778
- allOf:
2779
- - $ref: '#/components/schemas/VellumAudio'
2780
- nullable: true
2781
- required:
2782
- - type
2783
- - value
2784
2765
  AudioVellumValue:
2785
2766
  type: object
2786
2767
  description: A base Vellum primitive value representing audio.
@@ -2919,19 +2900,6 @@ components:
2919
2900
  - name
2920
2901
  - type
2921
2902
  - value
2922
- ChatHistoryVariableValue:
2923
- type: object
2924
- properties:
2925
- type:
2926
- type: string
2927
- value:
2928
- type: array
2929
- items:
2930
- $ref: '#/components/schemas/ChatMessage'
2931
- nullable: true
2932
- required:
2933
- - type
2934
- - value
2935
2903
  ChatHistoryVellumValue:
2936
2904
  type: object
2937
2905
  description: A value representing Chat History.
@@ -4134,18 +4102,6 @@ components:
4134
4102
  - name
4135
4103
  - type
4136
4104
  - value
4137
- ErrorVariableValue:
4138
- type: object
4139
- properties:
4140
- type:
4141
- type: string
4142
- value:
4143
- allOf:
4144
- - $ref: '#/components/schemas/VellumError'
4145
- nullable: true
4146
- required:
4147
- - type
4148
- - value
4149
4105
  ErrorVellumValue:
4150
4106
  type: object
4151
4107
  description: A value representing an Error.
@@ -5203,18 +5159,6 @@ components:
5203
5159
  required:
5204
5160
  - arguments
5205
5161
  - name
5206
- FunctionCallVariableValue:
5207
- type: object
5208
- properties:
5209
- type:
5210
- type: string
5211
- value:
5212
- allOf:
5213
- - $ref: '#/components/schemas/FunctionCall'
5214
- nullable: true
5215
- required:
5216
- - type
5217
- - value
5218
5162
  FunctionCallVellumValue:
5219
5163
  type: object
5220
5164
  description: A value representing a Function Call.
@@ -5582,19 +5526,6 @@ components:
5582
5526
  required:
5583
5527
  - block_type
5584
5528
  - src
5585
- ImageVariableValue:
5586
- type: object
5587
- description: A base Vellum primitive value representing an image.
5588
- properties:
5589
- type:
5590
- $ref: '#/components/schemas/ImageEnum'
5591
- value:
5592
- allOf:
5593
- - $ref: '#/components/schemas/VellumImage'
5594
- nullable: true
5595
- required:
5596
- - type
5597
- - value
5598
5529
  ImageVellumValue:
5599
5530
  type: object
5600
5531
  description: A base Vellum primitive value representing an image.
@@ -5862,16 +5793,6 @@ components:
5862
5793
  type: string
5863
5794
  enum:
5864
5795
  - JSON
5865
- JsonVariableValue:
5866
- type: object
5867
- properties:
5868
- type:
5869
- type: string
5870
- value:
5871
- nullable: true
5872
- required:
5873
- - type
5874
- - value
5875
5796
  JsonVellumValue:
5876
5797
  type: object
5877
5798
  description: A value representing a JSON object.
@@ -5926,6 +5847,8 @@ components:
5926
5847
  - notBlank
5927
5848
  - coalesce
5928
5849
  - accessField
5850
+ - and
5851
+ - or
5929
5852
  type: string
5930
5853
  description: |-
5931
5854
  * `=` - EQUALS
@@ -5950,6 +5873,8 @@ components:
5950
5873
  * `notBlank` - NOT_BLANK
5951
5874
  * `coalesce` - COALESCE
5952
5875
  * `accessField` - ACCESS_FIELD
5876
+ * `and` - AND
5877
+ * `or` - OR
5953
5878
  x-fern-enum:
5954
5879
  '=':
5955
5880
  name: EQUALS
@@ -6602,6 +6527,16 @@ components:
6602
6527
  ERROR: '#/components/schemas/NamedTestCaseErrorVariableValueRequest'
6603
6528
  FUNCTION_CALL: '#/components/schemas/NamedTestCaseFunctionCallVariableValueRequest'
6604
6529
  ARRAY: '#/components/schemas/NamedTestCaseArrayVariableValueRequest'
6530
+ NewMemberJoinBehaviorEnum:
6531
+ enum:
6532
+ - AUTO_ACCEPT_FROM_SHARED_DOMAIN
6533
+ - ALLOW_REQUESTS_FROM_SHARED_DOMAIN
6534
+ - REQUIRE_EXPLICIT_INVITE
6535
+ type: string
6536
+ description: |-
6537
+ * `AUTO_ACCEPT_FROM_SHARED_DOMAIN` - Auto-Accept from Shared Domain
6538
+ * `ALLOW_REQUESTS_FROM_SHARED_DOMAIN` - Allows Requests from Shared Domains
6539
+ * `REQUIRE_EXPLICIT_INVITE` - Require Explicit Invite
6605
6540
  NodeInputCompiledArrayValue:
6606
6541
  type: object
6607
6542
  properties:
@@ -6989,18 +6924,6 @@ components:
6989
6924
  - name
6990
6925
  - type
6991
6926
  - value
6992
- NumberVariableValue:
6993
- type: object
6994
- properties:
6995
- type:
6996
- type: string
6997
- value:
6998
- type: number
6999
- format: double
7000
- nullable: true
7001
- required:
7002
- - type
7003
- - value
7004
6927
  NumberVellumValue:
7005
6928
  type: object
7006
6929
  description: A value representing a number.
@@ -7109,6 +7032,24 @@ components:
7109
7032
  required:
7110
7033
  - config
7111
7034
  - model_name
7035
+ OrganizationRead:
7036
+ type: object
7037
+ properties:
7038
+ id:
7039
+ type: string
7040
+ format: uuid
7041
+ readOnly: true
7042
+ name:
7043
+ type: string
7044
+ maxLength: 150
7045
+ allow_staff_access:
7046
+ type: boolean
7047
+ new_member_join_behavior:
7048
+ $ref: '#/components/schemas/NewMemberJoinBehaviorEnum'
7049
+ required:
7050
+ - id
7051
+ - name
7052
+ - new_member_join_behavior
7112
7053
  PaginatedContainerImageReadList:
7113
7054
  type: object
7114
7055
  properties:
@@ -8402,19 +8343,6 @@ components:
8402
8343
  - name
8403
8344
  - type
8404
8345
  - value
8405
- SearchResultsVariableValue:
8406
- type: object
8407
- properties:
8408
- type:
8409
- type: string
8410
- value:
8411
- type: array
8412
- items:
8413
- $ref: '#/components/schemas/SearchResult'
8414
- nullable: true
8415
- required:
8416
- - type
8417
- - value
8418
8346
  SearchResultsVellumValue:
8419
8347
  type: object
8420
8348
  description: A value representing Search Results.
@@ -8896,17 +8824,6 @@ components:
8896
8824
  - name
8897
8825
  - type
8898
8826
  - value
8899
- StringVariableValue:
8900
- type: object
8901
- properties:
8902
- type:
8903
- type: string
8904
- value:
8905
- type: string
8906
- nullable: true
8907
- required:
8908
- - type
8909
- - value
8910
8827
  StringVellumValue:
8911
8828
  type: object
8912
8829
  description: A value representing a string.
@@ -11727,6 +11644,8 @@ components:
11727
11644
  description: The contents of the artifact tar.gz file.
11728
11645
  dry_run:
11729
11646
  type: boolean
11647
+ strict:
11648
+ type: boolean
11730
11649
  required:
11731
11650
  - exec_config
11732
11651
  - label
@@ -11941,7 +11860,7 @@ components:
11941
11860
  value:
11942
11861
  type: array
11943
11862
  items:
11944
- $ref: '#/components/schemas/ArrayVariableValueItem'
11863
+ $ref: '#/components/schemas/VellumValue'
11945
11864
  nullable: true
11946
11865
  required:
11947
11866
  - delta
@@ -12190,6 +12109,29 @@ components:
12190
12109
  mapping:
12191
12110
  WORKFLOW: '#/components/schemas/WorkflowExecutionWorkflowResultEvent'
12192
12111
  NODE: '#/components/schemas/WorkflowExecutionNodeResultEvent'
12112
+ WorkspaceRead:
12113
+ type: object
12114
+ properties:
12115
+ id:
12116
+ type: string
12117
+ format: uuid
12118
+ readOnly: true
12119
+ name:
12120
+ type: string
12121
+ description: The name of the Workspace.
12122
+ maxLength: 150
12123
+ label:
12124
+ type: string
12125
+ readOnly: true
12126
+ created:
12127
+ type: string
12128
+ format: date-time
12129
+ readOnly: true
12130
+ required:
12131
+ - created
12132
+ - id
12133
+ - label
12134
+ - name
12193
12135
  WorkspaceSecretRead:
12194
12136
  type: object
12195
12137
  properties: