vellum-ai 0.9.4 → 0.9.6

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 (185) hide show
  1. package/.mock/definition/__package__.yml +37 -29
  2. package/.mock/definition/deployments.yml +50 -1
  3. package/.mock/definition/workflowDeployments.yml +49 -0
  4. package/.mock/definition/workflows.yml +15 -2
  5. package/.mock/openapi/openapi.yml +174 -39
  6. package/Client.js +10 -10
  7. package/api/resources/adHoc/client/Client.js +1 -1
  8. package/api/resources/adHoc/client/requests/AdHocExecutePromptStreamRequest.d.ts +5 -6
  9. package/api/resources/containerImages/client/Client.js +4 -4
  10. package/api/resources/deployments/client/Client.d.ts +12 -1
  11. package/api/resources/deployments/client/Client.js +74 -6
  12. package/api/resources/deployments/client/requests/ListDeploymentReleaseTagsRequest.d.ts +23 -0
  13. package/api/resources/deployments/client/requests/ListDeploymentReleaseTagsRequest.js +5 -0
  14. package/api/resources/deployments/client/requests/index.d.ts +1 -0
  15. package/api/resources/deployments/types/ListDeploymentReleaseTagsRequestSource.d.ts +8 -0
  16. package/api/resources/deployments/types/ListDeploymentReleaseTagsRequestSource.js +10 -0
  17. package/api/resources/deployments/types/index.d.ts +1 -0
  18. package/api/resources/deployments/types/index.js +1 -0
  19. package/api/resources/documentIndexes/client/Client.js +8 -8
  20. package/api/resources/documents/client/Client.js +5 -5
  21. package/api/resources/folderEntities/client/Client.js +2 -2
  22. package/api/resources/index.d.ts +2 -1
  23. package/api/resources/index.js +3 -2
  24. package/api/resources/metricDefinitions/client/Client.js +1 -1
  25. package/api/resources/sandboxes/client/Client.js +3 -3
  26. package/api/resources/testSuiteRuns/client/Client.js +3 -3
  27. package/api/resources/testSuites/client/Client.js +4 -4
  28. package/api/resources/workflowDeployments/client/Client.d.ts +11 -0
  29. package/api/resources/workflowDeployments/client/Client.js +72 -4
  30. package/api/resources/workflowDeployments/client/requests/ListWorkflowReleaseTagsRequest.d.ts +23 -0
  31. package/api/resources/workflowDeployments/client/requests/ListWorkflowReleaseTagsRequest.js +5 -0
  32. package/api/resources/workflowDeployments/client/requests/index.d.ts +1 -0
  33. package/api/resources/workflowDeployments/types/ListWorkflowReleaseTagsRequestSource.d.ts +8 -0
  34. package/api/resources/workflowDeployments/types/ListWorkflowReleaseTagsRequestSource.js +10 -0
  35. package/api/resources/workflowDeployments/types/index.d.ts +1 -0
  36. package/api/resources/workflowDeployments/types/index.js +1 -0
  37. package/api/resources/workflowSandboxes/client/Client.js +1 -1
  38. package/api/resources/workflows/client/Client.d.ts +3 -2
  39. package/api/resources/workflows/client/Client.js +20 -7
  40. package/api/resources/workflows/client/requests/WorkflowsPullRequest.d.ts +13 -0
  41. package/api/resources/workflows/client/requests/WorkflowsPullRequest.js +5 -0
  42. package/api/resources/workflows/client/requests/index.d.ts +1 -0
  43. package/api/resources/workflows/index.d.ts +1 -0
  44. package/api/resources/workflows/index.js +1 -0
  45. package/api/resources/workflows/types/WorkflowsPullRequestFormat.d.ts +8 -0
  46. package/api/resources/workflows/types/WorkflowsPullRequestFormat.js +10 -0
  47. package/api/resources/workflows/types/index.d.ts +1 -0
  48. package/api/resources/workflows/types/index.js +17 -0
  49. package/api/resources/workspaceSecrets/client/Client.js +2 -2
  50. package/api/types/ChatMessagePromptBlockRequest.d.ts +2 -3
  51. package/api/types/FunctionDefinitionPromptBlockRequest.d.ts +2 -3
  52. package/api/types/JinjaPromptBlockRequest.d.ts +2 -3
  53. package/api/types/PaginatedDeploymentReleaseTagReadList.d.ts +10 -0
  54. package/api/types/PaginatedDeploymentReleaseTagReadList.js +5 -0
  55. package/api/types/PaginatedWorkflowReleaseTagReadList.d.ts +10 -0
  56. package/api/types/PaginatedWorkflowReleaseTagReadList.js +5 -0
  57. package/api/types/PlainTextPromptBlockRequest.d.ts +2 -3
  58. package/api/types/VariablePromptBlockRequest.d.ts +1 -2
  59. package/api/types/index.d.ts +2 -0
  60. package/api/types/index.js +2 -0
  61. package/dist/Client.js +10 -10
  62. package/dist/api/resources/adHoc/client/Client.js +1 -1
  63. package/dist/api/resources/adHoc/client/requests/AdHocExecutePromptStreamRequest.d.ts +5 -6
  64. package/dist/api/resources/containerImages/client/Client.js +4 -4
  65. package/dist/api/resources/deployments/client/Client.d.ts +12 -1
  66. package/dist/api/resources/deployments/client/Client.js +74 -6
  67. package/dist/api/resources/deployments/client/requests/ListDeploymentReleaseTagsRequest.d.ts +23 -0
  68. package/dist/api/resources/deployments/client/requests/ListDeploymentReleaseTagsRequest.js +5 -0
  69. package/dist/api/resources/deployments/client/requests/index.d.ts +1 -0
  70. package/dist/api/resources/deployments/types/ListDeploymentReleaseTagsRequestSource.d.ts +8 -0
  71. package/dist/api/resources/deployments/types/ListDeploymentReleaseTagsRequestSource.js +10 -0
  72. package/dist/api/resources/deployments/types/index.d.ts +1 -0
  73. package/dist/api/resources/deployments/types/index.js +1 -0
  74. package/dist/api/resources/documentIndexes/client/Client.js +8 -8
  75. package/dist/api/resources/documents/client/Client.js +5 -5
  76. package/dist/api/resources/folderEntities/client/Client.js +2 -2
  77. package/dist/api/resources/index.d.ts +2 -1
  78. package/dist/api/resources/index.js +3 -2
  79. package/dist/api/resources/metricDefinitions/client/Client.js +1 -1
  80. package/dist/api/resources/sandboxes/client/Client.js +3 -3
  81. package/dist/api/resources/testSuiteRuns/client/Client.js +3 -3
  82. package/dist/api/resources/testSuites/client/Client.js +4 -4
  83. package/dist/api/resources/workflowDeployments/client/Client.d.ts +11 -0
  84. package/dist/api/resources/workflowDeployments/client/Client.js +72 -4
  85. package/dist/api/resources/workflowDeployments/client/requests/ListWorkflowReleaseTagsRequest.d.ts +23 -0
  86. package/dist/api/resources/workflowDeployments/client/requests/ListWorkflowReleaseTagsRequest.js +5 -0
  87. package/dist/api/resources/workflowDeployments/client/requests/index.d.ts +1 -0
  88. package/dist/api/resources/workflowDeployments/types/ListWorkflowReleaseTagsRequestSource.d.ts +8 -0
  89. package/dist/api/resources/workflowDeployments/types/ListWorkflowReleaseTagsRequestSource.js +10 -0
  90. package/dist/api/resources/workflowDeployments/types/index.d.ts +1 -0
  91. package/dist/api/resources/workflowDeployments/types/index.js +1 -0
  92. package/dist/api/resources/workflowSandboxes/client/Client.js +1 -1
  93. package/dist/api/resources/workflows/client/Client.d.ts +3 -2
  94. package/dist/api/resources/workflows/client/Client.js +20 -7
  95. package/dist/api/resources/workflows/client/requests/WorkflowsPullRequest.d.ts +13 -0
  96. package/dist/api/resources/workflows/client/requests/WorkflowsPullRequest.js +5 -0
  97. package/dist/api/resources/workflows/client/requests/index.d.ts +1 -0
  98. package/dist/api/resources/workflows/index.d.ts +1 -0
  99. package/dist/api/resources/workflows/index.js +1 -0
  100. package/dist/api/resources/workflows/types/WorkflowsPullRequestFormat.d.ts +8 -0
  101. package/dist/api/resources/workflows/types/WorkflowsPullRequestFormat.js +10 -0
  102. package/dist/api/resources/workflows/types/index.d.ts +1 -0
  103. package/dist/api/resources/workflows/types/index.js +17 -0
  104. package/dist/api/resources/workspaceSecrets/client/Client.js +2 -2
  105. package/dist/api/types/ChatMessagePromptBlockRequest.d.ts +2 -3
  106. package/dist/api/types/FunctionDefinitionPromptBlockRequest.d.ts +2 -3
  107. package/dist/api/types/JinjaPromptBlockRequest.d.ts +2 -3
  108. package/dist/api/types/PaginatedDeploymentReleaseTagReadList.d.ts +10 -0
  109. package/dist/api/types/PaginatedDeploymentReleaseTagReadList.js +5 -0
  110. package/dist/api/types/PaginatedWorkflowReleaseTagReadList.d.ts +10 -0
  111. package/dist/api/types/PaginatedWorkflowReleaseTagReadList.js +5 -0
  112. package/dist/api/types/PlainTextPromptBlockRequest.d.ts +2 -3
  113. package/dist/api/types/VariablePromptBlockRequest.d.ts +1 -2
  114. package/dist/api/types/index.d.ts +2 -0
  115. package/dist/api/types/index.js +2 -0
  116. package/dist/serialization/resources/deployments/types/ListDeploymentReleaseTagsRequestSource.d.ts +10 -0
  117. package/dist/serialization/resources/deployments/types/ListDeploymentReleaseTagsRequestSource.js +31 -0
  118. package/dist/serialization/resources/deployments/types/index.d.ts +1 -0
  119. package/dist/serialization/resources/deployments/types/index.js +1 -0
  120. package/dist/serialization/resources/index.d.ts +2 -1
  121. package/dist/serialization/resources/index.js +3 -2
  122. package/dist/serialization/resources/workflowDeployments/types/ListWorkflowReleaseTagsRequestSource.d.ts +10 -0
  123. package/dist/serialization/resources/workflowDeployments/types/ListWorkflowReleaseTagsRequestSource.js +31 -0
  124. package/dist/serialization/resources/workflowDeployments/types/index.d.ts +1 -0
  125. package/dist/serialization/resources/workflowDeployments/types/index.js +1 -0
  126. package/dist/serialization/resources/workflows/index.d.ts +1 -0
  127. package/dist/serialization/resources/workflows/index.js +1 -0
  128. package/dist/serialization/resources/workflows/types/WorkflowsPullRequestFormat.d.ts +10 -0
  129. package/dist/serialization/resources/workflows/types/WorkflowsPullRequestFormat.js +31 -0
  130. package/dist/serialization/resources/workflows/types/index.d.ts +1 -0
  131. package/dist/serialization/resources/workflows/types/index.js +17 -0
  132. package/dist/serialization/types/ChatMessagePromptBlockRequest.d.ts +2 -3
  133. package/dist/serialization/types/ChatMessagePromptBlockRequest.js +2 -3
  134. package/dist/serialization/types/FunctionDefinitionPromptBlockRequest.d.ts +3 -4
  135. package/dist/serialization/types/FunctionDefinitionPromptBlockRequest.js +3 -4
  136. package/dist/serialization/types/JinjaPromptBlockRequest.d.ts +3 -4
  137. package/dist/serialization/types/JinjaPromptBlockRequest.js +3 -4
  138. package/dist/serialization/types/PaginatedDeploymentReleaseTagReadList.d.ts +16 -0
  139. package/dist/serialization/types/PaginatedDeploymentReleaseTagReadList.js +37 -0
  140. package/dist/serialization/types/PaginatedWorkflowReleaseTagReadList.d.ts +16 -0
  141. package/dist/serialization/types/PaginatedWorkflowReleaseTagReadList.js +37 -0
  142. package/dist/serialization/types/PlainTextPromptBlockRequest.d.ts +2 -3
  143. package/dist/serialization/types/PlainTextPromptBlockRequest.js +2 -3
  144. package/dist/serialization/types/VariablePromptBlockRequest.d.ts +1 -2
  145. package/dist/serialization/types/VariablePromptBlockRequest.js +1 -2
  146. package/dist/serialization/types/index.d.ts +2 -0
  147. package/dist/serialization/types/index.js +2 -0
  148. package/dist/version.d.ts +1 -1
  149. package/dist/version.js +1 -1
  150. package/package.json +1 -1
  151. package/reference.md +160 -9
  152. package/serialization/resources/deployments/types/ListDeploymentReleaseTagsRequestSource.d.ts +10 -0
  153. package/serialization/resources/deployments/types/ListDeploymentReleaseTagsRequestSource.js +31 -0
  154. package/serialization/resources/deployments/types/index.d.ts +1 -0
  155. package/serialization/resources/deployments/types/index.js +1 -0
  156. package/serialization/resources/index.d.ts +2 -1
  157. package/serialization/resources/index.js +3 -2
  158. package/serialization/resources/workflowDeployments/types/ListWorkflowReleaseTagsRequestSource.d.ts +10 -0
  159. package/serialization/resources/workflowDeployments/types/ListWorkflowReleaseTagsRequestSource.js +31 -0
  160. package/serialization/resources/workflowDeployments/types/index.d.ts +1 -0
  161. package/serialization/resources/workflowDeployments/types/index.js +1 -0
  162. package/serialization/resources/workflows/index.d.ts +1 -0
  163. package/serialization/resources/workflows/index.js +1 -0
  164. package/serialization/resources/workflows/types/WorkflowsPullRequestFormat.d.ts +10 -0
  165. package/serialization/resources/workflows/types/WorkflowsPullRequestFormat.js +31 -0
  166. package/serialization/resources/workflows/types/index.d.ts +1 -0
  167. package/serialization/resources/workflows/types/index.js +17 -0
  168. package/serialization/types/ChatMessagePromptBlockRequest.d.ts +2 -3
  169. package/serialization/types/ChatMessagePromptBlockRequest.js +2 -3
  170. package/serialization/types/FunctionDefinitionPromptBlockRequest.d.ts +3 -4
  171. package/serialization/types/FunctionDefinitionPromptBlockRequest.js +3 -4
  172. package/serialization/types/JinjaPromptBlockRequest.d.ts +3 -4
  173. package/serialization/types/JinjaPromptBlockRequest.js +3 -4
  174. package/serialization/types/PaginatedDeploymentReleaseTagReadList.d.ts +16 -0
  175. package/serialization/types/PaginatedDeploymentReleaseTagReadList.js +37 -0
  176. package/serialization/types/PaginatedWorkflowReleaseTagReadList.d.ts +16 -0
  177. package/serialization/types/PaginatedWorkflowReleaseTagReadList.js +37 -0
  178. package/serialization/types/PlainTextPromptBlockRequest.d.ts +2 -3
  179. package/serialization/types/PlainTextPromptBlockRequest.js +2 -3
  180. package/serialization/types/VariablePromptBlockRequest.d.ts +1 -2
  181. package/serialization/types/VariablePromptBlockRequest.js +1 -2
  182. package/serialization/types/index.d.ts +2 -0
  183. package/serialization/types/index.js +2 -0
  184. package/version.d.ts +1 -1
  185. package/version.js +1 -1
