diff --git a/core/request_option.go b/core/request_option.go index bf2fef9..867d753 100644 --- a/core/request_option.go +++ b/core/request_option.go @@ -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 } diff --git a/go.mod b/go.mod index aae74d1..57f2274 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/vellum-ai/vellum-client-go -// Version: v1.13.5 +// Version: v1.13.6 go 1.18 diff --git a/integration_auth_configs.go b/integration_auth_configs.go index f42ccf1..5c6b246 100644 --- a/integration_auth_configs.go +++ b/integration_auth_configs.go @@ -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 } diff --git a/integrations.go b/integrations.go index 4b00907..14075fb 100644 --- a/integrations.go +++ b/integrations.go @@ -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 diff --git a/types.go b/types.go index 8505e7d..73d83a8 100644 --- a/types.go +++ b/types.go @@ -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 @@ -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" @@ -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": @@ -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