Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion core/request_option.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ func (r *RequestOptions) cloneHeader() http.Header {
headers := r.HTTPHeader.Clone()
headers.Set("X-Fern-Language", "Go")
headers.Set("X-Fern-SDK-Name", "github.com/vellum-ai/vellum-client-go")
headers.Set("X-Fern-SDK-Version", "v1.13.5")
headers.Set("X-Fern-SDK-Version", "v0.0.4017")
return headers
}

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/vellum-ai/vellum-client-go

// Version: v1.13.5
// Version: v1.13.6

go 1.18

Expand Down
8 changes: 6 additions & 2 deletions integration_auth_configs.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,18 +26,22 @@ type ListIntegrationAuthConfigsRequest struct {
}

// * `API_KEY` - API Key
// * `GOOGLE_SERVICE_ACCOUNT` - Google Service Account
// * `OAUTH2` - OAuth2
type AuthTypeEnum string

const (
AuthTypeEnumApiKey AuthTypeEnum = "API_KEY"
AuthTypeEnumOauth2 AuthTypeEnum = "OAUTH2"
AuthTypeEnumApiKey AuthTypeEnum = "API_KEY"
AuthTypeEnumGoogleServiceAccount AuthTypeEnum = "GOOGLE_SERVICE_ACCOUNT"
AuthTypeEnumOauth2 AuthTypeEnum = "OAUTH2"
)

func NewAuthTypeEnumFromString(s string) (AuthTypeEnum, error) {
switch s {
case "API_KEY":
return AuthTypeEnumApiKey, nil
case "GOOGLE_SERVICE_ACCOUNT":
return AuthTypeEnumGoogleServiceAccount, nil
case "OAUTH2":
return AuthTypeEnumOauth2, nil
}
Expand Down
12 changes: 5 additions & 7 deletions integrations.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,11 @@ type ComponentsSchemasComposioIntegrationExecConfig = *ComposioIntegrationExecCo

// Payload for executing a Composio tool with provider id and tool arguments.
type ComposioExecuteToolRequest struct {
Arguments map[string]interface{} `json:"arguments" url:"arguments"`
ToolkitVersion *string `json:"toolkit_version,omitempty" url:"toolkit_version,omitempty"`
IntegrationName *string `json:"integration_name,omitempty" url:"integration_name,omitempty"`
Integration *string `json:"integration,omitempty" url:"integration,omitempty"`
ToolName *string `json:"tool_name,omitempty" url:"tool_name,omitempty"`
Tool *string `json:"tool,omitempty" url:"tool,omitempty"`
provider string
Arguments map[string]interface{} `json:"arguments" url:"arguments"`
ToolkitVersion *string `json:"toolkit_version,omitempty" url:"toolkit_version,omitempty"`
Integration *string `json:"integration,omitempty" url:"integration,omitempty"`
Tool *string `json:"tool,omitempty" url:"tool,omitempty"`
provider string

extraProperties map[string]interface{}
_rawJSON json.RawMessage
Expand Down
5 changes: 5 additions & 0 deletions types.go
Original file line number Diff line number Diff line change
Expand Up @@ -9415,6 +9415,7 @@ func (i *Integration) String() string {
// * `GMAIL` - Gmail
// * `GOOGLE_ADS` - Google Ads
// * `GOOGLE_ANALYTICS` - Google Analytics
// * `GOOGLE_BIGQUERY` - Google BigQuery
// * `GOOGLE_DOCS` - Google Docs
// * `GOOGLE_PHOTOS` - Google Photos
// * `GOOGLE_SEARCH_CONSOLE` - Google Search Console
Expand Down Expand Up @@ -9518,6 +9519,7 @@ const (
IntegrationNameGmail IntegrationName = "GMAIL"
IntegrationNameGoogleAds IntegrationName = "GOOGLE_ADS"
IntegrationNameGoogleAnalytics IntegrationName = "GOOGLE_ANALYTICS"
IntegrationNameGoogleBigquery IntegrationName = "GOOGLE_BIGQUERY"
IntegrationNameGoogleDocs IntegrationName = "GOOGLE_DOCS"
IntegrationNameGooglePhotos IntegrationName = "GOOGLE_PHOTOS"
IntegrationNameGoogleSearchConsole IntegrationName = "GOOGLE_SEARCH_CONSOLE"
Expand Down Expand Up @@ -9650,6 +9652,8 @@ func NewIntegrationNameFromString(s string) (IntegrationName, error) {
return IntegrationNameGoogleAds, nil
case "GOOGLE_ANALYTICS":
return IntegrationNameGoogleAnalytics, nil
case "GOOGLE_BIGQUERY":
return IntegrationNameGoogleBigquery, nil
case "GOOGLE_DOCS":
return IntegrationNameGoogleDocs, nil
case "GOOGLE_PHOTOS":
Expand Down Expand Up @@ -25390,6 +25394,7 @@ func (w *WorkflowExecutionFulfilledEvent) String() string {
type WorkflowExecutionInitiatedBody struct {
WorkflowDefinition *VellumCodeResourceDefinition `json:"workflow_definition" url:"workflow_definition"`
Inputs map[string]interface{} `json:"inputs" url:"inputs"`
Trigger *VellumCodeResourceDefinition `json:"trigger,omitempty" url:"trigger,omitempty"`

extraProperties map[string]interface{}
_rawJSON json.RawMessage
Expand Down