diff --git a/.speakeasy/logs/changes/changes.html b/.speakeasy/logs/changes/changes.html index 8381e756..2c68579c 100644 --- a/.speakeasy/logs/changes/changes.html +++ b/.speakeasy/logs/changes/changes.html @@ -98,10 +98,50 @@

Typescript SDK Changes:

\ No newline at end of file diff --git a/.speakeasy/logs/changes/changes.md b/.speakeasy/logs/changes/changes.md index 2a22012a..6e1b1b89 100644 --- a/.speakeasy/logs/changes/changes.md +++ b/.speakeasy/logs/changes/changes.md @@ -1,5 +1,39 @@ ## Typescript SDK Changes: -* `outpost.publish()`: **Added** -* `outpost.retry()`: **Added** -* `outpost.publish.event()`: **Removed** (Breaking ⚠️) -* `outpost.retry.retry()`: **Removed** (Breaking ⚠️) +* `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** diff --git a/.speakeasy/logs/changes/new.openapi.yaml b/.speakeasy/logs/changes/new.openapi.yaml index 5c650f81..56656577 100644 --- a/.speakeasy/logs/changes/new.openapi.yaml +++ b/.speakeasy/logs/changes/new.openapi.yaml @@ -1262,6 +1262,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 +1318,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 +1374,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 +1429,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 +1485,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 +1541,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 +1597,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 +1653,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 +1709,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 +1804,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 +1844,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 +1884,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 +1923,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 +1963,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 +2003,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 +2043,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 +2083,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 +2123,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: diff --git a/.speakeasy/logs/changes/old.openapi.yaml b/.speakeasy/logs/changes/old.openapi.yaml index eb6eb337..630ae2a6 100644 --- a/.speakeasy/logs/changes/old.openapi.yaml +++ b/.speakeasy/logs/changes/old.openapi.yaml @@ -4156,7 +4156,8 @@ paths: $ref: '#/components/responses/Timeout' '504': $ref: '#/components/responses/Timeout' - x-speakeasy-name-override: event + x-speakeasy-name-override: publish + x-speakeasy-group: "" security: - BearerAuth: [] # Retry @@ -4202,6 +4203,7 @@ paths: "500": $ref: "#/components/responses/InternalServerError" x-speakeasy-name-override: retry + x-speakeasy-group: "" /destination-types: get: tags: [Schemas] diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index 083d3242..cef61aa1 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -1,23 +1,23 @@ -speakeasyVersion: 1.761.10 +speakeasyVersion: 1.763.0 sources: Outpost API: sourceNamespace: outpost-api - sourceRevisionDigest: sha256:5280e7ed014af144d94895d973fd126c7c8529b844328c669dc012e22b39c68a - sourceBlobDigest: sha256:5c42d61b9bc3911715bbb4ed1d74529e8a180d2636a92e6084047f0f1276a460 + sourceRevisionDigest: sha256:a0fceb1ecede1f0f54ee3dff86cf4c4a120526d3984d41541e9374707dcdd276 + sourceBlobDigest: sha256:33724607352634972945f9b41b2666352e5d1991cf66625d03b1f4e596c43201 tags: - latest - 0.0.1 Outpost API (Go): sourceNamespace: outpost-api - sourceRevisionDigest: sha256:4f09edb730cf40e6bd87de128f38ec66a75313af26f3527656f30687128cd945 - sourceBlobDigest: sha256:38070d5c2a64104540e79d45a1fc751110ad166711b8f16b8e3ba90dea5a5730 + sourceRevisionDigest: sha256:3dcedd941c02dca57d321a9ff9549ad3e4c06f4b05fce54b1db4518ae1525926 + sourceBlobDigest: sha256:26aa19602e299ca2b312093a0ae81958402522a9d8a1f900742904197648c5ed tags: - latest - 0.0.1 Outpost API (Python): sourceNamespace: outpost-api - sourceRevisionDigest: sha256:03b0584935e118df7a644bc04d862e1d57964eb51d8489a6cecf9f590f0c7d42 - sourceBlobDigest: sha256:ea82e56b3009ff04c0d3a17454236071288ad055d40a40c5aa1aa5b1c9aa8b65 + sourceRevisionDigest: sha256:c7c27d00da8a195cd5432cb465a0ae0ed906c38ceaf48f46b34cbb9bac05113d + sourceBlobDigest: sha256:ac5200813ec9142fa04b1c057ca21dc30ed3939d2cb36ac746a61fb94c1cbf1c tags: - latest - 0.0.1 @@ -25,24 +25,24 @@ targets: outpost-go: source: Outpost API (Go) sourceNamespace: outpost-api - sourceRevisionDigest: sha256:4f09edb730cf40e6bd87de128f38ec66a75313af26f3527656f30687128cd945 - sourceBlobDigest: sha256:38070d5c2a64104540e79d45a1fc751110ad166711b8f16b8e3ba90dea5a5730 + sourceRevisionDigest: sha256:3dcedd941c02dca57d321a9ff9549ad3e4c06f4b05fce54b1db4518ae1525926 + sourceBlobDigest: sha256:26aa19602e299ca2b312093a0ae81958402522a9d8a1f900742904197648c5ed codeSamplesNamespace: outpost-api-go-code-samples - codeSamplesRevisionDigest: sha256:fb564b5a48cc20c2b7c1b4b4b68b1b8ec36afc67b4e681411e6ee9c5ece61e37 + codeSamplesRevisionDigest: sha256:0244d7a112aba384de02c70dfbb3db6c48c858e36f29dba6006d1281ebc8d7bf outpost-python: source: Outpost API (Python) sourceNamespace: outpost-api - sourceRevisionDigest: sha256:03b0584935e118df7a644bc04d862e1d57964eb51d8489a6cecf9f590f0c7d42 - sourceBlobDigest: sha256:ea82e56b3009ff04c0d3a17454236071288ad055d40a40c5aa1aa5b1c9aa8b65 + sourceRevisionDigest: sha256:c7c27d00da8a195cd5432cb465a0ae0ed906c38ceaf48f46b34cbb9bac05113d + sourceBlobDigest: sha256:ac5200813ec9142fa04b1c057ca21dc30ed3939d2cb36ac746a61fb94c1cbf1c codeSamplesNamespace: outpost-api-python-code-samples - codeSamplesRevisionDigest: sha256:a391fa2884960839d2083cee117b46e189e007a7cab6013b096ff1beae9137e4 + codeSamplesRevisionDigest: sha256:986f2738d412e6e3ece2b97377d8fd8e14240e1cd006a8ac28b14f0825f5eed1 outpost-ts: source: Outpost API sourceNamespace: outpost-api - sourceRevisionDigest: sha256:5280e7ed014af144d94895d973fd126c7c8529b844328c669dc012e22b39c68a - sourceBlobDigest: sha256:5c42d61b9bc3911715bbb4ed1d74529e8a180d2636a92e6084047f0f1276a460 + sourceRevisionDigest: sha256:a0fceb1ecede1f0f54ee3dff86cf4c4a120526d3984d41541e9374707dcdd276 + sourceBlobDigest: sha256:33724607352634972945f9b41b2666352e5d1991cf66625d03b1f4e596c43201 codeSamplesNamespace: outpost-api-typescript-code-samples - codeSamplesRevisionDigest: sha256:32fd7611e0a7faf0626f7f7eb744f46a569e00da731ee8186d1fcfaa66685ff5 + codeSamplesRevisionDigest: sha256:eee90e6266e97ff6f441a6e025935cbc379f210b1fd3fdf3c1bd80d93773f3e0 workflow: workflowVersion: 1.0.0 speakeasyVersion: latest diff --git a/examples/docker-compose/compose.yml b/examples/docker-compose/compose.yml index b48e5583..881246bd 100644 --- a/examples/docker-compose/compose.yml +++ b/examples/docker-compose/compose.yml @@ -1,7 +1,7 @@ name: outpost-example services: migrate: - image: hookdeck/outpost:v1.0.2 + image: hookdeck/outpost:v1.0.3 command: migrate apply --yes env_file: .env depends_on: @@ -10,7 +10,7 @@ services: restart: "no" api: - image: hookdeck/outpost:v1.0.2 + image: hookdeck/outpost:v1.0.3 env_file: .env depends_on: migrate: @@ -25,7 +25,7 @@ services: - 3333:3333 delivery: - image: hookdeck/outpost:v1.0.2 + image: hookdeck/outpost:v1.0.3 env_file: .env depends_on: migrate: @@ -38,7 +38,7 @@ services: SERVICE: delivery log: - image: hookdeck/outpost:v1.0.2 + image: hookdeck/outpost:v1.0.3 env_file: .env depends_on: migrate: diff --git a/sdks/outpost-go/.speakeasy/gen.lock b/sdks/outpost-go/.speakeasy/gen.lock index d5206dd3..7537995b 100644 --- a/sdks/outpost-go/.speakeasy/gen.lock +++ b/sdks/outpost-go/.speakeasy/gen.lock @@ -1,19 +1,19 @@ lockVersion: 2.0.0 id: f0627709-5a00-43ac-8678-ca716d6f379c management: - docChecksum: 08dffbff624e58e156ce8af8063d1fc0 + docChecksum: 56b3afb457a31662f570518662cc8faf docVersion: 0.0.1 - speakeasyVersion: 1.761.10 - generationVersion: 2.881.16 - releaseVersion: 1.2.0 - configChecksum: a164b90c8d5de746ec645718e2da64bc + speakeasyVersion: 1.763.0 + generationVersion: 2.884.0 + releaseVersion: 1.3.0 + configChecksum: 15d9d37ca486be8d70ac88bd0bf96529 repoURL: https://github.com/hookdeck/outpost.git repoSubDirectory: sdks/outpost-go installationURL: https://github.com/hookdeck/outpost persistentEdits: - generation_id: 45c053a0-b24a-494a-abbd-47693a547860 - pristine_commit_hash: 611ab17be4d0f1fd50a2d26a9ce2a6e41aa94849 - pristine_tree_hash: c5d69971d55b7216ef3d42809098273cea7e1840 + generation_id: 3fe84976-864e-41c3-ac28-e178ede67f2a + pristine_commit_hash: 86e68cbd4c1bf77a23d24daed84ac23efdd80590 + pristine_tree_hash: 32259f846488c50b5217e6411dc0b041fc0af460 features: go: additionalDependencies: 0.1.0 @@ -35,7 +35,7 @@ features: responseFormat: 0.1.2 retries: 2.84.2 sdkHooks: 0.3.0 - unions: 2.87.6 + unions: 2.87.7 trackedFiles: .gitattributes: id: 24139dae6567 @@ -175,72 +175,72 @@ trackedFiles: pristine_git_object: 302a4307d84d3d0be6d24287f39636478f82317f docs/models/components/destinationcreateawskinesis.md: id: 5593f1bd5e1a - last_write_checksum: sha1:0816af2b17088e8bb4f2f3d8bdf4ebe603f2b780 - pristine_git_object: 67c99d848e7c17faf789601e572d7cc6840aae40 + last_write_checksum: sha1:e93d6d3d7bc80f6edccaba0302c24fce7bfe8db7 + pristine_git_object: 663c136320c99a83ce985e64c3dcae6d6fc4876b docs/models/components/destinationcreateawskinesistype.md: id: 6956680339a0 last_write_checksum: sha1:ccfe37b5aec6c9cc151a70e4c9a83badcebf0ce9 pristine_git_object: 0a54ef9a6fd668ebc2e658bacb3556cdb18a4f5e docs/models/components/destinationcreateawss3.md: id: af91634b61a0 - last_write_checksum: sha1:f5f560c7f7d74d3d2adbfff6bc1571000ccdb3bd - pristine_git_object: a6c3b8e6b104878be7bd26de335c7191a844ff06 + last_write_checksum: sha1:fce629bff9ce32aec5c0b572af14e971a9579744 + pristine_git_object: 13f58791c1b3aa5202a67512d945684a71d67fc3 docs/models/components/destinationcreateawss3type.md: id: 6877bf7e23ec last_write_checksum: sha1:15f7ecdaf26e36c0293c8da23599a38b81bc3be0 pristine_git_object: 3c81a08e5b289348be136baa3a104afbfda0abae docs/models/components/destinationcreateawssqs.md: id: c6b726f0ec14 - last_write_checksum: sha1:be4d88e1e10b833e096a0da5e6d268bf7c79b6fe - pristine_git_object: 44335a773eb2de4a938d92938dd059f0472c3c12 + last_write_checksum: sha1:624a53c289d7ce9085e1a98248a3ffe38b8bca85 + pristine_git_object: 89dec8c8d2693b600e888e2a278d1d66d77777e8 docs/models/components/destinationcreateawssqstype.md: id: 1ef234381d5e last_write_checksum: sha1:6fa312b73dffdacc62b2d05b264d3b6794da974f pristine_git_object: 31eab2ef4c64390f168a4ff6808d7e1e3b685089 docs/models/components/destinationcreateazureservicebus.md: id: 89472b979d07 - last_write_checksum: sha1:a6c0d857939423cf53e96705daa159e88bbca027 - pristine_git_object: 4fc1dbbec24895aea8c5be98806503afe20ee9ee + last_write_checksum: sha1:2cf9deb396f7a939117089c2dd8024dc81b2e2d5 + pristine_git_object: 2272715f46a8496ddfe6a6cb013e0cf72828b78a docs/models/components/destinationcreateazureservicebustype.md: id: 7bcec8499967 last_write_checksum: sha1:4556330df57f6e8afb09b8f70ba8899214a33373 pristine_git_object: 45c69a88d58579d1450876db00bb913772b61f28 docs/models/components/destinationcreategcppubsub.md: id: 83e1ebef3406 - last_write_checksum: sha1:f8401e4bccf54995fe789d77454360e9e367eca9 - pristine_git_object: 6679bc877760cac1dc6d8a6871b0b0eae472b77b + last_write_checksum: sha1:6f00dbfcc12e4d2e57546173ba8ee51f367aa193 + pristine_git_object: 00928462a2aeb6b9fac6c1a3c93cec1ffc4c3db8 docs/models/components/destinationcreategcppubsubtype.md: id: dc2f412568a7 last_write_checksum: sha1:b6e81a8cdb239107506d6f7c6a946f0e980623f8 pristine_git_object: 2d821818d1265a121a3386844818bb679079a4db docs/models/components/destinationcreatehookdeck.md: id: a06f19b079ed - last_write_checksum: sha1:d4114313aaa7eafcef9d8bb092bc1ed3de7af862 - pristine_git_object: 89faea7773fad7b349770e96eadea54ace6ea21b + last_write_checksum: sha1:15efb07afd442088e512c7acc1ae8ca575b8478e + pristine_git_object: 28ef2cdf78cbca380df8b0a995dd2aae1109cbf1 docs/models/components/destinationcreatehookdecktype.md: id: 7633062252b9 last_write_checksum: sha1:6ca9d40f2c4eac5e7d540c5c0e0a7bc4e4a73d6d pristine_git_object: 034fb5298041b5d42008c7a5a8a86c2fb50002cb docs/models/components/destinationcreatekafka.md: id: 7c43fe1d2c1f - last_write_checksum: sha1:497dcf681172963d51dc8d89c7dc13b6e3f052be - pristine_git_object: c3fa0a6ffc8d94a3f113b43fe21af3cc76b733c1 + last_write_checksum: sha1:7ada6179a97a5da69b0afb71d490b1c88f96146c + pristine_git_object: cb567538cedec2ca4ae98569e728536c3421a777 docs/models/components/destinationcreatekafkatype.md: id: d63a5ec5cd5c last_write_checksum: sha1:bf2d38ec8b1b1869907fcf4406c7eaad09c3c53c pristine_git_object: 09388b639b8f73730259ed54a2f7c9515d4e35f5 docs/models/components/destinationcreaterabbitmq.md: id: 3f95bd0221e2 - last_write_checksum: sha1:a04c4b041bba5f4fccb0d2fe11003fb6a3356818 - pristine_git_object: c9f62d002bcf05f332464c84e21a5278b79c9e1f + last_write_checksum: sha1:d8f2221eec47a8957cdb243162211b3492d4bdb7 + pristine_git_object: 3316027202bc407c674a67bc050f80b191874b3b docs/models/components/destinationcreaterabbitmqtype.md: id: 71cf19ccfc8b last_write_checksum: sha1:f66d756b3e5f4321643ee26fe4b6963fda64828f pristine_git_object: fb92b828c9737d6279145a208f79df0fb41d8fe0 docs/models/components/destinationcreatewebhook.md: id: 92e4ccbf4461 - last_write_checksum: sha1:0bb670086a394bbb6eee0f808cbf508930b4be7e - pristine_git_object: d6ecb04ed7e1388600b0193303a5bc12209504cf + last_write_checksum: sha1:8855b8158b4dc7f3653e25c39108ebc059827b0c + pristine_git_object: b6f782c0a53786ddf69ebbd2580c5d8bf19bcfdd docs/models/components/destinationcreatewebhooktype.md: id: b112cbdd9f49 last_write_checksum: sha1:d2446eb8980f8027afd9b4e8e96007077a3c9fed @@ -299,40 +299,40 @@ trackedFiles: pristine_git_object: 3aee7e4bee00df52fe6128ead83cd1f1598a5614 docs/models/components/destinationupdateawskinesis.md: id: e0a4842ef74c - last_write_checksum: sha1:cdd9ffd3edcec80097c4fa5571175836c3e73fe5 - pristine_git_object: 165e785d12089d725264cc76216b58c384565076 + last_write_checksum: sha1:897a0267e63e3b6c90680da2add18f5e5edf056c + pristine_git_object: e2901ea801230ff99e3d0efda5e0c340df143b0b docs/models/components/destinationupdateawss3.md: id: c250ff90df94 - last_write_checksum: sha1:080030c3627fd68e9351a9dac4c4cb289d4b4c0d - pristine_git_object: 186c28650da7b14f9f569d25749a8364b160dff7 + last_write_checksum: sha1:994835785c33770118f54c94ba68f01d9ab8ccc4 + pristine_git_object: 5da69e367cb79dd9d093af2a921bba846e75c0f6 docs/models/components/destinationupdateawssqs.md: id: e2401ded4e44 - last_write_checksum: sha1:83ef802dfa02ff1ef2bcb1572c4d9f9ed6a41aa5 - pristine_git_object: 0e276d10cae9b8947111eaeb8604c088de0b9e46 + last_write_checksum: sha1:26f525ce6dcb8fc18c5c2a8cf37b8afe1d8c8a0d + pristine_git_object: 6bd68cf26d6895ce017d82e5a31164fc40ffa327 docs/models/components/destinationupdateazureservicebus.md: id: f230709db383 - last_write_checksum: sha1:4694690f384f0e1051c39472243439b1343f798c - pristine_git_object: 22da29c3259c1746a9acf171fa095d5802d9fb91 + last_write_checksum: sha1:4a2826cf093f90d545fe38760ee4a9ec8a79b713 + pristine_git_object: 09a2d036460949654cc8af7a4474c9288f98d1d1 docs/models/components/destinationupdategcppubsub.md: id: dfb954a0431a - last_write_checksum: sha1:22cc361a2a5c6e5494ae3783ed815733ea75b382 - pristine_git_object: 9978489cea9c681f5009ad16fdf557fa1739356f + last_write_checksum: sha1:f19edd7777e503d45707604cd6f1e4a4afcdda03 + pristine_git_object: 4878a979825f81ca8c86ec4045c3280a0108637f docs/models/components/destinationupdatehookdeck.md: id: 2d0fe3ebe94f - last_write_checksum: sha1:d5b6a8c02ade71fceb2a2a2b5a0dcf0d72f6c482 - pristine_git_object: 641b16cbbbdd98e664ed8430a78c065d11434e8f + last_write_checksum: sha1:06542bae4d63b4e98e0c2cb98c6baa4811c71690 + pristine_git_object: 314d1c38924ac78834cb9a8da1e60b019da27016 docs/models/components/destinationupdatekafka.md: id: 10be812cf1c0 - last_write_checksum: sha1:f2cb5c7bc77d50cef3b4239b0a9a709b2599f796 - pristine_git_object: 2555b5e98e76f8285fbe67ddfe82732cad00a5e9 + last_write_checksum: sha1:4f5085f6d429510c61b03bb96cef53eea5d2209b + pristine_git_object: 98e8155afc6c01bdbe7674da2fbcbf1b88c1bbc5 docs/models/components/destinationupdaterabbitmq.md: id: 75ae8e40dfd5 - last_write_checksum: sha1:2ec504373e2799ae71771f98673744bcd39974b7 - pristine_git_object: 00f021ca503de7922fe5b7a0bfc031dd03554493 + last_write_checksum: sha1:daa634a650c1dd64418de3fcfffaa4e73cfe2b02 + pristine_git_object: bd66eda49bfe381d826c413e3666b54c5897c84a docs/models/components/destinationupdatewebhook.md: id: 86013f6d41fd - last_write_checksum: sha1:4d65784916bffe06985fb13f3ef646fc343c8201 - pristine_git_object: 09b1846411762b95b8da15e7b954623ad4599b16 + last_write_checksum: sha1:d9d8229a5b1bb55016381994adf84cb5b0bc4fae + pristine_git_object: e3ca041c61c0edaa047dac616a196f974b4872a8 docs/models/components/destinationwebhook.md: id: 1b6ca867dbc9 last_write_checksum: sha1:5dd9693db96dae3adf383dfd0a7185a511e96935 @@ -995,12 +995,12 @@ trackedFiles: pristine_git_object: a2332ee8de013a2121880e4b7be332d3385c6f41 internal/utils/union.go: id: db86c85746b6 - last_write_checksum: sha1:08ba9097091619af0438094533f06c5693f9aeaa - pristine_git_object: dfff6f64f7838452c4caf663abb6fbdbb5b8f76f + last_write_checksum: sha1:5be016c86ebb32e8824ff2a2292d20fe5a4d89d0 + pristine_git_object: f52a45af4d1a471e64c0c6f04689b7370820aa91 internal/utils/union_test.go: id: 4b56247171bd - last_write_checksum: sha1:83ac73c1901de4c6db90f65cf5879163f3d47a00 - pristine_git_object: f66814c73ace94d8e71d785fd6161fb405745754 + last_write_checksum: sha1:bd5c7506e1d6238117c1ac4e340314a5a41401b5 + pristine_git_object: 138f7e2a066b10dffd0a9957ecfcab9e00dd26fe internal/utils/utils.go: id: 1133b2a27019 last_write_checksum: sha1:c03378176a107205b8938606faef3fd8fb8f91a0 @@ -1111,40 +1111,40 @@ trackedFiles: pristine_git_object: 06a1408b48b8c50c9c7a16d754f4eb2bb44b6edd models/components/destinationcreateawskinesis.go: id: 716114099c1b - last_write_checksum: sha1:ad651305414e5e8127bb533e4ccd71133fa554c3 - pristine_git_object: 9805ee9fecac44e5cd0ed3106273d1cdf07c1266 + last_write_checksum: sha1:3fffc63653ee1d8fa59f8c86f2a0667fffb73eb1 + pristine_git_object: 28cd494c8358f76caf6e00278e65acc4e6cb98b1 models/components/destinationcreateawss3.go: id: 7bea39e95ede - last_write_checksum: sha1:8d38f1d84c0ba6b658b292558ed8693ff38fcf45 - pristine_git_object: f4d44b7e089da978f0df9bc67739651152a81c51 + last_write_checksum: sha1:a1851428f14fd4fd75901eaf7db23b977028e7ff + pristine_git_object: 2549fb0f35eee56c99729e449429b1d20a1db100 models/components/destinationcreateawssqs.go: id: c60d19e6d3de - last_write_checksum: sha1:a833f824e00ab4899e4d4fa31704b94b02651e45 - pristine_git_object: baa46c730ee5c55c325d08e1f1ca59afc8672607 + last_write_checksum: sha1:b1f910ae7f729ad854ada2ef135277b41afe6c48 + pristine_git_object: 927dbed9b1093beb0e97a35f8733bb8ab36493d9 models/components/destinationcreateazureservicebus.go: id: d96c5dcffc18 - last_write_checksum: sha1:09a73a95e7c4b021052cf163435a04738afc6244 - pristine_git_object: 5b129dd605cd4fa111c8d5bc1d25b95f88bf5121 + last_write_checksum: sha1:0c80309ed62f0a175c07b2839ad1384f71a9a178 + pristine_git_object: a7a44a4b917ad7515083f5899e6cc171feda0ee2 models/components/destinationcreategcppubsub.go: id: 760cc25f4532 - last_write_checksum: sha1:5b2c4cf02bede6bc8337c818b6667553059e7196 - pristine_git_object: 588509b8637fa023bbabaf713be1e637eb2344b0 + last_write_checksum: sha1:6e76ed0751c49a5ccdc9dc711df5fde4bebbb3da + pristine_git_object: ecc2b39ffd38efe78430c962c073f1381a5b274c models/components/destinationcreatehookdeck.go: id: 0b164756ec20 - last_write_checksum: sha1:af82093c7d96277376562e61be794abbd56c9d4f - pristine_git_object: 5ed8f3203c33f241611d5ad4b45e36c7c91ce6f1 + last_write_checksum: sha1:bb248fb879d7e646dd969cbef8ae4d7312de0ecd + pristine_git_object: 3df91f73ba5513a43aaefccca936732f86a26f2a models/components/destinationcreatekafka.go: id: d2ae3dea4c90 - last_write_checksum: sha1:16dbdb00f15e10b6a0b147777481216af5bf98a2 - pristine_git_object: 6b257ddc88d5188ff7c3e7ca06ffca51efb4d00f + last_write_checksum: sha1:4298d3d5993c68f8fe98a300768bf1cf1067a86e + pristine_git_object: 3059b92a7a0065f1f391b1f87d5b34cde16471d6 models/components/destinationcreaterabbitmq.go: id: 27cd933960e7 - last_write_checksum: sha1:d6e22de1c5564fbcb89435f51116388ef4b47fe3 - pristine_git_object: 0480068b6e8bf6f23f49e8e60ac45e9258d93f26 + last_write_checksum: sha1:6dee226a381612d700726b94b7b47ecbc8e06c83 + pristine_git_object: 59bfbfe384a2d430b81de12ee644a95ae1133453 models/components/destinationcreatewebhook.go: id: e97a4db7225c - last_write_checksum: sha1:0c6f480e751546703dab254c1d6f88747c5f3884 - pristine_git_object: 10f9875f038d800118440374c7e7b560092acf30 + last_write_checksum: sha1:d737502ef0d8ca5e50e593b095fe7cc3c4071f2e + pristine_git_object: 4f8fbf1e840c1b27d86d6ad33b35914ddd3db940 models/components/destinationgcppubsub.go: id: d0551eafaf48 last_write_checksum: sha1:a281a70de2302e972007c171eb09eda158c88764 @@ -1179,40 +1179,40 @@ trackedFiles: pristine_git_object: a85aeba7a853846403cd5283171677cd269d07d9 models/components/destinationupdateawskinesis.go: id: 3282bcbfd9da - last_write_checksum: sha1:0928d775e0e26e8884f28eea73d047a6eae91911 - pristine_git_object: a4c61d79bc1320f687e618af9a937a67869de586 + last_write_checksum: sha1:ac227a0c676519effb4422975280d70744cd366a + pristine_git_object: f02a4bf525caf1e3ddab556ad7f0e2da702095f9 models/components/destinationupdateawss3.go: id: 79a4859f0cea - last_write_checksum: sha1:f279d6dff4994bc5c220a7a3d9021f56fad61301 - pristine_git_object: 229fff36e8d3ffd0991d23e100e055b06ae4f634 + last_write_checksum: sha1:a0ff7807190ea44bb7b0f71ce424f08fc6ec4094 + pristine_git_object: 7e53db2db05b91b34243e0953964e770d5b36e8f models/components/destinationupdateawssqs.go: id: 23190d1a3d21 - last_write_checksum: sha1:8aa42062029307133e6e98d3615806cb1bf633f5 - pristine_git_object: 0bdf9399a0eb57e0d80e4e343368da1314acf33c + last_write_checksum: sha1:ed375146b12ee887a56531b29114a57f1698824e + pristine_git_object: 484a76eee1553b9bc44dc76cec32a89793a133d3 models/components/destinationupdateazureservicebus.go: id: b83a9c557a38 - last_write_checksum: sha1:caa663b316d045e338bcf25a3c2b2e7fa47fed81 - pristine_git_object: 6ea2b2c71d410d99540f9c4201ef16fb95bdbf8a + last_write_checksum: sha1:798ce98467c05e42a07f0bb4033304fc0d7cde5b + pristine_git_object: f7cfdbbe4c8aa89f8afbb6a761a6d93c5b203d38 models/components/destinationupdategcppubsub.go: id: c1fdf179507b - last_write_checksum: sha1:6988378c16f834ead3f70f4769120ab59fd57a41 - pristine_git_object: 8570967179a646b0e9ea8e54bad105cdcf56f63d + last_write_checksum: sha1:582cb035476f38612aad8defb3be954c6f0de368 + pristine_git_object: b5987b92be26296a3f8ce5e7eeb682ae62c63331 models/components/destinationupdatehookdeck.go: id: 03124d06038b - last_write_checksum: sha1:a41209cd594c8140937f6209b0045acbbfd68b16 - pristine_git_object: edb5071eb5697b12a23ac7ae75caf12f8286f479 + last_write_checksum: sha1:2ecd177ea51637788e4786c44daed3154c9fc564 + pristine_git_object: 9af1a2b093677e9a232f32800ce350e888ec2fa0 models/components/destinationupdatekafka.go: id: 0a553d96d90c - last_write_checksum: sha1:031d9880ac1feefb4eecb3fbb4f5d7c15fdbf73a - pristine_git_object: dd0a0860e428e2976cc0ccdee271dc835bc82f5c + last_write_checksum: sha1:a2767968be6fd54f24e53d4038f3da15acf025f9 + pristine_git_object: a9079063fb35067d3bf146a02949fbced323ad75 models/components/destinationupdaterabbitmq.go: id: 4ee793e05609 - last_write_checksum: sha1:fd062a9f147a3415505cacd8da2ea468cffe3cf9 - pristine_git_object: ccba48587c2d7dda12dbcbfe19fcf2bb88ee151c + last_write_checksum: sha1:bac782ab61f104804743c6a8b45aae7b627848d1 + pristine_git_object: 488420215c2e12dc37b014f816638f6c1139a8cf models/components/destinationupdatewebhook.go: id: b4c8c0a38df5 - last_write_checksum: sha1:107b824164bcc114e58abfeb1bddc66bbdfbb38f - pristine_git_object: e9b331ff2a829ed7cc4995976b1a8afc6ab279ab + last_write_checksum: sha1:4e7ff5adf3c06abd227c11312ca48bcb8e392003 + pristine_git_object: 1c93fa6986fbb2fc4554a106d12a1ec281e8eed2 models/components/destinationwebhook.go: id: 34f9436369a5 last_write_checksum: sha1:a766e853cb1d0bee00ddb94c4e08ed9aefce84e9 @@ -1467,8 +1467,8 @@ trackedFiles: pristine_git_object: e6e5a01c6e721e879e24a38a1f97e3e27d4686d4 outpost.go: id: 7aebc57e3f81 - last_write_checksum: sha1:e6fab77ce524637c37fd3e94e85efc361e8740a8 - pristine_git_object: 4b07b7f831852f5be10b34a33e79be29443754aa + last_write_checksum: sha1:02253c52eb8ba47c942430c4606e2fdb00fb3486 + pristine_git_object: add31676a1fa8a09d64af1a913d2ca77e3057ea1 retry/config.go: id: 82d673cb0389 last_write_checksum: sha1:7f7d96b59a18e95bac847ae09c63bbd911ee8432 @@ -2085,10 +2085,8 @@ examplesVersion: 1.0.2 generatedTests: {} releaseNotes: | ## Go SDK Changes: - * `Outpost.Publish()`: **Added** - * `Outpost.Retry()`: **Added** - * `Outpost.Publish.Event()`: **Removed** (Breaking ⚠️) - * `Outpost.Retry.Retry()`: **Removed** (Breaking ⚠️) + * `Outpost.Destinations.Create()`: `request.Body` **Changed** + * `Outpost.Destinations.Update()`: `request.Body` **Changed** generatedFiles: - .gitattributes - /models/apierrors/badrequesterror.go diff --git a/sdks/outpost-go/.speakeasy/gen.yaml b/sdks/outpost-go/.speakeasy/gen.yaml index 8313acd5..747506e6 100644 --- a/sdks/outpost-go/.speakeasy/gen.yaml +++ b/sdks/outpost-go/.speakeasy/gen.yaml @@ -29,7 +29,7 @@ generation: generateNewTests: false skipResponseBodyAssertions: false go: - version: 1.2.0 + version: 1.3.0 additionalDependencies: {} allowUnknownFieldsInWeakUnions: false baseErrorName: OutpostError diff --git a/sdks/outpost-go/RELEASES.md b/sdks/outpost-go/RELEASES.md index f055d9af..4c9c502e 100644 --- a/sdks/outpost-go/RELEASES.md +++ b/sdks/outpost-go/RELEASES.md @@ -188,4 +188,14 @@ Based on: ### Generated - [go v1.2.0] sdks/outpost-go ### Releases -- [Go v1.2.0] https://github.com/hookdeck/outpost/releases/tag/sdks/outpost-go/v1.2.0 - sdks/outpost-go \ No newline at end of file +- [Go v1.2.0] https://github.com/hookdeck/outpost/releases/tag/sdks/outpost-go/v1.2.0 - sdks/outpost-go + +## 2026-05-13 17:55:54 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.763.0 (2.884.0) https://github.com/speakeasy-api/speakeasy +### Generated +- [go v1.3.0] sdks/outpost-go +### Releases +- [Go v1.3.0] https://github.com/hookdeck/outpost/releases/tag/sdks/outpost-go/v1.3.0 - sdks/outpost-go \ No newline at end of file diff --git a/sdks/outpost-go/docs/models/components/destinationcreateawskinesis.md b/sdks/outpost-go/docs/models/components/destinationcreateawskinesis.md index 67c99d84..663c1363 100644 --- a/sdks/outpost-go/docs/models/components/destinationcreateawskinesis.md +++ b/sdks/outpost-go/docs/models/components/destinationcreateawskinesis.md @@ -12,4 +12,7 @@ | `Config` | [components.AWSKinesisConfig](../../models/components/awskinesisconfig.md) | :heavy_check_mark: | N/A | | | `Credentials` | [components.AWSKinesisCredentials](../../models/components/awskinesiscredentials.md) | :heavy_check_mark: | N/A | | | `DeliveryMetadata` | optionalnullable.OptionalNullable[map[string]`string`] | :heavy_minus_sign: | Static key-value pairs merged into event metadata on every attempt. | {
"app-id": "my-app",
"region": "us-east-1"
} | -| `Metadata` | optionalnullable.OptionalNullable[map[string]`string`] | :heavy_minus_sign: | Arbitrary contextual information stored with the destination. | {
"internal-id": "123",
"team": "platform"
} | \ No newline at end of file +| `Metadata` | optionalnullable.OptionalNullable[map[string]`string`] | :heavy_minus_sign: | Arbitrary contextual information stored with the destination. | {
"internal-id": "123",
"team": "platform"
} | +| `CreatedAt` | optionalnullable.OptionalNullable[[time.Time](https://pkg.go.dev/time#Time)] | :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 | +| `UpdatedAt` | optionalnullable.OptionalNullable[[time.Time](https://pkg.go.dev/time#Time)] | :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 | +| `DisabledAt` | optionalnullable.OptionalNullable[[time.Time](https://pkg.go.dev/time#Time)] | :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 diff --git a/sdks/outpost-go/docs/models/components/destinationcreateawss3.md b/sdks/outpost-go/docs/models/components/destinationcreateawss3.md index a6c3b8e6..13f58791 100644 --- a/sdks/outpost-go/docs/models/components/destinationcreateawss3.md +++ b/sdks/outpost-go/docs/models/components/destinationcreateawss3.md @@ -12,4 +12,7 @@ | `Config` | [components.Awss3Config](../../models/components/awss3config.md) | :heavy_check_mark: | N/A | | | `Credentials` | [components.Awss3Credentials](../../models/components/awss3credentials.md) | :heavy_check_mark: | N/A | | | `DeliveryMetadata` | optionalnullable.OptionalNullable[map[string]`string`] | :heavy_minus_sign: | Static key-value pairs merged into event metadata on every attempt. | {
"app-id": "my-app",
"region": "us-east-1"
} | -| `Metadata` | optionalnullable.OptionalNullable[map[string]`string`] | :heavy_minus_sign: | Arbitrary contextual information stored with the destination. | {
"internal-id": "123",
"team": "platform"
} | \ No newline at end of file +| `Metadata` | optionalnullable.OptionalNullable[map[string]`string`] | :heavy_minus_sign: | Arbitrary contextual information stored with the destination. | {
"internal-id": "123",
"team": "platform"
} | +| `CreatedAt` | optionalnullable.OptionalNullable[[time.Time](https://pkg.go.dev/time#Time)] | :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 | +| `UpdatedAt` | optionalnullable.OptionalNullable[[time.Time](https://pkg.go.dev/time#Time)] | :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 | +| `DisabledAt` | optionalnullable.OptionalNullable[[time.Time](https://pkg.go.dev/time#Time)] | :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 diff --git a/sdks/outpost-go/docs/models/components/destinationcreateawssqs.md b/sdks/outpost-go/docs/models/components/destinationcreateawssqs.md index 44335a77..89dec8c8 100644 --- a/sdks/outpost-go/docs/models/components/destinationcreateawssqs.md +++ b/sdks/outpost-go/docs/models/components/destinationcreateawssqs.md @@ -12,4 +12,7 @@ | `Config` | [components.AWSSQSConfig](../../models/components/awssqsconfig.md) | :heavy_check_mark: | N/A | | | `Credentials` | [components.AWSSQSCredentials](../../models/components/awssqscredentials.md) | :heavy_check_mark: | N/A | | | `DeliveryMetadata` | optionalnullable.OptionalNullable[map[string]`string`] | :heavy_minus_sign: | Static key-value pairs merged into event metadata on every attempt. | {
"app-id": "my-app",
"region": "us-east-1"
} | -| `Metadata` | optionalnullable.OptionalNullable[map[string]`string`] | :heavy_minus_sign: | Arbitrary contextual information stored with the destination. | {
"internal-id": "123",
"team": "platform"
} | \ No newline at end of file +| `Metadata` | optionalnullable.OptionalNullable[map[string]`string`] | :heavy_minus_sign: | Arbitrary contextual information stored with the destination. | {
"internal-id": "123",
"team": "platform"
} | +| `CreatedAt` | optionalnullable.OptionalNullable[[time.Time](https://pkg.go.dev/time#Time)] | :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 | +| `UpdatedAt` | optionalnullable.OptionalNullable[[time.Time](https://pkg.go.dev/time#Time)] | :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 | +| `DisabledAt` | optionalnullable.OptionalNullable[[time.Time](https://pkg.go.dev/time#Time)] | :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 diff --git a/sdks/outpost-go/docs/models/components/destinationcreateazureservicebus.md b/sdks/outpost-go/docs/models/components/destinationcreateazureservicebus.md index 4fc1dbbe..2272715f 100644 --- a/sdks/outpost-go/docs/models/components/destinationcreateazureservicebus.md +++ b/sdks/outpost-go/docs/models/components/destinationcreateazureservicebus.md @@ -12,4 +12,7 @@ | `Config` | [components.AzureServiceBusConfig](../../models/components/azureservicebusconfig.md) | :heavy_check_mark: | N/A | | | `Credentials` | [components.AzureServiceBusCredentials](../../models/components/azureservicebuscredentials.md) | :heavy_check_mark: | N/A | | | `DeliveryMetadata` | optionalnullable.OptionalNullable[map[string]`string`] | :heavy_minus_sign: | Static key-value pairs merged into event metadata on every attempt. | {
"app-id": "my-app",
"region": "us-east-1"
} | -| `Metadata` | optionalnullable.OptionalNullable[map[string]`string`] | :heavy_minus_sign: | Arbitrary contextual information stored with the destination. | {
"internal-id": "123",
"team": "platform"
} | \ No newline at end of file +| `Metadata` | optionalnullable.OptionalNullable[map[string]`string`] | :heavy_minus_sign: | Arbitrary contextual information stored with the destination. | {
"internal-id": "123",
"team": "platform"
} | +| `CreatedAt` | optionalnullable.OptionalNullable[[time.Time](https://pkg.go.dev/time#Time)] | :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 | +| `UpdatedAt` | optionalnullable.OptionalNullable[[time.Time](https://pkg.go.dev/time#Time)] | :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 | +| `DisabledAt` | optionalnullable.OptionalNullable[[time.Time](https://pkg.go.dev/time#Time)] | :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 diff --git a/sdks/outpost-go/docs/models/components/destinationcreategcppubsub.md b/sdks/outpost-go/docs/models/components/destinationcreategcppubsub.md index 6679bc87..00928462 100644 --- a/sdks/outpost-go/docs/models/components/destinationcreategcppubsub.md +++ b/sdks/outpost-go/docs/models/components/destinationcreategcppubsub.md @@ -12,4 +12,7 @@ | `Config` | [components.GCPPubSubConfig](../../models/components/gcppubsubconfig.md) | :heavy_check_mark: | N/A | | | `Credentials` | [components.GCPPubSubCredentials](../../models/components/gcppubsubcredentials.md) | :heavy_check_mark: | N/A | | | `DeliveryMetadata` | optionalnullable.OptionalNullable[map[string]`string`] | :heavy_minus_sign: | Static key-value pairs merged into event metadata on every attempt. | {
"app-id": "my-app",
"region": "us-east-1"
} | -| `Metadata` | optionalnullable.OptionalNullable[map[string]`string`] | :heavy_minus_sign: | Arbitrary contextual information stored with the destination. | {
"internal-id": "123",
"team": "platform"
} | \ No newline at end of file +| `Metadata` | optionalnullable.OptionalNullable[map[string]`string`] | :heavy_minus_sign: | Arbitrary contextual information stored with the destination. | {
"internal-id": "123",
"team": "platform"
} | +| `CreatedAt` | optionalnullable.OptionalNullable[[time.Time](https://pkg.go.dev/time#Time)] | :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 | +| `UpdatedAt` | optionalnullable.OptionalNullable[[time.Time](https://pkg.go.dev/time#Time)] | :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 | +| `DisabledAt` | optionalnullable.OptionalNullable[[time.Time](https://pkg.go.dev/time#Time)] | :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 diff --git a/sdks/outpost-go/docs/models/components/destinationcreatehookdeck.md b/sdks/outpost-go/docs/models/components/destinationcreatehookdeck.md index 89faea77..28ef2cdf 100644 --- a/sdks/outpost-go/docs/models/components/destinationcreatehookdeck.md +++ b/sdks/outpost-go/docs/models/components/destinationcreatehookdeck.md @@ -12,4 +12,7 @@ | `Config` | `any` | :heavy_minus_sign: | N/A | | | `Credentials` | [components.HookdeckCredentials](../../models/components/hookdeckcredentials.md) | :heavy_check_mark: | N/A | | | `DeliveryMetadata` | optionalnullable.OptionalNullable[map[string]`string`] | :heavy_minus_sign: | Static key-value pairs merged into event metadata on every attempt. | {
"app-id": "my-app",
"region": "us-east-1"
} | -| `Metadata` | optionalnullable.OptionalNullable[map[string]`string`] | :heavy_minus_sign: | Arbitrary contextual information stored with the destination. | {
"internal-id": "123",
"team": "platform"
} | \ No newline at end of file +| `Metadata` | optionalnullable.OptionalNullable[map[string]`string`] | :heavy_minus_sign: | Arbitrary contextual information stored with the destination. | {
"internal-id": "123",
"team": "platform"
} | +| `CreatedAt` | optionalnullable.OptionalNullable[[time.Time](https://pkg.go.dev/time#Time)] | :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 | +| `UpdatedAt` | optionalnullable.OptionalNullable[[time.Time](https://pkg.go.dev/time#Time)] | :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 | +| `DisabledAt` | optionalnullable.OptionalNullable[[time.Time](https://pkg.go.dev/time#Time)] | :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 diff --git a/sdks/outpost-go/docs/models/components/destinationcreatekafka.md b/sdks/outpost-go/docs/models/components/destinationcreatekafka.md index c3fa0a6f..cb567538 100644 --- a/sdks/outpost-go/docs/models/components/destinationcreatekafka.md +++ b/sdks/outpost-go/docs/models/components/destinationcreatekafka.md @@ -12,4 +12,7 @@ | `Config` | [components.KafkaConfig](../../models/components/kafkaconfig.md) | :heavy_check_mark: | N/A | | | `Credentials` | [components.KafkaCredentials](../../models/components/kafkacredentials.md) | :heavy_check_mark: | N/A | | | `DeliveryMetadata` | optionalnullable.OptionalNullable[map[string]`string`] | :heavy_minus_sign: | Static key-value pairs merged into event metadata on every attempt. | {
"app-id": "my-app",
"region": "us-east-1"
} | -| `Metadata` | optionalnullable.OptionalNullable[map[string]`string`] | :heavy_minus_sign: | Arbitrary contextual information stored with the destination. | {
"internal-id": "123",
"team": "platform"
} | \ No newline at end of file +| `Metadata` | optionalnullable.OptionalNullable[map[string]`string`] | :heavy_minus_sign: | Arbitrary contextual information stored with the destination. | {
"internal-id": "123",
"team": "platform"
} | +| `CreatedAt` | optionalnullable.OptionalNullable[[time.Time](https://pkg.go.dev/time#Time)] | :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 | +| `UpdatedAt` | optionalnullable.OptionalNullable[[time.Time](https://pkg.go.dev/time#Time)] | :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 | +| `DisabledAt` | optionalnullable.OptionalNullable[[time.Time](https://pkg.go.dev/time#Time)] | :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 diff --git a/sdks/outpost-go/docs/models/components/destinationcreaterabbitmq.md b/sdks/outpost-go/docs/models/components/destinationcreaterabbitmq.md index c9f62d00..33160272 100644 --- a/sdks/outpost-go/docs/models/components/destinationcreaterabbitmq.md +++ b/sdks/outpost-go/docs/models/components/destinationcreaterabbitmq.md @@ -12,4 +12,7 @@ | `Config` | [components.RabbitMQConfig](../../models/components/rabbitmqconfig.md) | :heavy_check_mark: | N/A | | | `Credentials` | [components.RabbitMQCredentials](../../models/components/rabbitmqcredentials.md) | :heavy_check_mark: | N/A | | | `DeliveryMetadata` | optionalnullable.OptionalNullable[map[string]`string`] | :heavy_minus_sign: | Static key-value pairs merged into event metadata on every attempt. | {
"app-id": "my-app",
"region": "us-east-1"
} | -| `Metadata` | optionalnullable.OptionalNullable[map[string]`string`] | :heavy_minus_sign: | Arbitrary contextual information stored with the destination. | {
"internal-id": "123",
"team": "platform"
} | \ No newline at end of file +| `Metadata` | optionalnullable.OptionalNullable[map[string]`string`] | :heavy_minus_sign: | Arbitrary contextual information stored with the destination. | {
"internal-id": "123",
"team": "platform"
} | +| `CreatedAt` | optionalnullable.OptionalNullable[[time.Time](https://pkg.go.dev/time#Time)] | :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 | +| `UpdatedAt` | optionalnullable.OptionalNullable[[time.Time](https://pkg.go.dev/time#Time)] | :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 | +| `DisabledAt` | optionalnullable.OptionalNullable[[time.Time](https://pkg.go.dev/time#Time)] | :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 diff --git a/sdks/outpost-go/docs/models/components/destinationcreatewebhook.md b/sdks/outpost-go/docs/models/components/destinationcreatewebhook.md index d6ecb04e..b6f782c0 100644 --- a/sdks/outpost-go/docs/models/components/destinationcreatewebhook.md +++ b/sdks/outpost-go/docs/models/components/destinationcreatewebhook.md @@ -12,4 +12,7 @@ | `Config` | [components.WebhookConfig](../../models/components/webhookconfig.md) | :heavy_check_mark: | N/A | | | `Credentials` | [*components.WebhookCredentials](../../models/components/webhookcredentials.md) | :heavy_minus_sign: | N/A | | | `DeliveryMetadata` | optionalnullable.OptionalNullable[map[string]`string`] | :heavy_minus_sign: | Static key-value pairs merged into event metadata on every attempt. | {
"app-id": "my-app",
"region": "us-east-1"
} | -| `Metadata` | optionalnullable.OptionalNullable[map[string]`string`] | :heavy_minus_sign: | Arbitrary contextual information stored with the destination. | {
"internal-id": "123",
"team": "platform"
} | \ No newline at end of file +| `Metadata` | optionalnullable.OptionalNullable[map[string]`string`] | :heavy_minus_sign: | Arbitrary contextual information stored with the destination. | {
"internal-id": "123",
"team": "platform"
} | +| `CreatedAt` | optionalnullable.OptionalNullable[[time.Time](https://pkg.go.dev/time#Time)] | :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 | +| `UpdatedAt` | optionalnullable.OptionalNullable[[time.Time](https://pkg.go.dev/time#Time)] | :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 | +| `DisabledAt` | optionalnullable.OptionalNullable[[time.Time](https://pkg.go.dev/time#Time)] | :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 diff --git a/sdks/outpost-go/docs/models/components/destinationupdateawskinesis.md b/sdks/outpost-go/docs/models/components/destinationupdateawskinesis.md index 165e785d..e2901ea8 100644 --- a/sdks/outpost-go/docs/models/components/destinationupdateawskinesis.md +++ b/sdks/outpost-go/docs/models/components/destinationupdateawskinesis.md @@ -10,4 +10,5 @@ | `Config` | [*components.AWSKinesisConfig](../../models/components/awskinesisconfig.md) | :heavy_minus_sign: | N/A | | | `Credentials` | [*components.AWSKinesisCredentials](../../models/components/awskinesiscredentials.md) | :heavy_minus_sign: | N/A | | | `DeliveryMetadata` | optionalnullable.OptionalNullable[map[string]`*string`] | :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` | optionalnullable.OptionalNullable[map[string]`*string`] | :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"
} | \ No newline at end of file +| `Metadata` | optionalnullable.OptionalNullable[map[string]`*string`] | :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"
} | +| `DisabledAt` | optionalnullable.OptionalNullable[[time.Time](https://pkg.go.dev/time#Time)] | :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 diff --git a/sdks/outpost-go/docs/models/components/destinationupdateawss3.md b/sdks/outpost-go/docs/models/components/destinationupdateawss3.md index 186c2865..5da69e36 100644 --- a/sdks/outpost-go/docs/models/components/destinationupdateawss3.md +++ b/sdks/outpost-go/docs/models/components/destinationupdateawss3.md @@ -10,4 +10,5 @@ | `Config` | [*components.Awss3Config](../../models/components/awss3config.md) | :heavy_minus_sign: | N/A | | | `Credentials` | [*components.Awss3Credentials](../../models/components/awss3credentials.md) | :heavy_minus_sign: | N/A | | | `DeliveryMetadata` | optionalnullable.OptionalNullable[map[string]`*string`] | :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` | optionalnullable.OptionalNullable[map[string]`*string`] | :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"
} | \ No newline at end of file +| `Metadata` | optionalnullable.OptionalNullable[map[string]`*string`] | :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"
} | +| `DisabledAt` | optionalnullable.OptionalNullable[[time.Time](https://pkg.go.dev/time#Time)] | :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 diff --git a/sdks/outpost-go/docs/models/components/destinationupdateawssqs.md b/sdks/outpost-go/docs/models/components/destinationupdateawssqs.md index 0e276d10..6bd68cf2 100644 --- a/sdks/outpost-go/docs/models/components/destinationupdateawssqs.md +++ b/sdks/outpost-go/docs/models/components/destinationupdateawssqs.md @@ -10,4 +10,5 @@ | `Config` | [*components.AWSSQSConfig](../../models/components/awssqsconfig.md) | :heavy_minus_sign: | N/A | | | `Credentials` | [*components.AWSSQSCredentials](../../models/components/awssqscredentials.md) | :heavy_minus_sign: | N/A | | | `DeliveryMetadata` | optionalnullable.OptionalNullable[map[string]`*string`] | :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` | optionalnullable.OptionalNullable[map[string]`*string`] | :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"
} | \ No newline at end of file +| `Metadata` | optionalnullable.OptionalNullable[map[string]`*string`] | :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"
} | +| `DisabledAt` | optionalnullable.OptionalNullable[[time.Time](https://pkg.go.dev/time#Time)] | :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 diff --git a/sdks/outpost-go/docs/models/components/destinationupdateazureservicebus.md b/sdks/outpost-go/docs/models/components/destinationupdateazureservicebus.md index 22da29c3..09a2d036 100644 --- a/sdks/outpost-go/docs/models/components/destinationupdateazureservicebus.md +++ b/sdks/outpost-go/docs/models/components/destinationupdateazureservicebus.md @@ -10,4 +10,5 @@ | `Config` | [*components.AzureServiceBusConfig](../../models/components/azureservicebusconfig.md) | :heavy_minus_sign: | N/A | | | `Credentials` | [*components.AzureServiceBusCredentials](../../models/components/azureservicebuscredentials.md) | :heavy_minus_sign: | N/A | | | `DeliveryMetadata` | optionalnullable.OptionalNullable[map[string]`*string`] | :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` | optionalnullable.OptionalNullable[map[string]`*string`] | :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"
} | \ No newline at end of file +| `Metadata` | optionalnullable.OptionalNullable[map[string]`*string`] | :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"
} | +| `DisabledAt` | optionalnullable.OptionalNullable[[time.Time](https://pkg.go.dev/time#Time)] | :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 diff --git a/sdks/outpost-go/docs/models/components/destinationupdategcppubsub.md b/sdks/outpost-go/docs/models/components/destinationupdategcppubsub.md index 9978489c..4878a979 100644 --- a/sdks/outpost-go/docs/models/components/destinationupdategcppubsub.md +++ b/sdks/outpost-go/docs/models/components/destinationupdategcppubsub.md @@ -10,4 +10,5 @@ | `Config` | [*components.GCPPubSubConfig](../../models/components/gcppubsubconfig.md) | :heavy_minus_sign: | N/A | | | `Credentials` | [*components.GCPPubSubCredentials](../../models/components/gcppubsubcredentials.md) | :heavy_minus_sign: | N/A | | | `DeliveryMetadata` | optionalnullable.OptionalNullable[map[string]`*string`] | :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` | optionalnullable.OptionalNullable[map[string]`*string`] | :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"
} | \ No newline at end of file +| `Metadata` | optionalnullable.OptionalNullable[map[string]`*string`] | :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"
} | +| `DisabledAt` | optionalnullable.OptionalNullable[[time.Time](https://pkg.go.dev/time#Time)] | :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 diff --git a/sdks/outpost-go/docs/models/components/destinationupdatehookdeck.md b/sdks/outpost-go/docs/models/components/destinationupdatehookdeck.md index 641b16cb..314d1c38 100644 --- a/sdks/outpost-go/docs/models/components/destinationupdatehookdeck.md +++ b/sdks/outpost-go/docs/models/components/destinationupdatehookdeck.md @@ -10,4 +10,5 @@ | `Config` | `any` | :heavy_minus_sign: | N/A | | | `Credentials` | [*components.HookdeckCredentials](../../models/components/hookdeckcredentials.md) | :heavy_minus_sign: | N/A | | | `DeliveryMetadata` | optionalnullable.OptionalNullable[map[string]`*string`] | :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` | optionalnullable.OptionalNullable[map[string]`*string`] | :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"
} | \ No newline at end of file +| `Metadata` | optionalnullable.OptionalNullable[map[string]`*string`] | :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"
} | +| `DisabledAt` | optionalnullable.OptionalNullable[[time.Time](https://pkg.go.dev/time#Time)] | :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 diff --git a/sdks/outpost-go/docs/models/components/destinationupdatekafka.md b/sdks/outpost-go/docs/models/components/destinationupdatekafka.md index 2555b5e9..98e8155a 100644 --- a/sdks/outpost-go/docs/models/components/destinationupdatekafka.md +++ b/sdks/outpost-go/docs/models/components/destinationupdatekafka.md @@ -10,4 +10,5 @@ | `Config` | [*components.KafkaConfig](../../models/components/kafkaconfig.md) | :heavy_minus_sign: | N/A | | | `Credentials` | [*components.KafkaCredentials](../../models/components/kafkacredentials.md) | :heavy_minus_sign: | N/A | | | `DeliveryMetadata` | optionalnullable.OptionalNullable[map[string]`*string`] | :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` | optionalnullable.OptionalNullable[map[string]`*string`] | :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"
} | \ No newline at end of file +| `Metadata` | optionalnullable.OptionalNullable[map[string]`*string`] | :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"
} | +| `DisabledAt` | optionalnullable.OptionalNullable[[time.Time](https://pkg.go.dev/time#Time)] | :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 diff --git a/sdks/outpost-go/docs/models/components/destinationupdaterabbitmq.md b/sdks/outpost-go/docs/models/components/destinationupdaterabbitmq.md index 00f021ca..bd66eda4 100644 --- a/sdks/outpost-go/docs/models/components/destinationupdaterabbitmq.md +++ b/sdks/outpost-go/docs/models/components/destinationupdaterabbitmq.md @@ -10,4 +10,5 @@ | `Config` | [*components.RabbitMQConfig](../../models/components/rabbitmqconfig.md) | :heavy_minus_sign: | N/A | | | `Credentials` | [*components.RabbitMQCredentials](../../models/components/rabbitmqcredentials.md) | :heavy_minus_sign: | N/A | | | `DeliveryMetadata` | optionalnullable.OptionalNullable[map[string]`*string`] | :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` | optionalnullable.OptionalNullable[map[string]`*string`] | :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"
} | \ No newline at end of file +| `Metadata` | optionalnullable.OptionalNullable[map[string]`*string`] | :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"
} | +| `DisabledAt` | optionalnullable.OptionalNullable[[time.Time](https://pkg.go.dev/time#Time)] | :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 diff --git a/sdks/outpost-go/docs/models/components/destinationupdatewebhook.md b/sdks/outpost-go/docs/models/components/destinationupdatewebhook.md index 09b18464..e3ca041c 100644 --- a/sdks/outpost-go/docs/models/components/destinationupdatewebhook.md +++ b/sdks/outpost-go/docs/models/components/destinationupdatewebhook.md @@ -10,4 +10,5 @@ | `Config` | [*components.WebhookConfig](../../models/components/webhookconfig.md) | :heavy_minus_sign: | N/A | | | `Credentials` | [*components.WebhookCredentialsUpdate](../../models/components/webhookcredentialsupdate.md) | :heavy_minus_sign: | N/A | | | `DeliveryMetadata` | optionalnullable.OptionalNullable[map[string]`*string`] | :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` | optionalnullable.OptionalNullable[map[string]`*string`] | :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"
} | \ No newline at end of file +| `Metadata` | optionalnullable.OptionalNullable[map[string]`*string`] | :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"
} | +| `DisabledAt` | optionalnullable.OptionalNullable[[time.Time](https://pkg.go.dev/time#Time)] | :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 diff --git a/sdks/outpost-go/internal/utils/union.go b/sdks/outpost-go/internal/utils/union.go index dfff6f64..f52a45af 100644 --- a/sdks/outpost-go/internal/utils/union.go +++ b/sdks/outpost-go/internal/utils/union.go @@ -128,8 +128,8 @@ func countFieldsRecursive(candidate *UnionCandidate, typ reflect.Type, val refle // Handle unions if isUnion, activeVariant, variantVal := findActiveUnionVariant(typ, val); isUnion { - if activeVariant != nil && !variantVal.IsNil() { - countFieldsRecursive(candidate, activeVariant.Type.Elem(), variantVal.Elem(), raw) + if activeVariant != nil { + countFieldsRecursive(candidate, activeVariant.Type, variantVal, raw) } return } @@ -253,7 +253,6 @@ func findActiveUnionVariant(typ reflect.Type, val reflect.Value) (bool, *reflect isUnion = true - // All union variants are pointers - only set active if non-nil fieldVal := val.Field(i) if !fieldVal.IsNil() { activeVariant = &field diff --git a/sdks/outpost-go/internal/utils/union_test.go b/sdks/outpost-go/internal/utils/union_test.go index f66814c7..138f7e2a 100644 --- a/sdks/outpost-go/internal/utils/union_test.go +++ b/sdks/outpost-go/internal/utils/union_test.go @@ -585,3 +585,73 @@ func TestPickBestUnionCandidate_AnyFieldType(t *testing.T) { require.NotNil(t, result) assert.IsType(t, B{}, result.Type) } + +func TestPickBestUnionCandidate_NonPointerUnionVariants(t *testing.T) { + type Inner struct { + Foo string `json:"foo"` + } + type SliceUnion struct { + AsObject *Inner `union:"member"` + AsList []string `union:"member"` + } + type MapUnion struct { + AsObject *Inner `union:"member"` + AsMap map[string]string `union:"member"` + } + type AnyUnion struct { + AsObject *Inner `union:"member"` + AsAny any `union:"member"` + } + + cases := []struct { + name string + payload string + candidates []UnionCandidate + wantType string + }{ + { + name: "slice variant wins for array payload", + payload: `["a", "b"]`, + candidates: []UnionCandidate{ + {Type: "object", Value: SliceUnion{AsObject: &Inner{}}}, + {Type: "list", Value: SliceUnion{AsList: []string{"a", "b"}}}, + }, + wantType: "list", + }, + { + name: "map variant wins for object payload with no matching struct fields", + payload: `{"k1": "v1", "k2": "v2"}`, + candidates: []UnionCandidate{ + {Type: "object", Value: MapUnion{AsObject: &Inner{}}}, + {Type: "map", Value: MapUnion{AsMap: map[string]string{"k1": "v1", "k2": "v2"}}}, + }, + wantType: "map", + }, + { + name: "any variant wins as catch-all when struct can't fit a scalar", + payload: `"scalar"`, + candidates: []UnionCandidate{ + {Type: "object", Value: AnyUnion{AsObject: &Inner{}}}, + {Type: "any", Value: AnyUnion{AsAny: "scalar"}}, + }, + wantType: "any", + }, + { + name: "structured variant beats any on a matching object payload", + payload: `{"foo": "x"}`, + candidates: []UnionCandidate{ + {Type: "object", Value: AnyUnion{AsObject: &Inner{Foo: "x"}}}, + {Type: "any", Value: AnyUnion{AsAny: map[string]any{"foo": "x"}}}, + }, + wantType: "object", + }, + } + + for _, tc := range cases { + t.Run(tc.name, func(t *testing.T) { + result := PickBestUnionCandidate(tc.candidates, []byte(tc.payload)) + require.NotNil(t, result) + assert.Equal(t, tc.wantType, result.Type) + }) + } +} diff --git a/sdks/outpost-go/models/components/destinationcreateawskinesis.go b/sdks/outpost-go/models/components/destinationcreateawskinesis.go index 9805ee9f..28cd494c 100644 --- a/sdks/outpost-go/models/components/destinationcreateawskinesis.go +++ b/sdks/outpost-go/models/components/destinationcreateawskinesis.go @@ -7,6 +7,7 @@ import ( "fmt" "github.com/hookdeck/outpost/sdks/outpost-go/internal/utils" "github.com/hookdeck/outpost/sdks/outpost-go/optionalnullable" + "time" ) // DestinationCreateAWSKinesisType - Type of the destination. Must be 'aws_kinesis'. @@ -52,6 +53,12 @@ type DestinationCreateAWSKinesis struct { DeliveryMetadata optionalnullable.OptionalNullable[map[string]string] `json:"delivery_metadata,omitempty"` // Arbitrary contextual information stored with the destination. Metadata optionalnullable.OptionalNullable[map[string]string] `json:"metadata,omitempty"` + // 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. + CreatedAt optionalnullable.OptionalNullable[time.Time] `json:"created_at,omitempty"` + // 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. + UpdatedAt optionalnullable.OptionalNullable[time.Time] `json:"updated_at,omitempty"` + // If set, the destination is created in a disabled state with this timestamp. Must not be in the future. Defaults to null (enabled). + DisabledAt optionalnullable.OptionalNullable[time.Time] `json:"disabled_at,omitempty"` } func (d DestinationCreateAWSKinesis) MarshalJSON() ([]byte, error) { @@ -120,3 +127,24 @@ func (d *DestinationCreateAWSKinesis) GetMetadata() optionalnullable.OptionalNul } return d.Metadata } + +func (d *DestinationCreateAWSKinesis) GetCreatedAt() optionalnullable.OptionalNullable[time.Time] { + if d == nil { + return nil + } + return d.CreatedAt +} + +func (d *DestinationCreateAWSKinesis) GetUpdatedAt() optionalnullable.OptionalNullable[time.Time] { + if d == nil { + return nil + } + return d.UpdatedAt +} + +func (d *DestinationCreateAWSKinesis) GetDisabledAt() optionalnullable.OptionalNullable[time.Time] { + if d == nil { + return nil + } + return d.DisabledAt +} diff --git a/sdks/outpost-go/models/components/destinationcreateawss3.go b/sdks/outpost-go/models/components/destinationcreateawss3.go index f4d44b7e..2549fb0f 100644 --- a/sdks/outpost-go/models/components/destinationcreateawss3.go +++ b/sdks/outpost-go/models/components/destinationcreateawss3.go @@ -7,6 +7,7 @@ import ( "fmt" "github.com/hookdeck/outpost/sdks/outpost-go/internal/utils" "github.com/hookdeck/outpost/sdks/outpost-go/optionalnullable" + "time" ) // DestinationCreateAwss3Type - Type of the destination. Must be 'aws_s3'. @@ -52,6 +53,12 @@ type DestinationCreateAwss3 struct { DeliveryMetadata optionalnullable.OptionalNullable[map[string]string] `json:"delivery_metadata,omitempty"` // Arbitrary contextual information stored with the destination. Metadata optionalnullable.OptionalNullable[map[string]string] `json:"metadata,omitempty"` + // 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. + CreatedAt optionalnullable.OptionalNullable[time.Time] `json:"created_at,omitempty"` + // 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. + UpdatedAt optionalnullable.OptionalNullable[time.Time] `json:"updated_at,omitempty"` + // If set, the destination is created in a disabled state with this timestamp. Must not be in the future. Defaults to null (enabled). + DisabledAt optionalnullable.OptionalNullable[time.Time] `json:"disabled_at,omitempty"` } func (d DestinationCreateAwss3) MarshalJSON() ([]byte, error) { @@ -121,5 +128,26 @@ func (d *DestinationCreateAwss3) GetMetadata() optionalnullable.OptionalNullable return d.Metadata } +func (d *DestinationCreateAwss3) GetCreatedAt() optionalnullable.OptionalNullable[time.Time] { + if d == nil { + return nil + } + return d.CreatedAt +} + +func (d *DestinationCreateAwss3) GetUpdatedAt() optionalnullable.OptionalNullable[time.Time] { + if d == nil { + return nil + } + return d.UpdatedAt +} + +func (d *DestinationCreateAwss3) GetDisabledAt() optionalnullable.OptionalNullable[time.Time] { + if d == nil { + return nil + } + return d.DisabledAt +} + // #region class-body-destinationcreateawss3 // #endregion class-body-destinationcreateawss3 diff --git a/sdks/outpost-go/models/components/destinationcreateawssqs.go b/sdks/outpost-go/models/components/destinationcreateawssqs.go index baa46c73..927dbed9 100644 --- a/sdks/outpost-go/models/components/destinationcreateawssqs.go +++ b/sdks/outpost-go/models/components/destinationcreateawssqs.go @@ -7,6 +7,7 @@ import ( "fmt" "github.com/hookdeck/outpost/sdks/outpost-go/internal/utils" "github.com/hookdeck/outpost/sdks/outpost-go/optionalnullable" + "time" ) // DestinationCreateAWSSQSType - Type of the destination. Must be 'aws_sqs'. @@ -52,6 +53,12 @@ type DestinationCreateAWSSQS struct { DeliveryMetadata optionalnullable.OptionalNullable[map[string]string] `json:"delivery_metadata,omitempty"` // Arbitrary contextual information stored with the destination. Metadata optionalnullable.OptionalNullable[map[string]string] `json:"metadata,omitempty"` + // 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. + CreatedAt optionalnullable.OptionalNullable[time.Time] `json:"created_at,omitempty"` + // 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. + UpdatedAt optionalnullable.OptionalNullable[time.Time] `json:"updated_at,omitempty"` + // If set, the destination is created in a disabled state with this timestamp. Must not be in the future. Defaults to null (enabled). + DisabledAt optionalnullable.OptionalNullable[time.Time] `json:"disabled_at,omitempty"` } func (d DestinationCreateAWSSQS) MarshalJSON() ([]byte, error) { @@ -120,3 +127,24 @@ func (d *DestinationCreateAWSSQS) GetMetadata() optionalnullable.OptionalNullabl } return d.Metadata } + +func (d *DestinationCreateAWSSQS) GetCreatedAt() optionalnullable.OptionalNullable[time.Time] { + if d == nil { + return nil + } + return d.CreatedAt +} + +func (d *DestinationCreateAWSSQS) GetUpdatedAt() optionalnullable.OptionalNullable[time.Time] { + if d == nil { + return nil + } + return d.UpdatedAt +} + +func (d *DestinationCreateAWSSQS) GetDisabledAt() optionalnullable.OptionalNullable[time.Time] { + if d == nil { + return nil + } + return d.DisabledAt +} diff --git a/sdks/outpost-go/models/components/destinationcreateazureservicebus.go b/sdks/outpost-go/models/components/destinationcreateazureservicebus.go index 5b129dd6..a7a44a4b 100644 --- a/sdks/outpost-go/models/components/destinationcreateazureservicebus.go +++ b/sdks/outpost-go/models/components/destinationcreateazureservicebus.go @@ -7,6 +7,7 @@ import ( "fmt" "github.com/hookdeck/outpost/sdks/outpost-go/internal/utils" "github.com/hookdeck/outpost/sdks/outpost-go/optionalnullable" + "time" ) // DestinationCreateAzureServiceBusType - Type of the destination. Must be 'azure_servicebus'. @@ -52,6 +53,12 @@ type DestinationCreateAzureServiceBus struct { DeliveryMetadata optionalnullable.OptionalNullable[map[string]string] `json:"delivery_metadata,omitempty"` // Arbitrary contextual information stored with the destination. Metadata optionalnullable.OptionalNullable[map[string]string] `json:"metadata,omitempty"` + // 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. + CreatedAt optionalnullable.OptionalNullable[time.Time] `json:"created_at,omitempty"` + // 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. + UpdatedAt optionalnullable.OptionalNullable[time.Time] `json:"updated_at,omitempty"` + // If set, the destination is created in a disabled state with this timestamp. Must not be in the future. Defaults to null (enabled). + DisabledAt optionalnullable.OptionalNullable[time.Time] `json:"disabled_at,omitempty"` } func (d DestinationCreateAzureServiceBus) MarshalJSON() ([]byte, error) { @@ -120,3 +127,24 @@ func (d *DestinationCreateAzureServiceBus) GetMetadata() optionalnullable.Option } return d.Metadata } + +func (d *DestinationCreateAzureServiceBus) GetCreatedAt() optionalnullable.OptionalNullable[time.Time] { + if d == nil { + return nil + } + return d.CreatedAt +} + +func (d *DestinationCreateAzureServiceBus) GetUpdatedAt() optionalnullable.OptionalNullable[time.Time] { + if d == nil { + return nil + } + return d.UpdatedAt +} + +func (d *DestinationCreateAzureServiceBus) GetDisabledAt() optionalnullable.OptionalNullable[time.Time] { + if d == nil { + return nil + } + return d.DisabledAt +} diff --git a/sdks/outpost-go/models/components/destinationcreategcppubsub.go b/sdks/outpost-go/models/components/destinationcreategcppubsub.go index 588509b8..ecc2b39f 100644 --- a/sdks/outpost-go/models/components/destinationcreategcppubsub.go +++ b/sdks/outpost-go/models/components/destinationcreategcppubsub.go @@ -7,6 +7,7 @@ import ( "fmt" "github.com/hookdeck/outpost/sdks/outpost-go/internal/utils" "github.com/hookdeck/outpost/sdks/outpost-go/optionalnullable" + "time" ) // DestinationCreateGCPPubSubType - Type of the destination. Must be 'gcp_pubsub'. @@ -52,6 +53,12 @@ type DestinationCreateGCPPubSub struct { DeliveryMetadata optionalnullable.OptionalNullable[map[string]string] `json:"delivery_metadata,omitempty"` // Arbitrary contextual information stored with the destination. Metadata optionalnullable.OptionalNullable[map[string]string] `json:"metadata,omitempty"` + // 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. + CreatedAt optionalnullable.OptionalNullable[time.Time] `json:"created_at,omitempty"` + // 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. + UpdatedAt optionalnullable.OptionalNullable[time.Time] `json:"updated_at,omitempty"` + // If set, the destination is created in a disabled state with this timestamp. Must not be in the future. Defaults to null (enabled). + DisabledAt optionalnullable.OptionalNullable[time.Time] `json:"disabled_at,omitempty"` } func (d DestinationCreateGCPPubSub) MarshalJSON() ([]byte, error) { @@ -120,3 +127,24 @@ func (d *DestinationCreateGCPPubSub) GetMetadata() optionalnullable.OptionalNull } return d.Metadata } + +func (d *DestinationCreateGCPPubSub) GetCreatedAt() optionalnullable.OptionalNullable[time.Time] { + if d == nil { + return nil + } + return d.CreatedAt +} + +func (d *DestinationCreateGCPPubSub) GetUpdatedAt() optionalnullable.OptionalNullable[time.Time] { + if d == nil { + return nil + } + return d.UpdatedAt +} + +func (d *DestinationCreateGCPPubSub) GetDisabledAt() optionalnullable.OptionalNullable[time.Time] { + if d == nil { + return nil + } + return d.DisabledAt +} diff --git a/sdks/outpost-go/models/components/destinationcreatehookdeck.go b/sdks/outpost-go/models/components/destinationcreatehookdeck.go index 5ed8f320..3df91f73 100644 --- a/sdks/outpost-go/models/components/destinationcreatehookdeck.go +++ b/sdks/outpost-go/models/components/destinationcreatehookdeck.go @@ -7,6 +7,7 @@ import ( "fmt" "github.com/hookdeck/outpost/sdks/outpost-go/internal/utils" "github.com/hookdeck/outpost/sdks/outpost-go/optionalnullable" + "time" ) // DestinationCreateHookdeckType - Type of the destination. Must be 'hookdeck'. @@ -52,6 +53,12 @@ type DestinationCreateHookdeck struct { DeliveryMetadata optionalnullable.OptionalNullable[map[string]string] `json:"delivery_metadata,omitempty"` // Arbitrary contextual information stored with the destination. Metadata optionalnullable.OptionalNullable[map[string]string] `json:"metadata,omitempty"` + // 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. + CreatedAt optionalnullable.OptionalNullable[time.Time] `json:"created_at,omitempty"` + // 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. + UpdatedAt optionalnullable.OptionalNullable[time.Time] `json:"updated_at,omitempty"` + // If set, the destination is created in a disabled state with this timestamp. Must not be in the future. Defaults to null (enabled). + DisabledAt optionalnullable.OptionalNullable[time.Time] `json:"disabled_at,omitempty"` } func (d DestinationCreateHookdeck) MarshalJSON() ([]byte, error) { @@ -120,3 +127,24 @@ func (d *DestinationCreateHookdeck) GetMetadata() optionalnullable.OptionalNulla } return d.Metadata } + +func (d *DestinationCreateHookdeck) GetCreatedAt() optionalnullable.OptionalNullable[time.Time] { + if d == nil { + return nil + } + return d.CreatedAt +} + +func (d *DestinationCreateHookdeck) GetUpdatedAt() optionalnullable.OptionalNullable[time.Time] { + if d == nil { + return nil + } + return d.UpdatedAt +} + +func (d *DestinationCreateHookdeck) GetDisabledAt() optionalnullable.OptionalNullable[time.Time] { + if d == nil { + return nil + } + return d.DisabledAt +} diff --git a/sdks/outpost-go/models/components/destinationcreatekafka.go b/sdks/outpost-go/models/components/destinationcreatekafka.go index 6b257ddc..3059b92a 100644 --- a/sdks/outpost-go/models/components/destinationcreatekafka.go +++ b/sdks/outpost-go/models/components/destinationcreatekafka.go @@ -7,6 +7,7 @@ import ( "fmt" "github.com/hookdeck/outpost/sdks/outpost-go/internal/utils" "github.com/hookdeck/outpost/sdks/outpost-go/optionalnullable" + "time" ) // DestinationCreateKafkaType - Type of the destination. Must be 'kafka'. @@ -52,6 +53,12 @@ type DestinationCreateKafka struct { DeliveryMetadata optionalnullable.OptionalNullable[map[string]string] `json:"delivery_metadata,omitempty"` // Arbitrary contextual information stored with the destination. Metadata optionalnullable.OptionalNullable[map[string]string] `json:"metadata,omitempty"` + // 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. + CreatedAt optionalnullable.OptionalNullable[time.Time] `json:"created_at,omitempty"` + // 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. + UpdatedAt optionalnullable.OptionalNullable[time.Time] `json:"updated_at,omitempty"` + // If set, the destination is created in a disabled state with this timestamp. Must not be in the future. Defaults to null (enabled). + DisabledAt optionalnullable.OptionalNullable[time.Time] `json:"disabled_at,omitempty"` } func (d DestinationCreateKafka) MarshalJSON() ([]byte, error) { @@ -120,3 +127,24 @@ func (d *DestinationCreateKafka) GetMetadata() optionalnullable.OptionalNullable } return d.Metadata } + +func (d *DestinationCreateKafka) GetCreatedAt() optionalnullable.OptionalNullable[time.Time] { + if d == nil { + return nil + } + return d.CreatedAt +} + +func (d *DestinationCreateKafka) GetUpdatedAt() optionalnullable.OptionalNullable[time.Time] { + if d == nil { + return nil + } + return d.UpdatedAt +} + +func (d *DestinationCreateKafka) GetDisabledAt() optionalnullable.OptionalNullable[time.Time] { + if d == nil { + return nil + } + return d.DisabledAt +} diff --git a/sdks/outpost-go/models/components/destinationcreaterabbitmq.go b/sdks/outpost-go/models/components/destinationcreaterabbitmq.go index 0480068b..59bfbfe3 100644 --- a/sdks/outpost-go/models/components/destinationcreaterabbitmq.go +++ b/sdks/outpost-go/models/components/destinationcreaterabbitmq.go @@ -7,6 +7,7 @@ import ( "fmt" "github.com/hookdeck/outpost/sdks/outpost-go/internal/utils" "github.com/hookdeck/outpost/sdks/outpost-go/optionalnullable" + "time" ) // DestinationCreateRabbitMQType - Type of the destination. Must be 'rabbitmq'. @@ -52,6 +53,12 @@ type DestinationCreateRabbitMQ struct { DeliveryMetadata optionalnullable.OptionalNullable[map[string]string] `json:"delivery_metadata,omitempty"` // Arbitrary contextual information stored with the destination. Metadata optionalnullable.OptionalNullable[map[string]string] `json:"metadata,omitempty"` + // 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. + CreatedAt optionalnullable.OptionalNullable[time.Time] `json:"created_at,omitempty"` + // 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. + UpdatedAt optionalnullable.OptionalNullable[time.Time] `json:"updated_at,omitempty"` + // If set, the destination is created in a disabled state with this timestamp. Must not be in the future. Defaults to null (enabled). + DisabledAt optionalnullable.OptionalNullable[time.Time] `json:"disabled_at,omitempty"` } func (d DestinationCreateRabbitMQ) MarshalJSON() ([]byte, error) { @@ -120,3 +127,24 @@ func (d *DestinationCreateRabbitMQ) GetMetadata() optionalnullable.OptionalNulla } return d.Metadata } + +func (d *DestinationCreateRabbitMQ) GetCreatedAt() optionalnullable.OptionalNullable[time.Time] { + if d == nil { + return nil + } + return d.CreatedAt +} + +func (d *DestinationCreateRabbitMQ) GetUpdatedAt() optionalnullable.OptionalNullable[time.Time] { + if d == nil { + return nil + } + return d.UpdatedAt +} + +func (d *DestinationCreateRabbitMQ) GetDisabledAt() optionalnullable.OptionalNullable[time.Time] { + if d == nil { + return nil + } + return d.DisabledAt +} diff --git a/sdks/outpost-go/models/components/destinationcreatewebhook.go b/sdks/outpost-go/models/components/destinationcreatewebhook.go index 10f9875f..4f8fbf1e 100644 --- a/sdks/outpost-go/models/components/destinationcreatewebhook.go +++ b/sdks/outpost-go/models/components/destinationcreatewebhook.go @@ -7,6 +7,7 @@ import ( "fmt" "github.com/hookdeck/outpost/sdks/outpost-go/internal/utils" "github.com/hookdeck/outpost/sdks/outpost-go/optionalnullable" + "time" ) // DestinationCreateWebhookType - Type of the destination. Must be 'webhook'. @@ -52,6 +53,12 @@ type DestinationCreateWebhook struct { DeliveryMetadata optionalnullable.OptionalNullable[map[string]string] `json:"delivery_metadata,omitempty"` // Arbitrary contextual information stored with the destination. Metadata optionalnullable.OptionalNullable[map[string]string] `json:"metadata,omitempty"` + // 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. + CreatedAt optionalnullable.OptionalNullable[time.Time] `json:"created_at,omitempty"` + // 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. + UpdatedAt optionalnullable.OptionalNullable[time.Time] `json:"updated_at,omitempty"` + // If set, the destination is created in a disabled state with this timestamp. Must not be in the future. Defaults to null (enabled). + DisabledAt optionalnullable.OptionalNullable[time.Time] `json:"disabled_at,omitempty"` } func (d DestinationCreateWebhook) MarshalJSON() ([]byte, error) { @@ -120,3 +127,24 @@ func (d *DestinationCreateWebhook) GetMetadata() optionalnullable.OptionalNullab } return d.Metadata } + +func (d *DestinationCreateWebhook) GetCreatedAt() optionalnullable.OptionalNullable[time.Time] { + if d == nil { + return nil + } + return d.CreatedAt +} + +func (d *DestinationCreateWebhook) GetUpdatedAt() optionalnullable.OptionalNullable[time.Time] { + if d == nil { + return nil + } + return d.UpdatedAt +} + +func (d *DestinationCreateWebhook) GetDisabledAt() optionalnullable.OptionalNullable[time.Time] { + if d == nil { + return nil + } + return d.DisabledAt +} diff --git a/sdks/outpost-go/models/components/destinationupdateawskinesis.go b/sdks/outpost-go/models/components/destinationupdateawskinesis.go index a4c61d79..f02a4bf5 100644 --- a/sdks/outpost-go/models/components/destinationupdateawskinesis.go +++ b/sdks/outpost-go/models/components/destinationupdateawskinesis.go @@ -5,6 +5,7 @@ package components import ( "github.com/hookdeck/outpost/sdks/outpost-go/internal/utils" "github.com/hookdeck/outpost/sdks/outpost-go/optionalnullable" + "time" ) type DestinationUpdateAWSKinesis struct { @@ -22,6 +23,8 @@ type DestinationUpdateAWSKinesis struct { DeliveryMetadata optionalnullable.OptionalNullable[map[string]*string] `json:"delivery_metadata,omitempty"` // 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. Metadata optionalnullable.OptionalNullable[map[string]*string] `json:"metadata,omitempty"` + // 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. + DisabledAt optionalnullable.OptionalNullable[time.Time] `json:"disabled_at,omitempty"` } func (d DestinationUpdateAWSKinesis) MarshalJSON() ([]byte, error) { @@ -76,3 +79,10 @@ func (d *DestinationUpdateAWSKinesis) GetMetadata() optionalnullable.OptionalNul } return d.Metadata } + +func (d *DestinationUpdateAWSKinesis) GetDisabledAt() optionalnullable.OptionalNullable[time.Time] { + if d == nil { + return nil + } + return d.DisabledAt +} diff --git a/sdks/outpost-go/models/components/destinationupdateawss3.go b/sdks/outpost-go/models/components/destinationupdateawss3.go index 229fff36..7e53db2d 100644 --- a/sdks/outpost-go/models/components/destinationupdateawss3.go +++ b/sdks/outpost-go/models/components/destinationupdateawss3.go @@ -5,6 +5,7 @@ package components import ( "github.com/hookdeck/outpost/sdks/outpost-go/internal/utils" "github.com/hookdeck/outpost/sdks/outpost-go/optionalnullable" + "time" ) type DestinationUpdateAwss3 struct { @@ -22,6 +23,8 @@ type DestinationUpdateAwss3 struct { DeliveryMetadata optionalnullable.OptionalNullable[map[string]*string] `json:"delivery_metadata,omitempty"` // 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. Metadata optionalnullable.OptionalNullable[map[string]*string] `json:"metadata,omitempty"` + // 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. + DisabledAt optionalnullable.OptionalNullable[time.Time] `json:"disabled_at,omitempty"` } func (d DestinationUpdateAwss3) MarshalJSON() ([]byte, error) { @@ -77,5 +80,12 @@ func (d *DestinationUpdateAwss3) GetMetadata() optionalnullable.OptionalNullable return d.Metadata } +func (d *DestinationUpdateAwss3) GetDisabledAt() optionalnullable.OptionalNullable[time.Time] { + if d == nil { + return nil + } + return d.DisabledAt +} + // #region class-body-destinationupdateawss3 // #endregion class-body-destinationupdateawss3 diff --git a/sdks/outpost-go/models/components/destinationupdateawssqs.go b/sdks/outpost-go/models/components/destinationupdateawssqs.go index 0bdf9399..484a76ee 100644 --- a/sdks/outpost-go/models/components/destinationupdateawssqs.go +++ b/sdks/outpost-go/models/components/destinationupdateawssqs.go @@ -5,6 +5,7 @@ package components import ( "github.com/hookdeck/outpost/sdks/outpost-go/internal/utils" "github.com/hookdeck/outpost/sdks/outpost-go/optionalnullable" + "time" ) type DestinationUpdateAWSSQS struct { @@ -22,6 +23,8 @@ type DestinationUpdateAWSSQS struct { DeliveryMetadata optionalnullable.OptionalNullable[map[string]*string] `json:"delivery_metadata,omitempty"` // 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. Metadata optionalnullable.OptionalNullable[map[string]*string] `json:"metadata,omitempty"` + // 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. + DisabledAt optionalnullable.OptionalNullable[time.Time] `json:"disabled_at,omitempty"` } func (d DestinationUpdateAWSSQS) MarshalJSON() ([]byte, error) { @@ -76,3 +79,10 @@ func (d *DestinationUpdateAWSSQS) GetMetadata() optionalnullable.OptionalNullabl } return d.Metadata } + +func (d *DestinationUpdateAWSSQS) GetDisabledAt() optionalnullable.OptionalNullable[time.Time] { + if d == nil { + return nil + } + return d.DisabledAt +} diff --git a/sdks/outpost-go/models/components/destinationupdateazureservicebus.go b/sdks/outpost-go/models/components/destinationupdateazureservicebus.go index 6ea2b2c7..f7cfdbbe 100644 --- a/sdks/outpost-go/models/components/destinationupdateazureservicebus.go +++ b/sdks/outpost-go/models/components/destinationupdateazureservicebus.go @@ -5,6 +5,7 @@ package components import ( "github.com/hookdeck/outpost/sdks/outpost-go/internal/utils" "github.com/hookdeck/outpost/sdks/outpost-go/optionalnullable" + "time" ) type DestinationUpdateAzureServiceBus struct { @@ -22,6 +23,8 @@ type DestinationUpdateAzureServiceBus struct { DeliveryMetadata optionalnullable.OptionalNullable[map[string]*string] `json:"delivery_metadata,omitempty"` // 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. Metadata optionalnullable.OptionalNullable[map[string]*string] `json:"metadata,omitempty"` + // 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. + DisabledAt optionalnullable.OptionalNullable[time.Time] `json:"disabled_at,omitempty"` } func (d DestinationUpdateAzureServiceBus) MarshalJSON() ([]byte, error) { @@ -76,3 +79,10 @@ func (d *DestinationUpdateAzureServiceBus) GetMetadata() optionalnullable.Option } return d.Metadata } + +func (d *DestinationUpdateAzureServiceBus) GetDisabledAt() optionalnullable.OptionalNullable[time.Time] { + if d == nil { + return nil + } + return d.DisabledAt +} diff --git a/sdks/outpost-go/models/components/destinationupdategcppubsub.go b/sdks/outpost-go/models/components/destinationupdategcppubsub.go index 85709671..b5987b92 100644 --- a/sdks/outpost-go/models/components/destinationupdategcppubsub.go +++ b/sdks/outpost-go/models/components/destinationupdategcppubsub.go @@ -5,6 +5,7 @@ package components import ( "github.com/hookdeck/outpost/sdks/outpost-go/internal/utils" "github.com/hookdeck/outpost/sdks/outpost-go/optionalnullable" + "time" ) type DestinationUpdateGCPPubSub struct { @@ -22,6 +23,8 @@ type DestinationUpdateGCPPubSub struct { DeliveryMetadata optionalnullable.OptionalNullable[map[string]*string] `json:"delivery_metadata,omitempty"` // 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. Metadata optionalnullable.OptionalNullable[map[string]*string] `json:"metadata,omitempty"` + // 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. + DisabledAt optionalnullable.OptionalNullable[time.Time] `json:"disabled_at,omitempty"` } func (d DestinationUpdateGCPPubSub) MarshalJSON() ([]byte, error) { @@ -76,3 +79,10 @@ func (d *DestinationUpdateGCPPubSub) GetMetadata() optionalnullable.OptionalNull } return d.Metadata } + +func (d *DestinationUpdateGCPPubSub) GetDisabledAt() optionalnullable.OptionalNullable[time.Time] { + if d == nil { + return nil + } + return d.DisabledAt +} diff --git a/sdks/outpost-go/models/components/destinationupdatehookdeck.go b/sdks/outpost-go/models/components/destinationupdatehookdeck.go index edb5071e..9af1a2b0 100644 --- a/sdks/outpost-go/models/components/destinationupdatehookdeck.go +++ b/sdks/outpost-go/models/components/destinationupdatehookdeck.go @@ -5,6 +5,7 @@ package components import ( "github.com/hookdeck/outpost/sdks/outpost-go/internal/utils" "github.com/hookdeck/outpost/sdks/outpost-go/optionalnullable" + "time" ) type DestinationUpdateHookdeck struct { @@ -22,6 +23,8 @@ type DestinationUpdateHookdeck struct { DeliveryMetadata optionalnullable.OptionalNullable[map[string]*string] `json:"delivery_metadata,omitempty"` // 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. Metadata optionalnullable.OptionalNullable[map[string]*string] `json:"metadata,omitempty"` + // 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. + DisabledAt optionalnullable.OptionalNullable[time.Time] `json:"disabled_at,omitempty"` } func (d DestinationUpdateHookdeck) MarshalJSON() ([]byte, error) { @@ -76,3 +79,10 @@ func (d *DestinationUpdateHookdeck) GetMetadata() optionalnullable.OptionalNulla } return d.Metadata } + +func (d *DestinationUpdateHookdeck) GetDisabledAt() optionalnullable.OptionalNullable[time.Time] { + if d == nil { + return nil + } + return d.DisabledAt +} diff --git a/sdks/outpost-go/models/components/destinationupdatekafka.go b/sdks/outpost-go/models/components/destinationupdatekafka.go index dd0a0860..a9079063 100644 --- a/sdks/outpost-go/models/components/destinationupdatekafka.go +++ b/sdks/outpost-go/models/components/destinationupdatekafka.go @@ -5,6 +5,7 @@ package components import ( "github.com/hookdeck/outpost/sdks/outpost-go/internal/utils" "github.com/hookdeck/outpost/sdks/outpost-go/optionalnullable" + "time" ) type DestinationUpdateKafka struct { @@ -22,6 +23,8 @@ type DestinationUpdateKafka struct { DeliveryMetadata optionalnullable.OptionalNullable[map[string]*string] `json:"delivery_metadata,omitempty"` // 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. Metadata optionalnullable.OptionalNullable[map[string]*string] `json:"metadata,omitempty"` + // 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. + DisabledAt optionalnullable.OptionalNullable[time.Time] `json:"disabled_at,omitempty"` } func (d DestinationUpdateKafka) MarshalJSON() ([]byte, error) { @@ -76,3 +79,10 @@ func (d *DestinationUpdateKafka) GetMetadata() optionalnullable.OptionalNullable } return d.Metadata } + +func (d *DestinationUpdateKafka) GetDisabledAt() optionalnullable.OptionalNullable[time.Time] { + if d == nil { + return nil + } + return d.DisabledAt +} diff --git a/sdks/outpost-go/models/components/destinationupdaterabbitmq.go b/sdks/outpost-go/models/components/destinationupdaterabbitmq.go index ccba4858..48842021 100644 --- a/sdks/outpost-go/models/components/destinationupdaterabbitmq.go +++ b/sdks/outpost-go/models/components/destinationupdaterabbitmq.go @@ -5,6 +5,7 @@ package components import ( "github.com/hookdeck/outpost/sdks/outpost-go/internal/utils" "github.com/hookdeck/outpost/sdks/outpost-go/optionalnullable" + "time" ) type DestinationUpdateRabbitMQ struct { @@ -22,6 +23,8 @@ type DestinationUpdateRabbitMQ struct { DeliveryMetadata optionalnullable.OptionalNullable[map[string]*string] `json:"delivery_metadata,omitempty"` // 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. Metadata optionalnullable.OptionalNullable[map[string]*string] `json:"metadata,omitempty"` + // 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. + DisabledAt optionalnullable.OptionalNullable[time.Time] `json:"disabled_at,omitempty"` } func (d DestinationUpdateRabbitMQ) MarshalJSON() ([]byte, error) { @@ -76,3 +79,10 @@ func (d *DestinationUpdateRabbitMQ) GetMetadata() optionalnullable.OptionalNulla } return d.Metadata } + +func (d *DestinationUpdateRabbitMQ) GetDisabledAt() optionalnullable.OptionalNullable[time.Time] { + if d == nil { + return nil + } + return d.DisabledAt +} diff --git a/sdks/outpost-go/models/components/destinationupdatewebhook.go b/sdks/outpost-go/models/components/destinationupdatewebhook.go index e9b331ff..1c93fa69 100644 --- a/sdks/outpost-go/models/components/destinationupdatewebhook.go +++ b/sdks/outpost-go/models/components/destinationupdatewebhook.go @@ -5,6 +5,7 @@ package components import ( "github.com/hookdeck/outpost/sdks/outpost-go/internal/utils" "github.com/hookdeck/outpost/sdks/outpost-go/optionalnullable" + "time" ) type DestinationUpdateWebhook struct { @@ -22,6 +23,8 @@ type DestinationUpdateWebhook struct { DeliveryMetadata optionalnullable.OptionalNullable[map[string]*string] `json:"delivery_metadata,omitempty"` // 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. Metadata optionalnullable.OptionalNullable[map[string]*string] `json:"metadata,omitempty"` + // 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. + DisabledAt optionalnullable.OptionalNullable[time.Time] `json:"disabled_at,omitempty"` } func (d DestinationUpdateWebhook) MarshalJSON() ([]byte, error) { @@ -76,3 +79,10 @@ func (d *DestinationUpdateWebhook) GetMetadata() optionalnullable.OptionalNullab } return d.Metadata } + +func (d *DestinationUpdateWebhook) GetDisabledAt() optionalnullable.OptionalNullable[time.Time] { + if d == nil { + return nil + } + return d.DisabledAt +} diff --git a/sdks/outpost-go/outpost.go b/sdks/outpost-go/outpost.go index 4b07b7f8..add31676 100644 --- a/sdks/outpost-go/outpost.go +++ b/sdks/outpost-go/outpost.go @@ -2,7 +2,7 @@ package outpostgo -// Generated from OpenAPI doc version 0.0.1 and generator version 2.881.16 +// Generated from OpenAPI doc version 0.0.1 and generator version 2.884.0 import ( "bytes" @@ -172,9 +172,9 @@ func WithTimeout(timeout time.Duration) SDKOption { // New creates a new instance of the SDK with the provided options func New(opts ...SDKOption) *Outpost { sdk := &Outpost{ - SDKVersion: "1.2.0", + SDKVersion: "1.3.0", sdkConfiguration: config.SDKConfiguration{ - UserAgent: "speakeasy-sdk/go 1.2.0 2.881.16 0.0.1 github.com/hookdeck/outpost/sdks/outpost-go", + UserAgent: "speakeasy-sdk/go 1.3.0 2.884.0 0.0.1 github.com/hookdeck/outpost/sdks/outpost-go", ServerList: ServerList, }, hooks: hooks.New(), diff --git a/sdks/outpost-go/shields.json b/sdks/outpost-go/shields.json index 135abf10..d902e3ca 100644 --- a/sdks/outpost-go/shields.json +++ b/sdks/outpost-go/shields.json @@ -1,6 +1,6 @@ { "schemaVersion": 1, "label": "outpost-go", - "message": "v1.2.0", + "message": "v1.3.0", "color": "blue" } diff --git a/sdks/outpost-python/.speakeasy/gen.lock b/sdks/outpost-python/.speakeasy/gen.lock index 41664c2a..13477788 100644 --- a/sdks/outpost-python/.speakeasy/gen.lock +++ b/sdks/outpost-python/.speakeasy/gen.lock @@ -1,20 +1,20 @@ lockVersion: 2.0.0 id: da774284-22d9-4b6c-bb26-1c3fc9f2c7ee management: - docChecksum: 9267f5f90fcb40790be5a16006a110e6 + docChecksum: 6fe8d677b73fda91baae99fa681d83cf docVersion: 0.0.1 - speakeasyVersion: 1.761.10 - generationVersion: 2.881.16 - releaseVersion: 1.2.0 - configChecksum: 0981aa719ae4d469a15ab5f184dc4e18 + speakeasyVersion: 1.763.0 + generationVersion: 2.884.0 + releaseVersion: 1.3.0 + configChecksum: da36ed2c90158fd5817def4191f9743f 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: 4302024f-07c7-4005-b085-90c69ca0b02d - pristine_commit_hash: 2b84af378245c553c77d38356938bf5e9b34f9d6 - pristine_tree_hash: fb54c8356d8ff6aea6a54d41df59f26313f313a4 + generation_id: d56518cf-5fbf-4874-90f4-3f6eb3e31e64 + pristine_commit_hash: 932581f98246cb2d1a19b73ff1cd50ff15aabc63 + pristine_tree_hash: 6cfeeddb4e9a765aa68f0b491717ef4fec5e7774 features: python: additionalDependencies: 1.0.0 @@ -180,72 +180,72 @@ trackedFiles: pristine_git_object: 063471498135d9a74a7a54524ba894ad365722e1 docs/models/destinationcreateawskinesis.md: id: 9b320c478947 - last_write_checksum: sha1:2d495caa7331952d152bf27de95bf4484eec7d48 - pristine_git_object: ba94a2f91667a775630bb2a2e79d441ea0c6ea6a + last_write_checksum: sha1:2cb72679913d35c38ca56a9f075da14002c47a4f + pristine_git_object: c574270cba3824b96c77073010eae9832a949b7c 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:4e72a231fa12b2a17a4cf251318f6405933db54b - pristine_git_object: 37ce07fe670087ad6f9cd9e6153666b82ece6598 + last_write_checksum: sha1:d51978aa9f608fd345f854976b389bcb1fb6ad38 + pristine_git_object: 8f0e02aa47b8307d09648b6f621c1d919a187807 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:19a9ed831673ff3e0447ed8d105fe0d4fb4a67ee - pristine_git_object: 56a1aab1abd58b80d8e6a516cce7e850dc9300cc + last_write_checksum: sha1:bfb88d5fbf64ba4131d28e306bef9e20de1c2e11 + pristine_git_object: 4eb893482ec4d1cdfb3d9301219fe3c146c794a9 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:2b5837e8cb3bf32ed4651bfa3c66407de3b951a5 - pristine_git_object: 8b03a19df2b4de352bfb8319eb4317d89be1228c + last_write_checksum: sha1:73868fbb4053cac4621f39842bc3493e2d06b252 + pristine_git_object: 27b32e69865a801ff7a54073ad24377d4043f21a 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:15b3df527c071b03af94a2faba4bf965050b953b - pristine_git_object: 58381e3db04cd2306af7870e488f6106158556ff + last_write_checksum: sha1:a06c73b0ed4cbb110c75d60abab16b7ed45fabe6 + pristine_git_object: f1e804f555654d2f06132bbfa385c0de50d6a05d 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:4e0d557c9bafbaba8f994a5dfb842dc9d288e2a3 - pristine_git_object: bef603121490cf2c9e517d39ba23e50b5ab4599e + last_write_checksum: sha1:f4da2a2e22deb350b677cfef43abab4cb4bc890f + pristine_git_object: d8772bdbc5e1dfe61131a354cf0b33a2180a5f35 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:66fe06509de35983fad12c347713a0b1d9e14c1b - pristine_git_object: 19728ebb7b9f805db0ea43d5b14c91fc40581d99 + last_write_checksum: sha1:db38275f89dbebecaf2c6a1dc5ed334df52cf7e0 + pristine_git_object: b28e7a90f41a1f6a1e284451c2597b672945e46d 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:297efb9410fbe0c944776c67acfbebd5257ad08d - pristine_git_object: fea4cac6bd3cf1bb7021f888929b337906002ff6 + last_write_checksum: sha1:ba2bc0e1b2c81927cc07ee11ebbadf8b754f108b + pristine_git_object: 0420c922564a37d6c6d6e3af2ff11f489db10f7f 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:476f1cb2637c46e7aaed96be989cfe18f0e6fd92 - pristine_git_object: d72bb0ecf81ad0ec8f892a4031cca6133dc864f0 + last_write_checksum: sha1:68dc1ebe77cfd2edd3df3d13bfc97d7483193aa0 + pristine_git_object: 530d23d2b594ecb7553590d24aa68a33af0b43b1 docs/models/destinationcreatewebhooktype.md: id: 480c29c3c0ee last_write_checksum: sha1:3ca2331231908a303bc133f484538bdb6656cce3 @@ -304,40 +304,40 @@ trackedFiles: pristine_git_object: 14bbd55790eea3b0013e23e22267eaba2143ca1f docs/models/destinationupdateawskinesis.md: id: c735ef832904 - last_write_checksum: sha1:1d811065e46e974f96a421c7582d299ba5b8f129 - pristine_git_object: 1b8c4fa1174f275ac23d276d152747b4852ee091 + last_write_checksum: sha1:9203ff8121ea64441f14b2046992f7d6bbdecd63 + pristine_git_object: 8ca68edddc178404b4f6d90e7da7ee642f0e478a docs/models/destinationupdateawss3.md: id: 76faf4c7812d - last_write_checksum: sha1:c7b959341de2f1a975f2f67ffab16d6ad19a8575 - pristine_git_object: 95d60693e9cea30277ae8c17b47cf52c429e52b1 + last_write_checksum: sha1:1cd4ba08c2eb501e35719b53354a21383428e7c2 + pristine_git_object: fb6a6c57cd0a41cc776d5798e50b0225f5c7311d docs/models/destinationupdateawssqs.md: id: 02ac773b1910 - last_write_checksum: sha1:c8e446d1850808a15e9489f4f936a956709cae1d - pristine_git_object: 23a84bdf4da5d367d6ae8f79dc977c91b618a295 + last_write_checksum: sha1:26d6d6d3ad65709d55ac01d0a01cd1f39713dbcb + pristine_git_object: 8c1e1d91676515629b285f97ed788adfc8764000 docs/models/destinationupdateazureservicebus.md: id: ce89817ee515 - last_write_checksum: sha1:591600a53ec89aef9d2f4024ddd3c886df60d2d4 - pristine_git_object: 6c6f5fac7d61838b719336fd0db0127995f88564 + last_write_checksum: sha1:e67611e3c85de7c8b489c367f8a9aa98b0ea35ed + pristine_git_object: 62839a1ec53552c8be00c157eec8f3b38355126c docs/models/destinationupdategcppubsub.md: id: 3aa59641195e - last_write_checksum: sha1:244eef27190c8b8f35c8508215f9162f5c4bcdba - pristine_git_object: a286fd9761eec7d3246f3115a7f97c92b879bff2 + last_write_checksum: sha1:e40f03b561bef6571ac97ea4bf14d7ab3bfa55a7 + pristine_git_object: 6e0eda5eac9eaa5b039d23e46b43cd4c53281043 docs/models/destinationupdatehookdeck.md: id: 68e05155df34 - last_write_checksum: sha1:0fbb43dd6cde8ad2c451bd86f6df9789f681dba9 - pristine_git_object: b8447eb27ae2e810b9b7ff7b8efb94b88d3fcddf + last_write_checksum: sha1:ea4b2b9c5329fd679b4ac6947f2443cbacbbd236 + pristine_git_object: f2db895dd7c8b561bca4f3cc6c424edb00cf07b3 docs/models/destinationupdatekafka.md: id: "132111658635" - last_write_checksum: sha1:9c77418373cf04d5517fa8461ee5e6e705e2af5c - pristine_git_object: 12f5767970cab2742fb14212566759259605470a + last_write_checksum: sha1:eee0d36d331046ba8fdcbd386e4cd3ca102529ff + pristine_git_object: 0c0331bad40b09c62f49099c30c476801602b3d9 docs/models/destinationupdaterabbitmq.md: id: 9f9ca90dc37d - last_write_checksum: sha1:6a0d410b52945d4c871773d19602caa69c9d8b52 - pristine_git_object: f7c5b5f64d09985ecfd9ef8ed2f906d3894232b6 + last_write_checksum: sha1:5cb9ec3e423af407e879e7c0beb9b472884c0496 + pristine_git_object: 3ba4dea3d03625751e96f659689778c1ad63e466 docs/models/destinationupdatewebhook.md: id: eeaf368b6338 - last_write_checksum: sha1:b2474e5cf01229c19936036b5a61b5473fe7efeb - pristine_git_object: 0aa5044fc7917c15a1f0120eabd61322a6e0c513 + last_write_checksum: sha1:be37f570a9275d066d8cc538559196c247e32c3c + pristine_git_object: d201a7903e270b68598175773a69043198c8900d docs/models/destinationwebhook.md: id: c7672f3fe6cb last_write_checksum: sha1:86d1942abbbbc71b57ea1f16af0758b55f816dd0 @@ -900,8 +900,8 @@ trackedFiles: pristine_git_object: cca330736fb6ecec666b32012a4c346570dd5085 pyproject.toml: id: 5d07e7d72637 - last_write_checksum: sha1:38b8b21c46df2e7215a7ebd81104c2b702ecf30b - pristine_git_object: e30ab45658de752b91354996feb4be20c4636e09 + last_write_checksum: sha1:6907b002a82df963c9d1a6198776a2e47bde1d1a + pristine_git_object: 3110be9cef79deddec68dcfaf52db9043eaec0b4 scripts/prepare_readme.py: id: e0c5957a6035 last_write_checksum: sha1:eb460f85c06b287fee629d997b2df75c92fa1cab @@ -928,8 +928,8 @@ trackedFiles: pristine_git_object: b1777a2eacece4434c53b2e136158f0c1360707d src/outpost_sdk/_version.py: id: 22be68f35ad0 - last_write_checksum: sha1:93ca6779e3d24cc76a8cf96eec0a76f86b618465 - pristine_git_object: 8d992714a7e4d22692c30d39f45ec70c0151aa53 + last_write_checksum: sha1:b9b6e1a9df36e58b5fdff7a24929756123dcfdea + pristine_git_object: c3ca1e3ba60b8ed9e010ef0b91c0f7d2a56d51db src/outpost_sdk/attempts.py: id: 304ea4e0bbf1 last_write_checksum: sha1:fb91e9a4cabd0bf1f2b541b615769ef147b094b6 @@ -1096,40 +1096,40 @@ trackedFiles: pristine_git_object: 794c3da461e7e28615b7d18d8f1a4a6c7bb079c3 src/outpost_sdk/models/destinationcreateawskinesis.py: id: c47c9be03ea9 - last_write_checksum: sha1:cf43f6a4eccca5705a778ed3e9a08c46cbf357a2 - pristine_git_object: af02e7a8e1e753f6609486bc98f8c8e0d2776677 + last_write_checksum: sha1:4e784527b4f243b2233adcd7b04213af15282752 + pristine_git_object: 37934648c83952196561d849a679b2e18d8bf48c src/outpost_sdk/models/destinationcreateawss3.py: id: 2a12772aa193 - last_write_checksum: sha1:bf12d0d3f05af0dc6082d8c2efa0ffd88b86ccf3 - pristine_git_object: eea4ab802e1b21d931325924c5b906438714e44d + last_write_checksum: sha1:b1ff92b01c798152a8d6c9e21bb7b86eeddcf5ed + pristine_git_object: f72b2f6c29cd8311b633bac771b3b3bc7171ae11 src/outpost_sdk/models/destinationcreateawssqs.py: id: d571450aa34c - last_write_checksum: sha1:61ea0504d47e2beb1b94a58ca8c3a35a6525cbe2 - pristine_git_object: 00d4cb9b5cae0d2a8ec95fc9d43e56d24ad2625c + last_write_checksum: sha1:87a040609282e0e437037157013be7be66ef63af + pristine_git_object: 5023bc7ff311a4d00bc2cdb64d9c028505aac16f src/outpost_sdk/models/destinationcreateazureservicebus.py: id: 40b34cc6d212 - last_write_checksum: sha1:4695996870dea6c3a5e8fde27449ee2bf5b67d1d - pristine_git_object: de806f4be1eafb375145ca7582b3c346e1325bdf + last_write_checksum: sha1:dd58fc579768b637f16ecd279c3b6486a4a0c217 + pristine_git_object: 08d0f487cce7e1a8cb77f52d2b30b1f076dca2d4 src/outpost_sdk/models/destinationcreategcppubsub.py: id: 175ea4a525fc - last_write_checksum: sha1:c125663ae195325fb6f71c1befd0047f39ab3f6f - pristine_git_object: 1adae1c53034ef7e490839753048480835313dce + last_write_checksum: sha1:90f7b6d8879c5bd1529657e60672b1ed193d238b + pristine_git_object: e569b23987a4c1a989c0ce0de658b062e083a406 src/outpost_sdk/models/destinationcreatehookdeck.py: id: ff182a9732d1 - last_write_checksum: sha1:293f27aff396b79a63e099aea101465d93c9eb24 - pristine_git_object: 9c4cd8dc0144c97f37cbfe019d57130be87d1f2d + last_write_checksum: sha1:f7a883848e59b40c8ce642091264bf3c1f3bbac0 + pristine_git_object: 8f74c2a62257e80450cfb536d9edc8db20b90987 src/outpost_sdk/models/destinationcreatekafka.py: id: 7070b3d5aacd - last_write_checksum: sha1:8ea962ad572281cbf70947624341440ceebb8a2c - pristine_git_object: a5b7f5bd62a7bb215f882e9e4c1284bccd3138c0 + last_write_checksum: sha1:fd2952095e1805d77d73210addc82d6fa579f81d + pristine_git_object: 55185c9ad0e553f5ec9ef0baa6c99d6ad38803cd src/outpost_sdk/models/destinationcreaterabbitmq.py: id: ef6476931b78 - last_write_checksum: sha1:f6f63917834a87afe0f09945f8ee692a7c630c08 - pristine_git_object: 5b5cb5579c61da7573cfdbf9f0e1ae920076b69f + last_write_checksum: sha1:270c373db1a2a00abc6109f5bd2bd804a5175e9a + pristine_git_object: 28d83bd66ea757091de12374789a8af98486008c src/outpost_sdk/models/destinationcreatewebhook.py: id: 7957ca0fcac4 - last_write_checksum: sha1:06a77bbec9537c94dab6910c85e75cd45d24329b - pristine_git_object: 73cb639cd1a19e3900cd8eedf54c04dff07b13e7 + last_write_checksum: sha1:deb601fa12b888e47e13ee578e5a9db2795e4ebd + pristine_git_object: c8b973314a8e58d760f0d6bfeb1c8d224a3820b7 src/outpost_sdk/models/destinationgcppubsub.py: id: b9c427853f36 last_write_checksum: sha1:eff0e0ef6b266740d089622913a39a828751d609 @@ -1164,40 +1164,40 @@ trackedFiles: pristine_git_object: fa48fe5c8c2784739530411244f4be71786a5d23 src/outpost_sdk/models/destinationupdateawskinesis.py: id: 4fafb7c70bff - last_write_checksum: sha1:618b7feb97d2c59692f0ccdd3cb7d16ec93a44d9 - pristine_git_object: 501ea8d78faf6a6cabed645cdd36013d0b2b1505 + last_write_checksum: sha1:9b5fb03648f9a8b8da4c4e33f67e1d8d64a71566 + pristine_git_object: 4c4d0b6786f8eb6c03a0ba82f6694ab38cad044c src/outpost_sdk/models/destinationupdateawss3.py: id: 46ad0c46a423 - last_write_checksum: sha1:c95687eba00f5f11b47488c8fe155541dcc0acfe - pristine_git_object: d90c9ffa81760999bac08ce713b18d88c649c090 + last_write_checksum: sha1:865f5927f87bb0933c365aa96b5a2f131d58a080 + pristine_git_object: 67362ea74aa33ddd03c9112b6435b1d234842454 src/outpost_sdk/models/destinationupdateawssqs.py: id: 26cfbd4e6127 - last_write_checksum: sha1:b4ab7c6d85f535e5351131ccc4bb7827657df967 - pristine_git_object: ad05008b884d1843929e3c9929d8540a8d256cb9 + last_write_checksum: sha1:67988d264e4983eb4d6c874ca6c5b062345723b5 + pristine_git_object: 778c496232d97d45882f3e4ede893cd1659e8347 src/outpost_sdk/models/destinationupdateazureservicebus.py: id: 255b1dd4b368 - last_write_checksum: sha1:6431a23240ccd5f734e2249d3ef012c016c81cf1 - pristine_git_object: d3500f183bd1cd34b92021f224550a54ab38933c + last_write_checksum: sha1:6bf6dff9de4305205fe4356a55f98833bd04cf79 + pristine_git_object: de34250b7b5e49aeafe09acaf831c16679a37551 src/outpost_sdk/models/destinationupdategcppubsub.py: id: 970389551c42 - last_write_checksum: sha1:995376c772d9a19a69ed2b9768f3c8b7ac7fc6e7 - pristine_git_object: ba9af94f5649b3863d1434cbaec8d463d4bf3f71 + last_write_checksum: sha1:fe2979fdb5e014ad1244c8655e0b45316707b102 + pristine_git_object: a5e1d36f3f0a59ea8725510be67f33eb7ad3ab7c src/outpost_sdk/models/destinationupdatehookdeck.py: id: e1c91a86e3a2 - last_write_checksum: sha1:ac0b59ff7505c6d1a8f7ed0478d26f6c82e2ddd2 - pristine_git_object: 49539baaf9f5eaa3a5e2926af55af526ae60bec0 + last_write_checksum: sha1:a89f10e336e9ce653a59e0b9994aab60f49c6d53 + pristine_git_object: a01775b1b1a7054fee017f6cac3ae5ce5f5251f7 src/outpost_sdk/models/destinationupdatekafka.py: id: 921d1fa5a79e - last_write_checksum: sha1:84802eb2ce7fd3ce248ddc637168befbdea78652 - pristine_git_object: 90868e1847b444987b76d8f02ad1d59c13e7e76d + last_write_checksum: sha1:6113bd7f24e6e55f64a4163526266f499fe1ce31 + pristine_git_object: 3d2343bce7a142845dc578357f45415c65981b7d src/outpost_sdk/models/destinationupdaterabbitmq.py: id: 92e3f15788ed - last_write_checksum: sha1:7db2aae71afd41b458a87bf38a401a985c078f61 - pristine_git_object: 19f1fbe8c65f8be2f5a99d44ed919f0a0a5461d2 + last_write_checksum: sha1:73c5dc9a8e81ed8dd6af5b8064905320935dd6cb + pristine_git_object: 6290d37b933033fed2d74776f9b94a27deb3c92f src/outpost_sdk/models/destinationupdatewebhook.py: id: 9c02c3e9e713 - last_write_checksum: sha1:a6302265c7655f9929401661c140faa21ef6bce5 - pristine_git_object: e0030a15ccc73e8d4bcb71a2690404f3e8cc3e8a + last_write_checksum: sha1:9a565748662f029aadc842b524ca2c4f8ac3071a + pristine_git_object: 7d606a708e6f79aac7a4cfac6c58dd2c9dfd3dca src/outpost_sdk/models/destinationwebhook.py: id: 4c4e5b9c334f last_write_checksum: sha1:5c2ced96bda12e49a07be2e3a667964b28d33754 @@ -2086,10 +2086,8 @@ examplesVersion: 1.0.2 generatedTests: {} releaseNotes: | ## Python SDK Changes: - * `outpost.publish()`: **Added** - * `outpost.retry()`: **Added** - * `outpost.publish.event()`: **Removed** (Breaking ⚠️) - * `outpost.retry.retry()`: **Removed** (Breaking ⚠️) + * `outpost.destinations.create()`: `request.body` **Changed** + * `outpost.destinations.update()`: `request.body` **Changed** generatedFiles: - .gitattributes - .vscode/settings.json diff --git a/sdks/outpost-python/.speakeasy/gen.yaml b/sdks/outpost-python/.speakeasy/gen.yaml index 77df5d7e..6147d945 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.2.0 + version: 1.3.0 additionalDependencies: dev: {} main: {} diff --git a/sdks/outpost-python/RELEASES.md b/sdks/outpost-python/RELEASES.md index 4c636036..a0f70d9c 100644 --- a/sdks/outpost-python/RELEASES.md +++ b/sdks/outpost-python/RELEASES.md @@ -148,4 +148,14 @@ Based on: ### Generated - [python v1.2.0] sdks/outpost-python ### Releases -- [PyPI v1.2.0] https://pypi.org/project/outpost_sdk/1.2.0 - sdks/outpost-python \ No newline at end of file +- [PyPI v1.2.0] https://pypi.org/project/outpost_sdk/1.2.0 - sdks/outpost-python + +## 2026-05-13 18:00:08 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.763.0 (2.884.0) https://github.com/speakeasy-api/speakeasy +### 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 diff --git a/sdks/outpost-python/docs/models/destinationcreateawskinesis.md b/sdks/outpost-python/docs/models/destinationcreateawskinesis.md index ba94a2f9..c574270c 100644 --- a/sdks/outpost-python/docs/models/destinationcreateawskinesis.md +++ b/sdks/outpost-python/docs/models/destinationcreateawskinesis.md @@ -12,4 +12,7 @@ | `config` | [models.AWSKinesisConfig](../models/awskinesisconfig.md) | :heavy_check_mark: | N/A | | | `credentials` | [models.AWSKinesisCredentials](../models/awskinesiscredentials.md) | :heavy_check_mark: | N/A | | | `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"
} | \ No newline at end of file +| `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 diff --git a/sdks/outpost-python/docs/models/destinationcreateawss3.md b/sdks/outpost-python/docs/models/destinationcreateawss3.md index 37ce07fe..8f0e02aa 100644 --- a/sdks/outpost-python/docs/models/destinationcreateawss3.md +++ b/sdks/outpost-python/docs/models/destinationcreateawss3.md @@ -12,4 +12,7 @@ | `config` | [models.Awss3Config](../models/awss3config.md) | :heavy_check_mark: | N/A | | | `credentials` | [models.Awss3Credentials](../models/awss3credentials.md) | :heavy_check_mark: | N/A | | | `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"
} | \ No newline at end of file +| `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 diff --git a/sdks/outpost-python/docs/models/destinationcreateawssqs.md b/sdks/outpost-python/docs/models/destinationcreateawssqs.md index 56a1aab1..4eb89348 100644 --- a/sdks/outpost-python/docs/models/destinationcreateawssqs.md +++ b/sdks/outpost-python/docs/models/destinationcreateawssqs.md @@ -12,4 +12,7 @@ | `config` | [models.AWSSQSConfig](../models/awssqsconfig.md) | :heavy_check_mark: | N/A | | | `credentials` | [models.AWSSQSCredentials](../models/awssqscredentials.md) | :heavy_check_mark: | N/A | | | `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"
} | \ No newline at end of file +| `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 diff --git a/sdks/outpost-python/docs/models/destinationcreateazureservicebus.md b/sdks/outpost-python/docs/models/destinationcreateazureservicebus.md index 8b03a19d..27b32e69 100644 --- a/sdks/outpost-python/docs/models/destinationcreateazureservicebus.md +++ b/sdks/outpost-python/docs/models/destinationcreateazureservicebus.md @@ -12,4 +12,7 @@ | `config` | [models.AzureServiceBusConfig](../models/azureservicebusconfig.md) | :heavy_check_mark: | N/A | | | `credentials` | [models.AzureServiceBusCredentials](../models/azureservicebuscredentials.md) | :heavy_check_mark: | N/A | | | `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"
} | \ No newline at end of file +| `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 diff --git a/sdks/outpost-python/docs/models/destinationcreategcppubsub.md b/sdks/outpost-python/docs/models/destinationcreategcppubsub.md index 58381e3d..f1e804f5 100644 --- a/sdks/outpost-python/docs/models/destinationcreategcppubsub.md +++ b/sdks/outpost-python/docs/models/destinationcreategcppubsub.md @@ -12,4 +12,7 @@ | `config` | [models.GCPPubSubConfig](../models/gcppubsubconfig.md) | :heavy_check_mark: | N/A | | | `credentials` | [models.GCPPubSubCredentials](../models/gcppubsubcredentials.md) | :heavy_check_mark: | N/A | | | `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"
} | \ No newline at end of file +| `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 diff --git a/sdks/outpost-python/docs/models/destinationcreatehookdeck.md b/sdks/outpost-python/docs/models/destinationcreatehookdeck.md index bef60312..d8772bdb 100644 --- a/sdks/outpost-python/docs/models/destinationcreatehookdeck.md +++ b/sdks/outpost-python/docs/models/destinationcreatehookdeck.md @@ -12,4 +12,7 @@ | `config` | *Optional[Any]* | :heavy_minus_sign: | N/A | | | `credentials` | [models.HookdeckCredentials](../models/hookdeckcredentials.md) | :heavy_check_mark: | N/A | | | `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"
} | \ No newline at end of file +| `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 diff --git a/sdks/outpost-python/docs/models/destinationcreatekafka.md b/sdks/outpost-python/docs/models/destinationcreatekafka.md index 19728ebb..b28e7a90 100644 --- a/sdks/outpost-python/docs/models/destinationcreatekafka.md +++ b/sdks/outpost-python/docs/models/destinationcreatekafka.md @@ -12,4 +12,7 @@ | `config` | [models.KafkaConfig](../models/kafkaconfig.md) | :heavy_check_mark: | N/A | | | `credentials` | [models.KafkaCredentials](../models/kafkacredentials.md) | :heavy_check_mark: | N/A | | | `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"
} | \ No newline at end of file +| `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 diff --git a/sdks/outpost-python/docs/models/destinationcreaterabbitmq.md b/sdks/outpost-python/docs/models/destinationcreaterabbitmq.md index fea4cac6..0420c922 100644 --- a/sdks/outpost-python/docs/models/destinationcreaterabbitmq.md +++ b/sdks/outpost-python/docs/models/destinationcreaterabbitmq.md @@ -12,4 +12,7 @@ | `config` | [models.RabbitMQConfig](../models/rabbitmqconfig.md) | :heavy_check_mark: | N/A | | | `credentials` | [models.RabbitMQCredentials](../models/rabbitmqcredentials.md) | :heavy_check_mark: | N/A | | | `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"
} | \ No newline at end of file +| `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 diff --git a/sdks/outpost-python/docs/models/destinationcreatewebhook.md b/sdks/outpost-python/docs/models/destinationcreatewebhook.md index d72bb0ec..530d23d2 100644 --- a/sdks/outpost-python/docs/models/destinationcreatewebhook.md +++ b/sdks/outpost-python/docs/models/destinationcreatewebhook.md @@ -12,4 +12,7 @@ | `config` | [models.WebhookConfig](../models/webhookconfig.md) | :heavy_check_mark: | N/A | | | `credentials` | [Optional[models.WebhookCredentials]](../models/webhookcredentials.md) | :heavy_minus_sign: | N/A | | | `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"
} | \ No newline at end of file +| `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 diff --git a/sdks/outpost-python/docs/models/destinationupdateawskinesis.md b/sdks/outpost-python/docs/models/destinationupdateawskinesis.md index 1b8c4fa1..8ca68edd 100644 --- a/sdks/outpost-python/docs/models/destinationupdateawskinesis.md +++ b/sdks/outpost-python/docs/models/destinationupdateawskinesis.md @@ -10,4 +10,5 @@ | `config` | [Optional[models.AWSKinesisConfig]](../models/awskinesisconfig.md) | :heavy_minus_sign: | N/A | | | `credentials` | [Optional[models.AWSKinesisCredentials]](../models/awskinesiscredentials.md) | :heavy_minus_sign: | N/A | | | `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"
} | \ No newline at end of file +| `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 diff --git a/sdks/outpost-python/docs/models/destinationupdateawss3.md b/sdks/outpost-python/docs/models/destinationupdateawss3.md index 95d60693..fb6a6c57 100644 --- a/sdks/outpost-python/docs/models/destinationupdateawss3.md +++ b/sdks/outpost-python/docs/models/destinationupdateawss3.md @@ -10,4 +10,5 @@ | `config` | [Optional[models.Awss3Config]](../models/awss3config.md) | :heavy_minus_sign: | N/A | | | `credentials` | [Optional[models.Awss3Credentials]](../models/awss3credentials.md) | :heavy_minus_sign: | N/A | | | `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"
} | \ No newline at end of file +| `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 diff --git a/sdks/outpost-python/docs/models/destinationupdateawssqs.md b/sdks/outpost-python/docs/models/destinationupdateawssqs.md index 23a84bdf..8c1e1d91 100644 --- a/sdks/outpost-python/docs/models/destinationupdateawssqs.md +++ b/sdks/outpost-python/docs/models/destinationupdateawssqs.md @@ -10,4 +10,5 @@ | `config` | [Optional[models.AWSSQSConfig]](../models/awssqsconfig.md) | :heavy_minus_sign: | N/A | | | `credentials` | [Optional[models.AWSSQSCredentials]](../models/awssqscredentials.md) | :heavy_minus_sign: | N/A | | | `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"
} | \ No newline at end of file +| `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 diff --git a/sdks/outpost-python/docs/models/destinationupdateazureservicebus.md b/sdks/outpost-python/docs/models/destinationupdateazureservicebus.md index 6c6f5fac..62839a1e 100644 --- a/sdks/outpost-python/docs/models/destinationupdateazureservicebus.md +++ b/sdks/outpost-python/docs/models/destinationupdateazureservicebus.md @@ -10,4 +10,5 @@ | `config` | [Optional[models.AzureServiceBusConfig]](../models/azureservicebusconfig.md) | :heavy_minus_sign: | N/A | | | `credentials` | [Optional[models.AzureServiceBusCredentials]](../models/azureservicebuscredentials.md) | :heavy_minus_sign: | N/A | | | `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"
} | \ No newline at end of file +| `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 diff --git a/sdks/outpost-python/docs/models/destinationupdategcppubsub.md b/sdks/outpost-python/docs/models/destinationupdategcppubsub.md index a286fd97..6e0eda5e 100644 --- a/sdks/outpost-python/docs/models/destinationupdategcppubsub.md +++ b/sdks/outpost-python/docs/models/destinationupdategcppubsub.md @@ -10,4 +10,5 @@ | `config` | [Optional[models.GCPPubSubConfig]](../models/gcppubsubconfig.md) | :heavy_minus_sign: | N/A | | | `credentials` | [Optional[models.GCPPubSubCredentials]](../models/gcppubsubcredentials.md) | :heavy_minus_sign: | N/A | | | `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"
} | \ No newline at end of file +| `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 diff --git a/sdks/outpost-python/docs/models/destinationupdatehookdeck.md b/sdks/outpost-python/docs/models/destinationupdatehookdeck.md index b8447eb2..f2db895d 100644 --- a/sdks/outpost-python/docs/models/destinationupdatehookdeck.md +++ b/sdks/outpost-python/docs/models/destinationupdatehookdeck.md @@ -10,4 +10,5 @@ | `config` | *Optional[Any]* | :heavy_minus_sign: | N/A | | | `credentials` | [Optional[models.HookdeckCredentials]](../models/hookdeckcredentials.md) | :heavy_minus_sign: | N/A | | | `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"
} | \ No newline at end of file +| `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 diff --git a/sdks/outpost-python/docs/models/destinationupdatekafka.md b/sdks/outpost-python/docs/models/destinationupdatekafka.md index 12f57679..0c0331ba 100644 --- a/sdks/outpost-python/docs/models/destinationupdatekafka.md +++ b/sdks/outpost-python/docs/models/destinationupdatekafka.md @@ -10,4 +10,5 @@ | `config` | [Optional[models.KafkaConfig]](../models/kafkaconfig.md) | :heavy_minus_sign: | N/A | | | `credentials` | [Optional[models.KafkaCredentials]](../models/kafkacredentials.md) | :heavy_minus_sign: | N/A | | | `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"
} | \ No newline at end of file +| `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 diff --git a/sdks/outpost-python/docs/models/destinationupdaterabbitmq.md b/sdks/outpost-python/docs/models/destinationupdaterabbitmq.md index f7c5b5f6..3ba4dea3 100644 --- a/sdks/outpost-python/docs/models/destinationupdaterabbitmq.md +++ b/sdks/outpost-python/docs/models/destinationupdaterabbitmq.md @@ -10,4 +10,5 @@ | `config` | [Optional[models.RabbitMQConfig]](../models/rabbitmqconfig.md) | :heavy_minus_sign: | N/A | | | `credentials` | [Optional[models.RabbitMQCredentials]](../models/rabbitmqcredentials.md) | :heavy_minus_sign: | N/A | | | `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"
} | \ No newline at end of file +| `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 diff --git a/sdks/outpost-python/docs/models/destinationupdatewebhook.md b/sdks/outpost-python/docs/models/destinationupdatewebhook.md index 0aa5044f..d201a790 100644 --- a/sdks/outpost-python/docs/models/destinationupdatewebhook.md +++ b/sdks/outpost-python/docs/models/destinationupdatewebhook.md @@ -10,4 +10,5 @@ | `config` | [Optional[models.WebhookConfig]](../models/webhookconfig.md) | :heavy_minus_sign: | N/A | | | `credentials` | [Optional[models.WebhookCredentialsUpdate]](../models/webhookcredentialsupdate.md) | :heavy_minus_sign: | N/A | | | `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"
} | \ No newline at end of file +| `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 diff --git a/sdks/outpost-python/pyproject.toml b/sdks/outpost-python/pyproject.toml index e30ab456..3110be9c 100644 --- a/sdks/outpost-python/pyproject.toml +++ b/sdks/outpost-python/pyproject.toml @@ -1,7 +1,7 @@ [project] name = "outpost_sdk" -version = "1.2.0" +version = "1.3.0" description = "Python Client SDK Generated by Speakeasy." authors = [{ name = "Speakeasy" },] readme = "README-PYPI.md" diff --git a/sdks/outpost-python/src/outpost_sdk/_version.py b/sdks/outpost-python/src/outpost_sdk/_version.py index 8d992714..c3ca1e3b 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.2.0" +__version__: str = "1.3.0" __openapi_doc_version__: str = "0.0.1" -__gen_version__: str = "2.881.16" -__user_agent__: str = "speakeasy-sdk/python 1.2.0 2.881.16 0.0.1 outpost_sdk" +__gen_version__: str = "2.884.0" +__user_agent__: str = "speakeasy-sdk/python 1.3.0 2.884.0 0.0.1 outpost_sdk" try: if __package__ is not None: diff --git a/sdks/outpost-python/src/outpost_sdk/models/destinationcreateawskinesis.py b/sdks/outpost-python/src/outpost_sdk/models/destinationcreateawskinesis.py index af02e7a8..37934648 100644 --- a/sdks/outpost-python/src/outpost_sdk/models/destinationcreateawskinesis.py +++ b/sdks/outpost-python/src/outpost_sdk/models/destinationcreateawskinesis.py @@ -4,6 +4,7 @@ from .awskinesisconfig import AWSKinesisConfig, AWSKinesisConfigTypedDict from .awskinesiscredentials import AWSKinesisCredentials, AWSKinesisCredentialsTypedDict from .topics_union import TopicsUnion, TopicsUnionTypedDict +from datetime import datetime from enum import Enum from outpost_sdk.types import ( BaseModel, @@ -44,6 +45,12 @@ class DestinationCreateAWSKinesisTypedDict(TypedDict): r"""Static key-value pairs merged into event metadata on every attempt.""" metadata: NotRequired[Nullable[Dict[str, str]]] r"""Arbitrary contextual information stored with the destination.""" + created_at: NotRequired[Nullable[datetime]] + r"""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.""" + updated_at: NotRequired[Nullable[datetime]] + r"""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.""" + disabled_at: NotRequired[Nullable[datetime]] + r"""If set, the destination is created in a disabled state with this timestamp. Must not be in the future. Defaults to null (enabled).""" class DestinationCreateAWSKinesis(BaseModel): @@ -76,10 +83,38 @@ class DestinationCreateAWSKinesis(BaseModel): metadata: OptionalNullable[Dict[str, str]] = UNSET r"""Arbitrary contextual information stored with the destination.""" + created_at: OptionalNullable[datetime] = UNSET + r"""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.""" + + updated_at: OptionalNullable[datetime] = UNSET + r"""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.""" + + disabled_at: OptionalNullable[datetime] = UNSET + r"""If set, the destination is created in a disabled state with this timestamp. Must not be in the future. Defaults to null (enabled).""" + @model_serializer(mode="wrap") def serialize_model(self, handler): - optional_fields = set(["id", "filter", "delivery_metadata", "metadata"]) - nullable_fields = set(["filter", "delivery_metadata", "metadata"]) + optional_fields = set( + [ + "id", + "filter", + "delivery_metadata", + "metadata", + "created_at", + "updated_at", + "disabled_at", + ] + ) + nullable_fields = set( + [ + "filter", + "delivery_metadata", + "metadata", + "created_at", + "updated_at", + "disabled_at", + ] + ) serialized = handler(self) m = {} diff --git a/sdks/outpost-python/src/outpost_sdk/models/destinationcreateawss3.py b/sdks/outpost-python/src/outpost_sdk/models/destinationcreateawss3.py index eea4ab80..f72b2f6c 100644 --- a/sdks/outpost-python/src/outpost_sdk/models/destinationcreateawss3.py +++ b/sdks/outpost-python/src/outpost_sdk/models/destinationcreateawss3.py @@ -4,6 +4,7 @@ from .awss3config import Awss3Config, Awss3ConfigTypedDict from .awss3credentials import Awss3Credentials, Awss3CredentialsTypedDict from .topics_union import TopicsUnion, TopicsUnionTypedDict +from datetime import datetime from enum import Enum from outpost_sdk.types import ( BaseModel, @@ -44,6 +45,12 @@ class DestinationCreateAwss3TypedDict(TypedDict): r"""Static key-value pairs merged into event metadata on every attempt.""" metadata: NotRequired[Nullable[Dict[str, str]]] r"""Arbitrary contextual information stored with the destination.""" + created_at: NotRequired[Nullable[datetime]] + r"""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.""" + updated_at: NotRequired[Nullable[datetime]] + r"""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.""" + disabled_at: NotRequired[Nullable[datetime]] + r"""If set, the destination is created in a disabled state with this timestamp. Must not be in the future. Defaults to null (enabled).""" class DestinationCreateAwss3(BaseModel): @@ -76,10 +83,38 @@ class DestinationCreateAwss3(BaseModel): metadata: OptionalNullable[Dict[str, str]] = UNSET r"""Arbitrary contextual information stored with the destination.""" + created_at: OptionalNullable[datetime] = UNSET + r"""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.""" + + updated_at: OptionalNullable[datetime] = UNSET + r"""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.""" + + disabled_at: OptionalNullable[datetime] = UNSET + r"""If set, the destination is created in a disabled state with this timestamp. Must not be in the future. Defaults to null (enabled).""" + @model_serializer(mode="wrap") def serialize_model(self, handler): - optional_fields = set(["id", "filter", "delivery_metadata", "metadata"]) - nullable_fields = set(["filter", "delivery_metadata", "metadata"]) + optional_fields = set( + [ + "id", + "filter", + "delivery_metadata", + "metadata", + "created_at", + "updated_at", + "disabled_at", + ] + ) + nullable_fields = set( + [ + "filter", + "delivery_metadata", + "metadata", + "created_at", + "updated_at", + "disabled_at", + ] + ) serialized = handler(self) m = {} diff --git a/sdks/outpost-python/src/outpost_sdk/models/destinationcreateawssqs.py b/sdks/outpost-python/src/outpost_sdk/models/destinationcreateawssqs.py index 00d4cb9b..5023bc7f 100644 --- a/sdks/outpost-python/src/outpost_sdk/models/destinationcreateawssqs.py +++ b/sdks/outpost-python/src/outpost_sdk/models/destinationcreateawssqs.py @@ -4,6 +4,7 @@ from .awssqsconfig import AWSSQSConfig, AWSSQSConfigTypedDict from .awssqscredentials import AWSSQSCredentials, AWSSQSCredentialsTypedDict from .topics_union import TopicsUnion, TopicsUnionTypedDict +from datetime import datetime from enum import Enum from outpost_sdk.types import ( BaseModel, @@ -44,6 +45,12 @@ class DestinationCreateAWSSQSTypedDict(TypedDict): r"""Static key-value pairs merged into event metadata on every attempt.""" metadata: NotRequired[Nullable[Dict[str, str]]] r"""Arbitrary contextual information stored with the destination.""" + created_at: NotRequired[Nullable[datetime]] + r"""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.""" + updated_at: NotRequired[Nullable[datetime]] + r"""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.""" + disabled_at: NotRequired[Nullable[datetime]] + r"""If set, the destination is created in a disabled state with this timestamp. Must not be in the future. Defaults to null (enabled).""" class DestinationCreateAWSSQS(BaseModel): @@ -76,10 +83,38 @@ class DestinationCreateAWSSQS(BaseModel): metadata: OptionalNullable[Dict[str, str]] = UNSET r"""Arbitrary contextual information stored with the destination.""" + created_at: OptionalNullable[datetime] = UNSET + r"""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.""" + + updated_at: OptionalNullable[datetime] = UNSET + r"""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.""" + + disabled_at: OptionalNullable[datetime] = UNSET + r"""If set, the destination is created in a disabled state with this timestamp. Must not be in the future. Defaults to null (enabled).""" + @model_serializer(mode="wrap") def serialize_model(self, handler): - optional_fields = set(["id", "filter", "delivery_metadata", "metadata"]) - nullable_fields = set(["filter", "delivery_metadata", "metadata"]) + optional_fields = set( + [ + "id", + "filter", + "delivery_metadata", + "metadata", + "created_at", + "updated_at", + "disabled_at", + ] + ) + nullable_fields = set( + [ + "filter", + "delivery_metadata", + "metadata", + "created_at", + "updated_at", + "disabled_at", + ] + ) serialized = handler(self) m = {} diff --git a/sdks/outpost-python/src/outpost_sdk/models/destinationcreateazureservicebus.py b/sdks/outpost-python/src/outpost_sdk/models/destinationcreateazureservicebus.py index de806f4b..08d0f487 100644 --- a/sdks/outpost-python/src/outpost_sdk/models/destinationcreateazureservicebus.py +++ b/sdks/outpost-python/src/outpost_sdk/models/destinationcreateazureservicebus.py @@ -7,6 +7,7 @@ AzureServiceBusCredentialsTypedDict, ) from .topics_union import TopicsUnion, TopicsUnionTypedDict +from datetime import datetime from enum import Enum from outpost_sdk.types import ( BaseModel, @@ -47,6 +48,12 @@ class DestinationCreateAzureServiceBusTypedDict(TypedDict): r"""Static key-value pairs merged into event metadata on every attempt.""" metadata: NotRequired[Nullable[Dict[str, str]]] r"""Arbitrary contextual information stored with the destination.""" + created_at: NotRequired[Nullable[datetime]] + r"""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.""" + updated_at: NotRequired[Nullable[datetime]] + r"""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.""" + disabled_at: NotRequired[Nullable[datetime]] + r"""If set, the destination is created in a disabled state with this timestamp. Must not be in the future. Defaults to null (enabled).""" class DestinationCreateAzureServiceBus(BaseModel): @@ -79,10 +86,38 @@ class DestinationCreateAzureServiceBus(BaseModel): metadata: OptionalNullable[Dict[str, str]] = UNSET r"""Arbitrary contextual information stored with the destination.""" + created_at: OptionalNullable[datetime] = UNSET + r"""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.""" + + updated_at: OptionalNullable[datetime] = UNSET + r"""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.""" + + disabled_at: OptionalNullable[datetime] = UNSET + r"""If set, the destination is created in a disabled state with this timestamp. Must not be in the future. Defaults to null (enabled).""" + @model_serializer(mode="wrap") def serialize_model(self, handler): - optional_fields = set(["id", "filter", "delivery_metadata", "metadata"]) - nullable_fields = set(["filter", "delivery_metadata", "metadata"]) + optional_fields = set( + [ + "id", + "filter", + "delivery_metadata", + "metadata", + "created_at", + "updated_at", + "disabled_at", + ] + ) + nullable_fields = set( + [ + "filter", + "delivery_metadata", + "metadata", + "created_at", + "updated_at", + "disabled_at", + ] + ) serialized = handler(self) m = {} diff --git a/sdks/outpost-python/src/outpost_sdk/models/destinationcreategcppubsub.py b/sdks/outpost-python/src/outpost_sdk/models/destinationcreategcppubsub.py index 1adae1c5..e569b239 100644 --- a/sdks/outpost-python/src/outpost_sdk/models/destinationcreategcppubsub.py +++ b/sdks/outpost-python/src/outpost_sdk/models/destinationcreategcppubsub.py @@ -4,6 +4,7 @@ from .gcppubsubconfig import GCPPubSubConfig, GCPPubSubConfigTypedDict from .gcppubsubcredentials import GCPPubSubCredentials, GCPPubSubCredentialsTypedDict from .topics_union import TopicsUnion, TopicsUnionTypedDict +from datetime import datetime from enum import Enum from outpost_sdk.types import ( BaseModel, @@ -44,6 +45,12 @@ class DestinationCreateGCPPubSubTypedDict(TypedDict): r"""Static key-value pairs merged into event metadata on every attempt.""" metadata: NotRequired[Nullable[Dict[str, str]]] r"""Arbitrary contextual information stored with the destination.""" + created_at: NotRequired[Nullable[datetime]] + r"""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.""" + updated_at: NotRequired[Nullable[datetime]] + r"""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.""" + disabled_at: NotRequired[Nullable[datetime]] + r"""If set, the destination is created in a disabled state with this timestamp. Must not be in the future. Defaults to null (enabled).""" class DestinationCreateGCPPubSub(BaseModel): @@ -76,10 +83,38 @@ class DestinationCreateGCPPubSub(BaseModel): metadata: OptionalNullable[Dict[str, str]] = UNSET r"""Arbitrary contextual information stored with the destination.""" + created_at: OptionalNullable[datetime] = UNSET + r"""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.""" + + updated_at: OptionalNullable[datetime] = UNSET + r"""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.""" + + disabled_at: OptionalNullable[datetime] = UNSET + r"""If set, the destination is created in a disabled state with this timestamp. Must not be in the future. Defaults to null (enabled).""" + @model_serializer(mode="wrap") def serialize_model(self, handler): - optional_fields = set(["id", "filter", "delivery_metadata", "metadata"]) - nullable_fields = set(["filter", "delivery_metadata", "metadata"]) + optional_fields = set( + [ + "id", + "filter", + "delivery_metadata", + "metadata", + "created_at", + "updated_at", + "disabled_at", + ] + ) + nullable_fields = set( + [ + "filter", + "delivery_metadata", + "metadata", + "created_at", + "updated_at", + "disabled_at", + ] + ) serialized = handler(self) m = {} diff --git a/sdks/outpost-python/src/outpost_sdk/models/destinationcreatehookdeck.py b/sdks/outpost-python/src/outpost_sdk/models/destinationcreatehookdeck.py index 9c4cd8dc..8f74c2a6 100644 --- a/sdks/outpost-python/src/outpost_sdk/models/destinationcreatehookdeck.py +++ b/sdks/outpost-python/src/outpost_sdk/models/destinationcreatehookdeck.py @@ -3,6 +3,7 @@ from __future__ import annotations from .hookdeckcredentials import HookdeckCredentials, HookdeckCredentialsTypedDict from .topics_union import TopicsUnion, TopicsUnionTypedDict +from datetime import datetime from enum import Enum from outpost_sdk.types import ( BaseModel, @@ -43,6 +44,12 @@ class DestinationCreateHookdeckTypedDict(TypedDict): r"""Static key-value pairs merged into event metadata on every attempt.""" metadata: NotRequired[Nullable[Dict[str, str]]] r"""Arbitrary contextual information stored with the destination.""" + created_at: NotRequired[Nullable[datetime]] + r"""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.""" + updated_at: NotRequired[Nullable[datetime]] + r"""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.""" + disabled_at: NotRequired[Nullable[datetime]] + r"""If set, the destination is created in a disabled state with this timestamp. Must not be in the future. Defaults to null (enabled).""" class DestinationCreateHookdeck(BaseModel): @@ -75,12 +82,39 @@ class DestinationCreateHookdeck(BaseModel): metadata: OptionalNullable[Dict[str, str]] = UNSET r"""Arbitrary contextual information stored with the destination.""" + created_at: OptionalNullable[datetime] = UNSET + r"""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.""" + + updated_at: OptionalNullable[datetime] = UNSET + r"""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.""" + + disabled_at: OptionalNullable[datetime] = UNSET + r"""If set, the destination is created in a disabled state with this timestamp. Must not be in the future. Defaults to null (enabled).""" + @model_serializer(mode="wrap") def serialize_model(self, handler): optional_fields = set( - ["id", "filter", "config", "delivery_metadata", "metadata"] + [ + "id", + "filter", + "config", + "delivery_metadata", + "metadata", + "created_at", + "updated_at", + "disabled_at", + ] + ) + nullable_fields = set( + [ + "filter", + "delivery_metadata", + "metadata", + "created_at", + "updated_at", + "disabled_at", + ] ) - nullable_fields = set(["filter", "delivery_metadata", "metadata"]) serialized = handler(self) m = {} diff --git a/sdks/outpost-python/src/outpost_sdk/models/destinationcreatekafka.py b/sdks/outpost-python/src/outpost_sdk/models/destinationcreatekafka.py index a5b7f5bd..55185c9a 100644 --- a/sdks/outpost-python/src/outpost_sdk/models/destinationcreatekafka.py +++ b/sdks/outpost-python/src/outpost_sdk/models/destinationcreatekafka.py @@ -4,6 +4,7 @@ from .kafkaconfig import KafkaConfig, KafkaConfigTypedDict from .kafkacredentials import KafkaCredentials, KafkaCredentialsTypedDict from .topics_union import TopicsUnion, TopicsUnionTypedDict +from datetime import datetime from enum import Enum from outpost_sdk.types import ( BaseModel, @@ -44,6 +45,12 @@ class DestinationCreateKafkaTypedDict(TypedDict): r"""Static key-value pairs merged into event metadata on every attempt.""" metadata: NotRequired[Nullable[Dict[str, str]]] r"""Arbitrary contextual information stored with the destination.""" + created_at: NotRequired[Nullable[datetime]] + r"""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.""" + updated_at: NotRequired[Nullable[datetime]] + r"""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.""" + disabled_at: NotRequired[Nullable[datetime]] + r"""If set, the destination is created in a disabled state with this timestamp. Must not be in the future. Defaults to null (enabled).""" class DestinationCreateKafka(BaseModel): @@ -76,10 +83,38 @@ class DestinationCreateKafka(BaseModel): metadata: OptionalNullable[Dict[str, str]] = UNSET r"""Arbitrary contextual information stored with the destination.""" + created_at: OptionalNullable[datetime] = UNSET + r"""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.""" + + updated_at: OptionalNullable[datetime] = UNSET + r"""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.""" + + disabled_at: OptionalNullable[datetime] = UNSET + r"""If set, the destination is created in a disabled state with this timestamp. Must not be in the future. Defaults to null (enabled).""" + @model_serializer(mode="wrap") def serialize_model(self, handler): - optional_fields = set(["id", "filter", "delivery_metadata", "metadata"]) - nullable_fields = set(["filter", "delivery_metadata", "metadata"]) + optional_fields = set( + [ + "id", + "filter", + "delivery_metadata", + "metadata", + "created_at", + "updated_at", + "disabled_at", + ] + ) + nullable_fields = set( + [ + "filter", + "delivery_metadata", + "metadata", + "created_at", + "updated_at", + "disabled_at", + ] + ) serialized = handler(self) m = {} diff --git a/sdks/outpost-python/src/outpost_sdk/models/destinationcreaterabbitmq.py b/sdks/outpost-python/src/outpost_sdk/models/destinationcreaterabbitmq.py index 5b5cb557..28d83bd6 100644 --- a/sdks/outpost-python/src/outpost_sdk/models/destinationcreaterabbitmq.py +++ b/sdks/outpost-python/src/outpost_sdk/models/destinationcreaterabbitmq.py @@ -4,6 +4,7 @@ from .rabbitmqconfig import RabbitMQConfig, RabbitMQConfigTypedDict from .rabbitmqcredentials import RabbitMQCredentials, RabbitMQCredentialsTypedDict from .topics_union import TopicsUnion, TopicsUnionTypedDict +from datetime import datetime from enum import Enum from outpost_sdk.types import ( BaseModel, @@ -44,6 +45,12 @@ class DestinationCreateRabbitMQTypedDict(TypedDict): r"""Static key-value pairs merged into event metadata on every attempt.""" metadata: NotRequired[Nullable[Dict[str, str]]] r"""Arbitrary contextual information stored with the destination.""" + created_at: NotRequired[Nullable[datetime]] + r"""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.""" + updated_at: NotRequired[Nullable[datetime]] + r"""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.""" + disabled_at: NotRequired[Nullable[datetime]] + r"""If set, the destination is created in a disabled state with this timestamp. Must not be in the future. Defaults to null (enabled).""" class DestinationCreateRabbitMQ(BaseModel): @@ -76,10 +83,38 @@ class DestinationCreateRabbitMQ(BaseModel): metadata: OptionalNullable[Dict[str, str]] = UNSET r"""Arbitrary contextual information stored with the destination.""" + created_at: OptionalNullable[datetime] = UNSET + r"""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.""" + + updated_at: OptionalNullable[datetime] = UNSET + r"""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.""" + + disabled_at: OptionalNullable[datetime] = UNSET + r"""If set, the destination is created in a disabled state with this timestamp. Must not be in the future. Defaults to null (enabled).""" + @model_serializer(mode="wrap") def serialize_model(self, handler): - optional_fields = set(["id", "filter", "delivery_metadata", "metadata"]) - nullable_fields = set(["filter", "delivery_metadata", "metadata"]) + optional_fields = set( + [ + "id", + "filter", + "delivery_metadata", + "metadata", + "created_at", + "updated_at", + "disabled_at", + ] + ) + nullable_fields = set( + [ + "filter", + "delivery_metadata", + "metadata", + "created_at", + "updated_at", + "disabled_at", + ] + ) serialized = handler(self) m = {} diff --git a/sdks/outpost-python/src/outpost_sdk/models/destinationcreatewebhook.py b/sdks/outpost-python/src/outpost_sdk/models/destinationcreatewebhook.py index 73cb639c..c8b97331 100644 --- a/sdks/outpost-python/src/outpost_sdk/models/destinationcreatewebhook.py +++ b/sdks/outpost-python/src/outpost_sdk/models/destinationcreatewebhook.py @@ -4,6 +4,7 @@ from .topics_union import TopicsUnion, TopicsUnionTypedDict from .webhookconfig import WebhookConfig, WebhookConfigTypedDict from .webhookcredentials import WebhookCredentials, WebhookCredentialsTypedDict +from datetime import datetime from enum import Enum from outpost_sdk.types import ( BaseModel, @@ -44,6 +45,12 @@ class DestinationCreateWebhookTypedDict(TypedDict): r"""Static key-value pairs merged into event metadata on every attempt.""" metadata: NotRequired[Nullable[Dict[str, str]]] r"""Arbitrary contextual information stored with the destination.""" + created_at: NotRequired[Nullable[datetime]] + r"""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.""" + updated_at: NotRequired[Nullable[datetime]] + r"""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.""" + disabled_at: NotRequired[Nullable[datetime]] + r"""If set, the destination is created in a disabled state with this timestamp. Must not be in the future. Defaults to null (enabled).""" class DestinationCreateWebhook(BaseModel): @@ -76,12 +83,39 @@ class DestinationCreateWebhook(BaseModel): metadata: OptionalNullable[Dict[str, str]] = UNSET r"""Arbitrary contextual information stored with the destination.""" + created_at: OptionalNullable[datetime] = UNSET + r"""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.""" + + updated_at: OptionalNullable[datetime] = UNSET + r"""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.""" + + disabled_at: OptionalNullable[datetime] = UNSET + r"""If set, the destination is created in a disabled state with this timestamp. Must not be in the future. Defaults to null (enabled).""" + @model_serializer(mode="wrap") def serialize_model(self, handler): optional_fields = set( - ["id", "filter", "credentials", "delivery_metadata", "metadata"] + [ + "id", + "filter", + "credentials", + "delivery_metadata", + "metadata", + "created_at", + "updated_at", + "disabled_at", + ] + ) + nullable_fields = set( + [ + "filter", + "delivery_metadata", + "metadata", + "created_at", + "updated_at", + "disabled_at", + ] ) - nullable_fields = set(["filter", "delivery_metadata", "metadata"]) serialized = handler(self) m = {} diff --git a/sdks/outpost-python/src/outpost_sdk/models/destinationupdateawskinesis.py b/sdks/outpost-python/src/outpost_sdk/models/destinationupdateawskinesis.py index 501ea8d7..4c4d0b67 100644 --- a/sdks/outpost-python/src/outpost_sdk/models/destinationupdateawskinesis.py +++ b/sdks/outpost-python/src/outpost_sdk/models/destinationupdateawskinesis.py @@ -4,6 +4,7 @@ from .awskinesisconfig import AWSKinesisConfig, AWSKinesisConfigTypedDict from .awskinesiscredentials import AWSKinesisCredentials, AWSKinesisCredentialsTypedDict from .topics_union import TopicsUnion, TopicsUnionTypedDict +from datetime import datetime from outpost_sdk.types import ( BaseModel, Nullable, @@ -33,6 +34,8 @@ class DestinationUpdateAWSKinesisTypedDict(TypedDict): 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]]]] r"""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.""" + disabled_at: NotRequired[Nullable[datetime]] + r"""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.""" class DestinationUpdateAWSKinesis(BaseModel): @@ -59,6 +62,9 @@ class DestinationUpdateAWSKinesis(BaseModel): metadata: OptionalNullable[Dict[str, Nullable[str]]] = UNSET r"""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.""" + disabled_at: OptionalNullable[datetime] = UNSET + r"""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.""" + @model_serializer(mode="wrap") def serialize_model(self, handler): optional_fields = set( @@ -69,9 +75,12 @@ def serialize_model(self, handler): "credentials", "delivery_metadata", "metadata", + "disabled_at", ] ) - nullable_fields = set(["filter", "delivery_metadata", "metadata"]) + nullable_fields = set( + ["filter", "delivery_metadata", "metadata", "disabled_at"] + ) serialized = handler(self) m = {} diff --git a/sdks/outpost-python/src/outpost_sdk/models/destinationupdateawss3.py b/sdks/outpost-python/src/outpost_sdk/models/destinationupdateawss3.py index d90c9ffa..67362ea7 100644 --- a/sdks/outpost-python/src/outpost_sdk/models/destinationupdateawss3.py +++ b/sdks/outpost-python/src/outpost_sdk/models/destinationupdateawss3.py @@ -4,6 +4,7 @@ from .awss3config import Awss3Config, Awss3ConfigTypedDict from .awss3credentials import Awss3Credentials, Awss3CredentialsTypedDict from .topics_union import TopicsUnion, TopicsUnionTypedDict +from datetime import datetime from outpost_sdk.types import ( BaseModel, Nullable, @@ -33,6 +34,8 @@ class DestinationUpdateAwss3TypedDict(TypedDict): 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]]]] r"""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.""" + disabled_at: NotRequired[Nullable[datetime]] + r"""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.""" class DestinationUpdateAwss3(BaseModel): @@ -59,6 +62,9 @@ class DestinationUpdateAwss3(BaseModel): metadata: OptionalNullable[Dict[str, Nullable[str]]] = UNSET r"""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.""" + disabled_at: OptionalNullable[datetime] = UNSET + r"""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.""" + @model_serializer(mode="wrap") def serialize_model(self, handler): optional_fields = set( @@ -69,9 +75,12 @@ def serialize_model(self, handler): "credentials", "delivery_metadata", "metadata", + "disabled_at", ] ) - nullable_fields = set(["filter", "delivery_metadata", "metadata"]) + nullable_fields = set( + ["filter", "delivery_metadata", "metadata", "disabled_at"] + ) serialized = handler(self) m = {} diff --git a/sdks/outpost-python/src/outpost_sdk/models/destinationupdateawssqs.py b/sdks/outpost-python/src/outpost_sdk/models/destinationupdateawssqs.py index ad05008b..778c4962 100644 --- a/sdks/outpost-python/src/outpost_sdk/models/destinationupdateawssqs.py +++ b/sdks/outpost-python/src/outpost_sdk/models/destinationupdateawssqs.py @@ -4,6 +4,7 @@ from .awssqsconfig import AWSSQSConfig, AWSSQSConfigTypedDict from .awssqscredentials import AWSSQSCredentials, AWSSQSCredentialsTypedDict from .topics_union import TopicsUnion, TopicsUnionTypedDict +from datetime import datetime from outpost_sdk.types import ( BaseModel, Nullable, @@ -33,6 +34,8 @@ class DestinationUpdateAWSSQSTypedDict(TypedDict): 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]]]] r"""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.""" + disabled_at: NotRequired[Nullable[datetime]] + r"""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.""" class DestinationUpdateAWSSQS(BaseModel): @@ -59,6 +62,9 @@ class DestinationUpdateAWSSQS(BaseModel): metadata: OptionalNullable[Dict[str, Nullable[str]]] = UNSET r"""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.""" + disabled_at: OptionalNullable[datetime] = UNSET + r"""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.""" + @model_serializer(mode="wrap") def serialize_model(self, handler): optional_fields = set( @@ -69,9 +75,12 @@ def serialize_model(self, handler): "credentials", "delivery_metadata", "metadata", + "disabled_at", ] ) - nullable_fields = set(["filter", "delivery_metadata", "metadata"]) + nullable_fields = set( + ["filter", "delivery_metadata", "metadata", "disabled_at"] + ) serialized = handler(self) m = {} diff --git a/sdks/outpost-python/src/outpost_sdk/models/destinationupdateazureservicebus.py b/sdks/outpost-python/src/outpost_sdk/models/destinationupdateazureservicebus.py index d3500f18..de34250b 100644 --- a/sdks/outpost-python/src/outpost_sdk/models/destinationupdateazureservicebus.py +++ b/sdks/outpost-python/src/outpost_sdk/models/destinationupdateazureservicebus.py @@ -7,6 +7,7 @@ AzureServiceBusCredentialsTypedDict, ) from .topics_union import TopicsUnion, TopicsUnionTypedDict +from datetime import datetime from outpost_sdk.types import ( BaseModel, Nullable, @@ -36,6 +37,8 @@ class DestinationUpdateAzureServiceBusTypedDict(TypedDict): 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]]]] r"""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.""" + disabled_at: NotRequired[Nullable[datetime]] + r"""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.""" class DestinationUpdateAzureServiceBus(BaseModel): @@ -62,6 +65,9 @@ class DestinationUpdateAzureServiceBus(BaseModel): metadata: OptionalNullable[Dict[str, Nullable[str]]] = UNSET r"""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.""" + disabled_at: OptionalNullable[datetime] = UNSET + r"""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.""" + @model_serializer(mode="wrap") def serialize_model(self, handler): optional_fields = set( @@ -72,9 +78,12 @@ def serialize_model(self, handler): "credentials", "delivery_metadata", "metadata", + "disabled_at", ] ) - nullable_fields = set(["filter", "delivery_metadata", "metadata"]) + nullable_fields = set( + ["filter", "delivery_metadata", "metadata", "disabled_at"] + ) serialized = handler(self) m = {} diff --git a/sdks/outpost-python/src/outpost_sdk/models/destinationupdategcppubsub.py b/sdks/outpost-python/src/outpost_sdk/models/destinationupdategcppubsub.py index ba9af94f..a5e1d36f 100644 --- a/sdks/outpost-python/src/outpost_sdk/models/destinationupdategcppubsub.py +++ b/sdks/outpost-python/src/outpost_sdk/models/destinationupdategcppubsub.py @@ -4,6 +4,7 @@ from .gcppubsubconfig import GCPPubSubConfig, GCPPubSubConfigTypedDict from .gcppubsubcredentials import GCPPubSubCredentials, GCPPubSubCredentialsTypedDict from .topics_union import TopicsUnion, TopicsUnionTypedDict +from datetime import datetime from outpost_sdk.types import ( BaseModel, Nullable, @@ -33,6 +34,8 @@ class DestinationUpdateGCPPubSubTypedDict(TypedDict): 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]]]] r"""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.""" + disabled_at: NotRequired[Nullable[datetime]] + r"""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.""" class DestinationUpdateGCPPubSub(BaseModel): @@ -59,6 +62,9 @@ class DestinationUpdateGCPPubSub(BaseModel): metadata: OptionalNullable[Dict[str, Nullable[str]]] = UNSET r"""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.""" + disabled_at: OptionalNullable[datetime] = UNSET + r"""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.""" + @model_serializer(mode="wrap") def serialize_model(self, handler): optional_fields = set( @@ -69,9 +75,12 @@ def serialize_model(self, handler): "credentials", "delivery_metadata", "metadata", + "disabled_at", ] ) - nullable_fields = set(["filter", "delivery_metadata", "metadata"]) + nullable_fields = set( + ["filter", "delivery_metadata", "metadata", "disabled_at"] + ) serialized = handler(self) m = {} diff --git a/sdks/outpost-python/src/outpost_sdk/models/destinationupdatehookdeck.py b/sdks/outpost-python/src/outpost_sdk/models/destinationupdatehookdeck.py index 49539baa..a01775b1 100644 --- a/sdks/outpost-python/src/outpost_sdk/models/destinationupdatehookdeck.py +++ b/sdks/outpost-python/src/outpost_sdk/models/destinationupdatehookdeck.py @@ -3,6 +3,7 @@ from __future__ import annotations from .hookdeckcredentials import HookdeckCredentials, HookdeckCredentialsTypedDict from .topics_union import TopicsUnion, TopicsUnionTypedDict +from datetime import datetime from outpost_sdk.types import ( BaseModel, Nullable, @@ -32,6 +33,8 @@ class DestinationUpdateHookdeckTypedDict(TypedDict): 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]]]] r"""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.""" + disabled_at: NotRequired[Nullable[datetime]] + r"""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.""" class DestinationUpdateHookdeck(BaseModel): @@ -58,6 +61,9 @@ class DestinationUpdateHookdeck(BaseModel): metadata: OptionalNullable[Dict[str, Nullable[str]]] = UNSET r"""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.""" + disabled_at: OptionalNullable[datetime] = UNSET + r"""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.""" + @model_serializer(mode="wrap") def serialize_model(self, handler): optional_fields = set( @@ -68,9 +74,12 @@ def serialize_model(self, handler): "credentials", "delivery_metadata", "metadata", + "disabled_at", ] ) - nullable_fields = set(["filter", "delivery_metadata", "metadata"]) + nullable_fields = set( + ["filter", "delivery_metadata", "metadata", "disabled_at"] + ) serialized = handler(self) m = {} diff --git a/sdks/outpost-python/src/outpost_sdk/models/destinationupdatekafka.py b/sdks/outpost-python/src/outpost_sdk/models/destinationupdatekafka.py index 90868e18..3d2343bc 100644 --- a/sdks/outpost-python/src/outpost_sdk/models/destinationupdatekafka.py +++ b/sdks/outpost-python/src/outpost_sdk/models/destinationupdatekafka.py @@ -4,6 +4,7 @@ from .kafkaconfig import KafkaConfig, KafkaConfigTypedDict from .kafkacredentials import KafkaCredentials, KafkaCredentialsTypedDict from .topics_union import TopicsUnion, TopicsUnionTypedDict +from datetime import datetime from outpost_sdk.types import ( BaseModel, Nullable, @@ -33,6 +34,8 @@ class DestinationUpdateKafkaTypedDict(TypedDict): 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]]]] r"""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.""" + disabled_at: NotRequired[Nullable[datetime]] + r"""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.""" class DestinationUpdateKafka(BaseModel): @@ -59,6 +62,9 @@ class DestinationUpdateKafka(BaseModel): metadata: OptionalNullable[Dict[str, Nullable[str]]] = UNSET r"""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.""" + disabled_at: OptionalNullable[datetime] = UNSET + r"""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.""" + @model_serializer(mode="wrap") def serialize_model(self, handler): optional_fields = set( @@ -69,9 +75,12 @@ def serialize_model(self, handler): "credentials", "delivery_metadata", "metadata", + "disabled_at", ] ) - nullable_fields = set(["filter", "delivery_metadata", "metadata"]) + nullable_fields = set( + ["filter", "delivery_metadata", "metadata", "disabled_at"] + ) serialized = handler(self) m = {} diff --git a/sdks/outpost-python/src/outpost_sdk/models/destinationupdaterabbitmq.py b/sdks/outpost-python/src/outpost_sdk/models/destinationupdaterabbitmq.py index 19f1fbe8..6290d37b 100644 --- a/sdks/outpost-python/src/outpost_sdk/models/destinationupdaterabbitmq.py +++ b/sdks/outpost-python/src/outpost_sdk/models/destinationupdaterabbitmq.py @@ -4,6 +4,7 @@ from .rabbitmqconfig import RabbitMQConfig, RabbitMQConfigTypedDict from .rabbitmqcredentials import RabbitMQCredentials, RabbitMQCredentialsTypedDict from .topics_union import TopicsUnion, TopicsUnionTypedDict +from datetime import datetime from outpost_sdk.types import ( BaseModel, Nullable, @@ -33,6 +34,8 @@ class DestinationUpdateRabbitMQTypedDict(TypedDict): 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]]]] r"""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.""" + disabled_at: NotRequired[Nullable[datetime]] + r"""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.""" class DestinationUpdateRabbitMQ(BaseModel): @@ -59,6 +62,9 @@ class DestinationUpdateRabbitMQ(BaseModel): metadata: OptionalNullable[Dict[str, Nullable[str]]] = UNSET r"""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.""" + disabled_at: OptionalNullable[datetime] = UNSET + r"""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.""" + @model_serializer(mode="wrap") def serialize_model(self, handler): optional_fields = set( @@ -69,9 +75,12 @@ def serialize_model(self, handler): "credentials", "delivery_metadata", "metadata", + "disabled_at", ] ) - nullable_fields = set(["filter", "delivery_metadata", "metadata"]) + nullable_fields = set( + ["filter", "delivery_metadata", "metadata", "disabled_at"] + ) serialized = handler(self) m = {} diff --git a/sdks/outpost-python/src/outpost_sdk/models/destinationupdatewebhook.py b/sdks/outpost-python/src/outpost_sdk/models/destinationupdatewebhook.py index e0030a15..7d606a70 100644 --- a/sdks/outpost-python/src/outpost_sdk/models/destinationupdatewebhook.py +++ b/sdks/outpost-python/src/outpost_sdk/models/destinationupdatewebhook.py @@ -7,6 +7,7 @@ WebhookCredentialsUpdate, WebhookCredentialsUpdateTypedDict, ) +from datetime import datetime from outpost_sdk.types import ( BaseModel, Nullable, @@ -36,6 +37,8 @@ class DestinationUpdateWebhookTypedDict(TypedDict): 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]]]] r"""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.""" + disabled_at: NotRequired[Nullable[datetime]] + r"""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.""" class DestinationUpdateWebhook(BaseModel): @@ -62,6 +65,9 @@ class DestinationUpdateWebhook(BaseModel): metadata: OptionalNullable[Dict[str, Nullable[str]]] = UNSET r"""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.""" + disabled_at: OptionalNullable[datetime] = UNSET + r"""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.""" + @model_serializer(mode="wrap") def serialize_model(self, handler): optional_fields = set( @@ -72,9 +78,12 @@ def serialize_model(self, handler): "credentials", "delivery_metadata", "metadata", + "disabled_at", ] ) - nullable_fields = set(["filter", "delivery_metadata", "metadata"]) + nullable_fields = set( + ["filter", "delivery_metadata", "metadata", "disabled_at"] + ) serialized = handler(self) m = {} diff --git a/sdks/outpost-typescript/.speakeasy/gen.lock b/sdks/outpost-typescript/.speakeasy/gen.lock index d9fac6e4..3d4a8a70 100644 --- a/sdks/outpost-typescript/.speakeasy/gen.lock +++ b/sdks/outpost-typescript/.speakeasy/gen.lock @@ -1,26 +1,26 @@ lockVersion: 2.0.0 id: edb58086-83b9-45a3-9095-52bf57a11009 management: - docChecksum: 999d7e943bb9e6840e0467a83ee82df5 + docChecksum: ba9338c585323184c72cd4f8dec2240e docVersion: 0.0.1 - speakeasyVersion: 1.761.10 - generationVersion: 2.881.16 - releaseVersion: 1.2.0 - configChecksum: 5f1d321a922009b1e697bb1848faf3f5 + speakeasyVersion: 1.763.0 + generationVersion: 2.884.0 + releaseVersion: 1.3.0 + configChecksum: 8fe2dbfdfa0c94da7c42b9edd9e61815 repoURL: https://github.com/hookdeck/outpost.git repoSubDirectory: sdks/outpost-typescript installationURL: https://github.com/hookdeck/outpost published: true persistentEdits: - generation_id: 1de8bd8d-d1f1-4357-93c9-41b6d909dca2 - pristine_commit_hash: 6eb3380f71edd6fa6129b8f0f8a035f25599745c - pristine_tree_hash: 93f04f280bce056e2f84c1269b92437d48a76519 + generation_id: e2c22781-4212-4cf6-939f-bc597bda4bf6 + pristine_commit_hash: 2a707108e02cbf772ad32726087ceb5544a9f077 + pristine_tree_hash: d6c481d6261d933d414d091b76904a0fa2a288e8 features: typescript: additionalDependencies: 0.1.0 additionalProperties: 0.1.3 constsAndDefaults: 0.1.14 - core: 3.26.49 + core: 3.26.50 defaultEnabledRetries: 0.1.0 enumUnions: 0.1.0 envVarSecurityUsage: 0.1.2 @@ -125,44 +125,44 @@ trackedFiles: pristine_git_object: ad7d475168f33b28df72500631ab4534d4fabe0f docs/models/components/destinationcreate.md: id: d6b44cacc867 - last_write_checksum: sha1:34687800aea29dfdad599c20a906e78403e68e54 - pristine_git_object: e1fd9e9f25e69e3083714fdb8b18a97fba94b2bf + last_write_checksum: sha1:3ec7d270fcaeb5e21050b3f84ab1835fbbd1e518 + pristine_git_object: d3ad0a4872f652718122b55d1ed1e537d30ea6c3 docs/models/components/destinationcreateawskinesis.md: id: 5593f1bd5e1a - last_write_checksum: sha1:b26a52245051e3872be93bc0a0f41e792060ad60 - pristine_git_object: b0b21109adcebb1a39130941e54b33e2dae91da0 + last_write_checksum: sha1:787bc9f895c46c6c7e89579a566144673dab22bf + pristine_git_object: 50fe65cc747fde45eaed009f1ca067a64cb8b104 docs/models/components/destinationcreateawss3.md: id: af91634b61a0 - last_write_checksum: sha1:93a35ff40219e75901c137ec939df46d1376a14b - pristine_git_object: 180f95dd274826c52e879d82a52d2e9194921500 + last_write_checksum: sha1:721431002a5c8394f8503900d8a6fd2cbdcf52ad + pristine_git_object: d7fb6544c23669ca24d28ea9219c321a096cc1e7 docs/models/components/destinationcreateawssqs.md: id: c6b726f0ec14 - last_write_checksum: sha1:aa1f7c3c8daaf022944472ecd041819493f36b50 - pristine_git_object: 2bc5f98dc2766ea7bed765cccb78c66d7810555b + last_write_checksum: sha1:735e07745b8b8f061b1be022d78c7f2539fc2bdf + pristine_git_object: c3206ca751d8e5255611096c79478586e5a6e521 docs/models/components/destinationcreateazureservicebus.md: id: 89472b979d07 - last_write_checksum: sha1:4dadaf592deac552fb68ec01d425ba039bb7ffe3 - pristine_git_object: 26d622a82df330502d0ed36cf31b62af928cedf2 + last_write_checksum: sha1:951bcab5e60ffcbf09d708f4f72fe72e273d2873 + pristine_git_object: 38d624582deafb68abc70d62d64470899b0a93cf docs/models/components/destinationcreategcppubsub.md: id: 83e1ebef3406 - last_write_checksum: sha1:c28436a6c62ce96d1ab9fdf567bbfa271339ad5d - pristine_git_object: b30add563ca11b8f5fcc24185663c2525ab548f3 + last_write_checksum: sha1:01b39a77d772cff8a4ff68f76b6587988dce4bff + pristine_git_object: def195901bdca1c25d67458c01bef8877a4fe15e docs/models/components/destinationcreatehookdeck.md: id: a06f19b079ed - last_write_checksum: sha1:c0a485e26712171e5be195729c3ad1a75ada5eeb - pristine_git_object: 83c5d73f00f8b1b94a83cd201fdfca69ff5ed442 + last_write_checksum: sha1:44f2d26ca01a5bff1de7ae84d9c3dc3e9f1a2058 + pristine_git_object: 8b46138f01a9f4fb120392ddafc97dcf9da1b952 docs/models/components/destinationcreatekafka.md: id: 7c43fe1d2c1f - last_write_checksum: sha1:bc698e46549f3a2e01a5ed2387bffae987f06173 - pristine_git_object: 9e0cefc2493f73c1f7b843686e7ab137f62c03f2 + last_write_checksum: sha1:aec5d242b6ee7409fd9dfb477c74d090d5081069 + pristine_git_object: 0a309254a2938a3b73ec2627a4b41eaa9bb1c696 docs/models/components/destinationcreaterabbitmq.md: id: 3f95bd0221e2 - last_write_checksum: sha1:6a29106b57ac4227020fb94d0a3a0416f8f9041b - pristine_git_object: 52c9d00fde12def475e302e859a37fcfea27d392 + last_write_checksum: sha1:210b4869cf8ec63b8e882de61d2162f4b556cad4 + pristine_git_object: ad44e3ebbbe6fcd8a4512e2f84cafc05d0a2b178 docs/models/components/destinationcreatewebhook.md: id: 92e4ccbf4461 - last_write_checksum: sha1:46593f499d0ca97e6346afcb6a82733b946041b4 - pristine_git_object: 22d7fb3113a30adec1035c8ac6e4ae12a3d01159 + last_write_checksum: sha1:d2a83d18558b01aa70c8391ca001f6fe9a9bcc37 + pristine_git_object: 609c465cbb2059d512c69704f3aa7bd9489b7a34 docs/models/components/destinationgcppubsub.md: id: 557a06720b9c last_write_checksum: sha1:5c7106ca0297eefd75b6dfdd5e025fc66007bbd9 @@ -193,44 +193,44 @@ trackedFiles: pristine_git_object: b57b43c7846c2e5d7ce13568d4f578726229184f docs/models/components/destinationupdate.md: id: b3a23ab3e68a - last_write_checksum: sha1:570351ce7cc0d4239befd15e72aae6acac7a4a98 - pristine_git_object: f1862fe73d4440bec9da14da25cc6dcb5219332b + last_write_checksum: sha1:416d415ae1f8d4a21dbd956273f77dc256e5d0bb + pristine_git_object: a8f05110b00fe285d957df9b6f9dc5faf31a113c docs/models/components/destinationupdateawskinesis.md: id: e0a4842ef74c - last_write_checksum: sha1:bd51e1680849645002010ede172e6430454206c7 - pristine_git_object: d54302e07c0fb74946fc5127c491a3cf5d9ef068 + last_write_checksum: sha1:734a67a88d20e3c265ea92693c1ce4b9bdd51b9b + pristine_git_object: 12669f586db162354f0918338e334491b7be8479 docs/models/components/destinationupdateawss3.md: id: c250ff90df94 - last_write_checksum: sha1:f6d051c4a9e2296af898eec27375bcb30c7d465a - pristine_git_object: 9eb4699f2ffb28a0354e6c7e8d3da27fce16151a + last_write_checksum: sha1:72c026122f0a1ce3cd181ebf9d7412e519175ad1 + pristine_git_object: c414f640fd77d46e01502762258031e95980a7b3 docs/models/components/destinationupdateawssqs.md: id: e2401ded4e44 - last_write_checksum: sha1:37b7663b80c19dd513e5fac933640fb05be95091 - pristine_git_object: a2a8b67e876cec9408a3f37d85dc1a7f3cff0dbb + last_write_checksum: sha1:e293244d4553fd5c3efddffcb36a284458270879 + pristine_git_object: c73ba082e6526b9cc17b8c52900c07e5b14e7cc9 docs/models/components/destinationupdateazureservicebus.md: id: f230709db383 - last_write_checksum: sha1:143076067451cda0abbd10274a4ee0532cffb5cc - pristine_git_object: 2d41db76676e5cc18245b23f1a40520f4307a5c0 + last_write_checksum: sha1:441dc289c6409f40d2c84c50296df042d3faf639 + pristine_git_object: 287db6c6300946f9dcd313773a6e0b6097204194 docs/models/components/destinationupdategcppubsub.md: id: dfb954a0431a - last_write_checksum: sha1:22f5a4348ded6a0b4dc16e4fcb547b8f54fedbdd - pristine_git_object: c091c794c4b96b3a92710d419967c9efe92b55cf + last_write_checksum: sha1:69b9397e276c4c7d9d45b27b59f0e181cfe87165 + pristine_git_object: 696f32e0114dbfaaed791af261fced3f0d6135a1 docs/models/components/destinationupdatehookdeck.md: id: 2d0fe3ebe94f - last_write_checksum: sha1:e38b8354331aa8bd55cb186c65efcfff4a6f568d - pristine_git_object: 36a5d8c5f53721b53dd7dfe29bf4591beb67c9df + last_write_checksum: sha1:8d49f8169881369112b40c8847c391fff5a69193 + pristine_git_object: a45b9b14f3b0b3837405889abd4abdc33ce1e59e docs/models/components/destinationupdatekafka.md: id: 10be812cf1c0 - last_write_checksum: sha1:9703ec7e14133332f4c5bbd9134ef829b080c9c6 - pristine_git_object: 5d0783042d7a17c02d51053fefbd78547bbf64b2 + last_write_checksum: sha1:c82528454aedaf05ca1b585fa237ee1b0699d52d + pristine_git_object: fdbd46797c4d6e1db18b18a69079ade6adc86d26 docs/models/components/destinationupdaterabbitmq.md: id: 75ae8e40dfd5 - last_write_checksum: sha1:d6a55b929e70b25ca5649f08775f8a1e301721e5 - pristine_git_object: 8af275b9411ef33a3a4d2dc10c11959c6b911a60 + last_write_checksum: sha1:8405b1893262d341fa409b4f44551844c2bc31c1 + pristine_git_object: 70a47bf21a600a6f10dab61c8fd4028b01243498 docs/models/components/destinationupdatewebhook.md: id: 86013f6d41fd - last_write_checksum: sha1:78d9e57a4974736ea3013fe81c955187a436c025 - pristine_git_object: 76b8796a36820b41d6c7e78b4b8e26c71381f0ef + last_write_checksum: sha1:7259fbca2637068d328064603f1fdd17208c2a5d + pristine_git_object: 4fd8f4a88026988a1571d068cbcc2d149d7e6f28 docs/models/components/destinationwebhook.md: id: 1b6ca867dbc9 last_write_checksum: sha1:898c2e0d6821cdd172eeb9f68048fab41e8a333a @@ -769,8 +769,8 @@ trackedFiles: pristine_git_object: ce47ee1051d9f24fe130b622e1289cc01d5389a4 docs/models/operations/updatetenantdestinationrequest.md: id: 3806f88d7729 - last_write_checksum: sha1:e32becba8556a2d6fc821a0c762a9c336f44dcff - pristine_git_object: 1ededa919b7b3a3f9b526c4805d8001bd02496d6 + last_write_checksum: sha1:78a58227b8bca987d6370ebf561c20c83f0b2d20 + pristine_git_object: ac66cc5c5c889c3310ad0712f6f7e0395144debc docs/models/operations/updatetenantdestinationresponse.md: id: 7f18084651f9 last_write_checksum: sha1:30cac7fb7ac5b2bc772b254930b504e72c4cb83a @@ -845,12 +845,12 @@ trackedFiles: pristine_git_object: c9a9042272cbc4b2cf7ae93f82d4ea8a7d25bba2 jsr.json: id: 7f6ab7767282 - last_write_checksum: sha1:957175e5efa1b8db32a50b9c2d3038143e834e92 - pristine_git_object: dd158c187501dbdc8c91243768a533df2565e016 + last_write_checksum: sha1:7c6f8fffa16d50a5cdd22aa3368dde8c5606bf0a + pristine_git_object: 88aa58111c75a9401c892a10c93ec8c4280671ae package.json: id: 7030d0b2f71b - last_write_checksum: sha1:c071f8e74d3af8b2722b53af496dda0455f73d04 - pristine_git_object: 5f8de59edac1a08fbcdd3c01a07c2ba9c7a472d8 + last_write_checksum: sha1:4bec9768842f0e401f32e9ed7b2c58daab0eeb30 + pristine_git_object: bd9bbe45abca6ac3759377790e3bce25948721cf src/core.ts: id: f431fdbcd144 last_write_checksum: sha1:c858d8ea76a86c428e26943bf348319ba0a3c865 @@ -993,8 +993,8 @@ trackedFiles: pristine_git_object: 0aebd8b0a4867e35cb3348fc52921c3c0b4725b7 src/lib/config.ts: id: 320761608fb3 - last_write_checksum: sha1:3d496cf4060da4c1196865980e99ece3dbe272fc - pristine_git_object: d7966a0355b3aff748c3cda22165f5fb3b88147e + last_write_checksum: sha1:0a5877c860d9b932828eeb2bdf1f5306d3499732 + pristine_git_object: 20628c387d3c989acb90bef1ce41793fa5925f9a src/lib/dlv.ts: id: b1988214835a last_write_checksum: sha1:1dd3e3fbb4550c4bf31f5ef997faff355d6f3250 @@ -1073,8 +1073,8 @@ trackedFiles: pristine_git_object: 0955a573c2ce989d63c737410ab8cc28706d9f74 src/mcp-server/mcp-server.ts: id: aabbc4ab07c1 - last_write_checksum: sha1:eacf98e04cf80408425b06979bf1421bc18ef474 - pristine_git_object: 6b064ed39f80bd0b10699e8ec261abf8050ea376 + last_write_checksum: sha1:af6699cbc9e8c66bfa30c054381236601741b583 + pristine_git_object: 41e0c36a7b698dce00042a91d8e162f63682e3a4 src/mcp-server/prompts.ts: id: 26f3d73cbf31 last_write_checksum: sha1:3472c8babea2d3b44d3a61e42fbba471fbd936b7 @@ -1089,8 +1089,8 @@ trackedFiles: pristine_git_object: c25696d4c4f70e081fa5d87ad6891874c509a577 src/mcp-server/server.ts: id: 2784dd48e82a - last_write_checksum: sha1:e356475ad4089c3f47c455af61be70e1ca48f44d - pristine_git_object: fcc79bfc53877818ce0530bca33ab8702a140e8d + last_write_checksum: sha1:a9cbd49dd32d8eafe4bedfd9f8e6b53c0b9c8612 + pristine_git_object: 9b6a1c7229f965f65f90b0c382d724bc9e3044d6 src/mcp-server/shared.ts: id: 074e80d4be1e last_write_checksum: sha1:d89576cea2bef3856b7fc3e65b868875528be042 @@ -1281,40 +1281,40 @@ trackedFiles: pristine_git_object: 1e3de10a3829d58fde877b83f1ad9f5713ca24ec src/models/components/destinationcreateawskinesis.ts: id: 31386867025f - last_write_checksum: sha1:17024c11be0b6bc374fffa7b6323cf1258c1464e - pristine_git_object: d87f3b174c9c795826dcae8f4fff5920e627d994 + last_write_checksum: sha1:e352cffb79f7b4c5d20cea140ff47fc9d4c623b1 + pristine_git_object: d925c90c4c2e82e84b4c918ad09d777818694ef6 src/models/components/destinationcreateawss3.ts: id: 0cfd72b930a1 - last_write_checksum: sha1:b52e70fe85c0066df3383275a09f8a195319dbed - pristine_git_object: e8d852dcd8fe0bb1ce9f25223b1aef00a54ca031 + last_write_checksum: sha1:b6c01d1eac93ecb367252767ec2902082101fc8b + pristine_git_object: 06c35b94fdef3137a632c85255e2c4bf9f508758 src/models/components/destinationcreateawssqs.ts: id: 10e274471395 - last_write_checksum: sha1:b16a0c487c6892ac6d874c2c0cfd59a1a0d88cef - pristine_git_object: 337c59d145a993834605515717b42b75bf8cc19b + last_write_checksum: sha1:4409edd486c31669a06f99ea62b8c05aa3f52054 + pristine_git_object: 48b045fb7e3b4e85dcf642620a65e4076608c961 src/models/components/destinationcreateazureservicebus.ts: id: 558833995fa9 - last_write_checksum: sha1:3f56f08f76490689feb2a32e92ae422591eb602c - pristine_git_object: d7db0c57130120f2881d26bef5689a6f8cbec742 + last_write_checksum: sha1:9d1c1085e16d7ba238bb4bc13e4c817ef75dc57a + pristine_git_object: 1feda47563243fa8fc054833c4213d63876afc63 src/models/components/destinationcreategcppubsub.ts: id: a1f7ffb511bf - last_write_checksum: sha1:1f2cb9c6e534fc2eb19e27ea255c9b1014024ade - pristine_git_object: 47fd9eaefb2a99f051c8bfebfafd8dec4dfe6deb + last_write_checksum: sha1:70023192f880717086d2587591b1d5a68a1bbc1a + pristine_git_object: be9842dd3295d766fae359da36b51f6be0d3606e src/models/components/destinationcreatehookdeck.ts: id: 8e94b585fd09 - last_write_checksum: sha1:d7b2f9e40b3b38ce66756a98e2cde5147ad365d1 - pristine_git_object: 2d3570333f0d40ec2fb592a8a98bacdc6e436703 + last_write_checksum: sha1:e95075f11c1a7bb2bf3eec862c9e3407c5cdc290 + pristine_git_object: 9ed38b95b21a16eab6fd5df902d0db0ee347e85e src/models/components/destinationcreatekafka.ts: id: 54835dd92d9b - last_write_checksum: sha1:c2c065b9a501657eb4f4b56223efbac340b8e1b2 - pristine_git_object: 08290c700de733b1311f753d9f96786567793eba + last_write_checksum: sha1:00c07855b1224ab6c22c452e751768e1da717514 + pristine_git_object: 49f5e4d67ad225a9f3b8f383157151175b47b740 src/models/components/destinationcreaterabbitmq.ts: id: 7f76e132a79d - last_write_checksum: sha1:27df0899013a64af2548f412b00802e12b392118 - pristine_git_object: ad8b966691c699aef12b456865a4471efdeacf66 + last_write_checksum: sha1:6d33aa1a1f3285e963172d673e2ec71fc42afa6e + pristine_git_object: 02a4f815a96864e612a79bdd88933855bc1ff0dc src/models/components/destinationcreatewebhook.ts: id: 607f3944d876 - last_write_checksum: sha1:8f97fa8533f364b1a3f31dc628a967c0c1c62334 - pristine_git_object: 2763acb1f73e8911089f5d9675e2a26b12c30bf2 + last_write_checksum: sha1:d437a6dbed7e5a71b665fbdf61bccb25e9c1a311 + pristine_git_object: 509607cf42b5cee4f75862f498a7d8e9b8a4431d src/models/components/destinationgcppubsub.ts: id: 1254c8ed24ae last_write_checksum: sha1:f6445e4daeeca7dd44abd5f3f22083dce524c245 @@ -1349,40 +1349,40 @@ trackedFiles: pristine_git_object: bc9f7fa34d6addf9f37b19155caefc108933028b src/models/components/destinationupdateawskinesis.ts: id: edaff41daded - last_write_checksum: sha1:362b8c17dd45dce8fad61b389b630d9783a35185 - pristine_git_object: 861cfddeff9a55cc10a4f9c1b0f1590b9f05fb65 + last_write_checksum: sha1:7f7571051922a6d82b256ac28c4241e1cd340f88 + pristine_git_object: 272e216808b30f55d5c8f3c0a298930046bd0731 src/models/components/destinationupdateawss3.ts: id: bbeb755d597c - last_write_checksum: sha1:7f3cdf235e3101166ff25ace6d43b24568749b6c - pristine_git_object: 11279eb13ca77060c22994ca6aea18cd2de5f5d6 + last_write_checksum: sha1:0189565a9cb2bc3436c1a52327c82e0d6c60fe00 + pristine_git_object: 353de770061742888cfb88f8b1b9b41720dabddc src/models/components/destinationupdateawssqs.ts: id: cdda0e80057e - last_write_checksum: sha1:9cd1f872cd10743db3462cdaf4db60fd9f0ade82 - pristine_git_object: 27aa01f3f293dc33ffa9731e0a74e9877efb662b + last_write_checksum: sha1:9a125d38fb368400804e7624a41c13e3b595c1fe + pristine_git_object: ece809cff61d2e8857c697ac2ba97998c21a7f62 src/models/components/destinationupdateazureservicebus.ts: id: 2254cd47e03c - last_write_checksum: sha1:b82eb9897f9ea5bd1f3ef7c4a88c13d1a737f509 - pristine_git_object: 74fe31e29b139dc91d3495d0034aeb26769b70fb + last_write_checksum: sha1:4e1375dfc476cc8e8fcd96755f4e5546e09e139f + pristine_git_object: 27c8f1f899a953fb6e5bb0432224007df03a74b2 src/models/components/destinationupdategcppubsub.ts: id: 00837d9777b3 - last_write_checksum: sha1:bcd335cac845e826c8a4bf95456c591536f45a1d - pristine_git_object: d018f503638617f2b44840f252a4508f3d91e185 + last_write_checksum: sha1:ba763b1c26ad014394318932c63de1f18707f624 + pristine_git_object: d14fa0c6edf43fa9226d791bb5f1222991c336c9 src/models/components/destinationupdatehookdeck.ts: id: 922213f3219b - last_write_checksum: sha1:28cc2e85de85be474ed0f70fcbf8659714f9b775 - pristine_git_object: aaa6e78e66f3050e4cbb34312f2cc4e4b93aa839 + last_write_checksum: sha1:50c645640d0886fe9a5d1cb8e1deac8e8b23623b + pristine_git_object: 974412ba2efa1701e92d1f842219c6503925ad57 src/models/components/destinationupdatekafka.ts: id: 85420c5c9bfb - last_write_checksum: sha1:05042acd7891bd3abf5df12b312e0bc57fedda1b - pristine_git_object: 92ce5ec1b1e75753a2a13253d9e6364ca59f8949 + last_write_checksum: sha1:7d38c56446000a315709a4e9ce879f842c24d776 + pristine_git_object: db95dce8787ea2cb3e1e8a4466da9b7435fa388b src/models/components/destinationupdaterabbitmq.ts: id: ce324bc000ff - last_write_checksum: sha1:953a8799b28506737f2b89ed2aee1be2de83f15a - pristine_git_object: 902ea4adb4b71b93eb6506f48ff7cbd443194e98 + last_write_checksum: sha1:88e2e5784b33101c58fcecddf8f5a627368d7abf + pristine_git_object: 92b925dea73d59b5e1bb86bff3ac22e216f89434 src/models/components/destinationupdatewebhook.ts: id: bb7a3a117c1e - last_write_checksum: sha1:d16b471660dac82dfae2e1e83d20fc9ae1b7ffb3 - pristine_git_object: 4ca5be6e21f252ed899cf31896fc4c6ad86a7b7a + last_write_checksum: sha1:751081a94aec09ec9a05790aa703ea52ee0cf99c + pristine_git_object: 9b370dbf5b3a18c1816d802b1afcf5dc136f5955 src/models/components/destinationwebhook.ts: id: 222e67cd4dc6 last_write_checksum: sha1:d0c8e99468e799ee1e0a96942d7442a575b3ccc4 @@ -2331,10 +2331,8 @@ examplesVersion: 1.0.2 generatedTests: {} releaseNotes: | ## Typescript SDK Changes: - * `outpost.publish()`: **Added** - * `outpost.retry()`: **Added** - * `outpost.publish.event()`: **Removed** (Breaking ⚠️) - * `outpost.retry.retry()`: **Removed** (Breaking ⚠️) + * `outpost.destinations.create()`: `request.body` **Changed** + * `outpost.destinations.update()`: `request.body` **Changed** generatedFiles: - .gitattributes - .npmignore diff --git a/sdks/outpost-typescript/.speakeasy/gen.yaml b/sdks/outpost-typescript/.speakeasy/gen.yaml index 3f5a0bae..3dd60628 100644 --- a/sdks/outpost-typescript/.speakeasy/gen.yaml +++ b/sdks/outpost-typescript/.speakeasy/gen.yaml @@ -29,7 +29,7 @@ generation: generateNewTests: false skipResponseBodyAssertions: false typescript: - version: 1.2.0 + version: 1.3.0 acceptHeaderEnum: true additionalDependencies: dependencies: {} diff --git a/sdks/outpost-typescript/RELEASES.md b/sdks/outpost-typescript/RELEASES.md index 92c10075..f3a4fb14 100644 --- a/sdks/outpost-typescript/RELEASES.md +++ b/sdks/outpost-typescript/RELEASES.md @@ -158,4 +158,14 @@ Based on: ### Generated - [typescript v1.2.0] sdks/outpost-typescript ### Releases -- [NPM v1.2.0] https://www.npmjs.com/package/@hookdeck/outpost-sdk/v/1.2.0 - sdks/outpost-typescript \ No newline at end of file +- [NPM v1.2.0] https://www.npmjs.com/package/@hookdeck/outpost-sdk/v/1.2.0 - sdks/outpost-typescript + +## 2026-05-13 18:06:18 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.763.0 (2.884.0) https://github.com/speakeasy-api/speakeasy +### Generated +- [typescript v1.3.0] sdks/outpost-typescript +### Releases +- [NPM v1.3.0] https://www.npmjs.com/package/@hookdeck/outpost-sdk/v/1.3.0 - sdks/outpost-typescript \ No newline at end of file diff --git a/sdks/outpost-typescript/docs/models/components/destinationcreate.md b/sdks/outpost-typescript/docs/models/components/destinationcreate.md index e1fd9e9f..d3ad0a48 100644 --- a/sdks/outpost-typescript/docs/models/components/destinationcreate.md +++ b/sdks/outpost-typescript/docs/models/components/destinationcreate.md @@ -38,6 +38,9 @@ const value: components.DestinationCreateWebhook = { "internal-id": "123", "team": "platform", }, + createdAt: new Date("2024-02-15T10:00:00Z"), + updatedAt: new Date("2024-02-15T10:00:00Z"), + disabledAt: null, }; ``` @@ -75,6 +78,9 @@ const value: components.DestinationCreateAWSSQS = { "internal-id": "123", "team": "platform", }, + createdAt: new Date("2024-02-15T10:00:00Z"), + updatedAt: new Date("2024-02-15T10:00:00Z"), + disabledAt: null, }; ``` @@ -112,6 +118,9 @@ const value: components.DestinationCreateRabbitMQ = { "internal-id": "123", "team": "platform", }, + createdAt: new Date("2024-02-15T10:00:00Z"), + updatedAt: new Date("2024-02-15T10:00:00Z"), + disabledAt: null, }; ``` @@ -143,6 +152,9 @@ const value: components.DestinationCreateHookdeck = { "internal-id": "123", "team": "platform", }, + createdAt: new Date("2024-02-15T10:00:00Z"), + updatedAt: new Date("2024-02-15T10:00:00Z"), + disabledAt: null, }; ``` @@ -182,6 +194,9 @@ const value: components.DestinationCreateAWSKinesis = { "internal-id": "123", "team": "platform", }, + createdAt: new Date("2024-02-15T10:00:00Z"), + updatedAt: new Date("2024-02-15T10:00:00Z"), + disabledAt: null, }; ``` @@ -217,6 +232,9 @@ const value: components.DestinationCreateAzureServiceBus = { "internal-id": "123", "team": "platform", }, + createdAt: new Date("2024-02-15T10:00:00Z"), + updatedAt: new Date("2024-02-15T10:00:00Z"), + disabledAt: null, }; ``` @@ -257,6 +275,9 @@ const value: components.DestinationCreateAwss3 = { "internal-id": "123", "team": "platform", }, + createdAt: new Date("2024-02-15T10:00:00Z"), + updatedAt: new Date("2024-02-15T10:00:00Z"), + disabledAt: null, }; ``` @@ -294,6 +315,9 @@ const value: components.DestinationCreateGCPPubSub = { "internal-id": "123", "team": "platform", }, + createdAt: new Date("2024-02-15T10:00:00Z"), + updatedAt: new Date("2024-02-15T10:00:00Z"), + disabledAt: null, }; ``` @@ -332,6 +356,9 @@ const value: components.DestinationCreateKafka = { "internal-id": "123", "team": "platform", }, + createdAt: new Date("2024-02-15T10:00:00Z"), + updatedAt: new Date("2024-02-15T10:00:00Z"), + disabledAt: null, }; ``` diff --git a/sdks/outpost-typescript/docs/models/components/destinationcreateawskinesis.md b/sdks/outpost-typescript/docs/models/components/destinationcreateawskinesis.md index b0b21109..50fe65cc 100644 --- a/sdks/outpost-typescript/docs/models/components/destinationcreateawskinesis.md +++ b/sdks/outpost-typescript/docs/models/components/destinationcreateawskinesis.md @@ -38,6 +38,9 @@ let value: DestinationCreateAWSKinesis = { "internal-id": "123", "team": "platform", }, + createdAt: new Date("2024-02-15T10:00:00Z"), + updatedAt: new Date("2024-02-15T10:00:00Z"), + disabledAt: null, }; ``` @@ -52,4 +55,7 @@ let value: DestinationCreateAWSKinesis = { | `config` | [components.AWSKinesisConfig](../../models/components/awskinesisconfig.md) | :heavy_check_mark: | N/A | | | `credentials` | [components.AWSKinesisCredentials](../../models/components/awskinesiscredentials.md) | :heavy_check_mark: | N/A | | | `deliveryMetadata` | Record | :heavy_minus_sign: | Static key-value pairs merged into event metadata on every attempt. | {
"app-id": "my-app",
"region": "us-east-1"
} | -| `metadata` | Record | :heavy_minus_sign: | Arbitrary contextual information stored with the destination. | {
"internal-id": "123",
"team": "platform"
} | \ No newline at end of file +| `metadata` | Record | :heavy_minus_sign: | Arbitrary contextual information stored with the destination. | {
"internal-id": "123",
"team": "platform"
} | +| `createdAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :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 | +| `updatedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :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 | +| `disabledAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :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 diff --git a/sdks/outpost-typescript/docs/models/components/destinationcreateawss3.md b/sdks/outpost-typescript/docs/models/components/destinationcreateawss3.md index 180f95dd..d7fb6544 100644 --- a/sdks/outpost-typescript/docs/models/components/destinationcreateawss3.md +++ b/sdks/outpost-typescript/docs/models/components/destinationcreateawss3.md @@ -39,6 +39,9 @@ let value: DestinationCreateAwss3 = { "internal-id": "123", "team": "platform", }, + createdAt: new Date("2024-02-15T10:00:00Z"), + updatedAt: new Date("2024-02-15T10:00:00Z"), + disabledAt: null, }; ``` @@ -53,4 +56,7 @@ let value: DestinationCreateAwss3 = { | `config` | [components.Awss3Config](../../models/components/awss3config.md) | :heavy_check_mark: | N/A | | | `credentials` | [components.Awss3Credentials](../../models/components/awss3credentials.md) | :heavy_check_mark: | N/A | | | `deliveryMetadata` | Record | :heavy_minus_sign: | Static key-value pairs merged into event metadata on every attempt. | {
"app-id": "my-app",
"region": "us-east-1"
} | -| `metadata` | Record | :heavy_minus_sign: | Arbitrary contextual information stored with the destination. | {
"internal-id": "123",
"team": "platform"
} | \ No newline at end of file +| `metadata` | Record | :heavy_minus_sign: | Arbitrary contextual information stored with the destination. | {
"internal-id": "123",
"team": "platform"
} | +| `createdAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :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 | +| `updatedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :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 | +| `disabledAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :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 diff --git a/sdks/outpost-typescript/docs/models/components/destinationcreateawssqs.md b/sdks/outpost-typescript/docs/models/components/destinationcreateawssqs.md index 2bc5f98d..c3206ca7 100644 --- a/sdks/outpost-typescript/docs/models/components/destinationcreateawssqs.md +++ b/sdks/outpost-typescript/docs/models/components/destinationcreateawssqs.md @@ -36,6 +36,9 @@ let value: DestinationCreateAWSSQS = { "internal-id": "123", "team": "platform", }, + createdAt: new Date("2024-02-15T10:00:00Z"), + updatedAt: new Date("2024-02-15T10:00:00Z"), + disabledAt: null, }; ``` @@ -50,4 +53,7 @@ let value: DestinationCreateAWSSQS = { | `config` | [components.AWSSQSConfig](../../models/components/awssqsconfig.md) | :heavy_check_mark: | N/A | | | `credentials` | [components.AWSSQSCredentials](../../models/components/awssqscredentials.md) | :heavy_check_mark: | N/A | | | `deliveryMetadata` | Record | :heavy_minus_sign: | Static key-value pairs merged into event metadata on every attempt. | {
"app-id": "my-app",
"region": "us-east-1"
} | -| `metadata` | Record | :heavy_minus_sign: | Arbitrary contextual information stored with the destination. | {
"internal-id": "123",
"team": "platform"
} | \ No newline at end of file +| `metadata` | Record | :heavy_minus_sign: | Arbitrary contextual information stored with the destination. | {
"internal-id": "123",
"team": "platform"
} | +| `createdAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :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 | +| `updatedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :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 | +| `disabledAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :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 diff --git a/sdks/outpost-typescript/docs/models/components/destinationcreateazureservicebus.md b/sdks/outpost-typescript/docs/models/components/destinationcreateazureservicebus.md index 26d622a8..38d62458 100644 --- a/sdks/outpost-typescript/docs/models/components/destinationcreateazureservicebus.md +++ b/sdks/outpost-typescript/docs/models/components/destinationcreateazureservicebus.md @@ -34,6 +34,9 @@ let value: DestinationCreateAzureServiceBus = { "internal-id": "123", "team": "platform", }, + createdAt: new Date("2024-02-15T10:00:00Z"), + updatedAt: new Date("2024-02-15T10:00:00Z"), + disabledAt: null, }; ``` @@ -48,4 +51,7 @@ let value: DestinationCreateAzureServiceBus = { | `config` | [components.AzureServiceBusConfig](../../models/components/azureservicebusconfig.md) | :heavy_check_mark: | N/A | | | `credentials` | [components.AzureServiceBusCredentials](../../models/components/azureservicebuscredentials.md) | :heavy_check_mark: | N/A | | | `deliveryMetadata` | Record | :heavy_minus_sign: | Static key-value pairs merged into event metadata on every attempt. | {
"app-id": "my-app",
"region": "us-east-1"
} | -| `metadata` | Record | :heavy_minus_sign: | Arbitrary contextual information stored with the destination. | {
"internal-id": "123",
"team": "platform"
} | \ No newline at end of file +| `metadata` | Record | :heavy_minus_sign: | Arbitrary contextual information stored with the destination. | {
"internal-id": "123",
"team": "platform"
} | +| `createdAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :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 | +| `updatedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :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 | +| `disabledAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :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 diff --git a/sdks/outpost-typescript/docs/models/components/destinationcreategcppubsub.md b/sdks/outpost-typescript/docs/models/components/destinationcreategcppubsub.md index b30add56..def19590 100644 --- a/sdks/outpost-typescript/docs/models/components/destinationcreategcppubsub.md +++ b/sdks/outpost-typescript/docs/models/components/destinationcreategcppubsub.md @@ -36,6 +36,9 @@ let value: DestinationCreateGCPPubSub = { "internal-id": "123", "team": "platform", }, + createdAt: new Date("2024-02-15T10:00:00Z"), + updatedAt: new Date("2024-02-15T10:00:00Z"), + disabledAt: null, }; ``` @@ -50,4 +53,7 @@ let value: DestinationCreateGCPPubSub = { | `config` | [components.GCPPubSubConfig](../../models/components/gcppubsubconfig.md) | :heavy_check_mark: | N/A | | | `credentials` | [components.GCPPubSubCredentials](../../models/components/gcppubsubcredentials.md) | :heavy_check_mark: | N/A | | | `deliveryMetadata` | Record | :heavy_minus_sign: | Static key-value pairs merged into event metadata on every attempt. | {
"app-id": "my-app",
"region": "us-east-1"
} | -| `metadata` | Record | :heavy_minus_sign: | Arbitrary contextual information stored with the destination. | {
"internal-id": "123",
"team": "platform"
} | \ No newline at end of file +| `metadata` | Record | :heavy_minus_sign: | Arbitrary contextual information stored with the destination. | {
"internal-id": "123",
"team": "platform"
} | +| `createdAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :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 | +| `updatedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :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 | +| `disabledAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :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 diff --git a/sdks/outpost-typescript/docs/models/components/destinationcreatehookdeck.md b/sdks/outpost-typescript/docs/models/components/destinationcreatehookdeck.md index 83c5d73f..8b46138f 100644 --- a/sdks/outpost-typescript/docs/models/components/destinationcreatehookdeck.md +++ b/sdks/outpost-typescript/docs/models/components/destinationcreatehookdeck.md @@ -30,6 +30,9 @@ let value: DestinationCreateHookdeck = { "internal-id": "123", "team": "platform", }, + createdAt: new Date("2024-02-15T10:00:00Z"), + updatedAt: new Date("2024-02-15T10:00:00Z"), + disabledAt: null, }; ``` @@ -44,4 +47,7 @@ let value: DestinationCreateHookdeck = { | `config` | *any* | :heavy_minus_sign: | N/A | | | `credentials` | [components.HookdeckCredentials](../../models/components/hookdeckcredentials.md) | :heavy_check_mark: | N/A | | | `deliveryMetadata` | Record | :heavy_minus_sign: | Static key-value pairs merged into event metadata on every attempt. | {
"app-id": "my-app",
"region": "us-east-1"
} | -| `metadata` | Record | :heavy_minus_sign: | Arbitrary contextual information stored with the destination. | {
"internal-id": "123",
"team": "platform"
} | \ No newline at end of file +| `metadata` | Record | :heavy_minus_sign: | Arbitrary contextual information stored with the destination. | {
"internal-id": "123",
"team": "platform"
} | +| `createdAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :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 | +| `updatedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :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 | +| `disabledAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :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 diff --git a/sdks/outpost-typescript/docs/models/components/destinationcreatekafka.md b/sdks/outpost-typescript/docs/models/components/destinationcreatekafka.md index 9e0cefc2..0a309254 100644 --- a/sdks/outpost-typescript/docs/models/components/destinationcreatekafka.md +++ b/sdks/outpost-typescript/docs/models/components/destinationcreatekafka.md @@ -37,6 +37,9 @@ let value: DestinationCreateKafka = { "internal-id": "123", "team": "platform", }, + createdAt: new Date("2024-02-15T10:00:00Z"), + updatedAt: new Date("2024-02-15T10:00:00Z"), + disabledAt: null, }; ``` @@ -51,4 +54,7 @@ let value: DestinationCreateKafka = { | `config` | [components.KafkaConfig](../../models/components/kafkaconfig.md) | :heavy_check_mark: | N/A | | | `credentials` | [components.KafkaCredentials](../../models/components/kafkacredentials.md) | :heavy_check_mark: | N/A | | | `deliveryMetadata` | Record | :heavy_minus_sign: | Static key-value pairs merged into event metadata on every attempt. | {
"app-id": "my-app",
"region": "us-east-1"
} | -| `metadata` | Record | :heavy_minus_sign: | Arbitrary contextual information stored with the destination. | {
"internal-id": "123",
"team": "platform"
} | \ No newline at end of file +| `metadata` | Record | :heavy_minus_sign: | Arbitrary contextual information stored with the destination. | {
"internal-id": "123",
"team": "platform"
} | +| `createdAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :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 | +| `updatedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :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 | +| `disabledAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :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 diff --git a/sdks/outpost-typescript/docs/models/components/destinationcreaterabbitmq.md b/sdks/outpost-typescript/docs/models/components/destinationcreaterabbitmq.md index 52c9d00f..ad44e3eb 100644 --- a/sdks/outpost-typescript/docs/models/components/destinationcreaterabbitmq.md +++ b/sdks/outpost-typescript/docs/models/components/destinationcreaterabbitmq.md @@ -36,6 +36,9 @@ let value: DestinationCreateRabbitMQ = { "internal-id": "123", "team": "platform", }, + createdAt: new Date("2024-02-15T10:00:00Z"), + updatedAt: new Date("2024-02-15T10:00:00Z"), + disabledAt: null, }; ``` @@ -50,4 +53,7 @@ let value: DestinationCreateRabbitMQ = { | `config` | [components.RabbitMQConfig](../../models/components/rabbitmqconfig.md) | :heavy_check_mark: | N/A | | | `credentials` | [components.RabbitMQCredentials](../../models/components/rabbitmqcredentials.md) | :heavy_check_mark: | N/A | | | `deliveryMetadata` | Record | :heavy_minus_sign: | Static key-value pairs merged into event metadata on every attempt. | {
"app-id": "my-app",
"region": "us-east-1"
} | -| `metadata` | Record | :heavy_minus_sign: | Arbitrary contextual information stored with the destination. | {
"internal-id": "123",
"team": "platform"
} | \ No newline at end of file +| `metadata` | Record | :heavy_minus_sign: | Arbitrary contextual information stored with the destination. | {
"internal-id": "123",
"team": "platform"
} | +| `createdAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :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 | +| `updatedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :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 | +| `disabledAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :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 diff --git a/sdks/outpost-typescript/docs/models/components/destinationcreatewebhook.md b/sdks/outpost-typescript/docs/models/components/destinationcreatewebhook.md index 22d7fb31..609c465c 100644 --- a/sdks/outpost-typescript/docs/models/components/destinationcreatewebhook.md +++ b/sdks/outpost-typescript/docs/models/components/destinationcreatewebhook.md @@ -37,6 +37,9 @@ let value: DestinationCreateWebhook = { "internal-id": "123", "team": "platform", }, + createdAt: new Date("2024-02-15T10:00:00Z"), + updatedAt: new Date("2024-02-15T10:00:00Z"), + disabledAt: null, }; ``` @@ -51,4 +54,7 @@ let value: DestinationCreateWebhook = { | `config` | [components.WebhookConfig](../../models/components/webhookconfig.md) | :heavy_check_mark: | N/A | | | `credentials` | [components.WebhookCredentials](../../models/components/webhookcredentials.md) | :heavy_minus_sign: | N/A | | | `deliveryMetadata` | Record | :heavy_minus_sign: | Static key-value pairs merged into event metadata on every attempt. | {
"app-id": "my-app",
"region": "us-east-1"
} | -| `metadata` | Record | :heavy_minus_sign: | Arbitrary contextual information stored with the destination. | {
"internal-id": "123",
"team": "platform"
} | \ No newline at end of file +| `metadata` | Record | :heavy_minus_sign: | Arbitrary contextual information stored with the destination. | {
"internal-id": "123",
"team": "platform"
} | +| `createdAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :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 | +| `updatedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :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 | +| `disabledAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :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 diff --git a/sdks/outpost-typescript/docs/models/components/destinationupdate.md b/sdks/outpost-typescript/docs/models/components/destinationupdate.md index f1862fe7..a8f05110 100644 --- a/sdks/outpost-typescript/docs/models/components/destinationupdate.md +++ b/sdks/outpost-typescript/docs/models/components/destinationupdate.md @@ -31,6 +31,7 @@ const value: components.DestinationUpdateWebhook = { "internal-id": "123", "team": "platform", }, + disabledAt: null, }; ``` @@ -60,6 +61,7 @@ const value: components.DestinationUpdateHookdeck = { "internal-id": "123", "team": "platform", }, + disabledAt: null, }; ``` @@ -95,6 +97,7 @@ const value: components.DestinationUpdateAWSSQS = { "internal-id": "123", "team": "platform", }, + disabledAt: null, }; ``` @@ -132,6 +135,7 @@ const value: components.DestinationUpdateAWSKinesis = { "internal-id": "123", "team": "platform", }, + disabledAt: null, }; ``` @@ -170,6 +174,7 @@ const value: components.DestinationUpdateAwss3 = { "internal-id": "123", "team": "platform", }, + disabledAt: null, }; ``` @@ -203,6 +208,7 @@ const value: components.DestinationUpdateAzureServiceBus = { "internal-id": "123", "team": "platform", }, + disabledAt: null, }; ``` @@ -238,6 +244,7 @@ const value: components.DestinationUpdateGCPPubSub = { "internal-id": "123", "team": "platform", }, + disabledAt: null, }; ``` @@ -273,6 +280,7 @@ const value: components.DestinationUpdateRabbitMQ = { "internal-id": "123", "team": "platform", }, + disabledAt: null, }; ``` @@ -309,6 +317,7 @@ const value: components.DestinationUpdateKafka = { "internal-id": "123", "team": "platform", }, + disabledAt: null, }; ``` diff --git a/sdks/outpost-typescript/docs/models/components/destinationupdateawskinesis.md b/sdks/outpost-typescript/docs/models/components/destinationupdateawskinesis.md index d54302e0..12669f58 100644 --- a/sdks/outpost-typescript/docs/models/components/destinationupdateawskinesis.md +++ b/sdks/outpost-typescript/docs/models/components/destinationupdateawskinesis.md @@ -36,6 +36,7 @@ let value: DestinationUpdateAWSKinesis = { "internal-id": "123", "team": "platform", }, + disabledAt: null, }; ``` @@ -48,4 +49,5 @@ let value: DestinationUpdateAWSKinesis = { | `config` | [components.AWSKinesisConfig](../../models/components/awskinesisconfig.md) | :heavy_minus_sign: | N/A | | | `credentials` | [components.AWSKinesisCredentials](../../models/components/awskinesiscredentials.md) | :heavy_minus_sign: | N/A | | | `deliveryMetadata` | Record | :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` | Record | :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"
} | \ No newline at end of file +| `metadata` | Record | :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"
} | +| `disabledAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :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 diff --git a/sdks/outpost-typescript/docs/models/components/destinationupdateawss3.md b/sdks/outpost-typescript/docs/models/components/destinationupdateawss3.md index 9eb4699f..c414f640 100644 --- a/sdks/outpost-typescript/docs/models/components/destinationupdateawss3.md +++ b/sdks/outpost-typescript/docs/models/components/destinationupdateawss3.md @@ -37,6 +37,7 @@ let value: DestinationUpdateAwss3 = { "internal-id": "123", "team": "platform", }, + disabledAt: null, }; ``` @@ -49,4 +50,5 @@ let value: DestinationUpdateAwss3 = { | `config` | [components.Awss3Config](../../models/components/awss3config.md) | :heavy_minus_sign: | N/A | | | `credentials` | [components.Awss3Credentials](../../models/components/awss3credentials.md) | :heavy_minus_sign: | N/A | | | `deliveryMetadata` | Record | :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` | Record | :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"
} | \ No newline at end of file +| `metadata` | Record | :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"
} | +| `disabledAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :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 diff --git a/sdks/outpost-typescript/docs/models/components/destinationupdateawssqs.md b/sdks/outpost-typescript/docs/models/components/destinationupdateawssqs.md index a2a8b67e..c73ba082 100644 --- a/sdks/outpost-typescript/docs/models/components/destinationupdateawssqs.md +++ b/sdks/outpost-typescript/docs/models/components/destinationupdateawssqs.md @@ -34,6 +34,7 @@ let value: DestinationUpdateAWSSQS = { "internal-id": "123", "team": "platform", }, + disabledAt: null, }; ``` @@ -46,4 +47,5 @@ let value: DestinationUpdateAWSSQS = { | `config` | [components.AWSSQSConfig](../../models/components/awssqsconfig.md) | :heavy_minus_sign: | N/A | | | `credentials` | [components.AWSSQSCredentials](../../models/components/awssqscredentials.md) | :heavy_minus_sign: | N/A | | | `deliveryMetadata` | Record | :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` | Record | :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"
} | \ No newline at end of file +| `metadata` | Record | :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"
} | +| `disabledAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :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 diff --git a/sdks/outpost-typescript/docs/models/components/destinationupdateazureservicebus.md b/sdks/outpost-typescript/docs/models/components/destinationupdateazureservicebus.md index 2d41db76..287db6c6 100644 --- a/sdks/outpost-typescript/docs/models/components/destinationupdateazureservicebus.md +++ b/sdks/outpost-typescript/docs/models/components/destinationupdateazureservicebus.md @@ -32,6 +32,7 @@ let value: DestinationUpdateAzureServiceBus = { "internal-id": "123", "team": "platform", }, + disabledAt: null, }; ``` @@ -44,4 +45,5 @@ let value: DestinationUpdateAzureServiceBus = { | `config` | [components.AzureServiceBusConfig](../../models/components/azureservicebusconfig.md) | :heavy_minus_sign: | N/A | | | `credentials` | [components.AzureServiceBusCredentials](../../models/components/azureservicebuscredentials.md) | :heavy_minus_sign: | N/A | | | `deliveryMetadata` | Record | :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` | Record | :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"
} | \ No newline at end of file +| `metadata` | Record | :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"
} | +| `disabledAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :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 diff --git a/sdks/outpost-typescript/docs/models/components/destinationupdategcppubsub.md b/sdks/outpost-typescript/docs/models/components/destinationupdategcppubsub.md index c091c794..696f32e0 100644 --- a/sdks/outpost-typescript/docs/models/components/destinationupdategcppubsub.md +++ b/sdks/outpost-typescript/docs/models/components/destinationupdategcppubsub.md @@ -34,6 +34,7 @@ let value: DestinationUpdateGCPPubSub = { "internal-id": "123", "team": "platform", }, + disabledAt: null, }; ``` @@ -46,4 +47,5 @@ let value: DestinationUpdateGCPPubSub = { | `config` | [components.GCPPubSubConfig](../../models/components/gcppubsubconfig.md) | :heavy_minus_sign: | N/A | | | `credentials` | [components.GCPPubSubCredentials](../../models/components/gcppubsubcredentials.md) | :heavy_minus_sign: | N/A | | | `deliveryMetadata` | Record | :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` | Record | :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"
} | \ No newline at end of file +| `metadata` | Record | :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"
} | +| `disabledAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :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 diff --git a/sdks/outpost-typescript/docs/models/components/destinationupdatehookdeck.md b/sdks/outpost-typescript/docs/models/components/destinationupdatehookdeck.md index 36a5d8c5..a45b9b14 100644 --- a/sdks/outpost-typescript/docs/models/components/destinationupdatehookdeck.md +++ b/sdks/outpost-typescript/docs/models/components/destinationupdatehookdeck.md @@ -28,6 +28,7 @@ let value: DestinationUpdateHookdeck = { "internal-id": "123", "team": "platform", }, + disabledAt: null, }; ``` @@ -40,4 +41,5 @@ let value: DestinationUpdateHookdeck = { | `config` | *any* | :heavy_minus_sign: | N/A | | | `credentials` | [components.HookdeckCredentials](../../models/components/hookdeckcredentials.md) | :heavy_minus_sign: | N/A | | | `deliveryMetadata` | Record | :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` | Record | :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"
} | \ No newline at end of file +| `metadata` | Record | :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"
} | +| `disabledAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :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 diff --git a/sdks/outpost-typescript/docs/models/components/destinationupdatekafka.md b/sdks/outpost-typescript/docs/models/components/destinationupdatekafka.md index 5d078304..fdbd4679 100644 --- a/sdks/outpost-typescript/docs/models/components/destinationupdatekafka.md +++ b/sdks/outpost-typescript/docs/models/components/destinationupdatekafka.md @@ -35,6 +35,7 @@ let value: DestinationUpdateKafka = { "internal-id": "123", "team": "platform", }, + disabledAt: null, }; ``` @@ -47,4 +48,5 @@ let value: DestinationUpdateKafka = { | `config` | [components.KafkaConfig](../../models/components/kafkaconfig.md) | :heavy_minus_sign: | N/A | | | `credentials` | [components.KafkaCredentials](../../models/components/kafkacredentials.md) | :heavy_minus_sign: | N/A | | | `deliveryMetadata` | Record | :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` | Record | :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"
} | \ No newline at end of file +| `metadata` | Record | :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"
} | +| `disabledAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :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 diff --git a/sdks/outpost-typescript/docs/models/components/destinationupdaterabbitmq.md b/sdks/outpost-typescript/docs/models/components/destinationupdaterabbitmq.md index 8af275b9..70a47bf2 100644 --- a/sdks/outpost-typescript/docs/models/components/destinationupdaterabbitmq.md +++ b/sdks/outpost-typescript/docs/models/components/destinationupdaterabbitmq.md @@ -34,6 +34,7 @@ let value: DestinationUpdateRabbitMQ = { "internal-id": "123", "team": "platform", }, + disabledAt: null, }; ``` @@ -46,4 +47,5 @@ let value: DestinationUpdateRabbitMQ = { | `config` | [components.RabbitMQConfig](../../models/components/rabbitmqconfig.md) | :heavy_minus_sign: | N/A | | | `credentials` | [components.RabbitMQCredentials](../../models/components/rabbitmqcredentials.md) | :heavy_minus_sign: | N/A | | | `deliveryMetadata` | Record | :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` | Record | :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"
} | \ No newline at end of file +| `metadata` | Record | :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"
} | +| `disabledAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :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 diff --git a/sdks/outpost-typescript/docs/models/components/destinationupdatewebhook.md b/sdks/outpost-typescript/docs/models/components/destinationupdatewebhook.md index 76b8796a..4fd8f4a8 100644 --- a/sdks/outpost-typescript/docs/models/components/destinationupdatewebhook.md +++ b/sdks/outpost-typescript/docs/models/components/destinationupdatewebhook.md @@ -30,6 +30,7 @@ let value: DestinationUpdateWebhook = { "internal-id": "123", "team": "platform", }, + disabledAt: null, }; ``` @@ -42,4 +43,5 @@ let value: DestinationUpdateWebhook = { | `config` | [components.WebhookConfig](../../models/components/webhookconfig.md) | :heavy_minus_sign: | N/A | | | `credentials` | [components.WebhookCredentialsUpdate](../../models/components/webhookcredentialsupdate.md) | :heavy_minus_sign: | N/A | | | `deliveryMetadata` | Record | :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` | Record | :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"
} | \ No newline at end of file +| `metadata` | Record | :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"
} | +| `disabledAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :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 diff --git a/sdks/outpost-typescript/docs/models/operations/updatetenantdestinationrequest.md b/sdks/outpost-typescript/docs/models/operations/updatetenantdestinationrequest.md index 1ededa91..ac66cc5c 100644 --- a/sdks/outpost-typescript/docs/models/operations/updatetenantdestinationrequest.md +++ b/sdks/outpost-typescript/docs/models/operations/updatetenantdestinationrequest.md @@ -39,6 +39,7 @@ let value: UpdateTenantDestinationRequest = { "internal-id": "123", "team": "platform", }, + disabledAt: null, }, }; ``` diff --git a/sdks/outpost-typescript/examples/package-lock.json b/sdks/outpost-typescript/examples/package-lock.json index 3dd3b6e9..6eccd001 100644 --- a/sdks/outpost-typescript/examples/package-lock.json +++ b/sdks/outpost-typescript/examples/package-lock.json @@ -18,7 +18,7 @@ }, "..": { "name": "@hookdeck/outpost-sdk", - "version": "1.2.0", + "version": "1.3.0", "dependencies": { "@modelcontextprotocol/sdk": "^1.26.0", "zod": "^3.25.0 || ^4.0.0" diff --git a/sdks/outpost-typescript/jsr.json b/sdks/outpost-typescript/jsr.json index dd158c18..88aa5811 100644 --- a/sdks/outpost-typescript/jsr.json +++ b/sdks/outpost-typescript/jsr.json @@ -2,7 +2,7 @@ { "name": "@hookdeck/outpost-sdk", - "version": "1.2.0", + "version": "1.3.0", "exports": { ".": "./src/index.ts", "./models/errors": "./src/models/errors/index.ts", diff --git a/sdks/outpost-typescript/package-lock.json b/sdks/outpost-typescript/package-lock.json index 1eec8c3d..70bd58b2 100644 --- a/sdks/outpost-typescript/package-lock.json +++ b/sdks/outpost-typescript/package-lock.json @@ -1,12 +1,12 @@ { "name": "@hookdeck/outpost-sdk", - "version": "1.2.0", + "version": "1.3.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@hookdeck/outpost-sdk", - "version": "1.2.0", + "version": "1.3.0", "dependencies": { "@modelcontextprotocol/sdk": "^1.26.0", "zod": "^3.25.0 || ^4.0.0" diff --git a/sdks/outpost-typescript/package.json b/sdks/outpost-typescript/package.json index 5f8de59e..bd9bbe45 100644 --- a/sdks/outpost-typescript/package.json +++ b/sdks/outpost-typescript/package.json @@ -1,6 +1,6 @@ { "name": "@hookdeck/outpost-sdk", - "version": "1.2.0", + "version": "1.3.0", "author": "Speakeasy", "type": "module", "bin": { diff --git a/sdks/outpost-typescript/src/lib/config.ts b/sdks/outpost-typescript/src/lib/config.ts index d7966a03..20628c38 100644 --- a/sdks/outpost-typescript/src/lib/config.ts +++ b/sdks/outpost-typescript/src/lib/config.ts @@ -65,8 +65,8 @@ export function serverURLFromOptions(options: SDKOptions): URL | null { export const SDK_METADATA = { language: "typescript", openapiDocVersion: "0.0.1", - sdkVersion: "1.2.0", - genVersion: "2.881.16", + sdkVersion: "1.3.0", + genVersion: "2.884.0", userAgent: - "speakeasy-sdk/typescript 1.2.0 2.881.16 0.0.1 @hookdeck/outpost-sdk", + "speakeasy-sdk/typescript 1.3.0 2.884.0 0.0.1 @hookdeck/outpost-sdk", } as const; diff --git a/sdks/outpost-typescript/src/mcp-server/mcp-server.ts b/sdks/outpost-typescript/src/mcp-server/mcp-server.ts index 6b064ed3..41e0c36a 100644 --- a/sdks/outpost-typescript/src/mcp-server/mcp-server.ts +++ b/sdks/outpost-typescript/src/mcp-server/mcp-server.ts @@ -19,7 +19,7 @@ const routes = buildRouteMap({ export const app = buildApplication(routes, { name: "mcp", versionInfo: { - currentVersion: "1.2.0", + currentVersion: "1.3.0", }, }); diff --git a/sdks/outpost-typescript/src/mcp-server/server.ts b/sdks/outpost-typescript/src/mcp-server/server.ts index fcc79bfc..9b6a1c72 100644 --- a/sdks/outpost-typescript/src/mcp-server/server.ts +++ b/sdks/outpost-typescript/src/mcp-server/server.ts @@ -53,7 +53,7 @@ export function createMCPServer(deps: { }) { const server = new McpServer({ name: "Outpost", - version: "1.2.0", + version: "1.3.0", }); const client = new OutpostCore({ diff --git a/sdks/outpost-typescript/src/models/components/destinationcreateawskinesis.ts b/sdks/outpost-typescript/src/models/components/destinationcreateawskinesis.ts index d87f3b17..d925c90c 100644 --- a/sdks/outpost-typescript/src/models/components/destinationcreateawskinesis.ts +++ b/sdks/outpost-typescript/src/models/components/destinationcreateawskinesis.ts @@ -58,6 +58,18 @@ export type DestinationCreateAWSKinesis = { * Arbitrary contextual information stored with the destination. */ metadata?: { [k: string]: string } | null | undefined; + /** + * 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. + */ + createdAt?: Date | null | undefined; + /** + * 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. + */ + updatedAt?: Date | null | undefined; + /** + * If set, the destination is created in a disabled state with this timestamp. Must not be in the future. Defaults to null (enabled). + */ + disabledAt?: Date | null | undefined; }; /** @internal */ @@ -74,9 +86,21 @@ export const DestinationCreateAWSKinesis$inboundSchema: z.ZodType< credentials: AWSKinesisCredentials$inboundSchema, delivery_metadata: z.nullable(z.record(z.string())).optional(), metadata: z.nullable(z.record(z.string())).optional(), + created_at: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), + updated_at: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), + disabled_at: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), }).transform((v) => { return remap$(v, { "delivery_metadata": "deliveryMetadata", + "created_at": "createdAt", + "updated_at": "updatedAt", + "disabled_at": "disabledAt", }); }); /** @internal */ @@ -89,6 +113,9 @@ export type DestinationCreateAWSKinesis$Outbound = { credentials: AWSKinesisCredentials$Outbound; delivery_metadata?: { [k: string]: string } | null | undefined; metadata?: { [k: string]: string } | null | undefined; + created_at?: string | null | undefined; + updated_at?: string | null | undefined; + disabled_at?: string | null | undefined; }; /** @internal */ @@ -105,9 +132,15 @@ export const DestinationCreateAWSKinesis$outboundSchema: z.ZodType< credentials: AWSKinesisCredentials$outboundSchema, deliveryMetadata: z.nullable(z.record(z.string())).optional(), metadata: z.nullable(z.record(z.string())).optional(), + createdAt: z.nullable(z.date().transform(v => v.toISOString())).optional(), + updatedAt: z.nullable(z.date().transform(v => v.toISOString())).optional(), + disabledAt: z.nullable(z.date().transform(v => v.toISOString())).optional(), }).transform((v) => { return remap$(v, { deliveryMetadata: "delivery_metadata", + createdAt: "created_at", + updatedAt: "updated_at", + disabledAt: "disabled_at", }); }); diff --git a/sdks/outpost-typescript/src/models/components/destinationcreateawss3.ts b/sdks/outpost-typescript/src/models/components/destinationcreateawss3.ts index e8d852dc..06c35b94 100644 --- a/sdks/outpost-typescript/src/models/components/destinationcreateawss3.ts +++ b/sdks/outpost-typescript/src/models/components/destinationcreateawss3.ts @@ -58,6 +58,18 @@ export type DestinationCreateAwss3 = { * Arbitrary contextual information stored with the destination. */ metadata?: { [k: string]: string } | null | undefined; + /** + * 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. + */ + createdAt?: Date | null | undefined; + /** + * 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. + */ + updatedAt?: Date | null | undefined; + /** + * If set, the destination is created in a disabled state with this timestamp. Must not be in the future. Defaults to null (enabled). + */ + disabledAt?: Date | null | undefined; }; /** @internal */ @@ -74,9 +86,21 @@ export const DestinationCreateAwss3$inboundSchema: z.ZodType< credentials: Awss3Credentials$inboundSchema, delivery_metadata: z.nullable(z.record(z.string())).optional(), metadata: z.nullable(z.record(z.string())).optional(), + created_at: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), + updated_at: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), + disabled_at: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), }).transform((v) => { return remap$(v, { "delivery_metadata": "deliveryMetadata", + "created_at": "createdAt", + "updated_at": "updatedAt", + "disabled_at": "disabledAt", }); }); /** @internal */ @@ -89,6 +113,9 @@ export type DestinationCreateAwss3$Outbound = { credentials: Awss3Credentials$Outbound; delivery_metadata?: { [k: string]: string } | null | undefined; metadata?: { [k: string]: string } | null | undefined; + created_at?: string | null | undefined; + updated_at?: string | null | undefined; + disabled_at?: string | null | undefined; }; /** @internal */ @@ -105,9 +132,15 @@ export const DestinationCreateAwss3$outboundSchema: z.ZodType< credentials: Awss3Credentials$outboundSchema, deliveryMetadata: z.nullable(z.record(z.string())).optional(), metadata: z.nullable(z.record(z.string())).optional(), + createdAt: z.nullable(z.date().transform(v => v.toISOString())).optional(), + updatedAt: z.nullable(z.date().transform(v => v.toISOString())).optional(), + disabledAt: z.nullable(z.date().transform(v => v.toISOString())).optional(), }).transform((v) => { return remap$(v, { deliveryMetadata: "delivery_metadata", + createdAt: "created_at", + updatedAt: "updated_at", + disabledAt: "disabled_at", }); }); diff --git a/sdks/outpost-typescript/src/models/components/destinationcreateawssqs.ts b/sdks/outpost-typescript/src/models/components/destinationcreateawssqs.ts index 337c59d1..48b045fb 100644 --- a/sdks/outpost-typescript/src/models/components/destinationcreateawssqs.ts +++ b/sdks/outpost-typescript/src/models/components/destinationcreateawssqs.ts @@ -58,6 +58,18 @@ export type DestinationCreateAWSSQS = { * Arbitrary contextual information stored with the destination. */ metadata?: { [k: string]: string } | null | undefined; + /** + * 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. + */ + createdAt?: Date | null | undefined; + /** + * 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. + */ + updatedAt?: Date | null | undefined; + /** + * If set, the destination is created in a disabled state with this timestamp. Must not be in the future. Defaults to null (enabled). + */ + disabledAt?: Date | null | undefined; }; /** @internal */ @@ -74,9 +86,21 @@ export const DestinationCreateAWSSQS$inboundSchema: z.ZodType< credentials: AWSSQSCredentials$inboundSchema, delivery_metadata: z.nullable(z.record(z.string())).optional(), metadata: z.nullable(z.record(z.string())).optional(), + created_at: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), + updated_at: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), + disabled_at: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), }).transform((v) => { return remap$(v, { "delivery_metadata": "deliveryMetadata", + "created_at": "createdAt", + "updated_at": "updatedAt", + "disabled_at": "disabledAt", }); }); /** @internal */ @@ -89,6 +113,9 @@ export type DestinationCreateAWSSQS$Outbound = { credentials: AWSSQSCredentials$Outbound; delivery_metadata?: { [k: string]: string } | null | undefined; metadata?: { [k: string]: string } | null | undefined; + created_at?: string | null | undefined; + updated_at?: string | null | undefined; + disabled_at?: string | null | undefined; }; /** @internal */ @@ -105,9 +132,15 @@ export const DestinationCreateAWSSQS$outboundSchema: z.ZodType< credentials: AWSSQSCredentials$outboundSchema, deliveryMetadata: z.nullable(z.record(z.string())).optional(), metadata: z.nullable(z.record(z.string())).optional(), + createdAt: z.nullable(z.date().transform(v => v.toISOString())).optional(), + updatedAt: z.nullable(z.date().transform(v => v.toISOString())).optional(), + disabledAt: z.nullable(z.date().transform(v => v.toISOString())).optional(), }).transform((v) => { return remap$(v, { deliveryMetadata: "delivery_metadata", + createdAt: "created_at", + updatedAt: "updated_at", + disabledAt: "disabled_at", }); }); diff --git a/sdks/outpost-typescript/src/models/components/destinationcreateazureservicebus.ts b/sdks/outpost-typescript/src/models/components/destinationcreateazureservicebus.ts index d7db0c57..1feda475 100644 --- a/sdks/outpost-typescript/src/models/components/destinationcreateazureservicebus.ts +++ b/sdks/outpost-typescript/src/models/components/destinationcreateazureservicebus.ts @@ -58,6 +58,18 @@ export type DestinationCreateAzureServiceBus = { * Arbitrary contextual information stored with the destination. */ metadata?: { [k: string]: string } | null | undefined; + /** + * 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. + */ + createdAt?: Date | null | undefined; + /** + * 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. + */ + updatedAt?: Date | null | undefined; + /** + * If set, the destination is created in a disabled state with this timestamp. Must not be in the future. Defaults to null (enabled). + */ + disabledAt?: Date | null | undefined; }; /** @internal */ @@ -74,9 +86,21 @@ export const DestinationCreateAzureServiceBus$inboundSchema: z.ZodType< credentials: AzureServiceBusCredentials$inboundSchema, delivery_metadata: z.nullable(z.record(z.string())).optional(), metadata: z.nullable(z.record(z.string())).optional(), + created_at: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), + updated_at: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), + disabled_at: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), }).transform((v) => { return remap$(v, { "delivery_metadata": "deliveryMetadata", + "created_at": "createdAt", + "updated_at": "updatedAt", + "disabled_at": "disabledAt", }); }); /** @internal */ @@ -89,6 +113,9 @@ export type DestinationCreateAzureServiceBus$Outbound = { credentials: AzureServiceBusCredentials$Outbound; delivery_metadata?: { [k: string]: string } | null | undefined; metadata?: { [k: string]: string } | null | undefined; + created_at?: string | null | undefined; + updated_at?: string | null | undefined; + disabled_at?: string | null | undefined; }; /** @internal */ @@ -105,9 +132,15 @@ export const DestinationCreateAzureServiceBus$outboundSchema: z.ZodType< credentials: AzureServiceBusCredentials$outboundSchema, deliveryMetadata: z.nullable(z.record(z.string())).optional(), metadata: z.nullable(z.record(z.string())).optional(), + createdAt: z.nullable(z.date().transform(v => v.toISOString())).optional(), + updatedAt: z.nullable(z.date().transform(v => v.toISOString())).optional(), + disabledAt: z.nullable(z.date().transform(v => v.toISOString())).optional(), }).transform((v) => { return remap$(v, { deliveryMetadata: "delivery_metadata", + createdAt: "created_at", + updatedAt: "updated_at", + disabledAt: "disabled_at", }); }); diff --git a/sdks/outpost-typescript/src/models/components/destinationcreategcppubsub.ts b/sdks/outpost-typescript/src/models/components/destinationcreategcppubsub.ts index 47fd9eae..be9842dd 100644 --- a/sdks/outpost-typescript/src/models/components/destinationcreategcppubsub.ts +++ b/sdks/outpost-typescript/src/models/components/destinationcreategcppubsub.ts @@ -58,6 +58,18 @@ export type DestinationCreateGCPPubSub = { * Arbitrary contextual information stored with the destination. */ metadata?: { [k: string]: string } | null | undefined; + /** + * 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. + */ + createdAt?: Date | null | undefined; + /** + * 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. + */ + updatedAt?: Date | null | undefined; + /** + * If set, the destination is created in a disabled state with this timestamp. Must not be in the future. Defaults to null (enabled). + */ + disabledAt?: Date | null | undefined; }; /** @internal */ @@ -74,9 +86,21 @@ export const DestinationCreateGCPPubSub$inboundSchema: z.ZodType< credentials: GCPPubSubCredentials$inboundSchema, delivery_metadata: z.nullable(z.record(z.string())).optional(), metadata: z.nullable(z.record(z.string())).optional(), + created_at: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), + updated_at: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), + disabled_at: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), }).transform((v) => { return remap$(v, { "delivery_metadata": "deliveryMetadata", + "created_at": "createdAt", + "updated_at": "updatedAt", + "disabled_at": "disabledAt", }); }); /** @internal */ @@ -89,6 +113,9 @@ export type DestinationCreateGCPPubSub$Outbound = { credentials: GCPPubSubCredentials$Outbound; delivery_metadata?: { [k: string]: string } | null | undefined; metadata?: { [k: string]: string } | null | undefined; + created_at?: string | null | undefined; + updated_at?: string | null | undefined; + disabled_at?: string | null | undefined; }; /** @internal */ @@ -105,9 +132,15 @@ export const DestinationCreateGCPPubSub$outboundSchema: z.ZodType< credentials: GCPPubSubCredentials$outboundSchema, deliveryMetadata: z.nullable(z.record(z.string())).optional(), metadata: z.nullable(z.record(z.string())).optional(), + createdAt: z.nullable(z.date().transform(v => v.toISOString())).optional(), + updatedAt: z.nullable(z.date().transform(v => v.toISOString())).optional(), + disabledAt: z.nullable(z.date().transform(v => v.toISOString())).optional(), }).transform((v) => { return remap$(v, { deliveryMetadata: "delivery_metadata", + createdAt: "created_at", + updatedAt: "updated_at", + disabledAt: "disabled_at", }); }); diff --git a/sdks/outpost-typescript/src/models/components/destinationcreatehookdeck.ts b/sdks/outpost-typescript/src/models/components/destinationcreatehookdeck.ts index 2d357033..9ed38b95 100644 --- a/sdks/outpost-typescript/src/models/components/destinationcreatehookdeck.ts +++ b/sdks/outpost-typescript/src/models/components/destinationcreatehookdeck.ts @@ -52,6 +52,18 @@ export type DestinationCreateHookdeck = { * Arbitrary contextual information stored with the destination. */ metadata?: { [k: string]: string } | null | undefined; + /** + * 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. + */ + createdAt?: Date | null | undefined; + /** + * 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. + */ + updatedAt?: Date | null | undefined; + /** + * If set, the destination is created in a disabled state with this timestamp. Must not be in the future. Defaults to null (enabled). + */ + disabledAt?: Date | null | undefined; }; /** @internal */ @@ -68,9 +80,21 @@ export const DestinationCreateHookdeck$inboundSchema: z.ZodType< credentials: HookdeckCredentials$inboundSchema, delivery_metadata: z.nullable(z.record(z.string())).optional(), metadata: z.nullable(z.record(z.string())).optional(), + created_at: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), + updated_at: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), + disabled_at: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), }).transform((v) => { return remap$(v, { "delivery_metadata": "deliveryMetadata", + "created_at": "createdAt", + "updated_at": "updatedAt", + "disabled_at": "disabledAt", }); }); /** @internal */ @@ -83,6 +107,9 @@ export type DestinationCreateHookdeck$Outbound = { credentials: HookdeckCredentials$Outbound; delivery_metadata?: { [k: string]: string } | null | undefined; metadata?: { [k: string]: string } | null | undefined; + created_at?: string | null | undefined; + updated_at?: string | null | undefined; + disabled_at?: string | null | undefined; }; /** @internal */ @@ -99,9 +126,15 @@ export const DestinationCreateHookdeck$outboundSchema: z.ZodType< credentials: HookdeckCredentials$outboundSchema, deliveryMetadata: z.nullable(z.record(z.string())).optional(), metadata: z.nullable(z.record(z.string())).optional(), + createdAt: z.nullable(z.date().transform(v => v.toISOString())).optional(), + updatedAt: z.nullable(z.date().transform(v => v.toISOString())).optional(), + disabledAt: z.nullable(z.date().transform(v => v.toISOString())).optional(), }).transform((v) => { return remap$(v, { deliveryMetadata: "delivery_metadata", + createdAt: "created_at", + updatedAt: "updated_at", + disabledAt: "disabled_at", }); }); diff --git a/sdks/outpost-typescript/src/models/components/destinationcreatekafka.ts b/sdks/outpost-typescript/src/models/components/destinationcreatekafka.ts index 08290c70..49f5e4d6 100644 --- a/sdks/outpost-typescript/src/models/components/destinationcreatekafka.ts +++ b/sdks/outpost-typescript/src/models/components/destinationcreatekafka.ts @@ -58,6 +58,18 @@ export type DestinationCreateKafka = { * Arbitrary contextual information stored with the destination. */ metadata?: { [k: string]: string } | null | undefined; + /** + * 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. + */ + createdAt?: Date | null | undefined; + /** + * 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. + */ + updatedAt?: Date | null | undefined; + /** + * If set, the destination is created in a disabled state with this timestamp. Must not be in the future. Defaults to null (enabled). + */ + disabledAt?: Date | null | undefined; }; /** @internal */ @@ -74,9 +86,21 @@ export const DestinationCreateKafka$inboundSchema: z.ZodType< credentials: KafkaCredentials$inboundSchema, delivery_metadata: z.nullable(z.record(z.string())).optional(), metadata: z.nullable(z.record(z.string())).optional(), + created_at: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), + updated_at: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), + disabled_at: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), }).transform((v) => { return remap$(v, { "delivery_metadata": "deliveryMetadata", + "created_at": "createdAt", + "updated_at": "updatedAt", + "disabled_at": "disabledAt", }); }); /** @internal */ @@ -89,6 +113,9 @@ export type DestinationCreateKafka$Outbound = { credentials: KafkaCredentials$Outbound; delivery_metadata?: { [k: string]: string } | null | undefined; metadata?: { [k: string]: string } | null | undefined; + created_at?: string | null | undefined; + updated_at?: string | null | undefined; + disabled_at?: string | null | undefined; }; /** @internal */ @@ -105,9 +132,15 @@ export const DestinationCreateKafka$outboundSchema: z.ZodType< credentials: KafkaCredentials$outboundSchema, deliveryMetadata: z.nullable(z.record(z.string())).optional(), metadata: z.nullable(z.record(z.string())).optional(), + createdAt: z.nullable(z.date().transform(v => v.toISOString())).optional(), + updatedAt: z.nullable(z.date().transform(v => v.toISOString())).optional(), + disabledAt: z.nullable(z.date().transform(v => v.toISOString())).optional(), }).transform((v) => { return remap$(v, { deliveryMetadata: "delivery_metadata", + createdAt: "created_at", + updatedAt: "updated_at", + disabledAt: "disabled_at", }); }); diff --git a/sdks/outpost-typescript/src/models/components/destinationcreaterabbitmq.ts b/sdks/outpost-typescript/src/models/components/destinationcreaterabbitmq.ts index ad8b9666..02a4f815 100644 --- a/sdks/outpost-typescript/src/models/components/destinationcreaterabbitmq.ts +++ b/sdks/outpost-typescript/src/models/components/destinationcreaterabbitmq.ts @@ -58,6 +58,18 @@ export type DestinationCreateRabbitMQ = { * Arbitrary contextual information stored with the destination. */ metadata?: { [k: string]: string } | null | undefined; + /** + * 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. + */ + createdAt?: Date | null | undefined; + /** + * 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. + */ + updatedAt?: Date | null | undefined; + /** + * If set, the destination is created in a disabled state with this timestamp. Must not be in the future. Defaults to null (enabled). + */ + disabledAt?: Date | null | undefined; }; /** @internal */ @@ -74,9 +86,21 @@ export const DestinationCreateRabbitMQ$inboundSchema: z.ZodType< credentials: RabbitMQCredentials$inboundSchema, delivery_metadata: z.nullable(z.record(z.string())).optional(), metadata: z.nullable(z.record(z.string())).optional(), + created_at: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), + updated_at: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), + disabled_at: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), }).transform((v) => { return remap$(v, { "delivery_metadata": "deliveryMetadata", + "created_at": "createdAt", + "updated_at": "updatedAt", + "disabled_at": "disabledAt", }); }); /** @internal */ @@ -89,6 +113,9 @@ export type DestinationCreateRabbitMQ$Outbound = { credentials: RabbitMQCredentials$Outbound; delivery_metadata?: { [k: string]: string } | null | undefined; metadata?: { [k: string]: string } | null | undefined; + created_at?: string | null | undefined; + updated_at?: string | null | undefined; + disabled_at?: string | null | undefined; }; /** @internal */ @@ -105,9 +132,15 @@ export const DestinationCreateRabbitMQ$outboundSchema: z.ZodType< credentials: RabbitMQCredentials$outboundSchema, deliveryMetadata: z.nullable(z.record(z.string())).optional(), metadata: z.nullable(z.record(z.string())).optional(), + createdAt: z.nullable(z.date().transform(v => v.toISOString())).optional(), + updatedAt: z.nullable(z.date().transform(v => v.toISOString())).optional(), + disabledAt: z.nullable(z.date().transform(v => v.toISOString())).optional(), }).transform((v) => { return remap$(v, { deliveryMetadata: "delivery_metadata", + createdAt: "created_at", + updatedAt: "updated_at", + disabledAt: "disabled_at", }); }); diff --git a/sdks/outpost-typescript/src/models/components/destinationcreatewebhook.ts b/sdks/outpost-typescript/src/models/components/destinationcreatewebhook.ts index 2763acb1..509607cf 100644 --- a/sdks/outpost-typescript/src/models/components/destinationcreatewebhook.ts +++ b/sdks/outpost-typescript/src/models/components/destinationcreatewebhook.ts @@ -58,6 +58,18 @@ export type DestinationCreateWebhook = { * Arbitrary contextual information stored with the destination. */ metadata?: { [k: string]: string } | null | undefined; + /** + * 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. + */ + createdAt?: Date | null | undefined; + /** + * 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. + */ + updatedAt?: Date | null | undefined; + /** + * If set, the destination is created in a disabled state with this timestamp. Must not be in the future. Defaults to null (enabled). + */ + disabledAt?: Date | null | undefined; }; /** @internal */ @@ -74,9 +86,21 @@ export const DestinationCreateWebhook$inboundSchema: z.ZodType< credentials: WebhookCredentials$inboundSchema.optional(), delivery_metadata: z.nullable(z.record(z.string())).optional(), metadata: z.nullable(z.record(z.string())).optional(), + created_at: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), + updated_at: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), + disabled_at: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), }).transform((v) => { return remap$(v, { "delivery_metadata": "deliveryMetadata", + "created_at": "createdAt", + "updated_at": "updatedAt", + "disabled_at": "disabledAt", }); }); /** @internal */ @@ -89,6 +113,9 @@ export type DestinationCreateWebhook$Outbound = { credentials?: WebhookCredentials$Outbound | undefined; delivery_metadata?: { [k: string]: string } | null | undefined; metadata?: { [k: string]: string } | null | undefined; + created_at?: string | null | undefined; + updated_at?: string | null | undefined; + disabled_at?: string | null | undefined; }; /** @internal */ @@ -105,9 +132,15 @@ export const DestinationCreateWebhook$outboundSchema: z.ZodType< credentials: WebhookCredentials$outboundSchema.optional(), deliveryMetadata: z.nullable(z.record(z.string())).optional(), metadata: z.nullable(z.record(z.string())).optional(), + createdAt: z.nullable(z.date().transform(v => v.toISOString())).optional(), + updatedAt: z.nullable(z.date().transform(v => v.toISOString())).optional(), + disabledAt: z.nullable(z.date().transform(v => v.toISOString())).optional(), }).transform((v) => { return remap$(v, { deliveryMetadata: "delivery_metadata", + createdAt: "created_at", + updatedAt: "updated_at", + disabledAt: "disabled_at", }); }); diff --git a/sdks/outpost-typescript/src/models/components/destinationupdateawskinesis.ts b/sdks/outpost-typescript/src/models/components/destinationupdateawskinesis.ts index 861cfdde..272e2168 100644 --- a/sdks/outpost-typescript/src/models/components/destinationupdateawskinesis.ts +++ b/sdks/outpost-typescript/src/models/components/destinationupdateawskinesis.ts @@ -50,6 +50,10 @@ export type DestinationUpdateAWSKinesis = { * 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. */ metadata?: { [k: string]: string | null } | null | undefined; + /** + * 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. + */ + disabledAt?: Date | null | undefined; }; /** @internal */ @@ -64,9 +68,13 @@ export const DestinationUpdateAWSKinesis$inboundSchema: z.ZodType< credentials: AWSKinesisCredentials$inboundSchema.optional(), delivery_metadata: z.nullable(z.record(z.nullable(z.string()))).optional(), metadata: z.nullable(z.record(z.nullable(z.string()))).optional(), + disabled_at: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), }).transform((v) => { return remap$(v, { "delivery_metadata": "deliveryMetadata", + "disabled_at": "disabledAt", }); }); /** @internal */ @@ -77,6 +85,7 @@ export type DestinationUpdateAWSKinesis$Outbound = { credentials?: AWSKinesisCredentials$Outbound | undefined; delivery_metadata?: { [k: string]: string | null } | null | undefined; metadata?: { [k: string]: string | null } | null | undefined; + disabled_at?: string | null | undefined; }; /** @internal */ @@ -91,9 +100,11 @@ export const DestinationUpdateAWSKinesis$outboundSchema: z.ZodType< credentials: AWSKinesisCredentials$outboundSchema.optional(), deliveryMetadata: z.nullable(z.record(z.nullable(z.string()))).optional(), metadata: z.nullable(z.record(z.nullable(z.string()))).optional(), + disabledAt: z.nullable(z.date().transform(v => v.toISOString())).optional(), }).transform((v) => { return remap$(v, { deliveryMetadata: "delivery_metadata", + disabledAt: "disabled_at", }); }); diff --git a/sdks/outpost-typescript/src/models/components/destinationupdateawss3.ts b/sdks/outpost-typescript/src/models/components/destinationupdateawss3.ts index 11279eb1..353de770 100644 --- a/sdks/outpost-typescript/src/models/components/destinationupdateawss3.ts +++ b/sdks/outpost-typescript/src/models/components/destinationupdateawss3.ts @@ -50,6 +50,10 @@ export type DestinationUpdateAwss3 = { * 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. */ metadata?: { [k: string]: string | null } | null | undefined; + /** + * 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. + */ + disabledAt?: Date | null | undefined; }; /** @internal */ @@ -64,9 +68,13 @@ export const DestinationUpdateAwss3$inboundSchema: z.ZodType< credentials: Awss3Credentials$inboundSchema.optional(), delivery_metadata: z.nullable(z.record(z.nullable(z.string()))).optional(), metadata: z.nullable(z.record(z.nullable(z.string()))).optional(), + disabled_at: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), }).transform((v) => { return remap$(v, { "delivery_metadata": "deliveryMetadata", + "disabled_at": "disabledAt", }); }); /** @internal */ @@ -77,6 +85,7 @@ export type DestinationUpdateAwss3$Outbound = { credentials?: Awss3Credentials$Outbound | undefined; delivery_metadata?: { [k: string]: string | null } | null | undefined; metadata?: { [k: string]: string | null } | null | undefined; + disabled_at?: string | null | undefined; }; /** @internal */ @@ -91,9 +100,11 @@ export const DestinationUpdateAwss3$outboundSchema: z.ZodType< credentials: Awss3Credentials$outboundSchema.optional(), deliveryMetadata: z.nullable(z.record(z.nullable(z.string()))).optional(), metadata: z.nullable(z.record(z.nullable(z.string()))).optional(), + disabledAt: z.nullable(z.date().transform(v => v.toISOString())).optional(), }).transform((v) => { return remap$(v, { deliveryMetadata: "delivery_metadata", + disabledAt: "disabled_at", }); }); diff --git a/sdks/outpost-typescript/src/models/components/destinationupdateawssqs.ts b/sdks/outpost-typescript/src/models/components/destinationupdateawssqs.ts index 27aa01f3..ece809cf 100644 --- a/sdks/outpost-typescript/src/models/components/destinationupdateawssqs.ts +++ b/sdks/outpost-typescript/src/models/components/destinationupdateawssqs.ts @@ -50,6 +50,10 @@ export type DestinationUpdateAWSSQS = { * 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. */ metadata?: { [k: string]: string | null } | null | undefined; + /** + * 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. + */ + disabledAt?: Date | null | undefined; }; /** @internal */ @@ -64,9 +68,13 @@ export const DestinationUpdateAWSSQS$inboundSchema: z.ZodType< credentials: AWSSQSCredentials$inboundSchema.optional(), delivery_metadata: z.nullable(z.record(z.nullable(z.string()))).optional(), metadata: z.nullable(z.record(z.nullable(z.string()))).optional(), + disabled_at: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), }).transform((v) => { return remap$(v, { "delivery_metadata": "deliveryMetadata", + "disabled_at": "disabledAt", }); }); /** @internal */ @@ -77,6 +85,7 @@ export type DestinationUpdateAWSSQS$Outbound = { credentials?: AWSSQSCredentials$Outbound | undefined; delivery_metadata?: { [k: string]: string | null } | null | undefined; metadata?: { [k: string]: string | null } | null | undefined; + disabled_at?: string | null | undefined; }; /** @internal */ @@ -91,9 +100,11 @@ export const DestinationUpdateAWSSQS$outboundSchema: z.ZodType< credentials: AWSSQSCredentials$outboundSchema.optional(), deliveryMetadata: z.nullable(z.record(z.nullable(z.string()))).optional(), metadata: z.nullable(z.record(z.nullable(z.string()))).optional(), + disabledAt: z.nullable(z.date().transform(v => v.toISOString())).optional(), }).transform((v) => { return remap$(v, { deliveryMetadata: "delivery_metadata", + disabledAt: "disabled_at", }); }); diff --git a/sdks/outpost-typescript/src/models/components/destinationupdateazureservicebus.ts b/sdks/outpost-typescript/src/models/components/destinationupdateazureservicebus.ts index 74fe31e2..27c8f1f8 100644 --- a/sdks/outpost-typescript/src/models/components/destinationupdateazureservicebus.ts +++ b/sdks/outpost-typescript/src/models/components/destinationupdateazureservicebus.ts @@ -50,6 +50,10 @@ export type DestinationUpdateAzureServiceBus = { * 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. */ metadata?: { [k: string]: string | null } | null | undefined; + /** + * 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. + */ + disabledAt?: Date | null | undefined; }; /** @internal */ @@ -64,9 +68,13 @@ export const DestinationUpdateAzureServiceBus$inboundSchema: z.ZodType< credentials: AzureServiceBusCredentials$inboundSchema.optional(), delivery_metadata: z.nullable(z.record(z.nullable(z.string()))).optional(), metadata: z.nullable(z.record(z.nullable(z.string()))).optional(), + disabled_at: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), }).transform((v) => { return remap$(v, { "delivery_metadata": "deliveryMetadata", + "disabled_at": "disabledAt", }); }); /** @internal */ @@ -77,6 +85,7 @@ export type DestinationUpdateAzureServiceBus$Outbound = { credentials?: AzureServiceBusCredentials$Outbound | undefined; delivery_metadata?: { [k: string]: string | null } | null | undefined; metadata?: { [k: string]: string | null } | null | undefined; + disabled_at?: string | null | undefined; }; /** @internal */ @@ -91,9 +100,11 @@ export const DestinationUpdateAzureServiceBus$outboundSchema: z.ZodType< credentials: AzureServiceBusCredentials$outboundSchema.optional(), deliveryMetadata: z.nullable(z.record(z.nullable(z.string()))).optional(), metadata: z.nullable(z.record(z.nullable(z.string()))).optional(), + disabledAt: z.nullable(z.date().transform(v => v.toISOString())).optional(), }).transform((v) => { return remap$(v, { deliveryMetadata: "delivery_metadata", + disabledAt: "disabled_at", }); }); diff --git a/sdks/outpost-typescript/src/models/components/destinationupdategcppubsub.ts b/sdks/outpost-typescript/src/models/components/destinationupdategcppubsub.ts index d018f503..d14fa0c6 100644 --- a/sdks/outpost-typescript/src/models/components/destinationupdategcppubsub.ts +++ b/sdks/outpost-typescript/src/models/components/destinationupdategcppubsub.ts @@ -50,6 +50,10 @@ export type DestinationUpdateGCPPubSub = { * 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. */ metadata?: { [k: string]: string | null } | null | undefined; + /** + * 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. + */ + disabledAt?: Date | null | undefined; }; /** @internal */ @@ -64,9 +68,13 @@ export const DestinationUpdateGCPPubSub$inboundSchema: z.ZodType< credentials: GCPPubSubCredentials$inboundSchema.optional(), delivery_metadata: z.nullable(z.record(z.nullable(z.string()))).optional(), metadata: z.nullable(z.record(z.nullable(z.string()))).optional(), + disabled_at: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), }).transform((v) => { return remap$(v, { "delivery_metadata": "deliveryMetadata", + "disabled_at": "disabledAt", }); }); /** @internal */ @@ -77,6 +85,7 @@ export type DestinationUpdateGCPPubSub$Outbound = { credentials?: GCPPubSubCredentials$Outbound | undefined; delivery_metadata?: { [k: string]: string | null } | null | undefined; metadata?: { [k: string]: string | null } | null | undefined; + disabled_at?: string | null | undefined; }; /** @internal */ @@ -91,9 +100,11 @@ export const DestinationUpdateGCPPubSub$outboundSchema: z.ZodType< credentials: GCPPubSubCredentials$outboundSchema.optional(), deliveryMetadata: z.nullable(z.record(z.nullable(z.string()))).optional(), metadata: z.nullable(z.record(z.nullable(z.string()))).optional(), + disabledAt: z.nullable(z.date().transform(v => v.toISOString())).optional(), }).transform((v) => { return remap$(v, { deliveryMetadata: "delivery_metadata", + disabledAt: "disabled_at", }); }); diff --git a/sdks/outpost-typescript/src/models/components/destinationupdatehookdeck.ts b/sdks/outpost-typescript/src/models/components/destinationupdatehookdeck.ts index aaa6e78e..974412ba 100644 --- a/sdks/outpost-typescript/src/models/components/destinationupdatehookdeck.ts +++ b/sdks/outpost-typescript/src/models/components/destinationupdatehookdeck.ts @@ -44,6 +44,10 @@ export type DestinationUpdateHookdeck = { * 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. */ metadata?: { [k: string]: string | null } | null | undefined; + /** + * 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. + */ + disabledAt?: Date | null | undefined; }; /** @internal */ @@ -58,9 +62,13 @@ export const DestinationUpdateHookdeck$inboundSchema: z.ZodType< credentials: HookdeckCredentials$inboundSchema.optional(), delivery_metadata: z.nullable(z.record(z.nullable(z.string()))).optional(), metadata: z.nullable(z.record(z.nullable(z.string()))).optional(), + disabled_at: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), }).transform((v) => { return remap$(v, { "delivery_metadata": "deliveryMetadata", + "disabled_at": "disabledAt", }); }); /** @internal */ @@ -71,6 +79,7 @@ export type DestinationUpdateHookdeck$Outbound = { credentials?: HookdeckCredentials$Outbound | undefined; delivery_metadata?: { [k: string]: string | null } | null | undefined; metadata?: { [k: string]: string | null } | null | undefined; + disabled_at?: string | null | undefined; }; /** @internal */ @@ -85,9 +94,11 @@ export const DestinationUpdateHookdeck$outboundSchema: z.ZodType< credentials: HookdeckCredentials$outboundSchema.optional(), deliveryMetadata: z.nullable(z.record(z.nullable(z.string()))).optional(), metadata: z.nullable(z.record(z.nullable(z.string()))).optional(), + disabledAt: z.nullable(z.date().transform(v => v.toISOString())).optional(), }).transform((v) => { return remap$(v, { deliveryMetadata: "delivery_metadata", + disabledAt: "disabled_at", }); }); diff --git a/sdks/outpost-typescript/src/models/components/destinationupdatekafka.ts b/sdks/outpost-typescript/src/models/components/destinationupdatekafka.ts index 92ce5ec1..db95dce8 100644 --- a/sdks/outpost-typescript/src/models/components/destinationupdatekafka.ts +++ b/sdks/outpost-typescript/src/models/components/destinationupdatekafka.ts @@ -50,6 +50,10 @@ export type DestinationUpdateKafka = { * 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. */ metadata?: { [k: string]: string | null } | null | undefined; + /** + * 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. + */ + disabledAt?: Date | null | undefined; }; /** @internal */ @@ -64,9 +68,13 @@ export const DestinationUpdateKafka$inboundSchema: z.ZodType< credentials: KafkaCredentials$inboundSchema.optional(), delivery_metadata: z.nullable(z.record(z.nullable(z.string()))).optional(), metadata: z.nullable(z.record(z.nullable(z.string()))).optional(), + disabled_at: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), }).transform((v) => { return remap$(v, { "delivery_metadata": "deliveryMetadata", + "disabled_at": "disabledAt", }); }); /** @internal */ @@ -77,6 +85,7 @@ export type DestinationUpdateKafka$Outbound = { credentials?: KafkaCredentials$Outbound | undefined; delivery_metadata?: { [k: string]: string | null } | null | undefined; metadata?: { [k: string]: string | null } | null | undefined; + disabled_at?: string | null | undefined; }; /** @internal */ @@ -91,9 +100,11 @@ export const DestinationUpdateKafka$outboundSchema: z.ZodType< credentials: KafkaCredentials$outboundSchema.optional(), deliveryMetadata: z.nullable(z.record(z.nullable(z.string()))).optional(), metadata: z.nullable(z.record(z.nullable(z.string()))).optional(), + disabledAt: z.nullable(z.date().transform(v => v.toISOString())).optional(), }).transform((v) => { return remap$(v, { deliveryMetadata: "delivery_metadata", + disabledAt: "disabled_at", }); }); diff --git a/sdks/outpost-typescript/src/models/components/destinationupdaterabbitmq.ts b/sdks/outpost-typescript/src/models/components/destinationupdaterabbitmq.ts index 902ea4ad..92b925de 100644 --- a/sdks/outpost-typescript/src/models/components/destinationupdaterabbitmq.ts +++ b/sdks/outpost-typescript/src/models/components/destinationupdaterabbitmq.ts @@ -50,6 +50,10 @@ export type DestinationUpdateRabbitMQ = { * 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. */ metadata?: { [k: string]: string | null } | null | undefined; + /** + * 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. + */ + disabledAt?: Date | null | undefined; }; /** @internal */ @@ -64,9 +68,13 @@ export const DestinationUpdateRabbitMQ$inboundSchema: z.ZodType< credentials: RabbitMQCredentials$inboundSchema.optional(), delivery_metadata: z.nullable(z.record(z.nullable(z.string()))).optional(), metadata: z.nullable(z.record(z.nullable(z.string()))).optional(), + disabled_at: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), }).transform((v) => { return remap$(v, { "delivery_metadata": "deliveryMetadata", + "disabled_at": "disabledAt", }); }); /** @internal */ @@ -77,6 +85,7 @@ export type DestinationUpdateRabbitMQ$Outbound = { credentials?: RabbitMQCredentials$Outbound | undefined; delivery_metadata?: { [k: string]: string | null } | null | undefined; metadata?: { [k: string]: string | null } | null | undefined; + disabled_at?: string | null | undefined; }; /** @internal */ @@ -91,9 +100,11 @@ export const DestinationUpdateRabbitMQ$outboundSchema: z.ZodType< credentials: RabbitMQCredentials$outboundSchema.optional(), deliveryMetadata: z.nullable(z.record(z.nullable(z.string()))).optional(), metadata: z.nullable(z.record(z.nullable(z.string()))).optional(), + disabledAt: z.nullable(z.date().transform(v => v.toISOString())).optional(), }).transform((v) => { return remap$(v, { deliveryMetadata: "delivery_metadata", + disabledAt: "disabled_at", }); }); diff --git a/sdks/outpost-typescript/src/models/components/destinationupdatewebhook.ts b/sdks/outpost-typescript/src/models/components/destinationupdatewebhook.ts index 4ca5be6e..9b370dbf 100644 --- a/sdks/outpost-typescript/src/models/components/destinationupdatewebhook.ts +++ b/sdks/outpost-typescript/src/models/components/destinationupdatewebhook.ts @@ -50,6 +50,10 @@ export type DestinationUpdateWebhook = { * 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. */ metadata?: { [k: string]: string | null } | null | undefined; + /** + * 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. + */ + disabledAt?: Date | null | undefined; }; /** @internal */ @@ -64,9 +68,13 @@ export const DestinationUpdateWebhook$inboundSchema: z.ZodType< credentials: WebhookCredentialsUpdate$inboundSchema.optional(), delivery_metadata: z.nullable(z.record(z.nullable(z.string()))).optional(), metadata: z.nullable(z.record(z.nullable(z.string()))).optional(), + disabled_at: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), }).transform((v) => { return remap$(v, { "delivery_metadata": "deliveryMetadata", + "disabled_at": "disabledAt", }); }); /** @internal */ @@ -77,6 +85,7 @@ export type DestinationUpdateWebhook$Outbound = { credentials?: WebhookCredentialsUpdate$Outbound | undefined; delivery_metadata?: { [k: string]: string | null } | null | undefined; metadata?: { [k: string]: string | null } | null | undefined; + disabled_at?: string | null | undefined; }; /** @internal */ @@ -91,9 +100,11 @@ export const DestinationUpdateWebhook$outboundSchema: z.ZodType< credentials: WebhookCredentialsUpdate$outboundSchema.optional(), deliveryMetadata: z.nullable(z.record(z.nullable(z.string()))).optional(), metadata: z.nullable(z.record(z.nullable(z.string()))).optional(), + disabledAt: z.nullable(z.date().transform(v => v.toISOString())).optional(), }).transform((v) => { return remap$(v, { deliveryMetadata: "delivery_metadata", + disabledAt: "disabled_at", }); });