vellum-ai 1.8.1 → 1.9.5
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.
- package/Client.js +11 -11
- package/api/resources/adHoc/client/Client.js +2 -2
- package/api/resources/containerImages/client/Client.js +4 -4
- package/api/resources/deployments/client/Client.js +8 -8
- package/api/resources/documentIndexes/client/Client.js +8 -8
- package/api/resources/documents/client/Client.js +5 -5
- package/api/resources/environments/client/Client.js +1 -1
- package/api/resources/events/client/Client.js +1 -1
- package/api/resources/folderEntities/client/Client.js +2 -2
- package/api/resources/integrationAuthConfigs/client/Client.js +1 -1
- package/api/resources/integrationProviders/client/Client.js +2 -2
- package/api/resources/integrations/client/Client.js +4 -4
- package/api/resources/metricDefinitions/client/Client.js +2 -2
- package/api/resources/mlModels/client/Client.js +1 -1
- package/api/resources/organizations/client/Client.js +1 -1
- package/api/resources/prompts/client/Client.js +2 -2
- package/api/resources/sandboxes/client/Client.js +3 -3
- package/api/resources/testSuiteRuns/client/Client.js +3 -3
- package/api/resources/testSuites/client/Client.js +4 -4
- package/api/resources/workflowDeployments/client/Client.js +10 -10
- package/api/resources/workflowExecutions/client/Client.js +1 -1
- package/api/resources/workflowSandboxes/client/Client.js +2 -2
- package/api/resources/workflows/client/Client.js +4 -4
- package/api/resources/workspaceSecrets/client/Client.js +2 -2
- package/api/resources/workspaces/client/Client.js +1 -1
- package/api/types/ApiActorTypeEnum.d.ts +16 -0
- package/api/types/ApiActorTypeEnum.js +12 -0
- package/api/types/ApiRequestParentContext.d.ts +3 -0
- package/api/types/ChatMessage.d.ts +1 -1
- package/api/types/ChatMessageRequest.d.ts +1 -1
- package/api/types/FolderEntityWorkflowSandboxData.d.ts +1 -0
- package/api/types/IntegrationName.d.ts +5 -1
- package/api/types/IntegrationName.js +2 -0
- package/api/types/IntegrationTriggerContext.d.ts +10 -0
- package/api/types/IntegrationTriggerContext.js +5 -0
- package/api/types/LogicalOperator.d.ts +11 -1
- package/api/types/LogicalOperator.js +2 -0
- package/api/types/ParentContext.d.ts +1 -1
- package/api/types/ScheduledTriggerContext.d.ts +10 -0
- package/api/types/ScheduledTriggerContext.js +5 -0
- package/api/types/SlimIntegrationAuthConfigRead.d.ts +3 -1
- package/api/types/WorkflowDeploymentDisplayData.d.ts +11 -0
- package/api/types/WorkflowDeploymentDisplayData.js +5 -0
- package/api/types/WorkflowDeploymentRead.d.ts +2 -0
- package/api/types/WorkflowDisplayIcon.d.ts +10 -0
- package/api/types/WorkflowDisplayIcon.js +5 -0
- package/api/types/WorkflowSandboxDisplayData.d.ts +11 -0
- package/api/types/WorkflowSandboxDisplayData.js +5 -0
- package/api/types/index.d.ts +6 -0
- package/api/types/index.js +6 -0
- package/dist/Client.js +11 -11
- package/dist/api/resources/adHoc/client/Client.js +2 -2
- package/dist/api/resources/containerImages/client/Client.js +4 -4
- package/dist/api/resources/deployments/client/Client.js +8 -8
- package/dist/api/resources/documentIndexes/client/Client.js +8 -8
- package/dist/api/resources/documents/client/Client.js +5 -5
- package/dist/api/resources/environments/client/Client.js +1 -1
- package/dist/api/resources/events/client/Client.js +1 -1
- package/dist/api/resources/folderEntities/client/Client.js +2 -2
- package/dist/api/resources/integrationAuthConfigs/client/Client.js +1 -1
- package/dist/api/resources/integrationProviders/client/Client.js +2 -2
- package/dist/api/resources/integrations/client/Client.js +4 -4
- package/dist/api/resources/metricDefinitions/client/Client.js +2 -2
- package/dist/api/resources/mlModels/client/Client.js +1 -1
- package/dist/api/resources/organizations/client/Client.js +1 -1
- package/dist/api/resources/prompts/client/Client.js +2 -2
- package/dist/api/resources/sandboxes/client/Client.js +3 -3
- package/dist/api/resources/testSuiteRuns/client/Client.js +3 -3
- package/dist/api/resources/testSuites/client/Client.js +4 -4
- package/dist/api/resources/workflowDeployments/client/Client.js +10 -10
- package/dist/api/resources/workflowExecutions/client/Client.js +1 -1
- package/dist/api/resources/workflowSandboxes/client/Client.js +2 -2
- package/dist/api/resources/workflows/client/Client.js +4 -4
- package/dist/api/resources/workspaceSecrets/client/Client.js +2 -2
- package/dist/api/resources/workspaces/client/Client.js +1 -1
- package/dist/api/types/ApiActorTypeEnum.d.ts +16 -0
- package/dist/api/types/ApiActorTypeEnum.js +12 -0
- package/dist/api/types/ApiRequestParentContext.d.ts +3 -0
- package/dist/api/types/ChatMessage.d.ts +1 -1
- package/dist/api/types/ChatMessageRequest.d.ts +1 -1
- package/dist/api/types/FolderEntityWorkflowSandboxData.d.ts +1 -0
- package/dist/api/types/IntegrationName.d.ts +5 -1
- package/dist/api/types/IntegrationName.js +2 -0
- package/dist/api/types/IntegrationTriggerContext.d.ts +10 -0
- package/dist/api/types/IntegrationTriggerContext.js +5 -0
- package/dist/api/types/LogicalOperator.d.ts +11 -1
- package/dist/api/types/LogicalOperator.js +2 -0
- package/dist/api/types/ParentContext.d.ts +1 -1
- package/dist/api/types/ScheduledTriggerContext.d.ts +10 -0
- package/dist/api/types/ScheduledTriggerContext.js +5 -0
- package/dist/api/types/SlimIntegrationAuthConfigRead.d.ts +3 -1
- package/dist/api/types/WorkflowDeploymentDisplayData.d.ts +11 -0
- package/dist/api/types/WorkflowDeploymentDisplayData.js +5 -0
- package/dist/api/types/WorkflowDeploymentRead.d.ts +2 -0
- package/dist/api/types/WorkflowDisplayIcon.d.ts +10 -0
- package/dist/api/types/WorkflowDisplayIcon.js +5 -0
- package/dist/api/types/WorkflowSandboxDisplayData.d.ts +11 -0
- package/dist/api/types/WorkflowSandboxDisplayData.js +5 -0
- package/dist/api/types/index.d.ts +6 -0
- package/dist/api/types/index.js +6 -0
- package/dist/serialization/types/ApiActorTypeEnum.d.ts +10 -0
- package/dist/serialization/types/ApiActorTypeEnum.js +41 -0
- package/dist/serialization/types/ApiRequestParentContext.d.ts +4 -0
- package/dist/serialization/types/ApiRequestParentContext.js +4 -0
- package/dist/serialization/types/ChatMessage.d.ts +1 -1
- package/dist/serialization/types/ChatMessage.js +1 -1
- package/dist/serialization/types/ChatMessageRequest.d.ts +1 -1
- package/dist/serialization/types/ChatMessageRequest.js +1 -1
- package/dist/serialization/types/FolderEntityWorkflowSandboxData.d.ts +2 -0
- package/dist/serialization/types/FolderEntityWorkflowSandboxData.js +2 -0
- package/dist/serialization/types/IntegrationName.d.ts +1 -1
- package/dist/serialization/types/IntegrationName.js +2 -0
- package/dist/serialization/types/IntegrationTriggerContext.d.ts +15 -0
- package/dist/serialization/types/IntegrationTriggerContext.js +47 -0
- package/dist/serialization/types/LogicalOperator.d.ts +1 -1
- package/dist/serialization/types/LogicalOperator.js +2 -0
- package/dist/serialization/types/ParentContext.d.ts +1 -1
- package/dist/serialization/types/ParentContext.js +2 -0
- package/dist/serialization/types/ScheduledTriggerContext.d.ts +15 -0
- package/dist/serialization/types/ScheduledTriggerContext.js +47 -0
- package/dist/serialization/types/SlimIntegrationAuthConfigRead.d.ts +3 -2
- package/dist/serialization/types/SlimIntegrationAuthConfigRead.js +3 -2
- package/dist/serialization/types/WorkflowDeploymentDisplayData.d.ts +13 -0
- package/dist/serialization/types/WorkflowDeploymentDisplayData.js +44 -0
- package/dist/serialization/types/WorkflowDeploymentRead.d.ts +2 -0
- package/dist/serialization/types/WorkflowDeploymentRead.js +2 -0
- package/dist/serialization/types/WorkflowDisplayIcon.d.ts +13 -0
- package/dist/serialization/types/WorkflowDisplayIcon.js +44 -0
- package/dist/serialization/types/WorkflowSandboxDisplayData.d.ts +13 -0
- package/dist/serialization/types/WorkflowSandboxDisplayData.js +44 -0
- package/dist/serialization/types/index.d.ts +6 -0
- package/dist/serialization/types/index.js +6 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/serialization/types/ApiActorTypeEnum.d.ts +10 -0
- package/serialization/types/ApiActorTypeEnum.js +41 -0
- package/serialization/types/ApiRequestParentContext.d.ts +4 -0
- package/serialization/types/ApiRequestParentContext.js +4 -0
- package/serialization/types/ChatMessage.d.ts +1 -1
- package/serialization/types/ChatMessage.js +1 -1
- package/serialization/types/ChatMessageRequest.d.ts +1 -1
- package/serialization/types/ChatMessageRequest.js +1 -1
- package/serialization/types/FolderEntityWorkflowSandboxData.d.ts +2 -0
- package/serialization/types/FolderEntityWorkflowSandboxData.js +2 -0
- package/serialization/types/IntegrationName.d.ts +1 -1
- package/serialization/types/IntegrationName.js +2 -0
- package/serialization/types/IntegrationTriggerContext.d.ts +15 -0
- package/serialization/types/IntegrationTriggerContext.js +47 -0
- package/serialization/types/LogicalOperator.d.ts +1 -1
- package/serialization/types/LogicalOperator.js +2 -0
- package/serialization/types/ParentContext.d.ts +1 -1
- package/serialization/types/ParentContext.js +2 -0
- package/serialization/types/ScheduledTriggerContext.d.ts +15 -0
- package/serialization/types/ScheduledTriggerContext.js +47 -0
- package/serialization/types/SlimIntegrationAuthConfigRead.d.ts +3 -2
- package/serialization/types/SlimIntegrationAuthConfigRead.js +3 -2
- package/serialization/types/WorkflowDeploymentDisplayData.d.ts +13 -0
- package/serialization/types/WorkflowDeploymentDisplayData.js +44 -0
- package/serialization/types/WorkflowDeploymentRead.d.ts +2 -0
- package/serialization/types/WorkflowDeploymentRead.js +2 -0
- package/serialization/types/WorkflowDisplayIcon.d.ts +13 -0
- package/serialization/types/WorkflowDisplayIcon.js +44 -0
- package/serialization/types/WorkflowSandboxDisplayData.d.ts +13 -0
- package/serialization/types/WorkflowSandboxDisplayData.js +44 -0
- package/serialization/types/index.d.ts +6 -0
- package/serialization/types/index.js +6 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -21,6 +21,8 @@
|
|
|
21
21
|
* * `between` - BETWEEN
|
|
22
22
|
* * `notBetween` - NOT_BETWEEN
|
|
23
23
|
* * `concat` - CONCAT
|
|
24
|
+
* * `+` - ADD
|
|
25
|
+
* * `-` - MINUS
|
|
24
26
|
* * `blank` - BLANK
|
|
25
27
|
* * `notBlank` - NOT_BLANK
|
|
26
28
|
* * `coalesce` - COALESCE
|
|
@@ -85,7 +87,13 @@ export type LogicalOperator =
|
|
|
85
87
|
| "between"
|
|
86
88
|
/**
|
|
87
89
|
* Not between */
|
|
88
|
-
| "notBetween" | "concat"
|
|
90
|
+
| "notBetween" | "concat"
|
|
91
|
+
/**
|
|
92
|
+
* Add */
|
|
93
|
+
| "+"
|
|
94
|
+
/**
|
|
95
|
+
* Minus */
|
|
96
|
+
| "-" | "blank" | "notBlank" | "coalesce" | "accessField"
|
|
89
97
|
/**
|
|
90
98
|
* Parse JSON */
|
|
91
99
|
| "parseJson" | "and" | "or" | "isError" | "length";
|
|
@@ -109,6 +117,8 @@ export declare const LogicalOperator: {
|
|
|
109
117
|
readonly Between: "between";
|
|
110
118
|
readonly NotBetween: "notBetween";
|
|
111
119
|
readonly Concat: "concat";
|
|
120
|
+
readonly Add: "+";
|
|
121
|
+
readonly Minus: "-";
|
|
112
122
|
readonly Blank: "blank";
|
|
113
123
|
readonly NotBlank: "notBlank";
|
|
114
124
|
readonly Coalesce: "coalesce";
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as Vellum from "../index";
|
|
5
|
-
export type ParentContext = Vellum.WorkflowParentContext | Vellum.NodeParentContext | Vellum.WorkflowDeploymentParentContext | Vellum.WorkflowSandboxParentContext | Vellum.PromptDeploymentParentContext | Vellum.ApiRequestParentContext | Vellum.ExternalParentContext;
|
|
5
|
+
export type ParentContext = Vellum.WorkflowParentContext | Vellum.NodeParentContext | Vellum.WorkflowDeploymentParentContext | Vellum.WorkflowSandboxParentContext | Vellum.PromptDeploymentParentContext | Vellum.ApiRequestParentContext | Vellum.ExternalParentContext | Vellum.ScheduledTriggerContext | Vellum.IntegrationTriggerContext;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Vellum from "../index";
|
|
5
|
+
export interface ScheduledTriggerContext {
|
|
6
|
+
parent?: Vellum.ParentContext | null;
|
|
7
|
+
links?: Vellum.SpanLink[] | null;
|
|
8
|
+
type: "SCHEDULED";
|
|
9
|
+
spanId: string;
|
|
10
|
+
}
|
|
@@ -8,7 +8,9 @@ import * as Vellum from "../index";
|
|
|
8
8
|
export interface SlimIntegrationAuthConfigRead {
|
|
9
9
|
id: string;
|
|
10
10
|
integration: Vellum.IntegrationAuthConfigIntegration;
|
|
11
|
-
integrationCredentials?: Vellum.IntegrationAuthConfigIntegrationCredential[] | null;
|
|
12
11
|
authType?: Vellum.AuthTypeEnum;
|
|
12
|
+
integrationCredentials?: Vellum.IntegrationAuthConfigIntegrationCredential[] | null;
|
|
13
|
+
/** Whether or not this auth config is eligible to use Vellum-managed system credentials to authenticate. */
|
|
14
|
+
systemCredentialEligible?: boolean;
|
|
13
15
|
defaultAccessType?: Vellum.IntegrationCredentialAccessType;
|
|
14
16
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Vellum from "../index";
|
|
5
|
+
/**
|
|
6
|
+
* Workflow Deployment display data
|
|
7
|
+
*/
|
|
8
|
+
export interface WorkflowDeploymentDisplayData {
|
|
9
|
+
/** The icon associated with this Workflow Deployment. */
|
|
10
|
+
icon?: Vellum.WorkflowDisplayIcon | null;
|
|
11
|
+
}
|
|
@@ -30,4 +30,6 @@ export interface WorkflowDeploymentRead {
|
|
|
30
30
|
outputVariables: Vellum.VellumVariable[];
|
|
31
31
|
/** A human-readable description of the workflow deployment */
|
|
32
32
|
description?: string | null;
|
|
33
|
+
/** Information used to display this Workflow Deployment. */
|
|
34
|
+
displayData?: Vellum.WorkflowDeploymentDisplayData | null;
|
|
33
35
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Vellum from "../index";
|
|
5
|
+
/**
|
|
6
|
+
* Information used to display this Workflow Sandbox.
|
|
7
|
+
*/
|
|
8
|
+
export interface WorkflowSandboxDisplayData {
|
|
9
|
+
/** The icon associated with this Workflow Sandbox. */
|
|
10
|
+
icon?: Vellum.WorkflowDisplayIcon | null;
|
|
11
|
+
}
|
|
@@ -9,6 +9,7 @@ export * from "./AdHocInitiatedPromptExecutionMeta";
|
|
|
9
9
|
export * from "./AdHocRejectedPromptExecutionMeta";
|
|
10
10
|
export * from "./AdHocStreamingPromptExecutionMeta";
|
|
11
11
|
export * from "./AddOpenaiApiKeyEnum";
|
|
12
|
+
export * from "./ApiActorTypeEnum";
|
|
12
13
|
export * from "./ApiNodeResult";
|
|
13
14
|
export * from "./ApiNodeResultData";
|
|
14
15
|
export * from "./ApiVersionEnum";
|
|
@@ -220,6 +221,7 @@ export * from "./ComponentsSchemasComposioIntegrationExecConfig";
|
|
|
220
221
|
export * from "./IntegrationName";
|
|
221
222
|
export * from "./IntegrationProvider";
|
|
222
223
|
export * from "./IntegrationRead";
|
|
224
|
+
export * from "./IntegrationTriggerContext";
|
|
223
225
|
export * from "./InvokedPort";
|
|
224
226
|
export * from "./IterationStateEnum";
|
|
225
227
|
export * from "./JsonInput";
|
|
@@ -413,6 +415,7 @@ export * from "./ScenarioInputImageVariableValue";
|
|
|
413
415
|
export * from "./ScenarioInputJsonVariableValue";
|
|
414
416
|
export * from "./ScenarioInputStringVariableValue";
|
|
415
417
|
export * from "./ScenarioInputVideoVariableValue";
|
|
418
|
+
export * from "./ScheduledTriggerContext";
|
|
416
419
|
export * from "./SearchFiltersRequest";
|
|
417
420
|
export * from "./SearchNodeResult";
|
|
418
421
|
export * from "./SearchNodeResultData";
|
|
@@ -604,6 +607,7 @@ export * from "./VideoInputRequest";
|
|
|
604
607
|
export * from "./VideoPromptBlock";
|
|
605
608
|
export * from "./VideoVellumValue";
|
|
606
609
|
export * from "./VideoVellumValueRequest";
|
|
610
|
+
export * from "./WorkflowDeploymentDisplayData";
|
|
607
611
|
export * from "./WorkflowDeploymentEventExecutionsResponse";
|
|
608
612
|
export * from "./WorkflowDeploymentHistoryItem";
|
|
609
613
|
export * from "./WorkflowDeploymentParentContext";
|
|
@@ -611,6 +615,7 @@ export * from "./WorkflowDeploymentRead";
|
|
|
611
615
|
export * from "./WorkflowDeploymentRelease";
|
|
612
616
|
export * from "./WorkflowDeploymentReleaseWorkflowDeployment";
|
|
613
617
|
export * from "./WorkflowDeploymentReleaseWorkflowVersion";
|
|
618
|
+
export * from "./WorkflowDisplayIcon";
|
|
614
619
|
export * from "./WorkflowError";
|
|
615
620
|
export * from "./WorkflowEvent";
|
|
616
621
|
export * from "./WorkflowEventError";
|
|
@@ -687,6 +692,7 @@ export * from "./WorkflowResultEventOutputDataJson";
|
|
|
687
692
|
export * from "./WorkflowResultEventOutputDataNumber";
|
|
688
693
|
export * from "./WorkflowResultEventOutputDataSearchResults";
|
|
689
694
|
export * from "./WorkflowResultEventOutputDataString";
|
|
695
|
+
export * from "./WorkflowSandboxDisplayData";
|
|
690
696
|
export * from "./WorkflowSandboxExample";
|
|
691
697
|
export * from "./WorkflowSandboxParentContext";
|
|
692
698
|
export * from "./WorkflowStreamEvent";
|
package/dist/api/types/index.js
CHANGED
|
@@ -25,6 +25,7 @@ __exportStar(require("./AdHocInitiatedPromptExecutionMeta"), exports);
|
|
|
25
25
|
__exportStar(require("./AdHocRejectedPromptExecutionMeta"), exports);
|
|
26
26
|
__exportStar(require("./AdHocStreamingPromptExecutionMeta"), exports);
|
|
27
27
|
__exportStar(require("./AddOpenaiApiKeyEnum"), exports);
|
|
28
|
+
__exportStar(require("./ApiActorTypeEnum"), exports);
|
|
28
29
|
__exportStar(require("./ApiNodeResult"), exports);
|
|
29
30
|
__exportStar(require("./ApiNodeResultData"), exports);
|
|
30
31
|
__exportStar(require("./ApiVersionEnum"), exports);
|
|
@@ -236,6 +237,7 @@ __exportStar(require("./ComponentsSchemasComposioIntegrationExecConfig"), export
|
|
|
236
237
|
__exportStar(require("./IntegrationName"), exports);
|
|
237
238
|
__exportStar(require("./IntegrationProvider"), exports);
|
|
238
239
|
__exportStar(require("./IntegrationRead"), exports);
|
|
240
|
+
__exportStar(require("./IntegrationTriggerContext"), exports);
|
|
239
241
|
__exportStar(require("./InvokedPort"), exports);
|
|
240
242
|
__exportStar(require("./IterationStateEnum"), exports);
|
|
241
243
|
__exportStar(require("./JsonInput"), exports);
|
|
@@ -429,6 +431,7 @@ __exportStar(require("./ScenarioInputImageVariableValue"), exports);
|
|
|
429
431
|
__exportStar(require("./ScenarioInputJsonVariableValue"), exports);
|
|
430
432
|
__exportStar(require("./ScenarioInputStringVariableValue"), exports);
|
|
431
433
|
__exportStar(require("./ScenarioInputVideoVariableValue"), exports);
|
|
434
|
+
__exportStar(require("./ScheduledTriggerContext"), exports);
|
|
432
435
|
__exportStar(require("./SearchFiltersRequest"), exports);
|
|
433
436
|
__exportStar(require("./SearchNodeResult"), exports);
|
|
434
437
|
__exportStar(require("./SearchNodeResultData"), exports);
|
|
@@ -620,6 +623,7 @@ __exportStar(require("./VideoInputRequest"), exports);
|
|
|
620
623
|
__exportStar(require("./VideoPromptBlock"), exports);
|
|
621
624
|
__exportStar(require("./VideoVellumValue"), exports);
|
|
622
625
|
__exportStar(require("./VideoVellumValueRequest"), exports);
|
|
626
|
+
__exportStar(require("./WorkflowDeploymentDisplayData"), exports);
|
|
623
627
|
__exportStar(require("./WorkflowDeploymentEventExecutionsResponse"), exports);
|
|
624
628
|
__exportStar(require("./WorkflowDeploymentHistoryItem"), exports);
|
|
625
629
|
__exportStar(require("./WorkflowDeploymentParentContext"), exports);
|
|
@@ -627,6 +631,7 @@ __exportStar(require("./WorkflowDeploymentRead"), exports);
|
|
|
627
631
|
__exportStar(require("./WorkflowDeploymentRelease"), exports);
|
|
628
632
|
__exportStar(require("./WorkflowDeploymentReleaseWorkflowDeployment"), exports);
|
|
629
633
|
__exportStar(require("./WorkflowDeploymentReleaseWorkflowVersion"), exports);
|
|
634
|
+
__exportStar(require("./WorkflowDisplayIcon"), exports);
|
|
630
635
|
__exportStar(require("./WorkflowError"), exports);
|
|
631
636
|
__exportStar(require("./WorkflowEvent"), exports);
|
|
632
637
|
__exportStar(require("./WorkflowEventError"), exports);
|
|
@@ -703,6 +708,7 @@ __exportStar(require("./WorkflowResultEventOutputDataJson"), exports);
|
|
|
703
708
|
__exportStar(require("./WorkflowResultEventOutputDataNumber"), exports);
|
|
704
709
|
__exportStar(require("./WorkflowResultEventOutputDataSearchResults"), exports);
|
|
705
710
|
__exportStar(require("./WorkflowResultEventOutputDataString"), exports);
|
|
711
|
+
__exportStar(require("./WorkflowSandboxDisplayData"), exports);
|
|
706
712
|
__exportStar(require("./WorkflowSandboxExample"), exports);
|
|
707
713
|
__exportStar(require("./WorkflowSandboxParentContext"), exports);
|
|
708
714
|
__exportStar(require("./WorkflowStreamEvent"), 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 ApiActorTypeEnum: core.serialization.Schema<serializers.ApiActorTypeEnum.Raw, Vellum.ApiActorTypeEnum>;
|
|
8
|
+
export declare namespace ApiActorTypeEnum {
|
|
9
|
+
type Raw = "WORKSPACE_API_KEY" | "ENVIRONMENT_API_KEY" | "JWT" | "SERVICE_TOKEN";
|
|
10
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
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 () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.ApiActorTypeEnum = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
exports.ApiActorTypeEnum = core.serialization.enum_(["WORKSPACE_API_KEY", "ENVIRONMENT_API_KEY", "JWT", "SERVICE_TOKEN"]);
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
import * as serializers from "../index";
|
|
5
5
|
import * as Vellum from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
|
+
import { ApiActorTypeEnum } from "./ApiActorTypeEnum";
|
|
7
8
|
export declare const ApiRequestParentContext: core.serialization.ObjectSchema<serializers.ApiRequestParentContext.Raw, Vellum.ApiRequestParentContext>;
|
|
8
9
|
export declare namespace ApiRequestParentContext {
|
|
9
10
|
interface Raw {
|
|
@@ -11,5 +12,8 @@ export declare namespace ApiRequestParentContext {
|
|
|
11
12
|
links?: (serializers.SpanLink.Raw[] | null) | null;
|
|
12
13
|
type: "API_REQUEST";
|
|
13
14
|
span_id: string;
|
|
15
|
+
api_actor_id?: (string | null) | null;
|
|
16
|
+
api_actor_type?: (ApiActorTypeEnum.Raw | null) | null;
|
|
17
|
+
api_actor_label?: (string | null) | null;
|
|
14
18
|
}
|
|
15
19
|
}
|
|
@@ -39,9 +39,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
39
39
|
exports.ApiRequestParentContext = void 0;
|
|
40
40
|
const serializers = __importStar(require("../index"));
|
|
41
41
|
const core = __importStar(require("../../core"));
|
|
42
|
+
const ApiActorTypeEnum_1 = require("./ApiActorTypeEnum");
|
|
42
43
|
exports.ApiRequestParentContext = core.serialization.object({
|
|
43
44
|
parent: core.serialization.lazy(() => serializers.ParentContext).optionalNullable(),
|
|
44
45
|
links: core.serialization.list(core.serialization.lazyObject(() => serializers.SpanLink)).optionalNullable(),
|
|
45
46
|
type: core.serialization.stringLiteral("API_REQUEST"),
|
|
46
47
|
spanId: core.serialization.property("span_id", core.serialization.string()),
|
|
48
|
+
apiActorId: core.serialization.property("api_actor_id", core.serialization.string().optionalNullable()),
|
|
49
|
+
apiActorType: core.serialization.property("api_actor_type", ApiActorTypeEnum_1.ApiActorTypeEnum.optionalNullable()),
|
|
50
|
+
apiActorLabel: core.serialization.property("api_actor_label", core.serialization.string().optionalNullable()),
|
|
47
51
|
});
|
|
@@ -9,7 +9,7 @@ import { ChatMessageContent } from "./ChatMessageContent";
|
|
|
9
9
|
export declare const ChatMessage: core.serialization.ObjectSchema<serializers.ChatMessage.Raw, Vellum.ChatMessage>;
|
|
10
10
|
export declare namespace ChatMessage {
|
|
11
11
|
interface Raw {
|
|
12
|
-
text?: string | null;
|
|
12
|
+
text?: (string | null) | null;
|
|
13
13
|
role: ChatMessageRole.Raw;
|
|
14
14
|
content?: (ChatMessageContent.Raw | null) | null;
|
|
15
15
|
source?: (string | null) | null;
|
|
@@ -41,7 +41,7 @@ const core = __importStar(require("../../core"));
|
|
|
41
41
|
const ChatMessageRole_1 = require("./ChatMessageRole");
|
|
42
42
|
const ChatMessageContent_1 = require("./ChatMessageContent");
|
|
43
43
|
exports.ChatMessage = core.serialization.object({
|
|
44
|
-
text: core.serialization.string().
|
|
44
|
+
text: core.serialization.string().optionalNullable(),
|
|
45
45
|
role: ChatMessageRole_1.ChatMessageRole,
|
|
46
46
|
content: ChatMessageContent_1.ChatMessageContent.optionalNullable(),
|
|
47
47
|
source: core.serialization.string().optionalNullable(),
|
|
@@ -9,7 +9,7 @@ import { ChatMessageContentRequest } from "./ChatMessageContentRequest";
|
|
|
9
9
|
export declare const ChatMessageRequest: core.serialization.ObjectSchema<serializers.ChatMessageRequest.Raw, Vellum.ChatMessageRequest>;
|
|
10
10
|
export declare namespace ChatMessageRequest {
|
|
11
11
|
interface Raw {
|
|
12
|
-
text?: string | null;
|
|
12
|
+
text?: (string | null) | null;
|
|
13
13
|
role: ChatMessageRole.Raw;
|
|
14
14
|
content?: (ChatMessageContentRequest.Raw | null) | null;
|
|
15
15
|
source?: (string | null) | null;
|
|
@@ -41,7 +41,7 @@ const core = __importStar(require("../../core"));
|
|
|
41
41
|
const ChatMessageRole_1 = require("./ChatMessageRole");
|
|
42
42
|
const ChatMessageContentRequest_1 = require("./ChatMessageContentRequest");
|
|
43
43
|
exports.ChatMessageRequest = core.serialization.object({
|
|
44
|
-
text: core.serialization.string().
|
|
44
|
+
text: core.serialization.string().optionalNullable(),
|
|
45
45
|
role: ChatMessageRole_1.ChatMessageRole,
|
|
46
46
|
content: ChatMessageContentRequest_1.ChatMessageContentRequest.optionalNullable(),
|
|
47
47
|
source: core.serialization.string().optionalNullable(),
|
|
@@ -5,6 +5,7 @@ import * as serializers from "../index";
|
|
|
5
5
|
import * as Vellum from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
import { EntityStatus } from "./EntityStatus";
|
|
8
|
+
import { WorkflowSandboxDisplayData } from "./WorkflowSandboxDisplayData";
|
|
8
9
|
export declare const FolderEntityWorkflowSandboxData: core.serialization.ObjectSchema<serializers.FolderEntityWorkflowSandboxData.Raw, Vellum.FolderEntityWorkflowSandboxData>;
|
|
9
10
|
export declare namespace FolderEntityWorkflowSandboxData {
|
|
10
11
|
interface Raw {
|
|
@@ -15,5 +16,6 @@ export declare namespace FolderEntityWorkflowSandboxData {
|
|
|
15
16
|
status: EntityStatus.Raw;
|
|
16
17
|
description?: (string | null) | null;
|
|
17
18
|
last_deployed_on?: (string | null) | null;
|
|
19
|
+
display_data?: (WorkflowSandboxDisplayData.Raw | null) | null;
|
|
18
20
|
}
|
|
19
21
|
}
|
|
@@ -39,6 +39,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
39
39
|
exports.FolderEntityWorkflowSandboxData = void 0;
|
|
40
40
|
const core = __importStar(require("../../core"));
|
|
41
41
|
const EntityStatus_1 = require("./EntityStatus");
|
|
42
|
+
const WorkflowSandboxDisplayData_1 = require("./WorkflowSandboxDisplayData");
|
|
42
43
|
exports.FolderEntityWorkflowSandboxData = core.serialization.object({
|
|
43
44
|
id: core.serialization.string(),
|
|
44
45
|
label: core.serialization.string(),
|
|
@@ -47,4 +48,5 @@ exports.FolderEntityWorkflowSandboxData = core.serialization.object({
|
|
|
47
48
|
status: EntityStatus_1.EntityStatus,
|
|
48
49
|
description: core.serialization.string().optionalNullable(),
|
|
49
50
|
lastDeployedOn: core.serialization.property("last_deployed_on", core.serialization.date().optionalNullable()),
|
|
51
|
+
displayData: core.serialization.property("display_data", WorkflowSandboxDisplayData_1.WorkflowSandboxDisplayData.optionalNullable()),
|
|
50
52
|
});
|
|
@@ -6,5 +6,5 @@ import * as Vellum from "../../api/index";
|
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
export declare const IntegrationName: core.serialization.Schema<serializers.IntegrationName.Raw, Vellum.IntegrationName>;
|
|
8
8
|
export declare namespace IntegrationName {
|
|
9
|
-
type Raw = "SLACK" | "NOTION" | "GOOGLE" | "CALENDLY" | "CANVA" | "CLICKUP" | "HUBSPOT" | "INTERCOM" | "LINEAR" | "LINKEDIN" | "MAILCHIMP" | "MEM0" | "NEON" | "GITHUB" | "GOOGLE_SHEETS" | "GOOGLE_CALENDAR" | "GOOGLE_DRIVE" | "GMAIL" | "AIRTABLE" | "APOLLO" | "ASANA" | "ATLASSIAN" | "BOX" | "BREVO" | "BROWSERBASE_TOOL" | "CAL" | "CANVAS" | "ELEVENLABS" | "EXA" | "GAMMA" | "GITLAB" | "FIRECRAWL" | "FIGMA" | "GOOGLE_MAPS" | "JIRA" | "KLAVIYO" | "PAGERDUTY" | "PEOPLEDATALABS" | "PERPLEXITY" | "POSTHOG" | "REDDIT" | "SEMRUSH" | "SERPAPI" | "SHARE_POINT" | "STRIPE" | "SUPABASE" | "TAVILY" | "WEBFLOW" | "ZENDESK" | "DROPBOX" | "EVENTBRITE" | "CONFLUENCE" | "DISCORD" | "DOCUSIGN";
|
|
9
|
+
type Raw = "SLACK" | "NOTION" | "GOOGLE" | "CALENDLY" | "CANVA" | "CLICKUP" | "HUBSPOT" | "INTERCOM" | "LINEAR" | "LINKEDIN" | "MAILCHIMP" | "MEM0" | "NEON" | "GITHUB" | "GOOGLE_SHEETS" | "GOOGLE_CALENDAR" | "GOOGLE_DRIVE" | "GMAIL" | "AIRTABLE" | "APOLLO" | "ASANA" | "ATLASSIAN" | "BITBUCKET" | "BOX" | "BREVO" | "BROWSERBASE_TOOL" | "CAL" | "CANVAS" | "ELEVENLABS" | "EXA" | "GAMMA" | "GITLAB" | "FIRECRAWL" | "FIGMA" | "GOOGLE_MAPS" | "JIRA" | "KLAVIYO" | "PAGERDUTY" | "PARSERA" | "PEOPLEDATALABS" | "PERPLEXITY" | "POSTHOG" | "REDDIT" | "SEMRUSH" | "SERPAPI" | "SHARE_POINT" | "STRIPE" | "SUPABASE" | "TAVILY" | "WEBFLOW" | "ZENDESK" | "DROPBOX" | "EVENTBRITE" | "CONFLUENCE" | "DISCORD" | "DOCUSIGN";
|
|
10
10
|
}
|
|
@@ -61,6 +61,7 @@ exports.IntegrationName = core.serialization.enum_([
|
|
|
61
61
|
"APOLLO",
|
|
62
62
|
"ASANA",
|
|
63
63
|
"ATLASSIAN",
|
|
64
|
+
"BITBUCKET",
|
|
64
65
|
"BOX",
|
|
65
66
|
"BREVO",
|
|
66
67
|
"BROWSERBASE_TOOL",
|
|
@@ -76,6 +77,7 @@ exports.IntegrationName = core.serialization.enum_([
|
|
|
76
77
|
"JIRA",
|
|
77
78
|
"KLAVIYO",
|
|
78
79
|
"PAGERDUTY",
|
|
80
|
+
"PARSERA",
|
|
79
81
|
"PEOPLEDATALABS",
|
|
80
82
|
"PERPLEXITY",
|
|
81
83
|
"POSTHOG",
|
|
@@ -0,0 +1,15 @@
|
|
|
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 IntegrationTriggerContext: core.serialization.ObjectSchema<serializers.IntegrationTriggerContext.Raw, Vellum.IntegrationTriggerContext>;
|
|
8
|
+
export declare namespace IntegrationTriggerContext {
|
|
9
|
+
interface Raw {
|
|
10
|
+
parent?: (serializers.ParentContext.Raw | null) | null;
|
|
11
|
+
links?: (serializers.SpanLink.Raw[] | null) | null;
|
|
12
|
+
type: "INTEGRATION";
|
|
13
|
+
span_id: string;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
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 () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.IntegrationTriggerContext = void 0;
|
|
40
|
+
const serializers = __importStar(require("../index"));
|
|
41
|
+
const core = __importStar(require("../../core"));
|
|
42
|
+
exports.IntegrationTriggerContext = core.serialization.object({
|
|
43
|
+
parent: core.serialization.lazy(() => serializers.ParentContext).optionalNullable(),
|
|
44
|
+
links: core.serialization.list(core.serialization.lazyObject(() => serializers.SpanLink)).optionalNullable(),
|
|
45
|
+
type: core.serialization.stringLiteral("INTEGRATION"),
|
|
46
|
+
spanId: core.serialization.property("span_id", core.serialization.string()),
|
|
47
|
+
});
|
|
@@ -6,5 +6,5 @@ import * as Vellum from "../../api/index";
|
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
export declare const LogicalOperator: core.serialization.Schema<serializers.LogicalOperator.Raw, Vellum.LogicalOperator>;
|
|
8
8
|
export declare namespace LogicalOperator {
|
|
9
|
-
type Raw = "=" | "!=" | "<" | ">" | "<=" | ">=" | "contains" | "beginsWith" | "endsWith" | "doesNotContain" | "doesNotBeginWith" | "doesNotEndWith" | "null" | "notNull" | "in" | "notIn" | "between" | "notBetween" | "concat" | "blank" | "notBlank" | "coalesce" | "accessField" | "parseJson" | "and" | "or" | "isError" | "length";
|
|
9
|
+
type Raw = "=" | "!=" | "<" | ">" | "<=" | ">=" | "contains" | "beginsWith" | "endsWith" | "doesNotContain" | "doesNotBeginWith" | "doesNotEndWith" | "null" | "notNull" | "in" | "notIn" | "between" | "notBetween" | "concat" | "+" | "-" | "blank" | "notBlank" | "coalesce" | "accessField" | "parseJson" | "and" | "or" | "isError" | "length";
|
|
10
10
|
}
|
|
@@ -6,5 +6,5 @@ import * as Vellum from "../../api/index";
|
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
export declare const ParentContext: core.serialization.Schema<serializers.ParentContext.Raw, Vellum.ParentContext>;
|
|
8
8
|
export declare namespace ParentContext {
|
|
9
|
-
type Raw = serializers.WorkflowParentContext.Raw | serializers.NodeParentContext.Raw | serializers.WorkflowDeploymentParentContext.Raw | serializers.WorkflowSandboxParentContext.Raw | serializers.PromptDeploymentParentContext.Raw | serializers.ApiRequestParentContext.Raw | serializers.ExternalParentContext.Raw;
|
|
9
|
+
type Raw = serializers.WorkflowParentContext.Raw | serializers.NodeParentContext.Raw | serializers.WorkflowDeploymentParentContext.Raw | serializers.WorkflowSandboxParentContext.Raw | serializers.PromptDeploymentParentContext.Raw | serializers.ApiRequestParentContext.Raw | serializers.ExternalParentContext.Raw | serializers.ScheduledTriggerContext.Raw | serializers.IntegrationTriggerContext.Raw;
|
|
10
10
|
}
|
|
@@ -47,4 +47,6 @@ exports.ParentContext = core.serialization.undiscriminatedUnion([
|
|
|
47
47
|
core.serialization.lazyObject(() => serializers.PromptDeploymentParentContext),
|
|
48
48
|
core.serialization.lazyObject(() => serializers.ApiRequestParentContext),
|
|
49
49
|
core.serialization.lazyObject(() => serializers.ExternalParentContext),
|
|
50
|
+
core.serialization.lazyObject(() => serializers.ScheduledTriggerContext),
|
|
51
|
+
core.serialization.lazyObject(() => serializers.IntegrationTriggerContext),
|
|
50
52
|
]);
|
|
@@ -0,0 +1,15 @@
|
|
|
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 ScheduledTriggerContext: core.serialization.ObjectSchema<serializers.ScheduledTriggerContext.Raw, Vellum.ScheduledTriggerContext>;
|
|
8
|
+
export declare namespace ScheduledTriggerContext {
|
|
9
|
+
interface Raw {
|
|
10
|
+
parent?: (serializers.ParentContext.Raw | null) | null;
|
|
11
|
+
links?: (serializers.SpanLink.Raw[] | null) | null;
|
|
12
|
+
type: "SCHEDULED";
|
|
13
|
+
span_id: string;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
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 () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.ScheduledTriggerContext = void 0;
|
|
40
|
+
const serializers = __importStar(require("../index"));
|
|
41
|
+
const core = __importStar(require("../../core"));
|
|
42
|
+
exports.ScheduledTriggerContext = core.serialization.object({
|
|
43
|
+
parent: core.serialization.lazy(() => serializers.ParentContext).optionalNullable(),
|
|
44
|
+
links: core.serialization.list(core.serialization.lazyObject(() => serializers.SpanLink)).optionalNullable(),
|
|
45
|
+
type: core.serialization.stringLiteral("SCHEDULED"),
|
|
46
|
+
spanId: core.serialization.property("span_id", core.serialization.string()),
|
|
47
|
+
});
|
|
@@ -5,16 +5,17 @@ import * as serializers from "../index";
|
|
|
5
5
|
import * as Vellum from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
import { IntegrationAuthConfigIntegration } from "./IntegrationAuthConfigIntegration";
|
|
8
|
-
import { IntegrationAuthConfigIntegrationCredential } from "./IntegrationAuthConfigIntegrationCredential";
|
|
9
8
|
import { AuthTypeEnum } from "./AuthTypeEnum";
|
|
9
|
+
import { IntegrationAuthConfigIntegrationCredential } from "./IntegrationAuthConfigIntegrationCredential";
|
|
10
10
|
import { IntegrationCredentialAccessType } from "./IntegrationCredentialAccessType";
|
|
11
11
|
export declare const SlimIntegrationAuthConfigRead: core.serialization.ObjectSchema<serializers.SlimIntegrationAuthConfigRead.Raw, Vellum.SlimIntegrationAuthConfigRead>;
|
|
12
12
|
export declare namespace SlimIntegrationAuthConfigRead {
|
|
13
13
|
interface Raw {
|
|
14
14
|
id: string;
|
|
15
15
|
integration: IntegrationAuthConfigIntegration.Raw;
|
|
16
|
-
integration_credentials?: (IntegrationAuthConfigIntegrationCredential.Raw[] | null) | null;
|
|
17
16
|
auth_type?: AuthTypeEnum.Raw | null;
|
|
17
|
+
integration_credentials?: (IntegrationAuthConfigIntegrationCredential.Raw[] | null) | null;
|
|
18
|
+
system_credential_eligible?: boolean | null;
|
|
18
19
|
default_access_type?: IntegrationCredentialAccessType.Raw | null;
|
|
19
20
|
}
|
|
20
21
|
}
|