From 83f7d48d9e69dc5731b2ff66d90c6ec02b55efbc Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Fri, 29 May 2026 18:31:59 +0000 Subject: [PATCH] =?UTF-8?q?##=20Python=20SDK=20Changes:=20*=20`outpost.des?= =?UTF-8?q?tinations.update()`:=20=20`request.body`=20**Changed**=20(Break?= =?UTF-8?q?ing=20=E2=9A=A0=EF=B8=8F)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .speakeasy/logs/changes/changes.html | 64 +-- .speakeasy/logs/changes/changes.md | 59 +-- .speakeasy/logs/changes/new.openapi.yaml | 364 ++++++++++--- .speakeasy/logs/changes/old.openapi.yaml | 266 ++++++++++ .speakeasy/workflow.lock | 15 +- sdks/outpost-python/.speakeasy/gen.lock | 480 ++++++++++++------ sdks/outpost-python/.speakeasy/gen.yaml | 2 +- sdks/outpost-python/README-PYPI.md | 27 - sdks/outpost-python/README.md | 27 - sdks/outpost-python/RELEASES.md | 12 +- .../docs/models/awskinesisconfigupdate.md | 13 + .../models/awskinesiscredentialsupdate.md | 12 + .../docs/models/awss3configupdate.md | 13 + .../docs/models/awss3credentialsupdate.md | 12 + .../docs/models/awssqsconfigupdate.md | 11 + .../docs/models/awssqscredentialsupdate.md | 12 + .../models/azureservicebusconfigupdate.md | 10 + .../azureservicebuscredentialsupdate.md | 10 + .../docs/models/destinationawskinesis.md | 2 +- .../docs/models/destinationawss3.md | 4 +- .../docs/models/destinationawssqs.md | 2 +- .../docs/models/destinationazureservicebus.md | 2 +- .../models/destinationcreateawskinesis.md | 2 +- .../docs/models/destinationcreateawss3.md | 2 +- .../docs/models/destinationcreateawssqs.md | 2 +- .../destinationcreateazureservicebus.md | 2 +- .../docs/models/destinationcreategcppubsub.md | 2 +- .../docs/models/destinationcreatehookdeck.md | 2 +- .../docs/models/destinationcreatekafka.md | 2 +- .../docs/models/destinationcreaterabbitmq.md | 2 +- .../docs/models/destinationcreatewebhook.md | 2 +- .../docs/models/destinationgcppubsub.md | 2 +- .../docs/models/destinationhookdeck.md | 2 +- .../docs/models/destinationkafka.md | 4 +- .../docs/models/destinationrabbitmq.md | 4 +- .../docs/models/destinationupdate.md | 24 +- .../models/destinationupdateawskinesis.md | 7 +- .../models/destinationupdateawskinesistype.md | 18 + .../docs/models/destinationupdateawss3.md | 7 +- .../docs/models/destinationupdateawss3type.md | 18 + .../docs/models/destinationupdateawssqs.md | 7 +- .../models/destinationupdateawssqstype.md | 18 + .../destinationupdateazureservicebus.md | 7 +- .../destinationupdateazureservicebustype.md | 18 + .../docs/models/destinationupdategcppubsub.md | 7 +- .../models/destinationupdategcppubsubtype.md | 18 + .../docs/models/destinationupdatehookdeck.md | 6 +- .../models/destinationupdatehookdecktype.md | 18 + .../docs/models/destinationupdatekafka.md | 7 +- .../docs/models/destinationupdatekafkatype.md | 18 + .../docs/models/destinationupdaterabbitmq.md | 7 +- .../models/destinationupdaterabbitmqtype.md | 18 + .../docs/models/destinationupdatewebhook.md | 7 +- .../models/destinationupdatewebhooktype.md | 18 + .../docs/models/destinationwebhook.md | 2 +- sdks/outpost-python/docs/models/eventunion.md | 8 +- .../docs/models/gcppubsubconfigupdate.md | 12 + .../docs/models/gcppubsubcredentialsupdate.md | 10 + .../docs/models/hookdeckcredentialsupdate.md | 10 + .../outpost-python/docs/models/kafkaconfig.md | 2 +- ...chanism.md => kafkaconfigsaslmechanism.md} | 6 +- .../docs/models/kafkaconfigupdate.md | 14 + .../models/kafkaconfigupdatesaslmechanism.md | 20 + .../docs/models/kafkaconfigupdatetls.md | 19 + .../docs/models/kafkacredentialsupdate.md | 11 + .../docs/models/listattemptsresponse.md | 8 - .../docs/models/listeventsresponse.md | 8 - .../listtenantdestinationattemptsresponse.md | 8 - .../docs/models/listtenantsresponse.md | 8 - .../docs/models/rabbitmqconfigupdate.md | 12 + .../docs/models/rabbitmqconfigupdatetls.md | 19 + .../docs/models/rabbitmqcredentialsupdate.md | 11 + .../docs/models/seekpagination.md | 2 +- .../docs/models/webhookconfigupdate.md | 11 + .../docs/models/webhookcredentialsupdate.md | 2 + .../docs/sdks/attempts/README.md | 14 +- .../docs/sdks/destinations/README.md | 28 +- .../outpost-python/docs/sdks/events/README.md | 8 +- .../docs/sdks/tenants/README.md | 8 +- sdks/outpost-python/poetry.lock | 17 +- sdks/outpost-python/pyproject.toml | 3 +- .../src/outpost_sdk/_version.py | 6 +- .../src/outpost_sdk/attempts.py | 95 +--- .../src/outpost_sdk/destinations.py | 93 +--- sdks/outpost-python/src/outpost_sdk/events.py | 89 +--- .../src/outpost_sdk/models/__init__.py | 185 ++++++- .../src/outpost_sdk/models/attempt.py | 28 +- .../models/awskinesisconfigupdate.py | 54 ++ .../models/awskinesiscredentialsupdate.py | 47 ++ .../outpost_sdk/models/awss3configupdate.py | 52 ++ .../models/awss3credentialsupdate.py | 47 ++ .../outpost_sdk/models/awssqsconfigupdate.py | 42 ++ .../models/awssqscredentialsupdate.py | 47 ++ .../models/azureservicebusconfigupdate.py | 37 ++ .../azureservicebuscredentialsupdate.py | 37 ++ .../outpost_sdk/models/destinationupdate.py | 30 +- .../models/destinationupdateawskinesis.py | 34 +- .../models/destinationupdateawss3.py | 31 +- .../models/destinationupdateawssqs.py | 31 +- .../destinationupdateazureservicebus.py | 35 +- .../models/destinationupdategcppubsub.py | 31 +- .../models/destinationupdatehookdeck.py | 27 +- .../models/destinationupdatekafka.py | 31 +- .../models/destinationupdaterabbitmq.py | 31 +- .../models/destinationupdatewebhook.py | 22 +- .../models/gcppubsubconfigupdate.py | 47 ++ .../models/gcppubsubcredentialsupdate.py | 37 ++ .../models/hookdeckcredentialsupdate.py | 37 ++ .../src/outpost_sdk/models/kafkaconfig.py | 6 +- .../outpost_sdk/models/kafkaconfigupdate.py | 75 +++ .../models/kafkacredentialsupdate.py | 42 ++ .../src/outpost_sdk/models/listattemptsop.py | 16 +- .../src/outpost_sdk/models/listeventsop.py | 13 +- .../models/listtenantdestinationattemptsop.py | 16 +- .../src/outpost_sdk/models/listtenantsop.py | 13 +- .../models/rabbitmqconfigupdate.py | 55 ++ .../models/rabbitmqcredentialsupdate.py | 42 ++ .../outpost_sdk/models/webhookconfigupdate.py | 42 ++ .../models/webhookcredentialsupdate.py | 4 + sdks/outpost-python/src/outpost_sdk/sdk.py | 4 +- .../outpost-python/src/outpost_sdk/tenants.py | 79 +-- .../src/outpost_sdk/types/__init__.py | 3 + .../src/outpost_sdk/types/base64fileinput.py | 39 ++ 123 files changed, 2672 insertions(+), 1038 deletions(-) create mode 100644 sdks/outpost-python/docs/models/awskinesisconfigupdate.md create mode 100644 sdks/outpost-python/docs/models/awskinesiscredentialsupdate.md create mode 100644 sdks/outpost-python/docs/models/awss3configupdate.md create mode 100644 sdks/outpost-python/docs/models/awss3credentialsupdate.md create mode 100644 sdks/outpost-python/docs/models/awssqsconfigupdate.md create mode 100644 sdks/outpost-python/docs/models/awssqscredentialsupdate.md create mode 100644 sdks/outpost-python/docs/models/azureservicebusconfigupdate.md create mode 100644 sdks/outpost-python/docs/models/azureservicebuscredentialsupdate.md create mode 100644 sdks/outpost-python/docs/models/destinationupdateawskinesistype.md create mode 100644 sdks/outpost-python/docs/models/destinationupdateawss3type.md create mode 100644 sdks/outpost-python/docs/models/destinationupdateawssqstype.md create mode 100644 sdks/outpost-python/docs/models/destinationupdateazureservicebustype.md create mode 100644 sdks/outpost-python/docs/models/destinationupdategcppubsubtype.md create mode 100644 sdks/outpost-python/docs/models/destinationupdatehookdecktype.md create mode 100644 sdks/outpost-python/docs/models/destinationupdatekafkatype.md create mode 100644 sdks/outpost-python/docs/models/destinationupdaterabbitmqtype.md create mode 100644 sdks/outpost-python/docs/models/destinationupdatewebhooktype.md create mode 100644 sdks/outpost-python/docs/models/gcppubsubconfigupdate.md create mode 100644 sdks/outpost-python/docs/models/gcppubsubcredentialsupdate.md create mode 100644 sdks/outpost-python/docs/models/hookdeckcredentialsupdate.md rename sdks/outpost-python/docs/models/{saslmechanism.md => kafkaconfigsaslmechanism.md} (68%) create mode 100644 sdks/outpost-python/docs/models/kafkaconfigupdate.md create mode 100644 sdks/outpost-python/docs/models/kafkaconfigupdatesaslmechanism.md create mode 100644 sdks/outpost-python/docs/models/kafkaconfigupdatetls.md create mode 100644 sdks/outpost-python/docs/models/kafkacredentialsupdate.md delete mode 100644 sdks/outpost-python/docs/models/listattemptsresponse.md delete mode 100644 sdks/outpost-python/docs/models/listeventsresponse.md delete mode 100644 sdks/outpost-python/docs/models/listtenantdestinationattemptsresponse.md delete mode 100644 sdks/outpost-python/docs/models/listtenantsresponse.md create mode 100644 sdks/outpost-python/docs/models/rabbitmqconfigupdate.md create mode 100644 sdks/outpost-python/docs/models/rabbitmqconfigupdatetls.md create mode 100644 sdks/outpost-python/docs/models/rabbitmqcredentialsupdate.md create mode 100644 sdks/outpost-python/docs/models/webhookconfigupdate.md create mode 100644 sdks/outpost-python/src/outpost_sdk/models/awskinesisconfigupdate.py create mode 100644 sdks/outpost-python/src/outpost_sdk/models/awskinesiscredentialsupdate.py create mode 100644 sdks/outpost-python/src/outpost_sdk/models/awss3configupdate.py create mode 100644 sdks/outpost-python/src/outpost_sdk/models/awss3credentialsupdate.py create mode 100644 sdks/outpost-python/src/outpost_sdk/models/awssqsconfigupdate.py create mode 100644 sdks/outpost-python/src/outpost_sdk/models/awssqscredentialsupdate.py create mode 100644 sdks/outpost-python/src/outpost_sdk/models/azureservicebusconfigupdate.py create mode 100644 sdks/outpost-python/src/outpost_sdk/models/azureservicebuscredentialsupdate.py create mode 100644 sdks/outpost-python/src/outpost_sdk/models/gcppubsubconfigupdate.py create mode 100644 sdks/outpost-python/src/outpost_sdk/models/gcppubsubcredentialsupdate.py create mode 100644 sdks/outpost-python/src/outpost_sdk/models/hookdeckcredentialsupdate.py create mode 100644 sdks/outpost-python/src/outpost_sdk/models/kafkaconfigupdate.py create mode 100644 sdks/outpost-python/src/outpost_sdk/models/kafkacredentialsupdate.py create mode 100644 sdks/outpost-python/src/outpost_sdk/models/rabbitmqconfigupdate.py create mode 100644 sdks/outpost-python/src/outpost_sdk/models/rabbitmqcredentialsupdate.py create mode 100644 sdks/outpost-python/src/outpost_sdk/models/webhookconfigupdate.py create mode 100644 sdks/outpost-python/src/outpost_sdk/types/base64fileinput.py diff --git a/.speakeasy/logs/changes/changes.html b/.speakeasy/logs/changes/changes.html index 2c68579c3..f17990b2a 100644 --- a/.speakeasy/logs/changes/changes.html +++ b/.speakeasy/logs/changes/changes.html @@ -4,7 +4,7 @@ - SDK Changelog - typescript + SDK Changelog - python -

Typescript SDK Changes:

+

Python SDK Changes:

diff --git a/.speakeasy/logs/changes/changes.md b/.speakeasy/logs/changes/changes.md index 6e1b1b893..a9e7348f5 100644 --- a/.speakeasy/logs/changes/changes.md +++ b/.speakeasy/logs/changes/changes.md @@ -1,39 +1,20 @@ -## Typescript SDK Changes: -* `outpost.destinations.create()`: `request.body` **Changed** - - `union(aws_kinesis).createdAt` **Added** - - `union(aws_kinesis).disabledAt` **Added** - - `union(aws_kinesis).updatedAt` **Added** - - `union(aws_s3).createdAt` **Added** - - `union(aws_s3).disabledAt` **Added** - - `union(aws_s3).updatedAt` **Added** - - `union(aws_sqs).createdAt` **Added** - - `union(aws_sqs).disabledAt` **Added** - - `union(aws_sqs).updatedAt` **Added** - - `union(azure_servicebus).createdAt` **Added** - - `union(azure_servicebus).disabledAt` **Added** - - `union(azure_servicebus).updatedAt` **Added** - - `union(gcp_pubsub).createdAt` **Added** - - `union(gcp_pubsub).disabledAt` **Added** - - `union(gcp_pubsub).updatedAt` **Added** - - `union(hookdeck).createdAt` **Added** - - `union(hookdeck).disabledAt` **Added** - - `union(hookdeck).updatedAt` **Added** - - `union(kafka).createdAt` **Added** - - `union(kafka).disabledAt` **Added** - - `union(kafka).updatedAt` **Added** - - `union(rabbitmq).createdAt` **Added** - - `union(rabbitmq).disabledAt` **Added** - - `union(rabbitmq).updatedAt` **Added** - - `union(webhook).createdAt` **Added** - - `union(webhook).disabledAt` **Added** - - `union(webhook).updatedAt` **Added** -* `outpost.destinations.update()`: `request.body` **Changed** - - `union(DestinationUpdateAWSKinesis).disabledAt` **Added** - - `union(DestinationUpdateAWSS3).disabledAt` **Added** - - `union(DestinationUpdateAWSSQS).disabledAt` **Added** - - `union(DestinationUpdateAzureServiceBus).disabledAt` **Added** - - `union(DestinationUpdateGCPPubSub).disabledAt` **Added** - - `union(DestinationUpdateHookdeck).disabledAt` **Added** - - `union(DestinationUpdateKafka).disabledAt` **Added** - - `union(DestinationUpdateRabbitMQ).disabledAt` **Added** - - `union(DestinationUpdateWebhook).disabledAt` **Added** +## Python SDK Changes: +* `outpost.destinations.update()`: `request.body` **Changed** (Breaking ⚠️) + - `union(DestinationUpdateAWSKinesis)` **Removed** (Breaking ⚠️) + - `union(DestinationUpdateAWSS3)` **Removed** (Breaking ⚠️) + - `union(DestinationUpdateAWSSQS)` **Removed** (Breaking ⚠️) + - `union(DestinationUpdateAzureServiceBus)` **Removed** (Breaking ⚠️) + - `union(DestinationUpdateGCPPubSub)` **Removed** (Breaking ⚠️) + - `union(DestinationUpdateHookdeck)` **Removed** (Breaking ⚠️) + - `union(DestinationUpdateKafka)` **Removed** (Breaking ⚠️) + - `union(DestinationUpdateRabbitMQ)` **Removed** (Breaking ⚠️) + - `union(DestinationUpdateWebhook)` **Removed** (Breaking ⚠️) + - `union(aws_kinesis)` **Added** + - `union(aws_s3)` **Added** + - `union(aws_sqs)` **Added** + - `union(azure_servicebus)` **Added** + - `union(gcp_pubsub)` **Added** + - `union(hookdeck)` **Added** + - `union(kafka)` **Added** + - `union(rabbitmq)` **Added** + - `union(webhook)` **Added** diff --git a/.speakeasy/logs/changes/new.openapi.yaml b/.speakeasy/logs/changes/new.openapi.yaml index 56656577e..16b54abec 100644 --- a/.speakeasy/logs/changes/new.openapi.yaml +++ b/.speakeasy/logs/changes/new.openapi.yaml @@ -226,11 +226,13 @@ components: nullable: true description: Cursor for the next page of results. Null if no more results. example: "MTcwNDA2NzIwMA==" + x-speakeasy-name-override: "next_cursor" prev: type: string nullable: true description: Cursor for the previous page of results. Null if on first page. example: null + x-speakeasy-name-override: "prev_cursor" APIErrorResponse: type: object description: Standard error response format. @@ -1755,8 +1757,25 @@ components: gcp_pubsub: "#/components/schemas/DestinationCreateGCPPubSub" kafka: "#/components/schemas/DestinationCreateKafka" # Type-Specific Destination Update Schemas (for Request Bodies) + # Type-Specific Partial Schemas for PATCH Request Bodies + # All fields are optional — RFC 7396 JSON merge-patch semantics apply: + # omit a field to leave it unchanged; include a field to update it in place. + WebhookConfigUpdate: + type: object + description: Partial Webhook config for PATCH updates (RFC 7396 merge-patch). + properties: + url: + type: string + format: url + description: The URL to send the webhook events to. + example: "https://example.com/webhooks/user" + custom_headers: + type: string + description: JSON string of custom HTTP headers to include with every webhook request. + example: '{"x-api-key":"secret123","x-tenant-id":"customer-456"}' WebhookCredentialsUpdate: type: object + description: Partial Webhook credentials for PATCH updates (RFC 7396 merge-patch). properties: secret: type: string @@ -1771,17 +1790,206 @@ components: rotate_secret: type: boolean description: Set to true to rotate the secret. The current secret becomes the previous_secret, and a new secret is generated. `previous_secret_invalid_at` defaults to 24h if not provided. + AWSSQSConfigUpdate: + type: object + description: Partial AWS SQS config for PATCH updates (RFC 7396 merge-patch). + properties: + endpoint: + type: string + format: url + description: Optional. Custom AWS endpoint URL (e.g., for LocalStack or specific regions). + example: "https://sqs.us-east-1.amazonaws.com" + queue_url: + type: string + format: url + description: The URL of the SQS queue. + example: "https://sqs.us-east-1.amazonaws.com/123456789012/my-queue" + AWSSQSCredentialsUpdate: + type: object + description: Partial AWS SQS credentials for PATCH updates (RFC 7396 merge-patch). + properties: + key: + type: string + description: AWS Access Key ID. + secret: + type: string + description: AWS Secret Access Key. + session: + type: string + description: Optional AWS Session Token (for temporary credentials). + RabbitMQConfigUpdate: + type: object + description: Partial RabbitMQ config for PATCH updates (RFC 7396 merge-patch). + properties: + server_url: + type: string + description: RabbitMQ server address (host:port). + exchange: + type: string + description: The exchange to publish messages to. + tls: + type: string + enum: ["true", "false"] + description: Whether to use TLS connection (amqps). + RabbitMQCredentialsUpdate: + type: object + description: Partial RabbitMQ credentials for PATCH updates (RFC 7396 merge-patch). + properties: + username: + type: string + description: RabbitMQ username. + password: + type: string + description: RabbitMQ password. + HookdeckCredentialsUpdate: + type: object + description: Partial Hookdeck credentials for PATCH updates (RFC 7396 merge-patch). + properties: + token: + type: string + description: Hookdeck authentication token. + AWSKinesisConfigUpdate: + type: object + description: Partial AWS Kinesis config for PATCH updates (RFC 7396 merge-patch). + properties: + stream_name: + type: string + description: The name of the AWS Kinesis stream. + region: + type: string + description: The AWS region where the Kinesis stream is located. + endpoint: + type: string + format: url + description: Optional. Custom AWS endpoint URL (e.g., for LocalStack or VPC endpoints). + partition_key_template: + type: string + description: Optional. JMESPath template to extract the partition key from the event payload. + AWSKinesisCredentialsUpdate: + type: object + description: Partial AWS Kinesis credentials for PATCH updates (RFC 7396 merge-patch). + properties: + key: + type: string + description: AWS Access Key ID. + secret: + type: string + description: AWS Secret Access Key. + session: + type: string + description: Optional AWS Session Token (for temporary credentials). + AzureServiceBusConfigUpdate: + type: object + description: Partial Azure Service Bus config for PATCH updates (RFC 7396 merge-patch). + properties: + name: + type: string + description: The name of the Azure Service Bus queue or topic to publish messages to. + AzureServiceBusCredentialsUpdate: + type: object + description: Partial Azure Service Bus credentials for PATCH updates (RFC 7396 merge-patch). + properties: + connection_string: + type: string + description: The connection string for the Azure Service Bus namespace. + AWSS3ConfigUpdate: + type: object + description: Partial AWS S3 config for PATCH updates (RFC 7396 merge-patch). + properties: + bucket: + type: string + description: The name of your AWS S3 bucket. + region: + type: string + pattern: "^[a-z]{2}-[a-z]+-[0-9]+$" + description: The AWS region where your bucket is located. + key_template: + type: string + description: JMESPath expression for generating S3 object keys. + storage_class: + type: string + description: The storage class for the S3 objects. + AWSS3CredentialsUpdate: + type: object + description: Partial AWS S3 credentials for PATCH updates (RFC 7396 merge-patch). + properties: + key: + type: string + description: AWS Access Key ID. + secret: + type: string + description: AWS Secret Access Key. + session: + type: string + description: Optional AWS Session Token (for temporary credentials). + GCPPubSubConfigUpdate: + type: object + description: Partial GCP Pub/Sub config for PATCH updates (RFC 7396 merge-patch). + properties: + project_id: + type: string + description: The GCP project ID. + topic: + type: string + description: The Pub/Sub topic name. + endpoint: + type: string + description: Optional. Custom endpoint URL (e.g., localhost:8085 for emulator). + GCPPubSubCredentialsUpdate: + type: object + description: Partial GCP Pub/Sub credentials for PATCH updates (RFC 7396 merge-patch). + properties: + service_account_json: + type: string + description: Service account key JSON. The entire JSON key file content as a string. + KafkaConfigUpdate: + type: object + description: Partial Kafka config for PATCH updates (RFC 7396 merge-patch). + properties: + brokers: + type: string + description: Comma-separated list of Kafka broker addresses. + topic: + type: string + description: The Kafka topic to publish messages to. + sasl_mechanism: + type: string + enum: [plain, scram-sha-256, scram-sha-512] + description: SASL authentication mechanism. + tls: + type: string + enum: ["true", "false"] + description: Whether to enable TLS for the connection. + partition_key_template: + type: string + description: Optional JMESPath template to extract the partition key from the event payload. + KafkaCredentialsUpdate: + type: object + description: Partial Kafka credentials for PATCH updates (RFC 7396 merge-patch). + properties: + username: + type: string + description: SASL username for authentication. + password: + type: string + description: SASL password for authentication. DestinationUpdateWebhook: type: object x-docs-type: "Webhook" # Properties duplicated from DestinationUpdateBase + required: [type] properties: + type: + type: string + enum: [webhook] + description: Destination type discriminator. Must equal the existing destination's type — type itself cannot be changed via PATCH. + example: "webhook" topics: $ref: "#/components/schemas/Topics" filter: $ref: "#/components/schemas/Filter" config: - $ref: "#/components/schemas/WebhookConfig" # URL is required here, but PATCH means it's optional in the request + $ref: "#/components/schemas/WebhookConfigUpdate" credentials: $ref: "#/components/schemas/WebhookCredentialsUpdate" delivery_metadata: @@ -1815,15 +2023,21 @@ components: type: object x-docs-type: "AWS SQS" # Properties duplicated from DestinationUpdateBase + required: [type] properties: + type: + type: string + enum: [aws_sqs] + description: Destination type discriminator. Must equal the existing destination's type — type itself cannot be changed via PATCH. + example: "aws_sqs" topics: $ref: "#/components/schemas/Topics" filter: $ref: "#/components/schemas/Filter" config: - $ref: "#/components/schemas/AWSSQSConfig" # queue_url is required here, but PATCH means it's optional + $ref: "#/components/schemas/AWSSQSConfigUpdate" credentials: - $ref: "#/components/schemas/AWSSQSCredentials" # key/secret required here, but PATCH means optional + $ref: "#/components/schemas/AWSSQSCredentialsUpdate" delivery_metadata: type: object additionalProperties: @@ -1855,15 +2069,21 @@ components: type: object x-docs-type: "RabbitMQ" # Properties duplicated from DestinationUpdateBase + required: [type] properties: + type: + type: string + enum: [rabbitmq] + description: Destination type discriminator. Must equal the existing destination's type — type itself cannot be changed via PATCH. + example: "rabbitmq" topics: $ref: "#/components/schemas/Topics" filter: $ref: "#/components/schemas/Filter" config: - $ref: "#/components/schemas/RabbitMQConfig" # server_url/exchange required here, but PATCH means optional + $ref: "#/components/schemas/RabbitMQConfigUpdate" credentials: - $ref: "#/components/schemas/RabbitMQCredentials" # username/password required here, but PATCH means optional + $ref: "#/components/schemas/RabbitMQCredentialsUpdate" delivery_metadata: type: object additionalProperties: @@ -1895,14 +2115,20 @@ components: type: object x-docs-type: "Hookdeck Event Gateway" # Properties duplicated from DestinationUpdateBase + # Hookdeck has no updatable `config`. + required: [type] properties: + type: + type: string + enum: [hookdeck] + description: Destination type discriminator. Must equal the existing destination's type — type itself cannot be changed via PATCH. + example: "hookdeck" topics: $ref: "#/components/schemas/Topics" filter: $ref: "#/components/schemas/Filter" - config: {} # Empty config, cannot be updated credentials: - $ref: "#/components/schemas/HookdeckCredentials" # token required here, but PATCH means optional + $ref: "#/components/schemas/HookdeckCredentialsUpdate" delivery_metadata: type: object additionalProperties: @@ -1934,15 +2160,21 @@ components: type: object x-docs-type: "AWS Kinesis" # Properties duplicated from DestinationUpdateBase + required: [type] properties: + type: + type: string + enum: [aws_kinesis] + description: Destination type discriminator. Must equal the existing destination's type — type itself cannot be changed via PATCH. + example: "aws_kinesis" topics: $ref: "#/components/schemas/Topics" filter: $ref: "#/components/schemas/Filter" config: - $ref: "#/components/schemas/AWSKinesisConfig" # stream_name/region required here, but PATCH means optional + $ref: "#/components/schemas/AWSKinesisConfigUpdate" credentials: - $ref: "#/components/schemas/AWSKinesisCredentials" # key/secret required here, but PATCH means optional + $ref: "#/components/schemas/AWSKinesisCredentialsUpdate" delivery_metadata: type: object additionalProperties: @@ -1974,15 +2206,21 @@ components: type: object x-docs-type: "Azure Service Bus" # Properties duplicated from DestinationUpdateBase + required: [type] properties: + type: + type: string + enum: [azure_servicebus] + description: Destination type discriminator. Must equal the existing destination's type — type itself cannot be changed via PATCH. + example: "azure_servicebus" topics: $ref: "#/components/schemas/Topics" filter: $ref: "#/components/schemas/Filter" config: - $ref: "#/components/schemas/AzureServiceBusConfig" # name required here, but PATCH means optional + $ref: "#/components/schemas/AzureServiceBusConfigUpdate" credentials: - $ref: "#/components/schemas/AzureServiceBusCredentials" # connection_string required here, but PATCH means optional + $ref: "#/components/schemas/AzureServiceBusCredentialsUpdate" delivery_metadata: type: object additionalProperties: @@ -2014,15 +2252,21 @@ components: type: object x-docs-type: "AWS S3" # Properties duplicated from DestinationUpdateBase + required: [type] properties: + type: + type: string + enum: [aws_s3] + description: Destination type discriminator. Must equal the existing destination's type — type itself cannot be changed via PATCH. + example: "aws_s3" topics: $ref: "#/components/schemas/Topics" filter: $ref: "#/components/schemas/Filter" config: - $ref: "#/components/schemas/AWSS3Config" # bucket/region required here, but PATCH means optional + $ref: "#/components/schemas/AWSS3ConfigUpdate" credentials: - $ref: "#/components/schemas/AWSS3Credentials" # key/secret required here, but PATCH means optional + $ref: "#/components/schemas/AWSS3CredentialsUpdate" delivery_metadata: type: object additionalProperties: @@ -2054,15 +2298,21 @@ components: type: object x-docs-type: "GCP PubSub" # Properties duplicated from DestinationUpdateBase + required: [type] properties: + type: + type: string + enum: [gcp_pubsub] + description: Destination type discriminator. Must equal the existing destination's type — type itself cannot be changed via PATCH. + example: "gcp_pubsub" topics: $ref: "#/components/schemas/Topics" filter: $ref: "#/components/schemas/Filter" config: - $ref: "#/components/schemas/GCPPubSubConfig" # project_id/topic required here, but PATCH means optional + $ref: "#/components/schemas/GCPPubSubConfigUpdate" credentials: - $ref: "#/components/schemas/GCPPubSubCredentials" # service_account_json required here, but PATCH means optional + $ref: "#/components/schemas/GCPPubSubCredentialsUpdate" delivery_metadata: type: object additionalProperties: @@ -2094,15 +2344,21 @@ components: type: object x-docs-type: "Apache Kafka" # Properties duplicated from DestinationUpdateBase + required: [type] properties: + type: + type: string + enum: [kafka] + description: Destination type discriminator. Must equal the existing destination's type — type itself cannot be changed via PATCH. + example: "kafka" topics: $ref: "#/components/schemas/Topics" filter: $ref: "#/components/schemas/Filter" config: - $ref: "#/components/schemas/KafkaConfig" # brokers/topic/sasl_mechanism required here, but PATCH means optional + $ref: "#/components/schemas/KafkaConfigUpdate" credentials: - $ref: "#/components/schemas/KafkaCredentials" # username/password required here, but PATCH means optional + $ref: "#/components/schemas/KafkaCredentialsUpdate" delivery_metadata: type: object additionalProperties: @@ -2142,6 +2398,18 @@ components: - $ref: "#/components/schemas/DestinationUpdateGCPPubSub" - $ref: "#/components/schemas/DestinationUpdateRabbitMQ" - $ref: "#/components/schemas/DestinationUpdateKafka" + discriminator: + propertyName: type + mapping: + webhook: "#/components/schemas/DestinationUpdateWebhook" + aws_sqs: "#/components/schemas/DestinationUpdateAWSSQS" + rabbitmq: "#/components/schemas/DestinationUpdateRabbitMQ" + hookdeck: "#/components/schemas/DestinationUpdateHookdeck" + aws_kinesis: "#/components/schemas/DestinationUpdateAWSKinesis" + azure_servicebus: "#/components/schemas/DestinationUpdateAzureServiceBus" + aws_s3: "#/components/schemas/DestinationUpdateAWSS3" + gcp_pubsub: "#/components/schemas/DestinationUpdateGCPPubSub" + kafka: "#/components/schemas/DestinationUpdateKafka" # Event Schemas PublishRequest: type: object @@ -2307,8 +2575,8 @@ components: event: nullable: true oneOf: - - $ref: "#/components/schemas/EventSummary" - $ref: "#/components/schemas/EventFull" + - $ref: "#/components/schemas/EventSummary" description: The associated event object. Only present when include=event or include=event.data. destination: nullable: true @@ -3041,18 +3309,21 @@ paths: enum: [asc, desc] default: desc description: Sort direction. + x-speakeasy-name-override: "direction" - name: next in: query required: false schema: type: string description: Cursor for the next page of results. Mutually exclusive with `prev`. + x-speakeasy-name-override: "next_cursor" - name: prev in: query required: false schema: type: string description: Cursor for the previous page of results. Mutually exclusive with `next`. + x-speakeasy-name-override: "prev_cursor" responses: "200": description: List of tenants. @@ -3098,18 +3369,6 @@ paths: x-speakeasy-max-method-params: 0 security: - BearerAuth: [] - x-speakeasy-pagination: - type: cursor - inputs: - - name: next - in: parameters - type: cursor - - name: limit - in: parameters - type: limit - outputs: - nextCursor: $.pagination.next - results: $.models /tenants/{tenant_id}: parameters: - name: tenant_id @@ -3296,12 +3555,14 @@ paths: schema: type: string description: Cursor for next page of results. + x-speakeasy-name-override: "next_cursor" - name: prev in: query required: false schema: type: string description: Cursor for previous page of results. + x-speakeasy-name-override: "prev_cursor" - name: order_by in: query required: false @@ -3318,6 +3579,7 @@ paths: enum: [asc, desc] default: desc description: Sort direction. + x-speakeasy-name-override: "direction" responses: "200": description: A paginated list of events. @@ -3356,18 +3618,6 @@ paths: x-speakeasy-name-override: list security: - BearerAuth: [] - x-speakeasy-pagination: - type: cursor - inputs: - - name: next - in: parameters - type: cursor - - name: limit - in: parameters - type: limit - outputs: - nextCursor: $.pagination.next - results: $.models /events/{event_id}: parameters: - name: event_id @@ -3510,12 +3760,14 @@ paths: schema: type: string description: Cursor for next page of results. + x-speakeasy-name-override: "next_cursor" - name: prev in: query required: false schema: type: string description: Cursor for previous page of results. + x-speakeasy-name-override: "prev_cursor" - name: include in: query required: false @@ -3547,6 +3799,7 @@ paths: enum: [asc, desc] default: desc description: Sort direction. + x-speakeasy-name-override: "direction" responses: "200": description: A paginated list of attempts. @@ -3608,18 +3861,6 @@ paths: x-speakeasy-name-override: list security: - BearerAuth: [] - x-speakeasy-pagination: - type: cursor - inputs: - - name: next - in: parameters - type: cursor - - name: limit - in: parameters - type: limit - outputs: - nextCursor: $.pagination.next - results: $.models /attempts/{attempt_id}: parameters: - name: attempt_id @@ -4212,12 +4453,14 @@ paths: schema: type: string description: Cursor for next page of results. + x-speakeasy-name-override: "next_cursor" - name: prev in: query required: false schema: type: string description: Cursor for previous page of results. + x-speakeasy-name-override: "prev_cursor" - name: include in: query required: false @@ -4249,6 +4492,7 @@ paths: enum: [asc, desc] default: desc description: Sort direction. + x-speakeasy-name-override: "direction" responses: "200": description: A paginated list of attempts for the destination. @@ -4287,18 +4531,6 @@ paths: "500": $ref: "#/components/responses/InternalServerError" x-speakeasy-name-override: listAttempts - x-speakeasy-pagination: - type: cursor - inputs: - - name: next - in: parameters - type: cursor - - name: limit - in: parameters - type: limit - outputs: - nextCursor: $.pagination.next - results: $.models /tenants/{tenant_id}/destinations/{destination_id}/attempts/{attempt_id}: parameters: - name: tenant_id diff --git a/.speakeasy/logs/changes/old.openapi.yaml b/.speakeasy/logs/changes/old.openapi.yaml index 630ae2a64..2c3c90e11 100644 --- a/.speakeasy/logs/changes/old.openapi.yaml +++ b/.speakeasy/logs/changes/old.openapi.yaml @@ -226,11 +226,13 @@ components: nullable: true description: Cursor for the next page of results. Null if no more results. example: "MTcwNDA2NzIwMA==" + x-speakeasy-name-override: "next_cursor" prev: type: string nullable: true description: Cursor for the previous page of results. Null if on first page. example: null + x-speakeasy-name-override: "prev_cursor" APIErrorResponse: type: object description: Standard error response format. @@ -1262,6 +1264,27 @@ components: nullable: true description: Arbitrary contextual information stored with the destination. example: {"internal-id": "123", "team": "platform"} + created_at: + type: string + format: date-time + nullable: true + description: >- + Optional override for the creation timestamp. Intended for importing destinations from another system. Must not be in the future. **Admin (API key) auth only — sending this with JWT auth returns 403.** Defaults to the current time when omitted. + example: "2024-02-15T10:00:00Z" + updated_at: + type: string + format: date-time + nullable: true + description: >- + Optional override for the last-updated timestamp. Intended for importing destinations. Must not be in the future. **Admin (API key) auth only — sending this with JWT auth returns 403.** Defaults to created_at when omitted. + example: "2024-02-15T10:00:00Z" + disabled_at: + type: string + format: date-time + nullable: true + description: >- + If set, the destination is created in a disabled state with this timestamp. Must not be in the future. Defaults to null (enabled). + example: null DestinationCreateAWSSQS: type: object x-docs-type: "AWS SQS" @@ -1297,6 +1320,27 @@ components: nullable: true description: Arbitrary contextual information stored with the destination. example: {"internal-id": "123", "team": "platform"} + created_at: + type: string + format: date-time + nullable: true + description: >- + Optional override for the creation timestamp. Intended for importing destinations from another system. Must not be in the future. **Admin (API key) auth only — sending this with JWT auth returns 403.** Defaults to the current time when omitted. + example: "2024-02-15T10:00:00Z" + updated_at: + type: string + format: date-time + nullable: true + description: >- + Optional override for the last-updated timestamp. Intended for importing destinations. Must not be in the future. **Admin (API key) auth only — sending this with JWT auth returns 403.** Defaults to created_at when omitted. + example: "2024-02-15T10:00:00Z" + disabled_at: + type: string + format: date-time + nullable: true + description: >- + If set, the destination is created in a disabled state with this timestamp. Must not be in the future. Defaults to null (enabled). + example: null DestinationCreateRabbitMQ: type: object x-docs-type: "RabbitMQ" @@ -1332,6 +1376,27 @@ components: nullable: true description: Arbitrary contextual information stored with the destination. example: {"internal-id": "123", "team": "platform"} + created_at: + type: string + format: date-time + nullable: true + description: >- + Optional override for the creation timestamp. Intended for importing destinations from another system. Must not be in the future. **Admin (API key) auth only — sending this with JWT auth returns 403.** Defaults to the current time when omitted. + example: "2024-02-15T10:00:00Z" + updated_at: + type: string + format: date-time + nullable: true + description: >- + Optional override for the last-updated timestamp. Intended for importing destinations. Must not be in the future. **Admin (API key) auth only — sending this with JWT auth returns 403.** Defaults to created_at when omitted. + example: "2024-02-15T10:00:00Z" + disabled_at: + type: string + format: date-time + nullable: true + description: >- + If set, the destination is created in a disabled state with this timestamp. Must not be in the future. Defaults to null (enabled). + example: null DestinationCreateHookdeck: type: object x-docs-type: "Hookdeck Event Gateway" @@ -1366,6 +1431,27 @@ components: nullable: true description: Arbitrary contextual information stored with the destination. example: {"internal-id": "123", "team": "platform"} + created_at: + type: string + format: date-time + nullable: true + description: >- + Optional override for the creation timestamp. Intended for importing destinations from another system. Must not be in the future. **Admin (API key) auth only — sending this with JWT auth returns 403.** Defaults to the current time when omitted. + example: "2024-02-15T10:00:00Z" + updated_at: + type: string + format: date-time + nullable: true + description: >- + Optional override for the last-updated timestamp. Intended for importing destinations. Must not be in the future. **Admin (API key) auth only — sending this with JWT auth returns 403.** Defaults to created_at when omitted. + example: "2024-02-15T10:00:00Z" + disabled_at: + type: string + format: date-time + nullable: true + description: >- + If set, the destination is created in a disabled state with this timestamp. Must not be in the future. Defaults to null (enabled). + example: null DestinationCreateAWSKinesis: type: object x-docs-type: "AWS Kinesis" @@ -1401,6 +1487,27 @@ components: nullable: true description: Arbitrary contextual information stored with the destination. example: {"internal-id": "123", "team": "platform"} + created_at: + type: string + format: date-time + nullable: true + description: >- + Optional override for the creation timestamp. Intended for importing destinations from another system. Must not be in the future. **Admin (API key) auth only — sending this with JWT auth returns 403.** Defaults to the current time when omitted. + example: "2024-02-15T10:00:00Z" + updated_at: + type: string + format: date-time + nullable: true + description: >- + Optional override for the last-updated timestamp. Intended for importing destinations. Must not be in the future. **Admin (API key) auth only — sending this with JWT auth returns 403.** Defaults to created_at when omitted. + example: "2024-02-15T10:00:00Z" + disabled_at: + type: string + format: date-time + nullable: true + description: >- + If set, the destination is created in a disabled state with this timestamp. Must not be in the future. Defaults to null (enabled). + example: null DestinationCreateAzureServiceBus: type: object x-docs-type: "Azure Service Bus" @@ -1436,6 +1543,27 @@ components: nullable: true description: Arbitrary contextual information stored with the destination. example: {"internal-id": "123", "team": "platform"} + created_at: + type: string + format: date-time + nullable: true + description: >- + Optional override for the creation timestamp. Intended for importing destinations from another system. Must not be in the future. **Admin (API key) auth only — sending this with JWT auth returns 403.** Defaults to the current time when omitted. + example: "2024-02-15T10:00:00Z" + updated_at: + type: string + format: date-time + nullable: true + description: >- + Optional override for the last-updated timestamp. Intended for importing destinations. Must not be in the future. **Admin (API key) auth only — sending this with JWT auth returns 403.** Defaults to created_at when omitted. + example: "2024-02-15T10:00:00Z" + disabled_at: + type: string + format: date-time + nullable: true + description: >- + If set, the destination is created in a disabled state with this timestamp. Must not be in the future. Defaults to null (enabled). + example: null DestinationCreateAWSS3: type: object x-docs-type: "AWS S3" @@ -1471,6 +1599,27 @@ components: nullable: true description: Arbitrary contextual information stored with the destination. example: {"internal-id": "123", "team": "platform"} + created_at: + type: string + format: date-time + nullable: true + description: >- + Optional override for the creation timestamp. Intended for importing destinations from another system. Must not be in the future. **Admin (API key) auth only — sending this with JWT auth returns 403.** Defaults to the current time when omitted. + example: "2024-02-15T10:00:00Z" + updated_at: + type: string + format: date-time + nullable: true + description: >- + Optional override for the last-updated timestamp. Intended for importing destinations. Must not be in the future. **Admin (API key) auth only — sending this with JWT auth returns 403.** Defaults to created_at when omitted. + example: "2024-02-15T10:00:00Z" + disabled_at: + type: string + format: date-time + nullable: true + description: >- + If set, the destination is created in a disabled state with this timestamp. Must not be in the future. Defaults to null (enabled). + example: null DestinationCreateGCPPubSub: type: object x-docs-type: "GCP PubSub" @@ -1506,6 +1655,27 @@ components: nullable: true description: Arbitrary contextual information stored with the destination. example: {"internal-id": "123", "team": "platform"} + created_at: + type: string + format: date-time + nullable: true + description: >- + Optional override for the creation timestamp. Intended for importing destinations from another system. Must not be in the future. **Admin (API key) auth only — sending this with JWT auth returns 403.** Defaults to the current time when omitted. + example: "2024-02-15T10:00:00Z" + updated_at: + type: string + format: date-time + nullable: true + description: >- + Optional override for the last-updated timestamp. Intended for importing destinations. Must not be in the future. **Admin (API key) auth only — sending this with JWT auth returns 403.** Defaults to created_at when omitted. + example: "2024-02-15T10:00:00Z" + disabled_at: + type: string + format: date-time + nullable: true + description: >- + If set, the destination is created in a disabled state with this timestamp. Must not be in the future. Defaults to null (enabled). + example: null DestinationCreateKafka: type: object x-docs-type: "Apache Kafka" @@ -1541,6 +1711,27 @@ components: nullable: true description: Arbitrary contextual information stored with the destination. example: {"internal-id": "123", "team": "platform"} + created_at: + type: string + format: date-time + nullable: true + description: >- + Optional override for the creation timestamp. Intended for importing destinations from another system. Must not be in the future. **Admin (API key) auth only — sending this with JWT auth returns 403.** Defaults to the current time when omitted. + example: "2024-02-15T10:00:00Z" + updated_at: + type: string + format: date-time + nullable: true + description: >- + Optional override for the last-updated timestamp. Intended for importing destinations. Must not be in the future. **Admin (API key) auth only — sending this with JWT auth returns 403.** Defaults to created_at when omitted. + example: "2024-02-15T10:00:00Z" + disabled_at: + type: string + format: date-time + nullable: true + description: >- + If set, the destination is created in a disabled state with this timestamp. Must not be in the future. Defaults to null (enabled). + example: null # Polymorphic Destination Creation Schema (for Request Bodies) DestinationCreate: oneOf: @@ -1615,6 +1806,13 @@ components: description: >- Arbitrary contextual information stored with the destination. Uses JSON merge-patch semantics (RFC 7396): send keys to add/update, null values to delete keys, null for entire field to clear all. Omit or send {} for no change. example: {"internal-id": "123", "team": "platform"} + disabled_at: + type: string + format: date-time + nullable: true + description: >- + Update the disabled state of the destination. Send a timestamp (must not be in the future) to disable, null to enable, or omit to leave unchanged. + example: null DestinationUpdateAWSSQS: type: object x-docs-type: "AWS SQS" @@ -1648,6 +1846,13 @@ components: description: >- Arbitrary contextual information stored with the destination. Uses JSON merge-patch semantics (RFC 7396): send keys to add/update, null values to delete keys, null for entire field to clear all. Omit or send {} for no change. example: {"internal-id": "123", "team": "platform"} + disabled_at: + type: string + format: date-time + nullable: true + description: >- + Update the disabled state of the destination. Send a timestamp (must not be in the future) to disable, null to enable, or omit to leave unchanged. + example: null DestinationUpdateRabbitMQ: type: object x-docs-type: "RabbitMQ" @@ -1681,6 +1886,13 @@ components: description: >- Arbitrary contextual information stored with the destination. Uses JSON merge-patch semantics (RFC 7396): send keys to add/update, null values to delete keys, null for entire field to clear all. Omit or send {} for no change. example: {"internal-id": "123", "team": "platform"} + disabled_at: + type: string + format: date-time + nullable: true + description: >- + Update the disabled state of the destination. Send a timestamp (must not be in the future) to disable, null to enable, or omit to leave unchanged. + example: null DestinationUpdateHookdeck: type: object x-docs-type: "Hookdeck Event Gateway" @@ -1713,6 +1925,13 @@ components: description: >- Arbitrary contextual information stored with the destination. Uses JSON merge-patch semantics (RFC 7396): send keys to add/update, null values to delete keys, null for entire field to clear all. Omit or send {} for no change. example: {"internal-id": "123", "team": "platform"} + disabled_at: + type: string + format: date-time + nullable: true + description: >- + Update the disabled state of the destination. Send a timestamp (must not be in the future) to disable, null to enable, or omit to leave unchanged. + example: null DestinationUpdateAWSKinesis: type: object x-docs-type: "AWS Kinesis" @@ -1746,6 +1965,13 @@ components: description: >- Arbitrary contextual information stored with the destination. Uses JSON merge-patch semantics (RFC 7396): send keys to add/update, null values to delete keys, null for entire field to clear all. Omit or send {} for no change. example: {"internal-id": "123", "team": "platform"} + disabled_at: + type: string + format: date-time + nullable: true + description: >- + Update the disabled state of the destination. Send a timestamp (must not be in the future) to disable, null to enable, or omit to leave unchanged. + example: null DestinationUpdateAzureServiceBus: type: object x-docs-type: "Azure Service Bus" @@ -1779,6 +2005,13 @@ components: description: >- Arbitrary contextual information stored with the destination. Uses JSON merge-patch semantics (RFC 7396): send keys to add/update, null values to delete keys, null for entire field to clear all. Omit or send {} for no change. example: {"internal-id": "123", "team": "platform"} + disabled_at: + type: string + format: date-time + nullable: true + description: >- + Update the disabled state of the destination. Send a timestamp (must not be in the future) to disable, null to enable, or omit to leave unchanged. + example: null DestinationUpdateAWSS3: type: object x-docs-type: "AWS S3" @@ -1812,6 +2045,13 @@ components: description: >- Arbitrary contextual information stored with the destination. Uses JSON merge-patch semantics (RFC 7396): send keys to add/update, null values to delete keys, null for entire field to clear all. Omit or send {} for no change. example: {"internal-id": "123", "team": "platform"} + disabled_at: + type: string + format: date-time + nullable: true + description: >- + Update the disabled state of the destination. Send a timestamp (must not be in the future) to disable, null to enable, or omit to leave unchanged. + example: null DestinationUpdateGCPPubSub: type: object x-docs-type: "GCP PubSub" @@ -1845,6 +2085,13 @@ components: description: >- Arbitrary contextual information stored with the destination. Uses JSON merge-patch semantics (RFC 7396): send keys to add/update, null values to delete keys, null for entire field to clear all. Omit or send {} for no change. example: {"internal-id": "123", "team": "platform"} + disabled_at: + type: string + format: date-time + nullable: true + description: >- + Update the disabled state of the destination. Send a timestamp (must not be in the future) to disable, null to enable, or omit to leave unchanged. + example: null DestinationUpdateKafka: type: object x-docs-type: "Apache Kafka" @@ -1878,6 +2125,13 @@ components: description: >- Arbitrary contextual information stored with the destination. Uses JSON merge-patch semantics (RFC 7396): send keys to add/update, null values to delete keys, null for entire field to clear all. Omit or send {} for no change. example: {"internal-id": "123", "team": "platform"} + disabled_at: + type: string + format: date-time + nullable: true + description: >- + Update the disabled state of the destination. Send a timestamp (must not be in the future) to disable, null to enable, or omit to leave unchanged. + example: null # Polymorphic Destination Update Schema (for Request Bodies) DestinationUpdate: oneOf: @@ -2752,18 +3006,21 @@ paths: enum: [asc, desc] default: desc description: Sort direction. + x-speakeasy-name-override: "direction" - name: next in: query required: false schema: type: string description: Cursor for the next page of results. Mutually exclusive with `prev`. + x-speakeasy-name-override: "next_cursor" - name: prev in: query required: false schema: type: string description: Cursor for the previous page of results. Mutually exclusive with `next`. + x-speakeasy-name-override: "prev_cursor" responses: "200": description: List of tenants. @@ -3007,12 +3264,14 @@ paths: schema: type: string description: Cursor for next page of results. + x-speakeasy-name-override: "next_cursor" - name: prev in: query required: false schema: type: string description: Cursor for previous page of results. + x-speakeasy-name-override: "prev_cursor" - name: order_by in: query required: false @@ -3029,6 +3288,7 @@ paths: enum: [asc, desc] default: desc description: Sort direction. + x-speakeasy-name-override: "direction" responses: "200": description: A paginated list of events. @@ -3221,12 +3481,14 @@ paths: schema: type: string description: Cursor for next page of results. + x-speakeasy-name-override: "next_cursor" - name: prev in: query required: false schema: type: string description: Cursor for previous page of results. + x-speakeasy-name-override: "prev_cursor" - name: include in: query required: false @@ -3258,6 +3520,7 @@ paths: enum: [asc, desc] default: desc description: Sort direction. + x-speakeasy-name-override: "direction" responses: "200": description: A paginated list of attempts. @@ -3923,12 +4186,14 @@ paths: schema: type: string description: Cursor for next page of results. + x-speakeasy-name-override: "next_cursor" - name: prev in: query required: false schema: type: string description: Cursor for previous page of results. + x-speakeasy-name-override: "prev_cursor" - name: include in: query required: false @@ -3960,6 +4225,7 @@ paths: enum: [asc, desc] default: desc description: Sort direction. + x-speakeasy-name-override: "direction" responses: "200": description: A paginated list of attempts for the destination. diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index cef61aa19..0461730d4 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -1,4 +1,4 @@ -speakeasyVersion: 1.763.0 +speakeasyVersion: 1.768.2 sources: Outpost API: sourceNamespace: outpost-api @@ -16,8 +16,8 @@ sources: - 0.0.1 Outpost API (Python): sourceNamespace: outpost-api - sourceRevisionDigest: sha256:c7c27d00da8a195cd5432cb465a0ae0ed906c38ceaf48f46b34cbb9bac05113d - sourceBlobDigest: sha256:ac5200813ec9142fa04b1c057ca21dc30ed3939d2cb36ac746a61fb94c1cbf1c + sourceRevisionDigest: sha256:8fc2f426f65cf81bf5669dcc12129d035defc79e39301585eb8136ff680113bf + sourceBlobDigest: sha256:6124246c73fe55dc934fdb41c51a8c54d0bbebec617f3f8fb92f41031fe5e951 tags: - latest - 0.0.1 @@ -32,10 +32,10 @@ targets: outpost-python: source: Outpost API (Python) sourceNamespace: outpost-api - sourceRevisionDigest: sha256:c7c27d00da8a195cd5432cb465a0ae0ed906c38ceaf48f46b34cbb9bac05113d - sourceBlobDigest: sha256:ac5200813ec9142fa04b1c057ca21dc30ed3939d2cb36ac746a61fb94c1cbf1c + sourceRevisionDigest: sha256:8fc2f426f65cf81bf5669dcc12129d035defc79e39301585eb8136ff680113bf + sourceBlobDigest: sha256:6124246c73fe55dc934fdb41c51a8c54d0bbebec617f3f8fb92f41031fe5e951 codeSamplesNamespace: outpost-api-python-code-samples - codeSamplesRevisionDigest: sha256:986f2738d412e6e3ece2b97377d8fd8e14240e1cd006a8ac28b14f0825f5eed1 + codeSamplesRevisionDigest: sha256:697c0340eb08a2cda0982ed9fbe4a0d8574d57b8401573958ac87539e945dd01 outpost-ts: source: Outpost API sourceNamespace: outpost-api @@ -54,7 +54,6 @@ workflow: - location: ./sdks/schemas/speakeasy-modifications-overlay.yaml - location: ./sdks/schemas/security-collapse-overlay.yaml - location: ./sdks/schemas/error-types.yaml - - location: ./sdks/schemas/pagination-config-overlay.yaml registry: location: registry.speakeasyapi.dev/hookdeck-dev/outpost/outpost-api Outpost API (Go): @@ -64,7 +63,6 @@ workflow: - location: ./sdks/schemas/speakeasy-modifications-overlay.yaml - location: ./sdks/schemas/security-collapse-overlay.yaml - location: ./sdks/schemas/error-types.yaml - - location: ./sdks/schemas/pagination-config-overlay.yaml - location: ./sdks/schemas/go-array-params-overlay.yaml registry: location: registry.speakeasyapi.dev/hookdeck-dev/outpost/outpost-api @@ -75,7 +73,6 @@ workflow: - location: ./sdks/schemas/speakeasy-modifications-overlay.yaml - location: ./sdks/schemas/security-collapse-overlay.yaml - location: ./sdks/schemas/error-types.yaml - - location: ./sdks/schemas/pagination-config-overlay.yaml - location: ./sdks/schemas/python-pagination-fixes-overlay.yaml registry: location: registry.speakeasyapi.dev/hookdeck-dev/outpost/outpost-api diff --git a/sdks/outpost-python/.speakeasy/gen.lock b/sdks/outpost-python/.speakeasy/gen.lock index 13477788a..560bb36cd 100644 --- a/sdks/outpost-python/.speakeasy/gen.lock +++ b/sdks/outpost-python/.speakeasy/gen.lock @@ -1,29 +1,29 @@ lockVersion: 2.0.0 id: da774284-22d9-4b6c-bb26-1c3fc9f2c7ee management: - docChecksum: 6fe8d677b73fda91baae99fa681d83cf + docChecksum: b8231303350debfcd93ddd3554fe8788 docVersion: 0.0.1 - speakeasyVersion: 1.763.0 - generationVersion: 2.884.0 - releaseVersion: 1.3.0 - configChecksum: da36ed2c90158fd5817def4191f9743f + speakeasyVersion: 1.768.2 + generationVersion: 2.889.1 + releaseVersion: 1.4.0 + configChecksum: dc6879811fea886ac36dc4ca4e884bdd repoURL: https://github.com/hookdeck/outpost.git repoSubDirectory: sdks/outpost-python installationURL: https://github.com/hookdeck/outpost.git#subdirectory=sdks/outpost-python published: true persistentEdits: - generation_id: d56518cf-5fbf-4874-90f4-3f6eb3e31e64 - pristine_commit_hash: 932581f98246cb2d1a19b73ff1cd50ff15aabc63 - pristine_tree_hash: 6cfeeddb4e9a765aa68f0b491717ef4fec5e7774 + generation_id: ff0c9d99-55f6-4c6d-aace-c0b7035ee027 + pristine_commit_hash: c2687532774d951b1bce2ae4d6b9e3ae69173e3f + pristine_tree_hash: 023defff34787c361ee1f23acd337f2af733ee7e features: python: additionalDependencies: 1.0.0 additionalProperties: 1.0.1 constsAndDefaults: 1.0.7 - core: 6.0.21 + core: 6.0.23 defaultEnabledRetries: 0.2.0 enumUnions: 0.1.1 - envVarSecurityUsage: 0.3.2 + envVarSecurityUsage: 0.3.3 flattening: 3.1.1 globalSecurity: 3.0.7 globalSecurityCallbacks: 1.0.0 @@ -32,7 +32,6 @@ features: groups: 3.0.1 nameOverrides: 3.0.3 nullables: 1.0.2 - pagination: 3.0.10 responseFormat: 1.1.0 retries: 3.0.5 sdkHooks: 1.2.1 @@ -98,34 +97,66 @@ trackedFiles: id: 1ecd0220d922 last_write_checksum: sha1:d1cebf7ae94ec3360968c40ad12d5bc8eb0dbd43 pristine_git_object: 53333e11adfcefa70162cff2031cc4b7af8d9779 + docs/models/awskinesisconfigupdate.md: + id: 40ae68a306ec + last_write_checksum: sha1:0dfc2d5530470afbd918df27a6727894b8277918 + pristine_git_object: 328b48224b514a0d31c6d50c890af700253f1aa6 docs/models/awskinesiscredentials.md: id: 5e1b8dd2010d last_write_checksum: sha1:a968a93e9c9bf7b1dcb6fd788a49c86ec43ba6f3 pristine_git_object: 40218890d59fdac3870939548f4aed1d4d7d50fb + docs/models/awskinesiscredentialsupdate.md: + id: ec0d196f23ff + last_write_checksum: sha1:ad50f0bec197238669f4ff70ea203c9a113dc225 + pristine_git_object: 92474759bd00432f1afa4e5dd03def3cf8d58b13 docs/models/awss3config.md: id: 679a23675f6e last_write_checksum: sha1:e2da866fc702bb1893bf8618d31b68f0405dd199 pristine_git_object: e7daf4322bd05e7221d2c86cc495841fd34bdcb5 + docs/models/awss3configupdate.md: + id: a5f79c815df8 + last_write_checksum: sha1:b0f2f9ced5d2d8db2d92d1d284eacae22310fc95 + pristine_git_object: 52775eda8c6059add78c791364120f094de3794e docs/models/awss3credentials.md: id: 54997da063b8 last_write_checksum: sha1:804e34bb935aea7ee5f05171d2ba2d2b6e7db970 pristine_git_object: 37ed641620d9ded12582e3cc3af298b9375b3bf8 + docs/models/awss3credentialsupdate.md: + id: 78254230adc5 + last_write_checksum: sha1:c7bbeb631129a9fca030dc5bc64383e4cae6ab82 + pristine_git_object: 48662e0beb8cc8424921ce794a7d38e2c2a2b086 docs/models/awssqsconfig.md: id: b1ecf85ce2b2 last_write_checksum: sha1:ede94a0970f19ba0924612b16c377c953bcdd766 pristine_git_object: 8263009b429d86782bcc12263d995be543da12cd + docs/models/awssqsconfigupdate.md: + id: 39a6bf77bbcf + last_write_checksum: sha1:9a9d9c1c63dbe5d3f37b6e0be441664e7a5088fc + pristine_git_object: f62646d999f444753e6df0886f77d29eb6af30d3 docs/models/awssqscredentials.md: id: 737bdc7cb788 last_write_checksum: sha1:64a4ea77096ac48ee0469565650ac82deb8b6e98 pristine_git_object: 0000f440a1c8a6a713b5842ec06ec106158c1682 + docs/models/awssqscredentialsupdate.md: + id: 1a495b0f2f3f + last_write_checksum: sha1:4238ae5a06e8dd627e4ebe62729cac3c4dfcdf47 + pristine_git_object: 7741d18988a64229df138a16e6c0fb5947ce3b48 docs/models/azureservicebusconfig.md: id: 1e83b96d9a35 last_write_checksum: sha1:7a6559de6b67a0cb2900d6067ee77d0e5eabc95b pristine_git_object: 7e6b4d87a0022e4a463dde36b8a5f78426bb4b3d + docs/models/azureservicebusconfigupdate.md: + id: a820c2038d52 + last_write_checksum: sha1:5a67fdb7ff55543e99294f20c650c1af2e30da4d + pristine_git_object: c19f13370047fa9d939b1b21afb0fa8fd8c401f8 docs/models/azureservicebuscredentials.md: id: be69c439da24 last_write_checksum: sha1:9b119c1e2998621c1e366f5206df3b6817fb8bbd pristine_git_object: 02f6cf43352e6c2e4c624c6fb5fd21f49d897e6f + docs/models/azureservicebuscredentialsupdate.md: + id: 63290b881b0e + last_write_checksum: sha1:402838c0a70571cf9fd42bbb8ccef6866dfe880b + pristine_git_object: 5a620e74f272b9dc254998b331ba5c09233557ba docs/models/createtenantdestinationrequest.md: id: "943059858332" last_write_checksum: sha1:1c6db08a4f5ae29f94ff43383af77a2011aee38d @@ -144,32 +175,32 @@ trackedFiles: pristine_git_object: 12f504153cd3a2228bb2019b8f24221664bc9730 docs/models/destinationawskinesis.md: id: 6d81ecea9fdc - last_write_checksum: sha1:afd1a7f1464b9c91648d9f49a8729f9c436b45c1 - pristine_git_object: a2d53e67332fb0ede85d0353f7b3d5d39ccb1f5a + last_write_checksum: sha1:cbd3620f57c33c70f4086ed214717ec662aa4edb + pristine_git_object: c755547d902e9f10579422834db0cd7ef09f6022 docs/models/destinationawskinesistype.md: id: c4dd6fca8de7 last_write_checksum: sha1:4ccd23d165acb46a5c33e71f37fd37a20ffbbe80 pristine_git_object: 8b7dc5775713d997d2028fa8084a843656e085cf docs/models/destinationawss3.md: id: ff122e07e234 - last_write_checksum: sha1:d6fa95b3ff20f1acb1591a6791cfa03924bded6a - pristine_git_object: 34b19a283d2aac33b35b17b43c1e5f3fa3162ea3 + last_write_checksum: sha1:653b1f78690985e822afd4ff8550eae284182d56 + pristine_git_object: 796430d6191883b3f17fa74bda99b5104140c7b5 docs/models/destinationawss3type.md: id: d28d95d24ee2 last_write_checksum: sha1:71fbeb062cafa289e260d26c7d7f81fe89e4c56d pristine_git_object: f97fdd6b25daf2b069803c08c99c3232abfe25eb docs/models/destinationawssqs.md: id: be55d5a60266 - last_write_checksum: sha1:cebf9e79d7626c95b43a4d5c43774c2484c6a05d - pristine_git_object: 681c20d521113a097a330a5527b93df08e9374ac + last_write_checksum: sha1:d618d5eb71c8d8e4dbd69e90d7e609be6e07b62c + pristine_git_object: b8aec3ed57b4902e9a8b001eedb6565d69e54cd6 docs/models/destinationawssqstype.md: id: 55d5846eccb7 last_write_checksum: sha1:f5e0116037aff9e4101cd18ef500b453829476c6 pristine_git_object: 54d3892decb47efcc74ed54bd43e8c7ba2e3e644 docs/models/destinationazureservicebus.md: id: ed697d05f286 - last_write_checksum: sha1:b2a7e824fa9038f0e1e614305a3ea817d8e1857d - pristine_git_object: e8e5e9bd5a8e640bb89f7ffba5e1aeefbbd223b7 + last_write_checksum: sha1:0247dadad22173196c37daed01b85709728ce89c + pristine_git_object: ecce7fb39c941584db1aeb94344ca22d47f9b970 docs/models/destinationazureservicebustype.md: id: 36eb1c9188a1 last_write_checksum: sha1:168fd9a4149e0fe87e5e9682e42623e0e9bb3fc8 @@ -180,104 +211,104 @@ trackedFiles: pristine_git_object: 063471498135d9a74a7a54524ba894ad365722e1 docs/models/destinationcreateawskinesis.md: id: 9b320c478947 - last_write_checksum: sha1:2cb72679913d35c38ca56a9f075da14002c47a4f - pristine_git_object: c574270cba3824b96c77073010eae9832a949b7c + last_write_checksum: sha1:ad2865e6c73df1208decc8df69c7957241f8a0d3 + pristine_git_object: 0c9964b5dc6e077d85e26e951a5887fba72b1cf3 docs/models/destinationcreateawskinesistype.md: id: a301bfbed763 last_write_checksum: sha1:4bc19a662795cbd9832e1787c8228b7ac70dfbb8 pristine_git_object: 67953d9366f786f436b748fbe33b816670ff1a6e docs/models/destinationcreateawss3.md: id: bc177123074e - last_write_checksum: sha1:d51978aa9f608fd345f854976b389bcb1fb6ad38 - pristine_git_object: 8f0e02aa47b8307d09648b6f621c1d919a187807 + last_write_checksum: sha1:327c370f574824b342f84121381257b4515bdecd + pristine_git_object: bc3cf6d370b5c7672922d831c5c6011b15aa20c1 docs/models/destinationcreateawss3type.md: id: cc21ccb91e67 last_write_checksum: sha1:a1ebfd4701ed39fd0f6f2f405179f3b2fef0d699 pristine_git_object: 2c9ce63583a65af306aee1c2fddacbfc9b550cbc docs/models/destinationcreateawssqs.md: id: a81f0a089390 - last_write_checksum: sha1:bfb88d5fbf64ba4131d28e306bef9e20de1c2e11 - pristine_git_object: 4eb893482ec4d1cdfb3d9301219fe3c146c794a9 + last_write_checksum: sha1:5a5b0166aeb2092c8f26160f3da5cfaf155735d5 + pristine_git_object: cc5cefde0684d7b29ad4de0b98ab8e128ac2b12a docs/models/destinationcreateawssqstype.md: id: abd5182b8036 last_write_checksum: sha1:08530530095b7441f7b928ec89b34061118fecac pristine_git_object: 77a87290f81e85b588efdc9f57a541578f6af6b5 docs/models/destinationcreateazureservicebus.md: id: de448d3776b9 - last_write_checksum: sha1:73868fbb4053cac4621f39842bc3493e2d06b252 - pristine_git_object: 27b32e69865a801ff7a54073ad24377d4043f21a + last_write_checksum: sha1:e7050393c1132932280d12c7c07eaf6042382aaf + pristine_git_object: cc5d22d0fd7929d1cf91c0dc53028d166a8e6cbf docs/models/destinationcreateazureservicebustype.md: id: 2b44423ffb57 last_write_checksum: sha1:426ac0af9fcc83c5e2e1be7a6948a24c8202ae79 pristine_git_object: 894c28147d3173274e911cc97a500306b7688559 docs/models/destinationcreategcppubsub.md: id: 4db025a094d8 - last_write_checksum: sha1:a06c73b0ed4cbb110c75d60abab16b7ed45fabe6 - pristine_git_object: f1e804f555654d2f06132bbfa385c0de50d6a05d + last_write_checksum: sha1:c23885565182b451f5eed17a4e3db0b7d131b5bf + pristine_git_object: 9cfd16391e3768018dda0443a3538c1196f76f1e docs/models/destinationcreategcppubsubtype.md: id: 2f3bb28c178a last_write_checksum: sha1:b620bba14d1609143291f298127a648a758e53ab pristine_git_object: c7e0c7e1b20ca1fd74d0099d45a5de4d754795b2 docs/models/destinationcreatehookdeck.md: id: 313ee240253a - last_write_checksum: sha1:f4da2a2e22deb350b677cfef43abab4cb4bc890f - pristine_git_object: d8772bdbc5e1dfe61131a354cf0b33a2180a5f35 + last_write_checksum: sha1:6572652a789559b7ae332a7e7ffea87003021590 + pristine_git_object: f684ac08235b82f5a54c0686b7b69760d72f3042 docs/models/destinationcreatehookdecktype.md: id: 7c14bf04c6fa last_write_checksum: sha1:9f26b146c25aff17e452d13d1fbee25daa9b7201 pristine_git_object: 083e98ad3c8ed67bf10a734adea5464a0cb652e0 docs/models/destinationcreatekafka.md: id: 3a2345bee358 - last_write_checksum: sha1:db38275f89dbebecaf2c6a1dc5ed334df52cf7e0 - pristine_git_object: b28e7a90f41a1f6a1e284451c2597b672945e46d + last_write_checksum: sha1:2c7c68c9467b04679448b26cdd949eeda575b4c5 + pristine_git_object: 2dc7622da89b626b503a0ecad87d0d10628271c7 docs/models/destinationcreatekafkatype.md: id: 3f75ddd8f962 last_write_checksum: sha1:5325b877e5c8b32c64097b6f46b81b75dab8c15d pristine_git_object: c5bfcfd4ba684190384f34f0c45ccdcfa09ad0d5 docs/models/destinationcreaterabbitmq.md: id: 378a3117d167 - last_write_checksum: sha1:ba2bc0e1b2c81927cc07ee11ebbadf8b754f108b - pristine_git_object: 0420c922564a37d6c6d6e3af2ff11f489db10f7f + last_write_checksum: sha1:dc31f590ceb657710091ef47770432e3de4cf046 + pristine_git_object: ec221890ac3aa0de569cf681dbc4ebfaa7861cbc docs/models/destinationcreaterabbitmqtype.md: id: 67f573cb48fc last_write_checksum: sha1:1654a8ea350a417a2bdd3c0f5bbaf24353d54fc4 pristine_git_object: 65eaec8b9569beacaf25e1f949c38b0e6b46ff5d docs/models/destinationcreatewebhook.md: id: 045bdd4bfba9 - last_write_checksum: sha1:68dc1ebe77cfd2edd3df3d13bfc97d7483193aa0 - pristine_git_object: 530d23d2b594ecb7553590d24aa68a33af0b43b1 + last_write_checksum: sha1:7be8d979954a1862950435f75b45f4e43eadb200 + pristine_git_object: 4205404e7d21dcd459570492d7e4f6921dc33777 docs/models/destinationcreatewebhooktype.md: id: 480c29c3c0ee last_write_checksum: sha1:3ca2331231908a303bc133f484538bdb6656cce3 pristine_git_object: 2568b726bc692e091570cc9da3625dfd89e8757b docs/models/destinationgcppubsub.md: id: 8d458b6431fc - last_write_checksum: sha1:31712bf5c324d2f8936578fc339cc66dfb1c97ba - pristine_git_object: 29a6d56c0988ee458b18ee91a1af63f3e0242d9b + last_write_checksum: sha1:5268e406bb052a53919a83e69875da61ed2b99c6 + pristine_git_object: 702c9ae1750a54f4799471994d6f823e7ed71b40 docs/models/destinationgcppubsubtype.md: id: c8ac9ab6541c last_write_checksum: sha1:4a2ba46b192536f2c2d2d389e921611d3a3f1be1 pristine_git_object: 0591a54424337494a85acbc9152dfc68e134396c docs/models/destinationhookdeck.md: id: fb096a78647f - last_write_checksum: sha1:846acd3c2a137ccf13aa24ffa4c046e9536e76aa - pristine_git_object: c6b2ab46acb3defbc78a67a136734a3be76e217a + last_write_checksum: sha1:0c9e887e3fa4de1e9522dfc60417cd387eaecd6a + pristine_git_object: 561831f4cc94149fe4ea15e324d8f9e246ba4fa4 docs/models/destinationhookdecktype.md: id: 1c418f6e0237 last_write_checksum: sha1:5af9bf985d5c4985761e34a320170236d525328b pristine_git_object: babbc45d009197cb9fd737fd2d7c40c1d54d699f docs/models/destinationkafka.md: id: 64a11a9b8cdb - last_write_checksum: sha1:31d7c0b1d470fbb79bc3d98fba55505681ce798d - pristine_git_object: 2c0f593fd6c07afc3087c211cf113d4a22f5087b + last_write_checksum: sha1:769becdc244bc12bd4c50b07db1151b5e70f4141 + pristine_git_object: b5602807efc6454d7d4fa51fd21537d5c9c43845 docs/models/destinationkafkatype.md: id: 738685178ccf last_write_checksum: sha1:48b49401404034dd33ad1095456fa1dffeadc2a2 pristine_git_object: ad6eb6da04a4b06ce4989192b00b34fbb35c8e64 docs/models/destinationrabbitmq.md: id: 0e006fb4f238 - last_write_checksum: sha1:d176393f03992f7d91016fa3bf0c80b9b823113d - pristine_git_object: 5b6a1615e1e0a9490def628b887c881efef0dde6 + last_write_checksum: sha1:32c5bdc1d5c5f56578753b792b2a60c541566529 + pristine_git_object: 1d27aa4aad89378748b19a79b087feb8120cea94 docs/models/destinationrabbitmqtype.md: id: 465a84d53bc0 last_write_checksum: sha1:501522c51508389d690b4b6cd24022e422e4235d @@ -300,48 +331,84 @@ trackedFiles: pristine_git_object: 40f8842c6dcbbe38597605b1ee96af2a90d73cab docs/models/destinationupdate.md: id: 29ededae7d93 - last_write_checksum: sha1:c58605615c33fee805dcfe1edab7e480a877d200 - pristine_git_object: 14bbd55790eea3b0013e23e22267eaba2143ca1f + last_write_checksum: sha1:3ef5d667f1f6f401648316c983da58d3048a36ca + pristine_git_object: 06205825d1ef4d854b9c7fe1be1ef6031a64703a docs/models/destinationupdateawskinesis.md: id: c735ef832904 - last_write_checksum: sha1:9203ff8121ea64441f14b2046992f7d6bbdecd63 - pristine_git_object: 8ca68edddc178404b4f6d90e7da7ee642f0e478a + last_write_checksum: sha1:6ef44bd426b9ada2b50e9aefe4a1e38bf8073cbf + pristine_git_object: 9623f726d70b27d421cc65f014e73acea01f08b0 + docs/models/destinationupdateawskinesistype.md: + id: ba834a940f48 + last_write_checksum: sha1:f194ae97e6923b090b95f1e80ba9023431e38bfa + pristine_git_object: c3f8845289c49c3b267dca102413104c349ea7c0 docs/models/destinationupdateawss3.md: id: 76faf4c7812d - last_write_checksum: sha1:1cd4ba08c2eb501e35719b53354a21383428e7c2 - pristine_git_object: fb6a6c57cd0a41cc776d5798e50b0225f5c7311d + last_write_checksum: sha1:4dcdee53317234a79f2425023b3f4a05d902d3b2 + pristine_git_object: f6d99bc5b3fec2542d0339d4cdac4d1a6e2b675d + docs/models/destinationupdateawss3type.md: + id: 5bf104c0c225 + last_write_checksum: sha1:68ce9c3736a1e3711d3b521d6cec32bb859fa9c9 + pristine_git_object: e53caacb509850b241edce1b2c2fe996d4fe6c09 docs/models/destinationupdateawssqs.md: id: 02ac773b1910 - last_write_checksum: sha1:26d6d6d3ad65709d55ac01d0a01cd1f39713dbcb - pristine_git_object: 8c1e1d91676515629b285f97ed788adfc8764000 + last_write_checksum: sha1:f5b3cbe8096ff5cf59d35d78cdb492a4248fa8d5 + pristine_git_object: 2c1b8b5dfef1d0c1fc4f095e707ba9abb1a934d8 + docs/models/destinationupdateawssqstype.md: + id: 0063cbd18bb0 + last_write_checksum: sha1:3fb372ff1f67a01a5d4e691aaef798ba5ee30323 + pristine_git_object: 923282da009984a20d30484e23827b32a42c3cde docs/models/destinationupdateazureservicebus.md: id: ce89817ee515 - last_write_checksum: sha1:e67611e3c85de7c8b489c367f8a9aa98b0ea35ed - pristine_git_object: 62839a1ec53552c8be00c157eec8f3b38355126c + last_write_checksum: sha1:43a24d4747e7fe661dc1d46ac57bad366852f471 + pristine_git_object: de65c7642ba6da0aeb90ee01f428178fa9cf91e2 + docs/models/destinationupdateazureservicebustype.md: + id: 8b278228aa56 + last_write_checksum: sha1:bf95780c12822382761ff022e2de11c4e8540af9 + pristine_git_object: b0261e32422b5552be068239e0a04af89ca1f05d docs/models/destinationupdategcppubsub.md: id: 3aa59641195e - last_write_checksum: sha1:e40f03b561bef6571ac97ea4bf14d7ab3bfa55a7 - pristine_git_object: 6e0eda5eac9eaa5b039d23e46b43cd4c53281043 + last_write_checksum: sha1:42856ccad47be15af1c93d7029415d80faae42aa + pristine_git_object: 48cf0717ab156fd2a4a30d1d4caa93270f228d71 + docs/models/destinationupdategcppubsubtype.md: + id: 51107c25fe5f + last_write_checksum: sha1:a46aef6d009666deff66f3705d06efe3f3747cb7 + pristine_git_object: f0ac64e0b0a11846c381cd6e58dbba3f414e123d docs/models/destinationupdatehookdeck.md: id: 68e05155df34 - last_write_checksum: sha1:ea4b2b9c5329fd679b4ac6947f2443cbacbbd236 - pristine_git_object: f2db895dd7c8b561bca4f3cc6c424edb00cf07b3 + last_write_checksum: sha1:fbf6ffdd29ca59d7da6dfc74692bb1becb7d7d08 + pristine_git_object: f7ac88a41a4bd49025fee146dcf13e44f428420c + docs/models/destinationupdatehookdecktype.md: + id: 0d4c91d2b482 + last_write_checksum: sha1:cecd052f361d9bd8dfd9d3c0a844ae55a85680e3 + pristine_git_object: c4431a39fdb2a6665154d2b027b66d396a285d20 docs/models/destinationupdatekafka.md: id: "132111658635" - last_write_checksum: sha1:eee0d36d331046ba8fdcbd386e4cd3ca102529ff - pristine_git_object: 0c0331bad40b09c62f49099c30c476801602b3d9 + last_write_checksum: sha1:7a474001880e3d0a5f9d693987bdc6010c50bf56 + pristine_git_object: 1271ba750aa24854f0e9556d1f0291044155b255 + docs/models/destinationupdatekafkatype.md: + id: 53d5c3284fdf + last_write_checksum: sha1:7820af56213e0ba932fddb27d259a730592f0ab1 + pristine_git_object: dbe699b490abf897b9dcdfc9c5fb29499bf484d9 docs/models/destinationupdaterabbitmq.md: id: 9f9ca90dc37d - last_write_checksum: sha1:5cb9ec3e423af407e879e7c0beb9b472884c0496 - pristine_git_object: 3ba4dea3d03625751e96f659689778c1ad63e466 + last_write_checksum: sha1:6c7392ade140f99b16c218ccda594b0abb712bcf + pristine_git_object: f1eb9c8f8e4149c727f0277799541c806a9ce6bd + docs/models/destinationupdaterabbitmqtype.md: + id: 727f96620a88 + last_write_checksum: sha1:d470cbe569b786f6c992d665ccfd18fff61145f7 + pristine_git_object: 62272af06f9b05b8aff765c46cdcac560fdf7826 docs/models/destinationupdatewebhook.md: id: eeaf368b6338 - last_write_checksum: sha1:be37f570a9275d066d8cc538559196c247e32c3c - pristine_git_object: d201a7903e270b68598175773a69043198c8900d + last_write_checksum: sha1:8f412bffaec547b1fb9f366d876ebefbad72bbe6 + pristine_git_object: e3a68a54e3bb675d5d7582bae2874492fbaecca9 + docs/models/destinationupdatewebhooktype.md: + id: c3db03a170ec + last_write_checksum: sha1:74272132d9ce49cee1433115a09a2d158be45bcb + pristine_git_object: 91bc64078858751669046c573a5605df1cc3df46 docs/models/destinationwebhook.md: id: c7672f3fe6cb - last_write_checksum: sha1:86d1942abbbbc71b57ea1f16af0758b55f816dd0 - pristine_git_object: 8ae6f310e51eaafb79fefd3805b169c5cff161f0 + last_write_checksum: sha1:161c65e9da9c3f6c606fcee331f8ca3fbf34799f + pristine_git_object: 9fcea088bf80c427dc984ef5463379648a34de9c docs/models/destinationwebhooktype.md: id: 4c9f7f92cd1b last_write_checksum: sha1:a03a9473252133ba4f7d18ae4042e929b6fcf230 @@ -376,8 +443,8 @@ trackedFiles: pristine_git_object: ce7f0e177bcea34b0e40ecc98da190d6a96e1002 docs/models/eventunion.md: id: c0e98633f2f2 - last_write_checksum: sha1:a83c623c7b182be49e7db9cc026f98c7aca3e974 - pristine_git_object: a060fdb7c645303e3f39f35dcc9a798668d67071 + last_write_checksum: sha1:71b1d6e63de3ebf1361a7eb1437d2252fa750c44 + pristine_git_object: 552ed9d37e0f915a942c8ff5c58c0246f4c2921e docs/models/filtersattemptnumber.md: id: 7093f183b527 last_write_checksum: sha1:3740c85b5e67f188602425dc5fac0418a4b2eccf @@ -410,10 +477,18 @@ trackedFiles: id: 73a8559c13a6 last_write_checksum: sha1:cc3c9973f838d2521151e9db34eedc1c732bbfd5 pristine_git_object: e9739d266e14e4a2248236e257368bdd11989a1a + docs/models/gcppubsubconfigupdate.md: + id: 45b91eee4b65 + last_write_checksum: sha1:5e1987f4f480760d72224f71b5ffdfbb9aed46f4 + pristine_git_object: 837d3c25742c4aac8002360da0de5090acdf4d91 docs/models/gcppubsubcredentials.md: id: 680381031b8c last_write_checksum: sha1:bd53ce9234d65775948655b13380f40a9a0115bc pristine_git_object: c785edab1894fa93f3b5011161f15dd0caab3196 + docs/models/gcppubsubcredentialsupdate.md: + id: d0151f8bad74 + last_write_checksum: sha1:6937afd3927bbac9eff1273f3c6f26216a0a212a + pristine_git_object: bd3f53f6e46057bf6a5d296bcf1d2a3d04ce4e62 docs/models/getattemptinclude.md: id: 5e7bbec19c6a last_write_checksum: sha1:3a86f815197561a0299cec3ccbbad486c7f679e5 @@ -562,18 +637,42 @@ trackedFiles: id: 81b1ac6b3c47 last_write_checksum: sha1:0c6bdbd6b811008f476ba998cd2b18c2924b2432 pristine_git_object: 5b48b0e29a9892c22298413abf9e1662d4c70f6c + docs/models/hookdeckcredentialsupdate.md: + id: f05d6d4bdf9f + last_write_checksum: sha1:b7b8dcbc9e22ef72bdebc49a35c23c47ddda9adb + pristine_git_object: e0f5c56635b23b71122332aeb1a0a458b30f3939 docs/models/kafkaconfig.md: id: 734c5cbfdde7 - last_write_checksum: sha1:477847bf47adc4204bf685054cf4b77b76ed3c4d - pristine_git_object: 5a21d37c58af4dc438718439ed1dad181c64d614 + last_write_checksum: sha1:b5eae242d55aa3e9649e73108da7041dc87e2ec9 + pristine_git_object: d7add211ee00428045233381449a41d64ad6e29c + docs/models/kafkaconfigsaslmechanism.md: + id: b136aafc4f0f + last_write_checksum: sha1:63b951d4bc89593406ebe0e0c639c991f3bccc74 + pristine_git_object: a61d63cab2923387c1509c382b3db84dd6949e59 docs/models/kafkaconfigtls.md: id: 3f83a650b176 last_write_checksum: sha1:76ab170dad200009d490167d7245279e9076d5e8 pristine_git_object: 6fb9e02590c1e2c1a65b443d2ff939699c11fd79 + docs/models/kafkaconfigupdate.md: + id: a992ea6d36fa + last_write_checksum: sha1:eebf298642f56b1909cf247c88cfd0796a3b4278 + pristine_git_object: e7dca5d9d65b574a41da5826dbe17a6e24aaf19e + docs/models/kafkaconfigupdatesaslmechanism.md: + id: dc074d7d6f44 + last_write_checksum: sha1:afe2aa5c8fc7f38c5cc7307634789b4b4930a1d5 + pristine_git_object: e21a6fcb8a02e77ee84f301c8f0aa31cacdf0ed1 + docs/models/kafkaconfigupdatetls.md: + id: 455b1685e693 + last_write_checksum: sha1:6c539c02bbc4c6376ee4bb8eacba8a9e7a79481c + pristine_git_object: 9cb7b71e548d45c3ae765aadde58df00a9fd76cc docs/models/kafkacredentials.md: id: 2bca3c660135 last_write_checksum: sha1:cbf067bdb90260951941e82420bf1ea3b99cd705 pristine_git_object: 725853369d8c5e24b164d588f9ce5f9467931251 + docs/models/kafkacredentialsupdate.md: + id: 53a8bccfd136 + last_write_checksum: sha1:9ac46a533f223b986e6007f8f5e188a91f367754 + pristine_git_object: f86b9c51e91afdb68c36d1419229a62bf9c75cd8 docs/models/listattemptsdestinationid.md: id: 651bd8780dd0 last_write_checksum: sha1:11254f9be8b6c28b8a702d10fda672106838371b @@ -602,10 +701,6 @@ trackedFiles: id: 934b5dab0590 last_write_checksum: sha1:771feff23915ddbe7fc15b7f86f446fdc1d56f61 pristine_git_object: 9d8cde9afde4de74858ba65d6bd4489c4b72006a - docs/models/listattemptsresponse.md: - id: e036b31e7aec - last_write_checksum: sha1:db48676f2cf5e3273c6ddd4bee2545150d4c4097 - pristine_git_object: 0c39d34acf148d51e5ca3ef777c27aa12b908029 docs/models/listattemptsstatus.md: id: 9e57a5cb10e3 last_write_checksum: sha1:9f51a7744d783e948e209f59ff79a01100edd442 @@ -638,10 +733,6 @@ trackedFiles: id: 176d9b992537 last_write_checksum: sha1:88a6f57db394ee41481c7b02e240bab91678f41c pristine_git_object: 0f1bfd24a066a5afaa838c55400eae23308013bd - docs/models/listeventsresponse.md: - id: 150f903b0ed9 - last_write_checksum: sha1:eff00a900bc790aef35b8eccac27ad984fb1ae91 - pristine_git_object: 5beb7c4116fdb039e2ff1b62b2787c1e3369dff1 docs/models/listeventstenantid.md: id: 1c3d1f2c7320 last_write_checksum: sha1:12709dbf96beed15225a55ed8982803c23c8f610 @@ -670,10 +761,6 @@ trackedFiles: id: c8a7c18306b0 last_write_checksum: sha1:ee0d213a0931187ece1e2ce0bf09ba9a4fab7daf pristine_git_object: c7556c1e949baf333262c5352771af15cc7ec802 - docs/models/listtenantdestinationattemptsresponse.md: - id: 6bcaf756b801 - last_write_checksum: sha1:9ca4b3533e4c72bcca30b4f617b5e9cbbf0252f5 - pristine_git_object: db08a48b5539625102b8473d76a144fdd4e53dc9 docs/models/listtenantdestinationattemptsstatus.md: id: 84c9497d9595 last_write_checksum: sha1:d70e9df01f4c41d4f20284e74326b50eaf1c81b0 @@ -706,10 +793,6 @@ trackedFiles: id: 39a7c6125a52 last_write_checksum: sha1:2dc49214cd63dd2f6f819b4c13edd8c877df09f5 pristine_git_object: 14d312b6d1c8a81415b625253eefe05f3f0ad276 - docs/models/listtenantsresponse.md: - id: 1f7eb86195fd - last_write_checksum: sha1:de0b042e331b60f344f8ab65b3997997f82c674e - pristine_git_object: 8175101b0060fc660291e9ecc87b34f064d1dc45 docs/models/managedconfig.md: id: 56bc51d52ab0 last_write_checksum: sha1:a284cef0619ba61f14446d8cd9b0f99ac6ea5748 @@ -754,26 +837,34 @@ trackedFiles: id: 6c2141058590 last_write_checksum: sha1:5f58d3f2c22995097acc7fa610b313610f118493 pristine_git_object: 3902a7f760409d5ab46ff9b438754d096c66aeaa + docs/models/rabbitmqconfigupdate.md: + id: d17907a8314d + last_write_checksum: sha1:4285b094c44af64c7c23f5f12321c4f8716d65ba + pristine_git_object: e3356abe8e03ba4b7b092f61ef10ee910fe4f63d + docs/models/rabbitmqconfigupdatetls.md: + id: 4e27581ed0eb + last_write_checksum: sha1:da6a0ea1282b1369562f122e42bee43c6fc7e9ad + pristine_git_object: a4a230d97365abcc8cbac53ed3bccd507276a267 docs/models/rabbitmqcredentials.md: id: 176996f7af13 last_write_checksum: sha1:bb9a947b04976d9a1dd0d25c5fda3ec5c4b2154e pristine_git_object: c7cf5944a55902739196feefbea87f0a971eebca + docs/models/rabbitmqcredentialsupdate.md: + id: ea404cfec03b + last_write_checksum: sha1:d53aaa134ab2c6755ceb56b902ce43ad01e5700e + pristine_git_object: 5041e58f6b0faa6ee9049cf41f55e2e01ca6b41e docs/models/retryrequest.md: id: 9a49c8116ae8 last_write_checksum: sha1:5af20ce635166d33e50794c74344980714b209b2 pristine_git_object: f9c56856160dce37eeba10a7b33fc9275d24b22e - docs/models/saslmechanism.md: - id: cc780ca19326 - last_write_checksum: sha1:58fc0f9f6b0ab98ffca7800407f8db920e6b98c4 - pristine_git_object: 3d58fc8aa78d8ae8d3eac427df856ec86c3d8243 docs/models/security.md: id: 452e4d4eb67a last_write_checksum: sha1:45b7b8881a6560a468153662d61b99605a492edf pristine_git_object: 2e0839d06f821dd97780dc22f202dedf23e4efe1 docs/models/seekpagination.md: id: 1fd158f92d9f - last_write_checksum: sha1:9ba30efe114488d724a0c56ccaf15c24130d07ca - pristine_git_object: 88d0744b9c9dfaab61a33348b20e29bb0edd4be9 + last_write_checksum: sha1:fe6da3212e45948e61de43a7efe5545da3640ddb + pristine_git_object: fac7a85d7bd90e5ef058b200057d9308fd79030a docs/models/setuplink.md: id: bc630fb84fc1 last_write_checksum: sha1:863ce4adaa1880f2b3635e31efbe1263c3a50ba0 @@ -834,34 +925,38 @@ trackedFiles: id: 84dbb4d5e052 last_write_checksum: sha1:89a653b1a0bffa120109d59a0f74e003ebb3179c pristine_git_object: f2af882b065e73a20187a607240683483e05fad0 + docs/models/webhookconfigupdate.md: + id: db8b769c4415 + last_write_checksum: sha1:f5011014b424a40fc2253e271ddba266632af5ae + pristine_git_object: fbeb1f1eff9c1cb0dee66bc1a1f5bb060cb36820 docs/models/webhookcredentials.md: id: 42dbc7945a1e last_write_checksum: sha1:45d9202855a23383150e0f0b3ed692718bb53ec8 pristine_git_object: 43d97c2cea9dc25796d1aa004eeb858d5fc9c8ac docs/models/webhookcredentialsupdate.md: id: c2531d2041c7 - last_write_checksum: sha1:9c1b8a864df474e36d95a6a6d63b4d61c6db0129 - pristine_git_object: 9e4282bf1c4d957824ec24085d0d9c7b0a8f665e + last_write_checksum: sha1:5f2e9ed4ab2a5fa036c8687cd0b5d2abecb8a131 + pristine_git_object: 21c0faf9305b0a838d962b121c850041cbe8186c docs/models/workers.md: id: e1c419105efc last_write_checksum: sha1:d5352fa0819f731f75e8ade764e7a3cfdd7049bd pristine_git_object: 36572088751475931126b4d86e8ea067ac214eed docs/sdks/attempts/README.md: id: 41a6f5edd623 - last_write_checksum: sha1:44bbf14a7c84fa4cf9532ffc691e671997a24073 - pristine_git_object: 4449290d018c29979b3d9ddf522f542896018d14 + last_write_checksum: sha1:57675179f04c0e967def73c21a1e636446f91c07 + pristine_git_object: 3612820726f1723ca4834c7efe0f6208879eb183 docs/sdks/configuration/README.md: id: d3a07ea941dd last_write_checksum: sha1:6cfe9fc8fbcc39a7a0a796dd18a5c51330ba3043 pristine_git_object: 52afe99df5a6bd75b9b371d7b5d8fb9f0b0de4cf docs/sdks/destinations/README.md: id: e83d288899aa - last_write_checksum: sha1:c4e103a36aeaa8d3fc37fb672fccc70796485dbb - pristine_git_object: 1c464df7df73e620949cb238a9ef1d0853e8b62f + last_write_checksum: sha1:1eafbef5d811b5722d7d28fef32de05e928fe0d0 + pristine_git_object: 6df6becd80cbe89bac75bfdfac2a725692e187af docs/sdks/events/README.md: id: cf45a4390b9b - last_write_checksum: sha1:4b7c515e12be6215d56daa7793194d607099988e - pristine_git_object: 2d63fbaa03392aae23ae96f4791b4e1d2cc7a9df + last_write_checksum: sha1:450ea922672ea6086d92b0c6d821da1013f0b96f + pristine_git_object: 68d37de2add51c138720d62a3b0170e3b41e6b9d docs/sdks/health/README.md: id: 5082c50d5e82 last_write_checksum: sha1:8453d840b22aa4277898ec783f8665a2607c6a9e @@ -880,8 +975,8 @@ trackedFiles: pristine_git_object: e62a6e01c715cf1b29616504cd91f8373630e145 docs/sdks/tenants/README.md: id: 68a2b19779b5 - last_write_checksum: sha1:43610267a58b4b01b74efa882bc0dff0023ebe0b - pristine_git_object: 30aa4e8cd2d466a78bb7cf4481fbb6b96343c4ee + last_write_checksum: sha1:961f1e4a7eab042fbd6a48df53aee17ffee75890 + pristine_git_object: 98450dcb84a48180e9e4704501a0ed0a9267c523 docs/sdks/topicssdk/README.md: id: ee1b98e4769d last_write_checksum: sha1:f55a17da8b56defe92c8bf6919383616430ffc1e @@ -900,8 +995,8 @@ trackedFiles: pristine_git_object: cca330736fb6ecec666b32012a4c346570dd5085 pyproject.toml: id: 5d07e7d72637 - last_write_checksum: sha1:6907b002a82df963c9d1a6198776a2e47bde1d1a - pristine_git_object: 3110be9cef79deddec68dcfaf52db9043eaec0b4 + last_write_checksum: sha1:0eecd88c59f1524f8dcb01f4c9cd5d4024ae488f + pristine_git_object: e99eac12ff9b9344e45d659aebb9661ffd194d0c scripts/prepare_readme.py: id: e0c5957a6035 last_write_checksum: sha1:eb460f85c06b287fee629d997b2df75c92fa1cab @@ -928,12 +1023,12 @@ trackedFiles: pristine_git_object: b1777a2eacece4434c53b2e136158f0c1360707d src/outpost_sdk/_version.py: id: 22be68f35ad0 - last_write_checksum: sha1:b9b6e1a9df36e58b5fdff7a24929756123dcfdea - pristine_git_object: c3ca1e3ba60b8ed9e010ef0b91c0f7d2a56d51db + last_write_checksum: sha1:f1a6eb61e14f8d8199c376cf22b0ce38fafc27aa + pristine_git_object: cf8ba2ca11c1f1936c734b69b920af2732c1841e src/outpost_sdk/attempts.py: id: 304ea4e0bbf1 - last_write_checksum: sha1:fb91e9a4cabd0bf1f2b541b615769ef147b094b6 - pristine_git_object: 2f325d73d812dfb4615fb810671d0dfd2781fe00 + last_write_checksum: sha1:f7950262c68b31eee16d8868da4265583ed3f707 + pristine_git_object: 7c5191a8ac7f830a295f5c1f302c0dc837eb9237 src/outpost_sdk/basesdk.py: id: 06a87cb4bdaf last_write_checksum: sha1:a3f270afc94f10f54e18bbb46c6c2cc988fec1b1 @@ -944,8 +1039,8 @@ trackedFiles: pristine_git_object: 5db6f13013abe76da1d7d01cd09ea8b69f8b77c9 src/outpost_sdk/destinations.py: id: c941d7cf8960 - last_write_checksum: sha1:3e0f0e07e28942c22f5c3c7696df26adf014f773 - pristine_git_object: bb8ffe26395ed7963470728893990f492fdd9a03 + last_write_checksum: sha1:5bd98a9bf0a2b2b044d1b78b7b9ef6e108cf82e1 + pristine_git_object: df104c01905f67dbb328542115fe64c05627f002 src/outpost_sdk/errors/__init__.py: id: 8cd8140f4773 last_write_checksum: sha1:32a90fdbd5d713cbffb8ff6e4066055df2268392 @@ -1000,8 +1095,8 @@ trackedFiles: pristine_git_object: 38b68bb656c457a7801b6da04e384737dd5ffdb2 src/outpost_sdk/events.py: id: 8b2e2ec7d8c0 - last_write_checksum: sha1:c26ae4ebf42cf92f19b1394569c7e8c505b86792 - pristine_git_object: dba2ccdd6e54cb909b5e487bc19fa8f9d132d7a3 + last_write_checksum: sha1:b49930d668a10235412397c635956efcda977422 + pristine_git_object: 5e5676835af520b9c5e1c3cb97529a5e9dd09948 src/outpost_sdk/health.py: id: 10a3c4bcf747 last_write_checksum: sha1:188fe7fc606e8fc4f43756f12814010f560f424e @@ -1016,12 +1111,12 @@ trackedFiles: pristine_git_object: d677f102c6aa27e835f58ca0a2c2a9dda93aedfa src/outpost_sdk/models/__init__.py: id: 690a20e1a54c - last_write_checksum: sha1:197dd6550ecc7578ffe25a85dd099186bf618d33 - pristine_git_object: 8ad0d1f34f23301369842591c3f3ebff77faf522 + last_write_checksum: sha1:bf41d3fc7d4d3caf1c92ebd77acdcbdc1ce4f6d4 + pristine_git_object: 0838b4df458550dfb919fece960423ef6550e873 src/outpost_sdk/models/attempt.py: id: 931b46ffc0d9 - last_write_checksum: sha1:1b25ba290854c590f67a36d8fa356305befdfd2b - pristine_git_object: 5843193d195050073d646b0d9b7dd2aa93ff14c5 + last_write_checksum: sha1:ad0b3369316e4986c8a8b853bf559f6845d7cb47 + pristine_git_object: 09a5fc10a4204309c21bd5468662a382b914c720 src/outpost_sdk/models/attemptpaginatedresult.py: id: 8a2ab0a7d088 last_write_checksum: sha1:39409cd3e985c40ce038b6e29d28766a2694a04e @@ -1030,34 +1125,66 @@ trackedFiles: id: fb8571913af4 last_write_checksum: sha1:076a0abb86a71f628d7eb608089dc799eb7564db pristine_git_object: 0df6bfba8da07fd7e74eec7f64a540df06ec7587 + src/outpost_sdk/models/awskinesisconfigupdate.py: + id: 4410ef0791e5 + last_write_checksum: sha1:58b224f28ea4b1e92c40223398ff23e5eea539ac + pristine_git_object: c4f5db403429d5539bded094f4f4e6d38f5dad22 src/outpost_sdk/models/awskinesiscredentials.py: id: 0578ec0c9b6e last_write_checksum: sha1:af34ea8ee3cf3333ff29b1d3837b0973d69bb351 pristine_git_object: eff5f62cf42b1ec6510a0fabee3b26fcee9a4351 + src/outpost_sdk/models/awskinesiscredentialsupdate.py: + id: 94eb4b9fde39 + last_write_checksum: sha1:1c85a720e1bf0a205cdaaa6bc7aebf81ee056618 + pristine_git_object: 36f0eae9f4207f057afabcbaee0dff6d650e175f src/outpost_sdk/models/awss3config.py: id: a2ed2a804efb last_write_checksum: sha1:bdaff59f2600b6fdbdae0273131f6ed1769ffbdd pristine_git_object: 2dccd8c47f15fa8074eca0f2b9a8476db4835247 + src/outpost_sdk/models/awss3configupdate.py: + id: f551facd5dea + last_write_checksum: sha1:b5edfa2d1dd97756d04154e1c0870dae548a51cd + pristine_git_object: 4ba76dd00528b6ceb0ea7048d4783eac243add62 src/outpost_sdk/models/awss3credentials.py: id: d64070cd6a9d last_write_checksum: sha1:eb091d3cd0fdd3d23aad54f5a49d7a31b8a15a7a pristine_git_object: 7d36bb72b1f9180953f8af379c80bbf6fe41d0c1 + src/outpost_sdk/models/awss3credentialsupdate.py: + id: 9165f27efb2c + last_write_checksum: sha1:08cc1eeb5679e66bdfa3faaf4e78d7b1e4b0f376 + pristine_git_object: 99b9ffb0c07b4bcc2688c3d45aad97aafe6441a1 src/outpost_sdk/models/awssqsconfig.py: id: 8d2a992822e1 last_write_checksum: sha1:58539e1768f1b64665632a35c5230f63da8fd4c8 pristine_git_object: 46d05210e04d9c9e75bb2c49f3734da9f9adcd45 + src/outpost_sdk/models/awssqsconfigupdate.py: + id: 7ee4eacbeb9f + last_write_checksum: sha1:3679dddd09feb618af82c812bc66e8c0197bfa08 + pristine_git_object: 7ba02603c441bc4a0ffcf727f8aa42b259aaaabd src/outpost_sdk/models/awssqscredentials.py: id: 83be77c3aac0 last_write_checksum: sha1:35c2fe0795a7d50635cb790105611bee80339ac0 pristine_git_object: ea84c37e7a21097d27af1eb64b37772e2686085c + src/outpost_sdk/models/awssqscredentialsupdate.py: + id: 2b11e235d6f9 + last_write_checksum: sha1:5d0ed6330a0e77c501d5e34e96aa072204d82252 + pristine_git_object: 4c411cd3cf530cde5ece30da392c59d3de709b7d src/outpost_sdk/models/azureservicebusconfig.py: id: 9369230317df last_write_checksum: sha1:b2015d2d8aee1a5d0047297e806d41f979005c5d pristine_git_object: e57478049f03057c62b088f33898d70a17751e44 + src/outpost_sdk/models/azureservicebusconfigupdate.py: + id: 0c662ae1585a + last_write_checksum: sha1:d0b9dd73365c590baabe73f7e7c492e798edc79e + pristine_git_object: 97b6a46257141325f2699b38110075c74be37020 src/outpost_sdk/models/azureservicebuscredentials.py: id: 335a5fe74daf last_write_checksum: sha1:b9142ec67ffa4700e1b614cd5ccf64eac7a11278 pristine_git_object: 30d9b6df725736d076367450277f83c2c9829fc3 + src/outpost_sdk/models/azureservicebuscredentialsupdate.py: + id: a3badfc27e22 + last_write_checksum: sha1:f3d814e2d3e477426961eadaf32cb9ad0c917eee + pristine_git_object: 083c7a033af5b88a336f491cf4f8a6e99d120429 src/outpost_sdk/models/createtenantdestinationop.py: id: 13d5940f603f last_write_checksum: sha1:f775f852ebb6fd6acb810d09c7f6c1a4e5c74eba @@ -1160,44 +1287,44 @@ trackedFiles: pristine_git_object: 61258f4531587dcfccde99db54a9ba09e5f9b256 src/outpost_sdk/models/destinationupdate.py: id: 4791a55bcc9b - last_write_checksum: sha1:fdc004dea3b9e92b4762eaacf367ccdd2fb64662 - pristine_git_object: fa48fe5c8c2784739530411244f4be71786a5d23 + last_write_checksum: sha1:7453689da251c9fb13f904b4e6b476522816fe43 + pristine_git_object: 6e4f4b029fcaa5000457467ed6fbcae3a6ceb380 src/outpost_sdk/models/destinationupdateawskinesis.py: id: 4fafb7c70bff - last_write_checksum: sha1:9b5fb03648f9a8b8da4c4e33f67e1d8d64a71566 - pristine_git_object: 4c4d0b6786f8eb6c03a0ba82f6694ab38cad044c + last_write_checksum: sha1:30550e6c785baaa5d7cdd246cdbb418be44ec921 + pristine_git_object: 830f921e6984a2b8ea4b6c312ff923c1ea86b2ae src/outpost_sdk/models/destinationupdateawss3.py: id: 46ad0c46a423 - last_write_checksum: sha1:865f5927f87bb0933c365aa96b5a2f131d58a080 - pristine_git_object: 67362ea74aa33ddd03c9112b6435b1d234842454 + last_write_checksum: sha1:ae34ff12ee8c5cee3c44477960abbcb8105a8634 + pristine_git_object: 37b37a3cc8b3f2615b88410d7c67b22aa517fa3c src/outpost_sdk/models/destinationupdateawssqs.py: id: 26cfbd4e6127 - last_write_checksum: sha1:67988d264e4983eb4d6c874ca6c5b062345723b5 - pristine_git_object: 778c496232d97d45882f3e4ede893cd1659e8347 + last_write_checksum: sha1:6e1147f0fbe1a184d7c24ecb2fe7861afe127635 + pristine_git_object: 29fbc9e04214fb0b0e0bc4624349c0edc176b628 src/outpost_sdk/models/destinationupdateazureservicebus.py: id: 255b1dd4b368 - last_write_checksum: sha1:6bf6dff9de4305205fe4356a55f98833bd04cf79 - pristine_git_object: de34250b7b5e49aeafe09acaf831c16679a37551 + last_write_checksum: sha1:e4387e0beda90677457e7b3b79abf810cc6d46c6 + pristine_git_object: 43a62488eeb1dbc8a1e78489bd496e2c6ad039ec src/outpost_sdk/models/destinationupdategcppubsub.py: id: 970389551c42 - last_write_checksum: sha1:fe2979fdb5e014ad1244c8655e0b45316707b102 - pristine_git_object: a5e1d36f3f0a59ea8725510be67f33eb7ad3ab7c + last_write_checksum: sha1:6464dc4db706c9cfe16c84fabb0c39970ecb495f + pristine_git_object: 87597e4471b9093974e0ab2700bb17db81e4c039 src/outpost_sdk/models/destinationupdatehookdeck.py: id: e1c91a86e3a2 - last_write_checksum: sha1:a89f10e336e9ce653a59e0b9994aab60f49c6d53 - pristine_git_object: a01775b1b1a7054fee017f6cac3ae5ce5f5251f7 + last_write_checksum: sha1:1a03d30131b2f4dfdd7e0593d3b04a28b30db9aa + pristine_git_object: 5e403b2432a8d893345e9cfd72592b94c177ac93 src/outpost_sdk/models/destinationupdatekafka.py: id: 921d1fa5a79e - last_write_checksum: sha1:6113bd7f24e6e55f64a4163526266f499fe1ce31 - pristine_git_object: 3d2343bce7a142845dc578357f45415c65981b7d + last_write_checksum: sha1:d0c2e26bdf398d1d2c6416c8606d9cc1804d131f + pristine_git_object: 53e7537577abda0e84ea75c20c0ff8b0b5788f7d src/outpost_sdk/models/destinationupdaterabbitmq.py: id: 92e3f15788ed - last_write_checksum: sha1:73c5dc9a8e81ed8dd6af5b8064905320935dd6cb - pristine_git_object: 6290d37b933033fed2d74776f9b94a27deb3c92f + last_write_checksum: sha1:a90da17f95c6c5acba01c0d9ce70a7d92b6911cf + pristine_git_object: 90ab3bec79c50d9bcf89fd195d777f87e2e0520e src/outpost_sdk/models/destinationupdatewebhook.py: id: 9c02c3e9e713 - last_write_checksum: sha1:9a565748662f029aadc842b524ca2c4f8ac3071a - pristine_git_object: 7d606a708e6f79aac7a4cfac6c58dd2c9dfd3dca + last_write_checksum: sha1:3b4c17b47493f0acf5c61026a3a1e386348b91fb + pristine_git_object: 1e99fe9d8a0b2c53a07d88f31a0b167ead63e0c4 src/outpost_sdk/models/destinationwebhook.py: id: 4c4e5b9c334f last_write_checksum: sha1:5c2ced96bda12e49a07be2e3a667964b28d33754 @@ -1222,10 +1349,18 @@ trackedFiles: id: 5088ceb75781 last_write_checksum: sha1:00ca10c52495f57d6ae4e5429a24a4716bb0a625 pristine_git_object: 7a952ba7d161bb3e9f89e5b554e2198a5422a9f7 + src/outpost_sdk/models/gcppubsubconfigupdate.py: + id: 7fc52dbc0b73 + last_write_checksum: sha1:973d7c9b5e2143471017c41bfa831497e2b2e4d6 + pristine_git_object: 499897c6bc1efd91ab23949000beca30931c1885 src/outpost_sdk/models/gcppubsubcredentials.py: id: abca05169737 last_write_checksum: sha1:dc8390c93bf25ac535e88256a7e4d5b4717055f1 pristine_git_object: 359c1110785eb1541c9db38d18edf145df04bfc6 + src/outpost_sdk/models/gcppubsubcredentialsupdate.py: + id: d3383cc22bbe + last_write_checksum: sha1:9df7ccd133819e94d3cbdd9b8069f0513e0fcdb6 + pristine_git_object: 562dfd33f447bc074b4746366d7a54ed0f7e1248 src/outpost_sdk/models/getattemptmetricsop.py: id: f4bca8e34941 last_write_checksum: sha1:9339289cc9ec944bc10b6eb05b00c9a6c120b611 @@ -1274,34 +1409,46 @@ trackedFiles: id: 041a365549a7 last_write_checksum: sha1:04adb83d109e614b3f7e7fee62ebdcf406155008 pristine_git_object: 090b478df5d6be4f69b4460766fb4f87411d2d43 + src/outpost_sdk/models/hookdeckcredentialsupdate.py: + id: 42c0e8bcd187 + last_write_checksum: sha1:173c81528d7b711db9988139e0d10de553f9d91c + pristine_git_object: 4a42b5cf97b04a4dc4774f5fd637a9e76b9b4aa1 src/outpost_sdk/models/kafkaconfig.py: id: 5b188d4222f4 - last_write_checksum: sha1:7eca4298bcea679c43e723d5ff4570a992fd0731 - pristine_git_object: c7b66d7a72983fa3d182ae73a45623bee5650f41 + last_write_checksum: sha1:49a8030ce5a7a0b798375480dbe41d136ac7c6e5 + pristine_git_object: 0e22d7ae8c467b0c5e3f1a4e1401c97fc75b4a7c + src/outpost_sdk/models/kafkaconfigupdate.py: + id: cac8255c2191 + last_write_checksum: sha1:c8ed03fdfbfbac56e28f49fee983ab0c8b614fb4 + pristine_git_object: f5333cca4399973dac7e6dc84b179602df1b8863 src/outpost_sdk/models/kafkacredentials.py: id: 7dee1dae9808 last_write_checksum: sha1:8a32ccc38642e7199d9205b4a365f25210f05f60 pristine_git_object: cc1b90f91705f18e199555488d131e4416f52f8f + src/outpost_sdk/models/kafkacredentialsupdate.py: + id: 0e93da934ff1 + last_write_checksum: sha1:2e68621027276c3a7059871eddc8bc8bcd6c9d62 + pristine_git_object: fdfc32e211fc2942cb71477594c96201c8f46c2a src/outpost_sdk/models/listattemptsop.py: id: 23d568326218 - last_write_checksum: sha1:f8cb3013d945c1fac886c78c11d854a5539543f6 - pristine_git_object: 1ab1fa635a736391a407c761bd493dfea6125afc + last_write_checksum: sha1:a9084ec649fe207765b44c8ed88100b31e61c0a4 + pristine_git_object: 2eaa5c61d362b21a80345be689c728205b3c8949 src/outpost_sdk/models/listeventsop.py: id: 2d1ec5c5d505 - last_write_checksum: sha1:8a643b4dc1be0e9442568dbbe9798edd0baa1391 - pristine_git_object: 3e72b9a25fbd7dce4568dc75983f2326a780c652 + last_write_checksum: sha1:8356a19d33b3971f478732a2b6fd6cef0ce36bfe + pristine_git_object: af73d9d7510853fdbcf4c4002e60d11163786ab0 src/outpost_sdk/models/listtenantdestinationattemptsop.py: id: 1b700f60c32a - last_write_checksum: sha1:0499478d8172076e21145838bd6190732286577f - pristine_git_object: 495c4e7d1278d397fd06614174d3bf69f0e730e6 + last_write_checksum: sha1:db94a6cd13c0bb7dec65f298a6da1e72a28f516c + pristine_git_object: c081deef9e98136257351e2c8148b49a79a0b01d src/outpost_sdk/models/listtenantdestinationsop.py: id: 8e9d6032dbe9 last_write_checksum: sha1:68ce6e93902bdb9c6ec423f1cbeb08768f387995 pristine_git_object: dd62647327fa462c021460f7e2d119bf16839c5b src/outpost_sdk/models/listtenantsop.py: id: 4f4212a7d66b - last_write_checksum: sha1:61259c156c44c30bfd6c9670408d0ce3813e3774 - pristine_git_object: 3ffaf234fbda6f5fd0b915e3f0d4df0d9d073bcd + last_write_checksum: sha1:15ab05958bf70dc905de3dfcb348f6b87a4cb886 + pristine_git_object: fff65f0f24d2f2717481ea57b803c03acc35d10f src/outpost_sdk/models/managedconfig.py: id: 6e2467f6cfb6 last_write_checksum: sha1:9371d6424fb548a90658dfa23cb88400ffa34990 @@ -1338,10 +1485,18 @@ trackedFiles: id: 9052e976265f last_write_checksum: sha1:c77a7fa02b60d84caac942935d37e1ba47baf533 pristine_git_object: 29fffdaa8315096accc464e540fa05a3512b9259 + src/outpost_sdk/models/rabbitmqconfigupdate.py: + id: 9b3a6c9fd48c + last_write_checksum: sha1:3ae5b11e928a7fe9085dcd3f86a4e6ff7dcdae7a + pristine_git_object: b01ae0f55e099233b09116b72f3c4c992e2da7af src/outpost_sdk/models/rabbitmqcredentials.py: id: 4fd25a9a0775 last_write_checksum: sha1:02394a65044b85394a0a1cbdb6f63875f0142c83 pristine_git_object: 5cc38becb768c93078dbb09d7927c7141484b300 + src/outpost_sdk/models/rabbitmqcredentialsupdate.py: + id: 278e87a040fa + last_write_checksum: sha1:6eb6df16a0f405f25a8c3af241fb40d0526edb05 + pristine_git_object: b8c331305b34df243473a722c35bb71c67774b0a src/outpost_sdk/models/retryrequest.py: id: 5d7f475f728f last_write_checksum: sha1:9c2baa11f65452e0e5cec61daddb865004ffabbb @@ -1390,14 +1545,18 @@ trackedFiles: id: fe92488cf40a last_write_checksum: sha1:7ffa7fff12b5533a24029111be499501860f5e58 pristine_git_object: e4dae5e849ad61fc221e2eafda8658e3e6b1e9d9 + src/outpost_sdk/models/webhookconfigupdate.py: + id: 92e830c902ca + last_write_checksum: sha1:c9a73856a23c2bb0e033f04618c48eeaa23ba7bc + pristine_git_object: d42122d2984e6b386ccb9682b8bfcf83747746b7 src/outpost_sdk/models/webhookcredentials.py: id: b7f3472f7eaf last_write_checksum: sha1:15611deb83d704548faecd29a1be7b857a959535 pristine_git_object: 1217324366cde0664c1d2321d3673a400f51919d src/outpost_sdk/models/webhookcredentialsupdate.py: id: 7d38cc3a7838 - last_write_checksum: sha1:361683d2675dee7760af86d012a36f78bbed02ba - pristine_git_object: 18ee1833a367e6e1c2b2278481e33b4ef07c0ecd + last_write_checksum: sha1:154c879b33306291ab58e016d04dc9c73646c3e0 + pristine_git_object: 8c1a352d0c4245b992c8a993c19efc4dd315e0d3 src/outpost_sdk/py.typed: id: 4f30ed072a58 last_write_checksum: sha1:8efc425ffe830805ffcc0f3055871bdcdc542c60 @@ -1408,24 +1567,28 @@ trackedFiles: pristine_git_object: 80fb826a1bc12decc08084c641cb26d0eb2bbec0 src/outpost_sdk/sdk.py: id: 745ed80a189d - last_write_checksum: sha1:17c8b08b2409a8e38a88ee0c6234aebbec863fef - pristine_git_object: a33eb9a7a149668da25809a001d13faf166d5f42 + last_write_checksum: sha1:d4bb90b88f927b43017822a2608535621a4f71ef + pristine_git_object: f8cdb23f7d3a56156a940076b5d1655e72560469 src/outpost_sdk/sdkconfiguration.py: id: 730fcc1ee551 last_write_checksum: sha1:e21789880a912f502c7e435bc95db99696c4cbaa pristine_git_object: 6a045c19a5a7a033e43debf63d5393d9459d2d32 src/outpost_sdk/tenants.py: id: 6575cae7064e - last_write_checksum: sha1:94e9fcd52f835ed28d107eef5504f9a63b75e6a3 - pristine_git_object: 83a6b63bcc8fc6b80a6606b17d84b2c4d91dfdd1 + last_write_checksum: sha1:97806c1808891c0fc9affe8adeeb367e638019ff + pristine_git_object: 655389e13674695148858b8f8af95e7ab0ee2352 src/outpost_sdk/topics_sdk.py: id: 7e5ee20344bd last_write_checksum: sha1:f6c4511b5e00702bfb9cb92d178916161616c4a5 pristine_git_object: b31c88d21fcc90302777e35e8f230f8e941f796c src/outpost_sdk/types/__init__.py: id: 6a8947a74498 - last_write_checksum: sha1:140ebdd01a46f92ffc710c52c958c4eba3cf68ed - pristine_git_object: fc76fe0c5505e29859b5d2bb707d48fd27661b8c + last_write_checksum: sha1:f9ad14217f832e74f594285960125add50324be9 + pristine_git_object: faa268137bc01c9d08cfadc4797017db48747a96 + src/outpost_sdk/types/base64fileinput.py: + id: efd371b5f586 + last_write_checksum: sha1:4780e893d3853b5a6e28d9a6ca3ee102ce0f502d + pristine_git_object: 25fc53989ed497649363f983219fc58705c8bf87 src/outpost_sdk/types/basemodel.py: id: a135d73a3022 last_write_checksum: sha1:10d84aedeb9d35edfdadf2c3020caa1d24d8b584 @@ -1649,7 +1812,7 @@ examples: tenant_id: "" destination_id: "" requestBody: - application/json: {"topics": "*", "config": {"server_url": "localhost:5672", "exchange": "my-exchange", "tls": "false"}, "credentials": {"username": "guest", "password": "guest"}} + application/json: {"type": "kafka"} responses: "200": application/json: {"id": "des_webhook_123", "type": "webhook", "topics": ["user.created"], "disabled_at": null, "created_at": "2024-02-15T10:00:00Z", "updated_at": "2024-02-15T10:00:00Z", "config": {"url": "https://my-service.com/webhook/new-handler"}, "credentials": {"secret": "whsec_abc123def456", "previous_secret": "whsec_prev789xyz012", "previous_secret_invalid_at": "2024-02-16T10:00:00Z"}} @@ -1659,7 +1822,7 @@ examples: tenant_id: "" destination_id: "" requestBody: - application/json: {"topics": ["user.created"], "config": {"url": "https://my-service.com/webhook/new-handler"}} + application/json: {"type": "hookdeck"} responses: "200": application/json: {"id": "des_webhook_123", "type": "webhook", "topics": ["user.created", "order.shipped"], "disabled_at": null, "created_at": "2024-02-15T10:00:00Z", "updated_at": "2024-02-15T10:00:00Z", "config": {"url": "https://my-service.com/webhook/handler"}, "credentials": {"secret": "whsec_abc123def456", "previous_secret": "whsec_prev789xyz012", "previous_secret_invalid_at": "2024-02-16T10:00:00Z"}} @@ -2086,8 +2249,7 @@ examplesVersion: 1.0.2 generatedTests: {} releaseNotes: | ## Python SDK Changes: - * `outpost.destinations.create()`: `request.body` **Changed** - * `outpost.destinations.update()`: `request.body` **Changed** + * `outpost.destinations.update()`: `request.body` **Changed** (Breaking ⚠️) generatedFiles: - .gitattributes - .vscode/settings.json diff --git a/sdks/outpost-python/.speakeasy/gen.yaml b/sdks/outpost-python/.speakeasy/gen.yaml index 6147d945a..47b22953a 100644 --- a/sdks/outpost-python/.speakeasy/gen.yaml +++ b/sdks/outpost-python/.speakeasy/gen.yaml @@ -29,7 +29,7 @@ generation: generateNewTests: false skipResponseBodyAssertions: false python: - version: 1.3.0 + version: 1.4.0 additionalDependencies: dev: {} main: {} diff --git a/sdks/outpost-python/README-PYPI.md b/sdks/outpost-python/README-PYPI.md index 59bc98367..32f9665b5 100644 --- a/sdks/outpost-python/README-PYPI.md +++ b/sdks/outpost-python/README-PYPI.md @@ -24,7 +24,6 @@ Outpost API: The Outpost API is a REST-based JSON API for managing tenants, dest * [SDK Example Usage](https://github.com/hookdeck/outpost/blob/master/sdks/outpost-python/#sdk-example-usage) * [Authentication](https://github.com/hookdeck/outpost/blob/master/sdks/outpost-python/#authentication) * [Available Resources and Operations](https://github.com/hookdeck/outpost/blob/master/sdks/outpost-python/#available-resources-and-operations) - * [Pagination](https://github.com/hookdeck/outpost/blob/master/sdks/outpost-python/#pagination) * [Retries](https://github.com/hookdeck/outpost/blob/master/sdks/outpost-python/#retries) * [Error Handling](https://github.com/hookdeck/outpost/blob/master/sdks/outpost-python/#error-handling) * [Server Selection](https://github.com/hookdeck/outpost/blob/master/sdks/outpost-python/#server-selection) @@ -289,32 +288,6 @@ with Outpost( - -## Pagination - -Some of the endpoints in this SDK support pagination. To use pagination, you make your SDK calls as usual, but the -returned response object will have a `Next` method that can be called to pull down the next group of results. If the -return value of `Next` is `None`, then there are no more pages to be fetched. - -Here's an example of one such pagination call: -```python -from outpost_sdk import Outpost - - -with Outpost( - api_key="", -) as outpost: - - res = outpost.tenants.list(request={}) - - while res is not None: - # Handle items - - res = res.next() - -``` - - ## Retries diff --git a/sdks/outpost-python/README.md b/sdks/outpost-python/README.md index 1ddef71ff..ba5c4b369 100644 --- a/sdks/outpost-python/README.md +++ b/sdks/outpost-python/README.md @@ -24,7 +24,6 @@ Outpost API: The Outpost API is a REST-based JSON API for managing tenants, dest * [SDK Example Usage](#sdk-example-usage) * [Authentication](#authentication) * [Available Resources and Operations](#available-resources-and-operations) - * [Pagination](#pagination) * [Retries](#retries) * [Error Handling](#error-handling) * [Server Selection](#server-selection) @@ -289,32 +288,6 @@ with Outpost( - -## Pagination - -Some of the endpoints in this SDK support pagination. To use pagination, you make your SDK calls as usual, but the -returned response object will have a `Next` method that can be called to pull down the next group of results. If the -return value of `Next` is `None`, then there are no more pages to be fetched. - -Here's an example of one such pagination call: -```python -from outpost_sdk import Outpost - - -with Outpost( - api_key="", -) as outpost: - - res = outpost.tenants.list(request={}) - - while res is not None: - # Handle items - - res = res.next() - -``` - - ## Retries diff --git a/sdks/outpost-python/RELEASES.md b/sdks/outpost-python/RELEASES.md index a0f70d9cc..20392c493 100644 --- a/sdks/outpost-python/RELEASES.md +++ b/sdks/outpost-python/RELEASES.md @@ -158,4 +158,14 @@ Based on: ### Generated - [python v1.3.0] sdks/outpost-python ### Releases -- [PyPI v1.3.0] https://pypi.org/project/outpost_sdk/1.3.0 - sdks/outpost-python \ No newline at end of file +- [PyPI v1.3.0] https://pypi.org/project/outpost_sdk/1.3.0 - sdks/outpost-python + +## 2026-05-29 18:30:38 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.768.2 (2.889.1) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v1.4.0] sdks/outpost-python +### Releases +- [PyPI v1.4.0] https://pypi.org/project/outpost_sdk/1.4.0 - sdks/outpost-python \ No newline at end of file diff --git a/sdks/outpost-python/docs/models/awskinesisconfigupdate.md b/sdks/outpost-python/docs/models/awskinesisconfigupdate.md new file mode 100644 index 000000000..328b48224 --- /dev/null +++ b/sdks/outpost-python/docs/models/awskinesisconfigupdate.md @@ -0,0 +1,13 @@ +# AWSKinesisConfigUpdate + +Partial AWS Kinesis config for PATCH updates (RFC 7396 merge-patch). + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `stream_name` | *Optional[str]* | :heavy_minus_sign: | The name of the AWS Kinesis stream. | +| `region` | *Optional[str]* | :heavy_minus_sign: | The AWS region where the Kinesis stream is located. | +| `endpoint` | *Optional[str]* | :heavy_minus_sign: | Optional. Custom AWS endpoint URL (e.g., for LocalStack or VPC endpoints). | +| `partition_key_template` | *Optional[str]* | :heavy_minus_sign: | Optional. JMESPath template to extract the partition key from the event payload. | \ No newline at end of file diff --git a/sdks/outpost-python/docs/models/awskinesiscredentialsupdate.md b/sdks/outpost-python/docs/models/awskinesiscredentialsupdate.md new file mode 100644 index 000000000..92474759b --- /dev/null +++ b/sdks/outpost-python/docs/models/awskinesiscredentialsupdate.md @@ -0,0 +1,12 @@ +# AWSKinesisCredentialsUpdate + +Partial AWS Kinesis credentials for PATCH updates (RFC 7396 merge-patch). + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | +| `key` | *Optional[str]* | :heavy_minus_sign: | AWS Access Key ID. | +| `secret` | *Optional[str]* | :heavy_minus_sign: | AWS Secret Access Key. | +| `session` | *Optional[str]* | :heavy_minus_sign: | Optional AWS Session Token (for temporary credentials). | \ No newline at end of file diff --git a/sdks/outpost-python/docs/models/awss3configupdate.md b/sdks/outpost-python/docs/models/awss3configupdate.md new file mode 100644 index 000000000..52775eda8 --- /dev/null +++ b/sdks/outpost-python/docs/models/awss3configupdate.md @@ -0,0 +1,13 @@ +# Awss3ConfigUpdate + +Partial AWS S3 config for PATCH updates (RFC 7396 merge-patch). + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- | +| `bucket` | *Optional[str]* | :heavy_minus_sign: | The name of your AWS S3 bucket. | +| `region` | *Optional[str]* | :heavy_minus_sign: | The AWS region where your bucket is located. | +| `key_template` | *Optional[str]* | :heavy_minus_sign: | JMESPath expression for generating S3 object keys. | +| `storage_class` | *Optional[str]* | :heavy_minus_sign: | The storage class for the S3 objects. | \ No newline at end of file diff --git a/sdks/outpost-python/docs/models/awss3credentialsupdate.md b/sdks/outpost-python/docs/models/awss3credentialsupdate.md new file mode 100644 index 000000000..48662e0be --- /dev/null +++ b/sdks/outpost-python/docs/models/awss3credentialsupdate.md @@ -0,0 +1,12 @@ +# Awss3CredentialsUpdate + +Partial AWS S3 credentials for PATCH updates (RFC 7396 merge-patch). + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | +| `key` | *Optional[str]* | :heavy_minus_sign: | AWS Access Key ID. | +| `secret` | *Optional[str]* | :heavy_minus_sign: | AWS Secret Access Key. | +| `session` | *Optional[str]* | :heavy_minus_sign: | Optional AWS Session Token (for temporary credentials). | \ No newline at end of file diff --git a/sdks/outpost-python/docs/models/awssqsconfigupdate.md b/sdks/outpost-python/docs/models/awssqsconfigupdate.md new file mode 100644 index 000000000..f62646d99 --- /dev/null +++ b/sdks/outpost-python/docs/models/awssqsconfigupdate.md @@ -0,0 +1,11 @@ +# AWSSQSConfigUpdate + +Partial AWS SQS config for PATCH updates (RFC 7396 merge-patch). + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | +| `endpoint` | *Optional[str]* | :heavy_minus_sign: | Optional. Custom AWS endpoint URL (e.g., for LocalStack or specific regions). | https://sqs.us-east-1.amazonaws.com | +| `queue_url` | *Optional[str]* | :heavy_minus_sign: | The URL of the SQS queue. | https://sqs.us-east-1.amazonaws.com/123456789012/my-queue | \ No newline at end of file diff --git a/sdks/outpost-python/docs/models/awssqscredentialsupdate.md b/sdks/outpost-python/docs/models/awssqscredentialsupdate.md new file mode 100644 index 000000000..7741d1898 --- /dev/null +++ b/sdks/outpost-python/docs/models/awssqscredentialsupdate.md @@ -0,0 +1,12 @@ +# AWSSQSCredentialsUpdate + +Partial AWS SQS credentials for PATCH updates (RFC 7396 merge-patch). + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | +| `key` | *Optional[str]* | :heavy_minus_sign: | AWS Access Key ID. | +| `secret` | *Optional[str]* | :heavy_minus_sign: | AWS Secret Access Key. | +| `session` | *Optional[str]* | :heavy_minus_sign: | Optional AWS Session Token (for temporary credentials). | \ No newline at end of file diff --git a/sdks/outpost-python/docs/models/azureservicebusconfigupdate.md b/sdks/outpost-python/docs/models/azureservicebusconfigupdate.md new file mode 100644 index 000000000..c19f13370 --- /dev/null +++ b/sdks/outpost-python/docs/models/azureservicebusconfigupdate.md @@ -0,0 +1,10 @@ +# AzureServiceBusConfigUpdate + +Partial Azure Service Bus config for PATCH updates (RFC 7396 merge-patch). + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | +| `name` | *Optional[str]* | :heavy_minus_sign: | The name of the Azure Service Bus queue or topic to publish messages to. | \ No newline at end of file diff --git a/sdks/outpost-python/docs/models/azureservicebuscredentialsupdate.md b/sdks/outpost-python/docs/models/azureservicebuscredentialsupdate.md new file mode 100644 index 000000000..5a620e74f --- /dev/null +++ b/sdks/outpost-python/docs/models/azureservicebuscredentialsupdate.md @@ -0,0 +1,10 @@ +# AzureServiceBusCredentialsUpdate + +Partial Azure Service Bus credentials for PATCH updates (RFC 7396 merge-patch). + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | +| `connection_string` | *Optional[str]* | :heavy_minus_sign: | The connection string for the Azure Service Bus namespace. | \ No newline at end of file diff --git a/sdks/outpost-python/docs/models/destinationawskinesis.md b/sdks/outpost-python/docs/models/destinationawskinesis.md index a2d53e673..c755547d9 100644 --- a/sdks/outpost-python/docs/models/destinationawskinesis.md +++ b/sdks/outpost-python/docs/models/destinationawskinesis.md @@ -9,7 +9,7 @@ | `type` | [models.DestinationAWSKinesisType](../models/destinationawskinesistype.md) | :heavy_check_mark: | Type of the destination. | aws_kinesis | | `topics` | [models.TopicsUnion](../models/topicsunion.md) | :heavy_check_mark: | "*" or an array of enabled topics. | * | | `filter_` | Dict[str, *Any*] | :heavy_minus_sign: | Optional JSON schema filter for event matching. Events must match this filter to be delivered to this destination.
Supports operators: $eq, $neq, $gt, $gte, $lt, $lte, $in, $nin, $startsWith, $endsWith, $exist, $or, $and, $not.
If null or empty, all events matching the topic filter will be delivered.
Uses full-replacement semantics on update: send a new object to replace, null or `{}` to clear, omit for no change.
| {
"data": {
"amount": {
"$gte": 100
},
"customer": {
"tier": "premium"
}
}
} | -| `disabled_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | ISO Date when the destination was disabled, or null if enabled. | | +| `disabled_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | ISO Date when the destination was disabled, or null if enabled. | null | | `created_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | ISO Date when the destination was created. | 2024-01-01T00:00:00Z | | `updated_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | ISO Date when the destination was last updated. | 2024-01-01T00:00:00Z | | `config` | [models.AWSKinesisConfig](../models/awskinesisconfig.md) | :heavy_check_mark: | N/A | | diff --git a/sdks/outpost-python/docs/models/destinationawss3.md b/sdks/outpost-python/docs/models/destinationawss3.md index 34b19a283..796430d61 100644 --- a/sdks/outpost-python/docs/models/destinationawss3.md +++ b/sdks/outpost-python/docs/models/destinationawss3.md @@ -9,7 +9,7 @@ | `type` | [models.DestinationAwss3Type](../models/destinationawss3type.md) | :heavy_check_mark: | Type of the destination. | aws_s3 | | `topics` | [models.TopicsUnion](../models/topicsunion.md) | :heavy_check_mark: | "*" or an array of enabled topics. | * | | `filter_` | Dict[str, *Any*] | :heavy_minus_sign: | Optional JSON schema filter for event matching. Events must match this filter to be delivered to this destination.
Supports operators: $eq, $neq, $gt, $gte, $lt, $lte, $in, $nin, $startsWith, $endsWith, $exist, $or, $and, $not.
If null or empty, all events matching the topic filter will be delivered.
Uses full-replacement semantics on update: send a new object to replace, null or `{}` to clear, omit for no change.
| {
"data": {
"amount": {
"$gte": 100
},
"customer": {
"tier": "premium"
}
}
} | -| `disabled_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | ISO Date when the destination was disabled, or null if enabled. | | +| `disabled_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | ISO Date when the destination was disabled, or null if enabled. | null | | `created_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | ISO Date when the destination was created. | 2024-01-01T00:00:00Z | | `updated_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | ISO Date when the destination was last updated. | 2024-01-01T00:00:00Z | | `config` | [models.Awss3Config](../models/awss3config.md) | :heavy_check_mark: | N/A | | @@ -17,4 +17,4 @@ | `delivery_metadata` | Dict[str, *str*] | :heavy_minus_sign: | Static key-value pairs merged into event metadata on every attempt. | {
"app-id": "my-app",
"region": "us-east-1"
} | | `metadata` | Dict[str, *str*] | :heavy_minus_sign: | Arbitrary contextual information stored with the destination. | {
"internal-id": "123",
"team": "platform"
} | | `target` | *Optional[str]* | :heavy_minus_sign: | A human-readable representation of the destination target (bucket and region). Read-only. | my-bucket in us-east-1 | -| `target_url` | *OptionalNullable[str]* | :heavy_minus_sign: | A URL link to the destination target (AWS Console link to the bucket). Read-only. | | \ No newline at end of file +| `target_url` | *OptionalNullable[str]* | :heavy_minus_sign: | A URL link to the destination target (AWS Console link to the bucket). Read-only. | null | \ No newline at end of file diff --git a/sdks/outpost-python/docs/models/destinationawssqs.md b/sdks/outpost-python/docs/models/destinationawssqs.md index 681c20d52..b8aec3ed5 100644 --- a/sdks/outpost-python/docs/models/destinationawssqs.md +++ b/sdks/outpost-python/docs/models/destinationawssqs.md @@ -9,7 +9,7 @@ | `type` | [models.DestinationAWSSQSType](../models/destinationawssqstype.md) | :heavy_check_mark: | Type of the destination. | aws_sqs | | `topics` | [models.TopicsUnion](../models/topicsunion.md) | :heavy_check_mark: | "*" or an array of enabled topics. | * | | `filter_` | Dict[str, *Any*] | :heavy_minus_sign: | Optional JSON schema filter for event matching. Events must match this filter to be delivered to this destination.
Supports operators: $eq, $neq, $gt, $gte, $lt, $lte, $in, $nin, $startsWith, $endsWith, $exist, $or, $and, $not.
If null or empty, all events matching the topic filter will be delivered.
Uses full-replacement semantics on update: send a new object to replace, null or `{}` to clear, omit for no change.
| {
"data": {
"amount": {
"$gte": 100
},
"customer": {
"tier": "premium"
}
}
} | -| `disabled_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | ISO Date when the destination was disabled, or null if enabled. | | +| `disabled_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | ISO Date when the destination was disabled, or null if enabled. | null | | `created_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | ISO Date when the destination was created. | 2024-01-01T00:00:00Z | | `updated_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | ISO Date when the destination was last updated. | 2024-01-01T00:00:00Z | | `config` | [models.AWSSQSConfig](../models/awssqsconfig.md) | :heavy_check_mark: | N/A | | diff --git a/sdks/outpost-python/docs/models/destinationazureservicebus.md b/sdks/outpost-python/docs/models/destinationazureservicebus.md index e8e5e9bd5..ecce7fb39 100644 --- a/sdks/outpost-python/docs/models/destinationazureservicebus.md +++ b/sdks/outpost-python/docs/models/destinationazureservicebus.md @@ -9,7 +9,7 @@ | `type` | [models.DestinationAzureServiceBusType](../models/destinationazureservicebustype.md) | :heavy_check_mark: | Type of the destination. | azure_servicebus | | `topics` | [models.TopicsUnion](../models/topicsunion.md) | :heavy_check_mark: | "*" or an array of enabled topics. | * | | `filter_` | Dict[str, *Any*] | :heavy_minus_sign: | Optional JSON schema filter for event matching. Events must match this filter to be delivered to this destination.
Supports operators: $eq, $neq, $gt, $gte, $lt, $lte, $in, $nin, $startsWith, $endsWith, $exist, $or, $and, $not.
If null or empty, all events matching the topic filter will be delivered.
Uses full-replacement semantics on update: send a new object to replace, null or `{}` to clear, omit for no change.
| {
"data": {
"amount": {
"$gte": 100
},
"customer": {
"tier": "premium"
}
}
} | -| `disabled_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | ISO Date when the destination was disabled, or null if enabled. | | +| `disabled_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | ISO Date when the destination was disabled, or null if enabled. | null | | `created_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | ISO Date when the destination was created. | 2024-01-01T00:00:00Z | | `updated_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | ISO Date when the destination was last updated. | 2024-01-01T00:00:00Z | | `config` | [models.AzureServiceBusConfig](../models/azureservicebusconfig.md) | :heavy_check_mark: | N/A | | diff --git a/sdks/outpost-python/docs/models/destinationcreateawskinesis.md b/sdks/outpost-python/docs/models/destinationcreateawskinesis.md index c574270cb..0c9964b5d 100644 --- a/sdks/outpost-python/docs/models/destinationcreateawskinesis.md +++ b/sdks/outpost-python/docs/models/destinationcreateawskinesis.md @@ -15,4 +15,4 @@ | `metadata` | Dict[str, *str*] | :heavy_minus_sign: | Arbitrary contextual information stored with the destination. | {
"internal-id": "123",
"team": "platform"
} | | `created_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Optional override for the creation timestamp. Intended for importing destinations from another system. Must not be in the future. **Admin (API key) auth only — sending this with JWT auth returns 403.** Defaults to the current time when omitted. | 2024-02-15T10:00:00Z | | `updated_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Optional override for the last-updated timestamp. Intended for importing destinations. Must not be in the future. **Admin (API key) auth only — sending this with JWT auth returns 403.** Defaults to created_at when omitted. | 2024-02-15T10:00:00Z | -| `disabled_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | If set, the destination is created in a disabled state with this timestamp. Must not be in the future. Defaults to null (enabled). | | \ No newline at end of file +| `disabled_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | If set, the destination is created in a disabled state with this timestamp. Must not be in the future. Defaults to null (enabled). | null | \ No newline at end of file diff --git a/sdks/outpost-python/docs/models/destinationcreateawss3.md b/sdks/outpost-python/docs/models/destinationcreateawss3.md index 8f0e02aa4..bc3cf6d37 100644 --- a/sdks/outpost-python/docs/models/destinationcreateawss3.md +++ b/sdks/outpost-python/docs/models/destinationcreateawss3.md @@ -15,4 +15,4 @@ | `metadata` | Dict[str, *str*] | :heavy_minus_sign: | Arbitrary contextual information stored with the destination. | {
"internal-id": "123",
"team": "platform"
} | | `created_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Optional override for the creation timestamp. Intended for importing destinations from another system. Must not be in the future. **Admin (API key) auth only — sending this with JWT auth returns 403.** Defaults to the current time when omitted. | 2024-02-15T10:00:00Z | | `updated_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Optional override for the last-updated timestamp. Intended for importing destinations. Must not be in the future. **Admin (API key) auth only — sending this with JWT auth returns 403.** Defaults to created_at when omitted. | 2024-02-15T10:00:00Z | -| `disabled_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | If set, the destination is created in a disabled state with this timestamp. Must not be in the future. Defaults to null (enabled). | | \ No newline at end of file +| `disabled_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | If set, the destination is created in a disabled state with this timestamp. Must not be in the future. Defaults to null (enabled). | null | \ No newline at end of file diff --git a/sdks/outpost-python/docs/models/destinationcreateawssqs.md b/sdks/outpost-python/docs/models/destinationcreateawssqs.md index 4eb893482..cc5cefde0 100644 --- a/sdks/outpost-python/docs/models/destinationcreateawssqs.md +++ b/sdks/outpost-python/docs/models/destinationcreateawssqs.md @@ -15,4 +15,4 @@ | `metadata` | Dict[str, *str*] | :heavy_minus_sign: | Arbitrary contextual information stored with the destination. | {
"internal-id": "123",
"team": "platform"
} | | `created_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Optional override for the creation timestamp. Intended for importing destinations from another system. Must not be in the future. **Admin (API key) auth only — sending this with JWT auth returns 403.** Defaults to the current time when omitted. | 2024-02-15T10:00:00Z | | `updated_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Optional override for the last-updated timestamp. Intended for importing destinations. Must not be in the future. **Admin (API key) auth only — sending this with JWT auth returns 403.** Defaults to created_at when omitted. | 2024-02-15T10:00:00Z | -| `disabled_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | If set, the destination is created in a disabled state with this timestamp. Must not be in the future. Defaults to null (enabled). | | \ No newline at end of file +| `disabled_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | If set, the destination is created in a disabled state with this timestamp. Must not be in the future. Defaults to null (enabled). | null | \ No newline at end of file diff --git a/sdks/outpost-python/docs/models/destinationcreateazureservicebus.md b/sdks/outpost-python/docs/models/destinationcreateazureservicebus.md index 27b32e698..cc5d22d0f 100644 --- a/sdks/outpost-python/docs/models/destinationcreateazureservicebus.md +++ b/sdks/outpost-python/docs/models/destinationcreateazureservicebus.md @@ -15,4 +15,4 @@ | `metadata` | Dict[str, *str*] | :heavy_minus_sign: | Arbitrary contextual information stored with the destination. | {
"internal-id": "123",
"team": "platform"
} | | `created_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Optional override for the creation timestamp. Intended for importing destinations from another system. Must not be in the future. **Admin (API key) auth only — sending this with JWT auth returns 403.** Defaults to the current time when omitted. | 2024-02-15T10:00:00Z | | `updated_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Optional override for the last-updated timestamp. Intended for importing destinations. Must not be in the future. **Admin (API key) auth only — sending this with JWT auth returns 403.** Defaults to created_at when omitted. | 2024-02-15T10:00:00Z | -| `disabled_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | If set, the destination is created in a disabled state with this timestamp. Must not be in the future. Defaults to null (enabled). | | \ No newline at end of file +| `disabled_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | If set, the destination is created in a disabled state with this timestamp. Must not be in the future. Defaults to null (enabled). | null | \ No newline at end of file diff --git a/sdks/outpost-python/docs/models/destinationcreategcppubsub.md b/sdks/outpost-python/docs/models/destinationcreategcppubsub.md index f1e804f55..9cfd16391 100644 --- a/sdks/outpost-python/docs/models/destinationcreategcppubsub.md +++ b/sdks/outpost-python/docs/models/destinationcreategcppubsub.md @@ -15,4 +15,4 @@ | `metadata` | Dict[str, *str*] | :heavy_minus_sign: | Arbitrary contextual information stored with the destination. | {
"internal-id": "123",
"team": "platform"
} | | `created_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Optional override for the creation timestamp. Intended for importing destinations from another system. Must not be in the future. **Admin (API key) auth only — sending this with JWT auth returns 403.** Defaults to the current time when omitted. | 2024-02-15T10:00:00Z | | `updated_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Optional override for the last-updated timestamp. Intended for importing destinations. Must not be in the future. **Admin (API key) auth only — sending this with JWT auth returns 403.** Defaults to created_at when omitted. | 2024-02-15T10:00:00Z | -| `disabled_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | If set, the destination is created in a disabled state with this timestamp. Must not be in the future. Defaults to null (enabled). | | \ No newline at end of file +| `disabled_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | If set, the destination is created in a disabled state with this timestamp. Must not be in the future. Defaults to null (enabled). | null | \ No newline at end of file diff --git a/sdks/outpost-python/docs/models/destinationcreatehookdeck.md b/sdks/outpost-python/docs/models/destinationcreatehookdeck.md index d8772bdbc..f684ac082 100644 --- a/sdks/outpost-python/docs/models/destinationcreatehookdeck.md +++ b/sdks/outpost-python/docs/models/destinationcreatehookdeck.md @@ -15,4 +15,4 @@ | `metadata` | Dict[str, *str*] | :heavy_minus_sign: | Arbitrary contextual information stored with the destination. | {
"internal-id": "123",
"team": "platform"
} | | `created_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Optional override for the creation timestamp. Intended for importing destinations from another system. Must not be in the future. **Admin (API key) auth only — sending this with JWT auth returns 403.** Defaults to the current time when omitted. | 2024-02-15T10:00:00Z | | `updated_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Optional override for the last-updated timestamp. Intended for importing destinations. Must not be in the future. **Admin (API key) auth only — sending this with JWT auth returns 403.** Defaults to created_at when omitted. | 2024-02-15T10:00:00Z | -| `disabled_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | If set, the destination is created in a disabled state with this timestamp. Must not be in the future. Defaults to null (enabled). | | \ No newline at end of file +| `disabled_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | If set, the destination is created in a disabled state with this timestamp. Must not be in the future. Defaults to null (enabled). | null | \ No newline at end of file diff --git a/sdks/outpost-python/docs/models/destinationcreatekafka.md b/sdks/outpost-python/docs/models/destinationcreatekafka.md index b28e7a90f..2dc7622da 100644 --- a/sdks/outpost-python/docs/models/destinationcreatekafka.md +++ b/sdks/outpost-python/docs/models/destinationcreatekafka.md @@ -15,4 +15,4 @@ | `metadata` | Dict[str, *str*] | :heavy_minus_sign: | Arbitrary contextual information stored with the destination. | {
"internal-id": "123",
"team": "platform"
} | | `created_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Optional override for the creation timestamp. Intended for importing destinations from another system. Must not be in the future. **Admin (API key) auth only — sending this with JWT auth returns 403.** Defaults to the current time when omitted. | 2024-02-15T10:00:00Z | | `updated_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Optional override for the last-updated timestamp. Intended for importing destinations. Must not be in the future. **Admin (API key) auth only — sending this with JWT auth returns 403.** Defaults to created_at when omitted. | 2024-02-15T10:00:00Z | -| `disabled_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | If set, the destination is created in a disabled state with this timestamp. Must not be in the future. Defaults to null (enabled). | | \ No newline at end of file +| `disabled_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | If set, the destination is created in a disabled state with this timestamp. Must not be in the future. Defaults to null (enabled). | null | \ No newline at end of file diff --git a/sdks/outpost-python/docs/models/destinationcreaterabbitmq.md b/sdks/outpost-python/docs/models/destinationcreaterabbitmq.md index 0420c9225..ec221890a 100644 --- a/sdks/outpost-python/docs/models/destinationcreaterabbitmq.md +++ b/sdks/outpost-python/docs/models/destinationcreaterabbitmq.md @@ -15,4 +15,4 @@ | `metadata` | Dict[str, *str*] | :heavy_minus_sign: | Arbitrary contextual information stored with the destination. | {
"internal-id": "123",
"team": "platform"
} | | `created_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Optional override for the creation timestamp. Intended for importing destinations from another system. Must not be in the future. **Admin (API key) auth only — sending this with JWT auth returns 403.** Defaults to the current time when omitted. | 2024-02-15T10:00:00Z | | `updated_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Optional override for the last-updated timestamp. Intended for importing destinations. Must not be in the future. **Admin (API key) auth only — sending this with JWT auth returns 403.** Defaults to created_at when omitted. | 2024-02-15T10:00:00Z | -| `disabled_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | If set, the destination is created in a disabled state with this timestamp. Must not be in the future. Defaults to null (enabled). | | \ No newline at end of file +| `disabled_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | If set, the destination is created in a disabled state with this timestamp. Must not be in the future. Defaults to null (enabled). | null | \ No newline at end of file diff --git a/sdks/outpost-python/docs/models/destinationcreatewebhook.md b/sdks/outpost-python/docs/models/destinationcreatewebhook.md index 530d23d2b..4205404e7 100644 --- a/sdks/outpost-python/docs/models/destinationcreatewebhook.md +++ b/sdks/outpost-python/docs/models/destinationcreatewebhook.md @@ -15,4 +15,4 @@ | `metadata` | Dict[str, *str*] | :heavy_minus_sign: | Arbitrary contextual information stored with the destination. | {
"internal-id": "123",
"team": "platform"
} | | `created_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Optional override for the creation timestamp. Intended for importing destinations from another system. Must not be in the future. **Admin (API key) auth only — sending this with JWT auth returns 403.** Defaults to the current time when omitted. | 2024-02-15T10:00:00Z | | `updated_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Optional override for the last-updated timestamp. Intended for importing destinations. Must not be in the future. **Admin (API key) auth only — sending this with JWT auth returns 403.** Defaults to created_at when omitted. | 2024-02-15T10:00:00Z | -| `disabled_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | If set, the destination is created in a disabled state with this timestamp. Must not be in the future. Defaults to null (enabled). | | \ No newline at end of file +| `disabled_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | If set, the destination is created in a disabled state with this timestamp. Must not be in the future. Defaults to null (enabled). | null | \ No newline at end of file diff --git a/sdks/outpost-python/docs/models/destinationgcppubsub.md b/sdks/outpost-python/docs/models/destinationgcppubsub.md index 29a6d56c0..702c9ae17 100644 --- a/sdks/outpost-python/docs/models/destinationgcppubsub.md +++ b/sdks/outpost-python/docs/models/destinationgcppubsub.md @@ -9,7 +9,7 @@ | `type` | [models.DestinationGCPPubSubType](../models/destinationgcppubsubtype.md) | :heavy_check_mark: | Type of the destination. | gcp_pubsub | | `topics` | [models.TopicsUnion](../models/topicsunion.md) | :heavy_check_mark: | "*" or an array of enabled topics. | * | | `filter_` | Dict[str, *Any*] | :heavy_minus_sign: | Optional JSON schema filter for event matching. Events must match this filter to be delivered to this destination.
Supports operators: $eq, $neq, $gt, $gte, $lt, $lte, $in, $nin, $startsWith, $endsWith, $exist, $or, $and, $not.
If null or empty, all events matching the topic filter will be delivered.
Uses full-replacement semantics on update: send a new object to replace, null or `{}` to clear, omit for no change.
| {
"data": {
"amount": {
"$gte": 100
},
"customer": {
"tier": "premium"
}
}
} | -| `disabled_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | ISO Date when the destination was disabled, or null if enabled. | | +| `disabled_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | ISO Date when the destination was disabled, or null if enabled. | null | | `created_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | ISO Date when the destination was created. | 2024-01-01T00:00:00Z | | `updated_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | ISO Date when the destination was last updated. | 2024-01-01T00:00:00Z | | `config` | [models.GCPPubSubConfig](../models/gcppubsubconfig.md) | :heavy_check_mark: | N/A | | diff --git a/sdks/outpost-python/docs/models/destinationhookdeck.md b/sdks/outpost-python/docs/models/destinationhookdeck.md index c6b2ab46a..561831f4c 100644 --- a/sdks/outpost-python/docs/models/destinationhookdeck.md +++ b/sdks/outpost-python/docs/models/destinationhookdeck.md @@ -9,7 +9,7 @@ | `type` | [models.DestinationHookdeckType](../models/destinationhookdecktype.md) | :heavy_check_mark: | Type of the destination. | hookdeck | | `topics` | [models.TopicsUnion](../models/topicsunion.md) | :heavy_check_mark: | "*" or an array of enabled topics. | * | | `filter_` | Dict[str, *Any*] | :heavy_minus_sign: | Optional JSON schema filter for event matching. Events must match this filter to be delivered to this destination.
Supports operators: $eq, $neq, $gt, $gte, $lt, $lte, $in, $nin, $startsWith, $endsWith, $exist, $or, $and, $not.
If null or empty, all events matching the topic filter will be delivered.
Uses full-replacement semantics on update: send a new object to replace, null or `{}` to clear, omit for no change.
| {
"data": {
"amount": {
"$gte": 100
},
"customer": {
"tier": "premium"
}
}
} | -| `disabled_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | ISO Date when the destination was disabled, or null if enabled. | | +| `disabled_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | ISO Date when the destination was disabled, or null if enabled. | null | | `created_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | ISO Date when the destination was created. | 2024-01-01T00:00:00Z | | `updated_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | ISO Date when the destination was last updated. | 2024-01-01T00:00:00Z | | `config` | *Optional[Any]* | :heavy_minus_sign: | N/A | | diff --git a/sdks/outpost-python/docs/models/destinationkafka.md b/sdks/outpost-python/docs/models/destinationkafka.md index 2c0f593fd..b5602807e 100644 --- a/sdks/outpost-python/docs/models/destinationkafka.md +++ b/sdks/outpost-python/docs/models/destinationkafka.md @@ -9,7 +9,7 @@ | `type` | [models.DestinationKafkaType](../models/destinationkafkatype.md) | :heavy_check_mark: | Type of the destination. | kafka | | `topics` | [models.TopicsUnion](../models/topicsunion.md) | :heavy_check_mark: | "*" or an array of enabled topics. | * | | `filter_` | Dict[str, *Any*] | :heavy_minus_sign: | Optional JSON schema filter for event matching. Events must match this filter to be delivered to this destination.
Supports operators: $eq, $neq, $gt, $gte, $lt, $lte, $in, $nin, $startsWith, $endsWith, $exist, $or, $and, $not.
If null or empty, all events matching the topic filter will be delivered.
Uses full-replacement semantics on update: send a new object to replace, null or `{}` to clear, omit for no change.
| {
"data": {
"amount": {
"$gte": 100
},
"customer": {
"tier": "premium"
}
}
} | -| `disabled_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | ISO Date when the destination was disabled, or null if enabled. | | +| `disabled_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | ISO Date when the destination was disabled, or null if enabled. | null | | `created_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | ISO Date when the destination was created. | 2024-01-01T00:00:00Z | | `updated_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | ISO Date when the destination was last updated. | 2024-01-01T00:00:00Z | | `config` | [models.KafkaConfig](../models/kafkaconfig.md) | :heavy_check_mark: | N/A | | @@ -17,4 +17,4 @@ | `delivery_metadata` | Dict[str, *str*] | :heavy_minus_sign: | Static key-value pairs merged into event metadata on every attempt. | {
"app-id": "my-app",
"region": "us-east-1"
} | | `metadata` | Dict[str, *str*] | :heavy_minus_sign: | Arbitrary contextual information stored with the destination. | {
"internal-id": "123",
"team": "platform"
} | | `target` | *Optional[str]* | :heavy_minus_sign: | A human-readable representation of the destination target (broker and topic). Read-only. | broker1.example.com:9092 / events | -| `target_url` | *OptionalNullable[str]* | :heavy_minus_sign: | A URL link to the destination target. Read-only. | | \ No newline at end of file +| `target_url` | *OptionalNullable[str]* | :heavy_minus_sign: | A URL link to the destination target. Read-only. | null | \ No newline at end of file diff --git a/sdks/outpost-python/docs/models/destinationrabbitmq.md b/sdks/outpost-python/docs/models/destinationrabbitmq.md index 5b6a1615e..1d27aa4aa 100644 --- a/sdks/outpost-python/docs/models/destinationrabbitmq.md +++ b/sdks/outpost-python/docs/models/destinationrabbitmq.md @@ -9,7 +9,7 @@ | `type` | [models.DestinationRabbitMQType](../models/destinationrabbitmqtype.md) | :heavy_check_mark: | Type of the destination. | rabbitmq | | `topics` | [models.TopicsUnion](../models/topicsunion.md) | :heavy_check_mark: | "*" or an array of enabled topics. | * | | `filter_` | Dict[str, *Any*] | :heavy_minus_sign: | Optional JSON schema filter for event matching. Events must match this filter to be delivered to this destination.
Supports operators: $eq, $neq, $gt, $gte, $lt, $lte, $in, $nin, $startsWith, $endsWith, $exist, $or, $and, $not.
If null or empty, all events matching the topic filter will be delivered.
Uses full-replacement semantics on update: send a new object to replace, null or `{}` to clear, omit for no change.
| {
"data": {
"amount": {
"$gte": 100
},
"customer": {
"tier": "premium"
}
}
} | -| `disabled_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | ISO Date when the destination was disabled, or null if enabled. | | +| `disabled_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | ISO Date when the destination was disabled, or null if enabled. | null | | `created_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | ISO Date when the destination was created. | 2024-01-01T00:00:00Z | | `updated_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | ISO Date when the destination was last updated. | 2024-01-01T00:00:00Z | | `config` | [models.RabbitMQConfig](../models/rabbitmqconfig.md) | :heavy_check_mark: | N/A | | @@ -17,4 +17,4 @@ | `delivery_metadata` | Dict[str, *str*] | :heavy_minus_sign: | Static key-value pairs merged into event metadata on every attempt. | {
"app-id": "my-app",
"region": "us-east-1"
} | | `metadata` | Dict[str, *str*] | :heavy_minus_sign: | Arbitrary contextual information stored with the destination. | {
"internal-id": "123",
"team": "platform"
} | | `target` | *Optional[str]* | :heavy_minus_sign: | A human-readable representation of the destination target (RabbitMQ exchange). Read-only. | events-exchange | -| `target_url` | *OptionalNullable[str]* | :heavy_minus_sign: | A URL link to the destination target (not applicable for RabbitMQ exchange). Read-only. | | \ No newline at end of file +| `target_url` | *OptionalNullable[str]* | :heavy_minus_sign: | A URL link to the destination target (not applicable for RabbitMQ exchange). Read-only. | null | \ No newline at end of file diff --git a/sdks/outpost-python/docs/models/destinationupdate.md b/sdks/outpost-python/docs/models/destinationupdate.md index 14bbd5579..06205825d 100644 --- a/sdks/outpost-python/docs/models/destinationupdate.md +++ b/sdks/outpost-python/docs/models/destinationupdate.md @@ -9,28 +9,28 @@ value: models.DestinationUpdateWebhook = /* values here */ ``` -### `models.DestinationUpdateHookdeck` +### `models.DestinationUpdateAWSSQS` ```python -value: models.DestinationUpdateHookdeck = /* values here */ +value: models.DestinationUpdateAWSSQS = /* values here */ ``` -### `models.DestinationUpdateAWSSQS` +### `models.DestinationUpdateRabbitMQ` ```python -value: models.DestinationUpdateAWSSQS = /* values here */ +value: models.DestinationUpdateRabbitMQ = /* values here */ ``` -### `models.DestinationUpdateAWSKinesis` +### `models.DestinationUpdateHookdeck` ```python -value: models.DestinationUpdateAWSKinesis = /* values here */ +value: models.DestinationUpdateHookdeck = /* values here */ ``` -### `models.DestinationUpdateAwss3` +### `models.DestinationUpdateAWSKinesis` ```python -value: models.DestinationUpdateAwss3 = /* values here */ +value: models.DestinationUpdateAWSKinesis = /* values here */ ``` ### `models.DestinationUpdateAzureServiceBus` @@ -39,16 +39,16 @@ value: models.DestinationUpdateAwss3 = /* values here */ value: models.DestinationUpdateAzureServiceBus = /* values here */ ``` -### `models.DestinationUpdateGCPPubSub` +### `models.DestinationUpdateAwss3` ```python -value: models.DestinationUpdateGCPPubSub = /* values here */ +value: models.DestinationUpdateAwss3 = /* values here */ ``` -### `models.DestinationUpdateRabbitMQ` +### `models.DestinationUpdateGCPPubSub` ```python -value: models.DestinationUpdateRabbitMQ = /* values here */ +value: models.DestinationUpdateGCPPubSub = /* values here */ ``` ### `models.DestinationUpdateKafka` diff --git a/sdks/outpost-python/docs/models/destinationupdateawskinesis.md b/sdks/outpost-python/docs/models/destinationupdateawskinesis.md index 8ca68eddd..9623f726d 100644 --- a/sdks/outpost-python/docs/models/destinationupdateawskinesis.md +++ b/sdks/outpost-python/docs/models/destinationupdateawskinesis.md @@ -5,10 +5,11 @@ | Field | Type | Required | Description | Example | | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.DestinationUpdateAWSKinesisType](../models/destinationupdateawskinesistype.md) | :heavy_check_mark: | Destination type discriminator. Must equal the existing destination's type — type itself cannot be changed via PATCH. | aws_kinesis | | `topics` | [Optional[models.TopicsUnion]](../models/topicsunion.md) | :heavy_minus_sign: | "*" or an array of enabled topics. | * | | `filter_` | Dict[str, *Any*] | :heavy_minus_sign: | Optional JSON schema filter for event matching. Events must match this filter to be delivered to this destination.
Supports operators: $eq, $neq, $gt, $gte, $lt, $lte, $in, $nin, $startsWith, $endsWith, $exist, $or, $and, $not.
If null or empty, all events matching the topic filter will be delivered.
Uses full-replacement semantics on update: send a new object to replace, null or `{}` to clear, omit for no change.
| {
"data": {
"amount": {
"$gte": 100
},
"customer": {
"tier": "premium"
}
}
} | -| `config` | [Optional[models.AWSKinesisConfig]](../models/awskinesisconfig.md) | :heavy_minus_sign: | N/A | | -| `credentials` | [Optional[models.AWSKinesisCredentials]](../models/awskinesiscredentials.md) | :heavy_minus_sign: | N/A | | +| `config` | [Optional[models.AWSKinesisConfigUpdate]](../models/awskinesisconfigupdate.md) | :heavy_minus_sign: | Partial AWS Kinesis config for PATCH updates (RFC 7396 merge-patch). | | +| `credentials` | [Optional[models.AWSKinesisCredentialsUpdate]](../models/awskinesiscredentialsupdate.md) | :heavy_minus_sign: | Partial AWS Kinesis credentials for PATCH updates (RFC 7396 merge-patch). | | | `delivery_metadata` | Dict[str, *Nullable[str]*] | :heavy_minus_sign: | Static key-value pairs merged into event metadata on every attempt. Uses JSON merge-patch semantics (RFC 7396): send keys to add/update, null values to delete keys, null for entire field to clear all. Omit or send {} for no change. | {
"app-id": "my-app",
"region": "us-east-1"
} | | `metadata` | Dict[str, *Nullable[str]*] | :heavy_minus_sign: | Arbitrary contextual information stored with the destination. Uses JSON merge-patch semantics (RFC 7396): send keys to add/update, null values to delete keys, null for entire field to clear all. Omit or send {} for no change. | {
"internal-id": "123",
"team": "platform"
} | -| `disabled_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Update the disabled state of the destination. Send a timestamp (must not be in the future) to disable, null to enable, or omit to leave unchanged. | | \ No newline at end of file +| `disabled_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Update the disabled state of the destination. Send a timestamp (must not be in the future) to disable, null to enable, or omit to leave unchanged. | null | \ No newline at end of file diff --git a/sdks/outpost-python/docs/models/destinationupdateawskinesistype.md b/sdks/outpost-python/docs/models/destinationupdateawskinesistype.md new file mode 100644 index 000000000..c3f884528 --- /dev/null +++ b/sdks/outpost-python/docs/models/destinationupdateawskinesistype.md @@ -0,0 +1,18 @@ +# DestinationUpdateAWSKinesisType + +Destination type discriminator. Must equal the existing destination's type — type itself cannot be changed via PATCH. + +## Example Usage + +```python +from outpost_sdk.models import DestinationUpdateAWSKinesisType + +value = DestinationUpdateAWSKinesisType.AWS_KINESIS +``` + + +## Values + +| Name | Value | +| ------------- | ------------- | +| `AWS_KINESIS` | aws_kinesis | \ No newline at end of file diff --git a/sdks/outpost-python/docs/models/destinationupdateawss3.md b/sdks/outpost-python/docs/models/destinationupdateawss3.md index fb6a6c57c..f6d99bc5b 100644 --- a/sdks/outpost-python/docs/models/destinationupdateawss3.md +++ b/sdks/outpost-python/docs/models/destinationupdateawss3.md @@ -5,10 +5,11 @@ | Field | Type | Required | Description | Example | | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.DestinationUpdateAwss3Type](../models/destinationupdateawss3type.md) | :heavy_check_mark: | Destination type discriminator. Must equal the existing destination's type — type itself cannot be changed via PATCH. | aws_s3 | | `topics` | [Optional[models.TopicsUnion]](../models/topicsunion.md) | :heavy_minus_sign: | "*" or an array of enabled topics. | * | | `filter_` | Dict[str, *Any*] | :heavy_minus_sign: | Optional JSON schema filter for event matching. Events must match this filter to be delivered to this destination.
Supports operators: $eq, $neq, $gt, $gte, $lt, $lte, $in, $nin, $startsWith, $endsWith, $exist, $or, $and, $not.
If null or empty, all events matching the topic filter will be delivered.
Uses full-replacement semantics on update: send a new object to replace, null or `{}` to clear, omit for no change.
| {
"data": {
"amount": {
"$gte": 100
},
"customer": {
"tier": "premium"
}
}
} | -| `config` | [Optional[models.Awss3Config]](../models/awss3config.md) | :heavy_minus_sign: | N/A | | -| `credentials` | [Optional[models.Awss3Credentials]](../models/awss3credentials.md) | :heavy_minus_sign: | N/A | | +| `config` | [Optional[models.Awss3ConfigUpdate]](../models/awss3configupdate.md) | :heavy_minus_sign: | Partial AWS S3 config for PATCH updates (RFC 7396 merge-patch). | | +| `credentials` | [Optional[models.Awss3CredentialsUpdate]](../models/awss3credentialsupdate.md) | :heavy_minus_sign: | Partial AWS S3 credentials for PATCH updates (RFC 7396 merge-patch). | | | `delivery_metadata` | Dict[str, *Nullable[str]*] | :heavy_minus_sign: | Static key-value pairs merged into event metadata on every attempt. Uses JSON merge-patch semantics (RFC 7396): send keys to add/update, null values to delete keys, null for entire field to clear all. Omit or send {} for no change. | {
"app-id": "my-app",
"region": "us-east-1"
} | | `metadata` | Dict[str, *Nullable[str]*] | :heavy_minus_sign: | Arbitrary contextual information stored with the destination. Uses JSON merge-patch semantics (RFC 7396): send keys to add/update, null values to delete keys, null for entire field to clear all. Omit or send {} for no change. | {
"internal-id": "123",
"team": "platform"
} | -| `disabled_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Update the disabled state of the destination. Send a timestamp (must not be in the future) to disable, null to enable, or omit to leave unchanged. | | \ No newline at end of file +| `disabled_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Update the disabled state of the destination. Send a timestamp (must not be in the future) to disable, null to enable, or omit to leave unchanged. | null | \ No newline at end of file diff --git a/sdks/outpost-python/docs/models/destinationupdateawss3type.md b/sdks/outpost-python/docs/models/destinationupdateawss3type.md new file mode 100644 index 000000000..e53caacb5 --- /dev/null +++ b/sdks/outpost-python/docs/models/destinationupdateawss3type.md @@ -0,0 +1,18 @@ +# DestinationUpdateAwss3Type + +Destination type discriminator. Must equal the existing destination's type — type itself cannot be changed via PATCH. + +## Example Usage + +```python +from outpost_sdk.models import DestinationUpdateAwss3Type + +value = DestinationUpdateAwss3Type.AWS_S3 +``` + + +## Values + +| Name | Value | +| -------- | -------- | +| `AWS_S3` | aws_s3 | \ No newline at end of file diff --git a/sdks/outpost-python/docs/models/destinationupdateawssqs.md b/sdks/outpost-python/docs/models/destinationupdateawssqs.md index 8c1e1d916..2c1b8b5df 100644 --- a/sdks/outpost-python/docs/models/destinationupdateawssqs.md +++ b/sdks/outpost-python/docs/models/destinationupdateawssqs.md @@ -5,10 +5,11 @@ | Field | Type | Required | Description | Example | | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.DestinationUpdateAWSSQSType](../models/destinationupdateawssqstype.md) | :heavy_check_mark: | Destination type discriminator. Must equal the existing destination's type — type itself cannot be changed via PATCH. | aws_sqs | | `topics` | [Optional[models.TopicsUnion]](../models/topicsunion.md) | :heavy_minus_sign: | "*" or an array of enabled topics. | * | | `filter_` | Dict[str, *Any*] | :heavy_minus_sign: | Optional JSON schema filter for event matching. Events must match this filter to be delivered to this destination.
Supports operators: $eq, $neq, $gt, $gte, $lt, $lte, $in, $nin, $startsWith, $endsWith, $exist, $or, $and, $not.
If null or empty, all events matching the topic filter will be delivered.
Uses full-replacement semantics on update: send a new object to replace, null or `{}` to clear, omit for no change.
| {
"data": {
"amount": {
"$gte": 100
},
"customer": {
"tier": "premium"
}
}
} | -| `config` | [Optional[models.AWSSQSConfig]](../models/awssqsconfig.md) | :heavy_minus_sign: | N/A | | -| `credentials` | [Optional[models.AWSSQSCredentials]](../models/awssqscredentials.md) | :heavy_minus_sign: | N/A | | +| `config` | [Optional[models.AWSSQSConfigUpdate]](../models/awssqsconfigupdate.md) | :heavy_minus_sign: | Partial AWS SQS config for PATCH updates (RFC 7396 merge-patch). | | +| `credentials` | [Optional[models.AWSSQSCredentialsUpdate]](../models/awssqscredentialsupdate.md) | :heavy_minus_sign: | Partial AWS SQS credentials for PATCH updates (RFC 7396 merge-patch). | | | `delivery_metadata` | Dict[str, *Nullable[str]*] | :heavy_minus_sign: | Static key-value pairs merged into event metadata on every attempt. Uses JSON merge-patch semantics (RFC 7396): send keys to add/update, null values to delete keys, null for entire field to clear all. Omit or send {} for no change. | {
"app-id": "my-app",
"region": "us-east-1"
} | | `metadata` | Dict[str, *Nullable[str]*] | :heavy_minus_sign: | Arbitrary contextual information stored with the destination. Uses JSON merge-patch semantics (RFC 7396): send keys to add/update, null values to delete keys, null for entire field to clear all. Omit or send {} for no change. | {
"internal-id": "123",
"team": "platform"
} | -| `disabled_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Update the disabled state of the destination. Send a timestamp (must not be in the future) to disable, null to enable, or omit to leave unchanged. | | \ No newline at end of file +| `disabled_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Update the disabled state of the destination. Send a timestamp (must not be in the future) to disable, null to enable, or omit to leave unchanged. | null | \ No newline at end of file diff --git a/sdks/outpost-python/docs/models/destinationupdateawssqstype.md b/sdks/outpost-python/docs/models/destinationupdateawssqstype.md new file mode 100644 index 000000000..923282da0 --- /dev/null +++ b/sdks/outpost-python/docs/models/destinationupdateawssqstype.md @@ -0,0 +1,18 @@ +# DestinationUpdateAWSSQSType + +Destination type discriminator. Must equal the existing destination's type — type itself cannot be changed via PATCH. + +## Example Usage + +```python +from outpost_sdk.models import DestinationUpdateAWSSQSType + +value = DestinationUpdateAWSSQSType.AWS_SQS +``` + + +## Values + +| Name | Value | +| --------- | --------- | +| `AWS_SQS` | aws_sqs | \ No newline at end of file diff --git a/sdks/outpost-python/docs/models/destinationupdateazureservicebus.md b/sdks/outpost-python/docs/models/destinationupdateazureservicebus.md index 62839a1ec..de65c7642 100644 --- a/sdks/outpost-python/docs/models/destinationupdateazureservicebus.md +++ b/sdks/outpost-python/docs/models/destinationupdateazureservicebus.md @@ -5,10 +5,11 @@ | Field | Type | Required | Description | Example | | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.DestinationUpdateAzureServiceBusType](../models/destinationupdateazureservicebustype.md) | :heavy_check_mark: | Destination type discriminator. Must equal the existing destination's type — type itself cannot be changed via PATCH. | azure_servicebus | | `topics` | [Optional[models.TopicsUnion]](../models/topicsunion.md) | :heavy_minus_sign: | "*" or an array of enabled topics. | * | | `filter_` | Dict[str, *Any*] | :heavy_minus_sign: | Optional JSON schema filter for event matching. Events must match this filter to be delivered to this destination.
Supports operators: $eq, $neq, $gt, $gte, $lt, $lte, $in, $nin, $startsWith, $endsWith, $exist, $or, $and, $not.
If null or empty, all events matching the topic filter will be delivered.
Uses full-replacement semantics on update: send a new object to replace, null or `{}` to clear, omit for no change.
| {
"data": {
"amount": {
"$gte": 100
},
"customer": {
"tier": "premium"
}
}
} | -| `config` | [Optional[models.AzureServiceBusConfig]](../models/azureservicebusconfig.md) | :heavy_minus_sign: | N/A | | -| `credentials` | [Optional[models.AzureServiceBusCredentials]](../models/azureservicebuscredentials.md) | :heavy_minus_sign: | N/A | | +| `config` | [Optional[models.AzureServiceBusConfigUpdate]](../models/azureservicebusconfigupdate.md) | :heavy_minus_sign: | Partial Azure Service Bus config for PATCH updates (RFC 7396 merge-patch). | | +| `credentials` | [Optional[models.AzureServiceBusCredentialsUpdate]](../models/azureservicebuscredentialsupdate.md) | :heavy_minus_sign: | Partial Azure Service Bus credentials for PATCH updates (RFC 7396 merge-patch). | | | `delivery_metadata` | Dict[str, *Nullable[str]*] | :heavy_minus_sign: | Static key-value pairs merged into event metadata on every attempt. Uses JSON merge-patch semantics (RFC 7396): send keys to add/update, null values to delete keys, null for entire field to clear all. Omit or send {} for no change. | {
"app-id": "my-app",
"region": "us-east-1"
} | | `metadata` | Dict[str, *Nullable[str]*] | :heavy_minus_sign: | Arbitrary contextual information stored with the destination. Uses JSON merge-patch semantics (RFC 7396): send keys to add/update, null values to delete keys, null for entire field to clear all. Omit or send {} for no change. | {
"internal-id": "123",
"team": "platform"
} | -| `disabled_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Update the disabled state of the destination. Send a timestamp (must not be in the future) to disable, null to enable, or omit to leave unchanged. | | \ No newline at end of file +| `disabled_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Update the disabled state of the destination. Send a timestamp (must not be in the future) to disable, null to enable, or omit to leave unchanged. | null | \ No newline at end of file diff --git a/sdks/outpost-python/docs/models/destinationupdateazureservicebustype.md b/sdks/outpost-python/docs/models/destinationupdateazureservicebustype.md new file mode 100644 index 000000000..b0261e324 --- /dev/null +++ b/sdks/outpost-python/docs/models/destinationupdateazureservicebustype.md @@ -0,0 +1,18 @@ +# DestinationUpdateAzureServiceBusType + +Destination type discriminator. Must equal the existing destination's type — type itself cannot be changed via PATCH. + +## Example Usage + +```python +from outpost_sdk.models import DestinationUpdateAzureServiceBusType + +value = DestinationUpdateAzureServiceBusType.AZURE_SERVICEBUS +``` + + +## Values + +| Name | Value | +| ------------------ | ------------------ | +| `AZURE_SERVICEBUS` | azure_servicebus | \ No newline at end of file diff --git a/sdks/outpost-python/docs/models/destinationupdategcppubsub.md b/sdks/outpost-python/docs/models/destinationupdategcppubsub.md index 6e0eda5ea..48cf0717a 100644 --- a/sdks/outpost-python/docs/models/destinationupdategcppubsub.md +++ b/sdks/outpost-python/docs/models/destinationupdategcppubsub.md @@ -5,10 +5,11 @@ | Field | Type | Required | Description | Example | | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.DestinationUpdateGCPPubSubType](../models/destinationupdategcppubsubtype.md) | :heavy_check_mark: | Destination type discriminator. Must equal the existing destination's type — type itself cannot be changed via PATCH. | gcp_pubsub | | `topics` | [Optional[models.TopicsUnion]](../models/topicsunion.md) | :heavy_minus_sign: | "*" or an array of enabled topics. | * | | `filter_` | Dict[str, *Any*] | :heavy_minus_sign: | Optional JSON schema filter for event matching. Events must match this filter to be delivered to this destination.
Supports operators: $eq, $neq, $gt, $gte, $lt, $lte, $in, $nin, $startsWith, $endsWith, $exist, $or, $and, $not.
If null or empty, all events matching the topic filter will be delivered.
Uses full-replacement semantics on update: send a new object to replace, null or `{}` to clear, omit for no change.
| {
"data": {
"amount": {
"$gte": 100
},
"customer": {
"tier": "premium"
}
}
} | -| `config` | [Optional[models.GCPPubSubConfig]](../models/gcppubsubconfig.md) | :heavy_minus_sign: | N/A | | -| `credentials` | [Optional[models.GCPPubSubCredentials]](../models/gcppubsubcredentials.md) | :heavy_minus_sign: | N/A | | +| `config` | [Optional[models.GCPPubSubConfigUpdate]](../models/gcppubsubconfigupdate.md) | :heavy_minus_sign: | Partial GCP Pub/Sub config for PATCH updates (RFC 7396 merge-patch). | | +| `credentials` | [Optional[models.GCPPubSubCredentialsUpdate]](../models/gcppubsubcredentialsupdate.md) | :heavy_minus_sign: | Partial GCP Pub/Sub credentials for PATCH updates (RFC 7396 merge-patch). | | | `delivery_metadata` | Dict[str, *Nullable[str]*] | :heavy_minus_sign: | Static key-value pairs merged into event metadata on every attempt. Uses JSON merge-patch semantics (RFC 7396): send keys to add/update, null values to delete keys, null for entire field to clear all. Omit or send {} for no change. | {
"app-id": "my-app",
"region": "us-east-1"
} | | `metadata` | Dict[str, *Nullable[str]*] | :heavy_minus_sign: | Arbitrary contextual information stored with the destination. Uses JSON merge-patch semantics (RFC 7396): send keys to add/update, null values to delete keys, null for entire field to clear all. Omit or send {} for no change. | {
"internal-id": "123",
"team": "platform"
} | -| `disabled_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Update the disabled state of the destination. Send a timestamp (must not be in the future) to disable, null to enable, or omit to leave unchanged. | | \ No newline at end of file +| `disabled_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Update the disabled state of the destination. Send a timestamp (must not be in the future) to disable, null to enable, or omit to leave unchanged. | null | \ No newline at end of file diff --git a/sdks/outpost-python/docs/models/destinationupdategcppubsubtype.md b/sdks/outpost-python/docs/models/destinationupdategcppubsubtype.md new file mode 100644 index 000000000..f0ac64e0b --- /dev/null +++ b/sdks/outpost-python/docs/models/destinationupdategcppubsubtype.md @@ -0,0 +1,18 @@ +# DestinationUpdateGCPPubSubType + +Destination type discriminator. Must equal the existing destination's type — type itself cannot be changed via PATCH. + +## Example Usage + +```python +from outpost_sdk.models import DestinationUpdateGCPPubSubType + +value = DestinationUpdateGCPPubSubType.GCP_PUBSUB +``` + + +## Values + +| Name | Value | +| ------------ | ------------ | +| `GCP_PUBSUB` | gcp_pubsub | \ No newline at end of file diff --git a/sdks/outpost-python/docs/models/destinationupdatehookdeck.md b/sdks/outpost-python/docs/models/destinationupdatehookdeck.md index f2db895dd..f7ac88a41 100644 --- a/sdks/outpost-python/docs/models/destinationupdatehookdeck.md +++ b/sdks/outpost-python/docs/models/destinationupdatehookdeck.md @@ -5,10 +5,10 @@ | Field | Type | Required | Description | Example | | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.DestinationUpdateHookdeckType](../models/destinationupdatehookdecktype.md) | :heavy_check_mark: | Destination type discriminator. Must equal the existing destination's type — type itself cannot be changed via PATCH. | hookdeck | | `topics` | [Optional[models.TopicsUnion]](../models/topicsunion.md) | :heavy_minus_sign: | "*" or an array of enabled topics. | * | | `filter_` | Dict[str, *Any*] | :heavy_minus_sign: | Optional JSON schema filter for event matching. Events must match this filter to be delivered to this destination.
Supports operators: $eq, $neq, $gt, $gte, $lt, $lte, $in, $nin, $startsWith, $endsWith, $exist, $or, $and, $not.
If null or empty, all events matching the topic filter will be delivered.
Uses full-replacement semantics on update: send a new object to replace, null or `{}` to clear, omit for no change.
| {
"data": {
"amount": {
"$gte": 100
},
"customer": {
"tier": "premium"
}
}
} | -| `config` | *Optional[Any]* | :heavy_minus_sign: | N/A | | -| `credentials` | [Optional[models.HookdeckCredentials]](../models/hookdeckcredentials.md) | :heavy_minus_sign: | N/A | | +| `credentials` | [Optional[models.HookdeckCredentialsUpdate]](../models/hookdeckcredentialsupdate.md) | :heavy_minus_sign: | Partial Hookdeck credentials for PATCH updates (RFC 7396 merge-patch). | | | `delivery_metadata` | Dict[str, *Nullable[str]*] | :heavy_minus_sign: | Static key-value pairs merged into event metadata on every attempt. Uses JSON merge-patch semantics (RFC 7396): send keys to add/update, null values to delete keys, null for entire field to clear all. Omit or send {} for no change. | {
"app-id": "my-app",
"region": "us-east-1"
} | | `metadata` | Dict[str, *Nullable[str]*] | :heavy_minus_sign: | Arbitrary contextual information stored with the destination. Uses JSON merge-patch semantics (RFC 7396): send keys to add/update, null values to delete keys, null for entire field to clear all. Omit or send {} for no change. | {
"internal-id": "123",
"team": "platform"
} | -| `disabled_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Update the disabled state of the destination. Send a timestamp (must not be in the future) to disable, null to enable, or omit to leave unchanged. | | \ No newline at end of file +| `disabled_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Update the disabled state of the destination. Send a timestamp (must not be in the future) to disable, null to enable, or omit to leave unchanged. | null | \ No newline at end of file diff --git a/sdks/outpost-python/docs/models/destinationupdatehookdecktype.md b/sdks/outpost-python/docs/models/destinationupdatehookdecktype.md new file mode 100644 index 000000000..c4431a39f --- /dev/null +++ b/sdks/outpost-python/docs/models/destinationupdatehookdecktype.md @@ -0,0 +1,18 @@ +# DestinationUpdateHookdeckType + +Destination type discriminator. Must equal the existing destination's type — type itself cannot be changed via PATCH. + +## Example Usage + +```python +from outpost_sdk.models import DestinationUpdateHookdeckType + +value = DestinationUpdateHookdeckType.HOOKDECK +``` + + +## Values + +| Name | Value | +| ---------- | ---------- | +| `HOOKDECK` | hookdeck | \ No newline at end of file diff --git a/sdks/outpost-python/docs/models/destinationupdatekafka.md b/sdks/outpost-python/docs/models/destinationupdatekafka.md index 0c0331bad..1271ba750 100644 --- a/sdks/outpost-python/docs/models/destinationupdatekafka.md +++ b/sdks/outpost-python/docs/models/destinationupdatekafka.md @@ -5,10 +5,11 @@ | Field | Type | Required | Description | Example | | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.DestinationUpdateKafkaType](../models/destinationupdatekafkatype.md) | :heavy_check_mark: | Destination type discriminator. Must equal the existing destination's type — type itself cannot be changed via PATCH. | kafka | | `topics` | [Optional[models.TopicsUnion]](../models/topicsunion.md) | :heavy_minus_sign: | "*" or an array of enabled topics. | * | | `filter_` | Dict[str, *Any*] | :heavy_minus_sign: | Optional JSON schema filter for event matching. Events must match this filter to be delivered to this destination.
Supports operators: $eq, $neq, $gt, $gte, $lt, $lte, $in, $nin, $startsWith, $endsWith, $exist, $or, $and, $not.
If null or empty, all events matching the topic filter will be delivered.
Uses full-replacement semantics on update: send a new object to replace, null or `{}` to clear, omit for no change.
| {
"data": {
"amount": {
"$gte": 100
},
"customer": {
"tier": "premium"
}
}
} | -| `config` | [Optional[models.KafkaConfig]](../models/kafkaconfig.md) | :heavy_minus_sign: | N/A | | -| `credentials` | [Optional[models.KafkaCredentials]](../models/kafkacredentials.md) | :heavy_minus_sign: | N/A | | +| `config` | [Optional[models.KafkaConfigUpdate]](../models/kafkaconfigupdate.md) | :heavy_minus_sign: | Partial Kafka config for PATCH updates (RFC 7396 merge-patch). | | +| `credentials` | [Optional[models.KafkaCredentialsUpdate]](../models/kafkacredentialsupdate.md) | :heavy_minus_sign: | Partial Kafka credentials for PATCH updates (RFC 7396 merge-patch). | | | `delivery_metadata` | Dict[str, *Nullable[str]*] | :heavy_minus_sign: | Static key-value pairs merged into event metadata on every attempt. Uses JSON merge-patch semantics (RFC 7396): send keys to add/update, null values to delete keys, null for entire field to clear all. Omit or send {} for no change. | {
"app-id": "my-app",
"region": "us-east-1"
} | | `metadata` | Dict[str, *Nullable[str]*] | :heavy_minus_sign: | Arbitrary contextual information stored with the destination. Uses JSON merge-patch semantics (RFC 7396): send keys to add/update, null values to delete keys, null for entire field to clear all. Omit or send {} for no change. | {
"internal-id": "123",
"team": "platform"
} | -| `disabled_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Update the disabled state of the destination. Send a timestamp (must not be in the future) to disable, null to enable, or omit to leave unchanged. | | \ No newline at end of file +| `disabled_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Update the disabled state of the destination. Send a timestamp (must not be in the future) to disable, null to enable, or omit to leave unchanged. | null | \ No newline at end of file diff --git a/sdks/outpost-python/docs/models/destinationupdatekafkatype.md b/sdks/outpost-python/docs/models/destinationupdatekafkatype.md new file mode 100644 index 000000000..dbe699b49 --- /dev/null +++ b/sdks/outpost-python/docs/models/destinationupdatekafkatype.md @@ -0,0 +1,18 @@ +# DestinationUpdateKafkaType + +Destination type discriminator. Must equal the existing destination's type — type itself cannot be changed via PATCH. + +## Example Usage + +```python +from outpost_sdk.models import DestinationUpdateKafkaType + +value = DestinationUpdateKafkaType.KAFKA +``` + + +## Values + +| Name | Value | +| ------- | ------- | +| `KAFKA` | kafka | \ No newline at end of file diff --git a/sdks/outpost-python/docs/models/destinationupdaterabbitmq.md b/sdks/outpost-python/docs/models/destinationupdaterabbitmq.md index 3ba4dea3d..f1eb9c8f8 100644 --- a/sdks/outpost-python/docs/models/destinationupdaterabbitmq.md +++ b/sdks/outpost-python/docs/models/destinationupdaterabbitmq.md @@ -5,10 +5,11 @@ | Field | Type | Required | Description | Example | | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.DestinationUpdateRabbitMQType](../models/destinationupdaterabbitmqtype.md) | :heavy_check_mark: | Destination type discriminator. Must equal the existing destination's type — type itself cannot be changed via PATCH. | rabbitmq | | `topics` | [Optional[models.TopicsUnion]](../models/topicsunion.md) | :heavy_minus_sign: | "*" or an array of enabled topics. | * | | `filter_` | Dict[str, *Any*] | :heavy_minus_sign: | Optional JSON schema filter for event matching. Events must match this filter to be delivered to this destination.
Supports operators: $eq, $neq, $gt, $gte, $lt, $lte, $in, $nin, $startsWith, $endsWith, $exist, $or, $and, $not.
If null or empty, all events matching the topic filter will be delivered.
Uses full-replacement semantics on update: send a new object to replace, null or `{}` to clear, omit for no change.
| {
"data": {
"amount": {
"$gte": 100
},
"customer": {
"tier": "premium"
}
}
} | -| `config` | [Optional[models.RabbitMQConfig]](../models/rabbitmqconfig.md) | :heavy_minus_sign: | N/A | | -| `credentials` | [Optional[models.RabbitMQCredentials]](../models/rabbitmqcredentials.md) | :heavy_minus_sign: | N/A | | +| `config` | [Optional[models.RabbitMQConfigUpdate]](../models/rabbitmqconfigupdate.md) | :heavy_minus_sign: | Partial RabbitMQ config for PATCH updates (RFC 7396 merge-patch). | | +| `credentials` | [Optional[models.RabbitMQCredentialsUpdate]](../models/rabbitmqcredentialsupdate.md) | :heavy_minus_sign: | Partial RabbitMQ credentials for PATCH updates (RFC 7396 merge-patch). | | | `delivery_metadata` | Dict[str, *Nullable[str]*] | :heavy_minus_sign: | Static key-value pairs merged into event metadata on every attempt. Uses JSON merge-patch semantics (RFC 7396): send keys to add/update, null values to delete keys, null for entire field to clear all. Omit or send {} for no change. | {
"app-id": "my-app",
"region": "us-east-1"
} | | `metadata` | Dict[str, *Nullable[str]*] | :heavy_minus_sign: | Arbitrary contextual information stored with the destination. Uses JSON merge-patch semantics (RFC 7396): send keys to add/update, null values to delete keys, null for entire field to clear all. Omit or send {} for no change. | {
"internal-id": "123",
"team": "platform"
} | -| `disabled_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Update the disabled state of the destination. Send a timestamp (must not be in the future) to disable, null to enable, or omit to leave unchanged. | | \ No newline at end of file +| `disabled_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Update the disabled state of the destination. Send a timestamp (must not be in the future) to disable, null to enable, or omit to leave unchanged. | null | \ No newline at end of file diff --git a/sdks/outpost-python/docs/models/destinationupdaterabbitmqtype.md b/sdks/outpost-python/docs/models/destinationupdaterabbitmqtype.md new file mode 100644 index 000000000..62272af06 --- /dev/null +++ b/sdks/outpost-python/docs/models/destinationupdaterabbitmqtype.md @@ -0,0 +1,18 @@ +# DestinationUpdateRabbitMQType + +Destination type discriminator. Must equal the existing destination's type — type itself cannot be changed via PATCH. + +## Example Usage + +```python +from outpost_sdk.models import DestinationUpdateRabbitMQType + +value = DestinationUpdateRabbitMQType.RABBITMQ +``` + + +## Values + +| Name | Value | +| ---------- | ---------- | +| `RABBITMQ` | rabbitmq | \ No newline at end of file diff --git a/sdks/outpost-python/docs/models/destinationupdatewebhook.md b/sdks/outpost-python/docs/models/destinationupdatewebhook.md index d201a7903..e3a68a54e 100644 --- a/sdks/outpost-python/docs/models/destinationupdatewebhook.md +++ b/sdks/outpost-python/docs/models/destinationupdatewebhook.md @@ -5,10 +5,11 @@ | Field | Type | Required | Description | Example | | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.DestinationUpdateWebhookType](../models/destinationupdatewebhooktype.md) | :heavy_check_mark: | Destination type discriminator. Must equal the existing destination's type — type itself cannot be changed via PATCH. | webhook | | `topics` | [Optional[models.TopicsUnion]](../models/topicsunion.md) | :heavy_minus_sign: | "*" or an array of enabled topics. | * | | `filter_` | Dict[str, *Any*] | :heavy_minus_sign: | Optional JSON schema filter for event matching. Events must match this filter to be delivered to this destination.
Supports operators: $eq, $neq, $gt, $gte, $lt, $lte, $in, $nin, $startsWith, $endsWith, $exist, $or, $and, $not.
If null or empty, all events matching the topic filter will be delivered.
Uses full-replacement semantics on update: send a new object to replace, null or `{}` to clear, omit for no change.
| {
"data": {
"amount": {
"$gte": 100
},
"customer": {
"tier": "premium"
}
}
} | -| `config` | [Optional[models.WebhookConfig]](../models/webhookconfig.md) | :heavy_minus_sign: | N/A | | -| `credentials` | [Optional[models.WebhookCredentialsUpdate]](../models/webhookcredentialsupdate.md) | :heavy_minus_sign: | N/A | | +| `config` | [Optional[models.WebhookConfigUpdate]](../models/webhookconfigupdate.md) | :heavy_minus_sign: | Partial Webhook config for PATCH updates (RFC 7396 merge-patch). | | +| `credentials` | [Optional[models.WebhookCredentialsUpdate]](../models/webhookcredentialsupdate.md) | :heavy_minus_sign: | Partial Webhook credentials for PATCH updates (RFC 7396 merge-patch). | | | `delivery_metadata` | Dict[str, *Nullable[str]*] | :heavy_minus_sign: | Static key-value pairs merged into event metadata on every attempt. Uses JSON merge-patch semantics (RFC 7396): send keys to add/update, null values to delete keys, null for entire field to clear all. Omit or send {} for no change. | {
"app-id": "my-app",
"region": "us-east-1"
} | | `metadata` | Dict[str, *Nullable[str]*] | :heavy_minus_sign: | Arbitrary contextual information stored with the destination. Uses JSON merge-patch semantics (RFC 7396): send keys to add/update, null values to delete keys, null for entire field to clear all. Omit or send {} for no change. | {
"internal-id": "123",
"team": "platform"
} | -| `disabled_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Update the disabled state of the destination. Send a timestamp (must not be in the future) to disable, null to enable, or omit to leave unchanged. | | \ No newline at end of file +| `disabled_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Update the disabled state of the destination. Send a timestamp (must not be in the future) to disable, null to enable, or omit to leave unchanged. | null | \ No newline at end of file diff --git a/sdks/outpost-python/docs/models/destinationupdatewebhooktype.md b/sdks/outpost-python/docs/models/destinationupdatewebhooktype.md new file mode 100644 index 000000000..91bc64078 --- /dev/null +++ b/sdks/outpost-python/docs/models/destinationupdatewebhooktype.md @@ -0,0 +1,18 @@ +# DestinationUpdateWebhookType + +Destination type discriminator. Must equal the existing destination's type — type itself cannot be changed via PATCH. + +## Example Usage + +```python +from outpost_sdk.models import DestinationUpdateWebhookType + +value = DestinationUpdateWebhookType.WEBHOOK +``` + + +## Values + +| Name | Value | +| --------- | --------- | +| `WEBHOOK` | webhook | \ No newline at end of file diff --git a/sdks/outpost-python/docs/models/destinationwebhook.md b/sdks/outpost-python/docs/models/destinationwebhook.md index 8ae6f310e..9fcea088b 100644 --- a/sdks/outpost-python/docs/models/destinationwebhook.md +++ b/sdks/outpost-python/docs/models/destinationwebhook.md @@ -9,7 +9,7 @@ | `type` | [models.DestinationWebhookType](../models/destinationwebhooktype.md) | :heavy_check_mark: | Type of the destination. | webhook | | `topics` | [models.TopicsUnion](../models/topicsunion.md) | :heavy_check_mark: | "*" or an array of enabled topics. | * | | `filter_` | Dict[str, *Any*] | :heavy_minus_sign: | Optional JSON schema filter for event matching. Events must match this filter to be delivered to this destination.
Supports operators: $eq, $neq, $gt, $gte, $lt, $lte, $in, $nin, $startsWith, $endsWith, $exist, $or, $and, $not.
If null or empty, all events matching the topic filter will be delivered.
Uses full-replacement semantics on update: send a new object to replace, null or `{}` to clear, omit for no change.
| {
"data": {
"amount": {
"$gte": 100
},
"customer": {
"tier": "premium"
}
}
} | -| `disabled_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | ISO Date when the destination was disabled, or null if enabled. | | +| `disabled_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | ISO Date when the destination was disabled, or null if enabled. | null | | `created_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | ISO Date when the destination was created. | 2024-01-01T00:00:00Z | | `updated_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | ISO Date when the destination was last updated. | 2024-01-01T00:00:00Z | | `config` | [models.WebhookConfig](../models/webhookconfig.md) | :heavy_check_mark: | N/A | | diff --git a/sdks/outpost-python/docs/models/eventunion.md b/sdks/outpost-python/docs/models/eventunion.md index a060fdb7c..552ed9d37 100644 --- a/sdks/outpost-python/docs/models/eventunion.md +++ b/sdks/outpost-python/docs/models/eventunion.md @@ -5,15 +5,15 @@ The associated event object. Only present when include=event or include=event.da ## Supported Types -### `models.EventSummary` +### `models.EventFull` ```python -value: models.EventSummary = /* values here */ +value: models.EventFull = /* values here */ ``` -### `models.EventFull` +### `models.EventSummary` ```python -value: models.EventFull = /* values here */ +value: models.EventSummary = /* values here */ ``` diff --git a/sdks/outpost-python/docs/models/gcppubsubconfigupdate.md b/sdks/outpost-python/docs/models/gcppubsubconfigupdate.md new file mode 100644 index 000000000..837d3c257 --- /dev/null +++ b/sdks/outpost-python/docs/models/gcppubsubconfigupdate.md @@ -0,0 +1,12 @@ +# GCPPubSubConfigUpdate + +Partial GCP Pub/Sub config for PATCH updates (RFC 7396 merge-patch). + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `project_id` | *Optional[str]* | :heavy_minus_sign: | The GCP project ID. | +| `topic` | *Optional[str]* | :heavy_minus_sign: | The Pub/Sub topic name. | +| `endpoint` | *Optional[str]* | :heavy_minus_sign: | Optional. Custom endpoint URL (e.g., localhost:8085 for emulator). | \ No newline at end of file diff --git a/sdks/outpost-python/docs/models/gcppubsubcredentialsupdate.md b/sdks/outpost-python/docs/models/gcppubsubcredentialsupdate.md new file mode 100644 index 000000000..bd3f53f6e --- /dev/null +++ b/sdks/outpost-python/docs/models/gcppubsubcredentialsupdate.md @@ -0,0 +1,10 @@ +# GCPPubSubCredentialsUpdate + +Partial GCP Pub/Sub credentials for PATCH updates (RFC 7396 merge-patch). + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `service_account_json` | *Optional[str]* | :heavy_minus_sign: | Service account key JSON. The entire JSON key file content as a string. | \ No newline at end of file diff --git a/sdks/outpost-python/docs/models/hookdeckcredentialsupdate.md b/sdks/outpost-python/docs/models/hookdeckcredentialsupdate.md new file mode 100644 index 000000000..e0f5c5663 --- /dev/null +++ b/sdks/outpost-python/docs/models/hookdeckcredentialsupdate.md @@ -0,0 +1,10 @@ +# HookdeckCredentialsUpdate + +Partial Hookdeck credentials for PATCH updates (RFC 7396 merge-patch). + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------ | ------------------------------ | ------------------------------ | ------------------------------ | +| `token` | *Optional[str]* | :heavy_minus_sign: | Hookdeck authentication token. | \ No newline at end of file diff --git a/sdks/outpost-python/docs/models/kafkaconfig.md b/sdks/outpost-python/docs/models/kafkaconfig.md index 5a21d37c5..d7add211e 100644 --- a/sdks/outpost-python/docs/models/kafkaconfig.md +++ b/sdks/outpost-python/docs/models/kafkaconfig.md @@ -7,6 +7,6 @@ | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | | `brokers` | *str* | :heavy_check_mark: | Comma-separated list of Kafka broker addresses. | broker1.example.com:9092,broker2.example.com:9092 | | `topic` | *str* | :heavy_check_mark: | The Kafka topic to publish messages to. | events | -| `sasl_mechanism` | [models.SaslMechanism](../models/saslmechanism.md) | :heavy_check_mark: | SASL authentication mechanism. | scram-sha-256 | +| `sasl_mechanism` | [models.KafkaConfigSaslMechanism](../models/kafkaconfigsaslmechanism.md) | :heavy_check_mark: | SASL authentication mechanism. | scram-sha-256 | | `tls` | [Optional[models.KafkaConfigTLS]](../models/kafkaconfigtls.md) | :heavy_minus_sign: | Whether to enable TLS for the connection. | true | | `partition_key_template` | *Optional[str]* | :heavy_minus_sign: | Optional JMESPath template to extract the partition key from the event payload. Defaults to the event ID. | data.customer_id | \ No newline at end of file diff --git a/sdks/outpost-python/docs/models/saslmechanism.md b/sdks/outpost-python/docs/models/kafkaconfigsaslmechanism.md similarity index 68% rename from sdks/outpost-python/docs/models/saslmechanism.md rename to sdks/outpost-python/docs/models/kafkaconfigsaslmechanism.md index 3d58fc8aa..a61d63cab 100644 --- a/sdks/outpost-python/docs/models/saslmechanism.md +++ b/sdks/outpost-python/docs/models/kafkaconfigsaslmechanism.md @@ -1,13 +1,13 @@ -# SaslMechanism +# KafkaConfigSaslMechanism SASL authentication mechanism. ## Example Usage ```python -from outpost_sdk.models import SaslMechanism +from outpost_sdk.models import KafkaConfigSaslMechanism -value = SaslMechanism.PLAIN +value = KafkaConfigSaslMechanism.PLAIN ``` diff --git a/sdks/outpost-python/docs/models/kafkaconfigupdate.md b/sdks/outpost-python/docs/models/kafkaconfigupdate.md new file mode 100644 index 000000000..e7dca5d9d --- /dev/null +++ b/sdks/outpost-python/docs/models/kafkaconfigupdate.md @@ -0,0 +1,14 @@ +# KafkaConfigUpdate + +Partial Kafka config for PATCH updates (RFC 7396 merge-patch). + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | +| `brokers` | *Optional[str]* | :heavy_minus_sign: | Comma-separated list of Kafka broker addresses. | +| `topic` | *Optional[str]* | :heavy_minus_sign: | The Kafka topic to publish messages to. | +| `sasl_mechanism` | [Optional[models.KafkaConfigUpdateSaslMechanism]](../models/kafkaconfigupdatesaslmechanism.md) | :heavy_minus_sign: | SASL authentication mechanism. | +| `tls` | [Optional[models.KafkaConfigUpdateTLS]](../models/kafkaconfigupdatetls.md) | :heavy_minus_sign: | Whether to enable TLS for the connection. | +| `partition_key_template` | *Optional[str]* | :heavy_minus_sign: | Optional JMESPath template to extract the partition key from the event payload. | \ No newline at end of file diff --git a/sdks/outpost-python/docs/models/kafkaconfigupdatesaslmechanism.md b/sdks/outpost-python/docs/models/kafkaconfigupdatesaslmechanism.md new file mode 100644 index 000000000..e21a6fcb8 --- /dev/null +++ b/sdks/outpost-python/docs/models/kafkaconfigupdatesaslmechanism.md @@ -0,0 +1,20 @@ +# KafkaConfigUpdateSaslMechanism + +SASL authentication mechanism. + +## Example Usage + +```python +from outpost_sdk.models import KafkaConfigUpdateSaslMechanism + +value = KafkaConfigUpdateSaslMechanism.PLAIN +``` + + +## Values + +| Name | Value | +| --------------- | --------------- | +| `PLAIN` | plain | +| `SCRAM_SHA_256` | scram-sha-256 | +| `SCRAM_SHA_512` | scram-sha-512 | \ No newline at end of file diff --git a/sdks/outpost-python/docs/models/kafkaconfigupdatetls.md b/sdks/outpost-python/docs/models/kafkaconfigupdatetls.md new file mode 100644 index 000000000..9cb7b71e5 --- /dev/null +++ b/sdks/outpost-python/docs/models/kafkaconfigupdatetls.md @@ -0,0 +1,19 @@ +# KafkaConfigUpdateTLS + +Whether to enable TLS for the connection. + +## Example Usage + +```python +from outpost_sdk.models import KafkaConfigUpdateTLS + +value = KafkaConfigUpdateTLS.TRUE +``` + + +## Values + +| Name | Value | +| ------- | ------- | +| `TRUE` | true | +| `FALSE` | false | \ No newline at end of file diff --git a/sdks/outpost-python/docs/models/kafkacredentialsupdate.md b/sdks/outpost-python/docs/models/kafkacredentialsupdate.md new file mode 100644 index 000000000..f86b9c51e --- /dev/null +++ b/sdks/outpost-python/docs/models/kafkacredentialsupdate.md @@ -0,0 +1,11 @@ +# KafkaCredentialsUpdate + +Partial Kafka credentials for PATCH updates (RFC 7396 merge-patch). + + +## Fields + +| Field | Type | Required | Description | +| --------------------------------- | --------------------------------- | --------------------------------- | --------------------------------- | +| `username` | *Optional[str]* | :heavy_minus_sign: | SASL username for authentication. | +| `password` | *Optional[str]* | :heavy_minus_sign: | SASL password for authentication. | \ No newline at end of file diff --git a/sdks/outpost-python/docs/models/listattemptsresponse.md b/sdks/outpost-python/docs/models/listattemptsresponse.md deleted file mode 100644 index 0c39d34ac..000000000 --- a/sdks/outpost-python/docs/models/listattemptsresponse.md +++ /dev/null @@ -1,8 +0,0 @@ -# ListAttemptsResponse - - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -| `result` | [models.AttemptPaginatedResult](../models/attemptpaginatedresult.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/sdks/outpost-python/docs/models/listeventsresponse.md b/sdks/outpost-python/docs/models/listeventsresponse.md deleted file mode 100644 index 5beb7c411..000000000 --- a/sdks/outpost-python/docs/models/listeventsresponse.md +++ /dev/null @@ -1,8 +0,0 @@ -# ListEventsResponse - - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | -| `result` | [models.EventPaginatedResult](../models/eventpaginatedresult.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/sdks/outpost-python/docs/models/listtenantdestinationattemptsresponse.md b/sdks/outpost-python/docs/models/listtenantdestinationattemptsresponse.md deleted file mode 100644 index db08a48b5..000000000 --- a/sdks/outpost-python/docs/models/listtenantdestinationattemptsresponse.md +++ /dev/null @@ -1,8 +0,0 @@ -# ListTenantDestinationAttemptsResponse - - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -| `result` | [models.AttemptPaginatedResult](../models/attemptpaginatedresult.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/sdks/outpost-python/docs/models/listtenantsresponse.md b/sdks/outpost-python/docs/models/listtenantsresponse.md deleted file mode 100644 index 8175101b0..000000000 --- a/sdks/outpost-python/docs/models/listtenantsresponse.md +++ /dev/null @@ -1,8 +0,0 @@ -# ListTenantsResponse - - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | -| `result` | [models.TenantPaginatedResult](../models/tenantpaginatedresult.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/sdks/outpost-python/docs/models/rabbitmqconfigupdate.md b/sdks/outpost-python/docs/models/rabbitmqconfigupdate.md new file mode 100644 index 000000000..e3356abe8 --- /dev/null +++ b/sdks/outpost-python/docs/models/rabbitmqconfigupdate.md @@ -0,0 +1,12 @@ +# RabbitMQConfigUpdate + +Partial RabbitMQ config for PATCH updates (RFC 7396 merge-patch). + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `server_url` | *Optional[str]* | :heavy_minus_sign: | RabbitMQ server address (host:port). | +| `exchange` | *Optional[str]* | :heavy_minus_sign: | The exchange to publish messages to. | +| `tls` | [Optional[models.RabbitMQConfigUpdateTLS]](../models/rabbitmqconfigupdatetls.md) | :heavy_minus_sign: | Whether to use TLS connection (amqps). | \ No newline at end of file diff --git a/sdks/outpost-python/docs/models/rabbitmqconfigupdatetls.md b/sdks/outpost-python/docs/models/rabbitmqconfigupdatetls.md new file mode 100644 index 000000000..a4a230d97 --- /dev/null +++ b/sdks/outpost-python/docs/models/rabbitmqconfigupdatetls.md @@ -0,0 +1,19 @@ +# RabbitMQConfigUpdateTLS + +Whether to use TLS connection (amqps). + +## Example Usage + +```python +from outpost_sdk.models import RabbitMQConfigUpdateTLS + +value = RabbitMQConfigUpdateTLS.TRUE +``` + + +## Values + +| Name | Value | +| ------- | ------- | +| `TRUE` | true | +| `FALSE` | false | \ No newline at end of file diff --git a/sdks/outpost-python/docs/models/rabbitmqcredentialsupdate.md b/sdks/outpost-python/docs/models/rabbitmqcredentialsupdate.md new file mode 100644 index 000000000..5041e58f6 --- /dev/null +++ b/sdks/outpost-python/docs/models/rabbitmqcredentialsupdate.md @@ -0,0 +1,11 @@ +# RabbitMQCredentialsUpdate + +Partial RabbitMQ credentials for PATCH updates (RFC 7396 merge-patch). + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `username` | *Optional[str]* | :heavy_minus_sign: | RabbitMQ username. | +| `password` | *Optional[str]* | :heavy_minus_sign: | RabbitMQ password. | \ No newline at end of file diff --git a/sdks/outpost-python/docs/models/seekpagination.md b/sdks/outpost-python/docs/models/seekpagination.md index 88d0744b9..fac7a85d7 100644 --- a/sdks/outpost-python/docs/models/seekpagination.md +++ b/sdks/outpost-python/docs/models/seekpagination.md @@ -11,4 +11,4 @@ Cursor-based pagination metadata for list responses. | `dir` | [Optional[models.Dir]](../models/dir.md) | :heavy_minus_sign: | Sort direction. | desc | | `limit` | *Optional[int]* | :heavy_minus_sign: | Page size limit. | 100 | | `next_cursor` | *OptionalNullable[str]* | :heavy_minus_sign: | Cursor for the next page of results. Null if no more results. | MTcwNDA2NzIwMA== | -| `prev_cursor` | *OptionalNullable[str]* | :heavy_minus_sign: | Cursor for the previous page of results. Null if on first page. | | \ No newline at end of file +| `prev_cursor` | *OptionalNullable[str]* | :heavy_minus_sign: | Cursor for the previous page of results. Null if on first page. | null | \ No newline at end of file diff --git a/sdks/outpost-python/docs/models/webhookconfigupdate.md b/sdks/outpost-python/docs/models/webhookconfigupdate.md new file mode 100644 index 000000000..fbeb1f1ef --- /dev/null +++ b/sdks/outpost-python/docs/models/webhookconfigupdate.md @@ -0,0 +1,11 @@ +# WebhookConfigUpdate + +Partial Webhook config for PATCH updates (RFC 7396 merge-patch). + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | +| `url` | *Optional[str]* | :heavy_minus_sign: | The URL to send the webhook events to. | https://example.com/webhooks/user | +| `custom_headers` | *Optional[str]* | :heavy_minus_sign: | JSON string of custom HTTP headers to include with every webhook request. | {"x-api-key":"secret123","x-tenant-id":"customer-456"} | \ No newline at end of file diff --git a/sdks/outpost-python/docs/models/webhookcredentialsupdate.md b/sdks/outpost-python/docs/models/webhookcredentialsupdate.md index 9e4282bf1..21c0faf93 100644 --- a/sdks/outpost-python/docs/models/webhookcredentialsupdate.md +++ b/sdks/outpost-python/docs/models/webhookcredentialsupdate.md @@ -1,5 +1,7 @@ # WebhookCredentialsUpdate +Partial Webhook credentials for PATCH updates (RFC 7396 merge-patch). + ## Fields diff --git a/sdks/outpost-python/docs/sdks/attempts/README.md b/sdks/outpost-python/docs/sdks/attempts/README.md index 4449290d0..361282072 100644 --- a/sdks/outpost-python/docs/sdks/attempts/README.md +++ b/sdks/outpost-python/docs/sdks/attempts/README.md @@ -39,10 +39,8 @@ with Outpost( "destination_type": models.DestinationType.WEBHOOK, }) - while res is not None: - # Handle items - - res = res.next() + # Handle response + print(res) ``` ### Example Usage: AdminAttemptsWithIncludeExample @@ -60,10 +58,8 @@ with Outpost( "destination_type": models.DestinationType.WEBHOOK, }) - while res is not None: - # Handle items - - res = res.next() + # Handle response + print(res) ``` @@ -76,7 +72,7 @@ with Outpost( ### Response -**[models.ListAttemptsResponse](../../models/listattemptsresponse.md)** +**[models.AttemptPaginatedResult](../../models/attemptpaginatedresult.md)** ### Errors diff --git a/sdks/outpost-python/docs/sdks/destinations/README.md b/sdks/outpost-python/docs/sdks/destinations/README.md index 1c464df7d..6df6becd8 100644 --- a/sdks/outpost-python/docs/sdks/destinations/README.md +++ b/sdks/outpost-python/docs/sdks/destinations/README.md @@ -207,16 +207,7 @@ with Outpost( ) as outpost: res = outpost.destinations.update(tenant_id="", destination_id="", body={ - "topics": models.TopicsEnum.WILDCARD_, - "config": { - "server_url": "localhost:5672", - "exchange": "my-exchange", - "tls": models.RabbitMQConfigTLS.FALSE, - }, - "credentials": { - "username": "guest", - "password": "guest", - }, + "type": models.DestinationUpdateKafkaType.KAFKA, }) # Handle response @@ -227,7 +218,7 @@ with Outpost( ```python -from outpost_sdk import Outpost +from outpost_sdk import Outpost, models with Outpost( @@ -235,12 +226,7 @@ with Outpost( ) as outpost: res = outpost.destinations.update(tenant_id="", destination_id="", body={ - "topics": [ - "user.created", - ], - "config": { - "url": "https://my-service.com/webhook/new-handler", - }, + "type": models.DestinationUpdateHookdeckType.HOOKDECK, }) # Handle response @@ -420,10 +406,8 @@ with Outpost( "destination_id": "", }) - while res is not None: - # Handle items - - res = res.next() + # Handle response + print(res) ``` @@ -436,7 +420,7 @@ with Outpost( ### Response -**[models.ListTenantDestinationAttemptsResponse](../../models/listtenantdestinationattemptsresponse.md)** +**[models.AttemptPaginatedResult](../../models/attemptpaginatedresult.md)** ### Errors diff --git a/sdks/outpost-python/docs/sdks/events/README.md b/sdks/outpost-python/docs/sdks/events/README.md index 2d63fbaa0..68d37de2a 100644 --- a/sdks/outpost-python/docs/sdks/events/README.md +++ b/sdks/outpost-python/docs/sdks/events/README.md @@ -31,10 +31,8 @@ with Outpost( res = outpost.events.list(request={}) - while res is not None: - # Handle items - - res = res.next() + # Handle response + print(res) ``` @@ -47,7 +45,7 @@ with Outpost( ### Response -**[models.ListEventsResponse](../../models/listeventsresponse.md)** +**[models.EventPaginatedResult](../../models/eventpaginatedresult.md)** ### Errors diff --git a/sdks/outpost-python/docs/sdks/tenants/README.md b/sdks/outpost-python/docs/sdks/tenants/README.md index 30aa4e8cd..98450dcb8 100644 --- a/sdks/outpost-python/docs/sdks/tenants/README.md +++ b/sdks/outpost-python/docs/sdks/tenants/README.md @@ -39,10 +39,8 @@ with Outpost( res = outpost.tenants.list(request={}) - while res is not None: - # Handle items - - res = res.next() + # Handle response + print(res) ``` @@ -55,7 +53,7 @@ with Outpost( ### Response -**[models.ListTenantsResponse](../../models/listtenantsresponse.md)** +**[models.TenantPaginatedResult](../../models/tenantpaginatedresult.md)** ### Errors diff --git a/sdks/outpost-python/poetry.lock b/sdks/outpost-python/poetry.lock index d1416921d..f10530730 100644 --- a/sdks/outpost-python/poetry.lock +++ b/sdks/outpost-python/poetry.lock @@ -196,21 +196,6 @@ files = [ [package.extras] colors = ["colorama (>=0.4.6)"] -[[package]] -name = "jsonpath-python" -version = "1.1.4" -description = "A lightweight and powerful JSONPath implementation for Python" -optional = false -python-versions = ">=3.8" -groups = ["main"] -files = [ - {file = "jsonpath_python-1.1.4-py3-none-any.whl", hash = "sha256:8700cb8610c44da6e5e9bff50232779c44bf7dc5bc62662d49319ee746898442"}, - {file = "jsonpath_python-1.1.4.tar.gz", hash = "sha256:bb3e13854e4807c078a1503ae2d87c211b8bff4d9b40b6455ed583b3b50a7fdd"}, -] - -[package.extras] -dev = ["poethepoet", "pytest (>=8.0)", "pytest-benchmark[histogram] (>=4.0)", "pytest-cov (>=5.0)", "ruff (>=0.3)"] - [[package]] name = "mccabe" version = "0.7.0" @@ -625,4 +610,4 @@ typing-extensions = ">=4.12.0" [metadata] lock-version = "2.1" python-versions = ">=3.10" -content-hash = "50e1444fed63445d3c2242eb37bd78fb77a3a5c2858fd4bd122567c56364b0f7" +content-hash = "f6a8355b7012376d6650030a1b23aaf67653ed8ccc9eae2880ccb8d9a23e3d6b" diff --git a/sdks/outpost-python/pyproject.toml b/sdks/outpost-python/pyproject.toml index 3110be9ce..e99eac12f 100644 --- a/sdks/outpost-python/pyproject.toml +++ b/sdks/outpost-python/pyproject.toml @@ -1,7 +1,7 @@ [project] name = "outpost_sdk" -version = "1.3.0" +version = "1.4.0" description = "Python Client SDK Generated by Speakeasy." authors = [{ name = "Speakeasy" },] readme = "README-PYPI.md" @@ -9,7 +9,6 @@ requires-python = ">=3.10" dependencies = [ "httpcore >=1.0.9", "httpx >=0.28.1", - "jsonpath-python >=1.0.6", "pydantic >=2.11.2", ] diff --git a/sdks/outpost-python/src/outpost_sdk/_version.py b/sdks/outpost-python/src/outpost_sdk/_version.py index c3ca1e3ba..cf8ba2ca1 100644 --- a/sdks/outpost-python/src/outpost_sdk/_version.py +++ b/sdks/outpost-python/src/outpost_sdk/_version.py @@ -3,10 +3,10 @@ import importlib.metadata __title__: str = "outpost_sdk" -__version__: str = "1.3.0" +__version__: str = "1.4.0" __openapi_doc_version__: str = "0.0.1" -__gen_version__: str = "2.884.0" -__user_agent__: str = "speakeasy-sdk/python 1.3.0 2.884.0 0.0.1 outpost_sdk" +__gen_version__: str = "2.889.1" +__user_agent__: str = "speakeasy-sdk/python 1.4.0 2.889.1 0.0.1 outpost_sdk" try: if __package__ is not None: diff --git a/sdks/outpost-python/src/outpost_sdk/attempts.py b/sdks/outpost-python/src/outpost_sdk/attempts.py index 2f325d73d..7c5191a8a 100644 --- a/sdks/outpost-python/src/outpost_sdk/attempts.py +++ b/sdks/outpost-python/src/outpost_sdk/attempts.py @@ -1,12 +1,11 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" from .basesdk import BaseSDK -from jsonpath import JSONPath from outpost_sdk import errors, models, utils from outpost_sdk._hooks import HookContext from outpost_sdk.types import BaseModel, OptionalNullable, UNSET from outpost_sdk.utils.unmarshal_json_response import unmarshal_json_response -from typing import Any, Dict, List, Mapping, Optional, Union, cast +from typing import Any, Mapping, Optional, Union, cast class Attempts(BaseSDK): @@ -28,7 +27,7 @@ def list( server_url: Optional[str] = None, timeout_ms: Optional[int] = None, http_headers: Optional[Mapping[str, str]] = None, - ) -> Optional[models.ListAttemptsResponse]: + ) -> models.AttemptPaginatedResult: r"""List Attempts Retrieves a paginated list of attempts. @@ -98,51 +97,9 @@ def list( retry_config=retry_config, ) - def next_func() -> Optional[models.ListAttemptsResponse]: - body = utils.unmarshal_json(http_res.text, Union[Dict[Any, Any], List[Any]]) - next_cursor = JSONPath("$.pagination.next").parse(body) - - if len(next_cursor) == 0: - return None - - next_cursor = next_cursor[0] - if next_cursor is None or str(next_cursor).strip() == "": - return None - results = JSONPath("$.models").parse(body) - if len(results) == 0 or len(results[0]) == 0: - return None - limit_ = request.limit if isinstance(request.limit, int) else 100 - if len(results[0]) < limit_: - return None - - return self.list( - request=models.ListAttemptsRequest( - tenant_id=request.tenant_id, - event_id=request.event_id, - destination_id=request.destination_id, - destination_type=request.destination_type, - status=request.status, - topic=request.topic, - time=request.time, - limit=request.limit, - next_cursor=request.next_cursor, - prev_cursor=request.prev_cursor, - include=request.include, - order_by=request.order_by, - direction=request.direction, - ), - retries=retries, - server_url=server_url, - timeout_ms=timeout_ms, - http_headers=http_headers, - ) - response_data: Any = None if utils.match_response(http_res, "200", "application/json"): - return models.ListAttemptsResponse( - result=unmarshal_json_response(models.AttemptPaginatedResult, http_res), - next=next_func, - ) + return unmarshal_json_response(models.AttemptPaginatedResult, http_res) if utils.match_response(http_res, "401", "application/json"): response_data = unmarshal_json_response( errors.UnauthorizedErrorData, http_res @@ -170,7 +127,7 @@ async def list_async( server_url: Optional[str] = None, timeout_ms: Optional[int] = None, http_headers: Optional[Mapping[str, str]] = None, - ) -> Optional[models.ListAttemptsResponse]: + ) -> models.AttemptPaginatedResult: r"""List Attempts Retrieves a paginated list of attempts. @@ -240,51 +197,9 @@ async def list_async( retry_config=retry_config, ) - def next_func() -> Optional[models.ListAttemptsResponse]: - body = utils.unmarshal_json(http_res.text, Union[Dict[Any, Any], List[Any]]) - next_cursor = JSONPath("$.pagination.next").parse(body) - - if len(next_cursor) == 0: - return None - - next_cursor = next_cursor[0] - if next_cursor is None or str(next_cursor).strip() == "": - return None - results = JSONPath("$.models").parse(body) - if len(results) == 0 or len(results[0]) == 0: - return None - limit_ = request.limit if isinstance(request.limit, int) else 100 - if len(results[0]) < limit_: - return None - - return self.list( - request=models.ListAttemptsRequest( - tenant_id=request.tenant_id, - event_id=request.event_id, - destination_id=request.destination_id, - destination_type=request.destination_type, - status=request.status, - topic=request.topic, - time=request.time, - limit=request.limit, - next_cursor=request.next_cursor, - prev_cursor=request.prev_cursor, - include=request.include, - order_by=request.order_by, - direction=request.direction, - ), - retries=retries, - server_url=server_url, - timeout_ms=timeout_ms, - http_headers=http_headers, - ) - response_data: Any = None if utils.match_response(http_res, "200", "application/json"): - return models.ListAttemptsResponse( - result=unmarshal_json_response(models.AttemptPaginatedResult, http_res), - next=next_func, - ) + return unmarshal_json_response(models.AttemptPaginatedResult, http_res) if utils.match_response(http_res, "401", "application/json"): response_data = unmarshal_json_response( errors.UnauthorizedErrorData, http_res diff --git a/sdks/outpost-python/src/outpost_sdk/destinations.py b/sdks/outpost-python/src/outpost_sdk/destinations.py index bb8ffe263..df104c019 100644 --- a/sdks/outpost-python/src/outpost_sdk/destinations.py +++ b/sdks/outpost-python/src/outpost_sdk/destinations.py @@ -1,12 +1,11 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" from .basesdk import BaseSDK -from jsonpath import JSONPath from outpost_sdk import errors, models, utils from outpost_sdk._hooks import HookContext from outpost_sdk.types import BaseModel, OptionalNullable, UNSET from outpost_sdk.utils.unmarshal_json_response import unmarshal_json_response -from typing import Any, Dict, List, Mapping, Optional, Union, cast +from typing import Any, List, Mapping, Optional, Union, cast class Destinations(BaseSDK): @@ -1483,7 +1482,7 @@ def list_attempts( server_url: Optional[str] = None, timeout_ms: Optional[int] = None, http_headers: Optional[Mapping[str, str]] = None, - ) -> Optional[models.ListTenantDestinationAttemptsResponse]: + ) -> models.AttemptPaginatedResult: r"""List Destination Attempts Retrieves a paginated list of attempts scoped to a specific destination. @@ -1548,50 +1547,9 @@ def list_attempts( retry_config=retry_config, ) - def next_func() -> Optional[models.ListTenantDestinationAttemptsResponse]: - body = utils.unmarshal_json(http_res.text, Union[Dict[Any, Any], List[Any]]) - next_cursor = JSONPath("$.pagination.next").parse(body) - - if len(next_cursor) == 0: - return None - - next_cursor = next_cursor[0] - if next_cursor is None or str(next_cursor).strip() == "": - return None - results = JSONPath("$.models").parse(body) - if len(results) == 0 or len(results[0]) == 0: - return None - limit_ = request.limit if isinstance(request.limit, int) else 100 - if len(results[0]) < limit_: - return None - - return self.list_attempts( - request=models.ListTenantDestinationAttemptsRequest( - tenant_id=request.tenant_id, - destination_id=request.destination_id, - event_id=request.event_id, - status=request.status, - topic=request.topic, - time=request.time, - limit=request.limit, - next_cursor=request.next_cursor, - prev_cursor=request.prev_cursor, - include=request.include, - order_by=request.order_by, - direction=request.direction, - ), - retries=retries, - server_url=server_url, - timeout_ms=timeout_ms, - http_headers=http_headers, - ) - response_data: Any = None if utils.match_response(http_res, "200", "application/json"): - return models.ListTenantDestinationAttemptsResponse( - result=unmarshal_json_response(models.AttemptPaginatedResult, http_res), - next=next_func, - ) + return unmarshal_json_response(models.AttemptPaginatedResult, http_res) if utils.match_response(http_res, "401", "application/json"): response_data = unmarshal_json_response( errors.UnauthorizedErrorData, http_res @@ -1625,7 +1583,7 @@ async def list_attempts_async( server_url: Optional[str] = None, timeout_ms: Optional[int] = None, http_headers: Optional[Mapping[str, str]] = None, - ) -> Optional[models.ListTenantDestinationAttemptsResponse]: + ) -> models.AttemptPaginatedResult: r"""List Destination Attempts Retrieves a paginated list of attempts scoped to a specific destination. @@ -1690,50 +1648,9 @@ async def list_attempts_async( retry_config=retry_config, ) - def next_func() -> Optional[models.ListTenantDestinationAttemptsResponse]: - body = utils.unmarshal_json(http_res.text, Union[Dict[Any, Any], List[Any]]) - next_cursor = JSONPath("$.pagination.next").parse(body) - - if len(next_cursor) == 0: - return None - - next_cursor = next_cursor[0] - if next_cursor is None or str(next_cursor).strip() == "": - return None - results = JSONPath("$.models").parse(body) - if len(results) == 0 or len(results[0]) == 0: - return None - limit_ = request.limit if isinstance(request.limit, int) else 100 - if len(results[0]) < limit_: - return None - - return self.list_attempts( - request=models.ListTenantDestinationAttemptsRequest( - tenant_id=request.tenant_id, - destination_id=request.destination_id, - event_id=request.event_id, - status=request.status, - topic=request.topic, - time=request.time, - limit=request.limit, - next_cursor=request.next_cursor, - prev_cursor=request.prev_cursor, - include=request.include, - order_by=request.order_by, - direction=request.direction, - ), - retries=retries, - server_url=server_url, - timeout_ms=timeout_ms, - http_headers=http_headers, - ) - response_data: Any = None if utils.match_response(http_res, "200", "application/json"): - return models.ListTenantDestinationAttemptsResponse( - result=unmarshal_json_response(models.AttemptPaginatedResult, http_res), - next=next_func, - ) + return unmarshal_json_response(models.AttemptPaginatedResult, http_res) if utils.match_response(http_res, "401", "application/json"): response_data = unmarshal_json_response( errors.UnauthorizedErrorData, http_res diff --git a/sdks/outpost-python/src/outpost_sdk/events.py b/sdks/outpost-python/src/outpost_sdk/events.py index dba2ccdd6..5e5676835 100644 --- a/sdks/outpost-python/src/outpost_sdk/events.py +++ b/sdks/outpost-python/src/outpost_sdk/events.py @@ -1,12 +1,11 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" from .basesdk import BaseSDK -from jsonpath import JSONPath from outpost_sdk import errors, models, utils from outpost_sdk._hooks import HookContext from outpost_sdk.types import BaseModel, OptionalNullable, UNSET from outpost_sdk.utils.unmarshal_json_response import unmarshal_json_response -from typing import Any, Dict, List, Mapping, Optional, Union, cast +from typing import Any, Mapping, Optional, Union, cast class Events(BaseSDK): @@ -20,7 +19,7 @@ def list( server_url: Optional[str] = None, timeout_ms: Optional[int] = None, http_headers: Optional[Mapping[str, str]] = None, - ) -> Optional[models.ListEventsResponse]: + ) -> models.EventPaginatedResult: r"""List Events Retrieves a list of events. @@ -90,48 +89,9 @@ def list( retry_config=retry_config, ) - def next_func() -> Optional[models.ListEventsResponse]: - body = utils.unmarshal_json(http_res.text, Union[Dict[Any, Any], List[Any]]) - next_cursor = JSONPath("$.pagination.next").parse(body) - - if len(next_cursor) == 0: - return None - - next_cursor = next_cursor[0] - if next_cursor is None or str(next_cursor).strip() == "": - return None - results = JSONPath("$.models").parse(body) - if len(results) == 0 or len(results[0]) == 0: - return None - limit_ = request.limit if isinstance(request.limit, int) else 100 - if len(results[0]) < limit_: - return None - - return self.list( - request=models.ListEventsRequest( - id=request.id, - tenant_id=request.tenant_id, - destination_id=request.destination_id, - topic=request.topic, - time=request.time, - limit=request.limit, - next_cursor=request.next_cursor, - prev_cursor=request.prev_cursor, - order_by=request.order_by, - direction=request.direction, - ), - retries=retries, - server_url=server_url, - timeout_ms=timeout_ms, - http_headers=http_headers, - ) - response_data: Any = None if utils.match_response(http_res, "200", "application/json"): - return models.ListEventsResponse( - result=unmarshal_json_response(models.EventPaginatedResult, http_res), - next=next_func, - ) + return unmarshal_json_response(models.EventPaginatedResult, http_res) if utils.match_response(http_res, "401", "application/json"): response_data = unmarshal_json_response( errors.UnauthorizedErrorData, http_res @@ -159,7 +119,7 @@ async def list_async( server_url: Optional[str] = None, timeout_ms: Optional[int] = None, http_headers: Optional[Mapping[str, str]] = None, - ) -> Optional[models.ListEventsResponse]: + ) -> models.EventPaginatedResult: r"""List Events Retrieves a list of events. @@ -229,48 +189,9 @@ async def list_async( retry_config=retry_config, ) - def next_func() -> Optional[models.ListEventsResponse]: - body = utils.unmarshal_json(http_res.text, Union[Dict[Any, Any], List[Any]]) - next_cursor = JSONPath("$.pagination.next").parse(body) - - if len(next_cursor) == 0: - return None - - next_cursor = next_cursor[0] - if next_cursor is None or str(next_cursor).strip() == "": - return None - results = JSONPath("$.models").parse(body) - if len(results) == 0 or len(results[0]) == 0: - return None - limit_ = request.limit if isinstance(request.limit, int) else 100 - if len(results[0]) < limit_: - return None - - return self.list( - request=models.ListEventsRequest( - id=request.id, - tenant_id=request.tenant_id, - destination_id=request.destination_id, - topic=request.topic, - time=request.time, - limit=request.limit, - next_cursor=request.next_cursor, - prev_cursor=request.prev_cursor, - order_by=request.order_by, - direction=request.direction, - ), - retries=retries, - server_url=server_url, - timeout_ms=timeout_ms, - http_headers=http_headers, - ) - response_data: Any = None if utils.match_response(http_res, "200", "application/json"): - return models.ListEventsResponse( - result=unmarshal_json_response(models.EventPaginatedResult, http_res), - next=next_func, - ) + return unmarshal_json_response(models.EventPaginatedResult, http_res) if utils.match_response(http_res, "401", "application/json"): response_data = unmarshal_json_response( errors.UnauthorizedErrorData, http_res diff --git a/sdks/outpost-python/src/outpost_sdk/models/__init__.py b/sdks/outpost-python/src/outpost_sdk/models/__init__.py index 8ad0d1f34..0838b4df4 100644 --- a/sdks/outpost-python/src/outpost_sdk/models/__init__.py +++ b/sdks/outpost-python/src/outpost_sdk/models/__init__.py @@ -21,22 +21,48 @@ AttemptPaginatedResultTypedDict, ) from .awskinesisconfig import AWSKinesisConfig, AWSKinesisConfigTypedDict + from .awskinesisconfigupdate import ( + AWSKinesisConfigUpdate, + AWSKinesisConfigUpdateTypedDict, + ) from .awskinesiscredentials import ( AWSKinesisCredentials, AWSKinesisCredentialsTypedDict, ) + from .awskinesiscredentialsupdate import ( + AWSKinesisCredentialsUpdate, + AWSKinesisCredentialsUpdateTypedDict, + ) from .awss3config import Awss3Config, Awss3ConfigTypedDict + from .awss3configupdate import Awss3ConfigUpdate, Awss3ConfigUpdateTypedDict from .awss3credentials import Awss3Credentials, Awss3CredentialsTypedDict + from .awss3credentialsupdate import ( + Awss3CredentialsUpdate, + Awss3CredentialsUpdateTypedDict, + ) from .awssqsconfig import AWSSQSConfig, AWSSQSConfigTypedDict + from .awssqsconfigupdate import AWSSQSConfigUpdate, AWSSQSConfigUpdateTypedDict from .awssqscredentials import AWSSQSCredentials, AWSSQSCredentialsTypedDict + from .awssqscredentialsupdate import ( + AWSSQSCredentialsUpdate, + AWSSQSCredentialsUpdateTypedDict, + ) from .azureservicebusconfig import ( AzureServiceBusConfig, AzureServiceBusConfigTypedDict, ) + from .azureservicebusconfigupdate import ( + AzureServiceBusConfigUpdate, + AzureServiceBusConfigUpdateTypedDict, + ) from .azureservicebuscredentials import ( AzureServiceBusCredentials, AzureServiceBusCredentialsTypedDict, ) + from .azureservicebuscredentialsupdate import ( + AzureServiceBusCredentialsUpdate, + AzureServiceBusCredentialsUpdateTypedDict, + ) from .createtenantdestinationop import ( CreateTenantDestinationRequest, CreateTenantDestinationRequestTypedDict, @@ -150,38 +176,47 @@ from .destinationupdate import DestinationUpdate, DestinationUpdateTypedDict from .destinationupdateawskinesis import ( DestinationUpdateAWSKinesis, + DestinationUpdateAWSKinesisType, DestinationUpdateAWSKinesisTypedDict, ) from .destinationupdateawss3 import ( DestinationUpdateAwss3, + DestinationUpdateAwss3Type, DestinationUpdateAwss3TypedDict, ) from .destinationupdateawssqs import ( DestinationUpdateAWSSQS, + DestinationUpdateAWSSQSType, DestinationUpdateAWSSQSTypedDict, ) from .destinationupdateazureservicebus import ( DestinationUpdateAzureServiceBus, + DestinationUpdateAzureServiceBusType, DestinationUpdateAzureServiceBusTypedDict, ) from .destinationupdategcppubsub import ( DestinationUpdateGCPPubSub, + DestinationUpdateGCPPubSubType, DestinationUpdateGCPPubSubTypedDict, ) from .destinationupdatehookdeck import ( DestinationUpdateHookdeck, + DestinationUpdateHookdeckType, DestinationUpdateHookdeckTypedDict, ) from .destinationupdatekafka import ( DestinationUpdateKafka, + DestinationUpdateKafkaType, DestinationUpdateKafkaTypedDict, ) from .destinationupdaterabbitmq import ( DestinationUpdateRabbitMQ, + DestinationUpdateRabbitMQType, DestinationUpdateRabbitMQTypedDict, ) from .destinationupdatewebhook import ( DestinationUpdateWebhook, + DestinationUpdateWebhookType, DestinationUpdateWebhookTypedDict, ) from .destinationwebhook import ( @@ -203,10 +238,18 @@ EventPaginatedResultTypedDict, ) from .gcppubsubconfig import GCPPubSubConfig, GCPPubSubConfigTypedDict + from .gcppubsubconfigupdate import ( + GCPPubSubConfigUpdate, + GCPPubSubConfigUpdateTypedDict, + ) from .gcppubsubcredentials import ( GCPPubSubCredentials, GCPPubSubCredentialsTypedDict, ) + from .gcppubsubcredentialsupdate import ( + GCPPubSubCredentialsUpdate, + GCPPubSubCredentialsUpdateTypedDict, + ) from .getattemptmetricsop import ( FiltersAttemptNumber, FiltersAttemptNumberTypedDict, @@ -296,13 +339,27 @@ WorkersTypedDict, ) from .hookdeckcredentials import HookdeckCredentials, HookdeckCredentialsTypedDict + from .hookdeckcredentialsupdate import ( + HookdeckCredentialsUpdate, + HookdeckCredentialsUpdateTypedDict, + ) from .kafkaconfig import ( KafkaConfig, + KafkaConfigSaslMechanism, KafkaConfigTLS, KafkaConfigTypedDict, - SaslMechanism, + ) + from .kafkaconfigupdate import ( + KafkaConfigUpdate, + KafkaConfigUpdateSaslMechanism, + KafkaConfigUpdateTLS, + KafkaConfigUpdateTypedDict, ) from .kafkacredentials import KafkaCredentials, KafkaCredentialsTypedDict + from .kafkacredentialsupdate import ( + KafkaCredentialsUpdate, + KafkaCredentialsUpdateTypedDict, + ) from .listattemptsop import ( ListAttemptsDestinationID, ListAttemptsDestinationIDTypedDict, @@ -316,8 +373,6 @@ ListAttemptsOrderBy, ListAttemptsRequest, ListAttemptsRequestTypedDict, - ListAttemptsResponse, - ListAttemptsResponseTypedDict, ListAttemptsStatus, ListAttemptsTenantID, ListAttemptsTenantIDTypedDict, @@ -333,8 +388,6 @@ ListEventsOrderBy, ListEventsRequest, ListEventsRequestTypedDict, - ListEventsResponse, - ListEventsResponseTypedDict, ListEventsTenantID, ListEventsTenantIDTypedDict, ListEventsTopic, @@ -349,8 +402,6 @@ ListTenantDestinationAttemptsOrderBy, ListTenantDestinationAttemptsRequest, ListTenantDestinationAttemptsRequestTypedDict, - ListTenantDestinationAttemptsResponse, - ListTenantDestinationAttemptsResponseTypedDict, ListTenantDestinationAttemptsStatus, ListTenantDestinationAttemptsTopic, ListTenantDestinationAttemptsTopicTypedDict, @@ -369,8 +420,6 @@ ListTenantsIDTypedDict, ListTenantsRequest, ListTenantsRequestTypedDict, - ListTenantsResponse, - ListTenantsResponseTypedDict, ) from .managedconfig import ManagedConfig, ManagedConfigTypedDict from .metricsdatapoint import MetricsDataPoint, MetricsDataPointTypedDict @@ -385,7 +434,16 @@ RabbitMQConfigTLS, RabbitMQConfigTypedDict, ) + from .rabbitmqconfigupdate import ( + RabbitMQConfigUpdate, + RabbitMQConfigUpdateTLS, + RabbitMQConfigUpdateTypedDict, + ) from .rabbitmqcredentials import RabbitMQCredentials, RabbitMQCredentialsTypedDict + from .rabbitmqcredentialsupdate import ( + RabbitMQCredentialsUpdate, + RabbitMQCredentialsUpdateTypedDict, + ) from .retryrequest import RetryRequest, RetryRequestTypedDict from .security import Security, SecurityTypedDict from .seekpagination import Dir, SeekPagination, SeekPaginationTypedDict @@ -406,6 +464,7 @@ ) from .upserttenantop import UpsertTenantRequest, UpsertTenantRequestTypedDict from .webhookconfig import WebhookConfig, WebhookConfigTypedDict + from .webhookconfigupdate import WebhookConfigUpdate, WebhookConfigUpdateTypedDict from .webhookcredentials import WebhookCredentials, WebhookCredentialsTypedDict from .webhookcredentialsupdate import ( WebhookCredentialsUpdate, @@ -415,24 +474,40 @@ __all__ = [ "AWSKinesisConfig", "AWSKinesisConfigTypedDict", + "AWSKinesisConfigUpdate", + "AWSKinesisConfigUpdateTypedDict", "AWSKinesisCredentials", "AWSKinesisCredentialsTypedDict", + "AWSKinesisCredentialsUpdate", + "AWSKinesisCredentialsUpdateTypedDict", "AWSSQSConfig", "AWSSQSConfigTypedDict", + "AWSSQSConfigUpdate", + "AWSSQSConfigUpdateTypedDict", "AWSSQSCredentials", "AWSSQSCredentialsTypedDict", + "AWSSQSCredentialsUpdate", + "AWSSQSCredentialsUpdateTypedDict", "Attempt", "AttemptPaginatedResult", "AttemptPaginatedResultTypedDict", "AttemptTypedDict", "Awss3Config", "Awss3ConfigTypedDict", + "Awss3ConfigUpdate", + "Awss3ConfigUpdateTypedDict", "Awss3Credentials", "Awss3CredentialsTypedDict", + "Awss3CredentialsUpdate", + "Awss3CredentialsUpdateTypedDict", "AzureServiceBusConfig", "AzureServiceBusConfigTypedDict", + "AzureServiceBusConfigUpdate", + "AzureServiceBusConfigUpdateTypedDict", "AzureServiceBusCredentials", "AzureServiceBusCredentialsTypedDict", + "AzureServiceBusCredentialsUpdate", + "AzureServiceBusCredentialsUpdateTypedDict", "CreateTenantDestinationRequest", "CreateTenantDestinationRequestTypedDict", "DeleteTenantDestinationRequest", @@ -502,23 +577,32 @@ "DestinationTypedDict", "DestinationUpdate", "DestinationUpdateAWSKinesis", + "DestinationUpdateAWSKinesisType", "DestinationUpdateAWSKinesisTypedDict", "DestinationUpdateAWSSQS", + "DestinationUpdateAWSSQSType", "DestinationUpdateAWSSQSTypedDict", "DestinationUpdateAwss3", + "DestinationUpdateAwss3Type", "DestinationUpdateAwss3TypedDict", "DestinationUpdateAzureServiceBus", + "DestinationUpdateAzureServiceBusType", "DestinationUpdateAzureServiceBusTypedDict", "DestinationUpdateGCPPubSub", + "DestinationUpdateGCPPubSubType", "DestinationUpdateGCPPubSubTypedDict", "DestinationUpdateHookdeck", + "DestinationUpdateHookdeckType", "DestinationUpdateHookdeckTypedDict", "DestinationUpdateKafka", + "DestinationUpdateKafkaType", "DestinationUpdateKafkaTypedDict", "DestinationUpdateRabbitMQ", + "DestinationUpdateRabbitMQType", "DestinationUpdateRabbitMQTypedDict", "DestinationUpdateTypedDict", "DestinationUpdateWebhook", + "DestinationUpdateWebhookType", "DestinationUpdateWebhookTypedDict", "DestinationWebhook", "DestinationWebhookType", @@ -551,8 +635,12 @@ "FiltersStatusTypedDict", "GCPPubSubConfig", "GCPPubSubConfigTypedDict", + "GCPPubSubConfigUpdate", + "GCPPubSubConfigUpdateTypedDict", "GCPPubSubCredentials", "GCPPubSubCredentialsTypedDict", + "GCPPubSubCredentialsUpdate", + "GCPPubSubCredentialsUpdateTypedDict", "GetAttemptInclude", "GetAttemptIncludeTypedDict", "GetAttemptMetricsDimensionsEnum1", @@ -616,11 +704,20 @@ "HealthCheckStatus2", "HookdeckCredentials", "HookdeckCredentialsTypedDict", + "HookdeckCredentialsUpdate", + "HookdeckCredentialsUpdateTypedDict", "KafkaConfig", + "KafkaConfigSaslMechanism", "KafkaConfigTLS", "KafkaConfigTypedDict", + "KafkaConfigUpdate", + "KafkaConfigUpdateSaslMechanism", + "KafkaConfigUpdateTLS", + "KafkaConfigUpdateTypedDict", "KafkaCredentials", "KafkaCredentialsTypedDict", + "KafkaCredentialsUpdate", + "KafkaCredentialsUpdateTypedDict", "ListAttemptsDestinationID", "ListAttemptsDestinationIDTypedDict", "ListAttemptsDestinationType", @@ -633,8 +730,6 @@ "ListAttemptsOrderBy", "ListAttemptsRequest", "ListAttemptsRequestTypedDict", - "ListAttemptsResponse", - "ListAttemptsResponseTypedDict", "ListAttemptsStatus", "ListAttemptsTenantID", "ListAttemptsTenantIDTypedDict", @@ -648,8 +743,6 @@ "ListEventsOrderBy", "ListEventsRequest", "ListEventsRequestTypedDict", - "ListEventsResponse", - "ListEventsResponseTypedDict", "ListEventsTenantID", "ListEventsTenantIDTypedDict", "ListEventsTopic", @@ -662,8 +755,6 @@ "ListTenantDestinationAttemptsOrderBy", "ListTenantDestinationAttemptsRequest", "ListTenantDestinationAttemptsRequestTypedDict", - "ListTenantDestinationAttemptsResponse", - "ListTenantDestinationAttemptsResponseTypedDict", "ListTenantDestinationAttemptsStatus", "ListTenantDestinationAttemptsTopic", "ListTenantDestinationAttemptsTopicTypedDict", @@ -678,8 +769,6 @@ "ListTenantsIDTypedDict", "ListTenantsRequest", "ListTenantsRequestTypedDict", - "ListTenantsResponse", - "ListTenantsResponseTypedDict", "ManagedConfig", "ManagedConfigTypedDict", "MetricsDataPoint", @@ -701,11 +790,15 @@ "RabbitMQConfig", "RabbitMQConfigTLS", "RabbitMQConfigTypedDict", + "RabbitMQConfigUpdate", + "RabbitMQConfigUpdateTLS", + "RabbitMQConfigUpdateTypedDict", "RabbitMQCredentials", "RabbitMQCredentialsTypedDict", + "RabbitMQCredentialsUpdate", + "RabbitMQCredentialsUpdateTypedDict", "RetryRequest", "RetryRequestTypedDict", - "SaslMechanism", "Security", "SecurityTypedDict", "SeekPagination", @@ -735,6 +828,8 @@ "UpsertTenantRequestTypedDict", "WebhookConfig", "WebhookConfigTypedDict", + "WebhookConfigUpdate", + "WebhookConfigUpdateTypedDict", "WebhookCredentials", "WebhookCredentialsTypedDict", "WebhookCredentialsUpdate", @@ -757,20 +852,36 @@ "AttemptPaginatedResultTypedDict": ".attemptpaginatedresult", "AWSKinesisConfig": ".awskinesisconfig", "AWSKinesisConfigTypedDict": ".awskinesisconfig", + "AWSKinesisConfigUpdate": ".awskinesisconfigupdate", + "AWSKinesisConfigUpdateTypedDict": ".awskinesisconfigupdate", "AWSKinesisCredentials": ".awskinesiscredentials", "AWSKinesisCredentialsTypedDict": ".awskinesiscredentials", + "AWSKinesisCredentialsUpdate": ".awskinesiscredentialsupdate", + "AWSKinesisCredentialsUpdateTypedDict": ".awskinesiscredentialsupdate", "Awss3Config": ".awss3config", "Awss3ConfigTypedDict": ".awss3config", + "Awss3ConfigUpdate": ".awss3configupdate", + "Awss3ConfigUpdateTypedDict": ".awss3configupdate", "Awss3Credentials": ".awss3credentials", "Awss3CredentialsTypedDict": ".awss3credentials", + "Awss3CredentialsUpdate": ".awss3credentialsupdate", + "Awss3CredentialsUpdateTypedDict": ".awss3credentialsupdate", "AWSSQSConfig": ".awssqsconfig", "AWSSQSConfigTypedDict": ".awssqsconfig", + "AWSSQSConfigUpdate": ".awssqsconfigupdate", + "AWSSQSConfigUpdateTypedDict": ".awssqsconfigupdate", "AWSSQSCredentials": ".awssqscredentials", "AWSSQSCredentialsTypedDict": ".awssqscredentials", + "AWSSQSCredentialsUpdate": ".awssqscredentialsupdate", + "AWSSQSCredentialsUpdateTypedDict": ".awssqscredentialsupdate", "AzureServiceBusConfig": ".azureservicebusconfig", "AzureServiceBusConfigTypedDict": ".azureservicebusconfig", + "AzureServiceBusConfigUpdate": ".azureservicebusconfigupdate", + "AzureServiceBusConfigUpdateTypedDict": ".azureservicebusconfigupdate", "AzureServiceBusCredentials": ".azureservicebuscredentials", "AzureServiceBusCredentialsTypedDict": ".azureservicebuscredentials", + "AzureServiceBusCredentialsUpdate": ".azureservicebuscredentialsupdate", + "AzureServiceBusCredentialsUpdateTypedDict": ".azureservicebuscredentialsupdate", "CreateTenantDestinationRequest": ".createtenantdestinationop", "CreateTenantDestinationRequestTypedDict": ".createtenantdestinationop", "DeleteTenantDestinationRequest": ".deletetenantdestinationop", @@ -845,22 +956,31 @@ "DestinationUpdate": ".destinationupdate", "DestinationUpdateTypedDict": ".destinationupdate", "DestinationUpdateAWSKinesis": ".destinationupdateawskinesis", + "DestinationUpdateAWSKinesisType": ".destinationupdateawskinesis", "DestinationUpdateAWSKinesisTypedDict": ".destinationupdateawskinesis", "DestinationUpdateAwss3": ".destinationupdateawss3", + "DestinationUpdateAwss3Type": ".destinationupdateawss3", "DestinationUpdateAwss3TypedDict": ".destinationupdateawss3", "DestinationUpdateAWSSQS": ".destinationupdateawssqs", + "DestinationUpdateAWSSQSType": ".destinationupdateawssqs", "DestinationUpdateAWSSQSTypedDict": ".destinationupdateawssqs", "DestinationUpdateAzureServiceBus": ".destinationupdateazureservicebus", + "DestinationUpdateAzureServiceBusType": ".destinationupdateazureservicebus", "DestinationUpdateAzureServiceBusTypedDict": ".destinationupdateazureservicebus", "DestinationUpdateGCPPubSub": ".destinationupdategcppubsub", + "DestinationUpdateGCPPubSubType": ".destinationupdategcppubsub", "DestinationUpdateGCPPubSubTypedDict": ".destinationupdategcppubsub", "DestinationUpdateHookdeck": ".destinationupdatehookdeck", + "DestinationUpdateHookdeckType": ".destinationupdatehookdeck", "DestinationUpdateHookdeckTypedDict": ".destinationupdatehookdeck", "DestinationUpdateKafka": ".destinationupdatekafka", + "DestinationUpdateKafkaType": ".destinationupdatekafka", "DestinationUpdateKafkaTypedDict": ".destinationupdatekafka", "DestinationUpdateRabbitMQ": ".destinationupdaterabbitmq", + "DestinationUpdateRabbitMQType": ".destinationupdaterabbitmq", "DestinationUpdateRabbitMQTypedDict": ".destinationupdaterabbitmq", "DestinationUpdateWebhook": ".destinationupdatewebhook", + "DestinationUpdateWebhookType": ".destinationupdatewebhook", "DestinationUpdateWebhookTypedDict": ".destinationupdatewebhook", "DestinationWebhook": ".destinationwebhook", "DestinationWebhookType": ".destinationwebhook", @@ -875,8 +995,12 @@ "EventPaginatedResultTypedDict": ".eventpaginatedresult", "GCPPubSubConfig": ".gcppubsubconfig", "GCPPubSubConfigTypedDict": ".gcppubsubconfig", + "GCPPubSubConfigUpdate": ".gcppubsubconfigupdate", + "GCPPubSubConfigUpdateTypedDict": ".gcppubsubconfigupdate", "GCPPubSubCredentials": ".gcppubsubcredentials", "GCPPubSubCredentialsTypedDict": ".gcppubsubcredentials", + "GCPPubSubCredentialsUpdate": ".gcppubsubcredentialsupdate", + "GCPPubSubCredentialsUpdateTypedDict": ".gcppubsubcredentialsupdate", "FiltersAttemptNumber": ".getattemptmetricsop", "FiltersAttemptNumberTypedDict": ".getattemptmetricsop", "FiltersCode": ".getattemptmetricsop", @@ -954,12 +1078,20 @@ "WorkersTypedDict": ".healthcheckop", "HookdeckCredentials": ".hookdeckcredentials", "HookdeckCredentialsTypedDict": ".hookdeckcredentials", + "HookdeckCredentialsUpdate": ".hookdeckcredentialsupdate", + "HookdeckCredentialsUpdateTypedDict": ".hookdeckcredentialsupdate", "KafkaConfig": ".kafkaconfig", + "KafkaConfigSaslMechanism": ".kafkaconfig", "KafkaConfigTLS": ".kafkaconfig", "KafkaConfigTypedDict": ".kafkaconfig", - "SaslMechanism": ".kafkaconfig", + "KafkaConfigUpdate": ".kafkaconfigupdate", + "KafkaConfigUpdateSaslMechanism": ".kafkaconfigupdate", + "KafkaConfigUpdateTLS": ".kafkaconfigupdate", + "KafkaConfigUpdateTypedDict": ".kafkaconfigupdate", "KafkaCredentials": ".kafkacredentials", "KafkaCredentialsTypedDict": ".kafkacredentials", + "KafkaCredentialsUpdate": ".kafkacredentialsupdate", + "KafkaCredentialsUpdateTypedDict": ".kafkacredentialsupdate", "ListAttemptsDestinationID": ".listattemptsop", "ListAttemptsDestinationIDTypedDict": ".listattemptsop", "ListAttemptsDestinationType": ".listattemptsop", @@ -972,8 +1104,6 @@ "ListAttemptsOrderBy": ".listattemptsop", "ListAttemptsRequest": ".listattemptsop", "ListAttemptsRequestTypedDict": ".listattemptsop", - "ListAttemptsResponse": ".listattemptsop", - "ListAttemptsResponseTypedDict": ".listattemptsop", "ListAttemptsStatus": ".listattemptsop", "ListAttemptsTenantID": ".listattemptsop", "ListAttemptsTenantIDTypedDict": ".listattemptsop", @@ -987,8 +1117,6 @@ "ListEventsOrderBy": ".listeventsop", "ListEventsRequest": ".listeventsop", "ListEventsRequestTypedDict": ".listeventsop", - "ListEventsResponse": ".listeventsop", - "ListEventsResponseTypedDict": ".listeventsop", "ListEventsTenantID": ".listeventsop", "ListEventsTenantIDTypedDict": ".listeventsop", "ListEventsTopic": ".listeventsop", @@ -1001,8 +1129,6 @@ "ListTenantDestinationAttemptsOrderBy": ".listtenantdestinationattemptsop", "ListTenantDestinationAttemptsRequest": ".listtenantdestinationattemptsop", "ListTenantDestinationAttemptsRequestTypedDict": ".listtenantdestinationattemptsop", - "ListTenantDestinationAttemptsResponse": ".listtenantdestinationattemptsop", - "ListTenantDestinationAttemptsResponseTypedDict": ".listtenantdestinationattemptsop", "ListTenantDestinationAttemptsStatus": ".listtenantdestinationattemptsop", "ListTenantDestinationAttemptsTopic": ".listtenantdestinationattemptsop", "ListTenantDestinationAttemptsTopicTypedDict": ".listtenantdestinationattemptsop", @@ -1017,8 +1143,6 @@ "ListTenantsIDTypedDict": ".listtenantsop", "ListTenantsRequest": ".listtenantsop", "ListTenantsRequestTypedDict": ".listtenantsop", - "ListTenantsResponse": ".listtenantsop", - "ListTenantsResponseTypedDict": ".listtenantsop", "ManagedConfig": ".managedconfig", "ManagedConfigTypedDict": ".managedconfig", "MetricsDataPoint": ".metricsdatapoint", @@ -1038,8 +1162,13 @@ "RabbitMQConfig": ".rabbitmqconfig", "RabbitMQConfigTLS": ".rabbitmqconfig", "RabbitMQConfigTypedDict": ".rabbitmqconfig", + "RabbitMQConfigUpdate": ".rabbitmqconfigupdate", + "RabbitMQConfigUpdateTLS": ".rabbitmqconfigupdate", + "RabbitMQConfigUpdateTypedDict": ".rabbitmqconfigupdate", "RabbitMQCredentials": ".rabbitmqcredentials", "RabbitMQCredentialsTypedDict": ".rabbitmqcredentials", + "RabbitMQCredentialsUpdate": ".rabbitmqcredentialsupdate", + "RabbitMQCredentialsUpdateTypedDict": ".rabbitmqcredentialsupdate", "RetryRequest": ".retryrequest", "RetryRequestTypedDict": ".retryrequest", "Security": ".security", @@ -1068,6 +1197,8 @@ "UpsertTenantRequestTypedDict": ".upserttenantop", "WebhookConfig": ".webhookconfig", "WebhookConfigTypedDict": ".webhookconfig", + "WebhookConfigUpdate": ".webhookconfigupdate", + "WebhookConfigUpdateTypedDict": ".webhookconfigupdate", "WebhookCredentials": ".webhookcredentials", "WebhookCredentialsTypedDict": ".webhookcredentials", "WebhookCredentialsUpdate": ".webhookcredentialsupdate", diff --git a/sdks/outpost-python/src/outpost_sdk/models/attempt.py b/sdks/outpost-python/src/outpost_sdk/models/attempt.py index 5843193d1..09a5fc10a 100644 --- a/sdks/outpost-python/src/outpost_sdk/models/attempt.py +++ b/sdks/outpost-python/src/outpost_sdk/models/attempt.py @@ -23,8 +23,8 @@ class Status(str, Enum): FAILED = "failed" -class EventFullTypedDict(TypedDict): - r"""Full event object with data (returned when include=event.data).""" +class EventSummaryTypedDict(TypedDict): + r"""Event object without data (returned when include=event).""" id: NotRequired[str] tenant_id: NotRequired[str] @@ -37,12 +37,10 @@ class EventFullTypedDict(TypedDict): eligible_for_retry: NotRequired[bool] r"""Whether this event can be retried.""" metadata: NotRequired[Nullable[Dict[str, str]]] - data: NotRequired[Dict[str, Any]] - r"""The event payload data.""" -class EventFull(BaseModel): - r"""Full event object with data (returned when include=event.data).""" +class EventSummary(BaseModel): + r"""Event object without data (returned when include=event).""" id: Optional[str] = None @@ -62,9 +60,6 @@ class EventFull(BaseModel): metadata: OptionalNullable[Dict[str, str]] = UNSET - data: Optional[Dict[str, Any]] = None - r"""The event payload data.""" - @model_serializer(mode="wrap") def serialize_model(self, handler): optional_fields = set( @@ -76,7 +71,6 @@ def serialize_model(self, handler): "time", "eligible_for_retry", "metadata", - "data", ] ) nullable_fields = set(["metadata"]) @@ -102,8 +96,8 @@ def serialize_model(self, handler): return m -class EventSummaryTypedDict(TypedDict): - r"""Event object without data (returned when include=event).""" +class EventFullTypedDict(TypedDict): + r"""Full event object with data (returned when include=event.data).""" id: NotRequired[str] tenant_id: NotRequired[str] @@ -116,10 +110,12 @@ class EventSummaryTypedDict(TypedDict): eligible_for_retry: NotRequired[bool] r"""Whether this event can be retried.""" metadata: NotRequired[Nullable[Dict[str, str]]] + data: NotRequired[Dict[str, Any]] + r"""The event payload data.""" -class EventSummary(BaseModel): - r"""Event object without data (returned when include=event).""" +class EventFull(BaseModel): + r"""Full event object with data (returned when include=event.data).""" id: Optional[str] = None @@ -139,6 +135,9 @@ class EventSummary(BaseModel): metadata: OptionalNullable[Dict[str, str]] = UNSET + data: Optional[Dict[str, Any]] = None + r"""The event payload data.""" + @model_serializer(mode="wrap") def serialize_model(self, handler): optional_fields = set( @@ -150,6 +149,7 @@ def serialize_model(self, handler): "time", "eligible_for_retry", "metadata", + "data", ] ) nullable_fields = set(["metadata"]) diff --git a/sdks/outpost-python/src/outpost_sdk/models/awskinesisconfigupdate.py b/sdks/outpost-python/src/outpost_sdk/models/awskinesisconfigupdate.py new file mode 100644 index 000000000..c4f5db403 --- /dev/null +++ b/sdks/outpost-python/src/outpost_sdk/models/awskinesisconfigupdate.py @@ -0,0 +1,54 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from outpost_sdk.types import BaseModel, UNSET_SENTINEL +from pydantic import model_serializer +from typing import Optional +from typing_extensions import NotRequired, TypedDict + + +class AWSKinesisConfigUpdateTypedDict(TypedDict): + r"""Partial AWS Kinesis config for PATCH updates (RFC 7396 merge-patch).""" + + stream_name: NotRequired[str] + r"""The name of the AWS Kinesis stream.""" + region: NotRequired[str] + r"""The AWS region where the Kinesis stream is located.""" + endpoint: NotRequired[str] + r"""Optional. Custom AWS endpoint URL (e.g., for LocalStack or VPC endpoints).""" + partition_key_template: NotRequired[str] + r"""Optional. JMESPath template to extract the partition key from the event payload.""" + + +class AWSKinesisConfigUpdate(BaseModel): + r"""Partial AWS Kinesis config for PATCH updates (RFC 7396 merge-patch).""" + + stream_name: Optional[str] = None + r"""The name of the AWS Kinesis stream.""" + + region: Optional[str] = None + r"""The AWS region where the Kinesis stream is located.""" + + endpoint: Optional[str] = None + r"""Optional. Custom AWS endpoint URL (e.g., for LocalStack or VPC endpoints).""" + + partition_key_template: Optional[str] = None + r"""Optional. JMESPath template to extract the partition key from the event payload.""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set( + ["stream_name", "region", "endpoint", "partition_key_template"] + ) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m diff --git a/sdks/outpost-python/src/outpost_sdk/models/awskinesiscredentialsupdate.py b/sdks/outpost-python/src/outpost_sdk/models/awskinesiscredentialsupdate.py new file mode 100644 index 000000000..36f0eae9f --- /dev/null +++ b/sdks/outpost-python/src/outpost_sdk/models/awskinesiscredentialsupdate.py @@ -0,0 +1,47 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from outpost_sdk.types import BaseModel, UNSET_SENTINEL +from pydantic import model_serializer +from typing import Optional +from typing_extensions import NotRequired, TypedDict + + +class AWSKinesisCredentialsUpdateTypedDict(TypedDict): + r"""Partial AWS Kinesis credentials for PATCH updates (RFC 7396 merge-patch).""" + + key: NotRequired[str] + r"""AWS Access Key ID.""" + secret: NotRequired[str] + r"""AWS Secret Access Key.""" + session: NotRequired[str] + r"""Optional AWS Session Token (for temporary credentials).""" + + +class AWSKinesisCredentialsUpdate(BaseModel): + r"""Partial AWS Kinesis credentials for PATCH updates (RFC 7396 merge-patch).""" + + key: Optional[str] = None + r"""AWS Access Key ID.""" + + secret: Optional[str] = None + r"""AWS Secret Access Key.""" + + session: Optional[str] = None + r"""Optional AWS Session Token (for temporary credentials).""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["key", "secret", "session"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m diff --git a/sdks/outpost-python/src/outpost_sdk/models/awss3configupdate.py b/sdks/outpost-python/src/outpost_sdk/models/awss3configupdate.py new file mode 100644 index 000000000..4ba76dd00 --- /dev/null +++ b/sdks/outpost-python/src/outpost_sdk/models/awss3configupdate.py @@ -0,0 +1,52 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from outpost_sdk.types import BaseModel, UNSET_SENTINEL +from pydantic import model_serializer +from typing import Optional +from typing_extensions import NotRequired, TypedDict + + +class Awss3ConfigUpdateTypedDict(TypedDict): + r"""Partial AWS S3 config for PATCH updates (RFC 7396 merge-patch).""" + + bucket: NotRequired[str] + r"""The name of your AWS S3 bucket.""" + region: NotRequired[str] + r"""The AWS region where your bucket is located.""" + key_template: NotRequired[str] + r"""JMESPath expression for generating S3 object keys.""" + storage_class: NotRequired[str] + r"""The storage class for the S3 objects.""" + + +class Awss3ConfigUpdate(BaseModel): + r"""Partial AWS S3 config for PATCH updates (RFC 7396 merge-patch).""" + + bucket: Optional[str] = None + r"""The name of your AWS S3 bucket.""" + + region: Optional[str] = None + r"""The AWS region where your bucket is located.""" + + key_template: Optional[str] = None + r"""JMESPath expression for generating S3 object keys.""" + + storage_class: Optional[str] = None + r"""The storage class for the S3 objects.""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["bucket", "region", "key_template", "storage_class"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m diff --git a/sdks/outpost-python/src/outpost_sdk/models/awss3credentialsupdate.py b/sdks/outpost-python/src/outpost_sdk/models/awss3credentialsupdate.py new file mode 100644 index 000000000..99b9ffb0c --- /dev/null +++ b/sdks/outpost-python/src/outpost_sdk/models/awss3credentialsupdate.py @@ -0,0 +1,47 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from outpost_sdk.types import BaseModel, UNSET_SENTINEL +from pydantic import model_serializer +from typing import Optional +from typing_extensions import NotRequired, TypedDict + + +class Awss3CredentialsUpdateTypedDict(TypedDict): + r"""Partial AWS S3 credentials for PATCH updates (RFC 7396 merge-patch).""" + + key: NotRequired[str] + r"""AWS Access Key ID.""" + secret: NotRequired[str] + r"""AWS Secret Access Key.""" + session: NotRequired[str] + r"""Optional AWS Session Token (for temporary credentials).""" + + +class Awss3CredentialsUpdate(BaseModel): + r"""Partial AWS S3 credentials for PATCH updates (RFC 7396 merge-patch).""" + + key: Optional[str] = None + r"""AWS Access Key ID.""" + + secret: Optional[str] = None + r"""AWS Secret Access Key.""" + + session: Optional[str] = None + r"""Optional AWS Session Token (for temporary credentials).""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["key", "secret", "session"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m diff --git a/sdks/outpost-python/src/outpost_sdk/models/awssqsconfigupdate.py b/sdks/outpost-python/src/outpost_sdk/models/awssqsconfigupdate.py new file mode 100644 index 000000000..7ba02603c --- /dev/null +++ b/sdks/outpost-python/src/outpost_sdk/models/awssqsconfigupdate.py @@ -0,0 +1,42 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from outpost_sdk.types import BaseModel, UNSET_SENTINEL +from pydantic import model_serializer +from typing import Optional +from typing_extensions import NotRequired, TypedDict + + +class AWSSQSConfigUpdateTypedDict(TypedDict): + r"""Partial AWS SQS config for PATCH updates (RFC 7396 merge-patch).""" + + endpoint: NotRequired[str] + r"""Optional. Custom AWS endpoint URL (e.g., for LocalStack or specific regions).""" + queue_url: NotRequired[str] + r"""The URL of the SQS queue.""" + + +class AWSSQSConfigUpdate(BaseModel): + r"""Partial AWS SQS config for PATCH updates (RFC 7396 merge-patch).""" + + endpoint: Optional[str] = None + r"""Optional. Custom AWS endpoint URL (e.g., for LocalStack or specific regions).""" + + queue_url: Optional[str] = None + r"""The URL of the SQS queue.""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["endpoint", "queue_url"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m diff --git a/sdks/outpost-python/src/outpost_sdk/models/awssqscredentialsupdate.py b/sdks/outpost-python/src/outpost_sdk/models/awssqscredentialsupdate.py new file mode 100644 index 000000000..4c411cd3c --- /dev/null +++ b/sdks/outpost-python/src/outpost_sdk/models/awssqscredentialsupdate.py @@ -0,0 +1,47 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from outpost_sdk.types import BaseModel, UNSET_SENTINEL +from pydantic import model_serializer +from typing import Optional +from typing_extensions import NotRequired, TypedDict + + +class AWSSQSCredentialsUpdateTypedDict(TypedDict): + r"""Partial AWS SQS credentials for PATCH updates (RFC 7396 merge-patch).""" + + key: NotRequired[str] + r"""AWS Access Key ID.""" + secret: NotRequired[str] + r"""AWS Secret Access Key.""" + session: NotRequired[str] + r"""Optional AWS Session Token (for temporary credentials).""" + + +class AWSSQSCredentialsUpdate(BaseModel): + r"""Partial AWS SQS credentials for PATCH updates (RFC 7396 merge-patch).""" + + key: Optional[str] = None + r"""AWS Access Key ID.""" + + secret: Optional[str] = None + r"""AWS Secret Access Key.""" + + session: Optional[str] = None + r"""Optional AWS Session Token (for temporary credentials).""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["key", "secret", "session"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m diff --git a/sdks/outpost-python/src/outpost_sdk/models/azureservicebusconfigupdate.py b/sdks/outpost-python/src/outpost_sdk/models/azureservicebusconfigupdate.py new file mode 100644 index 000000000..97b6a4625 --- /dev/null +++ b/sdks/outpost-python/src/outpost_sdk/models/azureservicebusconfigupdate.py @@ -0,0 +1,37 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from outpost_sdk.types import BaseModel, UNSET_SENTINEL +from pydantic import model_serializer +from typing import Optional +from typing_extensions import NotRequired, TypedDict + + +class AzureServiceBusConfigUpdateTypedDict(TypedDict): + r"""Partial Azure Service Bus config for PATCH updates (RFC 7396 merge-patch).""" + + name: NotRequired[str] + r"""The name of the Azure Service Bus queue or topic to publish messages to.""" + + +class AzureServiceBusConfigUpdate(BaseModel): + r"""Partial Azure Service Bus config for PATCH updates (RFC 7396 merge-patch).""" + + name: Optional[str] = None + r"""The name of the Azure Service Bus queue or topic to publish messages to.""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["name"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m diff --git a/sdks/outpost-python/src/outpost_sdk/models/azureservicebuscredentialsupdate.py b/sdks/outpost-python/src/outpost_sdk/models/azureservicebuscredentialsupdate.py new file mode 100644 index 000000000..083c7a033 --- /dev/null +++ b/sdks/outpost-python/src/outpost_sdk/models/azureservicebuscredentialsupdate.py @@ -0,0 +1,37 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from outpost_sdk.types import BaseModel, UNSET_SENTINEL +from pydantic import model_serializer +from typing import Optional +from typing_extensions import NotRequired, TypedDict + + +class AzureServiceBusCredentialsUpdateTypedDict(TypedDict): + r"""Partial Azure Service Bus credentials for PATCH updates (RFC 7396 merge-patch).""" + + connection_string: NotRequired[str] + r"""The connection string for the Azure Service Bus namespace.""" + + +class AzureServiceBusCredentialsUpdate(BaseModel): + r"""Partial Azure Service Bus credentials for PATCH updates (RFC 7396 merge-patch).""" + + connection_string: Optional[str] = None + r"""The connection string for the Azure Service Bus namespace.""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["connection_string"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m diff --git a/sdks/outpost-python/src/outpost_sdk/models/destinationupdate.py b/sdks/outpost-python/src/outpost_sdk/models/destinationupdate.py index fa48fe5c8..6e4f4b029 100644 --- a/sdks/outpost-python/src/outpost_sdk/models/destinationupdate.py +++ b/sdks/outpost-python/src/outpost_sdk/models/destinationupdate.py @@ -37,15 +37,17 @@ DestinationUpdateWebhook, DestinationUpdateWebhookTypedDict, ) +from outpost_sdk.utils import get_discriminator +from pydantic import Discriminator, Tag from typing import Union -from typing_extensions import TypeAliasType +from typing_extensions import Annotated, TypeAliasType DestinationUpdateTypedDict = TypeAliasType( "DestinationUpdateTypedDict", Union[ - DestinationUpdateWebhookTypedDict, DestinationUpdateHookdeckTypedDict, + DestinationUpdateWebhookTypedDict, DestinationUpdateAWSSQSTypedDict, DestinationUpdateAWSKinesisTypedDict, DestinationUpdateAwss3TypedDict, @@ -57,17 +59,17 @@ ) -DestinationUpdate = TypeAliasType( - "DestinationUpdate", +DestinationUpdate = Annotated[ Union[ - DestinationUpdateWebhook, - DestinationUpdateHookdeck, - DestinationUpdateAWSSQS, - DestinationUpdateAWSKinesis, - DestinationUpdateAwss3, - DestinationUpdateAzureServiceBus, - DestinationUpdateGCPPubSub, - DestinationUpdateRabbitMQ, - DestinationUpdateKafka, + Annotated[DestinationUpdateWebhook, Tag("webhook")], + Annotated[DestinationUpdateAWSSQS, Tag("aws_sqs")], + Annotated[DestinationUpdateRabbitMQ, Tag("rabbitmq")], + Annotated[DestinationUpdateHookdeck, Tag("hookdeck")], + Annotated[DestinationUpdateAWSKinesis, Tag("aws_kinesis")], + Annotated[DestinationUpdateAzureServiceBus, Tag("azure_servicebus")], + Annotated[DestinationUpdateAwss3, Tag("aws_s3")], + Annotated[DestinationUpdateGCPPubSub, Tag("gcp_pubsub")], + Annotated[DestinationUpdateKafka, Tag("kafka")], ], -) + Discriminator(lambda m: get_discriminator(m, "type", "type")), +] diff --git a/sdks/outpost-python/src/outpost_sdk/models/destinationupdateawskinesis.py b/sdks/outpost-python/src/outpost_sdk/models/destinationupdateawskinesis.py index 4c4d0b678..830f921e6 100644 --- a/sdks/outpost-python/src/outpost_sdk/models/destinationupdateawskinesis.py +++ b/sdks/outpost-python/src/outpost_sdk/models/destinationupdateawskinesis.py @@ -1,10 +1,17 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" from __future__ import annotations -from .awskinesisconfig import AWSKinesisConfig, AWSKinesisConfigTypedDict -from .awskinesiscredentials import AWSKinesisCredentials, AWSKinesisCredentialsTypedDict +from .awskinesisconfigupdate import ( + AWSKinesisConfigUpdate, + AWSKinesisConfigUpdateTypedDict, +) +from .awskinesiscredentialsupdate import ( + AWSKinesisCredentialsUpdate, + AWSKinesisCredentialsUpdateTypedDict, +) from .topics_union import TopicsUnion, TopicsUnionTypedDict from datetime import datetime +from enum import Enum from outpost_sdk.types import ( BaseModel, Nullable, @@ -18,7 +25,15 @@ from typing_extensions import Annotated, NotRequired, TypedDict +class DestinationUpdateAWSKinesisType(str, Enum): + r"""Destination type discriminator. Must equal the existing destination's type — type itself cannot be changed via PATCH.""" + + AWS_KINESIS = "aws_kinesis" + + class DestinationUpdateAWSKinesisTypedDict(TypedDict): + type: DestinationUpdateAWSKinesisType + r"""Destination type discriminator. Must equal the existing destination's type — type itself cannot be changed via PATCH.""" topics: NotRequired[TopicsUnionTypedDict] r"""\"*\" or an array of enabled topics.""" filter_: NotRequired[Nullable[Dict[str, Any]]] @@ -28,8 +43,10 @@ class DestinationUpdateAWSKinesisTypedDict(TypedDict): Uses full-replacement semantics on update: send a new object to replace, null or `{}` to clear, omit for no change. """ - config: NotRequired[AWSKinesisConfigTypedDict] - credentials: NotRequired[AWSKinesisCredentialsTypedDict] + config: NotRequired[AWSKinesisConfigUpdateTypedDict] + r"""Partial AWS Kinesis config for PATCH updates (RFC 7396 merge-patch).""" + credentials: NotRequired[AWSKinesisCredentialsUpdateTypedDict] + r"""Partial AWS Kinesis credentials for PATCH updates (RFC 7396 merge-patch).""" delivery_metadata: NotRequired[Nullable[Dict[str, Nullable[str]]]] r"""Static key-value pairs merged into event metadata on every attempt. Uses JSON merge-patch semantics (RFC 7396): send keys to add/update, null values to delete keys, null for entire field to clear all. Omit or send {} for no change.""" metadata: NotRequired[Nullable[Dict[str, Nullable[str]]]] @@ -39,6 +56,9 @@ class DestinationUpdateAWSKinesisTypedDict(TypedDict): class DestinationUpdateAWSKinesis(BaseModel): + type: DestinationUpdateAWSKinesisType + r"""Destination type discriminator. Must equal the existing destination's type — type itself cannot be changed via PATCH.""" + topics: Optional[TopicsUnion] = None r"""\"*\" or an array of enabled topics.""" @@ -52,9 +72,11 @@ class DestinationUpdateAWSKinesis(BaseModel): """ - config: Optional[AWSKinesisConfig] = None + config: Optional[AWSKinesisConfigUpdate] = None + r"""Partial AWS Kinesis config for PATCH updates (RFC 7396 merge-patch).""" - credentials: Optional[AWSKinesisCredentials] = None + credentials: Optional[AWSKinesisCredentialsUpdate] = None + r"""Partial AWS Kinesis credentials for PATCH updates (RFC 7396 merge-patch).""" delivery_metadata: OptionalNullable[Dict[str, Nullable[str]]] = UNSET r"""Static key-value pairs merged into event metadata on every attempt. Uses JSON merge-patch semantics (RFC 7396): send keys to add/update, null values to delete keys, null for entire field to clear all. Omit or send {} for no change.""" diff --git a/sdks/outpost-python/src/outpost_sdk/models/destinationupdateawss3.py b/sdks/outpost-python/src/outpost_sdk/models/destinationupdateawss3.py index 67362ea74..37b37a3cc 100644 --- a/sdks/outpost-python/src/outpost_sdk/models/destinationupdateawss3.py +++ b/sdks/outpost-python/src/outpost_sdk/models/destinationupdateawss3.py @@ -1,10 +1,14 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" from __future__ import annotations -from .awss3config import Awss3Config, Awss3ConfigTypedDict -from .awss3credentials import Awss3Credentials, Awss3CredentialsTypedDict +from .awss3configupdate import Awss3ConfigUpdate, Awss3ConfigUpdateTypedDict +from .awss3credentialsupdate import ( + Awss3CredentialsUpdate, + Awss3CredentialsUpdateTypedDict, +) from .topics_union import TopicsUnion, TopicsUnionTypedDict from datetime import datetime +from enum import Enum from outpost_sdk.types import ( BaseModel, Nullable, @@ -18,7 +22,15 @@ from typing_extensions import Annotated, NotRequired, TypedDict +class DestinationUpdateAwss3Type(str, Enum): + r"""Destination type discriminator. Must equal the existing destination's type — type itself cannot be changed via PATCH.""" + + AWS_S3 = "aws_s3" + + class DestinationUpdateAwss3TypedDict(TypedDict): + type: DestinationUpdateAwss3Type + r"""Destination type discriminator. Must equal the existing destination's type — type itself cannot be changed via PATCH.""" topics: NotRequired[TopicsUnionTypedDict] r"""\"*\" or an array of enabled topics.""" filter_: NotRequired[Nullable[Dict[str, Any]]] @@ -28,8 +40,10 @@ class DestinationUpdateAwss3TypedDict(TypedDict): Uses full-replacement semantics on update: send a new object to replace, null or `{}` to clear, omit for no change. """ - config: NotRequired[Awss3ConfigTypedDict] - credentials: NotRequired[Awss3CredentialsTypedDict] + config: NotRequired[Awss3ConfigUpdateTypedDict] + r"""Partial AWS S3 config for PATCH updates (RFC 7396 merge-patch).""" + credentials: NotRequired[Awss3CredentialsUpdateTypedDict] + r"""Partial AWS S3 credentials for PATCH updates (RFC 7396 merge-patch).""" delivery_metadata: NotRequired[Nullable[Dict[str, Nullable[str]]]] r"""Static key-value pairs merged into event metadata on every attempt. Uses JSON merge-patch semantics (RFC 7396): send keys to add/update, null values to delete keys, null for entire field to clear all. Omit or send {} for no change.""" metadata: NotRequired[Nullable[Dict[str, Nullable[str]]]] @@ -39,6 +53,9 @@ class DestinationUpdateAwss3TypedDict(TypedDict): class DestinationUpdateAwss3(BaseModel): + type: DestinationUpdateAwss3Type + r"""Destination type discriminator. Must equal the existing destination's type — type itself cannot be changed via PATCH.""" + topics: Optional[TopicsUnion] = None r"""\"*\" or an array of enabled topics.""" @@ -52,9 +69,11 @@ class DestinationUpdateAwss3(BaseModel): """ - config: Optional[Awss3Config] = None + config: Optional[Awss3ConfigUpdate] = None + r"""Partial AWS S3 config for PATCH updates (RFC 7396 merge-patch).""" - credentials: Optional[Awss3Credentials] = None + credentials: Optional[Awss3CredentialsUpdate] = None + r"""Partial AWS S3 credentials for PATCH updates (RFC 7396 merge-patch).""" delivery_metadata: OptionalNullable[Dict[str, Nullable[str]]] = UNSET r"""Static key-value pairs merged into event metadata on every attempt. Uses JSON merge-patch semantics (RFC 7396): send keys to add/update, null values to delete keys, null for entire field to clear all. Omit or send {} for no change.""" diff --git a/sdks/outpost-python/src/outpost_sdk/models/destinationupdateawssqs.py b/sdks/outpost-python/src/outpost_sdk/models/destinationupdateawssqs.py index 778c49623..29fbc9e04 100644 --- a/sdks/outpost-python/src/outpost_sdk/models/destinationupdateawssqs.py +++ b/sdks/outpost-python/src/outpost_sdk/models/destinationupdateawssqs.py @@ -1,10 +1,14 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" from __future__ import annotations -from .awssqsconfig import AWSSQSConfig, AWSSQSConfigTypedDict -from .awssqscredentials import AWSSQSCredentials, AWSSQSCredentialsTypedDict +from .awssqsconfigupdate import AWSSQSConfigUpdate, AWSSQSConfigUpdateTypedDict +from .awssqscredentialsupdate import ( + AWSSQSCredentialsUpdate, + AWSSQSCredentialsUpdateTypedDict, +) from .topics_union import TopicsUnion, TopicsUnionTypedDict from datetime import datetime +from enum import Enum from outpost_sdk.types import ( BaseModel, Nullable, @@ -18,7 +22,15 @@ from typing_extensions import Annotated, NotRequired, TypedDict +class DestinationUpdateAWSSQSType(str, Enum): + r"""Destination type discriminator. Must equal the existing destination's type — type itself cannot be changed via PATCH.""" + + AWS_SQS = "aws_sqs" + + class DestinationUpdateAWSSQSTypedDict(TypedDict): + type: DestinationUpdateAWSSQSType + r"""Destination type discriminator. Must equal the existing destination's type — type itself cannot be changed via PATCH.""" topics: NotRequired[TopicsUnionTypedDict] r"""\"*\" or an array of enabled topics.""" filter_: NotRequired[Nullable[Dict[str, Any]]] @@ -28,8 +40,10 @@ class DestinationUpdateAWSSQSTypedDict(TypedDict): Uses full-replacement semantics on update: send a new object to replace, null or `{}` to clear, omit for no change. """ - config: NotRequired[AWSSQSConfigTypedDict] - credentials: NotRequired[AWSSQSCredentialsTypedDict] + config: NotRequired[AWSSQSConfigUpdateTypedDict] + r"""Partial AWS SQS config for PATCH updates (RFC 7396 merge-patch).""" + credentials: NotRequired[AWSSQSCredentialsUpdateTypedDict] + r"""Partial AWS SQS credentials for PATCH updates (RFC 7396 merge-patch).""" delivery_metadata: NotRequired[Nullable[Dict[str, Nullable[str]]]] r"""Static key-value pairs merged into event metadata on every attempt. Uses JSON merge-patch semantics (RFC 7396): send keys to add/update, null values to delete keys, null for entire field to clear all. Omit or send {} for no change.""" metadata: NotRequired[Nullable[Dict[str, Nullable[str]]]] @@ -39,6 +53,9 @@ class DestinationUpdateAWSSQSTypedDict(TypedDict): class DestinationUpdateAWSSQS(BaseModel): + type: DestinationUpdateAWSSQSType + r"""Destination type discriminator. Must equal the existing destination's type — type itself cannot be changed via PATCH.""" + topics: Optional[TopicsUnion] = None r"""\"*\" or an array of enabled topics.""" @@ -52,9 +69,11 @@ class DestinationUpdateAWSSQS(BaseModel): """ - config: Optional[AWSSQSConfig] = None + config: Optional[AWSSQSConfigUpdate] = None + r"""Partial AWS SQS config for PATCH updates (RFC 7396 merge-patch).""" - credentials: Optional[AWSSQSCredentials] = None + credentials: Optional[AWSSQSCredentialsUpdate] = None + r"""Partial AWS SQS credentials for PATCH updates (RFC 7396 merge-patch).""" delivery_metadata: OptionalNullable[Dict[str, Nullable[str]]] = UNSET r"""Static key-value pairs merged into event metadata on every attempt. Uses JSON merge-patch semantics (RFC 7396): send keys to add/update, null values to delete keys, null for entire field to clear all. Omit or send {} for no change.""" diff --git a/sdks/outpost-python/src/outpost_sdk/models/destinationupdateazureservicebus.py b/sdks/outpost-python/src/outpost_sdk/models/destinationupdateazureservicebus.py index de34250b7..43a62488e 100644 --- a/sdks/outpost-python/src/outpost_sdk/models/destinationupdateazureservicebus.py +++ b/sdks/outpost-python/src/outpost_sdk/models/destinationupdateazureservicebus.py @@ -1,13 +1,17 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" from __future__ import annotations -from .azureservicebusconfig import AzureServiceBusConfig, AzureServiceBusConfigTypedDict -from .azureservicebuscredentials import ( - AzureServiceBusCredentials, - AzureServiceBusCredentialsTypedDict, +from .azureservicebusconfigupdate import ( + AzureServiceBusConfigUpdate, + AzureServiceBusConfigUpdateTypedDict, +) +from .azureservicebuscredentialsupdate import ( + AzureServiceBusCredentialsUpdate, + AzureServiceBusCredentialsUpdateTypedDict, ) from .topics_union import TopicsUnion, TopicsUnionTypedDict from datetime import datetime +from enum import Enum from outpost_sdk.types import ( BaseModel, Nullable, @@ -21,7 +25,15 @@ from typing_extensions import Annotated, NotRequired, TypedDict +class DestinationUpdateAzureServiceBusType(str, Enum): + r"""Destination type discriminator. Must equal the existing destination's type — type itself cannot be changed via PATCH.""" + + AZURE_SERVICEBUS = "azure_servicebus" + + class DestinationUpdateAzureServiceBusTypedDict(TypedDict): + type: DestinationUpdateAzureServiceBusType + r"""Destination type discriminator. Must equal the existing destination's type — type itself cannot be changed via PATCH.""" topics: NotRequired[TopicsUnionTypedDict] r"""\"*\" or an array of enabled topics.""" filter_: NotRequired[Nullable[Dict[str, Any]]] @@ -31,8 +43,10 @@ class DestinationUpdateAzureServiceBusTypedDict(TypedDict): Uses full-replacement semantics on update: send a new object to replace, null or `{}` to clear, omit for no change. """ - config: NotRequired[AzureServiceBusConfigTypedDict] - credentials: NotRequired[AzureServiceBusCredentialsTypedDict] + config: NotRequired[AzureServiceBusConfigUpdateTypedDict] + r"""Partial Azure Service Bus config for PATCH updates (RFC 7396 merge-patch).""" + credentials: NotRequired[AzureServiceBusCredentialsUpdateTypedDict] + r"""Partial Azure Service Bus credentials for PATCH updates (RFC 7396 merge-patch).""" delivery_metadata: NotRequired[Nullable[Dict[str, Nullable[str]]]] r"""Static key-value pairs merged into event metadata on every attempt. Uses JSON merge-patch semantics (RFC 7396): send keys to add/update, null values to delete keys, null for entire field to clear all. Omit or send {} for no change.""" metadata: NotRequired[Nullable[Dict[str, Nullable[str]]]] @@ -42,6 +56,9 @@ class DestinationUpdateAzureServiceBusTypedDict(TypedDict): class DestinationUpdateAzureServiceBus(BaseModel): + type: DestinationUpdateAzureServiceBusType + r"""Destination type discriminator. Must equal the existing destination's type — type itself cannot be changed via PATCH.""" + topics: Optional[TopicsUnion] = None r"""\"*\" or an array of enabled topics.""" @@ -55,9 +72,11 @@ class DestinationUpdateAzureServiceBus(BaseModel): """ - config: Optional[AzureServiceBusConfig] = None + config: Optional[AzureServiceBusConfigUpdate] = None + r"""Partial Azure Service Bus config for PATCH updates (RFC 7396 merge-patch).""" - credentials: Optional[AzureServiceBusCredentials] = None + credentials: Optional[AzureServiceBusCredentialsUpdate] = None + r"""Partial Azure Service Bus credentials for PATCH updates (RFC 7396 merge-patch).""" delivery_metadata: OptionalNullable[Dict[str, Nullable[str]]] = UNSET r"""Static key-value pairs merged into event metadata on every attempt. Uses JSON merge-patch semantics (RFC 7396): send keys to add/update, null values to delete keys, null for entire field to clear all. Omit or send {} for no change.""" diff --git a/sdks/outpost-python/src/outpost_sdk/models/destinationupdategcppubsub.py b/sdks/outpost-python/src/outpost_sdk/models/destinationupdategcppubsub.py index a5e1d36f3..87597e447 100644 --- a/sdks/outpost-python/src/outpost_sdk/models/destinationupdategcppubsub.py +++ b/sdks/outpost-python/src/outpost_sdk/models/destinationupdategcppubsub.py @@ -1,10 +1,14 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" from __future__ import annotations -from .gcppubsubconfig import GCPPubSubConfig, GCPPubSubConfigTypedDict -from .gcppubsubcredentials import GCPPubSubCredentials, GCPPubSubCredentialsTypedDict +from .gcppubsubconfigupdate import GCPPubSubConfigUpdate, GCPPubSubConfigUpdateTypedDict +from .gcppubsubcredentialsupdate import ( + GCPPubSubCredentialsUpdate, + GCPPubSubCredentialsUpdateTypedDict, +) from .topics_union import TopicsUnion, TopicsUnionTypedDict from datetime import datetime +from enum import Enum from outpost_sdk.types import ( BaseModel, Nullable, @@ -18,7 +22,15 @@ from typing_extensions import Annotated, NotRequired, TypedDict +class DestinationUpdateGCPPubSubType(str, Enum): + r"""Destination type discriminator. Must equal the existing destination's type — type itself cannot be changed via PATCH.""" + + GCP_PUBSUB = "gcp_pubsub" + + class DestinationUpdateGCPPubSubTypedDict(TypedDict): + type: DestinationUpdateGCPPubSubType + r"""Destination type discriminator. Must equal the existing destination's type — type itself cannot be changed via PATCH.""" topics: NotRequired[TopicsUnionTypedDict] r"""\"*\" or an array of enabled topics.""" filter_: NotRequired[Nullable[Dict[str, Any]]] @@ -28,8 +40,10 @@ class DestinationUpdateGCPPubSubTypedDict(TypedDict): Uses full-replacement semantics on update: send a new object to replace, null or `{}` to clear, omit for no change. """ - config: NotRequired[GCPPubSubConfigTypedDict] - credentials: NotRequired[GCPPubSubCredentialsTypedDict] + config: NotRequired[GCPPubSubConfigUpdateTypedDict] + r"""Partial GCP Pub/Sub config for PATCH updates (RFC 7396 merge-patch).""" + credentials: NotRequired[GCPPubSubCredentialsUpdateTypedDict] + r"""Partial GCP Pub/Sub credentials for PATCH updates (RFC 7396 merge-patch).""" delivery_metadata: NotRequired[Nullable[Dict[str, Nullable[str]]]] r"""Static key-value pairs merged into event metadata on every attempt. Uses JSON merge-patch semantics (RFC 7396): send keys to add/update, null values to delete keys, null for entire field to clear all. Omit or send {} for no change.""" metadata: NotRequired[Nullable[Dict[str, Nullable[str]]]] @@ -39,6 +53,9 @@ class DestinationUpdateGCPPubSubTypedDict(TypedDict): class DestinationUpdateGCPPubSub(BaseModel): + type: DestinationUpdateGCPPubSubType + r"""Destination type discriminator. Must equal the existing destination's type — type itself cannot be changed via PATCH.""" + topics: Optional[TopicsUnion] = None r"""\"*\" or an array of enabled topics.""" @@ -52,9 +69,11 @@ class DestinationUpdateGCPPubSub(BaseModel): """ - config: Optional[GCPPubSubConfig] = None + config: Optional[GCPPubSubConfigUpdate] = None + r"""Partial GCP Pub/Sub config for PATCH updates (RFC 7396 merge-patch).""" - credentials: Optional[GCPPubSubCredentials] = None + credentials: Optional[GCPPubSubCredentialsUpdate] = None + r"""Partial GCP Pub/Sub credentials for PATCH updates (RFC 7396 merge-patch).""" delivery_metadata: OptionalNullable[Dict[str, Nullable[str]]] = UNSET r"""Static key-value pairs merged into event metadata on every attempt. Uses JSON merge-patch semantics (RFC 7396): send keys to add/update, null values to delete keys, null for entire field to clear all. Omit or send {} for no change.""" diff --git a/sdks/outpost-python/src/outpost_sdk/models/destinationupdatehookdeck.py b/sdks/outpost-python/src/outpost_sdk/models/destinationupdatehookdeck.py index a01775b1b..5e403b243 100644 --- a/sdks/outpost-python/src/outpost_sdk/models/destinationupdatehookdeck.py +++ b/sdks/outpost-python/src/outpost_sdk/models/destinationupdatehookdeck.py @@ -1,9 +1,13 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" from __future__ import annotations -from .hookdeckcredentials import HookdeckCredentials, HookdeckCredentialsTypedDict +from .hookdeckcredentialsupdate import ( + HookdeckCredentialsUpdate, + HookdeckCredentialsUpdateTypedDict, +) from .topics_union import TopicsUnion, TopicsUnionTypedDict from datetime import datetime +from enum import Enum from outpost_sdk.types import ( BaseModel, Nullable, @@ -17,7 +21,15 @@ from typing_extensions import Annotated, NotRequired, TypedDict +class DestinationUpdateHookdeckType(str, Enum): + r"""Destination type discriminator. Must equal the existing destination's type — type itself cannot be changed via PATCH.""" + + HOOKDECK = "hookdeck" + + class DestinationUpdateHookdeckTypedDict(TypedDict): + type: DestinationUpdateHookdeckType + r"""Destination type discriminator. Must equal the existing destination's type — type itself cannot be changed via PATCH.""" topics: NotRequired[TopicsUnionTypedDict] r"""\"*\" or an array of enabled topics.""" filter_: NotRequired[Nullable[Dict[str, Any]]] @@ -27,8 +39,8 @@ class DestinationUpdateHookdeckTypedDict(TypedDict): Uses full-replacement semantics on update: send a new object to replace, null or `{}` to clear, omit for no change. """ - config: NotRequired[Any] - credentials: NotRequired[HookdeckCredentialsTypedDict] + credentials: NotRequired[HookdeckCredentialsUpdateTypedDict] + r"""Partial Hookdeck credentials for PATCH updates (RFC 7396 merge-patch).""" delivery_metadata: NotRequired[Nullable[Dict[str, Nullable[str]]]] r"""Static key-value pairs merged into event metadata on every attempt. Uses JSON merge-patch semantics (RFC 7396): send keys to add/update, null values to delete keys, null for entire field to clear all. Omit or send {} for no change.""" metadata: NotRequired[Nullable[Dict[str, Nullable[str]]]] @@ -38,6 +50,9 @@ class DestinationUpdateHookdeckTypedDict(TypedDict): class DestinationUpdateHookdeck(BaseModel): + type: DestinationUpdateHookdeckType + r"""Destination type discriminator. Must equal the existing destination's type — type itself cannot be changed via PATCH.""" + topics: Optional[TopicsUnion] = None r"""\"*\" or an array of enabled topics.""" @@ -51,9 +66,8 @@ class DestinationUpdateHookdeck(BaseModel): """ - config: Optional[Any] = None - - credentials: Optional[HookdeckCredentials] = None + credentials: Optional[HookdeckCredentialsUpdate] = None + r"""Partial Hookdeck credentials for PATCH updates (RFC 7396 merge-patch).""" delivery_metadata: OptionalNullable[Dict[str, Nullable[str]]] = UNSET r"""Static key-value pairs merged into event metadata on every attempt. Uses JSON merge-patch semantics (RFC 7396): send keys to add/update, null values to delete keys, null for entire field to clear all. Omit or send {} for no change.""" @@ -70,7 +84,6 @@ def serialize_model(self, handler): [ "topics", "filter", - "config", "credentials", "delivery_metadata", "metadata", diff --git a/sdks/outpost-python/src/outpost_sdk/models/destinationupdatekafka.py b/sdks/outpost-python/src/outpost_sdk/models/destinationupdatekafka.py index 3d2343bce..53e753757 100644 --- a/sdks/outpost-python/src/outpost_sdk/models/destinationupdatekafka.py +++ b/sdks/outpost-python/src/outpost_sdk/models/destinationupdatekafka.py @@ -1,10 +1,14 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" from __future__ import annotations -from .kafkaconfig import KafkaConfig, KafkaConfigTypedDict -from .kafkacredentials import KafkaCredentials, KafkaCredentialsTypedDict +from .kafkaconfigupdate import KafkaConfigUpdate, KafkaConfigUpdateTypedDict +from .kafkacredentialsupdate import ( + KafkaCredentialsUpdate, + KafkaCredentialsUpdateTypedDict, +) from .topics_union import TopicsUnion, TopicsUnionTypedDict from datetime import datetime +from enum import Enum from outpost_sdk.types import ( BaseModel, Nullable, @@ -18,7 +22,15 @@ from typing_extensions import Annotated, NotRequired, TypedDict +class DestinationUpdateKafkaType(str, Enum): + r"""Destination type discriminator. Must equal the existing destination's type — type itself cannot be changed via PATCH.""" + + KAFKA = "kafka" + + class DestinationUpdateKafkaTypedDict(TypedDict): + type: DestinationUpdateKafkaType + r"""Destination type discriminator. Must equal the existing destination's type — type itself cannot be changed via PATCH.""" topics: NotRequired[TopicsUnionTypedDict] r"""\"*\" or an array of enabled topics.""" filter_: NotRequired[Nullable[Dict[str, Any]]] @@ -28,8 +40,10 @@ class DestinationUpdateKafkaTypedDict(TypedDict): Uses full-replacement semantics on update: send a new object to replace, null or `{}` to clear, omit for no change. """ - config: NotRequired[KafkaConfigTypedDict] - credentials: NotRequired[KafkaCredentialsTypedDict] + config: NotRequired[KafkaConfigUpdateTypedDict] + r"""Partial Kafka config for PATCH updates (RFC 7396 merge-patch).""" + credentials: NotRequired[KafkaCredentialsUpdateTypedDict] + r"""Partial Kafka credentials for PATCH updates (RFC 7396 merge-patch).""" delivery_metadata: NotRequired[Nullable[Dict[str, Nullable[str]]]] r"""Static key-value pairs merged into event metadata on every attempt. Uses JSON merge-patch semantics (RFC 7396): send keys to add/update, null values to delete keys, null for entire field to clear all. Omit or send {} for no change.""" metadata: NotRequired[Nullable[Dict[str, Nullable[str]]]] @@ -39,6 +53,9 @@ class DestinationUpdateKafkaTypedDict(TypedDict): class DestinationUpdateKafka(BaseModel): + type: DestinationUpdateKafkaType + r"""Destination type discriminator. Must equal the existing destination's type — type itself cannot be changed via PATCH.""" + topics: Optional[TopicsUnion] = None r"""\"*\" or an array of enabled topics.""" @@ -52,9 +69,11 @@ class DestinationUpdateKafka(BaseModel): """ - config: Optional[KafkaConfig] = None + config: Optional[KafkaConfigUpdate] = None + r"""Partial Kafka config for PATCH updates (RFC 7396 merge-patch).""" - credentials: Optional[KafkaCredentials] = None + credentials: Optional[KafkaCredentialsUpdate] = None + r"""Partial Kafka credentials for PATCH updates (RFC 7396 merge-patch).""" delivery_metadata: OptionalNullable[Dict[str, Nullable[str]]] = UNSET r"""Static key-value pairs merged into event metadata on every attempt. Uses JSON merge-patch semantics (RFC 7396): send keys to add/update, null values to delete keys, null for entire field to clear all. Omit or send {} for no change.""" diff --git a/sdks/outpost-python/src/outpost_sdk/models/destinationupdaterabbitmq.py b/sdks/outpost-python/src/outpost_sdk/models/destinationupdaterabbitmq.py index 6290d37b9..90ab3bec7 100644 --- a/sdks/outpost-python/src/outpost_sdk/models/destinationupdaterabbitmq.py +++ b/sdks/outpost-python/src/outpost_sdk/models/destinationupdaterabbitmq.py @@ -1,10 +1,14 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" from __future__ import annotations -from .rabbitmqconfig import RabbitMQConfig, RabbitMQConfigTypedDict -from .rabbitmqcredentials import RabbitMQCredentials, RabbitMQCredentialsTypedDict +from .rabbitmqconfigupdate import RabbitMQConfigUpdate, RabbitMQConfigUpdateTypedDict +from .rabbitmqcredentialsupdate import ( + RabbitMQCredentialsUpdate, + RabbitMQCredentialsUpdateTypedDict, +) from .topics_union import TopicsUnion, TopicsUnionTypedDict from datetime import datetime +from enum import Enum from outpost_sdk.types import ( BaseModel, Nullable, @@ -18,7 +22,15 @@ from typing_extensions import Annotated, NotRequired, TypedDict +class DestinationUpdateRabbitMQType(str, Enum): + r"""Destination type discriminator. Must equal the existing destination's type — type itself cannot be changed via PATCH.""" + + RABBITMQ = "rabbitmq" + + class DestinationUpdateRabbitMQTypedDict(TypedDict): + type: DestinationUpdateRabbitMQType + r"""Destination type discriminator. Must equal the existing destination's type — type itself cannot be changed via PATCH.""" topics: NotRequired[TopicsUnionTypedDict] r"""\"*\" or an array of enabled topics.""" filter_: NotRequired[Nullable[Dict[str, Any]]] @@ -28,8 +40,10 @@ class DestinationUpdateRabbitMQTypedDict(TypedDict): Uses full-replacement semantics on update: send a new object to replace, null or `{}` to clear, omit for no change. """ - config: NotRequired[RabbitMQConfigTypedDict] - credentials: NotRequired[RabbitMQCredentialsTypedDict] + config: NotRequired[RabbitMQConfigUpdateTypedDict] + r"""Partial RabbitMQ config for PATCH updates (RFC 7396 merge-patch).""" + credentials: NotRequired[RabbitMQCredentialsUpdateTypedDict] + r"""Partial RabbitMQ credentials for PATCH updates (RFC 7396 merge-patch).""" delivery_metadata: NotRequired[Nullable[Dict[str, Nullable[str]]]] r"""Static key-value pairs merged into event metadata on every attempt. Uses JSON merge-patch semantics (RFC 7396): send keys to add/update, null values to delete keys, null for entire field to clear all. Omit or send {} for no change.""" metadata: NotRequired[Nullable[Dict[str, Nullable[str]]]] @@ -39,6 +53,9 @@ class DestinationUpdateRabbitMQTypedDict(TypedDict): class DestinationUpdateRabbitMQ(BaseModel): + type: DestinationUpdateRabbitMQType + r"""Destination type discriminator. Must equal the existing destination's type — type itself cannot be changed via PATCH.""" + topics: Optional[TopicsUnion] = None r"""\"*\" or an array of enabled topics.""" @@ -52,9 +69,11 @@ class DestinationUpdateRabbitMQ(BaseModel): """ - config: Optional[RabbitMQConfig] = None + config: Optional[RabbitMQConfigUpdate] = None + r"""Partial RabbitMQ config for PATCH updates (RFC 7396 merge-patch).""" - credentials: Optional[RabbitMQCredentials] = None + credentials: Optional[RabbitMQCredentialsUpdate] = None + r"""Partial RabbitMQ credentials for PATCH updates (RFC 7396 merge-patch).""" delivery_metadata: OptionalNullable[Dict[str, Nullable[str]]] = UNSET r"""Static key-value pairs merged into event metadata on every attempt. Uses JSON merge-patch semantics (RFC 7396): send keys to add/update, null values to delete keys, null for entire field to clear all. Omit or send {} for no change.""" diff --git a/sdks/outpost-python/src/outpost_sdk/models/destinationupdatewebhook.py b/sdks/outpost-python/src/outpost_sdk/models/destinationupdatewebhook.py index 7d606a708..1e99fe9d8 100644 --- a/sdks/outpost-python/src/outpost_sdk/models/destinationupdatewebhook.py +++ b/sdks/outpost-python/src/outpost_sdk/models/destinationupdatewebhook.py @@ -2,12 +2,13 @@ from __future__ import annotations from .topics_union import TopicsUnion, TopicsUnionTypedDict -from .webhookconfig import WebhookConfig, WebhookConfigTypedDict +from .webhookconfigupdate import WebhookConfigUpdate, WebhookConfigUpdateTypedDict from .webhookcredentialsupdate import ( WebhookCredentialsUpdate, WebhookCredentialsUpdateTypedDict, ) from datetime import datetime +from enum import Enum from outpost_sdk.types import ( BaseModel, Nullable, @@ -21,7 +22,15 @@ from typing_extensions import Annotated, NotRequired, TypedDict +class DestinationUpdateWebhookType(str, Enum): + r"""Destination type discriminator. Must equal the existing destination's type — type itself cannot be changed via PATCH.""" + + WEBHOOK = "webhook" + + class DestinationUpdateWebhookTypedDict(TypedDict): + type: DestinationUpdateWebhookType + r"""Destination type discriminator. Must equal the existing destination's type — type itself cannot be changed via PATCH.""" topics: NotRequired[TopicsUnionTypedDict] r"""\"*\" or an array of enabled topics.""" filter_: NotRequired[Nullable[Dict[str, Any]]] @@ -31,8 +40,10 @@ class DestinationUpdateWebhookTypedDict(TypedDict): Uses full-replacement semantics on update: send a new object to replace, null or `{}` to clear, omit for no change. """ - config: NotRequired[WebhookConfigTypedDict] + config: NotRequired[WebhookConfigUpdateTypedDict] + r"""Partial Webhook config for PATCH updates (RFC 7396 merge-patch).""" credentials: NotRequired[WebhookCredentialsUpdateTypedDict] + r"""Partial Webhook credentials for PATCH updates (RFC 7396 merge-patch).""" delivery_metadata: NotRequired[Nullable[Dict[str, Nullable[str]]]] r"""Static key-value pairs merged into event metadata on every attempt. Uses JSON merge-patch semantics (RFC 7396): send keys to add/update, null values to delete keys, null for entire field to clear all. Omit or send {} for no change.""" metadata: NotRequired[Nullable[Dict[str, Nullable[str]]]] @@ -42,6 +53,9 @@ class DestinationUpdateWebhookTypedDict(TypedDict): class DestinationUpdateWebhook(BaseModel): + type: DestinationUpdateWebhookType + r"""Destination type discriminator. Must equal the existing destination's type — type itself cannot be changed via PATCH.""" + topics: Optional[TopicsUnion] = None r"""\"*\" or an array of enabled topics.""" @@ -55,9 +69,11 @@ class DestinationUpdateWebhook(BaseModel): """ - config: Optional[WebhookConfig] = None + config: Optional[WebhookConfigUpdate] = None + r"""Partial Webhook config for PATCH updates (RFC 7396 merge-patch).""" credentials: Optional[WebhookCredentialsUpdate] = None + r"""Partial Webhook credentials for PATCH updates (RFC 7396 merge-patch).""" delivery_metadata: OptionalNullable[Dict[str, Nullable[str]]] = UNSET r"""Static key-value pairs merged into event metadata on every attempt. Uses JSON merge-patch semantics (RFC 7396): send keys to add/update, null values to delete keys, null for entire field to clear all. Omit or send {} for no change.""" diff --git a/sdks/outpost-python/src/outpost_sdk/models/gcppubsubconfigupdate.py b/sdks/outpost-python/src/outpost_sdk/models/gcppubsubconfigupdate.py new file mode 100644 index 000000000..499897c6b --- /dev/null +++ b/sdks/outpost-python/src/outpost_sdk/models/gcppubsubconfigupdate.py @@ -0,0 +1,47 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from outpost_sdk.types import BaseModel, UNSET_SENTINEL +from pydantic import model_serializer +from typing import Optional +from typing_extensions import NotRequired, TypedDict + + +class GCPPubSubConfigUpdateTypedDict(TypedDict): + r"""Partial GCP Pub/Sub config for PATCH updates (RFC 7396 merge-patch).""" + + project_id: NotRequired[str] + r"""The GCP project ID.""" + topic: NotRequired[str] + r"""The Pub/Sub topic name.""" + endpoint: NotRequired[str] + r"""Optional. Custom endpoint URL (e.g., localhost:8085 for emulator).""" + + +class GCPPubSubConfigUpdate(BaseModel): + r"""Partial GCP Pub/Sub config for PATCH updates (RFC 7396 merge-patch).""" + + project_id: Optional[str] = None + r"""The GCP project ID.""" + + topic: Optional[str] = None + r"""The Pub/Sub topic name.""" + + endpoint: Optional[str] = None + r"""Optional. Custom endpoint URL (e.g., localhost:8085 for emulator).""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["project_id", "topic", "endpoint"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m diff --git a/sdks/outpost-python/src/outpost_sdk/models/gcppubsubcredentialsupdate.py b/sdks/outpost-python/src/outpost_sdk/models/gcppubsubcredentialsupdate.py new file mode 100644 index 000000000..562dfd33f --- /dev/null +++ b/sdks/outpost-python/src/outpost_sdk/models/gcppubsubcredentialsupdate.py @@ -0,0 +1,37 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from outpost_sdk.types import BaseModel, UNSET_SENTINEL +from pydantic import model_serializer +from typing import Optional +from typing_extensions import NotRequired, TypedDict + + +class GCPPubSubCredentialsUpdateTypedDict(TypedDict): + r"""Partial GCP Pub/Sub credentials for PATCH updates (RFC 7396 merge-patch).""" + + service_account_json: NotRequired[str] + r"""Service account key JSON. The entire JSON key file content as a string.""" + + +class GCPPubSubCredentialsUpdate(BaseModel): + r"""Partial GCP Pub/Sub credentials for PATCH updates (RFC 7396 merge-patch).""" + + service_account_json: Optional[str] = None + r"""Service account key JSON. The entire JSON key file content as a string.""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["service_account_json"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m diff --git a/sdks/outpost-python/src/outpost_sdk/models/hookdeckcredentialsupdate.py b/sdks/outpost-python/src/outpost_sdk/models/hookdeckcredentialsupdate.py new file mode 100644 index 000000000..4a42b5cf9 --- /dev/null +++ b/sdks/outpost-python/src/outpost_sdk/models/hookdeckcredentialsupdate.py @@ -0,0 +1,37 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from outpost_sdk.types import BaseModel, UNSET_SENTINEL +from pydantic import model_serializer +from typing import Optional +from typing_extensions import NotRequired, TypedDict + + +class HookdeckCredentialsUpdateTypedDict(TypedDict): + r"""Partial Hookdeck credentials for PATCH updates (RFC 7396 merge-patch).""" + + token: NotRequired[str] + r"""Hookdeck authentication token.""" + + +class HookdeckCredentialsUpdate(BaseModel): + r"""Partial Hookdeck credentials for PATCH updates (RFC 7396 merge-patch).""" + + token: Optional[str] = None + r"""Hookdeck authentication token.""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["token"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m diff --git a/sdks/outpost-python/src/outpost_sdk/models/kafkaconfig.py b/sdks/outpost-python/src/outpost_sdk/models/kafkaconfig.py index c7b66d7a7..0e22d7ae8 100644 --- a/sdks/outpost-python/src/outpost_sdk/models/kafkaconfig.py +++ b/sdks/outpost-python/src/outpost_sdk/models/kafkaconfig.py @@ -8,7 +8,7 @@ from typing_extensions import NotRequired, TypedDict -class SaslMechanism(str, Enum): +class KafkaConfigSaslMechanism(str, Enum): r"""SASL authentication mechanism.""" PLAIN = "plain" @@ -28,7 +28,7 @@ class KafkaConfigTypedDict(TypedDict): r"""Comma-separated list of Kafka broker addresses.""" topic: str r"""The Kafka topic to publish messages to.""" - sasl_mechanism: SaslMechanism + sasl_mechanism: KafkaConfigSaslMechanism r"""SASL authentication mechanism.""" tls: NotRequired[KafkaConfigTLS] r"""Whether to enable TLS for the connection.""" @@ -43,7 +43,7 @@ class KafkaConfig(BaseModel): topic: str r"""The Kafka topic to publish messages to.""" - sasl_mechanism: SaslMechanism + sasl_mechanism: KafkaConfigSaslMechanism r"""SASL authentication mechanism.""" tls: Optional[KafkaConfigTLS] = KafkaConfigTLS.TRUE diff --git a/sdks/outpost-python/src/outpost_sdk/models/kafkaconfigupdate.py b/sdks/outpost-python/src/outpost_sdk/models/kafkaconfigupdate.py new file mode 100644 index 000000000..f5333cca4 --- /dev/null +++ b/sdks/outpost-python/src/outpost_sdk/models/kafkaconfigupdate.py @@ -0,0 +1,75 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from enum import Enum +from outpost_sdk.types import BaseModel, UNSET_SENTINEL +from pydantic import model_serializer +from typing import Optional +from typing_extensions import NotRequired, TypedDict + + +class KafkaConfigUpdateSaslMechanism(str, Enum): + r"""SASL authentication mechanism.""" + + PLAIN = "plain" + SCRAM_SHA_256 = "scram-sha-256" + SCRAM_SHA_512 = "scram-sha-512" + + +class KafkaConfigUpdateTLS(str, Enum): + r"""Whether to enable TLS for the connection.""" + + TRUE = "true" + FALSE = "false" + + +class KafkaConfigUpdateTypedDict(TypedDict): + r"""Partial Kafka config for PATCH updates (RFC 7396 merge-patch).""" + + brokers: NotRequired[str] + r"""Comma-separated list of Kafka broker addresses.""" + topic: NotRequired[str] + r"""The Kafka topic to publish messages to.""" + sasl_mechanism: NotRequired[KafkaConfigUpdateSaslMechanism] + r"""SASL authentication mechanism.""" + tls: NotRequired[KafkaConfigUpdateTLS] + r"""Whether to enable TLS for the connection.""" + partition_key_template: NotRequired[str] + r"""Optional JMESPath template to extract the partition key from the event payload.""" + + +class KafkaConfigUpdate(BaseModel): + r"""Partial Kafka config for PATCH updates (RFC 7396 merge-patch).""" + + brokers: Optional[str] = None + r"""Comma-separated list of Kafka broker addresses.""" + + topic: Optional[str] = None + r"""The Kafka topic to publish messages to.""" + + sasl_mechanism: Optional[KafkaConfigUpdateSaslMechanism] = None + r"""SASL authentication mechanism.""" + + tls: Optional[KafkaConfigUpdateTLS] = None + r"""Whether to enable TLS for the connection.""" + + partition_key_template: Optional[str] = None + r"""Optional JMESPath template to extract the partition key from the event payload.""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set( + ["brokers", "topic", "sasl_mechanism", "tls", "partition_key_template"] + ) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m diff --git a/sdks/outpost-python/src/outpost_sdk/models/kafkacredentialsupdate.py b/sdks/outpost-python/src/outpost_sdk/models/kafkacredentialsupdate.py new file mode 100644 index 000000000..fdfc32e21 --- /dev/null +++ b/sdks/outpost-python/src/outpost_sdk/models/kafkacredentialsupdate.py @@ -0,0 +1,42 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from outpost_sdk.types import BaseModel, UNSET_SENTINEL +from pydantic import model_serializer +from typing import Optional +from typing_extensions import NotRequired, TypedDict + + +class KafkaCredentialsUpdateTypedDict(TypedDict): + r"""Partial Kafka credentials for PATCH updates (RFC 7396 merge-patch).""" + + username: NotRequired[str] + r"""SASL username for authentication.""" + password: NotRequired[str] + r"""SASL password for authentication.""" + + +class KafkaCredentialsUpdate(BaseModel): + r"""Partial Kafka credentials for PATCH updates (RFC 7396 merge-patch).""" + + username: Optional[str] = None + r"""SASL username for authentication.""" + + password: Optional[str] = None + r"""SASL password for authentication.""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["username", "password"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m diff --git a/sdks/outpost-python/src/outpost_sdk/models/listattemptsop.py b/sdks/outpost-python/src/outpost_sdk/models/listattemptsop.py index 1ab1fa635..2eaa5c61d 100644 --- a/sdks/outpost-python/src/outpost_sdk/models/listattemptsop.py +++ b/sdks/outpost-python/src/outpost_sdk/models/listattemptsop.py @@ -1,10 +1,6 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" from __future__ import annotations -from .attemptpaginatedresult import ( - AttemptPaginatedResult, - AttemptPaginatedResultTypedDict, -) from .destinationtype import DestinationType from .operator import Operator, OperatorTypedDict from enum import Enum @@ -12,7 +8,7 @@ from outpost_sdk.utils import FieldMetadata, QueryParamMetadata import pydantic from pydantic import model_serializer -from typing import Callable, List, Optional, Union +from typing import List, Optional, Union from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict @@ -283,13 +279,3 @@ def serialize_model(self, handler): m[k] = val return m - - -class ListAttemptsResponseTypedDict(TypedDict): - result: AttemptPaginatedResultTypedDict - - -class ListAttemptsResponse(BaseModel): - next: Callable[[], Optional[ListAttemptsResponse]] - - result: AttemptPaginatedResult diff --git a/sdks/outpost-python/src/outpost_sdk/models/listeventsop.py b/sdks/outpost-python/src/outpost_sdk/models/listeventsop.py index 3e72b9a25..af73d9d75 100644 --- a/sdks/outpost-python/src/outpost_sdk/models/listeventsop.py +++ b/sdks/outpost-python/src/outpost_sdk/models/listeventsop.py @@ -1,14 +1,13 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" from __future__ import annotations -from .eventpaginatedresult import EventPaginatedResult, EventPaginatedResultTypedDict from .operator import Operator, OperatorTypedDict from enum import Enum from outpost_sdk.types import BaseModel, UNSET_SENTINEL from outpost_sdk.utils import FieldMetadata, QueryParamMetadata import pydantic from pydantic import model_serializer -from typing import Callable, List, Optional, Union +from typing import List, Optional, Union from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict @@ -196,13 +195,3 @@ def serialize_model(self, handler): m[k] = val return m - - -class ListEventsResponseTypedDict(TypedDict): - result: EventPaginatedResultTypedDict - - -class ListEventsResponse(BaseModel): - next: Callable[[], Optional[ListEventsResponse]] - - result: EventPaginatedResult diff --git a/sdks/outpost-python/src/outpost_sdk/models/listtenantdestinationattemptsop.py b/sdks/outpost-python/src/outpost_sdk/models/listtenantdestinationattemptsop.py index 495c4e7d1..c081deef9 100644 --- a/sdks/outpost-python/src/outpost_sdk/models/listtenantdestinationattemptsop.py +++ b/sdks/outpost-python/src/outpost_sdk/models/listtenantdestinationattemptsop.py @@ -1,17 +1,13 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" from __future__ import annotations -from .attemptpaginatedresult import ( - AttemptPaginatedResult, - AttemptPaginatedResultTypedDict, -) from .operator import Operator, OperatorTypedDict from enum import Enum from outpost_sdk.types import BaseModel, UNSET_SENTINEL from outpost_sdk.utils import FieldMetadata, PathParamMetadata, QueryParamMetadata import pydantic from pydantic import model_serializer -from typing import Callable, List, Optional, Union +from typing import List, Optional, Union from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict @@ -224,13 +220,3 @@ def serialize_model(self, handler): m[k] = val return m - - -class ListTenantDestinationAttemptsResponseTypedDict(TypedDict): - result: AttemptPaginatedResultTypedDict - - -class ListTenantDestinationAttemptsResponse(BaseModel): - next: Callable[[], Optional[ListTenantDestinationAttemptsResponse]] - - result: AttemptPaginatedResult diff --git a/sdks/outpost-python/src/outpost_sdk/models/listtenantsop.py b/sdks/outpost-python/src/outpost_sdk/models/listtenantsop.py index 3ffaf234f..fff65f0f2 100644 --- a/sdks/outpost-python/src/outpost_sdk/models/listtenantsop.py +++ b/sdks/outpost-python/src/outpost_sdk/models/listtenantsop.py @@ -1,13 +1,12 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" from __future__ import annotations -from .tenantpaginatedresult import TenantPaginatedResult, TenantPaginatedResultTypedDict from enum import Enum from outpost_sdk.types import BaseModel, UNSET_SENTINEL from outpost_sdk.utils import FieldMetadata, QueryParamMetadata import pydantic from pydantic import model_serializer -from typing import Callable, List, Optional, Union +from typing import List, Optional, Union from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict @@ -90,13 +89,3 @@ def serialize_model(self, handler): m[k] = val return m - - -class ListTenantsResponseTypedDict(TypedDict): - result: TenantPaginatedResultTypedDict - - -class ListTenantsResponse(BaseModel): - next: Callable[[], Optional[ListTenantsResponse]] - - result: TenantPaginatedResult diff --git a/sdks/outpost-python/src/outpost_sdk/models/rabbitmqconfigupdate.py b/sdks/outpost-python/src/outpost_sdk/models/rabbitmqconfigupdate.py new file mode 100644 index 000000000..b01ae0f55 --- /dev/null +++ b/sdks/outpost-python/src/outpost_sdk/models/rabbitmqconfigupdate.py @@ -0,0 +1,55 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from enum import Enum +from outpost_sdk.types import BaseModel, UNSET_SENTINEL +from pydantic import model_serializer +from typing import Optional +from typing_extensions import NotRequired, TypedDict + + +class RabbitMQConfigUpdateTLS(str, Enum): + r"""Whether to use TLS connection (amqps).""" + + TRUE = "true" + FALSE = "false" + + +class RabbitMQConfigUpdateTypedDict(TypedDict): + r"""Partial RabbitMQ config for PATCH updates (RFC 7396 merge-patch).""" + + server_url: NotRequired[str] + r"""RabbitMQ server address (host:port).""" + exchange: NotRequired[str] + r"""The exchange to publish messages to.""" + tls: NotRequired[RabbitMQConfigUpdateTLS] + r"""Whether to use TLS connection (amqps).""" + + +class RabbitMQConfigUpdate(BaseModel): + r"""Partial RabbitMQ config for PATCH updates (RFC 7396 merge-patch).""" + + server_url: Optional[str] = None + r"""RabbitMQ server address (host:port).""" + + exchange: Optional[str] = None + r"""The exchange to publish messages to.""" + + tls: Optional[RabbitMQConfigUpdateTLS] = None + r"""Whether to use TLS connection (amqps).""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["server_url", "exchange", "tls"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m diff --git a/sdks/outpost-python/src/outpost_sdk/models/rabbitmqcredentialsupdate.py b/sdks/outpost-python/src/outpost_sdk/models/rabbitmqcredentialsupdate.py new file mode 100644 index 000000000..b8c331305 --- /dev/null +++ b/sdks/outpost-python/src/outpost_sdk/models/rabbitmqcredentialsupdate.py @@ -0,0 +1,42 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from outpost_sdk.types import BaseModel, UNSET_SENTINEL +from pydantic import model_serializer +from typing import Optional +from typing_extensions import NotRequired, TypedDict + + +class RabbitMQCredentialsUpdateTypedDict(TypedDict): + r"""Partial RabbitMQ credentials for PATCH updates (RFC 7396 merge-patch).""" + + username: NotRequired[str] + r"""RabbitMQ username.""" + password: NotRequired[str] + r"""RabbitMQ password.""" + + +class RabbitMQCredentialsUpdate(BaseModel): + r"""Partial RabbitMQ credentials for PATCH updates (RFC 7396 merge-patch).""" + + username: Optional[str] = None + r"""RabbitMQ username.""" + + password: Optional[str] = None + r"""RabbitMQ password.""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["username", "password"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m diff --git a/sdks/outpost-python/src/outpost_sdk/models/webhookconfigupdate.py b/sdks/outpost-python/src/outpost_sdk/models/webhookconfigupdate.py new file mode 100644 index 000000000..d42122d29 --- /dev/null +++ b/sdks/outpost-python/src/outpost_sdk/models/webhookconfigupdate.py @@ -0,0 +1,42 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from outpost_sdk.types import BaseModel, UNSET_SENTINEL +from pydantic import model_serializer +from typing import Optional +from typing_extensions import NotRequired, TypedDict + + +class WebhookConfigUpdateTypedDict(TypedDict): + r"""Partial Webhook config for PATCH updates (RFC 7396 merge-patch).""" + + url: NotRequired[str] + r"""The URL to send the webhook events to.""" + custom_headers: NotRequired[str] + r"""JSON string of custom HTTP headers to include with every webhook request.""" + + +class WebhookConfigUpdate(BaseModel): + r"""Partial Webhook config for PATCH updates (RFC 7396 merge-patch).""" + + url: Optional[str] = None + r"""The URL to send the webhook events to.""" + + custom_headers: Optional[str] = None + r"""JSON string of custom HTTP headers to include with every webhook request.""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["url", "custom_headers"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m diff --git a/sdks/outpost-python/src/outpost_sdk/models/webhookcredentialsupdate.py b/sdks/outpost-python/src/outpost_sdk/models/webhookcredentialsupdate.py index 18ee1833a..8c1a352d0 100644 --- a/sdks/outpost-python/src/outpost_sdk/models/webhookcredentialsupdate.py +++ b/sdks/outpost-python/src/outpost_sdk/models/webhookcredentialsupdate.py @@ -9,6 +9,8 @@ class WebhookCredentialsUpdateTypedDict(TypedDict): + r"""Partial Webhook credentials for PATCH updates (RFC 7396 merge-patch).""" + secret: NotRequired[str] r"""New secret (only allowed for admin).""" previous_secret: NotRequired[str] @@ -20,6 +22,8 @@ class WebhookCredentialsUpdateTypedDict(TypedDict): class WebhookCredentialsUpdate(BaseModel): + r"""Partial Webhook credentials for PATCH updates (RFC 7396 merge-patch).""" + secret: Optional[str] = None r"""New secret (only allowed for admin).""" diff --git a/sdks/outpost-python/src/outpost_sdk/sdk.py b/sdks/outpost-python/src/outpost_sdk/sdk.py index a33eb9a7a..f8cdb23f7 100644 --- a/sdks/outpost-python/src/outpost_sdk/sdk.py +++ b/sdks/outpost-python/src/outpost_sdk/sdk.py @@ -135,7 +135,9 @@ def __init__( ), "The provided async_client must implement the AsyncHttpClient protocol." security: Any = None - if callable(api_key): + if api_key is None: + security = None + elif callable(api_key): # pylint: disable=unnecessary-lambda-assignment security = lambda: models.Security(api_key=api_key()) else: diff --git a/sdks/outpost-python/src/outpost_sdk/tenants.py b/sdks/outpost-python/src/outpost_sdk/tenants.py index 83a6b63bc..655389e13 100644 --- a/sdks/outpost-python/src/outpost_sdk/tenants.py +++ b/sdks/outpost-python/src/outpost_sdk/tenants.py @@ -1,12 +1,11 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" from .basesdk import BaseSDK -from jsonpath import JSONPath from outpost_sdk import errors, models, utils from outpost_sdk._hooks import HookContext from outpost_sdk.types import BaseModel, OptionalNullable, UNSET from outpost_sdk.utils.unmarshal_json_response import unmarshal_json_response -from typing import Any, Dict, List, Mapping, Optional, Union, cast +from typing import Any, Mapping, Optional, Union, cast class Tenants(BaseSDK): @@ -24,7 +23,7 @@ def list( server_url: Optional[str] = None, timeout_ms: Optional[int] = None, http_headers: Optional[Mapping[str, str]] = None, - ) -> Optional[models.ListTenantsResponse]: + ) -> models.TenantPaginatedResult: r"""List Tenants List all tenants with cursor-based pagination. @@ -96,43 +95,9 @@ def list( retry_config=retry_config, ) - def next_func() -> Optional[models.ListTenantsResponse]: - body = utils.unmarshal_json(http_res.text, Union[Dict[Any, Any], List[Any]]) - next_cursor = JSONPath("$.pagination.next").parse(body) - - if len(next_cursor) == 0: - return None - - next_cursor = next_cursor[0] - if next_cursor is None or str(next_cursor).strip() == "": - return None - results = JSONPath("$.models").parse(body) - if len(results) == 0 or len(results[0]) == 0: - return None - limit_ = request.limit if isinstance(request.limit, int) else 20 - if len(results[0]) < limit_: - return None - - return self.list( - request=models.ListTenantsRequest( - id=request.id, - limit=request.limit, - direction=request.direction, - next_cursor=request.next_cursor, - prev_cursor=request.prev_cursor, - ), - retries=retries, - server_url=server_url, - timeout_ms=timeout_ms, - http_headers=http_headers, - ) - response_data: Any = None if utils.match_response(http_res, "200", "application/json"): - return models.ListTenantsResponse( - result=unmarshal_json_response(models.TenantPaginatedResult, http_res), - next=next_func, - ) + return unmarshal_json_response(models.TenantPaginatedResult, http_res) if utils.match_response(http_res, "400", "application/json"): response_data = unmarshal_json_response( errors.BadRequestErrorData, http_res @@ -170,7 +135,7 @@ async def list_async( server_url: Optional[str] = None, timeout_ms: Optional[int] = None, http_headers: Optional[Mapping[str, str]] = None, - ) -> Optional[models.ListTenantsResponse]: + ) -> models.TenantPaginatedResult: r"""List Tenants List all tenants with cursor-based pagination. @@ -242,43 +207,9 @@ async def list_async( retry_config=retry_config, ) - def next_func() -> Optional[models.ListTenantsResponse]: - body = utils.unmarshal_json(http_res.text, Union[Dict[Any, Any], List[Any]]) - next_cursor = JSONPath("$.pagination.next").parse(body) - - if len(next_cursor) == 0: - return None - - next_cursor = next_cursor[0] - if next_cursor is None or str(next_cursor).strip() == "": - return None - results = JSONPath("$.models").parse(body) - if len(results) == 0 or len(results[0]) == 0: - return None - limit_ = request.limit if isinstance(request.limit, int) else 20 - if len(results[0]) < limit_: - return None - - return self.list( - request=models.ListTenantsRequest( - id=request.id, - limit=request.limit, - direction=request.direction, - next_cursor=request.next_cursor, - prev_cursor=request.prev_cursor, - ), - retries=retries, - server_url=server_url, - timeout_ms=timeout_ms, - http_headers=http_headers, - ) - response_data: Any = None if utils.match_response(http_res, "200", "application/json"): - return models.ListTenantsResponse( - result=unmarshal_json_response(models.TenantPaginatedResult, http_res), - next=next_func, - ) + return unmarshal_json_response(models.TenantPaginatedResult, http_res) if utils.match_response(http_res, "400", "application/json"): response_data = unmarshal_json_response( errors.BadRequestErrorData, http_res diff --git a/sdks/outpost-python/src/outpost_sdk/types/__init__.py b/sdks/outpost-python/src/outpost_sdk/types/__init__.py index fc76fe0c5..faa268137 100644 --- a/sdks/outpost-python/src/outpost_sdk/types/__init__.py +++ b/sdks/outpost-python/src/outpost_sdk/types/__init__.py @@ -1,5 +1,6 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" +from .base64fileinput import Base64EncodedString, Base64FileInput from .basemodel import ( BaseModel, Nullable, @@ -11,6 +12,8 @@ ) __all__ = [ + "Base64EncodedString", + "Base64FileInput", "BaseModel", "Nullable", "OptionalNullable", diff --git a/sdks/outpost-python/src/outpost_sdk/types/base64fileinput.py b/sdks/outpost-python/src/outpost_sdk/types/base64fileinput.py new file mode 100644 index 000000000..25fc53989 --- /dev/null +++ b/sdks/outpost-python/src/outpost_sdk/types/base64fileinput.py @@ -0,0 +1,39 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations + +import base64 +import io +from os import PathLike +from typing import IO, Any, Union + +from pydantic.functional_validators import BeforeValidator +from typing_extensions import Annotated + + +Base64FileInput = Union[IO[bytes], PathLike[str]] + + +def encode_base64_file_input(value: Any) -> Any: + """Convert PathLike or IO[bytes] inputs to a base64 string. All standard binary streams + that inherit from io.IOBase are handled. Other values pass through. + """ + if isinstance(value, (PathLike, io.IOBase)): + if isinstance(value, PathLike): + with open(value, "rb") as fh: + binary = fh.read() + else: + binary = value.read() + if isinstance(binary, str): + binary = binary.encode() + if not isinstance(binary, (bytes, bytearray)): + raise TypeError( + f"Base64FileInput expected binary IO returning bytes; got {type(binary).__name__}" + ) + return base64.b64encode(binary).decode("ascii") + return value + + +# Non-str inputs are converted to base64 by the BeforeValidator at construction time. +# Callers can also pass a pre-encoded base64 str. +Base64EncodedString = Annotated[str, BeforeValidator(encode_base64_file_input)]