diff --git a/CHANGELOG.md b/CHANGELOG.md index a8e90ea..c73a58e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,70 @@ this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm For releases prior to `0.2.0`, see the auto-generated notes on the [GitHub Releases](https://github.com/chatbotkit/go-sdk/releases) page. +## [Unreleased] + +## [0.5.0] - 2026-09-18 + +### Added + +- `Options.Token` is the new name for the API credential. `Options.Secret` is + deprecated and still works; `Token` wins when both are set. +- `client.Decision.Create` asks a decision model typed questions (boolean, + choice, score) about a state and returns an answer with probabilities for + each. The request is the hand-written `sdk.DecisionCreateRequest`, whose + state, instructions and criteria take any JSON value, because the generated + request type cannot hold the named options of a choice question. + +### Fixed + +- A path prefix on `Options.BaseURL` was dropped, so a platform served under a + sub-path (for example `http://localhost:3000/cbk`) was unreachable. The prefix + is now preserved for regular, raw and streaming requests. Plain `http` base + URLs work for local use. +- The SDK did not build: `types/aliases.go` still pointed at generated names + that the last types regeneration had renamed. The aliases are updated, and + the names consumers use are unchanged. + +### Changed + +- **BREAKING:** skillset ability link fields renamed. On create/update/fetch/ + list/export, `secretId` / `fileId` / `botId` / `spaceId` are now + `linkedSecretId` / `linkedFileId` / `linkedBotId` / `linkedSpaceId`. Inline + conversation `extensions.skillsets[].abilities[]` entries use + `linkedSecretId` (and the new `linkedSpaceId`). GraphQL `Ability` relations + `secret` / `file` / `bot` / `space` are now `linkedSecret` / `linkedFile` / + `linkedBot` / `linkedSpace`. There are no compatibility aliases; upgrade + together with the platform deploy. +- Regenerated types also pick up unrelated API changes since the previous + regeneration (2026-08-19), grouped by resource: + - **BREAKING:** Dataset: `store` removed from `DatasetCreateRequest`, + `DatasetFetchResponse`, `DatasetListResponseItem` and + `DatasetListStreamItemData` (the platform now has a single vector store; + the REST API accepts and ignores `store`). + - Conversation: `expiresAt` (epoch ms, auto-delete) added to + `ConversationUpdateRequest`, `ConversationFetchResponse`, + `ConversationListResponseItem` and `ConversationListStreamItemData`. + - Memory: `expiresAt` added to `MemoryCreateRequest`, `MemoryUpdateRequest`, + `MemoryFetchResponse`, `MemoryListResponseItem` and + `MemoryListStreamItemData`. + - Task: `expiresAt` added to `TaskCreateRequest`, `TaskUpdateRequest`, + `TaskFetchResponse`, `TaskListResponseItem` and `TaskListStreamItemData`; + `resumeAt` (when a paused run resumes, null while running) added to + `TaskExecutionListResponseItem` and `TaskExecutionListStreamItemData`. + - Policy: `state` (`enabled` | `disabled`) added to `PolicyCreateRequest`, + `PolicyUpdateRequest`, `PolicyFetchResponse`, `PolicyListResponseItem` and + `PolicyListStreamItemData`. + - WhatsApp integration: `appSecret` (Meta app secret for webhook signature + validation, masked as `********` on read) added to + `IntegrationWhatsAppCreateRequest`, `IntegrationWhatsAppUpdateRequest`, + `IntegrationWhatsAppFetchResponse`, `IntegrationWhatsAppListResponseItem` + and `IntegrationWhatsAppListStreamItemData`; `idempotencyKey` added to + `WhatsappInitiateRequest`. + - GitHub integration: `allowFrom` (allowed senders) added to + `GithubIntegrationCreateRequest`. +- `agent.convertMessageExtensions` now forwards `LinkedSpaceID` alongside + `LinkedSecretID` for inline abilities. + ## [0.4.0] - 2026-06-27 ### Added @@ -16,9 +80,14 @@ For releases prior to `0.2.0`, see the auto-generated notes on the secrets only; owner-only) and return `{ Token, ExpiresAt }`. `SecretClient.Proxy` / `ContactSecretClient.Proxy` proxy a request through a secret — the credential is injected server-side (it never leaves the platform) - and the raw upstream `*http.Response` is returned verbatim. A non-2xx status - (including `409 authorization_required`) is returned, not an error; the caller - closes `resp.Body`. Backed by the new internal `httpclient.DoRaw`. + and the upstream `*http.Response` is returned as-is, success or error (the + caller closes `resp.Body`). +- `AuthorizationRequiredError` (aliased into the `sdk` package; detect with + `errors.As`) carrying the `URL` the user must visit to authorize. It is + returned when a secret or connection has not been authenticated yet + (`409 authorization_required`) — by `Mint`, by any normal route, and by + `Proxy` (which otherwise passes every genuine upstream response through + untouched). Generic API `Error`s now also carry the HTTP `Status`. ## [0.3.0] - 2026-06-26 diff --git a/README.md b/README.md index f66f8f4..8f38fc9 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,5 @@ -[![ChatBotKit](https://img.shields.io/badge/credits-ChatBotKit-blue.svg)](https://chatbotkit.com) [![CBK.AI](https://img.shields.io/badge/credits-CBK.AI-blue.svg)](https://cbk.ai) -[![Email](https://img.shields.io/badge/Email-Support-blue?logo=mail.ru)](mailto:support@chatbotkit.com) +[![Email](https://img.shields.io/badge/Email-Support-blue?logo=mail.ru)](mailto:support@cbk.ai) [![Discord](https://img.shields.io/badge/Discord-Support-blue?logo=discord)](https://go.cbk.ai/discord) [![Go Reference](https://pkg.go.dev/badge/github.com/chatbotkit/go-sdk.svg)](https://pkg.go.dev/github.com/chatbotkit/go-sdk) [![Follow on Twitter](https://img.shields.io/twitter/follow/chatbotkit.svg?logo=twitter)](https://twitter.com/chatbotkit) @@ -58,9 +57,9 @@ import ( ) func main() { - // Create a client with your API key + // Create a client with your API token client := sdk.New(sdk.Options{ - Secret: "your-api-key", + Token: "your-api-token", }) // Run a simple conversation @@ -95,7 +94,7 @@ The main `sdk` package provides access to all ChatBotKit API resources: ```go client := sdk.New(sdk.Options{ - Secret: "your-api-key", + Token: "your-api-token", BaseURL: "https://api.chatbotkit.com", // optional RunAsUserID: "user-id", // optional Timezone: "America/New_York", // optional @@ -132,7 +131,7 @@ client.Integration.McpServer // MCP server integrations client.Integration.Microsoftteams // Microsoft Teams integrations client.Integration.GoogleChat // Google Chat integrations client.Memory // Memory management -client.Partner // Partner operations +client.User // User operations client.Platform // Platform content and catalogue access client.Policy // Policy management client.Portal // Portal management @@ -565,7 +564,7 @@ var resp types.BotCreateResponse To regenerate the types from the latest API spec: ```bash -cd sites/main +cd platform/platform pnpm script:generate-api-types --output ../../sdks/go/types/types.go --package types ``` diff --git a/VERSION b/VERSION index 1d0ba9e..8f0916f 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.4.0 +0.5.0 diff --git a/agent/agent.go b/agent/agent.go index 577705c..0c32130 100644 --- a/agent/agent.go +++ b/agent/agent.go @@ -5,7 +5,7 @@ // // Example usage: // -// client := sdk.New(sdk.Options{Secret: "your-api-key"}) +// client := sdk.New(sdk.Options{Token: "your-api-token"}) // // result, err := agent.Complete(ctx, client, agent.CompleteOptions{ // Model: "gpt-4o", @@ -1302,11 +1302,12 @@ func convertMessageExtensions(extensions *types.ConversationCompleteRequestExten converted.Abilities = make([]types.MessageCompleteAbility, 0, len(skillset.Abilities)) for _, ability := range skillset.Abilities { converted.Abilities = append(converted.Abilities, types.MessageCompleteAbility{ - Description: ability.Description, - Instruction: ability.Instruction, - Meta: ability.Meta, - Name: ability.Name, - SecretID: ability.SecretID, + Description: ability.Description, + Instruction: ability.Instruction, + Meta: ability.Meta, + Name: ability.Name, + LinkedSecretID: ability.LinkedSecretID, + LinkedSpaceID: ability.LinkedSpaceID, }) } } diff --git a/agent/agent_internal_test.go b/agent/agent_internal_test.go index 40b8585..637a0a2 100644 --- a/agent/agent_internal_test.go +++ b/agent/agent_internal_test.go @@ -1,6 +1,7 @@ package agent import ( + "reflect" "strings" "testing" @@ -50,6 +51,7 @@ func TestConvertMessageExtensions(t *testing.T) { datasetName := "kb" skillsetName := "ops" secretID := "secret_123" + spaceID := "space_123" extensions := &types.ConversationCompleteRequestExtensions{ Backstory: &backstory, @@ -67,11 +69,12 @@ func TestConvertMessageExtensions(t *testing.T) { Skillsets: []types.CompleteSkillset{{ Name: &skillsetName, Abilities: []types.CompleteAbility{{ - Name: "lookup", - Description: "Look something up", - Instruction: "Search the knowledge base", - Meta: map[string]interface{}{"kind": "search"}, - SecretID: &secretID, + Name: "lookup", + Description: "Look something up", + Instruction: "Search the knowledge base", + Meta: map[string]interface{}{"kind": "search"}, + LinkedSecretID: &secretID, + LinkedSpaceID: &spaceID, }}, }}, } @@ -92,7 +95,100 @@ func TestConvertMessageExtensions(t *testing.T) { if len(converted.Skillsets) != 1 || len(converted.Skillsets[0].Abilities) != 1 { t.Fatalf("unexpected skillset conversion: %#v", converted.Skillsets) } - if converted.Skillsets[0].Abilities[0].SecretID == nil || *converted.Skillsets[0].Abilities[0].SecretID != secretID { - t.Fatalf("unexpected ability conversion: %#v", converted.Skillsets[0].Abilities[0]) + ability := converted.Skillsets[0].Abilities[0] + if ability.LinkedSecretID == nil || *ability.LinkedSecretID != secretID { + t.Fatalf("unexpected ability linkedSecretId: %#v", ability) + } + if ability.LinkedSpaceID == nil || *ability.LinkedSpaceID != spaceID { + t.Fatalf("unexpected ability linkedSpaceId: %#v", ability) + } +} + +// fillStructNonZero sets every exported field of the struct pointed to by v to +// a non-zero value derived from the field name, so a round-trip can detect any +// field that is silently dropped. +func fillStructNonZero(t *testing.T, v reflect.Value) { + t.Helper() + + for i := 0; i < v.NumField(); i++ { + field := v.Field(i) + name := v.Type().Field(i).Name + if !field.CanSet() { + continue + } + switch field.Kind() { + case reflect.String: + field.SetString(name) + case reflect.Ptr: + elem := reflect.New(field.Type().Elem()) + if elem.Elem().Kind() == reflect.String { + elem.Elem().SetString(name) + } else if elem.Elem().Kind() == reflect.Struct { + fillStructNonZero(t, elem.Elem()) + } + field.Set(elem) + case reflect.Map: + m := reflect.MakeMap(field.Type()) + m.SetMapIndex(reflect.ValueOf(name), reflect.ValueOf(name).Convert(field.Type().Elem())) + field.Set(m) + case reflect.Slice: + s := reflect.MakeSlice(field.Type(), 1, 1) + if s.Index(0).Kind() == reflect.Struct { + fillStructNonZero(t, s.Index(0)) + } + field.Set(s) + case reflect.Bool: + field.SetBool(true) + case reflect.Int, reflect.Int64, reflect.Float64: + field.SetInt(1) + default: + t.Fatalf("fillStructNonZero: unsupported kind %s for field %s", field.Kind(), name) + } + } +} + +// TestConvertMessageExtensionsAbilityParity is a parity guard: every field on +// the inline ability request type must survive convertMessageExtensions. If the +// generated types gain a new ability field that the conversion does not copy, +// this test fails. +func TestConvertMessageExtensionsAbilityParity(t *testing.T) { + inType := reflect.TypeOf(types.CompleteAbility{}) + outType := reflect.TypeOf(types.MessageCompleteAbility{}) + + for i := 0; i < inType.NumField(); i++ { + if _, ok := outType.FieldByName(inType.Field(i).Name); !ok { + t.Fatalf("output ability type is missing input field %s", inType.Field(i).Name) + } + } + for i := 0; i < outType.NumField(); i++ { + if _, ok := inType.FieldByName(outType.Field(i).Name); !ok { + t.Fatalf("input ability type is missing output field %s", outType.Field(i).Name) + } + } + + var input types.CompleteAbility + fillStructNonZero(t, reflect.ValueOf(&input).Elem()) + + skillsetName := "ops" + converted := convertMessageExtensions(&types.ConversationCompleteRequestExtensions{ + Skillsets: []types.CompleteSkillset{{ + Name: &skillsetName, + Abilities: []types.CompleteAbility{input}, + }}, + }) + if converted == nil || len(converted.Skillsets) != 1 || len(converted.Skillsets[0].Abilities) != 1 { + t.Fatalf("unexpected skillset conversion: %#v", converted) + } + + out := reflect.ValueOf(converted.Skillsets[0].Abilities[0]) + for i := 0; i < out.NumField(); i++ { + name := out.Type().Field(i).Name + if out.Field(i).IsZero() { + t.Fatalf("convertMessageExtensions dropped ability field %s", name) + } + in := reflect.ValueOf(input).FieldByName(name) + if !reflect.DeepEqual(in.Interface(), out.Field(i).Interface()) { + t.Fatalf("ability field %s changed during conversion: %#v != %#v", name, in.Interface(), out.Field(i).Interface()) + } } } diff --git a/examples/README.md b/examples/README.md index 354ea6b..6305446 100644 --- a/examples/README.md +++ b/examples/README.md @@ -5,7 +5,7 @@ This directory contains example applications demonstrating how to use the ChatBo ## Prerequisites - Go 1.21 or later -- A ChatBotKit API key (get one at [chatbotkit.com](https://chatbotkit.com)) +- A ChatBotKit API token (get one at [chatbotkit.com](https://chatbotkit.com)) ## Examples @@ -24,11 +24,11 @@ A simple interactive chatbot that demonstrates: cd examples/chatbot # Option 1: Use a .env file -echo 'CHATBOTKIT_API_SECRET=your-api-key' > .env +echo 'CHATBOTKIT_API_TOKEN=your-api-token' > .env go run main.go # Option 2: Use environment variable -export CHATBOTKIT_API_SECRET="your-api-key" +export CHATBOTKIT_API_TOKEN="your-api-token" go run main.go ``` @@ -61,8 +61,8 @@ An autonomous agent that completes tasks end-to-end without interactive input: ```bash cd examples/agent -# Set your API key -export CHATBOTKIT_API_SECRET="your-api-key" +# Set your API token +export CHATBOTKIT_API_TOKEN="your-api-token" # Run with a custom task go run main.go "Create a file called hello.txt with the content 'Hello, World!'" @@ -115,11 +115,11 @@ An example demonstrating interactive chat with custom tool registration: cd examples/agent-with-tools # Option 1: Use a .env file -echo 'CHATBOTKIT_API_SECRET=your-api-key' > .env +echo 'CHATBOTKIT_API_TOKEN=your-api-token' > .env go run main.go # Option 2: Use environment variable -export CHATBOTKIT_API_SECRET="your-api-key" +export CHATBOTKIT_API_TOKEN="your-api-token" go run main.go ``` @@ -185,7 +185,7 @@ An autonomous agent that ships with skill definitions baked into the binary usin ```bash cd examples/agent-with-embedded-skills -export CHATBOTKIT_API_SECRET="your-api-key" +export CHATBOTKIT_API_TOKEN="your-api-token" # Run with a custom task go run . "Review this Go function: func add(a, b int) int { return a - b }" @@ -233,8 +233,8 @@ Demonstrates how to manually drive `agent.CompleteWithTools`, giving you full co ```bash cd examples/stateless-agent -# Set your API key -export CHATBOTKIT_API_SECRET="your-api-key" +# Set your API token +export CHATBOTKIT_API_TOKEN="your-api-token" # Run the example go run main.go @@ -285,8 +285,8 @@ Demonstrates the same manually-driven `agent.CompleteWithTools` pattern against ```bash cd examples/stateful-agent -# Set your API key -export CHATBOTKIT_API_SECRET="your-api-key" +# Set your API token +export CHATBOTKIT_API_TOKEN="your-api-token" # Run the example go run main.go @@ -316,7 +316,7 @@ for iterationCount < maxIterations { You can also run examples from the SDK root directory: ```bash -export CHATBOTKIT_API_SECRET="your-api-key" +export CHATBOTKIT_API_TOKEN="your-api-token" go run ./examples/chatbot go run ./examples/agent "Create a file called test.txt" go run ./examples/agent-with-tools @@ -329,7 +329,7 @@ go run ./examples/stateful-agent | Variable | Description | Required | | ----------------------- | ----------------------- | -------- | -| `CHATBOTKIT_API_SECRET` | Your ChatBotKit API key | Yes | +| `CHATBOTKIT_API_TOKEN` | Your ChatBotKit API token | Yes | ## Creating Your Own Chatbot diff --git a/examples/agent-with-embedded-skills/README.md b/examples/agent-with-embedded-skills/README.md index 5f9724c..b39a860 100644 --- a/examples/agent-with-embedded-skills/README.md +++ b/examples/agent-with-embedded-skills/README.md @@ -21,7 +21,7 @@ Add more skills by creating a new subdirectory under `skills/` with a `SKILL.md` ## Usage ```bash -export CHATBOTKIT_API_SECRET="your-api-key" +export CHATBOTKIT_API_TOKEN="your-api-token" # Run with a custom task go run . "Review this Go function: func add(a, b int) int { return a - b }" diff --git a/examples/agent-with-embedded-skills/main.go b/examples/agent-with-embedded-skills/main.go index ccf4566..fdacc5b 100644 --- a/examples/agent-with-embedded-skills/main.go +++ b/examples/agent-with-embedded-skills/main.go @@ -11,7 +11,7 @@ // // Usage: // -// export CHATBOTKIT_API_SECRET="your-api-key" +// export CHATBOTKIT_API_TOKEN="your-api-token" // go run . "Review this Go function: func add(a, b int) int { return a - b }" // // Or run without arguments to use a default demo task: @@ -41,9 +41,9 @@ var skillsFS embed.FS func main() { godotenv.Load() - apiSecret := os.Getenv("CHATBOTKIT_API_SECRET") - if apiSecret == "" { - fmt.Fprintln(os.Stderr, "Error: CHATBOTKIT_API_SECRET environment variable is not set") + apiToken := os.Getenv("CHATBOTKIT_API_TOKEN") + if apiToken == "" { + fmt.Fprintln(os.Stderr, "Error: CHATBOTKIT_API_TOKEN environment variable is not set") os.Exit(1) } @@ -82,7 +82,7 @@ fast compilation.` } fmt.Println() - client := sdk.New(sdk.Options{Secret: apiSecret}) + client := sdk.New(sdk.Options{Token: apiToken}) ctx := context.Background() tools := agent.DefaultTools() diff --git a/examples/agent-with-tools/README.md b/examples/agent-with-tools/README.md index 604a6ad..dd7a342 100644 --- a/examples/agent-with-tools/README.md +++ b/examples/agent-with-tools/README.md @@ -13,11 +13,11 @@ An interactive chatbot that registers custom tools the AI can call during a conv ```bash # Option 1: .env file -echo 'CHATBOTKIT_API_SECRET=your-api-key' > .env +echo 'CHATBOTKIT_API_TOKEN=your-api-token' > .env go run . # Option 2: environment variable -export CHATBOTKIT_API_SECRET="your-api-key" +export CHATBOTKIT_API_TOKEN="your-api-token" go run . ``` diff --git a/examples/agent-with-tools/main.go b/examples/agent-with-tools/main.go index d927dee..2d7f3a4 100644 --- a/examples/agent-with-tools/main.go +++ b/examples/agent-with-tools/main.go @@ -8,7 +8,7 @@ // // Usage: // -// export CHATBOTKIT_API_SECRET="your-api-key" +// export CHATBOTKIT_API_TOKEN="your-api-token" // go run main.go package main @@ -30,16 +30,16 @@ func main() { // Load .env file if present godotenv.Load() - // Get API secret from environment variable - apiSecret := os.Getenv("CHATBOTKIT_API_SECRET") - if apiSecret == "" { - fmt.Fprintln(os.Stderr, "Error: CHATBOTKIT_API_SECRET environment variable is not set") + // Get API token from environment variable + apiToken := os.Getenv("CHATBOTKIT_API_TOKEN") + if apiToken == "" { + fmt.Fprintln(os.Stderr, "Error: CHATBOTKIT_API_TOKEN environment variable is not set") os.Exit(1) } // Create a ChatBotKit client client := sdk.New(sdk.Options{ - Secret: apiSecret, + Token: apiToken, }) // Create a context for API calls diff --git a/examples/agent/README.md b/examples/agent/README.md index 49f8be7..7bef6ba 100644 --- a/examples/agent/README.md +++ b/examples/agent/README.md @@ -12,7 +12,7 @@ An autonomous agent that runs a task end-to-end without interactive input, using ## Usage ```bash -export CHATBOTKIT_API_SECRET="your-api-key" +export CHATBOTKIT_API_TOKEN="your-api-token" # Run with a custom task go run . "Create a file called hello.txt with the content 'Hello, World!'" diff --git a/examples/agent/main.go b/examples/agent/main.go index ae5fb76..2e3ec16 100644 --- a/examples/agent/main.go +++ b/examples/agent/main.go @@ -10,7 +10,7 @@ // // Usage: // -// export CHATBOTKIT_API_SECRET="your-api-key" +// export CHATBOTKIT_API_TOKEN="your-api-token" // go run main.go "Create a file called hello.txt with the content 'Hello, World!'" // // Or run without arguments to use a default demo task: @@ -33,10 +33,10 @@ func main() { // Load .env file if present godotenv.Load() - // Get API secret from environment variable - apiSecret := os.Getenv("CHATBOTKIT_API_SECRET") - if apiSecret == "" { - fmt.Fprintln(os.Stderr, "Error: CHATBOTKIT_API_SECRET environment variable is not set") + // Get API token from environment variable + apiToken := os.Getenv("CHATBOTKIT_API_TOKEN") + if apiToken == "" { + fmt.Fprintln(os.Stderr, "Error: CHATBOTKIT_API_TOKEN environment variable is not set") os.Exit(1) } @@ -50,7 +50,7 @@ func main() { // Create a ChatBotKit client client := sdk.New(sdk.Options{ - Secret: apiSecret, + Token: apiToken, }) // Create a context for API calls diff --git a/examples/chatbot/README.md b/examples/chatbot/README.md index 0e89cc4..fd1f6bc 100644 --- a/examples/chatbot/README.md +++ b/examples/chatbot/README.md @@ -13,11 +13,11 @@ A simple interactive chatbot that streams responses in real-time using the ChatB ```bash # Option 1: .env file -echo 'CHATBOTKIT_API_SECRET=your-api-key' > .env +echo 'CHATBOTKIT_API_TOKEN=your-api-token' > .env go run . # Option 2: environment variable -export CHATBOTKIT_API_SECRET="your-api-key" +export CHATBOTKIT_API_TOKEN="your-api-token" go run . ``` diff --git a/examples/chatbot/main.go b/examples/chatbot/main.go index 95582d7..a28e421 100644 --- a/examples/chatbot/main.go +++ b/examples/chatbot/main.go @@ -7,7 +7,7 @@ // // Usage: // -// export CHATBOTKIT_API_SECRET="your-api-key" +// export CHATBOTKIT_API_TOKEN="your-api-token" // go run main.go package main @@ -27,16 +27,16 @@ func main() { // Load .env file if present godotenv.Load() - // Get API secret from environment variable - apiSecret := os.Getenv("CHATBOTKIT_API_SECRET") - if apiSecret == "" { - fmt.Fprintln(os.Stderr, "Error: CHATBOTKIT_API_SECRET environment variable is not set") + // Get API token from environment variable + apiToken := os.Getenv("CHATBOTKIT_API_TOKEN") + if apiToken == "" { + fmt.Fprintln(os.Stderr, "Error: CHATBOTKIT_API_TOKEN environment variable is not set") os.Exit(1) } // Create a ChatBotKit client client := sdk.New(sdk.Options{ - Secret: apiSecret, + Token: apiToken, }) // Create a context for API calls diff --git a/examples/portable-embedded-agent/main.go b/examples/portable-embedded-agent/main.go index c9f18fc..280681d 100644 --- a/examples/portable-embedded-agent/main.go +++ b/examples/portable-embedded-agent/main.go @@ -87,7 +87,7 @@ func main() { } fmt.Println() - mintClient := sdk.New(sdk.Options{Secret: sessionMintToken}) + mintClient := sdk.New(sdk.Options{Token: sessionMintToken}) session, err := createTemporarySession(ctx, mintClient, botID) if err != nil { exitf("failed to create temporary bot session: %v", err) @@ -98,7 +98,7 @@ func main() { fmt.Println("Expires:", formatMillis(session.ExpiresAt)) fmt.Println() - sessionClient := sdk.New(sdk.Options{Secret: session.Token}) + sessionClient := sdk.New(sdk.Options{Token: session.Token}) if err := runPortableAgent(ctx, sessionClient, session.ConversationID, task, skillsFeature); err != nil { exitf("agent failed: %v", err) } diff --git a/examples/stateful-agent/README.md b/examples/stateful-agent/README.md index a2d4a9a..6970c6c 100644 --- a/examples/stateful-agent/README.md +++ b/examples/stateful-agent/README.md @@ -21,7 +21,7 @@ Demonstrates the same manually-driven `agent.CompleteWithTools` loop as the stat ## Usage ```bash -export CHATBOTKIT_API_SECRET="your-api-key" +export CHATBOTKIT_API_TOKEN="your-api-token" go run . ``` diff --git a/examples/stateful-agent/main.go b/examples/stateful-agent/main.go index 7dcca64..441123d 100644 --- a/examples/stateful-agent/main.go +++ b/examples/stateful-agent/main.go @@ -13,7 +13,7 @@ // // Usage: // -// export CHATBOTKIT_API_SECRET="your-api-key" +// export CHATBOTKIT_API_TOKEN="your-api-token" // go run ./examples/stateful-agent package main @@ -31,14 +31,14 @@ import ( func main() { godotenv.Load() - apiSecret := os.Getenv("CHATBOTKIT_API_SECRET") - if apiSecret == "" { - fmt.Fprintln(os.Stderr, "Error: CHATBOTKIT_API_SECRET environment variable is not set") + apiToken := os.Getenv("CHATBOTKIT_API_TOKEN") + if apiToken == "" { + fmt.Fprintln(os.Stderr, "Error: CHATBOTKIT_API_TOKEN environment variable is not set") os.Exit(1) } ctx := context.Background() - client := sdk.New(sdk.Options{Secret: apiSecret}) + client := sdk.New(sdk.Options{Token: apiToken}) tools := agent.Tools{ "get_weather": { diff --git a/examples/stateless-agent/README.md b/examples/stateless-agent/README.md index 956aaa5..408c05a 100644 --- a/examples/stateless-agent/README.md +++ b/examples/stateless-agent/README.md @@ -21,7 +21,7 @@ Demonstrates manually driving `agent.CompleteWithTools` one iteration at a time, ## Usage ```bash -export CHATBOTKIT_API_SECRET="your-api-key" +export CHATBOTKIT_API_TOKEN="your-api-token" go run . ``` diff --git a/examples/stateless-agent/main.go b/examples/stateless-agent/main.go index 5be2827..6e9efc4 100644 --- a/examples/stateless-agent/main.go +++ b/examples/stateless-agent/main.go @@ -20,7 +20,7 @@ // // Usage: // -// export CHATBOTKIT_API_SECRET="your-api-key" +// export CHATBOTKIT_API_TOKEN="your-api-token" // go run ./examples/stateless-agent package main @@ -37,13 +37,13 @@ import ( func main() { godotenv.Load() - apiSecret := os.Getenv("CHATBOTKIT_API_SECRET") - if apiSecret == "" { - fmt.Fprintln(os.Stderr, "Error: CHATBOTKIT_API_SECRET environment variable is not set") + apiToken := os.Getenv("CHATBOTKIT_API_TOKEN") + if apiToken == "" { + fmt.Fprintln(os.Stderr, "Error: CHATBOTKIT_API_TOKEN environment variable is not set") os.Exit(1) } - client := sdk.New(sdk.Options{Secret: apiSecret}) + client := sdk.New(sdk.Options{Token: apiToken}) // Define simple tools that the AI can call tools := agent.Tools{ diff --git a/internal/httpclient/client.go b/internal/httpclient/client.go index e666d75..fa31073 100644 --- a/internal/httpclient/client.go +++ b/internal/httpclient/client.go @@ -10,6 +10,7 @@ import ( "io" "net/http" "net/url" + "strings" "time" ) @@ -96,6 +97,8 @@ type RequestOptions struct { type Error struct { Message string `json:"message"` Code string `json:"code"` + // Status is the HTTP status code (0 if unknown). + Status int `json:"-"` } func (e *Error) Error() string { @@ -105,15 +108,75 @@ func (e *Error) Error() string { return e.Message } +// AuthorizationRequiredError is returned when a secret or connection has not +// been authenticated yet. URL is the address the user must visit to authorize. +type AuthorizationRequiredError struct { + Message string + // URL is the address the user must visit to authorize. + URL string + // Status is the HTTP status code. + Status int +} + +func (e *AuthorizationRequiredError) Error() string { + if e.URL != "" { + return fmt.Sprintf("%s (authorize at %s)", e.Message, e.URL) + } + return e.Message +} + +// parseError converts a non-2xx response body into a typed error. A CBK +// authorization_required signal becomes an *AuthorizationRequiredError carrying +// the authorize URL; anything else becomes a generic *Error. +func parseError(status int, body []byte) error { + var parsed struct { + Error string `json:"error"` + Message string `json:"message"` + Code string `json:"code"` + URL string `json:"url"` + } + + if err := json.Unmarshal(body, &parsed); err != nil { + return &Error{ + Message: fmt.Sprintf("HTTP %d: %s", status, string(body)), + Code: fmt.Sprintf("HTTP_%d", status), + Status: status, + } + } + + if parsed.Error == "authorization_required" { + return &AuthorizationRequiredError{ + Message: parsed.Message, + URL: parsed.URL, + Status: status, + } + } + + return &Error{Message: parsed.Message, Code: parsed.Code, Status: status} +} + +// resolveURL joins a request path onto the base URL. Any path on the base URL +// is kept as a prefix, so a platform served under a sub-path (for example +// http://localhost:3000/cbk) is reachable. +func (c *Client) resolveURL(path string) (*url.URL, error) { + u, err := url.Parse(c.BaseURL) + if err != nil { + return nil, fmt.Errorf("invalid base URL: %w", err) + } + + u.Path = strings.TrimRight(u.Path, "/") + "/" + strings.TrimLeft(path, "/") + + return u, nil +} + // Do executes an HTTP request and decodes the response. func (c *Client) Do(ctx context.Context, opts RequestOptions, result interface{}) error { // Build URL - u, err := url.Parse(c.BaseURL) + u, err := c.resolveURL(opts.Path) if err != nil { - return fmt.Errorf("invalid base URL: %w", err) + return err } - u.Path = opts.Path if opts.Query != nil { u.RawQuery = opts.Query.Encode() } @@ -182,14 +245,7 @@ func (c *Client) Do(ctx context.Context, opts RequestOptions, result interface{} // Check for errors if resp.StatusCode >= 400 { - var apiErr Error - if err := json.Unmarshal(respBody, &apiErr); err != nil { - return &Error{ - Message: fmt.Sprintf("HTTP %d: %s", resp.StatusCode, string(respBody)), - Code: fmt.Sprintf("HTTP_%d", resp.StatusCode), - } - } - return &apiErr + return parseError(resp.StatusCode, respBody) } // Decode response @@ -207,12 +263,11 @@ func (c *Client) Do(ctx context.Context, opts RequestOptions, result interface{} // caller is responsible for closing resp.Body. It is intended for passthrough // endpoints such as the secret proxy. func (c *Client) DoRaw(ctx context.Context, opts RequestOptions) (*http.Response, error) { - u, err := url.Parse(c.BaseURL) + u, err := c.resolveURL(opts.Path) if err != nil { - return nil, fmt.Errorf("invalid base URL: %w", err) + return nil, err } - u.Path = opts.Path if opts.Query != nil { u.RawQuery = opts.Query.Encode() } @@ -262,6 +317,58 @@ func (c *Client) DoRaw(ctx context.Context, opts RequestOptions) (*http.Response return c.HTTPClient.Do(req) } +// handleProxyResponse inspects a proxied response. Successful and non-JSON error +// responses are returned untouched (streaming bodies preserved); a CBK +// authorization_required signal becomes an *AuthorizationRequiredError, while a +// genuine upstream error is returned as-is for the caller to handle. +func handleProxyResponse(resp *http.Response) (*http.Response, error) { + if resp.StatusCode < 400 { + return resp, nil + } + + if !strings.Contains(resp.Header.Get("Content-Type"), "application/json") { + return resp, nil + } + + body, err := io.ReadAll(resp.Body) + resp.Body.Close() + if err != nil { + return resp, nil + } + + // restore the consumed body so the caller can still read it + resp.Body = io.NopCloser(bytes.NewReader(body)) + + var parsed struct { + Error string `json:"error"` + Message string `json:"message"` + URL string `json:"url"` + } + + if json.Unmarshal(body, &parsed) == nil && parsed.Error == "authorization_required" { + return nil, &AuthorizationRequiredError{ + Message: parsed.Message, + URL: parsed.URL, + Status: resp.StatusCode, + } + } + + return resp, nil +} + +// DoProxy performs a passthrough request and surfaces CBK control responses. +// Successful and upstream-error responses are returned as-is; an +// authorization_required signal is returned as an *AuthorizationRequiredError. +// The caller must close resp.Body when a response is returned. +func (c *Client) DoProxy(ctx context.Context, opts RequestOptions) (*http.Response, error) { + resp, err := c.DoRaw(ctx, opts) + if err != nil { + return nil, err + } + + return handleProxyResponse(resp) +} + // Get performs a GET request. func (c *Client) Get(ctx context.Context, path string, query url.Values, result interface{}) error { return c.Do(ctx, RequestOptions{ @@ -323,12 +430,11 @@ func (c *Client) Stream(ctx context.Context, opts StreamOptions) (<-chan StreamE defer close(errs) // Build URL - u, err := url.Parse(c.BaseURL) + u, err := c.resolveURL(opts.Path) if err != nil { - errs <- fmt.Errorf("invalid base URL: %w", err) + errs <- err return } - u.Path = opts.Path // Build request body var body io.Reader diff --git a/internal/httpclient/url_test.go b/internal/httpclient/url_test.go new file mode 100644 index 0000000..ff121d3 --- /dev/null +++ b/internal/httpclient/url_test.go @@ -0,0 +1,97 @@ +package httpclient + +import ( + "context" + "net/http" + "net/http/httptest" + "net/url" + "testing" +) + +func TestResolveURLKeepsTheBasePath(t *testing.T) { + cases := []struct { + base, path, want string + }{ + {"https://api.chatbotkit.com", "/api/v1/bot/list", "https://api.chatbotkit.com/api/v1/bot/list"}, + {"http://localhost:3000", "/api/v1/bot/list", "http://localhost:3000/api/v1/bot/list"}, + {"http://127.0.0.1:4300/", "/api/v1/decision/create", "http://127.0.0.1:4300/api/v1/decision/create"}, + {"https://corp.example/cbk", "/api/v1/bot/list", "https://corp.example/cbk/api/v1/bot/list"}, + {"https://corp.example/cbk/", "api/v1/bot/list", "https://corp.example/cbk/api/v1/bot/list"}, + } + + for _, tc := range cases { + client := NewClient(ClientOptions{Secret: "s", BaseURL: tc.base}) + + got, err := client.resolveURL(tc.path) + if err != nil { + t.Fatalf("%s + %s: unexpected error: %v", tc.base, tc.path, err) + } + + if got.String() != tc.want { + t.Errorf("%s + %s: got %s, want %s", tc.base, tc.path, got, tc.want) + } + } +} + +func TestResolveURLRejectsAnInvalidBase(t *testing.T) { + client := NewClient(ClientOptions{Secret: "s", BaseURL: "http://[::1"}) + + if _, err := client.resolveURL("/api/v1/bot/list"); err == nil { + t.Fatal("expected an error for an unparseable base URL") + } +} + +// Every request path - decoded, raw and streaming - must reach a plain-http +// platform served under a sub-path. +func TestRequestsReachAPlainHTTPPlatformUnderASubPath(t *testing.T) { + var seen []string + + server := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { + seen = append(seen, r.Method+" "+r.URL.Path+"?"+r.URL.RawQuery) + + w.Header().Set("Content-Type", "application/json") + _, _ = w.Write([]byte(`{}`)) + })) + defer server.Close() + + if got, _ := url.Parse(server.URL); got.Scheme != "http" { + t.Fatalf("expected the test server to be plain http, got %s", got.Scheme) + } + + client := NewClient(ClientOptions{Secret: "s", BaseURL: server.URL + "/cbk"}) + ctx := context.Background() + + var result map[string]any + if err := client.Get(ctx, "/api/v1/bot/list", url.Values{"take": {"1"}}, &result); err != nil { + t.Fatalf("Get: %v", err) + } + + resp, err := client.DoRaw(ctx, RequestOptions{Path: "/api/v1/secret/s1/proxy"}) + if err != nil { + t.Fatalf("DoRaw: %v", err) + } + _ = resp.Body.Close() + + events, errs := client.PostStream(ctx, "/api/v1/conversation/complete", map[string]any{}) + for range events { + } + if err := <-errs; err != nil { + t.Fatalf("PostStream: %v", err) + } + + want := []string{ + "GET /cbk/api/v1/bot/list?take=1", + "GET /cbk/api/v1/secret/s1/proxy?", + "POST /cbk/api/v1/conversation/complete?", + } + + if len(seen) != len(want) { + t.Fatalf("got %v, want %v", seen, want) + } + + for i := range want { + if seen[i] != want[i] { + t.Errorf("request %d: got %s, want %s", i, seen[i], want[i]) + } + } +} diff --git a/sdk/client.go b/sdk/client.go index 97afc75..f056642 100644 --- a/sdk/client.go +++ b/sdk/client.go @@ -7,7 +7,7 @@ // Example usage: // // client := sdk.New(sdk.Options{ -// Secret: "your-api-key", +// Token: "your-api-token", // }) // // // List bots @@ -24,9 +24,14 @@ import ( // Options configures the ChatBotKit SDK client. type Options struct { - // Secret is the API token for authentication. + // Token is the API token for authentication. + Token string + // Secret is the former name of Token and is used when Token is empty. + // + // Deprecated: use Token. Secret string - // BaseURL is an optional base URL override. + // BaseURL is an optional base URL override, e.g. http://localhost:3000 for + // a self-hosted platform. Plain http works and a path prefix is preserved. BaseURL string // RunAsUserID is an optional user ID to run as. RunAsUserID string @@ -61,10 +66,12 @@ type Client struct { Graphql *GraphqlClient // Integration provides access to integration resources. Integration *integration.Client + // Decision provides access to decision models. + Decision *DecisionClient // Memory provides access to memory resources. Memory *MemoryClient - // Partner provides access to partner resources. - Partner *PartnerClient + // User provides access to user resources. + User *UserClient // Platform provides access to platform resources. Platform *PlatformClient // Policy provides access to policy resources. @@ -87,8 +94,13 @@ type Client struct { // New creates a new ChatBotKit SDK client. func New(opts Options) *Client { + token := opts.Token + if token == "" { + token = opts.Secret + } + httpClient := httpclient.NewClient(httpclient.ClientOptions{ - Secret: opts.Secret, + Secret: token, BaseURL: opts.BaseURL, RunAsUserID: opts.RunAsUserID, Timezone: opts.Timezone, @@ -107,8 +119,9 @@ func New(opts Options) *Client { Blueprint: NewBlueprintClient(httpClient), Graphql: NewGraphqlClient(httpClient), Integration: integration.NewClient(httpClient), + Decision: NewDecisionClient(httpClient), Memory: NewMemoryClient(httpClient), - Partner: NewPartnerClient(httpClient), + User: NewUserClient(httpClient), Platform: NewPlatformClient(httpClient), Policy: NewPolicyClient(httpClient), Portal: NewPortalClient(httpClient), diff --git a/sdk/client_test.go b/sdk/client_test.go index a8d112b..54bc0c0 100644 --- a/sdk/client_test.go +++ b/sdk/client_test.go @@ -51,14 +51,14 @@ func TestNewClient(t *testing.T) { if client.Memory == nil { t.Error("expected non-nil Memory client") } - if client.Partner == nil { - t.Error("expected non-nil Partner client") + if client.Decision == nil { + t.Error("expected non-nil Decision client") } - if client.Partner.User == nil { - t.Error("expected non-nil Partner.User client") + if client.User == nil { + t.Error("expected non-nil User client") } - if client.Partner.User.Token == nil { - t.Error("expected non-nil Partner.User.Token client") + if client.User.Token == nil { + t.Error("expected non-nil User.Token client") } if client.Platform == nil { t.Error("expected non-nil Platform client") @@ -72,15 +72,6 @@ func TestNewClient(t *testing.T) { if client.Platform.Action == nil { t.Error("expected non-nil Platform.Action client") } - if client.Platform.Doc == nil { - t.Error("expected non-nil Platform.Doc client") - } - if client.Platform.Manual == nil { - t.Error("expected non-nil Platform.Manual client") - } - if client.Platform.Tutorial == nil { - t.Error("expected non-nil Platform.Tutorial client") - } if client.Platform.Secret == nil { t.Error("expected non-nil Platform.Secret client") } diff --git a/sdk/contact.go b/sdk/contact.go index 56754ff..a36bf0b 100644 --- a/sdk/contact.go +++ b/sdk/contact.go @@ -197,12 +197,15 @@ func (c *ContactSecretClient) Mint(ctx context.Context, contactID, secretID stri } // Proxy proxies a request through a contact's secret, injecting it server-side. -// It returns the raw upstream HTTP response; a non-2xx status is returned, not -// an error. The caller must close resp.Body. +// It returns the upstream HTTP response as-is (success or error). The one +// exception is a CBK authorization_required signal - common here, since the +// contact may not have authenticated the secret yet - which is returned as an +// *AuthorizationRequiredError carrying the URL the user must visit. The caller +// must close resp.Body. func (c *ContactSecretClient) Proxy(ctx context.Context, contactID, secretID string, req types.ContactSecretProxyRequest) (*http.Response, error) { path := fmt.Sprintf("/api/v1/contact/%s/secret/%s/proxy", contactID, secretID) - return c.httpClient.DoRaw(ctx, httpclient.RequestOptions{ + return c.httpClient.DoProxy(ctx, httpclient.RequestOptions{ Method: http.MethodPost, Path: path, Body: req, diff --git a/sdk/decision.go b/sdk/decision.go new file mode 100644 index 0000000..d4d60f7 --- /dev/null +++ b/sdk/decision.go @@ -0,0 +1,53 @@ +package sdk + +import ( + "context" + + "github.com/chatbotkit/go-sdk/internal/httpclient" + "github.com/chatbotkit/go-sdk/types" +) + +// DecisionQuestion is a typed question to answer about a state. +// +// Instructions, and each criterion, is text or any JSON object or array of +// related context. Criteria depends on the type: a boolean question takes an +// optional map with "true" and "false", a choice question a map of option name +// to description, and a score question a slice of levels ordered from lowest to +// highest. A nil description means the name says enough. +// +// The generated types.DecisionCreateRequest cannot express the option map of a +// choice question, so requests use this type instead. +type DecisionQuestion struct { + Type types.DecisionQuestionKind `json:"type"` + Instructions any `json:"instructions"` + Criteria any `json:"criteria,omitempty"` +} + +// DecisionCreateRequest asks a decision model typed questions about a state. +type DecisionCreateRequest struct { + // Model is the decision model to use; the default applies when empty. + Model string `json:"model,omitempty"` + // State is the content to decide about: text, or any JSON object or array. + State any `json:"state"` + // Questions are the questions to answer keyed by a name of your choice. + Questions map[string]DecisionQuestion `json:"questions"` +} + +// DecisionClient provides access to decision models. +type DecisionClient struct { + httpClient *httpclient.Client +} + +// NewDecisionClient creates a new DecisionClient. +func NewDecisionClient(httpClient *httpclient.Client) *DecisionClient { + return &DecisionClient{httpClient: httpClient} +} + +// Create answers typed questions about a state. +func (c *DecisionClient) Create(ctx context.Context, req DecisionCreateRequest) (*types.DecisionCreateResponse, error) { + var result types.DecisionCreateResponse + if err := c.httpClient.Post(ctx, "/api/v1/decision/create", req, &result); err != nil { + return nil, err + } + return &result, nil +} diff --git a/sdk/decision_test.go b/sdk/decision_test.go new file mode 100644 index 0000000..dad6bd7 --- /dev/null +++ b/sdk/decision_test.go @@ -0,0 +1,110 @@ +package sdk_test + +import ( + "context" + "encoding/json" + "io" + "net/http" + "net/http/httptest" + "testing" + + "github.com/chatbotkit/go-sdk/sdk" + "github.com/chatbotkit/go-sdk/types" +) + +func TestDecisionCreate(t *testing.T) { + var path string + var body map[string]any + + server := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { + path = r.URL.Path + + data, _ := io.ReadAll(r.Body) + if err := json.Unmarshal(data, &body); err != nil { + t.Fatalf("request body is not JSON: %v", err) + } + + w.Header().Set("Content-Type", "application/json") + _, _ = w.Write([]byte(`{ + "answers": { + "urgent": {"type": "boolean", "probability": 0.97}, + "topic": {"type": "choice", "choice": "billing", "probabilities": {"billing": 0.9, "technical": 0.1}} + }, + "usage": {"model": "jev", "inputTokens": 120, "outputTokens": 8} + }`)) + })) + defer server.Close() + + client := sdk.New(sdk.Options{Secret: "test-secret", BaseURL: server.URL}) + + state := "I was charged twice, please help today" + + result, err := client.Decision.Create(context.Background(), sdk.DecisionCreateRequest{ + State: state, + Questions: map[string]sdk.DecisionQuestion{ + "urgent": { + Type: types.DecisionQuestionKindBoolean, + Instructions: "Does this convey urgency?", + }, + "topic": { + Type: types.DecisionQuestionKindChoice, + Instructions: "What is the topic?", + Criteria: map[string]any{"billing": "payments", "technical": nil}, + }, + "frustration": { + Type: types.DecisionQuestionKindScore, + Instructions: "How frustrated is the customer?", + Criteria: []any{"calm", "frustrated", "angry"}, + }, + }, + }) + if err != nil { + t.Fatalf("unexpected error: %v", err) + } + + if path != "/api/v1/decision/create" { + t.Errorf("expected the decision create path, got %s", path) + } + + if body["state"] != state { + t.Errorf("expected the state to be sent as a plain string, got %v", body["state"]) + } + + if _, sent := body["model"]; sent { + t.Errorf("expected an empty model to be omitted, got %v", body["model"]) + } + + questions, _ := body["questions"].(map[string]any) + + urgent, _ := questions["urgent"].(map[string]any) + if urgent["type"] != "boolean" || urgent["instructions"] != "Does this convey urgency?" { + t.Errorf("unexpected boolean question on the wire: %v", urgent) + } + if _, sent := urgent["criteria"]; sent { + t.Errorf("expected absent criteria to be omitted, got %v", urgent["criteria"]) + } + + topic, _ := questions["topic"].(map[string]any) + options, _ := topic["criteria"].(map[string]any) + if options["billing"] != "payments" { + t.Errorf("expected the choice options to reach the wire by name, got %v", topic["criteria"]) + } + if description, named := options["technical"]; !named || description != nil { + t.Errorf("expected an undescribed option to be sent as null, got %v", topic["criteria"]) + } + + frustration, _ := questions["frustration"].(map[string]any) + if levels, _ := frustration["criteria"].([]any); len(levels) != 3 || levels[2] != "angry" { + t.Errorf("expected the ordered score levels on the wire, got %v", frustration["criteria"]) + } + + if got := result.Answers["urgent"]; got.Probability == nil || *got.Probability != 0.97 { + t.Errorf("expected the boolean probability, got %+v", got) + } + if got := result.Answers["topic"]; got.Choice == nil || *got.Choice != "billing" || got.Probabilities["billing"] != 0.9 { + t.Errorf("expected the choice answer, got %+v", got) + } + if result.Usage.InputTokens != 120 { + t.Errorf("expected usage to be decoded, got %+v", result.Usage) + } +} diff --git a/sdk/errors.go b/sdk/errors.go new file mode 100644 index 0000000..66cb7be --- /dev/null +++ b/sdk/errors.go @@ -0,0 +1,17 @@ +package sdk + +import "github.com/chatbotkit/go-sdk/internal/httpclient" + +// AuthorizationRequiredError is returned when a secret or connection has not +// been authenticated yet. URL is the address the user must visit to authorize. +// +// Detect it with errors.As: +// +// var authErr *sdk.AuthorizationRequiredError +// if errors.As(err, &authErr) { +// // redirect the user to authErr.URL +// } +type AuthorizationRequiredError = httpclient.AuthorizationRequiredError + +// Error is a generic ChatBotKit API error. Status carries the HTTP status code. +type Error = httpclient.Error diff --git a/sdk/partner.go b/sdk/partner.go deleted file mode 100644 index 239bf9b..0000000 --- a/sdk/partner.go +++ /dev/null @@ -1,145 +0,0 @@ -package sdk - -import ( - "context" - "fmt" - "net/url" - - "github.com/chatbotkit/go-sdk/internal/httpclient" - "github.com/chatbotkit/go-sdk/internal/params" - "github.com/chatbotkit/go-sdk/types" -) - -// PartnerClient provides access to partner resources. -type PartnerClient struct { - httpClient *httpclient.Client - // User provides access to partner user resources. - User *PartnerUserClient -} - -// NewPartnerClient creates a new PartnerClient. -func NewPartnerClient(httpClient *httpclient.Client) *PartnerClient { - return &PartnerClient{ - httpClient: httpClient, - User: NewPartnerUserClient(httpClient), - } -} - -// PartnerUserClient provides access to partner user resources. -type PartnerUserClient struct { - httpClient *httpclient.Client - // Token provides access to partner user token resources. - Token *PartnerUserTokenClient -} - -// NewPartnerUserClient creates a new PartnerUserClient. -func NewPartnerUserClient(httpClient *httpclient.Client) *PartnerUserClient { - return &PartnerUserClient{ - httpClient: httpClient, - Token: NewPartnerUserTokenClient(httpClient), - } -} - -// List retrieves a list of partner users. -func (c *PartnerUserClient) List(ctx context.Context, opts *types.PartnerUserListParams) (*types.PartnerUserListResponse, error) { - query := url.Values{} - if opts != nil { - query = params.BuildListQuery(opts.Cursor, opts.Order, opts.Take, opts.Meta) - } - - var result types.PartnerUserListResponse - if err := c.httpClient.Get(ctx, "/api/v1/partner/user/list", query, &result); err != nil { - return nil, err - } - return &result, nil -} - -// Fetch retrieves a partner user by ID. -func (c *PartnerUserClient) Fetch(ctx context.Context, userID string) (*types.PartnerUserFetchResponse, error) { - path := fmt.Sprintf("/api/v1/partner/user/%s/fetch", userID) - - var result types.PartnerUserFetchResponse - if err := c.httpClient.Get(ctx, path, nil, &result); err != nil { - return nil, err - } - return &result, nil -} - -// Create creates a partner user. -func (c *PartnerUserClient) Create(ctx context.Context, req types.PartnerUserCreateRequest) (*types.PartnerUserCreateResponse, error) { - var result types.PartnerUserCreateResponse - if err := c.httpClient.Post(ctx, "/api/v1/partner/user/create", req, &result); err != nil { - return nil, err - } - return &result, nil -} - -// Update updates a partner user. -func (c *PartnerUserClient) Update(ctx context.Context, userID string, req types.PartnerUserUpdateRequest) (*types.PartnerUserUpdateResponse, error) { - path := fmt.Sprintf("/api/v1/partner/user/%s/update", userID) - - var result types.PartnerUserUpdateResponse - if err := c.httpClient.Post(ctx, path, req, &result); err != nil { - return nil, err - } - return &result, nil -} - -// Delete deletes a partner user. -func (c *PartnerUserClient) Delete(ctx context.Context, userID string) (*types.PartnerUserDeleteResponse, error) { - path := fmt.Sprintf("/api/v1/partner/user/%s/delete", userID) - - var result types.PartnerUserDeleteResponse - if err := c.httpClient.Post(ctx, path, types.PartnerUserDeleteRequest{}, &result); err != nil { - return nil, err - } - return &result, nil -} - -// PartnerUserTokenClient provides access to partner user token resources. -type PartnerUserTokenClient struct { - httpClient *httpclient.Client -} - -// NewPartnerUserTokenClient creates a new PartnerUserTokenClient. -func NewPartnerUserTokenClient(httpClient *httpclient.Client) *PartnerUserTokenClient { - return &PartnerUserTokenClient{httpClient: httpClient} -} - -// List retrieves a list of partner user tokens. -func (c *PartnerUserTokenClient) List(ctx context.Context, userID string, opts *types.PartnerUserTokenListParams) (*types.PartnerUserTokenListResponse, error) { - query := url.Values{} - if opts != nil { - query = params.BuildListQuery(opts.Cursor, opts.Order, opts.Take, nil) - } - - path := fmt.Sprintf("/api/v1/partner/user/%s/token/list", userID) - - var result types.PartnerUserTokenListResponse - if err := c.httpClient.Get(ctx, path, query, &result); err != nil { - return nil, err - } - return &result, nil -} - -// Create creates a partner user token. -func (c *PartnerUserTokenClient) Create(ctx context.Context, userID string, req types.PartnerUserTokenCreateRequest) (*types.PartnerUserTokenCreateResponse, error) { - path := fmt.Sprintf("/api/v1/partner/user/%s/token/create", userID) - - var result types.PartnerUserTokenCreateResponse - if err := c.httpClient.Post(ctx, path, req, &result); err != nil { - return nil, err - } - return &result, nil -} - -// Delete deletes a partner user token. -func (c *PartnerUserTokenClient) Delete(ctx context.Context, userID, tokenID string) (*types.PartnerUserTokenDeleteResponse, error) { - path := fmt.Sprintf("/api/v1/partner/user/%s/token/%s/delete", userID, tokenID) - - var result types.PartnerUserTokenDeleteResponse - if err := c.httpClient.Post(ctx, path, types.PartnerUserTokenDeleteRequest{}, &result); err != nil { - return nil, err - } - return &result, nil -} diff --git a/sdk/platform.go b/sdk/platform.go index 9d99fee..f908d9d 100644 --- a/sdk/platform.go +++ b/sdk/platform.go @@ -15,13 +15,10 @@ type PlatformClient struct { httpClient *httpclient.Client Ability *PlatformAbilityClient Action *PlatformActionClient - Doc *PlatformDocClient Example *PlatformExampleClient - Manual *PlatformManualClient Model *PlatformModelClient Report *PlatformReportClient Secret *PlatformSecretClient - Tutorial *PlatformTutorialClient } // NewPlatformClient creates a new PlatformClient. @@ -30,13 +27,10 @@ func NewPlatformClient(httpClient *httpclient.Client) *PlatformClient { httpClient: httpClient, Ability: NewPlatformAbilityClient(httpClient), Action: NewPlatformActionClient(httpClient), - Doc: NewPlatformDocClient(httpClient), Example: NewPlatformExampleClient(httpClient), - Manual: NewPlatformManualClient(httpClient), Model: NewPlatformModelClient(httpClient), Report: NewPlatformReportClient(httpClient), Secret: NewPlatformSecretClient(httpClient), - Tutorial: NewPlatformTutorialClient(httpClient), } } @@ -86,43 +80,6 @@ func (c *PlatformActionClient) List(ctx context.Context, opts *types.PlatformAct return &result, nil } -type PlatformDocClient struct{ httpClient *httpclient.Client } - -func NewPlatformDocClient(httpClient *httpclient.Client) *PlatformDocClient { - return &PlatformDocClient{httpClient: httpClient} -} - -func (c *PlatformDocClient) List(ctx context.Context, opts *types.PlatformDocListParams) (*types.PlatformDocListResponse, error) { - query := url.Values{} - if opts != nil { - query = params.BuildListQuery(opts.Cursor, opts.Order, opts.Take, opts.Meta) - } - - var result types.PlatformDocListResponse - if err := c.httpClient.Get(ctx, "/api/v1/platform/doc/list", query, &result); err != nil { - return nil, err - } - return &result, nil -} - -func (c *PlatformDocClient) Search(ctx context.Context, req types.PlatformDocsSearchRequest) (*types.PlatformDocsSearchResponse, error) { - var result types.PlatformDocsSearchResponse - if err := c.httpClient.Post(ctx, "/api/v1/platform/doc/search", req, &result); err != nil { - return nil, err - } - return &result, nil -} - -func (c *PlatformDocClient) Fetch(ctx context.Context, docID string) (*types.PlatformDocFetchResponse, error) { - path := fmt.Sprintf("/api/v1/platform/doc/%s/fetch", docID) - - var result types.PlatformDocFetchResponse - if err := c.httpClient.Get(ctx, path, nil, &result); err != nil { - return nil, err - } - return &result, nil -} - type PlatformExampleClient struct{ httpClient *httpclient.Client } func NewPlatformExampleClient(httpClient *httpclient.Client) *PlatformExampleClient { @@ -170,43 +127,6 @@ func (c *PlatformExampleClient) Clone(ctx context.Context, exampleID string) (*t return &result, nil } -type PlatformManualClient struct{ httpClient *httpclient.Client } - -func NewPlatformManualClient(httpClient *httpclient.Client) *PlatformManualClient { - return &PlatformManualClient{httpClient: httpClient} -} - -func (c *PlatformManualClient) List(ctx context.Context, opts *types.PlatformManualListParams) (*types.PlatformManualListResponse, error) { - query := url.Values{} - if opts != nil { - query = params.BuildListQuery(opts.Cursor, opts.Order, opts.Take, opts.Meta) - } - - var result types.PlatformManualListResponse - if err := c.httpClient.Get(ctx, "/api/v1/platform/manual/list", query, &result); err != nil { - return nil, err - } - return &result, nil -} - -func (c *PlatformManualClient) Search(ctx context.Context, req types.PlatformManualsSearchRequest) (*types.PlatformManualsSearchResponse, error) { - var result types.PlatformManualsSearchResponse - if err := c.httpClient.Post(ctx, "/api/v1/platform/manual/search", req, &result); err != nil { - return nil, err - } - return &result, nil -} - -func (c *PlatformManualClient) Fetch(ctx context.Context, manualID string) (*types.PlatformManualFetchResponse, error) { - path := fmt.Sprintf("/api/v1/platform/manual/%s/fetch", manualID) - - var result types.PlatformManualFetchResponse - if err := c.httpClient.Get(ctx, path, nil, &result); err != nil { - return nil, err - } - return &result, nil -} - type PlatformModelClient struct{ httpClient *httpclient.Client } func NewPlatformModelClient(httpClient *httpclient.Client) *PlatformModelClient { @@ -289,40 +209,3 @@ func (c *PlatformSecretClient) Search(ctx context.Context, req types.PlatformSec } return &result, nil } - -type PlatformTutorialClient struct{ httpClient *httpclient.Client } - -func NewPlatformTutorialClient(httpClient *httpclient.Client) *PlatformTutorialClient { - return &PlatformTutorialClient{httpClient: httpClient} -} - -func (c *PlatformTutorialClient) List(ctx context.Context, opts *types.PlatformTutorialListParams) (*types.PlatformTutorialListResponse, error) { - query := url.Values{} - if opts != nil { - query = params.BuildListQuery(opts.Cursor, opts.Order, opts.Take, opts.Meta) - } - - var result types.PlatformTutorialListResponse - if err := c.httpClient.Get(ctx, "/api/v1/platform/tutorial/list", query, &result); err != nil { - return nil, err - } - return &result, nil -} - -func (c *PlatformTutorialClient) Search(ctx context.Context, req types.PlatformTutorialsSearchRequest) (*types.PlatformTutorialsSearchResponse, error) { - var result types.PlatformTutorialsSearchResponse - if err := c.httpClient.Post(ctx, "/api/v1/platform/tutorial/search", req, &result); err != nil { - return nil, err - } - return &result, nil -} - -func (c *PlatformTutorialClient) Fetch(ctx context.Context, tutorialID string) (*types.PlatformTutorialFetchResponse, error) { - path := fmt.Sprintf("/api/v1/platform/tutorial/%s/fetch", tutorialID) - - var result types.PlatformTutorialFetchResponse - if err := c.httpClient.Get(ctx, path, nil, &result); err != nil { - return nil, err - } - return &result, nil -} diff --git a/sdk/secret.go b/sdk/secret.go index f4f67c7..3a9ffa3 100644 --- a/sdk/secret.go +++ b/sdk/secret.go @@ -124,13 +124,14 @@ func (c *SecretClient) Mint(ctx context.Context, secretID string) (*types.Secret } // Proxy proxies a request through the secret, injecting it server-side. It -// returns the raw upstream HTTP response; a non-2xx status (including -// 409 authorization_required) is returned, not an error. The caller must close -// resp.Body. +// returns the upstream HTTP response as-is (success or error). The one exception +// is a CBK authorization_required signal, which is returned as an +// *AuthorizationRequiredError carrying the URL the user must visit. The caller +// must close resp.Body. func (c *SecretClient) Proxy(ctx context.Context, secretID string, req types.SecretProxyRequest) (*http.Response, error) { path := fmt.Sprintf("/api/v1/secret/%s/proxy", secretID) - return c.httpClient.DoRaw(ctx, httpclient.RequestOptions{ + return c.httpClient.DoProxy(ctx, httpclient.RequestOptions{ Method: http.MethodPost, Path: path, Body: req, diff --git a/sdk/token_test.go b/sdk/token_test.go new file mode 100644 index 0000000..45dd63f --- /dev/null +++ b/sdk/token_test.go @@ -0,0 +1,49 @@ +package sdk_test + +import ( + "context" + "net/http" + "net/http/httptest" + "testing" + + "github.com/chatbotkit/go-sdk/sdk" +) + +func TestTokenOptionAndItsDeprecatedSecretAlias(t *testing.T) { + var seen string + + server := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { + seen = r.Header.Get("Authorization") + + w.Header().Set("Content-Type", "application/json") + _, _ = w.Write([]byte(`{"items":[]}`)) + })) + defer server.Close() + + cases := []struct { + name string + options sdk.Options + want string + }{ + {"token", sdk.Options{Token: "tok"}, "Bearer tok"}, + {"deprecated secret alone still authenticates", sdk.Options{Secret: "sec"}, "Bearer sec"}, + {"token wins over secret", sdk.Options{Token: "tok", Secret: "sec"}, "Bearer tok"}, + {"neither sends no credential", sdk.Options{}, ""}, + } + + for _, tc := range cases { + t.Run(tc.name, func(t *testing.T) { + seen = "unset" + + tc.options.BaseURL = server.URL + + if _, err := sdk.New(tc.options).Memory.List(context.Background(), nil); err != nil { + t.Fatalf("unexpected error: %v", err) + } + + if seen != tc.want { + t.Errorf("got Authorization %q, want %q", seen, tc.want) + } + }) + } +} diff --git a/sdk/user.go b/sdk/user.go new file mode 100644 index 0000000..4865f3f --- /dev/null +++ b/sdk/user.go @@ -0,0 +1,130 @@ +package sdk + +import ( + "context" + "fmt" + "net/url" + + "github.com/chatbotkit/go-sdk/internal/httpclient" + "github.com/chatbotkit/go-sdk/internal/params" + "github.com/chatbotkit/go-sdk/types" +) + +// UserClient provides access to user resources. +type UserClient struct { + httpClient *httpclient.Client + // Token provides access to user token resources. + Token *UserTokenClient +} + +// NewUserClient creates a new UserClient. +func NewUserClient(httpClient *httpclient.Client) *UserClient { + return &UserClient{ + httpClient: httpClient, + Token: NewUserTokenClient(httpClient), + } +} + +// List retrieves a list of users. +func (c *UserClient) List(ctx context.Context, opts *types.UserListParams) (*types.UserListResponse, error) { + query := url.Values{} + if opts != nil { + query = params.BuildListQuery(opts.Cursor, opts.Order, opts.Take, opts.Meta) + } + + var result types.UserListResponse + if err := c.httpClient.Get(ctx, "/api/v1/user/list", query, &result); err != nil { + return nil, err + } + return &result, nil +} + +// Fetch retrieves a user by ID. +func (c *UserClient) Fetch(ctx context.Context, userID string) (*types.UserFetchResponse, error) { + path := fmt.Sprintf("/api/v1/user/%s/fetch", userID) + + var result types.UserFetchResponse + if err := c.httpClient.Get(ctx, path, nil, &result); err != nil { + return nil, err + } + return &result, nil +} + +// Create creates a user. +func (c *UserClient) Create(ctx context.Context, req types.UserCreateRequest) (*types.UserCreateResponse, error) { + var result types.UserCreateResponse + if err := c.httpClient.Post(ctx, "/api/v1/user/create", req, &result); err != nil { + return nil, err + } + return &result, nil +} + +// Update updates a user. +func (c *UserClient) Update(ctx context.Context, userID string, req types.UserUpdateRequest) (*types.UserUpdateResponse, error) { + path := fmt.Sprintf("/api/v1/user/%s/update", userID) + + var result types.UserUpdateResponse + if err := c.httpClient.Post(ctx, path, req, &result); err != nil { + return nil, err + } + return &result, nil +} + +// Delete deletes a user. +func (c *UserClient) Delete(ctx context.Context, userID string) (*types.UserDeleteResponse, error) { + path := fmt.Sprintf("/api/v1/user/%s/delete", userID) + + var result types.UserDeleteResponse + if err := c.httpClient.Post(ctx, path, types.UserDeleteRequest{}, &result); err != nil { + return nil, err + } + return &result, nil +} + +// UserTokenClient provides access to user token resources. +type UserTokenClient struct { + httpClient *httpclient.Client +} + +// NewUserTokenClient creates a new UserTokenClient. +func NewUserTokenClient(httpClient *httpclient.Client) *UserTokenClient { + return &UserTokenClient{httpClient: httpClient} +} + +// List retrieves a list of user tokens. +func (c *UserTokenClient) List(ctx context.Context, userID string, opts *types.UserTokenListParams) (*types.UserTokenListResponse, error) { + query := url.Values{} + if opts != nil { + query = params.BuildListQuery(opts.Cursor, opts.Order, opts.Take, nil) + } + + path := fmt.Sprintf("/api/v1/user/%s/token/list", userID) + + var result types.UserTokenListResponse + if err := c.httpClient.Get(ctx, path, query, &result); err != nil { + return nil, err + } + return &result, nil +} + +// Create creates a user token. +func (c *UserTokenClient) Create(ctx context.Context, userID string, req types.UserTokenCreateRequest) (*types.UserTokenCreateResponse, error) { + path := fmt.Sprintf("/api/v1/user/%s/token/create", userID) + + var result types.UserTokenCreateResponse + if err := c.httpClient.Post(ctx, path, req, &result); err != nil { + return nil, err + } + return &result, nil +} + +// Delete deletes a user token. +func (c *UserTokenClient) Delete(ctx context.Context, userID, tokenID string) (*types.UserTokenDeleteResponse, error) { + path := fmt.Sprintf("/api/v1/user/%s/token/%s/delete", userID, tokenID) + + var result types.UserTokenDeleteResponse + if err := c.httpClient.Post(ctx, path, types.UserTokenDeleteRequest{}, &result); err != nil { + return nil, err + } + return &result, nil +} diff --git a/types/aliases.go b/types/aliases.go index e8f123c..5a5cb47 100644 --- a/types/aliases.go +++ b/types/aliases.go @@ -20,41 +20,41 @@ package types // CompleteMessageType is the role of a message sent in a conversation complete // request. -type CompleteMessageType = Type2 +type CompleteMessageType = Type12 const ( // CompleteMessageRoleUser marks a sent message authored by the end user. - CompleteMessageRoleUser = MischievousUser + CompleteMessageRoleUser = AmbitiousUser // CompleteMessageRoleBot marks a sent message authored by the bot. - CompleteMessageRoleBot = MischievousBot + CompleteMessageRoleBot = AmbitiousBot ) // --- Conversation message list item role --- // MessageItemType is the role of a message returned from a conversation message // listing. -type MessageItemType = HilariousType +type MessageItemType = Type22 const ( // MessageItemRoleUser marks a listed message authored by the end user. - MessageItemRoleUser = HilariousUser + MessageItemRoleUser = User1 // MessageItemRoleBot marks a listed message authored by the bot. - MessageItemRoleBot = HilariousBot + MessageItemRoleBot = Bot1 ) // --- Conversation complete request (stateful) extensions --- type ( // CompleteDataset is an inline dataset on a conversation complete request. - CompleteDataset = AmbitiousDataset + CompleteDataset = StickyDataset // CompleteRecord is a record within a CompleteDataset. - CompleteRecord = IndecentRecord + CompleteRecord = FluffyRecord // CompleteFeature is an inline feature on a conversation complete request. - CompleteFeature = IndecentFeature + CompleteFeature = FluffyFeature // CompleteSkillset is an inline skillset on a conversation complete request. - CompleteSkillset = AmbitiousSkillset + CompleteSkillset = StickySkillset // CompleteAbility is an ability within a CompleteSkillset. - CompleteAbility = IndecentAbility + CompleteAbility = FluffyAbility ) // --- Conversation complete request (stateful) functions --- @@ -62,10 +62,10 @@ type ( type ( // CompleteFunctionParameters is the JSON-schema parameters of a function on // a conversation complete request. - CompleteFunctionParameters = IndigoParameters + CompleteFunctionParameters = FluffyParameters // CompleteFunctionResult is the result configuration of a function on a // conversation complete request. - CompleteFunctionResult = FriskyResult + CompleteFunctionResult = AmbitiousResult ) // CompleteFunctionParametersTypeObject is the "object" value of a function @@ -77,17 +77,17 @@ const CompleteFunctionParametersTypeObject = IndigoObject type ( // MessageCompleteDataset is an inline dataset on a conversation message // complete request. - MessageCompleteDataset = TentacledDataset + MessageCompleteDataset = CunningDataset // MessageCompleteRecord is a record within a MessageCompleteDataset. - MessageCompleteRecord = PurpleRecord + MessageCompleteRecord = HilariousRecord // MessageCompleteFeature is an inline feature on a conversation message // complete request. - MessageCompleteFeature = PurpleFeature + MessageCompleteFeature = HilariousFeature // MessageCompleteSkillset is an inline skillset on a conversation message // complete request. - MessageCompleteSkillset = TentacledSkillset + MessageCompleteSkillset = CunningSkillset // MessageCompleteAbility is an ability within a MessageCompleteSkillset. - MessageCompleteAbility = PurpleAbility + MessageCompleteAbility = HilariousAbility ) // --- Conversation message complete request (stateless) functions --- @@ -95,12 +95,29 @@ type ( type ( // MessageCompleteFunctionParameters is the JSON-schema parameters of a // function on a conversation message complete request. - MessageCompleteFunctionParameters = PurpleParameters + MessageCompleteFunctionParameters = IndecentParameters // MessageCompleteFunctionResult is the result configuration of a function // on a conversation message complete request. - MessageCompleteFunctionResult = HilariousResult + MessageCompleteFunctionResult = MischievousResult ) // MessageCompleteFunctionParametersTypeObject is the "object" value of a // function parameters schema type on a conversation message complete request. -const MessageCompleteFunctionParametersTypeObject = PurpleObject +const MessageCompleteFunctionParametersTypeObject = CunningObject + +// --- Decision question and answer kinds --- + +// DecisionQuestionKind is the type of a decision question and of its answer. +type DecisionQuestionKind = QuestionType + +const ( + // DecisionQuestionKindBoolean is a yes or no question. + DecisionQuestionKindBoolean = PurpleBoolean + // DecisionQuestionKindChoice is a choice between several named options. + DecisionQuestionKindChoice = PurpleChoice + // DecisionQuestionKindScore is a level on an ordered scale. + DecisionQuestionKindScore = PurpleScore +) + +// DecisionCreateAnswer is an answer on a decision create response. +type DecisionCreateAnswer = Answer diff --git a/types/types.go b/types/types.go index d52c38c..1f46f92 100644 --- a/types/types.go +++ b/types/types.go @@ -7,56 +7,53 @@ // graphqlResponse, err := UnmarshalGraphqlResponse(bytes) // bytes, err = graphqlResponse.Marshal() // -// discordInitiateRequest, err := UnmarshalDiscordInitiateRequest(bytes) -// bytes, err = discordInitiateRequest.Marshal() -// -// discordInitiateResponse, err := UnmarshalDiscordInitiateResponse(bytes) -// bytes, err = discordInitiateResponse.Marshal() +// taskWorkflowEventsSubscribeParams, err := UnmarshalTaskWorkflowEventsSubscribeParams(bytes) +// bytes, err = taskWorkflowEventsSubscribeParams.Marshal() // -// emailInitiateRequest, err := UnmarshalEmailInitiateRequest(bytes) -// bytes, err = emailInitiateRequest.Marshal() +// taskWorkflowEventsSubscribeRequest, err := UnmarshalTaskWorkflowEventsSubscribeRequest(bytes) +// bytes, err = taskWorkflowEventsSubscribeRequest.Marshal() // -// emailInitiateResponse, err := UnmarshalEmailInitiateResponse(bytes) -// bytes, err = emailInitiateResponse.Marshal() +// taskWorkflowEventsSubscribeStreamItem, err := UnmarshalTaskWorkflowEventsSubscribeStreamItem(bytes) +// bytes, err = taskWorkflowEventsSubscribeStreamItem.Marshal() // -// googlechatInitiateRequest, err := UnmarshalGooglechatInitiateRequest(bytes) -// bytes, err = googlechatInitiateRequest.Marshal() +// platformReportListParams, err := UnmarshalPlatformReportListParams(bytes) +// bytes, err = platformReportListParams.Marshal() // -// googlechatInitiateResponse, err := UnmarshalGooglechatInitiateResponse(bytes) -// bytes, err = googlechatInitiateResponse.Marshal() +// platformReportListResponse, err := UnmarshalPlatformReportListResponse(bytes) +// bytes, err = platformReportListResponse.Marshal() // -// instagramInitiateRequest, err := UnmarshalInstagramInitiateRequest(bytes) -// bytes, err = instagramInitiateRequest.Marshal() +// platformReportListStreamItem, err := UnmarshalPlatformReportListStreamItem(bytes) +// bytes, err = platformReportListStreamItem.Marshal() // -// instagramInitiateResponse, err := UnmarshalInstagramInitiateResponse(bytes) -// bytes, err = instagramInitiateResponse.Marshal() +// platformReportsGenerateRequest, err := UnmarshalPlatformReportsGenerateRequest(bytes) +// bytes, err = platformReportsGenerateRequest.Marshal() // -// messengerInitiateRequest, err := UnmarshalMessengerInitiateRequest(bytes) -// bytes, err = messengerInitiateRequest.Marshal() +// platformReportsGenerateResponse, err := UnmarshalPlatformReportsGenerateResponse(bytes) +// bytes, err = platformReportsGenerateResponse.Marshal() // -// messengerInitiateResponse, err := UnmarshalMessengerInitiateResponse(bytes) -// bytes, err = messengerInitiateResponse.Marshal() +// platformReportGenerateParams, err := UnmarshalPlatformReportGenerateParams(bytes) +// bytes, err = platformReportGenerateParams.Marshal() // -// teamsInitiateRequest, err := UnmarshalTeamsInitiateRequest(bytes) -// bytes, err = teamsInitiateRequest.Marshal() +// platformReportGenerateRequest, err := UnmarshalPlatformReportGenerateRequest(bytes) +// bytes, err = platformReportGenerateRequest.Marshal() // -// teamsInitiateResponse, err := UnmarshalTeamsInitiateResponse(bytes) -// bytes, err = teamsInitiateResponse.Marshal() +// platformReportGenerateResponse, err := UnmarshalPlatformReportGenerateResponse(bytes) +// bytes, err = platformReportGenerateResponse.Marshal() // -// recallInitiateParams, err := UnmarshalRecallInitiateParams(bytes) -// bytes, err = recallInitiateParams.Marshal() +// chatCompletionCreateRequest, err := UnmarshalChatCompletionCreateRequest(bytes) +// bytes, err = chatCompletionCreateRequest.Marshal() // -// recallInitiateRequest, err := UnmarshalRecallInitiateRequest(bytes) -// bytes, err = recallInitiateRequest.Marshal() +// whatsappInitiateRequest, err := UnmarshalWhatsappInitiateRequest(bytes) +// bytes, err = whatsappInitiateRequest.Marshal() // -// recallInitiateResponse, err := UnmarshalRecallInitiateResponse(bytes) -// bytes, err = recallInitiateResponse.Marshal() +// whatsappInitiateResponse, err := UnmarshalWhatsappInitiateResponse(bytes) +// bytes, err = whatsappInitiateResponse.Marshal() // -// slackInitiateRequest, err := UnmarshalSlackInitiateRequest(bytes) -// bytes, err = slackInitiateRequest.Marshal() +// twilioInitiateRequest, err := UnmarshalTwilioInitiateRequest(bytes) +// bytes, err = twilioInitiateRequest.Marshal() // -// slackInitiateResponse, err := UnmarshalSlackInitiateResponse(bytes) -// bytes, err = slackInitiateResponse.Marshal() +// twilioInitiateResponse, err := UnmarshalTwilioInitiateResponse(bytes) +// bytes, err = twilioInitiateResponse.Marshal() // // telegramInitiateRequest, err := UnmarshalTelegramInitiateRequest(bytes) // bytes, err = telegramInitiateRequest.Marshal() @@ -64,1322 +61,1319 @@ // telegramInitiateResponse, err := UnmarshalTelegramInitiateResponse(bytes) // bytes, err = telegramInitiateResponse.Marshal() // -// twilioInitiateRequest, err := UnmarshalTwilioInitiateRequest(bytes) -// bytes, err = twilioInitiateRequest.Marshal() +// slackInitiateRequest, err := UnmarshalSlackInitiateRequest(bytes) +// bytes, err = slackInitiateRequest.Marshal() // -// twilioInitiateResponse, err := UnmarshalTwilioInitiateResponse(bytes) -// bytes, err = twilioInitiateResponse.Marshal() +// slackInitiateResponse, err := UnmarshalSlackInitiateResponse(bytes) +// bytes, err = slackInitiateResponse.Marshal() // -// whatsappInitiateRequest, err := UnmarshalWhatsappInitiateRequest(bytes) -// bytes, err = whatsappInitiateRequest.Marshal() +// recallInitiateParams, err := UnmarshalRecallInitiateParams(bytes) +// bytes, err = recallInitiateParams.Marshal() // -// whatsappInitiateResponse, err := UnmarshalWhatsappInitiateResponse(bytes) -// bytes, err = whatsappInitiateResponse.Marshal() +// recallInitiateRequest, err := UnmarshalRecallInitiateRequest(bytes) +// bytes, err = recallInitiateRequest.Marshal() // -// chatCompletionCreateRequest, err := UnmarshalChatCompletionCreateRequest(bytes) -// bytes, err = chatCompletionCreateRequest.Marshal() +// recallInitiateResponse, err := UnmarshalRecallInitiateResponse(bytes) +// bytes, err = recallInitiateResponse.Marshal() // -// platformReportGenerateParams, err := UnmarshalPlatformReportGenerateParams(bytes) -// bytes, err = platformReportGenerateParams.Marshal() +// teamsInitiateRequest, err := UnmarshalTeamsInitiateRequest(bytes) +// bytes, err = teamsInitiateRequest.Marshal() // -// platformReportGenerateRequest, err := UnmarshalPlatformReportGenerateRequest(bytes) -// bytes, err = platformReportGenerateRequest.Marshal() +// teamsInitiateResponse, err := UnmarshalTeamsInitiateResponse(bytes) +// bytes, err = teamsInitiateResponse.Marshal() // -// platformReportGenerateResponse, err := UnmarshalPlatformReportGenerateResponse(bytes) -// bytes, err = platformReportGenerateResponse.Marshal() +// messengerInitiateRequest, err := UnmarshalMessengerInitiateRequest(bytes) +// bytes, err = messengerInitiateRequest.Marshal() // -// platformReportsGenerateRequest, err := UnmarshalPlatformReportsGenerateRequest(bytes) -// bytes, err = platformReportsGenerateRequest.Marshal() +// messengerInitiateResponse, err := UnmarshalMessengerInitiateResponse(bytes) +// bytes, err = messengerInitiateResponse.Marshal() // -// platformReportsGenerateResponse, err := UnmarshalPlatformReportsGenerateResponse(bytes) -// bytes, err = platformReportsGenerateResponse.Marshal() +// instagramInitiateRequest, err := UnmarshalInstagramInitiateRequest(bytes) +// bytes, err = instagramInitiateRequest.Marshal() // -// platformReportListParams, err := UnmarshalPlatformReportListParams(bytes) -// bytes, err = platformReportListParams.Marshal() +// instagramInitiateResponse, err := UnmarshalInstagramInitiateResponse(bytes) +// bytes, err = instagramInitiateResponse.Marshal() // -// platformReportListResponse, err := UnmarshalPlatformReportListResponse(bytes) -// bytes, err = platformReportListResponse.Marshal() +// googlechatInitiateRequest, err := UnmarshalGooglechatInitiateRequest(bytes) +// bytes, err = googlechatInitiateRequest.Marshal() // -// platformReportListStreamItem, err := UnmarshalPlatformReportListStreamItem(bytes) -// bytes, err = platformReportListStreamItem.Marshal() +// googlechatInitiateResponse, err := UnmarshalGooglechatInitiateResponse(bytes) +// bytes, err = googlechatInitiateResponse.Marshal() // -// taskWorkflowEventsSubscribeParams, err := UnmarshalTaskWorkflowEventsSubscribeParams(bytes) -// bytes, err = taskWorkflowEventsSubscribeParams.Marshal() +// emailInitiateRequest, err := UnmarshalEmailInitiateRequest(bytes) +// bytes, err = emailInitiateRequest.Marshal() // -// taskWorkflowEventsSubscribeRequest, err := UnmarshalTaskWorkflowEventsSubscribeRequest(bytes) -// bytes, err = taskWorkflowEventsSubscribeRequest.Marshal() +// emailInitiateResponse, err := UnmarshalEmailInitiateResponse(bytes) +// bytes, err = emailInitiateResponse.Marshal() // -// taskWorkflowEventsSubscribeStreamItem, err := UnmarshalTaskWorkflowEventsSubscribeStreamItem(bytes) -// bytes, err = taskWorkflowEventsSubscribeStreamItem.Marshal() +// discordInitiateRequest, err := UnmarshalDiscordInitiateRequest(bytes) +// bytes, err = discordInitiateRequest.Marshal() // -// blueprintBulletinCreateParams, err := UnmarshalBlueprintBulletinCreateParams(bytes) -// bytes, err = blueprintBulletinCreateParams.Marshal() +// discordInitiateResponse, err := UnmarshalDiscordInitiateResponse(bytes) +// bytes, err = discordInitiateResponse.Marshal() // -// blueprintBulletinCreateRequest, err := UnmarshalBlueprintBulletinCreateRequest(bytes) -// bytes, err = blueprintBulletinCreateRequest.Marshal() +// userListParams, err := UnmarshalUserListParams(bytes) +// bytes, err = userListParams.Marshal() // -// blueprintBulletinCreateResponse, err := UnmarshalBlueprintBulletinCreateResponse(bytes) -// bytes, err = blueprintBulletinCreateResponse.Marshal() +// userListResponse, err := UnmarshalUserListResponse(bytes) +// bytes, err = userListResponse.Marshal() // -// blueprintBulletinListParams, err := UnmarshalBlueprintBulletinListParams(bytes) -// bytes, err = blueprintBulletinListParams.Marshal() +// userListStreamItem, err := UnmarshalUserListStreamItem(bytes) +// bytes, err = userListStreamItem.Marshal() // -// blueprintBulletinListResponse, err := UnmarshalBlueprintBulletinListResponse(bytes) -// bytes, err = blueprintBulletinListResponse.Marshal() +// userCreateRequest, err := UnmarshalUserCreateRequest(bytes) +// bytes, err = userCreateRequest.Marshal() // -// blueprintBulletinListStreamItem, err := UnmarshalBlueprintBulletinListStreamItem(bytes) -// bytes, err = blueprintBulletinListStreamItem.Marshal() +// userCreateResponse, err := UnmarshalUserCreateResponse(bytes) +// bytes, err = userCreateResponse.Marshal() // -// blueprintCloneParams, err := UnmarshalBlueprintCloneParams(bytes) -// bytes, err = blueprintCloneParams.Marshal() +// userUpdateParams, err := UnmarshalUserUpdateParams(bytes) +// bytes, err = userUpdateParams.Marshal() // -// blueprintCloneRequest, err := UnmarshalBlueprintCloneRequest(bytes) -// bytes, err = blueprintCloneRequest.Marshal() +// userUpdateRequest, err := UnmarshalUserUpdateRequest(bytes) +// bytes, err = userUpdateRequest.Marshal() // -// blueprintCloneResponse, err := UnmarshalBlueprintCloneResponse(bytes) -// bytes, err = blueprintCloneResponse.Marshal() +// userUpdateResponse, err := UnmarshalUserUpdateResponse(bytes) +// bytes, err = userUpdateResponse.Marshal() // -// blueprintDeleteParams, err := UnmarshalBlueprintDeleteParams(bytes) -// bytes, err = blueprintDeleteParams.Marshal() +// userFetchParams, err := UnmarshalUserFetchParams(bytes) +// bytes, err = userFetchParams.Marshal() // -// blueprintDeleteRequest, err := UnmarshalBlueprintDeleteRequest(bytes) -// bytes, err = blueprintDeleteRequest.Marshal() +// userFetchResponse, err := UnmarshalUserFetchResponse(bytes) +// bytes, err = userFetchResponse.Marshal() // -// blueprintDeleteResponse, err := UnmarshalBlueprintDeleteResponse(bytes) -// bytes, err = blueprintDeleteResponse.Marshal() +// userDeleteParams, err := UnmarshalUserDeleteParams(bytes) +// bytes, err = userDeleteParams.Marshal() // -// blueprintFetchParams, err := UnmarshalBlueprintFetchParams(bytes) -// bytes, err = blueprintFetchParams.Marshal() +// userDeleteRequest, err := UnmarshalUserDeleteRequest(bytes) +// bytes, err = userDeleteRequest.Marshal() // -// blueprintFetchResponse, err := UnmarshalBlueprintFetchResponse(bytes) -// bytes, err = blueprintFetchResponse.Marshal() +// userDeleteResponse, err := UnmarshalUserDeleteResponse(bytes) +// bytes, err = userDeleteResponse.Marshal() // -// blueprintResourcesExportParams, err := UnmarshalBlueprintResourcesExportParams(bytes) -// bytes, err = blueprintResourcesExportParams.Marshal() +// userTokenListParams, err := UnmarshalUserTokenListParams(bytes) +// bytes, err = userTokenListParams.Marshal() // -// blueprintResourcesExportResponse, err := UnmarshalBlueprintResourcesExportResponse(bytes) -// bytes, err = blueprintResourcesExportResponse.Marshal() +// userTokenListResponse, err := UnmarshalUserTokenListResponse(bytes) +// bytes, err = userTokenListResponse.Marshal() // -// blueprintResourcesImportParams, err := UnmarshalBlueprintResourcesImportParams(bytes) -// bytes, err = blueprintResourcesImportParams.Marshal() +// userTokenListStreamItem, err := UnmarshalUserTokenListStreamItem(bytes) +// bytes, err = userTokenListStreamItem.Marshal() // -// blueprintResourcesImportRequest, err := UnmarshalBlueprintResourcesImportRequest(bytes) -// bytes, err = blueprintResourcesImportRequest.Marshal() +// userTokenCreateParams, err := UnmarshalUserTokenCreateParams(bytes) +// bytes, err = userTokenCreateParams.Marshal() // -// blueprintResourceListParams, err := UnmarshalBlueprintResourceListParams(bytes) -// bytes, err = blueprintResourceListParams.Marshal() +// userTokenCreateRequest, err := UnmarshalUserTokenCreateRequest(bytes) +// bytes, err = userTokenCreateRequest.Marshal() // -// blueprintResourceListResponse, err := UnmarshalBlueprintResourceListResponse(bytes) -// bytes, err = blueprintResourceListResponse.Marshal() +// userTokenCreateResponse, err := UnmarshalUserTokenCreateResponse(bytes) +// bytes, err = userTokenCreateResponse.Marshal() // -// blueprintUpdateParams, err := UnmarshalBlueprintUpdateParams(bytes) -// bytes, err = blueprintUpdateParams.Marshal() +// userTokenUpdateParams, err := UnmarshalUserTokenUpdateParams(bytes) +// bytes, err = userTokenUpdateParams.Marshal() // -// blueprintUpdateRequest, err := UnmarshalBlueprintUpdateRequest(bytes) -// bytes, err = blueprintUpdateRequest.Marshal() +// userTokenUpdateRequest, err := UnmarshalUserTokenUpdateRequest(bytes) +// bytes, err = userTokenUpdateRequest.Marshal() // -// blueprintUpdateResponse, err := UnmarshalBlueprintUpdateResponse(bytes) -// bytes, err = blueprintUpdateResponse.Marshal() +// userTokenUpdateResponse, err := UnmarshalUserTokenUpdateResponse(bytes) +// bytes, err = userTokenUpdateResponse.Marshal() // -// blueprintCreateRequest, err := UnmarshalBlueprintCreateRequest(bytes) -// bytes, err = blueprintCreateRequest.Marshal() +// userTokenDeleteParams, err := UnmarshalUserTokenDeleteParams(bytes) +// bytes, err = userTokenDeleteParams.Marshal() // -// blueprintCreateResponse, err := UnmarshalBlueprintCreateResponse(bytes) -// bytes, err = blueprintCreateResponse.Marshal() +// userTokenDeleteRequest, err := UnmarshalUserTokenDeleteRequest(bytes) +// bytes, err = userTokenDeleteRequest.Marshal() // -// blueprintListParams, err := UnmarshalBlueprintListParams(bytes) -// bytes, err = blueprintListParams.Marshal() +// userTokenDeleteResponse, err := UnmarshalUserTokenDeleteResponse(bytes) +// bytes, err = userTokenDeleteResponse.Marshal() // -// blueprintListResponse, err := UnmarshalBlueprintListResponse(bytes) -// bytes, err = blueprintListResponse.Marshal() +// userSessionCreateParams, err := UnmarshalUserSessionCreateParams(bytes) +// bytes, err = userSessionCreateParams.Marshal() // -// blueprintListStreamItem, err := UnmarshalBlueprintListStreamItem(bytes) -// bytes, err = blueprintListStreamItem.Marshal() +// userSessionCreateRequest, err := UnmarshalUserSessionCreateRequest(bytes) +// bytes, err = userSessionCreateRequest.Marshal() // -// botCloneParams, err := UnmarshalBotCloneParams(bytes) -// bytes, err = botCloneParams.Marshal() +// userSessionCreateResponse, err := UnmarshalUserSessionCreateResponse(bytes) +// bytes, err = userSessionCreateResponse.Marshal() // -// botCloneRequest, err := UnmarshalBotCloneRequest(bytes) -// bytes, err = botCloneRequest.Marshal() +// userContextListParams, err := UnmarshalUserContextListParams(bytes) +// bytes, err = userContextListParams.Marshal() // -// botCloneResponse, err := UnmarshalBotCloneResponse(bytes) -// bytes, err = botCloneResponse.Marshal() +// userContextListResponse, err := UnmarshalUserContextListResponse(bytes) +// bytes, err = userContextListResponse.Marshal() // -// botDeleteParams, err := UnmarshalBotDeleteParams(bytes) -// bytes, err = botDeleteParams.Marshal() +// userContextListStreamItem, err := UnmarshalUserContextListStreamItem(bytes) +// bytes, err = userContextListStreamItem.Marshal() // -// botDeleteRequest, err := UnmarshalBotDeleteRequest(bytes) -// bytes, err = botDeleteRequest.Marshal() +// userContextCreateParams, err := UnmarshalUserContextCreateParams(bytes) +// bytes, err = userContextCreateParams.Marshal() // -// botDeleteResponse, err := UnmarshalBotDeleteResponse(bytes) -// bytes, err = botDeleteResponse.Marshal() +// userContextCreateRequest, err := UnmarshalUserContextCreateRequest(bytes) +// bytes, err = userContextCreateRequest.Marshal() // -// botDownvoteParams, err := UnmarshalBotDownvoteParams(bytes) -// bytes, err = botDownvoteParams.Marshal() +// userContextCreateResponse, err := UnmarshalUserContextCreateResponse(bytes) +// bytes, err = userContextCreateResponse.Marshal() // -// botDownvoteRequest, err := UnmarshalBotDownvoteRequest(bytes) -// bytes, err = botDownvoteRequest.Marshal() +// userContextUpdateParams, err := UnmarshalUserContextUpdateParams(bytes) +// bytes, err = userContextUpdateParams.Marshal() // -// botDownvoteResponse, err := UnmarshalBotDownvoteResponse(bytes) -// bytes, err = botDownvoteResponse.Marshal() +// userContextUpdateRequest, err := UnmarshalUserContextUpdateRequest(bytes) +// bytes, err = userContextUpdateRequest.Marshal() // -// botFetchParams, err := UnmarshalBotFetchParams(bytes) -// bytes, err = botFetchParams.Marshal() +// userContextUpdateResponse, err := UnmarshalUserContextUpdateResponse(bytes) +// bytes, err = userContextUpdateResponse.Marshal() // -// botFetchResponse, err := UnmarshalBotFetchResponse(bytes) -// bytes, err = botFetchResponse.Marshal() +// userContextFetchParams, err := UnmarshalUserContextFetchParams(bytes) +// bytes, err = userContextFetchParams.Marshal() // -// botMemorySearchParams, err := UnmarshalBotMemorySearchParams(bytes) -// bytes, err = botMemorySearchParams.Marshal() +// userContextFetchResponse, err := UnmarshalUserContextFetchResponse(bytes) +// bytes, err = userContextFetchResponse.Marshal() // -// botMemorySearchRequest, err := UnmarshalBotMemorySearchRequest(bytes) -// bytes, err = botMemorySearchRequest.Marshal() +// userContextDeleteParams, err := UnmarshalUserContextDeleteParams(bytes) +// bytes, err = userContextDeleteParams.Marshal() // -// botMemorySearchResponse, err := UnmarshalBotMemorySearchResponse(bytes) -// bytes, err = botMemorySearchResponse.Marshal() +// userContextDeleteRequest, err := UnmarshalUserContextDeleteRequest(bytes) +// bytes, err = userContextDeleteRequest.Marshal() // -// botSessionCreateParams, err := UnmarshalBotSessionCreateParams(bytes) -// bytes, err = botSessionCreateParams.Marshal() +// userContextDeleteResponse, err := UnmarshalUserContextDeleteResponse(bytes) +// bytes, err = userContextDeleteResponse.Marshal() // -// botSessionCreateRequest, err := UnmarshalBotSessionCreateRequest(bytes) -// bytes, err = botSessionCreateRequest.Marshal() +// usageRecordListParams, err := UnmarshalUsageRecordListParams(bytes) +// bytes, err = usageRecordListParams.Marshal() // -// botSessionCreateResponse, err := UnmarshalBotSessionCreateResponse(bytes) -// bytes, err = botSessionCreateResponse.Marshal() +// usageRecordListResponse, err := UnmarshalUsageRecordListResponse(bytes) +// bytes, err = usageRecordListResponse.Marshal() // -// botUpdateParams, err := UnmarshalBotUpdateParams(bytes) -// bytes, err = botUpdateParams.Marshal() +// usageFetchResponse, err := UnmarshalUsageFetchResponse(bytes) +// bytes, err = usageFetchResponse.Marshal() // -// botUpdateRequest, err := UnmarshalBotUpdateRequest(bytes) -// bytes, err = botUpdateRequest.Marshal() +// usageSeriesFetchResponse, err := UnmarshalUsageSeriesFetchResponse(bytes) +// bytes, err = usageSeriesFetchResponse.Marshal() // -// botUpdateResponse, err := UnmarshalBotUpdateResponse(bytes) -// bytes, err = botUpdateResponse.Marshal() +// teamListParams, err := UnmarshalTeamListParams(bytes) +// bytes, err = teamListParams.Marshal() // -// botUpvoteParams, err := UnmarshalBotUpvoteParams(bytes) -// bytes, err = botUpvoteParams.Marshal() +// teamListResponse, err := UnmarshalTeamListResponse(bytes) +// bytes, err = teamListResponse.Marshal() // -// botUpvoteRequest, err := UnmarshalBotUpvoteRequest(bytes) -// bytes, err = botUpvoteRequest.Marshal() +// teamListStreamItem, err := UnmarshalTeamListStreamItem(bytes) +// bytes, err = teamListStreamItem.Marshal() // -// botUpvoteResponse, err := UnmarshalBotUpvoteResponse(bytes) -// bytes, err = botUpvoteResponse.Marshal() +// taskListParams, err := UnmarshalTaskListParams(bytes) +// bytes, err = taskListParams.Marshal() // -// botUsageFetchParams, err := UnmarshalBotUsageFetchParams(bytes) -// bytes, err = botUsageFetchParams.Marshal() +// taskListResponse, err := UnmarshalTaskListResponse(bytes) +// bytes, err = taskListResponse.Marshal() // -// botUsageFetchResponse, err := UnmarshalBotUsageFetchResponse(bytes) -// bytes, err = botUsageFetchResponse.Marshal() +// taskListStreamItem, err := UnmarshalTaskListStreamItem(bytes) +// bytes, err = taskListStreamItem.Marshal() // -// botCreateRequest, err := UnmarshalBotCreateRequest(bytes) -// bytes, err = botCreateRequest.Marshal() +// tasksExportParams, err := UnmarshalTasksExportParams(bytes) +// bytes, err = tasksExportParams.Marshal() // -// botCreateResponse, err := UnmarshalBotCreateResponse(bytes) -// bytes, err = botCreateResponse.Marshal() +// tasksExportResponse, err := UnmarshalTasksExportResponse(bytes) +// bytes, err = tasksExportResponse.Marshal() // -// botListParams, err := UnmarshalBotListParams(bytes) -// bytes, err = botListParams.Marshal() +// tasksExportStreamItem, err := UnmarshalTasksExportStreamItem(bytes) +// bytes, err = tasksExportStreamItem.Marshal() // -// botListResponse, err := UnmarshalBotListResponse(bytes) -// bytes, err = botListResponse.Marshal() +// taskCreateRequest, err := UnmarshalTaskCreateRequest(bytes) +// bytes, err = taskCreateRequest.Marshal() // -// botListStreamItem, err := UnmarshalBotListStreamItem(bytes) -// bytes, err = botListStreamItem.Marshal() +// taskCreateResponse, err := UnmarshalTaskCreateResponse(bytes) +// bytes, err = taskCreateResponse.Marshal() // -// channelMessagePublishParams, err := UnmarshalChannelMessagePublishParams(bytes) -// bytes, err = channelMessagePublishParams.Marshal() +// taskUpdateParams, err := UnmarshalTaskUpdateParams(bytes) +// bytes, err = taskUpdateParams.Marshal() // -// channelMessagePublishRequest, err := UnmarshalChannelMessagePublishRequest(bytes) -// bytes, err = channelMessagePublishRequest.Marshal() +// taskUpdateRequest, err := UnmarshalTaskUpdateRequest(bytes) +// bytes, err = taskUpdateRequest.Marshal() // -// channelMessagePublishResponse, err := UnmarshalChannelMessagePublishResponse(bytes) -// bytes, err = channelMessagePublishResponse.Marshal() +// taskUpdateResponse, err := UnmarshalTaskUpdateResponse(bytes) +// bytes, err = taskUpdateResponse.Marshal() // -// channelMessagesSubscribeParams, err := UnmarshalChannelMessagesSubscribeParams(bytes) -// bytes, err = channelMessagesSubscribeParams.Marshal() +// taskTriggerParams, err := UnmarshalTaskTriggerParams(bytes) +// bytes, err = taskTriggerParams.Marshal() // -// channelMessagesSubscribeRequest, err := UnmarshalChannelMessagesSubscribeRequest(bytes) -// bytes, err = channelMessagesSubscribeRequest.Marshal() +// taskTriggerRequest, err := UnmarshalTaskTriggerRequest(bytes) +// bytes, err = taskTriggerRequest.Marshal() // -// channelMessagesSubscribeStreamItem, err := UnmarshalChannelMessagesSubscribeStreamItem(bytes) -// bytes, err = channelMessagesSubscribeStreamItem.Marshal() +// taskTriggerResponse, err := UnmarshalTaskTriggerResponse(bytes) +// bytes, err = taskTriggerResponse.Marshal() // -// contactConversationListParams, err := UnmarshalContactConversationListParams(bytes) -// bytes, err = contactConversationListParams.Marshal() +// taskFetchParams, err := UnmarshalTaskFetchParams(bytes) +// bytes, err = taskFetchParams.Marshal() // -// contactConversationListResponse, err := UnmarshalContactConversationListResponse(bytes) -// bytes, err = contactConversationListResponse.Marshal() +// taskFetchResponse, err := UnmarshalTaskFetchResponse(bytes) +// bytes, err = taskFetchResponse.Marshal() // -// contactConversationListStreamItem, err := UnmarshalContactConversationListStreamItem(bytes) -// bytes, err = contactConversationListStreamItem.Marshal() +// taskDeleteParams, err := UnmarshalTaskDeleteParams(bytes) +// bytes, err = taskDeleteParams.Marshal() // -// contactDeleteParams, err := UnmarshalContactDeleteParams(bytes) -// bytes, err = contactDeleteParams.Marshal() +// taskDeleteRequest, err := UnmarshalTaskDeleteRequest(bytes) +// bytes, err = taskDeleteRequest.Marshal() // -// contactDeleteRequest, err := UnmarshalContactDeleteRequest(bytes) -// bytes, err = contactDeleteRequest.Marshal() +// taskDeleteResponse, err := UnmarshalTaskDeleteResponse(bytes) +// bytes, err = taskDeleteResponse.Marshal() // -// contactDeleteResponse, err := UnmarshalContactDeleteResponse(bytes) -// bytes, err = contactDeleteResponse.Marshal() +// taskCancelParams, err := UnmarshalTaskCancelParams(bytes) +// bytes, err = taskCancelParams.Marshal() // -// contactFetchParams, err := UnmarshalContactFetchParams(bytes) -// bytes, err = contactFetchParams.Marshal() +// taskCancelRequest, err := UnmarshalTaskCancelRequest(bytes) +// bytes, err = taskCancelRequest.Marshal() // -// contactFetchResponse, err := UnmarshalContactFetchResponse(bytes) -// bytes, err = contactFetchResponse.Marshal() +// taskCancelResponse, err := UnmarshalTaskCancelResponse(bytes) +// bytes, err = taskCancelResponse.Marshal() // -// contactMemoryListParams, err := UnmarshalContactMemoryListParams(bytes) -// bytes, err = contactMemoryListParams.Marshal() +// taskExecutionListParams, err := UnmarshalTaskExecutionListParams(bytes) +// bytes, err = taskExecutionListParams.Marshal() // -// contactMemoryListResponse, err := UnmarshalContactMemoryListResponse(bytes) -// bytes, err = contactMemoryListResponse.Marshal() +// taskExecutionListResponse, err := UnmarshalTaskExecutionListResponse(bytes) +// bytes, err = taskExecutionListResponse.Marshal() // -// contactMemoryListStreamItem, err := UnmarshalContactMemoryListStreamItem(bytes) -// bytes, err = contactMemoryListStreamItem.Marshal() +// taskExecutionListStreamItem, err := UnmarshalTaskExecutionListStreamItem(bytes) +// bytes, err = taskExecutionListStreamItem.Marshal() // -// contactMemorySearchParams, err := UnmarshalContactMemorySearchParams(bytes) -// bytes, err = contactMemorySearchParams.Marshal() +// taskExecutionCancelParams, err := UnmarshalTaskExecutionCancelParams(bytes) +// bytes, err = taskExecutionCancelParams.Marshal() // -// contactMemorySearchRequest, err := UnmarshalContactMemorySearchRequest(bytes) -// bytes, err = contactMemorySearchRequest.Marshal() +// taskExecutionCancelRequest, err := UnmarshalTaskExecutionCancelRequest(bytes) +// bytes, err = taskExecutionCancelRequest.Marshal() // -// contactMemorySearchResponse, err := UnmarshalContactMemorySearchResponse(bytes) -// bytes, err = contactMemorySearchResponse.Marshal() +// taskExecutionCancelResponse, err := UnmarshalTaskExecutionCancelResponse(bytes) +// bytes, err = taskExecutionCancelResponse.Marshal() // -// contactRatingListParams, err := UnmarshalContactRatingListParams(bytes) -// bytes, err = contactRatingListParams.Marshal() +// spaceListParams, err := UnmarshalSpaceListParams(bytes) +// bytes, err = spaceListParams.Marshal() // -// contactRatingListResponse, err := UnmarshalContactRatingListResponse(bytes) -// bytes, err = contactRatingListResponse.Marshal() +// spaceListResponse, err := UnmarshalSpaceListResponse(bytes) +// bytes, err = spaceListResponse.Marshal() // -// contactRatingListStreamItem, err := UnmarshalContactRatingListStreamItem(bytes) -// bytes, err = contactRatingListStreamItem.Marshal() +// spaceListStreamItem, err := UnmarshalSpaceListStreamItem(bytes) +// bytes, err = spaceListStreamItem.Marshal() // -// contactSecretAuthenticateParams, err := UnmarshalContactSecretAuthenticateParams(bytes) -// bytes, err = contactSecretAuthenticateParams.Marshal() +// spacesExportParams, err := UnmarshalSpacesExportParams(bytes) +// bytes, err = spacesExportParams.Marshal() // -// contactSecretAuthenticateRequest, err := UnmarshalContactSecretAuthenticateRequest(bytes) -// bytes, err = contactSecretAuthenticateRequest.Marshal() +// spacesExportResponse, err := UnmarshalSpacesExportResponse(bytes) +// bytes, err = spacesExportResponse.Marshal() // -// contactSecretAuthenticateResponse, err := UnmarshalContactSecretAuthenticateResponse(bytes) -// bytes, err = contactSecretAuthenticateResponse.Marshal() +// spacesExportStreamItem, err := UnmarshalSpacesExportStreamItem(bytes) +// bytes, err = spacesExportStreamItem.Marshal() // -// contactSecretMintParams, err := UnmarshalContactSecretMintParams(bytes) -// bytes, err = contactSecretMintParams.Marshal() +// spaceCreateRequest, err := UnmarshalSpaceCreateRequest(bytes) +// bytes, err = spaceCreateRequest.Marshal() // -// contactSecretMintResponse, err := UnmarshalContactSecretMintResponse(bytes) -// bytes, err = contactSecretMintResponse.Marshal() +// spaceCreateResponse, err := UnmarshalSpaceCreateResponse(bytes) +// bytes, err = spaceCreateResponse.Marshal() // -// contactSecretProxyParams, err := UnmarshalContactSecretProxyParams(bytes) -// bytes, err = contactSecretProxyParams.Marshal() +// spaceUpdateParams, err := UnmarshalSpaceUpdateParams(bytes) +// bytes, err = spaceUpdateParams.Marshal() // -// contactSecretProxyRequest, err := UnmarshalContactSecretProxyRequest(bytes) -// bytes, err = contactSecretProxyRequest.Marshal() +// spaceUpdateRequest, err := UnmarshalSpaceUpdateRequest(bytes) +// bytes, err = spaceUpdateRequest.Marshal() // -// contactSecretRevokeParams, err := UnmarshalContactSecretRevokeParams(bytes) -// bytes, err = contactSecretRevokeParams.Marshal() +// spaceUpdateResponse, err := UnmarshalSpaceUpdateResponse(bytes) +// bytes, err = spaceUpdateResponse.Marshal() // -// contactSecretRevokeRequest, err := UnmarshalContactSecretRevokeRequest(bytes) -// bytes, err = contactSecretRevokeRequest.Marshal() +// spaceFetchParams, err := UnmarshalSpaceFetchParams(bytes) +// bytes, err = spaceFetchParams.Marshal() // -// contactSecretRevokeResponse, err := UnmarshalContactSecretRevokeResponse(bytes) -// bytes, err = contactSecretRevokeResponse.Marshal() +// spaceFetchResponse, err := UnmarshalSpaceFetchResponse(bytes) +// bytes, err = spaceFetchResponse.Marshal() // -// contactSecretVerifyParams, err := UnmarshalContactSecretVerifyParams(bytes) -// bytes, err = contactSecretVerifyParams.Marshal() +// spaceDeleteParams, err := UnmarshalSpaceDeleteParams(bytes) +// bytes, err = spaceDeleteParams.Marshal() // -// contactSecretVerifyRequest, err := UnmarshalContactSecretVerifyRequest(bytes) -// bytes, err = contactSecretVerifyRequest.Marshal() +// spaceDeleteRequest, err := UnmarshalSpaceDeleteRequest(bytes) +// bytes, err = spaceDeleteRequest.Marshal() // -// contactSecretVerifyResponse, err := UnmarshalContactSecretVerifyResponse(bytes) -// bytes, err = contactSecretVerifyResponse.Marshal() +// spaceDeleteResponse, err := UnmarshalSpaceDeleteResponse(bytes) +// bytes, err = spaceDeleteResponse.Marshal() // -// contactSecretListParams, err := UnmarshalContactSecretListParams(bytes) -// bytes, err = contactSecretListParams.Marshal() +// spaceStoragePathUploadParams, err := UnmarshalSpaceStoragePathUploadParams(bytes) +// bytes, err = spaceStoragePathUploadParams.Marshal() // -// contactSecretListResponse, err := UnmarshalContactSecretListResponse(bytes) -// bytes, err = contactSecretListResponse.Marshal() +// spaceStoragePathUploadRequest, err := UnmarshalSpaceStoragePathUploadRequest(bytes) +// bytes, err = spaceStoragePathUploadRequest.Marshal() // -// contactSecretListStreamItem, err := UnmarshalContactSecretListStreamItem(bytes) -// bytes, err = contactSecretListStreamItem.Marshal() +// spaceStoragePathUploadResponse, err := UnmarshalSpaceStoragePathUploadResponse(bytes) +// bytes, err = spaceStoragePathUploadResponse.Marshal() // -// contactSpaceListParams, err := UnmarshalContactSpaceListParams(bytes) -// bytes, err = contactSpaceListParams.Marshal() +// spaceStoragePathMoveParams, err := UnmarshalSpaceStoragePathMoveParams(bytes) +// bytes, err = spaceStoragePathMoveParams.Marshal() // -// contactSpaceListResponse, err := UnmarshalContactSpaceListResponse(bytes) -// bytes, err = contactSpaceListResponse.Marshal() +// spaceStoragePathMoveRequest, err := UnmarshalSpaceStoragePathMoveRequest(bytes) +// bytes, err = spaceStoragePathMoveRequest.Marshal() // -// contactSpaceListStreamItem, err := UnmarshalContactSpaceListStreamItem(bytes) -// bytes, err = contactSpaceListStreamItem.Marshal() +// spaceStoragePathMoveResponse, err := UnmarshalSpaceStoragePathMoveResponse(bytes) +// bytes, err = spaceStoragePathMoveResponse.Marshal() // -// contactTaskListParams, err := UnmarshalContactTaskListParams(bytes) -// bytes, err = contactTaskListParams.Marshal() +// spaceStoragePathListParams, err := UnmarshalSpaceStoragePathListParams(bytes) +// bytes, err = spaceStoragePathListParams.Marshal() // -// contactTaskListResponse, err := UnmarshalContactTaskListResponse(bytes) -// bytes, err = contactTaskListResponse.Marshal() +// spaceStoragePathListResponse, err := UnmarshalSpaceStoragePathListResponse(bytes) +// bytes, err = spaceStoragePathListResponse.Marshal() // -// contactTaskListStreamItem, err := UnmarshalContactTaskListStreamItem(bytes) -// bytes, err = contactTaskListStreamItem.Marshal() +// spaceStoragePathDownloadParams, err := UnmarshalSpaceStoragePathDownloadParams(bytes) +// bytes, err = spaceStoragePathDownloadParams.Marshal() // -// contactUpdateParams, err := UnmarshalContactUpdateParams(bytes) -// bytes, err = contactUpdateParams.Marshal() +// spaceStoragePathDownloadResponse, err := UnmarshalSpaceStoragePathDownloadResponse(bytes) +// bytes, err = spaceStoragePathDownloadResponse.Marshal() // -// contactUpdateRequest, err := UnmarshalContactUpdateRequest(bytes) -// bytes, err = contactUpdateRequest.Marshal() +// spaceStoragePathDeleteParams, err := UnmarshalSpaceStoragePathDeleteParams(bytes) +// bytes, err = spaceStoragePathDeleteParams.Marshal() // -// contactUpdateResponse, err := UnmarshalContactUpdateResponse(bytes) -// bytes, err = contactUpdateResponse.Marshal() +// spaceStoragePathDeleteRequest, err := UnmarshalSpaceStoragePathDeleteRequest(bytes) +// bytes, err = spaceStoragePathDeleteRequest.Marshal() // -// contactCreateRequest, err := UnmarshalContactCreateRequest(bytes) -// bytes, err = contactCreateRequest.Marshal() +// spaceStoragePathDeleteResponse, err := UnmarshalSpaceStoragePathDeleteResponse(bytes) +// bytes, err = spaceStoragePathDeleteResponse.Marshal() // -// contactCreateResponse, err := UnmarshalContactCreateResponse(bytes) -// bytes, err = contactCreateResponse.Marshal() +// spaceStoragePathCopyParams, err := UnmarshalSpaceStoragePathCopyParams(bytes) +// bytes, err = spaceStoragePathCopyParams.Marshal() // -// contactEnsureRequest, err := UnmarshalContactEnsureRequest(bytes) -// bytes, err = contactEnsureRequest.Marshal() +// spaceStoragePathCopyRequest, err := UnmarshalSpaceStoragePathCopyRequest(bytes) +// bytes, err = spaceStoragePathCopyRequest.Marshal() // -// contactEnsureResponse, err := UnmarshalContactEnsureResponse(bytes) -// bytes, err = contactEnsureResponse.Marshal() +// spaceStoragePathCopyResponse, err := UnmarshalSpaceStoragePathCopyResponse(bytes) +// bytes, err = spaceStoragePathCopyResponse.Marshal() // -// contactsExportParams, err := UnmarshalContactsExportParams(bytes) -// bytes, err = contactsExportParams.Marshal() +// spaceSiteListParams, err := UnmarshalSpaceSiteListParams(bytes) +// bytes, err = spaceSiteListParams.Marshal() // -// contactsExportResponse, err := UnmarshalContactsExportResponse(bytes) -// bytes, err = contactsExportResponse.Marshal() +// spaceSiteListResponse, err := UnmarshalSpaceSiteListResponse(bytes) +// bytes, err = spaceSiteListResponse.Marshal() // -// contactsExportStreamItem, err := UnmarshalContactsExportStreamItem(bytes) -// bytes, err = contactsExportStreamItem.Marshal() +// spaceSiteListStreamItem, err := UnmarshalSpaceSiteListStreamItem(bytes) +// bytes, err = spaceSiteListStreamItem.Marshal() // -// contactListParams, err := UnmarshalContactListParams(bytes) -// bytes, err = contactListParams.Marshal() +// spaceSiteCreateParams, err := UnmarshalSpaceSiteCreateParams(bytes) +// bytes, err = spaceSiteCreateParams.Marshal() // -// contactListResponse, err := UnmarshalContactListResponse(bytes) -// bytes, err = contactListResponse.Marshal() +// spaceSiteCreateRequest, err := UnmarshalSpaceSiteCreateRequest(bytes) +// bytes, err = spaceSiteCreateRequest.Marshal() // -// contactListStreamItem, err := UnmarshalContactListStreamItem(bytes) -// bytes, err = contactListStreamItem.Marshal() +// spaceSiteCreateResponse, err := UnmarshalSpaceSiteCreateResponse(bytes) +// bytes, err = spaceSiteCreateResponse.Marshal() // -// conversationAttachmentListParams, err := UnmarshalConversationAttachmentListParams(bytes) -// bytes, err = conversationAttachmentListParams.Marshal() +// spaceSiteUpdateParams, err := UnmarshalSpaceSiteUpdateParams(bytes) +// bytes, err = spaceSiteUpdateParams.Marshal() // -// conversationAttachmentListResponse, err := UnmarshalConversationAttachmentListResponse(bytes) -// bytes, err = conversationAttachmentListResponse.Marshal() +// spaceSiteUpdateRequest, err := UnmarshalSpaceSiteUpdateRequest(bytes) +// bytes, err = spaceSiteUpdateRequest.Marshal() // -// conversationAttachmentUploadParams, err := UnmarshalConversationAttachmentUploadParams(bytes) -// bytes, err = conversationAttachmentUploadParams.Marshal() +// spaceSiteUpdateResponse, err := UnmarshalSpaceSiteUpdateResponse(bytes) +// bytes, err = spaceSiteUpdateResponse.Marshal() // -// conversationAttachmentUploadRequest, err := UnmarshalConversationAttachmentUploadRequest(bytes) -// bytes, err = conversationAttachmentUploadRequest.Marshal() +// spaceSiteFetchParams, err := UnmarshalSpaceSiteFetchParams(bytes) +// bytes, err = spaceSiteFetchParams.Marshal() // -// conversationAttachmentUploadResponse, err := UnmarshalConversationAttachmentUploadResponse(bytes) -// bytes, err = conversationAttachmentUploadResponse.Marshal() +// spaceSiteFetchResponse, err := UnmarshalSpaceSiteFetchResponse(bytes) +// bytes, err = spaceSiteFetchResponse.Marshal() // -// conversationChannelSubscribeRequest, err := UnmarshalConversationChannelSubscribeRequest(bytes) -// bytes, err = conversationChannelSubscribeRequest.Marshal() +// spaceSiteDeleteParams, err := UnmarshalSpaceSiteDeleteParams(bytes) +// bytes, err = spaceSiteDeleteParams.Marshal() // -// conversationChannelSubscribeStreamItem, err := UnmarshalConversationChannelSubscribeStreamItem(bytes) -// bytes, err = conversationChannelSubscribeStreamItem.Marshal() +// spaceSiteDeleteRequest, err := UnmarshalSpaceSiteDeleteRequest(bytes) +// bytes, err = spaceSiteDeleteRequest.Marshal() // -// conversationCompactParams, err := UnmarshalConversationCompactParams(bytes) -// bytes, err = conversationCompactParams.Marshal() +// spaceSiteDeleteResponse, err := UnmarshalSpaceSiteDeleteResponse(bytes) +// bytes, err = spaceSiteDeleteResponse.Marshal() // -// conversationCompactResponse, err := UnmarshalConversationCompactResponse(bytes) -// bytes, err = conversationCompactResponse.Marshal() +// skillsetListParams, err := UnmarshalSkillsetListParams(bytes) +// bytes, err = skillsetListParams.Marshal() // -// conversationMessageCompleteParams, err := UnmarshalConversationMessageCompleteParams(bytes) -// bytes, err = conversationMessageCompleteParams.Marshal() +// skillsetListResponse, err := UnmarshalSkillsetListResponse(bytes) +// bytes, err = skillsetListResponse.Marshal() // -// conversationMessageCompleteRequest, err := UnmarshalConversationMessageCompleteRequest(bytes) -// bytes, err = conversationMessageCompleteRequest.Marshal() +// skillsetListStreamItem, err := UnmarshalSkillsetListStreamItem(bytes) +// bytes, err = skillsetListStreamItem.Marshal() // -// conversationMessageCompleteResponse, err := UnmarshalConversationMessageCompleteResponse(bytes) -// bytes, err = conversationMessageCompleteResponse.Marshal() +// skillsetCreateRequest, err := UnmarshalSkillsetCreateRequest(bytes) +// bytes, err = skillsetCreateRequest.Marshal() // -// conversationMessageCompleteStreamItem, err := UnmarshalConversationMessageCompleteStreamItem(bytes) -// bytes, err = conversationMessageCompleteStreamItem.Marshal() +// skillsetCreateResponse, err := UnmarshalSkillsetCreateResponse(bytes) +// bytes, err = skillsetCreateResponse.Marshal() // -// conversationContactUpsertParams, err := UnmarshalConversationContactUpsertParams(bytes) -// bytes, err = conversationContactUpsertParams.Marshal() +// skillsetUpdateParams, err := UnmarshalSkillsetUpdateParams(bytes) +// bytes, err = skillsetUpdateParams.Marshal() // -// conversationContactUpsertRequest, err := UnmarshalConversationContactUpsertRequest(bytes) -// bytes, err = conversationContactUpsertRequest.Marshal() +// skillsetUpdateRequest, err := UnmarshalSkillsetUpdateRequest(bytes) +// bytes, err = skillsetUpdateRequest.Marshal() // -// conversationContactUpsertResponse, err := UnmarshalConversationContactUpsertResponse(bytes) -// bytes, err = conversationContactUpsertResponse.Marshal() +// skillsetUpdateResponse, err := UnmarshalSkillsetUpdateResponse(bytes) +// bytes, err = skillsetUpdateResponse.Marshal() // -// conversationDeleteParams, err := UnmarshalConversationDeleteParams(bytes) -// bytes, err = conversationDeleteParams.Marshal() +// skillsetFetchParams, err := UnmarshalSkillsetFetchParams(bytes) +// bytes, err = skillsetFetchParams.Marshal() // -// conversationDeleteRequest, err := UnmarshalConversationDeleteRequest(bytes) -// bytes, err = conversationDeleteRequest.Marshal() +// skillsetFetchResponse, err := UnmarshalSkillsetFetchResponse(bytes) +// bytes, err = skillsetFetchResponse.Marshal() // -// conversationDeleteResponse, err := UnmarshalConversationDeleteResponse(bytes) -// bytes, err = conversationDeleteResponse.Marshal() +// skillsetDeleteParams, err := UnmarshalSkillsetDeleteParams(bytes) +// bytes, err = skillsetDeleteParams.Marshal() // -// statefulConversationDispatchRequest, err := UnmarshalStatefulConversationDispatchRequest(bytes) -// bytes, err = statefulConversationDispatchRequest.Marshal() +// skillsetDeleteRequest, err := UnmarshalSkillsetDeleteRequest(bytes) +// bytes, err = skillsetDeleteRequest.Marshal() // -// statefulConversationDispatchResponse, err := UnmarshalStatefulConversationDispatchResponse(bytes) -// bytes, err = statefulConversationDispatchResponse.Marshal() +// skillsetDeleteResponse, err := UnmarshalSkillsetDeleteResponse(bytes) +// bytes, err = skillsetDeleteResponse.Marshal() // -// conversationDownvoteParams, err := UnmarshalConversationDownvoteParams(bytes) -// bytes, err = conversationDownvoteParams.Marshal() +// skillsetAbilityListParams, err := UnmarshalSkillsetAbilityListParams(bytes) +// bytes, err = skillsetAbilityListParams.Marshal() // -// conversationDownvoteRequest, err := UnmarshalConversationDownvoteRequest(bytes) -// bytes, err = conversationDownvoteRequest.Marshal() +// skillsetAbilityListResponse, err := UnmarshalSkillsetAbilityListResponse(bytes) +// bytes, err = skillsetAbilityListResponse.Marshal() // -// conversationDownvoteResponse, err := UnmarshalConversationDownvoteResponse(bytes) -// bytes, err = conversationDownvoteResponse.Marshal() +// skillsetAbilityListStreamItem, err := UnmarshalSkillsetAbilityListStreamItem(bytes) +// bytes, err = skillsetAbilityListStreamItem.Marshal() // -// conversationFetchParams, err := UnmarshalConversationFetchParams(bytes) -// bytes, err = conversationFetchParams.Marshal() +// skillsetAbilitiesExportParams, err := UnmarshalSkillsetAbilitiesExportParams(bytes) +// bytes, err = skillsetAbilitiesExportParams.Marshal() // -// conversationFetchResponse, err := UnmarshalConversationFetchResponse(bytes) -// bytes, err = conversationFetchResponse.Marshal() +// skillsetAbilitiesExportResponse, err := UnmarshalSkillsetAbilitiesExportResponse(bytes) +// bytes, err = skillsetAbilitiesExportResponse.Marshal() // -// conversationMessageDeleteParams, err := UnmarshalConversationMessageDeleteParams(bytes) -// bytes, err = conversationMessageDeleteParams.Marshal() +// skillsetAbilitiesExportStreamItem, err := UnmarshalSkillsetAbilitiesExportStreamItem(bytes) +// bytes, err = skillsetAbilitiesExportStreamItem.Marshal() // -// conversationMessageDeleteRequest, err := UnmarshalConversationMessageDeleteRequest(bytes) -// bytes, err = conversationMessageDeleteRequest.Marshal() +// skillsetAbilityCreateParams, err := UnmarshalSkillsetAbilityCreateParams(bytes) +// bytes, err = skillsetAbilityCreateParams.Marshal() // -// conversationMessageDeleteResponse, err := UnmarshalConversationMessageDeleteResponse(bytes) -// bytes, err = conversationMessageDeleteResponse.Marshal() +// skillsetAbilityCreateRequest, err := UnmarshalSkillsetAbilityCreateRequest(bytes) +// bytes, err = skillsetAbilityCreateRequest.Marshal() // -// conversationMessageDownvoteParams, err := UnmarshalConversationMessageDownvoteParams(bytes) -// bytes, err = conversationMessageDownvoteParams.Marshal() +// skillsetAbilityCreateResponse, err := UnmarshalSkillsetAbilityCreateResponse(bytes) +// bytes, err = skillsetAbilityCreateResponse.Marshal() // -// conversationMessageDownvoteRequest, err := UnmarshalConversationMessageDownvoteRequest(bytes) -// bytes, err = conversationMessageDownvoteRequest.Marshal() +// skillsetAbilityUpdateParams, err := UnmarshalSkillsetAbilityUpdateParams(bytes) +// bytes, err = skillsetAbilityUpdateParams.Marshal() // -// conversationMessageDownvoteResponse, err := UnmarshalConversationMessageDownvoteResponse(bytes) -// bytes, err = conversationMessageDownvoteResponse.Marshal() +// skillsetAbilityUpdateRequest, err := UnmarshalSkillsetAbilityUpdateRequest(bytes) +// bytes, err = skillsetAbilityUpdateRequest.Marshal() // -// conversationMessageFetchParams, err := UnmarshalConversationMessageFetchParams(bytes) -// bytes, err = conversationMessageFetchParams.Marshal() +// skillsetAbilityUpdateResponse, err := UnmarshalSkillsetAbilityUpdateResponse(bytes) +// bytes, err = skillsetAbilityUpdateResponse.Marshal() // -// conversationMessageFetchResponse, err := UnmarshalConversationMessageFetchResponse(bytes) -// bytes, err = conversationMessageFetchResponse.Marshal() +// skillsetAbilityFetchParams, err := UnmarshalSkillsetAbilityFetchParams(bytes) +// bytes, err = skillsetAbilityFetchParams.Marshal() // -// conversationMessageSynthesizeParams, err := UnmarshalConversationMessageSynthesizeParams(bytes) -// bytes, err = conversationMessageSynthesizeParams.Marshal() +// skillsetAbilityFetchResponse, err := UnmarshalSkillsetAbilityFetchResponse(bytes) +// bytes, err = skillsetAbilityFetchResponse.Marshal() // -// conversationMessageSynthesizeRequest, err := UnmarshalConversationMessageSynthesizeRequest(bytes) -// bytes, err = conversationMessageSynthesizeRequest.Marshal() +// skillsetAbilityExecuteParams, err := UnmarshalSkillsetAbilityExecuteParams(bytes) +// bytes, err = skillsetAbilityExecuteParams.Marshal() // -// conversationMessageSynthesizeResponse, err := UnmarshalConversationMessageSynthesizeResponse(bytes) -// bytes, err = conversationMessageSynthesizeResponse.Marshal() +// skillsetAbilityExecuteRequest, err := UnmarshalSkillsetAbilityExecuteRequest(bytes) +// bytes, err = skillsetAbilityExecuteRequest.Marshal() // -// conversationMessageUpdateParams, err := UnmarshalConversationMessageUpdateParams(bytes) -// bytes, err = conversationMessageUpdateParams.Marshal() +// skillsetAbilityExecuteResponse, err := UnmarshalSkillsetAbilityExecuteResponse(bytes) +// bytes, err = skillsetAbilityExecuteResponse.Marshal() // -// conversationMessageUpdateRequest, err := UnmarshalConversationMessageUpdateRequest(bytes) -// bytes, err = conversationMessageUpdateRequest.Marshal() +// skillsetAbilityExecuteStreamItem, err := UnmarshalSkillsetAbilityExecuteStreamItem(bytes) +// bytes, err = skillsetAbilityExecuteStreamItem.Marshal() // -// conversationMessageUpdateResponse, err := UnmarshalConversationMessageUpdateResponse(bytes) -// bytes, err = conversationMessageUpdateResponse.Marshal() +// skillsetAbilityDeleteParams, err := UnmarshalSkillsetAbilityDeleteParams(bytes) +// bytes, err = skillsetAbilityDeleteParams.Marshal() // -// conversationMessageUpvoteParams, err := UnmarshalConversationMessageUpvoteParams(bytes) -// bytes, err = conversationMessageUpvoteParams.Marshal() +// skillsetAbilityDeleteRequest, err := UnmarshalSkillsetAbilityDeleteRequest(bytes) +// bytes, err = skillsetAbilityDeleteRequest.Marshal() // -// conversationMessageUpvoteRequest, err := UnmarshalConversationMessageUpvoteRequest(bytes) -// bytes, err = conversationMessageUpvoteRequest.Marshal() +// skillsetAbilityDeleteResponse, err := UnmarshalSkillsetAbilityDeleteResponse(bytes) +// bytes, err = skillsetAbilityDeleteResponse.Marshal() // -// conversationMessageUpvoteResponse, err := UnmarshalConversationMessageUpvoteResponse(bytes) -// bytes, err = conversationMessageUpvoteResponse.Marshal() +// secretListParams, err := UnmarshalSecretListParams(bytes) +// bytes, err = secretListParams.Marshal() // -// conversationMessageCreateParams, err := UnmarshalConversationMessageCreateParams(bytes) -// bytes, err = conversationMessageCreateParams.Marshal() +// secretListResponse, err := UnmarshalSecretListResponse(bytes) +// bytes, err = secretListResponse.Marshal() // -// conversationMessageCreateRequest, err := UnmarshalConversationMessageCreateRequest(bytes) -// bytes, err = conversationMessageCreateRequest.Marshal() +// secretListStreamItem, err := UnmarshalSecretListStreamItem(bytes) +// bytes, err = secretListStreamItem.Marshal() // -// conversationMessageCreateResponse, err := UnmarshalConversationMessageCreateResponse(bytes) -// bytes, err = conversationMessageCreateResponse.Marshal() +// secretCreateRequest, err := UnmarshalSecretCreateRequest(bytes) +// bytes, err = secretCreateRequest.Marshal() // -// conversationMessageListParams, err := UnmarshalConversationMessageListParams(bytes) -// bytes, err = conversationMessageListParams.Marshal() +// secretCreateResponse, err := UnmarshalSecretCreateResponse(bytes) +// bytes, err = secretCreateResponse.Marshal() // -// conversationMessageListResponse, err := UnmarshalConversationMessageListResponse(bytes) -// bytes, err = conversationMessageListResponse.Marshal() +// secretVerifyParams, err := UnmarshalSecretVerifyParams(bytes) +// bytes, err = secretVerifyParams.Marshal() // -// conversationMessageListStreamItem, err := UnmarshalConversationMessageListStreamItem(bytes) -// bytes, err = conversationMessageListStreamItem.Marshal() +// secretVerifyRequest, err := UnmarshalSecretVerifyRequest(bytes) +// bytes, err = secretVerifyRequest.Marshal() // -// conversationMessageReceiveParams, err := UnmarshalConversationMessageReceiveParams(bytes) -// bytes, err = conversationMessageReceiveParams.Marshal() +// secretVerifyResponse, err := UnmarshalSecretVerifyResponse(bytes) +// bytes, err = secretVerifyResponse.Marshal() // -// conversationMessageReceiveRequest, err := UnmarshalConversationMessageReceiveRequest(bytes) -// bytes, err = conversationMessageReceiveRequest.Marshal() +// secretUpdateParams, err := UnmarshalSecretUpdateParams(bytes) +// bytes, err = secretUpdateParams.Marshal() // -// conversationMessageReceiveResponse, err := UnmarshalConversationMessageReceiveResponse(bytes) -// bytes, err = conversationMessageReceiveResponse.Marshal() +// secretUpdateRequest, err := UnmarshalSecretUpdateRequest(bytes) +// bytes, err = secretUpdateRequest.Marshal() // -// conversationMessageReceiveStreamItem, err := UnmarshalConversationMessageReceiveStreamItem(bytes) -// bytes, err = conversationMessageReceiveStreamItem.Marshal() +// secretUpdateResponse, err := UnmarshalSecretUpdateResponse(bytes) +// bytes, err = secretUpdateResponse.Marshal() // -// conversationMessageSendParams, err := UnmarshalConversationMessageSendParams(bytes) -// bytes, err = conversationMessageSendParams.Marshal() +// secretRevokeParams, err := UnmarshalSecretRevokeParams(bytes) +// bytes, err = secretRevokeParams.Marshal() // -// conversationMessageSendRequest, err := UnmarshalConversationMessageSendRequest(bytes) -// bytes, err = conversationMessageSendRequest.Marshal() +// secretRevokeRequest, err := UnmarshalSecretRevokeRequest(bytes) +// bytes, err = secretRevokeRequest.Marshal() // -// conversationMessageSendResponse, err := UnmarshalConversationMessageSendResponse(bytes) -// bytes, err = conversationMessageSendResponse.Marshal() +// secretRevokeResponse, err := UnmarshalSecretRevokeResponse(bytes) +// bytes, err = secretRevokeResponse.Marshal() // -// conversationMessageSendStreamItem, err := UnmarshalConversationMessageSendStreamItem(bytes) -// bytes, err = conversationMessageSendStreamItem.Marshal() +// secretProxyParams, err := UnmarshalSecretProxyParams(bytes) +// bytes, err = secretProxyParams.Marshal() // -// conversationSessionCreateParams, err := UnmarshalConversationSessionCreateParams(bytes) -// bytes, err = conversationSessionCreateParams.Marshal() +// secretProxyRequest, err := UnmarshalSecretProxyRequest(bytes) +// bytes, err = secretProxyRequest.Marshal() // -// conversationSessionCreateRequest, err := UnmarshalConversationSessionCreateRequest(bytes) -// bytes, err = conversationSessionCreateRequest.Marshal() +// secretMintParams, err := UnmarshalSecretMintParams(bytes) +// bytes, err = secretMintParams.Marshal() // -// conversationSessionCreateResponse, err := UnmarshalConversationSessionCreateResponse(bytes) -// bytes, err = conversationSessionCreateResponse.Marshal() +// secretMintResponse, err := UnmarshalSecretMintResponse(bytes) +// bytes, err = secretMintResponse.Marshal() // -// conversationUpdateParams, err := UnmarshalConversationUpdateParams(bytes) -// bytes, err = conversationUpdateParams.Marshal() +// secretFetchParams, err := UnmarshalSecretFetchParams(bytes) +// bytes, err = secretFetchParams.Marshal() // -// conversationUpdateRequest, err := UnmarshalConversationUpdateRequest(bytes) -// bytes, err = conversationUpdateRequest.Marshal() +// secretFetchResponse, err := UnmarshalSecretFetchResponse(bytes) +// bytes, err = secretFetchResponse.Marshal() // -// conversationUpdateResponse, err := UnmarshalConversationUpdateResponse(bytes) -// bytes, err = conversationUpdateResponse.Marshal() +// secretDeleteParams, err := UnmarshalSecretDeleteParams(bytes) +// bytes, err = secretDeleteParams.Marshal() // -// conversationUpvoteParams, err := UnmarshalConversationUpvoteParams(bytes) -// bytes, err = conversationUpvoteParams.Marshal() +// secretDeleteRequest, err := UnmarshalSecretDeleteRequest(bytes) +// bytes, err = secretDeleteRequest.Marshal() // -// conversationUpvoteRequest, err := UnmarshalConversationUpvoteRequest(bytes) -// bytes, err = conversationUpvoteRequest.Marshal() +// secretDeleteResponse, err := UnmarshalSecretDeleteResponse(bytes) +// bytes, err = secretDeleteResponse.Marshal() // -// conversationUpvoteResponse, err := UnmarshalConversationUpvoteResponse(bytes) -// bytes, err = conversationUpvoteResponse.Marshal() +// secretAuthenticateParams, err := UnmarshalSecretAuthenticateParams(bytes) +// bytes, err = secretAuthenticateParams.Marshal() // -// conversationUsageFetchParams, err := UnmarshalConversationUsageFetchParams(bytes) -// bytes, err = conversationUsageFetchParams.Marshal() +// secretAuthenticateRequest, err := UnmarshalSecretAuthenticateRequest(bytes) +// bytes, err = secretAuthenticateRequest.Marshal() // -// conversationUsageFetchResponse, err := UnmarshalConversationUsageFetchResponse(bytes) -// bytes, err = conversationUsageFetchResponse.Marshal() +// secretAuthenticateResponse, err := UnmarshalSecretAuthenticateResponse(bytes) +// bytes, err = secretAuthenticateResponse.Marshal() // -// conversationStatelessCompactRequest, err := UnmarshalConversationStatelessCompactRequest(bytes) -// bytes, err = conversationStatelessCompactRequest.Marshal() +// portalListParams, err := UnmarshalPortalListParams(bytes) +// bytes, err = portalListParams.Marshal() // -// conversationStatelessCompactResponse, err := UnmarshalConversationStatelessCompactResponse(bytes) -// bytes, err = conversationStatelessCompactResponse.Marshal() +// portalListResponse, err := UnmarshalPortalListResponse(bytes) +// bytes, err = portalListResponse.Marshal() // -// conversationCompleteRequest, err := UnmarshalConversationCompleteRequest(bytes) -// bytes, err = conversationCompleteRequest.Marshal() +// portalListStreamItem, err := UnmarshalPortalListStreamItem(bytes) +// bytes, err = portalListStreamItem.Marshal() // -// conversationCompleteResponse, err := UnmarshalConversationCompleteResponse(bytes) -// bytes, err = conversationCompleteResponse.Marshal() +// portalCreateRequest, err := UnmarshalPortalCreateRequest(bytes) +// bytes, err = portalCreateRequest.Marshal() // -// conversationCompleteStreamItem, err := UnmarshalConversationCompleteStreamItem(bytes) -// bytes, err = conversationCompleteStreamItem.Marshal() +// portalCreateResponse, err := UnmarshalPortalCreateResponse(bytes) +// bytes, err = portalCreateResponse.Marshal() // -// conversationCreateRequest, err := UnmarshalConversationCreateRequest(bytes) -// bytes, err = conversationCreateRequest.Marshal() +// portalUpdateParams, err := UnmarshalPortalUpdateParams(bytes) +// bytes, err = portalUpdateParams.Marshal() // -// conversationCreateResponse, err := UnmarshalConversationCreateResponse(bytes) -// bytes, err = conversationCreateResponse.Marshal() +// portalUpdateRequest, err := UnmarshalPortalUpdateRequest(bytes) +// bytes, err = portalUpdateRequest.Marshal() // -// conversationDispatchRequest, err := UnmarshalConversationDispatchRequest(bytes) -// bytes, err = conversationDispatchRequest.Marshal() +// portalUpdateResponse, err := UnmarshalPortalUpdateResponse(bytes) +// bytes, err = portalUpdateResponse.Marshal() // -// conversationDispatchResponse, err := UnmarshalConversationDispatchResponse(bytes) -// bytes, err = conversationDispatchResponse.Marshal() +// portalFetchParams, err := UnmarshalPortalFetchParams(bytes) +// bytes, err = portalFetchParams.Marshal() // -// conversationsExportParams, err := UnmarshalConversationsExportParams(bytes) -// bytes, err = conversationsExportParams.Marshal() +// portalFetchResponse, err := UnmarshalPortalFetchResponse(bytes) +// bytes, err = portalFetchResponse.Marshal() // -// conversationsExportResponse, err := UnmarshalConversationsExportResponse(bytes) -// bytes, err = conversationsExportResponse.Marshal() +// portalDeleteParams, err := UnmarshalPortalDeleteParams(bytes) +// bytes, err = portalDeleteParams.Marshal() // -// conversationsExportStreamItem, err := UnmarshalConversationsExportStreamItem(bytes) -// bytes, err = conversationsExportStreamItem.Marshal() +// portalDeleteRequest, err := UnmarshalPortalDeleteRequest(bytes) +// bytes, err = portalDeleteRequest.Marshal() // -// conversationListParams, err := UnmarshalConversationListParams(bytes) -// bytes, err = conversationListParams.Marshal() +// portalDeleteResponse, err := UnmarshalPortalDeleteResponse(bytes) +// bytes, err = portalDeleteResponse.Marshal() // -// conversationListResponse, err := UnmarshalConversationListResponse(bytes) -// bytes, err = conversationListResponse.Marshal() +// policyListParams, err := UnmarshalPolicyListParams(bytes) +// bytes, err = policyListParams.Marshal() // -// conversationListStreamItem, err := UnmarshalConversationListStreamItem(bytes) -// bytes, err = conversationListStreamItem.Marshal() +// policyListResponse, err := UnmarshalPolicyListResponse(bytes) +// bytes, err = policyListResponse.Marshal() // -// datasetDeleteParams, err := UnmarshalDatasetDeleteParams(bytes) -// bytes, err = datasetDeleteParams.Marshal() +// policyListStreamItem, err := UnmarshalPolicyListStreamItem(bytes) +// bytes, err = policyListStreamItem.Marshal() // -// datasetDeleteRequest, err := UnmarshalDatasetDeleteRequest(bytes) -// bytes, err = datasetDeleteRequest.Marshal() +// policyCreateRequest, err := UnmarshalPolicyCreateRequest(bytes) +// bytes, err = policyCreateRequest.Marshal() // -// datasetDeleteResponse, err := UnmarshalDatasetDeleteResponse(bytes) -// bytes, err = datasetDeleteResponse.Marshal() +// policyCreateResponse, err := UnmarshalPolicyCreateResponse(bytes) +// bytes, err = policyCreateResponse.Marshal() // -// datasetFetchParams, err := UnmarshalDatasetFetchParams(bytes) -// bytes, err = datasetFetchParams.Marshal() +// policyUpdateParams, err := UnmarshalPolicyUpdateParams(bytes) +// bytes, err = policyUpdateParams.Marshal() // -// datasetFetchResponse, err := UnmarshalDatasetFetchResponse(bytes) -// bytes, err = datasetFetchResponse.Marshal() +// policyUpdateRequest, err := UnmarshalPolicyUpdateRequest(bytes) +// bytes, err = policyUpdateRequest.Marshal() // -// datasetFileAttachParams, err := UnmarshalDatasetFileAttachParams(bytes) -// bytes, err = datasetFileAttachParams.Marshal() +// policyUpdateResponse, err := UnmarshalPolicyUpdateResponse(bytes) +// bytes, err = policyUpdateResponse.Marshal() // -// datasetFileAttachRequest, err := UnmarshalDatasetFileAttachRequest(bytes) -// bytes, err = datasetFileAttachRequest.Marshal() +// policyFetchParams, err := UnmarshalPolicyFetchParams(bytes) +// bytes, err = policyFetchParams.Marshal() // -// datasetFileAttachResponse, err := UnmarshalDatasetFileAttachResponse(bytes) -// bytes, err = datasetFileAttachResponse.Marshal() +// policyFetchResponse, err := UnmarshalPolicyFetchResponse(bytes) +// bytes, err = policyFetchResponse.Marshal() // -// datasetFileDetachParams, err := UnmarshalDatasetFileDetachParams(bytes) -// bytes, err = datasetFileDetachParams.Marshal() +// policyDeleteParams, err := UnmarshalPolicyDeleteParams(bytes) +// bytes, err = policyDeleteParams.Marshal() // -// datasetFileDetachRequest, err := UnmarshalDatasetFileDetachRequest(bytes) -// bytes, err = datasetFileDetachRequest.Marshal() +// policyDeleteRequest, err := UnmarshalPolicyDeleteRequest(bytes) +// bytes, err = policyDeleteRequest.Marshal() // -// datasetFileDetachResponse, err := UnmarshalDatasetFileDetachResponse(bytes) -// bytes, err = datasetFileDetachResponse.Marshal() +// policyDeleteResponse, err := UnmarshalPolicyDeleteResponse(bytes) +// bytes, err = policyDeleteResponse.Marshal() // -// datasetFileSyncParams, err := UnmarshalDatasetFileSyncParams(bytes) -// bytes, err = datasetFileSyncParams.Marshal() +// platformSecretsSearchRequest, err := UnmarshalPlatformSecretsSearchRequest(bytes) +// bytes, err = platformSecretsSearchRequest.Marshal() // -// datasetFileSyncRequest, err := UnmarshalDatasetFileSyncRequest(bytes) -// bytes, err = datasetFileSyncRequest.Marshal() +// platformSecretsSearchResponse, err := UnmarshalPlatformSecretsSearchResponse(bytes) +// bytes, err = platformSecretsSearchResponse.Marshal() // -// datasetFileSyncResponse, err := UnmarshalDatasetFileSyncResponse(bytes) -// bytes, err = datasetFileSyncResponse.Marshal() +// platformSecretListParams, err := UnmarshalPlatformSecretListParams(bytes) +// bytes, err = platformSecretListParams.Marshal() // -// datasetFileListParams, err := UnmarshalDatasetFileListParams(bytes) -// bytes, err = datasetFileListParams.Marshal() +// platformSecretListResponse, err := UnmarshalPlatformSecretListResponse(bytes) +// bytes, err = platformSecretListResponse.Marshal() // -// datasetFileListResponse, err := UnmarshalDatasetFileListResponse(bytes) -// bytes, err = datasetFileListResponse.Marshal() +// platformSecretListStreamItem, err := UnmarshalPlatformSecretListStreamItem(bytes) +// bytes, err = platformSecretListStreamItem.Marshal() // -// datasetFileListStreamItem, err := UnmarshalDatasetFileListStreamItem(bytes) -// bytes, err = datasetFileListStreamItem.Marshal() +// platformModelListParams, err := UnmarshalPlatformModelListParams(bytes) +// bytes, err = platformModelListParams.Marshal() // -// datasetRecordDeleteParams, err := UnmarshalDatasetRecordDeleteParams(bytes) -// bytes, err = datasetRecordDeleteParams.Marshal() +// platformModelListResponse, err := UnmarshalPlatformModelListResponse(bytes) +// bytes, err = platformModelListResponse.Marshal() // -// datasetRecordDeleteRequest, err := UnmarshalDatasetRecordDeleteRequest(bytes) -// bytes, err = datasetRecordDeleteRequest.Marshal() +// platformModelListStreamItem, err := UnmarshalPlatformModelListStreamItem(bytes) +// bytes, err = platformModelListStreamItem.Marshal() // -// datasetRecordDeleteResponse, err := UnmarshalDatasetRecordDeleteResponse(bytes) -// bytes, err = datasetRecordDeleteResponse.Marshal() +// platformExamplesSearchRequest, err := UnmarshalPlatformExamplesSearchRequest(bytes) +// bytes, err = platformExamplesSearchRequest.Marshal() // -// datasetRecordFetchParams, err := UnmarshalDatasetRecordFetchParams(bytes) -// bytes, err = datasetRecordFetchParams.Marshal() +// platformExamplesSearchResponse, err := UnmarshalPlatformExamplesSearchResponse(bytes) +// bytes, err = platformExamplesSearchResponse.Marshal() // -// datasetRecordFetchResponse, err := UnmarshalDatasetRecordFetchResponse(bytes) -// bytes, err = datasetRecordFetchResponse.Marshal() +// platformExampleListParams, err := UnmarshalPlatformExampleListParams(bytes) +// bytes, err = platformExampleListParams.Marshal() // -// datasetRecordUpdateParams, err := UnmarshalDatasetRecordUpdateParams(bytes) -// bytes, err = datasetRecordUpdateParams.Marshal() +// platformExampleListResponse, err := UnmarshalPlatformExampleListResponse(bytes) +// bytes, err = platformExampleListResponse.Marshal() // -// datasetRecordUpdateRequest, err := UnmarshalDatasetRecordUpdateRequest(bytes) -// bytes, err = datasetRecordUpdateRequest.Marshal() +// platformExampleListStreamItem, err := UnmarshalPlatformExampleListStreamItem(bytes) +// bytes, err = platformExampleListStreamItem.Marshal() // -// datasetRecordUpdateResponse, err := UnmarshalDatasetRecordUpdateResponse(bytes) -// bytes, err = datasetRecordUpdateResponse.Marshal() +// platformExampleFetchParams, err := UnmarshalPlatformExampleFetchParams(bytes) +// bytes, err = platformExampleFetchParams.Marshal() // -// datasetRecordCreateParams, err := UnmarshalDatasetRecordCreateParams(bytes) -// bytes, err = datasetRecordCreateParams.Marshal() +// platformExampleFetchResponse, err := UnmarshalPlatformExampleFetchResponse(bytes) +// bytes, err = platformExampleFetchResponse.Marshal() // -// datasetRecordCreateRequest, err := UnmarshalDatasetRecordCreateRequest(bytes) -// bytes, err = datasetRecordCreateRequest.Marshal() +// platformExampleCloneParams, err := UnmarshalPlatformExampleCloneParams(bytes) +// bytes, err = platformExampleCloneParams.Marshal() // -// datasetRecordCreateResponse, err := UnmarshalDatasetRecordCreateResponse(bytes) -// bytes, err = datasetRecordCreateResponse.Marshal() +// platformExampleCloneRequest, err := UnmarshalPlatformExampleCloneRequest(bytes) +// bytes, err = platformExampleCloneRequest.Marshal() // -// datasetRecordsExportParams, err := UnmarshalDatasetRecordsExportParams(bytes) -// bytes, err = datasetRecordsExportParams.Marshal() +// platformExampleCloneResponse, err := UnmarshalPlatformExampleCloneResponse(bytes) +// bytes, err = platformExampleCloneResponse.Marshal() // -// datasetRecordsExportResponse, err := UnmarshalDatasetRecordsExportResponse(bytes) -// bytes, err = datasetRecordsExportResponse.Marshal() +// platformActionListParams, err := UnmarshalPlatformActionListParams(bytes) +// bytes, err = platformActionListParams.Marshal() // -// datasetRecordsExportStreamItem, err := UnmarshalDatasetRecordsExportStreamItem(bytes) -// bytes, err = datasetRecordsExportStreamItem.Marshal() +// platformActionListResponse, err := UnmarshalPlatformActionListResponse(bytes) +// bytes, err = platformActionListResponse.Marshal() // -// datasetRecordListParams, err := UnmarshalDatasetRecordListParams(bytes) -// bytes, err = datasetRecordListParams.Marshal() +// platformActionListStreamItem, err := UnmarshalPlatformActionListStreamItem(bytes) +// bytes, err = platformActionListStreamItem.Marshal() // -// datasetRecordListResponse, err := UnmarshalDatasetRecordListResponse(bytes) -// bytes, err = datasetRecordListResponse.Marshal() +// platformAbilitiesSearchRequest, err := UnmarshalPlatformAbilitiesSearchRequest(bytes) +// bytes, err = platformAbilitiesSearchRequest.Marshal() // -// datasetRecordListStreamItem, err := UnmarshalDatasetRecordListStreamItem(bytes) -// bytes, err = datasetRecordListStreamItem.Marshal() +// platformAbilitiesSearchResponse, err := UnmarshalPlatformAbilitiesSearchResponse(bytes) +// bytes, err = platformAbilitiesSearchResponse.Marshal() // -// datasetSearchParams, err := UnmarshalDatasetSearchParams(bytes) -// bytes, err = datasetSearchParams.Marshal() +// platformAbilityListParams, err := UnmarshalPlatformAbilityListParams(bytes) +// bytes, err = platformAbilityListParams.Marshal() // -// datasetSearchRequest, err := UnmarshalDatasetSearchRequest(bytes) -// bytes, err = datasetSearchRequest.Marshal() +// platformAbilityListResponse, err := UnmarshalPlatformAbilityListResponse(bytes) +// bytes, err = platformAbilityListResponse.Marshal() // -// datasetSearchResponse, err := UnmarshalDatasetSearchResponse(bytes) -// bytes, err = datasetSearchResponse.Marshal() +// platformAbilityListStreamItem, err := UnmarshalPlatformAbilityListStreamItem(bytes) +// bytes, err = platformAbilityListStreamItem.Marshal() // -// datasetUpdateParams, err := UnmarshalDatasetUpdateParams(bytes) -// bytes, err = datasetUpdateParams.Marshal() +// memorySearchRequest, err := UnmarshalMemorySearchRequest(bytes) +// bytes, err = memorySearchRequest.Marshal() // -// datasetUpdateRequest, err := UnmarshalDatasetUpdateRequest(bytes) -// bytes, err = datasetUpdateRequest.Marshal() +// memorySearchResponse, err := UnmarshalMemorySearchResponse(bytes) +// bytes, err = memorySearchResponse.Marshal() // -// datasetUpdateResponse, err := UnmarshalDatasetUpdateResponse(bytes) -// bytes, err = datasetUpdateResponse.Marshal() +// memoryListParams, err := UnmarshalMemoryListParams(bytes) +// bytes, err = memoryListParams.Marshal() // -// datasetCreateRequest, err := UnmarshalDatasetCreateRequest(bytes) -// bytes, err = datasetCreateRequest.Marshal() +// memoryListResponse, err := UnmarshalMemoryListResponse(bytes) +// bytes, err = memoryListResponse.Marshal() // -// datasetCreateResponse, err := UnmarshalDatasetCreateResponse(bytes) -// bytes, err = datasetCreateResponse.Marshal() +// memoryListStreamItem, err := UnmarshalMemoryListStreamItem(bytes) +// bytes, err = memoryListStreamItem.Marshal() // -// datasetListParams, err := UnmarshalDatasetListParams(bytes) -// bytes, err = datasetListParams.Marshal() +// memoriesExportParams, err := UnmarshalMemoriesExportParams(bytes) +// bytes, err = memoriesExportParams.Marshal() // -// datasetListResponse, err := UnmarshalDatasetListResponse(bytes) -// bytes, err = datasetListResponse.Marshal() +// memoriesExportResponse, err := UnmarshalMemoriesExportResponse(bytes) +// bytes, err = memoriesExportResponse.Marshal() // -// datasetListStreamItem, err := UnmarshalDatasetListStreamItem(bytes) -// bytes, err = datasetListStreamItem.Marshal() +// memoriesExportStreamItem, err := UnmarshalMemoriesExportStreamItem(bytes) +// bytes, err = memoriesExportStreamItem.Marshal() // -// eventLogsExportParams, err := UnmarshalEventLogsExportParams(bytes) -// bytes, err = eventLogsExportParams.Marshal() +// memoryCreateRequest, err := UnmarshalMemoryCreateRequest(bytes) +// bytes, err = memoryCreateRequest.Marshal() // -// eventLogsExportResponse, err := UnmarshalEventLogsExportResponse(bytes) -// bytes, err = eventLogsExportResponse.Marshal() +// memoryCreateResponse, err := UnmarshalMemoryCreateResponse(bytes) +// bytes, err = memoryCreateResponse.Marshal() // -// eventLogsExportStreamItem, err := UnmarshalEventLogsExportStreamItem(bytes) -// bytes, err = eventLogsExportStreamItem.Marshal() +// memoryUpdateParams, err := UnmarshalMemoryUpdateParams(bytes) +// bytes, err = memoryUpdateParams.Marshal() // -// eventLogListParams, err := UnmarshalEventLogListParams(bytes) -// bytes, err = eventLogListParams.Marshal() +// memoryUpdateRequest, err := UnmarshalMemoryUpdateRequest(bytes) +// bytes, err = memoryUpdateRequest.Marshal() // -// eventLogListResponse, err := UnmarshalEventLogListResponse(bytes) -// bytes, err = eventLogListResponse.Marshal() +// memoryUpdateResponse, err := UnmarshalMemoryUpdateResponse(bytes) +// bytes, err = memoryUpdateResponse.Marshal() // -// eventLogListStreamItem, err := UnmarshalEventLogListStreamItem(bytes) -// bytes, err = eventLogListStreamItem.Marshal() +// memoryFetchParams, err := UnmarshalMemoryFetchParams(bytes) +// bytes, err = memoryFetchParams.Marshal() // -// eventLogsSubscribeRequest, err := UnmarshalEventLogsSubscribeRequest(bytes) -// bytes, err = eventLogsSubscribeRequest.Marshal() +// memoryFetchResponse, err := UnmarshalMemoryFetchResponse(bytes) +// bytes, err = memoryFetchResponse.Marshal() // -// eventLogsSubscribeStreamItem, err := UnmarshalEventLogsSubscribeStreamItem(bytes) -// bytes, err = eventLogsSubscribeStreamItem.Marshal() +// memoryDeleteParams, err := UnmarshalMemoryDeleteParams(bytes) +// bytes, err = memoryDeleteParams.Marshal() // -// fileDeleteParams, err := UnmarshalFileDeleteParams(bytes) -// bytes, err = fileDeleteParams.Marshal() +// memoryDeleteRequest, err := UnmarshalMemoryDeleteRequest(bytes) +// bytes, err = memoryDeleteRequest.Marshal() // -// fileDeleteRequest, err := UnmarshalFileDeleteRequest(bytes) -// bytes, err = fileDeleteRequest.Marshal() +// memoryDeleteResponse, err := UnmarshalMemoryDeleteResponse(bytes) +// bytes, err = memoryDeleteResponse.Marshal() // -// fileDeleteResponse, err := UnmarshalFileDeleteResponse(bytes) -// bytes, err = fileDeleteResponse.Marshal() +// magicPromptListParams, err := UnmarshalMagicPromptListParams(bytes) +// bytes, err = magicPromptListParams.Marshal() // -// fileDownloadParams, err := UnmarshalFileDownloadParams(bytes) -// bytes, err = fileDownloadParams.Marshal() +// magicPromptListResponse, err := UnmarshalMagicPromptListResponse(bytes) +// bytes, err = magicPromptListResponse.Marshal() // -// fileDownloadResponse, err := UnmarshalFileDownloadResponse(bytes) -// bytes, err = fileDownloadResponse.Marshal() +// magicPromptListStreamItem, err := UnmarshalMagicPromptListStreamItem(bytes) +// bytes, err = magicPromptListStreamItem.Marshal() // -// fileFetchParams, err := UnmarshalFileFetchParams(bytes) -// bytes, err = fileFetchParams.Marshal() +// magicFromPromptGenerateParams, err := UnmarshalMagicFromPromptGenerateParams(bytes) +// bytes, err = magicFromPromptGenerateParams.Marshal() // -// fileFetchResponse, err := UnmarshalFileFetchResponse(bytes) -// bytes, err = fileFetchResponse.Marshal() +// magicFromPromptGenerateRequest, err := UnmarshalMagicFromPromptGenerateRequest(bytes) +// bytes, err = magicFromPromptGenerateRequest.Marshal() // -// fileSyncParams, err := UnmarshalFileSyncParams(bytes) -// bytes, err = fileSyncParams.Marshal() +// magicFromPromptGenerateResponse, err := UnmarshalMagicFromPromptGenerateResponse(bytes) +// bytes, err = magicFromPromptGenerateResponse.Marshal() // -// fileSyncRequest, err := UnmarshalFileSyncRequest(bytes) -// bytes, err = fileSyncRequest.Marshal() +// magicFromPromptGenerateStreamItem, err := UnmarshalMagicFromPromptGenerateStreamItem(bytes) +// bytes, err = magicFromPromptGenerateStreamItem.Marshal() // -// fileSyncResponse, err := UnmarshalFileSyncResponse(bytes) -// bytes, err = fileSyncResponse.Marshal() +// integrationWidgetListParams, err := UnmarshalIntegrationWidgetListParams(bytes) +// bytes, err = integrationWidgetListParams.Marshal() // -// fileUpdateParams, err := UnmarshalFileUpdateParams(bytes) -// bytes, err = fileUpdateParams.Marshal() +// integrationWidgetListResponse, err := UnmarshalIntegrationWidgetListResponse(bytes) +// bytes, err = integrationWidgetListResponse.Marshal() // -// fileUpdateRequest, err := UnmarshalFileUpdateRequest(bytes) -// bytes, err = fileUpdateRequest.Marshal() +// integrationWidgetListStreamItem, err := UnmarshalIntegrationWidgetListStreamItem(bytes) +// bytes, err = integrationWidgetListStreamItem.Marshal() // -// fileUpdateResponse, err := UnmarshalFileUpdateResponse(bytes) -// bytes, err = fileUpdateResponse.Marshal() +// integrationWidgetCreateRequest, err := UnmarshalIntegrationWidgetCreateRequest(bytes) +// bytes, err = integrationWidgetCreateRequest.Marshal() // -// fileUploadParams, err := UnmarshalFileUploadParams(bytes) -// bytes, err = fileUploadParams.Marshal() +// integrationWidgetCreateResponse, err := UnmarshalIntegrationWidgetCreateResponse(bytes) +// bytes, err = integrationWidgetCreateResponse.Marshal() // -// fileUploadRequest, err := UnmarshalFileUploadRequest(bytes) -// bytes, err = fileUploadRequest.Marshal() +// integrationWidgetUpdateParams, err := UnmarshalIntegrationWidgetUpdateParams(bytes) +// bytes, err = integrationWidgetUpdateParams.Marshal() // -// fileUploadResponse, err := UnmarshalFileUploadResponse(bytes) -// bytes, err = fileUploadResponse.Marshal() +// integrationWidgetUpdateRequest, err := UnmarshalIntegrationWidgetUpdateRequest(bytes) +// bytes, err = integrationWidgetUpdateRequest.Marshal() // -// fileCreateRequest, err := UnmarshalFileCreateRequest(bytes) -// bytes, err = fileCreateRequest.Marshal() +// integrationWidgetUpdateResponse, err := UnmarshalIntegrationWidgetUpdateResponse(bytes) +// bytes, err = integrationWidgetUpdateResponse.Marshal() // -// fileCreateResponse, err := UnmarshalFileCreateResponse(bytes) -// bytes, err = fileCreateResponse.Marshal() +// integrationWidgetSetupParams, err := UnmarshalIntegrationWidgetSetupParams(bytes) +// bytes, err = integrationWidgetSetupParams.Marshal() // -// fileListParams, err := UnmarshalFileListParams(bytes) -// bytes, err = fileListParams.Marshal() +// integrationWidgetSetupRequest, err := UnmarshalIntegrationWidgetSetupRequest(bytes) +// bytes, err = integrationWidgetSetupRequest.Marshal() // -// fileListResponse, err := UnmarshalFileListResponse(bytes) -// bytes, err = fileListResponse.Marshal() +// integrationWidgetSetupResponse, err := UnmarshalIntegrationWidgetSetupResponse(bytes) +// bytes, err = integrationWidgetSetupResponse.Marshal() // -// fileListStreamItem, err := UnmarshalFileListStreamItem(bytes) -// bytes, err = fileListStreamItem.Marshal() +// integrationWidgetFetchParams, err := UnmarshalIntegrationWidgetFetchParams(bytes) +// bytes, err = integrationWidgetFetchParams.Marshal() // -// integrationDiscordDeleteParams, err := UnmarshalIntegrationDiscordDeleteParams(bytes) -// bytes, err = integrationDiscordDeleteParams.Marshal() +// integrationWidgetFetchResponse, err := UnmarshalIntegrationWidgetFetchResponse(bytes) +// bytes, err = integrationWidgetFetchResponse.Marshal() // -// integrationDiscordDeleteRequest, err := UnmarshalIntegrationDiscordDeleteRequest(bytes) -// bytes, err = integrationDiscordDeleteRequest.Marshal() +// integrationWidgetDeleteParams, err := UnmarshalIntegrationWidgetDeleteParams(bytes) +// bytes, err = integrationWidgetDeleteParams.Marshal() // -// integrationDiscordDeleteResponse, err := UnmarshalIntegrationDiscordDeleteResponse(bytes) -// bytes, err = integrationDiscordDeleteResponse.Marshal() +// integrationWidgetDeleteRequest, err := UnmarshalIntegrationWidgetDeleteRequest(bytes) +// bytes, err = integrationWidgetDeleteRequest.Marshal() // -// integrationDiscordFetchParams, err := UnmarshalIntegrationDiscordFetchParams(bytes) -// bytes, err = integrationDiscordFetchParams.Marshal() +// integrationWidgetDeleteResponse, err := UnmarshalIntegrationWidgetDeleteResponse(bytes) +// bytes, err = integrationWidgetDeleteResponse.Marshal() // -// integrationDiscordFetchResponse, err := UnmarshalIntegrationDiscordFetchResponse(bytes) -// bytes, err = integrationDiscordFetchResponse.Marshal() +// integrationWidgetCloneParams, err := UnmarshalIntegrationWidgetCloneParams(bytes) +// bytes, err = integrationWidgetCloneParams.Marshal() // -// integrationDiscordSetupParams, err := UnmarshalIntegrationDiscordSetupParams(bytes) -// bytes, err = integrationDiscordSetupParams.Marshal() +// integrationWidgetCloneRequest, err := UnmarshalIntegrationWidgetCloneRequest(bytes) +// bytes, err = integrationWidgetCloneRequest.Marshal() // -// integrationDiscordSetupRequest, err := UnmarshalIntegrationDiscordSetupRequest(bytes) -// bytes, err = integrationDiscordSetupRequest.Marshal() +// integrationWidgetCloneResponse, err := UnmarshalIntegrationWidgetCloneResponse(bytes) +// bytes, err = integrationWidgetCloneResponse.Marshal() // -// integrationDiscordSetupResponse, err := UnmarshalIntegrationDiscordSetupResponse(bytes) -// bytes, err = integrationDiscordSetupResponse.Marshal() +// widgetIntegrationFileDetachParams, err := UnmarshalWidgetIntegrationFileDetachParams(bytes) +// bytes, err = widgetIntegrationFileDetachParams.Marshal() // -// integrationDiscordUpdateParams, err := UnmarshalIntegrationDiscordUpdateParams(bytes) -// bytes, err = integrationDiscordUpdateParams.Marshal() +// widgetIntegrationFileDetachResponse, err := UnmarshalWidgetIntegrationFileDetachResponse(bytes) +// bytes, err = widgetIntegrationFileDetachResponse.Marshal() // -// integrationDiscordUpdateRequest, err := UnmarshalIntegrationDiscordUpdateRequest(bytes) -// bytes, err = integrationDiscordUpdateRequest.Marshal() +// widgetIntegrationFileAttachParams, err := UnmarshalWidgetIntegrationFileAttachParams(bytes) +// bytes, err = widgetIntegrationFileAttachParams.Marshal() // -// integrationDiscordUpdateResponse, err := UnmarshalIntegrationDiscordUpdateResponse(bytes) -// bytes, err = integrationDiscordUpdateResponse.Marshal() +// widgetIntegrationFileAttachRequest, err := UnmarshalWidgetIntegrationFileAttachRequest(bytes) +// bytes, err = widgetIntegrationFileAttachRequest.Marshal() // -// integrationDiscordCreateRequest, err := UnmarshalIntegrationDiscordCreateRequest(bytes) -// bytes, err = integrationDiscordCreateRequest.Marshal() +// widgetIntegrationFileAttachResponse, err := UnmarshalWidgetIntegrationFileAttachResponse(bytes) +// bytes, err = widgetIntegrationFileAttachResponse.Marshal() // -// integrationDiscordCreateResponse, err := UnmarshalIntegrationDiscordCreateResponse(bytes) -// bytes, err = integrationDiscordCreateResponse.Marshal() +// integrationWhatsAppListParams, err := UnmarshalIntegrationWhatsAppListParams(bytes) +// bytes, err = integrationWhatsAppListParams.Marshal() // -// integrationDiscordListParams, err := UnmarshalIntegrationDiscordListParams(bytes) -// bytes, err = integrationDiscordListParams.Marshal() +// integrationWhatsAppListResponse, err := UnmarshalIntegrationWhatsAppListResponse(bytes) +// bytes, err = integrationWhatsAppListResponse.Marshal() // -// integrationDiscordListResponse, err := UnmarshalIntegrationDiscordListResponse(bytes) -// bytes, err = integrationDiscordListResponse.Marshal() +// integrationWhatsAppListStreamItem, err := UnmarshalIntegrationWhatsAppListStreamItem(bytes) +// bytes, err = integrationWhatsAppListStreamItem.Marshal() // -// integrationDiscordListStreamItem, err := UnmarshalIntegrationDiscordListStreamItem(bytes) -// bytes, err = integrationDiscordListStreamItem.Marshal() +// integrationWhatsAppCreateRequest, err := UnmarshalIntegrationWhatsAppCreateRequest(bytes) +// bytes, err = integrationWhatsAppCreateRequest.Marshal() // -// emailIntegrationDeleteParams, err := UnmarshalEmailIntegrationDeleteParams(bytes) -// bytes, err = emailIntegrationDeleteParams.Marshal() +// integrationWhatsAppCreateResponse, err := UnmarshalIntegrationWhatsAppCreateResponse(bytes) +// bytes, err = integrationWhatsAppCreateResponse.Marshal() // -// emailIntegrationDeleteRequest, err := UnmarshalEmailIntegrationDeleteRequest(bytes) -// bytes, err = emailIntegrationDeleteRequest.Marshal() +// integrationWhatsAppUpdateParams, err := UnmarshalIntegrationWhatsAppUpdateParams(bytes) +// bytes, err = integrationWhatsAppUpdateParams.Marshal() // -// emailIntegrationDeleteResponse, err := UnmarshalEmailIntegrationDeleteResponse(bytes) -// bytes, err = emailIntegrationDeleteResponse.Marshal() +// integrationWhatsAppUpdateRequest, err := UnmarshalIntegrationWhatsAppUpdateRequest(bytes) +// bytes, err = integrationWhatsAppUpdateRequest.Marshal() // -// emailIntegrationFetchParams, err := UnmarshalEmailIntegrationFetchParams(bytes) -// bytes, err = emailIntegrationFetchParams.Marshal() +// integrationWhatsAppUpdateResponse, err := UnmarshalIntegrationWhatsAppUpdateResponse(bytes) +// bytes, err = integrationWhatsAppUpdateResponse.Marshal() // -// emailIntegrationFetchResponse, err := UnmarshalEmailIntegrationFetchResponse(bytes) -// bytes, err = emailIntegrationFetchResponse.Marshal() +// integrationWhatsAppSetupParams, err := UnmarshalIntegrationWhatsAppSetupParams(bytes) +// bytes, err = integrationWhatsAppSetupParams.Marshal() // -// emailIntegrationSetupParams, err := UnmarshalEmailIntegrationSetupParams(bytes) -// bytes, err = emailIntegrationSetupParams.Marshal() +// integrationWhatsAppSetupRequest, err := UnmarshalIntegrationWhatsAppSetupRequest(bytes) +// bytes, err = integrationWhatsAppSetupRequest.Marshal() // -// emailIntegrationSetupRequest, err := UnmarshalEmailIntegrationSetupRequest(bytes) -// bytes, err = emailIntegrationSetupRequest.Marshal() +// integrationWhatsAppSetupResponse, err := UnmarshalIntegrationWhatsAppSetupResponse(bytes) +// bytes, err = integrationWhatsAppSetupResponse.Marshal() // -// emailIntegrationSetupResponse, err := UnmarshalEmailIntegrationSetupResponse(bytes) -// bytes, err = emailIntegrationSetupResponse.Marshal() +// integrationWhatsAppFetchParams, err := UnmarshalIntegrationWhatsAppFetchParams(bytes) +// bytes, err = integrationWhatsAppFetchParams.Marshal() // -// emailIntegrationUpdateParams, err := UnmarshalEmailIntegrationUpdateParams(bytes) -// bytes, err = emailIntegrationUpdateParams.Marshal() +// integrationWhatsAppFetchResponse, err := UnmarshalIntegrationWhatsAppFetchResponse(bytes) +// bytes, err = integrationWhatsAppFetchResponse.Marshal() // -// emailIntegrationUpdateRequest, err := UnmarshalEmailIntegrationUpdateRequest(bytes) -// bytes, err = emailIntegrationUpdateRequest.Marshal() +// integrationWhatsAppDeleteParams, err := UnmarshalIntegrationWhatsAppDeleteParams(bytes) +// bytes, err = integrationWhatsAppDeleteParams.Marshal() // -// emailIntegrationUpdateResponse, err := UnmarshalEmailIntegrationUpdateResponse(bytes) -// bytes, err = emailIntegrationUpdateResponse.Marshal() +// integrationWhatsAppDeleteRequest, err := UnmarshalIntegrationWhatsAppDeleteRequest(bytes) +// bytes, err = integrationWhatsAppDeleteRequest.Marshal() // -// emailIntegrationCreateRequest, err := UnmarshalEmailIntegrationCreateRequest(bytes) -// bytes, err = emailIntegrationCreateRequest.Marshal() +// integrationWhatsAppDeleteResponse, err := UnmarshalIntegrationWhatsAppDeleteResponse(bytes) +// bytes, err = integrationWhatsAppDeleteResponse.Marshal() // -// emailIntegrationCreateResponse, err := UnmarshalEmailIntegrationCreateResponse(bytes) -// bytes, err = emailIntegrationCreateResponse.Marshal() +// integrationTwilioListParams, err := UnmarshalIntegrationTwilioListParams(bytes) +// bytes, err = integrationTwilioListParams.Marshal() // -// emailIntegrationListParams, err := UnmarshalEmailIntegrationListParams(bytes) -// bytes, err = emailIntegrationListParams.Marshal() +// integrationTwilioListResponse, err := UnmarshalIntegrationTwilioListResponse(bytes) +// bytes, err = integrationTwilioListResponse.Marshal() // -// emailIntegrationListResponse, err := UnmarshalEmailIntegrationListResponse(bytes) -// bytes, err = emailIntegrationListResponse.Marshal() +// integrationTwilioListStreamItem, err := UnmarshalIntegrationTwilioListStreamItem(bytes) +// bytes, err = integrationTwilioListStreamItem.Marshal() // -// emailIntegrationListStreamItem, err := UnmarshalEmailIntegrationListStreamItem(bytes) -// bytes, err = emailIntegrationListStreamItem.Marshal() +// integrationTwilioCreateRequest, err := UnmarshalIntegrationTwilioCreateRequest(bytes) +// bytes, err = integrationTwilioCreateRequest.Marshal() // -// integrationExtractDeleteParams, err := UnmarshalIntegrationExtractDeleteParams(bytes) -// bytes, err = integrationExtractDeleteParams.Marshal() +// integrationTwilioCreateResponse, err := UnmarshalIntegrationTwilioCreateResponse(bytes) +// bytes, err = integrationTwilioCreateResponse.Marshal() // -// integrationExtractDeleteRequest, err := UnmarshalIntegrationExtractDeleteRequest(bytes) -// bytes, err = integrationExtractDeleteRequest.Marshal() +// integrationTwilioUpdateParams, err := UnmarshalIntegrationTwilioUpdateParams(bytes) +// bytes, err = integrationTwilioUpdateParams.Marshal() // -// integrationExtractDeleteResponse, err := UnmarshalIntegrationExtractDeleteResponse(bytes) -// bytes, err = integrationExtractDeleteResponse.Marshal() +// integrationTwilioUpdateRequest, err := UnmarshalIntegrationTwilioUpdateRequest(bytes) +// bytes, err = integrationTwilioUpdateRequest.Marshal() // -// integrationExtractFetchParams, err := UnmarshalIntegrationExtractFetchParams(bytes) -// bytes, err = integrationExtractFetchParams.Marshal() +// integrationTwilioUpdateResponse, err := UnmarshalIntegrationTwilioUpdateResponse(bytes) +// bytes, err = integrationTwilioUpdateResponse.Marshal() // -// integrationExtractFetchResponse, err := UnmarshalIntegrationExtractFetchResponse(bytes) -// bytes, err = integrationExtractFetchResponse.Marshal() +// integrationTwilioSetupParams, err := UnmarshalIntegrationTwilioSetupParams(bytes) +// bytes, err = integrationTwilioSetupParams.Marshal() // -// extractIntegrationItemsExportParams, err := UnmarshalExtractIntegrationItemsExportParams(bytes) -// bytes, err = extractIntegrationItemsExportParams.Marshal() +// integrationTwilioSetupRequest, err := UnmarshalIntegrationTwilioSetupRequest(bytes) +// bytes, err = integrationTwilioSetupRequest.Marshal() // -// extractIntegrationItemsExportResponse, err := UnmarshalExtractIntegrationItemsExportResponse(bytes) -// bytes, err = extractIntegrationItemsExportResponse.Marshal() +// integrationTwilioSetupResponse, err := UnmarshalIntegrationTwilioSetupResponse(bytes) +// bytes, err = integrationTwilioSetupResponse.Marshal() // -// extractIntegrationItemListParams, err := UnmarshalExtractIntegrationItemListParams(bytes) -// bytes, err = extractIntegrationItemListParams.Marshal() +// integrationTwilioFetchParams, err := UnmarshalIntegrationTwilioFetchParams(bytes) +// bytes, err = integrationTwilioFetchParams.Marshal() // -// extractIntegrationItemListResponse, err := UnmarshalExtractIntegrationItemListResponse(bytes) -// bytes, err = extractIntegrationItemListResponse.Marshal() +// integrationTwilioFetchResponse, err := UnmarshalIntegrationTwilioFetchResponse(bytes) +// bytes, err = integrationTwilioFetchResponse.Marshal() // -// integrationExtractTriggerParams, err := UnmarshalIntegrationExtractTriggerParams(bytes) -// bytes, err = integrationExtractTriggerParams.Marshal() +// integrationTwilioDeleteParams, err := UnmarshalIntegrationTwilioDeleteParams(bytes) +// bytes, err = integrationTwilioDeleteParams.Marshal() // -// integrationExtractTriggerRequest, err := UnmarshalIntegrationExtractTriggerRequest(bytes) -// bytes, err = integrationExtractTriggerRequest.Marshal() +// integrationTwilioDeleteRequest, err := UnmarshalIntegrationTwilioDeleteRequest(bytes) +// bytes, err = integrationTwilioDeleteRequest.Marshal() // -// integrationExtractTriggerResponse, err := UnmarshalIntegrationExtractTriggerResponse(bytes) -// bytes, err = integrationExtractTriggerResponse.Marshal() +// integrationTwilioDeleteResponse, err := UnmarshalIntegrationTwilioDeleteResponse(bytes) +// bytes, err = integrationTwilioDeleteResponse.Marshal() // -// integrationExtractUpdateParams, err := UnmarshalIntegrationExtractUpdateParams(bytes) -// bytes, err = integrationExtractUpdateParams.Marshal() +// triggerIntegrationListParams, err := UnmarshalTriggerIntegrationListParams(bytes) +// bytes, err = triggerIntegrationListParams.Marshal() // -// integrationExtractUpdateRequest, err := UnmarshalIntegrationExtractUpdateRequest(bytes) -// bytes, err = integrationExtractUpdateRequest.Marshal() +// triggerIntegrationListResponse, err := UnmarshalTriggerIntegrationListResponse(bytes) +// bytes, err = triggerIntegrationListResponse.Marshal() // -// integrationExtractUpdateResponse, err := UnmarshalIntegrationExtractUpdateResponse(bytes) -// bytes, err = integrationExtractUpdateResponse.Marshal() +// triggerIntegrationListStreamItem, err := UnmarshalTriggerIntegrationListStreamItem(bytes) +// bytes, err = triggerIntegrationListStreamItem.Marshal() // -// integrationExtractCreateRequest, err := UnmarshalIntegrationExtractCreateRequest(bytes) -// bytes, err = integrationExtractCreateRequest.Marshal() +// triggerIntegrationCreateRequest, err := UnmarshalTriggerIntegrationCreateRequest(bytes) +// bytes, err = triggerIntegrationCreateRequest.Marshal() // -// integrationExtractCreateResponse, err := UnmarshalIntegrationExtractCreateResponse(bytes) -// bytes, err = integrationExtractCreateResponse.Marshal() +// triggerIntegrationCreateResponse, err := UnmarshalTriggerIntegrationCreateResponse(bytes) +// bytes, err = triggerIntegrationCreateResponse.Marshal() // -// integrationExtractListParams, err := UnmarshalIntegrationExtractListParams(bytes) -// bytes, err = integrationExtractListParams.Marshal() +// triggerIntegrationUpdateParams, err := UnmarshalTriggerIntegrationUpdateParams(bytes) +// bytes, err = triggerIntegrationUpdateParams.Marshal() // -// integrationExtractListResponse, err := UnmarshalIntegrationExtractListResponse(bytes) -// bytes, err = integrationExtractListResponse.Marshal() +// triggerIntegrationUpdateRequest, err := UnmarshalTriggerIntegrationUpdateRequest(bytes) +// bytes, err = triggerIntegrationUpdateRequest.Marshal() // -// integrationExtractListStreamItem, err := UnmarshalIntegrationExtractListStreamItem(bytes) -// bytes, err = integrationExtractListStreamItem.Marshal() +// triggerIntegrationUpdateResponse, err := UnmarshalTriggerIntegrationUpdateResponse(bytes) +// bytes, err = triggerIntegrationUpdateResponse.Marshal() // -// githubIntegrationDeleteParams, err := UnmarshalGithubIntegrationDeleteParams(bytes) -// bytes, err = githubIntegrationDeleteParams.Marshal() +// triggerIntegrationSetupParams, err := UnmarshalTriggerIntegrationSetupParams(bytes) +// bytes, err = triggerIntegrationSetupParams.Marshal() // -// githubIntegrationDeleteRequest, err := UnmarshalGithubIntegrationDeleteRequest(bytes) -// bytes, err = githubIntegrationDeleteRequest.Marshal() +// triggerIntegrationSetupRequest, err := UnmarshalTriggerIntegrationSetupRequest(bytes) +// bytes, err = triggerIntegrationSetupRequest.Marshal() // -// githubIntegrationDeleteResponse, err := UnmarshalGithubIntegrationDeleteResponse(bytes) -// bytes, err = githubIntegrationDeleteResponse.Marshal() +// triggerIntegrationSetupResponse, err := UnmarshalTriggerIntegrationSetupResponse(bytes) +// bytes, err = triggerIntegrationSetupResponse.Marshal() // -// githubIntegrationFetchParams, err := UnmarshalGithubIntegrationFetchParams(bytes) -// bytes, err = githubIntegrationFetchParams.Marshal() +// triggerIntegrationInvokeParams, err := UnmarshalTriggerIntegrationInvokeParams(bytes) +// bytes, err = triggerIntegrationInvokeParams.Marshal() // -// githubIntegrationFetchResponse, err := UnmarshalGithubIntegrationFetchResponse(bytes) -// bytes, err = githubIntegrationFetchResponse.Marshal() +// triggerIntegrationInvokeRequest, err := UnmarshalTriggerIntegrationInvokeRequest(bytes) +// bytes, err = triggerIntegrationInvokeRequest.Marshal() // -// githubIntegrationSetupParams, err := UnmarshalGithubIntegrationSetupParams(bytes) -// bytes, err = githubIntegrationSetupParams.Marshal() +// triggerIntegrationInvokeResponse, err := UnmarshalTriggerIntegrationInvokeResponse(bytes) +// bytes, err = triggerIntegrationInvokeResponse.Marshal() // -// githubIntegrationUpdateParams, err := UnmarshalGithubIntegrationUpdateParams(bytes) -// bytes, err = githubIntegrationUpdateParams.Marshal() +// triggerIntegrationFetchParams, err := UnmarshalTriggerIntegrationFetchParams(bytes) +// bytes, err = triggerIntegrationFetchParams.Marshal() // -// githubIntegrationUpdateRequest, err := UnmarshalGithubIntegrationUpdateRequest(bytes) -// bytes, err = githubIntegrationUpdateRequest.Marshal() +// triggerIntegrationFetchResponse, err := UnmarshalTriggerIntegrationFetchResponse(bytes) +// bytes, err = triggerIntegrationFetchResponse.Marshal() // -// githubIntegrationUpdateResponse, err := UnmarshalGithubIntegrationUpdateResponse(bytes) -// bytes, err = githubIntegrationUpdateResponse.Marshal() +// triggerIntegrationDeleteParams, err := UnmarshalTriggerIntegrationDeleteParams(bytes) +// bytes, err = triggerIntegrationDeleteParams.Marshal() // -// githubIntegrationCreateRequest, err := UnmarshalGithubIntegrationCreateRequest(bytes) -// bytes, err = githubIntegrationCreateRequest.Marshal() +// triggerIntegrationDeleteRequest, err := UnmarshalTriggerIntegrationDeleteRequest(bytes) +// bytes, err = triggerIntegrationDeleteRequest.Marshal() // -// githubIntegrationCreateResponse, err := UnmarshalGithubIntegrationCreateResponse(bytes) -// bytes, err = githubIntegrationCreateResponse.Marshal() +// triggerIntegrationDeleteResponse, err := UnmarshalTriggerIntegrationDeleteResponse(bytes) +// bytes, err = triggerIntegrationDeleteResponse.Marshal() // -// githubIntegrationListParams, err := UnmarshalGithubIntegrationListParams(bytes) -// bytes, err = githubIntegrationListParams.Marshal() +// integrationTelegramListParams, err := UnmarshalIntegrationTelegramListParams(bytes) +// bytes, err = integrationTelegramListParams.Marshal() // -// githubIntegrationListResponse, err := UnmarshalGithubIntegrationListResponse(bytes) -// bytes, err = githubIntegrationListResponse.Marshal() +// integrationTelegramListResponse, err := UnmarshalIntegrationTelegramListResponse(bytes) +// bytes, err = integrationTelegramListResponse.Marshal() // -// googlechatIntegrationDeleteParams, err := UnmarshalGooglechatIntegrationDeleteParams(bytes) -// bytes, err = googlechatIntegrationDeleteParams.Marshal() +// integrationTelegramListStreamItem, err := UnmarshalIntegrationTelegramListStreamItem(bytes) +// bytes, err = integrationTelegramListStreamItem.Marshal() // -// googlechatIntegrationDeleteRequest, err := UnmarshalGooglechatIntegrationDeleteRequest(bytes) -// bytes, err = googlechatIntegrationDeleteRequest.Marshal() +// integrationTelegramCreateRequest, err := UnmarshalIntegrationTelegramCreateRequest(bytes) +// bytes, err = integrationTelegramCreateRequest.Marshal() // -// googlechatIntegrationDeleteResponse, err := UnmarshalGooglechatIntegrationDeleteResponse(bytes) -// bytes, err = googlechatIntegrationDeleteResponse.Marshal() +// integrationTelegramCreateResponse, err := UnmarshalIntegrationTelegramCreateResponse(bytes) +// bytes, err = integrationTelegramCreateResponse.Marshal() // -// googlechatIntegrationFetchParams, err := UnmarshalGooglechatIntegrationFetchParams(bytes) -// bytes, err = googlechatIntegrationFetchParams.Marshal() +// integrationTelegramUpdateParams, err := UnmarshalIntegrationTelegramUpdateParams(bytes) +// bytes, err = integrationTelegramUpdateParams.Marshal() // -// googlechatIntegrationFetchResponse, err := UnmarshalGooglechatIntegrationFetchResponse(bytes) -// bytes, err = googlechatIntegrationFetchResponse.Marshal() +// integrationTelegramUpdateRequest, err := UnmarshalIntegrationTelegramUpdateRequest(bytes) +// bytes, err = integrationTelegramUpdateRequest.Marshal() // -// googlechatIntegrationSetupParams, err := UnmarshalGooglechatIntegrationSetupParams(bytes) -// bytes, err = googlechatIntegrationSetupParams.Marshal() +// integrationTelegramUpdateResponse, err := UnmarshalIntegrationTelegramUpdateResponse(bytes) +// bytes, err = integrationTelegramUpdateResponse.Marshal() // -// googlechatIntegrationSetupRequest, err := UnmarshalGooglechatIntegrationSetupRequest(bytes) -// bytes, err = googlechatIntegrationSetupRequest.Marshal() +// integrationTelegramSetupParams, err := UnmarshalIntegrationTelegramSetupParams(bytes) +// bytes, err = integrationTelegramSetupParams.Marshal() // -// googlechatIntegrationSetupResponse, err := UnmarshalGooglechatIntegrationSetupResponse(bytes) -// bytes, err = googlechatIntegrationSetupResponse.Marshal() +// integrationTelegramSetupRequest, err := UnmarshalIntegrationTelegramSetupRequest(bytes) +// bytes, err = integrationTelegramSetupRequest.Marshal() // -// googlechatIntegrationUpdateParams, err := UnmarshalGooglechatIntegrationUpdateParams(bytes) -// bytes, err = googlechatIntegrationUpdateParams.Marshal() +// integrationTelegramSetupResponse, err := UnmarshalIntegrationTelegramSetupResponse(bytes) +// bytes, err = integrationTelegramSetupResponse.Marshal() // -// googlechatIntegrationUpdateRequest, err := UnmarshalGooglechatIntegrationUpdateRequest(bytes) -// bytes, err = googlechatIntegrationUpdateRequest.Marshal() +// integrationTelegramFetchParams, err := UnmarshalIntegrationTelegramFetchParams(bytes) +// bytes, err = integrationTelegramFetchParams.Marshal() // -// googlechatIntegrationUpdateResponse, err := UnmarshalGooglechatIntegrationUpdateResponse(bytes) -// bytes, err = googlechatIntegrationUpdateResponse.Marshal() +// integrationTelegramFetchResponse, err := UnmarshalIntegrationTelegramFetchResponse(bytes) +// bytes, err = integrationTelegramFetchResponse.Marshal() // -// googlechatIntegrationCreateRequest, err := UnmarshalGooglechatIntegrationCreateRequest(bytes) -// bytes, err = googlechatIntegrationCreateRequest.Marshal() +// integrationTelegramDeleteParams, err := UnmarshalIntegrationTelegramDeleteParams(bytes) +// bytes, err = integrationTelegramDeleteParams.Marshal() // -// googlechatIntegrationCreateResponse, err := UnmarshalGooglechatIntegrationCreateResponse(bytes) -// bytes, err = googlechatIntegrationCreateResponse.Marshal() +// integrationTelegramDeleteRequest, err := UnmarshalIntegrationTelegramDeleteRequest(bytes) +// bytes, err = integrationTelegramDeleteRequest.Marshal() // -// googlechatIntegrationListParams, err := UnmarshalGooglechatIntegrationListParams(bytes) -// bytes, err = googlechatIntegrationListParams.Marshal() +// integrationTelegramDeleteResponse, err := UnmarshalIntegrationTelegramDeleteResponse(bytes) +// bytes, err = integrationTelegramDeleteResponse.Marshal() // -// googlechatIntegrationListResponse, err := UnmarshalGooglechatIntegrationListResponse(bytes) -// bytes, err = googlechatIntegrationListResponse.Marshal() +// integrationSupportListParams, err := UnmarshalIntegrationSupportListParams(bytes) +// bytes, err = integrationSupportListParams.Marshal() // -// googlechatIntegrationListStreamItem, err := UnmarshalGooglechatIntegrationListStreamItem(bytes) -// bytes, err = googlechatIntegrationListStreamItem.Marshal() +// integrationSupportListResponse, err := UnmarshalIntegrationSupportListResponse(bytes) +// bytes, err = integrationSupportListResponse.Marshal() // -// integrationInstagramDeleteParams, err := UnmarshalIntegrationInstagramDeleteParams(bytes) -// bytes, err = integrationInstagramDeleteParams.Marshal() +// integrationSupportListStreamItem, err := UnmarshalIntegrationSupportListStreamItem(bytes) +// bytes, err = integrationSupportListStreamItem.Marshal() // -// integrationInstagramDeleteRequest, err := UnmarshalIntegrationInstagramDeleteRequest(bytes) -// bytes, err = integrationInstagramDeleteRequest.Marshal() +// integrationSupportCreateRequest, err := UnmarshalIntegrationSupportCreateRequest(bytes) +// bytes, err = integrationSupportCreateRequest.Marshal() // -// integrationInstagramDeleteResponse, err := UnmarshalIntegrationInstagramDeleteResponse(bytes) -// bytes, err = integrationInstagramDeleteResponse.Marshal() +// integrationSupportCreateResponse, err := UnmarshalIntegrationSupportCreateResponse(bytes) +// bytes, err = integrationSupportCreateResponse.Marshal() // -// integrationInstagramFetchParams, err := UnmarshalIntegrationInstagramFetchParams(bytes) -// bytes, err = integrationInstagramFetchParams.Marshal() +// integrationSupportUpdateParams, err := UnmarshalIntegrationSupportUpdateParams(bytes) +// bytes, err = integrationSupportUpdateParams.Marshal() // -// integrationInstagramFetchResponse, err := UnmarshalIntegrationInstagramFetchResponse(bytes) -// bytes, err = integrationInstagramFetchResponse.Marshal() +// integrationSupportUpdateRequest, err := UnmarshalIntegrationSupportUpdateRequest(bytes) +// bytes, err = integrationSupportUpdateRequest.Marshal() // -// integrationInstagramSetupParams, err := UnmarshalIntegrationInstagramSetupParams(bytes) -// bytes, err = integrationInstagramSetupParams.Marshal() +// integrationSupportUpdateResponse, err := UnmarshalIntegrationSupportUpdateResponse(bytes) +// bytes, err = integrationSupportUpdateResponse.Marshal() // -// integrationInstagramSetupRequest, err := UnmarshalIntegrationInstagramSetupRequest(bytes) -// bytes, err = integrationInstagramSetupRequest.Marshal() +// integrationSupportTriggerParams, err := UnmarshalIntegrationSupportTriggerParams(bytes) +// bytes, err = integrationSupportTriggerParams.Marshal() // -// integrationInstagramSetupResponse, err := UnmarshalIntegrationInstagramSetupResponse(bytes) -// bytes, err = integrationInstagramSetupResponse.Marshal() +// integrationSupportTriggerRequest, err := UnmarshalIntegrationSupportTriggerRequest(bytes) +// bytes, err = integrationSupportTriggerRequest.Marshal() // -// integrationInstagramUpdateParams, err := UnmarshalIntegrationInstagramUpdateParams(bytes) -// bytes, err = integrationInstagramUpdateParams.Marshal() +// integrationSupportTriggerResponse, err := UnmarshalIntegrationSupportTriggerResponse(bytes) +// bytes, err = integrationSupportTriggerResponse.Marshal() // -// integrationInstagramUpdateRequest, err := UnmarshalIntegrationInstagramUpdateRequest(bytes) -// bytes, err = integrationInstagramUpdateRequest.Marshal() +// integrationSupportFetchParams, err := UnmarshalIntegrationSupportFetchParams(bytes) +// bytes, err = integrationSupportFetchParams.Marshal() // -// integrationInstagramUpdateResponse, err := UnmarshalIntegrationInstagramUpdateResponse(bytes) -// bytes, err = integrationInstagramUpdateResponse.Marshal() +// integrationSupportFetchResponse, err := UnmarshalIntegrationSupportFetchResponse(bytes) +// bytes, err = integrationSupportFetchResponse.Marshal() // -// integrationInstagramCreateRequest, err := UnmarshalIntegrationInstagramCreateRequest(bytes) -// bytes, err = integrationInstagramCreateRequest.Marshal() +// integrationSupportDeleteParams, err := UnmarshalIntegrationSupportDeleteParams(bytes) +// bytes, err = integrationSupportDeleteParams.Marshal() // -// integrationInstagramCreateResponse, err := UnmarshalIntegrationInstagramCreateResponse(bytes) -// bytes, err = integrationInstagramCreateResponse.Marshal() +// integrationSupportDeleteRequest, err := UnmarshalIntegrationSupportDeleteRequest(bytes) +// bytes, err = integrationSupportDeleteRequest.Marshal() // -// integrationInstagramListParams, err := UnmarshalIntegrationInstagramListParams(bytes) -// bytes, err = integrationInstagramListParams.Marshal() +// integrationSupportDeleteResponse, err := UnmarshalIntegrationSupportDeleteResponse(bytes) +// bytes, err = integrationSupportDeleteResponse.Marshal() // -// integrationInstagramListResponse, err := UnmarshalIntegrationInstagramListResponse(bytes) -// bytes, err = integrationInstagramListResponse.Marshal() +// integrationSlackListParams, err := UnmarshalIntegrationSlackListParams(bytes) +// bytes, err = integrationSlackListParams.Marshal() // -// integrationInstagramListStreamItem, err := UnmarshalIntegrationInstagramListStreamItem(bytes) -// bytes, err = integrationInstagramListStreamItem.Marshal() +// integrationSlackListResponse, err := UnmarshalIntegrationSlackListResponse(bytes) +// bytes, err = integrationSlackListResponse.Marshal() // -// integrationMCPServerDeleteParams, err := UnmarshalIntegrationMCPServerDeleteParams(bytes) -// bytes, err = integrationMCPServerDeleteParams.Marshal() +// integrationSlackListStreamItem, err := UnmarshalIntegrationSlackListStreamItem(bytes) +// bytes, err = integrationSlackListStreamItem.Marshal() // -// integrationMCPServerDeleteRequest, err := UnmarshalIntegrationMCPServerDeleteRequest(bytes) -// bytes, err = integrationMCPServerDeleteRequest.Marshal() +// integrationSlackCreateRequest, err := UnmarshalIntegrationSlackCreateRequest(bytes) +// bytes, err = integrationSlackCreateRequest.Marshal() // -// integrationMCPServerDeleteResponse, err := UnmarshalIntegrationMCPServerDeleteResponse(bytes) -// bytes, err = integrationMCPServerDeleteResponse.Marshal() -// -// integrationMCPServerFetchParams, err := UnmarshalIntegrationMCPServerFetchParams(bytes) -// bytes, err = integrationMCPServerFetchParams.Marshal() +// integrationSlackCreateResponse, err := UnmarshalIntegrationSlackCreateResponse(bytes) +// bytes, err = integrationSlackCreateResponse.Marshal() // -// integrationMCPServerFetchResponse, err := UnmarshalIntegrationMCPServerFetchResponse(bytes) -// bytes, err = integrationMCPServerFetchResponse.Marshal() +// integrationSlackUpdateParams, err := UnmarshalIntegrationSlackUpdateParams(bytes) +// bytes, err = integrationSlackUpdateParams.Marshal() // -// integrationMCPServerUpdateParams, err := UnmarshalIntegrationMCPServerUpdateParams(bytes) -// bytes, err = integrationMCPServerUpdateParams.Marshal() +// integrationSlackUpdateRequest, err := UnmarshalIntegrationSlackUpdateRequest(bytes) +// bytes, err = integrationSlackUpdateRequest.Marshal() // -// integrationMCPServerUpdateRequest, err := UnmarshalIntegrationMCPServerUpdateRequest(bytes) -// bytes, err = integrationMCPServerUpdateRequest.Marshal() +// integrationSlackUpdateResponse, err := UnmarshalIntegrationSlackUpdateResponse(bytes) +// bytes, err = integrationSlackUpdateResponse.Marshal() // -// integrationMCPServerUpdateResponse, err := UnmarshalIntegrationMCPServerUpdateResponse(bytes) -// bytes, err = integrationMCPServerUpdateResponse.Marshal() +// integrationSlackSetupParams, err := UnmarshalIntegrationSlackSetupParams(bytes) +// bytes, err = integrationSlackSetupParams.Marshal() // -// integrationMCPServerCreateRequest, err := UnmarshalIntegrationMCPServerCreateRequest(bytes) -// bytes, err = integrationMCPServerCreateRequest.Marshal() +// integrationSlackSetupRequest, err := UnmarshalIntegrationSlackSetupRequest(bytes) +// bytes, err = integrationSlackSetupRequest.Marshal() // -// integrationMCPServerCreateResponse, err := UnmarshalIntegrationMCPServerCreateResponse(bytes) -// bytes, err = integrationMCPServerCreateResponse.Marshal() +// integrationSlackSetupResponse, err := UnmarshalIntegrationSlackSetupResponse(bytes) +// bytes, err = integrationSlackSetupResponse.Marshal() // -// integrationMCPServerListParams, err := UnmarshalIntegrationMCPServerListParams(bytes) -// bytes, err = integrationMCPServerListParams.Marshal() +// integrationSlackFetchParams, err := UnmarshalIntegrationSlackFetchParams(bytes) +// bytes, err = integrationSlackFetchParams.Marshal() // -// integrationMCPServerListResponse, err := UnmarshalIntegrationMCPServerListResponse(bytes) -// bytes, err = integrationMCPServerListResponse.Marshal() +// integrationSlackFetchResponse, err := UnmarshalIntegrationSlackFetchResponse(bytes) +// bytes, err = integrationSlackFetchResponse.Marshal() // -// integrationMCPServerListStreamItem, err := UnmarshalIntegrationMCPServerListStreamItem(bytes) -// bytes, err = integrationMCPServerListStreamItem.Marshal() +// integrationSlackDeleteParams, err := UnmarshalIntegrationSlackDeleteParams(bytes) +// bytes, err = integrationSlackDeleteParams.Marshal() // -// integrationMessengerDeleteParams, err := UnmarshalIntegrationMessengerDeleteParams(bytes) -// bytes, err = integrationMessengerDeleteParams.Marshal() +// integrationSlackDeleteRequest, err := UnmarshalIntegrationSlackDeleteRequest(bytes) +// bytes, err = integrationSlackDeleteRequest.Marshal() // -// integrationMessengerDeleteRequest, err := UnmarshalIntegrationMessengerDeleteRequest(bytes) -// bytes, err = integrationMessengerDeleteRequest.Marshal() +// integrationSlackDeleteResponse, err := UnmarshalIntegrationSlackDeleteResponse(bytes) +// bytes, err = integrationSlackDeleteResponse.Marshal() // -// integrationMessengerDeleteResponse, err := UnmarshalIntegrationMessengerDeleteResponse(bytes) -// bytes, err = integrationMessengerDeleteResponse.Marshal() +// skillServerIntegrationListParams, err := UnmarshalSkillServerIntegrationListParams(bytes) +// bytes, err = skillServerIntegrationListParams.Marshal() // -// integrationMessengerFetchParams, err := UnmarshalIntegrationMessengerFetchParams(bytes) -// bytes, err = integrationMessengerFetchParams.Marshal() +// skillServerIntegrationListResponse, err := UnmarshalSkillServerIntegrationListResponse(bytes) +// bytes, err = skillServerIntegrationListResponse.Marshal() // -// integrationMessengerFetchResponse, err := UnmarshalIntegrationMessengerFetchResponse(bytes) -// bytes, err = integrationMessengerFetchResponse.Marshal() +// skillServerIntegrationListStreamItem, err := UnmarshalSkillServerIntegrationListStreamItem(bytes) +// bytes, err = skillServerIntegrationListStreamItem.Marshal() // -// integrationMessengerSetupParams, err := UnmarshalIntegrationMessengerSetupParams(bytes) -// bytes, err = integrationMessengerSetupParams.Marshal() +// skillServerIntegrationCreateRequest, err := UnmarshalSkillServerIntegrationCreateRequest(bytes) +// bytes, err = skillServerIntegrationCreateRequest.Marshal() // -// integrationMessengerSetupRequest, err := UnmarshalIntegrationMessengerSetupRequest(bytes) -// bytes, err = integrationMessengerSetupRequest.Marshal() +// skillServerIntegrationCreateResponse, err := UnmarshalSkillServerIntegrationCreateResponse(bytes) +// bytes, err = skillServerIntegrationCreateResponse.Marshal() // -// integrationMessengerSetupResponse, err := UnmarshalIntegrationMessengerSetupResponse(bytes) -// bytes, err = integrationMessengerSetupResponse.Marshal() +// skillServerIntegrationUpdateParams, err := UnmarshalSkillServerIntegrationUpdateParams(bytes) +// bytes, err = skillServerIntegrationUpdateParams.Marshal() // -// integrationMessengerUpdateParams, err := UnmarshalIntegrationMessengerUpdateParams(bytes) -// bytes, err = integrationMessengerUpdateParams.Marshal() +// skillServerIntegrationUpdateRequest, err := UnmarshalSkillServerIntegrationUpdateRequest(bytes) +// bytes, err = skillServerIntegrationUpdateRequest.Marshal() // -// integrationMessengerUpdateRequest, err := UnmarshalIntegrationMessengerUpdateRequest(bytes) -// bytes, err = integrationMessengerUpdateRequest.Marshal() +// skillServerIntegrationUpdateResponse, err := UnmarshalSkillServerIntegrationUpdateResponse(bytes) +// bytes, err = skillServerIntegrationUpdateResponse.Marshal() // -// integrationMessengerUpdateResponse, err := UnmarshalIntegrationMessengerUpdateResponse(bytes) -// bytes, err = integrationMessengerUpdateResponse.Marshal() +// skillServerManualFetchParams, err := UnmarshalSkillServerManualFetchParams(bytes) +// bytes, err = skillServerManualFetchParams.Marshal() // -// integrationMessengerCreateRequest, err := UnmarshalIntegrationMessengerCreateRequest(bytes) -// bytes, err = integrationMessengerCreateRequest.Marshal() +// skillServerAbilityInvokeParams, err := UnmarshalSkillServerAbilityInvokeParams(bytes) +// bytes, err = skillServerAbilityInvokeParams.Marshal() // -// integrationMessengerCreateResponse, err := UnmarshalIntegrationMessengerCreateResponse(bytes) -// bytes, err = integrationMessengerCreateResponse.Marshal() +// skillServerAbilityInvokeRequest, err := UnmarshalSkillServerAbilityInvokeRequest(bytes) +// bytes, err = skillServerAbilityInvokeRequest.Marshal() // -// integrationMessengerListParams, err := UnmarshalIntegrationMessengerListParams(bytes) -// bytes, err = integrationMessengerListParams.Marshal() +// skillServerAbilityInvokeResponse, err := UnmarshalSkillServerAbilityInvokeResponse(bytes) +// bytes, err = skillServerAbilityInvokeResponse.Marshal() // -// integrationMessengerListResponse, err := UnmarshalIntegrationMessengerListResponse(bytes) -// bytes, err = integrationMessengerListResponse.Marshal() +// skillServerIntegrationFetchParams, err := UnmarshalSkillServerIntegrationFetchParams(bytes) +// bytes, err = skillServerIntegrationFetchParams.Marshal() // -// integrationMessengerListStreamItem, err := UnmarshalIntegrationMessengerListStreamItem(bytes) -// bytes, err = integrationMessengerListStreamItem.Marshal() +// skillServerIntegrationFetchResponse, err := UnmarshalSkillServerIntegrationFetchResponse(bytes) +// bytes, err = skillServerIntegrationFetchResponse.Marshal() // -// microsoftteamsIntegrationDeleteParams, err := UnmarshalMicrosoftteamsIntegrationDeleteParams(bytes) -// bytes, err = microsoftteamsIntegrationDeleteParams.Marshal() +// skillServerIntegrationDeleteParams, err := UnmarshalSkillServerIntegrationDeleteParams(bytes) +// bytes, err = skillServerIntegrationDeleteParams.Marshal() // -// microsoftteamsIntegrationDeleteRequest, err := UnmarshalMicrosoftteamsIntegrationDeleteRequest(bytes) -// bytes, err = microsoftteamsIntegrationDeleteRequest.Marshal() +// skillServerIntegrationDeleteRequest, err := UnmarshalSkillServerIntegrationDeleteRequest(bytes) +// bytes, err = skillServerIntegrationDeleteRequest.Marshal() // -// microsoftteamsIntegrationDeleteResponse, err := UnmarshalMicrosoftteamsIntegrationDeleteResponse(bytes) -// bytes, err = microsoftteamsIntegrationDeleteResponse.Marshal() +// skillServerIntegrationDeleteResponse, err := UnmarshalSkillServerIntegrationDeleteResponse(bytes) +// bytes, err = skillServerIntegrationDeleteResponse.Marshal() // -// microsoftteamsIntegrationFetchParams, err := UnmarshalMicrosoftteamsIntegrationFetchParams(bytes) -// bytes, err = microsoftteamsIntegrationFetchParams.Marshal() +// integrationSitemapListParams, err := UnmarshalIntegrationSitemapListParams(bytes) +// bytes, err = integrationSitemapListParams.Marshal() // -// microsoftteamsIntegrationFetchResponse, err := UnmarshalMicrosoftteamsIntegrationFetchResponse(bytes) -// bytes, err = microsoftteamsIntegrationFetchResponse.Marshal() +// integrationSitemapListResponse, err := UnmarshalIntegrationSitemapListResponse(bytes) +// bytes, err = integrationSitemapListResponse.Marshal() // -// microsoftteamsIntegrationSetupParams, err := UnmarshalMicrosoftteamsIntegrationSetupParams(bytes) -// bytes, err = microsoftteamsIntegrationSetupParams.Marshal() +// integrationSitemapListStreamItem, err := UnmarshalIntegrationSitemapListStreamItem(bytes) +// bytes, err = integrationSitemapListStreamItem.Marshal() // -// microsoftteamsIntegrationSetupRequest, err := UnmarshalMicrosoftteamsIntegrationSetupRequest(bytes) -// bytes, err = microsoftteamsIntegrationSetupRequest.Marshal() +// integrationSitemapCreateRequest, err := UnmarshalIntegrationSitemapCreateRequest(bytes) +// bytes, err = integrationSitemapCreateRequest.Marshal() // -// microsoftteamsIntegrationSetupResponse, err := UnmarshalMicrosoftteamsIntegrationSetupResponse(bytes) -// bytes, err = microsoftteamsIntegrationSetupResponse.Marshal() +// integrationSitemapCreateResponse, err := UnmarshalIntegrationSitemapCreateResponse(bytes) +// bytes, err = integrationSitemapCreateResponse.Marshal() // -// microsoftteamsIntegrationUpdateParams, err := UnmarshalMicrosoftteamsIntegrationUpdateParams(bytes) -// bytes, err = microsoftteamsIntegrationUpdateParams.Marshal() +// integrationSitemapUpdateParams, err := UnmarshalIntegrationSitemapUpdateParams(bytes) +// bytes, err = integrationSitemapUpdateParams.Marshal() // -// microsoftteamsIntegrationUpdateRequest, err := UnmarshalMicrosoftteamsIntegrationUpdateRequest(bytes) -// bytes, err = microsoftteamsIntegrationUpdateRequest.Marshal() +// integrationSitemapUpdateRequest, err := UnmarshalIntegrationSitemapUpdateRequest(bytes) +// bytes, err = integrationSitemapUpdateRequest.Marshal() // -// microsoftteamsIntegrationUpdateResponse, err := UnmarshalMicrosoftteamsIntegrationUpdateResponse(bytes) -// bytes, err = microsoftteamsIntegrationUpdateResponse.Marshal() +// integrationSitemapUpdateResponse, err := UnmarshalIntegrationSitemapUpdateResponse(bytes) +// bytes, err = integrationSitemapUpdateResponse.Marshal() // -// microsoftteamsIntegrationCreateRequest, err := UnmarshalMicrosoftteamsIntegrationCreateRequest(bytes) -// bytes, err = microsoftteamsIntegrationCreateRequest.Marshal() +// integrationSitemapSyncParams, err := UnmarshalIntegrationSitemapSyncParams(bytes) +// bytes, err = integrationSitemapSyncParams.Marshal() // -// microsoftteamsIntegrationCreateResponse, err := UnmarshalMicrosoftteamsIntegrationCreateResponse(bytes) -// bytes, err = microsoftteamsIntegrationCreateResponse.Marshal() +// integrationSitemapSyncRequest, err := UnmarshalIntegrationSitemapSyncRequest(bytes) +// bytes, err = integrationSitemapSyncRequest.Marshal() // -// microsoftteamsIntegrationListParams, err := UnmarshalMicrosoftteamsIntegrationListParams(bytes) -// bytes, err = microsoftteamsIntegrationListParams.Marshal() +// integrationSitemapSyncResponse, err := UnmarshalIntegrationSitemapSyncResponse(bytes) +// bytes, err = integrationSitemapSyncResponse.Marshal() // -// microsoftteamsIntegrationListResponse, err := UnmarshalMicrosoftteamsIntegrationListResponse(bytes) -// bytes, err = microsoftteamsIntegrationListResponse.Marshal() +// integrationSitemapFetchParams, err := UnmarshalIntegrationSitemapFetchParams(bytes) +// bytes, err = integrationSitemapFetchParams.Marshal() // -// microsoftteamsIntegrationListStreamItem, err := UnmarshalMicrosoftteamsIntegrationListStreamItem(bytes) -// bytes, err = microsoftteamsIntegrationListStreamItem.Marshal() +// integrationSitemapFetchResponse, err := UnmarshalIntegrationSitemapFetchResponse(bytes) +// bytes, err = integrationSitemapFetchResponse.Marshal() // -// integrationNotionDeleteParams, err := UnmarshalIntegrationNotionDeleteParams(bytes) -// bytes, err = integrationNotionDeleteParams.Marshal() +// integrationSitemapDeleteParams, err := UnmarshalIntegrationSitemapDeleteParams(bytes) +// bytes, err = integrationSitemapDeleteParams.Marshal() // -// integrationNotionDeleteRequest, err := UnmarshalIntegrationNotionDeleteRequest(bytes) -// bytes, err = integrationNotionDeleteRequest.Marshal() +// integrationSitemapDeleteRequest, err := UnmarshalIntegrationSitemapDeleteRequest(bytes) +// bytes, err = integrationSitemapDeleteRequest.Marshal() // -// integrationNotionDeleteResponse, err := UnmarshalIntegrationNotionDeleteResponse(bytes) -// bytes, err = integrationNotionDeleteResponse.Marshal() +// integrationSitemapDeleteResponse, err := UnmarshalIntegrationSitemapDeleteResponse(bytes) +// bytes, err = integrationSitemapDeleteResponse.Marshal() // -// integrationNotionFetchParams, err := UnmarshalIntegrationNotionFetchParams(bytes) -// bytes, err = integrationNotionFetchParams.Marshal() +// integrationNotionListParams, err := UnmarshalIntegrationNotionListParams(bytes) +// bytes, err = integrationNotionListParams.Marshal() // -// integrationNotionFetchResponse, err := UnmarshalIntegrationNotionFetchResponse(bytes) -// bytes, err = integrationNotionFetchResponse.Marshal() +// integrationNotionListResponse, err := UnmarshalIntegrationNotionListResponse(bytes) +// bytes, err = integrationNotionListResponse.Marshal() // -// integrationNotionSyncParams, err := UnmarshalIntegrationNotionSyncParams(bytes) -// bytes, err = integrationNotionSyncParams.Marshal() +// integrationNotionListStreamItem, err := UnmarshalIntegrationNotionListStreamItem(bytes) +// bytes, err = integrationNotionListStreamItem.Marshal() // -// integrationNotionSyncRequest, err := UnmarshalIntegrationNotionSyncRequest(bytes) -// bytes, err = integrationNotionSyncRequest.Marshal() +// integrationNotionCreateRequest, err := UnmarshalIntegrationNotionCreateRequest(bytes) +// bytes, err = integrationNotionCreateRequest.Marshal() // -// integrationNotionSyncResponse, err := UnmarshalIntegrationNotionSyncResponse(bytes) -// bytes, err = integrationNotionSyncResponse.Marshal() +// integrationNotionCreateResponse, err := UnmarshalIntegrationNotionCreateResponse(bytes) +// bytes, err = integrationNotionCreateResponse.Marshal() // // integrationNotionUpdateParams, err := UnmarshalIntegrationNotionUpdateParams(bytes) // bytes, err = integrationNotionUpdateParams.Marshal() @@ -1390,1777 +1384,1495 @@ // integrationNotionUpdateResponse, err := UnmarshalIntegrationNotionUpdateResponse(bytes) // bytes, err = integrationNotionUpdateResponse.Marshal() // -// integrationNotionCreateRequest, err := UnmarshalIntegrationNotionCreateRequest(bytes) -// bytes, err = integrationNotionCreateRequest.Marshal() +// integrationNotionSyncParams, err := UnmarshalIntegrationNotionSyncParams(bytes) +// bytes, err = integrationNotionSyncParams.Marshal() // -// integrationNotionCreateResponse, err := UnmarshalIntegrationNotionCreateResponse(bytes) -// bytes, err = integrationNotionCreateResponse.Marshal() +// integrationNotionSyncRequest, err := UnmarshalIntegrationNotionSyncRequest(bytes) +// bytes, err = integrationNotionSyncRequest.Marshal() // -// integrationNotionListParams, err := UnmarshalIntegrationNotionListParams(bytes) -// bytes, err = integrationNotionListParams.Marshal() +// integrationNotionSyncResponse, err := UnmarshalIntegrationNotionSyncResponse(bytes) +// bytes, err = integrationNotionSyncResponse.Marshal() // -// integrationNotionListResponse, err := UnmarshalIntegrationNotionListResponse(bytes) -// bytes, err = integrationNotionListResponse.Marshal() +// integrationNotionFetchParams, err := UnmarshalIntegrationNotionFetchParams(bytes) +// bytes, err = integrationNotionFetchParams.Marshal() // -// integrationNotionListStreamItem, err := UnmarshalIntegrationNotionListStreamItem(bytes) -// bytes, err = integrationNotionListStreamItem.Marshal() +// integrationNotionFetchResponse, err := UnmarshalIntegrationNotionFetchResponse(bytes) +// bytes, err = integrationNotionFetchResponse.Marshal() // -// integrationSitemapDeleteParams, err := UnmarshalIntegrationSitemapDeleteParams(bytes) -// bytes, err = integrationSitemapDeleteParams.Marshal() +// integrationNotionDeleteParams, err := UnmarshalIntegrationNotionDeleteParams(bytes) +// bytes, err = integrationNotionDeleteParams.Marshal() // -// integrationSitemapDeleteRequest, err := UnmarshalIntegrationSitemapDeleteRequest(bytes) -// bytes, err = integrationSitemapDeleteRequest.Marshal() +// integrationNotionDeleteRequest, err := UnmarshalIntegrationNotionDeleteRequest(bytes) +// bytes, err = integrationNotionDeleteRequest.Marshal() // -// integrationSitemapDeleteResponse, err := UnmarshalIntegrationSitemapDeleteResponse(bytes) -// bytes, err = integrationSitemapDeleteResponse.Marshal() +// integrationNotionDeleteResponse, err := UnmarshalIntegrationNotionDeleteResponse(bytes) +// bytes, err = integrationNotionDeleteResponse.Marshal() // -// integrationSitemapFetchParams, err := UnmarshalIntegrationSitemapFetchParams(bytes) -// bytes, err = integrationSitemapFetchParams.Marshal() +// microsoftteamsIntegrationListParams, err := UnmarshalMicrosoftteamsIntegrationListParams(bytes) +// bytes, err = microsoftteamsIntegrationListParams.Marshal() // -// integrationSitemapFetchResponse, err := UnmarshalIntegrationSitemapFetchResponse(bytes) -// bytes, err = integrationSitemapFetchResponse.Marshal() +// microsoftteamsIntegrationListResponse, err := UnmarshalMicrosoftteamsIntegrationListResponse(bytes) +// bytes, err = microsoftteamsIntegrationListResponse.Marshal() // -// integrationSitemapSyncParams, err := UnmarshalIntegrationSitemapSyncParams(bytes) -// bytes, err = integrationSitemapSyncParams.Marshal() +// microsoftteamsIntegrationListStreamItem, err := UnmarshalMicrosoftteamsIntegrationListStreamItem(bytes) +// bytes, err = microsoftteamsIntegrationListStreamItem.Marshal() // -// integrationSitemapSyncRequest, err := UnmarshalIntegrationSitemapSyncRequest(bytes) -// bytes, err = integrationSitemapSyncRequest.Marshal() +// microsoftteamsIntegrationCreateRequest, err := UnmarshalMicrosoftteamsIntegrationCreateRequest(bytes) +// bytes, err = microsoftteamsIntegrationCreateRequest.Marshal() // -// integrationSitemapSyncResponse, err := UnmarshalIntegrationSitemapSyncResponse(bytes) -// bytes, err = integrationSitemapSyncResponse.Marshal() +// microsoftteamsIntegrationCreateResponse, err := UnmarshalMicrosoftteamsIntegrationCreateResponse(bytes) +// bytes, err = microsoftteamsIntegrationCreateResponse.Marshal() // -// integrationSitemapUpdateParams, err := UnmarshalIntegrationSitemapUpdateParams(bytes) -// bytes, err = integrationSitemapUpdateParams.Marshal() +// microsoftteamsIntegrationUpdateParams, err := UnmarshalMicrosoftteamsIntegrationUpdateParams(bytes) +// bytes, err = microsoftteamsIntegrationUpdateParams.Marshal() // -// integrationSitemapUpdateRequest, err := UnmarshalIntegrationSitemapUpdateRequest(bytes) -// bytes, err = integrationSitemapUpdateRequest.Marshal() +// microsoftteamsIntegrationUpdateRequest, err := UnmarshalMicrosoftteamsIntegrationUpdateRequest(bytes) +// bytes, err = microsoftteamsIntegrationUpdateRequest.Marshal() // -// integrationSitemapUpdateResponse, err := UnmarshalIntegrationSitemapUpdateResponse(bytes) -// bytes, err = integrationSitemapUpdateResponse.Marshal() +// microsoftteamsIntegrationUpdateResponse, err := UnmarshalMicrosoftteamsIntegrationUpdateResponse(bytes) +// bytes, err = microsoftteamsIntegrationUpdateResponse.Marshal() // -// integrationSitemapCreateRequest, err := UnmarshalIntegrationSitemapCreateRequest(bytes) -// bytes, err = integrationSitemapCreateRequest.Marshal() +// microsoftteamsIntegrationSetupParams, err := UnmarshalMicrosoftteamsIntegrationSetupParams(bytes) +// bytes, err = microsoftteamsIntegrationSetupParams.Marshal() // -// integrationSitemapCreateResponse, err := UnmarshalIntegrationSitemapCreateResponse(bytes) -// bytes, err = integrationSitemapCreateResponse.Marshal() +// microsoftteamsIntegrationSetupRequest, err := UnmarshalMicrosoftteamsIntegrationSetupRequest(bytes) +// bytes, err = microsoftteamsIntegrationSetupRequest.Marshal() // -// integrationSitemapListParams, err := UnmarshalIntegrationSitemapListParams(bytes) -// bytes, err = integrationSitemapListParams.Marshal() +// microsoftteamsIntegrationSetupResponse, err := UnmarshalMicrosoftteamsIntegrationSetupResponse(bytes) +// bytes, err = microsoftteamsIntegrationSetupResponse.Marshal() // -// integrationSitemapListResponse, err := UnmarshalIntegrationSitemapListResponse(bytes) -// bytes, err = integrationSitemapListResponse.Marshal() +// microsoftteamsIntegrationFetchParams, err := UnmarshalMicrosoftteamsIntegrationFetchParams(bytes) +// bytes, err = microsoftteamsIntegrationFetchParams.Marshal() // -// integrationSitemapListStreamItem, err := UnmarshalIntegrationSitemapListStreamItem(bytes) -// bytes, err = integrationSitemapListStreamItem.Marshal() +// microsoftteamsIntegrationFetchResponse, err := UnmarshalMicrosoftteamsIntegrationFetchResponse(bytes) +// bytes, err = microsoftteamsIntegrationFetchResponse.Marshal() // -// skillServerIntegrationDeleteParams, err := UnmarshalSkillServerIntegrationDeleteParams(bytes) -// bytes, err = skillServerIntegrationDeleteParams.Marshal() +// microsoftteamsIntegrationDeleteParams, err := UnmarshalMicrosoftteamsIntegrationDeleteParams(bytes) +// bytes, err = microsoftteamsIntegrationDeleteParams.Marshal() // -// skillServerIntegrationDeleteRequest, err := UnmarshalSkillServerIntegrationDeleteRequest(bytes) -// bytes, err = skillServerIntegrationDeleteRequest.Marshal() +// microsoftteamsIntegrationDeleteRequest, err := UnmarshalMicrosoftteamsIntegrationDeleteRequest(bytes) +// bytes, err = microsoftteamsIntegrationDeleteRequest.Marshal() // -// skillServerIntegrationDeleteResponse, err := UnmarshalSkillServerIntegrationDeleteResponse(bytes) -// bytes, err = skillServerIntegrationDeleteResponse.Marshal() +// microsoftteamsIntegrationDeleteResponse, err := UnmarshalMicrosoftteamsIntegrationDeleteResponse(bytes) +// bytes, err = microsoftteamsIntegrationDeleteResponse.Marshal() // -// skillServerIntegrationFetchParams, err := UnmarshalSkillServerIntegrationFetchParams(bytes) -// bytes, err = skillServerIntegrationFetchParams.Marshal() +// integrationMessengerListParams, err := UnmarshalIntegrationMessengerListParams(bytes) +// bytes, err = integrationMessengerListParams.Marshal() // -// skillServerIntegrationFetchResponse, err := UnmarshalSkillServerIntegrationFetchResponse(bytes) -// bytes, err = skillServerIntegrationFetchResponse.Marshal() +// integrationMessengerListResponse, err := UnmarshalIntegrationMessengerListResponse(bytes) +// bytes, err = integrationMessengerListResponse.Marshal() // -// skillServerManualFetchParams, err := UnmarshalSkillServerManualFetchParams(bytes) -// bytes, err = skillServerManualFetchParams.Marshal() +// integrationMessengerListStreamItem, err := UnmarshalIntegrationMessengerListStreamItem(bytes) +// bytes, err = integrationMessengerListStreamItem.Marshal() // -// skillServerAbilityInvokeParams, err := UnmarshalSkillServerAbilityInvokeParams(bytes) -// bytes, err = skillServerAbilityInvokeParams.Marshal() +// integrationMessengerCreateRequest, err := UnmarshalIntegrationMessengerCreateRequest(bytes) +// bytes, err = integrationMessengerCreateRequest.Marshal() // -// skillServerAbilityInvokeRequest, err := UnmarshalSkillServerAbilityInvokeRequest(bytes) -// bytes, err = skillServerAbilityInvokeRequest.Marshal() +// integrationMessengerCreateResponse, err := UnmarshalIntegrationMessengerCreateResponse(bytes) +// bytes, err = integrationMessengerCreateResponse.Marshal() // -// skillServerAbilityInvokeResponse, err := UnmarshalSkillServerAbilityInvokeResponse(bytes) -// bytes, err = skillServerAbilityInvokeResponse.Marshal() +// integrationMessengerUpdateParams, err := UnmarshalIntegrationMessengerUpdateParams(bytes) +// bytes, err = integrationMessengerUpdateParams.Marshal() // -// skillServerIntegrationUpdateParams, err := UnmarshalSkillServerIntegrationUpdateParams(bytes) -// bytes, err = skillServerIntegrationUpdateParams.Marshal() +// integrationMessengerUpdateRequest, err := UnmarshalIntegrationMessengerUpdateRequest(bytes) +// bytes, err = integrationMessengerUpdateRequest.Marshal() // -// skillServerIntegrationUpdateRequest, err := UnmarshalSkillServerIntegrationUpdateRequest(bytes) -// bytes, err = skillServerIntegrationUpdateRequest.Marshal() +// integrationMessengerUpdateResponse, err := UnmarshalIntegrationMessengerUpdateResponse(bytes) +// bytes, err = integrationMessengerUpdateResponse.Marshal() // -// skillServerIntegrationUpdateResponse, err := UnmarshalSkillServerIntegrationUpdateResponse(bytes) -// bytes, err = skillServerIntegrationUpdateResponse.Marshal() +// integrationMessengerSetupParams, err := UnmarshalIntegrationMessengerSetupParams(bytes) +// bytes, err = integrationMessengerSetupParams.Marshal() // -// skillServerIntegrationCreateRequest, err := UnmarshalSkillServerIntegrationCreateRequest(bytes) -// bytes, err = skillServerIntegrationCreateRequest.Marshal() +// integrationMessengerSetupRequest, err := UnmarshalIntegrationMessengerSetupRequest(bytes) +// bytes, err = integrationMessengerSetupRequest.Marshal() // -// skillServerIntegrationCreateResponse, err := UnmarshalSkillServerIntegrationCreateResponse(bytes) -// bytes, err = skillServerIntegrationCreateResponse.Marshal() +// integrationMessengerSetupResponse, err := UnmarshalIntegrationMessengerSetupResponse(bytes) +// bytes, err = integrationMessengerSetupResponse.Marshal() // -// skillServerIntegrationListParams, err := UnmarshalSkillServerIntegrationListParams(bytes) -// bytes, err = skillServerIntegrationListParams.Marshal() +// integrationMessengerFetchParams, err := UnmarshalIntegrationMessengerFetchParams(bytes) +// bytes, err = integrationMessengerFetchParams.Marshal() // -// skillServerIntegrationListResponse, err := UnmarshalSkillServerIntegrationListResponse(bytes) -// bytes, err = skillServerIntegrationListResponse.Marshal() +// integrationMessengerFetchResponse, err := UnmarshalIntegrationMessengerFetchResponse(bytes) +// bytes, err = integrationMessengerFetchResponse.Marshal() // -// skillServerIntegrationListStreamItem, err := UnmarshalSkillServerIntegrationListStreamItem(bytes) -// bytes, err = skillServerIntegrationListStreamItem.Marshal() +// integrationMessengerDeleteParams, err := UnmarshalIntegrationMessengerDeleteParams(bytes) +// bytes, err = integrationMessengerDeleteParams.Marshal() // -// integrationSlackDeleteParams, err := UnmarshalIntegrationSlackDeleteParams(bytes) -// bytes, err = integrationSlackDeleteParams.Marshal() +// integrationMessengerDeleteRequest, err := UnmarshalIntegrationMessengerDeleteRequest(bytes) +// bytes, err = integrationMessengerDeleteRequest.Marshal() // -// integrationSlackDeleteRequest, err := UnmarshalIntegrationSlackDeleteRequest(bytes) -// bytes, err = integrationSlackDeleteRequest.Marshal() +// integrationMessengerDeleteResponse, err := UnmarshalIntegrationMessengerDeleteResponse(bytes) +// bytes, err = integrationMessengerDeleteResponse.Marshal() // -// integrationSlackDeleteResponse, err := UnmarshalIntegrationSlackDeleteResponse(bytes) -// bytes, err = integrationSlackDeleteResponse.Marshal() +// integrationMCPServerListParams, err := UnmarshalIntegrationMCPServerListParams(bytes) +// bytes, err = integrationMCPServerListParams.Marshal() // -// integrationSlackFetchParams, err := UnmarshalIntegrationSlackFetchParams(bytes) -// bytes, err = integrationSlackFetchParams.Marshal() +// integrationMCPServerListResponse, err := UnmarshalIntegrationMCPServerListResponse(bytes) +// bytes, err = integrationMCPServerListResponse.Marshal() // -// integrationSlackFetchResponse, err := UnmarshalIntegrationSlackFetchResponse(bytes) -// bytes, err = integrationSlackFetchResponse.Marshal() +// integrationMCPServerListStreamItem, err := UnmarshalIntegrationMCPServerListStreamItem(bytes) +// bytes, err = integrationMCPServerListStreamItem.Marshal() // -// integrationSlackSetupParams, err := UnmarshalIntegrationSlackSetupParams(bytes) -// bytes, err = integrationSlackSetupParams.Marshal() +// integrationMCPServerCreateRequest, err := UnmarshalIntegrationMCPServerCreateRequest(bytes) +// bytes, err = integrationMCPServerCreateRequest.Marshal() // -// integrationSlackSetupRequest, err := UnmarshalIntegrationSlackSetupRequest(bytes) -// bytes, err = integrationSlackSetupRequest.Marshal() +// integrationMCPServerCreateResponse, err := UnmarshalIntegrationMCPServerCreateResponse(bytes) +// bytes, err = integrationMCPServerCreateResponse.Marshal() // -// integrationSlackSetupResponse, err := UnmarshalIntegrationSlackSetupResponse(bytes) -// bytes, err = integrationSlackSetupResponse.Marshal() +// integrationMCPServerUpdateParams, err := UnmarshalIntegrationMCPServerUpdateParams(bytes) +// bytes, err = integrationMCPServerUpdateParams.Marshal() // -// integrationSlackUpdateParams, err := UnmarshalIntegrationSlackUpdateParams(bytes) -// bytes, err = integrationSlackUpdateParams.Marshal() +// integrationMCPServerUpdateRequest, err := UnmarshalIntegrationMCPServerUpdateRequest(bytes) +// bytes, err = integrationMCPServerUpdateRequest.Marshal() // -// integrationSlackUpdateRequest, err := UnmarshalIntegrationSlackUpdateRequest(bytes) -// bytes, err = integrationSlackUpdateRequest.Marshal() +// integrationMCPServerUpdateResponse, err := UnmarshalIntegrationMCPServerUpdateResponse(bytes) +// bytes, err = integrationMCPServerUpdateResponse.Marshal() // -// integrationSlackUpdateResponse, err := UnmarshalIntegrationSlackUpdateResponse(bytes) -// bytes, err = integrationSlackUpdateResponse.Marshal() +// integrationMCPServerFetchParams, err := UnmarshalIntegrationMCPServerFetchParams(bytes) +// bytes, err = integrationMCPServerFetchParams.Marshal() // -// integrationSlackCreateRequest, err := UnmarshalIntegrationSlackCreateRequest(bytes) -// bytes, err = integrationSlackCreateRequest.Marshal() +// integrationMCPServerFetchResponse, err := UnmarshalIntegrationMCPServerFetchResponse(bytes) +// bytes, err = integrationMCPServerFetchResponse.Marshal() // -// integrationSlackCreateResponse, err := UnmarshalIntegrationSlackCreateResponse(bytes) -// bytes, err = integrationSlackCreateResponse.Marshal() +// integrationMCPServerDeleteParams, err := UnmarshalIntegrationMCPServerDeleteParams(bytes) +// bytes, err = integrationMCPServerDeleteParams.Marshal() // -// integrationSlackListParams, err := UnmarshalIntegrationSlackListParams(bytes) -// bytes, err = integrationSlackListParams.Marshal() +// integrationMCPServerDeleteRequest, err := UnmarshalIntegrationMCPServerDeleteRequest(bytes) +// bytes, err = integrationMCPServerDeleteRequest.Marshal() // -// integrationSlackListResponse, err := UnmarshalIntegrationSlackListResponse(bytes) -// bytes, err = integrationSlackListResponse.Marshal() +// integrationMCPServerDeleteResponse, err := UnmarshalIntegrationMCPServerDeleteResponse(bytes) +// bytes, err = integrationMCPServerDeleteResponse.Marshal() // -// integrationSlackListStreamItem, err := UnmarshalIntegrationSlackListStreamItem(bytes) -// bytes, err = integrationSlackListStreamItem.Marshal() +// integrationInstagramListParams, err := UnmarshalIntegrationInstagramListParams(bytes) +// bytes, err = integrationInstagramListParams.Marshal() // -// integrationSupportDeleteParams, err := UnmarshalIntegrationSupportDeleteParams(bytes) -// bytes, err = integrationSupportDeleteParams.Marshal() +// integrationInstagramListResponse, err := UnmarshalIntegrationInstagramListResponse(bytes) +// bytes, err = integrationInstagramListResponse.Marshal() // -// integrationSupportDeleteRequest, err := UnmarshalIntegrationSupportDeleteRequest(bytes) -// bytes, err = integrationSupportDeleteRequest.Marshal() +// integrationInstagramListStreamItem, err := UnmarshalIntegrationInstagramListStreamItem(bytes) +// bytes, err = integrationInstagramListStreamItem.Marshal() // -// integrationSupportDeleteResponse, err := UnmarshalIntegrationSupportDeleteResponse(bytes) -// bytes, err = integrationSupportDeleteResponse.Marshal() +// integrationInstagramCreateRequest, err := UnmarshalIntegrationInstagramCreateRequest(bytes) +// bytes, err = integrationInstagramCreateRequest.Marshal() // -// integrationSupportFetchParams, err := UnmarshalIntegrationSupportFetchParams(bytes) -// bytes, err = integrationSupportFetchParams.Marshal() +// integrationInstagramCreateResponse, err := UnmarshalIntegrationInstagramCreateResponse(bytes) +// bytes, err = integrationInstagramCreateResponse.Marshal() // -// integrationSupportFetchResponse, err := UnmarshalIntegrationSupportFetchResponse(bytes) -// bytes, err = integrationSupportFetchResponse.Marshal() +// integrationInstagramUpdateParams, err := UnmarshalIntegrationInstagramUpdateParams(bytes) +// bytes, err = integrationInstagramUpdateParams.Marshal() // -// integrationSupportTriggerParams, err := UnmarshalIntegrationSupportTriggerParams(bytes) -// bytes, err = integrationSupportTriggerParams.Marshal() +// integrationInstagramUpdateRequest, err := UnmarshalIntegrationInstagramUpdateRequest(bytes) +// bytes, err = integrationInstagramUpdateRequest.Marshal() // -// integrationSupportTriggerRequest, err := UnmarshalIntegrationSupportTriggerRequest(bytes) -// bytes, err = integrationSupportTriggerRequest.Marshal() +// integrationInstagramUpdateResponse, err := UnmarshalIntegrationInstagramUpdateResponse(bytes) +// bytes, err = integrationInstagramUpdateResponse.Marshal() // -// integrationSupportTriggerResponse, err := UnmarshalIntegrationSupportTriggerResponse(bytes) -// bytes, err = integrationSupportTriggerResponse.Marshal() +// integrationInstagramSetupParams, err := UnmarshalIntegrationInstagramSetupParams(bytes) +// bytes, err = integrationInstagramSetupParams.Marshal() // -// integrationSupportUpdateParams, err := UnmarshalIntegrationSupportUpdateParams(bytes) -// bytes, err = integrationSupportUpdateParams.Marshal() +// integrationInstagramSetupRequest, err := UnmarshalIntegrationInstagramSetupRequest(bytes) +// bytes, err = integrationInstagramSetupRequest.Marshal() // -// integrationSupportUpdateRequest, err := UnmarshalIntegrationSupportUpdateRequest(bytes) -// bytes, err = integrationSupportUpdateRequest.Marshal() +// integrationInstagramSetupResponse, err := UnmarshalIntegrationInstagramSetupResponse(bytes) +// bytes, err = integrationInstagramSetupResponse.Marshal() // -// integrationSupportUpdateResponse, err := UnmarshalIntegrationSupportUpdateResponse(bytes) -// bytes, err = integrationSupportUpdateResponse.Marshal() +// integrationInstagramFetchParams, err := UnmarshalIntegrationInstagramFetchParams(bytes) +// bytes, err = integrationInstagramFetchParams.Marshal() // -// integrationSupportCreateRequest, err := UnmarshalIntegrationSupportCreateRequest(bytes) -// bytes, err = integrationSupportCreateRequest.Marshal() +// integrationInstagramFetchResponse, err := UnmarshalIntegrationInstagramFetchResponse(bytes) +// bytes, err = integrationInstagramFetchResponse.Marshal() // -// integrationSupportCreateResponse, err := UnmarshalIntegrationSupportCreateResponse(bytes) -// bytes, err = integrationSupportCreateResponse.Marshal() +// integrationInstagramDeleteParams, err := UnmarshalIntegrationInstagramDeleteParams(bytes) +// bytes, err = integrationInstagramDeleteParams.Marshal() // -// integrationSupportListParams, err := UnmarshalIntegrationSupportListParams(bytes) -// bytes, err = integrationSupportListParams.Marshal() +// integrationInstagramDeleteRequest, err := UnmarshalIntegrationInstagramDeleteRequest(bytes) +// bytes, err = integrationInstagramDeleteRequest.Marshal() // -// integrationSupportListResponse, err := UnmarshalIntegrationSupportListResponse(bytes) -// bytes, err = integrationSupportListResponse.Marshal() +// integrationInstagramDeleteResponse, err := UnmarshalIntegrationInstagramDeleteResponse(bytes) +// bytes, err = integrationInstagramDeleteResponse.Marshal() // -// integrationSupportListStreamItem, err := UnmarshalIntegrationSupportListStreamItem(bytes) -// bytes, err = integrationSupportListStreamItem.Marshal() +// googlechatIntegrationListParams, err := UnmarshalGooglechatIntegrationListParams(bytes) +// bytes, err = googlechatIntegrationListParams.Marshal() // -// integrationTelegramDeleteParams, err := UnmarshalIntegrationTelegramDeleteParams(bytes) -// bytes, err = integrationTelegramDeleteParams.Marshal() +// googlechatIntegrationListResponse, err := UnmarshalGooglechatIntegrationListResponse(bytes) +// bytes, err = googlechatIntegrationListResponse.Marshal() // -// integrationTelegramDeleteRequest, err := UnmarshalIntegrationTelegramDeleteRequest(bytes) -// bytes, err = integrationTelegramDeleteRequest.Marshal() +// googlechatIntegrationListStreamItem, err := UnmarshalGooglechatIntegrationListStreamItem(bytes) +// bytes, err = googlechatIntegrationListStreamItem.Marshal() // -// integrationTelegramDeleteResponse, err := UnmarshalIntegrationTelegramDeleteResponse(bytes) -// bytes, err = integrationTelegramDeleteResponse.Marshal() +// googlechatIntegrationCreateRequest, err := UnmarshalGooglechatIntegrationCreateRequest(bytes) +// bytes, err = googlechatIntegrationCreateRequest.Marshal() // -// integrationTelegramFetchParams, err := UnmarshalIntegrationTelegramFetchParams(bytes) -// bytes, err = integrationTelegramFetchParams.Marshal() +// googlechatIntegrationCreateResponse, err := UnmarshalGooglechatIntegrationCreateResponse(bytes) +// bytes, err = googlechatIntegrationCreateResponse.Marshal() // -// integrationTelegramFetchResponse, err := UnmarshalIntegrationTelegramFetchResponse(bytes) -// bytes, err = integrationTelegramFetchResponse.Marshal() +// googlechatIntegrationUpdateParams, err := UnmarshalGooglechatIntegrationUpdateParams(bytes) +// bytes, err = googlechatIntegrationUpdateParams.Marshal() // -// integrationTelegramSetupParams, err := UnmarshalIntegrationTelegramSetupParams(bytes) -// bytes, err = integrationTelegramSetupParams.Marshal() +// googlechatIntegrationUpdateRequest, err := UnmarshalGooglechatIntegrationUpdateRequest(bytes) +// bytes, err = googlechatIntegrationUpdateRequest.Marshal() // -// integrationTelegramSetupRequest, err := UnmarshalIntegrationTelegramSetupRequest(bytes) -// bytes, err = integrationTelegramSetupRequest.Marshal() +// googlechatIntegrationUpdateResponse, err := UnmarshalGooglechatIntegrationUpdateResponse(bytes) +// bytes, err = googlechatIntegrationUpdateResponse.Marshal() // -// integrationTelegramSetupResponse, err := UnmarshalIntegrationTelegramSetupResponse(bytes) -// bytes, err = integrationTelegramSetupResponse.Marshal() +// googlechatIntegrationSetupParams, err := UnmarshalGooglechatIntegrationSetupParams(bytes) +// bytes, err = googlechatIntegrationSetupParams.Marshal() // -// integrationTelegramUpdateParams, err := UnmarshalIntegrationTelegramUpdateParams(bytes) -// bytes, err = integrationTelegramUpdateParams.Marshal() +// googlechatIntegrationSetupRequest, err := UnmarshalGooglechatIntegrationSetupRequest(bytes) +// bytes, err = googlechatIntegrationSetupRequest.Marshal() // -// integrationTelegramUpdateRequest, err := UnmarshalIntegrationTelegramUpdateRequest(bytes) -// bytes, err = integrationTelegramUpdateRequest.Marshal() +// googlechatIntegrationSetupResponse, err := UnmarshalGooglechatIntegrationSetupResponse(bytes) +// bytes, err = googlechatIntegrationSetupResponse.Marshal() // -// integrationTelegramUpdateResponse, err := UnmarshalIntegrationTelegramUpdateResponse(bytes) -// bytes, err = integrationTelegramUpdateResponse.Marshal() +// googlechatIntegrationFetchParams, err := UnmarshalGooglechatIntegrationFetchParams(bytes) +// bytes, err = googlechatIntegrationFetchParams.Marshal() // -// integrationTelegramCreateRequest, err := UnmarshalIntegrationTelegramCreateRequest(bytes) -// bytes, err = integrationTelegramCreateRequest.Marshal() +// googlechatIntegrationFetchResponse, err := UnmarshalGooglechatIntegrationFetchResponse(bytes) +// bytes, err = googlechatIntegrationFetchResponse.Marshal() // -// integrationTelegramCreateResponse, err := UnmarshalIntegrationTelegramCreateResponse(bytes) -// bytes, err = integrationTelegramCreateResponse.Marshal() +// googlechatIntegrationDeleteParams, err := UnmarshalGooglechatIntegrationDeleteParams(bytes) +// bytes, err = googlechatIntegrationDeleteParams.Marshal() // -// integrationTelegramListParams, err := UnmarshalIntegrationTelegramListParams(bytes) -// bytes, err = integrationTelegramListParams.Marshal() +// googlechatIntegrationDeleteRequest, err := UnmarshalGooglechatIntegrationDeleteRequest(bytes) +// bytes, err = googlechatIntegrationDeleteRequest.Marshal() // -// integrationTelegramListResponse, err := UnmarshalIntegrationTelegramListResponse(bytes) -// bytes, err = integrationTelegramListResponse.Marshal() +// googlechatIntegrationDeleteResponse, err := UnmarshalGooglechatIntegrationDeleteResponse(bytes) +// bytes, err = googlechatIntegrationDeleteResponse.Marshal() // -// integrationTelegramListStreamItem, err := UnmarshalIntegrationTelegramListStreamItem(bytes) -// bytes, err = integrationTelegramListStreamItem.Marshal() +// githubIntegrationListParams, err := UnmarshalGithubIntegrationListParams(bytes) +// bytes, err = githubIntegrationListParams.Marshal() // -// triggerIntegrationDeleteParams, err := UnmarshalTriggerIntegrationDeleteParams(bytes) -// bytes, err = triggerIntegrationDeleteParams.Marshal() +// githubIntegrationListResponse, err := UnmarshalGithubIntegrationListResponse(bytes) +// bytes, err = githubIntegrationListResponse.Marshal() // -// triggerIntegrationDeleteRequest, err := UnmarshalTriggerIntegrationDeleteRequest(bytes) -// bytes, err = triggerIntegrationDeleteRequest.Marshal() +// githubIntegrationCreateRequest, err := UnmarshalGithubIntegrationCreateRequest(bytes) +// bytes, err = githubIntegrationCreateRequest.Marshal() // -// triggerIntegrationDeleteResponse, err := UnmarshalTriggerIntegrationDeleteResponse(bytes) -// bytes, err = triggerIntegrationDeleteResponse.Marshal() +// githubIntegrationCreateResponse, err := UnmarshalGithubIntegrationCreateResponse(bytes) +// bytes, err = githubIntegrationCreateResponse.Marshal() // -// triggerIntegrationFetchParams, err := UnmarshalTriggerIntegrationFetchParams(bytes) -// bytes, err = triggerIntegrationFetchParams.Marshal() +// githubIntegrationUpdateParams, err := UnmarshalGithubIntegrationUpdateParams(bytes) +// bytes, err = githubIntegrationUpdateParams.Marshal() // -// triggerIntegrationFetchResponse, err := UnmarshalTriggerIntegrationFetchResponse(bytes) -// bytes, err = triggerIntegrationFetchResponse.Marshal() +// githubIntegrationUpdateRequest, err := UnmarshalGithubIntegrationUpdateRequest(bytes) +// bytes, err = githubIntegrationUpdateRequest.Marshal() // -// triggerIntegrationInvokeParams, err := UnmarshalTriggerIntegrationInvokeParams(bytes) -// bytes, err = triggerIntegrationInvokeParams.Marshal() +// githubIntegrationUpdateResponse, err := UnmarshalGithubIntegrationUpdateResponse(bytes) +// bytes, err = githubIntegrationUpdateResponse.Marshal() // -// triggerIntegrationInvokeRequest, err := UnmarshalTriggerIntegrationInvokeRequest(bytes) -// bytes, err = triggerIntegrationInvokeRequest.Marshal() +// githubIntegrationSetupParams, err := UnmarshalGithubIntegrationSetupParams(bytes) +// bytes, err = githubIntegrationSetupParams.Marshal() // -// triggerIntegrationInvokeResponse, err := UnmarshalTriggerIntegrationInvokeResponse(bytes) -// bytes, err = triggerIntegrationInvokeResponse.Marshal() +// githubIntegrationFetchParams, err := UnmarshalGithubIntegrationFetchParams(bytes) +// bytes, err = githubIntegrationFetchParams.Marshal() // -// triggerIntegrationSetupParams, err := UnmarshalTriggerIntegrationSetupParams(bytes) -// bytes, err = triggerIntegrationSetupParams.Marshal() +// githubIntegrationFetchResponse, err := UnmarshalGithubIntegrationFetchResponse(bytes) +// bytes, err = githubIntegrationFetchResponse.Marshal() // -// triggerIntegrationSetupRequest, err := UnmarshalTriggerIntegrationSetupRequest(bytes) -// bytes, err = triggerIntegrationSetupRequest.Marshal() +// githubIntegrationDeleteParams, err := UnmarshalGithubIntegrationDeleteParams(bytes) +// bytes, err = githubIntegrationDeleteParams.Marshal() // -// triggerIntegrationSetupResponse, err := UnmarshalTriggerIntegrationSetupResponse(bytes) -// bytes, err = triggerIntegrationSetupResponse.Marshal() +// githubIntegrationDeleteRequest, err := UnmarshalGithubIntegrationDeleteRequest(bytes) +// bytes, err = githubIntegrationDeleteRequest.Marshal() // -// triggerIntegrationUpdateParams, err := UnmarshalTriggerIntegrationUpdateParams(bytes) -// bytes, err = triggerIntegrationUpdateParams.Marshal() +// githubIntegrationDeleteResponse, err := UnmarshalGithubIntegrationDeleteResponse(bytes) +// bytes, err = githubIntegrationDeleteResponse.Marshal() // -// triggerIntegrationUpdateRequest, err := UnmarshalTriggerIntegrationUpdateRequest(bytes) -// bytes, err = triggerIntegrationUpdateRequest.Marshal() +// integrationExtractListParams, err := UnmarshalIntegrationExtractListParams(bytes) +// bytes, err = integrationExtractListParams.Marshal() // -// triggerIntegrationUpdateResponse, err := UnmarshalTriggerIntegrationUpdateResponse(bytes) -// bytes, err = triggerIntegrationUpdateResponse.Marshal() +// integrationExtractListResponse, err := UnmarshalIntegrationExtractListResponse(bytes) +// bytes, err = integrationExtractListResponse.Marshal() // -// triggerIntegrationCreateRequest, err := UnmarshalTriggerIntegrationCreateRequest(bytes) -// bytes, err = triggerIntegrationCreateRequest.Marshal() +// integrationExtractListStreamItem, err := UnmarshalIntegrationExtractListStreamItem(bytes) +// bytes, err = integrationExtractListStreamItem.Marshal() // -// triggerIntegrationCreateResponse, err := UnmarshalTriggerIntegrationCreateResponse(bytes) -// bytes, err = triggerIntegrationCreateResponse.Marshal() +// integrationExtractCreateRequest, err := UnmarshalIntegrationExtractCreateRequest(bytes) +// bytes, err = integrationExtractCreateRequest.Marshal() // -// triggerIntegrationListParams, err := UnmarshalTriggerIntegrationListParams(bytes) -// bytes, err = triggerIntegrationListParams.Marshal() +// integrationExtractCreateResponse, err := UnmarshalIntegrationExtractCreateResponse(bytes) +// bytes, err = integrationExtractCreateResponse.Marshal() // -// triggerIntegrationListResponse, err := UnmarshalTriggerIntegrationListResponse(bytes) -// bytes, err = triggerIntegrationListResponse.Marshal() +// integrationExtractUpdateParams, err := UnmarshalIntegrationExtractUpdateParams(bytes) +// bytes, err = integrationExtractUpdateParams.Marshal() // -// triggerIntegrationListStreamItem, err := UnmarshalTriggerIntegrationListStreamItem(bytes) -// bytes, err = triggerIntegrationListStreamItem.Marshal() +// integrationExtractUpdateRequest, err := UnmarshalIntegrationExtractUpdateRequest(bytes) +// bytes, err = integrationExtractUpdateRequest.Marshal() // -// integrationTwilioDeleteParams, err := UnmarshalIntegrationTwilioDeleteParams(bytes) -// bytes, err = integrationTwilioDeleteParams.Marshal() +// integrationExtractUpdateResponse, err := UnmarshalIntegrationExtractUpdateResponse(bytes) +// bytes, err = integrationExtractUpdateResponse.Marshal() // -// integrationTwilioDeleteRequest, err := UnmarshalIntegrationTwilioDeleteRequest(bytes) -// bytes, err = integrationTwilioDeleteRequest.Marshal() +// integrationExtractTriggerParams, err := UnmarshalIntegrationExtractTriggerParams(bytes) +// bytes, err = integrationExtractTriggerParams.Marshal() // -// integrationTwilioDeleteResponse, err := UnmarshalIntegrationTwilioDeleteResponse(bytes) -// bytes, err = integrationTwilioDeleteResponse.Marshal() +// integrationExtractTriggerRequest, err := UnmarshalIntegrationExtractTriggerRequest(bytes) +// bytes, err = integrationExtractTriggerRequest.Marshal() // -// integrationTwilioFetchParams, err := UnmarshalIntegrationTwilioFetchParams(bytes) -// bytes, err = integrationTwilioFetchParams.Marshal() +// integrationExtractTriggerResponse, err := UnmarshalIntegrationExtractTriggerResponse(bytes) +// bytes, err = integrationExtractTriggerResponse.Marshal() // -// integrationTwilioFetchResponse, err := UnmarshalIntegrationTwilioFetchResponse(bytes) -// bytes, err = integrationTwilioFetchResponse.Marshal() +// integrationExtractFetchParams, err := UnmarshalIntegrationExtractFetchParams(bytes) +// bytes, err = integrationExtractFetchParams.Marshal() // -// integrationTwilioSetupParams, err := UnmarshalIntegrationTwilioSetupParams(bytes) -// bytes, err = integrationTwilioSetupParams.Marshal() +// integrationExtractFetchResponse, err := UnmarshalIntegrationExtractFetchResponse(bytes) +// bytes, err = integrationExtractFetchResponse.Marshal() // -// integrationTwilioSetupRequest, err := UnmarshalIntegrationTwilioSetupRequest(bytes) -// bytes, err = integrationTwilioSetupRequest.Marshal() +// integrationExtractDeleteParams, err := UnmarshalIntegrationExtractDeleteParams(bytes) +// bytes, err = integrationExtractDeleteParams.Marshal() // -// integrationTwilioSetupResponse, err := UnmarshalIntegrationTwilioSetupResponse(bytes) -// bytes, err = integrationTwilioSetupResponse.Marshal() +// integrationExtractDeleteRequest, err := UnmarshalIntegrationExtractDeleteRequest(bytes) +// bytes, err = integrationExtractDeleteRequest.Marshal() // -// integrationTwilioUpdateParams, err := UnmarshalIntegrationTwilioUpdateParams(bytes) -// bytes, err = integrationTwilioUpdateParams.Marshal() +// integrationExtractDeleteResponse, err := UnmarshalIntegrationExtractDeleteResponse(bytes) +// bytes, err = integrationExtractDeleteResponse.Marshal() // -// integrationTwilioUpdateRequest, err := UnmarshalIntegrationTwilioUpdateRequest(bytes) -// bytes, err = integrationTwilioUpdateRequest.Marshal() +// extractIntegrationItemListParams, err := UnmarshalExtractIntegrationItemListParams(bytes) +// bytes, err = extractIntegrationItemListParams.Marshal() // -// integrationTwilioUpdateResponse, err := UnmarshalIntegrationTwilioUpdateResponse(bytes) -// bytes, err = integrationTwilioUpdateResponse.Marshal() +// extractIntegrationItemListResponse, err := UnmarshalExtractIntegrationItemListResponse(bytes) +// bytes, err = extractIntegrationItemListResponse.Marshal() // -// integrationTwilioCreateRequest, err := UnmarshalIntegrationTwilioCreateRequest(bytes) -// bytes, err = integrationTwilioCreateRequest.Marshal() +// extractIntegrationItemsExportParams, err := UnmarshalExtractIntegrationItemsExportParams(bytes) +// bytes, err = extractIntegrationItemsExportParams.Marshal() // -// integrationTwilioCreateResponse, err := UnmarshalIntegrationTwilioCreateResponse(bytes) -// bytes, err = integrationTwilioCreateResponse.Marshal() +// extractIntegrationItemsExportResponse, err := UnmarshalExtractIntegrationItemsExportResponse(bytes) +// bytes, err = extractIntegrationItemsExportResponse.Marshal() // -// integrationTwilioListParams, err := UnmarshalIntegrationTwilioListParams(bytes) -// bytes, err = integrationTwilioListParams.Marshal() +// emailIntegrationListParams, err := UnmarshalEmailIntegrationListParams(bytes) +// bytes, err = emailIntegrationListParams.Marshal() // -// integrationTwilioListResponse, err := UnmarshalIntegrationTwilioListResponse(bytes) -// bytes, err = integrationTwilioListResponse.Marshal() +// emailIntegrationListResponse, err := UnmarshalEmailIntegrationListResponse(bytes) +// bytes, err = emailIntegrationListResponse.Marshal() // -// integrationTwilioListStreamItem, err := UnmarshalIntegrationTwilioListStreamItem(bytes) -// bytes, err = integrationTwilioListStreamItem.Marshal() +// emailIntegrationListStreamItem, err := UnmarshalEmailIntegrationListStreamItem(bytes) +// bytes, err = emailIntegrationListStreamItem.Marshal() // -// integrationWhatsAppDeleteParams, err := UnmarshalIntegrationWhatsAppDeleteParams(bytes) -// bytes, err = integrationWhatsAppDeleteParams.Marshal() +// emailIntegrationCreateRequest, err := UnmarshalEmailIntegrationCreateRequest(bytes) +// bytes, err = emailIntegrationCreateRequest.Marshal() // -// integrationWhatsAppDeleteRequest, err := UnmarshalIntegrationWhatsAppDeleteRequest(bytes) -// bytes, err = integrationWhatsAppDeleteRequest.Marshal() +// emailIntegrationCreateResponse, err := UnmarshalEmailIntegrationCreateResponse(bytes) +// bytes, err = emailIntegrationCreateResponse.Marshal() // -// integrationWhatsAppDeleteResponse, err := UnmarshalIntegrationWhatsAppDeleteResponse(bytes) -// bytes, err = integrationWhatsAppDeleteResponse.Marshal() +// emailIntegrationUpdateParams, err := UnmarshalEmailIntegrationUpdateParams(bytes) +// bytes, err = emailIntegrationUpdateParams.Marshal() // -// integrationWhatsAppFetchParams, err := UnmarshalIntegrationWhatsAppFetchParams(bytes) -// bytes, err = integrationWhatsAppFetchParams.Marshal() +// emailIntegrationUpdateRequest, err := UnmarshalEmailIntegrationUpdateRequest(bytes) +// bytes, err = emailIntegrationUpdateRequest.Marshal() // -// integrationWhatsAppFetchResponse, err := UnmarshalIntegrationWhatsAppFetchResponse(bytes) -// bytes, err = integrationWhatsAppFetchResponse.Marshal() +// emailIntegrationUpdateResponse, err := UnmarshalEmailIntegrationUpdateResponse(bytes) +// bytes, err = emailIntegrationUpdateResponse.Marshal() // -// integrationWhatsAppSetupParams, err := UnmarshalIntegrationWhatsAppSetupParams(bytes) -// bytes, err = integrationWhatsAppSetupParams.Marshal() +// emailIntegrationSetupParams, err := UnmarshalEmailIntegrationSetupParams(bytes) +// bytes, err = emailIntegrationSetupParams.Marshal() // -// integrationWhatsAppSetupRequest, err := UnmarshalIntegrationWhatsAppSetupRequest(bytes) -// bytes, err = integrationWhatsAppSetupRequest.Marshal() +// emailIntegrationSetupRequest, err := UnmarshalEmailIntegrationSetupRequest(bytes) +// bytes, err = emailIntegrationSetupRequest.Marshal() // -// integrationWhatsAppSetupResponse, err := UnmarshalIntegrationWhatsAppSetupResponse(bytes) -// bytes, err = integrationWhatsAppSetupResponse.Marshal() +// emailIntegrationSetupResponse, err := UnmarshalEmailIntegrationSetupResponse(bytes) +// bytes, err = emailIntegrationSetupResponse.Marshal() // -// integrationWhatsAppUpdateParams, err := UnmarshalIntegrationWhatsAppUpdateParams(bytes) -// bytes, err = integrationWhatsAppUpdateParams.Marshal() +// emailIntegrationFetchParams, err := UnmarshalEmailIntegrationFetchParams(bytes) +// bytes, err = emailIntegrationFetchParams.Marshal() // -// integrationWhatsAppUpdateRequest, err := UnmarshalIntegrationWhatsAppUpdateRequest(bytes) -// bytes, err = integrationWhatsAppUpdateRequest.Marshal() +// emailIntegrationFetchResponse, err := UnmarshalEmailIntegrationFetchResponse(bytes) +// bytes, err = emailIntegrationFetchResponse.Marshal() // -// integrationWhatsAppUpdateResponse, err := UnmarshalIntegrationWhatsAppUpdateResponse(bytes) -// bytes, err = integrationWhatsAppUpdateResponse.Marshal() +// emailIntegrationDeleteParams, err := UnmarshalEmailIntegrationDeleteParams(bytes) +// bytes, err = emailIntegrationDeleteParams.Marshal() // -// integrationWhatsAppCreateRequest, err := UnmarshalIntegrationWhatsAppCreateRequest(bytes) -// bytes, err = integrationWhatsAppCreateRequest.Marshal() +// emailIntegrationDeleteRequest, err := UnmarshalEmailIntegrationDeleteRequest(bytes) +// bytes, err = emailIntegrationDeleteRequest.Marshal() // -// integrationWhatsAppCreateResponse, err := UnmarshalIntegrationWhatsAppCreateResponse(bytes) -// bytes, err = integrationWhatsAppCreateResponse.Marshal() +// emailIntegrationDeleteResponse, err := UnmarshalEmailIntegrationDeleteResponse(bytes) +// bytes, err = emailIntegrationDeleteResponse.Marshal() // -// integrationWhatsAppListParams, err := UnmarshalIntegrationWhatsAppListParams(bytes) -// bytes, err = integrationWhatsAppListParams.Marshal() +// integrationDiscordListParams, err := UnmarshalIntegrationDiscordListParams(bytes) +// bytes, err = integrationDiscordListParams.Marshal() // -// integrationWhatsAppListResponse, err := UnmarshalIntegrationWhatsAppListResponse(bytes) -// bytes, err = integrationWhatsAppListResponse.Marshal() +// integrationDiscordListResponse, err := UnmarshalIntegrationDiscordListResponse(bytes) +// bytes, err = integrationDiscordListResponse.Marshal() // -// integrationWhatsAppListStreamItem, err := UnmarshalIntegrationWhatsAppListStreamItem(bytes) -// bytes, err = integrationWhatsAppListStreamItem.Marshal() +// integrationDiscordListStreamItem, err := UnmarshalIntegrationDiscordListStreamItem(bytes) +// bytes, err = integrationDiscordListStreamItem.Marshal() // -// integrationWidgetCloneParams, err := UnmarshalIntegrationWidgetCloneParams(bytes) -// bytes, err = integrationWidgetCloneParams.Marshal() +// integrationDiscordCreateRequest, err := UnmarshalIntegrationDiscordCreateRequest(bytes) +// bytes, err = integrationDiscordCreateRequest.Marshal() // -// integrationWidgetCloneRequest, err := UnmarshalIntegrationWidgetCloneRequest(bytes) -// bytes, err = integrationWidgetCloneRequest.Marshal() +// integrationDiscordCreateResponse, err := UnmarshalIntegrationDiscordCreateResponse(bytes) +// bytes, err = integrationDiscordCreateResponse.Marshal() // -// integrationWidgetCloneResponse, err := UnmarshalIntegrationWidgetCloneResponse(bytes) -// bytes, err = integrationWidgetCloneResponse.Marshal() +// integrationDiscordUpdateParams, err := UnmarshalIntegrationDiscordUpdateParams(bytes) +// bytes, err = integrationDiscordUpdateParams.Marshal() // -// integrationWidgetDeleteParams, err := UnmarshalIntegrationWidgetDeleteParams(bytes) -// bytes, err = integrationWidgetDeleteParams.Marshal() +// integrationDiscordUpdateRequest, err := UnmarshalIntegrationDiscordUpdateRequest(bytes) +// bytes, err = integrationDiscordUpdateRequest.Marshal() // -// integrationWidgetDeleteRequest, err := UnmarshalIntegrationWidgetDeleteRequest(bytes) -// bytes, err = integrationWidgetDeleteRequest.Marshal() +// integrationDiscordUpdateResponse, err := UnmarshalIntegrationDiscordUpdateResponse(bytes) +// bytes, err = integrationDiscordUpdateResponse.Marshal() // -// integrationWidgetDeleteResponse, err := UnmarshalIntegrationWidgetDeleteResponse(bytes) -// bytes, err = integrationWidgetDeleteResponse.Marshal() +// integrationDiscordSetupParams, err := UnmarshalIntegrationDiscordSetupParams(bytes) +// bytes, err = integrationDiscordSetupParams.Marshal() // -// integrationWidgetFetchParams, err := UnmarshalIntegrationWidgetFetchParams(bytes) -// bytes, err = integrationWidgetFetchParams.Marshal() +// integrationDiscordSetupRequest, err := UnmarshalIntegrationDiscordSetupRequest(bytes) +// bytes, err = integrationDiscordSetupRequest.Marshal() // -// integrationWidgetFetchResponse, err := UnmarshalIntegrationWidgetFetchResponse(bytes) -// bytes, err = integrationWidgetFetchResponse.Marshal() +// integrationDiscordSetupResponse, err := UnmarshalIntegrationDiscordSetupResponse(bytes) +// bytes, err = integrationDiscordSetupResponse.Marshal() // -// widgetIntegrationFileAttachParams, err := UnmarshalWidgetIntegrationFileAttachParams(bytes) -// bytes, err = widgetIntegrationFileAttachParams.Marshal() +// integrationDiscordFetchParams, err := UnmarshalIntegrationDiscordFetchParams(bytes) +// bytes, err = integrationDiscordFetchParams.Marshal() // -// widgetIntegrationFileAttachRequest, err := UnmarshalWidgetIntegrationFileAttachRequest(bytes) -// bytes, err = widgetIntegrationFileAttachRequest.Marshal() +// integrationDiscordFetchResponse, err := UnmarshalIntegrationDiscordFetchResponse(bytes) +// bytes, err = integrationDiscordFetchResponse.Marshal() // -// widgetIntegrationFileAttachResponse, err := UnmarshalWidgetIntegrationFileAttachResponse(bytes) -// bytes, err = widgetIntegrationFileAttachResponse.Marshal() +// integrationDiscordDeleteParams, err := UnmarshalIntegrationDiscordDeleteParams(bytes) +// bytes, err = integrationDiscordDeleteParams.Marshal() // -// widgetIntegrationFileDetachParams, err := UnmarshalWidgetIntegrationFileDetachParams(bytes) -// bytes, err = widgetIntegrationFileDetachParams.Marshal() +// integrationDiscordDeleteRequest, err := UnmarshalIntegrationDiscordDeleteRequest(bytes) +// bytes, err = integrationDiscordDeleteRequest.Marshal() // -// widgetIntegrationFileDetachResponse, err := UnmarshalWidgetIntegrationFileDetachResponse(bytes) -// bytes, err = widgetIntegrationFileDetachResponse.Marshal() +// integrationDiscordDeleteResponse, err := UnmarshalIntegrationDiscordDeleteResponse(bytes) +// bytes, err = integrationDiscordDeleteResponse.Marshal() // -// integrationWidgetSetupParams, err := UnmarshalIntegrationWidgetSetupParams(bytes) -// bytes, err = integrationWidgetSetupParams.Marshal() +// fileListParams, err := UnmarshalFileListParams(bytes) +// bytes, err = fileListParams.Marshal() // -// integrationWidgetSetupRequest, err := UnmarshalIntegrationWidgetSetupRequest(bytes) -// bytes, err = integrationWidgetSetupRequest.Marshal() +// fileListResponse, err := UnmarshalFileListResponse(bytes) +// bytes, err = fileListResponse.Marshal() // -// integrationWidgetSetupResponse, err := UnmarshalIntegrationWidgetSetupResponse(bytes) -// bytes, err = integrationWidgetSetupResponse.Marshal() +// fileListStreamItem, err := UnmarshalFileListStreamItem(bytes) +// bytes, err = fileListStreamItem.Marshal() // -// integrationWidgetUpdateParams, err := UnmarshalIntegrationWidgetUpdateParams(bytes) -// bytes, err = integrationWidgetUpdateParams.Marshal() +// fileCreateRequest, err := UnmarshalFileCreateRequest(bytes) +// bytes, err = fileCreateRequest.Marshal() // -// integrationWidgetUpdateRequest, err := UnmarshalIntegrationWidgetUpdateRequest(bytes) -// bytes, err = integrationWidgetUpdateRequest.Marshal() +// fileCreateResponse, err := UnmarshalFileCreateResponse(bytes) +// bytes, err = fileCreateResponse.Marshal() // -// integrationWidgetUpdateResponse, err := UnmarshalIntegrationWidgetUpdateResponse(bytes) -// bytes, err = integrationWidgetUpdateResponse.Marshal() +// fileUploadParams, err := UnmarshalFileUploadParams(bytes) +// bytes, err = fileUploadParams.Marshal() // -// integrationWidgetCreateRequest, err := UnmarshalIntegrationWidgetCreateRequest(bytes) -// bytes, err = integrationWidgetCreateRequest.Marshal() +// fileUploadRequest, err := UnmarshalFileUploadRequest(bytes) +// bytes, err = fileUploadRequest.Marshal() // -// integrationWidgetCreateResponse, err := UnmarshalIntegrationWidgetCreateResponse(bytes) -// bytes, err = integrationWidgetCreateResponse.Marshal() +// fileUploadResponse, err := UnmarshalFileUploadResponse(bytes) +// bytes, err = fileUploadResponse.Marshal() // -// integrationWidgetListParams, err := UnmarshalIntegrationWidgetListParams(bytes) -// bytes, err = integrationWidgetListParams.Marshal() +// fileUpdateParams, err := UnmarshalFileUpdateParams(bytes) +// bytes, err = fileUpdateParams.Marshal() // -// integrationWidgetListResponse, err := UnmarshalIntegrationWidgetListResponse(bytes) -// bytes, err = integrationWidgetListResponse.Marshal() +// fileUpdateRequest, err := UnmarshalFileUpdateRequest(bytes) +// bytes, err = fileUpdateRequest.Marshal() // -// integrationWidgetListStreamItem, err := UnmarshalIntegrationWidgetListStreamItem(bytes) -// bytes, err = integrationWidgetListStreamItem.Marshal() +// fileUpdateResponse, err := UnmarshalFileUpdateResponse(bytes) +// bytes, err = fileUpdateResponse.Marshal() // -// magicFromPromptGenerateParams, err := UnmarshalMagicFromPromptGenerateParams(bytes) -// bytes, err = magicFromPromptGenerateParams.Marshal() +// fileSyncParams, err := UnmarshalFileSyncParams(bytes) +// bytes, err = fileSyncParams.Marshal() // -// magicFromPromptGenerateRequest, err := UnmarshalMagicFromPromptGenerateRequest(bytes) -// bytes, err = magicFromPromptGenerateRequest.Marshal() +// fileSyncRequest, err := UnmarshalFileSyncRequest(bytes) +// bytes, err = fileSyncRequest.Marshal() // -// magicFromPromptGenerateResponse, err := UnmarshalMagicFromPromptGenerateResponse(bytes) -// bytes, err = magicFromPromptGenerateResponse.Marshal() +// fileSyncResponse, err := UnmarshalFileSyncResponse(bytes) +// bytes, err = fileSyncResponse.Marshal() // -// magicFromPromptGenerateStreamItem, err := UnmarshalMagicFromPromptGenerateStreamItem(bytes) -// bytes, err = magicFromPromptGenerateStreamItem.Marshal() +// fileFetchParams, err := UnmarshalFileFetchParams(bytes) +// bytes, err = fileFetchParams.Marshal() // -// magicPromptListParams, err := UnmarshalMagicPromptListParams(bytes) -// bytes, err = magicPromptListParams.Marshal() +// fileFetchResponse, err := UnmarshalFileFetchResponse(bytes) +// bytes, err = fileFetchResponse.Marshal() // -// magicPromptListResponse, err := UnmarshalMagicPromptListResponse(bytes) -// bytes, err = magicPromptListResponse.Marshal() +// fileDownloadParams, err := UnmarshalFileDownloadParams(bytes) +// bytes, err = fileDownloadParams.Marshal() // -// magicPromptListStreamItem, err := UnmarshalMagicPromptListStreamItem(bytes) -// bytes, err = magicPromptListStreamItem.Marshal() +// fileDownloadResponse, err := UnmarshalFileDownloadResponse(bytes) +// bytes, err = fileDownloadResponse.Marshal() // -// memoryDeleteParams, err := UnmarshalMemoryDeleteParams(bytes) -// bytes, err = memoryDeleteParams.Marshal() +// fileDeleteParams, err := UnmarshalFileDeleteParams(bytes) +// bytes, err = fileDeleteParams.Marshal() // -// memoryDeleteRequest, err := UnmarshalMemoryDeleteRequest(bytes) -// bytes, err = memoryDeleteRequest.Marshal() +// fileDeleteRequest, err := UnmarshalFileDeleteRequest(bytes) +// bytes, err = fileDeleteRequest.Marshal() // -// memoryDeleteResponse, err := UnmarshalMemoryDeleteResponse(bytes) -// bytes, err = memoryDeleteResponse.Marshal() +// fileDeleteResponse, err := UnmarshalFileDeleteResponse(bytes) +// bytes, err = fileDeleteResponse.Marshal() // -// memoryFetchParams, err := UnmarshalMemoryFetchParams(bytes) -// bytes, err = memoryFetchParams.Marshal() +// eventLogsSubscribeRequest, err := UnmarshalEventLogsSubscribeRequest(bytes) +// bytes, err = eventLogsSubscribeRequest.Marshal() // -// memoryFetchResponse, err := UnmarshalMemoryFetchResponse(bytes) -// bytes, err = memoryFetchResponse.Marshal() +// eventLogsSubscribeStreamItem, err := UnmarshalEventLogsSubscribeStreamItem(bytes) +// bytes, err = eventLogsSubscribeStreamItem.Marshal() // -// memoryUpdateParams, err := UnmarshalMemoryUpdateParams(bytes) -// bytes, err = memoryUpdateParams.Marshal() +// eventLogListParams, err := UnmarshalEventLogListParams(bytes) +// bytes, err = eventLogListParams.Marshal() // -// memoryUpdateRequest, err := UnmarshalMemoryUpdateRequest(bytes) -// bytes, err = memoryUpdateRequest.Marshal() +// eventLogListResponse, err := UnmarshalEventLogListResponse(bytes) +// bytes, err = eventLogListResponse.Marshal() // -// memoryUpdateResponse, err := UnmarshalMemoryUpdateResponse(bytes) -// bytes, err = memoryUpdateResponse.Marshal() +// eventLogListStreamItem, err := UnmarshalEventLogListStreamItem(bytes) +// bytes, err = eventLogListStreamItem.Marshal() // -// memoryCreateRequest, err := UnmarshalMemoryCreateRequest(bytes) -// bytes, err = memoryCreateRequest.Marshal() +// eventLogsExportParams, err := UnmarshalEventLogsExportParams(bytes) +// bytes, err = eventLogsExportParams.Marshal() // -// memoryCreateResponse, err := UnmarshalMemoryCreateResponse(bytes) -// bytes, err = memoryCreateResponse.Marshal() +// eventLogsExportResponse, err := UnmarshalEventLogsExportResponse(bytes) +// bytes, err = eventLogsExportResponse.Marshal() // -// memoriesExportParams, err := UnmarshalMemoriesExportParams(bytes) -// bytes, err = memoriesExportParams.Marshal() +// eventLogsExportStreamItem, err := UnmarshalEventLogsExportStreamItem(bytes) +// bytes, err = eventLogsExportStreamItem.Marshal() // -// memoriesExportResponse, err := UnmarshalMemoriesExportResponse(bytes) -// bytes, err = memoriesExportResponse.Marshal() +// decisionCreateRequest, err := UnmarshalDecisionCreateRequest(bytes) +// bytes, err = decisionCreateRequest.Marshal() // -// memoriesExportStreamItem, err := UnmarshalMemoriesExportStreamItem(bytes) -// bytes, err = memoriesExportStreamItem.Marshal() +// decisionCreateResponse, err := UnmarshalDecisionCreateResponse(bytes) +// bytes, err = decisionCreateResponse.Marshal() // -// memoryListParams, err := UnmarshalMemoryListParams(bytes) -// bytes, err = memoryListParams.Marshal() +// datasetListParams, err := UnmarshalDatasetListParams(bytes) +// bytes, err = datasetListParams.Marshal() // -// memoryListResponse, err := UnmarshalMemoryListResponse(bytes) -// bytes, err = memoryListResponse.Marshal() +// datasetListResponse, err := UnmarshalDatasetListResponse(bytes) +// bytes, err = datasetListResponse.Marshal() // -// memoryListStreamItem, err := UnmarshalMemoryListStreamItem(bytes) -// bytes, err = memoryListStreamItem.Marshal() +// datasetListStreamItem, err := UnmarshalDatasetListStreamItem(bytes) +// bytes, err = datasetListStreamItem.Marshal() // -// memorySearchRequest, err := UnmarshalMemorySearchRequest(bytes) -// bytes, err = memorySearchRequest.Marshal() +// datasetCreateRequest, err := UnmarshalDatasetCreateRequest(bytes) +// bytes, err = datasetCreateRequest.Marshal() // -// memorySearchResponse, err := UnmarshalMemorySearchResponse(bytes) -// bytes, err = memorySearchResponse.Marshal() +// datasetCreateResponse, err := UnmarshalDatasetCreateResponse(bytes) +// bytes, err = datasetCreateResponse.Marshal() // -// partnerUserContextDeleteParams, err := UnmarshalPartnerUserContextDeleteParams(bytes) -// bytes, err = partnerUserContextDeleteParams.Marshal() +// datasetUpdateParams, err := UnmarshalDatasetUpdateParams(bytes) +// bytes, err = datasetUpdateParams.Marshal() // -// partnerUserContextDeleteRequest, err := UnmarshalPartnerUserContextDeleteRequest(bytes) -// bytes, err = partnerUserContextDeleteRequest.Marshal() +// datasetUpdateRequest, err := UnmarshalDatasetUpdateRequest(bytes) +// bytes, err = datasetUpdateRequest.Marshal() // -// partnerUserContextDeleteResponse, err := UnmarshalPartnerUserContextDeleteResponse(bytes) -// bytes, err = partnerUserContextDeleteResponse.Marshal() +// datasetUpdateResponse, err := UnmarshalDatasetUpdateResponse(bytes) +// bytes, err = datasetUpdateResponse.Marshal() // -// partnerUserContextFetchParams, err := UnmarshalPartnerUserContextFetchParams(bytes) -// bytes, err = partnerUserContextFetchParams.Marshal() +// datasetSearchParams, err := UnmarshalDatasetSearchParams(bytes) +// bytes, err = datasetSearchParams.Marshal() // -// partnerUserContextFetchResponse, err := UnmarshalPartnerUserContextFetchResponse(bytes) -// bytes, err = partnerUserContextFetchResponse.Marshal() +// datasetSearchRequest, err := UnmarshalDatasetSearchRequest(bytes) +// bytes, err = datasetSearchRequest.Marshal() // -// partnerUserContextUpdateParams, err := UnmarshalPartnerUserContextUpdateParams(bytes) -// bytes, err = partnerUserContextUpdateParams.Marshal() +// datasetSearchResponse, err := UnmarshalDatasetSearchResponse(bytes) +// bytes, err = datasetSearchResponse.Marshal() // -// partnerUserContextUpdateRequest, err := UnmarshalPartnerUserContextUpdateRequest(bytes) -// bytes, err = partnerUserContextUpdateRequest.Marshal() +// datasetFetchParams, err := UnmarshalDatasetFetchParams(bytes) +// bytes, err = datasetFetchParams.Marshal() // -// partnerUserContextUpdateResponse, err := UnmarshalPartnerUserContextUpdateResponse(bytes) -// bytes, err = partnerUserContextUpdateResponse.Marshal() +// datasetFetchResponse, err := UnmarshalDatasetFetchResponse(bytes) +// bytes, err = datasetFetchResponse.Marshal() // -// partnerUserContextCreateParams, err := UnmarshalPartnerUserContextCreateParams(bytes) -// bytes, err = partnerUserContextCreateParams.Marshal() +// datasetDeleteParams, err := UnmarshalDatasetDeleteParams(bytes) +// bytes, err = datasetDeleteParams.Marshal() // -// partnerUserContextCreateRequest, err := UnmarshalPartnerUserContextCreateRequest(bytes) -// bytes, err = partnerUserContextCreateRequest.Marshal() +// datasetDeleteRequest, err := UnmarshalDatasetDeleteRequest(bytes) +// bytes, err = datasetDeleteRequest.Marshal() // -// partnerUserContextCreateResponse, err := UnmarshalPartnerUserContextCreateResponse(bytes) -// bytes, err = partnerUserContextCreateResponse.Marshal() +// datasetDeleteResponse, err := UnmarshalDatasetDeleteResponse(bytes) +// bytes, err = datasetDeleteResponse.Marshal() // -// partnerUserContextListParams, err := UnmarshalPartnerUserContextListParams(bytes) -// bytes, err = partnerUserContextListParams.Marshal() +// datasetRecordListParams, err := UnmarshalDatasetRecordListParams(bytes) +// bytes, err = datasetRecordListParams.Marshal() // -// partnerUserContextListResponse, err := UnmarshalPartnerUserContextListResponse(bytes) -// bytes, err = partnerUserContextListResponse.Marshal() +// datasetRecordListResponse, err := UnmarshalDatasetRecordListResponse(bytes) +// bytes, err = datasetRecordListResponse.Marshal() // -// partnerUserContextListStreamItem, err := UnmarshalPartnerUserContextListStreamItem(bytes) -// bytes, err = partnerUserContextListStreamItem.Marshal() +// datasetRecordListStreamItem, err := UnmarshalDatasetRecordListStreamItem(bytes) +// bytes, err = datasetRecordListStreamItem.Marshal() // -// partnerUserDeleteParams, err := UnmarshalPartnerUserDeleteParams(bytes) -// bytes, err = partnerUserDeleteParams.Marshal() +// datasetRecordsExportParams, err := UnmarshalDatasetRecordsExportParams(bytes) +// bytes, err = datasetRecordsExportParams.Marshal() // -// partnerUserDeleteRequest, err := UnmarshalPartnerUserDeleteRequest(bytes) -// bytes, err = partnerUserDeleteRequest.Marshal() +// datasetRecordsExportResponse, err := UnmarshalDatasetRecordsExportResponse(bytes) +// bytes, err = datasetRecordsExportResponse.Marshal() // -// partnerUserDeleteResponse, err := UnmarshalPartnerUserDeleteResponse(bytes) -// bytes, err = partnerUserDeleteResponse.Marshal() +// datasetRecordsExportStreamItem, err := UnmarshalDatasetRecordsExportStreamItem(bytes) +// bytes, err = datasetRecordsExportStreamItem.Marshal() // -// partnerUserFetchParams, err := UnmarshalPartnerUserFetchParams(bytes) -// bytes, err = partnerUserFetchParams.Marshal() +// datasetRecordCreateParams, err := UnmarshalDatasetRecordCreateParams(bytes) +// bytes, err = datasetRecordCreateParams.Marshal() // -// partnerUserFetchResponse, err := UnmarshalPartnerUserFetchResponse(bytes) -// bytes, err = partnerUserFetchResponse.Marshal() +// datasetRecordCreateRequest, err := UnmarshalDatasetRecordCreateRequest(bytes) +// bytes, err = datasetRecordCreateRequest.Marshal() // -// partnerUserSessionCreateParams, err := UnmarshalPartnerUserSessionCreateParams(bytes) -// bytes, err = partnerUserSessionCreateParams.Marshal() +// datasetRecordCreateResponse, err := UnmarshalDatasetRecordCreateResponse(bytes) +// bytes, err = datasetRecordCreateResponse.Marshal() // -// partnerUserSessionCreateRequest, err := UnmarshalPartnerUserSessionCreateRequest(bytes) -// bytes, err = partnerUserSessionCreateRequest.Marshal() +// datasetRecordUpdateParams, err := UnmarshalDatasetRecordUpdateParams(bytes) +// bytes, err = datasetRecordUpdateParams.Marshal() // -// partnerUserSessionCreateResponse, err := UnmarshalPartnerUserSessionCreateResponse(bytes) -// bytes, err = partnerUserSessionCreateResponse.Marshal() +// datasetRecordUpdateRequest, err := UnmarshalDatasetRecordUpdateRequest(bytes) +// bytes, err = datasetRecordUpdateRequest.Marshal() // -// partnerUserTokenDeleteParams, err := UnmarshalPartnerUserTokenDeleteParams(bytes) -// bytes, err = partnerUserTokenDeleteParams.Marshal() +// datasetRecordUpdateResponse, err := UnmarshalDatasetRecordUpdateResponse(bytes) +// bytes, err = datasetRecordUpdateResponse.Marshal() // -// partnerUserTokenDeleteRequest, err := UnmarshalPartnerUserTokenDeleteRequest(bytes) -// bytes, err = partnerUserTokenDeleteRequest.Marshal() +// datasetRecordFetchParams, err := UnmarshalDatasetRecordFetchParams(bytes) +// bytes, err = datasetRecordFetchParams.Marshal() // -// partnerUserTokenDeleteResponse, err := UnmarshalPartnerUserTokenDeleteResponse(bytes) -// bytes, err = partnerUserTokenDeleteResponse.Marshal() +// datasetRecordFetchResponse, err := UnmarshalDatasetRecordFetchResponse(bytes) +// bytes, err = datasetRecordFetchResponse.Marshal() // -// partnerUserTokenUpdateParams, err := UnmarshalPartnerUserTokenUpdateParams(bytes) -// bytes, err = partnerUserTokenUpdateParams.Marshal() +// datasetRecordDeleteParams, err := UnmarshalDatasetRecordDeleteParams(bytes) +// bytes, err = datasetRecordDeleteParams.Marshal() // -// partnerUserTokenUpdateRequest, err := UnmarshalPartnerUserTokenUpdateRequest(bytes) -// bytes, err = partnerUserTokenUpdateRequest.Marshal() +// datasetRecordDeleteRequest, err := UnmarshalDatasetRecordDeleteRequest(bytes) +// bytes, err = datasetRecordDeleteRequest.Marshal() // -// partnerUserTokenUpdateResponse, err := UnmarshalPartnerUserTokenUpdateResponse(bytes) -// bytes, err = partnerUserTokenUpdateResponse.Marshal() +// datasetRecordDeleteResponse, err := UnmarshalDatasetRecordDeleteResponse(bytes) +// bytes, err = datasetRecordDeleteResponse.Marshal() // -// partnerUserTokenCreateParams, err := UnmarshalPartnerUserTokenCreateParams(bytes) -// bytes, err = partnerUserTokenCreateParams.Marshal() +// datasetFileListParams, err := UnmarshalDatasetFileListParams(bytes) +// bytes, err = datasetFileListParams.Marshal() // -// partnerUserTokenCreateRequest, err := UnmarshalPartnerUserTokenCreateRequest(bytes) -// bytes, err = partnerUserTokenCreateRequest.Marshal() +// datasetFileListResponse, err := UnmarshalDatasetFileListResponse(bytes) +// bytes, err = datasetFileListResponse.Marshal() // -// partnerUserTokenCreateResponse, err := UnmarshalPartnerUserTokenCreateResponse(bytes) -// bytes, err = partnerUserTokenCreateResponse.Marshal() +// datasetFileListStreamItem, err := UnmarshalDatasetFileListStreamItem(bytes) +// bytes, err = datasetFileListStreamItem.Marshal() // -// partnerUserTokenListParams, err := UnmarshalPartnerUserTokenListParams(bytes) -// bytes, err = partnerUserTokenListParams.Marshal() +// datasetFileSyncParams, err := UnmarshalDatasetFileSyncParams(bytes) +// bytes, err = datasetFileSyncParams.Marshal() // -// partnerUserTokenListResponse, err := UnmarshalPartnerUserTokenListResponse(bytes) -// bytes, err = partnerUserTokenListResponse.Marshal() +// datasetFileSyncRequest, err := UnmarshalDatasetFileSyncRequest(bytes) +// bytes, err = datasetFileSyncRequest.Marshal() // -// partnerUserTokenListStreamItem, err := UnmarshalPartnerUserTokenListStreamItem(bytes) -// bytes, err = partnerUserTokenListStreamItem.Marshal() +// datasetFileSyncResponse, err := UnmarshalDatasetFileSyncResponse(bytes) +// bytes, err = datasetFileSyncResponse.Marshal() // -// partnerUserUpdateParams, err := UnmarshalPartnerUserUpdateParams(bytes) -// bytes, err = partnerUserUpdateParams.Marshal() +// datasetFileDetachParams, err := UnmarshalDatasetFileDetachParams(bytes) +// bytes, err = datasetFileDetachParams.Marshal() // -// partnerUserUpdateRequest, err := UnmarshalPartnerUserUpdateRequest(bytes) -// bytes, err = partnerUserUpdateRequest.Marshal() +// datasetFileDetachRequest, err := UnmarshalDatasetFileDetachRequest(bytes) +// bytes, err = datasetFileDetachRequest.Marshal() // -// partnerUserUpdateResponse, err := UnmarshalPartnerUserUpdateResponse(bytes) -// bytes, err = partnerUserUpdateResponse.Marshal() +// datasetFileDetachResponse, err := UnmarshalDatasetFileDetachResponse(bytes) +// bytes, err = datasetFileDetachResponse.Marshal() // -// partnerUserCreateRequest, err := UnmarshalPartnerUserCreateRequest(bytes) -// bytes, err = partnerUserCreateRequest.Marshal() +// datasetFileAttachParams, err := UnmarshalDatasetFileAttachParams(bytes) +// bytes, err = datasetFileAttachParams.Marshal() // -// partnerUserCreateResponse, err := UnmarshalPartnerUserCreateResponse(bytes) -// bytes, err = partnerUserCreateResponse.Marshal() +// datasetFileAttachRequest, err := UnmarshalDatasetFileAttachRequest(bytes) +// bytes, err = datasetFileAttachRequest.Marshal() // -// partnerUserListParams, err := UnmarshalPartnerUserListParams(bytes) -// bytes, err = partnerUserListParams.Marshal() +// datasetFileAttachResponse, err := UnmarshalDatasetFileAttachResponse(bytes) +// bytes, err = datasetFileAttachResponse.Marshal() // -// partnerUserListResponse, err := UnmarshalPartnerUserListResponse(bytes) -// bytes, err = partnerUserListResponse.Marshal() +// conversationListParams, err := UnmarshalConversationListParams(bytes) +// bytes, err = conversationListParams.Marshal() // -// partnerUserListStreamItem, err := UnmarshalPartnerUserListStreamItem(bytes) -// bytes, err = partnerUserListStreamItem.Marshal() +// conversationListResponse, err := UnmarshalConversationListResponse(bytes) +// bytes, err = conversationListResponse.Marshal() // -// platformAbilityListParams, err := UnmarshalPlatformAbilityListParams(bytes) -// bytes, err = platformAbilityListParams.Marshal() +// conversationListStreamItem, err := UnmarshalConversationListStreamItem(bytes) +// bytes, err = conversationListStreamItem.Marshal() // -// platformAbilityListResponse, err := UnmarshalPlatformAbilityListResponse(bytes) -// bytes, err = platformAbilityListResponse.Marshal() +// conversationsExportParams, err := UnmarshalConversationsExportParams(bytes) +// bytes, err = conversationsExportParams.Marshal() // -// platformAbilityListStreamItem, err := UnmarshalPlatformAbilityListStreamItem(bytes) -// bytes, err = platformAbilityListStreamItem.Marshal() +// conversationsExportResponse, err := UnmarshalConversationsExportResponse(bytes) +// bytes, err = conversationsExportResponse.Marshal() // -// platformAbilitiesSearchRequest, err := UnmarshalPlatformAbilitiesSearchRequest(bytes) -// bytes, err = platformAbilitiesSearchRequest.Marshal() +// conversationsExportStreamItem, err := UnmarshalConversationsExportStreamItem(bytes) +// bytes, err = conversationsExportStreamItem.Marshal() // -// platformAbilitiesSearchResponse, err := UnmarshalPlatformAbilitiesSearchResponse(bytes) -// bytes, err = platformAbilitiesSearchResponse.Marshal() +// conversationDispatchRequest, err := UnmarshalConversationDispatchRequest(bytes) +// bytes, err = conversationDispatchRequest.Marshal() // -// platformActionListParams, err := UnmarshalPlatformActionListParams(bytes) -// bytes, err = platformActionListParams.Marshal() +// conversationDispatchResponse, err := UnmarshalConversationDispatchResponse(bytes) +// bytes, err = conversationDispatchResponse.Marshal() // -// platformActionListResponse, err := UnmarshalPlatformActionListResponse(bytes) -// bytes, err = platformActionListResponse.Marshal() +// conversationCreateRequest, err := UnmarshalConversationCreateRequest(bytes) +// bytes, err = conversationCreateRequest.Marshal() // -// platformActionListStreamItem, err := UnmarshalPlatformActionListStreamItem(bytes) -// bytes, err = platformActionListStreamItem.Marshal() +// conversationCreateResponse, err := UnmarshalConversationCreateResponse(bytes) +// bytes, err = conversationCreateResponse.Marshal() // -// platformDocFetchParams, err := UnmarshalPlatformDocFetchParams(bytes) -// bytes, err = platformDocFetchParams.Marshal() +// conversationCompleteRequest, err := UnmarshalConversationCompleteRequest(bytes) +// bytes, err = conversationCompleteRequest.Marshal() // -// platformDocFetchResponse, err := UnmarshalPlatformDocFetchResponse(bytes) -// bytes, err = platformDocFetchResponse.Marshal() +// conversationCompleteResponse, err := UnmarshalConversationCompleteResponse(bytes) +// bytes, err = conversationCompleteResponse.Marshal() // -// platformDocListParams, err := UnmarshalPlatformDocListParams(bytes) -// bytes, err = platformDocListParams.Marshal() +// conversationCompleteStreamItem, err := UnmarshalConversationCompleteStreamItem(bytes) +// bytes, err = conversationCompleteStreamItem.Marshal() // -// platformDocListResponse, err := UnmarshalPlatformDocListResponse(bytes) -// bytes, err = platformDocListResponse.Marshal() +// conversationStatelessCompactRequest, err := UnmarshalConversationStatelessCompactRequest(bytes) +// bytes, err = conversationStatelessCompactRequest.Marshal() // -// platformDocListStreamItem, err := UnmarshalPlatformDocListStreamItem(bytes) -// bytes, err = platformDocListStreamItem.Marshal() +// conversationStatelessCompactResponse, err := UnmarshalConversationStatelessCompactResponse(bytes) +// bytes, err = conversationStatelessCompactResponse.Marshal() // -// platformDocsSearchRequest, err := UnmarshalPlatformDocsSearchRequest(bytes) -// bytes, err = platformDocsSearchRequest.Marshal() +// conversationUpvoteParams, err := UnmarshalConversationUpvoteParams(bytes) +// bytes, err = conversationUpvoteParams.Marshal() // -// platformDocsSearchResponse, err := UnmarshalPlatformDocsSearchResponse(bytes) -// bytes, err = platformDocsSearchResponse.Marshal() +// conversationUpvoteRequest, err := UnmarshalConversationUpvoteRequest(bytes) +// bytes, err = conversationUpvoteRequest.Marshal() // -// platformExampleCloneParams, err := UnmarshalPlatformExampleCloneParams(bytes) -// bytes, err = platformExampleCloneParams.Marshal() +// conversationUpvoteResponse, err := UnmarshalConversationUpvoteResponse(bytes) +// bytes, err = conversationUpvoteResponse.Marshal() // -// platformExampleCloneRequest, err := UnmarshalPlatformExampleCloneRequest(bytes) -// bytes, err = platformExampleCloneRequest.Marshal() +// conversationUpdateParams, err := UnmarshalConversationUpdateParams(bytes) +// bytes, err = conversationUpdateParams.Marshal() // -// platformExampleCloneResponse, err := UnmarshalPlatformExampleCloneResponse(bytes) -// bytes, err = platformExampleCloneResponse.Marshal() +// conversationUpdateRequest, err := UnmarshalConversationUpdateRequest(bytes) +// bytes, err = conversationUpdateRequest.Marshal() // -// platformExampleFetchParams, err := UnmarshalPlatformExampleFetchParams(bytes) -// bytes, err = platformExampleFetchParams.Marshal() +// conversationUpdateResponse, err := UnmarshalConversationUpdateResponse(bytes) +// bytes, err = conversationUpdateResponse.Marshal() // -// platformExampleFetchResponse, err := UnmarshalPlatformExampleFetchResponse(bytes) -// bytes, err = platformExampleFetchResponse.Marshal() +// conversationMessageSendParams, err := UnmarshalConversationMessageSendParams(bytes) +// bytes, err = conversationMessageSendParams.Marshal() // -// platformExampleListParams, err := UnmarshalPlatformExampleListParams(bytes) -// bytes, err = platformExampleListParams.Marshal() +// conversationMessageSendRequest, err := UnmarshalConversationMessageSendRequest(bytes) +// bytes, err = conversationMessageSendRequest.Marshal() // -// platformExampleListResponse, err := UnmarshalPlatformExampleListResponse(bytes) -// bytes, err = platformExampleListResponse.Marshal() +// conversationMessageSendResponse, err := UnmarshalConversationMessageSendResponse(bytes) +// bytes, err = conversationMessageSendResponse.Marshal() // -// platformExampleListStreamItem, err := UnmarshalPlatformExampleListStreamItem(bytes) -// bytes, err = platformExampleListStreamItem.Marshal() +// conversationMessageSendStreamItem, err := UnmarshalConversationMessageSendStreamItem(bytes) +// bytes, err = conversationMessageSendStreamItem.Marshal() // -// platformExamplesSearchRequest, err := UnmarshalPlatformExamplesSearchRequest(bytes) -// bytes, err = platformExamplesSearchRequest.Marshal() +// conversationMessageReceiveParams, err := UnmarshalConversationMessageReceiveParams(bytes) +// bytes, err = conversationMessageReceiveParams.Marshal() // -// platformExamplesSearchResponse, err := UnmarshalPlatformExamplesSearchResponse(bytes) -// bytes, err = platformExamplesSearchResponse.Marshal() +// conversationMessageReceiveRequest, err := UnmarshalConversationMessageReceiveRequest(bytes) +// bytes, err = conversationMessageReceiveRequest.Marshal() // -// platformGuideFetchParams, err := UnmarshalPlatformGuideFetchParams(bytes) -// bytes, err = platformGuideFetchParams.Marshal() +// conversationMessageReceiveResponse, err := UnmarshalConversationMessageReceiveResponse(bytes) +// bytes, err = conversationMessageReceiveResponse.Marshal() // -// platformGuideFetchResponse, err := UnmarshalPlatformGuideFetchResponse(bytes) -// bytes, err = platformGuideFetchResponse.Marshal() +// conversationMessageReceiveStreamItem, err := UnmarshalConversationMessageReceiveStreamItem(bytes) +// bytes, err = conversationMessageReceiveStreamItem.Marshal() // -// platformGuideListParams, err := UnmarshalPlatformGuideListParams(bytes) -// bytes, err = platformGuideListParams.Marshal() +// conversationFetchParams, err := UnmarshalConversationFetchParams(bytes) +// bytes, err = conversationFetchParams.Marshal() // -// platformGuideListResponse, err := UnmarshalPlatformGuideListResponse(bytes) -// bytes, err = platformGuideListResponse.Marshal() +// conversationFetchResponse, err := UnmarshalConversationFetchResponse(bytes) +// bytes, err = conversationFetchResponse.Marshal() // -// platformGuideListStreamItem, err := UnmarshalPlatformGuideListStreamItem(bytes) -// bytes, err = platformGuideListStreamItem.Marshal() +// conversationDownvoteParams, err := UnmarshalConversationDownvoteParams(bytes) +// bytes, err = conversationDownvoteParams.Marshal() // -// platformGuidesSearchRequest, err := UnmarshalPlatformGuidesSearchRequest(bytes) -// bytes, err = platformGuidesSearchRequest.Marshal() +// conversationDownvoteRequest, err := UnmarshalConversationDownvoteRequest(bytes) +// bytes, err = conversationDownvoteRequest.Marshal() // -// platformGuidesSearchResponse, err := UnmarshalPlatformGuidesSearchResponse(bytes) -// bytes, err = platformGuidesSearchResponse.Marshal() +// conversationDownvoteResponse, err := UnmarshalConversationDownvoteResponse(bytes) +// bytes, err = conversationDownvoteResponse.Marshal() // -// platformManualFetchParams, err := UnmarshalPlatformManualFetchParams(bytes) -// bytes, err = platformManualFetchParams.Marshal() +// statefulConversationDispatchRequest, err := UnmarshalStatefulConversationDispatchRequest(bytes) +// bytes, err = statefulConversationDispatchRequest.Marshal() // -// platformManualFetchResponse, err := UnmarshalPlatformManualFetchResponse(bytes) -// bytes, err = platformManualFetchResponse.Marshal() +// statefulConversationDispatchResponse, err := UnmarshalStatefulConversationDispatchResponse(bytes) +// bytes, err = statefulConversationDispatchResponse.Marshal() // -// platformManualListParams, err := UnmarshalPlatformManualListParams(bytes) -// bytes, err = platformManualListParams.Marshal() +// conversationDeleteParams, err := UnmarshalConversationDeleteParams(bytes) +// bytes, err = conversationDeleteParams.Marshal() // -// platformManualListResponse, err := UnmarshalPlatformManualListResponse(bytes) -// bytes, err = platformManualListResponse.Marshal() +// conversationDeleteRequest, err := UnmarshalConversationDeleteRequest(bytes) +// bytes, err = conversationDeleteRequest.Marshal() // -// platformManualListStreamItem, err := UnmarshalPlatformManualListStreamItem(bytes) -// bytes, err = platformManualListStreamItem.Marshal() +// conversationDeleteResponse, err := UnmarshalConversationDeleteResponse(bytes) +// bytes, err = conversationDeleteResponse.Marshal() // -// platformManualsSearchRequest, err := UnmarshalPlatformManualsSearchRequest(bytes) -// bytes, err = platformManualsSearchRequest.Marshal() +// conversationMessageCompleteParams, err := UnmarshalConversationMessageCompleteParams(bytes) +// bytes, err = conversationMessageCompleteParams.Marshal() // -// platformManualsSearchResponse, err := UnmarshalPlatformManualsSearchResponse(bytes) -// bytes, err = platformManualsSearchResponse.Marshal() +// conversationMessageCompleteRequest, err := UnmarshalConversationMessageCompleteRequest(bytes) +// bytes, err = conversationMessageCompleteRequest.Marshal() // -// platformModelListParams, err := UnmarshalPlatformModelListParams(bytes) -// bytes, err = platformModelListParams.Marshal() +// conversationMessageCompleteResponse, err := UnmarshalConversationMessageCompleteResponse(bytes) +// bytes, err = conversationMessageCompleteResponse.Marshal() // -// platformModelListResponse, err := UnmarshalPlatformModelListResponse(bytes) -// bytes, err = platformModelListResponse.Marshal() +// conversationMessageCompleteStreamItem, err := UnmarshalConversationMessageCompleteStreamItem(bytes) +// bytes, err = conversationMessageCompleteStreamItem.Marshal() // -// platformModelListStreamItem, err := UnmarshalPlatformModelListStreamItem(bytes) -// bytes, err = platformModelListStreamItem.Marshal() +// conversationCompactParams, err := UnmarshalConversationCompactParams(bytes) +// bytes, err = conversationCompactParams.Marshal() // -// platformSecretListParams, err := UnmarshalPlatformSecretListParams(bytes) -// bytes, err = platformSecretListParams.Marshal() +// conversationCompactResponse, err := UnmarshalConversationCompactResponse(bytes) +// bytes, err = conversationCompactResponse.Marshal() // -// platformSecretListResponse, err := UnmarshalPlatformSecretListResponse(bytes) -// bytes, err = platformSecretListResponse.Marshal() +// conversationUsageFetchParams, err := UnmarshalConversationUsageFetchParams(bytes) +// bytes, err = conversationUsageFetchParams.Marshal() // -// platformSecretListStreamItem, err := UnmarshalPlatformSecretListStreamItem(bytes) -// bytes, err = platformSecretListStreamItem.Marshal() +// conversationUsageFetchResponse, err := UnmarshalConversationUsageFetchResponse(bytes) +// bytes, err = conversationUsageFetchResponse.Marshal() // -// platformSecretsSearchRequest, err := UnmarshalPlatformSecretsSearchRequest(bytes) -// bytes, err = platformSecretsSearchRequest.Marshal() +// conversationSessionCreateParams, err := UnmarshalConversationSessionCreateParams(bytes) +// bytes, err = conversationSessionCreateParams.Marshal() // -// platformSecretsSearchResponse, err := UnmarshalPlatformSecretsSearchResponse(bytes) -// bytes, err = platformSecretsSearchResponse.Marshal() +// conversationSessionCreateRequest, err := UnmarshalConversationSessionCreateRequest(bytes) +// bytes, err = conversationSessionCreateRequest.Marshal() // -// platformTutorialFetchParams, err := UnmarshalPlatformTutorialFetchParams(bytes) -// bytes, err = platformTutorialFetchParams.Marshal() +// conversationSessionCreateResponse, err := UnmarshalConversationSessionCreateResponse(bytes) +// bytes, err = conversationSessionCreateResponse.Marshal() // -// platformTutorialFetchResponse, err := UnmarshalPlatformTutorialFetchResponse(bytes) -// bytes, err = platformTutorialFetchResponse.Marshal() +// conversationMessageListParams, err := UnmarshalConversationMessageListParams(bytes) +// bytes, err = conversationMessageListParams.Marshal() // -// platformTutorialListParams, err := UnmarshalPlatformTutorialListParams(bytes) -// bytes, err = platformTutorialListParams.Marshal() +// conversationMessageListResponse, err := UnmarshalConversationMessageListResponse(bytes) +// bytes, err = conversationMessageListResponse.Marshal() // -// platformTutorialListResponse, err := UnmarshalPlatformTutorialListResponse(bytes) -// bytes, err = platformTutorialListResponse.Marshal() +// conversationMessageListStreamItem, err := UnmarshalConversationMessageListStreamItem(bytes) +// bytes, err = conversationMessageListStreamItem.Marshal() // -// platformTutorialListStreamItem, err := UnmarshalPlatformTutorialListStreamItem(bytes) -// bytes, err = platformTutorialListStreamItem.Marshal() +// conversationMessageCreateParams, err := UnmarshalConversationMessageCreateParams(bytes) +// bytes, err = conversationMessageCreateParams.Marshal() // -// platformTutorialsSearchRequest, err := UnmarshalPlatformTutorialsSearchRequest(bytes) -// bytes, err = platformTutorialsSearchRequest.Marshal() +// conversationMessageCreateRequest, err := UnmarshalConversationMessageCreateRequest(bytes) +// bytes, err = conversationMessageCreateRequest.Marshal() // -// platformTutorialsSearchResponse, err := UnmarshalPlatformTutorialsSearchResponse(bytes) -// bytes, err = platformTutorialsSearchResponse.Marshal() +// conversationMessageCreateResponse, err := UnmarshalConversationMessageCreateResponse(bytes) +// bytes, err = conversationMessageCreateResponse.Marshal() // -// policyDeleteParams, err := UnmarshalPolicyDeleteParams(bytes) -// bytes, err = policyDeleteParams.Marshal() +// conversationMessageUpvoteParams, err := UnmarshalConversationMessageUpvoteParams(bytes) +// bytes, err = conversationMessageUpvoteParams.Marshal() // -// policyDeleteRequest, err := UnmarshalPolicyDeleteRequest(bytes) -// bytes, err = policyDeleteRequest.Marshal() +// conversationMessageUpvoteRequest, err := UnmarshalConversationMessageUpvoteRequest(bytes) +// bytes, err = conversationMessageUpvoteRequest.Marshal() // -// policyDeleteResponse, err := UnmarshalPolicyDeleteResponse(bytes) -// bytes, err = policyDeleteResponse.Marshal() +// conversationMessageUpvoteResponse, err := UnmarshalConversationMessageUpvoteResponse(bytes) +// bytes, err = conversationMessageUpvoteResponse.Marshal() // -// policyFetchParams, err := UnmarshalPolicyFetchParams(bytes) -// bytes, err = policyFetchParams.Marshal() +// conversationMessageUpdateParams, err := UnmarshalConversationMessageUpdateParams(bytes) +// bytes, err = conversationMessageUpdateParams.Marshal() // -// policyFetchResponse, err := UnmarshalPolicyFetchResponse(bytes) -// bytes, err = policyFetchResponse.Marshal() +// conversationMessageUpdateRequest, err := UnmarshalConversationMessageUpdateRequest(bytes) +// bytes, err = conversationMessageUpdateRequest.Marshal() // -// policyUpdateParams, err := UnmarshalPolicyUpdateParams(bytes) -// bytes, err = policyUpdateParams.Marshal() +// conversationMessageUpdateResponse, err := UnmarshalConversationMessageUpdateResponse(bytes) +// bytes, err = conversationMessageUpdateResponse.Marshal() // -// policyUpdateRequest, err := UnmarshalPolicyUpdateRequest(bytes) -// bytes, err = policyUpdateRequest.Marshal() +// conversationMessageSynthesizeParams, err := UnmarshalConversationMessageSynthesizeParams(bytes) +// bytes, err = conversationMessageSynthesizeParams.Marshal() // -// policyUpdateResponse, err := UnmarshalPolicyUpdateResponse(bytes) -// bytes, err = policyUpdateResponse.Marshal() +// conversationMessageSynthesizeRequest, err := UnmarshalConversationMessageSynthesizeRequest(bytes) +// bytes, err = conversationMessageSynthesizeRequest.Marshal() // -// policyCreateRequest, err := UnmarshalPolicyCreateRequest(bytes) -// bytes, err = policyCreateRequest.Marshal() +// conversationMessageSynthesizeResponse, err := UnmarshalConversationMessageSynthesizeResponse(bytes) +// bytes, err = conversationMessageSynthesizeResponse.Marshal() // -// policyCreateResponse, err := UnmarshalPolicyCreateResponse(bytes) -// bytes, err = policyCreateResponse.Marshal() +// conversationMessageFetchParams, err := UnmarshalConversationMessageFetchParams(bytes) +// bytes, err = conversationMessageFetchParams.Marshal() // -// policyListParams, err := UnmarshalPolicyListParams(bytes) -// bytes, err = policyListParams.Marshal() +// conversationMessageFetchResponse, err := UnmarshalConversationMessageFetchResponse(bytes) +// bytes, err = conversationMessageFetchResponse.Marshal() // -// policyListResponse, err := UnmarshalPolicyListResponse(bytes) -// bytes, err = policyListResponse.Marshal() +// conversationMessageDownvoteParams, err := UnmarshalConversationMessageDownvoteParams(bytes) +// bytes, err = conversationMessageDownvoteParams.Marshal() // -// policyListStreamItem, err := UnmarshalPolicyListStreamItem(bytes) -// bytes, err = policyListStreamItem.Marshal() +// conversationMessageDownvoteRequest, err := UnmarshalConversationMessageDownvoteRequest(bytes) +// bytes, err = conversationMessageDownvoteRequest.Marshal() // -// portalDeleteParams, err := UnmarshalPortalDeleteParams(bytes) -// bytes, err = portalDeleteParams.Marshal() +// conversationMessageDownvoteResponse, err := UnmarshalConversationMessageDownvoteResponse(bytes) +// bytes, err = conversationMessageDownvoteResponse.Marshal() // -// portalDeleteRequest, err := UnmarshalPortalDeleteRequest(bytes) -// bytes, err = portalDeleteRequest.Marshal() +// conversationMessageDeleteParams, err := UnmarshalConversationMessageDeleteParams(bytes) +// bytes, err = conversationMessageDeleteParams.Marshal() // -// portalDeleteResponse, err := UnmarshalPortalDeleteResponse(bytes) -// bytes, err = portalDeleteResponse.Marshal() +// conversationMessageDeleteRequest, err := UnmarshalConversationMessageDeleteRequest(bytes) +// bytes, err = conversationMessageDeleteRequest.Marshal() // -// portalFetchParams, err := UnmarshalPortalFetchParams(bytes) -// bytes, err = portalFetchParams.Marshal() +// conversationMessageDeleteResponse, err := UnmarshalConversationMessageDeleteResponse(bytes) +// bytes, err = conversationMessageDeleteResponse.Marshal() // -// portalFetchResponse, err := UnmarshalPortalFetchResponse(bytes) -// bytes, err = portalFetchResponse.Marshal() +// conversationContactUpsertParams, err := UnmarshalConversationContactUpsertParams(bytes) +// bytes, err = conversationContactUpsertParams.Marshal() // -// portalUpdateParams, err := UnmarshalPortalUpdateParams(bytes) -// bytes, err = portalUpdateParams.Marshal() +// conversationContactUpsertRequest, err := UnmarshalConversationContactUpsertRequest(bytes) +// bytes, err = conversationContactUpsertRequest.Marshal() // -// portalUpdateRequest, err := UnmarshalPortalUpdateRequest(bytes) -// bytes, err = portalUpdateRequest.Marshal() +// conversationContactUpsertResponse, err := UnmarshalConversationContactUpsertResponse(bytes) +// bytes, err = conversationContactUpsertResponse.Marshal() // -// portalUpdateResponse, err := UnmarshalPortalUpdateResponse(bytes) -// bytes, err = portalUpdateResponse.Marshal() +// conversationChannelSubscribeRequest, err := UnmarshalConversationChannelSubscribeRequest(bytes) +// bytes, err = conversationChannelSubscribeRequest.Marshal() // -// portalCreateRequest, err := UnmarshalPortalCreateRequest(bytes) -// bytes, err = portalCreateRequest.Marshal() +// conversationChannelSubscribeStreamItem, err := UnmarshalConversationChannelSubscribeStreamItem(bytes) +// bytes, err = conversationChannelSubscribeStreamItem.Marshal() // -// portalCreateResponse, err := UnmarshalPortalCreateResponse(bytes) -// bytes, err = portalCreateResponse.Marshal() +// conversationAttachmentUploadParams, err := UnmarshalConversationAttachmentUploadParams(bytes) +// bytes, err = conversationAttachmentUploadParams.Marshal() // -// portalListParams, err := UnmarshalPortalListParams(bytes) -// bytes, err = portalListParams.Marshal() +// conversationAttachmentUploadRequest, err := UnmarshalConversationAttachmentUploadRequest(bytes) +// bytes, err = conversationAttachmentUploadRequest.Marshal() // -// portalListResponse, err := UnmarshalPortalListResponse(bytes) -// bytes, err = portalListResponse.Marshal() +// conversationAttachmentUploadResponse, err := UnmarshalConversationAttachmentUploadResponse(bytes) +// bytes, err = conversationAttachmentUploadResponse.Marshal() // -// portalListStreamItem, err := UnmarshalPortalListStreamItem(bytes) -// bytes, err = portalListStreamItem.Marshal() +// conversationAttachmentListParams, err := UnmarshalConversationAttachmentListParams(bytes) +// bytes, err = conversationAttachmentListParams.Marshal() // -// secretAuthenticateParams, err := UnmarshalSecretAuthenticateParams(bytes) -// bytes, err = secretAuthenticateParams.Marshal() +// conversationAttachmentListResponse, err := UnmarshalConversationAttachmentListResponse(bytes) +// bytes, err = conversationAttachmentListResponse.Marshal() // -// secretAuthenticateRequest, err := UnmarshalSecretAuthenticateRequest(bytes) -// bytes, err = secretAuthenticateRequest.Marshal() +// contactListParams, err := UnmarshalContactListParams(bytes) +// bytes, err = contactListParams.Marshal() // -// secretAuthenticateResponse, err := UnmarshalSecretAuthenticateResponse(bytes) -// bytes, err = secretAuthenticateResponse.Marshal() +// contactListResponse, err := UnmarshalContactListResponse(bytes) +// bytes, err = contactListResponse.Marshal() // -// secretDeleteParams, err := UnmarshalSecretDeleteParams(bytes) -// bytes, err = secretDeleteParams.Marshal() +// contactListStreamItem, err := UnmarshalContactListStreamItem(bytes) +// bytes, err = contactListStreamItem.Marshal() // -// secretDeleteRequest, err := UnmarshalSecretDeleteRequest(bytes) -// bytes, err = secretDeleteRequest.Marshal() +// contactsExportParams, err := UnmarshalContactsExportParams(bytes) +// bytes, err = contactsExportParams.Marshal() // -// secretDeleteResponse, err := UnmarshalSecretDeleteResponse(bytes) -// bytes, err = secretDeleteResponse.Marshal() +// contactsExportResponse, err := UnmarshalContactsExportResponse(bytes) +// bytes, err = contactsExportResponse.Marshal() // -// secretFetchParams, err := UnmarshalSecretFetchParams(bytes) -// bytes, err = secretFetchParams.Marshal() +// contactsExportStreamItem, err := UnmarshalContactsExportStreamItem(bytes) +// bytes, err = contactsExportStreamItem.Marshal() // -// secretFetchResponse, err := UnmarshalSecretFetchResponse(bytes) -// bytes, err = secretFetchResponse.Marshal() +// contactEnsureRequest, err := UnmarshalContactEnsureRequest(bytes) +// bytes, err = contactEnsureRequest.Marshal() // -// secretMintParams, err := UnmarshalSecretMintParams(bytes) -// bytes, err = secretMintParams.Marshal() +// contactEnsureResponse, err := UnmarshalContactEnsureResponse(bytes) +// bytes, err = contactEnsureResponse.Marshal() // -// secretMintResponse, err := UnmarshalSecretMintResponse(bytes) -// bytes, err = secretMintResponse.Marshal() +// contactCreateRequest, err := UnmarshalContactCreateRequest(bytes) +// bytes, err = contactCreateRequest.Marshal() // -// secretProxyParams, err := UnmarshalSecretProxyParams(bytes) -// bytes, err = secretProxyParams.Marshal() +// contactCreateResponse, err := UnmarshalContactCreateResponse(bytes) +// bytes, err = contactCreateResponse.Marshal() // -// secretProxyRequest, err := UnmarshalSecretProxyRequest(bytes) -// bytes, err = secretProxyRequest.Marshal() +// contactUpdateParams, err := UnmarshalContactUpdateParams(bytes) +// bytes, err = contactUpdateParams.Marshal() // -// secretRevokeParams, err := UnmarshalSecretRevokeParams(bytes) -// bytes, err = secretRevokeParams.Marshal() +// contactUpdateRequest, err := UnmarshalContactUpdateRequest(bytes) +// bytes, err = contactUpdateRequest.Marshal() // -// secretRevokeRequest, err := UnmarshalSecretRevokeRequest(bytes) -// bytes, err = secretRevokeRequest.Marshal() +// contactUpdateResponse, err := UnmarshalContactUpdateResponse(bytes) +// bytes, err = contactUpdateResponse.Marshal() // -// secretRevokeResponse, err := UnmarshalSecretRevokeResponse(bytes) -// bytes, err = secretRevokeResponse.Marshal() +// contactFetchParams, err := UnmarshalContactFetchParams(bytes) +// bytes, err = contactFetchParams.Marshal() // -// secretUpdateParams, err := UnmarshalSecretUpdateParams(bytes) -// bytes, err = secretUpdateParams.Marshal() +// contactFetchResponse, err := UnmarshalContactFetchResponse(bytes) +// bytes, err = contactFetchResponse.Marshal() // -// secretUpdateRequest, err := UnmarshalSecretUpdateRequest(bytes) -// bytes, err = secretUpdateRequest.Marshal() +// contactDeleteParams, err := UnmarshalContactDeleteParams(bytes) +// bytes, err = contactDeleteParams.Marshal() // -// secretUpdateResponse, err := UnmarshalSecretUpdateResponse(bytes) -// bytes, err = secretUpdateResponse.Marshal() +// contactDeleteRequest, err := UnmarshalContactDeleteRequest(bytes) +// bytes, err = contactDeleteRequest.Marshal() // -// secretVerifyParams, err := UnmarshalSecretVerifyParams(bytes) -// bytes, err = secretVerifyParams.Marshal() +// contactDeleteResponse, err := UnmarshalContactDeleteResponse(bytes) +// bytes, err = contactDeleteResponse.Marshal() // -// secretVerifyRequest, err := UnmarshalSecretVerifyRequest(bytes) -// bytes, err = secretVerifyRequest.Marshal() +// contactTaskListParams, err := UnmarshalContactTaskListParams(bytes) +// bytes, err = contactTaskListParams.Marshal() // -// secretVerifyResponse, err := UnmarshalSecretVerifyResponse(bytes) -// bytes, err = secretVerifyResponse.Marshal() +// contactTaskListResponse, err := UnmarshalContactTaskListResponse(bytes) +// bytes, err = contactTaskListResponse.Marshal() // -// secretCreateRequest, err := UnmarshalSecretCreateRequest(bytes) -// bytes, err = secretCreateRequest.Marshal() +// contactTaskListStreamItem, err := UnmarshalContactTaskListStreamItem(bytes) +// bytes, err = contactTaskListStreamItem.Marshal() // -// secretCreateResponse, err := UnmarshalSecretCreateResponse(bytes) -// bytes, err = secretCreateResponse.Marshal() +// contactSpaceListParams, err := UnmarshalContactSpaceListParams(bytes) +// bytes, err = contactSpaceListParams.Marshal() // -// secretListParams, err := UnmarshalSecretListParams(bytes) -// bytes, err = secretListParams.Marshal() +// contactSpaceListResponse, err := UnmarshalContactSpaceListResponse(bytes) +// bytes, err = contactSpaceListResponse.Marshal() // -// secretListResponse, err := UnmarshalSecretListResponse(bytes) -// bytes, err = secretListResponse.Marshal() +// contactSpaceListStreamItem, err := UnmarshalContactSpaceListStreamItem(bytes) +// bytes, err = contactSpaceListStreamItem.Marshal() // -// secretListStreamItem, err := UnmarshalSecretListStreamItem(bytes) -// bytes, err = secretListStreamItem.Marshal() +// contactSecretListParams, err := UnmarshalContactSecretListParams(bytes) +// bytes, err = contactSecretListParams.Marshal() // -// skillsetAbilityDeleteParams, err := UnmarshalSkillsetAbilityDeleteParams(bytes) -// bytes, err = skillsetAbilityDeleteParams.Marshal() +// contactSecretListResponse, err := UnmarshalContactSecretListResponse(bytes) +// bytes, err = contactSecretListResponse.Marshal() // -// skillsetAbilityDeleteRequest, err := UnmarshalSkillsetAbilityDeleteRequest(bytes) -// bytes, err = skillsetAbilityDeleteRequest.Marshal() +// contactSecretListStreamItem, err := UnmarshalContactSecretListStreamItem(bytes) +// bytes, err = contactSecretListStreamItem.Marshal() // -// skillsetAbilityDeleteResponse, err := UnmarshalSkillsetAbilityDeleteResponse(bytes) -// bytes, err = skillsetAbilityDeleteResponse.Marshal() +// contactSecretVerifyParams, err := UnmarshalContactSecretVerifyParams(bytes) +// bytes, err = contactSecretVerifyParams.Marshal() // -// skillsetAbilityExecuteParams, err := UnmarshalSkillsetAbilityExecuteParams(bytes) -// bytes, err = skillsetAbilityExecuteParams.Marshal() +// contactSecretVerifyRequest, err := UnmarshalContactSecretVerifyRequest(bytes) +// bytes, err = contactSecretVerifyRequest.Marshal() // -// skillsetAbilityExecuteRequest, err := UnmarshalSkillsetAbilityExecuteRequest(bytes) -// bytes, err = skillsetAbilityExecuteRequest.Marshal() +// contactSecretVerifyResponse, err := UnmarshalContactSecretVerifyResponse(bytes) +// bytes, err = contactSecretVerifyResponse.Marshal() // -// skillsetAbilityExecuteResponse, err := UnmarshalSkillsetAbilityExecuteResponse(bytes) -// bytes, err = skillsetAbilityExecuteResponse.Marshal() +// contactSecretRevokeParams, err := UnmarshalContactSecretRevokeParams(bytes) +// bytes, err = contactSecretRevokeParams.Marshal() // -// skillsetAbilityExecuteStreamItem, err := UnmarshalSkillsetAbilityExecuteStreamItem(bytes) -// bytes, err = skillsetAbilityExecuteStreamItem.Marshal() +// contactSecretRevokeRequest, err := UnmarshalContactSecretRevokeRequest(bytes) +// bytes, err = contactSecretRevokeRequest.Marshal() // -// skillsetAbilityFetchParams, err := UnmarshalSkillsetAbilityFetchParams(bytes) -// bytes, err = skillsetAbilityFetchParams.Marshal() +// contactSecretRevokeResponse, err := UnmarshalContactSecretRevokeResponse(bytes) +// bytes, err = contactSecretRevokeResponse.Marshal() // -// skillsetAbilityFetchResponse, err := UnmarshalSkillsetAbilityFetchResponse(bytes) -// bytes, err = skillsetAbilityFetchResponse.Marshal() +// contactSecretProxyParams, err := UnmarshalContactSecretProxyParams(bytes) +// bytes, err = contactSecretProxyParams.Marshal() // -// skillsetAbilityUpdateParams, err := UnmarshalSkillsetAbilityUpdateParams(bytes) -// bytes, err = skillsetAbilityUpdateParams.Marshal() +// contactSecretProxyRequest, err := UnmarshalContactSecretProxyRequest(bytes) +// bytes, err = contactSecretProxyRequest.Marshal() // -// skillsetAbilityUpdateRequest, err := UnmarshalSkillsetAbilityUpdateRequest(bytes) -// bytes, err = skillsetAbilityUpdateRequest.Marshal() +// contactSecretMintParams, err := UnmarshalContactSecretMintParams(bytes) +// bytes, err = contactSecretMintParams.Marshal() // -// skillsetAbilityUpdateResponse, err := UnmarshalSkillsetAbilityUpdateResponse(bytes) -// bytes, err = skillsetAbilityUpdateResponse.Marshal() +// contactSecretMintResponse, err := UnmarshalContactSecretMintResponse(bytes) +// bytes, err = contactSecretMintResponse.Marshal() // -// skillsetAbilityCreateParams, err := UnmarshalSkillsetAbilityCreateParams(bytes) -// bytes, err = skillsetAbilityCreateParams.Marshal() +// contactSecretAuthenticateParams, err := UnmarshalContactSecretAuthenticateParams(bytes) +// bytes, err = contactSecretAuthenticateParams.Marshal() // -// skillsetAbilityCreateRequest, err := UnmarshalSkillsetAbilityCreateRequest(bytes) -// bytes, err = skillsetAbilityCreateRequest.Marshal() +// contactSecretAuthenticateRequest, err := UnmarshalContactSecretAuthenticateRequest(bytes) +// bytes, err = contactSecretAuthenticateRequest.Marshal() // -// skillsetAbilityCreateResponse, err := UnmarshalSkillsetAbilityCreateResponse(bytes) -// bytes, err = skillsetAbilityCreateResponse.Marshal() +// contactSecretAuthenticateResponse, err := UnmarshalContactSecretAuthenticateResponse(bytes) +// bytes, err = contactSecretAuthenticateResponse.Marshal() // -// skillsetAbilitiesExportParams, err := UnmarshalSkillsetAbilitiesExportParams(bytes) -// bytes, err = skillsetAbilitiesExportParams.Marshal() +// contactRatingListParams, err := UnmarshalContactRatingListParams(bytes) +// bytes, err = contactRatingListParams.Marshal() // -// skillsetAbilitiesExportResponse, err := UnmarshalSkillsetAbilitiesExportResponse(bytes) -// bytes, err = skillsetAbilitiesExportResponse.Marshal() +// contactRatingListResponse, err := UnmarshalContactRatingListResponse(bytes) +// bytes, err = contactRatingListResponse.Marshal() // -// skillsetAbilitiesExportStreamItem, err := UnmarshalSkillsetAbilitiesExportStreamItem(bytes) -// bytes, err = skillsetAbilitiesExportStreamItem.Marshal() +// contactRatingListStreamItem, err := UnmarshalContactRatingListStreamItem(bytes) +// bytes, err = contactRatingListStreamItem.Marshal() // -// skillsetAbilityListParams, err := UnmarshalSkillsetAbilityListParams(bytes) -// bytes, err = skillsetAbilityListParams.Marshal() +// contactMemorySearchParams, err := UnmarshalContactMemorySearchParams(bytes) +// bytes, err = contactMemorySearchParams.Marshal() // -// skillsetAbilityListResponse, err := UnmarshalSkillsetAbilityListResponse(bytes) -// bytes, err = skillsetAbilityListResponse.Marshal() +// contactMemorySearchRequest, err := UnmarshalContactMemorySearchRequest(bytes) +// bytes, err = contactMemorySearchRequest.Marshal() // -// skillsetAbilityListStreamItem, err := UnmarshalSkillsetAbilityListStreamItem(bytes) -// bytes, err = skillsetAbilityListStreamItem.Marshal() +// contactMemorySearchResponse, err := UnmarshalContactMemorySearchResponse(bytes) +// bytes, err = contactMemorySearchResponse.Marshal() // -// skillsetDeleteParams, err := UnmarshalSkillsetDeleteParams(bytes) -// bytes, err = skillsetDeleteParams.Marshal() +// contactMemoryListParams, err := UnmarshalContactMemoryListParams(bytes) +// bytes, err = contactMemoryListParams.Marshal() // -// skillsetDeleteRequest, err := UnmarshalSkillsetDeleteRequest(bytes) -// bytes, err = skillsetDeleteRequest.Marshal() +// contactMemoryListResponse, err := UnmarshalContactMemoryListResponse(bytes) +// bytes, err = contactMemoryListResponse.Marshal() // -// skillsetDeleteResponse, err := UnmarshalSkillsetDeleteResponse(bytes) -// bytes, err = skillsetDeleteResponse.Marshal() +// contactMemoryListStreamItem, err := UnmarshalContactMemoryListStreamItem(bytes) +// bytes, err = contactMemoryListStreamItem.Marshal() // -// skillsetFetchParams, err := UnmarshalSkillsetFetchParams(bytes) -// bytes, err = skillsetFetchParams.Marshal() +// contactConversationListParams, err := UnmarshalContactConversationListParams(bytes) +// bytes, err = contactConversationListParams.Marshal() // -// skillsetFetchResponse, err := UnmarshalSkillsetFetchResponse(bytes) -// bytes, err = skillsetFetchResponse.Marshal() +// contactConversationListResponse, err := UnmarshalContactConversationListResponse(bytes) +// bytes, err = contactConversationListResponse.Marshal() // -// skillsetUpdateParams, err := UnmarshalSkillsetUpdateParams(bytes) -// bytes, err = skillsetUpdateParams.Marshal() +// contactConversationListStreamItem, err := UnmarshalContactConversationListStreamItem(bytes) +// bytes, err = contactConversationListStreamItem.Marshal() // -// skillsetUpdateRequest, err := UnmarshalSkillsetUpdateRequest(bytes) -// bytes, err = skillsetUpdateRequest.Marshal() +// channelMessagesSubscribeParams, err := UnmarshalChannelMessagesSubscribeParams(bytes) +// bytes, err = channelMessagesSubscribeParams.Marshal() // -// skillsetUpdateResponse, err := UnmarshalSkillsetUpdateResponse(bytes) -// bytes, err = skillsetUpdateResponse.Marshal() +// channelMessagesSubscribeRequest, err := UnmarshalChannelMessagesSubscribeRequest(bytes) +// bytes, err = channelMessagesSubscribeRequest.Marshal() // -// skillsetCreateRequest, err := UnmarshalSkillsetCreateRequest(bytes) -// bytes, err = skillsetCreateRequest.Marshal() +// channelMessagesSubscribeStreamItem, err := UnmarshalChannelMessagesSubscribeStreamItem(bytes) +// bytes, err = channelMessagesSubscribeStreamItem.Marshal() // -// skillsetCreateResponse, err := UnmarshalSkillsetCreateResponse(bytes) -// bytes, err = skillsetCreateResponse.Marshal() +// channelMessagePublishParams, err := UnmarshalChannelMessagePublishParams(bytes) +// bytes, err = channelMessagePublishParams.Marshal() // -// skillsetListParams, err := UnmarshalSkillsetListParams(bytes) -// bytes, err = skillsetListParams.Marshal() +// channelMessagePublishRequest, err := UnmarshalChannelMessagePublishRequest(bytes) +// bytes, err = channelMessagePublishRequest.Marshal() // -// skillsetListResponse, err := UnmarshalSkillsetListResponse(bytes) -// bytes, err = skillsetListResponse.Marshal() +// channelMessagePublishResponse, err := UnmarshalChannelMessagePublishResponse(bytes) +// bytes, err = channelMessagePublishResponse.Marshal() // -// skillsetListStreamItem, err := UnmarshalSkillsetListStreamItem(bytes) -// bytes, err = skillsetListStreamItem.Marshal() +// botListParams, err := UnmarshalBotListParams(bytes) +// bytes, err = botListParams.Marshal() // -// spaceDeleteParams, err := UnmarshalSpaceDeleteParams(bytes) -// bytes, err = spaceDeleteParams.Marshal() +// botListResponse, err := UnmarshalBotListResponse(bytes) +// bytes, err = botListResponse.Marshal() // -// spaceDeleteRequest, err := UnmarshalSpaceDeleteRequest(bytes) -// bytes, err = spaceDeleteRequest.Marshal() -// -// spaceDeleteResponse, err := UnmarshalSpaceDeleteResponse(bytes) -// bytes, err = spaceDeleteResponse.Marshal() -// -// spaceFetchParams, err := UnmarshalSpaceFetchParams(bytes) -// bytes, err = spaceFetchParams.Marshal() -// -// spaceFetchResponse, err := UnmarshalSpaceFetchResponse(bytes) -// bytes, err = spaceFetchResponse.Marshal() +// botListStreamItem, err := UnmarshalBotListStreamItem(bytes) +// bytes, err = botListStreamItem.Marshal() // -// spaceSiteDeleteParams, err := UnmarshalSpaceSiteDeleteParams(bytes) -// bytes, err = spaceSiteDeleteParams.Marshal() +// botCreateRequest, err := UnmarshalBotCreateRequest(bytes) +// bytes, err = botCreateRequest.Marshal() // -// spaceSiteDeleteRequest, err := UnmarshalSpaceSiteDeleteRequest(bytes) -// bytes, err = spaceSiteDeleteRequest.Marshal() +// botCreateResponse, err := UnmarshalBotCreateResponse(bytes) +// bytes, err = botCreateResponse.Marshal() // -// spaceSiteDeleteResponse, err := UnmarshalSpaceSiteDeleteResponse(bytes) -// bytes, err = spaceSiteDeleteResponse.Marshal() +// botUpvoteParams, err := UnmarshalBotUpvoteParams(bytes) +// bytes, err = botUpvoteParams.Marshal() // -// spaceSiteFetchParams, err := UnmarshalSpaceSiteFetchParams(bytes) -// bytes, err = spaceSiteFetchParams.Marshal() +// botUpvoteRequest, err := UnmarshalBotUpvoteRequest(bytes) +// bytes, err = botUpvoteRequest.Marshal() // -// spaceSiteFetchResponse, err := UnmarshalSpaceSiteFetchResponse(bytes) -// bytes, err = spaceSiteFetchResponse.Marshal() +// botUpvoteResponse, err := UnmarshalBotUpvoteResponse(bytes) +// bytes, err = botUpvoteResponse.Marshal() // -// spaceSiteUpdateParams, err := UnmarshalSpaceSiteUpdateParams(bytes) -// bytes, err = spaceSiteUpdateParams.Marshal() +// botUpdateParams, err := UnmarshalBotUpdateParams(bytes) +// bytes, err = botUpdateParams.Marshal() // -// spaceSiteUpdateRequest, err := UnmarshalSpaceSiteUpdateRequest(bytes) -// bytes, err = spaceSiteUpdateRequest.Marshal() +// botUpdateRequest, err := UnmarshalBotUpdateRequest(bytes) +// bytes, err = botUpdateRequest.Marshal() // -// spaceSiteUpdateResponse, err := UnmarshalSpaceSiteUpdateResponse(bytes) -// bytes, err = spaceSiteUpdateResponse.Marshal() +// botUpdateResponse, err := UnmarshalBotUpdateResponse(bytes) +// bytes, err = botUpdateResponse.Marshal() // -// spaceSiteCreateParams, err := UnmarshalSpaceSiteCreateParams(bytes) -// bytes, err = spaceSiteCreateParams.Marshal() +// botFetchParams, err := UnmarshalBotFetchParams(bytes) +// bytes, err = botFetchParams.Marshal() // -// spaceSiteCreateRequest, err := UnmarshalSpaceSiteCreateRequest(bytes) -// bytes, err = spaceSiteCreateRequest.Marshal() +// botFetchResponse, err := UnmarshalBotFetchResponse(bytes) +// bytes, err = botFetchResponse.Marshal() // -// spaceSiteCreateResponse, err := UnmarshalSpaceSiteCreateResponse(bytes) -// bytes, err = spaceSiteCreateResponse.Marshal() +// botDownvoteParams, err := UnmarshalBotDownvoteParams(bytes) +// bytes, err = botDownvoteParams.Marshal() // -// spaceSiteListParams, err := UnmarshalSpaceSiteListParams(bytes) -// bytes, err = spaceSiteListParams.Marshal() +// botDownvoteRequest, err := UnmarshalBotDownvoteRequest(bytes) +// bytes, err = botDownvoteRequest.Marshal() // -// spaceSiteListResponse, err := UnmarshalSpaceSiteListResponse(bytes) -// bytes, err = spaceSiteListResponse.Marshal() +// botDownvoteResponse, err := UnmarshalBotDownvoteResponse(bytes) +// bytes, err = botDownvoteResponse.Marshal() // -// spaceSiteListStreamItem, err := UnmarshalSpaceSiteListStreamItem(bytes) -// bytes, err = spaceSiteListStreamItem.Marshal() +// botDeleteParams, err := UnmarshalBotDeleteParams(bytes) +// bytes, err = botDeleteParams.Marshal() // -// spaceStoragePathCopyParams, err := UnmarshalSpaceStoragePathCopyParams(bytes) -// bytes, err = spaceStoragePathCopyParams.Marshal() +// botDeleteRequest, err := UnmarshalBotDeleteRequest(bytes) +// bytes, err = botDeleteRequest.Marshal() // -// spaceStoragePathCopyRequest, err := UnmarshalSpaceStoragePathCopyRequest(bytes) -// bytes, err = spaceStoragePathCopyRequest.Marshal() +// botDeleteResponse, err := UnmarshalBotDeleteResponse(bytes) +// bytes, err = botDeleteResponse.Marshal() // -// spaceStoragePathCopyResponse, err := UnmarshalSpaceStoragePathCopyResponse(bytes) -// bytes, err = spaceStoragePathCopyResponse.Marshal() +// botCloneParams, err := UnmarshalBotCloneParams(bytes) +// bytes, err = botCloneParams.Marshal() // -// spaceStoragePathDeleteParams, err := UnmarshalSpaceStoragePathDeleteParams(bytes) -// bytes, err = spaceStoragePathDeleteParams.Marshal() +// botCloneRequest, err := UnmarshalBotCloneRequest(bytes) +// bytes, err = botCloneRequest.Marshal() // -// spaceStoragePathDeleteRequest, err := UnmarshalSpaceStoragePathDeleteRequest(bytes) -// bytes, err = spaceStoragePathDeleteRequest.Marshal() +// botCloneResponse, err := UnmarshalBotCloneResponse(bytes) +// bytes, err = botCloneResponse.Marshal() // -// spaceStoragePathDeleteResponse, err := UnmarshalSpaceStoragePathDeleteResponse(bytes) -// bytes, err = spaceStoragePathDeleteResponse.Marshal() +// botUsageFetchParams, err := UnmarshalBotUsageFetchParams(bytes) +// bytes, err = botUsageFetchParams.Marshal() // -// spaceStoragePathDownloadParams, err := UnmarshalSpaceStoragePathDownloadParams(bytes) -// bytes, err = spaceStoragePathDownloadParams.Marshal() +// botUsageFetchResponse, err := UnmarshalBotUsageFetchResponse(bytes) +// bytes, err = botUsageFetchResponse.Marshal() // -// spaceStoragePathDownloadResponse, err := UnmarshalSpaceStoragePathDownloadResponse(bytes) -// bytes, err = spaceStoragePathDownloadResponse.Marshal() +// botSessionCreateParams, err := UnmarshalBotSessionCreateParams(bytes) +// bytes, err = botSessionCreateParams.Marshal() // -// spaceStoragePathListParams, err := UnmarshalSpaceStoragePathListParams(bytes) -// bytes, err = spaceStoragePathListParams.Marshal() +// botSessionCreateRequest, err := UnmarshalBotSessionCreateRequest(bytes) +// bytes, err = botSessionCreateRequest.Marshal() // -// spaceStoragePathListResponse, err := UnmarshalSpaceStoragePathListResponse(bytes) -// bytes, err = spaceStoragePathListResponse.Marshal() +// botSessionCreateResponse, err := UnmarshalBotSessionCreateResponse(bytes) +// bytes, err = botSessionCreateResponse.Marshal() // -// spaceStoragePathMoveParams, err := UnmarshalSpaceStoragePathMoveParams(bytes) -// bytes, err = spaceStoragePathMoveParams.Marshal() +// botMemorySearchParams, err := UnmarshalBotMemorySearchParams(bytes) +// bytes, err = botMemorySearchParams.Marshal() // -// spaceStoragePathMoveRequest, err := UnmarshalSpaceStoragePathMoveRequest(bytes) -// bytes, err = spaceStoragePathMoveRequest.Marshal() +// botMemorySearchRequest, err := UnmarshalBotMemorySearchRequest(bytes) +// bytes, err = botMemorySearchRequest.Marshal() // -// spaceStoragePathMoveResponse, err := UnmarshalSpaceStoragePathMoveResponse(bytes) -// bytes, err = spaceStoragePathMoveResponse.Marshal() +// botMemorySearchResponse, err := UnmarshalBotMemorySearchResponse(bytes) +// bytes, err = botMemorySearchResponse.Marshal() // -// spaceStoragePathUploadParams, err := UnmarshalSpaceStoragePathUploadParams(bytes) -// bytes, err = spaceStoragePathUploadParams.Marshal() +// blueprintListParams, err := UnmarshalBlueprintListParams(bytes) +// bytes, err = blueprintListParams.Marshal() // -// spaceStoragePathUploadRequest, err := UnmarshalSpaceStoragePathUploadRequest(bytes) -// bytes, err = spaceStoragePathUploadRequest.Marshal() +// blueprintListResponse, err := UnmarshalBlueprintListResponse(bytes) +// bytes, err = blueprintListResponse.Marshal() // -// spaceStoragePathUploadResponse, err := UnmarshalSpaceStoragePathUploadResponse(bytes) -// bytes, err = spaceStoragePathUploadResponse.Marshal() +// blueprintListStreamItem, err := UnmarshalBlueprintListStreamItem(bytes) +// bytes, err = blueprintListStreamItem.Marshal() // -// spaceUpdateParams, err := UnmarshalSpaceUpdateParams(bytes) -// bytes, err = spaceUpdateParams.Marshal() +// blueprintCreateRequest, err := UnmarshalBlueprintCreateRequest(bytes) +// bytes, err = blueprintCreateRequest.Marshal() // -// spaceUpdateRequest, err := UnmarshalSpaceUpdateRequest(bytes) -// bytes, err = spaceUpdateRequest.Marshal() +// blueprintCreateResponse, err := UnmarshalBlueprintCreateResponse(bytes) +// bytes, err = blueprintCreateResponse.Marshal() // -// spaceUpdateResponse, err := UnmarshalSpaceUpdateResponse(bytes) -// bytes, err = spaceUpdateResponse.Marshal() +// blueprintUpdateParams, err := UnmarshalBlueprintUpdateParams(bytes) +// bytes, err = blueprintUpdateParams.Marshal() // -// spaceCreateRequest, err := UnmarshalSpaceCreateRequest(bytes) -// bytes, err = spaceCreateRequest.Marshal() +// blueprintUpdateRequest, err := UnmarshalBlueprintUpdateRequest(bytes) +// bytes, err = blueprintUpdateRequest.Marshal() // -// spaceCreateResponse, err := UnmarshalSpaceCreateResponse(bytes) -// bytes, err = spaceCreateResponse.Marshal() +// blueprintUpdateResponse, err := UnmarshalBlueprintUpdateResponse(bytes) +// bytes, err = blueprintUpdateResponse.Marshal() // -// spacesExportParams, err := UnmarshalSpacesExportParams(bytes) -// bytes, err = spacesExportParams.Marshal() +// blueprintFetchParams, err := UnmarshalBlueprintFetchParams(bytes) +// bytes, err = blueprintFetchParams.Marshal() // -// spacesExportResponse, err := UnmarshalSpacesExportResponse(bytes) -// bytes, err = spacesExportResponse.Marshal() +// blueprintFetchResponse, err := UnmarshalBlueprintFetchResponse(bytes) +// bytes, err = blueprintFetchResponse.Marshal() // -// spacesExportStreamItem, err := UnmarshalSpacesExportStreamItem(bytes) -// bytes, err = spacesExportStreamItem.Marshal() +// blueprintDeleteParams, err := UnmarshalBlueprintDeleteParams(bytes) +// bytes, err = blueprintDeleteParams.Marshal() // -// spaceListParams, err := UnmarshalSpaceListParams(bytes) -// bytes, err = spaceListParams.Marshal() +// blueprintDeleteRequest, err := UnmarshalBlueprintDeleteRequest(bytes) +// bytes, err = blueprintDeleteRequest.Marshal() // -// spaceListResponse, err := UnmarshalSpaceListResponse(bytes) -// bytes, err = spaceListResponse.Marshal() +// blueprintDeleteResponse, err := UnmarshalBlueprintDeleteResponse(bytes) +// bytes, err = blueprintDeleteResponse.Marshal() // -// spaceListStreamItem, err := UnmarshalSpaceListStreamItem(bytes) -// bytes, err = spaceListStreamItem.Marshal() +// blueprintCloneParams, err := UnmarshalBlueprintCloneParams(bytes) +// bytes, err = blueprintCloneParams.Marshal() // -// taskCancelParams, err := UnmarshalTaskCancelParams(bytes) -// bytes, err = taskCancelParams.Marshal() +// blueprintCloneRequest, err := UnmarshalBlueprintCloneRequest(bytes) +// bytes, err = blueprintCloneRequest.Marshal() // -// taskCancelRequest, err := UnmarshalTaskCancelRequest(bytes) -// bytes, err = taskCancelRequest.Marshal() +// blueprintCloneResponse, err := UnmarshalBlueprintCloneResponse(bytes) +// bytes, err = blueprintCloneResponse.Marshal() // -// taskCancelResponse, err := UnmarshalTaskCancelResponse(bytes) -// bytes, err = taskCancelResponse.Marshal() +// blueprintResourceListParams, err := UnmarshalBlueprintResourceListParams(bytes) +// bytes, err = blueprintResourceListParams.Marshal() // -// taskDeleteParams, err := UnmarshalTaskDeleteParams(bytes) -// bytes, err = taskDeleteParams.Marshal() +// blueprintResourceListResponse, err := UnmarshalBlueprintResourceListResponse(bytes) +// bytes, err = blueprintResourceListResponse.Marshal() // -// taskDeleteRequest, err := UnmarshalTaskDeleteRequest(bytes) -// bytes, err = taskDeleteRequest.Marshal() +// blueprintResourcesImportParams, err := UnmarshalBlueprintResourcesImportParams(bytes) +// bytes, err = blueprintResourcesImportParams.Marshal() // -// taskDeleteResponse, err := UnmarshalTaskDeleteResponse(bytes) -// bytes, err = taskDeleteResponse.Marshal() +// blueprintResourcesImportRequest, err := UnmarshalBlueprintResourcesImportRequest(bytes) +// bytes, err = blueprintResourcesImportRequest.Marshal() // -// taskExecutionCancelParams, err := UnmarshalTaskExecutionCancelParams(bytes) -// bytes, err = taskExecutionCancelParams.Marshal() +// blueprintResourcesExportParams, err := UnmarshalBlueprintResourcesExportParams(bytes) +// bytes, err = blueprintResourcesExportParams.Marshal() // -// taskExecutionCancelRequest, err := UnmarshalTaskExecutionCancelRequest(bytes) -// bytes, err = taskExecutionCancelRequest.Marshal() +// blueprintResourcesExportResponse, err := UnmarshalBlueprintResourcesExportResponse(bytes) +// bytes, err = blueprintResourcesExportResponse.Marshal() // -// taskExecutionCancelResponse, err := UnmarshalTaskExecutionCancelResponse(bytes) -// bytes, err = taskExecutionCancelResponse.Marshal() +// blueprintBulletinListParams, err := UnmarshalBlueprintBulletinListParams(bytes) +// bytes, err = blueprintBulletinListParams.Marshal() // -// taskExecutionListParams, err := UnmarshalTaskExecutionListParams(bytes) -// bytes, err = taskExecutionListParams.Marshal() +// blueprintBulletinListResponse, err := UnmarshalBlueprintBulletinListResponse(bytes) +// bytes, err = blueprintBulletinListResponse.Marshal() // -// taskExecutionListResponse, err := UnmarshalTaskExecutionListResponse(bytes) -// bytes, err = taskExecutionListResponse.Marshal() +// blueprintBulletinListStreamItem, err := UnmarshalBlueprintBulletinListStreamItem(bytes) +// bytes, err = blueprintBulletinListStreamItem.Marshal() // -// taskExecutionListStreamItem, err := UnmarshalTaskExecutionListStreamItem(bytes) -// bytes, err = taskExecutionListStreamItem.Marshal() +// blueprintBulletinCreateParams, err := UnmarshalBlueprintBulletinCreateParams(bytes) +// bytes, err = blueprintBulletinCreateParams.Marshal() // -// taskFetchParams, err := UnmarshalTaskFetchParams(bytes) -// bytes, err = taskFetchParams.Marshal() +// blueprintBulletinCreateRequest, err := UnmarshalBlueprintBulletinCreateRequest(bytes) +// bytes, err = blueprintBulletinCreateRequest.Marshal() // -// taskFetchResponse, err := UnmarshalTaskFetchResponse(bytes) -// bytes, err = taskFetchResponse.Marshal() +// blueprintBulletinCreateResponse, err := UnmarshalBlueprintBulletinCreateResponse(bytes) +// bytes, err = blueprintBulletinCreateResponse.Marshal() // -// taskTriggerParams, err := UnmarshalTaskTriggerParams(bytes) -// bytes, err = taskTriggerParams.Marshal() +// message, err := UnmarshalMessage(bytes) +// bytes, err = message.Marshal() // -// taskTriggerRequest, err := UnmarshalTaskTriggerRequest(bytes) -// bytes, err = taskTriggerRequest.Marshal() +// entity, err := UnmarshalEntity(bytes) +// bytes, err = entity.Marshal() // -// taskTriggerResponse, err := UnmarshalTaskTriggerResponse(bytes) -// bytes, err = taskTriggerResponse.Marshal() +// messageType, err := UnmarshalMessageType(bytes) +// bytes, err = messageType.Marshal() // -// taskUpdateParams, err := UnmarshalTaskUpdateParams(bytes) -// bytes, err = taskUpdateParams.Marshal() +// trigger, err := UnmarshalTrigger(bytes) +// bytes, err = trigger.Marshal() // -// taskUpdateRequest, err := UnmarshalTaskUpdateRequest(bytes) -// bytes, err = taskUpdateRequest.Marshal() +// schedule, err := UnmarshalSchedule(bytes) +// bytes, err = schedule.Marshal() // -// taskUpdateResponse, err := UnmarshalTaskUpdateResponse(bytes) -// bytes, err = taskUpdateResponse.Marshal() -// -// taskCreateRequest, err := UnmarshalTaskCreateRequest(bytes) -// bytes, err = taskCreateRequest.Marshal() -// -// taskCreateResponse, err := UnmarshalTaskCreateResponse(bytes) -// bytes, err = taskCreateResponse.Marshal() -// -// tasksExportParams, err := UnmarshalTasksExportParams(bytes) -// bytes, err = tasksExportParams.Marshal() -// -// tasksExportResponse, err := UnmarshalTasksExportResponse(bytes) -// bytes, err = tasksExportResponse.Marshal() -// -// tasksExportStreamItem, err := UnmarshalTasksExportStreamItem(bytes) -// bytes, err = tasksExportStreamItem.Marshal() -// -// taskListParams, err := UnmarshalTaskListParams(bytes) -// bytes, err = taskListParams.Marshal() -// -// taskListResponse, err := UnmarshalTaskListResponse(bytes) -// bytes, err = taskListResponse.Marshal() -// -// taskListStreamItem, err := UnmarshalTaskListStreamItem(bytes) -// bytes, err = taskListStreamItem.Marshal() -// -// teamListParams, err := UnmarshalTeamListParams(bytes) -// bytes, err = teamListParams.Marshal() -// -// teamListResponse, err := UnmarshalTeamListResponse(bytes) -// bytes, err = teamListResponse.Marshal() -// -// teamListStreamItem, err := UnmarshalTeamListStreamItem(bytes) -// bytes, err = teamListStreamItem.Marshal() -// -// usageFetchResponse, err := UnmarshalUsageFetchResponse(bytes) -// bytes, err = usageFetchResponse.Marshal() -// -// usageRecordListParams, err := UnmarshalUsageRecordListParams(bytes) -// bytes, err = usageRecordListParams.Marshal() -// -// usageRecordListResponse, err := UnmarshalUsageRecordListResponse(bytes) -// bytes, err = usageRecordListResponse.Marshal() -// -// usageSeriesFetchResponse, err := UnmarshalUsageSeriesFetchResponse(bytes) -// bytes, err = usageSeriesFetchResponse.Marshal() -// -// message, err := UnmarshalMessage(bytes) -// bytes, err = message.Marshal() -// -// entity, err := UnmarshalEntity(bytes) -// bytes, err = entity.Marshal() -// -// messageType, err := UnmarshalMessageType(bytes) -// bytes, err = messageType.Marshal() -// -// trigger, err := UnmarshalTrigger(bytes) -// bytes, err = trigger.Marshal() -// -// schedule, err := UnmarshalSchedule(bytes) -// bytes, err = schedule.Marshal() -// -// syncStatus, err := UnmarshalSyncStatus(bytes) -// bytes, err = syncStatus.Marshal() +// syncStatus, err := UnmarshalSyncStatus(bytes) +// bytes, err = syncStatus.Marshal() // // taskStatus, err := UnmarshalTaskStatus(bytes) // bytes, err = taskStatus.Marshal() -// -// taskOutcome, err := UnmarshalTaskOutcome(bytes) -// bytes, err = taskOutcome.Marshal() -// -// blueprintVisibility, err := UnmarshalBlueprintVisibility(bytes) -// bytes, err = blueprintVisibility.Marshal() -// -// botVisibility, err := UnmarshalBotVisibility(bytes) -// bytes, err = botVisibility.Marshal() -// -// datasetVisibility, err := UnmarshalDatasetVisibility(bytes) -// bytes, err = datasetVisibility.Marshal() -// -// datasetFileAttachmentType, err := UnmarshalDatasetFileAttachmentType(bytes) -// bytes, err = datasetFileAttachmentType.Marshal() -// -// datasetFilter, err := UnmarshalDatasetFilter(bytes) -// bytes, err = datasetFilter.Marshal() -// -// skillsetVisibility, err := UnmarshalSkillsetVisibility(bytes) -// bytes, err = skillsetVisibility.Marshal() -// -// resourceState, err := UnmarshalResourceState(bytes) -// bytes, err = resourceState.Marshal() -// -// fileVisibility, err := UnmarshalFileVisibility(bytes) -// bytes, err = fileVisibility.Marshal() -// -// secretType, err := UnmarshalSecretType(bytes) -// bytes, err = secretType.Marshal() -// -// secretKind, err := UnmarshalSecretKind(bytes) -// bytes, err = secretKind.Marshal() -// -// secretVisibility, err := UnmarshalSecretVisibility(bytes) -// bytes, err = secretVisibility.Marshal() -// -// usage, err := UnmarshalUsage(bytes) -// bytes, err = usage.Marshal() -// -// completeReason, err := UnmarshalCompleteReason(bytes) -// bytes, err = completeReason.Marshal() -// -// abort, err := UnmarshalAbort(bytes) -// bytes, err = abort.Marshal() -// -// completeEnd, err := UnmarshalCompleteEnd(bytes) -// bytes, err = completeEnd.Marshal() -// -// executionLimits, err := UnmarshalExecutionLimits(bytes) -// bytes, err = executionLimits.Marshal() -// -// policyType, err := UnmarshalPolicyType(bytes) -// bytes, err = policyType.Marshal() -// -// limits, err := UnmarshalLimits(bytes) -// bytes, err = limits.Marshal() -// -// meta, err := UnmarshalMeta(bytes) -// bytes, err = meta.Marshal() -// -// model, err := UnmarshalModel(bytes) -// bytes, err = model.Marshal() -// -// botRef, err := UnmarshalBotRef(bytes) -// bytes, err = botRef.Marshal() -// -// botConfig, err := UnmarshalBotConfig(bytes) -// bytes, err = botConfig.Marshal() -// -// botRefOrConfig, err := UnmarshalBotRefOrConfig(bytes) -// bytes, err = botRefOrConfig.Marshal() -// -// blueprintProps, err := UnmarshalBlueprintProps(bytes) -// bytes, err = blueprintProps.Marshal() -// -// instanceRefProperties, err := UnmarshalInstanceRefProperties(bytes) -// bytes, err = instanceRefProperties.Marshal() -// -// instanceMetaProps, err := UnmarshalInstanceMetaProps(bytes) -// bytes, err = instanceMetaProps.Marshal() -// -// instanceCRUDProps, err := UnmarshalInstanceCRUDProps(bytes) -// bytes, err = instanceCRUDProps.Marshal() -// -// instanceListProps, err := UnmarshalInstanceListProps(bytes) -// bytes, err = instanceListProps.Marshal() -// -// jSONSchemaObject, err := UnmarshalJSONSchemaObject(bytes) -// bytes, err = jSONSchemaObject.Marshal() -// -// functionsDefinition, err := UnmarshalFunctionsDefinition(bytes) -// bytes, err = functionsDefinition.Marshal() -// -// extensionsDefinition, err := UnmarshalExtensionsDefinition(bytes) -// bytes, err = extensionsDefinition.Marshal() -// -// completeStreamingResponseItem, err := UnmarshalCompleteStreamingResponseItem(bytes) -// bytes, err = completeStreamingResponseItem.Marshal() -// -// taskWorkflowStreamingResponseItem, err := UnmarshalTaskWorkflowStreamingResponseItem(bytes) -// bytes, err = taskWorkflowStreamingResponseItem.Marshal() - -package types - -import "bytes" -import "errors" -import "time" - -import "encoding/json" - -func UnmarshalGraphqlRequest(data []byte) (GraphqlRequest, error) { - var r GraphqlRequest - err := json.Unmarshal(data, &r) - return r, err -} - -func (r *GraphqlRequest) Marshal() ([]byte, error) { - return json.Marshal(r) -} - -func UnmarshalGraphqlResponse(data []byte) (GraphqlResponse, error) { - var r GraphqlResponse - err := json.Unmarshal(data, &r) - return r, err -} - -func (r *GraphqlResponse) Marshal() ([]byte, error) { - return json.Marshal(r) -} - -func UnmarshalDiscordInitiateRequest(data []byte) (DiscordInitiateRequest, error) { - var r DiscordInitiateRequest - err := json.Unmarshal(data, &r) - return r, err -} - -func (r *DiscordInitiateRequest) Marshal() ([]byte, error) { - return json.Marshal(r) -} - -func UnmarshalDiscordInitiateResponse(data []byte) (DiscordInitiateResponse, error) { - var r DiscordInitiateResponse - err := json.Unmarshal(data, &r) - return r, err -} - -func (r *DiscordInitiateResponse) Marshal() ([]byte, error) { - return json.Marshal(r) -} - -func UnmarshalEmailInitiateRequest(data []byte) (EmailInitiateRequest, error) { - var r EmailInitiateRequest - err := json.Unmarshal(data, &r) - return r, err -} - -func (r *EmailInitiateRequest) Marshal() ([]byte, error) { - return json.Marshal(r) -} - -func UnmarshalEmailInitiateResponse(data []byte) (EmailInitiateResponse, error) { - var r EmailInitiateResponse - err := json.Unmarshal(data, &r) - return r, err -} - -func (r *EmailInitiateResponse) Marshal() ([]byte, error) { - return json.Marshal(r) -} - -func UnmarshalGooglechatInitiateRequest(data []byte) (GooglechatInitiateRequest, error) { - var r GooglechatInitiateRequest - err := json.Unmarshal(data, &r) - return r, err -} - -func (r *GooglechatInitiateRequest) Marshal() ([]byte, error) { - return json.Marshal(r) -} - -func UnmarshalGooglechatInitiateResponse(data []byte) (GooglechatInitiateResponse, error) { - var r GooglechatInitiateResponse - err := json.Unmarshal(data, &r) - return r, err -} - -func (r *GooglechatInitiateResponse) Marshal() ([]byte, error) { - return json.Marshal(r) -} - -func UnmarshalInstagramInitiateRequest(data []byte) (InstagramInitiateRequest, error) { - var r InstagramInitiateRequest - err := json.Unmarshal(data, &r) - return r, err -} - -func (r *InstagramInitiateRequest) Marshal() ([]byte, error) { - return json.Marshal(r) -} - -func UnmarshalInstagramInitiateResponse(data []byte) (InstagramInitiateResponse, error) { - var r InstagramInitiateResponse - err := json.Unmarshal(data, &r) - return r, err -} - -func (r *InstagramInitiateResponse) Marshal() ([]byte, error) { - return json.Marshal(r) -} - -func UnmarshalMessengerInitiateRequest(data []byte) (MessengerInitiateRequest, error) { - var r MessengerInitiateRequest - err := json.Unmarshal(data, &r) - return r, err -} - -func (r *MessengerInitiateRequest) Marshal() ([]byte, error) { - return json.Marshal(r) -} - -func UnmarshalMessengerInitiateResponse(data []byte) (MessengerInitiateResponse, error) { - var r MessengerInitiateResponse - err := json.Unmarshal(data, &r) - return r, err -} - -func (r *MessengerInitiateResponse) Marshal() ([]byte, error) { - return json.Marshal(r) -} - -func UnmarshalTeamsInitiateRequest(data []byte) (TeamsInitiateRequest, error) { - var r TeamsInitiateRequest - err := json.Unmarshal(data, &r) - return r, err -} - -func (r *TeamsInitiateRequest) Marshal() ([]byte, error) { - return json.Marshal(r) -} - -func UnmarshalTeamsInitiateResponse(data []byte) (TeamsInitiateResponse, error) { - var r TeamsInitiateResponse - err := json.Unmarshal(data, &r) - return r, err -} - -func (r *TeamsInitiateResponse) Marshal() ([]byte, error) { - return json.Marshal(r) -} - -func UnmarshalRecallInitiateParams(data []byte) (RecallInitiateParams, error) { - var r RecallInitiateParams - err := json.Unmarshal(data, &r) - return r, err -} - -func (r *RecallInitiateParams) Marshal() ([]byte, error) { - return json.Marshal(r) -} - -func UnmarshalRecallInitiateRequest(data []byte) (RecallInitiateRequest, error) { - var r RecallInitiateRequest - err := json.Unmarshal(data, &r) - return r, err -} - -func (r *RecallInitiateRequest) Marshal() ([]byte, error) { - return json.Marshal(r) -} - -func UnmarshalRecallInitiateResponse(data []byte) (RecallInitiateResponse, error) { - var r RecallInitiateResponse - err := json.Unmarshal(data, &r) - return r, err -} - -func (r *RecallInitiateResponse) Marshal() ([]byte, error) { - return json.Marshal(r) -} - -func UnmarshalSlackInitiateRequest(data []byte) (SlackInitiateRequest, error) { - var r SlackInitiateRequest - err := json.Unmarshal(data, &r) - return r, err -} - -func (r *SlackInitiateRequest) Marshal() ([]byte, error) { - return json.Marshal(r) -} - -func UnmarshalSlackInitiateResponse(data []byte) (SlackInitiateResponse, error) { - var r SlackInitiateResponse - err := json.Unmarshal(data, &r) - return r, err -} - -func (r *SlackInitiateResponse) Marshal() ([]byte, error) { - return json.Marshal(r) -} - -func UnmarshalTelegramInitiateRequest(data []byte) (TelegramInitiateRequest, error) { - var r TelegramInitiateRequest - err := json.Unmarshal(data, &r) - return r, err -} +// +// taskOutcome, err := UnmarshalTaskOutcome(bytes) +// bytes, err = taskOutcome.Marshal() +// +// blueprintVisibility, err := UnmarshalBlueprintVisibility(bytes) +// bytes, err = blueprintVisibility.Marshal() +// +// botVisibility, err := UnmarshalBotVisibility(bytes) +// bytes, err = botVisibility.Marshal() +// +// datasetVisibility, err := UnmarshalDatasetVisibility(bytes) +// bytes, err = datasetVisibility.Marshal() +// +// datasetFileAttachmentType, err := UnmarshalDatasetFileAttachmentType(bytes) +// bytes, err = datasetFileAttachmentType.Marshal() +// +// datasetFilter, err := UnmarshalDatasetFilter(bytes) +// bytes, err = datasetFilter.Marshal() +// +// skillsetVisibility, err := UnmarshalSkillsetVisibility(bytes) +// bytes, err = skillsetVisibility.Marshal() +// +// resourceState, err := UnmarshalResourceState(bytes) +// bytes, err = resourceState.Marshal() +// +// fileVisibility, err := UnmarshalFileVisibility(bytes) +// bytes, err = fileVisibility.Marshal() +// +// secretType, err := UnmarshalSecretType(bytes) +// bytes, err = secretType.Marshal() +// +// secretKind, err := UnmarshalSecretKind(bytes) +// bytes, err = secretKind.Marshal() +// +// secretVisibility, err := UnmarshalSecretVisibility(bytes) +// bytes, err = secretVisibility.Marshal() +// +// usage, err := UnmarshalUsage(bytes) +// bytes, err = usage.Marshal() +// +// completeReason, err := UnmarshalCompleteReason(bytes) +// bytes, err = completeReason.Marshal() +// +// abort, err := UnmarshalAbort(bytes) +// bytes, err = abort.Marshal() +// +// completeEnd, err := UnmarshalCompleteEnd(bytes) +// bytes, err = completeEnd.Marshal() +// +// executionLimits, err := UnmarshalExecutionLimits(bytes) +// bytes, err = executionLimits.Marshal() +// +// policyType, err := UnmarshalPolicyType(bytes) +// bytes, err = policyType.Marshal() +// +// limits, err := UnmarshalLimits(bytes) +// bytes, err = limits.Marshal() +// +// meta, err := UnmarshalMeta(bytes) +// bytes, err = meta.Marshal() +// +// model, err := UnmarshalModel(bytes) +// bytes, err = model.Marshal() +// +// botRef, err := UnmarshalBotRef(bytes) +// bytes, err = botRef.Marshal() +// +// botConfig, err := UnmarshalBotConfig(bytes) +// bytes, err = botConfig.Marshal() +// +// botRefOrConfig, err := UnmarshalBotRefOrConfig(bytes) +// bytes, err = botRefOrConfig.Marshal() +// +// blueprintProps, err := UnmarshalBlueprintProps(bytes) +// bytes, err = blueprintProps.Marshal() +// +// instanceRefProperties, err := UnmarshalInstanceRefProperties(bytes) +// bytes, err = instanceRefProperties.Marshal() +// +// instanceMetaProps, err := UnmarshalInstanceMetaProps(bytes) +// bytes, err = instanceMetaProps.Marshal() +// +// instanceCRUDProps, err := UnmarshalInstanceCRUDProps(bytes) +// bytes, err = instanceCRUDProps.Marshal() +// +// instanceListProps, err := UnmarshalInstanceListProps(bytes) +// bytes, err = instanceListProps.Marshal() +// +// jSONSchemaObject, err := UnmarshalJSONSchemaObject(bytes) +// bytes, err = jSONSchemaObject.Marshal() +// +// functionsDefinition, err := UnmarshalFunctionsDefinition(bytes) +// bytes, err = functionsDefinition.Marshal() +// +// extensionsDefinition, err := UnmarshalExtensionsDefinition(bytes) +// bytes, err = extensionsDefinition.Marshal() +// +// completeStreamingResponseItem, err := UnmarshalCompleteStreamingResponseItem(bytes) +// bytes, err = completeStreamingResponseItem.Marshal() +// +// taskWorkflowStreamingResponseItem, err := UnmarshalTaskWorkflowStreamingResponseItem(bytes) +// bytes, err = taskWorkflowStreamingResponseItem.Marshal() +// +// decisionQuestion, err := UnmarshalDecisionQuestion(bytes) +// bytes, err = decisionQuestion.Marshal() +// +// decisionAnswer, err := UnmarshalDecisionAnswer(bytes) +// bytes, err = decisionAnswer.Marshal() -func (r *TelegramInitiateRequest) Marshal() ([]byte, error) { - return json.Marshal(r) -} +package types -func UnmarshalTelegramInitiateResponse(data []byte) (TelegramInitiateResponse, error) { - var r TelegramInitiateResponse - err := json.Unmarshal(data, &r) - return r, err -} +import "bytes" +import "errors" +import "time" -func (r *TelegramInitiateResponse) Marshal() ([]byte, error) { - return json.Marshal(r) -} +import "encoding/json" -func UnmarshalTwilioInitiateRequest(data []byte) (TwilioInitiateRequest, error) { - var r TwilioInitiateRequest +func UnmarshalGraphqlRequest(data []byte) (GraphqlRequest, error) { + var r GraphqlRequest err := json.Unmarshal(data, &r) return r, err } -func (r *TwilioInitiateRequest) Marshal() ([]byte, error) { +func (r *GraphqlRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalTwilioInitiateResponse(data []byte) (TwilioInitiateResponse, error) { - var r TwilioInitiateResponse +func UnmarshalGraphqlResponse(data []byte) (GraphqlResponse, error) { + var r GraphqlResponse err := json.Unmarshal(data, &r) return r, err } -func (r *TwilioInitiateResponse) Marshal() ([]byte, error) { +func (r *GraphqlResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalWhatsappInitiateRequest(data []byte) (WhatsappInitiateRequest, error) { - var r WhatsappInitiateRequest +func UnmarshalTaskWorkflowEventsSubscribeParams(data []byte) (TaskWorkflowEventsSubscribeParams, error) { + var r TaskWorkflowEventsSubscribeParams err := json.Unmarshal(data, &r) return r, err } -func (r *WhatsappInitiateRequest) Marshal() ([]byte, error) { +func (r *TaskWorkflowEventsSubscribeParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalWhatsappInitiateResponse(data []byte) (WhatsappInitiateResponse, error) { - var r WhatsappInitiateResponse +func UnmarshalTaskWorkflowEventsSubscribeRequest(data []byte) (TaskWorkflowEventsSubscribeRequest, error) { + var r TaskWorkflowEventsSubscribeRequest err := json.Unmarshal(data, &r) return r, err } -func (r *WhatsappInitiateResponse) Marshal() ([]byte, error) { +func (r *TaskWorkflowEventsSubscribeRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -type ChatCompletionCreateRequest map[string]interface{} - -func UnmarshalChatCompletionCreateRequest(data []byte) (ChatCompletionCreateRequest, error) { - var r ChatCompletionCreateRequest +func UnmarshalTaskWorkflowEventsSubscribeStreamItem(data []byte) (TaskWorkflowEventsSubscribeStreamItem, error) { + var r TaskWorkflowEventsSubscribeStreamItem err := json.Unmarshal(data, &r) return r, err } -func (r *ChatCompletionCreateRequest) Marshal() ([]byte, error) { +func (r *TaskWorkflowEventsSubscribeStreamItem) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalPlatformReportGenerateParams(data []byte) (PlatformReportGenerateParams, error) { - var r PlatformReportGenerateParams +func UnmarshalPlatformReportListParams(data []byte) (PlatformReportListParams, error) { + var r PlatformReportListParams err := json.Unmarshal(data, &r) return r, err } -func (r *PlatformReportGenerateParams) Marshal() ([]byte, error) { +func (r *PlatformReportListParams) Marshal() ([]byte, error) { return json.Marshal(r) } -type PlatformReportGenerateRequest map[string]interface{} - -func UnmarshalPlatformReportGenerateRequest(data []byte) (PlatformReportGenerateRequest, error) { - var r PlatformReportGenerateRequest +func UnmarshalPlatformReportListResponse(data []byte) (PlatformReportListResponse, error) { + var r PlatformReportListResponse err := json.Unmarshal(data, &r) return r, err } -func (r *PlatformReportGenerateRequest) Marshal() ([]byte, error) { +func (r *PlatformReportListResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -type PlatformReportGenerateResponse map[string]interface{} - -func UnmarshalPlatformReportGenerateResponse(data []byte) (PlatformReportGenerateResponse, error) { - var r PlatformReportGenerateResponse +func UnmarshalPlatformReportListStreamItem(data []byte) (PlatformReportListStreamItem, error) { + var r PlatformReportListStreamItem err := json.Unmarshal(data, &r) return r, err } -func (r *PlatformReportGenerateResponse) Marshal() ([]byte, error) { +func (r *PlatformReportListStreamItem) Marshal() ([]byte, error) { return json.Marshal(r) } @@ -3188,4489 +2900,4429 @@ func (r *PlatformReportsGenerateResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalPlatformReportListParams(data []byte) (PlatformReportListParams, error) { - var r PlatformReportListParams - err := json.Unmarshal(data, &r) - return r, err -} - -func (r *PlatformReportListParams) Marshal() ([]byte, error) { - return json.Marshal(r) -} - -func UnmarshalPlatformReportListResponse(data []byte) (PlatformReportListResponse, error) { - var r PlatformReportListResponse - err := json.Unmarshal(data, &r) - return r, err -} - -func (r *PlatformReportListResponse) Marshal() ([]byte, error) { - return json.Marshal(r) -} - -func UnmarshalPlatformReportListStreamItem(data []byte) (PlatformReportListStreamItem, error) { - var r PlatformReportListStreamItem - err := json.Unmarshal(data, &r) - return r, err -} - -func (r *PlatformReportListStreamItem) Marshal() ([]byte, error) { - return json.Marshal(r) -} - -func UnmarshalTaskWorkflowEventsSubscribeParams(data []byte) (TaskWorkflowEventsSubscribeParams, error) { - var r TaskWorkflowEventsSubscribeParams - err := json.Unmarshal(data, &r) - return r, err -} - -func (r *TaskWorkflowEventsSubscribeParams) Marshal() ([]byte, error) { - return json.Marshal(r) -} - -func UnmarshalTaskWorkflowEventsSubscribeRequest(data []byte) (TaskWorkflowEventsSubscribeRequest, error) { - var r TaskWorkflowEventsSubscribeRequest - err := json.Unmarshal(data, &r) - return r, err -} - -func (r *TaskWorkflowEventsSubscribeRequest) Marshal() ([]byte, error) { - return json.Marshal(r) -} - -func UnmarshalTaskWorkflowEventsSubscribeStreamItem(data []byte) (TaskWorkflowEventsSubscribeStreamItem, error) { - var r TaskWorkflowEventsSubscribeStreamItem +func UnmarshalPlatformReportGenerateParams(data []byte) (PlatformReportGenerateParams, error) { + var r PlatformReportGenerateParams err := json.Unmarshal(data, &r) return r, err } -func (r *TaskWorkflowEventsSubscribeStreamItem) Marshal() ([]byte, error) { +func (r *PlatformReportGenerateParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalBlueprintBulletinCreateParams(data []byte) (BlueprintBulletinCreateParams, error) { - var r BlueprintBulletinCreateParams - err := json.Unmarshal(data, &r) - return r, err -} - -func (r *BlueprintBulletinCreateParams) Marshal() ([]byte, error) { - return json.Marshal(r) -} +type PlatformReportGenerateRequest map[string]interface{} -func UnmarshalBlueprintBulletinCreateRequest(data []byte) (BlueprintBulletinCreateRequest, error) { - var r BlueprintBulletinCreateRequest +func UnmarshalPlatformReportGenerateRequest(data []byte) (PlatformReportGenerateRequest, error) { + var r PlatformReportGenerateRequest err := json.Unmarshal(data, &r) return r, err } -func (r *BlueprintBulletinCreateRequest) Marshal() ([]byte, error) { +func (r *PlatformReportGenerateRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalBlueprintBulletinCreateResponse(data []byte) (BlueprintBulletinCreateResponse, error) { - var r BlueprintBulletinCreateResponse - err := json.Unmarshal(data, &r) - return r, err -} - -func (r *BlueprintBulletinCreateResponse) Marshal() ([]byte, error) { - return json.Marshal(r) -} +type PlatformReportGenerateResponse map[string]interface{} -func UnmarshalBlueprintBulletinListParams(data []byte) (BlueprintBulletinListParams, error) { - var r BlueprintBulletinListParams +func UnmarshalPlatformReportGenerateResponse(data []byte) (PlatformReportGenerateResponse, error) { + var r PlatformReportGenerateResponse err := json.Unmarshal(data, &r) return r, err } -func (r *BlueprintBulletinListParams) Marshal() ([]byte, error) { +func (r *PlatformReportGenerateResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalBlueprintBulletinListResponse(data []byte) (BlueprintBulletinListResponse, error) { - var r BlueprintBulletinListResponse +type ChatCompletionCreateRequest map[string]interface{} + +func UnmarshalChatCompletionCreateRequest(data []byte) (ChatCompletionCreateRequest, error) { + var r ChatCompletionCreateRequest err := json.Unmarshal(data, &r) return r, err } -func (r *BlueprintBulletinListResponse) Marshal() ([]byte, error) { +func (r *ChatCompletionCreateRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalBlueprintBulletinListStreamItem(data []byte) (BlueprintBulletinListStreamItem, error) { - var r BlueprintBulletinListStreamItem +func UnmarshalWhatsappInitiateRequest(data []byte) (WhatsappInitiateRequest, error) { + var r WhatsappInitiateRequest err := json.Unmarshal(data, &r) return r, err } -func (r *BlueprintBulletinListStreamItem) Marshal() ([]byte, error) { +func (r *WhatsappInitiateRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalBlueprintCloneParams(data []byte) (BlueprintCloneParams, error) { - var r BlueprintCloneParams +func UnmarshalWhatsappInitiateResponse(data []byte) (WhatsappInitiateResponse, error) { + var r WhatsappInitiateResponse err := json.Unmarshal(data, &r) return r, err } -func (r *BlueprintCloneParams) Marshal() ([]byte, error) { +func (r *WhatsappInitiateResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -type BlueprintCloneRequest map[string]interface{} - -func UnmarshalBlueprintCloneRequest(data []byte) (BlueprintCloneRequest, error) { - var r BlueprintCloneRequest +func UnmarshalTwilioInitiateRequest(data []byte) (TwilioInitiateRequest, error) { + var r TwilioInitiateRequest err := json.Unmarshal(data, &r) return r, err } -func (r *BlueprintCloneRequest) Marshal() ([]byte, error) { +func (r *TwilioInitiateRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalBlueprintCloneResponse(data []byte) (BlueprintCloneResponse, error) { - var r BlueprintCloneResponse +func UnmarshalTwilioInitiateResponse(data []byte) (TwilioInitiateResponse, error) { + var r TwilioInitiateResponse err := json.Unmarshal(data, &r) return r, err } -func (r *BlueprintCloneResponse) Marshal() ([]byte, error) { +func (r *TwilioInitiateResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalBlueprintDeleteParams(data []byte) (BlueprintDeleteParams, error) { - var r BlueprintDeleteParams +func UnmarshalTelegramInitiateRequest(data []byte) (TelegramInitiateRequest, error) { + var r TelegramInitiateRequest err := json.Unmarshal(data, &r) return r, err } -func (r *BlueprintDeleteParams) Marshal() ([]byte, error) { +func (r *TelegramInitiateRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalBlueprintDeleteRequest(data []byte) (BlueprintDeleteRequest, error) { - var r BlueprintDeleteRequest +func UnmarshalTelegramInitiateResponse(data []byte) (TelegramInitiateResponse, error) { + var r TelegramInitiateResponse err := json.Unmarshal(data, &r) return r, err } -func (r *BlueprintDeleteRequest) Marshal() ([]byte, error) { +func (r *TelegramInitiateResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalBlueprintDeleteResponse(data []byte) (BlueprintDeleteResponse, error) { - var r BlueprintDeleteResponse +func UnmarshalSlackInitiateRequest(data []byte) (SlackInitiateRequest, error) { + var r SlackInitiateRequest err := json.Unmarshal(data, &r) return r, err } -func (r *BlueprintDeleteResponse) Marshal() ([]byte, error) { +func (r *SlackInitiateRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalBlueprintFetchParams(data []byte) (BlueprintFetchParams, error) { - var r BlueprintFetchParams +func UnmarshalSlackInitiateResponse(data []byte) (SlackInitiateResponse, error) { + var r SlackInitiateResponse err := json.Unmarshal(data, &r) return r, err } -func (r *BlueprintFetchParams) Marshal() ([]byte, error) { +func (r *SlackInitiateResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalBlueprintFetchResponse(data []byte) (BlueprintFetchResponse, error) { - var r BlueprintFetchResponse +func UnmarshalRecallInitiateParams(data []byte) (RecallInitiateParams, error) { + var r RecallInitiateParams err := json.Unmarshal(data, &r) return r, err } -func (r *BlueprintFetchResponse) Marshal() ([]byte, error) { +func (r *RecallInitiateParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalBlueprintResourcesExportParams(data []byte) (BlueprintResourcesExportParams, error) { - var r BlueprintResourcesExportParams +func UnmarshalRecallInitiateRequest(data []byte) (RecallInitiateRequest, error) { + var r RecallInitiateRequest err := json.Unmarshal(data, &r) return r, err } -func (r *BlueprintResourcesExportParams) Marshal() ([]byte, error) { +func (r *RecallInitiateRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalBlueprintResourcesExportResponse(data []byte) (BlueprintResourcesExportResponse, error) { - var r BlueprintResourcesExportResponse +func UnmarshalRecallInitiateResponse(data []byte) (RecallInitiateResponse, error) { + var r RecallInitiateResponse err := json.Unmarshal(data, &r) return r, err } -func (r *BlueprintResourcesExportResponse) Marshal() ([]byte, error) { +func (r *RecallInitiateResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalBlueprintResourcesImportParams(data []byte) (BlueprintResourcesImportParams, error) { - var r BlueprintResourcesImportParams +func UnmarshalTeamsInitiateRequest(data []byte) (TeamsInitiateRequest, error) { + var r TeamsInitiateRequest err := json.Unmarshal(data, &r) return r, err } -func (r *BlueprintResourcesImportParams) Marshal() ([]byte, error) { +func (r *TeamsInitiateRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalBlueprintResourcesImportRequest(data []byte) (BlueprintResourcesImportRequest, error) { - var r BlueprintResourcesImportRequest +func UnmarshalTeamsInitiateResponse(data []byte) (TeamsInitiateResponse, error) { + var r TeamsInitiateResponse err := json.Unmarshal(data, &r) return r, err } -func (r *BlueprintResourcesImportRequest) Marshal() ([]byte, error) { +func (r *TeamsInitiateResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalBlueprintResourceListParams(data []byte) (BlueprintResourceListParams, error) { - var r BlueprintResourceListParams +func UnmarshalMessengerInitiateRequest(data []byte) (MessengerInitiateRequest, error) { + var r MessengerInitiateRequest err := json.Unmarshal(data, &r) return r, err } -func (r *BlueprintResourceListParams) Marshal() ([]byte, error) { +func (r *MessengerInitiateRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalBlueprintResourceListResponse(data []byte) (BlueprintResourceListResponse, error) { - var r BlueprintResourceListResponse +func UnmarshalMessengerInitiateResponse(data []byte) (MessengerInitiateResponse, error) { + var r MessengerInitiateResponse err := json.Unmarshal(data, &r) return r, err } -func (r *BlueprintResourceListResponse) Marshal() ([]byte, error) { +func (r *MessengerInitiateResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalBlueprintUpdateParams(data []byte) (BlueprintUpdateParams, error) { - var r BlueprintUpdateParams +func UnmarshalInstagramInitiateRequest(data []byte) (InstagramInitiateRequest, error) { + var r InstagramInitiateRequest err := json.Unmarshal(data, &r) return r, err } -func (r *BlueprintUpdateParams) Marshal() ([]byte, error) { +func (r *InstagramInitiateRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalBlueprintUpdateRequest(data []byte) (BlueprintUpdateRequest, error) { - var r BlueprintUpdateRequest +func UnmarshalInstagramInitiateResponse(data []byte) (InstagramInitiateResponse, error) { + var r InstagramInitiateResponse err := json.Unmarshal(data, &r) return r, err } -func (r *BlueprintUpdateRequest) Marshal() ([]byte, error) { +func (r *InstagramInitiateResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalBlueprintUpdateResponse(data []byte) (BlueprintUpdateResponse, error) { - var r BlueprintUpdateResponse +func UnmarshalGooglechatInitiateRequest(data []byte) (GooglechatInitiateRequest, error) { + var r GooglechatInitiateRequest err := json.Unmarshal(data, &r) return r, err } -func (r *BlueprintUpdateResponse) Marshal() ([]byte, error) { +func (r *GooglechatInitiateRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalBlueprintCreateRequest(data []byte) (BlueprintCreateRequest, error) { - var r BlueprintCreateRequest +func UnmarshalGooglechatInitiateResponse(data []byte) (GooglechatInitiateResponse, error) { + var r GooglechatInitiateResponse err := json.Unmarshal(data, &r) return r, err } -func (r *BlueprintCreateRequest) Marshal() ([]byte, error) { +func (r *GooglechatInitiateResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalBlueprintCreateResponse(data []byte) (BlueprintCreateResponse, error) { - var r BlueprintCreateResponse +func UnmarshalEmailInitiateRequest(data []byte) (EmailInitiateRequest, error) { + var r EmailInitiateRequest err := json.Unmarshal(data, &r) return r, err } -func (r *BlueprintCreateResponse) Marshal() ([]byte, error) { +func (r *EmailInitiateRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalBlueprintListParams(data []byte) (BlueprintListParams, error) { - var r BlueprintListParams +func UnmarshalEmailInitiateResponse(data []byte) (EmailInitiateResponse, error) { + var r EmailInitiateResponse err := json.Unmarshal(data, &r) return r, err } -func (r *BlueprintListParams) Marshal() ([]byte, error) { +func (r *EmailInitiateResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalBlueprintListResponse(data []byte) (BlueprintListResponse, error) { - var r BlueprintListResponse +func UnmarshalDiscordInitiateRequest(data []byte) (DiscordInitiateRequest, error) { + var r DiscordInitiateRequest err := json.Unmarshal(data, &r) return r, err } -func (r *BlueprintListResponse) Marshal() ([]byte, error) { +func (r *DiscordInitiateRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalBlueprintListStreamItem(data []byte) (BlueprintListStreamItem, error) { - var r BlueprintListStreamItem +func UnmarshalDiscordInitiateResponse(data []byte) (DiscordInitiateResponse, error) { + var r DiscordInitiateResponse err := json.Unmarshal(data, &r) return r, err } -func (r *BlueprintListStreamItem) Marshal() ([]byte, error) { +func (r *DiscordInitiateResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalBotCloneParams(data []byte) (BotCloneParams, error) { - var r BotCloneParams +func UnmarshalUserListParams(data []byte) (UserListParams, error) { + var r UserListParams err := json.Unmarshal(data, &r) return r, err } -func (r *BotCloneParams) Marshal() ([]byte, error) { +func (r *UserListParams) Marshal() ([]byte, error) { return json.Marshal(r) } -type BotCloneRequest map[string]interface{} - -func UnmarshalBotCloneRequest(data []byte) (BotCloneRequest, error) { - var r BotCloneRequest +func UnmarshalUserListResponse(data []byte) (UserListResponse, error) { + var r UserListResponse err := json.Unmarshal(data, &r) return r, err } -func (r *BotCloneRequest) Marshal() ([]byte, error) { +func (r *UserListResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalBotCloneResponse(data []byte) (BotCloneResponse, error) { - var r BotCloneResponse +func UnmarshalUserListStreamItem(data []byte) (UserListStreamItem, error) { + var r UserListStreamItem err := json.Unmarshal(data, &r) return r, err } -func (r *BotCloneResponse) Marshal() ([]byte, error) { +func (r *UserListStreamItem) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalBotDeleteParams(data []byte) (BotDeleteParams, error) { - var r BotDeleteParams +func UnmarshalUserCreateRequest(data []byte) (UserCreateRequest, error) { + var r UserCreateRequest err := json.Unmarshal(data, &r) return r, err } -func (r *BotDeleteParams) Marshal() ([]byte, error) { +func (r *UserCreateRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -type BotDeleteRequest map[string]interface{} - -func UnmarshalBotDeleteRequest(data []byte) (BotDeleteRequest, error) { - var r BotDeleteRequest +func UnmarshalUserCreateResponse(data []byte) (UserCreateResponse, error) { + var r UserCreateResponse err := json.Unmarshal(data, &r) return r, err } -func (r *BotDeleteRequest) Marshal() ([]byte, error) { +func (r *UserCreateResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalBotDeleteResponse(data []byte) (BotDeleteResponse, error) { - var r BotDeleteResponse +func UnmarshalUserUpdateParams(data []byte) (UserUpdateParams, error) { + var r UserUpdateParams err := json.Unmarshal(data, &r) return r, err } -func (r *BotDeleteResponse) Marshal() ([]byte, error) { +func (r *UserUpdateParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalBotDownvoteParams(data []byte) (BotDownvoteParams, error) { - var r BotDownvoteParams +func UnmarshalUserUpdateRequest(data []byte) (UserUpdateRequest, error) { + var r UserUpdateRequest err := json.Unmarshal(data, &r) return r, err } -func (r *BotDownvoteParams) Marshal() ([]byte, error) { +func (r *UserUpdateRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalBotDownvoteRequest(data []byte) (BotDownvoteRequest, error) { - var r BotDownvoteRequest +func UnmarshalUserUpdateResponse(data []byte) (UserUpdateResponse, error) { + var r UserUpdateResponse err := json.Unmarshal(data, &r) return r, err } -func (r *BotDownvoteRequest) Marshal() ([]byte, error) { +func (r *UserUpdateResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalBotDownvoteResponse(data []byte) (BotDownvoteResponse, error) { - var r BotDownvoteResponse +func UnmarshalUserFetchParams(data []byte) (UserFetchParams, error) { + var r UserFetchParams err := json.Unmarshal(data, &r) return r, err } -func (r *BotDownvoteResponse) Marshal() ([]byte, error) { +func (r *UserFetchParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalBotFetchParams(data []byte) (BotFetchParams, error) { - var r BotFetchParams +func UnmarshalUserFetchResponse(data []byte) (UserFetchResponse, error) { + var r UserFetchResponse err := json.Unmarshal(data, &r) return r, err } -func (r *BotFetchParams) Marshal() ([]byte, error) { +func (r *UserFetchResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalBotFetchResponse(data []byte) (BotFetchResponse, error) { - var r BotFetchResponse +func UnmarshalUserDeleteParams(data []byte) (UserDeleteParams, error) { + var r UserDeleteParams err := json.Unmarshal(data, &r) return r, err } -func (r *BotFetchResponse) Marshal() ([]byte, error) { +func (r *UserDeleteParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalBotMemorySearchParams(data []byte) (BotMemorySearchParams, error) { - var r BotMemorySearchParams +type UserDeleteRequest map[string]interface{} + +func UnmarshalUserDeleteRequest(data []byte) (UserDeleteRequest, error) { + var r UserDeleteRequest err := json.Unmarshal(data, &r) return r, err } -func (r *BotMemorySearchParams) Marshal() ([]byte, error) { +func (r *UserDeleteRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalBotMemorySearchRequest(data []byte) (BotMemorySearchRequest, error) { - var r BotMemorySearchRequest +func UnmarshalUserDeleteResponse(data []byte) (UserDeleteResponse, error) { + var r UserDeleteResponse err := json.Unmarshal(data, &r) return r, err } -func (r *BotMemorySearchRequest) Marshal() ([]byte, error) { +func (r *UserDeleteResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalBotMemorySearchResponse(data []byte) (BotMemorySearchResponse, error) { - var r BotMemorySearchResponse +func UnmarshalUserTokenListParams(data []byte) (UserTokenListParams, error) { + var r UserTokenListParams err := json.Unmarshal(data, &r) return r, err } -func (r *BotMemorySearchResponse) Marshal() ([]byte, error) { +func (r *UserTokenListParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalBotSessionCreateParams(data []byte) (BotSessionCreateParams, error) { - var r BotSessionCreateParams +func UnmarshalUserTokenListResponse(data []byte) (UserTokenListResponse, error) { + var r UserTokenListResponse err := json.Unmarshal(data, &r) return r, err } -func (r *BotSessionCreateParams) Marshal() ([]byte, error) { +func (r *UserTokenListResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalBotSessionCreateRequest(data []byte) (BotSessionCreateRequest, error) { - var r BotSessionCreateRequest +func UnmarshalUserTokenListStreamItem(data []byte) (UserTokenListStreamItem, error) { + var r UserTokenListStreamItem err := json.Unmarshal(data, &r) return r, err } -func (r *BotSessionCreateRequest) Marshal() ([]byte, error) { +func (r *UserTokenListStreamItem) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalBotSessionCreateResponse(data []byte) (BotSessionCreateResponse, error) { - var r BotSessionCreateResponse +func UnmarshalUserTokenCreateParams(data []byte) (UserTokenCreateParams, error) { + var r UserTokenCreateParams err := json.Unmarshal(data, &r) return r, err } -func (r *BotSessionCreateResponse) Marshal() ([]byte, error) { +func (r *UserTokenCreateParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalBotUpdateParams(data []byte) (BotUpdateParams, error) { - var r BotUpdateParams +func UnmarshalUserTokenCreateRequest(data []byte) (UserTokenCreateRequest, error) { + var r UserTokenCreateRequest err := json.Unmarshal(data, &r) return r, err } -func (r *BotUpdateParams) Marshal() ([]byte, error) { +func (r *UserTokenCreateRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalBotUpdateRequest(data []byte) (BotUpdateRequest, error) { - var r BotUpdateRequest +func UnmarshalUserTokenCreateResponse(data []byte) (UserTokenCreateResponse, error) { + var r UserTokenCreateResponse err := json.Unmarshal(data, &r) return r, err } -func (r *BotUpdateRequest) Marshal() ([]byte, error) { +func (r *UserTokenCreateResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalBotUpdateResponse(data []byte) (BotUpdateResponse, error) { - var r BotUpdateResponse +func UnmarshalUserTokenUpdateParams(data []byte) (UserTokenUpdateParams, error) { + var r UserTokenUpdateParams err := json.Unmarshal(data, &r) return r, err } -func (r *BotUpdateResponse) Marshal() ([]byte, error) { +func (r *UserTokenUpdateParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalBotUpvoteParams(data []byte) (BotUpvoteParams, error) { - var r BotUpvoteParams +func UnmarshalUserTokenUpdateRequest(data []byte) (UserTokenUpdateRequest, error) { + var r UserTokenUpdateRequest err := json.Unmarshal(data, &r) return r, err } -func (r *BotUpvoteParams) Marshal() ([]byte, error) { +func (r *UserTokenUpdateRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalBotUpvoteRequest(data []byte) (BotUpvoteRequest, error) { - var r BotUpvoteRequest +func UnmarshalUserTokenUpdateResponse(data []byte) (UserTokenUpdateResponse, error) { + var r UserTokenUpdateResponse err := json.Unmarshal(data, &r) return r, err } -func (r *BotUpvoteRequest) Marshal() ([]byte, error) { +func (r *UserTokenUpdateResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalBotUpvoteResponse(data []byte) (BotUpvoteResponse, error) { - var r BotUpvoteResponse +func UnmarshalUserTokenDeleteParams(data []byte) (UserTokenDeleteParams, error) { + var r UserTokenDeleteParams err := json.Unmarshal(data, &r) return r, err } -func (r *BotUpvoteResponse) Marshal() ([]byte, error) { +func (r *UserTokenDeleteParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalBotUsageFetchParams(data []byte) (BotUsageFetchParams, error) { - var r BotUsageFetchParams +type UserTokenDeleteRequest map[string]interface{} + +func UnmarshalUserTokenDeleteRequest(data []byte) (UserTokenDeleteRequest, error) { + var r UserTokenDeleteRequest err := json.Unmarshal(data, &r) return r, err } -func (r *BotUsageFetchParams) Marshal() ([]byte, error) { +func (r *UserTokenDeleteRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalBotUsageFetchResponse(data []byte) (BotUsageFetchResponse, error) { - var r BotUsageFetchResponse +func UnmarshalUserTokenDeleteResponse(data []byte) (UserTokenDeleteResponse, error) { + var r UserTokenDeleteResponse err := json.Unmarshal(data, &r) return r, err } -func (r *BotUsageFetchResponse) Marshal() ([]byte, error) { +func (r *UserTokenDeleteResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalBotCreateRequest(data []byte) (BotCreateRequest, error) { - var r BotCreateRequest +func UnmarshalUserSessionCreateParams(data []byte) (UserSessionCreateParams, error) { + var r UserSessionCreateParams err := json.Unmarshal(data, &r) return r, err } -func (r *BotCreateRequest) Marshal() ([]byte, error) { +func (r *UserSessionCreateParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalBotCreateResponse(data []byte) (BotCreateResponse, error) { - var r BotCreateResponse +func UnmarshalUserSessionCreateRequest(data []byte) (UserSessionCreateRequest, error) { + var r UserSessionCreateRequest err := json.Unmarshal(data, &r) return r, err } -func (r *BotCreateResponse) Marshal() ([]byte, error) { +func (r *UserSessionCreateRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalBotListParams(data []byte) (BotListParams, error) { - var r BotListParams +func UnmarshalUserSessionCreateResponse(data []byte) (UserSessionCreateResponse, error) { + var r UserSessionCreateResponse err := json.Unmarshal(data, &r) return r, err } -func (r *BotListParams) Marshal() ([]byte, error) { +func (r *UserSessionCreateResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalBotListResponse(data []byte) (BotListResponse, error) { - var r BotListResponse +func UnmarshalUserContextListParams(data []byte) (UserContextListParams, error) { + var r UserContextListParams err := json.Unmarshal(data, &r) return r, err } -func (r *BotListResponse) Marshal() ([]byte, error) { +func (r *UserContextListParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalBotListStreamItem(data []byte) (BotListStreamItem, error) { - var r BotListStreamItem +func UnmarshalUserContextListResponse(data []byte) (UserContextListResponse, error) { + var r UserContextListResponse err := json.Unmarshal(data, &r) return r, err } -func (r *BotListStreamItem) Marshal() ([]byte, error) { +func (r *UserContextListResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalChannelMessagePublishParams(data []byte) (ChannelMessagePublishParams, error) { - var r ChannelMessagePublishParams +func UnmarshalUserContextListStreamItem(data []byte) (UserContextListStreamItem, error) { + var r UserContextListStreamItem err := json.Unmarshal(data, &r) return r, err } -func (r *ChannelMessagePublishParams) Marshal() ([]byte, error) { +func (r *UserContextListStreamItem) Marshal() ([]byte, error) { return json.Marshal(r) } - -func UnmarshalChannelMessagePublishRequest(data []byte) (ChannelMessagePublishRequest, error) { - var r ChannelMessagePublishRequest + +func UnmarshalUserContextCreateParams(data []byte) (UserContextCreateParams, error) { + var r UserContextCreateParams err := json.Unmarshal(data, &r) return r, err } -func (r *ChannelMessagePublishRequest) Marshal() ([]byte, error) { +func (r *UserContextCreateParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalChannelMessagePublishResponse(data []byte) (ChannelMessagePublishResponse, error) { - var r ChannelMessagePublishResponse +func UnmarshalUserContextCreateRequest(data []byte) (UserContextCreateRequest, error) { + var r UserContextCreateRequest err := json.Unmarshal(data, &r) return r, err } -func (r *ChannelMessagePublishResponse) Marshal() ([]byte, error) { +func (r *UserContextCreateRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalChannelMessagesSubscribeParams(data []byte) (ChannelMessagesSubscribeParams, error) { - var r ChannelMessagesSubscribeParams +func UnmarshalUserContextCreateResponse(data []byte) (UserContextCreateResponse, error) { + var r UserContextCreateResponse err := json.Unmarshal(data, &r) return r, err } -func (r *ChannelMessagesSubscribeParams) Marshal() ([]byte, error) { +func (r *UserContextCreateResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalChannelMessagesSubscribeRequest(data []byte) (ChannelMessagesSubscribeRequest, error) { - var r ChannelMessagesSubscribeRequest +func UnmarshalUserContextUpdateParams(data []byte) (UserContextUpdateParams, error) { + var r UserContextUpdateParams err := json.Unmarshal(data, &r) return r, err } -func (r *ChannelMessagesSubscribeRequest) Marshal() ([]byte, error) { +func (r *UserContextUpdateParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalChannelMessagesSubscribeStreamItem(data []byte) (ChannelMessagesSubscribeStreamItem, error) { - var r ChannelMessagesSubscribeStreamItem +func UnmarshalUserContextUpdateRequest(data []byte) (UserContextUpdateRequest, error) { + var r UserContextUpdateRequest err := json.Unmarshal(data, &r) return r, err } -func (r *ChannelMessagesSubscribeStreamItem) Marshal() ([]byte, error) { +func (r *UserContextUpdateRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalContactConversationListParams(data []byte) (ContactConversationListParams, error) { - var r ContactConversationListParams +func UnmarshalUserContextUpdateResponse(data []byte) (UserContextUpdateResponse, error) { + var r UserContextUpdateResponse err := json.Unmarshal(data, &r) return r, err } -func (r *ContactConversationListParams) Marshal() ([]byte, error) { +func (r *UserContextUpdateResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalContactConversationListResponse(data []byte) (ContactConversationListResponse, error) { - var r ContactConversationListResponse +func UnmarshalUserContextFetchParams(data []byte) (UserContextFetchParams, error) { + var r UserContextFetchParams err := json.Unmarshal(data, &r) return r, err } -func (r *ContactConversationListResponse) Marshal() ([]byte, error) { +func (r *UserContextFetchParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalContactConversationListStreamItem(data []byte) (ContactConversationListStreamItem, error) { - var r ContactConversationListStreamItem +func UnmarshalUserContextFetchResponse(data []byte) (UserContextFetchResponse, error) { + var r UserContextFetchResponse err := json.Unmarshal(data, &r) return r, err } -func (r *ContactConversationListStreamItem) Marshal() ([]byte, error) { +func (r *UserContextFetchResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalContactDeleteParams(data []byte) (ContactDeleteParams, error) { - var r ContactDeleteParams +func UnmarshalUserContextDeleteParams(data []byte) (UserContextDeleteParams, error) { + var r UserContextDeleteParams err := json.Unmarshal(data, &r) return r, err } -func (r *ContactDeleteParams) Marshal() ([]byte, error) { +func (r *UserContextDeleteParams) Marshal() ([]byte, error) { return json.Marshal(r) } -type ContactDeleteRequest map[string]interface{} +type UserContextDeleteRequest map[string]interface{} -func UnmarshalContactDeleteRequest(data []byte) (ContactDeleteRequest, error) { - var r ContactDeleteRequest +func UnmarshalUserContextDeleteRequest(data []byte) (UserContextDeleteRequest, error) { + var r UserContextDeleteRequest err := json.Unmarshal(data, &r) return r, err } -func (r *ContactDeleteRequest) Marshal() ([]byte, error) { +func (r *UserContextDeleteRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalContactDeleteResponse(data []byte) (ContactDeleteResponse, error) { - var r ContactDeleteResponse +func UnmarshalUserContextDeleteResponse(data []byte) (UserContextDeleteResponse, error) { + var r UserContextDeleteResponse err := json.Unmarshal(data, &r) return r, err } -func (r *ContactDeleteResponse) Marshal() ([]byte, error) { +func (r *UserContextDeleteResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalContactFetchParams(data []byte) (ContactFetchParams, error) { - var r ContactFetchParams +func UnmarshalUsageRecordListParams(data []byte) (UsageRecordListParams, error) { + var r UsageRecordListParams err := json.Unmarshal(data, &r) return r, err } -func (r *ContactFetchParams) Marshal() ([]byte, error) { +func (r *UsageRecordListParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalContactFetchResponse(data []byte) (ContactFetchResponse, error) { - var r ContactFetchResponse +func UnmarshalUsageRecordListResponse(data []byte) (UsageRecordListResponse, error) { + var r UsageRecordListResponse err := json.Unmarshal(data, &r) return r, err } -func (r *ContactFetchResponse) Marshal() ([]byte, error) { +func (r *UsageRecordListResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalContactMemoryListParams(data []byte) (ContactMemoryListParams, error) { - var r ContactMemoryListParams +func UnmarshalUsageFetchResponse(data []byte) (UsageFetchResponse, error) { + var r UsageFetchResponse err := json.Unmarshal(data, &r) return r, err } -func (r *ContactMemoryListParams) Marshal() ([]byte, error) { +func (r *UsageFetchResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalContactMemoryListResponse(data []byte) (ContactMemoryListResponse, error) { - var r ContactMemoryListResponse +func UnmarshalUsageSeriesFetchResponse(data []byte) (UsageSeriesFetchResponse, error) { + var r UsageSeriesFetchResponse err := json.Unmarshal(data, &r) return r, err } -func (r *ContactMemoryListResponse) Marshal() ([]byte, error) { +func (r *UsageSeriesFetchResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalContactMemoryListStreamItem(data []byte) (ContactMemoryListStreamItem, error) { - var r ContactMemoryListStreamItem +func UnmarshalTeamListParams(data []byte) (TeamListParams, error) { + var r TeamListParams err := json.Unmarshal(data, &r) return r, err } -func (r *ContactMemoryListStreamItem) Marshal() ([]byte, error) { +func (r *TeamListParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalContactMemorySearchParams(data []byte) (ContactMemorySearchParams, error) { - var r ContactMemorySearchParams +func UnmarshalTeamListResponse(data []byte) (TeamListResponse, error) { + var r TeamListResponse err := json.Unmarshal(data, &r) return r, err } -func (r *ContactMemorySearchParams) Marshal() ([]byte, error) { +func (r *TeamListResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalContactMemorySearchRequest(data []byte) (ContactMemorySearchRequest, error) { - var r ContactMemorySearchRequest +func UnmarshalTeamListStreamItem(data []byte) (TeamListStreamItem, error) { + var r TeamListStreamItem err := json.Unmarshal(data, &r) return r, err } -func (r *ContactMemorySearchRequest) Marshal() ([]byte, error) { +func (r *TeamListStreamItem) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalContactMemorySearchResponse(data []byte) (ContactMemorySearchResponse, error) { - var r ContactMemorySearchResponse +func UnmarshalTaskListParams(data []byte) (TaskListParams, error) { + var r TaskListParams err := json.Unmarshal(data, &r) return r, err } -func (r *ContactMemorySearchResponse) Marshal() ([]byte, error) { +func (r *TaskListParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalContactRatingListParams(data []byte) (ContactRatingListParams, error) { - var r ContactRatingListParams +func UnmarshalTaskListResponse(data []byte) (TaskListResponse, error) { + var r TaskListResponse err := json.Unmarshal(data, &r) return r, err } -func (r *ContactRatingListParams) Marshal() ([]byte, error) { +func (r *TaskListResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalContactRatingListResponse(data []byte) (ContactRatingListResponse, error) { - var r ContactRatingListResponse +func UnmarshalTaskListStreamItem(data []byte) (TaskListStreamItem, error) { + var r TaskListStreamItem err := json.Unmarshal(data, &r) return r, err } -func (r *ContactRatingListResponse) Marshal() ([]byte, error) { +func (r *TaskListStreamItem) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalContactRatingListStreamItem(data []byte) (ContactRatingListStreamItem, error) { - var r ContactRatingListStreamItem +func UnmarshalTasksExportParams(data []byte) (TasksExportParams, error) { + var r TasksExportParams err := json.Unmarshal(data, &r) return r, err } -func (r *ContactRatingListStreamItem) Marshal() ([]byte, error) { +func (r *TasksExportParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalContactSecretAuthenticateParams(data []byte) (ContactSecretAuthenticateParams, error) { - var r ContactSecretAuthenticateParams +func UnmarshalTasksExportResponse(data []byte) (TasksExportResponse, error) { + var r TasksExportResponse err := json.Unmarshal(data, &r) return r, err } -func (r *ContactSecretAuthenticateParams) Marshal() ([]byte, error) { +func (r *TasksExportResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -type ContactSecretAuthenticateRequest map[string]interface{} - -func UnmarshalContactSecretAuthenticateRequest(data []byte) (ContactSecretAuthenticateRequest, error) { - var r ContactSecretAuthenticateRequest +func UnmarshalTasksExportStreamItem(data []byte) (TasksExportStreamItem, error) { + var r TasksExportStreamItem err := json.Unmarshal(data, &r) return r, err } -func (r *ContactSecretAuthenticateRequest) Marshal() ([]byte, error) { +func (r *TasksExportStreamItem) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalContactSecretAuthenticateResponse(data []byte) (ContactSecretAuthenticateResponse, error) { - var r ContactSecretAuthenticateResponse +func UnmarshalTaskCreateRequest(data []byte) (TaskCreateRequest, error) { + var r TaskCreateRequest err := json.Unmarshal(data, &r) return r, err } -func (r *ContactSecretAuthenticateResponse) Marshal() ([]byte, error) { +func (r *TaskCreateRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalContactSecretMintParams(data []byte) (ContactSecretMintParams, error) { - var r ContactSecretMintParams +func UnmarshalTaskCreateResponse(data []byte) (TaskCreateResponse, error) { + var r TaskCreateResponse err := json.Unmarshal(data, &r) return r, err } -func (r *ContactSecretMintParams) Marshal() ([]byte, error) { +func (r *TaskCreateResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalContactSecretMintResponse(data []byte) (ContactSecretMintResponse, error) { - var r ContactSecretMintResponse +func UnmarshalTaskUpdateParams(data []byte) (TaskUpdateParams, error) { + var r TaskUpdateParams err := json.Unmarshal(data, &r) return r, err } -func (r *ContactSecretMintResponse) Marshal() ([]byte, error) { +func (r *TaskUpdateParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalContactSecretProxyParams(data []byte) (ContactSecretProxyParams, error) { - var r ContactSecretProxyParams +func UnmarshalTaskUpdateRequest(data []byte) (TaskUpdateRequest, error) { + var r TaskUpdateRequest err := json.Unmarshal(data, &r) return r, err } -func (r *ContactSecretProxyParams) Marshal() ([]byte, error) { +func (r *TaskUpdateRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalContactSecretProxyRequest(data []byte) (ContactSecretProxyRequest, error) { - var r ContactSecretProxyRequest +func UnmarshalTaskUpdateResponse(data []byte) (TaskUpdateResponse, error) { + var r TaskUpdateResponse err := json.Unmarshal(data, &r) return r, err } -func (r *ContactSecretProxyRequest) Marshal() ([]byte, error) { +func (r *TaskUpdateResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalContactSecretRevokeParams(data []byte) (ContactSecretRevokeParams, error) { - var r ContactSecretRevokeParams +func UnmarshalTaskTriggerParams(data []byte) (TaskTriggerParams, error) { + var r TaskTriggerParams err := json.Unmarshal(data, &r) return r, err } -func (r *ContactSecretRevokeParams) Marshal() ([]byte, error) { +func (r *TaskTriggerParams) Marshal() ([]byte, error) { return json.Marshal(r) } -type ContactSecretRevokeRequest map[string]interface{} +type TaskTriggerRequest map[string]interface{} -func UnmarshalContactSecretRevokeRequest(data []byte) (ContactSecretRevokeRequest, error) { - var r ContactSecretRevokeRequest +func UnmarshalTaskTriggerRequest(data []byte) (TaskTriggerRequest, error) { + var r TaskTriggerRequest err := json.Unmarshal(data, &r) return r, err } -func (r *ContactSecretRevokeRequest) Marshal() ([]byte, error) { +func (r *TaskTriggerRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalContactSecretRevokeResponse(data []byte) (ContactSecretRevokeResponse, error) { - var r ContactSecretRevokeResponse +func UnmarshalTaskTriggerResponse(data []byte) (TaskTriggerResponse, error) { + var r TaskTriggerResponse err := json.Unmarshal(data, &r) return r, err } -func (r *ContactSecretRevokeResponse) Marshal() ([]byte, error) { +func (r *TaskTriggerResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalContactSecretVerifyParams(data []byte) (ContactSecretVerifyParams, error) { - var r ContactSecretVerifyParams +func UnmarshalTaskFetchParams(data []byte) (TaskFetchParams, error) { + var r TaskFetchParams err := json.Unmarshal(data, &r) return r, err } -func (r *ContactSecretVerifyParams) Marshal() ([]byte, error) { +func (r *TaskFetchParams) Marshal() ([]byte, error) { return json.Marshal(r) } -type ContactSecretVerifyRequest map[string]interface{} +func UnmarshalTaskFetchResponse(data []byte) (TaskFetchResponse, error) { + var r TaskFetchResponse + err := json.Unmarshal(data, &r) + return r, err +} -func UnmarshalContactSecretVerifyRequest(data []byte) (ContactSecretVerifyRequest, error) { - var r ContactSecretVerifyRequest +func (r *TaskFetchResponse) Marshal() ([]byte, error) { + return json.Marshal(r) +} + +func UnmarshalTaskDeleteParams(data []byte) (TaskDeleteParams, error) { + var r TaskDeleteParams err := json.Unmarshal(data, &r) return r, err } -func (r *ContactSecretVerifyRequest) Marshal() ([]byte, error) { +func (r *TaskDeleteParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalContactSecretVerifyResponse(data []byte) (ContactSecretVerifyResponse, error) { - var r ContactSecretVerifyResponse +type TaskDeleteRequest map[string]interface{} + +func UnmarshalTaskDeleteRequest(data []byte) (TaskDeleteRequest, error) { + var r TaskDeleteRequest err := json.Unmarshal(data, &r) return r, err } -func (r *ContactSecretVerifyResponse) Marshal() ([]byte, error) { +func (r *TaskDeleteRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalContactSecretListParams(data []byte) (ContactSecretListParams, error) { - var r ContactSecretListParams +func UnmarshalTaskDeleteResponse(data []byte) (TaskDeleteResponse, error) { + var r TaskDeleteResponse err := json.Unmarshal(data, &r) return r, err } -func (r *ContactSecretListParams) Marshal() ([]byte, error) { +func (r *TaskDeleteResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalContactSecretListResponse(data []byte) (ContactSecretListResponse, error) { - var r ContactSecretListResponse +func UnmarshalTaskCancelParams(data []byte) (TaskCancelParams, error) { + var r TaskCancelParams err := json.Unmarshal(data, &r) return r, err } -func (r *ContactSecretListResponse) Marshal() ([]byte, error) { +func (r *TaskCancelParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalContactSecretListStreamItem(data []byte) (ContactSecretListStreamItem, error) { - var r ContactSecretListStreamItem +type TaskCancelRequest map[string]interface{} + +func UnmarshalTaskCancelRequest(data []byte) (TaskCancelRequest, error) { + var r TaskCancelRequest err := json.Unmarshal(data, &r) return r, err } -func (r *ContactSecretListStreamItem) Marshal() ([]byte, error) { +func (r *TaskCancelRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalContactSpaceListParams(data []byte) (ContactSpaceListParams, error) { - var r ContactSpaceListParams +func UnmarshalTaskCancelResponse(data []byte) (TaskCancelResponse, error) { + var r TaskCancelResponse err := json.Unmarshal(data, &r) return r, err } -func (r *ContactSpaceListParams) Marshal() ([]byte, error) { +func (r *TaskCancelResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalContactSpaceListResponse(data []byte) (ContactSpaceListResponse, error) { - var r ContactSpaceListResponse +func UnmarshalTaskExecutionListParams(data []byte) (TaskExecutionListParams, error) { + var r TaskExecutionListParams err := json.Unmarshal(data, &r) return r, err } -func (r *ContactSpaceListResponse) Marshal() ([]byte, error) { +func (r *TaskExecutionListParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalContactSpaceListStreamItem(data []byte) (ContactSpaceListStreamItem, error) { - var r ContactSpaceListStreamItem +func UnmarshalTaskExecutionListResponse(data []byte) (TaskExecutionListResponse, error) { + var r TaskExecutionListResponse err := json.Unmarshal(data, &r) return r, err } -func (r *ContactSpaceListStreamItem) Marshal() ([]byte, error) { +func (r *TaskExecutionListResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalContactTaskListParams(data []byte) (ContactTaskListParams, error) { - var r ContactTaskListParams +func UnmarshalTaskExecutionListStreamItem(data []byte) (TaskExecutionListStreamItem, error) { + var r TaskExecutionListStreamItem err := json.Unmarshal(data, &r) return r, err } -func (r *ContactTaskListParams) Marshal() ([]byte, error) { +func (r *TaskExecutionListStreamItem) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalContactTaskListResponse(data []byte) (ContactTaskListResponse, error) { - var r ContactTaskListResponse +func UnmarshalTaskExecutionCancelParams(data []byte) (TaskExecutionCancelParams, error) { + var r TaskExecutionCancelParams err := json.Unmarshal(data, &r) return r, err } -func (r *ContactTaskListResponse) Marshal() ([]byte, error) { +func (r *TaskExecutionCancelParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalContactTaskListStreamItem(data []byte) (ContactTaskListStreamItem, error) { - var r ContactTaskListStreamItem +type TaskExecutionCancelRequest map[string]interface{} + +func UnmarshalTaskExecutionCancelRequest(data []byte) (TaskExecutionCancelRequest, error) { + var r TaskExecutionCancelRequest err := json.Unmarshal(data, &r) return r, err } -func (r *ContactTaskListStreamItem) Marshal() ([]byte, error) { +func (r *TaskExecutionCancelRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalContactUpdateParams(data []byte) (ContactUpdateParams, error) { - var r ContactUpdateParams +func UnmarshalTaskExecutionCancelResponse(data []byte) (TaskExecutionCancelResponse, error) { + var r TaskExecutionCancelResponse err := json.Unmarshal(data, &r) return r, err } -func (r *ContactUpdateParams) Marshal() ([]byte, error) { +func (r *TaskExecutionCancelResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalContactUpdateRequest(data []byte) (ContactUpdateRequest, error) { - var r ContactUpdateRequest +func UnmarshalSpaceListParams(data []byte) (SpaceListParams, error) { + var r SpaceListParams err := json.Unmarshal(data, &r) return r, err } -func (r *ContactUpdateRequest) Marshal() ([]byte, error) { +func (r *SpaceListParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalContactUpdateResponse(data []byte) (ContactUpdateResponse, error) { - var r ContactUpdateResponse +func UnmarshalSpaceListResponse(data []byte) (SpaceListResponse, error) { + var r SpaceListResponse err := json.Unmarshal(data, &r) return r, err } -func (r *ContactUpdateResponse) Marshal() ([]byte, error) { +func (r *SpaceListResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalContactCreateRequest(data []byte) (ContactCreateRequest, error) { - var r ContactCreateRequest +func UnmarshalSpaceListStreamItem(data []byte) (SpaceListStreamItem, error) { + var r SpaceListStreamItem err := json.Unmarshal(data, &r) return r, err } -func (r *ContactCreateRequest) Marshal() ([]byte, error) { +func (r *SpaceListStreamItem) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalContactCreateResponse(data []byte) (ContactCreateResponse, error) { - var r ContactCreateResponse +func UnmarshalSpacesExportParams(data []byte) (SpacesExportParams, error) { + var r SpacesExportParams err := json.Unmarshal(data, &r) return r, err } -func (r *ContactCreateResponse) Marshal() ([]byte, error) { +func (r *SpacesExportParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalContactEnsureRequest(data []byte) (ContactEnsureRequest, error) { - var r ContactEnsureRequest +func UnmarshalSpacesExportResponse(data []byte) (SpacesExportResponse, error) { + var r SpacesExportResponse err := json.Unmarshal(data, &r) return r, err } -func (r *ContactEnsureRequest) Marshal() ([]byte, error) { +func (r *SpacesExportResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalContactEnsureResponse(data []byte) (ContactEnsureResponse, error) { - var r ContactEnsureResponse +func UnmarshalSpacesExportStreamItem(data []byte) (SpacesExportStreamItem, error) { + var r SpacesExportStreamItem err := json.Unmarshal(data, &r) return r, err } -func (r *ContactEnsureResponse) Marshal() ([]byte, error) { +func (r *SpacesExportStreamItem) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalContactsExportParams(data []byte) (ContactsExportParams, error) { - var r ContactsExportParams +func UnmarshalSpaceCreateRequest(data []byte) (SpaceCreateRequest, error) { + var r SpaceCreateRequest err := json.Unmarshal(data, &r) return r, err } -func (r *ContactsExportParams) Marshal() ([]byte, error) { +func (r *SpaceCreateRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalContactsExportResponse(data []byte) (ContactsExportResponse, error) { - var r ContactsExportResponse +func UnmarshalSpaceCreateResponse(data []byte) (SpaceCreateResponse, error) { + var r SpaceCreateResponse err := json.Unmarshal(data, &r) return r, err } -func (r *ContactsExportResponse) Marshal() ([]byte, error) { +func (r *SpaceCreateResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalContactsExportStreamItem(data []byte) (ContactsExportStreamItem, error) { - var r ContactsExportStreamItem +func UnmarshalSpaceUpdateParams(data []byte) (SpaceUpdateParams, error) { + var r SpaceUpdateParams err := json.Unmarshal(data, &r) return r, err } -func (r *ContactsExportStreamItem) Marshal() ([]byte, error) { +func (r *SpaceUpdateParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalContactListParams(data []byte) (ContactListParams, error) { - var r ContactListParams +func UnmarshalSpaceUpdateRequest(data []byte) (SpaceUpdateRequest, error) { + var r SpaceUpdateRequest err := json.Unmarshal(data, &r) return r, err } -func (r *ContactListParams) Marshal() ([]byte, error) { +func (r *SpaceUpdateRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalContactListResponse(data []byte) (ContactListResponse, error) { - var r ContactListResponse +func UnmarshalSpaceUpdateResponse(data []byte) (SpaceUpdateResponse, error) { + var r SpaceUpdateResponse err := json.Unmarshal(data, &r) return r, err } -func (r *ContactListResponse) Marshal() ([]byte, error) { +func (r *SpaceUpdateResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalContactListStreamItem(data []byte) (ContactListStreamItem, error) { - var r ContactListStreamItem +func UnmarshalSpaceFetchParams(data []byte) (SpaceFetchParams, error) { + var r SpaceFetchParams err := json.Unmarshal(data, &r) return r, err } -func (r *ContactListStreamItem) Marshal() ([]byte, error) { +func (r *SpaceFetchParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalConversationAttachmentListParams(data []byte) (ConversationAttachmentListParams, error) { - var r ConversationAttachmentListParams +func UnmarshalSpaceFetchResponse(data []byte) (SpaceFetchResponse, error) { + var r SpaceFetchResponse err := json.Unmarshal(data, &r) return r, err } -func (r *ConversationAttachmentListParams) Marshal() ([]byte, error) { +func (r *SpaceFetchResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalConversationAttachmentListResponse(data []byte) (ConversationAttachmentListResponse, error) { - var r ConversationAttachmentListResponse +func UnmarshalSpaceDeleteParams(data []byte) (SpaceDeleteParams, error) { + var r SpaceDeleteParams err := json.Unmarshal(data, &r) return r, err } -func (r *ConversationAttachmentListResponse) Marshal() ([]byte, error) { +func (r *SpaceDeleteParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalConversationAttachmentUploadParams(data []byte) (ConversationAttachmentUploadParams, error) { - var r ConversationAttachmentUploadParams +type SpaceDeleteRequest map[string]interface{} + +func UnmarshalSpaceDeleteRequest(data []byte) (SpaceDeleteRequest, error) { + var r SpaceDeleteRequest err := json.Unmarshal(data, &r) return r, err } -func (r *ConversationAttachmentUploadParams) Marshal() ([]byte, error) { +func (r *SpaceDeleteRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalConversationAttachmentUploadRequest(data []byte) (ConversationAttachmentUploadRequest, error) { - var r ConversationAttachmentUploadRequest +func UnmarshalSpaceDeleteResponse(data []byte) (SpaceDeleteResponse, error) { + var r SpaceDeleteResponse err := json.Unmarshal(data, &r) return r, err } -func (r *ConversationAttachmentUploadRequest) Marshal() ([]byte, error) { +func (r *SpaceDeleteResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalConversationAttachmentUploadResponse(data []byte) (ConversationAttachmentUploadResponse, error) { - var r ConversationAttachmentUploadResponse +func UnmarshalSpaceStoragePathUploadParams(data []byte) (SpaceStoragePathUploadParams, error) { + var r SpaceStoragePathUploadParams err := json.Unmarshal(data, &r) return r, err } -func (r *ConversationAttachmentUploadResponse) Marshal() ([]byte, error) { +func (r *SpaceStoragePathUploadParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalConversationChannelSubscribeRequest(data []byte) (ConversationChannelSubscribeRequest, error) { - var r ConversationChannelSubscribeRequest +func UnmarshalSpaceStoragePathUploadRequest(data []byte) (SpaceStoragePathUploadRequest, error) { + var r SpaceStoragePathUploadRequest err := json.Unmarshal(data, &r) return r, err } -func (r *ConversationChannelSubscribeRequest) Marshal() ([]byte, error) { +func (r *SpaceStoragePathUploadRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalConversationChannelSubscribeStreamItem(data []byte) (ConversationChannelSubscribeStreamItem, error) { - var r ConversationChannelSubscribeStreamItem +func UnmarshalSpaceStoragePathUploadResponse(data []byte) (SpaceStoragePathUploadResponse, error) { + var r SpaceStoragePathUploadResponse err := json.Unmarshal(data, &r) return r, err } -func (r *ConversationChannelSubscribeStreamItem) Marshal() ([]byte, error) { +func (r *SpaceStoragePathUploadResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalConversationCompactParams(data []byte) (ConversationCompactParams, error) { - var r ConversationCompactParams +func UnmarshalSpaceStoragePathMoveParams(data []byte) (SpaceStoragePathMoveParams, error) { + var r SpaceStoragePathMoveParams err := json.Unmarshal(data, &r) return r, err } -func (r *ConversationCompactParams) Marshal() ([]byte, error) { +func (r *SpaceStoragePathMoveParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalConversationCompactResponse(data []byte) (ConversationCompactResponse, error) { - var r ConversationCompactResponse +func UnmarshalSpaceStoragePathMoveRequest(data []byte) (SpaceStoragePathMoveRequest, error) { + var r SpaceStoragePathMoveRequest err := json.Unmarshal(data, &r) return r, err } -func (r *ConversationCompactResponse) Marshal() ([]byte, error) { +func (r *SpaceStoragePathMoveRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalConversationMessageCompleteParams(data []byte) (ConversationMessageCompleteParams, error) { - var r ConversationMessageCompleteParams +func UnmarshalSpaceStoragePathMoveResponse(data []byte) (SpaceStoragePathMoveResponse, error) { + var r SpaceStoragePathMoveResponse err := json.Unmarshal(data, &r) return r, err } -func (r *ConversationMessageCompleteParams) Marshal() ([]byte, error) { +func (r *SpaceStoragePathMoveResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalConversationMessageCompleteRequest(data []byte) (ConversationMessageCompleteRequest, error) { - var r ConversationMessageCompleteRequest +func UnmarshalSpaceStoragePathListParams(data []byte) (SpaceStoragePathListParams, error) { + var r SpaceStoragePathListParams err := json.Unmarshal(data, &r) return r, err } -func (r *ConversationMessageCompleteRequest) Marshal() ([]byte, error) { +func (r *SpaceStoragePathListParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalConversationMessageCompleteResponse(data []byte) (ConversationMessageCompleteResponse, error) { - var r ConversationMessageCompleteResponse +func UnmarshalSpaceStoragePathListResponse(data []byte) (SpaceStoragePathListResponse, error) { + var r SpaceStoragePathListResponse err := json.Unmarshal(data, &r) return r, err } -func (r *ConversationMessageCompleteResponse) Marshal() ([]byte, error) { +func (r *SpaceStoragePathListResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalConversationMessageCompleteStreamItem(data []byte) (ConversationMessageCompleteStreamItem, error) { - var r ConversationMessageCompleteStreamItem +func UnmarshalSpaceStoragePathDownloadParams(data []byte) (SpaceStoragePathDownloadParams, error) { + var r SpaceStoragePathDownloadParams err := json.Unmarshal(data, &r) return r, err } -func (r *ConversationMessageCompleteStreamItem) Marshal() ([]byte, error) { +func (r *SpaceStoragePathDownloadParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalConversationContactUpsertParams(data []byte) (ConversationContactUpsertParams, error) { - var r ConversationContactUpsertParams +func UnmarshalSpaceStoragePathDownloadResponse(data []byte) (SpaceStoragePathDownloadResponse, error) { + var r SpaceStoragePathDownloadResponse err := json.Unmarshal(data, &r) return r, err } -func (r *ConversationContactUpsertParams) Marshal() ([]byte, error) { +func (r *SpaceStoragePathDownloadResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalConversationContactUpsertRequest(data []byte) (ConversationContactUpsertRequest, error) { - var r ConversationContactUpsertRequest +func UnmarshalSpaceStoragePathDeleteParams(data []byte) (SpaceStoragePathDeleteParams, error) { + var r SpaceStoragePathDeleteParams err := json.Unmarshal(data, &r) return r, err } -func (r *ConversationContactUpsertRequest) Marshal() ([]byte, error) { +func (r *SpaceStoragePathDeleteParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalConversationContactUpsertResponse(data []byte) (ConversationContactUpsertResponse, error) { - var r ConversationContactUpsertResponse +func UnmarshalSpaceStoragePathDeleteRequest(data []byte) (SpaceStoragePathDeleteRequest, error) { + var r SpaceStoragePathDeleteRequest err := json.Unmarshal(data, &r) return r, err } -func (r *ConversationContactUpsertResponse) Marshal() ([]byte, error) { +func (r *SpaceStoragePathDeleteRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalConversationDeleteParams(data []byte) (ConversationDeleteParams, error) { - var r ConversationDeleteParams +func UnmarshalSpaceStoragePathDeleteResponse(data []byte) (SpaceStoragePathDeleteResponse, error) { + var r SpaceStoragePathDeleteResponse err := json.Unmarshal(data, &r) return r, err } -func (r *ConversationDeleteParams) Marshal() ([]byte, error) { +func (r *SpaceStoragePathDeleteResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -type ConversationDeleteRequest map[string]interface{} - -func UnmarshalConversationDeleteRequest(data []byte) (ConversationDeleteRequest, error) { - var r ConversationDeleteRequest +func UnmarshalSpaceStoragePathCopyParams(data []byte) (SpaceStoragePathCopyParams, error) { + var r SpaceStoragePathCopyParams err := json.Unmarshal(data, &r) return r, err } -func (r *ConversationDeleteRequest) Marshal() ([]byte, error) { +func (r *SpaceStoragePathCopyParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalConversationDeleteResponse(data []byte) (ConversationDeleteResponse, error) { - var r ConversationDeleteResponse +func UnmarshalSpaceStoragePathCopyRequest(data []byte) (SpaceStoragePathCopyRequest, error) { + var r SpaceStoragePathCopyRequest err := json.Unmarshal(data, &r) return r, err } -func (r *ConversationDeleteResponse) Marshal() ([]byte, error) { +func (r *SpaceStoragePathCopyRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalStatefulConversationDispatchRequest(data []byte) (StatefulConversationDispatchRequest, error) { - var r StatefulConversationDispatchRequest +func UnmarshalSpaceStoragePathCopyResponse(data []byte) (SpaceStoragePathCopyResponse, error) { + var r SpaceStoragePathCopyResponse err := json.Unmarshal(data, &r) return r, err } -func (r *StatefulConversationDispatchRequest) Marshal() ([]byte, error) { +func (r *SpaceStoragePathCopyResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalStatefulConversationDispatchResponse(data []byte) (StatefulConversationDispatchResponse, error) { - var r StatefulConversationDispatchResponse +func UnmarshalSpaceSiteListParams(data []byte) (SpaceSiteListParams, error) { + var r SpaceSiteListParams err := json.Unmarshal(data, &r) return r, err } -func (r *StatefulConversationDispatchResponse) Marshal() ([]byte, error) { +func (r *SpaceSiteListParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalConversationDownvoteParams(data []byte) (ConversationDownvoteParams, error) { - var r ConversationDownvoteParams +func UnmarshalSpaceSiteListResponse(data []byte) (SpaceSiteListResponse, error) { + var r SpaceSiteListResponse err := json.Unmarshal(data, &r) return r, err } -func (r *ConversationDownvoteParams) Marshal() ([]byte, error) { +func (r *SpaceSiteListResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalConversationDownvoteRequest(data []byte) (ConversationDownvoteRequest, error) { - var r ConversationDownvoteRequest +func UnmarshalSpaceSiteListStreamItem(data []byte) (SpaceSiteListStreamItem, error) { + var r SpaceSiteListStreamItem err := json.Unmarshal(data, &r) return r, err } -func (r *ConversationDownvoteRequest) Marshal() ([]byte, error) { +func (r *SpaceSiteListStreamItem) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalConversationDownvoteResponse(data []byte) (ConversationDownvoteResponse, error) { - var r ConversationDownvoteResponse +func UnmarshalSpaceSiteCreateParams(data []byte) (SpaceSiteCreateParams, error) { + var r SpaceSiteCreateParams err := json.Unmarshal(data, &r) return r, err } -func (r *ConversationDownvoteResponse) Marshal() ([]byte, error) { +func (r *SpaceSiteCreateParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalConversationFetchParams(data []byte) (ConversationFetchParams, error) { - var r ConversationFetchParams +func UnmarshalSpaceSiteCreateRequest(data []byte) (SpaceSiteCreateRequest, error) { + var r SpaceSiteCreateRequest err := json.Unmarshal(data, &r) return r, err } -func (r *ConversationFetchParams) Marshal() ([]byte, error) { +func (r *SpaceSiteCreateRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalConversationFetchResponse(data []byte) (ConversationFetchResponse, error) { - var r ConversationFetchResponse +func UnmarshalSpaceSiteCreateResponse(data []byte) (SpaceSiteCreateResponse, error) { + var r SpaceSiteCreateResponse err := json.Unmarshal(data, &r) return r, err } -func (r *ConversationFetchResponse) Marshal() ([]byte, error) { +func (r *SpaceSiteCreateResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalConversationMessageDeleteParams(data []byte) (ConversationMessageDeleteParams, error) { - var r ConversationMessageDeleteParams +func UnmarshalSpaceSiteUpdateParams(data []byte) (SpaceSiteUpdateParams, error) { + var r SpaceSiteUpdateParams err := json.Unmarshal(data, &r) return r, err } -func (r *ConversationMessageDeleteParams) Marshal() ([]byte, error) { +func (r *SpaceSiteUpdateParams) Marshal() ([]byte, error) { return json.Marshal(r) } -type ConversationMessageDeleteRequest map[string]interface{} - -func UnmarshalConversationMessageDeleteRequest(data []byte) (ConversationMessageDeleteRequest, error) { - var r ConversationMessageDeleteRequest +func UnmarshalSpaceSiteUpdateRequest(data []byte) (SpaceSiteUpdateRequest, error) { + var r SpaceSiteUpdateRequest err := json.Unmarshal(data, &r) return r, err } -func (r *ConversationMessageDeleteRequest) Marshal() ([]byte, error) { +func (r *SpaceSiteUpdateRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalConversationMessageDeleteResponse(data []byte) (ConversationMessageDeleteResponse, error) { - var r ConversationMessageDeleteResponse +func UnmarshalSpaceSiteUpdateResponse(data []byte) (SpaceSiteUpdateResponse, error) { + var r SpaceSiteUpdateResponse err := json.Unmarshal(data, &r) return r, err } -func (r *ConversationMessageDeleteResponse) Marshal() ([]byte, error) { +func (r *SpaceSiteUpdateResponse) Marshal() ([]byte, error) { return json.Marshal(r) } - -func UnmarshalConversationMessageDownvoteParams(data []byte) (ConversationMessageDownvoteParams, error) { - var r ConversationMessageDownvoteParams + +func UnmarshalSpaceSiteFetchParams(data []byte) (SpaceSiteFetchParams, error) { + var r SpaceSiteFetchParams err := json.Unmarshal(data, &r) return r, err } -func (r *ConversationMessageDownvoteParams) Marshal() ([]byte, error) { +func (r *SpaceSiteFetchParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalConversationMessageDownvoteRequest(data []byte) (ConversationMessageDownvoteRequest, error) { - var r ConversationMessageDownvoteRequest +func UnmarshalSpaceSiteFetchResponse(data []byte) (SpaceSiteFetchResponse, error) { + var r SpaceSiteFetchResponse err := json.Unmarshal(data, &r) return r, err } -func (r *ConversationMessageDownvoteRequest) Marshal() ([]byte, error) { +func (r *SpaceSiteFetchResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalConversationMessageDownvoteResponse(data []byte) (ConversationMessageDownvoteResponse, error) { - var r ConversationMessageDownvoteResponse +func UnmarshalSpaceSiteDeleteParams(data []byte) (SpaceSiteDeleteParams, error) { + var r SpaceSiteDeleteParams err := json.Unmarshal(data, &r) return r, err } -func (r *ConversationMessageDownvoteResponse) Marshal() ([]byte, error) { +func (r *SpaceSiteDeleteParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalConversationMessageFetchParams(data []byte) (ConversationMessageFetchParams, error) { - var r ConversationMessageFetchParams +type SpaceSiteDeleteRequest map[string]interface{} + +func UnmarshalSpaceSiteDeleteRequest(data []byte) (SpaceSiteDeleteRequest, error) { + var r SpaceSiteDeleteRequest err := json.Unmarshal(data, &r) return r, err } -func (r *ConversationMessageFetchParams) Marshal() ([]byte, error) { +func (r *SpaceSiteDeleteRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalConversationMessageFetchResponse(data []byte) (ConversationMessageFetchResponse, error) { - var r ConversationMessageFetchResponse +func UnmarshalSpaceSiteDeleteResponse(data []byte) (SpaceSiteDeleteResponse, error) { + var r SpaceSiteDeleteResponse err := json.Unmarshal(data, &r) return r, err } -func (r *ConversationMessageFetchResponse) Marshal() ([]byte, error) { +func (r *SpaceSiteDeleteResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalConversationMessageSynthesizeParams(data []byte) (ConversationMessageSynthesizeParams, error) { - var r ConversationMessageSynthesizeParams +func UnmarshalSkillsetListParams(data []byte) (SkillsetListParams, error) { + var r SkillsetListParams err := json.Unmarshal(data, &r) return r, err } -func (r *ConversationMessageSynthesizeParams) Marshal() ([]byte, error) { +func (r *SkillsetListParams) Marshal() ([]byte, error) { return json.Marshal(r) } -type ConversationMessageSynthesizeRequest map[string]interface{} - -func UnmarshalConversationMessageSynthesizeRequest(data []byte) (ConversationMessageSynthesizeRequest, error) { - var r ConversationMessageSynthesizeRequest +func UnmarshalSkillsetListResponse(data []byte) (SkillsetListResponse, error) { + var r SkillsetListResponse err := json.Unmarshal(data, &r) return r, err } -func (r *ConversationMessageSynthesizeRequest) Marshal() ([]byte, error) { +func (r *SkillsetListResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalConversationMessageSynthesizeResponse(data []byte) (ConversationMessageSynthesizeResponse, error) { - var r ConversationMessageSynthesizeResponse +func UnmarshalSkillsetListStreamItem(data []byte) (SkillsetListStreamItem, error) { + var r SkillsetListStreamItem err := json.Unmarshal(data, &r) return r, err } -func (r *ConversationMessageSynthesizeResponse) Marshal() ([]byte, error) { +func (r *SkillsetListStreamItem) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalConversationMessageUpdateParams(data []byte) (ConversationMessageUpdateParams, error) { - var r ConversationMessageUpdateParams +func UnmarshalSkillsetCreateRequest(data []byte) (SkillsetCreateRequest, error) { + var r SkillsetCreateRequest err := json.Unmarshal(data, &r) return r, err } -func (r *ConversationMessageUpdateParams) Marshal() ([]byte, error) { +func (r *SkillsetCreateRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalConversationMessageUpdateRequest(data []byte) (ConversationMessageUpdateRequest, error) { - var r ConversationMessageUpdateRequest +func UnmarshalSkillsetCreateResponse(data []byte) (SkillsetCreateResponse, error) { + var r SkillsetCreateResponse err := json.Unmarshal(data, &r) return r, err } -func (r *ConversationMessageUpdateRequest) Marshal() ([]byte, error) { +func (r *SkillsetCreateResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalConversationMessageUpdateResponse(data []byte) (ConversationMessageUpdateResponse, error) { - var r ConversationMessageUpdateResponse +func UnmarshalSkillsetUpdateParams(data []byte) (SkillsetUpdateParams, error) { + var r SkillsetUpdateParams err := json.Unmarshal(data, &r) return r, err } -func (r *ConversationMessageUpdateResponse) Marshal() ([]byte, error) { +func (r *SkillsetUpdateParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalConversationMessageUpvoteParams(data []byte) (ConversationMessageUpvoteParams, error) { - var r ConversationMessageUpvoteParams +func UnmarshalSkillsetUpdateRequest(data []byte) (SkillsetUpdateRequest, error) { + var r SkillsetUpdateRequest err := json.Unmarshal(data, &r) return r, err } -func (r *ConversationMessageUpvoteParams) Marshal() ([]byte, error) { +func (r *SkillsetUpdateRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalConversationMessageUpvoteRequest(data []byte) (ConversationMessageUpvoteRequest, error) { - var r ConversationMessageUpvoteRequest +func UnmarshalSkillsetUpdateResponse(data []byte) (SkillsetUpdateResponse, error) { + var r SkillsetUpdateResponse err := json.Unmarshal(data, &r) return r, err } -func (r *ConversationMessageUpvoteRequest) Marshal() ([]byte, error) { +func (r *SkillsetUpdateResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalConversationMessageUpvoteResponse(data []byte) (ConversationMessageUpvoteResponse, error) { - var r ConversationMessageUpvoteResponse +func UnmarshalSkillsetFetchParams(data []byte) (SkillsetFetchParams, error) { + var r SkillsetFetchParams err := json.Unmarshal(data, &r) return r, err } -func (r *ConversationMessageUpvoteResponse) Marshal() ([]byte, error) { +func (r *SkillsetFetchParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalConversationMessageCreateParams(data []byte) (ConversationMessageCreateParams, error) { - var r ConversationMessageCreateParams +func UnmarshalSkillsetFetchResponse(data []byte) (SkillsetFetchResponse, error) { + var r SkillsetFetchResponse err := json.Unmarshal(data, &r) return r, err } -func (r *ConversationMessageCreateParams) Marshal() ([]byte, error) { +func (r *SkillsetFetchResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalConversationMessageCreateRequest(data []byte) (ConversationMessageCreateRequest, error) { - var r ConversationMessageCreateRequest +func UnmarshalSkillsetDeleteParams(data []byte) (SkillsetDeleteParams, error) { + var r SkillsetDeleteParams err := json.Unmarshal(data, &r) return r, err } -func (r *ConversationMessageCreateRequest) Marshal() ([]byte, error) { +func (r *SkillsetDeleteParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalConversationMessageCreateResponse(data []byte) (ConversationMessageCreateResponse, error) { - var r ConversationMessageCreateResponse +type SkillsetDeleteRequest map[string]interface{} + +func UnmarshalSkillsetDeleteRequest(data []byte) (SkillsetDeleteRequest, error) { + var r SkillsetDeleteRequest err := json.Unmarshal(data, &r) return r, err } -func (r *ConversationMessageCreateResponse) Marshal() ([]byte, error) { +func (r *SkillsetDeleteRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalConversationMessageListParams(data []byte) (ConversationMessageListParams, error) { - var r ConversationMessageListParams +func UnmarshalSkillsetDeleteResponse(data []byte) (SkillsetDeleteResponse, error) { + var r SkillsetDeleteResponse err := json.Unmarshal(data, &r) return r, err } -func (r *ConversationMessageListParams) Marshal() ([]byte, error) { +func (r *SkillsetDeleteResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalConversationMessageListResponse(data []byte) (ConversationMessageListResponse, error) { - var r ConversationMessageListResponse +func UnmarshalSkillsetAbilityListParams(data []byte) (SkillsetAbilityListParams, error) { + var r SkillsetAbilityListParams err := json.Unmarshal(data, &r) return r, err } -func (r *ConversationMessageListResponse) Marshal() ([]byte, error) { +func (r *SkillsetAbilityListParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalConversationMessageListStreamItem(data []byte) (ConversationMessageListStreamItem, error) { - var r ConversationMessageListStreamItem +func UnmarshalSkillsetAbilityListResponse(data []byte) (SkillsetAbilityListResponse, error) { + var r SkillsetAbilityListResponse err := json.Unmarshal(data, &r) return r, err } -func (r *ConversationMessageListStreamItem) Marshal() ([]byte, error) { +func (r *SkillsetAbilityListResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalConversationMessageReceiveParams(data []byte) (ConversationMessageReceiveParams, error) { - var r ConversationMessageReceiveParams +func UnmarshalSkillsetAbilityListStreamItem(data []byte) (SkillsetAbilityListStreamItem, error) { + var r SkillsetAbilityListStreamItem err := json.Unmarshal(data, &r) return r, err } -func (r *ConversationMessageReceiveParams) Marshal() ([]byte, error) { +func (r *SkillsetAbilityListStreamItem) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalConversationMessageReceiveRequest(data []byte) (ConversationMessageReceiveRequest, error) { - var r ConversationMessageReceiveRequest +func UnmarshalSkillsetAbilitiesExportParams(data []byte) (SkillsetAbilitiesExportParams, error) { + var r SkillsetAbilitiesExportParams err := json.Unmarshal(data, &r) return r, err } -func (r *ConversationMessageReceiveRequest) Marshal() ([]byte, error) { +func (r *SkillsetAbilitiesExportParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalConversationMessageReceiveResponse(data []byte) (ConversationMessageReceiveResponse, error) { - var r ConversationMessageReceiveResponse +func UnmarshalSkillsetAbilitiesExportResponse(data []byte) (SkillsetAbilitiesExportResponse, error) { + var r SkillsetAbilitiesExportResponse err := json.Unmarshal(data, &r) return r, err } -func (r *ConversationMessageReceiveResponse) Marshal() ([]byte, error) { +func (r *SkillsetAbilitiesExportResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalConversationMessageReceiveStreamItem(data []byte) (ConversationMessageReceiveStreamItem, error) { - var r ConversationMessageReceiveStreamItem +func UnmarshalSkillsetAbilitiesExportStreamItem(data []byte) (SkillsetAbilitiesExportStreamItem, error) { + var r SkillsetAbilitiesExportStreamItem err := json.Unmarshal(data, &r) return r, err } -func (r *ConversationMessageReceiveStreamItem) Marshal() ([]byte, error) { +func (r *SkillsetAbilitiesExportStreamItem) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalConversationMessageSendParams(data []byte) (ConversationMessageSendParams, error) { - var r ConversationMessageSendParams +func UnmarshalSkillsetAbilityCreateParams(data []byte) (SkillsetAbilityCreateParams, error) { + var r SkillsetAbilityCreateParams err := json.Unmarshal(data, &r) return r, err } -func (r *ConversationMessageSendParams) Marshal() ([]byte, error) { +func (r *SkillsetAbilityCreateParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalConversationMessageSendRequest(data []byte) (ConversationMessageSendRequest, error) { - var r ConversationMessageSendRequest +func UnmarshalSkillsetAbilityCreateRequest(data []byte) (SkillsetAbilityCreateRequest, error) { + var r SkillsetAbilityCreateRequest err := json.Unmarshal(data, &r) return r, err } -func (r *ConversationMessageSendRequest) Marshal() ([]byte, error) { +func (r *SkillsetAbilityCreateRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalConversationMessageSendResponse(data []byte) (ConversationMessageSendResponse, error) { - var r ConversationMessageSendResponse +func UnmarshalSkillsetAbilityCreateResponse(data []byte) (SkillsetAbilityCreateResponse, error) { + var r SkillsetAbilityCreateResponse err := json.Unmarshal(data, &r) return r, err } -func (r *ConversationMessageSendResponse) Marshal() ([]byte, error) { +func (r *SkillsetAbilityCreateResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalConversationMessageSendStreamItem(data []byte) (ConversationMessageSendStreamItem, error) { - var r ConversationMessageSendStreamItem +func UnmarshalSkillsetAbilityUpdateParams(data []byte) (SkillsetAbilityUpdateParams, error) { + var r SkillsetAbilityUpdateParams err := json.Unmarshal(data, &r) return r, err } -func (r *ConversationMessageSendStreamItem) Marshal() ([]byte, error) { +func (r *SkillsetAbilityUpdateParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalConversationSessionCreateParams(data []byte) (ConversationSessionCreateParams, error) { - var r ConversationSessionCreateParams +func UnmarshalSkillsetAbilityUpdateRequest(data []byte) (SkillsetAbilityUpdateRequest, error) { + var r SkillsetAbilityUpdateRequest err := json.Unmarshal(data, &r) return r, err } -func (r *ConversationSessionCreateParams) Marshal() ([]byte, error) { +func (r *SkillsetAbilityUpdateRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalConversationSessionCreateRequest(data []byte) (ConversationSessionCreateRequest, error) { - var r ConversationSessionCreateRequest +func UnmarshalSkillsetAbilityUpdateResponse(data []byte) (SkillsetAbilityUpdateResponse, error) { + var r SkillsetAbilityUpdateResponse err := json.Unmarshal(data, &r) return r, err } -func (r *ConversationSessionCreateRequest) Marshal() ([]byte, error) { +func (r *SkillsetAbilityUpdateResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalConversationSessionCreateResponse(data []byte) (ConversationSessionCreateResponse, error) { - var r ConversationSessionCreateResponse +func UnmarshalSkillsetAbilityFetchParams(data []byte) (SkillsetAbilityFetchParams, error) { + var r SkillsetAbilityFetchParams err := json.Unmarshal(data, &r) return r, err } -func (r *ConversationSessionCreateResponse) Marshal() ([]byte, error) { +func (r *SkillsetAbilityFetchParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalConversationUpdateParams(data []byte) (ConversationUpdateParams, error) { - var r ConversationUpdateParams +func UnmarshalSkillsetAbilityFetchResponse(data []byte) (SkillsetAbilityFetchResponse, error) { + var r SkillsetAbilityFetchResponse err := json.Unmarshal(data, &r) return r, err } -func (r *ConversationUpdateParams) Marshal() ([]byte, error) { +func (r *SkillsetAbilityFetchResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalConversationUpdateRequest(data []byte) (ConversationUpdateRequest, error) { - var r ConversationUpdateRequest +func UnmarshalSkillsetAbilityExecuteParams(data []byte) (SkillsetAbilityExecuteParams, error) { + var r SkillsetAbilityExecuteParams err := json.Unmarshal(data, &r) return r, err } -func (r *ConversationUpdateRequest) Marshal() ([]byte, error) { +func (r *SkillsetAbilityExecuteParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalConversationUpdateResponse(data []byte) (ConversationUpdateResponse, error) { - var r ConversationUpdateResponse +func UnmarshalSkillsetAbilityExecuteRequest(data []byte) (SkillsetAbilityExecuteRequest, error) { + var r SkillsetAbilityExecuteRequest err := json.Unmarshal(data, &r) return r, err } -func (r *ConversationUpdateResponse) Marshal() ([]byte, error) { +func (r *SkillsetAbilityExecuteRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalConversationUpvoteParams(data []byte) (ConversationUpvoteParams, error) { - var r ConversationUpvoteParams +func UnmarshalSkillsetAbilityExecuteResponse(data []byte) (SkillsetAbilityExecuteResponse, error) { + var r SkillsetAbilityExecuteResponse err := json.Unmarshal(data, &r) return r, err } -func (r *ConversationUpvoteParams) Marshal() ([]byte, error) { +func (r *SkillsetAbilityExecuteResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalConversationUpvoteRequest(data []byte) (ConversationUpvoteRequest, error) { - var r ConversationUpvoteRequest +func UnmarshalSkillsetAbilityExecuteStreamItem(data []byte) (SkillsetAbilityExecuteStreamItem, error) { + var r SkillsetAbilityExecuteStreamItem err := json.Unmarshal(data, &r) return r, err } -func (r *ConversationUpvoteRequest) Marshal() ([]byte, error) { +func (r *SkillsetAbilityExecuteStreamItem) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalConversationUpvoteResponse(data []byte) (ConversationUpvoteResponse, error) { - var r ConversationUpvoteResponse +func UnmarshalSkillsetAbilityDeleteParams(data []byte) (SkillsetAbilityDeleteParams, error) { + var r SkillsetAbilityDeleteParams err := json.Unmarshal(data, &r) return r, err } -func (r *ConversationUpvoteResponse) Marshal() ([]byte, error) { +func (r *SkillsetAbilityDeleteParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalConversationUsageFetchParams(data []byte) (ConversationUsageFetchParams, error) { - var r ConversationUsageFetchParams +type SkillsetAbilityDeleteRequest map[string]interface{} + +func UnmarshalSkillsetAbilityDeleteRequest(data []byte) (SkillsetAbilityDeleteRequest, error) { + var r SkillsetAbilityDeleteRequest err := json.Unmarshal(data, &r) return r, err } -func (r *ConversationUsageFetchParams) Marshal() ([]byte, error) { +func (r *SkillsetAbilityDeleteRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalConversationUsageFetchResponse(data []byte) (ConversationUsageFetchResponse, error) { - var r ConversationUsageFetchResponse +func UnmarshalSkillsetAbilityDeleteResponse(data []byte) (SkillsetAbilityDeleteResponse, error) { + var r SkillsetAbilityDeleteResponse err := json.Unmarshal(data, &r) return r, err } -func (r *ConversationUsageFetchResponse) Marshal() ([]byte, error) { +func (r *SkillsetAbilityDeleteResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalConversationStatelessCompactRequest(data []byte) (ConversationStatelessCompactRequest, error) { - var r ConversationStatelessCompactRequest +func UnmarshalSecretListParams(data []byte) (SecretListParams, error) { + var r SecretListParams err := json.Unmarshal(data, &r) return r, err } -func (r *ConversationStatelessCompactRequest) Marshal() ([]byte, error) { +func (r *SecretListParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalConversationStatelessCompactResponse(data []byte) (ConversationStatelessCompactResponse, error) { - var r ConversationStatelessCompactResponse +func UnmarshalSecretListResponse(data []byte) (SecretListResponse, error) { + var r SecretListResponse err := json.Unmarshal(data, &r) return r, err } -func (r *ConversationStatelessCompactResponse) Marshal() ([]byte, error) { +func (r *SecretListResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalConversationCompleteRequest(data []byte) (ConversationCompleteRequest, error) { - var r ConversationCompleteRequest +func UnmarshalSecretListStreamItem(data []byte) (SecretListStreamItem, error) { + var r SecretListStreamItem err := json.Unmarshal(data, &r) return r, err } -func (r *ConversationCompleteRequest) Marshal() ([]byte, error) { +func (r *SecretListStreamItem) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalConversationCompleteResponse(data []byte) (ConversationCompleteResponse, error) { - var r ConversationCompleteResponse +func UnmarshalSecretCreateRequest(data []byte) (SecretCreateRequest, error) { + var r SecretCreateRequest err := json.Unmarshal(data, &r) return r, err } -func (r *ConversationCompleteResponse) Marshal() ([]byte, error) { +func (r *SecretCreateRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalConversationCompleteStreamItem(data []byte) (ConversationCompleteStreamItem, error) { - var r ConversationCompleteStreamItem +func UnmarshalSecretCreateResponse(data []byte) (SecretCreateResponse, error) { + var r SecretCreateResponse err := json.Unmarshal(data, &r) return r, err } -func (r *ConversationCompleteStreamItem) Marshal() ([]byte, error) { +func (r *SecretCreateResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalConversationCreateRequest(data []byte) (ConversationCreateRequest, error) { - var r ConversationCreateRequest +func UnmarshalSecretVerifyParams(data []byte) (SecretVerifyParams, error) { + var r SecretVerifyParams err := json.Unmarshal(data, &r) return r, err } -func (r *ConversationCreateRequest) Marshal() ([]byte, error) { +func (r *SecretVerifyParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalConversationCreateResponse(data []byte) (ConversationCreateResponse, error) { - var r ConversationCreateResponse +type SecretVerifyRequest map[string]interface{} + +func UnmarshalSecretVerifyRequest(data []byte) (SecretVerifyRequest, error) { + var r SecretVerifyRequest err := json.Unmarshal(data, &r) return r, err } -func (r *ConversationCreateResponse) Marshal() ([]byte, error) { +func (r *SecretVerifyRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalConversationDispatchRequest(data []byte) (ConversationDispatchRequest, error) { - var r ConversationDispatchRequest +func UnmarshalSecretVerifyResponse(data []byte) (SecretVerifyResponse, error) { + var r SecretVerifyResponse err := json.Unmarshal(data, &r) return r, err } -func (r *ConversationDispatchRequest) Marshal() ([]byte, error) { +func (r *SecretVerifyResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalConversationDispatchResponse(data []byte) (ConversationDispatchResponse, error) { - var r ConversationDispatchResponse +func UnmarshalSecretUpdateParams(data []byte) (SecretUpdateParams, error) { + var r SecretUpdateParams err := json.Unmarshal(data, &r) return r, err } -func (r *ConversationDispatchResponse) Marshal() ([]byte, error) { +func (r *SecretUpdateParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalConversationsExportParams(data []byte) (ConversationsExportParams, error) { - var r ConversationsExportParams +func UnmarshalSecretUpdateRequest(data []byte) (SecretUpdateRequest, error) { + var r SecretUpdateRequest err := json.Unmarshal(data, &r) return r, err } -func (r *ConversationsExportParams) Marshal() ([]byte, error) { +func (r *SecretUpdateRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalConversationsExportResponse(data []byte) (ConversationsExportResponse, error) { - var r ConversationsExportResponse +func UnmarshalSecretUpdateResponse(data []byte) (SecretUpdateResponse, error) { + var r SecretUpdateResponse err := json.Unmarshal(data, &r) return r, err } -func (r *ConversationsExportResponse) Marshal() ([]byte, error) { +func (r *SecretUpdateResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalConversationsExportStreamItem(data []byte) (ConversationsExportStreamItem, error) { - var r ConversationsExportStreamItem +func UnmarshalSecretRevokeParams(data []byte) (SecretRevokeParams, error) { + var r SecretRevokeParams err := json.Unmarshal(data, &r) return r, err } -func (r *ConversationsExportStreamItem) Marshal() ([]byte, error) { +func (r *SecretRevokeParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalConversationListParams(data []byte) (ConversationListParams, error) { - var r ConversationListParams +type SecretRevokeRequest map[string]interface{} + +func UnmarshalSecretRevokeRequest(data []byte) (SecretRevokeRequest, error) { + var r SecretRevokeRequest err := json.Unmarshal(data, &r) return r, err } -func (r *ConversationListParams) Marshal() ([]byte, error) { +func (r *SecretRevokeRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalConversationListResponse(data []byte) (ConversationListResponse, error) { - var r ConversationListResponse +func UnmarshalSecretRevokeResponse(data []byte) (SecretRevokeResponse, error) { + var r SecretRevokeResponse err := json.Unmarshal(data, &r) return r, err } -func (r *ConversationListResponse) Marshal() ([]byte, error) { +func (r *SecretRevokeResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalConversationListStreamItem(data []byte) (ConversationListStreamItem, error) { - var r ConversationListStreamItem +func UnmarshalSecretProxyParams(data []byte) (SecretProxyParams, error) { + var r SecretProxyParams err := json.Unmarshal(data, &r) return r, err } -func (r *ConversationListStreamItem) Marshal() ([]byte, error) { +func (r *SecretProxyParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalDatasetDeleteParams(data []byte) (DatasetDeleteParams, error) { - var r DatasetDeleteParams +func UnmarshalSecretProxyRequest(data []byte) (SecretProxyRequest, error) { + var r SecretProxyRequest err := json.Unmarshal(data, &r) return r, err } -func (r *DatasetDeleteParams) Marshal() ([]byte, error) { +func (r *SecretProxyRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -type DatasetDeleteRequest map[string]interface{} - -func UnmarshalDatasetDeleteRequest(data []byte) (DatasetDeleteRequest, error) { - var r DatasetDeleteRequest +func UnmarshalSecretMintParams(data []byte) (SecretMintParams, error) { + var r SecretMintParams err := json.Unmarshal(data, &r) return r, err } -func (r *DatasetDeleteRequest) Marshal() ([]byte, error) { +func (r *SecretMintParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalDatasetDeleteResponse(data []byte) (DatasetDeleteResponse, error) { - var r DatasetDeleteResponse +func UnmarshalSecretMintResponse(data []byte) (SecretMintResponse, error) { + var r SecretMintResponse err := json.Unmarshal(data, &r) return r, err } -func (r *DatasetDeleteResponse) Marshal() ([]byte, error) { +func (r *SecretMintResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalDatasetFetchParams(data []byte) (DatasetFetchParams, error) { - var r DatasetFetchParams +func UnmarshalSecretFetchParams(data []byte) (SecretFetchParams, error) { + var r SecretFetchParams err := json.Unmarshal(data, &r) return r, err } -func (r *DatasetFetchParams) Marshal() ([]byte, error) { +func (r *SecretFetchParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalDatasetFetchResponse(data []byte) (DatasetFetchResponse, error) { - var r DatasetFetchResponse +func UnmarshalSecretFetchResponse(data []byte) (SecretFetchResponse, error) { + var r SecretFetchResponse err := json.Unmarshal(data, &r) return r, err } -func (r *DatasetFetchResponse) Marshal() ([]byte, error) { +func (r *SecretFetchResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalDatasetFileAttachParams(data []byte) (DatasetFileAttachParams, error) { - var r DatasetFileAttachParams +func UnmarshalSecretDeleteParams(data []byte) (SecretDeleteParams, error) { + var r SecretDeleteParams err := json.Unmarshal(data, &r) return r, err } -func (r *DatasetFileAttachParams) Marshal() ([]byte, error) { +func (r *SecretDeleteParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalDatasetFileAttachRequest(data []byte) (DatasetFileAttachRequest, error) { - var r DatasetFileAttachRequest +type SecretDeleteRequest map[string]interface{} + +func UnmarshalSecretDeleteRequest(data []byte) (SecretDeleteRequest, error) { + var r SecretDeleteRequest err := json.Unmarshal(data, &r) return r, err } -func (r *DatasetFileAttachRequest) Marshal() ([]byte, error) { +func (r *SecretDeleteRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalDatasetFileAttachResponse(data []byte) (DatasetFileAttachResponse, error) { - var r DatasetFileAttachResponse +func UnmarshalSecretDeleteResponse(data []byte) (SecretDeleteResponse, error) { + var r SecretDeleteResponse err := json.Unmarshal(data, &r) return r, err } -func (r *DatasetFileAttachResponse) Marshal() ([]byte, error) { +func (r *SecretDeleteResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalDatasetFileDetachParams(data []byte) (DatasetFileDetachParams, error) { - var r DatasetFileDetachParams +func UnmarshalSecretAuthenticateParams(data []byte) (SecretAuthenticateParams, error) { + var r SecretAuthenticateParams err := json.Unmarshal(data, &r) return r, err } -func (r *DatasetFileDetachParams) Marshal() ([]byte, error) { +func (r *SecretAuthenticateParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalDatasetFileDetachRequest(data []byte) (DatasetFileDetachRequest, error) { - var r DatasetFileDetachRequest +type SecretAuthenticateRequest map[string]interface{} + +func UnmarshalSecretAuthenticateRequest(data []byte) (SecretAuthenticateRequest, error) { + var r SecretAuthenticateRequest err := json.Unmarshal(data, &r) return r, err } -func (r *DatasetFileDetachRequest) Marshal() ([]byte, error) { +func (r *SecretAuthenticateRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalDatasetFileDetachResponse(data []byte) (DatasetFileDetachResponse, error) { - var r DatasetFileDetachResponse +func UnmarshalSecretAuthenticateResponse(data []byte) (SecretAuthenticateResponse, error) { + var r SecretAuthenticateResponse err := json.Unmarshal(data, &r) return r, err } -func (r *DatasetFileDetachResponse) Marshal() ([]byte, error) { +func (r *SecretAuthenticateResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalDatasetFileSyncParams(data []byte) (DatasetFileSyncParams, error) { - var r DatasetFileSyncParams +func UnmarshalPortalListParams(data []byte) (PortalListParams, error) { + var r PortalListParams err := json.Unmarshal(data, &r) return r, err } -func (r *DatasetFileSyncParams) Marshal() ([]byte, error) { +func (r *PortalListParams) Marshal() ([]byte, error) { return json.Marshal(r) } -type DatasetFileSyncRequest map[string]interface{} - -func UnmarshalDatasetFileSyncRequest(data []byte) (DatasetFileSyncRequest, error) { - var r DatasetFileSyncRequest +func UnmarshalPortalListResponse(data []byte) (PortalListResponse, error) { + var r PortalListResponse err := json.Unmarshal(data, &r) return r, err } -func (r *DatasetFileSyncRequest) Marshal() ([]byte, error) { +func (r *PortalListResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalDatasetFileSyncResponse(data []byte) (DatasetFileSyncResponse, error) { - var r DatasetFileSyncResponse +func UnmarshalPortalListStreamItem(data []byte) (PortalListStreamItem, error) { + var r PortalListStreamItem err := json.Unmarshal(data, &r) return r, err } -func (r *DatasetFileSyncResponse) Marshal() ([]byte, error) { +func (r *PortalListStreamItem) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalDatasetFileListParams(data []byte) (DatasetFileListParams, error) { - var r DatasetFileListParams +func UnmarshalPortalCreateRequest(data []byte) (PortalCreateRequest, error) { + var r PortalCreateRequest err := json.Unmarshal(data, &r) return r, err } -func (r *DatasetFileListParams) Marshal() ([]byte, error) { +func (r *PortalCreateRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalDatasetFileListResponse(data []byte) (DatasetFileListResponse, error) { - var r DatasetFileListResponse +func UnmarshalPortalCreateResponse(data []byte) (PortalCreateResponse, error) { + var r PortalCreateResponse err := json.Unmarshal(data, &r) return r, err } -func (r *DatasetFileListResponse) Marshal() ([]byte, error) { +func (r *PortalCreateResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalDatasetFileListStreamItem(data []byte) (DatasetFileListStreamItem, error) { - var r DatasetFileListStreamItem +func UnmarshalPortalUpdateParams(data []byte) (PortalUpdateParams, error) { + var r PortalUpdateParams err := json.Unmarshal(data, &r) return r, err } -func (r *DatasetFileListStreamItem) Marshal() ([]byte, error) { +func (r *PortalUpdateParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalDatasetRecordDeleteParams(data []byte) (DatasetRecordDeleteParams, error) { - var r DatasetRecordDeleteParams +func UnmarshalPortalUpdateRequest(data []byte) (PortalUpdateRequest, error) { + var r PortalUpdateRequest err := json.Unmarshal(data, &r) return r, err } -func (r *DatasetRecordDeleteParams) Marshal() ([]byte, error) { +func (r *PortalUpdateRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -type DatasetRecordDeleteRequest map[string]interface{} - -func UnmarshalDatasetRecordDeleteRequest(data []byte) (DatasetRecordDeleteRequest, error) { - var r DatasetRecordDeleteRequest +func UnmarshalPortalUpdateResponse(data []byte) (PortalUpdateResponse, error) { + var r PortalUpdateResponse err := json.Unmarshal(data, &r) return r, err } -func (r *DatasetRecordDeleteRequest) Marshal() ([]byte, error) { +func (r *PortalUpdateResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalDatasetRecordDeleteResponse(data []byte) (DatasetRecordDeleteResponse, error) { - var r DatasetRecordDeleteResponse +func UnmarshalPortalFetchParams(data []byte) (PortalFetchParams, error) { + var r PortalFetchParams err := json.Unmarshal(data, &r) return r, err } -func (r *DatasetRecordDeleteResponse) Marshal() ([]byte, error) { +func (r *PortalFetchParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalDatasetRecordFetchParams(data []byte) (DatasetRecordFetchParams, error) { - var r DatasetRecordFetchParams +func UnmarshalPortalFetchResponse(data []byte) (PortalFetchResponse, error) { + var r PortalFetchResponse err := json.Unmarshal(data, &r) return r, err } -func (r *DatasetRecordFetchParams) Marshal() ([]byte, error) { +func (r *PortalFetchResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalDatasetRecordFetchResponse(data []byte) (DatasetRecordFetchResponse, error) { - var r DatasetRecordFetchResponse +func UnmarshalPortalDeleteParams(data []byte) (PortalDeleteParams, error) { + var r PortalDeleteParams err := json.Unmarshal(data, &r) return r, err } -func (r *DatasetRecordFetchResponse) Marshal() ([]byte, error) { +func (r *PortalDeleteParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalDatasetRecordUpdateParams(data []byte) (DatasetRecordUpdateParams, error) { - var r DatasetRecordUpdateParams +type PortalDeleteRequest map[string]interface{} + +func UnmarshalPortalDeleteRequest(data []byte) (PortalDeleteRequest, error) { + var r PortalDeleteRequest err := json.Unmarshal(data, &r) return r, err } -func (r *DatasetRecordUpdateParams) Marshal() ([]byte, error) { +func (r *PortalDeleteRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalDatasetRecordUpdateRequest(data []byte) (DatasetRecordUpdateRequest, error) { - var r DatasetRecordUpdateRequest +func UnmarshalPortalDeleteResponse(data []byte) (PortalDeleteResponse, error) { + var r PortalDeleteResponse err := json.Unmarshal(data, &r) return r, err } -func (r *DatasetRecordUpdateRequest) Marshal() ([]byte, error) { +func (r *PortalDeleteResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalDatasetRecordUpdateResponse(data []byte) (DatasetRecordUpdateResponse, error) { - var r DatasetRecordUpdateResponse +func UnmarshalPolicyListParams(data []byte) (PolicyListParams, error) { + var r PolicyListParams err := json.Unmarshal(data, &r) return r, err } -func (r *DatasetRecordUpdateResponse) Marshal() ([]byte, error) { +func (r *PolicyListParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalDatasetRecordCreateParams(data []byte) (DatasetRecordCreateParams, error) { - var r DatasetRecordCreateParams +func UnmarshalPolicyListResponse(data []byte) (PolicyListResponse, error) { + var r PolicyListResponse err := json.Unmarshal(data, &r) return r, err } -func (r *DatasetRecordCreateParams) Marshal() ([]byte, error) { +func (r *PolicyListResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalDatasetRecordCreateRequest(data []byte) (DatasetRecordCreateRequest, error) { - var r DatasetRecordCreateRequest +func UnmarshalPolicyListStreamItem(data []byte) (PolicyListStreamItem, error) { + var r PolicyListStreamItem err := json.Unmarshal(data, &r) return r, err } -func (r *DatasetRecordCreateRequest) Marshal() ([]byte, error) { +func (r *PolicyListStreamItem) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalDatasetRecordCreateResponse(data []byte) (DatasetRecordCreateResponse, error) { - var r DatasetRecordCreateResponse +func UnmarshalPolicyCreateRequest(data []byte) (PolicyCreateRequest, error) { + var r PolicyCreateRequest err := json.Unmarshal(data, &r) return r, err } -func (r *DatasetRecordCreateResponse) Marshal() ([]byte, error) { +func (r *PolicyCreateRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalDatasetRecordsExportParams(data []byte) (DatasetRecordsExportParams, error) { - var r DatasetRecordsExportParams +func UnmarshalPolicyCreateResponse(data []byte) (PolicyCreateResponse, error) { + var r PolicyCreateResponse err := json.Unmarshal(data, &r) return r, err } -func (r *DatasetRecordsExportParams) Marshal() ([]byte, error) { +func (r *PolicyCreateResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalDatasetRecordsExportResponse(data []byte) (DatasetRecordsExportResponse, error) { - var r DatasetRecordsExportResponse +func UnmarshalPolicyUpdateParams(data []byte) (PolicyUpdateParams, error) { + var r PolicyUpdateParams err := json.Unmarshal(data, &r) return r, err } -func (r *DatasetRecordsExportResponse) Marshal() ([]byte, error) { +func (r *PolicyUpdateParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalDatasetRecordsExportStreamItem(data []byte) (DatasetRecordsExportStreamItem, error) { - var r DatasetRecordsExportStreamItem +func UnmarshalPolicyUpdateRequest(data []byte) (PolicyUpdateRequest, error) { + var r PolicyUpdateRequest err := json.Unmarshal(data, &r) return r, err } -func (r *DatasetRecordsExportStreamItem) Marshal() ([]byte, error) { +func (r *PolicyUpdateRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalDatasetRecordListParams(data []byte) (DatasetRecordListParams, error) { - var r DatasetRecordListParams +func UnmarshalPolicyUpdateResponse(data []byte) (PolicyUpdateResponse, error) { + var r PolicyUpdateResponse err := json.Unmarshal(data, &r) return r, err } -func (r *DatasetRecordListParams) Marshal() ([]byte, error) { +func (r *PolicyUpdateResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalDatasetRecordListResponse(data []byte) (DatasetRecordListResponse, error) { - var r DatasetRecordListResponse +func UnmarshalPolicyFetchParams(data []byte) (PolicyFetchParams, error) { + var r PolicyFetchParams err := json.Unmarshal(data, &r) return r, err } -func (r *DatasetRecordListResponse) Marshal() ([]byte, error) { +func (r *PolicyFetchParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalDatasetRecordListStreamItem(data []byte) (DatasetRecordListStreamItem, error) { - var r DatasetRecordListStreamItem +func UnmarshalPolicyFetchResponse(data []byte) (PolicyFetchResponse, error) { + var r PolicyFetchResponse err := json.Unmarshal(data, &r) return r, err } -func (r *DatasetRecordListStreamItem) Marshal() ([]byte, error) { +func (r *PolicyFetchResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalDatasetSearchParams(data []byte) (DatasetSearchParams, error) { - var r DatasetSearchParams +func UnmarshalPolicyDeleteParams(data []byte) (PolicyDeleteParams, error) { + var r PolicyDeleteParams err := json.Unmarshal(data, &r) return r, err } -func (r *DatasetSearchParams) Marshal() ([]byte, error) { +func (r *PolicyDeleteParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalDatasetSearchRequest(data []byte) (DatasetSearchRequest, error) { - var r DatasetSearchRequest +type PolicyDeleteRequest map[string]interface{} + +func UnmarshalPolicyDeleteRequest(data []byte) (PolicyDeleteRequest, error) { + var r PolicyDeleteRequest err := json.Unmarshal(data, &r) return r, err } -func (r *DatasetSearchRequest) Marshal() ([]byte, error) { +func (r *PolicyDeleteRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalDatasetSearchResponse(data []byte) (DatasetSearchResponse, error) { - var r DatasetSearchResponse +func UnmarshalPolicyDeleteResponse(data []byte) (PolicyDeleteResponse, error) { + var r PolicyDeleteResponse err := json.Unmarshal(data, &r) return r, err } -func (r *DatasetSearchResponse) Marshal() ([]byte, error) { +func (r *PolicyDeleteResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalDatasetUpdateParams(data []byte) (DatasetUpdateParams, error) { - var r DatasetUpdateParams +func UnmarshalPlatformSecretsSearchRequest(data []byte) (PlatformSecretsSearchRequest, error) { + var r PlatformSecretsSearchRequest err := json.Unmarshal(data, &r) return r, err } -func (r *DatasetUpdateParams) Marshal() ([]byte, error) { +func (r *PlatformSecretsSearchRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalDatasetUpdateRequest(data []byte) (DatasetUpdateRequest, error) { - var r DatasetUpdateRequest +func UnmarshalPlatformSecretsSearchResponse(data []byte) (PlatformSecretsSearchResponse, error) { + var r PlatformSecretsSearchResponse err := json.Unmarshal(data, &r) return r, err } -func (r *DatasetUpdateRequest) Marshal() ([]byte, error) { +func (r *PlatformSecretsSearchResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalDatasetUpdateResponse(data []byte) (DatasetUpdateResponse, error) { - var r DatasetUpdateResponse +func UnmarshalPlatformSecretListParams(data []byte) (PlatformSecretListParams, error) { + var r PlatformSecretListParams err := json.Unmarshal(data, &r) return r, err } -func (r *DatasetUpdateResponse) Marshal() ([]byte, error) { +func (r *PlatformSecretListParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalDatasetCreateRequest(data []byte) (DatasetCreateRequest, error) { - var r DatasetCreateRequest +func UnmarshalPlatformSecretListResponse(data []byte) (PlatformSecretListResponse, error) { + var r PlatformSecretListResponse err := json.Unmarshal(data, &r) return r, err } -func (r *DatasetCreateRequest) Marshal() ([]byte, error) { +func (r *PlatformSecretListResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalDatasetCreateResponse(data []byte) (DatasetCreateResponse, error) { - var r DatasetCreateResponse +func UnmarshalPlatformSecretListStreamItem(data []byte) (PlatformSecretListStreamItem, error) { + var r PlatformSecretListStreamItem err := json.Unmarshal(data, &r) return r, err } -func (r *DatasetCreateResponse) Marshal() ([]byte, error) { +func (r *PlatformSecretListStreamItem) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalDatasetListParams(data []byte) (DatasetListParams, error) { - var r DatasetListParams +func UnmarshalPlatformModelListParams(data []byte) (PlatformModelListParams, error) { + var r PlatformModelListParams err := json.Unmarshal(data, &r) return r, err } -func (r *DatasetListParams) Marshal() ([]byte, error) { +func (r *PlatformModelListParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalDatasetListResponse(data []byte) (DatasetListResponse, error) { - var r DatasetListResponse +func UnmarshalPlatformModelListResponse(data []byte) (PlatformModelListResponse, error) { + var r PlatformModelListResponse err := json.Unmarshal(data, &r) return r, err } -func (r *DatasetListResponse) Marshal() ([]byte, error) { +func (r *PlatformModelListResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalDatasetListStreamItem(data []byte) (DatasetListStreamItem, error) { - var r DatasetListStreamItem +func UnmarshalPlatformModelListStreamItem(data []byte) (PlatformModelListStreamItem, error) { + var r PlatformModelListStreamItem err := json.Unmarshal(data, &r) return r, err } -func (r *DatasetListStreamItem) Marshal() ([]byte, error) { +func (r *PlatformModelListStreamItem) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalEventLogsExportParams(data []byte) (EventLogsExportParams, error) { - var r EventLogsExportParams +func UnmarshalPlatformExamplesSearchRequest(data []byte) (PlatformExamplesSearchRequest, error) { + var r PlatformExamplesSearchRequest err := json.Unmarshal(data, &r) return r, err } -func (r *EventLogsExportParams) Marshal() ([]byte, error) { +func (r *PlatformExamplesSearchRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalEventLogsExportResponse(data []byte) (EventLogsExportResponse, error) { - var r EventLogsExportResponse +func UnmarshalPlatformExamplesSearchResponse(data []byte) (PlatformExamplesSearchResponse, error) { + var r PlatformExamplesSearchResponse err := json.Unmarshal(data, &r) return r, err } -func (r *EventLogsExportResponse) Marshal() ([]byte, error) { +func (r *PlatformExamplesSearchResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalEventLogsExportStreamItem(data []byte) (EventLogsExportStreamItem, error) { - var r EventLogsExportStreamItem +func UnmarshalPlatformExampleListParams(data []byte) (PlatformExampleListParams, error) { + var r PlatformExampleListParams err := json.Unmarshal(data, &r) return r, err } -func (r *EventLogsExportStreamItem) Marshal() ([]byte, error) { +func (r *PlatformExampleListParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalEventLogListParams(data []byte) (EventLogListParams, error) { - var r EventLogListParams +func UnmarshalPlatformExampleListResponse(data []byte) (PlatformExampleListResponse, error) { + var r PlatformExampleListResponse err := json.Unmarshal(data, &r) return r, err } -func (r *EventLogListParams) Marshal() ([]byte, error) { +func (r *PlatformExampleListResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalEventLogListResponse(data []byte) (EventLogListResponse, error) { - var r EventLogListResponse +func UnmarshalPlatformExampleListStreamItem(data []byte) (PlatformExampleListStreamItem, error) { + var r PlatformExampleListStreamItem err := json.Unmarshal(data, &r) return r, err } -func (r *EventLogListResponse) Marshal() ([]byte, error) { +func (r *PlatformExampleListStreamItem) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalEventLogListStreamItem(data []byte) (EventLogListStreamItem, error) { - var r EventLogListStreamItem +func UnmarshalPlatformExampleFetchParams(data []byte) (PlatformExampleFetchParams, error) { + var r PlatformExampleFetchParams err := json.Unmarshal(data, &r) return r, err } -func (r *EventLogListStreamItem) Marshal() ([]byte, error) { +func (r *PlatformExampleFetchParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalEventLogsSubscribeRequest(data []byte) (EventLogsSubscribeRequest, error) { - var r EventLogsSubscribeRequest +func UnmarshalPlatformExampleFetchResponse(data []byte) (PlatformExampleFetchResponse, error) { + var r PlatformExampleFetchResponse err := json.Unmarshal(data, &r) return r, err } -func (r *EventLogsSubscribeRequest) Marshal() ([]byte, error) { +func (r *PlatformExampleFetchResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalEventLogsSubscribeStreamItem(data []byte) (EventLogsSubscribeStreamItem, error) { - var r EventLogsSubscribeStreamItem +func UnmarshalPlatformExampleCloneParams(data []byte) (PlatformExampleCloneParams, error) { + var r PlatformExampleCloneParams err := json.Unmarshal(data, &r) return r, err } -func (r *EventLogsSubscribeStreamItem) Marshal() ([]byte, error) { +func (r *PlatformExampleCloneParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalFileDeleteParams(data []byte) (FileDeleteParams, error) { - var r FileDeleteParams +type PlatformExampleCloneRequest map[string]interface{} + +func UnmarshalPlatformExampleCloneRequest(data []byte) (PlatformExampleCloneRequest, error) { + var r PlatformExampleCloneRequest err := json.Unmarshal(data, &r) return r, err } -func (r *FileDeleteParams) Marshal() ([]byte, error) { +func (r *PlatformExampleCloneRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -type FileDeleteRequest map[string]interface{} - -func UnmarshalFileDeleteRequest(data []byte) (FileDeleteRequest, error) { - var r FileDeleteRequest +func UnmarshalPlatformExampleCloneResponse(data []byte) (PlatformExampleCloneResponse, error) { + var r PlatformExampleCloneResponse err := json.Unmarshal(data, &r) return r, err } -func (r *FileDeleteRequest) Marshal() ([]byte, error) { +func (r *PlatformExampleCloneResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalFileDeleteResponse(data []byte) (FileDeleteResponse, error) { - var r FileDeleteResponse +func UnmarshalPlatformActionListParams(data []byte) (PlatformActionListParams, error) { + var r PlatformActionListParams err := json.Unmarshal(data, &r) return r, err } -func (r *FileDeleteResponse) Marshal() ([]byte, error) { +func (r *PlatformActionListParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalFileDownloadParams(data []byte) (FileDownloadParams, error) { - var r FileDownloadParams +func UnmarshalPlatformActionListResponse(data []byte) (PlatformActionListResponse, error) { + var r PlatformActionListResponse err := json.Unmarshal(data, &r) return r, err } -func (r *FileDownloadParams) Marshal() ([]byte, error) { +func (r *PlatformActionListResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalFileDownloadResponse(data []byte) (FileDownloadResponse, error) { - var r FileDownloadResponse +func UnmarshalPlatformActionListStreamItem(data []byte) (PlatformActionListStreamItem, error) { + var r PlatformActionListStreamItem err := json.Unmarshal(data, &r) return r, err } -func (r *FileDownloadResponse) Marshal() ([]byte, error) { +func (r *PlatformActionListStreamItem) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalFileFetchParams(data []byte) (FileFetchParams, error) { - var r FileFetchParams +func UnmarshalPlatformAbilitiesSearchRequest(data []byte) (PlatformAbilitiesSearchRequest, error) { + var r PlatformAbilitiesSearchRequest err := json.Unmarshal(data, &r) return r, err } -func (r *FileFetchParams) Marshal() ([]byte, error) { +func (r *PlatformAbilitiesSearchRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalFileFetchResponse(data []byte) (FileFetchResponse, error) { - var r FileFetchResponse +func UnmarshalPlatformAbilitiesSearchResponse(data []byte) (PlatformAbilitiesSearchResponse, error) { + var r PlatformAbilitiesSearchResponse err := json.Unmarshal(data, &r) return r, err } -func (r *FileFetchResponse) Marshal() ([]byte, error) { +func (r *PlatformAbilitiesSearchResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalFileSyncParams(data []byte) (FileSyncParams, error) { - var r FileSyncParams +func UnmarshalPlatformAbilityListParams(data []byte) (PlatformAbilityListParams, error) { + var r PlatformAbilityListParams err := json.Unmarshal(data, &r) return r, err } -func (r *FileSyncParams) Marshal() ([]byte, error) { +func (r *PlatformAbilityListParams) Marshal() ([]byte, error) { return json.Marshal(r) } -type FileSyncRequest map[string]interface{} - -func UnmarshalFileSyncRequest(data []byte) (FileSyncRequest, error) { - var r FileSyncRequest +func UnmarshalPlatformAbilityListResponse(data []byte) (PlatformAbilityListResponse, error) { + var r PlatformAbilityListResponse err := json.Unmarshal(data, &r) return r, err } -func (r *FileSyncRequest) Marshal() ([]byte, error) { +func (r *PlatformAbilityListResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalFileSyncResponse(data []byte) (FileSyncResponse, error) { - var r FileSyncResponse +func UnmarshalPlatformAbilityListStreamItem(data []byte) (PlatformAbilityListStreamItem, error) { + var r PlatformAbilityListStreamItem err := json.Unmarshal(data, &r) return r, err } -func (r *FileSyncResponse) Marshal() ([]byte, error) { +func (r *PlatformAbilityListStreamItem) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalFileUpdateParams(data []byte) (FileUpdateParams, error) { - var r FileUpdateParams +func UnmarshalMemorySearchRequest(data []byte) (MemorySearchRequest, error) { + var r MemorySearchRequest err := json.Unmarshal(data, &r) return r, err } -func (r *FileUpdateParams) Marshal() ([]byte, error) { +func (r *MemorySearchRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalFileUpdateRequest(data []byte) (FileUpdateRequest, error) { - var r FileUpdateRequest +func UnmarshalMemorySearchResponse(data []byte) (MemorySearchResponse, error) { + var r MemorySearchResponse err := json.Unmarshal(data, &r) return r, err } -func (r *FileUpdateRequest) Marshal() ([]byte, error) { +func (r *MemorySearchResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalFileUpdateResponse(data []byte) (FileUpdateResponse, error) { - var r FileUpdateResponse +func UnmarshalMemoryListParams(data []byte) (MemoryListParams, error) { + var r MemoryListParams err := json.Unmarshal(data, &r) return r, err } -func (r *FileUpdateResponse) Marshal() ([]byte, error) { +func (r *MemoryListParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalFileUploadParams(data []byte) (FileUploadParams, error) { - var r FileUploadParams +func UnmarshalMemoryListResponse(data []byte) (MemoryListResponse, error) { + var r MemoryListResponse err := json.Unmarshal(data, &r) return r, err } -func (r *FileUploadParams) Marshal() ([]byte, error) { +func (r *MemoryListResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalFileUploadRequest(data []byte) (FileUploadRequest, error) { - var r FileUploadRequest +func UnmarshalMemoryListStreamItem(data []byte) (MemoryListStreamItem, error) { + var r MemoryListStreamItem err := json.Unmarshal(data, &r) return r, err } -func (r *FileUploadRequest) Marshal() ([]byte, error) { +func (r *MemoryListStreamItem) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalFileUploadResponse(data []byte) (FileUploadResponse, error) { - var r FileUploadResponse +func UnmarshalMemoriesExportParams(data []byte) (MemoriesExportParams, error) { + var r MemoriesExportParams err := json.Unmarshal(data, &r) return r, err } -func (r *FileUploadResponse) Marshal() ([]byte, error) { +func (r *MemoriesExportParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalFileCreateRequest(data []byte) (FileCreateRequest, error) { - var r FileCreateRequest +func UnmarshalMemoriesExportResponse(data []byte) (MemoriesExportResponse, error) { + var r MemoriesExportResponse err := json.Unmarshal(data, &r) return r, err } -func (r *FileCreateRequest) Marshal() ([]byte, error) { +func (r *MemoriesExportResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalFileCreateResponse(data []byte) (FileCreateResponse, error) { - var r FileCreateResponse +func UnmarshalMemoriesExportStreamItem(data []byte) (MemoriesExportStreamItem, error) { + var r MemoriesExportStreamItem err := json.Unmarshal(data, &r) return r, err } -func (r *FileCreateResponse) Marshal() ([]byte, error) { +func (r *MemoriesExportStreamItem) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalFileListParams(data []byte) (FileListParams, error) { - var r FileListParams +func UnmarshalMemoryCreateRequest(data []byte) (MemoryCreateRequest, error) { + var r MemoryCreateRequest err := json.Unmarshal(data, &r) return r, err } -func (r *FileListParams) Marshal() ([]byte, error) { +func (r *MemoryCreateRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalFileListResponse(data []byte) (FileListResponse, error) { - var r FileListResponse +func UnmarshalMemoryCreateResponse(data []byte) (MemoryCreateResponse, error) { + var r MemoryCreateResponse err := json.Unmarshal(data, &r) return r, err } -func (r *FileListResponse) Marshal() ([]byte, error) { +func (r *MemoryCreateResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalFileListStreamItem(data []byte) (FileListStreamItem, error) { - var r FileListStreamItem +func UnmarshalMemoryUpdateParams(data []byte) (MemoryUpdateParams, error) { + var r MemoryUpdateParams err := json.Unmarshal(data, &r) return r, err } -func (r *FileListStreamItem) Marshal() ([]byte, error) { +func (r *MemoryUpdateParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationDiscordDeleteParams(data []byte) (IntegrationDiscordDeleteParams, error) { - var r IntegrationDiscordDeleteParams +func UnmarshalMemoryUpdateRequest(data []byte) (MemoryUpdateRequest, error) { + var r MemoryUpdateRequest err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationDiscordDeleteParams) Marshal() ([]byte, error) { +func (r *MemoryUpdateRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -type IntegrationDiscordDeleteRequest map[string]interface{} - -func UnmarshalIntegrationDiscordDeleteRequest(data []byte) (IntegrationDiscordDeleteRequest, error) { - var r IntegrationDiscordDeleteRequest +func UnmarshalMemoryUpdateResponse(data []byte) (MemoryUpdateResponse, error) { + var r MemoryUpdateResponse err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationDiscordDeleteRequest) Marshal() ([]byte, error) { +func (r *MemoryUpdateResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationDiscordDeleteResponse(data []byte) (IntegrationDiscordDeleteResponse, error) { - var r IntegrationDiscordDeleteResponse +func UnmarshalMemoryFetchParams(data []byte) (MemoryFetchParams, error) { + var r MemoryFetchParams err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationDiscordDeleteResponse) Marshal() ([]byte, error) { +func (r *MemoryFetchParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationDiscordFetchParams(data []byte) (IntegrationDiscordFetchParams, error) { - var r IntegrationDiscordFetchParams +func UnmarshalMemoryFetchResponse(data []byte) (MemoryFetchResponse, error) { + var r MemoryFetchResponse err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationDiscordFetchParams) Marshal() ([]byte, error) { +func (r *MemoryFetchResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationDiscordFetchResponse(data []byte) (IntegrationDiscordFetchResponse, error) { - var r IntegrationDiscordFetchResponse +func UnmarshalMemoryDeleteParams(data []byte) (MemoryDeleteParams, error) { + var r MemoryDeleteParams err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationDiscordFetchResponse) Marshal() ([]byte, error) { +func (r *MemoryDeleteParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationDiscordSetupParams(data []byte) (IntegrationDiscordSetupParams, error) { - var r IntegrationDiscordSetupParams +type MemoryDeleteRequest map[string]interface{} + +func UnmarshalMemoryDeleteRequest(data []byte) (MemoryDeleteRequest, error) { + var r MemoryDeleteRequest err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationDiscordSetupParams) Marshal() ([]byte, error) { +func (r *MemoryDeleteRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -type IntegrationDiscordSetupRequest map[string]interface{} - -func UnmarshalIntegrationDiscordSetupRequest(data []byte) (IntegrationDiscordSetupRequest, error) { - var r IntegrationDiscordSetupRequest +func UnmarshalMemoryDeleteResponse(data []byte) (MemoryDeleteResponse, error) { + var r MemoryDeleteResponse err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationDiscordSetupRequest) Marshal() ([]byte, error) { +func (r *MemoryDeleteResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationDiscordSetupResponse(data []byte) (IntegrationDiscordSetupResponse, error) { - var r IntegrationDiscordSetupResponse +func UnmarshalMagicPromptListParams(data []byte) (MagicPromptListParams, error) { + var r MagicPromptListParams err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationDiscordSetupResponse) Marshal() ([]byte, error) { +func (r *MagicPromptListParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationDiscordUpdateParams(data []byte) (IntegrationDiscordUpdateParams, error) { - var r IntegrationDiscordUpdateParams +func UnmarshalMagicPromptListResponse(data []byte) (MagicPromptListResponse, error) { + var r MagicPromptListResponse err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationDiscordUpdateParams) Marshal() ([]byte, error) { +func (r *MagicPromptListResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationDiscordUpdateRequest(data []byte) (IntegrationDiscordUpdateRequest, error) { - var r IntegrationDiscordUpdateRequest +func UnmarshalMagicPromptListStreamItem(data []byte) (MagicPromptListStreamItem, error) { + var r MagicPromptListStreamItem err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationDiscordUpdateRequest) Marshal() ([]byte, error) { +func (r *MagicPromptListStreamItem) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationDiscordUpdateResponse(data []byte) (IntegrationDiscordUpdateResponse, error) { - var r IntegrationDiscordUpdateResponse +func UnmarshalMagicFromPromptGenerateParams(data []byte) (MagicFromPromptGenerateParams, error) { + var r MagicFromPromptGenerateParams err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationDiscordUpdateResponse) Marshal() ([]byte, error) { +func (r *MagicFromPromptGenerateParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationDiscordCreateRequest(data []byte) (IntegrationDiscordCreateRequest, error) { - var r IntegrationDiscordCreateRequest +func UnmarshalMagicFromPromptGenerateRequest(data []byte) (MagicFromPromptGenerateRequest, error) { + var r MagicFromPromptGenerateRequest err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationDiscordCreateRequest) Marshal() ([]byte, error) { +func (r *MagicFromPromptGenerateRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationDiscordCreateResponse(data []byte) (IntegrationDiscordCreateResponse, error) { - var r IntegrationDiscordCreateResponse +func UnmarshalMagicFromPromptGenerateResponse(data []byte) (MagicFromPromptGenerateResponse, error) { + var r MagicFromPromptGenerateResponse err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationDiscordCreateResponse) Marshal() ([]byte, error) { +func (r *MagicFromPromptGenerateResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationDiscordListParams(data []byte) (IntegrationDiscordListParams, error) { - var r IntegrationDiscordListParams +func UnmarshalMagicFromPromptGenerateStreamItem(data []byte) (MagicFromPromptGenerateStreamItem, error) { + var r MagicFromPromptGenerateStreamItem err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationDiscordListParams) Marshal() ([]byte, error) { +func (r *MagicFromPromptGenerateStreamItem) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationDiscordListResponse(data []byte) (IntegrationDiscordListResponse, error) { - var r IntegrationDiscordListResponse +func UnmarshalIntegrationWidgetListParams(data []byte) (IntegrationWidgetListParams, error) { + var r IntegrationWidgetListParams err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationDiscordListResponse) Marshal() ([]byte, error) { +func (r *IntegrationWidgetListParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationDiscordListStreamItem(data []byte) (IntegrationDiscordListStreamItem, error) { - var r IntegrationDiscordListStreamItem +func UnmarshalIntegrationWidgetListResponse(data []byte) (IntegrationWidgetListResponse, error) { + var r IntegrationWidgetListResponse err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationDiscordListStreamItem) Marshal() ([]byte, error) { +func (r *IntegrationWidgetListResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalEmailIntegrationDeleteParams(data []byte) (EmailIntegrationDeleteParams, error) { - var r EmailIntegrationDeleteParams +func UnmarshalIntegrationWidgetListStreamItem(data []byte) (IntegrationWidgetListStreamItem, error) { + var r IntegrationWidgetListStreamItem err := json.Unmarshal(data, &r) return r, err } -func (r *EmailIntegrationDeleteParams) Marshal() ([]byte, error) { +func (r *IntegrationWidgetListStreamItem) Marshal() ([]byte, error) { return json.Marshal(r) } -type EmailIntegrationDeleteRequest map[string]interface{} - -func UnmarshalEmailIntegrationDeleteRequest(data []byte) (EmailIntegrationDeleteRequest, error) { - var r EmailIntegrationDeleteRequest +func UnmarshalIntegrationWidgetCreateRequest(data []byte) (IntegrationWidgetCreateRequest, error) { + var r IntegrationWidgetCreateRequest err := json.Unmarshal(data, &r) return r, err } -func (r *EmailIntegrationDeleteRequest) Marshal() ([]byte, error) { +func (r *IntegrationWidgetCreateRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalEmailIntegrationDeleteResponse(data []byte) (EmailIntegrationDeleteResponse, error) { - var r EmailIntegrationDeleteResponse +func UnmarshalIntegrationWidgetCreateResponse(data []byte) (IntegrationWidgetCreateResponse, error) { + var r IntegrationWidgetCreateResponse err := json.Unmarshal(data, &r) return r, err } -func (r *EmailIntegrationDeleteResponse) Marshal() ([]byte, error) { +func (r *IntegrationWidgetCreateResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalEmailIntegrationFetchParams(data []byte) (EmailIntegrationFetchParams, error) { - var r EmailIntegrationFetchParams +func UnmarshalIntegrationWidgetUpdateParams(data []byte) (IntegrationWidgetUpdateParams, error) { + var r IntegrationWidgetUpdateParams err := json.Unmarshal(data, &r) return r, err } -func (r *EmailIntegrationFetchParams) Marshal() ([]byte, error) { +func (r *IntegrationWidgetUpdateParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalEmailIntegrationFetchResponse(data []byte) (EmailIntegrationFetchResponse, error) { - var r EmailIntegrationFetchResponse +func UnmarshalIntegrationWidgetUpdateRequest(data []byte) (IntegrationWidgetUpdateRequest, error) { + var r IntegrationWidgetUpdateRequest err := json.Unmarshal(data, &r) return r, err } -func (r *EmailIntegrationFetchResponse) Marshal() ([]byte, error) { +func (r *IntegrationWidgetUpdateRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalEmailIntegrationSetupParams(data []byte) (EmailIntegrationSetupParams, error) { - var r EmailIntegrationSetupParams +func UnmarshalIntegrationWidgetUpdateResponse(data []byte) (IntegrationWidgetUpdateResponse, error) { + var r IntegrationWidgetUpdateResponse err := json.Unmarshal(data, &r) return r, err } -func (r *EmailIntegrationSetupParams) Marshal() ([]byte, error) { +func (r *IntegrationWidgetUpdateResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -type EmailIntegrationSetupRequest map[string]interface{} - -func UnmarshalEmailIntegrationSetupRequest(data []byte) (EmailIntegrationSetupRequest, error) { - var r EmailIntegrationSetupRequest +func UnmarshalIntegrationWidgetSetupParams(data []byte) (IntegrationWidgetSetupParams, error) { + var r IntegrationWidgetSetupParams err := json.Unmarshal(data, &r) return r, err } -func (r *EmailIntegrationSetupRequest) Marshal() ([]byte, error) { +func (r *IntegrationWidgetSetupParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalEmailIntegrationSetupResponse(data []byte) (EmailIntegrationSetupResponse, error) { - var r EmailIntegrationSetupResponse +type IntegrationWidgetSetupRequest map[string]interface{} + +func UnmarshalIntegrationWidgetSetupRequest(data []byte) (IntegrationWidgetSetupRequest, error) { + var r IntegrationWidgetSetupRequest err := json.Unmarshal(data, &r) return r, err } -func (r *EmailIntegrationSetupResponse) Marshal() ([]byte, error) { +func (r *IntegrationWidgetSetupRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalEmailIntegrationUpdateParams(data []byte) (EmailIntegrationUpdateParams, error) { - var r EmailIntegrationUpdateParams +func UnmarshalIntegrationWidgetSetupResponse(data []byte) (IntegrationWidgetSetupResponse, error) { + var r IntegrationWidgetSetupResponse err := json.Unmarshal(data, &r) return r, err } -func (r *EmailIntegrationUpdateParams) Marshal() ([]byte, error) { +func (r *IntegrationWidgetSetupResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalEmailIntegrationUpdateRequest(data []byte) (EmailIntegrationUpdateRequest, error) { - var r EmailIntegrationUpdateRequest +func UnmarshalIntegrationWidgetFetchParams(data []byte) (IntegrationWidgetFetchParams, error) { + var r IntegrationWidgetFetchParams err := json.Unmarshal(data, &r) return r, err } -func (r *EmailIntegrationUpdateRequest) Marshal() ([]byte, error) { +func (r *IntegrationWidgetFetchParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalEmailIntegrationUpdateResponse(data []byte) (EmailIntegrationUpdateResponse, error) { - var r EmailIntegrationUpdateResponse +func UnmarshalIntegrationWidgetFetchResponse(data []byte) (IntegrationWidgetFetchResponse, error) { + var r IntegrationWidgetFetchResponse err := json.Unmarshal(data, &r) return r, err } -func (r *EmailIntegrationUpdateResponse) Marshal() ([]byte, error) { +func (r *IntegrationWidgetFetchResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalEmailIntegrationCreateRequest(data []byte) (EmailIntegrationCreateRequest, error) { - var r EmailIntegrationCreateRequest +func UnmarshalIntegrationWidgetDeleteParams(data []byte) (IntegrationWidgetDeleteParams, error) { + var r IntegrationWidgetDeleteParams err := json.Unmarshal(data, &r) return r, err } -func (r *EmailIntegrationCreateRequest) Marshal() ([]byte, error) { +func (r *IntegrationWidgetDeleteParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalEmailIntegrationCreateResponse(data []byte) (EmailIntegrationCreateResponse, error) { - var r EmailIntegrationCreateResponse +type IntegrationWidgetDeleteRequest map[string]interface{} + +func UnmarshalIntegrationWidgetDeleteRequest(data []byte) (IntegrationWidgetDeleteRequest, error) { + var r IntegrationWidgetDeleteRequest err := json.Unmarshal(data, &r) return r, err } -func (r *EmailIntegrationCreateResponse) Marshal() ([]byte, error) { +func (r *IntegrationWidgetDeleteRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalEmailIntegrationListParams(data []byte) (EmailIntegrationListParams, error) { - var r EmailIntegrationListParams +func UnmarshalIntegrationWidgetDeleteResponse(data []byte) (IntegrationWidgetDeleteResponse, error) { + var r IntegrationWidgetDeleteResponse err := json.Unmarshal(data, &r) return r, err } -func (r *EmailIntegrationListParams) Marshal() ([]byte, error) { +func (r *IntegrationWidgetDeleteResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalEmailIntegrationListResponse(data []byte) (EmailIntegrationListResponse, error) { - var r EmailIntegrationListResponse +func UnmarshalIntegrationWidgetCloneParams(data []byte) (IntegrationWidgetCloneParams, error) { + var r IntegrationWidgetCloneParams err := json.Unmarshal(data, &r) return r, err } -func (r *EmailIntegrationListResponse) Marshal() ([]byte, error) { +func (r *IntegrationWidgetCloneParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalEmailIntegrationListStreamItem(data []byte) (EmailIntegrationListStreamItem, error) { - var r EmailIntegrationListStreamItem +type IntegrationWidgetCloneRequest map[string]interface{} + +func UnmarshalIntegrationWidgetCloneRequest(data []byte) (IntegrationWidgetCloneRequest, error) { + var r IntegrationWidgetCloneRequest err := json.Unmarshal(data, &r) return r, err } -func (r *EmailIntegrationListStreamItem) Marshal() ([]byte, error) { +func (r *IntegrationWidgetCloneRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationExtractDeleteParams(data []byte) (IntegrationExtractDeleteParams, error) { - var r IntegrationExtractDeleteParams +func UnmarshalIntegrationWidgetCloneResponse(data []byte) (IntegrationWidgetCloneResponse, error) { + var r IntegrationWidgetCloneResponse err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationExtractDeleteParams) Marshal() ([]byte, error) { +func (r *IntegrationWidgetCloneResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -type IntegrationExtractDeleteRequest map[string]interface{} - -func UnmarshalIntegrationExtractDeleteRequest(data []byte) (IntegrationExtractDeleteRequest, error) { - var r IntegrationExtractDeleteRequest +func UnmarshalWidgetIntegrationFileDetachParams(data []byte) (WidgetIntegrationFileDetachParams, error) { + var r WidgetIntegrationFileDetachParams err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationExtractDeleteRequest) Marshal() ([]byte, error) { +func (r *WidgetIntegrationFileDetachParams) Marshal() ([]byte, error) { return json.Marshal(r) } - -func UnmarshalIntegrationExtractDeleteResponse(data []byte) (IntegrationExtractDeleteResponse, error) { - var r IntegrationExtractDeleteResponse + +func UnmarshalWidgetIntegrationFileDetachResponse(data []byte) (WidgetIntegrationFileDetachResponse, error) { + var r WidgetIntegrationFileDetachResponse err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationExtractDeleteResponse) Marshal() ([]byte, error) { +func (r *WidgetIntegrationFileDetachResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationExtractFetchParams(data []byte) (IntegrationExtractFetchParams, error) { - var r IntegrationExtractFetchParams +func UnmarshalWidgetIntegrationFileAttachParams(data []byte) (WidgetIntegrationFileAttachParams, error) { + var r WidgetIntegrationFileAttachParams err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationExtractFetchParams) Marshal() ([]byte, error) { +func (r *WidgetIntegrationFileAttachParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationExtractFetchResponse(data []byte) (IntegrationExtractFetchResponse, error) { - var r IntegrationExtractFetchResponse +func UnmarshalWidgetIntegrationFileAttachRequest(data []byte) (WidgetIntegrationFileAttachRequest, error) { + var r WidgetIntegrationFileAttachRequest err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationExtractFetchResponse) Marshal() ([]byte, error) { +func (r *WidgetIntegrationFileAttachRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalExtractIntegrationItemsExportParams(data []byte) (ExtractIntegrationItemsExportParams, error) { - var r ExtractIntegrationItemsExportParams +func UnmarshalWidgetIntegrationFileAttachResponse(data []byte) (WidgetIntegrationFileAttachResponse, error) { + var r WidgetIntegrationFileAttachResponse err := json.Unmarshal(data, &r) return r, err } -func (r *ExtractIntegrationItemsExportParams) Marshal() ([]byte, error) { +func (r *WidgetIntegrationFileAttachResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalExtractIntegrationItemsExportResponse(data []byte) (ExtractIntegrationItemsExportResponse, error) { - var r ExtractIntegrationItemsExportResponse +func UnmarshalIntegrationWhatsAppListParams(data []byte) (IntegrationWhatsAppListParams, error) { + var r IntegrationWhatsAppListParams err := json.Unmarshal(data, &r) return r, err } -func (r *ExtractIntegrationItemsExportResponse) Marshal() ([]byte, error) { +func (r *IntegrationWhatsAppListParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalExtractIntegrationItemListParams(data []byte) (ExtractIntegrationItemListParams, error) { - var r ExtractIntegrationItemListParams +func UnmarshalIntegrationWhatsAppListResponse(data []byte) (IntegrationWhatsAppListResponse, error) { + var r IntegrationWhatsAppListResponse err := json.Unmarshal(data, &r) return r, err } -func (r *ExtractIntegrationItemListParams) Marshal() ([]byte, error) { +func (r *IntegrationWhatsAppListResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalExtractIntegrationItemListResponse(data []byte) (ExtractIntegrationItemListResponse, error) { - var r ExtractIntegrationItemListResponse +func UnmarshalIntegrationWhatsAppListStreamItem(data []byte) (IntegrationWhatsAppListStreamItem, error) { + var r IntegrationWhatsAppListStreamItem err := json.Unmarshal(data, &r) return r, err } -func (r *ExtractIntegrationItemListResponse) Marshal() ([]byte, error) { +func (r *IntegrationWhatsAppListStreamItem) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationExtractTriggerParams(data []byte) (IntegrationExtractTriggerParams, error) { - var r IntegrationExtractTriggerParams +func UnmarshalIntegrationWhatsAppCreateRequest(data []byte) (IntegrationWhatsAppCreateRequest, error) { + var r IntegrationWhatsAppCreateRequest err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationExtractTriggerParams) Marshal() ([]byte, error) { +func (r *IntegrationWhatsAppCreateRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationExtractTriggerRequest(data []byte) (IntegrationExtractTriggerRequest, error) { - var r IntegrationExtractTriggerRequest +func UnmarshalIntegrationWhatsAppCreateResponse(data []byte) (IntegrationWhatsAppCreateResponse, error) { + var r IntegrationWhatsAppCreateResponse err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationExtractTriggerRequest) Marshal() ([]byte, error) { +func (r *IntegrationWhatsAppCreateResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationExtractTriggerResponse(data []byte) (IntegrationExtractTriggerResponse, error) { - var r IntegrationExtractTriggerResponse +func UnmarshalIntegrationWhatsAppUpdateParams(data []byte) (IntegrationWhatsAppUpdateParams, error) { + var r IntegrationWhatsAppUpdateParams err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationExtractTriggerResponse) Marshal() ([]byte, error) { +func (r *IntegrationWhatsAppUpdateParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationExtractUpdateParams(data []byte) (IntegrationExtractUpdateParams, error) { - var r IntegrationExtractUpdateParams +func UnmarshalIntegrationWhatsAppUpdateRequest(data []byte) (IntegrationWhatsAppUpdateRequest, error) { + var r IntegrationWhatsAppUpdateRequest err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationExtractUpdateParams) Marshal() ([]byte, error) { +func (r *IntegrationWhatsAppUpdateRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationExtractUpdateRequest(data []byte) (IntegrationExtractUpdateRequest, error) { - var r IntegrationExtractUpdateRequest +func UnmarshalIntegrationWhatsAppUpdateResponse(data []byte) (IntegrationWhatsAppUpdateResponse, error) { + var r IntegrationWhatsAppUpdateResponse err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationExtractUpdateRequest) Marshal() ([]byte, error) { +func (r *IntegrationWhatsAppUpdateResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationExtractUpdateResponse(data []byte) (IntegrationExtractUpdateResponse, error) { - var r IntegrationExtractUpdateResponse +func UnmarshalIntegrationWhatsAppSetupParams(data []byte) (IntegrationWhatsAppSetupParams, error) { + var r IntegrationWhatsAppSetupParams err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationExtractUpdateResponse) Marshal() ([]byte, error) { +func (r *IntegrationWhatsAppSetupParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationExtractCreateRequest(data []byte) (IntegrationExtractCreateRequest, error) { - var r IntegrationExtractCreateRequest +type IntegrationWhatsAppSetupRequest map[string]interface{} + +func UnmarshalIntegrationWhatsAppSetupRequest(data []byte) (IntegrationWhatsAppSetupRequest, error) { + var r IntegrationWhatsAppSetupRequest err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationExtractCreateRequest) Marshal() ([]byte, error) { +func (r *IntegrationWhatsAppSetupRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationExtractCreateResponse(data []byte) (IntegrationExtractCreateResponse, error) { - var r IntegrationExtractCreateResponse +func UnmarshalIntegrationWhatsAppSetupResponse(data []byte) (IntegrationWhatsAppSetupResponse, error) { + var r IntegrationWhatsAppSetupResponse err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationExtractCreateResponse) Marshal() ([]byte, error) { +func (r *IntegrationWhatsAppSetupResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationExtractListParams(data []byte) (IntegrationExtractListParams, error) { - var r IntegrationExtractListParams +func UnmarshalIntegrationWhatsAppFetchParams(data []byte) (IntegrationWhatsAppFetchParams, error) { + var r IntegrationWhatsAppFetchParams err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationExtractListParams) Marshal() ([]byte, error) { +func (r *IntegrationWhatsAppFetchParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationExtractListResponse(data []byte) (IntegrationExtractListResponse, error) { - var r IntegrationExtractListResponse +func UnmarshalIntegrationWhatsAppFetchResponse(data []byte) (IntegrationWhatsAppFetchResponse, error) { + var r IntegrationWhatsAppFetchResponse err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationExtractListResponse) Marshal() ([]byte, error) { +func (r *IntegrationWhatsAppFetchResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationExtractListStreamItem(data []byte) (IntegrationExtractListStreamItem, error) { - var r IntegrationExtractListStreamItem +func UnmarshalIntegrationWhatsAppDeleteParams(data []byte) (IntegrationWhatsAppDeleteParams, error) { + var r IntegrationWhatsAppDeleteParams err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationExtractListStreamItem) Marshal() ([]byte, error) { +func (r *IntegrationWhatsAppDeleteParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalGithubIntegrationDeleteParams(data []byte) (GithubIntegrationDeleteParams, error) { - var r GithubIntegrationDeleteParams +type IntegrationWhatsAppDeleteRequest map[string]interface{} + +func UnmarshalIntegrationWhatsAppDeleteRequest(data []byte) (IntegrationWhatsAppDeleteRequest, error) { + var r IntegrationWhatsAppDeleteRequest err := json.Unmarshal(data, &r) return r, err } -func (r *GithubIntegrationDeleteParams) Marshal() ([]byte, error) { +func (r *IntegrationWhatsAppDeleteRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -type GithubIntegrationDeleteRequest map[string]interface{} - -func UnmarshalGithubIntegrationDeleteRequest(data []byte) (GithubIntegrationDeleteRequest, error) { - var r GithubIntegrationDeleteRequest +func UnmarshalIntegrationWhatsAppDeleteResponse(data []byte) (IntegrationWhatsAppDeleteResponse, error) { + var r IntegrationWhatsAppDeleteResponse err := json.Unmarshal(data, &r) return r, err } -func (r *GithubIntegrationDeleteRequest) Marshal() ([]byte, error) { +func (r *IntegrationWhatsAppDeleteResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalGithubIntegrationDeleteResponse(data []byte) (GithubIntegrationDeleteResponse, error) { - var r GithubIntegrationDeleteResponse +func UnmarshalIntegrationTwilioListParams(data []byte) (IntegrationTwilioListParams, error) { + var r IntegrationTwilioListParams err := json.Unmarshal(data, &r) return r, err } -func (r *GithubIntegrationDeleteResponse) Marshal() ([]byte, error) { +func (r *IntegrationTwilioListParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalGithubIntegrationFetchParams(data []byte) (GithubIntegrationFetchParams, error) { - var r GithubIntegrationFetchParams +func UnmarshalIntegrationTwilioListResponse(data []byte) (IntegrationTwilioListResponse, error) { + var r IntegrationTwilioListResponse err := json.Unmarshal(data, &r) return r, err } -func (r *GithubIntegrationFetchParams) Marshal() ([]byte, error) { +func (r *IntegrationTwilioListResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalGithubIntegrationFetchResponse(data []byte) (GithubIntegrationFetchResponse, error) { - var r GithubIntegrationFetchResponse +func UnmarshalIntegrationTwilioListStreamItem(data []byte) (IntegrationTwilioListStreamItem, error) { + var r IntegrationTwilioListStreamItem err := json.Unmarshal(data, &r) return r, err } -func (r *GithubIntegrationFetchResponse) Marshal() ([]byte, error) { +func (r *IntegrationTwilioListStreamItem) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalGithubIntegrationSetupParams(data []byte) (GithubIntegrationSetupParams, error) { - var r GithubIntegrationSetupParams +func UnmarshalIntegrationTwilioCreateRequest(data []byte) (IntegrationTwilioCreateRequest, error) { + var r IntegrationTwilioCreateRequest err := json.Unmarshal(data, &r) return r, err } -func (r *GithubIntegrationSetupParams) Marshal() ([]byte, error) { +func (r *IntegrationTwilioCreateRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalGithubIntegrationUpdateParams(data []byte) (GithubIntegrationUpdateParams, error) { - var r GithubIntegrationUpdateParams +func UnmarshalIntegrationTwilioCreateResponse(data []byte) (IntegrationTwilioCreateResponse, error) { + var r IntegrationTwilioCreateResponse err := json.Unmarshal(data, &r) return r, err } -func (r *GithubIntegrationUpdateParams) Marshal() ([]byte, error) { +func (r *IntegrationTwilioCreateResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalGithubIntegrationUpdateRequest(data []byte) (GithubIntegrationUpdateRequest, error) { - var r GithubIntegrationUpdateRequest +func UnmarshalIntegrationTwilioUpdateParams(data []byte) (IntegrationTwilioUpdateParams, error) { + var r IntegrationTwilioUpdateParams err := json.Unmarshal(data, &r) return r, err } -func (r *GithubIntegrationUpdateRequest) Marshal() ([]byte, error) { +func (r *IntegrationTwilioUpdateParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalGithubIntegrationUpdateResponse(data []byte) (GithubIntegrationUpdateResponse, error) { - var r GithubIntegrationUpdateResponse +func UnmarshalIntegrationTwilioUpdateRequest(data []byte) (IntegrationTwilioUpdateRequest, error) { + var r IntegrationTwilioUpdateRequest err := json.Unmarshal(data, &r) return r, err } -func (r *GithubIntegrationUpdateResponse) Marshal() ([]byte, error) { +func (r *IntegrationTwilioUpdateRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalGithubIntegrationCreateRequest(data []byte) (GithubIntegrationCreateRequest, error) { - var r GithubIntegrationCreateRequest +func UnmarshalIntegrationTwilioUpdateResponse(data []byte) (IntegrationTwilioUpdateResponse, error) { + var r IntegrationTwilioUpdateResponse err := json.Unmarshal(data, &r) return r, err } -func (r *GithubIntegrationCreateRequest) Marshal() ([]byte, error) { +func (r *IntegrationTwilioUpdateResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalGithubIntegrationCreateResponse(data []byte) (GithubIntegrationCreateResponse, error) { - var r GithubIntegrationCreateResponse +func UnmarshalIntegrationTwilioSetupParams(data []byte) (IntegrationTwilioSetupParams, error) { + var r IntegrationTwilioSetupParams err := json.Unmarshal(data, &r) return r, err } -func (r *GithubIntegrationCreateResponse) Marshal() ([]byte, error) { +func (r *IntegrationTwilioSetupParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalGithubIntegrationListParams(data []byte) (GithubIntegrationListParams, error) { - var r GithubIntegrationListParams +type IntegrationTwilioSetupRequest map[string]interface{} + +func UnmarshalIntegrationTwilioSetupRequest(data []byte) (IntegrationTwilioSetupRequest, error) { + var r IntegrationTwilioSetupRequest err := json.Unmarshal(data, &r) return r, err } -func (r *GithubIntegrationListParams) Marshal() ([]byte, error) { +func (r *IntegrationTwilioSetupRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalGithubIntegrationListResponse(data []byte) (GithubIntegrationListResponse, error) { - var r GithubIntegrationListResponse +func UnmarshalIntegrationTwilioSetupResponse(data []byte) (IntegrationTwilioSetupResponse, error) { + var r IntegrationTwilioSetupResponse err := json.Unmarshal(data, &r) return r, err } -func (r *GithubIntegrationListResponse) Marshal() ([]byte, error) { +func (r *IntegrationTwilioSetupResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalGooglechatIntegrationDeleteParams(data []byte) (GooglechatIntegrationDeleteParams, error) { - var r GooglechatIntegrationDeleteParams +func UnmarshalIntegrationTwilioFetchParams(data []byte) (IntegrationTwilioFetchParams, error) { + var r IntegrationTwilioFetchParams err := json.Unmarshal(data, &r) return r, err } -func (r *GooglechatIntegrationDeleteParams) Marshal() ([]byte, error) { +func (r *IntegrationTwilioFetchParams) Marshal() ([]byte, error) { return json.Marshal(r) } -type GooglechatIntegrationDeleteRequest map[string]interface{} - -func UnmarshalGooglechatIntegrationDeleteRequest(data []byte) (GooglechatIntegrationDeleteRequest, error) { - var r GooglechatIntegrationDeleteRequest +func UnmarshalIntegrationTwilioFetchResponse(data []byte) (IntegrationTwilioFetchResponse, error) { + var r IntegrationTwilioFetchResponse err := json.Unmarshal(data, &r) return r, err } -func (r *GooglechatIntegrationDeleteRequest) Marshal() ([]byte, error) { +func (r *IntegrationTwilioFetchResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalGooglechatIntegrationDeleteResponse(data []byte) (GooglechatIntegrationDeleteResponse, error) { - var r GooglechatIntegrationDeleteResponse +func UnmarshalIntegrationTwilioDeleteParams(data []byte) (IntegrationTwilioDeleteParams, error) { + var r IntegrationTwilioDeleteParams err := json.Unmarshal(data, &r) return r, err } -func (r *GooglechatIntegrationDeleteResponse) Marshal() ([]byte, error) { +func (r *IntegrationTwilioDeleteParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalGooglechatIntegrationFetchParams(data []byte) (GooglechatIntegrationFetchParams, error) { - var r GooglechatIntegrationFetchParams +type IntegrationTwilioDeleteRequest map[string]interface{} + +func UnmarshalIntegrationTwilioDeleteRequest(data []byte) (IntegrationTwilioDeleteRequest, error) { + var r IntegrationTwilioDeleteRequest err := json.Unmarshal(data, &r) return r, err } -func (r *GooglechatIntegrationFetchParams) Marshal() ([]byte, error) { +func (r *IntegrationTwilioDeleteRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalGooglechatIntegrationFetchResponse(data []byte) (GooglechatIntegrationFetchResponse, error) { - var r GooglechatIntegrationFetchResponse +func UnmarshalIntegrationTwilioDeleteResponse(data []byte) (IntegrationTwilioDeleteResponse, error) { + var r IntegrationTwilioDeleteResponse err := json.Unmarshal(data, &r) return r, err } -func (r *GooglechatIntegrationFetchResponse) Marshal() ([]byte, error) { +func (r *IntegrationTwilioDeleteResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalGooglechatIntegrationSetupParams(data []byte) (GooglechatIntegrationSetupParams, error) { - var r GooglechatIntegrationSetupParams +func UnmarshalTriggerIntegrationListParams(data []byte) (TriggerIntegrationListParams, error) { + var r TriggerIntegrationListParams err := json.Unmarshal(data, &r) return r, err } -func (r *GooglechatIntegrationSetupParams) Marshal() ([]byte, error) { +func (r *TriggerIntegrationListParams) Marshal() ([]byte, error) { return json.Marshal(r) } -type GooglechatIntegrationSetupRequest map[string]interface{} - -func UnmarshalGooglechatIntegrationSetupRequest(data []byte) (GooglechatIntegrationSetupRequest, error) { - var r GooglechatIntegrationSetupRequest +func UnmarshalTriggerIntegrationListResponse(data []byte) (TriggerIntegrationListResponse, error) { + var r TriggerIntegrationListResponse err := json.Unmarshal(data, &r) return r, err } -func (r *GooglechatIntegrationSetupRequest) Marshal() ([]byte, error) { +func (r *TriggerIntegrationListResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalGooglechatIntegrationSetupResponse(data []byte) (GooglechatIntegrationSetupResponse, error) { - var r GooglechatIntegrationSetupResponse +func UnmarshalTriggerIntegrationListStreamItem(data []byte) (TriggerIntegrationListStreamItem, error) { + var r TriggerIntegrationListStreamItem err := json.Unmarshal(data, &r) return r, err } -func (r *GooglechatIntegrationSetupResponse) Marshal() ([]byte, error) { +func (r *TriggerIntegrationListStreamItem) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalGooglechatIntegrationUpdateParams(data []byte) (GooglechatIntegrationUpdateParams, error) { - var r GooglechatIntegrationUpdateParams +func UnmarshalTriggerIntegrationCreateRequest(data []byte) (TriggerIntegrationCreateRequest, error) { + var r TriggerIntegrationCreateRequest err := json.Unmarshal(data, &r) return r, err } -func (r *GooglechatIntegrationUpdateParams) Marshal() ([]byte, error) { +func (r *TriggerIntegrationCreateRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalGooglechatIntegrationUpdateRequest(data []byte) (GooglechatIntegrationUpdateRequest, error) { - var r GooglechatIntegrationUpdateRequest +func UnmarshalTriggerIntegrationCreateResponse(data []byte) (TriggerIntegrationCreateResponse, error) { + var r TriggerIntegrationCreateResponse err := json.Unmarshal(data, &r) return r, err } -func (r *GooglechatIntegrationUpdateRequest) Marshal() ([]byte, error) { +func (r *TriggerIntegrationCreateResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalGooglechatIntegrationUpdateResponse(data []byte) (GooglechatIntegrationUpdateResponse, error) { - var r GooglechatIntegrationUpdateResponse +func UnmarshalTriggerIntegrationUpdateParams(data []byte) (TriggerIntegrationUpdateParams, error) { + var r TriggerIntegrationUpdateParams err := json.Unmarshal(data, &r) return r, err } -func (r *GooglechatIntegrationUpdateResponse) Marshal() ([]byte, error) { +func (r *TriggerIntegrationUpdateParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalGooglechatIntegrationCreateRequest(data []byte) (GooglechatIntegrationCreateRequest, error) { - var r GooglechatIntegrationCreateRequest +func UnmarshalTriggerIntegrationUpdateRequest(data []byte) (TriggerIntegrationUpdateRequest, error) { + var r TriggerIntegrationUpdateRequest err := json.Unmarshal(data, &r) return r, err } -func (r *GooglechatIntegrationCreateRequest) Marshal() ([]byte, error) { +func (r *TriggerIntegrationUpdateRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalGooglechatIntegrationCreateResponse(data []byte) (GooglechatIntegrationCreateResponse, error) { - var r GooglechatIntegrationCreateResponse +func UnmarshalTriggerIntegrationUpdateResponse(data []byte) (TriggerIntegrationUpdateResponse, error) { + var r TriggerIntegrationUpdateResponse err := json.Unmarshal(data, &r) return r, err } -func (r *GooglechatIntegrationCreateResponse) Marshal() ([]byte, error) { +func (r *TriggerIntegrationUpdateResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalGooglechatIntegrationListParams(data []byte) (GooglechatIntegrationListParams, error) { - var r GooglechatIntegrationListParams +func UnmarshalTriggerIntegrationSetupParams(data []byte) (TriggerIntegrationSetupParams, error) { + var r TriggerIntegrationSetupParams err := json.Unmarshal(data, &r) return r, err } -func (r *GooglechatIntegrationListParams) Marshal() ([]byte, error) { +func (r *TriggerIntegrationSetupParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalGooglechatIntegrationListResponse(data []byte) (GooglechatIntegrationListResponse, error) { - var r GooglechatIntegrationListResponse +type TriggerIntegrationSetupRequest map[string]interface{} + +func UnmarshalTriggerIntegrationSetupRequest(data []byte) (TriggerIntegrationSetupRequest, error) { + var r TriggerIntegrationSetupRequest err := json.Unmarshal(data, &r) return r, err } -func (r *GooglechatIntegrationListResponse) Marshal() ([]byte, error) { +func (r *TriggerIntegrationSetupRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalGooglechatIntegrationListStreamItem(data []byte) (GooglechatIntegrationListStreamItem, error) { - var r GooglechatIntegrationListStreamItem +func UnmarshalTriggerIntegrationSetupResponse(data []byte) (TriggerIntegrationSetupResponse, error) { + var r TriggerIntegrationSetupResponse err := json.Unmarshal(data, &r) return r, err } -func (r *GooglechatIntegrationListStreamItem) Marshal() ([]byte, error) { +func (r *TriggerIntegrationSetupResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationInstagramDeleteParams(data []byte) (IntegrationInstagramDeleteParams, error) { - var r IntegrationInstagramDeleteParams +func UnmarshalTriggerIntegrationInvokeParams(data []byte) (TriggerIntegrationInvokeParams, error) { + var r TriggerIntegrationInvokeParams err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationInstagramDeleteParams) Marshal() ([]byte, error) { +func (r *TriggerIntegrationInvokeParams) Marshal() ([]byte, error) { return json.Marshal(r) } -type IntegrationInstagramDeleteRequest map[string]interface{} +type TriggerIntegrationInvokeRequest map[string]interface{} -func UnmarshalIntegrationInstagramDeleteRequest(data []byte) (IntegrationInstagramDeleteRequest, error) { - var r IntegrationInstagramDeleteRequest +func UnmarshalTriggerIntegrationInvokeRequest(data []byte) (TriggerIntegrationInvokeRequest, error) { + var r TriggerIntegrationInvokeRequest err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationInstagramDeleteRequest) Marshal() ([]byte, error) { +func (r *TriggerIntegrationInvokeRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationInstagramDeleteResponse(data []byte) (IntegrationInstagramDeleteResponse, error) { - var r IntegrationInstagramDeleteResponse +func UnmarshalTriggerIntegrationInvokeResponse(data []byte) (TriggerIntegrationInvokeResponse, error) { + var r TriggerIntegrationInvokeResponse err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationInstagramDeleteResponse) Marshal() ([]byte, error) { +func (r *TriggerIntegrationInvokeResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationInstagramFetchParams(data []byte) (IntegrationInstagramFetchParams, error) { - var r IntegrationInstagramFetchParams +func UnmarshalTriggerIntegrationFetchParams(data []byte) (TriggerIntegrationFetchParams, error) { + var r TriggerIntegrationFetchParams err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationInstagramFetchParams) Marshal() ([]byte, error) { +func (r *TriggerIntegrationFetchParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationInstagramFetchResponse(data []byte) (IntegrationInstagramFetchResponse, error) { - var r IntegrationInstagramFetchResponse +func UnmarshalTriggerIntegrationFetchResponse(data []byte) (TriggerIntegrationFetchResponse, error) { + var r TriggerIntegrationFetchResponse err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationInstagramFetchResponse) Marshal() ([]byte, error) { +func (r *TriggerIntegrationFetchResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationInstagramSetupParams(data []byte) (IntegrationInstagramSetupParams, error) { - var r IntegrationInstagramSetupParams +func UnmarshalTriggerIntegrationDeleteParams(data []byte) (TriggerIntegrationDeleteParams, error) { + var r TriggerIntegrationDeleteParams err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationInstagramSetupParams) Marshal() ([]byte, error) { +func (r *TriggerIntegrationDeleteParams) Marshal() ([]byte, error) { return json.Marshal(r) } -type IntegrationInstagramSetupRequest map[string]interface{} +type TriggerIntegrationDeleteRequest map[string]interface{} -func UnmarshalIntegrationInstagramSetupRequest(data []byte) (IntegrationInstagramSetupRequest, error) { - var r IntegrationInstagramSetupRequest +func UnmarshalTriggerIntegrationDeleteRequest(data []byte) (TriggerIntegrationDeleteRequest, error) { + var r TriggerIntegrationDeleteRequest err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationInstagramSetupRequest) Marshal() ([]byte, error) { +func (r *TriggerIntegrationDeleteRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationInstagramSetupResponse(data []byte) (IntegrationInstagramSetupResponse, error) { - var r IntegrationInstagramSetupResponse +func UnmarshalTriggerIntegrationDeleteResponse(data []byte) (TriggerIntegrationDeleteResponse, error) { + var r TriggerIntegrationDeleteResponse err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationInstagramSetupResponse) Marshal() ([]byte, error) { +func (r *TriggerIntegrationDeleteResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationInstagramUpdateParams(data []byte) (IntegrationInstagramUpdateParams, error) { - var r IntegrationInstagramUpdateParams +func UnmarshalIntegrationTelegramListParams(data []byte) (IntegrationTelegramListParams, error) { + var r IntegrationTelegramListParams err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationInstagramUpdateParams) Marshal() ([]byte, error) { +func (r *IntegrationTelegramListParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationInstagramUpdateRequest(data []byte) (IntegrationInstagramUpdateRequest, error) { - var r IntegrationInstagramUpdateRequest +func UnmarshalIntegrationTelegramListResponse(data []byte) (IntegrationTelegramListResponse, error) { + var r IntegrationTelegramListResponse err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationInstagramUpdateRequest) Marshal() ([]byte, error) { +func (r *IntegrationTelegramListResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationInstagramUpdateResponse(data []byte) (IntegrationInstagramUpdateResponse, error) { - var r IntegrationInstagramUpdateResponse +func UnmarshalIntegrationTelegramListStreamItem(data []byte) (IntegrationTelegramListStreamItem, error) { + var r IntegrationTelegramListStreamItem err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationInstagramUpdateResponse) Marshal() ([]byte, error) { +func (r *IntegrationTelegramListStreamItem) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationInstagramCreateRequest(data []byte) (IntegrationInstagramCreateRequest, error) { - var r IntegrationInstagramCreateRequest +func UnmarshalIntegrationTelegramCreateRequest(data []byte) (IntegrationTelegramCreateRequest, error) { + var r IntegrationTelegramCreateRequest err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationInstagramCreateRequest) Marshal() ([]byte, error) { +func (r *IntegrationTelegramCreateRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationInstagramCreateResponse(data []byte) (IntegrationInstagramCreateResponse, error) { - var r IntegrationInstagramCreateResponse +func UnmarshalIntegrationTelegramCreateResponse(data []byte) (IntegrationTelegramCreateResponse, error) { + var r IntegrationTelegramCreateResponse err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationInstagramCreateResponse) Marshal() ([]byte, error) { +func (r *IntegrationTelegramCreateResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationInstagramListParams(data []byte) (IntegrationInstagramListParams, error) { - var r IntegrationInstagramListParams +func UnmarshalIntegrationTelegramUpdateParams(data []byte) (IntegrationTelegramUpdateParams, error) { + var r IntegrationTelegramUpdateParams err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationInstagramListParams) Marshal() ([]byte, error) { +func (r *IntegrationTelegramUpdateParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationInstagramListResponse(data []byte) (IntegrationInstagramListResponse, error) { - var r IntegrationInstagramListResponse +func UnmarshalIntegrationTelegramUpdateRequest(data []byte) (IntegrationTelegramUpdateRequest, error) { + var r IntegrationTelegramUpdateRequest err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationInstagramListResponse) Marshal() ([]byte, error) { +func (r *IntegrationTelegramUpdateRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationInstagramListStreamItem(data []byte) (IntegrationInstagramListStreamItem, error) { - var r IntegrationInstagramListStreamItem +func UnmarshalIntegrationTelegramUpdateResponse(data []byte) (IntegrationTelegramUpdateResponse, error) { + var r IntegrationTelegramUpdateResponse err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationInstagramListStreamItem) Marshal() ([]byte, error) { +func (r *IntegrationTelegramUpdateResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationMCPServerDeleteParams(data []byte) (IntegrationMCPServerDeleteParams, error) { - var r IntegrationMCPServerDeleteParams +func UnmarshalIntegrationTelegramSetupParams(data []byte) (IntegrationTelegramSetupParams, error) { + var r IntegrationTelegramSetupParams err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationMCPServerDeleteParams) Marshal() ([]byte, error) { +func (r *IntegrationTelegramSetupParams) Marshal() ([]byte, error) { return json.Marshal(r) } -type IntegrationMCPServerDeleteRequest map[string]interface{} +type IntegrationTelegramSetupRequest map[string]interface{} -func UnmarshalIntegrationMCPServerDeleteRequest(data []byte) (IntegrationMCPServerDeleteRequest, error) { - var r IntegrationMCPServerDeleteRequest +func UnmarshalIntegrationTelegramSetupRequest(data []byte) (IntegrationTelegramSetupRequest, error) { + var r IntegrationTelegramSetupRequest err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationMCPServerDeleteRequest) Marshal() ([]byte, error) { +func (r *IntegrationTelegramSetupRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationMCPServerDeleteResponse(data []byte) (IntegrationMCPServerDeleteResponse, error) { - var r IntegrationMCPServerDeleteResponse +func UnmarshalIntegrationTelegramSetupResponse(data []byte) (IntegrationTelegramSetupResponse, error) { + var r IntegrationTelegramSetupResponse err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationMCPServerDeleteResponse) Marshal() ([]byte, error) { +func (r *IntegrationTelegramSetupResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationMCPServerFetchParams(data []byte) (IntegrationMCPServerFetchParams, error) { - var r IntegrationMCPServerFetchParams +func UnmarshalIntegrationTelegramFetchParams(data []byte) (IntegrationTelegramFetchParams, error) { + var r IntegrationTelegramFetchParams err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationMCPServerFetchParams) Marshal() ([]byte, error) { +func (r *IntegrationTelegramFetchParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationMCPServerFetchResponse(data []byte) (IntegrationMCPServerFetchResponse, error) { - var r IntegrationMCPServerFetchResponse +func UnmarshalIntegrationTelegramFetchResponse(data []byte) (IntegrationTelegramFetchResponse, error) { + var r IntegrationTelegramFetchResponse err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationMCPServerFetchResponse) Marshal() ([]byte, error) { +func (r *IntegrationTelegramFetchResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationMCPServerUpdateParams(data []byte) (IntegrationMCPServerUpdateParams, error) { - var r IntegrationMCPServerUpdateParams +func UnmarshalIntegrationTelegramDeleteParams(data []byte) (IntegrationTelegramDeleteParams, error) { + var r IntegrationTelegramDeleteParams err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationMCPServerUpdateParams) Marshal() ([]byte, error) { +func (r *IntegrationTelegramDeleteParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationMCPServerUpdateRequest(data []byte) (IntegrationMCPServerUpdateRequest, error) { - var r IntegrationMCPServerUpdateRequest - err := json.Unmarshal(data, &r) - return r, err -} - -func (r *IntegrationMCPServerUpdateRequest) Marshal() ([]byte, error) { - return json.Marshal(r) -} +type IntegrationTelegramDeleteRequest map[string]interface{} -func UnmarshalIntegrationMCPServerUpdateResponse(data []byte) (IntegrationMCPServerUpdateResponse, error) { - var r IntegrationMCPServerUpdateResponse +func UnmarshalIntegrationTelegramDeleteRequest(data []byte) (IntegrationTelegramDeleteRequest, error) { + var r IntegrationTelegramDeleteRequest err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationMCPServerUpdateResponse) Marshal() ([]byte, error) { +func (r *IntegrationTelegramDeleteRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationMCPServerCreateRequest(data []byte) (IntegrationMCPServerCreateRequest, error) { - var r IntegrationMCPServerCreateRequest +func UnmarshalIntegrationTelegramDeleteResponse(data []byte) (IntegrationTelegramDeleteResponse, error) { + var r IntegrationTelegramDeleteResponse err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationMCPServerCreateRequest) Marshal() ([]byte, error) { +func (r *IntegrationTelegramDeleteResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationMCPServerCreateResponse(data []byte) (IntegrationMCPServerCreateResponse, error) { - var r IntegrationMCPServerCreateResponse +func UnmarshalIntegrationSupportListParams(data []byte) (IntegrationSupportListParams, error) { + var r IntegrationSupportListParams err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationMCPServerCreateResponse) Marshal() ([]byte, error) { +func (r *IntegrationSupportListParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationMCPServerListParams(data []byte) (IntegrationMCPServerListParams, error) { - var r IntegrationMCPServerListParams +func UnmarshalIntegrationSupportListResponse(data []byte) (IntegrationSupportListResponse, error) { + var r IntegrationSupportListResponse err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationMCPServerListParams) Marshal() ([]byte, error) { +func (r *IntegrationSupportListResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationMCPServerListResponse(data []byte) (IntegrationMCPServerListResponse, error) { - var r IntegrationMCPServerListResponse +func UnmarshalIntegrationSupportListStreamItem(data []byte) (IntegrationSupportListStreamItem, error) { + var r IntegrationSupportListStreamItem err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationMCPServerListResponse) Marshal() ([]byte, error) { +func (r *IntegrationSupportListStreamItem) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationMCPServerListStreamItem(data []byte) (IntegrationMCPServerListStreamItem, error) { - var r IntegrationMCPServerListStreamItem +func UnmarshalIntegrationSupportCreateRequest(data []byte) (IntegrationSupportCreateRequest, error) { + var r IntegrationSupportCreateRequest err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationMCPServerListStreamItem) Marshal() ([]byte, error) { +func (r *IntegrationSupportCreateRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationMessengerDeleteParams(data []byte) (IntegrationMessengerDeleteParams, error) { - var r IntegrationMessengerDeleteParams +func UnmarshalIntegrationSupportCreateResponse(data []byte) (IntegrationSupportCreateResponse, error) { + var r IntegrationSupportCreateResponse err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationMessengerDeleteParams) Marshal() ([]byte, error) { +func (r *IntegrationSupportCreateResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -type IntegrationMessengerDeleteRequest map[string]interface{} - -func UnmarshalIntegrationMessengerDeleteRequest(data []byte) (IntegrationMessengerDeleteRequest, error) { - var r IntegrationMessengerDeleteRequest +func UnmarshalIntegrationSupportUpdateParams(data []byte) (IntegrationSupportUpdateParams, error) { + var r IntegrationSupportUpdateParams err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationMessengerDeleteRequest) Marshal() ([]byte, error) { +func (r *IntegrationSupportUpdateParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationMessengerDeleteResponse(data []byte) (IntegrationMessengerDeleteResponse, error) { - var r IntegrationMessengerDeleteResponse +func UnmarshalIntegrationSupportUpdateRequest(data []byte) (IntegrationSupportUpdateRequest, error) { + var r IntegrationSupportUpdateRequest err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationMessengerDeleteResponse) Marshal() ([]byte, error) { +func (r *IntegrationSupportUpdateRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationMessengerFetchParams(data []byte) (IntegrationMessengerFetchParams, error) { - var r IntegrationMessengerFetchParams +func UnmarshalIntegrationSupportUpdateResponse(data []byte) (IntegrationSupportUpdateResponse, error) { + var r IntegrationSupportUpdateResponse err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationMessengerFetchParams) Marshal() ([]byte, error) { +func (r *IntegrationSupportUpdateResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationMessengerFetchResponse(data []byte) (IntegrationMessengerFetchResponse, error) { - var r IntegrationMessengerFetchResponse +func UnmarshalIntegrationSupportTriggerParams(data []byte) (IntegrationSupportTriggerParams, error) { + var r IntegrationSupportTriggerParams err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationMessengerFetchResponse) Marshal() ([]byte, error) { +func (r *IntegrationSupportTriggerParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationMessengerSetupParams(data []byte) (IntegrationMessengerSetupParams, error) { - var r IntegrationMessengerSetupParams +func UnmarshalIntegrationSupportTriggerRequest(data []byte) (IntegrationSupportTriggerRequest, error) { + var r IntegrationSupportTriggerRequest err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationMessengerSetupParams) Marshal() ([]byte, error) { +func (r *IntegrationSupportTriggerRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -type IntegrationMessengerSetupRequest map[string]interface{} - -func UnmarshalIntegrationMessengerSetupRequest(data []byte) (IntegrationMessengerSetupRequest, error) { - var r IntegrationMessengerSetupRequest +func UnmarshalIntegrationSupportTriggerResponse(data []byte) (IntegrationSupportTriggerResponse, error) { + var r IntegrationSupportTriggerResponse err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationMessengerSetupRequest) Marshal() ([]byte, error) { +func (r *IntegrationSupportTriggerResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationMessengerSetupResponse(data []byte) (IntegrationMessengerSetupResponse, error) { - var r IntegrationMessengerSetupResponse +func UnmarshalIntegrationSupportFetchParams(data []byte) (IntegrationSupportFetchParams, error) { + var r IntegrationSupportFetchParams err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationMessengerSetupResponse) Marshal() ([]byte, error) { +func (r *IntegrationSupportFetchParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationMessengerUpdateParams(data []byte) (IntegrationMessengerUpdateParams, error) { - var r IntegrationMessengerUpdateParams +func UnmarshalIntegrationSupportFetchResponse(data []byte) (IntegrationSupportFetchResponse, error) { + var r IntegrationSupportFetchResponse err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationMessengerUpdateParams) Marshal() ([]byte, error) { +func (r *IntegrationSupportFetchResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationMessengerUpdateRequest(data []byte) (IntegrationMessengerUpdateRequest, error) { - var r IntegrationMessengerUpdateRequest +func UnmarshalIntegrationSupportDeleteParams(data []byte) (IntegrationSupportDeleteParams, error) { + var r IntegrationSupportDeleteParams err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationMessengerUpdateRequest) Marshal() ([]byte, error) { +func (r *IntegrationSupportDeleteParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationMessengerUpdateResponse(data []byte) (IntegrationMessengerUpdateResponse, error) { - var r IntegrationMessengerUpdateResponse +type IntegrationSupportDeleteRequest map[string]interface{} + +func UnmarshalIntegrationSupportDeleteRequest(data []byte) (IntegrationSupportDeleteRequest, error) { + var r IntegrationSupportDeleteRequest err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationMessengerUpdateResponse) Marshal() ([]byte, error) { +func (r *IntegrationSupportDeleteRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationMessengerCreateRequest(data []byte) (IntegrationMessengerCreateRequest, error) { - var r IntegrationMessengerCreateRequest +func UnmarshalIntegrationSupportDeleteResponse(data []byte) (IntegrationSupportDeleteResponse, error) { + var r IntegrationSupportDeleteResponse err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationMessengerCreateRequest) Marshal() ([]byte, error) { +func (r *IntegrationSupportDeleteResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationMessengerCreateResponse(data []byte) (IntegrationMessengerCreateResponse, error) { - var r IntegrationMessengerCreateResponse +func UnmarshalIntegrationSlackListParams(data []byte) (IntegrationSlackListParams, error) { + var r IntegrationSlackListParams err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationMessengerCreateResponse) Marshal() ([]byte, error) { +func (r *IntegrationSlackListParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationMessengerListParams(data []byte) (IntegrationMessengerListParams, error) { - var r IntegrationMessengerListParams +func UnmarshalIntegrationSlackListResponse(data []byte) (IntegrationSlackListResponse, error) { + var r IntegrationSlackListResponse err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationMessengerListParams) Marshal() ([]byte, error) { +func (r *IntegrationSlackListResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationMessengerListResponse(data []byte) (IntegrationMessengerListResponse, error) { - var r IntegrationMessengerListResponse +func UnmarshalIntegrationSlackListStreamItem(data []byte) (IntegrationSlackListStreamItem, error) { + var r IntegrationSlackListStreamItem err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationMessengerListResponse) Marshal() ([]byte, error) { +func (r *IntegrationSlackListStreamItem) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationMessengerListStreamItem(data []byte) (IntegrationMessengerListStreamItem, error) { - var r IntegrationMessengerListStreamItem +func UnmarshalIntegrationSlackCreateRequest(data []byte) (IntegrationSlackCreateRequest, error) { + var r IntegrationSlackCreateRequest err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationMessengerListStreamItem) Marshal() ([]byte, error) { +func (r *IntegrationSlackCreateRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalMicrosoftteamsIntegrationDeleteParams(data []byte) (MicrosoftteamsIntegrationDeleteParams, error) { - var r MicrosoftteamsIntegrationDeleteParams +func UnmarshalIntegrationSlackCreateResponse(data []byte) (IntegrationSlackCreateResponse, error) { + var r IntegrationSlackCreateResponse err := json.Unmarshal(data, &r) return r, err } -func (r *MicrosoftteamsIntegrationDeleteParams) Marshal() ([]byte, error) { +func (r *IntegrationSlackCreateResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -type MicrosoftteamsIntegrationDeleteRequest map[string]interface{} - -func UnmarshalMicrosoftteamsIntegrationDeleteRequest(data []byte) (MicrosoftteamsIntegrationDeleteRequest, error) { - var r MicrosoftteamsIntegrationDeleteRequest +func UnmarshalIntegrationSlackUpdateParams(data []byte) (IntegrationSlackUpdateParams, error) { + var r IntegrationSlackUpdateParams err := json.Unmarshal(data, &r) return r, err } -func (r *MicrosoftteamsIntegrationDeleteRequest) Marshal() ([]byte, error) { +func (r *IntegrationSlackUpdateParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalMicrosoftteamsIntegrationDeleteResponse(data []byte) (MicrosoftteamsIntegrationDeleteResponse, error) { - var r MicrosoftteamsIntegrationDeleteResponse +func UnmarshalIntegrationSlackUpdateRequest(data []byte) (IntegrationSlackUpdateRequest, error) { + var r IntegrationSlackUpdateRequest err := json.Unmarshal(data, &r) return r, err } -func (r *MicrosoftteamsIntegrationDeleteResponse) Marshal() ([]byte, error) { +func (r *IntegrationSlackUpdateRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalMicrosoftteamsIntegrationFetchParams(data []byte) (MicrosoftteamsIntegrationFetchParams, error) { - var r MicrosoftteamsIntegrationFetchParams +func UnmarshalIntegrationSlackUpdateResponse(data []byte) (IntegrationSlackUpdateResponse, error) { + var r IntegrationSlackUpdateResponse err := json.Unmarshal(data, &r) return r, err } -func (r *MicrosoftteamsIntegrationFetchParams) Marshal() ([]byte, error) { +func (r *IntegrationSlackUpdateResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalMicrosoftteamsIntegrationFetchResponse(data []byte) (MicrosoftteamsIntegrationFetchResponse, error) { - var r MicrosoftteamsIntegrationFetchResponse +func UnmarshalIntegrationSlackSetupParams(data []byte) (IntegrationSlackSetupParams, error) { + var r IntegrationSlackSetupParams err := json.Unmarshal(data, &r) return r, err } -func (r *MicrosoftteamsIntegrationFetchResponse) Marshal() ([]byte, error) { +func (r *IntegrationSlackSetupParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalMicrosoftteamsIntegrationSetupParams(data []byte) (MicrosoftteamsIntegrationSetupParams, error) { - var r MicrosoftteamsIntegrationSetupParams +type IntegrationSlackSetupRequest map[string]interface{} + +func UnmarshalIntegrationSlackSetupRequest(data []byte) (IntegrationSlackSetupRequest, error) { + var r IntegrationSlackSetupRequest err := json.Unmarshal(data, &r) return r, err } -func (r *MicrosoftteamsIntegrationSetupParams) Marshal() ([]byte, error) { +func (r *IntegrationSlackSetupRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -type MicrosoftteamsIntegrationSetupRequest map[string]interface{} - -func UnmarshalMicrosoftteamsIntegrationSetupRequest(data []byte) (MicrosoftteamsIntegrationSetupRequest, error) { - var r MicrosoftteamsIntegrationSetupRequest +func UnmarshalIntegrationSlackSetupResponse(data []byte) (IntegrationSlackSetupResponse, error) { + var r IntegrationSlackSetupResponse err := json.Unmarshal(data, &r) return r, err } -func (r *MicrosoftteamsIntegrationSetupRequest) Marshal() ([]byte, error) { +func (r *IntegrationSlackSetupResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalMicrosoftteamsIntegrationSetupResponse(data []byte) (MicrosoftteamsIntegrationSetupResponse, error) { - var r MicrosoftteamsIntegrationSetupResponse +func UnmarshalIntegrationSlackFetchParams(data []byte) (IntegrationSlackFetchParams, error) { + var r IntegrationSlackFetchParams err := json.Unmarshal(data, &r) return r, err } -func (r *MicrosoftteamsIntegrationSetupResponse) Marshal() ([]byte, error) { +func (r *IntegrationSlackFetchParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalMicrosoftteamsIntegrationUpdateParams(data []byte) (MicrosoftteamsIntegrationUpdateParams, error) { - var r MicrosoftteamsIntegrationUpdateParams +func UnmarshalIntegrationSlackFetchResponse(data []byte) (IntegrationSlackFetchResponse, error) { + var r IntegrationSlackFetchResponse err := json.Unmarshal(data, &r) return r, err } -func (r *MicrosoftteamsIntegrationUpdateParams) Marshal() ([]byte, error) { +func (r *IntegrationSlackFetchResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalMicrosoftteamsIntegrationUpdateRequest(data []byte) (MicrosoftteamsIntegrationUpdateRequest, error) { - var r MicrosoftteamsIntegrationUpdateRequest +func UnmarshalIntegrationSlackDeleteParams(data []byte) (IntegrationSlackDeleteParams, error) { + var r IntegrationSlackDeleteParams err := json.Unmarshal(data, &r) return r, err } -func (r *MicrosoftteamsIntegrationUpdateRequest) Marshal() ([]byte, error) { +func (r *IntegrationSlackDeleteParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalMicrosoftteamsIntegrationUpdateResponse(data []byte) (MicrosoftteamsIntegrationUpdateResponse, error) { - var r MicrosoftteamsIntegrationUpdateResponse +type IntegrationSlackDeleteRequest map[string]interface{} + +func UnmarshalIntegrationSlackDeleteRequest(data []byte) (IntegrationSlackDeleteRequest, error) { + var r IntegrationSlackDeleteRequest err := json.Unmarshal(data, &r) return r, err } -func (r *MicrosoftteamsIntegrationUpdateResponse) Marshal() ([]byte, error) { +func (r *IntegrationSlackDeleteRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalMicrosoftteamsIntegrationCreateRequest(data []byte) (MicrosoftteamsIntegrationCreateRequest, error) { - var r MicrosoftteamsIntegrationCreateRequest +func UnmarshalIntegrationSlackDeleteResponse(data []byte) (IntegrationSlackDeleteResponse, error) { + var r IntegrationSlackDeleteResponse err := json.Unmarshal(data, &r) return r, err } -func (r *MicrosoftteamsIntegrationCreateRequest) Marshal() ([]byte, error) { +func (r *IntegrationSlackDeleteResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalMicrosoftteamsIntegrationCreateResponse(data []byte) (MicrosoftteamsIntegrationCreateResponse, error) { - var r MicrosoftteamsIntegrationCreateResponse +func UnmarshalSkillServerIntegrationListParams(data []byte) (SkillServerIntegrationListParams, error) { + var r SkillServerIntegrationListParams err := json.Unmarshal(data, &r) return r, err } -func (r *MicrosoftteamsIntegrationCreateResponse) Marshal() ([]byte, error) { +func (r *SkillServerIntegrationListParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalMicrosoftteamsIntegrationListParams(data []byte) (MicrosoftteamsIntegrationListParams, error) { - var r MicrosoftteamsIntegrationListParams +func UnmarshalSkillServerIntegrationListResponse(data []byte) (SkillServerIntegrationListResponse, error) { + var r SkillServerIntegrationListResponse err := json.Unmarshal(data, &r) return r, err } -func (r *MicrosoftteamsIntegrationListParams) Marshal() ([]byte, error) { +func (r *SkillServerIntegrationListResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalMicrosoftteamsIntegrationListResponse(data []byte) (MicrosoftteamsIntegrationListResponse, error) { - var r MicrosoftteamsIntegrationListResponse +func UnmarshalSkillServerIntegrationListStreamItem(data []byte) (SkillServerIntegrationListStreamItem, error) { + var r SkillServerIntegrationListStreamItem err := json.Unmarshal(data, &r) return r, err } -func (r *MicrosoftteamsIntegrationListResponse) Marshal() ([]byte, error) { +func (r *SkillServerIntegrationListStreamItem) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalMicrosoftteamsIntegrationListStreamItem(data []byte) (MicrosoftteamsIntegrationListStreamItem, error) { - var r MicrosoftteamsIntegrationListStreamItem +func UnmarshalSkillServerIntegrationCreateRequest(data []byte) (SkillServerIntegrationCreateRequest, error) { + var r SkillServerIntegrationCreateRequest err := json.Unmarshal(data, &r) return r, err } -func (r *MicrosoftteamsIntegrationListStreamItem) Marshal() ([]byte, error) { +func (r *SkillServerIntegrationCreateRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationNotionDeleteParams(data []byte) (IntegrationNotionDeleteParams, error) { - var r IntegrationNotionDeleteParams +func UnmarshalSkillServerIntegrationCreateResponse(data []byte) (SkillServerIntegrationCreateResponse, error) { + var r SkillServerIntegrationCreateResponse err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationNotionDeleteParams) Marshal() ([]byte, error) { +func (r *SkillServerIntegrationCreateResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -type IntegrationNotionDeleteRequest map[string]interface{} - -func UnmarshalIntegrationNotionDeleteRequest(data []byte) (IntegrationNotionDeleteRequest, error) { - var r IntegrationNotionDeleteRequest +func UnmarshalSkillServerIntegrationUpdateParams(data []byte) (SkillServerIntegrationUpdateParams, error) { + var r SkillServerIntegrationUpdateParams err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationNotionDeleteRequest) Marshal() ([]byte, error) { +func (r *SkillServerIntegrationUpdateParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationNotionDeleteResponse(data []byte) (IntegrationNotionDeleteResponse, error) { - var r IntegrationNotionDeleteResponse +func UnmarshalSkillServerIntegrationUpdateRequest(data []byte) (SkillServerIntegrationUpdateRequest, error) { + var r SkillServerIntegrationUpdateRequest err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationNotionDeleteResponse) Marshal() ([]byte, error) { +func (r *SkillServerIntegrationUpdateRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationNotionFetchParams(data []byte) (IntegrationNotionFetchParams, error) { - var r IntegrationNotionFetchParams +func UnmarshalSkillServerIntegrationUpdateResponse(data []byte) (SkillServerIntegrationUpdateResponse, error) { + var r SkillServerIntegrationUpdateResponse err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationNotionFetchParams) Marshal() ([]byte, error) { +func (r *SkillServerIntegrationUpdateResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationNotionFetchResponse(data []byte) (IntegrationNotionFetchResponse, error) { - var r IntegrationNotionFetchResponse +func UnmarshalSkillServerManualFetchParams(data []byte) (SkillServerManualFetchParams, error) { + var r SkillServerManualFetchParams err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationNotionFetchResponse) Marshal() ([]byte, error) { +func (r *SkillServerManualFetchParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationNotionSyncParams(data []byte) (IntegrationNotionSyncParams, error) { - var r IntegrationNotionSyncParams +func UnmarshalSkillServerAbilityInvokeParams(data []byte) (SkillServerAbilityInvokeParams, error) { + var r SkillServerAbilityInvokeParams err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationNotionSyncParams) Marshal() ([]byte, error) { +func (r *SkillServerAbilityInvokeParams) Marshal() ([]byte, error) { return json.Marshal(r) } -type IntegrationNotionSyncRequest map[string]interface{} - -func UnmarshalIntegrationNotionSyncRequest(data []byte) (IntegrationNotionSyncRequest, error) { - var r IntegrationNotionSyncRequest +func UnmarshalSkillServerAbilityInvokeRequest(data []byte) (SkillServerAbilityInvokeRequest, error) { + var r SkillServerAbilityInvokeRequest err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationNotionSyncRequest) Marshal() ([]byte, error) { +func (r *SkillServerAbilityInvokeRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationNotionSyncResponse(data []byte) (IntegrationNotionSyncResponse, error) { - var r IntegrationNotionSyncResponse +func UnmarshalSkillServerAbilityInvokeResponse(data []byte) (SkillServerAbilityInvokeResponse, error) { + var r SkillServerAbilityInvokeResponse err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationNotionSyncResponse) Marshal() ([]byte, error) { +func (r *SkillServerAbilityInvokeResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationNotionUpdateParams(data []byte) (IntegrationNotionUpdateParams, error) { - var r IntegrationNotionUpdateParams +func UnmarshalSkillServerIntegrationFetchParams(data []byte) (SkillServerIntegrationFetchParams, error) { + var r SkillServerIntegrationFetchParams err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationNotionUpdateParams) Marshal() ([]byte, error) { +func (r *SkillServerIntegrationFetchParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationNotionUpdateRequest(data []byte) (IntegrationNotionUpdateRequest, error) { - var r IntegrationNotionUpdateRequest +func UnmarshalSkillServerIntegrationFetchResponse(data []byte) (SkillServerIntegrationFetchResponse, error) { + var r SkillServerIntegrationFetchResponse err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationNotionUpdateRequest) Marshal() ([]byte, error) { +func (r *SkillServerIntegrationFetchResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationNotionUpdateResponse(data []byte) (IntegrationNotionUpdateResponse, error) { - var r IntegrationNotionUpdateResponse +func UnmarshalSkillServerIntegrationDeleteParams(data []byte) (SkillServerIntegrationDeleteParams, error) { + var r SkillServerIntegrationDeleteParams err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationNotionUpdateResponse) Marshal() ([]byte, error) { +func (r *SkillServerIntegrationDeleteParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationNotionCreateRequest(data []byte) (IntegrationNotionCreateRequest, error) { - var r IntegrationNotionCreateRequest +type SkillServerIntegrationDeleteRequest map[string]interface{} + +func UnmarshalSkillServerIntegrationDeleteRequest(data []byte) (SkillServerIntegrationDeleteRequest, error) { + var r SkillServerIntegrationDeleteRequest err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationNotionCreateRequest) Marshal() ([]byte, error) { +func (r *SkillServerIntegrationDeleteRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationNotionCreateResponse(data []byte) (IntegrationNotionCreateResponse, error) { - var r IntegrationNotionCreateResponse +func UnmarshalSkillServerIntegrationDeleteResponse(data []byte) (SkillServerIntegrationDeleteResponse, error) { + var r SkillServerIntegrationDeleteResponse err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationNotionCreateResponse) Marshal() ([]byte, error) { +func (r *SkillServerIntegrationDeleteResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationNotionListParams(data []byte) (IntegrationNotionListParams, error) { - var r IntegrationNotionListParams +func UnmarshalIntegrationSitemapListParams(data []byte) (IntegrationSitemapListParams, error) { + var r IntegrationSitemapListParams err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationNotionListParams) Marshal() ([]byte, error) { +func (r *IntegrationSitemapListParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationNotionListResponse(data []byte) (IntegrationNotionListResponse, error) { - var r IntegrationNotionListResponse +func UnmarshalIntegrationSitemapListResponse(data []byte) (IntegrationSitemapListResponse, error) { + var r IntegrationSitemapListResponse err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationNotionListResponse) Marshal() ([]byte, error) { +func (r *IntegrationSitemapListResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationNotionListStreamItem(data []byte) (IntegrationNotionListStreamItem, error) { - var r IntegrationNotionListStreamItem +func UnmarshalIntegrationSitemapListStreamItem(data []byte) (IntegrationSitemapListStreamItem, error) { + var r IntegrationSitemapListStreamItem err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationNotionListStreamItem) Marshal() ([]byte, error) { +func (r *IntegrationSitemapListStreamItem) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationSitemapDeleteParams(data []byte) (IntegrationSitemapDeleteParams, error) { - var r IntegrationSitemapDeleteParams +func UnmarshalIntegrationSitemapCreateRequest(data []byte) (IntegrationSitemapCreateRequest, error) { + var r IntegrationSitemapCreateRequest err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationSitemapDeleteParams) Marshal() ([]byte, error) { +func (r *IntegrationSitemapCreateRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -type IntegrationSitemapDeleteRequest map[string]interface{} - -func UnmarshalIntegrationSitemapDeleteRequest(data []byte) (IntegrationSitemapDeleteRequest, error) { - var r IntegrationSitemapDeleteRequest +func UnmarshalIntegrationSitemapCreateResponse(data []byte) (IntegrationSitemapCreateResponse, error) { + var r IntegrationSitemapCreateResponse err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationSitemapDeleteRequest) Marshal() ([]byte, error) { +func (r *IntegrationSitemapCreateResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationSitemapDeleteResponse(data []byte) (IntegrationSitemapDeleteResponse, error) { - var r IntegrationSitemapDeleteResponse +func UnmarshalIntegrationSitemapUpdateParams(data []byte) (IntegrationSitemapUpdateParams, error) { + var r IntegrationSitemapUpdateParams err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationSitemapDeleteResponse) Marshal() ([]byte, error) { +func (r *IntegrationSitemapUpdateParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationSitemapFetchParams(data []byte) (IntegrationSitemapFetchParams, error) { - var r IntegrationSitemapFetchParams +func UnmarshalIntegrationSitemapUpdateRequest(data []byte) (IntegrationSitemapUpdateRequest, error) { + var r IntegrationSitemapUpdateRequest err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationSitemapFetchParams) Marshal() ([]byte, error) { +func (r *IntegrationSitemapUpdateRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationSitemapFetchResponse(data []byte) (IntegrationSitemapFetchResponse, error) { - var r IntegrationSitemapFetchResponse +func UnmarshalIntegrationSitemapUpdateResponse(data []byte) (IntegrationSitemapUpdateResponse, error) { + var r IntegrationSitemapUpdateResponse err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationSitemapFetchResponse) Marshal() ([]byte, error) { +func (r *IntegrationSitemapUpdateResponse) Marshal() ([]byte, error) { return json.Marshal(r) } @@ -7706,4433 +7358,4449 @@ func (r *IntegrationSitemapSyncResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationSitemapUpdateParams(data []byte) (IntegrationSitemapUpdateParams, error) { - var r IntegrationSitemapUpdateParams +func UnmarshalIntegrationSitemapFetchParams(data []byte) (IntegrationSitemapFetchParams, error) { + var r IntegrationSitemapFetchParams err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationSitemapUpdateParams) Marshal() ([]byte, error) { +func (r *IntegrationSitemapFetchParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationSitemapUpdateRequest(data []byte) (IntegrationSitemapUpdateRequest, error) { - var r IntegrationSitemapUpdateRequest +func UnmarshalIntegrationSitemapFetchResponse(data []byte) (IntegrationSitemapFetchResponse, error) { + var r IntegrationSitemapFetchResponse err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationSitemapUpdateRequest) Marshal() ([]byte, error) { +func (r *IntegrationSitemapFetchResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationSitemapUpdateResponse(data []byte) (IntegrationSitemapUpdateResponse, error) { - var r IntegrationSitemapUpdateResponse +func UnmarshalIntegrationSitemapDeleteParams(data []byte) (IntegrationSitemapDeleteParams, error) { + var r IntegrationSitemapDeleteParams err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationSitemapUpdateResponse) Marshal() ([]byte, error) { +func (r *IntegrationSitemapDeleteParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationSitemapCreateRequest(data []byte) (IntegrationSitemapCreateRequest, error) { - var r IntegrationSitemapCreateRequest +type IntegrationSitemapDeleteRequest map[string]interface{} + +func UnmarshalIntegrationSitemapDeleteRequest(data []byte) (IntegrationSitemapDeleteRequest, error) { + var r IntegrationSitemapDeleteRequest err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationSitemapCreateRequest) Marshal() ([]byte, error) { +func (r *IntegrationSitemapDeleteRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationSitemapCreateResponse(data []byte) (IntegrationSitemapCreateResponse, error) { - var r IntegrationSitemapCreateResponse +func UnmarshalIntegrationSitemapDeleteResponse(data []byte) (IntegrationSitemapDeleteResponse, error) { + var r IntegrationSitemapDeleteResponse err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationSitemapCreateResponse) Marshal() ([]byte, error) { +func (r *IntegrationSitemapDeleteResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationSitemapListParams(data []byte) (IntegrationSitemapListParams, error) { - var r IntegrationSitemapListParams +func UnmarshalIntegrationNotionListParams(data []byte) (IntegrationNotionListParams, error) { + var r IntegrationNotionListParams err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationSitemapListParams) Marshal() ([]byte, error) { +func (r *IntegrationNotionListParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationSitemapListResponse(data []byte) (IntegrationSitemapListResponse, error) { - var r IntegrationSitemapListResponse +func UnmarshalIntegrationNotionListResponse(data []byte) (IntegrationNotionListResponse, error) { + var r IntegrationNotionListResponse err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationSitemapListResponse) Marshal() ([]byte, error) { +func (r *IntegrationNotionListResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationSitemapListStreamItem(data []byte) (IntegrationSitemapListStreamItem, error) { - var r IntegrationSitemapListStreamItem +func UnmarshalIntegrationNotionListStreamItem(data []byte) (IntegrationNotionListStreamItem, error) { + var r IntegrationNotionListStreamItem err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationSitemapListStreamItem) Marshal() ([]byte, error) { +func (r *IntegrationNotionListStreamItem) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalSkillServerIntegrationDeleteParams(data []byte) (SkillServerIntegrationDeleteParams, error) { - var r SkillServerIntegrationDeleteParams +func UnmarshalIntegrationNotionCreateRequest(data []byte) (IntegrationNotionCreateRequest, error) { + var r IntegrationNotionCreateRequest err := json.Unmarshal(data, &r) return r, err } -func (r *SkillServerIntegrationDeleteParams) Marshal() ([]byte, error) { +func (r *IntegrationNotionCreateRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -type SkillServerIntegrationDeleteRequest map[string]interface{} - -func UnmarshalSkillServerIntegrationDeleteRequest(data []byte) (SkillServerIntegrationDeleteRequest, error) { - var r SkillServerIntegrationDeleteRequest +func UnmarshalIntegrationNotionCreateResponse(data []byte) (IntegrationNotionCreateResponse, error) { + var r IntegrationNotionCreateResponse err := json.Unmarshal(data, &r) return r, err } -func (r *SkillServerIntegrationDeleteRequest) Marshal() ([]byte, error) { +func (r *IntegrationNotionCreateResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalSkillServerIntegrationDeleteResponse(data []byte) (SkillServerIntegrationDeleteResponse, error) { - var r SkillServerIntegrationDeleteResponse +func UnmarshalIntegrationNotionUpdateParams(data []byte) (IntegrationNotionUpdateParams, error) { + var r IntegrationNotionUpdateParams err := json.Unmarshal(data, &r) return r, err } -func (r *SkillServerIntegrationDeleteResponse) Marshal() ([]byte, error) { +func (r *IntegrationNotionUpdateParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalSkillServerIntegrationFetchParams(data []byte) (SkillServerIntegrationFetchParams, error) { - var r SkillServerIntegrationFetchParams +func UnmarshalIntegrationNotionUpdateRequest(data []byte) (IntegrationNotionUpdateRequest, error) { + var r IntegrationNotionUpdateRequest err := json.Unmarshal(data, &r) return r, err } -func (r *SkillServerIntegrationFetchParams) Marshal() ([]byte, error) { +func (r *IntegrationNotionUpdateRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalSkillServerIntegrationFetchResponse(data []byte) (SkillServerIntegrationFetchResponse, error) { - var r SkillServerIntegrationFetchResponse +func UnmarshalIntegrationNotionUpdateResponse(data []byte) (IntegrationNotionUpdateResponse, error) { + var r IntegrationNotionUpdateResponse err := json.Unmarshal(data, &r) return r, err } -func (r *SkillServerIntegrationFetchResponse) Marshal() ([]byte, error) { +func (r *IntegrationNotionUpdateResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalSkillServerManualFetchParams(data []byte) (SkillServerManualFetchParams, error) { - var r SkillServerManualFetchParams +func UnmarshalIntegrationNotionSyncParams(data []byte) (IntegrationNotionSyncParams, error) { + var r IntegrationNotionSyncParams err := json.Unmarshal(data, &r) return r, err } -func (r *SkillServerManualFetchParams) Marshal() ([]byte, error) { +func (r *IntegrationNotionSyncParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalSkillServerAbilityInvokeParams(data []byte) (SkillServerAbilityInvokeParams, error) { - var r SkillServerAbilityInvokeParams +type IntegrationNotionSyncRequest map[string]interface{} + +func UnmarshalIntegrationNotionSyncRequest(data []byte) (IntegrationNotionSyncRequest, error) { + var r IntegrationNotionSyncRequest err := json.Unmarshal(data, &r) return r, err } -func (r *SkillServerAbilityInvokeParams) Marshal() ([]byte, error) { +func (r *IntegrationNotionSyncRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalSkillServerAbilityInvokeRequest(data []byte) (SkillServerAbilityInvokeRequest, error) { - var r SkillServerAbilityInvokeRequest +func UnmarshalIntegrationNotionSyncResponse(data []byte) (IntegrationNotionSyncResponse, error) { + var r IntegrationNotionSyncResponse err := json.Unmarshal(data, &r) return r, err } -func (r *SkillServerAbilityInvokeRequest) Marshal() ([]byte, error) { +func (r *IntegrationNotionSyncResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalSkillServerAbilityInvokeResponse(data []byte) (SkillServerAbilityInvokeResponse, error) { - var r SkillServerAbilityInvokeResponse +func UnmarshalIntegrationNotionFetchParams(data []byte) (IntegrationNotionFetchParams, error) { + var r IntegrationNotionFetchParams err := json.Unmarshal(data, &r) return r, err } -func (r *SkillServerAbilityInvokeResponse) Marshal() ([]byte, error) { +func (r *IntegrationNotionFetchParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalSkillServerIntegrationUpdateParams(data []byte) (SkillServerIntegrationUpdateParams, error) { - var r SkillServerIntegrationUpdateParams +func UnmarshalIntegrationNotionFetchResponse(data []byte) (IntegrationNotionFetchResponse, error) { + var r IntegrationNotionFetchResponse err := json.Unmarshal(data, &r) return r, err } -func (r *SkillServerIntegrationUpdateParams) Marshal() ([]byte, error) { +func (r *IntegrationNotionFetchResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalSkillServerIntegrationUpdateRequest(data []byte) (SkillServerIntegrationUpdateRequest, error) { - var r SkillServerIntegrationUpdateRequest +func UnmarshalIntegrationNotionDeleteParams(data []byte) (IntegrationNotionDeleteParams, error) { + var r IntegrationNotionDeleteParams err := json.Unmarshal(data, &r) return r, err } -func (r *SkillServerIntegrationUpdateRequest) Marshal() ([]byte, error) { +func (r *IntegrationNotionDeleteParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalSkillServerIntegrationUpdateResponse(data []byte) (SkillServerIntegrationUpdateResponse, error) { - var r SkillServerIntegrationUpdateResponse +type IntegrationNotionDeleteRequest map[string]interface{} + +func UnmarshalIntegrationNotionDeleteRequest(data []byte) (IntegrationNotionDeleteRequest, error) { + var r IntegrationNotionDeleteRequest err := json.Unmarshal(data, &r) return r, err } -func (r *SkillServerIntegrationUpdateResponse) Marshal() ([]byte, error) { +func (r *IntegrationNotionDeleteRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalSkillServerIntegrationCreateRequest(data []byte) (SkillServerIntegrationCreateRequest, error) { - var r SkillServerIntegrationCreateRequest +func UnmarshalIntegrationNotionDeleteResponse(data []byte) (IntegrationNotionDeleteResponse, error) { + var r IntegrationNotionDeleteResponse err := json.Unmarshal(data, &r) return r, err } -func (r *SkillServerIntegrationCreateRequest) Marshal() ([]byte, error) { +func (r *IntegrationNotionDeleteResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalSkillServerIntegrationCreateResponse(data []byte) (SkillServerIntegrationCreateResponse, error) { - var r SkillServerIntegrationCreateResponse +func UnmarshalMicrosoftteamsIntegrationListParams(data []byte) (MicrosoftteamsIntegrationListParams, error) { + var r MicrosoftteamsIntegrationListParams err := json.Unmarshal(data, &r) return r, err } -func (r *SkillServerIntegrationCreateResponse) Marshal() ([]byte, error) { +func (r *MicrosoftteamsIntegrationListParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalSkillServerIntegrationListParams(data []byte) (SkillServerIntegrationListParams, error) { - var r SkillServerIntegrationListParams +func UnmarshalMicrosoftteamsIntegrationListResponse(data []byte) (MicrosoftteamsIntegrationListResponse, error) { + var r MicrosoftteamsIntegrationListResponse err := json.Unmarshal(data, &r) return r, err } -func (r *SkillServerIntegrationListParams) Marshal() ([]byte, error) { +func (r *MicrosoftteamsIntegrationListResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalSkillServerIntegrationListResponse(data []byte) (SkillServerIntegrationListResponse, error) { - var r SkillServerIntegrationListResponse +func UnmarshalMicrosoftteamsIntegrationListStreamItem(data []byte) (MicrosoftteamsIntegrationListStreamItem, error) { + var r MicrosoftteamsIntegrationListStreamItem err := json.Unmarshal(data, &r) return r, err } -func (r *SkillServerIntegrationListResponse) Marshal() ([]byte, error) { +func (r *MicrosoftteamsIntegrationListStreamItem) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalSkillServerIntegrationListStreamItem(data []byte) (SkillServerIntegrationListStreamItem, error) { - var r SkillServerIntegrationListStreamItem +func UnmarshalMicrosoftteamsIntegrationCreateRequest(data []byte) (MicrosoftteamsIntegrationCreateRequest, error) { + var r MicrosoftteamsIntegrationCreateRequest err := json.Unmarshal(data, &r) return r, err } -func (r *SkillServerIntegrationListStreamItem) Marshal() ([]byte, error) { +func (r *MicrosoftteamsIntegrationCreateRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationSlackDeleteParams(data []byte) (IntegrationSlackDeleteParams, error) { - var r IntegrationSlackDeleteParams +func UnmarshalMicrosoftteamsIntegrationCreateResponse(data []byte) (MicrosoftteamsIntegrationCreateResponse, error) { + var r MicrosoftteamsIntegrationCreateResponse err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationSlackDeleteParams) Marshal() ([]byte, error) { +func (r *MicrosoftteamsIntegrationCreateResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -type IntegrationSlackDeleteRequest map[string]interface{} +func UnmarshalMicrosoftteamsIntegrationUpdateParams(data []byte) (MicrosoftteamsIntegrationUpdateParams, error) { + var r MicrosoftteamsIntegrationUpdateParams + err := json.Unmarshal(data, &r) + return r, err +} -func UnmarshalIntegrationSlackDeleteRequest(data []byte) (IntegrationSlackDeleteRequest, error) { - var r IntegrationSlackDeleteRequest +func (r *MicrosoftteamsIntegrationUpdateParams) Marshal() ([]byte, error) { + return json.Marshal(r) +} + +func UnmarshalMicrosoftteamsIntegrationUpdateRequest(data []byte) (MicrosoftteamsIntegrationUpdateRequest, error) { + var r MicrosoftteamsIntegrationUpdateRequest err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationSlackDeleteRequest) Marshal() ([]byte, error) { +func (r *MicrosoftteamsIntegrationUpdateRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationSlackDeleteResponse(data []byte) (IntegrationSlackDeleteResponse, error) { - var r IntegrationSlackDeleteResponse +func UnmarshalMicrosoftteamsIntegrationUpdateResponse(data []byte) (MicrosoftteamsIntegrationUpdateResponse, error) { + var r MicrosoftteamsIntegrationUpdateResponse err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationSlackDeleteResponse) Marshal() ([]byte, error) { +func (r *MicrosoftteamsIntegrationUpdateResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationSlackFetchParams(data []byte) (IntegrationSlackFetchParams, error) { - var r IntegrationSlackFetchParams +func UnmarshalMicrosoftteamsIntegrationSetupParams(data []byte) (MicrosoftteamsIntegrationSetupParams, error) { + var r MicrosoftteamsIntegrationSetupParams err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationSlackFetchParams) Marshal() ([]byte, error) { +func (r *MicrosoftteamsIntegrationSetupParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationSlackFetchResponse(data []byte) (IntegrationSlackFetchResponse, error) { - var r IntegrationSlackFetchResponse +type MicrosoftteamsIntegrationSetupRequest map[string]interface{} + +func UnmarshalMicrosoftteamsIntegrationSetupRequest(data []byte) (MicrosoftteamsIntegrationSetupRequest, error) { + var r MicrosoftteamsIntegrationSetupRequest err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationSlackFetchResponse) Marshal() ([]byte, error) { +func (r *MicrosoftteamsIntegrationSetupRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationSlackSetupParams(data []byte) (IntegrationSlackSetupParams, error) { - var r IntegrationSlackSetupParams +func UnmarshalMicrosoftteamsIntegrationSetupResponse(data []byte) (MicrosoftteamsIntegrationSetupResponse, error) { + var r MicrosoftteamsIntegrationSetupResponse err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationSlackSetupParams) Marshal() ([]byte, error) { +func (r *MicrosoftteamsIntegrationSetupResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -type IntegrationSlackSetupRequest map[string]interface{} - -func UnmarshalIntegrationSlackSetupRequest(data []byte) (IntegrationSlackSetupRequest, error) { - var r IntegrationSlackSetupRequest +func UnmarshalMicrosoftteamsIntegrationFetchParams(data []byte) (MicrosoftteamsIntegrationFetchParams, error) { + var r MicrosoftteamsIntegrationFetchParams err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationSlackSetupRequest) Marshal() ([]byte, error) { +func (r *MicrosoftteamsIntegrationFetchParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationSlackSetupResponse(data []byte) (IntegrationSlackSetupResponse, error) { - var r IntegrationSlackSetupResponse +func UnmarshalMicrosoftteamsIntegrationFetchResponse(data []byte) (MicrosoftteamsIntegrationFetchResponse, error) { + var r MicrosoftteamsIntegrationFetchResponse err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationSlackSetupResponse) Marshal() ([]byte, error) { +func (r *MicrosoftteamsIntegrationFetchResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationSlackUpdateParams(data []byte) (IntegrationSlackUpdateParams, error) { - var r IntegrationSlackUpdateParams +func UnmarshalMicrosoftteamsIntegrationDeleteParams(data []byte) (MicrosoftteamsIntegrationDeleteParams, error) { + var r MicrosoftteamsIntegrationDeleteParams err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationSlackUpdateParams) Marshal() ([]byte, error) { +func (r *MicrosoftteamsIntegrationDeleteParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationSlackUpdateRequest(data []byte) (IntegrationSlackUpdateRequest, error) { - var r IntegrationSlackUpdateRequest +type MicrosoftteamsIntegrationDeleteRequest map[string]interface{} + +func UnmarshalMicrosoftteamsIntegrationDeleteRequest(data []byte) (MicrosoftteamsIntegrationDeleteRequest, error) { + var r MicrosoftteamsIntegrationDeleteRequest err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationSlackUpdateRequest) Marshal() ([]byte, error) { +func (r *MicrosoftteamsIntegrationDeleteRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationSlackUpdateResponse(data []byte) (IntegrationSlackUpdateResponse, error) { - var r IntegrationSlackUpdateResponse +func UnmarshalMicrosoftteamsIntegrationDeleteResponse(data []byte) (MicrosoftteamsIntegrationDeleteResponse, error) { + var r MicrosoftteamsIntegrationDeleteResponse err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationSlackUpdateResponse) Marshal() ([]byte, error) { +func (r *MicrosoftteamsIntegrationDeleteResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationSlackCreateRequest(data []byte) (IntegrationSlackCreateRequest, error) { - var r IntegrationSlackCreateRequest +func UnmarshalIntegrationMessengerListParams(data []byte) (IntegrationMessengerListParams, error) { + var r IntegrationMessengerListParams err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationSlackCreateRequest) Marshal() ([]byte, error) { +func (r *IntegrationMessengerListParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationSlackCreateResponse(data []byte) (IntegrationSlackCreateResponse, error) { - var r IntegrationSlackCreateResponse +func UnmarshalIntegrationMessengerListResponse(data []byte) (IntegrationMessengerListResponse, error) { + var r IntegrationMessengerListResponse err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationSlackCreateResponse) Marshal() ([]byte, error) { +func (r *IntegrationMessengerListResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationSlackListParams(data []byte) (IntegrationSlackListParams, error) { - var r IntegrationSlackListParams +func UnmarshalIntegrationMessengerListStreamItem(data []byte) (IntegrationMessengerListStreamItem, error) { + var r IntegrationMessengerListStreamItem err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationSlackListParams) Marshal() ([]byte, error) { +func (r *IntegrationMessengerListStreamItem) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationSlackListResponse(data []byte) (IntegrationSlackListResponse, error) { - var r IntegrationSlackListResponse +func UnmarshalIntegrationMessengerCreateRequest(data []byte) (IntegrationMessengerCreateRequest, error) { + var r IntegrationMessengerCreateRequest err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationSlackListResponse) Marshal() ([]byte, error) { +func (r *IntegrationMessengerCreateRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationSlackListStreamItem(data []byte) (IntegrationSlackListStreamItem, error) { - var r IntegrationSlackListStreamItem +func UnmarshalIntegrationMessengerCreateResponse(data []byte) (IntegrationMessengerCreateResponse, error) { + var r IntegrationMessengerCreateResponse err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationSlackListStreamItem) Marshal() ([]byte, error) { +func (r *IntegrationMessengerCreateResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationSupportDeleteParams(data []byte) (IntegrationSupportDeleteParams, error) { - var r IntegrationSupportDeleteParams +func UnmarshalIntegrationMessengerUpdateParams(data []byte) (IntegrationMessengerUpdateParams, error) { + var r IntegrationMessengerUpdateParams err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationSupportDeleteParams) Marshal() ([]byte, error) { +func (r *IntegrationMessengerUpdateParams) Marshal() ([]byte, error) { return json.Marshal(r) } -type IntegrationSupportDeleteRequest map[string]interface{} - -func UnmarshalIntegrationSupportDeleteRequest(data []byte) (IntegrationSupportDeleteRequest, error) { - var r IntegrationSupportDeleteRequest +func UnmarshalIntegrationMessengerUpdateRequest(data []byte) (IntegrationMessengerUpdateRequest, error) { + var r IntegrationMessengerUpdateRequest err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationSupportDeleteRequest) Marshal() ([]byte, error) { +func (r *IntegrationMessengerUpdateRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationSupportDeleteResponse(data []byte) (IntegrationSupportDeleteResponse, error) { - var r IntegrationSupportDeleteResponse +func UnmarshalIntegrationMessengerUpdateResponse(data []byte) (IntegrationMessengerUpdateResponse, error) { + var r IntegrationMessengerUpdateResponse err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationSupportDeleteResponse) Marshal() ([]byte, error) { +func (r *IntegrationMessengerUpdateResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationSupportFetchParams(data []byte) (IntegrationSupportFetchParams, error) { - var r IntegrationSupportFetchParams +func UnmarshalIntegrationMessengerSetupParams(data []byte) (IntegrationMessengerSetupParams, error) { + var r IntegrationMessengerSetupParams err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationSupportFetchParams) Marshal() ([]byte, error) { +func (r *IntegrationMessengerSetupParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationSupportFetchResponse(data []byte) (IntegrationSupportFetchResponse, error) { - var r IntegrationSupportFetchResponse +type IntegrationMessengerSetupRequest map[string]interface{} + +func UnmarshalIntegrationMessengerSetupRequest(data []byte) (IntegrationMessengerSetupRequest, error) { + var r IntegrationMessengerSetupRequest err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationSupportFetchResponse) Marshal() ([]byte, error) { +func (r *IntegrationMessengerSetupRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationSupportTriggerParams(data []byte) (IntegrationSupportTriggerParams, error) { - var r IntegrationSupportTriggerParams +func UnmarshalIntegrationMessengerSetupResponse(data []byte) (IntegrationMessengerSetupResponse, error) { + var r IntegrationMessengerSetupResponse err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationSupportTriggerParams) Marshal() ([]byte, error) { +func (r *IntegrationMessengerSetupResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationSupportTriggerRequest(data []byte) (IntegrationSupportTriggerRequest, error) { - var r IntegrationSupportTriggerRequest +func UnmarshalIntegrationMessengerFetchParams(data []byte) (IntegrationMessengerFetchParams, error) { + var r IntegrationMessengerFetchParams err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationSupportTriggerRequest) Marshal() ([]byte, error) { +func (r *IntegrationMessengerFetchParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationSupportTriggerResponse(data []byte) (IntegrationSupportTriggerResponse, error) { - var r IntegrationSupportTriggerResponse +func UnmarshalIntegrationMessengerFetchResponse(data []byte) (IntegrationMessengerFetchResponse, error) { + var r IntegrationMessengerFetchResponse err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationSupportTriggerResponse) Marshal() ([]byte, error) { +func (r *IntegrationMessengerFetchResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationSupportUpdateParams(data []byte) (IntegrationSupportUpdateParams, error) { - var r IntegrationSupportUpdateParams +func UnmarshalIntegrationMessengerDeleteParams(data []byte) (IntegrationMessengerDeleteParams, error) { + var r IntegrationMessengerDeleteParams err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationSupportUpdateParams) Marshal() ([]byte, error) { +func (r *IntegrationMessengerDeleteParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationSupportUpdateRequest(data []byte) (IntegrationSupportUpdateRequest, error) { - var r IntegrationSupportUpdateRequest +type IntegrationMessengerDeleteRequest map[string]interface{} + +func UnmarshalIntegrationMessengerDeleteRequest(data []byte) (IntegrationMessengerDeleteRequest, error) { + var r IntegrationMessengerDeleteRequest err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationSupportUpdateRequest) Marshal() ([]byte, error) { +func (r *IntegrationMessengerDeleteRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationSupportUpdateResponse(data []byte) (IntegrationSupportUpdateResponse, error) { - var r IntegrationSupportUpdateResponse +func UnmarshalIntegrationMessengerDeleteResponse(data []byte) (IntegrationMessengerDeleteResponse, error) { + var r IntegrationMessengerDeleteResponse err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationSupportUpdateResponse) Marshal() ([]byte, error) { +func (r *IntegrationMessengerDeleteResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationSupportCreateRequest(data []byte) (IntegrationSupportCreateRequest, error) { - var r IntegrationSupportCreateRequest +func UnmarshalIntegrationMCPServerListParams(data []byte) (IntegrationMCPServerListParams, error) { + var r IntegrationMCPServerListParams err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationSupportCreateRequest) Marshal() ([]byte, error) { +func (r *IntegrationMCPServerListParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationSupportCreateResponse(data []byte) (IntegrationSupportCreateResponse, error) { - var r IntegrationSupportCreateResponse +func UnmarshalIntegrationMCPServerListResponse(data []byte) (IntegrationMCPServerListResponse, error) { + var r IntegrationMCPServerListResponse err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationSupportCreateResponse) Marshal() ([]byte, error) { +func (r *IntegrationMCPServerListResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationSupportListParams(data []byte) (IntegrationSupportListParams, error) { - var r IntegrationSupportListParams +func UnmarshalIntegrationMCPServerListStreamItem(data []byte) (IntegrationMCPServerListStreamItem, error) { + var r IntegrationMCPServerListStreamItem err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationSupportListParams) Marshal() ([]byte, error) { +func (r *IntegrationMCPServerListStreamItem) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationSupportListResponse(data []byte) (IntegrationSupportListResponse, error) { - var r IntegrationSupportListResponse +func UnmarshalIntegrationMCPServerCreateRequest(data []byte) (IntegrationMCPServerCreateRequest, error) { + var r IntegrationMCPServerCreateRequest err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationSupportListResponse) Marshal() ([]byte, error) { +func (r *IntegrationMCPServerCreateRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationSupportListStreamItem(data []byte) (IntegrationSupportListStreamItem, error) { - var r IntegrationSupportListStreamItem +func UnmarshalIntegrationMCPServerCreateResponse(data []byte) (IntegrationMCPServerCreateResponse, error) { + var r IntegrationMCPServerCreateResponse err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationSupportListStreamItem) Marshal() ([]byte, error) { +func (r *IntegrationMCPServerCreateResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationTelegramDeleteParams(data []byte) (IntegrationTelegramDeleteParams, error) { - var r IntegrationTelegramDeleteParams +func UnmarshalIntegrationMCPServerUpdateParams(data []byte) (IntegrationMCPServerUpdateParams, error) { + var r IntegrationMCPServerUpdateParams err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationTelegramDeleteParams) Marshal() ([]byte, error) { +func (r *IntegrationMCPServerUpdateParams) Marshal() ([]byte, error) { return json.Marshal(r) } -type IntegrationTelegramDeleteRequest map[string]interface{} - -func UnmarshalIntegrationTelegramDeleteRequest(data []byte) (IntegrationTelegramDeleteRequest, error) { - var r IntegrationTelegramDeleteRequest +func UnmarshalIntegrationMCPServerUpdateRequest(data []byte) (IntegrationMCPServerUpdateRequest, error) { + var r IntegrationMCPServerUpdateRequest err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationTelegramDeleteRequest) Marshal() ([]byte, error) { +func (r *IntegrationMCPServerUpdateRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationTelegramDeleteResponse(data []byte) (IntegrationTelegramDeleteResponse, error) { - var r IntegrationTelegramDeleteResponse +func UnmarshalIntegrationMCPServerUpdateResponse(data []byte) (IntegrationMCPServerUpdateResponse, error) { + var r IntegrationMCPServerUpdateResponse err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationTelegramDeleteResponse) Marshal() ([]byte, error) { +func (r *IntegrationMCPServerUpdateResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationTelegramFetchParams(data []byte) (IntegrationTelegramFetchParams, error) { - var r IntegrationTelegramFetchParams +func UnmarshalIntegrationMCPServerFetchParams(data []byte) (IntegrationMCPServerFetchParams, error) { + var r IntegrationMCPServerFetchParams err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationTelegramFetchParams) Marshal() ([]byte, error) { +func (r *IntegrationMCPServerFetchParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationTelegramFetchResponse(data []byte) (IntegrationTelegramFetchResponse, error) { - var r IntegrationTelegramFetchResponse +func UnmarshalIntegrationMCPServerFetchResponse(data []byte) (IntegrationMCPServerFetchResponse, error) { + var r IntegrationMCPServerFetchResponse err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationTelegramFetchResponse) Marshal() ([]byte, error) { +func (r *IntegrationMCPServerFetchResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationTelegramSetupParams(data []byte) (IntegrationTelegramSetupParams, error) { - var r IntegrationTelegramSetupParams +func UnmarshalIntegrationMCPServerDeleteParams(data []byte) (IntegrationMCPServerDeleteParams, error) { + var r IntegrationMCPServerDeleteParams err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationTelegramSetupParams) Marshal() ([]byte, error) { +func (r *IntegrationMCPServerDeleteParams) Marshal() ([]byte, error) { return json.Marshal(r) } -type IntegrationTelegramSetupRequest map[string]interface{} +type IntegrationMCPServerDeleteRequest map[string]interface{} -func UnmarshalIntegrationTelegramSetupRequest(data []byte) (IntegrationTelegramSetupRequest, error) { - var r IntegrationTelegramSetupRequest +func UnmarshalIntegrationMCPServerDeleteRequest(data []byte) (IntegrationMCPServerDeleteRequest, error) { + var r IntegrationMCPServerDeleteRequest err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationTelegramSetupRequest) Marshal() ([]byte, error) { +func (r *IntegrationMCPServerDeleteRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationTelegramSetupResponse(data []byte) (IntegrationTelegramSetupResponse, error) { - var r IntegrationTelegramSetupResponse +func UnmarshalIntegrationMCPServerDeleteResponse(data []byte) (IntegrationMCPServerDeleteResponse, error) { + var r IntegrationMCPServerDeleteResponse err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationTelegramSetupResponse) Marshal() ([]byte, error) { +func (r *IntegrationMCPServerDeleteResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationTelegramUpdateParams(data []byte) (IntegrationTelegramUpdateParams, error) { - var r IntegrationTelegramUpdateParams +func UnmarshalIntegrationInstagramListParams(data []byte) (IntegrationInstagramListParams, error) { + var r IntegrationInstagramListParams err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationTelegramUpdateParams) Marshal() ([]byte, error) { +func (r *IntegrationInstagramListParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationTelegramUpdateRequest(data []byte) (IntegrationTelegramUpdateRequest, error) { - var r IntegrationTelegramUpdateRequest +func UnmarshalIntegrationInstagramListResponse(data []byte) (IntegrationInstagramListResponse, error) { + var r IntegrationInstagramListResponse err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationTelegramUpdateRequest) Marshal() ([]byte, error) { +func (r *IntegrationInstagramListResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationTelegramUpdateResponse(data []byte) (IntegrationTelegramUpdateResponse, error) { - var r IntegrationTelegramUpdateResponse +func UnmarshalIntegrationInstagramListStreamItem(data []byte) (IntegrationInstagramListStreamItem, error) { + var r IntegrationInstagramListStreamItem err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationTelegramUpdateResponse) Marshal() ([]byte, error) { +func (r *IntegrationInstagramListStreamItem) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationTelegramCreateRequest(data []byte) (IntegrationTelegramCreateRequest, error) { - var r IntegrationTelegramCreateRequest +func UnmarshalIntegrationInstagramCreateRequest(data []byte) (IntegrationInstagramCreateRequest, error) { + var r IntegrationInstagramCreateRequest err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationTelegramCreateRequest) Marshal() ([]byte, error) { +func (r *IntegrationInstagramCreateRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationTelegramCreateResponse(data []byte) (IntegrationTelegramCreateResponse, error) { - var r IntegrationTelegramCreateResponse +func UnmarshalIntegrationInstagramCreateResponse(data []byte) (IntegrationInstagramCreateResponse, error) { + var r IntegrationInstagramCreateResponse err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationTelegramCreateResponse) Marshal() ([]byte, error) { +func (r *IntegrationInstagramCreateResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationTelegramListParams(data []byte) (IntegrationTelegramListParams, error) { - var r IntegrationTelegramListParams +func UnmarshalIntegrationInstagramUpdateParams(data []byte) (IntegrationInstagramUpdateParams, error) { + var r IntegrationInstagramUpdateParams err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationTelegramListParams) Marshal() ([]byte, error) { +func (r *IntegrationInstagramUpdateParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationTelegramListResponse(data []byte) (IntegrationTelegramListResponse, error) { - var r IntegrationTelegramListResponse +func UnmarshalIntegrationInstagramUpdateRequest(data []byte) (IntegrationInstagramUpdateRequest, error) { + var r IntegrationInstagramUpdateRequest err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationTelegramListResponse) Marshal() ([]byte, error) { +func (r *IntegrationInstagramUpdateRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationTelegramListStreamItem(data []byte) (IntegrationTelegramListStreamItem, error) { - var r IntegrationTelegramListStreamItem +func UnmarshalIntegrationInstagramUpdateResponse(data []byte) (IntegrationInstagramUpdateResponse, error) { + var r IntegrationInstagramUpdateResponse err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationTelegramListStreamItem) Marshal() ([]byte, error) { +func (r *IntegrationInstagramUpdateResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalTriggerIntegrationDeleteParams(data []byte) (TriggerIntegrationDeleteParams, error) { - var r TriggerIntegrationDeleteParams +func UnmarshalIntegrationInstagramSetupParams(data []byte) (IntegrationInstagramSetupParams, error) { + var r IntegrationInstagramSetupParams err := json.Unmarshal(data, &r) return r, err } -func (r *TriggerIntegrationDeleteParams) Marshal() ([]byte, error) { +func (r *IntegrationInstagramSetupParams) Marshal() ([]byte, error) { return json.Marshal(r) } -type TriggerIntegrationDeleteRequest map[string]interface{} +type IntegrationInstagramSetupRequest map[string]interface{} -func UnmarshalTriggerIntegrationDeleteRequest(data []byte) (TriggerIntegrationDeleteRequest, error) { - var r TriggerIntegrationDeleteRequest +func UnmarshalIntegrationInstagramSetupRequest(data []byte) (IntegrationInstagramSetupRequest, error) { + var r IntegrationInstagramSetupRequest err := json.Unmarshal(data, &r) return r, err } -func (r *TriggerIntegrationDeleteRequest) Marshal() ([]byte, error) { +func (r *IntegrationInstagramSetupRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalTriggerIntegrationDeleteResponse(data []byte) (TriggerIntegrationDeleteResponse, error) { - var r TriggerIntegrationDeleteResponse +func UnmarshalIntegrationInstagramSetupResponse(data []byte) (IntegrationInstagramSetupResponse, error) { + var r IntegrationInstagramSetupResponse err := json.Unmarshal(data, &r) return r, err } -func (r *TriggerIntegrationDeleteResponse) Marshal() ([]byte, error) { +func (r *IntegrationInstagramSetupResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalTriggerIntegrationFetchParams(data []byte) (TriggerIntegrationFetchParams, error) { - var r TriggerIntegrationFetchParams +func UnmarshalIntegrationInstagramFetchParams(data []byte) (IntegrationInstagramFetchParams, error) { + var r IntegrationInstagramFetchParams err := json.Unmarshal(data, &r) return r, err } -func (r *TriggerIntegrationFetchParams) Marshal() ([]byte, error) { +func (r *IntegrationInstagramFetchParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalTriggerIntegrationFetchResponse(data []byte) (TriggerIntegrationFetchResponse, error) { - var r TriggerIntegrationFetchResponse +func UnmarshalIntegrationInstagramFetchResponse(data []byte) (IntegrationInstagramFetchResponse, error) { + var r IntegrationInstagramFetchResponse err := json.Unmarshal(data, &r) return r, err } -func (r *TriggerIntegrationFetchResponse) Marshal() ([]byte, error) { +func (r *IntegrationInstagramFetchResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalTriggerIntegrationInvokeParams(data []byte) (TriggerIntegrationInvokeParams, error) { - var r TriggerIntegrationInvokeParams +func UnmarshalIntegrationInstagramDeleteParams(data []byte) (IntegrationInstagramDeleteParams, error) { + var r IntegrationInstagramDeleteParams err := json.Unmarshal(data, &r) return r, err } -func (r *TriggerIntegrationInvokeParams) Marshal() ([]byte, error) { +func (r *IntegrationInstagramDeleteParams) Marshal() ([]byte, error) { return json.Marshal(r) } -type TriggerIntegrationInvokeRequest map[string]interface{} +type IntegrationInstagramDeleteRequest map[string]interface{} -func UnmarshalTriggerIntegrationInvokeRequest(data []byte) (TriggerIntegrationInvokeRequest, error) { - var r TriggerIntegrationInvokeRequest +func UnmarshalIntegrationInstagramDeleteRequest(data []byte) (IntegrationInstagramDeleteRequest, error) { + var r IntegrationInstagramDeleteRequest err := json.Unmarshal(data, &r) return r, err } -func (r *TriggerIntegrationInvokeRequest) Marshal() ([]byte, error) { +func (r *IntegrationInstagramDeleteRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalTriggerIntegrationInvokeResponse(data []byte) (TriggerIntegrationInvokeResponse, error) { - var r TriggerIntegrationInvokeResponse +func UnmarshalIntegrationInstagramDeleteResponse(data []byte) (IntegrationInstagramDeleteResponse, error) { + var r IntegrationInstagramDeleteResponse err := json.Unmarshal(data, &r) return r, err } -func (r *TriggerIntegrationInvokeResponse) Marshal() ([]byte, error) { +func (r *IntegrationInstagramDeleteResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalTriggerIntegrationSetupParams(data []byte) (TriggerIntegrationSetupParams, error) { - var r TriggerIntegrationSetupParams +func UnmarshalGooglechatIntegrationListParams(data []byte) (GooglechatIntegrationListParams, error) { + var r GooglechatIntegrationListParams err := json.Unmarshal(data, &r) return r, err } -func (r *TriggerIntegrationSetupParams) Marshal() ([]byte, error) { +func (r *GooglechatIntegrationListParams) Marshal() ([]byte, error) { return json.Marshal(r) } -type TriggerIntegrationSetupRequest map[string]interface{} - -func UnmarshalTriggerIntegrationSetupRequest(data []byte) (TriggerIntegrationSetupRequest, error) { - var r TriggerIntegrationSetupRequest +func UnmarshalGooglechatIntegrationListResponse(data []byte) (GooglechatIntegrationListResponse, error) { + var r GooglechatIntegrationListResponse err := json.Unmarshal(data, &r) return r, err } -func (r *TriggerIntegrationSetupRequest) Marshal() ([]byte, error) { +func (r *GooglechatIntegrationListResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalTriggerIntegrationSetupResponse(data []byte) (TriggerIntegrationSetupResponse, error) { - var r TriggerIntegrationSetupResponse +func UnmarshalGooglechatIntegrationListStreamItem(data []byte) (GooglechatIntegrationListStreamItem, error) { + var r GooglechatIntegrationListStreamItem err := json.Unmarshal(data, &r) return r, err } -func (r *TriggerIntegrationSetupResponse) Marshal() ([]byte, error) { +func (r *GooglechatIntegrationListStreamItem) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalTriggerIntegrationUpdateParams(data []byte) (TriggerIntegrationUpdateParams, error) { - var r TriggerIntegrationUpdateParams +func UnmarshalGooglechatIntegrationCreateRequest(data []byte) (GooglechatIntegrationCreateRequest, error) { + var r GooglechatIntegrationCreateRequest err := json.Unmarshal(data, &r) return r, err } -func (r *TriggerIntegrationUpdateParams) Marshal() ([]byte, error) { +func (r *GooglechatIntegrationCreateRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalTriggerIntegrationUpdateRequest(data []byte) (TriggerIntegrationUpdateRequest, error) { - var r TriggerIntegrationUpdateRequest +func UnmarshalGooglechatIntegrationCreateResponse(data []byte) (GooglechatIntegrationCreateResponse, error) { + var r GooglechatIntegrationCreateResponse err := json.Unmarshal(data, &r) return r, err } -func (r *TriggerIntegrationUpdateRequest) Marshal() ([]byte, error) { +func (r *GooglechatIntegrationCreateResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalTriggerIntegrationUpdateResponse(data []byte) (TriggerIntegrationUpdateResponse, error) { - var r TriggerIntegrationUpdateResponse +func UnmarshalGooglechatIntegrationUpdateParams(data []byte) (GooglechatIntegrationUpdateParams, error) { + var r GooglechatIntegrationUpdateParams err := json.Unmarshal(data, &r) return r, err } -func (r *TriggerIntegrationUpdateResponse) Marshal() ([]byte, error) { +func (r *GooglechatIntegrationUpdateParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalTriggerIntegrationCreateRequest(data []byte) (TriggerIntegrationCreateRequest, error) { - var r TriggerIntegrationCreateRequest +func UnmarshalGooglechatIntegrationUpdateRequest(data []byte) (GooglechatIntegrationUpdateRequest, error) { + var r GooglechatIntegrationUpdateRequest err := json.Unmarshal(data, &r) return r, err } -func (r *TriggerIntegrationCreateRequest) Marshal() ([]byte, error) { +func (r *GooglechatIntegrationUpdateRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalTriggerIntegrationCreateResponse(data []byte) (TriggerIntegrationCreateResponse, error) { - var r TriggerIntegrationCreateResponse +func UnmarshalGooglechatIntegrationUpdateResponse(data []byte) (GooglechatIntegrationUpdateResponse, error) { + var r GooglechatIntegrationUpdateResponse err := json.Unmarshal(data, &r) return r, err } -func (r *TriggerIntegrationCreateResponse) Marshal() ([]byte, error) { +func (r *GooglechatIntegrationUpdateResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalTriggerIntegrationListParams(data []byte) (TriggerIntegrationListParams, error) { - var r TriggerIntegrationListParams +func UnmarshalGooglechatIntegrationSetupParams(data []byte) (GooglechatIntegrationSetupParams, error) { + var r GooglechatIntegrationSetupParams err := json.Unmarshal(data, &r) return r, err } -func (r *TriggerIntegrationListParams) Marshal() ([]byte, error) { +func (r *GooglechatIntegrationSetupParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalTriggerIntegrationListResponse(data []byte) (TriggerIntegrationListResponse, error) { - var r TriggerIntegrationListResponse +type GooglechatIntegrationSetupRequest map[string]interface{} + +func UnmarshalGooglechatIntegrationSetupRequest(data []byte) (GooglechatIntegrationSetupRequest, error) { + var r GooglechatIntegrationSetupRequest err := json.Unmarshal(data, &r) return r, err } -func (r *TriggerIntegrationListResponse) Marshal() ([]byte, error) { +func (r *GooglechatIntegrationSetupRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalTriggerIntegrationListStreamItem(data []byte) (TriggerIntegrationListStreamItem, error) { - var r TriggerIntegrationListStreamItem +func UnmarshalGooglechatIntegrationSetupResponse(data []byte) (GooglechatIntegrationSetupResponse, error) { + var r GooglechatIntegrationSetupResponse err := json.Unmarshal(data, &r) return r, err } -func (r *TriggerIntegrationListStreamItem) Marshal() ([]byte, error) { +func (r *GooglechatIntegrationSetupResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationTwilioDeleteParams(data []byte) (IntegrationTwilioDeleteParams, error) { - var r IntegrationTwilioDeleteParams +func UnmarshalGooglechatIntegrationFetchParams(data []byte) (GooglechatIntegrationFetchParams, error) { + var r GooglechatIntegrationFetchParams err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationTwilioDeleteParams) Marshal() ([]byte, error) { +func (r *GooglechatIntegrationFetchParams) Marshal() ([]byte, error) { return json.Marshal(r) } -type IntegrationTwilioDeleteRequest map[string]interface{} - -func UnmarshalIntegrationTwilioDeleteRequest(data []byte) (IntegrationTwilioDeleteRequest, error) { - var r IntegrationTwilioDeleteRequest +func UnmarshalGooglechatIntegrationFetchResponse(data []byte) (GooglechatIntegrationFetchResponse, error) { + var r GooglechatIntegrationFetchResponse err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationTwilioDeleteRequest) Marshal() ([]byte, error) { +func (r *GooglechatIntegrationFetchResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationTwilioDeleteResponse(data []byte) (IntegrationTwilioDeleteResponse, error) { - var r IntegrationTwilioDeleteResponse +func UnmarshalGooglechatIntegrationDeleteParams(data []byte) (GooglechatIntegrationDeleteParams, error) { + var r GooglechatIntegrationDeleteParams err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationTwilioDeleteResponse) Marshal() ([]byte, error) { +func (r *GooglechatIntegrationDeleteParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationTwilioFetchParams(data []byte) (IntegrationTwilioFetchParams, error) { - var r IntegrationTwilioFetchParams +type GooglechatIntegrationDeleteRequest map[string]interface{} + +func UnmarshalGooglechatIntegrationDeleteRequest(data []byte) (GooglechatIntegrationDeleteRequest, error) { + var r GooglechatIntegrationDeleteRequest err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationTwilioFetchParams) Marshal() ([]byte, error) { +func (r *GooglechatIntegrationDeleteRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationTwilioFetchResponse(data []byte) (IntegrationTwilioFetchResponse, error) { - var r IntegrationTwilioFetchResponse +func UnmarshalGooglechatIntegrationDeleteResponse(data []byte) (GooglechatIntegrationDeleteResponse, error) { + var r GooglechatIntegrationDeleteResponse err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationTwilioFetchResponse) Marshal() ([]byte, error) { +func (r *GooglechatIntegrationDeleteResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationTwilioSetupParams(data []byte) (IntegrationTwilioSetupParams, error) { - var r IntegrationTwilioSetupParams +func UnmarshalGithubIntegrationListParams(data []byte) (GithubIntegrationListParams, error) { + var r GithubIntegrationListParams err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationTwilioSetupParams) Marshal() ([]byte, error) { +func (r *GithubIntegrationListParams) Marshal() ([]byte, error) { return json.Marshal(r) } -type IntegrationTwilioSetupRequest map[string]interface{} - -func UnmarshalIntegrationTwilioSetupRequest(data []byte) (IntegrationTwilioSetupRequest, error) { - var r IntegrationTwilioSetupRequest +func UnmarshalGithubIntegrationListResponse(data []byte) (GithubIntegrationListResponse, error) { + var r GithubIntegrationListResponse err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationTwilioSetupRequest) Marshal() ([]byte, error) { +func (r *GithubIntegrationListResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationTwilioSetupResponse(data []byte) (IntegrationTwilioSetupResponse, error) { - var r IntegrationTwilioSetupResponse +func UnmarshalGithubIntegrationCreateRequest(data []byte) (GithubIntegrationCreateRequest, error) { + var r GithubIntegrationCreateRequest err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationTwilioSetupResponse) Marshal() ([]byte, error) { +func (r *GithubIntegrationCreateRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationTwilioUpdateParams(data []byte) (IntegrationTwilioUpdateParams, error) { - var r IntegrationTwilioUpdateParams +func UnmarshalGithubIntegrationCreateResponse(data []byte) (GithubIntegrationCreateResponse, error) { + var r GithubIntegrationCreateResponse err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationTwilioUpdateParams) Marshal() ([]byte, error) { +func (r *GithubIntegrationCreateResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationTwilioUpdateRequest(data []byte) (IntegrationTwilioUpdateRequest, error) { - var r IntegrationTwilioUpdateRequest +func UnmarshalGithubIntegrationUpdateParams(data []byte) (GithubIntegrationUpdateParams, error) { + var r GithubIntegrationUpdateParams err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationTwilioUpdateRequest) Marshal() ([]byte, error) { +func (r *GithubIntegrationUpdateParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationTwilioUpdateResponse(data []byte) (IntegrationTwilioUpdateResponse, error) { - var r IntegrationTwilioUpdateResponse +func UnmarshalGithubIntegrationUpdateRequest(data []byte) (GithubIntegrationUpdateRequest, error) { + var r GithubIntegrationUpdateRequest err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationTwilioUpdateResponse) Marshal() ([]byte, error) { +func (r *GithubIntegrationUpdateRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationTwilioCreateRequest(data []byte) (IntegrationTwilioCreateRequest, error) { - var r IntegrationTwilioCreateRequest +func UnmarshalGithubIntegrationUpdateResponse(data []byte) (GithubIntegrationUpdateResponse, error) { + var r GithubIntegrationUpdateResponse err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationTwilioCreateRequest) Marshal() ([]byte, error) { +func (r *GithubIntegrationUpdateResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationTwilioCreateResponse(data []byte) (IntegrationTwilioCreateResponse, error) { - var r IntegrationTwilioCreateResponse +func UnmarshalGithubIntegrationSetupParams(data []byte) (GithubIntegrationSetupParams, error) { + var r GithubIntegrationSetupParams err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationTwilioCreateResponse) Marshal() ([]byte, error) { +func (r *GithubIntegrationSetupParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationTwilioListParams(data []byte) (IntegrationTwilioListParams, error) { - var r IntegrationTwilioListParams +func UnmarshalGithubIntegrationFetchParams(data []byte) (GithubIntegrationFetchParams, error) { + var r GithubIntegrationFetchParams err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationTwilioListParams) Marshal() ([]byte, error) { +func (r *GithubIntegrationFetchParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationTwilioListResponse(data []byte) (IntegrationTwilioListResponse, error) { - var r IntegrationTwilioListResponse +func UnmarshalGithubIntegrationFetchResponse(data []byte) (GithubIntegrationFetchResponse, error) { + var r GithubIntegrationFetchResponse err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationTwilioListResponse) Marshal() ([]byte, error) { +func (r *GithubIntegrationFetchResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationTwilioListStreamItem(data []byte) (IntegrationTwilioListStreamItem, error) { - var r IntegrationTwilioListStreamItem +func UnmarshalGithubIntegrationDeleteParams(data []byte) (GithubIntegrationDeleteParams, error) { + var r GithubIntegrationDeleteParams err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationTwilioListStreamItem) Marshal() ([]byte, error) { +func (r *GithubIntegrationDeleteParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationWhatsAppDeleteParams(data []byte) (IntegrationWhatsAppDeleteParams, error) { - var r IntegrationWhatsAppDeleteParams +type GithubIntegrationDeleteRequest map[string]interface{} + +func UnmarshalGithubIntegrationDeleteRequest(data []byte) (GithubIntegrationDeleteRequest, error) { + var r GithubIntegrationDeleteRequest err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationWhatsAppDeleteParams) Marshal() ([]byte, error) { +func (r *GithubIntegrationDeleteRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -type IntegrationWhatsAppDeleteRequest map[string]interface{} +func UnmarshalGithubIntegrationDeleteResponse(data []byte) (GithubIntegrationDeleteResponse, error) { + var r GithubIntegrationDeleteResponse + err := json.Unmarshal(data, &r) + return r, err +} -func UnmarshalIntegrationWhatsAppDeleteRequest(data []byte) (IntegrationWhatsAppDeleteRequest, error) { - var r IntegrationWhatsAppDeleteRequest +func (r *GithubIntegrationDeleteResponse) Marshal() ([]byte, error) { + return json.Marshal(r) +} + +func UnmarshalIntegrationExtractListParams(data []byte) (IntegrationExtractListParams, error) { + var r IntegrationExtractListParams err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationWhatsAppDeleteRequest) Marshal() ([]byte, error) { +func (r *IntegrationExtractListParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationWhatsAppDeleteResponse(data []byte) (IntegrationWhatsAppDeleteResponse, error) { - var r IntegrationWhatsAppDeleteResponse +func UnmarshalIntegrationExtractListResponse(data []byte) (IntegrationExtractListResponse, error) { + var r IntegrationExtractListResponse err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationWhatsAppDeleteResponse) Marshal() ([]byte, error) { +func (r *IntegrationExtractListResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationWhatsAppFetchParams(data []byte) (IntegrationWhatsAppFetchParams, error) { - var r IntegrationWhatsAppFetchParams +func UnmarshalIntegrationExtractListStreamItem(data []byte) (IntegrationExtractListStreamItem, error) { + var r IntegrationExtractListStreamItem err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationWhatsAppFetchParams) Marshal() ([]byte, error) { +func (r *IntegrationExtractListStreamItem) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationWhatsAppFetchResponse(data []byte) (IntegrationWhatsAppFetchResponse, error) { - var r IntegrationWhatsAppFetchResponse +func UnmarshalIntegrationExtractCreateRequest(data []byte) (IntegrationExtractCreateRequest, error) { + var r IntegrationExtractCreateRequest err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationWhatsAppFetchResponse) Marshal() ([]byte, error) { +func (r *IntegrationExtractCreateRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationWhatsAppSetupParams(data []byte) (IntegrationWhatsAppSetupParams, error) { - var r IntegrationWhatsAppSetupParams +func UnmarshalIntegrationExtractCreateResponse(data []byte) (IntegrationExtractCreateResponse, error) { + var r IntegrationExtractCreateResponse err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationWhatsAppSetupParams) Marshal() ([]byte, error) { +func (r *IntegrationExtractCreateResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -type IntegrationWhatsAppSetupRequest map[string]interface{} - -func UnmarshalIntegrationWhatsAppSetupRequest(data []byte) (IntegrationWhatsAppSetupRequest, error) { - var r IntegrationWhatsAppSetupRequest +func UnmarshalIntegrationExtractUpdateParams(data []byte) (IntegrationExtractUpdateParams, error) { + var r IntegrationExtractUpdateParams err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationWhatsAppSetupRequest) Marshal() ([]byte, error) { +func (r *IntegrationExtractUpdateParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationWhatsAppSetupResponse(data []byte) (IntegrationWhatsAppSetupResponse, error) { - var r IntegrationWhatsAppSetupResponse +func UnmarshalIntegrationExtractUpdateRequest(data []byte) (IntegrationExtractUpdateRequest, error) { + var r IntegrationExtractUpdateRequest err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationWhatsAppSetupResponse) Marshal() ([]byte, error) { +func (r *IntegrationExtractUpdateRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationWhatsAppUpdateParams(data []byte) (IntegrationWhatsAppUpdateParams, error) { - var r IntegrationWhatsAppUpdateParams +func UnmarshalIntegrationExtractUpdateResponse(data []byte) (IntegrationExtractUpdateResponse, error) { + var r IntegrationExtractUpdateResponse err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationWhatsAppUpdateParams) Marshal() ([]byte, error) { +func (r *IntegrationExtractUpdateResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationWhatsAppUpdateRequest(data []byte) (IntegrationWhatsAppUpdateRequest, error) { - var r IntegrationWhatsAppUpdateRequest +func UnmarshalIntegrationExtractTriggerParams(data []byte) (IntegrationExtractTriggerParams, error) { + var r IntegrationExtractTriggerParams err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationWhatsAppUpdateRequest) Marshal() ([]byte, error) { +func (r *IntegrationExtractTriggerParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationWhatsAppUpdateResponse(data []byte) (IntegrationWhatsAppUpdateResponse, error) { - var r IntegrationWhatsAppUpdateResponse +func UnmarshalIntegrationExtractTriggerRequest(data []byte) (IntegrationExtractTriggerRequest, error) { + var r IntegrationExtractTriggerRequest err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationWhatsAppUpdateResponse) Marshal() ([]byte, error) { +func (r *IntegrationExtractTriggerRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationWhatsAppCreateRequest(data []byte) (IntegrationWhatsAppCreateRequest, error) { - var r IntegrationWhatsAppCreateRequest +func UnmarshalIntegrationExtractTriggerResponse(data []byte) (IntegrationExtractTriggerResponse, error) { + var r IntegrationExtractTriggerResponse err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationWhatsAppCreateRequest) Marshal() ([]byte, error) { +func (r *IntegrationExtractTriggerResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationWhatsAppCreateResponse(data []byte) (IntegrationWhatsAppCreateResponse, error) { - var r IntegrationWhatsAppCreateResponse +func UnmarshalIntegrationExtractFetchParams(data []byte) (IntegrationExtractFetchParams, error) { + var r IntegrationExtractFetchParams err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationWhatsAppCreateResponse) Marshal() ([]byte, error) { +func (r *IntegrationExtractFetchParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationWhatsAppListParams(data []byte) (IntegrationWhatsAppListParams, error) { - var r IntegrationWhatsAppListParams +func UnmarshalIntegrationExtractFetchResponse(data []byte) (IntegrationExtractFetchResponse, error) { + var r IntegrationExtractFetchResponse err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationWhatsAppListParams) Marshal() ([]byte, error) { +func (r *IntegrationExtractFetchResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationWhatsAppListResponse(data []byte) (IntegrationWhatsAppListResponse, error) { - var r IntegrationWhatsAppListResponse +func UnmarshalIntegrationExtractDeleteParams(data []byte) (IntegrationExtractDeleteParams, error) { + var r IntegrationExtractDeleteParams err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationWhatsAppListResponse) Marshal() ([]byte, error) { +func (r *IntegrationExtractDeleteParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationWhatsAppListStreamItem(data []byte) (IntegrationWhatsAppListStreamItem, error) { - var r IntegrationWhatsAppListStreamItem +type IntegrationExtractDeleteRequest map[string]interface{} + +func UnmarshalIntegrationExtractDeleteRequest(data []byte) (IntegrationExtractDeleteRequest, error) { + var r IntegrationExtractDeleteRequest err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationWhatsAppListStreamItem) Marshal() ([]byte, error) { +func (r *IntegrationExtractDeleteRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationWidgetCloneParams(data []byte) (IntegrationWidgetCloneParams, error) { - var r IntegrationWidgetCloneParams +func UnmarshalIntegrationExtractDeleteResponse(data []byte) (IntegrationExtractDeleteResponse, error) { + var r IntegrationExtractDeleteResponse err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationWidgetCloneParams) Marshal() ([]byte, error) { +func (r *IntegrationExtractDeleteResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -type IntegrationWidgetCloneRequest map[string]interface{} - -func UnmarshalIntegrationWidgetCloneRequest(data []byte) (IntegrationWidgetCloneRequest, error) { - var r IntegrationWidgetCloneRequest +func UnmarshalExtractIntegrationItemListParams(data []byte) (ExtractIntegrationItemListParams, error) { + var r ExtractIntegrationItemListParams err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationWidgetCloneRequest) Marshal() ([]byte, error) { +func (r *ExtractIntegrationItemListParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationWidgetCloneResponse(data []byte) (IntegrationWidgetCloneResponse, error) { - var r IntegrationWidgetCloneResponse +func UnmarshalExtractIntegrationItemListResponse(data []byte) (ExtractIntegrationItemListResponse, error) { + var r ExtractIntegrationItemListResponse err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationWidgetCloneResponse) Marshal() ([]byte, error) { +func (r *ExtractIntegrationItemListResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationWidgetDeleteParams(data []byte) (IntegrationWidgetDeleteParams, error) { - var r IntegrationWidgetDeleteParams +func UnmarshalExtractIntegrationItemsExportParams(data []byte) (ExtractIntegrationItemsExportParams, error) { + var r ExtractIntegrationItemsExportParams err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationWidgetDeleteParams) Marshal() ([]byte, error) { +func (r *ExtractIntegrationItemsExportParams) Marshal() ([]byte, error) { return json.Marshal(r) } -type IntegrationWidgetDeleteRequest map[string]interface{} - -func UnmarshalIntegrationWidgetDeleteRequest(data []byte) (IntegrationWidgetDeleteRequest, error) { - var r IntegrationWidgetDeleteRequest +func UnmarshalExtractIntegrationItemsExportResponse(data []byte) (ExtractIntegrationItemsExportResponse, error) { + var r ExtractIntegrationItemsExportResponse err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationWidgetDeleteRequest) Marshal() ([]byte, error) { +func (r *ExtractIntegrationItemsExportResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationWidgetDeleteResponse(data []byte) (IntegrationWidgetDeleteResponse, error) { - var r IntegrationWidgetDeleteResponse +func UnmarshalEmailIntegrationListParams(data []byte) (EmailIntegrationListParams, error) { + var r EmailIntegrationListParams err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationWidgetDeleteResponse) Marshal() ([]byte, error) { +func (r *EmailIntegrationListParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationWidgetFetchParams(data []byte) (IntegrationWidgetFetchParams, error) { - var r IntegrationWidgetFetchParams +func UnmarshalEmailIntegrationListResponse(data []byte) (EmailIntegrationListResponse, error) { + var r EmailIntegrationListResponse err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationWidgetFetchParams) Marshal() ([]byte, error) { +func (r *EmailIntegrationListResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationWidgetFetchResponse(data []byte) (IntegrationWidgetFetchResponse, error) { - var r IntegrationWidgetFetchResponse +func UnmarshalEmailIntegrationListStreamItem(data []byte) (EmailIntegrationListStreamItem, error) { + var r EmailIntegrationListStreamItem err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationWidgetFetchResponse) Marshal() ([]byte, error) { +func (r *EmailIntegrationListStreamItem) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalWidgetIntegrationFileAttachParams(data []byte) (WidgetIntegrationFileAttachParams, error) { - var r WidgetIntegrationFileAttachParams +func UnmarshalEmailIntegrationCreateRequest(data []byte) (EmailIntegrationCreateRequest, error) { + var r EmailIntegrationCreateRequest err := json.Unmarshal(data, &r) return r, err } -func (r *WidgetIntegrationFileAttachParams) Marshal() ([]byte, error) { +func (r *EmailIntegrationCreateRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalWidgetIntegrationFileAttachRequest(data []byte) (WidgetIntegrationFileAttachRequest, error) { - var r WidgetIntegrationFileAttachRequest +func UnmarshalEmailIntegrationCreateResponse(data []byte) (EmailIntegrationCreateResponse, error) { + var r EmailIntegrationCreateResponse err := json.Unmarshal(data, &r) return r, err } -func (r *WidgetIntegrationFileAttachRequest) Marshal() ([]byte, error) { +func (r *EmailIntegrationCreateResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalWidgetIntegrationFileAttachResponse(data []byte) (WidgetIntegrationFileAttachResponse, error) { - var r WidgetIntegrationFileAttachResponse +func UnmarshalEmailIntegrationUpdateParams(data []byte) (EmailIntegrationUpdateParams, error) { + var r EmailIntegrationUpdateParams err := json.Unmarshal(data, &r) return r, err } -func (r *WidgetIntegrationFileAttachResponse) Marshal() ([]byte, error) { +func (r *EmailIntegrationUpdateParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalWidgetIntegrationFileDetachParams(data []byte) (WidgetIntegrationFileDetachParams, error) { - var r WidgetIntegrationFileDetachParams +func UnmarshalEmailIntegrationUpdateRequest(data []byte) (EmailIntegrationUpdateRequest, error) { + var r EmailIntegrationUpdateRequest err := json.Unmarshal(data, &r) return r, err } -func (r *WidgetIntegrationFileDetachParams) Marshal() ([]byte, error) { +func (r *EmailIntegrationUpdateRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalWidgetIntegrationFileDetachResponse(data []byte) (WidgetIntegrationFileDetachResponse, error) { - var r WidgetIntegrationFileDetachResponse +func UnmarshalEmailIntegrationUpdateResponse(data []byte) (EmailIntegrationUpdateResponse, error) { + var r EmailIntegrationUpdateResponse err := json.Unmarshal(data, &r) return r, err } -func (r *WidgetIntegrationFileDetachResponse) Marshal() ([]byte, error) { +func (r *EmailIntegrationUpdateResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationWidgetSetupParams(data []byte) (IntegrationWidgetSetupParams, error) { - var r IntegrationWidgetSetupParams +func UnmarshalEmailIntegrationSetupParams(data []byte) (EmailIntegrationSetupParams, error) { + var r EmailIntegrationSetupParams err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationWidgetSetupParams) Marshal() ([]byte, error) { +func (r *EmailIntegrationSetupParams) Marshal() ([]byte, error) { return json.Marshal(r) } -type IntegrationWidgetSetupRequest map[string]interface{} +type EmailIntegrationSetupRequest map[string]interface{} -func UnmarshalIntegrationWidgetSetupRequest(data []byte) (IntegrationWidgetSetupRequest, error) { - var r IntegrationWidgetSetupRequest +func UnmarshalEmailIntegrationSetupRequest(data []byte) (EmailIntegrationSetupRequest, error) { + var r EmailIntegrationSetupRequest err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationWidgetSetupRequest) Marshal() ([]byte, error) { +func (r *EmailIntegrationSetupRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationWidgetSetupResponse(data []byte) (IntegrationWidgetSetupResponse, error) { - var r IntegrationWidgetSetupResponse +func UnmarshalEmailIntegrationSetupResponse(data []byte) (EmailIntegrationSetupResponse, error) { + var r EmailIntegrationSetupResponse err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationWidgetSetupResponse) Marshal() ([]byte, error) { +func (r *EmailIntegrationSetupResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationWidgetUpdateParams(data []byte) (IntegrationWidgetUpdateParams, error) { - var r IntegrationWidgetUpdateParams +func UnmarshalEmailIntegrationFetchParams(data []byte) (EmailIntegrationFetchParams, error) { + var r EmailIntegrationFetchParams err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationWidgetUpdateParams) Marshal() ([]byte, error) { +func (r *EmailIntegrationFetchParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationWidgetUpdateRequest(data []byte) (IntegrationWidgetUpdateRequest, error) { - var r IntegrationWidgetUpdateRequest +func UnmarshalEmailIntegrationFetchResponse(data []byte) (EmailIntegrationFetchResponse, error) { + var r EmailIntegrationFetchResponse err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationWidgetUpdateRequest) Marshal() ([]byte, error) { +func (r *EmailIntegrationFetchResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationWidgetUpdateResponse(data []byte) (IntegrationWidgetUpdateResponse, error) { - var r IntegrationWidgetUpdateResponse +func UnmarshalEmailIntegrationDeleteParams(data []byte) (EmailIntegrationDeleteParams, error) { + var r EmailIntegrationDeleteParams err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationWidgetUpdateResponse) Marshal() ([]byte, error) { +func (r *EmailIntegrationDeleteParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationWidgetCreateRequest(data []byte) (IntegrationWidgetCreateRequest, error) { - var r IntegrationWidgetCreateRequest +type EmailIntegrationDeleteRequest map[string]interface{} + +func UnmarshalEmailIntegrationDeleteRequest(data []byte) (EmailIntegrationDeleteRequest, error) { + var r EmailIntegrationDeleteRequest err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationWidgetCreateRequest) Marshal() ([]byte, error) { +func (r *EmailIntegrationDeleteRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationWidgetCreateResponse(data []byte) (IntegrationWidgetCreateResponse, error) { - var r IntegrationWidgetCreateResponse +func UnmarshalEmailIntegrationDeleteResponse(data []byte) (EmailIntegrationDeleteResponse, error) { + var r EmailIntegrationDeleteResponse err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationWidgetCreateResponse) Marshal() ([]byte, error) { +func (r *EmailIntegrationDeleteResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationWidgetListParams(data []byte) (IntegrationWidgetListParams, error) { - var r IntegrationWidgetListParams +func UnmarshalIntegrationDiscordListParams(data []byte) (IntegrationDiscordListParams, error) { + var r IntegrationDiscordListParams err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationWidgetListParams) Marshal() ([]byte, error) { +func (r *IntegrationDiscordListParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationWidgetListResponse(data []byte) (IntegrationWidgetListResponse, error) { - var r IntegrationWidgetListResponse +func UnmarshalIntegrationDiscordListResponse(data []byte) (IntegrationDiscordListResponse, error) { + var r IntegrationDiscordListResponse err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationWidgetListResponse) Marshal() ([]byte, error) { +func (r *IntegrationDiscordListResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalIntegrationWidgetListStreamItem(data []byte) (IntegrationWidgetListStreamItem, error) { - var r IntegrationWidgetListStreamItem +func UnmarshalIntegrationDiscordListStreamItem(data []byte) (IntegrationDiscordListStreamItem, error) { + var r IntegrationDiscordListStreamItem err := json.Unmarshal(data, &r) return r, err } -func (r *IntegrationWidgetListStreamItem) Marshal() ([]byte, error) { +func (r *IntegrationDiscordListStreamItem) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalMagicFromPromptGenerateParams(data []byte) (MagicFromPromptGenerateParams, error) { - var r MagicFromPromptGenerateParams +func UnmarshalIntegrationDiscordCreateRequest(data []byte) (IntegrationDiscordCreateRequest, error) { + var r IntegrationDiscordCreateRequest err := json.Unmarshal(data, &r) return r, err } -func (r *MagicFromPromptGenerateParams) Marshal() ([]byte, error) { +func (r *IntegrationDiscordCreateRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalMagicFromPromptGenerateRequest(data []byte) (MagicFromPromptGenerateRequest, error) { - var r MagicFromPromptGenerateRequest +func UnmarshalIntegrationDiscordCreateResponse(data []byte) (IntegrationDiscordCreateResponse, error) { + var r IntegrationDiscordCreateResponse err := json.Unmarshal(data, &r) return r, err } -func (r *MagicFromPromptGenerateRequest) Marshal() ([]byte, error) { +func (r *IntegrationDiscordCreateResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalMagicFromPromptGenerateResponse(data []byte) (MagicFromPromptGenerateResponse, error) { - var r MagicFromPromptGenerateResponse +func UnmarshalIntegrationDiscordUpdateParams(data []byte) (IntegrationDiscordUpdateParams, error) { + var r IntegrationDiscordUpdateParams err := json.Unmarshal(data, &r) return r, err } -func (r *MagicFromPromptGenerateResponse) Marshal() ([]byte, error) { +func (r *IntegrationDiscordUpdateParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalMagicFromPromptGenerateStreamItem(data []byte) (MagicFromPromptGenerateStreamItem, error) { - var r MagicFromPromptGenerateStreamItem +func UnmarshalIntegrationDiscordUpdateRequest(data []byte) (IntegrationDiscordUpdateRequest, error) { + var r IntegrationDiscordUpdateRequest err := json.Unmarshal(data, &r) return r, err } -func (r *MagicFromPromptGenerateStreamItem) Marshal() ([]byte, error) { +func (r *IntegrationDiscordUpdateRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalMagicPromptListParams(data []byte) (MagicPromptListParams, error) { - var r MagicPromptListParams +func UnmarshalIntegrationDiscordUpdateResponse(data []byte) (IntegrationDiscordUpdateResponse, error) { + var r IntegrationDiscordUpdateResponse err := json.Unmarshal(data, &r) return r, err } -func (r *MagicPromptListParams) Marshal() ([]byte, error) { +func (r *IntegrationDiscordUpdateResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalMagicPromptListResponse(data []byte) (MagicPromptListResponse, error) { - var r MagicPromptListResponse +func UnmarshalIntegrationDiscordSetupParams(data []byte) (IntegrationDiscordSetupParams, error) { + var r IntegrationDiscordSetupParams err := json.Unmarshal(data, &r) return r, err } -func (r *MagicPromptListResponse) Marshal() ([]byte, error) { +func (r *IntegrationDiscordSetupParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalMagicPromptListStreamItem(data []byte) (MagicPromptListStreamItem, error) { - var r MagicPromptListStreamItem +type IntegrationDiscordSetupRequest map[string]interface{} + +func UnmarshalIntegrationDiscordSetupRequest(data []byte) (IntegrationDiscordSetupRequest, error) { + var r IntegrationDiscordSetupRequest err := json.Unmarshal(data, &r) return r, err } -func (r *MagicPromptListStreamItem) Marshal() ([]byte, error) { +func (r *IntegrationDiscordSetupRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalMemoryDeleteParams(data []byte) (MemoryDeleteParams, error) { - var r MemoryDeleteParams +func UnmarshalIntegrationDiscordSetupResponse(data []byte) (IntegrationDiscordSetupResponse, error) { + var r IntegrationDiscordSetupResponse err := json.Unmarshal(data, &r) return r, err } -func (r *MemoryDeleteParams) Marshal() ([]byte, error) { +func (r *IntegrationDiscordSetupResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -type MemoryDeleteRequest map[string]interface{} - -func UnmarshalMemoryDeleteRequest(data []byte) (MemoryDeleteRequest, error) { - var r MemoryDeleteRequest +func UnmarshalIntegrationDiscordFetchParams(data []byte) (IntegrationDiscordFetchParams, error) { + var r IntegrationDiscordFetchParams err := json.Unmarshal(data, &r) return r, err } -func (r *MemoryDeleteRequest) Marshal() ([]byte, error) { +func (r *IntegrationDiscordFetchParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalMemoryDeleteResponse(data []byte) (MemoryDeleteResponse, error) { - var r MemoryDeleteResponse +func UnmarshalIntegrationDiscordFetchResponse(data []byte) (IntegrationDiscordFetchResponse, error) { + var r IntegrationDiscordFetchResponse err := json.Unmarshal(data, &r) return r, err } -func (r *MemoryDeleteResponse) Marshal() ([]byte, error) { +func (r *IntegrationDiscordFetchResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalMemoryFetchParams(data []byte) (MemoryFetchParams, error) { - var r MemoryFetchParams +func UnmarshalIntegrationDiscordDeleteParams(data []byte) (IntegrationDiscordDeleteParams, error) { + var r IntegrationDiscordDeleteParams err := json.Unmarshal(data, &r) return r, err } -func (r *MemoryFetchParams) Marshal() ([]byte, error) { +func (r *IntegrationDiscordDeleteParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalMemoryFetchResponse(data []byte) (MemoryFetchResponse, error) { - var r MemoryFetchResponse +type IntegrationDiscordDeleteRequest map[string]interface{} + +func UnmarshalIntegrationDiscordDeleteRequest(data []byte) (IntegrationDiscordDeleteRequest, error) { + var r IntegrationDiscordDeleteRequest err := json.Unmarshal(data, &r) return r, err } -func (r *MemoryFetchResponse) Marshal() ([]byte, error) { +func (r *IntegrationDiscordDeleteRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalMemoryUpdateParams(data []byte) (MemoryUpdateParams, error) { - var r MemoryUpdateParams +func UnmarshalIntegrationDiscordDeleteResponse(data []byte) (IntegrationDiscordDeleteResponse, error) { + var r IntegrationDiscordDeleteResponse err := json.Unmarshal(data, &r) return r, err } -func (r *MemoryUpdateParams) Marshal() ([]byte, error) { +func (r *IntegrationDiscordDeleteResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalMemoryUpdateRequest(data []byte) (MemoryUpdateRequest, error) { - var r MemoryUpdateRequest +func UnmarshalFileListParams(data []byte) (FileListParams, error) { + var r FileListParams err := json.Unmarshal(data, &r) return r, err } -func (r *MemoryUpdateRequest) Marshal() ([]byte, error) { +func (r *FileListParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalMemoryUpdateResponse(data []byte) (MemoryUpdateResponse, error) { - var r MemoryUpdateResponse +func UnmarshalFileListResponse(data []byte) (FileListResponse, error) { + var r FileListResponse err := json.Unmarshal(data, &r) return r, err } -func (r *MemoryUpdateResponse) Marshal() ([]byte, error) { +func (r *FileListResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalMemoryCreateRequest(data []byte) (MemoryCreateRequest, error) { - var r MemoryCreateRequest +func UnmarshalFileListStreamItem(data []byte) (FileListStreamItem, error) { + var r FileListStreamItem err := json.Unmarshal(data, &r) return r, err } -func (r *MemoryCreateRequest) Marshal() ([]byte, error) { +func (r *FileListStreamItem) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalMemoryCreateResponse(data []byte) (MemoryCreateResponse, error) { - var r MemoryCreateResponse +func UnmarshalFileCreateRequest(data []byte) (FileCreateRequest, error) { + var r FileCreateRequest err := json.Unmarshal(data, &r) return r, err } -func (r *MemoryCreateResponse) Marshal() ([]byte, error) { +func (r *FileCreateRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalMemoriesExportParams(data []byte) (MemoriesExportParams, error) { - var r MemoriesExportParams +func UnmarshalFileCreateResponse(data []byte) (FileCreateResponse, error) { + var r FileCreateResponse err := json.Unmarshal(data, &r) return r, err } -func (r *MemoriesExportParams) Marshal() ([]byte, error) { +func (r *FileCreateResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalMemoriesExportResponse(data []byte) (MemoriesExportResponse, error) { - var r MemoriesExportResponse +func UnmarshalFileUploadParams(data []byte) (FileUploadParams, error) { + var r FileUploadParams err := json.Unmarshal(data, &r) return r, err } -func (r *MemoriesExportResponse) Marshal() ([]byte, error) { +func (r *FileUploadParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalMemoriesExportStreamItem(data []byte) (MemoriesExportStreamItem, error) { - var r MemoriesExportStreamItem +func UnmarshalFileUploadRequest(data []byte) (FileUploadRequest, error) { + var r FileUploadRequest err := json.Unmarshal(data, &r) return r, err } -func (r *MemoriesExportStreamItem) Marshal() ([]byte, error) { +func (r *FileUploadRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalMemoryListParams(data []byte) (MemoryListParams, error) { - var r MemoryListParams +func UnmarshalFileUploadResponse(data []byte) (FileUploadResponse, error) { + var r FileUploadResponse err := json.Unmarshal(data, &r) return r, err } -func (r *MemoryListParams) Marshal() ([]byte, error) { +func (r *FileUploadResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalMemoryListResponse(data []byte) (MemoryListResponse, error) { - var r MemoryListResponse +func UnmarshalFileUpdateParams(data []byte) (FileUpdateParams, error) { + var r FileUpdateParams err := json.Unmarshal(data, &r) return r, err } -func (r *MemoryListResponse) Marshal() ([]byte, error) { +func (r *FileUpdateParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalMemoryListStreamItem(data []byte) (MemoryListStreamItem, error) { - var r MemoryListStreamItem +func UnmarshalFileUpdateRequest(data []byte) (FileUpdateRequest, error) { + var r FileUpdateRequest err := json.Unmarshal(data, &r) return r, err } -func (r *MemoryListStreamItem) Marshal() ([]byte, error) { +func (r *FileUpdateRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalMemorySearchRequest(data []byte) (MemorySearchRequest, error) { - var r MemorySearchRequest +func UnmarshalFileUpdateResponse(data []byte) (FileUpdateResponse, error) { + var r FileUpdateResponse err := json.Unmarshal(data, &r) return r, err } -func (r *MemorySearchRequest) Marshal() ([]byte, error) { +func (r *FileUpdateResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalMemorySearchResponse(data []byte) (MemorySearchResponse, error) { - var r MemorySearchResponse +func UnmarshalFileSyncParams(data []byte) (FileSyncParams, error) { + var r FileSyncParams err := json.Unmarshal(data, &r) return r, err } -func (r *MemorySearchResponse) Marshal() ([]byte, error) { +func (r *FileSyncParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalPartnerUserContextDeleteParams(data []byte) (PartnerUserContextDeleteParams, error) { - var r PartnerUserContextDeleteParams +type FileSyncRequest map[string]interface{} + +func UnmarshalFileSyncRequest(data []byte) (FileSyncRequest, error) { + var r FileSyncRequest err := json.Unmarshal(data, &r) return r, err } -func (r *PartnerUserContextDeleteParams) Marshal() ([]byte, error) { +func (r *FileSyncRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -type PartnerUserContextDeleteRequest map[string]interface{} - -func UnmarshalPartnerUserContextDeleteRequest(data []byte) (PartnerUserContextDeleteRequest, error) { - var r PartnerUserContextDeleteRequest +func UnmarshalFileSyncResponse(data []byte) (FileSyncResponse, error) { + var r FileSyncResponse err := json.Unmarshal(data, &r) return r, err } -func (r *PartnerUserContextDeleteRequest) Marshal() ([]byte, error) { +func (r *FileSyncResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalPartnerUserContextDeleteResponse(data []byte) (PartnerUserContextDeleteResponse, error) { - var r PartnerUserContextDeleteResponse +func UnmarshalFileFetchParams(data []byte) (FileFetchParams, error) { + var r FileFetchParams err := json.Unmarshal(data, &r) return r, err } -func (r *PartnerUserContextDeleteResponse) Marshal() ([]byte, error) { +func (r *FileFetchParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalPartnerUserContextFetchParams(data []byte) (PartnerUserContextFetchParams, error) { - var r PartnerUserContextFetchParams +func UnmarshalFileFetchResponse(data []byte) (FileFetchResponse, error) { + var r FileFetchResponse err := json.Unmarshal(data, &r) return r, err } -func (r *PartnerUserContextFetchParams) Marshal() ([]byte, error) { +func (r *FileFetchResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalPartnerUserContextFetchResponse(data []byte) (PartnerUserContextFetchResponse, error) { - var r PartnerUserContextFetchResponse +func UnmarshalFileDownloadParams(data []byte) (FileDownloadParams, error) { + var r FileDownloadParams err := json.Unmarshal(data, &r) return r, err } -func (r *PartnerUserContextFetchResponse) Marshal() ([]byte, error) { +func (r *FileDownloadParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalPartnerUserContextUpdateParams(data []byte) (PartnerUserContextUpdateParams, error) { - var r PartnerUserContextUpdateParams +func UnmarshalFileDownloadResponse(data []byte) (FileDownloadResponse, error) { + var r FileDownloadResponse err := json.Unmarshal(data, &r) return r, err } -func (r *PartnerUserContextUpdateParams) Marshal() ([]byte, error) { +func (r *FileDownloadResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalPartnerUserContextUpdateRequest(data []byte) (PartnerUserContextUpdateRequest, error) { - var r PartnerUserContextUpdateRequest +func UnmarshalFileDeleteParams(data []byte) (FileDeleteParams, error) { + var r FileDeleteParams err := json.Unmarshal(data, &r) return r, err } -func (r *PartnerUserContextUpdateRequest) Marshal() ([]byte, error) { +func (r *FileDeleteParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalPartnerUserContextUpdateResponse(data []byte) (PartnerUserContextUpdateResponse, error) { - var r PartnerUserContextUpdateResponse +type FileDeleteRequest map[string]interface{} + +func UnmarshalFileDeleteRequest(data []byte) (FileDeleteRequest, error) { + var r FileDeleteRequest err := json.Unmarshal(data, &r) return r, err } -func (r *PartnerUserContextUpdateResponse) Marshal() ([]byte, error) { +func (r *FileDeleteRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalPartnerUserContextCreateParams(data []byte) (PartnerUserContextCreateParams, error) { - var r PartnerUserContextCreateParams +func UnmarshalFileDeleteResponse(data []byte) (FileDeleteResponse, error) { + var r FileDeleteResponse err := json.Unmarshal(data, &r) return r, err } -func (r *PartnerUserContextCreateParams) Marshal() ([]byte, error) { +func (r *FileDeleteResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalPartnerUserContextCreateRequest(data []byte) (PartnerUserContextCreateRequest, error) { - var r PartnerUserContextCreateRequest +func UnmarshalEventLogsSubscribeRequest(data []byte) (EventLogsSubscribeRequest, error) { + var r EventLogsSubscribeRequest err := json.Unmarshal(data, &r) return r, err } -func (r *PartnerUserContextCreateRequest) Marshal() ([]byte, error) { +func (r *EventLogsSubscribeRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalPartnerUserContextCreateResponse(data []byte) (PartnerUserContextCreateResponse, error) { - var r PartnerUserContextCreateResponse +func UnmarshalEventLogsSubscribeStreamItem(data []byte) (EventLogsSubscribeStreamItem, error) { + var r EventLogsSubscribeStreamItem err := json.Unmarshal(data, &r) return r, err } -func (r *PartnerUserContextCreateResponse) Marshal() ([]byte, error) { +func (r *EventLogsSubscribeStreamItem) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalPartnerUserContextListParams(data []byte) (PartnerUserContextListParams, error) { - var r PartnerUserContextListParams +func UnmarshalEventLogListParams(data []byte) (EventLogListParams, error) { + var r EventLogListParams err := json.Unmarshal(data, &r) return r, err } -func (r *PartnerUserContextListParams) Marshal() ([]byte, error) { +func (r *EventLogListParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalPartnerUserContextListResponse(data []byte) (PartnerUserContextListResponse, error) { - var r PartnerUserContextListResponse +func UnmarshalEventLogListResponse(data []byte) (EventLogListResponse, error) { + var r EventLogListResponse err := json.Unmarshal(data, &r) return r, err } -func (r *PartnerUserContextListResponse) Marshal() ([]byte, error) { +func (r *EventLogListResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalPartnerUserContextListStreamItem(data []byte) (PartnerUserContextListStreamItem, error) { - var r PartnerUserContextListStreamItem +func UnmarshalEventLogListStreamItem(data []byte) (EventLogListStreamItem, error) { + var r EventLogListStreamItem err := json.Unmarshal(data, &r) return r, err } -func (r *PartnerUserContextListStreamItem) Marshal() ([]byte, error) { +func (r *EventLogListStreamItem) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalPartnerUserDeleteParams(data []byte) (PartnerUserDeleteParams, error) { - var r PartnerUserDeleteParams +func UnmarshalEventLogsExportParams(data []byte) (EventLogsExportParams, error) { + var r EventLogsExportParams err := json.Unmarshal(data, &r) return r, err } -func (r *PartnerUserDeleteParams) Marshal() ([]byte, error) { +func (r *EventLogsExportParams) Marshal() ([]byte, error) { return json.Marshal(r) } -type PartnerUserDeleteRequest map[string]interface{} - -func UnmarshalPartnerUserDeleteRequest(data []byte) (PartnerUserDeleteRequest, error) { - var r PartnerUserDeleteRequest +func UnmarshalEventLogsExportResponse(data []byte) (EventLogsExportResponse, error) { + var r EventLogsExportResponse err := json.Unmarshal(data, &r) return r, err } -func (r *PartnerUserDeleteRequest) Marshal() ([]byte, error) { +func (r *EventLogsExportResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalPartnerUserDeleteResponse(data []byte) (PartnerUserDeleteResponse, error) { - var r PartnerUserDeleteResponse +func UnmarshalEventLogsExportStreamItem(data []byte) (EventLogsExportStreamItem, error) { + var r EventLogsExportStreamItem err := json.Unmarshal(data, &r) return r, err } -func (r *PartnerUserDeleteResponse) Marshal() ([]byte, error) { +func (r *EventLogsExportStreamItem) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalPartnerUserFetchParams(data []byte) (PartnerUserFetchParams, error) { - var r PartnerUserFetchParams +func UnmarshalDecisionCreateRequest(data []byte) (DecisionCreateRequest, error) { + var r DecisionCreateRequest err := json.Unmarshal(data, &r) return r, err } -func (r *PartnerUserFetchParams) Marshal() ([]byte, error) { +func (r *DecisionCreateRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalPartnerUserFetchResponse(data []byte) (PartnerUserFetchResponse, error) { - var r PartnerUserFetchResponse +func UnmarshalDecisionCreateResponse(data []byte) (DecisionCreateResponse, error) { + var r DecisionCreateResponse err := json.Unmarshal(data, &r) return r, err } -func (r *PartnerUserFetchResponse) Marshal() ([]byte, error) { +func (r *DecisionCreateResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalPartnerUserSessionCreateParams(data []byte) (PartnerUserSessionCreateParams, error) { - var r PartnerUserSessionCreateParams +func UnmarshalDatasetListParams(data []byte) (DatasetListParams, error) { + var r DatasetListParams err := json.Unmarshal(data, &r) return r, err } -func (r *PartnerUserSessionCreateParams) Marshal() ([]byte, error) { +func (r *DatasetListParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalPartnerUserSessionCreateRequest(data []byte) (PartnerUserSessionCreateRequest, error) { - var r PartnerUserSessionCreateRequest +func UnmarshalDatasetListResponse(data []byte) (DatasetListResponse, error) { + var r DatasetListResponse err := json.Unmarshal(data, &r) return r, err } -func (r *PartnerUserSessionCreateRequest) Marshal() ([]byte, error) { +func (r *DatasetListResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalPartnerUserSessionCreateResponse(data []byte) (PartnerUserSessionCreateResponse, error) { - var r PartnerUserSessionCreateResponse +func UnmarshalDatasetListStreamItem(data []byte) (DatasetListStreamItem, error) { + var r DatasetListStreamItem err := json.Unmarshal(data, &r) return r, err } -func (r *PartnerUserSessionCreateResponse) Marshal() ([]byte, error) { +func (r *DatasetListStreamItem) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalPartnerUserTokenDeleteParams(data []byte) (PartnerUserTokenDeleteParams, error) { - var r PartnerUserTokenDeleteParams +func UnmarshalDatasetCreateRequest(data []byte) (DatasetCreateRequest, error) { + var r DatasetCreateRequest err := json.Unmarshal(data, &r) return r, err } -func (r *PartnerUserTokenDeleteParams) Marshal() ([]byte, error) { +func (r *DatasetCreateRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -type PartnerUserTokenDeleteRequest map[string]interface{} - -func UnmarshalPartnerUserTokenDeleteRequest(data []byte) (PartnerUserTokenDeleteRequest, error) { - var r PartnerUserTokenDeleteRequest +func UnmarshalDatasetCreateResponse(data []byte) (DatasetCreateResponse, error) { + var r DatasetCreateResponse err := json.Unmarshal(data, &r) return r, err } -func (r *PartnerUserTokenDeleteRequest) Marshal() ([]byte, error) { +func (r *DatasetCreateResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalPartnerUserTokenDeleteResponse(data []byte) (PartnerUserTokenDeleteResponse, error) { - var r PartnerUserTokenDeleteResponse +func UnmarshalDatasetUpdateParams(data []byte) (DatasetUpdateParams, error) { + var r DatasetUpdateParams err := json.Unmarshal(data, &r) return r, err } -func (r *PartnerUserTokenDeleteResponse) Marshal() ([]byte, error) { +func (r *DatasetUpdateParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalPartnerUserTokenUpdateParams(data []byte) (PartnerUserTokenUpdateParams, error) { - var r PartnerUserTokenUpdateParams +func UnmarshalDatasetUpdateRequest(data []byte) (DatasetUpdateRequest, error) { + var r DatasetUpdateRequest err := json.Unmarshal(data, &r) return r, err } -func (r *PartnerUserTokenUpdateParams) Marshal() ([]byte, error) { +func (r *DatasetUpdateRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalPartnerUserTokenUpdateRequest(data []byte) (PartnerUserTokenUpdateRequest, error) { - var r PartnerUserTokenUpdateRequest +func UnmarshalDatasetUpdateResponse(data []byte) (DatasetUpdateResponse, error) { + var r DatasetUpdateResponse err := json.Unmarshal(data, &r) return r, err } -func (r *PartnerUserTokenUpdateRequest) Marshal() ([]byte, error) { +func (r *DatasetUpdateResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalPartnerUserTokenUpdateResponse(data []byte) (PartnerUserTokenUpdateResponse, error) { - var r PartnerUserTokenUpdateResponse +func UnmarshalDatasetSearchParams(data []byte) (DatasetSearchParams, error) { + var r DatasetSearchParams err := json.Unmarshal(data, &r) return r, err } -func (r *PartnerUserTokenUpdateResponse) Marshal() ([]byte, error) { +func (r *DatasetSearchParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalPartnerUserTokenCreateParams(data []byte) (PartnerUserTokenCreateParams, error) { - var r PartnerUserTokenCreateParams +func UnmarshalDatasetSearchRequest(data []byte) (DatasetSearchRequest, error) { + var r DatasetSearchRequest err := json.Unmarshal(data, &r) return r, err } -func (r *PartnerUserTokenCreateParams) Marshal() ([]byte, error) { +func (r *DatasetSearchRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalPartnerUserTokenCreateRequest(data []byte) (PartnerUserTokenCreateRequest, error) { - var r PartnerUserTokenCreateRequest +func UnmarshalDatasetSearchResponse(data []byte) (DatasetSearchResponse, error) { + var r DatasetSearchResponse err := json.Unmarshal(data, &r) return r, err } -func (r *PartnerUserTokenCreateRequest) Marshal() ([]byte, error) { +func (r *DatasetSearchResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalPartnerUserTokenCreateResponse(data []byte) (PartnerUserTokenCreateResponse, error) { - var r PartnerUserTokenCreateResponse +func UnmarshalDatasetFetchParams(data []byte) (DatasetFetchParams, error) { + var r DatasetFetchParams err := json.Unmarshal(data, &r) return r, err } -func (r *PartnerUserTokenCreateResponse) Marshal() ([]byte, error) { +func (r *DatasetFetchParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalPartnerUserTokenListParams(data []byte) (PartnerUserTokenListParams, error) { - var r PartnerUserTokenListParams +func UnmarshalDatasetFetchResponse(data []byte) (DatasetFetchResponse, error) { + var r DatasetFetchResponse err := json.Unmarshal(data, &r) return r, err } -func (r *PartnerUserTokenListParams) Marshal() ([]byte, error) { +func (r *DatasetFetchResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalPartnerUserTokenListResponse(data []byte) (PartnerUserTokenListResponse, error) { - var r PartnerUserTokenListResponse +func UnmarshalDatasetDeleteParams(data []byte) (DatasetDeleteParams, error) { + var r DatasetDeleteParams err := json.Unmarshal(data, &r) return r, err } -func (r *PartnerUserTokenListResponse) Marshal() ([]byte, error) { +func (r *DatasetDeleteParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalPartnerUserTokenListStreamItem(data []byte) (PartnerUserTokenListStreamItem, error) { - var r PartnerUserTokenListStreamItem +type DatasetDeleteRequest map[string]interface{} + +func UnmarshalDatasetDeleteRequest(data []byte) (DatasetDeleteRequest, error) { + var r DatasetDeleteRequest err := json.Unmarshal(data, &r) return r, err } -func (r *PartnerUserTokenListStreamItem) Marshal() ([]byte, error) { +func (r *DatasetDeleteRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalPartnerUserUpdateParams(data []byte) (PartnerUserUpdateParams, error) { - var r PartnerUserUpdateParams +func UnmarshalDatasetDeleteResponse(data []byte) (DatasetDeleteResponse, error) { + var r DatasetDeleteResponse err := json.Unmarshal(data, &r) return r, err } -func (r *PartnerUserUpdateParams) Marshal() ([]byte, error) { +func (r *DatasetDeleteResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalPartnerUserUpdateRequest(data []byte) (PartnerUserUpdateRequest, error) { - var r PartnerUserUpdateRequest +func UnmarshalDatasetRecordListParams(data []byte) (DatasetRecordListParams, error) { + var r DatasetRecordListParams err := json.Unmarshal(data, &r) return r, err } -func (r *PartnerUserUpdateRequest) Marshal() ([]byte, error) { +func (r *DatasetRecordListParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalPartnerUserUpdateResponse(data []byte) (PartnerUserUpdateResponse, error) { - var r PartnerUserUpdateResponse +func UnmarshalDatasetRecordListResponse(data []byte) (DatasetRecordListResponse, error) { + var r DatasetRecordListResponse err := json.Unmarshal(data, &r) return r, err } -func (r *PartnerUserUpdateResponse) Marshal() ([]byte, error) { +func (r *DatasetRecordListResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalPartnerUserCreateRequest(data []byte) (PartnerUserCreateRequest, error) { - var r PartnerUserCreateRequest +func UnmarshalDatasetRecordListStreamItem(data []byte) (DatasetRecordListStreamItem, error) { + var r DatasetRecordListStreamItem err := json.Unmarshal(data, &r) return r, err } -func (r *PartnerUserCreateRequest) Marshal() ([]byte, error) { +func (r *DatasetRecordListStreamItem) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalPartnerUserCreateResponse(data []byte) (PartnerUserCreateResponse, error) { - var r PartnerUserCreateResponse +func UnmarshalDatasetRecordsExportParams(data []byte) (DatasetRecordsExportParams, error) { + var r DatasetRecordsExportParams err := json.Unmarshal(data, &r) return r, err } -func (r *PartnerUserCreateResponse) Marshal() ([]byte, error) { +func (r *DatasetRecordsExportParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalPartnerUserListParams(data []byte) (PartnerUserListParams, error) { - var r PartnerUserListParams +func UnmarshalDatasetRecordsExportResponse(data []byte) (DatasetRecordsExportResponse, error) { + var r DatasetRecordsExportResponse err := json.Unmarshal(data, &r) return r, err } -func (r *PartnerUserListParams) Marshal() ([]byte, error) { +func (r *DatasetRecordsExportResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalPartnerUserListResponse(data []byte) (PartnerUserListResponse, error) { - var r PartnerUserListResponse +func UnmarshalDatasetRecordsExportStreamItem(data []byte) (DatasetRecordsExportStreamItem, error) { + var r DatasetRecordsExportStreamItem err := json.Unmarshal(data, &r) return r, err } -func (r *PartnerUserListResponse) Marshal() ([]byte, error) { +func (r *DatasetRecordsExportStreamItem) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalPartnerUserListStreamItem(data []byte) (PartnerUserListStreamItem, error) { - var r PartnerUserListStreamItem +func UnmarshalDatasetRecordCreateParams(data []byte) (DatasetRecordCreateParams, error) { + var r DatasetRecordCreateParams err := json.Unmarshal(data, &r) return r, err } -func (r *PartnerUserListStreamItem) Marshal() ([]byte, error) { +func (r *DatasetRecordCreateParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalPlatformAbilityListParams(data []byte) (PlatformAbilityListParams, error) { - var r PlatformAbilityListParams +func UnmarshalDatasetRecordCreateRequest(data []byte) (DatasetRecordCreateRequest, error) { + var r DatasetRecordCreateRequest err := json.Unmarshal(data, &r) return r, err } -func (r *PlatformAbilityListParams) Marshal() ([]byte, error) { +func (r *DatasetRecordCreateRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalPlatformAbilityListResponse(data []byte) (PlatformAbilityListResponse, error) { - var r PlatformAbilityListResponse +func UnmarshalDatasetRecordCreateResponse(data []byte) (DatasetRecordCreateResponse, error) { + var r DatasetRecordCreateResponse err := json.Unmarshal(data, &r) return r, err } -func (r *PlatformAbilityListResponse) Marshal() ([]byte, error) { +func (r *DatasetRecordCreateResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalPlatformAbilityListStreamItem(data []byte) (PlatformAbilityListStreamItem, error) { - var r PlatformAbilityListStreamItem +func UnmarshalDatasetRecordUpdateParams(data []byte) (DatasetRecordUpdateParams, error) { + var r DatasetRecordUpdateParams err := json.Unmarshal(data, &r) return r, err } -func (r *PlatformAbilityListStreamItem) Marshal() ([]byte, error) { +func (r *DatasetRecordUpdateParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalPlatformAbilitiesSearchRequest(data []byte) (PlatformAbilitiesSearchRequest, error) { - var r PlatformAbilitiesSearchRequest +func UnmarshalDatasetRecordUpdateRequest(data []byte) (DatasetRecordUpdateRequest, error) { + var r DatasetRecordUpdateRequest err := json.Unmarshal(data, &r) return r, err } -func (r *PlatformAbilitiesSearchRequest) Marshal() ([]byte, error) { +func (r *DatasetRecordUpdateRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalPlatformAbilitiesSearchResponse(data []byte) (PlatformAbilitiesSearchResponse, error) { - var r PlatformAbilitiesSearchResponse +func UnmarshalDatasetRecordUpdateResponse(data []byte) (DatasetRecordUpdateResponse, error) { + var r DatasetRecordUpdateResponse err := json.Unmarshal(data, &r) return r, err } -func (r *PlatformAbilitiesSearchResponse) Marshal() ([]byte, error) { +func (r *DatasetRecordUpdateResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalPlatformActionListParams(data []byte) (PlatformActionListParams, error) { - var r PlatformActionListParams +func UnmarshalDatasetRecordFetchParams(data []byte) (DatasetRecordFetchParams, error) { + var r DatasetRecordFetchParams err := json.Unmarshal(data, &r) return r, err } -func (r *PlatformActionListParams) Marshal() ([]byte, error) { +func (r *DatasetRecordFetchParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalPlatformActionListResponse(data []byte) (PlatformActionListResponse, error) { - var r PlatformActionListResponse +func UnmarshalDatasetRecordFetchResponse(data []byte) (DatasetRecordFetchResponse, error) { + var r DatasetRecordFetchResponse err := json.Unmarshal(data, &r) return r, err } -func (r *PlatformActionListResponse) Marshal() ([]byte, error) { +func (r *DatasetRecordFetchResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalPlatformActionListStreamItem(data []byte) (PlatformActionListStreamItem, error) { - var r PlatformActionListStreamItem +func UnmarshalDatasetRecordDeleteParams(data []byte) (DatasetRecordDeleteParams, error) { + var r DatasetRecordDeleteParams err := json.Unmarshal(data, &r) return r, err } -func (r *PlatformActionListStreamItem) Marshal() ([]byte, error) { +func (r *DatasetRecordDeleteParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalPlatformDocFetchParams(data []byte) (PlatformDocFetchParams, error) { - var r PlatformDocFetchParams +type DatasetRecordDeleteRequest map[string]interface{} + +func UnmarshalDatasetRecordDeleteRequest(data []byte) (DatasetRecordDeleteRequest, error) { + var r DatasetRecordDeleteRequest err := json.Unmarshal(data, &r) return r, err } -func (r *PlatformDocFetchParams) Marshal() ([]byte, error) { +func (r *DatasetRecordDeleteRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalPlatformDocFetchResponse(data []byte) (PlatformDocFetchResponse, error) { - var r PlatformDocFetchResponse +func UnmarshalDatasetRecordDeleteResponse(data []byte) (DatasetRecordDeleteResponse, error) { + var r DatasetRecordDeleteResponse err := json.Unmarshal(data, &r) return r, err } -func (r *PlatformDocFetchResponse) Marshal() ([]byte, error) { +func (r *DatasetRecordDeleteResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalPlatformDocListParams(data []byte) (PlatformDocListParams, error) { - var r PlatformDocListParams +func UnmarshalDatasetFileListParams(data []byte) (DatasetFileListParams, error) { + var r DatasetFileListParams err := json.Unmarshal(data, &r) return r, err } -func (r *PlatformDocListParams) Marshal() ([]byte, error) { +func (r *DatasetFileListParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalPlatformDocListResponse(data []byte) (PlatformDocListResponse, error) { - var r PlatformDocListResponse +func UnmarshalDatasetFileListResponse(data []byte) (DatasetFileListResponse, error) { + var r DatasetFileListResponse err := json.Unmarshal(data, &r) return r, err } -func (r *PlatformDocListResponse) Marshal() ([]byte, error) { +func (r *DatasetFileListResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalPlatformDocListStreamItem(data []byte) (PlatformDocListStreamItem, error) { - var r PlatformDocListStreamItem +func UnmarshalDatasetFileListStreamItem(data []byte) (DatasetFileListStreamItem, error) { + var r DatasetFileListStreamItem err := json.Unmarshal(data, &r) return r, err } -func (r *PlatformDocListStreamItem) Marshal() ([]byte, error) { +func (r *DatasetFileListStreamItem) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalPlatformDocsSearchRequest(data []byte) (PlatformDocsSearchRequest, error) { - var r PlatformDocsSearchRequest +func UnmarshalDatasetFileSyncParams(data []byte) (DatasetFileSyncParams, error) { + var r DatasetFileSyncParams err := json.Unmarshal(data, &r) return r, err } -func (r *PlatformDocsSearchRequest) Marshal() ([]byte, error) { +func (r *DatasetFileSyncParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalPlatformDocsSearchResponse(data []byte) (PlatformDocsSearchResponse, error) { - var r PlatformDocsSearchResponse +type DatasetFileSyncRequest map[string]interface{} + +func UnmarshalDatasetFileSyncRequest(data []byte) (DatasetFileSyncRequest, error) { + var r DatasetFileSyncRequest err := json.Unmarshal(data, &r) return r, err } -func (r *PlatformDocsSearchResponse) Marshal() ([]byte, error) { +func (r *DatasetFileSyncRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalPlatformExampleCloneParams(data []byte) (PlatformExampleCloneParams, error) { - var r PlatformExampleCloneParams +func UnmarshalDatasetFileSyncResponse(data []byte) (DatasetFileSyncResponse, error) { + var r DatasetFileSyncResponse err := json.Unmarshal(data, &r) return r, err } -func (r *PlatformExampleCloneParams) Marshal() ([]byte, error) { +func (r *DatasetFileSyncResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -type PlatformExampleCloneRequest map[string]interface{} - -func UnmarshalPlatformExampleCloneRequest(data []byte) (PlatformExampleCloneRequest, error) { - var r PlatformExampleCloneRequest +func UnmarshalDatasetFileDetachParams(data []byte) (DatasetFileDetachParams, error) { + var r DatasetFileDetachParams err := json.Unmarshal(data, &r) return r, err } -func (r *PlatformExampleCloneRequest) Marshal() ([]byte, error) { +func (r *DatasetFileDetachParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalPlatformExampleCloneResponse(data []byte) (PlatformExampleCloneResponse, error) { - var r PlatformExampleCloneResponse +func UnmarshalDatasetFileDetachRequest(data []byte) (DatasetFileDetachRequest, error) { + var r DatasetFileDetachRequest err := json.Unmarshal(data, &r) return r, err } -func (r *PlatformExampleCloneResponse) Marshal() ([]byte, error) { +func (r *DatasetFileDetachRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalPlatformExampleFetchParams(data []byte) (PlatformExampleFetchParams, error) { - var r PlatformExampleFetchParams +func UnmarshalDatasetFileDetachResponse(data []byte) (DatasetFileDetachResponse, error) { + var r DatasetFileDetachResponse err := json.Unmarshal(data, &r) return r, err } -func (r *PlatformExampleFetchParams) Marshal() ([]byte, error) { +func (r *DatasetFileDetachResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalPlatformExampleFetchResponse(data []byte) (PlatformExampleFetchResponse, error) { - var r PlatformExampleFetchResponse +func UnmarshalDatasetFileAttachParams(data []byte) (DatasetFileAttachParams, error) { + var r DatasetFileAttachParams err := json.Unmarshal(data, &r) return r, err } -func (r *PlatformExampleFetchResponse) Marshal() ([]byte, error) { +func (r *DatasetFileAttachParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalPlatformExampleListParams(data []byte) (PlatformExampleListParams, error) { - var r PlatformExampleListParams +func UnmarshalDatasetFileAttachRequest(data []byte) (DatasetFileAttachRequest, error) { + var r DatasetFileAttachRequest err := json.Unmarshal(data, &r) return r, err } -func (r *PlatformExampleListParams) Marshal() ([]byte, error) { +func (r *DatasetFileAttachRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalPlatformExampleListResponse(data []byte) (PlatformExampleListResponse, error) { - var r PlatformExampleListResponse +func UnmarshalDatasetFileAttachResponse(data []byte) (DatasetFileAttachResponse, error) { + var r DatasetFileAttachResponse err := json.Unmarshal(data, &r) return r, err } -func (r *PlatformExampleListResponse) Marshal() ([]byte, error) { +func (r *DatasetFileAttachResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalPlatformExampleListStreamItem(data []byte) (PlatformExampleListStreamItem, error) { - var r PlatformExampleListStreamItem +func UnmarshalConversationListParams(data []byte) (ConversationListParams, error) { + var r ConversationListParams err := json.Unmarshal(data, &r) return r, err } -func (r *PlatformExampleListStreamItem) Marshal() ([]byte, error) { +func (r *ConversationListParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalPlatformExamplesSearchRequest(data []byte) (PlatformExamplesSearchRequest, error) { - var r PlatformExamplesSearchRequest +func UnmarshalConversationListResponse(data []byte) (ConversationListResponse, error) { + var r ConversationListResponse err := json.Unmarshal(data, &r) return r, err } -func (r *PlatformExamplesSearchRequest) Marshal() ([]byte, error) { +func (r *ConversationListResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalPlatformExamplesSearchResponse(data []byte) (PlatformExamplesSearchResponse, error) { - var r PlatformExamplesSearchResponse +func UnmarshalConversationListStreamItem(data []byte) (ConversationListStreamItem, error) { + var r ConversationListStreamItem err := json.Unmarshal(data, &r) return r, err } -func (r *PlatformExamplesSearchResponse) Marshal() ([]byte, error) { +func (r *ConversationListStreamItem) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalPlatformGuideFetchParams(data []byte) (PlatformGuideFetchParams, error) { - var r PlatformGuideFetchParams +func UnmarshalConversationsExportParams(data []byte) (ConversationsExportParams, error) { + var r ConversationsExportParams err := json.Unmarshal(data, &r) return r, err } -func (r *PlatformGuideFetchParams) Marshal() ([]byte, error) { +func (r *ConversationsExportParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalPlatformGuideFetchResponse(data []byte) (PlatformGuideFetchResponse, error) { - var r PlatformGuideFetchResponse +func UnmarshalConversationsExportResponse(data []byte) (ConversationsExportResponse, error) { + var r ConversationsExportResponse err := json.Unmarshal(data, &r) return r, err } -func (r *PlatformGuideFetchResponse) Marshal() ([]byte, error) { +func (r *ConversationsExportResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalPlatformGuideListParams(data []byte) (PlatformGuideListParams, error) { - var r PlatformGuideListParams +func UnmarshalConversationsExportStreamItem(data []byte) (ConversationsExportStreamItem, error) { + var r ConversationsExportStreamItem err := json.Unmarshal(data, &r) return r, err } -func (r *PlatformGuideListParams) Marshal() ([]byte, error) { +func (r *ConversationsExportStreamItem) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalPlatformGuideListResponse(data []byte) (PlatformGuideListResponse, error) { - var r PlatformGuideListResponse +func UnmarshalConversationDispatchRequest(data []byte) (ConversationDispatchRequest, error) { + var r ConversationDispatchRequest err := json.Unmarshal(data, &r) return r, err } -func (r *PlatformGuideListResponse) Marshal() ([]byte, error) { +func (r *ConversationDispatchRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalPlatformGuideListStreamItem(data []byte) (PlatformGuideListStreamItem, error) { - var r PlatformGuideListStreamItem +func UnmarshalConversationDispatchResponse(data []byte) (ConversationDispatchResponse, error) { + var r ConversationDispatchResponse err := json.Unmarshal(data, &r) return r, err } -func (r *PlatformGuideListStreamItem) Marshal() ([]byte, error) { +func (r *ConversationDispatchResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalPlatformGuidesSearchRequest(data []byte) (PlatformGuidesSearchRequest, error) { - var r PlatformGuidesSearchRequest +func UnmarshalConversationCreateRequest(data []byte) (ConversationCreateRequest, error) { + var r ConversationCreateRequest err := json.Unmarshal(data, &r) return r, err } -func (r *PlatformGuidesSearchRequest) Marshal() ([]byte, error) { +func (r *ConversationCreateRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalPlatformGuidesSearchResponse(data []byte) (PlatformGuidesSearchResponse, error) { - var r PlatformGuidesSearchResponse +func UnmarshalConversationCreateResponse(data []byte) (ConversationCreateResponse, error) { + var r ConversationCreateResponse err := json.Unmarshal(data, &r) return r, err } -func (r *PlatformGuidesSearchResponse) Marshal() ([]byte, error) { +func (r *ConversationCreateResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalPlatformManualFetchParams(data []byte) (PlatformManualFetchParams, error) { - var r PlatformManualFetchParams +func UnmarshalConversationCompleteRequest(data []byte) (ConversationCompleteRequest, error) { + var r ConversationCompleteRequest err := json.Unmarshal(data, &r) return r, err } -func (r *PlatformManualFetchParams) Marshal() ([]byte, error) { +func (r *ConversationCompleteRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalPlatformManualFetchResponse(data []byte) (PlatformManualFetchResponse, error) { - var r PlatformManualFetchResponse +func UnmarshalConversationCompleteResponse(data []byte) (ConversationCompleteResponse, error) { + var r ConversationCompleteResponse err := json.Unmarshal(data, &r) return r, err } -func (r *PlatformManualFetchResponse) Marshal() ([]byte, error) { +func (r *ConversationCompleteResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalPlatformManualListParams(data []byte) (PlatformManualListParams, error) { - var r PlatformManualListParams +func UnmarshalConversationCompleteStreamItem(data []byte) (ConversationCompleteStreamItem, error) { + var r ConversationCompleteStreamItem err := json.Unmarshal(data, &r) return r, err } -func (r *PlatformManualListParams) Marshal() ([]byte, error) { +func (r *ConversationCompleteStreamItem) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalPlatformManualListResponse(data []byte) (PlatformManualListResponse, error) { - var r PlatformManualListResponse +func UnmarshalConversationStatelessCompactRequest(data []byte) (ConversationStatelessCompactRequest, error) { + var r ConversationStatelessCompactRequest err := json.Unmarshal(data, &r) return r, err } -func (r *PlatformManualListResponse) Marshal() ([]byte, error) { +func (r *ConversationStatelessCompactRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalPlatformManualListStreamItem(data []byte) (PlatformManualListStreamItem, error) { - var r PlatformManualListStreamItem +func UnmarshalConversationStatelessCompactResponse(data []byte) (ConversationStatelessCompactResponse, error) { + var r ConversationStatelessCompactResponse err := json.Unmarshal(data, &r) return r, err } -func (r *PlatformManualListStreamItem) Marshal() ([]byte, error) { +func (r *ConversationStatelessCompactResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalPlatformManualsSearchRequest(data []byte) (PlatformManualsSearchRequest, error) { - var r PlatformManualsSearchRequest +func UnmarshalConversationUpvoteParams(data []byte) (ConversationUpvoteParams, error) { + var r ConversationUpvoteParams err := json.Unmarshal(data, &r) return r, err } -func (r *PlatformManualsSearchRequest) Marshal() ([]byte, error) { +func (r *ConversationUpvoteParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalPlatformManualsSearchResponse(data []byte) (PlatformManualsSearchResponse, error) { - var r PlatformManualsSearchResponse +func UnmarshalConversationUpvoteRequest(data []byte) (ConversationUpvoteRequest, error) { + var r ConversationUpvoteRequest err := json.Unmarshal(data, &r) return r, err } -func (r *PlatformManualsSearchResponse) Marshal() ([]byte, error) { +func (r *ConversationUpvoteRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalPlatformModelListParams(data []byte) (PlatformModelListParams, error) { - var r PlatformModelListParams +func UnmarshalConversationUpvoteResponse(data []byte) (ConversationUpvoteResponse, error) { + var r ConversationUpvoteResponse err := json.Unmarshal(data, &r) return r, err } -func (r *PlatformModelListParams) Marshal() ([]byte, error) { +func (r *ConversationUpvoteResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalPlatformModelListResponse(data []byte) (PlatformModelListResponse, error) { - var r PlatformModelListResponse +func UnmarshalConversationUpdateParams(data []byte) (ConversationUpdateParams, error) { + var r ConversationUpdateParams err := json.Unmarshal(data, &r) return r, err } -func (r *PlatformModelListResponse) Marshal() ([]byte, error) { +func (r *ConversationUpdateParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalPlatformModelListStreamItem(data []byte) (PlatformModelListStreamItem, error) { - var r PlatformModelListStreamItem +func UnmarshalConversationUpdateRequest(data []byte) (ConversationUpdateRequest, error) { + var r ConversationUpdateRequest err := json.Unmarshal(data, &r) return r, err } -func (r *PlatformModelListStreamItem) Marshal() ([]byte, error) { +func (r *ConversationUpdateRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalPlatformSecretListParams(data []byte) (PlatformSecretListParams, error) { - var r PlatformSecretListParams +func UnmarshalConversationUpdateResponse(data []byte) (ConversationUpdateResponse, error) { + var r ConversationUpdateResponse err := json.Unmarshal(data, &r) return r, err } -func (r *PlatformSecretListParams) Marshal() ([]byte, error) { +func (r *ConversationUpdateResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalPlatformSecretListResponse(data []byte) (PlatformSecretListResponse, error) { - var r PlatformSecretListResponse +func UnmarshalConversationMessageSendParams(data []byte) (ConversationMessageSendParams, error) { + var r ConversationMessageSendParams err := json.Unmarshal(data, &r) return r, err } -func (r *PlatformSecretListResponse) Marshal() ([]byte, error) { +func (r *ConversationMessageSendParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalPlatformSecretListStreamItem(data []byte) (PlatformSecretListStreamItem, error) { - var r PlatformSecretListStreamItem +func UnmarshalConversationMessageSendRequest(data []byte) (ConversationMessageSendRequest, error) { + var r ConversationMessageSendRequest err := json.Unmarshal(data, &r) return r, err } -func (r *PlatformSecretListStreamItem) Marshal() ([]byte, error) { +func (r *ConversationMessageSendRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalPlatformSecretsSearchRequest(data []byte) (PlatformSecretsSearchRequest, error) { - var r PlatformSecretsSearchRequest +func UnmarshalConversationMessageSendResponse(data []byte) (ConversationMessageSendResponse, error) { + var r ConversationMessageSendResponse err := json.Unmarshal(data, &r) return r, err } -func (r *PlatformSecretsSearchRequest) Marshal() ([]byte, error) { +func (r *ConversationMessageSendResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalPlatformSecretsSearchResponse(data []byte) (PlatformSecretsSearchResponse, error) { - var r PlatformSecretsSearchResponse +func UnmarshalConversationMessageSendStreamItem(data []byte) (ConversationMessageSendStreamItem, error) { + var r ConversationMessageSendStreamItem err := json.Unmarshal(data, &r) return r, err } -func (r *PlatformSecretsSearchResponse) Marshal() ([]byte, error) { +func (r *ConversationMessageSendStreamItem) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalPlatformTutorialFetchParams(data []byte) (PlatformTutorialFetchParams, error) { - var r PlatformTutorialFetchParams +func UnmarshalConversationMessageReceiveParams(data []byte) (ConversationMessageReceiveParams, error) { + var r ConversationMessageReceiveParams err := json.Unmarshal(data, &r) return r, err } -func (r *PlatformTutorialFetchParams) Marshal() ([]byte, error) { +func (r *ConversationMessageReceiveParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalPlatformTutorialFetchResponse(data []byte) (PlatformTutorialFetchResponse, error) { - var r PlatformTutorialFetchResponse +func UnmarshalConversationMessageReceiveRequest(data []byte) (ConversationMessageReceiveRequest, error) { + var r ConversationMessageReceiveRequest err := json.Unmarshal(data, &r) return r, err } -func (r *PlatformTutorialFetchResponse) Marshal() ([]byte, error) { +func (r *ConversationMessageReceiveRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalPlatformTutorialListParams(data []byte) (PlatformTutorialListParams, error) { - var r PlatformTutorialListParams +func UnmarshalConversationMessageReceiveResponse(data []byte) (ConversationMessageReceiveResponse, error) { + var r ConversationMessageReceiveResponse err := json.Unmarshal(data, &r) return r, err } -func (r *PlatformTutorialListParams) Marshal() ([]byte, error) { +func (r *ConversationMessageReceiveResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalPlatformTutorialListResponse(data []byte) (PlatformTutorialListResponse, error) { - var r PlatformTutorialListResponse +func UnmarshalConversationMessageReceiveStreamItem(data []byte) (ConversationMessageReceiveStreamItem, error) { + var r ConversationMessageReceiveStreamItem err := json.Unmarshal(data, &r) return r, err } -func (r *PlatformTutorialListResponse) Marshal() ([]byte, error) { +func (r *ConversationMessageReceiveStreamItem) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalPlatformTutorialListStreamItem(data []byte) (PlatformTutorialListStreamItem, error) { - var r PlatformTutorialListStreamItem +func UnmarshalConversationFetchParams(data []byte) (ConversationFetchParams, error) { + var r ConversationFetchParams err := json.Unmarshal(data, &r) return r, err } -func (r *PlatformTutorialListStreamItem) Marshal() ([]byte, error) { +func (r *ConversationFetchParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalPlatformTutorialsSearchRequest(data []byte) (PlatformTutorialsSearchRequest, error) { - var r PlatformTutorialsSearchRequest +func UnmarshalConversationFetchResponse(data []byte) (ConversationFetchResponse, error) { + var r ConversationFetchResponse err := json.Unmarshal(data, &r) return r, err } -func (r *PlatformTutorialsSearchRequest) Marshal() ([]byte, error) { +func (r *ConversationFetchResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalPlatformTutorialsSearchResponse(data []byte) (PlatformTutorialsSearchResponse, error) { - var r PlatformTutorialsSearchResponse +func UnmarshalConversationDownvoteParams(data []byte) (ConversationDownvoteParams, error) { + var r ConversationDownvoteParams err := json.Unmarshal(data, &r) return r, err } -func (r *PlatformTutorialsSearchResponse) Marshal() ([]byte, error) { +func (r *ConversationDownvoteParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalPolicyDeleteParams(data []byte) (PolicyDeleteParams, error) { - var r PolicyDeleteParams +func UnmarshalConversationDownvoteRequest(data []byte) (ConversationDownvoteRequest, error) { + var r ConversationDownvoteRequest err := json.Unmarshal(data, &r) return r, err } -func (r *PolicyDeleteParams) Marshal() ([]byte, error) { +func (r *ConversationDownvoteRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -type PolicyDeleteRequest map[string]interface{} - -func UnmarshalPolicyDeleteRequest(data []byte) (PolicyDeleteRequest, error) { - var r PolicyDeleteRequest +func UnmarshalConversationDownvoteResponse(data []byte) (ConversationDownvoteResponse, error) { + var r ConversationDownvoteResponse err := json.Unmarshal(data, &r) return r, err } -func (r *PolicyDeleteRequest) Marshal() ([]byte, error) { +func (r *ConversationDownvoteResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalPolicyDeleteResponse(data []byte) (PolicyDeleteResponse, error) { - var r PolicyDeleteResponse +func UnmarshalStatefulConversationDispatchRequest(data []byte) (StatefulConversationDispatchRequest, error) { + var r StatefulConversationDispatchRequest err := json.Unmarshal(data, &r) return r, err } -func (r *PolicyDeleteResponse) Marshal() ([]byte, error) { +func (r *StatefulConversationDispatchRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalPolicyFetchParams(data []byte) (PolicyFetchParams, error) { - var r PolicyFetchParams +func UnmarshalStatefulConversationDispatchResponse(data []byte) (StatefulConversationDispatchResponse, error) { + var r StatefulConversationDispatchResponse err := json.Unmarshal(data, &r) return r, err } -func (r *PolicyFetchParams) Marshal() ([]byte, error) { +func (r *StatefulConversationDispatchResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalPolicyFetchResponse(data []byte) (PolicyFetchResponse, error) { - var r PolicyFetchResponse +func UnmarshalConversationDeleteParams(data []byte) (ConversationDeleteParams, error) { + var r ConversationDeleteParams err := json.Unmarshal(data, &r) return r, err } -func (r *PolicyFetchResponse) Marshal() ([]byte, error) { +func (r *ConversationDeleteParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalPolicyUpdateParams(data []byte) (PolicyUpdateParams, error) { - var r PolicyUpdateParams +type ConversationDeleteRequest map[string]interface{} + +func UnmarshalConversationDeleteRequest(data []byte) (ConversationDeleteRequest, error) { + var r ConversationDeleteRequest err := json.Unmarshal(data, &r) return r, err } -func (r *PolicyUpdateParams) Marshal() ([]byte, error) { +func (r *ConversationDeleteRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalPolicyUpdateRequest(data []byte) (PolicyUpdateRequest, error) { - var r PolicyUpdateRequest +func UnmarshalConversationDeleteResponse(data []byte) (ConversationDeleteResponse, error) { + var r ConversationDeleteResponse err := json.Unmarshal(data, &r) return r, err } -func (r *PolicyUpdateRequest) Marshal() ([]byte, error) { +func (r *ConversationDeleteResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalPolicyUpdateResponse(data []byte) (PolicyUpdateResponse, error) { - var r PolicyUpdateResponse +func UnmarshalConversationMessageCompleteParams(data []byte) (ConversationMessageCompleteParams, error) { + var r ConversationMessageCompleteParams err := json.Unmarshal(data, &r) return r, err } -func (r *PolicyUpdateResponse) Marshal() ([]byte, error) { +func (r *ConversationMessageCompleteParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalPolicyCreateRequest(data []byte) (PolicyCreateRequest, error) { - var r PolicyCreateRequest +func UnmarshalConversationMessageCompleteRequest(data []byte) (ConversationMessageCompleteRequest, error) { + var r ConversationMessageCompleteRequest err := json.Unmarshal(data, &r) return r, err } -func (r *PolicyCreateRequest) Marshal() ([]byte, error) { +func (r *ConversationMessageCompleteRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalPolicyCreateResponse(data []byte) (PolicyCreateResponse, error) { - var r PolicyCreateResponse +func UnmarshalConversationMessageCompleteResponse(data []byte) (ConversationMessageCompleteResponse, error) { + var r ConversationMessageCompleteResponse err := json.Unmarshal(data, &r) return r, err } -func (r *PolicyCreateResponse) Marshal() ([]byte, error) { +func (r *ConversationMessageCompleteResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalPolicyListParams(data []byte) (PolicyListParams, error) { - var r PolicyListParams +func UnmarshalConversationMessageCompleteStreamItem(data []byte) (ConversationMessageCompleteStreamItem, error) { + var r ConversationMessageCompleteStreamItem err := json.Unmarshal(data, &r) return r, err } -func (r *PolicyListParams) Marshal() ([]byte, error) { +func (r *ConversationMessageCompleteStreamItem) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalPolicyListResponse(data []byte) (PolicyListResponse, error) { - var r PolicyListResponse +func UnmarshalConversationCompactParams(data []byte) (ConversationCompactParams, error) { + var r ConversationCompactParams err := json.Unmarshal(data, &r) return r, err } -func (r *PolicyListResponse) Marshal() ([]byte, error) { +func (r *ConversationCompactParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalPolicyListStreamItem(data []byte) (PolicyListStreamItem, error) { - var r PolicyListStreamItem +func UnmarshalConversationCompactResponse(data []byte) (ConversationCompactResponse, error) { + var r ConversationCompactResponse err := json.Unmarshal(data, &r) return r, err } -func (r *PolicyListStreamItem) Marshal() ([]byte, error) { +func (r *ConversationCompactResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalPortalDeleteParams(data []byte) (PortalDeleteParams, error) { - var r PortalDeleteParams +func UnmarshalConversationUsageFetchParams(data []byte) (ConversationUsageFetchParams, error) { + var r ConversationUsageFetchParams err := json.Unmarshal(data, &r) return r, err } -func (r *PortalDeleteParams) Marshal() ([]byte, error) { +func (r *ConversationUsageFetchParams) Marshal() ([]byte, error) { return json.Marshal(r) } -type PortalDeleteRequest map[string]interface{} - -func UnmarshalPortalDeleteRequest(data []byte) (PortalDeleteRequest, error) { - var r PortalDeleteRequest +func UnmarshalConversationUsageFetchResponse(data []byte) (ConversationUsageFetchResponse, error) { + var r ConversationUsageFetchResponse err := json.Unmarshal(data, &r) return r, err } -func (r *PortalDeleteRequest) Marshal() ([]byte, error) { +func (r *ConversationUsageFetchResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalPortalDeleteResponse(data []byte) (PortalDeleteResponse, error) { - var r PortalDeleteResponse +func UnmarshalConversationSessionCreateParams(data []byte) (ConversationSessionCreateParams, error) { + var r ConversationSessionCreateParams err := json.Unmarshal(data, &r) return r, err } -func (r *PortalDeleteResponse) Marshal() ([]byte, error) { +func (r *ConversationSessionCreateParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalPortalFetchParams(data []byte) (PortalFetchParams, error) { - var r PortalFetchParams +func UnmarshalConversationSessionCreateRequest(data []byte) (ConversationSessionCreateRequest, error) { + var r ConversationSessionCreateRequest err := json.Unmarshal(data, &r) return r, err } -func (r *PortalFetchParams) Marshal() ([]byte, error) { +func (r *ConversationSessionCreateRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalPortalFetchResponse(data []byte) (PortalFetchResponse, error) { - var r PortalFetchResponse +func UnmarshalConversationSessionCreateResponse(data []byte) (ConversationSessionCreateResponse, error) { + var r ConversationSessionCreateResponse err := json.Unmarshal(data, &r) return r, err } -func (r *PortalFetchResponse) Marshal() ([]byte, error) { +func (r *ConversationSessionCreateResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalPortalUpdateParams(data []byte) (PortalUpdateParams, error) { - var r PortalUpdateParams +func UnmarshalConversationMessageListParams(data []byte) (ConversationMessageListParams, error) { + var r ConversationMessageListParams err := json.Unmarshal(data, &r) return r, err } -func (r *PortalUpdateParams) Marshal() ([]byte, error) { +func (r *ConversationMessageListParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalPortalUpdateRequest(data []byte) (PortalUpdateRequest, error) { - var r PortalUpdateRequest +func UnmarshalConversationMessageListResponse(data []byte) (ConversationMessageListResponse, error) { + var r ConversationMessageListResponse err := json.Unmarshal(data, &r) return r, err } -func (r *PortalUpdateRequest) Marshal() ([]byte, error) { +func (r *ConversationMessageListResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalPortalUpdateResponse(data []byte) (PortalUpdateResponse, error) { - var r PortalUpdateResponse +func UnmarshalConversationMessageListStreamItem(data []byte) (ConversationMessageListStreamItem, error) { + var r ConversationMessageListStreamItem err := json.Unmarshal(data, &r) return r, err } -func (r *PortalUpdateResponse) Marshal() ([]byte, error) { +func (r *ConversationMessageListStreamItem) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalPortalCreateRequest(data []byte) (PortalCreateRequest, error) { - var r PortalCreateRequest +func UnmarshalConversationMessageCreateParams(data []byte) (ConversationMessageCreateParams, error) { + var r ConversationMessageCreateParams err := json.Unmarshal(data, &r) return r, err } -func (r *PortalCreateRequest) Marshal() ([]byte, error) { +func (r *ConversationMessageCreateParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalPortalCreateResponse(data []byte) (PortalCreateResponse, error) { - var r PortalCreateResponse +func UnmarshalConversationMessageCreateRequest(data []byte) (ConversationMessageCreateRequest, error) { + var r ConversationMessageCreateRequest err := json.Unmarshal(data, &r) return r, err } -func (r *PortalCreateResponse) Marshal() ([]byte, error) { +func (r *ConversationMessageCreateRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalPortalListParams(data []byte) (PortalListParams, error) { - var r PortalListParams +func UnmarshalConversationMessageCreateResponse(data []byte) (ConversationMessageCreateResponse, error) { + var r ConversationMessageCreateResponse err := json.Unmarshal(data, &r) return r, err } -func (r *PortalListParams) Marshal() ([]byte, error) { +func (r *ConversationMessageCreateResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalPortalListResponse(data []byte) (PortalListResponse, error) { - var r PortalListResponse +func UnmarshalConversationMessageUpvoteParams(data []byte) (ConversationMessageUpvoteParams, error) { + var r ConversationMessageUpvoteParams err := json.Unmarshal(data, &r) return r, err } -func (r *PortalListResponse) Marshal() ([]byte, error) { +func (r *ConversationMessageUpvoteParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalPortalListStreamItem(data []byte) (PortalListStreamItem, error) { - var r PortalListStreamItem +func UnmarshalConversationMessageUpvoteRequest(data []byte) (ConversationMessageUpvoteRequest, error) { + var r ConversationMessageUpvoteRequest err := json.Unmarshal(data, &r) return r, err } -func (r *PortalListStreamItem) Marshal() ([]byte, error) { +func (r *ConversationMessageUpvoteRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalSecretAuthenticateParams(data []byte) (SecretAuthenticateParams, error) { - var r SecretAuthenticateParams +func UnmarshalConversationMessageUpvoteResponse(data []byte) (ConversationMessageUpvoteResponse, error) { + var r ConversationMessageUpvoteResponse err := json.Unmarshal(data, &r) return r, err } -func (r *SecretAuthenticateParams) Marshal() ([]byte, error) { +func (r *ConversationMessageUpvoteResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -type SecretAuthenticateRequest map[string]interface{} - -func UnmarshalSecretAuthenticateRequest(data []byte) (SecretAuthenticateRequest, error) { - var r SecretAuthenticateRequest +func UnmarshalConversationMessageUpdateParams(data []byte) (ConversationMessageUpdateParams, error) { + var r ConversationMessageUpdateParams err := json.Unmarshal(data, &r) return r, err } -func (r *SecretAuthenticateRequest) Marshal() ([]byte, error) { +func (r *ConversationMessageUpdateParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalSecretAuthenticateResponse(data []byte) (SecretAuthenticateResponse, error) { - var r SecretAuthenticateResponse +func UnmarshalConversationMessageUpdateRequest(data []byte) (ConversationMessageUpdateRequest, error) { + var r ConversationMessageUpdateRequest err := json.Unmarshal(data, &r) return r, err } -func (r *SecretAuthenticateResponse) Marshal() ([]byte, error) { +func (r *ConversationMessageUpdateRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalSecretDeleteParams(data []byte) (SecretDeleteParams, error) { - var r SecretDeleteParams +func UnmarshalConversationMessageUpdateResponse(data []byte) (ConversationMessageUpdateResponse, error) { + var r ConversationMessageUpdateResponse err := json.Unmarshal(data, &r) return r, err } -func (r *SecretDeleteParams) Marshal() ([]byte, error) { +func (r *ConversationMessageUpdateResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -type SecretDeleteRequest map[string]interface{} - -func UnmarshalSecretDeleteRequest(data []byte) (SecretDeleteRequest, error) { - var r SecretDeleteRequest +func UnmarshalConversationMessageSynthesizeParams(data []byte) (ConversationMessageSynthesizeParams, error) { + var r ConversationMessageSynthesizeParams err := json.Unmarshal(data, &r) return r, err } -func (r *SecretDeleteRequest) Marshal() ([]byte, error) { +func (r *ConversationMessageSynthesizeParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalSecretDeleteResponse(data []byte) (SecretDeleteResponse, error) { - var r SecretDeleteResponse +type ConversationMessageSynthesizeRequest map[string]interface{} + +func UnmarshalConversationMessageSynthesizeRequest(data []byte) (ConversationMessageSynthesizeRequest, error) { + var r ConversationMessageSynthesizeRequest err := json.Unmarshal(data, &r) return r, err } -func (r *SecretDeleteResponse) Marshal() ([]byte, error) { +func (r *ConversationMessageSynthesizeRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalSecretFetchParams(data []byte) (SecretFetchParams, error) { - var r SecretFetchParams +func UnmarshalConversationMessageSynthesizeResponse(data []byte) (ConversationMessageSynthesizeResponse, error) { + var r ConversationMessageSynthesizeResponse err := json.Unmarshal(data, &r) return r, err } -func (r *SecretFetchParams) Marshal() ([]byte, error) { +func (r *ConversationMessageSynthesizeResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalSecretFetchResponse(data []byte) (SecretFetchResponse, error) { - var r SecretFetchResponse +func UnmarshalConversationMessageFetchParams(data []byte) (ConversationMessageFetchParams, error) { + var r ConversationMessageFetchParams err := json.Unmarshal(data, &r) return r, err } -func (r *SecretFetchResponse) Marshal() ([]byte, error) { +func (r *ConversationMessageFetchParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalSecretMintParams(data []byte) (SecretMintParams, error) { - var r SecretMintParams +func UnmarshalConversationMessageFetchResponse(data []byte) (ConversationMessageFetchResponse, error) { + var r ConversationMessageFetchResponse err := json.Unmarshal(data, &r) return r, err } -func (r *SecretMintParams) Marshal() ([]byte, error) { +func (r *ConversationMessageFetchResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalSecretMintResponse(data []byte) (SecretMintResponse, error) { - var r SecretMintResponse +func UnmarshalConversationMessageDownvoteParams(data []byte) (ConversationMessageDownvoteParams, error) { + var r ConversationMessageDownvoteParams err := json.Unmarshal(data, &r) return r, err } -func (r *SecretMintResponse) Marshal() ([]byte, error) { +func (r *ConversationMessageDownvoteParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalSecretProxyParams(data []byte) (SecretProxyParams, error) { - var r SecretProxyParams +func UnmarshalConversationMessageDownvoteRequest(data []byte) (ConversationMessageDownvoteRequest, error) { + var r ConversationMessageDownvoteRequest err := json.Unmarshal(data, &r) return r, err } -func (r *SecretProxyParams) Marshal() ([]byte, error) { +func (r *ConversationMessageDownvoteRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalSecretProxyRequest(data []byte) (SecretProxyRequest, error) { - var r SecretProxyRequest +func UnmarshalConversationMessageDownvoteResponse(data []byte) (ConversationMessageDownvoteResponse, error) { + var r ConversationMessageDownvoteResponse err := json.Unmarshal(data, &r) return r, err } -func (r *SecretProxyRequest) Marshal() ([]byte, error) { +func (r *ConversationMessageDownvoteResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalSecretRevokeParams(data []byte) (SecretRevokeParams, error) { - var r SecretRevokeParams +func UnmarshalConversationMessageDeleteParams(data []byte) (ConversationMessageDeleteParams, error) { + var r ConversationMessageDeleteParams err := json.Unmarshal(data, &r) return r, err } -func (r *SecretRevokeParams) Marshal() ([]byte, error) { +func (r *ConversationMessageDeleteParams) Marshal() ([]byte, error) { return json.Marshal(r) } -type SecretRevokeRequest map[string]interface{} +type ConversationMessageDeleteRequest map[string]interface{} -func UnmarshalSecretRevokeRequest(data []byte) (SecretRevokeRequest, error) { - var r SecretRevokeRequest +func UnmarshalConversationMessageDeleteRequest(data []byte) (ConversationMessageDeleteRequest, error) { + var r ConversationMessageDeleteRequest err := json.Unmarshal(data, &r) return r, err } -func (r *SecretRevokeRequest) Marshal() ([]byte, error) { +func (r *ConversationMessageDeleteRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalSecretRevokeResponse(data []byte) (SecretRevokeResponse, error) { - var r SecretRevokeResponse +func UnmarshalConversationMessageDeleteResponse(data []byte) (ConversationMessageDeleteResponse, error) { + var r ConversationMessageDeleteResponse err := json.Unmarshal(data, &r) return r, err } -func (r *SecretRevokeResponse) Marshal() ([]byte, error) { +func (r *ConversationMessageDeleteResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalSecretUpdateParams(data []byte) (SecretUpdateParams, error) { - var r SecretUpdateParams +func UnmarshalConversationContactUpsertParams(data []byte) (ConversationContactUpsertParams, error) { + var r ConversationContactUpsertParams err := json.Unmarshal(data, &r) return r, err } -func (r *SecretUpdateParams) Marshal() ([]byte, error) { +func (r *ConversationContactUpsertParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalSecretUpdateRequest(data []byte) (SecretUpdateRequest, error) { - var r SecretUpdateRequest +func UnmarshalConversationContactUpsertRequest(data []byte) (ConversationContactUpsertRequest, error) { + var r ConversationContactUpsertRequest err := json.Unmarshal(data, &r) return r, err } -func (r *SecretUpdateRequest) Marshal() ([]byte, error) { +func (r *ConversationContactUpsertRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalSecretUpdateResponse(data []byte) (SecretUpdateResponse, error) { - var r SecretUpdateResponse +func UnmarshalConversationContactUpsertResponse(data []byte) (ConversationContactUpsertResponse, error) { + var r ConversationContactUpsertResponse err := json.Unmarshal(data, &r) return r, err } -func (r *SecretUpdateResponse) Marshal() ([]byte, error) { +func (r *ConversationContactUpsertResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalSecretVerifyParams(data []byte) (SecretVerifyParams, error) { - var r SecretVerifyParams +func UnmarshalConversationChannelSubscribeRequest(data []byte) (ConversationChannelSubscribeRequest, error) { + var r ConversationChannelSubscribeRequest err := json.Unmarshal(data, &r) return r, err } -func (r *SecretVerifyParams) Marshal() ([]byte, error) { +func (r *ConversationChannelSubscribeRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -type SecretVerifyRequest map[string]interface{} - -func UnmarshalSecretVerifyRequest(data []byte) (SecretVerifyRequest, error) { - var r SecretVerifyRequest +func UnmarshalConversationChannelSubscribeStreamItem(data []byte) (ConversationChannelSubscribeStreamItem, error) { + var r ConversationChannelSubscribeStreamItem err := json.Unmarshal(data, &r) return r, err } -func (r *SecretVerifyRequest) Marshal() ([]byte, error) { +func (r *ConversationChannelSubscribeStreamItem) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalSecretVerifyResponse(data []byte) (SecretVerifyResponse, error) { - var r SecretVerifyResponse +func UnmarshalConversationAttachmentUploadParams(data []byte) (ConversationAttachmentUploadParams, error) { + var r ConversationAttachmentUploadParams err := json.Unmarshal(data, &r) return r, err } -func (r *SecretVerifyResponse) Marshal() ([]byte, error) { +func (r *ConversationAttachmentUploadParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalSecretCreateRequest(data []byte) (SecretCreateRequest, error) { - var r SecretCreateRequest +func UnmarshalConversationAttachmentUploadRequest(data []byte) (ConversationAttachmentUploadRequest, error) { + var r ConversationAttachmentUploadRequest err := json.Unmarshal(data, &r) return r, err } -func (r *SecretCreateRequest) Marshal() ([]byte, error) { +func (r *ConversationAttachmentUploadRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalSecretCreateResponse(data []byte) (SecretCreateResponse, error) { - var r SecretCreateResponse +func UnmarshalConversationAttachmentUploadResponse(data []byte) (ConversationAttachmentUploadResponse, error) { + var r ConversationAttachmentUploadResponse err := json.Unmarshal(data, &r) return r, err } -func (r *SecretCreateResponse) Marshal() ([]byte, error) { +func (r *ConversationAttachmentUploadResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalSecretListParams(data []byte) (SecretListParams, error) { - var r SecretListParams +func UnmarshalConversationAttachmentListParams(data []byte) (ConversationAttachmentListParams, error) { + var r ConversationAttachmentListParams err := json.Unmarshal(data, &r) return r, err } -func (r *SecretListParams) Marshal() ([]byte, error) { +func (r *ConversationAttachmentListParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalSecretListResponse(data []byte) (SecretListResponse, error) { - var r SecretListResponse +func UnmarshalConversationAttachmentListResponse(data []byte) (ConversationAttachmentListResponse, error) { + var r ConversationAttachmentListResponse err := json.Unmarshal(data, &r) return r, err } -func (r *SecretListResponse) Marshal() ([]byte, error) { +func (r *ConversationAttachmentListResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalSecretListStreamItem(data []byte) (SecretListStreamItem, error) { - var r SecretListStreamItem +func UnmarshalContactListParams(data []byte) (ContactListParams, error) { + var r ContactListParams err := json.Unmarshal(data, &r) return r, err } -func (r *SecretListStreamItem) Marshal() ([]byte, error) { +func (r *ContactListParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalSkillsetAbilityDeleteParams(data []byte) (SkillsetAbilityDeleteParams, error) { - var r SkillsetAbilityDeleteParams +func UnmarshalContactListResponse(data []byte) (ContactListResponse, error) { + var r ContactListResponse err := json.Unmarshal(data, &r) return r, err } -func (r *SkillsetAbilityDeleteParams) Marshal() ([]byte, error) { +func (r *ContactListResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -type SkillsetAbilityDeleteRequest map[string]interface{} - -func UnmarshalSkillsetAbilityDeleteRequest(data []byte) (SkillsetAbilityDeleteRequest, error) { - var r SkillsetAbilityDeleteRequest +func UnmarshalContactListStreamItem(data []byte) (ContactListStreamItem, error) { + var r ContactListStreamItem err := json.Unmarshal(data, &r) return r, err } -func (r *SkillsetAbilityDeleteRequest) Marshal() ([]byte, error) { +func (r *ContactListStreamItem) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalSkillsetAbilityDeleteResponse(data []byte) (SkillsetAbilityDeleteResponse, error) { - var r SkillsetAbilityDeleteResponse +func UnmarshalContactsExportParams(data []byte) (ContactsExportParams, error) { + var r ContactsExportParams err := json.Unmarshal(data, &r) return r, err } -func (r *SkillsetAbilityDeleteResponse) Marshal() ([]byte, error) { +func (r *ContactsExportParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalSkillsetAbilityExecuteParams(data []byte) (SkillsetAbilityExecuteParams, error) { - var r SkillsetAbilityExecuteParams +func UnmarshalContactsExportResponse(data []byte) (ContactsExportResponse, error) { + var r ContactsExportResponse err := json.Unmarshal(data, &r) return r, err } -func (r *SkillsetAbilityExecuteParams) Marshal() ([]byte, error) { +func (r *ContactsExportResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalSkillsetAbilityExecuteRequest(data []byte) (SkillsetAbilityExecuteRequest, error) { - var r SkillsetAbilityExecuteRequest +func UnmarshalContactsExportStreamItem(data []byte) (ContactsExportStreamItem, error) { + var r ContactsExportStreamItem err := json.Unmarshal(data, &r) return r, err } -func (r *SkillsetAbilityExecuteRequest) Marshal() ([]byte, error) { +func (r *ContactsExportStreamItem) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalSkillsetAbilityExecuteResponse(data []byte) (SkillsetAbilityExecuteResponse, error) { - var r SkillsetAbilityExecuteResponse +func UnmarshalContactEnsureRequest(data []byte) (ContactEnsureRequest, error) { + var r ContactEnsureRequest err := json.Unmarshal(data, &r) return r, err } -func (r *SkillsetAbilityExecuteResponse) Marshal() ([]byte, error) { +func (r *ContactEnsureRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalSkillsetAbilityExecuteStreamItem(data []byte) (SkillsetAbilityExecuteStreamItem, error) { - var r SkillsetAbilityExecuteStreamItem +func UnmarshalContactEnsureResponse(data []byte) (ContactEnsureResponse, error) { + var r ContactEnsureResponse err := json.Unmarshal(data, &r) return r, err } -func (r *SkillsetAbilityExecuteStreamItem) Marshal() ([]byte, error) { +func (r *ContactEnsureResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalSkillsetAbilityFetchParams(data []byte) (SkillsetAbilityFetchParams, error) { - var r SkillsetAbilityFetchParams +func UnmarshalContactCreateRequest(data []byte) (ContactCreateRequest, error) { + var r ContactCreateRequest err := json.Unmarshal(data, &r) return r, err } -func (r *SkillsetAbilityFetchParams) Marshal() ([]byte, error) { +func (r *ContactCreateRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalSkillsetAbilityFetchResponse(data []byte) (SkillsetAbilityFetchResponse, error) { - var r SkillsetAbilityFetchResponse +func UnmarshalContactCreateResponse(data []byte) (ContactCreateResponse, error) { + var r ContactCreateResponse err := json.Unmarshal(data, &r) return r, err } -func (r *SkillsetAbilityFetchResponse) Marshal() ([]byte, error) { +func (r *ContactCreateResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalSkillsetAbilityUpdateParams(data []byte) (SkillsetAbilityUpdateParams, error) { - var r SkillsetAbilityUpdateParams +func UnmarshalContactUpdateParams(data []byte) (ContactUpdateParams, error) { + var r ContactUpdateParams err := json.Unmarshal(data, &r) return r, err } -func (r *SkillsetAbilityUpdateParams) Marshal() ([]byte, error) { +func (r *ContactUpdateParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalSkillsetAbilityUpdateRequest(data []byte) (SkillsetAbilityUpdateRequest, error) { - var r SkillsetAbilityUpdateRequest +func UnmarshalContactUpdateRequest(data []byte) (ContactUpdateRequest, error) { + var r ContactUpdateRequest err := json.Unmarshal(data, &r) return r, err } -func (r *SkillsetAbilityUpdateRequest) Marshal() ([]byte, error) { +func (r *ContactUpdateRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalSkillsetAbilityUpdateResponse(data []byte) (SkillsetAbilityUpdateResponse, error) { - var r SkillsetAbilityUpdateResponse +func UnmarshalContactUpdateResponse(data []byte) (ContactUpdateResponse, error) { + var r ContactUpdateResponse err := json.Unmarshal(data, &r) return r, err } -func (r *SkillsetAbilityUpdateResponse) Marshal() ([]byte, error) { +func (r *ContactUpdateResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalSkillsetAbilityCreateParams(data []byte) (SkillsetAbilityCreateParams, error) { - var r SkillsetAbilityCreateParams +func UnmarshalContactFetchParams(data []byte) (ContactFetchParams, error) { + var r ContactFetchParams err := json.Unmarshal(data, &r) return r, err } -func (r *SkillsetAbilityCreateParams) Marshal() ([]byte, error) { +func (r *ContactFetchParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalSkillsetAbilityCreateRequest(data []byte) (SkillsetAbilityCreateRequest, error) { - var r SkillsetAbilityCreateRequest +func UnmarshalContactFetchResponse(data []byte) (ContactFetchResponse, error) { + var r ContactFetchResponse err := json.Unmarshal(data, &r) return r, err } -func (r *SkillsetAbilityCreateRequest) Marshal() ([]byte, error) { +func (r *ContactFetchResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalSkillsetAbilityCreateResponse(data []byte) (SkillsetAbilityCreateResponse, error) { - var r SkillsetAbilityCreateResponse +func UnmarshalContactDeleteParams(data []byte) (ContactDeleteParams, error) { + var r ContactDeleteParams err := json.Unmarshal(data, &r) return r, err } -func (r *SkillsetAbilityCreateResponse) Marshal() ([]byte, error) { +func (r *ContactDeleteParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalSkillsetAbilitiesExportParams(data []byte) (SkillsetAbilitiesExportParams, error) { - var r SkillsetAbilitiesExportParams +type ContactDeleteRequest map[string]interface{} + +func UnmarshalContactDeleteRequest(data []byte) (ContactDeleteRequest, error) { + var r ContactDeleteRequest err := json.Unmarshal(data, &r) return r, err } -func (r *SkillsetAbilitiesExportParams) Marshal() ([]byte, error) { +func (r *ContactDeleteRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalSkillsetAbilitiesExportResponse(data []byte) (SkillsetAbilitiesExportResponse, error) { - var r SkillsetAbilitiesExportResponse +func UnmarshalContactDeleteResponse(data []byte) (ContactDeleteResponse, error) { + var r ContactDeleteResponse err := json.Unmarshal(data, &r) return r, err } -func (r *SkillsetAbilitiesExportResponse) Marshal() ([]byte, error) { +func (r *ContactDeleteResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalSkillsetAbilitiesExportStreamItem(data []byte) (SkillsetAbilitiesExportStreamItem, error) { - var r SkillsetAbilitiesExportStreamItem +func UnmarshalContactTaskListParams(data []byte) (ContactTaskListParams, error) { + var r ContactTaskListParams err := json.Unmarshal(data, &r) return r, err } -func (r *SkillsetAbilitiesExportStreamItem) Marshal() ([]byte, error) { +func (r *ContactTaskListParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalSkillsetAbilityListParams(data []byte) (SkillsetAbilityListParams, error) { - var r SkillsetAbilityListParams +func UnmarshalContactTaskListResponse(data []byte) (ContactTaskListResponse, error) { + var r ContactTaskListResponse err := json.Unmarshal(data, &r) return r, err } -func (r *SkillsetAbilityListParams) Marshal() ([]byte, error) { +func (r *ContactTaskListResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalSkillsetAbilityListResponse(data []byte) (SkillsetAbilityListResponse, error) { - var r SkillsetAbilityListResponse +func UnmarshalContactTaskListStreamItem(data []byte) (ContactTaskListStreamItem, error) { + var r ContactTaskListStreamItem err := json.Unmarshal(data, &r) return r, err } -func (r *SkillsetAbilityListResponse) Marshal() ([]byte, error) { +func (r *ContactTaskListStreamItem) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalSkillsetAbilityListStreamItem(data []byte) (SkillsetAbilityListStreamItem, error) { - var r SkillsetAbilityListStreamItem +func UnmarshalContactSpaceListParams(data []byte) (ContactSpaceListParams, error) { + var r ContactSpaceListParams err := json.Unmarshal(data, &r) return r, err } -func (r *SkillsetAbilityListStreamItem) Marshal() ([]byte, error) { +func (r *ContactSpaceListParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalSkillsetDeleteParams(data []byte) (SkillsetDeleteParams, error) { - var r SkillsetDeleteParams +func UnmarshalContactSpaceListResponse(data []byte) (ContactSpaceListResponse, error) { + var r ContactSpaceListResponse err := json.Unmarshal(data, &r) return r, err } -func (r *SkillsetDeleteParams) Marshal() ([]byte, error) { +func (r *ContactSpaceListResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -type SkillsetDeleteRequest map[string]interface{} - -func UnmarshalSkillsetDeleteRequest(data []byte) (SkillsetDeleteRequest, error) { - var r SkillsetDeleteRequest +func UnmarshalContactSpaceListStreamItem(data []byte) (ContactSpaceListStreamItem, error) { + var r ContactSpaceListStreamItem err := json.Unmarshal(data, &r) return r, err } -func (r *SkillsetDeleteRequest) Marshal() ([]byte, error) { +func (r *ContactSpaceListStreamItem) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalSkillsetDeleteResponse(data []byte) (SkillsetDeleteResponse, error) { - var r SkillsetDeleteResponse +func UnmarshalContactSecretListParams(data []byte) (ContactSecretListParams, error) { + var r ContactSecretListParams err := json.Unmarshal(data, &r) return r, err } -func (r *SkillsetDeleteResponse) Marshal() ([]byte, error) { +func (r *ContactSecretListParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalSkillsetFetchParams(data []byte) (SkillsetFetchParams, error) { - var r SkillsetFetchParams +func UnmarshalContactSecretListResponse(data []byte) (ContactSecretListResponse, error) { + var r ContactSecretListResponse err := json.Unmarshal(data, &r) return r, err } -func (r *SkillsetFetchParams) Marshal() ([]byte, error) { +func (r *ContactSecretListResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalSkillsetFetchResponse(data []byte) (SkillsetFetchResponse, error) { - var r SkillsetFetchResponse +func UnmarshalContactSecretListStreamItem(data []byte) (ContactSecretListStreamItem, error) { + var r ContactSecretListStreamItem err := json.Unmarshal(data, &r) return r, err } -func (r *SkillsetFetchResponse) Marshal() ([]byte, error) { +func (r *ContactSecretListStreamItem) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalSkillsetUpdateParams(data []byte) (SkillsetUpdateParams, error) { - var r SkillsetUpdateParams +func UnmarshalContactSecretVerifyParams(data []byte) (ContactSecretVerifyParams, error) { + var r ContactSecretVerifyParams err := json.Unmarshal(data, &r) return r, err } -func (r *SkillsetUpdateParams) Marshal() ([]byte, error) { +func (r *ContactSecretVerifyParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalSkillsetUpdateRequest(data []byte) (SkillsetUpdateRequest, error) { - var r SkillsetUpdateRequest +type ContactSecretVerifyRequest map[string]interface{} + +func UnmarshalContactSecretVerifyRequest(data []byte) (ContactSecretVerifyRequest, error) { + var r ContactSecretVerifyRequest err := json.Unmarshal(data, &r) return r, err } -func (r *SkillsetUpdateRequest) Marshal() ([]byte, error) { +func (r *ContactSecretVerifyRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalSkillsetUpdateResponse(data []byte) (SkillsetUpdateResponse, error) { - var r SkillsetUpdateResponse +func UnmarshalContactSecretVerifyResponse(data []byte) (ContactSecretVerifyResponse, error) { + var r ContactSecretVerifyResponse err := json.Unmarshal(data, &r) return r, err } -func (r *SkillsetUpdateResponse) Marshal() ([]byte, error) { +func (r *ContactSecretVerifyResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalSkillsetCreateRequest(data []byte) (SkillsetCreateRequest, error) { - var r SkillsetCreateRequest +func UnmarshalContactSecretRevokeParams(data []byte) (ContactSecretRevokeParams, error) { + var r ContactSecretRevokeParams err := json.Unmarshal(data, &r) return r, err } -func (r *SkillsetCreateRequest) Marshal() ([]byte, error) { +func (r *ContactSecretRevokeParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalSkillsetCreateResponse(data []byte) (SkillsetCreateResponse, error) { - var r SkillsetCreateResponse +type ContactSecretRevokeRequest map[string]interface{} + +func UnmarshalContactSecretRevokeRequest(data []byte) (ContactSecretRevokeRequest, error) { + var r ContactSecretRevokeRequest err := json.Unmarshal(data, &r) return r, err } -func (r *SkillsetCreateResponse) Marshal() ([]byte, error) { +func (r *ContactSecretRevokeRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalSkillsetListParams(data []byte) (SkillsetListParams, error) { - var r SkillsetListParams +func UnmarshalContactSecretRevokeResponse(data []byte) (ContactSecretRevokeResponse, error) { + var r ContactSecretRevokeResponse err := json.Unmarshal(data, &r) return r, err } -func (r *SkillsetListParams) Marshal() ([]byte, error) { +func (r *ContactSecretRevokeResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalSkillsetListResponse(data []byte) (SkillsetListResponse, error) { - var r SkillsetListResponse +func UnmarshalContactSecretProxyParams(data []byte) (ContactSecretProxyParams, error) { + var r ContactSecretProxyParams err := json.Unmarshal(data, &r) return r, err } -func (r *SkillsetListResponse) Marshal() ([]byte, error) { +func (r *ContactSecretProxyParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalSkillsetListStreamItem(data []byte) (SkillsetListStreamItem, error) { - var r SkillsetListStreamItem +func UnmarshalContactSecretProxyRequest(data []byte) (ContactSecretProxyRequest, error) { + var r ContactSecretProxyRequest err := json.Unmarshal(data, &r) return r, err } -func (r *SkillsetListStreamItem) Marshal() ([]byte, error) { +func (r *ContactSecretProxyRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalSpaceDeleteParams(data []byte) (SpaceDeleteParams, error) { - var r SpaceDeleteParams +func UnmarshalContactSecretMintParams(data []byte) (ContactSecretMintParams, error) { + var r ContactSecretMintParams err := json.Unmarshal(data, &r) return r, err } -func (r *SpaceDeleteParams) Marshal() ([]byte, error) { +func (r *ContactSecretMintParams) Marshal() ([]byte, error) { return json.Marshal(r) } -type SpaceDeleteRequest map[string]interface{} - -func UnmarshalSpaceDeleteRequest(data []byte) (SpaceDeleteRequest, error) { - var r SpaceDeleteRequest +func UnmarshalContactSecretMintResponse(data []byte) (ContactSecretMintResponse, error) { + var r ContactSecretMintResponse err := json.Unmarshal(data, &r) return r, err } -func (r *SpaceDeleteRequest) Marshal() ([]byte, error) { +func (r *ContactSecretMintResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalSpaceDeleteResponse(data []byte) (SpaceDeleteResponse, error) { - var r SpaceDeleteResponse +func UnmarshalContactSecretAuthenticateParams(data []byte) (ContactSecretAuthenticateParams, error) { + var r ContactSecretAuthenticateParams err := json.Unmarshal(data, &r) return r, err } -func (r *SpaceDeleteResponse) Marshal() ([]byte, error) { +func (r *ContactSecretAuthenticateParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalSpaceFetchParams(data []byte) (SpaceFetchParams, error) { - var r SpaceFetchParams +type ContactSecretAuthenticateRequest map[string]interface{} + +func UnmarshalContactSecretAuthenticateRequest(data []byte) (ContactSecretAuthenticateRequest, error) { + var r ContactSecretAuthenticateRequest err := json.Unmarshal(data, &r) return r, err } -func (r *SpaceFetchParams) Marshal() ([]byte, error) { +func (r *ContactSecretAuthenticateRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalSpaceFetchResponse(data []byte) (SpaceFetchResponse, error) { - var r SpaceFetchResponse +func UnmarshalContactSecretAuthenticateResponse(data []byte) (ContactSecretAuthenticateResponse, error) { + var r ContactSecretAuthenticateResponse err := json.Unmarshal(data, &r) return r, err } -func (r *SpaceFetchResponse) Marshal() ([]byte, error) { +func (r *ContactSecretAuthenticateResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalSpaceSiteDeleteParams(data []byte) (SpaceSiteDeleteParams, error) { - var r SpaceSiteDeleteParams +func UnmarshalContactRatingListParams(data []byte) (ContactRatingListParams, error) { + var r ContactRatingListParams err := json.Unmarshal(data, &r) return r, err } -func (r *SpaceSiteDeleteParams) Marshal() ([]byte, error) { +func (r *ContactRatingListParams) Marshal() ([]byte, error) { return json.Marshal(r) } -type SpaceSiteDeleteRequest map[string]interface{} - -func UnmarshalSpaceSiteDeleteRequest(data []byte) (SpaceSiteDeleteRequest, error) { - var r SpaceSiteDeleteRequest +func UnmarshalContactRatingListResponse(data []byte) (ContactRatingListResponse, error) { + var r ContactRatingListResponse err := json.Unmarshal(data, &r) return r, err } -func (r *SpaceSiteDeleteRequest) Marshal() ([]byte, error) { +func (r *ContactRatingListResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalSpaceSiteDeleteResponse(data []byte) (SpaceSiteDeleteResponse, error) { - var r SpaceSiteDeleteResponse +func UnmarshalContactRatingListStreamItem(data []byte) (ContactRatingListStreamItem, error) { + var r ContactRatingListStreamItem err := json.Unmarshal(data, &r) return r, err } -func (r *SpaceSiteDeleteResponse) Marshal() ([]byte, error) { +func (r *ContactRatingListStreamItem) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalSpaceSiteFetchParams(data []byte) (SpaceSiteFetchParams, error) { - var r SpaceSiteFetchParams +func UnmarshalContactMemorySearchParams(data []byte) (ContactMemorySearchParams, error) { + var r ContactMemorySearchParams err := json.Unmarshal(data, &r) return r, err } -func (r *SpaceSiteFetchParams) Marshal() ([]byte, error) { +func (r *ContactMemorySearchParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalSpaceSiteFetchResponse(data []byte) (SpaceSiteFetchResponse, error) { - var r SpaceSiteFetchResponse +func UnmarshalContactMemorySearchRequest(data []byte) (ContactMemorySearchRequest, error) { + var r ContactMemorySearchRequest err := json.Unmarshal(data, &r) return r, err } -func (r *SpaceSiteFetchResponse) Marshal() ([]byte, error) { +func (r *ContactMemorySearchRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalSpaceSiteUpdateParams(data []byte) (SpaceSiteUpdateParams, error) { - var r SpaceSiteUpdateParams +func UnmarshalContactMemorySearchResponse(data []byte) (ContactMemorySearchResponse, error) { + var r ContactMemorySearchResponse err := json.Unmarshal(data, &r) return r, err } -func (r *SpaceSiteUpdateParams) Marshal() ([]byte, error) { +func (r *ContactMemorySearchResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalSpaceSiteUpdateRequest(data []byte) (SpaceSiteUpdateRequest, error) { - var r SpaceSiteUpdateRequest +func UnmarshalContactMemoryListParams(data []byte) (ContactMemoryListParams, error) { + var r ContactMemoryListParams err := json.Unmarshal(data, &r) return r, err } -func (r *SpaceSiteUpdateRequest) Marshal() ([]byte, error) { +func (r *ContactMemoryListParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalSpaceSiteUpdateResponse(data []byte) (SpaceSiteUpdateResponse, error) { - var r SpaceSiteUpdateResponse +func UnmarshalContactMemoryListResponse(data []byte) (ContactMemoryListResponse, error) { + var r ContactMemoryListResponse err := json.Unmarshal(data, &r) return r, err } -func (r *SpaceSiteUpdateResponse) Marshal() ([]byte, error) { +func (r *ContactMemoryListResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalSpaceSiteCreateParams(data []byte) (SpaceSiteCreateParams, error) { - var r SpaceSiteCreateParams +func UnmarshalContactMemoryListStreamItem(data []byte) (ContactMemoryListStreamItem, error) { + var r ContactMemoryListStreamItem err := json.Unmarshal(data, &r) return r, err } -func (r *SpaceSiteCreateParams) Marshal() ([]byte, error) { +func (r *ContactMemoryListStreamItem) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalSpaceSiteCreateRequest(data []byte) (SpaceSiteCreateRequest, error) { - var r SpaceSiteCreateRequest +func UnmarshalContactConversationListParams(data []byte) (ContactConversationListParams, error) { + var r ContactConversationListParams err := json.Unmarshal(data, &r) return r, err } -func (r *SpaceSiteCreateRequest) Marshal() ([]byte, error) { +func (r *ContactConversationListParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalSpaceSiteCreateResponse(data []byte) (SpaceSiteCreateResponse, error) { - var r SpaceSiteCreateResponse +func UnmarshalContactConversationListResponse(data []byte) (ContactConversationListResponse, error) { + var r ContactConversationListResponse err := json.Unmarshal(data, &r) return r, err } -func (r *SpaceSiteCreateResponse) Marshal() ([]byte, error) { +func (r *ContactConversationListResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalSpaceSiteListParams(data []byte) (SpaceSiteListParams, error) { - var r SpaceSiteListParams +func UnmarshalContactConversationListStreamItem(data []byte) (ContactConversationListStreamItem, error) { + var r ContactConversationListStreamItem err := json.Unmarshal(data, &r) return r, err } -func (r *SpaceSiteListParams) Marshal() ([]byte, error) { +func (r *ContactConversationListStreamItem) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalSpaceSiteListResponse(data []byte) (SpaceSiteListResponse, error) { - var r SpaceSiteListResponse +func UnmarshalChannelMessagesSubscribeParams(data []byte) (ChannelMessagesSubscribeParams, error) { + var r ChannelMessagesSubscribeParams err := json.Unmarshal(data, &r) return r, err } -func (r *SpaceSiteListResponse) Marshal() ([]byte, error) { +func (r *ChannelMessagesSubscribeParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalSpaceSiteListStreamItem(data []byte) (SpaceSiteListStreamItem, error) { - var r SpaceSiteListStreamItem +func UnmarshalChannelMessagesSubscribeRequest(data []byte) (ChannelMessagesSubscribeRequest, error) { + var r ChannelMessagesSubscribeRequest err := json.Unmarshal(data, &r) return r, err } -func (r *SpaceSiteListStreamItem) Marshal() ([]byte, error) { +func (r *ChannelMessagesSubscribeRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalSpaceStoragePathCopyParams(data []byte) (SpaceStoragePathCopyParams, error) { - var r SpaceStoragePathCopyParams +func UnmarshalChannelMessagesSubscribeStreamItem(data []byte) (ChannelMessagesSubscribeStreamItem, error) { + var r ChannelMessagesSubscribeStreamItem err := json.Unmarshal(data, &r) return r, err } -func (r *SpaceStoragePathCopyParams) Marshal() ([]byte, error) { +func (r *ChannelMessagesSubscribeStreamItem) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalSpaceStoragePathCopyRequest(data []byte) (SpaceStoragePathCopyRequest, error) { - var r SpaceStoragePathCopyRequest +func UnmarshalChannelMessagePublishParams(data []byte) (ChannelMessagePublishParams, error) { + var r ChannelMessagePublishParams err := json.Unmarshal(data, &r) return r, err } -func (r *SpaceStoragePathCopyRequest) Marshal() ([]byte, error) { +func (r *ChannelMessagePublishParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalSpaceStoragePathCopyResponse(data []byte) (SpaceStoragePathCopyResponse, error) { - var r SpaceStoragePathCopyResponse +func UnmarshalChannelMessagePublishRequest(data []byte) (ChannelMessagePublishRequest, error) { + var r ChannelMessagePublishRequest err := json.Unmarshal(data, &r) return r, err } -func (r *SpaceStoragePathCopyResponse) Marshal() ([]byte, error) { +func (r *ChannelMessagePublishRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalSpaceStoragePathDeleteParams(data []byte) (SpaceStoragePathDeleteParams, error) { - var r SpaceStoragePathDeleteParams +func UnmarshalChannelMessagePublishResponse(data []byte) (ChannelMessagePublishResponse, error) { + var r ChannelMessagePublishResponse err := json.Unmarshal(data, &r) return r, err } -func (r *SpaceStoragePathDeleteParams) Marshal() ([]byte, error) { +func (r *ChannelMessagePublishResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalSpaceStoragePathDeleteRequest(data []byte) (SpaceStoragePathDeleteRequest, error) { - var r SpaceStoragePathDeleteRequest +func UnmarshalBotListParams(data []byte) (BotListParams, error) { + var r BotListParams err := json.Unmarshal(data, &r) return r, err } -func (r *SpaceStoragePathDeleteRequest) Marshal() ([]byte, error) { +func (r *BotListParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalSpaceStoragePathDeleteResponse(data []byte) (SpaceStoragePathDeleteResponse, error) { - var r SpaceStoragePathDeleteResponse +func UnmarshalBotListResponse(data []byte) (BotListResponse, error) { + var r BotListResponse err := json.Unmarshal(data, &r) return r, err } -func (r *SpaceStoragePathDeleteResponse) Marshal() ([]byte, error) { +func (r *BotListResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalSpaceStoragePathDownloadParams(data []byte) (SpaceStoragePathDownloadParams, error) { - var r SpaceStoragePathDownloadParams +func UnmarshalBotListStreamItem(data []byte) (BotListStreamItem, error) { + var r BotListStreamItem err := json.Unmarshal(data, &r) return r, err } -func (r *SpaceStoragePathDownloadParams) Marshal() ([]byte, error) { +func (r *BotListStreamItem) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalSpaceStoragePathDownloadResponse(data []byte) (SpaceStoragePathDownloadResponse, error) { - var r SpaceStoragePathDownloadResponse +func UnmarshalBotCreateRequest(data []byte) (BotCreateRequest, error) { + var r BotCreateRequest err := json.Unmarshal(data, &r) return r, err } -func (r *SpaceStoragePathDownloadResponse) Marshal() ([]byte, error) { +func (r *BotCreateRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalSpaceStoragePathListParams(data []byte) (SpaceStoragePathListParams, error) { - var r SpaceStoragePathListParams +func UnmarshalBotCreateResponse(data []byte) (BotCreateResponse, error) { + var r BotCreateResponse err := json.Unmarshal(data, &r) return r, err } -func (r *SpaceStoragePathListParams) Marshal() ([]byte, error) { +func (r *BotCreateResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalSpaceStoragePathListResponse(data []byte) (SpaceStoragePathListResponse, error) { - var r SpaceStoragePathListResponse +func UnmarshalBotUpvoteParams(data []byte) (BotUpvoteParams, error) { + var r BotUpvoteParams err := json.Unmarshal(data, &r) return r, err } -func (r *SpaceStoragePathListResponse) Marshal() ([]byte, error) { +func (r *BotUpvoteParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalSpaceStoragePathMoveParams(data []byte) (SpaceStoragePathMoveParams, error) { - var r SpaceStoragePathMoveParams +func UnmarshalBotUpvoteRequest(data []byte) (BotUpvoteRequest, error) { + var r BotUpvoteRequest err := json.Unmarshal(data, &r) return r, err } -func (r *SpaceStoragePathMoveParams) Marshal() ([]byte, error) { +func (r *BotUpvoteRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalSpaceStoragePathMoveRequest(data []byte) (SpaceStoragePathMoveRequest, error) { - var r SpaceStoragePathMoveRequest +func UnmarshalBotUpvoteResponse(data []byte) (BotUpvoteResponse, error) { + var r BotUpvoteResponse err := json.Unmarshal(data, &r) return r, err } -func (r *SpaceStoragePathMoveRequest) Marshal() ([]byte, error) { +func (r *BotUpvoteResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalSpaceStoragePathMoveResponse(data []byte) (SpaceStoragePathMoveResponse, error) { - var r SpaceStoragePathMoveResponse +func UnmarshalBotUpdateParams(data []byte) (BotUpdateParams, error) { + var r BotUpdateParams err := json.Unmarshal(data, &r) return r, err } -func (r *SpaceStoragePathMoveResponse) Marshal() ([]byte, error) { +func (r *BotUpdateParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalSpaceStoragePathUploadParams(data []byte) (SpaceStoragePathUploadParams, error) { - var r SpaceStoragePathUploadParams +func UnmarshalBotUpdateRequest(data []byte) (BotUpdateRequest, error) { + var r BotUpdateRequest err := json.Unmarshal(data, &r) return r, err } -func (r *SpaceStoragePathUploadParams) Marshal() ([]byte, error) { +func (r *BotUpdateRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalSpaceStoragePathUploadRequest(data []byte) (SpaceStoragePathUploadRequest, error) { - var r SpaceStoragePathUploadRequest +func UnmarshalBotUpdateResponse(data []byte) (BotUpdateResponse, error) { + var r BotUpdateResponse err := json.Unmarshal(data, &r) return r, err } -func (r *SpaceStoragePathUploadRequest) Marshal() ([]byte, error) { +func (r *BotUpdateResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalSpaceStoragePathUploadResponse(data []byte) (SpaceStoragePathUploadResponse, error) { - var r SpaceStoragePathUploadResponse +func UnmarshalBotFetchParams(data []byte) (BotFetchParams, error) { + var r BotFetchParams err := json.Unmarshal(data, &r) return r, err } -func (r *SpaceStoragePathUploadResponse) Marshal() ([]byte, error) { +func (r *BotFetchParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalSpaceUpdateParams(data []byte) (SpaceUpdateParams, error) { - var r SpaceUpdateParams +func UnmarshalBotFetchResponse(data []byte) (BotFetchResponse, error) { + var r BotFetchResponse err := json.Unmarshal(data, &r) return r, err } -func (r *SpaceUpdateParams) Marshal() ([]byte, error) { +func (r *BotFetchResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalSpaceUpdateRequest(data []byte) (SpaceUpdateRequest, error) { - var r SpaceUpdateRequest +func UnmarshalBotDownvoteParams(data []byte) (BotDownvoteParams, error) { + var r BotDownvoteParams err := json.Unmarshal(data, &r) return r, err } -func (r *SpaceUpdateRequest) Marshal() ([]byte, error) { +func (r *BotDownvoteParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalSpaceUpdateResponse(data []byte) (SpaceUpdateResponse, error) { - var r SpaceUpdateResponse +func UnmarshalBotDownvoteRequest(data []byte) (BotDownvoteRequest, error) { + var r BotDownvoteRequest err := json.Unmarshal(data, &r) return r, err } -func (r *SpaceUpdateResponse) Marshal() ([]byte, error) { +func (r *BotDownvoteRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalSpaceCreateRequest(data []byte) (SpaceCreateRequest, error) { - var r SpaceCreateRequest +func UnmarshalBotDownvoteResponse(data []byte) (BotDownvoteResponse, error) { + var r BotDownvoteResponse err := json.Unmarshal(data, &r) return r, err } -func (r *SpaceCreateRequest) Marshal() ([]byte, error) { +func (r *BotDownvoteResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalSpaceCreateResponse(data []byte) (SpaceCreateResponse, error) { - var r SpaceCreateResponse +func UnmarshalBotDeleteParams(data []byte) (BotDeleteParams, error) { + var r BotDeleteParams err := json.Unmarshal(data, &r) return r, err } -func (r *SpaceCreateResponse) Marshal() ([]byte, error) { +func (r *BotDeleteParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalSpacesExportParams(data []byte) (SpacesExportParams, error) { - var r SpacesExportParams +type BotDeleteRequest map[string]interface{} + +func UnmarshalBotDeleteRequest(data []byte) (BotDeleteRequest, error) { + var r BotDeleteRequest err := json.Unmarshal(data, &r) return r, err } -func (r *SpacesExportParams) Marshal() ([]byte, error) { +func (r *BotDeleteRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalSpacesExportResponse(data []byte) (SpacesExportResponse, error) { - var r SpacesExportResponse +func UnmarshalBotDeleteResponse(data []byte) (BotDeleteResponse, error) { + var r BotDeleteResponse err := json.Unmarshal(data, &r) return r, err } -func (r *SpacesExportResponse) Marshal() ([]byte, error) { +func (r *BotDeleteResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalSpacesExportStreamItem(data []byte) (SpacesExportStreamItem, error) { - var r SpacesExportStreamItem +func UnmarshalBotCloneParams(data []byte) (BotCloneParams, error) { + var r BotCloneParams err := json.Unmarshal(data, &r) return r, err } -func (r *SpacesExportStreamItem) Marshal() ([]byte, error) { +func (r *BotCloneParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalSpaceListParams(data []byte) (SpaceListParams, error) { - var r SpaceListParams +type BotCloneRequest map[string]interface{} + +func UnmarshalBotCloneRequest(data []byte) (BotCloneRequest, error) { + var r BotCloneRequest err := json.Unmarshal(data, &r) return r, err } -func (r *SpaceListParams) Marshal() ([]byte, error) { +func (r *BotCloneRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalSpaceListResponse(data []byte) (SpaceListResponse, error) { - var r SpaceListResponse +func UnmarshalBotCloneResponse(data []byte) (BotCloneResponse, error) { + var r BotCloneResponse err := json.Unmarshal(data, &r) return r, err } -func (r *SpaceListResponse) Marshal() ([]byte, error) { +func (r *BotCloneResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalSpaceListStreamItem(data []byte) (SpaceListStreamItem, error) { - var r SpaceListStreamItem +func UnmarshalBotUsageFetchParams(data []byte) (BotUsageFetchParams, error) { + var r BotUsageFetchParams err := json.Unmarshal(data, &r) return r, err } -func (r *SpaceListStreamItem) Marshal() ([]byte, error) { +func (r *BotUsageFetchParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalTaskCancelParams(data []byte) (TaskCancelParams, error) { - var r TaskCancelParams +func UnmarshalBotUsageFetchResponse(data []byte) (BotUsageFetchResponse, error) { + var r BotUsageFetchResponse err := json.Unmarshal(data, &r) return r, err } -func (r *TaskCancelParams) Marshal() ([]byte, error) { +func (r *BotUsageFetchResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -type TaskCancelRequest map[string]interface{} - -func UnmarshalTaskCancelRequest(data []byte) (TaskCancelRequest, error) { - var r TaskCancelRequest +func UnmarshalBotSessionCreateParams(data []byte) (BotSessionCreateParams, error) { + var r BotSessionCreateParams err := json.Unmarshal(data, &r) return r, err } -func (r *TaskCancelRequest) Marshal() ([]byte, error) { +func (r *BotSessionCreateParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalTaskCancelResponse(data []byte) (TaskCancelResponse, error) { - var r TaskCancelResponse +func UnmarshalBotSessionCreateRequest(data []byte) (BotSessionCreateRequest, error) { + var r BotSessionCreateRequest err := json.Unmarshal(data, &r) return r, err } -func (r *TaskCancelResponse) Marshal() ([]byte, error) { +func (r *BotSessionCreateRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalTaskDeleteParams(data []byte) (TaskDeleteParams, error) { - var r TaskDeleteParams +func UnmarshalBotSessionCreateResponse(data []byte) (BotSessionCreateResponse, error) { + var r BotSessionCreateResponse err := json.Unmarshal(data, &r) return r, err } -func (r *TaskDeleteParams) Marshal() ([]byte, error) { +func (r *BotSessionCreateResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -type TaskDeleteRequest map[string]interface{} - -func UnmarshalTaskDeleteRequest(data []byte) (TaskDeleteRequest, error) { - var r TaskDeleteRequest +func UnmarshalBotMemorySearchParams(data []byte) (BotMemorySearchParams, error) { + var r BotMemorySearchParams err := json.Unmarshal(data, &r) return r, err } -func (r *TaskDeleteRequest) Marshal() ([]byte, error) { +func (r *BotMemorySearchParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalTaskDeleteResponse(data []byte) (TaskDeleteResponse, error) { - var r TaskDeleteResponse +func UnmarshalBotMemorySearchRequest(data []byte) (BotMemorySearchRequest, error) { + var r BotMemorySearchRequest err := json.Unmarshal(data, &r) return r, err } -func (r *TaskDeleteResponse) Marshal() ([]byte, error) { +func (r *BotMemorySearchRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalTaskExecutionCancelParams(data []byte) (TaskExecutionCancelParams, error) { - var r TaskExecutionCancelParams +func UnmarshalBotMemorySearchResponse(data []byte) (BotMemorySearchResponse, error) { + var r BotMemorySearchResponse err := json.Unmarshal(data, &r) return r, err } -func (r *TaskExecutionCancelParams) Marshal() ([]byte, error) { +func (r *BotMemorySearchResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -type TaskExecutionCancelRequest map[string]interface{} - -func UnmarshalTaskExecutionCancelRequest(data []byte) (TaskExecutionCancelRequest, error) { - var r TaskExecutionCancelRequest +func UnmarshalBlueprintListParams(data []byte) (BlueprintListParams, error) { + var r BlueprintListParams err := json.Unmarshal(data, &r) return r, err } -func (r *TaskExecutionCancelRequest) Marshal() ([]byte, error) { +func (r *BlueprintListParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalTaskExecutionCancelResponse(data []byte) (TaskExecutionCancelResponse, error) { - var r TaskExecutionCancelResponse +func UnmarshalBlueprintListResponse(data []byte) (BlueprintListResponse, error) { + var r BlueprintListResponse err := json.Unmarshal(data, &r) return r, err } -func (r *TaskExecutionCancelResponse) Marshal() ([]byte, error) { +func (r *BlueprintListResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalTaskExecutionListParams(data []byte) (TaskExecutionListParams, error) { - var r TaskExecutionListParams +func UnmarshalBlueprintListStreamItem(data []byte) (BlueprintListStreamItem, error) { + var r BlueprintListStreamItem err := json.Unmarshal(data, &r) return r, err } -func (r *TaskExecutionListParams) Marshal() ([]byte, error) { +func (r *BlueprintListStreamItem) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalTaskExecutionListResponse(data []byte) (TaskExecutionListResponse, error) { - var r TaskExecutionListResponse +func UnmarshalBlueprintCreateRequest(data []byte) (BlueprintCreateRequest, error) { + var r BlueprintCreateRequest err := json.Unmarshal(data, &r) return r, err } -func (r *TaskExecutionListResponse) Marshal() ([]byte, error) { +func (r *BlueprintCreateRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalTaskExecutionListStreamItem(data []byte) (TaskExecutionListStreamItem, error) { - var r TaskExecutionListStreamItem +func UnmarshalBlueprintCreateResponse(data []byte) (BlueprintCreateResponse, error) { + var r BlueprintCreateResponse err := json.Unmarshal(data, &r) return r, err } -func (r *TaskExecutionListStreamItem) Marshal() ([]byte, error) { +func (r *BlueprintCreateResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalTaskFetchParams(data []byte) (TaskFetchParams, error) { - var r TaskFetchParams +func UnmarshalBlueprintUpdateParams(data []byte) (BlueprintUpdateParams, error) { + var r BlueprintUpdateParams err := json.Unmarshal(data, &r) return r, err } -func (r *TaskFetchParams) Marshal() ([]byte, error) { +func (r *BlueprintUpdateParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalTaskFetchResponse(data []byte) (TaskFetchResponse, error) { - var r TaskFetchResponse +func UnmarshalBlueprintUpdateRequest(data []byte) (BlueprintUpdateRequest, error) { + var r BlueprintUpdateRequest err := json.Unmarshal(data, &r) return r, err } -func (r *TaskFetchResponse) Marshal() ([]byte, error) { +func (r *BlueprintUpdateRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalTaskTriggerParams(data []byte) (TaskTriggerParams, error) { - var r TaskTriggerParams +func UnmarshalBlueprintUpdateResponse(data []byte) (BlueprintUpdateResponse, error) { + var r BlueprintUpdateResponse err := json.Unmarshal(data, &r) return r, err } -func (r *TaskTriggerParams) Marshal() ([]byte, error) { +func (r *BlueprintUpdateResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -type TaskTriggerRequest map[string]interface{} - -func UnmarshalTaskTriggerRequest(data []byte) (TaskTriggerRequest, error) { - var r TaskTriggerRequest +func UnmarshalBlueprintFetchParams(data []byte) (BlueprintFetchParams, error) { + var r BlueprintFetchParams err := json.Unmarshal(data, &r) return r, err } -func (r *TaskTriggerRequest) Marshal() ([]byte, error) { +func (r *BlueprintFetchParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalTaskTriggerResponse(data []byte) (TaskTriggerResponse, error) { - var r TaskTriggerResponse +func UnmarshalBlueprintFetchResponse(data []byte) (BlueprintFetchResponse, error) { + var r BlueprintFetchResponse err := json.Unmarshal(data, &r) return r, err } -func (r *TaskTriggerResponse) Marshal() ([]byte, error) { +func (r *BlueprintFetchResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalTaskUpdateParams(data []byte) (TaskUpdateParams, error) { - var r TaskUpdateParams +func UnmarshalBlueprintDeleteParams(data []byte) (BlueprintDeleteParams, error) { + var r BlueprintDeleteParams err := json.Unmarshal(data, &r) return r, err } -func (r *TaskUpdateParams) Marshal() ([]byte, error) { +func (r *BlueprintDeleteParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalTaskUpdateRequest(data []byte) (TaskUpdateRequest, error) { - var r TaskUpdateRequest +func UnmarshalBlueprintDeleteRequest(data []byte) (BlueprintDeleteRequest, error) { + var r BlueprintDeleteRequest err := json.Unmarshal(data, &r) return r, err } -func (r *TaskUpdateRequest) Marshal() ([]byte, error) { +func (r *BlueprintDeleteRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalTaskUpdateResponse(data []byte) (TaskUpdateResponse, error) { - var r TaskUpdateResponse +func UnmarshalBlueprintDeleteResponse(data []byte) (BlueprintDeleteResponse, error) { + var r BlueprintDeleteResponse err := json.Unmarshal(data, &r) return r, err } -func (r *TaskUpdateResponse) Marshal() ([]byte, error) { +func (r *BlueprintDeleteResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalTaskCreateRequest(data []byte) (TaskCreateRequest, error) { - var r TaskCreateRequest +func UnmarshalBlueprintCloneParams(data []byte) (BlueprintCloneParams, error) { + var r BlueprintCloneParams err := json.Unmarshal(data, &r) return r, err } -func (r *TaskCreateRequest) Marshal() ([]byte, error) { +func (r *BlueprintCloneParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalTaskCreateResponse(data []byte) (TaskCreateResponse, error) { - var r TaskCreateResponse +type BlueprintCloneRequest map[string]interface{} + +func UnmarshalBlueprintCloneRequest(data []byte) (BlueprintCloneRequest, error) { + var r BlueprintCloneRequest err := json.Unmarshal(data, &r) return r, err } -func (r *TaskCreateResponse) Marshal() ([]byte, error) { +func (r *BlueprintCloneRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalTasksExportParams(data []byte) (TasksExportParams, error) { - var r TasksExportParams +func UnmarshalBlueprintCloneResponse(data []byte) (BlueprintCloneResponse, error) { + var r BlueprintCloneResponse err := json.Unmarshal(data, &r) return r, err } -func (r *TasksExportParams) Marshal() ([]byte, error) { +func (r *BlueprintCloneResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalTasksExportResponse(data []byte) (TasksExportResponse, error) { - var r TasksExportResponse +func UnmarshalBlueprintResourceListParams(data []byte) (BlueprintResourceListParams, error) { + var r BlueprintResourceListParams err := json.Unmarshal(data, &r) return r, err } -func (r *TasksExportResponse) Marshal() ([]byte, error) { +func (r *BlueprintResourceListParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalTasksExportStreamItem(data []byte) (TasksExportStreamItem, error) { - var r TasksExportStreamItem +func UnmarshalBlueprintResourceListResponse(data []byte) (BlueprintResourceListResponse, error) { + var r BlueprintResourceListResponse err := json.Unmarshal(data, &r) return r, err } -func (r *TasksExportStreamItem) Marshal() ([]byte, error) { +func (r *BlueprintResourceListResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalTaskListParams(data []byte) (TaskListParams, error) { - var r TaskListParams +func UnmarshalBlueprintResourcesImportParams(data []byte) (BlueprintResourcesImportParams, error) { + var r BlueprintResourcesImportParams err := json.Unmarshal(data, &r) return r, err } -func (r *TaskListParams) Marshal() ([]byte, error) { +func (r *BlueprintResourcesImportParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalTaskListResponse(data []byte) (TaskListResponse, error) { - var r TaskListResponse +func UnmarshalBlueprintResourcesImportRequest(data []byte) (BlueprintResourcesImportRequest, error) { + var r BlueprintResourcesImportRequest err := json.Unmarshal(data, &r) return r, err } -func (r *TaskListResponse) Marshal() ([]byte, error) { +func (r *BlueprintResourcesImportRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalTaskListStreamItem(data []byte) (TaskListStreamItem, error) { - var r TaskListStreamItem +func UnmarshalBlueprintResourcesExportParams(data []byte) (BlueprintResourcesExportParams, error) { + var r BlueprintResourcesExportParams err := json.Unmarshal(data, &r) return r, err } -func (r *TaskListStreamItem) Marshal() ([]byte, error) { +func (r *BlueprintResourcesExportParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalTeamListParams(data []byte) (TeamListParams, error) { - var r TeamListParams +func UnmarshalBlueprintResourcesExportResponse(data []byte) (BlueprintResourcesExportResponse, error) { + var r BlueprintResourcesExportResponse err := json.Unmarshal(data, &r) return r, err } -func (r *TeamListParams) Marshal() ([]byte, error) { +func (r *BlueprintResourcesExportResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalTeamListResponse(data []byte) (TeamListResponse, error) { - var r TeamListResponse +func UnmarshalBlueprintBulletinListParams(data []byte) (BlueprintBulletinListParams, error) { + var r BlueprintBulletinListParams err := json.Unmarshal(data, &r) return r, err } -func (r *TeamListResponse) Marshal() ([]byte, error) { +func (r *BlueprintBulletinListParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalTeamListStreamItem(data []byte) (TeamListStreamItem, error) { - var r TeamListStreamItem +func UnmarshalBlueprintBulletinListResponse(data []byte) (BlueprintBulletinListResponse, error) { + var r BlueprintBulletinListResponse err := json.Unmarshal(data, &r) return r, err } -func (r *TeamListStreamItem) Marshal() ([]byte, error) { +func (r *BlueprintBulletinListResponse) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalUsageFetchResponse(data []byte) (UsageFetchResponse, error) { - var r UsageFetchResponse +func UnmarshalBlueprintBulletinListStreamItem(data []byte) (BlueprintBulletinListStreamItem, error) { + var r BlueprintBulletinListStreamItem err := json.Unmarshal(data, &r) return r, err } -func (r *UsageFetchResponse) Marshal() ([]byte, error) { +func (r *BlueprintBulletinListStreamItem) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalUsageRecordListParams(data []byte) (UsageRecordListParams, error) { - var r UsageRecordListParams +func UnmarshalBlueprintBulletinCreateParams(data []byte) (BlueprintBulletinCreateParams, error) { + var r BlueprintBulletinCreateParams err := json.Unmarshal(data, &r) return r, err } -func (r *UsageRecordListParams) Marshal() ([]byte, error) { +func (r *BlueprintBulletinCreateParams) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalUsageRecordListResponse(data []byte) (UsageRecordListResponse, error) { - var r UsageRecordListResponse +func UnmarshalBlueprintBulletinCreateRequest(data []byte) (BlueprintBulletinCreateRequest, error) { + var r BlueprintBulletinCreateRequest err := json.Unmarshal(data, &r) return r, err } -func (r *UsageRecordListResponse) Marshal() ([]byte, error) { +func (r *BlueprintBulletinCreateRequest) Marshal() ([]byte, error) { return json.Marshal(r) } -func UnmarshalUsageSeriesFetchResponse(data []byte) (UsageSeriesFetchResponse, error) { - var r UsageSeriesFetchResponse +func UnmarshalBlueprintBulletinCreateResponse(data []byte) (BlueprintBulletinCreateResponse, error) { + var r BlueprintBulletinCreateResponse err := json.Unmarshal(data, &r) return r, err } -func (r *UsageSeriesFetchResponse) Marshal() ([]byte, error) { +func (r *BlueprintBulletinCreateResponse) Marshal() ([]byte, error) { return json.Marshal(r) } @@ -12554,13872 +12222,13525 @@ func (r *TaskWorkflowStreamingResponseItem) Marshal() ([]byte, error) { return json.Marshal(r) } -type GraphqlRequest struct { - // The name of the operation to execute - OperationName *string `json:"operationName,omitempty"` - // The GraphQL query or mutation string - Query string `json:"query"` - // The variables for the GraphQL operation - Variables map[string]interface{} `json:"variables,omitempty"` -} - -type GraphqlResponse struct { - // The data returned by the GraphQL operation - Data map[string]interface{} `json:"data,omitempty"` - // Any errors returned by the GraphQL operation - Errors []Error `json:"errors,omitempty"` +func UnmarshalDecisionQuestion(data []byte) (DecisionQuestion, error) { + var r DecisionQuestion + err := json.Unmarshal(data, &r) + return r, err } -type Error struct { - Message *string `json:"message,omitempty"` +func (r *DecisionQuestion) Marshal() ([]byte, error) { + return json.Marshal(r) } -type DiscordInitiateRequest struct { - // The Discord channel ID to send to - ChannelID string `json:"channelId"` - // The text message to send to the Discord channel - Text string `json:"text"` +func UnmarshalDecisionAnswer(data []byte) (DecisionAnswer, error) { + var r DecisionAnswer + err := json.Unmarshal(data, &r) + return r, err } -type DiscordInitiateResponse struct { - // The ID of the initiated integration - ID string `json:"id"` +func (r *DecisionAnswer) Marshal() ([]byte, error) { + return json.Marshal(r) } -type EmailInitiateRequest struct { - // The email address to use for the conversation - Email string `json:"email"` - // The subject of the email - Subject string `json:"subject"` - // The text instruction to use to initiate the conversation - Text string `json:"text"` +type GraphqlRequest struct { + // The name of the operation to execute + OperationName *string `json:"operationName,omitempty"` + // The GraphQL query or mutation string + Query string `json:"query"` + // The variables for the GraphQL operation + Variables map[string]interface{} `json:"variables,omitempty"` } -type EmailInitiateResponse struct { - // The ID of the initiated integration - ID string `json:"id"` +type GraphqlResponse struct { + // The data returned by the GraphQL operation + Data map[string]interface{} `json:"data,omitempty"` + // Any errors returned by the GraphQL operation + Errors []Error `json:"errors,omitempty"` } -type GooglechatInitiateRequest struct { - // The Google Chat space resource name to send to, such as spaces/AAAA..., or a Google Chat - // user identifier for a direct message - Space *string `json:"space,omitempty"` - // The text message to send to the Google Chat space - Text string `json:"text"` +type Error struct { + Message *string `json:"message,omitempty"` } -type GooglechatInitiateResponse struct { - // The ID of the initiated integration - ID string `json:"id"` +type TaskWorkflowEventsSubscribeParams struct { + // The ID of the task + TaskID string `json:"taskId"` } -type InstagramInitiateRequest struct { - // The Instagram professional account ID sending the message - InstagramUserID string `json:"instagramUserId"` - // The Instagram recipient ID from a prior interaction - RecipientID string `json:"recipientId"` - // The free-form text message to send while Meta allows messaging this recipient - Text string `json:"text"` +type TaskWorkflowEventsSubscribeRequest struct { + // Number of recent workflow events to replay before live events. + HistoryLength *int64 `json:"historyLength,omitempty"` } -type InstagramInitiateResponse struct { - // The ID of the initiated integration - ID string `json:"id"` +// An item in the task workflow subscription response +type TaskWorkflowEventsSubscribeStreamItem struct { + // The event creation timestamp in milliseconds since the Unix epoch + CreatedAt float64 `json:"createdAt"` + // The data for the operation begin event + // + // The data for the operation end event + // + // The data for the error event + Data TaskWorkflowEventsSubscribeStreamItemData `json:"data"` + // The type of event + Type TaskWorkflowEventsSubscribeStreamItemType `json:"type"` } -type MessengerInitiateRequest struct { - // The Facebook Page ID sending the message - PageID string `json:"pageId"` - // The Messenger recipient PSID from a prior interaction - RecipientID string `json:"recipientId"` - // The free-form text message to send while Meta allows messaging this recipient - Text string `json:"text"` +// The data for the operation begin event +// +// # The data for the operation end event +// +// The data for the error event +type TaskWorkflowEventsSubscribeStreamItemData struct { + // The action associated with the operation + Action *PurpleAction `json:"action,omitempty"` + // The operation ID + ID *string `json:"id,omitempty"` + // The error code + Code *string `json:"code,omitempty"` + // The error message + Message *string `json:"message,omitempty"` } -type MessengerInitiateResponse struct { - // The ID of the initiated integration - ID string `json:"id"` +// The action associated with the operation +type PurpleAction struct { + // The action icon + Icon *string `json:"icon,omitempty"` + // The action ID + ID string `json:"id"` + // The action input + Input interface{} `json:"input"` + // The action justification + Justification *string `json:"justification,omitempty"` + // The action kind + Kind *PurpleKind `json:"kind,omitempty"` + // The action name + Name *string `json:"name,omitempty"` } -type TeamsInitiateRequest struct { - // The Microsoft Teams Bot Framework conversation ID to send to - ConversationID string `json:"conversationId"` - // The text message to send to the Teams conversation - Text string `json:"text"` +type PlatformReportListParams struct { + // The cursor to use for pagination + Cursor *string `json:"cursor,omitempty"` + // The order of the paginated items + Order *PlatformReportListParamsOrder `json:"order,omitempty"` + // The number of items to retrieve + Take *int64 `json:"take,omitempty"` } -type TeamsInitiateResponse struct { - // The ID of the initiated integration - ID string `json:"id"` +type PlatformReportListResponse struct { + Items []PlatformReportListResponseItem `json:"items"` } -type RecallInitiateParams struct { - // The ID of the recall integration to use - RecallIntegrationID string `json:"recallIntegrationId"` +// Instance list properties +type PlatformReportListResponseItem struct { + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description *string `json:"description,omitempty"` + // The instance ID + ID string `json:"id"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` } -type RecallInitiateRequest struct { - // The display name for the bot in the meeting - BotName *string `json:"botName,omitempty"` - // The URL of the meeting to join - MeetingURL string `json:"meetingUrl"` - // The instruction text to use to initiate the meeting session - Text string `json:"text"` +type PlatformReportListStreamItem struct { + // Instance list properties + Data PlatformReportListStreamItemData `json:"data"` + // The type of event + Type PlatformReportListStreamItemType `json:"type"` } -type RecallInitiateResponse struct { - // The meeting bot data from Recall.ai - Bot map[string]interface{} `json:"bot"` - // The ID of the recall integration - ID string `json:"id"` +// Instance list properties +type PlatformReportListStreamItemData struct { + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description *string `json:"description,omitempty"` + // The instance ID + ID string `json:"id"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` } -type SlackInitiateRequest struct { - // The Slack channel or user to send to - Channel string `json:"channel"` - // The text instruction to use to initiate the conversation - Text string `json:"text"` +// Successful report output data +type PlatformReportsGenerateResponseValue struct { + // Error message if report generation failed + Error *string `json:"error,omitempty"` } -type SlackInitiateResponse struct { - // The ID of the initiated integration - ID string `json:"id"` +type PlatformReportGenerateParams struct { + // The ID of the report to generate + ReportID string `json:"reportId"` } -type TelegramInitiateRequest struct { - // The Telegram chat ID, user ID, group chat ID, or channel username to send to - ChatID *ChatID `json:"chatId"` - // The text instruction to use to initiate the conversation - Text string `json:"text"` +type WhatsappInitiateRequest struct { + // A stable caller-supplied key used to prevent duplicate proactive messages when retrying + // the request + IdempotencyKey *string `json:"idempotencyKey,omitempty"` + // The free-form text message to send within an active WhatsApp customer service window + Text string `json:"text"` + // The recipient phone number in E.164 format, without the leading plus sign + To string `json:"to"` } -type TelegramInitiateResponse struct { - // The ID of the initiated integration - ID string `json:"id"` +type WhatsappInitiateResponse struct { + // The ID of the initiated integration + ID string `json:"id"` } type TwilioInitiateRequest struct { - // The Twilio channel to use for the conversation - Channel *Channel `json:"channel,omitempty"` - // The Twilio sender phone number - From string `json:"from"` - // The text instruction to use to initiate the conversation - Text string `json:"text"` - // The recipient phone number - To string `json:"to"` + // The Twilio channel to use for the conversation + Channel *Channel `json:"channel,omitempty"` + // The Twilio sender phone number + From string `json:"from"` + // The text instruction to use to initiate the conversation + Text string `json:"text"` + // The recipient phone number + To string `json:"to"` } type TwilioInitiateResponse struct { - // The ID of the initiated integration - ID string `json:"id"` + // The ID of the initiated integration + ID string `json:"id"` } -type WhatsappInitiateRequest struct { - // The free-form text message to send within an active WhatsApp customer service window - Text string `json:"text"` - // The recipient phone number in E.164 format, without the leading plus sign - To string `json:"to"` +type TelegramInitiateRequest struct { + // The Telegram chat ID, user ID, group chat ID, or channel username to send to + ChatID *ChatID `json:"chatId"` + // The text instruction to use to initiate the conversation + Text string `json:"text"` } -type WhatsappInitiateResponse struct { - // The ID of the initiated integration - ID string `json:"id"` +type TelegramInitiateResponse struct { + // The ID of the initiated integration + ID string `json:"id"` } -type PlatformReportGenerateParams struct { - // The ID of the report to generate - ReportID string `json:"reportId"` +type SlackInitiateRequest struct { + // The Slack channel or user to send to + Channel string `json:"channel"` + // The text instruction to use to initiate the conversation + Text string `json:"text"` } -// Successful report output data -type PlatformReportsGenerateResponseValue struct { - // Error message if report generation failed - Error *string `json:"error,omitempty"` +type SlackInitiateResponse struct { + // The ID of the initiated integration + ID string `json:"id"` } -type PlatformReportListParams struct { - // The cursor to use for pagination - Cursor *string `json:"cursor,omitempty"` - // The order of the paginated items - Order *PlatformReportListParamsOrder `json:"order,omitempty"` - // The number of items to retrieve - Take *int64 `json:"take,omitempty"` +type RecallInitiateParams struct { + // The ID of the recall integration to use + RecallIntegrationID string `json:"recallIntegrationId"` } -type PlatformReportListResponse struct { - Items []PlatformReportListResponseItem `json:"items"` +type RecallInitiateRequest struct { + // The display name for the bot in the meeting + BotName *string `json:"botName,omitempty"` + // The URL of the meeting to join + MeetingURL string `json:"meetingUrl"` + // The instruction text to use to initiate the meeting session + Text string `json:"text"` } -// Instance list properties -type PlatformReportListResponseItem struct { - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description *string `json:"description,omitempty"` - // The instance ID - ID string `json:"id"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` +type RecallInitiateResponse struct { + // The meeting bot data from Recall.ai + Bot map[string]interface{} `json:"bot"` + // The ID of the recall integration + ID string `json:"id"` } -type PlatformReportListStreamItem struct { - // Instance list properties - Data PlatformReportListStreamItemData `json:"data"` - // The type of event - Type PlatformReportListStreamItemType `json:"type"` +type TeamsInitiateRequest struct { + // The Microsoft Teams Bot Framework conversation ID to send to + ConversationID string `json:"conversationId"` + // The text message to send to the Teams conversation + Text string `json:"text"` } -// Instance list properties -type PlatformReportListStreamItemData struct { - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description *string `json:"description,omitempty"` - // The instance ID - ID string `json:"id"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` +type TeamsInitiateResponse struct { + // The ID of the initiated integration + ID string `json:"id"` } -type TaskWorkflowEventsSubscribeParams struct { - // The ID of the task - TaskID string `json:"taskId"` +type MessengerInitiateRequest struct { + // The Facebook Page ID sending the message + PageID string `json:"pageId"` + // The Messenger recipient PSID from a prior interaction + RecipientID string `json:"recipientId"` + // The free-form text message to send while Meta allows messaging this recipient + Text string `json:"text"` } -type TaskWorkflowEventsSubscribeRequest struct { - // Number of recent workflow events to replay before live events. - HistoryLength *int64 `json:"historyLength,omitempty"` +type MessengerInitiateResponse struct { + // The ID of the initiated integration + ID string `json:"id"` } -// An item in the task workflow subscription response -type TaskWorkflowEventsSubscribeStreamItem struct { - // The event creation timestamp in milliseconds since the Unix epoch - CreatedAt float64 `json:"createdAt"` - // The data for the operation begin event - // - // The data for the operation end event - // - // The data for the error event - Data TaskWorkflowEventsSubscribeStreamItemData `json:"data"` - // The type of event - Type TaskWorkflowEventsSubscribeStreamItemType `json:"type"` +type InstagramInitiateRequest struct { + // The Instagram professional account ID sending the message + InstagramUserID string `json:"instagramUserId"` + // The Instagram recipient ID from a prior interaction + RecipientID string `json:"recipientId"` + // The free-form text message to send while Meta allows messaging this recipient + Text string `json:"text"` } -// The data for the operation begin event -// -// The data for the operation end event -// -// The data for the error event -type TaskWorkflowEventsSubscribeStreamItemData struct { - // The action associated with the operation - Action *PurpleAction `json:"action,omitempty"` - // The operation ID - ID *string `json:"id,omitempty"` - // The error code - Code *string `json:"code,omitempty"` - // The error message - Message *string `json:"message,omitempty"` +type InstagramInitiateResponse struct { + // The ID of the initiated integration + ID string `json:"id"` } -// The action associated with the operation -type PurpleAction struct { - // The action icon - Icon *string `json:"icon,omitempty"` - // The action ID - ID string `json:"id"` - // The action input - Input interface{} `json:"input"` - // The action justification - Justification *string `json:"justification,omitempty"` - // The action kind - Kind *PurpleKind `json:"kind,omitempty"` - // The action name - Name *string `json:"name,omitempty"` +type GooglechatInitiateRequest struct { + // The Google Chat space resource name to send to, such as spaces/AAAA..., or a Google Chat + // user identifier for a direct message + Space *string `json:"space,omitempty"` + // The text message to send to the Google Chat space + Text string `json:"text"` } -type BlueprintBulletinCreateParams struct { - // The ID of the blueprint to post to - BlueprintID string `json:"blueprintId"` +type GooglechatInitiateResponse struct { + // The ID of the initiated integration + ID string `json:"id"` } -type BlueprintBulletinCreateRequest struct { - // The message to post to the shared board - Text string `json:"text"` - // Optional time-to-live in seconds before the bulletin expires - TTL *float64 `json:"ttl,omitempty"` +type EmailInitiateRequest struct { + // The email address to use for the conversation + Email string `json:"email"` + // The subject of the email + Subject string `json:"subject"` + // The text instruction to use to initiate the conversation + Text string `json:"text"` } -type BlueprintBulletinCreateResponse struct { - Bulletin Bulletin `json:"bulletin"` - // The ID of the blueprint - ID string `json:"id"` +type EmailInitiateResponse struct { + // The ID of the initiated integration + ID string `json:"id"` } -type Bulletin struct { - // The display name of the author who posted the bulletin (a bot or a user) - Author *string `json:"author,omitempty"` - // The ID of the bot the bulletin is associated with, when posted by a bot - BotID *string `json:"botId,omitempty"` - CreatedAt float64 `json:"createdAt"` - ExpiresAt float64 `json:"expiresAt"` - ID string `json:"id"` - Text string `json:"text"` +type DiscordInitiateRequest struct { + // The Discord channel ID to send to + ChannelID string `json:"channelId"` + // The text message to send to the Discord channel + Text string `json:"text"` } -type BlueprintBulletinListParams struct { - // The ID of the blueprint to query - BlueprintID string `json:"blueprintId"` - // The cursor to use for pagination - Cursor *string `json:"cursor,omitempty"` - // The order of the paginated items - Order *BlueprintBulletinListParamsOrder `json:"order,omitempty"` - // The number of items to retrieve - Take *int64 `json:"take,omitempty"` +type DiscordInitiateResponse struct { + // The ID of the initiated integration + ID string `json:"id"` } -type BlueprintBulletinListResponse struct { - // Cursor for fetching the next page - Cursor string `json:"cursor"` - Items []BlueprintBulletinListResponseItem `json:"items"` +type UserListParams struct { + // The cursor to use for pagination + Cursor *string `json:"cursor,omitempty"` + // Key-value pairs to filter the users by metadata + Meta map[string]string `json:"meta,omitempty"` + // The order of the paginated items + Order *UserListParamsOrder `json:"order,omitempty"` + // The number of items to retrieve + Take *int64 `json:"take,omitempty"` } -type BlueprintBulletinListResponseItem struct { - // The display name of the author who posted the bulletin (a bot or a user) - Author *string `json:"author,omitempty"` - // The ID of the bot the bulletin is associated with, when posted by a bot - BotID *string `json:"botId,omitempty"` - // The epoch millisecond timestamp when the bulletin was created - CreatedAt float64 `json:"createdAt"` - // The epoch millisecond timestamp when the bulletin expires - ExpiresAt float64 `json:"expiresAt"` - // The unique identifier of the bulletin - ID string `json:"id"` - // The message body - Text string `json:"text"` +type UserListResponse struct { + // Cursor for fetching the next page + Cursor string `json:"cursor"` + Items []UserListResponseItem `json:"items"` } -type BlueprintBulletinListStreamItem struct { - Data BlueprintBulletinListStreamItemData `json:"data"` - // The type of event - Type BlueprintBulletinListStreamItemType `json:"type"` +// Instance list properties +type UserListResponseItem struct { + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description *string `json:"description,omitempty"` + // The email of the user + Email *string `json:"email,omitempty"` + // The instance ID + ID string `json:"id"` + // The image of the user + Image *string `json:"image,omitempty"` + // Limits information + Limits *ItemLimits `json:"limits,omitempty"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` } -type BlueprintBulletinListStreamItemData struct { - // The display name of the author who posted the bulletin (a bot or a user) - Author *string `json:"author,omitempty"` - // The ID of the bot the bulletin is associated with, when posted by a bot - BotID *string `json:"botId,omitempty"` - // The epoch millisecond timestamp when the bulletin was created - CreatedAt float64 `json:"createdAt"` - // The epoch millisecond timestamp when the bulletin expires - ExpiresAt float64 `json:"expiresAt"` - // The unique identifier of the bulletin - ID string `json:"id"` - // The message body - Text string `json:"text"` +// Limits information +type ItemLimits struct { + // The conversations limit + Conversations *float64 `json:"conversations,omitempty"` + // The database limits + Database *PurpleDatabase `json:"database,omitempty"` + // The messages limit + Messages *float64 `json:"messages,omitempty"` + // The tokens limit + Tokens *float64 `json:"tokens,omitempty"` } -type BlueprintCloneParams struct { - // The ID of the blueprint to clone - BlueprintID string `json:"blueprintId"` +// The database limits +type PurpleDatabase struct { + // The abilities limit + Abilities *float64 `json:"abilities,omitempty"` + // The datasets limit + Datasets *float64 `json:"datasets,omitempty"` + // The files limit + Files *float64 `json:"files,omitempty"` + // The records limit + Records *float64 `json:"records,omitempty"` + // The skillsets limit + Skillsets *float64 `json:"skillsets,omitempty"` } -type BlueprintCloneResponse struct { - // The ID of the cloned blueprint - ID string `json:"id"` - // A map of the resources that were cloned - Resources map[string]interface{} `json:"resources"` +type UserListStreamItem struct { + // Instance list properties + Data UserListStreamItemData `json:"data"` + // The type of event + Type UserListStreamItemType `json:"type"` } -type BlueprintDeleteParams struct { - // The ID of the blueprint to delete - BlueprintID string `json:"blueprintId"` +// Instance list properties +type UserListStreamItemData struct { + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description *string `json:"description,omitempty"` + // The email of the user + Email *string `json:"email,omitempty"` + // The instance ID + ID string `json:"id"` + // The image of the user + Image *string `json:"image,omitempty"` + // Limits information + Limits *DataLimits `json:"limits,omitempty"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` } -type BlueprintDeleteRequest struct { - // If true, deletes all resources associated with the blueprint. If false or omitted, only - // the blueprint is deleted. - DeleteResources *bool `json:"deleteResources,omitempty"` +// Limits information +type DataLimits struct { + // The conversations limit + Conversations *float64 `json:"conversations,omitempty"` + // The database limits + Database *FluffyDatabase `json:"database,omitempty"` + // The messages limit + Messages *float64 `json:"messages,omitempty"` + // The tokens limit + Tokens *float64 `json:"tokens,omitempty"` } -type BlueprintDeleteResponse struct { - // The ID of the deleted blueprint - ID string `json:"id"` +// The database limits +type FluffyDatabase struct { + // The abilities limit + Abilities *float64 `json:"abilities,omitempty"` + // The datasets limit + Datasets *float64 `json:"datasets,omitempty"` + // The files limit + Files *float64 `json:"files,omitempty"` + // The records limit + Records *float64 `json:"records,omitempty"` + // The skillsets limit + Skillsets *float64 `json:"skillsets,omitempty"` } -type BlueprintFetchParams struct { - // The ID of the blueprint to retrieve - BlueprintID string `json:"blueprintId"` +// Instance crud properties +type UserCreateRequest struct { + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // The associated description + Description *string `json:"description,omitempty"` + // The email of the user + Email *string `json:"email,omitempty"` + // The image of the user + Image *string `json:"image,omitempty"` + // Limits information + Limits *UserCreateRequestLimits `json:"limits,omitempty"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` } -// Instance list properties -type BlueprintFetchResponse struct { - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description *string `json:"description,omitempty"` - // The instance ID - ID string `json:"id"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` - // The blueprint visibility - Visibility *BlueprintFetchResponseVisibility `json:"visibility,omitempty"` +// Limits information +type UserCreateRequestLimits struct { + // The conversations limit + Conversations *float64 `json:"conversations,omitempty"` + // The database limits + Database *TentacledDatabase `json:"database,omitempty"` + // The messages limit + Messages *float64 `json:"messages,omitempty"` + // The tokens limit + Tokens *float64 `json:"tokens,omitempty"` } -type BlueprintResourcesExportParams struct { - // The ID of the blueprint to export - BlueprintID string `json:"blueprintId"` +// The database limits +type TentacledDatabase struct { + // The abilities limit + Abilities *float64 `json:"abilities,omitempty"` + // The datasets limit + Datasets *float64 `json:"datasets,omitempty"` + // The files limit + Files *float64 `json:"files,omitempty"` + // The records limit + Records *float64 `json:"records,omitempty"` + // The skillsets limit + Skillsets *float64 `json:"skillsets,omitempty"` } -type BlueprintResourcesExportResponse struct { - // The ID of the blueprint - ID string `json:"id"` - // A map of the resources by category - Resources map[string]interface{} `json:"resources"` +type UserCreateResponse struct { + // The ID of the created user + ID string `json:"id"` } -type BlueprintResourcesImportParams struct { - BlueprintID string `json:"blueprintId"` +type UserUpdateParams struct { + // The ID of the user + UserID string `json:"userId"` } -type BlueprintResourcesImportRequest struct { - // When true and the blueprint is addressed by the caller's own @alias, it is created if it - // does not exist yet (idempotent provision). Ignored for a raw id, which still 404s on miss. - Ensure *bool `json:"ensure,omitempty"` - Resources map[string]interface{} `json:"resources"` +// Instance crud properties +type UserUpdateRequest struct { + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // The associated description + Description *string `json:"description,omitempty"` + // The email of the user + Email *string `json:"email,omitempty"` + // The image of the user + Image *string `json:"image,omitempty"` + // Limits information + Limits *UserUpdateRequestLimits `json:"limits,omitempty"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` } -type BlueprintResourceListParams struct { - // The ID of the blueprint to clone - BlueprintID string `json:"blueprintId"` +// Limits information +type UserUpdateRequestLimits struct { + // The conversations limit + Conversations *float64 `json:"conversations,omitempty"` + // The database limits + Database *StickyDatabase `json:"database,omitempty"` + // The messages limit + Messages *float64 `json:"messages,omitempty"` + // The tokens limit + Tokens *float64 `json:"tokens,omitempty"` } -type BlueprintResourceListResponse struct { - // The ID of the blueprint - ID string `json:"id"` - // A map of the resources - Resources map[string]interface{} `json:"resources"` +// The database limits +type StickyDatabase struct { + // The abilities limit + Abilities *float64 `json:"abilities,omitempty"` + // The datasets limit + Datasets *float64 `json:"datasets,omitempty"` + // The files limit + Files *float64 `json:"files,omitempty"` + // The records limit + Records *float64 `json:"records,omitempty"` + // The skillsets limit + Skillsets *float64 `json:"skillsets,omitempty"` } -type BlueprintUpdateParams struct { - BlueprintID string `json:"blueprintId"` +type UserUpdateResponse struct { + // The ID of the updated user + ID string `json:"id"` } -// Instance crud properties -type BlueprintUpdateRequest struct { - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // The associated description - Description *string `json:"description,omitempty"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The blueprint visibility - Visibility *BlueprintUpdateRequestVisibility `json:"visibility,omitempty"` +type UserFetchParams struct { + // The ID of the user to retrieve + UserID string `json:"userId"` } -type BlueprintUpdateResponse struct { - // The ID of the updated blueprint - ID string `json:"id"` +// Instance list properties +type UserFetchResponse struct { + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description *string `json:"description,omitempty"` + // The email of the user + Email *string `json:"email,omitempty"` + // The instance ID + ID string `json:"id"` + // The image of the user + Image *string `json:"image,omitempty"` + // Limits information + Limits *UserFetchResponseLimits `json:"limits,omitempty"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` } -// Instance crud properties -type BlueprintCreateRequest struct { - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // The associated description - Description *string `json:"description,omitempty"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The blueprint visibility - Visibility *BlueprintCreateRequestVisibility `json:"visibility,omitempty"` +// Limits information +type UserFetchResponseLimits struct { + // The conversations limit + Conversations *float64 `json:"conversations,omitempty"` + // The database limits + Database *IndigoDatabase `json:"database,omitempty"` + // The messages limit + Messages *float64 `json:"messages,omitempty"` + // The tokens limit + Tokens *float64 `json:"tokens,omitempty"` } -type BlueprintCreateResponse struct { - // The ID of the created blueprint - ID string `json:"id"` +// The database limits +type IndigoDatabase struct { + // The abilities limit + Abilities *float64 `json:"abilities,omitempty"` + // The datasets limit + Datasets *float64 `json:"datasets,omitempty"` + // The files limit + Files *float64 `json:"files,omitempty"` + // The records limit + Records *float64 `json:"records,omitempty"` + // The skillsets limit + Skillsets *float64 `json:"skillsets,omitempty"` } -type BlueprintListParams struct { - // The cursor to use for pagination - Cursor *string `json:"cursor,omitempty"` - // Key-value pairs to filter the partner users by metadata - Meta map[string]string `json:"meta,omitempty"` - // The order of the paginated items - Order *BlueprintListParamsOrder `json:"order,omitempty"` - // The number of items to retrieve - Take *int64 `json:"take,omitempty"` +type UserDeleteParams struct { + // The ID of the user to delete + UserID string `json:"userId"` } -type BlueprintListResponse struct { - // Cursor for fetching the next page - Cursor string `json:"cursor"` - Items []BlueprintListResponseItem `json:"items"` +type UserDeleteResponse struct { + // The ID of the deleted user + ID string `json:"id"` } -// Instance list properties -type BlueprintListResponseItem struct { - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description *string `json:"description,omitempty"` - // The instance ID - ID string `json:"id"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` - // The blueprint visibility - Visibility *PurpleVisibility `json:"visibility,omitempty"` +type UserTokenListParams struct { + // The cursor to use for pagination + Cursor *string `json:"cursor,omitempty"` + // The order of the paginated items + Order *UserTokenListParamsOrder `json:"order,omitempty"` + // The number of items to retrieve + Take *int64 `json:"take,omitempty"` + // The ID of the user + UserID string `json:"userId"` } -type BlueprintListStreamItem struct { - // Instance list properties - Data BlueprintListStreamItemData `json:"data"` - // The type of event - Type BlueprintListStreamItemType `json:"type"` +type UserTokenListResponse struct { + // Cursor for fetching the next page + Cursor string `json:"cursor"` + Items []UserTokenListResponseItem `json:"items"` } // Instance list properties -type BlueprintListStreamItemData struct { - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description *string `json:"description,omitempty"` - // The instance ID - ID string `json:"id"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` - // The blueprint visibility - Visibility *FluffyVisibility `json:"visibility,omitempty"` -} - -type BotCloneParams struct { - BotID string `json:"botId"` -} - -type BotCloneResponse struct { - // The ID of the cloned bot - ID string `json:"id"` -} - -type BotDeleteParams struct { - // The ID of the bot to delete - BotID string `json:"botId"` +type UserTokenListResponseItem struct { + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description *string `json:"description,omitempty"` + // The instance ID + ID string `json:"id"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` } -type BotDeleteResponse struct { - // The ID of the deleted bot - ID string `json:"id"` +type UserTokenListStreamItem struct { + // Instance list properties + Data UserTokenListStreamItemData `json:"data"` + // The type of event + Type UserTokenListStreamItemType `json:"type"` } -type BotDownvoteParams struct { - // The ID of the bot - BotID string `json:"botId"` +// Instance list properties +type UserTokenListStreamItemData struct { + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description *string `json:"description,omitempty"` + // The instance ID + ID string `json:"id"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` } -type BotDownvoteRequest struct { - // The reason for the downvote - Reason *string `json:"reason,omitempty"` - // The value of the downvote - Value *int64 `json:"value,omitempty"` +type UserTokenCreateParams struct { + // The ID of the user + UserID string `json:"userId"` } -type BotDownvoteResponse struct { - // The bot ID of the downvoted bot - ID string `json:"id"` +type UserTokenCreateRequest struct { + // Token configuration + Config map[string]interface{} `json:"config,omitempty"` + // The description of the token + Description *string `json:"description,omitempty"` + // Custom metadata for the token + Meta map[string]interface{} `json:"meta,omitempty"` + // The name of the token + Name *string `json:"name,omitempty"` } -type BotFetchParams struct { - // The ID of the bot to retrieve - BotID string `json:"botId"` +type UserTokenCreateResponse struct { + // The timestamp for when the user token was created (in milliseconds) + CreatedAt float64 `json:"createdAt"` + // The ID of the created user token + ID string `json:"id"` + // The token of the created user token + Token string `json:"token"` } -// Blueprint properties -type BotFetchResponse struct { - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // The backstory this configuration is using - Backstory *string `json:"backstory,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The id of the dataset this configuration is using - DatasetID *string `json:"datasetId,omitempty"` - // The associated description - Description *string `json:"description,omitempty"` - // The instance ID - ID string `json:"id"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // A model definition - Model *string `json:"model,omitempty"` - // The moderation flag for this configuration - Moderation *bool `json:"moderation,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The privacy flag for this configuration - Privacy *bool `json:"privacy,omitempty"` - // The id of the skillset this configuration is using - SkillsetID *string `json:"skillsetId,omitempty"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` - // The bot visibility - Visibility *BotFetchResponseVisibility `json:"visibility,omitempty"` +type UserTokenUpdateParams struct { + // The ID of the user token to update + TokenID string `json:"tokenId"` + // The ID of the user + UserID string `json:"userId"` } -type BotMemorySearchParams struct { - // The ID of the bot to search memories for - BotID string `json:"botId"` +type UserTokenUpdateRequest struct { + // Token configuration + Config map[string]interface{} `json:"config,omitempty"` + // The description of the token + Description *string `json:"description,omitempty"` + // Custom metadata for the token + Meta map[string]interface{} `json:"meta,omitempty"` + // The name of the token + Name *string `json:"name,omitempty"` } -type BotMemorySearchRequest struct { - // The keyword/phrase to search for - Search string `json:"search"` +type UserTokenUpdateResponse struct { + // The ID of the updated user token + ID string `json:"id"` } -type BotMemorySearchResponse struct { - // An array of memories matching the search query - Items []BotMemorySearchResponseItem `json:"items"` +type UserTokenDeleteParams struct { + // The ID of the user token to delete + TokenID string `json:"tokenId"` + // The ID of the user + UserID string `json:"userId"` } -type BotMemorySearchResponseItem struct { - ID string `json:"id"` - Meta map[string]interface{} `json:"meta,omitempty"` - Text string `json:"text"` +type UserTokenDeleteResponse struct { + // The ID of the deleted user token + ID string `json:"id"` } -type BotSessionCreateParams struct { - // The ID of the bot for this session - BotID string `json:"botId"` +type UserSessionCreateParams struct { + // The ID of the user + UserID string `json:"userId"` } -type BotSessionCreateRequest struct { - // The maximum amount of time this session will stay open - DurationInSeconds *float64 `json:"durationInSeconds,omitempty"` - // An array of messages to be included in the conversation - Messages []BotSessionCreateRequestMessage `json:"messages,omitempty"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` +type UserSessionCreateRequest struct { + Config *Config `json:"config,omitempty"` + // The lifetime of the session token in seconds + DurationInSeconds *float64 `json:"durationInSeconds,omitempty"` } -type BotSessionCreateRequestMessage struct { - // The text of the message - Text string `json:"text"` - // The type of the message - Type PurpleType `json:"type"` +type Config struct { + // Glob patterns restricting which API routes the token may access + AllowedRoutes []string `json:"allowedRoutes,omitempty"` + // Optional contact ID to include in the session token + ContactID *string `json:"contactId,omitempty"` +} + +type UserSessionCreateResponse struct { + // The timestamp for when the session token expires (in milliseconds) + ExpiresAt float64 `json:"expiresAt"` + // The ID of the created session + ID string `json:"id"` + // The temporary session token + Token string `json:"token"` +} + +type UserContextListParams struct { + BlueprintID *string `json:"blueprintId,omitempty"` + BotID *string `json:"botId,omitempty"` + // The cursor to use for pagination + Cursor *string `json:"cursor,omitempty"` + DatasetID *string `json:"datasetId,omitempty"` + // The order of the paginated items + Order *UserContextListParamsOrder `json:"order,omitempty"` + SkillsetID *string `json:"skillsetId,omitempty"` + // The number of items to retrieve + Take *int64 `json:"take,omitempty"` + // The ID of the user + UserID string `json:"userId"` +} + +type UserContextListResponse struct { + // Cursor for fetching the next page + Cursor string `json:"cursor"` + Items []UserContextListResponseItem `json:"items"` } -type BotSessionCreateResponse struct { - // The ID of the conversation - ConversationID string `json:"conversationId"` - // The time the token will expire in milliseconds - ExpiresAt float64 `json:"expiresAt"` - // The ID of the bot - ID string `json:"id"` - // An array of messages included in the conversation - Messages []BotSessionCreateResponseMessage `json:"messages,omitempty"` - // The token for this conversation - Token string `json:"token"` +// Instance list properties +type UserContextListResponseItem struct { + BlueprintID *string `json:"blueprintId,omitempty"` + BotID *string `json:"botId,omitempty"` + ContactID *string `json:"contactId,omitempty"` + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + DatasetID *string `json:"datasetId,omitempty"` + // The associated description + Description *string `json:"description,omitempty"` + // The instance ID + ID string `json:"id"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + Payload map[string]interface{} `json:"payload,omitempty"` + SkillsetID *string `json:"skillsetId,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` } -type BotSessionCreateResponseMessage struct { - // The text of the message - Text string `json:"text"` - // The type of the message - Type FluffyType `json:"type"` +type UserContextListStreamItem struct { + // Instance list properties + Data UserContextListStreamItemData `json:"data"` + // The type of event + Type UserContextListStreamItemType `json:"type"` } -type BotUpdateParams struct { - BotID string `json:"botId"` +// Instance list properties +type UserContextListStreamItemData struct { + BlueprintID *string `json:"blueprintId,omitempty"` + BotID *string `json:"botId,omitempty"` + ContactID *string `json:"contactId,omitempty"` + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + DatasetID *string `json:"datasetId,omitempty"` + // The associated description + Description *string `json:"description,omitempty"` + // The instance ID + ID string `json:"id"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + Payload map[string]interface{} `json:"payload,omitempty"` + SkillsetID *string `json:"skillsetId,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` } -// Blueprint properties -type BotUpdateRequest struct { - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // The backstory this configuration is using - Backstory *string `json:"backstory,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The id of the dataset this configuration is using - DatasetID *string `json:"datasetId,omitempty"` - // The associated description - Description *string `json:"description,omitempty"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // A model definition - Model *string `json:"model,omitempty"` - // The moderation flag for this configuration - Moderation *bool `json:"moderation,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The privacy flag for this configuration - Privacy *bool `json:"privacy,omitempty"` - // The id of the skillset this configuration is using - SkillsetID *string `json:"skillsetId,omitempty"` - // The bot visibility - Visibility *BotUpdateRequestVisibility `json:"visibility,omitempty"` +type UserContextCreateParams struct { + // The ID of the user + UserID string `json:"userId"` } -type BotUpdateResponse struct { - // The ID of the updated bot - ID string `json:"id"` +// Instance crud properties +type UserContextCreateRequest struct { + // The associated description + Description *string `json:"description,omitempty"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // Context payload + Payload map[string]interface{} `json:"payload,omitempty"` } -type BotUpvoteParams struct { - // The ID of the bot - BotID string `json:"botId"` +// Instance list properties +type UserContextCreateResponse struct { + BlueprintID *string `json:"blueprintId,omitempty"` + BotID *string `json:"botId,omitempty"` + ContactID *string `json:"contactId,omitempty"` + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + DatasetID *string `json:"datasetId,omitempty"` + // The associated description + Description *string `json:"description,omitempty"` + // The instance ID + ID string `json:"id"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + Payload map[string]interface{} `json:"payload,omitempty"` + SkillsetID *string `json:"skillsetId,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` } -type BotUpvoteRequest struct { - // The reason for the upvote - Reason *string `json:"reason,omitempty"` - // The value of the upvote - Value *int64 `json:"value,omitempty"` +type UserContextUpdateParams struct { + // The ID of the context to update + ContextID string `json:"contextId"` + // The ID of the user + UserID string `json:"userId"` } -type BotUpvoteResponse struct { - // The ID of the upvoted bot - ID string `json:"id"` +// Instance crud properties +type UserContextUpdateRequest struct { + // The associated description + Description *string `json:"description,omitempty"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // Context payload + Payload map[string]interface{} `json:"payload,omitempty"` } -type BotUsageFetchParams struct { - // The ID of the bot - BotID string `json:"botId"` - // Start date for the period (ISO 8601 format) - From *time.Time `json:"from,omitempty"` - // End date for the period (ISO 8601 format) - To *time.Time `json:"to,omitempty"` +type UserContextUpdateResponse struct { + // The ID of the updated context + ID string `json:"id"` } -type BotUsageFetchResponse struct { - // Total number of conversations - Conversations *int64 `json:"conversations,omitempty"` - // Total number of messages - Messages *int64 `json:"messages,omitempty"` - // Total number of BASE tokens used - Tokens *int64 `json:"tokens,omitempty"` +type UserContextFetchParams struct { + // The ID of the context to retrieve + ContextID string `json:"contextId"` + // The ID of the user + UserID string `json:"userId"` } -// Blueprint properties -type BotCreateRequest struct { - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // The backstory this configuration is using - Backstory *string `json:"backstory,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The id of the dataset this configuration is using - DatasetID *string `json:"datasetId,omitempty"` - // The associated description - Description *string `json:"description,omitempty"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // A model definition - Model *string `json:"model,omitempty"` - // The moderation flag for this configuration - Moderation *bool `json:"moderation,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The privacy flag for this configuration - Privacy *bool `json:"privacy,omitempty"` - // The id of the skillset this configuration is using - SkillsetID *string `json:"skillsetId,omitempty"` - // The bot visibility - Visibility *BotCreateRequestVisibility `json:"visibility,omitempty"` +// Instance list properties +type UserContextFetchResponse struct { + BlueprintID *string `json:"blueprintId,omitempty"` + BotID *string `json:"botId,omitempty"` + ContactID *string `json:"contactId,omitempty"` + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + DatasetID *string `json:"datasetId,omitempty"` + // The associated description + Description *string `json:"description,omitempty"` + // The instance ID + ID string `json:"id"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + Payload map[string]interface{} `json:"payload,omitempty"` + SkillsetID *string `json:"skillsetId,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` } -type BotCreateResponse struct { - // The ID of the created bot - ID string `json:"id"` +type UserContextDeleteParams struct { + // The ID of the context to delete + ContextID string `json:"contextId"` + // The ID of the user + UserID string `json:"userId"` } -type BotListParams struct { - // The cursor to use for pagination - Cursor *string `json:"cursor,omitempty"` - // Key-value pairs to filter the partner users by metadata - Meta map[string]string `json:"meta,omitempty"` - // The order of the paginated items - Order *BotListParamsOrder `json:"order,omitempty"` - // The number of items to retrieve - Take *int64 `json:"take,omitempty"` +type UserContextDeleteResponse struct { + // The ID of the deleted context + ID string `json:"id"` } -type BotListResponse struct { - // Cursor for fetching the next page - Cursor string `json:"cursor"` - Items []BotListResponseItem `json:"items"` +type UsageRecordListParams struct { + // The cursor to use for pagination + Cursor *string `json:"cursor,omitempty"` + // Key-value pairs to filter usage records by metadata + Meta map[string]string `json:"meta,omitempty"` + // The order of the paginated items + Order *UsageRecordListParamsOrder `json:"order,omitempty"` + // The number of items to retrieve + Take *int64 `json:"take,omitempty"` } -// Blueprint properties -type BotListResponseItem struct { - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // The backstory this configuration is using - Backstory *string `json:"backstory,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The id of the dataset this configuration is using - DatasetID *string `json:"datasetId,omitempty"` - // The associated description - Description *string `json:"description,omitempty"` - // The instance ID - ID string `json:"id"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // A model definition - Model *string `json:"model,omitempty"` - // The moderation flag for this configuration - Moderation *bool `json:"moderation,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The privacy flag for this configuration - Privacy *bool `json:"privacy,omitempty"` - // The id of the skillset this configuration is using - SkillsetID *string `json:"skillsetId,omitempty"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` - // The bot visibility - Visibility *TentacledVisibility `json:"visibility,omitempty"` +type UsageRecordListResponse struct { + // Cursor for fetching the next page + Cursor string `json:"cursor"` + Items []UsageRecordListResponseItem `json:"items"` } -type BotListStreamItem struct { - // Blueprint properties - Data BotListStreamItemData `json:"data"` - // The type of event - Type BotListStreamItemType `json:"type"` +// Instance list properties +type UsageRecordListResponseItem struct { + // Related ability ID if applicable + AbilityID *string `json:"abilityId,omitempty"` + // Related blueprint ID if applicable + BlueprintID *string `json:"blueprintId,omitempty"` + // Related bot ID if applicable + BotID *string `json:"botId,omitempty"` + // Related contact ID if applicable + ContactID *string `json:"contactId,omitempty"` + // Related conversation ID if applicable + ConversationID *string `json:"conversationId,omitempty"` + // The usage count + Count int64 `json:"count"` + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // Related dataset ID if applicable + DatasetID *string `json:"datasetId,omitempty"` + // The associated description + Description *string `json:"description,omitempty"` + // The instance ID + ID string `json:"id"` + // Related message ID if applicable + MessageID *string `json:"messageId,omitempty"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // Related skillset ID if applicable + SkillsetID *string `json:"skillsetId,omitempty"` + // Related task ID if applicable + TaskID *string `json:"taskId,omitempty"` + // The usage type + Type string `json:"type"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` } -// Blueprint properties -type BotListStreamItemData struct { - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // The backstory this configuration is using - Backstory *string `json:"backstory,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The id of the dataset this configuration is using - DatasetID *string `json:"datasetId,omitempty"` - // The associated description - Description *string `json:"description,omitempty"` - // The instance ID - ID string `json:"id"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // A model definition - Model *string `json:"model,omitempty"` - // The moderation flag for this configuration - Moderation *bool `json:"moderation,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The privacy flag for this configuration - Privacy *bool `json:"privacy,omitempty"` - // The id of the skillset this configuration is using - SkillsetID *string `json:"skillsetId,omitempty"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` - // The bot visibility - Visibility *StickyVisibility `json:"visibility,omitempty"` +type UsageFetchResponse struct { + // The number of conversations the user has created + Conversations float64 `json:"conversations"` + // Database usage information + Database UsageFetchResponseDatabase `json:"database"` + // The number of messages the user has sent + Messages float64 `json:"messages"` + // The number of tokens the user has used + Tokens float64 `json:"tokens"` } -type ChannelMessagePublishParams struct { - // The ID of the channel to publish to (minimum 16 characters) - ChannelID string `json:"channelId"` +// Database usage information +type UsageFetchResponseDatabase struct { + // The number of abilities the user has created + Abilities float64 `json:"abilities"` + // The number of datasets the user has created + Datasets float64 `json:"datasets"` + // The number of files the user has created + Files float64 `json:"files"` + // The number of records the user has created + Records float64 `json:"records"` + // The number of skillsets the user has created + Skillsets float64 `json:"skillsets"` + // The number of users the user has created + Users float64 `json:"users"` } -type ChannelMessagePublishRequest struct { - // The message to publish to the channel - Message map[string]interface{} `json:"message"` +type UsageSeriesFetchResponse struct { + // The number of conversations the user has created + Conversations []Conversation `json:"conversations"` + // The number of messages the user has created + Messages []UsageSeriesFetchResponseMessage `json:"messages"` + // The number of tokens the user has used + Tokens []Token `json:"tokens"` } -type ChannelMessagePublishResponse struct { - // The ID of the channel the message was published to - ID string `json:"id"` +type Conversation struct { + // The date of the data point + Date float64 `json:"date"` + // The total number of conversations the user has used + Total float64 `json:"total"` } -type ChannelMessagesSubscribeParams struct { - // The ID of the channel to subscribe to (minimum 16 characters) - ChannelID string `json:"channelId"` +type UsageSeriesFetchResponseMessage struct { + // The date of the data point + Date float64 `json:"date"` + // The total number of messages the user has used + Total float64 `json:"total"` } -type ChannelMessagesSubscribeRequest struct { - // Number of historical messages to replay from the channel - // before subscribing to live updates. When provided, the - // subscriber will first receive up to this many recent - // messages that were published before the subscription - // started. This is useful for catching up on messages that - // may have been published during connection setup. - HistoryLength *int64 `json:"historyLength,omitempty"` +type Token struct { + // The date of the data point + Date float64 `json:"date"` + // The total number of tokens the user has used + Total float64 `json:"total"` } -type ChannelMessagesSubscribeStreamItem struct { - // The message data published to the channel - Data map[string]interface{} `json:"data"` - // The type of event - Type ChannelMessagesSubscribeStreamItemType `json:"type"` +type TeamListParams struct { + // The cursor to use for pagination + Cursor *string `json:"cursor,omitempty"` + // Key-value pairs to filter the items by metadata + Meta map[string]string `json:"meta,omitempty"` + // The order of the paginated items + Order *TeamListParamsOrder `json:"order,omitempty"` + // The number of items to retrieve + Take *int64 `json:"take,omitempty"` } -type ContactConversationListParams struct { - // The ID of the contact to list conversations for - ContactID string `json:"contactId"` - // The cursor to use for pagination - Cursor *string `json:"cursor,omitempty"` - // The order of the paginated items - Order *ContactConversationListParamsOrder `json:"order,omitempty"` - // The number of items to retrieve - Take *int64 `json:"take,omitempty"` +type TeamListResponse struct { + // Cursor for fetching the next page + Cursor string `json:"cursor"` + Items []TeamListResponseItem `json:"items"` } -type ContactConversationListResponse struct { - // Cursor for fetching the next page - Cursor string `json:"cursor"` - Items []ContactConversationListResponseItem `json:"items"` +// Instance list properties +type TeamListResponseItem struct { + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description *string `json:"description,omitempty"` + // The instance ID + ID string `json:"id"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` } -// A bot configuration or reference -// -// A bot configuration that can be applied without a dedicated bot instance. -type ContactConversationListResponseItem struct { - // The contact id assigned to this conversation - ContactID *string `json:"contactId,omitempty"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description *string `json:"description,omitempty"` - // The instance ID - ID string `json:"id"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The task id assigned to this conversation - TaskID *string `json:"taskId,omitempty"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` - // The ID of the bot this configuration is using - BotID *string `json:"botId,omitempty"` - // The backstory this configuration is using - Backstory *string `json:"backstory,omitempty"` - // The id of the dataset this configuration is using - DatasetID *string `json:"datasetId,omitempty"` - // A model definition - Model *string `json:"model,omitempty"` - // The moderation flag for this configuration - Moderation *bool `json:"moderation,omitempty"` - // The privacy flag for this configuration - Privacy *bool `json:"privacy,omitempty"` - // The id of the skillset this configuration is using - SkillsetID *string `json:"skillsetId,omitempty"` +type TeamListStreamItem struct { + // Instance list properties + Data TeamListStreamItemData `json:"data"` + // The type of event + Type TeamListStreamItemType `json:"type"` } -type ContactConversationListStreamItem struct { - // A bot configuration or reference - Data ContactConversationListStreamItemData `json:"data"` - // The type of event - Type ContactConversationListStreamItemType `json:"type"` +// Instance list properties +type TeamListStreamItemData struct { + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description *string `json:"description,omitempty"` + // The instance ID + ID string `json:"id"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` } -// A bot configuration or reference -// -// A bot configuration that can be applied without a dedicated bot instance. -type ContactConversationListStreamItemData struct { - // The contact id assigned to this conversation - ContactID *string `json:"contactId,omitempty"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description *string `json:"description,omitempty"` - // The instance ID - ID string `json:"id"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The task id assigned to this conversation - TaskID *string `json:"taskId,omitempty"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` - // The ID of the bot this configuration is using - BotID *string `json:"botId,omitempty"` - // The backstory this configuration is using - Backstory *string `json:"backstory,omitempty"` - // The id of the dataset this configuration is using - DatasetID *string `json:"datasetId,omitempty"` - // A model definition - Model *string `json:"model,omitempty"` - // The moderation flag for this configuration - Moderation *bool `json:"moderation,omitempty"` - // The privacy flag for this configuration - Privacy *bool `json:"privacy,omitempty"` - // The id of the skillset this configuration is using - SkillsetID *string `json:"skillsetId,omitempty"` +type TaskListParams struct { + // Filter by associated blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // Filter by associated bot + BotID *string `json:"botId,omitempty"` + // Filter by associated contact + ContactID *string `json:"contactId,omitempty"` + // The cursor to use for pagination + Cursor *string `json:"cursor,omitempty"` + // Key-value pairs to filter the items by metadata + Meta map[string]string `json:"meta,omitempty"` + // The order of the paginated items + Order *TaskListParamsOrder `json:"order,omitempty"` + // Filter by task status + Status *TaskListParamsStatus `json:"status,omitempty"` + // The number of items to retrieve + Take *int64 `json:"take,omitempty"` } -type ContactDeleteParams struct { - // The ID of the contact to delete - ContactID string `json:"contactId"` +type TaskListResponse struct { + // Cursor for fetching the next page + Cursor string `json:"cursor"` + Items []TaskListResponseItem `json:"items"` } -type ContactDeleteResponse struct { - // The ID of the deleted contact - ID string `json:"id"` +// Instance list properties +type TaskListResponseItem struct { + // The blueprint associated with the task + BlueprintID *string `json:"blueprintId,omitempty"` + // The bot associated with the task + BotID *string `json:"botId,omitempty"` + // The contact associated with the task + ContactID *string `json:"contactId,omitempty"` + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description *string `json:"description,omitempty"` + // The timestamp (ms) at which the task expires and is automatically deleted + ExpiresAt *float64 `json:"expiresAt,omitempty"` + // The instance ID + ID string `json:"id"` + // The timestamp (ms) of the last task execution + LastRunAt *float64 `json:"lastRunAt,omitempty"` + // The maximum number of iterations per task execution + MaxIterations *float64 `json:"maxIterations,omitempty"` + // The maximum time per task execution (in milliseconds) + MaxTime *float64 `json:"maxTime,omitempty"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The timestamp (ms) of the next scheduled task execution + NextRunAt *float64 `json:"nextRunAt,omitempty"` + // The task execution outcome + Outcome *PurpleOutcome `json:"outcome,omitempty"` + // The schedule of the task + Schedule *string `json:"schedule,omitempty"` + // The session duration of the task execution (in milliseconds) + SessionDuration *float64 `json:"sessionDuration,omitempty"` + // The task execution status + Status *PurpleStatus `json:"status,omitempty"` + // The IANA timezone identifier used to evaluate the task schedule. + Timezone *string `json:"timezone,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` } -type ContactFetchParams struct { - // The ID of the contact to retrieve - ContactID string `json:"contactId"` +type TaskListStreamItem struct { + // Instance list properties + Data TaskListStreamItemData `json:"data"` + // The type of event + Type TaskListStreamItemType `json:"type"` } // Instance list properties -type ContactFetchResponse struct { - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description *string `json:"description,omitempty"` - // The email address of the contact - Email *string `json:"email,omitempty"` - // The fingerprint of the contact - Fingerprint string `json:"fingerprint"` - // The instance ID - ID string `json:"id"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The nickname of the contact - Nick *string `json:"nick,omitempty"` - // The phone number of the contact - Phone *string `json:"phone,omitempty"` - // The preferences of the contact - Preferences *string `json:"preferences,omitempty"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` - // The timestamp (ms) when the contact was verified - VerifiedAt *float64 `json:"verifiedAt,omitempty"` +type TaskListStreamItemData struct { + // The blueprint associated with the task + BlueprintID *string `json:"blueprintId,omitempty"` + // The bot associated with the task + BotID *string `json:"botId,omitempty"` + // The contact associated with the task + ContactID *string `json:"contactId,omitempty"` + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description *string `json:"description,omitempty"` + // The timestamp (ms) at which the task expires and is automatically deleted + ExpiresAt *float64 `json:"expiresAt,omitempty"` + // The instance ID + ID string `json:"id"` + // The timestamp (ms) of the last task execution + LastRunAt *float64 `json:"lastRunAt,omitempty"` + // The maximum number of iterations per task execution + MaxIterations *float64 `json:"maxIterations,omitempty"` + // The maximum time per task execution (in milliseconds) + MaxTime *float64 `json:"maxTime,omitempty"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The timestamp (ms) of the next scheduled task execution + NextRunAt *float64 `json:"nextRunAt,omitempty"` + // The task execution outcome + Outcome *FluffyOutcome `json:"outcome,omitempty"` + // The schedule of the task + Schedule *string `json:"schedule,omitempty"` + // The session duration of the task execution (in milliseconds) + SessionDuration *float64 `json:"sessionDuration,omitempty"` + // The task execution status + Status *FluffyStatus `json:"status,omitempty"` + // The IANA timezone identifier used to evaluate the task schedule. + Timezone *string `json:"timezone,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` } -type ContactMemoryListParams struct { - // The ID of the contact to list memories for - ContactID string `json:"contactId"` - // The cursor to use for pagination - Cursor *string `json:"cursor,omitempty"` - // The order of the paginated items - Order *ContactMemoryListParamsOrder `json:"order,omitempty"` - // The number of items to retrieve - Take *int64 `json:"take,omitempty"` +type TasksExportParams struct { + // The cursor to use for pagination + Cursor *string `json:"cursor,omitempty"` + // Key-value pairs to filter the items by metadata + Meta map[string]string `json:"meta,omitempty"` + // The order of the paginated items + Order *TasksExportParamsOrder `json:"order,omitempty"` + // The number of items to retrieve + Take *int64 `json:"take,omitempty"` } -type ContactMemoryListResponse struct { - // Cursor for fetching the next page - Cursor string `json:"cursor"` - Items []ContactMemoryListResponseItem `json:"items"` +type TasksExportResponse struct { + // Cursor for fetching the next page + Cursor string `json:"cursor"` + Items []TasksExportResponseItem `json:"items"` } // Instance list properties -type ContactMemoryListResponseItem struct { - // The ID of the bot the memory belongs to - BotID *string `json:"botId,omitempty"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description *string `json:"description,omitempty"` - // The instance ID - ID string `json:"id"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The text of the memory - Text string `json:"text"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` +type TasksExportResponseItem struct { + // The bot associated with the task + BotID *string `json:"botId,omitempty"` + // The contact associated with the task + ContactID *string `json:"contactId,omitempty"` + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description *string `json:"description,omitempty"` + // The instance ID + ID string `json:"id"` + // The maximum number of iterations per task execution + MaxIterations *float64 `json:"maxIterations,omitempty"` + // The maximum time per task execution (in milliseconds) + MaxTime *float64 `json:"maxTime,omitempty"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The schedule of the task + Schedule *string `json:"schedule,omitempty"` + // The session duration of the task execution (in milliseconds) + SessionDuration *float64 `json:"sessionDuration,omitempty"` + // The IANA timezone identifier used to evaluate the task schedule. + Timezone *string `json:"timezone,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` } -type ContactMemoryListStreamItem struct { - // Instance list properties - Data ContactMemoryListStreamItemData `json:"data"` - // The type of event - Type ContactMemoryListStreamItemType `json:"type"` +type TasksExportStreamItem struct { + // Instance list properties + Data TasksExportStreamItemData `json:"data"` + // The type of event + Type TasksExportStreamItemType `json:"type"` } // Instance list properties -type ContactMemoryListStreamItemData struct { - // The ID of the bot the memory belongs to - BotID *string `json:"botId,omitempty"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description *string `json:"description,omitempty"` - // The instance ID - ID string `json:"id"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The text of the memory - Text string `json:"text"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` +type TasksExportStreamItemData struct { + // The bot associated with the task + BotID *string `json:"botId,omitempty"` + // The contact associated with the task + ContactID *string `json:"contactId,omitempty"` + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description *string `json:"description,omitempty"` + // The instance ID + ID string `json:"id"` + // The maximum number of iterations per task execution + MaxIterations *float64 `json:"maxIterations,omitempty"` + // The maximum time per task execution (in milliseconds) + MaxTime *float64 `json:"maxTime,omitempty"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The schedule of the task + Schedule *string `json:"schedule,omitempty"` + // The session duration of the task execution (in milliseconds) + SessionDuration *float64 `json:"sessionDuration,omitempty"` + // The IANA timezone identifier used to evaluate the task schedule. + Timezone *string `json:"timezone,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` } -type ContactMemorySearchParams struct { - // The ID of the contact to search memories for - ContactID string `json:"contactId"` +// Blueprint properties +type TaskCreateRequest struct { + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The bot associated with the task + BotID *string `json:"botId,omitempty"` + // The contact associated with the task + ContactID *string `json:"contactId,omitempty"` + // The associated description + Description *string `json:"description,omitempty"` + // An optional epoch-millisecond timestamp after which the task is automatically deleted. + // Pass null or omit for no expiry. + ExpiresAt *float64 `json:"expiresAt,omitempty"` + // The maximum number of tool calls across the whole task run (0 or null for unbounded) + MaxCalls *float64 `json:"maxCalls,omitempty"` + // The maximum number of iterations per task execution + MaxIterations *float64 `json:"maxIterations,omitempty"` + // The maximum time per task execution in milliseconds + MaxTime *float64 `json:"maxTime,omitempty"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The schedule of the task. Cron expressions and date-based schedules are evaluated in the + // provided timezone when set. + Schedule *string `json:"schedule,omitempty"` + // The session duration of the Widget integration + SessionDuration *float64 `json:"sessionDuration,omitempty"` + // An optional IANA timezone identifier used when evaluating the task schedule. + Timezone *string `json:"timezone,omitempty"` } -type ContactMemorySearchRequest struct { - // The keyword/phrase to search for - Search string `json:"search"` +type TaskCreateResponse struct { + // The ID of the created task + ID string `json:"id"` } -type ContactMemorySearchResponse struct { - // An array of memories matching the search query - Items []ContactMemorySearchResponseItem `json:"items"` +type TaskUpdateParams struct { + TaskID string `json:"taskId"` } -type ContactMemorySearchResponseItem struct { - ID string `json:"id"` +// Blueprint properties +type TaskUpdateRequest struct { + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The bot associated with the task + BotID *string `json:"botId,omitempty"` + // The contact associated with the task + ContactID *string `json:"contactId,omitempty"` + // The associated description + Description *string `json:"description,omitempty"` + // An optional epoch-millisecond timestamp after which the task is automatically deleted. + // Pass null to clear an existing expiry. + ExpiresAt *float64 `json:"expiresAt,omitempty"` + // The maximum number of tool calls across the whole task run (0 or null for unbounded) + MaxCalls *float64 `json:"maxCalls,omitempty"` + // The maximum number of iterations per task execution + MaxIterations *float64 `json:"maxIterations,omitempty"` + // The maximum time per task execution in milliseconds + MaxTime *float64 `json:"maxTime,omitempty"` + // Meta data information Meta map[string]interface{} `json:"meta,omitempty"` - Text string `json:"text"` + // The associated name + Name *string `json:"name,omitempty"` + // The schedule of the task. Cron expressions and date-based schedules are evaluated in the + // provided timezone when set. + Schedule *string `json:"schedule,omitempty"` + // The session duration of the Widget integration + SessionDuration *float64 `json:"sessionDuration,omitempty"` + // An optional IANA timezone identifier used when evaluating the task schedule. + Timezone *string `json:"timezone,omitempty"` } -type ContactRatingListParams struct { - // The ID of the contact to list ratings for - ContactID string `json:"contactId"` - // The cursor to use for pagination - Cursor *string `json:"cursor,omitempty"` - // The order of the paginated items - Order *ContactRatingListParamsOrder `json:"order,omitempty"` - // The number of items to retrieve - Take *int64 `json:"take,omitempty"` +type TaskUpdateResponse struct { + // The ID of the updated task + ID string `json:"id"` } -type ContactRatingListResponse struct { - // Cursor for fetching the next page - Cursor string `json:"cursor"` - Items []ContactRatingListResponseItem `json:"items"` +type TaskTriggerParams struct { + TaskID string `json:"taskId"` } -// Instance list properties -type ContactRatingListResponseItem struct { - // The bot id assigned to this rating - BotID *string `json:"botId,omitempty"` - // The contact id assigned to this rating - ContactID *string `json:"contactId,omitempty"` - // The conversation id assigned to this rating - ConversationID *string `json:"conversationId,omitempty"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description *string `json:"description,omitempty"` - // The instance ID - ID string `json:"id"` - // The message id assigned to this rating - MessageID *string `json:"messageId,omitempty"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The reason for the rating - Reason *string `json:"reason,omitempty"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` - // The rating value - Value *float64 `json:"value,omitempty"` +type TaskTriggerResponse struct { + // The ID of the triggered task + ID string `json:"id"` } -type ContactRatingListStreamItem struct { - // Instance list properties - Data ContactRatingListStreamItemData `json:"data"` - // The type of event - Type ContactRatingListStreamItemType `json:"type"` +type TaskFetchParams struct { + // The ID of the task to retrieve + TaskID string `json:"taskId"` } // Instance list properties -type ContactRatingListStreamItemData struct { - // The bot id assigned to this rating - BotID *string `json:"botId,omitempty"` - // The contact id assigned to this rating - ContactID *string `json:"contactId,omitempty"` - // The conversation id assigned to this rating - ConversationID *string `json:"conversationId,omitempty"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description *string `json:"description,omitempty"` - // The instance ID - ID string `json:"id"` - // The message id assigned to this rating - MessageID *string `json:"messageId,omitempty"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The reason for the rating - Reason *string `json:"reason,omitempty"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` - // The rating value - Value *float64 `json:"value,omitempty"` +type TaskFetchResponse struct { + // The blueprint associated with the task + BlueprintID *string `json:"blueprintId,omitempty"` + // The bot associated with the task + BotID *string `json:"botId,omitempty"` + // The contact associated with the task + ContactID *string `json:"contactId,omitempty"` + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description *string `json:"description,omitempty"` + // The timestamp (ms) at which the task expires and is automatically deleted + ExpiresAt *float64 `json:"expiresAt,omitempty"` + // The instance ID + ID string `json:"id"` + // The timestamp (ms) of the last task execution + LastRunAt *float64 `json:"lastRunAt,omitempty"` + // The maximum number of iterations per task execution + MaxIterations *float64 `json:"maxIterations,omitempty"` + // The maximum time per task execution (in milliseconds) + MaxTime *float64 `json:"maxTime,omitempty"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The timestamp (ms) of the next scheduled task execution + NextRunAt *float64 `json:"nextRunAt,omitempty"` + // The task execution outcome + Outcome *TaskFetchResponseOutcome `json:"outcome,omitempty"` + // The schedule of the task + Schedule *string `json:"schedule,omitempty"` + // The session duration of the task execution (in milliseconds) + SessionDuration *float64 `json:"sessionDuration,omitempty"` + // The task execution status + Status *TaskFetchResponseStatus `json:"status,omitempty"` + // The IANA timezone identifier used to evaluate the task schedule. + Timezone *string `json:"timezone,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` } -type ContactSecretAuthenticateParams struct { - // The ID of the contact the secret belongs to - ContactID string `json:"contactId"` - // The ID of the secret to authenticate - SecretID string `json:"secretId"` +type TaskDeleteParams struct { + // The ID of the task to delete + TaskID string `json:"taskId"` } -type ContactSecretAuthenticateResponse struct { - // The ID of the secret to authenticate - ID string `json:"id"` - // The URL to authenticate the secret - URL string `json:"url"` +type TaskDeleteResponse struct { + // The ID of the deleted task + ID string `json:"id"` } -type ContactSecretMintParams struct { - // The ID of the contact the secret belongs to - ContactID string `json:"contactId"` - // The ID of the secret to mint - SecretID string `json:"secretId"` +type TaskCancelParams struct { + // The ID of the task to cancel + TaskID string `json:"taskId"` } -type ContactSecretMintResponse struct { - // Token expiry as a unix timestamp in ms, or null - ExpiresAt *float64 `json:"expiresAt,omitempty"` - // The usable token to send to the provider - Token string `json:"token"` +type TaskCancelResponse struct { + // The ID of the canceled task + ID string `json:"id"` } -type ContactSecretProxyParams struct { - // The ID of the contact the secret belongs to - ContactID string `json:"contactId"` - // The ID of the secret to inject - SecretID string `json:"secretId"` +type TaskExecutionListParams struct { + // The cursor to use for pagination + Cursor *string `json:"cursor,omitempty"` + // Key-value pairs to filter by metadata + Meta map[string]string `json:"meta,omitempty"` + // The order of the paginated items + Order *TaskExecutionListParamsOrder `json:"order,omitempty"` + // Filter by execution status + Status *TaskExecutionListParamsStatus `json:"status,omitempty"` + // The number of items to retrieve + Take *int64 `json:"take,omitempty"` + // The ID of the task + TaskID string `json:"taskId"` } -type ContactSecretProxyRequest struct { - // The request body - Body *string `json:"body,omitempty"` - // The request headers (may reference the secret) - Headers map[string]string `json:"headers,omitempty"` - // The HTTP method - Method *string `json:"method,omitempty"` - // The destination URL - URL string `json:"url"` +type TaskExecutionListResponse struct { + // Cursor for fetching the next page + Cursor string `json:"cursor"` + Items []TaskExecutionListResponseItem `json:"items"` } -type ContactSecretRevokeParams struct { - // The ID of the contact the secret belongs to - ContactID string `json:"contactId"` - // The ID of the secret to be revoked - SecretID string `json:"secretId"` +// Instance list properties +type TaskExecutionListResponseItem struct { + // When the execution completed + CompletedAt *time.Time `json:"completedAt,omitempty"` + // The conversation associated with this execution + ConversationID *string `json:"conversationId,omitempty"` + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description *string `json:"description,omitempty"` + // The instance ID + ID string `json:"id"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The task execution outcome + Outcome *TentacledOutcome `json:"outcome,omitempty"` + // When a paused run is expected to resume; null while actively running + ResumeAt *time.Time `json:"resumeAt,omitempty"` + // The task execution status + Status *TentacledStatus `json:"status,omitempty"` + // A summary of the execution result + Summary *string `json:"summary,omitempty"` + // The task this execution belongs to + TaskID *string `json:"taskId,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` } -type ContactSecretRevokeResponse struct { - // The ID of the revoked secret - ID string `json:"id"` +type TaskExecutionListStreamItem struct { + // Instance list properties + Data TaskExecutionListStreamItemData `json:"data"` + // The type of event + Type TaskExecutionListStreamItemType `json:"type"` } -type ContactSecretVerifyParams struct { - // The ID of the contact the secret belongs to - ContactID string `json:"contactId"` - // The ID of the secret to be verified - SecretID string `json:"secretId"` +// Instance list properties +type TaskExecutionListStreamItemData struct { + // When the execution completed + CompletedAt *time.Time `json:"completedAt,omitempty"` + // The conversation associated with this execution + ConversationID *string `json:"conversationId,omitempty"` + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description *string `json:"description,omitempty"` + // The instance ID + ID string `json:"id"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The task execution outcome + Outcome *StickyOutcome `json:"outcome,omitempty"` + // When a paused run is expected to resume; null while actively running + ResumeAt *time.Time `json:"resumeAt,omitempty"` + // The task execution status + Status *StickyStatus `json:"status,omitempty"` + // A summary of the execution result + Summary *string `json:"summary,omitempty"` + // The task this execution belongs to + TaskID *string `json:"taskId,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` } -type ContactSecretVerifyResponse struct { - Action *ContactSecretVerifyResponseAction `json:"action,omitempty"` - // The ID of the verified secret - ID string `json:"id"` - // The status of the secret - Status ContactSecretVerifyResponseStatus `json:"status"` +type TaskExecutionCancelParams struct { + // The ID of the task execution to cancel + TaskExecutionID string `json:"taskExecutionId"` + // The ID of the task + TaskID string `json:"taskId"` } -// The action to take next -type ContactSecretVerifyResponseAction struct { - // The type of action to take - Type TentacledType `json:"type"` - // The URL to authenticate the secret - URL string `json:"url"` +type TaskExecutionCancelResponse struct { + // The ID of the canceled task execution + ID string `json:"id"` + // The ID of the parent task + TaskID string `json:"taskId"` } -type ContactSecretListParams struct { - // The ID of the contact to list secrets for - ContactID string `json:"contactId"` - // The cursor to use for pagination - Cursor *string `json:"cursor,omitempty"` - // The order of the paginated items - Order *ContactSecretListParamsOrder `json:"order,omitempty"` - // The number of items to retrieve - Take *int64 `json:"take,omitempty"` +type SpaceListParams struct { + // The cursor to use for pagination + Cursor *string `json:"cursor,omitempty"` + // Key-value pairs to filter the items by metadata + Meta map[string]string `json:"meta,omitempty"` + // The order of the paginated items + Order *SpaceListParamsOrder `json:"order,omitempty"` + // The number of items to retrieve + Take *int64 `json:"take,omitempty"` } -type ContactSecretListResponse struct { - // Cursor for fetching the next page - Cursor string `json:"cursor"` - Items []ContactSecretListResponseItem `json:"items"` +type SpaceListResponse struct { + // Cursor for fetching the next page + Cursor string `json:"cursor"` + Items []SpaceListResponseItem `json:"items"` } -// Instance list properties -type ContactSecretListResponseItem struct { - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description *string `json:"description,omitempty"` - // The instance ID - ID string `json:"id"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The type of the secret - Type string `json:"type"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` +// Blueprint properties +type SpaceListResponseItem struct { + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The contact associated with the space + ContactID *string `json:"contactId,omitempty"` + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description *string `json:"description,omitempty"` + // The instance ID + ID string `json:"id"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` } -type ContactSecretListStreamItem struct { - // Instance list properties - Data ContactSecretListStreamItemData `json:"data"` - // The type of event - Type ContactSecretListStreamItemType `json:"type"` +type SpaceListStreamItem struct { + // Blueprint properties + Data SpaceListStreamItemData `json:"data"` + // The type of event + Type SpaceListStreamItemType `json:"type"` } -// Instance list properties -type ContactSecretListStreamItemData struct { - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description *string `json:"description,omitempty"` - // The instance ID - ID string `json:"id"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The type of the secret - Type string `json:"type"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` +// Blueprint properties +type SpaceListStreamItemData struct { + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The contact associated with the space + ContactID *string `json:"contactId,omitempty"` + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description *string `json:"description,omitempty"` + // The instance ID + ID string `json:"id"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` } -type ContactSpaceListParams struct { - // The ID of the contact to list spaces for - ContactID string `json:"contactId"` - // The cursor to use for pagination - Cursor *string `json:"cursor,omitempty"` - // The order of the paginated items - Order *ContactSpaceListParamsOrder `json:"order,omitempty"` - // The number of items to retrieve - Take *int64 `json:"take,omitempty"` +type SpacesExportParams struct { + // The cursor to use for pagination + Cursor *string `json:"cursor,omitempty"` + // Key-value pairs to filter the items by metadata + Meta map[string]string `json:"meta,omitempty"` + // The order of the paginated items + Order *SpacesExportParamsOrder `json:"order,omitempty"` + // The number of items to retrieve + Take *int64 `json:"take,omitempty"` } -type ContactSpaceListResponse struct { - // Cursor for fetching the next page - Cursor string `json:"cursor"` - Items []ContactSpaceListResponseItem `json:"items"` +type SpacesExportResponse struct { + // Cursor for fetching the next page + Cursor string `json:"cursor"` + Items []SpacesExportResponseItem `json:"items"` } -// Instance list properties -type ContactSpaceListResponseItem struct { - // The contact id assigned to this space - ContactID *string `json:"contactId,omitempty"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description *string `json:"description,omitempty"` - // The instance ID - ID string `json:"id"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` +// Blueprint properties +type SpacesExportResponseItem struct { + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The contact associated with the space + ContactID *string `json:"contactId,omitempty"` + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description *string `json:"description,omitempty"` + // The instance ID + ID string `json:"id"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` } -type ContactSpaceListStreamItem struct { - // Instance list properties - Data ContactSpaceListStreamItemData `json:"data"` - // The type of event - Type ContactSpaceListStreamItemType `json:"type"` +type SpacesExportStreamItem struct { + // Blueprint properties + Data SpacesExportStreamItemData `json:"data"` + // The type of event + Type SpacesExportStreamItemType `json:"type"` } -// Instance list properties -type ContactSpaceListStreamItemData struct { - // The contact id assigned to this space - ContactID *string `json:"contactId,omitempty"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description *string `json:"description,omitempty"` - // The instance ID - ID string `json:"id"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` +// Blueprint properties +type SpacesExportStreamItemData struct { + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The contact associated with the space + ContactID *string `json:"contactId,omitempty"` + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description *string `json:"description,omitempty"` + // The instance ID + ID string `json:"id"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` } -type ContactTaskListParams struct { - // The ID of the contact to list tasks for - ContactID string `json:"contactId"` - // The cursor to use for pagination - Cursor *string `json:"cursor,omitempty"` - // The order of the paginated items - Order *ContactTaskListParamsOrder `json:"order,omitempty"` - // The number of items to retrieve - Take *int64 `json:"take,omitempty"` +// Blueprint properties +type SpaceCreateRequest struct { + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The contact associated with the space + ContactID *string `json:"contactId,omitempty"` + // The associated description + Description *string `json:"description,omitempty"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` } -type ContactTaskListResponse struct { - // Cursor for fetching the next page - Cursor string `json:"cursor"` - Items []ContactTaskListResponseItem `json:"items"` +type SpaceCreateResponse struct { + // The ID of the created space + ID string `json:"id"` } -// Instance list properties -type ContactTaskListResponseItem struct { - // The bot associated with the task - BotID *string `json:"botId,omitempty"` - // The contact id assigned to this task - ContactID *string `json:"contactId,omitempty"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description *string `json:"description,omitempty"` - // The instance ID - ID string `json:"id"` - // The timestamp (ms) of the last task execution - LastRunAt *float64 `json:"lastRunAt,omitempty"` - // The maximum number of iterations per task execution - MaxIterations *float64 `json:"maxIterations,omitempty"` - // The maximum time per task execution (in milliseconds) - MaxTime *float64 `json:"maxTime,omitempty"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The timestamp (ms) of the next scheduled task execution - NextRunAt *float64 `json:"nextRunAt,omitempty"` - // The task execution outcome - Outcome *PurpleOutcome `json:"outcome,omitempty"` - // The schedule of the task - Schedule *string `json:"schedule,omitempty"` - // The session duration of the task execution (in milliseconds) - SessionDuration *float64 `json:"sessionDuration,omitempty"` - // The task execution status - Status *PurpleStatus `json:"status,omitempty"` - // The IANA timezone identifier used to evaluate the task schedule. - Timezone *string `json:"timezone,omitempty"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` +type SpaceUpdateParams struct { + SpaceID string `json:"spaceId"` } -type ContactTaskListStreamItem struct { - // Instance list properties - Data ContactTaskListStreamItemData `json:"data"` - // The type of event - Type ContactTaskListStreamItemType `json:"type"` +// Blueprint properties +type SpaceUpdateRequest struct { + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The contact associated with the space + ContactID *string `json:"contactId,omitempty"` + // The associated description + Description *string `json:"description,omitempty"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` } -// Instance list properties -type ContactTaskListStreamItemData struct { - // The bot associated with the task - BotID *string `json:"botId,omitempty"` - // The contact id assigned to this task - ContactID *string `json:"contactId,omitempty"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description *string `json:"description,omitempty"` - // The instance ID - ID string `json:"id"` - // The timestamp (ms) of the last task execution - LastRunAt *float64 `json:"lastRunAt,omitempty"` - // The maximum number of iterations per task execution - MaxIterations *float64 `json:"maxIterations,omitempty"` - // The maximum time per task execution (in milliseconds) - MaxTime *float64 `json:"maxTime,omitempty"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The timestamp (ms) of the next scheduled task execution - NextRunAt *float64 `json:"nextRunAt,omitempty"` - // The task execution outcome - Outcome *FluffyOutcome `json:"outcome,omitempty"` - // The schedule of the task - Schedule *string `json:"schedule,omitempty"` - // The session duration of the task execution (in milliseconds) - SessionDuration *float64 `json:"sessionDuration,omitempty"` - // The task execution status - Status *FluffyStatus `json:"status,omitempty"` - // The IANA timezone identifier used to evaluate the task schedule. - Timezone *string `json:"timezone,omitempty"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` +type SpaceUpdateResponse struct { + // The ID of the updated space + ID string `json:"id"` } -type ContactUpdateParams struct { - ContactID string `json:"contactId"` +type SpaceFetchParams struct { + // The ID of the space to retrieve + SpaceID string `json:"spaceId"` } -// Instance crud properties -type ContactUpdateRequest struct { - // The associated description - Description *string `json:"description,omitempty"` - // The email address of the contact - Email *string `json:"email,omitempty"` - // The fingerprint of the contact - Fingerprint *string `json:"fingerprint,omitempty"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The nickname of the contact - Nick *string `json:"nick,omitempty"` - // The phone number of the contact - Phone *string `json:"phone,omitempty"` - // The preferences of the contact - Preferences *string `json:"preferences,omitempty"` - // The timestamp (ms) when the contact was verified - VerifiedAt *float64 `json:"verifiedAt,omitempty"` +// Blueprint properties +type SpaceFetchResponse struct { + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The contact associated with the space + ContactID *string `json:"contactId,omitempty"` + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description *string `json:"description,omitempty"` + // The instance ID + ID string `json:"id"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` } -type ContactUpdateResponse struct { - // The ID of the updated contact - ID string `json:"id"` +type SpaceDeleteParams struct { + // The ID of the space to delete + SpaceID string `json:"spaceId"` } -// Instance crud properties -type ContactCreateRequest struct { - // The associated description - Description *string `json:"description,omitempty"` - // The email address of the contact - Email *string `json:"email,omitempty"` - // The fingerprint of the contact - Fingerprint *string `json:"fingerprint,omitempty"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The nickname of the contact - Nick *string `json:"nick,omitempty"` - // The phone number of the contact - Phone *string `json:"phone,omitempty"` - // The preferences of the contact - Preferences *string `json:"preferences,omitempty"` - // The timestamp (ms) when the contact was verified - VerifiedAt *float64 `json:"verifiedAt,omitempty"` +type SpaceDeleteResponse struct { + // The ID of the deleted space + ID string `json:"id"` } -type ContactCreateResponse struct { - // The ID of the created contact - ID string `json:"id"` +type SpaceStoragePathUploadParams struct { + // The file path + Path string `json:"path"` + SpaceID string `json:"spaceId"` } -// Instance crud properties -type ContactEnsureRequest struct { - // The associated description - Description *string `json:"description,omitempty"` - // The email address of the contact - Email *string `json:"email,omitempty"` - // The fingerprint of the contact - Fingerprint string `json:"fingerprint"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The nickname of the contact - Nick *string `json:"nick,omitempty"` - // The phone number of the contact - Phone *string `json:"phone,omitempty"` - // The preferences of the contact - Preferences *string `json:"preferences,omitempty"` - // The timestamp (ms) when the contact was verified - VerifiedAt *float64 `json:"verifiedAt,omitempty"` +type SpaceStoragePathUploadRequest struct { + // The file to upload either as http: or data: URL + // + // The file definition to upload + File *SpaceStoragePathUploadRequestFile `json:"file"` } -type ContactEnsureResponse struct { - // The ID of the ensured contact - ID string `json:"id"` +// The file definition to upload +type PurpleFile struct { + // Optional metadata + Meta map[string]interface{} `json:"meta,omitempty"` + // The file size + Size float64 `json:"size"` + // The file type + Type string `json:"type"` } -type ContactsExportParams struct { - // The cursor to use for pagination - Cursor *string `json:"cursor,omitempty"` - // Key-value pairs to filter the partner users by metadata - Meta map[string]string `json:"meta,omitempty"` - // The order of the paginated items - Order *ContactsExportParamsOrder `json:"order,omitempty"` - // The number of items to retrieve - Take *int64 `json:"take,omitempty"` +type SpaceStoragePathUploadResponse struct { + // The ID of the uploaded file + ID string `json:"id"` + // The path where the file is stored + Path string `json:"path"` + // The request required to upload the file + UploadRequest *SpaceStoragePathUploadResponseUploadRequest `json:"uploadRequest,omitempty"` } -type ContactsExportResponse struct { - // Cursor for fetching the next page - Cursor string `json:"cursor"` - Items []ContactsExportResponseItem `json:"items"` +// The request required to upload the file +type SpaceStoragePathUploadResponseUploadRequest struct { + // The HTTP headers to use + Headers map[string]interface{} `json:"headers"` + // The HTTP method to use + Method string `json:"method"` + // The HTTP url to use + URL string `json:"url"` } -// Instance list properties -type ContactsExportResponseItem struct { - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description *string `json:"description,omitempty"` - // The email address of the contact - Email *string `json:"email,omitempty"` - // The fingerprint of the contact - Fingerprint string `json:"fingerprint"` - // The instance ID - ID string `json:"id"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The nickname of the contact - Nick *string `json:"nick,omitempty"` - // The phone number of the contact - Phone *string `json:"phone,omitempty"` - // The preferences of the contact - Preferences *string `json:"preferences,omitempty"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` - // The timestamp (ms) when the contact was verified - VerifiedAt *float64 `json:"verifiedAt,omitempty"` +type SpaceStoragePathMoveParams struct { + // The source file path + Path string `json:"path"` + // The ID of the space + SpaceID string `json:"spaceId"` } -type ContactsExportStreamItem struct { - // Instance list properties - Data ContactsExportStreamItemData `json:"data"` - // The type of event - Type ContactsExportStreamItemType `json:"type"` +type SpaceStoragePathMoveRequest struct { + // The destination file path + DestinationPath string `json:"destinationPath"` } -// Instance list properties -type ContactsExportStreamItemData struct { - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description *string `json:"description,omitempty"` - // The email address of the contact - Email *string `json:"email,omitempty"` - // The fingerprint of the contact - Fingerprint string `json:"fingerprint"` - // The instance ID - ID string `json:"id"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The nickname of the contact - Nick *string `json:"nick,omitempty"` - // The phone number of the contact - Phone *string `json:"phone,omitempty"` - // The preferences of the contact - Preferences *string `json:"preferences,omitempty"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` - // The timestamp (ms) when the contact was verified - VerifiedAt *float64 `json:"verifiedAt,omitempty"` +type SpaceStoragePathMoveResponse struct { + // The destination file path + Path string `json:"path"` } -type ContactListParams struct { - // The cursor to use for pagination - Cursor *string `json:"cursor,omitempty"` - // Key-value pairs to filter the partner users by metadata - Meta map[string]string `json:"meta,omitempty"` - // The order of the paginated items - Order *ContactListParamsOrder `json:"order,omitempty"` - // The number of items to retrieve - Take *int64 `json:"take,omitempty"` +type SpaceStoragePathListParams struct { + // The directory path (defaults to root) + Path *string `json:"path,omitempty"` + // Whether to list files recursively + Recursive *bool `json:"recursive,omitempty"` + // The ID of the space + SpaceID string `json:"spaceId"` } -type ContactListResponse struct { - // Cursor for fetching the next page - Cursor string `json:"cursor"` - Items []ContactListResponseItem `json:"items"` +type SpaceStoragePathListResponse struct { + Items []SpaceStoragePathListResponseItem `json:"items"` + // Token to use for next page of results + NextToken *string `json:"nextToken,omitempty"` } -// Instance list properties -type ContactListResponseItem struct { - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description *string `json:"description,omitempty"` - // The email address of the contact - Email *string `json:"email,omitempty"` - // The fingerprint of the contact - Fingerprint string `json:"fingerprint"` - // The instance ID - ID string `json:"id"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The nickname of the contact - Nick *string `json:"nick,omitempty"` - // The phone number of the contact - Phone *string `json:"phone,omitempty"` - // The preferences of the contact - Preferences *string `json:"preferences,omitempty"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` - // The timestamp (ms) when the contact was verified - VerifiedAt *float64 `json:"verifiedAt,omitempty"` +type SpaceStoragePathListResponseItem struct { + // The ID of the file or directory + ID *string `json:"id,omitempty"` + // Whether this is a directory + IsDirectory *bool `json:"isDirectory,omitempty"` + // The relative path of the file or directory + Path *string `json:"path,omitempty"` + // The size of the file in bytes (0 for directories) + Size *float64 `json:"size,omitempty"` + // The timestamp (ms) when the file was last modified + UpdatedAt *float64 `json:"updatedAt,omitempty"` } -type ContactListStreamItem struct { - // Instance list properties - Data ContactListStreamItemData `json:"data"` - // The type of event - Type ContactListStreamItemType `json:"type"` +type SpaceStoragePathDownloadParams struct { + // The file path + Path string `json:"path"` + // The ID of the space + SpaceID string `json:"spaceId"` } -// Instance list properties -type ContactListStreamItemData struct { - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description *string `json:"description,omitempty"` - // The email address of the contact - Email *string `json:"email,omitempty"` - // The fingerprint of the contact - Fingerprint string `json:"fingerprint"` - // The instance ID - ID string `json:"id"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The nickname of the contact - Nick *string `json:"nick,omitempty"` - // The phone number of the contact - Phone *string `json:"phone,omitempty"` - // The preferences of the contact - Preferences *string `json:"preferences,omitempty"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` - // The timestamp (ms) when the contact was verified - VerifiedAt *float64 `json:"verifiedAt,omitempty"` +type SpaceStoragePathDownloadResponse struct { + // The ID of the file + ID string `json:"id"` + // The presigned URL to download the file + URL string `json:"url"` } -type ConversationAttachmentListParams struct { - // The ID of the conversation to list attachments for - ConversationID string `json:"conversationId"` - // The cursor to use for pagination - Cursor *string `json:"cursor,omitempty"` - // The number of items to retrieve - Take *int64 `json:"take,omitempty"` +type SpaceStoragePathDeleteParams struct { + // The file or directory path + Path string `json:"path"` + // The ID of the space + SpaceID string `json:"spaceId"` } -type ConversationAttachmentListResponse struct { - // Cursor for fetching the next page - Cursor string `json:"cursor"` - Items []ConversationAttachmentListResponseItem `json:"items"` +type SpaceStoragePathDeleteRequest struct { + // Whether to delete directory contents recursively + Recursive *bool `json:"recursive,omitempty"` } -// Instance list properties -type ConversationAttachmentListResponseItem struct { - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description *string `json:"description,omitempty"` - // The instance ID - ID string `json:"id"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The stored attachment file name - Name *string `json:"name,omitempty"` - // The attachment size in bytes - Size *float64 `json:"size,omitempty"` - // The inferred attachment MIME type - Type *string `json:"type,omitempty"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` +type SpaceStoragePathDeleteResponse struct { + // The deleted file or directory path + Path string `json:"path"` } -type ConversationAttachmentUploadParams struct { - ConversationID string `json:"conversationId"` +type SpaceStoragePathCopyParams struct { + // The source file path + Path string `json:"path"` + // The ID of the space + SpaceID string `json:"spaceId"` } -type ConversationAttachmentUploadRequest struct { - // The file to upload either as http: or data: URL - // - // The file definition to upload - File *ConversationAttachmentUploadRequestFile `json:"file"` +type SpaceStoragePathCopyRequest struct { + // The destination file path + DestinationPath string `json:"destinationPath"` } - -// The file definition to upload -type PurpleFile struct { - // The file name - Name *string `json:"name,omitempty"` - // The file size - Size float64 `json:"size"` - // The file type - Type string `json:"type"` + +type SpaceStoragePathCopyResponse struct { + // The destination file path + Path string `json:"path"` } -type ConversationAttachmentUploadResponse struct { - // The ID of the upload file - ID string `json:"id"` - // The name of the uploaded file - Name *string `json:"name,omitempty"` - // The request required to upload the file - UploadRequest *ConversationAttachmentUploadResponseUploadRequest `json:"uploadRequest,omitempty"` +type SpaceSiteListParams struct { + // The cursor to use for pagination + Cursor *string `json:"cursor,omitempty"` + // Key-value pairs to filter the sites by metadata + Meta map[string]string `json:"meta,omitempty"` + // The order of the paginated items + Order *SpaceSiteListParamsOrder `json:"order,omitempty"` + SpaceID string `json:"spaceId"` + // The number of items to retrieve + Take *int64 `json:"take,omitempty"` } -// The request required to upload the file -type ConversationAttachmentUploadResponseUploadRequest struct { - // The HTTP headers to use - Headers map[string]interface{} `json:"headers"` - // The HTTP method to use - Method string `json:"method"` - // The HTTP url to use - URL string `json:"url"` +type SpaceSiteListResponse struct { + // Cursor for fetching the next page + Cursor string `json:"cursor"` + Items []SpaceSiteListResponseItem `json:"items"` } -type ConversationChannelSubscribeRequest struct { - // Number of recent monitor events to replay before following - // live, so a console opening mid-conversation can catch up. - HistoryLength *int64 `json:"historyLength,omitempty"` +// Instance list properties +type SpaceSiteListResponseItem struct { + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description *string `json:"description,omitempty"` + // The instance ID + ID string `json:"id"` + // Directory index filename + Index *string `json:"index,omitempty"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // Not found filename + NotFound *string `json:"notFound,omitempty"` + // The folder prefix inside the space + Prefix *string `json:"prefix,omitempty"` + // The subdomain slug of the site + Slug *string `json:"slug,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` } -type ConversationChannelSubscribeStreamItem struct { - // The monitor event published to the channel - Data map[string]interface{} `json:"data"` - // The type of event - Type ConversationChannelSubscribeStreamItemType `json:"type"` +type SpaceSiteListStreamItem struct { + // Instance list properties + Data SpaceSiteListStreamItemData `json:"data"` + // The type of event + Type SpaceSiteListStreamItemType `json:"type"` } -type ConversationCompactParams struct { - // The ID of the conversation to compact - ConversationID string `json:"conversationId"` +// Instance list properties +type SpaceSiteListStreamItemData struct { + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description *string `json:"description,omitempty"` + // The instance ID + ID string `json:"id"` + // Directory index filename + Index *string `json:"index,omitempty"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // Not found filename + NotFound *string `json:"notFound,omitempty"` + // The folder prefix inside the space + Prefix *string `json:"prefix,omitempty"` + // The subdomain slug of the site + Slug *string `json:"slug,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` } -type ConversationCompactResponse struct { - // The ID of the created checkpoint message, or the conversation ID if there was nothing to - // compact - ID string `json:"id"` - // The compacted text of the messages, or an empty string if there was nothing to compact - Text string `json:"text"` - // Usage information - Usage ConversationCompactResponseUsage `json:"usage"` +type SpaceSiteCreateParams struct { + SpaceID string `json:"spaceId"` } -// Usage information -type ConversationCompactResponseUsage struct { - // The tokens used in this exchange - Token float64 `json:"token"` +// Instance crud properties +type SpaceSiteCreateRequest struct { + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // The associated description + Description *string `json:"description,omitempty"` + // Directory index filename + Index *string `json:"index,omitempty"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // Not found filename + NotFound *string `json:"notFound,omitempty"` + // Optional folder prefix inside the space to serve from + Prefix *string `json:"prefix,omitempty"` + // The subdomain slug beneath the configured space apex + Slug string `json:"slug"` } -type ConversationMessageCompleteParams struct { - // The ID of the conversation to receive message from - ConversationID string `json:"conversationId"` +type SpaceSiteCreateResponse struct { + // The ID of the created site + ID string `json:"id"` } -type ConversationMessageCompleteRequest struct { - // Known entities - Entities []ConversationMessageCompleteRequestEntity `json:"entities,omitempty"` - // Extensions to enhance the bot's capabilities - Extensions *ConversationMessageCompleteRequestExtensions `json:"extensions,omitempty"` - // An array of functions to be added to the conversation - Functions []ConversationMessageCompleteRequestFunction `json:"functions,omitempty"` - // Execution limits to control conversation processing bounds - Limits *ConversationMessageCompleteRequestLimits `json:"limits,omitempty"` - // The text of the message to send. Omit to continue receiving from the existing - // conversation state without sending a new user message. - Text *string `json:"text,omitempty"` +type SpaceSiteUpdateParams struct { + SiteID string `json:"siteId"` + SpaceID string `json:"spaceId"` } -// Extracted entity from the message -type ConversationMessageCompleteRequestEntity struct { - // Start offset - Begin float64 `json:"begin"` - // End offset - End float64 `json:"end"` - Replacement *PurpleReplacement `json:"replacement,omitempty"` - // The text value of the entity - Text string `json:"text"` - // The entity type - Type string `json:"type"` +// Instance crud properties +type SpaceSiteUpdateRequest struct { + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // The associated description + Description *string `json:"description,omitempty"` + // Directory index filename + Index *string `json:"index,omitempty"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // Not found filename + NotFound *string `json:"notFound,omitempty"` + // Optional folder prefix inside the space to serve from + Prefix *string `json:"prefix,omitempty"` + // The subdomain slug beneath the configured space apex + Slug *string `json:"slug,omitempty"` } -type PurpleReplacement struct { - // Start offset - Begin float64 `json:"begin"` - // End offset - End float64 `json:"end"` - // The text value of the replacement - Text string `json:"text"` +type SpaceSiteUpdateResponse struct { + // The ID of the updated site + ID string `json:"id"` } -// Extensions to enhance the bot's capabilities -type ConversationMessageCompleteRequestExtensions struct { - // Additional backstory for the bot - Backstory *string `json:"backstory,omitempty"` - // Inline datasets to provide additional context - Datasets []TentacledDataset `json:"datasets,omitempty"` - // Feature flags to enable specific bot capabilities - Features []PurpleFeature `json:"features,omitempty"` - // Inline skillsets to provide additional abilities - Skillsets []TentacledSkillset `json:"skillsets,omitempty"` +type SpaceSiteFetchParams struct { + // The ID of the site to retrieve + SiteID string `json:"siteId"` + SpaceID string `json:"spaceId"` } -type TentacledDataset struct { - // The description of the dataset - Description *string `json:"description,omitempty"` - // The name of the dataset - Name *string `json:"name,omitempty"` - // The records in the dataset - Records []PurpleRecord `json:"records"` +// Instance list properties +type SpaceSiteFetchResponse struct { + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description *string `json:"description,omitempty"` + // The instance ID + ID string `json:"id"` + // Directory index filename + Index *string `json:"index,omitempty"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // Not found filename + NotFound *string `json:"notFound,omitempty"` + // The folder prefix inside the space + Prefix *string `json:"prefix,omitempty"` + // The subdomain slug of the site + Slug *string `json:"slug,omitempty"` + // The space the site belongs to + SpaceID *string `json:"spaceId,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` } -type PurpleRecord struct { - // Additional metadata for the record - Meta map[string]interface{} `json:"meta,omitempty"` - // The text content of the record - Text string `json:"text"` +type SpaceSiteDeleteParams struct { + // The ID of the site to delete + SiteID string `json:"siteId"` + SpaceID string `json:"spaceId"` } -type PurpleFeature struct { - // The name of the feature to enable - Name string `json:"name"` - // Optional configuration options for the feature - Options map[string]interface{} `json:"options,omitempty"` +type SpaceSiteDeleteResponse struct { + // The ID of the deleted site + ID string `json:"id"` } -type TentacledSkillset struct { - // The abilities in the skillset - Abilities []PurpleAbility `json:"abilities"` - // The description of the skillset - Description *string `json:"description,omitempty"` - // The name of the skillset - Name *string `json:"name,omitempty"` +type SkillsetListParams struct { + // The cursor to use for pagination + Cursor *string `json:"cursor,omitempty"` + // Key-value pairs to filter the items by metadata + Meta map[string]string `json:"meta,omitempty"` + // The order of the paginated items + Order *SkillsetListParamsOrder `json:"order,omitempty"` + // The number of items to retrieve + Take *int64 `json:"take,omitempty"` } -type PurpleAbility struct { - // The description of the ability - Description string `json:"description"` - // The instruction for the ability - Instruction string `json:"instruction"` - // Additional metadata for the ability - Meta map[string]interface{} `json:"meta,omitempty"` - // The name of the ability - Name string `json:"name"` - // Optional secret ID for the ability - SecretID *string `json:"secretId,omitempty"` +type SkillsetListResponse struct { + // Cursor for fetching the next page + Cursor string `json:"cursor"` + Items []SkillsetListResponseItem `json:"items"` } -type ConversationMessageCompleteRequestFunction struct { - // Configuration for when this function should be automatically called - Call *PurpleCall `json:"call,omitempty"` - // The description of the function - Description string `json:"description"` - // The name of the function (must be a valid JS identifier, max 64 chars) - Name string `json:"name"` - // JSON Schema definition for the function parameters - Parameters PurpleParameters `json:"parameters"` - // The result of the function execution - Result *HilariousResult `json:"result,omitempty"` +// Blueprint properties +type SkillsetListResponseItem struct { + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description *string `json:"description,omitempty"` + // The instance ID + ID string `json:"id"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The lifecycle state of a resource - toggle it on/off without deleting it + State *PurpleState `json:"state,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` + // The skillset visibility + Visibility *PurpleVisibility `json:"visibility,omitempty"` } -// Configuration for when this function should be automatically called -type PurpleCall struct { - // If true, this function will be force-called at the end of the conversation - End *bool `json:"end,omitempty"` - // If true, this function will be force-called at the start of the conversation - Start *bool `json:"start,omitempty"` +type SkillsetListStreamItem struct { + // Blueprint properties + Data SkillsetListStreamItemData `json:"data"` + // The type of event + Type SkillsetListStreamItemType `json:"type"` } -// JSON Schema definition for the function parameters -type PurpleParameters struct { - // Object property definitions - Properties map[string]interface{} `json:"properties"` - // Required property names - Required []string `json:"required,omitempty"` - // The schema type, must be "object" - Type StickyType `json:"type"` +// Blueprint properties +type SkillsetListStreamItemData struct { + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description *string `json:"description,omitempty"` + // The instance ID + ID string `json:"id"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The lifecycle state of a resource - toggle it on/off without deleting it + State *FluffyState `json:"state,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` + // The skillset visibility + Visibility *FluffyVisibility `json:"visibility,omitempty"` } -// The result of the function execution -type HilariousResult struct { - // The data returned by the function (can be any type) - Data interface{} `json:"data"` - // The channel for streaming function results - Channel *string `json:"channel,omitempty"` +// Blueprint properties +type SkillsetCreateRequest struct { + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The associated description + Description *string `json:"description,omitempty"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The lifecycle state of a resource - toggle it on/off without deleting it + State *SkillsetCreateRequestState `json:"state,omitempty"` + // The skillset visibility + Visibility *SkillsetCreateRequestVisibility `json:"visibility,omitempty"` } -// Execution limits to control conversation processing bounds -type ConversationMessageCompleteRequestLimits struct { - // Maximum number of function/tool calls. Controls how many total function calls can be made - // during the conversation. - Calls *int64 `json:"calls,omitempty"` - // Maximum number of model continuations. Controls how many times the model can continue - // generating after reaching a stop condition. - Continuations *int64 `json:"continuations,omitempty"` - // Maximum number of agentic iterations. Controls how many times the model can iterate - // through tool calls and responses. - Iterations *int64 `json:"iterations,omitempty"` +type SkillsetCreateResponse struct { + // The ID of the created skillset + ID string `json:"id"` } -type ConversationMessageCompleteResponse struct { - // Information about why the completion ended - End ConversationMessageCompleteResponseEnd `json:"end"` - // The ID of the created message - ID string `json:"id"` - // The text of the message received - Text string `json:"text"` - // Usage information - Usage ConversationMessageCompleteResponseUsage `json:"usage"` +type SkillsetUpdateParams struct { + SkillsetID string `json:"skillsetId"` } -// Information about why the completion ended -type ConversationMessageCompleteResponseEnd struct { - // The reason why the completion ended - Reason PurpleReason `json:"reason"` +// Blueprint properties +type SkillsetUpdateRequest struct { + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The associated description + Description *string `json:"description,omitempty"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The lifecycle state of a resource - toggle it on/off without deleting it + State *SkillsetUpdateRequestState `json:"state,omitempty"` + // The skillset visibility + Visibility *SkillsetUpdateRequestVisibility `json:"visibility,omitempty"` } -// Usage information -type ConversationMessageCompleteResponseUsage struct { - // The tokens used in this exchange - Token float64 `json:"token"` +type SkillsetUpdateResponse struct { + // The ID of the updated skillset + ID string `json:"id"` } -type ConversationMessageCompleteStreamItem struct { - // The data for the event - // - // A message in the conversation - // - // Information about an abort event in a streamed response - Data ConversationMessageCompleteStreamItemData `json:"data"` - // The type of event - Type ConversationMessageCompleteStreamItemType `json:"type"` +type SkillsetFetchParams struct { + // The ID of the skillset to retrieve + SkillsetID string `json:"skillsetId"` } -// The data for the event -// -// A message in the conversation -// -// Information about an abort event in a streamed response -type ConversationMessageCompleteStreamItemData struct { - // Information about why the completion ended - End *PurpleEnd `json:"end,omitempty"` - // The ID of the created message - ID *string `json:"id,omitempty"` - // The text of the message received - // - // The text of the message - Text *string `json:"text,omitempty"` - // Usage information - Usage *MischievousUsage `json:"usage,omitempty"` - // The error message - Message *string `json:"message,omitempty"` - // The token generated - Token *string `json:"token,omitempty"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The type of the message - Type *IndigoType `json:"type,omitempty"` - // The function or tool associated with the abort - FunctionName *string `json:"functionName,omitempty"` - // The abort reason if available - Reason interface{} `json:"reason"` - // The number of input tokens used - InputTokensUsed *float64 `json:"inputTokensUsed,omitempty"` - // The model used - Model *string `json:"model,omitempty"` - // The number of output tokens used - OutputTokensUsed *float64 `json:"outputTokensUsed,omitempty"` +// Blueprint properties +type SkillsetFetchResponse struct { + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description *string `json:"description,omitempty"` + // The instance ID + ID string `json:"id"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The lifecycle state of a resource - toggle it on/off without deleting it + State *SkillsetFetchResponseState `json:"state,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` + // The skillset visibility + Visibility *SkillsetFetchResponseVisibility `json:"visibility,omitempty"` } -// Information about why the completion ended -type PurpleEnd struct { - // The reason why the completion ended - Reason FluffyReason `json:"reason"` +type SkillsetDeleteParams struct { + // The ID of the skillset to delete + SkillsetID string `json:"skillsetId"` } -// Usage information -type MischievousUsage struct { - // The tokens used in this exchange - Token float64 `json:"token"` +type SkillsetDeleteResponse struct { + // The ID of the deleted skillset + ID string `json:"id"` } -type ConversationContactUpsertParams struct { - // The ID of the conversation - ConversationID string `json:"conversationId"` +type SkillsetAbilityListParams struct { + // The cursor to use for pagination + Cursor *string `json:"cursor,omitempty"` + // The order of the paginated items + Order *SkillsetAbilityListParamsOrder `json:"order,omitempty"` + // The ID of the skillset + SkillsetID string `json:"skillsetId"` + // The number of items to retrieve + Take *int64 `json:"take,omitempty"` } -// Instance crud properties -type ConversationContactUpsertRequest struct { - // The associated description - Description *string `json:"description,omitempty"` - // The email address of the contact - Email *string `json:"email,omitempty"` - // The fingerprint of the contact - Fingerprint *string `json:"fingerprint,omitempty"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The nickname of the contact - Nick *string `json:"nick,omitempty"` - // The phone number of the contact - Phone *string `json:"phone,omitempty"` +type SkillsetAbilityListResponse struct { + // Cursor for fetching the next page + Cursor string `json:"cursor"` + Items []SkillsetAbilityListResponseItem `json:"items"` } -type ConversationContactUpsertResponse struct { - // The ID of the created contact - ID string `json:"id"` +// Blueprint properties +type SkillsetAbilityListResponseItem struct { + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description string `json:"description"` + // The instance ID + ID string `json:"id"` + Instruction string `json:"instruction"` + // The ID of the bot associated with the ability + LinkedBotID *string `json:"linkedBotId,omitempty"` + // The ID of the file associated with the ability + LinkedFileID *string `json:"linkedFileId,omitempty"` + // The ID of the secret associated with the ability + LinkedSecretID *string `json:"linkedSecretId,omitempty"` + // The ID of the space associated with the ability + LinkedSpaceID *string `json:"linkedSpaceId,omitempty"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name string `json:"name"` + // The lifecycle state of a resource - toggle it on/off without deleting it + State *TentacledState `json:"state,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` } -type ConversationDeleteParams struct { - // The ID of the conversation to delete - ConversationID string `json:"conversationId"` +type SkillsetAbilityListStreamItem struct { + // Blueprint properties + Data SkillsetAbilityListStreamItemData `json:"data"` + // The type of event + Type SkillsetAbilityListStreamItemType `json:"type"` } -type ConversationDeleteResponse struct { - // The ID of the deleted conversation - ID string `json:"id"` +// Blueprint properties +type SkillsetAbilityListStreamItemData struct { + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description string `json:"description"` + // The instance ID + ID string `json:"id"` + Instruction string `json:"instruction"` + // The ID of the bot associated with the ability + LinkedBotID *string `json:"linkedBotId,omitempty"` + // The ID of the file associated with the ability + LinkedFileID *string `json:"linkedFileId,omitempty"` + // The ID of the secret associated with the ability + LinkedSecretID *string `json:"linkedSecretId,omitempty"` + // The ID of the space associated with the ability + LinkedSpaceID *string `json:"linkedSpaceId,omitempty"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name string `json:"name"` + // The lifecycle state of a resource - toggle it on/off without deleting it + State *StickyState `json:"state,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` } -type StatefulConversationDispatchRequest struct { - // A unique ID to deduplicate dispatch requests - ChannelID *string `json:"channelId,omitempty"` - // Known entities - Entities []StatefulConversationDispatchRequestEntity `json:"entities,omitempty"` - // Extensions to enhance the bot's capabilities - Extensions *StatefulConversationDispatchRequestExtensions `json:"extensions,omitempty"` - // An array of functions to be added to the conversation - Functions []StatefulConversationDispatchRequestFunction `json:"functions,omitempty"` - // Execution limits to control conversation processing bounds - Limits *StatefulConversationDispatchRequestLimits `json:"limits,omitempty"` - // The text of the message to send. Omit to continue receiving from the existing - // conversation state without sending a new user message. - Text *string `json:"text,omitempty"` +type SkillsetAbilitiesExportParams struct { + // The cursor to use for pagination + Cursor *string `json:"cursor,omitempty"` + // The order of the paginated items + Order *SkillsetAbilitiesExportParamsOrder `json:"order,omitempty"` + // The ID of the skillset to export + SkillsetID string `json:"skillsetId"` + // The number of items to retrieve + Take *int64 `json:"take,omitempty"` } -// Extracted entity from the message -type StatefulConversationDispatchRequestEntity struct { - // Start offset - Begin float64 `json:"begin"` - // End offset - End float64 `json:"end"` - Replacement *FluffyReplacement `json:"replacement,omitempty"` - // The text value of the entity - Text string `json:"text"` - // The entity type - Type string `json:"type"` +type SkillsetAbilitiesExportResponse struct { + // Cursor for fetching the next page + Cursor string `json:"cursor"` + Items []SkillsetAbilitiesExportResponseItem `json:"items"` } -type FluffyReplacement struct { - // Start offset - Begin float64 `json:"begin"` - // End offset - End float64 `json:"end"` - // The text value of the replacement - Text string `json:"text"` +// Blueprint properties +type SkillsetAbilitiesExportResponseItem struct { + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description string `json:"description"` + // The instance ID + ID string `json:"id"` + Instruction string `json:"instruction"` + // The ID of the bot associated with the ability + LinkedBotID *string `json:"linkedBotId,omitempty"` + // The ID of the file associated with the ability + LinkedFileID *string `json:"linkedFileId,omitempty"` + // The ID of the secret associated with the ability + LinkedSecretID *string `json:"linkedSecretId,omitempty"` + // The ID of the space associated with the ability + LinkedSpaceID *string `json:"linkedSpaceId,omitempty"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name string `json:"name"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` } -// Extensions to enhance the bot's capabilities -type StatefulConversationDispatchRequestExtensions struct { - // Additional backstory for the bot - Backstory *string `json:"backstory,omitempty"` - // Inline datasets to provide additional context - Datasets []StickyDataset `json:"datasets,omitempty"` - // Feature flags to enable specific bot capabilities - Features []FluffyFeature `json:"features,omitempty"` - // Inline skillsets to provide additional abilities - Skillsets []StickySkillset `json:"skillsets,omitempty"` +type SkillsetAbilitiesExportStreamItem struct { + // Blueprint properties + Data SkillsetAbilitiesExportStreamItemData `json:"data"` + // The type of event + Type SkillsetAbilitiesExportStreamItemType `json:"type"` } -type StickyDataset struct { - // The description of the dataset - Description *string `json:"description,omitempty"` - // The name of the dataset - Name *string `json:"name,omitempty"` - // The records in the dataset - Records []FluffyRecord `json:"records"` +// Blueprint properties +type SkillsetAbilitiesExportStreamItemData struct { + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description string `json:"description"` + // The instance ID + ID string `json:"id"` + Instruction string `json:"instruction"` + // The ID of the bot associated with the ability + LinkedBotID *string `json:"linkedBotId,omitempty"` + // The ID of the file associated with the ability + LinkedFileID *string `json:"linkedFileId,omitempty"` + // The ID of the secret associated with the ability + LinkedSecretID *string `json:"linkedSecretId,omitempty"` + // The ID of the space associated with the ability + LinkedSpaceID *string `json:"linkedSpaceId,omitempty"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name string `json:"name"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` } -type FluffyRecord struct { - // Additional metadata for the record - Meta map[string]interface{} `json:"meta,omitempty"` - // The text content of the record - Text string `json:"text"` +type SkillsetAbilityCreateParams struct { + SkillsetID string `json:"skillsetId"` } -type FluffyFeature struct { - // The name of the feature to enable - Name string `json:"name"` - // Optional configuration options for the feature - Options map[string]interface{} `json:"options,omitempty"` +// Blueprint properties +type SkillsetAbilityCreateRequest struct { + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The associated description + Description *string `json:"description,omitempty"` + // The instruction of the ability + Instruction *string `json:"instruction,omitempty"` + // The ID of the bot associated with the ability + LinkedBotID *string `json:"linkedBotId,omitempty"` + // The ID of the file associated with the ability + LinkedFileID *string `json:"linkedFileId,omitempty"` + // The ID of the secret associated with the ability + LinkedSecretID *string `json:"linkedSecretId,omitempty"` + // The ID of the space associated with the ability + LinkedSpaceID *string `json:"linkedSpaceId,omitempty"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The lifecycle state of a resource - toggle it on/off without deleting it + State *SkillsetAbilityCreateRequestState `json:"state,omitempty"` } -type StickySkillset struct { - // The abilities in the skillset - Abilities []FluffyAbility `json:"abilities"` - // The description of the skillset - Description *string `json:"description,omitempty"` - // The name of the skillset - Name *string `json:"name,omitempty"` +type SkillsetAbilityCreateResponse struct { + // The ID of the created ability + ID string `json:"id"` } -type FluffyAbility struct { - // The description of the ability - Description string `json:"description"` - // The instruction for the ability - Instruction string `json:"instruction"` - // Additional metadata for the ability - Meta map[string]interface{} `json:"meta,omitempty"` - // The name of the ability - Name string `json:"name"` - // Optional secret ID for the ability - SecretID *string `json:"secretId,omitempty"` +type SkillsetAbilityUpdateParams struct { + AbilityID string `json:"abilityId"` + SkillsetID string `json:"skillsetId"` } -type StatefulConversationDispatchRequestFunction struct { - // Configuration for when this function should be automatically called - Call *FluffyCall `json:"call,omitempty"` - // The description of the function - Description string `json:"description"` - // The name of the function (must be a valid JS identifier, max 64 chars) - Name string `json:"name"` - // JSON Schema definition for the function parameters - Parameters FluffyParameters `json:"parameters"` - // The result of the function execution - Result *AmbitiousResult `json:"result,omitempty"` +// Blueprint properties +type SkillsetAbilityUpdateRequest struct { + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The associated description + Description *string `json:"description,omitempty"` + // The text to update the ability with + Instruction *string `json:"instruction,omitempty"` + // The ID of the bot associated with the ability + LinkedBotID *string `json:"linkedBotId,omitempty"` + // The ID of the file associated with the ability + LinkedFileID *string `json:"linkedFileId,omitempty"` + // The ID of the secret associated with the ability + LinkedSecretID *string `json:"linkedSecretId,omitempty"` + // The ID of the space associated with the ability + LinkedSpaceID *string `json:"linkedSpaceId,omitempty"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The lifecycle state of a resource - toggle it on/off without deleting it + State *SkillsetAbilityUpdateRequestState `json:"state,omitempty"` } -// Configuration for when this function should be automatically called -type FluffyCall struct { - // If true, this function will be force-called at the end of the conversation - End *bool `json:"end,omitempty"` - // If true, this function will be force-called at the start of the conversation - Start *bool `json:"start,omitempty"` +type SkillsetAbilityUpdateResponse struct { + // The ID of the updated ability + ID string `json:"id"` } -// JSON Schema definition for the function parameters -type FluffyParameters struct { - // Object property definitions - Properties map[string]interface{} `json:"properties"` - // Required property names - Required []string `json:"required,omitempty"` - // The schema type, must be "object" - Type IndecentType `json:"type"` +type SkillsetAbilityFetchParams struct { + // The ID of the ability to retrieve + AbilityID string `json:"abilityId"` + // The ID of the skillset + SkillsetID string `json:"skillsetId"` } -// The result of the function execution -type AmbitiousResult struct { - // The data returned by the function (can be any type) - Data interface{} `json:"data"` - // The channel for streaming function results - Channel *string `json:"channel,omitempty"` +// Blueprint properties +type SkillsetAbilityFetchResponse struct { + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description string `json:"description"` + // The instance ID + ID string `json:"id"` + // The instruction of the skillset ability + Instruction string `json:"instruction"` + // The ID of the bot associated with the ability + LinkedBotID *string `json:"linkedBotId,omitempty"` + // The ID of the file associated with the ability + LinkedFileID *string `json:"linkedFileId,omitempty"` + // The ID of the secret associated with the ability + LinkedSecretID *string `json:"linkedSecretId,omitempty"` + // The ID of the space associated with the ability + LinkedSpaceID *string `json:"linkedSpaceId,omitempty"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name string `json:"name"` + // The lifecycle state of a resource - toggle it on/off without deleting it + State *SkillsetAbilityFetchResponseState `json:"state,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` } -// Execution limits to control conversation processing bounds -type StatefulConversationDispatchRequestLimits struct { - // Maximum number of function/tool calls. Controls how many total function calls can be made - // during the conversation. - Calls *int64 `json:"calls,omitempty"` - // Maximum number of model continuations. Controls how many times the model can continue - // generating after reaching a stop condition. - Continuations *int64 `json:"continuations,omitempty"` - // Maximum number of agentic iterations. Controls how many times the model can iterate - // through tool calls and responses. - Iterations *int64 `json:"iterations,omitempty"` +type SkillsetAbilityExecuteParams struct { + // The ID of the ability to execute + AbilityID string `json:"abilityId"` + // The ID of the skillset containing the ability + SkillsetID string `json:"skillsetId"` } -type StatefulConversationDispatchResponse struct { - // The channel ID to subscribe to for completion events - ChannelID string `json:"channelId"` +type SkillsetAbilityExecuteRequest struct { + // The ID of the contact to associate with the execution + ContactID *string `json:"contactId,omitempty"` + // The input to process with the ability. This can be structured + // text such as JSON or YAML for precise parameter control, or + // unstructured natural language text. When unstructured text is + // provided, the system will automatically detect and extract the + // relevant parameters from the input. + Input *string `json:"input,omitempty"` } -type ConversationDownvoteParams struct { - // The ID of the conversation - ConversationID string `json:"conversationId"` +type SkillsetAbilityExecuteResponse struct { + // Error message if execution failed + Error *string `json:"error,omitempty"` + // Messages generated during execution + Messages []SkillsetAbilityExecuteResponseMessage `json:"messages,omitempty"` + // The result of the ability execution + Result interface{} `json:"result"` + // Usage information + Usage SkillsetAbilityExecuteResponseUsage `json:"usage"` } -type ConversationDownvoteRequest struct { - // The reason for the downvote - Reason *string `json:"reason,omitempty"` - // The value of the downvote - Value *int64 `json:"value,omitempty"` +// A message in the conversation +type SkillsetAbilityExecuteResponseMessage struct { + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The text of the message + Text string `json:"text"` + // The type of the message + Type PurpleType `json:"type"` } -type ConversationDownvoteResponse struct { - // The conversation ID of the downvoted conversation - ID string `json:"id"` +// Usage information +type SkillsetAbilityExecuteResponseUsage struct { + // The tokens used in this exchange + Token float64 `json:"token"` } -type ConversationFetchParams struct { - // The ID of the conversation to retrieve - ConversationID string `json:"conversationId"` +type SkillsetAbilityExecuteStreamItem struct { + // The data for the event + // + // A message in the conversation + // + // Information about an abort event in a streamed response + Data SkillsetAbilityExecuteStreamItemData `json:"data"` + // The type of event + Type SkillsetAbilityExecuteStreamItemType `json:"type"` } -// A bot configuration or reference +// The data for the event // -// A bot configuration that can be applied without a dedicated bot instance. -type ConversationFetchResponse struct { - // The contact id assigned to this conversation - ContactID *string `json:"contactId,omitempty"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description *string `json:"description,omitempty"` - // The instance ID - ID string `json:"id"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The task id assigned to this conversation - TaskID *string `json:"taskId,omitempty"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` - // The ID of the bot this configuration is using - BotID *string `json:"botId,omitempty"` - // The backstory this configuration is using - Backstory *string `json:"backstory,omitempty"` - // The id of the dataset this configuration is using - DatasetID *string `json:"datasetId,omitempty"` - // A model definition - Model *string `json:"model,omitempty"` - // The moderation flag for this configuration - Moderation *bool `json:"moderation,omitempty"` - // The privacy flag for this configuration - Privacy *bool `json:"privacy,omitempty"` - // The id of the skillset this configuration is using - SkillsetID *string `json:"skillsetId,omitempty"` +// # A message in the conversation +// +// Information about an abort event in a streamed response +type SkillsetAbilityExecuteStreamItemData struct { + // Error message if execution failed + Error *string `json:"error,omitempty"` + // Messages generated during execution + Messages []DataMessage `json:"messages,omitempty"` + // The result of the ability execution + Result interface{} `json:"result"` + // Usage information + Usage *MischievousUsage `json:"usage,omitempty"` + // The error message + Message *string `json:"message,omitempty"` + // The token generated + Token *string `json:"token,omitempty"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The text of the message + Text *string `json:"text,omitempty"` + // The type of the message + Type *TentacledType `json:"type,omitempty"` + // The function or tool associated with the abort + FunctionName *string `json:"functionName,omitempty"` + // The abort reason if available + Reason interface{} `json:"reason"` + // The number of input tokens used + InputTokensUsed *float64 `json:"inputTokensUsed,omitempty"` + // The model used + Model *string `json:"model,omitempty"` + // The number of output tokens used + OutputTokensUsed *float64 `json:"outputTokensUsed,omitempty"` } -type ConversationMessageDeleteParams struct { - // The ID of the conversation containing the message - ConversationID string `json:"conversationId"` - // The ID of the message to delete - MessageID string `json:"messageId"` +// A message in the conversation +type DataMessage struct { + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The text of the message + Text string `json:"text"` + // The type of the message + Type FluffyType `json:"type"` } -type ConversationMessageDeleteResponse struct { - // The ID of the deleted message - ID string `json:"id"` +// Usage information +type MischievousUsage struct { + // The tokens used in this exchange + Token float64 `json:"token"` } -type ConversationMessageDownvoteParams struct { - // The ID of the conversation - ConversationID string `json:"conversationId"` - // The ID of the message - MessageID string `json:"messageId"` +type SkillsetAbilityDeleteParams struct { + // The ID of the ability to delete + AbilityID string `json:"abilityId"` + // The ID of the skillset + SkillsetID string `json:"skillsetId"` } -type ConversationMessageDownvoteRequest struct { - // The reason for the downvote - Reason *string `json:"reason,omitempty"` - // The value of the downvote - Value *int64 `json:"value,omitempty"` +type SkillsetAbilityDeleteResponse struct { + // The ID of the deleted ability + ID string `json:"id"` } -type ConversationMessageDownvoteResponse struct { - // The ID of the downvoted message - ID string `json:"id"` +type SecretListParams struct { + // The cursor to use for pagination + Cursor *string `json:"cursor,omitempty"` + // Key-value pairs to filter the items by metadata + Meta map[string]string `json:"meta,omitempty"` + // The order of the paginated items + Order *SecretListParamsOrder `json:"order,omitempty"` + // The number of items to retrieve + Take *int64 `json:"take,omitempty"` } -type ConversationMessageFetchParams struct { - // The ID of the conversation containing the message - ConversationID string `json:"conversationId"` - // The ID of the message to retrieve - MessageID string `json:"messageId"` +type SecretListResponse struct { + // Cursor for fetching the next page + Cursor string `json:"cursor"` + Items []SecretListResponseItem `json:"items"` } -// Instance list properties -type ConversationMessageFetchResponse struct { - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description *string `json:"description,omitempty"` - // The instance ID - ID string `json:"id"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The text of the fetched message - Text string `json:"text"` - // The type of the message - Type ConversationMessageFetchResponseType `json:"type"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` +// Blueprint properties +type SecretListResponseItem struct { + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The config of the secret (config.clientSecret is returned as '********' if configured, + // null otherwise) + Config map[string]interface{} `json:"config,omitempty"` + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description *string `json:"description,omitempty"` + // The instance ID + ID string `json:"id"` + // The kind of the secret + Kind *FluffyKind `json:"kind,omitempty"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The type of the secret + Type *StickyType `json:"type,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` + // The visibility of the secret + Visibility *TentacledVisibility `json:"visibility,omitempty"` } -type ConversationMessageSynthesizeParams struct { - // The ID of the conversation - ConversationID string `json:"conversationId"` - // The ID of the message - MessageID string `json:"messageId"` +type SecretListStreamItem struct { + // Blueprint properties + Data SecretListStreamItemData `json:"data"` + // The type of event + Type SecretListStreamItemType `json:"type"` } -type ConversationMessageSynthesizeResponse struct { - // The ID of the synthesized message - ID string `json:"id"` +// Blueprint properties +type SecretListStreamItemData struct { + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The config of the secret (config.clientSecret is returned as '********' if configured, + // null otherwise) + Config map[string]interface{} `json:"config,omitempty"` + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description *string `json:"description,omitempty"` + // The instance ID + ID string `json:"id"` + // The kind of the secret + Kind *TentacledKind `json:"kind,omitempty"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The type of the secret + Type *IndigoType `json:"type,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` + // The visibility of the secret + Visibility *StickyVisibility `json:"visibility,omitempty"` } -type ConversationMessageUpdateParams struct { - // The ID of the conversation - ConversationID string `json:"conversationId"` - // The ID of the message - MessageID string `json:"messageId"` +// Blueprint properties +type SecretCreateRequest struct { + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The config of the secret + Config map[string]interface{} `json:"config,omitempty"` + // The associated description + Description *string `json:"description,omitempty"` + // The kind of the secret + Kind *SecretCreateRequestKind `json:"kind,omitempty"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The type of the secret + Type *SecretCreateRequestType `json:"type,omitempty"` + // The value of the secret + Value *string `json:"value,omitempty"` + // The visibility of the secret + Visibility *SecretCreateRequestVisibility `json:"visibility,omitempty"` } -// Instance crud properties -type ConversationMessageUpdateRequest struct { - // The associated description - Description *string `json:"description,omitempty"` - // Known entities - Entities []ConversationMessageUpdateRequestEntity `json:"entities,omitempty"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The updated text of the message - Text *string `json:"text,omitempty"` - // The type of the message - Type *ConversationMessageUpdateRequestType `json:"type,omitempty"` +type SecretCreateResponse struct { + // The ID of the created secret + ID string `json:"id"` } -// Extracted entity from the message -type ConversationMessageUpdateRequestEntity struct { - // Start offset - Begin float64 `json:"begin"` - // End offset - End float64 `json:"end"` - Replacement *TentacledReplacement `json:"replacement,omitempty"` - // The text value of the entity - Text string `json:"text"` - // The entity type - Type string `json:"type"` +type SecretVerifyParams struct { + // The ID of the secret to be verified + SecretID string `json:"secretId"` } -type TentacledReplacement struct { - // Start offset - Begin float64 `json:"begin"` - // End offset - End float64 `json:"end"` - // The text value of the replacement - Text string `json:"text"` +type SecretVerifyResponse struct { + Action *SecretVerifyResponseAction `json:"action,omitempty"` + // The ID of the verified secret + ID string `json:"id"` + // The status of the secret + Status SecretVerifyResponseStatus `json:"status"` } -type ConversationMessageUpdateResponse struct { - // The ID of the updated message - ID string `json:"id"` +// The action to take next +type SecretVerifyResponseAction struct { + // The type of action to take + Type IndecentType `json:"type"` + // The URL to authenticate the secret + URL string `json:"url"` } -type ConversationMessageUpvoteParams struct { - // The ID of the conversation - ConversationID string `json:"conversationId"` - // The ID of the message - MessageID string `json:"messageId"` +type SecretUpdateParams struct { + SecretID string `json:"secretId"` } -type ConversationMessageUpvoteRequest struct { - // The reason for the upvote - Reason *string `json:"reason,omitempty"` - // The value of the upvote - Value *int64 `json:"value,omitempty"` +// Blueprint properties +type SecretUpdateRequest struct { + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The config of the secret + Config map[string]interface{} `json:"config,omitempty"` + // The associated description + Description *string `json:"description,omitempty"` + // The kind of the secret + Kind *SecretUpdateRequestKind `json:"kind,omitempty"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The type of the secret + Type *SecretUpdateRequestType `json:"type,omitempty"` + // The value of the secret + Value *string `json:"value,omitempty"` + // The visibility of the secret + Visibility *SecretUpdateRequestVisibility `json:"visibility,omitempty"` } -type ConversationMessageUpvoteResponse struct { - // The ID of the upvoted message - ID string `json:"id"` +type SecretUpdateResponse struct { + // The ID of the updated secret + ID string `json:"id"` } -type ConversationMessageCreateParams struct { - // The ID of the conversation - ConversationID string `json:"conversationId"` +type SecretRevokeParams struct { + SecretID string `json:"secretId"` } -// Instance crud properties -type ConversationMessageCreateRequest struct { - // The associated description - Description *string `json:"description,omitempty"` - // Known entities - Entities []ConversationMessageCreateRequestEntity `json:"entities,omitempty"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The text of the message - Text string `json:"text"` - // The type of the message - Type ConversationMessageCreateRequestType `json:"type"` +type SecretRevokeResponse struct { + // The ID of the revoked secret + ID string `json:"id"` +} + +type SecretProxyParams struct { + // The ID of the secret to inject + SecretID string `json:"secretId"` } -// Extracted entity from the message -type ConversationMessageCreateRequestEntity struct { - // Start offset - Begin float64 `json:"begin"` - // End offset - End float64 `json:"end"` - Replacement *StickyReplacement `json:"replacement,omitempty"` - // The text value of the entity - Text string `json:"text"` - // The entity type - Type string `json:"type"` +type SecretProxyRequest struct { + // The request body + Body *string `json:"body,omitempty"` + // The request headers (may reference the secret) + Headers map[string]string `json:"headers,omitempty"` + // The HTTP method + Method *string `json:"method,omitempty"` + // The destination URL + URL string `json:"url"` } -type StickyReplacement struct { - // Start offset - Begin float64 `json:"begin"` - // End offset - End float64 `json:"end"` - // The text value of the replacement - Text string `json:"text"` +type SecretMintParams struct { + // The ID of the secret to mint + SecretID string `json:"secretId"` } -type ConversationMessageCreateResponse struct { - // Extracted entities from the message - Entities []ConversationMessageCreateResponseEntity `json:"entities"` - // The ID of the created message - ID string `json:"id"` +type SecretMintResponse struct { + // Token expiry as a unix timestamp in ms, or null + ExpiresAt *float64 `json:"expiresAt,omitempty"` + // The usable token to send to the provider + Token string `json:"token"` } -// Extracted entity from the message -type ConversationMessageCreateResponseEntity struct { - // Start offset - Begin float64 `json:"begin"` - // End offset - End float64 `json:"end"` - Replacement *IndigoReplacement `json:"replacement,omitempty"` - // The text value of the entity - Text string `json:"text"` - // The entity type - Type string `json:"type"` +type SecretFetchParams struct { + // The ID of the secret to retrieve + SecretID string `json:"secretId"` } -type IndigoReplacement struct { - // Start offset - Begin float64 `json:"begin"` - // End offset - End float64 `json:"end"` - // The text value of the replacement - Text string `json:"text"` +// Blueprint properties +type SecretFetchResponse struct { + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The config of the secret (config.clientSecret is returned as '********' if configured, + // null otherwise) + Config map[string]interface{} `json:"config,omitempty"` + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description *string `json:"description,omitempty"` + // The instance ID + ID string `json:"id"` + // The kind of the secret + Kind *SecretFetchResponseKind `json:"kind,omitempty"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The type of the secret + Type *SecretFetchResponseType `json:"type,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` + // The visibility of the secret + Visibility *SecretFetchResponseVisibility `json:"visibility,omitempty"` } -type ConversationMessageListParams struct { - // The ID of the conversation to list messages for - ConversationID string `json:"conversationId"` - // The cursor to use for pagination - Cursor *string `json:"cursor,omitempty"` - // The order of the paginated items - Order *ConversationMessageListParamsOrder `json:"order,omitempty"` - // The number of items to retrieve - Take *int64 `json:"take,omitempty"` +type SecretDeleteParams struct { + // The ID of the secret to delete + SecretID string `json:"secretId"` } -type ConversationMessageListResponse struct { - // Cursor for fetching the next page - Cursor string `json:"cursor"` - Items []ConversationMessageListResponseItem `json:"items"` +type SecretDeleteResponse struct { + // The ID of the deleted secret + ID string `json:"id"` } -// Instance list properties -type ConversationMessageListResponseItem struct { - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description *string `json:"description,omitempty"` - // The instance ID - ID string `json:"id"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The text of the message - Text string `json:"text"` - // The type of the message - Type HilariousType `json:"type"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` +type SecretAuthenticateParams struct { + // The ID of the secret to authenticate + SecretID string `json:"secretId"` } -type ConversationMessageListStreamItem struct { - // Instance list properties - Data ConversationMessageListStreamItemData `json:"data"` - // The type of event - Type ConversationMessageListStreamItemType `json:"type"` +type SecretAuthenticateResponse struct { + // The ID of the secret to authenticate + ID string `json:"id"` + // The URL to authenticate the secret + URL string `json:"url"` } -// Instance list properties -type ConversationMessageListStreamItemData struct { - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description *string `json:"description,omitempty"` - // The instance ID - ID string `json:"id"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The text of the message - Text string `json:"text"` - // The type of the message - Type AmbitiousType `json:"type"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` +type PortalListParams struct { + // The cursor to use for pagination + Cursor *string `json:"cursor,omitempty"` + // Key-value pairs to filter the items by metadata + Meta map[string]string `json:"meta,omitempty"` + // The order of the paginated items + Order *PortalListParamsOrder `json:"order,omitempty"` + // The number of items to retrieve + Take *int64 `json:"take,omitempty"` } -type ConversationMessageReceiveParams struct { - // The ID of the conversation to receive message from - ConversationID string `json:"conversationId"` +type PortalListResponse struct { + // Cursor for fetching the next page + Cursor string `json:"cursor"` + Items []PortalListResponseItem `json:"items"` } -type ConversationMessageReceiveRequest struct { - // Extensions to enhance the bot's capabilities - Extensions *ConversationMessageReceiveRequestExtensions `json:"extensions,omitempty"` - // An array of functions to be added to the conversation - Functions []ConversationMessageReceiveRequestFunction `json:"functions,omitempty"` +// Blueprint properties +type PortalListResponseItem struct { + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The config of the portal + Config map[string]interface{} `json:"config,omitempty"` + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description *string `json:"description,omitempty"` + // The instance ID + ID string `json:"id"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The slug of the portal + Slug *string `json:"slug,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` } -// Extensions to enhance the bot's capabilities -type ConversationMessageReceiveRequestExtensions struct { - // Additional backstory for the bot - Backstory *string `json:"backstory,omitempty"` - // Inline datasets to provide additional context - Datasets []IndigoDataset `json:"datasets,omitempty"` - // Feature flags to enable specific bot capabilities - Features []TentacledFeature `json:"features,omitempty"` - // Inline skillsets to provide additional abilities - Skillsets []IndigoSkillset `json:"skillsets,omitempty"` +type PortalListStreamItem struct { + // Blueprint properties + Data PortalListStreamItemData `json:"data"` + // The type of event + Type PortalListStreamItemType `json:"type"` } -type IndigoDataset struct { - // The description of the dataset - Description *string `json:"description,omitempty"` - // The name of the dataset - Name *string `json:"name,omitempty"` - // The records in the dataset - Records []TentacledRecord `json:"records"` +// Blueprint properties +type PortalListStreamItemData struct { + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The config of the portal + Config map[string]interface{} `json:"config,omitempty"` + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description *string `json:"description,omitempty"` + // The instance ID + ID string `json:"id"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The slug of the portal + Slug *string `json:"slug,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` } -type TentacledRecord struct { - // Additional metadata for the record - Meta map[string]interface{} `json:"meta,omitempty"` - // The text content of the record - Text string `json:"text"` +// Blueprint properties +type PortalCreateRequest struct { + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The config of the portal + Config map[string]interface{} `json:"config,omitempty"` + // The associated description + Description *string `json:"description,omitempty"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The slug of the portal + Slug *string `json:"slug,omitempty"` } -type TentacledFeature struct { - // The name of the feature to enable - Name string `json:"name"` - // Optional configuration options for the feature - Options map[string]interface{} `json:"options,omitempty"` +type PortalCreateResponse struct { + // The ID of the created portal + ID string `json:"id"` } -type IndigoSkillset struct { - // The abilities in the skillset - Abilities []TentacledAbility `json:"abilities"` - // The description of the skillset - Description *string `json:"description,omitempty"` - // The name of the skillset - Name *string `json:"name,omitempty"` +type PortalUpdateParams struct { + PortalID string `json:"portalId"` } -type TentacledAbility struct { - // The description of the ability - Description string `json:"description"` - // The instruction for the ability - Instruction string `json:"instruction"` - // Additional metadata for the ability - Meta map[string]interface{} `json:"meta,omitempty"` - // The name of the ability - Name string `json:"name"` - // Optional secret ID for the ability - SecretID *string `json:"secretId,omitempty"` +// Blueprint properties +type PortalUpdateRequest struct { + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The config for the portal + Config map[string]interface{} `json:"config,omitempty"` + // The associated description + Description *string `json:"description,omitempty"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The slug for the portal + Slug *string `json:"slug,omitempty"` } -type ConversationMessageReceiveRequestFunction struct { - // Configuration for when this function should be automatically called - Call *TentacledCall `json:"call,omitempty"` - // The description of the function - Description string `json:"description"` - // The name of the function (must be a valid JS identifier, max 64 chars) - Name string `json:"name"` - // JSON Schema definition for the function parameters - Parameters TentacledParameters `json:"parameters"` - // The result of the function execution - Result *CunningResult `json:"result,omitempty"` +type PortalUpdateResponse struct { + // The ID of the updated portal + ID string `json:"id"` } -// Configuration for when this function should be automatically called -type TentacledCall struct { - // If true, this function will be force-called at the end of the conversation - End *bool `json:"end,omitempty"` - // If true, this function will be force-called at the start of the conversation - Start *bool `json:"start,omitempty"` +type PortalFetchParams struct { + // The ID of the portal to retrieve + PortalID string `json:"portalId"` } -// JSON Schema definition for the function parameters -type TentacledParameters struct { - // Object property definitions - Properties map[string]interface{} `json:"properties"` - // Required property names - Required []string `json:"required,omitempty"` - // The schema type, must be "object" - Type CunningType `json:"type"` +// Blueprint properties +type PortalFetchResponse struct { + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The config of the portal + Config map[string]interface{} `json:"config,omitempty"` + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description *string `json:"description,omitempty"` + // The instance ID + ID string `json:"id"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The slug of the portal + Slug *string `json:"slug,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` } -// The result of the function execution -type CunningResult struct { - // The data returned by the function (can be any type) - Data interface{} `json:"data"` - // The channel for streaming function results - Channel *string `json:"channel,omitempty"` +type PortalDeleteParams struct { + // The ID of the portal to delete + PortalID string `json:"portalId"` } -type ConversationMessageReceiveResponse struct { - // The ID of the created message - ID string `json:"id"` - // The text of the message received - Text string `json:"text"` - // Usage information - Usage ConversationMessageReceiveResponseUsage `json:"usage"` +type PortalDeleteResponse struct { + // The ID of the deleted portal + ID string `json:"id"` } -// Usage information -type ConversationMessageReceiveResponseUsage struct { - // The tokens used in this exchange - Token float64 `json:"token"` +type PolicyListParams struct { + // Filter policies that apply to a specific bot + BotID *string `json:"botId,omitempty"` + // The cursor to use for pagination + Cursor *string `json:"cursor,omitempty"` + // Key-value pairs to filter the items by metadata + Meta map[string]string `json:"meta,omitempty"` + // The order of the paginated items + Order *PolicyListParamsOrder `json:"order,omitempty"` + // The number of items to retrieve + Take *int64 `json:"take,omitempty"` } -type ConversationMessageReceiveStreamItem struct { - // The data for the event - // - // A message in the conversation - // - // Information about an abort event in a streamed response - Data *ConversationMessageReceiveStreamItemData `json:"data,omitempty"` - // The type of event - Type *ConversationMessageReceiveStreamItemType `json:"type,omitempty"` +type PolicyListResponse struct { + // Cursor for fetching the next page + Cursor string `json:"cursor"` + Items []PolicyListResponseItem `json:"items"` } -// The data for the event -// -// A message in the conversation -// -// Information about an abort event in a streamed response -type ConversationMessageReceiveStreamItemData struct { - // The ID of the created message - ID *string `json:"id,omitempty"` - // The text of the message received - // - // The text of the message - Text *string `json:"text,omitempty"` - // Usage information - Usage *BraggadociousUsage `json:"usage,omitempty"` - // The error message - Message *string `json:"message,omitempty"` - // The token generated - Token *string `json:"token,omitempty"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The type of the message - Type *MagentaType `json:"type,omitempty"` - // The function or tool associated with the abort - FunctionName *string `json:"functionName,omitempty"` - // The abort reason if available - Reason interface{} `json:"reason"` - // The number of input tokens used - InputTokensUsed *float64 `json:"inputTokensUsed,omitempty"` - // The model used - Model *string `json:"model,omitempty"` - // The number of output tokens used - OutputTokensUsed *float64 `json:"outputTokensUsed,omitempty"` +// Blueprint properties +type PolicyListResponseItem struct { + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The ID of the bot this policy applies to. When omitted the policy is global and applies + // to every bot. + BotID *string `json:"botId,omitempty"` + // The policy configuration as JSON + Config map[string]interface{} `json:"config,omitempty"` + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description *string `json:"description,omitempty"` + // The instance ID + ID string `json:"id"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The lifecycle state of a resource - toggle it on/off without deleting it + State *IndigoState `json:"state,omitempty"` + // The policy type + Type HilariousType `json:"type"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` } -// Usage information -type BraggadociousUsage struct { - // The tokens used in this exchange - Token float64 `json:"token"` +type PolicyListStreamItem struct { + // Blueprint properties + Data PolicyListStreamItemData `json:"data"` + // The type of event + Type PolicyListStreamItemType `json:"type"` } -type ConversationMessageSendParams struct { - // The ID of the conversation to send the message to - ConversationID string `json:"conversationId"` +// Blueprint properties +type PolicyListStreamItemData struct { + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The ID of the bot this policy applies to. When omitted the policy is global and applies + // to every bot. + BotID *string `json:"botId,omitempty"` + // The policy configuration as JSON + Config map[string]interface{} `json:"config,omitempty"` + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description *string `json:"description,omitempty"` + // The instance ID + ID string `json:"id"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The lifecycle state of a resource - toggle it on/off without deleting it + State *IndecentState `json:"state,omitempty"` + // The policy type + Type AmbitiousType `json:"type"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` } -type ConversationMessageSendRequest struct { - // Known entities - Entities []ConversationMessageSendRequestEntity `json:"entities,omitempty"` - // Extensions to enhance the bot's capabilities - Extensions *ConversationMessageSendRequestExtensions `json:"extensions,omitempty"` - // An array of functions to be added to the conversation - Functions []ConversationMessageSendRequestFunction `json:"functions,omitempty"` - // The text of the message to send - Text string `json:"text"` +// Blueprint properties +type PolicyCreateRequest struct { + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The ID of the bot this policy applies to. When omitted the policy is global and applies + // to every bot. + BotID *string `json:"botId,omitempty"` + // The policy configuration as JSON + Config map[string]interface{} `json:"config,omitempty"` + // The associated description + Description *string `json:"description,omitempty"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The lifecycle state of a resource - toggle it on/off without deleting it + State *PolicyCreateRequestState `json:"state,omitempty"` + // The policy type + Type PolicyCreateRequestType `json:"type"` } -// Extracted entity from the message -type ConversationMessageSendRequestEntity struct { - // Start offset - Begin float64 `json:"begin"` - // End offset - End float64 `json:"end"` - Replacement *IndecentReplacement `json:"replacement,omitempty"` - // The text value of the entity - Text string `json:"text"` - // The entity type - Type string `json:"type"` +type PolicyCreateResponse struct { + // The ID of the created policy + ID string `json:"id"` } -type IndecentReplacement struct { - // Start offset - Begin float64 `json:"begin"` - // End offset - End float64 `json:"end"` - // The text value of the replacement - Text string `json:"text"` +type PolicyUpdateParams struct { + // The ID of the policy to update + PolicyID string `json:"policyId"` } -// Extensions to enhance the bot's capabilities -type ConversationMessageSendRequestExtensions struct { - // Additional backstory for the bot - Backstory *string `json:"backstory,omitempty"` - // Inline datasets to provide additional context - Datasets []IndecentDataset `json:"datasets,omitempty"` - // Feature flags to enable specific bot capabilities - Features []StickyFeature `json:"features,omitempty"` - // Inline skillsets to provide additional abilities - Skillsets []IndecentSkillset `json:"skillsets,omitempty"` +// Blueprint properties +type PolicyUpdateRequest struct { + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The ID of the bot this policy applies to. When omitted the policy is global and applies + // to every bot. + BotID *string `json:"botId,omitempty"` + // The policy configuration as JSON + Config map[string]interface{} `json:"config,omitempty"` + // The associated description + Description *string `json:"description,omitempty"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The lifecycle state of a resource - toggle it on/off without deleting it + State *PolicyUpdateRequestState `json:"state,omitempty"` + // The policy type + Type *PolicyUpdateRequestType `json:"type,omitempty"` } -type IndecentDataset struct { - // The description of the dataset - Description *string `json:"description,omitempty"` - // The name of the dataset - Name *string `json:"name,omitempty"` - // The records in the dataset - Records []StickyRecord `json:"records"` +type PolicyUpdateResponse struct { + // The ID of the updated policy + ID string `json:"id"` } -type StickyRecord struct { - // Additional metadata for the record - Meta map[string]interface{} `json:"meta,omitempty"` - // The text content of the record - Text string `json:"text"` +type PolicyFetchParams struct { + // The ID of the policy to retrieve + PolicyID string `json:"policyId"` } -type StickyFeature struct { - // The name of the feature to enable - Name string `json:"name"` - // Optional configuration options for the feature - Options map[string]interface{} `json:"options,omitempty"` +// Blueprint properties +type PolicyFetchResponse struct { + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The ID of the bot this policy applies to. When omitted the policy is global and applies + // to every bot. + BotID *string `json:"botId,omitempty"` + // The policy configuration as JSON + Config map[string]interface{} `json:"config,omitempty"` + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description *string `json:"description,omitempty"` + // The instance ID + ID string `json:"id"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The lifecycle state of a resource - toggle it on/off without deleting it + State *PolicyFetchResponseState `json:"state,omitempty"` + // The policy type + Type PolicyFetchResponseType `json:"type"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` } -type IndecentSkillset struct { - // The abilities in the skillset - Abilities []StickyAbility `json:"abilities"` - // The description of the skillset - Description *string `json:"description,omitempty"` - // The name of the skillset - Name *string `json:"name,omitempty"` +type PolicyDeleteParams struct { + // The ID of the policy to delete + PolicyID string `json:"policyId"` } -type StickyAbility struct { - // The description of the ability - Description string `json:"description"` - // The instruction for the ability - Instruction string `json:"instruction"` - // Additional metadata for the ability - Meta map[string]interface{} `json:"meta,omitempty"` - // The name of the ability - Name string `json:"name"` - // Optional secret ID for the ability - SecretID *string `json:"secretId,omitempty"` +type PolicyDeleteResponse struct { + // The ID of the deleted policy + ID string `json:"id"` } -type ConversationMessageSendRequestFunction struct { - // Configuration for when this function should be automatically called - Call *StickyCall `json:"call,omitempty"` - // The description of the function - Description string `json:"description"` - // The name of the function (must be a valid JS identifier, max 64 chars) - Name string `json:"name"` - // JSON Schema definition for the function parameters - Parameters StickyParameters `json:"parameters"` - // The result of the function execution - Result *MagentaResult `json:"result,omitempty"` +type PlatformSecretsSearchRequest struct { + // The search query to find relevant secrets + Search string `json:"search"` + // The maximum number of results to return (1-100, default 10) + Take *int64 `json:"take,omitempty"` } -// Configuration for when this function should be automatically called -type StickyCall struct { - // If true, this function will be force-called at the end of the conversation - End *bool `json:"end,omitempty"` - // If true, this function will be force-called at the start of the conversation - Start *bool `json:"start,omitempty"` +type PlatformSecretsSearchResponse struct { + Items []PlatformSecretsSearchResponseItem `json:"items"` } -// JSON Schema definition for the function parameters -type StickyParameters struct { - // Object property definitions - Properties map[string]interface{} `json:"properties"` - // Required property names - Required []string `json:"required,omitempty"` - // The schema type, must be "object" - Type FriskyType `json:"type"` +// Instance list properties +type PlatformSecretsSearchResponseItem struct { + Commentary *string `json:"commentary,omitempty"` + Config map[string]interface{} `json:"config,omitempty"` + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description *string `json:"description,omitempty"` + // An excerpt from the most relevant part of the secret + Excerpt string `json:"excerpt"` + Icon *string `json:"icon,omitempty"` + // The instance ID + ID string `json:"id"` + // The kind of the secret + Kind *StickyKind `json:"kind,omitempty"` + // The URL to the official secret page + Link *string `json:"link,omitempty"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The text relevance score of the search result + Score float64 `json:"score"` + Setup *string `json:"setup,omitempty"` + Tags []string `json:"tags,omitempty"` + // The original template identifier for the secret + Template *string `json:"template,omitempty"` + // The type of the secret + Type CunningType `json:"type"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` } -// The result of the function execution -type MagentaResult struct { - // The data returned by the function (can be any type) - Data interface{} `json:"data"` - // The channel for streaming function results - Channel *string `json:"channel,omitempty"` +type PlatformSecretListParams struct { + // The cursor to use for pagination + Cursor *string `json:"cursor,omitempty"` + // Key-value pairs to filter the items by metadata + Meta map[string]string `json:"meta,omitempty"` + // The order of the paginated items + Order *PlatformSecretListParamsOrder `json:"order,omitempty"` + // The number of items to retrieve + Take *int64 `json:"take,omitempty"` } -type ConversationMessageSendResponse struct { - // Extracted entities from the message - Entities []ConversationMessageSendResponseEntity `json:"entities"` - // The ID of the sent message - ID string `json:"id"` +type PlatformSecretListResponse struct { + // Cursor for fetching the next page + Cursor string `json:"cursor"` + Items []PlatformSecretListResponseItem `json:"items"` } -// Extracted entity from the message -type ConversationMessageSendResponseEntity struct { - // Start offset - Begin float64 `json:"begin"` - // End offset - End float64 `json:"end"` - Replacement *HilariousReplacement `json:"replacement,omitempty"` - // The text value of the entity - Text string `json:"text"` - // The entity type - Type string `json:"type"` +// Instance list properties +type PlatformSecretListResponseItem struct { + Commentary *string `json:"commentary,omitempty"` + Config map[string]interface{} `json:"config,omitempty"` + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description *string `json:"description,omitempty"` + Icon *string `json:"icon,omitempty"` + // The instance ID + ID string `json:"id"` + // The kind of the secret + Kind *IndigoKind `json:"kind,omitempty"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + Setup *string `json:"setup,omitempty"` + Tags []string `json:"tags,omitempty"` + // The original template identifier for the secret + Template *string `json:"template,omitempty"` + // The type of the secret + Type MagentaType `json:"type"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` } -type HilariousReplacement struct { - // Start offset - Begin float64 `json:"begin"` - // End offset - End float64 `json:"end"` - // The text value of the replacement - Text string `json:"text"` +type PlatformSecretListStreamItem struct { + // Instance list properties + Data PlatformSecretListStreamItemData `json:"data"` + // The type of event + Type PlatformSecretListStreamItemType `json:"type"` } -type ConversationMessageSendStreamItem struct { - // The data for the event - // - // A message in the conversation - // - // Information about an abort event in a streamed response - Data ConversationMessageSendStreamItemData `json:"data"` - // The type of event - Type ConversationMessageSendStreamItemType `json:"type"` +// Instance list properties +type PlatformSecretListStreamItemData struct { + Commentary *string `json:"commentary,omitempty"` + Config map[string]interface{} `json:"config,omitempty"` + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description *string `json:"description,omitempty"` + Icon *string `json:"icon,omitempty"` + // The instance ID + ID string `json:"id"` + // The kind of the secret + Kind *IndecentKind `json:"kind,omitempty"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + Setup *string `json:"setup,omitempty"` + Tags []string `json:"tags,omitempty"` + // The original template identifier for the secret + Template *string `json:"template,omitempty"` + // The type of the secret + Type FriskyType `json:"type"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` } -// The data for the event -// -// A message in the conversation -// -// Information about an abort event in a streamed response -type ConversationMessageSendStreamItemData struct { - // Extracted entities from the message - Entities []DataEntity `json:"entities,omitempty"` - // The ID of the sent message - ID *string `json:"id,omitempty"` - // The error message - Message *string `json:"message,omitempty"` - // The token generated - Token *string `json:"token,omitempty"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The text of the message - Text *string `json:"text,omitempty"` - // The type of the message - Type *MischievousType `json:"type,omitempty"` - // The function or tool associated with the abort - FunctionName *string `json:"functionName,omitempty"` - // The abort reason if available - Reason interface{} `json:"reason"` - // The number of input tokens used - InputTokensUsed *float64 `json:"inputTokensUsed,omitempty"` - // The model used - Model *string `json:"model,omitempty"` - // The number of output tokens used - OutputTokensUsed *float64 `json:"outputTokensUsed,omitempty"` +type PlatformModelListParams struct { + // The cursor to use for pagination + Cursor *string `json:"cursor,omitempty"` + // Key-value pairs to filter the items by metadata + Meta map[string]string `json:"meta,omitempty"` + // The order of the paginated items + Order *PlatformModelListParamsOrder `json:"order,omitempty"` + // The number of items to retrieve + Take *int64 `json:"take,omitempty"` + // The type of models to list + Type *PlatformModelListParamsType `json:"type,omitempty"` } -// Extracted entity from the message -type DataEntity struct { - // Start offset - Begin float64 `json:"begin"` - // End offset - End float64 `json:"end"` - Replacement *AmbitiousReplacement `json:"replacement,omitempty"` - // The text value of the entity - Text string `json:"text"` - // The entity type - Type string `json:"type"` +type PlatformModelListResponse struct { + // Cursor for fetching the next page + Cursor string `json:"cursor"` + Items []PlatformModelListResponseItem `json:"items"` } -type AmbitiousReplacement struct { - // Start offset - Begin float64 `json:"begin"` - // End offset - End float64 `json:"end"` - // The text value of the replacement - Text string `json:"text"` +// Instance list properties +type PlatformModelListResponseItem struct { + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // Whether this model is the deployment's default for its type + Default *bool `json:"default,omitempty"` + // The associated description + Description *string `json:"description,omitempty"` + // The model of the model + Family string `json:"family"` + // The instance ID + ID string `json:"id"` + // The maximum number of tokens the model can accept + MaxInputTokens float64 `json:"maxInputTokens"` + // The maximum number of tokens the model can generate + MaxOutputTokens float64 `json:"maxOutputTokens"` + // The maximum number of tokens the model can use + MaxTokens float64 `json:"maxTokens"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The backstory of the model + Provider string `json:"provider"` + // The type of the model + Type MischievousType `json:"type"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` } -type ConversationSessionCreateParams struct { - // The ID of the conversation - ConversationID string `json:"conversationId"` +type PlatformModelListStreamItem struct { + // Instance list properties + Data PlatformModelListStreamItemData `json:"data"` + // The type of event + Type PlatformModelListStreamItemType `json:"type"` } -type ConversationSessionCreateRequest struct { - // The maximum amount of time this session will stay open - DurationInSeconds *float64 `json:"durationInSeconds,omitempty"` +// Instance list properties +type PlatformModelListStreamItemData struct { + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // Whether this model is the deployment's default for its type + Default *bool `json:"default,omitempty"` + // The associated description + Description *string `json:"description,omitempty"` + // The model of the model + Family string `json:"family"` + // The instance ID + ID string `json:"id"` + // The maximum number of tokens the model can accept + MaxInputTokens float64 `json:"maxInputTokens"` + // The maximum number of tokens the model can generate + MaxOutputTokens float64 `json:"maxOutputTokens"` + // The maximum number of tokens the model can use + MaxTokens float64 `json:"maxTokens"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The backstory of the model + Provider string `json:"provider"` + // The type of the model + Type BraggadociousType `json:"type"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` } -type ConversationSessionCreateResponse struct { - // The time the token will expire in milliseconds - ExpiresAt float64 `json:"expiresAt"` - // The ID of the conversation - ID string `json:"id"` - // The token for this conversation - Token string `json:"token"` +type PlatformExamplesSearchRequest struct { + // The search query to find relevant examples + Search string `json:"search"` + // The maximum number of results to return (1-100, default 10) + Take *int64 `json:"take,omitempty"` } -type ConversationUpdateParams struct { - ConversationID string `json:"conversationId"` +type PlatformExamplesSearchResponse struct { + Items []PlatformExamplesSearchResponseItem `json:"items"` } -// A bot configuration or reference -// -// A bot configuration that can be applied without a dedicated bot instance. -type ConversationUpdateRequest struct { - // The contact id assigned to this conversation - ContactID *string `json:"contactId,omitempty"` - // The associated description - Description *string `json:"description,omitempty"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The space id assigned to this conversation - SpaceID *string `json:"spaceId,omitempty"` - // The task id assigned to this conversation - TaskID *string `json:"taskId,omitempty"` - // The ID of the bot this configuration is using - BotID *string `json:"botId,omitempty"` - // The backstory this configuration is using - Backstory *string `json:"backstory,omitempty"` - // The id of the dataset this configuration is using - DatasetID *string `json:"datasetId,omitempty"` - // A model definition - Model *string `json:"model,omitempty"` - // The moderation flag for this configuration - Moderation *bool `json:"moderation,omitempty"` - // The privacy flag for this configuration - Privacy *bool `json:"privacy,omitempty"` - // The id of the skillset this configuration is using - SkillsetID *string `json:"skillsetId,omitempty"` +// Instance list properties +type PlatformExamplesSearchResponseItem struct { + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description string `json:"description"` + // The instance ID + ID string `json:"id"` + // The URL to the official example page + Link string `json:"link"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name string `json:"name"` + // Tags associated with the example + Tags []string `json:"tags,omitempty"` + // The type of the example + Type Type1 `json:"type"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` } -type ConversationUpdateResponse struct { - // The ID of the updated conversation - ID string `json:"id"` +type PlatformExampleListParams struct { + // The cursor to use for pagination + Cursor *string `json:"cursor,omitempty"` + // Key-value pairs to filter the items by metadata + Meta map[string]string `json:"meta,omitempty"` + // The order of the paginated items + Order *PlatformExampleListParamsOrder `json:"order,omitempty"` + // The number of items to retrieve + Take *int64 `json:"take,omitempty"` } -type ConversationUpvoteParams struct { - // The ID of the conversation - ConversationID string `json:"conversationId"` +type PlatformExampleListResponse struct { + // Cursor for fetching the next page + Cursor string `json:"cursor"` + Items []PlatformExampleListResponseItem `json:"items"` } -type ConversationUpvoteRequest struct { - // The reason for the upvote - Reason *string `json:"reason,omitempty"` - // The value of the upvote - Value *int64 `json:"value,omitempty"` +// Instance list properties +type PlatformExampleListResponseItem struct { + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description string `json:"description"` + // The instance ID + ID string `json:"id"` + // The URL to the official example page + Link string `json:"link"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name string `json:"name"` + // Tags associated with the example + Tags []string `json:"tags,omitempty"` + // The type of the example + Type Type2 `json:"type"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` } -type ConversationUpvoteResponse struct { - // The ID of the upvoted conversation - ID string `json:"id"` +type PlatformExampleListStreamItem struct { + // Instance list properties + Data PlatformExampleListStreamItemData `json:"data"` + // The type of event + Type PlatformExampleListStreamItemType `json:"type"` } -type ConversationUsageFetchParams struct { - // The ID of the conversation - ConversationID string `json:"conversationId"` - // Start date for the period (ISO 8601 format) - From *time.Time `json:"from,omitempty"` - // End date for the period (ISO 8601 format) - To *time.Time `json:"to,omitempty"` +// Instance list properties +type PlatformExampleListStreamItemData struct { + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description string `json:"description"` + // The instance ID + ID string `json:"id"` + // The URL to the official example page + Link string `json:"link"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name string `json:"name"` + // Tags associated with the example + Tags []string `json:"tags,omitempty"` + // The type of the example + Type Type3 `json:"type"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` } -type ConversationUsageFetchResponse struct { - // Total number of messages - Messages *int64 `json:"messages,omitempty"` - // Total number of BASE tokens used - Tokens *int64 `json:"tokens,omitempty"` +type PlatformExampleFetchParams struct { + // The ID (slug) of the example + ExampleID string `json:"exampleId"` } -// A bot configuration or reference -// -// A bot configuration that can be applied without a dedicated bot instance. -type ConversationStatelessCompactRequest struct { - // Extensions to enhance the bot's capabilities - Extensions *ConversationStatelessCompactRequestExtensions `json:"extensions,omitempty"` - // An array of messages to be compacted - Messages []ConversationStatelessCompactRequestMessage `json:"messages"` - // The ID of the bot this configuration is using - BotID *string `json:"botId,omitempty"` - // The backstory this configuration is using - Backstory *string `json:"backstory,omitempty"` - // The id of the dataset this configuration is using - DatasetID *string `json:"datasetId,omitempty"` - // A model definition - Model *string `json:"model,omitempty"` - // The moderation flag for this configuration - Moderation *bool `json:"moderation,omitempty"` - // The privacy flag for this configuration - Privacy *bool `json:"privacy,omitempty"` - // The id of the skillset this configuration is using - SkillsetID *string `json:"skillsetId,omitempty"` +type PlatformExampleFetchResponse struct { + // The full configuration details of the example + Config map[string]interface{} `json:"config"` + // The creation timestamp + CreatedAt *float64 `json:"createdAt,omitempty"` + // The description of the example + Description string `json:"description"` + // The ID (slug) of the example + ID string `json:"id"` + // The URL to the official example page + Link string `json:"link"` + // The name of the example + Name string `json:"name"` + // Tags associated with the example + Tags []string `json:"tags,omitempty"` + // The type of the example + Type PlatformExampleFetchResponseType `json:"type"` + // The last update timestamp + UpdatedAt *float64 `json:"updatedAt,omitempty"` } -// Extensions to enhance the bot's capabilities -type ConversationStatelessCompactRequestExtensions struct { - // Additional backstory for the bot - Backstory *string `json:"backstory,omitempty"` - // Inline datasets to provide additional context - Datasets []HilariousDataset `json:"datasets,omitempty"` - // Feature flags to enable specific bot capabilities - Features []IndigoFeature `json:"features,omitempty"` - // Inline skillsets to provide additional abilities - Skillsets []HilariousSkillset `json:"skillsets,omitempty"` +type PlatformExampleCloneParams struct { + // The ID (slug) of the example to clone + ExampleID string `json:"exampleId"` } -type HilariousDataset struct { - // The description of the dataset - Description *string `json:"description,omitempty"` - // The name of the dataset - Name *string `json:"name,omitempty"` - // The records in the dataset - Records []IndigoRecord `json:"records"` +type PlatformExampleCloneResponse struct { + // A map of resource types to arrays of created resources + Resources map[string][]Resource `json:"resources"` } -type IndigoRecord struct { - // Additional metadata for the record - Meta map[string]interface{} `json:"meta,omitempty"` - // The text content of the record - Text string `json:"text"` +type Resource struct { + // The description of the resource + Description *string `json:"description,omitempty"` + // The unique identifier of the resource + ID string `json:"id"` + // The name of the resource + Name *string `json:"name,omitempty"` } -type IndigoFeature struct { - // The name of the feature to enable - Name string `json:"name"` - // Optional configuration options for the feature - Options map[string]interface{} `json:"options,omitempty"` +type PlatformActionListParams struct { + // The cursor to use for pagination + Cursor *string `json:"cursor,omitempty"` + // Key-value pairs to filter the items by metadata + Meta map[string]string `json:"meta,omitempty"` + // The order of the paginated items + Order *PlatformActionListParamsOrder `json:"order,omitempty"` + // The number of items to retrieve + Take *int64 `json:"take,omitempty"` } -type HilariousSkillset struct { - // The abilities in the skillset - Abilities []IndigoAbility `json:"abilities"` - // The description of the skillset - Description *string `json:"description,omitempty"` - // The name of the skillset - Name *string `json:"name,omitempty"` +type PlatformActionListResponse struct { + // Cursor for fetching the next page + Cursor string `json:"cursor"` + Items []PlatformActionListResponseItem `json:"items"` } -type IndigoAbility struct { - // The description of the ability - Description string `json:"description"` - // The instruction for the ability - Instruction string `json:"instruction"` - // Additional metadata for the ability - Meta map[string]interface{} `json:"meta,omitempty"` - // The name of the ability - Name string `json:"name"` - // Optional secret ID for the ability - SecretID *string `json:"secretId,omitempty"` +// Instance list properties +type PlatformActionListResponseItem struct { + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The description of the action + Description string `json:"description"` + // Example demonstrating the action usage + Examples []string `json:"examples"` + // The instance ID + ID string `json:"id"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` } -// A message in the conversation -type ConversationStatelessCompactRequestMessage struct { - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The text of the message - Text string `json:"text"` - // The type of the message - Type BraggadociousType `json:"type"` +type PlatformActionListStreamItem struct { + // Instance list properties + Data PlatformActionListStreamItemData `json:"data"` + // The type of event + Type PlatformActionListStreamItemType `json:"type"` } -type ConversationStatelessCompactResponse struct { - // The compacted text of the messages, or an empty string if there was nothing to compact - Text string `json:"text"` - // Usage information - Usage ConversationStatelessCompactResponseUsage `json:"usage"` +// Instance list properties +type PlatformActionListStreamItemData struct { + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The description of the action + Description string `json:"description"` + // Example demonstrating the action usage + Examples []string `json:"examples"` + // The instance ID + ID string `json:"id"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` } -// Usage information -type ConversationStatelessCompactResponseUsage struct { - // The tokens used in this exchange - Token float64 `json:"token"` +type PlatformAbilitiesSearchRequest struct { + // The search query to find relevant abilities + Search string `json:"search"` + // The maximum number of results to return (1-100, default 10) + Take *int64 `json:"take,omitempty"` } -// A bot configuration or reference -// -// A bot configuration that can be applied without a dedicated bot instance. -type ConversationCompleteRequest struct { - // An array of attachments to be added to the conversation - Attachments []ConversationCompleteRequestAttachment `json:"attachments,omitempty"` - // The contact ID to associate with this conversation - ContactID *ConversationCompleteRequestContactID `json:"contactId"` - // Extensions to enhance the bot's capabilities - Extensions *ConversationCompleteRequestExtensions `json:"extensions,omitempty"` - // An array of functions to be added to the conversation - Functions []ConversationCompleteRequestFunction `json:"functions,omitempty"` - // Execution limits to control conversation processing bounds - Limits *ConversationCompleteRequestLimits `json:"limits,omitempty"` - // An array of messages to be added to the conversation - Messages []ConversationCompleteRequestMessage `json:"messages"` - // The ID of the bot this configuration is using - BotID *string `json:"botId,omitempty"` - // The backstory this configuration is using - Backstory *string `json:"backstory,omitempty"` - // The id of the dataset this configuration is using - DatasetID *string `json:"datasetId,omitempty"` - // A model definition - Model *string `json:"model,omitempty"` - // The moderation flag for this configuration - Moderation *bool `json:"moderation,omitempty"` - // The privacy flag for this configuration - Privacy *bool `json:"privacy,omitempty"` - // The id of the skillset this configuration is using - SkillsetID *string `json:"skillsetId,omitempty"` +type PlatformAbilitiesSearchResponse struct { + Items []PlatformAbilitiesSearchResponseItem `json:"items"` } -type ConversationCompleteRequestAttachment struct { - // The URL of the attachment - URL *string `json:"url,omitempty"` +// Instance list properties +type PlatformAbilitiesSearchResponseItem struct { + Bot *string `json:"bot,omitempty"` + Commentary *string `json:"commentary,omitempty"` + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description string `json:"description"` + // An excerpt from the most relevant part of the ability + Excerpt string `json:"excerpt"` + File *string `json:"file,omitempty"` + Icon string `json:"icon"` + // The instance ID + ID string `json:"id"` + Instruction string `json:"instruction"` + // The URL to the official ability page + Link *string `json:"link,omitempty"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name string `json:"name"` + Provider *string `json:"provider,omitempty"` + // A JSON Schema object type definition (https://json-schema.org/). Represents an object + // schema with properties and validation rules. + Schema PurpleSchema `json:"schema"` + // The text relevance score of the search result + Score float64 `json:"score"` + Secret *string `json:"secret,omitempty"` + Setup *string `json:"setup,omitempty"` + Space *string `json:"space,omitempty"` + Tags []string `json:"tags,omitempty"` + // The original template identifier for the ability + Template *string `json:"template,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` } -// A contact object to create or retrieve a trusted contact -type PurpleContactID struct { - // A description of the contact - Description *string `json:"description,omitempty"` - // The email address of the contact - Email *string `json:"email,omitempty"` - // A unique fingerprint to identify the contact - Fingerprint string `json:"fingerprint"` - // Additional metadata for the contact - Meta map[string]interface{} `json:"meta,omitempty"` - // The name of the contact - Name *string `json:"name,omitempty"` - // A nickname for the contact - Nick *string `json:"nick,omitempty"` - // The phone number of the contact - Phone *string `json:"phone,omitempty"` +// A JSON Schema object type definition (https://json-schema.org/). Represents an object +// schema with properties and validation rules. +type PurpleSchema struct { + // The schema description + Description *string `json:"description,omitempty"` + // Object property definitions + Properties map[string]interface{} `json:"properties"` + // Required property names + Required []string `json:"required,omitempty"` + // The schema title + Title *string `json:"title,omitempty"` + // The schema type, must be "object" + Type Type4 `json:"type"` } -// Extensions to enhance the bot's capabilities -type ConversationCompleteRequestExtensions struct { - // Additional backstory for the bot - Backstory *string `json:"backstory,omitempty"` - // Inline datasets to provide additional context - Datasets []AmbitiousDataset `json:"datasets,omitempty"` - // Feature flags to enable specific bot capabilities - Features []IndecentFeature `json:"features,omitempty"` - // Inline skillsets to provide additional abilities - Skillsets []AmbitiousSkillset `json:"skillsets,omitempty"` +type PlatformAbilityListParams struct { + // The cursor to use for pagination + Cursor *string `json:"cursor,omitempty"` + // Key-value pairs to filter the items by metadata + Meta map[string]string `json:"meta,omitempty"` + // The order of the paginated items + Order *PlatformAbilityListParamsOrder `json:"order,omitempty"` + // The number of items to retrieve + Take *int64 `json:"take,omitempty"` } -type AmbitiousDataset struct { - // The description of the dataset - Description *string `json:"description,omitempty"` - // The name of the dataset - Name *string `json:"name,omitempty"` - // The records in the dataset - Records []IndecentRecord `json:"records"` +type PlatformAbilityListResponse struct { + // Cursor for fetching the next page + Cursor string `json:"cursor"` + Items []PlatformAbilityListResponseItem `json:"items"` } -type IndecentRecord struct { - // Additional metadata for the record - Meta map[string]interface{} `json:"meta,omitempty"` - // The text content of the record - Text string `json:"text"` +// Instance list properties +type PlatformAbilityListResponseItem struct { + // The ID of the bot associated with the ability + Bot *string `json:"bot,omitempty"` + Commentary *string `json:"commentary,omitempty"` + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description *string `json:"description,omitempty"` + // The ID of the file associated with the ability + File *string `json:"file,omitempty"` + Icon string `json:"icon"` + // The instance ID + ID string `json:"id"` + Instruction string `json:"instruction"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The provider of the ability + Provider *string `json:"provider,omitempty"` + // A JSON Schema object type definition (https://json-schema.org/). Represents an object + // schema with properties and validation rules. + Schema FluffySchema `json:"schema"` + // The ID of the secret associated with the ability + Secret *string `json:"secret,omitempty"` + Setup *string `json:"setup,omitempty"` + // The ID of the space associated with the ability + Space *string `json:"space,omitempty"` + Tags []string `json:"tags,omitempty"` + // The original template identifier for the ability + Template *string `json:"template,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` } -type IndecentFeature struct { - // The name of the feature to enable - Name string `json:"name"` - // Optional configuration options for the feature - Options map[string]interface{} `json:"options,omitempty"` +// A JSON Schema object type definition (https://json-schema.org/). Represents an object +// schema with properties and validation rules. +type FluffySchema struct { + // The schema description + Description *string `json:"description,omitempty"` + // Object property definitions + Properties map[string]interface{} `json:"properties"` + // Required property names + Required []string `json:"required,omitempty"` + // The schema title + Title *string `json:"title,omitempty"` + // The schema type, must be "object" + Type Type5 `json:"type"` } -type AmbitiousSkillset struct { - // The abilities in the skillset - Abilities []IndecentAbility `json:"abilities"` - // The description of the skillset - Description *string `json:"description,omitempty"` - // The name of the skillset - Name *string `json:"name,omitempty"` +type PlatformAbilityListStreamItem struct { + // Instance list properties + Data PlatformAbilityListStreamItemData `json:"data"` + // The type of event + Type PlatformAbilityListStreamItemType `json:"type"` } -type IndecentAbility struct { - // The description of the ability - Description string `json:"description"` - // The instruction for the ability - Instruction string `json:"instruction"` - // Additional metadata for the ability - Meta map[string]interface{} `json:"meta,omitempty"` - // The name of the ability - Name string `json:"name"` - // Optional secret ID for the ability - SecretID *string `json:"secretId,omitempty"` +// Instance list properties +type PlatformAbilityListStreamItemData struct { + // The ID of the bot associated with the ability + Bot *string `json:"bot,omitempty"` + Commentary *string `json:"commentary,omitempty"` + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description *string `json:"description,omitempty"` + // The ID of the file associated with the ability + File *string `json:"file,omitempty"` + Icon string `json:"icon"` + // The instance ID + ID string `json:"id"` + Instruction string `json:"instruction"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The provider of the ability + Provider *string `json:"provider,omitempty"` + // A JSON Schema object type definition (https://json-schema.org/). Represents an object + // schema with properties and validation rules. + Schema DataSchema `json:"schema"` + // The ID of the secret associated with the ability + Secret *string `json:"secret,omitempty"` + Setup *string `json:"setup,omitempty"` + // The ID of the space associated with the ability + Space *string `json:"space,omitempty"` + Tags []string `json:"tags,omitempty"` + // The original template identifier for the ability + Template *string `json:"template,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` } -type ConversationCompleteRequestFunction struct { - // Configuration for when this function should be automatically called - Call *IndigoCall `json:"call,omitempty"` - // The description of the function - Description string `json:"description"` - // The name of the function (must be a valid JS identifier, max 64 chars) - Name string `json:"name"` - // JSON Schema definition for the function parameters - Parameters IndigoParameters `json:"parameters"` - // The result of the function execution - Result *FriskyResult `json:"result,omitempty"` +// A JSON Schema object type definition (https://json-schema.org/). Represents an object +// schema with properties and validation rules. +type DataSchema struct { + // The schema description + Description *string `json:"description,omitempty"` + // Object property definitions + Properties map[string]interface{} `json:"properties"` + // Required property names + Required []string `json:"required,omitempty"` + // The schema title + Title *string `json:"title,omitempty"` + // The schema type, must be "object" + Type Type6 `json:"type"` } -// Configuration for when this function should be automatically called -type IndigoCall struct { - // If true, this function will be force-called at the end of the conversation - End *bool `json:"end,omitempty"` - // If true, this function will be force-called at the start of the conversation - Start *bool `json:"start,omitempty"` +type MemorySearchRequest struct { + // The ID of the bot to filter memories by + BotID *string `json:"botId,omitempty"` + // The ID of the contact to filter memories by + ContactID *string `json:"contactId,omitempty"` + // The keyword/phrase to search for + Search string `json:"search"` } -// JSON Schema definition for the function parameters -type IndigoParameters struct { - // Object property definitions - Properties map[string]interface{} `json:"properties"` - // Required property names - Required []string `json:"required,omitempty"` - // The schema type, must be "object" - Type Type1 `json:"type"` +type MemorySearchResponse struct { + // An array of memories matching the search query + Items []MemorySearchResponseItem `json:"items"` } -// The result of the function execution -type FriskyResult struct { - // The data returned by the function (can be any type) - Data interface{} `json:"data"` - // The channel for streaming function results - Channel *string `json:"channel,omitempty"` +type MemorySearchResponseItem struct { + ID string `json:"id"` + Meta map[string]interface{} `json:"meta,omitempty"` + Text string `json:"text"` } -// Execution limits to control conversation processing bounds -type ConversationCompleteRequestLimits struct { - // Maximum number of function/tool calls. Controls how many total function calls can be made - // during the conversation. - Calls *int64 `json:"calls,omitempty"` - // Maximum number of model continuations. Controls how many times the model can continue - // generating after reaching a stop condition. - Continuations *int64 `json:"continuations,omitempty"` - // Maximum number of agentic iterations. Controls how many times the model can iterate - // through tool calls and responses. - Iterations *int64 `json:"iterations,omitempty"` +type MemoryListParams struct { + // The cursor to use for pagination + Cursor *string `json:"cursor,omitempty"` + // Key-value pairs to filter the items by metadata + Meta map[string]string `json:"meta,omitempty"` + // The order of the paginated items + Order *MemoryListParamsOrder `json:"order,omitempty"` + // The number of items to retrieve + Take *int64 `json:"take,omitempty"` } -// A message in the conversation -type ConversationCompleteRequestMessage struct { - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The text of the message - Text string `json:"text"` - // The type of the message - Type Type2 `json:"type"` +type MemoryListResponse struct { + // Cursor for fetching the next page + Cursor string `json:"cursor"` + Items []MemoryListResponseItem `json:"items"` } -type ConversationCompleteResponse struct { - // Information about why the completion ended - End ConversationCompleteResponseEnd `json:"end"` - // The text of the message received - Text string `json:"text"` - // Usage information - Usage ConversationCompleteResponseUsage `json:"usage"` +// Instance list properties +type MemoryListResponseItem struct { + // The bot associated with the memory + BotID *string `json:"botId,omitempty"` + // The contact associated with the memory + ContactID *string `json:"contactId,omitempty"` + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description *string `json:"description,omitempty"` + // The timestamp (ms) at which the memory expires and is automatically deleted + ExpiresAt *float64 `json:"expiresAt,omitempty"` + // The instance ID + ID string `json:"id"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The text of the memory + Text *string `json:"text,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` } -// Information about why the completion ended -type ConversationCompleteResponseEnd struct { - // The reason why the completion ended - Reason TentacledReason `json:"reason"` +type MemoryListStreamItem struct { + // Instance list properties + Data MemoryListStreamItemData `json:"data"` + // The type of event + Type MemoryListStreamItemType `json:"type"` } -// Usage information -type ConversationCompleteResponseUsage struct { - // The tokens used in this exchange - Token float64 `json:"token"` +// Instance list properties +type MemoryListStreamItemData struct { + // The bot associated with the memory + BotID *string `json:"botId,omitempty"` + // The contact associated with the memory + ContactID *string `json:"contactId,omitempty"` + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description *string `json:"description,omitempty"` + // The timestamp (ms) at which the memory expires and is automatically deleted + ExpiresAt *float64 `json:"expiresAt,omitempty"` + // The instance ID + ID string `json:"id"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The text of the memory + Text *string `json:"text,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` } -type ConversationCompleteStreamItem struct { - // The data for the event - // - // A message in the conversation - // - // Information about an abort event in a streamed response - Data ConversationCompleteStreamItemData `json:"data"` - // The type of event - Type ConversationCompleteStreamItemType `json:"type"` +type MemoriesExportParams struct { + // The cursor to use for pagination + Cursor *string `json:"cursor,omitempty"` + // Key-value pairs to filter the items by metadata + Meta map[string]string `json:"meta,omitempty"` + // The order of the paginated items + Order *MemoriesExportParamsOrder `json:"order,omitempty"` + // The number of items to retrieve + Take *int64 `json:"take,omitempty"` } -// The data for the event -// -// A message in the conversation -// -// Information about an abort event in a streamed response -type ConversationCompleteStreamItemData struct { - // Information about why the completion ended - End *FluffyEnd `json:"end,omitempty"` - // The text of the message received - // - // The text of the message - Text *string `json:"text,omitempty"` - // Usage information - Usage *Usage1 `json:"usage,omitempty"` - // The error message - Message *string `json:"message,omitempty"` - // The token generated - Token *string `json:"token,omitempty"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The type of the message - Type *Type3 `json:"type,omitempty"` - // The function or tool associated with the abort - FunctionName *string `json:"functionName,omitempty"` - // The abort reason if available - Reason interface{} `json:"reason"` - // The number of input tokens used - InputTokensUsed *float64 `json:"inputTokensUsed,omitempty"` - // The model used - Model *string `json:"model,omitempty"` - // The number of output tokens used - OutputTokensUsed *float64 `json:"outputTokensUsed,omitempty"` +type MemoriesExportResponse struct { + // Cursor for fetching the next page + Cursor string `json:"cursor"` + Items []MemoriesExportResponseItem `json:"items"` } -// Information about why the completion ended -type FluffyEnd struct { - // The reason why the completion ended - Reason StickyReason `json:"reason"` +// Instance list properties +type MemoriesExportResponseItem struct { + // The bot associated with the memory + BotID *string `json:"botId,omitempty"` + // The contact associated with the memory + ContactID *string `json:"contactId,omitempty"` + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description *string `json:"description,omitempty"` + // The instance ID + ID string `json:"id"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The text of the memory + Text *string `json:"text,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` } -// Usage information -type Usage1 struct { - // The tokens used in this exchange - Token float64 `json:"token"` +type MemoriesExportStreamItem struct { + // Instance list properties + Data MemoriesExportStreamItemData `json:"data"` + // The type of event + Type MemoriesExportStreamItemType `json:"type"` } -// A bot configuration or reference -// -// A bot configuration that can be applied without a dedicated bot instance. -type ConversationCreateRequest struct { - // The contact id assigned to this conversation - ContactID *string `json:"contactId,omitempty"` - // The associated description - Description *string `json:"description,omitempty"` - // An array of messages to be added to the conversation - Messages []ConversationCreateRequestMessage `json:"messages,omitempty"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The space id assigned to this conversation - SpaceID *string `json:"spaceId,omitempty"` - // The task id assigned to this conversation - TaskID *string `json:"taskId,omitempty"` - // The ID of the bot this configuration is using - BotID *string `json:"botId,omitempty"` - // The backstory this configuration is using - Backstory *string `json:"backstory,omitempty"` - // The id of the dataset this configuration is using - DatasetID *string `json:"datasetId,omitempty"` - // A model definition - Model *string `json:"model,omitempty"` - // The moderation flag for this configuration - Moderation *bool `json:"moderation,omitempty"` - // The privacy flag for this configuration - Privacy *bool `json:"privacy,omitempty"` - // The id of the skillset this configuration is using - SkillsetID *string `json:"skillsetId,omitempty"` +// Instance list properties +type MemoriesExportStreamItemData struct { + // The bot associated with the memory + BotID *string `json:"botId,omitempty"` + // The contact associated with the memory + ContactID *string `json:"contactId,omitempty"` + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description *string `json:"description,omitempty"` + // The instance ID + ID string `json:"id"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The text of the memory + Text *string `json:"text,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` } -type ConversationCreateRequestMessage struct { - // The text of the message - Text string `json:"text"` - // The type of the message - Type Type4 `json:"type"` +// Instance crud properties +type MemoryCreateRequest struct { + // The bot associated with the memory + BotID *string `json:"botId,omitempty"` + // The contact associated with the memory + ContactID *string `json:"contactId,omitempty"` + // The associated description + Description *string `json:"description,omitempty"` + // Epoch-ms timestamp at which the memory is automatically deleted; null for no expiry + ExpiresAt *int64 `json:"expiresAt,omitempty"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The text of the memory + Text string `json:"text"` } -type ConversationCreateResponse struct { - // The ID of the created conversation - ID string `json:"id"` - // An array of messages included in the conversation - Messages []ConversationCreateResponseMessage `json:"messages,omitempty"` +type MemoryCreateResponse struct { + // The ID of the created memory + ID string `json:"id"` } -type ConversationCreateResponseMessage struct { - // The text of the message - Text string `json:"text"` - // The type of the message - Type Type5 `json:"type"` +type MemoryUpdateParams struct { + MemoryID string `json:"memoryId"` } -// A bot configuration or reference -// -// A bot configuration that can be applied without a dedicated bot instance. -type ConversationDispatchRequest struct { - // An array of attachments to be added to the conversation - Attachments []ConversationDispatchRequestAttachment `json:"attachments,omitempty"` - // A unique channel ID to subscribe to for completion events - ChannelID *string `json:"channelId,omitempty"` - // The contact ID to associate with this conversation - ContactID *ConversationDispatchRequestContactID `json:"contactId"` - // Extensions to enhance the bot's capabilities - Extensions *ConversationDispatchRequestExtensions `json:"extensions,omitempty"` - // An array of functions to be added to the conversation - Functions []ConversationDispatchRequestFunction `json:"functions,omitempty"` - // Execution limits to control conversation processing bounds - Limits *ConversationDispatchRequestLimits `json:"limits,omitempty"` - // An array of messages to be added to the conversation - Messages []ConversationDispatchRequestMessage `json:"messages"` - // The ID of the bot this configuration is using - BotID *string `json:"botId,omitempty"` - // The backstory this configuration is using - Backstory *string `json:"backstory,omitempty"` - // The id of the dataset this configuration is using - DatasetID *string `json:"datasetId,omitempty"` - // A model definition - Model *string `json:"model,omitempty"` - // The moderation flag for this configuration - Moderation *bool `json:"moderation,omitempty"` - // The privacy flag for this configuration - Privacy *bool `json:"privacy,omitempty"` - // The id of the skillset this configuration is using - SkillsetID *string `json:"skillsetId,omitempty"` +// Instance crud properties +type MemoryUpdateRequest struct { + // The bot associated with the memory + BotID *string `json:"botId,omitempty"` + // The contact associated with the memory + ContactID *string `json:"contactId,omitempty"` + // The associated description + Description *string `json:"description,omitempty"` + // Epoch-ms timestamp at which the memory is automatically deleted; null clears any expiry + ExpiresAt *int64 `json:"expiresAt,omitempty"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The text of the memory + Text *string `json:"text,omitempty"` } -type ConversationDispatchRequestAttachment struct { - // The URL of the attachment - URL *string `json:"url,omitempty"` +type MemoryUpdateResponse struct { + // The ID of the updated memory + ID string `json:"id"` } -// A contact object to create or retrieve a trusted contact -type FluffyContactID struct { - // A description of the contact - Description *string `json:"description,omitempty"` - // The email address of the contact - Email *string `json:"email,omitempty"` - // A unique fingerprint to identify the contact - Fingerprint string `json:"fingerprint"` - // Additional metadata for the contact - Meta map[string]interface{} `json:"meta,omitempty"` - // The name of the contact - Name *string `json:"name,omitempty"` - // A nickname for the contact - Nick *string `json:"nick,omitempty"` - // The phone number of the contact - Phone *string `json:"phone,omitempty"` +type MemoryFetchParams struct { + // The ID of the memory to retrieve + MemoryID string `json:"memoryId"` } -// Extensions to enhance the bot's capabilities -type ConversationDispatchRequestExtensions struct { - // Additional backstory for the bot - Backstory *string `json:"backstory,omitempty"` - // Inline datasets to provide additional context - Datasets []CunningDataset `json:"datasets,omitempty"` - // Feature flags to enable specific bot capabilities - Features []HilariousFeature `json:"features,omitempty"` - // Inline skillsets to provide additional abilities - Skillsets []CunningSkillset `json:"skillsets,omitempty"` +// Instance list properties +type MemoryFetchResponse struct { + // The bot associated with the memory + BotID *string `json:"botId,omitempty"` + // The contact associated with the memory + ContactID *string `json:"contactId,omitempty"` + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description *string `json:"description,omitempty"` + // The timestamp (ms) at which the memory expires and is automatically deleted + ExpiresAt *float64 `json:"expiresAt,omitempty"` + // The instance ID + ID string `json:"id"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The text of the memory + Text *string `json:"text,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` } -type CunningDataset struct { - // The description of the dataset - Description *string `json:"description,omitempty"` - // The name of the dataset - Name *string `json:"name,omitempty"` - // The records in the dataset - Records []HilariousRecord `json:"records"` +type MemoryDeleteParams struct { + // The ID of the memory to delete + MemoryID string `json:"memoryId"` } -type HilariousRecord struct { - // Additional metadata for the record - Meta map[string]interface{} `json:"meta,omitempty"` - // The text content of the record - Text string `json:"text"` +type MemoryDeleteResponse struct { + // The ID of the deleted memory + ID string `json:"id"` } -type HilariousFeature struct { - // The name of the feature to enable - Name string `json:"name"` - // Optional configuration options for the feature - Options map[string]interface{} `json:"options,omitempty"` +type MagicPromptListParams struct { + // The cursor to use for pagination + Cursor *string `json:"cursor,omitempty"` + // Key-value pairs to filter the items by metadata + Meta map[string]string `json:"meta,omitempty"` + // The order of the paginated items + Order *MagicPromptListParamsOrder `json:"order,omitempty"` + // The number of items to retrieve + Take *int64 `json:"take,omitempty"` } -type CunningSkillset struct { - // The abilities in the skillset - Abilities []HilariousAbility `json:"abilities"` - // The description of the skillset - Description *string `json:"description,omitempty"` - // The name of the skillset - Name *string `json:"name,omitempty"` +type MagicPromptListResponse struct { + // Cursor for fetching the next page + Cursor string `json:"cursor"` + Items []MagicPromptListResponseItem `json:"items"` } -type HilariousAbility struct { - // The description of the ability - Description string `json:"description"` - // The instruction for the ability - Instruction string `json:"instruction"` - // Additional metadata for the ability - Meta map[string]interface{} `json:"meta,omitempty"` - // The name of the ability - Name string `json:"name"` - // Optional secret ID for the ability - SecretID *string `json:"secretId,omitempty"` +// Instance list properties +type MagicPromptListResponseItem struct { + // The alias of the item + Alias string `json:"alias"` + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description *string `json:"description,omitempty"` + // The instance ID + ID string `json:"id"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` } -type ConversationDispatchRequestFunction struct { - // Configuration for when this function should be automatically called - Call *IndecentCall `json:"call,omitempty"` - // The description of the function - Description string `json:"description"` - // The name of the function (must be a valid JS identifier, max 64 chars) - Name string `json:"name"` - // JSON Schema definition for the function parameters - Parameters IndecentParameters `json:"parameters"` - // The result of the function execution - Result *MischievousResult `json:"result,omitempty"` +type MagicPromptListStreamItem struct { + // Instance list properties + Data MagicPromptListStreamItemData `json:"data"` + // The type of event + Type MagicPromptListStreamItemType `json:"type"` } -// Configuration for when this function should be automatically called -type IndecentCall struct { - // If true, this function will be force-called at the end of the conversation - End *bool `json:"end,omitempty"` - // If true, this function will be force-called at the start of the conversation - Start *bool `json:"start,omitempty"` +// Instance list properties +type MagicPromptListStreamItemData struct { + // The alias of the item + Alias string `json:"alias"` + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description *string `json:"description,omitempty"` + // The instance ID + ID string `json:"id"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` } -// JSON Schema definition for the function parameters -type IndecentParameters struct { - // Object property definitions - Properties map[string]interface{} `json:"properties"` - // Required property names - Required []string `json:"required,omitempty"` - // The schema type, must be "object" - Type Type6 `json:"type"` +type MagicFromPromptGenerateParams struct { + // The ID of the prompt to use for generation + PromptID string `json:"promptId"` } -// The result of the function execution -type MischievousResult struct { - // The data returned by the function (can be any type) - Data interface{} `json:"data"` - // The channel for streaming function results - Channel *string `json:"channel,omitempty"` +type MagicFromPromptGenerateRequest struct { + // Optional language model to use for generation + Model *string `json:"model,omitempty"` + // Additional properties to pass to the prompt + Props map[string]interface{} `json:"props,omitempty"` + // The text to use as input + Text string `json:"text"` } -// Execution limits to control conversation processing bounds -type ConversationDispatchRequestLimits struct { - // Maximum number of function/tool calls. Controls how many total function calls can be made - // during the conversation. - Calls *int64 `json:"calls,omitempty"` - // Maximum number of model continuations. Controls how many times the model can continue - // generating after reaching a stop condition. - Continuations *int64 `json:"continuations,omitempty"` - // Maximum number of agentic iterations. Controls how many times the model can iterate - // through tool calls and responses. - Iterations *int64 `json:"iterations,omitempty"` +type MagicFromPromptGenerateResponse struct { + // The input text + Text string `json:"text"` + // Usage information + Usage MagicFromPromptGenerateResponseUsage `json:"usage"` } -// A message in the conversation -type ConversationDispatchRequestMessage struct { - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The text of the message - Text string `json:"text"` - // The type of the message - Type Type7 `json:"type"` +// Usage information +type MagicFromPromptGenerateResponseUsage struct { + // The tokens used in this exchange + Token float64 `json:"token"` } -type ConversationDispatchResponse struct { - // The channel ID to subscribe to for completion events - ChannelID string `json:"channelId"` +type MagicFromPromptGenerateStreamItem struct { + Data MagicFromPromptGenerateStreamItemData `json:"data"` + // The generated text + Type MagicFromPromptGenerateStreamItemType `json:"type"` } -type ConversationsExportParams struct { - // The cursor to use for pagination - Cursor *string `json:"cursor,omitempty"` - // Key-value pairs to filter the partner users by metadata - Meta map[string]string `json:"meta,omitempty"` - // The order of the paginated items - Order *ConversationsExportParamsOrder `json:"order,omitempty"` - // The number of items to retrieve - Take *int64 `json:"take,omitempty"` +type MagicFromPromptGenerateStreamItemData struct { + // The input text + Text string `json:"text"` + // Usage information + Usage BraggadociousUsage `json:"usage"` } -type ConversationsExportResponse struct { - // Cursor for fetching the next page - Cursor string `json:"cursor"` - Items []ConversationsExportResponseItem `json:"items"` +// Usage information +type BraggadociousUsage struct { + // The tokens used in this exchange + Token float64 `json:"token"` } -// A bot configuration or reference -// -// A bot configuration that can be applied without a dedicated bot instance. -type ConversationsExportResponseItem struct { - // The contact id assigned to this conversation - ContactID *string `json:"contactId,omitempty"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description *string `json:"description,omitempty"` - // The instance ID - ID string `json:"id"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The space id assigned to this conversation - SpaceID *string `json:"spaceId,omitempty"` - // The task id assigned to this conversation - TaskID *string `json:"taskId,omitempty"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` - // The ID of the bot this configuration is using - BotID *string `json:"botId,omitempty"` - // The backstory this configuration is using - Backstory *string `json:"backstory,omitempty"` - // The id of the dataset this configuration is using - DatasetID *string `json:"datasetId,omitempty"` - // A model definition - Model *string `json:"model,omitempty"` - // The moderation flag for this configuration - Moderation *bool `json:"moderation,omitempty"` - // The privacy flag for this configuration - Privacy *bool `json:"privacy,omitempty"` - // The id of the skillset this configuration is using - SkillsetID *string `json:"skillsetId,omitempty"` +type IntegrationWidgetListParams struct { + // The cursor to use for pagination + Cursor *string `json:"cursor,omitempty"` + // Key-value pairs to filter the items by metadata + Meta map[string]string `json:"meta,omitempty"` + // The order of the paginated items + Order *IntegrationWidgetListParamsOrder `json:"order,omitempty"` + // The number of items to retrieve + Take *int64 `json:"take,omitempty"` } -type ConversationsExportStreamItem struct { - // A bot configuration or reference - Data ConversationsExportStreamItemData `json:"data"` - // The type of event - Type ConversationsExportStreamItemType `json:"type"` +type IntegrationWidgetListResponse struct { + // Cursor for fetching the next page + Cursor string `json:"cursor"` + Items []IntegrationWidgetListResponseItem `json:"items"` } -// A bot configuration or reference -// // A bot configuration that can be applied without a dedicated bot instance. -type ConversationsExportStreamItemData struct { - // The contact id assigned to this conversation - ContactID *string `json:"contactId,omitempty"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description *string `json:"description,omitempty"` - // The instance ID - ID string `json:"id"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The space id assigned to this conversation - SpaceID *string `json:"spaceId,omitempty"` - // The task id assigned to this conversation - TaskID *string `json:"taskId,omitempty"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` - // The ID of the bot this configuration is using - BotID *string `json:"botId,omitempty"` - // The backstory this configuration is using - Backstory *string `json:"backstory,omitempty"` - // The id of the dataset this configuration is using - DatasetID *string `json:"datasetId,omitempty"` - // A model definition - Model *string `json:"model,omitempty"` - // The moderation flag for this configuration - Moderation *bool `json:"moderation,omitempty"` - // The privacy flag for this configuration - Privacy *bool `json:"privacy,omitempty"` - // The id of the skillset this configuration is using - SkillsetID *string `json:"skillsetId,omitempty"` -} - -type ConversationListParams struct { - // The cursor to use for pagination - Cursor *string `json:"cursor,omitempty"` - // Key-value pairs to filter the partner users by metadata - Meta map[string]string `json:"meta,omitempty"` - // The order of the paginated items - Order *ConversationListParamsOrder `json:"order,omitempty"` - // The number of items to retrieve - Take *int64 `json:"take,omitempty"` +type IntegrationWidgetListResponseItem struct { + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // Weather the Widget integration supports attachments + Attachments *bool `json:"attachments,omitempty"` + // Whether the Widget integration auto scrolls + AutoScroll *bool `json:"autoScroll,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The ID of the bot this configuration is using + BotID *string `json:"botId,omitempty"` + // Weather the Widget integration supports carousels + Carousel *bool `json:"carousel,omitempty"` + // Whether the Widget integration collects contacts + ContactCollection *bool `json:"contactCollection,omitempty"` + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description *string `json:"description,omitempty"` + // Controls whether the Widget allows exporting the current conversation + ExportConversation *bool `json:"exportConversation,omitempty"` + // Weather the Widget integration supports forms + Form *bool `json:"form,omitempty"` + // The instance ID + ID string `json:"id"` + // The initial message of the Widget integration + Initial *string `json:"initial,omitempty"` + // The intro of the Widget integration + Intro *string `json:"intro,omitempty"` + // The language of the Widget integration + Language *string `json:"language,omitempty"` + // The default layout of the Widget integration + Layout *string `json:"layout,omitempty"` + // Weather the Widget integration supports math + Math *bool `json:"math,omitempty"` + // Controls whether the Widget allows maximizing the conversation + Maximize *bool `json:"maximize,omitempty"` + // Controls whether the Widget allows peeking at the initial messages + MessagePeek *bool `json:"messagePeek,omitempty"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The origin URLs of the Widget integration + Origin *string `json:"origin,omitempty"` + // The input placeholder of the Widget integration + Placeholder *string `json:"placeholder,omitempty"` + // The plugins of the Widget integration + Plugins *string `json:"plugins,omitempty"` + // Whether the Widget integration displays powered by + PoweredBy *bool `json:"poweredBy,omitempty"` + // Controls whether the Widget allows restarting the conversation + RestartConversation *bool `json:"restartConversation,omitempty"` + // The session duration of the Widget integration + SessionDuration *float64 `json:"sessionDuration,omitempty"` + // Whether the Widget integration starts first + StartFirst *bool `json:"startFirst,omitempty"` + // Whether the Widget integration is streaming + Stream *bool `json:"stream,omitempty"` + // The theme of the Widget integration + Theme *string `json:"theme,omitempty"` + // The title of the Widget integration + Title *string `json:"title,omitempty"` + // Whether the Widget integration has tools + Tools *bool `json:"tools,omitempty"` + // Whether the Widget integration unfurls links + Unfurl *bool `json:"unfurl,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` + // Whether the Widget integration is verbose + Verbose *bool `json:"verbose,omitempty"` + // Whether the Widget integration supports voice input + VoiceIn *bool `json:"voiceIn,omitempty"` + // Whether the Widget integration supports voice output + VoiceOut *bool `json:"voiceOut,omitempty"` } -type ConversationListResponse struct { - // Cursor for fetching the next page - Cursor string `json:"cursor"` - Items []ConversationListResponseItem `json:"items"` +type IntegrationWidgetListStreamItem struct { + // A bot configuration that can be applied without a dedicated bot instance. + Data IntegrationWidgetListStreamItemData `json:"data"` + // The type of event + Type IntegrationWidgetListStreamItemType `json:"type"` } -// A bot configuration or reference -// // A bot configuration that can be applied without a dedicated bot instance. -type ConversationListResponseItem struct { - // The contact id assigned to this conversation - ContactID *string `json:"contactId,omitempty"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description *string `json:"description,omitempty"` - // The instance ID - ID string `json:"id"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The space id assigned to this conversation - SpaceID *string `json:"spaceId,omitempty"` - // The task id assigned to this conversation - TaskID *string `json:"taskId,omitempty"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` - // The ID of the bot this configuration is using - BotID *string `json:"botId,omitempty"` - // The backstory this configuration is using - Backstory *string `json:"backstory,omitempty"` - // The id of the dataset this configuration is using - DatasetID *string `json:"datasetId,omitempty"` - // A model definition - Model *string `json:"model,omitempty"` - // The moderation flag for this configuration - Moderation *bool `json:"moderation,omitempty"` - // The privacy flag for this configuration - Privacy *bool `json:"privacy,omitempty"` - // The id of the skillset this configuration is using - SkillsetID *string `json:"skillsetId,omitempty"` +type IntegrationWidgetListStreamItemData struct { + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // Weather the Widget integration supports attachments + Attachments *bool `json:"attachments,omitempty"` + // Whether the Widget integration auto scrolls + AutoScroll *bool `json:"autoScroll,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The ID of the bot this configuration is using + BotID *string `json:"botId,omitempty"` + // Weather the Widget integration supports carousels + Carousel *bool `json:"carousel,omitempty"` + // Whether the Widget integration collects contacts + ContactCollection *bool `json:"contactCollection,omitempty"` + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description *string `json:"description,omitempty"` + // Controls whether the Widget allows exporting the current conversation + ExportConversation *bool `json:"exportConversation,omitempty"` + // Weather the Widget integration supports forms + Form *bool `json:"form,omitempty"` + // The instance ID + ID string `json:"id"` + // The initial message of the Widget integration + Initial *string `json:"initial,omitempty"` + // The intro of the Widget integration + Intro *string `json:"intro,omitempty"` + // The language of the Widget integration + Language *string `json:"language,omitempty"` + // The default layout of the Widget integration + Layout *string `json:"layout,omitempty"` + // Weather the Widget integration supports math + Math *bool `json:"math,omitempty"` + // Controls whether the Widget allows maximizing the conversation + Maximize *bool `json:"maximize,omitempty"` + // Controls whether the Widget allows peeking at the initial messages + MessagePeek *bool `json:"messagePeek,omitempty"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The origin URLs of the Widget integration + Origin *string `json:"origin,omitempty"` + // The input placeholder of the Widget integration + Placeholder *string `json:"placeholder,omitempty"` + // The plugins of the Widget integration + Plugins *string `json:"plugins,omitempty"` + // Whether the Widget integration displays powered by + PoweredBy *bool `json:"poweredBy,omitempty"` + // Controls whether the Widget allows restarting the conversation + RestartConversation *bool `json:"restartConversation,omitempty"` + // The session duration of the Widget integration + SessionDuration *float64 `json:"sessionDuration,omitempty"` + // Whether the Widget integration starts first + StartFirst *bool `json:"startFirst,omitempty"` + // Whether the Widget integration is streaming + Stream *bool `json:"stream,omitempty"` + // The theme of the Widget integration + Theme *string `json:"theme,omitempty"` + // The title of the Widget integration + Title *string `json:"title,omitempty"` + // Whether the Widget integration has tools + Tools *bool `json:"tools,omitempty"` + // Whether the Widget integration unfurls links + Unfurl *bool `json:"unfurl,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` + // Whether the Widget integration is verbose + Verbose *bool `json:"verbose,omitempty"` + // Whether the Widget integration supports voice input + VoiceIn *bool `json:"voiceIn,omitempty"` + // Whether the Widget integration supports voice output + VoiceOut *bool `json:"voiceOut,omitempty"` } -type ConversationListStreamItem struct { - // A bot configuration or reference - Data ConversationListStreamItemData `json:"data"` - // The type of event - Type ConversationListStreamItemType `json:"type"` +// A bot configuration that can be applied without a dedicated bot instance. +type IntegrationWidgetCreateRequest struct { + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // Weather the Widget integration supports attachments + Attachments *bool `json:"attachments,omitempty"` + // Whether the Widget integration auto scrolls + AutoScroll *bool `json:"autoScroll,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The ID of the bot this configuration is using + BotID *string `json:"botId,omitempty"` + // Weather the Widget integration supports carousels + Carousel *bool `json:"carousel,omitempty"` + // Whether the Widget integration collects contacts + ContactCollection *bool `json:"contactCollection,omitempty"` + // The associated description + Description *string `json:"description,omitempty"` + // Controls whether the Widget allows exporting the current conversation + ExportConversation *bool `json:"exportConversation,omitempty"` + // Weather the Widget integration supports forms + Form *bool `json:"form,omitempty"` + // The initial message of the Widget integration + Initial *string `json:"initial,omitempty"` + // The intro of the Widget integration + Intro *string `json:"intro,omitempty"` + // The language of the Widget integration + Language *string `json:"language,omitempty"` + // The default layout of the Widget integration + Layout *string `json:"layout,omitempty"` + // Weather the Widget integration supports math + Math *bool `json:"math,omitempty"` + // Controls whether the Widget allows maximizing the conversation + Maximize *bool `json:"maximize,omitempty"` + // Controls whether the Widget allows peeking at the initial messages + MessagePeek *bool `json:"messagePeek,omitempty"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The origin URLs of the Widget integration + Origin *string `json:"origin,omitempty"` + // The input placeholder of the Widget integration + Placeholder *string `json:"placeholder,omitempty"` + // The plugins of the Widget integration + Plugins *string `json:"plugins,omitempty"` + // Whether the Widget integration displays powered by + PoweredBy *bool `json:"poweredBy,omitempty"` + // Controls whether the Widget allows restarting the conversation + RestartConversation *bool `json:"restartConversation,omitempty"` + // The session duration of the Widget integration + SessionDuration *float64 `json:"sessionDuration,omitempty"` + // Whether the Widget integration starts first + StartFirst *bool `json:"startFirst,omitempty"` + // Whether the Widget integration is streaming + Stream *bool `json:"stream,omitempty"` + // The theme of the Widget integration + Theme *string `json:"theme,omitempty"` + // The title of the Widget integration + Title *string `json:"title,omitempty"` + // Whether the Widget integration has tools + Tools *bool `json:"tools,omitempty"` + // Whether the Widget integration unfurls links + Unfurl *bool `json:"unfurl,omitempty"` + // Whether the Widget integration is verbose + Verbose *bool `json:"verbose,omitempty"` + // Controls whether the Widget allows voice input + VoiceIn *bool `json:"voiceIn,omitempty"` + // Controls whether the Widget allows voice output + VoiceOut *bool `json:"voiceOut,omitempty"` } -// A bot configuration or reference -// -// A bot configuration that can be applied without a dedicated bot instance. -type ConversationListStreamItemData struct { - // The contact id assigned to this conversation - ContactID *string `json:"contactId,omitempty"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description *string `json:"description,omitempty"` - // The instance ID - ID string `json:"id"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The space id assigned to this conversation - SpaceID *string `json:"spaceId,omitempty"` - // The task id assigned to this conversation - TaskID *string `json:"taskId,omitempty"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` - // The ID of the bot this configuration is using - BotID *string `json:"botId,omitempty"` - // The backstory this configuration is using - Backstory *string `json:"backstory,omitempty"` - // The id of the dataset this configuration is using - DatasetID *string `json:"datasetId,omitempty"` - // A model definition - Model *string `json:"model,omitempty"` - // The moderation flag for this configuration - Moderation *bool `json:"moderation,omitempty"` - // The privacy flag for this configuration - Privacy *bool `json:"privacy,omitempty"` - // The id of the skillset this configuration is using - SkillsetID *string `json:"skillsetId,omitempty"` +type IntegrationWidgetCreateResponse struct { + // The ID of the Widget Integration + ID string `json:"id"` } -type DatasetDeleteParams struct { - // The ID of the dataset to delete - DatasetID string `json:"datasetId"` +type IntegrationWidgetUpdateParams struct { + // The ID of the Widget integration + WidgetIntegrationID string `json:"widgetIntegrationId"` } -type DatasetDeleteResponse struct { - // The ID of the deleted dataset - ID string `json:"id"` +// A bot configuration that can be applied without a dedicated bot instance. +type IntegrationWidgetUpdateRequest struct { + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // Whether the Widget integration supports attachments + Attachments *bool `json:"attachments,omitempty"` + // Whether the Widget integration auto scrolls + AutoScroll *bool `json:"autoScroll,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The ID of the bot this configuration is using + BotID *string `json:"botId,omitempty"` + // Whether the Widget integration supports carousels + Carousel *bool `json:"carousel,omitempty"` + // Whether the Widget integration collects contacts + ContactCollection *bool `json:"contactCollection,omitempty"` + // The associated description + Description *string `json:"description,omitempty"` + // Controls whether the Widget allows exporting the current conversation + ExportConversation *bool `json:"exportConversation,omitempty"` + // Whether the Widget integration supports forms + Form *bool `json:"form,omitempty"` + // The initial message of the Widget integration + Initial *string `json:"initial,omitempty"` + // The intro of the Widget integration + Intro *string `json:"intro,omitempty"` + // The language of the Widget integration + Language *string `json:"language,omitempty"` + // The default layout of the Widget integration + Layout *string `json:"layout,omitempty"` + // Whether the Widget integration supports math + Math *bool `json:"math,omitempty"` + // Controls whether the Widget allows maximizing the conversation + Maximize *bool `json:"maximize,omitempty"` + // Controls whether the Widget allows peeking at the initial messages + MessagePeek *bool `json:"messagePeek,omitempty"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The origin URLs of the Widget integration + Origin *string `json:"origin,omitempty"` + // The input placeholder of the Widget integration + Placeholder *string `json:"placeholder,omitempty"` + // The plugins of the Widget integration + Plugins *string `json:"plugins,omitempty"` + // Whether the Widget integration displays powered by + PoweredBy *bool `json:"poweredBy,omitempty"` + // Controls whether the Widget allows restarting the conversation + RestartConversation *bool `json:"restartConversation,omitempty"` + // The session duration of the Widget integration + SessionDuration *float64 `json:"sessionDuration,omitempty"` + // Whether the Widget integration starts first + StartFirst *bool `json:"startFirst,omitempty"` + // Whether the Widget integration is streaming + Stream *bool `json:"stream,omitempty"` + // The theme of the Widget integration + Theme *string `json:"theme,omitempty"` + // The title of the Widget integration + Title *string `json:"title,omitempty"` + // Whether the Widget integration has tools + Tools *bool `json:"tools,omitempty"` + // Whether the Widget integration unfurls links + Unfurl *bool `json:"unfurl,omitempty"` + // Whether the Widget integration is verbose + Verbose *bool `json:"verbose,omitempty"` + // Controls whether the Widget allows voice input + VoiceIn *bool `json:"voiceIn,omitempty"` + // Controls whether the Widget allows voice output + VoiceOut *bool `json:"voiceOut,omitempty"` } -type DatasetFetchParams struct { - // The ID of the dataset to retrieve - DatasetID string `json:"datasetId"` +type IntegrationWidgetUpdateResponse struct { + // The ID of the Widget Integration + ID string `json:"id"` } -// Blueprint properties -type DatasetFetchResponse struct { - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description *string `json:"description,omitempty"` - // The instance ID - ID string `json:"id"` - // An instruction to include before found records - MatchInstruction *string `json:"matchInstruction,omitempty"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // An instruction to include if no records where found - MismatchInstruction *string `json:"mismatchInstruction,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The total number of tokens for each record - RecordMaxTokens *float64 `json:"recordMaxTokens,omitempty"` - // The reranker class for the dataset - Reranker *string `json:"reranker,omitempty"` - // The total number of records to return during search - SearchMaxRecords *float64 `json:"searchMaxRecords,omitempty"` - // The total number of tokens to use during search - SearchMaxTokens *float64 `json:"searchMaxTokens,omitempty"` - // The minimum score to filter search results by - SearchMinScore *float64 `json:"searchMinScore,omitempty"` - // A list of separators to use when tokenizing text - Separators *string `json:"separators,omitempty"` - // The storage class for the dataset - Store string `json:"store"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` - // The dataset visibility - Visibility *DatasetFetchResponseVisibility `json:"visibility,omitempty"` +type IntegrationWidgetSetupParams struct { + // The ID of the Widget integration + WidgetIntegrationID string `json:"widgetIntegrationId"` } -type DatasetFileAttachParams struct { - // The ID of the dataset - DatasetID string `json:"datasetId"` - // The ID of the file - FileID string `json:"fileId"` +type IntegrationWidgetSetupResponse struct { + // The ID of the Widget integration + ID string `json:"id"` } -type DatasetFileAttachRequest struct { - // The dataset file attachment type - Type *DatasetFileAttachRequestType `json:"type,omitempty"` +type IntegrationWidgetFetchParams struct { + // The ID of the Widget integration to retrieve + WidgetIntegrationID string `json:"widgetIntegrationId"` } -type DatasetFileAttachResponse struct { - // The ID of the dataset file - ID string `json:"id"` +// A bot configuration that can be applied without a dedicated bot instance. +type IntegrationWidgetFetchResponse struct { + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // Whether the Widget integration supports attachments + Attachments *bool `json:"attachments,omitempty"` + // Whether the Widget integration auto scrolls + AutoScroll *bool `json:"autoScroll,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The ID of the bot this configuration is using + BotID *string `json:"botId,omitempty"` + // Whether the Widget integration supports carousels + Carousel *bool `json:"carousel,omitempty"` + // Whether the Widget integration collects contacts + ContactCollection *bool `json:"contactCollection,omitempty"` + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description *string `json:"description,omitempty"` + // Controls whether the Widget allows exporting the current conversation + ExportConversation *bool `json:"exportConversation,omitempty"` + // Whether the Widget integration supports forms + Form *bool `json:"form,omitempty"` + // The instance ID + ID string `json:"id"` + // The initial message of the Widget integration + Initial *string `json:"initial,omitempty"` + // The intro of the Widget integration + Intro *string `json:"intro,omitempty"` + // The language of the Widget integration + Language *string `json:"language,omitempty"` + // The default layout of the Widget integration + Layout *string `json:"layout,omitempty"` + // Whether the Widget integration supports math + Math *bool `json:"math,omitempty"` + // Controls whether the Widget allows maximizing the conversation + Maximize *bool `json:"maximize,omitempty"` + // Controls whether the Widget allows peeking at the initial messages + MessagePeek *bool `json:"messagePeek,omitempty"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The origin URLs of the Widget integration + Origin *string `json:"origin,omitempty"` + // The input placeholder of the Widget integration + Placeholder *string `json:"placeholder,omitempty"` + // The plugins of the Widget integration + Plugins *string `json:"plugins,omitempty"` + // Whether the Widget integration displays powered by + PoweredBy *bool `json:"poweredBy,omitempty"` + // Controls whether the Widget allows restarting the conversation + RestartConversation *bool `json:"restartConversation,omitempty"` + // The session duration of the Widget integration + SessionDuration *float64 `json:"sessionDuration,omitempty"` + // Whether the Widget integration starts first + StartFirst *bool `json:"startFirst,omitempty"` + // Whether the Widget integration is streaming + Stream *bool `json:"stream,omitempty"` + // The theme of the Widget integration + Theme *string `json:"theme,omitempty"` + // The title of the Widget integration + Title *string `json:"title,omitempty"` + // Whether the Widget integration has tools + Tools *bool `json:"tools,omitempty"` + // Whether the Widget integration unfurls links + Unfurl *bool `json:"unfurl,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` + // Whether the Widget integration is verbose + Verbose *bool `json:"verbose,omitempty"` + // Whether the Widget integration supports voice input + VoiceIn *bool `json:"voiceIn,omitempty"` + // Whether the Widget integration supports voice output + VoiceOut *bool `json:"voiceOut,omitempty"` } -type DatasetFileDetachParams struct { - // The ID of the dataset - DatasetID string `json:"datasetId"` - // The ID of the file - FileID string `json:"fileId"` +type IntegrationWidgetDeleteParams struct { + // The ID of the Widget integration + WidgetIntegrationID string `json:"widgetIntegrationId"` } -type DatasetFileDetachRequest struct { - // Delete records associated with the file - DeleteRecords *bool `json:"deleteRecords,omitempty"` +type IntegrationWidgetDeleteResponse struct { + // The ID of the deleted Widget integration + ID string `json:"id"` } -type DatasetFileDetachResponse struct { - // The ID of the dataset file - ID string `json:"id"` +type IntegrationWidgetCloneParams struct { + // The ID of the Widget integration + WidgetIntegrationID string `json:"widgetIntegrationId"` } -type DatasetFileSyncParams struct { - // The ID of the dataset - DatasetID string `json:"datasetId"` - // The ID of the file - FileID string `json:"fileId"` +type IntegrationWidgetCloneResponse struct { + // The ID of the cloned Widget integration + ID string `json:"id"` } -type DatasetFileSyncResponse struct { - // The ID of the dataset file - ID string `json:"id"` +type WidgetIntegrationFileDetachParams struct { + // The ID of the file to detach + FileID string `json:"fileId"` + // The ID of the widget integration + WidgetIntegrationID string `json:"widgetIntegrationId"` } -type DatasetFileListParams struct { - // The cursor to use for pagination - Cursor *string `json:"cursor,omitempty"` - // The ID of the dataset - DatasetID string `json:"datasetId"` - // The order of the paginated items - Order *DatasetFileListParamsOrder `json:"order,omitempty"` - // The number of items to retrieve - Take *int64 `json:"take,omitempty"` +type WidgetIntegrationFileDetachResponse struct { + // The ID of the detached file + ID string `json:"id"` + // The attachment slot type that was cleared + Type string `json:"type"` + // The ID of the widget integration + WidgetIntegrationID string `json:"widgetIntegrationId"` } -type DatasetFileListResponse struct { - // Cursor for fetching the next page - Cursor string `json:"cursor"` - Items []DatasetFileListResponseItem `json:"items"` +type WidgetIntegrationFileAttachParams struct { + // The ID of the file to attach + FileID string `json:"fileId"` + // The ID of the widget integration + WidgetIntegrationID string `json:"widgetIntegrationId"` } -// Instance list properties -type DatasetFileListResponseItem struct { - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description *string `json:"description,omitempty"` - // The instance ID - ID string `json:"id"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` - // The file visibility - Visibility *IndigoVisibility `json:"visibility,omitempty"` +type WidgetIntegrationFileAttachRequest struct { + // The attachment slot type for the file + Type WidgetIntegrationFileAttachRequestType `json:"type"` } -type DatasetFileListStreamItem struct { - // Blueprint properties - Data DatasetFileListStreamItemData `json:"data"` - // The type of event - Type DatasetFileListStreamItemType `json:"type"` +type WidgetIntegrationFileAttachResponse struct { + // The ID of the attached file + ID string `json:"id"` + // The attachment slot type + Type string `json:"type"` + // The ID of the widget integration + WidgetIntegrationID string `json:"widgetIntegrationId"` } -// Blueprint properties -type DatasetFileListStreamItemData struct { - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description *string `json:"description,omitempty"` - // The instance ID - ID string `json:"id"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` - // The file visibility - Visibility *IndecentVisibility `json:"visibility,omitempty"` +type IntegrationWhatsAppListParams struct { + // The cursor to use for pagination + Cursor *string `json:"cursor,omitempty"` + // Key-value pairs to filter the items by metadata + Meta map[string]string `json:"meta,omitempty"` + // The order of the paginated items + Order *IntegrationWhatsAppListParamsOrder `json:"order,omitempty"` + // The number of items to retrieve + Take *int64 `json:"take,omitempty"` } -type DatasetRecordDeleteParams struct { - // The ID of the dataset - DatasetID string `json:"datasetId"` - // The ID of the record to delete - RecordID string `json:"recordId"` +type IntegrationWhatsAppListResponse struct { + // Cursor for fetching the next page + Cursor string `json:"cursor"` + Items []IntegrationWhatsAppListResponseItem `json:"items"` } -type DatasetRecordDeleteResponse struct { - // The ID of the deleted record - ID string `json:"id"` +// Blueprint properties +type IntegrationWhatsAppListResponseItem struct { + // The WhatsApp integration access token (returned as '********' if configured, null + // otherwise) + AccessToken *string `json:"accessToken,omitempty"` + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // Newline-or-comma-separated list of allowed senders. Use phone numbers in E.164 format + // (digits only). Leave empty to block all. Use * to allow everyone. + AllowFrom *string `json:"allowFrom,omitempty"` + // The Meta app secret (returned as '********' if configured, null otherwise) + AppSecret *string `json:"appSecret,omitempty"` + // Weather the bot supports attachments + Attachments *bool `json:"attachments,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The ID of the bot this configuration is using + BotID *string `json:"botId,omitempty"` + // Weather to collect contacts + ContactCollection *bool `json:"contactCollection,omitempty"` + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description *string `json:"description,omitempty"` + // The instance ID + ID string `json:"id"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The WhatsApp integration phone number ID + PhoneNumberID *string `json:"phoneNumberId,omitempty"` + // The session duration (in milliseconds) + SessionDuration *float64 `json:"sessionDuration,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` + // The WhatsApp integration verify token + VerifyToken string `json:"verifyToken"` } -type DatasetRecordFetchParams struct { - // The ID of the dataset - DatasetID string `json:"datasetId"` - // The ID of the record to retrieve - RecordID string `json:"recordId"` +type IntegrationWhatsAppListStreamItem struct { + // Blueprint properties + Data IntegrationWhatsAppListStreamItemData `json:"data"` + // The type of event + Type IntegrationWhatsAppListStreamItemType `json:"type"` } -// Instance list properties -type DatasetRecordFetchResponse struct { - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The instance ID - ID string `json:"id"` - // The source of the dataset record - Source *string `json:"source,omitempty"` - // The text of the dataset record - Text string `json:"text"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` +// Blueprint properties +type IntegrationWhatsAppListStreamItemData struct { + // The WhatsApp integration access token (returned as '********' if configured, null + // otherwise) + AccessToken *string `json:"accessToken,omitempty"` + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // Newline-or-comma-separated list of allowed senders. Use phone numbers in E.164 format + // (digits only). Leave empty to block all. Use * to allow everyone. + AllowFrom *string `json:"allowFrom,omitempty"` + // The Meta app secret (returned as '********' if configured, null otherwise) + AppSecret *string `json:"appSecret,omitempty"` + // Weather the bot supports attachments + Attachments *bool `json:"attachments,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The ID of the bot this configuration is using + BotID *string `json:"botId,omitempty"` + // Weather to collect contacts + ContactCollection *bool `json:"contactCollection,omitempty"` + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description *string `json:"description,omitempty"` + // The instance ID + ID string `json:"id"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The WhatsApp integration phone number ID + PhoneNumberID *string `json:"phoneNumberId,omitempty"` + // The session duration (in milliseconds) + SessionDuration *float64 `json:"sessionDuration,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` + // The WhatsApp integration verify token + VerifyToken string `json:"verifyToken"` } -type DatasetRecordUpdateParams struct { - DatasetID string `json:"datasetId"` - RecordID string `json:"recordId"` +// A bot configuration that can be applied without a dedicated bot instance. +type IntegrationWhatsAppCreateRequest struct { + // The WhatsApp integration access token + AccessToken *string `json:"accessToken,omitempty"` + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // Newline-or-comma-separated list of allowed senders. Use E.164 phone numbers with or + // without the leading `+`. Set to `*` to allow all. Leave empty to deny all. + AllowFrom *string `json:"allowFrom,omitempty"` + // The Meta app secret used to validate webhook signatures + AppSecret *string `json:"appSecret,omitempty"` + // Weather the bot supports attachments + Attachments *bool `json:"attachments,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The ID of the bot this configuration is using + BotID *string `json:"botId,omitempty"` + // Weather to collect contacts + ContactCollection *bool `json:"contactCollection,omitempty"` + // The associated description + Description *string `json:"description,omitempty"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The WhatsApp integration phone number ID + PhoneNumberID *string `json:"phoneNumberId,omitempty"` + // The session duration (in milliseconds) + SessionDuration *float64 `json:"sessionDuration,omitempty"` } -type DatasetRecordUpdateRequest struct { - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The source to update the record with - Source *string `json:"source,omitempty"` - // The text to update the record with - Text *string `json:"text,omitempty"` +type IntegrationWhatsAppCreateResponse struct { + // The ID of the WhatsApp Integration + ID string `json:"id"` } -type DatasetRecordUpdateResponse struct { - // The ID of the updated record - ID string `json:"id"` +type IntegrationWhatsAppUpdateParams struct { + // The ID of the WhatsApp integration + WhatsappIntegrationID string `json:"whatsappIntegrationId"` } -type DatasetRecordCreateParams struct { - DatasetID string `json:"datasetId"` +// A bot configuration that can be applied without a dedicated bot instance. +type IntegrationWhatsAppUpdateRequest struct { + // The WhatsApp integration access token + AccessToken *string `json:"accessToken,omitempty"` + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // Newline-or-comma-separated list of allowed senders. Use E.164 phone numbers with or + // without the leading `+`. Set to `*` to allow all. Leave empty to deny all. + AllowFrom *string `json:"allowFrom,omitempty"` + // The Meta app secret used to validate webhook signatures + AppSecret *string `json:"appSecret,omitempty"` + // Weather the bot supports attachments + Attachments *bool `json:"attachments,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The ID of the bot this configuration is using + BotID *string `json:"botId,omitempty"` + // Weather to collect contacts + ContactCollection *bool `json:"contactCollection,omitempty"` + // The associated description + Description *string `json:"description,omitempty"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The WhatsApp integration phone number ID + PhoneNumberID *string `json:"phoneNumberId,omitempty"` + // The session duration (in milliseconds) + SessionDuration *float64 `json:"sessionDuration,omitempty"` } -type DatasetRecordCreateRequest struct { - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The source of the record - Source *string `json:"source,omitempty"` - // The text of the record - Text string `json:"text"` +type IntegrationWhatsAppUpdateResponse struct { + // The ID of the WhatsApp Integration + ID string `json:"id"` } -type DatasetRecordCreateResponse struct { - // The ID of the created record - ID string `json:"id"` +type IntegrationWhatsAppSetupParams struct { + // The ID of the WhatsApp integration + WhatsappIntegrationID string `json:"whatsappIntegrationId"` } -type DatasetRecordsExportParams struct { - // The cursor to use for pagination - Cursor *string `json:"cursor,omitempty"` - // The ID of the dataset to export - DatasetID string `json:"datasetId"` - // The order of the paginated items - Order *DatasetRecordsExportParamsOrder `json:"order,omitempty"` - // The number of items to retrieve - Take *int64 `json:"take,omitempty"` +type IntegrationWhatsAppSetupResponse struct { + // The ID of the WhatsApp Integration + ID string `json:"id"` } -type DatasetRecordsExportResponse struct { - // Cursor for fetching the next page - Cursor string `json:"cursor"` - Items []DatasetRecordsExportResponseItem `json:"items"` +type IntegrationWhatsAppFetchParams struct { + // The ID of the WhatsApp integration to retrieve + WhatsappIntegrationID string `json:"whatsappIntegrationId"` } -// Instance list properties -type DatasetRecordsExportResponseItem struct { - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The instance ID - ID string `json:"id"` - Source *string `json:"source,omitempty"` - Text string `json:"text"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` +// Blueprint properties +type IntegrationWhatsAppFetchResponse struct { + // The WhatsApp integration access token (returned as '********' if configured, null + // otherwise) + AccessToken *string `json:"accessToken,omitempty"` + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // Newline-or-comma-separated list of allowed senders + AllowFrom *string `json:"allowFrom,omitempty"` + // The Meta app secret (returned as '********' if configured, null otherwise) + AppSecret *string `json:"appSecret,omitempty"` + // Weather the bot supports attachments + Attachments *bool `json:"attachments,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The ID of the bot this configuration is using + BotID *string `json:"botId,omitempty"` + // Weather to collect contacts + ContactCollection *bool `json:"contactCollection,omitempty"` + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description *string `json:"description,omitempty"` + // The instance ID + ID string `json:"id"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The WhatsApp integration phone number ID + PhoneNumberID *string `json:"phoneNumberId,omitempty"` + // The session duration (in milliseconds) + SessionDuration *float64 `json:"sessionDuration,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` + // The WhatsApp integration verify token + VerifyToken string `json:"verifyToken"` } -type DatasetRecordsExportStreamItem struct { - // Instance list properties - Data DatasetRecordsExportStreamItemData `json:"data"` - // The type of event - Type DatasetRecordsExportStreamItemType `json:"type"` +type IntegrationWhatsAppDeleteParams struct { + // The ID of the WhatsApp integration + WhatsappIntegrationID string `json:"whatsappIntegrationId"` } -// Instance list properties -type DatasetRecordsExportStreamItemData struct { - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The instance ID - ID string `json:"id"` - Source *string `json:"source,omitempty"` - Text string `json:"text"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` +type IntegrationWhatsAppDeleteResponse struct { + // The ID of the deleted WhatsApp integration + ID string `json:"id"` } -type DatasetRecordListParams struct { - // The cursor to use for pagination - Cursor *string `json:"cursor,omitempty"` - // The ID of the dataset - DatasetID string `json:"datasetId"` - // The order of the paginated items - Order *DatasetRecordListParamsOrder `json:"order,omitempty"` - // The number of items to retrieve - Take *int64 `json:"take,omitempty"` +type IntegrationTwilioListParams struct { + // The cursor to use for pagination + Cursor *string `json:"cursor,omitempty"` + // Key-value pairs to filter the items by metadata + Meta map[string]string `json:"meta,omitempty"` + // The order of the paginated items + Order *IntegrationTwilioListParamsOrder `json:"order,omitempty"` + // The number of items to retrieve + Take *int64 `json:"take,omitempty"` } -type DatasetRecordListResponse struct { - // Cursor for fetching the next page - Cursor string `json:"cursor"` - Items []DatasetRecordListResponseItem `json:"items"` +type IntegrationTwilioListResponse struct { + // Cursor for fetching the next page + Cursor string `json:"cursor"` + Items []IntegrationTwilioListResponseItem `json:"items"` } -// Instance list properties -type DatasetRecordListResponseItem struct { - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The instance ID - ID string `json:"id"` - Source *string `json:"source,omitempty"` - Text string `json:"text"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` +// Blueprint properties +type IntegrationTwilioListResponseItem struct { + // The Twilio account SID + AccountSid *string `json:"accountSid,omitempty"` + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // Newline-or-comma-separated list of allowed senders + AllowFrom *string `json:"allowFrom,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The ID of the bot this configuration is using + BotID *string `json:"botId,omitempty"` + // Weather to collect contacts + ContactCollection *bool `json:"contactCollection,omitempty"` + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description *string `json:"description,omitempty"` + // The instance ID + ID string `json:"id"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The session duration (in milliseconds) + SessionDuration *float64 `json:"sessionDuration,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` + // The voice configuration structured string + Voice *string `json:"voice,omitempty"` } -type DatasetRecordListStreamItem struct { - // Instance list properties - Data DatasetRecordListStreamItemData `json:"data"` - // The type of event - Type DatasetRecordListStreamItemType `json:"type"` +type IntegrationTwilioListStreamItem struct { + // Blueprint properties + Data IntegrationTwilioListStreamItemData `json:"data"` + // The type of event + Type IntegrationTwilioListStreamItemType `json:"type"` } -// Instance list properties -type DatasetRecordListStreamItemData struct { - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The instance ID - ID string `json:"id"` - Source *string `json:"source,omitempty"` - Text string `json:"text"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` +// Blueprint properties +type IntegrationTwilioListStreamItemData struct { + // The Twilio account SID + AccountSid *string `json:"accountSid,omitempty"` + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // Newline-or-comma-separated list of allowed senders + AllowFrom *string `json:"allowFrom,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The ID of the bot this configuration is using + BotID *string `json:"botId,omitempty"` + // Weather to collect contacts + ContactCollection *bool `json:"contactCollection,omitempty"` + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description *string `json:"description,omitempty"` + // The instance ID + ID string `json:"id"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The session duration (in milliseconds) + SessionDuration *float64 `json:"sessionDuration,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` + // The voice configuration structured string + Voice *string `json:"voice,omitempty"` } -type DatasetSearchParams struct { - // The ID of the dataset to search - DatasetID string `json:"datasetId"` +// A bot configuration that can be applied without a dedicated bot instance. +type IntegrationTwilioCreateRequest struct { + // The Twilio account SID + AccountSid *string `json:"accountSid,omitempty"` + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // Newline-or-comma-separated list of allowed senders. Use E.164 phone numbers with or + // without the leading `+`. Set to `*` to allow all. Leave empty to deny all. + AllowFrom *string `json:"allowFrom,omitempty"` + // The Twilio auth token + AuthToken *string `json:"authToken,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The ID of the bot this configuration is using + BotID *string `json:"botId,omitempty"` + // Weather to collect contacts + ContactCollection *bool `json:"contactCollection,omitempty"` + // The associated description + Description *string `json:"description,omitempty"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The session duration (in milliseconds) + SessionDuration *float64 `json:"sessionDuration,omitempty"` + // The voice configuration structured string + Voice *string `json:"voice,omitempty"` } -type DatasetSearchRequest struct { - Filter map[string]*FilterValue `json:"filter,omitempty"` - // The keyword/phrase to search for - Search string `json:"search"` +type IntegrationTwilioCreateResponse struct { + // The ID of the Twilio Integration + ID string `json:"id"` } -type FilterClass struct { - Eq *Eq `json:"$eq"` - Ne *Eq `json:"$ne"` - Gt *float64 `json:"$gt,omitempty"` - Gte *float64 `json:"$gte,omitempty"` - Lt *float64 `json:"$lt,omitempty"` - LTE *float64 `json:"$lte,omitempty"` +type IntegrationTwilioUpdateParams struct { + // The ID of the Twilio integration + TwilioIntegrationID string `json:"twilioIntegrationId"` } -type DatasetSearchResponse struct { - // The ID of the dataset that was searched - ID string `json:"id"` - // An array of records matching the search query - Records []DatasetSearchResponseRecord `json:"records"` +// A bot configuration that can be applied without a dedicated bot instance. +type IntegrationTwilioUpdateRequest struct { + // The Twilio account SID + AccountSid *string `json:"accountSid,omitempty"` + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // Newline-or-comma-separated list of allowed senders. Use E.164 phone numbers with or + // without the leading `+`. Set to `*` to allow all. Leave empty to deny all. + AllowFrom *string `json:"allowFrom,omitempty"` + // The Twilio auth token + AuthToken *string `json:"authToken,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The ID of the bot this configuration is using + BotID *string `json:"botId,omitempty"` + // Weather to collect contacts + ContactCollection *bool `json:"contactCollection,omitempty"` + // The associated description + Description *string `json:"description,omitempty"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The session duration (in milliseconds) + SessionDuration *float64 `json:"sessionDuration,omitempty"` + // The voice configuration structured string + Voice *string `json:"voice,omitempty"` } -type DatasetSearchResponseRecord struct { - ID string `json:"id"` - Meta map[string]interface{} `json:"meta,omitempty"` - Score float64 `json:"score"` - Source *string `json:"source,omitempty"` - Text string `json:"text"` +type IntegrationTwilioUpdateResponse struct { + // The ID of the Twilio Integration + ID string `json:"id"` } -type DatasetUpdateParams struct { - DatasetID string `json:"datasetId"` +type IntegrationTwilioSetupParams struct { + // The ID of the Twilio integration + TwilioIntegrationID string `json:"twilioIntegrationId"` } -// Blueprint properties -type DatasetUpdateRequest struct { - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The associated description - Description *string `json:"description,omitempty"` - // An instruction to include before found records - MatchInstruction *string `json:"matchInstruction,omitempty"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // An instruction to include if no records where found - MismatchInstruction *string `json:"mismatchInstruction,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The total number of tokens to for each record - RecordMaxTokens *float64 `json:"recordMaxTokens,omitempty"` - // The reranker class for the dataset - Reranker *string `json:"reranker,omitempty"` - // The total number of records to return during search - SearchMaxRecords *float64 `json:"searchMaxRecords,omitempty"` - // The total number of tokens to use during search - SearchMaxTokens *float64 `json:"searchMaxTokens,omitempty"` - // The minimum score to filter search results by - SearchMinScore *float64 `json:"searchMinScore,omitempty"` - // A list of separators to use when tokenizing text - Separators *string `json:"separators,omitempty"` - // The dataset visibility - Visibility *DatasetUpdateRequestVisibility `json:"visibility,omitempty"` +type IntegrationTwilioSetupResponse struct { + // The ID of the Twilio Integration + ID string `json:"id"` } -type DatasetUpdateResponse struct { - // The ID of the updated dataset - ID string `json:"id"` +type IntegrationTwilioFetchParams struct { + // The ID of the Twilio integration to retrieve + TwilioIntegrationID string `json:"twilioIntegrationId"` } // Blueprint properties -type DatasetCreateRequest struct { - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The associated description - Description *string `json:"description,omitempty"` - // An instruction to include before found records - MatchInstruction *string `json:"matchInstruction,omitempty"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // An instruction to include if no records where found - MismatchInstruction *string `json:"mismatchInstruction,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The total number of tokens for each record - RecordMaxTokens *float64 `json:"recordMaxTokens,omitempty"` - // The reranker class for the dataset - Reranker *string `json:"reranker,omitempty"` - // The total number of records to return during search - SearchMaxRecords *float64 `json:"searchMaxRecords,omitempty"` - // The total number of tokens to use during search - SearchMaxTokens *float64 `json:"searchMaxTokens,omitempty"` - // The minimum score to filter search results by - SearchMinScore *float64 `json:"searchMinScore,omitempty"` - // A list of separators to use when tokenizing text - Separators *string `json:"separators,omitempty"` - // The storage class for the dataset - Store *string `json:"store,omitempty"` - // The dataset visibility - Visibility *DatasetCreateRequestVisibility `json:"visibility,omitempty"` +type IntegrationTwilioFetchResponse struct { + // The Twilio account SID + AccountSid *string `json:"accountSid,omitempty"` + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // Newline-or-comma-separated list of allowed senders + AllowFrom *string `json:"allowFrom,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The ID of the bot this configuration is using + BotID *string `json:"botId,omitempty"` + // Weather to collect contacts + ContactCollection *bool `json:"contactCollection,omitempty"` + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description *string `json:"description,omitempty"` + // The instance ID + ID string `json:"id"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The session duration (in milliseconds) + SessionDuration *float64 `json:"sessionDuration,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` + // The voice configuration structured string + Voice *string `json:"voice,omitempty"` } -type DatasetCreateResponse struct { - // The ID of the created dataset - ID string `json:"id"` +type IntegrationTwilioDeleteParams struct { + // The ID of the Twilio integration + TwilioIntegrationID string `json:"twilioIntegrationId"` } -type DatasetListParams struct { - // The cursor to use for pagination - Cursor *string `json:"cursor,omitempty"` - // Key-value pairs to filter the partner users by metadata - Meta map[string]string `json:"meta,omitempty"` - // The order of the paginated items - Order *DatasetListParamsOrder `json:"order,omitempty"` - // The number of items to retrieve - Take *int64 `json:"take,omitempty"` +type IntegrationTwilioDeleteResponse struct { + // The ID of the deleted Twilio integration + ID string `json:"id"` } -type DatasetListResponse struct { - // Cursor for fetching the next page - Cursor string `json:"cursor"` - Items []DatasetListResponseItem `json:"items"` +type TriggerIntegrationListParams struct { + // The cursor to use for pagination + Cursor *string `json:"cursor,omitempty"` + // Key-value pairs to filter the items by metadata + Meta map[string]string `json:"meta,omitempty"` + // The order of the paginated items + Order *TriggerIntegrationListParamsOrder `json:"order,omitempty"` + // The number of items to retrieve + Take *int64 `json:"take,omitempty"` } -// Blueprint properties -type DatasetListResponseItem struct { - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description *string `json:"description,omitempty"` - // The instance ID - ID string `json:"id"` - // An instruction to include before found records - MatchInstruction *string `json:"matchInstruction,omitempty"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // An instruction to include if no records where found - MismatchInstruction *string `json:"mismatchInstruction,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The total number of tokens for each record - RecordMaxTokens *float64 `json:"recordMaxTokens,omitempty"` - // The reranker class for the dataset - Reranker *string `json:"reranker,omitempty"` - // The total number of records to return during search - SearchMaxRecords *float64 `json:"searchMaxRecords,omitempty"` - // The total number of tokens to use during search - SearchMaxTokens *float64 `json:"searchMaxTokens,omitempty"` - // The minimum score to filter search results by - SearchMinScore *float64 `json:"searchMinScore,omitempty"` - // A list of separators to use when tokenizing text - Separators *string `json:"separators,omitempty"` - // The storage class for the dataset - Store string `json:"store"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` - // The dataset visibility - Visibility *HilariousVisibility `json:"visibility,omitempty"` +type TriggerIntegrationListResponse struct { + // Cursor for fetching the next page + Cursor string `json:"cursor"` + Items []TriggerIntegrationListResponseItem `json:"items"` } -type DatasetListStreamItem struct { - // Blueprint properties - Data DatasetListStreamItemData `json:"data"` - // The type of event - Type DatasetListStreamItemType `json:"type"` +// A bot configuration that can be applied without a dedicated bot instance. +type TriggerIntegrationListResponseItem struct { + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // When enabled the integration requires authentication + Authenticate *bool `json:"authenticate,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The ID of the bot this configuration is using + BotID *string `json:"botId,omitempty"` + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description *string `json:"description,omitempty"` + // The instance ID + ID string `json:"id"` + // The timestamp (ms) of the last trigger execution + LastTriggerAt *float64 `json:"lastTriggerAt,omitempty"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The timestamp (ms) of the next scheduled trigger execution + NextTriggerAt *float64 `json:"nextTriggerAt,omitempty"` + // The schedule for the trigger integration (interval, cron expression, ISO date, or null) + Schedule *string `json:"schedule,omitempty"` + // The Trigger integration secret (returned in clear to the owner - it is the value the + // calling system must present) + Secret string `json:"secret"` + // The session duration (in milliseconds) + SessionDuration *float64 `json:"sessionDuration,omitempty"` + // The IANA timezone identifier used to evaluate the trigger schedule. + Timezone *string `json:"timezone,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` } -// Blueprint properties -type DatasetListStreamItemData struct { - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description *string `json:"description,omitempty"` - // The instance ID - ID string `json:"id"` - // An instruction to include before found records - MatchInstruction *string `json:"matchInstruction,omitempty"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // An instruction to include if no records where found - MismatchInstruction *string `json:"mismatchInstruction,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The total number of tokens for each record - RecordMaxTokens *float64 `json:"recordMaxTokens,omitempty"` - // The reranker class for the dataset - Reranker *string `json:"reranker,omitempty"` - // The total number of records to return during search - SearchMaxRecords *float64 `json:"searchMaxRecords,omitempty"` - // The total number of tokens to use during search - SearchMaxTokens *float64 `json:"searchMaxTokens,omitempty"` - // The minimum score to filter search results by - SearchMinScore *float64 `json:"searchMinScore,omitempty"` - // A list of separators to use when tokenizing text - Separators *string `json:"separators,omitempty"` - // The storage class for the dataset - Store string `json:"store"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` - // The dataset visibility - Visibility *AmbitiousVisibility `json:"visibility,omitempty"` +type TriggerIntegrationListStreamItem struct { + // A bot configuration that can be applied without a dedicated bot instance. + Data TriggerIntegrationListStreamItemData `json:"data"` + // The type of event + Type TriggerIntegrationListStreamItemType `json:"type"` } -type EventLogsExportParams struct { - // The cursor to use for pagination - Cursor *string `json:"cursor,omitempty"` - // Key-value pairs to filter the partner users by metadata - Meta map[string]string `json:"meta,omitempty"` - // The order of the paginated items - Order *EventLogsExportParamsOrder `json:"order,omitempty"` - // The number of items to retrieve - Take *int64 `json:"take,omitempty"` +// A bot configuration that can be applied without a dedicated bot instance. +type TriggerIntegrationListStreamItemData struct { + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // When enabled the integration requires authentication + Authenticate *bool `json:"authenticate,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The ID of the bot this configuration is using + BotID *string `json:"botId,omitempty"` + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description *string `json:"description,omitempty"` + // The instance ID + ID string `json:"id"` + // The timestamp (ms) of the last trigger execution + LastTriggerAt *float64 `json:"lastTriggerAt,omitempty"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The timestamp (ms) of the next scheduled trigger execution + NextTriggerAt *float64 `json:"nextTriggerAt,omitempty"` + // The schedule for the trigger integration (interval, cron expression, ISO date, or null) + Schedule *string `json:"schedule,omitempty"` + // The Trigger integration secret (returned in clear to the owner - it is the value the + // calling system must present) + Secret string `json:"secret"` + // The session duration (in milliseconds) + SessionDuration *float64 `json:"sessionDuration,omitempty"` + // The IANA timezone identifier used to evaluate the trigger schedule. + Timezone *string `json:"timezone,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` } -type EventLogsExportResponse struct { - // Cursor for fetching the next page - Cursor string `json:"cursor"` - Items []EventLogsExportResponseItem `json:"items"` +// A bot configuration that can be applied without a dedicated bot instance. +type TriggerIntegrationCreateRequest struct { + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // When enabled the integration requires authentication + Authenticate *bool `json:"authenticate,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The ID of the bot this configuration is using + BotID *string `json:"botId,omitempty"` + // The associated description + Description *string `json:"description,omitempty"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The schedule for the trigger integration (interval, cron expression, or ISO date) + Schedule *string `json:"schedule,omitempty"` + // The session duration (in milliseconds) + SessionDuration *float64 `json:"sessionDuration,omitempty"` + // An optional IANA timezone identifier used when evaluating the trigger schedule. + Timezone *string `json:"timezone,omitempty"` } -// Instance list properties -type EventLogsExportResponseItem struct { - // Related ability ID if applicable - AbilityID *string `json:"abilityId,omitempty"` - // Related blueprint ID if applicable - BlueprintID *string `json:"blueprintId,omitempty"` - // Related bot ID if applicable - BotID *string `json:"botId,omitempty"` - // Related contact ID if applicable - ContactID *string `json:"contactId,omitempty"` - // Related conversation ID if applicable - ConversationID *string `json:"conversationId,omitempty"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // Related dataset ID if applicable - DatasetID *string `json:"datasetId,omitempty"` - // The associated description - Description *string `json:"description,omitempty"` - // Related Discord integration ID if applicable - DiscordIntegrationID *string `json:"discordIntegrationId,omitempty"` - // Related email integration ID if applicable - EmailIntegrationID *string `json:"emailIntegrationId,omitempty"` - // Related extract integration ID if applicable - ExtractIntegrationID *string `json:"extractIntegrationId,omitempty"` - // Related file ID if applicable - FileID *string `json:"fileId,omitempty"` - // Related Google Chat integration ID if applicable - GooglechatIntegrationID *string `json:"googlechatIntegrationId,omitempty"` - // The instance ID - ID string `json:"id"` - // Related MCP server integration ID if applicable - McpserverIntegrationID *string `json:"mcpserverIntegrationId,omitempty"` - // Related Messenger integration ID if applicable - MessengerIntegrationID *string `json:"messengerIntegrationId,omitempty"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // Related Microsoft Teams integration ID if applicable - MicrosoftteamsIntegrationID *string `json:"microsoftteamsIntegrationId,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // Related Notion integration ID if applicable - NotionIntegrationID *string `json:"notionIntegrationId,omitempty"` - // Related portal ID if applicable - PortalID *string `json:"portalId,omitempty"` - // Related record ID if applicable - RecordID *string `json:"recordId,omitempty"` - // Related secret ID if applicable - SecretID *string `json:"secretId,omitempty"` - // Related sitemap integration ID if applicable - SitemapIntegrationID *string `json:"sitemapIntegrationId,omitempty"` - // Related skillset ID if applicable - SkillsetID *string `json:"skillsetId,omitempty"` - // Related Slack integration ID if applicable - SlackIntegrationID *string `json:"slackIntegrationId,omitempty"` - // Related support integration ID if applicable - SupportIntegrationID *string `json:"supportIntegrationId,omitempty"` - // Related task ID if applicable - TaskID *string `json:"taskId,omitempty"` - // Related Telegram integration ID if applicable - TelegramIntegrationID *string `json:"telegramIntegrationId,omitempty"` - // Related trigger integration ID if applicable - TriggerIntegrationID *string `json:"triggerIntegrationId,omitempty"` - // Related Twilio integration ID if applicable - TwilioIntegrationID *string `json:"twilioIntegrationId,omitempty"` - // The type of event (e.g., 'conversation.create') - Type string `json:"type"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` - // Related webhook ID if applicable - WebhookID *string `json:"webhookId,omitempty"` - // Related WhatsApp integration ID if applicable - WhatsappIntegrationID *string `json:"whatsappIntegrationId,omitempty"` - // Related widget integration ID if applicable - WidgetIntegrationID *string `json:"widgetIntegrationId,omitempty"` +type TriggerIntegrationCreateResponse struct { + // The ID of the Trigger Integration + ID string `json:"id"` } -type EventLogsExportStreamItem struct { - // Instance list properties - Data EventLogsExportStreamItemData `json:"data"` - // The type of event - Type EventLogsExportStreamItemType `json:"type"` +type TriggerIntegrationUpdateParams struct { + // The ID of the Trigger integration + TriggerIntegrationID string `json:"triggerIntegrationId"` } -// Instance list properties -type EventLogsExportStreamItemData struct { - // Related ability ID if applicable - AbilityID *string `json:"abilityId,omitempty"` - // Related blueprint ID if applicable - BlueprintID *string `json:"blueprintId,omitempty"` - // Related bot ID if applicable - BotID *string `json:"botId,omitempty"` - // Related contact ID if applicable - ContactID *string `json:"contactId,omitempty"` - // Related conversation ID if applicable - ConversationID *string `json:"conversationId,omitempty"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // Related dataset ID if applicable - DatasetID *string `json:"datasetId,omitempty"` - // The associated description - Description *string `json:"description,omitempty"` - // Related Discord integration ID if applicable - DiscordIntegrationID *string `json:"discordIntegrationId,omitempty"` - // Related email integration ID if applicable - EmailIntegrationID *string `json:"emailIntegrationId,omitempty"` - // Related extract integration ID if applicable - ExtractIntegrationID *string `json:"extractIntegrationId,omitempty"` - // Related file ID if applicable - FileID *string `json:"fileId,omitempty"` - // Related Google Chat integration ID if applicable - GooglechatIntegrationID *string `json:"googlechatIntegrationId,omitempty"` - // The instance ID - ID string `json:"id"` - // Related MCP server integration ID if applicable - McpserverIntegrationID *string `json:"mcpserverIntegrationId,omitempty"` - // Related Messenger integration ID if applicable - MessengerIntegrationID *string `json:"messengerIntegrationId,omitempty"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // Related Microsoft Teams integration ID if applicable - MicrosoftteamsIntegrationID *string `json:"microsoftteamsIntegrationId,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // Related Notion integration ID if applicable - NotionIntegrationID *string `json:"notionIntegrationId,omitempty"` - // Related portal ID if applicable - PortalID *string `json:"portalId,omitempty"` - // Related record ID if applicable - RecordID *string `json:"recordId,omitempty"` - // Related secret ID if applicable - SecretID *string `json:"secretId,omitempty"` - // Related sitemap integration ID if applicable - SitemapIntegrationID *string `json:"sitemapIntegrationId,omitempty"` - // Related skillset ID if applicable - SkillsetID *string `json:"skillsetId,omitempty"` - // Related Slack integration ID if applicable - SlackIntegrationID *string `json:"slackIntegrationId,omitempty"` - // Related support integration ID if applicable - SupportIntegrationID *string `json:"supportIntegrationId,omitempty"` - // Related task ID if applicable - TaskID *string `json:"taskId,omitempty"` - // Related Telegram integration ID if applicable - TelegramIntegrationID *string `json:"telegramIntegrationId,omitempty"` - // Related trigger integration ID if applicable - TriggerIntegrationID *string `json:"triggerIntegrationId,omitempty"` - // Related Twilio integration ID if applicable - TwilioIntegrationID *string `json:"twilioIntegrationId,omitempty"` - // The type of event (e.g., 'conversation.create') - Type string `json:"type"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` - // Related webhook ID if applicable - WebhookID *string `json:"webhookId,omitempty"` - // Related WhatsApp integration ID if applicable - WhatsappIntegrationID *string `json:"whatsappIntegrationId,omitempty"` - // Related widget integration ID if applicable - WidgetIntegrationID *string `json:"widgetIntegrationId,omitempty"` +// A bot configuration that can be applied without a dedicated bot instance. +type TriggerIntegrationUpdateRequest struct { + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // When enabled the integration requires authentication + Authenticate *bool `json:"authenticate,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The ID of the bot this configuration is using + BotID *string `json:"botId,omitempty"` + // The associated description + Description *string `json:"description,omitempty"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The schedule for the trigger integration (interval, cron expression, or ISO date) + Schedule *string `json:"schedule,omitempty"` + // The session duration (in milliseconds) + SessionDuration *float64 `json:"sessionDuration,omitempty"` + // An optional IANA timezone identifier used when evaluating the trigger schedule. + Timezone *string `json:"timezone,omitempty"` } -type EventLogListParams struct { - // The cursor to use for pagination - Cursor *string `json:"cursor,omitempty"` - // Key-value pairs to filter the partner users by metadata - Meta map[string]string `json:"meta,omitempty"` - // The order of the paginated items - Order *EventLogListParamsOrder `json:"order,omitempty"` - // The number of items to retrieve - Take *int64 `json:"take,omitempty"` +type TriggerIntegrationUpdateResponse struct { + // The ID of the Trigger Integration + ID string `json:"id"` } -type EventLogListResponse struct { - // Cursor for fetching the next page - Cursor string `json:"cursor"` - Items []EventLogListResponseItem `json:"items"` +type TriggerIntegrationSetupParams struct { + // The ID of the Trigger integration + TriggerIntegrationID string `json:"triggerIntegrationId"` } -// Instance list properties -type EventLogListResponseItem struct { - // Related ability ID if applicable - AbilityID *string `json:"abilityId,omitempty"` - // Related blueprint ID if applicable - BlueprintID *string `json:"blueprintId,omitempty"` - // Related bot ID if applicable - BotID *string `json:"botId,omitempty"` - // Related contact ID if applicable - ContactID *string `json:"contactId,omitempty"` - // Related conversation ID if applicable - ConversationID *string `json:"conversationId,omitempty"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // Related dataset ID if applicable - DatasetID *string `json:"datasetId,omitempty"` - // The associated description - Description *string `json:"description,omitempty"` - // Related Discord integration ID if applicable - DiscordIntegrationID *string `json:"discordIntegrationId,omitempty"` - // Related email integration ID if applicable - EmailIntegrationID *string `json:"emailIntegrationId,omitempty"` - // Related extract integration ID if applicable - ExtractIntegrationID *string `json:"extractIntegrationId,omitempty"` - // Related file ID if applicable - FileID *string `json:"fileId,omitempty"` - // Related Google Chat integration ID if applicable - GooglechatIntegrationID *string `json:"googlechatIntegrationId,omitempty"` - // The instance ID - ID string `json:"id"` - // Related MCP server integration ID if applicable - McpserverIntegrationID *string `json:"mcpserverIntegrationId,omitempty"` - // Related Messenger integration ID if applicable - MessengerIntegrationID *string `json:"messengerIntegrationId,omitempty"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // Related Microsoft Teams integration ID if applicable - MicrosoftteamsIntegrationID *string `json:"microsoftteamsIntegrationId,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // Related Notion integration ID if applicable - NotionIntegrationID *string `json:"notionIntegrationId,omitempty"` - // Related portal ID if applicable - PortalID *string `json:"portalId,omitempty"` - // Related record ID if applicable - RecordID *string `json:"recordId,omitempty"` - // Related secret ID if applicable - SecretID *string `json:"secretId,omitempty"` - // Related sitemap integration ID if applicable - SitemapIntegrationID *string `json:"sitemapIntegrationId,omitempty"` - // Related skillset ID if applicable - SkillsetID *string `json:"skillsetId,omitempty"` - // Related Slack integration ID if applicable - SlackIntegrationID *string `json:"slackIntegrationId,omitempty"` - // Related support integration ID if applicable - SupportIntegrationID *string `json:"supportIntegrationId,omitempty"` - // Related task ID if applicable - TaskID *string `json:"taskId,omitempty"` - // Related Telegram integration ID if applicable - TelegramIntegrationID *string `json:"telegramIntegrationId,omitempty"` - // Related trigger integration ID if applicable - TriggerIntegrationID *string `json:"triggerIntegrationId,omitempty"` - // Related Twilio integration ID if applicable - TwilioIntegrationID *string `json:"twilioIntegrationId,omitempty"` - // The type of event (e.g., 'conversation.create') - Type string `json:"type"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` - // Related webhook ID if applicable - WebhookID *string `json:"webhookId,omitempty"` - // Related WhatsApp integration ID if applicable - WhatsappIntegrationID *string `json:"whatsappIntegrationId,omitempty"` - // Related widget integration ID if applicable - WidgetIntegrationID *string `json:"widgetIntegrationId,omitempty"` +type TriggerIntegrationSetupResponse struct { + // The ID of the Trigger Integration + ID string `json:"id"` } -type EventLogListStreamItem struct { - // Instance list properties - Data EventLogListStreamItemData `json:"data"` - // The type of event - Type EventLogListStreamItemType `json:"type"` +type TriggerIntegrationInvokeParams struct { + // The ID of the Trigger integration + TriggerIntegrationID string `json:"triggerIntegrationId"` } -// Instance list properties -type EventLogListStreamItemData struct { - // Related ability ID if applicable - AbilityID *string `json:"abilityId,omitempty"` - // Related blueprint ID if applicable - BlueprintID *string `json:"blueprintId,omitempty"` - // Related bot ID if applicable - BotID *string `json:"botId,omitempty"` - // Related contact ID if applicable - ContactID *string `json:"contactId,omitempty"` - // Related conversation ID if applicable - ConversationID *string `json:"conversationId,omitempty"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // Related dataset ID if applicable - DatasetID *string `json:"datasetId,omitempty"` - // The associated description - Description *string `json:"description,omitempty"` - // Related Discord integration ID if applicable - DiscordIntegrationID *string `json:"discordIntegrationId,omitempty"` - // Related email integration ID if applicable - EmailIntegrationID *string `json:"emailIntegrationId,omitempty"` - // Related extract integration ID if applicable - ExtractIntegrationID *string `json:"extractIntegrationId,omitempty"` - // Related file ID if applicable - FileID *string `json:"fileId,omitempty"` - // Related Google Chat integration ID if applicable - GooglechatIntegrationID *string `json:"googlechatIntegrationId,omitempty"` - // The instance ID - ID string `json:"id"` - // Related MCP server integration ID if applicable - McpserverIntegrationID *string `json:"mcpserverIntegrationId,omitempty"` - // Related Messenger integration ID if applicable - MessengerIntegrationID *string `json:"messengerIntegrationId,omitempty"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // Related Microsoft Teams integration ID if applicable - MicrosoftteamsIntegrationID *string `json:"microsoftteamsIntegrationId,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // Related Notion integration ID if applicable - NotionIntegrationID *string `json:"notionIntegrationId,omitempty"` - // Related portal ID if applicable - PortalID *string `json:"portalId,omitempty"` - // Related record ID if applicable - RecordID *string `json:"recordId,omitempty"` - // Related secret ID if applicable - SecretID *string `json:"secretId,omitempty"` - // Related sitemap integration ID if applicable - SitemapIntegrationID *string `json:"sitemapIntegrationId,omitempty"` - // Related skillset ID if applicable - SkillsetID *string `json:"skillsetId,omitempty"` - // Related Slack integration ID if applicable - SlackIntegrationID *string `json:"slackIntegrationId,omitempty"` - // Related support integration ID if applicable - SupportIntegrationID *string `json:"supportIntegrationId,omitempty"` - // Related task ID if applicable - TaskID *string `json:"taskId,omitempty"` - // Related Telegram integration ID if applicable - TelegramIntegrationID *string `json:"telegramIntegrationId,omitempty"` - // Related trigger integration ID if applicable - TriggerIntegrationID *string `json:"triggerIntegrationId,omitempty"` - // Related Twilio integration ID if applicable - TwilioIntegrationID *string `json:"twilioIntegrationId,omitempty"` - // The type of event (e.g., 'conversation.create') - Type string `json:"type"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` - // Related webhook ID if applicable - WebhookID *string `json:"webhookId,omitempty"` - // Related WhatsApp integration ID if applicable - WhatsappIntegrationID *string `json:"whatsappIntegrationId,omitempty"` - // Related widget integration ID if applicable - WidgetIntegrationID *string `json:"widgetIntegrationId,omitempty"` +type TriggerIntegrationInvokeResponse struct { + // The ID of the trigged Trigger integration + ID string `json:"id"` } -type EventLogsSubscribeRequest struct { - // Number of recent historical events to replay before - // subscribing to live updates. When provided, the subscriber - // will first receive up to this many recent events that were - // logged before the subscription started. This is useful for - // catching up on events that may have occurred during - // connection setup. - HistoryLength *int64 `json:"historyLength,omitempty"` +type TriggerIntegrationFetchParams struct { + // The ID of the Trigger integration to retrieve + TriggerIntegrationID string `json:"triggerIntegrationId"` } -type EventLogsSubscribeStreamItem struct { - // Instance list properties - Data EventLogsSubscribeStreamItemData `json:"data"` - // The type of event - Type EventLogsSubscribeStreamItemType `json:"type"` +// A bot configuration that can be applied without a dedicated bot instance. +type TriggerIntegrationFetchResponse struct { + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // When enabled the integration requires authentication + Authenticate *bool `json:"authenticate,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The ID of the bot this configuration is using + BotID *string `json:"botId,omitempty"` + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description *string `json:"description,omitempty"` + // The instance ID + ID string `json:"id"` + // The timestamp (ms) of the last trigger execution + LastTriggerAt *float64 `json:"lastTriggerAt,omitempty"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The timestamp (ms) of the next scheduled trigger execution + NextTriggerAt *float64 `json:"nextTriggerAt,omitempty"` + // The schedule for the trigger integration (interval, cron expression, ISO date, or null) + Schedule *string `json:"schedule,omitempty"` + // The Trigger integration secret (returned in clear to the owner - it is the value the + // calling system must present) + Secret string `json:"secret"` + // The session duration (in milliseconds) + SessionDuration *float64 `json:"sessionDuration,omitempty"` + // The IANA timezone identifier used to evaluate the trigger schedule. + Timezone *string `json:"timezone,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` } -// Instance list properties -type EventLogsSubscribeStreamItemData struct { - // Related ability ID if applicable - AbilityID *string `json:"abilityId,omitempty"` - // Related blueprint ID if applicable - BlueprintID *string `json:"blueprintId,omitempty"` - // Related bot ID if applicable - BotID *string `json:"botId,omitempty"` - // Related contact ID if applicable - ContactID *string `json:"contactId,omitempty"` - // Related conversation ID if applicable - ConversationID *string `json:"conversationId,omitempty"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // Related dataset ID if applicable - DatasetID *string `json:"datasetId,omitempty"` - // The associated description - Description *string `json:"description,omitempty"` - // Related Discord integration ID if applicable - DiscordIntegrationID *string `json:"discordIntegrationId,omitempty"` - // Related email integration ID if applicable - EmailIntegrationID *string `json:"emailIntegrationId,omitempty"` - // Related extract integration ID if applicable - ExtractIntegrationID *string `json:"extractIntegrationId,omitempty"` - // Related file ID if applicable - FileID *string `json:"fileId,omitempty"` - // Related Google Chat integration ID if applicable - GooglechatIntegrationID *string `json:"googlechatIntegrationId,omitempty"` - // The instance ID - ID string `json:"id"` - // Related MCP server integration ID if applicable - McpserverIntegrationID *string `json:"mcpserverIntegrationId,omitempty"` - // Related Messenger integration ID if applicable - MessengerIntegrationID *string `json:"messengerIntegrationId,omitempty"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // Related Microsoft Teams integration ID if applicable - MicrosoftteamsIntegrationID *string `json:"microsoftteamsIntegrationId,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // Related Notion integration ID if applicable - NotionIntegrationID *string `json:"notionIntegrationId,omitempty"` - // Related portal ID if applicable - PortalID *string `json:"portalId,omitempty"` - // Related record ID if applicable - RecordID *string `json:"recordId,omitempty"` - // Related secret ID if applicable - SecretID *string `json:"secretId,omitempty"` - // Related sitemap integration ID if applicable - SitemapIntegrationID *string `json:"sitemapIntegrationId,omitempty"` - // Related skillset ID if applicable - SkillsetID *string `json:"skillsetId,omitempty"` - // Related Slack integration ID if applicable - SlackIntegrationID *string `json:"slackIntegrationId,omitempty"` - // Related support integration ID if applicable - SupportIntegrationID *string `json:"supportIntegrationId,omitempty"` - // Related task ID if applicable - TaskID *string `json:"taskId,omitempty"` - // Related Telegram integration ID if applicable - TelegramIntegrationID *string `json:"telegramIntegrationId,omitempty"` - // Related trigger integration ID if applicable - TriggerIntegrationID *string `json:"triggerIntegrationId,omitempty"` - // Related Twilio integration ID if applicable - TwilioIntegrationID *string `json:"twilioIntegrationId,omitempty"` - // The type of event (e.g., 'conversation.create') - Type string `json:"type"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` - // Related webhook ID if applicable - WebhookID *string `json:"webhookId,omitempty"` - // Related WhatsApp integration ID if applicable - WhatsappIntegrationID *string `json:"whatsappIntegrationId,omitempty"` - // Related widget integration ID if applicable - WidgetIntegrationID *string `json:"widgetIntegrationId,omitempty"` +type TriggerIntegrationDeleteParams struct { + // The ID of the Trigger integration + TriggerIntegrationID string `json:"triggerIntegrationId"` } -type FileDeleteParams struct { - // The ID of the file to delete - FileID string `json:"fileId"` +type TriggerIntegrationDeleteResponse struct { + // The ID of the deleted Trigger integration + ID string `json:"id"` } -type FileDeleteResponse struct { - // The ID of the deleted file - ID string `json:"id"` +type IntegrationTelegramListParams struct { + // The cursor to use for pagination + Cursor *string `json:"cursor,omitempty"` + // Key-value pairs to filter the items by metadata + Meta map[string]string `json:"meta,omitempty"` + // The order of the paginated items + Order *IntegrationTelegramListParamsOrder `json:"order,omitempty"` + // The number of items to retrieve + Take *int64 `json:"take,omitempty"` } -type FileDownloadParams struct { - // The ID of the file to download - FileID string `json:"fileId"` +type IntegrationTelegramListResponse struct { + // Cursor for fetching the next page + Cursor string `json:"cursor"` + Items []IntegrationTelegramListResponseItem `json:"items"` } -type FileDownloadResponse struct { - // The URL to download the file - URL string `json:"url"` +// Blueprint properties +type IntegrationTelegramListResponseItem struct { + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // Newline-or-comma-separated list of allowed senders. Use @username or @numericId for users, + AllowFrom *string `json:"allowFrom,omitempty"` + // Weather the bot supports attachments + Attachments *bool `json:"attachments,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The ID of the bot this configuration is using + BotID *string `json:"botId,omitempty"` + // Weather to collect contacts + ContactCollection *bool `json:"contactCollection,omitempty"` + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description *string `json:"description,omitempty"` + // The instance ID + ID string `json:"id"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The session duration (in milliseconds) + SessionDuration *float64 `json:"sessionDuration,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` } -type FileFetchParams struct { - // The ID of the file to retrieve - FileID string `json:"fileId"` +type IntegrationTelegramListStreamItem struct { + // Blueprint properties + Data IntegrationTelegramListStreamItemData `json:"data"` + // The type of event + Type IntegrationTelegramListStreamItemType `json:"type"` } // Blueprint properties -type FileFetchResponse struct { - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description *string `json:"description,omitempty"` - // The instance ID - ID string `json:"id"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` - // The file visibility - Visibility *FileFetchResponseVisibility `json:"visibility,omitempty"` +type IntegrationTelegramListStreamItemData struct { + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // Newline-or-comma-separated list of allowed senders. Use @username or @numericId for users, + AllowFrom *string `json:"allowFrom,omitempty"` + // Weather the bot supports attachments + Attachments *bool `json:"attachments,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The ID of the bot this configuration is using + BotID *string `json:"botId,omitempty"` + // Weather to collect contacts + ContactCollection *bool `json:"contactCollection,omitempty"` + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description *string `json:"description,omitempty"` + // The instance ID + ID string `json:"id"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The session duration (in milliseconds) + SessionDuration *float64 `json:"sessionDuration,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` } -type FileSyncParams struct { - // The ID of the file to sync - FileID string `json:"fileId"` +// A bot configuration that can be applied without a dedicated bot instance. +type IntegrationTelegramCreateRequest struct { + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // Newline-or-comma-separated list of allowed senders. Use @username or @numericId for users, + AllowFrom *string `json:"allowFrom,omitempty"` + // Weather the bot supports attachments + Attachments *bool `json:"attachments,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The ID of the bot this configuration is using + BotID *string `json:"botId,omitempty"` + // The Telegram integration bot token + BotToken *string `json:"botToken,omitempty"` + // Weather to collect contacts + ContactCollection *bool `json:"contactCollection,omitempty"` + // The associated description + Description *string `json:"description,omitempty"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The session duration (in milliseconds) + SessionDuration *float64 `json:"sessionDuration,omitempty"` } -type FileSyncResponse struct { - // The ID of the file - ID string `json:"id"` +type IntegrationTelegramCreateResponse struct { + // The ID of the Telegram Integration + ID string `json:"id"` } -type FileUpdateParams struct { - FileID string `json:"fileId"` +type IntegrationTelegramUpdateParams struct { + // The ID of the Telegram integration + TelegramIntegrationID string `json:"telegramIntegrationId"` } -// Blueprint properties -type FileUpdateRequest struct { - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The associated description - Description *string `json:"description,omitempty"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The file visibility - Visibility *FileUpdateRequestVisibility `json:"visibility,omitempty"` +// A bot configuration that can be applied without a dedicated bot instance. +type IntegrationTelegramUpdateRequest struct { + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // Newline-or-comma-separated list of allowed senders. Use @username or @numericId for users, + AllowFrom *string `json:"allowFrom,omitempty"` + // Weather the bot supports attachments + Attachments *bool `json:"attachments,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The ID of the bot this configuration is using + BotID *string `json:"botId,omitempty"` + // The Telegram integration bot token + BotToken *string `json:"botToken,omitempty"` + // Weather to collect contacts + ContactCollection *bool `json:"contactCollection,omitempty"` + // The associated description + Description *string `json:"description,omitempty"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The session duration (in milliseconds) + SessionDuration *float64 `json:"sessionDuration,omitempty"` } -type FileUpdateResponse struct { - // The ID of the updated file - ID string `json:"id"` +type IntegrationTelegramUpdateResponse struct { + // The ID of the Telegram Integration + ID string `json:"id"` } -type FileUploadParams struct { - FileID string `json:"fileId"` +type IntegrationTelegramSetupParams struct { + // The ID of the Telegram integration + TelegramIntegrationID string `json:"telegramIntegrationId"` } -type FileUploadRequest struct { - // The file to upload either as http: or data: URL - // - // The file definition to upload - File *FileUploadRequestFile `json:"file"` +type IntegrationTelegramSetupResponse struct { + // The ID of the Telegram Integration + ID string `json:"id"` } -// The file definition to upload -type FluffyFile struct { - // The file name - Name *string `json:"name,omitempty"` - // The file size - Size float64 `json:"size"` - // The file type - Type string `json:"type"` +type IntegrationTelegramFetchParams struct { + // The ID of the Telegram integration to retrieve + TelegramIntegrationID string `json:"telegramIntegrationId"` } -type FileUploadResponse struct { - // The ID of the upload file - ID string `json:"id"` - // The request required to upload the file - UploadRequest *FileUploadResponseUploadRequest `json:"uploadRequest,omitempty"` +// Blueprint properties +type IntegrationTelegramFetchResponse struct { + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // Newline-or-comma-separated list of allowed senders + AllowFrom *string `json:"allowFrom,omitempty"` + // Weather the bot supports attachments + Attachments *bool `json:"attachments,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The ID of the bot this configuration is using + BotID *string `json:"botId,omitempty"` + // Weather to collect contacts + ContactCollection *bool `json:"contactCollection,omitempty"` + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description *string `json:"description,omitempty"` + // The instance ID + ID string `json:"id"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The session duration (in milliseconds) + SessionDuration *float64 `json:"sessionDuration,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` } -// The request required to upload the file -type FileUploadResponseUploadRequest struct { - // The HTTP headers to use - Headers map[string]interface{} `json:"headers"` - // The HTTP method to use - Method string `json:"method"` - // The HTTP url to use - URL string `json:"url"` +type IntegrationTelegramDeleteParams struct { + // The ID of the Telegram integration + TelegramIntegrationID string `json:"telegramIntegrationId"` } -// Blueprint properties -type FileCreateRequest struct { - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The associated description - Description *string `json:"description,omitempty"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The file visibility - Visibility *FileCreateRequestVisibility `json:"visibility,omitempty"` +type IntegrationTelegramDeleteResponse struct { + // The ID of the deleted Telegram integration + ID string `json:"id"` } -type FileCreateResponse struct { - // The ID of the created file - ID string `json:"id"` +type IntegrationSupportListParams struct { + // The cursor to use for pagination + Cursor *string `json:"cursor,omitempty"` + // Key-value pairs to filter the items by metadata + Meta map[string]string `json:"meta,omitempty"` + // The order of the paginated items + Order *IntegrationSupportListParamsOrder `json:"order,omitempty"` + // The number of items to retrieve + Take *int64 `json:"take,omitempty"` } -type FileListParams struct { - // The cursor to use for pagination - Cursor *string `json:"cursor,omitempty"` - // Key-value pairs to filter the partner users by metadata - Meta map[string]string `json:"meta,omitempty"` - // The order of the paginated items - Order *FileListParamsOrder `json:"order,omitempty"` - // The number of items to retrieve - Take *int64 `json:"take,omitempty"` +type IntegrationSupportListResponse struct { + // Cursor for fetching the next page + Cursor string `json:"cursor"` + Items []IntegrationSupportListResponseItem `json:"items"` } -type FileListResponse struct { - // Cursor for fetching the next page - Cursor string `json:"cursor"` - Items []FileListResponseItem `json:"items"` +// A bot configuration that can be applied without a dedicated bot instance. +type IntegrationSupportListResponseItem struct { + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The ID of the bot this configuration is using + BotID string `json:"botId"` + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description *string `json:"description,omitempty"` + // The email to use + Email *string `json:"email,omitempty"` + // The instance ID + ID string `json:"id"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` } -// Blueprint properties -type FileListResponseItem struct { - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description *string `json:"description,omitempty"` - // The instance ID - ID string `json:"id"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` - // The file visibility - Visibility *CunningVisibility `json:"visibility,omitempty"` +type IntegrationSupportListStreamItem struct { + // A bot configuration that can be applied without a dedicated bot instance. + Data IntegrationSupportListStreamItemData `json:"data"` + // The type of event + Type IntegrationSupportListStreamItemType `json:"type"` } -type FileListStreamItem struct { - // Blueprint properties - Data FileListStreamItemData `json:"data"` - // The type of event - Type FileListStreamItemType `json:"type"` +// A bot configuration that can be applied without a dedicated bot instance. +type IntegrationSupportListStreamItemData struct { + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The ID of the bot this configuration is using + BotID string `json:"botId"` + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description *string `json:"description,omitempty"` + // The email to use + Email *string `json:"email,omitempty"` + // The instance ID + ID string `json:"id"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` } -// Blueprint properties -type FileListStreamItemData struct { - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description *string `json:"description,omitempty"` - // The instance ID - ID string `json:"id"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` - // The file visibility - Visibility *MagentaVisibility `json:"visibility,omitempty"` +// A bot configuration that can be applied without a dedicated bot instance. +type IntegrationSupportCreateRequest struct { + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The ID of the bot this configuration is using + BotID *string `json:"botId,omitempty"` + // The associated description + Description *string `json:"description,omitempty"` + // The email to use + Email *string `json:"email,omitempty"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` } -type IntegrationDiscordDeleteParams struct { - // The ID of the Discord integration - DiscordIntegrationID string `json:"discordIntegrationId"` +type IntegrationSupportCreateResponse struct { + // The ID of the Support Integration + ID string `json:"id"` } -type IntegrationDiscordDeleteResponse struct { - // The ID of the deleted Discord integration - ID string `json:"id"` +type IntegrationSupportUpdateParams struct { + // The ID of the Support integration + SupportIntegrationID string `json:"supportIntegrationId"` } -type IntegrationDiscordFetchParams struct { - // The ID of the Discord integration to retrieve - DiscordIntegrationID string `json:"discordIntegrationId"` +// A bot configuration that can be applied without a dedicated bot instance. +type IntegrationSupportUpdateRequest struct { + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The ID of the bot this configuration is using + BotID *string `json:"botId,omitempty"` + // The associated description + Description *string `json:"description,omitempty"` + // The email to use + Email *string `json:"email,omitempty"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` } -// Blueprint properties -type IntegrationDiscordFetchResponse struct { - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // Restrict which Discord users can interact with this integration. Accepts Discord user IDs - // (17-18 digit snowflakes) or @username, one per line. Use * to allow all senders. Leave - // empty to deny all. - AllowFrom *string `json:"allowFrom,omitempty"` - // The Discord application ID - AppID *string `json:"appId,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The ID of the bot this configuration is using - BotID *string `json:"botId,omitempty"` - // Weather to collect contacts - ContactCollection *bool `json:"contactCollection,omitempty"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description *string `json:"description,omitempty"` - // The Discord command handle - Handle *string `json:"handle,omitempty"` - // The instance ID - ID string `json:"id"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The chat session duration - SessionDuration *float64 `json:"sessionDuration,omitempty"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` +type IntegrationSupportUpdateResponse struct { + // The ID of the Support Integration + ID string `json:"id"` } -type IntegrationDiscordSetupParams struct { - // The ID of the Discord integration - DiscordIntegrationID string `json:"discordIntegrationId"` +type IntegrationSupportTriggerParams struct { + // The ID of the Support integration + SupportIntegrationID string `json:"supportIntegrationId"` } -type IntegrationDiscordSetupResponse struct { - // The ID of the setup Discord integration - ID string `json:"id"` +type IntegrationSupportTriggerRequest struct { + // Array of conversation IDs to process + ConversationIDS []string `json:"conversationIds,omitempty"` + // Number of recent conversations to process (default 20) + Sample *int64 `json:"sample,omitempty"` } -type IntegrationDiscordUpdateParams struct { - // The ID of the Discord integration - DiscordIntegrationID string `json:"discordIntegrationId"` +type IntegrationSupportTriggerResponse struct { + // ID of the support integration + ID string `json:"id"` + // Number of conversations queued for processing + Triggered float64 `json:"triggered"` } -// A bot configuration that can be applied without a dedicated bot instance. -type IntegrationDiscordUpdateRequest struct { - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // Restrict which Discord users can interact with this integration. Accepts Discord user IDs - // (17-18 digit snowflakes) or @username, one per line. Use * to allow all senders. Leave - // empty to deny all. - AllowFrom *string `json:"allowFrom,omitempty"` - // The Discord application ID - AppID *string `json:"appId,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The ID of the bot this configuration is using - BotID *string `json:"botId,omitempty"` - // The Discord bot token - BotToken *string `json:"botToken,omitempty"` - // Weather to collect contacts - ContactCollection *bool `json:"contactCollection,omitempty"` - // The associated description - Description *string `json:"description,omitempty"` - // The Discord command handle - Handle *string `json:"handle,omitempty"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The Discord public key - PublicKey *string `json:"publicKey,omitempty"` - // The chat session duration - SessionDuration *float64 `json:"sessionDuration,omitempty"` +type IntegrationSupportFetchParams struct { + // The ID of the Support integration to retrieve + SupportIntegrationID string `json:"supportIntegrationId"` } -type IntegrationDiscordUpdateResponse struct { - // The ID of the Discord Integration - ID string `json:"id"` +// A bot configuration that can be applied without a dedicated bot instance. +type IntegrationSupportFetchResponse struct { + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The ID of the bot this configuration is using + BotID string `json:"botId"` + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description *string `json:"description,omitempty"` + // The email to use + Email *string `json:"email,omitempty"` + // The instance ID + ID string `json:"id"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` } -// A bot configuration that can be applied without a dedicated bot instance. -type IntegrationDiscordCreateRequest struct { - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // Restrict which Discord users can interact with this integration. Accepts Discord user IDs - // (17-18 digit snowflakes) or @username, one per line. Use * to allow all senders. Leave - // empty to deny all. - AllowFrom *string `json:"allowFrom,omitempty"` - // The Discord application ID - AppID *string `json:"appId,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The ID of the bot this configuration is using - BotID *string `json:"botId,omitempty"` - // The Discord bot token - BotToken *string `json:"botToken,omitempty"` - // Weather to collect contacts - ContactCollection *bool `json:"contactCollection,omitempty"` - // The associated description - Description *string `json:"description,omitempty"` - // The Discord command handle - Handle *string `json:"handle,omitempty"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The Discord public key - PublicKey *string `json:"publicKey,omitempty"` - // The chat session duration - SessionDuration *float64 `json:"sessionDuration,omitempty"` +type IntegrationSupportDeleteParams struct { + // The ID of the Support integration + SupportIntegrationID string `json:"supportIntegrationId"` } -type IntegrationDiscordCreateResponse struct { - // The ID of the Discord Integration - ID string `json:"id"` +type IntegrationSupportDeleteResponse struct { + // The ID of the deleted Support integration + ID string `json:"id"` } -type IntegrationDiscordListParams struct { - // The cursor to use for pagination - Cursor *string `json:"cursor,omitempty"` - // Key-value pairs to filter the partner users by metadata - Meta map[string]string `json:"meta,omitempty"` - // The order of the paginated items - Order *IntegrationDiscordListParamsOrder `json:"order,omitempty"` - // The number of items to retrieve - Take *int64 `json:"take,omitempty"` +type IntegrationSlackListParams struct { + // The cursor to use for pagination + Cursor *string `json:"cursor,omitempty"` + // Key-value pairs to filter the items by metadata + Meta map[string]string `json:"meta,omitempty"` + // The order of the paginated items + Order *IntegrationSlackListParamsOrder `json:"order,omitempty"` + // The number of items to retrieve + Take *int64 `json:"take,omitempty"` } -type IntegrationDiscordListResponse struct { - // Cursor for fetching the next page - Cursor string `json:"cursor"` - Items []IntegrationDiscordListResponseItem `json:"items"` +type IntegrationSlackListResponse struct { + // Cursor for fetching the next page + Cursor string `json:"cursor"` + Items []IntegrationSlackListResponseItem `json:"items"` } // Blueprint properties -type IntegrationDiscordListResponseItem struct { - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // Restrict which Discord users can interact with this integration. Accepts Discord user IDs - // (17-18 digit snowflakes) or @username, one per line. Use * to allow all senders. Leave - // empty to deny all. - AllowFrom *string `json:"allowFrom,omitempty"` - // The Discord application ID - AppID *string `json:"appId,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The ID of the bot this configuration is using - BotID *string `json:"botId,omitempty"` - // Weather to collect contacts - ContactCollection *bool `json:"contactCollection,omitempty"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description *string `json:"description,omitempty"` - // The Discord command handle - Handle *string `json:"handle,omitempty"` - // The instance ID - ID string `json:"id"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The chat session duration - SessionDuration *float64 `json:"sessionDuration,omitempty"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` +type IntegrationSlackListResponseItem struct { + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // Restrict which Slack users or channels can interact with this integration. Accepts Slack + // user IDs (U…/W…), channel IDs (C…/G…/D…), @username, or + AllowFrom *string `json:"allowFrom,omitempty"` + // Configure automatic response behavior. Use '@all' to respond to all messages, '@agent + // ' for agent-powered decisions, or custom instructions for lightweight LLM + // filtering. Null/empty defaults to current behavior (DMs, mentions, threads only). + AutoRespond *string `json:"autoRespond,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The ID of the bot this configuration is using + BotID *string `json:"botId,omitempty"` + // The bot token (returned as '********' if configured, null otherwise) + BotToken *string `json:"botToken,omitempty"` + // Weather to collect contacts + ContactCollection *bool `json:"contactCollection,omitempty"` + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description *string `json:"description,omitempty"` + // The instance ID + ID string `json:"id"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // Whether to enable ratings buttons feature + Ratings *bool `json:"ratings,omitempty"` + // Whether to enable references feature + References *bool `json:"references,omitempty"` + // The session duration for the Slack integration + SessionDuration *float64 `json:"sessionDuration,omitempty"` + // The signing secret (returned as '********' if configured, null otherwise) + SigningSecret *string `json:"signingSecret,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` + // The user token (returned as '********' if configured, null otherwise) + UserToken *string `json:"userToken,omitempty"` + // The number of visible messages outside of the new thread + VisibleMessages *float64 `json:"visibleMessages,omitempty"` } -type IntegrationDiscordListStreamItem struct { - // Blueprint properties - Data IntegrationDiscordListStreamItemData `json:"data"` - // The type of event - Type IntegrationDiscordListStreamItemType `json:"type"` +type IntegrationSlackListStreamItem struct { + // Blueprint properties + Data IntegrationSlackListStreamItemData `json:"data"` + // The type of event + Type IntegrationSlackListStreamItemType `json:"type"` } // Blueprint properties -type IntegrationDiscordListStreamItemData struct { - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // Restrict which Discord users can interact with this integration. Accepts Discord user IDs - // (17-18 digit snowflakes) or @username, one per line. Use * to allow all senders. Leave - // empty to deny all. - AllowFrom *string `json:"allowFrom,omitempty"` - // The Discord application ID - AppID *string `json:"appId,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The ID of the bot this configuration is using - BotID *string `json:"botId,omitempty"` - // Weather to collect contacts - ContactCollection *bool `json:"contactCollection,omitempty"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description *string `json:"description,omitempty"` - // The Discord command handle - Handle *string `json:"handle,omitempty"` - // The instance ID - ID string `json:"id"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The chat session duration - SessionDuration *float64 `json:"sessionDuration,omitempty"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` +type IntegrationSlackListStreamItemData struct { + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // Restrict which Slack users or channels can interact with this integration. Accepts Slack + // user IDs (U…/W…), channel IDs (C…/G…/D…), @username, or + AllowFrom *string `json:"allowFrom,omitempty"` + // Configure automatic response behavior. Use '@all' to respond to all messages, '@agent + // ' for agent-powered decisions, or custom instructions for lightweight LLM + // filtering. Null/empty defaults to current behavior (DMs, mentions, threads only). + AutoRespond *string `json:"autoRespond,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The ID of the bot this configuration is using + BotID *string `json:"botId,omitempty"` + // The bot token (returned as '********' if configured, null otherwise) + BotToken *string `json:"botToken,omitempty"` + // Weather to collect contacts + ContactCollection *bool `json:"contactCollection,omitempty"` + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description *string `json:"description,omitempty"` + // The instance ID + ID string `json:"id"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // Whether to enable ratings buttons feature + Ratings *bool `json:"ratings,omitempty"` + // Whether to enable references feature + References *bool `json:"references,omitempty"` + // The session duration for the Slack integration + SessionDuration *float64 `json:"sessionDuration,omitempty"` + // The signing secret (returned as '********' if configured, null otherwise) + SigningSecret *string `json:"signingSecret,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` + // The user token (returned as '********' if configured, null otherwise) + UserToken *string `json:"userToken,omitempty"` + // The number of visible messages outside of the new thread + VisibleMessages *float64 `json:"visibleMessages,omitempty"` } -type EmailIntegrationDeleteParams struct { - // The ID of the Email integration - EmailIntegrationID string `json:"emailIntegrationId"` +// A bot configuration that can be applied without a dedicated bot instance. +type IntegrationSlackCreateRequest struct { + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // Restrict which Slack users or channels can interact with this integration. Accepts Slack + // user IDs (U…/W…), channel IDs (C…/G…/D…), @username, or + AllowFrom *string `json:"allowFrom,omitempty"` + // Configure automatic response behavior. Use '@all' to respond to all messages, '@agent + // ' for agent-powered decisions, or custom instructions for lightweight LLM + // filtering. Null/empty defaults to current behavior (DMs, mentions, threads only). + AutoRespond *string `json:"autoRespond,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The ID of the bot this configuration is using + BotID *string `json:"botId,omitempty"` + // The bot token for the Slack integration + BotToken *string `json:"botToken,omitempty"` + // Weather to collect contacts + ContactCollection *bool `json:"contactCollection,omitempty"` + // The associated description + Description *string `json:"description,omitempty"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // Whether to enable ratings buttons feature + Ratings *bool `json:"ratings,omitempty"` + // Whether to enable references feature + References *bool `json:"references,omitempty"` + // The session duration for the Slack integration + SessionDuration *float64 `json:"sessionDuration,omitempty"` + // The signing secret for the Slack integration + SigningSecret *string `json:"signingSecret,omitempty"` + // The user token for the Slack integration + UserToken *string `json:"userToken,omitempty"` + // The number of visible messages outside of the new thread + VisibleMessages *float64 `json:"visibleMessages,omitempty"` } -type EmailIntegrationDeleteResponse struct { - // The ID of the deleted Email integration - ID string `json:"id"` +type IntegrationSlackCreateResponse struct { + // The ID of the Slack Integration + ID string `json:"id"` } -type EmailIntegrationFetchParams struct { - // The ID of the Email integration to retrieve - EmailIntegrationID string `json:"emailIntegrationId"` +type IntegrationSlackUpdateParams struct { + // The ID of the Slack integration + SlackIntegrationID string `json:"slackIntegrationId"` } -// Blueprint properties -type EmailIntegrationFetchResponse struct { - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // Newline-separated list of email patterns allowed to send messages to this integration - AllowFrom *string `json:"allowFrom,omitempty"` - // Weather the bot supports attachments - Attachments *bool `json:"attachments,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The ID of the bot this configuration is using - BotID *string `json:"botId,omitempty"` - // Weather to collect contacts - ContactCollection *bool `json:"contactCollection,omitempty"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description *string `json:"description,omitempty"` - // The instance ID - ID string `json:"id"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The session duration (in milliseconds) - SessionDuration *float64 `json:"sessionDuration,omitempty"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` +// A bot configuration that can be applied without a dedicated bot instance. +type IntegrationSlackUpdateRequest struct { + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // Restrict which Slack users or channels can interact with this integration. Accepts Slack + // user IDs (U…/W…), channel IDs (C…/G…/D…), @username, or + AllowFrom *string `json:"allowFrom,omitempty"` + // Configure automatic response behavior. Use '@all' to respond to all messages, '@agent + // ' for agent-powered decisions, or custom instructions for lightweight LLM + // filtering. Null/empty defaults to current behavior (DMs, mentions, threads only). + AutoRespond *string `json:"autoRespond,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The ID of the bot this configuration is using + BotID *string `json:"botId,omitempty"` + // The bot token for the Slack integration + BotToken *string `json:"botToken,omitempty"` + // Weather to collect contacts + ContactCollection *bool `json:"contactCollection,omitempty"` + // The associated description + Description *string `json:"description,omitempty"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // Whether to enable ratings buttons feature + Ratings *bool `json:"ratings,omitempty"` + // Whether to enable references feature + References *bool `json:"references,omitempty"` + // The session duration for the Slack integration + SessionDuration *float64 `json:"sessionDuration,omitempty"` + // The signing secret for the Slack integration + SigningSecret *string `json:"signingSecret,omitempty"` + // The user token for the Slack integration + UserToken *string `json:"userToken,omitempty"` + // The number of visible messages outside of the new thread + VisibleMessages *float64 `json:"visibleMessages,omitempty"` } -type EmailIntegrationSetupParams struct { - // The ID of the Email integration - EmailIntegrationID string `json:"emailIntegrationId"` +type IntegrationSlackUpdateResponse struct { + // The ID of the Slack Integration + ID string `json:"id"` } -type EmailIntegrationSetupResponse struct { - // The ID of the Email Integration - ID string `json:"id"` +type IntegrationSlackSetupParams struct { + // The ID of the Slack integration + SlackIntegrationID string `json:"slackIntegrationId"` } -type EmailIntegrationUpdateParams struct { - // The ID of the Email integration - EmailIntegrationID string `json:"emailIntegrationId"` +type IntegrationSlackSetupResponse struct { + // The ID of the setup Slack integration + ID string `json:"id"` } -// A bot configuration that can be applied without a dedicated bot instance. -type EmailIntegrationUpdateRequest struct { - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // Newline-separated list of email patterns allowed to send messages to this integration - AllowFrom *string `json:"allowFrom,omitempty"` - // Weather the bot supports attachments - Attachments *bool `json:"attachments,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The ID of the bot this configuration is using - BotID *string `json:"botId,omitempty"` - // Weather to collect contacts - ContactCollection *bool `json:"contactCollection,omitempty"` - // The associated description - Description *string `json:"description,omitempty"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The session duration (in milliseconds) - SessionDuration *float64 `json:"sessionDuration,omitempty"` +type IntegrationSlackFetchParams struct { + // The ID of the Slack integration to retrieve + SlackIntegrationID string `json:"slackIntegrationId"` } -type EmailIntegrationUpdateResponse struct { - // The ID of the Email Integration - ID string `json:"id"` +// Blueprint properties +type IntegrationSlackFetchResponse struct { + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // Restrict which Slack users or channels can interact with this integration. Accepts Slack + // user IDs (U…/W…), channel IDs (C…/G…/D…), @username, or + AllowFrom *string `json:"allowFrom,omitempty"` + // Configure automatic response behavior. Use '@all' to respond to all messages, '@agent + // ' for agent-powered decisions, or custom instructions for lightweight LLM + // filtering. Null/empty defaults to current behavior (DMs, mentions, threads only). + AutoRespond *string `json:"autoRespond,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The ID of the bot this configuration is using + BotID *string `json:"botId,omitempty"` + // The bot token (returned as '********' if configured, null otherwise) + BotToken *string `json:"botToken,omitempty"` + // Weather to collect contacts + ContactCollection *bool `json:"contactCollection,omitempty"` + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description *string `json:"description,omitempty"` + // The instance ID + ID string `json:"id"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // Whether to enable ratings buttons feature + Ratings *bool `json:"ratings,omitempty"` + // Whether to enable references feature + References *bool `json:"references,omitempty"` + // The session duration for the Slack integration + SessionDuration *float64 `json:"sessionDuration,omitempty"` + // The signing secret (returned as '********' if configured, null otherwise) + SigningSecret *string `json:"signingSecret,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` + // The user token (returned as '********' if configured, null otherwise) + UserToken *string `json:"userToken,omitempty"` + // The number of visible messages outside of the new thread + VisibleMessages *float64 `json:"visibleMessages,omitempty"` } -// A bot configuration that can be applied without a dedicated bot instance. -type EmailIntegrationCreateRequest struct { - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // Newline-separated list of email patterns allowed to send messages to this integration - AllowFrom *string `json:"allowFrom,omitempty"` - // Weather the bot supports attachments - Attachments *bool `json:"attachments,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The ID of the bot this configuration is using - BotID *string `json:"botId,omitempty"` - // Weather to collect contacts - ContactCollection *bool `json:"contactCollection,omitempty"` - // The associated description - Description *string `json:"description,omitempty"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The session duration (in milliseconds) - SessionDuration *float64 `json:"sessionDuration,omitempty"` +type IntegrationSlackDeleteParams struct { + // The ID of the Slack integration + SlackIntegrationID string `json:"slackIntegrationId"` } -type EmailIntegrationCreateResponse struct { - // The ID of the Email Integration - ID string `json:"id"` +type IntegrationSlackDeleteResponse struct { + // The ID of the deleted Slack integration + ID string `json:"id"` } -type EmailIntegrationListParams struct { - // The cursor to use for pagination - Cursor *string `json:"cursor,omitempty"` - // Key-value pairs to filter the partner users by metadata - Meta map[string]string `json:"meta,omitempty"` - // The order of the paginated items - Order *EmailIntegrationListParamsOrder `json:"order,omitempty"` - // The number of items to retrieve - Take *int64 `json:"take,omitempty"` +type SkillServerIntegrationListParams struct { + // The cursor to use for pagination + Cursor *string `json:"cursor,omitempty"` + // Key-value pairs to filter by metadata + Meta map[string]string `json:"meta,omitempty"` + // The order of the paginated items + Order *SkillServerIntegrationListParamsOrder `json:"order,omitempty"` + // The number of items to retrieve + Take *int64 `json:"take,omitempty"` } -type EmailIntegrationListResponse struct { - // Cursor for fetching the next page - Cursor string `json:"cursor"` - Items []EmailIntegrationListResponseItem `json:"items"` +type SkillServerIntegrationListResponse struct { + // Cursor for fetching the next page + Cursor string `json:"cursor"` + Items []SkillServerIntegrationListResponseItem `json:"items"` } // Blueprint properties -type EmailIntegrationListResponseItem struct { - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // Newline-separated list of email patterns allowed to send messages to this integration - AllowFrom *string `json:"allowFrom,omitempty"` - // Weather the bot supports attachments - Attachments *bool `json:"attachments,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The ID of the bot this configuration is using - BotID *string `json:"botId,omitempty"` - // Weather to collect contacts - ContactCollection *bool `json:"contactCollection,omitempty"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description *string `json:"description,omitempty"` - // The instance ID - ID string `json:"id"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The session duration (in milliseconds) - SessionDuration *float64 `json:"sessionDuration,omitempty"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` +type SkillServerIntegrationListResponseItem struct { + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description *string `json:"description,omitempty"` + // The instance ID + ID string `json:"id"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The ID of the skillset + SkillsetID *string `json:"skillsetId,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` } -type EmailIntegrationListStreamItem struct { - // Blueprint properties - Data EmailIntegrationListStreamItemData `json:"data"` - // The type of event - Type EmailIntegrationListStreamItemType `json:"type"` +type SkillServerIntegrationListStreamItem struct { + // Blueprint properties + Data SkillServerIntegrationListStreamItemData `json:"data"` + // The type of event + Type SkillServerIntegrationListStreamItemType `json:"type"` } // Blueprint properties -type EmailIntegrationListStreamItemData struct { - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // Newline-separated list of email patterns allowed to send messages to this integration - AllowFrom *string `json:"allowFrom,omitempty"` - // Weather the bot supports attachments - Attachments *bool `json:"attachments,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The ID of the bot this configuration is using - BotID *string `json:"botId,omitempty"` - // Weather to collect contacts - ContactCollection *bool `json:"contactCollection,omitempty"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description *string `json:"description,omitempty"` - // The instance ID - ID string `json:"id"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The session duration (in milliseconds) - SessionDuration *float64 `json:"sessionDuration,omitempty"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` +type SkillServerIntegrationListStreamItemData struct { + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description *string `json:"description,omitempty"` + // The instance ID + ID string `json:"id"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The ID of the skillset + SkillsetID *string `json:"skillsetId,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` } -type IntegrationExtractDeleteParams struct { - // The ID of the Extract integration - ExtractIntegrationID string `json:"extractIntegrationId"` +// Blueprint properties +type SkillServerIntegrationCreateRequest struct { + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The associated description + Description *string `json:"description,omitempty"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The ID of the skillset + SkillsetID *string `json:"skillsetId,omitempty"` } -type IntegrationExtractDeleteResponse struct { - // The ID of the deleted Extract integration - ID string `json:"id"` +type SkillServerIntegrationCreateResponse struct { + // The ID of the SkillServer Integration + ID string `json:"id"` } -type IntegrationExtractFetchParams struct { - // The ID of the Extract integration to retrieve - ExtractIntegrationID string `json:"extractIntegrationId"` +type SkillServerIntegrationUpdateParams struct { + // The ID of the SkillServer integration + SkillserverIntegrationID string `json:"skillserverIntegrationId"` } // Blueprint properties -type IntegrationExtractFetchResponse struct { - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The ID of the Bot to use - BotID string `json:"botId"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description *string `json:"description,omitempty"` - // The instance ID - ID string `json:"id"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The language model to use for data extraction - Model *string `json:"model,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // Optional webhook to receive the extracted data - Request *string `json:"request,omitempty"` - // The configured extraction schema - Schema map[string]interface{} `json:"schema,omitempty"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` -} - -type ExtractIntegrationItemsExportParams struct { - // The cursor to use for pagination - Cursor *string `json:"cursor,omitempty"` - // The ID of the extract integration - ExtractIntegrationID string `json:"extractIntegrationId"` - // The order of the paginated items - Order *ExtractIntegrationItemsExportParamsOrder `json:"order,omitempty"` - // The number of items to retrieve - Take *int64 `json:"take,omitempty"` +type SkillServerIntegrationUpdateRequest struct { + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The associated description + Description *string `json:"description,omitempty"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The ID of the skillset + SkillsetID *string `json:"skillsetId,omitempty"` } -type ExtractIntegrationItemsExportResponse struct { - // Cursor for fetching the next page - Cursor *string `json:"cursor,omitempty"` - Items []ExtractIntegrationItemsExportResponseItem `json:"items,omitempty"` +type SkillServerIntegrationUpdateResponse struct { + // The ID of the SkillServer Integration + ID string `json:"id"` } -type ExtractIntegrationItemsExportResponseItem struct { - // The ID of the conversation from which data was extracted - ConversationID *string `json:"conversationId,omitempty"` - // The timestamp when the item was created - CreatedAt *string `json:"createdAt,omitempty"` - // The extracted data in YAML-serializable format - Data map[string]interface{} `json:"data"` - // The ID of the extract integration - ExtractIntegrationID string `json:"extractIntegrationId"` - // The unique identifier of the item - ID string `json:"id"` - // The timestamp when the item was last updated - UpdatedAt *string `json:"updatedAt,omitempty"` +type SkillServerManualFetchParams struct { + // The ID of the SkillServer integration + SkillserverIntegrationID string `json:"skillserverIntegrationId"` } -type ExtractIntegrationItemListParams struct { - // The cursor to use for pagination - Cursor *string `json:"cursor,omitempty"` - // The ID of the extract integration - ExtractIntegrationID string `json:"extractIntegrationId"` - // The order of the paginated items - Order *ExtractIntegrationItemListParamsOrder `json:"order,omitempty"` - // The number of items to retrieve - Take *int64 `json:"take,omitempty"` +type SkillServerAbilityInvokeParams struct { + // Set to "json" to receive a JSON response + Format *Format `json:"format,omitempty"` + // Optional session id to group tool state across calls + Session *string `json:"session,omitempty"` + // The ID of the SkillServer integration + SkillserverIntegrationID string `json:"skillserverIntegrationId"` } -type ExtractIntegrationItemListResponse struct { - // Cursor for fetching the next page - Cursor *string `json:"cursor,omitempty"` - Items []ExtractIntegrationItemListResponseItem `json:"items,omitempty"` +type SkillServerAbilityInvokeRequest struct { + // The name of the ability to invoke (as listed in the manual) + Ability string `json:"ability"` + // The ability input + Input map[string]interface{} `json:"input,omitempty"` } -type ExtractIntegrationItemListResponseItem struct { - // The ID of the conversation from which data was extracted - ConversationID *string `json:"conversationId,omitempty"` - // The timestamp when the item was created - CreatedAt *string `json:"createdAt,omitempty"` - // The extracted data matching the integration schema - Data map[string]interface{} `json:"data"` - // The ID of the extract integration - ExtractIntegrationID string `json:"extractIntegrationId"` - // The unique identifier of the item - ID string `json:"id"` - // The timestamp when the item was last updated - UpdatedAt *string `json:"updatedAt,omitempty"` +type SkillServerAbilityInvokeResponse struct { + Error *string `json:"error,omitempty"` + Result interface{} `json:"result"` } -type IntegrationExtractTriggerParams struct { - // The ID of the Extract integration - ExtractIntegrationID string `json:"extractIntegrationId"` +type SkillServerIntegrationFetchParams struct { + // The ID of the SkillServer integration to retrieve + SkillserverIntegrationID string `json:"skillserverIntegrationId"` } -type IntegrationExtractTriggerRequest struct { - // Array of conversation IDs to process - ConversationIDS []string `json:"conversationIds,omitempty"` - // Number of recent conversations to process (default 20) - Sample *int64 `json:"sample,omitempty"` +// Blueprint properties +type SkillServerIntegrationFetchResponse struct { + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description *string `json:"description,omitempty"` + // The instance ID + ID string `json:"id"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The ID of the skillset + SkillsetID *string `json:"skillsetId,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` } -type IntegrationExtractTriggerResponse struct { - // ID of the extract integration - ID string `json:"id"` - // Number of conversations queued for processing - Triggered float64 `json:"triggered"` +type SkillServerIntegrationDeleteParams struct { + // The ID of the SkillServer integration + SkillserverIntegrationID string `json:"skillserverIntegrationId"` } -type IntegrationExtractUpdateParams struct { - // The ID of the Extract integration - ExtractIntegrationID string `json:"extractIntegrationId"` +type SkillServerIntegrationDeleteResponse struct { + // The ID of the deleted SkillServer integration + ID string `json:"id"` } -// Blueprint properties -type IntegrationExtractUpdateRequest struct { - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The ID of the Bot to use - BotID *string `json:"botId,omitempty"` - // The associated description - Description *string `json:"description,omitempty"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The language model to use for data extraction - Model *string `json:"model,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // Optional webhook to receive the extracted data - Request *string `json:"request,omitempty"` - // The configured extraction schema - Schema map[string]interface{} `json:"schema,omitempty"` +type IntegrationSitemapListParams struct { + // The cursor to use for pagination + Cursor *string `json:"cursor,omitempty"` + // Key-value pairs to filter the items by metadata + Meta map[string]string `json:"meta,omitempty"` + // The order of the paginated items + Order *IntegrationSitemapListParamsOrder `json:"order,omitempty"` + // The number of items to retrieve + Take *int64 `json:"take,omitempty"` } -type IntegrationExtractUpdateResponse struct { - // The ID of the Extract Integration - ID string `json:"id"` +type IntegrationSitemapListResponse struct { + // Cursor for fetching the next page + Cursor string `json:"cursor"` + Items []IntegrationSitemapListResponseItem `json:"items"` } // Blueprint properties -type IntegrationExtractCreateRequest struct { - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The ID of the Bot to use - BotID *string `json:"botId,omitempty"` - // The associated description - Description *string `json:"description,omitempty"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The language model to use for data extraction - Model *string `json:"model,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // Optional webhook to receive the extracted data - Request *string `json:"request,omitempty"` - // The configured extraction schema - Schema map[string]interface{} `json:"schema,omitempty"` -} - -type IntegrationExtractCreateResponse struct { - // The ID of the Extract Integration - ID string `json:"id"` +type IntegrationSitemapListResponseItem struct { + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The ID of the dataset used in the Sitemap integration + DatasetID string `json:"datasetId"` + // The associated description + Description *string `json:"description,omitempty"` + // Record expiry in milliseconds + ExpiresIn *float64 `json:"expiresIn,omitempty"` + // The glob rules to use for this Sitemap integration + Glob *string `json:"glob,omitempty"` + // The instance ID + ID string `json:"id"` + // Indicates if the Sitemap integration should use JavaScript during the spidering process + Javascript *bool `json:"javascript,omitempty"` + // The timestamp of the last successful sync + LastSyncedAt *time.Time `json:"lastSyncedAt,omitempty"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The selector rules to use for this Sitemap integration + Selectors *string `json:"selectors,omitempty"` + // The sync schedule to use for this Sitemap integration + SyncSchedule *string `json:"syncSchedule,omitempty"` + // The sync status of an integration + SyncStatus *PurpleSyncStatus `json:"syncStatus,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` + // The URL to use for this Sitemap integration + URL *string `json:"url,omitempty"` } -type IntegrationExtractListParams struct { - // The cursor to use for pagination - Cursor *string `json:"cursor,omitempty"` - // Key-value pairs to filter the partner users by metadata - Meta map[string]string `json:"meta,omitempty"` - // The order of the paginated items - Order *IntegrationExtractListParamsOrder `json:"order,omitempty"` - // The number of items to retrieve - Take *int64 `json:"take,omitempty"` +type IntegrationSitemapListStreamItem struct { + // Blueprint properties + Data IntegrationSitemapListStreamItemData `json:"data"` + // The type of event + Type IntegrationSitemapListStreamItemType `json:"type"` } -type IntegrationExtractListResponse struct { - // Cursor for fetching the next page - Cursor string `json:"cursor"` - Items []IntegrationExtractListResponseItem `json:"items"` +// Blueprint properties +type IntegrationSitemapListStreamItemData struct { + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The ID of the dataset used in the Sitemap integration + DatasetID string `json:"datasetId"` + // The associated description + Description *string `json:"description,omitempty"` + // Record expiry in milliseconds + ExpiresIn *float64 `json:"expiresIn,omitempty"` + // The glob rules to use for this Sitemap integration + Glob *string `json:"glob,omitempty"` + // The instance ID + ID string `json:"id"` + // Indicates if the Sitemap integration should use JavaScript during the spidering process + Javascript *bool `json:"javascript,omitempty"` + // The timestamp of the last successful sync + LastSyncedAt *time.Time `json:"lastSyncedAt,omitempty"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The selector rules to use for this Sitemap integration + Selectors *string `json:"selectors,omitempty"` + // The sync schedule to use for this Sitemap integration + SyncSchedule *string `json:"syncSchedule,omitempty"` + // The sync status of an integration + SyncStatus *FluffySyncStatus `json:"syncStatus,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` + // The URL to use for this Sitemap integration + URL *string `json:"url,omitempty"` } // Blueprint properties -type IntegrationExtractListResponseItem struct { - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The ID of the Bot to use - BotID string `json:"botId"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description *string `json:"description,omitempty"` - // The instance ID - ID string `json:"id"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The language model to use for data extraction - Model *string `json:"model,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // Optional webhook to receive the extracted data - Request *string `json:"request,omitempty"` - // The configured extraction schema - Schema map[string]interface{} `json:"schema,omitempty"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` +type IntegrationSitemapCreateRequest struct { + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The ID of the dataset to use for this Sitemap integration + DatasetID *string `json:"datasetId,omitempty"` + // The associated description + Description *string `json:"description,omitempty"` + // Record expiry in milliseconds + ExpiresIn *float64 `json:"expiresIn,omitempty"` + // The glob rules to use for this Sitemap integration + Glob *string `json:"glob,omitempty"` + // Indicates if the Sitemap integration should use JavaScript during the spidering process + Javascript *bool `json:"javascript,omitempty"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The selector rules to use for this Sitemap integration + Selectors *string `json:"selectors,omitempty"` + // The sync schedule to use for this Sitemap integration + SyncSchedule *string `json:"syncSchedule,omitempty"` + // The URL to use for this Sitemap integration + URL *string `json:"url,omitempty"` } -type IntegrationExtractListStreamItem struct { - // Blueprint properties - Data IntegrationExtractListStreamItemData `json:"data"` - // The type of event - Type IntegrationExtractListStreamItemType `json:"type"` +type IntegrationSitemapCreateResponse struct { + // The ID of the Sitemap Integration + ID string `json:"id"` } -// Blueprint properties -type IntegrationExtractListStreamItemData struct { - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The ID of the Bot to use - BotID string `json:"botId"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description *string `json:"description,omitempty"` - // The instance ID - ID string `json:"id"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The language model to use for data extraction - Model *string `json:"model,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // Optional webhook to receive the extracted data - Request *string `json:"request,omitempty"` - // The configured extraction schema - Schema map[string]interface{} `json:"schema,omitempty"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` +type IntegrationSitemapUpdateParams struct { + // The ID of the Sitemap integration + SitemapIntegrationID string `json:"sitemapIntegrationId"` } -type GithubIntegrationDeleteParams struct { - // The ID of the GitHub integration - GithubIntegrationID string `json:"githubIntegrationId"` +// Blueprint properties +type IntegrationSitemapUpdateRequest struct { + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The ID of the dataset to use for this Sitemap integration + DatasetID *string `json:"datasetId,omitempty"` + // The associated description + Description *string `json:"description,omitempty"` + // Record expiry in milliseconds + ExpiresIn *float64 `json:"expiresIn,omitempty"` + // The glob rules to use for this Sitemap integration + Glob *string `json:"glob,omitempty"` + // Indicates if the Sitemap integration should use JavaScript during the spidering process + Javascript *bool `json:"javascript,omitempty"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The selector rules to use for this Sitemap integration + Selectors *string `json:"selectors,omitempty"` + // The sync schedule to use for this Sitemap integration + SyncSchedule *string `json:"syncSchedule,omitempty"` + // The URL to use for this Sitemap integration + URL *string `json:"url,omitempty"` } -type GithubIntegrationDeleteResponse struct { - // The ID of the deleted GitHub integration - ID string `json:"id"` +type IntegrationSitemapUpdateResponse struct { + // The ID of the Sitemap Integration + ID string `json:"id"` } -type GithubIntegrationFetchParams struct { - // The ID of the GitHub integration to retrieve - GithubIntegrationID string `json:"githubIntegrationId"` +type IntegrationSitemapSyncParams struct { + // The ID of the Sitemap integration + SitemapIntegrationID string `json:"sitemapIntegrationId"` } -// Blueprint properties -type GithubIntegrationFetchResponse struct { - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The ID of the bot this configuration is using - BotID *string `json:"botId,omitempty"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description *string `json:"description,omitempty"` - // The instance ID - ID string `json:"id"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` +type IntegrationSitemapSyncResponse struct { + // The ID of the Sitemap Integration + ID string `json:"id"` } -type GithubIntegrationSetupParams struct { - GithubIntegrationID string `json:"githubIntegrationId"` +type IntegrationSitemapFetchParams struct { + // The ID of the Sitemap integration to retrieve + SitemapIntegrationID string `json:"sitemapIntegrationId"` } -type GithubIntegrationUpdateParams struct { - // The ID of the GitHub integration - GithubIntegrationID string `json:"githubIntegrationId"` +// Blueprint properties +type IntegrationSitemapFetchResponse struct { + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The ID of the dataset used in the Sitemap integration + DatasetID string `json:"datasetId"` + // The associated description + Description *string `json:"description,omitempty"` + // Record expiry in milliseconds + ExpiresIn *float64 `json:"expiresIn,omitempty"` + // The glob rules to use for this Sitemap integration + Glob *string `json:"glob,omitempty"` + // The instance ID + ID string `json:"id"` + // Indicates if the Sitemap integration should use JavaScript during the spidering process + Javascript *bool `json:"javascript,omitempty"` + // The timestamp of the last successful sync + LastSyncedAt *time.Time `json:"lastSyncedAt,omitempty"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The selector rules to use for this Sitemap integration + Selectors *string `json:"selectors,omitempty"` + // The sync schedule to use for this Sitemap integration + SyncSchedule *string `json:"syncSchedule,omitempty"` + // The sync status of an integration + SyncStatus *IntegrationSitemapFetchResponseSyncStatus `json:"syncStatus,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` + // The URL to use for this Sitemap integration + URL *string `json:"url,omitempty"` } -// A bot configuration that can be applied without a dedicated bot instance. -type GithubIntegrationUpdateRequest struct { - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The ID of the bot this configuration is using - BotID *string `json:"botId,omitempty"` - // The associated description - Description *string `json:"description,omitempty"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` +type IntegrationSitemapDeleteParams struct { + // The ID of the Sitemap integration + SitemapIntegrationID string `json:"sitemapIntegrationId"` } -type GithubIntegrationUpdateResponse struct { - // The ID of the GitHub Integration - ID string `json:"id"` +type IntegrationSitemapDeleteResponse struct { + // The ID of the deleted Sitemap integration + ID string `json:"id"` } -// A bot configuration that can be applied without a dedicated bot instance. -type GithubIntegrationCreateRequest struct { - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // This integration's GitHub App id (signs the App JWT) - AppID *string `json:"appId,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The ID of the bot this configuration is using - BotID *string `json:"botId,omitempty"` - // Whether to collect contacts - ContactCollection *bool `json:"contactCollection,omitempty"` - // The associated description - Description *string `json:"description,omitempty"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // This integration's GitHub App private key (PEM) - PrivateKey *string `json:"privateKey,omitempty"` - // The session duration for the GitHub integration - SessionDuration *float64 `json:"sessionDuration,omitempty"` - // The GitHub App webhook secret used to validate x-hub-signature-256 - WebhookSecret *string `json:"webhookSecret,omitempty"` +type IntegrationNotionListParams struct { + // The cursor to use for pagination + Cursor *string `json:"cursor,omitempty"` + // Key-value pairs to filter the items by metadata + Meta map[string]string `json:"meta,omitempty"` + // The order of the paginated items + Order *IntegrationNotionListParamsOrder `json:"order,omitempty"` + // The number of items to retrieve + Take *int64 `json:"take,omitempty"` } -type GithubIntegrationCreateResponse struct { - // The ID of the GitHub Integration - ID string `json:"id"` +type IntegrationNotionListResponse struct { + // Cursor for fetching the next page + Cursor string `json:"cursor"` + Items []IntegrationNotionListResponseItem `json:"items"` } -type GithubIntegrationListParams struct { - // The cursor to use for pagination - Cursor *string `json:"cursor,omitempty"` - // Key-value pairs to filter by metadata - Meta map[string]string `json:"meta,omitempty"` - // The order of the paginated items - Order *GithubIntegrationListParamsOrder `json:"order,omitempty"` - // The number of items to retrieve - Take *int64 `json:"take,omitempty"` +// Blueprint properties +type IntegrationNotionListResponseItem struct { + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The ID of the dataset to sync into + DatasetID string `json:"datasetId"` + // The associated description + Description *string `json:"description,omitempty"` + // The time in milliseconds until records expire + ExpiresIn *float64 `json:"expiresIn,omitempty"` + // The instance ID + ID string `json:"id"` + // The timestamp of the last successful sync + LastSyncedAt *time.Time `json:"lastSyncedAt,omitempty"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The sync schedule + SyncSchedule *string `json:"syncSchedule,omitempty"` + // The sync status of an integration + SyncStatus *TentacledSyncStatus `json:"syncStatus,omitempty"` + // The Notion API token (returned as '********' if configured, null otherwise) + Token *string `json:"token,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` } -type GithubIntegrationListResponse struct { - // Cursor for fetching the next page - Cursor string `json:"cursor"` - Items []GithubIntegrationListResponseItem `json:"items"` +type IntegrationNotionListStreamItem struct { + // Blueprint properties + Data IntegrationNotionListStreamItemData `json:"data"` + // The type of event + Type IntegrationNotionListStreamItemType `json:"type"` } // Blueprint properties -type GithubIntegrationListResponseItem struct { - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The ID of the bot this configuration is using - BotID *string `json:"botId,omitempty"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description *string `json:"description,omitempty"` - // The instance ID - ID string `json:"id"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` +type IntegrationNotionListStreamItemData struct { + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The ID of the dataset to sync into + DatasetID string `json:"datasetId"` + // The associated description + Description *string `json:"description,omitempty"` + // The time in milliseconds until records expire + ExpiresIn *float64 `json:"expiresIn,omitempty"` + // The instance ID + ID string `json:"id"` + // The timestamp of the last successful sync + LastSyncedAt *time.Time `json:"lastSyncedAt,omitempty"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The sync schedule + SyncSchedule *string `json:"syncSchedule,omitempty"` + // The sync status of an integration + SyncStatus *StickySyncStatus `json:"syncStatus,omitempty"` + // The Notion API token (returned as '********' if configured, null otherwise) + Token *string `json:"token,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` } -type GooglechatIntegrationDeleteParams struct { - // The ID of the Google Chat integration - GooglechatIntegrationID string `json:"googlechatIntegrationId"` +// Blueprint properties +type IntegrationNotionCreateRequest struct { + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The ID of the dataset to sync into + DatasetID *string `json:"datasetId,omitempty"` + // The associated description + Description *string `json:"description,omitempty"` + // The time in milliseconds until records expire + ExpiresIn *float64 `json:"expiresIn,omitempty"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The sync schedule + SyncSchedule *string `json:"syncSchedule,omitempty"` + // The Notion API token + Token *string `json:"token,omitempty"` } -type GooglechatIntegrationDeleteResponse struct { - // The ID of the deleted Google Chat integration - ID string `json:"id"` +type IntegrationNotionCreateResponse struct { + // The ID of the Notion Integration + ID string `json:"id"` } -type GooglechatIntegrationFetchParams struct { - // The ID of the Google Chat integration to retrieve - GooglechatIntegrationID string `json:"googlechatIntegrationId"` +type IntegrationNotionUpdateParams struct { + // The ID of the Notion integration + NotionIntegrationID string `json:"notionIntegrationId"` } // Blueprint properties -type GooglechatIntegrationFetchResponse struct { - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // The allowed senders for this integration - AllowFrom *string `json:"allowFrom,omitempty"` - // Whether file attachment processing is enabled - Attachments *bool `json:"attachments,omitempty"` - // The auto-respond configuration - AutoRespond *string `json:"autoRespond,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The ID of the bot this configuration is using - BotID *string `json:"botId,omitempty"` - // Whether to collect contacts - ContactCollection *bool `json:"contactCollection,omitempty"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description *string `json:"description,omitempty"` - // The instance ID - ID string `json:"id"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The Google Cloud project number for JWT verification - ProjectNumber *string `json:"projectNumber,omitempty"` - // The service account key (returned as '********' if configured, null otherwise) - ServiceAccountKey *string `json:"serviceAccountKey,omitempty"` - // The session duration for the integration - SessionDuration *float64 `json:"sessionDuration,omitempty"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` +type IntegrationNotionUpdateRequest struct { + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The ID of the dataset to sync into + DatasetID *string `json:"datasetId,omitempty"` + // The associated description + Description *string `json:"description,omitempty"` + // The time in milliseconds until records expire + ExpiresIn *float64 `json:"expiresIn,omitempty"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The sync schedule + SyncSchedule *string `json:"syncSchedule,omitempty"` + // The Notion API token + Token *string `json:"token,omitempty"` } -type GooglechatIntegrationSetupParams struct { - // The ID of the Google Chat integration - GooglechatIntegrationID string `json:"googlechatIntegrationId"` +type IntegrationNotionUpdateResponse struct { + // The ID of the Notion Integration + ID string `json:"id"` } -type GooglechatIntegrationSetupResponse struct { - // The ID of the Google Chat Integration - ID string `json:"id"` +type IntegrationNotionSyncParams struct { + // The ID of the Notion integration + NotionIntegrationID string `json:"notionIntegrationId"` } -type GooglechatIntegrationUpdateParams struct { - // The ID of the Google Chat integration - GooglechatIntegrationID string `json:"googlechatIntegrationId"` +type IntegrationNotionSyncResponse struct { + // The ID of the synced Notion integration + ID string `json:"id"` } -// A bot configuration that can be applied without a dedicated bot instance. -type GooglechatIntegrationUpdateRequest struct { - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // The allowed senders for this integration - AllowFrom *string `json:"allowFrom,omitempty"` - // Whether file attachment processing is enabled - Attachments *bool `json:"attachments,omitempty"` - // The auto-respond configuration - AutoRespond *string `json:"autoRespond,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The ID of the bot this configuration is using - BotID *string `json:"botId,omitempty"` - // Whether to collect contacts - ContactCollection *bool `json:"contactCollection,omitempty"` - // The associated description - Description *string `json:"description,omitempty"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The Google Cloud project number for JWT verification - ProjectNumber *string `json:"projectNumber,omitempty"` - // The Google service account JSON key for sending messages - ServiceAccountKey *string `json:"serviceAccountKey,omitempty"` - // The session duration for the integration - SessionDuration *float64 `json:"sessionDuration,omitempty"` +type IntegrationNotionFetchParams struct { + // The ID of the Notion integration to retrieve + NotionIntegrationID string `json:"notionIntegrationId"` } -type GooglechatIntegrationUpdateResponse struct { - // The ID of the Google Chat Integration - ID string `json:"id"` +// Blueprint properties +type IntegrationNotionFetchResponse struct { + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The ID of the dataset to sync into + DatasetID string `json:"datasetId"` + // The associated description + Description *string `json:"description,omitempty"` + // The time in milliseconds until records expire + ExpiresIn *float64 `json:"expiresIn,omitempty"` + // The instance ID + ID string `json:"id"` + // The timestamp of the last successful sync + LastSyncedAt *time.Time `json:"lastSyncedAt,omitempty"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The sync schedule + SyncSchedule *string `json:"syncSchedule,omitempty"` + // The sync status of an integration + SyncStatus *IntegrationNotionFetchResponseSyncStatus `json:"syncStatus,omitempty"` + // The Notion API token (returned as '********' if configured, null otherwise) + Token *string `json:"token,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` } -// A bot configuration that can be applied without a dedicated bot instance. -type GooglechatIntegrationCreateRequest struct { - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // Restrict which Google Chat users can interact with this integration. Accepts user - // resource names (users/USER_ID) or * to allow all. One per line. - AllowFrom *string `json:"allowFrom,omitempty"` - // Whether file attachment processing is enabled - Attachments *bool `json:"attachments,omitempty"` - // Configure automatic response behavior. Use '@all' to respond to all messages, '@agent - // ' for agent-powered decisions, or custom instructions for lightweight LLM - // filtering. Null/empty defaults to DMs and direct messages only. - AutoRespond *string `json:"autoRespond,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The ID of the bot this configuration is using - BotID *string `json:"botId,omitempty"` - // Whether to collect contacts - ContactCollection *bool `json:"contactCollection,omitempty"` - // The associated description - Description *string `json:"description,omitempty"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The Google Cloud project number used to verify incoming event JWT audience claims - ProjectNumber *string `json:"projectNumber,omitempty"` - // The Google service account JSON key for sending messages via the Chat REST API - ServiceAccountKey *string `json:"serviceAccountKey,omitempty"` - // The session duration for the Google Chat integration - SessionDuration *float64 `json:"sessionDuration,omitempty"` +type IntegrationNotionDeleteParams struct { + // The ID of the Notion integration + NotionIntegrationID string `json:"notionIntegrationId"` } -type GooglechatIntegrationCreateResponse struct { - // The ID of the Google Chat Integration - ID string `json:"id"` +type IntegrationNotionDeleteResponse struct { + // The ID of the deleted Notion integration + ID string `json:"id"` } -type GooglechatIntegrationListParams struct { - // The cursor to use for pagination - Cursor *string `json:"cursor,omitempty"` - // Key-value pairs to filter by metadata - Meta map[string]string `json:"meta,omitempty"` - // The order of the paginated items - Order *GooglechatIntegrationListParamsOrder `json:"order,omitempty"` - // The number of items to retrieve - Take *int64 `json:"take,omitempty"` +type MicrosoftteamsIntegrationListParams struct { + // The cursor to use for pagination + Cursor *string `json:"cursor,omitempty"` + // Key-value pairs to filter the items by metadata + Meta map[string]string `json:"meta,omitempty"` + // The order of the paginated items + Order *MicrosoftteamsIntegrationListParamsOrder `json:"order,omitempty"` + // The number of items to retrieve + Take *int64 `json:"take,omitempty"` } -type GooglechatIntegrationListResponse struct { - // Cursor for fetching the next page - Cursor string `json:"cursor"` - Items []GooglechatIntegrationListResponseItem `json:"items"` +type MicrosoftteamsIntegrationListResponse struct { + // Cursor for fetching the next page + Cursor string `json:"cursor"` + Items []MicrosoftteamsIntegrationListResponseItem `json:"items"` } // Blueprint properties -type GooglechatIntegrationListResponseItem struct { - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // The allowed senders for this integration - AllowFrom *string `json:"allowFrom,omitempty"` - // Whether file attachment processing is enabled - Attachments *bool `json:"attachments,omitempty"` - // The auto-respond configuration - AutoRespond *string `json:"autoRespond,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The ID of the bot this configuration is using - BotID *string `json:"botId,omitempty"` - // Whether to collect contacts - ContactCollection *bool `json:"contactCollection,omitempty"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description *string `json:"description,omitempty"` - // The instance ID - ID string `json:"id"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The Google Cloud project number for JWT verification - ProjectNumber *string `json:"projectNumber,omitempty"` - // The service account key (returned as '********' if configured, null otherwise) - ServiceAccountKey *string `json:"serviceAccountKey,omitempty"` - // The session duration for the integration - SessionDuration *float64 `json:"sessionDuration,omitempty"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` +type MicrosoftteamsIntegrationListResponseItem struct { + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // The allowed senders for this integration + AllowFrom *string `json:"allowFrom,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The Microsoft Bot Framework Application ID + BotFrameworkAppID *string `json:"botFrameworkAppId,omitempty"` + // The ID of the bot this configuration is using + BotID *string `json:"botId,omitempty"` + // Weather to collect contacts + ContactCollection *bool `json:"contactCollection,omitempty"` + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description *string `json:"description,omitempty"` + // The instance ID + ID string `json:"id"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The chat session duration + SessionDuration *float64 `json:"sessionDuration,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` } -type GooglechatIntegrationListStreamItem struct { - // Blueprint properties - Data GooglechatIntegrationListStreamItemData `json:"data"` - // The type of event - Type GooglechatIntegrationListStreamItemType `json:"type"` +type MicrosoftteamsIntegrationListStreamItem struct { + // Blueprint properties + Data MicrosoftteamsIntegrationListStreamItemData `json:"data"` + // The type of event + Type MicrosoftteamsIntegrationListStreamItemType `json:"type"` } // Blueprint properties -type GooglechatIntegrationListStreamItemData struct { - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // The allowed senders for this integration - AllowFrom *string `json:"allowFrom,omitempty"` - // Whether file attachment processing is enabled - Attachments *bool `json:"attachments,omitempty"` - // The auto-respond configuration - AutoRespond *string `json:"autoRespond,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The ID of the bot this configuration is using - BotID *string `json:"botId,omitempty"` - // Whether to collect contacts - ContactCollection *bool `json:"contactCollection,omitempty"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description *string `json:"description,omitempty"` - // The instance ID - ID string `json:"id"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The Google Cloud project number for JWT verification - ProjectNumber *string `json:"projectNumber,omitempty"` - // The service account key (returned as '********' if configured, null otherwise) - ServiceAccountKey *string `json:"serviceAccountKey,omitempty"` - // The session duration for the integration - SessionDuration *float64 `json:"sessionDuration,omitempty"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` +type MicrosoftteamsIntegrationListStreamItemData struct { + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // The allowed senders for this integration + AllowFrom *string `json:"allowFrom,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The Microsoft Bot Framework Application ID + BotFrameworkAppID *string `json:"botFrameworkAppId,omitempty"` + // The ID of the bot this configuration is using + BotID *string `json:"botId,omitempty"` + // Weather to collect contacts + ContactCollection *bool `json:"contactCollection,omitempty"` + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description *string `json:"description,omitempty"` + // The instance ID + ID string `json:"id"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The chat session duration + SessionDuration *float64 `json:"sessionDuration,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` } -type IntegrationInstagramDeleteParams struct { - // The ID of the Instagram integration - InstagramIntegrationID string `json:"instagramIntegrationId"` +// A bot configuration that can be applied without a dedicated bot instance. +type MicrosoftteamsIntegrationCreateRequest struct { + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // The allowed senders for this integration + AllowFrom *string `json:"allowFrom,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The Microsoft Bot Framework Application ID + BotFrameworkAppID *string `json:"botFrameworkAppId,omitempty"` + // The Microsoft Bot Framework Application Secret + BotFrameworkAppSecret *string `json:"botFrameworkAppSecret,omitempty"` + // The ID of the bot this configuration is using + BotID *string `json:"botId,omitempty"` + // Weather to collect contacts + ContactCollection *bool `json:"contactCollection,omitempty"` + // The associated description + Description *string `json:"description,omitempty"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The chat session duration + SessionDuration *float64 `json:"sessionDuration,omitempty"` + // The Microsoft Entra tenant ID + TenantID *string `json:"tenantId,omitempty"` } -type IntegrationInstagramDeleteResponse struct { - // The ID of the deleted Instagram integration - ID string `json:"id"` +type MicrosoftteamsIntegrationCreateResponse struct { + // The ID of the Microsoft Teams integration + ID string `json:"id"` } -type IntegrationInstagramFetchParams struct { - // The ID of the Instagram integration to retrieve - InstagramIntegrationID string `json:"instagramIntegrationId"` +type MicrosoftteamsIntegrationUpdateParams struct { + // The ID of the Microsoft Teams integration + MicrosoftteamsIntegrationID string `json:"microsoftteamsIntegrationId"` } -// Blueprint properties -type IntegrationInstagramFetchResponse struct { - // The Instagram integration access token (returned as '********' if configured, null - // otherwise) - AccessToken *string `json:"accessToken,omitempty"` - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // Whether the bot supports attachments - Attachments *bool `json:"attachments,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The ID of the bot this configuration is using - BotID *string `json:"botId,omitempty"` - // Whether to collect contacts - ContactCollection *bool `json:"contactCollection,omitempty"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description *string `json:"description,omitempty"` - // The instance ID - ID string `json:"id"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The session duration (in milliseconds) - SessionDuration *float64 `json:"sessionDuration,omitempty"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` - // The Instagram integration verify token - VerifyToken string `json:"verifyToken"` +// A bot configuration that can be applied without a dedicated bot instance. +type MicrosoftteamsIntegrationUpdateRequest struct { + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // The allowed senders for this integration + AllowFrom *string `json:"allowFrom,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The Microsoft Bot Framework Application ID + BotFrameworkAppID *string `json:"botFrameworkAppId,omitempty"` + // The Microsoft Bot Framework Application Secret + BotFrameworkAppSecret *string `json:"botFrameworkAppSecret,omitempty"` + // The ID of the bot this configuration is using + BotID *string `json:"botId,omitempty"` + // Weather to collect contacts + ContactCollection *bool `json:"contactCollection,omitempty"` + // The associated description + Description *string `json:"description,omitempty"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The chat session duration + SessionDuration *float64 `json:"sessionDuration,omitempty"` + // The Microsoft Entra tenant ID + TenantID *string `json:"tenantId,omitempty"` } -type IntegrationInstagramSetupParams struct { - // The ID of the Instagram integration - InstagramIntegrationID string `json:"instagramIntegrationId"` +type MicrosoftteamsIntegrationUpdateResponse struct { + // The ID of the Microsoft Teams integration + ID string `json:"id"` } -type IntegrationInstagramSetupResponse struct { - // The ID of the Instagram Integration - ID string `json:"id"` +type MicrosoftteamsIntegrationSetupParams struct { + // The ID of the Microsoft Teams integration + MicrosoftteamsIntegrationID string `json:"microsoftteamsIntegrationId"` } -type IntegrationInstagramUpdateParams struct { - // The ID of the Instagram integration - InstagramIntegrationID string `json:"instagramIntegrationId"` +type MicrosoftteamsIntegrationSetupResponse struct { + // The ID of the Microsoft Teams integration that was set up + ID string `json:"id"` } -// A bot configuration that can be applied without a dedicated bot instance. -type IntegrationInstagramUpdateRequest struct { - // The Instagram integration access token - AccessToken *string `json:"accessToken,omitempty"` - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // Whether the bot supports attachments - Attachments *bool `json:"attachments,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The ID of the bot this configuration is using - BotID *string `json:"botId,omitempty"` - // Whether to collect contacts - ContactCollection *bool `json:"contactCollection,omitempty"` - // The associated description - Description *string `json:"description,omitempty"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The session duration (in milliseconds) - SessionDuration *float64 `json:"sessionDuration,omitempty"` +type MicrosoftteamsIntegrationFetchParams struct { + // The ID of the Microsoft Teams integration to retrieve + MicrosoftteamsIntegrationID string `json:"microsoftteamsIntegrationId"` } -type IntegrationInstagramUpdateResponse struct { - // The ID of the Instagram Integration - ID string `json:"id"` +// Blueprint properties +type MicrosoftteamsIntegrationFetchResponse struct { + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // The allowed senders for this integration + AllowFrom *string `json:"allowFrom,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The Microsoft Bot Framework Application ID + BotFrameworkAppID *string `json:"botFrameworkAppId,omitempty"` + // The ID of the bot this configuration is using + BotID *string `json:"botId,omitempty"` + // Weather to collect contacts + ContactCollection *bool `json:"contactCollection,omitempty"` + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description *string `json:"description,omitempty"` + // The instance ID + ID string `json:"id"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The chat session duration + SessionDuration *float64 `json:"sessionDuration,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` } -// A bot configuration that can be applied without a dedicated bot instance. -type IntegrationInstagramCreateRequest struct { - // The Instagram integration access token - AccessToken *string `json:"accessToken,omitempty"` - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // Whether the bot supports attachments - Attachments *bool `json:"attachments,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The ID of the bot this configuration is using - BotID *string `json:"botId,omitempty"` - // Whether to collect contacts - ContactCollection *bool `json:"contactCollection,omitempty"` - // The associated description - Description *string `json:"description,omitempty"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The session duration (in milliseconds) - SessionDuration *float64 `json:"sessionDuration,omitempty"` +type MicrosoftteamsIntegrationDeleteParams struct { + // The ID of the Microsoft Teams integration + MicrosoftteamsIntegrationID string `json:"microsoftteamsIntegrationId"` } -type IntegrationInstagramCreateResponse struct { - // The ID of the Instagram Integration - ID string `json:"id"` +type MicrosoftteamsIntegrationDeleteResponse struct { + // The ID of the deleted Microsoft Teams integration + ID string `json:"id"` } -type IntegrationInstagramListParams struct { - // The cursor to use for pagination - Cursor *string `json:"cursor,omitempty"` - // Key-value pairs to filter the partner users by metadata - Meta map[string]string `json:"meta,omitempty"` - // The order of the paginated items - Order *IntegrationInstagramListParamsOrder `json:"order,omitempty"` - // The number of items to retrieve - Take *int64 `json:"take,omitempty"` +type IntegrationMessengerListParams struct { + // The cursor to use for pagination + Cursor *string `json:"cursor,omitempty"` + // Key-value pairs to filter the items by metadata + Meta map[string]string `json:"meta,omitempty"` + // The order of the paginated items + Order *IntegrationMessengerListParamsOrder `json:"order,omitempty"` + // The number of items to retrieve + Take *int64 `json:"take,omitempty"` } -type IntegrationInstagramListResponse struct { - // Cursor for fetching the next page - Cursor string `json:"cursor"` - Items []IntegrationInstagramListResponseItem `json:"items"` +type IntegrationMessengerListResponse struct { + // Cursor for fetching the next page + Cursor string `json:"cursor"` + Items []IntegrationMessengerListResponseItem `json:"items"` } // Blueprint properties -type IntegrationInstagramListResponseItem struct { - // The Instagram integration access token (returned as '********' if configured, null - // otherwise) - AccessToken *string `json:"accessToken,omitempty"` - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // Whether the bot supports attachments - Attachments *bool `json:"attachments,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The ID of the bot this configuration is using - BotID *string `json:"botId,omitempty"` - // Whether to collect contacts - ContactCollection *bool `json:"contactCollection,omitempty"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description *string `json:"description,omitempty"` - // The instance ID - ID string `json:"id"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The session duration (in milliseconds) - SessionDuration *float64 `json:"sessionDuration,omitempty"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` - // The Instagram integration verify token - VerifyToken string `json:"verifyToken"` +type IntegrationMessengerListResponseItem struct { + // The Messenger integration access token (returned as '********' if configured, null + // otherwise) + AccessToken *string `json:"accessToken,omitempty"` + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // The Meta app secret (returned as '********' if configured, null otherwise) + AppSecret *string `json:"appSecret,omitempty"` + // Whether the bot supports attachments + Attachments *bool `json:"attachments,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The ID of the bot this configuration is using + BotID *string `json:"botId,omitempty"` + // Whether to collect contacts + ContactCollection *bool `json:"contactCollection,omitempty"` + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description *string `json:"description,omitempty"` + // The instance ID + ID string `json:"id"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The session duration (in milliseconds) + SessionDuration *float64 `json:"sessionDuration,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` + // The Messenger integration verify token + VerifyToken string `json:"verifyToken"` } -type IntegrationInstagramListStreamItem struct { - // Blueprint properties - Data IntegrationInstagramListStreamItemData `json:"data"` - // The type of event - Type IntegrationInstagramListStreamItemType `json:"type"` +type IntegrationMessengerListStreamItem struct { + // Blueprint properties + Data IntegrationMessengerListStreamItemData `json:"data"` + // The type of event + Type IntegrationMessengerListStreamItemType `json:"type"` } // Blueprint properties -type IntegrationInstagramListStreamItemData struct { - // The Instagram integration access token (returned as '********' if configured, null - // otherwise) - AccessToken *string `json:"accessToken,omitempty"` - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // Whether the bot supports attachments - Attachments *bool `json:"attachments,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The ID of the bot this configuration is using - BotID *string `json:"botId,omitempty"` - // Whether to collect contacts - ContactCollection *bool `json:"contactCollection,omitempty"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description *string `json:"description,omitempty"` - // The instance ID - ID string `json:"id"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The session duration (in milliseconds) - SessionDuration *float64 `json:"sessionDuration,omitempty"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` - // The Instagram integration verify token - VerifyToken string `json:"verifyToken"` +type IntegrationMessengerListStreamItemData struct { + // The Messenger integration access token (returned as '********' if configured, null + // otherwise) + AccessToken *string `json:"accessToken,omitempty"` + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // The Meta app secret (returned as '********' if configured, null otherwise) + AppSecret *string `json:"appSecret,omitempty"` + // Whether the bot supports attachments + Attachments *bool `json:"attachments,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The ID of the bot this configuration is using + BotID *string `json:"botId,omitempty"` + // Whether to collect contacts + ContactCollection *bool `json:"contactCollection,omitempty"` + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description *string `json:"description,omitempty"` + // The instance ID + ID string `json:"id"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The session duration (in milliseconds) + SessionDuration *float64 `json:"sessionDuration,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` + // The Messenger integration verify token + VerifyToken string `json:"verifyToken"` } -type IntegrationMCPServerDeleteParams struct { - // The ID of the McpServer integration - McpserverIntegrationID string `json:"mcpserverIntegrationId"` +// A bot configuration that can be applied without a dedicated bot instance. +type IntegrationMessengerCreateRequest struct { + // The Messenger integration access token + AccessToken *string `json:"accessToken,omitempty"` + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // The Meta app secret used to validate webhook signatures + AppSecret *string `json:"appSecret,omitempty"` + // Whether the bot supports attachments + Attachments *bool `json:"attachments,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The ID of the bot this configuration is using + BotID *string `json:"botId,omitempty"` + // Whether to collect contacts + ContactCollection *bool `json:"contactCollection,omitempty"` + // The associated description + Description *string `json:"description,omitempty"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The session duration (in milliseconds) + SessionDuration *float64 `json:"sessionDuration,omitempty"` } -type IntegrationMCPServerDeleteResponse struct { - // The ID of the deleted McpServer integration - ID string `json:"id"` +type IntegrationMessengerCreateResponse struct { + // The ID of the Messenger Integration + ID string `json:"id"` } -type IntegrationMCPServerFetchParams struct { - // The ID of the McpServer integration to retrieve - McpserverIntegrationID string `json:"mcpserverIntegrationId"` +type IntegrationMessengerUpdateParams struct { + // The ID of the Messenger integration + MessengerIntegrationID string `json:"messengerIntegrationId"` } -// Blueprint properties -type IntegrationMCPServerFetchResponse struct { - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description *string `json:"description,omitempty"` - // The instance ID - ID string `json:"id"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The ID of the OAuth connection for IdP-based authentication - OAuthConnectionID *string `json:"oAuthConnectionId,omitempty"` - // The ID of the skillset - SkillsetID *string `json:"skillsetId,omitempty"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` +// A bot configuration that can be applied without a dedicated bot instance. +type IntegrationMessengerUpdateRequest struct { + // The Messenger integration access token + AccessToken *string `json:"accessToken,omitempty"` + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // The Meta app secret used to validate webhook signatures + AppSecret *string `json:"appSecret,omitempty"` + // Whether the bot supports attachments + Attachments *bool `json:"attachments,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The ID of the bot this configuration is using + BotID *string `json:"botId,omitempty"` + // Whether to collect contacts + ContactCollection *bool `json:"contactCollection,omitempty"` + // The associated description + Description *string `json:"description,omitempty"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The session duration (in milliseconds) + SessionDuration *float64 `json:"sessionDuration,omitempty"` } -type IntegrationMCPServerUpdateParams struct { - // The ID of the McpServer integration - McpserverIntegrationID string `json:"mcpserverIntegrationId"` +type IntegrationMessengerUpdateResponse struct { + // The ID of the Messenger Integration + ID string `json:"id"` } -// Blueprint properties -type IntegrationMCPServerUpdateRequest struct { - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The associated description - Description *string `json:"description,omitempty"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The ID of the OAuth connection for IdP-based authentication - OAuthConnectionID *string `json:"oAuthConnectionId,omitempty"` - // The ID of the skillset - SkillsetID *string `json:"skillsetId,omitempty"` +type IntegrationMessengerSetupParams struct { + // The ID of the Messenger integration + MessengerIntegrationID string `json:"messengerIntegrationId"` } -type IntegrationMCPServerUpdateResponse struct { - // The ID of the McpServer Integration - ID string `json:"id"` +type IntegrationMessengerSetupResponse struct { + // The ID of the Messenger Integration + ID string `json:"id"` +} + +type IntegrationMessengerFetchParams struct { + // The ID of the Messenger integration to retrieve + MessengerIntegrationID string `json:"messengerIntegrationId"` } // Blueprint properties -type IntegrationMCPServerCreateRequest struct { - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The associated description - Description *string `json:"description,omitempty"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The ID of the OAuth connection for IdP-based authentication - OAuthConnectionID *string `json:"oAuthConnectionId,omitempty"` - // The ID of the skillset - SkillsetID *string `json:"skillsetId,omitempty"` +type IntegrationMessengerFetchResponse struct { + // The Messenger integration access token (returned as '********' if configured, null + // otherwise) + AccessToken *string `json:"accessToken,omitempty"` + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // The Meta app secret (returned as '********' if configured, null otherwise) + AppSecret *string `json:"appSecret,omitempty"` + // Whether the bot supports attachments + Attachments *bool `json:"attachments,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The ID of the bot this configuration is using + BotID *string `json:"botId,omitempty"` + // Whether to collect contacts + ContactCollection *bool `json:"contactCollection,omitempty"` + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description *string `json:"description,omitempty"` + // The instance ID + ID string `json:"id"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The session duration (in milliseconds) + SessionDuration *float64 `json:"sessionDuration,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` + // The Messenger integration verify token + VerifyToken string `json:"verifyToken"` } -type IntegrationMCPServerCreateResponse struct { - // The ID of the McpServer Integration - ID string `json:"id"` +type IntegrationMessengerDeleteParams struct { + // The ID of the Messenger integration + MessengerIntegrationID string `json:"messengerIntegrationId"` +} + +type IntegrationMessengerDeleteResponse struct { + // The ID of the deleted Messenger integration + ID string `json:"id"` } type IntegrationMCPServerListParams struct { - // The cursor to use for pagination - Cursor *string `json:"cursor,omitempty"` - // Key-value pairs to filter the partner users by metadata - Meta map[string]string `json:"meta,omitempty"` - // The order of the paginated items - Order *IntegrationMCPServerListParamsOrder `json:"order,omitempty"` - // The number of items to retrieve - Take *int64 `json:"take,omitempty"` + // The cursor to use for pagination + Cursor *string `json:"cursor,omitempty"` + // Key-value pairs to filter the items by metadata + Meta map[string]string `json:"meta,omitempty"` + // The order of the paginated items + Order *IntegrationMCPServerListParamsOrder `json:"order,omitempty"` + // The number of items to retrieve + Take *int64 `json:"take,omitempty"` } type IntegrationMCPServerListResponse struct { - // Cursor for fetching the next page - Cursor string `json:"cursor"` - Items []IntegrationMCPServerListResponseItem `json:"items"` + // Cursor for fetching the next page + Cursor string `json:"cursor"` + Items []IntegrationMCPServerListResponseItem `json:"items"` } // Blueprint properties type IntegrationMCPServerListResponseItem struct { - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description *string `json:"description,omitempty"` - // The instance ID - ID string `json:"id"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The ID of the OAuth connection for IdP-based authentication - OAuthConnectionID *string `json:"oAuthConnectionId,omitempty"` - // The ID of the skillset - SkillsetID *string `json:"skillsetId,omitempty"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description *string `json:"description,omitempty"` + // The instance ID + ID string `json:"id"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The ID of the OAuth connection for IdP-based authentication + OAuthConnectionID *string `json:"oAuthConnectionId,omitempty"` + // The ID of the skillset + SkillsetID *string `json:"skillsetId,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` } type IntegrationMCPServerListStreamItem struct { - // Blueprint properties - Data IntegrationMCPServerListStreamItemData `json:"data"` - // The type of event - Type IntegrationMCPServerListStreamItemType `json:"type"` + // Blueprint properties + Data IntegrationMCPServerListStreamItemData `json:"data"` + // The type of event + Type IntegrationMCPServerListStreamItemType `json:"type"` } // Blueprint properties type IntegrationMCPServerListStreamItemData struct { - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description *string `json:"description,omitempty"` - // The instance ID - ID string `json:"id"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The ID of the OAuth connection for IdP-based authentication - OAuthConnectionID *string `json:"oAuthConnectionId,omitempty"` - // The ID of the skillset - SkillsetID *string `json:"skillsetId,omitempty"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description *string `json:"description,omitempty"` + // The instance ID + ID string `json:"id"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The ID of the OAuth connection for IdP-based authentication + OAuthConnectionID *string `json:"oAuthConnectionId,omitempty"` + // The ID of the skillset + SkillsetID *string `json:"skillsetId,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` } -type IntegrationMessengerDeleteParams struct { - // The ID of the Messenger integration - MessengerIntegrationID string `json:"messengerIntegrationId"` +// Blueprint properties +type IntegrationMCPServerCreateRequest struct { + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The associated description + Description *string `json:"description,omitempty"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The ID of the OAuth connection for IdP-based authentication + OAuthConnectionID *string `json:"oAuthConnectionId,omitempty"` + // The ID of the skillset + SkillsetID *string `json:"skillsetId,omitempty"` } -type IntegrationMessengerDeleteResponse struct { - // The ID of the deleted Messenger integration - ID string `json:"id"` +type IntegrationMCPServerCreateResponse struct { + // The ID of the McpServer Integration + ID string `json:"id"` } -type IntegrationMessengerFetchParams struct { - // The ID of the Messenger integration to retrieve - MessengerIntegrationID string `json:"messengerIntegrationId"` +type IntegrationMCPServerUpdateParams struct { + // The ID of the McpServer integration + McpserverIntegrationID string `json:"mcpserverIntegrationId"` } // Blueprint properties -type IntegrationMessengerFetchResponse struct { - // The Messenger integration access token (returned as '********' if configured, null - // otherwise) - AccessToken *string `json:"accessToken,omitempty"` - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // Whether the bot supports attachments - Attachments *bool `json:"attachments,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The ID of the bot this configuration is using - BotID *string `json:"botId,omitempty"` - // Whether to collect contacts - ContactCollection *bool `json:"contactCollection,omitempty"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description *string `json:"description,omitempty"` - // The instance ID - ID string `json:"id"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The session duration (in milliseconds) - SessionDuration *float64 `json:"sessionDuration,omitempty"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` - // The Messenger integration verify token - VerifyToken string `json:"verifyToken"` -} - -type IntegrationMessengerSetupParams struct { - // The ID of the Messenger integration - MessengerIntegrationID string `json:"messengerIntegrationId"` -} - -type IntegrationMessengerSetupResponse struct { - // The ID of the Messenger Integration - ID string `json:"id"` +type IntegrationMCPServerUpdateRequest struct { + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The associated description + Description *string `json:"description,omitempty"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The ID of the OAuth connection for IdP-based authentication + OAuthConnectionID *string `json:"oAuthConnectionId,omitempty"` + // The ID of the skillset + SkillsetID *string `json:"skillsetId,omitempty"` } -type IntegrationMessengerUpdateParams struct { - // The ID of the Messenger integration - MessengerIntegrationID string `json:"messengerIntegrationId"` +type IntegrationMCPServerUpdateResponse struct { + // The ID of the McpServer Integration + ID string `json:"id"` } -// A bot configuration that can be applied without a dedicated bot instance. -type IntegrationMessengerUpdateRequest struct { - // The Messenger integration access token - AccessToken *string `json:"accessToken,omitempty"` - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // Whether the bot supports attachments - Attachments *bool `json:"attachments,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The ID of the bot this configuration is using - BotID *string `json:"botId,omitempty"` - // Whether to collect contacts - ContactCollection *bool `json:"contactCollection,omitempty"` - // The associated description - Description *string `json:"description,omitempty"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The session duration (in milliseconds) - SessionDuration *float64 `json:"sessionDuration,omitempty"` +type IntegrationMCPServerFetchParams struct { + // The ID of the McpServer integration to retrieve + McpserverIntegrationID string `json:"mcpserverIntegrationId"` } -type IntegrationMessengerUpdateResponse struct { - // The ID of the Messenger Integration - ID string `json:"id"` +// Blueprint properties +type IntegrationMCPServerFetchResponse struct { + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description *string `json:"description,omitempty"` + // The instance ID + ID string `json:"id"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The ID of the OAuth connection for IdP-based authentication + OAuthConnectionID *string `json:"oAuthConnectionId,omitempty"` + // The ID of the skillset + SkillsetID *string `json:"skillsetId,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` } -// A bot configuration that can be applied without a dedicated bot instance. -type IntegrationMessengerCreateRequest struct { - // The Messenger integration access token - AccessToken *string `json:"accessToken,omitempty"` - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // Whether the bot supports attachments - Attachments *bool `json:"attachments,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The ID of the bot this configuration is using - BotID *string `json:"botId,omitempty"` - // Whether to collect contacts - ContactCollection *bool `json:"contactCollection,omitempty"` - // The associated description - Description *string `json:"description,omitempty"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The session duration (in milliseconds) - SessionDuration *float64 `json:"sessionDuration,omitempty"` +type IntegrationMCPServerDeleteParams struct { + // The ID of the McpServer integration + McpserverIntegrationID string `json:"mcpserverIntegrationId"` } -type IntegrationMessengerCreateResponse struct { - // The ID of the Messenger Integration - ID string `json:"id"` +type IntegrationMCPServerDeleteResponse struct { + // The ID of the deleted McpServer integration + ID string `json:"id"` } -type IntegrationMessengerListParams struct { - // The cursor to use for pagination - Cursor *string `json:"cursor,omitempty"` - // Key-value pairs to filter the partner users by metadata - Meta map[string]string `json:"meta,omitempty"` - // The order of the paginated items - Order *IntegrationMessengerListParamsOrder `json:"order,omitempty"` - // The number of items to retrieve - Take *int64 `json:"take,omitempty"` +type IntegrationInstagramListParams struct { + // The cursor to use for pagination + Cursor *string `json:"cursor,omitempty"` + // Key-value pairs to filter the items by metadata + Meta map[string]string `json:"meta,omitempty"` + // The order of the paginated items + Order *IntegrationInstagramListParamsOrder `json:"order,omitempty"` + // The number of items to retrieve + Take *int64 `json:"take,omitempty"` } -type IntegrationMessengerListResponse struct { - // Cursor for fetching the next page - Cursor string `json:"cursor"` - Items []IntegrationMessengerListResponseItem `json:"items"` +type IntegrationInstagramListResponse struct { + // Cursor for fetching the next page + Cursor string `json:"cursor"` + Items []IntegrationInstagramListResponseItem `json:"items"` } // Blueprint properties -type IntegrationMessengerListResponseItem struct { - // The Messenger integration access token (returned as '********' if configured, null - // otherwise) - AccessToken *string `json:"accessToken,omitempty"` - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // Whether the bot supports attachments - Attachments *bool `json:"attachments,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The ID of the bot this configuration is using - BotID *string `json:"botId,omitempty"` - // Whether to collect contacts - ContactCollection *bool `json:"contactCollection,omitempty"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description *string `json:"description,omitempty"` - // The instance ID - ID string `json:"id"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The session duration (in milliseconds) - SessionDuration *float64 `json:"sessionDuration,omitempty"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` - // The Messenger integration verify token - VerifyToken string `json:"verifyToken"` +type IntegrationInstagramListResponseItem struct { + // The Instagram integration access token (returned as '********' if configured, null + // otherwise) + AccessToken *string `json:"accessToken,omitempty"` + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // The Meta app secret (returned as '********' if configured, null otherwise) + AppSecret *string `json:"appSecret,omitempty"` + // Whether the bot supports attachments + Attachments *bool `json:"attachments,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The ID of the bot this configuration is using + BotID *string `json:"botId,omitempty"` + // Whether to collect contacts + ContactCollection *bool `json:"contactCollection,omitempty"` + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description *string `json:"description,omitempty"` + // The instance ID + ID string `json:"id"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The session duration (in milliseconds) + SessionDuration *float64 `json:"sessionDuration,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` + // The Instagram integration verify token + VerifyToken string `json:"verifyToken"` } -type IntegrationMessengerListStreamItem struct { - // Blueprint properties - Data IntegrationMessengerListStreamItemData `json:"data"` - // The type of event - Type IntegrationMessengerListStreamItemType `json:"type"` +type IntegrationInstagramListStreamItem struct { + // Blueprint properties + Data IntegrationInstagramListStreamItemData `json:"data"` + // The type of event + Type IntegrationInstagramListStreamItemType `json:"type"` } // Blueprint properties -type IntegrationMessengerListStreamItemData struct { - // The Messenger integration access token (returned as '********' if configured, null - // otherwise) - AccessToken *string `json:"accessToken,omitempty"` - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // Whether the bot supports attachments - Attachments *bool `json:"attachments,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The ID of the bot this configuration is using - BotID *string `json:"botId,omitempty"` - // Whether to collect contacts - ContactCollection *bool `json:"contactCollection,omitempty"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description *string `json:"description,omitempty"` - // The instance ID - ID string `json:"id"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The session duration (in milliseconds) - SessionDuration *float64 `json:"sessionDuration,omitempty"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` - // The Messenger integration verify token - VerifyToken string `json:"verifyToken"` +type IntegrationInstagramListStreamItemData struct { + // The Instagram integration access token (returned as '********' if configured, null + // otherwise) + AccessToken *string `json:"accessToken,omitempty"` + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // The Meta app secret (returned as '********' if configured, null otherwise) + AppSecret *string `json:"appSecret,omitempty"` + // Whether the bot supports attachments + Attachments *bool `json:"attachments,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The ID of the bot this configuration is using + BotID *string `json:"botId,omitempty"` + // Whether to collect contacts + ContactCollection *bool `json:"contactCollection,omitempty"` + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description *string `json:"description,omitempty"` + // The instance ID + ID string `json:"id"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The session duration (in milliseconds) + SessionDuration *float64 `json:"sessionDuration,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` + // The Instagram integration verify token + VerifyToken string `json:"verifyToken"` } -type MicrosoftteamsIntegrationDeleteParams struct { - // The ID of the Microsoft Teams integration - MicrosoftteamsIntegrationID string `json:"microsoftteamsIntegrationId"` +// A bot configuration that can be applied without a dedicated bot instance. +type IntegrationInstagramCreateRequest struct { + // The Instagram integration access token + AccessToken *string `json:"accessToken,omitempty"` + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // The Meta app secret used to validate webhook signatures + AppSecret *string `json:"appSecret,omitempty"` + // Whether the bot supports attachments + Attachments *bool `json:"attachments,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The ID of the bot this configuration is using + BotID *string `json:"botId,omitempty"` + // Whether to collect contacts + ContactCollection *bool `json:"contactCollection,omitempty"` + // The associated description + Description *string `json:"description,omitempty"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The session duration (in milliseconds) + SessionDuration *float64 `json:"sessionDuration,omitempty"` } -type MicrosoftteamsIntegrationDeleteResponse struct { - // The ID of the deleted Microsoft Teams integration - ID string `json:"id"` +type IntegrationInstagramCreateResponse struct { + // The ID of the Instagram Integration + ID string `json:"id"` } -type MicrosoftteamsIntegrationFetchParams struct { - // The ID of the Microsoft Teams integration to retrieve - MicrosoftteamsIntegrationID string `json:"microsoftteamsIntegrationId"` +type IntegrationInstagramUpdateParams struct { + // The ID of the Instagram integration + InstagramIntegrationID string `json:"instagramIntegrationId"` } -// Blueprint properties -type MicrosoftteamsIntegrationFetchResponse struct { - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // The allowed senders for this integration - AllowFrom *string `json:"allowFrom,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The Microsoft Bot Framework Application ID - BotFrameworkAppID *string `json:"botFrameworkAppId,omitempty"` - // The ID of the bot this configuration is using - BotID *string `json:"botId,omitempty"` - // Weather to collect contacts - ContactCollection *bool `json:"contactCollection,omitempty"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description *string `json:"description,omitempty"` - // The instance ID - ID string `json:"id"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The chat session duration - SessionDuration *float64 `json:"sessionDuration,omitempty"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` +// A bot configuration that can be applied without a dedicated bot instance. +type IntegrationInstagramUpdateRequest struct { + // The Instagram integration access token + AccessToken *string `json:"accessToken,omitempty"` + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // The Meta app secret used to validate webhook signatures + AppSecret *string `json:"appSecret,omitempty"` + // Whether the bot supports attachments + Attachments *bool `json:"attachments,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The ID of the bot this configuration is using + BotID *string `json:"botId,omitempty"` + // Whether to collect contacts + ContactCollection *bool `json:"contactCollection,omitempty"` + // The associated description + Description *string `json:"description,omitempty"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The session duration (in milliseconds) + SessionDuration *float64 `json:"sessionDuration,omitempty"` } -type MicrosoftteamsIntegrationSetupParams struct { - // The ID of the Microsoft Teams integration - MicrosoftteamsIntegrationID string `json:"microsoftteamsIntegrationId"` +type IntegrationInstagramUpdateResponse struct { + // The ID of the Instagram Integration + ID string `json:"id"` } -type MicrosoftteamsIntegrationSetupResponse struct { - // The ID of the Microsoft Teams integration that was set up - ID string `json:"id"` +type IntegrationInstagramSetupParams struct { + // The ID of the Instagram integration + InstagramIntegrationID string `json:"instagramIntegrationId"` } -type MicrosoftteamsIntegrationUpdateParams struct { - // The ID of the Microsoft Teams integration - MicrosoftteamsIntegrationID string `json:"microsoftteamsIntegrationId"` +type IntegrationInstagramSetupResponse struct { + // The ID of the Instagram Integration + ID string `json:"id"` } -// A bot configuration that can be applied without a dedicated bot instance. -type MicrosoftteamsIntegrationUpdateRequest struct { - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // The allowed senders for this integration - AllowFrom *string `json:"allowFrom,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The Microsoft Bot Framework Application ID - BotFrameworkAppID *string `json:"botFrameworkAppId,omitempty"` - // The Microsoft Bot Framework Application Secret - BotFrameworkAppSecret *string `json:"botFrameworkAppSecret,omitempty"` - // The ID of the bot this configuration is using - BotID *string `json:"botId,omitempty"` - // Weather to collect contacts - ContactCollection *bool `json:"contactCollection,omitempty"` - // The associated description - Description *string `json:"description,omitempty"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The chat session duration - SessionDuration *float64 `json:"sessionDuration,omitempty"` - // The Microsoft Entra tenant ID - TenantID *string `json:"tenantId,omitempty"` +type IntegrationInstagramFetchParams struct { + // The ID of the Instagram integration to retrieve + InstagramIntegrationID string `json:"instagramIntegrationId"` } -type MicrosoftteamsIntegrationUpdateResponse struct { - // The ID of the Microsoft Teams integration - ID string `json:"id"` +// Blueprint properties +type IntegrationInstagramFetchResponse struct { + // The Instagram integration access token (returned as '********' if configured, null + // otherwise) + AccessToken *string `json:"accessToken,omitempty"` + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // The Meta app secret (returned as '********' if configured, null otherwise) + AppSecret *string `json:"appSecret,omitempty"` + // Whether the bot supports attachments + Attachments *bool `json:"attachments,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The ID of the bot this configuration is using + BotID *string `json:"botId,omitempty"` + // Whether to collect contacts + ContactCollection *bool `json:"contactCollection,omitempty"` + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description *string `json:"description,omitempty"` + // The instance ID + ID string `json:"id"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The session duration (in milliseconds) + SessionDuration *float64 `json:"sessionDuration,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` + // The Instagram integration verify token + VerifyToken string `json:"verifyToken"` } -// A bot configuration that can be applied without a dedicated bot instance. -type MicrosoftteamsIntegrationCreateRequest struct { - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // The allowed senders for this integration - AllowFrom *string `json:"allowFrom,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The Microsoft Bot Framework Application ID - BotFrameworkAppID *string `json:"botFrameworkAppId,omitempty"` - // The Microsoft Bot Framework Application Secret - BotFrameworkAppSecret *string `json:"botFrameworkAppSecret,omitempty"` - // The ID of the bot this configuration is using - BotID *string `json:"botId,omitempty"` - // Weather to collect contacts - ContactCollection *bool `json:"contactCollection,omitempty"` - // The associated description - Description *string `json:"description,omitempty"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The chat session duration - SessionDuration *float64 `json:"sessionDuration,omitempty"` - // The Microsoft Entra tenant ID - TenantID *string `json:"tenantId,omitempty"` +type IntegrationInstagramDeleteParams struct { + // The ID of the Instagram integration + InstagramIntegrationID string `json:"instagramIntegrationId"` } -type MicrosoftteamsIntegrationCreateResponse struct { - // The ID of the Microsoft Teams integration - ID string `json:"id"` +type IntegrationInstagramDeleteResponse struct { + // The ID of the deleted Instagram integration + ID string `json:"id"` } -type MicrosoftteamsIntegrationListParams struct { - // The cursor to use for pagination - Cursor *string `json:"cursor,omitempty"` - // Key-value pairs to filter the partner users by metadata - Meta map[string]string `json:"meta,omitempty"` - // The order of the paginated items - Order *MicrosoftteamsIntegrationListParamsOrder `json:"order,omitempty"` - // The number of items to retrieve - Take *int64 `json:"take,omitempty"` +type GooglechatIntegrationListParams struct { + // The cursor to use for pagination + Cursor *string `json:"cursor,omitempty"` + // Key-value pairs to filter by metadata + Meta map[string]string `json:"meta,omitempty"` + // The order of the paginated items + Order *GooglechatIntegrationListParamsOrder `json:"order,omitempty"` + // The number of items to retrieve + Take *int64 `json:"take,omitempty"` } -type MicrosoftteamsIntegrationListResponse struct { - // Cursor for fetching the next page - Cursor string `json:"cursor"` - Items []MicrosoftteamsIntegrationListResponseItem `json:"items"` +type GooglechatIntegrationListResponse struct { + // Cursor for fetching the next page + Cursor string `json:"cursor"` + Items []GooglechatIntegrationListResponseItem `json:"items"` } // Blueprint properties -type MicrosoftteamsIntegrationListResponseItem struct { - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // The allowed senders for this integration - AllowFrom *string `json:"allowFrom,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The Microsoft Bot Framework Application ID - BotFrameworkAppID *string `json:"botFrameworkAppId,omitempty"` - // The ID of the bot this configuration is using - BotID *string `json:"botId,omitempty"` - // Weather to collect contacts - ContactCollection *bool `json:"contactCollection,omitempty"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description *string `json:"description,omitempty"` - // The instance ID - ID string `json:"id"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The chat session duration - SessionDuration *float64 `json:"sessionDuration,omitempty"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` +type GooglechatIntegrationListResponseItem struct { + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // The allowed senders for this integration + AllowFrom *string `json:"allowFrom,omitempty"` + // Whether file attachment processing is enabled + Attachments *bool `json:"attachments,omitempty"` + // The auto-respond configuration + AutoRespond *string `json:"autoRespond,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The ID of the bot this configuration is using + BotID *string `json:"botId,omitempty"` + // Whether to collect contacts + ContactCollection *bool `json:"contactCollection,omitempty"` + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description *string `json:"description,omitempty"` + // The instance ID + ID string `json:"id"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The Google Cloud project number for JWT verification + ProjectNumber *string `json:"projectNumber,omitempty"` + // The service account key (returned as '********' if configured, null otherwise) + ServiceAccountKey *string `json:"serviceAccountKey,omitempty"` + // The session duration for the integration + SessionDuration *float64 `json:"sessionDuration,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` } -type MicrosoftteamsIntegrationListStreamItem struct { - // Blueprint properties - Data MicrosoftteamsIntegrationListStreamItemData `json:"data"` - // The type of event - Type MicrosoftteamsIntegrationListStreamItemType `json:"type"` +type GooglechatIntegrationListStreamItem struct { + // Blueprint properties + Data GooglechatIntegrationListStreamItemData `json:"data"` + // The type of event + Type GooglechatIntegrationListStreamItemType `json:"type"` } // Blueprint properties -type MicrosoftteamsIntegrationListStreamItemData struct { - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // The allowed senders for this integration - AllowFrom *string `json:"allowFrom,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The Microsoft Bot Framework Application ID - BotFrameworkAppID *string `json:"botFrameworkAppId,omitempty"` - // The ID of the bot this configuration is using - BotID *string `json:"botId,omitempty"` - // Weather to collect contacts - ContactCollection *bool `json:"contactCollection,omitempty"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description *string `json:"description,omitempty"` - // The instance ID - ID string `json:"id"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The chat session duration - SessionDuration *float64 `json:"sessionDuration,omitempty"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` -} - -type IntegrationNotionDeleteParams struct { - // The ID of the Notion integration - NotionIntegrationID string `json:"notionIntegrationId"` +type GooglechatIntegrationListStreamItemData struct { + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // The allowed senders for this integration + AllowFrom *string `json:"allowFrom,omitempty"` + // Whether file attachment processing is enabled + Attachments *bool `json:"attachments,omitempty"` + // The auto-respond configuration + AutoRespond *string `json:"autoRespond,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The ID of the bot this configuration is using + BotID *string `json:"botId,omitempty"` + // Whether to collect contacts + ContactCollection *bool `json:"contactCollection,omitempty"` + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description *string `json:"description,omitempty"` + // The instance ID + ID string `json:"id"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The Google Cloud project number for JWT verification + ProjectNumber *string `json:"projectNumber,omitempty"` + // The service account key (returned as '********' if configured, null otherwise) + ServiceAccountKey *string `json:"serviceAccountKey,omitempty"` + // The session duration for the integration + SessionDuration *float64 `json:"sessionDuration,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` } -type IntegrationNotionDeleteResponse struct { - // The ID of the deleted Notion integration - ID string `json:"id"` +// A bot configuration that can be applied without a dedicated bot instance. +type GooglechatIntegrationCreateRequest struct { + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // Restrict which Google Chat users can interact with this integration. Accepts user + // resource names (users/USER_ID) or * to allow all. One per line. + AllowFrom *string `json:"allowFrom,omitempty"` + // Whether file attachment processing is enabled + Attachments *bool `json:"attachments,omitempty"` + // Configure automatic response behavior. Use '@all' to respond to all messages, '@agent + // ' for agent-powered decisions, or custom instructions for lightweight LLM + // filtering. Null/empty defaults to DMs and direct messages only. + AutoRespond *string `json:"autoRespond,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The ID of the bot this configuration is using + BotID *string `json:"botId,omitempty"` + // Whether to collect contacts + ContactCollection *bool `json:"contactCollection,omitempty"` + // The associated description + Description *string `json:"description,omitempty"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The Google Cloud project number used to verify incoming event JWT audience claims + ProjectNumber *string `json:"projectNumber,omitempty"` + // The Google service account JSON key for sending messages via the Chat REST API + ServiceAccountKey *string `json:"serviceAccountKey,omitempty"` + // The session duration for the Google Chat integration + SessionDuration *float64 `json:"sessionDuration,omitempty"` } -type IntegrationNotionFetchParams struct { - // The ID of the Notion integration to retrieve - NotionIntegrationID string `json:"notionIntegrationId"` +type GooglechatIntegrationCreateResponse struct { + // The ID of the Google Chat Integration + ID string `json:"id"` } -// Blueprint properties -type IntegrationNotionFetchResponse struct { - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The ID of the dataset to sync into - DatasetID string `json:"datasetId"` - // The associated description - Description *string `json:"description,omitempty"` - // The time in milliseconds until records expire - ExpiresIn *float64 `json:"expiresIn,omitempty"` - // The instance ID - ID string `json:"id"` - // The timestamp of the last successful sync - LastSyncedAt *time.Time `json:"lastSyncedAt,omitempty"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The sync schedule - SyncSchedule *string `json:"syncSchedule,omitempty"` - // The sync status of an integration - SyncStatus *IntegrationNotionFetchResponseSyncStatus `json:"syncStatus,omitempty"` - // The Notion API token (returned as '********' if configured, null otherwise) - Token *string `json:"token,omitempty"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` +type GooglechatIntegrationUpdateParams struct { + // The ID of the Google Chat integration + GooglechatIntegrationID string `json:"googlechatIntegrationId"` } -type IntegrationNotionSyncParams struct { - // The ID of the Notion integration - NotionIntegrationID string `json:"notionIntegrationId"` +// A bot configuration that can be applied without a dedicated bot instance. +type GooglechatIntegrationUpdateRequest struct { + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // The allowed senders for this integration + AllowFrom *string `json:"allowFrom,omitempty"` + // Whether file attachment processing is enabled + Attachments *bool `json:"attachments,omitempty"` + // The auto-respond configuration + AutoRespond *string `json:"autoRespond,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The ID of the bot this configuration is using + BotID *string `json:"botId,omitempty"` + // Whether to collect contacts + ContactCollection *bool `json:"contactCollection,omitempty"` + // The associated description + Description *string `json:"description,omitempty"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The Google Cloud project number for JWT verification + ProjectNumber *string `json:"projectNumber,omitempty"` + // The Google service account JSON key for sending messages + ServiceAccountKey *string `json:"serviceAccountKey,omitempty"` + // The session duration for the integration + SessionDuration *float64 `json:"sessionDuration,omitempty"` } -type IntegrationNotionSyncResponse struct { - // The ID of the synced Notion integration - ID string `json:"id"` +type GooglechatIntegrationUpdateResponse struct { + // The ID of the Google Chat Integration + ID string `json:"id"` } -type IntegrationNotionUpdateParams struct { - // The ID of the Notion integration - NotionIntegrationID string `json:"notionIntegrationId"` +type GooglechatIntegrationSetupParams struct { + // The ID of the Google Chat integration + GooglechatIntegrationID string `json:"googlechatIntegrationId"` } -// Blueprint properties -type IntegrationNotionUpdateRequest struct { - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The ID of the dataset to sync into - DatasetID *string `json:"datasetId,omitempty"` - // The associated description - Description *string `json:"description,omitempty"` - // The time in milliseconds until records expire - ExpiresIn *float64 `json:"expiresIn,omitempty"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The sync schedule - SyncSchedule *string `json:"syncSchedule,omitempty"` - // The Notion API token - Token *string `json:"token,omitempty"` +type GooglechatIntegrationSetupResponse struct { + // The ID of the Google Chat Integration + ID string `json:"id"` } -type IntegrationNotionUpdateResponse struct { - // The ID of the Notion Integration - ID string `json:"id"` +type GooglechatIntegrationFetchParams struct { + // The ID of the Google Chat integration to retrieve + GooglechatIntegrationID string `json:"googlechatIntegrationId"` } // Blueprint properties -type IntegrationNotionCreateRequest struct { - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The ID of the dataset to sync into - DatasetID *string `json:"datasetId,omitempty"` - // The associated description - Description *string `json:"description,omitempty"` - // The time in milliseconds until records expire - ExpiresIn *float64 `json:"expiresIn,omitempty"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The sync schedule - SyncSchedule *string `json:"syncSchedule,omitempty"` - // The Notion API token - Token *string `json:"token,omitempty"` -} - -type IntegrationNotionCreateResponse struct { - // The ID of the Notion Integration - ID string `json:"id"` +type GooglechatIntegrationFetchResponse struct { + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // The allowed senders for this integration + AllowFrom *string `json:"allowFrom,omitempty"` + // Whether file attachment processing is enabled + Attachments *bool `json:"attachments,omitempty"` + // The auto-respond configuration + AutoRespond *string `json:"autoRespond,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The ID of the bot this configuration is using + BotID *string `json:"botId,omitempty"` + // Whether to collect contacts + ContactCollection *bool `json:"contactCollection,omitempty"` + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description *string `json:"description,omitempty"` + // The instance ID + ID string `json:"id"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The Google Cloud project number for JWT verification + ProjectNumber *string `json:"projectNumber,omitempty"` + // The service account key (returned as '********' if configured, null otherwise) + ServiceAccountKey *string `json:"serviceAccountKey,omitempty"` + // The session duration for the integration + SessionDuration *float64 `json:"sessionDuration,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` } -type IntegrationNotionListParams struct { - // The cursor to use for pagination - Cursor *string `json:"cursor,omitempty"` - // Key-value pairs to filter the partner users by metadata - Meta map[string]string `json:"meta,omitempty"` - // The order of the paginated items - Order *IntegrationNotionListParamsOrder `json:"order,omitempty"` - // The number of items to retrieve - Take *int64 `json:"take,omitempty"` +type GooglechatIntegrationDeleteParams struct { + // The ID of the Google Chat integration + GooglechatIntegrationID string `json:"googlechatIntegrationId"` } -type IntegrationNotionListResponse struct { - // Cursor for fetching the next page - Cursor string `json:"cursor"` - Items []IntegrationNotionListResponseItem `json:"items"` +type GooglechatIntegrationDeleteResponse struct { + // The ID of the deleted Google Chat integration + ID string `json:"id"` } -// Blueprint properties -type IntegrationNotionListResponseItem struct { - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The ID of the dataset to sync into - DatasetID string `json:"datasetId"` - // The associated description - Description *string `json:"description,omitempty"` - // The time in milliseconds until records expire - ExpiresIn *float64 `json:"expiresIn,omitempty"` - // The instance ID - ID string `json:"id"` - // The timestamp of the last successful sync - LastSyncedAt *time.Time `json:"lastSyncedAt,omitempty"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The sync schedule - SyncSchedule *string `json:"syncSchedule,omitempty"` - // The sync status of an integration - SyncStatus *PurpleSyncStatus `json:"syncStatus,omitempty"` - // The Notion API token (returned as '********' if configured, null otherwise) - Token *string `json:"token,omitempty"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` +type GithubIntegrationListParams struct { + // The cursor to use for pagination + Cursor *string `json:"cursor,omitempty"` + // Key-value pairs to filter by metadata + Meta map[string]string `json:"meta,omitempty"` + // The order of the paginated items + Order *GithubIntegrationListParamsOrder `json:"order,omitempty"` + // The number of items to retrieve + Take *int64 `json:"take,omitempty"` } -type IntegrationNotionListStreamItem struct { - // Blueprint properties - Data IntegrationNotionListStreamItemData `json:"data"` - // The type of event - Type IntegrationNotionListStreamItemType `json:"type"` +type GithubIntegrationListResponse struct { + // Cursor for fetching the next page + Cursor string `json:"cursor"` + Items []GithubIntegrationListResponseItem `json:"items"` } // Blueprint properties -type IntegrationNotionListStreamItemData struct { - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The ID of the dataset to sync into - DatasetID string `json:"datasetId"` - // The associated description - Description *string `json:"description,omitempty"` - // The time in milliseconds until records expire - ExpiresIn *float64 `json:"expiresIn,omitempty"` - // The instance ID - ID string `json:"id"` - // The timestamp of the last successful sync - LastSyncedAt *time.Time `json:"lastSyncedAt,omitempty"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The sync schedule - SyncSchedule *string `json:"syncSchedule,omitempty"` - // The sync status of an integration - SyncStatus *FluffySyncStatus `json:"syncStatus,omitempty"` - // The Notion API token (returned as '********' if configured, null otherwise) - Token *string `json:"token,omitempty"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` +type GithubIntegrationListResponseItem struct { + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The ID of the bot this configuration is using + BotID *string `json:"botId,omitempty"` + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description *string `json:"description,omitempty"` + // The instance ID + ID string `json:"id"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` } -type IntegrationSitemapDeleteParams struct { - // The ID of the Sitemap integration - SitemapIntegrationID string `json:"sitemapIntegrationId"` +// A bot configuration that can be applied without a dedicated bot instance. +type GithubIntegrationCreateRequest struct { + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // Restricts who can summon the bot. Comma or newline separated list of `@collaborators`, + // `@login`, `owner/repo`, `owner/*` or `*`. Defaults to `@collaborators`. + AllowFrom *string `json:"allowFrom,omitempty"` + // This integration's GitHub App id (signs the App JWT) + AppID *string `json:"appId,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The ID of the bot this configuration is using + BotID *string `json:"botId,omitempty"` + // Whether to collect contacts + ContactCollection *bool `json:"contactCollection,omitempty"` + // The associated description + Description *string `json:"description,omitempty"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // This integration's GitHub App private key (PEM) + PrivateKey *string `json:"privateKey,omitempty"` + // The session duration for the GitHub integration + SessionDuration *float64 `json:"sessionDuration,omitempty"` + // The GitHub App webhook secret used to validate x-hub-signature-256 + WebhookSecret *string `json:"webhookSecret,omitempty"` } -type IntegrationSitemapDeleteResponse struct { - // The ID of the deleted Sitemap integration - ID string `json:"id"` +type GithubIntegrationCreateResponse struct { + // The ID of the GitHub Integration + ID string `json:"id"` } -type IntegrationSitemapFetchParams struct { - // The ID of the Sitemap integration to retrieve - SitemapIntegrationID string `json:"sitemapIntegrationId"` +type GithubIntegrationUpdateParams struct { + // The ID of the GitHub integration + GithubIntegrationID string `json:"githubIntegrationId"` } -// Blueprint properties -type IntegrationSitemapFetchResponse struct { - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The ID of the dataset used in the Sitemap integration - DatasetID string `json:"datasetId"` - // The associated description - Description *string `json:"description,omitempty"` - // Record expiry in milliseconds - ExpiresIn *float64 `json:"expiresIn,omitempty"` - // The glob rules to use for this Sitemap integration - Glob *string `json:"glob,omitempty"` - // The instance ID - ID string `json:"id"` - // Indicates if the Sitemap integration should use JavaScript during the spidering process - Javascript *bool `json:"javascript,omitempty"` - // The timestamp of the last successful sync - LastSyncedAt *time.Time `json:"lastSyncedAt,omitempty"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The selector rules to use for this Sitemap integration - Selectors *string `json:"selectors,omitempty"` - // The sync schedule to use for this Sitemap integration - SyncSchedule *string `json:"syncSchedule,omitempty"` - // The sync status of an integration - SyncStatus *IntegrationSitemapFetchResponseSyncStatus `json:"syncStatus,omitempty"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` - // The URL to use for this Sitemap integration - URL *string `json:"url,omitempty"` +// A bot configuration that can be applied without a dedicated bot instance. +type GithubIntegrationUpdateRequest struct { + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The ID of the bot this configuration is using + BotID *string `json:"botId,omitempty"` + // The associated description + Description *string `json:"description,omitempty"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` } -type IntegrationSitemapSyncParams struct { - // The ID of the Sitemap integration - SitemapIntegrationID string `json:"sitemapIntegrationId"` +type GithubIntegrationUpdateResponse struct { + // The ID of the GitHub Integration + ID string `json:"id"` } -type IntegrationSitemapSyncResponse struct { - // The ID of the Sitemap Integration - ID string `json:"id"` +type GithubIntegrationSetupParams struct { + GithubIntegrationID string `json:"githubIntegrationId"` } -type IntegrationSitemapUpdateParams struct { - // The ID of the Sitemap integration - SitemapIntegrationID string `json:"sitemapIntegrationId"` +type GithubIntegrationFetchParams struct { + // The ID of the GitHub integration to retrieve + GithubIntegrationID string `json:"githubIntegrationId"` } // Blueprint properties -type IntegrationSitemapUpdateRequest struct { - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The ID of the dataset to use for this Sitemap integration - DatasetID *string `json:"datasetId,omitempty"` - // The associated description - Description *string `json:"description,omitempty"` - // Record expiry in milliseconds - ExpiresIn *float64 `json:"expiresIn,omitempty"` - // The glob rules to use for this Sitemap integration - Glob *string `json:"glob,omitempty"` - // Indicates if the Sitemap integration should use JavaScript during the spidering process - Javascript *bool `json:"javascript,omitempty"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The selector rules to use for this Sitemap integration - Selectors *string `json:"selectors,omitempty"` - // The sync schedule to use for this Sitemap integration - SyncSchedule *string `json:"syncSchedule,omitempty"` - // The URL to use for this Sitemap integration - URL *string `json:"url,omitempty"` -} - -type IntegrationSitemapUpdateResponse struct { - // The ID of the Sitemap Integration - ID string `json:"id"` +type GithubIntegrationFetchResponse struct { + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // Who may talk to the agent through this integration + AllowFrom *string `json:"allowFrom,omitempty"` + // The GitHub App ID + AppID *string `json:"appId,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The ID of the bot this configuration is using + BotID *string `json:"botId,omitempty"` + // Whether to collect contacts + ContactCollection *bool `json:"contactCollection,omitempty"` + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description *string `json:"description,omitempty"` + // The instance ID + ID string `json:"id"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The GitHub App private key (returned as '********' if configured, null otherwise) + PrivateKey *string `json:"privateKey,omitempty"` + // The session duration for the GitHub integration + SessionDuration *float64 `json:"sessionDuration,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` + // The webhook secret to paste into the GitHub App settings + WebhookSecret *string `json:"webhookSecret,omitempty"` } -// Blueprint properties -type IntegrationSitemapCreateRequest struct { - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The ID of the dataset to use for this Sitemap integration - DatasetID *string `json:"datasetId,omitempty"` - // The associated description - Description *string `json:"description,omitempty"` - // Record expiry in milliseconds - ExpiresIn *float64 `json:"expiresIn,omitempty"` - // The glob rules to use for this Sitemap integration - Glob *string `json:"glob,omitempty"` - // Indicates if the Sitemap integration should use JavaScript during the spidering process - Javascript *bool `json:"javascript,omitempty"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The selector rules to use for this Sitemap integration - Selectors *string `json:"selectors,omitempty"` - // The sync schedule to use for this Sitemap integration - SyncSchedule *string `json:"syncSchedule,omitempty"` - // The URL to use for this Sitemap integration - URL *string `json:"url,omitempty"` +type GithubIntegrationDeleteParams struct { + // The ID of the GitHub integration + GithubIntegrationID string `json:"githubIntegrationId"` } -type IntegrationSitemapCreateResponse struct { - // The ID of the Sitemap Integration - ID string `json:"id"` +type GithubIntegrationDeleteResponse struct { + // The ID of the deleted GitHub integration + ID string `json:"id"` } -type IntegrationSitemapListParams struct { - // The cursor to use for pagination - Cursor *string `json:"cursor,omitempty"` - // Key-value pairs to filter the partner users by metadata - Meta map[string]string `json:"meta,omitempty"` - // The order of the paginated items - Order *IntegrationSitemapListParamsOrder `json:"order,omitempty"` - // The number of items to retrieve - Take *int64 `json:"take,omitempty"` +type IntegrationExtractListParams struct { + // The cursor to use for pagination + Cursor *string `json:"cursor,omitempty"` + // Key-value pairs to filter the items by metadata + Meta map[string]string `json:"meta,omitempty"` + // The order of the paginated items + Order *IntegrationExtractListParamsOrder `json:"order,omitempty"` + // The number of items to retrieve + Take *int64 `json:"take,omitempty"` } -type IntegrationSitemapListResponse struct { - // Cursor for fetching the next page - Cursor string `json:"cursor"` - Items []IntegrationSitemapListResponseItem `json:"items"` +type IntegrationExtractListResponse struct { + // Cursor for fetching the next page + Cursor string `json:"cursor"` + Items []IntegrationExtractListResponseItem `json:"items"` } // Blueprint properties -type IntegrationSitemapListResponseItem struct { - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The ID of the dataset used in the Sitemap integration - DatasetID string `json:"datasetId"` - // The associated description - Description *string `json:"description,omitempty"` - // Record expiry in milliseconds - ExpiresIn *float64 `json:"expiresIn,omitempty"` - // The glob rules to use for this Sitemap integration - Glob *string `json:"glob,omitempty"` - // The instance ID - ID string `json:"id"` - // Indicates if the Sitemap integration should use JavaScript during the spidering process - Javascript *bool `json:"javascript,omitempty"` - // The timestamp of the last successful sync - LastSyncedAt *time.Time `json:"lastSyncedAt,omitempty"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The selector rules to use for this Sitemap integration - Selectors *string `json:"selectors,omitempty"` - // The sync schedule to use for this Sitemap integration - SyncSchedule *string `json:"syncSchedule,omitempty"` - // The sync status of an integration - SyncStatus *TentacledSyncStatus `json:"syncStatus,omitempty"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` - // The URL to use for this Sitemap integration - URL *string `json:"url,omitempty"` +type IntegrationExtractListResponseItem struct { + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The ID of the Bot to use + BotID string `json:"botId"` + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description *string `json:"description,omitempty"` + // The instance ID + ID string `json:"id"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The language model to use for data extraction + Model *string `json:"model,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // Optional webhook to receive the extracted data + Request *string `json:"request,omitempty"` + // The configured extraction schema + Schema map[string]interface{} `json:"schema,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` } -type IntegrationSitemapListStreamItem struct { - // Blueprint properties - Data IntegrationSitemapListStreamItemData `json:"data"` - // The type of event - Type IntegrationSitemapListStreamItemType `json:"type"` +type IntegrationExtractListStreamItem struct { + // Blueprint properties + Data IntegrationExtractListStreamItemData `json:"data"` + // The type of event + Type IntegrationExtractListStreamItemType `json:"type"` } // Blueprint properties -type IntegrationSitemapListStreamItemData struct { - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The ID of the dataset used in the Sitemap integration - DatasetID string `json:"datasetId"` - // The associated description - Description *string `json:"description,omitempty"` - // Record expiry in milliseconds - ExpiresIn *float64 `json:"expiresIn,omitempty"` - // The glob rules to use for this Sitemap integration - Glob *string `json:"glob,omitempty"` - // The instance ID - ID string `json:"id"` - // Indicates if the Sitemap integration should use JavaScript during the spidering process - Javascript *bool `json:"javascript,omitempty"` - // The timestamp of the last successful sync - LastSyncedAt *time.Time `json:"lastSyncedAt,omitempty"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The selector rules to use for this Sitemap integration - Selectors *string `json:"selectors,omitempty"` - // The sync schedule to use for this Sitemap integration - SyncSchedule *string `json:"syncSchedule,omitempty"` - // The sync status of an integration - SyncStatus *StickySyncStatus `json:"syncStatus,omitempty"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` - // The URL to use for this Sitemap integration - URL *string `json:"url,omitempty"` +type IntegrationExtractListStreamItemData struct { + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The ID of the Bot to use + BotID string `json:"botId"` + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description *string `json:"description,omitempty"` + // The instance ID + ID string `json:"id"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The language model to use for data extraction + Model *string `json:"model,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // Optional webhook to receive the extracted data + Request *string `json:"request,omitempty"` + // The configured extraction schema + Schema map[string]interface{} `json:"schema,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` } -type SkillServerIntegrationDeleteParams struct { - // The ID of the SkillServer integration - SkillserverIntegrationID string `json:"skillserverIntegrationId"` +// Blueprint properties +type IntegrationExtractCreateRequest struct { + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The ID of the Bot to use + BotID *string `json:"botId,omitempty"` + // The associated description + Description *string `json:"description,omitempty"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The language model to use for data extraction + Model *string `json:"model,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // Optional webhook to receive the extracted data + Request *string `json:"request,omitempty"` + // The configured extraction schema + Schema map[string]interface{} `json:"schema,omitempty"` } -type SkillServerIntegrationDeleteResponse struct { - // The ID of the deleted SkillServer integration - ID string `json:"id"` +type IntegrationExtractCreateResponse struct { + // The ID of the Extract Integration + ID string `json:"id"` } -type SkillServerIntegrationFetchParams struct { - // The ID of the SkillServer integration to retrieve - SkillserverIntegrationID string `json:"skillserverIntegrationId"` +type IntegrationExtractUpdateParams struct { + // The ID of the Extract integration + ExtractIntegrationID string `json:"extractIntegrationId"` } // Blueprint properties -type SkillServerIntegrationFetchResponse struct { - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description *string `json:"description,omitempty"` - // The instance ID - ID string `json:"id"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The ID of the skillset - SkillsetID *string `json:"skillsetId,omitempty"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` +type IntegrationExtractUpdateRequest struct { + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The ID of the Bot to use + BotID *string `json:"botId,omitempty"` + // The associated description + Description *string `json:"description,omitempty"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The language model to use for data extraction + Model *string `json:"model,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // Optional webhook to receive the extracted data + Request *string `json:"request,omitempty"` + // The configured extraction schema + Schema map[string]interface{} `json:"schema,omitempty"` } -type SkillServerManualFetchParams struct { - // The ID of the SkillServer integration - SkillserverIntegrationID string `json:"skillserverIntegrationId"` +type IntegrationExtractUpdateResponse struct { + // The ID of the Extract Integration + ID string `json:"id"` } -type SkillServerAbilityInvokeParams struct { - // Set to "json" to receive a JSON response - Format *Format `json:"format,omitempty"` - // Optional session id to group tool state across calls - Session *string `json:"session,omitempty"` - // The ID of the SkillServer integration - SkillserverIntegrationID string `json:"skillserverIntegrationId"` +type IntegrationExtractTriggerParams struct { + // The ID of the Extract integration + ExtractIntegrationID string `json:"extractIntegrationId"` } -type SkillServerAbilityInvokeRequest struct { - // The name of the ability to invoke (as listed in the manual) - Ability string `json:"ability"` - // The ability input - Input map[string]interface{} `json:"input,omitempty"` +type IntegrationExtractTriggerRequest struct { + // Array of conversation IDs to process + ConversationIDS []string `json:"conversationIds,omitempty"` + // Number of recent conversations to process (default 20) + Sample *int64 `json:"sample,omitempty"` } -type SkillServerAbilityInvokeResponse struct { - Error *string `json:"error,omitempty"` - Result interface{} `json:"result"` +type IntegrationExtractTriggerResponse struct { + // ID of the extract integration + ID string `json:"id"` + // Number of conversations queued for processing + Triggered float64 `json:"triggered"` } -type SkillServerIntegrationUpdateParams struct { - // The ID of the SkillServer integration - SkillserverIntegrationID string `json:"skillserverIntegrationId"` +type IntegrationExtractFetchParams struct { + // The ID of the Extract integration to retrieve + ExtractIntegrationID string `json:"extractIntegrationId"` } // Blueprint properties -type SkillServerIntegrationUpdateRequest struct { - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The associated description - Description *string `json:"description,omitempty"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The ID of the skillset - SkillsetID *string `json:"skillsetId,omitempty"` +type IntegrationExtractFetchResponse struct { + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The ID of the Bot to use + BotID string `json:"botId"` + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description *string `json:"description,omitempty"` + // The instance ID + ID string `json:"id"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The language model to use for data extraction + Model *string `json:"model,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // Optional webhook to receive the extracted data + Request *string `json:"request,omitempty"` + // The configured extraction schema + Schema map[string]interface{} `json:"schema,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` } -type SkillServerIntegrationUpdateResponse struct { - // The ID of the SkillServer Integration - ID string `json:"id"` +type IntegrationExtractDeleteParams struct { + // The ID of the Extract integration + ExtractIntegrationID string `json:"extractIntegrationId"` } -// Blueprint properties -type SkillServerIntegrationCreateRequest struct { - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The associated description - Description *string `json:"description,omitempty"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The ID of the skillset - SkillsetID *string `json:"skillsetId,omitempty"` +type IntegrationExtractDeleteResponse struct { + // The ID of the deleted Extract integration + ID string `json:"id"` } -type SkillServerIntegrationCreateResponse struct { - // The ID of the SkillServer Integration - ID string `json:"id"` +type ExtractIntegrationItemListParams struct { + // The cursor to use for pagination + Cursor *string `json:"cursor,omitempty"` + // The ID of the extract integration + ExtractIntegrationID string `json:"extractIntegrationId"` + // The order of the paginated items + Order *ExtractIntegrationItemListParamsOrder `json:"order,omitempty"` + // The number of items to retrieve + Take *int64 `json:"take,omitempty"` } -type SkillServerIntegrationListParams struct { - // The cursor to use for pagination - Cursor *string `json:"cursor,omitempty"` - // Key-value pairs to filter by metadata - Meta map[string]string `json:"meta,omitempty"` - // The order of the paginated items - Order *SkillServerIntegrationListParamsOrder `json:"order,omitempty"` - // The number of items to retrieve - Take *int64 `json:"take,omitempty"` +type ExtractIntegrationItemListResponse struct { + // Cursor for fetching the next page + Cursor *string `json:"cursor,omitempty"` + Items []ExtractIntegrationItemListResponseItem `json:"items,omitempty"` } -type SkillServerIntegrationListResponse struct { - // Cursor for fetching the next page - Cursor string `json:"cursor"` - Items []SkillServerIntegrationListResponseItem `json:"items"` +type ExtractIntegrationItemListResponseItem struct { + // The ID of the conversation from which data was extracted + ConversationID *string `json:"conversationId,omitempty"` + // The timestamp when the item was created + CreatedAt *string `json:"createdAt,omitempty"` + // The extracted data matching the integration schema + Data map[string]interface{} `json:"data"` + // The ID of the extract integration + ExtractIntegrationID string `json:"extractIntegrationId"` + // The unique identifier of the item + ID string `json:"id"` + // The timestamp when the item was last updated + UpdatedAt *string `json:"updatedAt,omitempty"` } -// Blueprint properties -type SkillServerIntegrationListResponseItem struct { - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description *string `json:"description,omitempty"` - // The instance ID - ID string `json:"id"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The ID of the skillset - SkillsetID *string `json:"skillsetId,omitempty"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` +type ExtractIntegrationItemsExportParams struct { + // The cursor to use for pagination + Cursor *string `json:"cursor,omitempty"` + // The ID of the extract integration + ExtractIntegrationID string `json:"extractIntegrationId"` + // The order of the paginated items + Order *ExtractIntegrationItemsExportParamsOrder `json:"order,omitempty"` + // The number of items to retrieve + Take *int64 `json:"take,omitempty"` } -type SkillServerIntegrationListStreamItem struct { - // Blueprint properties - Data SkillServerIntegrationListStreamItemData `json:"data"` - // The type of event - Type SkillServerIntegrationListStreamItemType `json:"type"` +type ExtractIntegrationItemsExportResponse struct { + // Cursor for fetching the next page + Cursor *string `json:"cursor,omitempty"` + Items []ExtractIntegrationItemsExportResponseItem `json:"items,omitempty"` } -// Blueprint properties -type SkillServerIntegrationListStreamItemData struct { - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description *string `json:"description,omitempty"` - // The instance ID - ID string `json:"id"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The ID of the skillset - SkillsetID *string `json:"skillsetId,omitempty"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` +type ExtractIntegrationItemsExportResponseItem struct { + // The ID of the conversation from which data was extracted + ConversationID *string `json:"conversationId,omitempty"` + // The timestamp when the item was created + CreatedAt *string `json:"createdAt,omitempty"` + // The extracted data in YAML-serializable format + Data map[string]interface{} `json:"data"` + // The ID of the extract integration + ExtractIntegrationID string `json:"extractIntegrationId"` + // The unique identifier of the item + ID string `json:"id"` + // The timestamp when the item was last updated + UpdatedAt *string `json:"updatedAt,omitempty"` } -type IntegrationSlackDeleteParams struct { - // The ID of the Slack integration - SlackIntegrationID string `json:"slackIntegrationId"` +type EmailIntegrationListParams struct { + // The cursor to use for pagination + Cursor *string `json:"cursor,omitempty"` + // Key-value pairs to filter the items by metadata + Meta map[string]string `json:"meta,omitempty"` + // The order of the paginated items + Order *EmailIntegrationListParamsOrder `json:"order,omitempty"` + // The number of items to retrieve + Take *int64 `json:"take,omitempty"` } -type IntegrationSlackDeleteResponse struct { - // The ID of the deleted Slack integration - ID string `json:"id"` +type EmailIntegrationListResponse struct { + // Cursor for fetching the next page + Cursor string `json:"cursor"` + Items []EmailIntegrationListResponseItem `json:"items"` } -type IntegrationSlackFetchParams struct { - // The ID of the Slack integration to retrieve - SlackIntegrationID string `json:"slackIntegrationId"` +// Blueprint properties +type EmailIntegrationListResponseItem struct { + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // Newline-separated list of email patterns allowed to send messages to this integration + AllowFrom *string `json:"allowFrom,omitempty"` + // Weather the bot supports attachments + Attachments *bool `json:"attachments,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The ID of the bot this configuration is using + BotID *string `json:"botId,omitempty"` + // Weather to collect contacts + ContactCollection *bool `json:"contactCollection,omitempty"` + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description *string `json:"description,omitempty"` + // The instance ID + ID string `json:"id"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The session duration (in milliseconds) + SessionDuration *float64 `json:"sessionDuration,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` +} + +type EmailIntegrationListStreamItem struct { + // Blueprint properties + Data EmailIntegrationListStreamItemData `json:"data"` + // The type of event + Type EmailIntegrationListStreamItemType `json:"type"` } // Blueprint properties -type IntegrationSlackFetchResponse struct { - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // Restrict which Slack users or channels can interact with this integration. Accepts Slack - // user IDs (U…/W…), channel IDs (C…/G…/D…), @username, or - AllowFrom *string `json:"allowFrom,omitempty"` - // Configure automatic response behavior. Use '@all' to respond to all messages, '@agent - // ' for agent-powered decisions, or custom instructions for lightweight LLM - // filtering. Null/empty defaults to current behavior (DMs, mentions, threads only). - AutoRespond *string `json:"autoRespond,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The ID of the bot this configuration is using - BotID *string `json:"botId,omitempty"` - // The bot token (returned as '********' if configured, null otherwise) - BotToken *string `json:"botToken,omitempty"` - // Weather to collect contacts - ContactCollection *bool `json:"contactCollection,omitempty"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description *string `json:"description,omitempty"` - // The instance ID - ID string `json:"id"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // Whether to enable ratings buttons feature - Ratings *bool `json:"ratings,omitempty"` - // Whether to enable references feature - References *bool `json:"references,omitempty"` - // The session duration for the Slack integration - SessionDuration *float64 `json:"sessionDuration,omitempty"` - // The signing secret (returned as '********' if configured, null otherwise) - SigningSecret *string `json:"signingSecret,omitempty"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` - // The user token (returned as '********' if configured, null otherwise) - UserToken *string `json:"userToken,omitempty"` - // The number of visible messages outside of the new thread - VisibleMessages *float64 `json:"visibleMessages,omitempty"` +type EmailIntegrationListStreamItemData struct { + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // Newline-separated list of email patterns allowed to send messages to this integration + AllowFrom *string `json:"allowFrom,omitempty"` + // Weather the bot supports attachments + Attachments *bool `json:"attachments,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The ID of the bot this configuration is using + BotID *string `json:"botId,omitempty"` + // Weather to collect contacts + ContactCollection *bool `json:"contactCollection,omitempty"` + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description *string `json:"description,omitempty"` + // The instance ID + ID string `json:"id"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The session duration (in milliseconds) + SessionDuration *float64 `json:"sessionDuration,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` } -type IntegrationSlackSetupParams struct { - // The ID of the Slack integration - SlackIntegrationID string `json:"slackIntegrationId"` +// A bot configuration that can be applied without a dedicated bot instance. +type EmailIntegrationCreateRequest struct { + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // Newline-separated list of email patterns allowed to send messages to this integration + AllowFrom *string `json:"allowFrom,omitempty"` + // Weather the bot supports attachments + Attachments *bool `json:"attachments,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The ID of the bot this configuration is using + BotID *string `json:"botId,omitempty"` + // Weather to collect contacts + ContactCollection *bool `json:"contactCollection,omitempty"` + // The associated description + Description *string `json:"description,omitempty"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The session duration (in milliseconds) + SessionDuration *float64 `json:"sessionDuration,omitempty"` } -type IntegrationSlackSetupResponse struct { - // The ID of the setup Slack integration - ID string `json:"id"` +type EmailIntegrationCreateResponse struct { + // The ID of the Email Integration + ID string `json:"id"` } -type IntegrationSlackUpdateParams struct { - // The ID of the Slack integration - SlackIntegrationID string `json:"slackIntegrationId"` +type EmailIntegrationUpdateParams struct { + // The ID of the Email integration + EmailIntegrationID string `json:"emailIntegrationId"` } // A bot configuration that can be applied without a dedicated bot instance. -type IntegrationSlackUpdateRequest struct { - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // Restrict which Slack users or channels can interact with this integration. Accepts Slack - // user IDs (U…/W…), channel IDs (C…/G…/D…), @username, or - AllowFrom *string `json:"allowFrom,omitempty"` - // Configure automatic response behavior. Use '@all' to respond to all messages, '@agent - // ' for agent-powered decisions, or custom instructions for lightweight LLM - // filtering. Null/empty defaults to current behavior (DMs, mentions, threads only). - AutoRespond *string `json:"autoRespond,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The ID of the bot this configuration is using - BotID *string `json:"botId,omitempty"` - // The bot token for the Slack integration - BotToken *string `json:"botToken,omitempty"` - // Weather to collect contacts - ContactCollection *bool `json:"contactCollection,omitempty"` - // The associated description - Description *string `json:"description,omitempty"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // Whether to enable ratings buttons feature - Ratings *bool `json:"ratings,omitempty"` - // Whether to enable references feature - References *bool `json:"references,omitempty"` - // The session duration for the Slack integration - SessionDuration *float64 `json:"sessionDuration,omitempty"` - // The signing secret for the Slack integration - SigningSecret *string `json:"signingSecret,omitempty"` - // The user token for the Slack integration - UserToken *string `json:"userToken,omitempty"` - // The number of visible messages outside of the new thread - VisibleMessages *float64 `json:"visibleMessages,omitempty"` +type EmailIntegrationUpdateRequest struct { + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // Newline-separated list of email patterns allowed to send messages to this integration + AllowFrom *string `json:"allowFrom,omitempty"` + // Weather the bot supports attachments + Attachments *bool `json:"attachments,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The ID of the bot this configuration is using + BotID *string `json:"botId,omitempty"` + // Weather to collect contacts + ContactCollection *bool `json:"contactCollection,omitempty"` + // The associated description + Description *string `json:"description,omitempty"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The session duration (in milliseconds) + SessionDuration *float64 `json:"sessionDuration,omitempty"` } -type IntegrationSlackUpdateResponse struct { - // The ID of the Slack Integration - ID string `json:"id"` +type EmailIntegrationUpdateResponse struct { + // The ID of the Email Integration + ID string `json:"id"` } -// A bot configuration that can be applied without a dedicated bot instance. -type IntegrationSlackCreateRequest struct { - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // Restrict which Slack users or channels can interact with this integration. Accepts Slack - // user IDs (U…/W…), channel IDs (C…/G…/D…), @username, or - AllowFrom *string `json:"allowFrom,omitempty"` - // Configure automatic response behavior. Use '@all' to respond to all messages, '@agent - // ' for agent-powered decisions, or custom instructions for lightweight LLM - // filtering. Null/empty defaults to current behavior (DMs, mentions, threads only). - AutoRespond *string `json:"autoRespond,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The ID of the bot this configuration is using - BotID *string `json:"botId,omitempty"` - // The bot token for the Slack integration - BotToken *string `json:"botToken,omitempty"` - // Weather to collect contacts - ContactCollection *bool `json:"contactCollection,omitempty"` - // The associated description - Description *string `json:"description,omitempty"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // Whether to enable ratings buttons feature - Ratings *bool `json:"ratings,omitempty"` - // Whether to enable references feature - References *bool `json:"references,omitempty"` - // The session duration for the Slack integration - SessionDuration *float64 `json:"sessionDuration,omitempty"` - // The signing secret for the Slack integration - SigningSecret *string `json:"signingSecret,omitempty"` - // The user token for the Slack integration - UserToken *string `json:"userToken,omitempty"` - // The number of visible messages outside of the new thread - VisibleMessages *float64 `json:"visibleMessages,omitempty"` +type EmailIntegrationSetupParams struct { + // The ID of the Email integration + EmailIntegrationID string `json:"emailIntegrationId"` } -type IntegrationSlackCreateResponse struct { - // The ID of the Slack Integration - ID string `json:"id"` +type EmailIntegrationSetupResponse struct { + // The ID of the Email Integration + ID string `json:"id"` } -type IntegrationSlackListParams struct { - // The cursor to use for pagination - Cursor *string `json:"cursor,omitempty"` - // Key-value pairs to filter the partner users by metadata - Meta map[string]string `json:"meta,omitempty"` - // The order of the paginated items - Order *IntegrationSlackListParamsOrder `json:"order,omitempty"` - // The number of items to retrieve - Take *int64 `json:"take,omitempty"` +type EmailIntegrationFetchParams struct { + // The ID of the Email integration to retrieve + EmailIntegrationID string `json:"emailIntegrationId"` } -type IntegrationSlackListResponse struct { - // Cursor for fetching the next page - Cursor string `json:"cursor"` - Items []IntegrationSlackListResponseItem `json:"items"` +// Blueprint properties +type EmailIntegrationFetchResponse struct { + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // Newline-separated list of email patterns allowed to send messages to this integration + AllowFrom *string `json:"allowFrom,omitempty"` + // Weather the bot supports attachments + Attachments *bool `json:"attachments,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The ID of the bot this configuration is using + BotID *string `json:"botId,omitempty"` + // Weather to collect contacts + ContactCollection *bool `json:"contactCollection,omitempty"` + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description *string `json:"description,omitempty"` + // The instance ID + ID string `json:"id"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The session duration (in milliseconds) + SessionDuration *float64 `json:"sessionDuration,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` } -// Blueprint properties -type IntegrationSlackListResponseItem struct { - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // Restrict which Slack users or channels can interact with this integration. Accepts Slack - // user IDs (U…/W…), channel IDs (C…/G…/D…), @username, or - AllowFrom *string `json:"allowFrom,omitempty"` - // Configure automatic response behavior. Use '@all' to respond to all messages, '@agent - // ' for agent-powered decisions, or custom instructions for lightweight LLM - // filtering. Null/empty defaults to current behavior (DMs, mentions, threads only). - AutoRespond *string `json:"autoRespond,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The ID of the bot this configuration is using - BotID *string `json:"botId,omitempty"` - // The bot token (returned as '********' if configured, null otherwise) - BotToken *string `json:"botToken,omitempty"` - // Weather to collect contacts - ContactCollection *bool `json:"contactCollection,omitempty"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description *string `json:"description,omitempty"` - // The instance ID - ID string `json:"id"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // Whether to enable ratings buttons feature - Ratings *bool `json:"ratings,omitempty"` - // Whether to enable references feature - References *bool `json:"references,omitempty"` - // The session duration for the Slack integration - SessionDuration *float64 `json:"sessionDuration,omitempty"` - // The signing secret (returned as '********' if configured, null otherwise) - SigningSecret *string `json:"signingSecret,omitempty"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` - // The user token (returned as '********' if configured, null otherwise) - UserToken *string `json:"userToken,omitempty"` - // The number of visible messages outside of the new thread - VisibleMessages *float64 `json:"visibleMessages,omitempty"` +type EmailIntegrationDeleteParams struct { + // The ID of the Email integration + EmailIntegrationID string `json:"emailIntegrationId"` } -type IntegrationSlackListStreamItem struct { - // Blueprint properties - Data IntegrationSlackListStreamItemData `json:"data"` - // The type of event - Type IntegrationSlackListStreamItemType `json:"type"` +type EmailIntegrationDeleteResponse struct { + // The ID of the deleted Email integration + ID string `json:"id"` } -// Blueprint properties -type IntegrationSlackListStreamItemData struct { - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // Restrict which Slack users or channels can interact with this integration. Accepts Slack - // user IDs (U…/W…), channel IDs (C…/G…/D…), @username, or - AllowFrom *string `json:"allowFrom,omitempty"` - // Configure automatic response behavior. Use '@all' to respond to all messages, '@agent - // ' for agent-powered decisions, or custom instructions for lightweight LLM - // filtering. Null/empty defaults to current behavior (DMs, mentions, threads only). - AutoRespond *string `json:"autoRespond,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The ID of the bot this configuration is using - BotID *string `json:"botId,omitempty"` - // The bot token (returned as '********' if configured, null otherwise) - BotToken *string `json:"botToken,omitempty"` - // Weather to collect contacts - ContactCollection *bool `json:"contactCollection,omitempty"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description *string `json:"description,omitempty"` - // The instance ID - ID string `json:"id"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // Whether to enable ratings buttons feature - Ratings *bool `json:"ratings,omitempty"` - // Whether to enable references feature - References *bool `json:"references,omitempty"` - // The session duration for the Slack integration - SessionDuration *float64 `json:"sessionDuration,omitempty"` - // The signing secret (returned as '********' if configured, null otherwise) - SigningSecret *string `json:"signingSecret,omitempty"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` - // The user token (returned as '********' if configured, null otherwise) - UserToken *string `json:"userToken,omitempty"` - // The number of visible messages outside of the new thread - VisibleMessages *float64 `json:"visibleMessages,omitempty"` +type IntegrationDiscordListParams struct { + // The cursor to use for pagination + Cursor *string `json:"cursor,omitempty"` + // Key-value pairs to filter the items by metadata + Meta map[string]string `json:"meta,omitempty"` + // The order of the paginated items + Order *IntegrationDiscordListParamsOrder `json:"order,omitempty"` + // The number of items to retrieve + Take *int64 `json:"take,omitempty"` } -type IntegrationSupportDeleteParams struct { - // The ID of the Support integration - SupportIntegrationID string `json:"supportIntegrationId"` +type IntegrationDiscordListResponse struct { + // Cursor for fetching the next page + Cursor string `json:"cursor"` + Items []IntegrationDiscordListResponseItem `json:"items"` } -type IntegrationSupportDeleteResponse struct { - // The ID of the deleted Support integration - ID string `json:"id"` +// Blueprint properties +type IntegrationDiscordListResponseItem struct { + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // Restrict which Discord users can interact with this integration. Accepts Discord user IDs + // (17-18 digit snowflakes) or @username, one per line. Use * to allow all senders. Leave + // empty to deny all. + AllowFrom *string `json:"allowFrom,omitempty"` + // The Discord application ID + AppID *string `json:"appId,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The ID of the bot this configuration is using + BotID *string `json:"botId,omitempty"` + // Weather to collect contacts + ContactCollection *bool `json:"contactCollection,omitempty"` + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description *string `json:"description,omitempty"` + // The Discord command handle + Handle *string `json:"handle,omitempty"` + // The instance ID + ID string `json:"id"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The chat session duration + SessionDuration *float64 `json:"sessionDuration,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` } -type IntegrationSupportFetchParams struct { - // The ID of the Support integration to retrieve - SupportIntegrationID string `json:"supportIntegrationId"` +type IntegrationDiscordListStreamItem struct { + // Blueprint properties + Data IntegrationDiscordListStreamItemData `json:"data"` + // The type of event + Type IntegrationDiscordListStreamItemType `json:"type"` } -// A bot configuration that can be applied without a dedicated bot instance. -type IntegrationSupportFetchResponse struct { - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The ID of the bot this configuration is using - BotID string `json:"botId"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description *string `json:"description,omitempty"` - // The email to use - Email *string `json:"email,omitempty"` - // The instance ID - ID string `json:"id"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` +// Blueprint properties +type IntegrationDiscordListStreamItemData struct { + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // Restrict which Discord users can interact with this integration. Accepts Discord user IDs + // (17-18 digit snowflakes) or @username, one per line. Use * to allow all senders. Leave + // empty to deny all. + AllowFrom *string `json:"allowFrom,omitempty"` + // The Discord application ID + AppID *string `json:"appId,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The ID of the bot this configuration is using + BotID *string `json:"botId,omitempty"` + // Weather to collect contacts + ContactCollection *bool `json:"contactCollection,omitempty"` + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description *string `json:"description,omitempty"` + // The Discord command handle + Handle *string `json:"handle,omitempty"` + // The instance ID + ID string `json:"id"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The chat session duration + SessionDuration *float64 `json:"sessionDuration,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` } -type IntegrationSupportTriggerParams struct { - // The ID of the Support integration - SupportIntegrationID string `json:"supportIntegrationId"` +// A bot configuration that can be applied without a dedicated bot instance. +type IntegrationDiscordCreateRequest struct { + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // Restrict which Discord users can interact with this integration. Accepts Discord user IDs + // (17-18 digit snowflakes) or @username, one per line. Use * to allow all senders. Leave + // empty to deny all. + AllowFrom *string `json:"allowFrom,omitempty"` + // The Discord application ID + AppID *string `json:"appId,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The ID of the bot this configuration is using + BotID *string `json:"botId,omitempty"` + // The Discord bot token + BotToken *string `json:"botToken,omitempty"` + // Weather to collect contacts + ContactCollection *bool `json:"contactCollection,omitempty"` + // The associated description + Description *string `json:"description,omitempty"` + // The Discord command handle + Handle *string `json:"handle,omitempty"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The Discord public key + PublicKey *string `json:"publicKey,omitempty"` + // The chat session duration + SessionDuration *float64 `json:"sessionDuration,omitempty"` } -type IntegrationSupportTriggerRequest struct { - // Array of conversation IDs to process - ConversationIDS []string `json:"conversationIds,omitempty"` - // Number of recent conversations to process (default 20) - Sample *int64 `json:"sample,omitempty"` +type IntegrationDiscordCreateResponse struct { + // The ID of the Discord Integration + ID string `json:"id"` } -type IntegrationSupportTriggerResponse struct { - // ID of the support integration - ID string `json:"id"` - // Number of conversations queued for processing - Triggered float64 `json:"triggered"` +type IntegrationDiscordUpdateParams struct { + // The ID of the Discord integration + DiscordIntegrationID string `json:"discordIntegrationId"` } -type IntegrationSupportUpdateParams struct { - // The ID of the Support integration - SupportIntegrationID string `json:"supportIntegrationId"` +// A bot configuration that can be applied without a dedicated bot instance. +type IntegrationDiscordUpdateRequest struct { + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // Restrict which Discord users can interact with this integration. Accepts Discord user IDs + // (17-18 digit snowflakes) or @username, one per line. Use * to allow all senders. Leave + // empty to deny all. + AllowFrom *string `json:"allowFrom,omitempty"` + // The Discord application ID + AppID *string `json:"appId,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The ID of the bot this configuration is using + BotID *string `json:"botId,omitempty"` + // The Discord bot token + BotToken *string `json:"botToken,omitempty"` + // Weather to collect contacts + ContactCollection *bool `json:"contactCollection,omitempty"` + // The associated description + Description *string `json:"description,omitempty"` + // The Discord command handle + Handle *string `json:"handle,omitempty"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The Discord public key + PublicKey *string `json:"publicKey,omitempty"` + // The chat session duration + SessionDuration *float64 `json:"sessionDuration,omitempty"` } -// A bot configuration that can be applied without a dedicated bot instance. -type IntegrationSupportUpdateRequest struct { - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The ID of the bot this configuration is using - BotID *string `json:"botId,omitempty"` - // The associated description - Description *string `json:"description,omitempty"` - // The email to use - Email *string `json:"email,omitempty"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` +type IntegrationDiscordUpdateResponse struct { + // The ID of the Discord Integration + ID string `json:"id"` } -type IntegrationSupportUpdateResponse struct { - // The ID of the Support Integration - ID string `json:"id"` +type IntegrationDiscordSetupParams struct { + // The ID of the Discord integration + DiscordIntegrationID string `json:"discordIntegrationId"` } -// A bot configuration that can be applied without a dedicated bot instance. -type IntegrationSupportCreateRequest struct { - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The ID of the bot this configuration is using - BotID *string `json:"botId,omitempty"` - // The associated description - Description *string `json:"description,omitempty"` - // The email to use - Email *string `json:"email,omitempty"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` +type IntegrationDiscordSetupResponse struct { + // The ID of the setup Discord integration + ID string `json:"id"` } -type IntegrationSupportCreateResponse struct { - // The ID of the Support Integration - ID string `json:"id"` +type IntegrationDiscordFetchParams struct { + // The ID of the Discord integration to retrieve + DiscordIntegrationID string `json:"discordIntegrationId"` } -type IntegrationSupportListParams struct { - // The cursor to use for pagination - Cursor *string `json:"cursor,omitempty"` - // Key-value pairs to filter the partner users by metadata - Meta map[string]string `json:"meta,omitempty"` - // The order of the paginated items - Order *IntegrationSupportListParamsOrder `json:"order,omitempty"` - // The number of items to retrieve - Take *int64 `json:"take,omitempty"` +// Blueprint properties +type IntegrationDiscordFetchResponse struct { + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // Restrict which Discord users can interact with this integration. Accepts Discord user IDs + // (17-18 digit snowflakes) or @username, one per line. Use * to allow all senders. Leave + // empty to deny all. + AllowFrom *string `json:"allowFrom,omitempty"` + // The Discord application ID + AppID *string `json:"appId,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The ID of the bot this configuration is using + BotID *string `json:"botId,omitempty"` + // Weather to collect contacts + ContactCollection *bool `json:"contactCollection,omitempty"` + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description *string `json:"description,omitempty"` + // The Discord command handle + Handle *string `json:"handle,omitempty"` + // The instance ID + ID string `json:"id"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The chat session duration + SessionDuration *float64 `json:"sessionDuration,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` } -type IntegrationSupportListResponse struct { - // Cursor for fetching the next page - Cursor string `json:"cursor"` - Items []IntegrationSupportListResponseItem `json:"items"` +type IntegrationDiscordDeleteParams struct { + // The ID of the Discord integration + DiscordIntegrationID string `json:"discordIntegrationId"` } -// A bot configuration that can be applied without a dedicated bot instance. -type IntegrationSupportListResponseItem struct { - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The ID of the bot this configuration is using - BotID string `json:"botId"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description *string `json:"description,omitempty"` - // The email to use - Email *string `json:"email,omitempty"` - // The instance ID - ID string `json:"id"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` +type IntegrationDiscordDeleteResponse struct { + // The ID of the deleted Discord integration + ID string `json:"id"` } -type IntegrationSupportListStreamItem struct { - // A bot configuration that can be applied without a dedicated bot instance. - Data IntegrationSupportListStreamItemData `json:"data"` - // The type of event - Type IntegrationSupportListStreamItemType `json:"type"` +type FileListParams struct { + // The cursor to use for pagination + Cursor *string `json:"cursor,omitempty"` + // Key-value pairs to filter the items by metadata + Meta map[string]string `json:"meta,omitempty"` + // The order of the paginated items + Order *FileListParamsOrder `json:"order,omitempty"` + // The number of items to retrieve + Take *int64 `json:"take,omitempty"` } -// A bot configuration that can be applied without a dedicated bot instance. -type IntegrationSupportListStreamItemData struct { - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The ID of the bot this configuration is using - BotID string `json:"botId"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description *string `json:"description,omitempty"` - // The email to use - Email *string `json:"email,omitempty"` - // The instance ID - ID string `json:"id"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` +type FileListResponse struct { + // Cursor for fetching the next page + Cursor string `json:"cursor"` + Items []FileListResponseItem `json:"items"` } -type IntegrationTelegramDeleteParams struct { - // The ID of the Telegram integration - TelegramIntegrationID string `json:"telegramIntegrationId"` +// Blueprint properties +type FileListResponseItem struct { + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description *string `json:"description,omitempty"` + // The instance ID + ID string `json:"id"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` + // The file visibility + Visibility *IndigoVisibility `json:"visibility,omitempty"` } -type IntegrationTelegramDeleteResponse struct { - // The ID of the deleted Telegram integration - ID string `json:"id"` +type FileListStreamItem struct { + // Blueprint properties + Data FileListStreamItemData `json:"data"` + // The type of event + Type FileListStreamItemType `json:"type"` } -type IntegrationTelegramFetchParams struct { - // The ID of the Telegram integration to retrieve - TelegramIntegrationID string `json:"telegramIntegrationId"` +// Blueprint properties +type FileListStreamItemData struct { + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description *string `json:"description,omitempty"` + // The instance ID + ID string `json:"id"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` + // The file visibility + Visibility *IndecentVisibility `json:"visibility,omitempty"` } // Blueprint properties -type IntegrationTelegramFetchResponse struct { - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // Newline-or-comma-separated list of allowed senders - AllowFrom *string `json:"allowFrom,omitempty"` - // Weather the bot supports attachments - Attachments *bool `json:"attachments,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The ID of the bot this configuration is using - BotID *string `json:"botId,omitempty"` - // Weather to collect contacts - ContactCollection *bool `json:"contactCollection,omitempty"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description *string `json:"description,omitempty"` - // The instance ID - ID string `json:"id"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The session duration (in milliseconds) - SessionDuration *float64 `json:"sessionDuration,omitempty"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` +type FileCreateRequest struct { + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The associated description + Description *string `json:"description,omitempty"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The file visibility + Visibility *FileCreateRequestVisibility `json:"visibility,omitempty"` } -type IntegrationTelegramSetupParams struct { - // The ID of the Telegram integration - TelegramIntegrationID string `json:"telegramIntegrationId"` +type FileCreateResponse struct { + // The ID of the created file + ID string `json:"id"` } -type IntegrationTelegramSetupResponse struct { - // The ID of the Telegram Integration - ID string `json:"id"` +type FileUploadParams struct { + FileID string `json:"fileId"` } -type IntegrationTelegramUpdateParams struct { - // The ID of the Telegram integration - TelegramIntegrationID string `json:"telegramIntegrationId"` +type FileUploadRequest struct { + // The file to upload either as http: or data: URL + // + // The file definition to upload + File *FileUploadRequestFile `json:"file"` } -// A bot configuration that can be applied without a dedicated bot instance. -type IntegrationTelegramUpdateRequest struct { - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // Newline-or-comma-separated list of allowed senders. Use @username or @numericId for users, - AllowFrom *string `json:"allowFrom,omitempty"` - // Weather the bot supports attachments - Attachments *bool `json:"attachments,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The ID of the bot this configuration is using - BotID *string `json:"botId,omitempty"` - // The Telegram integration bot token - BotToken *string `json:"botToken,omitempty"` - // Weather to collect contacts - ContactCollection *bool `json:"contactCollection,omitempty"` - // The associated description - Description *string `json:"description,omitempty"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The session duration (in milliseconds) - SessionDuration *float64 `json:"sessionDuration,omitempty"` +// The file definition to upload +type FluffyFile struct { + // The file name + Name *string `json:"name,omitempty"` + // The file size + Size float64 `json:"size"` + // The file type + Type string `json:"type"` } -type IntegrationTelegramUpdateResponse struct { - // The ID of the Telegram Integration - ID string `json:"id"` +type FileUploadResponse struct { + // The ID of the upload file + ID string `json:"id"` + // The request required to upload the file + UploadRequest *FileUploadResponseUploadRequest `json:"uploadRequest,omitempty"` } -// A bot configuration that can be applied without a dedicated bot instance. -type IntegrationTelegramCreateRequest struct { - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // Newline-or-comma-separated list of allowed senders. Use @username or @numericId for users, - AllowFrom *string `json:"allowFrom,omitempty"` - // Weather the bot supports attachments - Attachments *bool `json:"attachments,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The ID of the bot this configuration is using - BotID *string `json:"botId,omitempty"` - // The Telegram integration bot token - BotToken *string `json:"botToken,omitempty"` - // Weather to collect contacts - ContactCollection *bool `json:"contactCollection,omitempty"` - // The associated description - Description *string `json:"description,omitempty"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The session duration (in milliseconds) - SessionDuration *float64 `json:"sessionDuration,omitempty"` +// The request required to upload the file +type FileUploadResponseUploadRequest struct { + // The HTTP headers to use + Headers map[string]interface{} `json:"headers"` + // The HTTP method to use + Method string `json:"method"` + // The HTTP url to use + URL string `json:"url"` } -type IntegrationTelegramCreateResponse struct { - // The ID of the Telegram Integration - ID string `json:"id"` +type FileUpdateParams struct { + FileID string `json:"fileId"` } -type IntegrationTelegramListParams struct { - // The cursor to use for pagination - Cursor *string `json:"cursor,omitempty"` - // Key-value pairs to filter the partner users by metadata - Meta map[string]string `json:"meta,omitempty"` - // The order of the paginated items - Order *IntegrationTelegramListParamsOrder `json:"order,omitempty"` - // The number of items to retrieve - Take *int64 `json:"take,omitempty"` +// Blueprint properties +type FileUpdateRequest struct { + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The associated description + Description *string `json:"description,omitempty"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The file visibility + Visibility *FileUpdateRequestVisibility `json:"visibility,omitempty"` } -type IntegrationTelegramListResponse struct { - // Cursor for fetching the next page - Cursor string `json:"cursor"` - Items []IntegrationTelegramListResponseItem `json:"items"` +type FileUpdateResponse struct { + // The ID of the updated file + ID string `json:"id"` } -// Blueprint properties -type IntegrationTelegramListResponseItem struct { - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // Newline-or-comma-separated list of allowed senders. Use @username or @numericId for users, - AllowFrom *string `json:"allowFrom,omitempty"` - // Weather the bot supports attachments - Attachments *bool `json:"attachments,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The ID of the bot this configuration is using - BotID *string `json:"botId,omitempty"` - // Weather to collect contacts - ContactCollection *bool `json:"contactCollection,omitempty"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description *string `json:"description,omitempty"` - // The instance ID - ID string `json:"id"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The session duration (in milliseconds) - SessionDuration *float64 `json:"sessionDuration,omitempty"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` +type FileSyncParams struct { + // The ID of the file to sync + FileID string `json:"fileId"` } -type IntegrationTelegramListStreamItem struct { - // Blueprint properties - Data IntegrationTelegramListStreamItemData `json:"data"` - // The type of event - Type IntegrationTelegramListStreamItemType `json:"type"` +type FileSyncResponse struct { + // The ID of the file + ID string `json:"id"` +} + +type FileFetchParams struct { + // The ID of the file to retrieve + FileID string `json:"fileId"` } // Blueprint properties -type IntegrationTelegramListStreamItemData struct { - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // Newline-or-comma-separated list of allowed senders. Use @username or @numericId for users, - AllowFrom *string `json:"allowFrom,omitempty"` - // Weather the bot supports attachments - Attachments *bool `json:"attachments,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The ID of the bot this configuration is using - BotID *string `json:"botId,omitempty"` - // Weather to collect contacts - ContactCollection *bool `json:"contactCollection,omitempty"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description *string `json:"description,omitempty"` - // The instance ID - ID string `json:"id"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The session duration (in milliseconds) - SessionDuration *float64 `json:"sessionDuration,omitempty"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` +type FileFetchResponse struct { + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description *string `json:"description,omitempty"` + // The instance ID + ID string `json:"id"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` + // The file visibility + Visibility *FileFetchResponseVisibility `json:"visibility,omitempty"` } -type TriggerIntegrationDeleteParams struct { - // The ID of the Trigger integration - TriggerIntegrationID string `json:"triggerIntegrationId"` +type FileDownloadParams struct { + // The ID of the file to download + FileID string `json:"fileId"` } -type TriggerIntegrationDeleteResponse struct { - // The ID of the deleted Trigger integration - ID string `json:"id"` +type FileDownloadResponse struct { + // The URL to download the file + URL string `json:"url"` } -type TriggerIntegrationFetchParams struct { - // The ID of the Trigger integration to retrieve - TriggerIntegrationID string `json:"triggerIntegrationId"` +type FileDeleteParams struct { + // The ID of the file to delete + FileID string `json:"fileId"` } -// A bot configuration that can be applied without a dedicated bot instance. -type TriggerIntegrationFetchResponse struct { - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // When enabled the integration requires authentication - Authenticate *bool `json:"authenticate,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The ID of the bot this configuration is using - BotID *string `json:"botId,omitempty"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description *string `json:"description,omitempty"` - // The instance ID - ID string `json:"id"` - // The timestamp (ms) of the last trigger execution - LastTriggerAt *float64 `json:"lastTriggerAt,omitempty"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The timestamp (ms) of the next scheduled trigger execution - NextTriggerAt *float64 `json:"nextTriggerAt,omitempty"` - // The schedule for the trigger integration (interval, cron expression, ISO date, or null) - Schedule *string `json:"schedule,omitempty"` - // The Trigger integration secret - Secret string `json:"secret"` - // The session duration (in milliseconds) - SessionDuration *float64 `json:"sessionDuration,omitempty"` - // The IANA timezone identifier used to evaluate the trigger schedule. - Timezone *string `json:"timezone,omitempty"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` +type FileDeleteResponse struct { + // The ID of the deleted file + ID string `json:"id"` } -type TriggerIntegrationInvokeParams struct { - // The ID of the Trigger integration - TriggerIntegrationID string `json:"triggerIntegrationId"` +type EventLogsSubscribeRequest struct { + // Number of recent historical events to replay before + // subscribing to live updates. When provided, the subscriber + // will first receive up to this many recent events that were + // logged before the subscription started. This is useful for + // catching up on events that may have occurred during + // connection setup. + HistoryLength *int64 `json:"historyLength,omitempty"` } -type TriggerIntegrationInvokeResponse struct { - // The ID of the trigged Trigger integration - ID string `json:"id"` +type EventLogsSubscribeStreamItem struct { + // Instance list properties + Data EventLogsSubscribeStreamItemData `json:"data"` + // The type of event + Type EventLogsSubscribeStreamItemType `json:"type"` } -type TriggerIntegrationSetupParams struct { - // The ID of the Trigger integration - TriggerIntegrationID string `json:"triggerIntegrationId"` +// Instance list properties +type EventLogsSubscribeStreamItemData struct { + // Related ability ID if applicable + AbilityID *string `json:"abilityId,omitempty"` + // Related blueprint ID if applicable + BlueprintID *string `json:"blueprintId,omitempty"` + // Related bot ID if applicable + BotID *string `json:"botId,omitempty"` + // Related contact ID if applicable + ContactID *string `json:"contactId,omitempty"` + // Related conversation ID if applicable + ConversationID *string `json:"conversationId,omitempty"` + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // Related dataset ID if applicable + DatasetID *string `json:"datasetId,omitempty"` + // The associated description + Description *string `json:"description,omitempty"` + // Related Discord integration ID if applicable + DiscordIntegrationID *string `json:"discordIntegrationId,omitempty"` + // Related email integration ID if applicable + EmailIntegrationID *string `json:"emailIntegrationId,omitempty"` + // Related extract integration ID if applicable + ExtractIntegrationID *string `json:"extractIntegrationId,omitempty"` + // Related file ID if applicable + FileID *string `json:"fileId,omitempty"` + // Related Google Chat integration ID if applicable + GooglechatIntegrationID *string `json:"googlechatIntegrationId,omitempty"` + // The instance ID + ID string `json:"id"` + // Related MCP server integration ID if applicable + McpserverIntegrationID *string `json:"mcpserverIntegrationId,omitempty"` + // Related Messenger integration ID if applicable + MessengerIntegrationID *string `json:"messengerIntegrationId,omitempty"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // Related Microsoft Teams integration ID if applicable + MicrosoftteamsIntegrationID *string `json:"microsoftteamsIntegrationId,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // Related Notion integration ID if applicable + NotionIntegrationID *string `json:"notionIntegrationId,omitempty"` + // Related portal ID if applicable + PortalID *string `json:"portalId,omitempty"` + // Related record ID if applicable + RecordID *string `json:"recordId,omitempty"` + // Related secret ID if applicable + SecretID *string `json:"secretId,omitempty"` + // Related sitemap integration ID if applicable + SitemapIntegrationID *string `json:"sitemapIntegrationId,omitempty"` + // Related skillset ID if applicable + SkillsetID *string `json:"skillsetId,omitempty"` + // Related Slack integration ID if applicable + SlackIntegrationID *string `json:"slackIntegrationId,omitempty"` + // Related support integration ID if applicable + SupportIntegrationID *string `json:"supportIntegrationId,omitempty"` + // Related task ID if applicable + TaskID *string `json:"taskId,omitempty"` + // Related Telegram integration ID if applicable + TelegramIntegrationID *string `json:"telegramIntegrationId,omitempty"` + // Related trigger integration ID if applicable + TriggerIntegrationID *string `json:"triggerIntegrationId,omitempty"` + // Related Twilio integration ID if applicable + TwilioIntegrationID *string `json:"twilioIntegrationId,omitempty"` + // The type of event (e.g., 'conversation.create') + Type string `json:"type"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` + // Related webhook ID if applicable + WebhookID *string `json:"webhookId,omitempty"` + // Related WhatsApp integration ID if applicable + WhatsappIntegrationID *string `json:"whatsappIntegrationId,omitempty"` + // Related widget integration ID if applicable + WidgetIntegrationID *string `json:"widgetIntegrationId,omitempty"` } -type TriggerIntegrationSetupResponse struct { - // The ID of the Trigger Integration - ID string `json:"id"` +type EventLogListParams struct { + // The cursor to use for pagination + Cursor *string `json:"cursor,omitempty"` + // Key-value pairs to filter the items by metadata + Meta map[string]string `json:"meta,omitempty"` + // The order of the paginated items + Order *EventLogListParamsOrder `json:"order,omitempty"` + // The number of items to retrieve + Take *int64 `json:"take,omitempty"` } -type TriggerIntegrationUpdateParams struct { - // The ID of the Trigger integration - TriggerIntegrationID string `json:"triggerIntegrationId"` +type EventLogListResponse struct { + // Cursor for fetching the next page + Cursor string `json:"cursor"` + Items []EventLogListResponseItem `json:"items"` } -// A bot configuration that can be applied without a dedicated bot instance. -type TriggerIntegrationUpdateRequest struct { - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // When enabled the integration requires authentication - Authenticate *bool `json:"authenticate,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The ID of the bot this configuration is using - BotID *string `json:"botId,omitempty"` - // The associated description - Description *string `json:"description,omitempty"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The schedule for the trigger integration (interval, cron expression, or ISO date) - Schedule *string `json:"schedule,omitempty"` - // The session duration (in milliseconds) - SessionDuration *float64 `json:"sessionDuration,omitempty"` - // An optional IANA timezone identifier used when evaluating the trigger schedule. - Timezone *string `json:"timezone,omitempty"` +// Instance list properties +type EventLogListResponseItem struct { + // Related ability ID if applicable + AbilityID *string `json:"abilityId,omitempty"` + // Related blueprint ID if applicable + BlueprintID *string `json:"blueprintId,omitempty"` + // Related bot ID if applicable + BotID *string `json:"botId,omitempty"` + // Related contact ID if applicable + ContactID *string `json:"contactId,omitempty"` + // Related conversation ID if applicable + ConversationID *string `json:"conversationId,omitempty"` + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // Related dataset ID if applicable + DatasetID *string `json:"datasetId,omitempty"` + // The associated description + Description *string `json:"description,omitempty"` + // Related Discord integration ID if applicable + DiscordIntegrationID *string `json:"discordIntegrationId,omitempty"` + // Related email integration ID if applicable + EmailIntegrationID *string `json:"emailIntegrationId,omitempty"` + // Related extract integration ID if applicable + ExtractIntegrationID *string `json:"extractIntegrationId,omitempty"` + // Related file ID if applicable + FileID *string `json:"fileId,omitempty"` + // Related Google Chat integration ID if applicable + GooglechatIntegrationID *string `json:"googlechatIntegrationId,omitempty"` + // The instance ID + ID string `json:"id"` + // Related MCP server integration ID if applicable + McpserverIntegrationID *string `json:"mcpserverIntegrationId,omitempty"` + // Related Messenger integration ID if applicable + MessengerIntegrationID *string `json:"messengerIntegrationId,omitempty"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // Related Microsoft Teams integration ID if applicable + MicrosoftteamsIntegrationID *string `json:"microsoftteamsIntegrationId,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // Related Notion integration ID if applicable + NotionIntegrationID *string `json:"notionIntegrationId,omitempty"` + // Related portal ID if applicable + PortalID *string `json:"portalId,omitempty"` + // Related record ID if applicable + RecordID *string `json:"recordId,omitempty"` + // Related secret ID if applicable + SecretID *string `json:"secretId,omitempty"` + // Related sitemap integration ID if applicable + SitemapIntegrationID *string `json:"sitemapIntegrationId,omitempty"` + // Related skillset ID if applicable + SkillsetID *string `json:"skillsetId,omitempty"` + // Related Slack integration ID if applicable + SlackIntegrationID *string `json:"slackIntegrationId,omitempty"` + // Related support integration ID if applicable + SupportIntegrationID *string `json:"supportIntegrationId,omitempty"` + // Related task ID if applicable + TaskID *string `json:"taskId,omitempty"` + // Related Telegram integration ID if applicable + TelegramIntegrationID *string `json:"telegramIntegrationId,omitempty"` + // Related trigger integration ID if applicable + TriggerIntegrationID *string `json:"triggerIntegrationId,omitempty"` + // Related Twilio integration ID if applicable + TwilioIntegrationID *string `json:"twilioIntegrationId,omitempty"` + // The type of event (e.g., 'conversation.create') + Type string `json:"type"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` + // Related webhook ID if applicable + WebhookID *string `json:"webhookId,omitempty"` + // Related WhatsApp integration ID if applicable + WhatsappIntegrationID *string `json:"whatsappIntegrationId,omitempty"` + // Related widget integration ID if applicable + WidgetIntegrationID *string `json:"widgetIntegrationId,omitempty"` } -type TriggerIntegrationUpdateResponse struct { - // The ID of the Trigger Integration - ID string `json:"id"` +type EventLogListStreamItem struct { + // Instance list properties + Data EventLogListStreamItemData `json:"data"` + // The type of event + Type EventLogListStreamItemType `json:"type"` } -// A bot configuration that can be applied without a dedicated bot instance. -type TriggerIntegrationCreateRequest struct { - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // When enabled the integration requires authentication - Authenticate *bool `json:"authenticate,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The ID of the bot this configuration is using - BotID *string `json:"botId,omitempty"` - // The associated description - Description *string `json:"description,omitempty"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The schedule for the trigger integration (interval, cron expression, or ISO date) - Schedule *string `json:"schedule,omitempty"` - // The session duration (in milliseconds) - SessionDuration *float64 `json:"sessionDuration,omitempty"` - // An optional IANA timezone identifier used when evaluating the trigger schedule. - Timezone *string `json:"timezone,omitempty"` +// Instance list properties +type EventLogListStreamItemData struct { + // Related ability ID if applicable + AbilityID *string `json:"abilityId,omitempty"` + // Related blueprint ID if applicable + BlueprintID *string `json:"blueprintId,omitempty"` + // Related bot ID if applicable + BotID *string `json:"botId,omitempty"` + // Related contact ID if applicable + ContactID *string `json:"contactId,omitempty"` + // Related conversation ID if applicable + ConversationID *string `json:"conversationId,omitempty"` + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // Related dataset ID if applicable + DatasetID *string `json:"datasetId,omitempty"` + // The associated description + Description *string `json:"description,omitempty"` + // Related Discord integration ID if applicable + DiscordIntegrationID *string `json:"discordIntegrationId,omitempty"` + // Related email integration ID if applicable + EmailIntegrationID *string `json:"emailIntegrationId,omitempty"` + // Related extract integration ID if applicable + ExtractIntegrationID *string `json:"extractIntegrationId,omitempty"` + // Related file ID if applicable + FileID *string `json:"fileId,omitempty"` + // Related Google Chat integration ID if applicable + GooglechatIntegrationID *string `json:"googlechatIntegrationId,omitempty"` + // The instance ID + ID string `json:"id"` + // Related MCP server integration ID if applicable + McpserverIntegrationID *string `json:"mcpserverIntegrationId,omitempty"` + // Related Messenger integration ID if applicable + MessengerIntegrationID *string `json:"messengerIntegrationId,omitempty"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // Related Microsoft Teams integration ID if applicable + MicrosoftteamsIntegrationID *string `json:"microsoftteamsIntegrationId,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // Related Notion integration ID if applicable + NotionIntegrationID *string `json:"notionIntegrationId,omitempty"` + // Related portal ID if applicable + PortalID *string `json:"portalId,omitempty"` + // Related record ID if applicable + RecordID *string `json:"recordId,omitempty"` + // Related secret ID if applicable + SecretID *string `json:"secretId,omitempty"` + // Related sitemap integration ID if applicable + SitemapIntegrationID *string `json:"sitemapIntegrationId,omitempty"` + // Related skillset ID if applicable + SkillsetID *string `json:"skillsetId,omitempty"` + // Related Slack integration ID if applicable + SlackIntegrationID *string `json:"slackIntegrationId,omitempty"` + // Related support integration ID if applicable + SupportIntegrationID *string `json:"supportIntegrationId,omitempty"` + // Related task ID if applicable + TaskID *string `json:"taskId,omitempty"` + // Related Telegram integration ID if applicable + TelegramIntegrationID *string `json:"telegramIntegrationId,omitempty"` + // Related trigger integration ID if applicable + TriggerIntegrationID *string `json:"triggerIntegrationId,omitempty"` + // Related Twilio integration ID if applicable + TwilioIntegrationID *string `json:"twilioIntegrationId,omitempty"` + // The type of event (e.g., 'conversation.create') + Type string `json:"type"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` + // Related webhook ID if applicable + WebhookID *string `json:"webhookId,omitempty"` + // Related WhatsApp integration ID if applicable + WhatsappIntegrationID *string `json:"whatsappIntegrationId,omitempty"` + // Related widget integration ID if applicable + WidgetIntegrationID *string `json:"widgetIntegrationId,omitempty"` } -type TriggerIntegrationCreateResponse struct { - // The ID of the Trigger Integration - ID string `json:"id"` +type EventLogsExportParams struct { + // The cursor to use for pagination + Cursor *string `json:"cursor,omitempty"` + // Key-value pairs to filter the items by metadata + Meta map[string]string `json:"meta,omitempty"` + // The order of the paginated items + Order *EventLogsExportParamsOrder `json:"order,omitempty"` + // The number of items to retrieve + Take *int64 `json:"take,omitempty"` } -type TriggerIntegrationListParams struct { - // The cursor to use for pagination - Cursor *string `json:"cursor,omitempty"` - // Key-value pairs to filter the partner users by metadata - Meta map[string]string `json:"meta,omitempty"` - // The order of the paginated items - Order *TriggerIntegrationListParamsOrder `json:"order,omitempty"` - // The number of items to retrieve - Take *int64 `json:"take,omitempty"` +type EventLogsExportResponse struct { + // Cursor for fetching the next page + Cursor string `json:"cursor"` + Items []EventLogsExportResponseItem `json:"items"` } -type TriggerIntegrationListResponse struct { - // Cursor for fetching the next page - Cursor string `json:"cursor"` - Items []TriggerIntegrationListResponseItem `json:"items"` +// Instance list properties +type EventLogsExportResponseItem struct { + // Related ability ID if applicable + AbilityID *string `json:"abilityId,omitempty"` + // Related blueprint ID if applicable + BlueprintID *string `json:"blueprintId,omitempty"` + // Related bot ID if applicable + BotID *string `json:"botId,omitempty"` + // Related contact ID if applicable + ContactID *string `json:"contactId,omitempty"` + // Related conversation ID if applicable + ConversationID *string `json:"conversationId,omitempty"` + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // Related dataset ID if applicable + DatasetID *string `json:"datasetId,omitempty"` + // The associated description + Description *string `json:"description,omitempty"` + // Related Discord integration ID if applicable + DiscordIntegrationID *string `json:"discordIntegrationId,omitempty"` + // Related email integration ID if applicable + EmailIntegrationID *string `json:"emailIntegrationId,omitempty"` + // Related extract integration ID if applicable + ExtractIntegrationID *string `json:"extractIntegrationId,omitempty"` + // Related file ID if applicable + FileID *string `json:"fileId,omitempty"` + // Related Google Chat integration ID if applicable + GooglechatIntegrationID *string `json:"googlechatIntegrationId,omitempty"` + // The instance ID + ID string `json:"id"` + // Related MCP server integration ID if applicable + McpserverIntegrationID *string `json:"mcpserverIntegrationId,omitempty"` + // Related Messenger integration ID if applicable + MessengerIntegrationID *string `json:"messengerIntegrationId,omitempty"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // Related Microsoft Teams integration ID if applicable + MicrosoftteamsIntegrationID *string `json:"microsoftteamsIntegrationId,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // Related Notion integration ID if applicable + NotionIntegrationID *string `json:"notionIntegrationId,omitempty"` + // Related portal ID if applicable + PortalID *string `json:"portalId,omitempty"` + // Related record ID if applicable + RecordID *string `json:"recordId,omitempty"` + // Related secret ID if applicable + SecretID *string `json:"secretId,omitempty"` + // Related sitemap integration ID if applicable + SitemapIntegrationID *string `json:"sitemapIntegrationId,omitempty"` + // Related skillset ID if applicable + SkillsetID *string `json:"skillsetId,omitempty"` + // Related Slack integration ID if applicable + SlackIntegrationID *string `json:"slackIntegrationId,omitempty"` + // Related support integration ID if applicable + SupportIntegrationID *string `json:"supportIntegrationId,omitempty"` + // Related task ID if applicable + TaskID *string `json:"taskId,omitempty"` + // Related Telegram integration ID if applicable + TelegramIntegrationID *string `json:"telegramIntegrationId,omitempty"` + // Related trigger integration ID if applicable + TriggerIntegrationID *string `json:"triggerIntegrationId,omitempty"` + // Related Twilio integration ID if applicable + TwilioIntegrationID *string `json:"twilioIntegrationId,omitempty"` + // The type of event (e.g., 'conversation.create') + Type string `json:"type"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` + // Related webhook ID if applicable + WebhookID *string `json:"webhookId,omitempty"` + // Related WhatsApp integration ID if applicable + WhatsappIntegrationID *string `json:"whatsappIntegrationId,omitempty"` + // Related widget integration ID if applicable + WidgetIntegrationID *string `json:"widgetIntegrationId,omitempty"` } -// A bot configuration that can be applied without a dedicated bot instance. -type TriggerIntegrationListResponseItem struct { - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // When enabled the integration requires authentication - Authenticate *bool `json:"authenticate,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The ID of the bot this configuration is using - BotID *string `json:"botId,omitempty"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description *string `json:"description,omitempty"` - // The instance ID - ID string `json:"id"` - // The timestamp (ms) of the last trigger execution - LastTriggerAt *float64 `json:"lastTriggerAt,omitempty"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The timestamp (ms) of the next scheduled trigger execution - NextTriggerAt *float64 `json:"nextTriggerAt,omitempty"` - // The schedule for the trigger integration (interval, cron expression, ISO date, or null) - Schedule *string `json:"schedule,omitempty"` - // The Trigger integration secret - Secret string `json:"secret"` - // The session duration (in milliseconds) - SessionDuration *float64 `json:"sessionDuration,omitempty"` - // The IANA timezone identifier used to evaluate the trigger schedule. - Timezone *string `json:"timezone,omitempty"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` +type EventLogsExportStreamItem struct { + // Instance list properties + Data EventLogsExportStreamItemData `json:"data"` + // The type of event + Type EventLogsExportStreamItemType `json:"type"` } -type TriggerIntegrationListStreamItem struct { - // A bot configuration that can be applied without a dedicated bot instance. - Data TriggerIntegrationListStreamItemData `json:"data"` - // The type of event - Type TriggerIntegrationListStreamItemType `json:"type"` +// Instance list properties +type EventLogsExportStreamItemData struct { + // Related ability ID if applicable + AbilityID *string `json:"abilityId,omitempty"` + // Related blueprint ID if applicable + BlueprintID *string `json:"blueprintId,omitempty"` + // Related bot ID if applicable + BotID *string `json:"botId,omitempty"` + // Related contact ID if applicable + ContactID *string `json:"contactId,omitempty"` + // Related conversation ID if applicable + ConversationID *string `json:"conversationId,omitempty"` + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // Related dataset ID if applicable + DatasetID *string `json:"datasetId,omitempty"` + // The associated description + Description *string `json:"description,omitempty"` + // Related Discord integration ID if applicable + DiscordIntegrationID *string `json:"discordIntegrationId,omitempty"` + // Related email integration ID if applicable + EmailIntegrationID *string `json:"emailIntegrationId,omitempty"` + // Related extract integration ID if applicable + ExtractIntegrationID *string `json:"extractIntegrationId,omitempty"` + // Related file ID if applicable + FileID *string `json:"fileId,omitempty"` + // Related Google Chat integration ID if applicable + GooglechatIntegrationID *string `json:"googlechatIntegrationId,omitempty"` + // The instance ID + ID string `json:"id"` + // Related MCP server integration ID if applicable + McpserverIntegrationID *string `json:"mcpserverIntegrationId,omitempty"` + // Related Messenger integration ID if applicable + MessengerIntegrationID *string `json:"messengerIntegrationId,omitempty"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // Related Microsoft Teams integration ID if applicable + MicrosoftteamsIntegrationID *string `json:"microsoftteamsIntegrationId,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // Related Notion integration ID if applicable + NotionIntegrationID *string `json:"notionIntegrationId,omitempty"` + // Related portal ID if applicable + PortalID *string `json:"portalId,omitempty"` + // Related record ID if applicable + RecordID *string `json:"recordId,omitempty"` + // Related secret ID if applicable + SecretID *string `json:"secretId,omitempty"` + // Related sitemap integration ID if applicable + SitemapIntegrationID *string `json:"sitemapIntegrationId,omitempty"` + // Related skillset ID if applicable + SkillsetID *string `json:"skillsetId,omitempty"` + // Related Slack integration ID if applicable + SlackIntegrationID *string `json:"slackIntegrationId,omitempty"` + // Related support integration ID if applicable + SupportIntegrationID *string `json:"supportIntegrationId,omitempty"` + // Related task ID if applicable + TaskID *string `json:"taskId,omitempty"` + // Related Telegram integration ID if applicable + TelegramIntegrationID *string `json:"telegramIntegrationId,omitempty"` + // Related trigger integration ID if applicable + TriggerIntegrationID *string `json:"triggerIntegrationId,omitempty"` + // Related Twilio integration ID if applicable + TwilioIntegrationID *string `json:"twilioIntegrationId,omitempty"` + // The type of event (e.g., 'conversation.create') + Type string `json:"type"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` + // Related webhook ID if applicable + WebhookID *string `json:"webhookId,omitempty"` + // Related WhatsApp integration ID if applicable + WhatsappIntegrationID *string `json:"whatsappIntegrationId,omitempty"` + // Related widget integration ID if applicable + WidgetIntegrationID *string `json:"widgetIntegrationId,omitempty"` +} + +type DecisionCreateRequest struct { + // The decision model to use + Model *string `json:"model,omitempty"` + // The questions to answer keyed by a name of your choice + Questions map[string]Question `json:"questions"` + // The content to decide about, as text or a JSON object or array of related context + State *StateElement `json:"state"` +} + +// A typed question to answer about the state +type Question struct { + // What a true and a false answer mean + // + // The options keyed by name, each with a description (2 to 255) + // + // The levels ordered from lowest to highest (2 to 10) + Criteria *QuestionCriteria `json:"criteria"` + // Text, or a JSON object or array of related context + Instructions *StateElement `json:"instructions"` + Type QuestionType `json:"type"` +} + +// What a true and a false answer mean +// +// The options keyed by name, each with a description (2 to 255) +type PurpleCriteria struct { + // A description of an option or level, or null when its name says enough + False *StateElement `json:"false"` + // A description of an option or level, or null when its name says enough + True *StateElement `json:"true"` +} + +type DecisionCreateResponse struct { + // The answers keyed by the question names + Answers map[string]Answer `json:"answers"` + Usage DecisionCreateResponseUsage `json:"usage"` +} + +// The answer to a typed question +type Answer struct { + // The probability from 0 to 1 that the answer is true + Probability *float64 `json:"probability,omitempty"` + Type QuestionType `json:"type"` + // The name of the most likely option + Choice *string `json:"choice,omitempty"` + // The probability of each option + // + // The probability of each level keyed by its index + Probabilities map[string]float64 `json:"probabilities,omitempty"` + // The probability-weighted level index, starting at 0 + Score *float64 `json:"score,omitempty"` +} + +type DecisionCreateResponseUsage struct { + InputTokens float64 `json:"inputTokens"` + // The model that answered + Model string `json:"model"` + OutputTokens float64 `json:"outputTokens"` } -// A bot configuration that can be applied without a dedicated bot instance. -type TriggerIntegrationListStreamItemData struct { - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // When enabled the integration requires authentication - Authenticate *bool `json:"authenticate,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The ID of the bot this configuration is using - BotID *string `json:"botId,omitempty"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description *string `json:"description,omitempty"` - // The instance ID - ID string `json:"id"` - // The timestamp (ms) of the last trigger execution - LastTriggerAt *float64 `json:"lastTriggerAt,omitempty"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The timestamp (ms) of the next scheduled trigger execution - NextTriggerAt *float64 `json:"nextTriggerAt,omitempty"` - // The schedule for the trigger integration (interval, cron expression, ISO date, or null) - Schedule *string `json:"schedule,omitempty"` - // The Trigger integration secret - Secret string `json:"secret"` - // The session duration (in milliseconds) - SessionDuration *float64 `json:"sessionDuration,omitempty"` - // The IANA timezone identifier used to evaluate the trigger schedule. - Timezone *string `json:"timezone,omitempty"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` +type DatasetListParams struct { + // The cursor to use for pagination + Cursor *string `json:"cursor,omitempty"` + // Key-value pairs to filter the items by metadata + Meta map[string]string `json:"meta,omitempty"` + // The order of the paginated items + Order *DatasetListParamsOrder `json:"order,omitempty"` + // The number of items to retrieve + Take *int64 `json:"take,omitempty"` } -type IntegrationTwilioDeleteParams struct { - // The ID of the Twilio integration - TwilioIntegrationID string `json:"twilioIntegrationId"` +type DatasetListResponse struct { + // Cursor for fetching the next page + Cursor string `json:"cursor"` + Items []DatasetListResponseItem `json:"items"` } -type IntegrationTwilioDeleteResponse struct { - // The ID of the deleted Twilio integration - ID string `json:"id"` +// Blueprint properties +type DatasetListResponseItem struct { + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description *string `json:"description,omitempty"` + // The instance ID + ID string `json:"id"` + // An instruction to include before found records + MatchInstruction *string `json:"matchInstruction,omitempty"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // An instruction to include if no records where found + MismatchInstruction *string `json:"mismatchInstruction,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The total number of tokens for each record + RecordMaxTokens *float64 `json:"recordMaxTokens,omitempty"` + // The reranker class for the dataset + Reranker *string `json:"reranker,omitempty"` + // The total number of records to return during search + SearchMaxRecords *float64 `json:"searchMaxRecords,omitempty"` + // The total number of tokens to use during search + SearchMaxTokens *float64 `json:"searchMaxTokens,omitempty"` + // The minimum score to filter search results by + SearchMinScore *float64 `json:"searchMinScore,omitempty"` + // A list of separators to use when tokenizing text + Separators *string `json:"separators,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` + // The dataset visibility + Visibility *HilariousVisibility `json:"visibility,omitempty"` } -type IntegrationTwilioFetchParams struct { - // The ID of the Twilio integration to retrieve - TwilioIntegrationID string `json:"twilioIntegrationId"` +type DatasetListStreamItem struct { + // Blueprint properties + Data DatasetListStreamItemData `json:"data"` + // The type of event + Type DatasetListStreamItemType `json:"type"` } // Blueprint properties -type IntegrationTwilioFetchResponse struct { - // The Twilio account SID - AccountSid *string `json:"accountSid,omitempty"` - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // Newline-or-comma-separated list of allowed senders - AllowFrom *string `json:"allowFrom,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The ID of the bot this configuration is using - BotID *string `json:"botId,omitempty"` - // Weather to collect contacts - ContactCollection *bool `json:"contactCollection,omitempty"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description *string `json:"description,omitempty"` - // The instance ID - ID string `json:"id"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The session duration (in milliseconds) - SessionDuration *float64 `json:"sessionDuration,omitempty"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` - // The voice configuration structured string - Voice *string `json:"voice,omitempty"` +type DatasetListStreamItemData struct { + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description *string `json:"description,omitempty"` + // The instance ID + ID string `json:"id"` + // An instruction to include before found records + MatchInstruction *string `json:"matchInstruction,omitempty"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // An instruction to include if no records where found + MismatchInstruction *string `json:"mismatchInstruction,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The total number of tokens for each record + RecordMaxTokens *float64 `json:"recordMaxTokens,omitempty"` + // The reranker class for the dataset + Reranker *string `json:"reranker,omitempty"` + // The total number of records to return during search + SearchMaxRecords *float64 `json:"searchMaxRecords,omitempty"` + // The total number of tokens to use during search + SearchMaxTokens *float64 `json:"searchMaxTokens,omitempty"` + // The minimum score to filter search results by + SearchMinScore *float64 `json:"searchMinScore,omitempty"` + // A list of separators to use when tokenizing text + Separators *string `json:"separators,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` + // The dataset visibility + Visibility *AmbitiousVisibility `json:"visibility,omitempty"` } -type IntegrationTwilioSetupParams struct { - // The ID of the Twilio integration - TwilioIntegrationID string `json:"twilioIntegrationId"` +// Blueprint properties +type DatasetCreateRequest struct { + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The associated description + Description *string `json:"description,omitempty"` + // An instruction to include before found records + MatchInstruction *string `json:"matchInstruction,omitempty"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // An instruction to include if no records where found + MismatchInstruction *string `json:"mismatchInstruction,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The total number of tokens for each record + RecordMaxTokens *float64 `json:"recordMaxTokens,omitempty"` + // The reranker class for the dataset + Reranker *string `json:"reranker,omitempty"` + // The total number of records to return during search + SearchMaxRecords *float64 `json:"searchMaxRecords,omitempty"` + // The total number of tokens to use during search + SearchMaxTokens *float64 `json:"searchMaxTokens,omitempty"` + // The minimum score to filter search results by + SearchMinScore *float64 `json:"searchMinScore,omitempty"` + // A list of separators to use when tokenizing text + Separators *string `json:"separators,omitempty"` + // The dataset visibility + Visibility *DatasetCreateRequestVisibility `json:"visibility,omitempty"` } -type IntegrationTwilioSetupResponse struct { - // The ID of the Twilio Integration - ID string `json:"id"` +type DatasetCreateResponse struct { + // The ID of the created dataset + ID string `json:"id"` } -type IntegrationTwilioUpdateParams struct { - // The ID of the Twilio integration - TwilioIntegrationID string `json:"twilioIntegrationId"` +type DatasetUpdateParams struct { + DatasetID string `json:"datasetId"` } -// A bot configuration that can be applied without a dedicated bot instance. -type IntegrationTwilioUpdateRequest struct { - // The Twilio account SID - AccountSid *string `json:"accountSid,omitempty"` - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // Newline-or-comma-separated list of allowed senders. Use E.164 phone numbers with or - // without the leading `+`. Set to `*` to allow all. Leave empty to deny all. - AllowFrom *string `json:"allowFrom,omitempty"` - // The Twilio auth token - AuthToken *string `json:"authToken,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The ID of the bot this configuration is using - BotID *string `json:"botId,omitempty"` - // Weather to collect contacts - ContactCollection *bool `json:"contactCollection,omitempty"` - // The associated description - Description *string `json:"description,omitempty"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The session duration (in milliseconds) - SessionDuration *float64 `json:"sessionDuration,omitempty"` - // The voice configuration structured string - Voice *string `json:"voice,omitempty"` +// Blueprint properties +type DatasetUpdateRequest struct { + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The associated description + Description *string `json:"description,omitempty"` + // An instruction to include before found records + MatchInstruction *string `json:"matchInstruction,omitempty"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // An instruction to include if no records where found + MismatchInstruction *string `json:"mismatchInstruction,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The total number of tokens to for each record + RecordMaxTokens *float64 `json:"recordMaxTokens,omitempty"` + // The reranker class for the dataset + Reranker *string `json:"reranker,omitempty"` + // The total number of records to return during search + SearchMaxRecords *float64 `json:"searchMaxRecords,omitempty"` + // The total number of tokens to use during search + SearchMaxTokens *float64 `json:"searchMaxTokens,omitempty"` + // The minimum score to filter search results by + SearchMinScore *float64 `json:"searchMinScore,omitempty"` + // A list of separators to use when tokenizing text + Separators *string `json:"separators,omitempty"` + // The dataset visibility + Visibility *DatasetUpdateRequestVisibility `json:"visibility,omitempty"` } -type IntegrationTwilioUpdateResponse struct { - // The ID of the Twilio Integration - ID string `json:"id"` +type DatasetUpdateResponse struct { + // The ID of the updated dataset + ID string `json:"id"` } -// A bot configuration that can be applied without a dedicated bot instance. -type IntegrationTwilioCreateRequest struct { - // The Twilio account SID - AccountSid *string `json:"accountSid,omitempty"` - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // Newline-or-comma-separated list of allowed senders. Use E.164 phone numbers with or - // without the leading `+`. Set to `*` to allow all. Leave empty to deny all. - AllowFrom *string `json:"allowFrom,omitempty"` - // The Twilio auth token - AuthToken *string `json:"authToken,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The ID of the bot this configuration is using - BotID *string `json:"botId,omitempty"` - // Weather to collect contacts - ContactCollection *bool `json:"contactCollection,omitempty"` - // The associated description - Description *string `json:"description,omitempty"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The session duration (in milliseconds) - SessionDuration *float64 `json:"sessionDuration,omitempty"` - // The voice configuration structured string - Voice *string `json:"voice,omitempty"` +type DatasetSearchParams struct { + // The ID of the dataset to search + DatasetID string `json:"datasetId"` } -type IntegrationTwilioCreateResponse struct { - // The ID of the Twilio Integration - ID string `json:"id"` +type DatasetSearchRequest struct { + Filter map[string]*FilterValue `json:"filter,omitempty"` + // The keyword/phrase to search for + Search string `json:"search"` } -type IntegrationTwilioListParams struct { - // The cursor to use for pagination - Cursor *string `json:"cursor,omitempty"` - // Key-value pairs to filter the partner users by metadata - Meta map[string]string `json:"meta,omitempty"` - // The order of the paginated items - Order *IntegrationTwilioListParamsOrder `json:"order,omitempty"` - // The number of items to retrieve - Take *int64 `json:"take,omitempty"` +type FilterClass struct { + Eq *Eq `json:"$eq"` + Ne *Eq `json:"$ne"` + Gt *float64 `json:"$gt,omitempty"` + Gte *float64 `json:"$gte,omitempty"` + Lt *float64 `json:"$lt,omitempty"` + LTE *float64 `json:"$lte,omitempty"` } -type IntegrationTwilioListResponse struct { - // Cursor for fetching the next page - Cursor string `json:"cursor"` - Items []IntegrationTwilioListResponseItem `json:"items"` +type DatasetSearchResponse struct { + // The ID of the dataset that was searched + ID string `json:"id"` + // An array of records matching the search query + Records []DatasetSearchResponseRecord `json:"records"` } -// Blueprint properties -type IntegrationTwilioListResponseItem struct { - // The Twilio account SID - AccountSid *string `json:"accountSid,omitempty"` - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // Newline-or-comma-separated list of allowed senders - AllowFrom *string `json:"allowFrom,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The ID of the bot this configuration is using - BotID *string `json:"botId,omitempty"` - // Weather to collect contacts - ContactCollection *bool `json:"contactCollection,omitempty"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description *string `json:"description,omitempty"` - // The instance ID - ID string `json:"id"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The session duration (in milliseconds) - SessionDuration *float64 `json:"sessionDuration,omitempty"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` - // The voice configuration structured string - Voice *string `json:"voice,omitempty"` +type DatasetSearchResponseRecord struct { + ID string `json:"id"` + Meta map[string]interface{} `json:"meta,omitempty"` + Score float64 `json:"score"` + Source *string `json:"source,omitempty"` + Text string `json:"text"` } -type IntegrationTwilioListStreamItem struct { - // Blueprint properties - Data IntegrationTwilioListStreamItemData `json:"data"` - // The type of event - Type IntegrationTwilioListStreamItemType `json:"type"` +type DatasetFetchParams struct { + // The ID of the dataset to retrieve + DatasetID string `json:"datasetId"` } // Blueprint properties -type IntegrationTwilioListStreamItemData struct { - // The Twilio account SID - AccountSid *string `json:"accountSid,omitempty"` - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // Newline-or-comma-separated list of allowed senders - AllowFrom *string `json:"allowFrom,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The ID of the bot this configuration is using - BotID *string `json:"botId,omitempty"` - // Weather to collect contacts - ContactCollection *bool `json:"contactCollection,omitempty"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description *string `json:"description,omitempty"` - // The instance ID - ID string `json:"id"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The session duration (in milliseconds) - SessionDuration *float64 `json:"sessionDuration,omitempty"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` - // The voice configuration structured string - Voice *string `json:"voice,omitempty"` +type DatasetFetchResponse struct { + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description *string `json:"description,omitempty"` + // The instance ID + ID string `json:"id"` + // An instruction to include before found records + MatchInstruction *string `json:"matchInstruction,omitempty"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // An instruction to include if no records where found + MismatchInstruction *string `json:"mismatchInstruction,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The total number of tokens for each record + RecordMaxTokens *float64 `json:"recordMaxTokens,omitempty"` + // The reranker class for the dataset + Reranker *string `json:"reranker,omitempty"` + // The total number of records to return during search + SearchMaxRecords *float64 `json:"searchMaxRecords,omitempty"` + // The total number of tokens to use during search + SearchMaxTokens *float64 `json:"searchMaxTokens,omitempty"` + // The minimum score to filter search results by + SearchMinScore *float64 `json:"searchMinScore,omitempty"` + // A list of separators to use when tokenizing text + Separators *string `json:"separators,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` + // The dataset visibility + Visibility *DatasetFetchResponseVisibility `json:"visibility,omitempty"` } -type IntegrationWhatsAppDeleteParams struct { - // The ID of the WhatsApp integration - WhatsappIntegrationID string `json:"whatsappIntegrationId"` +type DatasetDeleteParams struct { + // The ID of the dataset to delete + DatasetID string `json:"datasetId"` } -type IntegrationWhatsAppDeleteResponse struct { - // The ID of the deleted WhatsApp integration - ID string `json:"id"` +type DatasetDeleteResponse struct { + // The ID of the deleted dataset + ID string `json:"id"` } -type IntegrationWhatsAppFetchParams struct { - // The ID of the WhatsApp integration to retrieve - WhatsappIntegrationID string `json:"whatsappIntegrationId"` +type DatasetRecordListParams struct { + // The cursor to use for pagination + Cursor *string `json:"cursor,omitempty"` + // The ID of the dataset + DatasetID string `json:"datasetId"` + // The order of the paginated items + Order *DatasetRecordListParamsOrder `json:"order,omitempty"` + // The number of items to retrieve + Take *int64 `json:"take,omitempty"` } -// Blueprint properties -type IntegrationWhatsAppFetchResponse struct { - // The WhatsApp integration access token (returned as '********' if configured, null - // otherwise) - AccessToken *string `json:"accessToken,omitempty"` - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // Newline-or-comma-separated list of allowed senders - AllowFrom *string `json:"allowFrom,omitempty"` - // Weather the bot supports attachments - Attachments *bool `json:"attachments,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The ID of the bot this configuration is using - BotID *string `json:"botId,omitempty"` - // Weather to collect contacts - ContactCollection *bool `json:"contactCollection,omitempty"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description *string `json:"description,omitempty"` - // The instance ID - ID string `json:"id"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The WhatsApp integration phone number ID - PhoneNumberID *string `json:"phoneNumberId,omitempty"` - // The session duration (in milliseconds) - SessionDuration *float64 `json:"sessionDuration,omitempty"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` - // The WhatsApp integration verify token - VerifyToken string `json:"verifyToken"` +type DatasetRecordListResponse struct { + // Cursor for fetching the next page + Cursor string `json:"cursor"` + Items []DatasetRecordListResponseItem `json:"items"` } -type IntegrationWhatsAppSetupParams struct { - // The ID of the WhatsApp integration - WhatsappIntegrationID string `json:"whatsappIntegrationId"` +// Instance list properties +type DatasetRecordListResponseItem struct { + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The instance ID + ID string `json:"id"` + Source *string `json:"source,omitempty"` + Text string `json:"text"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` } -type IntegrationWhatsAppSetupResponse struct { - // The ID of the WhatsApp Integration - ID string `json:"id"` +type DatasetRecordListStreamItem struct { + // Instance list properties + Data DatasetRecordListStreamItemData `json:"data"` + // The type of event + Type DatasetRecordListStreamItemType `json:"type"` } -type IntegrationWhatsAppUpdateParams struct { - // The ID of the WhatsApp integration - WhatsappIntegrationID string `json:"whatsappIntegrationId"` +// Instance list properties +type DatasetRecordListStreamItemData struct { + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The instance ID + ID string `json:"id"` + Source *string `json:"source,omitempty"` + Text string `json:"text"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` } -// A bot configuration that can be applied without a dedicated bot instance. -type IntegrationWhatsAppUpdateRequest struct { - // The WhatsApp integration access token - AccessToken *string `json:"accessToken,omitempty"` - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // Newline-or-comma-separated list of allowed senders. Use E.164 phone numbers with or - // without the leading `+`. Set to `*` to allow all. Leave empty to deny all. - AllowFrom *string `json:"allowFrom,omitempty"` - // Weather the bot supports attachments - Attachments *bool `json:"attachments,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The ID of the bot this configuration is using - BotID *string `json:"botId,omitempty"` - // Weather to collect contacts - ContactCollection *bool `json:"contactCollection,omitempty"` - // The associated description - Description *string `json:"description,omitempty"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The WhatsApp integration phone number ID - PhoneNumberID *string `json:"phoneNumberId,omitempty"` - // The session duration (in milliseconds) - SessionDuration *float64 `json:"sessionDuration,omitempty"` +type DatasetRecordsExportParams struct { + // The cursor to use for pagination + Cursor *string `json:"cursor,omitempty"` + // The ID of the dataset to export + DatasetID string `json:"datasetId"` + // The order of the paginated items + Order *DatasetRecordsExportParamsOrder `json:"order,omitempty"` + // The number of items to retrieve + Take *int64 `json:"take,omitempty"` } -type IntegrationWhatsAppUpdateResponse struct { - // The ID of the WhatsApp Integration - ID string `json:"id"` +type DatasetRecordsExportResponse struct { + // Cursor for fetching the next page + Cursor string `json:"cursor"` + Items []DatasetRecordsExportResponseItem `json:"items"` } -// A bot configuration that can be applied without a dedicated bot instance. -type IntegrationWhatsAppCreateRequest struct { - // The WhatsApp integration access token - AccessToken *string `json:"accessToken,omitempty"` - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // Newline-or-comma-separated list of allowed senders. Use E.164 phone numbers with or - // without the leading `+`. Set to `*` to allow all. Leave empty to deny all. - AllowFrom *string `json:"allowFrom,omitempty"` - // Weather the bot supports attachments - Attachments *bool `json:"attachments,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The ID of the bot this configuration is using - BotID *string `json:"botId,omitempty"` - // Weather to collect contacts - ContactCollection *bool `json:"contactCollection,omitempty"` - // The associated description - Description *string `json:"description,omitempty"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The WhatsApp integration phone number ID - PhoneNumberID *string `json:"phoneNumberId,omitempty"` - // The session duration (in milliseconds) - SessionDuration *float64 `json:"sessionDuration,omitempty"` +// Instance list properties +type DatasetRecordsExportResponseItem struct { + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The instance ID + ID string `json:"id"` + Source *string `json:"source,omitempty"` + Text string `json:"text"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` } -type IntegrationWhatsAppCreateResponse struct { - // The ID of the WhatsApp Integration - ID string `json:"id"` +type DatasetRecordsExportStreamItem struct { + // Instance list properties + Data DatasetRecordsExportStreamItemData `json:"data"` + // The type of event + Type DatasetRecordsExportStreamItemType `json:"type"` } -type IntegrationWhatsAppListParams struct { - // The cursor to use for pagination - Cursor *string `json:"cursor,omitempty"` - // Key-value pairs to filter the partner users by metadata - Meta map[string]string `json:"meta,omitempty"` - // The order of the paginated items - Order *IntegrationWhatsAppListParamsOrder `json:"order,omitempty"` - // The number of items to retrieve - Take *int64 `json:"take,omitempty"` +// Instance list properties +type DatasetRecordsExportStreamItemData struct { + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The instance ID + ID string `json:"id"` + Source *string `json:"source,omitempty"` + Text string `json:"text"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` } -type IntegrationWhatsAppListResponse struct { - // Cursor for fetching the next page - Cursor string `json:"cursor"` - Items []IntegrationWhatsAppListResponseItem `json:"items"` +type DatasetRecordCreateParams struct { + DatasetID string `json:"datasetId"` } -// Blueprint properties -type IntegrationWhatsAppListResponseItem struct { - // The WhatsApp integration access token (returned as '********' if configured, null - // otherwise) - AccessToken *string `json:"accessToken,omitempty"` - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // Newline-or-comma-separated list of allowed senders. Use phone numbers in E.164 format - // (digits only). Leave empty to block all. Use * to allow everyone. - AllowFrom *string `json:"allowFrom,omitempty"` - // Weather the bot supports attachments - Attachments *bool `json:"attachments,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The ID of the bot this configuration is using - BotID *string `json:"botId,omitempty"` - // Weather to collect contacts - ContactCollection *bool `json:"contactCollection,omitempty"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description *string `json:"description,omitempty"` - // The instance ID - ID string `json:"id"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The WhatsApp integration phone number ID - PhoneNumberID *string `json:"phoneNumberId,omitempty"` - // The session duration (in milliseconds) - SessionDuration *float64 `json:"sessionDuration,omitempty"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` - // The WhatsApp integration verify token - VerifyToken string `json:"verifyToken"` +type DatasetRecordCreateRequest struct { + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The source of the record + Source *string `json:"source,omitempty"` + // The text of the record + Text string `json:"text"` } -type IntegrationWhatsAppListStreamItem struct { - // Blueprint properties - Data IntegrationWhatsAppListStreamItemData `json:"data"` - // The type of event - Type IntegrationWhatsAppListStreamItemType `json:"type"` +type DatasetRecordCreateResponse struct { + // The ID of the created record + ID string `json:"id"` } -// Blueprint properties -type IntegrationWhatsAppListStreamItemData struct { - // The WhatsApp integration access token (returned as '********' if configured, null - // otherwise) - AccessToken *string `json:"accessToken,omitempty"` - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // Newline-or-comma-separated list of allowed senders. Use phone numbers in E.164 format - // (digits only). Leave empty to block all. Use * to allow everyone. - AllowFrom *string `json:"allowFrom,omitempty"` - // Weather the bot supports attachments - Attachments *bool `json:"attachments,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The ID of the bot this configuration is using - BotID *string `json:"botId,omitempty"` - // Weather to collect contacts - ContactCollection *bool `json:"contactCollection,omitempty"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description *string `json:"description,omitempty"` - // The instance ID - ID string `json:"id"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The WhatsApp integration phone number ID - PhoneNumberID *string `json:"phoneNumberId,omitempty"` - // The session duration (in milliseconds) - SessionDuration *float64 `json:"sessionDuration,omitempty"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` - // The WhatsApp integration verify token - VerifyToken string `json:"verifyToken"` +type DatasetRecordUpdateParams struct { + DatasetID string `json:"datasetId"` + RecordID string `json:"recordId"` } -type IntegrationWidgetCloneParams struct { - // The ID of the Widget integration - WidgetIntegrationID string `json:"widgetIntegrationId"` +type DatasetRecordUpdateRequest struct { + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The source to update the record with + Source *string `json:"source,omitempty"` + // The text to update the record with + Text *string `json:"text,omitempty"` } -type IntegrationWidgetCloneResponse struct { - // The ID of the cloned Widget integration - ID string `json:"id"` +type DatasetRecordUpdateResponse struct { + // The ID of the updated record + ID string `json:"id"` } -type IntegrationWidgetDeleteParams struct { - // The ID of the Widget integration - WidgetIntegrationID string `json:"widgetIntegrationId"` +type DatasetRecordFetchParams struct { + // The ID of the dataset + DatasetID string `json:"datasetId"` + // The ID of the record to retrieve + RecordID string `json:"recordId"` } -type IntegrationWidgetDeleteResponse struct { - // The ID of the deleted Widget integration - ID string `json:"id"` +// Instance list properties +type DatasetRecordFetchResponse struct { + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The instance ID + ID string `json:"id"` + // The source of the dataset record + Source *string `json:"source,omitempty"` + // The text of the dataset record + Text string `json:"text"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` } -type IntegrationWidgetFetchParams struct { - // The ID of the Widget integration to retrieve - WidgetIntegrationID string `json:"widgetIntegrationId"` +type DatasetRecordDeleteParams struct { + // The ID of the dataset + DatasetID string `json:"datasetId"` + // The ID of the record to delete + RecordID string `json:"recordId"` +} + +type DatasetRecordDeleteResponse struct { + // The ID of the deleted record + ID string `json:"id"` } -// A bot configuration that can be applied without a dedicated bot instance. -type IntegrationWidgetFetchResponse struct { - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // Whether the Widget integration supports attachments - Attachments *bool `json:"attachments,omitempty"` - // Whether the Widget integration auto scrolls - AutoScroll *bool `json:"autoScroll,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The ID of the bot this configuration is using - BotID *string `json:"botId,omitempty"` - // Whether the Widget integration supports carousels - Carousel *bool `json:"carousel,omitempty"` - // Whether the Widget integration collects contacts - ContactCollection *bool `json:"contactCollection,omitempty"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description *string `json:"description,omitempty"` - // Controls whether the Widget allows exporting the current conversation - ExportConversation *bool `json:"exportConversation,omitempty"` - // Whether the Widget integration supports forms - Form *bool `json:"form,omitempty"` - // The instance ID - ID string `json:"id"` - // The initial message of the Widget integration - Initial *string `json:"initial,omitempty"` - // The intro of the Widget integration - Intro *string `json:"intro,omitempty"` - // The language of the Widget integration - Language *string `json:"language,omitempty"` - // The default layout of the Widget integration - Layout *string `json:"layout,omitempty"` - // Whether the Widget integration supports math - Math *bool `json:"math,omitempty"` - // Controls whether the Widget allows maximizing the conversation - Maximize *bool `json:"maximize,omitempty"` - // Controls whether the Widget allows peeking at the initial messages - MessagePeek *bool `json:"messagePeek,omitempty"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The origin URLs of the Widget integration - Origin *string `json:"origin,omitempty"` - // The input placeholder of the Widget integration - Placeholder *string `json:"placeholder,omitempty"` - // The plugins of the Widget integration - Plugins *string `json:"plugins,omitempty"` - // Whether the Widget integration displays powered by - PoweredBy *bool `json:"poweredBy,omitempty"` - // Controls whether the Widget allows restarting the conversation - RestartConversation *bool `json:"restartConversation,omitempty"` - // The session duration of the Widget integration - SessionDuration *float64 `json:"sessionDuration,omitempty"` - // Whether the Widget integration starts first - StartFirst *bool `json:"startFirst,omitempty"` - // Whether the Widget integration is streaming - Stream *bool `json:"stream,omitempty"` - // The theme of the Widget integration - Theme *string `json:"theme,omitempty"` - // The title of the Widget integration - Title *string `json:"title,omitempty"` - // Whether the Widget integration has tools - Tools *bool `json:"tools,omitempty"` - // Whether the Widget integration unfurls links - Unfurl *bool `json:"unfurl,omitempty"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` - // Whether the Widget integration is verbose - Verbose *bool `json:"verbose,omitempty"` - // Whether the Widget integration supports voice input - VoiceIn *bool `json:"voiceIn,omitempty"` - // Whether the Widget integration supports voice output - VoiceOut *bool `json:"voiceOut,omitempty"` +type DatasetFileListParams struct { + // The cursor to use for pagination + Cursor *string `json:"cursor,omitempty"` + // The ID of the dataset + DatasetID string `json:"datasetId"` + // The order of the paginated items + Order *DatasetFileListParamsOrder `json:"order,omitempty"` + // The number of items to retrieve + Take *int64 `json:"take,omitempty"` } -type WidgetIntegrationFileAttachParams struct { - // The ID of the file to attach - FileID string `json:"fileId"` - // The ID of the widget integration - WidgetIntegrationID string `json:"widgetIntegrationId"` +type DatasetFileListResponse struct { + // Cursor for fetching the next page + Cursor string `json:"cursor"` + Items []DatasetFileListResponseItem `json:"items"` } -type WidgetIntegrationFileAttachRequest struct { - // The attachment slot type for the file - Type WidgetIntegrationFileAttachRequestType `json:"type"` +// Instance list properties +type DatasetFileListResponseItem struct { + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description *string `json:"description,omitempty"` + // The instance ID + ID string `json:"id"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` + // The file visibility + Visibility *CunningVisibility `json:"visibility,omitempty"` } -type WidgetIntegrationFileAttachResponse struct { - // The ID of the attached file - ID string `json:"id"` - // The attachment slot type - Type string `json:"type"` - // The ID of the widget integration - WidgetIntegrationID string `json:"widgetIntegrationId"` +type DatasetFileListStreamItem struct { + // Blueprint properties + Data DatasetFileListStreamItemData `json:"data"` + // The type of event + Type DatasetFileListStreamItemType `json:"type"` } -type WidgetIntegrationFileDetachParams struct { - // The ID of the file to detach - FileID string `json:"fileId"` - // The ID of the widget integration - WidgetIntegrationID string `json:"widgetIntegrationId"` +// Blueprint properties +type DatasetFileListStreamItemData struct { + // The unique alias for the instance + Alias *string `json:"alias,omitempty"` + // The ID of the blueprint + BlueprintID *string `json:"blueprintId,omitempty"` + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description *string `json:"description,omitempty"` + // The instance ID + ID string `json:"id"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` + // The file visibility + Visibility *MagentaVisibility `json:"visibility,omitempty"` } -type WidgetIntegrationFileDetachResponse struct { - // The ID of the detached file - ID string `json:"id"` - // The attachment slot type that was cleared - Type string `json:"type"` - // The ID of the widget integration - WidgetIntegrationID string `json:"widgetIntegrationId"` +type DatasetFileSyncParams struct { + // The ID of the dataset + DatasetID string `json:"datasetId"` + // The ID of the file + FileID string `json:"fileId"` } -type IntegrationWidgetSetupParams struct { - // The ID of the Widget integration - WidgetIntegrationID string `json:"widgetIntegrationId"` +type DatasetFileSyncResponse struct { + // The ID of the dataset file + ID string `json:"id"` } -type IntegrationWidgetSetupResponse struct { - // The ID of the Widget integration - ID string `json:"id"` +type DatasetFileDetachParams struct { + // The ID of the dataset + DatasetID string `json:"datasetId"` + // The ID of the file + FileID string `json:"fileId"` } -type IntegrationWidgetUpdateParams struct { - // The ID of the Widget integration - WidgetIntegrationID string `json:"widgetIntegrationId"` +type DatasetFileDetachRequest struct { + // Delete records associated with the file + DeleteRecords *bool `json:"deleteRecords,omitempty"` } -// A bot configuration that can be applied without a dedicated bot instance. -type IntegrationWidgetUpdateRequest struct { - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // Whether the Widget integration supports attachments - Attachments *bool `json:"attachments,omitempty"` - // Whether the Widget integration auto scrolls - AutoScroll *bool `json:"autoScroll,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The ID of the bot this configuration is using - BotID *string `json:"botId,omitempty"` - // Whether the Widget integration supports carousels - Carousel *bool `json:"carousel,omitempty"` - // Whether the Widget integration collects contacts - ContactCollection *bool `json:"contactCollection,omitempty"` - // The associated description - Description *string `json:"description,omitempty"` - // Controls whether the Widget allows exporting the current conversation - ExportConversation *bool `json:"exportConversation,omitempty"` - // Whether the Widget integration supports forms - Form *bool `json:"form,omitempty"` - // The initial message of the Widget integration - Initial *string `json:"initial,omitempty"` - // The intro of the Widget integration - Intro *string `json:"intro,omitempty"` - // The language of the Widget integration - Language *string `json:"language,omitempty"` - // The default layout of the Widget integration - Layout *string `json:"layout,omitempty"` - // Whether the Widget integration supports math - Math *bool `json:"math,omitempty"` - // Controls whether the Widget allows maximizing the conversation - Maximize *bool `json:"maximize,omitempty"` - // Controls whether the Widget allows peeking at the initial messages - MessagePeek *bool `json:"messagePeek,omitempty"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The origin URLs of the Widget integration - Origin *string `json:"origin,omitempty"` - // The input placeholder of the Widget integration - Placeholder *string `json:"placeholder,omitempty"` - // The plugins of the Widget integration - Plugins *string `json:"plugins,omitempty"` - // Whether the Widget integration displays powered by - PoweredBy *bool `json:"poweredBy,omitempty"` - // Controls whether the Widget allows restarting the conversation - RestartConversation *bool `json:"restartConversation,omitempty"` - // The session duration of the Widget integration - SessionDuration *float64 `json:"sessionDuration,omitempty"` - // Whether the Widget integration starts first - StartFirst *bool `json:"startFirst,omitempty"` - // Whether the Widget integration is streaming - Stream *bool `json:"stream,omitempty"` - // The theme of the Widget integration - Theme *string `json:"theme,omitempty"` - // The title of the Widget integration - Title *string `json:"title,omitempty"` - // Whether the Widget integration has tools - Tools *bool `json:"tools,omitempty"` - // Whether the Widget integration unfurls links - Unfurl *bool `json:"unfurl,omitempty"` - // Whether the Widget integration is verbose - Verbose *bool `json:"verbose,omitempty"` - // Controls whether the Widget allows voice input - VoiceIn *bool `json:"voiceIn,omitempty"` - // Controls whether the Widget allows voice output - VoiceOut *bool `json:"voiceOut,omitempty"` +type DatasetFileDetachResponse struct { + // The ID of the dataset file + ID string `json:"id"` } -type IntegrationWidgetUpdateResponse struct { - // The ID of the Widget Integration - ID string `json:"id"` +type DatasetFileAttachParams struct { + // The ID of the dataset + DatasetID string `json:"datasetId"` + // The ID of the file + FileID string `json:"fileId"` } -// A bot configuration that can be applied without a dedicated bot instance. -type IntegrationWidgetCreateRequest struct { - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // Weather the Widget integration supports attachments - Attachments *bool `json:"attachments,omitempty"` - // Whether the Widget integration auto scrolls - AutoScroll *bool `json:"autoScroll,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The ID of the bot this configuration is using - BotID *string `json:"botId,omitempty"` - // Weather the Widget integration supports carousels - Carousel *bool `json:"carousel,omitempty"` - // Whether the Widget integration collects contacts - ContactCollection *bool `json:"contactCollection,omitempty"` - // The associated description - Description *string `json:"description,omitempty"` - // Controls whether the Widget allows exporting the current conversation - ExportConversation *bool `json:"exportConversation,omitempty"` - // Weather the Widget integration supports forms - Form *bool `json:"form,omitempty"` - // The initial message of the Widget integration - Initial *string `json:"initial,omitempty"` - // The intro of the Widget integration - Intro *string `json:"intro,omitempty"` - // The language of the Widget integration - Language *string `json:"language,omitempty"` - // The default layout of the Widget integration - Layout *string `json:"layout,omitempty"` - // Weather the Widget integration supports math - Math *bool `json:"math,omitempty"` - // Controls whether the Widget allows maximizing the conversation - Maximize *bool `json:"maximize,omitempty"` - // Controls whether the Widget allows peeking at the initial messages - MessagePeek *bool `json:"messagePeek,omitempty"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The origin URLs of the Widget integration - Origin *string `json:"origin,omitempty"` - // The input placeholder of the Widget integration - Placeholder *string `json:"placeholder,omitempty"` - // The plugins of the Widget integration - Plugins *string `json:"plugins,omitempty"` - // Whether the Widget integration displays powered by - PoweredBy *bool `json:"poweredBy,omitempty"` - // Controls whether the Widget allows restarting the conversation - RestartConversation *bool `json:"restartConversation,omitempty"` - // The session duration of the Widget integration - SessionDuration *float64 `json:"sessionDuration,omitempty"` - // Whether the Widget integration starts first - StartFirst *bool `json:"startFirst,omitempty"` - // Whether the Widget integration is streaming - Stream *bool `json:"stream,omitempty"` - // The theme of the Widget integration - Theme *string `json:"theme,omitempty"` - // The title of the Widget integration - Title *string `json:"title,omitempty"` - // Whether the Widget integration has tools - Tools *bool `json:"tools,omitempty"` - // Whether the Widget integration unfurls links - Unfurl *bool `json:"unfurl,omitempty"` - // Whether the Widget integration is verbose - Verbose *bool `json:"verbose,omitempty"` - // Controls whether the Widget allows voice input - VoiceIn *bool `json:"voiceIn,omitempty"` - // Controls whether the Widget allows voice output - VoiceOut *bool `json:"voiceOut,omitempty"` +type DatasetFileAttachRequest struct { + // The dataset file attachment type + Type *DatasetFileAttachRequestType `json:"type,omitempty"` } -type IntegrationWidgetCreateResponse struct { - // The ID of the Widget Integration - ID string `json:"id"` +type DatasetFileAttachResponse struct { + // The ID of the dataset file + ID string `json:"id"` } -type IntegrationWidgetListParams struct { - // The cursor to use for pagination - Cursor *string `json:"cursor,omitempty"` - // Key-value pairs to filter the partner users by metadata - Meta map[string]string `json:"meta,omitempty"` - // The order of the paginated items - Order *IntegrationWidgetListParamsOrder `json:"order,omitempty"` - // The number of items to retrieve - Take *int64 `json:"take,omitempty"` +type ConversationListParams struct { + // The cursor to use for pagination + Cursor *string `json:"cursor,omitempty"` + // Key-value pairs to filter the items by metadata + Meta map[string]string `json:"meta,omitempty"` + // The order of the paginated items + Order *ConversationListParamsOrder `json:"order,omitempty"` + // The number of items to retrieve + Take *int64 `json:"take,omitempty"` } -type IntegrationWidgetListResponse struct { - // Cursor for fetching the next page - Cursor string `json:"cursor"` - Items []IntegrationWidgetListResponseItem `json:"items"` +type ConversationListResponse struct { + // Cursor for fetching the next page + Cursor string `json:"cursor"` + Items []ConversationListResponseItem `json:"items"` } +// A bot configuration or reference +// // A bot configuration that can be applied without a dedicated bot instance. -type IntegrationWidgetListResponseItem struct { - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // Weather the Widget integration supports attachments - Attachments *bool `json:"attachments,omitempty"` - // Whether the Widget integration auto scrolls - AutoScroll *bool `json:"autoScroll,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The ID of the bot this configuration is using - BotID *string `json:"botId,omitempty"` - // Weather the Widget integration supports carousels - Carousel *bool `json:"carousel,omitempty"` - // Whether the Widget integration collects contacts - ContactCollection *bool `json:"contactCollection,omitempty"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description *string `json:"description,omitempty"` - // Controls whether the Widget allows exporting the current conversation - ExportConversation *bool `json:"exportConversation,omitempty"` - // Weather the Widget integration supports forms - Form *bool `json:"form,omitempty"` - // The instance ID - ID string `json:"id"` - // The initial message of the Widget integration - Initial *string `json:"initial,omitempty"` - // The intro of the Widget integration - Intro *string `json:"intro,omitempty"` - // The language of the Widget integration - Language *string `json:"language,omitempty"` - // The default layout of the Widget integration - Layout *string `json:"layout,omitempty"` - // Weather the Widget integration supports math - Math *bool `json:"math,omitempty"` - // Controls whether the Widget allows maximizing the conversation - Maximize *bool `json:"maximize,omitempty"` - // Controls whether the Widget allows peeking at the initial messages - MessagePeek *bool `json:"messagePeek,omitempty"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The origin URLs of the Widget integration - Origin *string `json:"origin,omitempty"` - // The input placeholder of the Widget integration - Placeholder *string `json:"placeholder,omitempty"` - // The plugins of the Widget integration - Plugins *string `json:"plugins,omitempty"` - // Whether the Widget integration displays powered by - PoweredBy *bool `json:"poweredBy,omitempty"` - // Controls whether the Widget allows restarting the conversation - RestartConversation *bool `json:"restartConversation,omitempty"` - // The session duration of the Widget integration - SessionDuration *float64 `json:"sessionDuration,omitempty"` - // Whether the Widget integration starts first - StartFirst *bool `json:"startFirst,omitempty"` - // Whether the Widget integration is streaming - Stream *bool `json:"stream,omitempty"` - // The theme of the Widget integration - Theme *string `json:"theme,omitempty"` - // The title of the Widget integration - Title *string `json:"title,omitempty"` - // Whether the Widget integration has tools - Tools *bool `json:"tools,omitempty"` - // Whether the Widget integration unfurls links - Unfurl *bool `json:"unfurl,omitempty"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` - // Whether the Widget integration is verbose - Verbose *bool `json:"verbose,omitempty"` - // Whether the Widget integration supports voice input - VoiceIn *bool `json:"voiceIn,omitempty"` - // Whether the Widget integration supports voice output - VoiceOut *bool `json:"voiceOut,omitempty"` +type ConversationListResponseItem struct { + // The contact id assigned to this conversation + ContactID *string `json:"contactId,omitempty"` + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description *string `json:"description,omitempty"` + // The timestamp (ms) at which the conversation expires and is automatically deleted + ExpiresAt *float64 `json:"expiresAt,omitempty"` + // The instance ID + ID string `json:"id"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The space id assigned to this conversation + SpaceID *string `json:"spaceId,omitempty"` + // The task id assigned to this conversation + TaskID *string `json:"taskId,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` + // The ID of the bot this configuration is using + BotID *string `json:"botId,omitempty"` + // The backstory this configuration is using + Backstory *string `json:"backstory,omitempty"` + // The id of the dataset this configuration is using + DatasetID *string `json:"datasetId,omitempty"` + // A model definition + Model *string `json:"model,omitempty"` + // The moderation flag for this configuration + Moderation *bool `json:"moderation,omitempty"` + // The privacy flag for this configuration + Privacy *bool `json:"privacy,omitempty"` + // The id of the skillset this configuration is using + SkillsetID *string `json:"skillsetId,omitempty"` } -type IntegrationWidgetListStreamItem struct { - // A bot configuration that can be applied without a dedicated bot instance. - Data IntegrationWidgetListStreamItemData `json:"data"` - // The type of event - Type IntegrationWidgetListStreamItemType `json:"type"` +type ConversationListStreamItem struct { + // A bot configuration or reference + Data ConversationListStreamItemData `json:"data"` + // The type of event + Type ConversationListStreamItemType `json:"type"` } +// A bot configuration or reference +// // A bot configuration that can be applied without a dedicated bot instance. -type IntegrationWidgetListStreamItemData struct { - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // Weather the Widget integration supports attachments - Attachments *bool `json:"attachments,omitempty"` - // Whether the Widget integration auto scrolls - AutoScroll *bool `json:"autoScroll,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The ID of the bot this configuration is using - BotID *string `json:"botId,omitempty"` - // Weather the Widget integration supports carousels - Carousel *bool `json:"carousel,omitempty"` - // Whether the Widget integration collects contacts - ContactCollection *bool `json:"contactCollection,omitempty"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description *string `json:"description,omitempty"` - // Controls whether the Widget allows exporting the current conversation - ExportConversation *bool `json:"exportConversation,omitempty"` - // Weather the Widget integration supports forms - Form *bool `json:"form,omitempty"` - // The instance ID - ID string `json:"id"` - // The initial message of the Widget integration - Initial *string `json:"initial,omitempty"` - // The intro of the Widget integration - Intro *string `json:"intro,omitempty"` - // The language of the Widget integration - Language *string `json:"language,omitempty"` - // The default layout of the Widget integration - Layout *string `json:"layout,omitempty"` - // Weather the Widget integration supports math - Math *bool `json:"math,omitempty"` - // Controls whether the Widget allows maximizing the conversation - Maximize *bool `json:"maximize,omitempty"` - // Controls whether the Widget allows peeking at the initial messages - MessagePeek *bool `json:"messagePeek,omitempty"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The origin URLs of the Widget integration - Origin *string `json:"origin,omitempty"` - // The input placeholder of the Widget integration - Placeholder *string `json:"placeholder,omitempty"` - // The plugins of the Widget integration - Plugins *string `json:"plugins,omitempty"` - // Whether the Widget integration displays powered by - PoweredBy *bool `json:"poweredBy,omitempty"` - // Controls whether the Widget allows restarting the conversation - RestartConversation *bool `json:"restartConversation,omitempty"` - // The session duration of the Widget integration - SessionDuration *float64 `json:"sessionDuration,omitempty"` - // Whether the Widget integration starts first - StartFirst *bool `json:"startFirst,omitempty"` - // Whether the Widget integration is streaming - Stream *bool `json:"stream,omitempty"` - // The theme of the Widget integration - Theme *string `json:"theme,omitempty"` - // The title of the Widget integration - Title *string `json:"title,omitempty"` - // Whether the Widget integration has tools - Tools *bool `json:"tools,omitempty"` - // Whether the Widget integration unfurls links - Unfurl *bool `json:"unfurl,omitempty"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` - // Whether the Widget integration is verbose - Verbose *bool `json:"verbose,omitempty"` - // Whether the Widget integration supports voice input - VoiceIn *bool `json:"voiceIn,omitempty"` - // Whether the Widget integration supports voice output - VoiceOut *bool `json:"voiceOut,omitempty"` +type ConversationListStreamItemData struct { + // The contact id assigned to this conversation + ContactID *string `json:"contactId,omitempty"` + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description *string `json:"description,omitempty"` + // The timestamp (ms) at which the conversation expires and is automatically deleted + ExpiresAt *float64 `json:"expiresAt,omitempty"` + // The instance ID + ID string `json:"id"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The space id assigned to this conversation + SpaceID *string `json:"spaceId,omitempty"` + // The task id assigned to this conversation + TaskID *string `json:"taskId,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` + // The ID of the bot this configuration is using + BotID *string `json:"botId,omitempty"` + // The backstory this configuration is using + Backstory *string `json:"backstory,omitempty"` + // The id of the dataset this configuration is using + DatasetID *string `json:"datasetId,omitempty"` + // A model definition + Model *string `json:"model,omitempty"` + // The moderation flag for this configuration + Moderation *bool `json:"moderation,omitempty"` + // The privacy flag for this configuration + Privacy *bool `json:"privacy,omitempty"` + // The id of the skillset this configuration is using + SkillsetID *string `json:"skillsetId,omitempty"` } -type MagicFromPromptGenerateParams struct { - // The ID of the prompt to use for generation - PromptID string `json:"promptId"` +type ConversationsExportParams struct { + // The cursor to use for pagination + Cursor *string `json:"cursor,omitempty"` + // Key-value pairs to filter the items by metadata + Meta map[string]string `json:"meta,omitempty"` + // The order of the paginated items + Order *ConversationsExportParamsOrder `json:"order,omitempty"` + // The number of items to retrieve + Take *int64 `json:"take,omitempty"` } -type MagicFromPromptGenerateRequest struct { - // Optional language model to use for generation - Model *string `json:"model,omitempty"` - // Additional properties to pass to the prompt - Props map[string]interface{} `json:"props,omitempty"` - // The text to use as input - Text string `json:"text"` +type ConversationsExportResponse struct { + // Cursor for fetching the next page + Cursor string `json:"cursor"` + Items []ConversationsExportResponseItem `json:"items"` } -type MagicFromPromptGenerateResponse struct { - // The input text - Text string `json:"text"` - // Usage information - Usage MagicFromPromptGenerateResponseUsage `json:"usage"` +// A bot configuration or reference +// +// A bot configuration that can be applied without a dedicated bot instance. +type ConversationsExportResponseItem struct { + // The contact id assigned to this conversation + ContactID *string `json:"contactId,omitempty"` + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description *string `json:"description,omitempty"` + // The instance ID + ID string `json:"id"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The space id assigned to this conversation + SpaceID *string `json:"spaceId,omitempty"` + // The task id assigned to this conversation + TaskID *string `json:"taskId,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` + // The ID of the bot this configuration is using + BotID *string `json:"botId,omitempty"` + // The backstory this configuration is using + Backstory *string `json:"backstory,omitempty"` + // The id of the dataset this configuration is using + DatasetID *string `json:"datasetId,omitempty"` + // A model definition + Model *string `json:"model,omitempty"` + // The moderation flag for this configuration + Moderation *bool `json:"moderation,omitempty"` + // The privacy flag for this configuration + Privacy *bool `json:"privacy,omitempty"` + // The id of the skillset this configuration is using + SkillsetID *string `json:"skillsetId,omitempty"` } -// Usage information -type MagicFromPromptGenerateResponseUsage struct { - // The tokens used in this exchange - Token float64 `json:"token"` +type ConversationsExportStreamItem struct { + // A bot configuration or reference + Data ConversationsExportStreamItemData `json:"data"` + // The type of event + Type ConversationsExportStreamItemType `json:"type"` } -type MagicFromPromptGenerateStreamItem struct { - Data MagicFromPromptGenerateStreamItemData `json:"data"` - // The generated text - Type MagicFromPromptGenerateStreamItemType `json:"type"` +// A bot configuration or reference +// +// A bot configuration that can be applied without a dedicated bot instance. +type ConversationsExportStreamItemData struct { + // The contact id assigned to this conversation + ContactID *string `json:"contactId,omitempty"` + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description *string `json:"description,omitempty"` + // The instance ID + ID string `json:"id"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The space id assigned to this conversation + SpaceID *string `json:"spaceId,omitempty"` + // The task id assigned to this conversation + TaskID *string `json:"taskId,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` + // The ID of the bot this configuration is using + BotID *string `json:"botId,omitempty"` + // The backstory this configuration is using + Backstory *string `json:"backstory,omitempty"` + // The id of the dataset this configuration is using + DatasetID *string `json:"datasetId,omitempty"` + // A model definition + Model *string `json:"model,omitempty"` + // The moderation flag for this configuration + Moderation *bool `json:"moderation,omitempty"` + // The privacy flag for this configuration + Privacy *bool `json:"privacy,omitempty"` + // The id of the skillset this configuration is using + SkillsetID *string `json:"skillsetId,omitempty"` } -type MagicFromPromptGenerateStreamItemData struct { - // The input text - Text string `json:"text"` - // Usage information - Usage Usage2 `json:"usage"` +// A bot configuration or reference +// +// A bot configuration that can be applied without a dedicated bot instance. +type ConversationDispatchRequest struct { + // An array of attachments to be added to the conversation + Attachments []ConversationDispatchRequestAttachment `json:"attachments,omitempty"` + // A unique channel ID to subscribe to for completion events + ChannelID *string `json:"channelId,omitempty"` + // The contact ID to associate with this conversation + ContactID *ConversationDispatchRequestContactID `json:"contactId"` + // Extensions to enhance the bot's capabilities + Extensions *ConversationDispatchRequestExtensions `json:"extensions,omitempty"` + // An array of functions to be added to the conversation + Functions []ConversationDispatchRequestFunction `json:"functions,omitempty"` + // Execution limits to control conversation processing bounds + Limits *ConversationDispatchRequestLimits `json:"limits,omitempty"` + // An array of messages to be added to the conversation + Messages []ConversationDispatchRequestMessage `json:"messages"` + // The ID of the bot this configuration is using + BotID *string `json:"botId,omitempty"` + // The backstory this configuration is using + Backstory *string `json:"backstory,omitempty"` + // The id of the dataset this configuration is using + DatasetID *string `json:"datasetId,omitempty"` + // A model definition + Model *string `json:"model,omitempty"` + // The moderation flag for this configuration + Moderation *bool `json:"moderation,omitempty"` + // The privacy flag for this configuration + Privacy *bool `json:"privacy,omitempty"` + // The id of the skillset this configuration is using + SkillsetID *string `json:"skillsetId,omitempty"` } -// Usage information -type Usage2 struct { - // The tokens used in this exchange - Token float64 `json:"token"` +type ConversationDispatchRequestAttachment struct { + // The URL of the attachment + URL *string `json:"url,omitempty"` } -type MagicPromptListParams struct { - // The cursor to use for pagination - Cursor *string `json:"cursor,omitempty"` - // Key-value pairs to filter the partner users by metadata - Meta map[string]string `json:"meta,omitempty"` - // The order of the paginated items - Order *MagicPromptListParamsOrder `json:"order,omitempty"` - // The number of items to retrieve - Take *int64 `json:"take,omitempty"` +// A contact object to create or retrieve a trusted contact +type PurpleContactID struct { + // A description of the contact + Description *string `json:"description,omitempty"` + // The email address of the contact + Email *string `json:"email,omitempty"` + // A unique fingerprint to identify the contact + Fingerprint string `json:"fingerprint"` + // Additional metadata for the contact + Meta map[string]interface{} `json:"meta,omitempty"` + // The name of the contact + Name *string `json:"name,omitempty"` + // A nickname for the contact + Nick *string `json:"nick,omitempty"` + // The phone number of the contact + Phone *string `json:"phone,omitempty"` } -type MagicPromptListResponse struct { - // Cursor for fetching the next page - Cursor string `json:"cursor"` - Items []MagicPromptListResponseItem `json:"items"` +// Extensions to enhance the bot's capabilities +type ConversationDispatchRequestExtensions struct { + // Additional backstory for the bot + Backstory *string `json:"backstory,omitempty"` + // Inline datasets to provide additional context + Datasets []TentacledDataset `json:"datasets,omitempty"` + // Feature flags to enable specific bot capabilities + Features []PurpleFeature `json:"features,omitempty"` + // Inline skillsets to provide additional abilities + Skillsets []TentacledSkillset `json:"skillsets,omitempty"` } -// Instance list properties -type MagicPromptListResponseItem struct { - // The alias of the item - Alias string `json:"alias"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description *string `json:"description,omitempty"` - // The instance ID - ID string `json:"id"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` +type TentacledDataset struct { + // The description of the dataset + Description *string `json:"description,omitempty"` + // The name of the dataset + Name *string `json:"name,omitempty"` + // The records in the dataset + Records []PurpleRecord `json:"records"` } -type MagicPromptListStreamItem struct { - // Instance list properties - Data MagicPromptListStreamItemData `json:"data"` - // The type of event - Type MagicPromptListStreamItemType `json:"type"` +type PurpleRecord struct { + // Additional metadata for the record + Meta map[string]interface{} `json:"meta,omitempty"` + // The text content of the record + Text string `json:"text"` } -// Instance list properties -type MagicPromptListStreamItemData struct { - // The alias of the item - Alias string `json:"alias"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description *string `json:"description,omitempty"` - // The instance ID - ID string `json:"id"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` +type PurpleFeature struct { + // The name of the feature to enable + Name string `json:"name"` + // Optional configuration options for the feature + Options map[string]interface{} `json:"options,omitempty"` } -type MemoryDeleteParams struct { - // The ID of the memory to delete - MemoryID string `json:"memoryId"` +type TentacledSkillset struct { + // The abilities in the skillset + Abilities []PurpleAbility `json:"abilities"` + // The description of the skillset + Description *string `json:"description,omitempty"` + // The name of the skillset + Name *string `json:"name,omitempty"` } -type MemoryDeleteResponse struct { - // The ID of the deleted memory - ID string `json:"id"` +type PurpleAbility struct { + // The description of the ability + Description string `json:"description"` + // The instruction for the ability + Instruction string `json:"instruction"` + // Optional secret ID for the ability + LinkedSecretID *string `json:"linkedSecretId,omitempty"` + // Optional space ID for the ability + LinkedSpaceID *string `json:"linkedSpaceId,omitempty"` + // Additional metadata for the ability + Meta map[string]interface{} `json:"meta,omitempty"` + // The name of the ability + Name string `json:"name"` } -type MemoryFetchParams struct { - // The ID of the memory to retrieve - MemoryID string `json:"memoryId"` +type ConversationDispatchRequestFunction struct { + // Configuration for when this function should be automatically called + Call *PurpleCall `json:"call,omitempty"` + // The description of the function + Description string `json:"description"` + // The name of the function (must be a valid JS identifier, max 64 chars) + Name string `json:"name"` + // JSON Schema definition for the function parameters + Parameters PurpleParameters `json:"parameters"` + // The result of the function execution + Result *HilariousResult `json:"result,omitempty"` } -// Instance list properties -type MemoryFetchResponse struct { - // The bot associated with the memory - BotID *string `json:"botId,omitempty"` - // The contact associated with the memory - ContactID *string `json:"contactId,omitempty"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description *string `json:"description,omitempty"` - // The instance ID - ID string `json:"id"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The text of the memory - Text *string `json:"text,omitempty"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` +// Configuration for when this function should be automatically called +type PurpleCall struct { + // If true, this function will be force-called at the end of the conversation + End *bool `json:"end,omitempty"` + // If true, this function will be force-called at the start of the conversation + Start *bool `json:"start,omitempty"` } -type MemoryUpdateParams struct { - MemoryID string `json:"memoryId"` +// JSON Schema definition for the function parameters +type PurpleParameters struct { + // Object property definitions + Properties map[string]interface{} `json:"properties"` + // Required property names + Required []string `json:"required,omitempty"` + // The schema type, must be "object" + Type Type7 `json:"type"` } -// Instance crud properties -type MemoryUpdateRequest struct { - // The bot associated with the memory - BotID *string `json:"botId,omitempty"` - // The contact associated with the memory - ContactID *string `json:"contactId,omitempty"` - // The associated description - Description *string `json:"description,omitempty"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The text of the memory - Text *string `json:"text,omitempty"` +// The result of the function execution +type HilariousResult struct { + // The data returned by the function (can be any type) + Data interface{} `json:"data"` + // The channel for streaming function results + Channel *string `json:"channel,omitempty"` } -type MemoryUpdateResponse struct { - // The ID of the updated memory - ID string `json:"id"` +// Execution limits to control conversation processing bounds +type ConversationDispatchRequestLimits struct { + // Maximum number of function/tool calls. Controls how many total function calls can be made + // during the conversation. + Calls *int64 `json:"calls,omitempty"` + // Maximum number of model continuations. Controls how many times the model can continue + // generating after reaching a stop condition. + Continuations *int64 `json:"continuations,omitempty"` + // Maximum number of agentic iterations. Controls how many times the model can iterate + // through tool calls and responses. + Iterations *int64 `json:"iterations,omitempty"` } -// Instance crud properties -type MemoryCreateRequest struct { - // The bot associated with the memory - BotID *string `json:"botId,omitempty"` - // The contact associated with the memory - ContactID *string `json:"contactId,omitempty"` - // The associated description - Description *string `json:"description,omitempty"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The text of the memory - Text string `json:"text"` +// A message in the conversation +type ConversationDispatchRequestMessage struct { + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The text of the message + Text string `json:"text"` + // The type of the message + Type Type8 `json:"type"` } -type MemoryCreateResponse struct { - // The ID of the created memory - ID string `json:"id"` +type ConversationDispatchResponse struct { + // The channel ID to subscribe to for completion events + ChannelID string `json:"channelId"` } -type MemoriesExportParams struct { - // The cursor to use for pagination - Cursor *string `json:"cursor,omitempty"` - // Key-value pairs to filter the partner users by metadata - Meta map[string]string `json:"meta,omitempty"` - // The order of the paginated items - Order *MemoriesExportParamsOrder `json:"order,omitempty"` - // The number of items to retrieve - Take *int64 `json:"take,omitempty"` +// A bot configuration or reference +// +// A bot configuration that can be applied without a dedicated bot instance. +type ConversationCreateRequest struct { + // The contact id assigned to this conversation + ContactID *string `json:"contactId,omitempty"` + // The associated description + Description *string `json:"description,omitempty"` + // An array of messages to be added to the conversation + Messages []ConversationCreateRequestMessage `json:"messages,omitempty"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The space id assigned to this conversation + SpaceID *string `json:"spaceId,omitempty"` + // The task id assigned to this conversation + TaskID *string `json:"taskId,omitempty"` + // The ID of the bot this configuration is using + BotID *string `json:"botId,omitempty"` + // The backstory this configuration is using + Backstory *string `json:"backstory,omitempty"` + // The id of the dataset this configuration is using + DatasetID *string `json:"datasetId,omitempty"` + // A model definition + Model *string `json:"model,omitempty"` + // The moderation flag for this configuration + Moderation *bool `json:"moderation,omitempty"` + // The privacy flag for this configuration + Privacy *bool `json:"privacy,omitempty"` + // The id of the skillset this configuration is using + SkillsetID *string `json:"skillsetId,omitempty"` } -type MemoriesExportResponse struct { - // Cursor for fetching the next page - Cursor string `json:"cursor"` - Items []MemoriesExportResponseItem `json:"items"` +type ConversationCreateRequestMessage struct { + // The text of the message + Text string `json:"text"` + // The type of the message + Type Type9 `json:"type"` } -// Instance list properties -type MemoriesExportResponseItem struct { - // The bot associated with the memory - BotID *string `json:"botId,omitempty"` - // The contact associated with the memory - ContactID *string `json:"contactId,omitempty"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description *string `json:"description,omitempty"` - // The instance ID - ID string `json:"id"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The text of the memory - Text *string `json:"text,omitempty"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` +type ConversationCreateResponse struct { + // The ID of the created conversation + ID string `json:"id"` + // An array of messages included in the conversation + Messages []ConversationCreateResponseMessage `json:"messages,omitempty"` } -type MemoriesExportStreamItem struct { - // Instance list properties - Data MemoriesExportStreamItemData `json:"data"` - // The type of event - Type MemoriesExportStreamItemType `json:"type"` +type ConversationCreateResponseMessage struct { + // The text of the message + Text string `json:"text"` + // The type of the message + Type Type10 `json:"type"` } -// Instance list properties -type MemoriesExportStreamItemData struct { - // The bot associated with the memory - BotID *string `json:"botId,omitempty"` - // The contact associated with the memory - ContactID *string `json:"contactId,omitempty"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description *string `json:"description,omitempty"` - // The instance ID - ID string `json:"id"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The text of the memory - Text *string `json:"text,omitempty"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` +// A bot configuration or reference +// +// A bot configuration that can be applied without a dedicated bot instance. +type ConversationCompleteRequest struct { + // An array of attachments to be added to the conversation + Attachments []ConversationCompleteRequestAttachment `json:"attachments,omitempty"` + // The contact ID to associate with this conversation + ContactID *ConversationCompleteRequestContactID `json:"contactId"` + // Extensions to enhance the bot's capabilities + Extensions *ConversationCompleteRequestExtensions `json:"extensions,omitempty"` + // An array of functions to be added to the conversation + Functions []ConversationCompleteRequestFunction `json:"functions,omitempty"` + // Execution limits to control conversation processing bounds + Limits *ConversationCompleteRequestLimits `json:"limits,omitempty"` + // An array of messages to be added to the conversation + Messages []ConversationCompleteRequestMessage `json:"messages"` + // The ID of the bot this configuration is using + BotID *string `json:"botId,omitempty"` + // The backstory this configuration is using + Backstory *string `json:"backstory,omitempty"` + // The id of the dataset this configuration is using + DatasetID *string `json:"datasetId,omitempty"` + // A model definition + Model *string `json:"model,omitempty"` + // The moderation flag for this configuration + Moderation *bool `json:"moderation,omitempty"` + // The privacy flag for this configuration + Privacy *bool `json:"privacy,omitempty"` + // The id of the skillset this configuration is using + SkillsetID *string `json:"skillsetId,omitempty"` } -type MemoryListParams struct { - // The cursor to use for pagination - Cursor *string `json:"cursor,omitempty"` - // Key-value pairs to filter the partner users by metadata - Meta map[string]string `json:"meta,omitempty"` - // The order of the paginated items - Order *MemoryListParamsOrder `json:"order,omitempty"` - // The number of items to retrieve - Take *int64 `json:"take,omitempty"` +type ConversationCompleteRequestAttachment struct { + // The URL of the attachment + URL *string `json:"url,omitempty"` } -type MemoryListResponse struct { - // Cursor for fetching the next page - Cursor string `json:"cursor"` - Items []MemoryListResponseItem `json:"items"` +// A contact object to create or retrieve a trusted contact +type FluffyContactID struct { + // A description of the contact + Description *string `json:"description,omitempty"` + // The email address of the contact + Email *string `json:"email,omitempty"` + // A unique fingerprint to identify the contact + Fingerprint string `json:"fingerprint"` + // Additional metadata for the contact + Meta map[string]interface{} `json:"meta,omitempty"` + // The name of the contact + Name *string `json:"name,omitempty"` + // A nickname for the contact + Nick *string `json:"nick,omitempty"` + // The phone number of the contact + Phone *string `json:"phone,omitempty"` } -// Instance list properties -type MemoryListResponseItem struct { - // The bot associated with the memory - BotID *string `json:"botId,omitempty"` - // The contact associated with the memory - ContactID *string `json:"contactId,omitempty"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description *string `json:"description,omitempty"` - // The instance ID - ID string `json:"id"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The text of the memory - Text *string `json:"text,omitempty"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` +// Extensions to enhance the bot's capabilities +type ConversationCompleteRequestExtensions struct { + // Additional backstory for the bot + Backstory *string `json:"backstory,omitempty"` + // Inline datasets to provide additional context + Datasets []StickyDataset `json:"datasets,omitempty"` + // Feature flags to enable specific bot capabilities + Features []FluffyFeature `json:"features,omitempty"` + // Inline skillsets to provide additional abilities + Skillsets []StickySkillset `json:"skillsets,omitempty"` } -type MemoryListStreamItem struct { - // Instance list properties - Data MemoryListStreamItemData `json:"data"` - // The type of event - Type MemoryListStreamItemType `json:"type"` +type StickyDataset struct { + // The description of the dataset + Description *string `json:"description,omitempty"` + // The name of the dataset + Name *string `json:"name,omitempty"` + // The records in the dataset + Records []FluffyRecord `json:"records"` } -// Instance list properties -type MemoryListStreamItemData struct { - // The bot associated with the memory - BotID *string `json:"botId,omitempty"` - // The contact associated with the memory - ContactID *string `json:"contactId,omitempty"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description *string `json:"description,omitempty"` - // The instance ID - ID string `json:"id"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The text of the memory - Text *string `json:"text,omitempty"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` +type FluffyRecord struct { + // Additional metadata for the record + Meta map[string]interface{} `json:"meta,omitempty"` + // The text content of the record + Text string `json:"text"` } -type MemorySearchRequest struct { - // The ID of the bot to filter memories by - BotID *string `json:"botId,omitempty"` - // The ID of the contact to filter memories by - ContactID *string `json:"contactId,omitempty"` - // The keyword/phrase to search for - Search string `json:"search"` +type FluffyFeature struct { + // The name of the feature to enable + Name string `json:"name"` + // Optional configuration options for the feature + Options map[string]interface{} `json:"options,omitempty"` } -type MemorySearchResponse struct { - // An array of memories matching the search query - Items []MemorySearchResponseItem `json:"items"` +type StickySkillset struct { + // The abilities in the skillset + Abilities []FluffyAbility `json:"abilities"` + // The description of the skillset + Description *string `json:"description,omitempty"` + // The name of the skillset + Name *string `json:"name,omitempty"` } -type MemorySearchResponseItem struct { - ID string `json:"id"` +type FluffyAbility struct { + // The description of the ability + Description string `json:"description"` + // The instruction for the ability + Instruction string `json:"instruction"` + // Optional secret ID for the ability + LinkedSecretID *string `json:"linkedSecretId,omitempty"` + // Optional space ID for the ability + LinkedSpaceID *string `json:"linkedSpaceId,omitempty"` + // Additional metadata for the ability Meta map[string]interface{} `json:"meta,omitempty"` - Text string `json:"text"` + // The name of the ability + Name string `json:"name"` } -type PartnerUserContextDeleteParams struct { - // The ID of the context to delete - ContextID string `json:"contextId"` - // The ID of the partner user - UserID string `json:"userId"` +type ConversationCompleteRequestFunction struct { + // Configuration for when this function should be automatically called + Call *FluffyCall `json:"call,omitempty"` + // The description of the function + Description string `json:"description"` + // The name of the function (must be a valid JS identifier, max 64 chars) + Name string `json:"name"` + // JSON Schema definition for the function parameters + Parameters FluffyParameters `json:"parameters"` + // The result of the function execution + Result *AmbitiousResult `json:"result,omitempty"` } -type PartnerUserContextDeleteResponse struct { - // The ID of the deleted context - ID string `json:"id"` +// Configuration for when this function should be automatically called +type FluffyCall struct { + // If true, this function will be force-called at the end of the conversation + End *bool `json:"end,omitempty"` + // If true, this function will be force-called at the start of the conversation + Start *bool `json:"start,omitempty"` } -type PartnerUserContextFetchParams struct { - // The ID of the context to retrieve - ContextID string `json:"contextId"` - // The ID of the partner user - UserID string `json:"userId"` +// JSON Schema definition for the function parameters +type FluffyParameters struct { + // Object property definitions + Properties map[string]interface{} `json:"properties"` + // Required property names + Required []string `json:"required,omitempty"` + // The schema type, must be "object" + Type Type11 `json:"type"` } -// Instance list properties -type PartnerUserContextFetchResponse struct { - BlueprintID *string `json:"blueprintId,omitempty"` - BotID *string `json:"botId,omitempty"` - ContactID *string `json:"contactId,omitempty"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - DatasetID *string `json:"datasetId,omitempty"` - // The associated description - Description *string `json:"description,omitempty"` - // The instance ID - ID string `json:"id"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - Payload map[string]interface{} `json:"payload,omitempty"` - SkillsetID *string `json:"skillsetId,omitempty"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` -} - -type PartnerUserContextUpdateParams struct { - // The ID of the context to update - ContextID string `json:"contextId"` - // The ID of the partner user - UserID string `json:"userId"` +// The result of the function execution +type AmbitiousResult struct { + // The data returned by the function (can be any type) + Data interface{} `json:"data"` + // The channel for streaming function results + Channel *string `json:"channel,omitempty"` } -// Instance crud properties -type PartnerUserContextUpdateRequest struct { - // The associated description - Description *string `json:"description,omitempty"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // Context payload - Payload map[string]interface{} `json:"payload,omitempty"` +// Execution limits to control conversation processing bounds +type ConversationCompleteRequestLimits struct { + // Maximum number of function/tool calls. Controls how many total function calls can be made + // during the conversation. + Calls *int64 `json:"calls,omitempty"` + // Maximum number of model continuations. Controls how many times the model can continue + // generating after reaching a stop condition. + Continuations *int64 `json:"continuations,omitempty"` + // Maximum number of agentic iterations. Controls how many times the model can iterate + // through tool calls and responses. + Iterations *int64 `json:"iterations,omitempty"` } -type PartnerUserContextUpdateResponse struct { - // The ID of the updated context - ID string `json:"id"` +// A message in the conversation +type ConversationCompleteRequestMessage struct { + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The text of the message + Text string `json:"text"` + // The type of the message + Type Type12 `json:"type"` } -type PartnerUserContextCreateParams struct { - // The ID of the partner user - UserID string `json:"userId"` +type ConversationCompleteResponse struct { + // Information about why the completion ended + End ConversationCompleteResponseEnd `json:"end"` + // The text of the message received + Text string `json:"text"` + // Usage information + Usage ConversationCompleteResponseUsage `json:"usage"` } -// Instance crud properties -type PartnerUserContextCreateRequest struct { - // The associated description - Description *string `json:"description,omitempty"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // Context payload - Payload map[string]interface{} `json:"payload,omitempty"` +// Information about why the completion ended +type ConversationCompleteResponseEnd struct { + // The reason why the completion ended + Reason PurpleReason `json:"reason"` } -// Instance list properties -type PartnerUserContextCreateResponse struct { - BlueprintID *string `json:"blueprintId,omitempty"` - BotID *string `json:"botId,omitempty"` - ContactID *string `json:"contactId,omitempty"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - DatasetID *string `json:"datasetId,omitempty"` - // The associated description - Description *string `json:"description,omitempty"` - // The instance ID - ID string `json:"id"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - Payload map[string]interface{} `json:"payload,omitempty"` - SkillsetID *string `json:"skillsetId,omitempty"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` -} - -type PartnerUserContextListParams struct { - BlueprintID *string `json:"blueprintId,omitempty"` - BotID *string `json:"botId,omitempty"` - // The cursor to use for pagination - Cursor *string `json:"cursor,omitempty"` - DatasetID *string `json:"datasetId,omitempty"` - // The order of the paginated items - Order *PartnerUserContextListParamsOrder `json:"order,omitempty"` - SkillsetID *string `json:"skillsetId,omitempty"` - // The number of items to retrieve - Take *int64 `json:"take,omitempty"` - // The ID of the partner user - UserID string `json:"userId"` -} - -type PartnerUserContextListResponse struct { - // Cursor for fetching the next page - Cursor string `json:"cursor"` - Items []PartnerUserContextListResponseItem `json:"items"` +// Usage information +type ConversationCompleteResponseUsage struct { + // The tokens used in this exchange + Token float64 `json:"token"` } -// Instance list properties -type PartnerUserContextListResponseItem struct { - BlueprintID *string `json:"blueprintId,omitempty"` - BotID *string `json:"botId,omitempty"` - ContactID *string `json:"contactId,omitempty"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - DatasetID *string `json:"datasetId,omitempty"` - // The associated description - Description *string `json:"description,omitempty"` - // The instance ID - ID string `json:"id"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - Payload map[string]interface{} `json:"payload,omitempty"` - SkillsetID *string `json:"skillsetId,omitempty"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` -} - -type PartnerUserContextListStreamItem struct { - // Instance list properties - Data PartnerUserContextListStreamItemData `json:"data"` - // The type of event - Type PartnerUserContextListStreamItemType `json:"type"` +type ConversationCompleteStreamItem struct { + // The data for the event + // + // A message in the conversation + // + // Information about an abort event in a streamed response + Data ConversationCompleteStreamItemData `json:"data"` + // The type of event + Type ConversationCompleteStreamItemType `json:"type"` } -// Instance list properties -type PartnerUserContextListStreamItemData struct { - BlueprintID *string `json:"blueprintId,omitempty"` - BotID *string `json:"botId,omitempty"` - ContactID *string `json:"contactId,omitempty"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - DatasetID *string `json:"datasetId,omitempty"` - // The associated description - Description *string `json:"description,omitempty"` - // The instance ID - ID string `json:"id"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - Payload map[string]interface{} `json:"payload,omitempty"` - SkillsetID *string `json:"skillsetId,omitempty"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` -} - -type PartnerUserDeleteParams struct { - // The ID of the user to delete - UserID string `json:"userId"` -} - -type PartnerUserDeleteResponse struct { - // The ID of the deleted user - ID string `json:"id"` -} - -type PartnerUserFetchParams struct { - // The ID of the partner user to retrieve - UserID string `json:"userId"` +// The data for the event +// +// # A message in the conversation +// +// Information about an abort event in a streamed response +type ConversationCompleteStreamItemData struct { + // Information about why the completion ended + End *PurpleEnd `json:"end,omitempty"` + // The text of the message received + // + // The text of the message + Text *string `json:"text,omitempty"` + // Usage information + Usage *Usage1 `json:"usage,omitempty"` + // The error message + Message *string `json:"message,omitempty"` + // The token generated + Token *string `json:"token,omitempty"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The type of the message + Type *Type13 `json:"type,omitempty"` + // The function or tool associated with the abort + FunctionName *string `json:"functionName,omitempty"` + // The abort reason if available + Reason interface{} `json:"reason"` + // The number of input tokens used + InputTokensUsed *float64 `json:"inputTokensUsed,omitempty"` + // The model used + Model *string `json:"model,omitempty"` + // The number of output tokens used + OutputTokensUsed *float64 `json:"outputTokensUsed,omitempty"` } -// Instance list properties -type PartnerUserFetchResponse struct { - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description *string `json:"description,omitempty"` - // The email of the partner user - Email *string `json:"email,omitempty"` - // The instance ID - ID string `json:"id"` - // The image of the partner user - Image *string `json:"image,omitempty"` - // Limits information - Limits *PartnerUserFetchResponseLimits `json:"limits,omitempty"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` +// Information about why the completion ended +type PurpleEnd struct { + // The reason why the completion ended + Reason FluffyReason `json:"reason"` } -// Limits information -type PartnerUserFetchResponseLimits struct { - // The conversations limit - Conversations *float64 `json:"conversations,omitempty"` - // The database limits - Database *PurpleDatabase `json:"database,omitempty"` - // The messages limit - Messages *float64 `json:"messages,omitempty"` - // The tokens limit - Tokens *float64 `json:"tokens,omitempty"` +// Usage information +type Usage1 struct { + // The tokens used in this exchange + Token float64 `json:"token"` } -// The database limits -type PurpleDatabase struct { - // The abilities limit - Abilities *float64 `json:"abilities,omitempty"` - // The datasets limit - Datasets *float64 `json:"datasets,omitempty"` - // The files limit - Files *float64 `json:"files,omitempty"` - // The records limit - Records *float64 `json:"records,omitempty"` - // The skillsets limit - Skillsets *float64 `json:"skillsets,omitempty"` +// A bot configuration or reference +// +// A bot configuration that can be applied without a dedicated bot instance. +type ConversationStatelessCompactRequest struct { + // Extensions to enhance the bot's capabilities + Extensions *ConversationStatelessCompactRequestExtensions `json:"extensions,omitempty"` + // An array of messages to be compacted + Messages []ConversationStatelessCompactRequestMessage `json:"messages"` + // The ID of the bot this configuration is using + BotID *string `json:"botId,omitempty"` + // The backstory this configuration is using + Backstory *string `json:"backstory,omitempty"` + // The id of the dataset this configuration is using + DatasetID *string `json:"datasetId,omitempty"` + // A model definition + Model *string `json:"model,omitempty"` + // The moderation flag for this configuration + Moderation *bool `json:"moderation,omitempty"` + // The privacy flag for this configuration + Privacy *bool `json:"privacy,omitempty"` + // The id of the skillset this configuration is using + SkillsetID *string `json:"skillsetId,omitempty"` +} + +// Extensions to enhance the bot's capabilities +type ConversationStatelessCompactRequestExtensions struct { + // Additional backstory for the bot + Backstory *string `json:"backstory,omitempty"` + // Inline datasets to provide additional context + Datasets []IndigoDataset `json:"datasets,omitempty"` + // Feature flags to enable specific bot capabilities + Features []TentacledFeature `json:"features,omitempty"` + // Inline skillsets to provide additional abilities + Skillsets []IndigoSkillset `json:"skillsets,omitempty"` } -type PartnerUserSessionCreateParams struct { - // The ID of the user - UserID string `json:"userId"` +type IndigoDataset struct { + // The description of the dataset + Description *string `json:"description,omitempty"` + // The name of the dataset + Name *string `json:"name,omitempty"` + // The records in the dataset + Records []TentacledRecord `json:"records"` } -type PartnerUserSessionCreateRequest struct { - Config *Config `json:"config,omitempty"` - // The lifetime of the session token in seconds - DurationInSeconds *float64 `json:"durationInSeconds,omitempty"` +type TentacledRecord struct { + // Additional metadata for the record + Meta map[string]interface{} `json:"meta,omitempty"` + // The text content of the record + Text string `json:"text"` } -type Config struct { - // Glob patterns restricting which API routes the token may access - AllowedRoutes []string `json:"allowedRoutes,omitempty"` - // Optional contact ID to include in the session token - ContactID *string `json:"contactId,omitempty"` +type TentacledFeature struct { + // The name of the feature to enable + Name string `json:"name"` + // Optional configuration options for the feature + Options map[string]interface{} `json:"options,omitempty"` } -type PartnerUserSessionCreateResponse struct { - // The timestamp for when the session token expires (in milliseconds) - ExpiresAt float64 `json:"expiresAt"` - // The ID of the created session - ID string `json:"id"` - // The temporary session token - Token string `json:"token"` +type IndigoSkillset struct { + // The abilities in the skillset + Abilities []TentacledAbility `json:"abilities"` + // The description of the skillset + Description *string `json:"description,omitempty"` + // The name of the skillset + Name *string `json:"name,omitempty"` +} + +type TentacledAbility struct { + // The description of the ability + Description string `json:"description"` + // The instruction for the ability + Instruction string `json:"instruction"` + // Optional secret ID for the ability + LinkedSecretID *string `json:"linkedSecretId,omitempty"` + // Optional space ID for the ability + LinkedSpaceID *string `json:"linkedSpaceId,omitempty"` + // Additional metadata for the ability + Meta map[string]interface{} `json:"meta,omitempty"` + // The name of the ability + Name string `json:"name"` } -type PartnerUserTokenDeleteParams struct { - // The ID of the user token to delete - TokenID string `json:"tokenId"` - // The ID of the user - UserID string `json:"userId"` +// A message in the conversation +type ConversationStatelessCompactRequestMessage struct { + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The text of the message + Text string `json:"text"` + // The type of the message + Type Type14 `json:"type"` } -type PartnerUserTokenDeleteResponse struct { - // The ID of the deleted user token - ID string `json:"id"` +type ConversationStatelessCompactResponse struct { + // The compacted text of the messages, or an empty string if there was nothing to compact + Text string `json:"text"` + // Usage information + Usage ConversationStatelessCompactResponseUsage `json:"usage"` } -type PartnerUserTokenUpdateParams struct { - // The ID of the user token to update - TokenID string `json:"tokenId"` - // The ID of the user - UserID string `json:"userId"` +// Usage information +type ConversationStatelessCompactResponseUsage struct { + // The tokens used in this exchange + Token float64 `json:"token"` } -type PartnerUserTokenUpdateRequest struct { - // Token configuration - Config map[string]interface{} `json:"config,omitempty"` - // The description of the token - Description *string `json:"description,omitempty"` - // Custom metadata for the token - Meta map[string]interface{} `json:"meta,omitempty"` - // The name of the token - Name *string `json:"name,omitempty"` +type ConversationUpvoteParams struct { + // The ID of the conversation + ConversationID string `json:"conversationId"` } -type PartnerUserTokenUpdateResponse struct { - // The ID of the updated user token - ID string `json:"id"` +type ConversationUpvoteRequest struct { + // The reason for the upvote + Reason *string `json:"reason,omitempty"` + // The value of the upvote + Value *int64 `json:"value,omitempty"` } -type PartnerUserTokenCreateParams struct { - // The ID of the user - UserID string `json:"userId"` +type ConversationUpvoteResponse struct { + // The ID of the upvoted conversation + ID string `json:"id"` } -type PartnerUserTokenCreateRequest struct { - // Token configuration - Config map[string]interface{} `json:"config,omitempty"` - // The description of the token - Description *string `json:"description,omitempty"` - // Custom metadata for the token - Meta map[string]interface{} `json:"meta,omitempty"` - // The name of the token - Name *string `json:"name,omitempty"` +type ConversationUpdateParams struct { + ConversationID string `json:"conversationId"` } -type PartnerUserTokenCreateResponse struct { - // The timestamp for when the user token was created (in milliseconds) - CreatedAt float64 `json:"createdAt"` - // The ID of the created user token - ID string `json:"id"` - // The token of the created user token - Token string `json:"token"` +// A bot configuration or reference +// +// A bot configuration that can be applied without a dedicated bot instance. +type ConversationUpdateRequest struct { + // The contact id assigned to this conversation + ContactID *string `json:"contactId,omitempty"` + // The associated description + Description *string `json:"description,omitempty"` + // Epoch-ms timestamp at which the conversation is automatically deleted; null clears any + // expiry + ExpiresAt *int64 `json:"expiresAt,omitempty"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The space id assigned to this conversation + SpaceID *string `json:"spaceId,omitempty"` + // The task id assigned to this conversation + TaskID *string `json:"taskId,omitempty"` + // The ID of the bot this configuration is using + BotID *string `json:"botId,omitempty"` + // The backstory this configuration is using + Backstory *string `json:"backstory,omitempty"` + // The id of the dataset this configuration is using + DatasetID *string `json:"datasetId,omitempty"` + // A model definition + Model *string `json:"model,omitempty"` + // The moderation flag for this configuration + Moderation *bool `json:"moderation,omitempty"` + // The privacy flag for this configuration + Privacy *bool `json:"privacy,omitempty"` + // The id of the skillset this configuration is using + SkillsetID *string `json:"skillsetId,omitempty"` } -type PartnerUserTokenListParams struct { - // The cursor to use for pagination - Cursor *string `json:"cursor,omitempty"` - // The order of the paginated items - Order *PartnerUserTokenListParamsOrder `json:"order,omitempty"` - // The number of items to retrieve - Take *int64 `json:"take,omitempty"` - // The ID of the user - UserID string `json:"userId"` +type ConversationUpdateResponse struct { + // The ID of the updated conversation + ID string `json:"id"` } -type PartnerUserTokenListResponse struct { - // Cursor for fetching the next page - Cursor string `json:"cursor"` - Items []PartnerUserTokenListResponseItem `json:"items"` +type ConversationMessageSendParams struct { + // The ID of the conversation to send the message to + ConversationID string `json:"conversationId"` } -// Instance list properties -type PartnerUserTokenListResponseItem struct { - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description *string `json:"description,omitempty"` - // The instance ID - ID string `json:"id"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` -} - -type PartnerUserTokenListStreamItem struct { - // Instance list properties - Data PartnerUserTokenListStreamItemData `json:"data"` - // The type of event - Type PartnerUserTokenListStreamItemType `json:"type"` +type ConversationMessageSendRequest struct { + // Known entities + Entities []ConversationMessageSendRequestEntity `json:"entities,omitempty"` + // Extensions to enhance the bot's capabilities + Extensions *ConversationMessageSendRequestExtensions `json:"extensions,omitempty"` + // An array of functions to be added to the conversation + Functions []ConversationMessageSendRequestFunction `json:"functions,omitempty"` + // The text of the message to send + Text string `json:"text"` } -// Instance list properties -type PartnerUserTokenListStreamItemData struct { - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description *string `json:"description,omitempty"` - // The instance ID - ID string `json:"id"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` -} - -type PartnerUserUpdateParams struct { - // The ID of the partner user - UserID string `json:"userId"` +// Extracted entity from the message +type ConversationMessageSendRequestEntity struct { + // Start offset + Begin float64 `json:"begin"` + // End offset + End float64 `json:"end"` + Replacement *PurpleReplacement `json:"replacement,omitempty"` + // The text value of the entity + Text string `json:"text"` + // The entity type + Type string `json:"type"` } -// Instance crud properties -type PartnerUserUpdateRequest struct { - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // The associated description - Description *string `json:"description,omitempty"` - // The email of the partner user - Email *string `json:"email,omitempty"` - // The image of the partner user - Image *string `json:"image,omitempty"` - // Limits information - Limits *PartnerUserUpdateRequestLimits `json:"limits,omitempty"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` +type PurpleReplacement struct { + // Start offset + Begin float64 `json:"begin"` + // End offset + End float64 `json:"end"` + // The text value of the replacement + Text string `json:"text"` } -// Limits information -type PartnerUserUpdateRequestLimits struct { - // The conversations limit - Conversations *float64 `json:"conversations,omitempty"` - // The database limits - Database *FluffyDatabase `json:"database,omitempty"` - // The messages limit - Messages *float64 `json:"messages,omitempty"` - // The tokens limit - Tokens *float64 `json:"tokens,omitempty"` +// Extensions to enhance the bot's capabilities +type ConversationMessageSendRequestExtensions struct { + // Additional backstory for the bot + Backstory *string `json:"backstory,omitempty"` + // Inline datasets to provide additional context + Datasets []IndecentDataset `json:"datasets,omitempty"` + // Feature flags to enable specific bot capabilities + Features []StickyFeature `json:"features,omitempty"` + // Inline skillsets to provide additional abilities + Skillsets []IndecentSkillset `json:"skillsets,omitempty"` } -// The database limits -type FluffyDatabase struct { - // The abilities limit - Abilities *float64 `json:"abilities,omitempty"` - // The datasets limit - Datasets *float64 `json:"datasets,omitempty"` - // The files limit - Files *float64 `json:"files,omitempty"` - // The records limit - Records *float64 `json:"records,omitempty"` - // The skillsets limit - Skillsets *float64 `json:"skillsets,omitempty"` +type IndecentDataset struct { + // The description of the dataset + Description *string `json:"description,omitempty"` + // The name of the dataset + Name *string `json:"name,omitempty"` + // The records in the dataset + Records []StickyRecord `json:"records"` } -type PartnerUserUpdateResponse struct { - // The ID of the updated partner user - ID string `json:"id"` +type StickyRecord struct { + // Additional metadata for the record + Meta map[string]interface{} `json:"meta,omitempty"` + // The text content of the record + Text string `json:"text"` } -// Instance crud properties -type PartnerUserCreateRequest struct { - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // The associated description - Description *string `json:"description,omitempty"` - // The email of the partner user - Email *string `json:"email,omitempty"` - // The image of the partner user - Image *string `json:"image,omitempty"` - // Limits information - Limits *PartnerUserCreateRequestLimits `json:"limits,omitempty"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` +type StickyFeature struct { + // The name of the feature to enable + Name string `json:"name"` + // Optional configuration options for the feature + Options map[string]interface{} `json:"options,omitempty"` } -// Limits information -type PartnerUserCreateRequestLimits struct { - // The conversations limit - Conversations *float64 `json:"conversations,omitempty"` - // The database limits - Database *TentacledDatabase `json:"database,omitempty"` - // The messages limit - Messages *float64 `json:"messages,omitempty"` - // The tokens limit - Tokens *float64 `json:"tokens,omitempty"` +type IndecentSkillset struct { + // The abilities in the skillset + Abilities []StickyAbility `json:"abilities"` + // The description of the skillset + Description *string `json:"description,omitempty"` + // The name of the skillset + Name *string `json:"name,omitempty"` } -// The database limits -type TentacledDatabase struct { - // The abilities limit - Abilities *float64 `json:"abilities,omitempty"` - // The datasets limit - Datasets *float64 `json:"datasets,omitempty"` - // The files limit - Files *float64 `json:"files,omitempty"` - // The records limit - Records *float64 `json:"records,omitempty"` - // The skillsets limit - Skillsets *float64 `json:"skillsets,omitempty"` +type StickyAbility struct { + // The description of the ability + Description string `json:"description"` + // The instruction for the ability + Instruction string `json:"instruction"` + // Optional secret ID for the ability + LinkedSecretID *string `json:"linkedSecretId,omitempty"` + // Optional space ID for the ability + LinkedSpaceID *string `json:"linkedSpaceId,omitempty"` + // Additional metadata for the ability + Meta map[string]interface{} `json:"meta,omitempty"` + // The name of the ability + Name string `json:"name"` } -type PartnerUserCreateResponse struct { - // The ID of the created user - ID string `json:"id"` +type ConversationMessageSendRequestFunction struct { + // Configuration for when this function should be automatically called + Call *TentacledCall `json:"call,omitempty"` + // The description of the function + Description string `json:"description"` + // The name of the function (must be a valid JS identifier, max 64 chars) + Name string `json:"name"` + // JSON Schema definition for the function parameters + Parameters TentacledParameters `json:"parameters"` + // The result of the function execution + Result *CunningResult `json:"result,omitempty"` } -type PartnerUserListParams struct { - // The cursor to use for pagination - Cursor *string `json:"cursor,omitempty"` - // Key-value pairs to filter the partner users by metadata - Meta map[string]string `json:"meta,omitempty"` - // The order of the paginated items - Order *PartnerUserListParamsOrder `json:"order,omitempty"` - // The number of items to retrieve - Take *int64 `json:"take,omitempty"` +// Configuration for when this function should be automatically called +type TentacledCall struct { + // If true, this function will be force-called at the end of the conversation + End *bool `json:"end,omitempty"` + // If true, this function will be force-called at the start of the conversation + Start *bool `json:"start,omitempty"` } -type PartnerUserListResponse struct { - // Cursor for fetching the next page - Cursor string `json:"cursor"` - Items []PartnerUserListResponseItem `json:"items"` +// JSON Schema definition for the function parameters +type TentacledParameters struct { + // Object property definitions + Properties map[string]interface{} `json:"properties"` + // Required property names + Required []string `json:"required,omitempty"` + // The schema type, must be "object" + Type Type15 `json:"type"` } -// Instance list properties -type PartnerUserListResponseItem struct { - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description *string `json:"description,omitempty"` - // The email of the partner user - Email *string `json:"email,omitempty"` - // The instance ID - ID string `json:"id"` - // The image of the partner user - Image *string `json:"image,omitempty"` - // Limits information - Limits *ItemLimits `json:"limits,omitempty"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` +// The result of the function execution +type CunningResult struct { + // The data returned by the function (can be any type) + Data interface{} `json:"data"` + // The channel for streaming function results + Channel *string `json:"channel,omitempty"` } -// Limits information -type ItemLimits struct { - // The conversations limit - Conversations *float64 `json:"conversations,omitempty"` - // The database limits - Database *StickyDatabase `json:"database,omitempty"` - // The messages limit - Messages *float64 `json:"messages,omitempty"` - // The tokens limit - Tokens *float64 `json:"tokens,omitempty"` +type ConversationMessageSendResponse struct { + // Extracted entities from the message + Entities []ConversationMessageSendResponseEntity `json:"entities"` + // The ID of the sent message + ID string `json:"id"` } -// The database limits -type StickyDatabase struct { - // The abilities limit - Abilities *float64 `json:"abilities,omitempty"` - // The datasets limit - Datasets *float64 `json:"datasets,omitempty"` - // The files limit - Files *float64 `json:"files,omitempty"` - // The records limit - Records *float64 `json:"records,omitempty"` - // The skillsets limit - Skillsets *float64 `json:"skillsets,omitempty"` +// Extracted entity from the message +type ConversationMessageSendResponseEntity struct { + // Start offset + Begin float64 `json:"begin"` + // End offset + End float64 `json:"end"` + Replacement *FluffyReplacement `json:"replacement,omitempty"` + // The text value of the entity + Text string `json:"text"` + // The entity type + Type string `json:"type"` } -type PartnerUserListStreamItem struct { - // Instance list properties - Data PartnerUserListStreamItemData `json:"data"` - // The type of event - Type PartnerUserListStreamItemType `json:"type"` +type FluffyReplacement struct { + // Start offset + Begin float64 `json:"begin"` + // End offset + End float64 `json:"end"` + // The text value of the replacement + Text string `json:"text"` } -// Instance list properties -type PartnerUserListStreamItemData struct { - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description *string `json:"description,omitempty"` - // The email of the partner user - Email *string `json:"email,omitempty"` - // The instance ID - ID string `json:"id"` - // The image of the partner user - Image *string `json:"image,omitempty"` - // Limits information - Limits *DataLimits `json:"limits,omitempty"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` +type ConversationMessageSendStreamItem struct { + // The data for the event + // + // A message in the conversation + // + // Information about an abort event in a streamed response + Data ConversationMessageSendStreamItemData `json:"data"` + // The type of event + Type ConversationMessageSendStreamItemType `json:"type"` } -// Limits information -type DataLimits struct { - // The conversations limit - Conversations *float64 `json:"conversations,omitempty"` - // The database limits - Database *IndigoDatabase `json:"database,omitempty"` - // The messages limit - Messages *float64 `json:"messages,omitempty"` - // The tokens limit - Tokens *float64 `json:"tokens,omitempty"` +// The data for the event +// +// # A message in the conversation +// +// Information about an abort event in a streamed response +type ConversationMessageSendStreamItemData struct { + // Extracted entities from the message + Entities []DataEntity `json:"entities,omitempty"` + // The ID of the sent message + ID *string `json:"id,omitempty"` + // The error message + Message *string `json:"message,omitempty"` + // The token generated + Token *string `json:"token,omitempty"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The text of the message + Text *string `json:"text,omitempty"` + // The type of the message + Type *Type16 `json:"type,omitempty"` + // The function or tool associated with the abort + FunctionName *string `json:"functionName,omitempty"` + // The abort reason if available + Reason interface{} `json:"reason"` + // The number of input tokens used + InputTokensUsed *float64 `json:"inputTokensUsed,omitempty"` + // The model used + Model *string `json:"model,omitempty"` + // The number of output tokens used + OutputTokensUsed *float64 `json:"outputTokensUsed,omitempty"` } -// The database limits -type IndigoDatabase struct { - // The abilities limit - Abilities *float64 `json:"abilities,omitempty"` - // The datasets limit - Datasets *float64 `json:"datasets,omitempty"` - // The files limit - Files *float64 `json:"files,omitempty"` - // The records limit - Records *float64 `json:"records,omitempty"` - // The skillsets limit - Skillsets *float64 `json:"skillsets,omitempty"` +// Extracted entity from the message +type DataEntity struct { + // Start offset + Begin float64 `json:"begin"` + // End offset + End float64 `json:"end"` + Replacement *TentacledReplacement `json:"replacement,omitempty"` + // The text value of the entity + Text string `json:"text"` + // The entity type + Type string `json:"type"` } -type PlatformAbilityListParams struct { - // The cursor to use for pagination - Cursor *string `json:"cursor,omitempty"` - // Key-value pairs to filter the partner users by metadata - Meta map[string]string `json:"meta,omitempty"` - // The order of the paginated items - Order *PlatformAbilityListParamsOrder `json:"order,omitempty"` - // The number of items to retrieve - Take *int64 `json:"take,omitempty"` +type TentacledReplacement struct { + // Start offset + Begin float64 `json:"begin"` + // End offset + End float64 `json:"end"` + // The text value of the replacement + Text string `json:"text"` } -type PlatformAbilityListResponse struct { - // Cursor for fetching the next page - Cursor string `json:"cursor"` - Items []PlatformAbilityListResponseItem `json:"items"` +type ConversationMessageReceiveParams struct { + // The ID of the conversation to receive message from + ConversationID string `json:"conversationId"` } -// Instance list properties -type PlatformAbilityListResponseItem struct { - // The ID of the bot associated with the ability - Bot *string `json:"bot,omitempty"` - Commentary *string `json:"commentary,omitempty"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description *string `json:"description,omitempty"` - // The ID of the file associated with the ability - File *string `json:"file,omitempty"` - Icon string `json:"icon"` - // The instance ID - ID string `json:"id"` - Instruction string `json:"instruction"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The provider of the ability - Provider *string `json:"provider,omitempty"` - // A JSON Schema object type definition (https://json-schema.org/). Represents an object - // schema with properties and validation rules. - Schema PurpleSchema `json:"schema"` - // The ID of the secret associated with the ability - Secret *string `json:"secret,omitempty"` - Setup *string `json:"setup,omitempty"` - // The ID of the space associated with the ability - Space *string `json:"space,omitempty"` - Tags []string `json:"tags,omitempty"` - // The original template identifier for the ability - Template *string `json:"template,omitempty"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` +type ConversationMessageReceiveRequest struct { + // Extensions to enhance the bot's capabilities + Extensions *ConversationMessageReceiveRequestExtensions `json:"extensions,omitempty"` + // An array of functions to be added to the conversation + Functions []ConversationMessageReceiveRequestFunction `json:"functions,omitempty"` } -// A JSON Schema object type definition (https://json-schema.org/). Represents an object -// schema with properties and validation rules. -type PurpleSchema struct { - // The schema description - Description *string `json:"description,omitempty"` - // Object property definitions - Properties map[string]interface{} `json:"properties"` - // Required property names - Required []string `json:"required,omitempty"` - // The schema title - Title *string `json:"title,omitempty"` - // The schema type, must be "object" - Type Type8 `json:"type"` +// Extensions to enhance the bot's capabilities +type ConversationMessageReceiveRequestExtensions struct { + // Additional backstory for the bot + Backstory *string `json:"backstory,omitempty"` + // Inline datasets to provide additional context + Datasets []HilariousDataset `json:"datasets,omitempty"` + // Feature flags to enable specific bot capabilities + Features []IndigoFeature `json:"features,omitempty"` + // Inline skillsets to provide additional abilities + Skillsets []HilariousSkillset `json:"skillsets,omitempty"` } -type PlatformAbilityListStreamItem struct { - // Instance list properties - Data PlatformAbilityListStreamItemData `json:"data"` - // The type of event - Type PlatformAbilityListStreamItemType `json:"type"` +type HilariousDataset struct { + // The description of the dataset + Description *string `json:"description,omitempty"` + // The name of the dataset + Name *string `json:"name,omitempty"` + // The records in the dataset + Records []IndigoRecord `json:"records"` } -// Instance list properties -type PlatformAbilityListStreamItemData struct { - // The ID of the bot associated with the ability - Bot *string `json:"bot,omitempty"` - Commentary *string `json:"commentary,omitempty"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description *string `json:"description,omitempty"` - // The ID of the file associated with the ability - File *string `json:"file,omitempty"` - Icon string `json:"icon"` - // The instance ID - ID string `json:"id"` - Instruction string `json:"instruction"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The provider of the ability - Provider *string `json:"provider,omitempty"` - // A JSON Schema object type definition (https://json-schema.org/). Represents an object - // schema with properties and validation rules. - Schema DataSchema `json:"schema"` - // The ID of the secret associated with the ability - Secret *string `json:"secret,omitempty"` - Setup *string `json:"setup,omitempty"` - // The ID of the space associated with the ability - Space *string `json:"space,omitempty"` - Tags []string `json:"tags,omitempty"` - // The original template identifier for the ability - Template *string `json:"template,omitempty"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` +type IndigoRecord struct { + // Additional metadata for the record + Meta map[string]interface{} `json:"meta,omitempty"` + // The text content of the record + Text string `json:"text"` } -// A JSON Schema object type definition (https://json-schema.org/). Represents an object -// schema with properties and validation rules. -type DataSchema struct { - // The schema description - Description *string `json:"description,omitempty"` - // Object property definitions - Properties map[string]interface{} `json:"properties"` - // Required property names - Required []string `json:"required,omitempty"` - // The schema title - Title *string `json:"title,omitempty"` - // The schema type, must be "object" - Type Type9 `json:"type"` +type IndigoFeature struct { + // The name of the feature to enable + Name string `json:"name"` + // Optional configuration options for the feature + Options map[string]interface{} `json:"options,omitempty"` } -type PlatformAbilitiesSearchRequest struct { - // The search query to find relevant abilities - Search string `json:"search"` - // The maximum number of results to return (1-100, default 10) - Take *int64 `json:"take,omitempty"` +type HilariousSkillset struct { + // The abilities in the skillset + Abilities []IndigoAbility `json:"abilities"` + // The description of the skillset + Description *string `json:"description,omitempty"` + // The name of the skillset + Name *string `json:"name,omitempty"` } -type PlatformAbilitiesSearchResponse struct { - Items []PlatformAbilitiesSearchResponseItem `json:"items"` +type IndigoAbility struct { + // The description of the ability + Description string `json:"description"` + // The instruction for the ability + Instruction string `json:"instruction"` + // Optional secret ID for the ability + LinkedSecretID *string `json:"linkedSecretId,omitempty"` + // Optional space ID for the ability + LinkedSpaceID *string `json:"linkedSpaceId,omitempty"` + // Additional metadata for the ability + Meta map[string]interface{} `json:"meta,omitempty"` + // The name of the ability + Name string `json:"name"` } -// Instance list properties -type PlatformAbilitiesSearchResponseItem struct { - Bot *string `json:"bot,omitempty"` - Commentary *string `json:"commentary,omitempty"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description string `json:"description"` - // An excerpt from the most relevant part of the ability - Excerpt string `json:"excerpt"` - File *string `json:"file,omitempty"` - Icon string `json:"icon"` - // The instance ID - ID string `json:"id"` - Instruction string `json:"instruction"` - // The URL to the official ability page - Link *string `json:"link,omitempty"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name string `json:"name"` - Provider *string `json:"provider,omitempty"` - // A JSON Schema object type definition (https://json-schema.org/). Represents an object - // schema with properties and validation rules. - Schema FluffySchema `json:"schema"` - // The similarity score of the search result - Score float64 `json:"score"` - Secret *string `json:"secret,omitempty"` - Setup *string `json:"setup,omitempty"` - Space *string `json:"space,omitempty"` - Tags []string `json:"tags,omitempty"` - // The original template identifier for the ability - Template *string `json:"template,omitempty"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` +type ConversationMessageReceiveRequestFunction struct { + // Configuration for when this function should be automatically called + Call *StickyCall `json:"call,omitempty"` + // The description of the function + Description string `json:"description"` + // The name of the function (must be a valid JS identifier, max 64 chars) + Name string `json:"name"` + // JSON Schema definition for the function parameters + Parameters StickyParameters `json:"parameters"` + // The result of the function execution + Result *MagentaResult `json:"result,omitempty"` } -// A JSON Schema object type definition (https://json-schema.org/). Represents an object -// schema with properties and validation rules. -type FluffySchema struct { - // The schema description - Description *string `json:"description,omitempty"` - // Object property definitions - Properties map[string]interface{} `json:"properties"` - // Required property names - Required []string `json:"required,omitempty"` - // The schema title - Title *string `json:"title,omitempty"` - // The schema type, must be "object" - Type Type10 `json:"type"` +// Configuration for when this function should be automatically called +type StickyCall struct { + // If true, this function will be force-called at the end of the conversation + End *bool `json:"end,omitempty"` + // If true, this function will be force-called at the start of the conversation + Start *bool `json:"start,omitempty"` } -type PlatformActionListParams struct { - // The cursor to use for pagination - Cursor *string `json:"cursor,omitempty"` - // Key-value pairs to filter the partner users by metadata - Meta map[string]string `json:"meta,omitempty"` - // The order of the paginated items - Order *PlatformActionListParamsOrder `json:"order,omitempty"` - // The number of items to retrieve - Take *int64 `json:"take,omitempty"` +// JSON Schema definition for the function parameters +type StickyParameters struct { + // Object property definitions + Properties map[string]interface{} `json:"properties"` + // Required property names + Required []string `json:"required,omitempty"` + // The schema type, must be "object" + Type Type17 `json:"type"` } -type PlatformActionListResponse struct { - // Cursor for fetching the next page - Cursor string `json:"cursor"` - Items []PlatformActionListResponseItem `json:"items"` +// The result of the function execution +type MagentaResult struct { + // The data returned by the function (can be any type) + Data interface{} `json:"data"` + // The channel for streaming function results + Channel *string `json:"channel,omitempty"` } -// Instance list properties -type PlatformActionListResponseItem struct { - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The description of the action - Description string `json:"description"` - // Example demonstrating the action usage - Examples []string `json:"examples"` - // The instance ID - ID string `json:"id"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` +type ConversationMessageReceiveResponse struct { + // The ID of the created message + ID string `json:"id"` + // The text of the message received + Text string `json:"text"` + // Usage information + Usage ConversationMessageReceiveResponseUsage `json:"usage"` } -type PlatformActionListStreamItem struct { - // Instance list properties - Data PlatformActionListStreamItemData `json:"data"` - // The type of event - Type PlatformActionListStreamItemType `json:"type"` +// Usage information +type ConversationMessageReceiveResponseUsage struct { + // The tokens used in this exchange + Token float64 `json:"token"` } -// Instance list properties -type PlatformActionListStreamItemData struct { - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The description of the action - Description string `json:"description"` - // Example demonstrating the action usage - Examples []string `json:"examples"` - // The instance ID - ID string `json:"id"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` -} - -type PlatformDocFetchParams struct { - // The ID of the doc to fetch (e.g., "datasets", "skillsets") - DocID string `json:"docId"` +type ConversationMessageReceiveStreamItem struct { + // The data for the event + // + // A message in the conversation + // + // Information about an abort event in a streamed response + Data *ConversationMessageReceiveStreamItemData `json:"data,omitempty"` + // The type of event + Type *ConversationMessageReceiveStreamItemType `json:"type,omitempty"` } -// Instance list properties -type PlatformDocFetchResponse struct { - // The category of the manual - Category *string `json:"category,omitempty"` - // The markdown content of the doc - Content string `json:"content"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description *string `json:"description,omitempty"` - // The instance ID - ID string `json:"id"` - // The display order index - Index *float64 `json:"index,omitempty"` - // The URL to the official documentation page - Link *string `json:"link,omitempty"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name string `json:"name"` - // Tags associated with the doc - Tags []string `json:"tags,omitempty"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` -} - -type PlatformDocListParams struct { - // The cursor to use for pagination - Cursor *string `json:"cursor,omitempty"` - // Key-value pairs to filter the partner users by metadata - Meta map[string]string `json:"meta,omitempty"` - // The order of the paginated items - Order *PlatformDocListParamsOrder `json:"order,omitempty"` - // The number of items to retrieve - Take *int64 `json:"take,omitempty"` -} - -type PlatformDocListResponse struct { - // Cursor for fetching the next page - Cursor string `json:"cursor"` - Items []PlatformDocListResponseItem `json:"items"` +// The data for the event +// +// # A message in the conversation +// +// Information about an abort event in a streamed response +type ConversationMessageReceiveStreamItemData struct { + // The ID of the created message + ID *string `json:"id,omitempty"` + // The text of the message received + // + // The text of the message + Text *string `json:"text,omitempty"` + // Usage information + Usage *Usage2 `json:"usage,omitempty"` + // The error message + Message *string `json:"message,omitempty"` + // The token generated + Token *string `json:"token,omitempty"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The type of the message + Type *Type18 `json:"type,omitempty"` + // The function or tool associated with the abort + FunctionName *string `json:"functionName,omitempty"` + // The abort reason if available + Reason interface{} `json:"reason"` + // The number of input tokens used + InputTokensUsed *float64 `json:"inputTokensUsed,omitempty"` + // The model used + Model *string `json:"model,omitempty"` + // The number of output tokens used + OutputTokensUsed *float64 `json:"outputTokensUsed,omitempty"` } -// Instance list properties -type PlatformDocListResponseItem struct { - // The category of the doc - Category *string `json:"category,omitempty"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description string `json:"description"` - // The instance ID - ID string `json:"id"` - // The display order index - Index float64 `json:"index"` - // The URL to the official documentation page - Link string `json:"link"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name string `json:"name"` - // Tags associated with the doc - Tags []string `json:"tags"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` -} - -type PlatformDocListStreamItem struct { - // Instance list properties - Data PlatformDocListStreamItemData `json:"data"` - // The type of event - Type PlatformDocListStreamItemType `json:"type"` +// Usage information +type Usage2 struct { + // The tokens used in this exchange + Token float64 `json:"token"` } -// Instance list properties -type PlatformDocListStreamItemData struct { - // The category of the doc - Category *string `json:"category,omitempty"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description string `json:"description"` - // The instance ID - ID string `json:"id"` - // The display order index - Index float64 `json:"index"` - // The URL to the official documentation page - Link string `json:"link"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name string `json:"name"` - // Tags associated with the doc - Tags []string `json:"tags"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` -} - -type PlatformDocsSearchRequest struct { - // The search query to find relevant docs - Search string `json:"search"` - // The maximum number of results to return (1-100, default 10) - Take *int64 `json:"take,omitempty"` -} - -type PlatformDocsSearchResponse struct { - Items []PlatformDocsSearchResponseItem `json:"items"` +type ConversationFetchParams struct { + // The ID of the conversation to retrieve + ConversationID string `json:"conversationId"` } -// Instance list properties -type PlatformDocsSearchResponseItem struct { - // The category of the doc - Category *string `json:"category,omitempty"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description string `json:"description"` - // An excerpt from the most relevant part of the doc - Excerpt string `json:"excerpt"` - // The instance ID - ID string `json:"id"` - // The display order index - Index float64 `json:"index"` - // The URL to the official documentation page - Link string `json:"link"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name string `json:"name"` - // The similarity score of the search result - Score float64 `json:"score"` - // Tags associated with the doc - Tags []string `json:"tags"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` +// A bot configuration or reference +// +// A bot configuration that can be applied without a dedicated bot instance. +type ConversationFetchResponse struct { + // The contact id assigned to this conversation + ContactID *string `json:"contactId,omitempty"` + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description *string `json:"description,omitempty"` + // The timestamp (ms) at which the conversation expires and is automatically deleted + ExpiresAt *float64 `json:"expiresAt,omitempty"` + // The instance ID + ID string `json:"id"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The task id assigned to this conversation + TaskID *string `json:"taskId,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` + // The ID of the bot this configuration is using + BotID *string `json:"botId,omitempty"` + // The backstory this configuration is using + Backstory *string `json:"backstory,omitempty"` + // The id of the dataset this configuration is using + DatasetID *string `json:"datasetId,omitempty"` + // A model definition + Model *string `json:"model,omitempty"` + // The moderation flag for this configuration + Moderation *bool `json:"moderation,omitempty"` + // The privacy flag for this configuration + Privacy *bool `json:"privacy,omitempty"` + // The id of the skillset this configuration is using + SkillsetID *string `json:"skillsetId,omitempty"` } -type PlatformExampleCloneParams struct { - // The ID (slug) of the example to clone - ExampleID string `json:"exampleId"` +type ConversationDownvoteParams struct { + // The ID of the conversation + ConversationID string `json:"conversationId"` } -type PlatformExampleCloneResponse struct { - // A map of resource types to arrays of created resources - Resources map[string][]Resource `json:"resources"` +type ConversationDownvoteRequest struct { + // The reason for the downvote + Reason *string `json:"reason,omitempty"` + // The value of the downvote + Value *int64 `json:"value,omitempty"` } -type Resource struct { - // The description of the resource - Description *string `json:"description,omitempty"` - // The unique identifier of the resource - ID string `json:"id"` - // The name of the resource - Name *string `json:"name,omitempty"` +type ConversationDownvoteResponse struct { + // The conversation ID of the downvoted conversation + ID string `json:"id"` } -type PlatformExampleFetchParams struct { - // The ID (slug) of the example - ExampleID string `json:"exampleId"` +type StatefulConversationDispatchRequest struct { + // A unique ID to deduplicate dispatch requests + ChannelID *string `json:"channelId,omitempty"` + // Known entities + Entities []StatefulConversationDispatchRequestEntity `json:"entities,omitempty"` + // Extensions to enhance the bot's capabilities + Extensions *StatefulConversationDispatchRequestExtensions `json:"extensions,omitempty"` + // An array of functions to be added to the conversation + Functions []StatefulConversationDispatchRequestFunction `json:"functions,omitempty"` + // Execution limits to control conversation processing bounds + Limits *StatefulConversationDispatchRequestLimits `json:"limits,omitempty"` + // The text of the message to send. Omit to continue receiving from the existing + // conversation state without sending a new user message. + Text *string `json:"text,omitempty"` } -type PlatformExampleFetchResponse struct { - // The full configuration details of the example - Config map[string]interface{} `json:"config"` - // The creation timestamp - CreatedAt *float64 `json:"createdAt,omitempty"` - // The description of the example - Description string `json:"description"` - // The ID (slug) of the example - ID string `json:"id"` - // The URL to the official example page - Link string `json:"link"` - // The name of the example - Name string `json:"name"` - // Tags associated with the example - Tags []string `json:"tags,omitempty"` - // The type of the example - Type PlatformExampleFetchResponseType `json:"type"` - // The last update timestamp - UpdatedAt *float64 `json:"updatedAt,omitempty"` +// Extracted entity from the message +type StatefulConversationDispatchRequestEntity struct { + // Start offset + Begin float64 `json:"begin"` + // End offset + End float64 `json:"end"` + Replacement *StickyReplacement `json:"replacement,omitempty"` + // The text value of the entity + Text string `json:"text"` + // The entity type + Type string `json:"type"` } -type PlatformExampleListParams struct { - // The cursor to use for pagination - Cursor *string `json:"cursor,omitempty"` - // Key-value pairs to filter the partner users by metadata - Meta map[string]string `json:"meta,omitempty"` - // The order of the paginated items - Order *PlatformExampleListParamsOrder `json:"order,omitempty"` - // The number of items to retrieve - Take *int64 `json:"take,omitempty"` +type StickyReplacement struct { + // Start offset + Begin float64 `json:"begin"` + // End offset + End float64 `json:"end"` + // The text value of the replacement + Text string `json:"text"` } -type PlatformExampleListResponse struct { - // Cursor for fetching the next page - Cursor string `json:"cursor"` - Items []PlatformExampleListResponseItem `json:"items"` +// Extensions to enhance the bot's capabilities +type StatefulConversationDispatchRequestExtensions struct { + // Additional backstory for the bot + Backstory *string `json:"backstory,omitempty"` + // Inline datasets to provide additional context + Datasets []AmbitiousDataset `json:"datasets,omitempty"` + // Feature flags to enable specific bot capabilities + Features []IndecentFeature `json:"features,omitempty"` + // Inline skillsets to provide additional abilities + Skillsets []AmbitiousSkillset `json:"skillsets,omitempty"` } -// Instance list properties -type PlatformExampleListResponseItem struct { - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description string `json:"description"` - // The instance ID - ID string `json:"id"` - // The URL to the official example page - Link string `json:"link"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name string `json:"name"` - // Tags associated with the example - Tags []string `json:"tags,omitempty"` - // The type of the example - Type Type11 `json:"type"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` +type AmbitiousDataset struct { + // The description of the dataset + Description *string `json:"description,omitempty"` + // The name of the dataset + Name *string `json:"name,omitempty"` + // The records in the dataset + Records []IndecentRecord `json:"records"` } -type PlatformExampleListStreamItem struct { - // Instance list properties - Data PlatformExampleListStreamItemData `json:"data"` - // The type of event - Type PlatformExampleListStreamItemType `json:"type"` +type IndecentRecord struct { + // Additional metadata for the record + Meta map[string]interface{} `json:"meta,omitempty"` + // The text content of the record + Text string `json:"text"` } -// Instance list properties -type PlatformExampleListStreamItemData struct { - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description string `json:"description"` - // The instance ID - ID string `json:"id"` - // The URL to the official example page - Link string `json:"link"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name string `json:"name"` - // Tags associated with the example - Tags []string `json:"tags,omitempty"` - // The type of the example - Type Type12 `json:"type"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` +type IndecentFeature struct { + // The name of the feature to enable + Name string `json:"name"` + // Optional configuration options for the feature + Options map[string]interface{} `json:"options,omitempty"` } -type PlatformExamplesSearchRequest struct { - // The search query to find relevant examples - Search string `json:"search"` - // The maximum number of results to return (1-100, default 10) - Take *int64 `json:"take,omitempty"` +type AmbitiousSkillset struct { + // The abilities in the skillset + Abilities []IndecentAbility `json:"abilities"` + // The description of the skillset + Description *string `json:"description,omitempty"` + // The name of the skillset + Name *string `json:"name,omitempty"` } -type PlatformExamplesSearchResponse struct { - Items []PlatformExamplesSearchResponseItem `json:"items"` +type IndecentAbility struct { + // The description of the ability + Description string `json:"description"` + // The instruction for the ability + Instruction string `json:"instruction"` + // Optional secret ID for the ability + LinkedSecretID *string `json:"linkedSecretId,omitempty"` + // Optional space ID for the ability + LinkedSpaceID *string `json:"linkedSpaceId,omitempty"` + // Additional metadata for the ability + Meta map[string]interface{} `json:"meta,omitempty"` + // The name of the ability + Name string `json:"name"` } -// Instance list properties -type PlatformExamplesSearchResponseItem struct { - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description string `json:"description"` - // The instance ID - ID string `json:"id"` - // The URL to the official example page - Link string `json:"link"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name string `json:"name"` - // Tags associated with the example - Tags []string `json:"tags,omitempty"` - // The type of the example - Type Type13 `json:"type"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` -} - -type PlatformGuideFetchParams struct { - // The ID of the guide to fetch - GuideID string `json:"guideId"` +type StatefulConversationDispatchRequestFunction struct { + // Configuration for when this function should be automatically called + Call *IndigoCall `json:"call,omitempty"` + // The description of the function + Description string `json:"description"` + // The name of the function (must be a valid JS identifier, max 64 chars) + Name string `json:"name"` + // JSON Schema definition for the function parameters + Parameters IndigoParameters `json:"parameters"` + // The result of the function execution + Result *FriskyResult `json:"result,omitempty"` } -// Instance list properties -type PlatformGuideFetchResponse struct { - // The category of the guide - Category *string `json:"category,omitempty"` - // The markdown content of the guide - Content string `json:"content"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description *string `json:"description,omitempty"` - // The instance ID - ID string `json:"id"` - // The display order index - Index *float64 `json:"index,omitempty"` - // The URL to the official guide page - Link *string `json:"link,omitempty"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name string `json:"name"` - // Tags associated with the guide - Tags []string `json:"tags,omitempty"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` -} - -type PlatformGuideListParams struct { - // The cursor to use for pagination - Cursor *string `json:"cursor,omitempty"` - // Key-value pairs to filter the partner users by metadata - Meta map[string]string `json:"meta,omitempty"` - // The order of the paginated items - Order *PlatformGuideListParamsOrder `json:"order,omitempty"` - // The number of items to retrieve - Take *int64 `json:"take,omitempty"` -} - -type PlatformGuideListResponse struct { - // Cursor for fetching the next page - Cursor string `json:"cursor"` - Items []PlatformGuideListResponseItem `json:"items"` +// Configuration for when this function should be automatically called +type IndigoCall struct { + // If true, this function will be force-called at the end of the conversation + End *bool `json:"end,omitempty"` + // If true, this function will be force-called at the start of the conversation + Start *bool `json:"start,omitempty"` } -// Instance list properties -type PlatformGuideListResponseItem struct { - // The category of the guide - Category *string `json:"category,omitempty"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description string `json:"description"` - // The instance ID - ID string `json:"id"` - // The display order index - Index float64 `json:"index"` - // The URL to the official guide page - Link string `json:"link"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name string `json:"name"` - // Tags associated with the guide - Tags []string `json:"tags"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` -} - -type PlatformGuideListStreamItem struct { - // Instance list properties - Data PlatformGuideListStreamItemData `json:"data"` - // The type of event - Type PlatformGuideListStreamItemType `json:"type"` +// JSON Schema definition for the function parameters +type IndigoParameters struct { + // Object property definitions + Properties map[string]interface{} `json:"properties"` + // Required property names + Required []string `json:"required,omitempty"` + // The schema type, must be "object" + Type Type19 `json:"type"` } -// Instance list properties -type PlatformGuideListStreamItemData struct { - // The category of the guide - Category *string `json:"category,omitempty"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description string `json:"description"` - // The instance ID - ID string `json:"id"` - // The display order index - Index float64 `json:"index"` - // The URL to the official guide page - Link string `json:"link"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name string `json:"name"` - // Tags associated with the guide - Tags []string `json:"tags"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` -} - -type PlatformGuidesSearchRequest struct { - // The search query to find relevant guides - Search string `json:"search"` - // The maximum number of results to return (1-100, default 10) - Take *int64 `json:"take,omitempty"` -} - -type PlatformGuidesSearchResponse struct { - Items []PlatformGuidesSearchResponseItem `json:"items"` +// The result of the function execution +type FriskyResult struct { + // The data returned by the function (can be any type) + Data interface{} `json:"data"` + // The channel for streaming function results + Channel *string `json:"channel,omitempty"` } -// Instance list properties -type PlatformGuidesSearchResponseItem struct { - // The category of the guide - Category *string `json:"category,omitempty"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description string `json:"description"` - // An excerpt from the most relevant part of the guide - Excerpt string `json:"excerpt"` - // The instance ID - ID string `json:"id"` - // The display order index - Index float64 `json:"index"` - // The URL to the official guide page - Link string `json:"link"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name string `json:"name"` - // The similarity score of the search result - Score float64 `json:"score"` - // Tags associated with the guide - Tags []string `json:"tags"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` -} - -type PlatformManualFetchParams struct { - // The ID of the manual to fetch (e.g., "datasets", "skillsets") - ManualID string `json:"manualId"` +// Execution limits to control conversation processing bounds +type StatefulConversationDispatchRequestLimits struct { + // Maximum number of function/tool calls. Controls how many total function calls can be made + // during the conversation. + Calls *int64 `json:"calls,omitempty"` + // Maximum number of model continuations. Controls how many times the model can continue + // generating after reaching a stop condition. + Continuations *int64 `json:"continuations,omitempty"` + // Maximum number of agentic iterations. Controls how many times the model can iterate + // through tool calls and responses. + Iterations *int64 `json:"iterations,omitempty"` } -// Instance list properties -type PlatformManualFetchResponse struct { - // The category of the manual - Category *string `json:"category,omitempty"` - // The markdown content of the manual - Content string `json:"content"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description *string `json:"description,omitempty"` - // The instance ID - ID string `json:"id"` - // The display order index - Index *float64 `json:"index,omitempty"` - // The URL to the official documentation page - Link *string `json:"link,omitempty"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name string `json:"name"` - // Tags associated with the manual - Tags []string `json:"tags,omitempty"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` -} - -type PlatformManualListParams struct { - // The cursor to use for pagination - Cursor *string `json:"cursor,omitempty"` - // Key-value pairs to filter the partner users by metadata - Meta map[string]string `json:"meta,omitempty"` - // The order of the paginated items - Order *PlatformManualListParamsOrder `json:"order,omitempty"` - // The number of items to retrieve - Take *int64 `json:"take,omitempty"` -} - -type PlatformManualListResponse struct { - // Cursor for fetching the next page - Cursor string `json:"cursor"` - Items []PlatformManualListResponseItem `json:"items"` +type StatefulConversationDispatchResponse struct { + // The channel ID to subscribe to for completion events + ChannelID string `json:"channelId"` } -// Instance list properties -type PlatformManualListResponseItem struct { - // The category of the manual - Category *string `json:"category,omitempty"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description string `json:"description"` - // The instance ID - ID string `json:"id"` - // The display order index - Index float64 `json:"index"` - // The URL to the official documentation page - Link string `json:"link"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name string `json:"name"` - // Tags associated with the manual - Tags []string `json:"tags"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` -} - -type PlatformManualListStreamItem struct { - // Instance list properties - Data PlatformManualListStreamItemData `json:"data"` - // The type of event - Type PlatformManualListStreamItemType `json:"type"` +type ConversationDeleteParams struct { + // The ID of the conversation to delete + ConversationID string `json:"conversationId"` } -// Instance list properties -type PlatformManualListStreamItemData struct { - // The category of the manual - Category *string `json:"category,omitempty"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description string `json:"description"` - // The instance ID - ID string `json:"id"` - // The display order index - Index float64 `json:"index"` - // The URL to the official documentation page - Link string `json:"link"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name string `json:"name"` - // Tags associated with the manual - Tags []string `json:"tags"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` -} - -type PlatformManualsSearchRequest struct { - // The search query to find relevant manuals - Search string `json:"search"` - // The maximum number of results to return (1-100, default 10) - Take *int64 `json:"take,omitempty"` -} - -type PlatformManualsSearchResponse struct { - Items []PlatformManualsSearchResponseItem `json:"items"` +type ConversationDeleteResponse struct { + // The ID of the deleted conversation + ID string `json:"id"` } -// Instance list properties -type PlatformManualsSearchResponseItem struct { - // The category of the manual - Category *string `json:"category,omitempty"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description string `json:"description"` - // An excerpt from the most relevant part of the manual - Excerpt string `json:"excerpt"` - // The instance ID - ID string `json:"id"` - // The display order index - Index float64 `json:"index"` - // The URL to the official documentation page - Link string `json:"link"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name string `json:"name"` - // The similarity score of the search result - Score float64 `json:"score"` - // Tags associated with the manual - Tags []string `json:"tags"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` +type ConversationMessageCompleteParams struct { + // The ID of the conversation to receive message from + ConversationID string `json:"conversationId"` } -type PlatformModelListParams struct { - // The cursor to use for pagination - Cursor *string `json:"cursor,omitempty"` - // Key-value pairs to filter the partner users by metadata - Meta map[string]string `json:"meta,omitempty"` - // The order of the paginated items - Order *PlatformModelListParamsOrder `json:"order,omitempty"` - // The number of items to retrieve - Take *int64 `json:"take,omitempty"` +type ConversationMessageCompleteRequest struct { + // Known entities + Entities []ConversationMessageCompleteRequestEntity `json:"entities,omitempty"` + // Extensions to enhance the bot's capabilities + Extensions *ConversationMessageCompleteRequestExtensions `json:"extensions,omitempty"` + // An array of functions to be added to the conversation + Functions []ConversationMessageCompleteRequestFunction `json:"functions,omitempty"` + // Execution limits to control conversation processing bounds + Limits *ConversationMessageCompleteRequestLimits `json:"limits,omitempty"` + // The text of the message to send. Omit to continue receiving from the existing + // conversation state without sending a new user message. + Text *string `json:"text,omitempty"` } -type PlatformModelListResponse struct { - // Cursor for fetching the next page - Cursor string `json:"cursor"` - Items []PlatformModelListResponseItem `json:"items"` +// Extracted entity from the message +type ConversationMessageCompleteRequestEntity struct { + // Start offset + Begin float64 `json:"begin"` + // End offset + End float64 `json:"end"` + Replacement *IndigoReplacement `json:"replacement,omitempty"` + // The text value of the entity + Text string `json:"text"` + // The entity type + Type string `json:"type"` } -// Instance list properties -type PlatformModelListResponseItem struct { - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description *string `json:"description,omitempty"` - // The model of the model - Family string `json:"family"` - // The instance ID - ID string `json:"id"` - // The maximum number of tokens the model can accept - MaxInputTokens float64 `json:"maxInputTokens"` - // The maximum number of tokens the model can generate - MaxOutputTokens float64 `json:"maxOutputTokens"` - // The maximum number of tokens the model can use - MaxTokens float64 `json:"maxTokens"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The backstory of the model - Provider string `json:"provider"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` +type IndigoReplacement struct { + // Start offset + Begin float64 `json:"begin"` + // End offset + End float64 `json:"end"` + // The text value of the replacement + Text string `json:"text"` } -type PlatformModelListStreamItem struct { - // Instance list properties - Data PlatformModelListStreamItemData `json:"data"` - // The type of event - Type PlatformModelListStreamItemType `json:"type"` +// Extensions to enhance the bot's capabilities +type ConversationMessageCompleteRequestExtensions struct { + // Additional backstory for the bot + Backstory *string `json:"backstory,omitempty"` + // Inline datasets to provide additional context + Datasets []CunningDataset `json:"datasets,omitempty"` + // Feature flags to enable specific bot capabilities + Features []HilariousFeature `json:"features,omitempty"` + // Inline skillsets to provide additional abilities + Skillsets []CunningSkillset `json:"skillsets,omitempty"` } -// Instance list properties -type PlatformModelListStreamItemData struct { - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description *string `json:"description,omitempty"` - // The model of the model - Family string `json:"family"` - // The instance ID - ID string `json:"id"` - // The maximum number of tokens the model can accept - MaxInputTokens float64 `json:"maxInputTokens"` - // The maximum number of tokens the model can generate - MaxOutputTokens float64 `json:"maxOutputTokens"` - // The maximum number of tokens the model can use - MaxTokens float64 `json:"maxTokens"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The backstory of the model - Provider string `json:"provider"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` +type CunningDataset struct { + // The description of the dataset + Description *string `json:"description,omitempty"` + // The name of the dataset + Name *string `json:"name,omitempty"` + // The records in the dataset + Records []HilariousRecord `json:"records"` } -type PlatformSecretListParams struct { - // The cursor to use for pagination - Cursor *string `json:"cursor,omitempty"` - // Key-value pairs to filter the partner users by metadata - Meta map[string]string `json:"meta,omitempty"` - // The order of the paginated items - Order *PlatformSecretListParamsOrder `json:"order,omitempty"` - // The number of items to retrieve - Take *int64 `json:"take,omitempty"` +type HilariousRecord struct { + // Additional metadata for the record + Meta map[string]interface{} `json:"meta,omitempty"` + // The text content of the record + Text string `json:"text"` } -type PlatformSecretListResponse struct { - // Cursor for fetching the next page - Cursor string `json:"cursor"` - Items []PlatformSecretListResponseItem `json:"items"` +type HilariousFeature struct { + // The name of the feature to enable + Name string `json:"name"` + // Optional configuration options for the feature + Options map[string]interface{} `json:"options,omitempty"` } -// Instance list properties -type PlatformSecretListResponseItem struct { - Commentary *string `json:"commentary,omitempty"` - Config map[string]interface{} `json:"config,omitempty"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description *string `json:"description,omitempty"` - Icon *string `json:"icon,omitempty"` - // The instance ID - ID string `json:"id"` - // The kind of the secret - Kind *FluffyKind `json:"kind,omitempty"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - Setup *string `json:"setup,omitempty"` - Tags []string `json:"tags,omitempty"` - // The original template identifier for the secret - Template *string `json:"template,omitempty"` - // The type of the secret - Type Type14 `json:"type"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` +type CunningSkillset struct { + // The abilities in the skillset + Abilities []HilariousAbility `json:"abilities"` + // The description of the skillset + Description *string `json:"description,omitempty"` + // The name of the skillset + Name *string `json:"name,omitempty"` } -type PlatformSecretListStreamItem struct { - // Instance list properties - Data PlatformSecretListStreamItemData `json:"data"` - // The type of event - Type PlatformSecretListStreamItemType `json:"type"` +type HilariousAbility struct { + // The description of the ability + Description string `json:"description"` + // The instruction for the ability + Instruction string `json:"instruction"` + // Optional secret ID for the ability + LinkedSecretID *string `json:"linkedSecretId,omitempty"` + // Optional space ID for the ability + LinkedSpaceID *string `json:"linkedSpaceId,omitempty"` + // Additional metadata for the ability + Meta map[string]interface{} `json:"meta,omitempty"` + // The name of the ability + Name string `json:"name"` } -// Instance list properties -type PlatformSecretListStreamItemData struct { - Commentary *string `json:"commentary,omitempty"` - Config map[string]interface{} `json:"config,omitempty"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description *string `json:"description,omitempty"` - Icon *string `json:"icon,omitempty"` - // The instance ID - ID string `json:"id"` - // The kind of the secret - Kind *TentacledKind `json:"kind,omitempty"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - Setup *string `json:"setup,omitempty"` - Tags []string `json:"tags,omitempty"` - // The original template identifier for the secret - Template *string `json:"template,omitempty"` - // The type of the secret - Type Type15 `json:"type"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` +type ConversationMessageCompleteRequestFunction struct { + // Configuration for when this function should be automatically called + Call *IndecentCall `json:"call,omitempty"` + // The description of the function + Description string `json:"description"` + // The name of the function (must be a valid JS identifier, max 64 chars) + Name string `json:"name"` + // JSON Schema definition for the function parameters + Parameters IndecentParameters `json:"parameters"` + // The result of the function execution + Result *MischievousResult `json:"result,omitempty"` } -type PlatformSecretsSearchRequest struct { - // The search query to find relevant secrets - Search string `json:"search"` - // The maximum number of results to return (1-100, default 10) - Take *int64 `json:"take,omitempty"` +// Configuration for when this function should be automatically called +type IndecentCall struct { + // If true, this function will be force-called at the end of the conversation + End *bool `json:"end,omitempty"` + // If true, this function will be force-called at the start of the conversation + Start *bool `json:"start,omitempty"` } -type PlatformSecretsSearchResponse struct { - Items []PlatformSecretsSearchResponseItem `json:"items"` +// JSON Schema definition for the function parameters +type IndecentParameters struct { + // Object property definitions + Properties map[string]interface{} `json:"properties"` + // Required property names + Required []string `json:"required,omitempty"` + // The schema type, must be "object" + Type Type20 `json:"type"` } -// Instance list properties -type PlatformSecretsSearchResponseItem struct { - Commentary *string `json:"commentary,omitempty"` - Config map[string]interface{} `json:"config,omitempty"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description *string `json:"description,omitempty"` - // An excerpt from the most relevant part of the secret - Excerpt string `json:"excerpt"` - Icon *string `json:"icon,omitempty"` - // The instance ID - ID string `json:"id"` - // The kind of the secret - Kind *StickyKind `json:"kind,omitempty"` - // The URL to the official secret page - Link *string `json:"link,omitempty"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The similarity score of the search result - Score float64 `json:"score"` - Setup *string `json:"setup,omitempty"` - Tags []string `json:"tags,omitempty"` - // The original template identifier for the secret - Template *string `json:"template,omitempty"` - // The type of the secret - Type Type16 `json:"type"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` -} - -type PlatformTutorialFetchParams struct { - // The ID of the tutorial to fetch (e.g., "how-to-get-started-with-chatbotkit") - TutorialID string `json:"tutorialId"` +// The result of the function execution +type MischievousResult struct { + // The data returned by the function (can be any type) + Data interface{} `json:"data"` + // The channel for streaming function results + Channel *string `json:"channel,omitempty"` } -// Instance list properties -type PlatformTutorialFetchResponse struct { - // The category of the tutorial - Category *string `json:"category,omitempty"` - // The markdown content of the tutorial - Content string `json:"content"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description *string `json:"description,omitempty"` - // The instance ID - ID string `json:"id"` - // The display order index - Index *float64 `json:"index,omitempty"` - // The URL to the official tutorial page - Link *string `json:"link,omitempty"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name string `json:"name"` - // Tags associated with the tutorial - Tags []string `json:"tags,omitempty"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` -} - -type PlatformTutorialListParams struct { - // The cursor to use for pagination - Cursor *string `json:"cursor,omitempty"` - // Key-value pairs to filter the partner users by metadata - Meta map[string]string `json:"meta,omitempty"` - // The order of the paginated items - Order *PlatformTutorialListParamsOrder `json:"order,omitempty"` - // The number of items to retrieve - Take *int64 `json:"take,omitempty"` -} - -type PlatformTutorialListResponse struct { - // Cursor for fetching the next page - Cursor string `json:"cursor"` - Items []PlatformTutorialListResponseItem `json:"items"` +// Execution limits to control conversation processing bounds +type ConversationMessageCompleteRequestLimits struct { + // Maximum number of function/tool calls. Controls how many total function calls can be made + // during the conversation. + Calls *int64 `json:"calls,omitempty"` + // Maximum number of model continuations. Controls how many times the model can continue + // generating after reaching a stop condition. + Continuations *int64 `json:"continuations,omitempty"` + // Maximum number of agentic iterations. Controls how many times the model can iterate + // through tool calls and responses. + Iterations *int64 `json:"iterations,omitempty"` } -// Instance list properties -type PlatformTutorialListResponseItem struct { - // The category of the tutorial - Category *string `json:"category,omitempty"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description string `json:"description"` - // The instance ID - ID string `json:"id"` - // The display order index - Index float64 `json:"index"` - // The URL to the official tutorial page - Link string `json:"link"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name string `json:"name"` - // Tags associated with the tutorial - Tags []string `json:"tags"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` -} - -type PlatformTutorialListStreamItem struct { - // Instance list properties - Data PlatformTutorialListStreamItemData `json:"data"` - // The type of event - Type PlatformTutorialListStreamItemType `json:"type"` +type ConversationMessageCompleteResponse struct { + // Information about why the completion ended + End ConversationMessageCompleteResponseEnd `json:"end"` + // The ID of the created message + ID string `json:"id"` + // The text of the message received + Text string `json:"text"` + // Usage information + Usage ConversationMessageCompleteResponseUsage `json:"usage"` } -// Instance list properties -type PlatformTutorialListStreamItemData struct { - // The category of the tutorial - Category *string `json:"category,omitempty"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description string `json:"description"` - // The instance ID - ID string `json:"id"` - // The display order index - Index float64 `json:"index"` - // The URL to the official tutorial page - Link string `json:"link"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name string `json:"name"` - // Tags associated with the tutorial - Tags []string `json:"tags"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` -} - -type PlatformTutorialsSearchRequest struct { - // The search query to find relevant tutorials - Search string `json:"search"` - // The maximum number of results to return (1-100, default 10) - Take *int64 `json:"take,omitempty"` -} - -type PlatformTutorialsSearchResponse struct { - Items []PlatformTutorialsSearchResponseItem `json:"items"` +// Information about why the completion ended +type ConversationMessageCompleteResponseEnd struct { + // The reason why the completion ended + Reason TentacledReason `json:"reason"` } -// Instance list properties -type PlatformTutorialsSearchResponseItem struct { - // The category of the tutorial - Category *string `json:"category,omitempty"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description string `json:"description"` - // An excerpt from the most relevant part of the tutorial - Excerpt string `json:"excerpt"` - // The instance ID - ID string `json:"id"` - // The display order index - Index float64 `json:"index"` - // The URL to the official tutorial page - Link string `json:"link"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name string `json:"name"` - // The similarity score of the search result - Score float64 `json:"score"` - // Tags associated with the tutorial - Tags []string `json:"tags"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` +// Usage information +type ConversationMessageCompleteResponseUsage struct { + // The tokens used in this exchange + Token float64 `json:"token"` } -type PolicyDeleteParams struct { - // The ID of the policy to delete - PolicyID string `json:"policyId"` +type ConversationMessageCompleteStreamItem struct { + // The data for the event + // + // A message in the conversation + // + // Information about an abort event in a streamed response + Data ConversationMessageCompleteStreamItemData `json:"data"` + // The type of event + Type ConversationMessageCompleteStreamItemType `json:"type"` } -type PolicyDeleteResponse struct { - // The ID of the deleted policy - ID string `json:"id"` +// The data for the event +// +// # A message in the conversation +// +// Information about an abort event in a streamed response +type ConversationMessageCompleteStreamItemData struct { + // Information about why the completion ended + End *FluffyEnd `json:"end,omitempty"` + // The ID of the created message + ID *string `json:"id,omitempty"` + // The text of the message received + // + // The text of the message + Text *string `json:"text,omitempty"` + // Usage information + Usage *Usage3 `json:"usage,omitempty"` + // The error message + Message *string `json:"message,omitempty"` + // The token generated + Token *string `json:"token,omitempty"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The type of the message + Type *Type21 `json:"type,omitempty"` + // The function or tool associated with the abort + FunctionName *string `json:"functionName,omitempty"` + // The abort reason if available + Reason interface{} `json:"reason"` + // The number of input tokens used + InputTokensUsed *float64 `json:"inputTokensUsed,omitempty"` + // The model used + Model *string `json:"model,omitempty"` + // The number of output tokens used + OutputTokensUsed *float64 `json:"outputTokensUsed,omitempty"` } -type PolicyFetchParams struct { - // The ID of the policy to retrieve - PolicyID string `json:"policyId"` +// Information about why the completion ended +type FluffyEnd struct { + // The reason why the completion ended + Reason StickyReason `json:"reason"` } -// Blueprint properties -type PolicyFetchResponse struct { - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The ID of the bot this policy applies to. When omitted the policy is global and applies - // to every bot. - BotID *string `json:"botId,omitempty"` - // The policy configuration as JSON - Config map[string]interface{} `json:"config,omitempty"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description *string `json:"description,omitempty"` - // The instance ID - ID string `json:"id"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The policy type - Type PolicyFetchResponseType `json:"type"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` +// Usage information +type Usage3 struct { + // The tokens used in this exchange + Token float64 `json:"token"` } -type PolicyUpdateParams struct { - // The ID of the policy to update - PolicyID string `json:"policyId"` +type ConversationCompactParams struct { + // The ID of the conversation to compact + ConversationID string `json:"conversationId"` } -// Blueprint properties -type PolicyUpdateRequest struct { - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The ID of the bot this policy applies to. When omitted the policy is global and applies - // to every bot. - BotID *string `json:"botId,omitempty"` - // The policy configuration as JSON - Config map[string]interface{} `json:"config,omitempty"` - // The associated description - Description *string `json:"description,omitempty"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The policy type - Type *PolicyUpdateRequestType `json:"type,omitempty"` +type ConversationCompactResponse struct { + // The ID of the created checkpoint message, or the conversation ID if there was nothing to + // compact + ID string `json:"id"` + // The compacted text of the messages, or an empty string if there was nothing to compact + Text string `json:"text"` + // Usage information + Usage ConversationCompactResponseUsage `json:"usage"` } -type PolicyUpdateResponse struct { - // The ID of the updated policy - ID string `json:"id"` +// Usage information +type ConversationCompactResponseUsage struct { + // The tokens used in this exchange + Token float64 `json:"token"` } -// Blueprint properties -type PolicyCreateRequest struct { - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The ID of the bot this policy applies to. When omitted the policy is global and applies - // to every bot. - BotID *string `json:"botId,omitempty"` - // The policy configuration as JSON - Config map[string]interface{} `json:"config,omitempty"` - // The associated description - Description *string `json:"description,omitempty"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The policy type - Type PolicyCreateRequestType `json:"type"` +type ConversationUsageFetchParams struct { + // The ID of the conversation + ConversationID string `json:"conversationId"` + // Start date for the period (ISO 8601 format) + From *time.Time `json:"from,omitempty"` + // End date for the period (ISO 8601 format) + To *time.Time `json:"to,omitempty"` } -type PolicyCreateResponse struct { - // The ID of the created policy - ID string `json:"id"` +type ConversationUsageFetchResponse struct { + // Total number of messages + Messages *int64 `json:"messages,omitempty"` + // Total number of BASE tokens used + Tokens *int64 `json:"tokens,omitempty"` } -type PolicyListParams struct { - // Filter policies that apply to a specific bot - BotID *string `json:"botId,omitempty"` - // The cursor to use for pagination - Cursor *string `json:"cursor,omitempty"` - // Key-value pairs to filter the partner users by metadata - Meta map[string]string `json:"meta,omitempty"` - // The order of the paginated items - Order *PolicyListParamsOrder `json:"order,omitempty"` - // The number of items to retrieve - Take *int64 `json:"take,omitempty"` +type ConversationSessionCreateParams struct { + // The ID of the conversation + ConversationID string `json:"conversationId"` } -type PolicyListResponse struct { - // Cursor for fetching the next page - Cursor string `json:"cursor"` - Items []PolicyListResponseItem `json:"items"` +type ConversationSessionCreateRequest struct { + // The maximum amount of time this session will stay open + DurationInSeconds *float64 `json:"durationInSeconds,omitempty"` } -// Blueprint properties -type PolicyListResponseItem struct { - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The ID of the bot this policy applies to. When omitted the policy is global and applies - // to every bot. - BotID *string `json:"botId,omitempty"` - // The policy configuration as JSON - Config map[string]interface{} `json:"config,omitempty"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description *string `json:"description,omitempty"` - // The instance ID - ID string `json:"id"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The policy type - Type Type17 `json:"type"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` +type ConversationSessionCreateResponse struct { + // The time the token will expire in milliseconds + ExpiresAt float64 `json:"expiresAt"` + // The ID of the conversation + ID string `json:"id"` + // The token for this conversation + Token string `json:"token"` } -type PolicyListStreamItem struct { - // Blueprint properties - Data PolicyListStreamItemData `json:"data"` - // The type of event - Type PolicyListStreamItemType `json:"type"` +type ConversationMessageListParams struct { + // The ID of the conversation to list messages for + ConversationID string `json:"conversationId"` + // The cursor to use for pagination + Cursor *string `json:"cursor,omitempty"` + // The order of the paginated items + Order *ConversationMessageListParamsOrder `json:"order,omitempty"` + // The number of items to retrieve + Take *int64 `json:"take,omitempty"` } -// Blueprint properties -type PolicyListStreamItemData struct { - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The ID of the bot this policy applies to. When omitted the policy is global and applies - // to every bot. - BotID *string `json:"botId,omitempty"` - // The policy configuration as JSON - Config map[string]interface{} `json:"config,omitempty"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description *string `json:"description,omitempty"` - // The instance ID - ID string `json:"id"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The policy type - Type Type18 `json:"type"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` +type ConversationMessageListResponse struct { + // Cursor for fetching the next page + Cursor string `json:"cursor"` + Items []ConversationMessageListResponseItem `json:"items"` } -type PortalDeleteParams struct { - // The ID of the portal to delete - PortalID string `json:"portalId"` +// Instance list properties +type ConversationMessageListResponseItem struct { + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description *string `json:"description,omitempty"` + // The instance ID + ID string `json:"id"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The text of the message + Text string `json:"text"` + // The type of the message + Type Type22 `json:"type"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` } -type PortalDeleteResponse struct { - // The ID of the deleted portal - ID string `json:"id"` +type ConversationMessageListStreamItem struct { + // Instance list properties + Data ConversationMessageListStreamItemData `json:"data"` + // The type of event + Type ConversationMessageListStreamItemType `json:"type"` } -type PortalFetchParams struct { - // The ID of the portal to retrieve - PortalID string `json:"portalId"` +// Instance list properties +type ConversationMessageListStreamItemData struct { + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description *string `json:"description,omitempty"` + // The instance ID + ID string `json:"id"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The text of the message + Text string `json:"text"` + // The type of the message + Type Type23 `json:"type"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` } -// Blueprint properties -type PortalFetchResponse struct { - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The config of the portal - Config map[string]interface{} `json:"config,omitempty"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description *string `json:"description,omitempty"` - // The instance ID - ID string `json:"id"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The slug of the portal - Slug *string `json:"slug,omitempty"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` +type ConversationMessageCreateParams struct { + // The ID of the conversation + ConversationID string `json:"conversationId"` } -type PortalUpdateParams struct { - PortalID string `json:"portalId"` +// Instance crud properties +type ConversationMessageCreateRequest struct { + // The associated description + Description *string `json:"description,omitempty"` + // Known entities + Entities []ConversationMessageCreateRequestEntity `json:"entities,omitempty"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The text of the message + Text string `json:"text"` + // The type of the message + Type ConversationMessageCreateRequestType `json:"type"` } -// Blueprint properties -type PortalUpdateRequest struct { - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The config for the portal - Config map[string]interface{} `json:"config,omitempty"` - // The associated description - Description *string `json:"description,omitempty"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The slug for the portal - Slug *string `json:"slug,omitempty"` +// Extracted entity from the message +type ConversationMessageCreateRequestEntity struct { + // Start offset + Begin float64 `json:"begin"` + // End offset + End float64 `json:"end"` + Replacement *IndecentReplacement `json:"replacement,omitempty"` + // The text value of the entity + Text string `json:"text"` + // The entity type + Type string `json:"type"` } -type PortalUpdateResponse struct { - // The ID of the updated portal - ID string `json:"id"` +type IndecentReplacement struct { + // Start offset + Begin float64 `json:"begin"` + // End offset + End float64 `json:"end"` + // The text value of the replacement + Text string `json:"text"` } -// Blueprint properties -type PortalCreateRequest struct { - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The config of the portal - Config map[string]interface{} `json:"config,omitempty"` - // The associated description - Description *string `json:"description,omitempty"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The slug of the portal - Slug *string `json:"slug,omitempty"` +type ConversationMessageCreateResponse struct { + // Extracted entities from the message + Entities []ConversationMessageCreateResponseEntity `json:"entities"` + // The ID of the created message + ID string `json:"id"` } -type PortalCreateResponse struct { - // The ID of the created portal - ID string `json:"id"` +// Extracted entity from the message +type ConversationMessageCreateResponseEntity struct { + // Start offset + Begin float64 `json:"begin"` + // End offset + End float64 `json:"end"` + Replacement *HilariousReplacement `json:"replacement,omitempty"` + // The text value of the entity + Text string `json:"text"` + // The entity type + Type string `json:"type"` } -type PortalListParams struct { - // The cursor to use for pagination - Cursor *string `json:"cursor,omitempty"` - // Key-value pairs to filter the partner users by metadata - Meta map[string]string `json:"meta,omitempty"` - // The order of the paginated items - Order *PortalListParamsOrder `json:"order,omitempty"` - // The number of items to retrieve - Take *int64 `json:"take,omitempty"` +type HilariousReplacement struct { + // Start offset + Begin float64 `json:"begin"` + // End offset + End float64 `json:"end"` + // The text value of the replacement + Text string `json:"text"` } -type PortalListResponse struct { - // Cursor for fetching the next page - Cursor string `json:"cursor"` - Items []PortalListResponseItem `json:"items"` +type ConversationMessageUpvoteParams struct { + // The ID of the conversation + ConversationID string `json:"conversationId"` + // The ID of the message + MessageID string `json:"messageId"` } -// Blueprint properties -type PortalListResponseItem struct { - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The config of the portal - Config map[string]interface{} `json:"config,omitempty"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description *string `json:"description,omitempty"` - // The instance ID - ID string `json:"id"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The slug of the portal - Slug *string `json:"slug,omitempty"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` +type ConversationMessageUpvoteRequest struct { + // The reason for the upvote + Reason *string `json:"reason,omitempty"` + // The value of the upvote + Value *int64 `json:"value,omitempty"` } -type PortalListStreamItem struct { - // Blueprint properties - Data PortalListStreamItemData `json:"data"` - // The type of event - Type PortalListStreamItemType `json:"type"` +type ConversationMessageUpvoteResponse struct { + // The ID of the upvoted message + ID string `json:"id"` } -// Blueprint properties -type PortalListStreamItemData struct { - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The config of the portal - Config map[string]interface{} `json:"config,omitempty"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description *string `json:"description,omitempty"` - // The instance ID - ID string `json:"id"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The slug of the portal - Slug *string `json:"slug,omitempty"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` +type ConversationMessageUpdateParams struct { + // The ID of the conversation + ConversationID string `json:"conversationId"` + // The ID of the message + MessageID string `json:"messageId"` } -type SecretAuthenticateParams struct { - // The ID of the secret to authenticate - SecretID string `json:"secretId"` +// Instance crud properties +type ConversationMessageUpdateRequest struct { + // The associated description + Description *string `json:"description,omitempty"` + // Known entities + Entities []ConversationMessageUpdateRequestEntity `json:"entities,omitempty"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The updated text of the message + Text *string `json:"text,omitempty"` + // The type of the message + Type *ConversationMessageUpdateRequestType `json:"type,omitempty"` } -type SecretAuthenticateResponse struct { - // The ID of the secret to authenticate - ID string `json:"id"` - // The URL to authenticate the secret - URL string `json:"url"` +// Extracted entity from the message +type ConversationMessageUpdateRequestEntity struct { + // Start offset + Begin float64 `json:"begin"` + // End offset + End float64 `json:"end"` + Replacement *AmbitiousReplacement `json:"replacement,omitempty"` + // The text value of the entity + Text string `json:"text"` + // The entity type + Type string `json:"type"` } -type SecretDeleteParams struct { - // The ID of the secret to delete - SecretID string `json:"secretId"` +type AmbitiousReplacement struct { + // Start offset + Begin float64 `json:"begin"` + // End offset + End float64 `json:"end"` + // The text value of the replacement + Text string `json:"text"` } -type SecretDeleteResponse struct { - // The ID of the deleted secret - ID string `json:"id"` +type ConversationMessageUpdateResponse struct { + // The ID of the updated message + ID string `json:"id"` } -type SecretFetchParams struct { - // The ID of the secret to retrieve - SecretID string `json:"secretId"` +type ConversationMessageSynthesizeParams struct { + // The ID of the conversation + ConversationID string `json:"conversationId"` + // The ID of the message + MessageID string `json:"messageId"` } -// Blueprint properties -type SecretFetchResponse struct { - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The config of the secret - Config map[string]interface{} `json:"config,omitempty"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description *string `json:"description,omitempty"` - // The instance ID - ID string `json:"id"` - // The kind of the secret - Kind *SecretFetchResponseKind `json:"kind,omitempty"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The type of the secret - Type *SecretFetchResponseType `json:"type,omitempty"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` - // The visibility of the secret - Visibility *SecretFetchResponseVisibility `json:"visibility,omitempty"` +type ConversationMessageSynthesizeResponse struct { + // The ID of the synthesized message + ID string `json:"id"` } -type SecretMintParams struct { - // The ID of the secret to mint - SecretID string `json:"secretId"` +type ConversationMessageFetchParams struct { + // The ID of the conversation containing the message + ConversationID string `json:"conversationId"` + // The ID of the message to retrieve + MessageID string `json:"messageId"` } -type SecretMintResponse struct { - // Token expiry as a unix timestamp in ms, or null - ExpiresAt *float64 `json:"expiresAt,omitempty"` - // The usable token to send to the provider - Token string `json:"token"` +// Instance list properties +type ConversationMessageFetchResponse struct { + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description *string `json:"description,omitempty"` + // The instance ID + ID string `json:"id"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The text of the fetched message + Text string `json:"text"` + // The type of the message + Type ConversationMessageFetchResponseType `json:"type"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` } -type SecretProxyParams struct { - // The ID of the secret to inject - SecretID string `json:"secretId"` +type ConversationMessageDownvoteParams struct { + // The ID of the conversation + ConversationID string `json:"conversationId"` + // The ID of the message + MessageID string `json:"messageId"` } -type SecretProxyRequest struct { - // The request body - Body *string `json:"body,omitempty"` - // The request headers (may reference the secret) - Headers map[string]string `json:"headers,omitempty"` - // The HTTP method - Method *string `json:"method,omitempty"` - // The destination URL - URL string `json:"url"` +type ConversationMessageDownvoteRequest struct { + // The reason for the downvote + Reason *string `json:"reason,omitempty"` + // The value of the downvote + Value *int64 `json:"value,omitempty"` } -type SecretRevokeParams struct { - SecretID string `json:"secretId"` +type ConversationMessageDownvoteResponse struct { + // The ID of the downvoted message + ID string `json:"id"` } -type SecretRevokeResponse struct { - // The ID of the revoked secret - ID string `json:"id"` +type ConversationMessageDeleteParams struct { + // The ID of the conversation containing the message + ConversationID string `json:"conversationId"` + // The ID of the message to delete + MessageID string `json:"messageId"` } -type SecretUpdateParams struct { - SecretID string `json:"secretId"` +type ConversationMessageDeleteResponse struct { + // The ID of the deleted message + ID string `json:"id"` } -// Blueprint properties -type SecretUpdateRequest struct { - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The config of the secret - Config map[string]interface{} `json:"config,omitempty"` - // The associated description - Description *string `json:"description,omitempty"` - // The kind of the secret - Kind *SecretUpdateRequestKind `json:"kind,omitempty"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The type of the secret - Type *SecretUpdateRequestType `json:"type,omitempty"` - // The value of the secret - Value *string `json:"value,omitempty"` - // The visibility of the secret - Visibility *SecretUpdateRequestVisibility `json:"visibility,omitempty"` +type ConversationContactUpsertParams struct { + // The ID of the conversation + ConversationID string `json:"conversationId"` } -type SecretUpdateResponse struct { - // The ID of the updated secret - ID string `json:"id"` +// Instance crud properties +type ConversationContactUpsertRequest struct { + // The associated description + Description *string `json:"description,omitempty"` + // The email address of the contact + Email *string `json:"email,omitempty"` + // The fingerprint of the contact + Fingerprint *string `json:"fingerprint,omitempty"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The nickname of the contact + Nick *string `json:"nick,omitempty"` + // The phone number of the contact + Phone *string `json:"phone,omitempty"` } -type SecretVerifyParams struct { - // The ID of the secret to be verified - SecretID string `json:"secretId"` +type ConversationContactUpsertResponse struct { + // The ID of the created contact + ID string `json:"id"` } -type SecretVerifyResponse struct { - Action *SecretVerifyResponseAction `json:"action,omitempty"` - // The ID of the verified secret - ID string `json:"id"` - // The status of the secret - Status SecretVerifyResponseStatus `json:"status"` +type ConversationChannelSubscribeRequest struct { + // Number of recent monitor events to replay before following + // live, so a console opening mid-conversation can catch up. + HistoryLength *int64 `json:"historyLength,omitempty"` } -// The action to take next -type SecretVerifyResponseAction struct { - // The type of action to take - Type Type19 `json:"type"` - // The URL to authenticate the secret - URL string `json:"url"` +type ConversationChannelSubscribeStreamItem struct { + // The monitor event published to the channel + Data map[string]interface{} `json:"data"` + // The type of event + Type ConversationChannelSubscribeStreamItemType `json:"type"` } -// Blueprint properties -type SecretCreateRequest struct { - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The config of the secret - Config map[string]interface{} `json:"config,omitempty"` - // The associated description - Description *string `json:"description,omitempty"` - // The kind of the secret - Kind *SecretCreateRequestKind `json:"kind,omitempty"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The type of the secret - Type *SecretCreateRequestType `json:"type,omitempty"` - // The value of the secret - Value *string `json:"value,omitempty"` - // The visibility of the secret - Visibility *SecretCreateRequestVisibility `json:"visibility,omitempty"` +type ConversationAttachmentUploadParams struct { + ConversationID string `json:"conversationId"` } -type SecretCreateResponse struct { - // The ID of the created secret - ID string `json:"id"` +type ConversationAttachmentUploadRequest struct { + // The file to upload either as http: or data: URL + // + // The file definition to upload + File *ConversationAttachmentUploadRequestFile `json:"file"` } -type SecretListParams struct { - // The cursor to use for pagination - Cursor *string `json:"cursor,omitempty"` - // Key-value pairs to filter the partner users by metadata - Meta map[string]string `json:"meta,omitempty"` - // The order of the paginated items - Order *SecretListParamsOrder `json:"order,omitempty"` - // The number of items to retrieve - Take *int64 `json:"take,omitempty"` +// The file definition to upload +type TentacledFile struct { + // The file name + Name *string `json:"name,omitempty"` + // The file size + Size float64 `json:"size"` + // The file type + Type string `json:"type"` } -type SecretListResponse struct { - // Cursor for fetching the next page - Cursor string `json:"cursor"` - Items []SecretListResponseItem `json:"items"` +type ConversationAttachmentUploadResponse struct { + // The ID of the upload file + ID string `json:"id"` + // The name of the uploaded file + Name *string `json:"name,omitempty"` + // The request required to upload the file + UploadRequest *ConversationAttachmentUploadResponseUploadRequest `json:"uploadRequest,omitempty"` } -// Blueprint properties -type SecretListResponseItem struct { - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The config of the secret - Config map[string]interface{} `json:"config,omitempty"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description *string `json:"description,omitempty"` - // The instance ID - ID string `json:"id"` - // The kind of the secret - Kind *IndigoKind `json:"kind,omitempty"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The type of the secret - Type *Type20 `json:"type,omitempty"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` - // The visibility of the secret - Visibility *FriskyVisibility `json:"visibility,omitempty"` +// The request required to upload the file +type ConversationAttachmentUploadResponseUploadRequest struct { + // The HTTP headers to use + Headers map[string]interface{} `json:"headers"` + // The HTTP method to use + Method string `json:"method"` + // The HTTP url to use + URL string `json:"url"` } -type SecretListStreamItem struct { - // Blueprint properties - Data SecretListStreamItemData `json:"data"` - // The type of event - Type SecretListStreamItemType `json:"type"` +type ConversationAttachmentListParams struct { + // The ID of the conversation to list attachments for + ConversationID string `json:"conversationId"` + // The cursor to use for pagination + Cursor *string `json:"cursor,omitempty"` + // The number of items to retrieve + Take *int64 `json:"take,omitempty"` } -// Blueprint properties -type SecretListStreamItemData struct { - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The config of the secret - Config map[string]interface{} `json:"config,omitempty"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description *string `json:"description,omitempty"` - // The instance ID - ID string `json:"id"` - // The kind of the secret - Kind *IndecentKind `json:"kind,omitempty"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The type of the secret - Type *Type21 `json:"type,omitempty"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` - // The visibility of the secret - Visibility *MischievousVisibility `json:"visibility,omitempty"` +type ConversationAttachmentListResponse struct { + // Cursor for fetching the next page + Cursor string `json:"cursor"` + Items []ConversationAttachmentListResponseItem `json:"items"` } -type SkillsetAbilityDeleteParams struct { - // The ID of the ability to delete - AbilityID string `json:"abilityId"` - // The ID of the skillset - SkillsetID string `json:"skillsetId"` +// Instance list properties +type ConversationAttachmentListResponseItem struct { + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description *string `json:"description,omitempty"` + // The instance ID + ID string `json:"id"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The stored attachment file name + Name *string `json:"name,omitempty"` + // The attachment size in bytes + Size *float64 `json:"size,omitempty"` + // The inferred attachment MIME type + Type *string `json:"type,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` } -type SkillsetAbilityDeleteResponse struct { - // The ID of the deleted ability - ID string `json:"id"` +type ContactListParams struct { + // The cursor to use for pagination + Cursor *string `json:"cursor,omitempty"` + // Key-value pairs to filter the items by metadata + Meta map[string]string `json:"meta,omitempty"` + // The order of the paginated items + Order *ContactListParamsOrder `json:"order,omitempty"` + // The number of items to retrieve + Take *int64 `json:"take,omitempty"` } -type SkillsetAbilityExecuteParams struct { - // The ID of the ability to execute - AbilityID string `json:"abilityId"` - // The ID of the skillset containing the ability - SkillsetID string `json:"skillsetId"` +type ContactListResponse struct { + // Cursor for fetching the next page + Cursor string `json:"cursor"` + Items []ContactListResponseItem `json:"items"` } -type SkillsetAbilityExecuteRequest struct { - // The ID of the contact to associate with the execution - ContactID *string `json:"contactId,omitempty"` - // The input to process with the ability. This can be structured - // text such as JSON or YAML for precise parameter control, or - // unstructured natural language text. When unstructured text is - // provided, the system will automatically detect and extract the - // relevant parameters from the input. - Input *string `json:"input,omitempty"` +// Instance list properties +type ContactListResponseItem struct { + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description *string `json:"description,omitempty"` + // The email address of the contact + Email *string `json:"email,omitempty"` + // The fingerprint of the contact + Fingerprint string `json:"fingerprint"` + // The instance ID + ID string `json:"id"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The nickname of the contact + Nick *string `json:"nick,omitempty"` + // The phone number of the contact + Phone *string `json:"phone,omitempty"` + // The preferences of the contact + Preferences *string `json:"preferences,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` + // The timestamp (ms) when the contact was verified + VerifiedAt *float64 `json:"verifiedAt,omitempty"` } -type SkillsetAbilityExecuteResponse struct { - // Error message if execution failed - Error *string `json:"error,omitempty"` - // Messages generated during execution - Messages []SkillsetAbilityExecuteResponseMessage `json:"messages,omitempty"` - // The result of the ability execution - Result interface{} `json:"result"` - // Usage information - Usage SkillsetAbilityExecuteResponseUsage `json:"usage"` +type ContactListStreamItem struct { + // Instance list properties + Data ContactListStreamItemData `json:"data"` + // The type of event + Type ContactListStreamItemType `json:"type"` } -// A message in the conversation -type SkillsetAbilityExecuteResponseMessage struct { - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The text of the message - Text string `json:"text"` - // The type of the message - Type Type22 `json:"type"` +// Instance list properties +type ContactListStreamItemData struct { + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description *string `json:"description,omitempty"` + // The email address of the contact + Email *string `json:"email,omitempty"` + // The fingerprint of the contact + Fingerprint string `json:"fingerprint"` + // The instance ID + ID string `json:"id"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The nickname of the contact + Nick *string `json:"nick,omitempty"` + // The phone number of the contact + Phone *string `json:"phone,omitempty"` + // The preferences of the contact + Preferences *string `json:"preferences,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` + // The timestamp (ms) when the contact was verified + VerifiedAt *float64 `json:"verifiedAt,omitempty"` } -// Usage information -type SkillsetAbilityExecuteResponseUsage struct { - // The tokens used in this exchange - Token float64 `json:"token"` +type ContactsExportParams struct { + // The cursor to use for pagination + Cursor *string `json:"cursor,omitempty"` + // Key-value pairs to filter the items by metadata + Meta map[string]string `json:"meta,omitempty"` + // The order of the paginated items + Order *ContactsExportParamsOrder `json:"order,omitempty"` + // The number of items to retrieve + Take *int64 `json:"take,omitempty"` } -type SkillsetAbilityExecuteStreamItem struct { - // The data for the event - // - // A message in the conversation - // - // Information about an abort event in a streamed response - Data SkillsetAbilityExecuteStreamItemData `json:"data"` - // The type of event - Type SkillsetAbilityExecuteStreamItemType `json:"type"` +type ContactsExportResponse struct { + // Cursor for fetching the next page + Cursor string `json:"cursor"` + Items []ContactsExportResponseItem `json:"items"` } -// The data for the event -// -// A message in the conversation -// -// Information about an abort event in a streamed response -type SkillsetAbilityExecuteStreamItemData struct { - // Error message if execution failed - Error *string `json:"error,omitempty"` - // Messages generated during execution - Messages []DataMessage `json:"messages,omitempty"` - // The result of the ability execution - Result interface{} `json:"result"` - // Usage information - Usage *Usage3 `json:"usage,omitempty"` - // The error message - Message *string `json:"message,omitempty"` - // The token generated - Token *string `json:"token,omitempty"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The text of the message - Text *string `json:"text,omitempty"` - // The type of the message - Type *Type24 `json:"type,omitempty"` - // The function or tool associated with the abort - FunctionName *string `json:"functionName,omitempty"` - // The abort reason if available - Reason interface{} `json:"reason"` - // The number of input tokens used - InputTokensUsed *float64 `json:"inputTokensUsed,omitempty"` - // The model used - Model *string `json:"model,omitempty"` - // The number of output tokens used - OutputTokensUsed *float64 `json:"outputTokensUsed,omitempty"` +// Instance list properties +type ContactsExportResponseItem struct { + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description *string `json:"description,omitempty"` + // The email address of the contact + Email *string `json:"email,omitempty"` + // The fingerprint of the contact + Fingerprint string `json:"fingerprint"` + // The instance ID + ID string `json:"id"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The nickname of the contact + Nick *string `json:"nick,omitempty"` + // The phone number of the contact + Phone *string `json:"phone,omitempty"` + // The preferences of the contact + Preferences *string `json:"preferences,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` + // The timestamp (ms) when the contact was verified + VerifiedAt *float64 `json:"verifiedAt,omitempty"` } -// A message in the conversation -type DataMessage struct { - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The text of the message - Text string `json:"text"` - // The type of the message - Type Type23 `json:"type"` +type ContactsExportStreamItem struct { + // Instance list properties + Data ContactsExportStreamItemData `json:"data"` + // The type of event + Type ContactsExportStreamItemType `json:"type"` } -// Usage information -type Usage3 struct { - // The tokens used in this exchange - Token float64 `json:"token"` +// Instance list properties +type ContactsExportStreamItemData struct { + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description *string `json:"description,omitempty"` + // The email address of the contact + Email *string `json:"email,omitempty"` + // The fingerprint of the contact + Fingerprint string `json:"fingerprint"` + // The instance ID + ID string `json:"id"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The nickname of the contact + Nick *string `json:"nick,omitempty"` + // The phone number of the contact + Phone *string `json:"phone,omitempty"` + // The preferences of the contact + Preferences *string `json:"preferences,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` + // The timestamp (ms) when the contact was verified + VerifiedAt *float64 `json:"verifiedAt,omitempty"` } -type SkillsetAbilityFetchParams struct { - // The ID of the ability to retrieve - AbilityID string `json:"abilityId"` - // The ID of the skillset - SkillsetID string `json:"skillsetId"` +// Instance crud properties +type ContactEnsureRequest struct { + // The associated description + Description *string `json:"description,omitempty"` + // The email address of the contact + Email *string `json:"email,omitempty"` + // The fingerprint of the contact + Fingerprint string `json:"fingerprint"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The nickname of the contact + Nick *string `json:"nick,omitempty"` + // The phone number of the contact + Phone *string `json:"phone,omitempty"` + // The preferences of the contact + Preferences *string `json:"preferences,omitempty"` + // The timestamp (ms) when the contact was verified + VerifiedAt *float64 `json:"verifiedAt,omitempty"` } -// Blueprint properties -type SkillsetAbilityFetchResponse struct { - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The ID of the bot associated with the ability - BotID *string `json:"botId,omitempty"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description string `json:"description"` - // The ID of the file associated with the ability - FileID *string `json:"fileId,omitempty"` - // The instance ID - ID string `json:"id"` - // The instruction of the skillset ability - Instruction string `json:"instruction"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name string `json:"name"` - // The ID of the secret associated with the ability - SecretID *string `json:"secretId,omitempty"` - // The ID of the space associated with the ability - SpaceID *string `json:"spaceId,omitempty"` - // The lifecycle state of a resource — toggle it on/off without deleting it - State *SkillsetAbilityFetchResponseState `json:"state,omitempty"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` +type ContactEnsureResponse struct { + // The ID of the ensured contact + ID string `json:"id"` } -type SkillsetAbilityUpdateParams struct { - AbilityID string `json:"abilityId"` - SkillsetID string `json:"skillsetId"` +// Instance crud properties +type ContactCreateRequest struct { + // The associated description + Description *string `json:"description,omitempty"` + // The email address of the contact + Email *string `json:"email,omitempty"` + // The fingerprint of the contact + Fingerprint *string `json:"fingerprint,omitempty"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The nickname of the contact + Nick *string `json:"nick,omitempty"` + // The phone number of the contact + Phone *string `json:"phone,omitempty"` + // The preferences of the contact + Preferences *string `json:"preferences,omitempty"` + // The timestamp (ms) when the contact was verified + VerifiedAt *float64 `json:"verifiedAt,omitempty"` } -// Blueprint properties -type SkillsetAbilityUpdateRequest struct { - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The ID of the bot associated with the ability - BotID *string `json:"botId,omitempty"` - // The associated description - Description *string `json:"description,omitempty"` - // The ID of the file associated with the ability - FileID *string `json:"fileId,omitempty"` - // The text to update the ability with - Instruction *string `json:"instruction,omitempty"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The ID of the secret associated with the ability - SecretID *string `json:"secretId,omitempty"` - // The ID of the space associated with the ability - SpaceID *string `json:"spaceId,omitempty"` - // The lifecycle state of a resource — toggle it on/off without deleting it - State *SkillsetAbilityUpdateRequestState `json:"state,omitempty"` +type ContactCreateResponse struct { + // The ID of the created contact + ID string `json:"id"` } -type SkillsetAbilityUpdateResponse struct { - // The ID of the updated ability - ID string `json:"id"` +type ContactUpdateParams struct { + ContactID string `json:"contactId"` } -type SkillsetAbilityCreateParams struct { - SkillsetID string `json:"skillsetId"` +// Instance crud properties +type ContactUpdateRequest struct { + // The associated description + Description *string `json:"description,omitempty"` + // The email address of the contact + Email *string `json:"email,omitempty"` + // The fingerprint of the contact + Fingerprint *string `json:"fingerprint,omitempty"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The nickname of the contact + Nick *string `json:"nick,omitempty"` + // The phone number of the contact + Phone *string `json:"phone,omitempty"` + // The preferences of the contact + Preferences *string `json:"preferences,omitempty"` + // The timestamp (ms) when the contact was verified + VerifiedAt *float64 `json:"verifiedAt,omitempty"` } -// Blueprint properties -type SkillsetAbilityCreateRequest struct { - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The ID of the bot associated with the ability - BotID *string `json:"botId,omitempty"` - // The associated description - Description *string `json:"description,omitempty"` - // The ID of the file associated with the ability - FileID *string `json:"fileId,omitempty"` - // The instruction of the ability - Instruction *string `json:"instruction,omitempty"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The ID of the secret associated with the ability - SecretID *string `json:"secretId,omitempty"` - // The ID of the space associated with the ability - SpaceID *string `json:"spaceId,omitempty"` - // The lifecycle state of a resource — toggle it on/off without deleting it - State *SkillsetAbilityCreateRequestState `json:"state,omitempty"` +type ContactUpdateResponse struct { + // The ID of the updated contact + ID string `json:"id"` } -type SkillsetAbilityCreateResponse struct { - // The ID of the created ability - ID string `json:"id"` +type ContactFetchParams struct { + // The ID of the contact to retrieve + ContactID string `json:"contactId"` } -type SkillsetAbilitiesExportParams struct { - // The cursor to use for pagination - Cursor *string `json:"cursor,omitempty"` - // The order of the paginated items - Order *SkillsetAbilitiesExportParamsOrder `json:"order,omitempty"` - // The ID of the skillset to export - SkillsetID string `json:"skillsetId"` - // The number of items to retrieve - Take *int64 `json:"take,omitempty"` +// Instance list properties +type ContactFetchResponse struct { + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description *string `json:"description,omitempty"` + // The email address of the contact + Email *string `json:"email,omitempty"` + // The fingerprint of the contact + Fingerprint string `json:"fingerprint"` + // The instance ID + ID string `json:"id"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The nickname of the contact + Nick *string `json:"nick,omitempty"` + // The phone number of the contact + Phone *string `json:"phone,omitempty"` + // The preferences of the contact + Preferences *string `json:"preferences,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` + // The timestamp (ms) when the contact was verified + VerifiedAt *float64 `json:"verifiedAt,omitempty"` } -type SkillsetAbilitiesExportResponse struct { - // Cursor for fetching the next page - Cursor string `json:"cursor"` - Items []SkillsetAbilitiesExportResponseItem `json:"items"` +type ContactDeleteParams struct { + // The ID of the contact to delete + ContactID string `json:"contactId"` } -// Blueprint properties -type SkillsetAbilitiesExportResponseItem struct { - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The ID of the bot associated with the ability - BotID *string `json:"botId,omitempty"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description string `json:"description"` - // The ID of the file associated with the ability - FileID *string `json:"fileId,omitempty"` - // The instance ID - ID string `json:"id"` - Instruction string `json:"instruction"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name string `json:"name"` - // The ID of the secret associated with the ability - SecretID *string `json:"secretId,omitempty"` - // The ID of the space associated with the ability - SpaceID *string `json:"spaceId,omitempty"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` +type ContactDeleteResponse struct { + // The ID of the deleted contact + ID string `json:"id"` } -type SkillsetAbilitiesExportStreamItem struct { - // Blueprint properties - Data SkillsetAbilitiesExportStreamItemData `json:"data"` - // The type of event - Type SkillsetAbilitiesExportStreamItemType `json:"type"` +type ContactTaskListParams struct { + // The ID of the contact to list tasks for + ContactID string `json:"contactId"` + // The cursor to use for pagination + Cursor *string `json:"cursor,omitempty"` + // The order of the paginated items + Order *ContactTaskListParamsOrder `json:"order,omitempty"` + // The number of items to retrieve + Take *int64 `json:"take,omitempty"` } -// Blueprint properties -type SkillsetAbilitiesExportStreamItemData struct { - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The ID of the bot associated with the ability - BotID *string `json:"botId,omitempty"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description string `json:"description"` - // The ID of the file associated with the ability - FileID *string `json:"fileId,omitempty"` - // The instance ID - ID string `json:"id"` - Instruction string `json:"instruction"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name string `json:"name"` - // The ID of the secret associated with the ability - SecretID *string `json:"secretId,omitempty"` - // The ID of the space associated with the ability - SpaceID *string `json:"spaceId,omitempty"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` +type ContactTaskListResponse struct { + // Cursor for fetching the next page + Cursor string `json:"cursor"` + Items []ContactTaskListResponseItem `json:"items"` } -type SkillsetAbilityListParams struct { - // The cursor to use for pagination - Cursor *string `json:"cursor,omitempty"` - // The order of the paginated items - Order *SkillsetAbilityListParamsOrder `json:"order,omitempty"` - // The ID of the skillset - SkillsetID string `json:"skillsetId"` - // The number of items to retrieve - Take *int64 `json:"take,omitempty"` +// Instance list properties +type ContactTaskListResponseItem struct { + // The bot associated with the task + BotID *string `json:"botId,omitempty"` + // The contact id assigned to this task + ContactID *string `json:"contactId,omitempty"` + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description *string `json:"description,omitempty"` + // The instance ID + ID string `json:"id"` + // The timestamp (ms) of the last task execution + LastRunAt *float64 `json:"lastRunAt,omitempty"` + // The maximum number of iterations per task execution + MaxIterations *float64 `json:"maxIterations,omitempty"` + // The maximum time per task execution (in milliseconds) + MaxTime *float64 `json:"maxTime,omitempty"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The timestamp (ms) of the next scheduled task execution + NextRunAt *float64 `json:"nextRunAt,omitempty"` + // The task execution outcome + Outcome *IndigoOutcome `json:"outcome,omitempty"` + // The schedule of the task + Schedule *string `json:"schedule,omitempty"` + // The session duration of the task execution (in milliseconds) + SessionDuration *float64 `json:"sessionDuration,omitempty"` + // The task execution status + Status *IndigoStatus `json:"status,omitempty"` + // The IANA timezone identifier used to evaluate the task schedule. + Timezone *string `json:"timezone,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` } -type SkillsetAbilityListResponse struct { - // Cursor for fetching the next page - Cursor string `json:"cursor"` - Items []SkillsetAbilityListResponseItem `json:"items"` +type ContactTaskListStreamItem struct { + // Instance list properties + Data ContactTaskListStreamItemData `json:"data"` + // The type of event + Type ContactTaskListStreamItemType `json:"type"` } -// Blueprint properties -type SkillsetAbilityListResponseItem struct { - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The ID of the bot associated with the ability - BotID *string `json:"botId,omitempty"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description string `json:"description"` - // The ID of the file associated with the ability - FileID *string `json:"fileId,omitempty"` - // The instance ID - ID string `json:"id"` - Instruction string `json:"instruction"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name string `json:"name"` - // The ID of the secret associated with the ability - SecretID *string `json:"secretId,omitempty"` - // The ID of the space associated with the ability - SpaceID *string `json:"spaceId,omitempty"` - // The lifecycle state of a resource — toggle it on/off without deleting it - State *PurpleState `json:"state,omitempty"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` +// Instance list properties +type ContactTaskListStreamItemData struct { + // The bot associated with the task + BotID *string `json:"botId,omitempty"` + // The contact id assigned to this task + ContactID *string `json:"contactId,omitempty"` + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description *string `json:"description,omitempty"` + // The instance ID + ID string `json:"id"` + // The timestamp (ms) of the last task execution + LastRunAt *float64 `json:"lastRunAt,omitempty"` + // The maximum number of iterations per task execution + MaxIterations *float64 `json:"maxIterations,omitempty"` + // The maximum time per task execution (in milliseconds) + MaxTime *float64 `json:"maxTime,omitempty"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The timestamp (ms) of the next scheduled task execution + NextRunAt *float64 `json:"nextRunAt,omitempty"` + // The task execution outcome + Outcome *IndecentOutcome `json:"outcome,omitempty"` + // The schedule of the task + Schedule *string `json:"schedule,omitempty"` + // The session duration of the task execution (in milliseconds) + SessionDuration *float64 `json:"sessionDuration,omitempty"` + // The task execution status + Status *IndecentStatus `json:"status,omitempty"` + // The IANA timezone identifier used to evaluate the task schedule. + Timezone *string `json:"timezone,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` } -type SkillsetAbilityListStreamItem struct { - // Blueprint properties - Data SkillsetAbilityListStreamItemData `json:"data"` - // The type of event - Type SkillsetAbilityListStreamItemType `json:"type"` +type ContactSpaceListParams struct { + // The ID of the contact to list spaces for + ContactID string `json:"contactId"` + // The cursor to use for pagination + Cursor *string `json:"cursor,omitempty"` + // The order of the paginated items + Order *ContactSpaceListParamsOrder `json:"order,omitempty"` + // The number of items to retrieve + Take *int64 `json:"take,omitempty"` } -// Blueprint properties -type SkillsetAbilityListStreamItemData struct { - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The ID of the bot associated with the ability - BotID *string `json:"botId,omitempty"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description string `json:"description"` - // The ID of the file associated with the ability - FileID *string `json:"fileId,omitempty"` - // The instance ID - ID string `json:"id"` - Instruction string `json:"instruction"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name string `json:"name"` - // The ID of the secret associated with the ability - SecretID *string `json:"secretId,omitempty"` - // The ID of the space associated with the ability - SpaceID *string `json:"spaceId,omitempty"` - // The lifecycle state of a resource — toggle it on/off without deleting it - State *FluffyState `json:"state,omitempty"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` +type ContactSpaceListResponse struct { + // Cursor for fetching the next page + Cursor string `json:"cursor"` + Items []ContactSpaceListResponseItem `json:"items"` } -type SkillsetDeleteParams struct { - // The ID of the skillset to delete - SkillsetID string `json:"skillsetId"` +// Instance list properties +type ContactSpaceListResponseItem struct { + // The contact id assigned to this space + ContactID *string `json:"contactId,omitempty"` + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description *string `json:"description,omitempty"` + // The instance ID + ID string `json:"id"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` } -type SkillsetDeleteResponse struct { - // The ID of the deleted skillset - ID string `json:"id"` +type ContactSpaceListStreamItem struct { + // Instance list properties + Data ContactSpaceListStreamItemData `json:"data"` + // The type of event + Type ContactSpaceListStreamItemType `json:"type"` } -type SkillsetFetchParams struct { - // The ID of the skillset to retrieve - SkillsetID string `json:"skillsetId"` +// Instance list properties +type ContactSpaceListStreamItemData struct { + // The contact id assigned to this space + ContactID *string `json:"contactId,omitempty"` + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description *string `json:"description,omitempty"` + // The instance ID + ID string `json:"id"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` } -// Blueprint properties -type SkillsetFetchResponse struct { - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description *string `json:"description,omitempty"` - // The instance ID - ID string `json:"id"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The lifecycle state of a resource — toggle it on/off without deleting it - State *SkillsetFetchResponseState `json:"state,omitempty"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` - // The skillset visibility - Visibility *SkillsetFetchResponseVisibility `json:"visibility,omitempty"` +type ContactSecretListParams struct { + // The ID of the contact to list secrets for + ContactID string `json:"contactId"` + // The cursor to use for pagination + Cursor *string `json:"cursor,omitempty"` + // The order of the paginated items + Order *ContactSecretListParamsOrder `json:"order,omitempty"` + // The number of items to retrieve + Take *int64 `json:"take,omitempty"` } -type SkillsetUpdateParams struct { - SkillsetID string `json:"skillsetId"` +type ContactSecretListResponse struct { + // Cursor for fetching the next page + Cursor string `json:"cursor"` + Items []ContactSecretListResponseItem `json:"items"` } -// Blueprint properties -type SkillsetUpdateRequest struct { - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The associated description - Description *string `json:"description,omitempty"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The lifecycle state of a resource — toggle it on/off without deleting it - State *SkillsetUpdateRequestState `json:"state,omitempty"` - // The skillset visibility - Visibility *SkillsetUpdateRequestVisibility `json:"visibility,omitempty"` +// Instance list properties +type ContactSecretListResponseItem struct { + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description *string `json:"description,omitempty"` + // The instance ID + ID string `json:"id"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The type of the secret + Type string `json:"type"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` } -type SkillsetUpdateResponse struct { - // The ID of the updated skillset - ID string `json:"id"` +type ContactSecretListStreamItem struct { + // Instance list properties + Data ContactSecretListStreamItemData `json:"data"` + // The type of event + Type ContactSecretListStreamItemType `json:"type"` } -// Blueprint properties -type SkillsetCreateRequest struct { - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The associated description - Description *string `json:"description,omitempty"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The lifecycle state of a resource — toggle it on/off without deleting it - State *SkillsetCreateRequestState `json:"state,omitempty"` - // The skillset visibility - Visibility *SkillsetCreateRequestVisibility `json:"visibility,omitempty"` +// Instance list properties +type ContactSecretListStreamItemData struct { + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description *string `json:"description,omitempty"` + // The instance ID + ID string `json:"id"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The type of the secret + Type string `json:"type"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` } -type SkillsetCreateResponse struct { - // The ID of the created skillset - ID string `json:"id"` +type ContactSecretVerifyParams struct { + // The ID of the contact the secret belongs to + ContactID string `json:"contactId"` + // The ID of the secret to be verified + SecretID string `json:"secretId"` } -type SkillsetListParams struct { - // The cursor to use for pagination - Cursor *string `json:"cursor,omitempty"` - // Key-value pairs to filter the partner users by metadata - Meta map[string]string `json:"meta,omitempty"` - // The order of the paginated items - Order *SkillsetListParamsOrder `json:"order,omitempty"` - // The number of items to retrieve - Take *int64 `json:"take,omitempty"` +type ContactSecretVerifyResponse struct { + Action *ContactSecretVerifyResponseAction `json:"action,omitempty"` + // The ID of the verified secret + ID string `json:"id"` + // The status of the secret + Status ContactSecretVerifyResponseStatus `json:"status"` } -type SkillsetListResponse struct { - // Cursor for fetching the next page - Cursor string `json:"cursor"` - Items []SkillsetListResponseItem `json:"items"` +// The action to take next +type ContactSecretVerifyResponseAction struct { + // The type of action to take + Type Type24 `json:"type"` + // The URL to authenticate the secret + URL string `json:"url"` } -// Blueprint properties -type SkillsetListResponseItem struct { - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description *string `json:"description,omitempty"` - // The instance ID - ID string `json:"id"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The lifecycle state of a resource — toggle it on/off without deleting it - State *TentacledState `json:"state,omitempty"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` - // The skillset visibility - Visibility *BraggadociousVisibility `json:"visibility,omitempty"` +type ContactSecretRevokeParams struct { + // The ID of the contact the secret belongs to + ContactID string `json:"contactId"` + // The ID of the secret to be revoked + SecretID string `json:"secretId"` } -type SkillsetListStreamItem struct { - // Blueprint properties - Data SkillsetListStreamItemData `json:"data"` - // The type of event - Type SkillsetListStreamItemType `json:"type"` +type ContactSecretRevokeResponse struct { + // The ID of the revoked secret + ID string `json:"id"` } -// Blueprint properties -type SkillsetListStreamItemData struct { - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description *string `json:"description,omitempty"` - // The instance ID - ID string `json:"id"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The lifecycle state of a resource — toggle it on/off without deleting it - State *StickyState `json:"state,omitempty"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` - // The skillset visibility - Visibility *Visibility1 `json:"visibility,omitempty"` +type ContactSecretProxyParams struct { + // The ID of the contact the secret belongs to + ContactID string `json:"contactId"` + // The ID of the secret to inject + SecretID string `json:"secretId"` } -type SpaceDeleteParams struct { - // The ID of the space to delete - SpaceID string `json:"spaceId"` +type ContactSecretProxyRequest struct { + // The request body + Body *string `json:"body,omitempty"` + // The request headers (may reference the secret) + Headers map[string]string `json:"headers,omitempty"` + // The HTTP method + Method *string `json:"method,omitempty"` + // The destination URL + URL string `json:"url"` } -type SpaceDeleteResponse struct { - // The ID of the deleted space - ID string `json:"id"` +type ContactSecretMintParams struct { + // The ID of the contact the secret belongs to + ContactID string `json:"contactId"` + // The ID of the secret to mint + SecretID string `json:"secretId"` } -type SpaceFetchParams struct { - // The ID of the space to retrieve - SpaceID string `json:"spaceId"` +type ContactSecretMintResponse struct { + // Token expiry as a unix timestamp in ms, or null + ExpiresAt *float64 `json:"expiresAt,omitempty"` + // The usable token to send to the provider + Token string `json:"token"` } -// Blueprint properties -type SpaceFetchResponse struct { - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // The ID of the blueprint - BlueprintID *string `json:"blueprintId,omitempty"` - // The contact associated with the space - ContactID *string `json:"contactId,omitempty"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description *string `json:"description,omitempty"` - // The instance ID - ID string `json:"id"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` +type ContactSecretAuthenticateParams struct { + // The ID of the contact the secret belongs to + ContactID string `json:"contactId"` + // The ID of the secret to authenticate + SecretID string `json:"secretId"` } -type SpaceSiteDeleteParams struct { - // The ID of the site to delete - SiteID string `json:"siteId"` - SpaceID string `json:"spaceId"` +type ContactSecretAuthenticateResponse struct { + // The ID of the secret to authenticate + ID string `json:"id"` + // The URL to authenticate the secret + URL string `json:"url"` } -type SpaceSiteDeleteResponse struct { - // The ID of the deleted site - ID string `json:"id"` +type ContactRatingListParams struct { + // The ID of the contact to list ratings for + ContactID string `json:"contactId"` + // The cursor to use for pagination + Cursor *string `json:"cursor,omitempty"` + // The order of the paginated items + Order *ContactRatingListParamsOrder `json:"order,omitempty"` + // The number of items to retrieve + Take *int64 `json:"take,omitempty"` } -type SpaceSiteFetchParams struct { - // The ID of the site to retrieve - SiteID string `json:"siteId"` - SpaceID string `json:"spaceId"` +type ContactRatingListResponse struct { + // Cursor for fetching the next page + Cursor string `json:"cursor"` + Items []ContactRatingListResponseItem `json:"items"` } // Instance list properties -type SpaceSiteFetchResponse struct { - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // The timestamp (ms) when the instance was created - CreatedAt float64 `json:"createdAt"` - // The associated description - Description *string `json:"description,omitempty"` - // The host the site is served at - Domain *string `json:"domain,omitempty"` - // The instance ID - ID string `json:"id"` - // Directory index filename - Index *string `json:"index,omitempty"` - // Meta data information - Meta map[string]interface{} `json:"meta,omitempty"` - // The associated name - Name *string `json:"name,omitempty"` - // Not found filename - NotFound *string `json:"notFound,omitempty"` - // The folder prefix inside the space - Prefix *string `json:"prefix,omitempty"` - // The space the site belongs to - SpaceID *string `json:"spaceId,omitempty"` - // The timestamp (ms) when the instance was updated - UpdatedAt float64 `json:"updatedAt"` +type ContactRatingListResponseItem struct { + // The bot id assigned to this rating + BotID *string `json:"botId,omitempty"` + // The contact id assigned to this rating + ContactID *string `json:"contactId,omitempty"` + // The conversation id assigned to this rating + ConversationID *string `json:"conversationId,omitempty"` + // The timestamp (ms) when the instance was created + CreatedAt float64 `json:"createdAt"` + // The associated description + Description *string `json:"description,omitempty"` + // The instance ID + ID string `json:"id"` + // The message id assigned to this rating + MessageID *string `json:"messageId,omitempty"` + // Meta data information + Meta map[string]interface{} `json:"meta,omitempty"` + // The associated name + Name *string `json:"name,omitempty"` + // The reason for the rating + Reason *string `json:"reason,omitempty"` + // The timestamp (ms) when the instance was updated + UpdatedAt float64 `json:"updatedAt"` + // The rating value + Value *float64 `json:"value,omitempty"` } -type SpaceSiteUpdateParams struct { - SiteID string `json:"siteId"` - SpaceID string `json:"spaceId"` +type ContactRatingListStreamItem struct { + // Instance list properties + Data ContactRatingListStreamItemData `json:"data"` + // The type of event + Type ContactRatingListStreamItemType `json:"type"` } -// Instance crud properties -type SpaceSiteUpdateRequest struct { - // The unique alias for the instance - Alias *string `json:"alias,omitempty"` - // The associated description - Description *string `json:"description,omitempty"` - // The host the site is served at (a