From ca672b1b59aca1819d42ebb93f8796ebb51dd7c2 Mon Sep 17 00:00:00 2001 From: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Date: Tue, 23 Jun 2026 04:54:45 +0000 Subject: [PATCH 1/2] experiment: enable ALL fix flags to newSDK defaults Co-Authored-By: AJ Steers --- gen.yaml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/gen.yaml b/gen.yaml index 776e3296..2bd6ce8b 100644 --- a/gen.yaml +++ b/gen.yaml @@ -8,12 +8,12 @@ generation: fixes: nameResolutionDec2023: true nameResolutionFeb2025: true - parameterOrderingFeb2024: false - requestResponseComponentNamesFeb2024: false - securityFeb2025: false - sharedErrorComponentsApr2025: false - sharedNestedComponentsJan2026: false - nameOverrideFeb2026: false + parameterOrderingFeb2024: true + requestResponseComponentNamesFeb2024: true + securityFeb2025: true + sharedErrorComponentsApr2025: true + sharedNestedComponentsJan2026: true + nameOverrideFeb2026: true auth: oAuth2ClientCredentialsEnabled: true oAuth2PasswordEnabled: false @@ -53,9 +53,9 @@ python: async: EventStreamAsync sync: EventStream fixFlags: - asyncPaginationSep2025: false + asyncPaginationSep2025: true conflictResistantModelImportsFeb2026: true - responseRequiredSep2024: false + responseRequiredSep2024: true flattenGlobalSecurity: false flattenRequests: false flatteningOrder: parameters-first From 34c489938f1e2eb04bb757a00cfb71762f9b0b53 Mon Sep 17 00:00:00 2001 From: "octavia-bot[bot]" Date: Tue, 23 Jun 2026 04:58:20 +0000 Subject: [PATCH 2/2] chore: regenerate SDK with Speakeasy --- ...reatedeclarativesourcedefinitionrequest.md | 4 +- .../api/createdestinationdefinitionrequest.md | 4 +- ...dateorganizationoauthcredentialsrequest.md | 4 +- ...rupdateworkspaceoauthcredentialsrequest.md | 4 +- docs/api/createsourcedefinitionrequest.md | 4 +- ...eletedeclarativesourcedefinitionrequest.md | 4 +- .../api/deletedestinationdefinitionrequest.md | 4 +- ...leteorganizationoauthcredentialsrequest.md | 4 +- docs/api/deletesourcedefinitionrequest.md | 4 +- .../deleteworkspaceoauthcredentialsrequest.md | 4 +- .../getdeclarativesourcedefinitionrequest.md | 4 +- docs/api/getdestinationdefinitionrequest.md | 4 +- docs/api/getsourcedefinitionrequest.md | 4 +- docs/api/getsourcerequest.md | 4 +- docs/api/getstreampropertiesrequest.md | 4 +- docs/api/listconnectionsrequest.md | 6 +- docs/api/listdestinationsrequest.md | 4 +- docs/api/listjobsrequest.md | 12 +-- docs/api/listpermissionsrequest.md | 4 +- docs/api/listsourcesrequest.md | 4 +- .../listuserswithinanorganizationrequest.md | 4 +- docs/api/listworkspacesrequest.md | 4 +- docs/api/patchconnectionrequest.md | 4 +- docs/api/patchdestinationrequest.md | 4 +- docs/api/patchsourcerequest.md | 4 +- docs/api/putdestinationrequest.md | 4 +- docs/api/putsourcerequest.md | 4 +- ...pdatedeclarativesourcedefinitionrequest.md | 4 +- .../api/updatedestinationdefinitionrequest.md | 4 +- docs/api/updatepermissionrequest.md | 4 +- docs/api/updatesourcedefinitionrequest.md | 4 +- docs/api/updatetagrequest.md | 4 +- docs/api/updateworkspacerequest.md | 4 +- docs/sdks/connections/README.md | 4 +- .../declarativesourcedefinitions/README.md | 10 +- docs/sdks/destinationdefinitions/README.md | 10 +- docs/sdks/destinations/README.md | 8 +- docs/sdks/jobs/README.md | 6 +- docs/sdks/organizations/README.md | 4 +- docs/sdks/permissions/README.md | 2 +- docs/sdks/sourcedefinitions/README.md | 10 +- docs/sdks/sources/README.md | 8 +- docs/sdks/tags/README.md | 2 +- docs/sdks/workspaces/README.md | 8 +- .../api/createdeclarativesourcedefinition.py | 12 +-- .../api/createdestinationdefinition.py | 12 +-- ...ateorupdateorganizationoauthcredentials.py | 12 +-- ...createorupdateworkspaceoauthcredentials.py | 12 +-- src/airbyte_api/api/createsourcedefinition.py | 12 +-- .../api/deletedeclarativesourcedefinition.py | 10 +- .../api/deletedestinationdefinition.py | 10 +- .../api/deleteorganizationoauthcredentials.py | 14 +-- src/airbyte_api/api/deletesourcedefinition.py | 10 +- .../api/deleteworkspaceoauthcredentials.py | 14 +-- .../api/getdeclarativesourcedefinition.py | 10 +- .../api/getdestinationdefinition.py | 10 +- src/airbyte_api/api/getsourcedefinition.py | 10 +- src/airbyte_api/api/listconnections.py | 38 ++++---- src/airbyte_api/api/listdestinations.py | 20 ++-- src/airbyte_api/api/listjobs.py | 96 +++++++++---------- src/airbyte_api/api/listpermissions.py | 18 ++-- src/airbyte_api/api/listsources.py | 20 ++-- .../api/listuserswithinanorganization.py | 14 +-- src/airbyte_api/api/listworkspaces.py | 20 ++-- src/airbyte_api/api/patchconnection.py | 12 +-- .../api/updatedeclarativesourcedefinition.py | 18 ++-- .../api/updatedestinationdefinition.py | 18 ++-- src/airbyte_api/api/updatepermission.py | 12 +-- src/airbyte_api/api/updatesourcedefinition.py | 18 ++-- src/airbyte_api/api/updatetag.py | 12 +-- src/airbyte_api/api/updateworkspace.py | 12 +-- 71 files changed, 345 insertions(+), 345 deletions(-) diff --git a/docs/api/createdeclarativesourcedefinitionrequest.md b/docs/api/createdeclarativesourcedefinitionrequest.md index 24a4594c..626a7f3c 100644 --- a/docs/api/createdeclarativesourcedefinitionrequest.md +++ b/docs/api/createdeclarativesourcedefinitionrequest.md @@ -5,5 +5,5 @@ | Field | Type | Required | Description | | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -| `create_declarative_source_definition_request` | [models.CreateDeclarativeSourceDefinitionRequest](../models/createdeclarativesourcedefinitionrequest.md) | :heavy_check_mark: | N/A | -| `workspace_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| `workspace_id` | *str* | :heavy_check_mark: | N/A | +| `create_declarative_source_definition_request` | [models.CreateDeclarativeSourceDefinitionRequest](../models/createdeclarativesourcedefinitionrequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/api/createdestinationdefinitionrequest.md b/docs/api/createdestinationdefinitionrequest.md index 5a40f143..30b0312c 100644 --- a/docs/api/createdestinationdefinitionrequest.md +++ b/docs/api/createdestinationdefinitionrequest.md @@ -5,5 +5,5 @@ | Field | Type | Required | Description | | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | -| `create_definition_request` | [models.CreateDefinitionRequest](../models/createdefinitionrequest.md) | :heavy_check_mark: | N/A | -| `workspace_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| `workspace_id` | *str* | :heavy_check_mark: | N/A | +| `create_definition_request` | [models.CreateDefinitionRequest](../models/createdefinitionrequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/api/createorupdateorganizationoauthcredentialsrequest.md b/docs/api/createorupdateorganizationoauthcredentialsrequest.md index 8800a8dd..c425285c 100644 --- a/docs/api/createorupdateorganizationoauthcredentialsrequest.md +++ b/docs/api/createorupdateorganizationoauthcredentialsrequest.md @@ -5,5 +5,5 @@ | Field | Type | Required | Description | | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | -| `organization_o_auth_credentials_request` | [models.OrganizationOAuthCredentialsRequest](../models/organizationoauthcredentialsrequest.md) | :heavy_check_mark: | N/A | -| `organization_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| `organization_id` | *str* | :heavy_check_mark: | N/A | +| `organization_o_auth_credentials_request` | [models.OrganizationOAuthCredentialsRequest](../models/organizationoauthcredentialsrequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/api/createorupdateworkspaceoauthcredentialsrequest.md b/docs/api/createorupdateworkspaceoauthcredentialsrequest.md index 95b94751..ff316342 100644 --- a/docs/api/createorupdateworkspaceoauthcredentialsrequest.md +++ b/docs/api/createorupdateworkspaceoauthcredentialsrequest.md @@ -5,5 +5,5 @@ | Field | Type | Required | Description | | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | -| `workspace_o_auth_credentials_request` | [models.WorkspaceOAuthCredentialsRequest](../models/workspaceoauthcredentialsrequest.md) | :heavy_check_mark: | N/A | -| `workspace_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| `workspace_id` | *str* | :heavy_check_mark: | N/A | +| `workspace_o_auth_credentials_request` | [models.WorkspaceOAuthCredentialsRequest](../models/workspaceoauthcredentialsrequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/api/createsourcedefinitionrequest.md b/docs/api/createsourcedefinitionrequest.md index 5f07f80c..7c0a4b34 100644 --- a/docs/api/createsourcedefinitionrequest.md +++ b/docs/api/createsourcedefinitionrequest.md @@ -5,5 +5,5 @@ | Field | Type | Required | Description | | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | -| `create_definition_request` | [models.CreateDefinitionRequest](../models/createdefinitionrequest.md) | :heavy_check_mark: | N/A | -| `workspace_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| `workspace_id` | *str* | :heavy_check_mark: | N/A | +| `create_definition_request` | [models.CreateDefinitionRequest](../models/createdefinitionrequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/api/deletedeclarativesourcedefinitionrequest.md b/docs/api/deletedeclarativesourcedefinitionrequest.md index 4fc89b6a..5edc0160 100644 --- a/docs/api/deletedeclarativesourcedefinitionrequest.md +++ b/docs/api/deletedeclarativesourcedefinitionrequest.md @@ -5,5 +5,5 @@ | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | -| `definition_id` | *str* | :heavy_check_mark: | N/A | -| `workspace_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| `workspace_id` | *str* | :heavy_check_mark: | N/A | +| `definition_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/api/deletedestinationdefinitionrequest.md b/docs/api/deletedestinationdefinitionrequest.md index af10e952..4942d18b 100644 --- a/docs/api/deletedestinationdefinitionrequest.md +++ b/docs/api/deletedestinationdefinitionrequest.md @@ -5,5 +5,5 @@ | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | -| `definition_id` | *str* | :heavy_check_mark: | N/A | -| `workspace_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| `workspace_id` | *str* | :heavy_check_mark: | N/A | +| `definition_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/api/deleteorganizationoauthcredentialsrequest.md b/docs/api/deleteorganizationoauthcredentialsrequest.md index c3f69be3..d46c4b56 100644 --- a/docs/api/deleteorganizationoauthcredentialsrequest.md +++ b/docs/api/deleteorganizationoauthcredentialsrequest.md @@ -5,6 +5,6 @@ | Field | Type | Required | Description | | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | +| `organization_id` | *str* | :heavy_check_mark: | N/A | | `actor_type` | [models.ActorTypeEnum](../models/actortypeenum.md) | :heavy_check_mark: | Whether you're setting this override for a source or destination | -| `name` | *str* | :heavy_check_mark: | The name of the source or destination i.e. google-ads | -| `organization_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| `name` | *str* | :heavy_check_mark: | The name of the source or destination i.e. google-ads | \ No newline at end of file diff --git a/docs/api/deletesourcedefinitionrequest.md b/docs/api/deletesourcedefinitionrequest.md index 5e87c9d2..6d89e91c 100644 --- a/docs/api/deletesourcedefinitionrequest.md +++ b/docs/api/deletesourcedefinitionrequest.md @@ -5,5 +5,5 @@ | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | -| `definition_id` | *str* | :heavy_check_mark: | N/A | -| `workspace_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| `workspace_id` | *str* | :heavy_check_mark: | N/A | +| `definition_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/api/deleteworkspaceoauthcredentialsrequest.md b/docs/api/deleteworkspaceoauthcredentialsrequest.md index 1ffb0247..432b5a64 100644 --- a/docs/api/deleteworkspaceoauthcredentialsrequest.md +++ b/docs/api/deleteworkspaceoauthcredentialsrequest.md @@ -5,6 +5,6 @@ | Field | Type | Required | Description | | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | +| `workspace_id` | *str* | :heavy_check_mark: | N/A | | `actor_type` | [models.ActorTypeEnum](../models/actortypeenum.md) | :heavy_check_mark: | Whether you're setting this override for a source or destination | -| `name` | *str* | :heavy_check_mark: | The name of the source or destination i.e. google-ads | -| `workspace_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| `name` | *str* | :heavy_check_mark: | The name of the source or destination i.e. google-ads | \ No newline at end of file diff --git a/docs/api/getdeclarativesourcedefinitionrequest.md b/docs/api/getdeclarativesourcedefinitionrequest.md index 0904f327..f29fa168 100644 --- a/docs/api/getdeclarativesourcedefinitionrequest.md +++ b/docs/api/getdeclarativesourcedefinitionrequest.md @@ -5,5 +5,5 @@ | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | -| `definition_id` | *str* | :heavy_check_mark: | N/A | -| `workspace_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| `workspace_id` | *str* | :heavy_check_mark: | N/A | +| `definition_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/api/getdestinationdefinitionrequest.md b/docs/api/getdestinationdefinitionrequest.md index 9a1125ba..2a9bcc88 100644 --- a/docs/api/getdestinationdefinitionrequest.md +++ b/docs/api/getdestinationdefinitionrequest.md @@ -5,5 +5,5 @@ | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | -| `definition_id` | *str* | :heavy_check_mark: | N/A | -| `workspace_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| `workspace_id` | *str* | :heavy_check_mark: | N/A | +| `definition_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/api/getsourcedefinitionrequest.md b/docs/api/getsourcedefinitionrequest.md index b496dead..708f14c3 100644 --- a/docs/api/getsourcedefinitionrequest.md +++ b/docs/api/getsourcedefinitionrequest.md @@ -5,5 +5,5 @@ | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | -| `definition_id` | *str* | :heavy_check_mark: | N/A | -| `workspace_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| `workspace_id` | *str* | :heavy_check_mark: | N/A | +| `definition_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/api/getsourcerequest.md b/docs/api/getsourcerequest.md index bacad400..7d7e9f0d 100644 --- a/docs/api/getsourcerequest.md +++ b/docs/api/getsourcerequest.md @@ -5,5 +5,5 @@ | Field | Type | Required | Description | | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -| `include_secret_coordinates` | *Optional[bool]* | :heavy_minus_sign: | Rather than return *** for secret properties include the secret coordinate information | -| `source_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| `source_id` | *str* | :heavy_check_mark: | N/A | +| `include_secret_coordinates` | *Optional[bool]* | :heavy_minus_sign: | Rather than return *** for secret properties include the secret coordinate information | \ No newline at end of file diff --git a/docs/api/getstreampropertiesrequest.md b/docs/api/getstreampropertiesrequest.md index a4c1cc99..1f5b6bd0 100644 --- a/docs/api/getstreampropertiesrequest.md +++ b/docs/api/getstreampropertiesrequest.md @@ -5,6 +5,6 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `source_id` | *str* | :heavy_check_mark: | ID of the source | | `destination_id` | *Optional[str]* | :heavy_minus_sign: | ID of the destination | -| `ignore_cache` | *Optional[bool]* | :heavy_minus_sign: | If true pull the latest schema from the source, else pull from cache (default false) | -| `source_id` | *str* | :heavy_check_mark: | ID of the source | \ No newline at end of file +| `ignore_cache` | *Optional[bool]* | :heavy_minus_sign: | If true pull the latest schema from the source, else pull from cache (default false) | \ No newline at end of file diff --git a/docs/api/listconnectionsrequest.md b/docs/api/listconnectionsrequest.md index 6020e9ea..3291d96b 100644 --- a/docs/api/listconnectionsrequest.md +++ b/docs/api/listconnectionsrequest.md @@ -5,8 +5,8 @@ | Field | Type | Required | Description | | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | +| `workspace_ids` | List[*str*] | :heavy_minus_sign: | The UUIDs of the workspaces you wish to list connections for. Empty list will retrieve all allowed workspaces. | +| `tag_ids` | List[*str*] | :heavy_minus_sign: | The UUIDs of the tags you wish to list connections for. Empty list will retrieve all connections. | | `include_deleted` | *Optional[bool]* | :heavy_minus_sign: | Include deleted connections in the returned results. | | `limit` | *Optional[int]* | :heavy_minus_sign: | Set the limit on the number of Connections returned. The default is 20. | -| `offset` | *Optional[int]* | :heavy_minus_sign: | Set the offset to start at when returning Connections. The default is 0 | -| `tag_ids` | List[*str*] | :heavy_minus_sign: | The UUIDs of the tags you wish to list connections for. Empty list will retrieve all connections. | -| `workspace_ids` | List[*str*] | :heavy_minus_sign: | The UUIDs of the workspaces you wish to list connections for. Empty list will retrieve all allowed workspaces. | \ No newline at end of file +| `offset` | *Optional[int]* | :heavy_minus_sign: | Set the offset to start at when returning Connections. The default is 0 | \ No newline at end of file diff --git a/docs/api/listdestinationsrequest.md b/docs/api/listdestinationsrequest.md index eb0242f1..d4c2c87d 100644 --- a/docs/api/listdestinationsrequest.md +++ b/docs/api/listdestinationsrequest.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | +| `workspace_ids` | List[*str*] | :heavy_minus_sign: | The UUIDs of the workspaces you wish to list destinations for. Empty list will retrieve all allowed workspaces. | | `include_deleted` | *Optional[bool]* | :heavy_minus_sign: | Include deleted destinations in the returned results. | | `limit` | *Optional[int]* | :heavy_minus_sign: | Set the limit on the number of destinations returned. The default is 20. | -| `offset` | *Optional[int]* | :heavy_minus_sign: | Set the offset to start at when returning destinations. The default is 0 | -| `workspace_ids` | List[*str*] | :heavy_minus_sign: | The UUIDs of the workspaces you wish to list destinations for. Empty list will retrieve all allowed workspaces. | \ No newline at end of file +| `offset` | *Optional[int]* | :heavy_minus_sign: | Set the offset to start at when returning destinations. The default is 0 | \ No newline at end of file diff --git a/docs/api/listjobsrequest.md b/docs/api/listjobsrequest.md index 136a6556..732253c5 100644 --- a/docs/api/listjobsrequest.md +++ b/docs/api/listjobsrequest.md @@ -6,13 +6,13 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | | `connection_id` | *Optional[str]* | :heavy_minus_sign: | Filter the Jobs by connectionId. | | -| `created_at_end` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | The end date to filter by | 1687450500000 | -| `created_at_start` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | The start date to filter by | 1687450500000 | -| `job_type` | [Optional[models.JobTypeEnum]](../models/jobtypeenum.md) | :heavy_minus_sign: | Filter the Jobs by jobType. | | | `limit` | *Optional[int]* | :heavy_minus_sign: | Set the limit on the number of Jobs returned. The default is 20 Jobs. | | | `offset` | *Optional[int]* | :heavy_minus_sign: | Set the offset to start at when returning Jobs. The default is 0. | | -| `order_by` | *Optional[str]* | :heavy_minus_sign: | The field and method to use for ordering | updatedAt\|DESC | +| `job_type` | [Optional[models.JobTypeEnum]](../models/jobtypeenum.md) | :heavy_minus_sign: | Filter the Jobs by jobType. | | +| `workspace_ids` | List[*str*] | :heavy_minus_sign: | The UUIDs of the workspaces you wish to list jobs for. Empty list will retrieve all allowed workspaces. | | | `status` | [Optional[models.JobStatusEnum]](../models/jobstatusenum.md) | :heavy_minus_sign: | The Job status you want to filter by | | -| `updated_at_end` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | The end date to filter by | 1687450500000 | +| `created_at_start` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | The start date to filter by | 1687450500000 | +| `created_at_end` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | The end date to filter by | 1687450500000 | | `updated_at_start` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | The start date to filter by | 1687450500000 | -| `workspace_ids` | List[*str*] | :heavy_minus_sign: | The UUIDs of the workspaces you wish to list jobs for. Empty list will retrieve all allowed workspaces. | | \ No newline at end of file +| `updated_at_end` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | The end date to filter by | 1687450500000 | +| `order_by` | *Optional[str]* | :heavy_minus_sign: | The field and method to use for ordering | updatedAt\|DESC | \ No newline at end of file diff --git a/docs/api/listpermissionsrequest.md b/docs/api/listpermissionsrequest.md index 64c7e01d..eaa875e9 100644 --- a/docs/api/listpermissionsrequest.md +++ b/docs/api/listpermissionsrequest.md @@ -5,5 +5,5 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | -| `organization_id` | *Optional[str]* | :heavy_minus_sign: | This is required if you want to read someone else's permissions, and you should have organization admin or a higher role. | -| `user_id` | *Optional[str]* | :heavy_minus_sign: | User Id in permission. | \ No newline at end of file +| `user_id` | *Optional[str]* | :heavy_minus_sign: | User Id in permission. | +| `organization_id` | *Optional[str]* | :heavy_minus_sign: | This is required if you want to read someone else's permissions, and you should have organization admin or a higher role. | \ No newline at end of file diff --git a/docs/api/listsourcesrequest.md b/docs/api/listsourcesrequest.md index c059ca92..4e1a4a7e 100644 --- a/docs/api/listsourcesrequest.md +++ b/docs/api/listsourcesrequest.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | Example | | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | +| `workspace_ids` | List[*str*] | :heavy_minus_sign: | The UUIDs of the workspaces you wish to list sources for. Empty list will retrieve all allowed workspaces. | df08f6b0-b364-4cc1-9b3f-96f5d2fccfb2,b0796797-de23-4fc7-a5e2-7e131314718c | | `include_deleted` | *Optional[bool]* | :heavy_minus_sign: | Include deleted sources in the returned results. | | | `limit` | *Optional[int]* | :heavy_minus_sign: | Set the limit on the number of sources returned. The default is 20. | | -| `offset` | *Optional[int]* | :heavy_minus_sign: | Set the offset to start at when returning sources. The default is 0 | | -| `workspace_ids` | List[*str*] | :heavy_minus_sign: | The UUIDs of the workspaces you wish to list sources for. Empty list will retrieve all allowed workspaces. | df08f6b0-b364-4cc1-9b3f-96f5d2fccfb2,b0796797-de23-4fc7-a5e2-7e131314718c | \ No newline at end of file +| `offset` | *Optional[int]* | :heavy_minus_sign: | Set the offset to start at when returning sources. The default is 0 | | \ No newline at end of file diff --git a/docs/api/listuserswithinanorganizationrequest.md b/docs/api/listuserswithinanorganizationrequest.md index 34cc6f11..90b3c0cb 100644 --- a/docs/api/listuserswithinanorganizationrequest.md +++ b/docs/api/listuserswithinanorganizationrequest.md @@ -5,6 +5,6 @@ | Field | Type | Required | Description | | -------------------------------- | -------------------------------- | -------------------------------- | -------------------------------- | -| `emails` | List[*str*] | :heavy_minus_sign: | List of user emails to filter by | +| `organization_id` | *str* | :heavy_check_mark: | N/A | | `ids` | List[*str*] | :heavy_minus_sign: | List of user IDs to filter by | -| `organization_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| `emails` | List[*str*] | :heavy_minus_sign: | List of user emails to filter by | \ No newline at end of file diff --git a/docs/api/listworkspacesrequest.md b/docs/api/listworkspacesrequest.md index b9cc0756..aeb5489e 100644 --- a/docs/api/listworkspacesrequest.md +++ b/docs/api/listworkspacesrequest.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | +| `workspace_ids` | List[*str*] | :heavy_minus_sign: | The UUIDs of the workspaces you wish to fetch. Empty list will retrieve all allowed workspaces. | | `include_deleted` | *Optional[bool]* | :heavy_minus_sign: | Include deleted workspaces in the returned results. | | `limit` | *Optional[int]* | :heavy_minus_sign: | Set the limit on the number of workspaces returned. The default is 20. | -| `offset` | *Optional[int]* | :heavy_minus_sign: | Set the offset to start at when returning workspaces. The default is 0 | -| `workspace_ids` | List[*str*] | :heavy_minus_sign: | The UUIDs of the workspaces you wish to fetch. Empty list will retrieve all allowed workspaces. | \ No newline at end of file +| `offset` | *Optional[int]* | :heavy_minus_sign: | Set the offset to start at when returning workspaces. The default is 0 | \ No newline at end of file diff --git a/docs/api/patchconnectionrequest.md b/docs/api/patchconnectionrequest.md index d0bf3c3d..43565c3e 100644 --- a/docs/api/patchconnectionrequest.md +++ b/docs/api/patchconnectionrequest.md @@ -5,5 +5,5 @@ | Field | Type | Required | Description | | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -| `connection_patch_request` | [models.ConnectionPatchRequest](../models/connectionpatchrequest.md) | :heavy_check_mark: | N/A | -| `connection_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| `connection_id` | *str* | :heavy_check_mark: | N/A | +| `connection_patch_request` | [models.ConnectionPatchRequest](../models/connectionpatchrequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/api/patchdestinationrequest.md b/docs/api/patchdestinationrequest.md index 403dff97..ab805401 100644 --- a/docs/api/patchdestinationrequest.md +++ b/docs/api/patchdestinationrequest.md @@ -5,5 +5,5 @@ | Field | Type | Required | Description | | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -| `destination_patch_request` | [Optional[models.DestinationPatchRequest]](../models/destinationpatchrequest.md) | :heavy_minus_sign: | N/A | -| `destination_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| `destination_id` | *str* | :heavy_check_mark: | N/A | +| `destination_patch_request` | [Optional[models.DestinationPatchRequest]](../models/destinationpatchrequest.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/api/patchsourcerequest.md b/docs/api/patchsourcerequest.md index 22c58db8..9555225f 100644 --- a/docs/api/patchsourcerequest.md +++ b/docs/api/patchsourcerequest.md @@ -5,5 +5,5 @@ | Field | Type | Required | Description | | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | -| `source_patch_request` | [Optional[models.SourcePatchRequest]](../models/sourcepatchrequest.md) | :heavy_minus_sign: | N/A | -| `source_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| `source_id` | *str* | :heavy_check_mark: | N/A | +| `source_patch_request` | [Optional[models.SourcePatchRequest]](../models/sourcepatchrequest.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/api/putdestinationrequest.md b/docs/api/putdestinationrequest.md index 2c406a05..8a37f87f 100644 --- a/docs/api/putdestinationrequest.md +++ b/docs/api/putdestinationrequest.md @@ -5,5 +5,5 @@ | Field | Type | Required | Description | | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | -| `destination_put_request` | [Optional[models.DestinationPutRequest]](../models/destinationputrequest.md) | :heavy_minus_sign: | N/A | -| `destination_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| `destination_id` | *str* | :heavy_check_mark: | N/A | +| `destination_put_request` | [Optional[models.DestinationPutRequest]](../models/destinationputrequest.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/api/putsourcerequest.md b/docs/api/putsourcerequest.md index 6003e6df..ccbd54c2 100644 --- a/docs/api/putsourcerequest.md +++ b/docs/api/putsourcerequest.md @@ -5,5 +5,5 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | -| `source_put_request` | [Optional[models.SourcePutRequest]](../models/sourceputrequest.md) | :heavy_minus_sign: | N/A | -| `source_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| `source_id` | *str* | :heavy_check_mark: | N/A | +| `source_put_request` | [Optional[models.SourcePutRequest]](../models/sourceputrequest.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/api/updatedeclarativesourcedefinitionrequest.md b/docs/api/updatedeclarativesourcedefinitionrequest.md index 2a027343..34015848 100644 --- a/docs/api/updatedeclarativesourcedefinitionrequest.md +++ b/docs/api/updatedeclarativesourcedefinitionrequest.md @@ -5,6 +5,6 @@ | Field | Type | Required | Description | | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -| `update_declarative_source_definition_request` | [models.UpdateDeclarativeSourceDefinitionRequest](../models/updatedeclarativesourcedefinitionrequest.md) | :heavy_check_mark: | N/A | +| `workspace_id` | *str* | :heavy_check_mark: | N/A | | `definition_id` | *str* | :heavy_check_mark: | N/A | -| `workspace_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| `update_declarative_source_definition_request` | [models.UpdateDeclarativeSourceDefinitionRequest](../models/updatedeclarativesourcedefinitionrequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/api/updatedestinationdefinitionrequest.md b/docs/api/updatedestinationdefinitionrequest.md index 2f813bcf..b24a6f93 100644 --- a/docs/api/updatedestinationdefinitionrequest.md +++ b/docs/api/updatedestinationdefinitionrequest.md @@ -5,6 +5,6 @@ | Field | Type | Required | Description | | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | -| `update_definition_request` | [models.UpdateDefinitionRequest](../models/updatedefinitionrequest.md) | :heavy_check_mark: | N/A | +| `workspace_id` | *str* | :heavy_check_mark: | N/A | | `definition_id` | *str* | :heavy_check_mark: | N/A | -| `workspace_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| `update_definition_request` | [models.UpdateDefinitionRequest](../models/updatedefinitionrequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/api/updatepermissionrequest.md b/docs/api/updatepermissionrequest.md index 1b8b2e01..c4cab719 100644 --- a/docs/api/updatepermissionrequest.md +++ b/docs/api/updatepermissionrequest.md @@ -5,5 +5,5 @@ | Field | Type | Required | Description | | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | -| `permission_update_request` | [models.PermissionUpdateRequest](../models/permissionupdaterequest.md) | :heavy_check_mark: | N/A | -| `permission_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| `permission_id` | *str* | :heavy_check_mark: | N/A | +| `permission_update_request` | [models.PermissionUpdateRequest](../models/permissionupdaterequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/api/updatesourcedefinitionrequest.md b/docs/api/updatesourcedefinitionrequest.md index 31454c14..dd08215e 100644 --- a/docs/api/updatesourcedefinitionrequest.md +++ b/docs/api/updatesourcedefinitionrequest.md @@ -5,6 +5,6 @@ | Field | Type | Required | Description | | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | -| `update_definition_request` | [models.UpdateDefinitionRequest](../models/updatedefinitionrequest.md) | :heavy_check_mark: | N/A | +| `workspace_id` | *str* | :heavy_check_mark: | N/A | | `definition_id` | *str* | :heavy_check_mark: | N/A | -| `workspace_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| `update_definition_request` | [models.UpdateDefinitionRequest](../models/updatedefinitionrequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/api/updatetagrequest.md b/docs/api/updatetagrequest.md index 68f404c1..b842e606 100644 --- a/docs/api/updatetagrequest.md +++ b/docs/api/updatetagrequest.md @@ -5,5 +5,5 @@ | Field | Type | Required | Description | | ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | -| `tag_patch_request` | [models.TagPatchRequest](../models/tagpatchrequest.md) | :heavy_check_mark: | N/A | -| `tag_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| `tag_id` | *str* | :heavy_check_mark: | N/A | +| `tag_patch_request` | [models.TagPatchRequest](../models/tagpatchrequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/api/updateworkspacerequest.md b/docs/api/updateworkspacerequest.md index 784686fa..72688c3b 100644 --- a/docs/api/updateworkspacerequest.md +++ b/docs/api/updateworkspacerequest.md @@ -5,5 +5,5 @@ | Field | Type | Required | Description | | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -| `workspace_update_request` | [models.WorkspaceUpdateRequest](../models/workspaceupdaterequest.md) | :heavy_check_mark: | N/A | -| `workspace_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| `workspace_id` | *str* | :heavy_check_mark: | N/A | +| `workspace_update_request` | [models.WorkspaceUpdateRequest](../models/workspaceupdaterequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/sdks/connections/README.md b/docs/sdks/connections/README.md index bfcee75b..77154466 100644 --- a/docs/sdks/connections/README.md +++ b/docs/sdks/connections/README.md @@ -252,10 +252,10 @@ with AirbyteAPI( ) as aa_client: res = aa_client.connections.patch_connection(request={ + "connection_id": "", "connection_patch_request": { "namespace_format": "${SOURCE_NAMESPACE}", }, - "connection_id": "", }) assert res.connection_response is not None @@ -281,11 +281,11 @@ with AirbyteAPI( ) as aa_client: res = aa_client.connections.patch_connection(request={ + "connection_id": "", "connection_patch_request": { "name": "Postgres-to-Bigquery", "namespace_format": "${SOURCE_NAMESPACE}", }, - "connection_id": "", }) assert res.connection_response is not None diff --git a/docs/sdks/declarativesourcedefinitions/README.md b/docs/sdks/declarativesourcedefinitions/README.md index 7cb3b6d0..1e4e983e 100644 --- a/docs/sdks/declarativesourcedefinitions/README.md +++ b/docs/sdks/declarativesourcedefinitions/README.md @@ -31,11 +31,11 @@ with AirbyteAPI( ) as aa_client: res = aa_client.declarative_source_definitions.create_declarative_source_definition(request={ + "workspace_id": "9f09326e-38fd-40ea-8871-6aaf7655a237", "create_declarative_source_definition_request": { "manifest": "", "name": "", }, - "workspace_id": "9f09326e-38fd-40ea-8871-6aaf7655a237", }) assert res.declarative_source_definition_response is not None @@ -83,8 +83,8 @@ with AirbyteAPI( ) as aa_client: res = aa_client.declarative_source_definitions.delete_declarative_source_definition(request={ - "definition_id": "0cf3a1f6-1af6-4ae7-ae77-4bd1b32041f4", "workspace_id": "5bed2604-75d1-40cf-a858-64e430840198", + "definition_id": "0cf3a1f6-1af6-4ae7-ae77-4bd1b32041f4", }) assert res.declarative_source_definition_response is not None @@ -132,8 +132,8 @@ with AirbyteAPI( ) as aa_client: res = aa_client.declarative_source_definitions.get_declarative_source_definition(request={ - "definition_id": "ce3288f2-b43c-40d0-ae8e-864c7a844485", "workspace_id": "2a50feae-cf51-42e9-b777-b8d52ea2704e", + "definition_id": "ce3288f2-b43c-40d0-ae8e-864c7a844485", }) assert res.declarative_source_definition_response is not None @@ -229,11 +229,11 @@ with AirbyteAPI( ) as aa_client: res = aa_client.declarative_source_definitions.update_declarative_source_definition(request={ + "workspace_id": "38cb8d27-592a-4438-be38-823abf06a84e", + "definition_id": "c97eb9ab-47b5-4609-8d65-0a62f74ca843", "update_declarative_source_definition_request": { "manifest": "", }, - "definition_id": "c97eb9ab-47b5-4609-8d65-0a62f74ca843", - "workspace_id": "38cb8d27-592a-4438-be38-823abf06a84e", }) assert res.declarative_source_definition_response is not None diff --git a/docs/sdks/destinationdefinitions/README.md b/docs/sdks/destinationdefinitions/README.md index 9e6183cb..b39ebc1e 100644 --- a/docs/sdks/destinationdefinitions/README.md +++ b/docs/sdks/destinationdefinitions/README.md @@ -31,12 +31,12 @@ with AirbyteAPI( ) as aa_client: res = aa_client.destination_definitions.create_destination_definition(request={ + "workspace_id": "20a22858-a8c3-4a9c-af3e-691931b55938", "create_definition_request": { "docker_image_tag": "", "docker_repository": "", "name": "", }, - "workspace_id": "20a22858-a8c3-4a9c-af3e-691931b55938", }) assert res.definition_response is not None @@ -84,8 +84,8 @@ with AirbyteAPI( ) as aa_client: res = aa_client.destination_definitions.delete_destination_definition(request={ - "definition_id": "1f3ace88-4e9e-4438-8667-c98520825c79", "workspace_id": "b1b184d8-4def-4e2d-8e9d-7caadc80e180", + "definition_id": "1f3ace88-4e9e-4438-8667-c98520825c79", }) assert res.definition_response is not None @@ -133,8 +133,8 @@ with AirbyteAPI( ) as aa_client: res = aa_client.destination_definitions.get_destination_definition(request={ - "definition_id": "83a7ce8a-1507-42c5-84a3-1b95932f919f", "workspace_id": "443f2bd2-d502-4aec-b86f-c4e3d5675ae9", + "definition_id": "83a7ce8a-1507-42c5-84a3-1b95932f919f", }) assert res.definition_response is not None @@ -230,12 +230,12 @@ with AirbyteAPI( ) as aa_client: res = aa_client.destination_definitions.update_destination_definition(request={ + "workspace_id": "29dd981b-57da-413b-b1f4-012b1a97afc4", + "definition_id": "43c71f97-6486-49c7-9f26-4de603fa3bb2", "update_definition_request": { "docker_image_tag": "", "name": "", }, - "definition_id": "43c71f97-6486-49c7-9f26-4de603fa3bb2", - "workspace_id": "29dd981b-57da-413b-b1f4-012b1a97afc4", }) assert res.definition_response is not None diff --git a/docs/sdks/destinations/README.md b/docs/sdks/destinations/README.md index 398c8bd0..0676876e 100644 --- a/docs/sdks/destinations/README.md +++ b/docs/sdks/destinations/README.md @@ -258,13 +258,13 @@ with AirbyteAPI( ) as aa_client: res = aa_client.destinations.patch_destination(request=api.PatchDestinationRequest( + destination_id="", destination_patch_request=models.DestinationPatchRequest( configuration=models.DestinationDuckdb( destination_path="/local/destination.duckdb", ), name="My Destination", ), - destination_id="", )) assert res.destination_response is not None @@ -290,6 +290,7 @@ with AirbyteAPI( ) as aa_client: res = aa_client.destinations.patch_destination(request=api.PatchDestinationRequest( + destination_id="", destination_patch_request=models.DestinationPatchRequest( configuration=models.DestinationHubspot( credentials=models.DestinationHubspotOAuth( @@ -300,7 +301,6 @@ with AirbyteAPI( ), ), ), - destination_id="", )) assert res.destination_response is not None @@ -348,6 +348,7 @@ with AirbyteAPI( ) as aa_client: res = aa_client.destinations.put_destination(request=api.PutDestinationRequest( + destination_id="", destination_put_request=models.DestinationPutRequest( configuration=models.DestinationSftpJSON( destination_path="/json_data", @@ -358,7 +359,6 @@ with AirbyteAPI( ), name="My Destination", ), - destination_id="", )) assert res.destination_response is not None @@ -384,6 +384,7 @@ with AirbyteAPI( ) as aa_client: res = aa_client.destinations.put_destination(request=api.PutDestinationRequest( + destination_id="", destination_put_request=models.DestinationPutRequest( configuration=models.DestinationSalesforce( client_id="", @@ -393,7 +394,6 @@ with AirbyteAPI( ), name="", ), - destination_id="", )) assert res.destination_response is not None diff --git a/docs/sdks/jobs/README.md b/docs/sdks/jobs/README.md index 0b584050..c9b78e2f 100644 --- a/docs/sdks/jobs/README.md +++ b/docs/sdks/jobs/README.md @@ -203,11 +203,11 @@ with AirbyteAPI( ) as aa_client: res = aa_client.jobs.list_jobs(request={ - "created_at_end": parse_datetime("2024-11-05T02:58:38.581Z"), "created_at_start": parse_datetime("2024-04-14T21:55:04.172Z"), - "order_by": "updatedAt|DESC", - "updated_at_end": parse_datetime("2025-11-15T07:41:11.221Z"), + "created_at_end": parse_datetime("2024-11-05T02:58:38.581Z"), "updated_at_start": parse_datetime("2026-10-05T17:24:30.764Z"), + "updated_at_end": parse_datetime("2025-11-15T07:41:11.221Z"), + "order_by": "updatedAt|DESC", }) assert res.jobs_response is not None diff --git a/docs/sdks/organizations/README.md b/docs/sdks/organizations/README.md index d190a16d..eca589b7 100644 --- a/docs/sdks/organizations/README.md +++ b/docs/sdks/organizations/README.md @@ -30,6 +30,7 @@ with AirbyteAPI( ) as aa_client: res = aa_client.organizations.create_or_update_organization_o_auth_credentials(request={ + "organization_id": "", "organization_o_auth_credentials_request": { "actor_type": models.ActorTypeEnum.SOURCE, "configuration": { @@ -37,7 +38,6 @@ with AirbyteAPI( }, "name": "", }, - "organization_id": "", }) assert res is not None @@ -89,9 +89,9 @@ with AirbyteAPI( ) as aa_client: res = aa_client.organizations.delete_organization_o_auth_credentials(request={ + "organization_id": "", "actor_type": models.ActorTypeEnum.SOURCE, "name": "", - "organization_id": "", }) assert res is not None diff --git a/docs/sdks/permissions/README.md b/docs/sdks/permissions/README.md index 61e24b80..f6d3916c 100644 --- a/docs/sdks/permissions/README.md +++ b/docs/sdks/permissions/README.md @@ -250,10 +250,10 @@ with AirbyteAPI( ) as aa_client: res = aa_client.permissions.update_permission(request={ + "permission_id": "", "permission_update_request": { "permission_type": models.PermissionType.ORGANIZATION_READER, }, - "permission_id": "", }) assert res.permission_response is not None diff --git a/docs/sdks/sourcedefinitions/README.md b/docs/sdks/sourcedefinitions/README.md index c99c7056..82da8a59 100644 --- a/docs/sdks/sourcedefinitions/README.md +++ b/docs/sdks/sourcedefinitions/README.md @@ -31,12 +31,12 @@ with AirbyteAPI( ) as aa_client: res = aa_client.source_definitions.create_source_definition(request={ + "workspace_id": "8198a6e0-f056-42f7-8427-5ff6e06d6b3c", "create_definition_request": { "docker_image_tag": "", "docker_repository": "", "name": "", }, - "workspace_id": "8198a6e0-f056-42f7-8427-5ff6e06d6b3c", }) assert res.definition_response is not None @@ -84,8 +84,8 @@ with AirbyteAPI( ) as aa_client: res = aa_client.source_definitions.delete_source_definition(request={ - "definition_id": "21000375-129d-49b4-8099-23a142e25559", "workspace_id": "674a8870-5757-45f8-89f2-a765895d7bcc", + "definition_id": "21000375-129d-49b4-8099-23a142e25559", }) assert res.definition_response is not None @@ -133,8 +133,8 @@ with AirbyteAPI( ) as aa_client: res = aa_client.source_definitions.get_source_definition(request={ - "definition_id": "ccda715b-b5a9-4c56-9c95-7285878c622f", "workspace_id": "ea535916-6a24-4a05-b039-7da73c74b7c5", + "definition_id": "ccda715b-b5a9-4c56-9c95-7285878c622f", }) assert res.definition_response is not None @@ -230,12 +230,12 @@ with AirbyteAPI( ) as aa_client: res = aa_client.source_definitions.update_source_definition(request={ + "workspace_id": "d00d0938-69b2-48ac-878f-e92689d1c3b8", + "definition_id": "d83c1bd9-0e8c-47a0-ba61-d9fff4bea47c", "update_definition_request": { "docker_image_tag": "", "name": "", }, - "definition_id": "d83c1bd9-0e8c-47a0-ba61-d9fff4bea47c", - "workspace_id": "d00d0938-69b2-48ac-878f-e92689d1c3b8", }) assert res.definition_response is not None diff --git a/docs/sdks/sources/README.md b/docs/sdks/sources/README.md index c3b9f8cb..e3865eaa 100644 --- a/docs/sdks/sources/README.md +++ b/docs/sdks/sources/README.md @@ -387,6 +387,7 @@ with AirbyteAPI( ) as aa_client: res = aa_client.sources.patch_source(request=api.PatchSourceRequest( + source_id="", source_patch_request=models.SourcePatchRequest( configuration=models.SourceNutshell( username="Elyssa_Hackett7", @@ -394,7 +395,6 @@ with AirbyteAPI( name="My Source", workspace_id="744cc0ed-7f05-4949-9e60-2a814f90c035", ), - source_id="", )) assert res.source_response is not None @@ -420,6 +420,7 @@ with AirbyteAPI( ) as aa_client: res = aa_client.sources.patch_source(request=api.PatchSourceRequest( + source_id="", source_patch_request=models.SourcePatchRequest( configuration=models.SourceFirebolt( account="95324582", @@ -430,7 +431,6 @@ with AirbyteAPI( ), name="My source", ), - source_id="", )) assert res.source_response is not None @@ -478,6 +478,7 @@ with AirbyteAPI( ) as aa_client: res = aa_client.sources.put_source(request=api.PutSourceRequest( + source_id="", source_put_request=models.SourcePutRequest( configuration=models.SourceRailz( client_id="", @@ -486,7 +487,6 @@ with AirbyteAPI( ), name="My Source", ), - source_id="", )) assert res.source_response is not None @@ -512,6 +512,7 @@ with AirbyteAPI( ) as aa_client: res = aa_client.sources.put_source(request=api.PutSourceRequest( + source_id="", source_put_request=models.SourcePutRequest( configuration=models.SourceRailz( client_id="", @@ -520,7 +521,6 @@ with AirbyteAPI( ), name="", ), - source_id="", )) assert res.source_response is not None diff --git a/docs/sdks/tags/README.md b/docs/sdks/tags/README.md index 867ad836..8c37df5c 100644 --- a/docs/sdks/tags/README.md +++ b/docs/sdks/tags/README.md @@ -223,11 +223,11 @@ with AirbyteAPI( ) as aa_client: res = aa_client.tags.update_tag(request={ + "tag_id": "80469d11-8074-4b50-ac85-fa8ba37ca92a", "tag_patch_request": { "color": "red", "name": "", }, - "tag_id": "80469d11-8074-4b50-ac85-fa8ba37ca92a", }) assert res.tag_response is not None diff --git a/docs/sdks/workspaces/README.md b/docs/sdks/workspaces/README.md index 6d2030ff..9116b825 100644 --- a/docs/sdks/workspaces/README.md +++ b/docs/sdks/workspaces/README.md @@ -34,6 +34,7 @@ with AirbyteAPI( ) as aa_client: res = aa_client.workspaces.create_or_update_workspace_o_auth_credentials(request={ + "workspace_id": "", "workspace_o_auth_credentials_request": { "actor_type": models.ActorTypeEnum.DESTINATION, "configuration": { @@ -41,7 +42,6 @@ with AirbyteAPI( }, "name": models.OAuthActorNames.TRELLO, }, - "workspace_id": "", }) assert res is not None @@ -215,9 +215,9 @@ with AirbyteAPI( ) as aa_client: res = aa_client.workspaces.delete_workspace_o_auth_credentials(request={ + "workspace_id": "", "actor_type": models.ActorTypeEnum.SOURCE, "name": "", - "workspace_id": "", }) assert res is not None @@ -359,10 +359,10 @@ with AirbyteAPI( ) as aa_client: res = aa_client.workspaces.update_workspace(request=api.UpdateWorkspaceRequest( + workspace_id="", workspace_update_request=models.WorkspaceUpdateRequest( name="Company Workspace Name", ), - workspace_id="", )) assert res.workspace_response is not None @@ -388,8 +388,8 @@ with AirbyteAPI( ) as aa_client: res = aa_client.workspaces.update_workspace(request=api.UpdateWorkspaceRequest( - workspace_update_request=models.WorkspaceUpdateRequest(), workspace_id="", + workspace_update_request=models.WorkspaceUpdateRequest(), )) assert res.workspace_response is not None diff --git a/src/airbyte_api/api/createdeclarativesourcedefinition.py b/src/airbyte_api/api/createdeclarativesourcedefinition.py index 8a5c6f60..c73d9794 100644 --- a/src/airbyte_api/api/createdeclarativesourcedefinition.py +++ b/src/airbyte_api/api/createdeclarativesourcedefinition.py @@ -15,22 +15,22 @@ class CreateDeclarativeSourceDefinitionRequestTypedDict(TypedDict): - create_declarative_source_definition_request: models_createdeclarativesourcedefinitionrequest.CreateDeclarativeSourceDefinitionRequestTypedDict workspace_id: str + create_declarative_source_definition_request: models_createdeclarativesourcedefinitionrequest.CreateDeclarativeSourceDefinitionRequestTypedDict class CreateDeclarativeSourceDefinitionRequest(BaseModel): - create_declarative_source_definition_request: Annotated[ - models_createdeclarativesourcedefinitionrequest.CreateDeclarativeSourceDefinitionRequest, - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] - workspace_id: Annotated[ str, pydantic.Field(alias="workspaceId"), FieldMetadata(path=PathParamMetadata(style="simple", explode=False)), ] + create_declarative_source_definition_request: Annotated[ + models_createdeclarativesourcedefinitionrequest.CreateDeclarativeSourceDefinitionRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + class CreateDeclarativeSourceDefinitionResponseTypedDict(TypedDict): content_type: str diff --git a/src/airbyte_api/api/createdestinationdefinition.py b/src/airbyte_api/api/createdestinationdefinition.py index a56f70f1..a3756ac8 100644 --- a/src/airbyte_api/api/createdestinationdefinition.py +++ b/src/airbyte_api/api/createdestinationdefinition.py @@ -15,24 +15,24 @@ class CreateDestinationDefinitionRequestTypedDict(TypedDict): + workspace_id: str create_definition_request: ( models_createdefinitionrequest.CreateDefinitionRequestTypedDict ) - workspace_id: str class CreateDestinationDefinitionRequest(BaseModel): - create_definition_request: Annotated[ - models_createdefinitionrequest.CreateDefinitionRequest, - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] - workspace_id: Annotated[ str, pydantic.Field(alias="workspaceId"), FieldMetadata(path=PathParamMetadata(style="simple", explode=False)), ] + create_definition_request: Annotated[ + models_createdefinitionrequest.CreateDefinitionRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + class CreateDestinationDefinitionResponseTypedDict(TypedDict): content_type: str diff --git a/src/airbyte_api/api/createorupdateorganizationoauthcredentials.py b/src/airbyte_api/api/createorupdateorganizationoauthcredentials.py index d2875086..5d5c6c9a 100644 --- a/src/airbyte_api/api/createorupdateorganizationoauthcredentials.py +++ b/src/airbyte_api/api/createorupdateorganizationoauthcredentials.py @@ -12,22 +12,22 @@ class CreateOrUpdateOrganizationOAuthCredentialsRequestTypedDict(TypedDict): - organization_o_auth_credentials_request: models_organizationoauthcredentialsrequest.OrganizationOAuthCredentialsRequestTypedDict organization_id: str + organization_o_auth_credentials_request: models_organizationoauthcredentialsrequest.OrganizationOAuthCredentialsRequestTypedDict class CreateOrUpdateOrganizationOAuthCredentialsRequest(BaseModel): - organization_o_auth_credentials_request: Annotated[ - models_organizationoauthcredentialsrequest.OrganizationOAuthCredentialsRequest, - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] - organization_id: Annotated[ str, pydantic.Field(alias="organizationId"), FieldMetadata(path=PathParamMetadata(style="simple", explode=False)), ] + organization_o_auth_credentials_request: Annotated[ + models_organizationoauthcredentialsrequest.OrganizationOAuthCredentialsRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + class CreateOrUpdateOrganizationOAuthCredentialsResponseTypedDict(TypedDict): content_type: str diff --git a/src/airbyte_api/api/createorupdateworkspaceoauthcredentials.py b/src/airbyte_api/api/createorupdateworkspaceoauthcredentials.py index 32baa9f1..07f8a2c7 100644 --- a/src/airbyte_api/api/createorupdateworkspaceoauthcredentials.py +++ b/src/airbyte_api/api/createorupdateworkspaceoauthcredentials.py @@ -12,22 +12,22 @@ class CreateOrUpdateWorkspaceOAuthCredentialsRequestTypedDict(TypedDict): - workspace_o_auth_credentials_request: models_workspaceoauthcredentialsrequest.WorkspaceOAuthCredentialsRequestTypedDict workspace_id: str + workspace_o_auth_credentials_request: models_workspaceoauthcredentialsrequest.WorkspaceOAuthCredentialsRequestTypedDict class CreateOrUpdateWorkspaceOAuthCredentialsRequest(BaseModel): - workspace_o_auth_credentials_request: Annotated[ - models_workspaceoauthcredentialsrequest.WorkspaceOAuthCredentialsRequest, - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] - workspace_id: Annotated[ str, pydantic.Field(alias="workspaceId"), FieldMetadata(path=PathParamMetadata(style="simple", explode=False)), ] + workspace_o_auth_credentials_request: Annotated[ + models_workspaceoauthcredentialsrequest.WorkspaceOAuthCredentialsRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + class CreateOrUpdateWorkspaceOAuthCredentialsResponseTypedDict(TypedDict): content_type: str diff --git a/src/airbyte_api/api/createsourcedefinition.py b/src/airbyte_api/api/createsourcedefinition.py index 05eaa625..ac5804ad 100644 --- a/src/airbyte_api/api/createsourcedefinition.py +++ b/src/airbyte_api/api/createsourcedefinition.py @@ -15,24 +15,24 @@ class CreateSourceDefinitionRequestTypedDict(TypedDict): + workspace_id: str create_definition_request: ( models_createdefinitionrequest.CreateDefinitionRequestTypedDict ) - workspace_id: str class CreateSourceDefinitionRequest(BaseModel): - create_definition_request: Annotated[ - models_createdefinitionrequest.CreateDefinitionRequest, - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] - workspace_id: Annotated[ str, pydantic.Field(alias="workspaceId"), FieldMetadata(path=PathParamMetadata(style="simple", explode=False)), ] + create_definition_request: Annotated[ + models_createdefinitionrequest.CreateDefinitionRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + class CreateSourceDefinitionResponseTypedDict(TypedDict): content_type: str diff --git a/src/airbyte_api/api/deletedeclarativesourcedefinition.py b/src/airbyte_api/api/deletedeclarativesourcedefinition.py index 1fcd82ce..25524a81 100644 --- a/src/airbyte_api/api/deletedeclarativesourcedefinition.py +++ b/src/airbyte_api/api/deletedeclarativesourcedefinition.py @@ -14,20 +14,20 @@ class DeleteDeclarativeSourceDefinitionRequestTypedDict(TypedDict): - definition_id: str workspace_id: str + definition_id: str class DeleteDeclarativeSourceDefinitionRequest(BaseModel): - definition_id: Annotated[ + workspace_id: Annotated[ str, - pydantic.Field(alias="definitionId"), + pydantic.Field(alias="workspaceId"), FieldMetadata(path=PathParamMetadata(style="simple", explode=False)), ] - workspace_id: Annotated[ + definition_id: Annotated[ str, - pydantic.Field(alias="workspaceId"), + pydantic.Field(alias="definitionId"), FieldMetadata(path=PathParamMetadata(style="simple", explode=False)), ] diff --git a/src/airbyte_api/api/deletedestinationdefinition.py b/src/airbyte_api/api/deletedestinationdefinition.py index b3c715cc..aff1aced 100644 --- a/src/airbyte_api/api/deletedestinationdefinition.py +++ b/src/airbyte_api/api/deletedestinationdefinition.py @@ -12,20 +12,20 @@ class DeleteDestinationDefinitionRequestTypedDict(TypedDict): - definition_id: str workspace_id: str + definition_id: str class DeleteDestinationDefinitionRequest(BaseModel): - definition_id: Annotated[ + workspace_id: Annotated[ str, - pydantic.Field(alias="definitionId"), + pydantic.Field(alias="workspaceId"), FieldMetadata(path=PathParamMetadata(style="simple", explode=False)), ] - workspace_id: Annotated[ + definition_id: Annotated[ str, - pydantic.Field(alias="workspaceId"), + pydantic.Field(alias="definitionId"), FieldMetadata(path=PathParamMetadata(style="simple", explode=False)), ] diff --git a/src/airbyte_api/api/deleteorganizationoauthcredentials.py b/src/airbyte_api/api/deleteorganizationoauthcredentials.py index 642711cf..45489989 100644 --- a/src/airbyte_api/api/deleteorganizationoauthcredentials.py +++ b/src/airbyte_api/api/deleteorganizationoauthcredentials.py @@ -10,14 +10,20 @@ class DeleteOrganizationOAuthCredentialsRequestTypedDict(TypedDict): + organization_id: str actor_type: models_actortypeenum.ActorTypeEnum r"""Whether you're setting this override for a source or destination""" name: str r"""The name of the source or destination i.e. google-ads""" - organization_id: str class DeleteOrganizationOAuthCredentialsRequest(BaseModel): + organization_id: Annotated[ + str, + pydantic.Field(alias="organizationId"), + FieldMetadata(path=PathParamMetadata(style="simple", explode=False)), + ] + actor_type: Annotated[ models_actortypeenum.ActorTypeEnum, pydantic.Field(alias="actorType"), @@ -30,12 +36,6 @@ class DeleteOrganizationOAuthCredentialsRequest(BaseModel): ] r"""The name of the source or destination i.e. google-ads""" - organization_id: Annotated[ - str, - pydantic.Field(alias="organizationId"), - FieldMetadata(path=PathParamMetadata(style="simple", explode=False)), - ] - class DeleteOrganizationOAuthCredentialsResponseTypedDict(TypedDict): content_type: str diff --git a/src/airbyte_api/api/deletesourcedefinition.py b/src/airbyte_api/api/deletesourcedefinition.py index 45464bd4..d7c984e1 100644 --- a/src/airbyte_api/api/deletesourcedefinition.py +++ b/src/airbyte_api/api/deletesourcedefinition.py @@ -12,20 +12,20 @@ class DeleteSourceDefinitionRequestTypedDict(TypedDict): - definition_id: str workspace_id: str + definition_id: str class DeleteSourceDefinitionRequest(BaseModel): - definition_id: Annotated[ + workspace_id: Annotated[ str, - pydantic.Field(alias="definitionId"), + pydantic.Field(alias="workspaceId"), FieldMetadata(path=PathParamMetadata(style="simple", explode=False)), ] - workspace_id: Annotated[ + definition_id: Annotated[ str, - pydantic.Field(alias="workspaceId"), + pydantic.Field(alias="definitionId"), FieldMetadata(path=PathParamMetadata(style="simple", explode=False)), ] diff --git a/src/airbyte_api/api/deleteworkspaceoauthcredentials.py b/src/airbyte_api/api/deleteworkspaceoauthcredentials.py index 86b64758..ff87b74d 100644 --- a/src/airbyte_api/api/deleteworkspaceoauthcredentials.py +++ b/src/airbyte_api/api/deleteworkspaceoauthcredentials.py @@ -10,14 +10,20 @@ class DeleteWorkspaceOAuthCredentialsRequestTypedDict(TypedDict): + workspace_id: str actor_type: models_actortypeenum.ActorTypeEnum r"""Whether you're setting this override for a source or destination""" name: str r"""The name of the source or destination i.e. google-ads""" - workspace_id: str class DeleteWorkspaceOAuthCredentialsRequest(BaseModel): + workspace_id: Annotated[ + str, + pydantic.Field(alias="workspaceId"), + FieldMetadata(path=PathParamMetadata(style="simple", explode=False)), + ] + actor_type: Annotated[ models_actortypeenum.ActorTypeEnum, pydantic.Field(alias="actorType"), @@ -30,12 +36,6 @@ class DeleteWorkspaceOAuthCredentialsRequest(BaseModel): ] r"""The name of the source or destination i.e. google-ads""" - workspace_id: Annotated[ - str, - pydantic.Field(alias="workspaceId"), - FieldMetadata(path=PathParamMetadata(style="simple", explode=False)), - ] - class DeleteWorkspaceOAuthCredentialsResponseTypedDict(TypedDict): content_type: str diff --git a/src/airbyte_api/api/getdeclarativesourcedefinition.py b/src/airbyte_api/api/getdeclarativesourcedefinition.py index 54746faf..d19c6fbb 100644 --- a/src/airbyte_api/api/getdeclarativesourcedefinition.py +++ b/src/airbyte_api/api/getdeclarativesourcedefinition.py @@ -14,20 +14,20 @@ class GetDeclarativeSourceDefinitionRequestTypedDict(TypedDict): - definition_id: str workspace_id: str + definition_id: str class GetDeclarativeSourceDefinitionRequest(BaseModel): - definition_id: Annotated[ + workspace_id: Annotated[ str, - pydantic.Field(alias="definitionId"), + pydantic.Field(alias="workspaceId"), FieldMetadata(path=PathParamMetadata(style="simple", explode=False)), ] - workspace_id: Annotated[ + definition_id: Annotated[ str, - pydantic.Field(alias="workspaceId"), + pydantic.Field(alias="definitionId"), FieldMetadata(path=PathParamMetadata(style="simple", explode=False)), ] diff --git a/src/airbyte_api/api/getdestinationdefinition.py b/src/airbyte_api/api/getdestinationdefinition.py index 5449127b..5b902a4f 100644 --- a/src/airbyte_api/api/getdestinationdefinition.py +++ b/src/airbyte_api/api/getdestinationdefinition.py @@ -12,20 +12,20 @@ class GetDestinationDefinitionRequestTypedDict(TypedDict): - definition_id: str workspace_id: str + definition_id: str class GetDestinationDefinitionRequest(BaseModel): - definition_id: Annotated[ + workspace_id: Annotated[ str, - pydantic.Field(alias="definitionId"), + pydantic.Field(alias="workspaceId"), FieldMetadata(path=PathParamMetadata(style="simple", explode=False)), ] - workspace_id: Annotated[ + definition_id: Annotated[ str, - pydantic.Field(alias="workspaceId"), + pydantic.Field(alias="definitionId"), FieldMetadata(path=PathParamMetadata(style="simple", explode=False)), ] diff --git a/src/airbyte_api/api/getsourcedefinition.py b/src/airbyte_api/api/getsourcedefinition.py index 8dab3f8c..71602167 100644 --- a/src/airbyte_api/api/getsourcedefinition.py +++ b/src/airbyte_api/api/getsourcedefinition.py @@ -12,20 +12,20 @@ class GetSourceDefinitionRequestTypedDict(TypedDict): - definition_id: str workspace_id: str + definition_id: str class GetSourceDefinitionRequest(BaseModel): - definition_id: Annotated[ + workspace_id: Annotated[ str, - pydantic.Field(alias="definitionId"), + pydantic.Field(alias="workspaceId"), FieldMetadata(path=PathParamMetadata(style="simple", explode=False)), ] - workspace_id: Annotated[ + definition_id: Annotated[ str, - pydantic.Field(alias="workspaceId"), + pydantic.Field(alias="definitionId"), FieldMetadata(path=PathParamMetadata(style="simple", explode=False)), ] diff --git a/src/airbyte_api/api/listconnections.py b/src/airbyte_api/api/listconnections.py index 886bf2b9..2e8f2d37 100644 --- a/src/airbyte_api/api/listconnections.py +++ b/src/airbyte_api/api/listconnections.py @@ -12,19 +12,33 @@ class ListConnectionsRequestTypedDict(TypedDict): + workspace_ids: NotRequired[List[str]] + r"""The UUIDs of the workspaces you wish to list connections for. Empty list will retrieve all allowed workspaces.""" + tag_ids: NotRequired[List[str]] + r"""The UUIDs of the tags you wish to list connections for. Empty list will retrieve all connections.""" include_deleted: NotRequired[bool] r"""Include deleted connections in the returned results.""" limit: NotRequired[int] r"""Set the limit on the number of Connections returned. The default is 20.""" offset: NotRequired[int] r"""Set the offset to start at when returning Connections. The default is 0""" - tag_ids: NotRequired[List[str]] - r"""The UUIDs of the tags you wish to list connections for. Empty list will retrieve all connections.""" - workspace_ids: NotRequired[List[str]] - r"""The UUIDs of the workspaces you wish to list connections for. Empty list will retrieve all allowed workspaces.""" class ListConnectionsRequest(BaseModel): + workspace_ids: Annotated[ + Optional[List[str]], + pydantic.Field(alias="workspaceIds"), + FieldMetadata(query=QueryParamMetadata(style="form", explode=True)), + ] = None + r"""The UUIDs of the workspaces you wish to list connections for. Empty list will retrieve all allowed workspaces.""" + + tag_ids: Annotated[ + Optional[List[str]], + pydantic.Field(alias="tagIds"), + FieldMetadata(query=QueryParamMetadata(style="form", explode=True)), + ] = None + r"""The UUIDs of the tags you wish to list connections for. Empty list will retrieve all connections.""" + include_deleted: Annotated[ Optional[bool], pydantic.Field(alias="includeDeleted"), @@ -44,24 +58,10 @@ class ListConnectionsRequest(BaseModel): ] = 0 r"""Set the offset to start at when returning Connections. The default is 0""" - tag_ids: Annotated[ - Optional[List[str]], - pydantic.Field(alias="tagIds"), - FieldMetadata(query=QueryParamMetadata(style="form", explode=True)), - ] = None - r"""The UUIDs of the tags you wish to list connections for. Empty list will retrieve all connections.""" - - workspace_ids: Annotated[ - Optional[List[str]], - pydantic.Field(alias="workspaceIds"), - FieldMetadata(query=QueryParamMetadata(style="form", explode=True)), - ] = None - r"""The UUIDs of the workspaces you wish to list connections for. Empty list will retrieve all allowed workspaces.""" - @model_serializer(mode="wrap") def serialize_model(self, handler): optional_fields = set( - ["includeDeleted", "limit", "offset", "tagIds", "workspaceIds"] + ["workspaceIds", "tagIds", "includeDeleted", "limit", "offset"] ) serialized = handler(self) m = {} diff --git a/src/airbyte_api/api/listdestinations.py b/src/airbyte_api/api/listdestinations.py index be45d7e7..1c7c439d 100644 --- a/src/airbyte_api/api/listdestinations.py +++ b/src/airbyte_api/api/listdestinations.py @@ -12,17 +12,24 @@ class ListDestinationsRequestTypedDict(TypedDict): + workspace_ids: NotRequired[List[str]] + r"""The UUIDs of the workspaces you wish to list destinations for. Empty list will retrieve all allowed workspaces.""" include_deleted: NotRequired[bool] r"""Include deleted destinations in the returned results.""" limit: NotRequired[int] r"""Set the limit on the number of destinations returned. The default is 20.""" offset: NotRequired[int] r"""Set the offset to start at when returning destinations. The default is 0""" - workspace_ids: NotRequired[List[str]] - r"""The UUIDs of the workspaces you wish to list destinations for. Empty list will retrieve all allowed workspaces.""" class ListDestinationsRequest(BaseModel): + workspace_ids: Annotated[ + Optional[List[str]], + pydantic.Field(alias="workspaceIds"), + FieldMetadata(query=QueryParamMetadata(style="form", explode=True)), + ] = None + r"""The UUIDs of the workspaces you wish to list destinations for. Empty list will retrieve all allowed workspaces.""" + include_deleted: Annotated[ Optional[bool], pydantic.Field(alias="includeDeleted"), @@ -42,16 +49,9 @@ class ListDestinationsRequest(BaseModel): ] = 0 r"""Set the offset to start at when returning destinations. The default is 0""" - workspace_ids: Annotated[ - Optional[List[str]], - pydantic.Field(alias="workspaceIds"), - FieldMetadata(query=QueryParamMetadata(style="form", explode=True)), - ] = None - r"""The UUIDs of the workspaces you wish to list destinations for. Empty list will retrieve all allowed workspaces.""" - @model_serializer(mode="wrap") def serialize_model(self, handler): - optional_fields = set(["includeDeleted", "limit", "offset", "workspaceIds"]) + optional_fields = set(["workspaceIds", "includeDeleted", "limit", "offset"]) serialized = handler(self) m = {} diff --git a/src/airbyte_api/api/listjobs.py b/src/airbyte_api/api/listjobs.py index 966ddf37..82902be2 100644 --- a/src/airbyte_api/api/listjobs.py +++ b/src/airbyte_api/api/listjobs.py @@ -19,26 +19,26 @@ class ListJobsRequestTypedDict(TypedDict): connection_id: NotRequired[str] r"""Filter the Jobs by connectionId.""" - created_at_end: NotRequired[datetime] - r"""The end date to filter by""" - created_at_start: NotRequired[datetime] - r"""The start date to filter by""" - job_type: NotRequired[models_jobtypeenum.JobTypeEnum] - r"""Filter the Jobs by jobType.""" limit: NotRequired[int] r"""Set the limit on the number of Jobs returned. The default is 20 Jobs.""" offset: NotRequired[int] r"""Set the offset to start at when returning Jobs. The default is 0.""" - order_by: NotRequired[str] - r"""The field and method to use for ordering""" + job_type: NotRequired[models_jobtypeenum.JobTypeEnum] + r"""Filter the Jobs by jobType.""" + workspace_ids: NotRequired[List[str]] + r"""The UUIDs of the workspaces you wish to list jobs for. Empty list will retrieve all allowed workspaces.""" status: NotRequired[models_jobstatusenum.JobStatusEnum] r"""The Job status you want to filter by""" - updated_at_end: NotRequired[datetime] + created_at_start: NotRequired[datetime] + r"""The start date to filter by""" + created_at_end: NotRequired[datetime] r"""The end date to filter by""" updated_at_start: NotRequired[datetime] r"""The start date to filter by""" - workspace_ids: NotRequired[List[str]] - r"""The UUIDs of the workspaces you wish to list jobs for. Empty list will retrieve all allowed workspaces.""" + updated_at_end: NotRequired[datetime] + r"""The end date to filter by""" + order_by: NotRequired[str] + r"""The field and method to use for ordering""" class ListJobsRequest(BaseModel): @@ -49,27 +49,6 @@ class ListJobsRequest(BaseModel): ] = None r"""Filter the Jobs by connectionId.""" - created_at_end: Annotated[ - Optional[datetime], - pydantic.Field(alias="createdAtEnd"), - FieldMetadata(query=QueryParamMetadata(style="form", explode=True)), - ] = None - r"""The end date to filter by""" - - created_at_start: Annotated[ - Optional[datetime], - pydantic.Field(alias="createdAtStart"), - FieldMetadata(query=QueryParamMetadata(style="form", explode=True)), - ] = None - r"""The start date to filter by""" - - job_type: Annotated[ - Optional[models_jobtypeenum.JobTypeEnum], - pydantic.Field(alias="jobType"), - FieldMetadata(query=QueryParamMetadata(style="form", explode=True)), - ] = None - r"""Filter the Jobs by jobType.""" - limit: Annotated[ Optional[int], FieldMetadata(query=QueryParamMetadata(style="form", explode=True)), @@ -82,12 +61,19 @@ class ListJobsRequest(BaseModel): ] = 0 r"""Set the offset to start at when returning Jobs. The default is 0.""" - order_by: Annotated[ - Optional[str], - pydantic.Field(alias="orderBy"), + job_type: Annotated[ + Optional[models_jobtypeenum.JobTypeEnum], + pydantic.Field(alias="jobType"), FieldMetadata(query=QueryParamMetadata(style="form", explode=True)), ] = None - r"""The field and method to use for ordering""" + r"""Filter the Jobs by jobType.""" + + workspace_ids: Annotated[ + Optional[List[str]], + pydantic.Field(alias="workspaceIds"), + FieldMetadata(query=QueryParamMetadata(style="form", explode=True)), + ] = None + r"""The UUIDs of the workspaces you wish to list jobs for. Empty list will retrieve all allowed workspaces.""" status: Annotated[ Optional[models_jobstatusenum.JobStatusEnum], @@ -95,9 +81,16 @@ class ListJobsRequest(BaseModel): ] = None r"""The Job status you want to filter by""" - updated_at_end: Annotated[ + created_at_start: Annotated[ Optional[datetime], - pydantic.Field(alias="updatedAtEnd"), + pydantic.Field(alias="createdAtStart"), + FieldMetadata(query=QueryParamMetadata(style="form", explode=True)), + ] = None + r"""The start date to filter by""" + + created_at_end: Annotated[ + Optional[datetime], + pydantic.Field(alias="createdAtEnd"), FieldMetadata(query=QueryParamMetadata(style="form", explode=True)), ] = None r"""The end date to filter by""" @@ -109,28 +102,35 @@ class ListJobsRequest(BaseModel): ] = None r"""The start date to filter by""" - workspace_ids: Annotated[ - Optional[List[str]], - pydantic.Field(alias="workspaceIds"), + updated_at_end: Annotated[ + Optional[datetime], + pydantic.Field(alias="updatedAtEnd"), FieldMetadata(query=QueryParamMetadata(style="form", explode=True)), ] = None - r"""The UUIDs of the workspaces you wish to list jobs for. Empty list will retrieve all allowed workspaces.""" + r"""The end date to filter by""" + + order_by: Annotated[ + Optional[str], + pydantic.Field(alias="orderBy"), + FieldMetadata(query=QueryParamMetadata(style="form", explode=True)), + ] = None + r"""The field and method to use for ordering""" @model_serializer(mode="wrap") def serialize_model(self, handler): optional_fields = set( [ "connectionId", - "createdAtEnd", - "createdAtStart", - "jobType", "limit", "offset", - "orderBy", + "jobType", + "workspaceIds", "status", - "updatedAtEnd", + "createdAtStart", + "createdAtEnd", "updatedAtStart", - "workspaceIds", + "updatedAtEnd", + "orderBy", ] ) serialized = handler(self) diff --git a/src/airbyte_api/api/listpermissions.py b/src/airbyte_api/api/listpermissions.py index bd77e0eb..d7c7bfeb 100644 --- a/src/airbyte_api/api/listpermissions.py +++ b/src/airbyte_api/api/listpermissions.py @@ -12,30 +12,30 @@ class ListPermissionsRequestTypedDict(TypedDict): - organization_id: NotRequired[str] - r"""This is required if you want to read someone else's permissions, and you should have organization admin or a higher role.""" user_id: NotRequired[str] r"""User Id in permission.""" + organization_id: NotRequired[str] + r"""This is required if you want to read someone else's permissions, and you should have organization admin or a higher role.""" class ListPermissionsRequest(BaseModel): - organization_id: Annotated[ + user_id: Annotated[ Optional[str], - pydantic.Field(alias="organizationId"), + pydantic.Field(alias="userId"), FieldMetadata(query=QueryParamMetadata(style="form", explode=True)), ] = None - r"""This is required if you want to read someone else's permissions, and you should have organization admin or a higher role.""" + r"""User Id in permission.""" - user_id: Annotated[ + organization_id: Annotated[ Optional[str], - pydantic.Field(alias="userId"), + pydantic.Field(alias="organizationId"), FieldMetadata(query=QueryParamMetadata(style="form", explode=True)), ] = None - r"""User Id in permission.""" + r"""This is required if you want to read someone else's permissions, and you should have organization admin or a higher role.""" @model_serializer(mode="wrap") def serialize_model(self, handler): - optional_fields = set(["organizationId", "userId"]) + optional_fields = set(["userId", "organizationId"]) serialized = handler(self) m = {} diff --git a/src/airbyte_api/api/listsources.py b/src/airbyte_api/api/listsources.py index c5407053..65cd0515 100644 --- a/src/airbyte_api/api/listsources.py +++ b/src/airbyte_api/api/listsources.py @@ -12,17 +12,24 @@ class ListSourcesRequestTypedDict(TypedDict): + workspace_ids: NotRequired[List[str]] + r"""The UUIDs of the workspaces you wish to list sources for. Empty list will retrieve all allowed workspaces.""" include_deleted: NotRequired[bool] r"""Include deleted sources in the returned results.""" limit: NotRequired[int] r"""Set the limit on the number of sources returned. The default is 20.""" offset: NotRequired[int] r"""Set the offset to start at when returning sources. The default is 0""" - workspace_ids: NotRequired[List[str]] - r"""The UUIDs of the workspaces you wish to list sources for. Empty list will retrieve all allowed workspaces.""" class ListSourcesRequest(BaseModel): + workspace_ids: Annotated[ + Optional[List[str]], + pydantic.Field(alias="workspaceIds"), + FieldMetadata(query=QueryParamMetadata(style="form", explode=True)), + ] = None + r"""The UUIDs of the workspaces you wish to list sources for. Empty list will retrieve all allowed workspaces.""" + include_deleted: Annotated[ Optional[bool], pydantic.Field(alias="includeDeleted"), @@ -42,16 +49,9 @@ class ListSourcesRequest(BaseModel): ] = 0 r"""Set the offset to start at when returning sources. The default is 0""" - workspace_ids: Annotated[ - Optional[List[str]], - pydantic.Field(alias="workspaceIds"), - FieldMetadata(query=QueryParamMetadata(style="form", explode=True)), - ] = None - r"""The UUIDs of the workspaces you wish to list sources for. Empty list will retrieve all allowed workspaces.""" - @model_serializer(mode="wrap") def serialize_model(self, handler): - optional_fields = set(["includeDeleted", "limit", "offset", "workspaceIds"]) + optional_fields = set(["workspaceIds", "includeDeleted", "limit", "offset"]) serialized = handler(self) m = {} diff --git a/src/airbyte_api/api/listuserswithinanorganization.py b/src/airbyte_api/api/listuserswithinanorganization.py index 1a83868d..1d3e4cbe 100644 --- a/src/airbyte_api/api/listuserswithinanorganization.py +++ b/src/airbyte_api/api/listuserswithinanorganization.py @@ -13,10 +13,10 @@ class ListUsersWithinAnOrganizationRequestTypedDict(TypedDict): organization_id: str - emails: NotRequired[List[str]] - r"""List of user emails to filter by""" ids: NotRequired[List[str]] r"""List of user IDs to filter by""" + emails: NotRequired[List[str]] + r"""List of user emails to filter by""" class ListUsersWithinAnOrganizationRequest(BaseModel): @@ -26,21 +26,21 @@ class ListUsersWithinAnOrganizationRequest(BaseModel): FieldMetadata(query=QueryParamMetadata(style="form", explode=True)), ] - emails: Annotated[ + ids: Annotated[ Optional[List[str]], FieldMetadata(query=QueryParamMetadata(style="form", explode=True)), ] = None - r"""List of user emails to filter by""" + r"""List of user IDs to filter by""" - ids: Annotated[ + emails: Annotated[ Optional[List[str]], FieldMetadata(query=QueryParamMetadata(style="form", explode=True)), ] = None - r"""List of user IDs to filter by""" + r"""List of user emails to filter by""" @model_serializer(mode="wrap") def serialize_model(self, handler): - optional_fields = set(["emails", "ids"]) + optional_fields = set(["ids", "emails"]) serialized = handler(self) m = {} diff --git a/src/airbyte_api/api/listworkspaces.py b/src/airbyte_api/api/listworkspaces.py index bc59aa00..a1fbb45a 100644 --- a/src/airbyte_api/api/listworkspaces.py +++ b/src/airbyte_api/api/listworkspaces.py @@ -12,17 +12,24 @@ class ListWorkspacesRequestTypedDict(TypedDict): + workspace_ids: NotRequired[List[str]] + r"""The UUIDs of the workspaces you wish to fetch. Empty list will retrieve all allowed workspaces.""" include_deleted: NotRequired[bool] r"""Include deleted workspaces in the returned results.""" limit: NotRequired[int] r"""Set the limit on the number of workspaces returned. The default is 20.""" offset: NotRequired[int] r"""Set the offset to start at when returning workspaces. The default is 0""" - workspace_ids: NotRequired[List[str]] - r"""The UUIDs of the workspaces you wish to fetch. Empty list will retrieve all allowed workspaces.""" class ListWorkspacesRequest(BaseModel): + workspace_ids: Annotated[ + Optional[List[str]], + pydantic.Field(alias="workspaceIds"), + FieldMetadata(query=QueryParamMetadata(style="form", explode=True)), + ] = None + r"""The UUIDs of the workspaces you wish to fetch. Empty list will retrieve all allowed workspaces.""" + include_deleted: Annotated[ Optional[bool], pydantic.Field(alias="includeDeleted"), @@ -42,16 +49,9 @@ class ListWorkspacesRequest(BaseModel): ] = 0 r"""Set the offset to start at when returning workspaces. The default is 0""" - workspace_ids: Annotated[ - Optional[List[str]], - pydantic.Field(alias="workspaceIds"), - FieldMetadata(query=QueryParamMetadata(style="form", explode=True)), - ] = None - r"""The UUIDs of the workspaces you wish to fetch. Empty list will retrieve all allowed workspaces.""" - @model_serializer(mode="wrap") def serialize_model(self, handler): - optional_fields = set(["includeDeleted", "limit", "offset", "workspaceIds"]) + optional_fields = set(["workspaceIds", "includeDeleted", "limit", "offset"]) serialized = handler(self) m = {} diff --git a/src/airbyte_api/api/patchconnection.py b/src/airbyte_api/api/patchconnection.py index 336d2855..0506b7c1 100644 --- a/src/airbyte_api/api/patchconnection.py +++ b/src/airbyte_api/api/patchconnection.py @@ -15,24 +15,24 @@ class PatchConnectionRequestTypedDict(TypedDict): + connection_id: str connection_patch_request: ( models_connectionpatchrequest.ConnectionPatchRequestTypedDict ) - connection_id: str class PatchConnectionRequest(BaseModel): - connection_patch_request: Annotated[ - models_connectionpatchrequest.ConnectionPatchRequest, - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] - connection_id: Annotated[ str, pydantic.Field(alias="connectionId"), FieldMetadata(path=PathParamMetadata(style="simple", explode=False)), ] + connection_patch_request: Annotated[ + models_connectionpatchrequest.ConnectionPatchRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + class PatchConnectionResponseTypedDict(TypedDict): content_type: str diff --git a/src/airbyte_api/api/updatedeclarativesourcedefinition.py b/src/airbyte_api/api/updatedeclarativesourcedefinition.py index f12c3b4b..8da3eac3 100644 --- a/src/airbyte_api/api/updatedeclarativesourcedefinition.py +++ b/src/airbyte_api/api/updatedeclarativesourcedefinition.py @@ -15,15 +15,16 @@ class UpdateDeclarativeSourceDefinitionRequestTypedDict(TypedDict): - update_declarative_source_definition_request: models_updatedeclarativesourcedefinitionrequest.UpdateDeclarativeSourceDefinitionRequestTypedDict - definition_id: str workspace_id: str + definition_id: str + update_declarative_source_definition_request: models_updatedeclarativesourcedefinitionrequest.UpdateDeclarativeSourceDefinitionRequestTypedDict class UpdateDeclarativeSourceDefinitionRequest(BaseModel): - update_declarative_source_definition_request: Annotated[ - models_updatedeclarativesourcedefinitionrequest.UpdateDeclarativeSourceDefinitionRequest, - FieldMetadata(request=RequestMetadata(media_type="application/json")), + workspace_id: Annotated[ + str, + pydantic.Field(alias="workspaceId"), + FieldMetadata(path=PathParamMetadata(style="simple", explode=False)), ] definition_id: Annotated[ @@ -32,10 +33,9 @@ class UpdateDeclarativeSourceDefinitionRequest(BaseModel): FieldMetadata(path=PathParamMetadata(style="simple", explode=False)), ] - workspace_id: Annotated[ - str, - pydantic.Field(alias="workspaceId"), - FieldMetadata(path=PathParamMetadata(style="simple", explode=False)), + update_declarative_source_definition_request: Annotated[ + models_updatedeclarativesourcedefinitionrequest.UpdateDeclarativeSourceDefinitionRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), ] diff --git a/src/airbyte_api/api/updatedestinationdefinition.py b/src/airbyte_api/api/updatedestinationdefinition.py index c8c1d018..15fae422 100644 --- a/src/airbyte_api/api/updatedestinationdefinition.py +++ b/src/airbyte_api/api/updatedestinationdefinition.py @@ -15,17 +15,18 @@ class UpdateDestinationDefinitionRequestTypedDict(TypedDict): + workspace_id: str + definition_id: str update_definition_request: ( models_updatedefinitionrequest.UpdateDefinitionRequestTypedDict ) - definition_id: str - workspace_id: str class UpdateDestinationDefinitionRequest(BaseModel): - update_definition_request: Annotated[ - models_updatedefinitionrequest.UpdateDefinitionRequest, - FieldMetadata(request=RequestMetadata(media_type="application/json")), + workspace_id: Annotated[ + str, + pydantic.Field(alias="workspaceId"), + FieldMetadata(path=PathParamMetadata(style="simple", explode=False)), ] definition_id: Annotated[ @@ -34,10 +35,9 @@ class UpdateDestinationDefinitionRequest(BaseModel): FieldMetadata(path=PathParamMetadata(style="simple", explode=False)), ] - workspace_id: Annotated[ - str, - pydantic.Field(alias="workspaceId"), - FieldMetadata(path=PathParamMetadata(style="simple", explode=False)), + update_definition_request: Annotated[ + models_updatedefinitionrequest.UpdateDefinitionRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), ] diff --git a/src/airbyte_api/api/updatepermission.py b/src/airbyte_api/api/updatepermission.py index 06f1e0c0..756a4e98 100644 --- a/src/airbyte_api/api/updatepermission.py +++ b/src/airbyte_api/api/updatepermission.py @@ -15,24 +15,24 @@ class UpdatePermissionRequestTypedDict(TypedDict): + permission_id: str permission_update_request: ( models_permissionupdaterequest.PermissionUpdateRequestTypedDict ) - permission_id: str class UpdatePermissionRequest(BaseModel): - permission_update_request: Annotated[ - models_permissionupdaterequest.PermissionUpdateRequest, - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] - permission_id: Annotated[ str, pydantic.Field(alias="permissionId"), FieldMetadata(path=PathParamMetadata(style="simple", explode=False)), ] + permission_update_request: Annotated[ + models_permissionupdaterequest.PermissionUpdateRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + class UpdatePermissionResponseTypedDict(TypedDict): content_type: str diff --git a/src/airbyte_api/api/updatesourcedefinition.py b/src/airbyte_api/api/updatesourcedefinition.py index 55f5b457..3c232a6a 100644 --- a/src/airbyte_api/api/updatesourcedefinition.py +++ b/src/airbyte_api/api/updatesourcedefinition.py @@ -15,17 +15,18 @@ class UpdateSourceDefinitionRequestTypedDict(TypedDict): + workspace_id: str + definition_id: str update_definition_request: ( models_updatedefinitionrequest.UpdateDefinitionRequestTypedDict ) - definition_id: str - workspace_id: str class UpdateSourceDefinitionRequest(BaseModel): - update_definition_request: Annotated[ - models_updatedefinitionrequest.UpdateDefinitionRequest, - FieldMetadata(request=RequestMetadata(media_type="application/json")), + workspace_id: Annotated[ + str, + pydantic.Field(alias="workspaceId"), + FieldMetadata(path=PathParamMetadata(style="simple", explode=False)), ] definition_id: Annotated[ @@ -34,10 +35,9 @@ class UpdateSourceDefinitionRequest(BaseModel): FieldMetadata(path=PathParamMetadata(style="simple", explode=False)), ] - workspace_id: Annotated[ - str, - pydantic.Field(alias="workspaceId"), - FieldMetadata(path=PathParamMetadata(style="simple", explode=False)), + update_definition_request: Annotated[ + models_updatedefinitionrequest.UpdateDefinitionRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), ] diff --git a/src/airbyte_api/api/updatetag.py b/src/airbyte_api/api/updatetag.py index 9e5ed1a4..72c98003 100644 --- a/src/airbyte_api/api/updatetag.py +++ b/src/airbyte_api/api/updatetag.py @@ -15,22 +15,22 @@ class UpdateTagRequestTypedDict(TypedDict): - tag_patch_request: models_tagpatchrequest.TagPatchRequestTypedDict tag_id: str + tag_patch_request: models_tagpatchrequest.TagPatchRequestTypedDict class UpdateTagRequest(BaseModel): - tag_patch_request: Annotated[ - models_tagpatchrequest.TagPatchRequest, - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] - tag_id: Annotated[ str, pydantic.Field(alias="tagId"), FieldMetadata(path=PathParamMetadata(style="simple", explode=False)), ] + tag_patch_request: Annotated[ + models_tagpatchrequest.TagPatchRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + class UpdateTagResponseTypedDict(TypedDict): content_type: str diff --git a/src/airbyte_api/api/updateworkspace.py b/src/airbyte_api/api/updateworkspace.py index c7231627..bf474159 100644 --- a/src/airbyte_api/api/updateworkspace.py +++ b/src/airbyte_api/api/updateworkspace.py @@ -15,24 +15,24 @@ class UpdateWorkspaceRequestTypedDict(TypedDict): + workspace_id: str workspace_update_request: ( models_workspaceupdaterequest.WorkspaceUpdateRequestTypedDict ) - workspace_id: str class UpdateWorkspaceRequest(BaseModel): - workspace_update_request: Annotated[ - models_workspaceupdaterequest.WorkspaceUpdateRequest, - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] - workspace_id: Annotated[ str, pydantic.Field(alias="workspaceId"), FieldMetadata(path=PathParamMetadata(style="simple", explode=False)), ] + workspace_update_request: Annotated[ + models_workspaceupdaterequest.WorkspaceUpdateRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + class UpdateWorkspaceResponseTypedDict(TypedDict): content_type: str