package/reference.md CHANGED
@@ -151,18 +151,17 @@ await client.adHoc.adhocExecutePromptStream({
151
151
  },
152
152
  blocks: [
153
153
  {
154
- blockType: "JINJA",
155
- properties: {
156
- template: "string",
157
- templateType: "STRING",
158
- },
159
- id: "string",
160
154
  state: "ENABLED",
161
155
  cacheConfig: {
162
156
  type: {
163
157
  key: "value",
164
158
  },
165
159
  },
160
+ blockType: "JINJA",
161
+ properties: {
162
+ template: "string",
163
+ templateType: "STRING",
164
+ },
166
165
  },
167
166
  ],
168
167
  expandMeta: {
@@ -584,6 +583,77 @@ await client.deployments.retrieve("id");
584
583
  </dl>
585
584
  </details>
586
585
 
586
+ <details><summary><code>client.deployments.<a href="/src/api/resources/deployments/client/Client.ts">listDeploymentReleaseTags</a>(id, { ...params }) -> Vellum.PaginatedDeploymentReleaseTagReadList</code></summary>
587
+ <dl>
588
+ <dd>
589
+
590
+ #### 📝 Description
591
+
592
+ <dl>
593
+ <dd>
594
+
595
+ <dl>
596
+ <dd>
597
+
598
+ List Release Tags associated with the specified Prompt Deployment
599
+
600
+ </dd>
601
+ </dl>
602
+ </dd>
603
+ </dl>
604
+
605
+ #### 🔌 Usage
606
+
607
+ <dl>
608
+ <dd>
609
+
610
+ <dl>
611
+ <dd>
612
+
613
+ ```typescript
614
+ await client.deployments.listDeploymentReleaseTags("id");
615
+ ```
616
+
617
+ </dd>
618
+ </dl>
619
+ </dd>
620
+ </dl>
621
+
622
+ #### ⚙️ Parameters
623
+
624
+ <dl>
625
+ <dd>
626
+
627
+ <dl>
628
+ <dd>
629
+
630
+ **id:** `string` — Either the Prompt Deployment's ID or its unique name
631
+
632
+ </dd>
633
+ </dl>
634
+
635
+ <dl>
636
+ <dd>
637
+
638
+ **request:** `Vellum.ListDeploymentReleaseTagsRequest`
639
+
640
+ </dd>
641
+ </dl>
642
+
643
+ <dl>
644
+ <dd>
645
+
646
+ **requestOptions:** `Deployments.RequestOptions`
647
+
648
+ </dd>
649
+ </dl>
650
+ </dd>
651
+ </dl>
652
+
653
+ </dd>
654
+ </dl>
655
+ </details>
656
+
587
657
  <details><summary><code>client.deployments.<a href="/src/api/resources/deployments/client/Client.ts">retrieveDeploymentReleaseTag</a>(id, name) -> Vellum.DeploymentReleaseTagRead</code></summary>
588
658
  <dl>
589
659
  <dd>
@@ -667,7 +737,7 @@ await client.deployments.retrieveDeploymentReleaseTag("id", "name");
667
737
  <dl>
668
738
  <dd>
669
739
 
670
- Updates an existing Release Tag associated with the specified Deployment.
740
+ Updates an existing Release Tag associated with the specified Prompt Deployment.
671
741
 
672
742
  </dd>
673
743
  </dl>
@@ -2824,6 +2894,77 @@ await client.workflowDeployments.retrieve("id");
2824
2894
  </dl>
2825
2895
  </details>
2826
2896
 
2897
+ <details><summary><code>client.workflowDeployments.<a href="/src/api/resources/workflowDeployments/client/Client.ts">listWorkflowReleaseTags</a>(id, { ...params }) -> Vellum.PaginatedWorkflowReleaseTagReadList</code></summary>
2898
+ <dl>
2899
+ <dd>
2900
+
2901
+ #### 📝 Description
2902
+
2903
+ <dl>
2904
+ <dd>
2905
+
2906
+ <dl>
2907
+ <dd>
2908
+
2909
+ List Release Tags associated with the specified Workflow Deployment
2910
+
2911
+ </dd>
2912
+ </dl>
2913
+ </dd>
2914
+ </dl>
2915
+
2916
+ #### 🔌 Usage
2917
+
2918
+ <dl>
2919
+ <dd>
2920
+
2921
+ <dl>
2922
+ <dd>
2923
+
2924
+ ```typescript
2925
+ await client.workflowDeployments.listWorkflowReleaseTags("id");
2926
+ ```
2927
+
2928
+ </dd>
2929
+ </dl>
2930
+ </dd>
2931
+ </dl>
2932
+
2933
+ #### ⚙️ Parameters
2934
+
2935
+ <dl>
2936
+ <dd>
2937
+
2938
+ <dl>
2939
+ <dd>
2940
+
2941
+ **id:** `string` — Either the Workflow Deployment's ID or its unique name
2942
+
2943
+ </dd>
2944
+ </dl>
2945
+
2946
+ <dl>
2947
+ <dd>
2948
+
2949
+ **request:** `Vellum.ListWorkflowReleaseTagsRequest`
2950
+
2951
+ </dd>
2952
+ </dl>
2953
+
2954
+ <dl>
2955
+ <dd>
2956
+
2957
+ **requestOptions:** `WorkflowDeployments.RequestOptions`
2958
+
2959
+ </dd>
2960
+ </dl>
2961
+ </dd>
2962
+ </dl>
2963
+
2964
+ </dd>
2965
+ </dl>
2966
+ </details>
2967
+
2827
2968
  <details><summary><code>client.workflowDeployments.<a href="/src/api/resources/workflowDeployments/client/Client.ts">retrieveWorkflowReleaseTag</a>(id, name) -> Vellum.WorkflowReleaseTagRead</code></summary>
2828
2969
  <dl>
2829
2970
  <dd>
@@ -3042,7 +3183,7 @@ await client.workflowSandboxes.deployWorkflow("id", "workflow_id");
3042
3183
 
3043
3184
  ## Workflows
3044
3185
 
3045
- <details><summary><code>client.workflows.<a href="/src/api/resources/workflows/client/Client.ts">pull</a>(id) -> stream.Readable</code></summary>
3186
+ <details><summary><code>client.workflows.<a href="/src/api/resources/workflows/client/Client.ts">pull</a>(id, { ...params }) -> stream.Readable</code></summary>
3046
3187
  <dl>
3047
3188
  <dd>
3048
3189
 
@@ -3070,7 +3211,9 @@ An internal-only endpoint that's subject to breaking changes without notice. Not
3070
3211
  <dd>
3071
3212
 
3072
3213
  ```typescript
3073
- await client.workflows.pull("string");
3214
+ await client.workflows.pull("string", {
3215
+ format: "json",
3216
+ });
3074
3217
  ```
3075
3218
 
3076
3219
  </dd>
@@ -3094,6 +3237,14 @@ await client.workflows.pull("string");
3094
3237
  <dl>
3095
3238
  <dd>
3096
3239
 
3240
+ **request:** `Vellum.WorkflowsPullRequest`
3241
+
3242
+ </dd>
3243
+ </dl>
3244
+
3245
+ <dl>
3246
+ <dd>
3247
+
3097
3248
  **requestOptions:** `Workflows.RequestOptions`
3098
3249
 
3099
3250
  </dd>
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../index";
5
+ import * as Vellum from "../../../../api/index";
6
+ import * as core from "../../../../core";
7
+ export declare const ListDeploymentReleaseTagsRequestSource: core.serialization.Schema<serializers.ListDeploymentReleaseTagsRequestSource.Raw, Vellum.ListDeploymentReleaseTagsRequestSource>;
8
+ export declare namespace ListDeploymentReleaseTagsRequestSource {
9
+ type Raw = "SYSTEM" | "USER";
10
+ }
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.ListDeploymentReleaseTagsRequestSource = void 0;
30
+ const core = __importStar(require("../../../../core"));
31
+ exports.ListDeploymentReleaseTagsRequestSource = core.serialization.enum_(["SYSTEM", "USER"]);
@@ -1 +1,2 @@
1
1
  export * from "./DeploymentsListRequestStatus";
2
+ export * from "./ListDeploymentReleaseTagsRequestSource";
@@ -15,3 +15,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./DeploymentsListRequestStatus"), exports);
18
+ __exportStar(require("./ListDeploymentReleaseTagsRequestSource"), exports);
@@ -6,6 +6,8 @@ export * as folderEntities from "./folderEntities";
6
6
  export * from "./folderEntities/types";
7
7
  export * as workflowDeployments from "./workflowDeployments";
8
8
  export * from "./workflowDeployments/types";
9
+ export * as workflows from "./workflows";
10
+ export * from "./workflows/types";
9
11
  export * as testSuites from "./testSuites";
10
12
  export * as adHoc from "./adHoc";
11
13
  export * from "./adHoc/client/requests";
@@ -25,7 +27,6 @@ export * from "./testSuiteRuns/client/requests";
25
27
  export * from "./workflowDeployments/client/requests";
26
28
  export * as workflowSandboxes from "./workflowSandboxes";
27
29
  export * from "./workflowSandboxes/client/requests";
28
- export * as workflows from "./workflows";
29
30
  export * from "./workflows/client/requests";
30
31
  export * as workspaceSecrets from "./workspaceSecrets";
31
32
  export * from "./workspaceSecrets/client/requests";
@@ -26,7 +26,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
26
26
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.workspaceSecrets = exports.workflows = exports.workflowSandboxes = exports.testSuiteRuns = exports.sandboxes = exports.metricDefinitions = exports.documents = exports.containerImages = exports.adHoc = exports.testSuites = exports.workflowDeployments = exports.folderEntities = exports.documentIndexes = exports.deployments = void 0;
29
+ exports.workspaceSecrets = exports.workflowSandboxes = exports.testSuiteRuns = exports.sandboxes = exports.metricDefinitions = exports.documents = exports.containerImages = exports.adHoc = exports.testSuites = exports.workflows = exports.workflowDeployments = exports.folderEntities = exports.documentIndexes = exports.deployments = void 0;
30
30
  exports.deployments = __importStar(require("./deployments"));
31
31
  __exportStar(require("./deployments/types"), exports);
32
32
  exports.documentIndexes = __importStar(require("./documentIndexes"));
@@ -35,6 +35,8 @@ exports.folderEntities = __importStar(require("./folderEntities"));
35
35
  __exportStar(require("./folderEntities/types"), exports);
36
36
  exports.workflowDeployments = __importStar(require("./workflowDeployments"));
37
37
  __exportStar(require("./workflowDeployments/types"), exports);
38
+ exports.workflows = __importStar(require("./workflows"));
39
+ __exportStar(require("./workflows/types"), exports);
38
40
  exports.testSuites = __importStar(require("./testSuites"));
39
41
  exports.adHoc = __importStar(require("./adHoc"));
40
42
  __exportStar(require("./adHoc/client/requests"), exports);
@@ -54,7 +56,6 @@ __exportStar(require("./testSuiteRuns/client/requests"), exports);
54
56
  __exportStar(require("./workflowDeployments/client/requests"), exports);
55
57
  exports.workflowSandboxes = __importStar(require("./workflowSandboxes"));
56
58
  __exportStar(require("./workflowSandboxes/client/requests"), exports);
57
- exports.workflows = __importStar(require("./workflows"));
58
59
  __exportStar(require("./workflows/client/requests"), exports);
59
60
  exports.workspaceSecrets = __importStar(require("./workspaceSecrets"));
60
61
  __exportStar(require("./workspaceSecrets/client/requests"), exports);
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../index";
5
+ import * as Vellum from "../../../../api/index";
6
+ import * as core from "../../../../core";
7
+ export declare const ListWorkflowReleaseTagsRequestSource: core.serialization.Schema<serializers.ListWorkflowReleaseTagsRequestSource.Raw, Vellum.ListWorkflowReleaseTagsRequestSource>;
8
+ export declare namespace ListWorkflowReleaseTagsRequestSource {
9
+ type Raw = "SYSTEM" | "USER";
10
+ }
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.ListWorkflowReleaseTagsRequestSource = void 0;
30
+ const core = __importStar(require("../../../../core"));
31
+ exports.ListWorkflowReleaseTagsRequestSource = core.serialization.enum_(["SYSTEM", "USER"]);
@@ -1 +1,2 @@
1
1
  export * from "./WorkflowDeploymentsListRequestStatus";
2
+ export * from "./ListWorkflowReleaseTagsRequestSource";
@@ -15,3 +15,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./WorkflowDeploymentsListRequestStatus"), exports);
18
+ __exportStar(require("./ListWorkflowReleaseTagsRequestSource"), exports);
@@ -1 +1,2 @@
1
+ export * from "./types";
1
2
  export * from "./client";
@@ -14,4 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./types"), exports);
17
18
  __exportStar(require("./client"), exports);
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../index";
5
+ import * as Vellum from "../../../../api/index";
6
+ import * as core from "../../../../core";
7
+ export declare const WorkflowsPullRequestFormat: core.serialization.Schema<serializers.WorkflowsPullRequestFormat.Raw, Vellum.WorkflowsPullRequestFormat>;
8
+ export declare namespace WorkflowsPullRequestFormat {
9
+ type Raw = "json" | "zip";
10
+ }
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.WorkflowsPullRequestFormat = void 0;
30
+ const core = __importStar(require("../../../../core"));
31
+ exports.WorkflowsPullRequestFormat = core.serialization.enum_(["json", "zip"]);
@@ -0,0 +1 @@
1
+ export * from "./WorkflowsPullRequestFormat";
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./WorkflowsPullRequestFormat"), exports);
@@ -9,10 +9,9 @@ import { EphemeralPromptCacheConfigRequest } from "./EphemeralPromptCacheConfigR
9
9
  export declare const ChatMessagePromptBlockRequest: core.serialization.ObjectSchema<serializers.ChatMessagePromptBlockRequest.Raw, Vellum.ChatMessagePromptBlockRequest>;
10
10
  export declare namespace ChatMessagePromptBlockRequest {
11
11
  interface Raw {
12
- block_type: "CHAT_MESSAGE";
13
- properties: serializers.ChatMessagePromptBlockPropertiesRequest.Raw;
14
- id: string;
15
12
  state?: PromptBlockState.Raw | null;
16
13
  cache_config?: EphemeralPromptCacheConfigRequest.Raw | null;
14
+ block_type: "CHAT_MESSAGE";
15
+ properties: serializers.ChatMessagePromptBlockPropertiesRequest.Raw;
17
16
  }
18
17
  }
@@ -32,9 +32,8 @@ const core = __importStar(require("../../core"));
32
32
  const PromptBlockState_1 = require("./PromptBlockState");
33
33
  const EphemeralPromptCacheConfigRequest_1 = require("./EphemeralPromptCacheConfigRequest");
34
34
  exports.ChatMessagePromptBlockRequest = core.serialization.object({
35
- blockType: core.serialization.property("block_type", core.serialization.stringLiteral("CHAT_MESSAGE")),
36
- properties: core.serialization.lazyObject(() => serializers.ChatMessagePromptBlockPropertiesRequest),
37
- id: core.serialization.string(),
38
35
  state: PromptBlockState_1.PromptBlockState.optional(),
39
36
  cacheConfig: core.serialization.property("cache_config", EphemeralPromptCacheConfigRequest_1.EphemeralPromptCacheConfigRequest.optional()),
37
+ blockType: core.serialization.property("block_type", core.serialization.stringLiteral("CHAT_MESSAGE")),
38
+ properties: core.serialization.lazyObject(() => serializers.ChatMessagePromptBlockPropertiesRequest),
40
39
  });
@@ -4,16 +4,15 @@
4
4
  import * as serializers from "../index";
5
5
  import * as Vellum from "../../api/index";
6
6
  import * as core from "../../core";
7
- import { FunctionDefinitionPromptBlockPropertiesRequest } from "./FunctionDefinitionPromptBlockPropertiesRequest";
8
7
  import { PromptBlockState } from "./PromptBlockState";
9
8
  import { EphemeralPromptCacheConfigRequest } from "./EphemeralPromptCacheConfigRequest";
9
+ import { FunctionDefinitionPromptBlockPropertiesRequest } from "./FunctionDefinitionPromptBlockPropertiesRequest";
10
10
  export declare const FunctionDefinitionPromptBlockRequest: core.serialization.ObjectSchema<serializers.FunctionDefinitionPromptBlockRequest.Raw, Vellum.FunctionDefinitionPromptBlockRequest>;
11
11
  export declare namespace FunctionDefinitionPromptBlockRequest {
12
12
  interface Raw {
13
- block_type: "FUNCTION_DEFINITION";
14
- properties: FunctionDefinitionPromptBlockPropertiesRequest.Raw;
15
- id: string;
16
13
  state?: PromptBlockState.Raw | null;
17
14
  cache_config?: EphemeralPromptCacheConfigRequest.Raw | null;
15
+ block_type: "FUNCTION_DEFINITION";
16
+ properties: FunctionDefinitionPromptBlockPropertiesRequest.Raw;
18
17
  }
19
18
  }
@@ -28,13 +28,12 @@ var __importStar = (this && this.__importStar) || function (mod) {
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.FunctionDefinitionPromptBlockRequest = void 0;
30
30
  const core = __importStar(require("../../core"));
31
- const FunctionDefinitionPromptBlockPropertiesRequest_1 = require("./FunctionDefinitionPromptBlockPropertiesRequest");
32
31
  const PromptBlockState_1 = require("./PromptBlockState");
33
32
  const EphemeralPromptCacheConfigRequest_1 = require("./EphemeralPromptCacheConfigRequest");
33
+ const FunctionDefinitionPromptBlockPropertiesRequest_1 = require("./FunctionDefinitionPromptBlockPropertiesRequest");
34
34
  exports.FunctionDefinitionPromptBlockRequest = core.serialization.object({
35
- blockType: core.serialization.property("block_type", core.serialization.stringLiteral("FUNCTION_DEFINITION")),
36
- properties: FunctionDefinitionPromptBlockPropertiesRequest_1.FunctionDefinitionPromptBlockPropertiesRequest,
37
- id: core.serialization.string(),
38
35
  state: PromptBlockState_1.PromptBlockState.optional(),
39
36
  cacheConfig: core.serialization.property("cache_config", EphemeralPromptCacheConfigRequest_1.EphemeralPromptCacheConfigRequest.optional()),
37
+ blockType: core.serialization.property("block_type", core.serialization.stringLiteral("FUNCTION_DEFINITION")),
38
+ properties: FunctionDefinitionPromptBlockPropertiesRequest_1.FunctionDefinitionPromptBlockPropertiesRequest,
40
39
  });
@@ -4,16 +4,15 @@
4
4
  import * as serializers from "../index";
5
5
  import * as Vellum from "../../api/index";
6
6
  import * as core from "../../core";
7
- import { JinjaPromptBlockPropertiesRequest } from "./JinjaPromptBlockPropertiesRequest";
8
7
  import { PromptBlockState } from "./PromptBlockState";
9
8
  import { EphemeralPromptCacheConfigRequest } from "./EphemeralPromptCacheConfigRequest";
9
+ import { JinjaPromptBlockPropertiesRequest } from "./JinjaPromptBlockPropertiesRequest";
10
10
  export declare const JinjaPromptBlockRequest: core.serialization.ObjectSchema<serializers.JinjaPromptBlockRequest.Raw, Vellum.JinjaPromptBlockRequest>;
11
11
  export declare namespace JinjaPromptBlockRequest {
12
12
  interface Raw {
13
- block_type: "JINJA";
14
- properties: JinjaPromptBlockPropertiesRequest.Raw;
15
- id: string;
16
13
  state?: PromptBlockState.Raw | null;
17
14
  cache_config?: EphemeralPromptCacheConfigRequest.Raw | null;
15
+ block_type: "JINJA";
16
+ properties: JinjaPromptBlockPropertiesRequest.Raw;
18
17
  }
19
18
  }
@@ -28,13 +28,12 @@ var __importStar = (this && this.__importStar) || function (mod) {
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.JinjaPromptBlockRequest = void 0;
30
30
  const core = __importStar(require("../../core"));
31
- const JinjaPromptBlockPropertiesRequest_1 = require("./JinjaPromptBlockPropertiesRequest");
32
31
  const PromptBlockState_1 = require("./PromptBlockState");
33
32
  const EphemeralPromptCacheConfigRequest_1 = require("./EphemeralPromptCacheConfigRequest");
33
+ const JinjaPromptBlockPropertiesRequest_1 = require("./JinjaPromptBlockPropertiesRequest");
34
34
  exports.JinjaPromptBlockRequest = core.serialization.object({
35
- blockType: core.serialization.property("block_type", core.serialization.stringLiteral("JINJA")),
36
- properties: JinjaPromptBlockPropertiesRequest_1.JinjaPromptBlockPropertiesRequest,
37
- id: core.serialization.string(),
38
35
  state: PromptBlockState_1.PromptBlockState.optional(),
39
36
  cacheConfig: core.serialization.property("cache_config", EphemeralPromptCacheConfigRequest_1.EphemeralPromptCacheConfigRequest.optional()),
37
+ blockType: core.serialization.property("block_type", core.serialization.stringLiteral("JINJA")),
38
+ properties: JinjaPromptBlockPropertiesRequest_1.JinjaPromptBlockPropertiesRequest,
40
39
  });
@@ -0,0 +1,16 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../index";
5
+ import * as Vellum from "../../api/index";
6
+ import * as core from "../../core";
7
+ import { DeploymentReleaseTagRead } from "./DeploymentReleaseTagRead";
8
+ export declare const PaginatedDeploymentReleaseTagReadList: core.serialization.ObjectSchema<serializers.PaginatedDeploymentReleaseTagReadList.Raw, Vellum.PaginatedDeploymentReleaseTagReadList>;
9
+ export declare namespace PaginatedDeploymentReleaseTagReadList {
10
+ interface Raw {
11
+ count?: number | null;
12
+ next?: string | null;
13
+ previous?: string | null;
14
+ results?: DeploymentReleaseTagRead.Raw[] | null;
15
+ }
16
+ }
@@ -0,0 +1,37 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.PaginatedDeploymentReleaseTagReadList = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ const DeploymentReleaseTagRead_1 = require("./DeploymentReleaseTagRead");
32
+ exports.PaginatedDeploymentReleaseTagReadList = core.serialization.object({
33
+ count: core.serialization.number().optional(),
34
+ next: core.serialization.string().optional(),
35
+ previous: core.serialization.string().optional(),
36
+ results: core.serialization.list(DeploymentReleaseTagRead_1.DeploymentReleaseTagRead).optional(),
37
+ });
@@ -0,0 +1,16 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../index";
5
+ import * as Vellum from "../../api/index";
6
+ import * as core from "../../core";
7
+ import { WorkflowReleaseTagRead } from "./WorkflowReleaseTagRead";
8
+ export declare const PaginatedWorkflowReleaseTagReadList: core.serialization.ObjectSchema<serializers.PaginatedWorkflowReleaseTagReadList.Raw, Vellum.PaginatedWorkflowReleaseTagReadList>;
9
+ export declare namespace PaginatedWorkflowReleaseTagReadList {
10
+ interface Raw {
11
+ count?: number | null;
12
+ next?: string | null;
13
+ previous?: string | null;
14
+ results?: WorkflowReleaseTagRead.Raw[] | null;
15
+ }
16
+ }