diff --git a/.speakeasy/logs/changes/changes.html b/.speakeasy/logs/changes/changes.html index 8fc6069a..9d0919ff 100644 --- a/.speakeasy/logs/changes/changes.html +++ b/.speakeasy/logs/changes/changes.html @@ -4,7 +4,7 @@ - SDK Changelog - go + SDK Changelog - python -

Go SDK Changes:

+

Python SDK Changes:

\ No newline at end of file diff --git a/.speakeasy/logs/changes/changes.md b/.speakeasy/logs/changes/changes.md index ee844e3c..fac5104b 100644 --- a/.speakeasy/logs/changes/changes.md +++ b/.speakeasy/logs/changes/changes.md @@ -1,3 +1,3 @@ -## Go SDK Changes: -* `Outpost.Schemas.ListDestinationTypes()`: `response.[].ConfigFields[].Type.Enum(keyValueMap)` **Added** (Breaking ⚠️) -* `Outpost.Schemas.GetDestinationType()`: `response.ConfigFields[].Type.Enum(keyValueMap)` **Added** (Breaking ⚠️) +## Python SDK Changes: +* `outpost.schemas.list_destination_types()`: `response.[].config_fields[].type.enum(key_value_map)` **Added** (Breaking ⚠️) +* `outpost.schemas.get_destination_type()`: `response.config_fields[].type.enum(key_value_map)` **Added** (Breaking ⚠️) diff --git a/.speakeasy/logs/changes/new.openapi.yaml b/.speakeasy/logs/changes/new.openapi.yaml index df8a0050..0e9a440e 100644 --- a/.speakeasy/logs/changes/new.openapi.yaml +++ b/.speakeasy/logs/changes/new.openapi.yaml @@ -204,11 +204,13 @@ components: nullable: true description: Cursor for the next page of results. Null if no more results. example: "MTcwNDA2NzIwMA==" + x-speakeasy-name-override: "next_cursor" prev: type: string nullable: true description: Cursor for the previous page of results. Null if on first page. example: null + x-speakeasy-name-override: "prev_cursor" APIErrorResponse: type: object description: Standard error response format. @@ -2230,18 +2232,21 @@ paths: enum: [asc, desc] default: desc description: Sort direction. + x-speakeasy-name-override: "direction" - name: next in: query required: false schema: type: string description: Cursor for the next page of results. Mutually exclusive with `prev`. + x-speakeasy-name-override: "next_cursor" - name: prev in: query required: false schema: type: string description: Cursor for the previous page of results. Mutually exclusive with `next`. + x-speakeasy-name-override: "prev_cursor" responses: "200": description: List of tenants. @@ -2462,12 +2467,14 @@ paths: schema: type: string description: Cursor for next page of results. + x-speakeasy-name-override: "next_cursor" - name: prev in: query required: false schema: type: string description: Cursor for previous page of results. + x-speakeasy-name-override: "prev_cursor" - name: order_by in: query required: false @@ -2484,6 +2491,7 @@ paths: enum: [asc, desc] default: desc description: Sort direction. + x-speakeasy-name-override: "direction" responses: "200": description: A paginated list of events. @@ -2668,12 +2676,14 @@ paths: schema: type: string description: Cursor for next page of results. + x-speakeasy-name-override: "next_cursor" - name: prev in: query required: false schema: type: string description: Cursor for previous page of results. + x-speakeasy-name-override: "prev_cursor" - name: include in: query required: false @@ -2702,6 +2712,7 @@ paths: enum: [asc, desc] default: desc description: Sort direction. + x-speakeasy-name-override: "direction" responses: "200": description: A paginated list of attempts. @@ -3354,12 +3365,14 @@ paths: schema: type: string description: Cursor for next page of results. + x-speakeasy-name-override: "next_cursor" - name: prev in: query required: false schema: type: string description: Cursor for previous page of results. + x-speakeasy-name-override: "prev_cursor" - name: include in: query required: false @@ -3388,6 +3401,7 @@ paths: enum: [asc, desc] default: desc description: Sort direction. + x-speakeasy-name-override: "direction" responses: "200": description: A paginated list of attempts for the destination. diff --git a/.speakeasy/logs/changes/old.openapi.yaml b/.speakeasy/logs/changes/old.openapi.yaml index 38ebfc05..0a2c0866 100644 --- a/.speakeasy/logs/changes/old.openapi.yaml +++ b/.speakeasy/logs/changes/old.openapi.yaml @@ -204,11 +204,13 @@ components: nullable: true description: Cursor for the next page of results. Null if no more results. example: "MTcwNDA2NzIwMA==" + x-speakeasy-name-override: "next_cursor" prev: type: string nullable: true description: Cursor for the previous page of results. Null if on first page. example: null + x-speakeasy-name-override: "prev_cursor" APIErrorResponse: type: object description: Standard error response format. @@ -2172,9 +2174,11 @@ paths: in: query required: false schema: - type: array - items: - type: string + oneOf: + - type: string + - type: array + items: + type: string description: Filter tenants by ID(s). Use bracket notation for multiple values (e.g., `id[0]=t1&id[1]=t2` or `id[]=t1&id[]=t2`). - name: limit in: query @@ -2193,18 +2197,21 @@ paths: enum: [asc, desc] default: desc description: Sort direction. + x-speakeasy-name-override: "direction" - name: next in: query required: false schema: type: string description: Cursor for the next page of results. Mutually exclusive with `prev`. + x-speakeasy-name-override: "next_cursor" - name: prev in: query required: false schema: type: string description: Cursor for the previous page of results. Mutually exclusive with `next`. + x-speakeasy-name-override: "prev_cursor" responses: "200": description: List of tenants. @@ -2359,17 +2366,21 @@ paths: in: query required: false schema: - type: array - items: - type: string + oneOf: + - type: string + - type: array + items: + type: string description: Filter events by ID(s). Use bracket notation for multiple values (e.g., `id[0]=abc&id[1]=def`). - name: tenant_id in: query required: false schema: - type: array - items: - type: string + oneOf: + - type: string + - type: array + items: + type: string description: | Filter events by tenant ID(s). Use bracket notation for multiple values (e.g., `tenant_id[0]=t1&tenant_id[1]=t2`). When authenticated with a Tenant JWT, this parameter is ignored and the JWT's tenant is used. @@ -2378,9 +2389,11 @@ paths: in: query required: false schema: - type: array - items: - type: string + oneOf: + - type: string + - type: array + items: + type: string description: Filter events by topic(s). Use bracket notation for multiple values (e.g., `topic[0]=user.created&topic[1]=user.updated`). - name: time[gte] in: query @@ -2425,12 +2438,14 @@ paths: schema: type: string description: Cursor for next page of results. + x-speakeasy-name-override: "next_cursor" - name: prev in: query required: false schema: type: string description: Cursor for previous page of results. + x-speakeasy-name-override: "prev_cursor" - name: order_by in: query required: false @@ -2447,6 +2462,7 @@ paths: enum: [asc, desc] default: desc description: Sort direction. + x-speakeasy-name-override: "direction" responses: "200": description: A paginated list of events. @@ -2550,9 +2566,11 @@ paths: in: query required: false schema: - type: array - items: - type: string + oneOf: + - type: string + - type: array + items: + type: string description: | Filter attempts by tenant ID(s). Use bracket notation for multiple values (e.g., `tenant_id[0]=t1&tenant_id[1]=t2`). When authenticated with a Tenant JWT, this parameter is ignored and the JWT's tenant is used. @@ -2561,17 +2579,21 @@ paths: in: query required: false schema: - type: array - items: - type: string + oneOf: + - type: string + - type: array + items: + type: string description: Filter attempts by event ID(s). Use bracket notation for multiple values (e.g., `event_id[0]=e1&event_id[1]=e2`). - name: destination_id in: query required: false schema: - type: array - items: - type: string + oneOf: + - type: string + - type: array + items: + type: string description: Filter attempts by destination ID(s). Use bracket notation for multiple values (e.g., `destination_id[0]=d1&destination_id[1]=d2`). - name: status in: query @@ -2584,9 +2606,11 @@ paths: in: query required: false schema: - type: array - items: - type: string + oneOf: + - type: string + - type: array + items: + type: string description: Filter attempts by event topic(s). Use bracket notation for multiple values (e.g., `topic[0]=user.created&topic[1]=user.updated`). - name: time[gte] in: query @@ -2631,19 +2655,23 @@ paths: schema: type: string description: Cursor for next page of results. + x-speakeasy-name-override: "next_cursor" - name: prev in: query required: false schema: type: string description: Cursor for previous page of results. + x-speakeasy-name-override: "prev_cursor" - name: include in: query required: false schema: - type: array - items: - type: string + oneOf: + - type: string + - type: array + items: + type: string description: | Fields to include in the response. Use bracket notation for multiple values (e.g., `include[0]=event&include[1]=response_data`). - `event`: Include event summary (id, topic, time, eligible_for_retry, metadata) @@ -2665,6 +2693,7 @@ paths: enum: [asc, desc] default: desc description: Sort direction. + x-speakeasy-name-override: "direction" responses: "200": description: A paginated list of attempts. @@ -2760,9 +2789,11 @@ paths: in: query required: false schema: - type: array - items: - type: string + oneOf: + - type: string + - type: array + items: + type: string description: | Fields to include in the response. Use bracket notation for multiple values (e.g., `include[0]=event&include[1]=response_data`). - `event`: Include event summary (id, topic, time, eligible_for_retry, metadata) @@ -2911,17 +2942,21 @@ paths: in: query required: false schema: - type: array - items: - $ref: "#/components/schemas/DestinationType" + oneOf: + - $ref: "#/components/schemas/DestinationType" + - type: array + items: + $ref: "#/components/schemas/DestinationType" description: Filter destinations by type(s). Use bracket notation for multiple values (e.g., `type[0]=webhook&type[1]=aws_sqs`). - name: topics in: query required: false schema: - type: array - items: - type: string + oneOf: + - type: string + - type: array + items: + type: string description: Filter destinations by supported topic(s). Use bracket notation for multiple values (e.g., `topics[0]=user.created&topics[1]=user.deleted`). responses: "200": @@ -3255,9 +3290,11 @@ paths: in: query required: false schema: - type: array - items: - type: string + oneOf: + - type: string + - type: array + items: + type: string description: Filter attempts by event ID(s). Use bracket notation for multiple values (e.g., `event_id[0]=e1&event_id[1]=e2`). - name: status in: query @@ -3270,9 +3307,11 @@ paths: in: query required: false schema: - type: array - items: - type: string + oneOf: + - type: string + - type: array + items: + type: string description: Filter attempts by event topic(s). Use bracket notation for multiple values (e.g., `topic[0]=user.created&topic[1]=user.updated`). - name: time[gte] in: query @@ -3317,19 +3356,23 @@ paths: schema: type: string description: Cursor for next page of results. + x-speakeasy-name-override: "next_cursor" - name: prev in: query required: false schema: type: string description: Cursor for previous page of results. + x-speakeasy-name-override: "prev_cursor" - name: include in: query required: false schema: - type: array - items: - type: string + oneOf: + - type: string + - type: array + items: + type: string description: | Fields to include in the response. Use bracket notation for multiple values (e.g., `include[0]=event&include[1]=response_data`). - `event`: Include event summary (id, topic, time, eligible_for_retry, metadata) @@ -3351,6 +3394,7 @@ paths: enum: [asc, desc] default: desc description: Sort direction. + x-speakeasy-name-override: "direction" responses: "200": description: A paginated list of attempts for the destination. @@ -3431,9 +3475,11 @@ paths: in: query required: false schema: - type: array - items: - type: string + oneOf: + - type: string + - type: array + items: + type: string description: | Fields to include in the response. Use bracket notation for multiple values (e.g., `include[0]=event&include[1]=response_data`). - `event`: Include event summary diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index 6951ac0f..3dfc509a 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -16,8 +16,8 @@ sources: - 0.0.1 Outpost API (Python): sourceNamespace: outpost-api - sourceRevisionDigest: sha256:ae2005ea6bf52e19608bfd688182b8d821c4a265804e1d0e12639e94e6266b18 - sourceBlobDigest: sha256:f8f5a2e89ea8cabb42b5cb2510198bd9c755b44c77c4a4ca2c8dc570abfd5690 + sourceRevisionDigest: sha256:79f3198fcfdc6df1891dce6405ee29bc2dab9b1479fd3cbda5539e64d8bcab1e + sourceBlobDigest: sha256:be44b375e1684309e73c394ed059285a10eb26018a198e257f21c225201aa83c tags: - latest - 0.0.1 @@ -32,10 +32,10 @@ targets: outpost-python: source: Outpost API (Python) sourceNamespace: outpost-api - sourceRevisionDigest: sha256:ae2005ea6bf52e19608bfd688182b8d821c4a265804e1d0e12639e94e6266b18 - sourceBlobDigest: sha256:f8f5a2e89ea8cabb42b5cb2510198bd9c755b44c77c4a4ca2c8dc570abfd5690 + sourceRevisionDigest: sha256:79f3198fcfdc6df1891dce6405ee29bc2dab9b1479fd3cbda5539e64d8bcab1e + sourceBlobDigest: sha256:be44b375e1684309e73c394ed059285a10eb26018a198e257f21c225201aa83c codeSamplesNamespace: outpost-api-python-code-samples - codeSamplesRevisionDigest: sha256:4cf30359d97c81a205f5d859a43184c99c41e1fd6b52c67fa50692e64489d2a2 + codeSamplesRevisionDigest: sha256:6e91a5c9b46a4d8089f20f1421b0f91f84edd39fdc3cce0665b27451d2b275ce outpost-ts: source: Outpost API sourceNamespace: outpost-api diff --git a/sdks/outpost-python/.speakeasy/gen.lock b/sdks/outpost-python/.speakeasy/gen.lock index 502c74e8..95c797ad 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: 9b1adf53575bed63e98d258f2c1fb8fc + docChecksum: 4b1fca0908ac380a40851cdc7bf4b49d docVersion: 0.0.1 - speakeasyVersion: 1.753.0 - generationVersion: 2.862.0 - releaseVersion: 0.8.0 - configChecksum: 0b2fad570669f491140b7db263919f1e + speakeasyVersion: 1.755.0 + generationVersion: 2.865.2 + releaseVersion: 0.8.1 + configChecksum: 41a3437dab240e4ae9be979bcfa634cd 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: e8cb74b4-7fed-4fa9-a7d2-3767408a53aa - pristine_commit_hash: bc26908564846032206f11c2d11af3b47500a12b - pristine_tree_hash: 8a48720fd7e0bdf541bbb8e8fb2f2f0881f11b2a + generation_id: d5da4cbd-9b63-4cef-b698-6197e64b1f1b + pristine_commit_hash: 6e231d60bfb31d6fb32c9cb8571fb3c580008c5d + pristine_tree_hash: f60c8b0f03eba406a913637533002072fcb86a91 features: python: additionalDependencies: 1.0.0 @@ -275,8 +275,8 @@ trackedFiles: pristine_git_object: 4623c6a89a3408d38f42d1547b2c339b523dcc63 docs/models/destinationschemafieldtype.md: id: ceba3fe4fa9e - last_write_checksum: sha1:022629ee4395892ae56723dceb16139660aedd7e - pristine_git_object: 33cc35d97d3871e5720f65d011b871443f3c8623 + last_write_checksum: sha1:9032b7bc7ee41c652a3941a5c3c2cc99f925572f + pristine_git_object: 310d0504f7b0ec27a04586860d3ac3c77edd2478 docs/models/destinationtype.md: id: 27183f23a494 last_write_checksum: sha1:9ffc6c0a2ed803e8ba6cee38a9b6b1c0e3b8236e @@ -703,8 +703,8 @@ trackedFiles: pristine_git_object: cb9c15d314c1930557401074329ed7a737147919 pyproject.toml: id: 5d07e7d72637 - last_write_checksum: sha1:7fe4f887776d5fc503e90e8d74cbe1c873daf2e1 - pristine_git_object: f06cb423c017bb6d129b5b6daa704e3ea832dd9e + last_write_checksum: sha1:ff5345d7e473622e8cf4ce6f0197a2fd75d41b0a + pristine_git_object: f50ca6701be590ecc9d42b535297f4a7d2fb01a7 scripts/prepare_readme.py: id: e0c5957a6035 last_write_checksum: sha1:eb460f85c06b287fee629d997b2df75c92fa1cab @@ -731,8 +731,8 @@ trackedFiles: pristine_git_object: b1777a2eacece4434c53b2e136158f0c1360707d src/outpost_sdk/_version.py: id: 22be68f35ad0 - last_write_checksum: sha1:f1712f584f4d518e555ce228b57f00beadc4acb1 - pristine_git_object: f7d6cd50d3b8263f8c530d11c3f2da587b8a9f62 + last_write_checksum: sha1:3f6d917776e142434708631f0f3511241ccc5777 + pristine_git_object: 6331143a72d4bbf28e292e714b0e6ce40eed4977 src/outpost_sdk/attempts.py: id: 304ea4e0bbf1 last_write_checksum: sha1:f0c6e47c0a8b491757dcd598f966eca8476bed0c @@ -935,8 +935,8 @@ trackedFiles: pristine_git_object: 9535cfec04173b463b6b6caecd53a758f61c2c82 src/outpost_sdk/models/destinationschemafield.py: id: 9fea102c01b8 - last_write_checksum: sha1:6c1f240ad925267baba930a06e710cd1423c2710 - pristine_git_object: 00ea7fb1f5d151d946a95c186ecac9a46461d6e3 + last_write_checksum: sha1:6f57cf87ff1355e88d8e7eb87747457fa35783fa + pristine_git_object: edc17ff5fd4eeb62db10bbe3fb956ef4ab5fc065 src/outpost_sdk/models/destinationtype.py: id: "314568989242" last_write_checksum: sha1:7e4670afa60a4ed4bf05be1b858ed93577d1c3d4 @@ -1708,11 +1708,8 @@ examplesVersion: 1.0.2 generatedTests: {} releaseNotes: | ## Python SDK Changes: - * `outpost.events.list()`: `request` **Changed** (Breaking ⚠️) - * `outpost.attempts.list()`: `request` **Changed** (Breaking ⚠️) - * `outpost.destinations.list_attempts()`: `request` **Changed** (Breaking ⚠️) - * `outpost.tenants.list()`: **Added** - * `outpost.tenants.list_tenants()`: **Removed** (Breaking ⚠️) + * `outpost.schemas.list_destination_types()`: `response.[].config_fields[].type.enum(key_value_map)` **Added** (Breaking ⚠️) + * `outpost.schemas.get_destination_type()`: `response.config_fields[].type.enum(key_value_map)` **Added** (Breaking ⚠️) generatedFiles: - .gitattributes - .vscode/settings.json diff --git a/sdks/outpost-python/.speakeasy/gen.yaml b/sdks/outpost-python/.speakeasy/gen.yaml index 0b2639e8..3af64b3f 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: 0.8.0 + version: 0.8.1 additionalDependencies: dev: {} main: {} diff --git a/sdks/outpost-python/RELEASES.md b/sdks/outpost-python/RELEASES.md index c3d65d44..a9bf65de 100644 --- a/sdks/outpost-python/RELEASES.md +++ b/sdks/outpost-python/RELEASES.md @@ -68,4 +68,14 @@ Based on: ### Generated - [python v0.8.0] sdks/outpost-python ### Releases -- [PyPI v0.8.0] https://pypi.org/project/outpost_sdk/0.8.0 - sdks/outpost-python \ No newline at end of file +- [PyPI v0.8.0] https://pypi.org/project/outpost_sdk/0.8.0 - sdks/outpost-python + +## 2026-03-15 17:28:20 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.755.0 (2.865.2) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v0.8.1] sdks/outpost-python +### Releases +- [PyPI v0.8.1] https://pypi.org/project/outpost_sdk/0.8.1 - sdks/outpost-python \ No newline at end of file diff --git a/sdks/outpost-python/docs/models/destinationschemafieldtype.md b/sdks/outpost-python/docs/models/destinationschemafieldtype.md index 33cc35d9..310d0504 100644 --- a/sdks/outpost-python/docs/models/destinationschemafieldtype.md +++ b/sdks/outpost-python/docs/models/destinationschemafieldtype.md @@ -11,7 +11,8 @@ value = DestinationSchemaFieldType.TEXT ## Values -| Name | Value | -| ---------- | ---------- | -| `TEXT` | text | -| `CHECKBOX` | checkbox | \ No newline at end of file +| Name | Value | +| --------------- | --------------- | +| `TEXT` | text | +| `CHECKBOX` | checkbox | +| `KEY_VALUE_MAP` | key_value_map | \ No newline at end of file diff --git a/sdks/outpost-python/pyproject.toml b/sdks/outpost-python/pyproject.toml index f06cb423..f50ca670 100644 --- a/sdks/outpost-python/pyproject.toml +++ b/sdks/outpost-python/pyproject.toml @@ -1,7 +1,7 @@ [project] name = "outpost_sdk" -version = "0.8.0" +version = "0.8.1" 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 f7d6cd50..6331143a 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 = "0.8.0" +__version__: str = "0.8.1" __openapi_doc_version__: str = "0.0.1" -__gen_version__: str = "2.862.0" -__user_agent__: str = "speakeasy-sdk/python 0.8.0 2.862.0 0.0.1 outpost_sdk" +__gen_version__: str = "2.865.2" +__user_agent__: str = "speakeasy-sdk/python 0.8.1 2.865.2 0.0.1 outpost_sdk" try: if __package__ is not None: diff --git a/sdks/outpost-python/src/outpost_sdk/models/destinationschemafield.py b/sdks/outpost-python/src/outpost_sdk/models/destinationschemafield.py index 00ea7fb1..edc17ff5 100644 --- a/sdks/outpost-python/src/outpost_sdk/models/destinationschemafield.py +++ b/sdks/outpost-python/src/outpost_sdk/models/destinationschemafield.py @@ -11,6 +11,7 @@ class DestinationSchemaFieldType(str, Enum): TEXT = "text" CHECKBOX = "checkbox" + KEY_VALUE_MAP = "key_value_map" class DestinationSchemaFieldTypedDict(TypedDict):